	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cgetprotobynumber
_cgetprotobynumber:                     ## @cgetprotobynumber
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_protolist@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.1:
	movq	%rdx, %rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, (%rsi)
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rsi), %rsi
	testq	%rsi, %rsi
	jne	LBB0_2
LBB0_9:
	popq	%rbp
	retq
LBB0_3:
	cmpq	%rdx, %rsi
	je	LBB0_7
## %bb.4:
	movq	8(%rsi), %rax
	movq	16(%rsi), %r8
	movq	%rax, 8(%r8)
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r8, 16(%rax)
LBB0_6:
	movq	%rsi, 16(%rdx)
	movq	%rdx, 8(%rsi)
	movq	%rsi, (%rcx)
LBB0_7:
	movl	4(%rsi), %eax
	movl	%eax, _cgetprotobynumber.prot+4(%rip)
	leaq	_cgetprotobynumber.prot(%rip), %rax
	movl	%edi, _cgetprotobynumber.prot(%rip)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_protolist,8,3                  ## @protolist
.zerofill __DATA,__bss,_cgetprotobynumber.prot,8,2 ## @cgetprotobynumber.prot
	.no_dead_strip	_cgetprotobynumber
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cgetprotobynumber
_cgetprotobynumber:                     ; @cgetprotobynumber
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _protolist@GOTPAGE
Lloh1:
	ldr	x8, [x8, _protolist@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.1:
	mov	x10, x9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	cmp	w11, w0
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x10, #8]
	cbnz	x10, LBB0_2
LBB0_4:
	mov	x0, #0
	ret
LBB0_5:
	cmp	x10, x9
	b.eq	LBB0_9
; %bb.6:
	ldp	x12, x11, [x10, #8]
	str	x12, [x11, #8]
	ldr	x12, [x10, #8]
	cbz	x12, LBB0_8
; %bb.7:
	str	x11, [x12, #16]
LBB0_8:
	str	x10, [x9, #16]
	str	x9, [x10, #8]
	str	x10, [x8]
LBB0_9:
	ldr	w9, [x10, #4]
Lloh2:
	adrp	x8, _cgetprotobynumber.prot@PAGE
Lloh3:
	add	x8, x8, _cgetprotobynumber.prot@PAGEOFF
	stp	w0, w9, [x8]
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_protolist,8,3                  ; @protolist
.zerofill __DATA,__bss,_cgetprotobynumber.prot,8,2 ; @cgetprotobynumber.prot
	.no_dead_strip	_cgetprotobynumber
.subsections_via_symbols
