	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spu_queue_num_free
_spu_queue_num_free:                    ## @spu_queue_num_free
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	subq	8(%rdi), %rax
	jbe	LBB0_2
## %bb.1:
	movq	_CWQ_ENTRY_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_CWQ_ENTRY_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_CWQ_NUM_ENTRIES@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	imulq	%rcx, %rdx
	addq	%rdx, %rax
LBB0_3:
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_6
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_6:
	decl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CWQ_ENTRY_SIZE,8,3             ## @CWQ_ENTRY_SIZE
	.comm	_CWQ_NUM_ENTRIES,8,3            ## @CWQ_NUM_ENTRIES
	.no_dead_strip	_spu_queue_num_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spu_queue_num_free
_spu_queue_num_free:                    ; @spu_queue_num_free
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	subs	x8, x8, x9
	b.ls	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _CWQ_ENTRY_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CWQ_ENTRY_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x9, _CWQ_ENTRY_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CWQ_ENTRY_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _CWQ_NUM_ENTRIES@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CWQ_NUM_ENTRIES@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	madd	x8, x10, x9, x8
LBB0_3:
	udiv	x8, x8, x9
	sub	w0, w8, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CWQ_ENTRY_SIZE,8,3             ; @CWQ_ENTRY_SIZE
	.comm	_CWQ_NUM_ENTRIES,8,3            ; @CWQ_NUM_ENTRIES
	.no_dead_strip	_spu_queue_num_free
.subsections_via_symbols
