	.file	"843328.c"
	.intel_syntax noprefix
	.text
	.globl	frame_memory
	.bss
	.align 32
	.type	frame_memory, @object
	.size	frame_memory, 76032
frame_memory:
	.zero	76032
	.globl	trace_file
	.align 8
	.type	trace_file, @object
	.size	trace_file, 8
trace_file:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"ERROR: Frame type not defined!"
.LC1:
	.string	"%c %08x %d\n"
	.text
	.globl	frame_memory_read
	.type	frame_memory_read, @function
frame_memory_read:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	cmp	DWORD PTR -20[rbp], 5
	ja	.L2
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L9:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L10
.L8:
	mov	DWORD PTR -8[rbp], 25344
	jmp	.L10
.L7:
	mov	DWORD PTR -8[rbp], 31680
	jmp	.L10
.L6:
	mov	DWORD PTR -8[rbp], 38016
	jmp	.L10
.L5:
	mov	DWORD PTR -8[rbp], 63360
	jmp	.L10
.L3:
	mov	DWORD PTR -8[rbp], 69696
	jmp	.L10
.L2:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
.L10:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR trace_file[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	r8d, 1
	mov	ecx, edx
	mov	edx, 114
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	frame_memory_read, .-frame_memory_read
	.globl	frame_memory_write
	.type	frame_memory_write, @function
frame_memory_write:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	eax, ecx
	mov	BYTE PTR -36[rbp], al
	cmp	DWORD PTR -20[rbp], 5
	ja	.L13
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L15[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L15[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L15:
	.long	.L20-.L15
	.long	.L19-.L15
	.long	.L18-.L15
	.long	.L17-.L15
	.long	.L16-.L15
	.long	.L14-.L15
	.text
.L20:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L21
.L19:
	mov	DWORD PTR -8[rbp], 25344
	jmp	.L21
.L18:
	mov	DWORD PTR -8[rbp], 31680
	jmp	.L21
.L17:
	mov	DWORD PTR -8[rbp], 38016
	jmp	.L21
.L16:
	mov	DWORD PTR -8[rbp], 63360
	jmp	.L21
.L14:
	mov	DWORD PTR -8[rbp], 69696
	jmp	.L21
.L13:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
.L21:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR trace_file[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	r8d, 1
	mov	ecx, edx
	mov	edx, 119
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR -36[rbp]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	frame_memory_write, .-frame_memory_write
	.globl	get_image
	.type	get_image, @function
get_image:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	cmp	DWORD PTR -20[rbp], 5
	jg	.L24
	cmp	DWORD PTR -20[rbp], 4
	jge	.L25
	cmp	DWORD PTR -20[rbp], 3
	je	.L26
	cmp	DWORD PTR -20[rbp], 3
	jg	.L24
	cmp	DWORD PTR -20[rbp], 0
	je	.L26
	cmp	DWORD PTR -20[rbp], 0
	js	.L24
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cmp	eax, 1
	ja	.L24
	jmp	.L25
.L26:
	mov	DWORD PTR -4[rbp], 25344
	jmp	.L27
.L25:
	mov	DWORD PTR -4[rbp], 6336
	jmp	.L27
.L24:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
.L27:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	movzx	ecx, al
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, frame_memory[rip]
	mov	edi, eax
	call	frame_memory_write
	add	DWORD PTR -8[rbp], 1
.L28:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L29
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	get_image, .-get_image
	.section	.rodata
.LC2:
	.string	"rb"
.LC3:
	.string	"table_tennis_qcif_3frames.yuv"
.LC4:
	.string	"w"
.LC5:
	.string	"results.log"
.LC6:
	.string	"trace.log"
	.align 8
.LC7:
	.string	"\n************************************ FRAME No.%2d ************************************\n"
.LC8:
	.string	"MVs Table (MV_s,MV_y):\n"
.LC9:
	.string	"(%d,%d)\t"
.LC10:
	.string	"SAD_MB Table:\n"
.LC11:
	.string	"%d\t"
	.align 8
.LC12:
	.string	"***************************************************"
	.align 8
.LC13:
	.string	"Done! Simulation results have been successfully written to file: %s.\n\n\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 560
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -496[rbp], rax
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	call	fopen@PLT
	mov	QWORD PTR -488[rbp], rax
	lea	rsi, .LC4[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR trace_file[rip], rax
	mov	rax, QWORD PTR -496[rbp]
	mov	rdx, rax
	lea	rsi, frame_memory[rip]
	mov	edi, 0
	call	get_image
	mov	rax, QWORD PTR -496[rbp]
	mov	rdx, rax
	lea	rsi, frame_memory[rip]
	mov	edi, 1
	call	get_image
	mov	rax, QWORD PTR -496[rbp]
	mov	rdx, rax
	lea	rsi, frame_memory[rip]
	mov	edi, 2
	call	get_image
	mov	WORD PTR -550[rbp], 1
	jmp	.L31
.L59:
	movsx	edx, WORD PTR -550[rbp]
	mov	rax, QWORD PTR -488[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -416[rbp]
	mov	edx, 396
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -496[rbp]
	mov	rdx, rax
	lea	rsi, frame_memory[rip]
	mov	edi, 3
	call	get_image
	mov	rax, QWORD PTR -496[rbp]
	mov	rdx, rax
	lea	rsi, frame_memory[rip]
	mov	edi, 4
	call	get_image
	mov	rax, QWORD PTR -496[rbp]
	mov	rdx, rax
	lea	rsi, frame_memory[rip]
	mov	edi, 5
	call	get_image
	mov	DWORD PTR -532[rbp], 0
	jmp	.L32
.L44:
	mov	DWORD PTR -528[rbp], 0
	jmp	.L33
.L43:
	mov	eax, DWORD PTR -532[rbp]
	sal	eax, 4
	mov	DWORD PTR -448[rbp], eax
	mov	eax, DWORD PTR -528[rbp]
	sal	eax, 4
	mov	DWORD PTR -444[rbp], eax
	mov	eax, DWORD PTR -532[rbp]
	sal	eax, 4
	add	eax, 15
	mov	DWORD PTR -440[rbp], eax
	mov	eax, DWORD PTR -528[rbp]
	sal	eax, 4
	add	eax, 15
	mov	DWORD PTR -436[rbp], eax
	mov	eax, DWORD PTR -532[rbp]
	sal	eax, 4
	mov	edx, 8
	cmp	eax, 8
	cmovl	eax, edx
	sub	eax, 8
	mov	DWORD PTR -480[rbp], eax
	mov	eax, DWORD PTR -528[rbp]
	sal	eax, 4
	mov	edx, 8
	cmp	eax, 8
	cmovl	eax, edx
	sub	eax, 8
	mov	DWORD PTR -476[rbp], eax
	mov	eax, DWORD PTR -532[rbp]
	sal	eax, 4
	mov	edx, 121
	cmp	eax, 121
	cmovg	eax, edx
	add	eax, 23
	mov	DWORD PTR -472[rbp], eax
	mov	eax, DWORD PTR -528[rbp]
	sal	eax, 4
	mov	edx, 153
	cmp	eax, 153
	cmovg	eax, edx
	add	eax, 23
	mov	DWORD PTR -468[rbp], eax
	mov	eax, DWORD PTR -532[rbp]
	sal	eax, 4
	mov	DWORD PTR -464[rbp], eax
	mov	eax, DWORD PTR -528[rbp]
	sal	eax, 4
	mov	DWORD PTR -460[rbp], eax
	mov	DWORD PTR -540[rbp], 2147483647
	mov	eax, DWORD PTR -480[rbp]
	mov	DWORD PTR -524[rbp], eax
	jmp	.L34
.L42:
	mov	eax, DWORD PTR -476[rbp]
	mov	DWORD PTR -520[rbp], eax
	jmp	.L35
.L41:
	mov	DWORD PTR -536[rbp], 0
	mov	DWORD PTR -516[rbp], 0
	jmp	.L36
.L39:
	mov	DWORD PTR -512[rbp], 0
	jmp	.L37
.L38:
	mov	edx, DWORD PTR -448[rbp]
	mov	eax, DWORD PTR -516[rbp]
	add	eax, edx
	imul	eax, eax, 176
	mov	ecx, DWORD PTR -444[rbp]
	mov	edx, DWORD PTR -512[rbp]
	add	edx, ecx
	add	eax, edx
	mov	edx, eax
	lea	rsi, frame_memory[rip]
	mov	edi, 3
	call	frame_memory_read
	movzx	eax, al
	mov	DWORD PTR -508[rbp], eax
	mov	edx, DWORD PTR -524[rbp]
	mov	eax, DWORD PTR -516[rbp]
	add	eax, edx
	imul	edx, eax, 176
	mov	eax, DWORD PTR -520[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -512[rbp]
	add	eax, edx
	mov	edx, eax
	lea	rsi, frame_memory[rip]
	mov	edi, 0
	call	frame_memory_read
	movzx	eax, al
	mov	DWORD PTR -504[rbp], eax
	mov	eax, DWORD PTR -508[rbp]
	sub	eax, DWORD PTR -504[rbp]
	mov	DWORD PTR -500[rbp], eax
	mov	eax, DWORD PTR -500[rbp]
	cdq
	mov	eax, edx
	xor	eax, DWORD PTR -500[rbp]
	sub	eax, edx
	add	DWORD PTR -536[rbp], eax
	add	DWORD PTR -512[rbp], 1
.L37:
	cmp	DWORD PTR -512[rbp], 15
	jle	.L38
	add	DWORD PTR -516[rbp], 1
.L36:
	cmp	DWORD PTR -516[rbp], 15
	jle	.L39
	mov	eax, DWORD PTR -536[rbp]
	cmp	eax, DWORD PTR -540[rbp]
	jg	.L40
	mov	eax, DWORD PTR -536[rbp]
	mov	DWORD PTR -540[rbp], eax
	mov	eax, DWORD PTR -520[rbp]
	mov	DWORD PTR -548[rbp], eax
	mov	eax, DWORD PTR -524[rbp]
	mov	DWORD PTR -544[rbp], eax
.L40:
	add	DWORD PTR -520[rbp], 1
.L35:
	mov	eax, DWORD PTR -468[rbp]
	sub	eax, 14
	cmp	DWORD PTR -520[rbp], eax
	jl	.L41
	add	DWORD PTR -524[rbp], 1
.L34:
	mov	eax, DWORD PTR -472[rbp]
	sub	eax, 14
	cmp	DWORD PTR -524[rbp], eax
	jl	.L42
	mov	eax, DWORD PTR -540[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -528[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -532[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	mov	WORD PTR -414[rbp+rax*4], cx
	mov	eax, DWORD PTR -548[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -460[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	ecx, eax
	mov	eax, DWORD PTR -528[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -532[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	mov	BYTE PTR -416[rbp+rax*4], cl
	mov	eax, DWORD PTR -544[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -464[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	ecx, eax
	mov	eax, DWORD PTR -528[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -532[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	mov	BYTE PTR -415[rbp+rax*4], cl
	add	DWORD PTR -528[rbp], 1
.L33:
	cmp	DWORD PTR -528[rbp], 10
	jle	.L43
	add	DWORD PTR -532[rbp], 1
.L32:
	cmp	DWORD PTR -532[rbp], 8
	jle	.L44
	mov	rax, QWORD PTR -488[rbp]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	DWORD PTR -532[rbp], 0
	jmp	.L45
.L49:
	mov	DWORD PTR -528[rbp], 0
	jmp	.L46
.L48:
	mov	eax, DWORD PTR -528[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -532[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movzx	eax, BYTE PTR -415[rbp+rax*4]
	movsx	ecx, al
	mov	eax, DWORD PTR -528[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -532[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	movzx	eax, BYTE PTR -416[rbp+rax*4]
	movsx	edx, al
	mov	rax, QWORD PTR -488[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -528[rbp], 10
	jne	.L47
	mov	rax, QWORD PTR -488[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L47:
	add	DWORD PTR -528[rbp], 1
.L46:
	cmp	DWORD PTR -528[rbp], 10
	jle	.L48
	add	DWORD PTR -532[rbp], 1
.L45:
	cmp	DWORD PTR -532[rbp], 8
	jle	.L49
	mov	rax, QWORD PTR -488[rbp]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	DWORD PTR -532[rbp], 0
	jmp	.L50
.L54:
	mov	DWORD PTR -528[rbp], 0
	jmp	.L51
.L53:
	mov	eax, DWORD PTR -528[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -532[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movzx	eax, WORD PTR -414[rbp+rax*4]
	movzx	edx, ax
	mov	rax, QWORD PTR -488[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -528[rbp], 10
	jne	.L52
	mov	rax, QWORD PTR -488[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L52:
	add	DWORD PTR -528[rbp], 1
.L51:
	cmp	DWORD PTR -528[rbp], 10
	jle	.L53
	add	DWORD PTR -532[rbp], 1
.L50:
	cmp	DWORD PTR -532[rbp], 8
	jle	.L54
	mov	WORD PTR -550[rbp], 0
	jmp	.L55
.L56:
	movsx	eax, WORD PTR -550[rbp]
	mov	edx, eax
	lea	rsi, frame_memory[rip]
	mov	edi, 3
	call	frame_memory_read
	movzx	edx, al
	movsx	eax, WORD PTR -550[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, frame_memory[rip]
	mov	edi, 0
	call	frame_memory_write
	movzx	eax, WORD PTR -550[rbp]
	add	eax, 1
	mov	WORD PTR -550[rbp], ax
.L55:
	cmp	WORD PTR -550[rbp], 25343
	jle	.L56
	mov	WORD PTR -550[rbp], 0
	jmp	.L57
.L58:
	movsx	eax, WORD PTR -550[rbp]
	mov	edx, eax
	lea	rsi, frame_memory[rip]
	mov	edi, 4
	call	frame_memory_read
	movzx	edx, al
	movsx	eax, WORD PTR -550[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, frame_memory[rip]
	mov	edi, 1
	call	frame_memory_write
	movsx	eax, WORD PTR -550[rbp]
	mov	edx, eax
	lea	rsi, frame_memory[rip]
	mov	edi, 5
	call	frame_memory_read
	movzx	edx, al
	movsx	eax, WORD PTR -550[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, frame_memory[rip]
	mov	edi, 2
	call	frame_memory_write
	movzx	eax, WORD PTR -550[rbp]
	add	eax, 1
	mov	WORD PTR -550[rbp], ax
.L57:
	cmp	WORD PTR -550[rbp], 6335
	jle	.L58
	movzx	eax, WORD PTR -550[rbp]
	add	eax, 1
	mov	WORD PTR -550[rbp], ax
.L31:
	cmp	WORD PTR -550[rbp], 1
	jle	.L59
	mov	rax, QWORD PTR -496[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -488[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rsi, .LC5[rip]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"843328.c"
	.text
	.comm	frame_memory,76032,4
	.comm	trace_file,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ERROR: Frame type not defined!\000"
	.align	2
.LC1:
	.ascii	"%c %08x %d\012\000"
	.text
	.align	2
	.global	frame_memory_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	frame_memory_read, %function
frame_memory_read:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L9:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L10
.L8:
	mov	r3, #25344
	str	r3, [fp, #-12]
	b	.L10
.L7:
	ldr	r3, .L12
	str	r3, [fp, #-12]
	b	.L10
.L6:
	ldr	r3, .L12+4
	str	r3, [fp, #-12]
	b	.L10
.L5:
	ldr	r3, .L12+8
	str	r3, [fp, #-12]
	b	.L10
.L3:
	ldr	r3, .L12+12
	str	r3, [fp, #-12]
	b	.L10
.L2:
	ldr	r0, .L12+16
	bl	puts
	nop
.L10:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L12+20
	ldr	r0, [r3]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	mov	r2, #114
	ldr	r1, .L12+24
	bl	fprintf
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	31680
	.word	38016
	.word	63360
	.word	69696
	.word	.LC0
	.word	trace_file
	.word	.LC1
	.size	frame_memory_read, .-frame_memory_read
	.align	2
	.global	frame_memory_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	frame_memory_write, %function
frame_memory_write:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L15
.L17:
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L16
.L22:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L23
.L21:
	mov	r3, #25344
	str	r3, [fp, #-12]
	b	.L23
.L20:
	ldr	r3, .L25
	str	r3, [fp, #-12]
	b	.L23
.L19:
	ldr	r3, .L25+4
	str	r3, [fp, #-12]
	b	.L23
.L18:
	ldr	r3, .L25+8
	str	r3, [fp, #-12]
	b	.L23
.L16:
	ldr	r3, .L25+12
	str	r3, [fp, #-12]
	b	.L23
.L15:
	ldr	r0, .L25+16
	bl	puts
	nop
.L23:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L25+20
	ldr	r0, [r3]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	mov	r2, #119
	ldr	r1, .L25+24
	bl	fprintf
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [fp, #-25]
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	31680
	.word	38016
	.word	63360
	.word	69696
	.word	.LC0
	.word	trace_file
	.word	.LC1
	.size	frame_memory_write, .-frame_memory_write
	.align	2
	.global	get_image
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_image, %function
get_image:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L28
.L30:
	.word	.L31
	.word	.L29
	.word	.L29
	.word	.L31
	.word	.L29
	.word	.L29
.L31:
	mov	r3, #25344
	str	r3, [fp, #-8]
	b	.L32
.L29:
	mov	r3, #6336
	str	r3, [fp, #-8]
	b	.L32
.L28:
	ldr	r0, .L35
	bl	puts
	nop
.L32:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L33
.L34:
	ldr	r0, [fp, #-24]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	ldr	r2, [fp, #-12]
	ldr	r1, .L35+4
	ldr	r0, [fp, #-16]
	bl	frame_memory_write
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L33:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L34
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC0
	.word	frame_memory
	.size	get_image, .-get_image
	.section	.rodata
	.align	2
.LC2:
	.ascii	"rb\000"
	.align	2
.LC3:
	.ascii	"table_tennis_qcif_3frames.yuv\000"
	.align	2
.LC4:
	.ascii	"w\000"
	.align	2
.LC5:
	.ascii	"results.log\000"
	.align	2
.LC6:
	.ascii	"trace.log\000"
	.align	2
.LC7:
	.ascii	"\012************************************ FRAME No.%"
	.ascii	"2d ************************************\012\000"
	.align	2
.LC8:
	.ascii	"MVs Table (MV_s,MV_y):\012\000"
	.align	2
.LC9:
	.ascii	"(%d,%d)\011\000"
	.align	2
.LC10:
	.ascii	"SAD_MB Table:\012\000"
	.align	2
.LC11:
	.ascii	"%d\011\000"
	.align	2
.LC12:
	.ascii	"***************************************************"
	.ascii	"\000"
	.align	2
.LC13:
	.ascii	"Done! Simulation results have been successfully wri"
	.ascii	"tten to file: %s.\012\012\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 512
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #516
	ldr	r3, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L69+4
	ldr	r0, .L69+8
	bl	fopen
	str	r0, [fp, #-480]
	ldr	r1, .L69+12
	ldr	r0, .L69+16
	bl	fopen
	str	r0, [fp, #-476]
	ldr	r1, .L69+12
	ldr	r0, .L69+20
	bl	fopen
	mov	r3, r0
	ldr	r2, .L69+24
	str	r3, [r2]
	ldr	r2, [fp, #-480]
	ldr	r1, .L69+28
	mov	r0, #0
	bl	get_image
	ldr	r2, [fp, #-480]
	ldr	r1, .L69+28
	mov	r0, #1
	bl	get_image
	ldr	r2, [fp, #-480]
	ldr	r1, .L69+28
	mov	r0, #2
	bl	get_image
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	b	.L38
.L66:
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r1, .L69+32
	ldr	r0, [fp, #-476]
	bl	fprintf
	sub	r3, fp, #412
	mov	r2, #396
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r2, [fp, #-480]
	ldr	r1, .L69+28
	mov	r0, #3
	bl	get_image
	ldr	r2, [fp, #-480]
	ldr	r1, .L69+28
	mov	r0, #4
	bl	get_image
	ldr	r2, [fp, #-480]
	ldr	r1, .L69+28
	mov	r0, #5
	bl	get_image
	mov	r3, #0
	str	r3, [fp, #-504]
	b	.L39
.L51:
	mov	r3, #0
	str	r3, [fp, #-500]
	b	.L40
.L50:
	ldr	r3, [fp, #-504]
	lsl	r3, r3, #4
	str	r3, [fp, #-436]
	ldr	r3, [fp, #-500]
	lsl	r3, r3, #4
	str	r3, [fp, #-432]
	ldr	r3, [fp, #-504]
	lsl	r3, r3, #4
	add	r3, r3, #15
	str	r3, [fp, #-428]
	ldr	r3, [fp, #-500]
	lsl	r3, r3, #4
	add	r3, r3, #15
	str	r3, [fp, #-424]
	ldr	r3, [fp, #-504]
	lsl	r3, r3, #4
	cmp	r3, #8
	movge	r3, r3
	movlt	r3, #8
	sub	r3, r3, #8
	str	r3, [fp, #-460]
	ldr	r3, [fp, #-500]
	lsl	r3, r3, #4
	cmp	r3, #8
	movge	r3, r3
	movlt	r3, #8
	sub	r3, r3, #8
	str	r3, [fp, #-456]
	ldr	r3, [fp, #-504]
	lsl	r3, r3, #4
	cmp	r3, #121
	movlt	r3, r3
	movge	r3, #121
	add	r3, r3, #23
	str	r3, [fp, #-452]
	ldr	r3, [fp, #-500]
	lsl	r3, r3, #4
	cmp	r3, #153
	movlt	r3, r3
	movge	r3, #153
	add	r3, r3, #23
	str	r3, [fp, #-448]
	ldr	r3, [fp, #-504]
	lsl	r3, r3, #4
	str	r3, [fp, #-444]
	ldr	r3, [fp, #-500]
	lsl	r3, r3, #4
	str	r3, [fp, #-440]
	mvn	r3, #-2147483648
	str	r3, [fp, #-512]
	ldr	r3, [fp, #-460]
	str	r3, [fp, #-496]
	b	.L41
.L49:
	ldr	r3, [fp, #-456]
	str	r3, [fp, #-492]
	b	.L42
.L48:
	mov	r3, #0
	str	r3, [fp, #-508]
	mov	r3, #0
	str	r3, [fp, #-488]
	b	.L43
.L46:
	mov	r3, #0
	str	r3, [fp, #-484]
	b	.L44
.L45:
	ldr	r2, [fp, #-436]
	ldr	r3, [fp, #-488]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r1, r3
	ldr	r2, [fp, #-432]
	ldr	r3, [fp, #-484]
	add	r3, r2, r3
	add	r3, r1, r3
	mov	r2, r3
	ldr	r1, .L69+28
	mov	r0, #3
	bl	frame_memory_read
	mov	r3, r0
	str	r3, [fp, #-472]
	ldr	r2, [fp, #-496]
	ldr	r3, [fp, #-488]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-492]
	add	r2, r2, r3
	ldr	r3, [fp, #-484]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L69+28
	mov	r0, #0
	bl	frame_memory_read
	mov	r3, r0
	str	r3, [fp, #-468]
	ldr	r2, [fp, #-472]
	ldr	r3, [fp, #-468]
	sub	r3, r2, r3
	str	r3, [fp, #-464]
	ldr	r3, [fp, #-464]
	cmp	r3, #0
	rsblt	r3, r3, #0
	ldr	r2, [fp, #-508]
	add	r3, r2, r3
	str	r3, [fp, #-508]
	ldr	r3, [fp, #-484]
	add	r3, r3, #1
	str	r3, [fp, #-484]
.L44:
	ldr	r3, [fp, #-484]
	cmp	r3, #15
	ble	.L45
	ldr	r3, [fp, #-488]
	add	r3, r3, #1
	str	r3, [fp, #-488]
.L43:
	ldr	r3, [fp, #-488]
	cmp	r3, #15
	ble	.L46
	ldr	r2, [fp, #-508]
	ldr	r3, [fp, #-512]
	cmp	r2, r3
	bgt	.L47
	ldr	r3, [fp, #-508]
	str	r3, [fp, #-512]
	ldr	r3, [fp, #-492]
	str	r3, [fp, #-520]
	ldr	r3, [fp, #-496]
	str	r3, [fp, #-516]
.L47:
	ldr	r3, [fp, #-492]
	add	r3, r3, #1
	str	r3, [fp, #-492]
.L42:
	ldr	r3, [fp, #-448]
	sub	r3, r3, #14
	ldr	r2, [fp, #-492]
	cmp	r2, r3
	blt	.L48
	ldr	r3, [fp, #-496]
	add	r3, r3, #1
	str	r3, [fp, #-496]
.L41:
	ldr	r3, [fp, #-452]
	sub	r3, r3, #14
	ldr	r2, [fp, #-496]
	cmp	r2, r3
	blt	.L49
	ldr	r3, [fp, #-512]
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	sub	r3, fp, #12
	sub	r0, r3, #400
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-500]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #2
	strh	r1, [r3]	@ movhi
	ldr	r3, [fp, #-520]
	and	r2, r3, #255
	ldr	r3, [fp, #-440]
	and	r3, r3, #255
	sub	r3, r2, r3
	and	r1, r3, #255
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-500]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #-400]
	ldr	r3, [fp, #-516]
	and	r2, r3, #255
	ldr	r3, [fp, #-444]
	and	r3, r3, #255
	sub	r3, r2, r3
	and	r1, r3, #255
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-500]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #-399]
	ldr	r3, [fp, #-500]
	add	r3, r3, #1
	str	r3, [fp, #-500]
.L40:
	ldr	r3, [fp, #-500]
	cmp	r3, #10
	ble	.L50
	ldr	r3, [fp, #-504]
	add	r3, r3, #1
	str	r3, [fp, #-504]
.L39:
	ldr	r3, [fp, #-504]
	cmp	r3, #8
	ble	.L51
	ldr	r3, [fp, #-476]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L69+36
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-504]
	b	.L52
.L56:
	mov	r3, #0
	str	r3, [fp, #-500]
	b	.L53
.L55:
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-500]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-400]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-500]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-399]	@ zero_extendqisi2
	mov	r2, r1
	ldr	r1, .L69+40
	ldr	r0, [fp, #-476]
	bl	fprintf
	ldr	r3, [fp, #-500]
	cmp	r3, #10
	bne	.L54
	ldr	r1, [fp, #-476]
	mov	r0, #10
	bl	fputc
.L54:
	ldr	r3, [fp, #-500]
	add	r3, r3, #1
	str	r3, [fp, #-500]
.L53:
	ldr	r3, [fp, #-500]
	cmp	r3, #10
	ble	.L55
	ldr	r3, [fp, #-504]
	add	r3, r3, #1
	str	r3, [fp, #-504]
.L52:
	ldr	r3, [fp, #-504]
	cmp	r3, #8
	ble	.L56
	ldr	r3, [fp, #-476]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L69+44
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-504]
	b	.L57
.L61:
	mov	r3, #0
	str	r3, [fp, #-500]
	b	.L58
.L60:
	sub	r3, fp, #12
	sub	r1, r3, #400
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-500]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r1, .L69+48
	ldr	r0, [fp, #-476]
	bl	fprintf
	ldr	r3, [fp, #-500]
	cmp	r3, #10
	bne	.L59
	ldr	r1, [fp, #-476]
	mov	r0, #10
	bl	fputc
.L59:
	ldr	r3, [fp, #-500]
	add	r3, r3, #1
	str	r3, [fp, #-500]
.L58:
	ldr	r3, [fp, #-500]
	cmp	r3, #10
	ble	.L60
	ldr	r3, [fp, #-504]
	add	r3, r3, #1
	str	r3, [fp, #-504]
.L57:
	ldr	r3, [fp, #-504]
	cmp	r3, #8
	ble	.L61
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L62
.L63:
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r4, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r1, .L69+28
	mov	r0, #3
	bl	frame_memory_read
	mov	r3, r0
	mov	r2, r4
	ldr	r1, .L69+28
	mov	r0, #0
	bl	frame_memory_write
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
.L62:
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	cmp	r3, #25344
	blt	.L63
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L64
.L65:
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r4, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r1, .L69+28
	mov	r0, #4
	bl	frame_memory_read
	mov	r3, r0
	mov	r2, r4
	ldr	r1, .L69+28
	mov	r0, #1
	bl	frame_memory_write
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r4, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r1, .L69+28
	mov	r0, #5
	bl	frame_memory_read
	mov	r3, r0
	mov	r2, r4
	ldr	r1, .L69+28
	mov	r0, #2
	bl	frame_memory_write
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
.L64:
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	cmp	r3, #6336
	blt	.L65
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
.L38:
	sub	r3, fp, #12
	sub	r3, r3, #508
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	cmp	r3, #1
	ble	.L66
	ldr	r0, [fp, #-480]
	bl	fclose
	ldr	r0, [fp, #-476]
	bl	fclose
	ldr	r0, .L69+52
	bl	puts
	ldr	r1, .L69+16
	ldr	r0, .L69+56
	bl	printf
	mov	r3, #0
	ldr	r2, .L69
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L68
	bl	__stack_chk_fail
.L68:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC14
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	trace_file
	.word	frame_memory
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
