	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tty_receive_char
_tty_receive_char:                      ## @tty_receive_char
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_I_IXON
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_I_IXOFF
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	cmpl	$0, (%rbx)
	je	LBB0_4
LBB0_6:
	movq	_TTY_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movsbl	%r14b, %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tty_insert_flip_char           ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_STOP_CHAR
	cmpb	%r14b, %al
	jne	LBB0_5
## %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_stop_tty                       ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	callq	_START_CHAR
	cmpb	%r14b, %al
	jne	LBB0_6
## %bb.9:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_start_tty                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TTY_NORMAL,4,2                 ## @TTY_NORMAL
	.no_dead_strip	_tty_receive_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tty_receive_char
_tty_receive_char:                      ; @tty_receive_char
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	bl	_I_IXON
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_I_IXOFF
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x19]
	cbz	w8, LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _TTY_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TTY_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tty_insert_flip_char
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	bl	_STOP_CHAR
	cmp	w0, w20
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_stop_tty
LBB0_8:
	mov	x0, x19
	bl	_START_CHAR
	cmp	w0, w20
	b.ne	LBB0_4
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_start_tty
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TTY_NORMAL,4,2                 ; @TTY_NORMAL
	.no_dead_strip	_tty_receive_char
.subsections_via_symbols
