	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_tpa_end
_qede_tpa_end:                          ## @qede_tpa_end
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r12
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r13
	movq	8(%r13), %r15
	imulq	$56, (%rdx), %r14
	movq	24(%r15,%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	32(%r15,%r14), %rdx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_2
## %bb.1:
	movl	(%r13), %ecx
	movl	4(%r13), %edi
	movl	40(%r15,%r14), %esi
	callq	_dma_unmap_page
LBB0_2:
	movq	32(%rbx), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r14
	callq	_le16_to_cpu
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_qede_fill_frag_skb
	movq	32(%rbx), %rax
	movq	8(%rax,%r15,8), %rdi
	incq	%r15
	testq	%rdi, %rdi
	jne	LBB0_5
## %bb.6:
	xorl	%edi, %edi
	testl	$-2, %r15d
	setne	%dil
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_3:
	xorl	%edi, %edi
LBB0_7:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_DP_ERR
LBB0_9:
	leaq	(%r15,%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r15,%r14), %rax
	movq	_QEDE_AGG_STATE_START@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.15:
	leaq	(%r15,%r14), %rbx
	addq	$24, %rbx
	movq	_QEDE_AGG_STATE_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	cmpl	$0, 16(%r15,%r14)
	je	LBB0_17
## %bb.16:
	addq	%r15, %r14
	addq	$32, %r14
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_qede_reuse_page
	movl	$0, -16(%r14)
LBB0_17:
	movq	(%rbx), %rdi
	callq	_dev_kfree_skb_any
	movq	$0, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_10:
	movq	8(%r15,%r14), %rax
	incq	%rax
	xorl	%edi, %edi
	cmpq	%rax, 8(%rbx)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	(%r15,%r14), %rax
	addq	$8, %rax
	movq	8(%rbx), %rdx
	movq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_DP_ERR
LBB0_12:
	movq	%r15, %r13
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %r15
	movq	24(%rbx), %rdi
	callq	_le16_to_cpu
	xorl	%edi, %edi
	cmpq	%rax, %r15
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	24(%rbx), %rdi
	callq	_le16_to_cpu
	movq	(%r14), %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_DP_ERR
LBB0_14:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_eth_type_trans
	movl	%eax, 12(%r14)
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	16(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_NAPI_GRO_CB
	movq	%rbx, (%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	48(%r13,%rax), %ecx
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_qede_gro_receive
	movq	_QEDE_AGG_STATE_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	$1, %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Strange - TPA emd with more than a single len_list entry\n"

	.comm	_QEDE_AGG_STATE_START,8,3       ## @QEDE_AGG_STATE_START
L_.str.1:                               ## @.str.1
	.asciz	"Strange - TPA had %02x BDs, but SKB has only %d frags\n"

L_.str.2:                               ## @.str.2
	.asciz	"Strange - total packet len [cqe] is %4x but SKB has len %04x\n"

	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.comm	_QEDE_AGG_STATE_NONE,8,3        ## @QEDE_AGG_STATE_NONE
	.no_dead_strip	_qede_tpa_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_tpa_end
_qede_tpa_end:                          ; @qede_tpa_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x1]
	ldr	x26, [x23, #8]
	ldr	x27, [x2]
	mov	w8, #56
	madd	x28, x27, x8, x26
	ldr	x21, [x28, #24]!
	mov	x24, x28
	ldr	x2, [x24, #8]!
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #56
	madd	x8, x27, x8, x26
	ldr	w1, [x8, #40]
	ldp	w3, w0, [x23]
	bl	_dma_unmap_page
LBB0_2:
	ldr	x8, [x22, #32]
	ldr	x0, [x8]
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
	cbz	x0, LBB0_6
; %bb.3:
	mov	x19, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x22]
	bl	_le16_to_cpu
	mov	x3, x0
	mov	x0, x20
	mov	x1, x23
	mov	x2, x25
	bl	_qede_fill_frag_skb
	add	x8, x19, #1
	ldr	x9, [x22, #32]
	add	x9, x9, x19, lsl #3
	ldr	x0, [x9, #8]
	mov	x19, x8
	cbnz	x0, LBB0_4
; %bb.5:
	tst	x8, #0xfffffffe
	cset	w0, ne
LBB0_6:
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.7:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DP_ERR
LBB0_8:
	mov	w8, #56
	madd	x25, x27, x8, x26
	ldr	x8, [x25]
Lloh5:
	adrp	x9, _QEDE_AGG_STATE_START@GOTPAGE
Lloh6:
	ldr	x9, [x9, _QEDE_AGG_STATE_START@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.9:
Lloh8:
	adrp	x8, _QEDE_AGG_STATE_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QEDE_AGG_STATE_NONE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x25]
	mov	w8, #56
	madd	x19, x27, x8, x26
	ldr	w8, [x19, #16]!
	cbz	w8, LBB0_11
; %bb.10:
	mov	x0, x23
	mov	x1, x24
	bl	_qede_reuse_page
	str	wzr, [x19]
LBB0_11:
	ldr	x0, [x28]
	bl	_dev_kfree_skb_any
	mov	w0, #0
	str	xzr, [x28]
	b	LBB0_17
LBB0_12:
	ldr	x8, [x22, #8]
	mov	w9, #56
	madd	x19, x27, x9, x26
	ldr	x9, [x19, #8]!
	add	x9, x9, #1
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_14
; %bb.13:
	ldr	x8, [x22, #8]
	ldr	x9, [x19]
	stp	x8, x9, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_DP_ERR
LBB0_14:
	ldr	x19, [x21]
	ldr	x0, [x22, #24]
	bl	_le16_to_cpu
	cmp	x19, x0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_16
; %bb.15:
	ldr	x0, [x22, #24]
	bl	_le16_to_cpu
	ldr	x8, [x21]
	stp	x0, x8, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_DP_ERR
LBB0_16:
	ldr	w1, [x20]
	mov	x0, x21
	bl	_eth_type_trans
Lloh15:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #8]
	ldr	x0, [x22, #16]
	bl	_le16_to_cpu
	mov	x22, x0
	mov	x0, x21
	bl	_NAPI_GRO_CB
	str	x22, [x0]
	mov	w8, #56
	madd	x8, x27, x8, x26
	ldr	w3, [x8, #48]
	mov	x0, x20
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x21
	bl	_qede_gro_receive
Lloh18:
	adrp	x8, _QEDE_AGG_STATE_NONE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QEDE_AGG_STATE_NONE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [x25]
	mov	w0, #1
LBB0_17:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Strange - TPA emd with more than a single len_list entry\n"

	.comm	_QEDE_AGG_STATE_START,8,3       ; @QEDE_AGG_STATE_START
l_.str.1:                               ; @.str.1
	.asciz	"Strange - TPA had %02x BDs, but SKB has only %d frags\n"

l_.str.2:                               ; @.str.2
	.asciz	"Strange - total packet len [cqe] is %4x but SKB has len %04x\n"

	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.comm	_QEDE_AGG_STATE_NONE,8,3        ; @QEDE_AGG_STATE_NONE
	.no_dead_strip	_qede_tpa_end
.subsections_via_symbols
