	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_start_ov361x
_sd_start_ov361x:                       ## @sd_start_ov361x
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$18, %esi
	movl	$128, %edx
	callq	_sccb_write
	movl	$20, %edi
	callq	_msleep
	movl	(%rbx), %eax
	movq	_ov361x_last@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	addl	$-128, %edx
	cmpl	$5, %edx
	ja	LBB0_2
## %bb.1:
	movslq	%edx, %rax
	leaq	l_switch.table.sd_start_ov361x(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.sd_start_ov361x.1(%rip), %rdx
	movq	(%rdx,%rax,8), %r15
	movl	(%rcx), %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
LBB0_2:
	movq	%rbx, %rdi
	movl	$224, %esi
	xorl	%edx, %edx
	callq	_reg_w
	movl	4(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ov361x_last,4,2                ## @ov361x_last
	.comm	_ov361x_bridge_start_2048,4,2   ## @ov361x_bridge_start_2048
	.comm	_ov361x_start_2048,4,2          ## @ov361x_start_2048
	.comm	_ov361x_bridge_start_1600,4,2   ## @ov361x_bridge_start_1600
	.comm	_ov361x_start_1600,4,2          ## @ov361x_start_1600
	.comm	_ov361x_bridge_start_1024,4,2   ## @ov361x_bridge_start_1024
	.comm	_ov361x_start_1024,4,2          ## @ov361x_start_1024
	.comm	_ov361x_bridge_start_640,4,2    ## @ov361x_bridge_start_640
	.comm	_ov361x_start_640,4,2           ## @ov361x_start_640
	.comm	_ov361x_bridge_start_320,4,2    ## @ov361x_bridge_start_320
	.comm	_ov361x_start_320,4,2           ## @ov361x_start_320
	.comm	_ov361x_bridge_start_160,4,2    ## @ov361x_bridge_start_160
	.comm	_ov361x_start_160,4,2           ## @ov361x_start_160
	.no_dead_strip	_sd_start_ov361x
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sd_start_ov361x
l_switch.table.sd_start_ov361x:
	.quad	_ov361x_bridge_start_640
	.quad	_ov361x_bridge_start_320
	.quad	_ov361x_bridge_start_2048
	.quad	_ov361x_bridge_start_1600
	.quad	_ov361x_bridge_start_160
	.quad	_ov361x_bridge_start_1024

	.p2align	3                               ## @switch.table.sd_start_ov361x.1
l_switch.table.sd_start_ov361x.1:
	.quad	_ov361x_start_640
	.quad	_ov361x_start_320
	.quad	_ov361x_start_2048
	.quad	_ov361x_start_1600
	.quad	_ov361x_start_160
	.quad	_ov361x_start_1024

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_start_ov361x
_sd_start_ov361x:                       ; @sd_start_ov361x
	.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
	mov	w1, #18
	mov	w2, #128
	bl	_sccb_write
	mov	w0, #20
	bl	_msleep
Lloh0:
	adrp	x8, _ov361x_last@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ov361x_last@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh2:
	ldr	w8, [x8]
	sdiv	w10, w9, w8
	msub	w8, w10, w8, w9
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #3, #32
Lloh3:
	adrp	x9, l_switch.table.sd_start_ov361x@PAGE
Lloh4:
	add	x9, x9, l_switch.table.sd_start_ov361x@PAGEOFF
	ldr	x9, [x9, x8]
Lloh5:
	adrp	x10, l_switch.table.sd_start_ov361x.1@PAGE
Lloh6:
	add	x10, x10, l_switch.table.sd_start_ov361x.1@PAGEOFF
	ldr	x21, [x10, x8]
	ldr	w20, [x9]
	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
LBB0_2:
	mov	x0, x19
	mov	w1, #224
	mov	w2, #0
	bl	_reg_w
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ov361x_last,4,2                ; @ov361x_last
	.comm	_ov361x_bridge_start_2048,4,2   ; @ov361x_bridge_start_2048
	.comm	_ov361x_start_2048,4,2          ; @ov361x_start_2048
	.comm	_ov361x_bridge_start_1600,4,2   ; @ov361x_bridge_start_1600
	.comm	_ov361x_start_1600,4,2          ; @ov361x_start_1600
	.comm	_ov361x_bridge_start_1024,4,2   ; @ov361x_bridge_start_1024
	.comm	_ov361x_start_1024,4,2          ; @ov361x_start_1024
	.comm	_ov361x_bridge_start_640,4,2    ; @ov361x_bridge_start_640
	.comm	_ov361x_start_640,4,2           ; @ov361x_start_640
	.comm	_ov361x_bridge_start_320,4,2    ; @ov361x_bridge_start_320
	.comm	_ov361x_start_320,4,2           ; @ov361x_start_320
	.comm	_ov361x_bridge_start_160,4,2    ; @ov361x_bridge_start_160
	.comm	_ov361x_start_160,4,2           ; @ov361x_start_160
	.no_dead_strip	_sd_start_ov361x
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sd_start_ov361x
l_switch.table.sd_start_ov361x:
	.quad	_ov361x_bridge_start_640
	.quad	_ov361x_bridge_start_320
	.quad	_ov361x_bridge_start_2048
	.quad	_ov361x_bridge_start_1600
	.quad	_ov361x_bridge_start_160
	.quad	_ov361x_bridge_start_1024

	.p2align	3                               ; @switch.table.sd_start_ov361x.1
l_switch.table.sd_start_ov361x.1:
	.quad	_ov361x_start_640
	.quad	_ov361x_start_320
	.quad	_ov361x_start_2048
	.quad	_ov361x_start_1600
	.quad	_ov361x_start_160
	.quad	_ov361x_start_1024

.subsections_via_symbols
