	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_get_vf_config
_be_get_vf_config:                      ## @be_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	8(%rax), %r12
	movq	%rax, %rdi
	callq	_sriov_enabled
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	cmpl	%r15d, (%rbx)
	jle	LBB0_4
## %bb.5:
	movslq	%r15d, %rax
	movl	%eax, (%r14)
	shlq	$2, %rax
	leaq	(%rax,%rax,4), %r15
	movl	16(%r12,%r15), %eax
	movl	%eax, 32(%r14)
	movq	$0, 24(%r14)
	movl	(%r12,%r15), %eax
	movq	_VLAN_VID_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, 4(%r14)
	movq	_VLAN_PRIO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, 8(%r14)
	leaq	20(%r14), %rdi
	movl	12(%r12,%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	8(%rbx), %rax
	movl	8(%rax,%r15), %ecx
	movl	%ecx, 16(%r14)
	movl	4(%rax,%r15), %eax
	movl	%eax, 12(%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VLAN_VID_MASK,4,2              ## @VLAN_VID_MASK
	.comm	_VLAN_PRIO_SHIFT,4,2            ## @VLAN_PRIO_SHIFT
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_be_get_vf_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_get_vf_config
_be_get_vf_config:                      ; @be_get_vf_config
	.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, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x22, [x0, #8]
	bl	_sriov_enabled
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, w21
	b.le	LBB0_4
; %bb.2:
	sxtw	x8, w21
	str	w21, [x19]
	add	x8, x8, x8, lsl #2
	lsl	x21, x8, #2
	add	x8, x22, x21
	ldp	w1, w9, [x8, #12]
	str	w9, [x19, #32]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _VLAN_VID_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VLAN_VID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh3:
	adrp	x10, _VLAN_PRIO_SHIFT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VLAN_PRIO_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	asr	w8, w8, w10
	str	xzr, [x19, #24]
	stp	w9, w8, [x19, #4]
	add	x0, x19, #20
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_memcpy
	mov	w0, #0
	ldr	x8, [x20, #8]
	add	x8, x8, x21
	ldur	d0, [x8, #4]
	stur	d0, [x19, #12]
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _EPERM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VLAN_VID_MASK,4,2              ; @VLAN_VID_MASK
	.comm	_VLAN_PRIO_SHIFT,4,2            ; @VLAN_PRIO_SHIFT
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_be_get_vf_config
.subsections_via_symbols
