	.file	"extr_s921_core.c_s921_isdb_tune.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	s921_isdb_tune, @function
s921_isdb_tune:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebp, DWORD PTR [rsi]
	cmp	ebp, 767142999
	jg	.L18
	mov	rbx, rdi
	mov	edx, 96
	mov	edi, DWORD PTR 8[rdi]
	mov	esi, 71
	call	[QWORD PTR [rbx]]
	xor	edx, edx
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, 104
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 137
	mov	esi, 105
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 72
	mov	esi, 240
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 25
	mov	esi, 241
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	sub	ebp, 473143000
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, 242
	movsx	rax, ebp
	sar	ebp, 31
	imul	rax, rax, 375299969
	sar	rax, 51
	sub	eax, ebp
	lea	ebp, [rax+rax*2]
	mov	rax, QWORD PTR c_table[rip]
	movsx	rbp, ebp
	mov	edx, DWORD PTR [rax+rbp*4]
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	rax, QWORD PTR c_table[rip]
	add	rbp, 1
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, 243
	lea	r12, 0[0+rbp*4]
	mov	edx, DWORD PTR [rax+rbp*4]
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	rax, QWORD PTR c_table[rip]
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, 244
	mov	edx, DWORD PTR 4[rax+r12]
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 174
	mov	esi, 245
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 183
	mov	esi, 246
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 186
	mov	esi, 247
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 215
	mov	esi, 248
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 10
	mov	esi, 104
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 9
	mov	esi, 105
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L18
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 64
	mov	esi, 1
	call	[QWORD PTR [rbx]]
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	s921_isdb_tune, .-s921_isdb_tune
	.comm	c_table,8,8
	.comm	EINVAL,4,4
	.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_s921_core.c_s921_isdb_tune.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s921_isdb_tune, %function
s921_isdb_tune:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L21
	ldr	r6, [r1]
	cmp	r6, r3
	bgt	.L19
	mov	r4, r0
	ldr	r3, [r0]
	mov	r2, #96
	mov	r1, #71
	ldr	r0, [r0, #4]
	blx	r3
	mov	r2, #0
	mov	r1, #104
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	mov	r2, #137
	mov	r1, #105
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	mov	r2, #72
	mov	r1, #240
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	mov	r2, #25
	mov	r1, #241
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	ldr	r3, .L21+4
	ldr	r5, .L21+8
	add	r3, r6, r3
	smull	r2, r5, r3, r5
	ldr	r6, .L21+12
	asr	r3, r3, #31
	rsb	r5, r3, r5, asr #19
	add	r5, r5, r5, lsl #1
	ldr	r3, [r6]
	lsl	r5, r5, #2
	ldr	r2, [r3, r5]
	mov	r1, #242
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	ldr	r3, [r6]
	mov	r1, #243
	add	r3, r3, r5
	ldr	r7, [r4]
	ldr	r2, [r3, #4]
	ldr	r0, [r4, #4]
	blx	r7
	cmp	r0, #0
	blt	.L19
	ldr	r3, [r6]
	mov	r1, #244
	add	r5, r3, r5
	ldr	r6, [r4]
	ldr	r2, [r5, #8]
	ldr	r0, [r4, #4]
	blx	r6
	cmp	r0, #0
	blt	.L19
	mov	r2, #174
	mov	r1, #245
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	mov	r2, #183
	mov	r1, #246
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	mov	r2, #186
	mov	r1, #247
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	mov	r2, #215
	mov	r1, #248
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	mov	r2, #10
	mov	r1, #104
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	mov	r2, #9
	mov	r1, #105
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	cmp	r0, #0
	blt	.L19
	mov	r2, #64
	mov	r1, #1
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	blx	r3
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	ldr	r3, .L21+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	.align	2
.L21:
	.word	767142999
	.word	-473143000
	.word	375299969
	.word	c_table
	.word	EINVAL
	.size	s921_isdb_tune, .-s921_isdb_tune
	.comm	c_table,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
