	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx25821_video_register         ## -- Begin function cx25821_video_register
	.p2align	4, 0x90
_cx25821_video_register:                ## @cx25821_video_register
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_V4L2_STD_NTSC_M@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	addq	$56, %rdi
	callq	_spin_lock_init
	movq	_MAX_VID_CAP_CHANNEL_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$2, %eax
	jl	LBB0_19
## %bb.1:
	leaq	24(%r14), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	28(%r14), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movq	_SRAM_CH08@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	leal	-1(%rax), %ecx
	movslq	%ecx, %rcx
	addq	$184, %r13
	addq	$8, %rdi
	addq	$4, %rsi
	cmpq	%rcx, %rbx
	jge	LBB0_19
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %ecx
	cmpq	%rcx, %rbx
	je	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdx
	movq	48(%r14), %r14
	leaq	(%r14,%r13), %r8
	leaq	(%r14,%r13), %r15
	addq	$128, %r15
	movslq	%ecx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rbx
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	jle	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rdx), %rax
	movq	_SRAM_CH09@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$3, %rcx
	subq	%rcx, %rax
	leaq	(%rax,%rdi), %rcx
	movq	%rcx, 120(%r14,%r13)
	movq	%r8, (%rax,%rbx,8)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$6200, (%rsp)                   ## imm = 0x1838
	movq	%r15, %rdi
	movq	_cx25821_ctrl_ops@GOTPCREL(%rip), %r12
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$10000, %r8d                    ## imm = 0x2710
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$5000, (%rsp)                   ## imm = 0x1388
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$10000, %r8d                    ## imm = 0x2710
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$5000, (%rsp)                   ## imm = 0x1388
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$10000, %r8d                    ## imm = 0x2710
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_HUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$5000, (%rsp)                   ## imm = 0x1388
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$10000, %r8d                    ## imm = 0x2710
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movl	128(%r14,%r13), %r12d
	testl	%r12d, %r12d
	jne	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_setup
	testl	%eax, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_cx25821_sram_channels@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rsi, %rax
	movq	%rax, 96(%r14,%r13)
	movl	$720, (%r14,%r13)               ## imm = 0x2D0
	movq	_V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r14,%r13)
	movq	_V4L2_STD_625_50@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdx), %eax
	movl	$576, %eax                      ## imm = 0x240
	movl	$480, %ecx                      ## imm = 0x1E0
	cmovel	%ecx, %eax
	movl	%eax, 4(%r14,%r13)
	movq	8(%r14,%r13), %rcx
	movq	_V4L2_PIX_FMT_YUYV@GOTPCREL(%rip), %rax
	movq	_PIXEL_FRMT_411@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_V4L2_PIX_FMT_Y41P@GOTPCREL(%rip), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %edi
	callq	_cx25821_format_by_fourcc
	movq	%rax, 104(%r14,%r13)
	movq	96(%r14,%r13), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_cx_write
	leaq	(%r14,%r13), %rdi
	addq	$88, %rdi
	callq	_INIT_LIST_HEAD
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rsi, %rbx
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	cmovgq	_V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%r14,%r13)
	movq	_VB2_USERPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VB2_READ@GOTPCREL(%rip), %rcx
	cmovgq	_VB2_WRITE@GOTPCREL(%rip), %rcx
	movq	_VB2_MMAP@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_VB2_DMABUF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 16(%r14,%r13)
	orl	(%rcx), %eax
	movl	%eax, 16(%r14,%r13)
	movq	_GFP_DMA32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r14,%r13)
	movabsq	$17179869186, %rax              ## imm = 0x400000002
	movq	%rax, 20(%r14,%r13)
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, 72(%r14,%r13)
	movq	_cx25821_video_qops@GOTPCREL(%rip), %rax
	movq	%rax, 64(%r14,%r13)
	movq	_vb2_dma_sg_memops@GOTPCREL(%rip), %rax
	movq	%rax, 56(%r14,%r13)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14,%r13)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%r14,%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rax
	movq	%rax, 32(%r14,%r13)
	leaq	(%r14,%r13), %rdi
	addq	$16, %rdi
	cmpq	%rsi, %rbx
	jle	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_cx25821_video_out_device@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movups	%xmm2, 168(%r14,%r13)
	movups	%xmm1, 152(%r14,%r13)
	movups	%xmm0, 136(%r14,%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 176(%r14,%r13)
	movq	_VFL_DIR_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 160(%r14,%r13)
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	callq	_vb2_queue_init
	testl	%eax, %eax
	js	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_cx25821_video_device@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movups	%xmm2, 168(%r14,%r13)
	movups	%xmm1, 152(%r14,%r13)
	movups	%xmm0, 136(%r14,%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 176(%r14,%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 168(%r14,%r13)
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r15, %rdi
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%r13), %r15
	addq	$136, %r15
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 152(%r14,%r13)
	movq	%rdi, 144(%r14,%r13)
	movl	136(%r14,%r13), %edi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r14), %rcx
	movl	$4, %esi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %r8d
	callq	_snprintf
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_video_set_drvdata
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_video_nr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%r14), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	%r15, %rdi
	callq	_video_register_device
	testl	%eax, %eax
	js	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_VID_CAP_CHANNEL_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	_SRAM_CH08@GOTPCREL(%rip), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_19:
	movq	_PCI_INT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$255, %esi
	callq	_cx_set
	xorl	%r12d, %r12d
	jmp	LBB0_20
LBB0_14:
	movl	%eax, %r12d
LBB0_15:
	incl	%ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_cx25821_video_unregister
	testl	%ebx, %ebx
	jg	LBB0_16
LBB0_20:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_NTSC_M,4,2            ## @V4L2_STD_NTSC_M
	.comm	_MAX_VID_CAP_CHANNEL_NUM,4,2    ## @MAX_VID_CAP_CHANNEL_NUM
	.comm	_SRAM_CH08,4,2                  ## @SRAM_CH08
	.comm	_cx25821_ctrl_ops,4,2           ## @cx25821_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ## @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ## @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_V4L2_CID_HUE,4,2               ## @V4L2_CID_HUE
	.comm	_SRAM_CH09,4,2                  ## @SRAM_CH09
	.comm	_cx25821_sram_channels,8,3      ## @cx25821_sram_channels
	.comm	_V4L2_FIELD_INTERLACED,4,2      ## @V4L2_FIELD_INTERLACED
	.comm	_V4L2_STD_625_50,4,2            ## @V4L2_STD_625_50
	.comm	_PIXEL_FRMT_411,8,3             ## @PIXEL_FRMT_411
	.comm	_V4L2_PIX_FMT_Y41P,4,2          ## @V4L2_PIX_FMT_Y41P
	.comm	_V4L2_PIX_FMT_YUYV,4,2          ## @V4L2_PIX_FMT_YUYV
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT,4,2 ## @V4L2_BUF_TYPE_VIDEO_OUTPUT
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ## @VB2_USERPTR
	.comm	_VB2_DMABUF,4,2                 ## @VB2_DMABUF
	.comm	_VB2_WRITE,4,2                  ## @VB2_WRITE
	.comm	_VB2_READ,4,2                   ## @VB2_READ
	.comm	_GFP_DMA32,4,2                  ## @GFP_DMA32
	.comm	_cx25821_video_qops,4,2         ## @cx25821_video_qops
	.comm	_vb2_dma_sg_memops,4,2          ## @vb2_dma_sg_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_cx25821_video_out_device,48,3  ## @cx25821_video_out_device
	.comm	_cx25821_video_device,48,3      ## @cx25821_video_device
	.comm	_VFL_DIR_TX,4,2                 ## @VFL_DIR_TX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s #%d"

	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
	.comm	_video_nr,8,3                   ## @video_nr
	.comm	_PCI_INT_MSK,4,2                ## @PCI_INT_MSK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function cx25821_video_register
lCPI0_0:
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_cx25821_video_register
	.p2align	2
_cx25821_video_register:                ; @cx25821_video_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
Lloh0:
	adrp	x8, _V4L2_STD_NTSC_M@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_STD_NTSC_M@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0], #56
	bl	_spin_lock_init
Lloh3:
	adrp	x8, _MAX_VID_CAP_CHANNEL_NUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_VID_CAP_CHANNEL_NUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.1:
	mov	x28, #0
	mov	x21, #0
	mov	x27, #0
	mov	x20, #0
Lloh6:
	adrp	x10, _SRAM_CH08@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SRAM_CH08@GOTPAGEOFF]
	add	x11, x19, #24
	add	x9, x19, #28
	stp	x9, x11, [sp]                   ; 16-byte Folded Spill
Lloh8:
	adrp	x9, lCPI0_0@PAGE
Lloh9:
	ldr	d8, [x9, lCPI0_0@PAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	sub	w9, w8, #1
	add	x27, x27, #184
	add	x21, x21, #8
	add	x28, x28, #4
	cmp	x20, w9, sxtw
	b.ge	LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x10]
	cmp	x20, x9
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x19, #48]
	add	x23, x22, x27
	add	x24, x23, #128
	sxtw	x25, w9
	cmp	x20, x25
	b.le	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #40]
Lloh10:
	adrp	x9, _SRAM_CH09@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SRAM_CH09@GOTPAGEOFF]
Lloh12:
	ldrsw	x9, [x9]
	sub	x8, x8, x9, lsl #3
	add	x9, x8, x21
	add	x10, x22, x27
	str	x9, [x10, #120]
	str	x23, [x8, x20, lsl #3]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	w1, #4
	bl	_v4l2_ctrl_handler_init
Lloh13:
	adrp	x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x24
Lloh16:
	adrp	x26, _cx25821_ctrl_ops@GOTPAGE
Lloh17:
	ldr	x26, [x26, _cx25821_ctrl_ops@GOTPAGEOFF]
	mov	x1, x26
	mov	w3, #0
	mov	w4, #10000
	mov	w5, #1
	mov	w6, #6200
	bl	_v4l2_ctrl_new_std
Lloh18:
	adrp	x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x26
	mov	w3, #0
	mov	w4, #10000
	mov	w5, #1
	mov	w6, #5000
	bl	_v4l2_ctrl_new_std
Lloh21:
	adrp	x8, _V4L2_CID_SATURATION@GOTPAGE
Lloh22:
	ldr	x8, [x8, _V4L2_CID_SATURATION@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x26
	mov	w3, #0
	mov	w4, #10000
	mov	w5, #1
	mov	w6, #5000
	bl	_v4l2_ctrl_new_std
Lloh24:
	adrp	x8, _V4L2_CID_HUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_CID_HUE@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x26
	mov	w3, #0
	mov	w4, #10000
	mov	w5, #1
	mov	w6, #5000
	bl	_v4l2_ctrl_new_std
	add	x8, x22, x27
	ldr	w26, [x8, #128]
	cbnz	w26, LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_v4l2_ctrl_handler_setup
	cbnz	w0, LBB0_15
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh27:
	adrp	x8, _cx25821_sram_channels@GOTPAGE
Lloh28:
	ldr	x8, [x8, _cx25821_sram_channels@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	add	x8, x8, x28
	add	x26, x22, x27
	str	x8, [x26, #96]
	mov	w8, #720
	str	w8, [x26]
Lloh30:
	adrp	x8, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x26, #112]
	ldr	w8, [x19]
Lloh33:
	adrp	x9, _V4L2_STD_625_50@GOTPAGE
Lloh34:
	ldr	x9, [x9, _V4L2_STD_625_50@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #576
	mov	w9, #480
	csel	w8, w9, w8, eq
	str	w8, [x26, #4]
	ldr	x8, [x26, #8]
Lloh36:
	adrp	x9, _PIXEL_FRMT_411@GOTPAGE
Lloh37:
	ldr	x9, [x9, _PIXEL_FRMT_411@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh39:
	adrp	x8, _V4L2_PIX_FMT_Y41P@GOTPAGE
Lloh40:
	ldr	x8, [x8, _V4L2_PIX_FMT_Y41P@GOTPAGEOFF]
Lloh41:
	adrp	x9, _V4L2_PIX_FMT_YUYV@GOTPAGE
Lloh42:
	ldr	x9, [x9, _V4L2_PIX_FMT_YUYV@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	bl	_cx25821_format_by_fourcc
	str	x0, [x26, #104]
	ldr	x8, [x26, #96]
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_cx_write
	add	x0, x26, #88
	bl	_INIT_LIST_HEAD
	cmp	x20, x25
Lloh43:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPAGEOFF]
Lloh45:
	adrp	x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh46:
	ldr	x9, [x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
	csel	x8, x8, x9, gt
	ldr	w8, [x8]
	str	w8, [x26, #84]
Lloh47:
	adrp	x8, _VB2_MMAP@GOTPAGE
Lloh48:
	ldr	x8, [x8, _VB2_MMAP@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	adrp	x9, _VB2_USERPTR@GOTPAGE
Lloh51:
	ldr	x9, [x9, _VB2_USERPTR@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh53:
	adrp	x9, _VB2_DMABUF@GOTPAGE
Lloh54:
	ldr	x9, [x9, _VB2_DMABUF@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mov	x25, x26
	str	w8, [x25, #16]!
Lloh56:
	adrp	x9, _VB2_WRITE@GOTPAGE
Lloh57:
	ldr	x9, [x9, _VB2_WRITE@GOTPAGEOFF]
Lloh58:
	adrp	x10, _VB2_READ@GOTPAGE
Lloh59:
	ldr	x10, [x10, _VB2_READ@GOTPAGEOFF]
	csel	x9, x9, x10, gt
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x25]
Lloh60:
	adrp	x8, _GFP_DMA32@GOTPAGE
Lloh61:
	ldr	x8, [x8, _GFP_DMA32@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	str	w8, [x25, #64]
	str	x23, [x25, #56]
	stur	d8, [x25, #4]
Lloh63:
	adrp	x8, _cx25821_video_qops@GOTPAGE
Lloh64:
	ldr	x8, [x8, _cx25821_video_qops@GOTPAGEOFF]
	str	x8, [x25, #48]
Lloh65:
	adrp	x8, _vb2_dma_sg_memops@GOTPAGE
Lloh66:
	ldr	x8, [x8, _vb2_dma_sg_memops@GOTPAGEOFF]
	str	x8, [x25, #40]
Lloh67:
	adrp	x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh68:
	ldr	x8, [x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	str	w8, [x25, #32]
	ldr	x8, [x19, #32]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	stp	x8, x9, [x25, #16]
	b.le	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh70:
	adrp	x8, _cx25821_video_out_device@GOTPAGE
Lloh71:
	ldr	x8, [x8, _cx25821_video_out_device@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	stur	q2, [x26, #168]
	stur	q1, [x26, #152]
	stur	q0, [x26, #136]
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	x8, [x26, #176]
Lloh72:
	adrp	x8, _VFL_DIR_TX@GOTPAGE
Lloh73:
	ldr	x8, [x8, _VFL_DIR_TX@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	str	w8, [x26, #160]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	bl	_vb2_queue_init
	tbnz	w0, #31, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x22, x27
Lloh75:
	adrp	x9, _cx25821_video_device@GOTPAGE
Lloh76:
	ldr	x9, [x9, _cx25821_video_device@GOTPAGEOFF]
	ldp	q0, q1, [x9]
	ldr	q2, [x9, #32]
	stur	q2, [x8, #168]
	stur	q1, [x8, #152]
	stur	q0, [x8, #136]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	stp	x24, x9, [x8, #168]
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x23, #136
	add	x8, x22, x27
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	stp	x25, x9, [x8, #144]
	ldr	w0, [x8, #136]
	ldr	x3, [x19, #8]
	mov	w1, #4
Lloh77:
	adrp	x2, l_.str@PAGE
Lloh78:
	add	x2, x2, l_.str@PAGEOFF
	mov	x4, x20
	bl	_snprintf
	mov	x0, x24
	mov	x1, x23
	bl	_video_set_drvdata
Lloh79:
	adrp	x8, _VFL_TYPE_GRABBER@GOTPAGE
Lloh80:
	ldr	x8, [x8, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
Lloh82:
	adrp	x8, _video_nr@GOTPAGE
Lloh83:
	ldr	x8, [x8, _video_nr@GOTPAGEOFF]
Lloh84:
	ldr	x8, [x8]
	ldr	x9, [x19, #16]
	ldr	w2, [x8, x9, lsl #2]
	mov	x0, x24
	bl	_video_register_device
	tbnz	w0, #31, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh85:
	adrp	x8, _MAX_VID_CAP_CHANNEL_NUM@GOTPAGE
Lloh86:
	ldr	x8, [x8, _MAX_VID_CAP_CHANNEL_NUM@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
Lloh88:
	adrp	x10, _SRAM_CH08@GOTPAGE
Lloh89:
	ldr	x10, [x10, _SRAM_CH08@GOTPAGEOFF]
	b	LBB0_2
LBB0_14:
Lloh90:
	adrp	x8, _PCI_INT_MSK@GOTPAGE
Lloh91:
	ldr	x8, [x8, _PCI_INT_MSK@GOTPAGEOFF]
Lloh92:
	ldr	w0, [x8]
	mov	w1, #255
	bl	_cx_set
	mov	w26, #0
	b	LBB0_18
LBB0_15:
	mov	x26, x0
LBB0_16:
	add	w20, w20, #1
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	mov	x0, x19
	mov	x1, x20
	bl	_cx25821_video_unregister
	cmp	w20, #0
	b.gt	LBB0_17
LBB0_18:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_NTSC_M,4,2            ; @V4L2_STD_NTSC_M
	.comm	_MAX_VID_CAP_CHANNEL_NUM,4,2    ; @MAX_VID_CAP_CHANNEL_NUM
	.comm	_SRAM_CH08,4,2                  ; @SRAM_CH08
	.comm	_cx25821_ctrl_ops,4,2           ; @cx25821_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ; @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ; @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_V4L2_CID_HUE,4,2               ; @V4L2_CID_HUE
	.comm	_SRAM_CH09,4,2                  ; @SRAM_CH09
	.comm	_cx25821_sram_channels,8,3      ; @cx25821_sram_channels
	.comm	_V4L2_FIELD_INTERLACED,4,2      ; @V4L2_FIELD_INTERLACED
	.comm	_V4L2_STD_625_50,4,2            ; @V4L2_STD_625_50
	.comm	_PIXEL_FRMT_411,8,3             ; @PIXEL_FRMT_411
	.comm	_V4L2_PIX_FMT_Y41P,4,2          ; @V4L2_PIX_FMT_Y41P
	.comm	_V4L2_PIX_FMT_YUYV,4,2          ; @V4L2_PIX_FMT_YUYV
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT,4,2 ; @V4L2_BUF_TYPE_VIDEO_OUTPUT
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ; @VB2_USERPTR
	.comm	_VB2_DMABUF,4,2                 ; @VB2_DMABUF
	.comm	_VB2_WRITE,4,2                  ; @VB2_WRITE
	.comm	_VB2_READ,4,2                   ; @VB2_READ
	.comm	_GFP_DMA32,4,2                  ; @GFP_DMA32
	.comm	_cx25821_video_qops,4,2         ; @cx25821_video_qops
	.comm	_vb2_dma_sg_memops,4,2          ; @vb2_dma_sg_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_cx25821_video_out_device,48,3  ; @cx25821_video_out_device
	.comm	_cx25821_video_device,48,3      ; @cx25821_video_device
	.comm	_VFL_DIR_TX,4,2                 ; @VFL_DIR_TX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s #%d"

	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
	.comm	_video_nr,8,3                   ; @video_nr
	.comm	_PCI_INT_MSK,4,2                ; @PCI_INT_MSK
.subsections_via_symbols
