	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_SetCGameTime                ## -- Begin function CL_SetCGameTime
	.p2align	4, 0x90
_CL_SetCGameTime:                       ## @CL_SetCGameTime
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cls@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_CA_ACTIVE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_1
LBB0_9:
	movq	_cl@GOTPCREL(%rip), %rbx
	cmpl	$0, 20(%rbx)
	jne	LBB0_11
## %bb.10:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
LBB0_11:
	movq	_sv_paused@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.12:
	movq	_cl_paused@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.13:
	movq	_com_sv_running@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	jne	LBB0_29
LBB0_14:
	movl	16(%rbx), %ecx
	cmpl	(%rbx), %ecx
	jge	LBB0_16
## %bb.15:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_Com_Error
	movl	16(%rbx), %ecx
LBB0_16:
	movl	%ecx, (%rbx)
	movq	_clc@GOTPCREL(%rip), %r12
	movq	16(%r12), %r8
	testq	%r8, %r8
	je	LBB0_18
## %bb.17:
	movq	_cl_freezeDemo@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rdx)
	jne	LBB0_20
LBB0_18:
	movq	_cl_timeNudge@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx), %edx
	cmpl	$30, %edx
	movl	$30, %esi
	cmovll	%edx, %esi
	cmpl	$-29, %esi
	movl	$-30, %edx
	cmovgel	%esi, %edx
	movl	8(%rbx), %eax
	movl	12(%rbx), %edi
	addl	8(%r15), %eax
	movl	%eax, %esi
	subl	%edx, %esi
	cmpl	%edi, %esi
	cmovlel	%edi, %esi
	movl	%esi, 4(%rbx)
	movl	%esi, 12(%rbx)
	addl	$-5, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_20
## %bb.19:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
LBB0_20:
	cmpq	$0, 24(%rbx)
	je	LBB0_22
## %bb.21:
	xorl	%eax, %eax
	callq	_CL_AdjustTimeDelta
	movq	16(%r12), %r8
LBB0_22:
	testq	%r8, %r8
	je	LBB0_29
## %bb.23:
	movq	_cl_timedemo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_27
## %bb.24:
	cmpq	$0, 8(%r12)
	jne	LBB0_26
## %bb.25:
	xorl	%eax, %eax
	callq	_Sys_Milliseconds
	movq	%rax, 8(%r12)
LBB0_26:
	movl	(%r12), %eax
	incl	%eax
	movl	%eax, (%r12)
	imull	$50, %eax, %eax
	addl	4(%r12), %eax
	movl	%eax, 4(%rbx)
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %eax
	cmpl	16(%rbx), %eax
	jl	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	xorl	%eax, %eax
	callq	_CL_ReadDemoMessage
	movq	(%r15), %rax
	cmpq	(%r14), %rax
	je	LBB0_27
	jmp	LBB0_29
LBB0_1:
	movq	_CA_PRIMED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.2:
	movq	_clc@GOTPCREL(%rip), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_6
## %bb.3:
	cmpq	$0, 24(%rax)
	je	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	callq	_CL_ReadDemoMessage
LBB0_6:
	movq	_cl@GOTPCREL(%rip), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_8
## %bb.7:
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
	xorl	%eax, %eax
	callq	_CL_FirstSnapshot
LBB0_8:
	movq	(%r15), %rax
	cmpq	(%r14), %rax
	je	LBB0_9
	jmp	LBB0_29
LBB0_4:
	movq	_qtrue@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
LBB0_29:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cls,16,3                       ## @cls
	.comm	_CA_ACTIVE,8,3                  ## @CA_ACTIVE
	.comm	_CA_PRIMED,8,3                  ## @CA_PRIMED
	.comm	_clc,32,3                       ## @clc
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_cl,40,3                        ## @cl
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CL_SetCGameTime: !cl.snap.valid"

	.comm	_sv_paused,8,3                  ## @sv_paused
	.comm	_cl_paused,8,3                  ## @cl_paused
	.comm	_com_sv_running,8,3             ## @com_sv_running
L_.str.1:                               ## @.str.1
	.asciz	"cl.snap.serverTime < cl.oldFrameServerTime"

	.comm	_cl_freezeDemo,8,3              ## @cl_freezeDemo
	.comm	_cl_timeNudge,8,3               ## @cl_timeNudge
	.comm	_cl_timedemo,8,3                ## @cl_timedemo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_SetCGameTime                ; -- Begin function CL_SetCGameTime
	.p2align	2
_CL_SetCGameTime:                       ; @CL_SetCGameTime
	.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	x19, _cls@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cls@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x20, _CA_ACTIVE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CA_ACTIVE@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_21
LBB0_1:
Lloh4:
	adrp	x21, _cl@GOTPAGE
Lloh5:
	ldr	x21, [x21, _cl@GOTPAGEOFF]
	ldr	w8, [x21, #20]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
LBB0_3:
Lloh11:
	adrp	x8, _sv_paused@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sv_paused@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:
Lloh14:
	adrp	x8, _cl_paused@GOTPAGE
Lloh15:
	ldr	x8, [x8, _cl_paused@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh17:
	adrp	x8, _com_sv_running@GOTPAGE
Lloh18:
	ldr	x8, [x8, _com_sv_running@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_29
LBB0_6:
	ldr	w9, [x21, #16]
	ldr	w8, [x21]
	cmp	w9, w8
	b.ge	LBB0_8
; %bb.7:
Lloh20:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Com_Error
	ldr	w9, [x21, #16]
LBB0_8:
	str	w9, [x21]
Lloh25:
	adrp	x22, _clc@GOTPAGE
Lloh26:
	ldr	x22, [x22, _clc@GOTPAGEOFF]
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_10
; %bb.9:
Lloh27:
	adrp	x10, _cl_freezeDemo@GOTPAGE
Lloh28:
	ldr	x10, [x10, _cl_freezeDemo@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	ldr	x10, [x10]
	cbnz	x10, LBB0_12
LBB0_10:
Lloh30:
	adrp	x10, _cl_timeNudge@GOTPAGE
Lloh31:
	ldr	x10, [x10, _cl_timeNudge@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	ldr	w10, [x10]
	mov	w11, #30
	cmp	w10, #30
	csel	w10, w10, w11, lt
	cmn	w10, #30
	mov	w11, #-30
	csel	w10, w10, w11, gt
	ldr	w11, [x19, #8]
	ldp	w12, w13, [x21, #8]
	add	w11, w12, w11
	sub	w10, w11, w10
	cmp	w10, w13
	csel	w10, w10, w13, gt
	str	w10, [x21, #4]
	str	w10, [x21, #12]
	sub	w9, w9, #5
	cmp	w11, w9
	b.lt	LBB0_12
; %bb.11:
Lloh33:
	adrp	x9, _qtrue@GOTPAGE
Lloh34:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	str	x9, [x21, #32]
LBB0_12:
	ldr	x9, [x21, #24]
	cbz	x9, LBB0_14
; %bb.13:
	bl	_CL_AdjustTimeDelta
	ldr	x8, [x22, #16]
LBB0_14:
	cbz	x8, LBB0_29
; %bb.15:
Lloh36:
	adrp	x8, _cl_timedemo@GOTPAGE
Lloh37:
	ldr	x8, [x8, _cl_timedemo@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.16:
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_18
; %bb.17:
	bl	_Sys_Milliseconds
	str	x0, [x22, #8]
LBB0_18:
	ldp	w8, w9, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	mov	w10, #50
	madd	w8, w8, w10, w9
	str	w8, [x21, #4]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, #4]
	ldr	w9, [x21, #16]
	cmp	w8, w9
	b.lt	LBB0_29
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	bl	_CL_ReadDemoMessage
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_19
	b	LBB0_29
LBB0_21:
Lloh39:
	adrp	x9, _CA_PRIMED@GOTPAGE
Lloh40:
	ldr	x9, [x9, _CA_PRIMED@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.22:
Lloh42:
	adrp	x8, _clc@GOTPAGE
Lloh43:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_25
; %bb.23:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_28
; %bb.24:
	bl	_CL_ReadDemoMessage
LBB0_25:
Lloh44:
	adrp	x8, _cl@GOTPAGE
Lloh45:
	ldr	x8, [x8, _cl@GOTPAGEOFF]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_27
; %bb.26:
Lloh46:
	adrp	x9, _qfalse@GOTPAGE
Lloh47:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	str	x9, [x8, #24]
	bl	_CL_FirstSnapshot
LBB0_27:
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_1
	b	LBB0_29
LBB0_28:
Lloh49:
	adrp	x9, _qtrue@GOTPAGE
Lloh50:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	str	x9, [x8, #24]
LBB0_29:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_cls,16,3                       ; @cls
	.comm	_CA_ACTIVE,8,3                  ; @CA_ACTIVE
	.comm	_CA_PRIMED,8,3                  ; @CA_PRIMED
	.comm	_clc,32,3                       ; @clc
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_cl,40,3                        ; @cl
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CL_SetCGameTime: !cl.snap.valid"

	.comm	_sv_paused,8,3                  ; @sv_paused
	.comm	_cl_paused,8,3                  ; @cl_paused
	.comm	_com_sv_running,8,3             ; @com_sv_running
l_.str.1:                               ; @.str.1
	.asciz	"cl.snap.serverTime < cl.oldFrameServerTime"

	.comm	_cl_freezeDemo,8,3              ; @cl_freezeDemo
	.comm	_cl_timeNudge,8,3               ; @cl_timeNudge
	.comm	_cl_timedemo,8,3                ; @cl_timedemo
.subsections_via_symbols
