	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function soi763a_6800_start
_soi763a_6800_start:                    ## @soi763a_6800_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, %rbx
	leaq	_soi763a_6800_start.reg_init(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_reg_w_buf
	movq	%rbx, %rdi
	movl	$18, %esi
	movl	$128, %edx
	callq	_i2c_w
	movl	$10, %edi
	callq	_msleep
	leaq	_soi763a_6800_start.sensor_init(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_i2c_w_buf
	movq	%rbx, %rdi
	movl	$132, %esi
	movl	$16, %edx
	callq	_reg_w
	movq	%rbx, %rdi
	movl	$133, %esi
	xorl	%edx, %edx
	callq	_reg_w
	movl	24(%rbx), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%rbx, %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), %r14
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	$3, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_bulk_w
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_led
	movq	(%rbx), %r12
	movq	_SENSOR_CX0342@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r12, %rdi
	shrq	$32, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, %r15d
	cmpq	%r13, %r12
	jne	LBB0_2
## %bb.1:
	movl	20(%rbx), %edi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, %r12d
	movl	16(%rbx), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
LBB0_3:
	callq	_setexposure
	movq	(%rbx), %rax
	movq	_SENSOR_SOI763A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	12(%rbx), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_setquality
LBB0_5:
	movl	8(%rbx), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setgamma                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @soi763a_6800_start.reg_init
_soi763a_6800_start.reg_init:
	.long	129                             ## 0x81
	.long	4                               ## 0x4
	.long	129                             ## 0x81
	.long	1                               ## 0x1
	.long	158                             ## 0x9e
	.long	0                               ## 0x0
	.long	137                             ## 0x89
	.long	0                               ## 0x0
	.long	136                             ## 0x88
	.long	0                               ## 0x0
	.long	135                             ## 0x87
	.long	255                             ## 0xff
	.long	134                             ## 0x86
	.long	3                               ## 0x3
	.long	133                             ## 0x85
	.long	7                               ## 0x7
	.long	132                             ## 0x84
	.long	64                              ## 0x40
	.long	129                             ## 0x81
	.long	3                               ## 0x3
	.long	128                             ## 0x80
	.long	64                              ## 0x40
	.long	154                             ## 0x9a
	.long	70                              ## 0x46
	.long	153                             ## 0x99
	.long	16                              ## 0x10
	.long	146                             ## 0x92
	.long	0                               ## 0x0
	.long	145                             ## 0x91
	.long	0                               ## 0x0
	.long	144                             ## 0x90
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	0                               ## 0x0
	.long	142                             ## 0x8e
	.long	0                               ## 0x0
	.long	141                             ## 0x8d
	.long	0                               ## 0x0
	.long	140                             ## 0x8c
	.long	0                               ## 0x0
	.long	139                             ## 0x8b
	.long	0                               ## 0x0
	.long	155                             ## 0x9b
	.long	3                               ## 0x3
	.long	138                             ## 0x8a
	.long	4                               ## 0x4
	.long	131                             ## 0x83
	.long	14                              ## 0xe
	.long	152                             ## 0x98
	.long	27                              ## 0x1b
	.long	151                             ## 0x97
	.long	154                             ## 0x9a
	.long	150                             ## 0x96
	.long	2                               ## 0x2
	.long	149                             ## 0x95
	.long	15                              ## 0xf
	.long	148                             ## 0x94
	.long	244                             ## 0xf4
	.long	147                             ## 0x93
	.long	1                               ## 0x1
	.long	130                             ## 0x82
	.long	1                               ## 0x1
	.long	157                             ## 0x9d
	.long	33                              ## 0x21
	.long	156                             ## 0x9c
	.long	0                               ## 0x0

	.p2align	4                               ## @soi763a_6800_start.sensor_init
_soi763a_6800_start.sensor_init:
	.long	18                              ## 0x12
	.long	72                              ## 0x48
	.long	19                              ## 0x13
	.long	160                             ## 0xa0
	.long	3                               ## 0x3
	.long	164                             ## 0xa4
	.long	4                               ## 0x4
	.long	48                              ## 0x30
	.long	5                               ## 0x5
	.long	136                             ## 0x88
	.long	6                               ## 0x6
	.long	96                              ## 0x60
	.long	16                              ## 0x10
	.long	65                              ## 0x41
	.long	17                              ## 0x11
	.long	64                              ## 0x40
	.long	19                              ## 0x13
	.long	160                             ## 0xa0
	.long	20                              ## 0x14
	.long	0                               ## 0x0
	.long	21                              ## 0x15
	.long	20                              ## 0x14
	.long	31                              ## 0x1f
	.long	65                              ## 0x41
	.long	32                              ## 0x20
	.long	128                             ## 0x80
	.long	35                              ## 0x23
	.long	238                             ## 0xee
	.long	36                              ## 0x24
	.long	80                              ## 0x50
	.long	37                              ## 0x25
	.long	122                             ## 0x7a
	.long	38                              ## 0x26
	.long	0                               ## 0x0
	.long	39                              ## 0x27
	.long	226                             ## 0xe2
	.long	40                              ## 0x28
	.long	176                             ## 0xb0
	.long	42                              ## 0x2a
	.long	0                               ## 0x0
	.long	43                              ## 0x2b
	.long	0                               ## 0x0
	.long	45                              ## 0x2d
	.long	129                             ## 0x81
	.long	47                              ## 0x2f
	.long	157                             ## 0x9d
	.long	96                              ## 0x60
	.long	128                             ## 0x80
	.long	97                              ## 0x61
	.long	0                               ## 0x0
	.long	98                              ## 0x62
	.long	136                             ## 0x88
	.long	99                              ## 0x63
	.long	17                              ## 0x11
	.long	100                             ## 0x64
	.long	137                             ## 0x89
	.long	101                             ## 0x65
	.long	0                               ## 0x0
	.long	103                             ## 0x67
	.long	148                             ## 0x94
	.long	104                             ## 0x68
	.long	122                             ## 0x7a
	.long	105                             ## 0x69
	.long	15                              ## 0xf
	.long	108                             ## 0x6c
	.long	128                             ## 0x80
	.long	109                             ## 0x6d
	.long	128                             ## 0x80
	.long	110                             ## 0x6e
	.long	128                             ## 0x80
	.long	111                             ## 0x6f
	.long	255                             ## 0xff
	.long	113                             ## 0x71
	.long	32                              ## 0x20
	.long	116                             ## 0x74
	.long	32                              ## 0x20
	.long	117                             ## 0x75
	.long	134                             ## 0x86
	.long	119                             ## 0x77
	.long	181                             ## 0xb5
	.long	23                              ## 0x17
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	191                             ## 0xbf
	.long	25                              ## 0x19
	.long	3                               ## 0x3
	.long	26                              ## 0x1a
	.long	248                             ## 0xf8
	.long	1                               ## 0x1
	.long	128                             ## 0x80
	.long	2                               ## 0x2
	.long	128                             ## 0x80

	.comm	_color_gain,8,3                 ## @color_gain
	.comm	_SENSOR_SOI763A,8,3             ## @SENSOR_SOI763A
	.comm	_SENSOR_CX0342,8,3              ## @SENSOR_CX0342
	.no_dead_strip	_soi763a_6800_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function soi763a_6800_start
_soi763a_6800_start:                    ; @soi763a_6800_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
Lloh0:
	adrp	x20, _soi763a_6800_start.reg_init@PAGE
Lloh1:
	add	x20, x20, _soi763a_6800_start.reg_init@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_reg_w_buf
	mov	x0, x19
	mov	w1, #18
	mov	w2, #128
	bl	_i2c_w
	mov	w0, #10
	bl	_msleep
Lloh2:
	adrp	x20, _soi763a_6800_start.sensor_init@PAGE
Lloh3:
	add	x20, x20, _soi763a_6800_start.sensor_init@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_w_buf
	mov	x0, x19
	mov	w1, #132
	mov	w2, #16
	bl	_reg_w
	mov	x0, x19
	mov	w1, #133
	mov	w2, #0
	bl	_reg_w
	ldr	w0, [x19, #24]
	bl	_v4l2_ctrl_g_ctrl
	mov	x1, x0
	mov	x0, x19
	bl	_setsharpness
Lloh4:
	adrp	x8, _color_gain@GOTPAGE
Lloh5:
	ldr	x8, [x8, _color_gain@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x23, _SENSOR_SOI763A@GOTPAGE
Lloh8:
	ldr	x23, [x23, _SENSOR_SOI763A@GOTPAGEOFF]
	ldr	x9, [x23]
	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
	ldr	x22, [x19]
Lloh9:
	adrp	x8, _SENSOR_CX0342@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SENSOR_CX0342@GOTPAGEOFF]
Lloh11:
	ldr	x24, [x8]
	lsr	x0, x22, #32
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_v4l2_ctrl_g_ctrl
	mov	x20, x0
	ldr	w0, [x19]
	bl	_v4l2_ctrl_g_ctrl
	mov	x21, x0
	cmp	x22, x24
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #20]
	bl	_v4l2_ctrl_g_ctrl
	mov	x22, x0
	ldr	w0, [x19, #16]
	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
	ldr	x8, [x19]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x19, #12]
	bl	_v4l2_ctrl_g_ctrl
	mov	x1, x0
	mov	x0, x19
	bl	_setquality
LBB0_5:
	ldr	w0, [x19, #8]
	bl	_v4l2_ctrl_g_ctrl
	mov	x1, x0
	mov	x0, x19
	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	_setgamma
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @soi763a_6800_start.reg_init
_soi763a_6800_start.reg_init:
	.long	129                             ; 0x81
	.long	4                               ; 0x4
	.long	129                             ; 0x81
	.long	1                               ; 0x1
	.long	158                             ; 0x9e
	.long	0                               ; 0x0
	.long	137                             ; 0x89
	.long	0                               ; 0x0
	.long	136                             ; 0x88
	.long	0                               ; 0x0
	.long	135                             ; 0x87
	.long	255                             ; 0xff
	.long	134                             ; 0x86
	.long	3                               ; 0x3
	.long	133                             ; 0x85
	.long	7                               ; 0x7
	.long	132                             ; 0x84
	.long	64                              ; 0x40
	.long	129                             ; 0x81
	.long	3                               ; 0x3
	.long	128                             ; 0x80
	.long	64                              ; 0x40
	.long	154                             ; 0x9a
	.long	70                              ; 0x46
	.long	153                             ; 0x99
	.long	16                              ; 0x10
	.long	146                             ; 0x92
	.long	0                               ; 0x0
	.long	145                             ; 0x91
	.long	0                               ; 0x0
	.long	144                             ; 0x90
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	0                               ; 0x0
	.long	142                             ; 0x8e
	.long	0                               ; 0x0
	.long	141                             ; 0x8d
	.long	0                               ; 0x0
	.long	140                             ; 0x8c
	.long	0                               ; 0x0
	.long	139                             ; 0x8b
	.long	0                               ; 0x0
	.long	155                             ; 0x9b
	.long	3                               ; 0x3
	.long	138                             ; 0x8a
	.long	4                               ; 0x4
	.long	131                             ; 0x83
	.long	14                              ; 0xe
	.long	152                             ; 0x98
	.long	27                              ; 0x1b
	.long	151                             ; 0x97
	.long	154                             ; 0x9a
	.long	150                             ; 0x96
	.long	2                               ; 0x2
	.long	149                             ; 0x95
	.long	15                              ; 0xf
	.long	148                             ; 0x94
	.long	244                             ; 0xf4
	.long	147                             ; 0x93
	.long	1                               ; 0x1
	.long	130                             ; 0x82
	.long	1                               ; 0x1
	.long	157                             ; 0x9d
	.long	33                              ; 0x21
	.long	156                             ; 0x9c
	.long	0                               ; 0x0

	.p2align	2                               ; @soi763a_6800_start.sensor_init
_soi763a_6800_start.sensor_init:
	.long	18                              ; 0x12
	.long	72                              ; 0x48
	.long	19                              ; 0x13
	.long	160                             ; 0xa0
	.long	3                               ; 0x3
	.long	164                             ; 0xa4
	.long	4                               ; 0x4
	.long	48                              ; 0x30
	.long	5                               ; 0x5
	.long	136                             ; 0x88
	.long	6                               ; 0x6
	.long	96                              ; 0x60
	.long	16                              ; 0x10
	.long	65                              ; 0x41
	.long	17                              ; 0x11
	.long	64                              ; 0x40
	.long	19                              ; 0x13
	.long	160                             ; 0xa0
	.long	20                              ; 0x14
	.long	0                               ; 0x0
	.long	21                              ; 0x15
	.long	20                              ; 0x14
	.long	31                              ; 0x1f
	.long	65                              ; 0x41
	.long	32                              ; 0x20
	.long	128                             ; 0x80
	.long	35                              ; 0x23
	.long	238                             ; 0xee
	.long	36                              ; 0x24
	.long	80                              ; 0x50
	.long	37                              ; 0x25
	.long	122                             ; 0x7a
	.long	38                              ; 0x26
	.long	0                               ; 0x0
	.long	39                              ; 0x27
	.long	226                             ; 0xe2
	.long	40                              ; 0x28
	.long	176                             ; 0xb0
	.long	42                              ; 0x2a
	.long	0                               ; 0x0
	.long	43                              ; 0x2b
	.long	0                               ; 0x0
	.long	45                              ; 0x2d
	.long	129                             ; 0x81
	.long	47                              ; 0x2f
	.long	157                             ; 0x9d
	.long	96                              ; 0x60
	.long	128                             ; 0x80
	.long	97                              ; 0x61
	.long	0                               ; 0x0
	.long	98                              ; 0x62
	.long	136                             ; 0x88
	.long	99                              ; 0x63
	.long	17                              ; 0x11
	.long	100                             ; 0x64
	.long	137                             ; 0x89
	.long	101                             ; 0x65
	.long	0                               ; 0x0
	.long	103                             ; 0x67
	.long	148                             ; 0x94
	.long	104                             ; 0x68
	.long	122                             ; 0x7a
	.long	105                             ; 0x69
	.long	15                              ; 0xf
	.long	108                             ; 0x6c
	.long	128                             ; 0x80
	.long	109                             ; 0x6d
	.long	128                             ; 0x80
	.long	110                             ; 0x6e
	.long	128                             ; 0x80
	.long	111                             ; 0x6f
	.long	255                             ; 0xff
	.long	113                             ; 0x71
	.long	32                              ; 0x20
	.long	116                             ; 0x74
	.long	32                              ; 0x20
	.long	117                             ; 0x75
	.long	134                             ; 0x86
	.long	119                             ; 0x77
	.long	181                             ; 0xb5
	.long	23                              ; 0x17
	.long	24                              ; 0x18
	.long	24                              ; 0x18
	.long	191                             ; 0xbf
	.long	25                              ; 0x19
	.long	3                               ; 0x3
	.long	26                              ; 0x1a
	.long	248                             ; 0xf8
	.long	1                               ; 0x1
	.long	128                             ; 0x80
	.long	2                               ; 0x2
	.long	128                             ; 0x80

	.comm	_color_gain,8,3                 ; @color_gain
	.comm	_SENSOR_SOI763A,8,3             ; @SENSOR_SOI763A
	.comm	_SENSOR_CX0342,8,3              ; @SENSOR_CX0342
	.no_dead_strip	_soi763a_6800_start
.subsections_via_symbols
