	.file	"507056.c"
	.intel_syntax noprefix
	.text
	.globl	compareArrays
	.type	compareArrays, @function
compareArrays:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	compareArrays, .-compareArrays
	.section	.rodata
.LC0:
	.string	"Ejercicio completado"
.LC1:
	.string	"Algunas pruebas fallaron."
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -104[rbp], 3
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -64[rbp], 1
	mov	DWORD PTR -60[rbp], 2
	mov	DWORD PTR -56[rbp], 3
	mov	DWORD PTR -52[rbp], 4
	mov	DWORD PTR -48[rbp], 5
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 2
	mov	DWORD PTR -24[rbp], 3
	mov	DWORD PTR -20[rbp], 4
	mov	DWORD PTR -16[rbp], 5
	lea	rsi, -32[rbp]
	lea	rax, -64[rbp]
	mov	ecx, 1
	mov	edx, 5
	mov	rdi, rax
	call	testCompareArrays
	add	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -88[rbp], 1
	mov	DWORD PTR -84[rbp], 2
	mov	DWORD PTR -80[rbp], 3
	mov	DWORD PTR -76[rbp], 3
	mov	DWORD PTR -72[rbp], 2
	mov	DWORD PTR -68[rbp], 1
	lea	rsi, -76[rbp]
	lea	rax, -88[rbp]
	mov	ecx, 0
	mov	edx, 3
	mov	rdi, rax
	call	testCompareArrays
	add	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -96[rbp], 3
	mov	DWORD PTR -92[rbp], 3
	lea	rsi, -92[rbp]
	lea	rax, -96[rbp]
	mov	ecx, 1
	mov	edx, 1
	mov	rdi, rax
	call	testCompareArrays
	add	DWORD PTR -100[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jne	.L4
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L5
.L4:
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L5:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
.LC2:
	.string	"[FAIL]:"
.LC3:
	.string	"    arr1: "
.LC4:
	.string	"    arr2: "
	.align 8
.LC5:
	.string	"    Expected %i, but got %i instead.\n\n"
	.text
	.globl	testCompareArrays
	.type	testCompareArrays, @function
testCompareArrays:
.LFB2:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	DWORD PTR -8[rbp], 1
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	compareArrays
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	je	.L9
	mov	DWORD PTR -8[rbp], 0
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	printArrInline
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	printArrInline
	mov	edi, 10
	call	putchar@PLT
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	testCompareArrays, .-testCompareArrays
	.section	.rodata
.LC6:
	.string	"%i"
.LC7:
	.string	", "
	.text
	.globl	printArrInline
	.type	printArrInline, @function
printArrInline:
.LFB3:
	.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	QWORD PTR -32[rbp], rsi
	mov	edi, 91
	call	putchar@PLT
	mov	QWORD PTR -8[rbp], 0
	jmp	.L12
.L14:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, 1
	cmp	QWORD PTR -8[rbp], rax
	jnb	.L13
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	add	QWORD PTR -8[rbp], 1
.L12:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L14
	mov	edi, 93
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	printArrInline, .-printArrInline
	.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	"507056.c"
	.text
	.align	2
	.global	compareArrays
	.syntax unified
	.arm
	.fpu softvfp
	.type	compareArrays, %function
compareArrays:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	compareArrays, .-compareArrays
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Ejercicio completado\000"
	.align	2
.LC4:
	.ascii	"Algunas pruebas fallaron.\000"
	.align	2
.LC0:
	.word	1
	.word	2
	.word	3
	.word	4
	.word	5
	.align	2
.LC1:
	.word	1
	.word	2
	.word	3
	.align	2
.LC2:
	.word	3
	.word	2
	.word	1
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #3
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, .L8+4
	sub	ip, fp, #48
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L8+4
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	sub	r1, fp, #28
	sub	r0, fp, #48
	mov	r3, #1
	mov	r2, #5
	bl	testCompareArrays
	mov	r2, r0
	ldr	r3, [fp, #-84]
	add	r3, r3, r2
	str	r3, [fp, #-84]
	ldr	r2, .L8+8
	sub	r3, fp, #72
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r2, .L8+12
	sub	r3, fp, #60
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	sub	r1, fp, #60
	sub	r0, fp, #72
	mov	r3, #0
	mov	r2, #3
	bl	testCompareArrays
	mov	r2, r0
	ldr	r3, [fp, #-84]
	add	r3, r3, r2
	str	r3, [fp, #-84]
	mov	r3, #3
	str	r3, [fp, #-80]
	mov	r3, #3
	str	r3, [fp, #-76]
	sub	r1, fp, #76
	sub	r0, fp, #80
	mov	r3, #1
	mov	r2, #1
	bl	testCompareArrays
	mov	r2, r0
	ldr	r3, [fp, #-84]
	add	r3, r3, r2
	str	r3, [fp, #-84]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	bne	.L4
	ldr	r0, .L8+16
	bl	puts
	b	.L5
.L4:
	ldr	r0, .L8+20
	bl	puts
.L5:
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"[FAIL]:\000"
	.align	2
.LC7:
	.ascii	"    arr1: \000"
	.align	2
.LC8:
	.ascii	"    arr2: \000"
	.align	2
.LC9:
	.ascii	"    Expected %i, but got %i instead.\012\012\000"
	.text
	.align	2
	.global	testCompareArrays
	.syntax unified
	.arm
	.fpu softvfp
	.type	testCompareArrays, %function
testCompareArrays:
	@ 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]
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	compareArrays
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	beq	.L11
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L13
	bl	puts
	ldr	r0, .L13+4
	bl	printf
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	printArrInline
	mov	r0, #10
	bl	putchar
	ldr	r0, .L13+8
	bl	printf
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	printArrInline
	mov	r0, #10
	bl	putchar
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-28]
	ldr	r0, .L13+12
	bl	printf
.L11:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	testCompareArrays, .-testCompareArrays
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%i\000"
	.align	2
.LC11:
	.ascii	", \000"
	.text
	.align	2
	.global	printArrInline
	.syntax unified
	.arm
	.fpu softvfp
	.type	printArrInline, %function
printArrInline:
	@ 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]
	str	r1, [fp, #-20]
	mov	r0, #91
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L16
.L18:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L19
	bl	printf
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L17
	ldr	r0, .L19+4
	bl	printf
.L17:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L18
	mov	r0, #93
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC10
	.word	.LC11
	.size	printArrInline, .-printArrInline
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
