	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_siena_sriov_get_vf_config  ## -- Begin function efx_siena_sriov_get_vf_config
	.p2align	4, 0x90
_efx_siena_sriov_get_vf_config:         ## @efx_siena_sriov_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	%esi, (%rdi)
	jle	LBB0_1
## %bb.2:
	movq	%rdx, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movslq	%esi, %rbx
	movl	%ebx, (%rdx)
	movl	32(%rdx), %edi
	shlq	$4, %rbx
	movl	12(%r14,%rbx), %esi
	callq	_ether_addr_copy
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
	movl	8(%r14,%rbx), %edi
	callq	_ntohs
	movq	_VLAN_VID_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, 4(%r15)
	movq	_VLAN_PRIO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	andl	$7, %eax
	movl	%eax, 8(%r15)
	movq	(%r14,%rbx), %rax
	movq	_VF_TX_FILTER_ON@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	%edx, 12(%r15)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VLAN_VID_MASK,4,2              ## @VLAN_VID_MASK
	.comm	_VLAN_PRIO_SHIFT,4,2            ## @VLAN_PRIO_SHIFT
	.comm	_VF_TX_FILTER_ON,8,3            ## @VF_TX_FILTER_ON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_siena_sriov_get_vf_config  ; -- Begin function efx_siena_sriov_get_vf_config
	.p2align	2
_efx_siena_sriov_get_vf_config:         ; @efx_siena_sriov_get_vf_config
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_2
; %bb.1:
	mov	x19, x2
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	str	w1, [x2]
	ldr	w0, [x2, #32]
	add	x20, x8, w1, sxtw #4
	ldr	w1, [x20, #12]
	bl	_ether_addr_copy
	stp	xzr, xzr, [x19, #16]
	ldr	w0, [x20, #8]
	bl	_ntohs
	mov	x8, x0
	mov	w0, #0
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
	and	w8, w8, #0x7
	stp	w9, w8, [x19, #4]
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _VF_TX_FILTER_ON@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VF_TX_FILTER_ON@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	str	w8, [x19, #12]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VLAN_VID_MASK,4,2              ; @VLAN_VID_MASK
	.comm	_VLAN_PRIO_SHIFT,4,2            ; @VLAN_PRIO_SHIFT
	.comm	_VF_TX_FILTER_ON,8,3            ; @VF_TX_FILTER_ON
.subsections_via_symbols
