	.file	"extr_serialio.c_synth_readbuf_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	synth_readbuf_handler, @function
synth_readbuf_handler:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	esi, esi
	lea	rdi, speakup_info[rip]
	call	spin_lock_irqsave@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR UART_RX[rip]
	add	rdi, QWORD PTR speakup_info[rip+8]
	call	inb_p@PLT
	mov	edi, eax
	mov	rax, QWORD PTR synth[rip]
	call	[QWORD PTR [rax]]
.L2:
	mov	rdi, QWORD PTR UART_LSR[rip]
	add	rdi, QWORD PTR speakup_info[rip+8]
	call	inb_p@PLT
	test	DWORD PTR UART_LSR_DR[rip], eax
	jne	.L3
	xor	esi, esi
	lea	rdi, speakup_info[rip]
	call	spin_unlock_irqrestore@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	synth_readbuf_handler, .-synth_readbuf_handler
	.comm	synth,8,8
	.comm	speakup_info,16,16
	.comm	UART_RX,8,8
	.comm	UART_LSR_DR,4,4
	.comm	UART_LSR,8,8
	.comm	IRQ_HANDLED,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_serialio.c_synth_readbuf_handler.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	synth_readbuf_handler, %function
synth_readbuf_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r1, #0
	ldr	r0, .L6
	bl	spin_lock_irqsave
	ldr	r4, .L6
	ldr	r6, .L6+4
	ldr	r5, .L6+8
	ldr	r8, .L6+12
	ldr	r7, .L6+16
	b	.L2
.L3:
	ldr	r3, [r8]
	ldr	r0, [r4, #4]
	add	r0, r0, r3
	bl	inb_p
	ldr	r3, [r7]
	ldr	r3, [r3]
	blx	r3
.L2:
	ldr	r3, [r6]
	ldr	r0, [r4, #4]
	add	r0, r0, r3
	bl	inb_p
	ldr	r3, [r5]
	tst	r0, r3
	bne	.L3
	mov	r1, #0
	ldr	r0, .L6
	bl	spin_unlock_irqrestore
	ldr	r3, .L6+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	.align	2
.L6:
	.word	speakup_info
	.word	UART_LSR
	.word	UART_LSR_DR
	.word	UART_RX
	.word	synth
	.word	IRQ_HANDLED
	.size	synth_readbuf_handler, .-synth_readbuf_handler
	.comm	synth,4,4
	.comm	speakup_info,8,4
	.comm	UART_RX,4,4
	.comm	UART_LSR_DR,4,4
	.comm	UART_LSR,4,4
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
