	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_SPPostgameMenu_MenuKey
_UI_SPPostgameMenu_MenuKey:             ## @UI_SPPostgameMenu_MenuKey
	.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
	movq	_uis@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_postgameMenuInfo@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jl	LBB0_8
## %bb.1:
	movl	8(%rbx), %ecx
	cmpl	$2, %ecx
	je	LBB0_4
## %bb.2:
	cmpl	$1, %ecx
	jne	LBB0_6
## %bb.3:
	movq	_EXEC_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_trap_Cmd_ExecuteText
	movl	$2, 8(%rbx)
	movq	(%r14), %rax
	jmp	LBB0_5
LBB0_4:
	movl	$3, 8(%rbx)
LBB0_5:
	movq	%rax, 16(%rbx)
	addq	$250, %rax
	movq	%rax, (%rbx)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	%edi, %esi
	movq	_K_ESCAPE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_K_MOUSE2@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_8
## %bb.9:
	addq	$24, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Menu_DefaultKey                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_uis,8,3                        ## @uis
	.comm	_postgameMenuInfo,32,3          ## @postgameMenuInfo
	.comm	_EXEC_APPEND,4,2                ## @EXEC_APPEND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"abort_podium\n"

	.comm	_K_ESCAPE,4,2                   ## @K_ESCAPE
	.comm	_K_MOUSE2,4,2                   ## @K_MOUSE2
	.no_dead_strip	_UI_SPPostgameMenu_MenuKey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_SPPostgameMenu_MenuKey
_UI_SPPostgameMenu_MenuKey:             ; @UI_SPPostgameMenu_MenuKey
	.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	x20, _uis@GOTPAGE
Lloh1:
	ldr	x20, [x20, _uis@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x19, _postgameMenuInfo@GOTPAGE
Lloh3:
	ldr	x19, [x19, _postgameMenuInfo@GOTPAGEOFF]
	ldr	x9, [x19]
	cmp	x8, x9
	b.lt	LBB0_7
; %bb.1:
	ldr	w9, [x19, #8]
	cmp	w9, #2
	b.eq	LBB0_4
; %bb.2:
	cmp	w9, #1
	b.ne	LBB0_6
; %bb.3:
Lloh4:
	adrp	x8, _EXEC_APPEND@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EXEC_APPEND@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trap_Cmd_ExecuteText
	mov	w8, #2
	str	w8, [x19, #8]
	ldr	x8, [x20]
	b	LBB0_5
LBB0_4:
	mov	w9, #3
	str	w9, [x19, #8]
LBB0_5:
	str	x8, [x19, #16]
	add	x8, x8, #250
	str	x8, [x19]
	b	LBB0_7
LBB0_6:
	mov	x1, x0
Lloh9:
	adrp	x8, _K_ESCAPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _K_ESCAPE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _K_MOUSE2@GOTPAGE
Lloh13:
	ldr	x9, [x9, _K_MOUSE2@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, ne
	b.ne	LBB0_8
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	add	x0, x19, #24
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Menu_DefaultKey
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_uis,8,3                        ; @uis
	.comm	_postgameMenuInfo,32,3          ; @postgameMenuInfo
	.comm	_EXEC_APPEND,4,2                ; @EXEC_APPEND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"abort_podium\n"

	.comm	_K_ESCAPE,4,2                   ; @K_ESCAPE
	.comm	_K_MOUSE2,4,2                   ; @K_MOUSE2
	.no_dead_strip	_UI_SPPostgameMenu_MenuKey
.subsections_via_symbols
