	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_ParseServerMessage          ## -- Begin function CL_ParseServerMessage
	.p2align	4, 0x90
_CL_ParseServerMessage:                 ## @CL_ParseServerMessage
	.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, %r12
	movq	_cl_shownet@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax), %eax
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r12), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_4
LBB0_2:
	jle	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
LBB0_4:
	movq	%r12, %rdi
	callq	_MSG_Bitstream
	movq	%r12, %rdi
	callq	_MSG_ReadLong
	movq	_clc@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rdx
	movq	_MAX_RELIABLE_COMMANDS@GOTPCREL(%rip), %rsi
	movq	%rdx, %rdi
	subq	(%rsi), %rdi
	cmpq	%rdi, %rax
	cmovlq	%rdx, %rax
	movq	%rax, (%rcx)
	movq	8(%r12), %rax
	cmpq	(%r12), %rax
	jle	LBB0_5
LBB0_19:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Error                      ## TAILCALL
LBB0_5:
	movq	_svc_EOF@GOTPCREL(%rip), %r15
	leaq	LJTI0_0(%rip), %r14
	jmp	LBB0_6
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_CL_ParseDownload
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r12), %rax
	cmpq	(%r12), %rax
	jg	LBB0_19
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_MSG_ReadByte
	cmpl	(%r15), %eax
	je	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %ebx
	movq	(%r13), %rax
	cmpl	$2, (%rax)
	jl	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_svc_strings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_SHOWNET
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r12), %rsi
	decq	%rsi
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_Com_Printf
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r14,%rbx,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_CL_ParseSnapshot
	jmp	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_Com_Error
	jmp	LBB0_18
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_CL_ParseCommandString
	jmp	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_CL_ParseGamestate
	jmp	LBB0_18
LBB0_20:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SHOWNET                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_14
	.long	L0_0_set_18
	.long	L0_0_set_15
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_cl_shownet,8,3                 ## @cl_shownet
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i "

L_.str.1:                               ## @.str.1
	.asciz	"------------------\n"

	.comm	_clc,16,3                       ## @clc
	.comm	_MAX_RELIABLE_COMMANDS,8,3      ## @MAX_RELIABLE_COMMANDS
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
L_.str.2:                               ## @.str.2
	.asciz	"CL_ParseServerMessage: read past end of server message"

	.comm	_svc_EOF,4,2                    ## @svc_EOF
L_.str.3:                               ## @.str.3
	.asciz	"END OF MESSAGE"

	.comm	_svc_strings,8,3                ## @svc_strings
L_.str.4:                               ## @.str.4
	.asciz	"%3i:BAD CMD %i\n"

L_.str.5:                               ## @.str.5
	.asciz	"CL_ParseServerMessage: Illegible server message\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_ParseServerMessage          ; -- Begin function CL_ParseServerMessage
	.p2align	2
_CL_ParseServerMessage:                 ; @CL_ParseServerMessage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x23, _cl_shownet@GOTPAGE
Lloh1:
	ldr	x23, [x23, _cl_shownet@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.3:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_4:
	bl	_Com_Printf
LBB0_5:
	mov	x0, x19
	bl	_MSG_Bitstream
	mov	x0, x19
	bl	_MSG_ReadLong
Lloh6:
	adrp	x8, _clc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
	ldr	x9, [x8, #8]
Lloh8:
	adrp	x10, _MAX_RELIABLE_COMMANDS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MAX_RELIABLE_COMMANDS@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	sub	x10, x9, x10
	cmp	x0, x10
	csel	x9, x9, x0, lt
	str	x9, [x8]
	ldp	x9, x8, [x19]
	cmp	x8, x9
	b.le	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_Com_Error
LBB0_7:
Lloh16:
	adrp	x24, _svc_EOF@GOTPAGE
Lloh17:
	ldr	x24, [x24, _svc_EOF@GOTPAGEOFF]
Lloh18:
	adrp	x25, _svc_strings@GOTPAGE
Lloh19:
	ldr	x25, [x25, _svc_strings@GOTPAGEOFF]
Lloh20:
	adrp	x20, l_.str.4@PAGE
Lloh21:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh22:
	adrp	x26, _ERR_DROP@GOTPAGE
Lloh23:
	ldr	x26, [x26, _ERR_DROP@GOTPAGEOFF]
Lloh24:
	adrp	x21, l_.str.5@PAGE
Lloh25:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh26:
	adrp	x27, lJTI0_0@PAGE
Lloh27:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_CL_ParseDownload
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldp	x9, x8, [x19]
	cmp	x8, x9
	b.gt	LBB0_6
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_MSG_ReadByte
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, x0
	ldr	x8, [x23]
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x25]
	ldr	x1, [x8, w22, sxtw #3]
	cbz	x1, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_SHOWNET
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19, #8]
	sub	x8, x8, #1
	stp	x8, x22, [sp]
	mov	x0, x20
	bl	_Com_Printf
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	w8, w22, #128
	cmp	w8, #4
	b.hi	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	adr	x9, LBB0_8
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_CL_ParseSnapshot
	b	LBB0_9
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x26]
	mov	x1, x21
	bl	_Com_Error
	b	LBB0_9
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_CL_ParseCommandString
	b	LBB0_9
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_CL_ParseGamestate
	b	LBB0_9
LBB0_21:
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_SHOWNET
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_17-LBB0_8)>>2
	.byte	(LBB0_19-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_20-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
                                        ; -- End function
	.comm	_cl_shownet,8,3                 ; @cl_shownet
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i "

l_.str.1:                               ; @.str.1
	.asciz	"------------------\n"

	.comm	_clc,16,3                       ; @clc
	.comm	_MAX_RELIABLE_COMMANDS,8,3      ; @MAX_RELIABLE_COMMANDS
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
l_.str.2:                               ; @.str.2
	.asciz	"CL_ParseServerMessage: read past end of server message"

	.comm	_svc_EOF,4,2                    ; @svc_EOF
l_.str.3:                               ; @.str.3
	.asciz	"END OF MESSAGE"

	.comm	_svc_strings,8,3                ; @svc_strings
l_.str.4:                               ; @.str.4
	.asciz	"%3i:BAD CMD %i\n"

l_.str.5:                               ; @.str.5
	.asciz	"CL_ParseServerMessage: Illegible server message\n"

.subsections_via_symbols
