	.file	"extr_ov9640.c_ov9640_video_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Product ID error %x:%x\n"
.LC1:
	.string	"ov9640"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"%s Product ID %0x:%0x Manufacturer ID %x:%x\n"
	.text
	.p2align 4
	.type	ov9640_video_probe, @function
ov9640_video_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	i2c_get_clientdata@PLT
	mov	rdi, rax
	call	to_ov9640_sensor@PLT
	mov	esi, 1
	lea	rbp, 4[rax]
	mov	rbx, rax
	mov	rdi, rbp
	call	ov9640_s_power@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	esi, DWORD PTR OV9640_PID[rip]
	lea	rdx, 8[rsp]
	mov	rdi, r13
	call	ov9640_reg_read@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L11
.L3:
	xor	esi, esi
	mov	rdi, rbp
	call	ov9640_s_power@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR OV9640_VER[rip]
	lea	rdx, 12[rsp]
	mov	rdi, r13
	call	ov9640_reg_read@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
	mov	esi, DWORD PTR OV9640_MIDH[rip]
	lea	rdx, 16[rsp]
	mov	rdi, r13
	call	ov9640_reg_read@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
	mov	esi, DWORD PTR OV9640_MIDL[rip]
	lea	rdx, 20[rsp]
	mov	rdi, r13
	call	ov9640_reg_read@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
	mov	esi, DWORD PTR 12[rsp]
	mov	edi, DWORD PTR 8[rsp]
	call	VERSION@PLT
	cmp	eax, 128
	je	.L4
	cmp	eax, 129
	jne	.L5
	mov	DWORD PTR [rbx], 2
.L6:
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	mov	eax, DWORD PTR 28[rsp]
	push	rax
	.cfi_def_cfa_offset 96
	mov	r9d, DWORD PTR 32[rsp]
	mov	r8d, DWORD PTR 28[rsp]
	mov	ecx, DWORD PTR 24[rsp]
	call	dev_info@PLT
	lea	rdi, 8[rbx]
	call	v4l2_ctrl_handler_setup@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	DWORD PTR [rbx], 3
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, DWORD PTR 12[rsp]
	mov	edx, DWORD PTR 8[rsp]
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ov9640_video_probe, .-ov9640_video_probe
	.comm	OV9640_VER,4,4
	.comm	OV9640_PID,4,4
	.comm	OV9640_MIDL,4,4
	.comm	OV9640_MIDH,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ov9640.c_ov9640_video_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Product ID error %x:%x\012\000"
	.align	2
.LC1:
	.ascii	"ov9640\000"
	.align	2
.LC2:
	.ascii	"%s Product ID %0x:%0x Manufacturer ID %x:%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ov9640_video_probe, %function
ov9640_video_probe:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L12
	sub	sp, sp, #44
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r5, r0
	bl	i2c_get_clientdata
	bl	to_ov9640_sensor
	add	r7, r0, #4
	mov	r6, r0
	mov	r1, #1
	mov	r0, r7
	bl	ov9640_s_power
	subs	r4, r0, #0
	blt	.L1
	ldr	r3, .L12+4
	mov	r0, r5
	ldr	r1, [r3]
	add	r2, sp, #20
	bl	ov9640_reg_read
	subs	r4, r0, #0
	beq	.L10
.L3:
	mov	r0, r7
	mov	r1, #0
	bl	ov9640_s_power
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	ldr	r3, .L12+8
	mov	r0, r5
	ldr	r1, [r3]
	add	r2, sp, #24
	bl	ov9640_reg_read
	subs	r4, r0, #0
	bne	.L3
	ldr	r3, .L12+12
	mov	r0, r5
	ldr	r1, [r3]
	add	r2, sp, #28
	bl	ov9640_reg_read
	subs	r4, r0, #0
	bne	.L3
	ldr	r3, .L12+16
	mov	r0, r5
	ldr	r1, [r3]
	add	r2, sp, #32
	bl	ov9640_reg_read
	subs	r4, r0, #0
	bne	.L3
	ldr	r1, [sp, #24]
	ldr	r0, [sp, #20]
	bl	VERSION
	cmp	r0, #128
	beq	.L4
	cmp	r0, #129
	moveq	r3, #2
	streq	r3, [r6]
	beq	.L6
	ldr	r3, [sp, #24]
	mov	r0, r5
	ldr	r2, [sp, #20]
	ldr	r1, .L12+20
	bl	dev_err
	ldr	r3, .L12+24
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L3
.L4:
	mov	r3, #3
	str	r3, [r6]
.L6:
	ldr	r1, [sp, #32]
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #24]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	ldr	r1, .L12+28
	ldr	r2, .L12+32
	str	r3, [sp]
	mov	r0, r5
	ldr	r3, [sp, #20]
	bl	dev_info
	add	r0, r6, #8
	bl	v4l2_ctrl_handler_setup
	mov	r4, r0
	b	.L3
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	OV9640_PID
	.word	OV9640_VER
	.word	OV9640_MIDH
	.word	OV9640_MIDL
	.word	.LC0
	.word	ENODEV
	.word	.LC2
	.word	.LC1
	.size	ov9640_video_probe, .-ov9640_video_probe
	.comm	OV9640_VER,4,4
	.comm	OV9640_PID,4,4
	.comm	OV9640_MIDL,4,4
	.comm	OV9640_MIDH,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
