	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function CG_DrawDisconnect
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x44140000                      ## float 592
LCPI0_2:
	.long	0x43d80000                      ## float 432
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_CG_DrawDisconnect:                     ## @CG_DrawDisconnect
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_trap_GetCurrentCmdNumber
                                        ## kill: def $eax killed $eax def $rax
	movq	_CMD_BACKUP@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	leal	1(%rax), %edi
	leaq	-24(%rbp), %rsi
	callq	_trap_GetUserCmd
	movq	-24(%rbp), %rax
	movq	_cg@GOTPCREL(%rip), %rbx
	movq	8(%rbx), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_4
## %bb.1:
	cmpq	(%rbx), %rax
	jg	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_CG_DrawStrlen
	movq	_BIGCHAR_WIDTH@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	$320, %edi                      ## imm = 0x140
	subl	%ecx, %edi
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$100, %esi
	movq	%r14, %rdx
	callq	_CG_DrawBigString
	testb	$2, 1(%rbx)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_trap_R_RegisterShader
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movl	$48, %edi
	movl	$48, %esi
	movl	%eax, %edx
	callq	_CG_DrawPic
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_BACKUP,4,2                 ## @CMD_BACKUP
	.comm	_cg,16,3                        ## @cg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Connection Interrupted"

	.comm	_BIGCHAR_WIDTH,4,2              ## @BIGCHAR_WIDTH
L_.str.1:                               ## @.str.1
	.asciz	"gfx/2d/net.tga"

	.no_dead_strip	_CG_DrawDisconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_DrawDisconnect
_CG_DrawDisconnect:                     ; @CG_DrawDisconnect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_trap_GetCurrentCmdNumber
Lloh0:
	adrp	x8, _CMD_BACKUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_BACKUP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w0, w8
	add	w0, w8, #1
	add	x1, sp, #8
	bl	_trap_GetUserCmd
Lloh3:
	adrp	x20, _cg@GOTPAGE
Lloh4:
	ldr	x20, [x20, _cg@GOTPAGEOFF]
	ldr	x8, [sp, #8]
	ldp	x10, x9, [x20]
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x8, x10, #0, gt
	b.gt	LBB0_3
; %bb.1:
Lloh5:
	adrp	x19, l_.str@PAGE
Lloh6:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_CG_DrawStrlen
Lloh7:
	adrp	x8, _BIGCHAR_WIDTH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BIGCHAR_WIDTH@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	mul	w8, w8, w0
	cmp	w8, #0
	cinc	w8, w8, lt
	mov	w9, #320
	sub	w0, w9, w8, asr #1
	fmov	s0, #1.00000000
	mov	w1, #100
	mov	x2, x19
	bl	_CG_DrawBigString
	ldrb	w8, [x20, #1]
	tbnz	w8, #1, LBB0_3
; %bb.2:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_trap_R_RegisterShader
	mov	x2, x0
	mov	w8, #1142161408
	fmov	s0, w8
	mov	w8, #1138229248
	fmov	s1, w8
	mov	w0, #48
	mov	w1, #48
	bl	_CG_DrawPic
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_BACKUP,4,2                 ; @CMD_BACKUP
	.comm	_cg,16,3                        ; @cg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Connection Interrupted"

	.comm	_BIGCHAR_WIDTH,4,2              ; @BIGCHAR_WIDTH
l_.str.1:                               ; @.str.1
	.asciz	"gfx/2d/net.tga"

	.no_dead_strip	_CG_DrawDisconnect
.subsections_via_symbols
