	.file	"extr_stm32f4x7_eth.c_ETH_GetRxPktSize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ETH_GetRxPktSize
	.type	ETH_GetRxPktSize, @function
ETH_GetRxPktSize:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	mov	edx, DWORD PTR ETH_DMARxDesc_OWN[rip]
	and	edx, eax
	cmp	edx, DWORD PTR RESET[rip]
	je	.L7
.L1:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	ecx, DWORD PTR ETH_DMARxDesc_ES[rip]
	and	ecx, eax
	cmp	edx, ecx
	jne	.L1
	and	eax, DWORD PTR ETH_DMARxDesc_LS[rip]
	cmp	edx, eax
	je	.L1
	jmp	ETH_GetDMARxDescFrameLength@PLT
	.cfi_endproc
.LFE0:
	.size	ETH_GetRxPktSize, .-ETH_GetRxPktSize
	.comm	RESET,8,8
	.comm	ETH_DMARxDesc_OWN,4,4
	.comm	ETH_DMARxDesc_LS,4,4
	.comm	ETH_DMARxDesc_ES,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_stm32f4x7_eth.c_ETH_GetRxPktSize.c"
	.text
	.align	2
	.global	ETH_GetRxPktSize
	.syntax unified
	.arm
	.fpu softvfp
	.type	ETH_GetRxPktSize, %function
ETH_GetRxPktSize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L8
	ldr	r1, .L8+4
	ldr	r2, [r0]
	ldr	r3, [r3]
	ldr	r1, [r1]
	and	r3, r3, r2
	cmp	r3, r1
	beq	.L7
.L1:
	mov	r0, #0
	bx	lr
.L7:
	ldr	r1, .L8+8
	ldr	r1, [r1]
	and	r1, r1, r2
	cmp	r3, r1
	bne	.L1
	ldr	r1, .L8+12
	ldr	r1, [r1]
	and	r2, r2, r1
	cmp	r3, r2
	beq	.L1
	b	ETH_GetDMARxDescFrameLength
.L9:
	.align	2
.L8:
	.word	ETH_DMARxDesc_OWN
	.word	RESET
	.word	ETH_DMARxDesc_ES
	.word	ETH_DMARxDesc_LS
	.size	ETH_GetRxPktSize, .-ETH_GetRxPktSize
	.comm	RESET,4,4
	.comm	ETH_DMARxDesc_OWN,4,4
	.comm	ETH_DMARxDesc_LS,4,4
	.comm	ETH_DMARxDesc_ES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
