	.file	"extr_bt856.c_bt856_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"init\n"
	.text
	.p2align 4
	.type	bt856_init, @function
bt856_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	to_bt856@PLT
	mov	rsi, QWORD PTR debug[rip]
	mov	rdx, r12
	lea	rcx, .LC0[rip]
	mov	rbp, rax
	mov	edi, 1
	call	v4l2_dbg@PLT
	mov	edx, 24
	mov	esi, 220
	mov	rdi, rbp
	call	bt856_write@PLT
	xor	edx, edx
	mov	esi, 218
	mov	rdi, rbp
	call	bt856_write@PLT
	xor	edx, edx
	mov	esi, 222
	mov	rdi, rbp
	call	bt856_write@PLT
	mov	ecx, 1
	mov	edx, 3
	mov	rdi, rbp
	mov	esi, 220
	call	bt856_setbit@PLT
	mov	ecx, 1
	mov	edx, 4
	mov	rdi, rbp
	mov	esi, 220
	call	bt856_setbit@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR V4L2_STD_NTSC[rip], eax
	je	.L2
	xor	ecx, ecx
	mov	edx, 2
	mov	esi, 220
	mov	rdi, rbp
	call	bt856_setbit@PLT
.L3:
	mov	ecx, 1
	mov	edx, 1
	mov	esi, 220
	mov	rdi, rbp
	call	bt856_setbit@PLT
	xor	ecx, ecx
	mov	edx, 4
	mov	rdi, rbp
	mov	esi, 222
	call	bt856_setbit@PLT
	mov	ecx, 1
	mov	edx, 3
	mov	rdi, rbp
	mov	esi, 222
	call	bt856_setbit@PLT
	cmp	QWORD PTR debug[rip], 0
	jne	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ecx, 1
	mov	edx, 2
	mov	esi, 220
	mov	rdi, rbp
	call	bt856_setbit@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rbp
	call	bt856_dump@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bt856_init, .-bt856_init
	.comm	debug,8,8
	.comm	V4L2_STD_NTSC,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_bt856.c_bt856_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"init\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bt856_init, %function
bt856_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	to_bt856
	mov	r4, r0
	ldr	r6, .L11
	ldr	r3, .L11+4
	mov	r2, r5
	ldr	r1, [r6]
	mov	r0, #1
	bl	v4l2_dbg
	mov	r2, #24
	mov	r1, #220
	mov	r0, r4
	bl	bt856_write
	mov	r2, #0
	mov	r1, #218
	mov	r0, r4
	bl	bt856_write
	mov	r2, #0
	mov	r1, #222
	mov	r0, r4
	bl	bt856_write
	mov	r3, #1
	mov	r2, #3
	mov	r1, #220
	mov	r0, r4
	bl	bt856_setbit
	mov	r3, #1
	mov	r2, #4
	mov	r1, #220
	mov	r0, r4
	bl	bt856_setbit
	ldr	r3, .L11+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	mov	r1, #220
	tst	r2, r3
	movne	r3, #0
	moveq	r3, #1
	mov	r2, #2
	mov	r0, r4
	bl	bt856_setbit
	mov	r3, #1
	mov	r1, #220
	mov	r2, r3
	mov	r0, r4
	bl	bt856_setbit
	mov	r3, #0
	mov	r2, #4
	mov	r1, #222
	mov	r0, r4
	bl	bt856_setbit
	mov	r3, #1
	mov	r2, #3
	mov	r1, #222
	mov	r0, r4
	bl	bt856_setbit
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L10
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r4
	bl	bt856_dump
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	debug
	.word	.LC0
	.word	V4L2_STD_NTSC
	.size	bt856_init, .-bt856_init
	.comm	debug,4,4
	.comm	V4L2_STD_NTSC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
