	.file	"extr_istallion.c_stli_tiocmset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	stli_tiocmset, @function
stli_tiocmset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	eax, DWORD PTR ENODEV[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, QWORD PTR 8[rdi]
	neg	eax
	test	rbp, rbp
	je	.L1
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR stli_nrbrds[rip]
	jnb	.L10
	mov	esi, ecx
	mov	rcx, QWORD PTR stli_brds[rip]
	mov	r12, QWORD PTR [rcx+rax*8]
	test	r12, r12
	je	.L10
	mov	eax, DWORD PTR [rdi]
	mov	ecx, DWORD PTR TTY_IO_ERROR[rip]
	sar	eax, cl
	and	eax, 1
	jne	.L18
	mov	edi, DWORD PTR TIOCM_RTS[rip]
	lea	r13, 8[rbp]
	mov	ecx, edi
	and	ecx, edx
	cmp	ecx, 1
	mov	ecx, DWORD PTR TIOCM_DTR[rip]
	sbb	r9d, r9d
	and	edx, ecx
	or	r9d, 1
	cmp	edx, 1
	sbb	r8d, r8d
	or	r8d, 1
	test	edi, esi
	mov	rdi, r13
	cmovne	r9d, eax
	test	ecx, esi
	cmovne	r8d, eax
	mov	edx, r9d
	mov	esi, r8d
	call	stli_mkasysigs@PLT
	mov	rcx, r13
	mov	rsi, rbp
	mov	rdi, r12
	mov	edx, DWORD PTR A_SETSIGNALS[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	r9d, r9d
	mov	r8d, 4
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	stli_cmdwait@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	xor	eax, eax
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	eax, DWORD PTR EIO[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	stli_tiocmset, .-stli_tiocmset
	.comm	stli_nrbrds,8,8
	.comm	stli_brds,8,8
	.comm	TTY_IO_ERROR,4,4
	.comm	TIOCM_RTS,4,4
	.comm	TIOCM_DTR,4,4
	.comm	ENODEV,4,4
	.comm	EIO,4,4
	.comm	A_SETSIGNALS,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_istallion.c_stli_tiocmset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stli_tiocmset, %function
stli_tiocmset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r6, [r0, #4]
	sub	sp, sp, #12
	cmp	r6, #0
	beq	.L18
	ldr	ip, .L20
	ldr	r1, [r6]
	ldr	ip, [ip]
	cmp	r1, ip
	movcs	r0, #0
	bcs	.L1
	ldr	ip, .L20+4
	ldr	ip, [ip]
	ldr	r4, [ip, r1, lsl #2]
	cmp	r4, #0
	moveq	r0, r4
	beq	.L1
	ldr	ip, .L20+8
	ldr	r1, [r0]
	ldr	r0, [ip]
	asr	r1, r1, r0
	ands	r5, r1, #1
	bne	.L19
	ldr	r0, .L20+12
	ldr	r1, .L20+16
	ldr	lr, [r0]
	ldr	ip, [r1]
	tst	lr, r2
	movne	r0, #1
	mvneq	r0, #0
	tst	ip, r2
	movne	r1, #1
	mvneq	r1, #0
	tst	lr, r3
	movne	r0, #0
	add	r7, r6, #4
	tst	ip, r3
	mov	r2, r0
	movne	r1, #0
	mov	r0, r7
	bl	stli_mkasysigs
	mov	ip, #4
	ldr	r2, .L20+20
	str	r5, [sp, #4]
	str	ip, [sp]
	mov	r3, r7
	mov	r1, r6
	mov	r0, r4
	ldr	r2, [r2]
	bl	stli_cmdwait
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L18:
	ldr	r3, .L20+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L19:
	ldr	r3, .L20+28
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L21:
	.align	2
.L20:
	.word	stli_nrbrds
	.word	stli_brds
	.word	TTY_IO_ERROR
	.word	TIOCM_RTS
	.word	TIOCM_DTR
	.word	A_SETSIGNALS
	.word	ENODEV
	.word	EIO
	.size	stli_tiocmset, .-stli_tiocmset
	.comm	stli_nrbrds,4,4
	.comm	stli_brds,4,4
	.comm	TTY_IO_ERROR,4,4
	.comm	TIOCM_RTS,4,4
	.comm	TIOCM_DTR,4,4
	.comm	ENODEV,4,4
	.comm	EIO,4,4
	.comm	A_SETSIGNALS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
