	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_DrawTeamMember
_UI_DrawTeamMember:                     ## @UI_DrawTeamMember
	.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	%r8d, %r15d
	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
	movl	%ecx, %esi
	callq	_va
	movl	%eax, %edi
	callq	_trap_Cvar_VariableValue
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	addl	$-2, %ebx
	movq	_ui_actualNetGameType@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_TEAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_5
## %bb.6:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_UI_GetNumBots
	cmpl	%eax, %ebx
	cmovll	%ebx, %r13d
	movl	%r13d, %edi
	callq	_UI_GetBotNameByNumber
	movq	%rax, %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_uiInfo@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	(%rax), %ebx
	cmovll	%ebx, %ecx
	movq	8(%rax), %rax
	movq	(%rax,%rcx,8), %rcx
LBB0_7:
	movl	(%r12), %esi
	movl	4(%r12), %edi
	movl	%r15d, (%rsp)
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	%r14d, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_Text_Paint
	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%i"

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

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

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

	.comm	_ui_actualNetGameType,8,3       ## @ui_actualNetGameType
	.comm	_GT_TEAM,8,3                    ## @GT_TEAM
	.comm	_uiInfo,16,3                    ## @uiInfo
	.no_dead_strip	_UI_DrawTeamMember
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_DrawTeamMember
_UI_DrawTeamMember:                     ; @UI_DrawTeamMember
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x4
	mov	x20, x1
	fmov	s8, s0
	mov	x21, 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
	mov	x1, x3
	bl	_va
	bl	_trap_Cvar_VariableValue
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	b.ne	LBB0_4
; %bb.2:
Lloh4:
	adrp	x3, l_.str.3@PAGE
Lloh5:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_3:
Lloh6:
	adrp	x3, l_.str.2@PAGE
Lloh7:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _ui_actualNetGameType@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ui_actualNetGameType@GOTPAGEOFF]
	sub	w22, w0, #2
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _GT_TEAM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _GT_TEAM@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.5:
	bl	_UI_GetNumBots
	cmp	w22, w0
	csel	w0, w22, wzr, lt
	bl	_UI_GetBotNameByNumber
	mov	x3, x0
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _uiInfo@GOTPAGE
Lloh15:
	ldr	x8, [x8, _uiInfo@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w22, w9
	csel	w9, w22, wzr, lt
	ldr	x8, [x8, #8]
	ldr	x3, [x8, w9, uxtw #3]
LBB0_7:
	ldp	w1, w0, [x21]
	fmov	s0, s8
	mov	x2, x20
	mov	w4, #0
	mov	w5, #0
	mov	x6, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_Text_Paint
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_blueteam%i"

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

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

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

	.comm	_ui_actualNetGameType,8,3       ; @ui_actualNetGameType
	.comm	_GT_TEAM,8,3                    ; @GT_TEAM
	.comm	_uiInfo,16,3                    ; @uiInfo
	.no_dead_strip	_UI_DrawTeamMember
.subsections_via_symbols
