	.file	"extr_menu_pico.c_mgn_dev_name.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mgn_dev_name, @function
mgn_dev_name:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR MA_CTRL_DEV_FIRST[rip], edi
	je	.L2
	mov	edi, DWORD PTR it.1926[rip]
.L3:
	cmp	edi, DWORD PTR IN_MAX_DEVS[rip]
	jge	.L7
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, DWORD PTR it.1926[rip]
	lea	edi, 1[rcx]
	cmp	edi, DWORD PTR IN_MAX_DEVS[rip]
	mov	DWORD PTR it.1926[rip], edi
	jge	.L4
.L6:
	mov	edx, 1
	mov	esi, 1
	call	in_get_dev_name@PLT
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR it.1926[rip]
.L4:
	add	edi, 1
	mov	DWORD PTR it.1926[rip], edi
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	DWORD PTR it.1926[rip], 0
	xor	edi, edi
	jmp	.L3
.L7:
	add	edi, 1
	xor	eax, eax
	mov	DWORD PTR it.1926[rip], edi
	ret
	.cfi_endproc
.LFE0:
	.size	mgn_dev_name, .-mgn_dev_name
	.local	it.1926
	.comm	it.1926,4,4
	.comm	MA_CTRL_DEV_FIRST,4,4
	.comm	IN_MAX_DEVS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_menu_pico.c_mgn_dev_name.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mgn_dev_name, %function
mgn_dev_name:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	ldr	r5, .L11+4
	cmp	r3, r0
	moveq	r3, #0
	moveq	r0, r3
	ldrne	r4, .L11+8
	ldreq	r4, .L11+8
	ldrne	r0, [r4]
	streq	r3, [r4]
	ldr	r3, [r5]
	cmp	r0, r3
	blt	.L6
	b	.L7
.L5:
	ldr	r3, [r4]
	ldr	r1, [r5]
	add	r0, r3, #1
	cmp	r0, r1
	str	r0, [r4]
	bge	.L4
.L6:
	mov	r2, #1
	mov	r1, r2
	bl	in_get_dev_name
	subs	r2, r0, #0
	beq	.L5
	ldr	r0, [r4]
.L4:
	add	r3, r0, #1
	str	r3, [r4]
	mov	r0, r2
	pop	{r4, r5, r6, pc}
.L7:
	mov	r2, #0
	b	.L4
.L12:
	.align	2
.L11:
	.word	MA_CTRL_DEV_FIRST
	.word	IN_MAX_DEVS
	.word	.LANCHOR0
	.size	mgn_dev_name, .-mgn_dev_name
	.comm	MA_CTRL_DEV_FIRST,4,4
	.comm	IN_MAX_DEVS,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	it.4210, %object
	.size	it.4210, 4
it.4210:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
