	.file	"extr_e1000_phy.c_igb_write_phy_reg_igp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	igb_write_phy_reg_igp
	.type	igb_write_phy_reg_igp, @function
igb_write_phy_reg_igp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rdi]
	test	rax, rax
	je	.L4
	mov	rbx, rdi
	mov	ebp, esi
	mov	r13d, edx
	call	rax
	mov	r12, rax
	test	rax, rax
	jne	.L1
	cmp	DWORD PTR MAX_PHY_MULTI_PAGE_REG[rip], ebp
	jl	.L11
.L3:
	mov	esi, DWORD PTR MAX_PHY_REG_ADDRESS[rip]
	mov	edx, r13d
	mov	rdi, rbx
	and	esi, ebp
	call	igb_write_phy_reg_mdic@PLT
	mov	r12, rax
.L9:
	mov	rdi, rbx
	call	[QWORD PTR [rbx]]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR IGP01E1000_PHY_PAGE_SELECT[rip]
	mov	edx, ebp
	mov	rdi, rbx
	call	igb_write_phy_reg_mdic@PLT
	mov	r12, rax
	test	rax, rax
	je	.L3
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L4:
.L2:
	endbr64
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	r12d, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	igb_write_phy_reg_igp, .-igb_write_phy_reg_igp
	.comm	MAX_PHY_REG_ADDRESS,4,4
	.comm	MAX_PHY_MULTI_PAGE_REG,4,4
	.comm	IGP01E1000_PHY_PAGE_SELECT,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_e1000_phy.c_igb_write_phy_reg_igp.c"
	.text
	.align	2
	.global	igb_write_phy_reg_igp
	.syntax unified
	.arm
	.fpu softvfp
	.type	igb_write_phy_reg_igp, %function
igb_write_phy_reg_igp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
.L2:
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	moveq	r4, r3
	beq	.L1
	mov	r5, r0
	mov	r6, r1
	mov	r7, r2
	blx	r3
	subs	r4, r0, #0
	bne	.L1
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, r6
	bge	.L3
	ldr	r3, .L11+4
	mov	r2, r6
	mov	r0, r5
	ldr	r1, [r3]
	bl	igb_write_phy_reg_mdic
	subs	r4, r0, #0
	bne	.L10
.L3:
	ldr	r3, .L11+8
	mov	r2, r7
	ldr	r1, [r3]
	mov	r0, r5
	and	r1, r1, r6
	bl	igb_write_phy_reg_mdic
	ldr	r2, [r5]
	mov	r4, r0
	mov	r0, r5
	blx	r2
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r0, r5
	ldr	r3, [r5]
	blx	r3
	b	.L1
.L12:
	.align	2
.L11:
	.word	MAX_PHY_MULTI_PAGE_REG
	.word	IGP01E1000_PHY_PAGE_SELECT
	.word	MAX_PHY_REG_ADDRESS
	.size	igb_write_phy_reg_igp, .-igb_write_phy_reg_igp
	.comm	MAX_PHY_REG_ADDRESS,4,4
	.comm	MAX_PHY_MULTI_PAGE_REG,4,4
	.comm	IGP01E1000_PHY_PAGE_SELECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
