	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nb_char_available              ## -- Begin function nb_char_available
	.p2align	4, 0x90
_nb_char_available:                     ## @nb_char_available
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	leaq	-20(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_FD_ZERO
	movq	_STDIN_FILENO@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_FD_SET
	movq	(%r14), %rdi
	incq	%rdi
	leaq	-48(%rbp), %r8
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_FD_ISSET
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STDIN_FILENO,8,3               ## @STDIN_FILENO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nb_char_available              ; -- Begin function nb_char_available
	.p2align	2
_nb_char_available:                     ; @nb_char_available
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	stp	xzr, xzr, [sp, #16]
	add	x0, sp, #12
	bl	_FD_ZERO
Lloh0:
	adrp	x19, _STDIN_FILENO@GOTPAGE
Lloh1:
	ldr	x19, [x19, _STDIN_FILENO@GOTPAGEOFF]
	ldr	x0, [x19]
	add	x1, sp, #12
	bl	_FD_SET
	ldr	x8, [x19]
	add	x0, x8, #1
	add	x1, sp, #12
	add	x4, sp, #16
	mov	x2, #0
	mov	x3, #0
	bl	_select
	add	x1, sp, #12
	mov	w0, #0
	bl	_FD_ISSET
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_STDIN_FILENO,8,3               ; @STDIN_FILENO
.subsections_via_symbols
