	.file	"extr_imx_i2c.c_i2c_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	i2c_start, @function
i2c_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	device_get_softc@PLT
	mov	edx, r13d
	mov	esi, r12d
	mov	edi, ebp
	mov	r14, rax
	call	i2c_start_ll@PLT
	test	eax, eax
	jne	.L8
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR I2C_CONTROL_REG[rip]
	xor	edx, edx
	mov	rdi, r14
	call	i2c_write_reg@PLT
	mov	rdi, r14
	call	i2c_recover_bus@PLT
	test	eax, eax
	jne	.L1
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edx, r13d
	mov	esi, r12d
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	i2c_start_ll@PLT
	.cfi_endproc
.LFE0:
	.size	i2c_start, .-i2c_start
	.comm	I2C_CONTROL_REG,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_imx_i2c.c_i2c_start.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2c_start, %function
i2c_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r2
	mov	r4, r0
	bl	device_get_softc
	mov	r2, r6
	mov	r7, r0
	mov	r1, r5
	mov	r0, r4
	bl	i2c_start_ll
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L8
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r7
	bl	i2c_write_reg
	mov	r0, r7
	bl	i2c_recover_bus
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	i2c_start_ll
.L9:
	.align	2
.L8:
	.word	I2C_CONTROL_REG
	.size	i2c_start, .-i2c_start
	.comm	I2C_CONTROL_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
