	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tty_cooked_mode                ## -- Begin function tty_cooked_mode
	.p2align	4, 0x90
_tty_cooked_mode:                       ## @tty_cooked_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RAW@GOTPCREL(%rip), %rax
	movq	_CBREAK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, 4(%rdi)
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RAW,4,2                        ## @RAW
	.comm	_CBREAK,4,2                     ## @CBREAK
	.comm	_ICANON,4,2                     ## @ICANON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tty_cooked_mode                ; -- Begin function tty_cooked_mode
	.p2align	2
_tty_cooked_mode:                       ; @tty_cooked_mode
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _RAW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RAW@GOTPAGEOFF]
Lloh2:
	adrp	x10, _CBREAK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CBREAK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	cset	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RAW,4,2                        ; @RAW
	.comm	_CBREAK,4,2                     ; @CBREAK
	.comm	_ICANON,4,2                     ; @ICANON
.subsections_via_symbols
