	.file	"extr_offload.c_bpf_map_offload_map_free.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bpf_map_offload_map_free
	.type	bpf_map_offload_map_free, @function
bpf_map_offload_map_free:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	call	map_to_offmap@PLT
	mov	rbp, rax
	xor	eax, eax
	call	rtnl_lock@PLT
	lea	rdi, bpf_devs_lock[rip]
	call	down_write@PLT
	cmp	QWORD PTR 0[rbp], 0
	jne	.L5
.L2:
	lea	rdi, bpf_devs_lock[rip]
	call	up_write@PLT
	xor	eax, eax
	call	rtnl_unlock@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	call	__bpf_map_offload_destroy@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	bpf_map_offload_map_free, .-bpf_map_offload_map_free
	.comm	bpf_devs_lock,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_offload.c_bpf_map_offload_map_free.c"
	.text
	.align	2
	.global	bpf_map_offload_map_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	bpf_map_offload_map_free, %function
bpf_map_offload_map_free:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	map_to_offmap
	mov	r4, r0
	bl	rtnl_lock
	ldr	r0, .L9
	bl	down_write
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L8
.L2:
	ldr	r0, .L9
	bl	up_write
	bl	rtnl_unlock
	mov	r0, r4
	pop	{r4, lr}
	b	kfree
.L8:
	mov	r0, r4
	bl	__bpf_map_offload_destroy
	b	.L2
.L10:
	.align	2
.L9:
	.word	bpf_devs_lock
	.size	bpf_map_offload_map_free, .-bpf_map_offload_map_free
	.comm	bpf_devs_lock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
