	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function port_init_cnt
_port_init_cnt:                         ## @port_init_cnt
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movslq	%esi, %rdx
	shlq	$5, %rdx
	leaq	(%rax,%rdx), %rbx
	movq	$0, (%rax,%rdx)
	movq	_PORT_COUNTER_NUM@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, 8(%rax,%rdx)
	jae	LBB0_3
## %bb.1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %r13
	addq	$16, %r13
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(,%rdx,4), %rcx
	addq	(%r13), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_port_r_mib_cnt
	movq	(%rbx), %rdx
	incq	%rdx
	movq	%rdx, (%rbx)
	movq	(%r12), %rcx
	cmpq	%rcx, %rdx
	jb	LBB0_2
LBB0_3:
	cmpq	%rcx, (%r15)
	jbe	LBB0_5
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	24(%rax,%rsi), %edx
	shlq	$2, %rcx
	addq	16(%rax,%rsi), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_port_r_mib_pkt
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rax,%rcx), %rdi
	movq	_TOTAL_PORT_COUNTER_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	$0, (%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_COUNTER_NUM,8,3           ## @PORT_COUNTER_NUM
	.comm	_TOTAL_PORT_COUNTER_NUM,4,2     ## @TOTAL_PORT_COUNTER_NUM
	.no_dead_strip	_port_init_cnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function port_init_cnt
_port_init_cnt:                         ; @port_init_cnt
	.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
	ldr	x22, [x0, #8]
	sxtw	x23, w19
	add	x21, x22, x23, lsl #5
	str	xzr, [x21]
	ldr	x9, [x21, #8]
Lloh0:
	adrp	x24, _PORT_COUNTER_NUM@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PORT_COUNTER_NUM@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x9, x8
	b.hs	LBB0_3
; %bb.1:
	mov	x2, #0
	add	x25, x21, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x3, x8, x2, lsl #2
	mov	x0, x20
	mov	x1, x19
	bl	_port_r_mib_cnt
	ldr	x8, [x21]
	add	x2, x8, #1
	str	x2, [x21]
	ldr	x8, [x24]
	cmp	x2, x8
	b.lo	LBB0_2
LBB0_3:
	ldr	x9, [x20]
	cmp	x9, x8
	b.ls	LBB0_5
; %bb.4:
	add	x9, x22, x23, lsl #5
	ldr	w2, [x9, #24]
	ldr	x9, [x9, #16]
	add	x3, x9, x8, lsl #2
	mov	x0, x20
	mov	x1, x19
	bl	_port_r_mib_pkt
LBB0_5:
	add	x8, x22, x23, lsl #5
	ldr	x0, [x8, #16]
Lloh2:
	adrp	x8, _TOTAL_PORT_COUNTER_NUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TOTAL_PORT_COUNTER_NUM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	str	xzr, [x21]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_COUNTER_NUM,8,3           ; @PORT_COUNTER_NUM
	.comm	_TOTAL_PORT_COUNTER_NUM,4,2     ; @TOTAL_PORT_COUNTER_NUM
	.no_dead_strip	_port_init_cnt
.subsections_via_symbols
