	.file	"extr_ov519.c_i2c_r.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	i2c_r, @function
i2c_r:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	mov	eax, DWORD PTR [rax+rsi*4]
	cmp	eax, -1
	jne	.L9
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR 8[rdi]
	cmp	edx, 132
	jg	.L3
	cmp	edx, 129
	jg	.L4
	cmp	edx, 128
	je	.L5
	cmp	edx, 129
	jne	.L1
	call	ovfx2_i2c_r@PLT
.L7:
	test	eax, eax
	js	.L1
	mov	rdx, QWORD PTR [rbx]
	mov	DWORD PTR [rdx+rbp*4], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	sub	edx, 133
	cmp	edx, 1
	ja	.L1
	call	ov511_i2c_r@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -24
	.cfi_offset 6, -16
	call	w9968cf_i2c_r@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	call	ov518_i2c_r@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	i2c_r, .-i2c_r
	.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_ov519.c_i2c_r.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2c_r, %function
i2c_r:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r3, r1, lsl #2]
	cmn	r0, #1
	popne	{r4, r5, r6, pc}
	ldr	r3, [r4, #4]
	mov	r5, r1
	sub	r3, r3, #128
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L3
	.word	.L3
.L5:
	mov	r0, r4
	bl	ov518_i2c_r
	cmp	r0, #0
	poplt	{r4, r5, r6, pc}
.L11:
	ldr	r3, [r4]
	str	r0, [r3, r5, lsl #2]
.L1:
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, r4
	bl	ov511_i2c_r
	cmp	r0, #0
	bge	.L11
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, r4
	bl	w9968cf_i2c_r
	cmp	r0, #0
	bge	.L11
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, r4
	bl	ovfx2_i2c_r
	cmp	r0, #0
	bge	.L11
	pop	{r4, r5, r6, pc}
	.size	i2c_r, .-i2c_r
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
