	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_DrawTierMap
_UI_DrawTierMap:                        ## @UI_DrawTierMap
	.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
	movl	%esi, %r14d
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	movq	_uiInfo@GOTPCREL(%rip), %r15
	xorl	%ecx, %ecx
	cmpl	(%r15), %eax
	movl	%eax, %ebx
	cmovgeq	%rcx, %rbx
	testl	%eax, %eax
	movq	8(%r15), %rax
	cmovsq	%rcx, %rbx
	shlq	$4, %rbx
	movq	(%rax,%rbx), %rcx
	movslq	%r14d, %r14
	movl	(%rcx,%r14,4), %r8d
	cmpl	$-1, %r8d
	jne	LBB0_2
## %bb.1:
	movq	8(%rax,%rbx), %rax
	movl	(%rax,%r14,4), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_va
	movl	%eax, %edi
	callq	_trap_R_RegisterShaderNoMip
	movl	%eax, %r8d
	movq	8(%r15), %rax
	movq	(%rax,%rbx), %rax
	movl	%r8d, (%rax,%r14,4)
LBB0_2:
	movl	12(%r12), %edi
	movl	8(%r12), %esi
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_DrawHandlePic               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ui_currentTier"

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

	.no_dead_strip	_UI_DrawTierMap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_DrawTierMap
_UI_DrawTierMap:                        ; @UI_DrawTierMap
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trap_Cvar_VariableValue
Lloh2:
	adrp	x21, _uiInfo@GOTPAGE
Lloh3:
	ldr	x21, [x21, _uiInfo@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	mov	w8, #-1
	ccmp	w0, w8, #4, lt
	ldr	x8, [x21, #8]
	mov	w9, w0
	csel	x9, x9, xzr, gt
	lsl	x22, x9, #4
	ldr	x9, [x8, x22]
	ldr	w4, [x9, w20, sxtw #2]
	cmn	w4, #1
	b.ne	LBB0_2
; %bb.1:
	sxtw	x9, w20
	add	x8, x8, x22
	ldr	x8, [x8, #8]
	lsl	x20, x9, #2
	ldr	w1, [x8, x20]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_va
	bl	_trap_R_RegisterShaderNoMip
	mov	x4, x0
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x22]
	str	w0, [x8, x20]
LBB0_2:
	ldp	w1, w0, [x19, #8]
	ldp	w3, w2, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_UI_DrawHandlePic
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_currentTier"

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

	.no_dead_strip	_UI_DrawTierMap
.subsections_via_symbols
