	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_tpa_start
_qede_tpa_start:                        ## @qede_tpa_start
	.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	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rsi), %r13
	movq	(%rdx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rbx
	movq	16(%rsi), %r14
	movq	_NUM_RX_BDS_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	andq	(%rsi), %r15
	leaq	(%r14,%r15,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addq	40(%rdx), %rbx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	8(%rdx), %edi
	callq	_le16_to_cpu
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	movq	%rbx, %r8
	xorl	%r9d, %r9d
	callq	_qede_tpa_rx_build_skb
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rcx,4), %rbx
	movl	%eax, 16(%r13,%rbx,8)
	movl	4(%r14,%r15,8), %ecx
	movl	%ecx, 36(%r13,%rbx,8)
	movl	(%r14,%r15,8), %ecx
	movq	%r13, %r14
	movl	%ecx, 32(%r13,%rbx,8)
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_DP_NOTICE
	movl	$1, (%r14,%rbx,8)
	movq	%r12, %rdi
	callq	_qede_rx_bd_ring_consume
	movq	_QEDE_AGG_STATE_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14,%rbx,8)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_2:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	leaq	(%r14,%rbx,8), %r13
	addq	$16, %r13
	movq	$0, 24(%r14,%rbx,8)
	movq	_QEDE_AGG_STATE_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14,%rbx,8)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	32(%rbx), %edi
	callq	_le16_to_cpu
	movq	_PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	$0, %ecx
	je	LBB0_4
## %bb.3:
	movl	12(%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, %ecx
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, 4(%r14,%rax,8)
	movl	(%r13), %edi
	movl	24(%rbx), %edx
	movl	28(%rbx), %esi
	callq	_qede_get_rxhash
	movl	(%r13), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_qede_set_gro_params
LBB0_5:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%rbx), %r13
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_qede_fill_frag_skb
LBB0_7:
	movq	16(%rbx), %rax
	movl	4(%rax), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_DP_ERR
	movq	_QEDE_AGG_STATE_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%r14,%rcx,8)
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_RX_BDS_MAX,8,3             ## @NUM_RX_BDS_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate SKB for gro\n"

	.comm	_QEDE_AGG_STATE_ERROR,8,3       ## @QEDE_AGG_STATE_ERROR
	.comm	_QEDE_AGG_STATE_START,8,3       ## @QEDE_AGG_STATE_START
	.comm	_PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT,4,2 ## @PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT
	.comm	_PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK,4,2 ## @PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK
L_.str.1:                               ## @.str.1
	.asciz	"Unlikely - got a TPA aggregation with more than one ext_bd_len_list entry in the TPA start\n"

	.no_dead_strip	_qede_tpa_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_tpa_start
_qede_tpa_start:                        ; @qede_tpa_start
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x24, [x2]
Lloh0:
	adrp	x8, _NUM_RX_BDS_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_RX_BDS_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x1]
	and	x8, x8, x9
	ldp	x9, x25, [x1, #16]
	add	x22, x9, x8, lsl #3
	ldr	x8, [x2, #40]
	add	x23, x10, x8
	ldr	w0, [x2, #8]
	bl	_le16_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x4, x23
	mov	w5, #0
	bl	_qede_tpa_rx_build_skb
	mov	w8, #40
	madd	x26, x24, x8, x25
	str	w0, [x26, #16]!
	ldr	d0, [x22]
	str	d0, [x26, #16]
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
Lloh3:
	adrp	x23, _QEDE_AGG_STATE_ERROR@GOTPAGE
Lloh4:
	ldr	x23, [x23, _QEDE_AGG_STATE_ERROR@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	mov	w8, #40
	madd	x22, x24, x8, x25
	mov	w8, #1
	str	w8, [x22]
	mov	x0, x21
	bl	_qede_rx_bd_ring_consume
	ldr	x8, [x23]
	str	x8, [x22, #8]
	b	LBB0_6
LBB0_2:
	mov	w8, #40
	madd	x8, x24, x8, x25
	str	xzr, [x8, #24]
Lloh7:
	adrp	x9, _QEDE_AGG_STATE_START@GOTPAGE
Lloh8:
	ldr	x9, [x9, _QEDE_AGG_STATE_START@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	str	x9, [x8, #8]
	ldr	w0, [x20, #32]
	bl	_le16_to_cpu
Lloh10:
	adrp	x8, _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	asr	w8, w0, w8
Lloh13:
	adrp	x9, _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x20, #12]
	bl	_le16_to_cpu
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	mov	w8, #40
	madd	x8, x24, x8, x25
	str	w0, [x8, #4]
	ldr	w0, [x26]
	ldp	w2, w1, [x20, #24]
	bl	_qede_get_rxhash
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x20
	bl	_qede_set_gro_params
LBB0_6:
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	bl	_likely
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x22, [x20]
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_qede_fill_frag_skb
LBB0_8:
	ldr	x8, [x20, #16]
	ldr	w0, [x8, #4]
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.9:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_ERR
	ldr	x8, [x23]
	mov	w9, #40
	madd	x9, x24, x9, x25
	str	x8, [x9, #8]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_RX_BDS_MAX,8,3             ; @NUM_RX_BDS_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate SKB for gro\n"

	.comm	_QEDE_AGG_STATE_ERROR,8,3       ; @QEDE_AGG_STATE_ERROR
	.comm	_QEDE_AGG_STATE_START,8,3       ; @QEDE_AGG_STATE_START
	.comm	_PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT,4,2 ; @PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT
	.comm	_PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK,4,2 ; @PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK
l_.str.1:                               ; @.str.1
	.asciz	"Unlikely - got a TPA aggregation with more than one ext_bd_len_list entry in the TPA start\n"

	.no_dead_strip	_qede_tpa_start
.subsections_via_symbols
