	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tty_break                      ## -- Begin function tty_break
	.p2align	4, 0x90
_tty_break:                             ## @tty_break
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_stdin@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_fileno
	movq	_savemodes@GOTPCREL(%rip), %rbx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_tcgetattr
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_havemodes@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movups	(%rbx), %xmm0
	movaps	%xmm0, -32(%rbp)
	movq	_ICANON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -24(%rbp)
	movq	-32(%rbp), %rax
	movq	_VMIN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$1, (%rax,%rcx,4)
	movq	_VTIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$0, (%rax,%rcx,4)
	movl	(%r14), %edi
	callq	_fileno
	movq	_TCSANOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-32(%rbp), %rdx
	movl	%eax, %edi
	callq	_tcsetattr
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdin,4,2                      ## @stdin
	.comm	_savemodes,16,3                 ## @savemodes
	.comm	_havemodes,4,2                  ## @havemodes
	.comm	_ICANON,4,2                     ## @ICANON
	.comm	_VMIN,8,3                       ## @VMIN
	.comm	_VTIME,8,3                      ## @VTIME
	.comm	_TCSANOW,4,2                    ## @TCSANOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tty_break                      ; -- Begin function tty_break
	.p2align	2
_tty_break:                             ; @tty_break
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _stdin@GOTPAGE
Lloh1:
	ldr	x20, [x20, _stdin@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_fileno
Lloh2:
	adrp	x19, _savemodes@GOTPAGE
Lloh3:
	ldr	x19, [x19, _savemodes@GOTPAGEOFF]
	mov	x1, x19
	bl	_tcgetattr
	tbnz	x0, #63, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _havemodes@GOTPAGE
Lloh5:
	ldr	x8, [x8, _havemodes@GOTPAGEOFF]
	mov	w9, #1
Lloh6:
	str	w9, [x8]
	ldr	q0, [x19]
	str	q0, [sp]
Lloh7:
	adrp	x8, _ICANON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ICANON@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w10, [sp, #8]
	bic	w8, w10, w8
	str	w8, [sp, #8]
	ldr	x8, [sp]
Lloh10:
	adrp	x10, _VMIN@GOTPAGE
Lloh11:
	ldr	x10, [x10, _VMIN@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	str	w9, [x8, x10, lsl #2]
Lloh13:
	adrp	x9, _VTIME@GOTPAGE
Lloh14:
	ldr	x9, [x9, _VTIME@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	str	wzr, [x8, x9, lsl #2]
	ldr	w0, [x20]
	bl	_fileno
Lloh16:
	adrp	x8, _TCSANOW@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TCSANOW@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_tcsetattr
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_stdin,4,2                      ; @stdin
	.comm	_savemodes,16,3                 ; @savemodes
	.comm	_havemodes,4,2                  ; @havemodes
	.comm	_ICANON,4,2                     ; @ICANON
	.comm	_VMIN,8,3                       ; @VMIN
	.comm	_VTIME,8,3                      ; @VTIME
	.comm	_TCSANOW,4,2                    ; @TCSANOW
.subsections_via_symbols
