	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_CheckForResend              ## -- Begin function CL_CheckForResend
	.p2align	4, 0x90
_CL_CheckForResend:                     ## @CL_CheckForResend
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_INFO_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leal	10(%rbx), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_clc@GOTPCREL(%rip), %r13
	cmpq	$0, 32(%r13)
	jne	LBB0_13
## %bb.1:
	movl	(%r13), %eax
	movl	%eax, %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	jne	LBB0_13
## %bb.2:
	movq	_cls@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, %rdx
	subq	8(%r13), %rdx
	movq	_RETRANSMIT_TIMEOUT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jl	LBB0_13
## %bb.3:
	movq	%rcx, 8(%r13)
	incl	28(%r13)
	cmpl	$129, %eax
	je	LBB0_12
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.5:
	movq	_com_standalone@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_9
## %bb.6:
	movl	20(%r13), %edi
	movq	_NA_IP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_9
## %bb.7:
	callq	_Sys_IsLANAddress
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_CL_RequestAuthorization
LBB0_9:
	movl	16(%r13), %ecx
	movq	_com_gamename@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_Com_sprintf
	movq	_NS_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%r13), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rcx
	callq	_NET_OutOfBandPrint
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	callq	_Cvar_VariableValue
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_CVAR_USERINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Cvar_InfoString
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_Q_strncpyz
	movq	_com_protocol@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rbx
	movq	%rbx, %rdi
	callq	_va
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_Info_SetValueForKey
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_va
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_Info_SetValueForKey
	movl	16(%r13), %esi
	movq	%rbx, %rdi
	callq	_va
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_Info_SetValueForKey
	leaq	L_.str.7(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_Com_sprintf
	movq	_NS_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_strlen
	movl	20(%r13), %esi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_NET_OutOfBandData
	movq	_CVAR_USERINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_cvar_modifiedFlags@GOTPCREL(%rip), %rcx
	andl	%eax, (%rcx)
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.11:
	leaq	L_.str.8(%rip), %rsi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Error                      ## TAILCALL
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INFO_STRING,4,2            ## @MAX_INFO_STRING
	.comm	_clc,40,3                       ## @clc
	.comm	_cls,8,3                        ## @cls
	.comm	_RETRANSMIT_TIMEOUT,8,3         ## @RETRANSMIT_TIMEOUT
	.comm	_com_standalone,8,3             ## @com_standalone
	.comm	_NA_IP,4,2                      ## @NA_IP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getchallenge %d %s"

	.comm	_com_gamename,8,3               ## @com_gamename
	.comm	_NS_CLIENT,4,2                  ## @NS_CLIENT
L_.str.1:                               ## @.str.1
	.asciz	"%s"

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

	.comm	_CVAR_USERINFO,4,2              ## @CVAR_USERINFO
L_.str.3:                               ## @.str.3
	.asciz	"protocol"

L_.str.4:                               ## @.str.4
	.asciz	"%i"

	.comm	_com_protocol,8,3               ## @com_protocol
L_.str.5:                               ## @.str.5
	.asciz	"qport"

L_.str.6:                               ## @.str.6
	.asciz	"challenge"

L_.str.7:                               ## @.str.7
	.asciz	"connect \"%s\""

	.comm	_cvar_modifiedFlags,4,2         ## @cvar_modifiedFlags
	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
L_.str.8:                               ## @.str.8
	.asciz	"CL_CheckForResend: bad clc.state"

	.comm	_com_legacyprotocol,8,3         ## @com_legacyprotocol
	.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_CheckForResend              ; -- Begin function CL_CheckForResend
	.p2align	2
_CL_CheckForResend:                     ; @CL_CheckForResend
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_INFO_STRING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_INFO_STRING@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	add	w20, w22, #10
	mov	x9, x20
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh10:
	adrp	x24, _clc@GOTPAGE
Lloh11:
	ldr	x24, [x24, _clc@GOTPAGEOFF]
	ldr	x8, [x24, #32]
	cbnz	x8, LBB0_11
; %bb.1:
	ldr	w8, [x24]
	and	w9, w8, #0xfffffffe
	cmp	w9, #128
	b.ne	LBB0_11
; %bb.2:
Lloh12:
	adrp	x9, _cls@GOTPAGE
Lloh13:
	ldr	x9, [x9, _cls@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x10, [x24, #8]
Lloh15:
	adrp	x11, _RETRANSMIT_TIMEOUT@GOTPAGE
Lloh16:
	ldr	x11, [x11, _RETRANSMIT_TIMEOUT@GOTPAGEOFF]
Lloh17:
	ldr	x11, [x11]
	sub	x10, x9, x10
	cmp	x10, x11
	b.lt	LBB0_11
; %bb.3:
	str	x9, [x24, #8]
	ldr	w9, [x24, #28]
	add	w9, w9, #1
	str	w9, [x24, #28]
	cmp	w8, #129
	b.eq	LBB0_10
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.5:
Lloh18:
	adrp	x8, _com_standalone@GOTPAGE
Lloh19:
	ldr	x8, [x8, _com_standalone@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_9
; %bb.6:
	ldr	w0, [x24, #20]
Lloh21:
	adrp	x8, _NA_IP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NA_IP@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.7:
	bl	_Sys_IsLANAddress
	cbnz	w0, LBB0_9
; %bb.8:
	bl	_CL_RequestAuthorization
LBB0_9:
Lloh24:
	adrp	x8, _com_gamename@GOTPAGE
Lloh25:
	ldr	x8, [x8, _com_gamename@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	w9, [x24, #16]
	ldr	w8, [x8]
	stp	x9, x8, [sp, #-16]!
Lloh27:
	adrp	x2, l_.str@PAGE
Lloh28:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_Com_sprintf
	add	sp, sp, #16
Lloh29:
	adrp	x8, _NS_CLIENT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NS_CLIENT@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldr	w1, [x24, #20]
Lloh32:
	adrp	x2, l_.str.1@PAGE
Lloh33:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x19
	bl	_NET_OutOfBandPrint
	b	LBB0_11
LBB0_10:
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Cvar_VariableValue
	mov	x23, x0
Lloh36:
	adrp	x25, _CVAR_USERINFO@GOTPAGE
Lloh37:
	ldr	x25, [x25, _CVAR_USERINFO@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_Cvar_InfoString
	mov	x1, x0
	mov	x0, x21
	mov	x2, x22
	bl	_Q_strncpyz
Lloh38:
	adrp	x8, _com_protocol@GOTPAGE
Lloh39:
	ldr	x8, [x8, _com_protocol@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh41:
	adrp	x22, l_.str.4@PAGE
Lloh42:
	add	x22, x22, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_va
	mov	x2, x0
Lloh43:
	adrp	x1, l_.str.3@PAGE
Lloh44:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_Info_SetValueForKey
	mov	x0, x22
	mov	x1, x23
	bl	_va
	mov	x2, x0
Lloh45:
	adrp	x1, l_.str.5@PAGE
Lloh46:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_Info_SetValueForKey
	ldr	w1, [x24, #16]
	mov	x0, x22
	bl	_va
	mov	x2, x0
Lloh47:
	adrp	x1, l_.str.6@PAGE
Lloh48:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_Info_SetValueForKey
	str	x21, [sp, #-16]!
Lloh49:
	adrp	x2, l_.str.7@PAGE
Lloh50:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_Com_sprintf
	add	sp, sp, #16
Lloh51:
	adrp	x8, _NS_CLIENT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _NS_CLIENT@GOTPAGEOFF]
Lloh53:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_strlen
	mov	x3, x0
	ldr	w1, [x24, #20]
	mov	x0, x20
	mov	x2, x19
	bl	_NET_OutOfBandData
	ldr	w8, [x25]
Lloh54:
	adrp	x9, _cvar_modifiedFlags@GOTPAGE
Lloh55:
	ldr	x9, [x9, _cvar_modifiedFlags@GOTPAGEOFF]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
LBB0_11:
	ldur	x8, [x29, #-72]
Lloh56:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh57:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.12:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh59:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	ldur	x8, [x29, #-72]
Lloh62:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh63:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
Lloh65:
	adrp	x1, l_.str.8@PAGE
Lloh66:
	add	x1, x1, l_.str.8@PAGEOFF
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_Com_Error
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INFO_STRING,4,2            ; @MAX_INFO_STRING
	.comm	_clc,40,3                       ; @clc
	.comm	_cls,8,3                        ; @cls
	.comm	_RETRANSMIT_TIMEOUT,8,3         ; @RETRANSMIT_TIMEOUT
	.comm	_com_standalone,8,3             ; @com_standalone
	.comm	_NA_IP,4,2                      ; @NA_IP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getchallenge %d %s"

	.comm	_com_gamename,8,3               ; @com_gamename
	.comm	_NS_CLIENT,4,2                  ; @NS_CLIENT
l_.str.1:                               ; @.str.1
	.asciz	"%s"

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

	.comm	_CVAR_USERINFO,4,2              ; @CVAR_USERINFO
l_.str.3:                               ; @.str.3
	.asciz	"protocol"

l_.str.4:                               ; @.str.4
	.asciz	"%i"

	.comm	_com_protocol,8,3               ; @com_protocol
l_.str.5:                               ; @.str.5
	.asciz	"qport"

l_.str.6:                               ; @.str.6
	.asciz	"challenge"

l_.str.7:                               ; @.str.7
	.asciz	"connect \"%s\""

	.comm	_cvar_modifiedFlags,4,2         ; @cvar_modifiedFlags
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
l_.str.8:                               ; @.str.8
	.asciz	"CL_CheckForResend: bad clc.state"

	.comm	_com_legacyprotocol,8,3         ; @com_legacyprotocol
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
