	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_f_cbreak                       ## -- Begin function f_cbreak
	.p2align	4, 0x90
_f_cbreak:                              ## @f_cbreak
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	popq	%rbp
	jmp	_f_sane                         ## TAILCALL
LBB0_1:
	movq	_BRKINT@GOTPCREL(%rip), %rax
	movq	_IXON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IMAXBEL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, 4(%rdi)
	movq	_OPOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rdi)
	movq	_ISIG@GOTPCREL(%rip), %rax
	movq	_IEXTEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	8(%rdi), %ecx
	movq	_ICANON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, 8(%rdi)
	movl	$1, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRKINT,4,2                     ## @BRKINT
	.comm	_IXON,4,2                       ## @IXON
	.comm	_IMAXBEL,4,2                    ## @IMAXBEL
	.comm	_OPOST,4,2                      ## @OPOST
	.comm	_ISIG,4,2                       ## @ISIG
	.comm	_IEXTEN,4,2                     ## @IEXTEN
	.comm	_ICANON,4,2                     ## @ICANON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_f_cbreak                       ; -- Begin function f_cbreak
	.p2align	2
_f_cbreak:                              ; @f_cbreak
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	b	_f_sane
LBB0_2:
Lloh0:
	adrp	x8, _BRKINT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRKINT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IXON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IXON@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _IMAXBEL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IMAXBEL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldp	w9, w10, [x0, #4]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _OPOST@GOTPAGE
Lloh10:
	ldr	x9, [x9, _OPOST@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w11, [x0, #12]
	orr	w9, w11, w9
Lloh12:
	adrp	x11, _ISIG@GOTPAGE
Lloh13:
	ldr	x11, [x11, _ISIG@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
Lloh15:
	adrp	x12, _IEXTEN@GOTPAGE
Lloh16:
	ldr	x12, [x12, _IEXTEN@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	orr	w11, w12, w11
	orr	w10, w11, w10
Lloh18:
	adrp	x11, _ICANON@GOTPAGE
Lloh19:
	ldr	x11, [x11, _ICANON@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	bic	w10, w10, w11
	stp	w10, w9, [x0, #8]
	mov	w9, #1
	stp	w9, w8, [x0]
	ret
	.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	_BRKINT,4,2                     ; @BRKINT
	.comm	_IXON,4,2                       ; @IXON
	.comm	_IMAXBEL,4,2                    ; @IMAXBEL
	.comm	_OPOST,4,2                      ; @OPOST
	.comm	_ISIG,4,2                       ; @ISIG
	.comm	_IEXTEN,4,2                     ; @IEXTEN
	.comm	_ICANON,4,2                     ; @ICANON
.subsections_via_symbols
