	.file	"extr_libbpf.c_bpf_program__unpin_instance.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid program pointer\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"invalid prog instance %d of prog %s (max %d)\n"
	.section	.rodata.str1.1
.LC2:
	.string	"unpinned program '%s'\n"
	.text
	.p2align 4
	.globl	bpf_program__unpin_instance
	.type	bpf_program__unpin_instance, @function
bpf_program__unpin_instance:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	rdi, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	check_path@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	test	rbx, rbx
	je	.L9
	mov	ecx, DWORD PTR [rbx]
	test	ebp, ebp
	js	.L4
	cmp	ebp, ecx
	jl	.L5
.L4:
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	pr_warning@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, r13
	call	unlink@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L6
	mov	r12d, DWORD PTR errno[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rsi, r13
	lea	rdi, .LC2[rip]
	call	pr_debug@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	pr_warning@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	bpf_program__unpin_instance, .-bpf_program__unpin_instance
	.comm	errno,4,4
	.comm	EINVAL,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_libbpf.c_bpf_program__unpin_instance.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid program pointer\012\000"
	.align	2
.LC1:
	.ascii	"invalid prog instance %d of prog %s (max %d)\012\000"
	.align	2
.LC2:
	.ascii	"unpinned program '%s'\012\000"
	.text
	.align	2
	.global	bpf_program__unpin_instance
	.syntax unified
	.arm
	.fpu softvfp
	.type	bpf_program__unpin_instance, %function
bpf_program__unpin_instance:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r7, r1
	mov	r6, r2
	bl	check_path
	subs	r4, r0, #0
	bne	.L1
	cmp	r5, #0
	beq	.L9
	cmp	r6, #0
	ldr	r3, [r5]
	blt	.L4
	cmp	r6, r3
	blt	.L5
.L4:
	mov	r1, r6
	ldr	r2, [r5, #4]
	ldr	r0, .L10
	bl	pr_warning
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r4, r0, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, r7
	bl	unlink
	subs	r4, r0, #0
	beq	.L6
	ldr	r3, .L10+8
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r1, r7
	ldr	r0, .L10+12
	bl	pr_debug
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r0, .L10+16
	bl	pr_warning
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	EINVAL
	.word	errno
	.word	.LC2
	.word	.LC0
	.size	bpf_program__unpin_instance, .-bpf_program__unpin_instance
	.comm	errno,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
