	.file	"extr_qlge_main.c_ql_process_mac_rx_page.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Couldn't get an skb, need to unwind!.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Segment too small, dropping.\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"%d bytes of headers and data in large. Chain page to new skb and pull tail.\n"
	.section	.rodata.str1.1
.LC3:
	.string	"TCP checksum done!\n"
.LC4:
	.string	"UDP checksum done!\n"
	.text
	.p2align 4
	.type	ql_process_mac_rx_page, @function
ql_process_mac_rx_page:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r14, QWORD PTR 8[rdi]
	mov	QWORD PTR [rsp], rdx
	mov	DWORD PTR 12[rsp], r8d
	call	ql_get_curr_lchunk@PLT
	mov	rsi, rbx
	mov	rdi, r14
	mov	rbp, rax
	call	netdev_alloc_skb@PLT
	test	rax, rax
	je	.L22
	mov	r13, rax
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, rax
	mov	QWORD PTR 16[rsp], rax
	call	prefetch@PLT
	mov	rax, QWORD PTR [rsp]
	mov	esi, DWORD PTR [rax]
	test	DWORD PTR IB_MAC_IOCB_RSP_ERR_MASK[rip], esi
	jne	.L23
	mov	rdx, QWORD PTR ETH_HLEN[rip]
	mov	rax, QWORD PTR [r14]
	add	rax, rdx
	cmp	QWORD PTR 0[r13], rax
	jg	.L24
	mov	rsi, rdx
	mov	rdi, r13
	mov	QWORD PTR 24[rsp], rdx
	call	skb_put@PLT
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	mov	edi, eax
	call	memcpy@PLT
	mov	rcx, QWORD PTR 8[r15]
	mov	r9, rbx
	mov	rdi, r15
	mov	edx, DWORD PTR KERN_DEBUG[rip]
	mov	esi, DWORD PTR rx_status[rip]
	lea	r8, .LC2[rip]
	xor	eax, eax
	call	netif_printk@PLT
	mov	rcx, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR 8[rbp]
	mov	r8, rbx
	mov	rax, QWORD PTR ETH_HLEN[rip]
	xor	esi, esi
	mov	rdi, r13
	add	rcx, rax
	sub	r8, rax
	call	skb_fill_page_desc@PLT
	mov	rax, rbx
	mov	rsi, r14
	mov	rdi, r13
	mov	rdx, QWORD PTR ETH_HLEN[rip]
	sub	rax, rdx
	add	rax, QWORD PTR 0[r13]
	sub	ebx, edx
	add	DWORD PTR 24[r13], ebx
	add	DWORD PTR 20[r13], ebx
	mov	QWORD PTR 0[r13], rax
	add	DWORD PTR 8[r12], 1
	add	DWORD PTR 4[r12], eax
	call	eth_type_trans@PLT
	cmp	QWORD PTR 16[r15], 0
	mov	DWORD PTR 16[r13], eax
	mov	rax, QWORD PTR CHECKSUM_NONE[rip]
	mov	QWORD PTR 8[r13], rax
	je	.L7
	mov	rbx, QWORD PTR [rsp]
	mov	eax, DWORD PTR 4[rbx]
	test	DWORD PTR IB_MAC_CSUM_ERR_MASK[rip], eax
	jne	.L7
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR IB_MAC_IOCB_RSP_T[rip], eax
	jne	.L25
	test	DWORD PTR IB_MAC_IOCB_RSP_U[rip], eax
	je	.L7
	mov	rax, QWORD PTR [rsp]
	mov	eax, DWORD PTR 8[rax]
	test	DWORD PTR IB_MAC_IOCB_RSP_V4[rip], eax
	je	.L7
	mov	rax, QWORD PTR ETH_HLEN[rip]
	mov	rbx, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR IP_MF[rip]
	or	edi, DWORD PTR IP_OFFSET[rip]
	mov	ebx, DWORD PTR [rbx+rax*4]
	call	htons@PLT
	test	ebx, eax
	jne	.L7
	mov	rax, QWORD PTR CHECKSUM_UNNECESSARY[rip]
	mov	rcx, QWORD PTR 8[r15]
	mov	rdi, r15
	lea	r8, .LC4[rip]
	mov	edx, DWORD PTR KERN_DEBUG[rip]
	mov	esi, DWORD PTR rx_status[rip]
	mov	QWORD PTR 8[r13], rax
	xor	eax, eax
	call	netif_printk@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR [r12]
	mov	rdi, r13
	call	skb_record_rx_queue@PLT
	mov	rax, QWORD PTR CHECKSUM_UNNECESSARY[rip]
	cmp	QWORD PTR 8[r13], rax
	je	.L26
	mov	eax, DWORD PTR 12[rsp]
	cmp	eax, 65535
	je	.L12
	mov	esi, DWORD PTR [r15]
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	mov	edx, 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
	jmp	vlan_hwaccel_receive_skb@PLT
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[r15]
	mov	esi, DWORD PTR drv[rip]
	lea	rcx, .LC1[rip]
	mov	rdi, r15
	call	netif_err@PLT
	add	DWORD PTR 12[r12], 1
.L4:
	mov	rdi, r13
	call	dev_kfree_skb_any@PLT
.L20:
	mov	edi, DWORD PTR 8[rbp]
	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
	jmp	put_page@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	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
	jmp	netif_receive_skb@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[r15]
	mov	esi, DWORD PTR drv[rip]
	lea	rcx, .LC0[rip]
	mov	rdi, r15
	call	netif_err@PLT
	add	DWORD PTR 12[r12], 1
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdx, r12
	mov	rdi, r15
	call	ql_categorize_rx_err@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	mov	eax, DWORD PTR 12[rsp]
	lea	rdi, 16[r12]
	cmp	eax, 65535
	je	.L11
	mov	esi, DWORD PTR [r15]
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rcx, r13
	mov	edx, 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
	jmp	vlan_gro_receive@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r13
	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
	jmp	napi_gro_receive@PLT
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	mov	rcx, QWORD PTR 8[r15]
	mov	edx, DWORD PTR KERN_DEBUG[rip]
	mov	rdi, r15
	xor	eax, eax
	mov	esi, DWORD PTR rx_status[rip]
	lea	r8, .LC3[rip]
	call	netif_printk@PLT
	mov	rax, QWORD PTR CHECKSUM_UNNECESSARY[rip]
	mov	QWORD PTR 8[r13], rax
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	ql_process_mac_rx_page, .-ql_process_mac_rx_page
	.comm	rx_status,4,4
	.comm	drv,4,4
	.comm	KERN_DEBUG,4,4
	.comm	IP_OFFSET,4,4
	.comm	IP_MF,4,4
	.comm	IB_MAC_IOCB_RSP_V4,4,4
	.comm	IB_MAC_IOCB_RSP_U,4,4
	.comm	IB_MAC_IOCB_RSP_T,4,4
	.comm	IB_MAC_IOCB_RSP_ERR_MASK,4,4
	.comm	IB_MAC_CSUM_ERR_MASK,4,4
	.comm	ETH_HLEN,8,8
	.comm	CHECKSUM_UNNECESSARY,8,8
	.comm	CHECKSUM_NONE,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_qlge_main.c_ql_process_mac_rx_page.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Couldn't get an skb, need to unwind!.\012\000"
	.align	2
.LC1:
	.ascii	"Segment too small, dropping.\012\000"
	.align	2
.LC2:
	.ascii	"%d bytes of headers and data in large. Chain page t"
	.ascii	"o new skb and pull tail.\012\000"
	.align	2
.LC3:
	.ascii	"TCP checksum done!\012\000"
	.align	2
.LC4:
	.ascii	"UDP checksum done!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ql_process_mac_rx_page, %function
ql_process_mac_rx_page:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	mov	r7, r3
	ldr	r3, [sp, #64]
	mov	r6, r1
	ldr	r10, [r0, #4]
	str	r2, [sp, #12]
	str	r3, [sp, #16]
	mov	r5, r0
	bl	ql_get_curr_lchunk
	mov	r1, r7
	mov	r8, r0
	mov	r0, r10
	bl	netdev_alloc_skb
	subs	r4, r0, #0
	beq	.L27
	ldr	r3, [r8, #8]
	mov	r0, r3
	str	r3, [sp, #20]
	bl	prefetch
	ldr	r3, .L32
	ldr	r2, [sp, #12]
	ldr	r9, [r3]
	ldr	r1, [r2]
	ands	r9, r1, r9
	bne	.L28
	ldr	fp, .L32+4
	ldr	r3, [r10]
	ldr	r1, [fp]
	ldr	r2, [r4]
	add	r3, r1, r3
	cmp	r2, r3
	bgt	.L29
	mov	r0, r4
	bl	skb_put
	ldr	r2, [fp]
	ldr	r1, [sp, #20]
	bl	memcpy
	ldr	r3, .L32+8
	ldr	r2, .L32+12
	ldr	r1, .L32+16
	str	r7, [sp, #4]
	ldr	r2, [r2]
	ldr	r1, [r1]
	str	r3, [sp]
	ldr	r3, [r5, #4]
	mov	r0, r5
	bl	netif_printk
	ldm	r8, {r0, r2}
	ldr	r3, [fp]
	mov	r1, r9
	sub	ip, r7, r3
	str	ip, [sp]
	add	r3, r3, r0
	mov	r0, r4
	bl	skb_fill_page_desc
	ldr	r3, [fp]
	ldr	r2, [r4]
	ldr	lr, [r6, #4]
	ldr	ip, [r6, #8]
	ldr	r0, [r4, #16]
	sub	r7, r7, r3
	ldr	r3, [r4, #12]
	add	r2, r7, r2
	add	lr, lr, r2
	add	r0, r0, r7
	add	ip, ip, #1
	add	r7, r3, r7
	str	r2, [r4]
	str	r0, [r4, #16]
	str	r7, [r4, #12]
	mov	r1, r10
	mov	r0, r4
	str	lr, [r6, #4]
	str	ip, [r6, #8]
	bl	eth_type_trans
	ldr	r3, .L32+20
	ldr	r2, [r5, #8]
	ldr	r3, [r3]
	cmp	r2, #0
	str	r0, [r4, #8]
	str	r3, [r4, #4]
	beq	.L24
	ldr	r3, .L32+24
	ldr	r2, [sp, #12]
	ldr	r3, [r3]
	ldr	r2, [r2, #4]
	tst	r2, r3
	beq	.L19
.L24:
	ldr	r7, .L32+28
.L7:
	mov	r0, r4
	ldr	r1, [r6]
	bl	skb_record_rx_queue
	ldr	r3, [r7]
	ldr	r2, [r4, #4]
	cmp	r2, r3
	ldr	r3, .L32+32
	beq	.L30
	ldr	r2, [sp, #16]
	cmp	r2, r3
	beq	.L12
	mov	r0, r4
	ldr	r1, [r5]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	vlan_hwaccel_receive_skb
.L29:
	ldr	r2, .L32+36
	ldr	r3, .L32+40
	ldr	r1, [r2]
	mov	r0, r5
	ldr	r2, [r5, #4]
	bl	netif_err
	ldr	r3, [r6, #12]
	add	r3, r3, #1
	str	r3, [r6, #12]
.L4:
	mov	r0, r4
	bl	dev_kfree_skb_any
	ldr	r0, [r8, #4]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	put_page
.L19:
	ldr	r2, .L32+44
	ldr	r3, [sp, #12]
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r3, r2
	bne	.L31
	ldr	r2, .L32+48
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L24
	ldr	r3, .L32+52
	ldr	r2, [sp, #12]
	ldr	r3, [r3]
	ldr	r2, [r2, #8]
	tst	r2, r3
	beq	.L24
	ldr	r2, .L32+56
	ldr	r3, .L32+60
	ldr	r0, [r2]
	ldr	r2, [r3]
	ldr	r3, [fp]
	orr	r0, r0, r2
	ldr	r2, [sp, #20]
	ldr	r7, [r2, r3, lsl #2]
	bl	htons
	tst	r7, r0
	ldr	r7, .L32+28
	bne	.L7
	ldr	r3, [r7]
	ldr	r0, .L32+64
	ldr	r2, .L32+12
	ldr	r1, .L32+16
	str	r3, [r4, #4]
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r3, [r5, #4]
	str	r0, [sp]
	mov	r0, r5
	bl	netif_printk
	b	.L7
.L12:
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	netif_receive_skb
.L27:
	ldr	r2, .L32+36
	mov	r0, r5
	ldr	r1, [r2]
	ldr	r3, .L32+68
	ldr	r2, [r5, #4]
	bl	netif_err
	ldr	r3, [r6, #12]
	ldr	r0, [r8, #4]
	add	r3, r3, #1
	str	r3, [r6, #12]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	put_page
.L28:
	mov	r2, r6
	mov	r0, r5
	bl	ql_categorize_rx_err
	b	.L4
.L30:
	ldr	r2, [sp, #16]
	add	r0, r6, #16
	cmp	r2, r3
	beq	.L11
	mov	r3, r4
	ldr	r1, [r5]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	vlan_gro_receive
.L11:
	mov	r1, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	napi_gro_receive
.L31:
	ldr	r3, .L32+72
	ldr	r2, .L32+12
	ldr	r1, .L32+16
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r7, .L32+28
	str	r3, [sp]
	ldr	r3, [r5, #4]
	mov	r0, r5
	bl	netif_printk
	ldr	r3, [r7]
	str	r3, [r4, #4]
	b	.L7
.L33:
	.align	2
.L32:
	.word	IB_MAC_IOCB_RSP_ERR_MASK
	.word	ETH_HLEN
	.word	.LC2
	.word	KERN_DEBUG
	.word	rx_status
	.word	CHECKSUM_NONE
	.word	IB_MAC_CSUM_ERR_MASK
	.word	CHECKSUM_UNNECESSARY
	.word	65535
	.word	drv
	.word	.LC1
	.word	IB_MAC_IOCB_RSP_T
	.word	IB_MAC_IOCB_RSP_U
	.word	IB_MAC_IOCB_RSP_V4
	.word	IP_MF
	.word	IP_OFFSET
	.word	.LC4
	.word	.LC0
	.word	.LC3
	.size	ql_process_mac_rx_page, .-ql_process_mac_rx_page
	.comm	rx_status,4,4
	.comm	drv,4,4
	.comm	KERN_DEBUG,4,4
	.comm	IP_OFFSET,4,4
	.comm	IP_MF,4,4
	.comm	IB_MAC_IOCB_RSP_V4,4,4
	.comm	IB_MAC_IOCB_RSP_U,4,4
	.comm	IB_MAC_IOCB_RSP_T,4,4
	.comm	IB_MAC_IOCB_RSP_ERR_MASK,4,4
	.comm	IB_MAC_CSUM_ERR_MASK,4,4
	.comm	ETH_HLEN,4,4
	.comm	CHECKSUM_UNNECESSARY,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
