	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_check_vf_rings
_bnxt_hwrm_check_vf_rings:              ## @bnxt_hwrm_check_vf_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	%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
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r12d
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	callq	_BNXT_NEW_RM
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	16(%rbp), %eax
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	pushq	%rax
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	___bnxt_hwrm_reserve_vf_rings
	addq	$16, %rsp
	movq	_FUNC_VF_CFG_REQ_FLAGS_TX_ASSETS_TEST@GOTPCREL(%rip), %rax
	movq	_FUNC_VF_CFG_REQ_FLAGS_RX_ASSETS_TEST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_FUNC_VF_CFG_REQ_FLAGS_CMPL_ASSETS_TEST@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_FUNC_VF_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_FUNC_VF_CFG_REQ_FLAGS_VNIC_ASSETS_TEST@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_FUNC_VF_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_BNXT_FLAG_CHIP_P5@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	andl	(%rbx), %ecx
	jne	LBB0_4
## %bb.3:
	movq	_FUNC_VF_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, -48(%rbp)
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_hwrm_send_message_silent
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FUNC_VF_CFG_REQ_FLAGS_TX_ASSETS_TEST,4,2 ## @FUNC_VF_CFG_REQ_FLAGS_TX_ASSETS_TEST
	.comm	_FUNC_VF_CFG_REQ_FLAGS_RX_ASSETS_TEST,4,2 ## @FUNC_VF_CFG_REQ_FLAGS_RX_ASSETS_TEST
	.comm	_FUNC_VF_CFG_REQ_FLAGS_CMPL_ASSETS_TEST,4,2 ## @FUNC_VF_CFG_REQ_FLAGS_CMPL_ASSETS_TEST
	.comm	_FUNC_VF_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST,4,2 ## @FUNC_VF_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST
	.comm	_FUNC_VF_CFG_REQ_FLAGS_VNIC_ASSETS_TEST,4,2 ## @FUNC_VF_CFG_REQ_FLAGS_VNIC_ASSETS_TEST
	.comm	_FUNC_VF_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST,4,2 ## @FUNC_VF_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ## @BNXT_FLAG_CHIP_P5
	.comm	_FUNC_VF_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST,4,2 ## @FUNC_VF_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
	.no_dead_strip	_bnxt_hwrm_check_vf_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_vf_rings
_bnxt_hwrm_check_vf_rings:              ; @bnxt_hwrm_check_vf_rings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	bl	_BNXT_NEW_RM
	cbz	w0, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x25
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	mov	x6, x21
	m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h18:
	adrp	x10, _BNXT_FLAG_CHIP_P5@GOTPAGE
Lloh19:
	ldr	x10, [x10, _BNXT_FLAG_CHIP_P5@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _FUNC_VF_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST@GOTPAGE
Lloh22:
	ldr	x11, [x11, _FUNC_VF_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, w11, wzr, eq
	orr	w0, w8, w9
	bl	_cpu_to_le32
	str	w0, [sp, #8]
Lloh24:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #8
	bl	_hwrm_send_message_silent
LBB0_2:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FUNC_VF_CFG_REQ_FLAGS_TX_ASSETS_TEST,4,2 ; @FUNC_VF_CFG_REQ_FLAGS_TX_ASSETS_TEST
	.comm	_FUNC_VF_CFG_REQ_FLAGS_RX_ASSETS_TEST,4,2 ; @FUNC_VF_CFG_REQ_FLAGS_RX_ASSETS_TEST
	.comm	_FUNC_VF_CFG_REQ_FLAGS_CMPL_ASSETS_TEST,4,2 ; @FUNC_VF_CFG_REQ_FLAGS_CMPL_ASSETS_TEST
	.comm	_FUNC_VF_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST,4,2 ; @FUNC_VF_CFG_REQ_FLAGS_STAT_CTX_ASSETS_TEST
	.comm	_FUNC_VF_CFG_REQ_FLAGS_VNIC_ASSETS_TEST,4,2 ; @FUNC_VF_CFG_REQ_FLAGS_VNIC_ASSETS_TEST
	.comm	_FUNC_VF_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST,4,2 ; @FUNC_VF_CFG_REQ_FLAGS_RSSCOS_CTX_ASSETS_TEST
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ; @BNXT_FLAG_CHIP_P5
	.comm	_FUNC_VF_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST,4,2 ; @FUNC_VF_CFG_REQ_FLAGS_RING_GRP_ASSETS_TEST
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
	.no_dead_strip	_bnxt_hwrm_check_vf_rings
.subsections_via_symbols
