	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_dcbnl_ieee_getmaxrate
_mlx4_en_dcbnl_ieee_getmaxrate:         ## @mlx4_en_dcbnl_ieee_getmaxrate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	_IEEE_8021QAZ_MAX_TCS@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	movq	(%rbx), %rdx
	xorl	%esi, %esi
	movq	_MLX4_RATELIMIT_UNITS_IN_KB@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ebx
	imull	(%rax,%rsi,4), %ebx
	movl	%ebx, (%rdx,%rsi,4)
	incq	%rsi
	movslq	(%rcx), %rbx
	cmpq	%rbx, %rsi
	jl	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ## @IEEE_8021QAZ_MAX_TCS
	.comm	_MLX4_RATELIMIT_UNITS_IN_KB,4,2 ## @MLX4_RATELIMIT_UNITS_IN_KB
	.no_dead_strip	_mlx4_en_dcbnl_ieee_getmaxrate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_dcbnl_ieee_getmaxrate
_mlx4_en_dcbnl_ieee_getmaxrate:         ; @mlx4_en_dcbnl_ieee_getmaxrate
	.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
	mov	x19, x1
	bl	_netdev_priv
Lloh0:
	adrp	x8, _IEEE_8021QAZ_MAX_TCS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE_8021QAZ_MAX_TCS@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0]
	ldr	x11, [x19]
Lloh2:
	adrp	x12, _MLX4_RATELIMIT_UNITS_IN_KB@GOTPAGE
Lloh3:
	ldr	x12, [x12, _MLX4_RATELIMIT_UNITS_IN_KB@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x13, x9, #2
	ldr	w14, [x10, x13]
	ldr	w15, [x12]
	mul	w14, w15, w14
	str	w14, [x11, x13]
	add	x9, x9, #1
	ldrsw	x13, [x8]
	cmp	x9, x13
	b.lt	LBB0_2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ; @IEEE_8021QAZ_MAX_TCS
	.comm	_MLX4_RATELIMIT_UNITS_IN_KB,4,2 ; @MLX4_RATELIMIT_UNITS_IN_KB
	.no_dead_strip	_mlx4_en_dcbnl_ieee_getmaxrate
.subsections_via_symbols
