	.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_dedicated@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.6:
	movq	_CA_DISCONNECTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_clc@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_KEYCATCH_CONSOLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Key_SetCatcher                 ## TAILCALL
LBB0_1:
	movq	_com_cl_running@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	callq	_Con_Close
	xorl	%edi, %edi
	callq	_Key_SetCatcher
	movq	_clc@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_CA_CONNECTED@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jl	LBB0_4
## %bb.3:
	movl	16(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_7
LBB0_4:
	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	16(%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)
	xorl	%edi, %edi
	callq	_Key_SetCatcher
	xorl	%eax, %eax
	callq	_SCR_UpdateScreen
	movq	_RETRANSMIT_TIMEOUT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, 20(%rbx)
	movl	16(%rbx), %edi
	movq	_NA_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$12, %rbx
	movq	%rbx, %rsi
	callq	_NET_StringToAdr
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_CL_CheckForResend              ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	_cls@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_Com_Memset
	movq	24(%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, 8(%rbx)                 ## imm = 0xD8F1
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SCR_UpdateScreen               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_com_dedicated,8,3              ## @com_dedicated
	.comm	_CA_DISCONNECTED,8,3            ## @CA_DISCONNECTED
	.comm	_clc,32,3                       ## @clc
	.comm	_KEYCATCH_CONSOLE,4,2           ## @KEYCATCH_CONSOLE
	.comm	_com_cl_running,8,3             ## @com_cl_running
	.comm	_CA_CONNECTED,8,3               ## @CA_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"localhost"

	.comm	_cls,8,3                        ## @cls
	.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
	.comm	_NA_UNSPEC,4,2                  ## @NA_UNSPEC
.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_dedicated@GOTPAGE
Lloh1:
	ldr	x8, [x8, _com_dedicated@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _CA_DISCONNECTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CA_DISCONNECTED@GOTPAGEOFF]
Lloh5:
	adrp	x9, _clc@GOTPAGE
Lloh6:
	ldr	x9, [x9, _clc@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	str	x8, [x9]
Lloh9:
	adrp	x8, _KEYCATCH_CONSOLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KEYCATCH_CONSOLE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Key_SetCatcher
LBB0_2:
Lloh12:
	adrp	x8, _com_cl_running@GOTPAGE
Lloh13:
	ldr	x8, [x8, _com_cl_running@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.3:
	bl	_Con_Close
	mov	w0, #0
	bl	_Key_SetCatcher
Lloh15:
	adrp	x19, _clc@GOTPAGE
Lloh16:
	ldr	x19, [x19, _clc@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh17:
	adrp	x20, _CA_CONNECTED@GOTPAGE
Lloh18:
	ldr	x20, [x20, _CA_CONNECTED@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.lt	LBB0_5
; %bb.4:
	ldr	w0, [x19, #16]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Q_stricmp
	cbz	w0, LBB0_7
LBB0_5:
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Cvar_Set
Lloh25:
	adrp	x8, _qtrue@GOTPAGE
Lloh26:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_CL_Disconnect
	ldr	w0, [x19, #16]
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_Q_strncpyz
Lloh30:
	adrp	x8, _CA_CHALLENGING@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CA_CHALLENGING@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	w0, #0
	bl	_Key_SetCatcher
	bl	_SCR_UpdateScreen
Lloh33:
	adrp	x8, _RETRANSMIT_TIMEOUT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RETRANSMIT_TIMEOUT@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19, #20]
	ldr	w0, [x19, #16]
Lloh36:
	adrp	x8, _NA_UNSPEC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NA_UNSPEC@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	add	x1, x19, #12
	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_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x20]
	str	x8, [x19]
Lloh39:
	adrp	x8, _cls@GOTPAGE
Lloh40:
	ldr	x8, [x8, _cls@GOTPAGEOFF]
Lloh41:
	ldr	x0, [x8]
	mov	w1, #0
	mov	w2, #8
	bl	_Com_Memset
	ldr	x0, [x19, #24]
	mov	w1, #0
	mov	w2, #8
	bl	_Com_Memset
Lloh42:
	adrp	x0, _cl@GOTPAGE
Lloh43:
	ldr	x0, [x0, _cl@GOTPAGEOFF]
	mov	w1, #0
	mov	w2, #4
	bl	_Com_Memset
	mov	w8, #-9999
	str	w8, [x19, #8]
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_com_dedicated,8,3              ; @com_dedicated
	.comm	_CA_DISCONNECTED,8,3            ; @CA_DISCONNECTED
	.comm	_clc,32,3                       ; @clc
	.comm	_KEYCATCH_CONSOLE,4,2           ; @KEYCATCH_CONSOLE
	.comm	_com_cl_running,8,3             ; @com_cl_running
	.comm	_CA_CONNECTED,8,3               ; @CA_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"localhost"

	.comm	_cls,8,3                        ; @cls
	.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
	.comm	_NA_UNSPEC,4,2                  ; @NA_UNSPEC
.subsections_via_symbols
