	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cb_poll
_cb_poll:                               ## @cb_poll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_consin_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FIONREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	setns	%al
	cmpl	$0, -4(%rbp)
	setg	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_consin_fd,4,2                  ## @consin_fd
	.comm	_FIONREAD,4,2                   ## @FIONREAD
	.no_dead_strip	_cb_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cb_poll
_cb_poll:                               ; @cb_poll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _consin_fd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _consin_fd@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _FIONREAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIONREAD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_ioctl
	cmp	x0, #0
	ldur	w8, [x29, #-4]
	ccmp	w8, #0, #4, ge
	cset	w0, gt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_consin_fd,4,2                  ; @consin_fd
	.comm	_FIONREAD,4,2                   ; @FIONREAD
	.no_dead_strip	_cb_poll
.subsections_via_symbols
