	.file	"extr_jsm_cls.c_cls_set_cts_flow_control.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cls_set_cts_flow_control, @function
cls_set_cts_flow_control:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 8[rdi]
	mov	rbx, rdi
	lea	rdi, 8[rax]
	call	readb@PLT
	mov	r12d, eax
	mov	rax, QWORD PTR 8[rbx]
	lea	rdi, 4[rax]
	call	readb@PLT
	mov	edi, DWORD PTR UART_EXAR654_ENHANCED_REGISTER_SET[rip]
	mov	ebp, eax
	mov	rax, QWORD PTR 8[rbx]
	lea	rsi, 8[rax]
	call	writeb@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	readb@PLT
	mov	edi, DWORD PTR UART_EXAR654_EFR_ECB[rip]
	mov	rsi, QWORD PTR 8[rbx]
	or	edi, DWORD PTR UART_EXAR654_EFR_CTSDSR[rip]
	or	eax, edi
	mov	edi, DWORD PTR UART_EXAR654_EFR_IXON[rip]
	not	edi
	and	edi, eax
	call	writeb@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, r12d
	lea	rsi, 8[rax]
	call	writeb@PLT
	mov	edi, DWORD PTR UART_EXAR654_IER_XOFF[rip]
	mov	rax, QWORD PTR 8[rbx]
	or	ebp, DWORD PTR UART_EXAR654_IER_CTSDSR[rip]
	not	edi
	lea	rsi, 4[rax]
	and	edi, ebp
	call	writeb@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR UART_FCR_ENABLE_FIFO[rip]
	call	writeb@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR UART_FCR_ENABLE_FIFO[rip]
	or	edi, DWORD PTR UART_16654_FCR_RXTRIGGER_56[rip]
	or	edi, DWORD PTR UART_16654_FCR_TXTRIGGER_16[rip]
	or	edi, DWORD PTR UART_FCR_CLEAR_RCVR[rip]
	call	writeb@PLT
	mov	DWORD PTR [rbx], 16
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cls_set_cts_flow_control, .-cls_set_cts_flow_control
	.comm	UART_FCR_ENABLE_FIFO,4,4
	.comm	UART_FCR_CLEAR_RCVR,4,4
	.comm	UART_EXAR654_IER_XOFF,4,4
	.comm	UART_EXAR654_IER_CTSDSR,4,4
	.comm	UART_EXAR654_ENHANCED_REGISTER_SET,4,4
	.comm	UART_EXAR654_EFR_IXON,4,4
	.comm	UART_EXAR654_EFR_ECB,4,4
	.comm	UART_EXAR654_EFR_CTSDSR,4,4
	.comm	UART_16654_FCR_TXTRIGGER_16,4,4
	.comm	UART_16654_FCR_RXTRIGGER_56,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_jsm_cls.c_cls_set_cts_flow_control.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cls_set_cts_flow_control, %function
cls_set_cts_flow_control:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0, #4]
	ldr	r7, .L4
	add	r0, r0, #8
	bl	readb
	ldr	r3, [r4, #4]
	mov	r6, r0
	add	r0, r3, #4
	bl	readb
	ldr	r3, .L4+4
	ldr	r1, [r4, #4]
	mov	r5, r0
	add	r1, r1, #8
	ldr	r0, [r3]
	bl	writeb
	ldr	r0, [r4, #4]
	bl	readb
	ldr	r2, .L4+8
	ldr	r3, .L4+12
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L4+16
	orr	r3, r3, r1
	ldr	r2, [r2]
	orr	r0, r3, r0
	bic	r0, r0, r2
	ldr	r1, [r4, #4]
	bl	writeb
	ldr	r1, [r4, #4]
	mov	r0, r6
	add	r1, r1, #8
	bl	writeb
	ldr	r3, .L4+20
	ldr	r2, .L4+24
	ldr	r3, [r3]
	ldr	r0, [r2]
	ldr	r1, [r4, #4]
	orr	r5, r5, r3
	add	r1, r1, #4
	bic	r0, r5, r0
	bl	writeb
	ldr	r1, [r4, #4]
	ldr	r0, [r7]
	bl	writeb
	ldr	r1, .L4+28
	ldr	r2, .L4+32
	ldr	r0, [r1]
	ldr	r3, [r7]
	ldr	r1, .L4+36
	ldr	r2, [r2]
	orr	r3, r3, r0
	ldr	r0, [r1]
	orr	r3, r3, r2
	orr	r0, r3, r0
	ldr	r1, [r4, #4]
	bl	writeb
	mov	r3, #16
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	UART_FCR_ENABLE_FIFO
	.word	UART_EXAR654_ENHANCED_REGISTER_SET
	.word	UART_EXAR654_EFR_CTSDSR
	.word	UART_EXAR654_EFR_ECB
	.word	UART_EXAR654_EFR_IXON
	.word	UART_EXAR654_IER_CTSDSR
	.word	UART_EXAR654_IER_XOFF
	.word	UART_16654_FCR_RXTRIGGER_56
	.word	UART_16654_FCR_TXTRIGGER_16
	.word	UART_FCR_CLEAR_RCVR
	.size	cls_set_cts_flow_control, .-cls_set_cts_flow_control
	.comm	UART_FCR_ENABLE_FIFO,4,4
	.comm	UART_FCR_CLEAR_RCVR,4,4
	.comm	UART_EXAR654_IER_XOFF,4,4
	.comm	UART_EXAR654_IER_CTSDSR,4,4
	.comm	UART_EXAR654_ENHANCED_REGISTER_SET,4,4
	.comm	UART_EXAR654_EFR_IXON,4,4
	.comm	UART_EXAR654_EFR_ECB,4,4
	.comm	UART_EXAR654_EFR_CTSDSR,4,4
	.comm	UART_16654_FCR_TXTRIGGER_16,4,4
	.comm	UART_16654_FCR_RXTRIGGER_56,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
