	.file	"extr_snd_mem.c_SND_malloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	SND_malloc
	.type	SND_malloc, @function
SND_malloc:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rax, QWORD PTR freelist[rip]
	test	rax, rax
	jne	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	call	S_FreeOldestSound@PLT
	mov	rax, QWORD PTR freelist[rip]
	test	rax, rax
	je	.L3
.L2:
	mov	rdx, QWORD PTR [rax]
	sub	DWORD PTR inUse[rip], 8
	add	DWORD PTR totalInUse[rip], 8
	mov	QWORD PTR freelist[rip], rdx
	mov	QWORD PTR [rax], 0
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	SND_malloc, .-SND_malloc
	.comm	totalInUse,4,4
	.comm	inUse,4,4
	.comm	freelist,8,8
	.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_snd_mem.c_SND_malloc.c"
	.text
	.align	2
	.global	SND_malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	SND_malloc, %function
SND_malloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L8
	ldr	r0, [r4]
	cmp	r0, #0
	bne	.L2
.L3:
	bl	S_FreeOldestSound
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L3
.L2:
	mov	lr, #0
	ldr	ip, .L8+4
	ldr	r1, .L8+8
	ldr	r2, [ip]
	ldr	r3, [r1]
	sub	r2, r2, #4
	str	r2, [ip]
	ldr	r2, [r0]
	add	r3, r3, #4
	str	r3, [r1]
	str	r2, [r4]
	str	lr, [r0]
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	freelist
	.word	inUse
	.word	totalInUse
	.size	SND_malloc, .-SND_malloc
	.comm	totalInUse,4,4
	.comm	inUse,4,4
	.comm	freelist,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
