	.file	"extr_enc28j60.c_enc28j60_rx_interrupt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"intRX, pk_cnt: %d\n"
.LC1:
	.string	"RX max_pk_cnt: %d\n"
	.text
	.p2align 4
	.type	enc28j60_rx_interrupt, @function
enc28j60_rx_interrupt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	netdev_priv@PLT
	mov	esi, DWORD PTR EPKTCNT[rip]
	mov	rdi, rax
	mov	rbx, rax
	call	locked_regb_read@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L18
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jns	.L1
.L4:
	mov	DWORD PTR [rbx], r12d
	mov	rdi, rbx
	call	netif_msg_rx_status@PLT
	test	rax, rax
	je	.L5
	mov	ecx, DWORD PTR [rbx]
	cmp	ecx, 1
	jle	.L5
	mov	edi, DWORD PTR KERN_DEBUG[rip]
	lea	rdx, .LC1[rip]
	mov	rsi, rbp
	call	netdev_printk@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	lea	ebx, -1[r12]
	test	r12d, r12d
	jle	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, rbp
	sub	ebx, 1
	call	enc28j60_hw_rx@PLT
	cmp	ebx, -1
	jne	.L8
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, rbx
	call	netif_msg_intr@PLT
	test	rax, rax
	jne	.L19
.L3:
	cmp	DWORD PTR [rbx], r12d
	jge	.L5
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edi, DWORD PTR KERN_DEBUG[rip]
	mov	ecx, r12d
	lea	rdx, .LC0[rip]
	mov	rsi, rbp
	call	netdev_printk@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	enc28j60_rx_interrupt, .-enc28j60_rx_interrupt
	.comm	KERN_DEBUG,4,4
	.comm	EPKTCNT,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_enc28j60.c_enc28j60_rx_interrupt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"intRX, pk_cnt: %d\012\000"
	.align	2
.LC1:
	.ascii	"RX max_pk_cnt: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	enc28j60_rx_interrupt, %function
enc28j60_rx_interrupt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	netdev_priv
	ldr	r3, .L20
	mov	r4, r0
	ldr	r1, [r3]
	bl	locked_regb_read
	subs	r6, r0, #0
	bne	.L18
	ldr	r3, [r4]
	cmp	r3, #0
	bge	.L1
.L4:
	mov	r0, r4
	str	r6, [r4]
	bl	netif_msg_rx_status
	cmp	r0, #0
	beq	.L5
	ldr	r3, [r4]
	cmp	r3, #1
	ble	.L5
	ldr	r2, .L20+4
	mov	r1, r5
	ldr	r0, [r2]
	ldr	r2, .L20+8
	bl	netdev_printk
.L5:
	cmp	r6, #0
	sub	r4, r6, #1
	ble	.L1
.L8:
	mov	r0, r5
	sub	r4, r4, #1
	bl	enc28j60_hw_rx
	cmn	r4, #1
	bne	.L8
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L18:
	mov	r0, r4
	bl	netif_msg_intr
	cmp	r0, #0
	bne	.L19
.L3:
	ldr	r3, [r4]
	cmp	r3, r6
	bge	.L5
	b	.L4
.L19:
	ldr	r2, .L20+4
	mov	r3, r6
	mov	r1, r5
	ldr	r0, [r2]
	ldr	r2, .L20+12
	bl	netdev_printk
	b	.L3
.L21:
	.align	2
.L20:
	.word	EPKTCNT
	.word	KERN_DEBUG
	.word	.LC1
	.word	.LC0
	.size	enc28j60_rx_interrupt, .-enc28j60_rx_interrupt
	.comm	KERN_DEBUG,4,4
	.comm	EPKTCNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
