	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_ReadyToSendPacket           ## -- Begin function CL_ReadyToSendPacket
	.p2align	4, 0x90
_CL_ReadyToSendPacket:                  ## @CL_ReadyToSendPacket
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_clc@GOTPCREL(%rip), %r14
	movq	_qfalse@GOTPCREL(%rip), %rbx
	cmpq	$0, 40(%r14)
	jne	LBB0_18
## %bb.1:
	movq	(%r14), %rax
	movq	_CA_CINEMATIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.2:
	movq	32(%r14), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_cls@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	8(%r14), %eax
	cmpl	$50, %eax
	jge	LBB0_7
	jmp	LBB0_18
LBB0_4:
	movq	_CA_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	movq	_CA_PRIMED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	_cls@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	8(%r14), %eax
	cmpl	$1000, %eax                     ## imm = 0x3E8
	jl	LBB0_18
LBB0_7:
	movq	24(%r14), %rdi
	movq	_NA_LOOPBACK@GOTPCREL(%rip), %rax
	movq	_qtrue@GOTPCREL(%rip), %rbx
	cmpq	(%rax), %rdi
	je	LBB0_18
## %bb.8:
	movq	_cl_lanForcePackets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	callq	_Sys_IsLANAddress
	testq	%rax, %rax
	jne	LBB0_18
LBB0_10:
	movq	_cl_maxpackets@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %eax
	cmpl	$15, %eax
	jge	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_14
LBB0_12:
	cmpl	$126, %eax
	jb	LBB0_15
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
LBB0_14:
	leaq	L_.str(%rip), %rdi
	callq	_Cvar_Set
LBB0_15:
	movslq	16(%r14), %rax
	decq	%rax
	movq	_PACKET_MASK@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	andq	%rax, %rcx
	movq	_cls@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_cl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	(%rax,%rcx,4), %esi
	movq	(%rbx), %rcx
	movl	$1000, %eax                     ## imm = 0x3E8
	xorl	%edx, %edx
	idivl	(%rcx)
	cmpl	%eax, %esi
	jge	LBB0_16
## %bb.17:
	movq	_qfalse@GOTPCREL(%rip), %rbx
	jmp	LBB0_18
LBB0_16:
	movq	_qtrue@GOTPCREL(%rip), %rbx
LBB0_18:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,48,3                       ## @clc
	.comm	_CA_CINEMATIC,8,3               ## @CA_CINEMATIC
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_cls,4,2                        ## @cls
	.comm	_CA_ACTIVE,8,3                  ## @CA_ACTIVE
	.comm	_CA_PRIMED,8,3                  ## @CA_PRIMED
	.comm	_NA_LOOPBACK,8,3                ## @NA_LOOPBACK
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_cl_lanForcePackets,8,3         ## @cl_lanForcePackets
	.comm	_cl_maxpackets,8,3              ## @cl_maxpackets
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cl_maxpackets"

L_.str.1:                               ## @.str.1
	.asciz	"15"

L_.str.2:                               ## @.str.2
	.asciz	"125"

	.comm	_PACKET_MASK,4,2                ## @PACKET_MASK
	.comm	_cl,8,3                         ## @cl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_ReadyToSendPacket           ; -- Begin function CL_ReadyToSendPacket
	.p2align	2
_CL_ReadyToSendPacket:                  ; @CL_ReadyToSendPacket
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _clc@GOTPAGE
Lloh1:
	ldr	x20, [x20, _clc@GOTPAGEOFF]
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_2
LBB0_1:
Lloh2:
	adrp	x21, _qfalse@GOTPAGE
Lloh3:
	ldr	x21, [x21, _qfalse@GOTPAGEOFF]
	b	LBB0_17
LBB0_2:
Lloh4:
	adrp	x9, _CA_CINEMATIC@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CA_CINEMATIC@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh6:
	ldr	x9, [x9]
Lloh7:
	adrp	x19, _qfalse@GOTPAGE
Lloh8:
	ldr	x19, [x19, _qfalse@GOTPAGEOFF]
	mov	x21, x19
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.3:
	ldr	x9, [x20, #32]
	ldr	x9, [x9]
	cbz	x9, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _cls@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cls@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	sub	w8, w8, w9
	cmp	w8, #50
	b.lt	LBB0_1
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x9, _CA_ACTIVE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CA_ACTIVE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _CA_PRIMED@GOTPAGE
Lloh16:
	ldr	x10, [x10, _CA_PRIMED@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _cls@GOTPAGE
Lloh19:
	ldr	x8, [x8, _cls@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	sub	w8, w8, w9
	cmp	w8, #1000
	b.lt	LBB0_1
LBB0_7:
	ldr	x0, [x20, #24]
Lloh21:
	adrp	x8, _NA_LOOPBACK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NA_LOOPBACK@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x21, _qtrue@GOTPAGE
Lloh25:
	ldr	x21, [x21, _qtrue@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.8:
Lloh26:
	adrp	x8, _cl_lanForcePackets@GOTPAGE
Lloh27:
	ldr	x8, [x8, _cl_lanForcePackets@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.9:
	bl	_Sys_IsLANAddress
	cbz	x0, LBB0_11
; %bb.10:
Lloh29:
	adrp	x21, _qtrue@GOTPAGE
Lloh30:
	ldr	x21, [x21, _qtrue@GOTPAGEOFF]
	b	LBB0_17
LBB0_11:
Lloh31:
	adrp	x22, _cl_maxpackets@GOTPAGE
Lloh32:
	ldr	x22, [x22, _cl_maxpackets@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w8, [x8]
	cmp	w8, #15
	b.ge	LBB0_13
; %bb.12:
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_13:
	cmp	w8, #126
	b.lo	LBB0_16
; %bb.14:
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_15:
Lloh37:
	adrp	x0, l_.str@PAGE
Lloh38:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Cvar_Set
LBB0_16:
	ldr	w8, [x20, #16]
Lloh39:
	adrp	x9, _PACKET_MASK@GOTPAGE
Lloh40:
	ldr	x9, [x9, _PACKET_MASK@GOTPAGEOFF]
	sub	w8, w8, #1
Lloh41:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh42:
	adrp	x9, _cls@GOTPAGE
Lloh43:
	ldr	x9, [x9, _cls@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
Lloh45:
	adrp	x10, _cl@GOTPAGE
Lloh46:
	ldr	x10, [x10, _cl@GOTPAGEOFF]
Lloh47:
	ldr	x10, [x10]
	ldr	w8, [x10, w8, sxtw #2]
	ldr	x10, [x22]
	ldr	w10, [x10]
	mov	w11, #1000
	sdiv	w10, w11, w10
	sub	w8, w9, w8
	cmp	w8, w10
	csel	x21, x19, x21, lt
LBB0_17:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,48,3                       ; @clc
	.comm	_CA_CINEMATIC,8,3               ; @CA_CINEMATIC
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_cls,4,2                        ; @cls
	.comm	_CA_ACTIVE,8,3                  ; @CA_ACTIVE
	.comm	_CA_PRIMED,8,3                  ; @CA_PRIMED
	.comm	_NA_LOOPBACK,8,3                ; @NA_LOOPBACK
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_cl_lanForcePackets,8,3         ; @cl_lanForcePackets
	.comm	_cl_maxpackets,8,3              ; @cl_maxpackets
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cl_maxpackets"

l_.str.1:                               ; @.str.1
	.asciz	"15"

l_.str.2:                               ; @.str.2
	.asciz	"125"

	.comm	_PACKET_MASK,4,2                ; @PACKET_MASK
	.comm	_cl,8,3                         ; @cl
.subsections_via_symbols
