	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_dp_swap_enable
_nfp_net_dp_swap_enable:                ## @nfp_net_dp_swap_enable
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_nfp_net_dp_swap
	cmpl	$0, (%r15)
	je	LBB0_3
## %bb.1:
	leaq	8(%r15), %r14
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rsi
	addq	%r12, %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_nfp_net_vector_assign_rings
	incq	%rbx
	movl	(%r15), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movq	16(%r15), %rdi
	movl	24(%r15), %esi
	callq	_netif_set_real_num_rx_queues
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%r15), %rsi
	movq	16(%r15), %rdi
	cmpq	%rsi, (%rdi)
	je	LBB0_7
## %bb.5:
	callq	_netif_set_real_num_tx_queues
	testl	%eax, %eax
	jne	LBB0_6
LBB0_7:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_net_set_config_and_enable  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nfp_net_dp_swap_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_net_dp_swap_enable
_nfp_net_dp_swap_enable:                ; @nfp_net_dp_swap_enable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_nfp_net_dp_swap
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x20, #0
	add	x21, x19, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x1, x8, x22
	mov	x0, x21
	mov	x2, x20
	bl	_nfp_net_vector_assign_rings
	add	x20, x20, #1
	ldr	w8, [x19]
	add	x22, x22, #4
	cmp	x20, x8
	b.lo	LBB0_2
LBB0_3:
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #24]
	bl	_netif_set_real_num_rx_queues
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldp	x1, x0, [x19, #8]
	ldr	x8, [x0]
	cmp	x8, x1
	b.eq	LBB0_7
; %bb.6:
	bl	_netif_set_real_num_tx_queues
	cbnz	w0, LBB0_4
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nfp_net_set_config_and_enable
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nfp_net_dp_swap_enable
.subsections_via_symbols
