	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_DownloadsComplete           ## -- Begin function CL_DownloadsComplete
	.p2align	4, 0x90
_CL_DownloadsComplete:                  ## @CL_DownloadsComplete
	.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	_clc@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_1
## %bb.3:
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	movl	(%rax), %edi
	callq	_FS_Restart
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_CL_AddReliableCommand          ## TAILCALL
LBB0_1:
	movq	_CA_LOADING@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_cls@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	xorl	%eax, %eax
	callq	_Com_EventLoop
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_2
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_Cvar_Set
	xorl	%eax, %eax
	callq	_CL_FlushMemory
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	xorl	%eax, %eax
	callq	_CL_InitCGame
	xorl	%eax, %eax
	callq	_CL_SendPureChecksums
	xorl	%eax, %eax
	callq	_CL_WritePacket
	xorl	%eax, %eax
	callq	_CL_WritePacket
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_CL_WritePacket                 ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,16,3                       ## @clc
	.comm	_qfalse,8,3                     ## @qfalse
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"donedl"

	.comm	_CA_LOADING,8,3                 ## @CA_LOADING
	.comm	_cls,16,3                       ## @cls
L_.str.1:                               ## @.str.1
	.asciz	"r_uiFullScreen"

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

	.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_DownloadsComplete           ; -- Begin function CL_DownloadsComplete
	.p2align	2
_CL_DownloadsComplete:                  ; @CL_DownloadsComplete
	.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, _clc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh2:
	adrp	x9, _qfalse@GOTPAGE
Lloh3:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	str	x9, [x8, #8]
	ldr	w0, [x8]
	bl	_FS_Restart
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CL_AddReliableCommand
LBB0_2:
Lloh7:
	adrp	x20, _CA_LOADING@GOTPAGE
Lloh8:
	ldr	x20, [x20, _CA_LOADING@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh9:
	adrp	x19, _cls@GOTPAGE
Lloh10:
	ldr	x19, [x19, _cls@GOTPAGEOFF]
	str	x8, [x19]
	bl	_Com_EventLoop
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Cvar_Set
	bl	_CL_FlushMemory
Lloh15:
	adrp	x8, _qtrue@GOTPAGE
Lloh16:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	bl	_CL_InitCGame
	bl	_CL_SendPureChecksums
	bl	_CL_WritePacket
	bl	_CL_WritePacket
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CL_WritePacket
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,16,3                       ; @clc
	.comm	_qfalse,8,3                     ; @qfalse
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"donedl"

	.comm	_CA_LOADING,8,3                 ; @CA_LOADING
	.comm	_cls,16,3                       ; @cls
l_.str.1:                               ; @.str.1
	.asciz	"r_uiFullScreen"

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

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