	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_flower_setup_qos_offload   ## -- Begin function nfp_flower_setup_qos_offload
	.p2align	4, 0x90
_nfp_flower_setup_qos_offload:          ## @nfp_flower_setup_qos_offload
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdx), %rcx
	movq	(%rdi), %r8
	movq	_NFP_FL_FEATS_VF_RLIM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r8)
	je	LBB0_1
## %bb.3:
	movl	(%rdx), %eax
	cmpl	$128, %eax
	je	LBB0_8
## %bb.4:
	cmpl	$130, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$129, %eax
	jne	LBB0_2
## %bb.6:
	popq	%rbp
	jmp	_nfp_flower_install_rate_limiter ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rcx, %rdi
	callq	_NL_SET_ERR_MSG_MOD
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_8:
	popq	%rbp
	jmp	_nfp_flower_stats_rate_limiter  ## TAILCALL
LBB0_7:
	popq	%rbp
	jmp	_nfp_flower_remove_rate_limiter ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_FL_FEATS_VF_RLIM,4,2       ## @NFP_FL_FEATS_VF_RLIM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported offload: loaded firmware does not support qos rate limit offload"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_flower_setup_qos_offload   ; -- Begin function nfp_flower_setup_qos_offload
	.p2align	2
_nfp_flower_setup_qos_offload:          ; @nfp_flower_setup_qos_offload
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x3, [x2, #8]
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _NFP_FL_FEATS_VF_RLIM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_FL_FEATS_VF_RLIM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	ldr	w8, [x2]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #130
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_nfp_flower_install_rate_limiter
LBB0_5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x3
	bl	_NL_SET_ERR_MSG_MOD
LBB0_6:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_nfp_flower_stats_rate_limiter
LBB0_8:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_nfp_flower_remove_rate_limiter
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_FL_FEATS_VF_RLIM,4,2       ; @NFP_FL_FEATS_VF_RLIM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported offload: loaded firmware does not support qos rate limit offload"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
.subsections_via_symbols
