	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmMain                         ## -- Begin function vmMain
	.p2align	4, 0x90
_vmMain:                                ## @vmMain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %eax
	leal	-128(%rax), %edi
	cmpl	$8, %edi
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rdi
	addq	%rax, %rdi
	jmpq	*%rdi
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_CG_Shutdown
	jmp	LBB0_11
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_CG_Error
	movl	$-1, %ebx
	jmp	LBB0_11
LBB0_4:
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_CG_MouseEvent
	jmp	LBB0_10
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CG_LastAttacker                ## TAILCALL
LBB0_6:
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_CG_KeyEvent
	jmp	LBB0_10
LBB0_7:
	movl	%esi, %edi
	movl	%edx, %esi
	movl	%ecx, %edx
	callq	_CG_Init
	jmp	LBB0_10
LBB0_8:
	movl	%esi, %edi
	callq	_CG_EventHandling
	jmp	LBB0_10
LBB0_9:
	movl	%esi, %edi
	movl	%edx, %esi
	movl	%ecx, %edx
	callq	_CG_DrawActiveFrame
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CG_CrosshairPlayer             ## TAILCALL
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CG_ConsoleCommand              ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vmMain: unknown command %i"

	.comm	_cgDC,8,2                       ## @cgDC
	.comm	_cgs,8,2                        ## @cgs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmMain                         ; -- Begin function vmMain
	.p2align	2
_vmMain:                                ; @vmMain
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w9, w0, #128
	cmp	w9, #8
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	bl	_CG_Shutdown
	b	LBB0_10
LBB0_3:
	mov	x8, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	bl	_CG_Error
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x1
	mov	x1, x2
	bl	_CG_MouseEvent
	b	LBB0_10
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_CG_LastAttacker
LBB0_6:
	mov	x0, x1
	mov	x1, x2
	bl	_CG_KeyEvent
	b	LBB0_10
LBB0_7:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_CG_Init
	b	LBB0_10
LBB0_8:
	mov	x0, x1
	bl	_CG_EventHandling
	b	LBB0_10
LBB0_9:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_CG_DrawActiveFrame
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_CG_CrosshairPlayer
LBB0_12:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_CG_ConsoleCommand
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vmMain: unknown command %i"

	.comm	_cgDC,8,2                       ; @cgDC
	.comm	_cgs,8,2                        ; @cgs
.subsections_via_symbols
