	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_CheckTimeouts
_SV_CheckTimeouts:                      ## @SV_CheckTimeouts
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_sv_maxclients@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jle	LBB0_15
## %bb.1:
	movq	_svs@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movq	_sv_timeout@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imull	$-1000, (%rcx), %ecx            ## imm = 0xFC18
	addl	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_sv_zombietime@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imull	$-1000, (%rcx), %r14d           ## imm = 0xFC18
	addl	%eax, %r14d
	movq	8(%r13), %rbx
	movl	$1, %r15d
	movq	_CS_ZOMBIE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	cmpl	%eax, %ecx
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, (%rbx)
	movl	%eax, %ecx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r14d, %ecx
	jge	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r15), %esi
	leaq	L_.str(%rip), %rdi
	callq	_Com_DPrintf
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_CS_CONNECTED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jl	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	jge	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 16(%rbx)
	cmpl	$5, %eax
	jl	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_SV_DropClient
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_CS_FREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, 16(%rbx)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_sv_maxclients@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rbx
	movl	(%r13), %eax
	incl	%r15d
	jmp	LBB0_2
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svs,16,3                       ## @svs
	.comm	_sv_timeout,8,3                 ## @sv_timeout
	.comm	_sv_zombietime,8,3              ## @sv_zombietime
	.comm	_sv_maxclients,8,3              ## @sv_maxclients
	.comm	_CS_ZOMBIE,8,3                  ## @CS_ZOMBIE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Going from CS_ZOMBIE to CS_FREE for client %d\n"

	.comm	_CS_FREE,8,3                    ## @CS_FREE
	.comm	_CS_CONNECTED,8,3               ## @CS_CONNECTED
L_.str.1:                               ## @.str.1
	.asciz	"timed out"

	.no_dead_strip	_SV_CheckTimeouts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_CheckTimeouts
_SV_CheckTimeouts:                      ; @SV_CheckTimeouts
	.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
Lloh0:
	adrp	x22, _sv_maxclients@GOTPAGE
Lloh1:
	ldr	x22, [x22, _sv_maxclients@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
Lloh2:
	adrp	x23, _svs@GOTPAGE
Lloh3:
	ldr	x23, [x23, _svs@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh4:
	adrp	x9, _sv_timeout@GOTPAGE
Lloh5:
	ldr	x9, [x9, _sv_timeout@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	w9, [x9]
	mov	w10, #-1000
	madd	w24, w9, w10, w8
Lloh7:
	adrp	x9, _sv_zombietime@GOTPAGE
Lloh8:
	ldr	x9, [x9, _sv_zombietime@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	w9, [x9]
	madd	w25, w9, w10, w8
	ldr	x19, [x23, #8]
	mov	w26, #1
Lloh10:
	adrp	x27, _CS_ZOMBIE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _CS_ZOMBIE@GOTPAGEOFF]
Lloh12:
	adrp	x28, _CS_CONNECTED@GOTPAGE
Lloh13:
	ldr	x28, [x28, _CS_CONNECTED@GOTPAGEOFF]
Lloh14:
	adrp	x20, _CS_FREE@GOTPAGE
Lloh15:
	ldr	x20, [x20, _CS_FREE@GOTPAGEOFF]
Lloh16:
	adrp	x21, l_.str@PAGE
Lloh17:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19]
	cmp	w9, w8
	b.le	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w8, [x19]
	mov	x9, x8
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	ldr	x10, [x27]
	cmp	x8, x10
	ccmp	w9, w25, #0, eq
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x28]
	cmp	x8, x10
	ccmp	w9, w24, #0, ge
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [x19, #16]
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	w1, w26, #1
	mov	x0, x21
	bl	_Com_DPrintf
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #16]
	add	w9, w8, #1
	str	w9, [x19, #16]
	cmp	w8, #5
	b.lt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_SV_DropClient
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20]
	str	x8, [x19, #8]
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22]
	ldr	w8, [x8]
	cmp	w26, w8
	b.ge	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #24
	ldr	w8, [x23]
	add	w26, w26, #1
	b	LBB0_2
LBB0_13:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_svs,16,3                       ; @svs
	.comm	_sv_timeout,8,3                 ; @sv_timeout
	.comm	_sv_zombietime,8,3              ; @sv_zombietime
	.comm	_sv_maxclients,8,3              ; @sv_maxclients
	.comm	_CS_ZOMBIE,8,3                  ; @CS_ZOMBIE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Going from CS_ZOMBIE to CS_FREE for client %d\n"

	.comm	_CS_FREE,8,3                    ; @CS_FREE
	.comm	_CS_CONNECTED,8,3               ; @CS_CONNECTED
l_.str.1:                               ; @.str.1
	.asciz	"timed out"

	.no_dead_strip	_SV_CheckTimeouts
.subsections_via_symbols
