	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Message_Key                    ## -- Begin function Message_Key
	.p2align	4, 0x90
_Message_Key:                           ## @Message_Key
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_MAX_STRING_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_K_ESCAPE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_MESSAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	callq	_Key_SetCatcher
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_17
## %bb.2:
	movq	_chatField@GOTPCREL(%rip), %rdi
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Field_Clear                    ## TAILCALL
LBB0_3:
	movq	_K_ENTER@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_K_KP_ENTER@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_5
## %bb.16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_17
## %bb.18:
	movq	_chatField@GOTPCREL(%rip), %rdi
	movl	%ebx, %esi
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Field_KeyDownEvent             ## TAILCALL
LBB0_5:
	movq	_chatField@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	cmpq	$0, (%r8)
	je	LBB0_14
## %bb.6:
	movq	_clc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CA_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.7:
	movq	_chat_playerNum@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	$-1, %ecx
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_Com_sprintf
	jmp	LBB0_13
LBB0_9:
	movq	_chat_team@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str.2(%rip), %rdx
LBB0_12:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r8d, %ecx
	xorl	%eax, %eax
	callq	_Com_sprintf
LBB0_13:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_CL_AddReliableCommand
LBB0_14:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_MESSAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	callq	_Key_SetCatcher
	movq	_chatField@GOTPCREL(%rip), %rdi
	callq	_Field_Clear
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_17
## %bb.15:
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_STRING_CHARS,4,2           ## @MAX_STRING_CHARS
	.comm	_K_ESCAPE,4,2                   ## @K_ESCAPE
	.comm	_KEYCATCH_MESSAGE,4,2           ## @KEYCATCH_MESSAGE
	.comm	_chatField,8,3                  ## @chatField
	.comm	_K_ENTER,4,2                    ## @K_ENTER
	.comm	_K_KP_ENTER,4,2                 ## @K_KP_ENTER
	.comm	_clc,8,3                        ## @clc
	.comm	_CA_ACTIVE,8,3                  ## @CA_ACTIVE
	.comm	_chat_playerNum,4,2             ## @chat_playerNum
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tell %i \"%s\"\n"

	.comm	_chat_team,8,3                  ## @chat_team
L_.str.1:                               ## @.str.1
	.asciz	"say_team \"%s\"\n"

L_.str.2:                               ## @.str.2
	.asciz	"say \"%s\"\n"

	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Message_Key                    ; -- Begin function Message_Key
	.p2align	2
_Message_Key:                           ; @Message_Key
	.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
	sub	sp, sp, #16
	mov	x8, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-24]
Lloh3:
	adrp	x9, _MAX_STRING_CHARS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_STRING_CHARS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x9, x1
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x1, #15
	and	x10, x10, #0x1fffffff0
	sub	x19, x9, x10
	mov	sp, x19
Lloh8:
	adrp	x9, _K_ESCAPE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _K_ESCAPE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w9, w0
	b.ne	LBB0_3
; %bb.1:
	bl	_Key_GetCatcher
Lloh11:
	adrp	x8, _KEYCATCH_MESSAGE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KEYCATCH_MESSAGE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bic	w0, w0, w8
	bl	_Key_SetCatcher
	ldur	x8, [x29, #-24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.2:
Lloh17:
	adrp	x0, _chatField@GOTPAGE
Lloh18:
	ldr	x0, [x0, _chatField@GOTPAGEOFF]
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Field_Clear
LBB0_3:
Lloh19:
	adrp	x9, _K_ENTER@GOTPAGE
Lloh20:
	ldr	x9, [x9, _K_ENTER@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _K_KP_ENTER@GOTPAGE
Lloh23:
	ldr	x10, [x10, _K_KP_ENTER@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	cmp	w9, w8
	ccmp	w10, w8, #4, ne
	b.ne	LBB0_8
; %bb.4:
Lloh25:
	adrp	x8, _chatField@GOTPAGE
Lloh26:
	ldr	x8, [x8, _chatField@GOTPAGEOFF]
Lloh27:
	ldr	x3, [x8]
	ldr	x8, [x3]
	cbz	x8, LBB0_15
; %bb.5:
Lloh28:
	adrp	x8, _clc@GOTPAGE
Lloh29:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
Lloh31:
	adrp	x9, _CA_ACTIVE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _CA_ACTIVE@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.6:
Lloh34:
	adrp	x8, _chat_playerNum@GOTPAGE
Lloh35:
	ldr	x8, [x8, _chat_playerNum@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_10
; %bb.7:
	str	x3, [sp, #-16]!
Lloh37:
	adrp	x2, l_.str@PAGE
Lloh38:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x3, x8
	bl	_Com_sprintf
	add	sp, sp, #16
	b	LBB0_14
LBB0_8:
	ldur	x9, [x29, #-24]
Lloh39:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_17
; %bb.9:
Lloh42:
	adrp	x0, _chatField@GOTPAGE
Lloh43:
	ldr	x0, [x0, _chatField@GOTPAGEOFF]
	mov	x1, x8
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Field_KeyDownEvent
LBB0_10:
Lloh44:
	adrp	x8, _chat_team@GOTPAGE
Lloh45:
	ldr	x8, [x8, _chat_team@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.11:
Lloh47:
	adrp	x2, l_.str.1@PAGE
Lloh48:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh49:
	adrp	x2, l_.str.2@PAGE
Lloh50:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_13:
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_Com_sprintf
LBB0_14:
Lloh51:
	adrp	x8, _qfalse@GOTPAGE
Lloh52:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CL_AddReliableCommand
LBB0_15:
	bl	_Key_GetCatcher
Lloh54:
	adrp	x8, _KEYCATCH_MESSAGE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _KEYCATCH_MESSAGE@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	bic	w0, w0, w8
	bl	_Key_SetCatcher
Lloh57:
	adrp	x0, _chatField@GOTPAGE
Lloh58:
	ldr	x0, [x0, _chatField@GOTPAGEOFF]
	bl	_Field_Clear
	ldur	x8, [x29, #-24]
Lloh59:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh60:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_STRING_CHARS,4,2           ; @MAX_STRING_CHARS
	.comm	_K_ESCAPE,4,2                   ; @K_ESCAPE
	.comm	_KEYCATCH_MESSAGE,4,2           ; @KEYCATCH_MESSAGE
	.comm	_chatField,8,3                  ; @chatField
	.comm	_K_ENTER,4,2                    ; @K_ENTER
	.comm	_K_KP_ENTER,4,2                 ; @K_KP_ENTER
	.comm	_clc,8,3                        ; @clc
	.comm	_CA_ACTIVE,8,3                  ; @CA_ACTIVE
	.comm	_chat_playerNum,4,2             ; @chat_playerNum
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tell %i \"%s\"\n"

	.comm	_chat_team,8,3                  ; @chat_team
l_.str.1:                               ; @.str.1
	.asciz	"say_team \"%s\"\n"

l_.str.2:                               ; @.str.2
	.asciz	"say \"%s\"\n"

	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
