	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_process_rxbuf
_qlcnic_process_rxbuf:                  ## @qlcnic_process_rxbuf
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rsi), %r13
	shlq	$4, %rbx
	xorl	%edi, %edi
	cmpq	$0, (%r13,%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_WARN_ON
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_2:
	leaq	(%rbx,%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	16(%r15), %edi
	movl	8(%r13,%rbx), %esi
	movl	(%r12), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_single
	movq	8(%r15), %rax
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_STATUS_CKSUM_OK@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	sete	%al
	movq	_STATUS_CKSUM_LOOP@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	jmp	LBB0_5
LBB0_3:
	xorl	%edi, %edi
LBB0_5:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rbx
	callq	_likely
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	incl	(%r15)
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	callq	_skb_checksum_none_assert
LBB0_8:
	movq	$0, (%r14)
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_STATUS_CKSUM_OK,8,3            ## @STATUS_CKSUM_OK
	.comm	_STATUS_CKSUM_LOOP,8,3          ## @STATUS_CKSUM_LOOP
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.no_dead_strip	_qlcnic_process_rxbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_process_rxbuf
_qlcnic_process_rxbuf:                  ; @qlcnic_process_rxbuf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x3
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #8]
	add	x22, x8, x2, lsl #4
	ldr	x8, [x22]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_WARN_ON
	mov	x20, #0
	b	LBB0_8
LBB0_2:
	ldr	w0, [x19, #16]
	ldr	w1, [x22, #8]
	ldr	w2, [x20]
Lloh0:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	bl	_pci_unmap_single
	ldr	x20, [x22]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _STATUS_CKSUM_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STATUS_CKSUM_OK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x21
Lloh9:
	adrp	x8, _STATUS_CKSUM_LOOP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STATUS_CKSUM_LOOP@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ccmp	x8, x21, #4, ne
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_6
LBB0_4:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
Lloh12:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	bl	_likely
	cbnz	x0, LBB0_4
LBB0_6:
	mov	x0, x20
	bl	_skb_checksum_none_assert
LBB0_7:
	str	xzr, [x22]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_STATUS_CKSUM_OK,8,3            ; @STATUS_CKSUM_OK
	.comm	_STATUS_CKSUM_LOOP,8,3          ; @STATUS_CKSUM_LOOP
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.no_dead_strip	_qlcnic_process_rxbuf
.subsections_via_symbols
