	.file	"extr_mdct_template.c_ff_imdct_half_c_fixed_32.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ff_imdct_half_c
	.type	ff_imdct_half_c, @function
ff_imdct_half_c:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	eax, 1
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	ecx, DWORD PTR 24[rdi]
	mov	rdx, QWORD PTR [rdi]
	mov	rbp, QWORD PTR 8[rdi]
	mov	r13, QWORD PTR 16[rdi]
	mov	QWORD PTR 24[rsp], rdi
	sal	eax, cl
	mov	QWORD PTR [rsp], rdx
	mov	edi, eax
	mov	edx, eax
	sar	eax
	sar	edi, 3
	cdqe
	sar	edx, 2
	mov	DWORD PTR 20[rsp], edi
	lea	r15, -8[r14+rax*8]
	test	edx, edx
	jle	.L2
	lea	eax, -1[rdx]
	xor	ebx, ebx
	mov	QWORD PTR 8[rsp], rax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [rsp]
	mov	rcx, QWORD PTR [r14]
	sub	r15, 16
	add	r14, 16
	mov	r9, QWORD PTR 0[r13+rbx*8]
	mov	r8, QWORD PTR 0[rbp+rbx*8]
	movsx	rax, DWORD PTR [rax+rbx*4]
	mov	rdx, QWORD PTR 16[r15]
	sal	rax, 4
	add	rax, r12
	mov	rsi, QWORD PTR 8[rax]
	mov	rdi, QWORD PTR [rax]
	call	CMUL@PLT
	mov	rax, rbx
	add	rbx, 1
	cmp	rax, QWORD PTR 8[rsp]
	jne	.L3
.L2:
	mov	rax, QWORD PTR 24[rsp]
	mov	rsi, r12
	mov	rdi, rax
	call	[QWORD PTR 32[rax]]
	mov	ecx, DWORD PTR 20[rsp]
	test	ecx, ecx
	jle	.L1
	lea	r15d, -1[rcx]
	movsx	rax, ecx
	xor	ebx, ebx
	not	r15
	mov	rsi, rax
	sal	rax, 3
	lea	rdx, 0[0+r15*8]
	sal	rsi, 4
	add	rbp, rax
	add	r13, rax
	mov	QWORD PTR [rsp], rdx
	add	r12, rsi
	mov	r14, r12
	.p2align 4,,10
	.p2align 3
.L5:
	xor	r11d, r11d
	mov	rcx, QWORD PTR -16[r12]
	mov	rdx, QWORD PTR -8[r12]
	xor	r15d, r15d
	mov	r9, QWORD PTR -8[rbp+rbx]
	mov	r8, QWORD PTR -8[r13+rbx]
	mov	rdi, r11
	mov	rsi, r15
	sub	r12, 16
	add	r14, 16
	call	CMUL@PLT
	mov	rax, rbx
	mov	rdx, QWORD PTR -8[r14]
	mov	rcx, QWORD PTR -16[r14]
	neg	rax
	xor	esi, esi
	xor	edi, edi
	sub	rbx, 8
	mov	r9, QWORD PTR 0[rbp+rax]
	mov	r8, QWORD PTR 0[r13+rax]
	call	CMUL@PLT
	xor	r11d, r11d
	xor	esi, esi
	xor	edi, edi
	mov	QWORD PTR [r12], r11
	mov	QWORD PTR 8[r12], rsi
	mov	QWORD PTR -16[r14], rdi
	mov	QWORD PTR -8[r14], r15
	cmp	QWORD PTR [rsp], rbx
	jne	.L5
.L1:
	add	rsp, 40
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ff_imdct_half_c, .-ff_imdct_half_c
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mdct_template.c_ff_imdct_half_c_fixed_32.c"
	.text
	.align	2
	.global	ff_imdct_half_c
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_imdct_half_c, %function
ff_imdct_half_c:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #1
	ldr	r3, [r0, #12]
	sub	sp, sp, #28
	lsl	r4, r4, r3
	mov	r6, r1
	asr	r1, r4, #3
	mov	fp, r0
	ldr	r7, [r0]
	asr	r10, r4, #2
	str	r1, [sp, #12]
	ldr	r1, [r0, #4]
	ldr	r0, [r0, #8]
	cmp	r10, #0
	str	r1, [sp, #16]
	str	r0, [sp, #20]
	ble	.L2
	asr	r3, r4, #1
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	sub	r3, r3, #8
	add	r4, r2, #8
	add	r5, r2, r3
	add	r10, r4, r10, lsl #3
	sub	r7, r7, #4
	sub	r9, r1, #4
	sub	r8, r0, #4
.L3:
	ldr	r1, [r8, #4]!
	ldr	r0, [r7, #4]!
	ldr	r3, [r4, #-8]
	ldr	r2, [r5, #8]
	str	r1, [sp, #4]
	ldr	ip, [r9, #4]!
	add	r1, r6, r0, lsl #3
	str	ip, [sp]
	ldr	r1, [r1, #4]
	ldr	r0, [r6, r0, lsl #3]
	add	r4, r4, #8
	bl	CMUL
	cmp	r4, r10
	sub	r5, r5, #8
	bne	.L3
.L2:
	ldr	r3, [fp, #16]
	mov	r0, fp
	mov	r1, r6
	blx	r3
	ldr	r3, [sp, #12]
	cmp	r3, #0
	ble	.L1
	sub	r4, r3, #-1073741823
	lsl	r4, r4, #2
	ldr	r8, [sp, #16]
	ldr	r9, [sp, #20]
	add	r5, r4, #4
	add	r7, r6, #4
.L5:
	mov	fp, #0
	ldr	r3, [r8, r4]
	mov	r1, fp
	str	r3, [sp, #4]
	ldr	r3, [r9, r4]
	mov	r0, fp
	str	r3, [sp]
	ldr	r3, [r6, r4, lsl #1]
	ldr	r2, [r7, r4, lsl #1]
	bl	CMUL
	ldr	r3, [r8, r5]
	mov	r1, fp
	str	r3, [sp, #4]
	ldr	r3, [r9, r5]
	mov	r0, fp
	str	r3, [sp]
	ldr	r3, [r6, r5, lsl #1]
	ldr	r2, [r7, r5, lsl #1]
	bl	CMUL
	str	fp, [r6, r4, lsl #1]
	str	fp, [r7, r4, lsl #1]
	sub	r4, r4, #4
	cmn	r4, #4
	str	fp, [r6, r5, lsl #1]
	str	fp, [r7, r5, lsl #1]
	add	r5, r5, #4
	bne	.L5
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	ff_imdct_half_c, .-ff_imdct_half_c
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
