	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_KeyDownEvent                ## -- Begin function CL_KeyDownEvent
	.p2align	4, 0x90
_CL_KeyDownEvent:                       ## @CL_KeyDownEvent
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_qtrue@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movl	%edx, 4(%rax,%rcx,8)
	movl	(%rax,%rcx,8), %edx
	leal	1(%rdx), %esi
	movl	%esi, (%rax,%rcx,8)
	testl	%edx, %edx
	jne	LBB0_2
## %bb.1:
	movq	_anykeydown@GOTPCREL(%rip), %rdx
	incl	(%rdx)
LBB0_2:
	movq	_K_ALT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, 4(%rax,%rdx,8)
	je	LBB0_6
## %bb.3:
	movq	_K_ENTER@GOTPCREL(%rip), %rdx
	cmpl	%ebx, (%rdx)
	jne	LBB0_6
## %bb.4:
	cmpl	$1, (%rax,%rcx,8)
	jle	LBB0_5
LBB0_38:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_K_CONSOLE@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	je	LBB0_39
## %bb.7:
	movq	_K_SHIFT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, 4(%rax,%rcx,8)
	movq	_K_ESCAPE@GOTPCREL(%rip), %r12
	je	LBB0_9
## %bb.8:
	cmpl	%ebx, (%r12)
	jne	LBB0_9
LBB0_39:
	xorl	%eax, %eax
	callq	_Con_ToggleConsole_f
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Key_ClearStates                ## TAILCALL
LBB0_5:
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_Cvar_VariableIntegerValue
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Cvar_SetValue                  ## TAILCALL
LBB0_9:
	cmpl	$128, %ebx
	jl	LBB0_11
## %bb.10:
	movq	_K_MOUSE1@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_16
LBB0_11:
	movq	_clc@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_13
## %bb.12:
	movq	(%rax), %rax
	movq	_CA_CINEMATIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_13:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:
	leaq	L_.str.1(%rip), %rdi
	callq	_Cvar_VariableValue
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_Cvar_Set
	movl	(%r12), %ebx
LBB0_16:
	cmpl	(%r12), %ebx
	jne	LBB0_28
## %bb.17:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_MESSAGE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
LBB0_40:
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Message_Key                    ## TAILCALL
LBB0_28:
	movl	(%r15), %esi
	movl	%ebx, %edi
	movl	%r14d, %edx
	callq	_CL_ParseBinding
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_CONSOLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
LBB0_41:
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Console_Key                    ## TAILCALL
LBB0_18:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movl	%eax, %r14d
	movq	_KEYCATCH_CGAME@GOTPCREL(%rip), %r12
	andl	(%r12), %r14d
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	testl	%r14d, %r14d
	je	LBB0_20
## %bb.19:
	movl	(%r12), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, %edi
	callq	_Key_SetCatcher
	movq	_cgvm@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_CG_EVENT_HANDLING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CGAME_EVENT_NONE@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %edx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VM_Call                        ## TAILCALL
LBB0_29:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_UI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_33
## %bb.30:
	movq	_uivm@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jne	LBB0_31
	jmp	LBB0_38
LBB0_20:
	movq	_KEYCATCH_UI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.27:
	movq	_uivm@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_31:
	movq	_UI_KEY_EVENT@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %esi
	movl	(%r15), %ecx
	movl	%ebx, %edx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VM_Call                        ## TAILCALL
LBB0_33:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_CGAME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_36
## %bb.34:
	movq	_cgvm@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_38
## %bb.35:
	movq	_CG_KEY_EVENT@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_21:
	movq	_clc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	_CA_ACTIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_25
## %bb.22:
	cmpq	$0, 8(%rcx)
	jne	LBB0_25
## %bb.23:
	movq	_uivm@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_UI_SET_ACTIVE_MENU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UIMENU_INGAME@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_36:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_MESSAGE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_40
## %bb.37:
	movq	_clc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CA_DISCONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
	jmp	LBB0_41
LBB0_25:
	movq	_CA_DISCONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_38
## %bb.26:
	xorl	%eax, %eax
	callq	_CL_Disconnect_f
	xorl	%eax, %eax
	callq	_S_StopAllSounds
	movq	_uivm@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_UI_SET_ACTIVE_MENU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UIMENU_MAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_keys,8,3                       ## @keys
	.comm	_anykeydown,4,2                 ## @anykeydown
	.comm	_K_ALT,8,3                      ## @K_ALT
	.comm	_K_ENTER,4,2                    ## @K_ENTER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r_fullscreen"

	.comm	_K_CONSOLE,4,2                  ## @K_CONSOLE
	.comm	_K_SHIFT,8,3                    ## @K_SHIFT
	.comm	_K_ESCAPE,4,2                   ## @K_ESCAPE
	.comm	_K_MOUSE1,4,2                   ## @K_MOUSE1
	.comm	_clc,16,3                       ## @clc
	.comm	_CA_CINEMATIC,8,3               ## @CA_CINEMATIC
L_.str.1:                               ## @.str.1
	.asciz	"com_cameraMode"

L_.str.2:                               ## @.str.2
	.asciz	"nextdemo"

L_.str.3:                               ## @.str.3
	.space	1

	.comm	_KEYCATCH_MESSAGE,4,2           ## @KEYCATCH_MESSAGE
	.comm	_KEYCATCH_CGAME,4,2             ## @KEYCATCH_CGAME
	.comm	_cgvm,8,3                       ## @cgvm
	.comm	_CG_EVENT_HANDLING,4,2          ## @CG_EVENT_HANDLING
	.comm	_CGAME_EVENT_NONE,4,2           ## @CGAME_EVENT_NONE
	.comm	_KEYCATCH_UI,4,2                ## @KEYCATCH_UI
	.comm	_CA_ACTIVE,8,3                  ## @CA_ACTIVE
	.comm	_uivm,8,3                       ## @uivm
	.comm	_UI_SET_ACTIVE_MENU,4,2         ## @UI_SET_ACTIVE_MENU
	.comm	_UIMENU_INGAME,4,2              ## @UIMENU_INGAME
	.comm	_CA_DISCONNECTED,8,3            ## @CA_DISCONNECTED
	.comm	_UIMENU_MAIN,4,2                ## @UIMENU_MAIN
	.comm	_UI_KEY_EVENT,4,2               ## @UI_KEY_EVENT
	.comm	_KEYCATCH_CONSOLE,4,2           ## @KEYCATCH_CONSOLE
	.comm	_CG_KEY_EVENT,4,2               ## @CG_KEY_EVENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_KeyDownEvent                ; -- Begin function CL_KeyDownEvent
	.p2align	2
_CL_KeyDownEvent:                       ; @CL_KeyDownEvent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _qtrue@GOTPAGE
Lloh1:
	ldr	x21, [x21, _qtrue@GOTPAGEOFF]
	ldr	w10, [x21]
Lloh2:
	adrp	x8, _keys@GOTPAGE
Lloh3:
	ldr	x8, [x8, _keys@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x9, x8, w0, sxtw #3
	ldr	w11, [x9]
	add	w12, w11, #1
	stp	w12, w10, [x9]
	cbnz	w11, LBB0_2
; %bb.1:
Lloh5:
	adrp	x10, _anykeydown@GOTPAGE
Lloh6:
	ldr	x10, [x10, _anykeydown@GOTPAGEOFF]
	ldr	w11, [x10]
	add	w11, w11, #1
	str	w11, [x10]
LBB0_2:
Lloh7:
	adrp	x10, _K_ALT@GOTPAGE
Lloh8:
	ldr	x10, [x10, _K_ALT@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	add	x10, x8, x10, lsl #3
	ldr	w10, [x10, #4]
Lloh10:
	adrp	x11, _K_ENTER@GOTPAGE
Lloh11:
	ldr	x11, [x11, _K_ENTER@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
	cmp	w10, #0
	ccmp	w11, w19, #0, ne
	b.eq	LBB0_15
; %bb.3:
Lloh13:
	adrp	x9, _K_CONSOLE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _K_CONSOLE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w9, w19
	b.eq	LBB0_17
; %bb.4:
Lloh16:
	adrp	x9, _K_SHIFT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _K_SHIFT@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #3
	ldr	w8, [x8, #4]
Lloh19:
	adrp	x22, _K_ESCAPE@GOTPAGE
Lloh20:
	ldr	x22, [x22, _K_ESCAPE@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, #0
	ccmp	w9, w19, #0, ne
	b.eq	LBB0_17
; %bb.5:
	cmp	w19, #128
	b.lt	LBB0_7
; %bb.6:
Lloh21:
	adrp	x8, _K_MOUSE1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _K_MOUSE1@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_12
LBB0_7:
Lloh24:
	adrp	x8, _clc@GOTPAGE
Lloh25:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_9
; %bb.8:
	ldr	x8, [x8]
Lloh26:
	adrp	x9, _CA_CINEMATIC@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CA_CINEMATIC@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_9:
	bl	_Key_GetCatcher
	cbnz	w0, LBB0_12
; %bb.10:
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Cvar_VariableValue
	cbnz	x0, LBB0_12
; %bb.11:
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_Cvar_Set
	ldr	w19, [x22]
LBB0_12:
	ldr	w8, [x22]
	cmp	w19, w8
	b.ne	LBB0_19
; %bb.13:
	bl	_Key_GetCatcher
Lloh35:
	adrp	x8, _KEYCATCH_MESSAGE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _KEYCATCH_MESSAGE@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_21
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_Message_Key
LBB0_15:
	ldr	w8, [x9]
	cmp	w8, #1
	b.le	LBB0_18
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_17:
	bl	_Con_ToggleConsole_f
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_Key_ClearStates
LBB0_18:
Lloh38:
	adrp	x19, l_.str@PAGE
Lloh39:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_Cvar_VariableIntegerValue
	cmp	w0, #0
	cset	w1, eq
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_Cvar_SetValue
LBB0_19:
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_CL_ParseBinding
	bl	_Key_GetCatcher
Lloh40:
	adrp	x8, _KEYCATCH_CONSOLE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _KEYCATCH_CONSOLE@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_24
LBB0_20:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_Console_Key
LBB0_21:
	bl	_Key_GetCatcher
Lloh43:
	adrp	x20, _KEYCATCH_CGAME@GOTPAGE
Lloh44:
	ldr	x20, [x20, _KEYCATCH_CGAME@GOTPAGEOFF]
	ldr	w8, [x20]
	and	w22, w8, w0
	bl	_Key_GetCatcher
	cbz	w22, LBB0_26
; %bb.22:
	ldr	w8, [x20]
	bic	w0, w0, w8
	bl	_Key_SetCatcher
Lloh45:
	adrp	x8, _cgvm@GOTPAGE
Lloh46:
	ldr	x8, [x8, _cgvm@GOTPAGEOFF]
Lloh47:
	ldr	x0, [x8]
Lloh48:
	adrp	x8, _CG_EVENT_HANDLING@GOTPAGE
Lloh49:
	ldr	x8, [x8, _CG_EVENT_HANDLING@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
Lloh51:
	adrp	x8, _CGAME_EVENT_NONE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _CGAME_EVENT_NONE@GOTPAGEOFF]
LBB0_23:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_VM_Call
LBB0_24:
	bl	_Key_GetCatcher
Lloh53:
	adrp	x8, _KEYCATCH_UI@GOTPAGE
Lloh54:
	ldr	x8, [x8, _KEYCATCH_UI@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_30
; %bb.25:
Lloh56:
	adrp	x8, _uivm@GOTPAGE
Lloh57:
	ldr	x8, [x8, _uivm@GOTPAGEOFF]
Lloh58:
	ldr	x0, [x8]
	cbnz	x0, LBB0_28
	b	LBB0_16
LBB0_26:
Lloh59:
	adrp	x8, _KEYCATCH_UI@GOTPAGE
Lloh60:
	ldr	x8, [x8, _KEYCATCH_UI@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_33
; %bb.27:
Lloh62:
	adrp	x8, _uivm@GOTPAGE
Lloh63:
	ldr	x8, [x8, _uivm@GOTPAGEOFF]
Lloh64:
	ldr	x0, [x8]
LBB0_28:
Lloh65:
	adrp	x8, _UI_KEY_EVENT@GOTPAGE
Lloh66:
	ldr	x8, [x8, _UI_KEY_EVENT@GOTPAGEOFF]
LBB0_29:
	ldr	w1, [x8]
	ldr	w8, [x21]
	str	x8, [sp]
	mov	x2, x19
	bl	_VM_Call
	b	LBB0_16
LBB0_30:
	bl	_Key_GetCatcher
Lloh67:
	adrp	x8, _KEYCATCH_CGAME@GOTPAGE
Lloh68:
	ldr	x8, [x8, _KEYCATCH_CGAME@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_36
; %bb.31:
Lloh70:
	adrp	x8, _cgvm@GOTPAGE
Lloh71:
	ldr	x8, [x8, _cgvm@GOTPAGEOFF]
Lloh72:
	ldr	x0, [x8]
	cbz	x0, LBB0_16
; %bb.32:
Lloh73:
	adrp	x8, _CG_KEY_EVENT@GOTPAGE
Lloh74:
	ldr	x8, [x8, _CG_KEY_EVENT@GOTPAGEOFF]
	b	LBB0_29
LBB0_33:
Lloh75:
	adrp	x9, _clc@GOTPAGE
Lloh76:
	ldr	x9, [x9, _clc@GOTPAGEOFF]
	ldr	x8, [x9]
Lloh77:
	adrp	x10, _CA_ACTIVE@GOTPAGE
Lloh78:
	ldr	x10, [x10, _CA_ACTIVE@GOTPAGEOFF]
Lloh79:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_38
; %bb.34:
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_38
; %bb.35:
Lloh80:
	adrp	x8, _uivm@GOTPAGE
Lloh81:
	ldr	x8, [x8, _uivm@GOTPAGEOFF]
Lloh82:
	ldr	x0, [x8]
Lloh83:
	adrp	x8, _UI_SET_ACTIVE_MENU@GOTPAGE
Lloh84:
	ldr	x8, [x8, _UI_SET_ACTIVE_MENU@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
Lloh86:
	adrp	x8, _UIMENU_INGAME@GOTPAGE
Lloh87:
	ldr	x8, [x8, _UIMENU_INGAME@GOTPAGEOFF]
	b	LBB0_23
LBB0_36:
	bl	_Key_GetCatcher
Lloh88:
	adrp	x8, _KEYCATCH_MESSAGE@GOTPAGE
Lloh89:
	ldr	x8, [x8, _KEYCATCH_MESSAGE@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_14
; %bb.37:
Lloh91:
	adrp	x8, _clc@GOTPAGE
Lloh92:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
Lloh93:
	ldr	x8, [x8]
Lloh94:
	adrp	x9, _CA_DISCONNECTED@GOTPAGE
Lloh95:
	ldr	x9, [x9, _CA_DISCONNECTED@GOTPAGEOFF]
Lloh96:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
	b	LBB0_20
LBB0_38:
Lloh97:
	adrp	x9, _CA_DISCONNECTED@GOTPAGE
Lloh98:
	ldr	x9, [x9, _CA_DISCONNECTED@GOTPAGEOFF]
Lloh99:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.39:
	bl	_CL_Disconnect_f
	bl	_S_StopAllSounds
Lloh100:
	adrp	x8, _uivm@GOTPAGE
Lloh101:
	ldr	x8, [x8, _uivm@GOTPAGEOFF]
Lloh102:
	ldr	x0, [x8]
Lloh103:
	adrp	x8, _UI_SET_ACTIVE_MENU@GOTPAGE
Lloh104:
	ldr	x8, [x8, _UI_SET_ACTIVE_MENU@GOTPAGEOFF]
Lloh105:
	ldr	w1, [x8]
Lloh106:
	adrp	x8, _UIMENU_MAIN@GOTPAGE
Lloh107:
	ldr	x8, [x8, _UIMENU_MAIN@GOTPAGEOFF]
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_keys,8,3                       ; @keys
	.comm	_anykeydown,4,2                 ; @anykeydown
	.comm	_K_ALT,8,3                      ; @K_ALT
	.comm	_K_ENTER,4,2                    ; @K_ENTER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r_fullscreen"

	.comm	_K_CONSOLE,4,2                  ; @K_CONSOLE
	.comm	_K_SHIFT,8,3                    ; @K_SHIFT
	.comm	_K_ESCAPE,4,2                   ; @K_ESCAPE
	.comm	_K_MOUSE1,4,2                   ; @K_MOUSE1
	.comm	_clc,16,3                       ; @clc
	.comm	_CA_CINEMATIC,8,3               ; @CA_CINEMATIC
l_.str.1:                               ; @.str.1
	.asciz	"com_cameraMode"

l_.str.2:                               ; @.str.2
	.asciz	"nextdemo"

l_.str.3:                               ; @.str.3
	.space	1

	.comm	_KEYCATCH_MESSAGE,4,2           ; @KEYCATCH_MESSAGE
	.comm	_KEYCATCH_CGAME,4,2             ; @KEYCATCH_CGAME
	.comm	_cgvm,8,3                       ; @cgvm
	.comm	_CG_EVENT_HANDLING,4,2          ; @CG_EVENT_HANDLING
	.comm	_CGAME_EVENT_NONE,4,2           ; @CGAME_EVENT_NONE
	.comm	_KEYCATCH_UI,4,2                ; @KEYCATCH_UI
	.comm	_CA_ACTIVE,8,3                  ; @CA_ACTIVE
	.comm	_uivm,8,3                       ; @uivm
	.comm	_UI_SET_ACTIVE_MENU,4,2         ; @UI_SET_ACTIVE_MENU
	.comm	_UIMENU_INGAME,4,2              ; @UIMENU_INGAME
	.comm	_CA_DISCONNECTED,8,3            ; @CA_DISCONNECTED
	.comm	_UIMENU_MAIN,4,2                ; @UIMENU_MAIN
	.comm	_UI_KEY_EVENT,4,2               ; @UI_KEY_EVENT
	.comm	_KEYCATCH_CONSOLE,4,2           ; @KEYCATCH_CONSOLE
	.comm	_CG_KEY_EVENT,4,2               ; @CG_KEY_EVENT
.subsections_via_symbols
