	.file	"extr_keyspan.c_keyspan_tiocmget.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	keyspan_tiocmget, @function
keyspan_tiocmget:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rdi, QWORD PTR [rdi]
	call	usb_get_serial_port_data@PLT
	mov	r8d, DWORD PTR TIOCM_RTS[rip]
	cmp	QWORD PTR 40[rax], 0
	jne	.L2
	xor	r8d, r8d
.L2:
	cmp	QWORD PTR 32[rax], 0
	je	.L3
	or	r8d, DWORD PTR TIOCM_DTR[rip]
.L3:
	cmp	QWORD PTR 24[rax], 0
	je	.L4
	or	r8d, DWORD PTR TIOCM_CTS[rip]
.L4:
	cmp	QWORD PTR 16[rax], 0
	je	.L5
	or	r8d, DWORD PTR TIOCM_DSR[rip]
.L5:
	cmp	QWORD PTR 8[rax], 0
	je	.L6
	or	r8d, DWORD PTR TIOCM_CAR[rip]
.L6:
	cmp	QWORD PTR [rax], 0
	je	.L7
	or	r8d, DWORD PTR TIOCM_RNG[rip]
.L7:
	mov	eax, r8d
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	keyspan_tiocmget, .-keyspan_tiocmget
	.comm	TIOCM_RTS,4,4
	.comm	TIOCM_RNG,4,4
	.comm	TIOCM_DTR,4,4
	.comm	TIOCM_DSR,4,4
	.comm	TIOCM_CTS,4,4
	.comm	TIOCM_CAR,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_keyspan.c_keyspan_tiocmget.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	keyspan_tiocmget, %function
keyspan_tiocmget:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r0, [r0]
	bl	usb_get_serial_port_data
	mov	r3, r0
	ldr	r0, [r0, #20]
	cmp	r0, #0
	ldrne	r2, .L26
	ldrne	r0, [r2]
	ldr	r2, [r3, #16]
	cmp	r2, #0
	ldrne	r2, .L26+4
	ldrne	r2, [r2]
	orrne	r0, r0, r2
	ldr	r2, [r3, #12]
	cmp	r2, #0
	ldrne	r2, .L26+8
	ldrne	r2, [r2]
	orrne	r0, r0, r2
	ldr	r2, [r3, #8]
	cmp	r2, #0
	ldrne	r2, .L26+12
	ldrne	r2, [r2]
	orrne	r0, r0, r2
	ldr	r2, [r3, #4]
	ldr	r3, [r3]
	cmp	r2, #0
	ldrne	r2, .L26+16
	ldrne	r2, [r2]
	orrne	r0, r0, r2
	cmp	r3, #0
	ldrne	r3, .L26+20
	ldrne	r3, [r3]
	orrne	r0, r0, r3
	pop	{r4, pc}
.L27:
	.align	2
.L26:
	.word	TIOCM_RTS
	.word	TIOCM_DTR
	.word	TIOCM_CTS
	.word	TIOCM_DSR
	.word	TIOCM_CAR
	.word	TIOCM_RNG
	.size	keyspan_tiocmget, .-keyspan_tiocmget
	.comm	TIOCM_RTS,4,4
	.comm	TIOCM_RNG,4,4
	.comm	TIOCM_DTR,4,4
	.comm	TIOCM_DSR,4,4
	.comm	TIOCM_CTS,4,4
	.comm	TIOCM_CAR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
