	.file	"extr_af_phonet.c_phonet_proto_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	phonet_proto_get, @function
phonet_proto_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	DWORD PTR PHONET_NPROTO[rip], ebx
	jbe	.L1
	xor	eax, eax
	call	rcu_read_lock@PLT
	mov	rax, QWORD PTR proto_tab[rip]
	mov	r12, QWORD PTR [rax+rbx*8]
	test	r12, r12
	je	.L3
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR [rax]
	call	try_module_get@PLT
	test	eax, eax
	jne	.L4
.L3:
	xor	r12d, r12d
.L4:
	xor	eax, eax
	call	rcu_read_unlock@PLT
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	phonet_proto_get, .-phonet_proto_get
	.comm	proto_tab,8,8
	.comm	PHONET_NPROTO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_af_phonet.c_phonet_proto_get.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	phonet_proto_get, %function
phonet_proto_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, lr}
	ldr	r3, [r3]
	cmp	r3, r0
	movls	r4, #0
	bls	.L1
	mov	r4, r0
	bl	rcu_read_lock
	ldr	r3, .L11+4
	ldr	r3, [r3]
	ldr	r4, [r3, r4, lsl #2]
	cmp	r4, #0
	beq	.L3
	ldr	r3, [r4]
	ldr	r0, [r3]
	bl	try_module_get
	cmp	r0, #0
	bne	.L4
.L3:
	mov	r4, #0
.L4:
	bl	rcu_read_unlock
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	PHONET_NPROTO
	.word	proto_tab
	.size	phonet_proto_get, .-phonet_proto_get
	.comm	proto_tab,4,4
	.comm	PHONET_NPROTO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
