	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_MapLoading                  ## -- Begin function CL_MapLoading
	.p2align	4, 0x90
_CL_MapLoading:                         ## @CL_MapLoading
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_com_cl_running@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_Con_Close
	movq	_cls@GOTPCREL(%rip), %rbx
	movq	$0, 16(%rbx)
	movq	(%rbx), %rax
	movq	_CA_CONNECTED@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jl	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_5
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_Cvar_Set
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CL_Disconnect
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_Q_strncpyz
	movq	_CA_CHALLENGING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%eax, %eax
	callq	_SCR_UpdateScreen
	movq	_RETRANSMIT_TIMEOUT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movq	_clc@GOTPCREL(%rip), %rsi
	movl	%ecx, 8(%rsi)
	movl	8(%rbx), %edi
	addq	$4, %rsi
	callq	_NET_StringToAdr
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_CL_CheckForResend              ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	24(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_Com_Memset
	movq	_clc@GOTPCREL(%rip), %rbx
	movq	16(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_Com_Memset
	movq	_cl@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_Com_Memset
	movl	$-9999, (%rbx)                  ## imm = 0xD8F1
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SCR_UpdateScreen               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_com_cl_running,8,3             ## @com_cl_running
	.comm	_cls,32,3                       ## @cls
	.comm	_CA_CONNECTED,8,3               ## @CA_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"localhost"

	.comm	_clc,24,3                       ## @clc
	.comm	_cl,4,2                         ## @cl
L_.str.1:                               ## @.str.1
	.asciz	"nextmap"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_CA_CHALLENGING,8,3             ## @CA_CHALLENGING
	.comm	_RETRANSMIT_TIMEOUT,4,2         ## @RETRANSMIT_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_MapLoading                  ; -- Begin function CL_MapLoading
	.p2align	2
_CL_MapLoading:                         ; @CL_MapLoading
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _com_cl_running@GOTPAGE
Lloh1:
	ldr	x8, [x8, _com_cl_running@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
	bl	_Con_Close
Lloh3:
	adrp	x19, _cls@GOTPAGE
Lloh4:
	ldr	x19, [x19, _cls@GOTPAGEOFF]
	str	xzr, [x19, #16]
	ldr	x8, [x19]
Lloh5:
	adrp	x20, _CA_CONNECTED@GOTPAGE
Lloh6:
	ldr	x20, [x20, _CA_CONNECTED@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.2:
	ldr	w0, [x19, #8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Q_stricmp
	cbz	w0, LBB0_5
LBB0_3:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Cvar_Set
Lloh13:
	adrp	x8, _qtrue@GOTPAGE
Lloh14:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_CL_Disconnect
	ldr	w0, [x19, #8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_Q_strncpyz
Lloh18:
	adrp	x8, _CA_CHALLENGING@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CA_CHALLENGING@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [x19]
	str	xzr, [x19, #16]
	bl	_SCR_UpdateScreen
Lloh21:
	adrp	x8, _RETRANSMIT_TIMEOUT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RETRANSMIT_TIMEOUT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w8, w8
Lloh24:
	adrp	x9, _clc@GOTPAGE
Lloh25:
	ldr	x9, [x9, _clc@GOTPAGEOFF]
	str	w8, [x9, #8]
	ldr	w0, [x19, #8]
	add	x1, x9, #4
	bl	_NET_StringToAdr
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CL_CheckForResend
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x20]
	str	x8, [x19]
	ldr	x0, [x19, #24]
	mov	w1, #0
	mov	w2, #8
	bl	_Com_Memset
Lloh26:
	adrp	x19, _clc@GOTPAGE
Lloh27:
	ldr	x19, [x19, _clc@GOTPAGEOFF]
	ldr	x0, [x19, #16]
	mov	w1, #0
	mov	w2, #8
	bl	_Com_Memset
Lloh28:
	adrp	x0, _cl@GOTPAGE
Lloh29:
	ldr	x0, [x0, _cl@GOTPAGEOFF]
	mov	w1, #0
	mov	w2, #4
	bl	_Com_Memset
	mov	w8, #-9999
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SCR_UpdateScreen
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_com_cl_running,8,3             ; @com_cl_running
	.comm	_cls,32,3                       ; @cls
	.comm	_CA_CONNECTED,8,3               ; @CA_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"localhost"

	.comm	_clc,24,3                       ; @clc
	.comm	_cl,4,2                         ; @cl
l_.str.1:                               ; @.str.1
	.asciz	"nextmap"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_CA_CHALLENGING,8,3             ; @CA_CHALLENGING
	.comm	_RETRANSMIT_TIMEOUT,4,2         ; @RETRANSMIT_TIMEOUT
.subsections_via_symbols
