	.file	"extr_uplcom.c_uplcom_cfg_set_rts.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"onoff = %d\n"
	.text
	.p2align 4
	.type	uplcom_cfg_set_rts, @function
uplcom_cfg_set_rts:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	DPRINTF@PLT
	test	rbx, rbx
	je	.L2
	mov	esi, DWORD PTR 16[rbp]
	or	esi, DWORD PTR UCDC_LINE_RTS[rip]
.L3:
	mov	eax, DWORD PTR UT_WRITE_CLASS_INTERFACE[rip]
	mov	edi, DWORD PTR 16[rsp]
	mov	DWORD PTR 16[rbp], esi
	mov	DWORD PTR 24[rsp], eax
	mov	eax, DWORD PTR UCDC_SET_CONTROL_LINE_STATE[rip]
	mov	DWORD PTR 20[rsp], eax
	call	USETW@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR 8[rsp]
	xor	esi, esi
	mov	edi, DWORD PTR [rsp]
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], 0
	call	USETW@PLT
	mov	edi, DWORD PTR 4[rbp]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdx, rsp
	mov	r9d, 1000
	mov	rsi, rbp
	call	ucom_cfg_do_request@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR UCDC_LINE_RTS[rip]
	not	esi
	and	esi, DWORD PTR 16[rbp]
	jmp	.L3
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	uplcom_cfg_set_rts, .-uplcom_cfg_set_rts
	.comm	UT_WRITE_CLASS_INTERFACE,4,4
	.comm	UCDC_SET_CONTROL_LINE_STATE,4,4
	.comm	UCDC_LINE_RTS,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_uplcom.c_uplcom_cfg_set_rts.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"onoff = %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uplcom_cfg_set_rts, %function
uplcom_cfg_set_rts:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	push	{r4, r5, lr}
	mov	r5, r1
	ldr	r4, [r3]
	ldr	r3, .L8
	sub	sp, sp, #36
	ldr	r0, .L8+4
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	DPRINTF
	cmp	r5, #0
	mov	r5, #0
	ldr	r3, .L8+8
	ldr	r1, [r4, #12]
	ldr	r3, [r3]
	ldr	r2, .L8+12
	orrne	r1, r1, r3
	biceq	r1, r1, r3
	ldr	r3, .L8+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r1, [r4, #12]
	ldr	r0, [sp, #16]
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	bl	USETW
	ldr	r3, [sp, #12]
	ldr	r2, [r4, #8]
	mov	r1, r5
	stm	r3, {r2, r5}
	ldr	r0, [sp, #8]
	bl	USETW
	mov	r2, #1000
	ldr	r0, [r4, #4]
	mov	r3, r5
	str	r2, [sp, #4]
	mov	r1, r4
	add	r2, sp, #8
	str	r5, [sp]
	bl	ucom_cfg_do_request
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.word	UCDC_LINE_RTS
	.word	UT_WRITE_CLASS_INTERFACE
	.word	UCDC_SET_CONTROL_LINE_STATE
	.size	uplcom_cfg_set_rts, .-uplcom_cfg_set_rts
	.comm	UT_WRITE_CLASS_INTERFACE,4,4
	.comm	UCDC_SET_CONTROL_LINE_STATE,4,4
	.comm	UCDC_LINE_RTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
