	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_HarvesterSkulls
_CG_HarvesterSkulls:                    ## @CG_HarvesterSkulls
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_cgs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_HARVESTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_cg@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movl	(%rax), %eax
	cmpl	$99, %eax
	movl	$99, %ecx
	cmovll	%eax, %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	movl	$16, %esi
	movss	%xmm0, -68(%rbp)                ## 4-byte Spill
	callq	_Com_sprintf
	movq	%r13, %rdi
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	xorl	%esi, %esi
	callq	_CG_Text_Width
	movl	(%rbx), %edi
	subl	%eax, %edi
	addl	4(%rbx), %edi
	movq	16(%rbx), %rsi
	addq	8(%rbx), %rsi
	movl	%r12d, (%rsp)
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	%r15d, %edx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_CG_Text_Paint
	movq	_cgs@GOTPCREL(%rip), %rsi
	movq	_cg_drawIcons@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	testl	%r14d, %r14d
	jne	LBB0_7
## %bb.3:
	movq	_cg_draw3dIcons@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
LBB0_7:
	movq	_cg@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movq	8(%rax), %rax
	movq	_PERS_TEAM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_TEAM_BLUE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	8(%rsi,%rdx,4), %r8d
	movl	(%rbx), %edi
	addl	$3, %edi
	movq	8(%rbx), %rsi
	addq	$16, %rsi
	movl	$20, %edx
	movl	$20, %ecx
	callq	_CG_DrawPic
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	_CG_HarvesterSkulls.cold.1
	jmp	LBB0_5
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function CG_HarvesterSkulls.cold.1
_CG_HarvesterSkulls.cold.1:             ## @CG_HarvesterSkulls.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_VectorClear
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,16,3                        ## @cg
	.comm	_cgs,24,3                       ## @cgs
	.comm	_GT_HARVESTER,8,3               ## @GT_HARVESTER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i"

	.comm	_cg_drawIcons,8,3               ## @cg_drawIcons
	.comm	_cg_draw3dIcons,8,3             ## @cg_draw3dIcons
	.comm	_YAW,8,3                        ## @YAW
	.comm	_PERS_TEAM,8,3                  ## @PERS_TEAM
	.comm	_TEAM_BLUE,8,3                  ## @TEAM_BLUE
	.no_dead_strip	_CG_HarvesterSkulls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_HarvesterSkulls
_CG_HarvesterSkulls:                    ; @CG_HarvesterSkulls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x23, _cgs@GOTPAGE
Lloh4:
	ldr	x23, [x23, _cgs@GOTPAGEOFF]
	str	x8, [sp, #24]
	ldr	x8, [x23]
Lloh5:
	adrp	x9, _GT_HARVESTER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GT_HARVESTER@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	fmov	s8, s0
	mov	x19, x0
Lloh8:
	adrp	x24, _cg@GOTPAGE
Lloh9:
	ldr	x24, [x24, _cg@GOTPAGEOFF]
	ldr	x8, [x24, #8]
	ldr	w8, [x8]
	mov	w9, #99
	cmp	w8, #99
	csel	w3, w8, w9, lt
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #16
	bl	_Com_sprintf
	add	x0, sp, #8
	fmov	s0, s8
	mov	w1, #0
	bl	_CG_Text_Width
	ldp	w8, w9, [x19]
	sub	w8, w8, w0
	add	w0, w8, w9
	ldp	x8, x9, [x19, #8]
	add	x1, x9, x8
	add	x3, sp, #8
	fmov	s0, s8
	mov	x2, x22
	mov	w4, #0
	mov	w5, #0
	mov	x6, x21
	bl	_CG_Text_Paint
Lloh12:
	adrp	x8, _cg_drawIcons@GOTPAGE
Lloh13:
	ldr	x8, [x8, _cg_drawIcons@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	cbnz	w20, LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _cg_draw3dIcons@GOTPAGE
Lloh16:
	ldr	x8, [x8, _cg_draw3dIcons@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
LBB0_4:
	ldr	x8, [x24, #8]
	ldr	x8, [x8, #8]
Lloh18:
	adrp	x9, _PERS_TEAM@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PERS_TEAM@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh21:
	adrp	x9, _TEAM_BLUE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TEAM_BLUE@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x10, x23, #8
	add	x11, x23, #12
	cmp	x8, x9
	csel	x8, x11, x10, eq
	ldr	w4, [x8]
	ldr	w8, [x19]
	add	w0, w8, #3
	ldr	x8, [x19, #8]
	add	x1, x8, #16
	mov	w2, #20
	mov	w3, #20
	bl	_CG_DrawPic
LBB0_5:
	ldr	x8, [sp, #24]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	bl	___stack_chk_fail
LBB0_8:
	bl	_CG_HarvesterSkulls.cold.1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function CG_HarvesterSkulls.cold.1
_CG_HarvesterSkulls.cold.1:             ; @CG_HarvesterSkulls.cold.1
	.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
	bl	_VectorClear
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,16,3                        ; @cg
	.comm	_cgs,24,3                       ; @cgs
	.comm	_GT_HARVESTER,8,3               ; @GT_HARVESTER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i"

	.comm	_cg_drawIcons,8,3               ; @cg_drawIcons
	.comm	_cg_draw3dIcons,8,3             ; @cg_draw3dIcons
	.comm	_YAW,8,3                        ; @YAW
	.comm	_PERS_TEAM,8,3                  ; @PERS_TEAM
	.comm	_TEAM_BLUE,8,3                  ; @TEAM_BLUE
	.no_dead_strip	_CG_HarvesterSkulls
.subsections_via_symbols
