	.file	"644862.c"
	.intel_syntax noprefix
	.text
	.globl	uart_stb_in
	.type	uart_stb_in, @function
uart_stb_in:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movabs	rax, -9223372036854775805
#APP
# 36 "the_stack_data/644862.c" 1
	lb al, 0(rax)
# 0 "" 2
#NO_APP
	mov	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	uart_stb_in, .-uart_stb_in
	.globl	uart_stb_out
	.type	uart_stb_out, @function
uart_stb_out:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movabs	rax, -9223372036854775806
#APP
# 42 "the_stack_data/644862.c" 1
	lb al, 0(rax)
# 0 "" 2
#NO_APP
	mov	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	uart_stb_out, .-uart_stb_out
	.globl	read_uart
	.type	read_uart, @function
read_uart:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L6:
	movabs	rax, -9223372036854775805
#APP
# 50 "the_stack_data/644862.c" 1
	lb al, 0(rax)
# 0 "" 2
#NO_APP
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 0
	je	.L6
	movabs	rax, -9223372036854775807
#APP
# 53 "the_stack_data/644862.c" 1
	lb al, 0(rax)
# 0 "" 2
#NO_APP
	mov	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	read_uart, .-read_uart
	.globl	write_uart
	.type	write_uart, @function
write_uart:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	movabs	rdx, -9223372036854775807
#APP
# 59 "the_stack_data/644862.c" 1
	sb al, 0(rdx)
# 0 "" 2
#NO_APP
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	write_uart, .-write_uart
	.globl	write_led_lo
	.type	write_led_lo, @function
write_led_lo:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	movabs	rdx, -9223372036854775804
#APP
# 64 "the_stack_data/644862.c" 1
	sb al, 0(rdx)
# 0 "" 2
#NO_APP
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	write_led_lo, .-write_led_lo
	.globl	write_led_hi
	.type	write_led_hi, @function
write_led_hi:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	movabs	rdx, -9223372036854775803
#APP
# 68 "the_stack_data/644862.c" 1
	sb al, 0(rdx)
# 0 "" 2
#NO_APP
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	write_led_hi, .-write_led_hi
	.globl	read_sw_lo
	.type	read_sw_lo, @function
read_sw_lo:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movabs	rax, -9223372036854775804
#APP
# 74 "the_stack_data/644862.c" 1
	lb al, 0(rax)
# 0 "" 2
#NO_APP
	mov	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	read_sw_lo, .-read_sw_lo
	.globl	read_sw_hi
	.type	read_sw_hi, @function
read_sw_hi:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movabs	rax, -9223372036854775803
#APP
# 79 "the_stack_data/644862.c" 1
	lb al, 0(rax)
# 0 "" 2
#NO_APP
	mov	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read_sw_hi, .-read_sw_hi
	.globl	led_sw_uart_test
	.type	led_sw_uart_test, @function
led_sw_uart_test:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movabs	rax, 2338328219631577172
	movabs	rdx, 9383426634500434
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -52[rbp], 0
	jmp	.L19
.L20:
	movabs	rax, -9223372036854775806
#APP
# 88 "the_stack_data/644862.c" 1
	lb al, 0(rax)
# 0 "" 2
#NO_APP
	mov	BYTE PTR -59[rbp], al
	cmp	BYTE PTR -59[rbp], 0
	jne	.L20
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	write_uart
	add	DWORD PTR -52[rbp], 1
.L19:
	cmp	DWORD PTR -52[rbp], 14
	jle	.L20
	call	read_sw_hi
	movsx	eax, al
	sal	eax, 8
	mov	ebx, eax
	call	read_sw_lo
	cbw
	or	eax, ebx
	mov	WORD PTR -58[rbp], ax
.L24:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -56[rbp]
	test	eax, eax
	jne	.L22
	movzx	eax, WORD PTR -58[rbp]
	movsx	eax, al
	mov	edi, eax
	call	write_led_lo
	movzx	eax, WORD PTR -58[rbp]
	shr	ax, 8
	movsx	eax, al
	mov	edi, eax
	call	write_led_hi
	movzx	eax, WORD PTR -58[rbp]
	add	eax, 1
	mov	WORD PTR -58[rbp], ax
.L22:
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 1
	mov	DWORD PTR -56[rbp], eax
.L21:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, 99999
	jle	.L23
	jmp	.L24
	.cfi_endproc
.LFE8:
	.size	led_sw_uart_test, .-led_sw_uart_test
	.globl	read_srec
	.type	read_srec, @function
read_srec:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -130[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	jmp	.L27
.L62:
	nop
.L28:
	call	read_uart
	cmp	al, 83
	jne	.L28
	call	read_uart
	mov	BYTE PTR -130[rbp], al
	cmp	BYTE PTR -130[rbp], 47
	jle	.L29
	cmp	BYTE PTR -130[rbp], 57
	jle	.L30
.L29:
	mov	eax, -1
	jmp	.L63
.L30:
	call	read_uart
	mov	BYTE PTR -96[rbp], al
	movzx	eax, BYTE PTR -96[rbp]
	cmp	al, 57
	jg	.L32
	movzx	eax, BYTE PTR -96[rbp]
	sub	eax, 48
	jmp	.L33
.L32:
	movzx	eax, BYTE PTR -96[rbp]
	sub	eax, 55
.L33:
	mov	BYTE PTR -96[rbp], al
	call	read_uart
	mov	BYTE PTR -95[rbp], al
	movzx	eax, BYTE PTR -95[rbp]
	cmp	al, 57
	jg	.L34
	movzx	eax, BYTE PTR -95[rbp]
	sub	eax, 48
	jmp	.L35
.L34:
	movzx	eax, BYTE PTR -95[rbp]
	sub	eax, 55
.L35:
	mov	BYTE PTR -95[rbp], al
	movzx	eax, BYTE PTR -96[rbp]
	movsx	eax, al
	sal	eax, 4
	mov	edx, eax
	movzx	eax, BYTE PTR -95[rbp]
	movsx	eax, al
	or	eax, edx
	add	eax, eax
	mov	BYTE PTR -129[rbp], al
	mov	DWORD PTR -120[rbp], 0
	jmp	.L36
.L39:
	call	read_uart
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	BYTE PTR -96[rbp+rdx], al
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	cmp	al, 57
	jg	.L37
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	sub	eax, 48
	mov	edx, eax
	jmp	.L38
.L37:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	sub	eax, 55
	mov	edx, eax
.L38:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	mov	BYTE PTR -96[rbp+rax], dl
	add	DWORD PTR -120[rbp], 1
.L36:
	movsx	eax, BYTE PTR -129[rbp]
	cmp	DWORD PTR -120[rbp], eax
	jl	.L39
	mov	DWORD PTR -116[rbp], 0
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	movsx	eax, al
	sal	eax, 4
	mov	edx, eax
	mov	eax, DWORD PTR -116[rbp]
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	and	eax, 15
	or	edx, eax
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	BYTE PTR -96[rbp+rax], dl
	add	DWORD PTR -116[rbp], 2
.L40:
	movsx	eax, BYTE PTR -129[rbp]
	cmp	DWORD PTR -116[rbp], eax
	jl	.L41
	sar	BYTE PTR -129[rbp]
	movzx	eax, BYTE PTR -129[rbp]
	mov	BYTE PTR -131[rbp], al
	mov	DWORD PTR -112[rbp], 0
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	mov	edx, eax
	movzx	eax, BYTE PTR -131[rbp]
	add	eax, edx
	mov	BYTE PTR -131[rbp], al
	add	DWORD PTR -112[rbp], 1
.L42:
	movsx	eax, BYTE PTR -129[rbp]
	sub	eax, 1
	cmp	DWORD PTR -112[rbp], eax
	jl	.L43
	movsx	edx, BYTE PTR -131[rbp]
	movsx	eax, BYTE PTR -129[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	movsx	eax, al
	xor	al, -1
	cmp	edx, eax
	je	.L44
	mov	eax, 2
	jmp	.L63
.L44:
	movsx	eax, BYTE PTR -130[rbp]
	sub	eax, 49
	cmp	eax, 8
	ja	.L65
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L47[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L47[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L47:
	.long	.L53-.L47
	.long	.L52-.L47
	.long	.L51-.L47
	.long	.L65-.L47
	.long	.L50-.L47
	.long	.L65-.L47
	.long	.L49-.L47
	.long	.L48-.L47
	.long	.L46-.L47
	.text
.L53:
	movzx	eax, BYTE PTR -96[rbp]
	movsx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -95[rbp]
	movsx	eax, al
	or	eax, edx
	mov	DWORD PTR -128[rbp], eax
	mov	DWORD PTR -108[rbp], 2
	jmp	.L54
.L55:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	mov	edx, DWORD PTR -128[rbp]
	movsx	rdx, edx
	movabs	rcx, 1152921504606846976
	or	rdx, rcx
#APP
# 147 "the_stack_data/644862.c" 1
	sb al, 0(rdx)
# 0 "" 2
#NO_APP
	add	DWORD PTR -128[rbp], 1
	add	DWORD PTR -108[rbp], 1
.L54:
	movsx	eax, BYTE PTR -129[rbp]
	sub	eax, 1
	cmp	DWORD PTR -108[rbp], eax
	jl	.L55
	jmp	.L56
.L52:
	movzx	eax, BYTE PTR -96[rbp]
	movsx	eax, al
	sal	eax, 16
	mov	edx, eax
	movzx	eax, BYTE PTR -95[rbp]
	movsx	eax, al
	sal	eax, 8
	or	edx, eax
	movzx	eax, BYTE PTR -94[rbp]
	movsx	eax, al
	or	eax, edx
	mov	DWORD PTR -128[rbp], eax
	mov	DWORD PTR -104[rbp], 3
	jmp	.L57
.L58:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	mov	edx, DWORD PTR -128[rbp]
	movsx	rdx, edx
	movabs	rcx, 1152921504606846976
	or	rdx, rcx
#APP
# 154 "the_stack_data/644862.c" 1
	sb al, 0(rdx)
# 0 "" 2
#NO_APP
	add	DWORD PTR -128[rbp], 1
	add	DWORD PTR -104[rbp], 1
.L57:
	movsx	eax, BYTE PTR -129[rbp]
	sub	eax, 1
	cmp	DWORD PTR -104[rbp], eax
	jl	.L58
	jmp	.L56
.L51:
	movzx	eax, BYTE PTR -96[rbp]
	movsx	eax, al
	sal	eax, 24
	mov	edx, eax
	movzx	eax, BYTE PTR -95[rbp]
	movsx	eax, al
	sal	eax, 16
	or	edx, eax
	movzx	eax, BYTE PTR -94[rbp]
	movsx	eax, al
	sal	eax, 8
	or	edx, eax
	movzx	eax, BYTE PTR -93[rbp]
	movsx	eax, al
	or	eax, edx
	mov	DWORD PTR -128[rbp], eax
	mov	DWORD PTR -100[rbp], 4
	jmp	.L59
.L60:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	mov	edx, DWORD PTR -128[rbp]
	movsx	rdx, edx
	movabs	rcx, 1152921504606846976
	or	rdx, rcx
#APP
# 161 "the_stack_data/644862.c" 1
	sb al, 0(rdx)
# 0 "" 2
#NO_APP
	add	DWORD PTR -128[rbp], 1
	add	DWORD PTR -100[rbp], 1
.L59:
	movsx	eax, BYTE PTR -129[rbp]
	sub	eax, 1
	cmp	DWORD PTR -100[rbp], eax
	jl	.L60
	jmp	.L56
.L50:
	mov	eax, DWORD PTR -124[rbp]
	lea	edx, -1[rax]
	movzx	eax, BYTE PTR -96[rbp]
	movsx	ecx, al
	movzx	eax, BYTE PTR -95[rbp]
	movsx	eax, al
	add	eax, ecx
	cmp	edx, eax
	je	.L66
	mov	eax, -1
	jmp	.L63
.L49:
	movzx	eax, BYTE PTR -96[rbp]
	movsx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -95[rbp]
	movsx	eax, al
	or	eax, edx
	jmp	.L63
.L48:
	movzx	eax, BYTE PTR -96[rbp]
	movsx	eax, al
	sal	eax, 16
	mov	edx, eax
	movzx	eax, BYTE PTR -95[rbp]
	movsx	eax, al
	sal	eax, 8
	or	edx, eax
	movzx	eax, BYTE PTR -94[rbp]
	movsx	eax, al
	or	eax, edx
	jmp	.L63
.L46:
	movzx	eax, BYTE PTR -96[rbp]
	movsx	eax, al
	sal	eax, 24
	mov	edx, eax
	movzx	eax, BYTE PTR -95[rbp]
	movsx	eax, al
	sal	eax, 16
	or	edx, eax
	movzx	eax, BYTE PTR -94[rbp]
	movsx	eax, al
	sal	eax, 8
	or	edx, eax
	movzx	eax, BYTE PTR -93[rbp]
	movsx	eax, al
	or	eax, edx
	jmp	.L63
.L65:
	nop
	jmp	.L56
.L66:
	nop
.L56:
	add	DWORD PTR -124[rbp], 1
.L27:
	cmp	BYTE PTR -130[rbp], 54
	jle	.L62
	cmp	BYTE PTR -130[rbp], 57
	jg	.L62
	mov	eax, 0
.L63:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	read_srec, .-read_srec
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"644862.c"
	.text
	.align	2
	.global	uart_stb_in
	.syntax unified
	.arm
	.fpu softvfp
	.type	uart_stb_in, %function
uart_stb_in:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r2, #3
	mov	r3, #-2147483648
	.syntax divided
@ 36 "the_stack_data/644862.c" 1
	lb r3, 0(r2)
@ 0 "" 2
	.arm
	.syntax unified
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	uart_stb_in, .-uart_stb_in
	.align	2
	.global	uart_stb_out
	.syntax unified
	.arm
	.fpu softvfp
	.type	uart_stb_out, %function
uart_stb_out:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r2, #2
	mov	r3, #-2147483648
	.syntax divided
@ 42 "the_stack_data/644862.c" 1
	lb r3, 0(r2)
@ 0 "" 2
	.arm
	.syntax unified
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	uart_stb_out, .-uart_stb_out
	.align	2
	.global	read_uart
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_uart, %function
read_uart:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
.L6:
	mov	r2, #3
	mov	r3, #-2147483648
	.syntax divided
@ 50 "the_stack_data/644862.c" 1
	lb r3, 0(r2)
@ 0 "" 2
	.arm
	.syntax unified
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	mov	r2, #1
	mov	r3, #-2147483648
	.syntax divided
@ 53 "the_stack_data/644862.c" 1
	lb r3, 0(r2)
@ 0 "" 2
	.arm
	.syntax unified
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	read_uart, .-read_uart
	.align	2
	.global	write_uart
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_uart, %function
write_uart:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r1, [fp, #-5]
	mov	r2, #1
	mov	r3, #-2147483648
	.syntax divided
@ 59 "the_stack_data/644862.c" 1
	sb r1, 0(r2)
@ 0 "" 2
	.arm
	.syntax unified
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	write_uart, .-write_uart
	.align	2
	.global	write_led_lo
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_led_lo, %function
write_led_lo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r1, [fp, #-5]
	mov	r2, #4
	mov	r3, #-2147483648
	.syntax divided
@ 64 "the_stack_data/644862.c" 1
	sb r1, 0(r2)
@ 0 "" 2
	.arm
	.syntax unified
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	write_led_lo, .-write_led_lo
	.align	2
	.global	write_led_hi
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_led_hi, %function
write_led_hi:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r1, [fp, #-5]
	mov	r2, #5
	mov	r3, #-2147483648
	.syntax divided
@ 68 "the_stack_data/644862.c" 1
	sb r1, 0(r2)
@ 0 "" 2
	.arm
	.syntax unified
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	write_led_hi, .-write_led_hi
	.align	2
	.global	read_sw_lo
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_sw_lo, %function
read_sw_lo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r2, #4
	mov	r3, #-2147483648
	.syntax divided
@ 74 "the_stack_data/644862.c" 1
	lb r3, 0(r2)
@ 0 "" 2
	.arm
	.syntax unified
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	read_sw_lo, .-read_sw_lo
	.align	2
	.global	read_sw_hi
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_sw_hi, %function
read_sw_hi:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r2, #5
	mov	r3, #-2147483648
	.syntax divided
@ 79 "the_stack_data/644862.c" 1
	lb r3, 0(r2)
@ 0 "" 2
	.arm
	.syntax unified
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	read_sw_hi, .-read_sw_hi
	.section	.rodata
	.align	2
.LC0:
	.ascii	"This is RISC-V!\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	led_sw_uart_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	led_sw_uart_test, %function
led_sw_uart_test:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L26+4
	sub	ip, fp, #32
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L19
.L20:
	mov	r2, #2
	mov	r3, #-2147483648
	.syntax divided
@ 88 "the_stack_data/644862.c" 1
	lb r3, 0(r2)
@ 0 "" 2
	.arm
	.syntax unified
	strb	r3, [fp, #-43]
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	sub	r2, fp, #32
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	write_uart
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L19:
	ldr	r3, [fp, #-36]
	cmp	r3, #14
	ble	.L20
	bl	read_sw_hi
	mov	r3, r0
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r4, r3, #16
	bl	read_sw_lo
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r4, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-42]	@ movhi
.L24:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L21
.L23:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L22
	ldrh	r3, [fp, #-42]	@ movhi
	and	r3, r3, #255
	mov	r0, r3
	bl	write_led_lo
	ldrh	r3, [fp, #-42]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #255
	mov	r0, r3
	bl	write_led_hi
	ldrh	r3, [fp, #-42]
	add	r3, r3, #1
	strh	r3, [fp, #-42]	@ movhi
.L22:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L21:
	ldr	r3, [fp, #-40]
	ldr	r2, .L26+8
	cmp	r3, r2
	blt	.L23
	b	.L24
.L27:
	.align	2
.L26:
	.word	.LC1
	.word	.LC0
	.word	100000
	.size	led_sw_uart_test, .-led_sw_uart_test
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_srec
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_srec, %function
read_srec:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #120
	ldr	r3, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-142]
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L29
.L64:
	nop
.L30:
	bl	read_uart
	mov	r3, r0
	cmp	r3, #83
	bne	.L30
	bl	read_uart
	mov	r3, r0
	strb	r3, [fp, #-142]
	ldrb	r3, [fp, #-142]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L31
	ldrb	r3, [fp, #-142]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L32
.L31:
	mvn	r3, #0
	b	.L65
.L32:
	bl	read_uart
	mov	r3, r0
	strb	r3, [fp, #-108]
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L34
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	sub	r3, r3, #48
	and	r3, r3, #255
	b	.L35
.L34:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	sub	r3, r3, #55
	and	r3, r3, #255
.L35:
	strb	r3, [fp, #-108]
	bl	read_uart
	mov	r3, r0
	strb	r3, [fp, #-107]
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L36
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	sub	r3, r3, #48
	and	r3, r3, #255
	b	.L37
.L36:
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	sub	r3, r3, #55
	and	r3, r3, #255
.L37:
	strb	r3, [fp, #-107]
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	lsl	r3, r3, #4
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #255
	lsl	r3, r3, #1
	strb	r3, [fp, #-141]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L38
.L41:
	bl	read_uart
	mov	r3, r0
	mov	r1, r3
	sub	r2, fp, #108
	ldr	r3, [fp, #-132]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #108
	ldr	r3, [fp, #-132]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L39
	sub	r2, fp, #108
	ldr	r3, [fp, #-132]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	and	r3, r3, #255
	b	.L40
.L39:
	sub	r2, fp, #108
	ldr	r3, [fp, #-132]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #55
	and	r3, r3, #255
.L40:
	sub	r1, fp, #108
	ldr	r2, [fp, #-132]
	add	r2, r1, r2
	strb	r3, [r2]
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L38:
	ldrb	r3, [fp, #-141]	@ zero_extendqisi2
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L41
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L42
.L43:
	sub	r2, fp, #108
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #4
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	sub	r1, fp, #28
	add	r3, r1, r3
	ldrb	r3, [r3, #-80]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #15
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r1, r3, #255
	sub	r2, fp, #108
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-128]
	add	r3, r3, #2
	str	r3, [fp, #-128]
.L42:
	ldrb	r3, [fp, #-141]	@ zero_extendqisi2
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	blt	.L43
	ldrb	r3, [fp, #-141]	@ zero_extendqisi2
	lsr	r3, r3, #1
	strb	r3, [fp, #-141]
	ldrb	r3, [fp, #-141]
	strb	r3, [fp, #-143]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L44
.L45:
	sub	r2, fp, #108
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-143]
	add	r3, r2, r3
	strb	r3, [fp, #-143]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L44:
	ldrb	r3, [fp, #-141]	@ zero_extendqisi2
	sub	r3, r3, #1
	ldr	r2, [fp, #-124]
	cmp	r2, r3
	blt	.L45
	ldrb	r3, [fp, #-141]	@ zero_extendqisi2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldrb	r3, [r3, #-80]	@ zero_extendqisi2
	mvn	r3, r3
	and	r3, r3, #255
	ldrb	r2, [fp, #-143]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L46
	mov	r3, #2
	b	.L65
.L46:
	ldrb	r3, [fp, #-142]	@ zero_extendqisi2
	sub	r3, r3, #49
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L67
.L49:
	.word	.L55
	.word	.L54
	.word	.L53
	.word	.L67
	.word	.L52
	.word	.L67
	.word	.L51
	.word	.L50
	.word	.L48
.L55:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldrb	r2, [fp, #-107]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-140]
	mov	r3, #2
	str	r3, [fp, #-120]
	b	.L56
.L57:
	sub	r2, fp, #108
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	ldrb	ip, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-140]
	mov	r2, r3
	asr	r3, r2, #31
	mov	r0, #0
	mov	r1, #268435456
	orr	r4, r2, r0
	orr	r5, r3, r1
	.syntax divided
@ 147 "the_stack_data/644862.c" 1
	sb ip, 0(r4)
@ 0 "" 2
	.arm
	.syntax unified
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L56:
	ldrb	r3, [fp, #-141]	@ zero_extendqisi2
	sub	r3, r3, #1
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	blt	.L57
	b	.L58
.L54:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	lsl	r2, r3, #16
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r2, r3
	ldrb	r2, [fp, #-106]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-140]
	mov	r3, #3
	str	r3, [fp, #-116]
	b	.L59
.L60:
	sub	r2, fp, #108
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	ip, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-140]
	mov	r2, r3
	asr	r3, r2, #31
	mov	r0, #0
	mov	r1, #268435456
	orr	r6, r2, r0
	orr	r7, r3, r1
	.syntax divided
@ 154 "the_stack_data/644862.c" 1
	sb ip, 0(r6)
@ 0 "" 2
	.arm
	.syntax unified
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L59:
	ldrb	r3, [fp, #-141]	@ zero_extendqisi2
	sub	r3, r3, #1
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	blt	.L60
	b	.L58
.L53:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	lsl	r2, r3, #24
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldrb	r3, [fp, #-106]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r2, r3
	ldrb	r2, [fp, #-105]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-140]
	mov	r3, #4
	str	r3, [fp, #-112]
	b	.L61
.L62:
	sub	r2, fp, #108
	ldr	r3, [fp, #-112]
	add	r3, r2, r3
	ldrb	ip, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-140]
	mov	r2, r3
	asr	r3, r2, #31
	mov	r0, #0
	mov	r1, #268435456
	orr	r8, r2, r0
	orr	r9, r3, r1
	.syntax divided
@ 161 "the_stack_data/644862.c" 1
	sb ip, 0(r8)
@ 0 "" 2
	.arm
	.syntax unified
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L61:
	ldrb	r3, [fp, #-141]	@ zero_extendqisi2
	sub	r3, r3, #1
	ldr	r2, [fp, #-112]
	cmp	r2, r3
	blt	.L62
	b	.L58
.L52:
	ldr	r3, [fp, #-136]
	sub	r2, r3, #1
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	add	r3, r1, r3
	cmp	r2, r3
	beq	.L68
	mvn	r3, #0
	b	.L65
.L51:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldrb	r2, [fp, #-107]	@ zero_extendqisi2
	orr	r3, r3, r2
	b	.L65
.L50:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	lsl	r2, r3, #16
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r2, r3
	ldrb	r2, [fp, #-106]	@ zero_extendqisi2
	orr	r3, r3, r2
	b	.L65
.L48:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	lsl	r2, r3, #24
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldrb	r3, [fp, #-106]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r2, r3
	ldrb	r2, [fp, #-105]	@ zero_extendqisi2
	orr	r3, r3, r2
	b	.L65
.L67:
	nop
	b	.L58
.L68:
	nop
.L58:
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L29:
	ldrb	r3, [fp, #-142]	@ zero_extendqisi2
	cmp	r3, #54
	bls	.L64
	ldrb	r3, [fp, #-142]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L64
	mov	r3, #0
.L65:
	ldr	r2, .L69
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L66
	bl	__stack_chk_fail
.L66:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC2
	.size	read_srec, .-read_srec
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
