	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hardwire_raw
_hardwire_raw:                          ## @hardwire_raw
	.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	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	-104(%rbp), %rsi
	callq	_get_tty_state
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_safe_strerror
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_fprintf_unfiltered
LBB0_2:
	movq	$0, (%rbx)
	leaq	-104(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_set_tty_state
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_safe_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_fprintf_unfiltered
LBB0_4:
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get_tty_state failed: %s\n"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"set_tty_state failed: %s\n"

	.comm	_ANYP,4,2                       ## @ANYP
	.comm	_CBREAK,4,2                     ## @CBREAK
	.comm	_CLOCAL,4,2                     ## @CLOCAL
	.comm	_CS8,4,2                        ## @CS8
	.comm	_CSIZE,4,2                      ## @CSIZE
	.comm	_ECHO,4,2                       ## @ECHO
	.comm	_PARENB,4,2                     ## @PARENB
	.comm	_RAW,4,2                        ## @RAW
	.comm	_VMIN,8,3                       ## @VMIN
	.comm	_VTIME,8,3                      ## @VTIME
	.no_dead_strip	_hardwire_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hardwire_raw
_hardwire_raw:                          ; @hardwire_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	add	x1, sp, #8
	bl	_get_tty_state
Lloh0:
	adrp	x21, _gdb_stderr@GOTPAGE
Lloh1:
	ldr	x21, [x21, _gdb_stderr@GOTPAGEOFF]
Lloh2:
	adrp	x22, _errno@GOTPAGE
Lloh3:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w20, [x21]
	ldr	w0, [x22]
	bl	_safe_strerror
	mov	x2, x0
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fprintf_unfiltered
LBB0_2:
	str	xzr, [x19]
	add	x1, sp, #8
	mov	x0, x19
	bl	_set_tty_state
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w19, [x21]
	ldr	w0, [x22]
	bl	_safe_strerror
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf_unfiltered
LBB0_4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get_tty_state failed: %s\n"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"set_tty_state failed: %s\n"

	.comm	_ANYP,4,2                       ; @ANYP
	.comm	_CBREAK,4,2                     ; @CBREAK
	.comm	_CLOCAL,4,2                     ; @CLOCAL
	.comm	_CS8,4,2                        ; @CS8
	.comm	_CSIZE,4,2                      ; @CSIZE
	.comm	_ECHO,4,2                       ; @ECHO
	.comm	_PARENB,4,2                     ; @PARENB
	.comm	_RAW,4,2                        ; @RAW
	.comm	_VMIN,8,3                       ; @VMIN
	.comm	_VTIME,8,3                      ; @VTIME
	.no_dead_strip	_hardwire_raw
.subsections_via_symbols
