	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_CanShowTierVideo            ## -- Begin function UI_CanShowTierVideo
	.p2align	4, 0x90
_UI_CanShowTierVideo:                   ## @UI_CanShowTierVideo
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_MAX_INFO_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_qfalse@GOTPCREL(%rip), %rax
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.1:
	cmpl	$8, %r15d
	je	LBB0_3
## %bb.2:
	movq	_uis@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_trap_Cvar_VariableStringBuffer
	leaq	L_.str.1(%rip), %rdx
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	%r15d, %ecx
	callq	_Com_sprintf
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_Info_ValueForKey
	movl	%eax, %edi
	callq	_atoi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INFO_VALUE,4,2             ## @MAX_INFO_VALUE
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_uis,8,3                        ## @uis
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"g_spVideos"

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

	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_CanShowTierVideo            ; -- Begin function UI_CanShowTierVideo
	.p2align	2
_UI_CanShowTierVideo:                   ; @UI_CanShowTierVideo
	.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
	sub	sp, sp, #32
	mov	x19, x0
	mov	x21, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _MAX_INFO_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_INFO_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x9, x2
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x22, _qfalse@GOTPAGE
Lloh9:
	ldr	x22, [x22, _qfalse@GOTPAGEOFF]
	cbz	w0, LBB0_4
; %bb.1:
	cmp	w19, #8
	b.eq	LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _uis@GOTPAGE
Lloh11:
	ldr	x8, [x8, _uis@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbnz	x8, LBB0_4
LBB0_3:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_trap_Cvar_VariableStringBuffer
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	sub	x0, x29, #56
	mov	w1, #16
	mov	x3, x19
	bl	_Com_sprintf
	sub	x1, x29, #56
	mov	x0, x20
	bl	_Info_ValueForKey
	bl	_atoi
Lloh17:
	adrp	x8, _qtrue@GOTPAGE
Lloh18:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	cmp	x0, #0
	csel	x22, x22, x8, eq
LBB0_4:
	ldr	w0, [x22]
	mov	sp, x21
	ldur	x8, [x29, #-40]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #32
	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
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INFO_VALUE,4,2             ; @MAX_INFO_VALUE
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_uis,8,3                        ; @uis
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"g_spVideos"

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

	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
