	.file	"extr_uart.c_gb_tty_tiocmset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gb_tty_tiocmset, @function
gb_tty_tiocmset:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR TIOCM_DTR[rip]
	mov	r8, QWORD PTR [rdi]
	mov	ecx, esi
	mov	edi, eax
	mov	r9d, DWORD PTR [r8]
	and	edi, esi
	mov	esi, DWORD PTR TIOCM_RTS[rip]
	cmovne	edi, DWORD PTR GB_UART_CTRL_DTR[rip]
	test	esi, ecx
	je	.L3
	or	edi, DWORD PTR GB_UART_CTRL_RTS[rip]
.L3:
	and	eax, edx
	cmovne	eax, DWORD PTR GB_UART_CTRL_DTR[rip]
	test	esi, edx
	je	.L5
	or	eax, DWORD PTR GB_UART_CTRL_RTS[rip]
.L5:
	not	eax
	mov	esi, eax
	and	esi, r9d
	or	esi, edi
	cmp	r9d, esi
	je	.L6
	mov	DWORD PTR [r8], esi
	mov	rdi, r8
	jmp	send_control@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	gb_tty_tiocmset, .-gb_tty_tiocmset
	.comm	TIOCM_RTS,4,4
	.comm	TIOCM_DTR,4,4
	.comm	GB_UART_CTRL_RTS,4,4
	.comm	GB_UART_CTRL_DTR,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_uart.c_gb_tty_tiocmset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gb_tty_tiocmset, %function
gb_tty_tiocmset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L21
	push	{r4, lr}
	ldr	r3, [r3]
	ldr	r4, .L21+4
	ands	ip, r3, r1
	ldrne	ip, .L21+8
	ldr	r4, [r4]
	ldrne	ip, [ip]
	tst	r4, r1
	ldrne	r1, .L21+12
	ldr	r0, [r0]
	ldrne	r1, [r1]
	ldr	lr, [r0]
	orrne	ip, ip, r1
	ands	r3, r3, r2
	ldrne	r3, .L21+8
	ldrne	r3, [r3]
	tst	r4, r2
	ldrne	r2, .L21+12
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	bic	r3, lr, r3
	orr	r1, r3, ip
	cmp	lr, r1
	beq	.L6
	pop	{r4, lr}
	str	r1, [r0]
	b	send_control
.L6:
	mov	r0, #0
	pop	{r4, pc}
.L22:
	.align	2
.L21:
	.word	TIOCM_DTR
	.word	TIOCM_RTS
	.word	GB_UART_CTRL_DTR
	.word	GB_UART_CTRL_RTS
	.size	gb_tty_tiocmset, .-gb_tty_tiocmset
	.comm	TIOCM_RTS,4,4
	.comm	TIOCM_DTR,4,4
	.comm	GB_UART_CTRL_RTS,4,4
	.comm	GB_UART_CTRL_DTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
