	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_DrawMapCinematic
_UI_DrawMapCinematic:                   ## @UI_DrawMapCinematic
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, %r14
	testq	%rdx, %rdx
	jne	LBB0_1
## %bb.2:
	movq	_ui_currentMap@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ui_currentNetMap@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	_uiInfo@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	cmpl	(%r12), %eax
	jle	LBB0_6
LBB0_5:
	testq	%r13, %r13
	movq	_ui_currentNetMap@GOTPCREL(%rip), %rax
	cmoveq	_ui_currentMap@GOTPCREL(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str(%rip), %rdi
	cmoveq	%rcx, %rdi
	movl	$0, (%rax)
	leaq	L_.str.1(%rip), %rsi
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	callq	_trap_Cvar_Set
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	xorl	%eax, %eax
LBB0_6:
	movq	8(%r12), %rcx
	movl	%eax, %ebx
	movl	(%rcx,%rbx,8), %edi
	cmpl	$-1, %edi
	jl	LBB0_10
## %bb.7:
	jne	LBB0_11
## %bb.8:
	movl	4(%rcx,%rbx,8), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_va
	movq	_CIN_loop@GOTPCREL(%rip), %rcx
	movq	_CIN_silent@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	orl	(%rcx), %r9d
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_trap_CIN_PlayCinematic
	movl	%eax, %edi
	movq	8(%r12), %rax
	movl	%edi, (%rax,%rbx,8)
	testl	%edi, %edi
	js	LBB0_9
LBB0_11:
	callq	_trap_CIN_RunCinematic
	movq	8(%r12), %rax
	movl	(%rax,%rbx,8), %edi
	movl	12(%r14), %esi
	movl	8(%r14), %edx
	movl	(%r14), %r8d
	movl	4(%r14), %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_DrawCinematic               ## TAILCALL
LBB0_10:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_DrawMapPreview              ## TAILCALL
LBB0_9:
	movl	$-2, (%rax,%rbx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ui_currentNetMap,4,2           ## @ui_currentNetMap
	.comm	_ui_currentMap,4,2              ## @ui_currentMap
	.comm	_uiInfo,16,3                    ## @uiInfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ui_currentNetMap"

L_.str.1:                               ## @.str.1
	.asciz	"0"

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

L_.str.3:                               ## @.str.3
	.asciz	"%s.roq"

	.comm	_CIN_loop,4,2                   ## @CIN_loop
	.comm	_CIN_silent,4,2                 ## @CIN_silent
	.no_dead_strip	_UI_DrawMapCinematic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_DrawMapCinematic
_UI_DrawMapCinematic:                   ; @UI_DrawMapCinematic
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x20, x2
	mov	x21, x1
	fmov	s8, s0
	mov	x19, x0
Lloh0:
	adrp	x8, _ui_currentNetMap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ui_currentNetMap@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ui_currentMap@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ui_currentMap@GOTPAGEOFF]
	cmp	x2, #0
	csel	x10, x9, x8, eq
	ldr	w10, [x10]
Lloh4:
	adrp	x22, _uiInfo@GOTPAGE
Lloh5:
	ldr	x22, [x22, _uiInfo@GOTPAGEOFF]
	tbnz	w10, #31, LBB0_2
; %bb.1:
	ldr	w11, [x22]
	cmp	w10, w11
	b.le	LBB0_3
LBB0_2:
	cmp	x20, #0
	csel	x8, x9, x8, eq
Lloh6:
	adrp	x9, l_.str@PAGE
Lloh7:
	add	x9, x9, l_.str@PAGEOFF
Lloh8:
	adrp	x10, l_.str.2@PAGE
Lloh9:
	add	x10, x10, l_.str.2@PAGEOFF
	csel	x0, x10, x9, eq
	str	wzr, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_trap_Cvar_Set
	mov	w10, #0
LBB0_3:
	ldr	x8, [x22, #8]
	mov	w9, w10
	lsl	x23, x9, #3
	ldr	w0, [x8, x23]
	cmn	w0, #1
	b.lt	LBB0_7
; %bb.4:
	b.ne	LBB0_6
; %bb.5:
	add	x8, x8, x23
	ldr	w1, [x8, #4]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_va
Lloh14:
	adrp	x8, _CIN_loop@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CIN_loop@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _CIN_silent@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CIN_silent@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w5, w9, w8
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_trap_CIN_PlayCinematic
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	w0, [x8]
	tbnz	w0, #31, LBB0_8
LBB0_6:
	bl	_trap_CIN_RunCinematic
	ldr	x8, [x22, #8]
	ldr	w0, [x8, x23]
	ldp	w2, w1, [x19, #8]
	ldp	w4, w3, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	b	_UI_DrawCinematic
LBB0_7:
	mov	x0, x19
	fmov	s0, s8
	mov	x1, x21
	mov	x2, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	b	_UI_DrawMapPreview
LBB0_8:
	mov	w9, #-2
	str	w9, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ui_currentNetMap,4,2           ; @ui_currentNetMap
	.comm	_ui_currentMap,4,2              ; @ui_currentMap
	.comm	_uiInfo,16,3                    ; @uiInfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_currentNetMap"

l_.str.1:                               ; @.str.1
	.asciz	"0"

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

l_.str.3:                               ; @.str.3
	.asciz	"%s.roq"

	.comm	_CIN_loop,4,2                   ; @CIN_loop
	.comm	_CIN_silent,4,2                 ; @CIN_silent
	.no_dead_strip	_UI_DrawMapCinematic
.subsections_via_symbols
