	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Menu_SetFeederSelection        ## -- Begin function Menu_SetFeederSelection
	.p2align	4, 0x90
_Menu_SetFeederSelection:               ## @Menu_SetFeederSelection
	.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
	movl	%edx, %r14d
	movl	%esi, %ebx
	testq	%rdi, %rdi
	jne	LBB0_5
## %bb.1:
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movq	%rcx, %rdi
	callq	_Menus_FindByName
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
	callq	_Menu_GetFocused
LBB0_4:
	movq	%rax, %rdi
	testq	%rax, %rax
	je	LBB0_12
LBB0_5:
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.6:
	movq	8(%rdi), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	cmpl	%ebx, (%rsi)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_8
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	testl	%r14d, %r14d
	jne	LBB0_11
## %bb.10:
	movq	8(%rsi), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
LBB0_11:
	movl	%r14d, 4(%rsi)
	movq	_DC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	%ebx, %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DC,8,3                         ## @DC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Menu_SetFeederSelection        ; -- Begin function Menu_SetFeederSelection
	.p2align	2
_Menu_SetFeederSelection:               ; @Menu_SetFeederSelection
	.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
	mov	x19, x2
	mov	x20, x1
	cbnz	x0, LBB0_4
; %bb.1:
	cbz	x3, LBB0_3
; %bb.2:
	mov	x0, x3
	bl	_Menus_FindByName
	cbnz	x0, LBB0_4
	b	LBB0_8
LBB0_3:
	bl	_Menu_GetFocused
	cbz	x0, LBB0_8
LBB0_4:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	ldr	x9, [x0, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	ldr	w11, [x10]
	cmp	w11, w20
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_6
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	cbnz	w19, LBB0_11
; %bb.10:
	ldr	x8, [x10, #8]
	stp	xzr, xzr, [x8]
LBB0_11:
	str	w19, [x10, #4]
Lloh0:
	adrp	x8, _DC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x2, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DC,8,3                         ; @DC
.subsections_via_symbols
