	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_clc@GOTPCREL(%rip), %r15
	movq	_qfalse@GOTPCREL(%rip), %rbx
	cmpq	$0, 32(%r15)
	jne	LBB0_17
## %bb.1:
	movq	_cls@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_CA_CINEMATIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.2:
	movq	24(%r15), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	8(%r14), %eax
	subl	(%r15), %eax
	cmpl	$50, %eax
	jge	LBB0_7
	jmp	LBB0_17
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:
	movl	8(%r14), %eax
	subl	(%r15), %eax
	cmpl	$1000, %eax                     ## imm = 0x3E8
	jl	LBB0_17
LBB0_7:
	movq	16(%r15), %rdi
	movq	_NA_LOOPBACK@GOTPCREL(%rip), %rax
	movq	_qtrue@GOTPCREL(%rip), %rbx
	cmpq	(%rax), %rdi
	je	LBB0_17
## %bb.8:
	callq	_Sys_IsLANAddress
	testq	%rax, %rax
	jne	LBB0_17
## %bb.9:
	movq	_cl_maxpackets@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %eax
	cmpl	$15, %eax
	jge	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_13
LBB0_11:
	cmpl	$126, %eax
	jb	LBB0_14
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
LBB0_13:
	leaq	L_.str(%rip), %rdi
	callq	_Cvar_Set
LBB0_14:
	movslq	8(%r15), %rax
	decq	%rax
	movq	_PACKET_MASK@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	andq	%rax, %rcx
	movl	8(%r14), %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_15
## %bb.16:
	movq	_qfalse@GOTPCREL(%rip), %rbx
	jmp	LBB0_17
LBB0_15:
	movq	_qtrue@GOTPCREL(%rip), %rbx
LBB0_17:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,40,3                       ## @clc
	.comm	_cls,16,3                       ## @cls
	.comm	_CA_CINEMATIC,8,3               ## @CA_CINEMATIC
	.comm	_qfalse,4,2                     ## @qfalse
	.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_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	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
Lloh0:
	adrp	x21, _clc@GOTPAGE
Lloh1:
	ldr	x21, [x21, _clc@GOTPAGEOFF]
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_2
LBB0_1:
Lloh2:
	adrp	x22, _qfalse@GOTPAGE
Lloh3:
	ldr	x22, [x22, _qfalse@GOTPAGEOFF]
	b	LBB0_16
LBB0_2:
Lloh4:
	adrp	x20, _cls@GOTPAGE
Lloh5:
	ldr	x20, [x20, _cls@GOTPAGEOFF]
Lloh6:
	adrp	x9, _CA_CINEMATIC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CA_CINEMATIC@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x19, _qfalse@GOTPAGE
Lloh10:
	ldr	x19, [x19, _qfalse@GOTPAGEOFF]
	mov	x22, x19
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.3:
	ldr	x9, [x21, #24]
	ldr	x9, [x9]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	w8, [x20, #8]
	ldr	w9, [x21]
	sub	w8, w8, w9
	cmp	w8, #50
	b.lt	LBB0_1
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x9, _CA_ACTIVE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CA_ACTIVE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _CA_PRIMED@GOTPAGE
Lloh15:
	ldr	x10, [x10, _CA_PRIMED@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x20, #8]
	ldr	w9, [x21]
	sub	w8, w8, w9
	cmp	w8, #1000
	b.lt	LBB0_1
LBB0_7:
	ldr	x0, [x21, #16]
Lloh17:
	adrp	x8, _NA_LOOPBACK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NA_LOOPBACK@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:
Lloh20:
	adrp	x22, _qtrue@GOTPAGE
Lloh21:
	ldr	x22, [x22, _qtrue@GOTPAGEOFF]
	b	LBB0_16
LBB0_9:
	bl	_Sys_IsLANAddress
Lloh22:
	adrp	x22, _qtrue@GOTPAGE
Lloh23:
	ldr	x22, [x22, _qtrue@GOTPAGEOFF]
	cbnz	x0, LBB0_16
; %bb.10:
Lloh24:
	adrp	x23, _cl_maxpackets@GOTPAGE
Lloh25:
	ldr	x23, [x23, _cl_maxpackets@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w8, [x8]
	cmp	w8, #15
	b.ge	LBB0_12
; %bb.11:
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_12:
	cmp	w8, #126
	b.lo	LBB0_15
; %bb.13:
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_14:
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Cvar_Set
LBB0_15:
	ldr	w8, [x21, #8]
	sub	w8, w8, #1
Lloh32:
	adrp	x9, _PACKET_MASK@GOTPAGE
Lloh33:
	ldr	x9, [x9, _PACKET_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	and	w8, w8, w9
	ldr	w9, [x20, #8]
Lloh35:
	adrp	x10, _cl@GOTPAGE
Lloh36:
	ldr	x10, [x10, _cl@GOTPAGEOFF]
Lloh37:
	ldr	x10, [x10]
	ldr	w8, [x10, w8, sxtw #2]
	ldr	x10, [x23]
	ldr	w10, [x10]
	mov	w11, #1000
	sdiv	w10, w11, w10
	sub	w8, w9, w8
	cmp	w8, w10
	csel	x22, x19, x22, lt
LBB0_16:
	ldr	w0, [x22]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,40,3                       ; @clc
	.comm	_cls,16,3                       ; @cls
	.comm	_CA_CINEMATIC,8,3               ; @CA_CINEMATIC
	.comm	_qfalse,4,2                     ; @qfalse
	.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_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
