	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_DrawTeamName
_UI_DrawTeamName:                       ## @UI_DrawTeamName
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%rdi, %r12
	testq	%rdx, %rdx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_UI_Cvar_VariableString
	movl	%eax, %edi
	callq	_UI_TeamIndexFromName
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movq	_uiInfo@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_3
## %bb.2:
	testq	%rbx, %rbx
	movl	(%r12), %r13d
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rdx, %rsi
	movl	4(%r12), %ebx
	movq	8(%rcx), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	leaq	L_.str.2(%rip), %rdi
	callq	_va
	movl	%r15d, (%rsp)
	movl	%ebx, %edi
	movl	%r13d, %esi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_Text_Paint
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ui_blueTeam"

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

	.comm	_uiInfo,16,3                    ## @uiInfo
L_.str.2:                               ## @.str.2
	.asciz	"%s: %s"

L_.str.3:                               ## @.str.3
	.asciz	"Blue"

L_.str.4:                               ## @.str.4
	.asciz	"Red"

	.no_dead_strip	_UI_DrawTeamName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_DrawTeamName
_UI_DrawTeamName:                       ; @UI_DrawTeamName
	.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	x19, x3
	mov	x21, x2
	mov	x20, x1
	fmov	s8, s0
	mov	x22, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x2, #0
	csel	x0, x9, x8, eq
	bl	_UI_Cvar_VariableString
	bl	_UI_TeamIndexFromName
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh4:
	adrp	x8, _uiInfo@GOTPAGE
Lloh5:
	ldr	x8, [x8, _uiInfo@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w0, w9
	b.ge	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, l_.str.3@PAGE
Lloh7:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh8:
	adrp	x10, l_.str.4@PAGE
Lloh9:
	add	x10, x10, l_.str.4@PAGEOFF
	ldp	w22, w23, [x22]
	cmp	x21, #0
	csel	x1, x10, x9, eq
	ldr	x8, [x8, #8]
	ldr	w2, [x8, w0, uxtw #2]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_va
	mov	x3, x0
	mov	x0, x23
	mov	x1, x22
	fmov	s0, s8
	mov	x2, x20
	mov	w4, #0
	mov	w5, #0
	mov	x6, 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	_Text_Paint
LBB0_3:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_blueTeam"

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

	.comm	_uiInfo,16,3                    ; @uiInfo
l_.str.2:                               ; @.str.2
	.asciz	"%s: %s"

l_.str.3:                               ; @.str.3
	.asciz	"Blue"

l_.str.4:                               ; @.str.4
	.asciz	"Red"

	.no_dead_strip	_UI_DrawTeamName
.subsections_via_symbols
