	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_ConsoleInputShutdown       ## -- Begin function Sys_ConsoleInputShutdown
	.p2align	4, 0x90
_Sys_ConsoleInputShutdown:              ## @Sys_ConsoleInputShutdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ttycon_on@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_Com_Printf
	movq	_TCSADRAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_tty_tc@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	popq	%rbp
	jmp	_tcsetattr                      ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ttycon_on,8,3                  ## @ttycon_on
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Shutdown tty console\n"

	.comm	_TCSADRAIN,4,2                  ## @TCSADRAIN
	.comm	_tty_tc,4,2                     ## @tty_tc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_ConsoleInputShutdown       ; -- Begin function Sys_ConsoleInputShutdown
	.p2align	2
_Sys_ConsoleInputShutdown:              ; @Sys_ConsoleInputShutdown
	.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
Lloh0:
	adrp	x8, _ttycon_on@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ttycon_on@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
Lloh5:
	adrp	x8, _TCSADRAIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TCSADRAIN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, _tty_tc@GOTPAGE
Lloh9:
	ldr	x2, [x2, _tty_tc@GOTPAGEOFF]
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_tcsetattr
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ttycon_on,8,3                  ; @ttycon_on
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Shutdown tty console\n"

	.comm	_TCSADRAIN,4,2                  ; @TCSADRAIN
	.comm	_tty_tc,4,2                     ; @tty_tc
.subsections_via_symbols
