	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_force_rx_discard
_bnxt_force_rx_discard:                 ## @bnxt_force_rx_discard
	.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	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %r12d
	movl	%r12d, %edi
	callq	_RING_CMP
	movl	%eax, %ebx
	movq	(%r13), %r14
	movl	%eax, %edi
	callq	_CP_RING
	movq	(%r14,%rax,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_CP_IDX
	movq	%rax, %r14
	movl	%r12d, %edi
	callq	_NEXT_RAW_CMP
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_RING_CMP
	movl	%eax, %ebx
	movq	(%r13), %r12
	movl	%eax, %edi
	callq	_CP_RING
	movq	(%r12,%rax,8), %r12
	movl	%ebx, %edi
	callq	_CP_IDX
	leaq	(%r12,%rax,4), %r12
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_RX_CMP_VALID
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rdi
	callq	_RX_CMP_TYPE
	movq	_CMP_TYPE_RX_L2_CMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_RX_CMPL_ERRORS_CRC_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_CMP_TYPE_RX_L2_TPA_END_CMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	_RX_TPA_END_CMP_ERRORS@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, (%r12)
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnxt_rx_pkt                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_CMP_TYPE_RX_L2_CMP,8,3         ## @CMP_TYPE_RX_L2_CMP
	.comm	_RX_CMPL_ERRORS_CRC_ERROR,4,2   ## @RX_CMPL_ERRORS_CRC_ERROR
	.comm	_CMP_TYPE_RX_L2_TPA_END_CMP,8,3 ## @CMP_TYPE_RX_L2_TPA_END_CMP
	.comm	_RX_TPA_END_CMP_ERRORS,4,2      ## @RX_TPA_END_CMP_ERRORS
	.no_dead_strip	_bnxt_force_rx_discard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_force_rx_discard
_bnxt_force_rx_discard:                 ; @bnxt_force_rx_discard
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w23, [x2]
	mov	x0, x23
	bl	_RING_CMP
	mov	x24, x0
	ldr	x25, [x21]
	bl	_CP_RING
	ldr	x26, [x25, x0, lsl #3]
	mov	x0, x24
	bl	_CP_IDX
	mov	x24, x0
	mov	x0, x23
	bl	_NEXT_RAW_CMP
	mov	x25, x0
	bl	_RING_CMP
	mov	x23, x0
	ldr	x27, [x21]
	bl	_CP_RING
	ldr	x27, [x27, x0, lsl #3]
	mov	x0, x23
	bl	_CP_IDX
	add	x23, x27, x0, lsl #2
	mov	x0, x23
	mov	x1, x25
	bl	_RX_CMP_VALID
	cbz	w0, LBB0_3
; %bb.1:
	add	x0, x26, x24, lsl #2
	bl	_RX_CMP_TYPE
Lloh0:
	adrp	x8, _CMP_TYPE_RX_L2_CMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMP_TYPE_RX_L2_CMP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _RX_CMPL_ERRORS_CRC_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_CMPL_ERRORS_CRC_ERROR@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x8, _CMP_TYPE_RX_L2_TPA_END_CMP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CMP_TYPE_RX_L2_TPA_END_CMP@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
Lloh11:
	adrp	x8, _RX_TPA_END_CMP_ERRORS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RX_TPA_END_CMP_ERRORS@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	w8, [x23]
	orr	w8, w8, w0
	str	w8, [x23]
LBB0_7:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_bnxt_rx_pkt
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_CMP_TYPE_RX_L2_CMP,8,3         ; @CMP_TYPE_RX_L2_CMP
	.comm	_RX_CMPL_ERRORS_CRC_ERROR,4,2   ; @RX_CMPL_ERRORS_CRC_ERROR
	.comm	_CMP_TYPE_RX_L2_TPA_END_CMP,8,3 ; @CMP_TYPE_RX_L2_TPA_END_CMP
	.comm	_RX_TPA_END_CMP_ERRORS,4,2      ; @RX_TPA_END_CMP_ERRORS
	.no_dead_strip	_bnxt_force_rx_discard
.subsections_via_symbols
