	.file	"extr_xgbe-phy-v2.c_xgbe_phy_i2c_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xgbe_phy_i2c_write, @function
xgbe_phy_i2c_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, 1
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r15, rsp
.L2:
	mov	eax, DWORD PTR XGBE_I2C_CMD_WRITE[rip]
	mov	rsi, r15
	mov	rdi, r13
	mov	DWORD PTR [rsp], r12d
	mov	DWORD PTR 4[rsp], ebx
	mov	DWORD PTR 16[rsp], eax
	mov	QWORD PTR 8[rsp], rbp
	call	xgbe_phy_i2c_xfer@PLT
	mov	ecx, eax
	add	ecx, DWORD PTR EAGAIN[rip]
	sete	dl
	and	edx, r14d
	xor	r14d, r14d
	test	dl, dl
	jne	.L2
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xgbe_phy_i2c_write, .-xgbe_phy_i2c_write
	.comm	XGBE_I2C_CMD_WRITE,4,4
	.comm	EAGAIN,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_xgbe-phy-v2.c_xgbe_phy_i2c_write.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xgbe_phy_i2c_write, %function
xgbe_phy_i2c_write:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r3
	ldr	r3, .L8
	sub	sp, sp, #24
	mov	r8, r0
	mov	r7, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r4, #1
	ldr	r10, .L8+4
	ldr	r9, .L8+8
.L2:
	ldr	r3, [r10]
	mov	r0, r8
	add	r1, sp, #4
	str	r3, [sp, #16]
	str	r7, [sp, #4]
	str	r5, [sp, #8]
	str	r6, [sp, #12]
	bl	xgbe_phy_i2c_xfer
	ldr	r3, [r9]
	cmn	r0, r3
	movne	r4, #0
	cmp	r4, #0
	mov	r4, #0
	bne	.L2
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	XGBE_I2C_CMD_WRITE
	.word	EAGAIN
	.size	xgbe_phy_i2c_write, .-xgbe_phy_i2c_write
	.comm	XGBE_I2C_CMD_WRITE,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
