	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_SendClientGameState         ## -- Begin function SV_SendClientGameState
	.p2align	4, 0x90
_SV_SendClientGameState:                ## @SV_SendClientGameState
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_MSGLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	44(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_Com_DPrintf
	movl	44(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_Com_DPrintf
	movq	_CS_PRIMED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	$0, 32(%rbx)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	16(%rbx), %eax
	movl	%eax, 20(%rbx)
	leal	(,%r14,4), %edx
	leaq	-52(%rbp), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_MSG_Init
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_MSG_WriteLong
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SV_UpdateServerCommandsToClient
	movq	_svc_gamestate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_MSG_WriteByte
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_MSG_WriteLong
	movq	_MAX_CONFIGSTRINGS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	movq	_sv@GOTPCREL(%rip), %r14
	movq	_svc_configstring@GOTPCREL(%rip), %r13
	leaq	-52(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rcx
	movq	(%rcx,%rbx,8), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_MSG_WriteByte
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_MSG_WriteShort
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_MSG_WriteBigString
	movl	(%r12), %eax
	jmp	LBB0_4
LBB0_5:
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_Com_Memset
	movq	_MAX_GENTITIES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	xorl	%r14d, %r14d
	movq	_sv@GOTPCREL(%rip), %r13
	leaq	-52(%rbp), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	addq	$4, %r14
	cmpq	%rcx, %r15
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rbx
	cmpl	$0, (%rbx,%r14)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	addq	%r14, %rbx
	movq	_svc_baseline@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_MSG_WriteByte
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_MSG_WriteDeltaEntity
	movq	_MAX_GENTITIES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_10:
	movq	_svc_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %r14
	movq	%r14, %rdi
	callq	_MSG_WriteByte
	movq	_svs@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	negq	%rax
	leaq	(%rax,%rax,2), %rsi
	shlq	$4, %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_MSG_WriteLong
	movq	_sv@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_MSG_WriteLong
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_SV_SendMessageToClient
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MSGLEN,4,2                 ## @MAX_MSGLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SV_SendClientGameState() for %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Going from CS_CONNECTED to CS_PRIMED for %s\n"

	.comm	_CS_PRIMED,4,2                  ## @CS_PRIMED
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_svc_gamestate,4,2              ## @svc_gamestate
	.comm	_MAX_CONFIGSTRINGS,4,2          ## @MAX_CONFIGSTRINGS
	.comm	_sv,24,3                        ## @sv
	.comm	_svc_configstring,4,2           ## @svc_configstring
	.comm	_MAX_GENTITIES,4,2              ## @MAX_GENTITIES
	.comm	_svc_baseline,4,2               ## @svc_baseline
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_svc_EOF,4,2                    ## @svc_EOF
	.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_SendClientGameState         ; -- Begin function SV_SendClientGameState
	.p2align	2
_SV_SendClientGameState:                ; @SV_SendClientGameState
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
	mov	x19, x0
	mov	x21, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_MSGLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_MSGLEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	lsl	x8, x22, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w1, [x0, #44]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_DPrintf
	ldr	w1, [x19, #44]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_DPrintf
Lloh12:
	adrp	x8, _CS_PRIMED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CS_PRIMED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh15:
	adrp	x8, _qfalse@GOTPAGE
Lloh16:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	str	xzr, [x19, #32]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	stp	w9, w8, [x19, #20]
	lsl	w2, w22, #2
	sub	x0, x29, #100
	mov	x1, x20
	bl	_MSG_Init
	ldr	x1, [x19, #8]
	sub	x0, x29, #100
	bl	_MSG_WriteLong
	sub	x1, x29, #100
	mov	x0, x19
	bl	_SV_UpdateServerCommandsToClient
Lloh18:
	adrp	x8, _svc_gamestate@GOTPAGE
Lloh19:
	ldr	x8, [x8, _svc_gamestate@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	sub	x0, x29, #100
	bl	_MSG_WriteByte
	ldr	x1, [x19]
	sub	x0, x29, #100
	bl	_MSG_WriteLong
Lloh21:
	adrp	x23, _MAX_CONFIGSTRINGS@GOTPAGE
Lloh22:
	ldr	x23, [x23, _MAX_CONFIGSTRINGS@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh23:
	adrp	x22, _sv@GOTPAGE
Lloh24:
	ldr	x22, [x22, _sv@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, #0
Lloh25:
	adrp	x24, _svc_configstring@GOTPAGE
Lloh26:
	ldr	x24, [x24, _svc_configstring@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #16]
	ldr	x9, [x9, x20, lsl #3]
	ldr	x9, [x9]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24]
	sub	x0, x29, #100
	bl	_MSG_WriteByte
	sub	x0, x29, #100
	mov	x1, x20
	bl	_MSG_WriteShort
	ldr	x8, [x22, #16]
	ldr	x1, [x8, x20, lsl #3]
	sub	x0, x29, #100
	bl	_MSG_WriteBigString
	ldr	w8, [x23]
	b	LBB0_2
LBB0_5:
	sub	x0, x29, #96
	mov	w1, #0
	mov	w2, #4
	bl	_Com_Memset
Lloh27:
	adrp	x23, _MAX_GENTITIES@GOTPAGE
Lloh28:
	ldr	x23, [x23, _MAX_GENTITIES@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x24, #0
	mov	x25, #0
Lloh29:
	adrp	x26, _svc_baseline@GOTPAGE
Lloh30:
	ldr	x26, [x26, _svc_baseline@GOTPAGEOFF]
Lloh31:
	adrp	x27, _qtrue@GOTPAGE
Lloh32:
	ldr	x27, [x27, _qtrue@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #1
	add	x24, x24, #4
	cmp	x25, w8, sxtw
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #8]
	add	x20, x9, x24
	ldr	w9, [x20]
	cbz	w9, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x26]
	sub	x0, x29, #100
	bl	_MSG_WriteByte
	ldr	w3, [x27]
	sub	x0, x29, #100
	sub	x1, x29, #96
	mov	x2, x20
	bl	_MSG_WriteDeltaEntity
	ldr	w8, [x23]
	b	LBB0_7
LBB0_10:
Lloh33:
	adrp	x8, _svc_EOF@GOTPAGE
Lloh34:
	ldr	x8, [x8, _svc_EOF@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	sub	x0, x29, #100
	bl	_MSG_WriteByte
Lloh36:
	adrp	x8, _svs@GOTPAGE
Lloh37:
	ldr	x8, [x8, _svs@GOTPAGEOFF]
Lloh38:
	ldrsw	x8, [x8]
	mov	w9, #48
	mneg	x8, x8, x9
	add	x1, x19, x8
	sub	x0, x29, #100
	bl	_MSG_WriteLong
	ldr	x1, [x22]
	sub	x0, x29, #100
	bl	_MSG_WriteLong
	sub	x0, x29, #100
	mov	x1, x19
	bl	_SV_SendMessageToClient
	mov	sp, x21
	ldur	x8, [x29, #-88]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MSGLEN,4,2                 ; @MAX_MSGLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SV_SendClientGameState() for %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Going from CS_CONNECTED to CS_PRIMED for %s\n"

	.comm	_CS_PRIMED,4,2                  ; @CS_PRIMED
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_svc_gamestate,4,2              ; @svc_gamestate
	.comm	_MAX_CONFIGSTRINGS,4,2          ; @MAX_CONFIGSTRINGS
	.comm	_sv,24,3                        ; @sv
	.comm	_svc_configstring,4,2           ; @svc_configstring
	.comm	_MAX_GENTITIES,4,2              ; @MAX_GENTITIES
	.comm	_svc_baseline,4,2               ; @svc_baseline
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_svc_EOF,4,2                    ; @svc_EOF
	.comm	_svs,4,2                        ; @svs
.subsections_via_symbols
