	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_DrawCTFPowerUp
_CG_DrawCTFPowerUp:                     ## @CG_DrawCTFPowerUp
	.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	_cgs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_CTF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_cg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_STAT_PERSISTANT_POWERUP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rax,%rcx,4), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	movq	%rdi, %rbx
	movl	%r14d, %edi
	callq	_CG_RegisterItemVisuals
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	_cg_items@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_CG_DrawPic                     ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cgs,8,3                        ## @cgs
	.comm	_GT_CTF,8,3                     ## @GT_CTF
	.comm	_cg,8,3                         ## @cg
	.comm	_STAT_PERSISTANT_POWERUP,8,3    ## @STAT_PERSISTANT_POWERUP
	.comm	_cg_items,8,3                   ## @cg_items
	.no_dead_strip	_CG_DrawCTFPowerUp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_DrawCTFPowerUp
_CG_DrawCTFPowerUp:                     ; @CG_DrawCTFPowerUp
	.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, _cgs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cgs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _GT_CTF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GT_CTF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _cg@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _STAT_PERSISTANT_POWERUP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _STAT_PERSISTANT_POWERUP@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldrsw	x20, [x8, x9, lsl #2]
	cbz	w20, LBB0_3
; %bb.2:
	mov	x19, x0
	mov	x0, x20
	bl	_CG_RegisterItemVisuals
	ldp	w1, w0, [x19, #8]
Lloh12:
	adrp	x8, _cg_items@GOTPAGE
Lloh13:
	ldr	x8, [x8, _cg_items@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w4, [x8, x20, lsl #2]
	ldp	w3, w2, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CG_DrawPic
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_cgs,8,3                        ; @cgs
	.comm	_GT_CTF,8,3                     ; @GT_CTF
	.comm	_cg,8,3                         ; @cg
	.comm	_STAT_PERSISTANT_POWERUP,8,3    ; @STAT_PERSISTANT_POWERUP
	.comm	_cg_items,8,3                   ; @cg_items
	.no_dead_strip	_CG_DrawCTFPowerUp
.subsections_via_symbols
