	.file	"295492.c"
	.intel_syntax noprefix
	.text
	.globl	buf_offset
	.bss
	.align 4
	.type	buf_offset, @object
	.size	buf_offset, 4
buf_offset:
	.zero	4
	.globl	buf_size
	.align 4
	.type	buf_size, @object
	.size	buf_size, 4
buf_size:
	.zero	4
	.globl	frame_header_size
	.align 4
	.type	frame_header_size, @object
	.size	frame_header_size, 4
frame_header_size:
	.zero	4
	.globl	data_offset
	.align 4
	.type	data_offset, @object
	.size	data_offset, 4
data_offset:
	.zero	4
	.globl	lowres_byte
	.align 4
	.type	lowres_byte, @object
	.size	lowres_byte, 4
lowres_byte:
	.zero	4
	.globl	highres_byte
	.align 4
	.type	highres_byte, @object
	.size	highres_byte, 4
highres_byte:
	.zero	4
	.globl	IDR
	.data
	.type	IDR, @object
	.size	IDR, 2
IDR:
	.ascii	"e\270"
	.globl	NAL_START
	.type	NAL_START, @object
	.size	NAL_START, 4
NAL_START:
	.string	""
	.string	""
	.string	""
	.ascii	"\001"
	.globl	IDR_START
	.type	IDR_START, @object
	.size	IDR_START, 6
IDR_START:
	.string	""
	.string	""
	.string	""
	.ascii	"\001e\210"
	.globl	PFR_START
	.type	PFR_START, @object
	.size	PFR_START, 5
PFR_START:
	.string	""
	.string	""
	.string	""
	.ascii	"\001A"
	.globl	SPS_START
	.type	SPS_START, @object
	.size	SPS_START, 5
SPS_START:
	.string	""
	.string	""
	.string	""
	.ascii	"\001g"
	.globl	PPS_START
	.type	PPS_START, @object
	.size	PPS_START, 5
PPS_START:
	.string	""
	.string	""
	.string	""
	.ascii	"\001h"
	.globl	SPS_640X360
	.align 16
	.type	SPS_640X360, @object
	.size	SPS_640X360, 19
SPS_640X360:
	.string	""
	.string	""
	.string	""
	.string	"\001gM"
	.ascii	"\024\226T\005\001{\3137\001\001\001\002"
	.globl	SPS_640X360_TI
	.align 16
	.type	SPS_640X360_TI, @object
	.size	SPS_640X360_TI, 27
SPS_640X360_TI:
	.string	""
	.string	""
	.string	""
	.string	"\001gM"
	.string	"\024\226T\005\001{\3137\001\001\001@"
	.string	""
	.string	"}"
	.string	""
	.ascii	"\023\210!"
	.globl	SPS_1920X1080
	.align 16
	.type	SPS_1920X1080, @object
	.size	SPS_1920X1080, 20
SPS_1920X1080:
	.string	""
	.string	""
	.string	""
	.string	"\001gM"
	.ascii	" \226T\003\300\021/,\334\004\004\004\b"
	.globl	SPS_1920X1080_TI
	.align 16
	.type	SPS_1920X1080_TI, @object
	.size	SPS_1920X1080_TI, 29
SPS_1920X1080_TI:
	.string	""
	.string	""
	.string	""
	.string	"\001gM"
	.string	" \226T\003\300\021/,\334\004\004\005"
	.string	""
	.string	"\003\001\364"
	.string	""
	.ascii	"N \204"
	.globl	addr
	.bss
	.align 8
	.type	addr, @object
	.size	addr, 8
addr:
	.zero	8
	.globl	resolution
	.align 4
	.type	resolution, @object
	.size	resolution, 4
resolution:
	.zero	4
	.globl	sps_timing_info
	.align 4
	.type	sps_timing_info, @object
	.size	sps_timing_info, 4
sps_timing_info:
	.zero	4
	.globl	debug
	.align 4
	.type	debug, @object
	.size	debug, 4
debug:
	.zero	4
	.text
	.globl	current_timestamp
	.type	current_timestamp, @function
current_timestamp:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	imul	rsi, rax, 1000
	mov	rcx, QWORD PTR -24[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	add	rax, rsi
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	current_timestamp, .-current_timestamp
	.globl	cb_memmem
	.type	cb_memmem, @function
cb_memmem:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	cmp	DWORD PTR -28[rbp], 0
	js	.L5
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	memmem@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rdx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rdx
	sub	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	memmem@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L6
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	rsi, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_offset[rip]
	cdqe
	add	rsi, rax
	mov	rax, rcx
	sub	rax, rsi
	mov	rsi, rax
	mov	rcx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_offset[rip]
	cdqe
	lea	rdi, [rcx+rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	memmem@PLT
	mov	QWORD PTR -8[rbp], rax
.L6:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cb_memmem, .-cb_memmem
	.globl	cb_move
	.type	cb_move, @function
cb_move:
.LFB8:
	.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]
	cdqe
	add	QWORD PTR -8[rbp], rax
	cmp	DWORD PTR -12[rbp], 0
	jle	.L9
	mov	rdx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rdx
	cmp	QWORD PTR -8[rbp], rax
	jbe	.L9
	mov	eax, DWORD PTR buf_size[rip]
	mov	edx, DWORD PTR buf_offset[rip]
	sub	eax, edx
	cdqe
	neg	rax
	add	QWORD PTR -8[rbp], rax
.L9:
	cmp	DWORD PTR -12[rbp], 0
	jns	.L10
	mov	rdx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_offset[rip]
	cdqe
	add	rax, rdx
	cmp	QWORD PTR -8[rbp], rax
	jnb	.L10
	mov	eax, DWORD PTR buf_size[rip]
	mov	edx, DWORD PTR buf_offset[rip]
	sub	eax, edx
	cdqe
	add	QWORD PTR -8[rbp], rax
.L10:
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cb_move, .-cb_move
	.globl	cb_memcmp
	.type	cb_memcmp, @function
cb_memcmp:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rcx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rcx
	cmp	rdx, rax
	jbe	.L13
	mov	rdx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rdx
	sub	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L14
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L15
.L14:
	mov	rdx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rdx
	sub	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	rcx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_offset[rip]
	cdqe
	add	rcx, rax
	mov	rsi, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rsi
	sub	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L16
.L13:
	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	memcmp@PLT
	mov	DWORD PTR -4[rbp], eax
.L16:
	mov	eax, DWORD PTR -4[rbp]
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	cb_memcmp, .-cb_memcmp
	.globl	cb2s_memcpy
	.type	cb2s_memcpy, @function
cb2s_memcpy:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	rcx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rcx
	cmp	rdx, rax
	jbe	.L18
	mov	rdx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rdx
	sub	rax, QWORD PTR -16[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rdx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rdx
	sub	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	rcx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_offset[rip]
	cdqe
	add	rcx, rax
	mov	rsi, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rsi
	sub	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	jmp	.L20
.L18:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L20:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	cb2s_memcpy, .-cb2s_memcpy
	.section	.rodata
.LC0:
	.string	"\nUsage: %s [-r RES] [-d]\n\n"
.LC1:
	.string	"\t-m MODEL, --model MODEL\n"
	.align 8
.LC2:
	.string	"\t\tset model: y20ga, y25ga or y30qa (default y20ga)\n"
.LC3:
	.string	"\t-r RES, --resolution RES\n"
	.align 8
.LC4:
	.string	"\t\tset resolution: LOW or HIGH (default HIGH)\n"
.LC5:
	.string	"\t-s, --sti\n"
	.align 8
.LC6:
	.string	"\t\tdon't overwrite SPS timing info (default overwrite)\n"
.LC7:
	.string	"\t-d, --debug\n"
.LC8:
	.string	"\t\tenable debug\n"
	.text
	.globl	print_usage
	.type	print_usage, @function
print_usage:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 54
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	print_usage, .-print_usage
	.section	.rodata
.LC9:
	.string	"m:r:sdh"
.LC10:
	.string	"y20ga"
.LC11:
	.string	"y25ga"
.LC12:
	.string	"y30qa"
.LC13:
	.string	"low"
.LC14:
	.string	"high"
.LC15:
	.string	"debug on\n"
.LC16:
	.string	"r"
.LC17:
	.string	"/dev/shm/fshare_frame_buf"
	.align 8
.LC18:
	.string	"error - could not open file %s\n"
.LC19:
	.string	"error - mapping file %s\n"
	.align 8
.LC20:
	.string	"mapping file %s, size %d, to %08x\n"
.LC21:
	.string	"closing the file %s\n"
.LC22:
	.string	"starting capture main loop\n"
	.align 8
.LC23:
	.string	"%lld: warning - incorrect frame counter - frame_counter: %d - frame_counter_last_valid: %d\n"
.LC24:
	.string	"%lld: error - sync lost\n"
	.align 8
.LC25:
	.string	"%lld: SPS   detected - frame_len: %d - frame_counter: %d - frame_counter_last_valid: %d - resolution: %d\n"
	.align 8
.LC26:
	.string	"%lld: warning - unexpected NALU header\n"
	.align 8
.LC27:
	.string	"%lld: frame detected - frame_len: %d - frame_counter: %d - frame_counter_last_valid: %d - resolution: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -24
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -80[rbp], 0
	mov	DWORD PTR -112[rbp], -1
	mov	DWORD PTR -108[rbp], -1
	mov	DWORD PTR -104[rbp], 0
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR resolution[rip], 1080
	mov	DWORD PTR sps_timing_info[rip], 1
	mov	DWORD PTR debug[rip], 0
	mov	DWORD PTR buf_offset[rip], 300
	mov	DWORD PTR buf_size[rip], 1786156
	mov	DWORD PTR frame_header_size[rip], 22
	mov	DWORD PTR data_offset[rip], 0
	mov	DWORD PTR lowres_byte[rip], 8
	mov	DWORD PTR highres_byte[rip], 4
.L41:
	mov	DWORD PTR -128[rbp], 0
	lea	rdx, -128[rbp]
	mov	rsi, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	r8, rdx
	lea	rcx, long_options.0[rip]
	lea	rdx, .LC9[rip]
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], -1
	jne	.L23
	mov	eax, DWORD PTR frame_header_size[rip]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	lea	rax, SPS_1920X1080[rip]
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -116[rbp], 20
	mov	eax, DWORD PTR resolution[rip]
	cmp	eax, 360
	je	.L24
	jmp	.L94
.L23:
	cmp	DWORD PTR -92[rbp], 63
	je	.L95
	cmp	DWORD PTR -92[rbp], 63
	jl	.L27
	cmp	DWORD PTR -92[rbp], 115
	jg	.L27
	cmp	DWORD PTR -92[rbp], 100
	jl	.L27
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 100
	cmp	eax, 15
	ja	.L27
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L29[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L29[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L29:
	.long	.L33-.L29
	.long	.L27-.L29
	.long	.L27-.L29
	.long	.L27-.L29
	.long	.L32-.L29
	.long	.L27-.L29
	.long	.L27-.L29
	.long	.L27-.L29
	.long	.L27-.L29
	.long	.L31-.L29
	.long	.L27-.L29
	.long	.L27-.L29
	.long	.L27-.L29
	.long	.L27-.L29
	.long	.L30-.L29
	.long	.L28-.L29
	.text
.L31:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L34
	mov	DWORD PTR buf_offset[rip], 300
	mov	DWORD PTR buf_size[rip], 1786156
	mov	DWORD PTR frame_header_size[rip], 22
	mov	DWORD PTR data_offset[rip], 0
	mov	DWORD PTR lowres_byte[rip], 8
	mov	DWORD PTR highres_byte[rip], 4
	jmp	.L96
.L34:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L36
	mov	DWORD PTR buf_offset[rip], 300
	mov	DWORD PTR buf_size[rip], 1786156
	mov	DWORD PTR frame_header_size[rip], 22
	mov	DWORD PTR data_offset[rip], 0
	mov	DWORD PTR lowres_byte[rip], 8
	mov	DWORD PTR highres_byte[rip], 4
	jmp	.L96
.L36:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L96
	mov	DWORD PTR buf_offset[rip], 300
	mov	DWORD PTR buf_size[rip], 2310444
	mov	DWORD PTR frame_header_size[rip], 22
	mov	DWORD PTR data_offset[rip], 0
	mov	DWORD PTR lowres_byte[rip], 8
	mov	DWORD PTR highres_byte[rip], 4
	jmp	.L96
.L30:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L38
	mov	DWORD PTR resolution[rip], 360
	jmp	.L97
.L38:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L97
	mov	DWORD PTR resolution[rip], 1080
	jmp	.L97
.L28:
	mov	DWORD PTR sps_timing_info[rip], 0
	jmp	.L37
.L33:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 9
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	DWORD PTR debug[rip], 1
	jmp	.L37
.L32:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	print_usage
	mov	eax, -1
	jmp	.L92
.L27:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	print_usage
	mov	eax, -1
	jmp	.L92
.L95:
	nop
	jmp	.L41
.L96:
	nop
	jmp	.L41
.L97:
	nop
.L37:
	jmp	.L41
.L24:
	lea	rax, SPS_640X360[rip]
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -116[rbp], 19
	jmp	.L43
.L94:
	mov	eax, DWORD PTR resolution[rip]
	cmp	eax, 1080
	jne	.L43
	lea	rax, SPS_1920X1080[rip]
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -116[rbp], 20
.L43:
	lea	rsi, .LC16[rip]
	lea	rdi, .LC17[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L44
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC17[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L92
.L44:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, eax
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	mov	r9d, 0
	mov	r8d, edx
	mov	ecx, 1
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR addr[rip], rax
	mov	rax, QWORD PTR addr[rip]
	cmp	rax, -1
	jne	.L45
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC17[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -2
	jmp	.L92
.L45:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L46
	mov	rax, QWORD PTR addr[rip]
	mov	ecx, eax
	mov	edx, DWORD PTR buf_size[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	r8d, ecx
	mov	ecx, edx
	lea	rdx, .LC17[rip]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L46:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L47
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC17[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L47:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR addr[rip]
	add	rax, 16
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -128[rbp], eax
	mov	rdx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_offset[rip]
	movsx	rcx, eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	add	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L91
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
.L91:
	mov	rax, QWORD PTR addr[rip]
	add	rax, 16
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -128[rbp], eax
	mov	rdx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_offset[rip]
	movsx	rcx, eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	add	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, QWORD PTR -72[rbp]
	mov	esi, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, 4
	lea	rdx, NAL_START[rip]
	mov	rdi, rax
	call	cb_memmem
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L49
	mov	edi, 25000
	call	usleep@PLT
	jmp	.L50
.L49:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, rdx
	mov	esi, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	mov	ecx, 4
	lea	rdx, NAL_START[rip]
	mov	rdi, rax
	call	cb_memmem
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L51
	mov	edi, 25000
	call	usleep@PLT
	jmp	.L50
.L51:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	cmp	DWORD PTR -100[rbp], 0
	je	.L52
	cmp	DWORD PTR -96[rbp], 0
	je	.L52
	mov	eax, DWORD PTR sps_timing_info[rip]
	test	eax, eax
	je	.L53
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, 19
	mov	rsi, rax
	lea	rdi, SPS_640X360[rip]
	call	cb_memcmp
	test	eax, eax
	jne	.L54
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, SPS_640X360_TI[rip]
	call	fwrite@PLT
	jmp	.L52
.L54:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, 20
	mov	rsi, rax
	lea	rdi, SPS_1920X1080[rip]
	call	cb_memcmp
	test	eax, eax
	jne	.L52
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, SPS_1920X1080_TI[rip]
	call	fwrite@PLT
	jmp	.L52
.L53:
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rdx, rax
	mov	rcx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rcx
	cmp	rdx, rax
	jbe	.L55
	mov	rdx, QWORD PTR stdout[rip]
	mov	rcx, QWORD PTR addr[rip]
	mov	eax, DWORD PTR buf_size[rip]
	cdqe
	add	rax, rcx
	sub	rax, QWORD PTR -80[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	mov	rsi, QWORD PTR addr[rip]
	mov	ecx, DWORD PTR buf_size[rip]
	movsx	rcx, ecx
	add	rcx, rsi
	sub	rcx, QWORD PTR -80[rbp]
	sub	rdx, rcx
	mov	rsi, rdx
	mov	rcx, QWORD PTR addr[rip]
	mov	edx, DWORD PTR buf_offset[rip]
	movsx	rdx, edx
	lea	rdi, [rcx+rdx]
	mov	rcx, rax
	mov	rdx, rsi
	mov	esi, 1
	call	fwrite@PLT
	jmp	.L52
.L55:
	mov	rcx, QWORD PTR stdout[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L52:
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	cb_memcmp
	test	eax, eax
	jne	.L56
	mov	DWORD PTR -100[rbp], 1
	mov	DWORD PTR -96[rbp], 1
	mov	eax, DWORD PTR frame_header_size[rip]
	mov	edx, -6
	sub	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cb_move
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR frame_header_size[rip]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	cb2s_memcpy
	mov	eax, DWORD PTR frame_header_size[rip]
	lea	edx, 6[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cb_move
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR data_offset[rip]
	add	eax, 17
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR lowres_byte[rip]
	cmp	edx, eax
	jne	.L57
	mov	DWORD PTR -120[rbp], 360
	jmp	.L58
.L57:
	mov	eax, DWORD PTR data_offset[rip]
	add	eax, 17
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR highres_byte[rip]
	cmp	edx, eax
	jne	.L59
	mov	DWORD PTR -120[rbp], 1080
	jmp	.L58
.L59:
	mov	DWORD PTR -120[rbp], 0
.L58:
	mov	eax, DWORD PTR resolution[rip]
	cmp	DWORD PTR -120[rbp], eax
	jne	.L60
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	sub	eax, 6
	mov	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 0
	jns	.L61
	mov	eax, DWORD PTR buf_size[rip]
	mov	edx, DWORD PTR buf_offset[rip]
	sub	eax, edx
	add	DWORD PTR -124[rbp], eax
.L61:
	mov	eax, DWORD PTR -132[rbp]
	cmp	DWORD PTR -124[rbp], eax
	jle	.L62
	mov	eax, DWORD PTR data_offset[rip]
	add	eax, 18
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR data_offset[rip]
	add	eax, 19
	movsx	rcx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	add	eax, edx
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	sub	eax, DWORD PTR -108[rbp]
	cmp	eax, 20
	jg	.L63
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L64
	mov	eax, DWORD PTR -112[rbp]
	sub	eax, DWORD PTR -108[rbp]
	cmp	eax, -65514
	jl	.L64
.L63:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L65
	mov	eax, 0
	call	current_timestamp
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -108[rbp]
	mov	edx, DWORD PTR -112[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L65:
	add	DWORD PTR -104[rbp], 1
	cmp	DWORD PTR -104[rbp], 40
	jle	.L66
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L67
	mov	eax, 0
	call	current_timestamp
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L67:
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -108[rbp], eax
	mov	DWORD PTR -104[rbp], 0
	jmp	.L70
.L66:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L70
.L64:
	mov	DWORD PTR -104[rbp], 0
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -108[rbp], eax
	jmp	.L70
.L62:
	mov	DWORD PTR -100[rbp], 0
.L70:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L71
	mov	ebx, DWORD PTR -132[rbp]
	mov	eax, 0
	call	current_timestamp
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edi, DWORD PTR -108[rbp]
	mov	ecx, DWORD PTR -112[rbp]
	sub	rsp, 8
	mov	edx, DWORD PTR -120[rbp]
	push	rdx
	mov	r9d, edi
	mov	r8d, ecx
	mov	ecx, ebx
	mov	rdx, rsi
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L71:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -80[rbp], rax
	jmp	.L72
.L60:
	mov	DWORD PTR -100[rbp], 0
	mov	eax, DWORD PTR debug[rip]
	and	eax, 1
	test	eax, eax
	je	.L72
	mov	eax, 0
	call	current_timestamp
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L72
.L56:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, 5
	mov	rsi, rax
	lea	rdi, PPS_START[rip]
	call	cb_memcmp
	test	eax, eax
	je	.L73
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, 6
	mov	rsi, rax
	lea	rdi, IDR_START[rip]
	call	cb_memcmp
	test	eax, eax
	je	.L73
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, 5
	mov	rsi, rax
	lea	rdi, PFR_START[rip]
	call	cb_memcmp
	test	eax, eax
	jne	.L74
.L73:
	mov	DWORD PTR -100[rbp], 1
	mov	eax, DWORD PTR frame_header_size[rip]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cb_move
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR frame_header_size[rip]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	cb2s_memcpy
	mov	edx, DWORD PTR frame_header_size[rip]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cb_move
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR data_offset[rip]
	add	eax, 17
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR lowres_byte[rip]
	cmp	edx, eax
	jne	.L75
	mov	DWORD PTR -120[rbp], 360
	jmp	.L76
.L75:
	mov	eax, DWORD PTR data_offset[rip]
	add	eax, 17
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR highres_byte[rip]
	cmp	edx, eax
	jne	.L77
	mov	DWORD PTR -120[rbp], 1080
	jmp	.L76
.L77:
	mov	DWORD PTR -120[rbp], 0
.L76:
	mov	eax, DWORD PTR resolution[rip]
	cmp	DWORD PTR -120[rbp], eax
	jne	.L78
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 0
	jns	.L79
	mov	eax, DWORD PTR buf_size[rip]
	mov	edx, DWORD PTR buf_offset[rip]
	sub	eax, edx
	add	DWORD PTR -124[rbp], eax
.L79:
	mov	eax, DWORD PTR -132[rbp]
	cmp	DWORD PTR -124[rbp], eax
	jle	.L80
	mov	eax, DWORD PTR data_offset[rip]
	add	eax, 18
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR data_offset[rip]
	add	eax, 19
	movsx	rcx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	add	eax, edx
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	sub	eax, DWORD PTR -108[rbp]
	cmp	eax, 20
	jg	.L81
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L82
	mov	eax, DWORD PTR -112[rbp]
	sub	eax, DWORD PTR -108[rbp]
	cmp	eax, -65514
	jl	.L82
.L81:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L83
	mov	eax, 0
	call	current_timestamp
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -108[rbp]
	mov	edx, DWORD PTR -112[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L83:
	add	DWORD PTR -104[rbp], 1
	cmp	DWORD PTR -104[rbp], 40
	jle	.L84
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L85
	mov	eax, 0
	call	current_timestamp
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L85:
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -108[rbp], eax
	mov	DWORD PTR -104[rbp], 0
	jmp	.L88
.L84:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L88
.L82:
	mov	DWORD PTR -104[rbp], 0
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -108[rbp], eax
	jmp	.L88
.L80:
	mov	DWORD PTR -100[rbp], 0
.L88:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L89
	mov	ebx, DWORD PTR -132[rbp]
	mov	eax, 0
	call	current_timestamp
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edi, DWORD PTR -108[rbp]
	mov	ecx, DWORD PTR -112[rbp]
	sub	rsp, 8
	mov	edx, DWORD PTR -120[rbp]
	push	rdx
	mov	r9d, edi
	mov	r8d, ecx
	mov	ecx, ebx
	mov	rdx, rsi
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L89:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -80[rbp], rax
	jmp	.L98
.L78:
	mov	DWORD PTR -100[rbp], 0
	mov	eax, DWORD PTR debug[rip]
	and	eax, 1
	test	eax, eax
	je	.L98
	mov	eax, 0
	call	current_timestamp
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L98
.L74:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L72
.L98:
	nop
.L72:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -72[rbp], rax
.L50:
	jmp	.L91
.L92:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L93
	call	__stack_chk_fail@PLT
.L93:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
.LC28:
	.string	"model"
.LC29:
	.string	"resolution"
.LC30:
	.string	"sti"
.LC31:
	.string	"debug"
.LC32:
	.string	"help"
	.section	.data.rel.local,"aw"
	.align 32
	.type	long_options.0, @object
	.size	long_options.0, 192
long_options.0:
	.quad	.LC28
	.long	1
	.zero	4
	.quad	0
	.long	109
	.zero	4
	.quad	.LC29
	.long	1
	.zero	4
	.quad	0
	.long	114
	.zero	4
	.quad	.LC30
	.long	0
	.zero	4
	.quad	0
	.long	115
	.zero	4
	.quad	.LC31
	.long	0
	.zero	4
	.quad	0
	.long	100
	.zero	4
	.quad	.LC32
	.long	0
	.zero	4
	.quad	0
	.long	104
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.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	"295492.c"
	.text
	.comm	buf_offset,4,4
	.comm	buf_size,4,4
	.comm	frame_header_size,4,4
	.comm	data_offset,4,4
	.comm	lowres_byte,4,4
	.comm	highres_byte,4,4
	.global	IDR
	.data
	.align	2
	.type	IDR, %object
	.size	IDR, 2
IDR:
	.ascii	"e\270"
	.global	NAL_START
	.align	2
	.type	NAL_START, %object
	.size	NAL_START, 4
NAL_START:
	.ascii	"\000\000\000\001"
	.global	IDR_START
	.align	2
	.type	IDR_START, %object
	.size	IDR_START, 6
IDR_START:
	.ascii	"\000\000\000\001e\210"
	.global	PFR_START
	.align	2
	.type	PFR_START, %object
	.size	PFR_START, 5
PFR_START:
	.ascii	"\000\000\000\001A"
	.global	SPS_START
	.align	2
	.type	SPS_START, %object
	.size	SPS_START, 5
SPS_START:
	.ascii	"\000\000\000\001g"
	.global	PPS_START
	.align	2
	.type	PPS_START, %object
	.size	PPS_START, 5
PPS_START:
	.ascii	"\000\000\000\001h"
	.global	SPS_640X360
	.align	2
	.type	SPS_640X360, %object
	.size	SPS_640X360, 19
SPS_640X360:
	.ascii	"\000\000\000\001gM\000\024\226T\005\001{\3137\001\001"
	.ascii	"\001\002"
	.global	SPS_640X360_TI
	.align	2
	.type	SPS_640X360_TI, %object
	.size	SPS_640X360_TI, 27
SPS_640X360_TI:
	.ascii	"\000\000\000\001gM\000\024\226T\005\001{\3137\001\001"
	.ascii	"\001@\000\000}\000\000\023\210!"
	.global	SPS_1920X1080
	.align	2
	.type	SPS_1920X1080, %object
	.size	SPS_1920X1080, 20
SPS_1920X1080:
	.ascii	"\000\000\000\001gM\000 \226T\003\300\021/,\334\004\004"
	.ascii	"\004\010"
	.global	SPS_1920X1080_TI
	.align	2
	.type	SPS_1920X1080_TI, %object
	.size	SPS_1920X1080_TI, 29
SPS_1920X1080_TI:
	.ascii	"\000\000\000\001gM\000 \226T\003\300\021/,\334\004\004"
	.ascii	"\005\000\000\003\001\364\000\000N \204"
	.comm	addr,4,4
	.comm	resolution,4,4
	.comm	sps_timing_info,4,4
	.comm	debug,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	current_timestamp
	.syntax unified
	.arm
	.fpu softvfp
	.type	current_timestamp, %function
current_timestamp:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #32
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-32]
	mov	r0, r3
	asr	r1, r0, #31
	mov	r2, r0
	mov	r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #5
	orr	r5, r5, r2, lsr #27
	lsl	r4, r2, #5
	mov	r2, r4
	mov	r3, r5
	subs	r2, r2, r0
	sbc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #2
	orr	r5, r5, r2, lsr #30
	lsl	r4, r2, #2
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-28]
	ldr	r2, .L4+4
	smull	ip, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	adds	r6, r0, r2
	adc	r7, r1, r3
	str	r6, [fp, #-44]
	str	r7, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, .L4
	ldr	r0, [r1]
	ldr	r1, [fp, #-24]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	274877907
	.size	current_timestamp, .-current_timestamp
	.align	2
	.global	cb_memmem
	.syntax unified
	.arm
	.fpu softvfp
	.type	cb_memmem, %function
cb_memmem:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L7
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	memmem
	str	r0, [fp, #-8]
	b	.L8
.L7:
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, .L10+4
	ldr	r2, [r2]
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	memmem
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, .L10+8
	ldr	r2, [r2]
	add	r0, r3, r2
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r1, .L10+8
	ldr	r1, [r1]
	add	r3, r3, r1
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	bl	memmem
	str	r0, [fp, #-8]
.L8:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	addr
	.word	buf_size
	.word	buf_offset
	.size	cb_memmem, .-cb_memmem
	.align	2
	.global	cb_move
	.syntax unified
	.arm
	.fpu softvfp
	.type	cb_move, %function
cb_move:
	@ 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]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L13
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, .L16+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bls	.L13
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, .L16+8
	ldr	r3, [r3]
	sub	r3, r2, r3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
.L13:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L14
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, .L16+8
	ldr	r2, [r2]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L14
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, .L16+8
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L17:
	.align	2
.L16:
	.word	addr
	.word	buf_size
	.word	buf_offset
	.size	cb_move, .-cb_move
	.align	2
	.global	cb_memcmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	cb_memcmp, %function
cb_memcmp:
	@ 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	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, .L23
	ldr	r3, [r3]
	ldr	r1, .L23+4
	ldr	r1, [r1]
	add	r3, r3, r1
	cmp	r2, r3
	bls	.L19
	ldr	r3, .L23
	ldr	r3, [r3]
	ldr	r2, .L23+4
	ldr	r2, [r2]
	add	r2, r3, r2
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	memcmp
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-8]
	b	.L21
.L20:
	ldr	r3, .L23
	ldr	r3, [r3]
	ldr	r2, .L23+4
	ldr	r2, [r2]
	add	r2, r3, r2
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r0, r3, r2
	ldr	r3, .L23
	ldr	r3, [r3]
	ldr	r2, .L23+8
	ldr	r2, [r2]
	add	r1, r3, r2
	ldr	r3, .L23
	ldr	r3, [r3]
	ldr	r2, .L23+4
	ldr	r2, [r2]
	add	r2, r3, r2
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	sub	r3, r3, r2
	mov	r2, r3
	bl	memcmp
	str	r0, [fp, #-8]
	b	.L22
.L19:
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	memcmp
	str	r0, [fp, #-8]
.L22:
	ldr	r3, [fp, #-8]
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	addr
	.word	buf_size
	.word	buf_offset
	.size	cb_memcmp, .-cb_memcmp
	.align	2
	.global	cb2s_memcpy
	.syntax unified
	.arm
	.fpu softvfp
	.type	cb2s_memcpy, %function
cb2s_memcpy:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, .L29
	ldr	r3, [r3]
	ldr	r1, .L29+4
	ldr	r1, [r1]
	add	r3, r3, r1
	cmp	r2, r3
	bls	.L26
	ldr	r3, .L29
	ldr	r3, [r3]
	ldr	r2, .L29+4
	ldr	r2, [r2]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	memcpy
	ldr	r3, .L29
	ldr	r3, [r3]
	ldr	r2, .L29+4
	ldr	r2, [r2]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r0, r3, r2
	ldr	r3, .L29
	ldr	r3, [r3]
	ldr	r2, .L29+8
	ldr	r2, [r2]
	add	r1, r3, r2
	ldr	r3, .L29
	ldr	r3, [r3]
	ldr	r2, .L29+4
	ldr	r2, [r2]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	sub	r3, r3, r2
	mov	r2, r3
	bl	memcpy
	b	.L28
.L26:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	memcpy
.L28:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	addr
	.word	buf_size
	.word	buf_offset
	.size	cb2s_memcpy, .-cb2s_memcpy
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012Usage: %s [-r RES] [-d]\012\012\000"
	.align	2
.LC2:
	.ascii	"\011-m MODEL, --model MODEL\012\000"
	.align	2
.LC3:
	.ascii	"\011\011set model: y20ga, y25ga or y30qa (default y"
	.ascii	"20ga)\012\000"
	.align	2
.LC4:
	.ascii	"\011-r RES, --resolution RES\012\000"
	.align	2
.LC5:
	.ascii	"\011\011set resolution: LOW or HIGH (default HIGH)\012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"\011-s, --sti\012\000"
	.align	2
.LC7:
	.ascii	"\011\011don't overwrite SPS timing info (default ov"
	.ascii	"erwrite)\012\000"
	.align	2
.LC8:
	.ascii	"\011-d, --debug\012\000"
	.align	2
.LC9:
	.ascii	"\011\011enable debug\012\000"
	.text
	.align	2
	.global	print_usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_usage, %function
print_usage:
	@ 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]
	ldr	r3, .L32
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L32+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L32+8
	bl	fwrite
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L32+12
	bl	fwrite
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L32+16
	bl	fwrite
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L32+20
	bl	fwrite
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L32+24
	bl	fwrite
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, #54
	mov	r1, #1
	ldr	r0, .L32+28
	bl	fwrite
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L32+32
	bl	fwrite
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L32+36
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	print_usage, .-print_usage
	.section	.rodata
	.align	2
.LC10:
	.ascii	"m:r:sdh\000"
	.align	2
.LC11:
	.ascii	"y20ga\000"
	.align	2
.LC12:
	.ascii	"y25ga\000"
	.align	2
.LC13:
	.ascii	"y30qa\000"
	.align	2
.LC14:
	.ascii	"low\000"
	.align	2
.LC15:
	.ascii	"high\000"
	.align	2
.LC16:
	.ascii	"debug on\012\000"
	.align	2
.LC17:
	.ascii	"r\000"
	.align	2
.LC18:
	.ascii	"/dev/shm/fshare_frame_buf\000"
	.align	2
.LC19:
	.ascii	"error - could not open file %s\012\000"
	.align	2
.LC20:
	.ascii	"error - mapping file %s\012\000"
	.align	2
.LC21:
	.ascii	"mapping file %s, size %d, to %08x\012\000"
	.align	2
.LC22:
	.ascii	"closing the file %s\012\000"
	.align	2
.LC23:
	.ascii	"starting capture main loop\012\000"
	.align	2
.LC24:
	.ascii	"%lld: warning - incorrect frame counter - frame_cou"
	.ascii	"nter: %d - frame_counter_last_valid: %d\012\000"
	.align	2
.LC25:
	.ascii	"%lld: error - sync lost\012\000"
	.align	2
.LC26:
	.ascii	"%lld: SPS   detected - frame_len: %d - frame_counte"
	.ascii	"r: %d - frame_counter_last_valid: %d - resolution: "
	.ascii	"%d\012\000"
	.align	2
.LC27:
	.ascii	"%lld: warning - unexpected NALU header\012\000"
	.align	2
.LC28:
	.ascii	"%lld: frame detected - frame_len: %d - frame_counte"
	.ascii	"r: %d - frame_counter_last_valid: %d - resolution: "
	.ascii	"%d\012\000"
	.align	2
.LC29:
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #108
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L111
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-68]
	mvn	r3, #0
	str	r3, [fp, #-60]
	mvn	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, .L111+4
	ldr	r2, .L111+8
	str	r2, [r3]
	ldr	r3, .L111+12
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L111+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L111+20
	mov	r2, #300
	str	r2, [r3]
	ldr	r3, .L111+24
	ldr	r2, .L111+28
	str	r2, [r3]
	ldr	r3, .L111+32
	mov	r2, #22
	str	r2, [r3]
	ldr	r3, .L111+36
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L111+40
	mov	r2, #8
	str	r2, [r3]
	ldr	r3, .L111+44
	mov	r2, #4
	str	r2, [r3]
.L53:
	mov	r3, #0
	str	r3, [fp, #-88]
	sub	r3, fp, #88
	str	r3, [sp]
	ldr	r3, .L111+48
	ldr	r2, .L111+52
	ldr	r1, [fp, #-100]
	ldr	r0, [fp, #-96]
	bl	getopt_long
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmn	r3, #1
	bne	.L35
	ldr	r3, .L111+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, .L111+56
	str	r3, [fp, #-72]
	mov	r3, #20
	str	r3, [fp, #-84]
	ldr	r3, .L111+4
	ldr	r3, [r3]
	cmp	r3, #360
	beq	.L36
	b	.L106
.L35:
	ldr	r3, [fp, #-40]
	cmp	r3, #63
	beq	.L107
	ldr	r3, [fp, #-40]
	cmp	r3, #63
	blt	.L39
	ldr	r3, [fp, #-40]
	cmp	r3, #115
	bgt	.L39
	ldr	r3, [fp, #-40]
	cmp	r3, #100
	blt	.L39
	ldr	r3, [fp, #-40]
	sub	r3, r3, #100
	cmp	r3, #15
	ldrls	pc, [pc, r3, asl #2]
	b	.L39
.L41:
	.word	.L45
	.word	.L39
	.word	.L39
	.word	.L39
	.word	.L44
	.word	.L39
	.word	.L39
	.word	.L39
	.word	.L39
	.word	.L43
	.word	.L39
	.word	.L39
	.word	.L39
	.word	.L39
	.word	.L42
	.word	.L40
.L43:
	ldr	r3, .L111+60
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L111+64
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L46
	ldr	r3, .L111+20
	mov	r2, #300
	str	r2, [r3]
	ldr	r3, .L111+24
	ldr	r2, .L111+28
	str	r2, [r3]
	ldr	r3, .L111+32
	mov	r2, #22
	str	r2, [r3]
	ldr	r3, .L111+36
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L111+40
	mov	r2, #8
	str	r2, [r3]
	ldr	r3, .L111+44
	mov	r2, #4
	str	r2, [r3]
	b	.L108
.L46:
	ldr	r3, .L111+60
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L111+68
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L48
	ldr	r3, .L111+20
	mov	r2, #300
	str	r2, [r3]
	ldr	r3, .L111+24
	ldr	r2, .L111+28
	str	r2, [r3]
	ldr	r3, .L111+32
	mov	r2, #22
	str	r2, [r3]
	ldr	r3, .L111+36
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L111+40
	mov	r2, #8
	str	r2, [r3]
	ldr	r3, .L111+44
	mov	r2, #4
	str	r2, [r3]
	b	.L108
.L48:
	ldr	r3, .L111+60
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L111+72
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L108
	ldr	r3, .L111+20
	mov	r2, #300
	str	r2, [r3]
	ldr	r3, .L111+24
	ldr	r2, .L111+76
	str	r2, [r3]
	ldr	r3, .L111+32
	mov	r2, #22
	str	r2, [r3]
	ldr	r3, .L111+36
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L111+40
	mov	r2, #8
	str	r2, [r3]
	ldr	r3, .L111+44
	mov	r2, #4
	str	r2, [r3]
	b	.L108
.L42:
	ldr	r3, .L111+60
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L111+80
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	ldr	r3, .L111+4
	mov	r2, #360
	str	r2, [r3]
	b	.L109
.L50:
	ldr	r3, .L111+60
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L111+84
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L109
	ldr	r3, .L111+4
	ldr	r2, .L111+8
	str	r2, [r3]
	b	.L109
.L40:
	ldr	r3, .L111+12
	mov	r2, #0
	str	r2, [r3]
	b	.L49
.L45:
	ldr	r3, .L111+88
	ldr	r3, [r3]
	mov	r2, #9
	mov	r1, #1
	ldr	r0, .L111+92
	bl	fwrite
	ldr	r3, .L111+16
	mov	r2, #1
	str	r2, [r3]
	b	.L49
.L44:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_usage
	mvn	r3, #0
	b	.L104
.L39:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_usage
	mvn	r3, #0
	b	.L104
.L107:
	nop
	b	.L53
.L108:
	nop
	b	.L53
.L109:
	nop
.L49:
	b	.L53
.L36:
	ldr	r3, .L111+96
	str	r3, [fp, #-72]
	mov	r3, #19
	str	r3, [fp, #-84]
	b	.L55
.L106:
	ldr	r3, .L111+4
	ldr	r3, [r3]
	ldr	r2, .L111+8
	cmp	r3, r2
	bne	.L55
	ldr	r3, .L111+56
	str	r3, [fp, #-72]
	mov	r3, #20
	str	r3, [fp, #-84]
.L55:
	ldr	r1, .L111+100
	ldr	r0, .L111+104
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L56
	ldr	r3, .L111+88
	ldr	r3, [r3]
	ldr	r2, .L111+104
	ldr	r1, .L111+108
	mov	r0, r3
	bl	fprintf
	mvn	r3, #0
	b	.L104
.L56:
	ldr	r3, .L111+24
	ldr	r3, [r3]
	mov	r4, r3
	ldr	r0, [fp, #-32]
	bl	fileno
	mov	r3, r0
	mov	r2, #0
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	mov	r1, r4
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	ldr	r2, .L111+112
	str	r3, [r2]
	ldr	r3, .L111+112
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L57
	ldr	r3, .L111+88
	ldr	r3, [r3]
	ldr	r2, .L111+104
	ldr	r1, .L111+116
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-32]
	bl	fclose
	mvn	r3, #1
	b	.L104
.L57:
	ldr	r3, .L111+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L58
	ldr	r3, .L111+88
	ldr	r0, [r3]
	ldr	r3, .L111+24
	ldr	r3, [r3]
	ldr	r2, .L111+112
	ldr	r2, [r2]
	str	r2, [sp]
	ldr	r2, .L111+104
	ldr	r1, .L111+120
	bl	fprintf
.L58:
	ldr	r3, .L111+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L59
	ldr	r3, .L111+88
	ldr	r3, [r3]
	ldr	r2, .L111+104
	ldr	r1, .L111+124
	mov	r0, r3
	bl	fprintf
.L59:
	ldr	r0, [fp, #-32]
	bl	fclose
	ldr	r3, .L111+112
	ldr	r3, [r3]
	add	r1, r3, #16
	sub	r3, fp, #88
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	ldr	r3, .L111+112
	ldr	r2, [r3]
	ldr	r3, .L111+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-88]
	add	r3, r1, r3
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-64]
	ldr	r3, .L111+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L103
	ldr	r3, .L111+88
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L111+128
	bl	fwrite
.L103:
	ldr	r3, .L111+112
	ldr	r3, [r3]
	add	r1, r3, #16
	sub	r3, fp, #88
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	ldr	r3, .L111+112
	ldr	r2, [r3]
	ldr	r3, .L111+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-88]
	add	r3, r1, r3
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-64]
	sub	r1, r2, r3
	mov	r3, #4
	ldr	r2, .L111+132
	ldr	r0, [fp, #-64]
	bl	cb_memmem
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L61
	ldr	r0, .L111+136
	bl	usleep
	b	.L62
.L61:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	add	r0, r3, #1
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	ldr	r2, [fp, #-28]
	sub	r1, r2, r3
	mov	r3, #4
	ldr	r2, .L111+132
	bl	cb_memmem
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L63
	ldr	r0, .L111+136
	bl	usleep
	b	.L62
.L63:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L64
	ldr	r3, .L111+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L65
	mov	r2, #19
	ldr	r1, [fp, #-68]
	ldr	r0, .L111+96
	bl	cb_memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L66
	ldr	r3, .L111+140
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L111+144
	bl	fwrite
	b	.L64
.L66:
	mov	r2, #20
	ldr	r1, [fp, #-68]
	ldr	r0, .L111+56
	bl	cb_memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L64
	ldr	r3, .L111+140
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L111+148
	bl	fwrite
	b	.L64
.L65:
	ldr	r3, [fp, #-92]
	mov	r2, r3
	ldr	r3, [fp, #-68]
	add	r2, r3, r2
	ldr	r3, .L111+112
	ldr	r3, [r3]
	ldr	r1, .L111+24
	ldr	r1, [r1]
	add	r3, r3, r1
	cmp	r2, r3
	bls	.L67
	ldr	r3, .L111+112
	ldr	r3, [r3]
	ldr	r2, .L111+24
	ldr	r2, [r2]
	add	r2, r3, r2
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, .L111+140
	ldr	r3, [r3]
	mov	r1, #1
	ldr	r0, [fp, #-68]
	bl	fwrite
	ldr	r3, .L111+112
	ldr	r3, [r3]
	ldr	r2, .L111+20
	ldr	r2, [r2]
	add	r0, r3, r2
	ldr	r2, [fp, #-92]
	ldr	r3, .L111+112
	ldr	r3, [r3]
	ldr	r1, .L111+24
	ldr	r1, [r1]
	add	r1, r3, r1
	ldr	r3, [fp, #-68]
	sub	r3, r1, r3
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, .L111+140
	ldr	r3, [r3]
	mov	r1, #1
	bl	fwrite
	b	.L64
.L67:
	ldr	r3, [fp, #-92]
	mov	r2, r3
	ldr	r3, .L111+140
	ldr	r3, [r3]
	mov	r1, #1
	ldr	r0, [fp, #-68]
	bl	fwrite
.L64:
	ldr	r3, [fp, #-84]
	mov	r2, r3
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-72]
	bl	cb_memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L68
	mov	r3, #1
	str	r3, [fp, #-48]
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r3, .L111+32
	ldr	r2, [r3]
	mvn	r3, #5
	sub	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	cb_move
	str	r0, [fp, #-64]
	ldr	r3, .L111+32
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-36]
	bl	cb2s_memcpy
	ldr	r3, .L111+32
	ldr	r3, [r3]
	add	r3, r3, #6
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	cb_move
	str	r0, [fp, #-64]
	ldr	r3, .L111+36
	ldr	r3, [r3]
	add	r3, r3, #17
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L111+40
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L69
	mov	r3, #360
	str	r3, [fp, #-76]
	b	.L70
.L69:
	ldr	r3, .L111+36
	ldr	r3, [r3]
	add	r3, r3, #17
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L111+44
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L71
	ldr	r3, .L111+8
	str	r3, [fp, #-76]
	b	.L70
.L71:
	mov	r3, #0
	str	r3, [fp, #-76]
.L70:
	ldr	r3, .L111+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	bne	.L72
	sub	r3, fp, #92
	mov	r2, #4
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-92]
	sub	r3, r3, #6
	str	r3, [fp, #-92]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bge	.L73
	ldr	r3, .L111+24
	ldr	r2, [r3]
	ldr	r3, .L111+20
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-80]
.L73:
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	ble	.L74
	ldr	r3, .L111+36
	ldr	r3, [r3]
	add	r3, r3, #18
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L111+36
	ldr	r3, [r3]
	add	r3, r3, #19
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	add	r3, r2, r3
	str	r3, [fp, #-60]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	cmp	r3, #20
	bgt	.L75
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	bge	.L76
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	ldr	r2, .L111+152
	cmp	r3, r2
	blt	.L76
.L75:
	ldr	r3, .L111+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L77
	ldr	r3, .L111+88
	ldr	r4, [r3]
	bl	current_timestamp
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-56]
	str	r1, [sp, #4]
	ldr	r1, [fp, #-60]
	str	r1, [sp]
	ldr	r1, .L111+156
	mov	r0, r4
	bl	fprintf
.L77:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #40
	ble	.L78
	ldr	r3, .L111+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L79
	ldr	r3, .L111+88
	ldr	r4, [r3]
	bl	current_timestamp
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L111+160
	mov	r0, r4
	bl	fprintf
.L79:
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L82
.L78:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L82
.L76:
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-56]
	b	.L82
.L74:
	mov	r3, #0
	str	r3, [fp, #-48]
.L82:
	ldr	r3, .L111+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L83
	ldr	r3, .L111+88
	ldr	r4, [r3]
	bl	current_timestamp
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-76]
	str	r0, [sp, #12]
	ldr	r0, [fp, #-56]
	str	r0, [sp, #8]
	ldr	r0, [fp, #-60]
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r1, .L111+164
	mov	r0, r4
	bl	fprintf
.L83:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-68]
	b	.L84
.L72:
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L111+16
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L84
	ldr	r3, .L111+88
	ldr	r4, [r3]
	bl	current_timestamp
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L111+168
	mov	r0, r4
	bl	fprintf
	b	.L84
.L68:
	mov	r2, #5
	ldr	r1, [fp, #-64]
	ldr	r0, .L111+172
	bl	cb_memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
	mov	r2, #6
	ldr	r1, [fp, #-64]
	ldr	r0, .L111+176
	bl	cb_memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
	mov	r2, #5
	ldr	r1, [fp, #-64]
	ldr	r0, .L111+180
	bl	cb_memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L86
.L85:
	mov	r3, #1
	str	r3, [fp, #-48]
	ldr	r3, .L111+32
	ldr	r3, [r3]
	rsb	r3, r3, #0
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	cb_move
	str	r0, [fp, #-64]
	ldr	r3, .L111+32
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-36]
	bl	cb2s_memcpy
	ldr	r3, .L111+32
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	cb_move
	str	r0, [fp, #-64]
	ldr	r3, .L111+36
	ldr	r3, [r3]
	add	r3, r3, #17
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L111+40
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L87
	mov	r3, #360
	str	r3, [fp, #-76]
	b	.L88
.L87:
	ldr	r3, .L111+36
	ldr	r3, [r3]
	add	r3, r3, #17
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L111+44
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L89
	ldr	r3, .L111+8
	str	r3, [fp, #-76]
	b	.L88
.L89:
	mov	r3, #0
	str	r3, [fp, #-76]
.L88:
	ldr	r3, .L111+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	bne	.L90
	sub	r3, fp, #92
	mov	r2, #4
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	memcpy
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bge	.L91
	ldr	r3, .L111+24
	ldr	r2, [r3]
	ldr	r3, .L111+20
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-80]
.L91:
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	ble	.L92
	ldr	r3, .L111+36
	ldr	r3, [r3]
	add	r3, r3, #18
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L111+36
	ldr	r3, [r3]
	add	r3, r3, #19
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	add	r3, r2, r3
	str	r3, [fp, #-60]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	cmp	r3, #20
	bgt	.L93
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	bge	.L94
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	ldr	r2, .L111+152
	cmp	r3, r2
	blt	.L94
.L93:
	ldr	r3, .L111+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L95
	ldr	r3, .L111+88
	ldr	r4, [r3]
	bl	current_timestamp
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-56]
	str	r1, [sp, #4]
	ldr	r1, [fp, #-60]
	str	r1, [sp]
	ldr	r1, .L111+156
	mov	r0, r4
	bl	fprintf
.L95:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #40
	ble	.L96
	ldr	r3, .L111+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L97
	ldr	r3, .L111+88
	ldr	r4, [r3]
	bl	current_timestamp
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L111+160
	mov	r0, r4
	bl	fprintf
.L97:
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L100
.L96:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L100
.L94:
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-56]
	b	.L100
.L92:
	mov	r3, #0
	str	r3, [fp, #-48]
.L100:
	ldr	r3, .L111+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L101
	ldr	r3, .L111+88
	ldr	r4, [r3]
	bl	current_timestamp
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-76]
	str	r0, [sp, #12]
	ldr	r0, [fp, #-56]
	str	r0, [sp, #8]
	ldr	r0, [fp, #-60]
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r1, .L111+184
	mov	r0, r4
	bl	fprintf
.L101:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-68]
	b	.L110
.L90:
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L111+16
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L110
	ldr	r3, .L111+88
	ldr	r4, [r3]
	bl	current_timestamp
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L111+168
	mov	r0, r4
	bl	fprintf
	b	.L110
.L86:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L84
.L110:
	nop
.L84:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-64]
.L62:
	b	.L103
.L104:
	ldr	r2, .L111
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L105
	bl	__stack_chk_fail
.L105:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L112:
	.align	2
.L111:
	.word	.LC29
	.word	resolution
	.word	1080
	.word	sps_timing_info
	.word	debug
	.word	buf_offset
	.word	buf_size
	.word	1786156
	.word	frame_header_size
	.word	data_offset
	.word	lowres_byte
	.word	highres_byte
	.word	long_options.6631
	.word	.LC10
	.word	SPS_1920X1080
	.word	optarg
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	2310444
	.word	.LC14
	.word	.LC15
	.word	stderr
	.word	.LC16
	.word	SPS_640X360
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	addr
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	NAL_START
	.word	25000
	.word	stdout
	.word	SPS_640X360_TI
	.word	SPS_1920X1080_TI
	.word	-65514
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	PPS_START
	.word	IDR_START
	.word	PFR_START
	.word	.LC28
	.size	main, .-main
	.section	.rodata
	.align	2
.LC30:
	.ascii	"model\000"
	.align	2
.LC31:
	.ascii	"resolution\000"
	.align	2
.LC32:
	.ascii	"sti\000"
	.align	2
.LC33:
	.ascii	"debug\000"
	.align	2
.LC34:
	.ascii	"help\000"
	.data
	.align	2
	.type	long_options.6631, %object
	.size	long_options.6631, 96
long_options.6631:
	.word	.LC30
	.word	1
	.word	0
	.word	109
	.word	.LC31
	.word	1
	.word	0
	.word	114
	.word	.LC32
	.word	0
	.word	0
	.word	115
	.word	.LC33
	.word	0
	.word	0
	.word	100
	.word	.LC34
	.word	0
	.word	0
	.word	104
	.word	0
	.word	0
	.word	0
	.word	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
