	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_ExecuteClientMessage        ## -- Begin function SV_ExecuteClientMessage
	.p2align	4, 0x90
_SV_ExecuteClientMessage:               ## @SV_ExecuteClientMessage
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_MSG_Bitstream
	movq	%rbx, %rdi
	callq	_MSG_ReadLong
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_MSG_ReadLong
	movq	%rax, 24(%r14)
	movq	%rbx, %rdi
	callq	_MSG_ReadLong
	movq	%rax, 56(%r14)
	movq	48(%r14), %rcx
	movq	_MAX_RELIABLE_COMMANDS@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_SV_DropClient
	movq	48(%r14), %rax
	movq	%rax, 56(%r14)
	jmp	LBB0_20
LBB0_2:
	movq	_sv@GOTPCREL(%rip), %r12
	cmpl	%r15d, (%r12)
	je	LBB0_9
## %bb.3:
	movq	40(%r14), %rax
	cmpl	$0, (%rax)
	jne	LBB0_9
## %bb.4:
	movl	32(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strstr
	testl	%eax, %eax
	je	LBB0_5
LBB0_9:
	movq	_clc_EOF@GOTPCREL(%rip), %r15
	movq	_clc_clientCommand@GOTPCREL(%rip), %r12
	movq	_CS_ZOMBIE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_MSG_ReadByte
	movl	(%r15), %ecx
	cmpl	%ecx, %eax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	(%r12), %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_SV_ClientCommand
	testl	%eax, %eax
	je	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r14), %rax
	cmpq	(%r13), %rax
	jne	LBB0_10
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_clc_move@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_17
## %bb.15:
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_17:
	movq	_clc_moveNoDelta@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_19
## %bb.18:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SV_UserMove                    ## TAILCALL
LBB0_19:
	cmpl	%ecx, %eax
	je	LBB0_20
## %bb.22:
	movq	_svs@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$6, %rax
	subq	%rax, %r14
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_5:
	cmpl	%r15d, 4(%r12)
	jg	LBB0_7
## %bb.6:
	cmpl	%r15d, (%r12)
	jle	LBB0_7
## %bb.21:
	movl	8(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_DPrintf                    ## TAILCALL
LBB0_7:
	movq	24(%r14), %rax
	cmpq	16(%r14), %rax
	jbe	LBB0_20
## %bb.8:
	movl	8(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_Com_DPrintf
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SV_SendClientGameState         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DEBUG: illegible client message"

	.comm	_MAX_RELIABLE_COMMANDS,8,3      ## @MAX_RELIABLE_COMMANDS
	.comm	_sv,8,2                         ## @sv
L_.str.1:                               ## @.str.1
	.asciz	"nextdl"

L_.str.2:                               ## @.str.2
	.asciz	"%s : ignoring pre map_restart / outdated client message\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s : dropped gamestate, resending\n"

	.comm	_clc_EOF,4,2                    ## @clc_EOF
	.comm	_clc_clientCommand,4,2          ## @clc_clientCommand
	.comm	_CS_ZOMBIE,8,3                  ## @CS_ZOMBIE
	.comm	_clc_move,4,2                   ## @clc_move
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_clc_moveNoDelta,4,2            ## @clc_moveNoDelta
	.comm	_qfalse,4,2                     ## @qfalse
L_.str.4:                               ## @.str.4
	.asciz	"WARNING: bad command byte for client %i\n"

	.comm	_svs,4,2                        ## @svs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_ExecuteClientMessage        ; -- Begin function SV_ExecuteClientMessage
	.p2align	2
_SV_ExecuteClientMessage:               ; @SV_ExecuteClientMessage
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_MSG_Bitstream
	mov	x0, x20
	bl	_MSG_ReadLong
	mov	x21, x0
	mov	x0, x20
	bl	_MSG_ReadLong
	str	x0, [x19, #24]
	mov	x0, x20
	bl	_MSG_ReadLong
	str	x0, [x19, #56]
	ldr	x8, [x19, #48]
Lloh0:
	adrp	x9, _MAX_RELIABLE_COMMANDS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_RELIABLE_COMMANDS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sub	x8, x8, x9
	cmp	x0, x8
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_SV_DropClient
	ldr	x8, [x19, #48]
	str	x8, [x19, #56]
	b	LBB0_9
LBB0_2:
Lloh5:
	adrp	x22, _sv@GOTPAGE
Lloh6:
	ldr	x22, [x22, _sv@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, w21
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x19, #40]
	ldr	w8, [x8]
	cbnz	w8, LBB0_5
; %bb.4:
	ldr	w0, [x19, #32]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strstr
	cbz	w0, LBB0_17
LBB0_5:
Lloh9:
	adrp	x21, _clc_EOF@GOTPAGE
Lloh10:
	ldr	x21, [x21, _clc_EOF@GOTPAGEOFF]
Lloh11:
	adrp	x22, _clc_clientCommand@GOTPAGE
Lloh12:
	ldr	x22, [x22, _clc_clientCommand@GOTPAGEOFF]
Lloh13:
	adrp	x23, _CS_ZOMBIE@GOTPAGE
Lloh14:
	ldr	x23, [x23, _CS_ZOMBIE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_MSG_ReadByte
	ldr	w8, [x21]
	ldr	w9, [x22]
	cmp	w0, w8
	ccmp	w0, w9, #0, ne
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_SV_ClientCommand
	cbz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_9:
	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_10:
Lloh15:
	adrp	x9, _clc_move@GOTPAGE
Lloh16:
	ldr	x9, [x9, _clc_move@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ne	LBB0_12
; %bb.11:
Lloh18:
	adrp	x8, _qtrue@GOTPAGE
Lloh19:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh20:
	adrp	x9, _clc_moveNoDelta@GOTPAGE
Lloh21:
	ldr	x9, [x9, _clc_moveNoDelta@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ne	LBB0_15
; %bb.13:
Lloh23:
	adrp	x8, _qfalse@GOTPAGE
Lloh24:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	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	_SV_UserMove
LBB0_15:
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.16:
Lloh25:
	adrp	x8, _svs@GOTPAGE
Lloh26:
	ldr	x8, [x8, _svs@GOTPAGEOFF]
Lloh27:
	ldrsw	x8, [x8]
	sub	x1, x19, x8, lsl #6
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
	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	_Com_Printf
LBB0_17:
	ldp	w9, w8, [x22]
	cmp	w8, w21
	ccmp	w9, w21, #4, le
	b.gt	LBB0_20
; %bb.18:
	ldp	x9, x8, [x19, #16]
	cmp	x8, x9
	b.ls	LBB0_9
; %bb.19:
	ldr	w1, [x19, #8]
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Com_DPrintf
	mov	x0, x19
	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	_SV_SendClientGameState
LBB0_20:
	ldr	w1, [x19, #8]
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	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	_Com_DPrintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DEBUG: illegible client message"

	.comm	_MAX_RELIABLE_COMMANDS,8,3      ; @MAX_RELIABLE_COMMANDS
	.comm	_sv,8,2                         ; @sv
l_.str.1:                               ; @.str.1
	.asciz	"nextdl"

l_.str.2:                               ; @.str.2
	.asciz	"%s : ignoring pre map_restart / outdated client message\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s : dropped gamestate, resending\n"

	.comm	_clc_EOF,4,2                    ; @clc_EOF
	.comm	_clc_clientCommand,4,2          ; @clc_clientCommand
	.comm	_CS_ZOMBIE,8,3                  ; @CS_ZOMBIE
	.comm	_clc_move,4,2                   ; @clc_move
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_clc_moveNoDelta,4,2            ; @clc_moveNoDelta
	.comm	_qfalse,4,2                     ; @qfalse
l_.str.4:                               ; @.str.4
	.asciz	"WARNING: bad command byte for client %i\n"

	.comm	_svs,4,2                        ; @svs
.subsections_via_symbols
