	.file	"143425.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Introduceti numarul de studenti"
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Introduceti informatii despre fiecare student:"
	.align 8
.LC3:
	.string	"Introduceti numele studentului:"
.LC4:
	.string	"%s"
.LC5:
	.string	"Introduceti prima nota:"
.LC6:
	.string	"Introduceti a doua nota:"
.LC7:
	.string	"Introduceti a treia nota:"
.LC8:
	.string	"Introduceti un nume:"
	.align 8
.LC9:
	.string	"numele si notele studentului sunt: %s %d %d %d\n"
	.align 8
.LC10:
	.string	"studentul %s nu se afla in structura\n"
.LC11:
	.string	"Introduceti materia 1 2 sau 3"
.LC12:
	.string	"cel mai bun student este %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 768
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -740[rbp], -1
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -752[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -744[rbp], 0
	jmp	.L2
.L3:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, 96
	add	rax, rcx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, 96
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, 96
	add	rax, rcx
	add	rax, 12
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -744[rbp], 1
.L2:
	mov	eax, DWORD PTR -752[rbp]
	cmp	DWORD PTR -744[rbp], eax
	jl	.L3
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -744[rbp], 0
	jmp	.L4
.L6:
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -744[rbp]
	mov	DWORD PTR -740[rbp], eax
.L5:
	add	DWORD PTR -744[rbp], 1
.L4:
	mov	eax, DWORD PTR -752[rbp]
	cmp	DWORD PTR -744[rbp], eax
	jl	.L6
	cmp	DWORD PTR -740[rbp], -1
	je	.L7
	mov	eax, DWORD PTR -740[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 596
	mov	edi, DWORD PTR [rax]
	mov	eax, DWORD PTR -740[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 600
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -740[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 604
	mov	edx, DWORD PTR [rax]
	lea	r8, -704[rbp]
	mov	eax, DWORD PTR -740[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 3
	sub	rax, rsi
	sal	rax, 4
	add	rax, r8
	mov	r8d, edi
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L7:
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	DWORD PTR -736[rbp], 0
	mov	DWORD PTR -732[rbp], 0
	mov	DWORD PTR -728[rbp], 0
	mov	DWORD PTR -724[rbp], 0
	mov	DWORD PTR -720[rbp], 0
	mov	DWORD PTR -716[rbp], 0
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rax, -748[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -748[rbp]
	cmp	eax, 1
	jne	.L9
	mov	DWORD PTR -744[rbp], 0
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 604
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -736[rbp], eax
	jge	.L11
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 604
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -736[rbp], eax
	mov	eax, DWORD PTR -744[rbp]
	mov	DWORD PTR -724[rbp], eax
.L11:
	add	DWORD PTR -744[rbp], 1
.L10:
	mov	eax, DWORD PTR -752[rbp]
	cmp	DWORD PTR -744[rbp], eax
	jl	.L12
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -724[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	eax, DWORD PTR -748[rbp]
	cmp	eax, 2
	jne	.L13
	mov	DWORD PTR -744[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 600
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -732[rbp], eax
	jge	.L15
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 600
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -732[rbp], eax
	mov	eax, DWORD PTR -744[rbp]
	mov	DWORD PTR -720[rbp], eax
.L15:
	add	DWORD PTR -744[rbp], 1
.L14:
	mov	eax, DWORD PTR -752[rbp]
	cmp	DWORD PTR -744[rbp], eax
	jl	.L16
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	mov	eax, DWORD PTR -748[rbp]
	cmp	eax, 3
	jne	.L17
	mov	DWORD PTR -744[rbp], 0
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 596
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -728[rbp], eax
	jge	.L19
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 596
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -728[rbp], eax
	mov	eax, DWORD PTR -744[rbp]
	mov	DWORD PTR -716[rbp], eax
.L19:
	add	DWORD PTR -744[rbp], 1
.L18:
	mov	eax, DWORD PTR -752[rbp]
	cmp	DWORD PTR -744[rbp], eax
	jl	.L20
	mov	DWORD PTR -712[rbp], 0
	mov	DWORD PTR -744[rbp], 0
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 596
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -728[rbp], eax
	jne	.L22
	add	DWORD PTR -712[rbp], 1
.L22:
	add	DWORD PTR -744[rbp], 1
.L21:
	mov	eax, DWORD PTR -752[rbp]
	cmp	DWORD PTR -744[rbp], eax
	jl	.L23
	cmp	DWORD PTR -712[rbp], 1
	jne	.L24
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -716[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L24:
	cmp	DWORD PTR -712[rbp], 1
	jle	.L17
	mov	DWORD PTR -744[rbp], 0
	jmp	.L25
.L29:
	mov	eax, DWORD PTR -744[rbp]
	add	eax, 1
	mov	DWORD PTR -708[rbp], eax
	jmp	.L26
.L28:
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -708[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	lea	rsi, -704[rbp]
	mov	eax, DWORD PTR -744[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 4
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jle	.L27
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsx	rdx, BYTE PTR -753[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -708[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	lea	rsi, -704[rbp]
	mov	eax, DWORD PTR -744[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 4
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	movsx	rax, BYTE PTR -753[rbp]
	mov	rcx, rax
	lea	rsi, -704[rbp]
	mov	eax, DWORD PTR -708[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	strcpy@PLT
.L27:
	add	DWORD PTR -708[rbp], 1
.L26:
	mov	eax, DWORD PTR -752[rbp]
	cmp	DWORD PTR -708[rbp], eax
	jl	.L28
	add	DWORD PTR -744[rbp], 1
.L25:
	mov	eax, DWORD PTR -752[rbp]
	sub	eax, 1
	cmp	DWORD PTR -744[rbp], eax
	jl	.L29
.L17:
	mov	DWORD PTR -744[rbp], 0
	jmp	.L30
.L31:
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -744[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -744[rbp], 1
.L30:
	mov	eax, DWORD PTR -752[rbp]
	cmp	DWORD PTR -744[rbp], eax
	jl	.L31
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"143425.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Introduceti numarul de studenti\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Introduceti informatii despre fiecare student:\000"
	.align	2
.LC3:
	.ascii	"Introduceti numele studentului:\000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.ascii	"Introduceti prima nota:\000"
	.align	2
.LC6:
	.ascii	"Introduceti a doua nota:\000"
	.align	2
.LC7:
	.ascii	"Introduceti a treia nota:\000"
	.align	2
.LC8:
	.ascii	"Introduceti un nume:\000"
	.align	2
.LC9:
	.ascii	"numele si notele studentului sunt: %s %d %d %d\012\000"
	.align	2
.LC10:
	.ascii	"studentul %s nu se afla in structura\012\000"
	.align	2
.LC11:
	.ascii	"Introduceti materia 1 2 sau 3\000"
	.align	2
.LC12:
	.ascii	"cel mai bun student este %s\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 752
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #760
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-736]
	ldr	r0, .L34+4
	bl	puts
	sub	r3, fp, #748
	mov	r1, r3
	ldr	r0, .L34+8
	bl	__isoc99_scanf
	ldr	r0, .L34+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L2
.L3:
	ldr	r0, .L34+16
	bl	puts
	sub	r1, fp, #700
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L34+20
	bl	__isoc99_scanf
	ldr	r0, .L34+24
	bl	puts
	sub	r1, fp, #700
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #96
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L34+8
	bl	__isoc99_scanf
	ldr	r0, .L34+28
	bl	puts
	sub	r1, fp, #700
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #104
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L34+8
	bl	__isoc99_scanf
	ldr	r0, .L34+32
	bl	puts
	sub	r1, fp, #700
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #104
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L34+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L2:
	ldr	r3, [fp, #-748]
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	blt	.L3
	ldr	r0, .L34+36
	bl	puts
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L34+20
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L4
.L6:
	sub	r1, fp, #700
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	sub	r2, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-740]
	str	r3, [fp, #-736]
.L5:
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L4:
	ldr	r3, [fp, #-748]
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-736]
	cmn	r3, #1
	beq	.L7
	sub	r1, fp, #700
	ldr	r2, [fp, #-736]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r1, r1, r3
	ldr	r2, [fp, #-736]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #596
	ldr	r0, [r3]
	ldr	r2, [fp, #-736]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #592
	ldr	ip, [r3]
	ldr	r2, [fp, #-736]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L34+40
	bl	printf
	b	.L8
.L7:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L34+44
	bl	printf
.L8:
	mov	r3, #0
	str	r3, [fp, #-732]
	mov	r3, #0
	str	r3, [fp, #-728]
	mov	r3, #0
	str	r3, [fp, #-724]
	mov	r3, #0
	str	r3, [fp, #-720]
	mov	r3, #0
	str	r3, [fp, #-716]
	mov	r3, #0
	str	r3, [fp, #-712]
	ldr	r0, .L34+48
	bl	puts
	sub	r3, fp, #744
	mov	r1, r3
	ldr	r0, .L34+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-744]
	cmp	r3, #1
	bne	.L9
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L10
.L12:
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #596
	ldr	r3, [r3]
	ldr	r2, [fp, #-732]
	cmp	r2, r3
	bge	.L11
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #596
	ldr	r3, [r3]
	str	r3, [fp, #-732]
	ldr	r3, [fp, #-740]
	str	r3, [fp, #-720]
.L11:
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L10:
	ldr	r3, [fp, #-748]
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	blt	.L12
	sub	r1, fp, #700
	ldr	r2, [fp, #-720]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L34+52
	bl	printf
.L9:
	ldr	r3, [fp, #-744]
	cmp	r3, #2
	bne	.L13
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L14
.L16:
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #592
	ldr	r3, [r3]
	ldr	r2, [fp, #-728]
	cmp	r2, r3
	bge	.L15
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #592
	ldr	r3, [r3]
	str	r3, [fp, #-728]
	ldr	r3, [fp, #-740]
	str	r3, [fp, #-716]
.L15:
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L14:
	ldr	r3, [fp, #-748]
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	blt	.L16
	sub	r1, fp, #700
	ldr	r2, [fp, #-716]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L34+52
	bl	printf
.L13:
	ldr	r3, [fp, #-744]
	cmp	r3, #3
	bne	.L17
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L18
.L20:
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	ldr	r2, [fp, #-724]
	cmp	r2, r3
	bge	.L19
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	str	r3, [fp, #-724]
	ldr	r3, [fp, #-740]
	str	r3, [fp, #-712]
.L19:
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L18:
	ldr	r3, [fp, #-748]
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	blt	.L20
	mov	r3, #0
	str	r3, [fp, #-708]
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L21
.L23:
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	ldr	r2, [fp, #-724]
	cmp	r2, r3
	bne	.L22
	ldr	r3, [fp, #-708]
	add	r3, r3, #1
	str	r3, [fp, #-708]
.L22:
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L21:
	ldr	r3, [fp, #-748]
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [fp, #-708]
	cmp	r3, #1
	bne	.L24
	sub	r1, fp, #700
	ldr	r2, [fp, #-712]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L34+52
	bl	printf
.L24:
	ldr	r3, [fp, #-708]
	cmp	r3, #1
	ble	.L17
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L25
.L29:
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-704]
	b	.L26
.L28:
	sub	r1, fp, #700
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r0, r1, r3
	sub	r1, fp, #700
	ldr	r2, [fp, #-704]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	ble	.L27
	ldrb	r3, [fp, #-749]	@ zero_extendqisi2
	mov	r0, r3
	sub	r1, fp, #700
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r1, r3
	bl	strcpy
	sub	r1, fp, #700
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r0, r1, r3
	sub	r1, fp, #700
	ldr	r2, [fp, #-704]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r1, r3
	bl	strcpy
	sub	r1, fp, #700
	ldr	r2, [fp, #-704]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldrb	r2, [fp, #-749]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L27:
	ldr	r3, [fp, #-704]
	add	r3, r3, #1
	str	r3, [fp, #-704]
.L26:
	ldr	r3, [fp, #-748]
	ldr	r2, [fp, #-704]
	cmp	r2, r3
	blt	.L28
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L25:
	ldr	r3, [fp, #-748]
	sub	r3, r3, #1
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	blt	.L29
.L17:
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L30
.L31:
	sub	r1, fp, #700
	ldr	r2, [fp, #-740]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L30:
	ldr	r3, [fp, #-748]
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	blt	.L31
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
