	.file	"extr_tty.c_ttyblock.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ttyblock
	.type	ttyblock, @function
ttyblock:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	TTY_LOCK_OWNED@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR TS_TBLOCK[rip]
	call	SET@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR IXOFF[rip]
	call	ISSET@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR VSTOP[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	cmp	rdi, QWORD PTR _POSIX_VDISABLE[rip]
	jne	.L10
.L3:
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	ttstart@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rsi, 12[rbp]
	call	putc@PLT
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR TS_TBLOCK[rip]
	call	CLR@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ttyblock, .-ttyblock
	.comm	_POSIX_VDISABLE,8,8
	.comm	VSTOP,8,8
	.comm	TS_TBLOCK,4,4
	.comm	IXOFF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tty.c_ttyblock.c"
	.text
	.align	2
	.global	ttyblock
	.syntax unified
	.arm
	.fpu softvfp
	.type	ttyblock, %function
ttyblock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L11
	bl	TTY_LOCK_OWNED
	ldr	r1, [r5]
	ldr	r0, [r4, #4]
	bl	SET
	ldr	r3, .L11+4
	ldr	r0, [r4, #12]
	ldr	r1, [r3]
	bl	ISSET
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L11+8
	ldr	r2, [r4]
	ldr	r1, [r3]
	ldr	r3, .L11+12
	ldr	r0, [r2, r1, lsl #2]
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L10
.L3:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	ttstart
.L10:
	add	r1, r4, #8
	bl	putc
	cmp	r0, #0
	beq	.L3
	ldr	r1, [r5]
	ldr	r0, [r4, #4]
	bl	CLR
	b	.L3
.L12:
	.align	2
.L11:
	.word	TS_TBLOCK
	.word	IXOFF
	.word	VSTOP
	.word	_POSIX_VDISABLE
	.size	ttyblock, .-ttyblock
	.comm	_POSIX_VDISABLE,4,4
	.comm	VSTOP,4,4
	.comm	TS_TBLOCK,4,4
	.comm	IXOFF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
