	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_protoidarray
_init_protoidarray:                     ## @init_protoidarray
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	$0, -80(%rbp)
	movq	_eproto_db@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.1:
	xorl	%r15d, %r15d
	leaq	-96(%rbp), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	cmpq	$0, 16(%rax,%r15)
	leaq	16(%r15), %r15
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rax,%r15), %edi
	callq	_htons
	movl	%eax, -100(%rbp)
	leaq	-72(%rbp), %rdi
	leaq	-100(%rbp), %rsi
	movl	$2, %edx
	callq	_memcpy
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_lookup_protoid
	movq	%rax, %r13
	movq	(%r14), %rax
	movq	(%rax,%r15), %rdi
	callq	_strdup
	movq	%rax, (%r13)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	callq	*(%r12)
	jmp	LBB0_4
LBB0_5:
	movq	_protoidlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_10
## %bb.6:
	addq	$16, %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, (%rbx)
	leaq	16(%rbx), %rbx
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rbx), %rsi
	movq	%r12, %rdi
	callq	_lookup_protoid
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-16(%rbx), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_9
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_eproto_db,8,3                  ## @eproto_db
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"init_protoidarray: strdup(eproto_db[i].s)"

	.comm	_protoidlist,8,3                ## @protoidlist
	.no_dead_strip	_init_protoidarray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_protoidarray
_init_protoidarray:                     ; @init_protoidarray
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #32]
Lloh3:
	adrp	x23, _eproto_db@GOTPAGE
Lloh4:
	ldr	x23, [x23, _eproto_db@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x8]
	cbz	x9, LBB0_5
; %bb.1:
	mov	x24, #0
	add	x9, sp, #16
	add	x20, x9, #24
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	add	x9, x8, x24
	ldr	x9, [x9, #16]
	add	x24, x24, #16
	cbz	x9, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x24
	ldr	w0, [x8, #8]
	bl	_htons
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #2
	bl	_memcpy
	add	x1, sp, #16
	mov	x0, x19
	bl	_lookup_protoid
	mov	x22, x0
	ldr	x8, [x23]
	ldr	x0, [x8, x24]
	bl	_strdup
	str	x0, [x22]
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x21
	blr	x8
	b	LBB0_2
LBB0_5:
Lloh7:
	adrp	x8, _protoidlist@GOTPAGE
Lloh8:
	ldr	x8, [x8, _protoidlist@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	x9, LBB0_10
; %bb.6:
	add	x20, x8, #16
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20], #16
	cbz	x8, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x1, [x20, #-8]
	mov	x0, x19
	bl	_lookup_protoid
	ldr	x8, [x0]
	cbnz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldur	x8, [x20, #-16]
	str	x8, [x0]
	b	LBB0_7
LBB0_10:
	ldr	x8, [sp, #56]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_eproto_db,8,3                  ; @eproto_db
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"init_protoidarray: strdup(eproto_db[i].s)"

	.comm	_protoidlist,8,3                ; @protoidlist
	.no_dead_strip	_init_protoidarray
.subsections_via_symbols
