	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function need_more_output
_need_more_output:                      ## @need_more_output
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_wait_til_ready
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_STATUS_READY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_STATUS_DIR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	movq	_STATUS_DMA@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	andl	%eax, %edx
	cmpl	%ecx, %edx
	jne	LBB0_5
## %bb.3:
	movq	_MORE_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_1:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_result                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_READY,4,2               ## @STATUS_READY
	.comm	_STATUS_DIR,4,2                 ## @STATUS_DIR
	.comm	_STATUS_DMA,4,2                 ## @STATUS_DMA
	.comm	_MORE_OUTPUT,4,2                ## @MORE_OUTPUT
	.no_dead_strip	_need_more_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function need_more_output
_need_more_output:                      ; @need_more_output
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_wait_til_ready
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _STATUS_READY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_READY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _STATUS_DIR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STATUS_DIR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w9, w9, w8
Lloh6:
	adrp	x10, _STATUS_DMA@GOTPAGE
Lloh7:
	ldr	x10, [x10, _STATUS_DMA@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	and	w9, w9, w0
	cmp	w9, w8
	b.ne	LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _MORE_OUTPUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MORE_OUTPUT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_result
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_READY,4,2               ; @STATUS_READY
	.comm	_STATUS_DIR,4,2                 ; @STATUS_DIR
	.comm	_STATUS_DMA,4,2                 ; @STATUS_DMA
	.comm	_MORE_OUTPUT,4,2                ; @MORE_OUTPUT
	.no_dead_strip	_need_more_output
.subsections_via_symbols
