	.file	"extr_mt20xx.c_mt2032_set_tv_freq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mt2032_set_tv_freq, @function
mt2032_set_tv_freq:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	eax, DWORD PTR [rsi]
	and	eax, DWORD PTR V4L2_STD_525_60[rip]
	cmp	eax, 1
	sbb	r8d, r8d
	and	r8d, -6850000
	cmp	eax, 1
	sbb	edx, edx
	imul	esi, DWORD PTR 4[rsi], 62500
	mov	ecx, r8d
	and	edx, -7850000
	lea	r9d, 46750000[r8]
	add	ecx, 45750000
	lea	r8d, 40750000[rdx]
	mov	edx, 1090000000
	call	mt2032_set_if_freq@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mt2032_set_tv_freq, .-mt2032_set_tv_freq
	.comm	V4L2_STD_525_60,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_mt20xx.c_mt2032_set_tv_freq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mt2032_set_tv_freq, %function
mt2032_set_tv_freq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L6
	ldr	r3, [r1]
	ldr	r2, [r2]
	push	{r4, lr}
	and	r3, r3, r2
	cmp	r3, #0
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	ldr	lr, .L6+12
	ldr	ip, .L6+16
	moveq	lr, r2
	moveq	ip, r3
	ldr	r1, [r1, #4]
	ldr	r4, .L6+20
	rsb	r2, r1, r1, lsl #5
	rsb	r2, r2, r2, lsl #6
	sub	sp, sp, #8
	add	r1, r1, r2, lsl #3
	ldr	r3, .L6+24
	stm	sp, {ip, lr}
	movne	r3, r4
	ldr	r2, .L6+28
	lsl	r1, r1, #2
	bl	mt2032_set_if_freq
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L7:
	.align	2
.L6:
	.word	V4L2_STD_525_60
	.word	39900000
	.word	32900000
	.word	46750000
	.word	40750000
	.word	45750000
	.word	38900000
	.word	1090000000
	.size	mt2032_set_tv_freq, .-mt2032_set_tv_freq
	.comm	V4L2_STD_525_60,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
