	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_process_rcv_diag
_qlcnic_83xx_process_rcv_diag:          ## @qlcnic_83xx_process_rcv_diag
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	24(%rdi), %r15
	xorl	%edi, %edi
	cmpl	%esi, (%r13)
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	(%r15), %r12
	movslq	%ebx, %rbx
	movl	(%r14), %edi
	callq	_qlcnic_83xx_hndl
	movl	%eax, %r15d
	xorl	%edi, %edi
	cmpl	(%r12,%rbx,8), %eax
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	(%r12,%rbx,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	callq	_qlcnic_83xx_pktln
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_STATUS_CKSUM_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_qlcnic_process_rxbuf
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r14
	movl	4(%r12,%rbx,8), %esi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%esi, %eax
	cmovll	%eax, %esi
	movq	%r14, %rdi
	callq	_skb_put
	movl	(%r14), %edi
	movl	16(%r13), %esi
	callq	_qlcnic_check_loopback_buff
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_dump_skb
	jmp	LBB0_6
LBB0_4:
	movq	8(%r13), %rax
	incl	(%rax)
LBB0_6:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb_any              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_CKSUM_OK,4,2            ## @STATUS_CKSUM_OK
	.no_dead_strip	_qlcnic_83xx_process_rcv_diag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_83xx_process_rcv_diag
_qlcnic_83xx_process_rcv_diag:          ; @qlcnic_83xx_process_rcv_diag
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #24]
	ldr	w8, [x0]
	cmp	w8, w1
	cset	w0, le
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x25, [x22]
	add	x22, x25, w20, sxtw #3
	ldr	w0, [x21]
	bl	_qlcnic_83xx_hndl
	mov	x23, x0
	ldr	w8, [x22]
	cmp	w0, w8
	cset	w0, ge
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_2:
	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
LBB0_3:
	ldr	w0, [x21]
	bl	_qlcnic_83xx_pktln
	mov	x24, x0
Lloh0:
	adrp	x8, _STATUS_CKSUM_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_CKSUM_OK@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_qlcnic_process_rxbuf
	cbz	x0, LBB0_2
; %bb.4:
	mov	x21, x0
	sxtw	x8, w20
	add	x8, x25, x8, lsl #3
	ldr	w8, [x8, #4]
	cmp	w24, w8
	csel	w1, w24, w8, lt
	bl	_skb_put
	ldr	w0, [x21]
	ldr	w1, [x19, #16]
	bl	_qlcnic_check_loopback_buff
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x19
	bl	_dump_skb
	b	LBB0_7
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_7:
	mov	x0, x21
	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
	b	_dev_kfree_skb_any
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_CKSUM_OK,4,2            ; @STATUS_CKSUM_OK
	.no_dead_strip	_qlcnic_83xx_process_rcv_diag
.subsections_via_symbols
