	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_cp_ring_for_rx
_bnxt_cp_ring_for_rx:                   ## @bnxt_cp_ring_for_rx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BNXT_FLAG_CHIP_P5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	8(%rsi), %rax
	movq	(%rax), %rax
	movq	_BNXT_RX_HDL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	popq	%rbp
	jmp	_bnxt_cp_ring_from_grp          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ## @BNXT_FLAG_CHIP_P5
	.comm	_BNXT_RX_HDL,8,3                ## @BNXT_RX_HDL
	.no_dead_strip	_bnxt_cp_ring_for_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_cp_ring_for_rx
_bnxt_cp_ring_for_rx:                   ; @bnxt_cp_ring_for_rx
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _BNXT_FLAG_CHIP_P5@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNXT_FLAG_CHIP_P5@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x1, #8]
Lloh3:
	adrp	x9, _BNXT_RX_HDL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNXT_RX_HDL@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8]
	ret
LBB0_2:
	b	_bnxt_cp_ring_from_grp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ; @BNXT_FLAG_CHIP_P5
	.comm	_BNXT_RX_HDL,8,3                ; @BNXT_RX_HDL
	.no_dead_strip	_bnxt_cp_ring_for_rx
.subsections_via_symbols
