	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_app_get_vf_config          ## -- Begin function nfp_app_get_vf_config
	.p2align	4, 0x90
_nfp_app_get_vf_config:                 ## @nfp_app_get_vf_config
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r15d
	callq	_nfp_app_from_netdev
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rcx
	movq	%rax, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_nfp_net_sriov_check
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_NFP_NET_VF_CFG_MB_SZ@GOTPCREL(%rip), %rax
	movq	_NFP_NET_VF_CFG_SZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	imull	%r15d, %r12d
	addl	(%rax), %r12d
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	%r12, %rdi
	callq	_readl
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	%r12, %rdi
	movq	_NFP_NET_VF_CFG_MAC_LO@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_readw
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	%r12, %rdi
	movq	_NFP_NET_VF_CFG_CTRL@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_readb
	movq	(%rbx), %rcx
	addq	(%rcx), %r12
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_NFP_NET_VF_CFG_VLAN@GOTPCREL(%rip), %rax
	addq	(%rax), %r12
	movq	%r12, %rdi
	callq	_readw
	movl	%eax, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movl	%r15d, (%r13)
	movq	48(%r13), %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_put_unaligned_be32
	movq	48(%r13), %rsi
	addq	$16, %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_put_unaligned_be16
	movq	_NFP_NET_VF_CFG_VLAN_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FIELD_GET
	movq	%rax, 40(%r13)
	movq	_NFP_NET_VF_CFG_VLAN_QOS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FIELD_GET
	movq	%rax, 32(%r13)
	movq	_NFP_NET_VF_CFG_CTRL_SPOOF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_FIELD_GET
	movq	%rax, 24(%r13)
	movq	_NFP_NET_VF_CFG_CTRL_TRUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FIELD_GET
	movq	%rax, 16(%r13)
	movq	_NFP_NET_VF_CFG_CTRL_LINK_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FIELD_GET
	movq	%rax, 8(%r13)
LBB0_2:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_NFP_NET_VF_CFG_MB_SZ,4,2       ## @NFP_NET_VF_CFG_MB_SZ
	.comm	_NFP_NET_VF_CFG_SZ,4,2          ## @NFP_NET_VF_CFG_SZ
	.comm	_NFP_NET_VF_CFG_MAC_LO,8,3      ## @NFP_NET_VF_CFG_MAC_LO
	.comm	_NFP_NET_VF_CFG_CTRL,8,3        ## @NFP_NET_VF_CFG_CTRL
	.comm	_NFP_NET_VF_CFG_VLAN,8,3        ## @NFP_NET_VF_CFG_VLAN
	.comm	_NFP_NET_VF_CFG_VLAN_VID,4,2    ## @NFP_NET_VF_CFG_VLAN_VID
	.comm	_NFP_NET_VF_CFG_VLAN_QOS,4,2    ## @NFP_NET_VF_CFG_VLAN_QOS
	.comm	_NFP_NET_VF_CFG_CTRL_SPOOF,4,2  ## @NFP_NET_VF_CFG_CTRL_SPOOF
	.comm	_NFP_NET_VF_CFG_CTRL_TRUST,4,2  ## @NFP_NET_VF_CFG_CTRL_TRUST
	.comm	_NFP_NET_VF_CFG_CTRL_LINK_STATE,4,2 ## @NFP_NET_VF_CFG_CTRL_LINK_STATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_app_get_vf_config          ; -- Begin function nfp_app_get_vf_config
	.p2align	2
_nfp_app_get_vf_config:                 ; @nfp_app_get_vf_config
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x21, x1
	bl	_nfp_app_from_netdev
	mov	x23, x0
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, x21
	mov	w2, #0
	bl	_nfp_net_sriov_check
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _NFP_NET_VF_CFG_MB_SZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NFP_NET_VF_CFG_MB_SZ@GOTPAGEOFF]
Lloh4:
	adrp	x9, _NFP_NET_VF_CFG_SZ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _NFP_NET_VF_CFG_SZ@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	madd	w26, w9, w21, w8
	ldr	x8, [x23]
	ldr	x8, [x8]
	add	x0, x8, x26
	bl	_readl
	mov	x24, x0
	ldr	x8, [x23]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _NFP_NET_VF_CFG_MAC_LO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NFP_NET_VF_CFG_MAC_LO@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x8, x8, x26
	add	x0, x8, x9
	bl	_readw
	mov	x25, x0
	ldr	x8, [x23]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _NFP_NET_VF_CFG_CTRL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NFP_NET_VF_CFG_CTRL@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x8, x8, x26
	add	x0, x8, x9
	bl	_readb
	mov	x22, x0
	ldr	x8, [x23]
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _NFP_NET_VF_CFG_VLAN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NFP_NET_VF_CFG_VLAN@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x8, x8, x26
	add	x0, x8, x9
	bl	_readw
	mov	x23, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	str	w21, [x19]
	ldr	x1, [x19, #48]
	mov	x0, x24
	bl	_put_unaligned_be32
	ldr	x8, [x19, #48]
	add	x1, x8, #16
	mov	x0, x25
	bl	_put_unaligned_be16
Lloh17:
	adrp	x8, _NFP_NET_VF_CFG_VLAN_VID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NFP_NET_VF_CFG_VLAN_VID@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_FIELD_GET
	str	x0, [x19, #40]
Lloh20:
	adrp	x8, _NFP_NET_VF_CFG_VLAN_QOS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NFP_NET_VF_CFG_VLAN_QOS@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_FIELD_GET
	str	x0, [x19, #32]
Lloh23:
	adrp	x8, _NFP_NET_VF_CFG_CTRL_SPOOF@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NFP_NET_VF_CFG_CTRL_SPOOF@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_FIELD_GET
	str	x0, [x19, #24]
Lloh26:
	adrp	x8, _NFP_NET_VF_CFG_CTRL_TRUST@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NFP_NET_VF_CFG_CTRL_TRUST@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_FIELD_GET
	str	x0, [x19, #16]
Lloh29:
	adrp	x8, _NFP_NET_VF_CFG_CTRL_LINK_STATE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NFP_NET_VF_CFG_CTRL_LINK_STATE@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_FIELD_GET
	str	x0, [x19, #8]
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_NFP_NET_VF_CFG_MB_SZ,4,2       ; @NFP_NET_VF_CFG_MB_SZ
	.comm	_NFP_NET_VF_CFG_SZ,4,2          ; @NFP_NET_VF_CFG_SZ
	.comm	_NFP_NET_VF_CFG_MAC_LO,8,3      ; @NFP_NET_VF_CFG_MAC_LO
	.comm	_NFP_NET_VF_CFG_CTRL,8,3        ; @NFP_NET_VF_CFG_CTRL
	.comm	_NFP_NET_VF_CFG_VLAN,8,3        ; @NFP_NET_VF_CFG_VLAN
	.comm	_NFP_NET_VF_CFG_VLAN_VID,4,2    ; @NFP_NET_VF_CFG_VLAN_VID
	.comm	_NFP_NET_VF_CFG_VLAN_QOS,4,2    ; @NFP_NET_VF_CFG_VLAN_QOS
	.comm	_NFP_NET_VF_CFG_CTRL_SPOOF,4,2  ; @NFP_NET_VF_CFG_CTRL_SPOOF
	.comm	_NFP_NET_VF_CFG_CTRL_TRUST,4,2  ; @NFP_NET_VF_CFG_CTRL_TRUST
	.comm	_NFP_NET_VF_CFG_CTRL_LINK_STATE,4,2 ; @NFP_NET_VF_CFG_CTRL_LINK_STATE
.subsections_via_symbols
