	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_CreditMenu_Key
_UI_CreditMenu_Key:                     ## @UI_CreditMenu_Key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_K_CHAR_FLAG@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	jne	LBB0_7
## %bb.1:
	movq	_s_credits@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leal	1(%rdx), %ecx
	movl	%ecx, (%rax)
	testl	%edx, %edx
	je	LBB0_2
## %bb.4:
	cmpl	$2, %ecx
	jne	LBB0_6
## %bb.5:
	movq	_UI_CreditMenu_Draw_deepmind@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_UI_CreditMenu_Draw_ioq3@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	jmp	LBB0_7
LBB0_6:
	movq	_EXEC_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_trap_Cmd_ExecuteText
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_K_CHAR_FLAG,4,2                ## @K_CHAR_FLAG
	.comm	_s_credits,8,2                  ## @s_credits
	.comm	_UI_CreditMenu_Draw_ioq3,4,2    ## @UI_CreditMenu_Draw_ioq3
	.comm	_UI_CreditMenu_Draw_deepmind,4,2 ## @UI_CreditMenu_Draw_deepmind
	.comm	_EXEC_APPEND,4,2                ## @EXEC_APPEND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"quit\n"

	.no_dead_strip	_UI_CreditMenu_Key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_CreditMenu_Key
_UI_CreditMenu_Key:                     ; @UI_CreditMenu_Key
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _K_CHAR_FLAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _K_CHAR_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _s_credits@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_credits@GOTPAGEOFF]
	ldr	w10, [x8]
	add	w9, w10, #1
	str	w9, [x8]
	cbz	w10, LBB0_4
; %bb.2:
	cmp	w9, #2
	b.ne	LBB0_6
; %bb.3:
Lloh5:
	adrp	x9, _UI_CreditMenu_Draw_deepmind@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UI_CreditMenu_Draw_deepmind@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x9, _UI_CreditMenu_Draw_ioq3@GOTPAGE
Lloh8:
	ldr	x9, [x9, _UI_CreditMenu_Draw_ioq3@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
	str	w9, [x8, #4]
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x8, _EXEC_APPEND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EXEC_APPEND@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trap_Cmd_ExecuteText
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_K_CHAR_FLAG,4,2                ; @K_CHAR_FLAG
	.comm	_s_credits,8,2                  ; @s_credits
	.comm	_UI_CreditMenu_Draw_ioq3,4,2    ; @UI_CreditMenu_Draw_ioq3
	.comm	_UI_CreditMenu_Draw_deepmind,4,2 ; @UI_CreditMenu_Draw_deepmind
	.comm	_EXEC_APPEND,4,2                ; @EXEC_APPEND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"quit\n"

	.no_dead_strip	_UI_CreditMenu_Key
.subsections_via_symbols
