	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_vnic_init
_nfp_flower_vnic_init:                  ## @nfp_flower_vnic_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	%rsi, (%r14)
	movq	%r14, %rsi
	callq	_nfp_flower_spawn_phy_reprs
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFP_REPR_TYPE_PF@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	$1, %ecx
	callq	_nfp_flower_spawn_vnic_reprs
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	(%r15), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.3:
	movq	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFP_REPR_TYPE_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_nfp_flower_spawn_vnic_reprs
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movl	%eax, %r12d
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_nfp_reprs_clean_and_free_by_type
	movl	%r12d, %ebx
LBB0_5:
	movq	_NFP_REPR_TYPE_PHYS_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_nfp_reprs_clean_and_free_by_type
LBB0_6:
	movq	$0, (%r14)
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF,4,2 ## @NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF
	.comm	_NFP_REPR_TYPE_PF,4,2           ## @NFP_REPR_TYPE_PF
	.comm	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE_VF,4,2 ## @NFP_FLOWER_CMSG_PORT_VNIC_TYPE_VF
	.comm	_NFP_REPR_TYPE_VF,4,2           ## @NFP_REPR_TYPE_VF
	.comm	_NFP_REPR_TYPE_PHYS_PORT,4,2    ## @NFP_REPR_TYPE_PHYS_PORT
	.no_dead_strip	_nfp_flower_vnic_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_vnic_init
_nfp_flower_vnic_init:                  ; @nfp_flower_vnic_init
	.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	x20, x0
	ldr	x19, [x0, #8]
	str	x1, [x19]
	mov	x1, x19
	bl	_nfp_flower_spawn_phy_reprs
	mov	x21, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x22, _NFP_REPR_TYPE_PF@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NFP_REPR_TYPE_PF@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	w3, #1
	bl	_nfp_flower_spawn_vnic_reprs
	mov	x21, x0
	cbz	w0, LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _NFP_REPR_TYPE_PHYS_PORT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NFP_REPR_TYPE_PHYS_PORT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_nfp_reprs_clean_and_free_by_type
LBB0_3:
	str	xzr, [x19]
LBB0_4:
	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
LBB0_5:
	ldr	x8, [x20]
	ldr	w3, [x8]
	cbz	w3, LBB0_8
; %bb.6:
Lloh8:
	adrp	x8, _NFP_FLOWER_CMSG_PORT_VNIC_TYPE_VF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NFP_FLOWER_CMSG_PORT_VNIC_TYPE_VF@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _NFP_REPR_TYPE_VF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NFP_REPR_TYPE_VF@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_nfp_flower_spawn_vnic_reprs
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.7:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_nfp_reprs_clean_and_free_by_type
	b	LBB0_2
LBB0_8:
	mov	w21, #0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF,4,2 ; @NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF
	.comm	_NFP_REPR_TYPE_PF,4,2           ; @NFP_REPR_TYPE_PF
	.comm	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE_VF,4,2 ; @NFP_FLOWER_CMSG_PORT_VNIC_TYPE_VF
	.comm	_NFP_REPR_TYPE_VF,4,2           ; @NFP_REPR_TYPE_VF
	.comm	_NFP_REPR_TYPE_PHYS_PORT,4,2    ; @NFP_REPR_TYPE_PHYS_PORT
	.no_dead_strip	_nfp_flower_vnic_init
.subsections_via_symbols
