	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_tpa_start
_bnx2x_tpa_start:                       ## @bnx2x_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	40(%rdi), %r13
	movq	32(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rbx
	movq	24(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	shlq	$6, %r15
	movq	(%rbx,%r15), %rax
	movq	_BNX2X_TPA_STOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_BNX2X_ERR
LBB0_2:
	leaq	(%rbx,%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_NET_SKB_PAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	56(%rbx,%r15), %rsi
	movq	(%r13), %rdi
	movl	12(%r14), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movq	%r13, %rcx
	movl	%eax, %r13d
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_bnx2x_reuse_rx_data
	movq	_BNX2X_TPA_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_9
LBB0_4:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r12,8), %rdi
	leaq	(%rbx,%r15), %rax
	addq	$56, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	%rax, (%rcx,%r12,8)
	movl	%r13d, %esi
	movl	%r13d, %edx
	callq	_dma_unmap_addr_set
	movl	%r13d, %edi
	callq	_U64_HI
	movl	%eax, %edi
	callq	_cpu_to_le32
	shlq	$4, %r12
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx,%r12)
	movl	%r13d, %edi
	callq	_U64_LO
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r12)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movl	16(%r12), %edi
	callq	_le16_to_cpu
	movq	%rax, 48(%rbx,%r15)
	movl	12(%r12), %edi
	callq	_le16_to_cpu
	movq	%rax, 40(%rbx,%r15)
	movq	_BNX2X_TPA_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	8(%r12), %edi
	callq	_le16_to_cpu
	movq	%rax, 32(%rbx,%r15)
	movl	4(%r12), %eax
	movl	%eax, 28(%rbx,%r15)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_bnx2x_get_rxhash
	movl	%eax, 24(%rbx,%r15)
	movq	(%r14), %rax
	movq	_TPA_MODE_GRO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.5:
	movl	(%r12), %edi
	callq	_le16_to_cpu
	movq	%rax, %rcx
	movq	_SGE_PAGES@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.7:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_8
LBB0_6:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_8:
	subq	%rdx, %rsi
	movq	%rsi, 8(%rbx,%r15)
	movq	%rcx, 16(%rbx,%r15)
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_TPA_STOP,8,3             ## @BNX2X_TPA_STOP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start of bin not in stop [%d]\n"

	.comm	_NET_SKB_PAD,8,3                ## @NET_SKB_PAD
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_BNX2X_TPA_ERROR,8,3            ## @BNX2X_TPA_ERROR
	.comm	_BNX2X_TPA_START,8,3            ## @BNX2X_TPA_START
	.comm	_TPA_MODE_GRO,8,3               ## @TPA_MODE_GRO
	.comm	_SGE_PAGES,8,3                  ## @SGE_PAGES
	.comm	_NETIF_MSG_RX_STATUS,4,2        ## @NETIF_MSG_RX_STATUS
	.no_dead_strip	_bnx2x_tpa_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_tpa_start
_bnx2x_tpa_start:                       ; @bnx2x_tpa_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x4
	mov	x24, x3
	mov	x22, x1
	mov	x20, x0
	ldp	x28, x21, [x0, #32]
	ldp	x27, x8, [x0, #16]
	stp	x8, x2, [sp]                    ; 16-byte Folded Spill
	add	x23, x27, x1, lsl #6
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _BNX2X_TPA_STOP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNX2X_TPA_STOP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_BNX2X_ERR
LBB0_2:
	ldr	x0, [x21]
	mov	x26, x23
	ldr	x8, [x26, #56]!
Lloh5:
	adrp	x9, _NET_SKB_PAD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NET_SKB_PAD@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w2, [x20, #12]
Lloh8:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	bl	_dma_map_single
	mov	x25, x0
	ldr	x0, [x21]
	mov	x1, x25
	bl	_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x24
	bl	_bnx2x_reuse_rx_data
Lloh11:
	adrp	x8, _BNX2X_TPA_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNX2X_TPA_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x23]
	b	LBB0_6
LBB0_4:
	add	x0, x28, x24, lsl #3
	ldr	x8, [x26]
	str	x8, [x28, x24, lsl #3]
	mov	x1, x25
	mov	x2, x25
	bl	_dma_unmap_addr_set
	mov	x0, x25
	bl	_U64_HI
	bl	_cpu_to_le32
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x24, x8, x24, lsl #4
	str	x0, [x24, #8]
	mov	x0, x25
	bl	_U64_LO
	bl	_cpu_to_le32
	str	x0, [x24]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x28, x8, lsl #3]
	str	x8, [x26]
	ldr	w0, [x19, #16]
	bl	_le16_to_cpu
	add	x22, x27, x22, lsl #6
	str	x0, [x22, #48]
	ldr	w0, [x19, #12]
	bl	_le16_to_cpu
	str	x0, [x22, #40]
Lloh14:
	adrp	x8, _BNX2X_TPA_START@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BNX2X_TPA_START@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x23]
	ldr	w0, [x19, #8]
	bl	_le16_to_cpu
	str	x0, [x22, #32]
	ldr	w8, [x19, #4]
	str	w8, [x22, #28]
	mov	x0, x21
	mov	x1, x19
	bl	_bnx2x_get_rxhash
	str	w0, [x22, #24]
	ldr	x8, [x20]
Lloh17:
	adrp	x9, _TPA_MODE_GRO@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TPA_MODE_GRO@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [x19]
	bl	_le16_to_cpu
Lloh20:
	adrp	x8, _SGE_PAGES@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SGE_PAGES@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	udiv	x8, x8, x0
	mul	x8, x8, x0
	stp	x8, x0, [x22, #8]
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_TPA_STOP,8,3             ; @BNX2X_TPA_STOP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start of bin not in stop [%d]\n"

	.comm	_NET_SKB_PAD,8,3                ; @NET_SKB_PAD
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_BNX2X_TPA_ERROR,8,3            ; @BNX2X_TPA_ERROR
	.comm	_BNX2X_TPA_START,8,3            ; @BNX2X_TPA_START
	.comm	_TPA_MODE_GRO,8,3               ; @TPA_MODE_GRO
	.comm	_SGE_PAGES,8,3                  ; @SGE_PAGES
	.comm	_NETIF_MSG_RX_STATUS,4,2        ; @NETIF_MSG_RX_STATUS
	.no_dead_strip	_bnx2x_tpa_start
.subsections_via_symbols
