	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov511_configure
_ov511_configure:                       ## @ov511_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_D_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_R51x_SYS_CUST_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_reg_r
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	callq	_gspca_dbg
	leaq	_ov511_configure.init_511(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_write_regvals
	movl	(%rbx), %eax
	cmpl	$136, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$135, %eax
	jne	LBB0_5
## %bb.3:
	leaq	_ov511_configure.norm_511_p(%rip), %r14
	jmp	LBB0_4
LBB0_1:
	leaq	_ov511_configure.norm_511(%rip), %r14
LBB0_4:
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_write_regvals
LBB0_5:
	leaq	_ov511_configure.compress_511(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_write_regvals
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ov51x_upload_quan_tables       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ov511_configure.init_511
_ov511_configure.init_511:
	.long	129                             ## 0x81
	.long	127                             ## 0x7f
	.long	130                             ## 0x82
	.long	1                               ## 0x1
	.long	129                             ## 0x81
	.long	127                             ## 0x7f
	.long	130                             ## 0x82
	.long	1                               ## 0x1
	.long	129                             ## 0x81
	.long	63                              ## 0x3f
	.long	130                             ## 0x82
	.long	1                               ## 0x1
	.long	129                             ## 0x81
	.long	61                              ## 0x3d

	.p2align	4                               ## @ov511_configure.norm_511
_ov511_configure.norm_511:
	.long	132                             ## 0x84
	.long	1                               ## 0x1
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	2                               ## 0x2
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	131                             ## 0x83
	.long	31                              ## 0x1f
	.long	134                             ## 0x86
	.long	0                               ## 0x0
	.long	133                             ## 0x85
	.long	3                               ## 0x3

	.p2align	4                               ## @ov511_configure.norm_511_p
_ov511_configure.norm_511_p:
	.long	132                             ## 0x84
	.long	255                             ## 0xff
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	2                               ## 0x2
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	131                             ## 0x83
	.long	255                             ## 0xff
	.long	134                             ## 0x86
	.long	0                               ## 0x0
	.long	133                             ## 0x85
	.long	3                               ## 0x3

	.p2align	4                               ## @ov511_configure.compress_511
_ov511_configure.compress_511:
	.long	112                             ## 0x70
	.long	31                              ## 0x1f
	.long	113                             ## 0x71
	.long	5                               ## 0x5
	.long	114                             ## 0x72
	.long	6                               ## 0x6
	.long	115                             ## 0x73
	.long	6                               ## 0x6
	.long	116                             ## 0x74
	.long	20                              ## 0x14
	.long	117                             ## 0x75
	.long	3                               ## 0x3
	.long	118                             ## 0x76
	.long	4                               ## 0x4
	.long	119                             ## 0x77
	.long	4                               ## 0x4

	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Device custom id %x\n"

	.comm	_R51x_SYS_CUST_ID,4,2           ## @R51x_SYS_CUST_ID
	.no_dead_strip	_ov511_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov511_configure
_ov511_configure:                       ; @ov511_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	x8, _D_PROBE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_PROBE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _R51x_SYS_CUST_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _R51x_SYS_CUST_ID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_reg_r
	mov	x3, x0
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_gspca_dbg
Lloh8:
	adrp	x20, _ov511_configure.init_511@PAGE
Lloh9:
	add	x20, x20, _ov511_configure.init_511@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_write_regvals
	ldr	w8, [x19]
	cmp	w8, #136
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #135
	b.ne	LBB0_5
; %bb.2:
Lloh10:
	adrp	x20, _ov511_configure.norm_511_p@PAGE
Lloh11:
	add	x20, x20, _ov511_configure.norm_511_p@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh12:
	adrp	x20, _ov511_configure.norm_511@PAGE
Lloh13:
	add	x20, x20, _ov511_configure.norm_511@PAGEOFF
LBB0_4:
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_write_regvals
LBB0_5:
Lloh14:
	adrp	x20, _ov511_configure.compress_511@PAGE
Lloh15:
	add	x20, x20, _ov511_configure.compress_511@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_write_regvals
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ov51x_upload_quan_tables
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ov511_configure.init_511
_ov511_configure.init_511:
	.long	129                             ; 0x81
	.long	127                             ; 0x7f
	.long	130                             ; 0x82
	.long	1                               ; 0x1
	.long	129                             ; 0x81
	.long	127                             ; 0x7f
	.long	130                             ; 0x82
	.long	1                               ; 0x1
	.long	129                             ; 0x81
	.long	63                              ; 0x3f
	.long	130                             ; 0x82
	.long	1                               ; 0x1
	.long	129                             ; 0x81
	.long	61                              ; 0x3d

	.p2align	2                               ; @ov511_configure.norm_511
_ov511_configure.norm_511:
	.long	132                             ; 0x84
	.long	1                               ; 0x1
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	2                               ; 0x2
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	131                             ; 0x83
	.long	31                              ; 0x1f
	.long	134                             ; 0x86
	.long	0                               ; 0x0
	.long	133                             ; 0x85
	.long	3                               ; 0x3

	.p2align	2                               ; @ov511_configure.norm_511_p
_ov511_configure.norm_511_p:
	.long	132                             ; 0x84
	.long	255                             ; 0xff
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	2                               ; 0x2
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	131                             ; 0x83
	.long	255                             ; 0xff
	.long	134                             ; 0x86
	.long	0                               ; 0x0
	.long	133                             ; 0x85
	.long	3                               ; 0x3

	.p2align	2                               ; @ov511_configure.compress_511
_ov511_configure.compress_511:
	.long	112                             ; 0x70
	.long	31                              ; 0x1f
	.long	113                             ; 0x71
	.long	5                               ; 0x5
	.long	114                             ; 0x72
	.long	6                               ; 0x6
	.long	115                             ; 0x73
	.long	6                               ; 0x6
	.long	116                             ; 0x74
	.long	20                              ; 0x14
	.long	117                             ; 0x75
	.long	3                               ; 0x3
	.long	118                             ; 0x76
	.long	4                               ; 0x4
	.long	119                             ; 0x77
	.long	4                               ; 0x4

	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Device custom id %x\n"

	.comm	_R51x_SYS_CUST_ID,4,2           ; @R51x_SYS_CUST_ID
	.no_dead_strip	_ov511_configure
.subsections_via_symbols
