	.file	"extr_islpci_eth.c_islpci_eth_receive.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Error allocating skb\n"
.LC1:
	.string	"Error mapping DMA address\n"
	.text
	.p2align 4
	.globl	islpci_eth_receive
	.type	islpci_eth_receive, @function
islpci_eth_receive:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	edx, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	r12, QWORD PTR 48[rdi]
	mov	rbx, QWORD PTR 56[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	div	QWORD PTR ISL38XX_CB_RX_QSIZE[rip]
	mov	rax, QWORD PTR 8[r12]
	mov	edi, DWORD PTR 4[rax+rdx*8]
	mov	r15, rdx
	call	le16_to_cpu@PLT
	mov	r14d, eax
	mov	rax, QWORD PTR 32[rbp]
	mov	rax, QWORD PTR [rax+r15*8]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 8[r12]
	mov	edi, DWORD PTR [rax+r15*8]
	call	le32_to_cpu@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 24[rbp]
	mov	ecx, DWORD PTR PCI_DMA_FROMDEVICE[rip]
	sub	rax, QWORD PTR [rdx]
	mov	r13, rax
	mov	rax, QWORD PTR MAX_FRAGMENT_SIZE_RX[rip]
	and	r13d, 3
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR 16[rbp]
	mov	rsi, QWORD PTR [rax+r15*8]
	call	pci_unmap_single@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, r14d
	call	skb_put@PLT
	test	r13, r13
	jne	.L23
.L2:
	cmp	QWORD PTR init_wds[rip], 0
	jne	.L24
.L3:
	xor	edi, edi
	mov	rax, QWORD PTR IW_MODE_MONITOR[rip]
	cmp	QWORD PTR 8[rbp], rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, rbp
	lea	rsi, 8[rsp]
	mov	QWORD PTR 24[rax], rbx
	call	islpci_monitor_rx@PLT
	mov	edi, eax
.L5:
	mov	rax, QWORD PTR 8[rsp]
	mov	edx, DWORD PTR CHECKSUM_NONE[rip]
	mov	DWORD PTR 16[rax], edx
	add	DWORD PTR 4[rbx], 1
	add	DWORD PTR [rbx], r14d
	call	unlikely@PLT
	mov	rdi, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L7
	call	dev_kfree_skb_irq@PLT
	mov	QWORD PTR 8[rsp], 0
.L8:
	add	QWORD PTR 0[rbp], 1
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR MAX_FRAGMENT_SIZE_RX[rip]
	lea	rdi, 2[rax]
	call	dev_alloc_skb@PLT
	xor	edi, edi
	test	rax, rax
	mov	QWORD PTR 8[rsp], rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L25
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR [rdi]
	neg	esi
	and	esi, 3
	call	skb_reserve@PLT
	mov	rax, r13
	xor	edx, edx
	mov	r14, QWORD PTR 16[rbp]
	div	QWORD PTR ISL38XX_CB_RX_QSIZE[rip]
	mov	rax, QWORD PTR 8[rsp]
	mov	rcx, QWORD PTR MAX_FRAGMENT_SIZE_RX[rip]
	mov	edi, DWORD PTR 24[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	r13, rdx
	lea	rbx, 0[0+rdx*8]
	mov	rdx, QWORD PTR 32[rbp]
	add	r14, rbx
	mov	QWORD PTR [rdx+r13*8], rax
	lea	rdx, 2[rcx]
	mov	ecx, DWORD PTR PCI_DMA_FROMDEVICE[rip]
	call	pci_map_single@PLT
	mov	edi, DWORD PTR 24[rbp]
	mov	QWORD PTR [r14], rax
	mov	rax, QWORD PTR 16[rbp]
	mov	rsi, QWORD PTR [rax+r13*8]
	call	pci_dma_mapping_error@PLT
	test	rax, rax
	jne	.L26
	mov	rax, QWORD PTR 16[rbp]
	add	rbx, QWORD PTR 8[r12]
	mov	rdi, QWORD PTR [rax+r13*8]
	call	cpu_to_le32@PLT
	mov	DWORD PTR [rbx], eax
	xor	eax, eax
	call	wmb@PLT
	mov	rax, QWORD PTR [r12]
	mov	esi, 1
	mov	rdx, QWORD PTR ISL38XX_CB_RX_DATA_LQ[rip]
	lea	rdi, [rax+rdx*4]
	call	le32_add_cpu@PLT
.L9:
	mov	rax, QWORD PTR [r12]
	mov	rdx, QWORD PTR ISL38XX_CB_RX_DATA_LQ[rip]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	le32_to_cpu@PLT
	mov	r13, rax
	sub	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR ISL38XX_CB_RX_QSIZE[rip]
	jb	.L13
.L11:
	mov	rdi, rbp
	call	islpci_trigger@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	netif_rx@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR ETH_ALEN[rip]
	mov	rdx, QWORD PTR 8[rsp]
	xor	edi, edi
	add	eax, eax
	mov	rdx, QWORD PTR [rdx]
	cdqe
	cmp	BYTE PTR [rdx+rax], 0
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L28
.L6:
	mov	r13, QWORD PTR 8[rsp]
	mov	rsi, rbx
	mov	rdi, r13
	call	eth_type_trans@PLT
	xor	edi, edi
	mov	DWORD PTR 20[r13], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR SHOW_ERROR_MESSAGES[rip]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	DEBUG@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR [rax]
	mov	edx, DWORD PTR 12[rax]
	lea	rsi, 6[rdi]
	sub	edx, 6
	call	memmove@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR 12[rdi]
	lea	esi, -6[rax]
	call	skb_trim@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, 2
	call	skb_pull@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, 2
	call	skb_put@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edi, DWORD PTR SHOW_ERROR_MESSAGES[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	DEBUG@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	dev_kfree_skb_irq@PLT
	mov	QWORD PTR 8[rsp], 0
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR 40[rbp]
	mov	rdi, rbx
	mov	rcx, QWORD PTR [rax]
	mov	DWORD PTR 16[rsp], 7
	mov	rax, QWORD PTR 8[rcx]
	mov	esi, DWORD PTR [rcx]
	mov	QWORD PTR 24[rsp], rdx
	mov	QWORD PTR 32[rsp], rax
	sub	rax, rdx
	lea	rdx, 16[rsp]
	mov	QWORD PTR 40[rsp], rax
	call	wireless_spy_update@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR ETH_ALEN[rip]
	lea	edx, [rax+rax]
	mov	rax, QWORD PTR [rdi]
	lea	rsi, 4[rax]
	call	skb_copy_from_linear_data@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, 4
	call	skb_pull@PLT
	jmp	.L6
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	islpci_eth_receive, .-islpci_eth_receive
	.comm	init_wds,8,8
	.comm	SHOW_TRACING,4,4
	.comm	SHOW_FUNCTION_CALLS,4,4
	.comm	SHOW_ERROR_MESSAGES,4,4
	.comm	SHOW_BUFFER_CONTENTS,4,4
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	MAX_FRAGMENT_SIZE_RX,8,8
	.comm	IW_MODE_MONITOR,8,8
	.comm	ISL38XX_CB_RX_QSIZE,8,8
	.comm	ISL38XX_CB_RX_DATA_LQ,8,8
	.comm	ETH_ALEN,4,4
	.comm	CHECKSUM_NONE,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_islpci_eth.c_islpci_eth_receive.c"
	.text
	.global	__aeabi_uidivmod
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error allocating skb\012\000"
	.align	2
.LC1:
	.ascii	"Error mapping DMA address\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	islpci_eth_receive
	.syntax unified
	.arm
	.fpu softvfp
	.type	islpci_eth_receive, %function
islpci_eth_receive:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r7, .L32
	ldr	r3, .L32+4
	sub	sp, sp, #36
	ldr	r0, [r0]
	ldr	r1, [r7]
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	__aeabi_uidivmod
	ldr	r6, [r4, #24]
	mov	r5, r1
	ldr	r3, [r6, #4]
	ldr	r9, [r4, #28]
	add	r3, r3, r1, lsl #3
	ldr	r0, [r3, #4]
	bl	le16_to_cpu
	ldr	r3, [r4, #16]
	ldr	r2, [r6, #4]
	ldr	r3, [r3, r5, lsl #2]
	mov	r10, r0
	ldr	r0, [r2, r5, lsl #3]
	str	r3, [sp, #8]
	bl	le32_to_cpu
	ldr	r8, .L32+8
	ldr	r3, [sp, #8]
	ldr	r1, [r4, #8]
	ldr	r3, [r3]
	ldr	r2, [r8]
	ldr	fp, .L32+12
	ldr	r1, [r1, r5, lsl #2]
	add	r2, r2, #2
	sub	r5, r0, r3
	ldr	r3, [fp]
	ldr	r0, [r4, #12]
	bl	pci_unmap_single
	and	r5, r5, #3
	mov	r1, r10
	ldr	r0, [sp, #8]
	bl	skb_put
	cmp	r5, #0
	bne	.L26
.L2:
	ldr	r3, .L32+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
.L3:
	ldr	r3, .L32+20
	ldr	r0, [r4, #4]
	ldr	r3, [r3]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	subs	r5, r0, #0
	beq	.L4
	ldr	r3, [sp, #8]
	mov	r0, r4
	add	r1, sp, #8
	str	r9, [r3, #20]
	bl	islpci_monitor_rx
	mov	r5, r0
.L5:
	ldr	r3, .L32+24
	ldr	r2, [r9, #4]
	ldr	ip, [r3]
	ldr	r3, [r9]
	ldr	r1, [sp, #8]
	add	r2, r2, #1
	add	r10, r3, r10
	str	ip, [r1, #12]
	mov	r0, r5
	str	r2, [r9, #4]
	str	r10, [r9]
	bl	unlikely
	cmp	r0, #0
	ldr	r0, [sp, #8]
	beq	.L7
	bl	dev_kfree_skb_irq
	mov	r3, #0
	str	r3, [sp, #8]
.L8:
	ldr	r3, [r4]
	ldr	r9, .L32+28
	add	r3, r3, #1
	str	r3, [r4]
	b	.L9
.L13:
	ldr	r0, [r8]
	add	r0, r0, #2
	bl	dev_alloc_skb
	mov	r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	str	r3, [sp, #8]
	bl	unlikely
	subs	r3, r0, #0
	str	r3, [sp, #4]
	bne	.L28
	ldr	r0, [sp, #8]
	ldr	r1, [r0]
	rsb	r1, r1, #0
	and	r1, r1, #3
	bl	skb_reserve
	ldr	r1, [r7]
	mov	r0, r5
	bl	__aeabi_uidivmod
	mov	r5, r1
	ldr	r3, [sp, #8]
	ldr	r1, [r4, #16]
	ldr	r2, [r8]
	ldr	r0, [r4, #12]
	str	r3, [r1, r5, lsl #2]
	add	r2, r2, #2
	ldr	r1, [r3]
	ldr	r3, [fp]
	ldr	r10, [r4, #8]
	bl	pci_map_single
	ldr	r3, [r4, #8]
	str	r0, [r10, r5, lsl #2]
	ldr	r1, [r3, r5, lsl #2]
	ldr	r0, [r4, #12]
	bl	pci_dma_mapping_error
	cmp	r0, #0
	bne	.L29
	ldr	r3, [r4, #8]
	ldr	r10, [r6, #4]
	ldr	r0, [r3, r5, lsl #2]
	bl	cpu_to_le32
	str	r0, [r10, r5, lsl #3]
	bl	wmb
	ldr	r0, [r9]
	ldr	r3, [r6]
	mov	r1, #1
	add	r0, r3, r0, lsl #2
	bl	le32_add_cpu
.L9:
	ldr	r2, [r9]
	ldr	r3, [r6]
	ldr	r0, [r3, r2, lsl #2]
	bl	le32_to_cpu
	ldr	r3, [r4]
	ldr	r2, [r7]
	sub	r3, r0, r3
	cmp	r3, r2
	mov	r5, r0
	bcc	.L13
.L11:
	mov	r0, r4
	bl	islpci_trigger
	ldr	r3, .L32+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	mov	r0, #0
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	bl	netif_rx
	b	.L8
.L4:
	ldr	r2, [sp, #8]
	ldr	r3, .L32+32
	ldr	r2, [r2]
	ldr	r1, [r3]
	ldrb	r0, [r2, r1, lsl #1]	@ zero_extendqisi2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L31
.L6:
	ldr	r3, [sp, #8]
	mov	r1, r9
	mov	r0, r3
	str	r3, [sp, #4]
	bl	eth_type_trans
	ldr	r3, [sp, #4]
	str	r0, [r3, #16]
	b	.L5
.L28:
	ldr	r3, .L32+36
	ldr	r1, .L32+40
	ldr	r0, [r3]
	bl	DEBUG
	b	.L11
.L27:
	ldr	r3, [sp, #8]
	ldr	r0, [r3]
	ldr	r2, [r3, #8]
	add	r1, r0, #6
	sub	r2, r2, #6
	bl	memmove
	ldr	r0, [sp, #8]
	ldr	r1, [r0, #8]
	sub	r1, r1, #6
	bl	skb_trim
	b	.L3
.L26:
	mov	r1, #2
	ldr	r0, [sp, #8]
	bl	skb_pull
	mov	r1, #2
	ldr	r0, [sp, #8]
	bl	skb_put
	b	.L2
.L29:
	ldr	r3, .L32+36
	ldr	r1, .L32+44
	ldr	r0, [r3]
	bl	DEBUG
	ldr	r0, [sp, #8]
	bl	dev_kfree_skb_irq
	ldr	r3, [sp, #4]
	str	r3, [sp, #8]
	b	.L11
.L31:
	mov	r2, #7
	ldr	r1, [sp, #8]
	ldr	ip, [r4, #20]
	ldr	r1, [r1]
	str	r2, [sp, #12]
	ldm	r1, {r1, r2}
	sub	r0, r2, ip
	str	r2, [sp, #20]
	str	r0, [sp, #24]
	add	r2, sp, #12
	mov	r0, r9
	str	ip, [sp, #16]
	bl	wireless_spy_update
	ldr	r0, [sp, #8]
	ldr	r3, .L32+32
	ldr	r1, [r0]
	ldr	r2, [r3]
	add	r1, r1, #4
	lsl	r2, r2, #1
	bl	skb_copy_from_linear_data
	mov	r1, #4
	ldr	r0, [sp, #8]
	bl	skb_pull
	b	.L6
.L30:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	ISL38XX_CB_RX_QSIZE
	.word	.LC2
	.word	MAX_FRAGMENT_SIZE_RX
	.word	PCI_DMA_FROMDEVICE
	.word	init_wds
	.word	IW_MODE_MONITOR
	.word	CHECKSUM_NONE
	.word	ISL38XX_CB_RX_DATA_LQ
	.word	ETH_ALEN
	.word	SHOW_ERROR_MESSAGES
	.word	.LC0
	.word	.LC1
	.size	islpci_eth_receive, .-islpci_eth_receive
	.comm	init_wds,4,4
	.comm	SHOW_TRACING,4,4
	.comm	SHOW_FUNCTION_CALLS,4,4
	.comm	SHOW_ERROR_MESSAGES,4,4
	.comm	SHOW_BUFFER_CONTENTS,4,4
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	MAX_FRAGMENT_SIZE_RX,4,4
	.comm	IW_MODE_MONITOR,4,4
	.comm	ISL38XX_CB_RX_QSIZE,4,4
	.comm	ISL38XX_CB_RX_DATA_LQ,4,4
	.comm	ETH_ALEN,4,4
	.comm	CHECKSUM_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
