	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_FeederItemImage
_UI_FeederItemImage:                    ## @UI_FeederItemImage
	.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	_FEEDER_HEADS@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jne	LBB0_6
	jp	LBB0_6
## %bb.1:
	leaq	-32(%rbp), %rsi
	callq	_UI_SelectedHead
	movl	-32(%rbp), %ebx
	testl	%ebx, %ebx
	js	LBB0_3
## %bb.2:
	movq	_uiInfo@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jge	LBB0_3
## %bb.4:
	movq	32(%r15), %rax
	movl	(%rax,%rbx,8), %r14d
	cmpl	$-1, %r14d
	jne	LBB0_17
## %bb.5:
	movl	4(%rax,%rbx,8), %edi
	callq	_trap_R_RegisterShaderNoMip
	movq	%rax, %r14
	movq	32(%r15), %rax
LBB0_16:
	movl	%r14d, (%rax,%rbx,8)
	jmp	LBB0_17
LBB0_6:
	movq	_FEEDER_Q3HEADS@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jne	LBB0_10
	jp	LBB0_10
## %bb.7:
	xorl	%r14d, %r14d
	testl	%edi, %edi
	js	LBB0_17
## %bb.8:
	movq	_uiInfo@GOTPCREL(%rip), %rax
	cmpl	%edi, 4(%rax)
	jle	LBB0_17
## %bb.9:
	movq	8(%rax), %rax
	movl	%edi, %ecx
	movl	(%rax,%rcx,4), %r14d
	jmp	LBB0_17
LBB0_3:
	xorl	%r14d, %r14d
LBB0_17:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_FEEDER_ALLMAPS@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	xorl	%r14d, %r14d
	ucomiss	%xmm0, %xmm1
	jne	LBB0_11
	jnp	LBB0_12
LBB0_11:
	movq	_FEEDER_MAPS@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jne	LBB0_17
	jp	LBB0_17
LBB0_12:
	leaq	-28(%rbp), %rsi
	callq	_UI_SelectedMap
	movl	-28(%rbp), %ebx
	testl	%ebx, %ebx
	js	LBB0_17
## %bb.13:
	movq	_uiInfo@GOTPCREL(%rip), %r15
	cmpl	16(%r15), %ebx
	jge	LBB0_17
## %bb.14:
	movq	24(%r15), %rax
	movl	(%rax,%rbx,8), %r14d
	cmpl	$-1, %r14d
	jne	LBB0_17
## %bb.15:
	movl	4(%rax,%rbx,8), %edi
	callq	_trap_R_RegisterShaderNoMip
	movq	%rax, %r14
	movq	24(%r15), %rax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_FEEDER_HEADS,4,2               ## @FEEDER_HEADS
	.comm	_uiInfo,40,3                    ## @uiInfo
	.comm	_FEEDER_Q3HEADS,4,2             ## @FEEDER_Q3HEADS
	.comm	_FEEDER_ALLMAPS,4,2             ## @FEEDER_ALLMAPS
	.comm	_FEEDER_MAPS,4,2                ## @FEEDER_MAPS
	.no_dead_strip	_UI_FeederItemImage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_FeederItemImage
_UI_FeederItemImage:                    ; @UI_FeederItemImage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x0
Lloh0:
	adrp	x9, _FEEDER_HEADS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FEEDER_HEADS@GOTPAGEOFF]
Lloh2:
	ldr	s1, [x9]
	fcmp	s1, s0
	b.ne	LBB0_5
; %bb.1:
	add	x1, sp, #12
	mov	x0, x8
	bl	_UI_SelectedHead
	ldr	w8, [sp, #12]
	tbnz	w8, #31, LBB0_14
; %bb.2:
Lloh3:
	adrp	x19, _uiInfo@GOTPAGE
Lloh4:
	ldr	x19, [x19, _uiInfo@GOTPAGEOFF]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ge	LBB0_14
; %bb.3:
	ldr	x9, [x19, #32]
	lsl	x20, x8, #3
	ldr	w0, [x9, x20]
	cmn	w0, #1
	b.ne	LBB0_15
; %bb.4:
	add	x8, x9, x20
	ldr	w0, [x8, #4]
	bl	_trap_R_RegisterShaderNoMip
	ldr	x8, [x19, #32]
	str	w0, [x8, x20]
	b	LBB0_15
LBB0_5:
Lloh5:
	adrp	x9, _FEEDER_Q3HEADS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FEEDER_Q3HEADS@GOTPAGEOFF]
Lloh7:
	ldr	s1, [x9]
	fcmp	s1, s0
	b.ne	LBB0_9
; %bb.6:
	mov	w0, #0
	tbnz	w8, #31, LBB0_15
; %bb.7:
Lloh8:
	adrp	x9, _uiInfo@GOTPAGE
Lloh9:
	ldr	x9, [x9, _uiInfo@GOTPAGEOFF]
	ldr	w10, [x9, #4]
	cmp	w10, w8
	b.le	LBB0_15
; %bb.8:
	ldr	x9, [x9, #8]
	ldr	w0, [x9, w8, uxtw #2]
	b	LBB0_15
LBB0_9:
Lloh10:
	adrp	x9, _FEEDER_ALLMAPS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FEEDER_ALLMAPS@GOTPAGEOFF]
Lloh12:
	ldr	s1, [x9]
Lloh13:
	adrp	x9, _FEEDER_MAPS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _FEEDER_MAPS@GOTPAGEOFF]
Lloh15:
	ldr	s2, [x9]
	fcmp	s1, s0
	fccmp	s2, s0, #4, ne
	b.ne	LBB0_14
; %bb.10:
	add	x1, sp, #8
	mov	x0, x8
	bl	_UI_SelectedMap
	ldr	w8, [sp, #8]
	tbnz	w8, #31, LBB0_14
; %bb.11:
Lloh16:
	adrp	x19, _uiInfo@GOTPAGE
Lloh17:
	ldr	x19, [x19, _uiInfo@GOTPAGEOFF]
	ldr	w9, [x19, #16]
	cmp	w8, w9
	b.ge	LBB0_14
; %bb.12:
	ldr	x9, [x19, #24]
	lsl	x20, x8, #3
	ldr	w0, [x9, x20]
	cmn	w0, #1
	b.ne	LBB0_15
; %bb.13:
	add	x8, x9, x20
	ldr	w0, [x8, #4]
	bl	_trap_R_RegisterShaderNoMip
	ldr	x8, [x19, #24]
	str	w0, [x8, x20]
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	b	LBB0_15
LBB0_14:
	mov	w0, #0
LBB0_15:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FEEDER_HEADS,4,2               ; @FEEDER_HEADS
	.comm	_uiInfo,40,3                    ; @uiInfo
	.comm	_FEEDER_Q3HEADS,4,2             ; @FEEDER_Q3HEADS
	.comm	_FEEDER_ALLMAPS,4,2             ; @FEEDER_ALLMAPS
	.comm	_FEEDER_MAPS,4,2                ; @FEEDER_MAPS
	.no_dead_strip	_UI_FeederItemImage
.subsections_via_symbols
