	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ndo_set_vf_bw            ## -- Begin function ixgbe_ndo_set_vf_bw
	.p2align	4, 0x90
_ixgbe_ndo_set_vf_bw:                   ## @ixgbe_ndo_set_vf_bw
	.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
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %r15d
	callq	_netdev_priv
	cmpl	%r15d, (%rax)
	jle	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	cmpl	$0, 16(%rax)
	je	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_ixgbe_link_mbps
	cmpl	$10000, %eax                    ## imm = 0x2710
	jne	LBB0_1
## %bb.4:
	testl	%r12d, %r12d
	jne	LBB0_1
## %bb.5:
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:
	leal	-10001(%r14), %eax
	cmpl	$-9991, %eax                    ## imm = 0xD8F9
	ja	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$10000, 4(%rbx)                 ## imm = 0x2710
	movq	8(%rbx), %rax
	movslq	%r15d, %rsi
	movl	%r14d, (%rax,%rsi,4)
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ixgbe_set_vf_rate_limit
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ndo_set_vf_bw            ; -- Begin function ixgbe_ndo_set_vf_bw
	.p2align	2
_ixgbe_ndo_set_vf_bw:                   ; @ixgbe_ndo_set_vf_bw
	.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, x3
	mov	x22, x2
	mov	x19, x1
	bl	_netdev_priv
	ldr	w8, [x0]
	cmp	w8, w19
	b.le	LBB0_6
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_ixgbe_link_mbps
	mov	w8, #10000
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.3:
	cbnz	w22, LBB0_6
; %bb.4:
	cbz	w20, LBB0_8
; %bb.5:
	mov	w8, #-10001
	mov	w9, #-9991
	add	w8, w20, w8
	cmp	w8, w9
	b.hi	LBB0_8
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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_8:
	mov	w8, #10000
	str	w8, [x21, #4]
	ldr	x8, [x21, #8]
	str	w20, [x8, w19, sxtw #2]
	mov	x0, x21
	mov	x1, x19
	bl	_ixgbe_set_vf_rate_limit
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
