	.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:
	movq	_KEYCATCH_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_cls@GOTPCREL(%rip), %rcx
	andl	%eax, 8(%rcx)
	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	_cls@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	%r14, %rdi
	callq	_CL_AddReliableCommand
LBB0_14:
	movq	_KEYCATCH_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_cls@GOTPCREL(%rip), %rcx
	andl	%eax, 8(%rcx)
	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	_cls,16,3                       ## @cls
	.comm	_chatField,8,3                  ## @chatField
	.comm	_K_ENTER,4,2                    ## @K_ENTER
	.comm	_K_KP_ENTER,4,2                 ## @K_KP_ENTER
	.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"

.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:
Lloh11:
	adrp	x8, _KEYCATCH_MESSAGE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KEYCATCH_MESSAGE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _cls@GOTPAGE
Lloh15:
	ldr	x9, [x9, _cls@GOTPAGEOFF]
	ldr	w10, [x9, #8]
	bic	w8, w10, w8
	str	w8, [x9, #8]
	ldur	x8, [x29, #-24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.2:
Lloh19:
	adrp	x0, _chatField@GOTPAGE
Lloh20:
	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:
Lloh21:
	adrp	x9, _K_ENTER@GOTPAGE
Lloh22:
	ldr	x9, [x9, _K_ENTER@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _K_KP_ENTER@GOTPAGE
Lloh25:
	ldr	x10, [x10, _K_KP_ENTER@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	cmp	w9, w8
	ccmp	w10, w8, #4, ne
	b.ne	LBB0_8
; %bb.4:
Lloh27:
	adrp	x8, _chatField@GOTPAGE
Lloh28:
	ldr	x8, [x8, _chatField@GOTPAGEOFF]
Lloh29:
	ldr	x3, [x8]
	ldr	x8, [x3]
Lloh30:
	adrp	x20, _cls@GOTPAGE
Lloh31:
	ldr	x20, [x20, _cls@GOTPAGEOFF]
	cbz	x8, LBB0_15
; %bb.5:
	ldr	x8, [x20]
Lloh32:
	adrp	x9, _CA_ACTIVE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _CA_ACTIVE@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.6:
Lloh35:
	adrp	x8, _chat_playerNum@GOTPAGE
Lloh36:
	ldr	x8, [x8, _chat_playerNum@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_10
; %bb.7:
	str	x3, [sp, #-16]!
Lloh38:
	adrp	x2, l_.str@PAGE
Lloh39:
	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]
Lloh40:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_17
; %bb.9:
Lloh43:
	adrp	x0, _chatField@GOTPAGE
Lloh44:
	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:
Lloh45:
	adrp	x8, _chat_team@GOTPAGE
Lloh46:
	ldr	x8, [x8, _chat_team@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.11:
Lloh48:
	adrp	x2, l_.str.1@PAGE
Lloh49:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh50:
	adrp	x2, l_.str.2@PAGE
Lloh51:
	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:
	mov	x0, x19
	bl	_CL_AddReliableCommand
LBB0_15:
Lloh52:
	adrp	x8, _KEYCATCH_MESSAGE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _KEYCATCH_MESSAGE@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	bic	w8, w9, w8
	str	w8, [x20, #8]
Lloh55:
	adrp	x0, _chatField@GOTPAGE
Lloh56:
	ldr	x0, [x0, _chatField@GOTPAGEOFF]
	bl	_Field_Clear
	ldur	x8, [x29, #-24]
Lloh57:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh58:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh59:
	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	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.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	_cls,16,3                       ; @cls
	.comm	_chatField,8,3                  ; @chatField
	.comm	_K_ENTER,4,2                    ; @K_ENTER
	.comm	_K_KP_ENTER,4,2                 ; @K_KP_ENTER
	.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"

.subsections_via_symbols
