
lms_ctr_app.elf:     file format elf32-littlenios2
lms_ctr_app.elf
architecture: nios2:r1, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x0000822c

Program Header:
    LOAD off    0x00001000 vaddr 0x00008000 paddr 0x00008000 align 2**12
         filesz 0x00000020 memsz 0x00000020 flags r-x
    LOAD off    0x00001020 vaddr 0x00008020 paddr 0x00008020 align 2**12
         filesz 0x000048e4 memsz 0x000048e4 flags r-x
    LOAD off    0x00005904 vaddr 0x0000c904 paddr 0x0000cfc8 align 2**12
         filesz 0x000006c4 memsz 0x000006c4 flags rw-
    LOAD off    0x0000668c vaddr 0x0000d68c paddr 0x0000d68c align 2**12
         filesz 0x00000000 memsz 0x000002cc flags rw-

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .entry        00000020  00008000  00008000  00001000  2**5
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .exceptions   0000020c  00008020  00008020  00001020  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .text         000046bc  0000822c  0000822c  0000122c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  3 .rodata       0000001c  0000c8e8  0000c8e8  000058e8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .rwdata       000006c4  0000c904  0000cfc8  00005904  2**2
                  CONTENTS, ALLOC, LOAD, DATA, SMALL_DATA
  5 .bss          000002cc  0000d68c  0000d68c  0000668c  2**2
                  ALLOC, SMALL_DATA
  6 .oc_mem       00000000  0000d958  0000d958  00005fc8  2**0
                  CONTENTS
  7 .comment      00000023  00000000  00000000  00005fc8  2**0
                  CONTENTS, READONLY
  8 .debug_aranges 00000558  00000000  00000000  00005ff0  2**3
                  CONTENTS, READONLY, DEBUGGING
  9 .debug_info   000068a8  00000000  00000000  00006548  2**0
                  CONTENTS, READONLY, DEBUGGING
 10 .debug_abbrev 0000243a  00000000  00000000  0000cdf0  2**0
                  CONTENTS, READONLY, DEBUGGING
 11 .debug_line   00002a71  00000000  00000000  0000f22a  2**0
                  CONTENTS, READONLY, DEBUGGING
 12 .debug_frame  00000c28  00000000  00000000  00011c9c  2**2
                  CONTENTS, READONLY, DEBUGGING
 13 .debug_str    00002066  00000000  00000000  000128c4  2**0
                  CONTENTS, READONLY, DEBUGGING
 14 .debug_loc    00000aad  00000000  00000000  0001492a  2**0
                  CONTENTS, READONLY, DEBUGGING
 15 .debug_alt_sim_info 00000040  00000000  00000000  000153d8  2**2
                  CONTENTS, READONLY, DEBUGGING
 16 .debug_ranges 00000130  00000000  00000000  00015418  2**3
                  CONTENTS, READONLY, DEBUGGING
 17 .thread_model 00000003  00000000  00000000  00017305  2**0
                  CONTENTS, READONLY
 18 .cpu          00000009  00000000  00000000  00017308  2**0
                  CONTENTS, READONLY
 19 .qsys         00000001  00000000  00000000  00017311  2**0
                  CONTENTS, READONLY
 20 .simulation_enabled 00000001  00000000  00000000  00017312  2**0
                  CONTENTS, READONLY
 21 .sysid_hash   00000004  00000000  00000000  00017313  2**0
                  CONTENTS, READONLY
 22 .sysid_base   00000004  00000000  00000000  00017317  2**0
                  CONTENTS, READONLY
 23 .sysid_time   00000004  00000000  00000000  0001731b  2**0
                  CONTENTS, READONLY
 24 .stderr_dev   00000004  00000000  00000000  0001731f  2**0
                  CONTENTS, READONLY
 25 .stdin_dev    00000004  00000000  00000000  00017323  2**0
                  CONTENTS, READONLY
 26 .stdout_dev   00000004  00000000  00000000  00017327  2**0
                  CONTENTS, READONLY
 27 .sopc_system_name 00000007  00000000  00000000  0001732b  2**0
                  CONTENTS, READONLY
 28 .sopcinfo     00072d0a  00000000  00000000  00017332  2**0
                  CONTENTS, READONLY
SYMBOL TABLE:
00008000 l    d  .entry	00000000 .entry
00008020 l    d  .exceptions	00000000 .exceptions
0000822c l    d  .text	00000000 .text
0000c8e8 l    d  .rodata	00000000 .rodata
0000c904 l    d  .rwdata	00000000 .rwdata
0000d68c l    d  .bss	00000000 .bss
0000d958 l    d  .oc_mem	00000000 .oc_mem
00000000 l    d  .comment	00000000 .comment
00000000 l    d  .debug_aranges	00000000 .debug_aranges
00000000 l    d  .debug_info	00000000 .debug_info
00000000 l    d  .debug_abbrev	00000000 .debug_abbrev
00000000 l    d  .debug_line	00000000 .debug_line
00000000 l    d  .debug_frame	00000000 .debug_frame
00000000 l    d  .debug_str	00000000 .debug_str
00000000 l    d  .debug_loc	00000000 .debug_loc
00000000 l    d  .debug_alt_sim_info	00000000 .debug_alt_sim_info
00000000 l    d  .debug_ranges	00000000 .debug_ranges
00000000 l    df *ABS*	00000000 ../lms_ctr_bsp//obj/HAL/src/crt0.o
00008264 l       .text	00000000 alt_after_alt_main
00000000 l    df *ABS*	00000000 alt_irq_handler.c
00000000 l    df *ABS*	00000000 alt_instruction_exception_entry.c
00000000 l    df *ABS*	00000000 i2c_opencores.c
00000000 l    df *ABS*	00000000 main.c
00000000 l    df *ABS*	00000000 spi_flash_lib.c
00000000 l    df *ABS*	00000000 lib2-divmod.c
0000ac48 l     F .text	0000006c udivmodsi4
00000000 l    df *ABS*	00000000 lib2-mul.c
00000000 l    df *ABS*	00000000 memcpy.c
00000000 l    df *ABS*	00000000 memset.c
00000000 l    df *ABS*	00000000 alt_load.c
0000aff8 l     F .text	00000064 alt_load_section
00000000 l    df *ABS*	00000000 alt_main.c
00000000 l    df *ABS*	00000000 alt_usleep.c
00000000 l    df *ABS*	00000000 alt_sys_init.c
0000b168 l     F .text	00000038 alt_dev_reg
0000c904 l     O .rwdata	000000c4 uart
00000000 l    df *ABS*	00000000 altera_avalon_spi.c
00000000 l    df *ABS*	00000000 altera_avalon_uart_fd.c
00000000 l    df *ABS*	00000000 altera_avalon_uart_init.c
0000b5ec l     F .text	00000098 altera_avalon_uart_irq
0000b684 l     F .text	000000e0 altera_avalon_uart_rxirq
0000b764 l     F .text	00000144 altera_avalon_uart_txirq
00000000 l    df *ABS*	00000000 altera_avalon_uart_read.c
0000b8fc l     F .text	00000050 alt_get_errno
00000000 l    df *ABS*	00000000 altera_avalon_uart_write.c
0000bb28 l     F .text	00000050 alt_get_errno
00000000 l    df *ABS*	00000000 alt_busy_sleep.c
00000000 l    df *ABS*	00000000 alt_close.c
0000be7c l     F .text	00000050 alt_get_errno
00000000 l    df *ABS*	00000000 alt_dcache_flush_all.c
00000000 l    df *ABS*	00000000 alt_dev.c
0000bfc0 l     F .text	0000002c alt_dev_null_write
00000000 l    df *ABS*	00000000 alt_dev_llist_insert.c
0000bfec l     F .text	00000050 alt_get_errno
00000000 l    df *ABS*	00000000 alt_do_ctors.c
00000000 l    df *ABS*	00000000 alt_do_dtors.c
00000000 l    df *ABS*	00000000 alt_errno.c
00000000 l    df *ABS*	00000000 alt_icache_flush_all.c
00000000 l    df *ABS*	00000000 alt_iic.c
00000000 l    df *ABS*	00000000 alt_iic_isr_register.c
00000000 l    df *ABS*	00000000 alt_irq_vars.c
00000000 l    df *ABS*	00000000 alt_release_fd.c
00000000 l    df *ABS*	00000000 altera_nios2_gen2_irq.c
00000000 l    df *ABS*	00000000 atexit.c
00000000 l    df *ABS*	00000000 exit.c
00000000 l    df *ABS*	00000000 impure.c
0000cb70 l     O .rwdata	00000424 impure_data
00000000 l    df *ABS*	00000000 int_errno.c
00000000 l    df *ABS*	00000000 __atexit.c
00000000 l    df *ABS*	00000000 __call_atexit.c
00000000 l    df *ABS*	00000000 alt_exit.c
0000d6d0 g     O .bss	00000004 alt_instruction_exception_handler
0000b0dc g     F .text	0000005c alt_main
0000d858 g     O .bss	00000100 alt_irq
0000a81c g     F .text	000001e4 FlashSpiTransfer
0000cfc8 g       *ABS*	00000000 __flash_rwdata_start
0000cfa0 g     O .rwdata	00000004 Board_Config_FPGA
0000d69c g     O .bss	00000001 block
0000d6d8 g     O .bss	00000040 glEp0Buffer_Tx
0000cf9e g     O .rwdata	00000002 converted_val
0000d69d g     O .bss	00000001 data_cnt
0000d69e g     O .bss	00000002 dac_data
0000c504 g     F .text	00000020 altera_nios2_gen2_irq_init
00000000  w      *UND*	00000000 __errno
00008000 g     F .entry	0000000c __reset
000087e0 g     F .text	00000118 Control_TCXO_ADF
00008020 g       *ABS*	00000000 __flash_exceptions_start
0000d6d4 g     O .bss	00000004 errno
0000d6c4 g     O .bss	00000004 alt_argv
00014f94 g       *ABS*	00000000 _gp
0000b138 g     F .text	00000030 usleep
0000d6a0 g     O .bss	00000001 MCU_retries
0000c9f0 g     O .rwdata	00000180 alt_fd_list
0000d6a1 g     O .bss	00000004 sc_brdg_data
0000ad9c g     F .text	00000138 memcpy
0000c8e8 g       *ABS*	00000000 __DTOR_END__
0000c524 g     F .text	0000009c alt_exception_cause_generated_bad_addr
0000831c g     F .text	0000009c I2C_start
00000000  w      *UND*	00000000 malloc
0000ad64 g     F .text	00000008 .hidden __udivsi3
0000aa00 g     F .text	000000d8 CyFxSpiWaitForStatus
000088f8 g     F .text	000000e4 rd_dac_val
0000cfb4 g     O .rwdata	00000004 alt_max_fd
0000cfc0 g     O .rwdata	00000004 _global_impure_ptr
000085bc g     F .text	00000034 set_led
0000d958 g       *ABS*	00000000 __bss_end
0000c394 g     F .text	000000f0 alt_iic_isr_register
0000b544 g     F .text	000000a8 altera_avalon_uart_init
0000d6a8 g     O .bss	00000004 fpga_data
0000c348 g     F .text	0000004c alt_ic_irq_enabled
0000d6cc g     O .bss	00000004 alt_irq_active
000080fc g     F .exceptions	000000d0 alt_irq_handler
0000c9c8 g     O .rwdata	00000028 alt_dev_null
0000bfa4 g     F .text	0000001c alt_dcache_flush_all
00008000 g       *ABS*	00000000 __alt_mem_oc_mem
0000cfc8 g       *ABS*	00000000 __ram_rwdata_end
0000cfac g     O .rwdata	00000008 alt_dev_list
0000d690 g     O .bss	00000004 flash_page_data_cnt
0000c904 g       *ABS*	00000000 __ram_rodata_end
0000ad6c g     F .text	00000008 .hidden __umodsi3
0000d958 g       *ABS*	00000000 end
0000d6ac g     O .bss	00000004 last_portion
0000bb78 g     F .text	000001ac altera_avalon_uart_write
000081cc g     F .exceptions	00000060 alt_instruction_exception_entry
0000c8e8 g       *ABS*	00000000 __CTOR_LIST__
00010000 g       *ABS*	00000000 __alt_stack_pointer
0000d6b0 g     O .bss	00000004 current_portion
0000b494 g     F .text	00000060 altera_avalon_uart_write_fd
0000b4f4 g     F .text	00000050 altera_avalon_uart_close_fd
0000a7f4 g     F .text	00000028 FlashSpiFastRead
0000c720 g     F .text	00000194 __call_exitprocs
0000d6b4 g     O .bss	00000001 test
0000822c g     F .text	0000003c _start
0000b230 g     F .text	00000204 alt_avalon_spi_command
0000b1d4 g     F .text	0000005c alt_sys_init
0000c60c g     F .text	00000114 __register_exitproc
0000ad74 g     F .text	00000028 .hidden __mulsi3
0000c904 g       *ABS*	00000000 __ram_rwdata_start
0000c8e8 g       *ABS*	00000000 __ram_rodata_start
0000bd24 g     F .text	00000158 alt_busy_sleep
0000871c g     F .text	000000c4 Control_TCXO_DAC
0000d958 g       *ABS*	00000000 __alt_stack_base
0000c03c g     F .text	000000a4 alt_dev_llist_insert
0000d68c g       *ABS*	00000000 __bss_start
0000aed4 g     F .text	00000124 memset
000089dc g     F .text	00001d70 main
0000d6c8 g     O .bss	00000004 alt_envp
00008554 g     F .text	00000068 getFifoData
0000d6bc g     O .bss	00000001 spiFastRead
000085f0 g     F .text	0000012c Configure_LM75
0000cfb8 g     O .rwdata	00000004 alt_errno
0000acb4 g     F .text	00000054 .hidden __divsi3
0000c8e8 g       *ABS*	00000000 __CTOR_END__
000083b8 g     F .text	0000007c I2C_read
0000c8e8 g       *ABS*	00000000 __flash_rodata_start
0000c8e8 g       *ABS*	00000000 __DTOR_LIST__
0000b1a0 g     F .text	00000034 alt_irq_init
0000c484 g     F .text	00000080 alt_release_fd
0000c5c0 g     F .text	00000014 atexit
0000cf98 g     O .rwdata	00000004 LMS_Ctrl_Packet_Rx
0000cfc4 g     O .rwdata	00000004 _impure_ptr
0000d6c0 g     O .bss	00000004 alt_argc
0000c13c g     F .text	0000005c _do_dtors
00008020 g       .exceptions	00000000 alt_irq_entry
0000cfa4 g     O .rwdata	00000008 alt_fs_list
0000cf9c g     O .rwdata	00000001 dac_val
0000d68c g     O .bss	00000004 flash_page
00008268 g     F .text	000000b4 I2C_init
00008020 g       *ABS*	00000000 __ram_exceptions_start
0000c1b4 g     F .text	00000050 alt_ic_isr_register
0000cfc8 g       *ABS*	00000000 _edata
0000b434 g     F .text	00000060 altera_avalon_uart_read_fd
0000d958 g       *ABS*	00000000 _end
0000822c g       *ABS*	00000000 __ram_exceptions_end
0000d694 g     O .bss	00000004 flash_data_cnt_free
0000c2a4 g     F .text	000000a4 alt_ic_irq_disable
0000d6b5 g     O .bss	00000001 cmd_errors
0000c5d4 g     F .text	00000038 exit
0000ad08 g     F .text	0000005c .hidden __modsi3
0000a74c g     F .text	000000a8 ReverseBitOrder
00010000 g       *ABS*	00000000 __alt_data_end
00008020 g     F .exceptions	00000000 alt_exception
0000d718 g     O .bss	00000100 flash_page_data
0000b8a8 g     F .text	00000054 altera_avalon_uart_close
0000c8b4 g     F .text	00000034 _exit
000084e0 g     F .text	00000074 Check_many_blocks
0000d698 g     O .bss	00000004 flash_data_counter_to_copy
0000cf94 g     O .rwdata	00000004 LMS_Ctrl_Packet_Tx
0000c198 g     F .text	0000001c alt_icache_flush_all
0000cfbc g     O .rwdata	00000004 alt_priority_mask
0000c204 g     F .text	000000a0 alt_ic_irq_enable
0000b94c g     F .text	000001dc altera_avalon_uart_read
0000d6b8 g     O .bss	00000004 fpga_byte
0000c0e0 g     F .text	0000005c _do_ctors
0000becc g     F .text	000000d8 close
0000aad8 g     F .text	00000170 FlashSpiEraseSector
0000b05c g     F .text	00000080 alt_load
00008434 g     F .text	000000ac I2C_write
00000000  w      *UND*	00000000 free
0000d818 g     O .bss	00000040 glEp0Buffer_Rx



Disassembly of section .entry:

00008000 <__reset>:
    8000:	00400034 	movhi	at,0
    8004:	08608b14 	ori	at,at,33324
    8008:	0800683a 	jmp	at
	...

Disassembly of section .exceptions:

00008020 <alt_exception>:
    8020:	deffed04 	addi	sp,sp,-76
    8024:	dfc00015 	stw	ra,0(sp)
    8028:	d8400215 	stw	at,8(sp)
    802c:	d8800315 	stw	r2,12(sp)
    8030:	d8c00415 	stw	r3,16(sp)
    8034:	d9000515 	stw	r4,20(sp)
    8038:	d9400615 	stw	r5,24(sp)
    803c:	d9800715 	stw	r6,28(sp)
    8040:	d9c00815 	stw	r7,32(sp)
    8044:	000b307a 	rdctl	r5,estatus
    8048:	da000915 	stw	r8,36(sp)
    804c:	da400a15 	stw	r9,40(sp)
    8050:	da800b15 	stw	r10,44(sp)
    8054:	dac00c15 	stw	r11,48(sp)
    8058:	db000d15 	stw	r12,52(sp)
    805c:	db400e15 	stw	r13,56(sp)
    8060:	db800f15 	stw	r14,60(sp)
    8064:	dbc01015 	stw	r15,64(sp)
    8068:	d9401115 	stw	r5,68(sp)
    806c:	ebffff04 	addi	r15,ea,-4
    8070:	dbc01215 	stw	r15,72(sp)
    8074:	0009313a 	rdctl	r4,ipending
    8078:	2880004c 	andi	r2,r5,1
    807c:	10000326 	beq	r2,zero,808c <alt_exception+0x6c>
    8080:	20000226 	beq	r4,zero,808c <alt_exception+0x6c>
    8084:	00080fc0 	call	80fc <alt_irq_handler>
    8088:	00000706 	br	80a8 <alt_exception+0x88>
    808c:	df401215 	stw	ea,72(sp)
    8090:	e8bfff17 	ldw	r2,-4(ea)
    8094:	e93fff04 	addi	r4,ea,-4
    8098:	00081cc0 	call	81cc <alt_instruction_exception_entry>
    809c:	1000021e 	bne	r2,zero,80a8 <alt_exception+0x88>
    80a0:	ebffff04 	addi	r15,ea,-4
    80a4:	dbc01215 	stw	r15,72(sp)
    80a8:	d9401117 	ldw	r5,68(sp)
    80ac:	df401217 	ldw	ea,72(sp)
    80b0:	dfc00017 	ldw	ra,0(sp)
    80b4:	2801707a 	wrctl	estatus,r5
    80b8:	d8400217 	ldw	at,8(sp)
    80bc:	d8800317 	ldw	r2,12(sp)
    80c0:	d8c00417 	ldw	r3,16(sp)
    80c4:	d9000517 	ldw	r4,20(sp)
    80c8:	d9400617 	ldw	r5,24(sp)
    80cc:	d9800717 	ldw	r6,28(sp)
    80d0:	d9c00817 	ldw	r7,32(sp)
    80d4:	da000917 	ldw	r8,36(sp)
    80d8:	da400a17 	ldw	r9,40(sp)
    80dc:	da800b17 	ldw	r10,44(sp)
    80e0:	dac00c17 	ldw	r11,48(sp)
    80e4:	db000d17 	ldw	r12,52(sp)
    80e8:	db400e17 	ldw	r13,56(sp)
    80ec:	db800f17 	ldw	r14,60(sp)
    80f0:	dbc01017 	ldw	r15,64(sp)
    80f4:	dec01304 	addi	sp,sp,76
    80f8:	ef80083a 	eret

000080fc <alt_irq_handler>:
    80fc:	defff904 	addi	sp,sp,-28
    8100:	dfc00615 	stw	ra,24(sp)
    8104:	df000515 	stw	fp,20(sp)
    8108:	df000504 	addi	fp,sp,20
    810c:	0001883a 	nop
    8110:	0005313a 	rdctl	r2,ipending
    8114:	e0bffe15 	stw	r2,-8(fp)
    8118:	e0bffe17 	ldw	r2,-8(fp)
    811c:	e0bffb15 	stw	r2,-20(fp)
    8120:	e03ffd15 	stw	zero,-12(fp)
    8124:	00800044 	movi	r2,1
    8128:	e0bffc15 	stw	r2,-16(fp)
    812c:	e0fffb17 	ldw	r3,-20(fp)
    8130:	e0bffc17 	ldw	r2,-16(fp)
    8134:	1884703a 	and	r2,r3,r2
    8138:	10001426 	beq	r2,zero,818c <alt_irq_handler+0x90>
    813c:	00800074 	movhi	r2,1
    8140:	10b61604 	addi	r2,r2,-10152
    8144:	e0fffd17 	ldw	r3,-12(fp)
    8148:	180690fa 	slli	r3,r3,3
    814c:	10c5883a 	add	r2,r2,r3
    8150:	10c00017 	ldw	r3,0(r2)
    8154:	00800074 	movhi	r2,1
    8158:	10b61604 	addi	r2,r2,-10152
    815c:	e13ffd17 	ldw	r4,-12(fp)
    8160:	200890fa 	slli	r4,r4,3
    8164:	21000104 	addi	r4,r4,4
    8168:	1105883a 	add	r2,r2,r4
    816c:	10800017 	ldw	r2,0(r2)
    8170:	1009883a 	mov	r4,r2
    8174:	183ee83a 	callr	r3
    8178:	0001883a 	nop
    817c:	0005313a 	rdctl	r2,ipending
    8180:	e0bfff15 	stw	r2,-4(fp)
    8184:	e0bfff17 	ldw	r2,-4(fp)
    8188:	00000706 	br	81a8 <alt_irq_handler+0xac>
    818c:	e0bffc17 	ldw	r2,-16(fp)
    8190:	1085883a 	add	r2,r2,r2
    8194:	e0bffc15 	stw	r2,-16(fp)
    8198:	e0bffd17 	ldw	r2,-12(fp)
    819c:	10800044 	addi	r2,r2,1
    81a0:	e0bffd15 	stw	r2,-12(fp)
    81a4:	003fe106 	br	812c <_gp+0xffff3198>
    81a8:	e0bffb15 	stw	r2,-20(fp)
    81ac:	e0bffb17 	ldw	r2,-20(fp)
    81b0:	103fdb1e 	bne	r2,zero,8120 <_gp+0xffff318c>
    81b4:	0001883a 	nop
    81b8:	e037883a 	mov	sp,fp
    81bc:	dfc00117 	ldw	ra,4(sp)
    81c0:	df000017 	ldw	fp,0(sp)
    81c4:	dec00204 	addi	sp,sp,8
    81c8:	f800283a 	ret

000081cc <alt_instruction_exception_entry>:
    81cc:	defffb04 	addi	sp,sp,-20
    81d0:	dfc00415 	stw	ra,16(sp)
    81d4:	df000315 	stw	fp,12(sp)
    81d8:	df000304 	addi	fp,sp,12
    81dc:	e13fff15 	stw	r4,-4(fp)
    81e0:	00bfffc4 	movi	r2,-1
    81e4:	e0bffd15 	stw	r2,-12(fp)
    81e8:	e03ffe15 	stw	zero,-8(fp)
    81ec:	d0a1cf17 	ldw	r2,-30916(gp)
    81f0:	10000726 	beq	r2,zero,8210 <alt_instruction_exception_entry+0x44>
    81f4:	d0a1cf17 	ldw	r2,-30916(gp)
    81f8:	e0fffd17 	ldw	r3,-12(fp)
    81fc:	1809883a 	mov	r4,r3
    8200:	e17fff17 	ldw	r5,-4(fp)
    8204:	e1bffe17 	ldw	r6,-8(fp)
    8208:	103ee83a 	callr	r2
    820c:	00000206 	br	8218 <alt_instruction_exception_entry+0x4c>
    8210:	003da03a 	break	0
    8214:	0005883a 	mov	r2,zero
    8218:	e037883a 	mov	sp,fp
    821c:	dfc00117 	ldw	ra,4(sp)
    8220:	df000017 	ldw	fp,0(sp)
    8224:	dec00204 	addi	sp,sp,8
    8228:	f800283a 	ret

Disassembly of section .text:

0000822c <_start>:
    822c:	06c00074 	movhi	sp,1
    8230:	dec00014 	ori	sp,sp,0
    8234:	06800074 	movhi	gp,1
    8238:	d693e514 	ori	gp,gp,20372
    823c:	00800034 	movhi	r2,0
    8240:	10b5a314 	ori	r2,r2,54924
    8244:	00c00034 	movhi	r3,0
    8248:	18f65614 	ori	r3,r3,55640
    824c:	10c00326 	beq	r2,r3,825c <_start+0x30>
    8250:	10000015 	stw	zero,0(r2)
    8254:	10800104 	addi	r2,r2,4
    8258:	10fffd36 	bltu	r2,r3,8250 <_gp+0xffff32bc>
    825c:	000b05c0 	call	b05c <alt_load>
    8260:	000b0dc0 	call	b0dc <alt_main>

00008264 <alt_after_alt_main>:
    8264:	003fff06 	br	8264 <_gp+0xffff32d0>

00008268 <I2C_init>:
    8268:	defffa04 	addi	sp,sp,-24
    826c:	dfc00515 	stw	ra,20(sp)
    8270:	df000415 	stw	fp,16(sp)
    8274:	df000404 	addi	fp,sp,16
    8278:	e13ffd15 	stw	r4,-12(fp)
    827c:	e17ffe15 	stw	r5,-8(fp)
    8280:	e1bfff15 	stw	r6,-4(fp)
    8284:	e13fff17 	ldw	r4,-4(fp)
    8288:	01400144 	movi	r5,5
    828c:	000ad740 	call	ad74 <__mulsi3>
    8290:	e13ffe17 	ldw	r4,-8(fp)
    8294:	100b883a 	mov	r5,r2
    8298:	000ad640 	call	ad64 <__udivsi3>
    829c:	10bfffc4 	addi	r2,r2,-1
    82a0:	e0bffc15 	stw	r2,-16(fp)
    82a4:	e0bffd17 	ldw	r2,-12(fp)
    82a8:	10800204 	addi	r2,r2,8
    82ac:	0007883a 	mov	r3,zero
    82b0:	10c00035 	stwio	r3,0(r2)
    82b4:	e0bffd17 	ldw	r2,-12(fp)
    82b8:	10800404 	addi	r2,r2,16
    82bc:	1007883a 	mov	r3,r2
    82c0:	00800044 	movi	r2,1
    82c4:	18800035 	stwio	r2,0(r3)
    82c8:	e0bffd17 	ldw	r2,-12(fp)
    82cc:	e0fffc17 	ldw	r3,-16(fp)
    82d0:	18c03fcc 	andi	r3,r3,255
    82d4:	10c00035 	stwio	r3,0(r2)
    82d8:	e0bffd17 	ldw	r2,-12(fp)
    82dc:	10800104 	addi	r2,r2,4
    82e0:	1007883a 	mov	r3,r2
    82e4:	e0bffc17 	ldw	r2,-16(fp)
    82e8:	1004d23a 	srli	r2,r2,8
    82ec:	10803fcc 	andi	r2,r2,255
    82f0:	18800035 	stwio	r2,0(r3)
    82f4:	e0bffd17 	ldw	r2,-12(fp)
    82f8:	10800204 	addi	r2,r2,8
    82fc:	1007883a 	mov	r3,r2
    8300:	00802004 	movi	r2,128
    8304:	18800035 	stwio	r2,0(r3)
    8308:	e037883a 	mov	sp,fp
    830c:	dfc00117 	ldw	ra,4(sp)
    8310:	df000017 	ldw	fp,0(sp)
    8314:	dec00204 	addi	sp,sp,8
    8318:	f800283a 	ret

0000831c <I2C_start>:
    831c:	defffc04 	addi	sp,sp,-16
    8320:	df000315 	stw	fp,12(sp)
    8324:	df000304 	addi	fp,sp,12
    8328:	e13ffd15 	stw	r4,-12(fp)
    832c:	e17ffe15 	stw	r5,-8(fp)
    8330:	e1bfff15 	stw	r6,-4(fp)
    8334:	e0bffd17 	ldw	r2,-12(fp)
    8338:	10800304 	addi	r2,r2,12
    833c:	1007883a 	mov	r3,r2
    8340:	e0bffe17 	ldw	r2,-8(fp)
    8344:	1085883a 	add	r2,r2,r2
    8348:	1009883a 	mov	r4,r2
    834c:	e0bfff17 	ldw	r2,-4(fp)
    8350:	1080004c 	andi	r2,r2,1
    8354:	2085883a 	add	r2,r4,r2
    8358:	18800035 	stwio	r2,0(r3)
    835c:	e0bffd17 	ldw	r2,-12(fp)
    8360:	10800404 	addi	r2,r2,16
    8364:	1007883a 	mov	r3,r2
    8368:	00802404 	movi	r2,144
    836c:	18800035 	stwio	r2,0(r3)
    8370:	0001883a 	nop
    8374:	e0bffd17 	ldw	r2,-12(fp)
    8378:	10800404 	addi	r2,r2,16
    837c:	10800037 	ldwio	r2,0(r2)
    8380:	1080008c 	andi	r2,r2,2
    8384:	103ffb1e 	bne	r2,zero,8374 <_gp+0xffff33e0>
    8388:	e0bffd17 	ldw	r2,-12(fp)
    838c:	10800404 	addi	r2,r2,16
    8390:	10800037 	ldwio	r2,0(r2)
    8394:	1080200c 	andi	r2,r2,128
    8398:	10000226 	beq	r2,zero,83a4 <I2C_start+0x88>
    839c:	00800044 	movi	r2,1
    83a0:	00000106 	br	83a8 <I2C_start+0x8c>
    83a4:	0005883a 	mov	r2,zero
    83a8:	e037883a 	mov	sp,fp
    83ac:	df000017 	ldw	fp,0(sp)
    83b0:	dec00104 	addi	sp,sp,4
    83b4:	f800283a 	ret

000083b8 <I2C_read>:
    83b8:	defffd04 	addi	sp,sp,-12
    83bc:	df000215 	stw	fp,8(sp)
    83c0:	df000204 	addi	fp,sp,8
    83c4:	e13ffe15 	stw	r4,-8(fp)
    83c8:	e17fff15 	stw	r5,-4(fp)
    83cc:	e0bfff17 	ldw	r2,-4(fp)
    83d0:	10000626 	beq	r2,zero,83ec <I2C_read+0x34>
    83d4:	e0bffe17 	ldw	r2,-8(fp)
    83d8:	10800404 	addi	r2,r2,16
    83dc:	1007883a 	mov	r3,r2
    83e0:	00801a04 	movi	r2,104
    83e4:	18800035 	stwio	r2,0(r3)
    83e8:	00000506 	br	8400 <I2C_read+0x48>
    83ec:	e0bffe17 	ldw	r2,-8(fp)
    83f0:	10800404 	addi	r2,r2,16
    83f4:	1007883a 	mov	r3,r2
    83f8:	00800804 	movi	r2,32
    83fc:	18800035 	stwio	r2,0(r3)
    8400:	0001883a 	nop
    8404:	e0bffe17 	ldw	r2,-8(fp)
    8408:	10800404 	addi	r2,r2,16
    840c:	10800037 	ldwio	r2,0(r2)
    8410:	1080008c 	andi	r2,r2,2
    8414:	103ffb1e 	bne	r2,zero,8404 <_gp+0xffff3470>
    8418:	e0bffe17 	ldw	r2,-8(fp)
    841c:	10800304 	addi	r2,r2,12
    8420:	10800037 	ldwio	r2,0(r2)
    8424:	e037883a 	mov	sp,fp
    8428:	df000017 	ldw	fp,0(sp)
    842c:	dec00104 	addi	sp,sp,4
    8430:	f800283a 	ret

00008434 <I2C_write>:
    8434:	defffc04 	addi	sp,sp,-16
    8438:	df000315 	stw	fp,12(sp)
    843c:	df000304 	addi	fp,sp,12
    8440:	e13ffd15 	stw	r4,-12(fp)
    8444:	2805883a 	mov	r2,r5
    8448:	e1bfff15 	stw	r6,-4(fp)
    844c:	e0bffe05 	stb	r2,-8(fp)
    8450:	e0bffd17 	ldw	r2,-12(fp)
    8454:	10800304 	addi	r2,r2,12
    8458:	1007883a 	mov	r3,r2
    845c:	e0bffe03 	ldbu	r2,-8(fp)
    8460:	18800035 	stwio	r2,0(r3)
    8464:	e0bfff17 	ldw	r2,-4(fp)
    8468:	10000626 	beq	r2,zero,8484 <I2C_write+0x50>
    846c:	e0bffd17 	ldw	r2,-12(fp)
    8470:	10800404 	addi	r2,r2,16
    8474:	1007883a 	mov	r3,r2
    8478:	00801404 	movi	r2,80
    847c:	18800035 	stwio	r2,0(r3)
    8480:	00000506 	br	8498 <I2C_write+0x64>
    8484:	e0bffd17 	ldw	r2,-12(fp)
    8488:	10800404 	addi	r2,r2,16
    848c:	1007883a 	mov	r3,r2
    8490:	00800404 	movi	r2,16
    8494:	18800035 	stwio	r2,0(r3)
    8498:	0001883a 	nop
    849c:	e0bffd17 	ldw	r2,-12(fp)
    84a0:	10800404 	addi	r2,r2,16
    84a4:	10800037 	ldwio	r2,0(r2)
    84a8:	1080008c 	andi	r2,r2,2
    84ac:	103ffb1e 	bne	r2,zero,849c <_gp+0xffff3508>
    84b0:	e0bffd17 	ldw	r2,-12(fp)
    84b4:	10800404 	addi	r2,r2,16
    84b8:	10800037 	ldwio	r2,0(r2)
    84bc:	1080200c 	andi	r2,r2,128
    84c0:	10000226 	beq	r2,zero,84cc <I2C_write+0x98>
    84c4:	00800044 	movi	r2,1
    84c8:	00000106 	br	84d0 <I2C_write+0x9c>
    84cc:	0005883a 	mov	r2,zero
    84d0:	e037883a 	mov	sp,fp
    84d4:	df000017 	ldw	fp,0(sp)
    84d8:	dec00104 	addi	sp,sp,4
    84dc:	f800283a 	ret

000084e0 <Check_many_blocks>:
    84e0:	defffc04 	addi	sp,sp,-16
    84e4:	dfc00315 	stw	ra,12(sp)
    84e8:	df000215 	stw	fp,8(sp)
    84ec:	dc000115 	stw	r16,4(sp)
    84f0:	df000204 	addi	fp,sp,8
    84f4:	2005883a 	mov	r2,r4
    84f8:	e0bffe05 	stb	r2,-8(fp)
    84fc:	d0a00117 	ldw	r2,-32764(gp)
    8500:	14000083 	ldbu	r16,2(r2)
    8504:	e0bffe03 	ldbu	r2,-8(fp)
    8508:	01000e04 	movi	r4,56
    850c:	100b883a 	mov	r5,r2
    8510:	000ad640 	call	ad64 <__udivsi3>
    8514:	1007883a 	mov	r3,r2
    8518:	80803fcc 	andi	r2,r16,255
    851c:	18c03fcc 	andi	r3,r3,255
    8520:	1880052e 	bgeu	r3,r2,8538 <Check_many_blocks+0x58>
    8524:	d0a00017 	ldw	r2,-32768(gp)
    8528:	00c00104 	movi	r3,4
    852c:	10c00045 	stb	r3,1(r2)
    8530:	00800044 	movi	r2,1
    8534:	00000106 	br	853c <Check_many_blocks+0x5c>
    8538:	0005883a 	mov	r2,zero
    853c:	e6ffff04 	addi	sp,fp,-4
    8540:	dfc00217 	ldw	ra,8(sp)
    8544:	df000117 	ldw	fp,4(sp)
    8548:	dc000017 	ldw	r16,0(sp)
    854c:	dec00304 	addi	sp,sp,12
    8550:	f800283a 	ret

00008554 <getFifoData>:
    8554:	defffc04 	addi	sp,sp,-16
    8558:	df000315 	stw	fp,12(sp)
    855c:	df000304 	addi	fp,sp,12
    8560:	e13ffe15 	stw	r4,-8(fp)
    8564:	2805883a 	mov	r2,r5
    8568:	e0bfff05 	stb	r2,-4(fp)
    856c:	e03ffd05 	stb	zero,-12(fp)
    8570:	e03ffd05 	stb	zero,-12(fp)
    8574:	00000a06 	br	85a0 <getFifoData+0x4c>
    8578:	e0bffd03 	ldbu	r2,-12(fp)
    857c:	e0fffe17 	ldw	r3,-8(fp)
    8580:	1887883a 	add	r3,r3,r2
    8584:	00800074 	movhi	r2,1
    8588:	10843904 	addi	r2,r2,4324
    858c:	10800037 	ldwio	r2,0(r2)
    8590:	18800005 	stb	r2,0(r3)
    8594:	e0bffd03 	ldbu	r2,-12(fp)
    8598:	10800044 	addi	r2,r2,1
    859c:	e0bffd05 	stb	r2,-12(fp)
    85a0:	e0fffd03 	ldbu	r3,-12(fp)
    85a4:	e0bfff03 	ldbu	r2,-4(fp)
    85a8:	18bff336 	bltu	r3,r2,8578 <_gp+0xffff35e4>
    85ac:	e037883a 	mov	sp,fp
    85b0:	df000017 	ldw	fp,0(sp)
    85b4:	dec00104 	addi	sp,sp,4
    85b8:	f800283a 	ret

000085bc <set_led>:
    85bc:	defffe04 	addi	sp,sp,-8
    85c0:	df000115 	stw	fp,4(sp)
    85c4:	df000104 	addi	fp,sp,4
    85c8:	2005883a 	mov	r2,r4
    85cc:	e0bfff05 	stb	r2,-4(fp)
    85d0:	e0ffff03 	ldbu	r3,-4(fp)
    85d4:	00800074 	movhi	r2,1
    85d8:	10843004 	addi	r2,r2,4288
    85dc:	10c00035 	stwio	r3,0(r2)
    85e0:	e037883a 	mov	sp,fp
    85e4:	df000017 	ldw	fp,0(sp)
    85e8:	dec00104 	addi	sp,sp,4
    85ec:	f800283a 	ret

000085f0 <Configure_LM75>:
    85f0:	defffd04 	addi	sp,sp,-12
    85f4:	dfc00215 	stw	ra,8(sp)
    85f8:	df000115 	stw	fp,4(sp)
    85fc:	df000104 	addi	fp,sp,4
    8600:	01000074 	movhi	r4,1
    8604:	21042804 	addi	r4,r4,4256
    8608:	01401204 	movi	r5,72
    860c:	000d883a 	mov	r6,zero
    8610:	000831c0 	call	831c <I2C_start>
    8614:	e0bfff15 	stw	r2,-4(fp)
    8618:	01000074 	movhi	r4,1
    861c:	21042804 	addi	r4,r4,4256
    8620:	01400044 	movi	r5,1
    8624:	000d883a 	mov	r6,zero
    8628:	00084340 	call	8434 <I2C_write>
    862c:	e0bfff15 	stw	r2,-4(fp)
    8630:	01000074 	movhi	r4,1
    8634:	21042804 	addi	r4,r4,4256
    8638:	01400104 	movi	r5,4
    863c:	01800044 	movi	r6,1
    8640:	00084340 	call	8434 <I2C_write>
    8644:	e0bfff15 	stw	r2,-4(fp)
    8648:	01000074 	movhi	r4,1
    864c:	21042804 	addi	r4,r4,4256
    8650:	01401204 	movi	r5,72
    8654:	000d883a 	mov	r6,zero
    8658:	000831c0 	call	831c <I2C_start>
    865c:	e0bfff15 	stw	r2,-4(fp)
    8660:	01000074 	movhi	r4,1
    8664:	21042804 	addi	r4,r4,4256
    8668:	01400084 	movi	r5,2
    866c:	000d883a 	mov	r6,zero
    8670:	00084340 	call	8434 <I2C_write>
    8674:	e0bfff15 	stw	r2,-4(fp)
    8678:	01000074 	movhi	r4,1
    867c:	21042804 	addi	r4,r4,4256
    8680:	01400b44 	movi	r5,45
    8684:	000d883a 	mov	r6,zero
    8688:	00084340 	call	8434 <I2C_write>
    868c:	e0bfff15 	stw	r2,-4(fp)
    8690:	01000074 	movhi	r4,1
    8694:	21042804 	addi	r4,r4,4256
    8698:	000b883a 	mov	r5,zero
    869c:	01800044 	movi	r6,1
    86a0:	00084340 	call	8434 <I2C_write>
    86a4:	e0bfff15 	stw	r2,-4(fp)
    86a8:	01000074 	movhi	r4,1
    86ac:	21042804 	addi	r4,r4,4256
    86b0:	01401204 	movi	r5,72
    86b4:	000d883a 	mov	r6,zero
    86b8:	000831c0 	call	831c <I2C_start>
    86bc:	e0bfff15 	stw	r2,-4(fp)
    86c0:	01000074 	movhi	r4,1
    86c4:	21042804 	addi	r4,r4,4256
    86c8:	014000c4 	movi	r5,3
    86cc:	000d883a 	mov	r6,zero
    86d0:	00084340 	call	8434 <I2C_write>
    86d4:	e0bfff15 	stw	r2,-4(fp)
    86d8:	01000074 	movhi	r4,1
    86dc:	21042804 	addi	r4,r4,4256
    86e0:	01400dc4 	movi	r5,55
    86e4:	000d883a 	mov	r6,zero
    86e8:	00084340 	call	8434 <I2C_write>
    86ec:	e0bfff15 	stw	r2,-4(fp)
    86f0:	01000074 	movhi	r4,1
    86f4:	21042804 	addi	r4,r4,4256
    86f8:	000b883a 	mov	r5,zero
    86fc:	01800044 	movi	r6,1
    8700:	00084340 	call	8434 <I2C_write>
    8704:	e0bfff15 	stw	r2,-4(fp)
    8708:	e037883a 	mov	sp,fp
    870c:	dfc00117 	ldw	ra,4(sp)
    8710:	df000017 	ldw	fp,0(sp)
    8714:	dec00204 	addi	sp,sp,8
    8718:	f800283a 	ret

0000871c <Control_TCXO_DAC>:
    871c:	defff704 	addi	sp,sp,-36
    8720:	dfc00815 	stw	ra,32(sp)
    8724:	df000715 	stw	fp,28(sp)
    8728:	df000704 	addi	fp,sp,28
    872c:	2005883a 	mov	r2,r4
    8730:	e17fff15 	stw	r5,-4(fp)
    8734:	e0bffe05 	stb	r2,-8(fp)
    8738:	e0bffe03 	ldbu	r2,-8(fp)
    873c:	10000f1e 	bne	r2,zero,877c <Control_TCXO_DAC+0x60>
    8740:	00bff004 	movi	r2,-64
    8744:	e0bffd05 	stb	r2,-12(fp)
    8748:	e03ffd45 	stb	zero,-11(fp)
    874c:	e0bffd04 	addi	r2,fp,-12
    8750:	d8000015 	stw	zero,0(sp)
    8754:	d8000115 	stw	zero,4(sp)
    8758:	d8000215 	stw	zero,8(sp)
    875c:	01000074 	movhi	r4,1
    8760:	21040804 	addi	r4,r4,4128
    8764:	000b883a 	mov	r5,zero
    8768:	01800084 	movi	r6,2
    876c:	100f883a 	mov	r7,r2
    8770:	000b2300 	call	b230 <alt_avalon_spi_command>
    8774:	e0bffc15 	stw	r2,-16(fp)
    8778:	00001406 	br	87cc <Control_TCXO_DAC+0xb0>
    877c:	e0bfff17 	ldw	r2,-4(fp)
    8780:	10800003 	ldbu	r2,0(r2)
    8784:	10803fcc 	andi	r2,r2,255
    8788:	1004d0ba 	srli	r2,r2,2
    878c:	e0bffd05 	stb	r2,-12(fp)
    8790:	e0bfff17 	ldw	r2,-4(fp)
    8794:	10800003 	ldbu	r2,0(r2)
    8798:	100491ba 	slli	r2,r2,6
    879c:	e0bffd45 	stb	r2,-11(fp)
    87a0:	e0bffd04 	addi	r2,fp,-12
    87a4:	d8000015 	stw	zero,0(sp)
    87a8:	d8000115 	stw	zero,4(sp)
    87ac:	d8000215 	stw	zero,8(sp)
    87b0:	01000074 	movhi	r4,1
    87b4:	21040804 	addi	r4,r4,4128
    87b8:	000b883a 	mov	r5,zero
    87bc:	01800084 	movi	r6,2
    87c0:	100f883a 	mov	r7,r2
    87c4:	000b2300 	call	b230 <alt_avalon_spi_command>
    87c8:	e0bffc15 	stw	r2,-16(fp)
    87cc:	e037883a 	mov	sp,fp
    87d0:	dfc00117 	ldw	ra,4(sp)
    87d4:	df000017 	ldw	fp,0(sp)
    87d8:	dec00204 	addi	sp,sp,8
    87dc:	f800283a 	ret

000087e0 <Control_TCXO_ADF>:
    87e0:	defff404 	addi	sp,sp,-48
    87e4:	dfc00b15 	stw	ra,44(sp)
    87e8:	df000a15 	stw	fp,40(sp)
    87ec:	df000a04 	addi	fp,sp,40
    87f0:	2005883a 	mov	r2,r4
    87f4:	e17fff15 	stw	r5,-4(fp)
    87f8:	e0bffe05 	stb	r2,-8(fp)
    87fc:	e0bffe03 	ldbu	r2,-8(fp)
    8800:	10002f1e 	bne	r2,zero,88c0 <Control_TCXO_ADF+0xe0>
    8804:	008007c4 	movi	r2,31
    8808:	e0bffb05 	stb	r2,-20(fp)
    880c:	00bfe044 	movi	r2,-127
    8810:	e0bffb45 	stb	r2,-19(fp)
    8814:	00bffcc4 	movi	r2,-13
    8818:	e0bffb85 	stb	r2,-18(fp)
    881c:	008007c4 	movi	r2,31
    8820:	e0bffbc5 	stb	r2,-17(fp)
    8824:	00bfe044 	movi	r2,-127
    8828:	e0bffc05 	stb	r2,-16(fp)
    882c:	00bffc84 	movi	r2,-14
    8830:	e0bffc45 	stb	r2,-15(fp)
    8834:	e03ffc85 	stb	zero,-14(fp)
    8838:	00800044 	movi	r2,1
    883c:	e0bffcc5 	stb	r2,-13(fp)
    8840:	00bffd04 	movi	r2,-12
    8844:	e0bffd05 	stb	r2,-12(fp)
    8848:	00800044 	movi	r2,1
    884c:	e0bffd45 	stb	r2,-11(fp)
    8850:	00bfe004 	movi	r2,-128
    8854:	e0bffd85 	stb	r2,-10(fp)
    8858:	00800044 	movi	r2,1
    885c:	e0bffdc5 	stb	r2,-9(fp)
    8860:	e03ff905 	stb	zero,-28(fp)
    8864:	00001206 	br	88b0 <Control_TCXO_ADF+0xd0>
    8868:	e0fff903 	ldbu	r3,-28(fp)
    886c:	1805883a 	mov	r2,r3
    8870:	1085883a 	add	r2,r2,r2
    8874:	10c5883a 	add	r2,r2,r3
    8878:	e0fffb04 	addi	r3,fp,-20
    887c:	1885883a 	add	r2,r3,r2
    8880:	d8000015 	stw	zero,0(sp)
    8884:	d8000115 	stw	zero,4(sp)
    8888:	d8000215 	stw	zero,8(sp)
    888c:	0009883a 	mov	r4,zero
    8890:	000b883a 	mov	r5,zero
    8894:	018000c4 	movi	r6,3
    8898:	100f883a 	mov	r7,r2
    889c:	000b2300 	call	b230 <alt_avalon_spi_command>
    88a0:	e0bffa15 	stw	r2,-24(fp)
    88a4:	e0bff903 	ldbu	r2,-28(fp)
    88a8:	10800044 	addi	r2,r2,1
    88ac:	e0bff905 	stb	r2,-28(fp)
    88b0:	e0bff903 	ldbu	r2,-28(fp)
    88b4:	10800130 	cmpltui	r2,r2,4
    88b8:	103feb1e 	bne	r2,zero,8868 <_gp+0xffff38d4>
    88bc:	00000906 	br	88e4 <Control_TCXO_ADF+0x104>
    88c0:	d8000015 	stw	zero,0(sp)
    88c4:	d8000115 	stw	zero,4(sp)
    88c8:	d8000215 	stw	zero,8(sp)
    88cc:	0009883a 	mov	r4,zero
    88d0:	000b883a 	mov	r5,zero
    88d4:	018000c4 	movi	r6,3
    88d8:	e1ffff17 	ldw	r7,-4(fp)
    88dc:	000b2300 	call	b230 <alt_avalon_spi_command>
    88e0:	e0bffa15 	stw	r2,-24(fp)
    88e4:	e037883a 	mov	sp,fp
    88e8:	dfc00117 	ldw	ra,4(sp)
    88ec:	df000017 	ldw	fp,0(sp)
    88f0:	dec00204 	addi	sp,sp,8
    88f4:	f800283a 	ret

000088f8 <rd_dac_val>:
    88f8:	defffb04 	addi	sp,sp,-20
    88fc:	dfc00415 	stw	ra,16(sp)
    8900:	df000315 	stw	fp,12(sp)
    8904:	df000304 	addi	fp,sp,12
    8908:	2005883a 	mov	r2,r4
    890c:	e0bfff0d 	sth	r2,-4(fp)
    8910:	e0bfff0b 	ldhu	r2,-4(fp)
    8914:	e0bffd05 	stb	r2,-12(fp)
    8918:	e03ffd45 	stb	zero,-11(fp)
    891c:	01000074 	movhi	r4,1
    8920:	21042804 	addi	r4,r4,4256
    8924:	01401404 	movi	r5,80
    8928:	000d883a 	mov	r6,zero
    892c:	000831c0 	call	831c <I2C_start>
    8930:	e0bffd85 	stb	r2,-10(fp)
    8934:	e0bffd43 	ldbu	r2,-11(fp)
    8938:	01000074 	movhi	r4,1
    893c:	21042804 	addi	r4,r4,4256
    8940:	100b883a 	mov	r5,r2
    8944:	000d883a 	mov	r6,zero
    8948:	00084340 	call	8434 <I2C_write>
    894c:	e0bffd85 	stb	r2,-10(fp)
    8950:	e0bffd03 	ldbu	r2,-12(fp)
    8954:	01000074 	movhi	r4,1
    8958:	21042804 	addi	r4,r4,4256
    895c:	100b883a 	mov	r5,r2
    8960:	000d883a 	mov	r6,zero
    8964:	00084340 	call	8434 <I2C_write>
    8968:	e0bffd85 	stb	r2,-10(fp)
    896c:	01000074 	movhi	r4,1
    8970:	21042804 	addi	r4,r4,4256
    8974:	01401404 	movi	r5,80
    8978:	01800044 	movi	r6,1
    897c:	000831c0 	call	831c <I2C_start>
    8980:	e0bffd85 	stb	r2,-10(fp)
    8984:	01000074 	movhi	r4,1
    8988:	21042804 	addi	r4,r4,4256
    898c:	000b883a 	mov	r5,zero
    8990:	00083b80 	call	83b8 <I2C_read>
    8994:	e0bffdc5 	stb	r2,-9(fp)
    8998:	01000074 	movhi	r4,1
    899c:	21042804 	addi	r4,r4,4256
    89a0:	01400044 	movi	r5,1
    89a4:	00083b80 	call	83b8 <I2C_read>
    89a8:	e0bffe05 	stb	r2,-8(fp)
    89ac:	e0bffe03 	ldbu	r2,-8(fp)
    89b0:	1004923a 	slli	r2,r2,8
    89b4:	1007883a 	mov	r3,r2
    89b8:	e0bffdc3 	ldbu	r2,-9(fp)
    89bc:	1884b03a 	or	r2,r3,r2
    89c0:	e0bffe8d 	sth	r2,-6(fp)
    89c4:	e0bffe8b 	ldhu	r2,-6(fp)
    89c8:	e037883a 	mov	sp,fp
    89cc:	dfc00117 	ldw	ra,4(sp)
    89d0:	df000017 	ldw	fp,0(sp)
    89d4:	dec00204 	addi	sp,sp,8
    89d8:	f800283a 	ret

000089dc <main>:
    89dc:	defff304 	addi	sp,sp,-52
    89e0:	dfc00c15 	stw	ra,48(sp)
    89e4:	df000b15 	stw	fp,44(sp)
    89e8:	dc400a15 	stw	r17,40(sp)
    89ec:	dc000915 	stw	r16,36(sp)
    89f0:	df000b04 	addi	fp,sp,44
    89f4:	e03ff985 	stb	zero,-26(fp)
    89f8:	e03ff905 	stb	zero,-28(fp)
    89fc:	e03ff945 	stb	zero,-27(fp)
    8a00:	00c00184 	movi	r3,6
    8a04:	00800074 	movhi	r2,1
    8a08:	10841804 	addi	r2,r2,4192
    8a0c:	10c00035 	stwio	r3,0(r2)
    8a10:	00c001c4 	movi	r3,7
    8a14:	00800074 	movhi	r2,1
    8a18:	10841804 	addi	r2,r2,4192
    8a1c:	10c00035 	stwio	r3,0(r2)
    8a20:	e03ffc05 	stb	zero,-16(fp)
    8a24:	00800804 	movi	r2,32
    8a28:	e0bffc45 	stb	r2,-15(fp)
    8a2c:	00bfe004 	movi	r2,-128
    8a30:	e0bffc85 	stb	r2,-14(fp)
    8a34:	00800804 	movi	r2,32
    8a38:	e0bffcc5 	stb	r2,-13(fp)
    8a3c:	00bfffc4 	movi	r2,-1
    8a40:	e0bffd05 	stb	r2,-12(fp)
    8a44:	00bfff44 	movi	r2,-3
    8a48:	e0bffd45 	stb	r2,-11(fp)
    8a4c:	e03ffd85 	stb	zero,-10(fp)
    8a50:	00800804 	movi	r2,32
    8a54:	e0bffdc5 	stb	r2,-9(fp)
    8a58:	01000074 	movhi	r4,1
    8a5c:	21042804 	addi	r4,r4,4256
    8a60:	01417db4 	movhi	r5,1526
    8a64:	29784004 	addi	r5,r5,-7936
    8a68:	018001b4 	movhi	r6,6
    8a6c:	3186a004 	addi	r6,r6,6784
    8a70:	00082680 	call	8268 <I2C_init>
    8a74:	01000404 	movi	r4,16
    8a78:	00088f80 	call	88f8 <rd_dac_val>
    8a7c:	e0bffa0d 	sth	r2,-24(fp)
    8a80:	e0fffa0b 	ldhu	r3,-24(fp)
    8a84:	00bfffd4 	movui	r2,65535
    8a88:	1880031e 	bne	r3,r2,8a98 <main+0xbc>
    8a8c:	00bfe184 	movi	r2,-122
    8a90:	d0a00205 	stb	r2,-32760(gp)
    8a94:	00000206 	br	8aa0 <main+0xc4>
    8a98:	e0bffa0b 	ldhu	r2,-24(fp)
    8a9c:	d0a00205 	stb	r2,-32760(gp)
    8aa0:	0009883a 	mov	r4,zero
    8aa4:	000b883a 	mov	r5,zero
    8aa8:	00087e00 	call	87e0 <Control_TCXO_ADF>
    8aac:	01000044 	movi	r4,1
    8ab0:	d1600204 	addi	r5,gp,-32760
    8ab4:	000871c0 	call	871c <Control_TCXO_DAC>
    8ab8:	00bffe44 	movi	r2,-7
    8abc:	e0bffc05 	stb	r2,-16(fp)
    8ac0:	e0fffc04 	addi	r3,fp,-16
    8ac4:	008000c4 	movi	r2,3
    8ac8:	d8800015 	stw	r2,0(sp)
    8acc:	e0bffc84 	addi	r2,fp,-14
    8ad0:	d8800115 	stw	r2,4(sp)
    8ad4:	d8000215 	stw	zero,8(sp)
    8ad8:	01000074 	movhi	r4,1
    8adc:	21040004 	addi	r4,r4,4096
    8ae0:	000b883a 	mov	r5,zero
    8ae4:	01800044 	movi	r6,1
    8ae8:	180f883a 	mov	r7,r3
    8aec:	000b2300 	call	b230 <alt_avalon_spi_command>
    8af0:	e0bffb15 	stw	r2,-20(fp)
    8af4:	00085f00 	call	85f0 <Configure_LM75>
    8af8:	00800074 	movhi	r2,1
    8afc:	10843404 	addi	r2,r2,4304
    8b00:	10800037 	ldwio	r2,0(r2)
    8b04:	e0bff985 	stb	r2,-26(fp)
    8b08:	e0bff983 	ldbu	r2,-26(fp)
    8b0c:	100490fa 	slli	r2,r2,3
    8b10:	10803fcc 	andi	r2,r2,255
    8b14:	1009883a 	mov	r4,r2
    8b18:	00085bc0 	call	85bc <set_led>
    8b1c:	00800074 	movhi	r2,1
    8b20:	10843a04 	addi	r2,r2,4328
    8b24:	10800037 	ldwio	r2,0(r2)
    8b28:	e0bffb15 	stw	r2,-20(fp)
    8b2c:	e0bffb17 	ldw	r2,-20(fp)
    8b30:	1080004c 	andi	r2,r2,1
    8b34:	1007041e 	bne	r2,zero,a748 <main+0x1d6c>
    8b38:	01000074 	movhi	r4,1
    8b3c:	21360604 	addi	r4,r4,-10216
    8b40:	01401004 	movi	r5,64
    8b44:	00085540 	call	8554 <getFifoData>
    8b48:	01000074 	movhi	r4,1
    8b4c:	2135b604 	addi	r4,r4,-10536
    8b50:	000b883a 	mov	r5,zero
    8b54:	01801004 	movi	r6,64
    8b58:	000aed40 	call	aed4 <memset>
    8b5c:	d021c845 	stb	zero,-30943(gp)
    8b60:	d0a00017 	ldw	r2,-32768(gp)
    8b64:	d0e00117 	ldw	r3,-32764(gp)
    8b68:	18c00003 	ldbu	r3,0(r3)
    8b6c:	10c00005 	stb	r3,0(r2)
    8b70:	d0a00017 	ldw	r2,-32768(gp)
    8b74:	d0e00117 	ldw	r3,-32764(gp)
    8b78:	18c00083 	ldbu	r3,2(r3)
    8b7c:	10c00085 	stb	r3,2(r2)
    8b80:	d0a00017 	ldw	r2,-32768(gp)
    8b84:	d0e00117 	ldw	r3,-32764(gp)
    8b88:	18c000c3 	ldbu	r3,3(r3)
    8b8c:	10c000c5 	stb	r3,3(r2)
    8b90:	d0a00017 	ldw	r2,-32768(gp)
    8b94:	00c000c4 	movi	r3,3
    8b98:	10c00045 	stb	r3,1(r2)
    8b9c:	d0a00117 	ldw	r2,-32764(gp)
    8ba0:	10800003 	ldbu	r2,0(r2)
    8ba4:	10803fcc 	andi	r2,r2,255
    8ba8:	10c023a8 	cmpgeui	r3,r2,142
    8bac:	1806d11e 	bne	r3,zero,a6f4 <main+0x1d18>
    8bb0:	100690ba 	slli	r3,r2,2
    8bb4:	00800074 	movhi	r2,1
    8bb8:	10a2f204 	addi	r2,r2,-29752
    8bbc:	1885883a 	add	r2,r3,r2
    8bc0:	10800017 	ldw	r2,0(r2)
    8bc4:	1000683a 	jmp	r2
    8bc8:	00008e00 	call	8e0 <__alt_mem_oc_mem-0x7720>
    8bcc:	0000a6f4 	movhi	zero,667
    8bd0:	0000a6f4 	movhi	zero,667
    8bd4:	0000a6f4 	movhi	zero,667
    8bd8:	0000a6f4 	movhi	zero,667
    8bdc:	0000a6f4 	movhi	zero,667
    8be0:	0000a6f4 	movhi	zero,667
    8be4:	0000a6f4 	movhi	zero,667
    8be8:	0000a6f4 	movhi	zero,667
    8bec:	0000a6f4 	movhi	zero,667
    8bf0:	0000a6f4 	movhi	zero,667
    8bf4:	0000a6f4 	movhi	zero,667
    8bf8:	0000a6f4 	movhi	zero,667
    8bfc:	0000a6f4 	movhi	zero,667
    8c00:	0000a6f4 	movhi	zero,667
    8c04:	0000a6f4 	movhi	zero,667
    8c08:	0000a6f4 	movhi	zero,667
    8c0c:	0000a6f4 	movhi	zero,667
    8c10:	0000a6f4 	movhi	zero,667
    8c14:	00009a74 	movhi	zero,617
    8c18:	00009b90 	cmplti	zero,zero,622
    8c1c:	0000a6f4 	movhi	zero,667
    8c20:	0000a6f4 	movhi	zero,667
    8c24:	0000a6f4 	movhi	zero,667
    8c28:	0000a6f4 	movhi	zero,667
    8c2c:	0000a6f4 	movhi	zero,667
    8c30:	0000a6f4 	movhi	zero,667
    8c34:	0000a6f4 	movhi	zero,667
    8c38:	0000a6f4 	movhi	zero,667
    8c3c:	0000a6f4 	movhi	zero,667
    8c40:	0000a6f4 	movhi	zero,667
    8c44:	0000a6f4 	movhi	zero,667
    8c48:	00008e48 	cmpgei	zero,zero,569
    8c4c:	00008efc 	xorhi	zero,zero,571
    8c50:	00008fe0 	cmpeqi	zero,zero,575
    8c54:	0000a6f4 	movhi	zero,667
    8c58:	0000a6f4 	movhi	zero,667
    8c5c:	0000a6f4 	movhi	zero,667
    8c60:	0000a6f4 	movhi	zero,667
    8c64:	0000a6f4 	movhi	zero,667
    8c68:	0000a6f4 	movhi	zero,667
    8c6c:	0000a6f4 	movhi	zero,667
    8c70:	0000a6f4 	movhi	zero,667
    8c74:	0000a6f4 	movhi	zero,667
    8c78:	0000a11c 	xori	zero,zero,644
    8c7c:	0000a6f4 	movhi	zero,667
    8c80:	0000a6f4 	movhi	zero,667
    8c84:	0000a6f4 	movhi	zero,667
    8c88:	0000a6f4 	movhi	zero,667
    8c8c:	000092ac 	andhi	zero,zero,586
    8c90:	0000a6f4 	movhi	zero,667
    8c94:	0000a6f4 	movhi	zero,667
    8c98:	0000a6f4 	movhi	zero,667
    8c9c:	0000a6f4 	movhi	zero,667
    8ca0:	0000a6f4 	movhi	zero,667
    8ca4:	0000a6f4 	movhi	zero,667
    8ca8:	0000a6f4 	movhi	zero,667
    8cac:	0000a6f4 	movhi	zero,667
    8cb0:	0000a6f4 	movhi	zero,667
    8cb4:	0000a6f4 	movhi	zero,667
    8cb8:	0000a6f4 	movhi	zero,667
    8cbc:	0000a6f4 	movhi	zero,667
    8cc0:	0000a6f4 	movhi	zero,667
    8cc4:	0000a6f4 	movhi	zero,667
    8cc8:	0000a6f4 	movhi	zero,667
    8ccc:	0000a6f4 	movhi	zero,667
    8cd0:	0000a6f4 	movhi	zero,667
    8cd4:	0000a6f4 	movhi	zero,667
    8cd8:	0000a6f4 	movhi	zero,667
    8cdc:	0000a6f4 	movhi	zero,667
    8ce0:	0000a6f4 	movhi	zero,667
    8ce4:	0000a6f4 	movhi	zero,667
    8ce8:	0000a6f4 	movhi	zero,667
    8cec:	0000a6f4 	movhi	zero,667
    8cf0:	0000a6f4 	movhi	zero,667
    8cf4:	0000a6f4 	movhi	zero,667
    8cf8:	0000a6f4 	movhi	zero,667
    8cfc:	0000a6f4 	movhi	zero,667
    8d00:	0000a6f4 	movhi	zero,667
    8d04:	0000a53c 	xorhi	zero,zero,660
    8d08:	0000a5a8 	cmpgeui	zero,zero,662
    8d0c:	0000a618 	cmpnei	zero,zero,664
    8d10:	0000a684 	movi	zero,666
    8d14:	00009764 	muli	zero,zero,605
    8d18:	0000a6f4 	movhi	zero,667
    8d1c:	000090d4 	movui	zero,579
    8d20:	000091b8 	rdprs	zero,zero,582
    8d24:	0000a6f4 	movhi	zero,667
    8d28:	0000a6f4 	movhi	zero,667
    8d2c:	0000a6f4 	movhi	zero,667
    8d30:	0000a6f4 	movhi	zero,667
    8d34:	0000a6f4 	movhi	zero,667
    8d38:	0000a6f4 	movhi	zero,667
    8d3c:	0000a6f4 	movhi	zero,667
    8d40:	0000a6f4 	movhi	zero,667
    8d44:	0000a6f4 	movhi	zero,667
    8d48:	0000a6f4 	movhi	zero,667
    8d4c:	00009604 	movi	zero,600
    8d50:	00009350 	cmplti	zero,zero,589
    8d54:	0000a6f4 	movhi	zero,667
    8d58:	0000a6f4 	movhi	zero,667
    8d5c:	0000a6f4 	movhi	zero,667
    8d60:	0000a6f4 	movhi	zero,667
    8d64:	0000a6f4 	movhi	zero,667
    8d68:	0000a6f4 	movhi	zero,667
    8d6c:	0000a6f4 	movhi	zero,667
    8d70:	0000a6f4 	movhi	zero,667
    8d74:	0000a6f4 	movhi	zero,667
    8d78:	0000a6f4 	movhi	zero,667
    8d7c:	0000a6f4 	movhi	zero,667
    8d80:	0000a6f4 	movhi	zero,667
    8d84:	0000a6f4 	movhi	zero,667
    8d88:	0000a6f4 	movhi	zero,667
    8d8c:	0000a6f4 	movhi	zero,667
    8d90:	0000a6f4 	movhi	zero,667
    8d94:	0000a6f4 	movhi	zero,667
    8d98:	0000a6f4 	movhi	zero,667
    8d9c:	0000a6f4 	movhi	zero,667
    8da0:	0000a6f4 	movhi	zero,667
    8da4:	0000a6f4 	movhi	zero,667
    8da8:	0000a6f4 	movhi	zero,667
    8dac:	0000a6f4 	movhi	zero,667
    8db0:	0000a6f4 	movhi	zero,667
    8db4:	0000a6f4 	movhi	zero,667
    8db8:	0000a6f4 	movhi	zero,667
    8dbc:	0000a6f4 	movhi	zero,667
    8dc0:	0000a6f4 	movhi	zero,667
    8dc4:	0000a6f4 	movhi	zero,667
    8dc8:	0000a6f4 	movhi	zero,667
    8dcc:	0000a6f4 	movhi	zero,667
    8dd0:	0000a6f4 	movhi	zero,667
    8dd4:	0000a6f4 	movhi	zero,667
    8dd8:	0000a6f4 	movhi	zero,667
    8ddc:	0000a6f4 	movhi	zero,667
    8de0:	0000a6f4 	movhi	zero,667
    8de4:	0000a6f4 	movhi	zero,667
    8de8:	0000a6f4 	movhi	zero,667
    8dec:	0000a6f4 	movhi	zero,667
    8df0:	0000a6f4 	movhi	zero,667
    8df4:	0000a6f4 	movhi	zero,667
    8df8:	00009cf0 	cmpltui	zero,zero,627
    8dfc:	00009f00 	call	9f0 <__alt_mem_oc_mem-0x7610>
    8e00:	d0a00017 	ldw	r2,-32768(gp)
    8e04:	00c001c4 	movi	r3,7
    8e08:	10c00205 	stb	r3,8(r2)
    8e0c:	d0a00017 	ldw	r2,-32768(gp)
    8e10:	00c003c4 	movi	r3,15
    8e14:	10c00245 	stb	r3,9(r2)
    8e18:	d0a00017 	ldw	r2,-32768(gp)
    8e1c:	00c00044 	movi	r3,1
    8e20:	10c00285 	stb	r3,10(r2)
    8e24:	d0a00017 	ldw	r2,-32768(gp)
    8e28:	00c000c4 	movi	r3,3
    8e2c:	10c002c5 	stb	r3,11(r2)
    8e30:	d0a00017 	ldw	r2,-32768(gp)
    8e34:	10000305 	stb	zero,12(r2)
    8e38:	d0a00017 	ldw	r2,-32768(gp)
    8e3c:	00c00044 	movi	r3,1
    8e40:	10c00045 	stb	r3,1(r2)
    8e44:	00062f06 	br	a704 <main+0x1d28>
    8e48:	d0a00117 	ldw	r2,-32764(gp)
    8e4c:	10800203 	ldbu	r2,8(r2)
    8e50:	10803fcc 	andi	r2,r2,255
    8e54:	10c00060 	cmpeqi	r3,r2,1
    8e58:	1800081e 	bne	r3,zero,8e7c <main+0x4a0>
    8e5c:	10c000a0 	cmpeqi	r3,r2,2
    8e60:	18000b1e 	bne	r3,zero,8e90 <main+0x4b4>
    8e64:	10001d1e 	bne	r2,zero,8edc <main+0x500>
    8e68:	00c001c4 	movi	r3,7
    8e6c:	00800074 	movhi	r2,1
    8e70:	10841804 	addi	r2,r2,4192
    8e74:	10c00035 	stwio	r3,0(r2)
    8e78:	00001c06 	br	8eec <main+0x510>
    8e7c:	00c00184 	movi	r3,6
    8e80:	00800074 	movhi	r2,1
    8e84:	10841804 	addi	r2,r2,4192
    8e88:	10c00035 	stwio	r3,0(r2)
    8e8c:	00001706 	br	8eec <main+0x510>
    8e90:	00c00184 	movi	r3,6
    8e94:	00800074 	movhi	r2,1
    8e98:	10841804 	addi	r2,r2,4192
    8e9c:	10c00035 	stwio	r3,0(r2)
    8ea0:	0001883a 	nop
    8ea4:	0001883a 	nop
    8ea8:	0001883a 	nop
    8eac:	0001883a 	nop
    8eb0:	0001883a 	nop
    8eb4:	0001883a 	nop
    8eb8:	0001883a 	nop
    8ebc:	0001883a 	nop
    8ec0:	0001883a 	nop
    8ec4:	0001883a 	nop
    8ec8:	00c001c4 	movi	r3,7
    8ecc:	00800074 	movhi	r2,1
    8ed0:	10841804 	addi	r2,r2,4192
    8ed4:	10c00035 	stwio	r3,0(r2)
    8ed8:	00000406 	br	8eec <main+0x510>
    8edc:	d0a1c843 	ldbu	r2,-30943(gp)
    8ee0:	10800044 	addi	r2,r2,1
    8ee4:	d0a1c845 	stb	r2,-30943(gp)
    8ee8:	0001883a 	nop
    8eec:	d0a00017 	ldw	r2,-32768(gp)
    8ef0:	00c00044 	movi	r3,1
    8ef4:	10c00045 	stb	r3,1(r2)
    8ef8:	00060206 	br	a704 <main+0x1d28>
    8efc:	01000104 	movi	r4,4
    8f00:	00084e00 	call	84e0 <Check_many_blocks>
    8f04:	10803fcc 	andi	r2,r2,255
    8f08:	10000126 	beq	r2,zero,8f10 <main+0x534>
    8f0c:	0005fd06 	br	a704 <main+0x1d28>
    8f10:	d021c205 	stb	zero,-30968(gp)
    8f14:	00002806 	br	8fb8 <main+0x5dc>
    8f18:	d0e00117 	ldw	r3,-32764(gp)
    8f1c:	d0a1c203 	ldbu	r2,-30968(gp)
    8f20:	10803fcc 	andi	r2,r2,255
    8f24:	1085883a 	add	r2,r2,r2
    8f28:	1085883a 	add	r2,r2,r2
    8f2c:	100b883a 	mov	r5,r2
    8f30:	d1200117 	ldw	r4,-32764(gp)
    8f34:	d0a1c203 	ldbu	r2,-30968(gp)
    8f38:	10803fcc 	andi	r2,r2,255
    8f3c:	1085883a 	add	r2,r2,r2
    8f40:	1085883a 	add	r2,r2,r2
    8f44:	2085883a 	add	r2,r4,r2
    8f48:	10800204 	addi	r2,r2,8
    8f4c:	11000003 	ldbu	r4,0(r2)
    8f50:	00bfe004 	movi	r2,-128
    8f54:	2084b03a 	or	r2,r4,r2
    8f58:	1009883a 	mov	r4,r2
    8f5c:	1945883a 	add	r2,r3,r5
    8f60:	10800204 	addi	r2,r2,8
    8f64:	11000005 	stb	r4,0(r2)
    8f68:	d0e00117 	ldw	r3,-32764(gp)
    8f6c:	d0a1c203 	ldbu	r2,-30968(gp)
    8f70:	10803fcc 	andi	r2,r2,255
    8f74:	1085883a 	add	r2,r2,r2
    8f78:	1085883a 	add	r2,r2,r2
    8f7c:	10800204 	addi	r2,r2,8
    8f80:	1885883a 	add	r2,r3,r2
    8f84:	d8000015 	stw	zero,0(sp)
    8f88:	d8000115 	stw	zero,4(sp)
    8f8c:	d8000215 	stw	zero,8(sp)
    8f90:	01000074 	movhi	r4,1
    8f94:	21041004 	addi	r4,r4,4160
    8f98:	000b883a 	mov	r5,zero
    8f9c:	01800104 	movi	r6,4
    8fa0:	100f883a 	mov	r7,r2
    8fa4:	000b2300 	call	b230 <alt_avalon_spi_command>
    8fa8:	e0bffb15 	stw	r2,-20(fp)
    8fac:	d0a1c203 	ldbu	r2,-30968(gp)
    8fb0:	10800044 	addi	r2,r2,1
    8fb4:	d0a1c205 	stb	r2,-30968(gp)
    8fb8:	d0a00117 	ldw	r2,-32764(gp)
    8fbc:	10800083 	ldbu	r2,2(r2)
    8fc0:	d0e1c203 	ldbu	r3,-30968(gp)
    8fc4:	10803fcc 	andi	r2,r2,255
    8fc8:	18c03fcc 	andi	r3,r3,255
    8fcc:	18bfd236 	bltu	r3,r2,8f18 <_gp+0xffff3f84>
    8fd0:	d0a00017 	ldw	r2,-32768(gp)
    8fd4:	00c00044 	movi	r3,1
    8fd8:	10c00045 	stb	r3,1(r2)
    8fdc:	0005c906 	br	a704 <main+0x1d28>
    8fe0:	01000104 	movi	r4,4
    8fe4:	00084e00 	call	84e0 <Check_many_blocks>
    8fe8:	10803fcc 	andi	r2,r2,255
    8fec:	10000126 	beq	r2,zero,8ff4 <main+0x618>
    8ff0:	0005c406 	br	a704 <main+0x1d28>
    8ff4:	d021c205 	stb	zero,-30968(gp)
    8ff8:	00002c06 	br	90ac <main+0x6d0>
    8ffc:	d0e00117 	ldw	r3,-32764(gp)
    9000:	d0a1c203 	ldbu	r2,-30968(gp)
    9004:	10803fcc 	andi	r2,r2,255
    9008:	1085883a 	add	r2,r2,r2
    900c:	100b883a 	mov	r5,r2
    9010:	d1200117 	ldw	r4,-32764(gp)
    9014:	d0a1c203 	ldbu	r2,-30968(gp)
    9018:	10803fcc 	andi	r2,r2,255
    901c:	1085883a 	add	r2,r2,r2
    9020:	2085883a 	add	r2,r4,r2
    9024:	10800204 	addi	r2,r2,8
    9028:	10800003 	ldbu	r2,0(r2)
    902c:	10801fcc 	andi	r2,r2,127
    9030:	1009883a 	mov	r4,r2
    9034:	1945883a 	add	r2,r3,r5
    9038:	10800204 	addi	r2,r2,8
    903c:	11000005 	stb	r4,0(r2)
    9040:	d0e00117 	ldw	r3,-32764(gp)
    9044:	d0a1c203 	ldbu	r2,-30968(gp)
    9048:	10803fcc 	andi	r2,r2,255
    904c:	1085883a 	add	r2,r2,r2
    9050:	10800204 	addi	r2,r2,8
    9054:	188f883a 	add	r7,r3,r2
    9058:	d0e00017 	ldw	r3,-32768(gp)
    905c:	d0a1c203 	ldbu	r2,-30968(gp)
    9060:	10803fcc 	andi	r2,r2,255
    9064:	1085883a 	add	r2,r2,r2
    9068:	1085883a 	add	r2,r2,r2
    906c:	10800084 	addi	r2,r2,2
    9070:	10800204 	addi	r2,r2,8
    9074:	1885883a 	add	r2,r3,r2
    9078:	00c00084 	movi	r3,2
    907c:	d8c00015 	stw	r3,0(sp)
    9080:	d8800115 	stw	r2,4(sp)
    9084:	d8000215 	stw	zero,8(sp)
    9088:	01000074 	movhi	r4,1
    908c:	21041004 	addi	r4,r4,4160
    9090:	000b883a 	mov	r5,zero
    9094:	01800084 	movi	r6,2
    9098:	000b2300 	call	b230 <alt_avalon_spi_command>
    909c:	e0bffb15 	stw	r2,-20(fp)
    90a0:	d0a1c203 	ldbu	r2,-30968(gp)
    90a4:	10800044 	addi	r2,r2,1
    90a8:	d0a1c205 	stb	r2,-30968(gp)
    90ac:	d0a00117 	ldw	r2,-32764(gp)
    90b0:	10800083 	ldbu	r2,2(r2)
    90b4:	d0e1c203 	ldbu	r3,-30968(gp)
    90b8:	10803fcc 	andi	r2,r2,255
    90bc:	18c03fcc 	andi	r3,r3,255
    90c0:	18bfce36 	bltu	r3,r2,8ffc <_gp+0xffff4068>
    90c4:	d0a00017 	ldw	r2,-32768(gp)
    90c8:	00c00044 	movi	r3,1
    90cc:	10c00045 	stb	r3,1(r2)
    90d0:	00058c06 	br	a704 <main+0x1d28>
    90d4:	01000104 	movi	r4,4
    90d8:	00084e00 	call	84e0 <Check_many_blocks>
    90dc:	10803fcc 	andi	r2,r2,255
    90e0:	10000126 	beq	r2,zero,90e8 <main+0x70c>
    90e4:	00058706 	br	a704 <main+0x1d28>
    90e8:	d021c205 	stb	zero,-30968(gp)
    90ec:	00002806 	br	9190 <main+0x7b4>
    90f0:	d0e00117 	ldw	r3,-32764(gp)
    90f4:	d0a1c203 	ldbu	r2,-30968(gp)
    90f8:	10803fcc 	andi	r2,r2,255
    90fc:	1085883a 	add	r2,r2,r2
    9100:	1085883a 	add	r2,r2,r2
    9104:	100b883a 	mov	r5,r2
    9108:	d1200117 	ldw	r4,-32764(gp)
    910c:	d0a1c203 	ldbu	r2,-30968(gp)
    9110:	10803fcc 	andi	r2,r2,255
    9114:	1085883a 	add	r2,r2,r2
    9118:	1085883a 	add	r2,r2,r2
    911c:	2085883a 	add	r2,r4,r2
    9120:	10800204 	addi	r2,r2,8
    9124:	11000003 	ldbu	r4,0(r2)
    9128:	00bfe004 	movi	r2,-128
    912c:	2084b03a 	or	r2,r4,r2
    9130:	1009883a 	mov	r4,r2
    9134:	1945883a 	add	r2,r3,r5
    9138:	10800204 	addi	r2,r2,8
    913c:	11000005 	stb	r4,0(r2)
    9140:	d0e00117 	ldw	r3,-32764(gp)
    9144:	d0a1c203 	ldbu	r2,-30968(gp)
    9148:	10803fcc 	andi	r2,r2,255
    914c:	1085883a 	add	r2,r2,r2
    9150:	1085883a 	add	r2,r2,r2
    9154:	10800204 	addi	r2,r2,8
    9158:	1885883a 	add	r2,r3,r2
    915c:	d8000015 	stw	zero,0(sp)
    9160:	d8000115 	stw	zero,4(sp)
    9164:	d8000215 	stw	zero,8(sp)
    9168:	01000074 	movhi	r4,1
    916c:	21041004 	addi	r4,r4,4160
    9170:	01400044 	movi	r5,1
    9174:	01800104 	movi	r6,4
    9178:	100f883a 	mov	r7,r2
    917c:	000b2300 	call	b230 <alt_avalon_spi_command>
    9180:	e0bffb15 	stw	r2,-20(fp)
    9184:	d0a1c203 	ldbu	r2,-30968(gp)
    9188:	10800044 	addi	r2,r2,1
    918c:	d0a1c205 	stb	r2,-30968(gp)
    9190:	d0a00117 	ldw	r2,-32764(gp)
    9194:	10800083 	ldbu	r2,2(r2)
    9198:	d0e1c203 	ldbu	r3,-30968(gp)
    919c:	10803fcc 	andi	r2,r2,255
    91a0:	18c03fcc 	andi	r3,r3,255
    91a4:	18bfd236 	bltu	r3,r2,90f0 <_gp+0xffff415c>
    91a8:	d0a00017 	ldw	r2,-32768(gp)
    91ac:	00c00044 	movi	r3,1
    91b0:	10c00045 	stb	r3,1(r2)
    91b4:	00055306 	br	a704 <main+0x1d28>
    91b8:	01000104 	movi	r4,4
    91bc:	00084e00 	call	84e0 <Check_many_blocks>
    91c0:	10803fcc 	andi	r2,r2,255
    91c4:	10000126 	beq	r2,zero,91cc <main+0x7f0>
    91c8:	00054e06 	br	a704 <main+0x1d28>
    91cc:	d021c205 	stb	zero,-30968(gp)
    91d0:	00002c06 	br	9284 <main+0x8a8>
    91d4:	d0e00117 	ldw	r3,-32764(gp)
    91d8:	d0a1c203 	ldbu	r2,-30968(gp)
    91dc:	10803fcc 	andi	r2,r2,255
    91e0:	1085883a 	add	r2,r2,r2
    91e4:	100b883a 	mov	r5,r2
    91e8:	d1200117 	ldw	r4,-32764(gp)
    91ec:	d0a1c203 	ldbu	r2,-30968(gp)
    91f0:	10803fcc 	andi	r2,r2,255
    91f4:	1085883a 	add	r2,r2,r2
    91f8:	2085883a 	add	r2,r4,r2
    91fc:	10800204 	addi	r2,r2,8
    9200:	10800003 	ldbu	r2,0(r2)
    9204:	10801fcc 	andi	r2,r2,127
    9208:	1009883a 	mov	r4,r2
    920c:	1945883a 	add	r2,r3,r5
    9210:	10800204 	addi	r2,r2,8
    9214:	11000005 	stb	r4,0(r2)
    9218:	d0e00117 	ldw	r3,-32764(gp)
    921c:	d0a1c203 	ldbu	r2,-30968(gp)
    9220:	10803fcc 	andi	r2,r2,255
    9224:	1085883a 	add	r2,r2,r2
    9228:	10800204 	addi	r2,r2,8
    922c:	188f883a 	add	r7,r3,r2
    9230:	d0e00017 	ldw	r3,-32768(gp)
    9234:	d0a1c203 	ldbu	r2,-30968(gp)
    9238:	10803fcc 	andi	r2,r2,255
    923c:	1085883a 	add	r2,r2,r2
    9240:	1085883a 	add	r2,r2,r2
    9244:	10800084 	addi	r2,r2,2
    9248:	10800204 	addi	r2,r2,8
    924c:	1885883a 	add	r2,r3,r2
    9250:	00c00084 	movi	r3,2
    9254:	d8c00015 	stw	r3,0(sp)
    9258:	d8800115 	stw	r2,4(sp)
    925c:	d8000215 	stw	zero,8(sp)
    9260:	01000074 	movhi	r4,1
    9264:	21041004 	addi	r4,r4,4160
    9268:	01400044 	movi	r5,1
    926c:	01800084 	movi	r6,2
    9270:	000b2300 	call	b230 <alt_avalon_spi_command>
    9274:	e0bffb15 	stw	r2,-20(fp)
    9278:	d0a1c203 	ldbu	r2,-30968(gp)
    927c:	10800044 	addi	r2,r2,1
    9280:	d0a1c205 	stb	r2,-30968(gp)
    9284:	d0a00117 	ldw	r2,-32764(gp)
    9288:	10800083 	ldbu	r2,2(r2)
    928c:	d0e1c203 	ldbu	r3,-30968(gp)
    9290:	10803fcc 	andi	r2,r2,255
    9294:	18c03fcc 	andi	r3,r3,255
    9298:	18bfce36 	bltu	r3,r2,91d4 <_gp+0xffff4240>
    929c:	d0a00017 	ldw	r2,-32768(gp)
    92a0:	00c00044 	movi	r3,1
    92a4:	10c00045 	stb	r3,1(r2)
    92a8:	00051606 	br	a704 <main+0x1d28>
    92ac:	010000c4 	movi	r4,3
    92b0:	00084e00 	call	84e0 <Check_many_blocks>
    92b4:	10803fcc 	andi	r2,r2,255
    92b8:	10000126 	beq	r2,zero,92c0 <main+0x8e4>
    92bc:	00051106 	br	a704 <main+0x1d28>
    92c0:	0009883a 	mov	r4,zero
    92c4:	000b883a 	mov	r5,zero
    92c8:	000871c0 	call	871c <Control_TCXO_DAC>
    92cc:	d021c205 	stb	zero,-30968(gp)
    92d0:	00000e06 	br	930c <main+0x930>
    92d4:	d1200117 	ldw	r4,-32764(gp)
    92d8:	d0a1c203 	ldbu	r2,-30968(gp)
    92dc:	10c03fcc 	andi	r3,r2,255
    92e0:	1805883a 	mov	r2,r3
    92e4:	1085883a 	add	r2,r2,r2
    92e8:	10c5883a 	add	r2,r2,r3
    92ec:	10800204 	addi	r2,r2,8
    92f0:	2085883a 	add	r2,r4,r2
    92f4:	01000044 	movi	r4,1
    92f8:	100b883a 	mov	r5,r2
    92fc:	00087e00 	call	87e0 <Control_TCXO_ADF>
    9300:	d0a1c203 	ldbu	r2,-30968(gp)
    9304:	10800044 	addi	r2,r2,1
    9308:	d0a1c205 	stb	r2,-30968(gp)
    930c:	d0a00117 	ldw	r2,-32764(gp)
    9310:	10800083 	ldbu	r2,2(r2)
    9314:	d0e1c203 	ldbu	r3,-30968(gp)
    9318:	10803fcc 	andi	r2,r2,255
    931c:	18c03fcc 	andi	r3,r3,255
    9320:	18bfec36 	bltu	r3,r2,92d4 <_gp+0xffff4340>
    9324:	d0a1c843 	ldbu	r2,-30943(gp)
    9328:	10803fcc 	andi	r2,r2,255
    932c:	10000426 	beq	r2,zero,9340 <main+0x964>
    9330:	d0a00017 	ldw	r2,-32768(gp)
    9334:	00c00204 	movi	r3,8
    9338:	10c00045 	stb	r3,1(r2)
    933c:	0004f106 	br	a704 <main+0x1d28>
    9340:	d0a00017 	ldw	r2,-32768(gp)
    9344:	00c00044 	movi	r3,1
    9348:	10c00045 	stb	r3,1(r2)
    934c:	0004ed06 	br	a704 <main+0x1d28>
    9350:	d021c205 	stb	zero,-30968(gp)
    9354:	0000a106 	br	95dc <main+0xc00>
    9358:	d0e00117 	ldw	r3,-32764(gp)
    935c:	d0a1c203 	ldbu	r2,-30968(gp)
    9360:	10803fcc 	andi	r2,r2,255
    9364:	1885883a 	add	r2,r3,r2
    9368:	10800204 	addi	r2,r2,8
    936c:	10800003 	ldbu	r2,0(r2)
    9370:	10803fcc 	andi	r2,r2,255
    9374:	10000326 	beq	r2,zero,9384 <main+0x9a8>
    9378:	10800060 	cmpeqi	r2,r2,1
    937c:	10002d1e 	bne	r2,zero,9434 <main+0xa58>
    9380:	00008f06 	br	95c0 <main+0xbe4>
    9384:	d1200017 	ldw	r4,-32768(gp)
    9388:	d0a1c203 	ldbu	r2,-30968(gp)
    938c:	10803fcc 	andi	r2,r2,255
    9390:	1085883a 	add	r2,r2,r2
    9394:	1085883a 	add	r2,r2,r2
    9398:	100b883a 	mov	r5,r2
    939c:	d0e00117 	ldw	r3,-32764(gp)
    93a0:	d0a1c203 	ldbu	r2,-30968(gp)
    93a4:	10803fcc 	andi	r2,r2,255
    93a8:	1885883a 	add	r2,r3,r2
    93ac:	10800204 	addi	r2,r2,8
    93b0:	10c00003 	ldbu	r3,0(r2)
    93b4:	2145883a 	add	r2,r4,r5
    93b8:	10800204 	addi	r2,r2,8
    93bc:	10c00005 	stb	r3,0(r2)
    93c0:	d0e00017 	ldw	r3,-32768(gp)
    93c4:	d0a1c203 	ldbu	r2,-30968(gp)
    93c8:	10803fcc 	andi	r2,r2,255
    93cc:	1085883a 	add	r2,r2,r2
    93d0:	1085883a 	add	r2,r2,r2
    93d4:	10800044 	addi	r2,r2,1
    93d8:	1885883a 	add	r2,r3,r2
    93dc:	10800204 	addi	r2,r2,8
    93e0:	10000005 	stb	zero,0(r2)
    93e4:	d0e00017 	ldw	r3,-32768(gp)
    93e8:	d0a1c203 	ldbu	r2,-30968(gp)
    93ec:	10803fcc 	andi	r2,r2,255
    93f0:	1085883a 	add	r2,r2,r2
    93f4:	1085883a 	add	r2,r2,r2
    93f8:	10800084 	addi	r2,r2,2
    93fc:	1885883a 	add	r2,r3,r2
    9400:	10800204 	addi	r2,r2,8
    9404:	10000005 	stb	zero,0(r2)
    9408:	d1200017 	ldw	r4,-32768(gp)
    940c:	d0a1c203 	ldbu	r2,-30968(gp)
    9410:	10803fcc 	andi	r2,r2,255
    9414:	1085883a 	add	r2,r2,r2
    9418:	1085883a 	add	r2,r2,r2
    941c:	108000c4 	addi	r2,r2,3
    9420:	d0e00203 	ldbu	r3,-32760(gp)
    9424:	2085883a 	add	r2,r4,r2
    9428:	10800204 	addi	r2,r2,8
    942c:	10c00005 	stb	r3,0(r2)
    9430:	00006706 	br	95d0 <main+0xbf4>
    9434:	01000074 	movhi	r4,1
    9438:	21042804 	addi	r4,r4,4256
    943c:	01401204 	movi	r5,72
    9440:	000d883a 	mov	r6,zero
    9444:	000831c0 	call	831c <I2C_start>
    9448:	e0bffb15 	stw	r2,-20(fp)
    944c:	01000074 	movhi	r4,1
    9450:	21042804 	addi	r4,r4,4256
    9454:	000b883a 	mov	r5,zero
    9458:	01800044 	movi	r6,1
    945c:	00084340 	call	8434 <I2C_write>
    9460:	e0bffb15 	stw	r2,-20(fp)
    9464:	01000074 	movhi	r4,1
    9468:	21042804 	addi	r4,r4,4256
    946c:	01401204 	movi	r5,72
    9470:	01800044 	movi	r6,1
    9474:	000831c0 	call	831c <I2C_start>
    9478:	e0bffb15 	stw	r2,-20(fp)
    947c:	01000074 	movhi	r4,1
    9480:	21042804 	addi	r4,r4,4256
    9484:	000b883a 	mov	r5,zero
    9488:	00083b80 	call	83b8 <I2C_read>
    948c:	d0a0028d 	sth	r2,-32758(gp)
    9490:	d0a0028b 	ldhu	r2,-32758(gp)
    9494:	10bfffcc 	andi	r2,r2,65535
    9498:	10a0001c 	xori	r2,r2,32768
    949c:	10a00004 	addi	r2,r2,-32768
    94a0:	1004923a 	slli	r2,r2,8
    94a4:	d0a0028d 	sth	r2,-32758(gp)
    94a8:	d0a0028b 	ldhu	r2,-32758(gp)
    94ac:	10bfffcc 	andi	r2,r2,65535
    94b0:	10a0001c 	xori	r2,r2,32768
    94b4:	10a00004 	addi	r2,r2,-32768
    94b8:	1005d23a 	srai	r2,r2,8
    94bc:	1009883a 	mov	r4,r2
    94c0:	01400284 	movi	r5,10
    94c4:	000ad740 	call	ad74 <__mulsi3>
    94c8:	d0a0028d 	sth	r2,-32758(gp)
    94cc:	01000074 	movhi	r4,1
    94d0:	21042804 	addi	r4,r4,4256
    94d4:	01400044 	movi	r5,1
    94d8:	00083b80 	call	83b8 <I2C_read>
    94dc:	e0bffb15 	stw	r2,-20(fp)
    94e0:	e0bffb17 	ldw	r2,-20(fp)
    94e4:	1080200c 	andi	r2,r2,128
    94e8:	10000326 	beq	r2,zero,94f8 <main+0xb1c>
    94ec:	d0a0028b 	ldhu	r2,-32758(gp)
    94f0:	10800144 	addi	r2,r2,5
    94f4:	d0a0028d 	sth	r2,-32758(gp)
    94f8:	d1200017 	ldw	r4,-32768(gp)
    94fc:	d0a1c203 	ldbu	r2,-30968(gp)
    9500:	10803fcc 	andi	r2,r2,255
    9504:	1085883a 	add	r2,r2,r2
    9508:	1085883a 	add	r2,r2,r2
    950c:	100b883a 	mov	r5,r2
    9510:	d0e00117 	ldw	r3,-32764(gp)
    9514:	d0a1c203 	ldbu	r2,-30968(gp)
    9518:	10803fcc 	andi	r2,r2,255
    951c:	1885883a 	add	r2,r3,r2
    9520:	10800204 	addi	r2,r2,8
    9524:	10c00003 	ldbu	r3,0(r2)
    9528:	2145883a 	add	r2,r4,r5
    952c:	10800204 	addi	r2,r2,8
    9530:	10c00005 	stb	r3,0(r2)
    9534:	d0e00017 	ldw	r3,-32768(gp)
    9538:	d0a1c203 	ldbu	r2,-30968(gp)
    953c:	10803fcc 	andi	r2,r2,255
    9540:	1085883a 	add	r2,r2,r2
    9544:	1085883a 	add	r2,r2,r2
    9548:	10800044 	addi	r2,r2,1
    954c:	1885883a 	add	r2,r3,r2
    9550:	10800204 	addi	r2,r2,8
    9554:	00c01404 	movi	r3,80
    9558:	10c00005 	stb	r3,0(r2)
    955c:	d0e00017 	ldw	r3,-32768(gp)
    9560:	d0a1c203 	ldbu	r2,-30968(gp)
    9564:	10803fcc 	andi	r2,r2,255
    9568:	1085883a 	add	r2,r2,r2
    956c:	1085883a 	add	r2,r2,r2
    9570:	10800084 	addi	r2,r2,2
    9574:	d120028b 	ldhu	r4,-32758(gp)
    9578:	213fffcc 	andi	r4,r4,65535
    957c:	2120001c 	xori	r4,r4,32768
    9580:	21200004 	addi	r4,r4,-32768
    9584:	2009d23a 	srai	r4,r4,8
    9588:	1885883a 	add	r2,r3,r2
    958c:	10800204 	addi	r2,r2,8
    9590:	11000005 	stb	r4,0(r2)
    9594:	d0e00017 	ldw	r3,-32768(gp)
    9598:	d0a1c203 	ldbu	r2,-30968(gp)
    959c:	10803fcc 	andi	r2,r2,255
    95a0:	1085883a 	add	r2,r2,r2
    95a4:	1085883a 	add	r2,r2,r2
    95a8:	108000c4 	addi	r2,r2,3
    95ac:	d120028b 	ldhu	r4,-32758(gp)
    95b0:	1885883a 	add	r2,r3,r2
    95b4:	10800204 	addi	r2,r2,8
    95b8:	11000005 	stb	r4,0(r2)
    95bc:	00000406 	br	95d0 <main+0xbf4>
    95c0:	d0a1c843 	ldbu	r2,-30943(gp)
    95c4:	10800044 	addi	r2,r2,1
    95c8:	d0a1c845 	stb	r2,-30943(gp)
    95cc:	0001883a 	nop
    95d0:	d0a1c203 	ldbu	r2,-30968(gp)
    95d4:	10800044 	addi	r2,r2,1
    95d8:	d0a1c205 	stb	r2,-30968(gp)
    95dc:	d0a00117 	ldw	r2,-32764(gp)
    95e0:	10800083 	ldbu	r2,2(r2)
    95e4:	d0e1c203 	ldbu	r3,-30968(gp)
    95e8:	10803fcc 	andi	r2,r2,255
    95ec:	18c03fcc 	andi	r3,r3,255
    95f0:	18bf5936 	bltu	r3,r2,9358 <_gp+0xffff43c4>
    95f4:	d0a00017 	ldw	r2,-32768(gp)
    95f8:	00c00044 	movi	r3,1
    95fc:	10c00045 	stb	r3,1(r2)
    9600:	00044006 	br	a704 <main+0x1d28>
    9604:	01000104 	movi	r4,4
    9608:	00084e00 	call	84e0 <Check_many_blocks>
    960c:	10803fcc 	andi	r2,r2,255
    9610:	10000126 	beq	r2,zero,9618 <main+0xc3c>
    9614:	00043b06 	br	a704 <main+0x1d28>
    9618:	d021c205 	stb	zero,-30968(gp)
    961c:	00004006 	br	9720 <main+0xd44>
    9620:	d0e00117 	ldw	r3,-32764(gp)
    9624:	d0a1c203 	ldbu	r2,-30968(gp)
    9628:	10803fcc 	andi	r2,r2,255
    962c:	1085883a 	add	r2,r2,r2
    9630:	1085883a 	add	r2,r2,r2
    9634:	1885883a 	add	r2,r3,r2
    9638:	10800204 	addi	r2,r2,8
    963c:	10800003 	ldbu	r2,0(r2)
    9640:	10803fcc 	andi	r2,r2,255
    9644:	10002f1e 	bne	r2,zero,9704 <main+0xd28>
    9648:	d0e00117 	ldw	r3,-32764(gp)
    964c:	d0a1c203 	ldbu	r2,-30968(gp)
    9650:	10803fcc 	andi	r2,r2,255
    9654:	1085883a 	add	r2,r2,r2
    9658:	1085883a 	add	r2,r2,r2
    965c:	10800044 	addi	r2,r2,1
    9660:	1885883a 	add	r2,r3,r2
    9664:	10800204 	addi	r2,r2,8
    9668:	10800003 	ldbu	r2,0(r2)
    966c:	10803fcc 	andi	r2,r2,255
    9670:	1000201e 	bne	r2,zero,96f4 <main+0xd18>
    9674:	d0e00117 	ldw	r3,-32764(gp)
    9678:	d0a1c203 	ldbu	r2,-30968(gp)
    967c:	10803fcc 	andi	r2,r2,255
    9680:	1085883a 	add	r2,r2,r2
    9684:	1085883a 	add	r2,r2,r2
    9688:	10800084 	addi	r2,r2,2
    968c:	1885883a 	add	r2,r3,r2
    9690:	10800204 	addi	r2,r2,8
    9694:	10800003 	ldbu	r2,0(r2)
    9698:	10803fcc 	andi	r2,r2,255
    969c:	1000111e 	bne	r2,zero,96e4 <main+0xd08>
    96a0:	0009883a 	mov	r4,zero
    96a4:	000b883a 	mov	r5,zero
    96a8:	00087e00 	call	87e0 <Control_TCXO_ADF>
    96ac:	d0e00117 	ldw	r3,-32764(gp)
    96b0:	d0a1c203 	ldbu	r2,-30968(gp)
    96b4:	10803fcc 	andi	r2,r2,255
    96b8:	1085883a 	add	r2,r2,r2
    96bc:	1085883a 	add	r2,r2,r2
    96c0:	108000c4 	addi	r2,r2,3
    96c4:	1885883a 	add	r2,r3,r2
    96c8:	10800204 	addi	r2,r2,8
    96cc:	10800003 	ldbu	r2,0(r2)
    96d0:	d0a00205 	stb	r2,-32760(gp)
    96d4:	01000044 	movi	r4,1
    96d8:	d1600204 	addi	r5,gp,-32760
    96dc:	000871c0 	call	871c <Control_TCXO_DAC>
    96e0:	00000c06 	br	9714 <main+0xd38>
    96e4:	d0a1c843 	ldbu	r2,-30943(gp)
    96e8:	10800044 	addi	r2,r2,1
    96ec:	d0a1c845 	stb	r2,-30943(gp)
    96f0:	00000806 	br	9714 <main+0xd38>
    96f4:	d0a1c843 	ldbu	r2,-30943(gp)
    96f8:	10800044 	addi	r2,r2,1
    96fc:	d0a1c845 	stb	r2,-30943(gp)
    9700:	00000406 	br	9714 <main+0xd38>
    9704:	d0a1c843 	ldbu	r2,-30943(gp)
    9708:	10800044 	addi	r2,r2,1
    970c:	d0a1c845 	stb	r2,-30943(gp)
    9710:	0001883a 	nop
    9714:	d0a1c203 	ldbu	r2,-30968(gp)
    9718:	10800044 	addi	r2,r2,1
    971c:	d0a1c205 	stb	r2,-30968(gp)
    9720:	d0a00117 	ldw	r2,-32764(gp)
    9724:	10800083 	ldbu	r2,2(r2)
    9728:	d0e1c203 	ldbu	r3,-30968(gp)
    972c:	10803fcc 	andi	r2,r2,255
    9730:	18c03fcc 	andi	r3,r3,255
    9734:	18bfba36 	bltu	r3,r2,9620 <_gp+0xffff468c>
    9738:	d0a1c843 	ldbu	r2,-30943(gp)
    973c:	10803fcc 	andi	r2,r2,255
    9740:	10000426 	beq	r2,zero,9754 <main+0xd78>
    9744:	d0a00017 	ldw	r2,-32768(gp)
    9748:	00c00144 	movi	r3,5
    974c:	10c00045 	stb	r3,1(r2)
    9750:	0003ec06 	br	a704 <main+0x1d28>
    9754:	d0a00017 	ldw	r2,-32768(gp)
    9758:	00c00044 	movi	r3,1
    975c:	10c00045 	stb	r3,1(r2)
    9760:	0003e806 	br	a704 <main+0x1d28>
    9764:	d0a00117 	ldw	r2,-32764(gp)
    9768:	10800243 	ldbu	r2,9(r2)
    976c:	10803fcc 	andi	r2,r2,255
    9770:	1006963a 	slli	r3,r2,24
    9774:	d0a00117 	ldw	r2,-32764(gp)
    9778:	10800283 	ldbu	r2,10(r2)
    977c:	10803fcc 	andi	r2,r2,255
    9780:	1004943a 	slli	r2,r2,16
    9784:	1886b03a 	or	r3,r3,r2
    9788:	d0a00117 	ldw	r2,-32764(gp)
    978c:	108002c3 	ldbu	r2,11(r2)
    9790:	10803fcc 	andi	r2,r2,255
    9794:	1004923a 	slli	r2,r2,8
    9798:	1886b03a 	or	r3,r3,r2
    979c:	d0a00117 	ldw	r2,-32764(gp)
    97a0:	10800303 	ldbu	r2,12(r2)
    97a4:	10803fcc 	andi	r2,r2,255
    97a8:	1884b03a 	or	r2,r3,r2
    97ac:	d0a1c715 	stw	r2,-30948(gp)
    97b0:	d0a00117 	ldw	r2,-32764(gp)
    97b4:	10800343 	ldbu	r2,13(r2)
    97b8:	d0a1c245 	stb	r2,-30967(gp)
    97bc:	d0a00117 	ldw	r2,-32764(gp)
    97c0:	10800203 	ldbu	r2,8(r2)
    97c4:	10803fcc 	andi	r2,r2,255
    97c8:	10c00060 	cmpeqi	r3,r2,1
    97cc:	1800071e 	bne	r3,zero,97ec <main+0xe10>
    97d0:	10c000a0 	cmpeqi	r3,r2,2
    97d4:	18009e1e 	bne	r3,zero,9a50 <main+0x1074>
    97d8:	1000a11e 	bne	r2,zero,9a60 <main+0x1084>
    97dc:	d0a00017 	ldw	r2,-32768(gp)
    97e0:	00c00144 	movi	r3,5
    97e4:	10c00045 	stb	r3,1(r2)
    97e8:	0000a106 	br	9a70 <main+0x1094>
    97ec:	d0a1c717 	ldw	r2,-30948(gp)
    97f0:	1000041e 	bne	r2,zero,9804 <main+0xe28>
    97f4:	d021be15 	stw	zero,-30984(gp)
    97f8:	d021bf15 	stw	zero,-30980(gp)
    97fc:	d021c115 	stw	zero,-30972(gp)
    9800:	d021c915 	stw	zero,-30940(gp)
    9804:	d0a1bf17 	ldw	r2,-30980(gp)
    9808:	00c04004 	movi	r3,256
    980c:	1885c83a 	sub	r2,r3,r2
    9810:	d0a1c015 	stw	r2,-30976(gp)
    9814:	d0a1c017 	ldw	r2,-30976(gp)
    9818:	0080280e 	bge	zero,r2,98bc <main+0xee0>
    981c:	d0a1c243 	ldbu	r2,-30967(gp)
    9820:	10c03fcc 	andi	r3,r2,255
    9824:	d0a1c017 	ldw	r2,-30976(gp)
    9828:	1880040e 	bge	r3,r2,983c <main+0xe60>
    982c:	d0a1c243 	ldbu	r2,-30967(gp)
    9830:	10803fcc 	andi	r2,r2,255
    9834:	d0a1c115 	stw	r2,-30972(gp)
    9838:	00000206 	br	9844 <main+0xe68>
    983c:	d0a1c017 	ldw	r2,-30976(gp)
    9840:	d0a1c115 	stw	r2,-30972(gp)
    9844:	d0e1bf17 	ldw	r3,-30980(gp)
    9848:	00800074 	movhi	r2,1
    984c:	10b5c604 	addi	r2,r2,-10472
    9850:	1887883a 	add	r3,r3,r2
    9854:	d0a00117 	ldw	r2,-32764(gp)
    9858:	10800804 	addi	r2,r2,32
    985c:	d121c117 	ldw	r4,-30972(gp)
    9860:	200d883a 	mov	r6,r4
    9864:	1809883a 	mov	r4,r3
    9868:	100b883a 	mov	r5,r2
    986c:	000ad9c0 	call	ad9c <memcpy>
    9870:	d0e1bf17 	ldw	r3,-30980(gp)
    9874:	d0a1c117 	ldw	r2,-30972(gp)
    9878:	1885883a 	add	r2,r3,r2
    987c:	d0a1bf15 	stw	r2,-30980(gp)
    9880:	d0a1bf17 	ldw	r2,-30980(gp)
    9884:	00c04004 	movi	r3,256
    9888:	1885c83a 	sub	r2,r3,r2
    988c:	d0a1c015 	stw	r2,-30976(gp)
    9890:	d0a1c243 	ldbu	r2,-30967(gp)
    9894:	10803fcc 	andi	r2,r2,255
    9898:	1000041e 	bne	r2,zero,98ac <main+0xed0>
    989c:	d0a1bf17 	ldw	r2,-30980(gp)
    98a0:	0080020e 	bge	zero,r2,98ac <main+0xed0>
    98a4:	00804004 	movi	r2,256
    98a8:	d0a1bf15 	stw	r2,-30980(gp)
    98ac:	d0a1bf17 	ldw	r2,-30980(gp)
    98b0:	00c04004 	movi	r3,256
    98b4:	1885c83a 	sub	r2,r3,r2
    98b8:	d0a1c015 	stw	r2,-30976(gp)
    98bc:	d0a1bf17 	ldw	r2,-30980(gp)
    98c0:	10804010 	cmplti	r2,r2,256
    98c4:	10002c1e 	bne	r2,zero,9978 <main+0xf9c>
    98c8:	e03ff945 	stb	zero,-27(fp)
    98cc:	d0a1be17 	ldw	r2,-30984(gp)
    98d0:	10803fcc 	andi	r2,r2,255
    98d4:	10000c1e 	bne	r2,zero,9908 <main+0xf2c>
    98d8:	d0a1be17 	ldw	r2,-30984(gp)
    98dc:	1000010e 	bge	r2,zero,98e4 <main+0xf08>
    98e0:	10803fc4 	addi	r2,r2,255
    98e4:	1005d23a 	srai	r2,r2,8
    98e8:	10803fcc 	andi	r2,r2,255
    98ec:	01000074 	movhi	r4,1
    98f0:	21040004 	addi	r4,r4,4096
    98f4:	000b883a 	mov	r5,zero
    98f8:	01800044 	movi	r6,1
    98fc:	100f883a 	mov	r7,r2
    9900:	000aad80 	call	aad8 <FlashSpiEraseSector>
    9904:	e0bff945 	stb	r2,-27(fp)
    9908:	d0a1be17 	ldw	r2,-30984(gp)
    990c:	1007883a 	mov	r3,r2
    9910:	00800074 	movhi	r2,1
    9914:	10b5c604 	addi	r2,r2,-10472
    9918:	d8800015 	stw	r2,0(sp)
    991c:	d8000115 	stw	zero,4(sp)
    9920:	01000074 	movhi	r4,1
    9924:	21040004 	addi	r4,r4,4096
    9928:	000b883a 	mov	r5,zero
    992c:	180d883a 	mov	r6,r3
    9930:	01c04004 	movi	r7,256
    9934:	000a81c0 	call	a81c <FlashSpiTransfer>
    9938:	1007883a 	mov	r3,r2
    993c:	e0bff943 	ldbu	r2,-27(fp)
    9940:	1885883a 	add	r2,r3,r2
    9944:	e0bff945 	stb	r2,-27(fp)
    9948:	e0bff943 	ldbu	r2,-27(fp)
    994c:	10000426 	beq	r2,zero,9960 <main+0xf84>
    9950:	d0a00017 	ldw	r2,-32768(gp)
    9954:	00c00144 	movi	r3,5
    9958:	10c00045 	stb	r3,1(r2)
    995c:	00004406 	br	9a70 <main+0x1094>
    9960:	d0a1be17 	ldw	r2,-30984(gp)
    9964:	10800044 	addi	r2,r2,1
    9968:	d0a1be15 	stw	r2,-30984(gp)
    996c:	d021bf15 	stw	zero,-30980(gp)
    9970:	00804004 	movi	r2,256
    9974:	d0a1c015 	stw	r2,-30976(gp)
    9978:	d0a1c243 	ldbu	r2,-30967(gp)
    997c:	10803fcc 	andi	r2,r2,255
    9980:	d0e1c117 	ldw	r3,-30972(gp)
    9984:	1880180e 	bge	r3,r2,99e8 <main+0x100c>
    9988:	d0a1c243 	ldbu	r2,-30967(gp)
    998c:	10c03fcc 	andi	r3,r2,255
    9990:	d0a1c117 	ldw	r2,-30972(gp)
    9994:	1885c83a 	sub	r2,r3,r2
    9998:	d0a1c115 	stw	r2,-30972(gp)
    999c:	d0e1bf17 	ldw	r3,-30980(gp)
    99a0:	00800074 	movhi	r2,1
    99a4:	10b5c604 	addi	r2,r2,-10472
    99a8:	1889883a 	add	r4,r3,r2
    99ac:	d0a00117 	ldw	r2,-32764(gp)
    99b0:	10c00804 	addi	r3,r2,32
    99b4:	d0a1c243 	ldbu	r2,-30967(gp)
    99b8:	10803fcc 	andi	r2,r2,255
    99bc:	180b883a 	mov	r5,r3
    99c0:	100d883a 	mov	r6,r2
    99c4:	000ad9c0 	call	ad9c <memcpy>
    99c8:	d0e1bf17 	ldw	r3,-30980(gp)
    99cc:	d0a1c117 	ldw	r2,-30972(gp)
    99d0:	1885883a 	add	r2,r3,r2
    99d4:	d0a1bf15 	stw	r2,-30980(gp)
    99d8:	d0a1bf17 	ldw	r2,-30980(gp)
    99dc:	00c04004 	movi	r3,256
    99e0:	1885c83a 	sub	r2,r3,r2
    99e4:	d0a1c015 	stw	r2,-30976(gp)
    99e8:	d0a1c243 	ldbu	r2,-30967(gp)
    99ec:	10c03fcc 	andi	r3,r2,255
    99f0:	d0a1c917 	ldw	r2,-30940(gp)
    99f4:	1885883a 	add	r2,r3,r2
    99f8:	d0a1c915 	stw	r2,-30940(gp)
    99fc:	d0e1c917 	ldw	r3,-30940(gp)
    9a00:	00800ab4 	movhi	r2,42
    9a04:	10bee044 	addi	r2,r2,-1151
    9a08:	10c00d36 	bltu	r2,r3,9a40 <main+0x1064>
    9a0c:	d0a1c243 	ldbu	r2,-30967(gp)
    9a10:	10803fcc 	andi	r2,r2,255
    9a14:	1000061e 	bne	r2,zero,9a30 <main+0x1054>
    9a18:	d0a00317 	ldw	r2,-32756(gp)
    9a1c:	d0e1c917 	ldw	r3,-30940(gp)
    9a20:	10c00015 	stw	r3,0(r2)
    9a24:	d0a00317 	ldw	r2,-32756(gp)
    9a28:	00c00044 	movi	r3,1
    9a2c:	10c00105 	stb	r3,4(r2)
    9a30:	d0a00017 	ldw	r2,-32768(gp)
    9a34:	00c00044 	movi	r3,1
    9a38:	10c00045 	stb	r3,1(r2)
    9a3c:	00000c06 	br	9a70 <main+0x1094>
    9a40:	d0a00017 	ldw	r2,-32768(gp)
    9a44:	00c00144 	movi	r3,5
    9a48:	10c00045 	stb	r3,1(r2)
    9a4c:	00000806 	br	9a70 <main+0x1094>
    9a50:	d0a00017 	ldw	r2,-32768(gp)
    9a54:	00c00144 	movi	r3,5
    9a58:	10c00045 	stb	r3,1(r2)
    9a5c:	00000406 	br	9a70 <main+0x1094>
    9a60:	d0a00017 	ldw	r2,-32768(gp)
    9a64:	00c00044 	movi	r3,1
    9a68:	10c00045 	stb	r3,1(r2)
    9a6c:	0001883a 	nop
    9a70:	00032406 	br	a704 <main+0x1d28>
    9a74:	01000084 	movi	r4,2
    9a78:	00084e00 	call	84e0 <Check_many_blocks>
    9a7c:	10803fcc 	andi	r2,r2,255
    9a80:	10000126 	beq	r2,zero,9a88 <main+0x10ac>
    9a84:	00031f06 	br	a704 <main+0x1d28>
    9a88:	d021c205 	stb	zero,-30968(gp)
    9a8c:	00002f06 	br	9b4c <main+0x1170>
    9a90:	01000074 	movhi	r4,1
    9a94:	21042804 	addi	r4,r4,4256
    9a98:	01401804 	movi	r5,96
    9a9c:	000d883a 	mov	r6,zero
    9aa0:	000831c0 	call	831c <I2C_start>
    9aa4:	1007883a 	mov	r3,r2
    9aa8:	d0a1c843 	ldbu	r2,-30943(gp)
    9aac:	1885883a 	add	r2,r3,r2
    9ab0:	d0a1c845 	stb	r2,-30943(gp)
    9ab4:	d0e00117 	ldw	r3,-32764(gp)
    9ab8:	d0a1c203 	ldbu	r2,-30968(gp)
    9abc:	10803fcc 	andi	r2,r2,255
    9ac0:	1085883a 	add	r2,r2,r2
    9ac4:	1885883a 	add	r2,r3,r2
    9ac8:	10800204 	addi	r2,r2,8
    9acc:	10800003 	ldbu	r2,0(r2)
    9ad0:	10803fcc 	andi	r2,r2,255
    9ad4:	01000074 	movhi	r4,1
    9ad8:	21042804 	addi	r4,r4,4256
    9adc:	100b883a 	mov	r5,r2
    9ae0:	000d883a 	mov	r6,zero
    9ae4:	00084340 	call	8434 <I2C_write>
    9ae8:	1007883a 	mov	r3,r2
    9aec:	d0a1c843 	ldbu	r2,-30943(gp)
    9af0:	1885883a 	add	r2,r3,r2
    9af4:	d0a1c845 	stb	r2,-30943(gp)
    9af8:	d0e00117 	ldw	r3,-32764(gp)
    9afc:	d0a1c203 	ldbu	r2,-30968(gp)
    9b00:	10803fcc 	andi	r2,r2,255
    9b04:	1085883a 	add	r2,r2,r2
    9b08:	10800044 	addi	r2,r2,1
    9b0c:	1885883a 	add	r2,r3,r2
    9b10:	10800204 	addi	r2,r2,8
    9b14:	10800003 	ldbu	r2,0(r2)
    9b18:	10803fcc 	andi	r2,r2,255
    9b1c:	01000074 	movhi	r4,1
    9b20:	21042804 	addi	r4,r4,4256
    9b24:	100b883a 	mov	r5,r2
    9b28:	01800044 	movi	r6,1
    9b2c:	00084340 	call	8434 <I2C_write>
    9b30:	1007883a 	mov	r3,r2
    9b34:	d0a1c843 	ldbu	r2,-30943(gp)
    9b38:	1885883a 	add	r2,r3,r2
    9b3c:	d0a1c845 	stb	r2,-30943(gp)
    9b40:	d0a1c203 	ldbu	r2,-30968(gp)
    9b44:	10800044 	addi	r2,r2,1
    9b48:	d0a1c205 	stb	r2,-30968(gp)
    9b4c:	d0a00117 	ldw	r2,-32764(gp)
    9b50:	10800083 	ldbu	r2,2(r2)
    9b54:	d0e1c203 	ldbu	r3,-30968(gp)
    9b58:	10803fcc 	andi	r2,r2,255
    9b5c:	18c03fcc 	andi	r3,r3,255
    9b60:	18bfcb36 	bltu	r3,r2,9a90 <_gp+0xffff4afc>
    9b64:	d0a1c843 	ldbu	r2,-30943(gp)
    9b68:	10803fcc 	andi	r2,r2,255
    9b6c:	10000426 	beq	r2,zero,9b80 <main+0x11a4>
    9b70:	d0a00017 	ldw	r2,-32768(gp)
    9b74:	00c00144 	movi	r3,5
    9b78:	10c00045 	stb	r3,1(r2)
    9b7c:	0002e106 	br	a704 <main+0x1d28>
    9b80:	d0a00017 	ldw	r2,-32768(gp)
    9b84:	00c00044 	movi	r3,1
    9b88:	10c00045 	stb	r3,1(r2)
    9b8c:	0002dd06 	br	a704 <main+0x1d28>
    9b90:	01000084 	movi	r4,2
    9b94:	00084e00 	call	84e0 <Check_many_blocks>
    9b98:	10803fcc 	andi	r2,r2,255
    9b9c:	10000126 	beq	r2,zero,9ba4 <main+0x11c8>
    9ba0:	0002d806 	br	a704 <main+0x1d28>
    9ba4:	d021c205 	stb	zero,-30968(gp)
    9ba8:	00004006 	br	9cac <main+0x12d0>
    9bac:	01000074 	movhi	r4,1
    9bb0:	21042804 	addi	r4,r4,4256
    9bb4:	01401804 	movi	r5,96
    9bb8:	000d883a 	mov	r6,zero
    9bbc:	000831c0 	call	831c <I2C_start>
    9bc0:	1007883a 	mov	r3,r2
    9bc4:	d0a1c843 	ldbu	r2,-30943(gp)
    9bc8:	1885883a 	add	r2,r3,r2
    9bcc:	d0a1c845 	stb	r2,-30943(gp)
    9bd0:	d0e00117 	ldw	r3,-32764(gp)
    9bd4:	d0a1c203 	ldbu	r2,-30968(gp)
    9bd8:	10803fcc 	andi	r2,r2,255
    9bdc:	1885883a 	add	r2,r3,r2
    9be0:	10800204 	addi	r2,r2,8
    9be4:	10800003 	ldbu	r2,0(r2)
    9be8:	10803fcc 	andi	r2,r2,255
    9bec:	01000074 	movhi	r4,1
    9bf0:	21042804 	addi	r4,r4,4256
    9bf4:	100b883a 	mov	r5,r2
    9bf8:	01800044 	movi	r6,1
    9bfc:	00084340 	call	8434 <I2C_write>
    9c00:	1007883a 	mov	r3,r2
    9c04:	d0a1c843 	ldbu	r2,-30943(gp)
    9c08:	1885883a 	add	r2,r3,r2
    9c0c:	d0a1c845 	stb	r2,-30943(gp)
    9c10:	01000074 	movhi	r4,1
    9c14:	21042804 	addi	r4,r4,4256
    9c18:	01401804 	movi	r5,96
    9c1c:	01800044 	movi	r6,1
    9c20:	000831c0 	call	831c <I2C_start>
    9c24:	1007883a 	mov	r3,r2
    9c28:	d0a1c843 	ldbu	r2,-30943(gp)
    9c2c:	1885883a 	add	r2,r3,r2
    9c30:	d0a1c845 	stb	r2,-30943(gp)
    9c34:	d1200017 	ldw	r4,-32768(gp)
    9c38:	d0a1c203 	ldbu	r2,-30968(gp)
    9c3c:	10803fcc 	andi	r2,r2,255
    9c40:	1085883a 	add	r2,r2,r2
    9c44:	100b883a 	mov	r5,r2
    9c48:	d0e00117 	ldw	r3,-32764(gp)
    9c4c:	d0a1c203 	ldbu	r2,-30968(gp)
    9c50:	10803fcc 	andi	r2,r2,255
    9c54:	1885883a 	add	r2,r3,r2
    9c58:	10800204 	addi	r2,r2,8
    9c5c:	10c00003 	ldbu	r3,0(r2)
    9c60:	2145883a 	add	r2,r4,r5
    9c64:	10800204 	addi	r2,r2,8
    9c68:	10c00005 	stb	r3,0(r2)
    9c6c:	d4600017 	ldw	r17,-32768(gp)
    9c70:	d0a1c203 	ldbu	r2,-30968(gp)
    9c74:	10803fcc 	andi	r2,r2,255
    9c78:	1085883a 	add	r2,r2,r2
    9c7c:	14000044 	addi	r16,r2,1
    9c80:	01000074 	movhi	r4,1
    9c84:	21042804 	addi	r4,r4,4256
    9c88:	01400044 	movi	r5,1
    9c8c:	00083b80 	call	83b8 <I2C_read>
    9c90:	1007883a 	mov	r3,r2
    9c94:	8c05883a 	add	r2,r17,r16
    9c98:	10800204 	addi	r2,r2,8
    9c9c:	10c00005 	stb	r3,0(r2)
    9ca0:	d0a1c203 	ldbu	r2,-30968(gp)
    9ca4:	10800044 	addi	r2,r2,1
    9ca8:	d0a1c205 	stb	r2,-30968(gp)
    9cac:	d0a00117 	ldw	r2,-32764(gp)
    9cb0:	10800083 	ldbu	r2,2(r2)
    9cb4:	d0e1c203 	ldbu	r3,-30968(gp)
    9cb8:	10803fcc 	andi	r2,r2,255
    9cbc:	18c03fcc 	andi	r3,r3,255
    9cc0:	18bfba36 	bltu	r3,r2,9bac <_gp+0xffff4c18>
    9cc4:	d0a1c843 	ldbu	r2,-30943(gp)
    9cc8:	10803fcc 	andi	r2,r2,255
    9ccc:	10000426 	beq	r2,zero,9ce0 <main+0x1304>
    9cd0:	d0a00017 	ldw	r2,-32768(gp)
    9cd4:	00c00144 	movi	r3,5
    9cd8:	10c00045 	stb	r3,1(r2)
    9cdc:	00028906 	br	a704 <main+0x1d28>
    9ce0:	d0a00017 	ldw	r2,-32768(gp)
    9ce4:	00c00044 	movi	r3,1
    9ce8:	10c00045 	stb	r3,1(r2)
    9cec:	00028506 	br	a704 <main+0x1d28>
    9cf0:	d0a00117 	ldw	r2,-32764(gp)
    9cf4:	10800243 	ldbu	r2,9(r2)
    9cf8:	10803fcc 	andi	r2,r2,255
    9cfc:	1006963a 	slli	r3,r2,24
    9d00:	d0a00117 	ldw	r2,-32764(gp)
    9d04:	10800283 	ldbu	r2,10(r2)
    9d08:	10803fcc 	andi	r2,r2,255
    9d0c:	1004943a 	slli	r2,r2,16
    9d10:	1886b03a 	or	r3,r3,r2
    9d14:	d0a00117 	ldw	r2,-32764(gp)
    9d18:	108002c3 	ldbu	r2,11(r2)
    9d1c:	10803fcc 	andi	r2,r2,255
    9d20:	1004923a 	slli	r2,r2,8
    9d24:	1886b03a 	or	r3,r3,r2
    9d28:	d0a00117 	ldw	r2,-32764(gp)
    9d2c:	10800303 	ldbu	r2,12(r2)
    9d30:	10803fcc 	andi	r2,r2,255
    9d34:	1884b03a 	or	r2,r3,r2
    9d38:	d0a1c715 	stw	r2,-30948(gp)
    9d3c:	d0a00117 	ldw	r2,-32764(gp)
    9d40:	10800343 	ldbu	r2,13(r2)
    9d44:	d0a1c245 	stb	r2,-30967(gp)
    9d48:	d0a00117 	ldw	r2,-32764(gp)
    9d4c:	10800483 	ldbu	r2,18(r2)
    9d50:	10803fcc 	andi	r2,r2,255
    9d54:	1000651e 	bne	r2,zero,9eec <main+0x1510>
    9d58:	d0a00117 	ldw	r2,-32764(gp)
    9d5c:	108004c3 	ldbu	r2,19(r2)
    9d60:	10803fcc 	andi	r2,r2,255
    9d64:	108000d8 	cmpnei	r2,r2,3
    9d68:	1000601e 	bne	r2,zero,9eec <main+0x1510>
    9d6c:	d0a00117 	ldw	r2,-32764(gp)
    9d70:	10800203 	ldbu	r2,8(r2)
    9d74:	10803fcc 	andi	r2,r2,255
    9d78:	1000571e 	bne	r2,zero,9ed8 <main+0x14fc>
    9d7c:	01000074 	movhi	r4,1
    9d80:	21042804 	addi	r4,r4,4256
    9d84:	01401404 	movi	r5,80
    9d88:	000d883a 	mov	r6,zero
    9d8c:	000831c0 	call	831c <I2C_start>
    9d90:	d0a1c845 	stb	r2,-30943(gp)
    9d94:	d0a00117 	ldw	r2,-32764(gp)
    9d98:	10800403 	ldbu	r2,16(r2)
    9d9c:	10803fcc 	andi	r2,r2,255
    9da0:	01000074 	movhi	r4,1
    9da4:	21042804 	addi	r4,r4,4256
    9da8:	100b883a 	mov	r5,r2
    9dac:	000d883a 	mov	r6,zero
    9db0:	00084340 	call	8434 <I2C_write>
    9db4:	1007883a 	mov	r3,r2
    9db8:	d0a1c843 	ldbu	r2,-30943(gp)
    9dbc:	1885883a 	add	r2,r3,r2
    9dc0:	d0a1c845 	stb	r2,-30943(gp)
    9dc4:	d0a00117 	ldw	r2,-32764(gp)
    9dc8:	10800443 	ldbu	r2,17(r2)
    9dcc:	10803fcc 	andi	r2,r2,255
    9dd0:	01000074 	movhi	r4,1
    9dd4:	21042804 	addi	r4,r4,4256
    9dd8:	100b883a 	mov	r5,r2
    9ddc:	000d883a 	mov	r6,zero
    9de0:	00084340 	call	8434 <I2C_write>
    9de4:	1007883a 	mov	r3,r2
    9de8:	d0a1c843 	ldbu	r2,-30943(gp)
    9dec:	1885883a 	add	r2,r3,r2
    9df0:	d0a1c845 	stb	r2,-30943(gp)
    9df4:	e03ff815 	stw	zero,-32(fp)
    9df8:	00001506 	br	9e50 <main+0x1474>
    9dfc:	d0e00117 	ldw	r3,-32764(gp)
    9e00:	e0bff817 	ldw	r2,-32(fp)
    9e04:	10800604 	addi	r2,r2,24
    9e08:	1885883a 	add	r2,r3,r2
    9e0c:	10800204 	addi	r2,r2,8
    9e10:	10800003 	ldbu	r2,0(r2)
    9e14:	10803fcc 	andi	r2,r2,255
    9e18:	01000074 	movhi	r4,1
    9e1c:	21042804 	addi	r4,r4,4256
    9e20:	100b883a 	mov	r5,r2
    9e24:	000d883a 	mov	r6,zero
    9e28:	00084340 	call	8434 <I2C_write>
    9e2c:	1007883a 	mov	r3,r2
    9e30:	d0a1c843 	ldbu	r2,-30943(gp)
    9e34:	1885883a 	add	r2,r3,r2
    9e38:	d0a1c845 	stb	r2,-30943(gp)
    9e3c:	0104e204 	movi	r4,5000
    9e40:	000b1380 	call	b138 <usleep>
    9e44:	e0bff817 	ldw	r2,-32(fp)
    9e48:	10800044 	addi	r2,r2,1
    9e4c:	e0bff815 	stw	r2,-32(fp)
    9e50:	d0a1c243 	ldbu	r2,-30967(gp)
    9e54:	10803fcc 	andi	r2,r2,255
    9e58:	10bfffc4 	addi	r2,r2,-1
    9e5c:	e0fff817 	ldw	r3,-32(fp)
    9e60:	18bfe616 	blt	r3,r2,9dfc <_gp+0xffff4e68>
    9e64:	d0e00117 	ldw	r3,-32764(gp)
    9e68:	e0bff817 	ldw	r2,-32(fp)
    9e6c:	10800604 	addi	r2,r2,24
    9e70:	1885883a 	add	r2,r3,r2
    9e74:	10800204 	addi	r2,r2,8
    9e78:	10800003 	ldbu	r2,0(r2)
    9e7c:	10803fcc 	andi	r2,r2,255
    9e80:	01000074 	movhi	r4,1
    9e84:	21042804 	addi	r4,r4,4256
    9e88:	100b883a 	mov	r5,r2
    9e8c:	01800044 	movi	r6,1
    9e90:	00084340 	call	8434 <I2C_write>
    9e94:	1007883a 	mov	r3,r2
    9e98:	d0a1c843 	ldbu	r2,-30943(gp)
    9e9c:	1885883a 	add	r2,r3,r2
    9ea0:	d0a1c845 	stb	r2,-30943(gp)
    9ea4:	0104e204 	movi	r4,5000
    9ea8:	000b1380 	call	b138 <usleep>
    9eac:	d0a1c843 	ldbu	r2,-30943(gp)
    9eb0:	10803fcc 	andi	r2,r2,255
    9eb4:	10000426 	beq	r2,zero,9ec8 <main+0x14ec>
    9eb8:	d0a00017 	ldw	r2,-32768(gp)
    9ebc:	00c00144 	movi	r3,5
    9ec0:	10c00045 	stb	r3,1(r2)
    9ec4:	00000806 	br	9ee8 <main+0x150c>
    9ec8:	d0a00017 	ldw	r2,-32768(gp)
    9ecc:	00c00044 	movi	r3,1
    9ed0:	10c00045 	stb	r3,1(r2)
    9ed4:	00000406 	br	9ee8 <main+0x150c>
    9ed8:	d0a00017 	ldw	r2,-32768(gp)
    9edc:	00c00144 	movi	r3,5
    9ee0:	10c00045 	stb	r3,1(r2)
    9ee4:	00000506 	br	9efc <main+0x1520>
    9ee8:	00000406 	br	9efc <main+0x1520>
    9eec:	d0a00017 	ldw	r2,-32768(gp)
    9ef0:	00c00144 	movi	r3,5
    9ef4:	10c00045 	stb	r3,1(r2)
    9ef8:	00020206 	br	a704 <main+0x1d28>
    9efc:	00020106 	br	a704 <main+0x1d28>
    9f00:	d0a00117 	ldw	r2,-32764(gp)
    9f04:	10800243 	ldbu	r2,9(r2)
    9f08:	10803fcc 	andi	r2,r2,255
    9f0c:	1006963a 	slli	r3,r2,24
    9f10:	d0a00117 	ldw	r2,-32764(gp)
    9f14:	10800283 	ldbu	r2,10(r2)
    9f18:	10803fcc 	andi	r2,r2,255
    9f1c:	1004943a 	slli	r2,r2,16
    9f20:	1886b03a 	or	r3,r3,r2
    9f24:	d0a00117 	ldw	r2,-32764(gp)
    9f28:	108002c3 	ldbu	r2,11(r2)
    9f2c:	10803fcc 	andi	r2,r2,255
    9f30:	1004923a 	slli	r2,r2,8
    9f34:	1886b03a 	or	r3,r3,r2
    9f38:	d0a00117 	ldw	r2,-32764(gp)
    9f3c:	10800303 	ldbu	r2,12(r2)
    9f40:	10803fcc 	andi	r2,r2,255
    9f44:	1884b03a 	or	r2,r3,r2
    9f48:	d0a1c715 	stw	r2,-30948(gp)
    9f4c:	d0a00117 	ldw	r2,-32764(gp)
    9f50:	10800343 	ldbu	r2,13(r2)
    9f54:	d0a1c245 	stb	r2,-30967(gp)
    9f58:	d0a00117 	ldw	r2,-32764(gp)
    9f5c:	10800483 	ldbu	r2,18(r2)
    9f60:	10803fcc 	andi	r2,r2,255
    9f64:	1000681e 	bne	r2,zero,a108 <main+0x172c>
    9f68:	d0a00117 	ldw	r2,-32764(gp)
    9f6c:	108004c3 	ldbu	r2,19(r2)
    9f70:	10803fcc 	andi	r2,r2,255
    9f74:	108000d8 	cmpnei	r2,r2,3
    9f78:	1000631e 	bne	r2,zero,a108 <main+0x172c>
    9f7c:	d0a00117 	ldw	r2,-32764(gp)
    9f80:	10800203 	ldbu	r2,8(r2)
    9f84:	10803fcc 	andi	r2,r2,255
    9f88:	10005a1e 	bne	r2,zero,a0f4 <main+0x1718>
    9f8c:	d0a00117 	ldw	r2,-32764(gp)
    9f90:	10800203 	ldbu	r2,8(r2)
    9f94:	10803fcc 	andi	r2,r2,255
    9f98:	1000521e 	bne	r2,zero,a0e4 <main+0x1708>
    9f9c:	01000074 	movhi	r4,1
    9fa0:	21042804 	addi	r4,r4,4256
    9fa4:	01401404 	movi	r5,80
    9fa8:	000d883a 	mov	r6,zero
    9fac:	000831c0 	call	831c <I2C_start>
    9fb0:	d0a1c845 	stb	r2,-30943(gp)
    9fb4:	d0a00117 	ldw	r2,-32764(gp)
    9fb8:	10800403 	ldbu	r2,16(r2)
    9fbc:	10803fcc 	andi	r2,r2,255
    9fc0:	01000074 	movhi	r4,1
    9fc4:	21042804 	addi	r4,r4,4256
    9fc8:	100b883a 	mov	r5,r2
    9fcc:	000d883a 	mov	r6,zero
    9fd0:	00084340 	call	8434 <I2C_write>
    9fd4:	1007883a 	mov	r3,r2
    9fd8:	d0a1c843 	ldbu	r2,-30943(gp)
    9fdc:	1885883a 	add	r2,r3,r2
    9fe0:	d0a1c845 	stb	r2,-30943(gp)
    9fe4:	d0a00117 	ldw	r2,-32764(gp)
    9fe8:	10800443 	ldbu	r2,17(r2)
    9fec:	10803fcc 	andi	r2,r2,255
    9ff0:	01000074 	movhi	r4,1
    9ff4:	21042804 	addi	r4,r4,4256
    9ff8:	100b883a 	mov	r5,r2
    9ffc:	000d883a 	mov	r6,zero
    a000:	00084340 	call	8434 <I2C_write>
    a004:	1007883a 	mov	r3,r2
    a008:	d0a1c843 	ldbu	r2,-30943(gp)
    a00c:	1885883a 	add	r2,r3,r2
    a010:	d0a1c845 	stb	r2,-30943(gp)
    a014:	01000074 	movhi	r4,1
    a018:	21042804 	addi	r4,r4,4256
    a01c:	01401404 	movi	r5,80
    a020:	01800044 	movi	r6,1
    a024:	000831c0 	call	831c <I2C_start>
    a028:	1007883a 	mov	r3,r2
    a02c:	d0a1c843 	ldbu	r2,-30943(gp)
    a030:	1885883a 	add	r2,r3,r2
    a034:	d0a1c845 	stb	r2,-30943(gp)
    a038:	e03ff815 	stw	zero,-32(fp)
    a03c:	00000e06 	br	a078 <main+0x169c>
    a040:	d4600017 	ldw	r17,-32768(gp)
    a044:	e0bff817 	ldw	r2,-32(fp)
    a048:	14000604 	addi	r16,r2,24
    a04c:	01000074 	movhi	r4,1
    a050:	21042804 	addi	r4,r4,4256
    a054:	000b883a 	mov	r5,zero
    a058:	00083b80 	call	83b8 <I2C_read>
    a05c:	1007883a 	mov	r3,r2
    a060:	8c05883a 	add	r2,r17,r16
    a064:	10800204 	addi	r2,r2,8
    a068:	10c00005 	stb	r3,0(r2)
    a06c:	e0bff817 	ldw	r2,-32(fp)
    a070:	10800044 	addi	r2,r2,1
    a074:	e0bff815 	stw	r2,-32(fp)
    a078:	d0a1c243 	ldbu	r2,-30967(gp)
    a07c:	10803fcc 	andi	r2,r2,255
    a080:	10bfffc4 	addi	r2,r2,-1
    a084:	e0fff817 	ldw	r3,-32(fp)
    a088:	18bfed16 	blt	r3,r2,a040 <_gp+0xffff50ac>
    a08c:	d4600017 	ldw	r17,-32768(gp)
    a090:	e0bff817 	ldw	r2,-32(fp)
    a094:	14000604 	addi	r16,r2,24
    a098:	01000074 	movhi	r4,1
    a09c:	21042804 	addi	r4,r4,4256
    a0a0:	01400044 	movi	r5,1
    a0a4:	00083b80 	call	83b8 <I2C_read>
    a0a8:	1007883a 	mov	r3,r2
    a0ac:	8c05883a 	add	r2,r17,r16
    a0b0:	10800204 	addi	r2,r2,8
    a0b4:	10c00005 	stb	r3,0(r2)
    a0b8:	d0a1c843 	ldbu	r2,-30943(gp)
    a0bc:	10803fcc 	andi	r2,r2,255
    a0c0:	10000426 	beq	r2,zero,a0d4 <main+0x16f8>
    a0c4:	d0a00017 	ldw	r2,-32768(gp)
    a0c8:	00c00144 	movi	r3,5
    a0cc:	10c00045 	stb	r3,1(r2)
    a0d0:	00000c06 	br	a104 <main+0x1728>
    a0d4:	d0a00017 	ldw	r2,-32768(gp)
    a0d8:	00c00044 	movi	r3,1
    a0dc:	10c00045 	stb	r3,1(r2)
    a0e0:	00000806 	br	a104 <main+0x1728>
    a0e4:	d0a00017 	ldw	r2,-32768(gp)
    a0e8:	00c00144 	movi	r3,5
    a0ec:	10c00045 	stb	r3,1(r2)
    a0f0:	00000906 	br	a118 <main+0x173c>
    a0f4:	d0a00017 	ldw	r2,-32768(gp)
    a0f8:	00c00144 	movi	r3,5
    a0fc:	10c00045 	stb	r3,1(r2)
    a100:	00000506 	br	a118 <main+0x173c>
    a104:	00000406 	br	a118 <main+0x173c>
    a108:	d0a00017 	ldw	r2,-32768(gp)
    a10c:	00c00144 	movi	r3,5
    a110:	10c00045 	stb	r3,1(r2)
    a114:	00017b06 	br	a704 <main+0x1d28>
    a118:	00017a06 	br	a704 <main+0x1d28>
    a11c:	d0a00117 	ldw	r2,-32764(gp)
    a120:	10800243 	ldbu	r2,9(r2)
    a124:	10803fcc 	andi	r2,r2,255
    a128:	d0a1c715 	stw	r2,-30948(gp)
    a12c:	d0a1c717 	ldw	r2,-30948(gp)
    a130:	10000826 	beq	r2,zero,a154 <main+0x1778>
    a134:	d0a1c717 	ldw	r2,-30948(gp)
    a138:	10ffffc4 	addi	r3,r2,-1
    a13c:	d0a1c617 	ldw	r2,-30952(gp)
    a140:	18800426 	beq	r3,r2,a154 <main+0x1778>
    a144:	d0a00017 	ldw	r2,-32768(gp)
    a148:	00c00184 	movi	r3,6
    a14c:	10c00045 	stb	r3,1(r2)
    a150:	00016c06 	br	a704 <main+0x1d28>
    a154:	d0a1c717 	ldw	r2,-30948(gp)
    a158:	10005d1e 	bne	r2,zero,a2d0 <main+0x18f4>
    a15c:	00bfe004 	movi	r2,-128
    a160:	d0a1c345 	stb	r2,-30963(gp)
    a164:	d0a1c384 	addi	r2,gp,-30962
    a168:	00c00084 	movi	r3,2
    a16c:	10c00005 	stb	r3,0(r2)
    a170:	d0a1c3c4 	addi	r2,gp,-30961
    a174:	10000005 	stb	zero,0(r2)
    a178:	d0a1c404 	addi	r2,gp,-30960
    a17c:	10000005 	stb	zero,0(r2)
    a180:	d8000015 	stw	zero,0(sp)
    a184:	d8000115 	stw	zero,4(sp)
    a188:	d8000215 	stw	zero,8(sp)
    a18c:	01000074 	movhi	r4,1
    a190:	21041004 	addi	r4,r4,4160
    a194:	000b883a 	mov	r5,zero
    a198:	01800104 	movi	r6,4
    a19c:	d1e1c344 	addi	r7,gp,-30963
    a1a0:	000b2300 	call	b230 <alt_avalon_spi_command>
    a1a4:	e0bffb15 	stw	r2,-20(fp)
    a1a8:	00bfe004 	movi	r2,-128
    a1ac:	d0a1c345 	stb	r2,-30963(gp)
    a1b0:	d0a1c384 	addi	r2,gp,-30962
    a1b4:	00c00084 	movi	r3,2
    a1b8:	10c00005 	stb	r3,0(r2)
    a1bc:	d0a1c3c4 	addi	r2,gp,-30961
    a1c0:	10000005 	stb	zero,0(r2)
    a1c4:	d0a00117 	ldw	r2,-32764(gp)
    a1c8:	10800203 	ldbu	r2,8(r2)
    a1cc:	10803fcc 	andi	r2,r2,255
    a1d0:	10c000a0 	cmpeqi	r3,r2,2
    a1d4:	1800121e 	bne	r3,zero,a220 <main+0x1844>
    a1d8:	10c000e0 	cmpeqi	r3,r2,3
    a1dc:	18001e1e 	bne	r3,zero,a258 <main+0x187c>
    a1e0:	10800060 	cmpeqi	r2,r2,1
    a1e4:	10003a26 	beq	r2,zero,a2d0 <main+0x18f4>
    a1e8:	d0a1c404 	addi	r2,gp,-30960
    a1ec:	00c00044 	movi	r3,1
    a1f0:	10c00005 	stb	r3,0(r2)
    a1f4:	d8000015 	stw	zero,0(sp)
    a1f8:	d8000115 	stw	zero,4(sp)
    a1fc:	d8000215 	stw	zero,8(sp)
    a200:	01000074 	movhi	r4,1
    a204:	21041004 	addi	r4,r4,4160
    a208:	000b883a 	mov	r5,zero
    a20c:	01800104 	movi	r6,4
    a210:	d1e1c344 	addi	r7,gp,-30963
    a214:	000b2300 	call	b230 <alt_avalon_spi_command>
    a218:	e0bffb15 	stw	r2,-20(fp)
    a21c:	00002c06 	br	a2d0 <main+0x18f4>
    a220:	d0a1c404 	addi	r2,gp,-30960
    a224:	00c00084 	movi	r3,2
    a228:	10c00005 	stb	r3,0(r2)
    a22c:	d8000015 	stw	zero,0(sp)
    a230:	d8000115 	stw	zero,4(sp)
    a234:	d8000215 	stw	zero,8(sp)
    a238:	01000074 	movhi	r4,1
    a23c:	21041004 	addi	r4,r4,4160
    a240:	000b883a 	mov	r5,zero
    a244:	01800104 	movi	r6,4
    a248:	d1e1c344 	addi	r7,gp,-30963
    a24c:	000b2300 	call	b230 <alt_avalon_spi_command>
    a250:	e0bffb15 	stw	r2,-20(fp)
    a254:	00001e06 	br	a2d0 <main+0x18f4>
    a258:	d0a1c404 	addi	r2,gp,-30960
    a25c:	00c000c4 	movi	r3,3
    a260:	10c00005 	stb	r3,0(r2)
    a264:	d8000015 	stw	zero,0(sp)
    a268:	d8000115 	stw	zero,4(sp)
    a26c:	d8000215 	stw	zero,8(sp)
    a270:	01000074 	movhi	r4,1
    a274:	21041004 	addi	r4,r4,4160
    a278:	000b883a 	mov	r5,zero
    a27c:	01800104 	movi	r6,4
    a280:	d1e1c344 	addi	r7,gp,-30963
    a284:	000b2300 	call	b230 <alt_avalon_spi_command>
    a288:	e0bffb15 	stw	r2,-20(fp)
    a28c:	d021c345 	stb	zero,-30963(gp)
    a290:	d0a1c384 	addi	r2,gp,-30962
    a294:	00c000c4 	movi	r3,3
    a298:	10c00005 	stb	r3,0(r2)
    a29c:	00800084 	movi	r2,2
    a2a0:	d8800015 	stw	r2,0(sp)
    a2a4:	d0a1c344 	addi	r2,gp,-30963
    a2a8:	d8800115 	stw	r2,4(sp)
    a2ac:	d8000215 	stw	zero,8(sp)
    a2b0:	01000074 	movhi	r4,1
    a2b4:	21041004 	addi	r4,r4,4160
    a2b8:	000b883a 	mov	r5,zero
    a2bc:	01800084 	movi	r6,2
    a2c0:	d1e1c344 	addi	r7,gp,-30963
    a2c4:	000b2300 	call	b230 <alt_avalon_spi_command>
    a2c8:	e0bffb15 	stw	r2,-20(fp)
    a2cc:	00009006 	br	a510 <main+0x1b34>
    a2d0:	d021c305 	stb	zero,-30964(gp)
    a2d4:	00001b06 	br	a344 <main+0x1968>
    a2d8:	d021c345 	stb	zero,-30963(gp)
    a2dc:	d0a1c384 	addi	r2,gp,-30962
    a2e0:	00c000c4 	movi	r3,3
    a2e4:	10c00005 	stb	r3,0(r2)
    a2e8:	00800084 	movi	r2,2
    a2ec:	d8800015 	stw	r2,0(sp)
    a2f0:	d0a1c344 	addi	r2,gp,-30963
    a2f4:	d8800115 	stw	r2,4(sp)
    a2f8:	d8000215 	stw	zero,8(sp)
    a2fc:	01000074 	movhi	r4,1
    a300:	21041004 	addi	r4,r4,4160
    a304:	000b883a 	mov	r5,zero
    a308:	01800084 	movi	r6,2
    a30c:	d1e1c344 	addi	r7,gp,-30963
    a310:	000b2300 	call	b230 <alt_avalon_spi_command>
    a314:	e0bffb15 	stw	r2,-20(fp)
    a318:	d0a1c384 	addi	r2,gp,-30962
    a31c:	10800003 	ldbu	r2,0(r2)
    a320:	10803fcc 	andi	r2,r2,255
    a324:	1080004c 	andi	r2,r2,1
    a328:	10000126 	beq	r2,zero,a330 <main+0x1954>
    a32c:	00000906 	br	a354 <main+0x1978>
    a330:	d0a1c303 	ldbu	r2,-30964(gp)
    a334:	10800044 	addi	r2,r2,1
    a338:	d0a1c305 	stb	r2,-30964(gp)
    a33c:	01000784 	movi	r4,30
    a340:	000b1380 	call	b138 <usleep>
    a344:	d0a1c303 	ldbu	r2,-30964(gp)
    a348:	10803fcc 	andi	r2,r2,255
    a34c:	108007b0 	cmpltui	r2,r2,30
    a350:	103fe11e 	bne	r2,zero,a2d8 <_gp+0xffff5344>
    a354:	d021c205 	stb	zero,-30968(gp)
    a358:	00001e06 	br	a3d4 <main+0x19f8>
    a35c:	00bfe004 	movi	r2,-128
    a360:	d0a1c345 	stb	r2,-30963(gp)
    a364:	d0a1c384 	addi	r2,gp,-30962
    a368:	00c00104 	movi	r3,4
    a36c:	10c00005 	stb	r3,0(r2)
    a370:	d0a1c3c4 	addi	r2,gp,-30961
    a374:	10000005 	stb	zero,0(r2)
    a378:	d0e00117 	ldw	r3,-32764(gp)
    a37c:	d0a1c203 	ldbu	r2,-30968(gp)
    a380:	10803fcc 	andi	r2,r2,255
    a384:	10800084 	addi	r2,r2,2
    a388:	1885883a 	add	r2,r3,r2
    a38c:	10800204 	addi	r2,r2,8
    a390:	10c00003 	ldbu	r3,0(r2)
    a394:	d0a1c404 	addi	r2,gp,-30960
    a398:	10c00005 	stb	r3,0(r2)
    a39c:	d8000015 	stw	zero,0(sp)
    a3a0:	d8000115 	stw	zero,4(sp)
    a3a4:	d8000215 	stw	zero,8(sp)
    a3a8:	01000074 	movhi	r4,1
    a3ac:	21041004 	addi	r4,r4,4160
    a3b0:	000b883a 	mov	r5,zero
    a3b4:	01800104 	movi	r6,4
    a3b8:	d1e1c344 	addi	r7,gp,-30963
    a3bc:	000b2300 	call	b230 <alt_avalon_spi_command>
    a3c0:	e0bffb15 	stw	r2,-20(fp)
    a3c4:	d021c305 	stb	zero,-30964(gp)
    a3c8:	d0a1c203 	ldbu	r2,-30968(gp)
    a3cc:	10800044 	addi	r2,r2,1
    a3d0:	d0a1c205 	stb	r2,-30968(gp)
    a3d4:	d0a1c203 	ldbu	r2,-30968(gp)
    a3d8:	10803fcc 	andi	r2,r2,255
    a3dc:	10800830 	cmpltui	r2,r2,32
    a3e0:	103fde1e 	bne	r2,zero,a35c <_gp+0xffff53c8>
    a3e4:	d021c305 	stb	zero,-30964(gp)
    a3e8:	d021c345 	stb	zero,-30963(gp)
    a3ec:	d0a1c384 	addi	r2,gp,-30962
    a3f0:	00c000c4 	movi	r3,3
    a3f4:	10c00005 	stb	r3,0(r2)
    a3f8:	00800084 	movi	r2,2
    a3fc:	d8800015 	stw	r2,0(sp)
    a400:	d0a1c344 	addi	r2,gp,-30963
    a404:	d8800115 	stw	r2,4(sp)
    a408:	d8000215 	stw	zero,8(sp)
    a40c:	01000074 	movhi	r4,1
    a410:	21041004 	addi	r4,r4,4160
    a414:	000b883a 	mov	r5,zero
    a418:	01800084 	movi	r6,2
    a41c:	d1e1c344 	addi	r7,gp,-30963
    a420:	000b2300 	call	b230 <alt_avalon_spi_command>
    a424:	e0bffb15 	stw	r2,-20(fp)
    a428:	d0a1c384 	addi	r2,gp,-30962
    a42c:	10800003 	ldbu	r2,0(r2)
    a430:	10803fcc 	andi	r2,r2,255
    a434:	1080004c 	andi	r2,r2,1
    a438:	10000526 	beq	r2,zero,a450 <main+0x1a74>
    a43c:	0001883a 	nop
    a440:	d0a1c717 	ldw	r2,-30948(gp)
    a444:	10803fd8 	cmpnei	r2,r2,255
    a448:	10002f1e 	bne	r2,zero,a508 <main+0x1b2c>
    a44c:	00000606 	br	a468 <main+0x1a8c>
    a450:	d0a1c303 	ldbu	r2,-30964(gp)
    a454:	10800044 	addi	r2,r2,1
    a458:	d0a1c305 	stb	r2,-30964(gp)
    a45c:	01000784 	movi	r4,30
    a460:	000b1380 	call	b138 <usleep>
    a464:	003fe006 	br	a3e8 <_gp+0xffff5454>
    a468:	d021c305 	stb	zero,-30964(gp)
    a46c:	00001b06 	br	a4dc <main+0x1b00>
    a470:	d021c345 	stb	zero,-30963(gp)
    a474:	d0a1c384 	addi	r2,gp,-30962
    a478:	00c000c4 	movi	r3,3
    a47c:	10c00005 	stb	r3,0(r2)
    a480:	00800084 	movi	r2,2
    a484:	d8800015 	stw	r2,0(sp)
    a488:	d0a1c344 	addi	r2,gp,-30963
    a48c:	d8800115 	stw	r2,4(sp)
    a490:	d8000215 	stw	zero,8(sp)
    a494:	01000074 	movhi	r4,1
    a498:	21041004 	addi	r4,r4,4160
    a49c:	000b883a 	mov	r5,zero
    a4a0:	01800084 	movi	r6,2
    a4a4:	d1e1c344 	addi	r7,gp,-30963
    a4a8:	000b2300 	call	b230 <alt_avalon_spi_command>
    a4ac:	e0bffb15 	stw	r2,-20(fp)
    a4b0:	d0a1c384 	addi	r2,gp,-30962
    a4b4:	10800003 	ldbu	r2,0(r2)
    a4b8:	10803fcc 	andi	r2,r2,255
    a4bc:	1080100c 	andi	r2,r2,64
    a4c0:	10000126 	beq	r2,zero,a4c8 <main+0x1aec>
    a4c4:	00000906 	br	a4ec <main+0x1b10>
    a4c8:	d0a1c303 	ldbu	r2,-30964(gp)
    a4cc:	10800044 	addi	r2,r2,1
    a4d0:	d0a1c305 	stb	r2,-30964(gp)
    a4d4:	01000784 	movi	r4,30
    a4d8:	000b1380 	call	b138 <usleep>
    a4dc:	d0a1c303 	ldbu	r2,-30964(gp)
    a4e0:	10803fcc 	andi	r2,r2,255
    a4e4:	108007b0 	cmpltui	r2,r2,30
    a4e8:	103fe11e 	bne	r2,zero,a470 <_gp+0xffff54dc>
    a4ec:	d0a1c303 	ldbu	r2,-30964(gp)
    a4f0:	10803fcc 	andi	r2,r2,255
    a4f4:	10800798 	cmpnei	r2,r2,30
    a4f8:	1000031e 	bne	r2,zero,a508 <main+0x1b2c>
    a4fc:	d0a1c843 	ldbu	r2,-30943(gp)
    a500:	10800044 	addi	r2,r2,1
    a504:	d0a1c845 	stb	r2,-30943(gp)
    a508:	d0a1c717 	ldw	r2,-30948(gp)
    a50c:	d0a1c615 	stw	r2,-30952(gp)
    a510:	d0a1c843 	ldbu	r2,-30943(gp)
    a514:	10803fcc 	andi	r2,r2,255
    a518:	10000426 	beq	r2,zero,a52c <main+0x1b50>
    a51c:	d0a00017 	ldw	r2,-32768(gp)
    a520:	00c00144 	movi	r3,5
    a524:	10c00045 	stb	r3,1(r2)
    a528:	00007606 	br	a704 <main+0x1d28>
    a52c:	d0a00017 	ldw	r2,-32768(gp)
    a530:	00c00044 	movi	r3,1
    a534:	10c00045 	stb	r3,1(r2)
    a538:	00007206 	br	a704 <main+0x1d28>
    a53c:	00bfe004 	movi	r2,-128
    a540:	d0a1c345 	stb	r2,-30963(gp)
    a544:	d0a1c384 	addi	r2,gp,-30962
    a548:	00fff104 	movi	r3,-60
    a54c:	10c00005 	stb	r3,0(r2)
    a550:	d0a00117 	ldw	r2,-32764(gp)
    a554:	10c00243 	ldbu	r3,9(r2)
    a558:	d0a1c3c4 	addi	r2,gp,-30961
    a55c:	10c00005 	stb	r3,0(r2)
    a560:	d0a00117 	ldw	r2,-32764(gp)
    a564:	10c00203 	ldbu	r3,8(r2)
    a568:	d0a1c404 	addi	r2,gp,-30960
    a56c:	10c00005 	stb	r3,0(r2)
    a570:	d8000015 	stw	zero,0(sp)
    a574:	d8000115 	stw	zero,4(sp)
    a578:	d8000215 	stw	zero,8(sp)
    a57c:	01000074 	movhi	r4,1
    a580:	21041004 	addi	r4,r4,4160
    a584:	01400044 	movi	r5,1
    a588:	01800104 	movi	r6,4
    a58c:	d1e1c344 	addi	r7,gp,-30963
    a590:	000b2300 	call	b230 <alt_avalon_spi_command>
    a594:	e0bffb15 	stw	r2,-20(fp)
    a598:	d0a00017 	ldw	r2,-32768(gp)
    a59c:	00c00044 	movi	r3,1
    a5a0:	10c00045 	stb	r3,1(r2)
    a5a4:	00005706 	br	a704 <main+0x1d28>
    a5a8:	d021c345 	stb	zero,-30963(gp)
    a5ac:	d0a1c384 	addi	r2,gp,-30962
    a5b0:	00fff104 	movi	r3,-60
    a5b4:	10c00005 	stb	r3,0(r2)
    a5b8:	00800084 	movi	r2,2
    a5bc:	d8800015 	stw	r2,0(sp)
    a5c0:	d0a1c3c4 	addi	r2,gp,-30961
    a5c4:	d8800115 	stw	r2,4(sp)
    a5c8:	d8000215 	stw	zero,8(sp)
    a5cc:	01000074 	movhi	r4,1
    a5d0:	21041004 	addi	r4,r4,4160
    a5d4:	01400044 	movi	r5,1
    a5d8:	01800084 	movi	r6,2
    a5dc:	d1e1c344 	addi	r7,gp,-30963
    a5e0:	000b2300 	call	b230 <alt_avalon_spi_command>
    a5e4:	e0bffb15 	stw	r2,-20(fp)
    a5e8:	d0a00017 	ldw	r2,-32768(gp)
    a5ec:	d0e1c404 	addi	r3,gp,-30960
    a5f0:	18c00003 	ldbu	r3,0(r3)
    a5f4:	10c00205 	stb	r3,8(r2)
    a5f8:	d0a00017 	ldw	r2,-32768(gp)
    a5fc:	d0e1c3c4 	addi	r3,gp,-30961
    a600:	18c00003 	ldbu	r3,0(r3)
    a604:	10c00245 	stb	r3,9(r2)
    a608:	d0a00017 	ldw	r2,-32768(gp)
    a60c:	00c00044 	movi	r3,1
    a610:	10c00045 	stb	r3,1(r2)
    a614:	00003b06 	br	a704 <main+0x1d28>
    a618:	00bfe004 	movi	r2,-128
    a61c:	d0a1c345 	stb	r2,-30963(gp)
    a620:	d0a1c384 	addi	r2,gp,-30962
    a624:	00fff184 	movi	r3,-58
    a628:	10c00005 	stb	r3,0(r2)
    a62c:	d0a00117 	ldw	r2,-32764(gp)
    a630:	10c00243 	ldbu	r3,9(r2)
    a634:	d0a1c3c4 	addi	r2,gp,-30961
    a638:	10c00005 	stb	r3,0(r2)
    a63c:	d0a00117 	ldw	r2,-32764(gp)
    a640:	10c00203 	ldbu	r3,8(r2)
    a644:	d0a1c404 	addi	r2,gp,-30960
    a648:	10c00005 	stb	r3,0(r2)
    a64c:	d8000015 	stw	zero,0(sp)
    a650:	d8000115 	stw	zero,4(sp)
    a654:	d8000215 	stw	zero,8(sp)
    a658:	01000074 	movhi	r4,1
    a65c:	21041004 	addi	r4,r4,4160
    a660:	01400044 	movi	r5,1
    a664:	01800104 	movi	r6,4
    a668:	d1e1c344 	addi	r7,gp,-30963
    a66c:	000b2300 	call	b230 <alt_avalon_spi_command>
    a670:	e0bffb15 	stw	r2,-20(fp)
    a674:	d0a00017 	ldw	r2,-32768(gp)
    a678:	00c00044 	movi	r3,1
    a67c:	10c00045 	stb	r3,1(r2)
    a680:	00002006 	br	a704 <main+0x1d28>
    a684:	d021c345 	stb	zero,-30963(gp)
    a688:	d0a1c384 	addi	r2,gp,-30962
    a68c:	00fff084 	movi	r3,-62
    a690:	10c00005 	stb	r3,0(r2)
    a694:	00800084 	movi	r2,2
    a698:	d8800015 	stw	r2,0(sp)
    a69c:	d0a1c3c4 	addi	r2,gp,-30961
    a6a0:	d8800115 	stw	r2,4(sp)
    a6a4:	d8000215 	stw	zero,8(sp)
    a6a8:	01000074 	movhi	r4,1
    a6ac:	21041004 	addi	r4,r4,4160
    a6b0:	01400044 	movi	r5,1
    a6b4:	01800084 	movi	r6,2
    a6b8:	d1e1c344 	addi	r7,gp,-30963
    a6bc:	000b2300 	call	b230 <alt_avalon_spi_command>
    a6c0:	e0bffb15 	stw	r2,-20(fp)
    a6c4:	d0a00017 	ldw	r2,-32768(gp)
    a6c8:	d0e1c404 	addi	r3,gp,-30960
    a6cc:	18c00003 	ldbu	r3,0(r3)
    a6d0:	10c00205 	stb	r3,8(r2)
    a6d4:	d0a00017 	ldw	r2,-32768(gp)
    a6d8:	d0e1c3c4 	addi	r3,gp,-30961
    a6dc:	18c00003 	ldbu	r3,0(r3)
    a6e0:	10c00245 	stb	r3,9(r2)
    a6e4:	d0a00017 	ldw	r2,-32768(gp)
    a6e8:	00c00044 	movi	r3,1
    a6ec:	10c00045 	stb	r3,1(r2)
    a6f0:	00000406 	br	a704 <main+0x1d28>
    a6f4:	d0a00017 	ldw	r2,-32768(gp)
    a6f8:	00c00084 	movi	r3,2
    a6fc:	10c00045 	stb	r3,1(r2)
    a700:	0001883a 	nop
    a704:	e03ff905 	stb	zero,-28(fp)
    a708:	00000c06 	br	a73c <main+0x1d60>
    a70c:	e0fff907 	ldb	r3,-28(fp)
    a710:	00800074 	movhi	r2,1
    a714:	10b5b604 	addi	r2,r2,-10536
    a718:	10c5883a 	add	r2,r2,r3
    a71c:	10800003 	ldbu	r2,0(r2)
    a720:	10c03fcc 	andi	r3,r2,255
    a724:	00800074 	movhi	r2,1
    a728:	10843804 	addi	r2,r2,4320
    a72c:	10c00035 	stwio	r3,0(r2)
    a730:	e0bff903 	ldbu	r2,-28(fp)
    a734:	10800044 	addi	r2,r2,1
    a738:	e0bff905 	stb	r2,-28(fp)
    a73c:	e0bff907 	ldb	r2,-28(fp)
    a740:	10801010 	cmplti	r2,r2,64
    a744:	103ff11e 	bne	r2,zero,a70c <_gp+0xffff5778>
    a748:	0038eb06 	br	8af8 <_gp+0xffff3b64>

0000a74c <ReverseBitOrder>:
    a74c:	defffd04 	addi	sp,sp,-12
    a750:	df000215 	stw	fp,8(sp)
    a754:	df000204 	addi	fp,sp,8
    a758:	2005883a 	mov	r2,r4
    a75c:	e0bfff05 	stb	r2,-4(fp)
    a760:	e0bfff03 	ldbu	r2,-4(fp)
    a764:	e0bffe05 	stb	r2,-8(fp)
    a768:	e0bffe03 	ldbu	r2,-8(fp)
    a76c:	1004d07a 	srli	r2,r2,1
    a770:	1080154c 	andi	r2,r2,85
    a774:	1007883a 	mov	r3,r2
    a778:	e0bffe03 	ldbu	r2,-8(fp)
    a77c:	1085883a 	add	r2,r2,r2
    a780:	1009883a 	mov	r4,r2
    a784:	00bfea84 	movi	r2,-86
    a788:	2084703a 	and	r2,r4,r2
    a78c:	1884b03a 	or	r2,r3,r2
    a790:	e0bffe05 	stb	r2,-8(fp)
    a794:	e0bffe03 	ldbu	r2,-8(fp)
    a798:	1004d0ba 	srli	r2,r2,2
    a79c:	10800ccc 	andi	r2,r2,51
    a7a0:	1007883a 	mov	r3,r2
    a7a4:	e0bffe03 	ldbu	r2,-8(fp)
    a7a8:	1085883a 	add	r2,r2,r2
    a7ac:	1085883a 	add	r2,r2,r2
    a7b0:	1009883a 	mov	r4,r2
    a7b4:	00bff304 	movi	r2,-52
    a7b8:	2084703a 	and	r2,r4,r2
    a7bc:	1884b03a 	or	r2,r3,r2
    a7c0:	e0bffe05 	stb	r2,-8(fp)
    a7c4:	e0bffe03 	ldbu	r2,-8(fp)
    a7c8:	1004d13a 	srli	r2,r2,4
    a7cc:	1007883a 	mov	r3,r2
    a7d0:	e0bffe03 	ldbu	r2,-8(fp)
    a7d4:	1004913a 	slli	r2,r2,4
    a7d8:	1884b03a 	or	r2,r3,r2
    a7dc:	e0bffe05 	stb	r2,-8(fp)
    a7e0:	e0bffe03 	ldbu	r2,-8(fp)
    a7e4:	e037883a 	mov	sp,fp
    a7e8:	df000017 	ldw	fp,0(sp)
    a7ec:	dec00104 	addi	sp,sp,4
    a7f0:	f800283a 	ret

0000a7f4 <FlashSpiFastRead>:
    a7f4:	defffe04 	addi	sp,sp,-8
    a7f8:	df000115 	stw	fp,4(sp)
    a7fc:	df000104 	addi	fp,sp,4
    a800:	e13fff15 	stw	r4,-4(fp)
    a804:	e0bfff17 	ldw	r2,-4(fp)
    a808:	d0a1ca05 	stb	r2,-30936(gp)
    a80c:	e037883a 	mov	sp,fp
    a810:	df000017 	ldw	fp,0(sp)
    a814:	dec00104 	addi	sp,sp,4
    a818:	f800283a 	ret

0000a81c <FlashSpiTransfer>:
    a81c:	defff404 	addi	sp,sp,-48
    a820:	dfc00b15 	stw	ra,44(sp)
    a824:	df000a15 	stw	fp,40(sp)
    a828:	df000a04 	addi	fp,sp,40
    a82c:	e13ffc15 	stw	r4,-16(fp)
    a830:	e17ffd15 	stw	r5,-12(fp)
    a834:	e1bffe15 	stw	r6,-8(fp)
    a838:	3805883a 	mov	r2,r7
    a83c:	e0bfff0d 	sth	r2,-4(fp)
    a840:	e03ff915 	stw	zero,-28(fp)
    a844:	e0bfff0b 	ldhu	r2,-4(fp)
    a848:	1004d23a 	srli	r2,r2,8
    a84c:	e0bffa0d 	sth	r2,-24(fp)
    a850:	e03ffa85 	stb	zero,-22(fp)
    a854:	00800044 	movi	r2,1
    a858:	d0a1ca05 	stb	r2,-30936(gp)
    a85c:	e0bfff0b 	ldhu	r2,-4(fp)
    a860:	1000021e 	bne	r2,zero,a86c <FlashSpiTransfer+0x50>
    a864:	0005883a 	mov	r2,zero
    a868:	00006006 	br	a9ec <FlashSpiTransfer+0x1d0>
    a86c:	e0bfff0b 	ldhu	r2,-4(fp)
    a870:	10803fcc 	andi	r2,r2,255
    a874:	10bfffcc 	andi	r2,r2,65535
    a878:	10000226 	beq	r2,zero,a884 <FlashSpiTransfer+0x68>
    a87c:	00800044 	movi	r2,1
    a880:	00005a06 	br	a9ec <FlashSpiTransfer+0x1d0>
    a884:	e0bffe17 	ldw	r2,-8(fp)
    a888:	1004923a 	slli	r2,r2,8
    a88c:	e0bff915 	stw	r2,-28(fp)
    a890:	00005306 	br	a9e0 <FlashSpiTransfer+0x1c4>
    a894:	e0bff917 	ldw	r2,-28(fp)
    a898:	1004d43a 	srli	r2,r2,16
    a89c:	10803fcc 	andi	r2,r2,255
    a8a0:	1009883a 	mov	r4,r2
    a8a4:	000a74c0 	call	a74c <ReverseBitOrder>
    a8a8:	e0bffb05 	stb	r2,-20(fp)
    a8ac:	e0bff917 	ldw	r2,-28(fp)
    a8b0:	1004d23a 	srli	r2,r2,8
    a8b4:	10803fcc 	andi	r2,r2,255
    a8b8:	1009883a 	mov	r4,r2
    a8bc:	000a74c0 	call	a74c <ReverseBitOrder>
    a8c0:	e0bffb45 	stb	r2,-19(fp)
    a8c4:	e0bff917 	ldw	r2,-28(fp)
    a8c8:	10803fcc 	andi	r2,r2,255
    a8cc:	1009883a 	mov	r4,r2
    a8d0:	000a74c0 	call	a74c <ReverseBitOrder>
    a8d4:	e0bffb85 	stb	r2,-18(fp)
    a8d8:	e0800317 	ldw	r2,12(fp)
    a8dc:	10001b26 	beq	r2,zero,a94c <FlashSpiTransfer+0x130>
    a8e0:	00bff004 	movi	r2,-64
    a8e4:	e0bffac5 	stb	r2,-21(fp)
    a8e8:	d0a1ca03 	ldbu	r2,-30936(gp)
    a8ec:	10803fcc 	andi	r2,r2,255
    a8f0:	1080201c 	xori	r2,r2,128
    a8f4:	10bfe004 	addi	r2,r2,-128
    a8f8:	1000081e 	bne	r2,zero,a91c <FlashSpiTransfer+0x100>
    a8fc:	e13ffc17 	ldw	r4,-16(fp)
    a900:	e17ffd17 	ldw	r5,-12(fp)
    a904:	000aa000 	call	aa00 <CyFxSpiWaitForStatus>
    a908:	e0bffa85 	stb	r2,-22(fp)
    a90c:	e0bffa83 	ldbu	r2,-22(fp)
    a910:	1000021e 	bne	r2,zero,a91c <FlashSpiTransfer+0x100>
    a914:	e0bffa83 	ldbu	r2,-22(fp)
    a918:	00003406 	br	a9ec <FlashSpiTransfer+0x1d0>
    a91c:	e0fffac4 	addi	r3,fp,-21
    a920:	00804004 	movi	r2,256
    a924:	d8800015 	stw	r2,0(sp)
    a928:	e0800217 	ldw	r2,8(fp)
    a92c:	d8800115 	stw	r2,4(sp)
    a930:	d8000215 	stw	zero,8(sp)
    a934:	e13ffc17 	ldw	r4,-16(fp)
    a938:	e17ffd17 	ldw	r5,-12(fp)
    a93c:	01800104 	movi	r6,4
    a940:	180f883a 	mov	r7,r3
    a944:	000b2300 	call	b230 <alt_avalon_spi_command>
    a948:	00001c06 	br	a9bc <FlashSpiTransfer+0x1a0>
    a94c:	00801004 	movi	r2,64
    a950:	e0bffac5 	stb	r2,-21(fp)
    a954:	e13ffc17 	ldw	r4,-16(fp)
    a958:	e17ffd17 	ldw	r5,-12(fp)
    a95c:	000aa000 	call	aa00 <CyFxSpiWaitForStatus>
    a960:	e0bffa85 	stb	r2,-22(fp)
    a964:	e0bffa83 	ldbu	r2,-22(fp)
    a968:	10000226 	beq	r2,zero,a974 <FlashSpiTransfer+0x158>
    a96c:	e0bffa83 	ldbu	r2,-22(fp)
    a970:	00001e06 	br	a9ec <FlashSpiTransfer+0x1d0>
    a974:	e0fffac4 	addi	r3,fp,-21
    a978:	d8000015 	stw	zero,0(sp)
    a97c:	d8000115 	stw	zero,4(sp)
    a980:	00800044 	movi	r2,1
    a984:	d8800215 	stw	r2,8(sp)
    a988:	e13ffc17 	ldw	r4,-16(fp)
    a98c:	e17ffd17 	ldw	r5,-12(fp)
    a990:	01800104 	movi	r6,4
    a994:	180f883a 	mov	r7,r3
    a998:	000b2300 	call	b230 <alt_avalon_spi_command>
    a99c:	d8000015 	stw	zero,0(sp)
    a9a0:	d8000115 	stw	zero,4(sp)
    a9a4:	d8000215 	stw	zero,8(sp)
    a9a8:	e13ffc17 	ldw	r4,-16(fp)
    a9ac:	e17ffd17 	ldw	r5,-12(fp)
    a9b0:	01804004 	movi	r6,256
    a9b4:	e1c00217 	ldw	r7,8(fp)
    a9b8:	000b2300 	call	b230 <alt_avalon_spi_command>
    a9bc:	e0bff917 	ldw	r2,-28(fp)
    a9c0:	10804004 	addi	r2,r2,256
    a9c4:	e0bff915 	stw	r2,-28(fp)
    a9c8:	e0800217 	ldw	r2,8(fp)
    a9cc:	10804004 	addi	r2,r2,256
    a9d0:	e0800215 	stw	r2,8(fp)
    a9d4:	e0bffa0b 	ldhu	r2,-24(fp)
    a9d8:	10bfffc4 	addi	r2,r2,-1
    a9dc:	e0bffa0d 	sth	r2,-24(fp)
    a9e0:	e0bffa0b 	ldhu	r2,-24(fp)
    a9e4:	103fab1e 	bne	r2,zero,a894 <_gp+0xffff5900>
    a9e8:	e0bffa83 	ldbu	r2,-22(fp)
    a9ec:	e037883a 	mov	sp,fp
    a9f0:	dfc00117 	ldw	ra,4(sp)
    a9f4:	df000017 	ldw	fp,0(sp)
    a9f8:	dec00204 	addi	sp,sp,8
    a9fc:	f800283a 	ret

0000aa00 <CyFxSpiWaitForStatus>:
    aa00:	defff704 	addi	sp,sp,-36
    aa04:	dfc00815 	stw	ra,32(sp)
    aa08:	df000715 	stw	fp,28(sp)
    aa0c:	df000704 	addi	fp,sp,28
    aa10:	e13ffe15 	stw	r4,-8(fp)
    aa14:	e17fff15 	stw	r5,-4(fp)
    aa18:	e03ffc15 	stw	zero,-16(fp)
    aa1c:	00801804 	movi	r2,96
    aa20:	e0bffd05 	stb	r2,-12(fp)
    aa24:	e0bffd04 	addi	r2,fp,-12
    aa28:	d8000015 	stw	zero,0(sp)
    aa2c:	d8000115 	stw	zero,4(sp)
    aa30:	d8000215 	stw	zero,8(sp)
    aa34:	e13ffe17 	ldw	r4,-8(fp)
    aa38:	e17fff17 	ldw	r5,-4(fp)
    aa3c:	01800044 	movi	r6,1
    aa40:	100f883a 	mov	r7,r2
    aa44:	000b2300 	call	b230 <alt_avalon_spi_command>
    aa48:	00bfe804 	movi	r2,-96
    aa4c:	e0bffd05 	stb	r2,-12(fp)
    aa50:	e0fffd04 	addi	r3,fp,-12
    aa54:	00800084 	movi	r2,2
    aa58:	d8800015 	stw	r2,0(sp)
    aa5c:	e0bffd84 	addi	r2,fp,-10
    aa60:	d8800115 	stw	r2,4(sp)
    aa64:	d8000215 	stw	zero,8(sp)
    aa68:	e13ffe17 	ldw	r4,-8(fp)
    aa6c:	e17fff17 	ldw	r5,-4(fp)
    aa70:	01800044 	movi	r6,1
    aa74:	180f883a 	mov	r7,r3
    aa78:	000b2300 	call	b230 <alt_avalon_spi_command>
    aa7c:	e0bffc17 	ldw	r2,-16(fp)
    aa80:	1089c430 	cmpltui	r2,r2,10000
    aa84:	1000021e 	bne	r2,zero,aa90 <CyFxSpiWaitForStatus+0x90>
    aa88:	00800044 	movi	r2,1
    aa8c:	00000d06 	br	aac4 <CyFxSpiWaitForStatus+0xc4>
    aa90:	e0bffc17 	ldw	r2,-16(fp)
    aa94:	10800044 	addi	r2,r2,1
    aa98:	e0bffc15 	stw	r2,-16(fp)
    aa9c:	e0bffd83 	ldbu	r2,-10(fp)
    aaa0:	10803fcc 	andi	r2,r2,255
    aaa4:	1080201c 	xori	r2,r2,128
    aaa8:	10bfe004 	addi	r2,r2,-128
    aaac:	103fdb16 	blt	r2,zero,aa1c <_gp+0xffff5a88>
    aab0:	e0bffd83 	ldbu	r2,-10(fp)
    aab4:	10803fcc 	andi	r2,r2,255
    aab8:	1080100c 	andi	r2,r2,64
    aabc:	103fd726 	beq	r2,zero,aa1c <_gp+0xffff5a88>
    aac0:	0005883a 	mov	r2,zero
    aac4:	e037883a 	mov	sp,fp
    aac8:	dfc00117 	ldw	ra,4(sp)
    aacc:	df000017 	ldw	fp,0(sp)
    aad0:	dec00204 	addi	sp,sp,8
    aad4:	f800283a 	ret

0000aad8 <FlashSpiEraseSector>:
    aad8:	defff204 	addi	sp,sp,-56
    aadc:	dfc00d15 	stw	ra,52(sp)
    aae0:	df000c15 	stw	fp,48(sp)
    aae4:	df000c04 	addi	fp,sp,48
    aae8:	e13ffc15 	stw	r4,-16(fp)
    aaec:	e17ffd15 	stw	r5,-12(fp)
    aaf0:	3007883a 	mov	r3,r6
    aaf4:	3805883a 	mov	r2,r7
    aaf8:	e0fffe05 	stb	r3,-8(fp)
    aafc:	e0bfff05 	stb	r2,-4(fp)
    ab00:	e03ff815 	stw	zero,-32(fp)
    ab04:	e03ff715 	stw	zero,-36(fp)
    ab08:	00801804 	movi	r2,96
    ab0c:	e0bffa05 	stb	r2,-24(fp)
    ab10:	e0bffa04 	addi	r2,fp,-24
    ab14:	d8000015 	stw	zero,0(sp)
    ab18:	d8000115 	stw	zero,4(sp)
    ab1c:	d8000215 	stw	zero,8(sp)
    ab20:	e13ffc17 	ldw	r4,-16(fp)
    ab24:	e17ffd17 	ldw	r5,-12(fp)
    ab28:	01800044 	movi	r6,1
    ab2c:	100f883a 	mov	r7,r2
    ab30:	000b2300 	call	b230 <alt_avalon_spi_command>
    ab34:	e0bff915 	stw	r2,-28(fp)
    ab38:	e0bffe03 	ldbu	r2,-8(fp)
    ab3c:	10002026 	beq	r2,zero,abc0 <FlashSpiEraseSector+0xe8>
    ab40:	008006c4 	movi	r2,27
    ab44:	e0bffa05 	stb	r2,-24(fp)
    ab48:	e0bfff03 	ldbu	r2,-4(fp)
    ab4c:	1004943a 	slli	r2,r2,16
    ab50:	e0bff815 	stw	r2,-32(fp)
    ab54:	e0bff817 	ldw	r2,-32(fp)
    ab58:	1004d43a 	srli	r2,r2,16
    ab5c:	10803fcc 	andi	r2,r2,255
    ab60:	1009883a 	mov	r4,r2
    ab64:	000a74c0 	call	a74c <ReverseBitOrder>
    ab68:	e0bffa45 	stb	r2,-23(fp)
    ab6c:	e0bff817 	ldw	r2,-32(fp)
    ab70:	1004d23a 	srli	r2,r2,8
    ab74:	10803fcc 	andi	r2,r2,255
    ab78:	1009883a 	mov	r4,r2
    ab7c:	000a74c0 	call	a74c <ReverseBitOrder>
    ab80:	e0bffa85 	stb	r2,-22(fp)
    ab84:	e0bff817 	ldw	r2,-32(fp)
    ab88:	10803fcc 	andi	r2,r2,255
    ab8c:	1009883a 	mov	r4,r2
    ab90:	000a74c0 	call	a74c <ReverseBitOrder>
    ab94:	e0bffac5 	stb	r2,-21(fp)
    ab98:	e0bffa04 	addi	r2,fp,-24
    ab9c:	d8000015 	stw	zero,0(sp)
    aba0:	d8000115 	stw	zero,4(sp)
    aba4:	d8000215 	stw	zero,8(sp)
    aba8:	e13ffc17 	ldw	r4,-16(fp)
    abac:	e17ffd17 	ldw	r5,-12(fp)
    abb0:	01800104 	movi	r6,4
    abb4:	100f883a 	mov	r7,r2
    abb8:	000b2300 	call	b230 <alt_avalon_spi_command>
    abbc:	e0bff915 	stw	r2,-28(fp)
    abc0:	00bfe804 	movi	r2,-96
    abc4:	e0bffa05 	stb	r2,-24(fp)
    abc8:	e0fffa04 	addi	r3,fp,-24
    abcc:	00800044 	movi	r2,1
    abd0:	d8800015 	stw	r2,0(sp)
    abd4:	e0bffb04 	addi	r2,fp,-20
    abd8:	d8800115 	stw	r2,4(sp)
    abdc:	d8000215 	stw	zero,8(sp)
    abe0:	e13ffc17 	ldw	r4,-16(fp)
    abe4:	e17ffd17 	ldw	r5,-12(fp)
    abe8:	01800044 	movi	r6,1
    abec:	180f883a 	mov	r7,r3
    abf0:	000b2300 	call	b230 <alt_avalon_spi_command>
    abf4:	e0bff915 	stw	r2,-28(fp)
    abf8:	e0fff717 	ldw	r3,-36(fp)
    abfc:	00800bb4 	movhi	r2,46
    ac00:	10b1afc4 	addi	r2,r2,-14657
    ac04:	10c0022e 	bgeu	r2,r3,ac10 <FlashSpiEraseSector+0x138>
    ac08:	00800044 	movi	r2,1
    ac0c:	00000906 	br	ac34 <FlashSpiEraseSector+0x15c>
    ac10:	e0bff717 	ldw	r2,-36(fp)
    ac14:	10800044 	addi	r2,r2,1
    ac18:	e0bff715 	stw	r2,-36(fp)
    ac1c:	e0bffb03 	ldbu	r2,-20(fp)
    ac20:	10803fcc 	andi	r2,r2,255
    ac24:	1080201c 	xori	r2,r2,128
    ac28:	10bfe004 	addi	r2,r2,-128
    ac2c:	103fe616 	blt	r2,zero,abc8 <_gp+0xffff5c34>
    ac30:	0005883a 	mov	r2,zero
    ac34:	e037883a 	mov	sp,fp
    ac38:	dfc00117 	ldw	ra,4(sp)
    ac3c:	df000017 	ldw	fp,0(sp)
    ac40:	dec00204 	addi	sp,sp,8
    ac44:	f800283a 	ret

0000ac48 <udivmodsi4>:
    ac48:	2900182e 	bgeu	r5,r4,acac <udivmodsi4+0x64>
    ac4c:	28001716 	blt	r5,zero,acac <udivmodsi4+0x64>
    ac50:	00800804 	movi	r2,32
    ac54:	00c00044 	movi	r3,1
    ac58:	00000206 	br	ac64 <udivmodsi4+0x1c>
    ac5c:	10001126 	beq	r2,zero,aca4 <udivmodsi4+0x5c>
    ac60:	28000516 	blt	r5,zero,ac78 <udivmodsi4+0x30>
    ac64:	294b883a 	add	r5,r5,r5
    ac68:	10bfffc4 	addi	r2,r2,-1
    ac6c:	18c7883a 	add	r3,r3,r3
    ac70:	293ffa36 	bltu	r5,r4,ac5c <_gp+0xffff5cc8>
    ac74:	18000b26 	beq	r3,zero,aca4 <udivmodsi4+0x5c>
    ac78:	0005883a 	mov	r2,zero
    ac7c:	21400236 	bltu	r4,r5,ac88 <udivmodsi4+0x40>
    ac80:	2149c83a 	sub	r4,r4,r5
    ac84:	10c4b03a 	or	r2,r2,r3
    ac88:	1806d07a 	srli	r3,r3,1
    ac8c:	280ad07a 	srli	r5,r5,1
    ac90:	183ffa1e 	bne	r3,zero,ac7c <_gp+0xffff5ce8>
    ac94:	3000011e 	bne	r6,zero,ac9c <udivmodsi4+0x54>
    ac98:	f800283a 	ret
    ac9c:	2005883a 	mov	r2,r4
    aca0:	f800283a 	ret
    aca4:	0005883a 	mov	r2,zero
    aca8:	003ffa06 	br	ac94 <_gp+0xffff5d00>
    acac:	00c00044 	movi	r3,1
    acb0:	003ff106 	br	ac78 <_gp+0xffff5ce4>

0000acb4 <__divsi3>:
    acb4:	defffe04 	addi	sp,sp,-8
    acb8:	dfc00115 	stw	ra,4(sp)
    acbc:	dc000015 	stw	r16,0(sp)
    acc0:	20000b16 	blt	r4,zero,acf0 <__divsi3+0x3c>
    acc4:	0021883a 	mov	r16,zero
    acc8:	28000c16 	blt	r5,zero,acfc <__divsi3+0x48>
    accc:	000d883a 	mov	r6,zero
    acd0:	000ac480 	call	ac48 <udivmodsi4>
    acd4:	0407c83a 	sub	r3,zero,r16
    acd8:	1884f03a 	xor	r2,r3,r2
    acdc:	1405883a 	add	r2,r2,r16
    ace0:	dfc00117 	ldw	ra,4(sp)
    ace4:	dc000017 	ldw	r16,0(sp)
    ace8:	dec00204 	addi	sp,sp,8
    acec:	f800283a 	ret
    acf0:	0109c83a 	sub	r4,zero,r4
    acf4:	04000044 	movi	r16,1
    acf8:	283ff40e 	bge	r5,zero,accc <_gp+0xffff5d38>
    acfc:	014bc83a 	sub	r5,zero,r5
    ad00:	8400005c 	xori	r16,r16,1
    ad04:	003ff106 	br	accc <_gp+0xffff5d38>

0000ad08 <__modsi3>:
    ad08:	defffd04 	addi	sp,sp,-12
    ad0c:	dfc00215 	stw	ra,8(sp)
    ad10:	dc400115 	stw	r17,4(sp)
    ad14:	dc000015 	stw	r16,0(sp)
    ad18:	20000c16 	blt	r4,zero,ad4c <__modsi3+0x44>
    ad1c:	0023883a 	mov	r17,zero
    ad20:	0021883a 	mov	r16,zero
    ad24:	28000d16 	blt	r5,zero,ad5c <__modsi3+0x54>
    ad28:	01800044 	movi	r6,1
    ad2c:	000ac480 	call	ac48 <udivmodsi4>
    ad30:	1404f03a 	xor	r2,r2,r16
    ad34:	8885883a 	add	r2,r17,r2
    ad38:	dfc00217 	ldw	ra,8(sp)
    ad3c:	dc400117 	ldw	r17,4(sp)
    ad40:	dc000017 	ldw	r16,0(sp)
    ad44:	dec00304 	addi	sp,sp,12
    ad48:	f800283a 	ret
    ad4c:	0109c83a 	sub	r4,zero,r4
    ad50:	04400044 	movi	r17,1
    ad54:	043fffc4 	movi	r16,-1
    ad58:	283ff30e 	bge	r5,zero,ad28 <_gp+0xffff5d94>
    ad5c:	014bc83a 	sub	r5,zero,r5
    ad60:	003ff106 	br	ad28 <_gp+0xffff5d94>

0000ad64 <__udivsi3>:
    ad64:	000d883a 	mov	r6,zero
    ad68:	000ac481 	jmpi	ac48 <udivmodsi4>

0000ad6c <__umodsi3>:
    ad6c:	01800044 	movi	r6,1
    ad70:	000ac481 	jmpi	ac48 <udivmodsi4>

0000ad74 <__mulsi3>:
    ad74:	0005883a 	mov	r2,zero
    ad78:	20000726 	beq	r4,zero,ad98 <__mulsi3+0x24>
    ad7c:	20c0004c 	andi	r3,r4,1
    ad80:	2008d07a 	srli	r4,r4,1
    ad84:	18000126 	beq	r3,zero,ad8c <__mulsi3+0x18>
    ad88:	1145883a 	add	r2,r2,r5
    ad8c:	294b883a 	add	r5,r5,r5
    ad90:	203ffa1e 	bne	r4,zero,ad7c <_gp+0xffff5de8>
    ad94:	f800283a 	ret
    ad98:	f800283a 	ret

0000ad9c <memcpy>:
    ad9c:	deffff04 	addi	sp,sp,-4
    ada0:	dc000015 	stw	r16,0(sp)
    ada4:	00c003c4 	movi	r3,15
    ada8:	2005883a 	mov	r2,r4
    adac:	1980432e 	bgeu	r3,r6,aebc <memcpy+0x120>
    adb0:	2146b03a 	or	r3,r4,r5
    adb4:	18c000cc 	andi	r3,r3,3
    adb8:	1800421e 	bne	r3,zero,aec4 <memcpy+0x128>
    adbc:	343ffc04 	addi	r16,r6,-16
    adc0:	8020d13a 	srli	r16,r16,4
    adc4:	28c00104 	addi	r3,r5,4
    adc8:	23400104 	addi	r13,r4,4
    adcc:	801e913a 	slli	r15,r16,4
    add0:	2b000204 	addi	r12,r5,8
    add4:	22c00204 	addi	r11,r4,8
    add8:	7bc00504 	addi	r15,r15,20
    addc:	2a800304 	addi	r10,r5,12
    ade0:	22400304 	addi	r9,r4,12
    ade4:	2bdf883a 	add	r15,r5,r15
    ade8:	2811883a 	mov	r8,r5
    adec:	200f883a 	mov	r7,r4
    adf0:	41000017 	ldw	r4,0(r8)
    adf4:	39c00404 	addi	r7,r7,16
    adf8:	18c00404 	addi	r3,r3,16
    adfc:	393ffc15 	stw	r4,-16(r7)
    ae00:	1bbffc17 	ldw	r14,-16(r3)
    ae04:	6b400404 	addi	r13,r13,16
    ae08:	5ac00404 	addi	r11,r11,16
    ae0c:	6bbffc15 	stw	r14,-16(r13)
    ae10:	63800017 	ldw	r14,0(r12)
    ae14:	4a400404 	addi	r9,r9,16
    ae18:	42000404 	addi	r8,r8,16
    ae1c:	5bbffc15 	stw	r14,-16(r11)
    ae20:	53800017 	ldw	r14,0(r10)
    ae24:	63000404 	addi	r12,r12,16
    ae28:	52800404 	addi	r10,r10,16
    ae2c:	4bbffc15 	stw	r14,-16(r9)
    ae30:	1bffef1e 	bne	r3,r15,adf0 <_gp+0xffff5e5c>
    ae34:	81c00044 	addi	r7,r16,1
    ae38:	380e913a 	slli	r7,r7,4
    ae3c:	310003cc 	andi	r4,r6,15
    ae40:	02c000c4 	movi	r11,3
    ae44:	11c7883a 	add	r3,r2,r7
    ae48:	29cb883a 	add	r5,r5,r7
    ae4c:	59001f2e 	bgeu	r11,r4,aecc <memcpy+0x130>
    ae50:	1813883a 	mov	r9,r3
    ae54:	2811883a 	mov	r8,r5
    ae58:	200f883a 	mov	r7,r4
    ae5c:	42800017 	ldw	r10,0(r8)
    ae60:	4a400104 	addi	r9,r9,4
    ae64:	39ffff04 	addi	r7,r7,-4
    ae68:	4abfff15 	stw	r10,-4(r9)
    ae6c:	42000104 	addi	r8,r8,4
    ae70:	59fffa36 	bltu	r11,r7,ae5c <_gp+0xffff5ec8>
    ae74:	213fff04 	addi	r4,r4,-4
    ae78:	2008d0ba 	srli	r4,r4,2
    ae7c:	318000cc 	andi	r6,r6,3
    ae80:	21000044 	addi	r4,r4,1
    ae84:	2109883a 	add	r4,r4,r4
    ae88:	2109883a 	add	r4,r4,r4
    ae8c:	1907883a 	add	r3,r3,r4
    ae90:	290b883a 	add	r5,r5,r4
    ae94:	30000626 	beq	r6,zero,aeb0 <memcpy+0x114>
    ae98:	198d883a 	add	r6,r3,r6
    ae9c:	29c00003 	ldbu	r7,0(r5)
    aea0:	18c00044 	addi	r3,r3,1
    aea4:	29400044 	addi	r5,r5,1
    aea8:	19ffffc5 	stb	r7,-1(r3)
    aeac:	19bffb1e 	bne	r3,r6,ae9c <_gp+0xffff5f08>
    aeb0:	dc000017 	ldw	r16,0(sp)
    aeb4:	dec00104 	addi	sp,sp,4
    aeb8:	f800283a 	ret
    aebc:	2007883a 	mov	r3,r4
    aec0:	003ff406 	br	ae94 <_gp+0xffff5f00>
    aec4:	2007883a 	mov	r3,r4
    aec8:	003ff306 	br	ae98 <_gp+0xffff5f04>
    aecc:	200d883a 	mov	r6,r4
    aed0:	003ff006 	br	ae94 <_gp+0xffff5f00>

0000aed4 <memset>:
    aed4:	20c000cc 	andi	r3,r4,3
    aed8:	2005883a 	mov	r2,r4
    aedc:	18004326 	beq	r3,zero,afec <memset+0x118>
    aee0:	31ffffc4 	addi	r7,r6,-1
    aee4:	30004026 	beq	r6,zero,afe8 <memset+0x114>
    aee8:	2813883a 	mov	r9,r5
    aeec:	200d883a 	mov	r6,r4
    aef0:	2007883a 	mov	r3,r4
    aef4:	00000406 	br	af08 <memset+0x34>
    aef8:	3a3fffc4 	addi	r8,r7,-1
    aefc:	31800044 	addi	r6,r6,1
    af00:	38003926 	beq	r7,zero,afe8 <memset+0x114>
    af04:	400f883a 	mov	r7,r8
    af08:	18c00044 	addi	r3,r3,1
    af0c:	32400005 	stb	r9,0(r6)
    af10:	1a0000cc 	andi	r8,r3,3
    af14:	403ff81e 	bne	r8,zero,aef8 <_gp+0xffff5f64>
    af18:	010000c4 	movi	r4,3
    af1c:	21c02d2e 	bgeu	r4,r7,afd4 <memset+0x100>
    af20:	29803fcc 	andi	r6,r5,255
    af24:	3008923a 	slli	r4,r6,8
    af28:	218cb03a 	or	r6,r4,r6
    af2c:	3008943a 	slli	r4,r6,16
    af30:	218cb03a 	or	r6,r4,r6
    af34:	010003c4 	movi	r4,15
    af38:	21c0182e 	bgeu	r4,r7,af9c <memset+0xc8>
    af3c:	3b3ffc04 	addi	r12,r7,-16
    af40:	6018d13a 	srli	r12,r12,4
    af44:	1a000104 	addi	r8,r3,4
    af48:	1ac00204 	addi	r11,r3,8
    af4c:	6008913a 	slli	r4,r12,4
    af50:	1a800304 	addi	r10,r3,12
    af54:	1813883a 	mov	r9,r3
    af58:	21000504 	addi	r4,r4,20
    af5c:	1909883a 	add	r4,r3,r4
    af60:	49800015 	stw	r6,0(r9)
    af64:	41800015 	stw	r6,0(r8)
    af68:	59800015 	stw	r6,0(r11)
    af6c:	51800015 	stw	r6,0(r10)
    af70:	42000404 	addi	r8,r8,16
    af74:	4a400404 	addi	r9,r9,16
    af78:	5ac00404 	addi	r11,r11,16
    af7c:	52800404 	addi	r10,r10,16
    af80:	413ff71e 	bne	r8,r4,af60 <_gp+0xffff5fcc>
    af84:	63000044 	addi	r12,r12,1
    af88:	6018913a 	slli	r12,r12,4
    af8c:	39c003cc 	andi	r7,r7,15
    af90:	010000c4 	movi	r4,3
    af94:	1b07883a 	add	r3,r3,r12
    af98:	21c00e2e 	bgeu	r4,r7,afd4 <memset+0x100>
    af9c:	1813883a 	mov	r9,r3
    afa0:	3811883a 	mov	r8,r7
    afa4:	010000c4 	movi	r4,3
    afa8:	49800015 	stw	r6,0(r9)
    afac:	423fff04 	addi	r8,r8,-4
    afb0:	4a400104 	addi	r9,r9,4
    afb4:	223ffc36 	bltu	r4,r8,afa8 <_gp+0xffff6014>
    afb8:	393fff04 	addi	r4,r7,-4
    afbc:	2008d0ba 	srli	r4,r4,2
    afc0:	39c000cc 	andi	r7,r7,3
    afc4:	21000044 	addi	r4,r4,1
    afc8:	2109883a 	add	r4,r4,r4
    afcc:	2109883a 	add	r4,r4,r4
    afd0:	1907883a 	add	r3,r3,r4
    afd4:	38000426 	beq	r7,zero,afe8 <memset+0x114>
    afd8:	19cf883a 	add	r7,r3,r7
    afdc:	19400005 	stb	r5,0(r3)
    afe0:	18c00044 	addi	r3,r3,1
    afe4:	19fffd1e 	bne	r3,r7,afdc <_gp+0xffff6048>
    afe8:	f800283a 	ret
    afec:	2007883a 	mov	r3,r4
    aff0:	300f883a 	mov	r7,r6
    aff4:	003fc806 	br	af18 <_gp+0xffff5f84>

0000aff8 <alt_load_section>:
    aff8:	defffc04 	addi	sp,sp,-16
    affc:	df000315 	stw	fp,12(sp)
    b000:	df000304 	addi	fp,sp,12
    b004:	e13ffd15 	stw	r4,-12(fp)
    b008:	e17ffe15 	stw	r5,-8(fp)
    b00c:	e1bfff15 	stw	r6,-4(fp)
    b010:	e0fffe17 	ldw	r3,-8(fp)
    b014:	e0bffd17 	ldw	r2,-12(fp)
    b018:	18800c26 	beq	r3,r2,b04c <alt_load_section+0x54>
    b01c:	00000806 	br	b040 <alt_load_section+0x48>
    b020:	e0bffe17 	ldw	r2,-8(fp)
    b024:	10c00104 	addi	r3,r2,4
    b028:	e0fffe15 	stw	r3,-8(fp)
    b02c:	e0fffd17 	ldw	r3,-12(fp)
    b030:	19000104 	addi	r4,r3,4
    b034:	e13ffd15 	stw	r4,-12(fp)
    b038:	18c00017 	ldw	r3,0(r3)
    b03c:	10c00015 	stw	r3,0(r2)
    b040:	e0fffe17 	ldw	r3,-8(fp)
    b044:	e0bfff17 	ldw	r2,-4(fp)
    b048:	18bff51e 	bne	r3,r2,b020 <_gp+0xffff608c>
    b04c:	e037883a 	mov	sp,fp
    b050:	df000017 	ldw	fp,0(sp)
    b054:	dec00104 	addi	sp,sp,4
    b058:	f800283a 	ret

0000b05c <alt_load>:
    b05c:	defffe04 	addi	sp,sp,-8
    b060:	dfc00115 	stw	ra,4(sp)
    b064:	df000015 	stw	fp,0(sp)
    b068:	d839883a 	mov	fp,sp
    b06c:	01000074 	movhi	r4,1
    b070:	2133f204 	addi	r4,r4,-12344
    b074:	01400074 	movhi	r5,1
    b078:	29724104 	addi	r5,r5,-14076
    b07c:	01800074 	movhi	r6,1
    b080:	31b3f204 	addi	r6,r6,-12344
    b084:	000aff80 	call	aff8 <alt_load_section>
    b088:	01000074 	movhi	r4,1
    b08c:	21200804 	addi	r4,r4,-32736
    b090:	01400074 	movhi	r5,1
    b094:	29600804 	addi	r5,r5,-32736
    b098:	01800074 	movhi	r6,1
    b09c:	31a08b04 	addi	r6,r6,-32212
    b0a0:	000aff80 	call	aff8 <alt_load_section>
    b0a4:	01000074 	movhi	r4,1
    b0a8:	21323a04 	addi	r4,r4,-14104
    b0ac:	01400074 	movhi	r5,1
    b0b0:	29723a04 	addi	r5,r5,-14104
    b0b4:	01800074 	movhi	r6,1
    b0b8:	31b24104 	addi	r6,r6,-14076
    b0bc:	000aff80 	call	aff8 <alt_load_section>
    b0c0:	000bfa40 	call	bfa4 <alt_dcache_flush_all>
    b0c4:	000c1980 	call	c198 <alt_icache_flush_all>
    b0c8:	e037883a 	mov	sp,fp
    b0cc:	dfc00117 	ldw	ra,4(sp)
    b0d0:	df000017 	ldw	fp,0(sp)
    b0d4:	dec00204 	addi	sp,sp,8
    b0d8:	f800283a 	ret

0000b0dc <alt_main>:
    b0dc:	defffd04 	addi	sp,sp,-12
    b0e0:	dfc00215 	stw	ra,8(sp)
    b0e4:	df000115 	stw	fp,4(sp)
    b0e8:	df000104 	addi	fp,sp,4
    b0ec:	0009883a 	mov	r4,zero
    b0f0:	000b1a00 	call	b1a0 <alt_irq_init>
    b0f4:	0001883a 	nop
    b0f8:	000b1d40 	call	b1d4 <alt_sys_init>
    b0fc:	000c0e00 	call	c0e0 <_do_ctors>
    b100:	01000074 	movhi	r4,1
    b104:	21304f04 	addi	r4,r4,-16068
    b108:	000c5c00 	call	c5c0 <atexit>
    b10c:	d121cb17 	ldw	r4,-30932(gp)
    b110:	d0e1cc17 	ldw	r3,-30928(gp)
    b114:	d0a1cd17 	ldw	r2,-30924(gp)
    b118:	180b883a 	mov	r5,r3
    b11c:	100d883a 	mov	r6,r2
    b120:	00089dc0 	call	89dc <main>
    b124:	e0bfff15 	stw	r2,-4(fp)
    b128:	01000044 	movi	r4,1
    b12c:	000becc0 	call	becc <close>
    b130:	e13fff17 	ldw	r4,-4(fp)
    b134:	000c5d40 	call	c5d4 <exit>

0000b138 <usleep>:
    b138:	defffd04 	addi	sp,sp,-12
    b13c:	dfc00215 	stw	ra,8(sp)
    b140:	df000115 	stw	fp,4(sp)
    b144:	df000104 	addi	fp,sp,4
    b148:	e13fff15 	stw	r4,-4(fp)
    b14c:	e13fff17 	ldw	r4,-4(fp)
    b150:	000bd240 	call	bd24 <alt_busy_sleep>
    b154:	e037883a 	mov	sp,fp
    b158:	dfc00117 	ldw	ra,4(sp)
    b15c:	df000017 	ldw	fp,0(sp)
    b160:	dec00204 	addi	sp,sp,8
    b164:	f800283a 	ret

0000b168 <alt_dev_reg>:
    b168:	defffd04 	addi	sp,sp,-12
    b16c:	dfc00215 	stw	ra,8(sp)
    b170:	df000115 	stw	fp,4(sp)
    b174:	df000104 	addi	fp,sp,4
    b178:	e13fff15 	stw	r4,-4(fp)
    b17c:	e13fff17 	ldw	r4,-4(fp)
    b180:	01400074 	movhi	r5,1
    b184:	2973eb04 	addi	r5,r5,-12372
    b188:	000c03c0 	call	c03c <alt_dev_llist_insert>
    b18c:	e037883a 	mov	sp,fp
    b190:	dfc00117 	ldw	ra,4(sp)
    b194:	df000017 	ldw	fp,0(sp)
    b198:	dec00204 	addi	sp,sp,8
    b19c:	f800283a 	ret

0000b1a0 <alt_irq_init>:
    b1a0:	defffd04 	addi	sp,sp,-12
    b1a4:	dfc00215 	stw	ra,8(sp)
    b1a8:	df000115 	stw	fp,4(sp)
    b1ac:	df000104 	addi	fp,sp,4
    b1b0:	e13fff15 	stw	r4,-4(fp)
    b1b4:	000c5040 	call	c504 <altera_nios2_gen2_irq_init>
    b1b8:	00800044 	movi	r2,1
    b1bc:	1001703a 	wrctl	status,r2
    b1c0:	e037883a 	mov	sp,fp
    b1c4:	dfc00117 	ldw	ra,4(sp)
    b1c8:	df000017 	ldw	fp,0(sp)
    b1cc:	dec00204 	addi	sp,sp,8
    b1d0:	f800283a 	ret

0000b1d4 <alt_sys_init>:
    b1d4:	defffe04 	addi	sp,sp,-8
    b1d8:	dfc00115 	stw	ra,4(sp)
    b1dc:	df000015 	stw	fp,0(sp)
    b1e0:	d839883a 	mov	fp,sp
    b1e4:	0001883a 	nop
    b1e8:	0001883a 	nop
    b1ec:	0001883a 	nop
    b1f0:	0001883a 	nop
    b1f4:	0001883a 	nop
    b1f8:	01000074 	movhi	r4,1
    b1fc:	21324b04 	addi	r4,r4,-14036
    b200:	000b883a 	mov	r5,zero
    b204:	01800044 	movi	r6,1
    b208:	000b5440 	call	b544 <altera_avalon_uart_init>
    b20c:	01000074 	movhi	r4,1
    b210:	21324104 	addi	r4,r4,-14076
    b214:	000b1680 	call	b168 <alt_dev_reg>
    b218:	0001883a 	nop
    b21c:	e037883a 	mov	sp,fp
    b220:	dfc00117 	ldw	ra,4(sp)
    b224:	df000017 	ldw	fp,0(sp)
    b228:	dec00204 	addi	sp,sp,8
    b22c:	f800283a 	ret

0000b230 <alt_avalon_spi_command>:
    b230:	defff404 	addi	sp,sp,-48
    b234:	df000b15 	stw	fp,44(sp)
    b238:	df000b04 	addi	fp,sp,44
    b23c:	e13ffc15 	stw	r4,-16(fp)
    b240:	e17ffd15 	stw	r5,-12(fp)
    b244:	e1bffe15 	stw	r6,-8(fp)
    b248:	e1ffff15 	stw	r7,-4(fp)
    b24c:	e0ffff17 	ldw	r3,-4(fp)
    b250:	e0bffe17 	ldw	r2,-8(fp)
    b254:	1885883a 	add	r2,r3,r2
    b258:	e0bff815 	stw	r2,-32(fp)
    b25c:	e0c00217 	ldw	r3,8(fp)
    b260:	e0800117 	ldw	r2,4(fp)
    b264:	1885883a 	add	r2,r3,r2
    b268:	e0bff915 	stw	r2,-28(fp)
    b26c:	e0800117 	ldw	r2,4(fp)
    b270:	e0bff515 	stw	r2,-44(fp)
    b274:	e0bffe17 	ldw	r2,-8(fp)
    b278:	e0bff615 	stw	r2,-40(fp)
    b27c:	00800044 	movi	r2,1
    b280:	e0bff715 	stw	r2,-36(fp)
    b284:	e0bffc17 	ldw	r2,-16(fp)
    b288:	10800504 	addi	r2,r2,20
    b28c:	1009883a 	mov	r4,r2
    b290:	e0bffd17 	ldw	r2,-12(fp)
    b294:	00c00044 	movi	r3,1
    b298:	1884983a 	sll	r2,r3,r2
    b29c:	20800035 	stwio	r2,0(r4)
    b2a0:	e0800317 	ldw	r2,12(fp)
    b2a4:	1080008c 	andi	r2,r2,2
    b2a8:	1000051e 	bne	r2,zero,b2c0 <alt_avalon_spi_command+0x90>
    b2ac:	e0bffc17 	ldw	r2,-16(fp)
    b2b0:	10800304 	addi	r2,r2,12
    b2b4:	1007883a 	mov	r3,r2
    b2b8:	00810004 	movi	r2,1024
    b2bc:	18800035 	stwio	r2,0(r3)
    b2c0:	e0bffc17 	ldw	r2,-16(fp)
    b2c4:	10800037 	ldwio	r2,0(r2)
    b2c8:	e0bffc17 	ldw	r2,-16(fp)
    b2cc:	10800204 	addi	r2,r2,8
    b2d0:	10800037 	ldwio	r2,0(r2)
    b2d4:	e0bffa15 	stw	r2,-24(fp)
    b2d8:	e0bffa17 	ldw	r2,-24(fp)
    b2dc:	1080100c 	andi	r2,r2,64
    b2e0:	10000226 	beq	r2,zero,b2ec <alt_avalon_spi_command+0xbc>
    b2e4:	e0bff717 	ldw	r2,-36(fp)
    b2e8:	1000031e 	bne	r2,zero,b2f8 <alt_avalon_spi_command+0xc8>
    b2ec:	e0bffa17 	ldw	r2,-24(fp)
    b2f0:	1080200c 	andi	r2,r2,128
    b2f4:	103ff426 	beq	r2,zero,b2c8 <_gp+0xffff6334>
    b2f8:	e0bffa17 	ldw	r2,-24(fp)
    b2fc:	1080100c 	andi	r2,r2,64
    b300:	10001e26 	beq	r2,zero,b37c <alt_avalon_spi_command+0x14c>
    b304:	e0bff717 	ldw	r2,-36(fp)
    b308:	00801c0e 	bge	zero,r2,b37c <alt_avalon_spi_command+0x14c>
    b30c:	e0bff717 	ldw	r2,-36(fp)
    b310:	10bfffc4 	addi	r2,r2,-1
    b314:	e0bff715 	stw	r2,-36(fp)
    b318:	e0ffff17 	ldw	r3,-4(fp)
    b31c:	e0bff817 	ldw	r2,-32(fp)
    b320:	18800a2e 	bgeu	r3,r2,b34c <alt_avalon_spi_command+0x11c>
    b324:	e0bffc17 	ldw	r2,-16(fp)
    b328:	10800104 	addi	r2,r2,4
    b32c:	1009883a 	mov	r4,r2
    b330:	e0bfff17 	ldw	r2,-4(fp)
    b334:	10c00044 	addi	r3,r2,1
    b338:	e0ffff15 	stw	r3,-4(fp)
    b33c:	10800003 	ldbu	r2,0(r2)
    b340:	10803fcc 	andi	r2,r2,255
    b344:	20800035 	stwio	r2,0(r4)
    b348:	00000c06 	br	b37c <alt_avalon_spi_command+0x14c>
    b34c:	e0bff517 	ldw	r2,-44(fp)
    b350:	10000826 	beq	r2,zero,b374 <alt_avalon_spi_command+0x144>
    b354:	e0bff517 	ldw	r2,-44(fp)
    b358:	10bfffc4 	addi	r2,r2,-1
    b35c:	e0bff515 	stw	r2,-44(fp)
    b360:	e0bffc17 	ldw	r2,-16(fp)
    b364:	10800104 	addi	r2,r2,4
    b368:	0007883a 	mov	r3,zero
    b36c:	10c00035 	stwio	r3,0(r2)
    b370:	00000206 	br	b37c <alt_avalon_spi_command+0x14c>
    b374:	00bf0004 	movi	r2,-1024
    b378:	e0bff715 	stw	r2,-36(fp)
    b37c:	e0bffa17 	ldw	r2,-24(fp)
    b380:	1080200c 	andi	r2,r2,128
    b384:	10001726 	beq	r2,zero,b3e4 <alt_avalon_spi_command+0x1b4>
    b388:	e0bffc17 	ldw	r2,-16(fp)
    b38c:	10800037 	ldwio	r2,0(r2)
    b390:	e0bffb15 	stw	r2,-20(fp)
    b394:	e0bff617 	ldw	r2,-40(fp)
    b398:	10000426 	beq	r2,zero,b3ac <alt_avalon_spi_command+0x17c>
    b39c:	e0bff617 	ldw	r2,-40(fp)
    b3a0:	10bfffc4 	addi	r2,r2,-1
    b3a4:	e0bff615 	stw	r2,-40(fp)
    b3a8:	00000506 	br	b3c0 <alt_avalon_spi_command+0x190>
    b3ac:	e0800217 	ldw	r2,8(fp)
    b3b0:	10c00044 	addi	r3,r2,1
    b3b4:	e0c00215 	stw	r3,8(fp)
    b3b8:	e0fffb17 	ldw	r3,-20(fp)
    b3bc:	10c00005 	stb	r3,0(r2)
    b3c0:	e0bff717 	ldw	r2,-36(fp)
    b3c4:	10800044 	addi	r2,r2,1
    b3c8:	e0bff715 	stw	r2,-36(fp)
    b3cc:	e0bff617 	ldw	r2,-40(fp)
    b3d0:	1000041e 	bne	r2,zero,b3e4 <alt_avalon_spi_command+0x1b4>
    b3d4:	e0c00217 	ldw	r3,8(fp)
    b3d8:	e0bff917 	ldw	r2,-28(fp)
    b3dc:	1880011e 	bne	r3,r2,b3e4 <alt_avalon_spi_command+0x1b4>
    b3e0:	00000106 	br	b3e8 <alt_avalon_spi_command+0x1b8>
    b3e4:	003fb806 	br	b2c8 <_gp+0xffff6334>
    b3e8:	e0bffc17 	ldw	r2,-16(fp)
    b3ec:	10800204 	addi	r2,r2,8
    b3f0:	10800037 	ldwio	r2,0(r2)
    b3f4:	e0bffa15 	stw	r2,-24(fp)
    b3f8:	e0bffa17 	ldw	r2,-24(fp)
    b3fc:	1080080c 	andi	r2,r2,32
    b400:	103ff926 	beq	r2,zero,b3e8 <_gp+0xffff6454>
    b404:	e0800317 	ldw	r2,12(fp)
    b408:	1080004c 	andi	r2,r2,1
    b40c:	1000041e 	bne	r2,zero,b420 <alt_avalon_spi_command+0x1f0>
    b410:	e0bffc17 	ldw	r2,-16(fp)
    b414:	10800304 	addi	r2,r2,12
    b418:	0007883a 	mov	r3,zero
    b41c:	10c00035 	stwio	r3,0(r2)
    b420:	e0800117 	ldw	r2,4(fp)
    b424:	e037883a 	mov	sp,fp
    b428:	df000017 	ldw	fp,0(sp)
    b42c:	dec00104 	addi	sp,sp,4
    b430:	f800283a 	ret

0000b434 <altera_avalon_uart_read_fd>:
    b434:	defffa04 	addi	sp,sp,-24
    b438:	dfc00515 	stw	ra,20(sp)
    b43c:	df000415 	stw	fp,16(sp)
    b440:	df000404 	addi	fp,sp,16
    b444:	e13ffd15 	stw	r4,-12(fp)
    b448:	e17ffe15 	stw	r5,-8(fp)
    b44c:	e1bfff15 	stw	r6,-4(fp)
    b450:	e0bffd17 	ldw	r2,-12(fp)
    b454:	10800017 	ldw	r2,0(r2)
    b458:	e0bffc15 	stw	r2,-16(fp)
    b45c:	e0bffc17 	ldw	r2,-16(fp)
    b460:	10c00a04 	addi	r3,r2,40
    b464:	e0bffd17 	ldw	r2,-12(fp)
    b468:	10800217 	ldw	r2,8(r2)
    b46c:	1809883a 	mov	r4,r3
    b470:	e17ffe17 	ldw	r5,-8(fp)
    b474:	e1bfff17 	ldw	r6,-4(fp)
    b478:	100f883a 	mov	r7,r2
    b47c:	000b94c0 	call	b94c <altera_avalon_uart_read>
    b480:	e037883a 	mov	sp,fp
    b484:	dfc00117 	ldw	ra,4(sp)
    b488:	df000017 	ldw	fp,0(sp)
    b48c:	dec00204 	addi	sp,sp,8
    b490:	f800283a 	ret

0000b494 <altera_avalon_uart_write_fd>:
    b494:	defffa04 	addi	sp,sp,-24
    b498:	dfc00515 	stw	ra,20(sp)
    b49c:	df000415 	stw	fp,16(sp)
    b4a0:	df000404 	addi	fp,sp,16
    b4a4:	e13ffd15 	stw	r4,-12(fp)
    b4a8:	e17ffe15 	stw	r5,-8(fp)
    b4ac:	e1bfff15 	stw	r6,-4(fp)
    b4b0:	e0bffd17 	ldw	r2,-12(fp)
    b4b4:	10800017 	ldw	r2,0(r2)
    b4b8:	e0bffc15 	stw	r2,-16(fp)
    b4bc:	e0bffc17 	ldw	r2,-16(fp)
    b4c0:	10c00a04 	addi	r3,r2,40
    b4c4:	e0bffd17 	ldw	r2,-12(fp)
    b4c8:	10800217 	ldw	r2,8(r2)
    b4cc:	1809883a 	mov	r4,r3
    b4d0:	e17ffe17 	ldw	r5,-8(fp)
    b4d4:	e1bfff17 	ldw	r6,-4(fp)
    b4d8:	100f883a 	mov	r7,r2
    b4dc:	000bb780 	call	bb78 <altera_avalon_uart_write>
    b4e0:	e037883a 	mov	sp,fp
    b4e4:	dfc00117 	ldw	ra,4(sp)
    b4e8:	df000017 	ldw	fp,0(sp)
    b4ec:	dec00204 	addi	sp,sp,8
    b4f0:	f800283a 	ret

0000b4f4 <altera_avalon_uart_close_fd>:
    b4f4:	defffc04 	addi	sp,sp,-16
    b4f8:	dfc00315 	stw	ra,12(sp)
    b4fc:	df000215 	stw	fp,8(sp)
    b500:	df000204 	addi	fp,sp,8
    b504:	e13fff15 	stw	r4,-4(fp)
    b508:	e0bfff17 	ldw	r2,-4(fp)
    b50c:	10800017 	ldw	r2,0(r2)
    b510:	e0bffe15 	stw	r2,-8(fp)
    b514:	e0bffe17 	ldw	r2,-8(fp)
    b518:	10c00a04 	addi	r3,r2,40
    b51c:	e0bfff17 	ldw	r2,-4(fp)
    b520:	10800217 	ldw	r2,8(r2)
    b524:	1809883a 	mov	r4,r3
    b528:	100b883a 	mov	r5,r2
    b52c:	000b8a80 	call	b8a8 <altera_avalon_uart_close>
    b530:	e037883a 	mov	sp,fp
    b534:	dfc00117 	ldw	ra,4(sp)
    b538:	df000017 	ldw	fp,0(sp)
    b53c:	dec00204 	addi	sp,sp,8
    b540:	f800283a 	ret

0000b544 <altera_avalon_uart_init>:
    b544:	defff804 	addi	sp,sp,-32
    b548:	dfc00715 	stw	ra,28(sp)
    b54c:	df000615 	stw	fp,24(sp)
    b550:	df000604 	addi	fp,sp,24
    b554:	e13ffd15 	stw	r4,-12(fp)
    b558:	e17ffe15 	stw	r5,-8(fp)
    b55c:	e1bfff15 	stw	r6,-4(fp)
    b560:	e0bffd17 	ldw	r2,-12(fp)
    b564:	10800017 	ldw	r2,0(r2)
    b568:	e0bffb15 	stw	r2,-20(fp)
    b56c:	0005883a 	mov	r2,zero
    b570:	1000041e 	bne	r2,zero,b584 <altera_avalon_uart_init+0x40>
    b574:	0005883a 	mov	r2,zero
    b578:	1000021e 	bne	r2,zero,b584 <altera_avalon_uart_init+0x40>
    b57c:	0005883a 	mov	r2,zero
    b580:	10000226 	beq	r2,zero,b58c <altera_avalon_uart_init+0x48>
    b584:	00800044 	movi	r2,1
    b588:	00000106 	br	b590 <altera_avalon_uart_init+0x4c>
    b58c:	0005883a 	mov	r2,zero
    b590:	e0bffc15 	stw	r2,-16(fp)
    b594:	e0bffc17 	ldw	r2,-16(fp)
    b598:	10000f1e 	bne	r2,zero,b5d8 <altera_avalon_uart_init+0x94>
    b59c:	e0bffd17 	ldw	r2,-12(fp)
    b5a0:	00c32004 	movi	r3,3200
    b5a4:	10c00115 	stw	r3,4(r2)
    b5a8:	e0bffb17 	ldw	r2,-20(fp)
    b5ac:	10800304 	addi	r2,r2,12
    b5b0:	e0fffd17 	ldw	r3,-12(fp)
    b5b4:	18c00117 	ldw	r3,4(r3)
    b5b8:	10c00035 	stwio	r3,0(r2)
    b5bc:	d8000015 	stw	zero,0(sp)
    b5c0:	e13ffe17 	ldw	r4,-8(fp)
    b5c4:	e17fff17 	ldw	r5,-4(fp)
    b5c8:	01800074 	movhi	r6,1
    b5cc:	31ad7b04 	addi	r6,r6,-18964
    b5d0:	e1fffd17 	ldw	r7,-12(fp)
    b5d4:	000c1b40 	call	c1b4 <alt_ic_isr_register>
    b5d8:	e037883a 	mov	sp,fp
    b5dc:	dfc00117 	ldw	ra,4(sp)
    b5e0:	df000017 	ldw	fp,0(sp)
    b5e4:	dec00204 	addi	sp,sp,8
    b5e8:	f800283a 	ret

0000b5ec <altera_avalon_uart_irq>:
    b5ec:	defffa04 	addi	sp,sp,-24
    b5f0:	dfc00515 	stw	ra,20(sp)
    b5f4:	df000415 	stw	fp,16(sp)
    b5f8:	df000404 	addi	fp,sp,16
    b5fc:	e13fff15 	stw	r4,-4(fp)
    b600:	e0bfff17 	ldw	r2,-4(fp)
    b604:	e0bffc15 	stw	r2,-16(fp)
    b608:	e0bffc17 	ldw	r2,-16(fp)
    b60c:	10800017 	ldw	r2,0(r2)
    b610:	e0bffd15 	stw	r2,-12(fp)
    b614:	e0bffd17 	ldw	r2,-12(fp)
    b618:	10800204 	addi	r2,r2,8
    b61c:	10800037 	ldwio	r2,0(r2)
    b620:	e0bffe15 	stw	r2,-8(fp)
    b624:	e0bffd17 	ldw	r2,-12(fp)
    b628:	10800204 	addi	r2,r2,8
    b62c:	0007883a 	mov	r3,zero
    b630:	10c00035 	stwio	r3,0(r2)
    b634:	e0bffd17 	ldw	r2,-12(fp)
    b638:	10800204 	addi	r2,r2,8
    b63c:	10800037 	ldwio	r2,0(r2)
    b640:	e0bffe17 	ldw	r2,-8(fp)
    b644:	1080200c 	andi	r2,r2,128
    b648:	10000326 	beq	r2,zero,b658 <altera_avalon_uart_irq+0x6c>
    b64c:	e13ffc17 	ldw	r4,-16(fp)
    b650:	e17ffe17 	ldw	r5,-8(fp)
    b654:	000b6840 	call	b684 <altera_avalon_uart_rxirq>
    b658:	e0bffe17 	ldw	r2,-8(fp)
    b65c:	1081100c 	andi	r2,r2,1088
    b660:	10000326 	beq	r2,zero,b670 <altera_avalon_uart_irq+0x84>
    b664:	e13ffc17 	ldw	r4,-16(fp)
    b668:	e17ffe17 	ldw	r5,-8(fp)
    b66c:	000b7640 	call	b764 <altera_avalon_uart_txirq>
    b670:	e037883a 	mov	sp,fp
    b674:	dfc00117 	ldw	ra,4(sp)
    b678:	df000017 	ldw	fp,0(sp)
    b67c:	dec00204 	addi	sp,sp,8
    b680:	f800283a 	ret

0000b684 <altera_avalon_uart_rxirq>:
    b684:	defffc04 	addi	sp,sp,-16
    b688:	df000315 	stw	fp,12(sp)
    b68c:	df000304 	addi	fp,sp,12
    b690:	e13ffe15 	stw	r4,-8(fp)
    b694:	e17fff15 	stw	r5,-4(fp)
    b698:	e0bfff17 	ldw	r2,-4(fp)
    b69c:	108000cc 	andi	r2,r2,3
    b6a0:	10000126 	beq	r2,zero,b6a8 <altera_avalon_uart_rxirq+0x24>
    b6a4:	00002b06 	br	b754 <altera_avalon_uart_rxirq+0xd0>
    b6a8:	e0bffe17 	ldw	r2,-8(fp)
    b6ac:	10800317 	ldw	r2,12(r2)
    b6b0:	e0bffe17 	ldw	r2,-8(fp)
    b6b4:	10800217 	ldw	r2,8(r2)
    b6b8:	e0bffe17 	ldw	r2,-8(fp)
    b6bc:	10800317 	ldw	r2,12(r2)
    b6c0:	10800044 	addi	r2,r2,1
    b6c4:	10800fcc 	andi	r2,r2,63
    b6c8:	e0bffd15 	stw	r2,-12(fp)
    b6cc:	e0bffe17 	ldw	r2,-8(fp)
    b6d0:	10800317 	ldw	r2,12(r2)
    b6d4:	e0fffe17 	ldw	r3,-8(fp)
    b6d8:	18c00017 	ldw	r3,0(r3)
    b6dc:	18c00037 	ldwio	r3,0(r3)
    b6e0:	1809883a 	mov	r4,r3
    b6e4:	e0fffe17 	ldw	r3,-8(fp)
    b6e8:	1885883a 	add	r2,r3,r2
    b6ec:	10800704 	addi	r2,r2,28
    b6f0:	11000005 	stb	r4,0(r2)
    b6f4:	e0bffe17 	ldw	r2,-8(fp)
    b6f8:	e0fffd17 	ldw	r3,-12(fp)
    b6fc:	10c00315 	stw	r3,12(r2)
    b700:	e0bffe17 	ldw	r2,-8(fp)
    b704:	10800317 	ldw	r2,12(r2)
    b708:	10800044 	addi	r2,r2,1
    b70c:	10800fcc 	andi	r2,r2,63
    b710:	e0bffd15 	stw	r2,-12(fp)
    b714:	e0bffe17 	ldw	r2,-8(fp)
    b718:	10c00217 	ldw	r3,8(r2)
    b71c:	e0bffd17 	ldw	r2,-12(fp)
    b720:	18800c1e 	bne	r3,r2,b754 <altera_avalon_uart_rxirq+0xd0>
    b724:	e0bffe17 	ldw	r2,-8(fp)
    b728:	10c00117 	ldw	r3,4(r2)
    b72c:	00bfdfc4 	movi	r2,-129
    b730:	1886703a 	and	r3,r3,r2
    b734:	e0bffe17 	ldw	r2,-8(fp)
    b738:	10c00115 	stw	r3,4(r2)
    b73c:	e0bffe17 	ldw	r2,-8(fp)
    b740:	10800017 	ldw	r2,0(r2)
    b744:	10800304 	addi	r2,r2,12
    b748:	e0fffe17 	ldw	r3,-8(fp)
    b74c:	18c00117 	ldw	r3,4(r3)
    b750:	10c00035 	stwio	r3,0(r2)
    b754:	e037883a 	mov	sp,fp
    b758:	df000017 	ldw	fp,0(sp)
    b75c:	dec00104 	addi	sp,sp,4
    b760:	f800283a 	ret

0000b764 <altera_avalon_uart_txirq>:
    b764:	defffb04 	addi	sp,sp,-20
    b768:	df000415 	stw	fp,16(sp)
    b76c:	df000404 	addi	fp,sp,16
    b770:	e13ffc15 	stw	r4,-16(fp)
    b774:	e17ffd15 	stw	r5,-12(fp)
    b778:	e0bffc17 	ldw	r2,-16(fp)
    b77c:	10c00417 	ldw	r3,16(r2)
    b780:	e0bffc17 	ldw	r2,-16(fp)
    b784:	10800517 	ldw	r2,20(r2)
    b788:	18803226 	beq	r3,r2,b854 <altera_avalon_uart_txirq+0xf0>
    b78c:	e0bffc17 	ldw	r2,-16(fp)
    b790:	10800617 	ldw	r2,24(r2)
    b794:	1080008c 	andi	r2,r2,2
    b798:	10000326 	beq	r2,zero,b7a8 <altera_avalon_uart_txirq+0x44>
    b79c:	e0bffd17 	ldw	r2,-12(fp)
    b7a0:	1082000c 	andi	r2,r2,2048
    b7a4:	10001d26 	beq	r2,zero,b81c <altera_avalon_uart_txirq+0xb8>
    b7a8:	e0bffc17 	ldw	r2,-16(fp)
    b7ac:	10800417 	ldw	r2,16(r2)
    b7b0:	e0bffc17 	ldw	r2,-16(fp)
    b7b4:	10800517 	ldw	r2,20(r2)
    b7b8:	e0bffc17 	ldw	r2,-16(fp)
    b7bc:	10800017 	ldw	r2,0(r2)
    b7c0:	10800104 	addi	r2,r2,4
    b7c4:	e0fffc17 	ldw	r3,-16(fp)
    b7c8:	18c00417 	ldw	r3,16(r3)
    b7cc:	e13ffc17 	ldw	r4,-16(fp)
    b7d0:	20c7883a 	add	r3,r4,r3
    b7d4:	18c01704 	addi	r3,r3,92
    b7d8:	18c00003 	ldbu	r3,0(r3)
    b7dc:	18c03fcc 	andi	r3,r3,255
    b7e0:	10c00035 	stwio	r3,0(r2)
    b7e4:	e0bffc17 	ldw	r2,-16(fp)
    b7e8:	10800417 	ldw	r2,16(r2)
    b7ec:	10800044 	addi	r2,r2,1
    b7f0:	e0fffc17 	ldw	r3,-16(fp)
    b7f4:	18800415 	stw	r2,16(r3)
    b7f8:	10c00fcc 	andi	r3,r2,63
    b7fc:	e0bffc17 	ldw	r2,-16(fp)
    b800:	10c00415 	stw	r3,16(r2)
    b804:	e0bffc17 	ldw	r2,-16(fp)
    b808:	10800117 	ldw	r2,4(r2)
    b80c:	10c01014 	ori	r3,r2,64
    b810:	e0bffc17 	ldw	r2,-16(fp)
    b814:	10c00115 	stw	r3,4(r2)
    b818:	00000e06 	br	b854 <altera_avalon_uart_txirq+0xf0>
    b81c:	e0bffc17 	ldw	r2,-16(fp)
    b820:	10800017 	ldw	r2,0(r2)
    b824:	10800204 	addi	r2,r2,8
    b828:	10800037 	ldwio	r2,0(r2)
    b82c:	e0bffd15 	stw	r2,-12(fp)
    b830:	e0bffd17 	ldw	r2,-12(fp)
    b834:	1082000c 	andi	r2,r2,2048
    b838:	1000061e 	bne	r2,zero,b854 <altera_avalon_uart_txirq+0xf0>
    b83c:	e0bffc17 	ldw	r2,-16(fp)
    b840:	10c00117 	ldw	r3,4(r2)
    b844:	00bfefc4 	movi	r2,-65
    b848:	1886703a 	and	r3,r3,r2
    b84c:	e0bffc17 	ldw	r2,-16(fp)
    b850:	10c00115 	stw	r3,4(r2)
    b854:	e0bffc17 	ldw	r2,-16(fp)
    b858:	10c00417 	ldw	r3,16(r2)
    b85c:	e0bffc17 	ldw	r2,-16(fp)
    b860:	10800517 	ldw	r2,20(r2)
    b864:	1880061e 	bne	r3,r2,b880 <altera_avalon_uart_txirq+0x11c>
    b868:	e0bffc17 	ldw	r2,-16(fp)
    b86c:	10c00117 	ldw	r3,4(r2)
    b870:	00beefc4 	movi	r2,-1089
    b874:	1886703a 	and	r3,r3,r2
    b878:	e0bffc17 	ldw	r2,-16(fp)
    b87c:	10c00115 	stw	r3,4(r2)
    b880:	e0bffc17 	ldw	r2,-16(fp)
    b884:	10800017 	ldw	r2,0(r2)
    b888:	10800304 	addi	r2,r2,12
    b88c:	e0fffc17 	ldw	r3,-16(fp)
    b890:	18c00117 	ldw	r3,4(r3)
    b894:	10c00035 	stwio	r3,0(r2)
    b898:	e037883a 	mov	sp,fp
    b89c:	df000017 	ldw	fp,0(sp)
    b8a0:	dec00104 	addi	sp,sp,4
    b8a4:	f800283a 	ret

0000b8a8 <altera_avalon_uart_close>:
    b8a8:	defffd04 	addi	sp,sp,-12
    b8ac:	df000215 	stw	fp,8(sp)
    b8b0:	df000204 	addi	fp,sp,8
    b8b4:	e13ffe15 	stw	r4,-8(fp)
    b8b8:	e17fff15 	stw	r5,-4(fp)
    b8bc:	00000506 	br	b8d4 <altera_avalon_uart_close+0x2c>
    b8c0:	e0bfff17 	ldw	r2,-4(fp)
    b8c4:	1090000c 	andi	r2,r2,16384
    b8c8:	10000226 	beq	r2,zero,b8d4 <altera_avalon_uart_close+0x2c>
    b8cc:	00bffd44 	movi	r2,-11
    b8d0:	00000606 	br	b8ec <altera_avalon_uart_close+0x44>
    b8d4:	e0bffe17 	ldw	r2,-8(fp)
    b8d8:	10c00417 	ldw	r3,16(r2)
    b8dc:	e0bffe17 	ldw	r2,-8(fp)
    b8e0:	10800517 	ldw	r2,20(r2)
    b8e4:	18bff61e 	bne	r3,r2,b8c0 <_gp+0xffff692c>
    b8e8:	0005883a 	mov	r2,zero
    b8ec:	e037883a 	mov	sp,fp
    b8f0:	df000017 	ldw	fp,0(sp)
    b8f4:	dec00104 	addi	sp,sp,4
    b8f8:	f800283a 	ret

0000b8fc <alt_get_errno>:
    b8fc:	defffe04 	addi	sp,sp,-8
    b900:	dfc00115 	stw	ra,4(sp)
    b904:	df000015 	stw	fp,0(sp)
    b908:	d839883a 	mov	fp,sp
    b90c:	00800074 	movhi	r2,1
    b910:	10b3ee04 	addi	r2,r2,-12360
    b914:	10800017 	ldw	r2,0(r2)
    b918:	10000526 	beq	r2,zero,b930 <alt_get_errno+0x34>
    b91c:	00800074 	movhi	r2,1
    b920:	10b3ee04 	addi	r2,r2,-12360
    b924:	10800017 	ldw	r2,0(r2)
    b928:	103ee83a 	callr	r2
    b92c:	00000206 	br	b938 <alt_get_errno+0x3c>
    b930:	00800074 	movhi	r2,1
    b934:	10b5b504 	addi	r2,r2,-10540
    b938:	e037883a 	mov	sp,fp
    b93c:	dfc00117 	ldw	ra,4(sp)
    b940:	df000017 	ldw	fp,0(sp)
    b944:	dec00204 	addi	sp,sp,8
    b948:	f800283a 	ret

0000b94c <altera_avalon_uart_read>:
    b94c:	defff204 	addi	sp,sp,-56
    b950:	dfc00d15 	stw	ra,52(sp)
    b954:	df000c15 	stw	fp,48(sp)
    b958:	df000c04 	addi	fp,sp,48
    b95c:	e13ffc15 	stw	r4,-16(fp)
    b960:	e17ffd15 	stw	r5,-12(fp)
    b964:	e1bffe15 	stw	r6,-8(fp)
    b968:	e1ffff15 	stw	r7,-4(fp)
    b96c:	e03ff405 	stb	zero,-48(fp)
    b970:	e03ff515 	stw	zero,-44(fp)
    b974:	e0bfff17 	ldw	r2,-4(fp)
    b978:	1090000c 	andi	r2,r2,16384
    b97c:	1005003a 	cmpeq	r2,r2,zero
    b980:	10803fcc 	andi	r2,r2,255
    b984:	e0bff615 	stw	r2,-40(fp)
    b988:	00001306 	br	b9d8 <altera_avalon_uart_read+0x8c>
    b98c:	e0bff517 	ldw	r2,-44(fp)
    b990:	10800044 	addi	r2,r2,1
    b994:	e0bff515 	stw	r2,-44(fp)
    b998:	e0bffd17 	ldw	r2,-12(fp)
    b99c:	10c00044 	addi	r3,r2,1
    b9a0:	e0fffd15 	stw	r3,-12(fp)
    b9a4:	e0fffc17 	ldw	r3,-16(fp)
    b9a8:	18c00217 	ldw	r3,8(r3)
    b9ac:	e13ffc17 	ldw	r4,-16(fp)
    b9b0:	20c7883a 	add	r3,r4,r3
    b9b4:	18c00704 	addi	r3,r3,28
    b9b8:	18c00003 	ldbu	r3,0(r3)
    b9bc:	10c00005 	stb	r3,0(r2)
    b9c0:	e0bffc17 	ldw	r2,-16(fp)
    b9c4:	10800217 	ldw	r2,8(r2)
    b9c8:	10800044 	addi	r2,r2,1
    b9cc:	10c00fcc 	andi	r3,r2,63
    b9d0:	e0bffc17 	ldw	r2,-16(fp)
    b9d4:	10c00215 	stw	r3,8(r2)
    b9d8:	e0fff517 	ldw	r3,-44(fp)
    b9dc:	e0bffe17 	ldw	r2,-8(fp)
    b9e0:	1880050e 	bge	r3,r2,b9f8 <altera_avalon_uart_read+0xac>
    b9e4:	e0bffc17 	ldw	r2,-16(fp)
    b9e8:	10c00217 	ldw	r3,8(r2)
    b9ec:	e0bffc17 	ldw	r2,-16(fp)
    b9f0:	10800317 	ldw	r2,12(r2)
    b9f4:	18bfe51e 	bne	r3,r2,b98c <_gp+0xffff69f8>
    b9f8:	e0bff517 	ldw	r2,-44(fp)
    b9fc:	1000251e 	bne	r2,zero,ba94 <altera_avalon_uart_read+0x148>
    ba00:	e0bffc17 	ldw	r2,-16(fp)
    ba04:	10c00217 	ldw	r3,8(r2)
    ba08:	e0bffc17 	ldw	r2,-16(fp)
    ba0c:	10800317 	ldw	r2,12(r2)
    ba10:	1880201e 	bne	r3,r2,ba94 <altera_avalon_uart_read+0x148>
    ba14:	e0bff617 	ldw	r2,-40(fp)
    ba18:	1000071e 	bne	r2,zero,ba38 <altera_avalon_uart_read+0xec>
    ba1c:	000b8fc0 	call	b8fc <alt_get_errno>
    ba20:	1007883a 	mov	r3,r2
    ba24:	008002c4 	movi	r2,11
    ba28:	18800015 	stw	r2,0(r3)
    ba2c:	00800044 	movi	r2,1
    ba30:	e0bff405 	stb	r2,-48(fp)
    ba34:	00001b06 	br	baa4 <altera_avalon_uart_read+0x158>
    ba38:	0005303a 	rdctl	r2,status
    ba3c:	e0bff815 	stw	r2,-32(fp)
    ba40:	e0fff817 	ldw	r3,-32(fp)
    ba44:	00bfff84 	movi	r2,-2
    ba48:	1884703a 	and	r2,r3,r2
    ba4c:	1001703a 	wrctl	status,r2
    ba50:	e0bff817 	ldw	r2,-32(fp)
    ba54:	e0bff715 	stw	r2,-36(fp)
    ba58:	e0bffc17 	ldw	r2,-16(fp)
    ba5c:	10800117 	ldw	r2,4(r2)
    ba60:	10c02014 	ori	r3,r2,128
    ba64:	e0bffc17 	ldw	r2,-16(fp)
    ba68:	10c00115 	stw	r3,4(r2)
    ba6c:	e0bffc17 	ldw	r2,-16(fp)
    ba70:	10800017 	ldw	r2,0(r2)
    ba74:	10800304 	addi	r2,r2,12
    ba78:	e0fffc17 	ldw	r3,-16(fp)
    ba7c:	18c00117 	ldw	r3,4(r3)
    ba80:	10c00035 	stwio	r3,0(r2)
    ba84:	e0bff717 	ldw	r2,-36(fp)
    ba88:	e0bff915 	stw	r2,-28(fp)
    ba8c:	e0bff917 	ldw	r2,-28(fp)
    ba90:	1001703a 	wrctl	status,r2
    ba94:	e0bff517 	ldw	r2,-44(fp)
    ba98:	1000021e 	bne	r2,zero,baa4 <altera_avalon_uart_read+0x158>
    ba9c:	e0bffe17 	ldw	r2,-8(fp)
    baa0:	103fb91e 	bne	r2,zero,b988 <_gp+0xffff69f4>
    baa4:	0005303a 	rdctl	r2,status
    baa8:	e0bffa15 	stw	r2,-24(fp)
    baac:	e0fffa17 	ldw	r3,-24(fp)
    bab0:	00bfff84 	movi	r2,-2
    bab4:	1884703a 	and	r2,r3,r2
    bab8:	1001703a 	wrctl	status,r2
    babc:	e0bffa17 	ldw	r2,-24(fp)
    bac0:	e0bff715 	stw	r2,-36(fp)
    bac4:	e0bffc17 	ldw	r2,-16(fp)
    bac8:	10800117 	ldw	r2,4(r2)
    bacc:	10c02014 	ori	r3,r2,128
    bad0:	e0bffc17 	ldw	r2,-16(fp)
    bad4:	10c00115 	stw	r3,4(r2)
    bad8:	e0bffc17 	ldw	r2,-16(fp)
    badc:	10800017 	ldw	r2,0(r2)
    bae0:	10800304 	addi	r2,r2,12
    bae4:	e0fffc17 	ldw	r3,-16(fp)
    bae8:	18c00117 	ldw	r3,4(r3)
    baec:	10c00035 	stwio	r3,0(r2)
    baf0:	e0bff717 	ldw	r2,-36(fp)
    baf4:	e0bffb15 	stw	r2,-20(fp)
    baf8:	e0bffb17 	ldw	r2,-20(fp)
    bafc:	1001703a 	wrctl	status,r2
    bb00:	e0bff403 	ldbu	r2,-48(fp)
    bb04:	10000226 	beq	r2,zero,bb10 <altera_avalon_uart_read+0x1c4>
    bb08:	00bffd44 	movi	r2,-11
    bb0c:	00000106 	br	bb14 <altera_avalon_uart_read+0x1c8>
    bb10:	e0bff517 	ldw	r2,-44(fp)
    bb14:	e037883a 	mov	sp,fp
    bb18:	dfc00117 	ldw	ra,4(sp)
    bb1c:	df000017 	ldw	fp,0(sp)
    bb20:	dec00204 	addi	sp,sp,8
    bb24:	f800283a 	ret

0000bb28 <alt_get_errno>:
    bb28:	defffe04 	addi	sp,sp,-8
    bb2c:	dfc00115 	stw	ra,4(sp)
    bb30:	df000015 	stw	fp,0(sp)
    bb34:	d839883a 	mov	fp,sp
    bb38:	00800074 	movhi	r2,1
    bb3c:	10b3ee04 	addi	r2,r2,-12360
    bb40:	10800017 	ldw	r2,0(r2)
    bb44:	10000526 	beq	r2,zero,bb5c <alt_get_errno+0x34>
    bb48:	00800074 	movhi	r2,1
    bb4c:	10b3ee04 	addi	r2,r2,-12360
    bb50:	10800017 	ldw	r2,0(r2)
    bb54:	103ee83a 	callr	r2
    bb58:	00000206 	br	bb64 <alt_get_errno+0x3c>
    bb5c:	00800074 	movhi	r2,1
    bb60:	10b5b504 	addi	r2,r2,-10540
    bb64:	e037883a 	mov	sp,fp
    bb68:	dfc00117 	ldw	ra,4(sp)
    bb6c:	df000017 	ldw	fp,0(sp)
    bb70:	dec00204 	addi	sp,sp,8
    bb74:	f800283a 	ret

0000bb78 <altera_avalon_uart_write>:
    bb78:	defff204 	addi	sp,sp,-56
    bb7c:	dfc00d15 	stw	ra,52(sp)
    bb80:	df000c15 	stw	fp,48(sp)
    bb84:	df000c04 	addi	fp,sp,48
    bb88:	e13ffc15 	stw	r4,-16(fp)
    bb8c:	e17ffd15 	stw	r5,-12(fp)
    bb90:	e1bffe15 	stw	r6,-8(fp)
    bb94:	e1ffff15 	stw	r7,-4(fp)
    bb98:	e0bffe17 	ldw	r2,-8(fp)
    bb9c:	e0bff415 	stw	r2,-48(fp)
    bba0:	e0bfff17 	ldw	r2,-4(fp)
    bba4:	1090000c 	andi	r2,r2,16384
    bba8:	e0bff515 	stw	r2,-44(fp)
    bbac:	00003c06 	br	bca0 <altera_avalon_uart_write+0x128>
    bbb0:	e0bffc17 	ldw	r2,-16(fp)
    bbb4:	10800517 	ldw	r2,20(r2)
    bbb8:	10800044 	addi	r2,r2,1
    bbbc:	10800fcc 	andi	r2,r2,63
    bbc0:	e0bff615 	stw	r2,-40(fp)
    bbc4:	e0bffc17 	ldw	r2,-16(fp)
    bbc8:	10c00417 	ldw	r3,16(r2)
    bbcc:	e0bff617 	ldw	r2,-40(fp)
    bbd0:	1880221e 	bne	r3,r2,bc5c <altera_avalon_uart_write+0xe4>
    bbd4:	e0bff517 	ldw	r2,-44(fp)
    bbd8:	10000526 	beq	r2,zero,bbf0 <altera_avalon_uart_write+0x78>
    bbdc:	000bb280 	call	bb28 <alt_get_errno>
    bbe0:	1007883a 	mov	r3,r2
    bbe4:	008002c4 	movi	r2,11
    bbe8:	18800015 	stw	r2,0(r3)
    bbec:	00002e06 	br	bca8 <altera_avalon_uart_write+0x130>
    bbf0:	0005303a 	rdctl	r2,status
    bbf4:	e0bff815 	stw	r2,-32(fp)
    bbf8:	e0fff817 	ldw	r3,-32(fp)
    bbfc:	00bfff84 	movi	r2,-2
    bc00:	1884703a 	and	r2,r3,r2
    bc04:	1001703a 	wrctl	status,r2
    bc08:	e0bff817 	ldw	r2,-32(fp)
    bc0c:	e0bff715 	stw	r2,-36(fp)
    bc10:	e0bffc17 	ldw	r2,-16(fp)
    bc14:	10800117 	ldw	r2,4(r2)
    bc18:	10c11014 	ori	r3,r2,1088
    bc1c:	e0bffc17 	ldw	r2,-16(fp)
    bc20:	10c00115 	stw	r3,4(r2)
    bc24:	e0bffc17 	ldw	r2,-16(fp)
    bc28:	10800017 	ldw	r2,0(r2)
    bc2c:	10800304 	addi	r2,r2,12
    bc30:	e0fffc17 	ldw	r3,-16(fp)
    bc34:	18c00117 	ldw	r3,4(r3)
    bc38:	10c00035 	stwio	r3,0(r2)
    bc3c:	e0bff717 	ldw	r2,-36(fp)
    bc40:	e0bff915 	stw	r2,-28(fp)
    bc44:	e0bff917 	ldw	r2,-28(fp)
    bc48:	1001703a 	wrctl	status,r2
    bc4c:	e0bffc17 	ldw	r2,-16(fp)
    bc50:	10c00417 	ldw	r3,16(r2)
    bc54:	e0bff617 	ldw	r2,-40(fp)
    bc58:	18bffc26 	beq	r3,r2,bc4c <_gp+0xffff6cb8>
    bc5c:	e0bff417 	ldw	r2,-48(fp)
    bc60:	10bfffc4 	addi	r2,r2,-1
    bc64:	e0bff415 	stw	r2,-48(fp)
    bc68:	e0bffc17 	ldw	r2,-16(fp)
    bc6c:	10c00517 	ldw	r3,20(r2)
    bc70:	e0bffd17 	ldw	r2,-12(fp)
    bc74:	11000044 	addi	r4,r2,1
    bc78:	e13ffd15 	stw	r4,-12(fp)
    bc7c:	10800003 	ldbu	r2,0(r2)
    bc80:	1009883a 	mov	r4,r2
    bc84:	e0bffc17 	ldw	r2,-16(fp)
    bc88:	10c5883a 	add	r2,r2,r3
    bc8c:	10801704 	addi	r2,r2,92
    bc90:	11000005 	stb	r4,0(r2)
    bc94:	e0bffc17 	ldw	r2,-16(fp)
    bc98:	e0fff617 	ldw	r3,-40(fp)
    bc9c:	10c00515 	stw	r3,20(r2)
    bca0:	e0bff417 	ldw	r2,-48(fp)
    bca4:	103fc21e 	bne	r2,zero,bbb0 <_gp+0xffff6c1c>
    bca8:	0005303a 	rdctl	r2,status
    bcac:	e0bffa15 	stw	r2,-24(fp)
    bcb0:	e0fffa17 	ldw	r3,-24(fp)
    bcb4:	00bfff84 	movi	r2,-2
    bcb8:	1884703a 	and	r2,r3,r2
    bcbc:	1001703a 	wrctl	status,r2
    bcc0:	e0bffa17 	ldw	r2,-24(fp)
    bcc4:	e0bff715 	stw	r2,-36(fp)
    bcc8:	e0bffc17 	ldw	r2,-16(fp)
    bccc:	10800117 	ldw	r2,4(r2)
    bcd0:	10c11014 	ori	r3,r2,1088
    bcd4:	e0bffc17 	ldw	r2,-16(fp)
    bcd8:	10c00115 	stw	r3,4(r2)
    bcdc:	e0bffc17 	ldw	r2,-16(fp)
    bce0:	10800017 	ldw	r2,0(r2)
    bce4:	10800304 	addi	r2,r2,12
    bce8:	e0fffc17 	ldw	r3,-16(fp)
    bcec:	18c00117 	ldw	r3,4(r3)
    bcf0:	10c00035 	stwio	r3,0(r2)
    bcf4:	e0bff717 	ldw	r2,-36(fp)
    bcf8:	e0bffb15 	stw	r2,-20(fp)
    bcfc:	e0bffb17 	ldw	r2,-20(fp)
    bd00:	1001703a 	wrctl	status,r2
    bd04:	e0fffe17 	ldw	r3,-8(fp)
    bd08:	e0bff417 	ldw	r2,-48(fp)
    bd0c:	1885c83a 	sub	r2,r3,r2
    bd10:	e037883a 	mov	sp,fp
    bd14:	dfc00117 	ldw	ra,4(sp)
    bd18:	df000017 	ldw	fp,0(sp)
    bd1c:	dec00204 	addi	sp,sp,8
    bd20:	f800283a 	ret

0000bd24 <alt_busy_sleep>:
    bd24:	defffa04 	addi	sp,sp,-24
    bd28:	dfc00515 	stw	ra,20(sp)
    bd2c:	df000415 	stw	fp,16(sp)
    bd30:	df000404 	addi	fp,sp,16
    bd34:	e13fff15 	stw	r4,-4(fp)
    bd38:	00800244 	movi	r2,9
    bd3c:	e0bffd15 	stw	r2,-12(fp)
    bd40:	e13ffd17 	ldw	r4,-12(fp)
    bd44:	014003f4 	movhi	r5,15
    bd48:	29509004 	addi	r5,r5,16960
    bd4c:	000ad740 	call	ad74 <__mulsi3>
    bd50:	01017db4 	movhi	r4,1526
    bd54:	21384004 	addi	r4,r4,-7936
    bd58:	100b883a 	mov	r5,r2
    bd5c:	000ad640 	call	ad64 <__udivsi3>
    bd60:	01200034 	movhi	r4,32768
    bd64:	213fffc4 	addi	r4,r4,-1
    bd68:	100b883a 	mov	r5,r2
    bd6c:	000ad640 	call	ad64 <__udivsi3>
    bd70:	e13fff17 	ldw	r4,-4(fp)
    bd74:	100b883a 	mov	r5,r2
    bd78:	000ad640 	call	ad64 <__udivsi3>
    bd7c:	e0bffe15 	stw	r2,-8(fp)
    bd80:	e0bffe17 	ldw	r2,-8(fp)
    bd84:	10002a26 	beq	r2,zero,be30 <alt_busy_sleep+0x10c>
    bd88:	e03ffc15 	stw	zero,-16(fp)
    bd8c:	00001706 	br	bdec <alt_busy_sleep+0xc8>
    bd90:	00a00034 	movhi	r2,32768
    bd94:	10bfffc4 	addi	r2,r2,-1
    bd98:	10bfffc4 	addi	r2,r2,-1
    bd9c:	103ffe1e 	bne	r2,zero,bd98 <_gp+0xffff6e04>
    bda0:	e13ffd17 	ldw	r4,-12(fp)
    bda4:	014003f4 	movhi	r5,15
    bda8:	29509004 	addi	r5,r5,16960
    bdac:	000ad740 	call	ad74 <__mulsi3>
    bdb0:	01017db4 	movhi	r4,1526
    bdb4:	21384004 	addi	r4,r4,-7936
    bdb8:	100b883a 	mov	r5,r2
    bdbc:	000ad640 	call	ad64 <__udivsi3>
    bdc0:	01200034 	movhi	r4,32768
    bdc4:	213fffc4 	addi	r4,r4,-1
    bdc8:	100b883a 	mov	r5,r2
    bdcc:	000ad640 	call	ad64 <__udivsi3>
    bdd0:	1007883a 	mov	r3,r2
    bdd4:	e0bfff17 	ldw	r2,-4(fp)
    bdd8:	10c5c83a 	sub	r2,r2,r3
    bddc:	e0bfff15 	stw	r2,-4(fp)
    bde0:	e0bffc17 	ldw	r2,-16(fp)
    bde4:	10800044 	addi	r2,r2,1
    bde8:	e0bffc15 	stw	r2,-16(fp)
    bdec:	e0fffc17 	ldw	r3,-16(fp)
    bdf0:	e0bffe17 	ldw	r2,-8(fp)
    bdf4:	18bfe616 	blt	r3,r2,bd90 <_gp+0xffff6dfc>
    bdf8:	e13ffd17 	ldw	r4,-12(fp)
    bdfc:	014003f4 	movhi	r5,15
    be00:	29509004 	addi	r5,r5,16960
    be04:	000ad740 	call	ad74 <__mulsi3>
    be08:	01017db4 	movhi	r4,1526
    be0c:	21384004 	addi	r4,r4,-7936
    be10:	100b883a 	mov	r5,r2
    be14:	000ad640 	call	ad64 <__udivsi3>
    be18:	1009883a 	mov	r4,r2
    be1c:	e17fff17 	ldw	r5,-4(fp)
    be20:	000ad740 	call	ad74 <__mulsi3>
    be24:	10bfffc4 	addi	r2,r2,-1
    be28:	103ffe1e 	bne	r2,zero,be24 <_gp+0xffff6e90>
    be2c:	00000d06 	br	be64 <alt_busy_sleep+0x140>
    be30:	e13ffd17 	ldw	r4,-12(fp)
    be34:	014003f4 	movhi	r5,15
    be38:	29509004 	addi	r5,r5,16960
    be3c:	000ad740 	call	ad74 <__mulsi3>
    be40:	01017db4 	movhi	r4,1526
    be44:	21384004 	addi	r4,r4,-7936
    be48:	100b883a 	mov	r5,r2
    be4c:	000ad640 	call	ad64 <__udivsi3>
    be50:	1009883a 	mov	r4,r2
    be54:	e17fff17 	ldw	r5,-4(fp)
    be58:	000ad740 	call	ad74 <__mulsi3>
    be5c:	10bfffc4 	addi	r2,r2,-1
    be60:	00bffe16 	blt	zero,r2,be5c <_gp+0xffff6ec8>
    be64:	0005883a 	mov	r2,zero
    be68:	e037883a 	mov	sp,fp
    be6c:	dfc00117 	ldw	ra,4(sp)
    be70:	df000017 	ldw	fp,0(sp)
    be74:	dec00204 	addi	sp,sp,8
    be78:	f800283a 	ret

0000be7c <alt_get_errno>:
    be7c:	defffe04 	addi	sp,sp,-8
    be80:	dfc00115 	stw	ra,4(sp)
    be84:	df000015 	stw	fp,0(sp)
    be88:	d839883a 	mov	fp,sp
    be8c:	00800074 	movhi	r2,1
    be90:	10b3ee04 	addi	r2,r2,-12360
    be94:	10800017 	ldw	r2,0(r2)
    be98:	10000526 	beq	r2,zero,beb0 <alt_get_errno+0x34>
    be9c:	00800074 	movhi	r2,1
    bea0:	10b3ee04 	addi	r2,r2,-12360
    bea4:	10800017 	ldw	r2,0(r2)
    bea8:	103ee83a 	callr	r2
    beac:	00000206 	br	beb8 <alt_get_errno+0x3c>
    beb0:	00800074 	movhi	r2,1
    beb4:	10b5b504 	addi	r2,r2,-10540
    beb8:	e037883a 	mov	sp,fp
    bebc:	dfc00117 	ldw	ra,4(sp)
    bec0:	df000017 	ldw	fp,0(sp)
    bec4:	dec00204 	addi	sp,sp,8
    bec8:	f800283a 	ret

0000becc <close>:
    becc:	defffb04 	addi	sp,sp,-20
    bed0:	dfc00415 	stw	ra,16(sp)
    bed4:	df000315 	stw	fp,12(sp)
    bed8:	df000304 	addi	fp,sp,12
    bedc:	e13fff15 	stw	r4,-4(fp)
    bee0:	e0bfff17 	ldw	r2,-4(fp)
    bee4:	10000816 	blt	r2,zero,bf08 <close+0x3c>
    bee8:	e13fff17 	ldw	r4,-4(fp)
    beec:	01400304 	movi	r5,12
    bef0:	000ad740 	call	ad74 <__mulsi3>
    bef4:	1007883a 	mov	r3,r2
    bef8:	00800074 	movhi	r2,1
    befc:	10b27c04 	addi	r2,r2,-13840
    bf00:	1885883a 	add	r2,r3,r2
    bf04:	00000106 	br	bf0c <close+0x40>
    bf08:	0005883a 	mov	r2,zero
    bf0c:	e0bffd15 	stw	r2,-12(fp)
    bf10:	e0bffd17 	ldw	r2,-12(fp)
    bf14:	10001926 	beq	r2,zero,bf7c <close+0xb0>
    bf18:	e0bffd17 	ldw	r2,-12(fp)
    bf1c:	10800017 	ldw	r2,0(r2)
    bf20:	10800417 	ldw	r2,16(r2)
    bf24:	10000626 	beq	r2,zero,bf40 <close+0x74>
    bf28:	e0bffd17 	ldw	r2,-12(fp)
    bf2c:	10800017 	ldw	r2,0(r2)
    bf30:	10800417 	ldw	r2,16(r2)
    bf34:	e13ffd17 	ldw	r4,-12(fp)
    bf38:	103ee83a 	callr	r2
    bf3c:	00000106 	br	bf44 <close+0x78>
    bf40:	0005883a 	mov	r2,zero
    bf44:	e0bffe15 	stw	r2,-8(fp)
    bf48:	e13fff17 	ldw	r4,-4(fp)
    bf4c:	000c4840 	call	c484 <alt_release_fd>
    bf50:	e0bffe17 	ldw	r2,-8(fp)
    bf54:	1000070e 	bge	r2,zero,bf74 <close+0xa8>
    bf58:	000be7c0 	call	be7c <alt_get_errno>
    bf5c:	1007883a 	mov	r3,r2
    bf60:	e0bffe17 	ldw	r2,-8(fp)
    bf64:	0085c83a 	sub	r2,zero,r2
    bf68:	18800015 	stw	r2,0(r3)
    bf6c:	00bfffc4 	movi	r2,-1
    bf70:	00000706 	br	bf90 <close+0xc4>
    bf74:	0005883a 	mov	r2,zero
    bf78:	00000506 	br	bf90 <close+0xc4>
    bf7c:	000be7c0 	call	be7c <alt_get_errno>
    bf80:	1007883a 	mov	r3,r2
    bf84:	00801444 	movi	r2,81
    bf88:	18800015 	stw	r2,0(r3)
    bf8c:	00bfffc4 	movi	r2,-1
    bf90:	e037883a 	mov	sp,fp
    bf94:	dfc00117 	ldw	ra,4(sp)
    bf98:	df000017 	ldw	fp,0(sp)
    bf9c:	dec00204 	addi	sp,sp,8
    bfa0:	f800283a 	ret

0000bfa4 <alt_dcache_flush_all>:
    bfa4:	deffff04 	addi	sp,sp,-4
    bfa8:	df000015 	stw	fp,0(sp)
    bfac:	d839883a 	mov	fp,sp
    bfb0:	e037883a 	mov	sp,fp
    bfb4:	df000017 	ldw	fp,0(sp)
    bfb8:	dec00104 	addi	sp,sp,4
    bfbc:	f800283a 	ret

0000bfc0 <alt_dev_null_write>:
    bfc0:	defffc04 	addi	sp,sp,-16
    bfc4:	df000315 	stw	fp,12(sp)
    bfc8:	df000304 	addi	fp,sp,12
    bfcc:	e13ffd15 	stw	r4,-12(fp)
    bfd0:	e17ffe15 	stw	r5,-8(fp)
    bfd4:	e1bfff15 	stw	r6,-4(fp)
    bfd8:	e0bfff17 	ldw	r2,-4(fp)
    bfdc:	e037883a 	mov	sp,fp
    bfe0:	df000017 	ldw	fp,0(sp)
    bfe4:	dec00104 	addi	sp,sp,4
    bfe8:	f800283a 	ret

0000bfec <alt_get_errno>:
    bfec:	defffe04 	addi	sp,sp,-8
    bff0:	dfc00115 	stw	ra,4(sp)
    bff4:	df000015 	stw	fp,0(sp)
    bff8:	d839883a 	mov	fp,sp
    bffc:	00800074 	movhi	r2,1
    c000:	10b3ee04 	addi	r2,r2,-12360
    c004:	10800017 	ldw	r2,0(r2)
    c008:	10000526 	beq	r2,zero,c020 <alt_get_errno+0x34>
    c00c:	00800074 	movhi	r2,1
    c010:	10b3ee04 	addi	r2,r2,-12360
    c014:	10800017 	ldw	r2,0(r2)
    c018:	103ee83a 	callr	r2
    c01c:	00000206 	br	c028 <alt_get_errno+0x3c>
    c020:	00800074 	movhi	r2,1
    c024:	10b5b504 	addi	r2,r2,-10540
    c028:	e037883a 	mov	sp,fp
    c02c:	dfc00117 	ldw	ra,4(sp)
    c030:	df000017 	ldw	fp,0(sp)
    c034:	dec00204 	addi	sp,sp,8
    c038:	f800283a 	ret

0000c03c <alt_dev_llist_insert>:
    c03c:	defffa04 	addi	sp,sp,-24
    c040:	dfc00515 	stw	ra,20(sp)
    c044:	df000415 	stw	fp,16(sp)
    c048:	df000404 	addi	fp,sp,16
    c04c:	e13ffe15 	stw	r4,-8(fp)
    c050:	e17fff15 	stw	r5,-4(fp)
    c054:	e0bffe17 	ldw	r2,-8(fp)
    c058:	10000326 	beq	r2,zero,c068 <alt_dev_llist_insert+0x2c>
    c05c:	e0bffe17 	ldw	r2,-8(fp)
    c060:	10800217 	ldw	r2,8(r2)
    c064:	1000061e 	bne	r2,zero,c080 <alt_dev_llist_insert+0x44>
    c068:	000bfec0 	call	bfec <alt_get_errno>
    c06c:	1007883a 	mov	r3,r2
    c070:	00800584 	movi	r2,22
    c074:	18800015 	stw	r2,0(r3)
    c078:	00bffa84 	movi	r2,-22
    c07c:	00001306 	br	c0cc <alt_dev_llist_insert+0x90>
    c080:	e0bffe17 	ldw	r2,-8(fp)
    c084:	e0ffff17 	ldw	r3,-4(fp)
    c088:	e0fffc15 	stw	r3,-16(fp)
    c08c:	e0bffd15 	stw	r2,-12(fp)
    c090:	e0bffd17 	ldw	r2,-12(fp)
    c094:	e0fffc17 	ldw	r3,-16(fp)
    c098:	10c00115 	stw	r3,4(r2)
    c09c:	e0bffc17 	ldw	r2,-16(fp)
    c0a0:	10c00017 	ldw	r3,0(r2)
    c0a4:	e0bffd17 	ldw	r2,-12(fp)
    c0a8:	10c00015 	stw	r3,0(r2)
    c0ac:	e0bffc17 	ldw	r2,-16(fp)
    c0b0:	10800017 	ldw	r2,0(r2)
    c0b4:	e0fffd17 	ldw	r3,-12(fp)
    c0b8:	10c00115 	stw	r3,4(r2)
    c0bc:	e0bffc17 	ldw	r2,-16(fp)
    c0c0:	e0fffd17 	ldw	r3,-12(fp)
    c0c4:	10c00015 	stw	r3,0(r2)
    c0c8:	0005883a 	mov	r2,zero
    c0cc:	e037883a 	mov	sp,fp
    c0d0:	dfc00117 	ldw	ra,4(sp)
    c0d4:	df000017 	ldw	fp,0(sp)
    c0d8:	dec00204 	addi	sp,sp,8
    c0dc:	f800283a 	ret

0000c0e0 <_do_ctors>:
    c0e0:	defffd04 	addi	sp,sp,-12
    c0e4:	dfc00215 	stw	ra,8(sp)
    c0e8:	df000115 	stw	fp,4(sp)
    c0ec:	df000104 	addi	fp,sp,4
    c0f0:	00800074 	movhi	r2,1
    c0f4:	10b23904 	addi	r2,r2,-14108
    c0f8:	e0bfff15 	stw	r2,-4(fp)
    c0fc:	00000606 	br	c118 <_do_ctors+0x38>
    c100:	e0bfff17 	ldw	r2,-4(fp)
    c104:	10800017 	ldw	r2,0(r2)
    c108:	103ee83a 	callr	r2
    c10c:	e0bfff17 	ldw	r2,-4(fp)
    c110:	10bfff04 	addi	r2,r2,-4
    c114:	e0bfff15 	stw	r2,-4(fp)
    c118:	e0ffff17 	ldw	r3,-4(fp)
    c11c:	00800074 	movhi	r2,1
    c120:	10b23a04 	addi	r2,r2,-14104
    c124:	18bff62e 	bgeu	r3,r2,c100 <_gp+0xffff716c>
    c128:	e037883a 	mov	sp,fp
    c12c:	dfc00117 	ldw	ra,4(sp)
    c130:	df000017 	ldw	fp,0(sp)
    c134:	dec00204 	addi	sp,sp,8
    c138:	f800283a 	ret

0000c13c <_do_dtors>:
    c13c:	defffd04 	addi	sp,sp,-12
    c140:	dfc00215 	stw	ra,8(sp)
    c144:	df000115 	stw	fp,4(sp)
    c148:	df000104 	addi	fp,sp,4
    c14c:	00800074 	movhi	r2,1
    c150:	10b23904 	addi	r2,r2,-14108
    c154:	e0bfff15 	stw	r2,-4(fp)
    c158:	00000606 	br	c174 <_do_dtors+0x38>
    c15c:	e0bfff17 	ldw	r2,-4(fp)
    c160:	10800017 	ldw	r2,0(r2)
    c164:	103ee83a 	callr	r2
    c168:	e0bfff17 	ldw	r2,-4(fp)
    c16c:	10bfff04 	addi	r2,r2,-4
    c170:	e0bfff15 	stw	r2,-4(fp)
    c174:	e0ffff17 	ldw	r3,-4(fp)
    c178:	00800074 	movhi	r2,1
    c17c:	10b23a04 	addi	r2,r2,-14104
    c180:	18bff62e 	bgeu	r3,r2,c15c <_gp+0xffff71c8>
    c184:	e037883a 	mov	sp,fp
    c188:	dfc00117 	ldw	ra,4(sp)
    c18c:	df000017 	ldw	fp,0(sp)
    c190:	dec00204 	addi	sp,sp,8
    c194:	f800283a 	ret

0000c198 <alt_icache_flush_all>:
    c198:	deffff04 	addi	sp,sp,-4
    c19c:	df000015 	stw	fp,0(sp)
    c1a0:	d839883a 	mov	fp,sp
    c1a4:	e037883a 	mov	sp,fp
    c1a8:	df000017 	ldw	fp,0(sp)
    c1ac:	dec00104 	addi	sp,sp,4
    c1b0:	f800283a 	ret

0000c1b4 <alt_ic_isr_register>:
    c1b4:	defff904 	addi	sp,sp,-28
    c1b8:	dfc00615 	stw	ra,24(sp)
    c1bc:	df000515 	stw	fp,20(sp)
    c1c0:	df000504 	addi	fp,sp,20
    c1c4:	e13ffc15 	stw	r4,-16(fp)
    c1c8:	e17ffd15 	stw	r5,-12(fp)
    c1cc:	e1bffe15 	stw	r6,-8(fp)
    c1d0:	e1ffff15 	stw	r7,-4(fp)
    c1d4:	e0800217 	ldw	r2,8(fp)
    c1d8:	d8800015 	stw	r2,0(sp)
    c1dc:	e13ffc17 	ldw	r4,-16(fp)
    c1e0:	e17ffd17 	ldw	r5,-12(fp)
    c1e4:	e1bffe17 	ldw	r6,-8(fp)
    c1e8:	e1ffff17 	ldw	r7,-4(fp)
    c1ec:	000c3940 	call	c394 <alt_iic_isr_register>
    c1f0:	e037883a 	mov	sp,fp
    c1f4:	dfc00117 	ldw	ra,4(sp)
    c1f8:	df000017 	ldw	fp,0(sp)
    c1fc:	dec00204 	addi	sp,sp,8
    c200:	f800283a 	ret

0000c204 <alt_ic_irq_enable>:
    c204:	defff904 	addi	sp,sp,-28
    c208:	df000615 	stw	fp,24(sp)
    c20c:	df000604 	addi	fp,sp,24
    c210:	e13ffe15 	stw	r4,-8(fp)
    c214:	e17fff15 	stw	r5,-4(fp)
    c218:	e0bfff17 	ldw	r2,-4(fp)
    c21c:	e0bffa15 	stw	r2,-24(fp)
    c220:	0005303a 	rdctl	r2,status
    c224:	e0bffb15 	stw	r2,-20(fp)
    c228:	e0fffb17 	ldw	r3,-20(fp)
    c22c:	00bfff84 	movi	r2,-2
    c230:	1884703a 	and	r2,r3,r2
    c234:	1001703a 	wrctl	status,r2
    c238:	e0bffb17 	ldw	r2,-20(fp)
    c23c:	e0bffc15 	stw	r2,-16(fp)
    c240:	e0bffa17 	ldw	r2,-24(fp)
    c244:	00c00044 	movi	r3,1
    c248:	1884983a 	sll	r2,r3,r2
    c24c:	1007883a 	mov	r3,r2
    c250:	00800074 	movhi	r2,1
    c254:	10b5b304 	addi	r2,r2,-10548
    c258:	10800017 	ldw	r2,0(r2)
    c25c:	1886b03a 	or	r3,r3,r2
    c260:	00800074 	movhi	r2,1
    c264:	10b5b304 	addi	r2,r2,-10548
    c268:	10c00015 	stw	r3,0(r2)
    c26c:	00800074 	movhi	r2,1
    c270:	10b5b304 	addi	r2,r2,-10548
    c274:	10800017 	ldw	r2,0(r2)
    c278:	100170fa 	wrctl	ienable,r2
    c27c:	e0bffc17 	ldw	r2,-16(fp)
    c280:	e0bffd15 	stw	r2,-12(fp)
    c284:	e0bffd17 	ldw	r2,-12(fp)
    c288:	1001703a 	wrctl	status,r2
    c28c:	0005883a 	mov	r2,zero
    c290:	0001883a 	nop
    c294:	e037883a 	mov	sp,fp
    c298:	df000017 	ldw	fp,0(sp)
    c29c:	dec00104 	addi	sp,sp,4
    c2a0:	f800283a 	ret

0000c2a4 <alt_ic_irq_disable>:
    c2a4:	defff904 	addi	sp,sp,-28
    c2a8:	df000615 	stw	fp,24(sp)
    c2ac:	df000604 	addi	fp,sp,24
    c2b0:	e13ffe15 	stw	r4,-8(fp)
    c2b4:	e17fff15 	stw	r5,-4(fp)
    c2b8:	e0bfff17 	ldw	r2,-4(fp)
    c2bc:	e0bffa15 	stw	r2,-24(fp)
    c2c0:	0005303a 	rdctl	r2,status
    c2c4:	e0bffb15 	stw	r2,-20(fp)
    c2c8:	e0fffb17 	ldw	r3,-20(fp)
    c2cc:	00bfff84 	movi	r2,-2
    c2d0:	1884703a 	and	r2,r3,r2
    c2d4:	1001703a 	wrctl	status,r2
    c2d8:	e0bffb17 	ldw	r2,-20(fp)
    c2dc:	e0bffc15 	stw	r2,-16(fp)
    c2e0:	e0bffa17 	ldw	r2,-24(fp)
    c2e4:	00c00044 	movi	r3,1
    c2e8:	1884983a 	sll	r2,r3,r2
    c2ec:	0084303a 	nor	r2,zero,r2
    c2f0:	1007883a 	mov	r3,r2
    c2f4:	00800074 	movhi	r2,1
    c2f8:	10b5b304 	addi	r2,r2,-10548
    c2fc:	10800017 	ldw	r2,0(r2)
    c300:	1886703a 	and	r3,r3,r2
    c304:	00800074 	movhi	r2,1
    c308:	10b5b304 	addi	r2,r2,-10548
    c30c:	10c00015 	stw	r3,0(r2)
    c310:	00800074 	movhi	r2,1
    c314:	10b5b304 	addi	r2,r2,-10548
    c318:	10800017 	ldw	r2,0(r2)
    c31c:	100170fa 	wrctl	ienable,r2
    c320:	e0bffc17 	ldw	r2,-16(fp)
    c324:	e0bffd15 	stw	r2,-12(fp)
    c328:	e0bffd17 	ldw	r2,-12(fp)
    c32c:	1001703a 	wrctl	status,r2
    c330:	0005883a 	mov	r2,zero
    c334:	0001883a 	nop
    c338:	e037883a 	mov	sp,fp
    c33c:	df000017 	ldw	fp,0(sp)
    c340:	dec00104 	addi	sp,sp,4
    c344:	f800283a 	ret

0000c348 <alt_ic_irq_enabled>:
    c348:	defffc04 	addi	sp,sp,-16
    c34c:	df000315 	stw	fp,12(sp)
    c350:	df000304 	addi	fp,sp,12
    c354:	e13ffe15 	stw	r4,-8(fp)
    c358:	e17fff15 	stw	r5,-4(fp)
    c35c:	000530fa 	rdctl	r2,ienable
    c360:	e0bffd15 	stw	r2,-12(fp)
    c364:	e0bfff17 	ldw	r2,-4(fp)
    c368:	00c00044 	movi	r3,1
    c36c:	1884983a 	sll	r2,r3,r2
    c370:	1007883a 	mov	r3,r2
    c374:	e0bffd17 	ldw	r2,-12(fp)
    c378:	1884703a 	and	r2,r3,r2
    c37c:	1004c03a 	cmpne	r2,r2,zero
    c380:	10803fcc 	andi	r2,r2,255
    c384:	e037883a 	mov	sp,fp
    c388:	df000017 	ldw	fp,0(sp)
    c38c:	dec00104 	addi	sp,sp,4
    c390:	f800283a 	ret

0000c394 <alt_iic_isr_register>:
    c394:	defff504 	addi	sp,sp,-44
    c398:	dfc00a15 	stw	ra,40(sp)
    c39c:	df000915 	stw	fp,36(sp)
    c3a0:	df000904 	addi	fp,sp,36
    c3a4:	e13ffc15 	stw	r4,-16(fp)
    c3a8:	e17ffd15 	stw	r5,-12(fp)
    c3ac:	e1bffe15 	stw	r6,-8(fp)
    c3b0:	e1ffff15 	stw	r7,-4(fp)
    c3b4:	00bffa84 	movi	r2,-22
    c3b8:	e0bff715 	stw	r2,-36(fp)
    c3bc:	e0bffd17 	ldw	r2,-12(fp)
    c3c0:	e0bff815 	stw	r2,-32(fp)
    c3c4:	e0bff817 	ldw	r2,-32(fp)
    c3c8:	10800808 	cmpgei	r2,r2,32
    c3cc:	1000271e 	bne	r2,zero,c46c <alt_iic_isr_register+0xd8>
    c3d0:	0005303a 	rdctl	r2,status
    c3d4:	e0bffa15 	stw	r2,-24(fp)
    c3d8:	e0fffa17 	ldw	r3,-24(fp)
    c3dc:	00bfff84 	movi	r2,-2
    c3e0:	1884703a 	and	r2,r3,r2
    c3e4:	1001703a 	wrctl	status,r2
    c3e8:	e0bffa17 	ldw	r2,-24(fp)
    c3ec:	e0bff915 	stw	r2,-28(fp)
    c3f0:	00800074 	movhi	r2,1
    c3f4:	10b61604 	addi	r2,r2,-10152
    c3f8:	e0fff817 	ldw	r3,-32(fp)
    c3fc:	180690fa 	slli	r3,r3,3
    c400:	10c5883a 	add	r2,r2,r3
    c404:	e0fffe17 	ldw	r3,-8(fp)
    c408:	10c00015 	stw	r3,0(r2)
    c40c:	00800074 	movhi	r2,1
    c410:	10b61604 	addi	r2,r2,-10152
    c414:	e0fff817 	ldw	r3,-32(fp)
    c418:	180690fa 	slli	r3,r3,3
    c41c:	18c00104 	addi	r3,r3,4
    c420:	10c5883a 	add	r2,r2,r3
    c424:	e0ffff17 	ldw	r3,-4(fp)
    c428:	10c00015 	stw	r3,0(r2)
    c42c:	e0bffe17 	ldw	r2,-8(fp)
    c430:	10000526 	beq	r2,zero,c448 <alt_iic_isr_register+0xb4>
    c434:	e0bff817 	ldw	r2,-32(fp)
    c438:	e13ffc17 	ldw	r4,-16(fp)
    c43c:	100b883a 	mov	r5,r2
    c440:	000c2040 	call	c204 <alt_ic_irq_enable>
    c444:	00000406 	br	c458 <alt_iic_isr_register+0xc4>
    c448:	e0bff817 	ldw	r2,-32(fp)
    c44c:	e13ffc17 	ldw	r4,-16(fp)
    c450:	100b883a 	mov	r5,r2
    c454:	000c2a40 	call	c2a4 <alt_ic_irq_disable>
    c458:	e0bff715 	stw	r2,-36(fp)
    c45c:	e0bff917 	ldw	r2,-28(fp)
    c460:	e0bffb15 	stw	r2,-20(fp)
    c464:	e0bffb17 	ldw	r2,-20(fp)
    c468:	1001703a 	wrctl	status,r2
    c46c:	e0bff717 	ldw	r2,-36(fp)
    c470:	e037883a 	mov	sp,fp
    c474:	dfc00117 	ldw	ra,4(sp)
    c478:	df000017 	ldw	fp,0(sp)
    c47c:	dec00204 	addi	sp,sp,8
    c480:	f800283a 	ret

0000c484 <alt_release_fd>:
    c484:	defffc04 	addi	sp,sp,-16
    c488:	dfc00315 	stw	ra,12(sp)
    c48c:	df000215 	stw	fp,8(sp)
    c490:	dc000115 	stw	r16,4(sp)
    c494:	df000204 	addi	fp,sp,8
    c498:	e13ffe15 	stw	r4,-8(fp)
    c49c:	e0bffe17 	ldw	r2,-8(fp)
    c4a0:	108000d0 	cmplti	r2,r2,3
    c4a4:	1000111e 	bne	r2,zero,c4ec <alt_release_fd+0x68>
    c4a8:	04000074 	movhi	r16,1
    c4ac:	84327c04 	addi	r16,r16,-13840
    c4b0:	e0bffe17 	ldw	r2,-8(fp)
    c4b4:	1009883a 	mov	r4,r2
    c4b8:	01400304 	movi	r5,12
    c4bc:	000ad740 	call	ad74 <__mulsi3>
    c4c0:	10800204 	addi	r2,r2,8
    c4c4:	8085883a 	add	r2,r16,r2
    c4c8:	10000015 	stw	zero,0(r2)
    c4cc:	04000074 	movhi	r16,1
    c4d0:	84327c04 	addi	r16,r16,-13840
    c4d4:	e0bffe17 	ldw	r2,-8(fp)
    c4d8:	1009883a 	mov	r4,r2
    c4dc:	01400304 	movi	r5,12
    c4e0:	000ad740 	call	ad74 <__mulsi3>
    c4e4:	8085883a 	add	r2,r16,r2
    c4e8:	10000015 	stw	zero,0(r2)
    c4ec:	e6ffff04 	addi	sp,fp,-4
    c4f0:	dfc00217 	ldw	ra,8(sp)
    c4f4:	df000117 	ldw	fp,4(sp)
    c4f8:	dc000017 	ldw	r16,0(sp)
    c4fc:	dec00304 	addi	sp,sp,12
    c500:	f800283a 	ret

0000c504 <altera_nios2_gen2_irq_init>:
    c504:	deffff04 	addi	sp,sp,-4
    c508:	df000015 	stw	fp,0(sp)
    c50c:	d839883a 	mov	fp,sp
    c510:	000170fa 	wrctl	ienable,zero
    c514:	e037883a 	mov	sp,fp
    c518:	df000017 	ldw	fp,0(sp)
    c51c:	dec00104 	addi	sp,sp,4
    c520:	f800283a 	ret

0000c524 <alt_exception_cause_generated_bad_addr>:
    c524:	defffe04 	addi	sp,sp,-8
    c528:	df000115 	stw	fp,4(sp)
    c52c:	df000104 	addi	fp,sp,4
    c530:	e13fff15 	stw	r4,-4(fp)
    c534:	e0bfff17 	ldw	r2,-4(fp)
    c538:	10bffe84 	addi	r2,r2,-6
    c53c:	10c00428 	cmpgeui	r3,r2,16
    c540:	18001a1e 	bne	r3,zero,c5ac <alt_exception_cause_generated_bad_addr+0x88>
    c544:	100690ba 	slli	r3,r2,2
    c548:	00800074 	movhi	r2,1
    c54c:	10b15704 	addi	r2,r2,-15012
    c550:	1885883a 	add	r2,r3,r2
    c554:	10800017 	ldw	r2,0(r2)
    c558:	1000683a 	jmp	r2
    c55c:	0000c59c 	xori	zero,zero,790
    c560:	0000c59c 	xori	zero,zero,790
    c564:	0000c5ac 	andhi	zero,zero,790
    c568:	0000c5ac 	andhi	zero,zero,790
    c56c:	0000c5ac 	andhi	zero,zero,790
    c570:	0000c59c 	xori	zero,zero,790
    c574:	0000c5a4 	muli	zero,zero,790
    c578:	0000c5ac 	andhi	zero,zero,790
    c57c:	0000c59c 	xori	zero,zero,790
    c580:	0000c59c 	xori	zero,zero,790
    c584:	0000c5ac 	andhi	zero,zero,790
    c588:	0000c59c 	xori	zero,zero,790
    c58c:	0000c5a4 	muli	zero,zero,790
    c590:	0000c5ac 	andhi	zero,zero,790
    c594:	0000c5ac 	andhi	zero,zero,790
    c598:	0000c59c 	xori	zero,zero,790
    c59c:	00800044 	movi	r2,1
    c5a0:	00000306 	br	c5b0 <alt_exception_cause_generated_bad_addr+0x8c>
    c5a4:	0005883a 	mov	r2,zero
    c5a8:	00000106 	br	c5b0 <alt_exception_cause_generated_bad_addr+0x8c>
    c5ac:	0005883a 	mov	r2,zero
    c5b0:	e037883a 	mov	sp,fp
    c5b4:	df000017 	ldw	fp,0(sp)
    c5b8:	dec00104 	addi	sp,sp,4
    c5bc:	f800283a 	ret

0000c5c0 <atexit>:
    c5c0:	200b883a 	mov	r5,r4
    c5c4:	000d883a 	mov	r6,zero
    c5c8:	0009883a 	mov	r4,zero
    c5cc:	000f883a 	mov	r7,zero
    c5d0:	000c60c1 	jmpi	c60c <__register_exitproc>

0000c5d4 <exit>:
    c5d4:	defffe04 	addi	sp,sp,-8
    c5d8:	000b883a 	mov	r5,zero
    c5dc:	dc000015 	stw	r16,0(sp)
    c5e0:	dfc00115 	stw	ra,4(sp)
    c5e4:	2021883a 	mov	r16,r4
    c5e8:	000c7200 	call	c720 <__call_exitprocs>
    c5ec:	00800074 	movhi	r2,1
    c5f0:	10b3f004 	addi	r2,r2,-12352
    c5f4:	11000017 	ldw	r4,0(r2)
    c5f8:	20800f17 	ldw	r2,60(r4)
    c5fc:	10000126 	beq	r2,zero,c604 <exit+0x30>
    c600:	103ee83a 	callr	r2
    c604:	8009883a 	mov	r4,r16
    c608:	000c8b40 	call	c8b4 <_exit>

0000c60c <__register_exitproc>:
    c60c:	00800074 	movhi	r2,1
    c610:	defffa04 	addi	sp,sp,-24
    c614:	10b3f004 	addi	r2,r2,-12352
    c618:	dc000315 	stw	r16,12(sp)
    c61c:	14000017 	ldw	r16,0(r2)
    c620:	dc400415 	stw	r17,16(sp)
    c624:	dfc00515 	stw	ra,20(sp)
    c628:	80805217 	ldw	r2,328(r16)
    c62c:	2023883a 	mov	r17,r4
    c630:	10003626 	beq	r2,zero,c70c <__register_exitproc+0x100>
    c634:	10c00117 	ldw	r3,4(r2)
    c638:	010007c4 	movi	r4,31
    c63c:	20c00e16 	blt	r4,r3,c678 <__register_exitproc+0x6c>
    c640:	1a400044 	addi	r9,r3,1
    c644:	8800211e 	bne	r17,zero,c6cc <__register_exitproc+0xc0>
    c648:	18c00084 	addi	r3,r3,2
    c64c:	18c7883a 	add	r3,r3,r3
    c650:	18c7883a 	add	r3,r3,r3
    c654:	12400115 	stw	r9,4(r2)
    c658:	10c7883a 	add	r3,r2,r3
    c65c:	19400015 	stw	r5,0(r3)
    c660:	0005883a 	mov	r2,zero
    c664:	dfc00517 	ldw	ra,20(sp)
    c668:	dc400417 	ldw	r17,16(sp)
    c66c:	dc000317 	ldw	r16,12(sp)
    c670:	dec00604 	addi	sp,sp,24
    c674:	f800283a 	ret
    c678:	00800034 	movhi	r2,0
    c67c:	10800004 	addi	r2,r2,0
    c680:	10002526 	beq	r2,zero,c718 <__register_exitproc+0x10c>
    c684:	01006404 	movi	r4,400
    c688:	d9400015 	stw	r5,0(sp)
    c68c:	d9800115 	stw	r6,4(sp)
    c690:	d9c00215 	stw	r7,8(sp)
    c694:	00000000 	call	0 <__alt_mem_oc_mem-0x8000>
    c698:	d9400017 	ldw	r5,0(sp)
    c69c:	d9800117 	ldw	r6,4(sp)
    c6a0:	d9c00217 	ldw	r7,8(sp)
    c6a4:	10001c26 	beq	r2,zero,c718 <__register_exitproc+0x10c>
    c6a8:	80c05217 	ldw	r3,328(r16)
    c6ac:	10000115 	stw	zero,4(r2)
    c6b0:	02400044 	movi	r9,1
    c6b4:	10c00015 	stw	r3,0(r2)
    c6b8:	80805215 	stw	r2,328(r16)
    c6bc:	10006215 	stw	zero,392(r2)
    c6c0:	10006315 	stw	zero,396(r2)
    c6c4:	0007883a 	mov	r3,zero
    c6c8:	883fdf26 	beq	r17,zero,c648 <_gp+0xffff76b4>
    c6cc:	18d1883a 	add	r8,r3,r3
    c6d0:	4211883a 	add	r8,r8,r8
    c6d4:	1211883a 	add	r8,r2,r8
    c6d8:	41802215 	stw	r6,136(r8)
    c6dc:	01000044 	movi	r4,1
    c6e0:	11806217 	ldw	r6,392(r2)
    c6e4:	20c8983a 	sll	r4,r4,r3
    c6e8:	310cb03a 	or	r6,r6,r4
    c6ec:	11806215 	stw	r6,392(r2)
    c6f0:	41c04215 	stw	r7,264(r8)
    c6f4:	01800084 	movi	r6,2
    c6f8:	89bfd31e 	bne	r17,r6,c648 <_gp+0xffff76b4>
    c6fc:	11806317 	ldw	r6,396(r2)
    c700:	3108b03a 	or	r4,r6,r4
    c704:	11006315 	stw	r4,396(r2)
    c708:	003fcf06 	br	c648 <_gp+0xffff76b4>
    c70c:	80805304 	addi	r2,r16,332
    c710:	80805215 	stw	r2,328(r16)
    c714:	003fc706 	br	c634 <_gp+0xffff76a0>
    c718:	00bfffc4 	movi	r2,-1
    c71c:	003fd106 	br	c664 <_gp+0xffff76d0>

0000c720 <__call_exitprocs>:
    c720:	00800074 	movhi	r2,1
    c724:	10b3f004 	addi	r2,r2,-12352
    c728:	10800017 	ldw	r2,0(r2)
    c72c:	defff404 	addi	sp,sp,-48
    c730:	dd800815 	stw	r22,32(sp)
    c734:	d8800015 	stw	r2,0(sp)
    c738:	10805204 	addi	r2,r2,328
    c73c:	dd000615 	stw	r20,24(sp)
    c740:	dc800415 	stw	r18,16(sp)
    c744:	dfc00b15 	stw	ra,44(sp)
    c748:	df000a15 	stw	fp,40(sp)
    c74c:	ddc00915 	stw	r23,36(sp)
    c750:	dd400715 	stw	r21,28(sp)
    c754:	dcc00515 	stw	r19,20(sp)
    c758:	dc400315 	stw	r17,12(sp)
    c75c:	dc000215 	stw	r16,8(sp)
    c760:	2025883a 	mov	r18,r4
    c764:	2829883a 	mov	r20,r5
    c768:	d8800115 	stw	r2,4(sp)
    c76c:	05bfffc4 	movi	r22,-1
    c770:	d8800017 	ldw	r2,0(sp)
    c774:	14c05217 	ldw	r19,328(r2)
    c778:	98001d26 	beq	r19,zero,c7f0 <__call_exitprocs+0xd0>
    c77c:	dd400117 	ldw	r21,4(sp)
    c780:	98800117 	ldw	r2,4(r19)
    c784:	173fffc4 	addi	fp,r2,-1
    c788:	e0000d16 	blt	fp,zero,c7c0 <__call_exitprocs+0xa0>
    c78c:	14000044 	addi	r16,r2,1
    c790:	8421883a 	add	r16,r16,r16
    c794:	8421883a 	add	r16,r16,r16
    c798:	84402004 	addi	r17,r16,128
    c79c:	9c63883a 	add	r17,r19,r17
    c7a0:	9c21883a 	add	r16,r19,r16
    c7a4:	a0001e26 	beq	r20,zero,c820 <__call_exitprocs+0x100>
    c7a8:	80804017 	ldw	r2,256(r16)
    c7ac:	15001c26 	beq	r2,r20,c820 <__call_exitprocs+0x100>
    c7b0:	e73fffc4 	addi	fp,fp,-1
    c7b4:	843fff04 	addi	r16,r16,-4
    c7b8:	8c7fff04 	addi	r17,r17,-4
    c7bc:	e5bff91e 	bne	fp,r22,c7a4 <_gp+0xffff7810>
    c7c0:	00800034 	movhi	r2,0
    c7c4:	10800004 	addi	r2,r2,0
    c7c8:	10000926 	beq	r2,zero,c7f0 <__call_exitprocs+0xd0>
    c7cc:	98800117 	ldw	r2,4(r19)
    c7d0:	1000311e 	bne	r2,zero,c898 <__call_exitprocs+0x178>
    c7d4:	98800017 	ldw	r2,0(r19)
    c7d8:	10003426 	beq	r2,zero,c8ac <__call_exitprocs+0x18c>
    c7dc:	9809883a 	mov	r4,r19
    c7e0:	a8800015 	stw	r2,0(r21)
    c7e4:	00000000 	call	0 <__alt_mem_oc_mem-0x8000>
    c7e8:	acc00017 	ldw	r19,0(r21)
    c7ec:	983fe41e 	bne	r19,zero,c780 <_gp+0xffff77ec>
    c7f0:	dfc00b17 	ldw	ra,44(sp)
    c7f4:	df000a17 	ldw	fp,40(sp)
    c7f8:	ddc00917 	ldw	r23,36(sp)
    c7fc:	dd800817 	ldw	r22,32(sp)
    c800:	dd400717 	ldw	r21,28(sp)
    c804:	dd000617 	ldw	r20,24(sp)
    c808:	dcc00517 	ldw	r19,20(sp)
    c80c:	dc800417 	ldw	r18,16(sp)
    c810:	dc400317 	ldw	r17,12(sp)
    c814:	dc000217 	ldw	r16,8(sp)
    c818:	dec00c04 	addi	sp,sp,48
    c81c:	f800283a 	ret
    c820:	98800117 	ldw	r2,4(r19)
    c824:	80c00017 	ldw	r3,0(r16)
    c828:	10bfffc4 	addi	r2,r2,-1
    c82c:	17001526 	beq	r2,fp,c884 <__call_exitprocs+0x164>
    c830:	80000015 	stw	zero,0(r16)
    c834:	183fde26 	beq	r3,zero,c7b0 <_gp+0xffff781c>
    c838:	00800044 	movi	r2,1
    c83c:	1708983a 	sll	r4,r2,fp
    c840:	98806217 	ldw	r2,392(r19)
    c844:	9dc00117 	ldw	r23,4(r19)
    c848:	2084703a 	and	r2,r4,r2
    c84c:	1000061e 	bne	r2,zero,c868 <__call_exitprocs+0x148>
    c850:	183ee83a 	callr	r3
    c854:	98800117 	ldw	r2,4(r19)
    c858:	15ffc51e 	bne	r2,r23,c770 <_gp+0xffff77dc>
    c85c:	a8800017 	ldw	r2,0(r21)
    c860:	14ffd326 	beq	r2,r19,c7b0 <_gp+0xffff781c>
    c864:	003fc206 	br	c770 <_gp+0xffff77dc>
    c868:	98806317 	ldw	r2,396(r19)
    c86c:	2084703a 	and	r2,r4,r2
    c870:	1000061e 	bne	r2,zero,c88c <__call_exitprocs+0x16c>
    c874:	89400017 	ldw	r5,0(r17)
    c878:	9009883a 	mov	r4,r18
    c87c:	183ee83a 	callr	r3
    c880:	003ff406 	br	c854 <_gp+0xffff78c0>
    c884:	9f000115 	stw	fp,4(r19)
    c888:	003fea06 	br	c834 <_gp+0xffff78a0>
    c88c:	89000017 	ldw	r4,0(r17)
    c890:	183ee83a 	callr	r3
    c894:	003fef06 	br	c854 <_gp+0xffff78c0>
    c898:	98800017 	ldw	r2,0(r19)
    c89c:	982b883a 	mov	r21,r19
    c8a0:	1027883a 	mov	r19,r2
    c8a4:	983fb61e 	bne	r19,zero,c780 <_gp+0xffff77ec>
    c8a8:	003fd106 	br	c7f0 <_gp+0xffff785c>
    c8ac:	0005883a 	mov	r2,zero
    c8b0:	003ffa06 	br	c89c <_gp+0xffff7908>

0000c8b4 <_exit>:
    c8b4:	defffd04 	addi	sp,sp,-12
    c8b8:	df000215 	stw	fp,8(sp)
    c8bc:	df000204 	addi	fp,sp,8
    c8c0:	e13fff15 	stw	r4,-4(fp)
    c8c4:	0001883a 	nop
    c8c8:	e0bfff17 	ldw	r2,-4(fp)
    c8cc:	e0bffe15 	stw	r2,-8(fp)
    c8d0:	e0bffe17 	ldw	r2,-8(fp)
    c8d4:	10000226 	beq	r2,zero,c8e0 <_exit+0x2c>
    c8d8:	002af070 	cmpltui	zero,zero,43969
    c8dc:	00000106 	br	c8e4 <_exit+0x30>
    c8e0:	002af0b0 	cmpltui	zero,zero,43970
    c8e4:	003fff06 	br	c8e4 <_gp+0xffff7950>
