	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xvtc_generator_start           ## -- Begin function xvtc_generator_start
	.p2align	4, 0x90
_xvtc_generator_start:                  ## @xvtc_generator_start
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 4(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_XVTC_POLARITY_ACTIVE_CHROMA_POL@GOTPCREL(%rip), %rax
	movq	_XVTC_POLARITY_ACTIVE_VIDEO_POL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_XVTC_POLARITY_HSYNC_POL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_POLARITY_VSYNC_POL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_POLARITY@GOTPCREL(%rip), %rax
	movq	_XVTC_POLARITY_HBLANK_POL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_XVTC_POLARITY_VBLANK_POL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_xvtc_gen_write
	movq	_XVTC_ENCODING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_xvtc_gen_write
	movq	_XVTC_ACTIVE_SIZE@GOTPCREL(%rip), %rax
	movq	_XVTC_ACTIVE_VSIZE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	(%r15), %edi
	shll	%cl, %edi
	movl	(%rax), %esi
	movl	4(%r15), %edx
	movq	_XVTC_ACTIVE_HSIZE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%edi, %edx
	movq	%rbx, %rdi
	callq	_xvtc_gen_write
	movq	_XVTC_HSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	movq	%rbx, %rdi
	callq	_xvtc_gen_write
	movq	_XVTC_VSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	movq	%rbx, %rdi
	callq	_xvtc_gen_write
	movq	_XVTC_HSYNC@GOTPCREL(%rip), %rax
	movq	_XVTC_HSYNC_END_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	16(%r15), %edi
	shll	%cl, %edi
	movl	(%rax), %esi
	movl	20(%r15), %edx
	movq	_XVTC_HSYNC_START_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%edi, %edx
	movq	%rbx, %rdi
	callq	_xvtc_gen_write
	movq	_XVTC_F0_VBLANK_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_xvtc_gen_write
	movq	_XVTC_F0_VSYNC_V@GOTPCREL(%rip), %rax
	movq	_XVTC_F0_VSYNC_VEND_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	24(%r15), %edi
	shll	%cl, %edi
	movl	(%rax), %esi
	movl	28(%r15), %edx
	movq	_XVTC_F0_VSYNC_VSTART_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%edi, %edx
	movq	%rbx, %rdi
	callq	_xvtc_gen_write
	movq	_XVTC_F0_VSYNC_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_xvtc_gen_write
	movq	_XVTC_CONTROL_ACTIVE_CHROMA_POL_SRC@GOTPCREL(%rip), %rax
	movq	_XVTC_CONTROL_ACTIVE_VIDEO_POL_SRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_HSYNC_POL_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_VSYNC_POL_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_HBLANK_POL_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_VBLANK_POL_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_CHROMA_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_VBLANK_HOFF_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_VSYNC_END_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_VSYNC_START_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_ACTIVE_VSIZE_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_FRAME_VSIZE_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_HSYNC_END_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_HSYNC_START_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_ACTIVE_HSIZE_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVTC_CONTROL_FRAME_HSIZE_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_XVIP_CTRL_CONTROL@GOTPCREL(%rip), %rax
	movq	_XVTC_CONTROL_GEN_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_XVIP_CTRL_CONTROL_REG_UPDATE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_xvip_write
	jmp	LBB0_5
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_5
LBB0_3:
	movl	%eax, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_XVTC_POLARITY,4,2              ## @XVTC_POLARITY
	.comm	_XVTC_POLARITY_ACTIVE_CHROMA_POL,4,2 ## @XVTC_POLARITY_ACTIVE_CHROMA_POL
	.comm	_XVTC_POLARITY_ACTIVE_VIDEO_POL,4,2 ## @XVTC_POLARITY_ACTIVE_VIDEO_POL
	.comm	_XVTC_POLARITY_HSYNC_POL,4,2    ## @XVTC_POLARITY_HSYNC_POL
	.comm	_XVTC_POLARITY_VSYNC_POL,4,2    ## @XVTC_POLARITY_VSYNC_POL
	.comm	_XVTC_POLARITY_HBLANK_POL,4,2   ## @XVTC_POLARITY_HBLANK_POL
	.comm	_XVTC_POLARITY_VBLANK_POL,4,2   ## @XVTC_POLARITY_VBLANK_POL
	.comm	_XVTC_ENCODING,4,2              ## @XVTC_ENCODING
	.comm	_XVTC_ACTIVE_SIZE,4,2           ## @XVTC_ACTIVE_SIZE
	.comm	_XVTC_ACTIVE_VSIZE_SHIFT,4,2    ## @XVTC_ACTIVE_VSIZE_SHIFT
	.comm	_XVTC_ACTIVE_HSIZE_SHIFT,4,2    ## @XVTC_ACTIVE_HSIZE_SHIFT
	.comm	_XVTC_HSIZE,4,2                 ## @XVTC_HSIZE
	.comm	_XVTC_VSIZE,4,2                 ## @XVTC_VSIZE
	.comm	_XVTC_HSYNC,4,2                 ## @XVTC_HSYNC
	.comm	_XVTC_HSYNC_END_SHIFT,4,2       ## @XVTC_HSYNC_END_SHIFT
	.comm	_XVTC_HSYNC_START_SHIFT,4,2     ## @XVTC_HSYNC_START_SHIFT
	.comm	_XVTC_F0_VBLANK_H,4,2           ## @XVTC_F0_VBLANK_H
	.comm	_XVTC_F0_VSYNC_V,4,2            ## @XVTC_F0_VSYNC_V
	.comm	_XVTC_F0_VSYNC_VEND_SHIFT,4,2   ## @XVTC_F0_VSYNC_VEND_SHIFT
	.comm	_XVTC_F0_VSYNC_VSTART_SHIFT,4,2 ## @XVTC_F0_VSYNC_VSTART_SHIFT
	.comm	_XVTC_F0_VSYNC_H,4,2            ## @XVTC_F0_VSYNC_H
	.comm	_XVIP_CTRL_CONTROL,4,2          ## @XVIP_CTRL_CONTROL
	.comm	_XVTC_CONTROL_ACTIVE_CHROMA_POL_SRC,4,2 ## @XVTC_CONTROL_ACTIVE_CHROMA_POL_SRC
	.comm	_XVTC_CONTROL_ACTIVE_VIDEO_POL_SRC,4,2 ## @XVTC_CONTROL_ACTIVE_VIDEO_POL_SRC
	.comm	_XVTC_CONTROL_HSYNC_POL_SRC,4,2 ## @XVTC_CONTROL_HSYNC_POL_SRC
	.comm	_XVTC_CONTROL_VSYNC_POL_SRC,4,2 ## @XVTC_CONTROL_VSYNC_POL_SRC
	.comm	_XVTC_CONTROL_HBLANK_POL_SRC,4,2 ## @XVTC_CONTROL_HBLANK_POL_SRC
	.comm	_XVTC_CONTROL_VBLANK_POL_SRC,4,2 ## @XVTC_CONTROL_VBLANK_POL_SRC
	.comm	_XVTC_CONTROL_CHROMA_SRC,4,2    ## @XVTC_CONTROL_CHROMA_SRC
	.comm	_XVTC_CONTROL_VBLANK_HOFF_SRC,4,2 ## @XVTC_CONTROL_VBLANK_HOFF_SRC
	.comm	_XVTC_CONTROL_VSYNC_END_SRC,4,2 ## @XVTC_CONTROL_VSYNC_END_SRC
	.comm	_XVTC_CONTROL_VSYNC_START_SRC,4,2 ## @XVTC_CONTROL_VSYNC_START_SRC
	.comm	_XVTC_CONTROL_ACTIVE_VSIZE_SRC,4,2 ## @XVTC_CONTROL_ACTIVE_VSIZE_SRC
	.comm	_XVTC_CONTROL_FRAME_VSIZE_SRC,4,2 ## @XVTC_CONTROL_FRAME_VSIZE_SRC
	.comm	_XVTC_CONTROL_HSYNC_END_SRC,4,2 ## @XVTC_CONTROL_HSYNC_END_SRC
	.comm	_XVTC_CONTROL_HSYNC_START_SRC,4,2 ## @XVTC_CONTROL_HSYNC_START_SRC
	.comm	_XVTC_CONTROL_ACTIVE_HSIZE_SRC,4,2 ## @XVTC_CONTROL_ACTIVE_HSIZE_SRC
	.comm	_XVTC_CONTROL_FRAME_HSIZE_SRC,4,2 ## @XVTC_CONTROL_FRAME_HSIZE_SRC
	.comm	_XVTC_CONTROL_GEN_ENABLE,4,2    ## @XVTC_CONTROL_GEN_ENABLE
	.comm	_XVIP_CTRL_CONTROL_REG_UPDATE,4,2 ## @XVIP_CTRL_CONTROL_REG_UPDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xvtc_generator_start           ; -- Begin function xvtc_generator_start
	.p2align	2
_xvtc_generator_start:                  ; @xvtc_generator_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _XVTC_POLARITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XVTC_POLARITY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _XVTC_POLARITY_ACTIVE_CHROMA_POL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XVTC_POLARITY_ACTIVE_CHROMA_POL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _XVTC_POLARITY_ACTIVE_VIDEO_POL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _XVTC_POLARITY_ACTIVE_VIDEO_POL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _XVTC_POLARITY_HSYNC_POL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _XVTC_POLARITY_HSYNC_POL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _XVTC_POLARITY_VSYNC_POL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _XVTC_POLARITY_VSYNC_POL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _XVTC_POLARITY_HBLANK_POL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _XVTC_POLARITY_HBLANK_POL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _XVTC_POLARITY_VBLANK_POL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _XVTC_POLARITY_VBLANK_POL@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_xvtc_gen_write
Lloh21:
	adrp	x8, _XVTC_ENCODING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _XVTC_ENCODING@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_xvtc_gen_write
Lloh24:
	adrp	x8, _XVTC_ACTIVE_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _XVTC_ACTIVE_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _XVTC_ACTIVE_VSIZE_SHIFT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _XVTC_ACTIVE_VSIZE_SHIFT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldp	w9, w10, [x20]
	lsl	w8, w9, w8
Lloh30:
	adrp	x9, _XVTC_ACTIVE_HSIZE_SHIFT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _XVTC_ACTIVE_HSIZE_SHIFT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w2, w9, w8
	mov	x0, x19
	bl	_xvtc_gen_write
Lloh33:
	adrp	x8, _XVTC_HSIZE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _XVTC_HSIZE@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_xvtc_gen_write
Lloh36:
	adrp	x8, _XVTC_VSIZE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _XVTC_VSIZE@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_xvtc_gen_write
Lloh39:
	adrp	x8, _XVTC_HSYNC@GOTPAGE
Lloh40:
	ldr	x8, [x8, _XVTC_HSYNC@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x8, _XVTC_HSYNC_END_SHIFT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _XVTC_HSYNC_END_SHIFT@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	ldp	w9, w10, [x20, #16]
	lsl	w8, w9, w8
Lloh45:
	adrp	x9, _XVTC_HSYNC_START_SHIFT@GOTPAGE
Lloh46:
	ldr	x9, [x9, _XVTC_HSYNC_START_SHIFT@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w2, w9, w8
	mov	x0, x19
	bl	_xvtc_gen_write
Lloh48:
	adrp	x8, _XVTC_F0_VBLANK_H@GOTPAGE
Lloh49:
	ldr	x8, [x8, _XVTC_F0_VBLANK_H@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_xvtc_gen_write
Lloh51:
	adrp	x8, _XVTC_F0_VSYNC_V@GOTPAGE
Lloh52:
	ldr	x8, [x8, _XVTC_F0_VSYNC_V@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
Lloh54:
	adrp	x8, _XVTC_F0_VSYNC_VEND_SHIFT@GOTPAGE
Lloh55:
	ldr	x8, [x8, _XVTC_F0_VSYNC_VEND_SHIFT@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	ldp	w9, w10, [x20, #24]
	lsl	w8, w9, w8
Lloh57:
	adrp	x9, _XVTC_F0_VSYNC_VSTART_SHIFT@GOTPAGE
Lloh58:
	ldr	x9, [x9, _XVTC_F0_VSYNC_VSTART_SHIFT@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w2, w9, w8
	mov	x0, x19
	bl	_xvtc_gen_write
Lloh60:
	adrp	x8, _XVTC_F0_VSYNC_H@GOTPAGE
Lloh61:
	ldr	x8, [x8, _XVTC_F0_VSYNC_H@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_xvtc_gen_write
Lloh63:
	adrp	x8, _XVIP_CTRL_CONTROL@GOTPAGE
Lloh64:
	ldr	x8, [x8, _XVIP_CTRL_CONTROL@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
Lloh66:
	adrp	x8, _XVTC_CONTROL_ACTIVE_CHROMA_POL_SRC@GOTPAGE
Lloh67:
	ldr	x8, [x8, _XVTC_CONTROL_ACTIVE_CHROMA_POL_SRC@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x9, _XVTC_CONTROL_ACTIVE_VIDEO_POL_SRC@GOTPAGE
Lloh70:
	ldr	x9, [x9, _XVTC_CONTROL_ACTIVE_VIDEO_POL_SRC@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh72:
	adrp	x9, _XVTC_CONTROL_HSYNC_POL_SRC@GOTPAGE
Lloh73:
	ldr	x9, [x9, _XVTC_CONTROL_HSYNC_POL_SRC@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh75:
	adrp	x9, _XVTC_CONTROL_VSYNC_POL_SRC@GOTPAGE
Lloh76:
	ldr	x9, [x9, _XVTC_CONTROL_VSYNC_POL_SRC@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh78:
	adrp	x9, _XVTC_CONTROL_HBLANK_POL_SRC@GOTPAGE
Lloh79:
	ldr	x9, [x9, _XVTC_CONTROL_HBLANK_POL_SRC@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh81:
	adrp	x9, _XVTC_CONTROL_VBLANK_POL_SRC@GOTPAGE
Lloh82:
	ldr	x9, [x9, _XVTC_CONTROL_VBLANK_POL_SRC@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh84:
	adrp	x9, _XVTC_CONTROL_CHROMA_SRC@GOTPAGE
Lloh85:
	ldr	x9, [x9, _XVTC_CONTROL_CHROMA_SRC@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh87:
	adrp	x9, _XVTC_CONTROL_VBLANK_HOFF_SRC@GOTPAGE
Lloh88:
	ldr	x9, [x9, _XVTC_CONTROL_VBLANK_HOFF_SRC@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh90:
	adrp	x9, _XVTC_CONTROL_VSYNC_END_SRC@GOTPAGE
Lloh91:
	ldr	x9, [x9, _XVTC_CONTROL_VSYNC_END_SRC@GOTPAGEOFF]
Lloh92:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh93:
	adrp	x9, _XVTC_CONTROL_VSYNC_START_SRC@GOTPAGE
Lloh94:
	ldr	x9, [x9, _XVTC_CONTROL_VSYNC_START_SRC@GOTPAGEOFF]
Lloh95:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh96:
	adrp	x9, _XVTC_CONTROL_ACTIVE_VSIZE_SRC@GOTPAGE
Lloh97:
	ldr	x9, [x9, _XVTC_CONTROL_ACTIVE_VSIZE_SRC@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh99:
	adrp	x9, _XVTC_CONTROL_FRAME_VSIZE_SRC@GOTPAGE
Lloh100:
	ldr	x9, [x9, _XVTC_CONTROL_FRAME_VSIZE_SRC@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh102:
	adrp	x9, _XVTC_CONTROL_HSYNC_END_SRC@GOTPAGE
Lloh103:
	ldr	x9, [x9, _XVTC_CONTROL_HSYNC_END_SRC@GOTPAGEOFF]
Lloh104:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh105:
	adrp	x9, _XVTC_CONTROL_HSYNC_START_SRC@GOTPAGE
Lloh106:
	ldr	x9, [x9, _XVTC_CONTROL_HSYNC_START_SRC@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh108:
	adrp	x9, _XVTC_CONTROL_ACTIVE_HSIZE_SRC@GOTPAGE
Lloh109:
	ldr	x9, [x9, _XVTC_CONTROL_ACTIVE_HSIZE_SRC@GOTPAGEOFF]
Lloh110:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh111:
	adrp	x9, _XVTC_CONTROL_FRAME_HSIZE_SRC@GOTPAGE
Lloh112:
	ldr	x9, [x9, _XVTC_CONTROL_FRAME_HSIZE_SRC@GOTPAGEOFF]
Lloh113:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh114:
	adrp	x9, _XVTC_CONTROL_GEN_ENABLE@GOTPAGE
Lloh115:
	ldr	x9, [x9, _XVTC_CONTROL_GEN_ENABLE@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh117:
	adrp	x9, _XVIP_CTRL_CONTROL_REG_UPDATE@GOTPAGE
Lloh118:
	ldr	x9, [x9, _XVIP_CTRL_CONTROL_REG_UPDATE@GOTPAGEOFF]
Lloh119:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_xvip_write
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh120:
	adrp	x8, _ENXIO@GOTPAGE
Lloh121:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh122:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.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 AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_XVTC_POLARITY,4,2              ; @XVTC_POLARITY
	.comm	_XVTC_POLARITY_ACTIVE_CHROMA_POL,4,2 ; @XVTC_POLARITY_ACTIVE_CHROMA_POL
	.comm	_XVTC_POLARITY_ACTIVE_VIDEO_POL,4,2 ; @XVTC_POLARITY_ACTIVE_VIDEO_POL
	.comm	_XVTC_POLARITY_HSYNC_POL,4,2    ; @XVTC_POLARITY_HSYNC_POL
	.comm	_XVTC_POLARITY_VSYNC_POL,4,2    ; @XVTC_POLARITY_VSYNC_POL
	.comm	_XVTC_POLARITY_HBLANK_POL,4,2   ; @XVTC_POLARITY_HBLANK_POL
	.comm	_XVTC_POLARITY_VBLANK_POL,4,2   ; @XVTC_POLARITY_VBLANK_POL
	.comm	_XVTC_ENCODING,4,2              ; @XVTC_ENCODING
	.comm	_XVTC_ACTIVE_SIZE,4,2           ; @XVTC_ACTIVE_SIZE
	.comm	_XVTC_ACTIVE_VSIZE_SHIFT,4,2    ; @XVTC_ACTIVE_VSIZE_SHIFT
	.comm	_XVTC_ACTIVE_HSIZE_SHIFT,4,2    ; @XVTC_ACTIVE_HSIZE_SHIFT
	.comm	_XVTC_HSIZE,4,2                 ; @XVTC_HSIZE
	.comm	_XVTC_VSIZE,4,2                 ; @XVTC_VSIZE
	.comm	_XVTC_HSYNC,4,2                 ; @XVTC_HSYNC
	.comm	_XVTC_HSYNC_END_SHIFT,4,2       ; @XVTC_HSYNC_END_SHIFT
	.comm	_XVTC_HSYNC_START_SHIFT,4,2     ; @XVTC_HSYNC_START_SHIFT
	.comm	_XVTC_F0_VBLANK_H,4,2           ; @XVTC_F0_VBLANK_H
	.comm	_XVTC_F0_VSYNC_V,4,2            ; @XVTC_F0_VSYNC_V
	.comm	_XVTC_F0_VSYNC_VEND_SHIFT,4,2   ; @XVTC_F0_VSYNC_VEND_SHIFT
	.comm	_XVTC_F0_VSYNC_VSTART_SHIFT,4,2 ; @XVTC_F0_VSYNC_VSTART_SHIFT
	.comm	_XVTC_F0_VSYNC_H,4,2            ; @XVTC_F0_VSYNC_H
	.comm	_XVIP_CTRL_CONTROL,4,2          ; @XVIP_CTRL_CONTROL
	.comm	_XVTC_CONTROL_ACTIVE_CHROMA_POL_SRC,4,2 ; @XVTC_CONTROL_ACTIVE_CHROMA_POL_SRC
	.comm	_XVTC_CONTROL_ACTIVE_VIDEO_POL_SRC,4,2 ; @XVTC_CONTROL_ACTIVE_VIDEO_POL_SRC
	.comm	_XVTC_CONTROL_HSYNC_POL_SRC,4,2 ; @XVTC_CONTROL_HSYNC_POL_SRC
	.comm	_XVTC_CONTROL_VSYNC_POL_SRC,4,2 ; @XVTC_CONTROL_VSYNC_POL_SRC
	.comm	_XVTC_CONTROL_HBLANK_POL_SRC,4,2 ; @XVTC_CONTROL_HBLANK_POL_SRC
	.comm	_XVTC_CONTROL_VBLANK_POL_SRC,4,2 ; @XVTC_CONTROL_VBLANK_POL_SRC
	.comm	_XVTC_CONTROL_CHROMA_SRC,4,2    ; @XVTC_CONTROL_CHROMA_SRC
	.comm	_XVTC_CONTROL_VBLANK_HOFF_SRC,4,2 ; @XVTC_CONTROL_VBLANK_HOFF_SRC
	.comm	_XVTC_CONTROL_VSYNC_END_SRC,4,2 ; @XVTC_CONTROL_VSYNC_END_SRC
	.comm	_XVTC_CONTROL_VSYNC_START_SRC,4,2 ; @XVTC_CONTROL_VSYNC_START_SRC
	.comm	_XVTC_CONTROL_ACTIVE_VSIZE_SRC,4,2 ; @XVTC_CONTROL_ACTIVE_VSIZE_SRC
	.comm	_XVTC_CONTROL_FRAME_VSIZE_SRC,4,2 ; @XVTC_CONTROL_FRAME_VSIZE_SRC
	.comm	_XVTC_CONTROL_HSYNC_END_SRC,4,2 ; @XVTC_CONTROL_HSYNC_END_SRC
	.comm	_XVTC_CONTROL_HSYNC_START_SRC,4,2 ; @XVTC_CONTROL_HSYNC_START_SRC
	.comm	_XVTC_CONTROL_ACTIVE_HSIZE_SRC,4,2 ; @XVTC_CONTROL_ACTIVE_HSIZE_SRC
	.comm	_XVTC_CONTROL_FRAME_HSIZE_SRC,4,2 ; @XVTC_CONTROL_FRAME_HSIZE_SRC
	.comm	_XVTC_CONTROL_GEN_ENABLE,4,2    ; @XVTC_CONTROL_GEN_ENABLE
	.comm	_XVIP_CTRL_CONTROL_REG_UPDATE,4,2 ; @XVIP_CTRL_CONTROL_REG_UPDATE
.subsections_via_symbols
