	.file	"extr_pcie.c_mwifiex_pcie_process_recv_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"RECV DATA: failed to read reg->rx_wrptr\n"
	.align 8
.LC1:
	.string	"Invalid RX len %d, Rd=%#x, Wr=%#x\n"
	.align 8
.LC2:
	.string	"info: RECV DATA: Rd=%#x, Wr=%#x, Len=%d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"Unable to allocate skb.\n"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"RECV DATA: Attach new sk_buff %p at rxbd_rdidx=%d\n"
	.align 8
.LC5:
	.string	"info: RECV DATA: <Rd: %#x, Wr: %#x>\n"
	.align 8
.LC6:
	.string	"RECV DATA: failed to write reg->rx_rdptr\n"
	.align 8
.LC7:
	.string	"info: RECV DATA: Rcvd packet from fw successfully\n"
	.text
	.p2align 4
	.type	mwifiex_pcie_process_recv_data, @function
mwifiex_pcie_process_recv_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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, 40
	.cfi_def_cfa_offset 96
	mov	rbx, QWORD PTR 32[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r13, QWORD PTR 40[rbx]
	call	mwifiex_pcie_ok_to_access_hw@PLT
	test	eax, eax
	je	.L29
.L2:
	mov	esi, DWORD PTR 32[r13]
	lea	rdx, 16[rsp]
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rdx
	call	mwifiex_read_reg@PLT
	test	rax, rax
	je	.L25
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L33:
	mov	r9, QWORD PTR 16[rsp]
	mov	r8, QWORD PTR 8[rbx]
	mov	rdi, rbp
	mov	rcx, r14
	mov	esi, DWORD PTR ERROR[rip]
	lea	rdx, .LC1[rip]
	xor	eax, eax
	call	mwifiex_dbg@PLT
	mov	rdi, r15
	call	dev_kfree_skb_any@PLT
.L9:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, QWORD PTR MWIFIEX_RX_DATA_BUF_SIZE[rip]
	call	mwifiex_alloc_dma_align_buf@PLT
	mov	r14, rax
	test	rax, rax
	je	.L30
	mov	ecx, DWORD PTR PCI_DMA_FROMDEVICE[rip]
	mov	rdx, QWORD PTR MWIFIEX_RX_DATA_BUF_SIZE[rip]
	mov	rsi, rax
	mov	rdi, rbp
	call	mwifiex_map_pci_memory@PLT
	test	rax, rax
	jne	.L20
	mov	rdi, r14
	call	MWIFIEX_SKB_DMA_ADDR@PLT
	mov	r8, r12
	mov	rcx, r14
	mov	rdi, rbp
	mov	esi, DWORD PTR INFO[rip]
	mov	r15, rax
	lea	rdx, .LC4[rip]
	xor	eax, eax
	call	mwifiex_dbg@PLT
	mov	rax, QWORD PTR 32[rbx]
	mov	edx, DWORD PTR [r14]
	cmp	QWORD PTR 40[r13], 0
	mov	QWORD PTR [rax+r12*8], r14
	mov	rax, QWORD PTR 24[rbx]
	mov	rax, QWORD PTR [rax+r12*8]
	mov	QWORD PTR 8[rax], r15
	mov	DWORD PTR 4[rax], edx
	je	.L12
	mov	DWORD PTR 24[rax], edx
	mov	edx, DWORD PTR 16[r13]
	or	edx, DWORD PTR 20[r13]
	mov	QWORD PTR 16[rax], 0
	mov	DWORD PTR [rax], edx
.L13:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 0[r13]
	lea	rcx, 1[rax]
	movsx	rax, DWORD PTR MWIFIEX_MAX_TXRX_BD[rip]
	and	rdx, rcx
	mov	QWORD PTR 8[rbx], rcx
	cmp	rdx, rax
	jne	.L14
	not	rcx
	and	rcx, QWORD PTR 8[r13]
	mov	QWORD PTR 8[rbx], rcx
.L14:
	mov	esi, DWORD PTR DATA[rip]
	mov	r8, QWORD PTR 16[rsp]
	mov	rdi, rbp
	xor	eax, eax
	lea	rdx, .LC5[rip]
	call	mwifiex_dbg@PLT
	mov	esi, DWORD PTR 36[r13]
	mov	rdx, QWORD PTR 16[rbx]
	mov	rdi, rbp
	and	rdx, QWORD PTR 24[r13]
	or	rdx, QWORD PTR 8[rbx]
	call	mwifiex_write_reg@PLT
	test	rax, rax
	jne	.L31
	mov	esi, DWORD PTR 32[r13]
	mov	rdx, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	mwifiex_read_reg@PLT
	test	rax, rax
	jne	.L26
	mov	esi, DWORD PTR DATA[rip]
	lea	rdx, .LC7[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	mwifiex_dbg@PLT
.L25:
	mov	rax, QWORD PTR 16[rsp]
	mov	r12, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 0[r13]
	mov	QWORD PTR [rbx], rax
	xor	rax, r12
	test	rax, rdx
	jne	.L17
	test	QWORD PTR 8[r13], rax
	jne	.L32
.L17:
	mov	rax, QWORD PTR 32[rbx]
	and	r12, rdx
	mov	r15, QWORD PTR [rax+r12*8]
	test	r15, r15
	je	.L27
	mov	edx, DWORD PTR PCI_DMA_FROMDEVICE[rip]
	mov	rsi, r15
	mov	rdi, rbp
	call	mwifiex_unmap_pci_memory@PLT
	mov	rax, QWORD PTR 32[rbx]
	mov	edi, DWORD PTR 4[r15]
	mov	QWORD PTR [rax+r12*8], 0
	call	get_unaligned_le16@PLT
	mov	edi, 1
	mov	r14, rax
	cmp	QWORD PTR 0[rbp], rax
	jge	.L7
	xor	edi, edi
	cmp	QWORD PTR MWIFIEX_RX_DATA_BUF_SIZE[rip], rax
	setl	dil
.L7:
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L33
	mov	rsi, r14
	mov	rdi, r15
	call	skb_put@PLT
	mov	r10, QWORD PTR 8[rbx]
	mov	r8, QWORD PTR 16[rsp]
	xor	eax, eax
	mov	esi, DWORD PTR DATA[rip]
	mov	r9, r14
	lea	rdx, .LC2[rip]
	mov	rdi, rbp
	mov	rcx, r10
	call	mwifiex_dbg@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, r15
	call	skb_pull@PLT
	cmp	QWORD PTR 24[rbp], 0
	je	.L10
	lea	rdi, 16[rbp]
	mov	rsi, r15
	call	skb_queue_tail@PLT
	mov	DWORD PTR 8[rbp], 1
	lea	rdi, 12[rbp]
	call	atomic_inc@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	mov	DWORD PTR [rax], 0
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rsi, r15
	mov	rdi, rbp
	call	mwifiex_handle_rx_packet@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L30:
	mov	esi, DWORD PTR ERROR[rip]
	lea	rdx, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	mwifiex_dbg@PLT
.L27:
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L34
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L29:
	.cfi_restore_state
	mov	rdi, rbp
	call	mwifiex_pm_wakeup_card@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L20:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	esi, DWORD PTR ERROR[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	mwifiex_dbg@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L31:
	mov	esi, DWORD PTR DATA[rip]
	lea	rdx, .LC6[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	mwifiex_dbg@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L32:
	xor	eax, eax
	jmp	.L1
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mwifiex_pcie_process_recv_data, .-mwifiex_pcie_process_recv_data
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	MWIFIEX_RX_DATA_BUF_SIZE,8,8
	.comm	MWIFIEX_MAX_TXRX_BD,4,4
	.comm	INFO,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ERROR,4,4
	.comm	ENOMEM,4,4
	.comm	DATA,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_pcie.c_mwifiex_pcie_process_recv_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"RECV DATA: failed to read reg->rx_wrptr\012\000"
	.align	2
.LC1:
	.ascii	"Invalid RX len %d, Rd=%#x, Wr=%#x\012\000"
	.align	2
.LC2:
	.ascii	"info: RECV DATA: Rd=%#x, Wr=%#x, Len=%d\012\000"
	.align	2
.LC3:
	.ascii	"Unable to allocate skb.\012\000"
	.align	2
.LC4:
	.ascii	"RECV DATA: Attach new sk_buff %p at rxbd_rdidx=%d\012"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"info: RECV DATA: <Rd: %#x, Wr: %#x>\012\000"
	.align	2
.LC6:
	.ascii	"RECV DATA: failed to write reg->rx_rdptr\012\000"
	.align	2
.LC7:
	.ascii	"info: RECV DATA: Rcvd packet from fw successfully\012"
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mwifiex_pcie_process_recv_data, %function
mwifiex_pcie_process_recv_data:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L33
	ldr	r4, [r0, #20]
	sub	sp, sp, #28
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r8, [r4, #20]
	bl	mwifiex_pcie_ok_to_access_hw
	cmp	r0, #0
	beq	.L28
.L2:
	mov	r0, r5
	ldr	r1, [r8, #20]
	add	r2, sp, #16
	bl	mwifiex_read_reg
	subs	r3, r0, #0
	str	r3, [sp, #12]
	bne	.L25
	ldr	r3, [sp, #16]
	ldr	fp, .L33+4
	str	r3, [r4]
	b	.L5
.L31:
	ldr	r2, [sp, #16]
	mov	r3, r7
	str	r2, [sp, #4]
	ldr	r1, [r4, #4]
	mov	r0, r5
	str	r1, [sp]
	ldr	r1, .L33+8
	ldr	r2, .L33+12
	ldr	r1, [r1]
	bl	mwifiex_dbg
	mov	r0, r9
	bl	dev_kfree_skb_any
.L9:
	ldr	r3, .L33+16
	ldr	r0, [fp]
	ldr	r1, [r3]
	bl	mwifiex_alloc_dma_align_buf
	subs	r7, r0, #0
	beq	.L29
	ldr	r3, .L33+20
	mov	r1, r7
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r2, [fp]
	bl	mwifiex_map_pci_memory
	subs	r10, r0, #0
	bne	.L20
	mov	r0, r7
	bl	MWIFIEX_SKB_DMA_ADDR
	ldr	r3, .L33+24
	str	r6, [sp]
	ldr	r1, [r3]
	ldr	r2, .L33+28
	mov	r3, r7
	mov	r9, r0
	mov	r0, r5
	bl	mwifiex_dbg
	ldr	r3, [r8, #28]
	ldr	r2, [r4, #16]
	cmp	r3, #0
	str	r7, [r2, r6, lsl #2]
	beq	.L12
	ldr	r3, [r4, #12]
	ldr	r2, [r8, #8]
	ldr	r0, [r8, #12]
	ldr	r1, [r7]
	ldr	r3, [r3, r6, lsl #2]
	orr	r2, r2, r0
	str	r9, [r3, #8]
	str	r1, [r3, #4]
	str	r1, [r3, #16]
	str	r10, [r3, #12]
	str	r2, [r3]
.L13:
	ldr	r3, [r4, #4]
	ldr	r1, .L33+32
	ldr	r2, [r8]
	add	r3, r3, #1
	ldr	r1, [r1]
	and	r2, r2, r3
	cmp	r2, r1
	ldreq	r2, [r8, #4]
	str	r3, [r4, #4]
	biceq	r3, r2, r3
	ldr	r2, [sp, #16]
	ldr	r1, .L33+36
	streq	r3, [r4, #4]
	str	r2, [sp]
	ldr	r1, [r1]
	ldr	r2, .L33+40
	mov	r0, r5
	bl	mwifiex_dbg
	ldr	r1, [r8, #16]
	ldr	r3, [r4, #8]
	ldr	r2, [r4, #4]
	and	r3, r3, r1
	mov	r0, r5
	ldr	r1, [r8, #24]
	orr	r2, r3, r2
	bl	mwifiex_write_reg
	cmp	r0, #0
	bne	.L30
	mov	r0, r5
	ldr	r1, [r8, #20]
	add	r2, sp, #16
	bl	mwifiex_read_reg
	cmp	r0, #0
	bne	.L25
	ldr	r3, .L33+36
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L33+44
	bl	mwifiex_dbg
	ldr	r3, [sp, #16]
	str	r3, [r4]
.L5:
	ldr	r6, [r4, #4]
	ldr	r2, [r8]
	eor	r3, r3, r6
	tst	r3, r2
	bne	.L17
	ldr	r1, [r8, #4]
	tst	r3, r1
	bne	.L1
.L17:
	ldr	r3, [r4, #16]
	and	r6, r6, r2
	ldr	r9, [r3, r6, lsl #2]
	cmp	r9, #0
	beq	.L26
	ldr	r3, .L33+20
	mov	r1, r9
	ldr	r2, [r3]
	mov	r0, r5
	bl	mwifiex_unmap_pci_memory
	mov	r2, #0
	ldr	r3, [r4, #16]
	ldr	r0, [r9, #4]
	str	r2, [r3, r6, lsl #2]
	bl	get_unaligned_le16
	ldr	r3, [r5]
	mov	r7, r0
	cmp	r3, r0
	movge	r0, #1
	bge	.L7
	ldr	r0, [fp]
	cmp	r0, r7
	movge	r0, #0
	movlt	r0, #1
.L7:
	bl	WARN_ON
	cmp	r0, #0
	bne	.L31
	mov	r1, r7
	mov	r0, r9
	bl	skb_put
	ldr	r2, [sp, #16]
	ldr	r3, [r4, #4]
	stm	sp, {r2, r7}
	ldr	r1, .L33+36
	ldr	r2, .L33+48
	ldr	r1, [r1]
	mov	r0, r5
	bl	mwifiex_dbg
	ldr	r1, [r5]
	mov	r0, r9
	bl	skb_pull
	ldr	r3, [r5, #16]
	mov	r1, r9
	cmp	r3, #0
	beq	.L10
	add	r0, r5, #12
	bl	skb_queue_tail
	mov	r3, #1
	add	r0, r5, #8
	str	r3, [r5, #4]
	bl	atomic_inc
	b	.L9
.L12:
	ldr	r2, [r4, #12]
	ldr	r1, [r7]
	ldr	r2, [r2, r6, lsl #2]
	stmib	r2, {r1, r9}
	str	r3, [r2]
	b	.L13
.L10:
	mov	r0, r5
	bl	mwifiex_handle_rx_packet
	b	.L9
.L20:
	mvn	r3, #0
	str	r3, [sp, #12]
.L1:
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L32
	ldr	r0, [sp, #12]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L29:
	ldr	r3, .L33+8
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L33+52
	bl	mwifiex_dbg
.L26:
	ldr	r3, .L33+56
	ldr	r0, [r3]
	rsb	r3, r0, #0
	str	r3, [sp, #12]
	b	.L1
.L28:
	mov	r0, r5
	bl	mwifiex_pm_wakeup_card
	b	.L2
.L25:
	ldr	r3, .L33+8
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L33+60
	bl	mwifiex_dbg
	mvn	r3, #0
	str	r3, [sp, #12]
	b	.L1
.L30:
	ldr	r3, .L33+36
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L33+64
	bl	mwifiex_dbg
	mvn	r3, #0
	str	r3, [sp, #12]
	b	.L1
.L32:
	bl	__stack_chk_fail
.L34:
	.align	2
.L33:
	.word	.LC8
	.word	MWIFIEX_RX_DATA_BUF_SIZE
	.word	ERROR
	.word	.LC1
	.word	GFP_KERNEL
	.word	PCI_DMA_FROMDEVICE
	.word	INFO
	.word	.LC4
	.word	MWIFIEX_MAX_TXRX_BD
	.word	DATA
	.word	.LC5
	.word	.LC7
	.word	.LC2
	.word	.LC3
	.word	ENOMEM
	.word	.LC0
	.word	.LC6
	.size	mwifiex_pcie_process_recv_data, .-mwifiex_pcie_process_recv_data
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	MWIFIEX_RX_DATA_BUF_SIZE,4,4
	.comm	MWIFIEX_MAX_TXRX_BD,4,4
	.comm	INFO,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ERROR,4,4
	.comm	ENOMEM,4,4
	.comm	DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
