	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_DrawTierGameType
_UI_DrawTierGameType:                   ## @UI_DrawTierGameType
	.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	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	movl	%eax, %ebx
	movq	_uiInfo@GOTPCREL(%rip), %r14
	xorl	%r13d, %r13d
	cmpl	(%r14), %eax
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %r15d
	cmovgeq	%r13, %r15
	callq	_trap_Cvar_VariableValue
	testl	%ebx, %ebx
	cmovsq	%r13, %r15
	movq	_MAPS_PER_TIER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movl	%eax, %ecx
	cmovgq	%r13, %rcx
	testl	%eax, %eax
	movl	(%r12), %esi
	movl	4(%r12), %edi
	movq	8(%r14), %rax
	movq	16(%r14), %rdx
	movq	(%rax,%r15,8), %rax
	cmovsq	%r13, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rdx,%rax,4), %ecx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	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_currentTier"

	.comm	_uiInfo,24,3                    ## @uiInfo
L_.str.1:                               ## @.str.1
	.asciz	"ui_currentMap"

	.comm	_MAPS_PER_TIER,4,2              ## @MAPS_PER_TIER
	.no_dead_strip	_UI_DrawTierGameType
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_DrawTierGameType
_UI_DrawTierGameType:                   ; @UI_DrawTierGameType
	.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, x2
	mov	x20, x1
	fmov	s8, s0
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trap_Cvar_VariableValue
	mov	x22, x0
Lloh2:
	adrp	x23, _uiInfo@GOTPAGE
Lloh3:
	ldr	x23, [x23, _uiInfo@GOTPAGEOFF]
	ldr	w24, [x23]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	w22, w24
	mov	w8, #-1
	ccmp	w22, w8, #4, lt
Lloh6:
	adrp	x8, _MAPS_PER_TIER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAPS_PER_TIER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, w22
	csel	x9, x9, xzr, gt
	cmp	w0, w8
	ccmp	w0, #0, #8, le
	ldp	w1, w8, [x21]
	ldp	x11, x10, [x23, #8]
	ldr	x9, [x11, x9, lsl #3]
	mov	w11, w0
	csel	x11, xzr, x11, lt
	ldr	x9, [x9, x11, lsl #3]
	ldr	w3, [x10, x9, lsl #2]
	fmov	s0, s8
	mov	x0, x8
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_currentTier"

	.comm	_uiInfo,24,3                    ; @uiInfo
l_.str.1:                               ; @.str.1
	.asciz	"ui_currentMap"

	.comm	_MAPS_PER_TIER,4,2              ; @MAPS_PER_TIER
	.no_dead_strip	_UI_DrawTierGameType
.subsections_via_symbols
