	.file	"28912.c"
	.intel_syntax noprefix
	.text
	.globl	init
	.type	init, @function
init:
.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 -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR 4[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR 12[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR .LC3[rip]
	movss	DWORD PTR 16[rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	init, .-init
	.globl	processBlock
	.type	processBlock, @function
processBlock:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	movss	DWORD PTR -12[rbp], xmm0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm2, DWORD PTR 8[rax]
	movss	DWORD PTR -48[rbp], xmm2
	mov	eax, DWORD PTR -12[rbp]
	movd	xmm0, eax
	call	gen_sine_wave
	movss	xmm1, DWORD PTR -48[rbp]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	subss	xmm0, xmm1
	mulss	xmm0, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -12[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR .LC1[rip]
	comiss	xmm0, xmm1
	jb	.L4
	movss	xmm0, DWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR .LC1[rip]
	subss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
.L4:
	add	DWORD PTR -8[rbp], 1
.L3:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L6
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR 12[rax], xmm0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	processBlock, .-processBlock
	.globl	gen_sine_wave
	.type	gen_sine_wave, @function
gen_sine_wave:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -4[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtsd2ss	xmm2, xmm0
	movd	eax, xmm2
	movd	xmm0, eax
	call	sinf@PLT
	movss	xmm1, DWORD PTR .LC5[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC5[rip]
	addss	xmm0, xmm1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	gen_sine_wave, .-gen_sine_wave
	.section	.rodata
	.align 4
.LC0:
	.long	1073741824
	.align 4
.LC1:
	.long	1065353216
	.align 4
.LC3:
	.long	934200126
	.align 8
.LC4:
	.long	1413754136
	.long	1075388923
	.align 4
.LC5:
	.long	1056964608
	.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	"28912.c"
	.text
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ 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]
	mov	r2, #1073741824
	str	r2, [r3, #4]	@ float
	ldr	r3, [fp, #-8]
	mov	r2, #1065353216
	str	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-8]
	ldr	r2, .L2
	str	r2, [r3, #16]	@ float
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	934200126
	.size	init, .-init
	.global	__aeabi_d2f
	.global	__aeabi_fmul
	.global	__aeabi_fsub
	.global	__aeabi_f2d
	.global	__aeabi_fadd
	.global	__aeabi_fcmpge
	.align	2
	.global	processBlock
	.syntax unified
	.arm
	.fpu softvfp
	.type	processBlock, %function
processBlock:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #12]	@ float
	str	r3, [fp, #-24]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L5
.L8:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-40]
	ldr	r4, [r3, #8]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	gen_sine_wave
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-36]
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #4]	@ float
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #16]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	mov	r1, #1065353216
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	mov	r1, #1065353216
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
.L6:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L5:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]	@ float
	str	r2, [r3, #12]	@ float
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	processBlock, .-processBlock
	.global	__aeabi_dmul
	.align	2
	.global	gen_sine_wave
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_sine_wave, %function
gen_sine_wave:
	@ 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]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L12
	ldr	r3, .L12+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	sinf
	mov	r3, r0
	mov	r1, #1056964608
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, #1056964608
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	1413754136
	.word	1075388923
	.size	gen_sine_wave, .-gen_sine_wave
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
