	.file	"extr_libbpf.c_bpf_program__unload.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Internal error: instances.nr is %d\n"
	.text
	.p2align 4
	.globl	bpf_program__unload
	.type	bpf_program__unload, @function
bpf_program__unload:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L1
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR 16[rdi]
	test	esi, esi
	jle	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 24[rbp]
	mov	edi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	zclose@PLT
	cmp	DWORD PTR 16[rbp], ebx
	jg	.L4
.L5:
	mov	DWORD PTR 16[rbp], -1
	lea	rdi, 24[rbp]
	call	zfree@PLT
	lea	rdi, 8[rbp]
	call	zfree@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	zfree@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	esi, -1
	je	.L5
	lea	rdi, .LC0[rip]
	call	pr_warning@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	bpf_program__unload, .-bpf_program__unload
	.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__unload.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Internal error: instances.nr is %d\012\000"
	.text
	.align	2
	.global	bpf_program__unload
	.syntax unified
	.arm
	.fpu softvfp
	.type	bpf_program__unload, %function
bpf_program__unload:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r1, [r5, #8]
	cmp	r1, #0
	ble	.L3
	mov	r4, #0
.L4:
	ldr	r3, [r5, #12]
	ldr	r0, [r3, r4, lsl #2]
	bl	zclose
	ldr	r3, [r5, #8]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L4
.L5:
	mvn	r3, #0
	add	r0, r5, #12
	str	r3, [r5, #8]
	bl	zfree
	add	r0, r5, #4
	bl	zfree
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	zfree
.L3:
	cmn	r1, #1
	beq	.L5
	ldr	r0, .L13
	bl	pr_warning
	b	.L5
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	bpf_program__unload, .-bpf_program__unload
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
