	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_CheckTimeout                ## -- Begin function CL_CheckTimeout
	.p2align	4, 0x90
_CL_CheckTimeout:                       ## @CL_CheckTimeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_CL_CheckPaused
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_sv_paused@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
LBB0_2:
	movq	_clc@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_CA_CONNECTED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_7
## %bb.3:
	movq	_CA_CINEMATIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.4:
	movq	_cls@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	8(%rax), %ecx
	movq	_cl_timeout@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	imull	$1000, (%rax), %eax             ## imm = 0x3E8
	cmpl	%eax, %ecx
	jle	LBB0_7
## %bb.5:
	movq	_cl@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	cmpl	$5, %ecx
	jl	LBB0_8
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	_Com_Printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_CL_Disconnect                  ## TAILCALL
LBB0_7:
	movq	_cl@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sv_paused,8,3                  ## @sv_paused
	.comm	_clc,16,3                       ## @clc
	.comm	_CA_CONNECTED,8,3               ## @CA_CONNECTED
	.comm	_CA_CINEMATIC,8,3               ## @CA_CINEMATIC
	.comm	_cls,4,2                        ## @cls
	.comm	_cl_timeout,8,3                 ## @cl_timeout
	.comm	_cl,4,2                         ## @cl
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nServer connection timed out.\n"

	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_CheckTimeout                ; -- Begin function CL_CheckTimeout
	.p2align	2
_CL_CheckTimeout:                       ; @CL_CheckTimeout
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_CL_CheckPaused
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _sv_paused@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sv_paused@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_6
LBB0_2:
Lloh3:
	adrp	x8, _clc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh5:
	adrp	x10, _CA_CONNECTED@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CA_CONNECTED@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x11, _CA_CINEMATIC@GOTPAGE
Lloh9:
	ldr	x11, [x11, _CA_CINEMATIC@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ge
	b.eq	LBB0_6
; %bb.3:
Lloh11:
	adrp	x9, _cls@GOTPAGE
Lloh12:
	ldr	x9, [x9, _cls@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	ldr	w8, [x8, #8]
Lloh14:
	adrp	x10, _cl_timeout@GOTPAGE
Lloh15:
	ldr	x10, [x10, _cl_timeout@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	ldr	w10, [x10]
	mov	w11, #1000
	mul	w10, w10, w11
	sub	w8, w9, w8
	cmp	w8, w10
	b.le	LBB0_6
; %bb.4:
Lloh17:
	adrp	x8, _cl@GOTPAGE
Lloh18:
	ldr	x8, [x8, _cl@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	cmp	w9, #5
	b.lt	LBB0_7
; %bb.5:
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
Lloh21:
	adrp	x8, _qtrue@GOTPAGE
Lloh22:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_CL_Disconnect
LBB0_6:
Lloh24:
	adrp	x8, _cl@GOTPAGE
Lloh25:
	ldr	x8, [x8, _cl@GOTPAGEOFF]
Lloh26:
	str	wzr, [x8]
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_sv_paused,8,3                  ; @sv_paused
	.comm	_clc,16,3                       ; @clc
	.comm	_CA_CONNECTED,8,3               ; @CA_CONNECTED
	.comm	_CA_CINEMATIC,8,3               ; @CA_CINEMATIC
	.comm	_cls,4,2                        ; @cls
	.comm	_cl_timeout,8,3                 ; @cl_timeout
	.comm	_cl,4,2                         ; @cl
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nServer connection timed out.\n"

	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
