	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function storm_memset_cmng
_storm_memset_cmng:                     ## @storm_memset_cmng
	.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
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_BAR_XSTRORM_INTMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%edx, %edi
	callq	_XSTORM_CMNG_PER_PORT_VARS_OFFSET
	addq	%rax, %rbx
	leaq	16(%r12), %rcx
	movl	$4, %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	___storm_memset_struct
	movq	_VN_0@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	movq	%r15, %rdi
	callq	_BP_MAX_VN_NUM
	cmpl	%eax, %r13d
	jge	LBB0_3
## %bb.1:
	leaq	(,%r13,4), %r14
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_func_by_vn
	movq	%r12, %r15
	movl	%eax, %r12d
	movq	_BAR_XSTRORM_INTMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r12d, %edi
	callq	_XSTORM_RATE_SHAPING_PER_VN_VARS_OFFSET
	addq	%rax, %rbx
	movq	8(%r15), %rcx
	addq	%r14, %rcx
	movl	$4, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	___storm_memset_struct
	movq	_BAR_XSTRORM_INTMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r12d, %edi
	movq	%r15, %r12
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	callq	_XSTORM_FAIRNESS_PER_VN_VARS_OFFSET
	addq	%rax, %rbx
	movq	(%r12), %rcx
	addq	%r14, %rcx
	movl	$4, %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	___storm_memset_struct
	incq	%r13
	movq	%r15, %rdi
	callq	_BP_MAX_VN_NUM
	cltq
	addq	$4, %r14
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BAR_XSTRORM_INTMEM,8,3         ## @BAR_XSTRORM_INTMEM
	.comm	_VN_0,4,2                       ## @VN_0
	.no_dead_strip	_storm_memset_cmng
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function storm_memset_cmng
_storm_memset_cmng:                     ; @storm_memset_cmng
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _BAR_XSTRORM_INTMEM@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BAR_XSTRORM_INTMEM@GOTPAGEOFF]
	ldr	x21, [x23]
	mov	x0, x2
	bl	_XSTORM_CMNG_PER_PORT_VARS_OFFSET
	add	x1, x0, x21
	add	x3, x19, #16
	mov	x0, x20
	mov	w2, #4
	bl	___storm_memset_struct
Lloh2:
	adrp	x8, _VN_0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VN_0@GOTPAGEOFF]
Lloh4:
	ldrsw	x21, [x8]
	mov	x0, x20
	bl	_BP_MAX_VN_NUM
	cmp	w21, w0
	b.ge	LBB0_3
; %bb.1:
	lsl	x24, x21, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_func_by_vn
	mov	x22, x0
	ldr	x25, [x23]
	bl	_XSTORM_RATE_SHAPING_PER_VN_VARS_OFFSET
	add	x1, x0, x25
	ldr	x8, [x19, #8]
	add	x3, x8, x24
	mov	x0, x20
	mov	w2, #4
	bl	___storm_memset_struct
	ldr	x25, [x23]
	mov	x0, x22
	bl	_XSTORM_FAIRNESS_PER_VN_VARS_OFFSET
	add	x1, x0, x25
	ldr	x8, [x19]
	add	x3, x8, x24
	mov	x0, x20
	mov	w2, #4
	bl	___storm_memset_struct
	add	x21, x21, #1
	mov	x0, x20
	bl	_BP_MAX_VN_NUM
	add	x24, x24, #4
	cmp	x21, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BAR_XSTRORM_INTMEM,8,3         ; @BAR_XSTRORM_INTMEM
	.comm	_VN_0,4,2                       ; @VN_0
	.no_dead_strip	_storm_memset_cmng
.subsections_via_symbols
