	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phonet_proto_get
_phonet_proto_get:                      ## @phonet_proto_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_PHONET_NPROTO@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jbe	LBB0_1
## %bb.2:
	movl	%edi, %ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_proto_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_try_module_get
	xorl	%r14d, %r14d
	testl	%eax, %eax
	cmovneq	%rbx, %r14
LBB0_4:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
LBB0_5:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHONET_NPROTO,4,2              ## @PHONET_NPROTO
	.comm	_proto_tab,8,3                  ## @proto_tab
	.no_dead_strip	_phonet_proto_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phonet_proto_get
_phonet_proto_get:                      ; @phonet_proto_get
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _PHONET_NPROTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHONET_NPROTO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ls	LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_rcu_read_lock
Lloh3:
	adrp	x8, _proto_tab@GOTPAGE
Lloh4:
	ldr	x8, [x8, _proto_tab@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x19, [x8, w19, uxtw #3]
	cbz	x19, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_try_module_get
	cmp	w0, #0
	csel	x19, xzr, x19, eq
LBB0_3:
	bl	_rcu_read_unlock
	b	LBB0_5
LBB0_4:
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHONET_NPROTO,4,2              ; @PHONET_NPROTO
	.comm	_proto_tab,8,3                  ; @proto_tab
	.no_dead_strip	_phonet_proto_get
.subsections_via_symbols
