	.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), %rax
	movq	_SENSOR_OV971x@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.1:
	movq	_SENSOR_OV562x@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.2:
	movq	%rdi, %rbx
	movq	_SENSOR_OV361x@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sd_start_ov361x                ## TAILCALL
LBB0_3:
	shrq	$32, %rax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_4
## %bb.5:
	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_6
LBB0_4:
	movq	_ov965x_start_2_sxga@GOTPCREL(%rip), %r15
	movq	_bridge_start_sxga@GOTPCREL(%rip), %r12
	movq	_ov965x_start_1_sxga@GOTPCREL(%rip), %rax
LBB0_6:
	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
	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	(%rbx), %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SENSOR_OV971x,8,3              ## @SENSOR_OV971x
	.comm	_SENSOR_OV562x,8,3              ## @SENSOR_OV562x
	.comm	_SENSOR_OV361x,8,3              ## @SENSOR_OV361x
	.comm	_ov965x_start_1_vga,4,2         ## @ov965x_start_1_vga
	.comm	_bridge_start_qvga,4,2          ## @bridge_start_qvga
	.comm	_ov965x_start_2_qvga,4,2        ## @ov965x_start_2_qvga
	.comm	_bridge_start_vga,4,2           ## @bridge_start_vga
	.comm	_ov965x_start_2_vga,4,2         ## @ov965x_start_2_vga
	.comm	_ov965x_start_1_svga,4,2        ## @ov965x_start_1_svga
	.comm	_bridge_start_svga,4,2          ## @bridge_start_svga
	.comm	_ov965x_start_2_svga,4,2        ## @ov965x_start_2_svga
	.comm	_ov965x_start_1_xga,4,2         ## @ov965x_start_1_xga
	.comm	_bridge_start_xga,4,2           ## @bridge_start_xga
	.comm	_ov965x_start_1_sxga,4,2        ## @ov965x_start_1_sxga
	.comm	_bridge_start_sxga,4,2          ## @bridge_start_sxga
	.comm	_ov965x_start_2_sxga,4,2        ## @ov965x_start_2_sxga
	.no_dead_strip	_sd_start
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sd_start
l_switch.table.sd_start:
	.quad	_ov965x_start_1_xga
	.quad	_ov965x_start_1_vga
	.quad	_ov965x_start_1_svga
	.quad	_ov965x_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	_ov965x_start_2_svga
	.quad	_ov965x_start_2_vga
	.quad	_ov965x_start_2_svga
	.quad	_ov965x_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	x0, [x0]
Lloh0:
	adrp	x8, _SENSOR_OV971x@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SENSOR_OV971x@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SENSOR_OV562x@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SENSOR_OV562x@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.eq	LBB0_7
; %bb.1:
Lloh6:
	adrp	x8, _SENSOR_OV361x@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SENSOR_OV361x@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	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
	b	_sd_start_ov361x
LBB0_3:
	lsr	x8, x0, #32
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.4:
	sbfiz	x9, x8, #3, #32
Lloh9:
	adrp	x8, l_switch.table.sd_start@PAGE
Lloh10:
	add	x8, x8, l_switch.table.sd_start@PAGEOFF
	ldr	x8, [x8, x9]
Lloh11:
	adrp	x10, l_switch.table.sd_start.1@PAGE
Lloh12:
	add	x10, x10, l_switch.table.sd_start.1@PAGEOFF
	ldr	x22, [x10, x9]
Lloh13:
	adrp	x10, l_switch.table.sd_start.2@PAGE
Lloh14:
	add	x10, x10, l_switch.table.sd_start.2@PAGEOFF
	ldr	x21, [x10, x9]
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x21, _ov965x_start_2_sxga@GOTPAGE
Lloh16:
	ldr	x21, [x21, _ov965x_start_2_sxga@GOTPAGEOFF]
Lloh17:
	adrp	x22, _bridge_start_sxga@GOTPAGE
Lloh18:
	ldr	x22, [x22, _bridge_start_sxga@GOTPAGEOFF]
Lloh19:
	adrp	x8, _ov965x_start_1_sxga@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ov965x_start_1_sxga@GOTPAGEOFF]
LBB0_6:
	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
	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]
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SENSOR_OV971x,8,3              ; @SENSOR_OV971x
	.comm	_SENSOR_OV562x,8,3              ; @SENSOR_OV562x
	.comm	_SENSOR_OV361x,8,3              ; @SENSOR_OV361x
	.comm	_ov965x_start_1_vga,4,2         ; @ov965x_start_1_vga
	.comm	_bridge_start_qvga,4,2          ; @bridge_start_qvga
	.comm	_ov965x_start_2_qvga,4,2        ; @ov965x_start_2_qvga
	.comm	_bridge_start_vga,4,2           ; @bridge_start_vga
	.comm	_ov965x_start_2_vga,4,2         ; @ov965x_start_2_vga
	.comm	_ov965x_start_1_svga,4,2        ; @ov965x_start_1_svga
	.comm	_bridge_start_svga,4,2          ; @bridge_start_svga
	.comm	_ov965x_start_2_svga,4,2        ; @ov965x_start_2_svga
	.comm	_ov965x_start_1_xga,4,2         ; @ov965x_start_1_xga
	.comm	_bridge_start_xga,4,2           ; @bridge_start_xga
	.comm	_ov965x_start_1_sxga,4,2        ; @ov965x_start_1_sxga
	.comm	_bridge_start_sxga,4,2          ; @bridge_start_sxga
	.comm	_ov965x_start_2_sxga,4,2        ; @ov965x_start_2_sxga
	.no_dead_strip	_sd_start
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sd_start
l_switch.table.sd_start:
	.quad	_ov965x_start_1_xga
	.quad	_ov965x_start_1_vga
	.quad	_ov965x_start_1_svga
	.quad	_ov965x_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	_ov965x_start_2_svga
	.quad	_ov965x_start_2_vga
	.quad	_ov965x_start_2_svga
	.quad	_ov965x_start_2_qvga

.subsections_via_symbols
