	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tw5864_video_init              ## -- Begin function tw5864_video_init
	.p2align	4, 0x90
_tw5864_video_init:                     ## @tw5864_video_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_H264_BUF_CNT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.1:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	$16, %r12d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movq	_GFP_DMA32@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	16(%r15), %r14
	movq	24(%r15), %rdi
	movq	_H264_VLC_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	(%r14,%r12), %rdx
	movl	(%rbx), %ecx
	orl	(%r13), %ecx
	callq	_dma_alloc_coherent
	movq	%rax, 8(%r14,%r12)
	movq	24(%r15), %rdi
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_H264_MV_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	(%r14,%r12), %rdx
	addq	$-16, %rdx
	movl	(%rbx), %ecx
	movq	%r13, %r15
	orl	(%r13), %ecx
	callq	_dma_alloc_coherent
	movq	%rax, -8(%r14,%r12)
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	_H264_BUF_CNT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$32, %r12
	movq	%rcx, %rdx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rcx
	movq	%r15, %r13
	movq	_GFP_DMA32@GOTPCREL(%rip), %rbx
	jl	LBB0_2
## %bb.5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_6:
	movl	$-1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_7:
	movq	%r12, %rdi
	callq	_tw5864_encoder_tables_upload
	movq	_TW5864_INDIR_VD_108_POL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TW5864_INDIR_VD_108_POL_BOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tw_indir_writeb
	movq	_TW5864_INDIR_CLK0_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_tw_indir_writeb
	movq	_TW5864_INDIR_DDRA_DLL_DQS_SEL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_tw_indir_writeb
	movq	_TW5864_INDIR_DDRA_DLL_DQS_SEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_tw_indir_writeb
	movq	_TW5864_INDIR_DDRA_DLL_CLK90_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_tw_indir_writeb
	movq	_TW5864_INDIR_DDRB_DLL_DQS_SEL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_tw_indir_writeb
	movq	_TW5864_INDIR_DDRB_DLL_DQS_SEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_tw_indir_writeb
	movq	_TW5864_INDIR_DDRB_DLL_CLK90_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_tw_indir_writeb
	movq	_TW5864_INDIR_RESET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_tw_indir_writeb
	movq	_TW5864_INDIR_RESET_VD@GOTPCREL(%rip), %rax
	movq	_TW5864_INDIR_RESET_DLL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	(%rbx), %edi
	movq	_TW5864_INDIR_RESET_MUX_CORE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_tw_indir_writeb
	movl	$20, %edi
	callq	_msleep
	movq	_TW5864_FULL_HALF_MODE_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_tw_writel
	movq	_TW5864_INDIR_PV_VD_CK_POL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%edi, %edi
	callq	_TW5864_INDIR_PV_VD_CK_POL_VD
	movl	%eax, %r13d
	movl	$1, %edi
	callq	_TW5864_INDIR_PV_VD_CK_POL_VD
	orl	%eax, %r13d
	movl	$2, %edi
	callq	_TW5864_INDIR_PV_VD_CK_POL_VD
	movl	%eax, %r14d
	movl	$3, %edi
	callq	_TW5864_INDIR_PV_VD_CK_POL_VD
	orl	%eax, %r14d
	orl	%r13d, %r14d
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_tw_indir_writeb
	leaq	48(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	$0, (%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%r12)
	movq	_TW5864_VLC_STREAM_BASE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r12), %rax
	movl	16(%rax), %esi
	callq	_tw_writel
	movq	_TW5864_MV_STREAM_BASE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rax
	movq	16(%r12), %rcx
	shlq	$5, %rax
	movl	(%rcx,%rax), %esi
	callq	_tw_writel
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_TW5864_SEN_EN_CH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$15, %esi
	callq	_tw_writel
	movq	_TW5864_H264EN_CH_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$15, %esi
	callq	_tw_writel
	movq	_TW5864_H264EN_BUS0_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_tw_writel
	movq	_TW5864_H264EN_BUS1_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4369, %esi                     ## imm = 0x1111
	callq	_tw_writel
	movq	_TW5864_H264EN_BUS2_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$8738, %esi                     ## imm = 0x2222
	callq	_tw_writel
	movq	_TW5864_H264EN_BUS3_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$13107, %esi                    ## imm = 0x3333
	callq	_tw_writel
	movq	_TW5864_ENC_BUF_PTR_REC1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$255, %esi
	callq	_tw_writel
	movq	_TW5864_PCI_INTTM_SCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_tw_writel
	movq	_TW5864_INTERLACING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TW5864_DI_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tw_writel
	movq	_TW5864_MASTER_ENB_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TW5864_PCI_VLC_INTR_ENB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tw_writel
	movq	_TW5864_PCI_INTR_CTL@GOTPCREL(%rip), %rax
	movq	_TW5864_TIMER_INTR_ENB@GOTPCREL(%rip), %rcx
	movq	_TW5864_PCI_MAST_ENB@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movl	(%rax), %edi
	movq	_TW5864_MVD_VLC_MAST_ENB@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_tw_writel
	movq	_TW5864_INTR_VLC_DONE@GOTPCREL(%rip), %rax
	movq	_TW5864_INTR_TIMER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, 8(%r12)
	movq	%r12, %rdi
	callq	_tw5864_irqmask_apply
	leaq	32(%r12), %r14
	movq	_tw5864_handle_frame_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_tasklet_init
	movq	_TW5864_INPUTS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.8:
	movq	%rax, %r15
	movq	40(%r12), %rdi
	movq	%r12, 8(%rdi)
	movl	$0, (%rdi)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	callq	_tw5864_video_input_init
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movl	$-1, %ebx
	movl	%eax, %r13d
	testl	%ebx, %ebx
	jns	LBB0_17
	jmp	LBB0_19
LBB0_11:
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jns	LBB0_20
	jmp	LBB0_22
LBB0_12:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	24(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	24(%r15), %rdi
	movq	_H264_VLC_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14,%r12), %rdx
	movl	(%r14,%r12), %ecx
	callq	_dma_free_coherent
	movq	%r15, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jns	LBB0_20
	jmp	LBB0_22
LBB0_13:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	$-1, %ebx
	movl	$16, %r14d
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r15), %rax
	cmpq	%rax, %r13
	jge	LBB0_10
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	40(%r12), %rax
	leaq	(%rax,%r14), %rdi
	movq	%r12, 8(%rax,%r14)
	movl	%r13d, (%rax,%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %esi
	callq	_tw5864_video_input_init
	incl	%ebx
	addq	$16, %r14
	incq	%r13
	testl	%eax, %eax
	je	LBB0_14
## %bb.16:
	movl	%eax, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testl	%ebx, %ebx
	js	LBB0_19
LBB0_17:
	movl	%ebx, %ebx
	shlq	$4, %rbx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r12), %rdi
	addq	%rbx, %rdi
	callq	_tw5864_video_input_fini
	addq	$-16, %rbx
	cmpq	$-16, %rbx
	jne	LBB0_18
LBB0_19:
	movq	%r14, %rdi
	callq	_tasklet_kill
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_22
LBB0_20:
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	shlq	$5, %rbx
	movq	_H264_VLC_BUF_SIZE@GOTPCREL(%rip), %r14
	movq	_H264_MV_BUF_SIZE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	24(%r12), %rdi
	movl	(%r14), %esi
	movq	24(%rax,%rbx), %rdx
	movl	16(%rax,%rbx), %ecx
	callq	_dma_free_coherent
	movq	16(%r12), %rax
	movq	24(%r12), %rdi
	movl	(%r15), %esi
	movq	8(%rax,%rbx), %rdx
	movl	(%rax,%rbx), %ecx
	callq	_dma_free_coherent
	addq	$-32, %rbx
	cmpq	$-32, %rbx
	jne	LBB0_21
	jmp	LBB0_22
LBB0_10:
	xorl	%r13d, %r13d
LBB0_22:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H264_BUF_CNT,4,2               ## @H264_BUF_CNT
	.comm	_H264_VLC_BUF_SIZE,4,2          ## @H264_VLC_BUF_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_GFP_DMA32,4,2                  ## @GFP_DMA32
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dma alloc fail\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_H264_MV_BUF_SIZE,4,2           ## @H264_MV_BUF_SIZE
	.comm	_TW5864_INDIR_VD_108_POL,4,2    ## @TW5864_INDIR_VD_108_POL
	.comm	_TW5864_INDIR_VD_108_POL_BOTH,4,2 ## @TW5864_INDIR_VD_108_POL_BOTH
	.comm	_TW5864_INDIR_CLK0_SEL,4,2      ## @TW5864_INDIR_CLK0_SEL
	.comm	_TW5864_INDIR_DDRA_DLL_DQS_SEL0,4,2 ## @TW5864_INDIR_DDRA_DLL_DQS_SEL0
	.comm	_TW5864_INDIR_DDRA_DLL_DQS_SEL1,4,2 ## @TW5864_INDIR_DDRA_DLL_DQS_SEL1
	.comm	_TW5864_INDIR_DDRA_DLL_CLK90_SEL,4,2 ## @TW5864_INDIR_DDRA_DLL_CLK90_SEL
	.comm	_TW5864_INDIR_DDRB_DLL_DQS_SEL0,4,2 ## @TW5864_INDIR_DDRB_DLL_DQS_SEL0
	.comm	_TW5864_INDIR_DDRB_DLL_DQS_SEL1,4,2 ## @TW5864_INDIR_DDRB_DLL_DQS_SEL1
	.comm	_TW5864_INDIR_DDRB_DLL_CLK90_SEL,4,2 ## @TW5864_INDIR_DDRB_DLL_CLK90_SEL
	.comm	_TW5864_INDIR_RESET,4,2         ## @TW5864_INDIR_RESET
	.comm	_TW5864_INDIR_RESET_VD,4,2      ## @TW5864_INDIR_RESET_VD
	.comm	_TW5864_INDIR_RESET_DLL,4,2     ## @TW5864_INDIR_RESET_DLL
	.comm	_TW5864_INDIR_RESET_MUX_CORE,4,2 ## @TW5864_INDIR_RESET_MUX_CORE
	.comm	_TW5864_FULL_HALF_MODE_SEL,4,2  ## @TW5864_FULL_HALF_MODE_SEL
	.comm	_TW5864_INDIR_PV_VD_CK_POL,4,2  ## @TW5864_INDIR_PV_VD_CK_POL
	.comm	_TW5864_VLC_STREAM_BASE_ADDR,4,2 ## @TW5864_VLC_STREAM_BASE_ADDR
	.comm	_TW5864_MV_STREAM_BASE_ADDR,4,2 ## @TW5864_MV_STREAM_BASE_ADDR
	.comm	_TW5864_SEN_EN_CH,4,2           ## @TW5864_SEN_EN_CH
	.comm	_TW5864_H264EN_CH_EN,4,2        ## @TW5864_H264EN_CH_EN
	.comm	_TW5864_H264EN_BUS0_MAP,4,2     ## @TW5864_H264EN_BUS0_MAP
	.comm	_TW5864_H264EN_BUS1_MAP,4,2     ## @TW5864_H264EN_BUS1_MAP
	.comm	_TW5864_H264EN_BUS2_MAP,4,2     ## @TW5864_H264EN_BUS2_MAP
	.comm	_TW5864_H264EN_BUS3_MAP,4,2     ## @TW5864_H264EN_BUS3_MAP
	.comm	_TW5864_ENC_BUF_PTR_REC1,4,2    ## @TW5864_ENC_BUF_PTR_REC1
	.comm	_TW5864_PCI_INTTM_SCALE,4,2     ## @TW5864_PCI_INTTM_SCALE
	.comm	_TW5864_INTERLACING,4,2         ## @TW5864_INTERLACING
	.comm	_TW5864_DI_EN,4,2               ## @TW5864_DI_EN
	.comm	_TW5864_MASTER_ENB_REG,4,2      ## @TW5864_MASTER_ENB_REG
	.comm	_TW5864_PCI_VLC_INTR_ENB,4,2    ## @TW5864_PCI_VLC_INTR_ENB
	.comm	_TW5864_PCI_INTR_CTL,4,2        ## @TW5864_PCI_INTR_CTL
	.comm	_TW5864_TIMER_INTR_ENB,4,2      ## @TW5864_TIMER_INTR_ENB
	.comm	_TW5864_PCI_MAST_ENB,4,2        ## @TW5864_PCI_MAST_ENB
	.comm	_TW5864_MVD_VLC_MAST_ENB,4,2    ## @TW5864_MVD_VLC_MAST_ENB
	.comm	_TW5864_INTR_VLC_DONE,4,2       ## @TW5864_INTR_VLC_DONE
	.comm	_TW5864_INTR_TIMER,4,2          ## @TW5864_INTR_TIMER
	.comm	_tw5864_handle_frame_task,4,2   ## @tw5864_handle_frame_task
	.comm	_TW5864_INPUTS,4,2              ## @TW5864_INPUTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tw5864_video_init              ; -- Begin function tw5864_video_init
	.p2align	2
_tw5864_video_init:                     ; @tw5864_video_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _H264_BUF_CNT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _H264_BUF_CNT@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh2:
	adrp	x23, _H264_VLC_BUF_SIZE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _H264_VLC_BUF_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x24, _H264_MV_BUF_SIZE@GOTPAGE
Lloh5:
	ldr	x24, [x24, _H264_MV_BUF_SIZE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	str	x27, [sp, #8]                   ; 8-byte Folded Spill
	mov	x25, #0
	mov	x22, #0
Lloh6:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	adrp	x28, _GFP_DMA32@GOTPAGE
Lloh9:
	ldr	x28, [x28, _GFP_DMA32@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x20, x0, [x19, #16]
	ldr	w1, [x23]
	add	x21, x20, x25
	add	x2, x21, #16
	ldr	w8, [x27]
	ldr	w9, [x28]
	orr	w3, w9, w8
	bl	_dma_alloc_coherent
	mov	x8, x0
	str	x0, [x21, #24]
	ldr	x0, [x19, #24]
	cbz	x8, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x24]
	ldr	w8, [x27]
	ldr	w9, [x28]
	orr	w3, w9, w8
	mov	x2, x21
	bl	_dma_alloc_coherent
	str	x0, [x21, #8]
	cbz	x0, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x26]
	add	x25, x25, #32
	cmp	x22, x8
	b.lt	LBB0_2
; %bb.5:
	sub	w25, w22, #1
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_7
LBB0_6:
	mov	w25, #-1
LBB0_7:
	mov	x0, x19
	bl	_tw5864_encoder_tables_upload
Lloh10:
	adrp	x8, _TW5864_INDIR_VD_108_POL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TW5864_INDIR_VD_108_POL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _TW5864_INDIR_VD_108_POL_BOTH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TW5864_INDIR_VD_108_POL_BOTH@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_tw_indir_writeb
Lloh16:
	adrp	x8, _TW5864_INDIR_CLK0_SEL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TW5864_INDIR_CLK0_SEL@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_tw_indir_writeb
Lloh19:
	adrp	x8, _TW5864_INDIR_DDRA_DLL_DQS_SEL0@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TW5864_INDIR_DDRA_DLL_DQS_SEL0@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_tw_indir_writeb
Lloh22:
	adrp	x8, _TW5864_INDIR_DDRA_DLL_DQS_SEL1@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TW5864_INDIR_DDRA_DLL_DQS_SEL1@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_tw_indir_writeb
Lloh25:
	adrp	x8, _TW5864_INDIR_DDRA_DLL_CLK90_SEL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TW5864_INDIR_DDRA_DLL_CLK90_SEL@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_tw_indir_writeb
Lloh28:
	adrp	x8, _TW5864_INDIR_DDRB_DLL_DQS_SEL0@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TW5864_INDIR_DDRB_DLL_DQS_SEL0@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_tw_indir_writeb
Lloh31:
	adrp	x8, _TW5864_INDIR_DDRB_DLL_DQS_SEL1@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TW5864_INDIR_DDRB_DLL_DQS_SEL1@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_tw_indir_writeb
Lloh34:
	adrp	x8, _TW5864_INDIR_DDRB_DLL_CLK90_SEL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TW5864_INDIR_DDRB_DLL_CLK90_SEL@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_tw_indir_writeb
Lloh37:
	adrp	x20, _TW5864_INDIR_RESET@GOTPAGE
Lloh38:
	ldr	x20, [x20, _TW5864_INDIR_RESET@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #0
	bl	_tw_indir_writeb
	ldr	w0, [x20]
Lloh39:
	adrp	x8, _TW5864_INDIR_RESET_VD@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TW5864_INDIR_RESET_VD@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _TW5864_INDIR_RESET_DLL@GOTPAGE
Lloh43:
	ldr	x9, [x9, _TW5864_INDIR_RESET_DLL@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh45:
	adrp	x9, _TW5864_INDIR_RESET_MUX_CORE@GOTPAGE
Lloh46:
	ldr	x9, [x9, _TW5864_INDIR_RESET_MUX_CORE@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_tw_indir_writeb
	mov	w0, #20
	bl	_msleep
Lloh48:
	adrp	x8, _TW5864_FULL_HALF_MODE_SEL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TW5864_FULL_HALF_MODE_SEL@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_tw_writel
Lloh51:
	adrp	x8, _TW5864_INDIR_PV_VD_CK_POL@GOTPAGE
Lloh52:
	ldr	x8, [x8, _TW5864_INDIR_PV_VD_CK_POL@GOTPAGEOFF]
Lloh53:
	ldr	w21, [x8]
	mov	w0, #0
	bl	_TW5864_INDIR_PV_VD_CK_POL_VD
	mov	x22, x0
	mov	w0, #1
	bl	_TW5864_INDIR_PV_VD_CK_POL_VD
	orr	w20, w0, w22
	mov	w0, #2
	bl	_TW5864_INDIR_PV_VD_CK_POL_VD
	orr	w20, w20, w0
	mov	w0, #3
	bl	_TW5864_INDIR_PV_VD_CK_POL_VD
	orr	w1, w20, w0
	mov	x0, x21
	bl	_tw_indir_writeb
	add	x21, x19, #48
	mov	x0, x21
	bl	_spin_lock_irqsave
	str	xzr, [x19]
	stp	xzr, xzr, [x19, #56]
Lloh54:
	adrp	x8, _TW5864_VLC_STREAM_BASE_ADDR@GOTPAGE
Lloh55:
	ldr	x8, [x8, _TW5864_VLC_STREAM_BASE_ADDR@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	w1, [x8, #16]
	bl	_tw_writel
Lloh57:
	adrp	x8, _TW5864_MV_STREAM_BASE_ADDR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _TW5864_MV_STREAM_BASE_ADDR@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	x9, [x19]
	lsl	x9, x9, #5
	ldr	w1, [x8, x9]
	bl	_tw_writel
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh60:
	adrp	x8, _TW5864_SEN_EN_CH@GOTPAGE
Lloh61:
	ldr	x8, [x8, _TW5864_SEN_EN_CH@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	mov	w1, #15
	bl	_tw_writel
Lloh63:
	adrp	x8, _TW5864_H264EN_CH_EN@GOTPAGE
Lloh64:
	ldr	x8, [x8, _TW5864_H264EN_CH_EN@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	mov	w1, #15
	bl	_tw_writel
Lloh66:
	adrp	x8, _TW5864_H264EN_BUS0_MAP@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TW5864_H264EN_BUS0_MAP@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_tw_writel
Lloh69:
	adrp	x8, _TW5864_H264EN_BUS1_MAP@GOTPAGE
Lloh70:
	ldr	x8, [x8, _TW5864_H264EN_BUS1_MAP@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
	mov	w1, #4369
	bl	_tw_writel
Lloh72:
	adrp	x8, _TW5864_H264EN_BUS2_MAP@GOTPAGE
Lloh73:
	ldr	x8, [x8, _TW5864_H264EN_BUS2_MAP@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
	mov	w1, #8738
	bl	_tw_writel
Lloh75:
	adrp	x8, _TW5864_H264EN_BUS3_MAP@GOTPAGE
Lloh76:
	ldr	x8, [x8, _TW5864_H264EN_BUS3_MAP@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
	mov	w1, #13107
	bl	_tw_writel
Lloh78:
	adrp	x8, _TW5864_ENC_BUF_PTR_REC1@GOTPAGE
Lloh79:
	ldr	x8, [x8, _TW5864_ENC_BUF_PTR_REC1@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
	mov	w1, #255
	bl	_tw_writel
Lloh81:
	adrp	x8, _TW5864_PCI_INTTM_SCALE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _TW5864_PCI_INTTM_SCALE@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_tw_writel
Lloh84:
	adrp	x8, _TW5864_INTERLACING@GOTPAGE
Lloh85:
	ldr	x8, [x8, _TW5864_INTERLACING@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
Lloh87:
	adrp	x8, _TW5864_DI_EN@GOTPAGE
Lloh88:
	ldr	x8, [x8, _TW5864_DI_EN@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
	bl	_tw_writel
Lloh90:
	adrp	x8, _TW5864_MASTER_ENB_REG@GOTPAGE
Lloh91:
	ldr	x8, [x8, _TW5864_MASTER_ENB_REG@GOTPAGEOFF]
Lloh92:
	ldr	w0, [x8]
Lloh93:
	adrp	x8, _TW5864_PCI_VLC_INTR_ENB@GOTPAGE
Lloh94:
	ldr	x8, [x8, _TW5864_PCI_VLC_INTR_ENB@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
	bl	_tw_writel
Lloh96:
	adrp	x8, _TW5864_PCI_INTR_CTL@GOTPAGE
Lloh97:
	ldr	x8, [x8, _TW5864_PCI_INTR_CTL@GOTPAGEOFF]
Lloh98:
	ldr	w0, [x8]
Lloh99:
	adrp	x8, _TW5864_TIMER_INTR_ENB@GOTPAGE
Lloh100:
	ldr	x8, [x8, _TW5864_TIMER_INTR_ENB@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
Lloh102:
	adrp	x9, _TW5864_PCI_MAST_ENB@GOTPAGE
Lloh103:
	ldr	x9, [x9, _TW5864_PCI_MAST_ENB@GOTPAGEOFF]
Lloh104:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh105:
	adrp	x9, _TW5864_MVD_VLC_MAST_ENB@GOTPAGE
Lloh106:
	ldr	x9, [x9, _TW5864_MVD_VLC_MAST_ENB@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_tw_writel
Lloh108:
	adrp	x8, _TW5864_INTR_VLC_DONE@GOTPAGE
Lloh109:
	ldr	x8, [x8, _TW5864_INTR_VLC_DONE@GOTPAGEOFF]
Lloh110:
	adrp	x9, _TW5864_INTR_TIMER@GOTPAGE
Lloh111:
	ldr	x9, [x9, _TW5864_INTR_TIMER@GOTPAGEOFF]
Lloh112:
	ldr	w8, [x8]
Lloh113:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #8]
	orr	w8, w8, w9
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_tw5864_irqmask_apply
	add	x22, x19, #32
Lloh114:
	adrp	x8, _tw5864_handle_frame_task@GOTPAGE
Lloh115:
	ldr	x8, [x8, _tw5864_handle_frame_task@GOTPAGEOFF]
Lloh116:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x19
	bl	_tasklet_init
Lloh117:
	adrp	x20, _TW5864_INPUTS@GOTPAGE
Lloh118:
	ldr	x20, [x20, _TW5864_INPUTS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.8:
	ldr	x0, [x19, #40]
	str	x19, [x0, #8]
	str	wzr, [x0]
	ldr	w1, [x27]
	bl	_tw5864_video_input_init
	cbz	w0, LBB0_12
; %bb.9:
	mov	x21, x0
	mov	w8, #-1
	tbz	w8, #31, LBB0_16
	b	LBB0_18
LBB0_10:
Lloh119:
	adrp	x1, l_.str@PAGE
Lloh120:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh121:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh122:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh123:
	ldr	w8, [x8]
	neg	w21, w8
	sub	w25, w22, #1
	tbz	w25, #31, LBB0_19
	b	LBB0_22
LBB0_11:
	ldr	x0, [x19, #24]
Lloh124:
	adrp	x1, l_.str@PAGE
Lloh125:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh126:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh127:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh128:
	ldr	w8, [x8]
	neg	w21, w8
	ldr	x0, [x19, #24]
	ldr	w1, [x23]
	add	x8, x20, x25
	ldr	x2, [x8, #24]
	ldr	w3, [x8, #16]
	bl	_dma_free_coherent
	sub	w25, w22, #1
	tbz	w25, #31, LBB0_19
	b	LBB0_22
LBB0_12:
	mov	x26, #0
	mov	x8, #0
	add	x27, x27, #4
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x28, x8, #1
	ldrsw	x9, [x20]
	cmp	x28, x9
	b.ge	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [x19, #40]
	add	x0, x9, x26
	str	w28, [x0, #16]!
	str	x19, [x0, #8]
	ldr	w1, [x27, x8, lsl #2]
	bl	_tw5864_video_input_init
	add	x26, x26, #16
	mov	x8, x28
	cbz	w0, LBB0_13
; %bb.15:
	mov	x21, x0
	sub	w8, w28, #1
	tbnz	w8, #31, LBB0_18
LBB0_16:
	mov	w8, w8
	lsl	x20, x8, #4
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x20
	bl	_tw5864_video_input_fini
	sub	x20, x20, #16
	cmn	x20, #16
	b.ne	LBB0_17
LBB0_18:
	mov	x0, x22
	bl	_tasklet_kill
	tbnz	w25, #31, LBB0_22
LBB0_19:
	mov	w8, w25
	lsl	x20, x8, #5
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	ldp	x8, x0, [x19, #16]
	add	x8, x8, x20
	ldr	x2, [x8, #24]
	ldr	w3, [x8, #16]
	bl	_dma_free_coherent
	ldr	w1, [x24]
	ldp	x8, x0, [x19, #16]
	add	x8, x8, x20
	ldr	x2, [x8, #8]
	ldr	w3, [x8]
	bl	_dma_free_coherent
	sub	x20, x20, #32
	cmn	x20, #32
	b.ne	LBB0_20
	b	LBB0_22
LBB0_21:
	mov	w21, #0
LBB0_22:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh112
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpAdd	Lloh124, Lloh125
	.cfi_endproc
                                        ; -- End function
	.comm	_H264_BUF_CNT,4,2               ; @H264_BUF_CNT
	.comm	_H264_VLC_BUF_SIZE,4,2          ; @H264_VLC_BUF_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_GFP_DMA32,4,2                  ; @GFP_DMA32
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dma alloc fail\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_H264_MV_BUF_SIZE,4,2           ; @H264_MV_BUF_SIZE
	.comm	_TW5864_INDIR_VD_108_POL,4,2    ; @TW5864_INDIR_VD_108_POL
	.comm	_TW5864_INDIR_VD_108_POL_BOTH,4,2 ; @TW5864_INDIR_VD_108_POL_BOTH
	.comm	_TW5864_INDIR_CLK0_SEL,4,2      ; @TW5864_INDIR_CLK0_SEL
	.comm	_TW5864_INDIR_DDRA_DLL_DQS_SEL0,4,2 ; @TW5864_INDIR_DDRA_DLL_DQS_SEL0
	.comm	_TW5864_INDIR_DDRA_DLL_DQS_SEL1,4,2 ; @TW5864_INDIR_DDRA_DLL_DQS_SEL1
	.comm	_TW5864_INDIR_DDRA_DLL_CLK90_SEL,4,2 ; @TW5864_INDIR_DDRA_DLL_CLK90_SEL
	.comm	_TW5864_INDIR_DDRB_DLL_DQS_SEL0,4,2 ; @TW5864_INDIR_DDRB_DLL_DQS_SEL0
	.comm	_TW5864_INDIR_DDRB_DLL_DQS_SEL1,4,2 ; @TW5864_INDIR_DDRB_DLL_DQS_SEL1
	.comm	_TW5864_INDIR_DDRB_DLL_CLK90_SEL,4,2 ; @TW5864_INDIR_DDRB_DLL_CLK90_SEL
	.comm	_TW5864_INDIR_RESET,4,2         ; @TW5864_INDIR_RESET
	.comm	_TW5864_INDIR_RESET_VD,4,2      ; @TW5864_INDIR_RESET_VD
	.comm	_TW5864_INDIR_RESET_DLL,4,2     ; @TW5864_INDIR_RESET_DLL
	.comm	_TW5864_INDIR_RESET_MUX_CORE,4,2 ; @TW5864_INDIR_RESET_MUX_CORE
	.comm	_TW5864_FULL_HALF_MODE_SEL,4,2  ; @TW5864_FULL_HALF_MODE_SEL
	.comm	_TW5864_INDIR_PV_VD_CK_POL,4,2  ; @TW5864_INDIR_PV_VD_CK_POL
	.comm	_TW5864_VLC_STREAM_BASE_ADDR,4,2 ; @TW5864_VLC_STREAM_BASE_ADDR
	.comm	_TW5864_MV_STREAM_BASE_ADDR,4,2 ; @TW5864_MV_STREAM_BASE_ADDR
	.comm	_TW5864_SEN_EN_CH,4,2           ; @TW5864_SEN_EN_CH
	.comm	_TW5864_H264EN_CH_EN,4,2        ; @TW5864_H264EN_CH_EN
	.comm	_TW5864_H264EN_BUS0_MAP,4,2     ; @TW5864_H264EN_BUS0_MAP
	.comm	_TW5864_H264EN_BUS1_MAP,4,2     ; @TW5864_H264EN_BUS1_MAP
	.comm	_TW5864_H264EN_BUS2_MAP,4,2     ; @TW5864_H264EN_BUS2_MAP
	.comm	_TW5864_H264EN_BUS3_MAP,4,2     ; @TW5864_H264EN_BUS3_MAP
	.comm	_TW5864_ENC_BUF_PTR_REC1,4,2    ; @TW5864_ENC_BUF_PTR_REC1
	.comm	_TW5864_PCI_INTTM_SCALE,4,2     ; @TW5864_PCI_INTTM_SCALE
	.comm	_TW5864_INTERLACING,4,2         ; @TW5864_INTERLACING
	.comm	_TW5864_DI_EN,4,2               ; @TW5864_DI_EN
	.comm	_TW5864_MASTER_ENB_REG,4,2      ; @TW5864_MASTER_ENB_REG
	.comm	_TW5864_PCI_VLC_INTR_ENB,4,2    ; @TW5864_PCI_VLC_INTR_ENB
	.comm	_TW5864_PCI_INTR_CTL,4,2        ; @TW5864_PCI_INTR_CTL
	.comm	_TW5864_TIMER_INTR_ENB,4,2      ; @TW5864_TIMER_INTR_ENB
	.comm	_TW5864_PCI_MAST_ENB,4,2        ; @TW5864_PCI_MAST_ENB
	.comm	_TW5864_MVD_VLC_MAST_ENB,4,2    ; @TW5864_MVD_VLC_MAST_ENB
	.comm	_TW5864_INTR_VLC_DONE,4,2       ; @TW5864_INTR_VLC_DONE
	.comm	_TW5864_INTR_TIMER,4,2          ; @TW5864_INTR_TIMER
	.comm	_tw5864_handle_frame_task,4,2   ; @tw5864_handle_frame_task
	.comm	_TW5864_INPUTS,4,2              ; @TW5864_INPUTS
.subsections_via_symbols
