	.file	"extr_omap24xxcam.c_omap24xxcam_sensor_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"sensor interface could not be enabled at initialisation, %d\n"
	.align 8
.LC1:
	.string	"cannot initialize sensor, error %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"sensor is %s\n"
	.text
	.p2align 4
	.type	omap24xxcam_sensor_init, @function
omap24xxcam_sensor_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	r13, QWORD PTR 8[rdi]
	call	omap24xxcam_clock_on@PLT
	mov	rdi, rbp
	call	omap24xxcam_sensor_if_enable@PLT
	test	eax, eax
	jne	.L7
	mov	esi, 1
	mov	rdi, r13
	call	vidioc_int_s_power@PLT
	mov	rdi, r13
	call	vidioc_int_dev_init@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	mov	edx, DWORD PTR 0[r13]
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC2[rip]
	call	dev_info@PLT
.L3:
	mov	rdi, rbp
	call	omap24xxcam_sensor_if_disable@PLT
	mov	rdi, rbp
	call	omap24xxcam_clock_off@PLT
	mov	rdi, r13
	xor	esi, esi
	call	vidioc_int_s_power@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, eax
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	mov	QWORD PTR 8[rbp], 0
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	mov	r12d, eax
	call	dev_err@PLT
	mov	QWORD PTR 8[rbp], 0
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	omap24xxcam_sensor_init, .-omap24xxcam_sensor_init
	.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_omap24xxcam.c_omap24xxcam_sensor_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sensor interface could not be enabled at initialisa"
	.ascii	"tion, %d\012\000"
	.align	2
.LC1:
	.ascii	"cannot initialize sensor, error %d\012\000"
	.align	2
.LC2:
	.ascii	"sensor is %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	omap24xxcam_sensor_init, %function
omap24xxcam_sensor_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r6, [r0, #4]
	bl	omap24xxcam_clock_on
	mov	r0, r4
	bl	omap24xxcam_sensor_if_enable
	subs	r5, r0, #0
	bne	.L7
	mov	r1, #1
	mov	r0, r6
	bl	vidioc_int_s_power
	mov	r0, r6
	bl	vidioc_int_dev_init
	subs	r5, r0, #0
	bne	.L8
	ldr	r2, [r6]
	ldr	r1, .L9
	ldr	r0, [r4]
	bl	dev_info
.L3:
	mov	r0, r4
	bl	omap24xxcam_sensor_if_disable
	mov	r0, r4
	bl	omap24xxcam_clock_off
	mov	r0, r6
	mov	r1, #0
	bl	vidioc_int_s_power
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	mov	r2, r5
	ldr	r1, .L9+4
	ldr	r0, [r4]
	bl	dev_err
	mov	r3, #0
	str	r3, [r4, #4]
	b	.L3
.L7:
	mov	r2, r5
	ldr	r1, .L9+8
	ldr	r0, [r4]
	bl	dev_err
	mov	r3, #0
	str	r3, [r4, #4]
	b	.L3
.L10:
	.align	2
.L9:
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	omap24xxcam_sensor_init, .-omap24xxcam_sensor_init
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
