	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rvin_setup
_rvin_setup:                            ## @rvin_setup
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movl	$-136, %eax
	addl	24(%rdi), %eax
	cmpl	$5, %eax
	ja	LBB0_2
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_VNMC_IM_ODD@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_VNMC_IM_ODD_EVEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_4:
	movq	_VNMC_IM_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	_VNMC_IM_FULL@GOTPCREL(%rip), %rax
	movq	_VNMC_FOC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	jmp	LBB0_11
LBB0_6:
	movq	_VNMC_IM_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	16(%r13), %rax
	movb	$1, %dil
	cmpl	$0, 8(%rax)
	jne	LBB0_12
## %bb.7:
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_12
## %bb.8:
	movq	_VNMC_FOC@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	jmp	LBB0_12
LBB0_9:
	movq	_VNMC_IM_EVEN@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %r14d
LBB0_11:
	movb	$1, %dil
LBB0_12:
	xorl	%r8d, %r8d
	movl	$-142, %eax
	addl	4(%r13), %eax
	cmpl	$4, %eax
	ja	LBB0_26
## %bb.13:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movq	_VNMC_INF_YUV16@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_15:
	cmpq	$0, 8(%r13)
	jne	LBB0_23
## %bb.16:
	movq	48(%r13), %rax
	movl	4(%rax), %eax
	movq	_V4L2_MBUS_BT656@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
## %bb.17:
	movq	_VNMC_INF_YUV8_BT656@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_18:
	movq	_VNMC_INF_YUV16@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_VNMC_YCAL@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_19:
	cmpq	$0, 8(%r13)
	jne	LBB0_24
## %bb.20:
	movq	48(%r13), %rax
	movl	4(%rax), %eax
	movq	_V4L2_MBUS_BT656@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_24
## %bb.21:
	movq	_VNMC_INF_YUV10_BT656@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_22:
	movq	_VNMC_INF_RGB888@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	jmp	LBB0_26
LBB0_23:
	movq	_VNMC_INF_YUV8_BT601@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_24:
	movq	_VNMC_INF_YUV10_BT601@GOTPCREL(%rip), %rax
LBB0_25:
	orl	(%rax), %r14d
	movl	$1, %r8d
LBB0_26:
	movq	16(%r13), %rax
	movq	(%rax), %rax
	movq	_RCAR_GEN3@GOTPCREL(%rip), %r9
	movq	_VNDMR2_FTEV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	cmpq	(%r9), %rax
	je	LBB0_28
## %bb.27:
	movl	%edi, %r12d
	movl	$1, %edi
	movl	%r8d, %ebx
	callq	_VNDMR2_VLV
	movq	_RCAR_GEN3@GOTPCREL(%rip), %r9
	movl	%ebx, %r8d
	movl	%r12d, %edi
	orl	%eax, %r15d
LBB0_28:
	cmpq	$0, 8(%r13)
	jne	LBB0_36
## %bb.29:
	movq	48(%r13), %rax
	movl	(%rax), %ecx
	movq	_V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	movl	$0, %eax
	testl	%ecx, (%rsi)
	jne	LBB0_31
## %bb.30:
	movq	_VNDMR2_HPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_31:
	orl	%r15d, %eax
	movq	_V4L2_MBUS_VSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	jne	LBB0_33
## %bb.32:
	movq	_VNDMR2_VPS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_33:
	orl	%edx, %eax
	movq	_V4L2_MBUS_DATA_ENABLE_LOW@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_35
## %bb.34:
	movq	_VNDMR2_CES@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_35:
	movl	%eax, %r15d
LBB0_36:
	movl	28(%r13), %edx
	leal	-128(%rdx), %eax
	cmpl	$7, %eax
	ja	LBB0_39
## %bb.37:
	movl	$1, %ebx
	xorl	%r12d, %r12d
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_38:
	movq	_VNDMR_BPSM@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_39:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_vin_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_61
LBB0_40:
	movq	_VNDMR_DTMD_ARGB@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_41:
	movq	_VNDMR_EXRGB@GOTPCREL(%rip), %rax
LBB0_42:
	movl	(%rax), %r12d
	jmp	LBB0_50
LBB0_43:
	xorl	%r12d, %r12d
	jmp	LBB0_50
LBB0_44:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	36(%r13), %edi
	imull	32(%r13), %edi
	movl	$128, %esi
	movl	%r8d, %r12d
	callq	_ALIGN
	movq	_VNUVAOF_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_rvin_write
	movq	_RCAR_GEN3@GOTPCREL(%rip), %r9
	movl	%r12d, %r8d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	_VNDMR_DTMD_YCSEP@GOTPCREL(%rip), %rax
LBB0_45:
	movl	(%rax), %r12d
	jmp	LBB0_51
LBB0_46:
	movl	40(%r13), %r12d
	testl	%r12d, %r12d
	je	LBB0_49
## %bb.47:
	movq	_VNDMR_ABIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_49
LBB0_48:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	40(%r13), %edi
	movl	%r8d, %ebx
	movl	%r15d, %r12d
	movq	%r9, %r15
	callq	_VNDMR_A8BIT
	movq	%r15, %r9
	movl	%r12d, %r15d
	movl	%ebx, %r8d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %r12d
	movq	_VNDMR_EXRGB@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
LBB0_49:
	movq	_VNDMR_DTMD_ARGB@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
LBB0_50:
	xorl	%ebx, %ebx
LBB0_51:
	movq	_VNMC_VUP@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	xorl	%eax, %eax
	cmpl	%ebx, %r8d
	jne	LBB0_53
## %bb.52:
	movq	_VNMC_BPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_53:
	orl	%eax, %r14d
	movq	16(%r13), %rax
	movq	(%rax), %rax
	cmpq	(%r9), %rax
	jne	LBB0_56
## %bb.54:
	cmpq	$0, 8(%r13)
	movq	_VNMC_DPINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_58
## %bb.55:
	notl	%eax
	andl	%eax, %r14d
LBB0_56:
	testb	%dil, %dil
	je	LBB0_59
LBB0_57:
	movq	_VNIE_EFE@GOTPCREL(%rip), %rax
	jmp	LBB0_60
LBB0_58:
	orl	%eax, %r14d
	testb	%dil, %dil
	jne	LBB0_57
LBB0_59:
	movq	_VNIE_FIE@GOTPCREL(%rip), %rax
LBB0_60:
	movl	(%rax), %ebx
	movq	_VNINTS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_rvin_write
	movq	_VNIE_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_rvin_write
	movq	_VNDMR_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_rvin_write
	movq	_VNDMR2_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_rvin_write
	movq	_VNMC_ME@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_VNMC_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_rvin_write
	xorl	%eax, %eax
LBB0_61:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_9
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
LJTI0_1:
	.long	L0_1_set_14
	.long	L0_1_set_15
	.long	L0_1_set_18
	.long	L0_1_set_19
	.long	L0_1_set_22
.set L0_2_set_38, LBB0_38-LJTI0_2
.set L0_2_set_40, LBB0_40-LJTI0_2
.set L0_2_set_41, LBB0_41-LJTI0_2
.set L0_2_set_51, LBB0_51-LJTI0_2
.set L0_2_set_43, LBB0_43-LJTI0_2
.set L0_2_set_44, LBB0_44-LJTI0_2
.set L0_2_set_46, LBB0_46-LJTI0_2
.set L0_2_set_48, LBB0_48-LJTI0_2
LJTI0_2:
	.long	L0_2_set_38
	.long	L0_2_set_40
	.long	L0_2_set_41
	.long	L0_2_set_51
	.long	L0_2_set_43
	.long	L0_2_set_44
	.long	L0_2_set_46
	.long	L0_2_set_48
	.end_data_region
                                        ## -- End function
	.comm	_VNMC_IM_ODD,4,2                ## @VNMC_IM_ODD
	.comm	_VNMC_IM_EVEN,4,2               ## @VNMC_IM_EVEN
	.comm	_VNMC_IM_FULL,4,2               ## @VNMC_IM_FULL
	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
	.comm	_VNMC_FOC,4,2                   ## @VNMC_FOC
	.comm	_VNMC_IM_ODD_EVEN,4,2           ## @VNMC_IM_ODD_EVEN
	.comm	_VNMC_INF_YUV16,4,2             ## @VNMC_INF_YUV16
	.comm	_VNMC_YCAL,4,2                  ## @VNMC_YCAL
	.comm	_V4L2_MBUS_BT656,4,2            ## @V4L2_MBUS_BT656
	.comm	_VNMC_INF_YUV8_BT656,4,2        ## @VNMC_INF_YUV8_BT656
	.comm	_VNMC_INF_YUV8_BT601,4,2        ## @VNMC_INF_YUV8_BT601
	.comm	_VNMC_INF_RGB888,4,2            ## @VNMC_INF_RGB888
	.comm	_VNMC_INF_YUV10_BT656,4,2       ## @VNMC_INF_YUV10_BT656
	.comm	_VNMC_INF_YUV10_BT601,4,2       ## @VNMC_INF_YUV10_BT601
	.comm	_RCAR_GEN3,8,3                  ## @RCAR_GEN3
	.comm	_VNDMR2_FTEV,4,2                ## @VNDMR2_FTEV
	.comm	_V4L2_MBUS_HSYNC_ACTIVE_LOW,4,2 ## @V4L2_MBUS_HSYNC_ACTIVE_LOW
	.comm	_VNDMR2_HPS,4,2                 ## @VNDMR2_HPS
	.comm	_V4L2_MBUS_VSYNC_ACTIVE_LOW,4,2 ## @V4L2_MBUS_VSYNC_ACTIVE_LOW
	.comm	_VNDMR2_VPS,4,2                 ## @VNDMR2_VPS
	.comm	_V4L2_MBUS_DATA_ENABLE_LOW,4,2  ## @V4L2_MBUS_DATA_ENABLE_LOW
	.comm	_VNDMR2_CES,4,2                 ## @VNDMR2_CES
	.comm	_VNUVAOF_REG,4,2                ## @VNUVAOF_REG
	.comm	_VNDMR_DTMD_YCSEP,4,2           ## @VNDMR_DTMD_YCSEP
	.comm	_VNDMR_BPSM,4,2                 ## @VNDMR_BPSM
	.comm	_VNDMR_DTMD_ARGB,4,2            ## @VNDMR_DTMD_ARGB
	.comm	_VNDMR_EXRGB,4,2                ## @VNDMR_EXRGB
	.comm	_VNDMR_ABIT,4,2                 ## @VNDMR_ABIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid pixelformat (0x%x)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VNMC_VUP,4,2                   ## @VNMC_VUP
	.comm	_VNMC_BPS,4,2                   ## @VNMC_BPS
	.comm	_VNMC_DPINE,4,2                 ## @VNMC_DPINE
	.comm	_VNIE_FIE,4,2                   ## @VNIE_FIE
	.comm	_VNIE_EFE,4,2                   ## @VNIE_EFE
	.comm	_VNINTS_REG,4,2                 ## @VNINTS_REG
	.comm	_VNIE_REG,4,2                   ## @VNIE_REG
	.comm	_VNDMR_REG,4,2                  ## @VNDMR_REG
	.comm	_VNDMR2_REG,4,2                 ## @VNDMR2_REG
	.comm	_VNMC_ME,4,2                    ## @VNMC_ME
	.comm	_VNMC_REG,4,2                   ## @VNMC_REG
	.no_dead_strip	_rvin_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rvin_setup
_rvin_setup:                            ; @rvin_setup
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	w8, [x0, #24]
	sub	w8, w8, #136
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _VNMC_IM_ODD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VNMC_IM_ODD@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
	mov	w22, #0
Lloh4:
	adrp	x8, _VNMC_IM_ODD_EVEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VNMC_IM_ODD_EVEN@GOTPAGEOFF]
Lloh6:
	ldr	w23, [x8]
	b	LBB0_12
LBB0_4:
Lloh7:
	adrp	x8, _VNMC_IM_FULL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VNMC_IM_FULL@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
Lloh9:
	adrp	x8, _VNMC_IM_FULL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VNMC_IM_FULL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _VNMC_FOC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VNMC_FOC@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w23, w9, w8
	b	LBB0_11
LBB0_6:
Lloh15:
	adrp	x8, _VNMC_IM_FULL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VNMC_IM_FULL@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #8]
	cbnz	w8, LBB0_11
; %bb.7:
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _V4L2_STD_525_60@GOTPAGE
Lloh19:
	ldr	x9, [x9, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.8:
Lloh21:
	adrp	x8, _VNMC_FOC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VNMC_FOC@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w23, w8, w23
	b	LBB0_11
LBB0_9:
Lloh24:
	adrp	x8, _VNMC_IM_EVEN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VNMC_IM_EVEN@GOTPAGEOFF]
LBB0_10:
	ldr	w23, [x8]
LBB0_11:
	mov	w22, #1
LBB0_12:
	ldr	w8, [x19, #4]
	sub	w8, w8, #142
	cmp	w8, #4
	b.hi	LBB0_15
; %bb.13:
Lloh26:
	adrp	x9, lJTI0_1@PAGE
Lloh27:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_14
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_14:
Lloh28:
	adrp	x8, _VNMC_INF_YUV16@GOTPAGE
Lloh29:
	ldr	x8, [x8, _VNMC_INF_YUV16@GOTPAGEOFF]
	b	LBB0_26
LBB0_15:
	mov	w24, #0
	b	LBB0_28
LBB0_16:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_24
; %bb.17:
	ldr	x8, [x19, #48]
	ldr	w8, [x8, #4]
Lloh30:
	adrp	x9, _V4L2_MBUS_BT656@GOTPAGE
Lloh31:
	ldr	x9, [x9, _V4L2_MBUS_BT656@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_24
; %bb.18:
Lloh33:
	adrp	x8, _VNMC_INF_YUV8_BT656@GOTPAGE
Lloh34:
	ldr	x8, [x8, _VNMC_INF_YUV8_BT656@GOTPAGEOFF]
	b	LBB0_26
LBB0_19:
Lloh35:
	adrp	x8, _VNMC_INF_YUV16@GOTPAGE
Lloh36:
	ldr	x8, [x8, _VNMC_INF_YUV16@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _VNMC_YCAL@GOTPAGE
Lloh39:
	ldr	x9, [x9, _VNMC_YCAL@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w23
	orr	w23, w8, w9
	b	LBB0_27
LBB0_20:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_25
; %bb.21:
	ldr	x8, [x19, #48]
	ldr	w8, [x8, #4]
Lloh41:
	adrp	x9, _V4L2_MBUS_BT656@GOTPAGE
Lloh42:
	ldr	x9, [x9, _V4L2_MBUS_BT656@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.22:
Lloh44:
	adrp	x8, _VNMC_INF_YUV10_BT656@GOTPAGE
Lloh45:
	ldr	x8, [x8, _VNMC_INF_YUV10_BT656@GOTPAGEOFF]
	b	LBB0_26
LBB0_23:
	mov	w24, #0
Lloh46:
	adrp	x8, _VNMC_INF_RGB888@GOTPAGE
Lloh47:
	ldr	x8, [x8, _VNMC_INF_RGB888@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	orr	w23, w8, w23
	b	LBB0_28
LBB0_24:
Lloh49:
	adrp	x8, _VNMC_INF_YUV8_BT601@GOTPAGE
Lloh50:
	ldr	x8, [x8, _VNMC_INF_YUV8_BT601@GOTPAGEOFF]
	b	LBB0_26
LBB0_25:
Lloh51:
	adrp	x8, _VNMC_INF_YUV10_BT601@GOTPAGE
Lloh52:
	ldr	x8, [x8, _VNMC_INF_YUV10_BT601@GOTPAGEOFF]
LBB0_26:
	ldr	w8, [x8]
	orr	w23, w8, w23
LBB0_27:
	mov	w24, #1
LBB0_28:
	ldr	x8, [x19, #16]
Lloh53:
	adrp	x25, _RCAR_GEN3@GOTPAGE
Lloh54:
	ldr	x25, [x25, _RCAR_GEN3@GOTPAGEOFF]
	ldr	x8, [x8]
	ldr	x9, [x25]
Lloh55:
	adrp	x10, _VNDMR2_FTEV@GOTPAGE
Lloh56:
	ldr	x10, [x10, _VNDMR2_FTEV@GOTPAGEOFF]
Lloh57:
	ldr	w20, [x10]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.29:
	mov	w0, #1
	bl	_VNDMR2_VLV
	orr	w20, w0, w20
LBB0_30:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_33
; %bb.31:
	ldr	x8, [x19, #48]
	ldr	w8, [x8]
Lloh58:
	adrp	x9, _V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPAGE
Lloh59:
	ldr	x9, [x9, _V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPAGEOFF]
Lloh60:
	adrp	x10, _VNDMR2_HPS@GOTPAGE
Lloh61:
	ldr	x10, [x10, _VNDMR2_HPS@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
Lloh63:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, w10, wzr, eq
Lloh64:
	adrp	x10, _V4L2_MBUS_VSYNC_ACTIVE_LOW@GOTPAGE
Lloh65:
	ldr	x10, [x10, _V4L2_MBUS_VSYNC_ACTIVE_LOW@GOTPAGEOFF]
	orr	w9, w9, w20
Lloh66:
	ldr	w10, [x10]
Lloh67:
	adrp	x11, _VNDMR2_VPS@GOTPAGE
Lloh68:
	ldr	x11, [x11, _VNDMR2_VPS@GOTPAGEOFF]
Lloh69:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, w11, wzr, eq
	orr	w20, w9, w10
Lloh70:
	adrp	x9, _V4L2_MBUS_DATA_ENABLE_LOW@GOTPAGE
Lloh71:
	ldr	x9, [x9, _V4L2_MBUS_DATA_ENABLE_LOW@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.32:
Lloh73:
	adrp	x8, _VNDMR2_CES@GOTPAGE
Lloh74:
	ldr	x8, [x8, _VNDMR2_CES@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_33:
	ldr	w2, [x19, #28]
	sub	w9, w2, #128
	cmp	w9, #7
	b.hi	LBB0_36
; %bb.34:
	mov	w21, #0
	mov	w8, #1
Lloh76:
	adrp	x10, lJTI0_2@PAGE
Lloh77:
	add	x10, x10, lJTI0_2@PAGEOFF
	adr	x11, LBB0_35
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_35:
Lloh78:
	adrp	x8, _VNDMR_BPSM@GOTPAGE
Lloh79:
	ldr	x8, [x8, _VNDMR_BPSM@GOTPAGEOFF]
	b	LBB0_42
LBB0_36:
Lloh80:
	adrp	x1, l_.str@PAGE
Lloh81:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_vin_err
Lloh82:
	adrp	x8, _EINVAL@GOTPAGE
Lloh83:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh84:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_49
LBB0_37:
	mov	w8, #0
Lloh85:
	adrp	x9, _VNDMR_DTMD_ARGB@GOTPAGE
Lloh86:
	ldr	x9, [x9, _VNDMR_DTMD_ARGB@GOTPAGEOFF]
	b	LBB0_39
LBB0_38:
	mov	w8, #0
Lloh87:
	adrp	x9, _VNDMR_EXRGB@GOTPAGE
Lloh88:
	ldr	x9, [x9, _VNDMR_EXRGB@GOTPAGEOFF]
LBB0_39:
	ldr	w21, [x9]
	b	LBB0_46
LBB0_40:
	mov	w21, #0
	mov	w8, #0
	b	LBB0_46
LBB0_41:
	ldp	w8, w9, [x19, #32]
	mul	w0, w9, w8
	mov	w1, #128
	bl	_ALIGN
	mov	x1, x0
Lloh89:
	adrp	x8, _VNUVAOF_REG@GOTPAGE
Lloh90:
	ldr	x8, [x8, _VNUVAOF_REG@GOTPAGEOFF]
Lloh91:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rvin_write
Lloh92:
	adrp	x8, _VNDMR_DTMD_YCSEP@GOTPAGE
Lloh93:
	ldr	x8, [x8, _VNDMR_DTMD_YCSEP@GOTPAGEOFF]
LBB0_42:
	ldr	w21, [x8]
	mov	w8, #1
	b	LBB0_46
LBB0_43:
	mov	w8, #0
	ldr	w9, [x19, #40]
Lloh94:
	adrp	x10, _VNDMR_ABIT@GOTPAGE
Lloh95:
	ldr	x10, [x10, _VNDMR_ABIT@GOTPAGEOFF]
Lloh96:
	ldr	w10, [x10]
	cmp	w9, #0
	csel	w9, wzr, w10, eq
	b	LBB0_45
LBB0_44:
	ldr	w0, [x19, #40]
	bl	_VNDMR_A8BIT
	mov	w8, #0
Lloh97:
	adrp	x9, _VNDMR_EXRGB@GOTPAGE
Lloh98:
	ldr	x9, [x9, _VNDMR_EXRGB@GOTPAGEOFF]
Lloh99:
	ldr	w9, [x9]
	orr	w9, w9, w0
LBB0_45:
Lloh100:
	adrp	x10, _VNDMR_DTMD_ARGB@GOTPAGE
Lloh101:
	ldr	x10, [x10, _VNDMR_DTMD_ARGB@GOTPAGEOFF]
Lloh102:
	ldr	w10, [x10]
	orr	w21, w9, w10
LBB0_46:
Lloh103:
	adrp	x9, _VNMC_VUP@GOTPAGE
Lloh104:
	ldr	x9, [x9, _VNMC_VUP@GOTPAGEOFF]
Lloh105:
	ldr	w9, [x9]
	orr	w9, w9, w23
Lloh106:
	adrp	x10, _VNMC_BPS@GOTPAGE
Lloh107:
	ldr	x10, [x10, _VNMC_BPS@GOTPAGEOFF]
Lloh108:
	ldr	w10, [x10]
	cmp	w24, w8
	csel	w8, w10, wzr, eq
	orr	w23, w9, w8
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_48
; %bb.47:
Lloh109:
	adrp	x8, _VNMC_DPINE@GOTPAGE
Lloh110:
	ldr	x8, [x8, _VNMC_DPINE@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh111:
	ldr	w8, [x8]
	orr	w10, w8, w23
	bic	w8, w23, w8
	cmp	x9, #0
	csel	w23, w10, w8, eq
LBB0_48:
Lloh112:
	adrp	x8, _VNIE_FIE@GOTPAGE
Lloh113:
	ldr	x8, [x8, _VNIE_FIE@GOTPAGEOFF]
Lloh114:
	adrp	x9, _VNIE_EFE@GOTPAGE
Lloh115:
	ldr	x9, [x9, _VNIE_EFE@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, ne
	ldr	w22, [x8]
Lloh116:
	adrp	x8, _VNINTS_REG@GOTPAGE
Lloh117:
	ldr	x8, [x8, _VNINTS_REG@GOTPAGEOFF]
Lloh118:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_rvin_write
Lloh119:
	adrp	x8, _VNIE_REG@GOTPAGE
Lloh120:
	ldr	x8, [x8, _VNIE_REG@GOTPAGEOFF]
Lloh121:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_rvin_write
Lloh122:
	adrp	x8, _VNDMR_REG@GOTPAGE
Lloh123:
	ldr	x8, [x8, _VNDMR_REG@GOTPAGEOFF]
Lloh124:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_rvin_write
Lloh125:
	adrp	x8, _VNDMR2_REG@GOTPAGE
Lloh126:
	ldr	x8, [x8, _VNDMR2_REG@GOTPAGEOFF]
Lloh127:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_rvin_write
Lloh128:
	adrp	x8, _VNMC_ME@GOTPAGE
Lloh129:
	ldr	x8, [x8, _VNMC_ME@GOTPAGEOFF]
Lloh130:
	ldr	w8, [x8]
	orr	w1, w8, w23
Lloh131:
	adrp	x8, _VNMC_REG@GOTPAGE
Lloh132:
	ldr	x8, [x8, _VNMC_REG@GOTPAGEOFF]
Lloh133:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rvin_write
	mov	w0, #0
LBB0_49:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh62
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpLdrGot	Lloh112, Lloh113
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_16-LBB0_14)>>2
	.byte	(LBB0_19-LBB0_14)>>2
	.byte	(LBB0_20-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
lJTI0_2:
	.byte	(LBB0_35-LBB0_35)>>2
	.byte	(LBB0_37-LBB0_35)>>2
	.byte	(LBB0_38-LBB0_35)>>2
	.byte	(LBB0_46-LBB0_35)>>2
	.byte	(LBB0_40-LBB0_35)>>2
	.byte	(LBB0_41-LBB0_35)>>2
	.byte	(LBB0_43-LBB0_35)>>2
	.byte	(LBB0_44-LBB0_35)>>2
                                        ; -- End function
	.comm	_VNMC_IM_ODD,4,2                ; @VNMC_IM_ODD
	.comm	_VNMC_IM_EVEN,4,2               ; @VNMC_IM_EVEN
	.comm	_VNMC_IM_FULL,4,2               ; @VNMC_IM_FULL
	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
	.comm	_VNMC_FOC,4,2                   ; @VNMC_FOC
	.comm	_VNMC_IM_ODD_EVEN,4,2           ; @VNMC_IM_ODD_EVEN
	.comm	_VNMC_INF_YUV16,4,2             ; @VNMC_INF_YUV16
	.comm	_VNMC_YCAL,4,2                  ; @VNMC_YCAL
	.comm	_V4L2_MBUS_BT656,4,2            ; @V4L2_MBUS_BT656
	.comm	_VNMC_INF_YUV8_BT656,4,2        ; @VNMC_INF_YUV8_BT656
	.comm	_VNMC_INF_YUV8_BT601,4,2        ; @VNMC_INF_YUV8_BT601
	.comm	_VNMC_INF_RGB888,4,2            ; @VNMC_INF_RGB888
	.comm	_VNMC_INF_YUV10_BT656,4,2       ; @VNMC_INF_YUV10_BT656
	.comm	_VNMC_INF_YUV10_BT601,4,2       ; @VNMC_INF_YUV10_BT601
	.comm	_RCAR_GEN3,8,3                  ; @RCAR_GEN3
	.comm	_VNDMR2_FTEV,4,2                ; @VNDMR2_FTEV
	.comm	_V4L2_MBUS_HSYNC_ACTIVE_LOW,4,2 ; @V4L2_MBUS_HSYNC_ACTIVE_LOW
	.comm	_VNDMR2_HPS,4,2                 ; @VNDMR2_HPS
	.comm	_V4L2_MBUS_VSYNC_ACTIVE_LOW,4,2 ; @V4L2_MBUS_VSYNC_ACTIVE_LOW
	.comm	_VNDMR2_VPS,4,2                 ; @VNDMR2_VPS
	.comm	_V4L2_MBUS_DATA_ENABLE_LOW,4,2  ; @V4L2_MBUS_DATA_ENABLE_LOW
	.comm	_VNDMR2_CES,4,2                 ; @VNDMR2_CES
	.comm	_VNUVAOF_REG,4,2                ; @VNUVAOF_REG
	.comm	_VNDMR_DTMD_YCSEP,4,2           ; @VNDMR_DTMD_YCSEP
	.comm	_VNDMR_BPSM,4,2                 ; @VNDMR_BPSM
	.comm	_VNDMR_DTMD_ARGB,4,2            ; @VNDMR_DTMD_ARGB
	.comm	_VNDMR_EXRGB,4,2                ; @VNDMR_EXRGB
	.comm	_VNDMR_ABIT,4,2                 ; @VNDMR_ABIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid pixelformat (0x%x)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VNMC_VUP,4,2                   ; @VNMC_VUP
	.comm	_VNMC_BPS,4,2                   ; @VNMC_BPS
	.comm	_VNMC_DPINE,4,2                 ; @VNMC_DPINE
	.comm	_VNIE_FIE,4,2                   ; @VNIE_FIE
	.comm	_VNIE_EFE,4,2                   ; @VNIE_EFE
	.comm	_VNINTS_REG,4,2                 ; @VNINTS_REG
	.comm	_VNIE_REG,4,2                   ; @VNIE_REG
	.comm	_VNDMR_REG,4,2                  ; @VNDMR_REG
	.comm	_VNDMR2_REG,4,2                 ; @VNDMR2_REG
	.comm	_VNMC_ME,4,2                    ; @VNMC_ME
	.comm	_VNMC_REG,4,2                   ; @VNMC_REG
	.no_dead_strip	_rvin_setup
.subsections_via_symbols
