	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_DrawHead                    ## -- Begin function CG_DrawHead
	.p2align	4, 0x90
_CG_DrawHead:                           ## @CG_DrawHead
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cgs@GOTPCREL(%rip), %r14
	movq	8(%r14), %r15
	movslq	%edi, %rbx
	movq	_cg_draw3dIcons@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	leaq	(%rbx,%rbx,2), %rax
	movl	16(%r15,%rax,8), %edi
	testl	%edi, %edi
	jne	LBB0_2
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_cg_drawIcons@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	(%rbx,%rbx,2), %rax
	movl	8(%r15,%rax,8), %edi
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm1, -32(%rbp)                ## 4-byte Spill
	movss	-32(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm2, -36(%rbp)                ## 4-byte Spill
	movss	-36(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	%xmm3, -40(%rbp)                ## 4-byte Spill
	movss	-40(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	callq	_CG_DrawPic
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-32(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-36(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	-40(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
LBB0_5:
	leaq	(%rbx,%rbx,2), %rax
	cmpq	$0, (%r15,%rax,8)
	je	LBB0_6
## %bb.7:
	movl	(%r14), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CG_DrawPic                     ## TAILCALL
LBB0_2:
	callq	_CG_DrawHead.cold.1
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function CG_DrawHead.cold.1
_CG_DrawHead.cold.1:                    ## @CG_DrawHead.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	_trap_R_ModelBounds
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_cgs,16,3                       ## @cgs
	.comm	_cg_draw3dIcons,8,3             ## @cg_draw3dIcons
	.comm	_cg_drawIcons,8,3               ## @cg_drawIcons
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_DrawHead                    ; -- Begin function CG_DrawHead
	.p2align	2
_CG_DrawHead:                           ; @CG_DrawHead
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x20, w0
Lloh0:
	adrp	x19, _cgs@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cgs@GOTPAGEOFF]
	ldr	x21, [x19, #8]
Lloh2:
	adrp	x8, _cg_draw3dIcons@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cg_draw3dIcons@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	w8, #24
	madd	x8, x20, x8, x21
	ldr	w0, [x8, #16]
	cbnz	w0, LBB0_7
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	fmov	s8, s3
	fmov	s9, s2
	fmov	s10, s1
	fmov	s11, s0
Lloh5:
	adrp	x8, _cg_drawIcons@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cg_drawIcons@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w8, #24
	madd	x8, x20, x8, x21
	ldr	w0, [x8, #8]
	fmov	s0, s11
	fmov	s1, s10
	fmov	s2, s9
	fmov	s3, s8
	bl	_CG_DrawPic
LBB0_5:
	mov	w8, #24
	mul	x8, x20, x8
	ldr	x8, [x21, x8]
	cbz	x8, LBB0_2
; %bb.6:
	ldr	w0, [x19]
	fmov	s0, s11
	fmov	s1, s10
	fmov	s2, s9
	fmov	s3, s8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	b	_CG_DrawPic
LBB0_7:
	bl	_CG_DrawHead.cold.1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function CG_DrawHead.cold.1
_CG_DrawHead.cold.1:                    ; @CG_DrawHead.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	_trap_R_ModelBounds
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_cgs,16,3                       ; @cgs
	.comm	_cg_draw3dIcons,8,3             ; @cg_draw3dIcons
	.comm	_cg_drawIcons,8,3               ; @cg_drawIcons
.subsections_via_symbols
