	.file	"242330702.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s  <ivshmem device path> [-v]\n"
	.align 8
.LC1:
	.string	"         -v          : Verbose operation.\n"
	.text
	.type	show_usage, @function
show_usage:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	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	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	show_usage, .-show_usage
	.section	.rodata
	.align 8
.LC2:
	.string	"Failed to stat the shared memory file: %s\n"
	.align 8
.LC3:
	.string	"Failed to open the shared memory file: %s\n"
	.align 8
.LC4:
	.string	"Failed to map the shared memory file: %s\n"
	.text
	.type	open_mmap, @function
open_mmap:
.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, 192
	mov	QWORD PTR -184[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	jns	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -184[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 2
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -184[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], 0
	jns	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -184[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 3
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	mov	eax, DWORD PTR -172[rbp]
	mov	r9d, 0
	mov	r8d, eax
	mov	ecx, 1
	mov	edx, 1
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], -1
	jne	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -184[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -172[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 4
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	open_mmap, .-open_mmap
	.section	.rodata
.LC5:
	.string	"v"
	.align 8
.LC6:
	.string	"Expected argument after options\n"
	.align 8
.LC7:
	.string	"Unsupported sample size %hhu, not playing until next format switch.\n"
.LC8:
	.string	"Front Left"
.LC9:
	.string	"Front Right"
.LC10:
	.string	"Front Center"
.LC11:
	.string	"LFE / Subwoofer"
.LC12:
	.string	"Rear Left"
.LC13:
	.string	"Rear Right"
.LC14:
	.string	"Front-Left Center"
.LC15:
	.string	"Front-Right Center"
.LC16:
	.string	"Rear Center"
.LC17:
	.string	"Side Left"
.LC18:
	.string	"Side Right"
.LC19:
	.string	"Unknown. Setted to Center."
.LC20:
	.string	"Channel %i is %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	cmp	DWORD PTR -84[rbp], 1
	jg	.L9
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	show_usage
.L9:
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	open_mmap
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -60[rbp], 2
	mov	DWORD PTR -56[rbp], 44100
	mov	BYTE PTR -71[rbp], 0
	mov	BYTE PTR -70[rbp], 0
	mov	BYTE PTR -69[rbp], 2
	mov	WORD PTR -68[rbp], 3
	jmp	.L10
.L12:
	cmp	DWORD PTR -40[rbp], 118
	jne	.L11
	add	DWORD PTR -64[rbp], 1
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	show_usage
.L10:
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -84[rbp]
	lea	rdx, .LC5[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], -1
	jne	.L12
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	cmp	DWORD PTR -84[rbp], eax
	jle	.L13
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	show_usage
.L13:
	mov	edx, -11
	mov	esi, 0
	mov	edi, 0
	call	setpriority@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR -66[rbp], ax
.L52:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 286334996
	je	.L14
	jmp	.L15
.L16:
	mov	edi, 10000
	call	usleep@PLT
.L15:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 286334996
	jne	.L16
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR -66[rbp], ax
.L14:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 4[rax]
	cmp	WORD PTR -66[rbp], ax
	jne	.L17
	mov	edi, 10000
	call	usleep@PLT
	jmp	.L18
.L17:
	add	WORD PTR -66[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 8[rax]
	cmp	WORD PTR -66[rbp], ax
	jne	.L19
	mov	WORD PTR -66[rbp], 0
.L19:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 6[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 12[rax]
	movzx	eax, WORD PTR -66[rbp]
	imul	eax, edx
	add	eax, ecx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 16[rax]
	cmp	BYTE PTR -71[rbp], al
	jne	.L20
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 17[rax]
	cmp	BYTE PTR -70[rbp], al
	jne	.L20
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 18[rax]
	cmp	BYTE PTR -69[rbp], al
	jne	.L20
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 20[rax]
	cmp	WORD PTR -68[rbp], ax
	je	.L21
.L20:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 16[rax]
	mov	BYTE PTR -71[rbp], al
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 17[rax]
	mov	BYTE PTR -70[rbp], al
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 18[rax]
	mov	BYTE PTR -69[rbp], al
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 20[rax]
	mov	WORD PTR -68[rbp], ax
	movzx	eax, BYTE PTR -71[rbp]
	test	al, al
	jns	.L22
	mov	edx, 44100
	jmp	.L23
.L22:
	mov	edx, 48000
.L23:
	movzx	eax, BYTE PTR -71[rbp]
	and	eax, 127
	imul	eax, edx
	mov	DWORD PTR -56[rbp], eax
	movzx	eax, BYTE PTR -70[rbp]
	cmp	eax, 32
	je	.L24
	cmp	eax, 32
	jg	.L25
	cmp	eax, 16
	je	.L26
	cmp	eax, 24
	je	.L27
	jmp	.L25
.L26:
	mov	DWORD PTR -60[rbp], 2
	jmp	.L28
.L27:
	mov	DWORD PTR -60[rbp], 3
	jmp	.L28
.L24:
	mov	DWORD PTR -60[rbp], 4
	jmp	.L28
.L25:
	cmp	DWORD PTR -64[rbp], 0
	jle	.L29
	movzx	edx, BYTE PTR -70[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L29:
	mov	DWORD PTR -56[rbp], 0
.L28:
	cmp	BYTE PTR -69[rbp], 2
	jbe	.L21
	mov	DWORD PTR -52[rbp], -1
	mov	DWORD PTR -48[rbp], 0
	jmp	.L30
.L50:
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
	jmp	.L31
.L34:
	movzx	edx, WORD PTR -68[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L32
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -52[rbp], eax
	jmp	.L33
.L32:
	add	DWORD PTR -44[rbp], 1
.L31:
	cmp	DWORD PTR -44[rbp], 10
	jle	.L34
.L33:
	cmp	DWORD PTR -64[rbp], 0
	jle	.L35
	cmp	DWORD PTR -52[rbp], 10
	ja	.L36
	mov	eax, DWORD PTR -52[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L38[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L38[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L38:
	.long	.L48-.L38
	.long	.L47-.L38
	.long	.L46-.L38
	.long	.L45-.L38
	.long	.L44-.L38
	.long	.L43-.L38
	.long	.L42-.L38
	.long	.L41-.L38
	.long	.L40-.L38
	.long	.L39-.L38
	.long	.L37-.L38
	.text
.L48:
	lea	rax, .LC8[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L47:
	lea	rax, .LC9[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L46:
	lea	rax, .LC10[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L45:
	lea	rax, .LC11[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L44:
	lea	rax, .LC12[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L43:
	lea	rax, .LC13[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L42:
	lea	rax, .LC14[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L41:
	lea	rax, .LC15[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L40:
	lea	rax, .LC16[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L39:
	lea	rax, .LC17[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L37:
	lea	rax, .LC18[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L36:
	lea	rax, .LC19[rip]
	mov	QWORD PTR -32[rbp], rax
.L49:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -48[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L35:
	add	DWORD PTR -48[rbp], 1
.L30:
	movzx	eax, BYTE PTR -69[rbp]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L50
.L21:
	cmp	DWORD PTR -56[rbp], 0
	je	.L53
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	movzx	edx, BYTE PTR -69[rbp]
	mov	esi, edx
	imul	esi, DWORD PTR -60[rbp]
	mov	edx, 0
	div	esi
	mov	DWORD PTR -36[rbp], eax
	mov	rcx, QWORD PTR stdout[rip]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	movzx	eax, BYTE PTR -69[rbp]
	imul	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fwrite@PLT
	jmp	.L52
.L53:
	nop
.L18:
	jmp	.L52
	.cfi_endproc
.LFE8:
	.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	"242330702.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s  <ivshmem device path> [-v]\012\000"
	.align	2
.LC1:
	.ascii	"         -v          : Verbose operation.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_usage, %function
show_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, .L2
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L2+8
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.size	show_usage, .-show_usage
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Failed to stat the shared memory file: %s\012\000"
	.align	2
.LC3:
	.ascii	"Failed to open the shared memory file: %s\012\000"
	.align	2
.LC4:
	.ascii	"Failed to map the shared memory file: %s\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_mmap, %function
open_mmap:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-112]
	ldr	r1, .L10+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #2
	bl	exit
.L5:
	mov	r1, #0
	ldr	r0, [fp, #-112]
	bl	open
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bge	.L6
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-112]
	ldr	r1, .L10+12
	mov	r0, r3
	bl	fprintf
	mov	r0, #3
	bl	exit
.L6:
	ldr	r3, [fp, #-56]
	mov	r1, r3
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-108]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmn	r3, #1
	bne	.L7
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-112]
	ldr	r1, .L10+16
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-108]
	bl	close
	mov	r0, #4
	bl	exit
.L7:
	ldr	r3, [fp, #-104]
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC5
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	open_mmap, .-open_mmap
	.section	.rodata
	.align	2
.LC6:
	.ascii	"v\000"
	.align	2
.LC7:
	.ascii	"Expected argument after options\012\000"
	.align	2
.LC8:
	.ascii	"Unsupported sample size %hhu, not playing until nex"
	.ascii	"t format switch.\012\000"
	.align	2
.LC9:
	.ascii	"Front Left\000"
	.align	2
.LC10:
	.ascii	"Front Right\000"
	.align	2
.LC11:
	.ascii	"Front Center\000"
	.align	2
.LC12:
	.ascii	"LFE / Subwoofer\000"
	.align	2
.LC13:
	.ascii	"Rear Left\000"
	.align	2
.LC14:
	.ascii	"Rear Right\000"
	.align	2
.LC15:
	.ascii	"Front-Left Center\000"
	.align	2
.LC16:
	.ascii	"Front-Right Center\000"
	.align	2
.LC17:
	.ascii	"Rear Center\000"
	.align	2
.LC18:
	.ascii	"Side Left\000"
	.align	2
.LC19:
	.ascii	"Side Right\000"
	.align	2
.LC20:
	.ascii	"Unknown. Setted to Center.\000"
	.align	2
.LC21:
	.ascii	"Channel %i is %s\012\000"
	.global	__aeabi_uidiv
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	bgt	.L13
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	mov	r0, r3
	bl	show_usage
.L13:
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	open_mmap
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #2
	str	r3, [fp, #-48]
	ldr	r3, .L58
	str	r3, [fp, #-44]
	mov	r3, #0
	strb	r3, [fp, #-59]
	mov	r3, #0
	strb	r3, [fp, #-58]
	mov	r3, #2
	strb	r3, [fp, #-57]
	mov	r3, #3
	strh	r3, [fp, #-56]	@ movhi
	b	.L14
.L16:
	ldr	r3, [fp, #-20]
	cmp	r3, #118
	bne	.L15
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L14
.L15:
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	mov	r0, r3
	bl	show_usage
.L14:
	ldr	r2, .L58+4
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-64]
	bl	getopt
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L16
	ldr	r3, .L58+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	ble	.L17
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L58+16
	bl	fwrite
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	mov	r0, r3
	bl	show_usage
.L17:
	mvn	r2, #10
	mov	r1, #0
	mov	r0, #0
	bl	setpriority
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3, #4]	@ movhi
	strh	r3, [fp, #-54]	@ movhi
.L56:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, .L58+20
	cmp	r3, r2
	beq	.L18
	b	.L19
.L20:
	ldr	r0, .L58+24
	bl	usleep
.L19:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, .L58+20
	cmp	r3, r2
	bne	.L20
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3, #4]	@ movhi
	strh	r3, [fp, #-54]	@ movhi
.L18:
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3, #4]
	ldrh	r2, [fp, #-54]
	cmp	r2, r3
	bne	.L21
	ldr	r0, .L58+24
	bl	usleep
	b	.L22
.L21:
	ldrh	r3, [fp, #-54]	@ movhi
	add	r3, r3, #1
	strh	r3, [fp, #-54]	@ movhi
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3, #8]
	ldrh	r2, [fp, #-54]
	cmp	r2, r3
	bne	.L23
	mov	r3, #0
	strh	r3, [fp, #-54]	@ movhi
.L23:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldrh	r2, [fp, #-54]
	mul	r3, r2, r3
	add	r3, r1, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #16]	@ zero_extendqisi2
	ldrb	r2, [fp, #-59]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L24
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #17]	@ zero_extendqisi2
	ldrb	r2, [fp, #-58]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L24
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #18]	@ zero_extendqisi2
	ldrb	r2, [fp, #-57]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L24
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3, #20]
	ldrh	r2, [fp, #-56]
	cmp	r2, r3
	beq	.L25
.L24:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #16]
	strb	r3, [fp, #-59]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #17]
	strb	r3, [fp, #-58]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #18]
	strb	r3, [fp, #-57]
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3, #20]	@ movhi
	strh	r3, [fp, #-56]	@ movhi
	ldrsb	r3, [fp, #-59]
	cmp	r3, #0
	bge	.L26
	ldr	r3, .L58
	b	.L27
.L26:
	ldr	r3, .L58+28
.L27:
	ldrb	r2, [fp, #-59]	@ zero_extendqisi2
	and	r2, r2, #127
	mul	r3, r2, r3
	str	r3, [fp, #-44]
	ldrb	r3, [fp, #-58]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L28
	cmp	r3, #32
	bgt	.L29
	cmp	r3, #16
	beq	.L30
	cmp	r3, #24
	beq	.L31
	b	.L29
.L30:
	mov	r3, #2
	str	r3, [fp, #-48]
	b	.L32
.L31:
	mov	r3, #3
	str	r3, [fp, #-48]
	b	.L32
.L28:
	mov	r3, #4
	str	r3, [fp, #-48]
	b	.L32
.L29:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L33
	ldr	r3, .L58+12
	ldr	r3, [r3]
	ldrb	r2, [fp, #-58]	@ zero_extendqisi2
	ldr	r1, .L58+32
	mov	r0, r3
	bl	fprintf
.L33:
	mov	r3, #0
	str	r3, [fp, #-44]
.L32:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L25
	mvn	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L34
.L54:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L35
.L38:
	ldrh	r2, [fp, #-56]
	ldr	r3, [fp, #-32]
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-40]
	b	.L37
.L36:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L35:
	ldr	r3, [fp, #-32]
	cmp	r3, #10
	ble	.L38
.L37:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L39
	ldr	r3, [fp, #-40]
	cmp	r3, #10
	ldrls	pc, [pc, r3, asl #2]
	b	.L40
.L42:
	.word	.L52
	.word	.L51
	.word	.L50
	.word	.L49
	.word	.L48
	.word	.L47
	.word	.L46
	.word	.L45
	.word	.L44
	.word	.L43
	.word	.L41
.L52:
	ldr	r3, .L58+36
	str	r3, [fp, #-28]
	b	.L53
.L51:
	ldr	r3, .L58+40
	str	r3, [fp, #-28]
	b	.L53
.L50:
	ldr	r3, .L58+44
	str	r3, [fp, #-28]
	b	.L53
.L49:
	ldr	r3, .L58+48
	str	r3, [fp, #-28]
	b	.L53
.L48:
	ldr	r3, .L58+52
	str	r3, [fp, #-28]
	b	.L53
.L47:
	ldr	r3, .L58+56
	str	r3, [fp, #-28]
	b	.L53
.L46:
	ldr	r3, .L58+60
	str	r3, [fp, #-28]
	b	.L53
.L45:
	ldr	r3, .L58+64
	str	r3, [fp, #-28]
	b	.L53
.L44:
	ldr	r3, .L58+68
	str	r3, [fp, #-28]
	b	.L53
.L43:
	ldr	r3, .L58+72
	str	r3, [fp, #-28]
	b	.L53
.L41:
	ldr	r3, .L58+76
	str	r3, [fp, #-28]
	b	.L53
.L40:
	ldr	r3, .L58+80
	str	r3, [fp, #-28]
.L53:
	ldr	r3, .L58+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-36]
	ldr	r1, .L58+84
	bl	fprintf
.L39:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L34:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L54
.L25:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #12]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	ldr	r2, [fp, #-48]
	mul	r3, r2, r3
	mov	r1, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	ldr	r2, [fp, #-48]
	mul	r1, r2, r3
	ldr	r2, [fp, #-8]
	ldr	r3, .L58+88
	ldr	r3, [r3]
	ldr	r0, [fp, #-12]
	bl	fwrite
	b	.L56
.L57:
	nop
.L22:
	b	.L56
.L59:
	.align	2
.L58:
	.word	44100
	.word	.LC6
	.word	optind
	.word	stderr
	.word	.LC7
	.word	286334996
	.word	10000
	.word	48000
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
