	.file	"extr_distributed-arp-table.c_batadv_dat_cache_dump.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	batadv_dat_cache_dump
	.type	batadv_dat_cache_dump, @function
batadv_dat_cache_dump:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rdi, QWORD PTR 16[rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	NETLINK_CB@PLT
	mov	r12d, eax
	mov	rax, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR [rax]
	call	sock_net@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR BATADV_ATTR_MESH_IFINDEX[rip]
	mov	r13, rax
	mov	rax, QWORD PTR [rbx]
	mov	r14d, DWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR 20[rsp], eax
	call	batadv_netlink_get_ifindex@PLT
	test	eax, eax
	jne	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r13
	mov	esi, eax
	call	dev_get_by_index@PLT
	mov	r13, rax
	test	rax, rax
	je	.L4
	mov	rdi, rax
	call	batadv_softif_is_valid@PLT
	test	eax, eax
	jne	.L17
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
.L10:
	mov	rdi, r13
	call	dev_put@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r13
	call	netdev_priv@PLT
	mov	rdi, rax
	mov	r15, QWORD PTR [rax]
	call	batadv_primary_if_get_selected@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L6
	mov	rcx, QWORD PTR BATADV_IF_ACTIVE[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L18
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
.L11:
	mov	rdi, QWORD PTR 8[rsp]
	call	batadv_hardif_put@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	cmp	DWORD PTR [r15], r14d
	jle	.L8
	lea	r9, 20[rsp]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L19:
	mov	DWORD PTR 20[rsp], 0
	add	r14d, 1
	cmp	DWORD PTR [r15], r14d
	mov	r9, QWORD PTR [rsp]
	jle	.L8
.L9:
	mov	r8d, r14d
	mov	rcx, r15
	mov	rdx, rbx
	mov	esi, r12d
	mov	rdi, rbp
	mov	QWORD PTR [rsp], r9
	call	batadv_dat_cache_dump_bucket@PLT
	test	rax, rax
	je	.L19
.L8:
	mov	rax, QWORD PTR [rbx]
	mov	DWORD PTR [rax], r14d
	mov	edx, DWORD PTR 20[rsp]
	mov	DWORD PTR 4[rax], edx
	mov	r12d, DWORD PTR 0[rbp]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
	jmp	.L10
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	batadv_dat_cache_dump, .-batadv_dat_cache_dump
	.comm	ENOENT,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	BATADV_IF_ACTIVE,8,8
	.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
	.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_distributed-arp-table.c_batadv_dat_cache_dump.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	batadv_dat_cache_dump
	.syntax unified
	.arm
	.fpu softvfp
	.type	batadv_dat_cache_dump, %function
batadv_dat_cache_dump:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L20
	mov	r4, r1
	sub	sp, sp, #20
	mov	r5, r0
	ldr	r0, [r1, #8]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	NETLINK_CB
	ldr	r3, [r4, #8]
	mov	r6, r0
	ldr	r0, [r3]
	bl	sock_net
	ldr	r3, [r4]
	ldr	r1, .L20+4
	ldr	r2, [r3, #4]
	ldr	r1, [r1]
	mov	r7, r0
	ldr	r0, [r4, #4]
	ldr	r8, [r3]
	str	r2, [sp, #8]
	bl	batadv_netlink_get_ifindex
	subs	r1, r0, #0
	bne	.L2
	ldr	r3, .L20+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, r7
	bl	dev_get_by_index
	subs	r7, r0, #0
	beq	.L4
	bl	batadv_softif_is_valid
	cmp	r0, #0
	bne	.L17
	ldr	r3, .L20+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L10:
	mov	r0, r7
	bl	dev_put
	b	.L1
.L17:
	mov	r0, r7
	bl	netdev_priv
	ldr	fp, [r0]
	bl	batadv_primary_if_get_selected
	subs	r9, r0, #0
	beq	.L6
	ldr	r3, .L20+16
	ldr	r2, [r9]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L18
	ldr	r3, .L20+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L11:
	mov	r0, r9
	bl	batadv_hardif_put
	b	.L10
.L4:
	ldr	r3, .L20+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L18:
	ldr	r3, [fp]
	cmp	r3, r8
	ble	.L8
	add	r10, sp, #8
	b	.L9
.L19:
	str	r0, [sp, #8]
	ldr	r3, [fp]
	add	r8, r8, #1
	cmp	r3, r8
	ble	.L8
.L9:
	mov	r3, fp
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	stm	sp, {r8, r10}
	bl	batadv_dat_cache_dump_bucket
	cmp	r0, #0
	beq	.L19
.L8:
	ldr	r3, [r4]
	str	r8, [r3]
	ldr	r2, [sp, #8]
	str	r2, [r3, #4]
	ldr	r4, [r5]
	b	.L11
.L6:
	ldr	r3, .L20+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L10
.L16:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	BATADV_ATTR_MESH_IFINDEX
	.word	EINVAL
	.word	ENODEV
	.word	BATADV_IF_ACTIVE
	.word	ENOENT
	.size	batadv_dat_cache_dump, .-batadv_dat_cache_dump
	.comm	ENOENT,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	BATADV_IF_ACTIVE,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
