	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sh_vou_probe
_sh_vou_probe:                          ## @sh_vou_probe
	.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	$40, %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	(%rdi), %r13
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %r12
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	testq	%r13, %r13
	je	LBB0_6
## %bb.1:
	testq	%r12, %r12
	je	LBB0_6
## %bb.2:
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$216, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movq	%r13, %r15
	movq	%rax, %rbx
	leaq	8(%rax), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	callq	_INIT_LIST_HEAD
	leaq	208(%r13), %rdi
	callq	_spin_lock_init
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	addq	$12, %r13
	movq	%r13, %rdi
	callq	_mutex_init
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, 200(%rbx)
	movq	_SH_VOU_INITIALISING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 192(%rbx)
	movl	$1, (%rbx)
	movq	_V4L2_STD_NTSC_M@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 132(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 176(%rbx)
	movq	_VOU_MAX_IMAGE_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 168(%rbx)
	movl	$480, 172(%rbx)                 ## imm = 0x1E0
	movl	%eax, 136(%rbx)
	movl	$480, 140(%rbx)                 ## imm = 0x1E0
	movq	_V4L2_PIX_FMT_NV16@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 160(%rbx)
	movq	_V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 156(%rbx)
	movl	%eax, 144(%rbx)
	imull	$960, %eax, %eax                ## imm = 0x3C0
	movl	%eax, 148(%rbx)
	movq	_V4L2_COLORSPACE_SMPTE170M@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 152(%rbx)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 128(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movl	128(%rbx), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
LBB0_8:
	subl	(%rax), %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	_sh_vou_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %r8
	movq	%r14, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_20
## %bb.11:
	leaq	4(%r12), %r13
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_v4l2_device_register
	testl	%eax, %eax
	js	LBB0_21
## %bb.12:
	leaq	88(%r12), %rdx
	movq	_sh_vou_video_template@GOTPCREL(%rip), %rax
	movq	32(%rax), %rcx
	movq	%rcx, 120(%rbx)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	%xmm1, 104(%rbx)
	movups	%xmm0, 88(%rbx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_SH_VOU_BUS_8BIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movq	_V4L2_STD_PAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 120(%rbx)
LBB0_14:
	movq	%r13, 112(%rbx)
	movq	_video_device_release_empty@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rbx)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, 96(%rbx)
	movq	%rdx, %rdi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_video_set_drvdata
	addq	$16, %r12
	movq	_V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	_VB2_MMAP@GOTPCREL(%rip), %rax
	movq	_VB2_DMABUF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VB2_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 16(%rbx)
	movq	%rbx, 72(%rbx)
	movl	$4, 20(%rbx)
	movq	_sh_vou_qops@GOTPCREL(%rip), %rax
	movq	%rax, 64(%rbx)
	movq	_vb2_dma_contig_memops@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movl	$2, 24(%rbx)
	movq	%r15, 40(%rbx)
	movq	%r14, 32(%rbx)
	movq	%r12, %rdi
	callq	_vb2_queue_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_26
## %bb.15:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_INIT_LIST_HEAD
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	movq	%r14, %rdi
	callq	_pm_runtime_resume
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	callq	_i2c_get_adapter
	testq	%rax, %rax
	je	LBB0_22
## %bb.16:
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_sh_vou_hw_init
	testl	%eax, %eax
	js	LBB0_19
## %bb.17:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edx
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_v4l2_i2c_new_subdev_board
	testq	%rax, %rax
	je	LBB0_23
## %bb.18:
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$-1, %edx
	callq	_video_register_device
	testl	%eax, %eax
	jns	LBB0_9
LBB0_19:
	movl	%eax, %r15d
	jmp	LBB0_24
LBB0_20:
	movl	%eax, %r15d
	jmp	LBB0_9
LBB0_21:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_9
LBB0_22:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_25
LBB0_23:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_24:
	movq	%r13, %rdi
	callq	_i2c_put_adapter
LBB0_25:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_26:
	movq	%r14, %rdi
	callq	_pm_runtime_disable
	movq	%r13, %rdi
	callq	_v4l2_device_unregister
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Insufficient VOU platform information.\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SH_VOU_INITIALISING,4,2        ## @SH_VOU_INITIALISING
	.comm	_V4L2_STD_NTSC_M,4,2            ## @V4L2_STD_NTSC_M
	.comm	_VOU_MAX_IMAGE_WIDTH,4,2        ## @VOU_MAX_IMAGE_WIDTH
	.comm	_V4L2_PIX_FMT_NV16,4,2          ## @V4L2_PIX_FMT_NV16
	.comm	_V4L2_FIELD_INTERLACED,4,2      ## @V4L2_FIELD_INTERLACED
	.comm	_V4L2_COLORSPACE_SMPTE170M,4,2  ## @V4L2_COLORSPACE_SMPTE170M
	.comm	_sh_vou_isr,4,2                 ## @sh_vou_isr
L_.str.1:                               ## @.str.1
	.asciz	"vou"

L_.str.2:                               ## @.str.2
	.asciz	"Error registering v4l2 device\n"

	.comm	_sh_vou_video_template,40,3     ## @sh_vou_video_template
	.comm	_SH_VOU_BUS_8BIT,8,3            ## @SH_VOU_BUS_8BIT
	.comm	_V4L2_STD_PAL,4,2               ## @V4L2_STD_PAL
	.comm	_video_device_release_empty,4,2 ## @video_device_release_empty
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT,4,2 ## @V4L2_BUF_TYPE_VIDEO_OUTPUT
	.comm	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_VB2_DMABUF,4,2                 ## @VB2_DMABUF
	.comm	_VB2_WRITE,4,2                  ## @VB2_WRITE
	.comm	_sh_vou_qops,4,2                ## @sh_vou_qops
	.comm	_vb2_dma_contig_memops,4,2      ## @vb2_dma_contig_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
	.no_dead_strip	_sh_vou_probe
.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 sh_vou_probe
lCPI0_0:
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_sh_vou_probe:                          ; @sh_vou_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	ldr	x27, [x0]
Lloh0:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_platform_get_resource
	mov	x24, x0
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	cmp	x27, #0
	ccmp	x24, #0, #4, ne
	ccmp	w0, #0, #4, ne
	b.gt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	x21, x0
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #216
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	add	x22, x0, #8
	mov	x0, x22
	bl	_INIT_LIST_HEAD
	add	x0, x20, #208
	bl	_spin_lock_init
	add	x23, x20, #12
	mov	x0, x23
	bl	_mutex_init
	str	x27, [x20, #200]
Lloh10:
	adrp	x8, _SH_VOU_INITIALISING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SH_VOU_INITIALISING@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x20, #192]
	mov	w8, #1
	str	w8, [x20]
Lloh13:
	adrp	x8, _V4L2_STD_NTSC_M@GOTPAGE
Lloh14:
	ldr	x8, [x8, _V4L2_STD_NTSC_M@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _VOU_MAX_IMAGE_WIDTH@GOTPAGE
Lloh17:
	ldr	x9, [x9, _VOU_MAX_IMAGE_WIDTH@GOTPAGEOFF]
	stp	xzr, xzr, [x20, #176]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _V4L2_PIX_FMT_NV16@GOTPAGE
Lloh20:
	ldr	x10, [x10, _V4L2_PIX_FMT_NV16@GOTPAGEOFF]
Lloh21:
	adrp	x11, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh22:
	ldr	x11, [x11, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	ldr	w11, [x11]
	stp	w11, w10, [x20, #156]
	mov	w10, #480
	stp	w9, w10, [x20, #168]
	stp	w8, w9, [x20, #132]
	stp	w10, w9, [x20, #140]
	mov	w8, #960
	mul	w8, w9, w8
Lloh25:
	adrp	x9, _V4L2_COLORSPACE_SMPTE170M@GOTPAGE
Lloh26:
	ldr	x9, [x9, _V4L2_COLORSPACE_SMPTE170M@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	stp	w8, w9, [x20, #148]
	mov	x0, x19
	mov	x1, x24
	bl	_devm_ioremap_resource
	str	w0, [x20, #128]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.4:
	ldr	w0, [x20, #128]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
Lloh28:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_7:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh30:
	adrp	x8, _sh_vou_isr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _sh_vou_isr@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x4, l_.str.1@PAGE
Lloh34:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_18
; %bb.9:
	add	x21, x20, #4
	mov	x0, x19
	mov	x1, x21
	bl	_v4l2_device_register
	tbnz	w0, #31, LBB0_19
; %bb.10:
Lloh35:
	adrp	x8, _sh_vou_video_template@GOTPAGE
Lloh36:
	ldr	x8, [x8, _sh_vou_video_template@GOTPAGEOFF]
	add	x24, x20, #88
	ldp	q0, q1, [x8]
	stur	q0, [x20, #88]
	stur	q1, [x20, #104]
	ldr	x8, [x8, #32]
	str	x8, [x20, #120]
	ldr	x8, [x27]
Lloh37:
	adrp	x9, _SH_VOU_BUS_8BIT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _SH_VOU_BUS_8BIT@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
Lloh40:
	adrp	x8, _V4L2_STD_PAL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _V4L2_STD_PAL@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	ldr	w9, [x20, #120]
	orr	w8, w9, w8
	str	w8, [x20, #120]
LBB0_12:
	str	x21, [x20, #112]
Lloh43:
	adrp	x8, _video_device_release_empty@GOTPAGE
Lloh44:
	ldr	x8, [x8, _video_device_release_empty@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	str	w8, [x20, #104]
	str	x23, [x20, #96]
	mov	x0, x24
	mov	x1, x20
	bl	_video_set_drvdata
Lloh46:
	adrp	x8, _VB2_MMAP@GOTPAGE
Lloh47:
	ldr	x8, [x8, _VB2_MMAP@GOTPAGEOFF]
Lloh48:
	adrp	x9, _VB2_DMABUF@GOTPAGE
Lloh49:
	ldr	x9, [x9, _VB2_DMABUF@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh52:
	adrp	x9, _VB2_WRITE@GOTPAGE
Lloh53:
	ldr	x9, [x9, _VB2_WRITE@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mov	x26, x20
	str	w8, [x26, #16]!
Lloh55:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	str	w8, [x20, #80]
Lloh58:
	adrp	x8, _sh_vou_qops@GOTPAGE
Lloh59:
	ldr	x8, [x8, _sh_vou_qops@GOTPAGEOFF]
Lloh60:
	adrp	x9, _vb2_dma_contig_memops@GOTPAGE
Lloh61:
	ldr	x9, [x9, _vb2_dma_contig_memops@GOTPAGEOFF]
	stp	x8, x20, [x20, #64]
	str	x9, [x20, #56]
Lloh62:
	adrp	x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh63:
	ldr	x8, [x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	str	w8, [x20, #48]
Lloh65:
	adrp	x8, lCPI0_0@PAGE
Lloh66:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x20, #20]
	stp	x19, x23, [x20, #32]
	mov	x0, x26
	bl	_vb2_queue_init
	mov	x25, x0
	cbnz	w0, LBB0_24
; %bb.13:
	str	x26, [x24]
	mov	x0, x22
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x19
	bl	_pm_runtime_resume
	ldr	w0, [x27, #12]
	bl	_i2c_get_adapter
	cbz	x0, LBB0_20
; %bb.14:
	mov	x22, x0
	mov	x0, x20
	bl	_sh_vou_hw_init
	tbnz	w0, #31, LBB0_21
; %bb.15:
	ldr	w2, [x27, #8]
	mov	x0, x21
	mov	x1, x22
	mov	x3, #0
	bl	_v4l2_i2c_new_subdev_board
	cbz	x0, LBB0_22
; %bb.16:
Lloh67:
	adrp	x8, _VFL_TYPE_GRABBER@GOTPAGE
Lloh68:
	ldr	x8, [x8, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	x0, x24
	mov	w2, #-1
	bl	_video_register_device
	tbnz	w0, #31, LBB0_21
; %bb.17:
	mov	w25, #0
	b	LBB0_7
LBB0_18:
	mov	x25, x0
	b	LBB0_7
LBB0_19:
	mov	x25, x0
Lloh70:
	adrp	x1, l_.str.2@PAGE
Lloh71:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_20:
Lloh72:
	adrp	x8, _ENODEV@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_24
LBB0_21:
	mov	x25, x0
	b	LBB0_23
LBB0_22:
Lloh75:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_23:
	mov	x0, x22
	bl	_i2c_put_adapter
LBB0_24:
	mov	x0, x19
	bl	_pm_runtime_disable
	mov	x0, x21
	bl	_v4l2_device_unregister
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdr	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh50
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Insufficient VOU platform information.\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SH_VOU_INITIALISING,4,2        ; @SH_VOU_INITIALISING
	.comm	_V4L2_STD_NTSC_M,4,2            ; @V4L2_STD_NTSC_M
	.comm	_VOU_MAX_IMAGE_WIDTH,4,2        ; @VOU_MAX_IMAGE_WIDTH
	.comm	_V4L2_PIX_FMT_NV16,4,2          ; @V4L2_PIX_FMT_NV16
	.comm	_V4L2_FIELD_INTERLACED,4,2      ; @V4L2_FIELD_INTERLACED
	.comm	_V4L2_COLORSPACE_SMPTE170M,4,2  ; @V4L2_COLORSPACE_SMPTE170M
	.comm	_sh_vou_isr,4,2                 ; @sh_vou_isr
l_.str.1:                               ; @.str.1
	.asciz	"vou"

l_.str.2:                               ; @.str.2
	.asciz	"Error registering v4l2 device\n"

	.comm	_sh_vou_video_template,40,3     ; @sh_vou_video_template
	.comm	_SH_VOU_BUS_8BIT,8,3            ; @SH_VOU_BUS_8BIT
	.comm	_V4L2_STD_PAL,4,2               ; @V4L2_STD_PAL
	.comm	_video_device_release_empty,4,2 ; @video_device_release_empty
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT,4,2 ; @V4L2_BUF_TYPE_VIDEO_OUTPUT
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_VB2_DMABUF,4,2                 ; @VB2_DMABUF
	.comm	_VB2_WRITE,4,2                  ; @VB2_WRITE
	.comm	_sh_vou_qops,4,2                ; @sh_vou_qops
	.comm	_vb2_dma_contig_memops,4,2      ; @vb2_dma_contig_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
	.no_dead_strip	_sh_vou_probe
.subsections_via_symbols
