	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_q_space_avail
_ionic_q_space_avail:                   ## @ionic_q_space_avail
	.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), %rdx
	movq	8(%rdi), %rax
	movl	(%rax), %ecx
	movl	(%rdx), %eax
	cmpl	%ecx, %eax
	jae	LBB0_1
## %bb.2:
	notl	%eax
	jmp	LBB0_3
LBB0_1:
	movl	4(%rdx), %eax
	decl	%eax
LBB0_3:
	addl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ionic_q_space_avail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ionic_q_space_avail
_ionic_q_space_avail:                   ; @ionic_q_space_avail
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	ldr	w8, [x8]
	ldr	w10, [x9]
	cmp	w10, w8
	b.hs	LBB0_2
; %bb.1:
	mvn	w9, w10
	add	w0, w9, w8
	ret
LBB0_2:
	ldr	w9, [x9, #4]
	sub	w9, w9, #1
	add	w0, w9, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ionic_q_space_avail
.subsections_via_symbols
