	.file	"extr_es2lan.c_e1000_init_mac_params_80003es2lan.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	e1000_init_mac_params_80003es2lan, @function
e1000_init_mac_params_80003es2lan:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rax, QWORD PTR 48[rdi]
	mov	rbx, rdi
	mov	rax, QWORD PTR [rax]
	cmp	DWORD PTR [rax], 128
	je	.L6
	mov	eax, DWORD PTR e1000_media_type_copper[rip]
	mov	DWORD PTR 40[rdi], eax
	mov	eax, DWORD PTR e1000e_check_for_copper_link[rip]
	mov	DWORD PTR 28[rdi], eax
	mov	eax, DWORD PTR e1000_setup_copper_link_80003es2lan[rip]
	mov	DWORD PTR 24[rdi], eax
.L3:
	mov	eax, DWORD PTR E1000_RAR_ENTRIES[rip]
	mov	DWORD PTR 32[rbx], eax
	movabs	rax, 4294967424
	mov	QWORD PTR [rbx], rax
	mov	edi, DWORD PTR FWSM[rip]
	call	er32@PLT
	test	DWORD PTR E1000_FWSM_MODE_MASK[rip], eax
	mov	DWORD PTR 12[rbx], 0
	mov	rdi, rbx
	setne	al
	movzx	eax, al
	mov	DWORD PTR 8[rbx], eax
	call	[QWORD PTR 16[rbx]]
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR e1000_media_type_internal_serdes[rip]
	mov	DWORD PTR 40[rdi], eax
	mov	eax, DWORD PTR e1000e_check_for_serdes_link[rip]
	mov	DWORD PTR 28[rdi], eax
	mov	eax, DWORD PTR e1000e_setup_fiber_serdes_link[rip]
	mov	DWORD PTR 24[rdi], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	e1000_init_mac_params_80003es2lan, .-e1000_init_mac_params_80003es2lan
	.comm	e1000e_setup_fiber_serdes_link,4,4
	.comm	e1000e_check_for_serdes_link,4,4
	.comm	e1000e_check_for_copper_link,4,4
	.comm	e1000_setup_copper_link_80003es2lan,4,4
	.comm	e1000_media_type_internal_serdes,4,4
	.comm	e1000_media_type_copper,4,4
	.comm	FWSM,4,4
	.comm	E1000_RAR_ENTRIES,4,4
	.comm	E1000_FWSM_MODE_MASK,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_es2lan.c_e1000_init_mac_params_80003es2lan.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_init_mac_params_80003es2lan, %function
e1000_init_mac_params_80003es2lan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #36]
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r3, [r3]
	mov	r5, #0
	cmp	r3, #128
	ldreq	r1, .L7
	ldreq	r2, .L7+4
	ldreq	r3, .L7+8
	ldrne	r1, .L7+12
	ldrne	r2, .L7+16
	ldrne	r3, .L7+20
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r1, [r0, #32]
	str	r2, [r0, #24]
	str	r3, [r0, #20]
	mov	r2, #1
	mov	r0, #128
	ldr	r1, .L7+24
	ldr	r3, .L7+28
	ldr	r1, [r1]
	str	r2, [r4, #4]
	str	r0, [r4]
	str	r1, [r4, #28]
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L7+32
	str	r5, [r4, #12]
	ldr	r3, [r3]
	tst	r0, r3
	movne	r2, #1
	moveq	r2, r5
	mov	r0, r4
	ldr	r3, [r4, #16]
	str	r2, [r4, #8]
	blx	r3
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	e1000_media_type_internal_serdes
	.word	e1000e_check_for_serdes_link
	.word	e1000e_setup_fiber_serdes_link
	.word	e1000_media_type_copper
	.word	e1000e_check_for_copper_link
	.word	e1000_setup_copper_link_80003es2lan
	.word	E1000_RAR_ENTRIES
	.word	FWSM
	.word	E1000_FWSM_MODE_MASK
	.size	e1000_init_mac_params_80003es2lan, .-e1000_init_mac_params_80003es2lan
	.comm	e1000e_setup_fiber_serdes_link,4,4
	.comm	e1000e_check_for_serdes_link,4,4
	.comm	e1000e_check_for_copper_link,4,4
	.comm	e1000_setup_copper_link_80003es2lan,4,4
	.comm	e1000_media_type_internal_serdes,4,4
	.comm	e1000_media_type_copper,4,4
	.comm	FWSM,4,4
	.comm	E1000_RAR_ENTRIES,4,4
	.comm	E1000_FWSM_MODE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
