	.file	"336760.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"xf_decimate_s"
	.string	""
	.align 8
.LC2:
	.string	"%s [ERROR]: winsize (%f) exceeds data-length (%ld)"
	.text
	.globl	xf_decimate_s
	.type	xf_decimate_s, @function
xf_decimate_s:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	movsd	QWORD PTR -56[rbp], xmm0
	mov	QWORD PTR -64[rbp], rdx
	lea	rax, .LC0[rip]
	mov	QWORD PTR -8[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR -56[rbp]
	comisd	xmm0, xmm1
	jbe	.L11
	mov	rcx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 1
	call	sprintf@PLT
	mov	rax, -1
	jmp	.L4
.L11:
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L5
.L8:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -32[rbp]
	comisd	xmm0, QWORD PTR -16[rbp]
	jb	.L6
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rdx]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR [rdx], ax
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	add	QWORD PTR -24[rbp], 1
.L6:
	add	QWORD PTR -32[rbp], 1
.L5:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jl	.L8
	mov	rax, QWORD PTR -24[rbp]
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	xf_decimate_s, .-xf_decimate_s
	.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	"336760.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"xf_decimate_s\000\000"
	.global	__aeabi_i2d
	.global	__aeabi_dcmpgt
	.align	2
.LC1:
	.ascii	"%s [ERROR]: winsize (%f) exceeds data-length (%ld)\000"
	.global	__aeabi_dcmple
	.global	__aeabi_dadd
	.text
	.align	2
	.global	xf_decimate_s
	.syntax unified
	.arm
	.fpu softvfp
	.type	xf_decimate_s, %function
xf_decimate_s:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L12
	str	r3, [fp, #-16]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-36]
	str	r3, [sp, #8]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-16]
	ldr	r1, .L12+4
	ldr	r0, [fp, #4]
	bl	sprintf
	mvn	r3, #0
	b	.L4
.L11:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	b	.L5
.L8:
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrsh	r2, [r2]
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L6:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L5:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-20]
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC1
	.size	xf_decimate_s, .-xf_decimate_s
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
