	.file	"extr_offload.c_bpf_map_offload_update_elem.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bpf_map_offload_update_elem
	.type	bpf_map_offload_update_elem, @function
bpf_map_offload_update_elem:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	call	map_to_offmap@PLT
	xor	edi, edi
	cmp	DWORD PTR BPF_EXIST[rip], r13d
	mov	r12d, DWORD PTR ENODEV[rip]
	setl	dil
	mov	rbp, rax
	call	unlikely@PLT
	test	rax, rax
	je	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	neg	r12d
	mov	eax, r12d
	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
	lea	rdi, bpf_devs_lock[rip]
	neg	r12d
	call	down_read@PLT
	cmp	QWORD PTR 8[rbp], 0
	je	.L5
	mov	rax, QWORD PTR 0[rbp]
	mov	ecx, r13d
	mov	rdx, r15
	mov	rsi, r14
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	mov	r12d, eax
.L5:
	lea	rdi, bpf_devs_lock[rip]
	call	up_read@PLT
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	bpf_map_offload_update_elem, .-bpf_map_offload_update_elem
	.comm	bpf_devs_lock,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	BPF_EXIST,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_update_elem.c"
	.text
	.align	2
	.global	bpf_map_offload_update_elem
	.syntax unified
	.arm
	.fpu softvfp
	.type	bpf_map_offload_update_elem, %function
bpf_map_offload_update_elem:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r3
	mov	r6, r1
	mov	r7, r2
	bl	map_to_offmap
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	ip, [r2]
	mov	r8, r0
	cmp	ip, r5
	movge	r0, #0
	movlt	r0, #1
	ldr	r4, [r3]
	bl	unlikely
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L8+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, .L8+12
	bl	down_read
	ldr	r3, [r8, #4]
	cmp	r3, #0
	rsbeq	r4, r4, #0
	beq	.L5
	ldr	r0, [r8]
	mov	r3, r5
	ldr	r4, [r0]
	mov	r2, r7
	mov	r1, r6
	mov	r0, r8
	blx	r4
	mov	r4, r0
.L5:
	ldr	r0, .L8+12
	bl	up_read
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	BPF_EXIST
	.word	ENODEV
	.word	EINVAL
	.word	bpf_devs_lock
	.size	bpf_map_offload_update_elem, .-bpf_map_offload_update_elem
	.comm	bpf_devs_lock,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	BPF_EXIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
