	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_start
_sd_start:                              ## @sd_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_1
## %bb.2:
	movslq	%eax, %rcx
	leaq	l_switch.table.sd_start(%rip), %rax
	movq	(%rax,%rcx,8), %rax
	leaq	l_switch.table.sd_start.1(%rip), %rdx
	movq	(%rdx,%rcx,8), %r12
	leaq	l_switch.table.sd_start.2(%rip), %rdx
	movq	(%rdx,%rcx,8), %r15
	jmp	LBB0_3
LBB0_1:
	movq	_sensor_start_2_sxga@GOTPCREL(%rip), %r15
	movq	_bridge_start_sxga@GOTPCREL(%rip), %r12
	movq	_sensor_start_1_sxga@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_sccb_w_array
	movl	(%r12), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_reg_w_array
	movl	(%r15), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_sccb_w_array
	movq	%rbx, %rdi
	callq	_setfreq
	movq	%rbx, %rdi
	callq	_setautogain
	movq	%rbx, %rdi
	callq	_setbrightness
	movq	%rbx, %rdi
	callq	_setcontrast
	movq	%rbx, %rdi
	callq	_setexposure
	movq	%rbx, %rdi
	callq	_setsharpness
	movq	%rbx, %rdi
	callq	_setsatur
	movq	%rbx, %rdi
	movl	$224, %esi
	xorl	%edx, %edx
	callq	_reg_w
	movq	%rbx, %rdi
	movl	$224, %esi
	xorl	%edx, %edx
	callq	_reg_w
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_led
	movl	4(%rbx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sensor_start_1_vga,4,2         ## @sensor_start_1_vga
	.comm	_bridge_start_qvga,4,2          ## @bridge_start_qvga
	.comm	_sensor_start_2_qvga,4,2        ## @sensor_start_2_qvga
	.comm	_bridge_start_vga,4,2           ## @bridge_start_vga
	.comm	_sensor_start_2_vga,4,2         ## @sensor_start_2_vga
	.comm	_sensor_start_1_svga,4,2        ## @sensor_start_1_svga
	.comm	_bridge_start_svga,4,2          ## @bridge_start_svga
	.comm	_sensor_start_2_svga,4,2        ## @sensor_start_2_svga
	.comm	_sensor_start_1_xga,4,2         ## @sensor_start_1_xga
	.comm	_bridge_start_xga,4,2           ## @bridge_start_xga
	.comm	_sensor_start_1_sxga,4,2        ## @sensor_start_1_sxga
	.comm	_bridge_start_sxga,4,2          ## @bridge_start_sxga
	.comm	_sensor_start_2_sxga,4,2        ## @sensor_start_2_sxga
	.no_dead_strip	_sd_start
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sd_start
l_switch.table.sd_start:
	.quad	_sensor_start_1_xga
	.quad	_sensor_start_1_vga
	.quad	_sensor_start_1_svga
	.quad	_sensor_start_1_vga

	.p2align	3                               ## @switch.table.sd_start.1
l_switch.table.sd_start.1:
	.quad	_bridge_start_xga
	.quad	_bridge_start_vga
	.quad	_bridge_start_svga
	.quad	_bridge_start_qvga

	.p2align	3                               ## @switch.table.sd_start.2
l_switch.table.sd_start.2:
	.quad	_sensor_start_2_svga
	.quad	_sensor_start_2_vga
	.quad	_sensor_start_2_svga
	.quad	_sensor_start_2_qvga

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_start
_sd_start:                              ; @sd_start
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x9, x8, #3, #32
Lloh0:
	adrp	x8, l_switch.table.sd_start@PAGE
Lloh1:
	add	x8, x8, l_switch.table.sd_start@PAGEOFF
	ldr	x8, [x8, x9]
Lloh2:
	adrp	x10, l_switch.table.sd_start.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.sd_start.1@PAGEOFF
	ldr	x22, [x10, x9]
Lloh4:
	adrp	x10, l_switch.table.sd_start.2@PAGE
Lloh5:
	add	x10, x10, l_switch.table.sd_start.2@PAGEOFF
	ldr	x21, [x10, x9]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x21, _sensor_start_2_sxga@GOTPAGE
Lloh7:
	ldr	x21, [x21, _sensor_start_2_sxga@GOTPAGEOFF]
Lloh8:
	adrp	x22, _bridge_start_sxga@GOTPAGE
Lloh9:
	ldr	x22, [x22, _bridge_start_sxga@GOTPAGEOFF]
Lloh10:
	adrp	x8, _sensor_start_1_sxga@GOTPAGE
Lloh11:
	ldr	x8, [x8, _sensor_start_1_sxga@GOTPAGEOFF]
LBB0_3:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sccb_w_array
	ldr	w20, [x22]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_reg_w_array
	ldr	w20, [x21]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sccb_w_array
	mov	x0, x19
	bl	_setfreq
	mov	x0, x19
	bl	_setautogain
	mov	x0, x19
	bl	_setbrightness
	mov	x0, x19
	bl	_setcontrast
	mov	x0, x19
	bl	_setexposure
	mov	x0, x19
	bl	_setsharpness
	mov	x0, x19
	bl	_setsatur
	mov	x0, x19
	mov	w1, #224
	mov	w2, #0
	bl	_reg_w
	mov	x0, x19
	mov	w1, #224
	mov	w2, #0
	bl	_reg_w
	mov	x0, x19
	mov	w1, #1
	bl	_set_led
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_sensor_start_1_vga,4,2         ; @sensor_start_1_vga
	.comm	_bridge_start_qvga,4,2          ; @bridge_start_qvga
	.comm	_sensor_start_2_qvga,4,2        ; @sensor_start_2_qvga
	.comm	_bridge_start_vga,4,2           ; @bridge_start_vga
	.comm	_sensor_start_2_vga,4,2         ; @sensor_start_2_vga
	.comm	_sensor_start_1_svga,4,2        ; @sensor_start_1_svga
	.comm	_bridge_start_svga,4,2          ; @bridge_start_svga
	.comm	_sensor_start_2_svga,4,2        ; @sensor_start_2_svga
	.comm	_sensor_start_1_xga,4,2         ; @sensor_start_1_xga
	.comm	_bridge_start_xga,4,2           ; @bridge_start_xga
	.comm	_sensor_start_1_sxga,4,2        ; @sensor_start_1_sxga
	.comm	_bridge_start_sxga,4,2          ; @bridge_start_sxga
	.comm	_sensor_start_2_sxga,4,2        ; @sensor_start_2_sxga
	.no_dead_strip	_sd_start
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sd_start
l_switch.table.sd_start:
	.quad	_sensor_start_1_xga
	.quad	_sensor_start_1_vga
	.quad	_sensor_start_1_svga
	.quad	_sensor_start_1_vga

	.p2align	3                               ; @switch.table.sd_start.1
l_switch.table.sd_start.1:
	.quad	_bridge_start_xga
	.quad	_bridge_start_vga
	.quad	_bridge_start_svga
	.quad	_bridge_start_qvga

	.p2align	3                               ; @switch.table.sd_start.2
l_switch.table.sd_start.2:
	.quad	_sensor_start_2_svga
	.quad	_sensor_start_2_vga
	.quad	_sensor_start_2_svga
	.quad	_sensor_start_2_qvga

.subsections_via_symbols
