	.file	"391147.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"ex1"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%ld\n"
.LC3:
	.string	"ex2"
.LC4:
	.string	"ex3"
.LC5:
	.string	"ex5"
.LC6:
	.string	"ex6"
.LC7:
	.string	"ex7"
.LC8:
	.string	"ex8"
.LC9:
	.string	"ex9"
.LC15:
	.string	"%g\n"
.LC16:
	.string	"ex12"
.LC17:
	.string	"%d, %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 352
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 5
	mov	DWORD PTR -204[rbp], 15
	mov	DWORD PTR -200[rbp], 34
	mov	DWORD PTR -196[rbp], 54
	mov	DWORD PTR -192[rbp], 14
	mov	DWORD PTR -188[rbp], 2
	mov	DWORD PTR -184[rbp], 52
	mov	DWORD PTR -180[rbp], 72
	lea	rax, -208[rbp]
	add	rax, 4
	mov	QWORD PTR -320[rbp], rax
	lea	rax, -208[rbp]
	add	rax, 20
	mov	QWORD PTR -312[rbp], rax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -320[rbp]
	add	rax, 12
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -312[rbp]
	sub	rax, 12
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -312[rbp]
	sub	rax, QWORD PTR -320[rbp]
	sar	rax, 2
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -320[rbp]
	cmp	rax, QWORD PTR -312[rbp]
	setb	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -320[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -312[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	setl	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -320[rbp]
	mov	QWORD PTR -304[rbp], rax
	mov	rax, QWORD PTR -312[rbp]
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -296[rbp]
	sub	rax, QWORD PTR -304[rbp]
	sar	rax, 2
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -304[rbp]
	add	rax, rdx
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -144[rbp], 1
	mov	DWORD PTR -140[rbp], 2
	mov	DWORD PTR -136[rbp], 3
	mov	DWORD PTR -132[rbp], 4
	mov	DWORD PTR -128[rbp], 5
	mov	DWORD PTR -124[rbp], 6
	mov	DWORD PTR -120[rbp], 7
	mov	DWORD PTR -116[rbp], 8
	mov	DWORD PTR -112[rbp], 9
	mov	DWORD PTR -108[rbp], 10
	lea	rax, -144[rbp]
	mov	QWORD PTR -336[rbp], rax
	lea	rax, -144[rbp]
	add	rax, 36
	mov	QWORD PTR -328[rbp], rax
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -336[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -340[rbp], eax
	mov	rax, QWORD PTR -336[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -336[rbp], rdx
	mov	rdx, QWORD PTR -328[rbp]
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -328[rbp]
	lea	rdx, -4[rax]
	mov	QWORD PTR -328[rbp], rdx
	mov	edx, DWORD PTR -340[rbp]
	mov	DWORD PTR [rax], edx
.L2:
	mov	rax, QWORD PTR -336[rbp]
	cmp	rax, QWORD PTR -328[rbp]
	jb	.L3
	lea	rax, -144[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	print_int_array
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -176[rbp], 5
	mov	DWORD PTR -172[rbp], 15
	mov	DWORD PTR -168[rbp], 34
	mov	DWORD PTR -164[rbp], 54
	mov	DWORD PTR -160[rbp], 14
	mov	DWORD PTR -156[rbp], 2
	mov	DWORD PTR -152[rbp], 52
	mov	DWORD PTR -148[rbp], 72
	lea	rax, -176[rbp]
	mov	QWORD PTR -280[rbp], rax
	lea	rax, -176[rbp]
	cmp	QWORD PTR -280[rbp], rax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -176[rbp]
	cmp	edx, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -176[rbp]
	cmp	edx, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -272[rbp], 1
	mov	DWORD PTR -268[rbp], 2
	mov	DWORD PTR -264[rbp], 3
	mov	DWORD PTR -260[rbp], 4
	mov	DWORD PTR -256[rbp], 5
	lea	rax, -272[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	sum_array
	mov	DWORD PTR -344[rbp], eax
	mov	eax, DWORD PTR -344[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -272[rbp]
	mov	edx, 3
	mov	esi, 5
	mov	rdi, rax
	call	search
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	edx, 15
	mov	esi, 5
	mov	rdi, rax
	call	search
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -272[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	print_int_array
	lea	rax, -272[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	store_zeros
	lea	rax, -272[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	print_int_array
	lea	rdi, .LC9[rip]
	call	puts@PLT
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC13[rip]
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC14[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC13[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC14[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	lea	rcx, -48[rbp]
	lea	rax, -96[rbp]
	mov	edx, 5
	mov	rsi, rcx
	mov	rdi, rax
	call	inner_product
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	DWORD PTR -240[rbp], 3
	mov	DWORD PTR -236[rbp], 4
	mov	DWORD PTR -232[rbp], 10
	mov	DWORD PTR -228[rbp], 1
	mov	DWORD PTR -224[rbp], 18
	lea	rcx, -348[rbp]
	lea	rdx, -352[rbp]
	lea	rax, -240[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	find_two_largest
	mov	edx, DWORD PTR -352[rbp]
	mov	eax, DWORD PTR -348[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	sum_array
	.type	sum_array, @function
sum_array:
.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
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -4[rbp], eax
.L7:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -28[rbp], edx
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	sum_array, .-sum_array
	.globl	search
	.type	search, @function
search:
.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L11
	mov	eax, 1
	jmp	.L12
.L11:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -12[rbp], edx
	test	eax, eax
	jne	.L13
	mov	eax, 0
.L12:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	search, .-search
	.globl	store_zeros
	.type	store_zeros, @function
store_zeros:
.LFB3:
	.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	DWORD PTR -12[rbp], esi
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	DWORD PTR [rax], 0
.L15:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -12[rbp], edx
	test	eax, eax
	jne	.L16
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	store_zeros, .-store_zeros
	.section	.rodata
.LC18:
	.string	"%d"
.LC19:
	.string	""
	.text
	.globl	print_int_array
	.type	print_int_array, @function
print_int_array:
.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	DWORD PTR -12[rbp], esi
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -12[rbp], edx
	test	eax, eax
	jne	.L19
	lea	rdi, .LC19[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	print_int_array, .-print_int_array
	.globl	inner_product
	.type	inner_product, @function
inner_product:
.LFB5:
	.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	DWORD PTR -36[rbp], edx
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -24[rbp], rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -32[rbp], rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
.L21:
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -36[rbp], edx
	test	eax, eax
	jne	.L22
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	inner_product, .-inner_product
	.globl	find_middle
	.type	find_middle, @function
find_middle:
.LFB6:
	.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	DWORD PTR -12[rbp], esi
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	find_middle, .-find_middle
	.globl	find_two_largest
	.type	find_two_largest, @function
find_two_largest:
.LFB7:
	.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	QWORD PTR -48[rbp], rcx
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], -2147483648
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L27
.L29:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L28
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L27
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L27
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
.L27:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -28[rbp], edx
	test	eax, eax
	jne	.L29
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	find_two_largest, .-find_two_largest
	.section	.rodata
	.align 8
.LC10:
	.long	0
	.long	1072693248
	.align 8
.LC11:
	.long	0
	.long	1073741824
	.align 8
.LC12:
	.long	0
	.long	1074266112
	.align 8
.LC13:
	.long	0
	.long	1074790400
	.align 8
.LC14:
	.long	0
	.long	1075052544
	.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	"391147.c"
	.text
	.section	.rodata
	.align	2
.LC5:
	.ascii	"ex1\000"
	.align	2
.LC6:
	.ascii	"%d\012\000"
	.align	2
.LC7:
	.ascii	"%ld\012\000"
	.align	2
.LC8:
	.ascii	"ex2\000"
	.align	2
.LC9:
	.ascii	"ex3\000"
	.align	2
.LC10:
	.ascii	"ex5\000"
	.align	2
.LC11:
	.ascii	"ex6\000"
	.align	2
.LC12:
	.ascii	"ex7\000"
	.align	2
.LC13:
	.ascii	"ex8\000"
	.align	2
.LC14:
	.ascii	"ex9\000"
	.align	2
.LC15:
	.ascii	"%g\012\000"
	.align	2
.LC16:
	.ascii	"ex12\000"
	.align	2
.LC17:
	.ascii	"%d, %d\012\000"
	.align	2
.LC0:
	.word	5
	.word	15
	.word	34
	.word	54
	.word	14
	.word	2
	.word	52
	.word	72
	.align	2
.LC1:
	.word	1
	.word	2
	.word	3
	.word	4
	.word	5
	.word	6
	.word	7
	.word	8
	.word	9
	.word	10
	.align	2
.LC2:
	.word	1
	.word	2
	.word	3
	.word	4
	.word	5
	.align	3
.LC3:
	.word	0
	.word	1072693248
	.word	0
	.word	1073741824
	.word	0
	.word	1074266112
	.word	0
	.word	1074790400
	.word	0
	.word	1075052544
	.align	2
.LC4:
	.word	3
	.word	4
	.word	10
	.word	1
	.word	18
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	sub	ip, fp, #196
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #196
	add	r3, r3, #4
	str	r3, [fp, #-268]
	sub	r3, fp, #196
	add	r3, r3, #20
	str	r3, [fp, #-264]
	ldr	r0, .L6+8
	bl	puts
	ldr	r3, [fp, #-268]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r3, [fp, #-264]
	sub	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-268]
	sub	r3, r2, r3
	asr	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L6+16
	bl	printf
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-264]
	cmp	r2, r3
	movcc	r3, #1
	movcs	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r3, [fp, #-268]
	ldr	r2, [r3]
	ldr	r3, [fp, #-264]
	ldr	r3, [r3]
	cmp	r2, r3
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r0, .L6+20
	bl	puts
	ldr	r3, [fp, #-268]
	str	r3, [fp, #-260]
	ldr	r3, [fp, #-264]
	str	r3, [fp, #-256]
	ldr	r2, [fp, #-256]
	ldr	r3, [fp, #-260]
	sub	r3, r2, r3
	asr	r3, r3, #2
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-260]
	add	r3, r2, r3
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-252]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r0, .L6+24
	bl	puts
	ldr	r3, .L6+28
	sub	ip, fp, #48
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r3, fp, #48
	str	r3, [fp, #-276]
	sub	r3, fp, #48
	add	r3, r3, #36
	str	r3, [fp, #-272]
	b	.L2
.L3:
	ldr	r3, [fp, #-276]
	ldr	r3, [r3]
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-276]
	add	r2, r3, #4
	str	r2, [fp, #-276]
	ldr	r2, [fp, #-272]
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-272]
	sub	r2, r3, #4
	str	r2, [fp, #-272]
	ldr	r2, [fp, #-240]
	str	r2, [r3]
.L2:
	ldr	r2, [fp, #-276]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	bcc	.L3
	sub	r3, fp, #48
	mov	r1, #10
	mov	r0, r3
	bl	print_int_array
	mov	r0, #10
	bl	putchar
	ldr	r0, .L6+32
	bl	puts
	ldr	r3, .L6+4
	sub	ip, fp, #164
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #164
	str	r3, [fp, #-248]
	sub	r3, fp, #164
	ldr	r2, [fp, #-248]
	cmp	r2, r3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r3, [fp, #-248]
	ldr	r2, [r3]
	ldr	r3, [fp, #-164]
	cmp	r2, r3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r3, [fp, #-248]
	ldr	r2, [r3]
	ldr	r3, [fp, #-164]
	cmp	r2, r3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r0, .L6+36
	bl	puts
	ldr	r3, .L6+40
	sub	ip, fp, #236
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	sub	r3, fp, #236
	mov	r1, #5
	mov	r0, r3
	bl	sum_array
	str	r0, [fp, #-244]
	ldr	r1, [fp, #-244]
	ldr	r0, .L6+12
	bl	printf
	ldr	r0, .L6+44
	bl	puts
	sub	r3, fp, #236
	mov	r2, #3
	mov	r1, #5
	mov	r0, r3
	bl	search
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	sub	r3, fp, #236
	mov	r2, #15
	mov	r1, #5
	mov	r0, r3
	bl	search
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r0, .L6+48
	bl	puts
	sub	r3, fp, #236
	mov	r1, #5
	mov	r0, r3
	bl	print_int_array
	sub	r3, fp, #236
	mov	r1, #5
	mov	r0, r3
	bl	store_zeros
	sub	r3, fp, #236
	mov	r1, #5
	mov	r0, r3
	bl	print_int_array
	ldr	r0, .L6+52
	bl	puts
	ldr	r3, .L6+56
	sub	ip, fp, #132
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, .L6+56
	sub	ip, fp, #92
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r1, fp, #92
	sub	r3, fp, #132
	mov	r2, #5
	mov	r0, r3
	bl	inner_product
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L6+60
	bl	printf
	ldr	r0, .L6+64
	bl	puts
	ldr	r3, .L6+68
	sub	ip, fp, #216
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	sub	r3, fp, #280
	sub	r2, fp, #284
	sub	r0, fp, #216
	mov	r1, #5
	bl	find_two_largest
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-284]
	mov	r1, r3
	ldr	r0, .L6+72
	bl	printf
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC18
	.word	.LC0
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC1
	.word	.LC10
	.word	.LC11
	.word	.LC2
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC3
	.word	.LC15
	.word	.LC16
	.word	.LC4
	.word	.LC17
	.size	main, .-main
	.align	2
	.global	sum_array
	.syntax unified
	.arm
	.fpu softvfp
	.type	sum_array, %function
sum_array:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L10:
	ldr	r3, [fp, #-16]
	add	r2, r3, #4
	str	r2, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-20]
	sub	r2, r3, #1
	str	r2, [fp, #-20]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sum_array, .-sum_array
	.align	2
	.global	search
	.syntax unified
	.arm
	.fpu softvfp
	.type	search, %function
search:
	@ 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]
	b	.L13
.L15:
	ldr	r3, [fp, #-8]
	add	r2, r3, #4
	str	r2, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L13
	mov	r3, #1
	b	.L14
.L13:
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	str	r2, [fp, #-12]
	cmp	r3, #0
	bne	.L15
	mov	r3, #0
.L14:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	search, .-search
	.align	2
	.global	store_zeros
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_zeros, %function
store_zeros:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	b	.L17
.L18:
	ldr	r3, [fp, #-8]
	add	r2, r3, #4
	str	r2, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
.L17:
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	str	r2, [fp, #-12]
	cmp	r3, #0
	bne	.L18
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	store_zeros, .-store_zeros
	.section	.rodata
	.align	2
.LC19:
	.ascii	"%d\000"
	.align	2
.LC20:
	.ascii	"\000"
	.text
	.align	2
	.global	print_int_array
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_int_array, %function
print_int_array:
	@ 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]
	str	r1, [fp, #-12]
	b	.L20
.L21:
	ldr	r3, [fp, #-8]
	add	r2, r3, #4
	str	r2, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L22
	bl	printf
.L20:
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	str	r2, [fp, #-12]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L22+4
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC19
	.word	.LC20
	.size	print_int_array, .-print_int_array
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	inner_product
	.syntax unified
	.arm
	.fpu softvfp
	.type	inner_product, %function
inner_product:
	@ 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]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L25
.L26:
	ldr	r3, [fp, #-16]
	add	r2, r3, #8
	str	r2, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-20]
	add	r2, r3, #8
	str	r2, [fp, #-20]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
.L25:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bne	.L26
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	inner_product, .-inner_product
	.align	2
	.global	find_middle
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_middle, %function
find_middle:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	find_middle, .-find_middle
	.align	2
	.global	find_two_largest
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_two_largest, %function
find_two_largest:
	@ 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, #-28]
	mov	r2, #-2147483648
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	b	.L31
.L33:
	ldr	r3, [fp, #-16]
	add	r2, r3, #4
	str	r2, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L32
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	b	.L31
.L32:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L31
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L31:
	ldr	r3, [fp, #-20]
	sub	r2, r3, #1
	str	r2, [fp, #-20]
	cmp	r3, #0
	bne	.L33
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	find_two_largest, .-find_two_largest
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
