	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_queue_space                ## -- Begin function iwl_queue_space
	.p2align	4, 0x90
_iwl_queue_space:                       ## @iwl_queue_space
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	leal	-1(%rax), %ecx
	movl	(%rsi), %ebx
	movl	4(%rsi), %edx
	cmpl	%eax, %ebx
	cmovael	%ecx, %ebx
	subl	8(%rsi), %edx
	andl	%ecx, %edx
	xorl	%edi, %edi
	subl	%edx, %ebx
	setb	%dil
	callq	_WARN_ON
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovel	%ebx, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_queue_space                ; -- Begin function iwl_queue_space
	.p2align	2
_iwl_queue_space:                       ; @iwl_queue_space
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w8, [x8]
	sub	w9, w8, #1
	ldp	w10, w11, [x1]
	cmp	w10, w8
	csel	w8, w10, w9, lo
	ldr	w10, [x1, #8]
	sub	w10, w11, w10
	and	w9, w10, w9
	subs	w19, w8, w9
	cset	w0, lo
	bl	_WARN_ON
	cmp	x0, #0
	csel	w0, w19, wzr, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
