	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_set_vf_rate_limit
_igb_set_vf_rate_limit:                 ## @igb_set_vf_rate_limit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movl	%edx, %edi
	movl	%ecx, %eax
	cltd
	idivl	%edi
	movl	%eax, %ebx
	movl	%edx, %eax
	movq	_E1000_RTTBCNRC_RF_INT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	cltd
	idivl	%edi
	movl	%eax, %r14d
	movq	_E1000_RTTBCNRC_RS_ENA@GOTPCREL(%rip), %rax
	shll	%cl, %ebx
	movq	_E1000_RTTBCNRC_RF_INT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_E1000_RTTBCNRC_RF_DEC_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	orl	%ebx, %r14d
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	movq	_E1000_RTTDQSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wr32
	movq	_E1000_RTTBCNRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$20, %esi
	callq	_wr32
	movq	_E1000_RTTBCNRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_RTTBCNRC_RF_INT_SHIFT,4,2 ## @E1000_RTTBCNRC_RF_INT_SHIFT
	.comm	_E1000_RTTBCNRC_RS_ENA,4,2      ## @E1000_RTTBCNRC_RS_ENA
	.comm	_E1000_RTTBCNRC_RF_INT_MASK,4,2 ## @E1000_RTTBCNRC_RF_INT_MASK
	.comm	_E1000_RTTBCNRC_RF_DEC_MASK,4,2 ## @E1000_RTTBCNRC_RF_DEC_MASK
	.comm	_E1000_RTTDQSEL,4,2             ## @E1000_RTTDQSEL
	.comm	_E1000_RTTBCNRM,4,2             ## @E1000_RTTBCNRM
	.comm	_E1000_RTTBCNRC,4,2             ## @E1000_RTTBCNRC
	.no_dead_strip	_igb_set_vf_rate_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_set_vf_rate_limit
_igb_set_vf_rate_limit:                 ; @igb_set_vf_rate_limit
	.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
	cbz	w2, LBB0_2
; %bb.1:
	sdiv	w8, w3, w2
Lloh0:
	adrp	x9, _E1000_RTTBCNRC_RF_INT_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _E1000_RTTBCNRC_RF_INT_SHIFT@GOTPAGEOFF]
	msub	w10, w8, w2, w3
Lloh2:
	ldr	w9, [x9]
	lsl	w10, w10, w9
	sdiv	w10, w10, w2
Lloh3:
	adrp	x11, _E1000_RTTBCNRC_RS_ENA@GOTPAGE
Lloh4:
	ldr	x11, [x11, _E1000_RTTBCNRC_RS_ENA@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	lsl	w8, w8, w9
Lloh6:
	adrp	x9, _E1000_RTTBCNRC_RF_INT_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _E1000_RTTBCNRC_RF_INT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
	orr	w8, w8, w11
Lloh9:
	adrp	x9, _E1000_RTTBCNRC_RF_DEC_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _E1000_RTTBCNRC_RF_DEC_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w10
	orr	w19, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
Lloh12:
	adrp	x8, _E1000_RTTDQSEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E1000_RTTDQSEL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_wr32
Lloh15:
	adrp	x8, _E1000_RTTBCNRM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E1000_RTTBCNRM@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	w1, #20
	bl	_wr32
Lloh18:
	adrp	x8, _E1000_RTTBCNRC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _E1000_RTTBCNRC@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wr32
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_RTTBCNRC_RF_INT_SHIFT,4,2 ; @E1000_RTTBCNRC_RF_INT_SHIFT
	.comm	_E1000_RTTBCNRC_RS_ENA,4,2      ; @E1000_RTTBCNRC_RS_ENA
	.comm	_E1000_RTTBCNRC_RF_INT_MASK,4,2 ; @E1000_RTTBCNRC_RF_INT_MASK
	.comm	_E1000_RTTBCNRC_RF_DEC_MASK,4,2 ; @E1000_RTTBCNRC_RF_DEC_MASK
	.comm	_E1000_RTTDQSEL,4,2             ; @E1000_RTTDQSEL
	.comm	_E1000_RTTBCNRM,4,2             ; @E1000_RTTBCNRM
	.comm	_E1000_RTTBCNRC,4,2             ; @E1000_RTTBCNRC
	.no_dead_strip	_igb_set_vf_rate_limit
.subsections_via_symbols
