	.file	"extr_8250.h_serial8250_MSR_to_TIOCM.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	serial8250_MSR_to_TIOCM, @function
serial8250_MSR_to_TIOCM:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, edi
	and	eax, DWORD PTR UART_MSR_DCD[rip]
	cmovne	eax, DWORD PTR TIOCM_CAR[rip]
	test	DWORD PTR UART_MSR_RI[rip], edi
	je	.L3
	or	eax, DWORD PTR TIOCM_RNG[rip]
.L3:
	test	DWORD PTR UART_MSR_DSR[rip], edi
	je	.L4
	or	eax, DWORD PTR TIOCM_DSR[rip]
.L4:
	test	DWORD PTR UART_MSR_CTS[rip], edi
	je	.L1
	or	eax, DWORD PTR TIOCM_CTS[rip]
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	serial8250_MSR_to_TIOCM, .-serial8250_MSR_to_TIOCM
	.comm	UART_MSR_RI,4,4
	.comm	UART_MSR_DSR,4,4
	.comm	UART_MSR_DCD,4,4
	.comm	UART_MSR_CTS,4,4
	.comm	TIOCM_RNG,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_8250.h_serial8250_MSR_to_TIOCM.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	serial8250_MSR_to_TIOCM, %function
serial8250_MSR_to_TIOCM:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r2, r0
	ldr	r3, .L19
	ldr	r3, [r3]
	ands	r0, r0, r3
	ldrne	r3, .L19+4
	ldrne	r0, [r3]
	ldr	r3, .L19+8
	ldr	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L19+12
	ldrne	r3, [r3]
	orrne	r0, r0, r3
	ldr	r3, .L19+16
	ldr	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L19+20
	ldrne	r3, [r3]
	orrne	r0, r0, r3
	ldr	r3, .L19+24
	ldr	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L19+28
	ldrne	r3, [r3]
	orrne	r0, r0, r3
	bx	lr
.L20:
	.align	2
.L19:
	.word	UART_MSR_DCD
	.word	TIOCM_CAR
	.word	UART_MSR_RI
	.word	TIOCM_RNG
	.word	UART_MSR_DSR
	.word	TIOCM_DSR
	.word	UART_MSR_CTS
	.word	TIOCM_CTS
	.size	serial8250_MSR_to_TIOCM, .-serial8250_MSR_to_TIOCM
	.comm	UART_MSR_RI,4,4
	.comm	UART_MSR_DSR,4,4
	.comm	UART_MSR_DCD,4,4
	.comm	UART_MSR_CTS,4,4
	.comm	TIOCM_RNG,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
