	.file	"extr_stv0288.c_stv0288_set_symbolrate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"stv0288: stv0288_set_symbolrate\n"
	.text
	.p2align 4
	.type	stv0288_set_symbolrate, @function
stv0288_set_symbolrate:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	lea	eax, -1000000[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	eax, 44000000
	jbe	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rbp, QWORD PTR [rdi]
	imul	rbx, rbx, 274877907
	xor	edx, edx
	mov	esi, 34
	mov	rdi, rbp
	call	stv0288_writeregI@PLT
	mov	rdi, rbp
	xor	edx, edx
	mov	esi, 35
	call	stv0288_writeregI@PLT
	shr	rbx, 38
	mov	rdi, rbp
	mov	edx, 255
	mov	esi, 43
	sal	ebx, 15
	call	stv0288_writeregI@PLT
	mov	rdi, rbp
	mov	edx, 247
	mov	esi, 44
	call	stv0288_writeregI@PLT
	movsx	rdx, ebx
	sar	ebx, 31
	mov	rdi, rbp
	imul	rdx, rdx, 351843721
	mov	esi, 40
	sar	rdx, 40
	sub	edx, ebx
	mov	ebx, edx
	mov	edx, 128
	call	stv0288_writeregI@PLT
	mov	rdi, rbp
	xor	edx, edx
	mov	esi, 41
	call	stv0288_writeregI@PLT
	mov	rdi, rbp
	xor	edx, edx
	mov	esi, 42
	call	stv0288_writeregI@PLT
	mov	edx, ebx
	mov	rdi, rbp
	mov	esi, 40
	shr	edx, 12
	call	stv0288_writeregI@PLT
	mov	edx, ebx
	mov	rdi, rbp
	mov	esi, 41
	shr	edx, 4
	sal	ebx, 4
	movzx	edx, dl
	call	stv0288_writeregI@PLT
	movzx	edx, bl
	mov	rdi, rbp
	mov	esi, 42
	call	stv0288_writeregI@PLT
	lea	rdi, .LC0[rip]
	call	dprintk@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	stv0288_set_symbolrate, .-stv0288_set_symbolrate
	.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_stv0288.c_stv0288_set_symbolrate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"stv0288: stv0288_set_symbolrate\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stv0288_set_symbolrate, %function
stv0288_set_symbolrate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L8
	sub	r3, r1, #999424
	sub	r3, r3, #576
	cmp	r3, r2
	bls	.L2
	ldr	r3, .L8+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L2:
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r5, [r0]
	mov	r2, #0
	mov	r0, r5
	mov	r1, #34
	bl	stv0288_writeregI
	mov	r0, r5
	mov	r2, #0
	mov	r1, #35
	bl	stv0288_writeregI
	mov	r0, r5
	mov	r2, #255
	mov	r1, #43
	bl	stv0288_writeregI
	mov	r1, #44
	mov	r0, r5
	mov	r2, #247
	bl	stv0288_writeregI
	ldr	r2, .L8+8
	ldr	r3, .L8+12
	umull	r1, r2, r4, r2
	lsr	r2, r2, #6
	lsl	r2, r2, #15
	smull	r1, r3, r2, r3
	mov	r0, r5
	mov	r1, #40
	asr	r4, r2, #31
	mov	r2, #128
	rsb	r4, r4, r3, asr #8
	bl	stv0288_writeregI
	mov	r0, r5
	mov	r2, #0
	mov	r1, #41
	bl	stv0288_writeregI
	mov	r0, r5
	mov	r2, #0
	mov	r1, #42
	bl	stv0288_writeregI
	lsr	r2, r4, #12
	mov	r0, r5
	mov	r1, #40
	and	r2, r2, #255
	bl	stv0288_writeregI
	lsr	r2, r4, #4
	mov	r0, r5
	mov	r1, #41
	and	r2, r2, #255
	bl	stv0288_writeregI
	lsl	r2, r4, #4
	mov	r1, #42
	and	r2, r2, #240
	mov	r0, r5
	bl	stv0288_writeregI
	ldr	r0, .L8+16
	bl	dprintk
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	44000000
	.word	EINVAL
	.word	274877907
	.word	351843721
	.word	.LC0
	.size	stv0288_set_symbolrate, .-stv0288_set_symbolrate
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
