	.file	"extr_i2c-omap.c___omap_i2c_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__omap_i2c_init, @function
__omap_i2c_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR OMAP_I2C_CON_REG[rip]
	mov	rbp, rdi
	xor	edx, edx
	call	omap_i2c_write_reg@PLT
	mov	rdx, QWORD PTR 40[rbp]
	mov	esi, DWORD PTR OMAP_I2C_PSC_REG[rip]
	mov	rdi, rbp
	call	omap_i2c_write_reg@PLT
	mov	rdx, QWORD PTR 32[rbp]
	mov	esi, DWORD PTR OMAP_I2C_SCLL_REG[rip]
	mov	rdi, rbp
	call	omap_i2c_write_reg@PLT
	mov	rdx, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR OMAP_I2C_SCLH_REG[rip]
	mov	rdi, rbp
	call	omap_i2c_write_reg@PLT
	mov	rax, QWORD PTR OMAP_I2C_REV_ON_3430_3530[rip]
	cmp	QWORD PTR 0[rbp], rax
	jge	.L6
.L2:
	mov	rdx, QWORD PTR OMAP_I2C_CON_EN[rip]
	mov	esi, DWORD PTR OMAP_I2C_CON_REG[rip]
	mov	rdi, rbp
	call	omap_i2c_write_reg@PLT
	mov	rdx, QWORD PTR 8[rbp]
	test	rdx, rdx
	jne	.L7
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdx, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR OMAP_I2C_WE_REG[rip]
	mov	rdi, rbp
	call	omap_i2c_write_reg@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR OMAP_I2C_IE_REG[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	omap_i2c_write_reg@PLT
	.cfi_endproc
.LFE0:
	.size	__omap_i2c_init, .-__omap_i2c_init
	.comm	OMAP_I2C_WE_REG,4,4
	.comm	OMAP_I2C_SCLL_REG,4,4
	.comm	OMAP_I2C_SCLH_REG,4,4
	.comm	OMAP_I2C_REV_ON_3430_3530,8,8
	.comm	OMAP_I2C_PSC_REG,4,4
	.comm	OMAP_I2C_IE_REG,4,4
	.comm	OMAP_I2C_CON_REG,4,4
	.comm	OMAP_I2C_CON_EN,8,8
	.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_i2c-omap.c___omap_i2c_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__omap_i2c_init, %function
__omap_i2c_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L7
	mov	r2, #0
	ldr	r1, [r5]
	bl	omap_i2c_write_reg
	ldr	r3, .L7+4
	ldr	r2, [r4, #20]
	ldr	r1, [r3]
	mov	r0, r4
	bl	omap_i2c_write_reg
	ldr	r3, .L7+8
	ldr	r2, [r4, #16]
	ldr	r1, [r3]
	mov	r0, r4
	bl	omap_i2c_write_reg
	ldr	r3, .L7+12
	ldr	r2, [r4, #12]
	ldr	r1, [r3]
	mov	r0, r4
	bl	omap_i2c_write_reg
	ldr	r3, .L7+16
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L6
.L2:
	ldr	r3, .L7+20
	mov	r0, r4
	ldr	r2, [r3]
	ldr	r1, [r5]
	bl	omap_i2c_write_reg
	ldr	r2, [r4, #4]
	cmp	r2, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L7+24
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	omap_i2c_write_reg
.L6:
	ldr	r3, .L7+28
	mov	r0, r4
	ldr	r2, [r4, #8]
	ldr	r1, [r3]
	bl	omap_i2c_write_reg
	b	.L2
.L8:
	.align	2
.L7:
	.word	OMAP_I2C_CON_REG
	.word	OMAP_I2C_PSC_REG
	.word	OMAP_I2C_SCLL_REG
	.word	OMAP_I2C_SCLH_REG
	.word	OMAP_I2C_REV_ON_3430_3530
	.word	OMAP_I2C_CON_EN
	.word	OMAP_I2C_IE_REG
	.word	OMAP_I2C_WE_REG
	.size	__omap_i2c_init, .-__omap_i2c_init
	.comm	OMAP_I2C_WE_REG,4,4
	.comm	OMAP_I2C_SCLL_REG,4,4
	.comm	OMAP_I2C_SCLH_REG,4,4
	.comm	OMAP_I2C_REV_ON_3430_3530,4,4
	.comm	OMAP_I2C_PSC_REG,4,4
	.comm	OMAP_I2C_IE_REG,4,4
	.comm	OMAP_I2C_CON_REG,4,4
	.comm	OMAP_I2C_CON_EN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
