	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function VID_AppActivate
_VID_AppActivate:                       ## @VID_AppActivate
	.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
	movq	_g_wv@GOTPCREL(%rip), %r14
	movq	%rsi, 8(%r14)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Com_DPrintf
	xorl	%eax, %eax
	callq	_Key_ClearStates
	cmpq	$0, 8(%r14)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_qtrue@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rdi, %rcx
	cmovneq	%rax, %rcx
	testq	%rbx, %rbx
	cmoveq	%rax, %rcx
	movq	%rcx, (%r14)
	testq	%rcx, %rcx
	cmoveq	%rax, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_IN_Activate                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_g_wv,16,3                      ## @g_wv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VID_AppActivate: %i\n"

	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_qfalse,8,3                     ## @qfalse
	.no_dead_strip	_VID_AppActivate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VID_AppActivate
_VID_AppActivate:                       ; @VID_AppActivate
	.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
Lloh0:
	adrp	x20, _g_wv@GOTPAGE
Lloh1:
	ldr	x20, [x20, _g_wv@GOTPAGEOFF]
	str	x1, [x20, #8]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_Com_DPrintf
	bl	_Key_ClearStates
	ldr	x8, [x20, #8]
	cmp	x8, #0
	ccmp	x19, #0, #4, eq
Lloh4:
	adrp	x8, _qfalse@GOTPAGE
Lloh5:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _qtrue@GOTPAGE
Lloh8:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	csel	x10, x8, x9, eq
	str	x10, [x20]
	cmp	x10, #0
	csel	x0, x8, x9, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IN_Activate
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_g_wv,16,3                      ; @g_wv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VID_AppActivate: %i\n"

	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_qfalse,8,3                     ; @qfalse
	.no_dead_strip	_VID_AppActivate
.subsections_via_symbols
