	.file	"extr_fwserial.c_fwtty_tiocmset.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"set: %x clear: %x\n"
	.text
	.p2align 4
	.type	fwtty_tiocmset, @function
fwtty_tiocmset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	ecx, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	mov	edx, esi
	lea	rsi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR [rdi]
	lea	r13, 4[rbp]
	mov	rdi, rbp
	call	fwtty_dbg@PLT
	mov	rdi, r13
	call	spin_lock_bh@PLT
	mov	esi, DWORD PTR MCTRL_MASK[rip]
	mov	rdi, rbp
	and	ebx, esi
	and	esi, r12d
	movzx	ebx, bx
	movzx	esi, si
	not	ebx
	and	ebx, DWORD PTR 0[rbp]
	or	ebx, esi
	mov	DWORD PTR 0[rbp], ebx
	call	__fwtty_write_port_status@PLT
	mov	rdi, r13
	call	spin_unlock_bh@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fwtty_tiocmset, .-fwtty_tiocmset
	.comm	MCTRL_MASK,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_fwserial.c_fwtty_tiocmset.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"set: %x clear: %x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fwtty_tiocmset, %function
fwtty_tiocmset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r7, r1
	ldr	r5, [r0]
	mov	r3, r2
	add	r6, r5, #4
	mov	r2, r1
	mov	r0, r5
	ldr	r1, .L4
	bl	fwtty_dbg
	mov	r0, r6
	bl	spin_lock_bh
	ldr	r3, .L4+4
	ldr	r2, .L4+8
	ldr	r3, [r3]
	ldr	r0, [r5]
	and	r4, r4, r3
	and	r4, r4, r2
	and	r3, r3, r7
	and	r3, r3, r2
	bic	r4, r0, r4
	orr	r3, r4, r3
	str	r3, [r5]
	mov	r0, r5
	bl	__fwtty_write_port_status
	mov	r0, r6
	bl	spin_unlock_bh
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	MCTRL_MASK
	.word	65535
	.size	fwtty_tiocmset, .-fwtty_tiocmset
	.comm	MCTRL_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
