	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bt819_init
_bt819_init:                            ## @bt819_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_to_bt819
	movq	%rax, %rbx
	movq	_timing_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	andl	(%rbx), %ecx
	setne	%dl
	leaq	(%rdx,%rdx,4), %rcx
	movl	(%rax,%rcx,4), %edx
	movl	4(%rax,%rcx,4), %esi
	shrl	$2, %edx
	andl	$192, %edx
	shrl	$4, %esi
	andl	$48, %esi
	orl	%edx, %esi
	movl	8(%rax,%rcx,4), %edx
	shrl	$6, %edx
	andl	$12, %edx
	orl	%esi, %edx
	movl	12(%rax,%rcx,4), %esi
	shrl	$8, %esi
	andl	$3, %esi
	orl	%edx, %esi
	movb	%sil, _bt819_init.init+5(%rip)
	leaq	_bt819_init.init(%rip), %r14
	movb	(%rax,%rcx,4), %dl
	movb	%dl, _bt819_init.init+7(%rip)
	movb	4(%rax,%rcx,4), %dl
	movb	%dl, _bt819_init.init+9(%rip)
	movb	8(%rax,%rcx,4), %dl
	movb	%dl, _bt819_init.init+11(%rip)
	movb	12(%rax,%rcx,4), %dl
	movb	%dl, _bt819_init.init+13(%rip)
	movb	17(%rax,%rcx,4), %dl
	movb	%dl, _bt819_init.init+15(%rip)
	movb	16(%rax,%rcx,4), %al
	movb	%al, _bt819_init.init+17(%rip)
	movq	_V4L2_STD_625_50@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	movl	$93, %eax
	movl	$115, %ecx
	cmovel	%eax, %ecx
	movb	%cl, _bt819_init.init+41(%rip)
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_bt819_write
	movl	$1, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$44, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bt819_write_block              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @bt819_init.init
_bt819_init.init:
	.ascii	"\001Y\002\000\003\022\004\026\005\340\006\200\007\320\b\000\t\370\n\000\0130\f\330\r\376\016\264\017\000\022\004\023 \024\000\026\007\030h\031]\032\200"

	.comm	_timing_data,8,3                ## @timing_data
	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
	.comm	_V4L2_STD_625_50,4,2            ## @V4L2_STD_625_50
	.no_dead_strip	_bt819_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bt819_init
_bt819_init:                            ; @bt819_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_to_bt819
	mov	x19, x0
Lloh0:
	adrp	x8, _timing_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timing_data@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x0]
Lloh3:
	adrp	x10, _V4L2_STD_525_60@GOTPAGE
Lloh4:
	ldr	x10, [x10, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w9, ne
	mov	w10, #20
	umaddl	x8, w9, w10, x8
	ldp	w9, w10, [x8]
	lsr	w9, w9, #2
	bfxil	w9, w10, #4, #6
	ldp	w10, w11, [x8, #8]
	bfxil	w9, w10, #6, #4
Lloh6:
	adrp	x20, _bt819_init.init@PAGE
Lloh7:
	add	x20, x20, _bt819_init.init@PAGEOFF
	bfxil	w9, w11, #8, #2
	strb	w9, [x20, #5]
	ldr	w9, [x8]
	strb	w9, [x20, #7]
	ldr	w9, [x8, #4]
	strb	w9, [x20, #9]
	ldr	w9, [x8, #8]
	strb	w9, [x20, #11]
	ldr	w9, [x8, #12]
	strb	w9, [x20, #13]
	ldr	w9, [x8, #16]
	lsr	w9, w9, #8
	strb	w9, [x20, #15]
	ldr	w8, [x8, #16]
	strb	w8, [x20, #17]
	ldr	w8, [x0]
Lloh8:
	adrp	x9, _V4L2_STD_625_50@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V4L2_STD_625_50@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #115
	mov	w9, #93
	csel	w8, w9, w8, eq
	strb	w8, [x20, #41]
	mov	w1, #31
	mov	w2, #0
	bl	_bt819_write
	mov	w0, #1
	bl	_mdelay
	mov	x0, x19
	mov	x1, x20
	mov	w2, #44
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bt819_write_block
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
_bt819_init.init:                       ; @bt819_init.init
	.ascii	"\001Y\002\000\003\022\004\026\005\340\006\200\007\320\b\000\t\370\n\000\0130\f\330\r\376\016\264\017\000\022\004\023 \024\000\026\007\030h\031]\032\200"

	.comm	_timing_data,8,3                ; @timing_data
	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
	.comm	_V4L2_STD_625_50,4,2            ; @V4L2_STD_625_50
	.no_dead_strip	_bt819_init
.subsections_via_symbols
