	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_DrawPlayerLogoName
_UI_DrawPlayerLogoName:                 ## @UI_DrawPlayerLogoName
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_UI_Cvar_VariableString
	movl	%eax, %edi
	callq	_UI_TeamIndexFromName
	movq	_uiInfo@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movslq	%eax, %rbx
	shlq	$5, %rbx
	cmpl	$-1, (%rcx,%rbx)
	jne	LBB0_2
## %bb.1:
	movl	16(%rcx,%rbx), %edi
	callq	_trap_R_RegisterShaderNoMip
	movq	(%r15), %rcx
	movl	%eax, (%rcx,%rbx)
	movl	16(%rcx,%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_va
	movl	%eax, %edi
	callq	_trap_R_RegisterShaderNoMip
	movq	(%r15), %rcx
	movq	%rax, 24(%rcx,%rbx)
	movl	16(%rcx,%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_va
	movl	%eax, %edi
	callq	_trap_R_RegisterShaderNoMip
	movq	(%r15), %rcx
	movq	%rax, 8(%rcx,%rbx)
LBB0_2:
	movq	%r14, %rdi
	callq	_trap_R_SetColor
	movl	12(%r12), %edi
	movl	8(%r12), %esi
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movq	(%r15), %rax
	movq	8(%rax,%rbx), %r8
	callq	_UI_DrawHandlePic
	xorl	%edi, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_R_SetColor                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ui_teamName"

	.comm	_uiInfo,8,3                     ## @uiInfo
L_.str.1:                               ## @.str.1
	.asciz	"%s_metal"

L_.str.2:                               ## @.str.2
	.asciz	"%s_name"

	.no_dead_strip	_UI_DrawPlayerLogoName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_DrawPlayerLogoName
_UI_DrawPlayerLogoName:                 ; @UI_DrawPlayerLogoName
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_UI_Cvar_VariableString
	bl	_UI_TeamIndexFromName
                                        ; kill: def $w0 killed $w0 def $x0
Lloh2:
	adrp	x21, _uiInfo@GOTPAGE
Lloh3:
	ldr	x21, [x21, _uiInfo@GOTPAGEOFF]
	ldr	x8, [x21]
	sxtw	x22, w0
	sbfiz	x9, x0, #5, #32
	ldr	w9, [x8, x9]
	cmn	w9, #1
	b.ne	LBB0_2
; %bb.1:
	lsl	x23, x22, #5
	add	x8, x8, x23
	ldr	w0, [x8, #16]
	bl	_trap_R_RegisterShaderNoMip
	ldr	x8, [x21]
	add	x8, x8, x23
	str	w0, [x8]
	ldr	w1, [x8, #16]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_va
	bl	_trap_R_RegisterShaderNoMip
	ldr	x8, [x21]
	add	x8, x8, x23
	str	x0, [x8, #24]
	ldr	w1, [x8, #16]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_va
	bl	_trap_R_RegisterShaderNoMip
	ldr	x8, [x21]
	add	x8, x8, x23
	str	x0, [x8, #8]
LBB0_2:
	mov	x0, x20
	bl	_trap_R_SetColor
	ldp	w1, w0, [x19, #8]
	ldp	w3, w2, [x19]
	ldr	x8, [x21]
	add	x8, x8, x22, lsl #5
	ldr	x4, [x8, #8]
	bl	_UI_DrawHandlePic
	mov	x0, #0
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_trap_R_SetColor
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_teamName"

	.comm	_uiInfo,8,3                     ; @uiInfo
l_.str.1:                               ; @.str.1
	.asciz	"%s_metal"

l_.str.2:                               ; @.str.2
	.asciz	"%s_name"

	.no_dead_strip	_UI_DrawPlayerLogoName
.subsections_via_symbols
