	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_LoadingItem                 ## -- Begin function CG_LoadingItem
	.p2align	4, 0x90
_CG_LoadingItem:                        ## @CG_LoadingItem
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_bg_itemlist@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movslq	%edi, %rbx
	shlq	$4, %rbx
	movq	8(%r14,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	_loadingItemIconCount@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_MAX_LOADING_ITEM_ICONS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.2:
	callq	_trap_R_RegisterShaderNoMip
	movq	_loadingItemIcons@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r15), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%r15)
	movl	%eax, (%rcx,%rdx,4)
LBB0_3:
	movl	(%r14,%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CG_LoadingString               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bg_itemlist,8,3                ## @bg_itemlist
	.comm	_loadingItemIconCount,8,3       ## @loadingItemIconCount
	.comm	_MAX_LOADING_ITEM_ICONS,8,3     ## @MAX_LOADING_ITEM_ICONS
	.comm	_loadingItemIcons,8,3           ## @loadingItemIcons
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_LoadingItem                 ; -- Begin function CG_LoadingItem
	.p2align	2
_CG_LoadingItem:                        ; @CG_LoadingItem
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _bg_itemlist@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bg_itemlist@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	sxtw	x20, w0
	add	x8, x19, w0, sxtw #4
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x21, _loadingItemIconCount@GOTPAGE
Lloh4:
	ldr	x21, [x21, _loadingItemIconCount@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _MAX_LOADING_ITEM_ICONS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_LOADING_ITEM_ICONS@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.2:
	bl	_trap_R_RegisterShaderNoMip
Lloh8:
	adrp	x8, _loadingItemIcons@GOTPAGE
Lloh9:
	ldr	x8, [x8, _loadingItemIcons@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x21]
	add	x10, x9, #1
	str	x10, [x21]
	str	w0, [x8, x9, lsl #2]
LBB0_3:
	lsl	x8, x20, #4
	ldr	w0, [x19, x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_CG_LoadingString
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_bg_itemlist,8,3                ; @bg_itemlist
	.comm	_loadingItemIconCount,8,3       ; @loadingItemIconCount
	.comm	_MAX_LOADING_ITEM_ICONS,8,3     ; @MAX_LOADING_ITEM_ICONS
	.comm	_loadingItemIcons,8,3           ; @loadingItemIcons
.subsections_via_symbols
