	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_pf_init_vnic
_nfp_net_pf_init_vnic:                  ## @nfp_net_pf_init_vnic
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	%edx, (%rsi)
	movq	8(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	callq	_nfp_devlink_port_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
LBB0_2:
	movq	%r15, %rdi
	callq	_nfp_net_init
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_3
LBB0_10:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_nfp_devlink_port_unregister
	jmp	LBB0_12
LBB0_3:
	movl	4(%r14), %esi
	movq	%r15, %rdi
	callq	_nfp_net_debugfs_vnic_add
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_nfp_devlink_port_type_eth_set
LBB0_5:
	movq	%r15, %rdi
	callq	_nfp_net_info
	movq	%r15, %rdi
	callq	_nfp_net_is_data_vnic
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	_nfp_app_vnic_init
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	movl	%eax, %r14d
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_nfp_devlink_port_type_clear
LBB0_9:
	leaq	16(%r15), %rdi
	callq	_nfp_net_debugfs_dir_clean
	movq	%r15, %rdi
	callq	_nfp_net_clean
	movl	%r14d, %ebx
	jmp	LBB0_10
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nfp_net_pf_init_vnic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_net_pf_init_vnic
_nfp_net_pf_init_vnic:                  ; @nfp_net_pf_init_vnic
	.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, x1
	mov	x20, x0
	str	w2, [x1]
	ldr	x1, [x1, #8]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_nfp_devlink_port_register
	mov	x21, x0
	cbnz	w0, LBB0_13
LBB0_2:
	mov	x0, x19
	bl	_nfp_net_init
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_13
LBB0_4:
	bl	_nfp_devlink_port_unregister
	b	LBB0_13
LBB0_5:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_nfp_net_debugfs_vnic_add
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_nfp_devlink_port_type_eth_set
LBB0_7:
	mov	x0, x19
	bl	_nfp_net_info
	mov	x0, x19
	bl	_nfp_net_is_data_vnic
	cbz	x0, LBB0_12
; %bb.8:
	ldr	w0, [x20]
	mov	x1, x19
	bl	_nfp_app_vnic_init
	mov	x21, x0
	cbz	w0, LBB0_13
; %bb.9:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_nfp_devlink_port_type_clear
LBB0_11:
	add	x0, x19, #16
	bl	_nfp_net_debugfs_dir_clean
	mov	x0, x19
	bl	_nfp_net_clean
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_4
	b	LBB0_13
LBB0_12:
	mov	w21, #0
LBB0_13:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nfp_net_pf_init_vnic
.subsections_via_symbols
