	.file	"extr_netlink.c_batadv_get_softif_from_info.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	batadv_get_softif_from_info, @function
batadv_get_softif_from_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rdx, QWORD PTR BATADV_ATTR_MESH_IFINDEX[rip]
	mov	r12, rdi
	mov	rax, QWORD PTR [rsi]
	mov	edi, DWORD PTR [rax+rdx*4]
	test	edi, edi
	je	.L6
	call	nla_get_u32@PLT
	mov	rdi, r12
	mov	esi, eax
	call	dev_get_by_index@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
	mov	rdi, rax
	call	batadv_softif_is_valid@PLT
	test	eax, eax
	je	.L9
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r12
	call	dev_put@PLT
.L6:
	mov	edi, DWORD PTR EINVAL[rip]
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR ENODEV[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	batadv_get_softif_from_info, .-batadv_get_softif_from_info
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	BATADV_ATTR_MESH_IFINDEX,8,8
	.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_netlink.c_batadv_get_softif_from_info.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	batadv_get_softif_from_info, %function
batadv_get_softif_from_info:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L9
	ldr	r3, [r1]
	ldr	r2, [r2]
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, [r3, r2, lsl #2]
	cmp	r0, #0
	beq	.L6
	bl	nla_get_u32
	mov	r1, r0
	mov	r0, r4
	bl	dev_get_by_index
	subs	r4, r0, #0
	beq	.L8
	bl	batadv_softif_is_valid
	cmp	r0, #0
	mov	r0, r4
	popne	{r4, pc}
	bl	dev_put
.L6:
	pop	{r4, lr}
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L8:
	ldr	r3, .L9+8
	pop	{r4, lr}
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L10:
	.align	2
.L9:
	.word	BATADV_ATTR_MESH_IFINDEX
	.word	EINVAL
	.word	ENODEV
	.size	batadv_get_softif_from_info, .-batadv_get_softif_from_info
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	BATADV_ATTR_MESH_IFINDEX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
