	.file	"extr_e1000_82575.c_e1000_get_pcs_speed_and_duplex_82575.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"e1000_get_pcs_speed_and_duplex_82575"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"2500 Mbs, "
.LC2:
	.string	"Full Duplex\n"
	.text
	.p2align 4
	.type	e1000_get_pcs_speed_and_duplex_82575, @function
e1000_get_pcs_speed_and_duplex_82575:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	call	DEBUGFUNC@PLT
	mov	esi, DWORD PTR E1000_PCS_LSTAT[rip]
	mov	rdi, rbp
	call	E1000_READ_REG@PLT
	test	DWORD PTR E1000_PCS_LSTS_LINK_OK[rip], eax
	je	.L2
	mov	edx, DWORD PTR TRUE[rip]
	mov	DWORD PTR 8[rbp], edx
	test	DWORD PTR E1000_PCS_LSTS_SPEED_1000[rip], eax
	je	.L3
	mov	rdx, QWORD PTR SPEED_1000[rip]
	mov	QWORD PTR [r12], rdx
.L4:
	test	DWORD PTR E1000_PCS_LSTS_DUPLEX_FULL[rip], eax
	mov	rax, QWORD PTR FULL_DUPLEX[rip]
	cmove	rax, QWORD PTR HALF_DUPLEX[rip]
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR e1000_i354[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L9
	mov	esi, DWORD PTR E1000_STATUS[rip]
	mov	rdi, rbp
	call	E1000_READ_REG@PLT
	test	DWORD PTR E1000_STATUS_2P5_SKU[rip], eax
	je	.L9
	test	DWORD PTR E1000_STATUS_2P5_SKU_OVER[rip], eax
	jne	.L9
	mov	rax, QWORD PTR SPEED_2500[rip]
	lea	rdi, .LC1[rip]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR FULL_DUPLEX[rip]
	mov	QWORD PTR [rbx], rax
	call	DEBUGOUT@PLT
	lea	rdi, .LC2[rip]
	call	DEBUGOUT@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR FALSE[rip]
	mov	DWORD PTR 8[rbp], eax
	mov	QWORD PTR [r12], 0
	mov	QWORD PTR [rbx], 0
.L9:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR E1000_SUCCESS[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	test	DWORD PTR E1000_PCS_LSTS_SPEED_100[rip], eax
	je	.L5
	mov	rdx, QWORD PTR SPEED_100[rip]
	mov	QWORD PTR [r12], rdx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, QWORD PTR SPEED_10[rip]
	mov	QWORD PTR [r12], rdx
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	e1000_get_pcs_speed_and_duplex_82575, .-e1000_get_pcs_speed_and_duplex_82575
	.comm	e1000_i354,8,8
	.comm	TRUE,4,4
	.comm	SPEED_2500,8,8
	.comm	SPEED_1000,8,8
	.comm	SPEED_100,8,8
	.comm	SPEED_10,8,8
	.comm	HALF_DUPLEX,8,8
	.comm	FULL_DUPLEX,8,8
	.comm	FALSE,4,4
	.comm	E1000_SUCCESS,4,4
	.comm	E1000_STATUS_2P5_SKU_OVER,4,4
	.comm	E1000_STATUS_2P5_SKU,4,4
	.comm	E1000_STATUS,4,4
	.comm	E1000_PCS_LSTS_SPEED_1000,4,4
	.comm	E1000_PCS_LSTS_SPEED_100,4,4
	.comm	E1000_PCS_LSTS_LINK_OK,4,4
	.comm	E1000_PCS_LSTS_DUPLEX_FULL,4,4
	.comm	E1000_PCS_LSTAT,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_e1000_get_pcs_speed_and_duplex_82575.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"e1000_get_pcs_speed_and_duplex_82575\000"
	.align	2
.LC1:
	.ascii	"2500 Mbs, \000"
	.align	2
.LC2:
	.ascii	"Full Duplex\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_get_pcs_speed_and_duplex_82575, %function
e1000_get_pcs_speed_and_duplex_82575:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, .L17
	mov	r6, r1
	mov	r5, r2
	bl	DEBUGFUNC
	ldr	r3, .L17+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	E1000_READ_REG
	ldr	r3, .L17+8
	ldr	r3, [r3]
	ands	r3, r0, r3
	beq	.L2
	ldr	r2, .L17+12
	ldr	r3, .L17+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r0, r2
	str	r3, [r4, #4]
	bne	.L16
	ldr	r3, .L17+20
	ldr	r3, [r3]
	tst	r0, r3
	ldrne	r3, .L17+24
	ldreq	r3, .L17+28
	ldr	r3, [r3]
	str	r3, [r6]
.L4:
	ldr	r3, .L17+32
	ldr	r3, [r3]
	tst	r0, r3
	ldrne	r3, .L17+36
	ldreq	r3, .L17+40
	ldr	r2, [r3]
	ldr	r3, .L17+44
	str	r2, [r5]
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L9
	ldr	r3, .L17+48
	mov	r0, r4
	ldr	r1, [r3]
	bl	E1000_READ_REG
	ldr	r3, .L17+52
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L9
	ldr	r3, .L17+56
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L9
	ldr	r2, .L17+60
	ldr	r3, .L17+36
	ldr	r2, [r2]
	ldr	r0, .L17+64
	str	r2, [r6]
	ldr	r3, [r3]
	str	r3, [r5]
	bl	DEBUGOUT
	ldr	r0, .L17+68
	bl	DEBUGOUT
	b	.L9
.L2:
	ldr	r2, .L17+72
	ldr	r2, [r2]
	str	r2, [r4, #4]
	str	r3, [r6]
	str	r3, [r5]
.L9:
	ldr	r3, .L17+76
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L16:
	ldr	r3, .L17+80
	ldr	r3, [r3]
	str	r3, [r6]
	b	.L4
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	E1000_PCS_LSTAT
	.word	E1000_PCS_LSTS_LINK_OK
	.word	E1000_PCS_LSTS_SPEED_1000
	.word	TRUE
	.word	E1000_PCS_LSTS_SPEED_100
	.word	SPEED_100
	.word	SPEED_10
	.word	E1000_PCS_LSTS_DUPLEX_FULL
	.word	FULL_DUPLEX
	.word	HALF_DUPLEX
	.word	e1000_i354
	.word	E1000_STATUS
	.word	E1000_STATUS_2P5_SKU
	.word	E1000_STATUS_2P5_SKU_OVER
	.word	SPEED_2500
	.word	.LC1
	.word	.LC2
	.word	FALSE
	.word	E1000_SUCCESS
	.word	SPEED_1000
	.size	e1000_get_pcs_speed_and_duplex_82575, .-e1000_get_pcs_speed_and_duplex_82575
	.comm	e1000_i354,4,4
	.comm	TRUE,4,4
	.comm	SPEED_2500,4,4
	.comm	SPEED_1000,4,4
	.comm	SPEED_100,4,4
	.comm	SPEED_10,4,4
	.comm	HALF_DUPLEX,4,4
	.comm	FULL_DUPLEX,4,4
	.comm	FALSE,4,4
	.comm	E1000_SUCCESS,4,4
	.comm	E1000_STATUS_2P5_SKU_OVER,4,4
	.comm	E1000_STATUS_2P5_SKU,4,4
	.comm	E1000_STATUS,4,4
	.comm	E1000_PCS_LSTS_SPEED_1000,4,4
	.comm	E1000_PCS_LSTS_SPEED_100,4,4
	.comm	E1000_PCS_LSTS_LINK_OK,4,4
	.comm	E1000_PCS_LSTS_DUPLEX_FULL,4,4
	.comm	E1000_PCS_LSTAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
