	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_StopCinematic
_UI_StopCinematic:                      ## @UI_StopCinematic
	.cfi_startproc
## %bb.0:
	testl	%edi, %edi
	js	LBB0_1
## %bb.13:
	jmp	_trap_CIN_StopCinematic         ## TAILCALL
LBB0_1:
	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
	negl	%edi
	movq	_UI_MAPCINEMATIC@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	_uiInfo@GOTPCREL(%rip), %r14
	movq	24(%r14), %rax
	movq	_ui_currentMap@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	js	LBB0_12
## %bb.3:
	callq	_trap_CIN_StopCinematic
	movq	24(%r14), %rax
	movq	(%rbx), %rcx
	movl	$-1, (%rax,%rcx,4)
	jmp	LBB0_12
LBB0_4:
	movq	_UI_NETMAPCINEMATIC@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_7
## %bb.5:
	movq	_uiInfo@GOTPCREL(%rip), %rbx
	movl	16(%rbx), %edi
	testl	%edi, %edi
	js	LBB0_12
## %bb.6:
	callq	_trap_CIN_StopCinematic
	movl	$-1, 16(%rbx)
	jmp	LBB0_12
LBB0_7:
	movq	_UI_CLANCINEMATIC@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_12
## %bb.8:
	leaq	L_.str(%rip), %rdi
	callq	_UI_Cvar_VariableString
	movl	%eax, %edi
	callq	_UI_TeamIndexFromName
	testl	%eax, %eax
	js	LBB0_12
## %bb.9:
	movq	_uiInfo@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jge	LBB0_12
## %bb.10:
	movq	8(%r14), %rcx
	movl	%eax, %ebx
	movl	(%rcx,%rbx,4), %edi
	testl	%edi, %edi
	js	LBB0_12
## %bb.11:
	callq	_trap_CIN_StopCinematic
	movq	8(%r14), %rax
	movl	$-1, (%rax,%rbx,4)
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UI_MAPCINEMATIC,4,2            ## @UI_MAPCINEMATIC
	.comm	_uiInfo,32,3                    ## @uiInfo
	.comm	_ui_currentMap,8,3              ## @ui_currentMap
	.comm	_UI_NETMAPCINEMATIC,4,2         ## @UI_NETMAPCINEMATIC
	.comm	_UI_CLANCINEMATIC,4,2           ## @UI_CLANCINEMATIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ui_teamName"

	.no_dead_strip	_UI_StopCinematic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_StopCinematic
_UI_StopCinematic:                      ; @UI_StopCinematic
	.cfi_startproc
; %bb.0:
	tbnz	w0, #31, LBB0_2
; %bb.1:
	b	_trap_CIN_StopCinematic
LBB0_2:
	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, _UI_MAPCINEMATIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UI_MAPCINEMATIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w8, w0
	b.ne	LBB0_5
; %bb.3:
Lloh3:
	adrp	x19, _uiInfo@GOTPAGE
Lloh4:
	ldr	x19, [x19, _uiInfo@GOTPAGEOFF]
	ldr	x8, [x19, #24]
Lloh5:
	adrp	x20, _ui_currentMap@GOTPAGE
Lloh6:
	ldr	x20, [x20, _ui_currentMap@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
	tbnz	w0, #31, LBB0_13
; %bb.4:
	bl	_trap_CIN_StopCinematic
	ldr	x8, [x19, #24]
	ldr	x9, [x20]
	mov	w10, #-1
	str	w10, [x8, x9, lsl #2]
	b	LBB0_13
LBB0_5:
Lloh7:
	adrp	x8, _UI_NETMAPCINEMATIC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UI_NETMAPCINEMATIC@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x8]
	neg	w8, w0
	cmp	w9, w8
	b.ne	LBB0_8
; %bb.6:
Lloh10:
	adrp	x19, _uiInfo@GOTPAGE
Lloh11:
	ldr	x19, [x19, _uiInfo@GOTPAGEOFF]
	ldr	w0, [x19, #16]
	tbnz	w0, #31, LBB0_13
; %bb.7:
	bl	_trap_CIN_StopCinematic
	mov	w8, #-1
	str	w8, [x19, #16]
	b	LBB0_13
LBB0_8:
Lloh12:
	adrp	x9, _UI_CLANCINEMATIC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _UI_CLANCINEMATIC@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w9, w8
	b.ne	LBB0_13
; %bb.9:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_UI_Cvar_VariableString
	bl	_UI_TeamIndexFromName
	tbnz	w0, #31, LBB0_13
; %bb.10:
Lloh17:
	adrp	x19, _uiInfo@GOTPAGE
Lloh18:
	ldr	x19, [x19, _uiInfo@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w0, w8
	b.ge	LBB0_13
; %bb.11:
	ldr	x8, [x19, #8]
	ldr	w8, [x8, w0, uxtw #2]
	tbnz	w8, #31, LBB0_13
; %bb.12:
	mov	w20, w0
	mov	x0, x8
	bl	_trap_CIN_StopCinematic
	ldr	x8, [x19, #8]
	mov	w9, #-1
	str	w9, [x8, x20, lsl #2]
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_UI_MAPCINEMATIC,4,2            ; @UI_MAPCINEMATIC
	.comm	_uiInfo,32,3                    ; @uiInfo
	.comm	_ui_currentMap,8,3              ; @ui_currentMap
	.comm	_UI_NETMAPCINEMATIC,4,2         ; @UI_NETMAPCINEMATIC
	.comm	_UI_CLANCINEMATIC,4,2           ; @UI_CLANCINEMATIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_teamName"

	.no_dead_strip	_UI_StopCinematic
.subsections_via_symbols
