	.file	"extr_offload.c_bpf_prog_offload_replace_insn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bpf_prog_offload_replace_insn
	.type	bpf_prog_offload_replace_insn, @function
bpf_prog_offload_replace_insn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	lea	rdi, bpf_devs_lock[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, DWORD PTR EOPNOTSUPP[rip]
	neg	ebx
	call	down_read@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rax]
	mov	r12, QWORD PTR [rax]
	test	r12, r12
	je	.L2
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	jne	.L3
	mov	rdx, QWORD PTR 8[r12]
	mov	rdx, QWORD PTR [rdx]
	mov	rcx, QWORD PTR [rdx]
	test	rcx, rcx
	je	.L3
	mov	rdx, r14
	mov	esi, r13d
	mov	rdi, rbp
	call	rcx
	mov	ebx, eax
	mov	eax, DWORD PTR [r12]
.L3:
	or	ebx, eax
	mov	DWORD PTR [r12], ebx
.L2:
	pop	rbx
	.cfi_def_cfa_offset 40
	lea	rdi, bpf_devs_lock[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	up_read@PLT
	.cfi_endproc
.LFE0:
	.size	bpf_prog_offload_replace_insn, .-bpf_prog_offload_replace_insn
	.comm	bpf_devs_lock,4,4
	.comm	EOPNOTSUPP,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_prog_offload_replace_insn.c"
	.text
	.align	2
	.global	bpf_prog_offload_replace_insn
	.syntax unified
	.arm
	.fpu softvfp
	.type	bpf_prog_offload_replace_insn, %function
bpf_prog_offload_replace_insn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r0
	ldr	r3, .L12
	ldr	r0, .L12+4
	ldr	r3, [r3]
	mov	r6, r1
	rsb	r5, r3, #0
	mov	r7, r2
	bl	down_read
	ldr	r3, [r8]
	ldr	r3, [r3]
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L2
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L3
	ldr	r2, [r4, #4]
	ldr	r2, [r2]
	ldr	r9, [r2]
	cmp	r9, #0
	beq	.L3
	mov	r2, r7
	mov	r1, r6
	mov	r0, r8
	blx	r9
	mov	r5, r0
	ldr	r3, [r4]
.L3:
	orr	r0, r5, r3
	str	r0, [r4]
.L2:
	ldr	r0, .L12+4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	up_read
.L13:
	.align	2
.L12:
	.word	EOPNOTSUPP
	.word	bpf_devs_lock
	.size	bpf_prog_offload_replace_insn, .-bpf_prog_offload_replace_insn
	.comm	bpf_devs_lock,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
