	.file	"extr_n2_core.c_spu_queue_num_free.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	spu_queue_num_free, @function
spu_queue_num_free:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	mov	rsi, QWORD PTR 8[rdi]
	mov	rcx, QWORD PTR CWQ_ENTRY_SIZE[rip]
	mov	rdx, QWORD PTR CWQ_NUM_ENTRIES[rip]
	cmp	rax, rsi
	ja	.L4
	imul	rdx, rcx
	add	rax, rdx
.L4:
	sub	rax, rsi
	xor	edx, edx
	div	rcx
	sub	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	spu_queue_num_free, .-spu_queue_num_free
	.comm	CWQ_NUM_ENTRIES,8,8
	.comm	CWQ_ENTRY_SIZE,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_n2_core.c_spu_queue_num_free.c"
	.text
	.global	__aeabi_uidiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spu_queue_num_free, %function
spu_queue_num_free:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r1, .L7
	ldr	r2, .L7+4
	ldr	r3, [r0]
	ldr	r0, [r0, #4]
	ldr	r1, [r1]
	ldr	r2, [r2]
	cmp	r3, r0
	mlals	r3, r2, r1, r3
	push	{r4, lr}
	sub	r0, r3, r0
	bl	__aeabi_uidiv
	sub	r0, r0, #1
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	CWQ_ENTRY_SIZE
	.word	CWQ_NUM_ENTRIES
	.size	spu_queue_num_free, .-spu_queue_num_free
	.comm	CWQ_NUM_ENTRIES,4,4
	.comm	CWQ_ENTRY_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
