	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_AddServerCommand            ## -- Begin function SV_AddServerCommand
	.p2align	4, 0x90
_SV_AddServerCommand:                   ## @SV_AddServerCommand
	.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), %rax
	movq	_CS_PRIMED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movslq	8(%rdi), %rax
	incq	%rax
	movl	%eax, 8(%rdi)
	movl	12(%rdi), %ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	movq	_MAX_RELIABLE_COMMANDS@GOTPCREL(%rip), %r14
	movslq	(%r14), %rcx
	leal	1(%rcx), %esi
	cmpl	%esi, %edx
	jne	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	movl	12(%r15), %r13d
	cmpl	8(%r15), %r13d
	jge	LBB0_3
## %bb.4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r13d
	movq	16(%r15), %rax
	movslq	(%r14), %rcx
	decq	%rcx
	movslq	%r13d, %rbx
	andq	%rbx, %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_Com_Printf
	cmpl	8(%r15), %ebx
	jl	LBB0_5
## %bb.6:
	incl	%r13d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_8:
	decq	%rcx
	andq	%rax, %rcx
	movq	16(%r15), %rax
	movq	(%rax,%rcx,8), %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Q_strncpyz                     ## TAILCALL
LBB0_3:
	incl	%r13d
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_Com_Printf
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SV_DropClient                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CS_PRIMED,8,3                  ## @CS_PRIMED
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ## @MAX_RELIABLE_COMMANDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"===== pending server commands =====\n"

L_.str.1:                               ## @.str.1
	.asciz	"cmd %5d: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Server command overflow"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_AddServerCommand            ; -- Begin function SV_AddServerCommand
	.p2align	2
_SV_AddServerCommand:                   ; @SV_AddServerCommand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CS_PRIMED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CS_PRIMED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	ldp	w8, w10, [x0, #8]
	add	w8, w8, #1
	str	w8, [x0, #8]
Lloh3:
	adrp	x22, _MAX_RELIABLE_COMMANDS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MAX_RELIABLE_COMMANDS@GOTPAGEOFF]
	ldr	w9, [x22]
	add	w11, w9, #1
	sub	w10, w8, w10
	cmp	w10, w11
	b.ne	LBB0_7
; %bb.3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
	ldp	w8, w23, [x19, #8]
	cmp	w23, w8
	b.ge	LBB0_6
; %bb.4:
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w23, w23, #1
	ldr	x8, [x19, #16]
	ldr	w9, [x22]
	sub	w9, w9, #1
	and	w9, w9, w23
	ldr	x8, [x8, w9, sxtw #3]
	stp	x23, x8, [sp]
	mov	x0, x21
	bl	_Com_Printf
	ldr	w8, [x19, #8]
	cmp	w23, w8
	b.lt	LBB0_5
LBB0_6:
	add	w8, w23, #1
	stp	x8, x20, [sp]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_SV_DropClient
LBB0_7:
	sub	w9, w9, #1
	and	w8, w9, w8
	ldr	x9, [x19, #16]
	ldr	x0, [x9, w8, sxtw #3]
	mov	x1, x20
	mov	w2, #8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_Q_strncpyz
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CS_PRIMED,8,3                  ; @CS_PRIMED
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ; @MAX_RELIABLE_COMMANDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"===== pending server commands =====\n"

l_.str.1:                               ; @.str.1
	.asciz	"cmd %5d: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Server command overflow"

.subsections_via_symbols
