	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function solo_vin_config
_solo_vin_config:                       ## @solo_vin_config
	.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, %r15
	movabsq	$8589934600, %rax               ## imm = 0x200000008
	movq	%rax, (%rdi)
	movq	_SOLO_SYS_VCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$2, %edi
	callq	_SOLO_VCLK_SELECT
	movl	%eax, %ebx
	movq	_SOLO_VCLK_DELAY@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_SOLO_VCLK_VIN1415_DELAY
	orl	%eax, %ebx
	movl	(%r14), %edi
	callq	_SOLO_VCLK_VIN1213_DELAY
	movl	%eax, %r12d
	movl	(%r14), %edi
	callq	_SOLO_VCLK_VIN1011_DELAY
	orl	%eax, %r12d
	orl	%ebx, %r12d
	movl	(%r14), %edi
	callq	_SOLO_VCLK_VIN0809_DELAY
	movl	%eax, %r13d
	movl	(%r14), %edi
	callq	_SOLO_VCLK_VIN0607_DELAY
	orl	%eax, %r13d
	movl	(%r14), %edi
	callq	_SOLO_VCLK_VIN0405_DELAY
	orl	%eax, %r13d
	orl	%r12d, %r13d
	movl	(%r14), %edi
	callq	_SOLO_VCLK_VIN0203_DELAY
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_SOLO_VCLK_VIN0001_DELAY
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VI_ACT_I_P@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%r15), %edi
	callq	_SOLO_VI_H_START
	movl	%eax, %ebx
	movl	4(%r15), %edi
	callq	_SOLO_VI_V_START
	orl	%eax, %ebx
	movslq	4(%r15), %rdi
	addq	32(%r15), %rdi
	callq	_SOLO_VI_V_STOP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VI_ACT_I_S@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	8(%r15), %edi
	callq	_SOLO_VI_H_START
	movl	%eax, %ebx
	movl	12(%r15), %edi
	callq	_SOLO_VI_V_START
	orl	%eax, %ebx
	movslq	12(%r15), %rdi
	addq	32(%r15), %rdi
	callq	_SOLO_VI_V_STOP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VI_ACT_P@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	callq	_SOLO_VI_H_START
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_SOLO_VI_V_START
	orl	%eax, %ebx
	movq	_SOLO_PROGRESSIVE_VSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_SOLO_VI_V_STOP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VI_CH_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	callq	_SOLO_VI_FD_SEL_MASK
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_SOLO_VI_PROG_MASK
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_solo_reg_write
	movq	16(%r15), %rax
	movq	_SOLO_DEV_6010@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	setne	%dl
	movq	_SOLO_VI_FMT_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$26, %edx
	movq	%r15, %rdi
	callq	_solo_reg_write
	movq	_SOLO_VI_PAGE_SW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_solo_reg_write
	movq	24(%r15), %rax
	movq	_SOLO_VO_FMT_TYPE_NTSC@GOTPCREL(%rip), %rcx
	movq	_SOLO_VI_PB_CONFIG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_SOLO_VI_PB_USER_MODE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$244, -44(%rbp)                 ## 4-byte Folded Spill
	movl	$246, %r12d
	movl	$858, %r13d                     ## imm = 0x35A
	jmp	LBB0_3
LBB0_2:
	movq	_SOLO_VI_PB_PAL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	$292, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x124
	movl	$294, %r12d                     ## imm = 0x126
	movl	$864, %r13d                     ## imm = 0x360
LBB0_3:
	movq	%r15, %rdi
	callq	_solo_reg_write
	movq	_SOLO_VI_PB_RANGE_HV@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r13d, %edi
	callq	_SOLO_VI_PB_HSIZE
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_SOLO_VI_PB_VSIZE
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VI_PB_ACT_V@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$4, %edi
	callq	_SOLO_VI_PB_VSTART
	movl	%eax, %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_SOLO_VI_PB_VSTOP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VI_PB_ACT_H@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$16, %edi
	callq	_SOLO_VI_PB_HSTART
	movl	%eax, %ebx
	movl	$736, %edi                      ## imm = 0x2E0
	callq	_SOLO_VI_PB_HSTOP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_solo_reg_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOLO_SYS_VCLK,4,2              ## @SOLO_SYS_VCLK
	.comm	_SOLO_VCLK_DELAY,4,2            ## @SOLO_VCLK_DELAY
	.comm	_SOLO_VI_ACT_I_P,4,2            ## @SOLO_VI_ACT_I_P
	.comm	_SOLO_VI_ACT_I_S,4,2            ## @SOLO_VI_ACT_I_S
	.comm	_SOLO_VI_ACT_P,4,2              ## @SOLO_VI_ACT_P
	.comm	_SOLO_PROGRESSIVE_VSIZE,8,3     ## @SOLO_PROGRESSIVE_VSIZE
	.comm	_SOLO_VI_CH_FORMAT,4,2          ## @SOLO_VI_CH_FORMAT
	.comm	_SOLO_DEV_6010,8,3              ## @SOLO_DEV_6010
	.comm	_SOLO_VI_FMT_CFG,4,2            ## @SOLO_VI_FMT_CFG
	.comm	_SOLO_VI_PAGE_SW,4,2            ## @SOLO_VI_PAGE_SW
	.comm	_SOLO_VO_FMT_TYPE_NTSC,8,3      ## @SOLO_VO_FMT_TYPE_NTSC
	.comm	_SOLO_VI_PB_CONFIG,4,2          ## @SOLO_VI_PB_CONFIG
	.comm	_SOLO_VI_PB_USER_MODE,4,2       ## @SOLO_VI_PB_USER_MODE
	.comm	_SOLO_VI_PB_RANGE_HV,4,2        ## @SOLO_VI_PB_RANGE_HV
	.comm	_SOLO_VI_PB_ACT_V,4,2           ## @SOLO_VI_PB_ACT_V
	.comm	_SOLO_VI_PB_PAL,4,2             ## @SOLO_VI_PB_PAL
	.comm	_SOLO_VI_PB_ACT_H,4,2           ## @SOLO_VI_PB_ACT_H
	.no_dead_strip	_solo_vin_config
.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 solo_vin_config
lCPI0_0:
	.long	8                               ; 0x8
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_solo_vin_config:                       ; @solo_vin_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
Lloh2:
	adrp	x8, _SOLO_SYS_VCLK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SOLO_SYS_VCLK@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	mov	w0, #2
	bl	_SOLO_VCLK_SELECT
	mov	x21, x0
Lloh5:
	adrp	x22, _SOLO_VCLK_DELAY@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SOLO_VCLK_DELAY@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_SOLO_VCLK_VIN1415_DELAY
	orr	w21, w0, w21
	ldr	w0, [x22]
	bl	_SOLO_VCLK_VIN1213_DELAY
	orr	w21, w21, w0
	ldr	w0, [x22]
	bl	_SOLO_VCLK_VIN1011_DELAY
	orr	w21, w21, w0
	ldr	w0, [x22]
	bl	_SOLO_VCLK_VIN0809_DELAY
	orr	w21, w21, w0
	ldr	w0, [x22]
	bl	_SOLO_VCLK_VIN0607_DELAY
	orr	w21, w21, w0
	ldr	w0, [x22]
	bl	_SOLO_VCLK_VIN0405_DELAY
	orr	w21, w21, w0
	ldr	w0, [x22]
	bl	_SOLO_VCLK_VIN0203_DELAY
	orr	w21, w21, w0
	ldr	w0, [x22]
	bl	_SOLO_VCLK_VIN0001_DELAY
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	bl	_solo_reg_write
Lloh7:
	adrp	x8, _SOLO_VI_ACT_I_P@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOLO_VI_ACT_I_P@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_SOLO_VI_H_START
	mov	x21, x0
	ldr	w0, [x19, #4]
	bl	_SOLO_VI_V_START
	orr	w21, w0, w21
	ldrsw	x8, [x19, #4]
	ldr	x9, [x19, #32]
	add	x0, x9, x8
	bl	_SOLO_VI_V_STOP
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	bl	_solo_reg_write
Lloh10:
	adrp	x8, _SOLO_VI_ACT_I_S@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SOLO_VI_ACT_I_S@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	ldr	w0, [x19, #8]
	bl	_SOLO_VI_H_START
	mov	x21, x0
	ldr	w0, [x19, #12]
	bl	_SOLO_VI_V_START
	orr	w21, w0, w21
	ldrsw	x8, [x19, #12]
	ldr	x9, [x19, #32]
	add	x0, x9, x8
	bl	_SOLO_VI_V_STOP
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	bl	_solo_reg_write
Lloh13:
	adrp	x8, _SOLO_VI_ACT_P@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SOLO_VI_ACT_P@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
	mov	w0, #0
	bl	_SOLO_VI_H_START
	mov	x21, x0
	mov	w0, #1
	bl	_SOLO_VI_V_START
	orr	w21, w0, w21
Lloh16:
	adrp	x8, _SOLO_PROGRESSIVE_VSIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SOLO_PROGRESSIVE_VSIZE@GOTPAGEOFF]
Lloh18:
	ldr	x0, [x8]
	bl	_SOLO_VI_V_STOP
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	bl	_solo_reg_write
Lloh19:
	adrp	x8, _SOLO_VI_CH_FORMAT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SOLO_VI_CH_FORMAT@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
	mov	w0, #0
	bl	_SOLO_VI_FD_SEL_MASK
	mov	x21, x0
	mov	w0, #0
	bl	_SOLO_VI_PROG_MASK
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_solo_reg_write
	ldr	x8, [x19, #16]
Lloh22:
	adrp	x9, _SOLO_DEV_6010@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SOLO_DEV_6010@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, ne
Lloh25:
	adrp	x9, _SOLO_VI_FMT_CFG@GOTPAGE
Lloh26:
	ldr	x9, [x9, _SOLO_VI_FMT_CFG@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x9]
	lsl	w2, w8, #26
	mov	x0, x19
	bl	_solo_reg_write
Lloh28:
	adrp	x8, _SOLO_VI_PAGE_SW@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SOLO_VI_PAGE_SW@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_solo_reg_write
	ldr	x8, [x19, #24]
Lloh31:
	adrp	x9, _SOLO_VO_FMT_TYPE_NTSC@GOTPAGE
Lloh32:
	ldr	x9, [x9, _SOLO_VO_FMT_TYPE_NTSC@GOTPAGEOFF]
Lloh33:
	adrp	x10, _SOLO_VI_PB_CONFIG@GOTPAGE
Lloh34:
	ldr	x10, [x10, _SOLO_VI_PB_CONFIG@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
Lloh36:
	ldr	w1, [x10]
Lloh37:
	adrp	x10, _SOLO_VI_PB_USER_MODE@GOTPAGE
Lloh38:
	ldr	x10, [x10, _SOLO_VI_PB_USER_MODE@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x10]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #244
	mov	w21, #246
	mov	w22, #858
	b	LBB0_3
LBB0_2:
Lloh40:
	adrp	x8, _SOLO_VI_PB_PAL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SOLO_VI_PB_PAL@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	orr	w2, w8, w2
	mov	w20, #292
	mov	w21, #294
	mov	w22, #864
LBB0_3:
	mov	x0, x19
	bl	_solo_reg_write
Lloh43:
	adrp	x8, _SOLO_VI_PB_RANGE_HV@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SOLO_VI_PB_RANGE_HV@GOTPAGEOFF]
Lloh45:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_SOLO_VI_PB_HSIZE
	mov	x22, x0
	mov	x0, x21
	bl	_SOLO_VI_PB_VSIZE
	orr	w2, w0, w22
	mov	x0, x19
	mov	x1, x23
	bl	_solo_reg_write
Lloh46:
	adrp	x8, _SOLO_VI_PB_ACT_V@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SOLO_VI_PB_ACT_V@GOTPAGEOFF]
Lloh48:
	ldr	w21, [x8]
	mov	w0, #4
	bl	_SOLO_VI_PB_VSTART
	mov	x22, x0
	mov	x0, x20
	bl	_SOLO_VI_PB_VSTOP
	orr	w2, w0, w22
	mov	x0, x19
	mov	x1, x21
	bl	_solo_reg_write
Lloh49:
	adrp	x8, _SOLO_VI_PB_ACT_H@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SOLO_VI_PB_ACT_H@GOTPAGEOFF]
Lloh51:
	ldr	w20, [x8]
	mov	w0, #16
	bl	_SOLO_VI_PB_HSTART
	mov	x21, x0
	mov	w0, #736
	bl	_SOLO_VI_PB_HSTOP
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_solo_reg_write
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh35
	.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	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_SOLO_SYS_VCLK,4,2              ; @SOLO_SYS_VCLK
	.comm	_SOLO_VCLK_DELAY,4,2            ; @SOLO_VCLK_DELAY
	.comm	_SOLO_VI_ACT_I_P,4,2            ; @SOLO_VI_ACT_I_P
	.comm	_SOLO_VI_ACT_I_S,4,2            ; @SOLO_VI_ACT_I_S
	.comm	_SOLO_VI_ACT_P,4,2              ; @SOLO_VI_ACT_P
	.comm	_SOLO_PROGRESSIVE_VSIZE,8,3     ; @SOLO_PROGRESSIVE_VSIZE
	.comm	_SOLO_VI_CH_FORMAT,4,2          ; @SOLO_VI_CH_FORMAT
	.comm	_SOLO_DEV_6010,8,3              ; @SOLO_DEV_6010
	.comm	_SOLO_VI_FMT_CFG,4,2            ; @SOLO_VI_FMT_CFG
	.comm	_SOLO_VI_PAGE_SW,4,2            ; @SOLO_VI_PAGE_SW
	.comm	_SOLO_VO_FMT_TYPE_NTSC,8,3      ; @SOLO_VO_FMT_TYPE_NTSC
	.comm	_SOLO_VI_PB_CONFIG,4,2          ; @SOLO_VI_PB_CONFIG
	.comm	_SOLO_VI_PB_USER_MODE,4,2       ; @SOLO_VI_PB_USER_MODE
	.comm	_SOLO_VI_PB_RANGE_HV,4,2        ; @SOLO_VI_PB_RANGE_HV
	.comm	_SOLO_VI_PB_ACT_V,4,2           ; @SOLO_VI_PB_ACT_V
	.comm	_SOLO_VI_PB_PAL,4,2             ; @SOLO_VI_PB_PAL
	.comm	_SOLO_VI_PB_ACT_H,4,2           ; @SOLO_VI_PB_ACT_H
	.no_dead_strip	_solo_vin_config
.subsections_via_symbols
