	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_net_irqs_assign            ## -- Begin function nfp_net_irqs_assign
	.p2align	4, 0x90
_nfp_net_irqs_assign:                   ## @nfp_net_irqs_assign
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	%edx, %eax
	movq	_NFP_NET_NON_Q_VECTORS@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, (%rdi)
	movq	%rax, 8(%rdi)
	movl	48(%rdi), %edi
	shll	$2, %edx
	callq	_memcpy
	movq	8(%rbx), %r8
	movq	16(%rbx), %rdx
	movq	24(%rbx), %rcx
	cmpq	%r8, %rdx
	jg	LBB0_2
## %bb.1:
	cmpq	%r8, %rcx
	jle	LBB0_3
LBB0_2:
	movl	40(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movq	8(%rbx), %r8
	movq	16(%rbx), %rdx
LBB0_3:
	movq	%r8, %rdi
	movq	%rdx, %rsi
	callq	_min
	movq	%rax, 16(%rbx)
	movq	8(%rbx), %rdi
	movq	24(%rbx), %rsi
	callq	_min
	movq	%rax, 24(%rbx)
	movq	%rax, 32(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_NET_NON_Q_VECTORS,8,3      ## @NFP_NET_NON_Q_VECTORS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"More rings (%d,%d) than vectors (%d).\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_net_irqs_assign            ; -- Begin function nfp_net_irqs_assign
	.p2align	2
_nfp_net_irqs_assign:                   ; @nfp_net_irqs_assign
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, w2
Lloh0:
	adrp	x9, _NFP_NET_NON_Q_VECTORS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_NET_NON_Q_VECTORS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sub	x8, x8, x9
	stp	x8, x8, [x0]
	ldr	w0, [x0, #48]
	lsl	w2, w2, #2
	bl	_memcpy
	ldp	x4, x2, [x19, #8]
	ldr	x3, [x19, #24]
	cmp	x2, x4
	ccmp	x3, x4, #0, le
	b.le	LBB0_2
; %bb.1:
	ldr	w0, [x19, #40]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	ldp	x4, x2, [x19, #8]
LBB0_2:
	mov	x0, x4
	mov	x1, x2
	bl	_min
	str	x0, [x19, #16]
	ldr	x0, [x19, #8]
	ldr	x1, [x19, #24]
	bl	_min
	stp	x0, x0, [x19, #24]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_NET_NON_Q_VECTORS,8,3      ; @NFP_NET_NON_Q_VECTORS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"More rings (%d,%d) than vectors (%d).\n"

.subsections_via_symbols
