	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_PriorOpponent
_UI_PriorOpponent:                      ## @UI_PriorOpponent
	.cfi_startproc
## %bb.0:
	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
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_UI_Cvar_VariableString
	movl	%eax, %edi
	callq	_UI_TeamIndexFromName
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_UI_Cvar_VariableString
	movl	%eax, %edi
	callq	_UI_TeamIndexFromName
	testl	%ebx, %ebx
	movq	_uiInfo@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmovlel	%edx, %ebx
	leal	-2(%rbx), %esi
	decl	%edx
	cmpl	$2, %ebx
	cmovgel	%esi, %edx
	leal	-1(%rbx), %esi
	cmpl	%eax, %esi
	cmovnel	%esi, %edx
	movq	8(%rcx), %rax
	movslq	%edx, %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_trap_Cvar_Set                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ui_opponentName"

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

	.comm	_uiInfo,16,3                    ## @uiInfo
	.no_dead_strip	_UI_PriorOpponent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_PriorOpponent
_UI_PriorOpponent:                      ; @UI_PriorOpponent
	.cfi_startproc
; %bb.0:
	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	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_UI_Cvar_VariableString
	bl	_UI_TeamIndexFromName
	mov	x20, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_UI_Cvar_VariableString
	bl	_UI_TeamIndexFromName
Lloh4:
	adrp	x8, _uiInfo@GOTPAGE
Lloh5:
	ldr	x8, [x8, _uiInfo@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w20, #1
	csel	w10, w9, w20, lt
	sub	w11, w10, #1
	sub	w9, w9, #1
	subs	w10, w10, #2
	csel	w9, w9, w10, lt
	cmp	w11, w0
	csel	w9, w9, w11, eq
	ldr	x8, [x8, #8]
	ldr	w1, [x8, w9, sxtw #2]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_trap_Cvar_Set
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_opponentName"

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

	.comm	_uiInfo,16,3                    ; @uiInfo
	.no_dead_strip	_UI_PriorOpponent
.subsections_via_symbols
