	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_CinematicsMenu_Event
_UI_CinematicsMenu_Event:               ## @UI_CinematicsMenu_Event
	.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	_QM_ACTIVATED@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movslq	(%rdi), %rbx
	movq	_ID_CIN_IDLOGO@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	subq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_va
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_trap_Cvar_Set
	movq	_uis@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movslq	(%r14), %rax
	movq	_ID_CIN_END@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_5
## %bb.3:
	movq	_EXEC_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_EXEC_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_cinematics@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_va
	movl	%r14d, %edi
	movq	%rax, %rsi
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_trap_Cmd_ExecuteText           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.comm	_ID_CIN_IDLOGO,4,2              ## @ID_CIN_IDLOGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nextmap"

L_.str.1:                               ## @.str.1
	.asciz	"ui_cinematics %i"

	.comm	_uis,8,3                        ## @uis
	.comm	_ID_CIN_END,8,3                 ## @ID_CIN_END
	.comm	_EXEC_APPEND,4,2                ## @EXEC_APPEND
L_.str.2:                               ## @.str.2
	.asciz	"disconnect; cinematic demoEnd.RoQ 1\n"

L_.str.3:                               ## @.str.3
	.asciz	"disconnect; cinematic %s.RoQ\n"

	.comm	_cinematics,8,3                 ## @cinematics
	.no_dead_strip	_UI_CinematicsMenu_Event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_CinematicsMenu_Event
_UI_CinematicsMenu_Event:               ; @UI_CinematicsMenu_Event
	.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
Lloh0:
	adrp	x8, _QM_ACTIVATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_ACTIVATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _ID_CIN_IDLOGO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ID_CIN_IDLOGO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w19, w8, w9
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_va
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trap_Cvar_Set
Lloh10:
	adrp	x8, _uis@GOTPAGE
Lloh11:
	ldr	x8, [x8, _uis@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	ldrsw	x8, [x20]
Lloh13:
	adrp	x9, _ID_CIN_END@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ID_CIN_END@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.3:
Lloh16:
	adrp	x8, _EXEC_APPEND@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EXEC_APPEND@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh21:
	adrp	x8, _EXEC_APPEND@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EXEC_APPEND@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
Lloh24:
	adrp	x8, _cinematics@GOTPAGE
Lloh25:
	ldr	x8, [x8, _cinematics@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	w1, [x8, w19, sxtw #2]
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_va
	mov	x1, x0
	mov	x0, x20
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_trap_Cmd_ExecuteText
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.comm	_ID_CIN_IDLOGO,4,2              ; @ID_CIN_IDLOGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nextmap"

l_.str.1:                               ; @.str.1
	.asciz	"ui_cinematics %i"

	.comm	_uis,8,3                        ; @uis
	.comm	_ID_CIN_END,8,3                 ; @ID_CIN_END
	.comm	_EXEC_APPEND,4,2                ; @EXEC_APPEND
l_.str.2:                               ; @.str.2
	.asciz	"disconnect; cinematic demoEnd.RoQ 1\n"

l_.str.3:                               ; @.str.3
	.asciz	"disconnect; cinematic %s.RoQ\n"

	.comm	_cinematics,8,3                 ; @cinematics
	.no_dead_strip	_UI_CinematicsMenu_Event
.subsections_via_symbols
