	.file	"extr_e1000_82575.c_igb_init_mac_params_82575.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	igb_init_mac_params_82575, @function
igb_init_mac_params_82575:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	edx, edx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 32[rdi]
	cmp	rax, QWORD PTR e1000_82575[rip]
	mov	DWORD PTR 24[rdi], 128
	setne	dl
	sal	edx, 7
	mov	DWORD PTR 28[rdi], edx
	cmp	rax, 130
	je	.L3
	jg	.L4
	lea	rdx, -128[rax]
	cmp	rdx, 1
	ja	.L24
	mov	ecx, DWORD PTR E1000_RAR_ENTRIES_I350[rip]
	mov	DWORD PTR 68[rdi], ecx
.L9:
	mov	ecx, DWORD PTR igb_reset_hw_82575[rip]
	movsx	rbp, DWORD PTR e1000_i210[rip]
	mov	DWORD PTR 64[rbx], ecx
	cmp	rax, rbp
	jl	.L11
.L26:
	mov	eax, DWORD PTR igb_acquire_swfw_sync_i210[rip]
	mov	DWORD PTR 60[rbx], eax
	mov	eax, DWORD PTR igb_release_swfw_sync_i210[rip]
	mov	DWORD PTR 56[rbx], eax
.L12:
	cmp	rdx, 2
	mov	eax, DWORD PTR igb_write_vfta_i350[rip]
	cmovnb	eax, DWORD PTR igb_write_vfta[rip]
	mov	DWORD PTR 40[rbx], 1
	mov	edi, DWORD PTR E1000_FWSM[rip]
	mov	DWORD PTR 52[rbx], eax
	call	rd32@PLT
	test	DWORD PTR E1000_FWSM_MODE_MASK[rip], eax
	setne	al
	xor	edx, edx
	movzx	eax, al
	mov	DWORD PTR 44[rbx], eax
	mov	rax, QWORD PTR 32[rbx]
	cmp	rax, 128
	setle	dl
	mov	DWORD PTR 4[rbx], edx
	cmp	rbp, rax
	jg	.L15
	mov	DWORD PTR 8[rbx], 1
.L15:
	mov	edx, DWORD PTR igb_setup_serdes_link_82575[rip]
	mov	rsi, QWORD PTR e1000_media_type_copper[rip]
	cmp	QWORD PTR 16[rbx], rsi
	jne	.L17
	mov	edx, DWORD PTR igb_setup_copper_link_82575[rip]
.L17:
	sub	rax, 129
	mov	DWORD PTR 48[rbx], edx
	cmp	rax, 1
	jbe	.L25
.L20:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmp	rax, 131
	jne	.L7
	mov	edx, DWORD PTR E1000_RAR_ENTRIES_82576[rip]
	mov	DWORD PTR 68[rdi], edx
.L8:
	mov	ecx, DWORD PTR igb_reset_hw_82580[rip]
	lea	rdx, -128[rax]
.L27:
	movsx	rbp, DWORD PTR e1000_i210[rip]
	mov	DWORD PTR 64[rbx], ecx
	cmp	rax, rbp
	jge	.L26
.L11:
	mov	eax, DWORD PTR igb_acquire_swfw_sync_82575[rip]
	mov	DWORD PTR 60[rbx], eax
	mov	eax, DWORD PTR igb_release_swfw_sync_82575[rip]
	mov	DWORD PTR 56[rbx], eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L25:
	mov	eax, DWORD PTR [rbx]
	sub	eax, 132
	cmp	eax, 3
	jbe	.L20
	mov	DWORD PTR 12[rbx], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	ecx, DWORD PTR E1000_RAR_ENTRIES_82575[rip]
	mov	DWORD PTR 68[rdi], ecx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR E1000_RAR_ENTRIES_82580[rip]
	mov	ecx, DWORD PTR igb_reset_hw_82580[rip]
	mov	DWORD PTR 68[rdi], edx
	lea	rdx, -128[rax]
	jmp	.L27
.L7:
	mov	edx, DWORD PTR E1000_RAR_ENTRIES_82575[rip]
	mov	DWORD PTR 68[rdi], edx
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	igb_init_mac_params_82575, .-igb_init_mac_params_82575
	.comm	igb_write_vfta_i350,4,4
	.comm	igb_write_vfta,4,4
	.comm	igb_setup_serdes_link_82575,4,4
	.comm	igb_setup_copper_link_82575,4,4
	.comm	igb_reset_hw_82580,4,4
	.comm	igb_reset_hw_82575,4,4
	.comm	igb_release_swfw_sync_i210,4,4
	.comm	igb_release_swfw_sync_82575,4,4
	.comm	igb_acquire_swfw_sync_i210,4,4
	.comm	igb_acquire_swfw_sync_82575,4,4
	.comm	e1000_media_type_copper,8,8
	.comm	e1000_i210,4,4
	.comm	e1000_82575,8,8
	.comm	E1000_RAR_ENTRIES_I350,4,4
	.comm	E1000_RAR_ENTRIES_82580,4,4
	.comm	E1000_RAR_ENTRIES_82576,4,4
	.comm	E1000_RAR_ENTRIES_82575,4,4
	.comm	E1000_FWSM_MODE_MASK,4,4
	.comm	E1000_FWSM,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_82575.c_igb_init_mac_params_82575.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	igb_init_mac_params_82575, %function
igb_init_mac_params_82575:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, #128
	ldr	r2, .L25
	ldr	r3, [r0, #28]
	ldr	r2, [r2]
	push	{r4, r5, r6, lr}
	cmp	r3, r2
	movne	r2, r1
	moveq	r2, #0
	cmp	r3, #130
	mov	r4, r0
	str	r1, [r0, #20]
	str	r2, [r0, #24]
	beq	.L3
	bgt	.L4
	sub	r2, r3, #128
	cmp	r2, #1
	bhi	.L24
	ldr	r1, .L25+4
	ldr	r1, [r1]
	str	r1, [r0, #60]
.L9:
	ldr	r1, .L25+8
	ldr	r0, [r1]
.L10:
	mov	r6, #1
	ldr	r1, .L25+12
	str	r0, [r4, #56]
	ldr	r5, [r1]
	cmp	r3, r5
	ldrge	r3, .L25+16
	ldrlt	r3, .L25+20
	ldrge	r1, .L25+24
	ldrlt	r1, .L25+28
	ldr	r3, [r3]
	ldr	r1, [r1]
	cmp	r2, #1
	str	r3, [r4, #48]
	ldrls	r3, .L25+32
	ldrhi	r3, .L25+36
	str	r1, [r4, #52]
	ldr	r2, [r3]
	ldr	r3, .L25+40
	str	r2, [r4, #44]
	ldr	r0, [r3]
	str	r6, [r4, #32]
	bl	rd32
	ldr	r2, .L25+44
	ldr	r3, [r4, #28]
	ldr	r2, [r2]
	tst	r0, r2
	movne	r1, r6
	moveq	r1, #0
	cmp	r3, #128
	movgt	r2, #0
	movle	r2, #1
	str	r2, [r4, #4]
	ldr	r2, .L25+48
	str	r1, [r4, #36]
	ldr	r2, [r2]
	ldr	r1, [r4, #16]
	cmp	r5, r3
	strle	r6, [r4, #8]
	cmp	r1, r2
	ldreq	r2, .L25+52
	ldrne	r2, .L25+56
	sub	r3, r3, #129
	ldr	r2, [r2]
	cmp	r3, #1
	str	r2, [r4, #40]
	bhi	.L20
	ldr	r3, [r4]
	sub	r3, r3, #132
	cmp	r3, #3
	movhi	r3, #1
	strhi	r3, [r4, #12]
.L20:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L4:
	cmp	r3, #131
	bne	.L7
	ldr	r2, .L25+60
	ldr	r2, [r2]
	str	r2, [r0, #60]
.L8:
	ldr	r1, .L25+64
	sub	r2, r3, #128
	ldr	r0, [r1]
	b	.L10
.L24:
	ldr	r1, .L25+68
	ldr	r1, [r1]
	str	r1, [r0, #60]
	b	.L9
.L3:
	ldr	r2, .L25+72
	ldr	r1, .L25+64
	ldr	r2, [r2]
	str	r2, [r0, #60]
	ldr	r0, [r1]
	sub	r2, r3, #128
	b	.L10
.L7:
	ldr	r2, .L25+68
	ldr	r2, [r2]
	str	r2, [r0, #60]
	b	.L8
.L26:
	.align	2
.L25:
	.word	e1000_82575
	.word	E1000_RAR_ENTRIES_I350
	.word	igb_reset_hw_82575
	.word	e1000_i210
	.word	igb_release_swfw_sync_i210
	.word	igb_release_swfw_sync_82575
	.word	igb_acquire_swfw_sync_i210
	.word	igb_acquire_swfw_sync_82575
	.word	igb_write_vfta_i350
	.word	igb_write_vfta
	.word	E1000_FWSM
	.word	E1000_FWSM_MODE_MASK
	.word	e1000_media_type_copper
	.word	igb_setup_copper_link_82575
	.word	igb_setup_serdes_link_82575
	.word	E1000_RAR_ENTRIES_82576
	.word	igb_reset_hw_82580
	.word	E1000_RAR_ENTRIES_82575
	.word	E1000_RAR_ENTRIES_82580
	.size	igb_init_mac_params_82575, .-igb_init_mac_params_82575
	.comm	igb_write_vfta_i350,4,4
	.comm	igb_write_vfta,4,4
	.comm	igb_setup_serdes_link_82575,4,4
	.comm	igb_setup_copper_link_82575,4,4
	.comm	igb_reset_hw_82580,4,4
	.comm	igb_reset_hw_82575,4,4
	.comm	igb_release_swfw_sync_i210,4,4
	.comm	igb_release_swfw_sync_82575,4,4
	.comm	igb_acquire_swfw_sync_i210,4,4
	.comm	igb_acquire_swfw_sync_82575,4,4
	.comm	e1000_media_type_copper,4,4
	.comm	e1000_i210,4,4
	.comm	e1000_82575,4,4
	.comm	E1000_RAR_ENTRIES_I350,4,4
	.comm	E1000_RAR_ENTRIES_82580,4,4
	.comm	E1000_RAR_ENTRIES_82576,4,4
	.comm	E1000_RAR_ENTRIES_82575,4,4
	.comm	E1000_FWSM_MODE_MASK,4,4
	.comm	E1000_FWSM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
