	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_get_vf_config     ## -- Begin function qlcnic_sriov_get_vf_config
	.p2align	4, 0x90
_qlcnic_sriov_get_vf_config:            ## @qlcnic_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_qlcnic_sriov_pf_check
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	cmpl	%r14d, (%r12)
	jle	LBB0_4
## %bb.5:
	movq	8(%r12), %rax
	movslq	%r14d, %r14
	movq	(%rax,%r14,8), %r12
	leaq	24(%r15), %rdi
	movl	16(%r12), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_qlcnic_sriov_get_vf_vlan
	movl	%eax, 20(%r15)
	movl	12(%r12), %eax
	movl	%eax, 16(%r15)
	movl	8(%r12), %eax
	movl	%eax, 12(%r15)
	movl	(%r12), %ecx
	movq	_MAX_BW@GOTPCREL(%rip), %rdx
	imull	$100, %ecx, %esi
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	cmovel	%eax, %esi
	movl	%esi, (%r15)
	movl	4(%r12), %ecx
	movq	_MIN_BW@GOTPCREL(%rip), %rdx
	imull	$100, %ecx, %esi
	cmpl	(%rdx), %ecx
	cmovel	%eax, %esi
	movl	%esi, 4(%r15)
	movl	%r14d, 8(%r15)
	jmp	LBB0_6
LBB0_1:
	movq	_EOPNOTSUPP@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	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MAX_BW,4,2                     ## @MAX_BW
	.comm	_MIN_BW,4,2                     ## @MIN_BW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_get_vf_config     ; -- Begin function qlcnic_sriov_get_vf_config
	.p2align	2
_qlcnic_sriov_get_vf_config:            ; @qlcnic_sriov_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	x20, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x22, [x8]
	bl	_qlcnic_sriov_pf_check
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x22]
	cmp	w8, w20
	b.le	LBB0_4
; %bb.2:
	ldr	x8, [x22, #8]
	ldr	x22, [x8, w20, sxtw #3]
	add	x0, x19, #24
	ldr	w1, [x22, #16]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_qlcnic_sriov_get_vf_vlan
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #20]
	ldr	d0, [x22, #8]
	stur	d0, [x19, #12]
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _MAX_BW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_BW@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #100
	mul	w11, w8, w10
	cmp	w8, w9
	csel	w8, wzr, w11, eq
	str	w8, [x19]
	ldr	w8, [x22, #4]
Lloh6:
	adrp	x9, _MIN_BW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MIN_BW@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mul	w10, w8, w10
	cmp	w8, w9
	csel	w8, wzr, w10, eq
	stp	w8, w20, [x19, #4]
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@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	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MAX_BW,4,2                     ; @MAX_BW
	.comm	_MIN_BW,4,2                     ; @MIN_BW
.subsections_via_symbols
