	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ov518_configure
LCPI0_0:
	.long	352                             ## 0x160
	.long	288                             ## 0x120
	.long	160                             ## 0xa0
	.long	120                             ## 0x78
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ov518_configure:                       ## @ov518_configure
	.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, %r15
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	callq	_PDEBUG
	movq	64(%r15), %rbx
	movq	_R511_SYS_CUST_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_reg_r
	andl	$31, %eax
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_info
	movq	_camlist@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_symbolic
	movl	%eax, 72(%r15)
	leaq	_ov518_configure.aRegvalsInit518(%rip), %rsi
	movq	%r15, %rdi
	callq	_write_regvals
	testq	%rax, %rax
	je	LBB0_1
LBB0_29:
	leaq	L_.str.8(%rip), %rdi
	callq	_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_30:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, %rdi
	movl	$87, %esi
	xorl	%edx, %edx
	movl	$2, %ecx
	callq	_reg_w_mask
	testq	%rax, %rax
	js	LBB0_29
## %bb.2:
	movq	(%r15), %rax
	movq	_LED_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%cl
	movq	_LED_AUTO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %esi
	movq	%r15, %rdi
	callq	_ov51x_led_control
	movq	_dumppix@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.3:
	cmpl	$0, 8(%r15)
	jne	LBB0_5
## %bb.4:
	movl	$1, 8(%r15)
	movq	64(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_warn
LBB0_5:
	movq	16(%r15), %rax
	movq	_BRG_OV518@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_8
## %bb.6:
	leaq	_ov518_configure.aRegvalsNorm518(%rip), %rsi
	jmp	LBB0_7
LBB0_8:
	movq	_BRG_OV518PLUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	leaq	_ov518_configure.aRegvalsNorm518Plus(%rip), %rsi
LBB0_7:
	movq	%r15, %rdi
	callq	_write_regvals
	testq	%rax, %rax
	jne	LBB0_29
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.3(%rip), %rdi
	callq	_err
LBB0_11:
	movq	%r15, %rdi
	movl	$47, %esi
	movl	$128, %edx
	callq	_reg_w
	testq	%rax, %rax
	js	LBB0_29
## %bb.12:
	movq	%r15, %rdi
	callq	_ov518_init_compression
	testq	%rax, %rax
	jne	LBB0_29
## %bb.13:
	movq	16(%r15), %rax
	movl	$1, %r12d
	cmpq	(%rbx), %rax
	jne	LBB0_18
## %bb.14:
	movq	64(%r15), %rdi
	xorl	%esi, %esi
	callq	_usb_ifnum_to_if
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	%rax, %rdi
	movl	$7, %esi
	callq	_usb_altnum_to_altsetting
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	cmpl	$897, %eax                      ## imm = 0x381
	je	LBB0_18
LBB0_17:
	xorl	%r12d, %r12d
LBB0_18:
	movl	%r12d, 24(%r15)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ov518_set_packet_size
	movq	_snapshot@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	_OV7xx0_SID@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rsi, 48(%r15)
	movq	%r15, %rdi
	callq	_ov51x_set_slave_ids
	testq	%rax, %rax
	js	LBB0_29
## %bb.19:
	movq	%r15, %rdi
	callq	_init_ov_sensor
	testq	%rax, %rax
	js	LBB0_20
## %bb.26:
	movq	%r15, %rdi
	callq	_ov7xx0_configure
	testq	%rax, %rax
	js	LBB0_27
LBB0_31:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [352,288,160,120]
	movups	%xmm0, 28(%r15)
	xorl	%r14d, %r14d
	jmp	LBB0_30
LBB0_20:
	movq	_OV6xx0_SID@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rsi, 48(%r15)
	movq	%r15, %rdi
	callq	_ov51x_set_slave_ids
	testq	%rax, %rax
	js	LBB0_29
## %bb.21:
	movq	%r15, %rdi
	callq	_init_ov_sensor
	testq	%rax, %rax
	js	LBB0_22
## %bb.24:
	movq	%r15, %rdi
	callq	_ov6xx0_configure
	testq	%rax, %rax
	jns	LBB0_31
## %bb.25:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_28
LBB0_27:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_28
LBB0_22:
	movq	_OV8xx0_SID@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rsi, 48(%r15)
	movq	%r15, %rdi
	callq	_ov51x_set_slave_ids
	testq	%rax, %rax
	js	LBB0_29
## %bb.23:
	movq	%r15, %rdi
	callq	_init_ov_sensor
	testq	%rax, %rax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %rdi
	cmovsq	%rax, %rdi
LBB0_28:
	callq	_err
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @ov518_configure.aRegvalsInit518
_ov518_configure.aRegvalsInit518:
	.long	131                             ## 0x83
	.long	129                             ## 0x81
	.long	64                              ## 0x40
	.long	131                             ## 0x83
	.long	130                             ## 0x82
	.long	225                             ## 0xe1
	.long	131                             ## 0x83
	.long	129                             ## 0x81
	.long	62                              ## 0x3e
	.long	131                             ## 0x83
	.long	130                             ## 0x82
	.long	225                             ## 0xe1
	.long	131                             ## 0x83
	.long	129                             ## 0x81
	.long	0                               ## 0x0
	.long	131                             ## 0x83
	.long	130                             ## 0x82
	.long	225                             ## 0xe1
	.long	131                             ## 0x83
	.long	70                              ## 0x46
	.long	0                               ## 0x0
	.long	131                             ## 0x83
	.long	93                              ## 0x5d
	.long	3                               ## 0x3
	.long	132                             ## 0x84
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.p2align	4                               ## @ov518_configure.aRegvalsNorm518
_ov518_configure.aRegvalsNorm518:
	.long	131                             ## 0x83
	.long	128                             ## 0x80
	.long	2                               ## 0x2
	.long	131                             ## 0x83
	.long	128                             ## 0x80
	.long	1                               ## 0x1
	.long	131                             ## 0x83
	.long	49                              ## 0x31
	.long	15                              ## 0xf
	.long	131                             ## 0x83
	.long	93                              ## 0x5d
	.long	3                               ## 0x3
	.long	131                             ## 0x83
	.long	36                              ## 0x24
	.long	159                             ## 0x9f
	.long	131                             ## 0x83
	.long	37                              ## 0x25
	.long	144                             ## 0x90
	.long	131                             ## 0x83
	.long	32                              ## 0x20
	.long	0                               ## 0x0
	.long	131                             ## 0x83
	.long	81                              ## 0x51
	.long	4                               ## 0x4
	.long	131                             ## 0x83
	.long	113                             ## 0x71
	.long	25                              ## 0x19
	.long	132                             ## 0x84
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.p2align	4                               ## @ov518_configure.aRegvalsNorm518Plus
_ov518_configure.aRegvalsNorm518Plus:
	.long	131                             ## 0x83
	.long	128                             ## 0x80
	.long	2                               ## 0x2
	.long	131                             ## 0x83
	.long	128                             ## 0x80
	.long	1                               ## 0x1
	.long	131                             ## 0x83
	.long	49                              ## 0x31
	.long	15                              ## 0xf
	.long	131                             ## 0x83
	.long	93                              ## 0x5d
	.long	3                               ## 0x3
	.long	131                             ## 0x83
	.long	36                              ## 0x24
	.long	159                             ## 0x9f
	.long	131                             ## 0x83
	.long	37                              ## 0x25
	.long	144                             ## 0x90
	.long	131                             ## 0x83
	.long	32                              ## 0x20
	.long	96                              ## 0x60
	.long	131                             ## 0x83
	.long	81                              ## 0x51
	.long	2                               ## 0x2
	.long	131                             ## 0x83
	.long	113                             ## 0x71
	.long	25                              ## 0x19
	.long	131                             ## 0x83
	.long	64                              ## 0x40
	.long	255                             ## 0xff
	.long	131                             ## 0x83
	.long	65                              ## 0x41
	.long	66                              ## 0x42
	.long	131                             ## 0x83
	.long	70                              ## 0x46
	.long	0                               ## 0x0
	.long	131                             ## 0x83
	.long	51                              ## 0x33
	.long	4                               ## 0x4
	.long	131                             ## 0x83
	.long	33                              ## 0x21
	.long	25                              ## 0x19
	.long	131                             ## 0x83
	.long	63                              ## 0x3f
	.long	16                              ## 0x10
	.long	132                             ## 0x84
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"Device revision %d\n"

	.comm	_R511_SYS_CUST_ID,4,2           ## @R511_SYS_CUST_ID
	.comm	_camlist,4,2                    ## @camlist
	.comm	_LED_OFF,8,3                    ## @LED_OFF
	.comm	_LED_AUTO,8,3                   ## @LED_AUTO
	.comm	_dumppix,4,2                    ## @dumppix
L_.str.2:                               ## @.str.2
	.asciz	"Compression required with OV518...enabling\n"

	.comm	_BRG_OV518,8,3                  ## @BRG_OV518
	.comm	_BRG_OV518PLUS,8,3              ## @BRG_OV518PLUS
L_.str.3:                               ## @.str.3
	.asciz	"Invalid bridge"

	.comm	_snapshot,4,2                   ## @snapshot
	.comm	_OV7xx0_SID,8,3                 ## @OV7xx0_SID
	.comm	_OV6xx0_SID,8,3                 ## @OV6xx0_SID
	.comm	_OV8xx0_SID,8,3                 ## @OV8xx0_SID
L_.str.4:                               ## @.str.4
	.asciz	"Can't determine sensor slave IDs"

L_.str.5:                               ## @.str.5
	.asciz	"Detected unsupported OV8xx0 sensor"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to configure OV6xx0"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to configure OV7xx0"

L_.str.8:                               ## @.str.8
	.asciz	"OV518 Config failed"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_ov518_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ov518_configure
lCPI0_0:
	.long	352                             ; 0x160
	.long	288                             ; 0x120
	.long	160                             ; 0xa0
	.long	120                             ; 0x78
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ov518_configure:                       ; @ov518_configure
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_PDEBUG
	ldr	x20, [x19, #64]
Lloh2:
	adrp	x8, _R511_SYS_CUST_ID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R511_SYS_CUST_ID@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_reg_r
	and	w2, w0, #0x1f
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_info
Lloh7:
	adrp	x8, _camlist@GOTPAGE
Lloh8:
	ldr	x8, [x8, _camlist@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_symbolic
	str	w0, [x19, #72]
Lloh10:
	adrp	x1, _ov518_configure.aRegvalsInit518@PAGE
Lloh11:
	add	x1, x1, _ov518_configure.aRegvalsInit518@PAGEOFF
	mov	x0, x19
	bl	_write_regvals
	cbz	x0, LBB0_3
LBB0_1:
Lloh12:
	adrp	x0, l_.str.8@PAGE
Lloh13:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_err
Lloh14:
	adrp	x8, _EBUSY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	mov	w1, #87
	mov	w2, #0
	mov	w3, #2
	bl	_reg_w_mask
	tbnz	x0, #63, LBB0_1
; %bb.4:
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _LED_OFF@GOTPAGE
Lloh18:
	ldr	x9, [x9, _LED_OFF@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh20:
	adrp	x9, _LED_AUTO@GOTPAGE
Lloh21:
	ldr	x9, [x9, _LED_AUTO@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w1, ne
	mov	x0, x19
	bl	_ov51x_led_control
Lloh23:
	adrp	x8, _dumppix@GOTPAGE
Lloh24:
	ldr	x8, [x8, _dumppix@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cbnz	w8, LBB0_7
; %bb.5:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	x0, [x19, #64]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_warn
LBB0_7:
	ldr	x8, [x19, #16]
Lloh28:
	adrp	x20, _BRG_OV518@GOTPAGE
Lloh29:
	ldr	x20, [x20, _BRG_OV518@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh30:
	adrp	x1, _ov518_configure.aRegvalsNorm518@PAGE
Lloh31:
	add	x1, x1, _ov518_configure.aRegvalsNorm518@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh32:
	adrp	x9, _BRG_OV518PLUS@GOTPAGE
Lloh33:
	ldr	x9, [x9, _BRG_OV518PLUS@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
Lloh35:
	adrp	x1, _ov518_configure.aRegvalsNorm518Plus@PAGE
Lloh36:
	add	x1, x1, _ov518_configure.aRegvalsNorm518Plus@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_write_regvals
	cbnz	x0, LBB0_1
	b	LBB0_13
LBB0_12:
Lloh37:
	adrp	x0, l_.str.3@PAGE
Lloh38:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_err
LBB0_13:
	mov	x0, x19
	mov	w1, #47
	mov	w2, #128
	bl	_reg_w
	tbnz	x0, #63, LBB0_1
; %bb.14:
	mov	x0, x19
	bl	_ov518_init_compression
	cbnz	x0, LBB0_1
; %bb.15:
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.16:
	ldr	x0, [x19, #64]
	mov	w1, #0
	bl	_usb_ifnum_to_if
	cbz	x0, LBB0_20
; %bb.17:
	mov	w1, #7
	bl	_usb_altnum_to_altsetting
	cbz	x0, LBB0_20
; %bb.18:
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	cmp	w0, #897
	b.ne	LBB0_20
LBB0_19:
	mov	w8, #1
	b	LBB0_21
LBB0_20:
	mov	w8, #0
LBB0_21:
	str	w8, [x19, #24]
	mov	x0, x19
	mov	w1, #0
	bl	_ov518_set_packet_size
Lloh39:
	adrp	x8, _snapshot@GOTPAGE
Lloh40:
	ldr	x8, [x8, _snapshot@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh42:
	adrp	x8, _OV7xx0_SID@GOTPAGE
Lloh43:
	ldr	x8, [x8, _OV7xx0_SID@GOTPAGEOFF]
Lloh44:
	ldr	x1, [x8]
	str	x1, [x19, #48]
	mov	x0, x19
	bl	_ov51x_set_slave_ids
	tbnz	x0, #63, LBB0_1
; %bb.22:
	mov	x0, x19
	bl	_init_ov_sensor
	tbnz	x0, #63, LBB0_25
; %bb.23:
	mov	x0, x19
	bl	_ov7xx0_configure
	tbnz	x0, #63, LBB0_29
LBB0_24:
	mov	w0, #0
Lloh45:
	adrp	x8, lCPI0_0@PAGE
Lloh46:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #28]
	b	LBB0_2
LBB0_25:
Lloh47:
	adrp	x8, _OV6xx0_SID@GOTPAGE
Lloh48:
	ldr	x8, [x8, _OV6xx0_SID@GOTPAGEOFF]
Lloh49:
	ldr	x1, [x8]
	str	x1, [x19, #48]
	mov	x0, x19
	bl	_ov51x_set_slave_ids
	tbnz	x0, #63, LBB0_1
; %bb.26:
	mov	x0, x19
	bl	_init_ov_sensor
	tbnz	x0, #63, LBB0_30
; %bb.27:
	mov	x0, x19
	bl	_ov6xx0_configure
	tbz	x0, #63, LBB0_24
; %bb.28:
Lloh50:
	adrp	x0, l_.str.6@PAGE
Lloh51:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_32
LBB0_29:
Lloh52:
	adrp	x0, l_.str.7@PAGE
Lloh53:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_32
LBB0_30:
Lloh54:
	adrp	x8, _OV8xx0_SID@GOTPAGE
Lloh55:
	ldr	x8, [x8, _OV8xx0_SID@GOTPAGEOFF]
Lloh56:
	ldr	x1, [x8]
	str	x1, [x19, #48]
	mov	x0, x19
	bl	_ov51x_set_slave_ids
	tbnz	x0, #63, LBB0_1
; %bb.31:
	mov	x0, x19
	bl	_init_ov_sensor
Lloh57:
	adrp	x8, l_.str.5@PAGE
Lloh58:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh59:
	adrp	x9, l_.str.4@PAGE
Lloh60:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	x0, #0
	csel	x0, x9, x8, lt
LBB0_32:
	bl	_err
	b	LBB0_1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdr	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @ov518_configure.aRegvalsInit518
_ov518_configure.aRegvalsInit518:
	.long	131                             ; 0x83
	.long	129                             ; 0x81
	.long	64                              ; 0x40
	.long	131                             ; 0x83
	.long	130                             ; 0x82
	.long	225                             ; 0xe1
	.long	131                             ; 0x83
	.long	129                             ; 0x81
	.long	62                              ; 0x3e
	.long	131                             ; 0x83
	.long	130                             ; 0x82
	.long	225                             ; 0xe1
	.long	131                             ; 0x83
	.long	129                             ; 0x81
	.long	0                               ; 0x0
	.long	131                             ; 0x83
	.long	130                             ; 0x82
	.long	225                             ; 0xe1
	.long	131                             ; 0x83
	.long	70                              ; 0x46
	.long	0                               ; 0x0
	.long	131                             ; 0x83
	.long	93                              ; 0x5d
	.long	3                               ; 0x3
	.long	132                             ; 0x84
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.p2align	2                               ; @ov518_configure.aRegvalsNorm518
_ov518_configure.aRegvalsNorm518:
	.long	131                             ; 0x83
	.long	128                             ; 0x80
	.long	2                               ; 0x2
	.long	131                             ; 0x83
	.long	128                             ; 0x80
	.long	1                               ; 0x1
	.long	131                             ; 0x83
	.long	49                              ; 0x31
	.long	15                              ; 0xf
	.long	131                             ; 0x83
	.long	93                              ; 0x5d
	.long	3                               ; 0x3
	.long	131                             ; 0x83
	.long	36                              ; 0x24
	.long	159                             ; 0x9f
	.long	131                             ; 0x83
	.long	37                              ; 0x25
	.long	144                             ; 0x90
	.long	131                             ; 0x83
	.long	32                              ; 0x20
	.long	0                               ; 0x0
	.long	131                             ; 0x83
	.long	81                              ; 0x51
	.long	4                               ; 0x4
	.long	131                             ; 0x83
	.long	113                             ; 0x71
	.long	25                              ; 0x19
	.long	132                             ; 0x84
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.p2align	2                               ; @ov518_configure.aRegvalsNorm518Plus
_ov518_configure.aRegvalsNorm518Plus:
	.long	131                             ; 0x83
	.long	128                             ; 0x80
	.long	2                               ; 0x2
	.long	131                             ; 0x83
	.long	128                             ; 0x80
	.long	1                               ; 0x1
	.long	131                             ; 0x83
	.long	49                              ; 0x31
	.long	15                              ; 0xf
	.long	131                             ; 0x83
	.long	93                              ; 0x5d
	.long	3                               ; 0x3
	.long	131                             ; 0x83
	.long	36                              ; 0x24
	.long	159                             ; 0x9f
	.long	131                             ; 0x83
	.long	37                              ; 0x25
	.long	144                             ; 0x90
	.long	131                             ; 0x83
	.long	32                              ; 0x20
	.long	96                              ; 0x60
	.long	131                             ; 0x83
	.long	81                              ; 0x51
	.long	2                               ; 0x2
	.long	131                             ; 0x83
	.long	113                             ; 0x71
	.long	25                              ; 0x19
	.long	131                             ; 0x83
	.long	64                              ; 0x40
	.long	255                             ; 0xff
	.long	131                             ; 0x83
	.long	65                              ; 0x41
	.long	66                              ; 0x42
	.long	131                             ; 0x83
	.long	70                              ; 0x46
	.long	0                               ; 0x0
	.long	131                             ; 0x83
	.long	51                              ; 0x33
	.long	4                               ; 0x4
	.long	131                             ; 0x83
	.long	33                              ; 0x21
	.long	25                              ; 0x19
	.long	131                             ; 0x83
	.long	63                              ; 0x3f
	.long	16                              ; 0x10
	.long	132                             ; 0x84
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"Device revision %d\n"

	.comm	_R511_SYS_CUST_ID,4,2           ; @R511_SYS_CUST_ID
	.comm	_camlist,4,2                    ; @camlist
	.comm	_LED_OFF,8,3                    ; @LED_OFF
	.comm	_LED_AUTO,8,3                   ; @LED_AUTO
	.comm	_dumppix,4,2                    ; @dumppix
l_.str.2:                               ; @.str.2
	.asciz	"Compression required with OV518...enabling\n"

	.comm	_BRG_OV518,8,3                  ; @BRG_OV518
	.comm	_BRG_OV518PLUS,8,3              ; @BRG_OV518PLUS
l_.str.3:                               ; @.str.3
	.asciz	"Invalid bridge"

	.comm	_snapshot,4,2                   ; @snapshot
	.comm	_OV7xx0_SID,8,3                 ; @OV7xx0_SID
	.comm	_OV6xx0_SID,8,3                 ; @OV6xx0_SID
	.comm	_OV8xx0_SID,8,3                 ; @OV8xx0_SID
l_.str.4:                               ; @.str.4
	.asciz	"Can't determine sensor slave IDs"

l_.str.5:                               ; @.str.5
	.asciz	"Detected unsupported OV8xx0 sensor"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to configure OV6xx0"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to configure OV7xx0"

l_.str.8:                               ; @.str.8
	.asciz	"OV518 Config failed"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_ov518_configure
.subsections_via_symbols
