	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_tty
_set_tty:                               ## @set_tty
	.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	_otty@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -16(%rbp)
	movq	_ICANON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ECHO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, -8(%rbp)
	movq	-16(%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)
	movq	_VINTR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$7, (%rax,%rcx,4)
	movq	_VQUIT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$7, (%rax,%rcx,4)
	movq	_std_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TCSANOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	callq	_tcsetattr
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_otty,16,3                      ## @otty
	.comm	_ICANON,4,2                     ## @ICANON
	.comm	_ECHO,4,2                       ## @ECHO
	.comm	_VMIN,8,3                       ## @VMIN
	.comm	_VTIME,8,3                      ## @VTIME
	.comm	_VINTR,8,3                      ## @VINTR
	.comm	_VQUIT,8,3                      ## @VQUIT
	.comm	_std_in,4,2                     ## @std_in
	.comm	_TCSANOW,4,2                    ## @TCSANOW
	.comm	_FLUSHO,4,2                     ## @FLUSHO
	.comm	_IEXTEN,4,2                     ## @IEXTEN
	.comm	_PENDIN,4,2                     ## @PENDIN
	.no_dead_strip	_set_tty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_tty
_set_tty:                               ; @set_tty
	.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, _otty@GOTPAGE
Lloh1:
	ldr	x8, [x8, _otty@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh3:
	adrp	x8, _ICANON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICANON@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ECHO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ECHO@GOTPAGEOFF]
	ldr	w10, [sp, #8]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w8, w10, w8
	str	w8, [sp, #8]
	ldr	x8, [sp]
Lloh9:
	adrp	x9, _VMIN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VMIN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	mov	w10, #1
	str	w10, [x8, x9, lsl #2]
Lloh12:
	adrp	x9, _VTIME@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VTIME@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	str	wzr, [x8, x9, lsl #2]
Lloh15:
	adrp	x9, _VINTR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VINTR@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	mov	w10, #7
	str	w10, [x8, x9, lsl #2]
Lloh18:
	adrp	x9, _VQUIT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VQUIT@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	str	w10, [x8, x9, lsl #2]
Lloh21:
	adrp	x8, _std_in@GOTPAGE
Lloh22:
	ldr	x8, [x8, _std_in@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _TCSANOW@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TCSANOW@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_tcsetattr
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_otty,16,3                      ; @otty
	.comm	_ICANON,4,2                     ; @ICANON
	.comm	_ECHO,4,2                       ; @ECHO
	.comm	_VMIN,8,3                       ; @VMIN
	.comm	_VTIME,8,3                      ; @VTIME
	.comm	_VINTR,8,3                      ; @VINTR
	.comm	_VQUIT,8,3                      ; @VQUIT
	.comm	_std_in,4,2                     ; @std_in
	.comm	_TCSANOW,4,2                    ; @TCSANOW
	.comm	_FLUSHO,4,2                     ; @FLUSHO
	.comm	_IEXTEN,4,2                     ; @IEXTEN
	.comm	_PENDIN,4,2                     ; @PENDIN
	.no_dead_strip	_set_tty
.subsections_via_symbols
