	.file	"851556.c"
	.intel_syntax noprefix
	.text
	.globl	swap
	.type	swap, @function
swap:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	swap, .-swap
	.globl	maximo
	.type	maximo, @function
maximo:
.LFB1:
	.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	cmp	DWORD PTR -28[rbp], 0
	jne	.L3
	mov	eax, -1
	jmp	.L4
.L3:
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 1
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L6
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
.L6:
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L7
	mov	eax, DWORD PTR -8[rbp]
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	maximo, .-maximo
	.globl	comparar
	.type	comparar, @function
comparar:
.LFB2:
	.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	cmp	QWORD PTR -24[rbp], 0
	jne	.L9
	cmp	QWORD PTR -40[rbp], 0
	je	.L9
	mov	eax, -1
	jmp	.L10
.L9:
	cmp	QWORD PTR -24[rbp], 0
	je	.L11
	cmp	QWORD PTR -40[rbp], 0
	jne	.L11
	mov	eax, 1
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -28[rbp], eax
	cmovle	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L12
.L15:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L13
	mov	eax, 1
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L14
	mov	eax, -1
	jmp	.L10
.L14:
	add	DWORD PTR -8[rbp], 1
.L12:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L15
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L16
	mov	eax, 1
	jmp	.L10
.L16:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jge	.L17
	mov	eax, -1
	jmp	.L10
.L17:
	mov	eax, 0
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	comparar, .-comparar
	.globl	seleccion
	.type	seleccion, @function
seleccion:
.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	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	maximo
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
	sub	DWORD PTR -8[rbp], 1
.L19:
	cmp	DWORD PTR -8[rbp], 0
	jg	.L20
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	seleccion, .-seleccion
	.section	.rodata
.LC0:
	.string	"OK"
.LC1:
	.string	"ERROR"
.LC2:
	.string	"%s: %s\n"
	.text
	.globl	print_test
	.type	print_test, @function
print_test:
.LFB4:
	.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	QWORD PTR -8[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -12[rbp], al
	cmp	BYTE PTR -12[rbp], 0
	je	.L22
	lea	rax, .LC0[rip]
	jmp	.L23
.L22:
	lea	rax, .LC1[rip]
.L23:
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	print_test, .-print_test
	.section	.rodata
.LC3:
	.string	"Prueba swap 1"
.LC4:
	.string	"Prueba swap 2"
	.align 8
.LC5:
	.string	"Prueba swap 3, numeros iguales"
	.text
	.globl	prueba_swap
	.type	prueba_swap, @function
prueba_swap:
.LFB5:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 5
	mov	DWORD PTR -12[rbp], 6
	lea	rdx, -12[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 6
	jne	.L25
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 5
	jne	.L25
	mov	eax, 1
	jmp	.L26
.L25:
	mov	eax, 0
.L26:
	and	eax, 1
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	call	print_test
	mov	DWORD PTR -16[rbp], 10
	mov	DWORD PTR -12[rbp], -10
	lea	rdx, -12[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, -10
	jne	.L27
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 10
	jne	.L27
	mov	eax, 1
	jmp	.L28
.L27:
	mov	eax, 0
.L28:
	and	eax, 1
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	call	print_test
	mov	DWORD PTR -16[rbp], 3
	mov	DWORD PTR -12[rbp], 3
	lea	rdx, -12[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 3
	jne	.L29
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	jne	.L29
	mov	eax, 1
	jmp	.L30
.L29:
	mov	eax, 0
.L30:
	and	eax, 1
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[rip]
	call	print_test
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	prueba_swap, .-prueba_swap
	.section	.rodata
.LC6:
	.string	"Prueba maximo vacio"
.LC7:
	.string	"Prueba maximo unico"
.LC8:
	.string	"Prueba maximo vector1"
.LC9:
	.string	"Prueba maximo vector2"
.LC10:
	.string	"Prueba maximo vector3"
	.text
	.globl	prueba_maximo
	.type	prueba_maximo, @function
prueba_maximo:
.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -84[rbp], 8
	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 -80[rbp], -1000
	mov	DWORD PTR -76[rbp], -1500
	mov	DWORD PTR -72[rbp], -2000
	mov	DWORD PTR -68[rbp], -3000
	mov	DWORD PTR -32[rbp], 8
	mov	DWORD PTR -28[rbp], -10
	mov	DWORD PTR -24[rbp], 27
	mov	DWORD PTR -20[rbp], 3
	mov	DWORD PTR -16[rbp], -50
	mov	DWORD PTR -100[rbp], 1
	mov	DWORD PTR -96[rbp], 5
	mov	DWORD PTR -92[rbp], 4
	mov	DWORD PTR -88[rbp], 5
	mov	esi, 0
	mov	edi, 0
	call	maximo
	cmp	eax, -1
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC6[rip]
	call	print_test
	mov	edx, DWORD PTR -100[rbp]
	lea	rax, -84[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	maximo
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC7[rip]
	call	print_test
	mov	edx, DWORD PTR -96[rbp]
	lea	rax, -64[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	maximo
	cmp	eax, 4
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC8[rip]
	call	print_test
	mov	edx, DWORD PTR -92[rbp]
	lea	rax, -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	maximo
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC9[rip]
	call	print_test
	mov	edx, DWORD PTR -88[rbp]
	lea	rax, -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	maximo
	cmp	eax, 2
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC10[rip]
	call	print_test
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	prueba_maximo, .-prueba_maximo
	.section	.rodata
.LC11:
	.string	"Prueba comparar vacio, vacio"
.LC12:
	.string	"Prueba comparar vacio, unico"
.LC13:
	.string	"Prueba comparar unico, vec3"
.LC14:
	.string	"Prueba comparar vec1, vec1"
.LC15:
	.string	"Prueba comparar vec1, vec2"
.LC16:
	.string	"Prueba comparar vec2, vec1"
.LC17:
	.string	"Prueba comparar vec3, vec2"
.LC18:
	.string	"Prueba comparar vec3, vec4"
.LC19:
	.string	"Prueba comparar vec4, vec3"
	.text
	.globl	prueba_comparar
	.type	prueba_comparar, @function
prueba_comparar:
.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -92[rbp], 5
	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 -88[rbp], 1
	mov	DWORD PTR -84[rbp], 2
	mov	DWORD PTR -80[rbp], 5
	mov	DWORD PTR -76[rbp], 5
	mov	DWORD PTR -72[rbp], 8
	mov	DWORD PTR -68[rbp], 9
	mov	DWORD PTR -32[rbp], 5
	mov	DWORD PTR -28[rbp], 8
	mov	DWORD PTR -24[rbp], 9
	mov	DWORD PTR -20[rbp], 10
	mov	DWORD PTR -16[rbp], 3
	mov	DWORD PTR -112[rbp], 1
	mov	DWORD PTR -108[rbp], 5
	mov	DWORD PTR -104[rbp], 3
	mov	DWORD PTR -100[rbp], 3
	mov	DWORD PTR -96[rbp], 5
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	comparar
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC11[rip]
	call	print_test
	mov	edx, DWORD PTR -112[rbp]
	lea	rax, -92[rbp]
	mov	ecx, edx
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	comparar
	cmp	eax, -1
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC12[rip]
	call	print_test
	mov	ecx, DWORD PTR -100[rbp]
	lea	rdx, -76[rbp]
	mov	esi, DWORD PTR -112[rbp]
	lea	rax, -92[rbp]
	mov	rdi, rax
	call	comparar
	cmp	eax, -1
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC13[rip]
	call	print_test
	mov	ecx, DWORD PTR -108[rbp]
	lea	rdx, -64[rbp]
	mov	esi, DWORD PTR -108[rbp]
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	comparar
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC14[rip]
	call	print_test
	mov	ecx, DWORD PTR -104[rbp]
	lea	rdx, -88[rbp]
	mov	esi, DWORD PTR -108[rbp]
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	comparar
	cmp	eax, -1
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC15[rip]
	call	print_test
	mov	ecx, DWORD PTR -108[rbp]
	lea	rdx, -64[rbp]
	mov	esi, DWORD PTR -104[rbp]
	lea	rax, -88[rbp]
	mov	rdi, rax
	call	comparar
	cmp	eax, 1
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC16[rip]
	call	print_test
	mov	ecx, DWORD PTR -104[rbp]
	lea	rdx, -88[rbp]
	mov	esi, DWORD PTR -100[rbp]
	lea	rax, -76[rbp]
	mov	rdi, rax
	call	comparar
	cmp	eax, 1
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC17[rip]
	call	print_test
	mov	ecx, DWORD PTR -96[rbp]
	lea	rdx, -32[rbp]
	mov	esi, DWORD PTR -100[rbp]
	lea	rax, -76[rbp]
	mov	rdi, rax
	call	comparar
	cmp	eax, -1
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC18[rip]
	call	print_test
	mov	ecx, DWORD PTR -100[rbp]
	lea	rdx, -76[rbp]
	mov	esi, DWORD PTR -96[rbp]
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	comparar
	cmp	eax, 1
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC19[rip]
	call	print_test
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	prueba_comparar, .-prueba_comparar
	.section	.rodata
.LC20:
	.string	"Prueba seleccion vacio"
.LC21:
	.string	"Prueba seleccion unico"
.LC22:
	.string	"Prueba seleccion vec1"
.LC23:
	.string	"Prueba seleccion vec2"
.LC24:
	.string	"Prueba seleccion vec3"
	.text
	.globl	prueba_seleccion
	.type	prueba_seleccion, @function
prueba_seleccion:
.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, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -168[rbp], 8
	mov	DWORD PTR -164[rbp], 8
	mov	DWORD PTR -128[rbp], 3
	mov	DWORD PTR -124[rbp], 5
	mov	DWORD PTR -120[rbp], 4
	mov	DWORD PTR -116[rbp], 2
	mov	DWORD PTR -112[rbp], 1
	mov	DWORD PTR -96[rbp], 1
	mov	DWORD PTR -92[rbp], 2
	mov	DWORD PTR -88[rbp], 3
	mov	DWORD PTR -84[rbp], 4
	mov	DWORD PTR -80[rbp], 5
	mov	DWORD PTR -64[rbp], 4
	mov	DWORD PTR -60[rbp], 8
	mov	DWORD PTR -56[rbp], 15
	mov	DWORD PTR -52[rbp], 16
	mov	DWORD PTR -48[rbp], 23
	mov	DWORD PTR -44[rbp], 42
	mov	DWORD PTR -32[rbp], 4
	mov	DWORD PTR -28[rbp], 8
	mov	DWORD PTR -24[rbp], 15
	mov	DWORD PTR -20[rbp], 16
	mov	DWORD PTR -16[rbp], 23
	mov	DWORD PTR -12[rbp], 42
	mov	DWORD PTR -160[rbp], -38
	mov	DWORD PTR -156[rbp], -46
	mov	DWORD PTR -152[rbp], -65
	mov	DWORD PTR -148[rbp], -78
	mov	DWORD PTR -144[rbp], -78
	mov	DWORD PTR -140[rbp], -65
	mov	DWORD PTR -136[rbp], -46
	mov	DWORD PTR -132[rbp], -38
	mov	DWORD PTR -184[rbp], 1
	mov	DWORD PTR -180[rbp], 5
	mov	DWORD PTR -176[rbp], 6
	mov	DWORD PTR -172[rbp], 4
	mov	esi, 0
	mov	edi, 0
	call	seleccion
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	comparar
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC20[rip]
	call	print_test
	mov	edx, DWORD PTR -184[rbp]
	lea	rax, -168[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	seleccion
	mov	ecx, DWORD PTR -184[rbp]
	lea	rdx, -164[rbp]
	mov	esi, DWORD PTR -184[rbp]
	lea	rax, -168[rbp]
	mov	rdi, rax
	call	comparar
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC21[rip]
	call	print_test
	mov	edx, DWORD PTR -180[rbp]
	lea	rax, -128[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	seleccion
	mov	ecx, DWORD PTR -180[rbp]
	lea	rdx, -96[rbp]
	mov	esi, DWORD PTR -180[rbp]
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	comparar
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC22[rip]
	call	print_test
	mov	edx, DWORD PTR -176[rbp]
	lea	rax, -64[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	seleccion
	mov	ecx, DWORD PTR -176[rbp]
	lea	rdx, -32[rbp]
	mov	esi, DWORD PTR -176[rbp]
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	comparar
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC23[rip]
	call	print_test
	mov	edx, DWORD PTR -172[rbp]
	lea	rax, -160[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	seleccion
	mov	ecx, DWORD PTR -172[rbp]
	lea	rdx, -144[rbp]
	mov	esi, DWORD PTR -172[rbp]
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	comparar
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC24[rip]
	call	print_test
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	prueba_seleccion, .-prueba_seleccion
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	prueba_swap
	mov	eax, 0
	call	prueba_maximo
	mov	eax, 0
	call	prueba_comparar
	mov	eax, 0
	call	prueba_seleccion
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"851556.c"
	.text
	.align	2
	.global	swap
	.syntax unified
	.arm
	.fpu softvfp
	.type	swap, %function
swap:
	@ 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, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	swap, .-swap
	.align	2
	.global	maximo
	.syntax unified
	.arm
	.fpu softvfp
	.type	maximo, %function
maximo:
	@ 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, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L3
	mvn	r3, #0
	b	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L5
.L7:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L6
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L6:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-12]
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	maximo, .-maximo
	.align	2
	.global	comparar
	.syntax unified
	.arm
	.fpu softvfp
	.type	comparar, %function
comparar:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L9
	mvn	r3, #0
	b	.L10
.L9:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L11
	mov	r3, #1
	b	.L10
.L11:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L12
.L15:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L13
	mov	r3, #1
	b	.L10
.L13:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L14
	mvn	r3, #0
	b	.L10
.L14:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L12:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L15
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L16
	mov	r3, #1
	b	.L10
.L16:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bge	.L17
	mvn	r3, #0
	b	.L10
.L17:
	mov	r3, #0
.L10:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	comparar, .-comparar
	.align	2
	.global	seleccion
	.syntax unified
	.arm
	.fpu softvfp
	.type	seleccion, %function
seleccion:
	@ 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]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L19
.L20:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	maximo
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r0, r2, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r1, r3
	bl	swap
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L19:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L20
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	seleccion, .-seleccion
	.section	.rodata
	.align	2
.LC10:
	.ascii	"OK\000"
	.align	2
.LC11:
	.ascii	"ERROR\000"
	.align	2
.LC12:
	.ascii	"%s: %s\012\000"
	.text
	.align	2
	.global	print_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_test, %function
print_test:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r3, r1
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L24
	b	.L23
.L22:
	ldr	r3, .L24+4
.L23:
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L24+8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	print_test, .-print_test
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Prueba swap 1\000"
	.align	2
.LC14:
	.ascii	"Prueba swap 2\000"
	.align	2
.LC15:
	.ascii	"Prueba swap 3, numeros iguales\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	prueba_swap
	.syntax unified
	.arm
	.fpu softvfp
	.type	prueba_swap, %function
prueba_swap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-16]
	mov	r3, #6
	str	r3, [fp, #-12]
	sub	r2, fp, #12
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	swap
	ldr	r3, [fp, #-16]
	cmp	r3, #6
	bne	.L27
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	bne	.L27
	mov	r3, #1
	b	.L28
.L27:
	mov	r3, #0
.L28:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L34+4
	bl	print_test
	mov	r3, #10
	str	r3, [fp, #-16]
	mvn	r3, #9
	str	r3, [fp, #-12]
	sub	r2, fp, #12
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	swap
	ldr	r3, [fp, #-16]
	cmn	r3, #10
	bne	.L29
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bne	.L29
	mov	r3, #1
	b	.L30
.L29:
	mov	r3, #0
.L30:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L34+8
	bl	print_test
	mov	r3, #3
	str	r3, [fp, #-16]
	mov	r3, #3
	str	r3, [fp, #-12]
	sub	r2, fp, #12
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	swap
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bne	.L31
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L31
	mov	r3, #1
	b	.L32
.L31:
	mov	r3, #0
.L32:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L34+12
	bl	print_test
	nop
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC16
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	prueba_swap, .-prueba_swap
	.section	.rodata
	.align	2
.LC17:
	.ascii	"Prueba maximo vacio\000"
	.align	2
.LC18:
	.ascii	"Prueba maximo unico\000"
	.align	2
.LC19:
	.ascii	"Prueba maximo vector1\000"
	.align	2
.LC20:
	.ascii	"Prueba maximo vector2\000"
	.align	2
.LC21:
	.ascii	"Prueba maximo vector3\000"
	.align	2
.LC0:
	.word	1
	.word	2
	.word	3
	.word	4
	.word	5
	.align	2
.LC1:
	.word	-1000
	.word	-1500
	.word	-2000
	.word	-3000
	.align	2
.LC2:
	.word	8
	.word	-10
	.word	27
	.word	3
	.word	-50
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	prueba_maximo
	.syntax unified
	.arm
	.fpu softvfp
	.type	prueba_maximo, %function
prueba_maximo:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #8
	str	r3, [fp, #-68]
	ldr	r3, .L38+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, .L38+8
	sub	ip, fp, #64
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L38+12
	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]
	mov	r3, #1
	str	r3, [fp, #-84]
	mov	r3, #5
	str	r3, [fp, #-80]
	mov	r3, #4
	str	r3, [fp, #-76]
	mov	r3, #5
	str	r3, [fp, #-72]
	mov	r1, #0
	mov	r0, #0
	bl	maximo
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L38+16
	bl	print_test
	sub	r3, fp, #68
	ldr	r1, [fp, #-84]
	mov	r0, r3
	bl	maximo
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L38+20
	bl	print_test
	sub	r3, fp, #48
	ldr	r1, [fp, #-80]
	mov	r0, r3
	bl	maximo
	mov	r3, r0
	cmp	r3, #4
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L38+24
	bl	print_test
	sub	r3, fp, #64
	ldr	r1, [fp, #-76]
	mov	r0, r3
	bl	maximo
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L38+28
	bl	print_test
	sub	r3, fp, #28
	ldr	r1, [fp, #-72]
	mov	r0, r3
	bl	maximo
	mov	r3, r0
	cmp	r3, #2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L38+32
	bl	print_test
	nop
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC22
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	prueba_maximo, .-prueba_maximo
	.section	.rodata
	.align	2
.LC23:
	.ascii	"Prueba comparar vacio, vacio\000"
	.align	2
.LC24:
	.ascii	"Prueba comparar vacio, unico\000"
	.align	2
.LC25:
	.ascii	"Prueba comparar unico, vec3\000"
	.align	2
.LC26:
	.ascii	"Prueba comparar vec1, vec1\000"
	.align	2
.LC27:
	.ascii	"Prueba comparar vec1, vec2\000"
	.align	2
.LC28:
	.ascii	"Prueba comparar vec2, vec1\000"
	.align	2
.LC29:
	.ascii	"Prueba comparar vec3, vec2\000"
	.align	2
.LC30:
	.ascii	"Prueba comparar vec3, vec4\000"
	.align	2
.LC31:
	.ascii	"Prueba comparar vec4, vec3\000"
	.align	2
.LC3:
	.word	1
	.word	2
	.word	5
	.align	2
.LC4:
	.word	5
	.word	8
	.word	9
	.align	2
.LC5:
	.word	5
	.word	8
	.word	9
	.word	10
	.word	3
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	prueba_comparar
	.syntax unified
	.arm
	.fpu softvfp
	.type	prueba_comparar, %function
prueba_comparar:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-76]
	ldr	r3, .L42+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	r2, .L42+8
	sub	r3, fp, #72
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r2, .L42+12
	sub	r3, fp, #60
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, .L42+16
	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]
	mov	r3, #1
	str	r3, [fp, #-96]
	mov	r3, #5
	str	r3, [fp, #-92]
	mov	r3, #3
	str	r3, [fp, #-88]
	mov	r3, #3
	str	r3, [fp, #-84]
	mov	r3, #5
	str	r3, [fp, #-80]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	comparar
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L42+20
	bl	print_test
	sub	r2, fp, #76
	ldr	r3, [fp, #-96]
	mov	r1, #0
	mov	r0, #0
	bl	comparar
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L42+24
	bl	print_test
	sub	r2, fp, #60
	sub	r0, fp, #76
	ldr	r3, [fp, #-84]
	ldr	r1, [fp, #-96]
	bl	comparar
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L42+28
	bl	print_test
	sub	r2, fp, #48
	sub	r0, fp, #48
	ldr	r3, [fp, #-92]
	ldr	r1, [fp, #-92]
	bl	comparar
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L42+32
	bl	print_test
	sub	r2, fp, #72
	sub	r0, fp, #48
	ldr	r3, [fp, #-88]
	ldr	r1, [fp, #-92]
	bl	comparar
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L42+36
	bl	print_test
	sub	r2, fp, #48
	sub	r0, fp, #72
	ldr	r3, [fp, #-92]
	ldr	r1, [fp, #-88]
	bl	comparar
	mov	r3, r0
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L42+40
	bl	print_test
	sub	r2, fp, #72
	sub	r0, fp, #60
	ldr	r3, [fp, #-88]
	ldr	r1, [fp, #-84]
	bl	comparar
	mov	r3, r0
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L42+44
	bl	print_test
	sub	r2, fp, #28
	sub	r0, fp, #60
	ldr	r3, [fp, #-80]
	ldr	r1, [fp, #-84]
	bl	comparar
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L42+48
	bl	print_test
	sub	r2, fp, #60
	sub	r0, fp, #28
	ldr	r3, [fp, #-84]
	ldr	r1, [fp, #-80]
	bl	comparar
	mov	r3, r0
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L42+52
	bl	print_test
	nop
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC32
	.word	.LC0
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	prueba_comparar, .-prueba_comparar
	.section	.rodata
	.align	2
.LC33:
	.ascii	"Prueba seleccion vacio\000"
	.align	2
.LC34:
	.ascii	"Prueba seleccion unico\000"
	.align	2
.LC35:
	.ascii	"Prueba seleccion vec1\000"
	.align	2
.LC36:
	.ascii	"Prueba seleccion vec2\000"
	.align	2
.LC37:
	.ascii	"Prueba seleccion vec3\000"
	.align	2
.LC6:
	.word	3
	.word	5
	.word	4
	.word	2
	.word	1
	.align	2
.LC7:
	.word	4
	.word	8
	.word	15
	.word	16
	.word	23
	.word	42
	.align	2
.LC8:
	.word	-38
	.word	-46
	.word	-65
	.word	-78
	.align	2
.LC9:
	.word	-78
	.word	-65
	.word	-46
	.word	-38
	.align	2
.LC38:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	prueba_seleccion
	.syntax unified
	.arm
	.fpu softvfp
	.type	prueba_seleccion, %function
prueba_seleccion:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #8
	str	r3, [fp, #-136]
	mov	r3, #8
	str	r3, [fp, #-132]
	ldr	r3, .L46+4
	sub	ip, fp, #96
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L46+8
	sub	ip, fp, #76
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L46+12
	sub	ip, fp, #56
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, .L46+12
	sub	ip, fp, #32
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, .L46+16
	sub	ip, fp, #128
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L46+20
	sub	ip, fp, #112
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #1
	str	r3, [fp, #-152]
	mov	r3, #5
	str	r3, [fp, #-148]
	mov	r3, #6
	str	r3, [fp, #-144]
	mov	r3, #4
	str	r3, [fp, #-140]
	mov	r1, #0
	mov	r0, #0
	bl	seleccion
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	comparar
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L46+24
	bl	print_test
	sub	r3, fp, #136
	ldr	r1, [fp, #-152]
	mov	r0, r3
	bl	seleccion
	sub	r2, fp, #132
	sub	r0, fp, #136
	ldr	r3, [fp, #-152]
	ldr	r1, [fp, #-152]
	bl	comparar
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L46+28
	bl	print_test
	sub	r3, fp, #96
	ldr	r1, [fp, #-148]
	mov	r0, r3
	bl	seleccion
	sub	r2, fp, #76
	sub	r0, fp, #96
	ldr	r3, [fp, #-148]
	ldr	r1, [fp, #-148]
	bl	comparar
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L46+32
	bl	print_test
	sub	r3, fp, #56
	ldr	r1, [fp, #-144]
	mov	r0, r3
	bl	seleccion
	sub	r2, fp, #32
	sub	r0, fp, #56
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-144]
	bl	comparar
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L46+36
	bl	print_test
	sub	r3, fp, #128
	ldr	r1, [fp, #-140]
	mov	r0, r3
	bl	seleccion
	sub	r2, fp, #112
	sub	r0, fp, #128
	ldr	r3, [fp, #-140]
	ldr	r1, [fp, #-140]
	bl	comparar
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L46+40
	bl	print_test
	nop
	ldr	r3, .L46
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC38
	.word	.LC6
	.word	.LC0
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.size	prueba_seleccion, .-prueba_seleccion
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	prueba_swap
	bl	prueba_maximo
	bl	prueba_comparar
	bl	prueba_seleccion
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
