	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_ndo_set_vf_bw
_igb_ndo_set_vf_bw:                     ## @igb_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	%edx, %r14d
	movl	%esi, %r15d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	24(%rax), %rax
	movq	_e1000_82576@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movl	16(%rbx), %edi
	callq	_igb_link_mbps
	cmpl	%r15d, (%rbx)
	jle	LBB0_7
## %bb.4:
	movl	%eax, %r12d
	movq	_E1000_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	testl	%r14d, %r14d
	js	LBB0_7
## %bb.5:
	movq	_E1000_STATUS_LU@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	cmpl	%r14d, %r12d
	jl	LBB0_7
## %bb.8:
	movq	%rbx, %rdi
	addq	$24, %rdi
	movl	%r12d, 4(%rbx)
	movl	%r14d, %eax
	movq	8(%rbx), %rcx
	movslq	%r15d, %rsi
	movq	%rax, (%rcx,%rsi,8)
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	callq	_igb_set_vf_rate_limit
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_82576,8,3                ## @e1000_82576
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_E1000_STATUS,4,2               ## @E1000_STATUS
	.comm	_E1000_STATUS_LU,4,2            ## @E1000_STATUS_LU
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_igb_ndo_set_vf_bw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_ndo_set_vf_bw
_igb_ndo_set_vf_bw:                     ; @igb_ndo_set_vf_bw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x8, [x21, #24]!
Lloh0:
	adrp	x9, _e1000_82576@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_82576@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x22, x0
	ldr	w0, [x0, #16]
	bl	_igb_link_mbps
	ldr	w8, [x22]
	cmp	w8, w20
	b.le	LBB0_6
; %bb.2:
	mov	x23, x0
Lloh3:
	adrp	x8, _E1000_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_rd32
	tbnz	w19, #31, LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _E1000_STATUS_LU@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E1000_STATUS_LU@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w23, w19, #8, ne
	b.lt	LBB0_6
; %bb.4:
	str	w23, [x22, #4]
	mov	w8, w19
	ldr	x9, [x22, #8]
	str	x8, [x9, w20, sxtw #3]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	bl	_igb_set_vf_rate_limit
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_82576,8,3                ; @e1000_82576
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_E1000_STATUS,4,2               ; @E1000_STATUS
	.comm	_E1000_STATUS_LU,4,2            ; @E1000_STATUS_LU
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_igb_ndo_set_vf_bw
.subsections_via_symbols
