	.file	"extr_ixgbe_phy.c_ixgbe_i2c_bus_clear.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ixgbe_i2c_bus_clear, @function
ixgbe_i2c_bus_clear:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, 9
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r12, 4[rsp]
	call	ixgbe_i2c_start@PLT
	mov	rdi, rbp
	call	IXGBE_I2CCTL@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	IXGBE_READ_REG@PLT
	mov	edx, 1
	mov	rsi, r12
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	call	ixgbe_set_i2c_data@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rsi, r12
	mov	rdi, rbp
	call	ixgbe_raise_i2c_clk@PLT
	mov	edi, DWORD PTR IXGBE_I2C_T_HIGH[rip]
	call	udelay@PLT
	mov	rdi, rbp
	mov	rsi, r12
	call	ixgbe_lower_i2c_clk@PLT
	mov	edi, DWORD PTR IXGBE_I2C_T_LOW[rip]
	call	udelay@PLT
	sub	ebx, 1
	jne	.L2
	mov	rdi, rbp
	call	ixgbe_i2c_start@PLT
	mov	rdi, rbp
	call	ixgbe_i2c_stop@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ixgbe_i2c_bus_clear, .-ixgbe_i2c_bus_clear
	.comm	IXGBE_I2C_T_LOW,4,4
	.comm	IXGBE_I2C_T_HIGH,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_ixgbe_phy.c_ixgbe_i2c_bus_clear.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_i2c_bus_clear, %function
ixgbe_i2c_bus_clear:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	ldr	r3, .L8
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	ixgbe_i2c_start
	mov	r0, r5
	bl	IXGBE_I2CCTL
	mov	r1, r0
	mov	r0, r5
	bl	IXGBE_READ_REG
	mov	r3, r0
	mov	r1, sp
	mov	r0, r5
	mov	r2, #1
	str	r3, [sp]
	mov	r4, #9
	bl	ixgbe_set_i2c_data
	ldr	r7, .L8+4
	ldr	r6, .L8+8
.L2:
	mov	r1, sp
	mov	r0, r5
	bl	ixgbe_raise_i2c_clk
	ldr	r0, [r7]
	bl	udelay
	mov	r1, sp
	mov	r0, r5
	bl	ixgbe_lower_i2c_clk
	ldr	r0, [r6]
	bl	udelay
	subs	r4, r4, #1
	bne	.L2
	mov	r0, r5
	bl	ixgbe_i2c_start
	mov	r0, r5
	bl	ixgbe_i2c_stop
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	IXGBE_I2C_T_HIGH
	.word	IXGBE_I2C_T_LOW
	.size	ixgbe_i2c_bus_clear, .-ixgbe_i2c_bus_clear
	.comm	IXGBE_I2C_T_LOW,4,4
	.comm	IXGBE_I2C_T_HIGH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
