	.file	"extr_qsynth_reader.c_qsynth_reader_close.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qsynth_reader_close, @function
qsynth_reader_close:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 16[rdi]
	mov	r12, QWORD PTR [rax]
	mov	eax, DWORD PTR [rdi]
	mov	rbp, QWORD PTR 8[r12]
	test	eax, eax
	jle	.L12
	mov	rbx, rdi
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, QWORD PTR 8[rbx]
	cdqe
	mov	rdi, rbx
	mov	esi, DWORD PTR -4[rdx+rax*4]
	call	vc_container_free_track@PLT
	mov	eax, DWORD PTR [rbx]
	sub	eax, 1
	mov	DWORD PTR [rbx], eax
	test	eax, eax
	jg	.L3
	test	rbp, rbp
	je	.L14
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	mov	rbp, QWORD PTR 0[rbp]
	call	free@PLT
.L12:
	test	rbp, rbp
	jne	.L5
.L14:
	mov	rdi, r12
	call	free@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR VC_CONTAINER_SUCCESS[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qsynth_reader_close, .-qsynth_reader_close
	.comm	VC_CONTAINER_SUCCESS,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_qsynth_reader.c_qsynth_reader_close.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qsynth_reader_close, %function
qsynth_reader_close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #8]
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	ldr	r6, [r2]
	cmp	r3, #0
	ldr	r5, [r6, #4]
	ble	.L12
	mov	r4, r0
.L3:
	ldr	r2, [r4, #4]
	sub	r3, r3, #-1073741823
	ldr	r1, [r2, r3, lsl #2]
	mov	r0, r4
	bl	vc_container_free_track
	ldr	r3, [r4]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r4]
	bgt	.L3
	cmp	r5, #0
	beq	.L14
.L5:
	mov	r0, r5
	ldr	r5, [r5]
	bl	free
.L12:
	cmp	r5, #0
	bne	.L5
.L14:
	mov	r0, r6
	bl	free
	ldr	r3, .L15
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L16:
	.align	2
.L15:
	.word	VC_CONTAINER_SUCCESS
	.size	qsynth_reader_close, .-qsynth_reader_close
	.comm	VC_CONTAINER_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
