	.file	"extr_bt819.c_bt819_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bt819_init, @function
bt819_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	call	to_bt819@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR timing_data[rip]
	mov	ecx, DWORD PTR 0[rbp]
	test	DWORD PTR V4L2_STD_525_60[rip], ecx
	mov	rdi, rbp
	lea	rdx, 20[rax]
	cmovne	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	esi, DWORD PTR 12[rax]
	sar	edx, 8
	mov	ecx, edx
	mov	edx, esi
	sar	edx, 8
	sal	ecx, 6
	and	edx, 3
	or	edx, ecx
	mov	ecx, DWORD PTR 4[rax]
	sar	ecx, 8
	sal	ecx, 4
	and	ecx, 48
	or	edx, ecx
	mov	ecx, DWORD PTR 8[rax]
	sar	ecx, 8
	sal	ecx, 2
	and	ecx, 12
	or	edx, ecx
	mov	BYTE PTR init.1944[rip+5], dl
	mov	edx, DWORD PTR [rax]
	mov	BYTE PTR init.1944[rip+7], dl
	mov	edx, DWORD PTR 4[rax]
	mov	BYTE PTR init.1944[rip+9], dl
	mov	edx, DWORD PTR 8[rax]
	mov	BYTE PTR init.1944[rip+13], sil
	mov	esi, 31
	mov	BYTE PTR init.1944[rip+11], dl
	mov	eax, DWORD PTR 16[rax]
	mov	BYTE PTR init.1944[rip+15], ah
	mov	BYTE PTR init.1944[rip+17], al
	mov	eax, DWORD PTR 0[rbp]
	and	eax, DWORD PTR V4L2_STD_625_50[rip]
	cmp	eax, 1
	sbb	eax, eax
	xor	edx, edx
	and	eax, -22
	add	eax, 115
	mov	BYTE PTR init.1944[rip+41], al
	call	bt819_write@PLT
	mov	edi, 1
	call	mdelay@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	edx, 44
	lea	rsi, init.1944[rip]
	jmp	bt819_write_block@PLT
	.cfi_endproc
.LFE0:
	.size	bt819_init, .-bt819_init
	.data
	.align 32
	.type	init.1944, @object
	.size	init.1944, 44
init.1944:
	.string	"\001Y\002"
	.string	"\003\022\004\026\005\340\006\200\007\320\b"
	.string	"\t\370\n"
	.string	"\0130\f\330\r\376\016\264\017"
	.string	"\022\004\023 \024"
	.ascii	"\026\007\030h\031]\032\200"
	.comm	timing_data,8,8
	.comm	V4L2_STD_625_50,4,4
	.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_bt819.c_bt819_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bt819_init, %function
bt819_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	to_bt819
	mov	r5, r0
	ldr	r3, .L10
	ldr	r1, [r0]
	ldr	r2, [r3]
	ldr	r3, .L10+4
	tst	r1, r2
	ldr	r3, [r3]
	ldr	r4, .L10+8
	addne	r3, r3, #20
	ldr	ip, [r3, #12]
	ldr	r1, [r3]
	asr	r2, ip, #8
	ldr	r0, [r3, #4]
	asr	r1, r1, #8
	and	r2, r2, #3
	orr	r2, r2, r1, lsl #6
	ldr	r1, [r3, #8]
	lsr	r0, r0, #4
	and	r0, r0, #48
	lsr	r1, r1, #6
	orr	r2, r2, r0
	and	r1, r1, #12
	orr	r2, r2, r1
	strb	r2, [r4, #5]
	ldr	r2, [r3]
	ldr	r1, .L10+12
	strb	r2, [r4, #7]
	ldr	r2, [r3, #4]
	ldr	r0, [r1]
	strb	r2, [r4, #9]
	ldr	r2, [r3, #8]
	strb	ip, [r4, #13]
	strb	r2, [r4, #11]
	ldr	r3, [r3, #16]
	mov	r2, #0
	asr	r1, r3, #8
	strb	r1, [r4, #15]
	strb	r3, [r4, #17]
	ldr	r3, [r5]
	mov	r1, #31
	tst	r3, r0
	movne	r3, #115
	moveq	r3, #93
	mov	r0, r5
	strb	r3, [r4, #41]
	bl	bt819_write
	mov	r0, #1
	bl	mdelay
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r2, #44
	b	bt819_write_block
.L11:
	.align	2
.L10:
	.word	V4L2_STD_525_60
	.word	timing_data
	.word	.LANCHOR0
	.word	V4L2_STD_625_50
	.size	bt819_init, .-bt819_init
	.comm	timing_data,4,4
	.comm	V4L2_STD_625_50,4,4
	.comm	V4L2_STD_525_60,4,4
	.data
	.align	2
	.set	.LANCHOR0,. + 0
	.type	init.4228, %object
	.size	init.4228, 44
init.4228:
	.ascii	"\001Y\002\000\003\022\004\026\005\340\006\200\007\320"
	.ascii	"\010\000\011\370\012\000\0130\014\330\015\376\016\264"
	.ascii	"\017\000\022\004\023 \024\000\026\007\030h\031]\032"
	.ascii	"\200"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
