	.file	"extr_qos_conf.c_nfp_flower_setup_qos_offload.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unsupported offload: loaded firmware does not support qos rate limit offload"
	.text
	.p2align 4
	.globl	nfp_flower_setup_qos_offload
	.type	nfp_flower_setup_qos_offload, @function
nfp_flower_setup_qos_offload:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	mov	rcx, QWORD PTR 8[rdx]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR NFP_FL_FEATS_VF_RLIM[rip], eax
	je	.L14
	mov	eax, DWORD PTR [rdx]
	cmp	eax, 129
	je	.L4
	cmp	eax, 130
	je	.L5
	cmp	eax, 128
	je	.L15
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rsi, .LC0[rip]
	mov	rdi, rcx
	call	NL_SET_ERR_MSG_MOD@PLT
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	jmp	nfp_flower_stats_rate_limiter@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	jmp	nfp_flower_install_rate_limiter@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	jmp	nfp_flower_remove_rate_limiter@PLT
	.cfi_endproc
.LFE0:
	.size	nfp_flower_setup_qos_offload, .-nfp_flower_setup_qos_offload
	.comm	NFP_FL_FEATS_VF_RLIM,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_qos_conf.c_nfp_flower_setup_qos_offload.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unsupported offload: loaded firmware does not suppo"
	.ascii	"rt qos rate limit offload\000"
	.text
	.align	2
	.global	nfp_flower_setup_qos_offload
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfp_flower_setup_qos_offload, %function
nfp_flower_setup_qos_offload:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L13
	ldr	lr, [r0]
	ldr	r3, [r3]
	ldr	lr, [lr]
	tst	lr, r3
	ldr	r3, [r2, #4]
	beq	.L11
	ldr	ip, [r2]
	cmp	ip, #129
	beq	.L4
	cmp	ip, #130
	beq	.L5
	cmp	ip, #128
	beq	.L12
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L11:
	mov	r0, r3
	ldr	r1, .L13+8
	bl	NL_SET_ERR_MSG_MOD
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L12:
	pop	{r4, lr}
	b	nfp_flower_stats_rate_limiter
.L4:
	pop	{r4, lr}
	b	nfp_flower_install_rate_limiter
.L5:
	pop	{r4, lr}
	b	nfp_flower_remove_rate_limiter
.L14:
	.align	2
.L13:
	.word	NFP_FL_FEATS_VF_RLIM
	.word	EOPNOTSUPP
	.word	.LC0
	.size	nfp_flower_setup_qos_offload, .-nfp_flower_setup_qos_offload
	.comm	NFP_FL_FEATS_VF_RLIM,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
