	.file	"extr_if_axgbe.c_axgbe_media_status.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	axgbe_media_status, @function
axgbe_media_status:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR [rdi]
	mov	eax, DWORD PTR IFM_AVALID[rip]
	mov	ecx, DWORD PTR 12[rdx]
	mov	DWORD PTR 4[rsi], eax
	test	ecx, ecx
	je	.L1
	or	eax, DWORD PTR IFM_ACTIVE[rip]
	mov	ecx, DWORD PTR IFM_ETHER[rip]
	mov	DWORD PTR 4[rsi], eax
	mov	eax, DWORD PTR IFM_HDX[rip]
	mov	rdi, QWORD PTR DUPLEX_FULL[rip]
	or	eax, ecx
	cmp	QWORD PTR [rdx], rdi
	je	.L9
	mov	edx, DWORD PTR 8[rdx]
	mov	DWORD PTR [rsi], eax
	cmp	edx, 129
	je	.L5
.L11:
	cmp	edx, 130
	je	.L6
	cmp	edx, 128
	je	.L10
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR IFM_FDX[rip]
	mov	edx, DWORD PTR 8[rdx]
	or	eax, ecx
	mov	DWORD PTR [rsi], eax
	cmp	edx, 129
	jne	.L11
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	or	eax, DWORD PTR IFM_2500_KX[rip]
	mov	DWORD PTR [rsi], eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	or	eax, DWORD PTR IFM_1000_KX[rip]
	mov	DWORD PTR [rsi], eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	or	eax, DWORD PTR IFM_10G_KR[rip]
	mov	DWORD PTR [rsi], eax
	ret
	.cfi_endproc
.LFE0:
	.size	axgbe_media_status, .-axgbe_media_status
	.comm	IFM_HDX,4,4
	.comm	IFM_FDX,4,4
	.comm	IFM_ETHER,4,4
	.comm	IFM_AVALID,4,4
	.comm	IFM_ACTIVE,4,4
	.comm	IFM_2500_KX,4,4
	.comm	IFM_10G_KR,4,4
	.comm	IFM_1000_KX,4,4
	.comm	DUPLEX_FULL,8,8
	.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_if_axgbe.c_axgbe_media_status.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	axgbe_media_status, %function
axgbe_media_status:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	ldr	r2, .L16
	ldr	r0, [r3, #8]
	ldr	r2, [r2]
	cmp	r0, #0
	str	r2, [r1, #4]
	bxeq	lr
	ldr	r0, .L16+4
	ldr	ip, .L16+8
	ldr	r0, [r0]
	ldr	ip, [ip]
	str	lr, [sp, #-4]!
	ldr	lr, [r3]
	orr	r2, r0, r2
	ldr	r0, .L16+12
	cmp	lr, ip
	str	r2, [r1, #4]
	ldr	r2, [r0]
	ldreq	r0, .L16+16
	ldrne	r0, .L16+20
	ldr	r3, [r3, #4]
	ldr	r0, [r0]
	cmp	r3, #129
	orr	r2, r2, r0
	str	r2, [r1]
	beq	.L5
	cmp	r3, #130
	beq	.L6
	cmp	r3, #128
	ldreq	r3, .L16+24
	ldreq	r3, [r3]
	orreq	r2, r3, r2
	streq	r2, [r1]
	ldr	pc, [sp], #4
.L6:
	ldr	r3, .L16+28
	ldr	r3, [r3]
	orr	r2, r3, r2
	str	r2, [r1]
	ldr	pc, [sp], #4
.L5:
	ldr	r3, .L16+32
	ldr	r3, [r3]
	orr	r2, r3, r2
	str	r2, [r1]
	ldr	pc, [sp], #4
.L17:
	.align	2
.L16:
	.word	IFM_AVALID
	.word	IFM_ACTIVE
	.word	DUPLEX_FULL
	.word	IFM_ETHER
	.word	IFM_FDX
	.word	IFM_HDX
	.word	IFM_2500_KX
	.word	IFM_1000_KX
	.word	IFM_10G_KR
	.size	axgbe_media_status, .-axgbe_media_status
	.comm	IFM_HDX,4,4
	.comm	IFM_FDX,4,4
	.comm	IFM_ETHER,4,4
	.comm	IFM_AVALID,4,4
	.comm	IFM_ACTIVE,4,4
	.comm	IFM_2500_KX,4,4
	.comm	IFM_10G_KR,4,4
	.comm	IFM_1000_KX,4,4
	.comm	DUPLEX_FULL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
