	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_SPPostgameMenu_DrawAwardsMedals
_UI_SPPostgameMenu_DrawAwardsMedals:    ## @UI_SPPostgameMenu_DrawAwardsMedals
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%edi, %edi
	jle	LBB0_6
## %bb.1:
	movl	%edi, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_postgameMenuInfo@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	movl	$16, %esi
	movl	%r15d, %ecx
	callq	_Com_sprintf
	addl	$24, %r13d
	movq	_UI_CENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_color_yellow@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r13d, %edi
	movl	$116, %esi
	movq	%r12, %rdx
	callq	_UI_DrawString
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_medalLocations@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %r13d
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movslq	(%rax,%rbx,4), %r12
	movl	(%rcx,%rbx,4), %r15d
	movq	_ui_medalPicNames@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %r8d
	movl	%r13d, %edi
	movl	$64, %esi
	movl	$48, %edx
	movl	$48, %ecx
	callq	_UI_DrawNamedPic
	leaq	L_.str(%rip), %rdx
	movq	_AWARD_ACCURACY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdx
	cmpl	$1, %r15d
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_medalLocations,8,3             ## @medalLocations
	.comm	_postgameMenuInfo,16,3          ## @postgameMenuInfo
	.comm	_ui_medalPicNames,8,3           ## @ui_medalPicNames
	.comm	_AWARD_ACCURACY,4,2             ## @AWARD_ACCURACY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i%%"

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

	.comm	_UI_CENTER,4,2                  ## @UI_CENTER
	.comm	_color_yellow,4,2               ## @color_yellow
	.no_dead_strip	_UI_SPPostgameMenu_DrawAwardsMedals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_SPPostgameMenu_DrawAwardsMedals
_UI_SPPostgameMenu_DrawAwardsMedals:    ; @UI_SPPostgameMenu_DrawAwardsMedals
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x21, #0
	mov	w8, w0
	lsl	x22, x8, #2
Lloh3:
	adrp	x23, _medalLocations@GOTPAGE
Lloh4:
	ldr	x23, [x23, _medalLocations@GOTPAGEOFF]
Lloh5:
	adrp	x24, _postgameMenuInfo@GOTPAGE
Lloh6:
	ldr	x24, [x24, _postgameMenuInfo@GOTPAGEOFF]
Lloh7:
	adrp	x25, _ui_medalPicNames@GOTPAGE
Lloh8:
	ldr	x25, [x25, _ui_medalPicNames@GOTPAGEOFF]
Lloh9:
	adrp	x26, _AWARD_ACCURACY@GOTPAGE
Lloh10:
	ldr	x26, [x26, _AWARD_ACCURACY@GOTPAGEOFF]
Lloh11:
	adrp	x27, l_.str@PAGE
Lloh12:
	add	x27, x27, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	w1, #16
	mov	x3, x20
	bl	_Com_sprintf
	add	w0, w19, #24
Lloh13:
	adrp	x8, _UI_CENTER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UI_CENTER@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	adrp	x8, _color_yellow@GOTPAGE
Lloh17:
	ldr	x8, [x8, _color_yellow@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	add	x2, sp, #8
	mov	w1, #116
	bl	_UI_DrawString
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #4
	cmp	x22, x21
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w19, [x8, x21]
	ldp	x8, x9, [x24]
	ldrsw	x28, [x8, x21]
	ldr	w20, [x9, x21]
	ldr	x8, [x25]
	ldr	w4, [x8, x28, lsl #2]
	mov	x0, x19
	mov	w1, #64
	mov	w2, #48
	mov	w3, #48
	bl	_UI_DrawNamedPic
	ldr	w8, [x26]
	mov	x2, x27
	cmp	w28, w8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	cmp	w20, #1
	b.ne	LBB0_2
	b	LBB0_3
LBB0_6:
	ldr	x8, [sp, #24]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_medalLocations,8,3             ; @medalLocations
	.comm	_postgameMenuInfo,16,3          ; @postgameMenuInfo
	.comm	_ui_medalPicNames,8,3           ; @ui_medalPicNames
	.comm	_AWARD_ACCURACY,4,2             ; @AWARD_ACCURACY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i%%"

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

	.comm	_UI_CENTER,4,2                  ; @UI_CENTER
	.comm	_color_yellow,4,2               ; @color_yellow
	.no_dead_strip	_UI_SPPostgameMenu_DrawAwardsMedals
.subsections_via_symbols
