	.file	"229520.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.text
	.globl	push
	.type	push, @function
push:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L3
	mov	edi, 40
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 20[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR 32[rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	push, .-push
	.section	.rodata
.LC0:
	.string	"***Listado de alumnos:"
	.text
	.globl	print_list
	.type	print_list, @function
print_list:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
.L5:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L6
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_list, .-print_list
	.globl	init
	.type	init, @function
init:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -8[rbp], edx
	mov	edi, 40
	call	malloc@PLT
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR 20[rax], edx
	mov	rax, QWORD PTR head[rip]
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR head[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR 32[rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	init, .-init
	.section	.rodata
.LC1:
	.string	"Alumno eliminado: %s \n"
	.text
	.globl	pop
	.type	pop, @function
pop:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L9
	mov	eax, -1
	jmp	.L11
.L9:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	pop, .-pop
	.globl	remove_by_index
	.type	remove_by_index, @function
remove_by_index:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], -1
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	cmp	DWORD PTR -44[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	pop
	jmp	.L15
.L14:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L16
.L18:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L17
	mov	eax, -1
	jmp	.L15
.L17:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -24[rbp], 1
.L16:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	jl	.L18
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -20[rbp]
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	remove_by_index, .-remove_by_index
	.globl	remove_by_value
	.type	remove_by_value, @function
remove_by_value:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 20[rax]
	cmp	DWORD PTR -76[rbp], eax
	jne	.L22
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	pop
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L23
	mov	eax, -1
	jmp	.L25
.L23:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -48[rbp], rax
.L22:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	eax, DWORD PTR 20[rax]
	cmp	DWORD PTR -76[rbp], eax
	jne	.L24
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L25:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	remove_by_value, .-remove_by_value
	.globl	remove_last
	.type	remove_last, @function
remove_last:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L28
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L30
.L31:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
.L30:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L31
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], 0
	mov	eax, DWORD PTR -12[rbp]
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	remove_last, .-remove_last
	.section	.rodata
	.align 8
.LC2:
	.string	"Para agregar un alumno ingrese 1. Para eliminar un alumno ingrese 2:"
.LC3:
	.string	" %d"
.LC4:
	.string	"Ingrese el carnet: "
.LC5:
	.string	"%d"
.LC6:
	.string	"Ingrese el nombre: "
.LC7:
	.string	"%s"
.LC8:
	.string	"Ingrese la nota: "
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L37:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 1
	jne	.L33
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L34
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	lea	rcx, -32[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	init
	jmp	.L33
.L34:
	mov	ecx, DWORD PTR -36[rbp]
	mov	esi, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR head[rip]
	lea	rdx, -32[rbp]
	mov	rdi, rax
	call	push
.L33:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 2
	jne	.L36
	lea	rdi, head[rip]
	call	pop
.L36:
	mov	rax, QWORD PTR head[rip]
	mov	rdi, rax
	call	print_list
	jmp	.L37
	.cfi_endproc
.LFE13:
	.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	"229520.c"
	.text
	.global	head
	.bss
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L3
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	mov	r2, #0
	str	r2, [r3, #28]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	push, .-push
	.section	.rodata
	.align	2
.LC0:
	.ascii	"***Listado de alumnos:\000"
	.text
	.align	2
	.global	print_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_list, %function
print_list:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, .L7
	bl	puts
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L5
.L6:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L6
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	print_list, .-print_list
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3]
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #20]
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #24]
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #28]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	head
	.size	init, .-init
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Alumno eliminado: %s \012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	mvn	r3, #0
	b	.L15
.L13:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	mov	r2, r3
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L17+4
	bl	printf
	mov	r3, #0
.L15:
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	.LC1
	.size	pop, .-pop
	.align	2
	.global	remove_by_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_by_index, %function
remove_by_index:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mvn	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L20
	ldr	r0, [fp, #-24]
	bl	pop
	mov	r3, r0
	b	.L21
.L20:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L22
.L24:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L23
	mvn	r3, #0
	b	.L21
.L23:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L22:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #28]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-12]
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	remove_by_index, .-remove_by_index
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	remove_by_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_by_value, %function
remove_by_value:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bne	.L28
	ldr	r0, [fp, #-48]
	bl	pop
	mov	r3, r0
	b	.L31
.L30:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L29
	mvn	r3, #0
	b	.L31
.L29:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-40]
.L28:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #28]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bne	.L30
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-32]
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-40]
	str	r2, [r3, #28]
	ldr	r0, [fp, #-32]
	bl	free
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L33+4
	bl	printf
	mov	r3, #0
.L31:
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC3
	.word	.LC1
	.size	remove_by_value, .-remove_by_value
	.align	2
	.global	remove_last
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_last, %function
remove_last:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-8]
	b	.L37
.L36:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L38
.L39:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-12]
.L38:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #28]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #28]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #28]
	ldr	r3, [fp, #-8]
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	remove_last, .-remove_last
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Para agregar un alumno ingrese 1. Para eliminar un "
	.ascii	"alumno ingrese 2:\000"
	.align	2
.LC5:
	.ascii	" %d\000"
	.align	2
.LC6:
	.ascii	"Ingrese el carnet: \000"
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.ascii	"Ingrese el nombre: \000"
	.align	2
.LC9:
	.ascii	"%s\000"
	.align	2
.LC10:
	.ascii	"Ingrese la nota: \000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L45:
	ldr	r0, .L47+4
	bl	puts
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L47+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L41
	ldr	r0, .L47+12
	bl	puts
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L47+16
	bl	__isoc99_scanf
	ldr	r0, .L47+20
	bl	puts
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L47+24
	bl	__isoc99_scanf
	ldr	r0, .L47+28
	bl	puts
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L47+16
	bl	__isoc99_scanf
	ldr	r3, .L47+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	sub	r1, fp, #28
	mov	r0, r3
	bl	init
	b	.L41
.L42:
	ldr	r3, .L47+32
	ldr	r0, [r3]
	ldr	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	sub	r2, fp, #28
	bl	push
.L41:
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	bne	.L44
	ldr	r0, .L47+32
	bl	pop
.L44:
	ldr	r3, .L47+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_list
	b	.L45
.L48:
	.align	2
.L47:
	.word	.LC11
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	head
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
