	.file	"extr_nfp_net_common.c_nfp_net_irqs_assign.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"More rings (%d,%d) than vectors (%d).\n"
	.text
	.p2align 4
	.globl	nfp_net_irqs_assign
	.type	nfp_net_irqs_assign, @function
nfp_net_irqs_assign:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, edx
	sub	rax, QWORD PTR NFP_NET_NON_Q_VECTORS[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	QWORD PTR [rdi], rax
	sal	edx, 2
	mov	QWORD PTR 8[rdi], rax
	mov	edi, DWORD PTR 48[rdi]
	call	memcpy@PLT
	mov	rsi, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR 24[rbx]
	cmp	rsi, rdi
	jg	.L3
	cmp	rdi, rcx
	jge	.L4
.L3:
	mov	r9d, DWORD PTR 40[rbx]
	mov	r8, rdi
	mov	rdx, rsi
	lea	rsi, .LC0[rip]
	mov	edi, r9d
	call	dev_warn@PLT
	mov	rsi, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 8[rbx]
.L4:
	call	min@PLT
	mov	rsi, QWORD PTR 24[rbx]
	mov	rdi, QWORD PTR 8[rbx]
	mov	QWORD PTR 16[rbx], rax
	call	min@PLT
	mov	QWORD PTR 24[rbx], rax
	mov	QWORD PTR 32[rbx], rax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nfp_net_irqs_assign, .-nfp_net_irqs_assign
	.comm	NFP_NET_NON_Q_VECTORS,8,8
	.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_nfp_net_common.c_nfp_net_irqs_assign.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"More rings (%d,%d) than vectors (%d).\012\000"
	.text
	.align	2
	.global	nfp_net_irqs_assign
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfp_net_irqs_assign, %function
nfp_net_irqs_assign:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r2
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, .L7
	sub	sp, sp, #8
	ldr	ip, [r0]
	lsl	r2, r2, #2
	sub	r3, r3, ip
	str	r3, [r4]
	str	r3, [r4, #4]
	ldr	r0, [r4, #24]
	bl	memcpy
	ldmib	r4, {r0, r1, r3}
	cmp	r1, r0
	bgt	.L3
	cmp	r0, r3
	bge	.L4
.L3:
	str	r0, [sp]
	mov	r2, r1
	ldr	r0, [r4, #20]
	ldr	r1, .L7+4
	bl	dev_warn
	ldmib	r4, {r0, r1}
.L4:
	bl	min
	ldr	r1, [r4, #12]
	str	r0, [r4, #8]
	ldr	r0, [r4, #4]
	bl	min
	str	r0, [r4, #12]
	str	r0, [r4, #16]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	NFP_NET_NON_Q_VECTORS
	.word	.LC0
	.size	nfp_net_irqs_assign, .-nfp_net_irqs_assign
	.comm	NFP_NET_NON_Q_VECTORS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
