	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_cfa_adv_flow_mgnt_qcaps
_bnxt_hwrm_cfa_adv_flow_mgnt_qcaps:     ## @bnxt_hwrm_cfa_adv_flow_mgnt_qcaps
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -40(%rbp)
	movq	_BNXT_FW_CAP_CFA_ADV_FLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	_HWRM_CFA_ADV_FLOW_MGNT_QCAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %r15
	movq	%r15, %rsi
	movl	$-1, %ecx
	movl	$-1, %r8d
	callq	_bnxt_hwrm_cmd_hdr_init
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	__hwrm_send_message
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	(%r12), %edi
	callq	_le32_to_cpu
	movq	_CFA_ADV_FLOW_MGNT_QCAPS_RESP_FLAGS_RFS_RING_TBL_IDX_SUPPORTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_5:
	movq	%r14, %rdi
	callq	_mutex_unlock
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_FW_CAP_CFA_ADV_FLOW,4,2   ## @BNXT_FW_CAP_CFA_ADV_FLOW
	.comm	_HWRM_CFA_ADV_FLOW_MGNT_QCAPS,4,2 ## @HWRM_CFA_ADV_FLOW_MGNT_QCAPS
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
	.comm	_CFA_ADV_FLOW_MGNT_QCAPS_RESP_FLAGS_RFS_RING_TBL_IDX_SUPPORTED,4,2 ## @CFA_ADV_FLOW_MGNT_QCAPS_RESP_FLAGS_RFS_RING_TBL_IDX_SUPPORTED
	.comm	_BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX,4,2 ## @BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX
	.no_dead_strip	_bnxt_hwrm_cfa_adv_flow_mgnt_qcaps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_hwrm_cfa_adv_flow_mgnt_qcaps
_bnxt_hwrm_cfa_adv_flow_mgnt_qcaps:     ; @bnxt_hwrm_cfa_adv_flow_mgnt_qcaps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	wzr, [sp, #8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _BNXT_FW_CAP_CFA_ADV_FLOW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNXT_FW_CAP_CFA_ADV_FLOW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x22, [x0, #8]
Lloh3:
	adrp	x8, _HWRM_CFA_ADV_FLOW_MGNT_QCAPS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HWRM_CFA_ADV_FLOW_MGNT_QCAPS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	w3, #-1
	mov	w4, #-1
	bl	_bnxt_hwrm_cmd_hdr_init
	add	x20, x19, #4
	mov	x0, x20
	bl	_mutex_lock
Lloh6:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #4
	bl	__hwrm_send_message
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x22]
	bl	_le32_to_cpu
Lloh9:
	adrp	x8, _CFA_ADV_FLOW_MGNT_QCAPS_RESP_FLAGS_RFS_RING_TBL_IDX_SUPPORTED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CFA_ADV_FLOW_MGNT_QCAPS_RESP_FLAGS_RFS_RING_TBL_IDX_SUPPORTED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	mov	x0, x20
	bl	_mutex_unlock
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_FW_CAP_CFA_ADV_FLOW,4,2   ; @BNXT_FW_CAP_CFA_ADV_FLOW
	.comm	_HWRM_CFA_ADV_FLOW_MGNT_QCAPS,4,2 ; @HWRM_CFA_ADV_FLOW_MGNT_QCAPS
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
	.comm	_CFA_ADV_FLOW_MGNT_QCAPS_RESP_FLAGS_RFS_RING_TBL_IDX_SUPPORTED,4,2 ; @CFA_ADV_FLOW_MGNT_QCAPS_RESP_FLAGS_RFS_RING_TBL_IDX_SUPPORTED
	.comm	_BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX,4,2 ; @BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX
	.no_dead_strip	_bnxt_hwrm_cfa_adv_flow_mgnt_qcaps
.subsections_via_symbols
