	.file	"114201683.c"
	.intel_syntax noprefix
	.text
	.globl	fill_volume
	.type	fill_volume, @function
fill_volume:
.LFB0:
	.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 -40[rbp], rdi
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L16:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L3
.L15:
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	eax, 3435973837
	imul	rax, rdx
	shr	rax, 32
	shr	eax, 2
	mov	eax, eax
	test	rax, rax
	js	.L4
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L5
.L4:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L5:
	movsd	xmm1, QWORD PTR .LC1[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -12[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -12[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L6
.L14:
	mov	eax, DWORD PTR -28[rbp]
	imul	edx, eax, 101376
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, eax, 352
	add	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	eax, edx
	add	eax, eax
	lea	ecx, [rax+rdx]
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	edx, [rsi+rcx]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -24[rbp]
	test	rax, rax
	js	.L7
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L8
.L7:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L8:
	comiss	xmm0, DWORD PTR -8[rbp]
	jbe	.L9
	mov	eax, DWORD PTR -24[rbp]
	test	rax, rax
	js	.L11
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L12
.L11:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L12:
	movss	xmm1, DWORD PTR -4[rbp]
	comiss	xmm1, xmm0
	jbe	.L9
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 2
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	cmp	DWORD PTR -20[rbp], eax
	ja	.L9
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 16
.L9:
	add	DWORD PTR -20[rbp], 1
.L6:
	cmp	DWORD PTR -20[rbp], 351
	jbe	.L14
	mov	DWORD PTR -20[rbp], 0
	add	DWORD PTR -24[rbp], 1
.L3:
	cmp	DWORD PTR -24[rbp], 287
	jbe	.L15
	mov	DWORD PTR -24[rbp], 0
	add	DWORD PTR -28[rbp], 1
.L2:
	cmp	DWORD PTR -28[rbp], 24
	jbe	.L16
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	fill_volume, .-fill_volume
	.section	.rodata
.LC5:
	.string	"wb"
.LC6:
	.string	"yuv420p_25f_352x288.bin"
	.align 8
.LC7:
	.string	"%i frames (%ix%i) written to yuv420p_25f_352x288.bin\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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, 136
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -124[rbp], 2534400
	mov	DWORD PTR -128[rbp], 101376
	mov	edx, DWORD PTR -124[rbp]
	mov	eax, edx
	sub	rax, 1
	mov	QWORD PTR -112[rbp], rax
	mov	eax, edx
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], 0
	mov	eax, edx
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	mov	edx, edx
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L20:
	cmp	rsp, rdx
	je	.L21
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L20
.L21:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L22
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L22:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	shr	eax, 2
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	mov	edx, eax
	mov	r14, rdx
	mov	r15d, 0
	mov	edx, eax
	mov	r12, rdx
	mov	r13d, 0
	mov	edx, eax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L23:
	cmp	rsp, rdx
	je	.L24
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L23
.L24:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L25
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L25:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	shr	eax, 2
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -80[rbp], rdx
	mov	edx, eax
	mov	r10, rdx
	mov	r11d, 0
	mov	edx, eax
	mov	r8, rdx
	mov	r9d, 0
	mov	edx, eax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L26:
	cmp	rsp, rdx
	je	.L27
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L26
.L27:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L28
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L28:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -116[rbp], 0
	jmp	.L29
.L30:
	mov	rdx, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	BYTE PTR [rdx+rax], 0
	add	DWORD PTR -116[rbp], 1
.L29:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, DWORD PTR -124[rbp]
	jb	.L30
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fill_volume
	mov	DWORD PTR -116[rbp], 0
	jmp	.L31
.L32:
	mov	rdx, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	BYTE PTR [rdx+rax], -128
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	BYTE PTR [rdx+rax], -128
	add	DWORD PTR -116[rbp], 1
.L31:
	mov	eax, DWORD PTR -124[rbp]
	shr	eax, 2
	cmp	DWORD PTR -116[rbp], eax
	jb	.L32
	mov	DWORD PTR -120[rbp], 0
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -128[rbp]
	mov	edx, DWORD PTR -120[rbp]
	imul	edx, DWORD PTR -128[rbp]
	mov	ecx, edx
	mov	rdx, QWORD PTR -104[rbp]
	lea	rdi, [rcx+rdx]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	call	fwrite@PLT
	mov	eax, DWORD PTR -128[rbp]
	shr	eax, 2
	mov	edx, eax
	mov	eax, DWORD PTR -120[rbp]
	imul	eax, DWORD PTR -128[rbp]
	shr	eax, 2
	mov	ecx, eax
	mov	rax, QWORD PTR -88[rbp]
	lea	rdi, [rcx+rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	mov	esi, 1
	call	fwrite@PLT
	mov	eax, DWORD PTR -128[rbp]
	shr	eax, 2
	mov	edx, eax
	mov	eax, DWORD PTR -120[rbp]
	imul	eax, DWORD PTR -128[rbp]
	shr	eax, 2
	mov	ecx, eax
	mov	rax, QWORD PTR -72[rbp]
	lea	rdi, [rcx+rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	mov	esi, 1
	call	fwrite@PLT
	add	DWORD PTR -120[rbp], 1
.L33:
	cmp	DWORD PTR -120[rbp], 24
	jbe	.L34
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	ecx, 288
	mov	edx, 352
	mov	esi, 25
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	-1717986918
	.long	1068079513
	.align 8
.LC2:
	.long	0
	.long	1081212928
	.align 8
.LC3:
	.long	-858993459
	.long	1077726412
	.align 8
.LC4:
	.long	-343597384
	.long	1078114385
	.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	"114201683.c"
	.text
	.global	__aeabi_ui2d
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.global	__aeabi_f2d
	.global	__aeabi_dadd
	.global	__aeabi_ui2f
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpgt
	.align	2
	.global	fill_volume
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_volume, %function
fill_volume:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-12]	@ float
	mov	r3, #0
	str	r3, [fp, #-8]	@ float
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L2
.L10:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L3
.L9:
	ldr	r3, [fp, #-32]
	ldr	r2, .L13
	umull	r1, r3, r2, r3
	lsr	r3, r3, #2
	mov	r0, r3
	bl	__aeabi_ui2d
	ldr	r2, .L13+4
	ldr	r3, .L13+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L13+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L13
	ldr	r3, .L13+16
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L13+20
	ldr	r3, .L13+24
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L4
.L8:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r1, r3
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	and	r2, r3, #255
	ldr	r3, [fp, #-28]
	and	r3, r3, #255
	add	r3, r2, r3
	and	r1, r3, #255
	ldr	r3, [fp, #-32]
	and	r3, r3, #255
	mov	r2, r3
	lsl	r2, r2, #1
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r0, [fp, #-40]
	ldr	r3, [fp, #-20]
	add	r3, r0, r3
	add	r2, r1, r2
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r0, [fp, #-28]
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r0, [fp, #-28]
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-24]
	and	r3, r3, #2
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bhi	.L5
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #16
	strb	r2, [r3]
.L5:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L4:
	ldr	r3, [fp, #-24]
	cmp	r3, #352
	bcc	.L8
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L3:
	ldr	r3, [fp, #-28]
	cmp	r3, #288
	bcc	.L9
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #24
	bls	.L10
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	-858993459
	.word	-1717986918
	.word	1068079513
	.word	1081212928
	.word	1077726412
	.word	-343597384
	.word	1078114385
	.size	fill_volume, .-fill_volume
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.ascii	"yuv420p_25f_352x288.bin\000"
	.align	2
.LC2:
	.ascii	"%i frames (%ix%i) written to yuv420p_25f_352x288.bi"
	.ascii	"n\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, .L24+4
	str	r3, [fp, #-52]
	mov	r3, #101376
	str	r3, [fp, #-48]
	ldr	ip, [fp, #-52]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-52]
	lsr	ip, r3, #2
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	lsr	ip, r3, #2
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L16
.L17:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L16:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bcc	.L17
	ldr	r0, [fp, #-40]
	bl	fill_volume
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L18
.L19:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	mvn	r2, #127
	strb	r2, [r3]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	mvn	r2, #127
	strb	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L18:
	ldr	r3, [fp, #-52]
	lsr	r3, r3, #2
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	bcc	.L19
	mov	r3, #0
	str	r3, [fp, #-60]
	ldr	r1, .L24+8
	ldr	r0, .L24+12
	bl	fopen
	str	r0, [fp, #-20]
	b	.L20
.L21:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-48]
	mul	r3, r2, r3
	ldr	r2, [fp, #-40]
	add	r0, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-48]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-48]
	mul	r3, r2, r3
	lsr	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r0, r2, r3
	ldr	r3, [fp, #-48]
	lsr	r2, r3, #2
	ldr	r3, [fp, #-20]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-48]
	mul	r3, r2, r3
	lsr	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r0, r2, r3
	ldr	r3, [fp, #-48]
	lsr	r2, r3, #2
	ldr	r3, [fp, #-20]
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L20:
	ldr	r3, [fp, #-60]
	cmp	r3, #24
	bls	.L21
	ldr	r0, [fp, #-20]
	bl	fclose
	mov	r3, #288
	mov	r2, #352
	mov	r1, #25
	ldr	r0, .L24+16
	bl	printf
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC3
	.word	2534400
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
