	.file	"extr_devinet.c_inetdev_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	inetdev_init, @function
inetdev_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	ASSERT_RTNL@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 24
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rdi, rbx
	call	dev_net@PLT
	mov	edx, 8
	mov	rdi, r12
	mov	esi, DWORD PTR [rax]
	call	memcpy@PLT
	mov	QWORD PTR [r12], 0
	lea	rsi, arp_tbl[rip]
	mov	rdi, rbx
	mov	QWORD PTR 16[r12], rbx
	call	neigh_parms_alloc@PLT
	mov	QWORD PTR 8[r12], rax
	test	rax, rax
	je	.L17
	mov	esi, DWORD PTR FORWARDING[rip]
	mov	rdi, QWORD PTR [r12]
	call	IPV4_DEVCONF@PLT
	test	rax, rax
	jne	.L18
.L4:
	mov	rdi, rbx
	call	dev_hold@PLT
	mov	rdi, r12
	call	in_dev_hold@PLT
	mov	rdi, r12
	call	devinet_sysctl_register@PLT
	mov	rdi, r12
	call	ip_mc_init_dev@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR IFF_UP[rip], eax
	jne	.L19
.L5:
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, r12
	call	rcu_assign_pointer@PLT
.L2:
	endbr64
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, rbx
	call	dev_disable_lro@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, r12
	call	ip_mc_up@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	inetdev_init, .-inetdev_init
	.comm	arp_tbl,4,4
	.comm	IFF_UP,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FORWARDING,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_devinet.c_inetdev_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	inetdev_init, %function
inetdev_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	bl	ASSERT_RTNL
	ldr	r3, .L20
	mov	r0, #12
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L1
	mov	r0, r6
	bl	dev_net
	mov	r2, #4
	ldr	r1, [r0]
	mov	r0, r4
	bl	memcpy
	mov	r3, #0
	mov	r0, r6
	ldr	r1, .L20+4
	str	r6, [r4, #8]
	str	r3, [r4]
	bl	neigh_parms_alloc
	cmp	r0, #0
	mov	r5, r0
	str	r0, [r4, #4]
	beq	.L17
	ldr	r3, .L20+8
	ldr	r0, [r4]
	ldr	r1, [r3]
	bl	IPV4_DEVCONF
	cmp	r0, #0
	bne	.L18
.L4:
	mov	r0, r6
	bl	dev_hold
	mov	r0, r4
	bl	in_dev_hold
	mov	r0, r4
	bl	devinet_sysctl_register
	mov	r0, r4
	bl	ip_mc_init_dev
	ldr	r3, .L20+12
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L19
.L5:
	mov	r1, r4
	ldr	r0, [r6, #4]
	bl	rcu_assign_pointer
.L2:
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L18:
	mov	r0, r6
	bl	dev_disable_lro
	b	.L4
.L19:
	mov	r0, r4
	bl	ip_mc_up
	b	.L5
.L17:
	mov	r0, r4
	bl	kfree
	mov	r4, r5
	b	.L1
.L21:
	.align	2
.L20:
	.word	GFP_KERNEL
	.word	arp_tbl
	.word	FORWARDING
	.word	IFF_UP
	.size	inetdev_init, .-inetdev_init
	.comm	arp_tbl,4,4
	.comm	IFF_UP,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FORWARDING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
