	.file	"extr_clean.c_find_unique.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Bad type of menu_stuff when parse choice"
	.text
	.p2align 4
	.type	find_unique, @function
find_unique:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	strlen@PLT
	mov	r12d, eax
	mov	eax, DWORD PTR 0[r13]
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	je	.L3
	lea	rdi, .LC0[rip]
	call	die@PLT
.L3:
	mov	edx, DWORD PTR 4[r13]
	mov	rbp, QWORD PTR 8[r13]
	xor	ebx, ebx
	xor	r14d, r14d
	test	edx, edx
	jg	.L4
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L24:
	add	ebx, 1
.L8:
	add	rbp, 8
	cmp	DWORD PTR 4[r13], ebx
	jle	.L1
.L4:
	cmp	r12d, 1
	jne	.L6
	movzx	eax, BYTE PTR 0[rbp]
	cmp	BYTE PTR [r15], al
	je	.L23
.L6:
	mov	esi, DWORD PTR 4[rbp]
	mov	edx, r12d
	mov	rdi, r15
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L24
	test	r14d, r14d
	je	.L9
	cmp	r12d, 1
	jne	.L10
	add	ebx, 1
	mov	r14d, -1
	add	rbp, 8
	cmp	DWORD PTR 4[r13], ebx
	jg	.L4
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	add	ebx, 1
	mov	r14d, ebx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 8[r13]
	mov	rbp, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[r13]
	test	eax, eax
	jle	.L10
	xor	ebx, ebx
	xor	r14d, r14d
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L25:
	lea	eax, 1[rbx]
.L12:
	add	rbx, 1
	cmp	DWORD PTR 4[r13], eax
	jle	.L1
.L13:
	mov	esi, DWORD PTR 0[rbp+rbx*4]
	mov	edx, r12d
	mov	rdi, r15
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L25
	test	r14d, r14d
	jne	.L10
	lea	r14d, 1[rbx]
	mov	eax, r14d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	xor	r14d, r14d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	lea	r14d, 1[rbx]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	find_unique, .-find_unique
	.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_clean.c_find_unique.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Bad type of menu_stuff when parse choice\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_unique, %function
find_unique:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r1
	mov	r7, r0
	bl	strlen
	ldr	r3, [r9]
	mov	r6, r0
	cmp	r3, #128
	beq	.L2
	cmp	r3, #129
	beq	.L3
	ldr	r0, .L26
	bl	die
.L3:
	ldmib	r9, {r3, r5}
	cmp	r3, #0
	movgt	r4, #0
	movgt	r8, r4
	bgt	.L4
	b	.L10
.L25:
	cmp	r6, #1
	bne	.L10
	mvn	r8, #0
.L21:
	ldr	r3, [r9, #4]
	add	r4, r4, #1
	cmp	r3, r4
	add	r5, r5, #8
	ble	.L1
.L4:
	cmp	r6, #1
	bne	.L6
	ldrb	r2, [r7]	@ zero_extendqisi2
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L24
.L6:
	mov	r2, r6
	mov	r0, r7
	ldr	r1, [r5, #4]
	bl	strncasecmp
	cmp	r0, #0
	bne	.L21
	cmp	r8, #0
	add	r8, r4, #1
	bne	.L25
	mov	r4, r8
	ldr	r3, [r9, #4]
	add	r5, r5, #8
	cmp	r3, r4
	bgt	.L4
.L1:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldmib	r9, {r2, r3}
	cmp	r2, #0
	ldr	r5, [r3]
	ble	.L10
	mov	r4, #1
	mov	r8, #0
	sub	r5, r5, #4
.L13:
	mov	r2, r6
	mov	r0, r7
	ldr	r1, [r5, #4]!
	bl	strncasecmp
	cmp	r0, #0
	bne	.L22
	cmp	r8, #0
	bne	.L10
	mov	r8, r4
.L22:
	mov	r2, r4
	ldr	r3, [r9, #4]
	add	r4, r4, #1
	cmp	r3, r2
	bgt	.L13
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r8, #0
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L24:
	add	r8, r4, #1
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L27:
	.align	2
.L26:
	.word	.LC0
	.size	find_unique, .-find_unique
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
