	.file	"extr_tty.c_tty_hiwat_in_unblock.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tty_hiwat_in_unblock
	.type	tty_hiwat_in_unblock, @function
tty_hiwat_in_unblock:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	eax, DWORD PTR TF_HIWAT_IN[rip]
	mov	rbp, rdi
	mov	edx, DWORD PTR [rdi]
	test	edx, eax
	je	.L2
	mov	ecx, DWORD PTR 8[rdi]
	test	DWORD PTR IXOFF[rip], ecx
	jne	.L13
.L2:
	not	eax
	and	eax, edx
	mov	DWORD PTR 0[rbp], eax
.L3:
	mov	rdi, rbp
	call	tty_gone@PLT
	test	eax, eax
	je	.L14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rcx, QWORD PTR 16[rdi]
	mov	rsi, QWORD PTR VSTART[rip]
	lea	rsi, [rcx+rsi*8]
	mov	rcx, QWORD PTR _POSIX_VDISABLE[rip]
	cmp	QWORD PTR [rsi], rcx
	je	.L2
	lea	rdi, 24[rdi]
	mov	edx, 1
	call	ttyoutq_write_nofrag@PLT
	test	rax, rax
	jne	.L3
	mov	eax, DWORD PTR TF_HIWAT_IN[rip]
	not	eax
	and	DWORD PTR 0[rbp], eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ttydevsw_inwakeup@PLT
	.cfi_endproc
.LFE0:
	.size	tty_hiwat_in_unblock, .-tty_hiwat_in_unblock
	.comm	_POSIX_VDISABLE,8,8
	.comm	VSTART,8,8
	.comm	TF_HIWAT_IN,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_tty_hiwat_in_unblock.c"
	.text
	.align	2
	.global	tty_hiwat_in_unblock
	.syntax unified
	.arm
	.fpu softvfp
	.type	tty_hiwat_in_unblock, %function
tty_hiwat_in_unblock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L14
	ldr	r3, [r0]
	ldr	r2, [r5]
	mov	r4, r0
	tst	r3, r2
	beq	.L2
	ldr	r1, .L14+4
	ldr	r0, [r0, #4]
	ldr	r1, [r1]
	tst	r0, r1
	bne	.L13
.L2:
	bic	r3, r3, r2
	str	r3, [r4]
.L3:
	mov	r0, r4
	bl	tty_gone
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	ttydevsw_inwakeup
.L13:
	ldr	r0, .L14+8
	ldr	r1, [r4, #8]
	ldr	r0, [r0]
	ldr	ip, .L14+12
	ldr	lr, [r1, r0, lsl #2]
	ldr	ip, [ip]
	add	r1, r1, r0, lsl #2
	cmp	lr, ip
	beq	.L2
	mov	r2, #1
	add	r0, r4, #12
	bl	ttyoutq_write_nofrag
	cmp	r0, #0
	ldreq	r2, [r5]
	ldreq	r3, [r4]
	biceq	r3, r3, r2
	streq	r3, [r4]
	b	.L3
.L15:
	.align	2
.L14:
	.word	TF_HIWAT_IN
	.word	IXOFF
	.word	VSTART
	.word	_POSIX_VDISABLE
	.size	tty_hiwat_in_unblock, .-tty_hiwat_in_unblock
	.comm	_POSIX_VDISABLE,4,4
	.comm	VSTART,4,4
	.comm	TF_HIWAT_IN,4,4
	.comm	IXOFF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
