	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_set_vf_rate_limit
_ixgbe_set_vf_rate_limit:               ## @ixgbe_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	8(%rdi), %rax
	movq	24(%rdi), %r13
	movq	_RING_F_VMDQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	leaq	16(%rdi), %r14
	movslq	%esi, %rcx
	movl	(%rax,%rcx,4), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %eax
	movq	_IXGBE_RTTBCNRC_RF_INT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	cltd
	idivl	%esi
	movq	_IXGBE_RTTBCNRC_RF_INT_MASK@GOTPCREL(%rip), %rcx
	movq	_IXGBE_RTTBCNRC_RF_DEC_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	orl	(%rcx), %r15d
	andl	%eax, %r15d
	movq	_IXGBE_RTTBCNRC_RS_ENA@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movl	(%r14), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.5:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.6:
	movl	$20, %edx
	jmp	LBB0_7
LBB0_4:
	movl	$4, %edx
LBB0_7:
	movq	_IXGBE_RTTBCNRM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
LBB0_8:
	movl	(%r13,%rbx,4), %esi
	notl	%esi
	movl	$1, %edi
	callq	___ALIGN_MASK
	testl	%eax, %eax
	jle	LBB0_11
## %bb.9:
	movl	%eax, %ebx
	imull	%eax, %r12d
	movq	_IXGBE_RTTBCNRC@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	_IXGBE_RTTDQSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_IXGBE_WRITE_REG
	incl	%r12d
	decl	%ebx
	jne	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_F_VMDQ,8,3                ## @RING_F_VMDQ
	.comm	_IXGBE_RTTBCNRC_RF_INT_SHIFT,4,2 ## @IXGBE_RTTBCNRC_RF_INT_SHIFT
	.comm	_IXGBE_RTTBCNRC_RF_INT_MASK,4,2 ## @IXGBE_RTTBCNRC_RF_INT_MASK
	.comm	_IXGBE_RTTBCNRC_RF_DEC_MASK,4,2 ## @IXGBE_RTTBCNRC_RF_DEC_MASK
	.comm	_IXGBE_RTTBCNRC_RS_ENA,4,2      ## @IXGBE_RTTBCNRC_RS_ENA
	.comm	_IXGBE_RTTBCNRM,4,2             ## @IXGBE_RTTBCNRM
	.comm	_IXGBE_RTTDQSEL,4,2             ## @IXGBE_RTTDQSEL
	.comm	_IXGBE_RTTBCNRC,4,2             ## @IXGBE_RTTBCNRC
	.no_dead_strip	_ixgbe_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 ixgbe_set_vf_rate_limit
_ixgbe_set_vf_rate_limit:               ; @ixgbe_set_vf_rate_limit
	.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	x21, x1
	ldr	x22, [x0, #24]
Lloh0:
	adrp	x8, _RING_F_VMDQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RING_F_VMDQ@GOTPAGEOFF]
	add	x19, x0, #16
	ldr	x9, [x0, #8]
	ldr	w9, [x9, w1, sxtw #2]
	cbz	w9, LBB0_2
; %bb.1:
	ldr	w10, [x0]
Lloh2:
	adrp	x11, _IXGBE_RTTBCNRC_RF_INT_SHIFT@GOTPAGE
Lloh3:
	ldr	x11, [x11, _IXGBE_RTTBCNRC_RF_INT_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	sdiv	w9, w10, w9
Lloh5:
	adrp	x10, _IXGBE_RTTBCNRC_RF_INT_MASK@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IXGBE_RTTBCNRC_RF_INT_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	adrp	x11, _IXGBE_RTTBCNRC_RF_DEC_MASK@GOTPAGE
Lloh9:
	ldr	x11, [x11, _IXGBE_RTTBCNRC_RF_DEC_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	orr	w10, w11, w10
	and	w9, w10, w9
Lloh11:
	adrp	x10, _IXGBE_RTTBCNRC_RS_ENA@GOTPAGE
Lloh12:
	ldr	x10, [x10, _IXGBE_RTTBCNRC_RS_ENA@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	orr	w20, w9, w10
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	ldr	x23, [x8]
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.5:
	mov	w2, #20
	b	LBB0_7
LBB0_6:
	mov	w2, #4
LBB0_7:
Lloh14:
	adrp	x8, _IXGBE_RTTBCNRM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IXGBE_RTTBCNRM@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
LBB0_8:
	ldr	w8, [x22, x23, lsl #2]
	mvn	w1, w8
	mov	w0, #1
	bl	___ALIGN_MASK
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x22, x0
	mul	w21, w0, w21
Lloh17:
	adrp	x23, _IXGBE_RTTDQSEL@GOTPAGE
Lloh18:
	ldr	x23, [x23, _IXGBE_RTTDQSEL@GOTPAGEOFF]
Lloh19:
	adrp	x24, _IXGBE_RTTBCNRC@GOTPAGE
Lloh20:
	ldr	x24, [x24, _IXGBE_RTTBCNRC@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_IXGBE_WRITE_REG
	add	w21, w21, #1
	subs	w22, w22, #1
	b.ne	LBB0_10
LBB0_11:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_F_VMDQ,8,3                ; @RING_F_VMDQ
	.comm	_IXGBE_RTTBCNRC_RF_INT_SHIFT,4,2 ; @IXGBE_RTTBCNRC_RF_INT_SHIFT
	.comm	_IXGBE_RTTBCNRC_RF_INT_MASK,4,2 ; @IXGBE_RTTBCNRC_RF_INT_MASK
	.comm	_IXGBE_RTTBCNRC_RF_DEC_MASK,4,2 ; @IXGBE_RTTBCNRC_RF_DEC_MASK
	.comm	_IXGBE_RTTBCNRC_RS_ENA,4,2      ; @IXGBE_RTTBCNRC_RS_ENA
	.comm	_IXGBE_RTTBCNRM,4,2             ; @IXGBE_RTTBCNRM
	.comm	_IXGBE_RTTDQSEL,4,2             ; @IXGBE_RTTDQSEL
	.comm	_IXGBE_RTTBCNRC,4,2             ; @IXGBE_RTTBCNRC
	.no_dead_strip	_ixgbe_set_vf_rate_limit
.subsections_via_symbols
