	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cmd_GameCommand_f              ## -- Begin function Cmd_GameCommand_f
	.p2align	4, 0x90
_Cmd_GameCommand_f:                     ## @Cmd_GameCommand_f
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_TOKEN_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	xorl	%eax, %eax
	callq	_trap_Argc
	cmpl	$3, %eax
	jne	LBB0_1
## %bb.3:
	movl	$2, %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_trap_Argv
	movq	%r12, %rdi
	callq	_atoi
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movq	_numgc_orders@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_5
## %bb.6:
	movl	$1, %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_trap_Argv
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ecx, %edx
	callq	_ClientNumberFromString
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.7:
	movq	_g_entities@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	leaq	(%rax,%rax,2), %rax
	cmpl	$0, 16(%rcx,%rax,8)
	je	LBB0_12
## %bb.8:
	movq	8(%rcx,%rax,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.9:
	leaq	(%rcx,%rax,8), %rbx
	movq	8(%r15), %rax
	movl	(%rax), %esi
	movl	(%rdx), %edx
	movq	_gc_orders@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	%r14d, %r14d
	movl	(%rax,%r14,4), %ecx
	leaq	L_.str.2(%rip), %rdi
	callq	_G_LogPrintf
	movq	_SAY_TELL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	(%r12), %rax
	movl	(%rax,%r14,4), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_G_Say
	cmpq	%r15, %rbx
	je	LBB0_12
## %bb.10:
	movq	_SVF_BOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_12
## %bb.11:
	movl	(%r13), %edx
	movq	(%r12), %rax
	movl	(%rax,%r14,4), %ecx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_G_Say
	jmp	LBB0_12
LBB0_1:
	movq	_g_entities@GOTPCREL(%rip), %rax
	subq	(%rax), %r15
	movq	_numgc_orders@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	decl	%esi
	leaq	L_.str(%rip), %rdi
	callq	_va
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.2:
	shrq	$3, %r15
	imull	$-1431655765, %r15d, %edi       ## imm = 0xAAAAAAAB
	movl	%eax, %esi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_SendServerCommand         ## TAILCALL
LBB0_5:
	movq	_g_entities@GOTPCREL(%rip), %rax
	subq	(%rax), %r15
	shrq	$3, %r15
	imull	$-1431655765, %r15d, %ebx       ## imm = 0xAAAAAAAB
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	callq	_va
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_trap_SendServerCommand
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TOKEN_CHARS,4,2            ## @MAX_TOKEN_CHARS
	.comm	_g_entities,8,3                 ## @g_entities
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"print \"Usage: gc <player id> <order 0-%d>\n\""

	.comm	_numgc_orders,4,2               ## @numgc_orders
L_.str.1:                               ## @.str.1
	.asciz	"print \"Bad order: %i\n\""

	.comm	_qtrue,4,2                      ## @qtrue
L_.str.2:                               ## @.str.2
	.asciz	"tell: %s to %s: %s\n"

	.comm	_gc_orders,8,3                  ## @gc_orders
	.comm	_SAY_TELL,4,2                   ## @SAY_TELL
	.comm	_SVF_BOT,4,2                    ## @SVF_BOT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cmd_GameCommand_f              ; -- Begin function Cmd_GameCommand_f
	.p2align	2
_Cmd_GameCommand_f:                     ; @Cmd_GameCommand_f
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_TOKEN_CHARS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_TOKEN_CHARS@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	bl	_trap_Argc
	cmp	w0, #3
	b.ne	LBB0_9
; %bb.1:
	mov	w0, #2
	mov	x1, x22
	mov	x2, x21
	bl	_trap_Argv
	mov	x0, x22
	bl	_atoi
	mov	x20, x0
	tbnz	w0, #31, LBB0_11
; %bb.2:
Lloh8:
	adrp	x8, _numgc_orders@GOTPAGE
Lloh9:
	ldr	x8, [x8, _numgc_orders@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ge	LBB0_11
; %bb.3:
	mov	w0, #1
	mov	x1, x22
	mov	x2, x21
	bl	_trap_Argv
Lloh11:
	adrp	x8, _qtrue@GOTPAGE
Lloh12:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x3, x2
	bl	_ClientNumberFromString
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.4:
Lloh14:
	adrp	x8, _g_entities@GOTPAGE
Lloh15:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	mov	w9, #24
	smaddl	x21, w0, w9, x8
	ldr	w9, [x21, #16]
	cbz	w9, LBB0_12
; %bb.5:
	sxtw	x9, w0
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_12
; %bb.6:
	ldr	x9, [x19, #8]
	ldr	w1, [x9]
Lloh17:
	adrp	x22, _gc_orders@GOTPAGE
Lloh18:
	ldr	x22, [x22, _gc_orders@GOTPAGEOFF]
	ldr	w2, [x8]
	ldr	x8, [x22]
	mov	w20, w20
	lsl	x24, x20, #2
	ldr	w3, [x8, x24]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_G_LogPrintf
Lloh21:
	adrp	x23, _SAY_TELL@GOTPAGE
Lloh22:
	ldr	x23, [x23, _SAY_TELL@GOTPAGEOFF]
	ldr	w2, [x23]
	ldr	x8, [x22]
	ldr	w3, [x8, x24]
	mov	x0, x19
	mov	x1, x21
	bl	_G_Say
	cmp	x21, x19
	b.eq	LBB0_12
; %bb.7:
	ldr	w8, [x19]
Lloh23:
	adrp	x9, _SVF_BOT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SVF_BOT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.8:
	ldr	w2, [x23]
	ldr	x8, [x22]
	ldr	w3, [x8, x20, lsl #2]
	mov	x0, x19
	mov	x1, x19
	bl	_G_Say
	b	LBB0_12
LBB0_9:
Lloh26:
	adrp	x8, _g_entities@GOTPAGE
Lloh27:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh28:
	ldr	x20, [x8]
Lloh29:
	adrp	x8, _numgc_orders@GOTPAGE
Lloh30:
	ldr	x8, [x8, _numgc_orders@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	sub	w1, w8, #1
Lloh32:
	adrp	x0, l_.str@PAGE
Lloh33:
	add	x0, x0, l_.str@PAGEOFF
	bl	_va
	ldur	x8, [x29, #-56]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.10:
	mov	x1, x0
	sub	x8, x19, x20
	lsr	x8, x8, #3
	mov	w9, #43691
	movk	w9, #43690, lsl #16
	mul	w0, w8, w9
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_trap_SendServerCommand
LBB0_11:
Lloh37:
	adrp	x8, _g_entities@GOTPAGE
Lloh38:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	sub	x8, x19, x8
	lsr	x8, x8, #3
	mov	w9, #43691
	movk	w9, #43690, lsl #16
	mul	w19, w8, w9
Lloh40:
	adrp	x0, l_.str.1@PAGE
Lloh41:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_va
	mov	x1, x0
	mov	x0, x19
	bl	_trap_SendServerCommand
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TOKEN_CHARS,4,2            ; @MAX_TOKEN_CHARS
	.comm	_g_entities,8,3                 ; @g_entities
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"print \"Usage: gc <player id> <order 0-%d>\n\""

	.comm	_numgc_orders,4,2               ; @numgc_orders
l_.str.1:                               ; @.str.1
	.asciz	"print \"Bad order: %i\n\""

	.comm	_qtrue,4,2                      ; @qtrue
l_.str.2:                               ; @.str.2
	.asciz	"tell: %s to %s: %s\n"

	.comm	_gc_orders,8,3                  ; @gc_orders
	.comm	_SAY_TELL,4,2                   ; @SAY_TELL
	.comm	_SVF_BOT,4,2                    ; @SVF_BOT
.subsections_via_symbols
