	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function soi763a_6810_start
_soi763a_6810_start:                    ## @soi763a_6810_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	%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	(%rdi), %edx
	movl	$34, %esi
	callq	_reg_w
	movq	_color_null@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r13, %rdi
	movl	$3, %esi
	movl	$8, %ecx
	callq	_bulk_w
	movq	%r13, %rdi
	movl	$89, %esi
	movl	$64, %edx
	callq	_reg_w
	movq	(%r13), %r12
	movq	_SENSOR_CX0342@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	8(%r13), %edi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, %r14d
	movl	4(%r13), %edi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, %r15d
	cmpq	%rbx, %r12
	jne	LBB0_2
## %bb.1:
	movl	12(%r13), %edi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, %r12d
	movl	8(%r13), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	jmp	LBB0_3
LBB0_2:
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
LBB0_3:
	callq	_setexposure
	leaq	_soi763a_6810_start.bridge_init_2(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_reg_w_buf
	movq	_tp6810_ov_init_common@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_reg_w_buf
	leaq	_soi763a_6810_start.bridge_init_3(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_reg_w_buf
	xorl	%r14d, %r14d
	cmpq	$0, 16(%r13)
	sete	%r14b
	movl	%r14d, %ebx
	shll	$7, %ebx
	leal	127(%rbx), %edx
	orl	$5, %ebx
	movq	%r13, %rdi
	movl	$74, %esi
	callq	_reg_w
	movq	%r13, %rdi
	movl	$7, %esi
	movl	%ebx, %edx
	callq	_reg_w
	movq	_TP6800_R78_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_reg_w
	movl	20(%r13), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_setgamma
	movq	_tp6810_bridge_start@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_reg_w_buf
	cmpq	$0, 16(%r13)
	je	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	movl	$79, %esi
	xorl	%edx, %edx
	callq	_reg_w
	movq	%r13, %rdi
	movl	$78, %esi
	movl	$124, %edx
	callq	_reg_w
LBB0_5:
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_reg_w
	movl	16(%r13), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_setsharpness
	movq	_color_gain@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SENSOR_SOI763A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %rdi
	movl	$3, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_bulk_w
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_set_led
	movq	_TP6800_R3F_FRAME_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$240, %edx
	callq	_reg_w
	movq	(%r13), %r12
	movq	_SENSOR_CX0342@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	8(%r13), %edi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, %r14d
	movl	4(%r13), %edi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, %r15d
	cmpq	%rbx, %r12
	jne	LBB0_7
## %bb.6:
	movl	12(%r13), %edi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, %ebx
	movl	8(%r13), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	jmp	LBB0_8
LBB0_7:
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
LBB0_8:
	callq	_setexposure
	leaq	_soi763a_6810_start.bridge_init_6(%rip), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_w_buf                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @soi763a_6810_start.bridge_init_2
_soi763a_6810_start.bridge_init_2:
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	129                             ## 0x81
	.long	4                               ## 0x4
	.long	129                             ## 0x81
	.long	1                               ## 0x1

	.p2align	4                               ## @soi763a_6810_start.bridge_init_3
_soi763a_6810_start.bridge_init_3:
	.long	135                             ## 0x87
	.long	32                              ## 0x20
	.long	134                             ## 0x86
	.long	159                             ## 0x9f
	.long	133                             ## 0x85
	.long	2                               ## 0x2
	.long	132                             ## 0x84
	.long	19                              ## 0x13
	.long	131                             ## 0x83
	.long	248                             ## 0xf8
	.long	130                             ## 0x82
	.long	1                               ## 0x1

	.p2align	4                               ## @soi763a_6810_start.bridge_init_6
_soi763a_6810_start.bridge_init_6:
	.long	8                               ## 0x8
	.long	255                             ## 0xff
	.long	9                               ## 0x9
	.long	255                             ## 0xff
	.long	10                              ## 0xa
	.long	95                              ## 0x5f
	.long	11                              ## 0xb
	.long	128                             ## 0x80

	.comm	_color_null,8,3                 ## @color_null
	.comm	_SENSOR_CX0342,8,3              ## @SENSOR_CX0342
	.comm	_tp6810_ov_init_common,8,3      ## @tp6810_ov_init_common
	.comm	_TP6800_R78_FORMAT,4,2          ## @TP6800_R78_FORMAT
	.comm	_tp6810_bridge_start,8,3        ## @tp6810_bridge_start
	.comm	_color_gain,8,3                 ## @color_gain
	.comm	_SENSOR_SOI763A,8,3             ## @SENSOR_SOI763A
	.comm	_TP6800_R3F_FRAME_RATE,4,2      ## @TP6800_R3F_FRAME_RATE
	.no_dead_strip	_soi763a_6810_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function soi763a_6810_start
_soi763a_6810_start:                    ; @soi763a_6810_start
	.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
	ldr	w2, [x0]
	mov	w1, #34
	bl	_reg_w
Lloh0:
	adrp	x8, _color_null@GOTPAGE
Lloh1:
	ldr	x8, [x8, _color_null@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x8]
	mov	x0, x19
	mov	w1, #3
	mov	w3, #8
	bl	_bulk_w
	mov	x0, x19
	mov	w1, #89
	mov	w2, #64
	bl	_reg_w
	ldr	x22, [x19]
Lloh3:
	adrp	x23, _SENSOR_CX0342@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SENSOR_CX0342@GOTPAGEOFF]
	ldr	x24, [x23]
	ldr	w0, [x19, #8]
	bl	_v4l2_ctrl_g_ctrl
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_v4l2_ctrl_g_ctrl
	mov	x21, x0
	cmp	x22, x24
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #12]
	bl	_v4l2_ctrl_g_ctrl
	mov	x22, x0
	ldr	w0, [x19, #8]
	bl	_v4l2_ctrl_g_ctrl
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	mov	w4, #0
LBB0_3:
	bl	_setexposure
Lloh5:
	adrp	x20, _soi763a_6810_start.bridge_init_2@PAGE
Lloh6:
	add	x20, x20, _soi763a_6810_start.bridge_init_2@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_reg_w_buf
Lloh7:
	adrp	x8, _tp6810_ov_init_common@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tp6810_ov_init_common@GOTPAGEOFF]
Lloh9:
	ldr	x20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_reg_w_buf
Lloh10:
	adrp	x20, _soi763a_6810_start.bridge_init_3@PAGE
Lloh11:
	add	x20, x20, _soi763a_6810_start.bridge_init_3@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_reg_w_buf
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w20, eq
	mov	w8, #127
	mov	w9, #255
	csel	w2, w9, w8, eq
	mov	w8, #5
	mov	w9, #133
	csel	w21, w9, w8, eq
	mov	x0, x19
	mov	w1, #74
	bl	_reg_w
	mov	x0, x19
	mov	w1, #7
	mov	x2, x21
	bl	_reg_w
Lloh12:
	adrp	x8, _TP6800_R78_FORMAT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TP6800_R78_FORMAT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_reg_w
	ldr	w0, [x19, #20]
	bl	_v4l2_ctrl_g_ctrl
	mov	x1, x0
	mov	x0, x19
	bl	_setgamma
Lloh15:
	adrp	x8, _tp6810_bridge_start@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tp6810_bridge_start@GOTPAGEOFF]
Lloh17:
	ldr	x20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_reg_w_buf
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #79
	mov	w2, #0
	bl	_reg_w
	mov	x0, x19
	mov	w1, #78
	mov	w2, #124
	bl	_reg_w
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_reg_w
	ldr	w0, [x19, #16]
	bl	_v4l2_ctrl_g_ctrl
	mov	x1, x0
	mov	x0, x19
	bl	_setsharpness
Lloh18:
	adrp	x8, _color_gain@GOTPAGE
Lloh19:
	ldr	x8, [x8, _color_gain@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _SENSOR_SOI763A@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SENSOR_SOI763A@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	x20, [x8, x9, lsl #3]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x19
	mov	w1, #3
	mov	x2, x20
	bl	_bulk_w
	mov	x0, x19
	mov	w1, #1
	bl	_set_led
Lloh24:
	adrp	x8, _TP6800_R3F_FRAME_RATE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TP6800_R3F_FRAME_RATE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #240
	bl	_reg_w
	ldr	x22, [x19]
	ldr	x23, [x23]
	ldr	w0, [x19, #8]
	bl	_v4l2_ctrl_g_ctrl
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_v4l2_ctrl_g_ctrl
	mov	x21, x0
	cmp	x22, x23
	b.ne	LBB0_7
; %bb.6:
	ldr	w0, [x19, #12]
	bl	_v4l2_ctrl_g_ctrl
	mov	x22, x0
	ldr	w0, [x19, #8]
	bl	_v4l2_ctrl_g_ctrl
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	mov	w4, #0
LBB0_8:
	bl	_setexposure
Lloh27:
	adrp	x20, _soi763a_6810_start.bridge_init_6@PAGE
Lloh28:
	add	x20, x20, _soi763a_6810_start.bridge_init_6@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	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	_reg_w_buf
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @soi763a_6810_start.bridge_init_2
_soi763a_6810_start.bridge_init_2:
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	129                             ; 0x81
	.long	4                               ; 0x4
	.long	129                             ; 0x81
	.long	1                               ; 0x1

	.p2align	2                               ; @soi763a_6810_start.bridge_init_3
_soi763a_6810_start.bridge_init_3:
	.long	135                             ; 0x87
	.long	32                              ; 0x20
	.long	134                             ; 0x86
	.long	159                             ; 0x9f
	.long	133                             ; 0x85
	.long	2                               ; 0x2
	.long	132                             ; 0x84
	.long	19                              ; 0x13
	.long	131                             ; 0x83
	.long	248                             ; 0xf8
	.long	130                             ; 0x82
	.long	1                               ; 0x1

	.p2align	2                               ; @soi763a_6810_start.bridge_init_6
_soi763a_6810_start.bridge_init_6:
	.long	8                               ; 0x8
	.long	255                             ; 0xff
	.long	9                               ; 0x9
	.long	255                             ; 0xff
	.long	10                              ; 0xa
	.long	95                              ; 0x5f
	.long	11                              ; 0xb
	.long	128                             ; 0x80

	.comm	_color_null,8,3                 ; @color_null
	.comm	_SENSOR_CX0342,8,3              ; @SENSOR_CX0342
	.comm	_tp6810_ov_init_common,8,3      ; @tp6810_ov_init_common
	.comm	_TP6800_R78_FORMAT,4,2          ; @TP6800_R78_FORMAT
	.comm	_tp6810_bridge_start,8,3        ; @tp6810_bridge_start
	.comm	_color_gain,8,3                 ; @color_gain
	.comm	_SENSOR_SOI763A,8,3             ; @SENSOR_SOI763A
	.comm	_TP6800_R3F_FRAME_RATE,4,2      ; @TP6800_R3F_FRAME_RATE
	.no_dead_strip	_soi763a_6810_start
.subsections_via_symbols
