	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_check_pf_rings
_bnxt_hwrm_check_pf_rings:              ## @bnxt_hwrm_check_pf_rings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%r9d, %eax
	movl	%r8d, %r9d
	movl	%ecx, %r8d
	movl	%edx, %ecx
	movl	%esi, %edx
	movq	%rdi, %r14
	movl	16(%rbp), %ebx
	movq	$0, -24(%rbp)
	leaq	-24(%rbp), %rsi
	pushq	%rbx
	pushq	%rax
	callq	___bnxt_hwrm_reserve_pf_rings
	addq	$16, %rsp
	movq	_FUNC_CFG_REQ_FLAGS_TX_ASSETS_TEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_BNXT_NEW_RM
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_FUNC_CFG_REQ_FLAGS_RX_ASSETS_TEST@GOTPCREL(%rip), %rax
	movq	_FUNC_CFG_REQ_FLAGS_CMPL_ASSETS_TEST@GOTPCREL(%rip), %rcx
	movq	_FUNC_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST@GOTPCREL(%rip), %rdx
	movq	_FUNC_CFG_REQ_FLAGS_VNIC_ASSETS_TEST@GOTPCREL(%rip), %rsi
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	orl	(%rsi), %ebx
	movq	_BNXT_FLAG_CHIP_P5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.2:
	movq	_FUNC_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST@GOTPCREL(%rip), %rax
	movq	_FUNC_CFG_REQ_FLAGS_NQ_ASSETS_TEST@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	jmp	LBB0_4
LBB0_3:
	movq	_FUNC_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movl	%eax, -24(%rbp)
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_hwrm_send_message_silent
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FUNC_CFG_REQ_FLAGS_TX_ASSETS_TEST,4,2 ## @FUNC_CFG_REQ_FLAGS_TX_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_RX_ASSETS_TEST,4,2 ## @FUNC_CFG_REQ_FLAGS_RX_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_CMPL_ASSETS_TEST,4,2 ## @FUNC_CFG_REQ_FLAGS_CMPL_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST,4,2 ## @FUNC_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_VNIC_ASSETS_TEST,4,2 ## @FUNC_CFG_REQ_FLAGS_VNIC_ASSETS_TEST
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ## @BNXT_FLAG_CHIP_P5
	.comm	_FUNC_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST,4,2 ## @FUNC_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_NQ_ASSETS_TEST,4,2 ## @FUNC_CFG_REQ_FLAGS_NQ_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST,4,2 ## @FUNC_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
	.no_dead_strip	_bnxt_hwrm_check_pf_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_hwrm_check_pf_rings
_bnxt_hwrm_check_pf_rings:              ; @bnxt_hwrm_check_pf_rings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x7, x6
	mov	x6, x5
	mov	x5, x4
	mov	x4, x3
	mov	x3, x2
	mov	x2, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	add	x1, sp, #8
	bl	___bnxt_hwrm_reserve_pf_rings
Lloh0:
	adrp	x8, _FUNC_CFG_REQ_FLAGS_TX_ASSETS_TEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FUNC_CFG_REQ_FLAGS_TX_ASSETS_TEST@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_BNXT_NEW_RM
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _FUNC_CFG_REQ_FLAGS_RX_ASSETS_TEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FUNC_CFG_REQ_FLAGS_RX_ASSETS_TEST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _FUNC_CFG_REQ_FLAGS_CMPL_ASSETS_TEST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FUNC_CFG_REQ_FLAGS_CMPL_ASSETS_TEST@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _FUNC_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FUNC_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _FUNC_CFG_REQ_FLAGS_VNIC_ASSETS_TEST@GOTPAGE
Lloh13:
	ldr	x11, [x11, _FUNC_CFG_REQ_FLAGS_VNIC_ASSETS_TEST@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w8, w8, w20
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	ldr	w9, [x19]
Lloh15:
	adrp	x10, _BNXT_FLAG_CHIP_P5@GOTPAGE
Lloh16:
	ldr	x10, [x10, _BNXT_FLAG_CHIP_P5@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
Lloh18:
	adrp	x9, _FUNC_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FUNC_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _FUNC_CFG_REQ_FLAGS_NQ_ASSETS_TEST@GOTPAGE
Lloh22:
	ldr	x10, [x10, _FUNC_CFG_REQ_FLAGS_NQ_ASSETS_TEST@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w20, w8, w10
	b	LBB0_4
LBB0_3:
Lloh24:
	adrp	x9, _FUNC_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FUNC_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w20, w9, w8
LBB0_4:
	mov	x0, x20
	bl	_cpu_to_le32
	str	w0, [sp, #8]
Lloh27:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #8
	bl	_hwrm_send_message_silent
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_FUNC_CFG_REQ_FLAGS_TX_ASSETS_TEST,4,2 ; @FUNC_CFG_REQ_FLAGS_TX_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_RX_ASSETS_TEST,4,2 ; @FUNC_CFG_REQ_FLAGS_RX_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_CMPL_ASSETS_TEST,4,2 ; @FUNC_CFG_REQ_FLAGS_CMPL_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST,4,2 ; @FUNC_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_VNIC_ASSETS_TEST,4,2 ; @FUNC_CFG_REQ_FLAGS_VNIC_ASSETS_TEST
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ; @BNXT_FLAG_CHIP_P5
	.comm	_FUNC_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST,4,2 ; @FUNC_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_NQ_ASSETS_TEST,4,2 ; @FUNC_CFG_REQ_FLAGS_NQ_ASSETS_TEST
	.comm	_FUNC_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST,4,2 ; @FUNC_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
	.no_dead_strip	_bnxt_hwrm_check_pf_rings
.subsections_via_symbols
