	.file	"92327994.c"
	.intel_syntax noprefix
	.text
	.local	g_fn_in
	.comm	g_fn_in,8,8
	.type	fourcc, @function
fourcc:
.LFB8:
	.cfi_startproc
	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	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	or	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fourcc, .-fourcc
	.section	.rodata
	.align 8
.LC0:
	.string	"%s [wav]\ntrim wav's head, and get internal data\n"
	.text
	.type	usage, @function
usage:
.LFB9:
	.cfi_startproc
	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 -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	usage, .-usage
	.type	show_char, @function
show_char:
.LFB10:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -4[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L5
	movzx	eax, BYTE PTR -4[rbp]
	jmp	.L7
.L5:
	mov	eax, 46
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	show_char, .-show_char
	.section	.rodata
.LC1:
	.string	"'%c%c%c%c'"
	.text
	.type	show_fourcc, @function
show_fourcc:
.LFB11:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	eax, DWORD PTR -36[rbp]
	shr	eax, 24
	movsx	eax, al
	mov	edi, eax
	call	show_char
	movsx	ebx, al
	mov	eax, DWORD PTR -36[rbp]
	shr	eax, 16
	movsx	eax, al
	mov	edi, eax
	call	show_char
	movsx	r13d, al
	mov	eax, DWORD PTR -36[rbp]
	shr	eax, 8
	movsx	eax, al
	mov	edi, eax
	call	show_char
	movsx	r12d, al
	mov	eax, DWORD PTR -36[rbp]
	movsx	eax, al
	mov	edi, eax
	call	show_char
	movsx	edx, al
	mov	rax, QWORD PTR -48[rbp]
	sub	rsp, 8
	push	rbx
	mov	r9d, r13d
	mov	r8d, r12d
	mov	ecx, edx
	lea	rdx, .LC1[rip]
	mov	esi, 18
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -48[rbp]
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	show_fourcc, .-show_fourcc
	.section	.rodata
.LC2:
	.string	"'PCM linear'"
.LC3:
	.string	"'MS ADPCM'"
.LC4:
	.string	"'IEEEE float'"
.LC5:
	.string	"'A-law'"
.LC6:
	.string	"'Mu-law'"
.LC7:
	.string	"'DVI ADPCM'"
.LC8:
	.string	"'unknown audio format'"
	.text
	.type	show_audio_format, @function
show_audio_format:
.LFB12:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	WORD PTR -4[rbp], ax
	movzx	eax, WORD PTR -4[rbp]
	cmp	eax, 17
	ja	.L11
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L13[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L13[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L13:
	.long	.L11-.L13
	.long	.L18-.L13
	.long	.L17-.L13
	.long	.L16-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L15-.L13
	.long	.L14-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L12-.L13
	.text
.L18:
	lea	rax, .LC2[rip]
	jmp	.L19
.L17:
	lea	rax, .LC3[rip]
	jmp	.L19
.L16:
	lea	rax, .LC4[rip]
	jmp	.L19
.L15:
	lea	rax, .LC5[rip]
	jmp	.L19
.L14:
	lea	rax, .LC6[rip]
	jmp	.L19
.L12:
	lea	rax, .LC7[rip]
	jmp	.L19
.L11:
	lea	rax, .LC8[rip]
.L19:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	show_audio_format, .-show_audio_format
	.type	die, @function
die:
.LFB13:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L21
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L21:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	mov	edi, -1
	call	exit@PLT
	.cfi_endproc
.LFE13:
	.size	die, .-die
	.section	.rodata
.LC9:
	.string	"cannot open file=%s\n"
	.text
	.type	trans, @function
trans:
.LFB14:
	.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	rax, QWORD PTR -40[rbp]
	mov	edx, 384
	mov	esi, 66
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L24
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	die
.L24:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ftruncate@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	r9d, 0
	mov	r8d, edx
	mov	ecx, 1
	mov	edx, 2
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	rdi, rax
	call	msync@PLT
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	trans, .-trans
	.section	.rodata
.LC10:
	.string	"id=%s size=%u\n"
.LC11:
	.string	"RIFF"
.LC12:
	.string	"  format=%s\n"
.LC13:
	.string	"WAVE"
.LC14:
	.string	"unknown format type"
.LC15:
	.string	"fmt "
	.align 8
.LC16:
	.string	"  audio_format=%hu/%s channel_num=%hu sample_rate=%u byte_rate=%u block_align=%hu bits_per_sample=%hu\n"
.LC17:
	.string	"LIST"
.LC18:
	.string	"INFO"
.LC19:
	.string	"adtl"
	.align 8
.LC20:
	.string	"  unsupported adtl chunk, skip"
.LC21:
	.string	"  unkown format type, skip"
.LC22:
	.string	"ISFT"
	.align 8
.LC23:
	.string	"invalid payload in ISFT chunk\n"
.LC24:
	.string	"  text=%s\n"
.LC25:
	.string	"data"
.LC26:
	.string	"%s.raw"
	.align 8
.LC27:
	.string	"output filename=%s is too long\n"
.LC28:
	.string	"  data chunk, save to %s\n"
.LC29:
	.string	"fact"
	.align 8
.LC30:
	.string	"  fact chunk, number of samples (per channel) = %u\n"
.LC31:
	.string	"  unknown chunk id"
	.text
	.type	process_chunk, @function
process_chunk:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 120
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -4248[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4248[rbp]
	mov	QWORD PTR -4216[rbp], rax
	mov	rax, QWORD PTR -4216[rbp]
	mov	ebx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -4216[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rdx, -4192[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	show_fourcc
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4216[rbp]
	mov	ebx, DWORD PTR [rax]
	lea	rdi, .LC11[rip]
	call	fourcc
	cmp	ebx, eax
	jne	.L26
	mov	rax, QWORD PTR -4216[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4220[rbp], eax
	lea	rdx, -4192[rbp]
	mov	eax, DWORD PTR -4220[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	show_fourcc
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC13[rip]
	call	fourcc
	cmp	DWORD PTR -4220[rbp], eax
	je	.L27
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L25
.L27:
	mov	rax, QWORD PTR -4216[rbp]
	add	rax, 8
	add	rax, 4
	mov	rdi, rax
	call	process_chunk
	jmp	.L25
.L26:
	mov	rax, QWORD PTR -4216[rbp]
	mov	ebx, DWORD PTR [rax]
	lea	rdi, .LC15[rip]
	call	fourcc
	cmp	ebx, eax
	jne	.L30
	mov	rax, QWORD PTR -4216[rbp]
	add	rax, 8
	mov	QWORD PTR -4200[rbp], rax
	mov	rax, QWORD PTR -4200[rbp]
	movzx	eax, WORD PTR 14[rax]
	movzx	r13d, ax
	mov	rax, QWORD PTR -4200[rbp]
	movzx	eax, WORD PTR 12[rax]
	movzx	r12d, ax
	mov	rax, QWORD PTR -4200[rbp]
	mov	r15d, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -4200[rbp]
	mov	r14d, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -4200[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	ebx, ax
	mov	rax, QWORD PTR -4200[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	edi, eax
	call	show_audio_format
	mov	rdx, rax
	mov	rax, QWORD PTR -4200[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	push	r13
	push	r12
	mov	r9d, r15d
	mov	r8d, r14d
	mov	ecx, ebx
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -4216[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -4216[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	eax, eax
	add	rax, rdx
	mov	rdi, rax
	call	process_chunk
	jmp	.L25
.L30:
	mov	rax, QWORD PTR -4216[rbp]
	mov	ebx, DWORD PTR [rax]
	lea	rdi, .LC17[rip]
	call	fourcc
	cmp	ebx, eax
	jne	.L31
	mov	rax, QWORD PTR -4216[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4224[rbp], eax
	lea	rdx, -4192[rbp]
	mov	eax, DWORD PTR -4224[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	show_fourcc
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC18[rip]
	call	fourcc
	cmp	DWORD PTR -4224[rbp], eax
	jne	.L32
	mov	rax, QWORD PTR -4216[rbp]
	add	rax, 8
	add	rax, 4
	mov	rdi, rax
	call	process_chunk
	jmp	.L25
.L32:
	lea	rdi, .LC19[rip]
	call	fourcc
	cmp	DWORD PTR -4224[rbp], eax
	jne	.L33
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -4216[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -4216[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	eax, eax
	add	rax, rdx
	mov	rdi, rax
	call	process_chunk
	jmp	.L25
.L33:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -4216[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -4216[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	eax, eax
	add	rax, rdx
	mov	rdi, rax
	call	process_chunk
	jmp	.L25
.L31:
	mov	rax, QWORD PTR -4216[rbp]
	mov	ebx, DWORD PTR [rax]
	lea	rdi, .LC22[rip]
	call	fourcc
	cmp	ebx, eax
	jne	.L34
	mov	rax, QWORD PTR -4216[rbp]
	mov	eax, DWORD PTR 4[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -4216[rbp]
	mov	edx, edx
	movzx	eax, BYTE PTR 8[rax+rdx]
	test	al, al
	je	.L35
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	die
.L35:
	mov	rax, QWORD PTR -4216[rbp]
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4216[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -4216[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	eax, eax
	add	rax, rdx
	mov	rdi, rax
	call	process_chunk
	jmp	.L25
.L34:
	mov	rax, QWORD PTR -4216[rbp]
	mov	ebx, DWORD PTR [rax]
	lea	rdi, .LC25[rip]
	call	fourcc
	cmp	ebx, eax
	jne	.L36
	mov	QWORD PTR -4160[rbp], 0
	mov	QWORD PTR -4152[rbp], 0
	lea	rdx, -4144[rbp]
	mov	eax, 0
	mov	ecx, 510
	mov	rdi, rdx
	rep stosq
	mov	rdx, QWORD PTR g_fn_in[rip]
	lea	rax, -4160[rbp]
	mov	rcx, rdx
	lea	rdx, .LC26[rip]
	mov	esi, 4096
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -4228[rbp], eax
	cmp	DWORD PTR -4228[rbp], 4096
	jne	.L37
	lea	rax, -4160[rbp]
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	die
.L37:
	lea	rax, -4160[rbp]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4216[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	rdx, QWORD PTR -4216[rbp]
	lea	rcx, 8[rdx]
	lea	rdx, -4160[rbp]
	mov	esi, eax
	mov	rdi, rcx
	call	trans
	jmp	.L25
.L36:
	mov	rax, QWORD PTR -4216[rbp]
	mov	ebx, DWORD PTR [rax]
	lea	rdi, .LC29[rip]
	call	fourcc
	cmp	ebx, eax
	jne	.L38
	mov	rax, QWORD PTR -4216[rbp]
	add	rax, 8
	mov	QWORD PTR -4208[rbp], rax
	mov	rax, QWORD PTR -4208[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4216[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -4216[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	eax, eax
	add	rax, rdx
	mov	rdi, rax
	call	process_chunk
	jmp	.L25
.L38:
	lea	rdi, .LC31[rip]
	call	puts@PLT
.L25:
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	process_chunk, .-process_chunk
	.section	.rodata
.LC32:
	.string	"fail to mmap input file\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	DWORD PTR -196[rbp], edi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -196[rbp], 1
	jg	.L41
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
	mov	eax, 0
	jmp	.L45
.L41:
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR g_fn_in[rip], rax
	mov	rax, QWORD PTR g_fn_in[rip]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -184[rbp], eax
	cmp	DWORD PTR -184[rbp], 0
	jns	.L43
	mov	rax, QWORD PTR g_fn_in[rip]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	die
.L43:
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -184[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR -180[rbp]
	mov	edx, DWORD PTR -184[rbp]
	mov	r9d, 0
	mov	r8d, edx
	mov	ecx, 2
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], -1
	jne	.L44
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	die
.L44:
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	process_chunk
	mov	edx, DWORD PTR -180[rbp]
	mov	rax, QWORD PTR -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	eax, DWORD PTR -184[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L45:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.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	"92327994.c"
	.text
	.local	g_fn_in
	.comm	g_fn_in,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fourcc, %function
fourcc:
	@ 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]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fourcc, .-fourcc
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s [wav]\012trim wav's head, and get internal data\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
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	r1, [fp, #-8]
	ldr	r0, .L4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	usage, .-usage
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_char, %function
show_char:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L7
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	b	.L8
.L7:
	mov	r3, #46
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	show_char, .-show_char
	.section	.rodata
	.align	2
.LC1:
	.ascii	"'%c%c%c%c'\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_fourcc, %function
show_fourcc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	and	r3, r3, #255
	mov	r0, r3
	bl	show_char
	mov	r3, r0
	mov	r6, r3
	ldr	r3, [fp, #-24]
	lsr	r3, r3, #8
	and	r3, r3, #255
	mov	r0, r3
	bl	show_char
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-24]
	lsr	r3, r3, #16
	and	r3, r3, #255
	mov	r0, r3
	bl	show_char
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-24]
	lsr	r3, r3, #24
	and	r3, r3, #255
	mov	r0, r3
	bl	show_char
	mov	r3, r0
	str	r3, [sp, #8]
	str	r5, [sp, #4]
	str	r4, [sp]
	mov	r3, r6
	ldr	r2, .L12
	mov	r1, #18
	ldr	r0, [fp, #-28]
	bl	snprintf
	ldr	r3, [fp, #-28]
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.size	show_fourcc, .-show_fourcc
	.section	.rodata
	.align	2
.LC2:
	.ascii	"'PCM linear'\000"
	.align	2
.LC3:
	.ascii	"'MS ADPCM'\000"
	.align	2
.LC4:
	.ascii	"'IEEEE float'\000"
	.align	2
.LC5:
	.ascii	"'A-law'\000"
	.align	2
.LC6:
	.ascii	"'Mu-law'\000"
	.align	2
.LC7:
	.ascii	"'DVI ADPCM'\000"
	.align	2
.LC8:
	.ascii	"'unknown audio format'\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_audio_format, %function
show_audio_format:
	@ 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
	mov	r3, r0
	strh	r3, [fp, #-6]	@ movhi
	ldrh	r3, [fp, #-6]
	sub	r3, r3, #1
	cmp	r3, #16
	ldrls	pc, [pc, r3, asl #2]
	b	.L15
.L17:
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L15
	.word	.L15
	.word	.L19
	.word	.L18
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L16
.L22:
	ldr	r3, .L24
	b	.L23
.L21:
	ldr	r3, .L24+4
	b	.L23
.L20:
	ldr	r3, .L24+8
	b	.L23
.L19:
	ldr	r3, .L24+12
	b	.L23
.L18:
	ldr	r3, .L24+16
	b	.L23
.L16:
	ldr	r3, .L24+20
	b	.L23
.L15:
	ldr	r3, .L24+24
.L23:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L25:
	.align	2
.L24:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	show_audio_format, .-show_audio_format
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	die, %function
die:
	@ args = 4, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, [fp, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	vfprintf
	mvn	r0, #0
	bl	exit
.L29:
	.align	2
.L28:
	.word	.LC9
	.word	stderr
	.size	die, .-die
	.section	.rodata
	.align	2
.LC10:
	.ascii	"cannot open file=%s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	trans, %function
trans:
	@ 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]
	mov	r2, #384
	mov	r1, #66
	ldr	r0, [fp, #-24]
	bl	open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L31
	ldr	r1, [fp, #-24]
	ldr	r0, .L32
	bl	die
.L31:
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	ftruncate
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #2
	ldr	r1, [fp, #-20]
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	memcpy
	mov	r2, #4
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	msync
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	munmap
	ldr	r0, [fp, #-12]
	bl	close
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC10
	.size	trans, .-trans
	.section	.rodata
	.align	2
.LC11:
	.ascii	"id=%s size=%u\012\000"
	.align	2
.LC12:
	.ascii	"RIFF\000"
	.align	2
.LC13:
	.ascii	"  format=%s\012\000"
	.align	2
.LC14:
	.ascii	"WAVE\000"
	.align	2
.LC15:
	.ascii	"unknown format type\000"
	.align	2
.LC16:
	.ascii	"fmt \000"
	.align	2
.LC17:
	.ascii	"  audio_format=%hu/%s channel_num=%hu sample_rate=%"
	.ascii	"u byte_rate=%u block_align=%hu bits_per_sample=%hu\012"
	.ascii	"\000"
	.align	2
.LC18:
	.ascii	"LIST\000"
	.align	2
.LC19:
	.ascii	"INFO\000"
	.align	2
.LC20:
	.ascii	"adtl\000"
	.align	2
.LC21:
	.ascii	"  unsupported adtl chunk, skip\000"
	.align	2
.LC22:
	.ascii	"  unkown format type, skip\000"
	.align	2
.LC23:
	.ascii	"ISFT\000"
	.align	2
.LC24:
	.ascii	"invalid payload in ISFT chunk\012\000"
	.align	2
.LC25:
	.ascii	"  text=%s\012\000"
	.align	2
.LC26:
	.ascii	"data\000"
	.align	2
.LC27:
	.ascii	"%s.raw\000"
	.align	2
.LC28:
	.ascii	"output filename=%s is too long\012\000"
	.align	2
.LC29:
	.ascii	"  data chunk, save to %s\012\000"
	.align	2
.LC30:
	.ascii	"fact\000"
	.align	2
.LC31:
	.ascii	"  fact chunk, number of samples (per channel) = %u\012"
	.ascii	"\000"
	.align	2
.LC32:
	.ascii	"  unknown chunk id\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_chunk, %function
process_chunk:
	@ args = 0, pretend = 0, frame = 4152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4160
	sub	sp, sp, #12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-52]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	str	r3, [r2, #-48]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r1, r3
	mov	r0, r2
	bl	show_fourcc
	mov	r1, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L49+4
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r4, [r3]
	ldr	r0, .L49+8
	bl	fourcc
	mov	r3, r0
	cmp	r4, r3
	bne	.L35
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r3, [r3]
	str	r3, [r2, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #24
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-28]
	bl	show_fourcc
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L49+12
	bl	printf
	ldr	r0, .L49+16
	bl	fourcc
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, r2
	beq	.L36
	ldr	r0, .L49+20
	bl	puts
	b	.L34
.L36:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	add	r3, r3, #4
	mov	r0, r3
	bl	process_chunk
	b	.L34
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r4, [r3]
	ldr	r0, .L49+24
	bl	fourcc
	mov	r3, r0
	cmp	r4, r3
	bne	.L39
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	str	r3, [r2, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldrh	r3, [r3]
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldrh	r3, [r3]
	mov	r0, r3
	bl	show_audio_format
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldrh	r3, [r3, #2]
	mov	lr, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldr	r3, [r3, #4]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-32]
	ldr	r2, [r2, #8]
	sub	r1, fp, #4096
	sub	r1, r1, #12
	ldr	r1, [r1, #-32]
	ldrh	r1, [r1, #12]
	mov	ip, r1
	sub	r1, fp, #4096
	sub	r1, r1, #12
	ldr	r1, [r1, #-32]
	ldrh	r1, [r1, #14]
	str	r1, [sp, #12]
	str	ip, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, r0
	mov	r1, r4
	ldr	r0, .L49+28
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r2, r3, #8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r3, [r3, #4]
	add	r3, r2, r3
	mov	r0, r3
	bl	process_chunk
	b	.L34
.L39:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r4, [r3]
	ldr	r0, .L49+32
	bl	fourcc
	mov	r3, r0
	cmp	r4, r3
	bne	.L40
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r3, [r3]
	str	r3, [r2, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #24
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-36]
	bl	show_fourcc
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L49+12
	bl	printf
	ldr	r0, .L49+36
	bl	fourcc
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	cmp	r3, r2
	bne	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	add	r3, r3, #4
	mov	r0, r3
	bl	process_chunk
	b	.L34
.L41:
	ldr	r0, .L49+40
	bl	fourcc
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	cmp	r3, r2
	bne	.L42
	ldr	r0, .L49+44
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r2, r3, #8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r3, [r3, #4]
	add	r3, r2, r3
	mov	r0, r3
	bl	process_chunk
	b	.L34
.L42:
	ldr	r0, .L49+48
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r2, r3, #8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r3, [r3, #4]
	add	r3, r2, r3
	mov	r0, r3
	bl	process_chunk
	b	.L34
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r4, [r3]
	ldr	r0, .L49+52
	bl	fourcc
	mov	r3, r0
	cmp	r4, r3
	bne	.L43
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L44
	ldr	r0, .L49+56
	bl	die
.L44:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L49+60
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r2, r3, #8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r3, [r3, #4]
	add	r3, r2, r3
	mov	r0, r3
	bl	process_chunk
	b	.L34
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r4, [r3]
	ldr	r0, .L49+64
	bl	fourcc
	mov	r3, r0
	cmp	r4, r3
	bne	.L45
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4]
	mov	r0, r2
	ldr	r3, .L49+68
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, .L49+72
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L49+76
	mov	r1, #4096
	bl	snprintf
	str	r0, [r4, #-40]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	cmp	r3, #4096
	bne	.L46
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L49+80
	bl	die
.L46:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L49+84
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r0, r3, #8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r1, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	bl	trans
	b	.L34
.L45:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r4, [r3]
	ldr	r0, .L49+88
	bl	fourcc
	mov	r3, r0
	cmp	r4, r3
	bne	.L47
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	str	r3, [r2, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L49+92
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r2, r3, #8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r3, [r3, #4]
	add	r3, r2, r3
	mov	r0, r3
	bl	process_chunk
	b	.L34
.L47:
	ldr	r0, .L49+96
	bl	puts
.L34:
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC33
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	4092
	.word	g_fn_in
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.size	process_chunk, .-process_chunk
	.section	.rodata
	.align	2
.LC34:
	.ascii	"fail to mmap input file\012\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-120]
	cmp	r3, #1
	bgt	.L52
	ldr	r3, [fp, #-124]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r3, #0
	b	.L56
.L52:
	ldr	r3, [fp, #-124]
	ldr	r3, [r3, #4]
	ldr	r2, .L58+4
	str	r3, [r2]
	ldr	r3, .L58+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bge	.L54
	ldr	r3, .L58+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L58+8
	bl	die
.L54:
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	fstat
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-116]
	str	r3, [sp]
	mov	r3, #2
	mov	r2, #1
	ldr	r1, [fp, #-112]
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmn	r3, #1
	bne	.L55
	ldr	r0, .L58+12
	bl	die
.L55:
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-104]
	ldr	r0, [fp, #-104]
	bl	process_chunk
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-108]
	bl	munmap
	ldr	r0, [fp, #-116]
	bl	close
	mov	r3, #0
.L56:
	ldr	r2, .L58
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC35
	.word	g_fn_in
	.word	.LC10
	.word	.LC34
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
