	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_fileio_func_isatty
_remote_fileio_func_isatty:             ## @remote_fileio_func_isatty
	.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	%rdi, -16(%rbp)
	leaq	-16(%rbp), %rdi
	leaq	-8(%rbp), %rsi
	callq	_remote_fileio_extract_int
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_remote_fileio_ioerror
	jmp	LBB0_3
LBB0_2:
	movq	_remote_fio_no_longjmp@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	-8(%rbp), %edi
	callq	_remote_fileio_map_fd
	movq	_FIO_FD_CONSOLE_IN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%cl
	movq	_FIO_FD_CONSOLE_OUT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_remote_fileio_return_success
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_remote_fio_no_longjmp,4,2      ## @remote_fio_no_longjmp
	.comm	_FIO_FD_CONSOLE_IN,4,2          ## @FIO_FD_CONSOLE_IN
	.comm	_FIO_FD_CONSOLE_OUT,4,2         ## @FIO_FD_CONSOLE_OUT
	.no_dead_strip	_remote_fileio_func_isatty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_fileio_func_isatty
_remote_fileio_func_isatty:             ; @remote_fileio_func_isatty
	.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
	str	x0, [sp, #8]
	add	x0, sp, #8
	mov	x1, sp
	bl	_remote_fileio_extract_int
	cbz	x0, LBB0_2
; %bb.1:
	bl	_remote_fileio_ioerror
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _remote_fio_no_longjmp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _remote_fio_no_longjmp@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	str	w9, [x8]
	ldr	w0, [sp]
	bl	_remote_fileio_map_fd
Lloh3:
	adrp	x8, _FIO_FD_CONSOLE_IN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIO_FD_CONSOLE_IN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
Lloh6:
	adrp	x8, _FIO_FD_CONSOLE_OUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FIO_FD_CONSOLE_OUT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ccmp	w0, w8, #4, ne
	cset	w0, eq
	bl	_remote_fileio_return_success
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_remote_fio_no_longjmp,4,2      ; @remote_fio_no_longjmp
	.comm	_FIO_FD_CONSOLE_IN,4,2          ; @FIO_FD_CONSOLE_IN
	.comm	_FIO_FD_CONSOLE_OUT,4,2         ; @FIO_FD_CONSOLE_OUT
	.no_dead_strip	_remote_fileio_func_isatty
.subsections_via_symbols
