	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_link_ProtocolRecord            ## -- Begin function link_ProtocolRecord
	.p2align	4, 0x90
_link_ProtocolRecord:                   ## @link_ProtocolRecord
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NPROTOSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.1:
	movq	_ProtocolStat@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%rax,8), %rcx
	cmpq	%rsi, %rcx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%rax, %r8
	jne	LBB0_2
LBB0_6:
	popq	%rbp
	retq
LBB0_4:
	movq	_PROTO_IN@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpl	%edx, (%rcx)
	sete	%sil
	movq	(%rdi,%rsi,8), %rcx
	incl	(%rcx,%rax,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPROTOSTAT,4,2                 ## @NPROTOSTAT
	.comm	_ProtocolStat,8,3               ## @ProtocolStat
	.comm	_PROTO_IN,4,2                   ## @PROTO_IN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_link_ProtocolRecord            ; -- Begin function link_ProtocolRecord
	.p2align	2
_link_ProtocolRecord:                   ; @link_ProtocolRecord
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NPROTOSTAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NPROTOSTAT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x9, #0
Lloh3:
	adrp	x10, _ProtocolStat@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ProtocolStat@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x9, lsl #3]
	cmp	x11, x1
	ccmp	x11, #0, #4, ne
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_4:
	ret
LBB0_5:
Lloh6:
	adrp	x8, _PROTO_IN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PROTO_IN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w2
	cset	w8, eq
	ldr	x8, [x0, w8, uxtw #3]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NPROTOSTAT,4,2                 ; @NPROTOSTAT
	.comm	_ProtocolStat,8,3               ; @ProtocolStat
	.comm	_PROTO_IN,4,2                   ; @PROTO_IN
.subsections_via_symbols
