fpga-lab-2/Top/software/deltasigma/deltasigma.objdump

6134 lines
216 KiB
Plaintext

deltasigma.elf: file format elf32-littlenios2
deltasigma.elf
architecture: nios2:r1, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x00000230
Program Header:
LOAD off 0x00001000 vaddr 0x00000000 paddr 0x00000000 align 2**12
filesz 0x00000000 memsz 0x00000000 flags r-x
LOAD off 0x00001020 vaddr 0x00000020 paddr 0x00000020 align 2**12
filesz 0x00007198 memsz 0x000072ec flags rwx
Sections:
Idx Name Size VMA LMA File off Algn
0 .entry 00000000 00000000 00000000 00001000 2**5
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .exceptions 00000210 00000020 00000020 00001020 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .text 000054e0 00000230 00000230 00001230 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
3 .rodata 0000003c 00005710 00005710 00006710 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .rwdata 00001a6c 0000574c 0000574c 0000674c 2**2
CONTENTS, ALLOC, LOAD, DATA, SMALL_DATA
5 .bss 00000154 000071b8 000071b8 000081b8 2**2
ALLOC, SMALL_DATA
6 .mem 00000000 0000730c 0000730c 000081b8 2**0
CONTENTS
7 .comment 00000023 00000000 00000000 000081b8 2**0
CONTENTS, READONLY
8 .debug_aranges 000009c8 00000000 00000000 000081e0 2**3
CONTENTS, READONLY, DEBUGGING
9 .debug_info 00016256 00000000 00000000 00008ba8 2**0
CONTENTS, READONLY, DEBUGGING
10 .debug_abbrev 00005f12 00000000 00000000 0001edfe 2**0
CONTENTS, READONLY, DEBUGGING
11 .debug_line 000069cb 00000000 00000000 00024d10 2**0
CONTENTS, READONLY, DEBUGGING
12 .debug_frame 000014d0 00000000 00000000 0002b6dc 2**2
CONTENTS, READONLY, DEBUGGING
13 .debug_str 0000267d 00000000 00000000 0002cbac 2**0
CONTENTS, READONLY, DEBUGGING
14 .debug_loc 00004ada 00000000 00000000 0002f229 2**0
CONTENTS, READONLY, DEBUGGING
15 .debug_alt_sim_info 00000010 00000000 00000000 00033d04 2**2
CONTENTS, READONLY, DEBUGGING
16 .debug_ranges 00000660 00000000 00000000 00033d18 2**3
CONTENTS, READONLY, DEBUGGING
17 .thread_model 00000003 00000000 00000000 00036590 2**0
CONTENTS, READONLY
18 .cpu 00000003 00000000 00000000 00036593 2**0
CONTENTS, READONLY
19 .qsys 00000001 00000000 00000000 00036596 2**0
CONTENTS, READONLY
20 .simulation_enabled 00000001 00000000 00000000 00036597 2**0
CONTENTS, READONLY
21 .stderr_dev 00000009 00000000 00000000 00036598 2**0
CONTENTS, READONLY
22 .stdin_dev 00000009 00000000 00000000 000365a1 2**0
CONTENTS, READONLY
23 .stdout_dev 00000009 00000000 00000000 000365aa 2**0
CONTENTS, READONLY
24 .sopc_system_name 00000006 00000000 00000000 000365b3 2**0
CONTENTS, READONLY
25 .sopcinfo 0003a0b0 00000000 00000000 000365b9 2**0
CONTENTS, READONLY
SYMBOL TABLE:
00000000 l d .entry 00000000 .entry
00000020 l d .exceptions 00000000 .exceptions
00000230 l d .text 00000000 .text
00005710 l d .rodata 00000000 .rodata
0000574c l d .rwdata 00000000 .rwdata
000071b8 l d .bss 00000000 .bss
0000730c l d .mem 00000000 .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 ../semafor_bsp//obj/HAL/src/crt0.o
00000264 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 main.c
00000000 l df *ABS* 00000000 puts.c
00000000 l df *ABS* 00000000 strlen.c
00000000 l df *ABS* 00000000 findfp.c
00000400 l F .text 00000008 __fp_unlock
00000414 l F .text 0000019c __sinit.part.1
000005b0 l F .text 00000008 __fp_lock
00000000 l df *ABS* 00000000 fvwrite.c
00000000 l df *ABS* 00000000 fwalk.c
00000000 l df *ABS* 00000000 impure.c
0000574c l O .rwdata 00000424 impure_data
00000000 l df *ABS* 00000000 mallocr.c
00000000 l df *ABS* 00000000 memchr.c
00000000 l df *ABS* 00000000 memcpy.c
00000000 l df *ABS* 00000000 memmove.c
00000000 l df *ABS* 00000000 memset.c
00000000 l df *ABS* 00000000 mallocr.c
00000000 l df *ABS* 00000000 sbrkr.c
00000000 l df *ABS* 00000000 stdio.c
00000000 l df *ABS* 00000000 writer.c
00000000 l df *ABS* 00000000 wsetup.c
00000000 l df *ABS* 00000000 closer.c
00000000 l df *ABS* 00000000 fclose.c
00000000 l df *ABS* 00000000 fflush.c
00000000 l df *ABS* 00000000 mallocr.c
00000000 l df *ABS* 00000000 int_errno.c
00000000 l df *ABS* 00000000 lseekr.c
00000000 l df *ABS* 00000000 makebuf.c
00000000 l df *ABS* 00000000 readr.c
00000000 l df *ABS* 00000000 fstatr.c
00000000 l df *ABS* 00000000 isattyr.c
00000000 l df *ABS* 00000000 lib2-divmod.c
00000000 l df *ABS* 00000000 lib2-mul.c
00000000 l df *ABS* 00000000 alt_close.c
000030a0 l F .text 0000003c alt_get_errno
00000000 l df *ABS* 00000000 alt_dev.c
000031b4 l F .text 0000002c alt_dev_null_write
00000000 l df *ABS* 00000000 alt_errno.c
00000000 l df *ABS* 00000000 alt_fstat.c
000031e0 l F .text 0000003c alt_get_errno
00000000 l df *ABS* 00000000 alt_isatty.c
000032d4 l F .text 0000003c alt_get_errno
00000000 l df *ABS* 00000000 alt_lseek.c
000033bc l F .text 0000003c alt_get_errno
00000000 l df *ABS* 00000000 alt_main.c
00000000 l df *ABS* 00000000 alt_malloc_lock.c
00000000 l df *ABS* 00000000 alt_read.c
00003598 l F .text 0000003c alt_get_errno
00000000 l df *ABS* 00000000 alt_release_fd.c
00000000 l df *ABS* 00000000 alt_sbrk.c
000071a8 l O .rwdata 00000004 heap_end
00000000 l df *ABS* 00000000 alt_write.c
0000380c l F .text 0000003c alt_get_errno
00000000 l df *ABS* 00000000 alt_sys_init.c
00003948 l F .text 00000034 alt_dev_reg
00006120 l O .rwdata 00001060 jtag_uart
00000000 l df *ABS* 00000000 altera_avalon_jtag_uart_fd.c
00000000 l df *ABS* 00000000 altera_avalon_jtag_uart_init.c
00003c34 l F .text 0000020c altera_avalon_jtag_uart_irq
00003e40 l F .text 000000a0 altera_avalon_jtag_uart_timeout
00000000 l df *ABS* 00000000 altera_avalon_jtag_uart_ioctl.c
00000000 l df *ABS* 00000000 altera_avalon_jtag_uart_read.c
00000000 l df *ABS* 00000000 altera_avalon_jtag_uart_write.c
00000000 l df *ABS* 00000000 altera_avalon_timer_sc.c
00004478 l F .text 00000078 alt_avalon_timer_sc_irq
00000000 l df *ABS* 00000000 alt_alarm_start.c
00000000 l df *ABS* 00000000 alt_dev_llist_insert.c
00004698 l F .text 0000003c 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_iic.c
00000000 l df *ABS* 00000000 alt_iic_isr_register.c
00000000 l df *ABS* 00000000 alt_io_redirect.c
00004ad8 l F .text 000000e4 alt_open_fd
00000000 l df *ABS* 00000000 alt_irq_vars.c
00000000 l df *ABS* 00000000 alt_open.c
00004c38 l F .text 0000003c alt_get_errno
00004c74 l F .text 000000ec alt_file_locked
00000000 l df *ABS* 00000000 alt_tick.c
00000000 l df *ABS* 00000000 altera_nios2_gen2_irq.c
00000000 l df *ABS* 00000000 alt_find_dev.c
00000000 l df *ABS* 00000000 alt_find_file.c
00000000 l df *ABS* 00000000 alt_get_fd.c
00000000 l df *ABS* 00000000 atexit.c
00000000 l df *ABS* 00000000 exit.c
00000000 l df *ABS* 00000000 memcmp.c
00000000 l df *ABS* 00000000 __atexit.c
00000000 l df *ABS* 00000000 __call_atexit.c
00000000 l df *ABS* 00000000 alt_exit.c
000071e0 g O .bss 00000004 alt_instruction_exception_handler
00002e70 g F .text 00000054 _isatty_r
000034d4 g F .text 0000007c alt_main
00000294 g F .text 000000c0 _puts_r
0000720c g O .bss 00000100 alt_irq
00002b98 g F .text 00000060 _lseek_r
0000730c g *ABS* 00000000 __alt_heap_start
0000214c g F .text 0000005c __sseek
00000760 g F .text 00000010 __sinit
000005b8 g F .text 00000078 __sfmoreglue
00003574 g F .text 00000024 __malloc_unlock
00001838 g F .text 0000015c memmove
00000748 g F .text 00000018 _cleanup
00005060 g F .text 00000024 altera_nios2_gen2_irq_init
00000000 g F .entry 00000000 __reset
00002e14 g F .text 0000005c _fstat_r
000071c4 g O .bss 00000004 errno
000020c8 g F .text 00000008 __seofread
000071cc g O .bss 00000004 alt_argv
0000f180 g *ABS* 00000000 _gp
00005fa0 g O .rwdata 00000180 alt_fd_list
00005084 g F .text 00000090 alt_find_dev
000016f0 g F .text 00000148 memcpy
00000408 g F .text 0000000c _cleanup_r
00004bbc g F .text 0000007c alt_io_redirect
00005710 g *ABS* 00000000 __DTOR_END__
00000354 g F .text 00000014 puts
000052e0 g F .text 0000009c alt_exception_cause_generated_bad_addr
00004038 g F .text 0000021c altera_avalon_jtag_uart_read
00002fbc g F .text 00000064 .hidden __udivsi3
00003310 g F .text 000000ac isatty
000071c0 g O .bss 00000004 __malloc_top_pad
000007b0 g F .text 000004c8 __sfvwrite_r
00002020 g F .text 00000054 _sbrk_r
00002db4 g F .text 00000060 _read_r
000071a0 g O .rwdata 00000004 alt_max_fd
000023b8 g F .text 000000f0 _fclose_r
00002734 g F .text 00000030 fflush
000071bc g O .bss 00000004 __malloc_max_sbrked_mem
000033f8 g F .text 000000dc lseek
00007180 g O .rwdata 00000004 _global_impure_ptr
00001abc g F .text 00000564 _realloc_r
0000730c g *ABS* 00000000 __bss_end
000049e8 g F .text 000000f0 alt_iic_isr_register
00004f58 g F .text 00000108 alt_tick
00000780 g F .text 00000018 __fp_lock_all
0000499c g F .text 0000004c alt_ic_irq_enabled
00000000 g *ABS* 00000000 __alt_mem_mem
00004ebc g F .text 0000009c alt_alarm_stop
000071d4 g O .bss 00000004 alt_irq_active
000000fc g F .exceptions 000000d4 alt_irq_handler
00005f78 g O .rwdata 00000028 alt_dev_null
00007198 g O .rwdata 00000008 alt_dev_list
00003848 g F .text 00000100 write
0000321c g F .text 000000b8 fstat
00003020 g F .text 00000058 .hidden __umodsi3
0000730c g *ABS* 00000000 end
00003b74 g F .text 000000c0 altera_avalon_jtag_uart_init
000001d0 g F .exceptions 00000060 alt_instruction_exception_entry
00005710 g *ABS* 00000000 __CTOR_LIST__
00008000 g *ABS* 00000000 __alt_stack_pointer
000044f0 g F .text 0000007c alt_avalon_timer_sc_init
00004254 g F .text 00000224 altera_avalon_jtag_uart_write
00000770 g F .text 00000004 __sfp_lock_acquire
0000160c g F .text 000000e4 memchr
00002888 g F .text 00000310 _free_r
0000555c g F .text 00000180 __call_exitprocs
00007188 g O .rwdata 00000004 __malloc_sbrk_base
00000230 g F .text 00000038 _start
000071d8 g O .bss 00000004 _alt_tick_rate
000071dc g O .bss 00000004 _alt_nticks
000035d4 g F .text 00000104 read
000039b4 g F .text 0000005c alt_sys_init
00005444 g F .text 00000118 __register_exitproc
00003ee0 g F .text 00000068 altera_avalon_jtag_uart_close
00003078 g F .text 00000028 .hidden __mulsi3
000071e4 g O .bss 00000028 __malloc_current_mallinfo
00003a10 g F .text 00000060 altera_avalon_jtag_uart_read_fd
0000521c g F .text 000000c4 alt_get_fd
00002364 g F .text 00000054 _close_r
000053c8 g F .text 0000007c memcmp
00003ad0 g F .text 00000050 altera_avalon_jtag_uart_close_fd
0000730c g *ABS* 00000000 __alt_stack_base
00003b20 g F .text 00000054 altera_avalon_jtag_uart_ioctl_fd
00002210 g F .text 00000154 __swsetup_r
00000630 g F .text 00000118 __sfp
00005b70 g O .rwdata 00000408 __malloc_av_
0000077c g F .text 00000004 __sinit_lock_release
00002074 g F .text 00000054 __sread
00005114 g F .text 00000108 alt_find_file
000046d4 g F .text 000000a4 alt_dev_llist_insert
00003550 g F .text 00000024 __malloc_lock
0000375c g F .text 000000b0 sbrk
000026d8 g F .text 0000005c _fflush_r
000071b8 g *ABS* 00000000 __bss_start
00001994 g F .text 00000128 memset
00000268 g F .text 0000002c main
000071d0 g O .bss 00000004 alt_envp
000071b8 g O .bss 00000004 __malloc_max_total_mem
00003a70 g F .text 00000060 altera_avalon_jtag_uart_write_fd
000021a8 g F .text 00000008 __sclose
00008000 g *ABS* 00000000 __alt_heap_limit
000024a8 g F .text 00000014 fclose
00000e00 g F .text 0000080c _malloc_r
000071a4 g O .rwdata 00000004 alt_errno
00000c78 g F .text 000000c4 _fwalk
00002ec4 g F .text 00000084 .hidden __divsi3
00002764 g F .text 00000124 _malloc_trim_r
00005710 g *ABS* 00000000 __CTOR_END__
00005710 g *ABS* 00000000 __DTOR_LIST__
0000397c g F .text 00000038 alt_irq_init
000036d8 g F .text 00000084 alt_release_fd
0000537c g F .text 00000014 atexit
000021b0 g F .text 00000060 _write_r
00007184 g O .rwdata 00000004 _impure_ptr
000071c8 g O .bss 00000004 alt_argc
000024bc g F .text 0000021c __sflush_r
000047d8 g F .text 00000060 _do_dtors
00000020 g .exceptions 00000000 alt_irq_entry
00000798 g F .text 00000018 __fp_unlock_all
00007190 g O .rwdata 00000008 alt_fs_list
00004838 g F .text 00000050 alt_ic_isr_register
000071b8 g *ABS* 00000000 _edata
0000730c g *ABS* 00000000 _end
00003f48 g F .text 000000f0 altera_avalon_jtag_uart_ioctl
00004910 g F .text 0000008c alt_ic_irq_disable
000020d0 g F .text 0000007c __swrite
0000718c g O .rwdata 00000004 __malloc_trim_threshold
00005390 g F .text 00000038 exit
00000d3c g F .text 000000c4 _fwalk_reent
00002f48 g F .text 00000074 .hidden __modsi3
00008000 g *ABS* 00000000 __alt_data_end
00000020 g F .exceptions 00000000 alt_exception
00000774 g F .text 00000004 __sfp_lock_release
000056dc g F .text 00000034 _exit
0000456c g F .text 0000012c alt_alarm_start
00002bf8 g F .text 000001bc __smakebuf_r
00000368 g F .text 00000098 strlen
00004d60 g F .text 0000015c open
000071ac g O .rwdata 00000004 alt_priority_mask
00004888 g F .text 00000088 alt_ic_irq_enable
000071b0 g O .rwdata 00000008 alt_alarm_list
00004778 g F .text 00000060 _do_ctors
000030dc g F .text 000000d8 close
00000778 g F .text 00000004 __sinit_lock_acquire
Disassembly of section .exceptions:
00000020 <alt_exception>:
20: deffed04 addi sp,sp,-76
24: dfc00015 stw ra,0(sp)
28: d8400215 stw at,8(sp)
2c: d8800315 stw r2,12(sp)
30: d8c00415 stw r3,16(sp)
34: d9000515 stw r4,20(sp)
38: d9400615 stw r5,24(sp)
3c: d9800715 stw r6,28(sp)
40: d9c00815 stw r7,32(sp)
44: 000b307a rdctl r5,estatus
48: da000915 stw r8,36(sp)
4c: da400a15 stw r9,40(sp)
50: da800b15 stw r10,44(sp)
54: dac00c15 stw r11,48(sp)
58: db000d15 stw r12,52(sp)
5c: db400e15 stw r13,56(sp)
60: db800f15 stw r14,60(sp)
64: dbc01015 stw r15,64(sp)
68: d9401115 stw r5,68(sp)
6c: ebffff04 addi r15,ea,-4
70: dbc01215 stw r15,72(sp)
74: 0009313a rdctl r4,ipending
78: 2880004c andi r2,r5,1
7c: 10000326 beq r2,zero,8c <alt_exception+0x6c>
80: 20000226 beq r4,zero,8c <alt_exception+0x6c>
84: 00000fc0 call fc <alt_irq_handler>
88: 00000706 br a8 <alt_exception+0x88>
8c: df401215 stw ea,72(sp)
90: e8bfff17 ldw r2,-4(ea)
94: e93fff04 addi r4,ea,-4
98: 00001d00 call 1d0 <alt_instruction_exception_entry>
9c: 1000021e bne r2,zero,a8 <alt_exception+0x88>
a0: ebffff04 addi r15,ea,-4
a4: dbc01215 stw r15,72(sp)
a8: d9401117 ldw r5,68(sp)
ac: df401217 ldw ea,72(sp)
b0: dfc00017 ldw ra,0(sp)
b4: 2801707a wrctl estatus,r5
b8: d8400217 ldw at,8(sp)
bc: d8800317 ldw r2,12(sp)
c0: d8c00417 ldw r3,16(sp)
c4: d9000517 ldw r4,20(sp)
c8: d9400617 ldw r5,24(sp)
cc: d9800717 ldw r6,28(sp)
d0: d9c00817 ldw r7,32(sp)
d4: da000917 ldw r8,36(sp)
d8: da400a17 ldw r9,40(sp)
dc: da800b17 ldw r10,44(sp)
e0: dac00c17 ldw r11,48(sp)
e4: db000d17 ldw r12,52(sp)
e8: db400e17 ldw r13,56(sp)
ec: db800f17 ldw r14,60(sp)
f0: dbc01017 ldw r15,64(sp)
f4: dec01304 addi sp,sp,76
f8: ef80083a eret
000000fc <alt_irq_handler>:
fc: defff904 addi sp,sp,-28
100: dfc00615 stw ra,24(sp)
104: df000515 stw fp,20(sp)
108: df000504 addi fp,sp,20
10c: 0001883a nop
110: 0005313a rdctl r2,ipending
114: e0bffe15 stw r2,-8(fp)
118: e0bffe17 ldw r2,-8(fp)
11c: e0bffb15 stw r2,-20(fp)
120: e03ffd15 stw zero,-12(fp)
124: 00800044 movi r2,1
128: e0bffc15 stw r2,-16(fp)
12c: e0fffb17 ldw r3,-20(fp)
130: e0bffc17 ldw r2,-16(fp)
134: 1884703a and r2,r3,r2
138: 10001426 beq r2,zero,18c <alt_irq_handler+0x90>
13c: 00800034 movhi r2,0
140: 109c8304 addi r2,r2,29196
144: e0fffd17 ldw r3,-12(fp)
148: 180690fa slli r3,r3,3
14c: 10c5883a add r2,r2,r3
150: 10c00017 ldw r3,0(r2)
154: 00800034 movhi r2,0
158: 109c8304 addi r2,r2,29196
15c: e13ffd17 ldw r4,-12(fp)
160: 200890fa slli r4,r4,3
164: 1105883a add r2,r2,r4
168: 10800104 addi r2,r2,4
16c: 10800017 ldw r2,0(r2)
170: 1009883a mov r4,r2
174: 183ee83a callr r3
178: 0001883a nop
17c: 0005313a rdctl r2,ipending
180: e0bfff15 stw r2,-4(fp)
184: e0bfff17 ldw r2,-4(fp)
188: 00000706 br 1a8 <alt_irq_handler+0xac>
18c: e0bffc17 ldw r2,-16(fp)
190: 1085883a add r2,r2,r2
194: e0bffc15 stw r2,-16(fp)
198: e0bffd17 ldw r2,-12(fp)
19c: 10800044 addi r2,r2,1
1a0: e0bffd15 stw r2,-12(fp)
1a4: 003fe106 br 12c <alt_irq_handler+0x30>
1a8: e0bffb15 stw r2,-20(fp)
1ac: e0bffb17 ldw r2,-20(fp)
1b0: 103fdb1e bne r2,zero,120 <alt_irq_handler+0x24>
1b4: 0001883a nop
1b8: 0001883a nop
1bc: e037883a mov sp,fp
1c0: dfc00117 ldw ra,4(sp)
1c4: df000017 ldw fp,0(sp)
1c8: dec00204 addi sp,sp,8
1cc: f800283a ret
000001d0 <alt_instruction_exception_entry>:
1d0: defffb04 addi sp,sp,-20
1d4: dfc00415 stw ra,16(sp)
1d8: df000315 stw fp,12(sp)
1dc: df000304 addi fp,sp,12
1e0: e13fff15 stw r4,-4(fp)
1e4: 00bfffc4 movi r2,-1
1e8: e0bffd15 stw r2,-12(fp)
1ec: e03ffe15 stw zero,-8(fp)
1f0: d0a01817 ldw r2,-32672(gp)
1f4: 10000726 beq r2,zero,214 <alt_instruction_exception_entry+0x44>
1f8: d0a01817 ldw r2,-32672(gp)
1fc: e0fffd17 ldw r3,-12(fp)
200: e1bffe17 ldw r6,-8(fp)
204: e17fff17 ldw r5,-4(fp)
208: 1809883a mov r4,r3
20c: 103ee83a callr r2
210: 00000206 br 21c <alt_instruction_exception_entry+0x4c>
214: 003da03a break 0
218: 0005883a mov r2,zero
21c: e037883a mov sp,fp
220: dfc00117 ldw ra,4(sp)
224: df000017 ldw fp,0(sp)
228: dec00204 addi sp,sp,8
22c: f800283a ret
Disassembly of section .text:
00000230 <_start>:
230: 06c00034 movhi sp,0
234: dee00014 ori sp,sp,32768
238: 06800034 movhi gp,0
23c: d6bc6014 ori gp,gp,61824
240: 00800034 movhi r2,0
244: 109c6e14 ori r2,r2,29112
248: 00c00034 movhi r3,0
24c: 18dcc314 ori r3,r3,29452
250: 10c00326 beq r2,r3,260 <_start+0x30>
254: 10000015 stw zero,0(r2)
258: 10800104 addi r2,r2,4
25c: 10fffd36 bltu r2,r3,254 <_start+0x24>
260: 00034d40 call 34d4 <alt_main>
00000264 <alt_after_alt_main>:
264: 003fff06 br 264 <alt_after_alt_main>
00000268 <main>:
268: defffe04 addi sp,sp,-8
26c: dfc00115 stw ra,4(sp)
270: df000015 stw fp,0(sp)
274: d839883a mov fp,sp
278: 00c00974 movhi r3,37
27c: 00a40a14 movui r2,36904
280: 10c00035 stwio r3,0(r2)
284: 01000034 movhi r4,0
288: 2115c404 addi r4,r4,22288
28c: 00003540 call 354 <puts>
290: 003fff06 br 290 <main+0x28>
00000294 <_puts_r>:
294: defff604 addi sp,sp,-40
298: dc000715 stw r16,28(sp)
29c: 2021883a mov r16,r4
2a0: 2809883a mov r4,r5
2a4: dc400815 stw r17,32(sp)
2a8: dfc00915 stw ra,36(sp)
2ac: 2823883a mov r17,r5
2b0: 00003680 call 368 <strlen>
2b4: 10c00044 addi r3,r2,1
2b8: d8800115 stw r2,4(sp)
2bc: 00800034 movhi r2,0
2c0: 1095c604 addi r2,r2,22296
2c4: d8800215 stw r2,8(sp)
2c8: 00800044 movi r2,1
2cc: d8800315 stw r2,12(sp)
2d0: 00800084 movi r2,2
2d4: dc400015 stw r17,0(sp)
2d8: d8c00615 stw r3,24(sp)
2dc: dec00415 stw sp,16(sp)
2e0: d8800515 stw r2,20(sp)
2e4: 80000226 beq r16,zero,2f0 <_puts_r+0x5c>
2e8: 80800e17 ldw r2,56(r16)
2ec: 10001426 beq r2,zero,340 <_puts_r+0xac>
2f0: 81400217 ldw r5,8(r16)
2f4: 2880030b ldhu r2,12(r5)
2f8: 10c8000c andi r3,r2,8192
2fc: 1800061e bne r3,zero,318 <_puts_r+0x84>
300: 29001917 ldw r4,100(r5)
304: 00f7ffc4 movi r3,-8193
308: 10880014 ori r2,r2,8192
30c: 20c6703a and r3,r4,r3
310: 2880030d sth r2,12(r5)
314: 28c01915 stw r3,100(r5)
318: d9800404 addi r6,sp,16
31c: 8009883a mov r4,r16
320: 00007b00 call 7b0 <__sfvwrite_r>
324: 1000091e bne r2,zero,34c <_puts_r+0xb8>
328: 00800284 movi r2,10
32c: dfc00917 ldw ra,36(sp)
330: dc400817 ldw r17,32(sp)
334: dc000717 ldw r16,28(sp)
338: dec00a04 addi sp,sp,40
33c: f800283a ret
340: 8009883a mov r4,r16
344: 00007600 call 760 <__sinit>
348: 003fe906 br 2f0 <_puts_r+0x5c>
34c: 00bfffc4 movi r2,-1
350: 003ff606 br 32c <_puts_r+0x98>
00000354 <puts>:
354: 00800034 movhi r2,0
358: 109c6104 addi r2,r2,29060
35c: 200b883a mov r5,r4
360: 11000017 ldw r4,0(r2)
364: 00002941 jmpi 294 <_puts_r>
00000368 <strlen>:
368: 208000cc andi r2,r4,3
36c: 10002026 beq r2,zero,3f0 <strlen+0x88>
370: 20800007 ldb r2,0(r4)
374: 10002026 beq r2,zero,3f8 <strlen+0x90>
378: 2005883a mov r2,r4
37c: 00000206 br 388 <strlen+0x20>
380: 10c00007 ldb r3,0(r2)
384: 18001826 beq r3,zero,3e8 <strlen+0x80>
388: 10800044 addi r2,r2,1
38c: 10c000cc andi r3,r2,3
390: 183ffb1e bne r3,zero,380 <strlen+0x18>
394: 10c00017 ldw r3,0(r2)
398: 01ffbff4 movhi r7,65279
39c: 39ffbfc4 addi r7,r7,-257
3a0: 00ca303a nor r5,zero,r3
3a4: 01a02074 movhi r6,32897
3a8: 19c7883a add r3,r3,r7
3ac: 31a02004 addi r6,r6,-32640
3b0: 1946703a and r3,r3,r5
3b4: 1986703a and r3,r3,r6
3b8: 1800091e bne r3,zero,3e0 <strlen+0x78>
3bc: 10800104 addi r2,r2,4
3c0: 10c00017 ldw r3,0(r2)
3c4: 19cb883a add r5,r3,r7
3c8: 00c6303a nor r3,zero,r3
3cc: 28c6703a and r3,r5,r3
3d0: 1986703a and r3,r3,r6
3d4: 183ff926 beq r3,zero,3bc <strlen+0x54>
3d8: 00000106 br 3e0 <strlen+0x78>
3dc: 10800044 addi r2,r2,1
3e0: 10c00007 ldb r3,0(r2)
3e4: 183ffd1e bne r3,zero,3dc <strlen+0x74>
3e8: 1105c83a sub r2,r2,r4
3ec: f800283a ret
3f0: 2005883a mov r2,r4
3f4: 003fe706 br 394 <strlen+0x2c>
3f8: 0005883a mov r2,zero
3fc: f800283a ret
00000400 <__fp_unlock>:
400: 0005883a mov r2,zero
404: f800283a ret
00000408 <_cleanup_r>:
408: 01400034 movhi r5,0
40c: 2948ee04 addi r5,r5,9144
410: 0000d3c1 jmpi d3c <_fwalk_reent>
00000414 <__sinit.part.1>:
414: defff704 addi sp,sp,-36
418: 00c00034 movhi r3,0
41c: dfc00815 stw ra,32(sp)
420: ddc00715 stw r23,28(sp)
424: dd800615 stw r22,24(sp)
428: dd400515 stw r21,20(sp)
42c: dd000415 stw r20,16(sp)
430: dcc00315 stw r19,12(sp)
434: dc800215 stw r18,8(sp)
438: dc400115 stw r17,4(sp)
43c: dc000015 stw r16,0(sp)
440: 18c10204 addi r3,r3,1032
444: 24000117 ldw r16,4(r4)
448: 20c00f15 stw r3,60(r4)
44c: 2080bb04 addi r2,r4,748
450: 00c000c4 movi r3,3
454: 20c0b915 stw r3,740(r4)
458: 2080ba15 stw r2,744(r4)
45c: 2000b815 stw zero,736(r4)
460: 05c00204 movi r23,8
464: 00800104 movi r2,4
468: 2025883a mov r18,r4
46c: b80d883a mov r6,r23
470: 81001704 addi r4,r16,92
474: 000b883a mov r5,zero
478: 80000015 stw zero,0(r16)
47c: 80000115 stw zero,4(r16)
480: 80000215 stw zero,8(r16)
484: 8080030d sth r2,12(r16)
488: 80001915 stw zero,100(r16)
48c: 8000038d sth zero,14(r16)
490: 80000415 stw zero,16(r16)
494: 80000515 stw zero,20(r16)
498: 80000615 stw zero,24(r16)
49c: 00019940 call 1994 <memset>
4a0: 05800034 movhi r22,0
4a4: 94400217 ldw r17,8(r18)
4a8: 05400034 movhi r21,0
4ac: 05000034 movhi r20,0
4b0: 04c00034 movhi r19,0
4b4: b5881d04 addi r22,r22,8308
4b8: ad483404 addi r21,r21,8400
4bc: a5085304 addi r20,r20,8524
4c0: 9cc86a04 addi r19,r19,8616
4c4: 85800815 stw r22,32(r16)
4c8: 85400915 stw r21,36(r16)
4cc: 85000a15 stw r20,40(r16)
4d0: 84c00b15 stw r19,44(r16)
4d4: 84000715 stw r16,28(r16)
4d8: 00800284 movi r2,10
4dc: 8880030d sth r2,12(r17)
4e0: 00800044 movi r2,1
4e4: b80d883a mov r6,r23
4e8: 89001704 addi r4,r17,92
4ec: 000b883a mov r5,zero
4f0: 88000015 stw zero,0(r17)
4f4: 88000115 stw zero,4(r17)
4f8: 88000215 stw zero,8(r17)
4fc: 88001915 stw zero,100(r17)
500: 8880038d sth r2,14(r17)
504: 88000415 stw zero,16(r17)
508: 88000515 stw zero,20(r17)
50c: 88000615 stw zero,24(r17)
510: 00019940 call 1994 <memset>
514: 94000317 ldw r16,12(r18)
518: 00800484 movi r2,18
51c: 8c400715 stw r17,28(r17)
520: 8d800815 stw r22,32(r17)
524: 8d400915 stw r21,36(r17)
528: 8d000a15 stw r20,40(r17)
52c: 8cc00b15 stw r19,44(r17)
530: 8080030d sth r2,12(r16)
534: 00800084 movi r2,2
538: 80000015 stw zero,0(r16)
53c: 80000115 stw zero,4(r16)
540: 80000215 stw zero,8(r16)
544: 80001915 stw zero,100(r16)
548: 8080038d sth r2,14(r16)
54c: 80000415 stw zero,16(r16)
550: 80000515 stw zero,20(r16)
554: 80000615 stw zero,24(r16)
558: b80d883a mov r6,r23
55c: 000b883a mov r5,zero
560: 81001704 addi r4,r16,92
564: 00019940 call 1994 <memset>
568: 00800044 movi r2,1
56c: 84000715 stw r16,28(r16)
570: 85800815 stw r22,32(r16)
574: 85400915 stw r21,36(r16)
578: 85000a15 stw r20,40(r16)
57c: 84c00b15 stw r19,44(r16)
580: 90800e15 stw r2,56(r18)
584: dfc00817 ldw ra,32(sp)
588: ddc00717 ldw r23,28(sp)
58c: dd800617 ldw r22,24(sp)
590: dd400517 ldw r21,20(sp)
594: dd000417 ldw r20,16(sp)
598: dcc00317 ldw r19,12(sp)
59c: dc800217 ldw r18,8(sp)
5a0: dc400117 ldw r17,4(sp)
5a4: dc000017 ldw r16,0(sp)
5a8: dec00904 addi sp,sp,36
5ac: f800283a ret
000005b0 <__fp_lock>:
5b0: 0005883a mov r2,zero
5b4: f800283a ret
000005b8 <__sfmoreglue>:
5b8: defffc04 addi sp,sp,-16
5bc: dc800215 stw r18,8(sp)
5c0: 2825883a mov r18,r5
5c4: dc000015 stw r16,0(sp)
5c8: 01401a04 movi r5,104
5cc: 2021883a mov r16,r4
5d0: 913fffc4 addi r4,r18,-1
5d4: dfc00315 stw ra,12(sp)
5d8: dc400115 stw r17,4(sp)
5dc: 00030780 call 3078 <__mulsi3>
5e0: 8009883a mov r4,r16
5e4: 11401d04 addi r5,r2,116
5e8: 1023883a mov r17,r2
5ec: 0000e000 call e00 <_malloc_r>
5f0: 1021883a mov r16,r2
5f4: 10000726 beq r2,zero,614 <__sfmoreglue+0x5c>
5f8: 11000304 addi r4,r2,12
5fc: 10000015 stw zero,0(r2)
600: 14800115 stw r18,4(r2)
604: 11000215 stw r4,8(r2)
608: 89801a04 addi r6,r17,104
60c: 000b883a mov r5,zero
610: 00019940 call 1994 <memset>
614: 8005883a mov r2,r16
618: dfc00317 ldw ra,12(sp)
61c: dc800217 ldw r18,8(sp)
620: dc400117 ldw r17,4(sp)
624: dc000017 ldw r16,0(sp)
628: dec00404 addi sp,sp,16
62c: f800283a ret
00000630 <__sfp>:
630: defffb04 addi sp,sp,-20
634: dc000015 stw r16,0(sp)
638: 04000034 movhi r16,0
63c: 841c6004 addi r16,r16,29056
640: dcc00315 stw r19,12(sp)
644: 2027883a mov r19,r4
648: 81000017 ldw r4,0(r16)
64c: dfc00415 stw ra,16(sp)
650: dc800215 stw r18,8(sp)
654: 20800e17 ldw r2,56(r4)
658: dc400115 stw r17,4(sp)
65c: 1000021e bne r2,zero,668 <__sfp+0x38>
660: 00004140 call 414 <__sinit.part.1>
664: 81000017 ldw r4,0(r16)
668: 2480b804 addi r18,r4,736
66c: 047fffc4 movi r17,-1
670: 91000117 ldw r4,4(r18)
674: 94000217 ldw r16,8(r18)
678: 213fffc4 addi r4,r4,-1
67c: 20000a16 blt r4,zero,6a8 <__sfp+0x78>
680: 8080030f ldh r2,12(r16)
684: 10000c26 beq r2,zero,6b8 <__sfp+0x88>
688: 80c01d04 addi r3,r16,116
68c: 00000206 br 698 <__sfp+0x68>
690: 18bfe60f ldh r2,-104(r3)
694: 10000826 beq r2,zero,6b8 <__sfp+0x88>
698: 213fffc4 addi r4,r4,-1
69c: 1c3ffd04 addi r16,r3,-12
6a0: 18c01a04 addi r3,r3,104
6a4: 247ffa1e bne r4,r17,690 <__sfp+0x60>
6a8: 90800017 ldw r2,0(r18)
6ac: 10001d26 beq r2,zero,724 <__sfp+0xf4>
6b0: 1025883a mov r18,r2
6b4: 003fee06 br 670 <__sfp+0x40>
6b8: 00bfffc4 movi r2,-1
6bc: 8080038d sth r2,14(r16)
6c0: 00800044 movi r2,1
6c4: 8080030d sth r2,12(r16)
6c8: 80001915 stw zero,100(r16)
6cc: 80000015 stw zero,0(r16)
6d0: 80000215 stw zero,8(r16)
6d4: 80000115 stw zero,4(r16)
6d8: 80000415 stw zero,16(r16)
6dc: 80000515 stw zero,20(r16)
6e0: 80000615 stw zero,24(r16)
6e4: 01800204 movi r6,8
6e8: 000b883a mov r5,zero
6ec: 81001704 addi r4,r16,92
6f0: 00019940 call 1994 <memset>
6f4: 8005883a mov r2,r16
6f8: 80000c15 stw zero,48(r16)
6fc: 80000d15 stw zero,52(r16)
700: 80001115 stw zero,68(r16)
704: 80001215 stw zero,72(r16)
708: dfc00417 ldw ra,16(sp)
70c: dcc00317 ldw r19,12(sp)
710: dc800217 ldw r18,8(sp)
714: dc400117 ldw r17,4(sp)
718: dc000017 ldw r16,0(sp)
71c: dec00504 addi sp,sp,20
720: f800283a ret
724: 01400104 movi r5,4
728: 9809883a mov r4,r19
72c: 00005b80 call 5b8 <__sfmoreglue>
730: 90800015 stw r2,0(r18)
734: 103fde1e bne r2,zero,6b0 <__sfp+0x80>
738: 00800304 movi r2,12
73c: 98800015 stw r2,0(r19)
740: 0005883a mov r2,zero
744: 003ff006 br 708 <__sfp+0xd8>
00000748 <_cleanup>:
748: 00800034 movhi r2,0
74c: 109c6004 addi r2,r2,29056
750: 11000017 ldw r4,0(r2)
754: 01400034 movhi r5,0
758: 2948ee04 addi r5,r5,9144
75c: 0000d3c1 jmpi d3c <_fwalk_reent>
00000760 <__sinit>:
760: 20800e17 ldw r2,56(r4)
764: 10000126 beq r2,zero,76c <__sinit+0xc>
768: f800283a ret
76c: 00004141 jmpi 414 <__sinit.part.1>
00000770 <__sfp_lock_acquire>:
770: f800283a ret
00000774 <__sfp_lock_release>:
774: f800283a ret
00000778 <__sinit_lock_acquire>:
778: f800283a ret
0000077c <__sinit_lock_release>:
77c: f800283a ret
00000780 <__fp_lock_all>:
780: 00800034 movhi r2,0
784: 109c6104 addi r2,r2,29060
788: 11000017 ldw r4,0(r2)
78c: 01400034 movhi r5,0
790: 29416c04 addi r5,r5,1456
794: 0000c781 jmpi c78 <_fwalk>
00000798 <__fp_unlock_all>:
798: 00800034 movhi r2,0
79c: 109c6104 addi r2,r2,29060
7a0: 11000017 ldw r4,0(r2)
7a4: 01400034 movhi r5,0
7a8: 29410004 addi r5,r5,1024
7ac: 0000c781 jmpi c78 <_fwalk>
000007b0 <__sfvwrite_r>:
7b0: 30800217 ldw r2,8(r6)
7b4: 10006726 beq r2,zero,954 <__sfvwrite_r+0x1a4>
7b8: 28c0030b ldhu r3,12(r5)
7bc: defff404 addi sp,sp,-48
7c0: dd400715 stw r21,28(sp)
7c4: dd000615 stw r20,24(sp)
7c8: dc000215 stw r16,8(sp)
7cc: dfc00b15 stw ra,44(sp)
7d0: df000a15 stw fp,40(sp)
7d4: ddc00915 stw r23,36(sp)
7d8: dd800815 stw r22,32(sp)
7dc: dcc00515 stw r19,20(sp)
7e0: dc800415 stw r18,16(sp)
7e4: dc400315 stw r17,12(sp)
7e8: 1880020c andi r2,r3,8
7ec: 2821883a mov r16,r5
7f0: 202b883a mov r21,r4
7f4: 3029883a mov r20,r6
7f8: 10002726 beq r2,zero,898 <__sfvwrite_r+0xe8>
7fc: 28800417 ldw r2,16(r5)
800: 10002526 beq r2,zero,898 <__sfvwrite_r+0xe8>
804: 1880008c andi r2,r3,2
808: a4400017 ldw r17,0(r20)
80c: 10002a26 beq r2,zero,8b8 <__sfvwrite_r+0x108>
810: 05a00034 movhi r22,32768
814: 0027883a mov r19,zero
818: 0025883a mov r18,zero
81c: b5bf0004 addi r22,r22,-1024
820: 980d883a mov r6,r19
824: a809883a mov r4,r21
828: 90004626 beq r18,zero,944 <__sfvwrite_r+0x194>
82c: 900f883a mov r7,r18
830: b480022e bgeu r22,r18,83c <__sfvwrite_r+0x8c>
834: 01e00034 movhi r7,32768
838: 39ff0004 addi r7,r7,-1024
83c: 80800917 ldw r2,36(r16)
840: 81400717 ldw r5,28(r16)
844: 103ee83a callr r2
848: 00805a0e bge zero,r2,9b4 <__sfvwrite_r+0x204>
84c: a0c00217 ldw r3,8(r20)
850: 98a7883a add r19,r19,r2
854: 90a5c83a sub r18,r18,r2
858: 1885c83a sub r2,r3,r2
85c: a0800215 stw r2,8(r20)
860: 103fef1e bne r2,zero,820 <__sfvwrite_r+0x70>
864: 0005883a mov r2,zero
868: dfc00b17 ldw ra,44(sp)
86c: df000a17 ldw fp,40(sp)
870: ddc00917 ldw r23,36(sp)
874: dd800817 ldw r22,32(sp)
878: dd400717 ldw r21,28(sp)
87c: dd000617 ldw r20,24(sp)
880: dcc00517 ldw r19,20(sp)
884: dc800417 ldw r18,16(sp)
888: dc400317 ldw r17,12(sp)
88c: dc000217 ldw r16,8(sp)
890: dec00c04 addi sp,sp,48
894: f800283a ret
898: 800b883a mov r5,r16
89c: a809883a mov r4,r21
8a0: 00022100 call 2210 <__swsetup_r>
8a4: 1000ee1e bne r2,zero,c60 <__sfvwrite_r+0x4b0>
8a8: 80c0030b ldhu r3,12(r16)
8ac: a4400017 ldw r17,0(r20)
8b0: 1880008c andi r2,r3,2
8b4: 103fd61e bne r2,zero,810 <__sfvwrite_r+0x60>
8b8: 1880004c andi r2,r3,1
8bc: 1000421e bne r2,zero,9c8 <__sfvwrite_r+0x218>
8c0: 0039883a mov fp,zero
8c4: 0025883a mov r18,zero
8c8: 90001a26 beq r18,zero,934 <__sfvwrite_r+0x184>
8cc: 1880800c andi r2,r3,512
8d0: 84c00217 ldw r19,8(r16)
8d4: 10002126 beq r2,zero,95c <__sfvwrite_r+0x1ac>
8d8: 982f883a mov r23,r19
8dc: 94c09636 bltu r18,r19,b38 <__sfvwrite_r+0x388>
8e0: 1881200c andi r2,r3,1152
8e4: 1000a11e bne r2,zero,b6c <__sfvwrite_r+0x3bc>
8e8: 81000017 ldw r4,0(r16)
8ec: b80d883a mov r6,r23
8f0: e00b883a mov r5,fp
8f4: 00018380 call 1838 <memmove>
8f8: 80c00217 ldw r3,8(r16)
8fc: 81000017 ldw r4,0(r16)
900: 9005883a mov r2,r18
904: 1ce7c83a sub r19,r3,r19
908: 25cf883a add r7,r4,r23
90c: 84c00215 stw r19,8(r16)
910: 81c00015 stw r7,0(r16)
914: a0c00217 ldw r3,8(r20)
918: e0b9883a add fp,fp,r2
91c: 90a5c83a sub r18,r18,r2
920: 18a7c83a sub r19,r3,r2
924: a4c00215 stw r19,8(r20)
928: 983fce26 beq r19,zero,864 <__sfvwrite_r+0xb4>
92c: 80c0030b ldhu r3,12(r16)
930: 903fe61e bne r18,zero,8cc <__sfvwrite_r+0x11c>
934: 8f000017 ldw fp,0(r17)
938: 8c800117 ldw r18,4(r17)
93c: 8c400204 addi r17,r17,8
940: 003fe106 br 8c8 <__sfvwrite_r+0x118>
944: 8cc00017 ldw r19,0(r17)
948: 8c800117 ldw r18,4(r17)
94c: 8c400204 addi r17,r17,8
950: 003fb306 br 820 <__sfvwrite_r+0x70>
954: 0005883a mov r2,zero
958: f800283a ret
95c: 81000017 ldw r4,0(r16)
960: 80800417 ldw r2,16(r16)
964: 11005a36 bltu r2,r4,ad0 <__sfvwrite_r+0x320>
968: 85c00517 ldw r23,20(r16)
96c: 95c05836 bltu r18,r23,ad0 <__sfvwrite_r+0x320>
970: 00a00034 movhi r2,32768
974: 10bfffc4 addi r2,r2,-1
978: 9009883a mov r4,r18
97c: 1480012e bgeu r2,r18,984 <__sfvwrite_r+0x1d4>
980: 1009883a mov r4,r2
984: b80b883a mov r5,r23
988: 0002ec40 call 2ec4 <__divsi3>
98c: b80b883a mov r5,r23
990: 1009883a mov r4,r2
994: 00030780 call 3078 <__mulsi3>
998: 81400717 ldw r5,28(r16)
99c: 80c00917 ldw r3,36(r16)
9a0: 100f883a mov r7,r2
9a4: e00d883a mov r6,fp
9a8: a809883a mov r4,r21
9ac: 183ee83a callr r3
9b0: 00bfd816 blt zero,r2,914 <__sfvwrite_r+0x164>
9b4: 8080030b ldhu r2,12(r16)
9b8: 10801014 ori r2,r2,64
9bc: 8080030d sth r2,12(r16)
9c0: 00bfffc4 movi r2,-1
9c4: 003fa806 br 868 <__sfvwrite_r+0xb8>
9c8: 0027883a mov r19,zero
9cc: 0011883a mov r8,zero
9d0: 0039883a mov fp,zero
9d4: 0025883a mov r18,zero
9d8: 90001f26 beq r18,zero,a58 <__sfvwrite_r+0x2a8>
9dc: 40005a26 beq r8,zero,b48 <__sfvwrite_r+0x398>
9e0: 982d883a mov r22,r19
9e4: 94c0012e bgeu r18,r19,9ec <__sfvwrite_r+0x23c>
9e8: 902d883a mov r22,r18
9ec: 81000017 ldw r4,0(r16)
9f0: 80800417 ldw r2,16(r16)
9f4: b02f883a mov r23,r22
9f8: 81c00517 ldw r7,20(r16)
9fc: 1100032e bgeu r2,r4,a0c <__sfvwrite_r+0x25c>
a00: 80c00217 ldw r3,8(r16)
a04: 38c7883a add r3,r7,r3
a08: 1d801816 blt r3,r22,a6c <__sfvwrite_r+0x2bc>
a0c: b1c03e16 blt r22,r7,b08 <__sfvwrite_r+0x358>
a10: 80800917 ldw r2,36(r16)
a14: 81400717 ldw r5,28(r16)
a18: e00d883a mov r6,fp
a1c: da000115 stw r8,4(sp)
a20: a809883a mov r4,r21
a24: 103ee83a callr r2
a28: 102f883a mov r23,r2
a2c: da000117 ldw r8,4(sp)
a30: 00bfe00e bge zero,r2,9b4 <__sfvwrite_r+0x204>
a34: 9de7c83a sub r19,r19,r23
a38: 98001f26 beq r19,zero,ab8 <__sfvwrite_r+0x308>
a3c: a0800217 ldw r2,8(r20)
a40: e5f9883a add fp,fp,r23
a44: 95e5c83a sub r18,r18,r23
a48: 15efc83a sub r23,r2,r23
a4c: a5c00215 stw r23,8(r20)
a50: b83f8426 beq r23,zero,864 <__sfvwrite_r+0xb4>
a54: 903fe11e bne r18,zero,9dc <__sfvwrite_r+0x22c>
a58: 8f000017 ldw fp,0(r17)
a5c: 8c800117 ldw r18,4(r17)
a60: 0011883a mov r8,zero
a64: 8c400204 addi r17,r17,8
a68: 003fdb06 br 9d8 <__sfvwrite_r+0x228>
a6c: 180d883a mov r6,r3
a70: e00b883a mov r5,fp
a74: da000115 stw r8,4(sp)
a78: d8c00015 stw r3,0(sp)
a7c: 00018380 call 1838 <memmove>
a80: d8c00017 ldw r3,0(sp)
a84: 80800017 ldw r2,0(r16)
a88: 800b883a mov r5,r16
a8c: a809883a mov r4,r21
a90: 10c5883a add r2,r2,r3
a94: 80800015 stw r2,0(r16)
a98: d8c00015 stw r3,0(sp)
a9c: 00026d80 call 26d8 <_fflush_r>
aa0: d8c00017 ldw r3,0(sp)
aa4: da000117 ldw r8,4(sp)
aa8: 103fc21e bne r2,zero,9b4 <__sfvwrite_r+0x204>
aac: 182f883a mov r23,r3
ab0: 9de7c83a sub r19,r19,r23
ab4: 983fe11e bne r19,zero,a3c <__sfvwrite_r+0x28c>
ab8: 800b883a mov r5,r16
abc: a809883a mov r4,r21
ac0: 00026d80 call 26d8 <_fflush_r>
ac4: 103fbb1e bne r2,zero,9b4 <__sfvwrite_r+0x204>
ac8: 0011883a mov r8,zero
acc: 003fdb06 br a3c <__sfvwrite_r+0x28c>
ad0: 94c0012e bgeu r18,r19,ad8 <__sfvwrite_r+0x328>
ad4: 9027883a mov r19,r18
ad8: 980d883a mov r6,r19
adc: e00b883a mov r5,fp
ae0: 00018380 call 1838 <memmove>
ae4: 80800217 ldw r2,8(r16)
ae8: 80c00017 ldw r3,0(r16)
aec: 14c5c83a sub r2,r2,r19
af0: 1cc7883a add r3,r3,r19
af4: 80800215 stw r2,8(r16)
af8: 80c00015 stw r3,0(r16)
afc: 10004326 beq r2,zero,c0c <__sfvwrite_r+0x45c>
b00: 9805883a mov r2,r19
b04: 003f8306 br 914 <__sfvwrite_r+0x164>
b08: b00d883a mov r6,r22
b0c: e00b883a mov r5,fp
b10: da000115 stw r8,4(sp)
b14: 00018380 call 1838 <memmove>
b18: 80800217 ldw r2,8(r16)
b1c: 80c00017 ldw r3,0(r16)
b20: da000117 ldw r8,4(sp)
b24: 1585c83a sub r2,r2,r22
b28: 1dad883a add r22,r3,r22
b2c: 80800215 stw r2,8(r16)
b30: 85800015 stw r22,0(r16)
b34: 003fbf06 br a34 <__sfvwrite_r+0x284>
b38: 81000017 ldw r4,0(r16)
b3c: 9027883a mov r19,r18
b40: 902f883a mov r23,r18
b44: 003f6906 br 8ec <__sfvwrite_r+0x13c>
b48: 900d883a mov r6,r18
b4c: 01400284 movi r5,10
b50: e009883a mov r4,fp
b54: 000160c0 call 160c <memchr>
b58: 10003e26 beq r2,zero,c54 <__sfvwrite_r+0x4a4>
b5c: 10800044 addi r2,r2,1
b60: 1727c83a sub r19,r2,fp
b64: 02000044 movi r8,1
b68: 003f9d06 br 9e0 <__sfvwrite_r+0x230>
b6c: 80800517 ldw r2,20(r16)
b70: 81400417 ldw r5,16(r16)
b74: 81c00017 ldw r7,0(r16)
b78: 10a7883a add r19,r2,r2
b7c: 9885883a add r2,r19,r2
b80: 1026d7fa srli r19,r2,31
b84: 396dc83a sub r22,r7,r5
b88: b1000044 addi r4,r22,1
b8c: 9885883a add r2,r19,r2
b90: 1027d07a srai r19,r2,1
b94: 2485883a add r2,r4,r18
b98: 980d883a mov r6,r19
b9c: 9880022e bgeu r19,r2,ba8 <__sfvwrite_r+0x3f8>
ba0: 1027883a mov r19,r2
ba4: 100d883a mov r6,r2
ba8: 18c1000c andi r3,r3,1024
bac: 18001c26 beq r3,zero,c20 <__sfvwrite_r+0x470>
bb0: 300b883a mov r5,r6
bb4: a809883a mov r4,r21
bb8: 0000e000 call e00 <_malloc_r>
bbc: 102f883a mov r23,r2
bc0: 10002926 beq r2,zero,c68 <__sfvwrite_r+0x4b8>
bc4: 81400417 ldw r5,16(r16)
bc8: b00d883a mov r6,r22
bcc: 1009883a mov r4,r2
bd0: 00016f00 call 16f0 <memcpy>
bd4: 8080030b ldhu r2,12(r16)
bd8: 00fedfc4 movi r3,-1153
bdc: 10c4703a and r2,r2,r3
be0: 10802014 ori r2,r2,128
be4: 8080030d sth r2,12(r16)
be8: bd89883a add r4,r23,r22
bec: 9d8fc83a sub r7,r19,r22
bf0: 85c00415 stw r23,16(r16)
bf4: 84c00515 stw r19,20(r16)
bf8: 81000015 stw r4,0(r16)
bfc: 9027883a mov r19,r18
c00: 81c00215 stw r7,8(r16)
c04: 902f883a mov r23,r18
c08: 003f3806 br 8ec <__sfvwrite_r+0x13c>
c0c: 800b883a mov r5,r16
c10: a809883a mov r4,r21
c14: 00026d80 call 26d8 <_fflush_r>
c18: 103fb926 beq r2,zero,b00 <__sfvwrite_r+0x350>
c1c: 003f6506 br 9b4 <__sfvwrite_r+0x204>
c20: a809883a mov r4,r21
c24: 0001abc0 call 1abc <_realloc_r>
c28: 102f883a mov r23,r2
c2c: 103fee1e bne r2,zero,be8 <__sfvwrite_r+0x438>
c30: 81400417 ldw r5,16(r16)
c34: a809883a mov r4,r21
c38: 00028880 call 2888 <_free_r>
c3c: 8080030b ldhu r2,12(r16)
c40: 00ffdfc4 movi r3,-129
c44: 1884703a and r2,r3,r2
c48: 00c00304 movi r3,12
c4c: a8c00015 stw r3,0(r21)
c50: 003f5906 br 9b8 <__sfvwrite_r+0x208>
c54: 94c00044 addi r19,r18,1
c58: 02000044 movi r8,1
c5c: 003f6006 br 9e0 <__sfvwrite_r+0x230>
c60: 00bfffc4 movi r2,-1
c64: 003f0006 br 868 <__sfvwrite_r+0xb8>
c68: 00800304 movi r2,12
c6c: a8800015 stw r2,0(r21)
c70: 8080030b ldhu r2,12(r16)
c74: 003f5006 br 9b8 <__sfvwrite_r+0x208>
00000c78 <_fwalk>:
c78: defff704 addi sp,sp,-36
c7c: dd000415 stw r20,16(sp)
c80: dfc00815 stw ra,32(sp)
c84: ddc00715 stw r23,28(sp)
c88: dd800615 stw r22,24(sp)
c8c: dd400515 stw r21,20(sp)
c90: dcc00315 stw r19,12(sp)
c94: dc800215 stw r18,8(sp)
c98: dc400115 stw r17,4(sp)
c9c: dc000015 stw r16,0(sp)
ca0: 2500b804 addi r20,r4,736
ca4: a0002326 beq r20,zero,d34 <_fwalk+0xbc>
ca8: 282b883a mov r21,r5
cac: 002f883a mov r23,zero
cb0: 05800044 movi r22,1
cb4: 04ffffc4 movi r19,-1
cb8: a4400117 ldw r17,4(r20)
cbc: a4800217 ldw r18,8(r20)
cc0: 8c7fffc4 addi r17,r17,-1
cc4: 88000d16 blt r17,zero,cfc <_fwalk+0x84>
cc8: 94000304 addi r16,r18,12
ccc: 94800384 addi r18,r18,14
cd0: 8080000b ldhu r2,0(r16)
cd4: 8c7fffc4 addi r17,r17,-1
cd8: 813ffd04 addi r4,r16,-12
cdc: b080042e bgeu r22,r2,cf0 <_fwalk+0x78>
ce0: 9080000f ldh r2,0(r18)
ce4: 14c00226 beq r2,r19,cf0 <_fwalk+0x78>
ce8: a83ee83a callr r21
cec: b8aeb03a or r23,r23,r2
cf0: 84001a04 addi r16,r16,104
cf4: 94801a04 addi r18,r18,104
cf8: 8cfff51e bne r17,r19,cd0 <_fwalk+0x58>
cfc: a5000017 ldw r20,0(r20)
d00: a03fed1e bne r20,zero,cb8 <_fwalk+0x40>
d04: b805883a mov r2,r23
d08: dfc00817 ldw ra,32(sp)
d0c: ddc00717 ldw r23,28(sp)
d10: dd800617 ldw r22,24(sp)
d14: dd400517 ldw r21,20(sp)
d18: dd000417 ldw r20,16(sp)
d1c: dcc00317 ldw r19,12(sp)
d20: dc800217 ldw r18,8(sp)
d24: dc400117 ldw r17,4(sp)
d28: dc000017 ldw r16,0(sp)
d2c: dec00904 addi sp,sp,36
d30: f800283a ret
d34: 002f883a mov r23,zero
d38: 003ff206 br d04 <_fwalk+0x8c>
00000d3c <_fwalk_reent>:
d3c: defff704 addi sp,sp,-36
d40: dd000415 stw r20,16(sp)
d44: dfc00815 stw ra,32(sp)
d48: ddc00715 stw r23,28(sp)
d4c: dd800615 stw r22,24(sp)
d50: dd400515 stw r21,20(sp)
d54: dcc00315 stw r19,12(sp)
d58: dc800215 stw r18,8(sp)
d5c: dc400115 stw r17,4(sp)
d60: dc000015 stw r16,0(sp)
d64: 2500b804 addi r20,r4,736
d68: a0002326 beq r20,zero,df8 <_fwalk_reent+0xbc>
d6c: 282b883a mov r21,r5
d70: 2027883a mov r19,r4
d74: 002f883a mov r23,zero
d78: 05800044 movi r22,1
d7c: 04bfffc4 movi r18,-1
d80: a4400117 ldw r17,4(r20)
d84: a4000217 ldw r16,8(r20)
d88: 8c7fffc4 addi r17,r17,-1
d8c: 88000c16 blt r17,zero,dc0 <_fwalk_reent+0x84>
d90: 84000304 addi r16,r16,12
d94: 8080000b ldhu r2,0(r16)
d98: 8c7fffc4 addi r17,r17,-1
d9c: 817ffd04 addi r5,r16,-12
da0: b080052e bgeu r22,r2,db8 <_fwalk_reent+0x7c>
da4: 8080008f ldh r2,2(r16)
da8: 9809883a mov r4,r19
dac: 14800226 beq r2,r18,db8 <_fwalk_reent+0x7c>
db0: a83ee83a callr r21
db4: b8aeb03a or r23,r23,r2
db8: 84001a04 addi r16,r16,104
dbc: 8cbff51e bne r17,r18,d94 <_fwalk_reent+0x58>
dc0: a5000017 ldw r20,0(r20)
dc4: a03fee1e bne r20,zero,d80 <_fwalk_reent+0x44>
dc8: b805883a mov r2,r23
dcc: dfc00817 ldw ra,32(sp)
dd0: ddc00717 ldw r23,28(sp)
dd4: dd800617 ldw r22,24(sp)
dd8: dd400517 ldw r21,20(sp)
ddc: dd000417 ldw r20,16(sp)
de0: dcc00317 ldw r19,12(sp)
de4: dc800217 ldw r18,8(sp)
de8: dc400117 ldw r17,4(sp)
dec: dc000017 ldw r16,0(sp)
df0: dec00904 addi sp,sp,36
df4: f800283a ret
df8: 002f883a mov r23,zero
dfc: 003ff206 br dc8 <_fwalk_reent+0x8c>
00000e00 <_malloc_r>:
e00: defff504 addi sp,sp,-44
e04: dc800315 stw r18,12(sp)
e08: dfc00a15 stw ra,40(sp)
e0c: df000915 stw fp,36(sp)
e10: ddc00815 stw r23,32(sp)
e14: dd800715 stw r22,28(sp)
e18: dd400615 stw r21,24(sp)
e1c: dd000515 stw r20,20(sp)
e20: dcc00415 stw r19,16(sp)
e24: dc400215 stw r17,8(sp)
e28: dc000115 stw r16,4(sp)
e2c: 288002c4 addi r2,r5,11
e30: 00c00584 movi r3,22
e34: 2025883a mov r18,r4
e38: 18807f2e bgeu r3,r2,1038 <_malloc_r+0x238>
e3c: 047ffe04 movi r17,-8
e40: 1462703a and r17,r2,r17
e44: 8800a316 blt r17,zero,10d4 <_malloc_r+0x2d4>
e48: 8940a236 bltu r17,r5,10d4 <_malloc_r+0x2d4>
e4c: 00035500 call 3550 <__malloc_lock>
e50: 00807dc4 movi r2,503
e54: 1441e92e bgeu r2,r17,15fc <_malloc_r+0x7fc>
e58: 8804d27a srli r2,r17,9
e5c: 1000a126 beq r2,zero,10e4 <_malloc_r+0x2e4>
e60: 00c00104 movi r3,4
e64: 18811e36 bltu r3,r2,12e0 <_malloc_r+0x4e0>
e68: 8804d1ba srli r2,r17,6
e6c: 12000e44 addi r8,r2,57
e70: 11c00e04 addi r7,r2,56
e74: 4209883a add r4,r8,r8
e78: 04c00034 movhi r19,0
e7c: 2109883a add r4,r4,r4
e80: 9cd6dc04 addi r19,r19,23408
e84: 2109883a add r4,r4,r4
e88: 9909883a add r4,r19,r4
e8c: 24000117 ldw r16,4(r4)
e90: 213ffe04 addi r4,r4,-8
e94: 24009726 beq r4,r16,10f4 <_malloc_r+0x2f4>
e98: 80800117 ldw r2,4(r16)
e9c: 01bfff04 movi r6,-4
ea0: 014003c4 movi r5,15
ea4: 1184703a and r2,r2,r6
ea8: 1447c83a sub r3,r2,r17
eac: 28c00716 blt r5,r3,ecc <_malloc_r+0xcc>
eb0: 1800920e bge r3,zero,10fc <_malloc_r+0x2fc>
eb4: 84000317 ldw r16,12(r16)
eb8: 24008e26 beq r4,r16,10f4 <_malloc_r+0x2f4>
ebc: 80800117 ldw r2,4(r16)
ec0: 1184703a and r2,r2,r6
ec4: 1447c83a sub r3,r2,r17
ec8: 28fff90e bge r5,r3,eb0 <_malloc_r+0xb0>
ecc: 3809883a mov r4,r7
ed0: 01800034 movhi r6,0
ed4: 9c000417 ldw r16,16(r19)
ed8: 3196dc04 addi r6,r6,23408
edc: 32000204 addi r8,r6,8
ee0: 82013426 beq r16,r8,13b4 <_malloc_r+0x5b4>
ee4: 80c00117 ldw r3,4(r16)
ee8: 00bfff04 movi r2,-4
eec: 188e703a and r7,r3,r2
ef0: 3c45c83a sub r2,r7,r17
ef4: 00c003c4 movi r3,15
ef8: 18811f16 blt r3,r2,1378 <_malloc_r+0x578>
efc: 32000515 stw r8,20(r6)
f00: 32000415 stw r8,16(r6)
f04: 10007f0e bge r2,zero,1104 <_malloc_r+0x304>
f08: 00807fc4 movi r2,511
f0c: 11c0fd36 bltu r2,r7,1304 <_malloc_r+0x504>
f10: 3806d0fa srli r3,r7,3
f14: 01c00044 movi r7,1
f18: 30800117 ldw r2,4(r6)
f1c: 19400044 addi r5,r3,1
f20: 294b883a add r5,r5,r5
f24: 1807d0ba srai r3,r3,2
f28: 294b883a add r5,r5,r5
f2c: 294b883a add r5,r5,r5
f30: 298b883a add r5,r5,r6
f34: 38c6983a sll r3,r7,r3
f38: 29c00017 ldw r7,0(r5)
f3c: 2a7ffe04 addi r9,r5,-8
f40: 1886b03a or r3,r3,r2
f44: 82400315 stw r9,12(r16)
f48: 81c00215 stw r7,8(r16)
f4c: 30c00115 stw r3,4(r6)
f50: 2c000015 stw r16,0(r5)
f54: 3c000315 stw r16,12(r7)
f58: 2005d0ba srai r2,r4,2
f5c: 01400044 movi r5,1
f60: 288a983a sll r5,r5,r2
f64: 19406f36 bltu r3,r5,1124 <_malloc_r+0x324>
f68: 28c4703a and r2,r5,r3
f6c: 10000a1e bne r2,zero,f98 <_malloc_r+0x198>
f70: 00bfff04 movi r2,-4
f74: 294b883a add r5,r5,r5
f78: 2088703a and r4,r4,r2
f7c: 28c4703a and r2,r5,r3
f80: 21000104 addi r4,r4,4
f84: 1000041e bne r2,zero,f98 <_malloc_r+0x198>
f88: 294b883a add r5,r5,r5
f8c: 28c4703a and r2,r5,r3
f90: 21000104 addi r4,r4,4
f94: 103ffc26 beq r2,zero,f88 <_malloc_r+0x188>
f98: 02bfff04 movi r10,-4
f9c: 024003c4 movi r9,15
fa0: 21800044 addi r6,r4,1
fa4: 318d883a add r6,r6,r6
fa8: 318d883a add r6,r6,r6
fac: 318d883a add r6,r6,r6
fb0: 998d883a add r6,r19,r6
fb4: 333ffe04 addi r12,r6,-8
fb8: 2017883a mov r11,r4
fbc: 31800104 addi r6,r6,4
fc0: 34000017 ldw r16,0(r6)
fc4: 31fffd04 addi r7,r6,-12
fc8: 81c0041e bne r16,r7,fdc <_malloc_r+0x1dc>
fcc: 0000fb06 br 13bc <_malloc_r+0x5bc>
fd0: 1801030e bge r3,zero,13e0 <_malloc_r+0x5e0>
fd4: 84000317 ldw r16,12(r16)
fd8: 81c0f826 beq r16,r7,13bc <_malloc_r+0x5bc>
fdc: 80800117 ldw r2,4(r16)
fe0: 1284703a and r2,r2,r10
fe4: 1447c83a sub r3,r2,r17
fe8: 48fff90e bge r9,r3,fd0 <_malloc_r+0x1d0>
fec: 80800317 ldw r2,12(r16)
ff0: 81000217 ldw r4,8(r16)
ff4: 89400054 ori r5,r17,1
ff8: 81400115 stw r5,4(r16)
ffc: 20800315 stw r2,12(r4)
1000: 11000215 stw r4,8(r2)
1004: 8463883a add r17,r16,r17
1008: 9c400515 stw r17,20(r19)
100c: 9c400415 stw r17,16(r19)
1010: 18800054 ori r2,r3,1
1014: 88800115 stw r2,4(r17)
1018: 8a000315 stw r8,12(r17)
101c: 8a000215 stw r8,8(r17)
1020: 88e3883a add r17,r17,r3
1024: 88c00015 stw r3,0(r17)
1028: 9009883a mov r4,r18
102c: 00035740 call 3574 <__malloc_unlock>
1030: 80800204 addi r2,r16,8
1034: 00001b06 br 10a4 <_malloc_r+0x2a4>
1038: 04400404 movi r17,16
103c: 89402536 bltu r17,r5,10d4 <_malloc_r+0x2d4>
1040: 00035500 call 3550 <__malloc_lock>
1044: 00800184 movi r2,6
1048: 01000084 movi r4,2
104c: 04c00034 movhi r19,0
1050: 1085883a add r2,r2,r2
1054: 9cd6dc04 addi r19,r19,23408
1058: 1085883a add r2,r2,r2
105c: 9885883a add r2,r19,r2
1060: 14000117 ldw r16,4(r2)
1064: 10fffe04 addi r3,r2,-8
1068: 80c0d926 beq r16,r3,13d0 <_malloc_r+0x5d0>
106c: 80c00117 ldw r3,4(r16)
1070: 81000317 ldw r4,12(r16)
1074: 00bfff04 movi r2,-4
1078: 1884703a and r2,r3,r2
107c: 81400217 ldw r5,8(r16)
1080: 8085883a add r2,r16,r2
1084: 10c00117 ldw r3,4(r2)
1088: 29000315 stw r4,12(r5)
108c: 21400215 stw r5,8(r4)
1090: 18c00054 ori r3,r3,1
1094: 10c00115 stw r3,4(r2)
1098: 9009883a mov r4,r18
109c: 00035740 call 3574 <__malloc_unlock>
10a0: 80800204 addi r2,r16,8
10a4: dfc00a17 ldw ra,40(sp)
10a8: df000917 ldw fp,36(sp)
10ac: ddc00817 ldw r23,32(sp)
10b0: dd800717 ldw r22,28(sp)
10b4: dd400617 ldw r21,24(sp)
10b8: dd000517 ldw r20,20(sp)
10bc: dcc00417 ldw r19,16(sp)
10c0: dc800317 ldw r18,12(sp)
10c4: dc400217 ldw r17,8(sp)
10c8: dc000117 ldw r16,4(sp)
10cc: dec00b04 addi sp,sp,44
10d0: f800283a ret
10d4: 00800304 movi r2,12
10d8: 90800015 stw r2,0(r18)
10dc: 0005883a mov r2,zero
10e0: 003ff006 br 10a4 <_malloc_r+0x2a4>
10e4: 01002004 movi r4,128
10e8: 02001004 movi r8,64
10ec: 01c00fc4 movi r7,63
10f0: 003f6106 br e78 <_malloc_r+0x78>
10f4: 4009883a mov r4,r8
10f8: 003f7506 br ed0 <_malloc_r+0xd0>
10fc: 81000317 ldw r4,12(r16)
1100: 003fde06 br 107c <_malloc_r+0x27c>
1104: 81c5883a add r2,r16,r7
1108: 11400117 ldw r5,4(r2)
110c: 9009883a mov r4,r18
1110: 29400054 ori r5,r5,1
1114: 11400115 stw r5,4(r2)
1118: 00035740 call 3574 <__malloc_unlock>
111c: 80800204 addi r2,r16,8
1120: 003fe006 br 10a4 <_malloc_r+0x2a4>
1124: 9c000217 ldw r16,8(r19)
1128: 00bfff04 movi r2,-4
112c: 85800117 ldw r22,4(r16)
1130: b0ac703a and r22,r22,r2
1134: b4400336 bltu r22,r17,1144 <_malloc_r+0x344>
1138: b445c83a sub r2,r22,r17
113c: 00c003c4 movi r3,15
1140: 18805d16 blt r3,r2,12b8 <_malloc_r+0x4b8>
1144: 05c00034 movhi r23,0
1148: 00800034 movhi r2,0
114c: 109c7004 addi r2,r2,29120
1150: bddc6204 addi r23,r23,29064
1154: 15400017 ldw r21,0(r2)
1158: b8c00017 ldw r3,0(r23)
115c: 00bfffc4 movi r2,-1
1160: 858d883a add r6,r16,r22
1164: 8d6b883a add r21,r17,r21
1168: 1880ea26 beq r3,r2,1514 <_malloc_r+0x714>
116c: ad4403c4 addi r21,r21,4111
1170: 00bc0004 movi r2,-4096
1174: a8aa703a and r21,r21,r2
1178: a80b883a mov r5,r21
117c: 9009883a mov r4,r18
1180: d9800015 stw r6,0(sp)
1184: 00020200 call 2020 <_sbrk_r>
1188: 1029883a mov r20,r2
118c: 00bfffc4 movi r2,-1
1190: d9800017 ldw r6,0(sp)
1194: a080e826 beq r20,r2,1538 <_malloc_r+0x738>
1198: a180a636 bltu r20,r6,1434 <_malloc_r+0x634>
119c: 07000034 movhi fp,0
11a0: e71c7904 addi fp,fp,29156
11a4: e0800017 ldw r2,0(fp)
11a8: a887883a add r3,r21,r2
11ac: e0c00015 stw r3,0(fp)
11b0: 3500e626 beq r6,r20,154c <_malloc_r+0x74c>
11b4: b9000017 ldw r4,0(r23)
11b8: 00bfffc4 movi r2,-1
11bc: 2080ee26 beq r4,r2,1578 <_malloc_r+0x778>
11c0: a185c83a sub r2,r20,r6
11c4: 10c5883a add r2,r2,r3
11c8: e0800015 stw r2,0(fp)
11cc: a0c001cc andi r3,r20,7
11d0: 1800bc26 beq r3,zero,14c4 <_malloc_r+0x6c4>
11d4: a0e9c83a sub r20,r20,r3
11d8: 00840204 movi r2,4104
11dc: a5000204 addi r20,r20,8
11e0: 10c7c83a sub r3,r2,r3
11e4: a545883a add r2,r20,r21
11e8: 1083ffcc andi r2,r2,4095
11ec: 18abc83a sub r21,r3,r2
11f0: a80b883a mov r5,r21
11f4: 9009883a mov r4,r18
11f8: 00020200 call 2020 <_sbrk_r>
11fc: 00ffffc4 movi r3,-1
1200: 10c0e126 beq r2,r3,1588 <_malloc_r+0x788>
1204: 1505c83a sub r2,r2,r20
1208: 1545883a add r2,r2,r21
120c: 10800054 ori r2,r2,1
1210: e0c00017 ldw r3,0(fp)
1214: 9d000215 stw r20,8(r19)
1218: a0800115 stw r2,4(r20)
121c: a8c7883a add r3,r21,r3
1220: e0c00015 stw r3,0(fp)
1224: 84c00e26 beq r16,r19,1260 <_malloc_r+0x460>
1228: 018003c4 movi r6,15
122c: 3580a72e bgeu r6,r22,14cc <_malloc_r+0x6cc>
1230: 81400117 ldw r5,4(r16)
1234: 013ffe04 movi r4,-8
1238: b0bffd04 addi r2,r22,-12
123c: 1104703a and r2,r2,r4
1240: 2900004c andi r4,r5,1
1244: 2088b03a or r4,r4,r2
1248: 81000115 stw r4,4(r16)
124c: 01400144 movi r5,5
1250: 8089883a add r4,r16,r2
1254: 21400115 stw r5,4(r4)
1258: 21400215 stw r5,8(r4)
125c: 3080cd36 bltu r6,r2,1594 <_malloc_r+0x794>
1260: 00800034 movhi r2,0
1264: 109c6f04 addi r2,r2,29116
1268: 11000017 ldw r4,0(r2)
126c: 20c0012e bgeu r4,r3,1274 <_malloc_r+0x474>
1270: 10c00015 stw r3,0(r2)
1274: 00800034 movhi r2,0
1278: 109c6e04 addi r2,r2,29112
127c: 11000017 ldw r4,0(r2)
1280: 9c000217 ldw r16,8(r19)
1284: 20c0012e bgeu r4,r3,128c <_malloc_r+0x48c>
1288: 10c00015 stw r3,0(r2)
128c: 80c00117 ldw r3,4(r16)
1290: 00bfff04 movi r2,-4
1294: 1886703a and r3,r3,r2
1298: 1c45c83a sub r2,r3,r17
129c: 1c400236 bltu r3,r17,12a8 <_malloc_r+0x4a8>
12a0: 00c003c4 movi r3,15
12a4: 18800416 blt r3,r2,12b8 <_malloc_r+0x4b8>
12a8: 9009883a mov r4,r18
12ac: 00035740 call 3574 <__malloc_unlock>
12b0: 0005883a mov r2,zero
12b4: 003f7b06 br 10a4 <_malloc_r+0x2a4>
12b8: 88c00054 ori r3,r17,1
12bc: 80c00115 stw r3,4(r16)
12c0: 8463883a add r17,r16,r17
12c4: 10800054 ori r2,r2,1
12c8: 9c400215 stw r17,8(r19)
12cc: 88800115 stw r2,4(r17)
12d0: 9009883a mov r4,r18
12d4: 00035740 call 3574 <__malloc_unlock>
12d8: 80800204 addi r2,r16,8
12dc: 003f7106 br 10a4 <_malloc_r+0x2a4>
12e0: 00c00504 movi r3,20
12e4: 18804a2e bgeu r3,r2,1410 <_malloc_r+0x610>
12e8: 00c01504 movi r3,84
12ec: 18806e36 bltu r3,r2,14a8 <_malloc_r+0x6a8>
12f0: 8804d33a srli r2,r17,12
12f4: 12001bc4 addi r8,r2,111
12f8: 11c01b84 addi r7,r2,110
12fc: 4209883a add r4,r8,r8
1300: 003edd06 br e78 <_malloc_r+0x78>
1304: 3804d27a srli r2,r7,9
1308: 00c00104 movi r3,4
130c: 1880442e bgeu r3,r2,1420 <_malloc_r+0x620>
1310: 00c00504 movi r3,20
1314: 18808136 bltu r3,r2,151c <_malloc_r+0x71c>
1318: 11401704 addi r5,r2,92
131c: 10c016c4 addi r3,r2,91
1320: 294b883a add r5,r5,r5
1324: 294b883a add r5,r5,r5
1328: 294b883a add r5,r5,r5
132c: 994b883a add r5,r19,r5
1330: 28800017 ldw r2,0(r5)
1334: 01800034 movhi r6,0
1338: 297ffe04 addi r5,r5,-8
133c: 3196dc04 addi r6,r6,23408
1340: 28806526 beq r5,r2,14d8 <_malloc_r+0x6d8>
1344: 01bfff04 movi r6,-4
1348: 10c00117 ldw r3,4(r2)
134c: 1986703a and r3,r3,r6
1350: 38c0022e bgeu r7,r3,135c <_malloc_r+0x55c>
1354: 10800217 ldw r2,8(r2)
1358: 28bffb1e bne r5,r2,1348 <_malloc_r+0x548>
135c: 11400317 ldw r5,12(r2)
1360: 98c00117 ldw r3,4(r19)
1364: 81400315 stw r5,12(r16)
1368: 80800215 stw r2,8(r16)
136c: 2c000215 stw r16,8(r5)
1370: 14000315 stw r16,12(r2)
1374: 003ef806 br f58 <_malloc_r+0x158>
1378: 88c00054 ori r3,r17,1
137c: 80c00115 stw r3,4(r16)
1380: 8463883a add r17,r16,r17
1384: 34400515 stw r17,20(r6)
1388: 34400415 stw r17,16(r6)
138c: 10c00054 ori r3,r2,1
1390: 8a000315 stw r8,12(r17)
1394: 8a000215 stw r8,8(r17)
1398: 88c00115 stw r3,4(r17)
139c: 88a3883a add r17,r17,r2
13a0: 88800015 stw r2,0(r17)
13a4: 9009883a mov r4,r18
13a8: 00035740 call 3574 <__malloc_unlock>
13ac: 80800204 addi r2,r16,8
13b0: 003f3c06 br 10a4 <_malloc_r+0x2a4>
13b4: 30c00117 ldw r3,4(r6)
13b8: 003ee706 br f58 <_malloc_r+0x158>
13bc: 5ac00044 addi r11,r11,1
13c0: 588000cc andi r2,r11,3
13c4: 31800204 addi r6,r6,8
13c8: 103efd1e bne r2,zero,fc0 <_malloc_r+0x1c0>
13cc: 00002406 br 1460 <_malloc_r+0x660>
13d0: 14000317 ldw r16,12(r2)
13d4: 143f251e bne r2,r16,106c <_malloc_r+0x26c>
13d8: 21000084 addi r4,r4,2
13dc: 003ebc06 br ed0 <_malloc_r+0xd0>
13e0: 8085883a add r2,r16,r2
13e4: 10c00117 ldw r3,4(r2)
13e8: 81000317 ldw r4,12(r16)
13ec: 81400217 ldw r5,8(r16)
13f0: 18c00054 ori r3,r3,1
13f4: 10c00115 stw r3,4(r2)
13f8: 29000315 stw r4,12(r5)
13fc: 21400215 stw r5,8(r4)
1400: 9009883a mov r4,r18
1404: 00035740 call 3574 <__malloc_unlock>
1408: 80800204 addi r2,r16,8
140c: 003f2506 br 10a4 <_malloc_r+0x2a4>
1410: 12001704 addi r8,r2,92
1414: 11c016c4 addi r7,r2,91
1418: 4209883a add r4,r8,r8
141c: 003e9606 br e78 <_malloc_r+0x78>
1420: 3804d1ba srli r2,r7,6
1424: 11400e44 addi r5,r2,57
1428: 10c00e04 addi r3,r2,56
142c: 294b883a add r5,r5,r5
1430: 003fbc06 br 1324 <_malloc_r+0x524>
1434: 84ff5926 beq r16,r19,119c <_malloc_r+0x39c>
1438: 00800034 movhi r2,0
143c: 1096dc04 addi r2,r2,23408
1440: 14000217 ldw r16,8(r2)
1444: 00bfff04 movi r2,-4
1448: 80c00117 ldw r3,4(r16)
144c: 1886703a and r3,r3,r2
1450: 003f9106 br 1298 <_malloc_r+0x498>
1454: 60800217 ldw r2,8(r12)
1458: 213fffc4 addi r4,r4,-1
145c: 1300651e bne r2,r12,15f4 <_malloc_r+0x7f4>
1460: 208000cc andi r2,r4,3
1464: 633ffe04 addi r12,r12,-8
1468: 103ffa1e bne r2,zero,1454 <_malloc_r+0x654>
146c: 98800117 ldw r2,4(r19)
1470: 0146303a nor r3,zero,r5
1474: 1884703a and r2,r3,r2
1478: 98800115 stw r2,4(r19)
147c: 294b883a add r5,r5,r5
1480: 117f2836 bltu r2,r5,1124 <_malloc_r+0x324>
1484: 283f2726 beq r5,zero,1124 <_malloc_r+0x324>
1488: 2886703a and r3,r5,r2
148c: 5809883a mov r4,r11
1490: 183ec31e bne r3,zero,fa0 <_malloc_r+0x1a0>
1494: 294b883a add r5,r5,r5
1498: 2886703a and r3,r5,r2
149c: 21000104 addi r4,r4,4
14a0: 183ffc26 beq r3,zero,1494 <_malloc_r+0x694>
14a4: 003ebe06 br fa0 <_malloc_r+0x1a0>
14a8: 00c05504 movi r3,340
14ac: 18801236 bltu r3,r2,14f8 <_malloc_r+0x6f8>
14b0: 8804d3fa srli r2,r17,15
14b4: 12001e04 addi r8,r2,120
14b8: 11c01dc4 addi r7,r2,119
14bc: 4209883a add r4,r8,r8
14c0: 003e6d06 br e78 <_malloc_r+0x78>
14c4: 00c40004 movi r3,4096
14c8: 003f4606 br 11e4 <_malloc_r+0x3e4>
14cc: 00800044 movi r2,1
14d0: a0800115 stw r2,4(r20)
14d4: 003f7406 br 12a8 <_malloc_r+0x4a8>
14d8: 1805d0ba srai r2,r3,2
14dc: 01c00044 movi r7,1
14e0: 30c00117 ldw r3,4(r6)
14e4: 388e983a sll r7,r7,r2
14e8: 2805883a mov r2,r5
14ec: 38c6b03a or r3,r7,r3
14f0: 30c00115 stw r3,4(r6)
14f4: 003f9b06 br 1364 <_malloc_r+0x564>
14f8: 00c15504 movi r3,1364
14fc: 18801a36 bltu r3,r2,1568 <_malloc_r+0x768>
1500: 8804d4ba srli r2,r17,18
1504: 12001f44 addi r8,r2,125
1508: 11c01f04 addi r7,r2,124
150c: 4209883a add r4,r8,r8
1510: 003e5906 br e78 <_malloc_r+0x78>
1514: ad400404 addi r21,r21,16
1518: 003f1706 br 1178 <_malloc_r+0x378>
151c: 00c01504 movi r3,84
1520: 18802336 bltu r3,r2,15b0 <_malloc_r+0x7b0>
1524: 3804d33a srli r2,r7,12
1528: 11401bc4 addi r5,r2,111
152c: 10c01b84 addi r3,r2,110
1530: 294b883a add r5,r5,r5
1534: 003f7b06 br 1324 <_malloc_r+0x524>
1538: 9c000217 ldw r16,8(r19)
153c: 00bfff04 movi r2,-4
1540: 80c00117 ldw r3,4(r16)
1544: 1886703a and r3,r3,r2
1548: 003f5306 br 1298 <_malloc_r+0x498>
154c: 3083ffcc andi r2,r6,4095
1550: 103f181e bne r2,zero,11b4 <_malloc_r+0x3b4>
1554: 99000217 ldw r4,8(r19)
1558: b545883a add r2,r22,r21
155c: 10800054 ori r2,r2,1
1560: 20800115 stw r2,4(r4)
1564: 003f3e06 br 1260 <_malloc_r+0x460>
1568: 01003f84 movi r4,254
156c: 02001fc4 movi r8,127
1570: 01c01f84 movi r7,126
1574: 003e4006 br e78 <_malloc_r+0x78>
1578: 00800034 movhi r2,0
157c: 109c6204 addi r2,r2,29064
1580: 15000015 stw r20,0(r2)
1584: 003f1106 br 11cc <_malloc_r+0x3cc>
1588: 00800044 movi r2,1
158c: 002b883a mov r21,zero
1590: 003f1f06 br 1210 <_malloc_r+0x410>
1594: 81400204 addi r5,r16,8
1598: 9009883a mov r4,r18
159c: 00028880 call 2888 <_free_r>
15a0: 00800034 movhi r2,0
15a4: 109c7904 addi r2,r2,29156
15a8: 10c00017 ldw r3,0(r2)
15ac: 003f2c06 br 1260 <_malloc_r+0x460>
15b0: 00c05504 movi r3,340
15b4: 18800536 bltu r3,r2,15cc <_malloc_r+0x7cc>
15b8: 3804d3fa srli r2,r7,15
15bc: 11401e04 addi r5,r2,120
15c0: 10c01dc4 addi r3,r2,119
15c4: 294b883a add r5,r5,r5
15c8: 003f5606 br 1324 <_malloc_r+0x524>
15cc: 00c15504 movi r3,1364
15d0: 18800536 bltu r3,r2,15e8 <_malloc_r+0x7e8>
15d4: 3804d4ba srli r2,r7,18
15d8: 11401f44 addi r5,r2,125
15dc: 10c01f04 addi r3,r2,124
15e0: 294b883a add r5,r5,r5
15e4: 003f4f06 br 1324 <_malloc_r+0x524>
15e8: 01403f84 movi r5,254
15ec: 00c01f84 movi r3,126
15f0: 003f4c06 br 1324 <_malloc_r+0x524>
15f4: 98800117 ldw r2,4(r19)
15f8: 003fa006 br 147c <_malloc_r+0x67c>
15fc: 8808d0fa srli r4,r17,3
1600: 20800044 addi r2,r4,1
1604: 1085883a add r2,r2,r2
1608: 003e9006 br 104c <_malloc_r+0x24c>
0000160c <memchr>:
160c: 208000cc andi r2,r4,3
1610: 280f883a mov r7,r5
1614: 10003426 beq r2,zero,16e8 <memchr+0xdc>
1618: 30bfffc4 addi r2,r6,-1
161c: 30001a26 beq r6,zero,1688 <memchr+0x7c>
1620: 20c00003 ldbu r3,0(r4)
1624: 29803fcc andi r6,r5,255
1628: 30c0051e bne r6,r3,1640 <memchr+0x34>
162c: 00001806 br 1690 <memchr+0x84>
1630: 10001526 beq r2,zero,1688 <memchr+0x7c>
1634: 20c00003 ldbu r3,0(r4)
1638: 10bfffc4 addi r2,r2,-1
163c: 30c01426 beq r6,r3,1690 <memchr+0x84>
1640: 21000044 addi r4,r4,1
1644: 20c000cc andi r3,r4,3
1648: 183ff91e bne r3,zero,1630 <memchr+0x24>
164c: 020000c4 movi r8,3
1650: 40801136 bltu r8,r2,1698 <memchr+0x8c>
1654: 10000c26 beq r2,zero,1688 <memchr+0x7c>
1658: 20c00003 ldbu r3,0(r4)
165c: 29403fcc andi r5,r5,255
1660: 28c00b26 beq r5,r3,1690 <memchr+0x84>
1664: 20c00044 addi r3,r4,1
1668: 39803fcc andi r6,r7,255
166c: 2089883a add r4,r4,r2
1670: 00000306 br 1680 <memchr+0x74>
1674: 18c00044 addi r3,r3,1
1678: 197fffc3 ldbu r5,-1(r3)
167c: 31400526 beq r6,r5,1694 <memchr+0x88>
1680: 1805883a mov r2,r3
1684: 20fffb1e bne r4,r3,1674 <memchr+0x68>
1688: 0005883a mov r2,zero
168c: f800283a ret
1690: 2005883a mov r2,r4
1694: f800283a ret
1698: 28c03fcc andi r3,r5,255
169c: 1812923a slli r9,r3,8
16a0: 02ffbff4 movhi r11,65279
16a4: 02a02074 movhi r10,32897
16a8: 48d2b03a or r9,r9,r3
16ac: 4806943a slli r3,r9,16
16b0: 5affbfc4 addi r11,r11,-257
16b4: 52a02004 addi r10,r10,-32640
16b8: 48d2b03a or r9,r9,r3
16bc: 20c00017 ldw r3,0(r4)
16c0: 48c6f03a xor r3,r9,r3
16c4: 1acd883a add r6,r3,r11
16c8: 00c6303a nor r3,zero,r3
16cc: 30c6703a and r3,r6,r3
16d0: 1a86703a and r3,r3,r10
16d4: 183fe01e bne r3,zero,1658 <memchr+0x4c>
16d8: 10bfff04 addi r2,r2,-4
16dc: 21000104 addi r4,r4,4
16e0: 40bff636 bltu r8,r2,16bc <memchr+0xb0>
16e4: 003fdb06 br 1654 <memchr+0x48>
16e8: 3005883a mov r2,r6
16ec: 003fd706 br 164c <memchr+0x40>
000016f0 <memcpy>:
16f0: defffd04 addi sp,sp,-12
16f4: dfc00215 stw ra,8(sp)
16f8: dc400115 stw r17,4(sp)
16fc: dc000015 stw r16,0(sp)
1700: 00c003c4 movi r3,15
1704: 2005883a mov r2,r4
1708: 1980452e bgeu r3,r6,1820 <memcpy+0x130>
170c: 2906b03a or r3,r5,r4
1710: 18c000cc andi r3,r3,3
1714: 1800441e bne r3,zero,1828 <memcpy+0x138>
1718: 347ffc04 addi r17,r6,-16
171c: 8822d13a srli r17,r17,4
1720: 28c00104 addi r3,r5,4
1724: 23400104 addi r13,r4,4
1728: 8820913a slli r16,r17,4
172c: 2b000204 addi r12,r5,8
1730: 22c00204 addi r11,r4,8
1734: 84000504 addi r16,r16,20
1738: 2a800304 addi r10,r5,12
173c: 22400304 addi r9,r4,12
1740: 2c21883a add r16,r5,r16
1744: 2811883a mov r8,r5
1748: 200f883a mov r7,r4
174c: 41000017 ldw r4,0(r8)
1750: 1fc00017 ldw ra,0(r3)
1754: 63c00017 ldw r15,0(r12)
1758: 39000015 stw r4,0(r7)
175c: 53800017 ldw r14,0(r10)
1760: 6fc00015 stw ra,0(r13)
1764: 5bc00015 stw r15,0(r11)
1768: 4b800015 stw r14,0(r9)
176c: 18c00404 addi r3,r3,16
1770: 39c00404 addi r7,r7,16
1774: 42000404 addi r8,r8,16
1778: 6b400404 addi r13,r13,16
177c: 63000404 addi r12,r12,16
1780: 5ac00404 addi r11,r11,16
1784: 52800404 addi r10,r10,16
1788: 4a400404 addi r9,r9,16
178c: 1c3fef1e bne r3,r16,174c <memcpy+0x5c>
1790: 89c00044 addi r7,r17,1
1794: 380e913a slli r7,r7,4
1798: 310003cc andi r4,r6,15
179c: 02c000c4 movi r11,3
17a0: 11c7883a add r3,r2,r7
17a4: 29cb883a add r5,r5,r7
17a8: 5900212e bgeu r11,r4,1830 <memcpy+0x140>
17ac: 1813883a mov r9,r3
17b0: 2811883a mov r8,r5
17b4: 200f883a mov r7,r4
17b8: 42800017 ldw r10,0(r8)
17bc: 4a400104 addi r9,r9,4
17c0: 39ffff04 addi r7,r7,-4
17c4: 4abfff15 stw r10,-4(r9)
17c8: 42000104 addi r8,r8,4
17cc: 59fffa36 bltu r11,r7,17b8 <memcpy+0xc8>
17d0: 213fff04 addi r4,r4,-4
17d4: 2008d0ba srli r4,r4,2
17d8: 318000cc andi r6,r6,3
17dc: 21000044 addi r4,r4,1
17e0: 2109883a add r4,r4,r4
17e4: 2109883a add r4,r4,r4
17e8: 1907883a add r3,r3,r4
17ec: 290b883a add r5,r5,r4
17f0: 30000626 beq r6,zero,180c <memcpy+0x11c>
17f4: 198d883a add r6,r3,r6
17f8: 29c00003 ldbu r7,0(r5)
17fc: 18c00044 addi r3,r3,1
1800: 29400044 addi r5,r5,1
1804: 19ffffc5 stb r7,-1(r3)
1808: 19bffb1e bne r3,r6,17f8 <memcpy+0x108>
180c: dfc00217 ldw ra,8(sp)
1810: dc400117 ldw r17,4(sp)
1814: dc000017 ldw r16,0(sp)
1818: dec00304 addi sp,sp,12
181c: f800283a ret
1820: 2007883a mov r3,r4
1824: 003ff206 br 17f0 <memcpy+0x100>
1828: 2007883a mov r3,r4
182c: 003ff106 br 17f4 <memcpy+0x104>
1830: 200d883a mov r6,r4
1834: 003fee06 br 17f0 <memcpy+0x100>
00001838 <memmove>:
1838: 2005883a mov r2,r4
183c: 29000b2e bgeu r5,r4,186c <memmove+0x34>
1840: 298f883a add r7,r5,r6
1844: 21c0092e bgeu r4,r7,186c <memmove+0x34>
1848: 2187883a add r3,r4,r6
184c: 198bc83a sub r5,r3,r6
1850: 30004826 beq r6,zero,1974 <memmove+0x13c>
1854: 39ffffc4 addi r7,r7,-1
1858: 39000003 ldbu r4,0(r7)
185c: 18ffffc4 addi r3,r3,-1
1860: 19000005 stb r4,0(r3)
1864: 28fffb1e bne r5,r3,1854 <memmove+0x1c>
1868: f800283a ret
186c: 00c003c4 movi r3,15
1870: 1980412e bgeu r3,r6,1978 <memmove+0x140>
1874: 2886b03a or r3,r5,r2
1878: 18c000cc andi r3,r3,3
187c: 1800401e bne r3,zero,1980 <memmove+0x148>
1880: 33fffc04 addi r15,r6,-16
1884: 781ed13a srli r15,r15,4
1888: 28c00104 addi r3,r5,4
188c: 13400104 addi r13,r2,4
1890: 781c913a slli r14,r15,4
1894: 2b000204 addi r12,r5,8
1898: 12c00204 addi r11,r2,8
189c: 73800504 addi r14,r14,20
18a0: 2a800304 addi r10,r5,12
18a4: 12400304 addi r9,r2,12
18a8: 2b9d883a add r14,r5,r14
18ac: 2811883a mov r8,r5
18b0: 100f883a mov r7,r2
18b4: 41000017 ldw r4,0(r8)
18b8: 39c00404 addi r7,r7,16
18bc: 18c00404 addi r3,r3,16
18c0: 393ffc15 stw r4,-16(r7)
18c4: 193ffc17 ldw r4,-16(r3)
18c8: 6b400404 addi r13,r13,16
18cc: 5ac00404 addi r11,r11,16
18d0: 693ffc15 stw r4,-16(r13)
18d4: 61000017 ldw r4,0(r12)
18d8: 4a400404 addi r9,r9,16
18dc: 42000404 addi r8,r8,16
18e0: 593ffc15 stw r4,-16(r11)
18e4: 51000017 ldw r4,0(r10)
18e8: 63000404 addi r12,r12,16
18ec: 52800404 addi r10,r10,16
18f0: 493ffc15 stw r4,-16(r9)
18f4: 1bbfef1e bne r3,r14,18b4 <memmove+0x7c>
18f8: 79000044 addi r4,r15,1
18fc: 2008913a slli r4,r4,4
1900: 328003cc andi r10,r6,15
1904: 02c000c4 movi r11,3
1908: 1107883a add r3,r2,r4
190c: 290b883a add r5,r5,r4
1910: 5a801e2e bgeu r11,r10,198c <memmove+0x154>
1914: 1813883a mov r9,r3
1918: 2811883a mov r8,r5
191c: 500f883a mov r7,r10
1920: 41000017 ldw r4,0(r8)
1924: 4a400104 addi r9,r9,4
1928: 39ffff04 addi r7,r7,-4
192c: 493fff15 stw r4,-4(r9)
1930: 42000104 addi r8,r8,4
1934: 59fffa36 bltu r11,r7,1920 <memmove+0xe8>
1938: 513fff04 addi r4,r10,-4
193c: 2008d0ba srli r4,r4,2
1940: 318000cc andi r6,r6,3
1944: 21000044 addi r4,r4,1
1948: 2109883a add r4,r4,r4
194c: 2109883a add r4,r4,r4
1950: 1907883a add r3,r3,r4
1954: 290b883a add r5,r5,r4
1958: 30000b26 beq r6,zero,1988 <memmove+0x150>
195c: 198d883a add r6,r3,r6
1960: 29c00003 ldbu r7,0(r5)
1964: 18c00044 addi r3,r3,1
1968: 29400044 addi r5,r5,1
196c: 19ffffc5 stb r7,-1(r3)
1970: 19bffb1e bne r3,r6,1960 <memmove+0x128>
1974: f800283a ret
1978: 1007883a mov r3,r2
197c: 003ff606 br 1958 <memmove+0x120>
1980: 1007883a mov r3,r2
1984: 003ff506 br 195c <memmove+0x124>
1988: f800283a ret
198c: 500d883a mov r6,r10
1990: 003ff106 br 1958 <memmove+0x120>
00001994 <memset>:
1994: 20c000cc andi r3,r4,3
1998: 2005883a mov r2,r4
199c: 18004426 beq r3,zero,1ab0 <memset+0x11c>
19a0: 31ffffc4 addi r7,r6,-1
19a4: 30004026 beq r6,zero,1aa8 <memset+0x114>
19a8: 2813883a mov r9,r5
19ac: 200d883a mov r6,r4
19b0: 2007883a mov r3,r4
19b4: 00000406 br 19c8 <memset+0x34>
19b8: 3a3fffc4 addi r8,r7,-1
19bc: 31800044 addi r6,r6,1
19c0: 38003926 beq r7,zero,1aa8 <memset+0x114>
19c4: 400f883a mov r7,r8
19c8: 18c00044 addi r3,r3,1
19cc: 32400005 stb r9,0(r6)
19d0: 1a0000cc andi r8,r3,3
19d4: 403ff81e bne r8,zero,19b8 <memset+0x24>
19d8: 010000c4 movi r4,3
19dc: 21c02d2e bgeu r4,r7,1a94 <memset+0x100>
19e0: 29003fcc andi r4,r5,255
19e4: 200c923a slli r6,r4,8
19e8: 3108b03a or r4,r6,r4
19ec: 200c943a slli r6,r4,16
19f0: 218cb03a or r6,r4,r6
19f4: 010003c4 movi r4,15
19f8: 21c0182e bgeu r4,r7,1a5c <memset+0xc8>
19fc: 3b3ffc04 addi r12,r7,-16
1a00: 6018d13a srli r12,r12,4
1a04: 1a000104 addi r8,r3,4
1a08: 1ac00204 addi r11,r3,8
1a0c: 6008913a slli r4,r12,4
1a10: 1a800304 addi r10,r3,12
1a14: 1813883a mov r9,r3
1a18: 21000504 addi r4,r4,20
1a1c: 1909883a add r4,r3,r4
1a20: 49800015 stw r6,0(r9)
1a24: 41800015 stw r6,0(r8)
1a28: 59800015 stw r6,0(r11)
1a2c: 51800015 stw r6,0(r10)
1a30: 42000404 addi r8,r8,16
1a34: 4a400404 addi r9,r9,16
1a38: 5ac00404 addi r11,r11,16
1a3c: 52800404 addi r10,r10,16
1a40: 413ff71e bne r8,r4,1a20 <memset+0x8c>
1a44: 63000044 addi r12,r12,1
1a48: 6018913a slli r12,r12,4
1a4c: 39c003cc andi r7,r7,15
1a50: 010000c4 movi r4,3
1a54: 1b07883a add r3,r3,r12
1a58: 21c00e2e bgeu r4,r7,1a94 <memset+0x100>
1a5c: 1813883a mov r9,r3
1a60: 3811883a mov r8,r7
1a64: 010000c4 movi r4,3
1a68: 49800015 stw r6,0(r9)
1a6c: 423fff04 addi r8,r8,-4
1a70: 4a400104 addi r9,r9,4
1a74: 223ffc36 bltu r4,r8,1a68 <memset+0xd4>
1a78: 393fff04 addi r4,r7,-4
1a7c: 2008d0ba srli r4,r4,2
1a80: 39c000cc andi r7,r7,3
1a84: 21000044 addi r4,r4,1
1a88: 2109883a add r4,r4,r4
1a8c: 2109883a add r4,r4,r4
1a90: 1907883a add r3,r3,r4
1a94: 38000526 beq r7,zero,1aac <memset+0x118>
1a98: 19cf883a add r7,r3,r7
1a9c: 19400005 stb r5,0(r3)
1aa0: 18c00044 addi r3,r3,1
1aa4: 38fffd1e bne r7,r3,1a9c <memset+0x108>
1aa8: f800283a ret
1aac: f800283a ret
1ab0: 2007883a mov r3,r4
1ab4: 300f883a mov r7,r6
1ab8: 003fc706 br 19d8 <memset+0x44>
00001abc <_realloc_r>:
1abc: defff604 addi sp,sp,-40
1ac0: dc800215 stw r18,8(sp)
1ac4: dfc00915 stw ra,36(sp)
1ac8: df000815 stw fp,32(sp)
1acc: ddc00715 stw r23,28(sp)
1ad0: dd800615 stw r22,24(sp)
1ad4: dd400515 stw r21,20(sp)
1ad8: dd000415 stw r20,16(sp)
1adc: dcc00315 stw r19,12(sp)
1ae0: dc400115 stw r17,4(sp)
1ae4: dc000015 stw r16,0(sp)
1ae8: 3025883a mov r18,r6
1aec: 2800b726 beq r5,zero,1dcc <_realloc_r+0x310>
1af0: 282b883a mov r21,r5
1af4: 2029883a mov r20,r4
1af8: 00035500 call 3550 <__malloc_lock>
1afc: a8bfff17 ldw r2,-4(r21)
1b00: 043fff04 movi r16,-4
1b04: 90c002c4 addi r3,r18,11
1b08: 01000584 movi r4,22
1b0c: acfffe04 addi r19,r21,-8
1b10: 1420703a and r16,r2,r16
1b14: 20c0332e bgeu r4,r3,1be4 <_realloc_r+0x128>
1b18: 047ffe04 movi r17,-8
1b1c: 1c62703a and r17,r3,r17
1b20: 8807883a mov r3,r17
1b24: 88005816 blt r17,zero,1c88 <_realloc_r+0x1cc>
1b28: 8c805736 bltu r17,r18,1c88 <_realloc_r+0x1cc>
1b2c: 80c0300e bge r16,r3,1bf0 <_realloc_r+0x134>
1b30: 07000034 movhi fp,0
1b34: e716dc04 addi fp,fp,23408
1b38: e1c00217 ldw r7,8(fp)
1b3c: 9c09883a add r4,r19,r16
1b40: 22000117 ldw r8,4(r4)
1b44: 21c06326 beq r4,r7,1cd4 <_realloc_r+0x218>
1b48: 017fff84 movi r5,-2
1b4c: 414a703a and r5,r8,r5
1b50: 214b883a add r5,r4,r5
1b54: 29800117 ldw r6,4(r5)
1b58: 3180004c andi r6,r6,1
1b5c: 30003f26 beq r6,zero,1c5c <_realloc_r+0x1a0>
1b60: 1080004c andi r2,r2,1
1b64: 10008326 beq r2,zero,1d74 <_realloc_r+0x2b8>
1b68: 900b883a mov r5,r18
1b6c: a009883a mov r4,r20
1b70: 0000e000 call e00 <_malloc_r>
1b74: 1025883a mov r18,r2
1b78: 10011e26 beq r2,zero,1ff4 <_realloc_r+0x538>
1b7c: a93fff17 ldw r4,-4(r21)
1b80: 10fffe04 addi r3,r2,-8
1b84: 00bfff84 movi r2,-2
1b88: 2084703a and r2,r4,r2
1b8c: 9885883a add r2,r19,r2
1b90: 1880ee26 beq r3,r2,1f4c <_realloc_r+0x490>
1b94: 81bfff04 addi r6,r16,-4
1b98: 00800904 movi r2,36
1b9c: 1180b836 bltu r2,r6,1e80 <_realloc_r+0x3c4>
1ba0: 00c004c4 movi r3,19
1ba4: 19809636 bltu r3,r6,1e00 <_realloc_r+0x344>
1ba8: 9005883a mov r2,r18
1bac: a807883a mov r3,r21
1bb0: 19000017 ldw r4,0(r3)
1bb4: 11000015 stw r4,0(r2)
1bb8: 19000117 ldw r4,4(r3)
1bbc: 11000115 stw r4,4(r2)
1bc0: 18c00217 ldw r3,8(r3)
1bc4: 10c00215 stw r3,8(r2)
1bc8: a80b883a mov r5,r21
1bcc: a009883a mov r4,r20
1bd0: 00028880 call 2888 <_free_r>
1bd4: a009883a mov r4,r20
1bd8: 00035740 call 3574 <__malloc_unlock>
1bdc: 9005883a mov r2,r18
1be0: 00001206 br 1c2c <_realloc_r+0x170>
1be4: 00c00404 movi r3,16
1be8: 1823883a mov r17,r3
1bec: 003fce06 br 1b28 <_realloc_r+0x6c>
1bf0: a825883a mov r18,r21
1bf4: 8445c83a sub r2,r16,r17
1bf8: 00c003c4 movi r3,15
1bfc: 18802636 bltu r3,r2,1c98 <_realloc_r+0x1dc>
1c00: 99800117 ldw r6,4(r19)
1c04: 9c07883a add r3,r19,r16
1c08: 3180004c andi r6,r6,1
1c0c: 3420b03a or r16,r6,r16
1c10: 9c000115 stw r16,4(r19)
1c14: 18800117 ldw r2,4(r3)
1c18: 10800054 ori r2,r2,1
1c1c: 18800115 stw r2,4(r3)
1c20: a009883a mov r4,r20
1c24: 00035740 call 3574 <__malloc_unlock>
1c28: 9005883a mov r2,r18
1c2c: dfc00917 ldw ra,36(sp)
1c30: df000817 ldw fp,32(sp)
1c34: ddc00717 ldw r23,28(sp)
1c38: dd800617 ldw r22,24(sp)
1c3c: dd400517 ldw r21,20(sp)
1c40: dd000417 ldw r20,16(sp)
1c44: dcc00317 ldw r19,12(sp)
1c48: dc800217 ldw r18,8(sp)
1c4c: dc400117 ldw r17,4(sp)
1c50: dc000017 ldw r16,0(sp)
1c54: dec00a04 addi sp,sp,40
1c58: f800283a ret
1c5c: 017fff04 movi r5,-4
1c60: 414a703a and r5,r8,r5
1c64: 814d883a add r6,r16,r5
1c68: 30c01f16 blt r6,r3,1ce8 <_realloc_r+0x22c>
1c6c: 20800317 ldw r2,12(r4)
1c70: 20c00217 ldw r3,8(r4)
1c74: a825883a mov r18,r21
1c78: 3021883a mov r16,r6
1c7c: 18800315 stw r2,12(r3)
1c80: 10c00215 stw r3,8(r2)
1c84: 003fdb06 br 1bf4 <_realloc_r+0x138>
1c88: 00800304 movi r2,12
1c8c: a0800015 stw r2,0(r20)
1c90: 0005883a mov r2,zero
1c94: 003fe506 br 1c2c <_realloc_r+0x170>
1c98: 98c00117 ldw r3,4(r19)
1c9c: 9c4b883a add r5,r19,r17
1ca0: 11000054 ori r4,r2,1
1ca4: 18c0004c andi r3,r3,1
1ca8: 1c62b03a or r17,r3,r17
1cac: 9c400115 stw r17,4(r19)
1cb0: 29000115 stw r4,4(r5)
1cb4: 2885883a add r2,r5,r2
1cb8: 10c00117 ldw r3,4(r2)
1cbc: 29400204 addi r5,r5,8
1cc0: a009883a mov r4,r20
1cc4: 18c00054 ori r3,r3,1
1cc8: 10c00115 stw r3,4(r2)
1ccc: 00028880 call 2888 <_free_r>
1cd0: 003fd306 br 1c20 <_realloc_r+0x164>
1cd4: 017fff04 movi r5,-4
1cd8: 414a703a and r5,r8,r5
1cdc: 89800404 addi r6,r17,16
1ce0: 8151883a add r8,r16,r5
1ce4: 4180590e bge r8,r6,1e4c <_realloc_r+0x390>
1ce8: 1080004c andi r2,r2,1
1cec: 103f9e1e bne r2,zero,1b68 <_realloc_r+0xac>
1cf0: adbffe17 ldw r22,-8(r21)
1cf4: 00bfff04 movi r2,-4
1cf8: 9dadc83a sub r22,r19,r22
1cfc: b1800117 ldw r6,4(r22)
1d00: 3084703a and r2,r6,r2
1d04: 20002026 beq r4,zero,1d88 <_realloc_r+0x2cc>
1d08: 80af883a add r23,r16,r2
1d0c: b96f883a add r23,r23,r5
1d10: 21c05f26 beq r4,r7,1e90 <_realloc_r+0x3d4>
1d14: b8c01c16 blt r23,r3,1d88 <_realloc_r+0x2cc>
1d18: 20800317 ldw r2,12(r4)
1d1c: 20c00217 ldw r3,8(r4)
1d20: 81bfff04 addi r6,r16,-4
1d24: 01000904 movi r4,36
1d28: 18800315 stw r2,12(r3)
1d2c: 10c00215 stw r3,8(r2)
1d30: b0c00217 ldw r3,8(r22)
1d34: b0800317 ldw r2,12(r22)
1d38: b4800204 addi r18,r22,8
1d3c: 18800315 stw r2,12(r3)
1d40: 10c00215 stw r3,8(r2)
1d44: 21801b36 bltu r4,r6,1db4 <_realloc_r+0x2f8>
1d48: 008004c4 movi r2,19
1d4c: 1180352e bgeu r2,r6,1e24 <_realloc_r+0x368>
1d50: a8800017 ldw r2,0(r21)
1d54: b0800215 stw r2,8(r22)
1d58: a8800117 ldw r2,4(r21)
1d5c: b0800315 stw r2,12(r22)
1d60: 008006c4 movi r2,27
1d64: 11807f36 bltu r2,r6,1f64 <_realloc_r+0x4a8>
1d68: b0800404 addi r2,r22,16
1d6c: ad400204 addi r21,r21,8
1d70: 00002d06 br 1e28 <_realloc_r+0x36c>
1d74: adbffe17 ldw r22,-8(r21)
1d78: 00bfff04 movi r2,-4
1d7c: 9dadc83a sub r22,r19,r22
1d80: b1000117 ldw r4,4(r22)
1d84: 2084703a and r2,r4,r2
1d88: b03f7726 beq r22,zero,1b68 <_realloc_r+0xac>
1d8c: 80af883a add r23,r16,r2
1d90: b8ff7516 blt r23,r3,1b68 <_realloc_r+0xac>
1d94: b0800317 ldw r2,12(r22)
1d98: b0c00217 ldw r3,8(r22)
1d9c: 81bfff04 addi r6,r16,-4
1da0: 01000904 movi r4,36
1da4: 18800315 stw r2,12(r3)
1da8: 10c00215 stw r3,8(r2)
1dac: b4800204 addi r18,r22,8
1db0: 21bfe52e bgeu r4,r6,1d48 <_realloc_r+0x28c>
1db4: a80b883a mov r5,r21
1db8: 9009883a mov r4,r18
1dbc: 00018380 call 1838 <memmove>
1dc0: b821883a mov r16,r23
1dc4: b027883a mov r19,r22
1dc8: 003f8a06 br 1bf4 <_realloc_r+0x138>
1dcc: 300b883a mov r5,r6
1dd0: dfc00917 ldw ra,36(sp)
1dd4: df000817 ldw fp,32(sp)
1dd8: ddc00717 ldw r23,28(sp)
1ddc: dd800617 ldw r22,24(sp)
1de0: dd400517 ldw r21,20(sp)
1de4: dd000417 ldw r20,16(sp)
1de8: dcc00317 ldw r19,12(sp)
1dec: dc800217 ldw r18,8(sp)
1df0: dc400117 ldw r17,4(sp)
1df4: dc000017 ldw r16,0(sp)
1df8: dec00a04 addi sp,sp,40
1dfc: 0000e001 jmpi e00 <_malloc_r>
1e00: a8c00017 ldw r3,0(r21)
1e04: 90c00015 stw r3,0(r18)
1e08: a8c00117 ldw r3,4(r21)
1e0c: 90c00115 stw r3,4(r18)
1e10: 00c006c4 movi r3,27
1e14: 19804536 bltu r3,r6,1f2c <_realloc_r+0x470>
1e18: 90800204 addi r2,r18,8
1e1c: a8c00204 addi r3,r21,8
1e20: 003f6306 br 1bb0 <_realloc_r+0xf4>
1e24: 9005883a mov r2,r18
1e28: a8c00017 ldw r3,0(r21)
1e2c: b821883a mov r16,r23
1e30: b027883a mov r19,r22
1e34: 10c00015 stw r3,0(r2)
1e38: a8c00117 ldw r3,4(r21)
1e3c: 10c00115 stw r3,4(r2)
1e40: a8c00217 ldw r3,8(r21)
1e44: 10c00215 stw r3,8(r2)
1e48: 003f6a06 br 1bf4 <_realloc_r+0x138>
1e4c: 9c67883a add r19,r19,r17
1e50: 4445c83a sub r2,r8,r17
1e54: e4c00215 stw r19,8(fp)
1e58: 10800054 ori r2,r2,1
1e5c: 98800115 stw r2,4(r19)
1e60: a8bfff17 ldw r2,-4(r21)
1e64: a009883a mov r4,r20
1e68: 1080004c andi r2,r2,1
1e6c: 1462b03a or r17,r2,r17
1e70: ac7fff15 stw r17,-4(r21)
1e74: 00035740 call 3574 <__malloc_unlock>
1e78: a805883a mov r2,r21
1e7c: 003f6b06 br 1c2c <_realloc_r+0x170>
1e80: a80b883a mov r5,r21
1e84: 9009883a mov r4,r18
1e88: 00018380 call 1838 <memmove>
1e8c: 003f4e06 br 1bc8 <_realloc_r+0x10c>
1e90: 89000404 addi r4,r17,16
1e94: b93fbc16 blt r23,r4,1d88 <_realloc_r+0x2cc>
1e98: b0800317 ldw r2,12(r22)
1e9c: b0c00217 ldw r3,8(r22)
1ea0: 81bfff04 addi r6,r16,-4
1ea4: 01000904 movi r4,36
1ea8: 18800315 stw r2,12(r3)
1eac: 10c00215 stw r3,8(r2)
1eb0: b4800204 addi r18,r22,8
1eb4: 21804336 bltu r4,r6,1fc4 <_realloc_r+0x508>
1eb8: 008004c4 movi r2,19
1ebc: 11803f2e bgeu r2,r6,1fbc <_realloc_r+0x500>
1ec0: a8800017 ldw r2,0(r21)
1ec4: b0800215 stw r2,8(r22)
1ec8: a8800117 ldw r2,4(r21)
1ecc: b0800315 stw r2,12(r22)
1ed0: 008006c4 movi r2,27
1ed4: 11803f36 bltu r2,r6,1fd4 <_realloc_r+0x518>
1ed8: b0800404 addi r2,r22,16
1edc: ad400204 addi r21,r21,8
1ee0: a8c00017 ldw r3,0(r21)
1ee4: 10c00015 stw r3,0(r2)
1ee8: a8c00117 ldw r3,4(r21)
1eec: 10c00115 stw r3,4(r2)
1ef0: a8c00217 ldw r3,8(r21)
1ef4: 10c00215 stw r3,8(r2)
1ef8: b447883a add r3,r22,r17
1efc: bc45c83a sub r2,r23,r17
1f00: e0c00215 stw r3,8(fp)
1f04: 10800054 ori r2,r2,1
1f08: 18800115 stw r2,4(r3)
1f0c: b0800117 ldw r2,4(r22)
1f10: a009883a mov r4,r20
1f14: 1080004c andi r2,r2,1
1f18: 1462b03a or r17,r2,r17
1f1c: b4400115 stw r17,4(r22)
1f20: 00035740 call 3574 <__malloc_unlock>
1f24: 9005883a mov r2,r18
1f28: 003f4006 br 1c2c <_realloc_r+0x170>
1f2c: a8c00217 ldw r3,8(r21)
1f30: 90c00215 stw r3,8(r18)
1f34: a8c00317 ldw r3,12(r21)
1f38: 90c00315 stw r3,12(r18)
1f3c: 30801126 beq r6,r2,1f84 <_realloc_r+0x4c8>
1f40: 90800404 addi r2,r18,16
1f44: a8c00404 addi r3,r21,16
1f48: 003f1906 br 1bb0 <_realloc_r+0xf4>
1f4c: 90ffff17 ldw r3,-4(r18)
1f50: 00bfff04 movi r2,-4
1f54: a825883a mov r18,r21
1f58: 1884703a and r2,r3,r2
1f5c: 80a1883a add r16,r16,r2
1f60: 003f2406 br 1bf4 <_realloc_r+0x138>
1f64: a8800217 ldw r2,8(r21)
1f68: b0800415 stw r2,16(r22)
1f6c: a8800317 ldw r2,12(r21)
1f70: b0800515 stw r2,20(r22)
1f74: 31000a26 beq r6,r4,1fa0 <_realloc_r+0x4e4>
1f78: b0800604 addi r2,r22,24
1f7c: ad400404 addi r21,r21,16
1f80: 003fa906 br 1e28 <_realloc_r+0x36c>
1f84: a9000417 ldw r4,16(r21)
1f88: 90800604 addi r2,r18,24
1f8c: a8c00604 addi r3,r21,24
1f90: 91000415 stw r4,16(r18)
1f94: a9000517 ldw r4,20(r21)
1f98: 91000515 stw r4,20(r18)
1f9c: 003f0406 br 1bb0 <_realloc_r+0xf4>
1fa0: a8c00417 ldw r3,16(r21)
1fa4: ad400604 addi r21,r21,24
1fa8: b0800804 addi r2,r22,32
1fac: b0c00615 stw r3,24(r22)
1fb0: a8ffff17 ldw r3,-4(r21)
1fb4: b0c00715 stw r3,28(r22)
1fb8: 003f9b06 br 1e28 <_realloc_r+0x36c>
1fbc: 9005883a mov r2,r18
1fc0: 003fc706 br 1ee0 <_realloc_r+0x424>
1fc4: a80b883a mov r5,r21
1fc8: 9009883a mov r4,r18
1fcc: 00018380 call 1838 <memmove>
1fd0: 003fc906 br 1ef8 <_realloc_r+0x43c>
1fd4: a8800217 ldw r2,8(r21)
1fd8: b0800415 stw r2,16(r22)
1fdc: a8800317 ldw r2,12(r21)
1fe0: b0800515 stw r2,20(r22)
1fe4: 31000726 beq r6,r4,2004 <_realloc_r+0x548>
1fe8: b0800604 addi r2,r22,24
1fec: ad400404 addi r21,r21,16
1ff0: 003fbb06 br 1ee0 <_realloc_r+0x424>
1ff4: a009883a mov r4,r20
1ff8: 00035740 call 3574 <__malloc_unlock>
1ffc: 0005883a mov r2,zero
2000: 003f0a06 br 1c2c <_realloc_r+0x170>
2004: a8c00417 ldw r3,16(r21)
2008: ad400604 addi r21,r21,24
200c: b0800804 addi r2,r22,32
2010: b0c00615 stw r3,24(r22)
2014: a8ffff17 ldw r3,-4(r21)
2018: b0c00715 stw r3,28(r22)
201c: 003fb006 br 1ee0 <_realloc_r+0x424>
00002020 <_sbrk_r>:
2020: defffd04 addi sp,sp,-12
2024: dc000015 stw r16,0(sp)
2028: 04000034 movhi r16,0
202c: dc400115 stw r17,4(sp)
2030: 841c7104 addi r16,r16,29124
2034: 2023883a mov r17,r4
2038: 2809883a mov r4,r5
203c: dfc00215 stw ra,8(sp)
2040: 80000015 stw zero,0(r16)
2044: 000375c0 call 375c <sbrk>
2048: 00ffffc4 movi r3,-1
204c: 10c00526 beq r2,r3,2064 <_sbrk_r+0x44>
2050: dfc00217 ldw ra,8(sp)
2054: dc400117 ldw r17,4(sp)
2058: dc000017 ldw r16,0(sp)
205c: dec00304 addi sp,sp,12
2060: f800283a ret
2064: 80c00017 ldw r3,0(r16)
2068: 183ff926 beq r3,zero,2050 <_sbrk_r+0x30>
206c: 88c00015 stw r3,0(r17)
2070: 003ff706 br 2050 <_sbrk_r+0x30>
00002074 <__sread>:
2074: defffe04 addi sp,sp,-8
2078: dc000015 stw r16,0(sp)
207c: 2821883a mov r16,r5
2080: 2940038f ldh r5,14(r5)
2084: dfc00115 stw ra,4(sp)
2088: 0002db40 call 2db4 <_read_r>
208c: 10000716 blt r2,zero,20ac <__sread+0x38>
2090: 80c01417 ldw r3,80(r16)
2094: 1887883a add r3,r3,r2
2098: 80c01415 stw r3,80(r16)
209c: dfc00117 ldw ra,4(sp)
20a0: dc000017 ldw r16,0(sp)
20a4: dec00204 addi sp,sp,8
20a8: f800283a ret
20ac: 80c0030b ldhu r3,12(r16)
20b0: 18fbffcc andi r3,r3,61439
20b4: 80c0030d sth r3,12(r16)
20b8: dfc00117 ldw ra,4(sp)
20bc: dc000017 ldw r16,0(sp)
20c0: dec00204 addi sp,sp,8
20c4: f800283a ret
000020c8 <__seofread>:
20c8: 0005883a mov r2,zero
20cc: f800283a ret
000020d0 <__swrite>:
20d0: 2880030b ldhu r2,12(r5)
20d4: defffb04 addi sp,sp,-20
20d8: dcc00315 stw r19,12(sp)
20dc: dc800215 stw r18,8(sp)
20e0: dc400115 stw r17,4(sp)
20e4: dc000015 stw r16,0(sp)
20e8: dfc00415 stw ra,16(sp)
20ec: 10c0400c andi r3,r2,256
20f0: 2821883a mov r16,r5
20f4: 2023883a mov r17,r4
20f8: 3025883a mov r18,r6
20fc: 3827883a mov r19,r7
2100: 18000526 beq r3,zero,2118 <__swrite+0x48>
2104: 2940038f ldh r5,14(r5)
2108: 01c00084 movi r7,2
210c: 000d883a mov r6,zero
2110: 0002b980 call 2b98 <_lseek_r>
2114: 8080030b ldhu r2,12(r16)
2118: 8140038f ldh r5,14(r16)
211c: 10bbffcc andi r2,r2,61439
2120: 980f883a mov r7,r19
2124: 900d883a mov r6,r18
2128: 8809883a mov r4,r17
212c: 8080030d sth r2,12(r16)
2130: dfc00417 ldw ra,16(sp)
2134: dcc00317 ldw r19,12(sp)
2138: dc800217 ldw r18,8(sp)
213c: dc400117 ldw r17,4(sp)
2140: dc000017 ldw r16,0(sp)
2144: dec00504 addi sp,sp,20
2148: 00021b01 jmpi 21b0 <_write_r>
0000214c <__sseek>:
214c: defffe04 addi sp,sp,-8
2150: dc000015 stw r16,0(sp)
2154: 2821883a mov r16,r5
2158: 2940038f ldh r5,14(r5)
215c: dfc00115 stw ra,4(sp)
2160: 0002b980 call 2b98 <_lseek_r>
2164: 00ffffc4 movi r3,-1
2168: 10c00826 beq r2,r3,218c <__sseek+0x40>
216c: 80c0030b ldhu r3,12(r16)
2170: 80801415 stw r2,80(r16)
2174: 18c40014 ori r3,r3,4096
2178: 80c0030d sth r3,12(r16)
217c: dfc00117 ldw ra,4(sp)
2180: dc000017 ldw r16,0(sp)
2184: dec00204 addi sp,sp,8
2188: f800283a ret
218c: 80c0030b ldhu r3,12(r16)
2190: 18fbffcc andi r3,r3,61439
2194: 80c0030d sth r3,12(r16)
2198: dfc00117 ldw ra,4(sp)
219c: dc000017 ldw r16,0(sp)
21a0: dec00204 addi sp,sp,8
21a4: f800283a ret
000021a8 <__sclose>:
21a8: 2940038f ldh r5,14(r5)
21ac: 00023641 jmpi 2364 <_close_r>
000021b0 <_write_r>:
21b0: defffd04 addi sp,sp,-12
21b4: 2805883a mov r2,r5
21b8: dc000015 stw r16,0(sp)
21bc: 04000034 movhi r16,0
21c0: dc400115 stw r17,4(sp)
21c4: 300b883a mov r5,r6
21c8: 841c7104 addi r16,r16,29124
21cc: 2023883a mov r17,r4
21d0: 380d883a mov r6,r7
21d4: 1009883a mov r4,r2
21d8: dfc00215 stw ra,8(sp)
21dc: 80000015 stw zero,0(r16)
21e0: 00038480 call 3848 <write>
21e4: 00ffffc4 movi r3,-1
21e8: 10c00526 beq r2,r3,2200 <_write_r+0x50>
21ec: dfc00217 ldw ra,8(sp)
21f0: dc400117 ldw r17,4(sp)
21f4: dc000017 ldw r16,0(sp)
21f8: dec00304 addi sp,sp,12
21fc: f800283a ret
2200: 80c00017 ldw r3,0(r16)
2204: 183ff926 beq r3,zero,21ec <_write_r+0x3c>
2208: 88c00015 stw r3,0(r17)
220c: 003ff706 br 21ec <_write_r+0x3c>
00002210 <__swsetup_r>:
2210: 00800034 movhi r2,0
2214: defffd04 addi sp,sp,-12
2218: 109c6104 addi r2,r2,29060
221c: dc400115 stw r17,4(sp)
2220: 2023883a mov r17,r4
2224: 11000017 ldw r4,0(r2)
2228: dc000015 stw r16,0(sp)
222c: dfc00215 stw ra,8(sp)
2230: 2821883a mov r16,r5
2234: 20000226 beq r4,zero,2240 <__swsetup_r+0x30>
2238: 20800e17 ldw r2,56(r4)
223c: 10003126 beq r2,zero,2304 <__swsetup_r+0xf4>
2240: 8080030b ldhu r2,12(r16)
2244: 10c0020c andi r3,r2,8
2248: 1009883a mov r4,r2
224c: 18000f26 beq r3,zero,228c <__swsetup_r+0x7c>
2250: 80c00417 ldw r3,16(r16)
2254: 18001526 beq r3,zero,22ac <__swsetup_r+0x9c>
2258: 1100004c andi r4,r2,1
225c: 20001c1e bne r4,zero,22d0 <__swsetup_r+0xc0>
2260: 1080008c andi r2,r2,2
2264: 1000291e bne r2,zero,230c <__swsetup_r+0xfc>
2268: 80800517 ldw r2,20(r16)
226c: 80800215 stw r2,8(r16)
2270: 18001c26 beq r3,zero,22e4 <__swsetup_r+0xd4>
2274: 0005883a mov r2,zero
2278: dfc00217 ldw ra,8(sp)
227c: dc400117 ldw r17,4(sp)
2280: dc000017 ldw r16,0(sp)
2284: dec00304 addi sp,sp,12
2288: f800283a ret
228c: 2080040c andi r2,r4,16
2290: 10002e26 beq r2,zero,234c <__swsetup_r+0x13c>
2294: 2080010c andi r2,r4,4
2298: 10001e1e bne r2,zero,2314 <__swsetup_r+0x104>
229c: 80c00417 ldw r3,16(r16)
22a0: 20800214 ori r2,r4,8
22a4: 8080030d sth r2,12(r16)
22a8: 183feb1e bne r3,zero,2258 <__swsetup_r+0x48>
22ac: 1100a00c andi r4,r2,640
22b0: 01408004 movi r5,512
22b4: 217fe826 beq r4,r5,2258 <__swsetup_r+0x48>
22b8: 800b883a mov r5,r16
22bc: 8809883a mov r4,r17
22c0: 0002bf80 call 2bf8 <__smakebuf_r>
22c4: 8080030b ldhu r2,12(r16)
22c8: 80c00417 ldw r3,16(r16)
22cc: 003fe206 br 2258 <__swsetup_r+0x48>
22d0: 80800517 ldw r2,20(r16)
22d4: 80000215 stw zero,8(r16)
22d8: 0085c83a sub r2,zero,r2
22dc: 80800615 stw r2,24(r16)
22e0: 183fe41e bne r3,zero,2274 <__swsetup_r+0x64>
22e4: 80c0030b ldhu r3,12(r16)
22e8: 0005883a mov r2,zero
22ec: 1900200c andi r4,r3,128
22f0: 203fe126 beq r4,zero,2278 <__swsetup_r+0x68>
22f4: 18c01014 ori r3,r3,64
22f8: 80c0030d sth r3,12(r16)
22fc: 00bfffc4 movi r2,-1
2300: 003fdd06 br 2278 <__swsetup_r+0x68>
2304: 00007600 call 760 <__sinit>
2308: 003fcd06 br 2240 <__swsetup_r+0x30>
230c: 0005883a mov r2,zero
2310: 003fd606 br 226c <__swsetup_r+0x5c>
2314: 81400c17 ldw r5,48(r16)
2318: 28000626 beq r5,zero,2334 <__swsetup_r+0x124>
231c: 80801004 addi r2,r16,64
2320: 28800326 beq r5,r2,2330 <__swsetup_r+0x120>
2324: 8809883a mov r4,r17
2328: 00028880 call 2888 <_free_r>
232c: 8100030b ldhu r4,12(r16)
2330: 80000c15 stw zero,48(r16)
2334: 80c00417 ldw r3,16(r16)
2338: 00bff6c4 movi r2,-37
233c: 1108703a and r4,r2,r4
2340: 80000115 stw zero,4(r16)
2344: 80c00015 stw r3,0(r16)
2348: 003fd506 br 22a0 <__swsetup_r+0x90>
234c: 00800244 movi r2,9
2350: 88800015 stw r2,0(r17)
2354: 20801014 ori r2,r4,64
2358: 8080030d sth r2,12(r16)
235c: 00bfffc4 movi r2,-1
2360: 003fc506 br 2278 <__swsetup_r+0x68>
00002364 <_close_r>:
2364: defffd04 addi sp,sp,-12
2368: dc000015 stw r16,0(sp)
236c: 04000034 movhi r16,0
2370: dc400115 stw r17,4(sp)
2374: 841c7104 addi r16,r16,29124
2378: 2023883a mov r17,r4
237c: 2809883a mov r4,r5
2380: dfc00215 stw ra,8(sp)
2384: 80000015 stw zero,0(r16)
2388: 00030dc0 call 30dc <close>
238c: 00ffffc4 movi r3,-1
2390: 10c00526 beq r2,r3,23a8 <_close_r+0x44>
2394: dfc00217 ldw ra,8(sp)
2398: dc400117 ldw r17,4(sp)
239c: dc000017 ldw r16,0(sp)
23a0: dec00304 addi sp,sp,12
23a4: f800283a ret
23a8: 80c00017 ldw r3,0(r16)
23ac: 183ff926 beq r3,zero,2394 <_close_r+0x30>
23b0: 88c00015 stw r3,0(r17)
23b4: 003ff706 br 2394 <_close_r+0x30>
000023b8 <_fclose_r>:
23b8: 28003926 beq r5,zero,24a0 <_fclose_r+0xe8>
23bc: defffc04 addi sp,sp,-16
23c0: dc400115 stw r17,4(sp)
23c4: dc000015 stw r16,0(sp)
23c8: dfc00315 stw ra,12(sp)
23cc: dc800215 stw r18,8(sp)
23d0: 2023883a mov r17,r4
23d4: 2821883a mov r16,r5
23d8: 20000226 beq r4,zero,23e4 <_fclose_r+0x2c>
23dc: 20800e17 ldw r2,56(r4)
23e0: 10002726 beq r2,zero,2480 <_fclose_r+0xc8>
23e4: 8080030f ldh r2,12(r16)
23e8: 1000071e bne r2,zero,2408 <_fclose_r+0x50>
23ec: 0005883a mov r2,zero
23f0: dfc00317 ldw ra,12(sp)
23f4: dc800217 ldw r18,8(sp)
23f8: dc400117 ldw r17,4(sp)
23fc: dc000017 ldw r16,0(sp)
2400: dec00404 addi sp,sp,16
2404: f800283a ret
2408: 800b883a mov r5,r16
240c: 8809883a mov r4,r17
2410: 00024bc0 call 24bc <__sflush_r>
2414: 1025883a mov r18,r2
2418: 80800b17 ldw r2,44(r16)
241c: 10000426 beq r2,zero,2430 <_fclose_r+0x78>
2420: 81400717 ldw r5,28(r16)
2424: 8809883a mov r4,r17
2428: 103ee83a callr r2
242c: 10001616 blt r2,zero,2488 <_fclose_r+0xd0>
2430: 8080030b ldhu r2,12(r16)
2434: 1080200c andi r2,r2,128
2438: 1000151e bne r2,zero,2490 <_fclose_r+0xd8>
243c: 81400c17 ldw r5,48(r16)
2440: 28000526 beq r5,zero,2458 <_fclose_r+0xa0>
2444: 80801004 addi r2,r16,64
2448: 28800226 beq r5,r2,2454 <_fclose_r+0x9c>
244c: 8809883a mov r4,r17
2450: 00028880 call 2888 <_free_r>
2454: 80000c15 stw zero,48(r16)
2458: 81401117 ldw r5,68(r16)
245c: 28000326 beq r5,zero,246c <_fclose_r+0xb4>
2460: 8809883a mov r4,r17
2464: 00028880 call 2888 <_free_r>
2468: 80001115 stw zero,68(r16)
246c: 00007700 call 770 <__sfp_lock_acquire>
2470: 8000030d sth zero,12(r16)
2474: 00007740 call 774 <__sfp_lock_release>
2478: 9005883a mov r2,r18
247c: 003fdc06 br 23f0 <_fclose_r+0x38>
2480: 00007600 call 760 <__sinit>
2484: 003fd706 br 23e4 <_fclose_r+0x2c>
2488: 04bfffc4 movi r18,-1
248c: 003fe806 br 2430 <_fclose_r+0x78>
2490: 81400417 ldw r5,16(r16)
2494: 8809883a mov r4,r17
2498: 00028880 call 2888 <_free_r>
249c: 003fe706 br 243c <_fclose_r+0x84>
24a0: 0005883a mov r2,zero
24a4: f800283a ret
000024a8 <fclose>:
24a8: 00800034 movhi r2,0
24ac: 109c6104 addi r2,r2,29060
24b0: 200b883a mov r5,r4
24b4: 11000017 ldw r4,0(r2)
24b8: 00023b81 jmpi 23b8 <_fclose_r>
000024bc <__sflush_r>:
24bc: 2880030b ldhu r2,12(r5)
24c0: defffb04 addi sp,sp,-20
24c4: dcc00315 stw r19,12(sp)
24c8: dc400115 stw r17,4(sp)
24cc: dfc00415 stw ra,16(sp)
24d0: dc800215 stw r18,8(sp)
24d4: dc000015 stw r16,0(sp)
24d8: 10c0020c andi r3,r2,8
24dc: 2823883a mov r17,r5
24e0: 2027883a mov r19,r4
24e4: 1800311e bne r3,zero,25ac <__sflush_r+0xf0>
24e8: 28c00117 ldw r3,4(r5)
24ec: 10820014 ori r2,r2,2048
24f0: 2880030d sth r2,12(r5)
24f4: 00c04b0e bge zero,r3,2624 <__sflush_r+0x168>
24f8: 8a000a17 ldw r8,40(r17)
24fc: 40002326 beq r8,zero,258c <__sflush_r+0xd0>
2500: 9c000017 ldw r16,0(r19)
2504: 10c4000c andi r3,r2,4096
2508: 98000015 stw zero,0(r19)
250c: 18004826 beq r3,zero,2630 <__sflush_r+0x174>
2510: 89801417 ldw r6,80(r17)
2514: 10c0010c andi r3,r2,4
2518: 18000626 beq r3,zero,2534 <__sflush_r+0x78>
251c: 88c00117 ldw r3,4(r17)
2520: 88800c17 ldw r2,48(r17)
2524: 30cdc83a sub r6,r6,r3
2528: 10000226 beq r2,zero,2534 <__sflush_r+0x78>
252c: 88800f17 ldw r2,60(r17)
2530: 308dc83a sub r6,r6,r2
2534: 89400717 ldw r5,28(r17)
2538: 000f883a mov r7,zero
253c: 9809883a mov r4,r19
2540: 403ee83a callr r8
2544: 00ffffc4 movi r3,-1
2548: 10c04426 beq r2,r3,265c <__sflush_r+0x1a0>
254c: 88c0030b ldhu r3,12(r17)
2550: 89000417 ldw r4,16(r17)
2554: 88000115 stw zero,4(r17)
2558: 197dffcc andi r5,r3,63487
255c: 8940030d sth r5,12(r17)
2560: 89000015 stw r4,0(r17)
2564: 18c4000c andi r3,r3,4096
2568: 18002c1e bne r3,zero,261c <__sflush_r+0x160>
256c: 89400c17 ldw r5,48(r17)
2570: 9c000015 stw r16,0(r19)
2574: 28000526 beq r5,zero,258c <__sflush_r+0xd0>
2578: 88801004 addi r2,r17,64
257c: 28800226 beq r5,r2,2588 <__sflush_r+0xcc>
2580: 9809883a mov r4,r19
2584: 00028880 call 2888 <_free_r>
2588: 88000c15 stw zero,48(r17)
258c: 0005883a mov r2,zero
2590: dfc00417 ldw ra,16(sp)
2594: dcc00317 ldw r19,12(sp)
2598: dc800217 ldw r18,8(sp)
259c: dc400117 ldw r17,4(sp)
25a0: dc000017 ldw r16,0(sp)
25a4: dec00504 addi sp,sp,20
25a8: f800283a ret
25ac: 2c800417 ldw r18,16(r5)
25b0: 903ff626 beq r18,zero,258c <__sflush_r+0xd0>
25b4: 2c000017 ldw r16,0(r5)
25b8: 108000cc andi r2,r2,3
25bc: 2c800015 stw r18,0(r5)
25c0: 84a1c83a sub r16,r16,r18
25c4: 1000131e bne r2,zero,2614 <__sflush_r+0x158>
25c8: 28800517 ldw r2,20(r5)
25cc: 88800215 stw r2,8(r17)
25d0: 04000316 blt zero,r16,25e0 <__sflush_r+0x124>
25d4: 003fed06 br 258c <__sflush_r+0xd0>
25d8: 90a5883a add r18,r18,r2
25dc: 043feb0e bge zero,r16,258c <__sflush_r+0xd0>
25e0: 88800917 ldw r2,36(r17)
25e4: 89400717 ldw r5,28(r17)
25e8: 800f883a mov r7,r16
25ec: 900d883a mov r6,r18
25f0: 9809883a mov r4,r19
25f4: 103ee83a callr r2
25f8: 80a1c83a sub r16,r16,r2
25fc: 00bff616 blt zero,r2,25d8 <__sflush_r+0x11c>
2600: 88c0030b ldhu r3,12(r17)
2604: 00bfffc4 movi r2,-1
2608: 18c01014 ori r3,r3,64
260c: 88c0030d sth r3,12(r17)
2610: 003fdf06 br 2590 <__sflush_r+0xd4>
2614: 0005883a mov r2,zero
2618: 003fec06 br 25cc <__sflush_r+0x110>
261c: 88801415 stw r2,80(r17)
2620: 003fd206 br 256c <__sflush_r+0xb0>
2624: 28c00f17 ldw r3,60(r5)
2628: 00ffb316 blt zero,r3,24f8 <__sflush_r+0x3c>
262c: 003fd706 br 258c <__sflush_r+0xd0>
2630: 89400717 ldw r5,28(r17)
2634: 000d883a mov r6,zero
2638: 01c00044 movi r7,1
263c: 9809883a mov r4,r19
2640: 403ee83a callr r8
2644: 100d883a mov r6,r2
2648: 00bfffc4 movi r2,-1
264c: 30801426 beq r6,r2,26a0 <__sflush_r+0x1e4>
2650: 8880030b ldhu r2,12(r17)
2654: 8a000a17 ldw r8,40(r17)
2658: 003fae06 br 2514 <__sflush_r+0x58>
265c: 98c00017 ldw r3,0(r19)
2660: 183fba26 beq r3,zero,254c <__sflush_r+0x90>
2664: 01000744 movi r4,29
2668: 19000626 beq r3,r4,2684 <__sflush_r+0x1c8>
266c: 01000584 movi r4,22
2670: 19000426 beq r3,r4,2684 <__sflush_r+0x1c8>
2674: 88c0030b ldhu r3,12(r17)
2678: 18c01014 ori r3,r3,64
267c: 88c0030d sth r3,12(r17)
2680: 003fc306 br 2590 <__sflush_r+0xd4>
2684: 8880030b ldhu r2,12(r17)
2688: 88c00417 ldw r3,16(r17)
268c: 88000115 stw zero,4(r17)
2690: 10bdffcc andi r2,r2,63487
2694: 8880030d sth r2,12(r17)
2698: 88c00015 stw r3,0(r17)
269c: 003fb306 br 256c <__sflush_r+0xb0>
26a0: 98800017 ldw r2,0(r19)
26a4: 103fea26 beq r2,zero,2650 <__sflush_r+0x194>
26a8: 00c00744 movi r3,29
26ac: 10c00226 beq r2,r3,26b8 <__sflush_r+0x1fc>
26b0: 00c00584 movi r3,22
26b4: 10c0031e bne r2,r3,26c4 <__sflush_r+0x208>
26b8: 9c000015 stw r16,0(r19)
26bc: 0005883a mov r2,zero
26c0: 003fb306 br 2590 <__sflush_r+0xd4>
26c4: 88c0030b ldhu r3,12(r17)
26c8: 3005883a mov r2,r6
26cc: 18c01014 ori r3,r3,64
26d0: 88c0030d sth r3,12(r17)
26d4: 003fae06 br 2590 <__sflush_r+0xd4>
000026d8 <_fflush_r>:
26d8: defffd04 addi sp,sp,-12
26dc: dc000115 stw r16,4(sp)
26e0: dfc00215 stw ra,8(sp)
26e4: 2021883a mov r16,r4
26e8: 20000226 beq r4,zero,26f4 <_fflush_r+0x1c>
26ec: 20800e17 ldw r2,56(r4)
26f0: 10000c26 beq r2,zero,2724 <_fflush_r+0x4c>
26f4: 2880030f ldh r2,12(r5)
26f8: 1000051e bne r2,zero,2710 <_fflush_r+0x38>
26fc: 0005883a mov r2,zero
2700: dfc00217 ldw ra,8(sp)
2704: dc000117 ldw r16,4(sp)
2708: dec00304 addi sp,sp,12
270c: f800283a ret
2710: 8009883a mov r4,r16
2714: dfc00217 ldw ra,8(sp)
2718: dc000117 ldw r16,4(sp)
271c: dec00304 addi sp,sp,12
2720: 00024bc1 jmpi 24bc <__sflush_r>
2724: d9400015 stw r5,0(sp)
2728: 00007600 call 760 <__sinit>
272c: d9400017 ldw r5,0(sp)
2730: 003ff006 br 26f4 <_fflush_r+0x1c>
00002734 <fflush>:
2734: 20000526 beq r4,zero,274c <fflush+0x18>
2738: 00800034 movhi r2,0
273c: 109c6104 addi r2,r2,29060
2740: 200b883a mov r5,r4
2744: 11000017 ldw r4,0(r2)
2748: 00026d81 jmpi 26d8 <_fflush_r>
274c: 00800034 movhi r2,0
2750: 109c6004 addi r2,r2,29056
2754: 11000017 ldw r4,0(r2)
2758: 01400034 movhi r5,0
275c: 2949b604 addi r5,r5,9944
2760: 0000d3c1 jmpi d3c <_fwalk_reent>
00002764 <_malloc_trim_r>:
2764: defffb04 addi sp,sp,-20
2768: dcc00315 stw r19,12(sp)
276c: 04c00034 movhi r19,0
2770: dc800215 stw r18,8(sp)
2774: dc400115 stw r17,4(sp)
2778: dc000015 stw r16,0(sp)
277c: dfc00415 stw ra,16(sp)
2780: 2821883a mov r16,r5
2784: 9cd6dc04 addi r19,r19,23408
2788: 2025883a mov r18,r4
278c: 00035500 call 3550 <__malloc_lock>
2790: 98800217 ldw r2,8(r19)
2794: 14400117 ldw r17,4(r2)
2798: 00bfff04 movi r2,-4
279c: 88a2703a and r17,r17,r2
27a0: 8c21c83a sub r16,r17,r16
27a4: 8403fbc4 addi r16,r16,4079
27a8: 8020d33a srli r16,r16,12
27ac: 0083ffc4 movi r2,4095
27b0: 843fffc4 addi r16,r16,-1
27b4: 8020933a slli r16,r16,12
27b8: 1400060e bge r2,r16,27d4 <_malloc_trim_r+0x70>
27bc: 000b883a mov r5,zero
27c0: 9009883a mov r4,r18
27c4: 00020200 call 2020 <_sbrk_r>
27c8: 98c00217 ldw r3,8(r19)
27cc: 1c47883a add r3,r3,r17
27d0: 10c00a26 beq r2,r3,27fc <_malloc_trim_r+0x98>
27d4: 9009883a mov r4,r18
27d8: 00035740 call 3574 <__malloc_unlock>
27dc: 0005883a mov r2,zero
27e0: dfc00417 ldw ra,16(sp)
27e4: dcc00317 ldw r19,12(sp)
27e8: dc800217 ldw r18,8(sp)
27ec: dc400117 ldw r17,4(sp)
27f0: dc000017 ldw r16,0(sp)
27f4: dec00504 addi sp,sp,20
27f8: f800283a ret
27fc: 040bc83a sub r5,zero,r16
2800: 9009883a mov r4,r18
2804: 00020200 call 2020 <_sbrk_r>
2808: 00ffffc4 movi r3,-1
280c: 10c00d26 beq r2,r3,2844 <_malloc_trim_r+0xe0>
2810: 00c00034 movhi r3,0
2814: 18dc7904 addi r3,r3,29156
2818: 18800017 ldw r2,0(r3)
281c: 99000217 ldw r4,8(r19)
2820: 8c23c83a sub r17,r17,r16
2824: 8c400054 ori r17,r17,1
2828: 1421c83a sub r16,r2,r16
282c: 24400115 stw r17,4(r4)
2830: 9009883a mov r4,r18
2834: 1c000015 stw r16,0(r3)
2838: 00035740 call 3574 <__malloc_unlock>
283c: 00800044 movi r2,1
2840: 003fe706 br 27e0 <_malloc_trim_r+0x7c>
2844: 000b883a mov r5,zero
2848: 9009883a mov r4,r18
284c: 00020200 call 2020 <_sbrk_r>
2850: 99000217 ldw r4,8(r19)
2854: 014003c4 movi r5,15
2858: 1107c83a sub r3,r2,r4
285c: 28ffdd0e bge r5,r3,27d4 <_malloc_trim_r+0x70>
2860: 01400034 movhi r5,0
2864: 295c6204 addi r5,r5,29064
2868: 29400017 ldw r5,0(r5)
286c: 18c00054 ori r3,r3,1
2870: 20c00115 stw r3,4(r4)
2874: 00c00034 movhi r3,0
2878: 1145c83a sub r2,r2,r5
287c: 18dc7904 addi r3,r3,29156
2880: 18800015 stw r2,0(r3)
2884: 003fd306 br 27d4 <_malloc_trim_r+0x70>
00002888 <_free_r>:
2888: 28004126 beq r5,zero,2990 <_free_r+0x108>
288c: defffd04 addi sp,sp,-12
2890: dc400115 stw r17,4(sp)
2894: dc000015 stw r16,0(sp)
2898: 2023883a mov r17,r4
289c: 2821883a mov r16,r5
28a0: dfc00215 stw ra,8(sp)
28a4: 00035500 call 3550 <__malloc_lock>
28a8: 81ffff17 ldw r7,-4(r16)
28ac: 00bfff84 movi r2,-2
28b0: 01000034 movhi r4,0
28b4: 81bffe04 addi r6,r16,-8
28b8: 3884703a and r2,r7,r2
28bc: 2116dc04 addi r4,r4,23408
28c0: 308b883a add r5,r6,r2
28c4: 2a400117 ldw r9,4(r5)
28c8: 22000217 ldw r8,8(r4)
28cc: 00ffff04 movi r3,-4
28d0: 48c6703a and r3,r9,r3
28d4: 2a005726 beq r5,r8,2a34 <_free_r+0x1ac>
28d8: 28c00115 stw r3,4(r5)
28dc: 39c0004c andi r7,r7,1
28e0: 3800091e bne r7,zero,2908 <_free_r+0x80>
28e4: 823ffe17 ldw r8,-8(r16)
28e8: 22400204 addi r9,r4,8
28ec: 320dc83a sub r6,r6,r8
28f0: 31c00217 ldw r7,8(r6)
28f4: 1205883a add r2,r2,r8
28f8: 3a406526 beq r7,r9,2a90 <_free_r+0x208>
28fc: 32000317 ldw r8,12(r6)
2900: 3a000315 stw r8,12(r7)
2904: 41c00215 stw r7,8(r8)
2908: 28cf883a add r7,r5,r3
290c: 39c00117 ldw r7,4(r7)
2910: 39c0004c andi r7,r7,1
2914: 38003a26 beq r7,zero,2a00 <_free_r+0x178>
2918: 10c00054 ori r3,r2,1
291c: 30c00115 stw r3,4(r6)
2920: 3087883a add r3,r6,r2
2924: 18800015 stw r2,0(r3)
2928: 00c07fc4 movi r3,511
292c: 18801936 bltu r3,r2,2994 <_free_r+0x10c>
2930: 1004d0fa srli r2,r2,3
2934: 01c00044 movi r7,1
2938: 21400117 ldw r5,4(r4)
293c: 10c00044 addi r3,r2,1
2940: 18c7883a add r3,r3,r3
2944: 1005d0ba srai r2,r2,2
2948: 18c7883a add r3,r3,r3
294c: 18c7883a add r3,r3,r3
2950: 1907883a add r3,r3,r4
2954: 3884983a sll r2,r7,r2
2958: 19c00017 ldw r7,0(r3)
295c: 1a3ffe04 addi r8,r3,-8
2960: 1144b03a or r2,r2,r5
2964: 32000315 stw r8,12(r6)
2968: 31c00215 stw r7,8(r6)
296c: 20800115 stw r2,4(r4)
2970: 19800015 stw r6,0(r3)
2974: 39800315 stw r6,12(r7)
2978: 8809883a mov r4,r17
297c: dfc00217 ldw ra,8(sp)
2980: dc400117 ldw r17,4(sp)
2984: dc000017 ldw r16,0(sp)
2988: dec00304 addi sp,sp,12
298c: 00035741 jmpi 3574 <__malloc_unlock>
2990: f800283a ret
2994: 100ad27a srli r5,r2,9
2998: 00c00104 movi r3,4
299c: 19404a36 bltu r3,r5,2ac8 <_free_r+0x240>
29a0: 100ad1ba srli r5,r2,6
29a4: 28c00e44 addi r3,r5,57
29a8: 18c7883a add r3,r3,r3
29ac: 29400e04 addi r5,r5,56
29b0: 18c7883a add r3,r3,r3
29b4: 18c7883a add r3,r3,r3
29b8: 1909883a add r4,r3,r4
29bc: 20c00017 ldw r3,0(r4)
29c0: 01c00034 movhi r7,0
29c4: 213ffe04 addi r4,r4,-8
29c8: 39d6dc04 addi r7,r7,23408
29cc: 20c04426 beq r4,r3,2ae0 <_free_r+0x258>
29d0: 01ffff04 movi r7,-4
29d4: 19400117 ldw r5,4(r3)
29d8: 29ca703a and r5,r5,r7
29dc: 1140022e bgeu r2,r5,29e8 <_free_r+0x160>
29e0: 18c00217 ldw r3,8(r3)
29e4: 20fffb1e bne r4,r3,29d4 <_free_r+0x14c>
29e8: 19000317 ldw r4,12(r3)
29ec: 31000315 stw r4,12(r6)
29f0: 30c00215 stw r3,8(r6)
29f4: 21800215 stw r6,8(r4)
29f8: 19800315 stw r6,12(r3)
29fc: 003fde06 br 2978 <_free_r+0xf0>
2a00: 29c00217 ldw r7,8(r5)
2a04: 10c5883a add r2,r2,r3
2a08: 00c00034 movhi r3,0
2a0c: 18d6de04 addi r3,r3,23416
2a10: 38c03b26 beq r7,r3,2b00 <_free_r+0x278>
2a14: 2a000317 ldw r8,12(r5)
2a18: 11400054 ori r5,r2,1
2a1c: 3087883a add r3,r6,r2
2a20: 3a000315 stw r8,12(r7)
2a24: 41c00215 stw r7,8(r8)
2a28: 31400115 stw r5,4(r6)
2a2c: 18800015 stw r2,0(r3)
2a30: 003fbd06 br 2928 <_free_r+0xa0>
2a34: 39c0004c andi r7,r7,1
2a38: 10c5883a add r2,r2,r3
2a3c: 3800071e bne r7,zero,2a5c <_free_r+0x1d4>
2a40: 81fffe17 ldw r7,-8(r16)
2a44: 31cdc83a sub r6,r6,r7
2a48: 30c00317 ldw r3,12(r6)
2a4c: 31400217 ldw r5,8(r6)
2a50: 11c5883a add r2,r2,r7
2a54: 28c00315 stw r3,12(r5)
2a58: 19400215 stw r5,8(r3)
2a5c: 10c00054 ori r3,r2,1
2a60: 30c00115 stw r3,4(r6)
2a64: 00c00034 movhi r3,0
2a68: 18dc6304 addi r3,r3,29068
2a6c: 18c00017 ldw r3,0(r3)
2a70: 21800215 stw r6,8(r4)
2a74: 10ffc036 bltu r2,r3,2978 <_free_r+0xf0>
2a78: 00800034 movhi r2,0
2a7c: 109c7004 addi r2,r2,29120
2a80: 11400017 ldw r5,0(r2)
2a84: 8809883a mov r4,r17
2a88: 00027640 call 2764 <_malloc_trim_r>
2a8c: 003fba06 br 2978 <_free_r+0xf0>
2a90: 28c9883a add r4,r5,r3
2a94: 21000117 ldw r4,4(r4)
2a98: 2100004c andi r4,r4,1
2a9c: 2000391e bne r4,zero,2b84 <_free_r+0x2fc>
2aa0: 29c00217 ldw r7,8(r5)
2aa4: 29000317 ldw r4,12(r5)
2aa8: 1885883a add r2,r3,r2
2aac: 10c00054 ori r3,r2,1
2ab0: 39000315 stw r4,12(r7)
2ab4: 21c00215 stw r7,8(r4)
2ab8: 30c00115 stw r3,4(r6)
2abc: 308d883a add r6,r6,r2
2ac0: 30800015 stw r2,0(r6)
2ac4: 003fac06 br 2978 <_free_r+0xf0>
2ac8: 00c00504 movi r3,20
2acc: 19401536 bltu r3,r5,2b24 <_free_r+0x29c>
2ad0: 28c01704 addi r3,r5,92
2ad4: 18c7883a add r3,r3,r3
2ad8: 294016c4 addi r5,r5,91
2adc: 003fb406 br 29b0 <_free_r+0x128>
2ae0: 280bd0ba srai r5,r5,2
2ae4: 00c00044 movi r3,1
2ae8: 38800117 ldw r2,4(r7)
2aec: 194a983a sll r5,r3,r5
2af0: 2007883a mov r3,r4
2af4: 2884b03a or r2,r5,r2
2af8: 38800115 stw r2,4(r7)
2afc: 003fbb06 br 29ec <_free_r+0x164>
2b00: 21800515 stw r6,20(r4)
2b04: 21800415 stw r6,16(r4)
2b08: 10c00054 ori r3,r2,1
2b0c: 31c00315 stw r7,12(r6)
2b10: 31c00215 stw r7,8(r6)
2b14: 30c00115 stw r3,4(r6)
2b18: 308d883a add r6,r6,r2
2b1c: 30800015 stw r2,0(r6)
2b20: 003f9506 br 2978 <_free_r+0xf0>
2b24: 00c01504 movi r3,84
2b28: 19400536 bltu r3,r5,2b40 <_free_r+0x2b8>
2b2c: 100ad33a srli r5,r2,12
2b30: 28c01bc4 addi r3,r5,111
2b34: 18c7883a add r3,r3,r3
2b38: 29401b84 addi r5,r5,110
2b3c: 003f9c06 br 29b0 <_free_r+0x128>
2b40: 00c05504 movi r3,340
2b44: 19400536 bltu r3,r5,2b5c <_free_r+0x2d4>
2b48: 100ad3fa srli r5,r2,15
2b4c: 28c01e04 addi r3,r5,120
2b50: 18c7883a add r3,r3,r3
2b54: 29401dc4 addi r5,r5,119
2b58: 003f9506 br 29b0 <_free_r+0x128>
2b5c: 00c15504 movi r3,1364
2b60: 19400536 bltu r3,r5,2b78 <_free_r+0x2f0>
2b64: 100ad4ba srli r5,r2,18
2b68: 28c01f44 addi r3,r5,125
2b6c: 18c7883a add r3,r3,r3
2b70: 29401f04 addi r5,r5,124
2b74: 003f8e06 br 29b0 <_free_r+0x128>
2b78: 00c03f84 movi r3,254
2b7c: 01401f84 movi r5,126
2b80: 003f8b06 br 29b0 <_free_r+0x128>
2b84: 10c00054 ori r3,r2,1
2b88: 30c00115 stw r3,4(r6)
2b8c: 308d883a add r6,r6,r2
2b90: 30800015 stw r2,0(r6)
2b94: 003f7806 br 2978 <_free_r+0xf0>
00002b98 <_lseek_r>:
2b98: defffd04 addi sp,sp,-12
2b9c: 2805883a mov r2,r5
2ba0: dc000015 stw r16,0(sp)
2ba4: 04000034 movhi r16,0
2ba8: dc400115 stw r17,4(sp)
2bac: 300b883a mov r5,r6
2bb0: 841c7104 addi r16,r16,29124
2bb4: 2023883a mov r17,r4
2bb8: 380d883a mov r6,r7
2bbc: 1009883a mov r4,r2
2bc0: dfc00215 stw ra,8(sp)
2bc4: 80000015 stw zero,0(r16)
2bc8: 00033f80 call 33f8 <lseek>
2bcc: 00ffffc4 movi r3,-1
2bd0: 10c00526 beq r2,r3,2be8 <_lseek_r+0x50>
2bd4: dfc00217 ldw ra,8(sp)
2bd8: dc400117 ldw r17,4(sp)
2bdc: dc000017 ldw r16,0(sp)
2be0: dec00304 addi sp,sp,12
2be4: f800283a ret
2be8: 80c00017 ldw r3,0(r16)
2bec: 183ff926 beq r3,zero,2bd4 <_lseek_r+0x3c>
2bf0: 88c00015 stw r3,0(r17)
2bf4: 003ff706 br 2bd4 <_lseek_r+0x3c>
00002bf8 <__smakebuf_r>:
2bf8: 2880030b ldhu r2,12(r5)
2bfc: 10c0008c andi r3,r2,2
2c00: 1800411e bne r3,zero,2d08 <__smakebuf_r+0x110>
2c04: deffec04 addi sp,sp,-80
2c08: dc000f15 stw r16,60(sp)
2c0c: 2821883a mov r16,r5
2c10: 2940038f ldh r5,14(r5)
2c14: dc401015 stw r17,64(sp)
2c18: dfc01315 stw ra,76(sp)
2c1c: dcc01215 stw r19,72(sp)
2c20: dc801115 stw r18,68(sp)
2c24: 2023883a mov r17,r4
2c28: 28001c16 blt r5,zero,2c9c <__smakebuf_r+0xa4>
2c2c: d80d883a mov r6,sp
2c30: 0002e140 call 2e14 <_fstat_r>
2c34: 10001816 blt r2,zero,2c98 <__smakebuf_r+0xa0>
2c38: d8800117 ldw r2,4(sp)
2c3c: 00e00014 movui r3,32768
2c40: 10bc000c andi r2,r2,61440
2c44: 14c80020 cmpeqi r19,r2,8192
2c48: 10c03726 beq r2,r3,2d28 <__smakebuf_r+0x130>
2c4c: 80c0030b ldhu r3,12(r16)
2c50: 18c20014 ori r3,r3,2048
2c54: 80c0030d sth r3,12(r16)
2c58: 00c80004 movi r3,8192
2c5c: 10c0521e bne r2,r3,2da8 <__smakebuf_r+0x1b0>
2c60: 8140038f ldh r5,14(r16)
2c64: 8809883a mov r4,r17
2c68: 0002e700 call 2e70 <_isatty_r>
2c6c: 10004c26 beq r2,zero,2da0 <__smakebuf_r+0x1a8>
2c70: 8080030b ldhu r2,12(r16)
2c74: 80c010c4 addi r3,r16,67
2c78: 80c00015 stw r3,0(r16)
2c7c: 10800054 ori r2,r2,1
2c80: 8080030d sth r2,12(r16)
2c84: 00800044 movi r2,1
2c88: 80c00415 stw r3,16(r16)
2c8c: 80800515 stw r2,20(r16)
2c90: 04810004 movi r18,1024
2c94: 00000706 br 2cb4 <__smakebuf_r+0xbc>
2c98: 8080030b ldhu r2,12(r16)
2c9c: 10c0200c andi r3,r2,128
2ca0: 18001f1e bne r3,zero,2d20 <__smakebuf_r+0x128>
2ca4: 04810004 movi r18,1024
2ca8: 10820014 ori r2,r2,2048
2cac: 8080030d sth r2,12(r16)
2cb0: 0027883a mov r19,zero
2cb4: 900b883a mov r5,r18
2cb8: 8809883a mov r4,r17
2cbc: 0000e000 call e00 <_malloc_r>
2cc0: 10002c26 beq r2,zero,2d74 <__smakebuf_r+0x17c>
2cc4: 80c0030b ldhu r3,12(r16)
2cc8: 01000034 movhi r4,0
2ccc: 21010204 addi r4,r4,1032
2cd0: 89000f15 stw r4,60(r17)
2cd4: 18c02014 ori r3,r3,128
2cd8: 80c0030d sth r3,12(r16)
2cdc: 80800015 stw r2,0(r16)
2ce0: 80800415 stw r2,16(r16)
2ce4: 84800515 stw r18,20(r16)
2ce8: 98001a1e bne r19,zero,2d54 <__smakebuf_r+0x15c>
2cec: dfc01317 ldw ra,76(sp)
2cf0: dcc01217 ldw r19,72(sp)
2cf4: dc801117 ldw r18,68(sp)
2cf8: dc401017 ldw r17,64(sp)
2cfc: dc000f17 ldw r16,60(sp)
2d00: dec01404 addi sp,sp,80
2d04: f800283a ret
2d08: 288010c4 addi r2,r5,67
2d0c: 28800015 stw r2,0(r5)
2d10: 28800415 stw r2,16(r5)
2d14: 00800044 movi r2,1
2d18: 28800515 stw r2,20(r5)
2d1c: f800283a ret
2d20: 04801004 movi r18,64
2d24: 003fe006 br 2ca8 <__smakebuf_r+0xb0>
2d28: 81000a17 ldw r4,40(r16)
2d2c: 00c00034 movhi r3,0
2d30: 18c85304 addi r3,r3,8524
2d34: 20ffc51e bne r4,r3,2c4c <__smakebuf_r+0x54>
2d38: 8080030b ldhu r2,12(r16)
2d3c: 04810004 movi r18,1024
2d40: 84801315 stw r18,76(r16)
2d44: 1484b03a or r2,r2,r18
2d48: 8080030d sth r2,12(r16)
2d4c: 0027883a mov r19,zero
2d50: 003fd806 br 2cb4 <__smakebuf_r+0xbc>
2d54: 8140038f ldh r5,14(r16)
2d58: 8809883a mov r4,r17
2d5c: 0002e700 call 2e70 <_isatty_r>
2d60: 103fe226 beq r2,zero,2cec <__smakebuf_r+0xf4>
2d64: 8080030b ldhu r2,12(r16)
2d68: 10800054 ori r2,r2,1
2d6c: 8080030d sth r2,12(r16)
2d70: 003fde06 br 2cec <__smakebuf_r+0xf4>
2d74: 8080030b ldhu r2,12(r16)
2d78: 10c0800c andi r3,r2,512
2d7c: 183fdb1e bne r3,zero,2cec <__smakebuf_r+0xf4>
2d80: 10800094 ori r2,r2,2
2d84: 80c010c4 addi r3,r16,67
2d88: 8080030d sth r2,12(r16)
2d8c: 00800044 movi r2,1
2d90: 80c00015 stw r3,0(r16)
2d94: 80c00415 stw r3,16(r16)
2d98: 80800515 stw r2,20(r16)
2d9c: 003fd306 br 2cec <__smakebuf_r+0xf4>
2da0: 04810004 movi r18,1024
2da4: 003fc306 br 2cb4 <__smakebuf_r+0xbc>
2da8: 0027883a mov r19,zero
2dac: 04810004 movi r18,1024
2db0: 003fc006 br 2cb4 <__smakebuf_r+0xbc>
00002db4 <_read_r>:
2db4: defffd04 addi sp,sp,-12
2db8: 2805883a mov r2,r5
2dbc: dc000015 stw r16,0(sp)
2dc0: 04000034 movhi r16,0
2dc4: dc400115 stw r17,4(sp)
2dc8: 300b883a mov r5,r6
2dcc: 841c7104 addi r16,r16,29124
2dd0: 2023883a mov r17,r4
2dd4: 380d883a mov r6,r7
2dd8: 1009883a mov r4,r2
2ddc: dfc00215 stw ra,8(sp)
2de0: 80000015 stw zero,0(r16)
2de4: 00035d40 call 35d4 <read>
2de8: 00ffffc4 movi r3,-1
2dec: 10c00526 beq r2,r3,2e04 <_read_r+0x50>
2df0: dfc00217 ldw ra,8(sp)
2df4: dc400117 ldw r17,4(sp)
2df8: dc000017 ldw r16,0(sp)
2dfc: dec00304 addi sp,sp,12
2e00: f800283a ret
2e04: 80c00017 ldw r3,0(r16)
2e08: 183ff926 beq r3,zero,2df0 <_read_r+0x3c>
2e0c: 88c00015 stw r3,0(r17)
2e10: 003ff706 br 2df0 <_read_r+0x3c>
00002e14 <_fstat_r>:
2e14: defffd04 addi sp,sp,-12
2e18: 2805883a mov r2,r5
2e1c: dc000015 stw r16,0(sp)
2e20: 04000034 movhi r16,0
2e24: dc400115 stw r17,4(sp)
2e28: 841c7104 addi r16,r16,29124
2e2c: 2023883a mov r17,r4
2e30: 300b883a mov r5,r6
2e34: 1009883a mov r4,r2
2e38: dfc00215 stw ra,8(sp)
2e3c: 80000015 stw zero,0(r16)
2e40: 000321c0 call 321c <fstat>
2e44: 00ffffc4 movi r3,-1
2e48: 10c00526 beq r2,r3,2e60 <_fstat_r+0x4c>
2e4c: dfc00217 ldw ra,8(sp)
2e50: dc400117 ldw r17,4(sp)
2e54: dc000017 ldw r16,0(sp)
2e58: dec00304 addi sp,sp,12
2e5c: f800283a ret
2e60: 80c00017 ldw r3,0(r16)
2e64: 183ff926 beq r3,zero,2e4c <_fstat_r+0x38>
2e68: 88c00015 stw r3,0(r17)
2e6c: 003ff706 br 2e4c <_fstat_r+0x38>
00002e70 <_isatty_r>:
2e70: defffd04 addi sp,sp,-12
2e74: dc000015 stw r16,0(sp)
2e78: 04000034 movhi r16,0
2e7c: dc400115 stw r17,4(sp)
2e80: 841c7104 addi r16,r16,29124
2e84: 2023883a mov r17,r4
2e88: 2809883a mov r4,r5
2e8c: dfc00215 stw ra,8(sp)
2e90: 80000015 stw zero,0(r16)
2e94: 00033100 call 3310 <isatty>
2e98: 00ffffc4 movi r3,-1
2e9c: 10c00526 beq r2,r3,2eb4 <_isatty_r+0x44>
2ea0: dfc00217 ldw ra,8(sp)
2ea4: dc400117 ldw r17,4(sp)
2ea8: dc000017 ldw r16,0(sp)
2eac: dec00304 addi sp,sp,12
2eb0: f800283a ret
2eb4: 80c00017 ldw r3,0(r16)
2eb8: 183ff926 beq r3,zero,2ea0 <_isatty_r+0x30>
2ebc: 88c00015 stw r3,0(r17)
2ec0: 003ff706 br 2ea0 <_isatty_r+0x30>
00002ec4 <__divsi3>:
2ec4: 20001b16 blt r4,zero,2f34 <__divsi3+0x70>
2ec8: 000f883a mov r7,zero
2ecc: 28001616 blt r5,zero,2f28 <__divsi3+0x64>
2ed0: 200d883a mov r6,r4
2ed4: 29001a2e bgeu r5,r4,2f40 <__divsi3+0x7c>
2ed8: 00800804 movi r2,32
2edc: 00c00044 movi r3,1
2ee0: 00000106 br 2ee8 <__divsi3+0x24>
2ee4: 10000d26 beq r2,zero,2f1c <__divsi3+0x58>
2ee8: 294b883a add r5,r5,r5
2eec: 10bfffc4 addi r2,r2,-1
2ef0: 18c7883a add r3,r3,r3
2ef4: 293ffb36 bltu r5,r4,2ee4 <__divsi3+0x20>
2ef8: 0005883a mov r2,zero
2efc: 18000726 beq r3,zero,2f1c <__divsi3+0x58>
2f00: 0005883a mov r2,zero
2f04: 31400236 bltu r6,r5,2f10 <__divsi3+0x4c>
2f08: 314dc83a sub r6,r6,r5
2f0c: 10c4b03a or r2,r2,r3
2f10: 1806d07a srli r3,r3,1
2f14: 280ad07a srli r5,r5,1
2f18: 183ffa1e bne r3,zero,2f04 <__divsi3+0x40>
2f1c: 38000126 beq r7,zero,2f24 <__divsi3+0x60>
2f20: 0085c83a sub r2,zero,r2
2f24: f800283a ret
2f28: 014bc83a sub r5,zero,r5
2f2c: 39c0005c xori r7,r7,1
2f30: 003fe706 br 2ed0 <__divsi3+0xc>
2f34: 0109c83a sub r4,zero,r4
2f38: 01c00044 movi r7,1
2f3c: 003fe306 br 2ecc <__divsi3+0x8>
2f40: 00c00044 movi r3,1
2f44: 003fee06 br 2f00 <__divsi3+0x3c>
00002f48 <__modsi3>:
2f48: 20001716 blt r4,zero,2fa8 <__modsi3+0x60>
2f4c: 000f883a mov r7,zero
2f50: 2005883a mov r2,r4
2f54: 28001216 blt r5,zero,2fa0 <__modsi3+0x58>
2f58: 2900162e bgeu r5,r4,2fb4 <__modsi3+0x6c>
2f5c: 01800804 movi r6,32
2f60: 00c00044 movi r3,1
2f64: 00000106 br 2f6c <__modsi3+0x24>
2f68: 30000a26 beq r6,zero,2f94 <__modsi3+0x4c>
2f6c: 294b883a add r5,r5,r5
2f70: 31bfffc4 addi r6,r6,-1
2f74: 18c7883a add r3,r3,r3
2f78: 293ffb36 bltu r5,r4,2f68 <__modsi3+0x20>
2f7c: 18000526 beq r3,zero,2f94 <__modsi3+0x4c>
2f80: 1806d07a srli r3,r3,1
2f84: 11400136 bltu r2,r5,2f8c <__modsi3+0x44>
2f88: 1145c83a sub r2,r2,r5
2f8c: 280ad07a srli r5,r5,1
2f90: 183ffb1e bne r3,zero,2f80 <__modsi3+0x38>
2f94: 38000126 beq r7,zero,2f9c <__modsi3+0x54>
2f98: 0085c83a sub r2,zero,r2
2f9c: f800283a ret
2fa0: 014bc83a sub r5,zero,r5
2fa4: 003fec06 br 2f58 <__modsi3+0x10>
2fa8: 0109c83a sub r4,zero,r4
2fac: 01c00044 movi r7,1
2fb0: 003fe706 br 2f50 <__modsi3+0x8>
2fb4: 00c00044 movi r3,1
2fb8: 003ff106 br 2f80 <__modsi3+0x38>
00002fbc <__udivsi3>:
2fbc: 200d883a mov r6,r4
2fc0: 2900152e bgeu r5,r4,3018 <__udivsi3+0x5c>
2fc4: 28001416 blt r5,zero,3018 <__udivsi3+0x5c>
2fc8: 00800804 movi r2,32
2fcc: 00c00044 movi r3,1
2fd0: 00000206 br 2fdc <__udivsi3+0x20>
2fd4: 10000e26 beq r2,zero,3010 <__udivsi3+0x54>
2fd8: 28000516 blt r5,zero,2ff0 <__udivsi3+0x34>
2fdc: 294b883a add r5,r5,r5
2fe0: 10bfffc4 addi r2,r2,-1
2fe4: 18c7883a add r3,r3,r3
2fe8: 293ffa36 bltu r5,r4,2fd4 <__udivsi3+0x18>
2fec: 18000826 beq r3,zero,3010 <__udivsi3+0x54>
2ff0: 0005883a mov r2,zero
2ff4: 31400236 bltu r6,r5,3000 <__udivsi3+0x44>
2ff8: 314dc83a sub r6,r6,r5
2ffc: 10c4b03a or r2,r2,r3
3000: 1806d07a srli r3,r3,1
3004: 280ad07a srli r5,r5,1
3008: 183ffa1e bne r3,zero,2ff4 <__udivsi3+0x38>
300c: f800283a ret
3010: 0005883a mov r2,zero
3014: f800283a ret
3018: 00c00044 movi r3,1
301c: 003ff406 br 2ff0 <__udivsi3+0x34>
00003020 <__umodsi3>:
3020: 2005883a mov r2,r4
3024: 2900122e bgeu r5,r4,3070 <__umodsi3+0x50>
3028: 28001116 blt r5,zero,3070 <__umodsi3+0x50>
302c: 01800804 movi r6,32
3030: 00c00044 movi r3,1
3034: 00000206 br 3040 <__umodsi3+0x20>
3038: 30000c26 beq r6,zero,306c <__umodsi3+0x4c>
303c: 28000516 blt r5,zero,3054 <__umodsi3+0x34>
3040: 294b883a add r5,r5,r5
3044: 31bfffc4 addi r6,r6,-1
3048: 18c7883a add r3,r3,r3
304c: 293ffa36 bltu r5,r4,3038 <__umodsi3+0x18>
3050: 18000626 beq r3,zero,306c <__umodsi3+0x4c>
3054: 1806d07a srli r3,r3,1
3058: 11400136 bltu r2,r5,3060 <__umodsi3+0x40>
305c: 1145c83a sub r2,r2,r5
3060: 280ad07a srli r5,r5,1
3064: 183ffb1e bne r3,zero,3054 <__umodsi3+0x34>
3068: f800283a ret
306c: f800283a ret
3070: 00c00044 movi r3,1
3074: 003ff706 br 3054 <__umodsi3+0x34>
00003078 <__mulsi3>:
3078: 0005883a mov r2,zero
307c: 20000726 beq r4,zero,309c <__mulsi3+0x24>
3080: 20c0004c andi r3,r4,1
3084: 2008d07a srli r4,r4,1
3088: 18000126 beq r3,zero,3090 <__mulsi3+0x18>
308c: 1145883a add r2,r2,r5
3090: 294b883a add r5,r5,r5
3094: 203ffa1e bne r4,zero,3080 <__mulsi3+0x8>
3098: f800283a ret
309c: f800283a ret
000030a0 <alt_get_errno>:
30a0: defffe04 addi sp,sp,-8
30a4: dfc00115 stw ra,4(sp)
30a8: df000015 stw fp,0(sp)
30ac: d839883a mov fp,sp
30b0: d0a00917 ldw r2,-32732(gp)
30b4: 10000326 beq r2,zero,30c4 <alt_get_errno+0x24>
30b8: d0a00917 ldw r2,-32732(gp)
30bc: 103ee83a callr r2
30c0: 00000106 br 30c8 <alt_get_errno+0x28>
30c4: d0a01104 addi r2,gp,-32700
30c8: e037883a mov sp,fp
30cc: dfc00117 ldw ra,4(sp)
30d0: df000017 ldw fp,0(sp)
30d4: dec00204 addi sp,sp,8
30d8: f800283a ret
000030dc <close>:
30dc: defffb04 addi sp,sp,-20
30e0: dfc00415 stw ra,16(sp)
30e4: df000315 stw fp,12(sp)
30e8: df000304 addi fp,sp,12
30ec: e13fff15 stw r4,-4(fp)
30f0: e0bfff17 ldw r2,-4(fp)
30f4: 10000816 blt r2,zero,3118 <close+0x3c>
30f8: 01400304 movi r5,12
30fc: e13fff17 ldw r4,-4(fp)
3100: 00030780 call 3078 <__mulsi3>
3104: 1007883a mov r3,r2
3108: 00800034 movhi r2,0
310c: 1097e804 addi r2,r2,24480
3110: 1885883a add r2,r3,r2
3114: 00000106 br 311c <close+0x40>
3118: 0005883a mov r2,zero
311c: e0bffd15 stw r2,-12(fp)
3120: e0bffd17 ldw r2,-12(fp)
3124: 10001926 beq r2,zero,318c <close+0xb0>
3128: e0bffd17 ldw r2,-12(fp)
312c: 10800017 ldw r2,0(r2)
3130: 10800417 ldw r2,16(r2)
3134: 10000626 beq r2,zero,3150 <close+0x74>
3138: e0bffd17 ldw r2,-12(fp)
313c: 10800017 ldw r2,0(r2)
3140: 10800417 ldw r2,16(r2)
3144: e13ffd17 ldw r4,-12(fp)
3148: 103ee83a callr r2
314c: 00000106 br 3154 <close+0x78>
3150: 0005883a mov r2,zero
3154: e0bffe15 stw r2,-8(fp)
3158: e13fff17 ldw r4,-4(fp)
315c: 00036d80 call 36d8 <alt_release_fd>
3160: e0bffe17 ldw r2,-8(fp)
3164: 1000070e bge r2,zero,3184 <close+0xa8>
3168: 00030a00 call 30a0 <alt_get_errno>
316c: 1007883a mov r3,r2
3170: e0bffe17 ldw r2,-8(fp)
3174: 0085c83a sub r2,zero,r2
3178: 18800015 stw r2,0(r3)
317c: 00bfffc4 movi r2,-1
3180: 00000706 br 31a0 <close+0xc4>
3184: 0005883a mov r2,zero
3188: 00000506 br 31a0 <close+0xc4>
318c: 00030a00 call 30a0 <alt_get_errno>
3190: 1007883a mov r3,r2
3194: 00801444 movi r2,81
3198: 18800015 stw r2,0(r3)
319c: 00bfffc4 movi r2,-1
31a0: e037883a mov sp,fp
31a4: dfc00117 ldw ra,4(sp)
31a8: df000017 ldw fp,0(sp)
31ac: dec00204 addi sp,sp,8
31b0: f800283a ret
000031b4 <alt_dev_null_write>:
31b4: defffc04 addi sp,sp,-16
31b8: df000315 stw fp,12(sp)
31bc: df000304 addi fp,sp,12
31c0: e13ffd15 stw r4,-12(fp)
31c4: e17ffe15 stw r5,-8(fp)
31c8: e1bfff15 stw r6,-4(fp)
31cc: e0bfff17 ldw r2,-4(fp)
31d0: e037883a mov sp,fp
31d4: df000017 ldw fp,0(sp)
31d8: dec00104 addi sp,sp,4
31dc: f800283a ret
000031e0 <alt_get_errno>:
31e0: defffe04 addi sp,sp,-8
31e4: dfc00115 stw ra,4(sp)
31e8: df000015 stw fp,0(sp)
31ec: d839883a mov fp,sp
31f0: d0a00917 ldw r2,-32732(gp)
31f4: 10000326 beq r2,zero,3204 <alt_get_errno+0x24>
31f8: d0a00917 ldw r2,-32732(gp)
31fc: 103ee83a callr r2
3200: 00000106 br 3208 <alt_get_errno+0x28>
3204: d0a01104 addi r2,gp,-32700
3208: e037883a mov sp,fp
320c: dfc00117 ldw ra,4(sp)
3210: df000017 ldw fp,0(sp)
3214: dec00204 addi sp,sp,8
3218: f800283a ret
0000321c <fstat>:
321c: defffb04 addi sp,sp,-20
3220: dfc00415 stw ra,16(sp)
3224: df000315 stw fp,12(sp)
3228: df000304 addi fp,sp,12
322c: e13ffe15 stw r4,-8(fp)
3230: e17fff15 stw r5,-4(fp)
3234: e0bffe17 ldw r2,-8(fp)
3238: 10000816 blt r2,zero,325c <fstat+0x40>
323c: 01400304 movi r5,12
3240: e13ffe17 ldw r4,-8(fp)
3244: 00030780 call 3078 <__mulsi3>
3248: 1007883a mov r3,r2
324c: 00800034 movhi r2,0
3250: 1097e804 addi r2,r2,24480
3254: 1885883a add r2,r3,r2
3258: 00000106 br 3260 <fstat+0x44>
325c: 0005883a mov r2,zero
3260: e0bffd15 stw r2,-12(fp)
3264: e0bffd17 ldw r2,-12(fp)
3268: 10001026 beq r2,zero,32ac <fstat+0x90>
326c: e0bffd17 ldw r2,-12(fp)
3270: 10800017 ldw r2,0(r2)
3274: 10800817 ldw r2,32(r2)
3278: 10000726 beq r2,zero,3298 <fstat+0x7c>
327c: e0bffd17 ldw r2,-12(fp)
3280: 10800017 ldw r2,0(r2)
3284: 10800817 ldw r2,32(r2)
3288: e17fff17 ldw r5,-4(fp)
328c: e13ffd17 ldw r4,-12(fp)
3290: 103ee83a callr r2
3294: 00000a06 br 32c0 <fstat+0xa4>
3298: e0bfff17 ldw r2,-4(fp)
329c: 00c80004 movi r3,8192
32a0: 10c00115 stw r3,4(r2)
32a4: 0005883a mov r2,zero
32a8: 00000506 br 32c0 <fstat+0xa4>
32ac: 00031e00 call 31e0 <alt_get_errno>
32b0: 1007883a mov r3,r2
32b4: 00801444 movi r2,81
32b8: 18800015 stw r2,0(r3)
32bc: 00bfffc4 movi r2,-1
32c0: e037883a mov sp,fp
32c4: dfc00117 ldw ra,4(sp)
32c8: df000017 ldw fp,0(sp)
32cc: dec00204 addi sp,sp,8
32d0: f800283a ret
000032d4 <alt_get_errno>:
32d4: defffe04 addi sp,sp,-8
32d8: dfc00115 stw ra,4(sp)
32dc: df000015 stw fp,0(sp)
32e0: d839883a mov fp,sp
32e4: d0a00917 ldw r2,-32732(gp)
32e8: 10000326 beq r2,zero,32f8 <alt_get_errno+0x24>
32ec: d0a00917 ldw r2,-32732(gp)
32f0: 103ee83a callr r2
32f4: 00000106 br 32fc <alt_get_errno+0x28>
32f8: d0a01104 addi r2,gp,-32700
32fc: e037883a mov sp,fp
3300: dfc00117 ldw ra,4(sp)
3304: df000017 ldw fp,0(sp)
3308: dec00204 addi sp,sp,8
330c: f800283a ret
00003310 <isatty>:
3310: deffed04 addi sp,sp,-76
3314: dfc01215 stw ra,72(sp)
3318: df001115 stw fp,68(sp)
331c: df001104 addi fp,sp,68
3320: e13fff15 stw r4,-4(fp)
3324: e0bfff17 ldw r2,-4(fp)
3328: 10000816 blt r2,zero,334c <isatty+0x3c>
332c: 01400304 movi r5,12
3330: e13fff17 ldw r4,-4(fp)
3334: 00030780 call 3078 <__mulsi3>
3338: 1007883a mov r3,r2
333c: 00800034 movhi r2,0
3340: 1097e804 addi r2,r2,24480
3344: 1885883a add r2,r3,r2
3348: 00000106 br 3350 <isatty+0x40>
334c: 0005883a mov r2,zero
3350: e0bfef15 stw r2,-68(fp)
3354: e0bfef17 ldw r2,-68(fp)
3358: 10000e26 beq r2,zero,3394 <isatty+0x84>
335c: e0bfef17 ldw r2,-68(fp)
3360: 10800017 ldw r2,0(r2)
3364: 10800817 ldw r2,32(r2)
3368: 1000021e bne r2,zero,3374 <isatty+0x64>
336c: 00800044 movi r2,1
3370: 00000d06 br 33a8 <isatty+0x98>
3374: e0bff004 addi r2,fp,-64
3378: 100b883a mov r5,r2
337c: e13fff17 ldw r4,-4(fp)
3380: 000321c0 call 321c <fstat>
3384: e0bff117 ldw r2,-60(fp)
3388: 10880020 cmpeqi r2,r2,8192
338c: 10803fcc andi r2,r2,255
3390: 00000506 br 33a8 <isatty+0x98>
3394: 00032d40 call 32d4 <alt_get_errno>
3398: 1007883a mov r3,r2
339c: 00801444 movi r2,81
33a0: 18800015 stw r2,0(r3)
33a4: 0005883a mov r2,zero
33a8: e037883a mov sp,fp
33ac: dfc00117 ldw ra,4(sp)
33b0: df000017 ldw fp,0(sp)
33b4: dec00204 addi sp,sp,8
33b8: f800283a ret
000033bc <alt_get_errno>:
33bc: defffe04 addi sp,sp,-8
33c0: dfc00115 stw ra,4(sp)
33c4: df000015 stw fp,0(sp)
33c8: d839883a mov fp,sp
33cc: d0a00917 ldw r2,-32732(gp)
33d0: 10000326 beq r2,zero,33e0 <alt_get_errno+0x24>
33d4: d0a00917 ldw r2,-32732(gp)
33d8: 103ee83a callr r2
33dc: 00000106 br 33e4 <alt_get_errno+0x28>
33e0: d0a01104 addi r2,gp,-32700
33e4: e037883a mov sp,fp
33e8: dfc00117 ldw ra,4(sp)
33ec: df000017 ldw fp,0(sp)
33f0: dec00204 addi sp,sp,8
33f4: f800283a ret
000033f8 <lseek>:
33f8: defff904 addi sp,sp,-28
33fc: dfc00615 stw ra,24(sp)
3400: df000515 stw fp,20(sp)
3404: df000504 addi fp,sp,20
3408: e13ffd15 stw r4,-12(fp)
340c: e17ffe15 stw r5,-8(fp)
3410: e1bfff15 stw r6,-4(fp)
3414: e03ffb15 stw zero,-20(fp)
3418: e0bffd17 ldw r2,-12(fp)
341c: 10000816 blt r2,zero,3440 <lseek+0x48>
3420: 01400304 movi r5,12
3424: e13ffd17 ldw r4,-12(fp)
3428: 00030780 call 3078 <__mulsi3>
342c: 1007883a mov r3,r2
3430: 00800034 movhi r2,0
3434: 1097e804 addi r2,r2,24480
3438: 1885883a add r2,r3,r2
343c: 00000106 br 3444 <lseek+0x4c>
3440: 0005883a mov r2,zero
3444: e0bffc15 stw r2,-16(fp)
3448: e0bffc17 ldw r2,-16(fp)
344c: 10001026 beq r2,zero,3490 <lseek+0x98>
3450: e0bffc17 ldw r2,-16(fp)
3454: 10800017 ldw r2,0(r2)
3458: 10800717 ldw r2,28(r2)
345c: 10000926 beq r2,zero,3484 <lseek+0x8c>
3460: e0bffc17 ldw r2,-16(fp)
3464: 10800017 ldw r2,0(r2)
3468: 10800717 ldw r2,28(r2)
346c: e1bfff17 ldw r6,-4(fp)
3470: e17ffe17 ldw r5,-8(fp)
3474: e13ffc17 ldw r4,-16(fp)
3478: 103ee83a callr r2
347c: e0bffb15 stw r2,-20(fp)
3480: 00000506 br 3498 <lseek+0xa0>
3484: 00bfde84 movi r2,-134
3488: e0bffb15 stw r2,-20(fp)
348c: 00000206 br 3498 <lseek+0xa0>
3490: 00bfebc4 movi r2,-81
3494: e0bffb15 stw r2,-20(fp)
3498: e0bffb17 ldw r2,-20(fp)
349c: 1000070e bge r2,zero,34bc <lseek+0xc4>
34a0: 00033bc0 call 33bc <alt_get_errno>
34a4: 1007883a mov r3,r2
34a8: e0bffb17 ldw r2,-20(fp)
34ac: 0085c83a sub r2,zero,r2
34b0: 18800015 stw r2,0(r3)
34b4: 00bfffc4 movi r2,-1
34b8: e0bffb15 stw r2,-20(fp)
34bc: e0bffb17 ldw r2,-20(fp)
34c0: e037883a mov sp,fp
34c4: dfc00117 ldw ra,4(sp)
34c8: df000017 ldw fp,0(sp)
34cc: dec00204 addi sp,sp,8
34d0: f800283a ret
000034d4 <alt_main>:
34d4: defffd04 addi sp,sp,-12
34d8: dfc00215 stw ra,8(sp)
34dc: df000115 stw fp,4(sp)
34e0: df000104 addi fp,sp,4
34e4: 0009883a mov r4,zero
34e8: 000397c0 call 397c <alt_irq_init>
34ec: 0001883a nop
34f0: 00039b40 call 39b4 <alt_sys_init>
34f4: 01800034 movhi r6,0
34f8: 3195cb04 addi r6,r6,22316
34fc: 01400034 movhi r5,0
3500: 2955cb04 addi r5,r5,22316
3504: 01000034 movhi r4,0
3508: 2115cb04 addi r4,r4,22316
350c: 0004bbc0 call 4bbc <alt_io_redirect>
3510: 00047780 call 4778 <_do_ctors>
3514: 01000034 movhi r4,0
3518: 2111f604 addi r4,r4,18392
351c: 000537c0 call 537c <atexit>
3520: d0a01217 ldw r2,-32696(gp)
3524: d0e01317 ldw r3,-32692(gp)
3528: d1201417 ldw r4,-32688(gp)
352c: 200d883a mov r6,r4
3530: 180b883a mov r5,r3
3534: 1009883a mov r4,r2
3538: 00002680 call 268 <main>
353c: e0bfff15 stw r2,-4(fp)
3540: 01000044 movi r4,1
3544: 00030dc0 call 30dc <close>
3548: e13fff17 ldw r4,-4(fp)
354c: 00053900 call 5390 <exit>
00003550 <__malloc_lock>:
3550: defffe04 addi sp,sp,-8
3554: df000115 stw fp,4(sp)
3558: df000104 addi fp,sp,4
355c: e13fff15 stw r4,-4(fp)
3560: 0001883a nop
3564: e037883a mov sp,fp
3568: df000017 ldw fp,0(sp)
356c: dec00104 addi sp,sp,4
3570: f800283a ret
00003574 <__malloc_unlock>:
3574: defffe04 addi sp,sp,-8
3578: df000115 stw fp,4(sp)
357c: df000104 addi fp,sp,4
3580: e13fff15 stw r4,-4(fp)
3584: 0001883a nop
3588: e037883a mov sp,fp
358c: df000017 ldw fp,0(sp)
3590: dec00104 addi sp,sp,4
3594: f800283a ret
00003598 <alt_get_errno>:
3598: defffe04 addi sp,sp,-8
359c: dfc00115 stw ra,4(sp)
35a0: df000015 stw fp,0(sp)
35a4: d839883a mov fp,sp
35a8: d0a00917 ldw r2,-32732(gp)
35ac: 10000326 beq r2,zero,35bc <alt_get_errno+0x24>
35b0: d0a00917 ldw r2,-32732(gp)
35b4: 103ee83a callr r2
35b8: 00000106 br 35c0 <alt_get_errno+0x28>
35bc: d0a01104 addi r2,gp,-32700
35c0: e037883a mov sp,fp
35c4: dfc00117 ldw ra,4(sp)
35c8: df000017 ldw fp,0(sp)
35cc: dec00204 addi sp,sp,8
35d0: f800283a ret
000035d4 <read>:
35d4: defff904 addi sp,sp,-28
35d8: dfc00615 stw ra,24(sp)
35dc: df000515 stw fp,20(sp)
35e0: df000504 addi fp,sp,20
35e4: e13ffd15 stw r4,-12(fp)
35e8: e17ffe15 stw r5,-8(fp)
35ec: e1bfff15 stw r6,-4(fp)
35f0: e0bffd17 ldw r2,-12(fp)
35f4: 10000816 blt r2,zero,3618 <read+0x44>
35f8: 01400304 movi r5,12
35fc: e13ffd17 ldw r4,-12(fp)
3600: 00030780 call 3078 <__mulsi3>
3604: 1007883a mov r3,r2
3608: 00800034 movhi r2,0
360c: 1097e804 addi r2,r2,24480
3610: 1885883a add r2,r3,r2
3614: 00000106 br 361c <read+0x48>
3618: 0005883a mov r2,zero
361c: e0bffb15 stw r2,-20(fp)
3620: e0bffb17 ldw r2,-20(fp)
3624: 10002226 beq r2,zero,36b0 <read+0xdc>
3628: e0bffb17 ldw r2,-20(fp)
362c: 10800217 ldw r2,8(r2)
3630: 108000cc andi r2,r2,3
3634: 10800060 cmpeqi r2,r2,1
3638: 1000181e bne r2,zero,369c <read+0xc8>
363c: e0bffb17 ldw r2,-20(fp)
3640: 10800017 ldw r2,0(r2)
3644: 10800517 ldw r2,20(r2)
3648: 10001426 beq r2,zero,369c <read+0xc8>
364c: e0bffb17 ldw r2,-20(fp)
3650: 10800017 ldw r2,0(r2)
3654: 10800517 ldw r2,20(r2)
3658: e0ffff17 ldw r3,-4(fp)
365c: 180d883a mov r6,r3
3660: e17ffe17 ldw r5,-8(fp)
3664: e13ffb17 ldw r4,-20(fp)
3668: 103ee83a callr r2
366c: e0bffc15 stw r2,-16(fp)
3670: e0bffc17 ldw r2,-16(fp)
3674: 1000070e bge r2,zero,3694 <read+0xc0>
3678: 00035980 call 3598 <alt_get_errno>
367c: 1007883a mov r3,r2
3680: e0bffc17 ldw r2,-16(fp)
3684: 0085c83a sub r2,zero,r2
3688: 18800015 stw r2,0(r3)
368c: 00bfffc4 movi r2,-1
3690: 00000c06 br 36c4 <read+0xf0>
3694: e0bffc17 ldw r2,-16(fp)
3698: 00000a06 br 36c4 <read+0xf0>
369c: 00035980 call 3598 <alt_get_errno>
36a0: 1007883a mov r3,r2
36a4: 00800344 movi r2,13
36a8: 18800015 stw r2,0(r3)
36ac: 00000406 br 36c0 <read+0xec>
36b0: 00035980 call 3598 <alt_get_errno>
36b4: 1007883a mov r3,r2
36b8: 00801444 movi r2,81
36bc: 18800015 stw r2,0(r3)
36c0: 00bfffc4 movi r2,-1
36c4: e037883a mov sp,fp
36c8: dfc00117 ldw ra,4(sp)
36cc: df000017 ldw fp,0(sp)
36d0: dec00204 addi sp,sp,8
36d4: f800283a ret
000036d8 <alt_release_fd>:
36d8: defffc04 addi sp,sp,-16
36dc: dfc00315 stw ra,12(sp)
36e0: df000215 stw fp,8(sp)
36e4: dc000115 stw r16,4(sp)
36e8: df000204 addi fp,sp,8
36ec: e13ffe15 stw r4,-8(fp)
36f0: e0bffe17 ldw r2,-8(fp)
36f4: 108000d0 cmplti r2,r2,3
36f8: 1000111e bne r2,zero,3740 <alt_release_fd+0x68>
36fc: 04000034 movhi r16,0
3700: 8417e804 addi r16,r16,24480
3704: e0bffe17 ldw r2,-8(fp)
3708: 01400304 movi r5,12
370c: 1009883a mov r4,r2
3710: 00030780 call 3078 <__mulsi3>
3714: 8085883a add r2,r16,r2
3718: 10800204 addi r2,r2,8
371c: 10000015 stw zero,0(r2)
3720: 04000034 movhi r16,0
3724: 8417e804 addi r16,r16,24480
3728: e0bffe17 ldw r2,-8(fp)
372c: 01400304 movi r5,12
3730: 1009883a mov r4,r2
3734: 00030780 call 3078 <__mulsi3>
3738: 8085883a add r2,r16,r2
373c: 10000015 stw zero,0(r2)
3740: 0001883a nop
3744: e6ffff04 addi sp,fp,-4
3748: dfc00217 ldw ra,8(sp)
374c: df000117 ldw fp,4(sp)
3750: dc000017 ldw r16,0(sp)
3754: dec00304 addi sp,sp,12
3758: f800283a ret
0000375c <sbrk>:
375c: defff904 addi sp,sp,-28
3760: df000615 stw fp,24(sp)
3764: df000604 addi fp,sp,24
3768: e13fff15 stw r4,-4(fp)
376c: 0005303a rdctl r2,status
3770: e0bffe15 stw r2,-8(fp)
3774: e0fffe17 ldw r3,-8(fp)
3778: 00bfff84 movi r2,-2
377c: 1884703a and r2,r3,r2
3780: 1001703a wrctl status,r2
3784: e0bffe17 ldw r2,-8(fp)
3788: e0bffb15 stw r2,-20(fp)
378c: d0a00a17 ldw r2,-32728(gp)
3790: 10c000c4 addi r3,r2,3
3794: 00bfff04 movi r2,-4
3798: 1884703a and r2,r3,r2
379c: d0a00a15 stw r2,-32728(gp)
37a0: d0e00a17 ldw r3,-32728(gp)
37a4: e0bfff17 ldw r2,-4(fp)
37a8: 1887883a add r3,r3,r2
37ac: 00800074 movhi r2,1
37b0: 10a00004 addi r2,r2,-32768
37b4: 10c0062e bgeu r2,r3,37d0 <sbrk+0x74>
37b8: e0bffb17 ldw r2,-20(fp)
37bc: e0bffa15 stw r2,-24(fp)
37c0: e0bffa17 ldw r2,-24(fp)
37c4: 1001703a wrctl status,r2
37c8: 00bfffc4 movi r2,-1
37cc: 00000b06 br 37fc <sbrk+0xa0>
37d0: d0a00a17 ldw r2,-32728(gp)
37d4: e0bffd15 stw r2,-12(fp)
37d8: d0e00a17 ldw r3,-32728(gp)
37dc: e0bfff17 ldw r2,-4(fp)
37e0: 1885883a add r2,r3,r2
37e4: d0a00a15 stw r2,-32728(gp)
37e8: e0bffb17 ldw r2,-20(fp)
37ec: e0bffc15 stw r2,-16(fp)
37f0: e0bffc17 ldw r2,-16(fp)
37f4: 1001703a wrctl status,r2
37f8: e0bffd17 ldw r2,-12(fp)
37fc: e037883a mov sp,fp
3800: df000017 ldw fp,0(sp)
3804: dec00104 addi sp,sp,4
3808: f800283a ret
0000380c <alt_get_errno>:
380c: defffe04 addi sp,sp,-8
3810: dfc00115 stw ra,4(sp)
3814: df000015 stw fp,0(sp)
3818: d839883a mov fp,sp
381c: d0a00917 ldw r2,-32732(gp)
3820: 10000326 beq r2,zero,3830 <alt_get_errno+0x24>
3824: d0a00917 ldw r2,-32732(gp)
3828: 103ee83a callr r2
382c: 00000106 br 3834 <alt_get_errno+0x28>
3830: d0a01104 addi r2,gp,-32700
3834: e037883a mov sp,fp
3838: dfc00117 ldw ra,4(sp)
383c: df000017 ldw fp,0(sp)
3840: dec00204 addi sp,sp,8
3844: f800283a ret
00003848 <write>:
3848: defff904 addi sp,sp,-28
384c: dfc00615 stw ra,24(sp)
3850: df000515 stw fp,20(sp)
3854: df000504 addi fp,sp,20
3858: e13ffd15 stw r4,-12(fp)
385c: e17ffe15 stw r5,-8(fp)
3860: e1bfff15 stw r6,-4(fp)
3864: e0bffd17 ldw r2,-12(fp)
3868: 10000816 blt r2,zero,388c <write+0x44>
386c: 01400304 movi r5,12
3870: e13ffd17 ldw r4,-12(fp)
3874: 00030780 call 3078 <__mulsi3>
3878: 1007883a mov r3,r2
387c: 00800034 movhi r2,0
3880: 1097e804 addi r2,r2,24480
3884: 1885883a add r2,r3,r2
3888: 00000106 br 3890 <write+0x48>
388c: 0005883a mov r2,zero
3890: e0bffb15 stw r2,-20(fp)
3894: e0bffb17 ldw r2,-20(fp)
3898: 10002126 beq r2,zero,3920 <write+0xd8>
389c: e0bffb17 ldw r2,-20(fp)
38a0: 10800217 ldw r2,8(r2)
38a4: 108000cc andi r2,r2,3
38a8: 10001826 beq r2,zero,390c <write+0xc4>
38ac: e0bffb17 ldw r2,-20(fp)
38b0: 10800017 ldw r2,0(r2)
38b4: 10800617 ldw r2,24(r2)
38b8: 10001426 beq r2,zero,390c <write+0xc4>
38bc: e0bffb17 ldw r2,-20(fp)
38c0: 10800017 ldw r2,0(r2)
38c4: 10800617 ldw r2,24(r2)
38c8: e0ffff17 ldw r3,-4(fp)
38cc: 180d883a mov r6,r3
38d0: e17ffe17 ldw r5,-8(fp)
38d4: e13ffb17 ldw r4,-20(fp)
38d8: 103ee83a callr r2
38dc: e0bffc15 stw r2,-16(fp)
38e0: e0bffc17 ldw r2,-16(fp)
38e4: 1000070e bge r2,zero,3904 <write+0xbc>
38e8: 000380c0 call 380c <alt_get_errno>
38ec: 1007883a mov r3,r2
38f0: e0bffc17 ldw r2,-16(fp)
38f4: 0085c83a sub r2,zero,r2
38f8: 18800015 stw r2,0(r3)
38fc: 00bfffc4 movi r2,-1
3900: 00000c06 br 3934 <write+0xec>
3904: e0bffc17 ldw r2,-16(fp)
3908: 00000a06 br 3934 <write+0xec>
390c: 000380c0 call 380c <alt_get_errno>
3910: 1007883a mov r3,r2
3914: 00800344 movi r2,13
3918: 18800015 stw r2,0(r3)
391c: 00000406 br 3930 <write+0xe8>
3920: 000380c0 call 380c <alt_get_errno>
3924: 1007883a mov r3,r2
3928: 00801444 movi r2,81
392c: 18800015 stw r2,0(r3)
3930: 00bfffc4 movi r2,-1
3934: e037883a mov sp,fp
3938: dfc00117 ldw ra,4(sp)
393c: df000017 ldw fp,0(sp)
3940: dec00204 addi sp,sp,8
3944: f800283a ret
00003948 <alt_dev_reg>:
3948: defffd04 addi sp,sp,-12
394c: dfc00215 stw ra,8(sp)
3950: df000115 stw fp,4(sp)
3954: df000104 addi fp,sp,4
3958: e13fff15 stw r4,-4(fp)
395c: d1600604 addi r5,gp,-32744
3960: e13fff17 ldw r4,-4(fp)
3964: 00046d40 call 46d4 <alt_dev_llist_insert>
3968: e037883a mov sp,fp
396c: dfc00117 ldw ra,4(sp)
3970: df000017 ldw fp,0(sp)
3974: dec00204 addi sp,sp,8
3978: f800283a ret
0000397c <alt_irq_init>:
397c: defffd04 addi sp,sp,-12
3980: dfc00215 stw ra,8(sp)
3984: df000115 stw fp,4(sp)
3988: df000104 addi fp,sp,4
398c: e13fff15 stw r4,-4(fp)
3990: 00050600 call 5060 <altera_nios2_gen2_irq_init>
3994: 00800044 movi r2,1
3998: 1001703a wrctl status,r2
399c: 0001883a nop
39a0: e037883a mov sp,fp
39a4: dfc00117 ldw ra,4(sp)
39a8: df000017 ldw fp,0(sp)
39ac: dec00204 addi sp,sp,8
39b0: f800283a ret
000039b4 <alt_sys_init>:
39b4: defffe04 addi sp,sp,-8
39b8: dfc00115 stw ra,4(sp)
39bc: df000015 stw fp,0(sp)
39c0: d839883a mov fp,sp
39c4: 01c0fa04 movi r7,1000
39c8: 000d883a mov r6,zero
39cc: 000b883a mov r5,zero
39d0: 01240014 movui r4,36864
39d4: 00044f00 call 44f0 <alt_avalon_timer_sc_init>
39d8: 01800044 movi r6,1
39dc: 000b883a mov r5,zero
39e0: 01000034 movhi r4,0
39e4: 21185204 addi r4,r4,24904
39e8: 0003b740 call 3b74 <altera_avalon_jtag_uart_init>
39ec: 01000034 movhi r4,0
39f0: 21184804 addi r4,r4,24864
39f4: 00039480 call 3948 <alt_dev_reg>
39f8: 0001883a nop
39fc: e037883a mov sp,fp
3a00: dfc00117 ldw ra,4(sp)
3a04: df000017 ldw fp,0(sp)
3a08: dec00204 addi sp,sp,8
3a0c: f800283a ret
00003a10 <altera_avalon_jtag_uart_read_fd>:
3a10: defffa04 addi sp,sp,-24
3a14: dfc00515 stw ra,20(sp)
3a18: df000415 stw fp,16(sp)
3a1c: df000404 addi fp,sp,16
3a20: e13ffd15 stw r4,-12(fp)
3a24: e17ffe15 stw r5,-8(fp)
3a28: e1bfff15 stw r6,-4(fp)
3a2c: e0bffd17 ldw r2,-12(fp)
3a30: 10800017 ldw r2,0(r2)
3a34: e0bffc15 stw r2,-16(fp)
3a38: e0bffc17 ldw r2,-16(fp)
3a3c: 10c00a04 addi r3,r2,40
3a40: e0bffd17 ldw r2,-12(fp)
3a44: 10800217 ldw r2,8(r2)
3a48: 100f883a mov r7,r2
3a4c: e1bfff17 ldw r6,-4(fp)
3a50: e17ffe17 ldw r5,-8(fp)
3a54: 1809883a mov r4,r3
3a58: 00040380 call 4038 <altera_avalon_jtag_uart_read>
3a5c: e037883a mov sp,fp
3a60: dfc00117 ldw ra,4(sp)
3a64: df000017 ldw fp,0(sp)
3a68: dec00204 addi sp,sp,8
3a6c: f800283a ret
00003a70 <altera_avalon_jtag_uart_write_fd>:
3a70: defffa04 addi sp,sp,-24
3a74: dfc00515 stw ra,20(sp)
3a78: df000415 stw fp,16(sp)
3a7c: df000404 addi fp,sp,16
3a80: e13ffd15 stw r4,-12(fp)
3a84: e17ffe15 stw r5,-8(fp)
3a88: e1bfff15 stw r6,-4(fp)
3a8c: e0bffd17 ldw r2,-12(fp)
3a90: 10800017 ldw r2,0(r2)
3a94: e0bffc15 stw r2,-16(fp)
3a98: e0bffc17 ldw r2,-16(fp)
3a9c: 10c00a04 addi r3,r2,40
3aa0: e0bffd17 ldw r2,-12(fp)
3aa4: 10800217 ldw r2,8(r2)
3aa8: 100f883a mov r7,r2
3aac: e1bfff17 ldw r6,-4(fp)
3ab0: e17ffe17 ldw r5,-8(fp)
3ab4: 1809883a mov r4,r3
3ab8: 00042540 call 4254 <altera_avalon_jtag_uart_write>
3abc: e037883a mov sp,fp
3ac0: dfc00117 ldw ra,4(sp)
3ac4: df000017 ldw fp,0(sp)
3ac8: dec00204 addi sp,sp,8
3acc: f800283a ret
00003ad0 <altera_avalon_jtag_uart_close_fd>:
3ad0: defffc04 addi sp,sp,-16
3ad4: dfc00315 stw ra,12(sp)
3ad8: df000215 stw fp,8(sp)
3adc: df000204 addi fp,sp,8
3ae0: e13fff15 stw r4,-4(fp)
3ae4: e0bfff17 ldw r2,-4(fp)
3ae8: 10800017 ldw r2,0(r2)
3aec: e0bffe15 stw r2,-8(fp)
3af0: e0bffe17 ldw r2,-8(fp)
3af4: 10c00a04 addi r3,r2,40
3af8: e0bfff17 ldw r2,-4(fp)
3afc: 10800217 ldw r2,8(r2)
3b00: 100b883a mov r5,r2
3b04: 1809883a mov r4,r3
3b08: 0003ee00 call 3ee0 <altera_avalon_jtag_uart_close>
3b0c: e037883a mov sp,fp
3b10: dfc00117 ldw ra,4(sp)
3b14: df000017 ldw fp,0(sp)
3b18: dec00204 addi sp,sp,8
3b1c: f800283a ret
00003b20 <altera_avalon_jtag_uart_ioctl_fd>:
3b20: defffa04 addi sp,sp,-24
3b24: dfc00515 stw ra,20(sp)
3b28: df000415 stw fp,16(sp)
3b2c: df000404 addi fp,sp,16
3b30: e13ffd15 stw r4,-12(fp)
3b34: e17ffe15 stw r5,-8(fp)
3b38: e1bfff15 stw r6,-4(fp)
3b3c: e0bffd17 ldw r2,-12(fp)
3b40: 10800017 ldw r2,0(r2)
3b44: e0bffc15 stw r2,-16(fp)
3b48: e0bffc17 ldw r2,-16(fp)
3b4c: 10800a04 addi r2,r2,40
3b50: e1bfff17 ldw r6,-4(fp)
3b54: e17ffe17 ldw r5,-8(fp)
3b58: 1009883a mov r4,r2
3b5c: 0003f480 call 3f48 <altera_avalon_jtag_uart_ioctl>
3b60: e037883a mov sp,fp
3b64: dfc00117 ldw ra,4(sp)
3b68: df000017 ldw fp,0(sp)
3b6c: dec00204 addi sp,sp,8
3b70: f800283a ret
00003b74 <altera_avalon_jtag_uart_init>:
3b74: defffa04 addi sp,sp,-24
3b78: dfc00515 stw ra,20(sp)
3b7c: df000415 stw fp,16(sp)
3b80: df000404 addi fp,sp,16
3b84: e13ffd15 stw r4,-12(fp)
3b88: e17ffe15 stw r5,-8(fp)
3b8c: e1bfff15 stw r6,-4(fp)
3b90: e0bffd17 ldw r2,-12(fp)
3b94: 00c00044 movi r3,1
3b98: 10c00815 stw r3,32(r2)
3b9c: e0bffd17 ldw r2,-12(fp)
3ba0: 10800017 ldw r2,0(r2)
3ba4: 10800104 addi r2,r2,4
3ba8: 1007883a mov r3,r2
3bac: e0bffd17 ldw r2,-12(fp)
3bb0: 10800817 ldw r2,32(r2)
3bb4: 18800035 stwio r2,0(r3)
3bb8: e0bffe17 ldw r2,-8(fp)
3bbc: e0ffff17 ldw r3,-4(fp)
3bc0: d8000015 stw zero,0(sp)
3bc4: e1fffd17 ldw r7,-12(fp)
3bc8: 01800034 movhi r6,0
3bcc: 318f0d04 addi r6,r6,15412
3bd0: 180b883a mov r5,r3
3bd4: 1009883a mov r4,r2
3bd8: 00048380 call 4838 <alt_ic_isr_register>
3bdc: e0bffd17 ldw r2,-12(fp)
3be0: 10000915 stw zero,36(r2)
3be4: e0bffd17 ldw r2,-12(fp)
3be8: 10800204 addi r2,r2,8
3bec: d0e01617 ldw r3,-32680(gp)
3bf0: e1fffd17 ldw r7,-12(fp)
3bf4: 01800034 movhi r6,0
3bf8: 318f9004 addi r6,r6,15936
3bfc: 180b883a mov r5,r3
3c00: 1009883a mov r4,r2
3c04: 000456c0 call 456c <alt_alarm_start>
3c08: 1000040e bge r2,zero,3c1c <altera_avalon_jtag_uart_init+0xa8>
3c0c: e0fffd17 ldw r3,-12(fp)
3c10: 00a00034 movhi r2,32768
3c14: 10bfffc4 addi r2,r2,-1
3c18: 18800115 stw r2,4(r3)
3c1c: 0001883a nop
3c20: e037883a mov sp,fp
3c24: dfc00117 ldw ra,4(sp)
3c28: df000017 ldw fp,0(sp)
3c2c: dec00204 addi sp,sp,8
3c30: f800283a ret
00003c34 <altera_avalon_jtag_uart_irq>:
3c34: defff804 addi sp,sp,-32
3c38: df000715 stw fp,28(sp)
3c3c: df000704 addi fp,sp,28
3c40: e13fff15 stw r4,-4(fp)
3c44: e0bfff17 ldw r2,-4(fp)
3c48: e0bffb15 stw r2,-20(fp)
3c4c: e0bffb17 ldw r2,-20(fp)
3c50: 10800017 ldw r2,0(r2)
3c54: e0bffc15 stw r2,-16(fp)
3c58: e0bffc17 ldw r2,-16(fp)
3c5c: 10800104 addi r2,r2,4
3c60: 10800037 ldwio r2,0(r2)
3c64: e0bffd15 stw r2,-12(fp)
3c68: e0bffd17 ldw r2,-12(fp)
3c6c: 1080c00c andi r2,r2,768
3c70: 10006d26 beq r2,zero,3e28 <altera_avalon_jtag_uart_irq+0x1f4>
3c74: e0bffd17 ldw r2,-12(fp)
3c78: 1080400c andi r2,r2,256
3c7c: 10003526 beq r2,zero,3d54 <altera_avalon_jtag_uart_irq+0x120>
3c80: 00800074 movhi r2,1
3c84: e0bff915 stw r2,-28(fp)
3c88: e0bffb17 ldw r2,-20(fp)
3c8c: 10800a17 ldw r2,40(r2)
3c90: 10800044 addi r2,r2,1
3c94: 1081ffcc andi r2,r2,2047
3c98: e0bffe15 stw r2,-8(fp)
3c9c: e0bffb17 ldw r2,-20(fp)
3ca0: 10c00b17 ldw r3,44(r2)
3ca4: e0bffe17 ldw r2,-8(fp)
3ca8: 18801526 beq r3,r2,3d00 <altera_avalon_jtag_uart_irq+0xcc>
3cac: e0bffc17 ldw r2,-16(fp)
3cb0: 10800037 ldwio r2,0(r2)
3cb4: e0bff915 stw r2,-28(fp)
3cb8: e0bff917 ldw r2,-28(fp)
3cbc: 10a0000c andi r2,r2,32768
3cc0: 10001126 beq r2,zero,3d08 <altera_avalon_jtag_uart_irq+0xd4>
3cc4: e0bffb17 ldw r2,-20(fp)
3cc8: 10800a17 ldw r2,40(r2)
3ccc: e0fff917 ldw r3,-28(fp)
3cd0: 1809883a mov r4,r3
3cd4: e0fffb17 ldw r3,-20(fp)
3cd8: 1885883a add r2,r3,r2
3cdc: 10800e04 addi r2,r2,56
3ce0: 11000005 stb r4,0(r2)
3ce4: e0bffb17 ldw r2,-20(fp)
3ce8: 10800a17 ldw r2,40(r2)
3cec: 10800044 addi r2,r2,1
3cf0: 10c1ffcc andi r3,r2,2047
3cf4: e0bffb17 ldw r2,-20(fp)
3cf8: 10c00a15 stw r3,40(r2)
3cfc: 003fe206 br 3c88 <altera_avalon_jtag_uart_irq+0x54>
3d00: 0001883a nop
3d04: 00000106 br 3d0c <altera_avalon_jtag_uart_irq+0xd8>
3d08: 0001883a nop
3d0c: e0bff917 ldw r2,-28(fp)
3d10: 10bfffec andhi r2,r2,65535
3d14: 10000f26 beq r2,zero,3d54 <altera_avalon_jtag_uart_irq+0x120>
3d18: e0bffb17 ldw r2,-20(fp)
3d1c: 10c00817 ldw r3,32(r2)
3d20: 00bfff84 movi r2,-2
3d24: 1886703a and r3,r3,r2
3d28: e0bffb17 ldw r2,-20(fp)
3d2c: 10c00815 stw r3,32(r2)
3d30: e0bffc17 ldw r2,-16(fp)
3d34: 10800104 addi r2,r2,4
3d38: 1007883a mov r3,r2
3d3c: e0bffb17 ldw r2,-20(fp)
3d40: 10800817 ldw r2,32(r2)
3d44: 18800035 stwio r2,0(r3)
3d48: e0bffc17 ldw r2,-16(fp)
3d4c: 10800104 addi r2,r2,4
3d50: 10800037 ldwio r2,0(r2)
3d54: e0bffd17 ldw r2,-12(fp)
3d58: 1080800c andi r2,r2,512
3d5c: 103fbe26 beq r2,zero,3c58 <altera_avalon_jtag_uart_irq+0x24>
3d60: e0bffd17 ldw r2,-12(fp)
3d64: 1004d43a srli r2,r2,16
3d68: e0bffa15 stw r2,-24(fp)
3d6c: 00001406 br 3dc0 <altera_avalon_jtag_uart_irq+0x18c>
3d70: e0bffc17 ldw r2,-16(fp)
3d74: e0fffb17 ldw r3,-20(fp)
3d78: 18c00d17 ldw r3,52(r3)
3d7c: e13ffb17 ldw r4,-20(fp)
3d80: 20c7883a add r3,r4,r3
3d84: 18c20e04 addi r3,r3,2104
3d88: 18c00003 ldbu r3,0(r3)
3d8c: 18c03fcc andi r3,r3,255
3d90: 18c0201c xori r3,r3,128
3d94: 18ffe004 addi r3,r3,-128
3d98: 10c00035 stwio r3,0(r2)
3d9c: e0bffb17 ldw r2,-20(fp)
3da0: 10800d17 ldw r2,52(r2)
3da4: 10800044 addi r2,r2,1
3da8: 10c1ffcc andi r3,r2,2047
3dac: e0bffb17 ldw r2,-20(fp)
3db0: 10c00d15 stw r3,52(r2)
3db4: e0bffa17 ldw r2,-24(fp)
3db8: 10bfffc4 addi r2,r2,-1
3dbc: e0bffa15 stw r2,-24(fp)
3dc0: e0bffa17 ldw r2,-24(fp)
3dc4: 10000526 beq r2,zero,3ddc <altera_avalon_jtag_uart_irq+0x1a8>
3dc8: e0bffb17 ldw r2,-20(fp)
3dcc: 10c00d17 ldw r3,52(r2)
3dd0: e0bffb17 ldw r2,-20(fp)
3dd4: 10800c17 ldw r2,48(r2)
3dd8: 18bfe51e bne r3,r2,3d70 <altera_avalon_jtag_uart_irq+0x13c>
3ddc: e0bffa17 ldw r2,-24(fp)
3de0: 103f9d26 beq r2,zero,3c58 <altera_avalon_jtag_uart_irq+0x24>
3de4: e0bffb17 ldw r2,-20(fp)
3de8: 10c00817 ldw r3,32(r2)
3dec: 00bfff44 movi r2,-3
3df0: 1886703a and r3,r3,r2
3df4: e0bffb17 ldw r2,-20(fp)
3df8: 10c00815 stw r3,32(r2)
3dfc: e0bffb17 ldw r2,-20(fp)
3e00: 10800017 ldw r2,0(r2)
3e04: 10800104 addi r2,r2,4
3e08: 1007883a mov r3,r2
3e0c: e0bffb17 ldw r2,-20(fp)
3e10: 10800817 ldw r2,32(r2)
3e14: 18800035 stwio r2,0(r3)
3e18: e0bffc17 ldw r2,-16(fp)
3e1c: 10800104 addi r2,r2,4
3e20: 10800037 ldwio r2,0(r2)
3e24: 003f8c06 br 3c58 <altera_avalon_jtag_uart_irq+0x24>
3e28: 0001883a nop
3e2c: 0001883a nop
3e30: e037883a mov sp,fp
3e34: df000017 ldw fp,0(sp)
3e38: dec00104 addi sp,sp,4
3e3c: f800283a ret
00003e40 <altera_avalon_jtag_uart_timeout>:
3e40: defff804 addi sp,sp,-32
3e44: df000715 stw fp,28(sp)
3e48: df000704 addi fp,sp,28
3e4c: e13ffb15 stw r4,-20(fp)
3e50: e0bffb17 ldw r2,-20(fp)
3e54: e0bff915 stw r2,-28(fp)
3e58: e0bff917 ldw r2,-28(fp)
3e5c: 10800017 ldw r2,0(r2)
3e60: 10800104 addi r2,r2,4
3e64: 10800037 ldwio r2,0(r2)
3e68: e0bffa15 stw r2,-24(fp)
3e6c: e0bffa17 ldw r2,-24(fp)
3e70: 1081000c andi r2,r2,1024
3e74: 10000b26 beq r2,zero,3ea4 <altera_avalon_jtag_uart_timeout+0x64>
3e78: e0bff917 ldw r2,-28(fp)
3e7c: 10800017 ldw r2,0(r2)
3e80: 10800104 addi r2,r2,4
3e84: 1007883a mov r3,r2
3e88: e0bff917 ldw r2,-28(fp)
3e8c: 10800817 ldw r2,32(r2)
3e90: 10810014 ori r2,r2,1024
3e94: 18800035 stwio r2,0(r3)
3e98: e0bff917 ldw r2,-28(fp)
3e9c: 10000915 stw zero,36(r2)
3ea0: 00000a06 br 3ecc <altera_avalon_jtag_uart_timeout+0x8c>
3ea4: e0bff917 ldw r2,-28(fp)
3ea8: 10c00917 ldw r3,36(r2)
3eac: 00a00034 movhi r2,32768
3eb0: 10bfff04 addi r2,r2,-4
3eb4: 10c00536 bltu r2,r3,3ecc <altera_avalon_jtag_uart_timeout+0x8c>
3eb8: e0bff917 ldw r2,-28(fp)
3ebc: 10800917 ldw r2,36(r2)
3ec0: 10c00044 addi r3,r2,1
3ec4: e0bff917 ldw r2,-28(fp)
3ec8: 10c00915 stw r3,36(r2)
3ecc: d0a01617 ldw r2,-32680(gp)
3ed0: e037883a mov sp,fp
3ed4: df000017 ldw fp,0(sp)
3ed8: dec00104 addi sp,sp,4
3edc: f800283a ret
00003ee0 <altera_avalon_jtag_uart_close>:
3ee0: defffd04 addi sp,sp,-12
3ee4: df000215 stw fp,8(sp)
3ee8: df000204 addi fp,sp,8
3eec: e13ffe15 stw r4,-8(fp)
3ef0: e17fff15 stw r5,-4(fp)
3ef4: 00000506 br 3f0c <altera_avalon_jtag_uart_close+0x2c>
3ef8: e0bfff17 ldw r2,-4(fp)
3efc: 1090000c andi r2,r2,16384
3f00: 10000226 beq r2,zero,3f0c <altera_avalon_jtag_uart_close+0x2c>
3f04: 00bffd44 movi r2,-11
3f08: 00000b06 br 3f38 <altera_avalon_jtag_uart_close+0x58>
3f0c: e0bffe17 ldw r2,-8(fp)
3f10: 10c00d17 ldw r3,52(r2)
3f14: e0bffe17 ldw r2,-8(fp)
3f18: 10800c17 ldw r2,48(r2)
3f1c: 18800526 beq r3,r2,3f34 <altera_avalon_jtag_uart_close+0x54>
3f20: e0bffe17 ldw r2,-8(fp)
3f24: 10c00917 ldw r3,36(r2)
3f28: e0bffe17 ldw r2,-8(fp)
3f2c: 10800117 ldw r2,4(r2)
3f30: 18bff136 bltu r3,r2,3ef8 <altera_avalon_jtag_uart_close+0x18>
3f34: 0005883a mov r2,zero
3f38: e037883a mov sp,fp
3f3c: df000017 ldw fp,0(sp)
3f40: dec00104 addi sp,sp,4
3f44: f800283a ret
00003f48 <altera_avalon_jtag_uart_ioctl>:
3f48: defffa04 addi sp,sp,-24
3f4c: df000515 stw fp,20(sp)
3f50: df000504 addi fp,sp,20
3f54: e13ffd15 stw r4,-12(fp)
3f58: e17ffe15 stw r5,-8(fp)
3f5c: e1bfff15 stw r6,-4(fp)
3f60: 00bff9c4 movi r2,-25
3f64: e0bffb15 stw r2,-20(fp)
3f68: e0bffe17 ldw r2,-8(fp)
3f6c: 10da8060 cmpeqi r3,r2,27137
3f70: 1800031e bne r3,zero,3f80 <altera_avalon_jtag_uart_ioctl+0x38>
3f74: 109a80a0 cmpeqi r2,r2,27138
3f78: 1000181e bne r2,zero,3fdc <altera_avalon_jtag_uart_ioctl+0x94>
3f7c: 00002906 br 4024 <altera_avalon_jtag_uart_ioctl+0xdc>
3f80: e0bffd17 ldw r2,-12(fp)
3f84: 10c00117 ldw r3,4(r2)
3f88: 00a00034 movhi r2,32768
3f8c: 10bfffc4 addi r2,r2,-1
3f90: 18802126 beq r3,r2,4018 <altera_avalon_jtag_uart_ioctl+0xd0>
3f94: e0bfff17 ldw r2,-4(fp)
3f98: 10800017 ldw r2,0(r2)
3f9c: e0bffc15 stw r2,-16(fp)
3fa0: e0bffc17 ldw r2,-16(fp)
3fa4: 10800090 cmplti r2,r2,2
3fa8: 1000061e bne r2,zero,3fc4 <altera_avalon_jtag_uart_ioctl+0x7c>
3fac: e0fffc17 ldw r3,-16(fp)
3fb0: 00a00034 movhi r2,32768
3fb4: 10bfffc4 addi r2,r2,-1
3fb8: 18800226 beq r3,r2,3fc4 <altera_avalon_jtag_uart_ioctl+0x7c>
3fbc: e0bffc17 ldw r2,-16(fp)
3fc0: 00000206 br 3fcc <altera_avalon_jtag_uart_ioctl+0x84>
3fc4: 00a00034 movhi r2,32768
3fc8: 10bfff84 addi r2,r2,-2
3fcc: e0fffd17 ldw r3,-12(fp)
3fd0: 18800115 stw r2,4(r3)
3fd4: e03ffb15 stw zero,-20(fp)
3fd8: 00000f06 br 4018 <altera_avalon_jtag_uart_ioctl+0xd0>
3fdc: e0bffd17 ldw r2,-12(fp)
3fe0: 10c00117 ldw r3,4(r2)
3fe4: 00a00034 movhi r2,32768
3fe8: 10bfffc4 addi r2,r2,-1
3fec: 18800c26 beq r3,r2,4020 <altera_avalon_jtag_uart_ioctl+0xd8>
3ff0: e0bffd17 ldw r2,-12(fp)
3ff4: 10c00917 ldw r3,36(r2)
3ff8: e0bffd17 ldw r2,-12(fp)
3ffc: 10800117 ldw r2,4(r2)
4000: 1885803a cmpltu r2,r3,r2
4004: 10c03fcc andi r3,r2,255
4008: e0bfff17 ldw r2,-4(fp)
400c: 10c00015 stw r3,0(r2)
4010: e03ffb15 stw zero,-20(fp)
4014: 00000206 br 4020 <altera_avalon_jtag_uart_ioctl+0xd8>
4018: 0001883a nop
401c: 00000106 br 4024 <altera_avalon_jtag_uart_ioctl+0xdc>
4020: 0001883a nop
4024: e0bffb17 ldw r2,-20(fp)
4028: e037883a mov sp,fp
402c: df000017 ldw fp,0(sp)
4030: dec00104 addi sp,sp,4
4034: f800283a ret
00004038 <altera_avalon_jtag_uart_read>:
4038: defff304 addi sp,sp,-52
403c: dfc00c15 stw ra,48(sp)
4040: df000b15 stw fp,44(sp)
4044: df000b04 addi fp,sp,44
4048: e13ffc15 stw r4,-16(fp)
404c: e17ffd15 stw r5,-12(fp)
4050: e1bffe15 stw r6,-8(fp)
4054: e1ffff15 stw r7,-4(fp)
4058: e0bffd17 ldw r2,-12(fp)
405c: e0bff515 stw r2,-44(fp)
4060: 00004706 br 4180 <altera_avalon_jtag_uart_read+0x148>
4064: e0bffc17 ldw r2,-16(fp)
4068: 10800a17 ldw r2,40(r2)
406c: e0bff715 stw r2,-36(fp)
4070: e0bffc17 ldw r2,-16(fp)
4074: 10800b17 ldw r2,44(r2)
4078: e0bff815 stw r2,-32(fp)
407c: e0fff717 ldw r3,-36(fp)
4080: e0bff817 ldw r2,-32(fp)
4084: 18800536 bltu r3,r2,409c <altera_avalon_jtag_uart_read+0x64>
4088: e0fff717 ldw r3,-36(fp)
408c: e0bff817 ldw r2,-32(fp)
4090: 1885c83a sub r2,r3,r2
4094: e0bff615 stw r2,-40(fp)
4098: 00000406 br 40ac <altera_avalon_jtag_uart_read+0x74>
409c: 00c20004 movi r3,2048
40a0: e0bff817 ldw r2,-32(fp)
40a4: 1885c83a sub r2,r3,r2
40a8: e0bff615 stw r2,-40(fp)
40ac: e0bff617 ldw r2,-40(fp)
40b0: 10001e26 beq r2,zero,412c <altera_avalon_jtag_uart_read+0xf4>
40b4: e0fffe17 ldw r3,-8(fp)
40b8: e0bff617 ldw r2,-40(fp)
40bc: 1880022e bgeu r3,r2,40c8 <altera_avalon_jtag_uart_read+0x90>
40c0: e0bffe17 ldw r2,-8(fp)
40c4: e0bff615 stw r2,-40(fp)
40c8: e0bffc17 ldw r2,-16(fp)
40cc: 10c00e04 addi r3,r2,56
40d0: e0bff817 ldw r2,-32(fp)
40d4: 1885883a add r2,r3,r2
40d8: e1bff617 ldw r6,-40(fp)
40dc: 100b883a mov r5,r2
40e0: e13ff517 ldw r4,-44(fp)
40e4: 00016f00 call 16f0 <memcpy>
40e8: e0fff517 ldw r3,-44(fp)
40ec: e0bff617 ldw r2,-40(fp)
40f0: 1885883a add r2,r3,r2
40f4: e0bff515 stw r2,-44(fp)
40f8: e0fffe17 ldw r3,-8(fp)
40fc: e0bff617 ldw r2,-40(fp)
4100: 1885c83a sub r2,r3,r2
4104: e0bffe15 stw r2,-8(fp)
4108: e0fff817 ldw r3,-32(fp)
410c: e0bff617 ldw r2,-40(fp)
4110: 1885883a add r2,r3,r2
4114: 10c1ffcc andi r3,r2,2047
4118: e0bffc17 ldw r2,-16(fp)
411c: 10c00b15 stw r3,44(r2)
4120: e0bffe17 ldw r2,-8(fp)
4124: 00bfcf16 blt zero,r2,4064 <altera_avalon_jtag_uart_read+0x2c>
4128: 00000106 br 4130 <altera_avalon_jtag_uart_read+0xf8>
412c: 0001883a nop
4130: e0fff517 ldw r3,-44(fp)
4134: e0bffd17 ldw r2,-12(fp)
4138: 1880141e bne r3,r2,418c <altera_avalon_jtag_uart_read+0x154>
413c: e0bfff17 ldw r2,-4(fp)
4140: 1090000c andi r2,r2,16384
4144: 1000131e bne r2,zero,4194 <altera_avalon_jtag_uart_read+0x15c>
4148: 0001883a nop
414c: e0bffc17 ldw r2,-16(fp)
4150: 10c00a17 ldw r3,40(r2)
4154: e0bff717 ldw r2,-36(fp)
4158: 1880051e bne r3,r2,4170 <altera_avalon_jtag_uart_read+0x138>
415c: e0bffc17 ldw r2,-16(fp)
4160: 10c00917 ldw r3,36(r2)
4164: e0bffc17 ldw r2,-16(fp)
4168: 10800117 ldw r2,4(r2)
416c: 18bff736 bltu r3,r2,414c <altera_avalon_jtag_uart_read+0x114>
4170: e0bffc17 ldw r2,-16(fp)
4174: 10c00a17 ldw r3,40(r2)
4178: e0bff717 ldw r2,-36(fp)
417c: 18800726 beq r3,r2,419c <altera_avalon_jtag_uart_read+0x164>
4180: e0bffe17 ldw r2,-8(fp)
4184: 00bfb716 blt zero,r2,4064 <altera_avalon_jtag_uart_read+0x2c>
4188: 00000506 br 41a0 <altera_avalon_jtag_uart_read+0x168>
418c: 0001883a nop
4190: 00000306 br 41a0 <altera_avalon_jtag_uart_read+0x168>
4194: 0001883a nop
4198: 00000106 br 41a0 <altera_avalon_jtag_uart_read+0x168>
419c: 0001883a nop
41a0: e0fff517 ldw r3,-44(fp)
41a4: e0bffd17 ldw r2,-12(fp)
41a8: 18801826 beq r3,r2,420c <altera_avalon_jtag_uart_read+0x1d4>
41ac: 0005303a rdctl r2,status
41b0: e0bffb15 stw r2,-20(fp)
41b4: e0fffb17 ldw r3,-20(fp)
41b8: 00bfff84 movi r2,-2
41bc: 1884703a and r2,r3,r2
41c0: 1001703a wrctl status,r2
41c4: e0bffb17 ldw r2,-20(fp)
41c8: e0bffa15 stw r2,-24(fp)
41cc: e0bffc17 ldw r2,-16(fp)
41d0: 10800817 ldw r2,32(r2)
41d4: 10c00054 ori r3,r2,1
41d8: e0bffc17 ldw r2,-16(fp)
41dc: 10c00815 stw r3,32(r2)
41e0: e0bffc17 ldw r2,-16(fp)
41e4: 10800017 ldw r2,0(r2)
41e8: 10800104 addi r2,r2,4
41ec: 1007883a mov r3,r2
41f0: e0bffc17 ldw r2,-16(fp)
41f4: 10800817 ldw r2,32(r2)
41f8: 18800035 stwio r2,0(r3)
41fc: e0bffa17 ldw r2,-24(fp)
4200: e0bff915 stw r2,-28(fp)
4204: e0bff917 ldw r2,-28(fp)
4208: 1001703a wrctl status,r2
420c: e0fff517 ldw r3,-44(fp)
4210: e0bffd17 ldw r2,-12(fp)
4214: 18800426 beq r3,r2,4228 <altera_avalon_jtag_uart_read+0x1f0>
4218: e0fff517 ldw r3,-44(fp)
421c: e0bffd17 ldw r2,-12(fp)
4220: 1885c83a sub r2,r3,r2
4224: 00000606 br 4240 <altera_avalon_jtag_uart_read+0x208>
4228: e0bfff17 ldw r2,-4(fp)
422c: 1090000c andi r2,r2,16384
4230: 10000226 beq r2,zero,423c <altera_avalon_jtag_uart_read+0x204>
4234: 00bffd44 movi r2,-11
4238: 00000106 br 4240 <altera_avalon_jtag_uart_read+0x208>
423c: 00bffec4 movi r2,-5
4240: e037883a mov sp,fp
4244: dfc00117 ldw ra,4(sp)
4248: df000017 ldw fp,0(sp)
424c: dec00204 addi sp,sp,8
4250: f800283a ret
00004254 <altera_avalon_jtag_uart_write>:
4254: defff304 addi sp,sp,-52
4258: dfc00c15 stw ra,48(sp)
425c: df000b15 stw fp,44(sp)
4260: df000b04 addi fp,sp,44
4264: e13ffc15 stw r4,-16(fp)
4268: e17ffd15 stw r5,-12(fp)
426c: e1bffe15 stw r6,-8(fp)
4270: e1ffff15 stw r7,-4(fp)
4274: e03ff515 stw zero,-44(fp)
4278: e0bffd17 ldw r2,-12(fp)
427c: e0bff715 stw r2,-36(fp)
4280: 00003706 br 4360 <altera_avalon_jtag_uart_write+0x10c>
4284: e0bffc17 ldw r2,-16(fp)
4288: 10800c17 ldw r2,48(r2)
428c: e0bff915 stw r2,-28(fp)
4290: e0bffc17 ldw r2,-16(fp)
4294: 10800d17 ldw r2,52(r2)
4298: e0bff515 stw r2,-44(fp)
429c: e0fff917 ldw r3,-28(fp)
42a0: e0bff517 ldw r2,-44(fp)
42a4: 1880062e bgeu r3,r2,42c0 <altera_avalon_jtag_uart_write+0x6c>
42a8: e0fff517 ldw r3,-44(fp)
42ac: e0bff917 ldw r2,-28(fp)
42b0: 1885c83a sub r2,r3,r2
42b4: 10bfffc4 addi r2,r2,-1
42b8: e0bff615 stw r2,-40(fp)
42bc: 00000b06 br 42ec <altera_avalon_jtag_uart_write+0x98>
42c0: e0bff517 ldw r2,-44(fp)
42c4: 10000526 beq r2,zero,42dc <altera_avalon_jtag_uart_write+0x88>
42c8: 00c20004 movi r3,2048
42cc: e0bff917 ldw r2,-28(fp)
42d0: 1885c83a sub r2,r3,r2
42d4: e0bff615 stw r2,-40(fp)
42d8: 00000406 br 42ec <altera_avalon_jtag_uart_write+0x98>
42dc: 00c1ffc4 movi r3,2047
42e0: e0bff917 ldw r2,-28(fp)
42e4: 1885c83a sub r2,r3,r2
42e8: e0bff615 stw r2,-40(fp)
42ec: e0bff617 ldw r2,-40(fp)
42f0: 10001e26 beq r2,zero,436c <altera_avalon_jtag_uart_write+0x118>
42f4: e0fffe17 ldw r3,-8(fp)
42f8: e0bff617 ldw r2,-40(fp)
42fc: 1880022e bgeu r3,r2,4308 <altera_avalon_jtag_uart_write+0xb4>
4300: e0bffe17 ldw r2,-8(fp)
4304: e0bff615 stw r2,-40(fp)
4308: e0bffc17 ldw r2,-16(fp)
430c: 10c20e04 addi r3,r2,2104
4310: e0bff917 ldw r2,-28(fp)
4314: 1885883a add r2,r3,r2
4318: e1bff617 ldw r6,-40(fp)
431c: e17ffd17 ldw r5,-12(fp)
4320: 1009883a mov r4,r2
4324: 00016f00 call 16f0 <memcpy>
4328: e0fffd17 ldw r3,-12(fp)
432c: e0bff617 ldw r2,-40(fp)
4330: 1885883a add r2,r3,r2
4334: e0bffd15 stw r2,-12(fp)
4338: e0fffe17 ldw r3,-8(fp)
433c: e0bff617 ldw r2,-40(fp)
4340: 1885c83a sub r2,r3,r2
4344: e0bffe15 stw r2,-8(fp)
4348: e0fff917 ldw r3,-28(fp)
434c: e0bff617 ldw r2,-40(fp)
4350: 1885883a add r2,r3,r2
4354: 10c1ffcc andi r3,r2,2047
4358: e0bffc17 ldw r2,-16(fp)
435c: 10c00c15 stw r3,48(r2)
4360: e0bffe17 ldw r2,-8(fp)
4364: 00bfc716 blt zero,r2,4284 <altera_avalon_jtag_uart_write+0x30>
4368: 00000106 br 4370 <altera_avalon_jtag_uart_write+0x11c>
436c: 0001883a nop
4370: 0005303a rdctl r2,status
4374: e0bffb15 stw r2,-20(fp)
4378: e0fffb17 ldw r3,-20(fp)
437c: 00bfff84 movi r2,-2
4380: 1884703a and r2,r3,r2
4384: 1001703a wrctl status,r2
4388: e0bffb17 ldw r2,-20(fp)
438c: e0bffa15 stw r2,-24(fp)
4390: e0bffc17 ldw r2,-16(fp)
4394: 10800817 ldw r2,32(r2)
4398: 10c00094 ori r3,r2,2
439c: e0bffc17 ldw r2,-16(fp)
43a0: 10c00815 stw r3,32(r2)
43a4: e0bffc17 ldw r2,-16(fp)
43a8: 10800017 ldw r2,0(r2)
43ac: 10800104 addi r2,r2,4
43b0: 1007883a mov r3,r2
43b4: e0bffc17 ldw r2,-16(fp)
43b8: 10800817 ldw r2,32(r2)
43bc: 18800035 stwio r2,0(r3)
43c0: e0bffa17 ldw r2,-24(fp)
43c4: e0bff815 stw r2,-32(fp)
43c8: e0bff817 ldw r2,-32(fp)
43cc: 1001703a wrctl status,r2
43d0: e0bffe17 ldw r2,-8(fp)
43d4: 0080100e bge zero,r2,4418 <altera_avalon_jtag_uart_write+0x1c4>
43d8: e0bfff17 ldw r2,-4(fp)
43dc: 1090000c andi r2,r2,16384
43e0: 1000101e bne r2,zero,4424 <altera_avalon_jtag_uart_write+0x1d0>
43e4: 0001883a nop
43e8: e0bffc17 ldw r2,-16(fp)
43ec: 10c00d17 ldw r3,52(r2)
43f0: e0bff517 ldw r2,-44(fp)
43f4: 1880051e bne r3,r2,440c <altera_avalon_jtag_uart_write+0x1b8>
43f8: e0bffc17 ldw r2,-16(fp)
43fc: 10c00917 ldw r3,36(r2)
4400: e0bffc17 ldw r2,-16(fp)
4404: 10800117 ldw r2,4(r2)
4408: 18bff736 bltu r3,r2,43e8 <altera_avalon_jtag_uart_write+0x194>
440c: e0bffc17 ldw r2,-16(fp)
4410: 10800917 ldw r2,36(r2)
4414: 1000051e bne r2,zero,442c <altera_avalon_jtag_uart_write+0x1d8>
4418: e0bffe17 ldw r2,-8(fp)
441c: 00bfd016 blt zero,r2,4360 <altera_avalon_jtag_uart_write+0x10c>
4420: 00000306 br 4430 <altera_avalon_jtag_uart_write+0x1dc>
4424: 0001883a nop
4428: 00000106 br 4430 <altera_avalon_jtag_uart_write+0x1dc>
442c: 0001883a nop
4430: e0fffd17 ldw r3,-12(fp)
4434: e0bff717 ldw r2,-36(fp)
4438: 18800426 beq r3,r2,444c <altera_avalon_jtag_uart_write+0x1f8>
443c: e0fffd17 ldw r3,-12(fp)
4440: e0bff717 ldw r2,-36(fp)
4444: 1885c83a sub r2,r3,r2
4448: 00000606 br 4464 <altera_avalon_jtag_uart_write+0x210>
444c: e0bfff17 ldw r2,-4(fp)
4450: 1090000c andi r2,r2,16384
4454: 10000226 beq r2,zero,4460 <altera_avalon_jtag_uart_write+0x20c>
4458: 00bffd44 movi r2,-11
445c: 00000106 br 4464 <altera_avalon_jtag_uart_write+0x210>
4460: 00bffec4 movi r2,-5
4464: e037883a mov sp,fp
4468: dfc00117 ldw ra,4(sp)
446c: df000017 ldw fp,0(sp)
4470: dec00204 addi sp,sp,8
4474: f800283a ret
00004478 <alt_avalon_timer_sc_irq>:
4478: defffa04 addi sp,sp,-24
447c: dfc00515 stw ra,20(sp)
4480: df000415 stw fp,16(sp)
4484: df000404 addi fp,sp,16
4488: e13fff15 stw r4,-4(fp)
448c: 0007883a mov r3,zero
4490: e0bfff17 ldw r2,-4(fp)
4494: 10c00035 stwio r3,0(r2)
4498: e0bfff17 ldw r2,-4(fp)
449c: 10800104 addi r2,r2,4
44a0: 10800037 ldwio r2,0(r2)
44a4: 0005303a rdctl r2,status
44a8: e0bffd15 stw r2,-12(fp)
44ac: e0fffd17 ldw r3,-12(fp)
44b0: 00bfff84 movi r2,-2
44b4: 1884703a and r2,r3,r2
44b8: 1001703a wrctl status,r2
44bc: e0bffd17 ldw r2,-12(fp)
44c0: e0bffc15 stw r2,-16(fp)
44c4: 0004f580 call 4f58 <alt_tick>
44c8: e0bffc17 ldw r2,-16(fp)
44cc: e0bffe15 stw r2,-8(fp)
44d0: e0bffe17 ldw r2,-8(fp)
44d4: 1001703a wrctl status,r2
44d8: 0001883a nop
44dc: e037883a mov sp,fp
44e0: dfc00117 ldw ra,4(sp)
44e4: df000017 ldw fp,0(sp)
44e8: dec00204 addi sp,sp,8
44ec: f800283a ret
000044f0 <alt_avalon_timer_sc_init>:
44f0: defff804 addi sp,sp,-32
44f4: dfc00715 stw ra,28(sp)
44f8: df000615 stw fp,24(sp)
44fc: df000604 addi fp,sp,24
4500: e13ffc15 stw r4,-16(fp)
4504: e17ffd15 stw r5,-12(fp)
4508: e1bffe15 stw r6,-8(fp)
450c: e1ffff15 stw r7,-4(fp)
4510: e0bfff17 ldw r2,-4(fp)
4514: e0bffb15 stw r2,-20(fp)
4518: d0a01617 ldw r2,-32680(gp)
451c: 1000021e bne r2,zero,4528 <alt_avalon_timer_sc_init+0x38>
4520: e0bffb17 ldw r2,-20(fp)
4524: d0a01615 stw r2,-32680(gp)
4528: e0bffc17 ldw r2,-16(fp)
452c: 10800104 addi r2,r2,4
4530: 00c001c4 movi r3,7
4534: 10c00035 stwio r3,0(r2)
4538: d8000015 stw zero,0(sp)
453c: e1fffc17 ldw r7,-16(fp)
4540: 01800034 movhi r6,0
4544: 31911e04 addi r6,r6,17528
4548: e17ffe17 ldw r5,-8(fp)
454c: e13ffd17 ldw r4,-12(fp)
4550: 00048380 call 4838 <alt_ic_isr_register>
4554: 0001883a nop
4558: e037883a mov sp,fp
455c: dfc00117 ldw ra,4(sp)
4560: df000017 ldw fp,0(sp)
4564: dec00204 addi sp,sp,8
4568: f800283a ret
0000456c <alt_alarm_start>:
456c: defff504 addi sp,sp,-44
4570: df000a15 stw fp,40(sp)
4574: df000a04 addi fp,sp,40
4578: e13ffc15 stw r4,-16(fp)
457c: e17ffd15 stw r5,-12(fp)
4580: e1bffe15 stw r6,-8(fp)
4584: e1ffff15 stw r7,-4(fp)
4588: e03ff615 stw zero,-40(fp)
458c: d0a01617 ldw r2,-32680(gp)
4590: 10003c26 beq r2,zero,4684 <alt_alarm_start+0x118>
4594: e0bffc17 ldw r2,-16(fp)
4598: 10003826 beq r2,zero,467c <alt_alarm_start+0x110>
459c: e0bffc17 ldw r2,-16(fp)
45a0: e0fffe17 ldw r3,-8(fp)
45a4: 10c00315 stw r3,12(r2)
45a8: e0bffc17 ldw r2,-16(fp)
45ac: e0ffff17 ldw r3,-4(fp)
45b0: 10c00515 stw r3,20(r2)
45b4: 0005303a rdctl r2,status
45b8: e0bff915 stw r2,-28(fp)
45bc: e0fff917 ldw r3,-28(fp)
45c0: 00bfff84 movi r2,-2
45c4: 1884703a and r2,r3,r2
45c8: 1001703a wrctl status,r2
45cc: e0bff917 ldw r2,-28(fp)
45d0: e0bff815 stw r2,-32(fp)
45d4: d0a01717 ldw r2,-32676(gp)
45d8: e0bff615 stw r2,-40(fp)
45dc: e0fffd17 ldw r3,-12(fp)
45e0: e0bff617 ldw r2,-40(fp)
45e4: 1885883a add r2,r3,r2
45e8: 10c00044 addi r3,r2,1
45ec: e0bffc17 ldw r2,-16(fp)
45f0: 10c00215 stw r3,8(r2)
45f4: e0bffc17 ldw r2,-16(fp)
45f8: 10c00217 ldw r3,8(r2)
45fc: e0bff617 ldw r2,-40(fp)
4600: 1880042e bgeu r3,r2,4614 <alt_alarm_start+0xa8>
4604: e0bffc17 ldw r2,-16(fp)
4608: 00c00044 movi r3,1
460c: 10c00405 stb r3,16(r2)
4610: 00000206 br 461c <alt_alarm_start+0xb0>
4614: e0bffc17 ldw r2,-16(fp)
4618: 10000405 stb zero,16(r2)
461c: e0bffc17 ldw r2,-16(fp)
4620: d0e00c04 addi r3,gp,-32720
4624: e0fffa15 stw r3,-24(fp)
4628: e0bffb15 stw r2,-20(fp)
462c: e0bffb17 ldw r2,-20(fp)
4630: e0fffa17 ldw r3,-24(fp)
4634: 10c00115 stw r3,4(r2)
4638: e0bffa17 ldw r2,-24(fp)
463c: 10c00017 ldw r3,0(r2)
4640: e0bffb17 ldw r2,-20(fp)
4644: 10c00015 stw r3,0(r2)
4648: e0bffa17 ldw r2,-24(fp)
464c: 10800017 ldw r2,0(r2)
4650: e0fffb17 ldw r3,-20(fp)
4654: 10c00115 stw r3,4(r2)
4658: e0bffa17 ldw r2,-24(fp)
465c: e0fffb17 ldw r3,-20(fp)
4660: 10c00015 stw r3,0(r2)
4664: e0bff817 ldw r2,-32(fp)
4668: e0bff715 stw r2,-36(fp)
466c: e0bff717 ldw r2,-36(fp)
4670: 1001703a wrctl status,r2
4674: 0005883a mov r2,zero
4678: 00000306 br 4688 <alt_alarm_start+0x11c>
467c: 00bffa84 movi r2,-22
4680: 00000106 br 4688 <alt_alarm_start+0x11c>
4684: 00bfde84 movi r2,-134
4688: e037883a mov sp,fp
468c: df000017 ldw fp,0(sp)
4690: dec00104 addi sp,sp,4
4694: f800283a ret
00004698 <alt_get_errno>:
4698: defffe04 addi sp,sp,-8
469c: dfc00115 stw ra,4(sp)
46a0: df000015 stw fp,0(sp)
46a4: d839883a mov fp,sp
46a8: d0a00917 ldw r2,-32732(gp)
46ac: 10000326 beq r2,zero,46bc <alt_get_errno+0x24>
46b0: d0a00917 ldw r2,-32732(gp)
46b4: 103ee83a callr r2
46b8: 00000106 br 46c0 <alt_get_errno+0x28>
46bc: d0a01104 addi r2,gp,-32700
46c0: e037883a mov sp,fp
46c4: dfc00117 ldw ra,4(sp)
46c8: df000017 ldw fp,0(sp)
46cc: dec00204 addi sp,sp,8
46d0: f800283a ret
000046d4 <alt_dev_llist_insert>:
46d4: defffa04 addi sp,sp,-24
46d8: dfc00515 stw ra,20(sp)
46dc: df000415 stw fp,16(sp)
46e0: df000404 addi fp,sp,16
46e4: e13ffe15 stw r4,-8(fp)
46e8: e17fff15 stw r5,-4(fp)
46ec: e0bffe17 ldw r2,-8(fp)
46f0: 10000326 beq r2,zero,4700 <alt_dev_llist_insert+0x2c>
46f4: e0bffe17 ldw r2,-8(fp)
46f8: 10800217 ldw r2,8(r2)
46fc: 1000061e bne r2,zero,4718 <alt_dev_llist_insert+0x44>
4700: 00046980 call 4698 <alt_get_errno>
4704: 1007883a mov r3,r2
4708: 00800584 movi r2,22
470c: 18800015 stw r2,0(r3)
4710: 00bffa84 movi r2,-22
4714: 00001306 br 4764 <alt_dev_llist_insert+0x90>
4718: e0bffe17 ldw r2,-8(fp)
471c: e0ffff17 ldw r3,-4(fp)
4720: e0fffc15 stw r3,-16(fp)
4724: e0bffd15 stw r2,-12(fp)
4728: e0bffd17 ldw r2,-12(fp)
472c: e0fffc17 ldw r3,-16(fp)
4730: 10c00115 stw r3,4(r2)
4734: e0bffc17 ldw r2,-16(fp)
4738: 10c00017 ldw r3,0(r2)
473c: e0bffd17 ldw r2,-12(fp)
4740: 10c00015 stw r3,0(r2)
4744: e0bffc17 ldw r2,-16(fp)
4748: 10800017 ldw r2,0(r2)
474c: e0fffd17 ldw r3,-12(fp)
4750: 10c00115 stw r3,4(r2)
4754: e0bffc17 ldw r2,-16(fp)
4758: e0fffd17 ldw r3,-12(fp)
475c: 10c00015 stw r3,0(r2)
4760: 0005883a mov r2,zero
4764: e037883a mov sp,fp
4768: dfc00117 ldw ra,4(sp)
476c: df000017 ldw fp,0(sp)
4770: dec00204 addi sp,sp,8
4774: f800283a ret
00004778 <_do_ctors>:
4778: defffd04 addi sp,sp,-12
477c: dfc00215 stw ra,8(sp)
4780: df000115 stw fp,4(sp)
4784: df000104 addi fp,sp,4
4788: 00800034 movhi r2,0
478c: 1095c304 addi r2,r2,22284
4790: e0bfff15 stw r2,-4(fp)
4794: 00000606 br 47b0 <_do_ctors+0x38>
4798: e0bfff17 ldw r2,-4(fp)
479c: 10800017 ldw r2,0(r2)
47a0: 103ee83a callr r2
47a4: e0bfff17 ldw r2,-4(fp)
47a8: 10bfff04 addi r2,r2,-4
47ac: e0bfff15 stw r2,-4(fp)
47b0: e0ffff17 ldw r3,-4(fp)
47b4: 00800034 movhi r2,0
47b8: 1095c404 addi r2,r2,22288
47bc: 18bff62e bgeu r3,r2,4798 <_do_ctors+0x20>
47c0: 0001883a nop
47c4: e037883a mov sp,fp
47c8: dfc00117 ldw ra,4(sp)
47cc: df000017 ldw fp,0(sp)
47d0: dec00204 addi sp,sp,8
47d4: f800283a ret
000047d8 <_do_dtors>:
47d8: defffd04 addi sp,sp,-12
47dc: dfc00215 stw ra,8(sp)
47e0: df000115 stw fp,4(sp)
47e4: df000104 addi fp,sp,4
47e8: 00800034 movhi r2,0
47ec: 1095c304 addi r2,r2,22284
47f0: e0bfff15 stw r2,-4(fp)
47f4: 00000606 br 4810 <_do_dtors+0x38>
47f8: e0bfff17 ldw r2,-4(fp)
47fc: 10800017 ldw r2,0(r2)
4800: 103ee83a callr r2
4804: e0bfff17 ldw r2,-4(fp)
4808: 10bfff04 addi r2,r2,-4
480c: e0bfff15 stw r2,-4(fp)
4810: e0ffff17 ldw r3,-4(fp)
4814: 00800034 movhi r2,0
4818: 1095c404 addi r2,r2,22288
481c: 18bff62e bgeu r3,r2,47f8 <_do_dtors+0x20>
4820: 0001883a nop
4824: e037883a mov sp,fp
4828: dfc00117 ldw ra,4(sp)
482c: df000017 ldw fp,0(sp)
4830: dec00204 addi sp,sp,8
4834: f800283a ret
00004838 <alt_ic_isr_register>:
4838: defff904 addi sp,sp,-28
483c: dfc00615 stw ra,24(sp)
4840: df000515 stw fp,20(sp)
4844: df000504 addi fp,sp,20
4848: e13ffc15 stw r4,-16(fp)
484c: e17ffd15 stw r5,-12(fp)
4850: e1bffe15 stw r6,-8(fp)
4854: e1ffff15 stw r7,-4(fp)
4858: e0800217 ldw r2,8(fp)
485c: d8800015 stw r2,0(sp)
4860: e1ffff17 ldw r7,-4(fp)
4864: e1bffe17 ldw r6,-8(fp)
4868: e17ffd17 ldw r5,-12(fp)
486c: e13ffc17 ldw r4,-16(fp)
4870: 00049e80 call 49e8 <alt_iic_isr_register>
4874: e037883a mov sp,fp
4878: dfc00117 ldw ra,4(sp)
487c: df000017 ldw fp,0(sp)
4880: dec00204 addi sp,sp,8
4884: f800283a ret
00004888 <alt_ic_irq_enable>:
4888: defff904 addi sp,sp,-28
488c: df000615 stw fp,24(sp)
4890: df000604 addi fp,sp,24
4894: e13ffe15 stw r4,-8(fp)
4898: e17fff15 stw r5,-4(fp)
489c: e0bfff17 ldw r2,-4(fp)
48a0: e0bffa15 stw r2,-24(fp)
48a4: 0005303a rdctl r2,status
48a8: e0bffb15 stw r2,-20(fp)
48ac: e0fffb17 ldw r3,-20(fp)
48b0: 00bfff84 movi r2,-2
48b4: 1884703a and r2,r3,r2
48b8: 1001703a wrctl status,r2
48bc: e0bffb17 ldw r2,-20(fp)
48c0: e0bffc15 stw r2,-16(fp)
48c4: 00c00044 movi r3,1
48c8: e0bffa17 ldw r2,-24(fp)
48cc: 1884983a sll r2,r3,r2
48d0: 1007883a mov r3,r2
48d4: d0a01517 ldw r2,-32684(gp)
48d8: 1884b03a or r2,r3,r2
48dc: d0a01515 stw r2,-32684(gp)
48e0: d0a01517 ldw r2,-32684(gp)
48e4: 100170fa wrctl ienable,r2
48e8: e0bffc17 ldw r2,-16(fp)
48ec: e0bffd15 stw r2,-12(fp)
48f0: e0bffd17 ldw r2,-12(fp)
48f4: 1001703a wrctl status,r2
48f8: 0005883a mov r2,zero
48fc: 0001883a nop
4900: e037883a mov sp,fp
4904: df000017 ldw fp,0(sp)
4908: dec00104 addi sp,sp,4
490c: f800283a ret
00004910 <alt_ic_irq_disable>:
4910: defff904 addi sp,sp,-28
4914: df000615 stw fp,24(sp)
4918: df000604 addi fp,sp,24
491c: e13ffe15 stw r4,-8(fp)
4920: e17fff15 stw r5,-4(fp)
4924: e0bfff17 ldw r2,-4(fp)
4928: e0bffa15 stw r2,-24(fp)
492c: 0005303a rdctl r2,status
4930: e0bffb15 stw r2,-20(fp)
4934: e0fffb17 ldw r3,-20(fp)
4938: 00bfff84 movi r2,-2
493c: 1884703a and r2,r3,r2
4940: 1001703a wrctl status,r2
4944: e0bffb17 ldw r2,-20(fp)
4948: e0bffc15 stw r2,-16(fp)
494c: 00c00044 movi r3,1
4950: e0bffa17 ldw r2,-24(fp)
4954: 1884983a sll r2,r3,r2
4958: 0084303a nor r2,zero,r2
495c: 1007883a mov r3,r2
4960: d0a01517 ldw r2,-32684(gp)
4964: 1884703a and r2,r3,r2
4968: d0a01515 stw r2,-32684(gp)
496c: d0a01517 ldw r2,-32684(gp)
4970: 100170fa wrctl ienable,r2
4974: e0bffc17 ldw r2,-16(fp)
4978: e0bffd15 stw r2,-12(fp)
497c: e0bffd17 ldw r2,-12(fp)
4980: 1001703a wrctl status,r2
4984: 0005883a mov r2,zero
4988: 0001883a nop
498c: e037883a mov sp,fp
4990: df000017 ldw fp,0(sp)
4994: dec00104 addi sp,sp,4
4998: f800283a ret
0000499c <alt_ic_irq_enabled>:
499c: defffc04 addi sp,sp,-16
49a0: df000315 stw fp,12(sp)
49a4: df000304 addi fp,sp,12
49a8: e13ffe15 stw r4,-8(fp)
49ac: e17fff15 stw r5,-4(fp)
49b0: 000530fa rdctl r2,ienable
49b4: e0bffd15 stw r2,-12(fp)
49b8: 00c00044 movi r3,1
49bc: e0bfff17 ldw r2,-4(fp)
49c0: 1884983a sll r2,r3,r2
49c4: 1007883a mov r3,r2
49c8: e0bffd17 ldw r2,-12(fp)
49cc: 1884703a and r2,r3,r2
49d0: 1004c03a cmpne r2,r2,zero
49d4: 10803fcc andi r2,r2,255
49d8: e037883a mov sp,fp
49dc: df000017 ldw fp,0(sp)
49e0: dec00104 addi sp,sp,4
49e4: f800283a ret
000049e8 <alt_iic_isr_register>:
49e8: defff504 addi sp,sp,-44
49ec: dfc00a15 stw ra,40(sp)
49f0: df000915 stw fp,36(sp)
49f4: df000904 addi fp,sp,36
49f8: e13ffc15 stw r4,-16(fp)
49fc: e17ffd15 stw r5,-12(fp)
4a00: e1bffe15 stw r6,-8(fp)
4a04: e1ffff15 stw r7,-4(fp)
4a08: 00bffa84 movi r2,-22
4a0c: e0bff715 stw r2,-36(fp)
4a10: e0bffd17 ldw r2,-12(fp)
4a14: e0bff815 stw r2,-32(fp)
4a18: e0bff817 ldw r2,-32(fp)
4a1c: 10800808 cmpgei r2,r2,32
4a20: 1000271e bne r2,zero,4ac0 <alt_iic_isr_register+0xd8>
4a24: 0005303a rdctl r2,status
4a28: e0bffb15 stw r2,-20(fp)
4a2c: e0fffb17 ldw r3,-20(fp)
4a30: 00bfff84 movi r2,-2
4a34: 1884703a and r2,r3,r2
4a38: 1001703a wrctl status,r2
4a3c: e0bffb17 ldw r2,-20(fp)
4a40: e0bffa15 stw r2,-24(fp)
4a44: 00800034 movhi r2,0
4a48: 109c8304 addi r2,r2,29196
4a4c: e0fff817 ldw r3,-32(fp)
4a50: 180690fa slli r3,r3,3
4a54: 10c5883a add r2,r2,r3
4a58: e0fffe17 ldw r3,-8(fp)
4a5c: 10c00015 stw r3,0(r2)
4a60: 00800034 movhi r2,0
4a64: 109c8304 addi r2,r2,29196
4a68: e0fff817 ldw r3,-32(fp)
4a6c: 180690fa slli r3,r3,3
4a70: 10c5883a add r2,r2,r3
4a74: 10800104 addi r2,r2,4
4a78: e0ffff17 ldw r3,-4(fp)
4a7c: 10c00015 stw r3,0(r2)
4a80: e0bffe17 ldw r2,-8(fp)
4a84: 10000526 beq r2,zero,4a9c <alt_iic_isr_register+0xb4>
4a88: e0bff817 ldw r2,-32(fp)
4a8c: 100b883a mov r5,r2
4a90: e13ffc17 ldw r4,-16(fp)
4a94: 00048880 call 4888 <alt_ic_irq_enable>
4a98: 00000406 br 4aac <alt_iic_isr_register+0xc4>
4a9c: e0bff817 ldw r2,-32(fp)
4aa0: 100b883a mov r5,r2
4aa4: e13ffc17 ldw r4,-16(fp)
4aa8: 00049100 call 4910 <alt_ic_irq_disable>
4aac: e0bff715 stw r2,-36(fp)
4ab0: e0bffa17 ldw r2,-24(fp)
4ab4: e0bff915 stw r2,-28(fp)
4ab8: e0bff917 ldw r2,-28(fp)
4abc: 1001703a wrctl status,r2
4ac0: e0bff717 ldw r2,-36(fp)
4ac4: e037883a mov sp,fp
4ac8: dfc00117 ldw ra,4(sp)
4acc: df000017 ldw fp,0(sp)
4ad0: dec00204 addi sp,sp,8
4ad4: f800283a ret
00004ad8 <alt_open_fd>:
4ad8: defff804 addi sp,sp,-32
4adc: dfc00715 stw ra,28(sp)
4ae0: df000615 stw fp,24(sp)
4ae4: dc000515 stw r16,20(sp)
4ae8: df000604 addi fp,sp,24
4aec: e13ffb15 stw r4,-20(fp)
4af0: e17ffc15 stw r5,-16(fp)
4af4: e1bffd15 stw r6,-12(fp)
4af8: e1fffe15 stw r7,-8(fp)
4afc: e1bffe17 ldw r6,-8(fp)
4b00: e17ffd17 ldw r5,-12(fp)
4b04: e13ffc17 ldw r4,-16(fp)
4b08: 0004d600 call 4d60 <open>
4b0c: e0bffa15 stw r2,-24(fp)
4b10: e0bffa17 ldw r2,-24(fp)
4b14: 10002216 blt r2,zero,4ba0 <alt_open_fd+0xc8>
4b18: 04000034 movhi r16,0
4b1c: 8417e804 addi r16,r16,24480
4b20: e0bffa17 ldw r2,-24(fp)
4b24: 01400304 movi r5,12
4b28: 1009883a mov r4,r2
4b2c: 00030780 call 3078 <__mulsi3>
4b30: 8085883a add r2,r16,r2
4b34: 10c00017 ldw r3,0(r2)
4b38: e0bffb17 ldw r2,-20(fp)
4b3c: 10c00015 stw r3,0(r2)
4b40: 04000034 movhi r16,0
4b44: 8417e804 addi r16,r16,24480
4b48: e0bffa17 ldw r2,-24(fp)
4b4c: 01400304 movi r5,12
4b50: 1009883a mov r4,r2
4b54: 00030780 call 3078 <__mulsi3>
4b58: 8085883a add r2,r16,r2
4b5c: 10800104 addi r2,r2,4
4b60: 10c00017 ldw r3,0(r2)
4b64: e0bffb17 ldw r2,-20(fp)
4b68: 10c00115 stw r3,4(r2)
4b6c: 04000034 movhi r16,0
4b70: 8417e804 addi r16,r16,24480
4b74: e0bffa17 ldw r2,-24(fp)
4b78: 01400304 movi r5,12
4b7c: 1009883a mov r4,r2
4b80: 00030780 call 3078 <__mulsi3>
4b84: 8085883a add r2,r16,r2
4b88: 10800204 addi r2,r2,8
4b8c: 10c00017 ldw r3,0(r2)
4b90: e0bffb17 ldw r2,-20(fp)
4b94: 10c00215 stw r3,8(r2)
4b98: e13ffa17 ldw r4,-24(fp)
4b9c: 00036d80 call 36d8 <alt_release_fd>
4ba0: 0001883a nop
4ba4: e6ffff04 addi sp,fp,-4
4ba8: dfc00217 ldw ra,8(sp)
4bac: df000117 ldw fp,4(sp)
4bb0: dc000017 ldw r16,0(sp)
4bb4: dec00304 addi sp,sp,12
4bb8: f800283a ret
00004bbc <alt_io_redirect>:
4bbc: defffb04 addi sp,sp,-20
4bc0: dfc00415 stw ra,16(sp)
4bc4: df000315 stw fp,12(sp)
4bc8: df000304 addi fp,sp,12
4bcc: e13ffd15 stw r4,-12(fp)
4bd0: e17ffe15 stw r5,-8(fp)
4bd4: e1bfff15 stw r6,-4(fp)
4bd8: 01c07fc4 movi r7,511
4bdc: 01800044 movi r6,1
4be0: e17ffd17 ldw r5,-12(fp)
4be4: 01000034 movhi r4,0
4be8: 2117eb04 addi r4,r4,24492
4bec: 0004ad80 call 4ad8 <alt_open_fd>
4bf0: 01c07fc4 movi r7,511
4bf4: 000d883a mov r6,zero
4bf8: e17ffe17 ldw r5,-8(fp)
4bfc: 01000034 movhi r4,0
4c00: 2117e804 addi r4,r4,24480
4c04: 0004ad80 call 4ad8 <alt_open_fd>
4c08: 01c07fc4 movi r7,511
4c0c: 01800044 movi r6,1
4c10: e17fff17 ldw r5,-4(fp)
4c14: 01000034 movhi r4,0
4c18: 2117ee04 addi r4,r4,24504
4c1c: 0004ad80 call 4ad8 <alt_open_fd>
4c20: 0001883a nop
4c24: e037883a mov sp,fp
4c28: dfc00117 ldw ra,4(sp)
4c2c: df000017 ldw fp,0(sp)
4c30: dec00204 addi sp,sp,8
4c34: f800283a ret
00004c38 <alt_get_errno>:
4c38: defffe04 addi sp,sp,-8
4c3c: dfc00115 stw ra,4(sp)
4c40: df000015 stw fp,0(sp)
4c44: d839883a mov fp,sp
4c48: d0a00917 ldw r2,-32732(gp)
4c4c: 10000326 beq r2,zero,4c5c <alt_get_errno+0x24>
4c50: d0a00917 ldw r2,-32732(gp)
4c54: 103ee83a callr r2
4c58: 00000106 br 4c60 <alt_get_errno+0x28>
4c5c: d0a01104 addi r2,gp,-32700
4c60: e037883a mov sp,fp
4c64: dfc00117 ldw ra,4(sp)
4c68: df000017 ldw fp,0(sp)
4c6c: dec00204 addi sp,sp,8
4c70: f800283a ret
00004c74 <alt_file_locked>:
4c74: defffb04 addi sp,sp,-20
4c78: dfc00415 stw ra,16(sp)
4c7c: df000315 stw fp,12(sp)
4c80: dc000215 stw r16,8(sp)
4c84: df000304 addi fp,sp,12
4c88: e13ffe15 stw r4,-8(fp)
4c8c: e0bffe17 ldw r2,-8(fp)
4c90: 10800217 ldw r2,8(r2)
4c94: 10d00034 orhi r3,r2,16384
4c98: e0bffe17 ldw r2,-8(fp)
4c9c: 10c00215 stw r3,8(r2)
4ca0: e03ffd15 stw zero,-12(fp)
4ca4: 00002306 br 4d34 <alt_file_locked+0xc0>
4ca8: 04000034 movhi r16,0
4cac: 8417e804 addi r16,r16,24480
4cb0: e0bffd17 ldw r2,-12(fp)
4cb4: 01400304 movi r5,12
4cb8: 1009883a mov r4,r2
4cbc: 00030780 call 3078 <__mulsi3>
4cc0: 8085883a add r2,r16,r2
4cc4: 10c00017 ldw r3,0(r2)
4cc8: e0bffe17 ldw r2,-8(fp)
4ccc: 10800017 ldw r2,0(r2)
4cd0: 1880151e bne r3,r2,4d28 <alt_file_locked+0xb4>
4cd4: 04000034 movhi r16,0
4cd8: 8417e804 addi r16,r16,24480
4cdc: e0bffd17 ldw r2,-12(fp)
4ce0: 01400304 movi r5,12
4ce4: 1009883a mov r4,r2
4ce8: 00030780 call 3078 <__mulsi3>
4cec: 8085883a add r2,r16,r2
4cf0: 10800204 addi r2,r2,8
4cf4: 10800017 ldw r2,0(r2)
4cf8: 10000b0e bge r2,zero,4d28 <alt_file_locked+0xb4>
4cfc: 01400304 movi r5,12
4d00: e13ffd17 ldw r4,-12(fp)
4d04: 00030780 call 3078 <__mulsi3>
4d08: 1007883a mov r3,r2
4d0c: 00800034 movhi r2,0
4d10: 1097e804 addi r2,r2,24480
4d14: 1887883a add r3,r3,r2
4d18: e0bffe17 ldw r2,-8(fp)
4d1c: 18800226 beq r3,r2,4d28 <alt_file_locked+0xb4>
4d20: 00bffcc4 movi r2,-13
4d24: 00000806 br 4d48 <alt_file_locked+0xd4>
4d28: e0bffd17 ldw r2,-12(fp)
4d2c: 10800044 addi r2,r2,1
4d30: e0bffd15 stw r2,-12(fp)
4d34: d0a00817 ldw r2,-32736(gp)
4d38: 1007883a mov r3,r2
4d3c: e0bffd17 ldw r2,-12(fp)
4d40: 18bfd92e bgeu r3,r2,4ca8 <alt_file_locked+0x34>
4d44: 0005883a mov r2,zero
4d48: e6ffff04 addi sp,fp,-4
4d4c: dfc00217 ldw ra,8(sp)
4d50: df000117 ldw fp,4(sp)
4d54: dc000017 ldw r16,0(sp)
4d58: dec00304 addi sp,sp,12
4d5c: f800283a ret
00004d60 <open>:
4d60: defff604 addi sp,sp,-40
4d64: dfc00915 stw ra,36(sp)
4d68: df000815 stw fp,32(sp)
4d6c: df000804 addi fp,sp,32
4d70: e13ffd15 stw r4,-12(fp)
4d74: e17ffe15 stw r5,-8(fp)
4d78: e1bfff15 stw r6,-4(fp)
4d7c: 00bfffc4 movi r2,-1
4d80: e0bff915 stw r2,-28(fp)
4d84: 00bffb44 movi r2,-19
4d88: e0bffa15 stw r2,-24(fp)
4d8c: e03ffb15 stw zero,-20(fp)
4d90: d1600604 addi r5,gp,-32744
4d94: e13ffd17 ldw r4,-12(fp)
4d98: 00050840 call 5084 <alt_find_dev>
4d9c: e0bff815 stw r2,-32(fp)
4da0: e0bff817 ldw r2,-32(fp)
4da4: 1000051e bne r2,zero,4dbc <open+0x5c>
4da8: e13ffd17 ldw r4,-12(fp)
4dac: 00051140 call 5114 <alt_find_file>
4db0: e0bff815 stw r2,-32(fp)
4db4: 00800044 movi r2,1
4db8: e0bffb15 stw r2,-20(fp)
4dbc: e0bff817 ldw r2,-32(fp)
4dc0: 10002b26 beq r2,zero,4e70 <open+0x110>
4dc4: e13ff817 ldw r4,-32(fp)
4dc8: 000521c0 call 521c <alt_get_fd>
4dcc: e0bff915 stw r2,-28(fp)
4dd0: e0bff917 ldw r2,-28(fp)
4dd4: 1000030e bge r2,zero,4de4 <open+0x84>
4dd8: e0bff917 ldw r2,-28(fp)
4ddc: e0bffa15 stw r2,-24(fp)
4de0: 00002506 br 4e78 <open+0x118>
4de4: 01400304 movi r5,12
4de8: e13ff917 ldw r4,-28(fp)
4dec: 00030780 call 3078 <__mulsi3>
4df0: 1007883a mov r3,r2
4df4: 00800034 movhi r2,0
4df8: 1097e804 addi r2,r2,24480
4dfc: 1885883a add r2,r3,r2
4e00: e0bffc15 stw r2,-16(fp)
4e04: e0fffe17 ldw r3,-8(fp)
4e08: 00900034 movhi r2,16384
4e0c: 10bfffc4 addi r2,r2,-1
4e10: 1886703a and r3,r3,r2
4e14: e0bffc17 ldw r2,-16(fp)
4e18: 10c00215 stw r3,8(r2)
4e1c: e0bffb17 ldw r2,-20(fp)
4e20: 1000051e bne r2,zero,4e38 <open+0xd8>
4e24: e13ffc17 ldw r4,-16(fp)
4e28: 0004c740 call 4c74 <alt_file_locked>
4e2c: e0bffa15 stw r2,-24(fp)
4e30: e0bffa17 ldw r2,-24(fp)
4e34: 10001016 blt r2,zero,4e78 <open+0x118>
4e38: e0bff817 ldw r2,-32(fp)
4e3c: 10800317 ldw r2,12(r2)
4e40: 10000826 beq r2,zero,4e64 <open+0x104>
4e44: e0bff817 ldw r2,-32(fp)
4e48: 10800317 ldw r2,12(r2)
4e4c: e1ffff17 ldw r7,-4(fp)
4e50: e1bffe17 ldw r6,-8(fp)
4e54: e17ffd17 ldw r5,-12(fp)
4e58: e13ffc17 ldw r4,-16(fp)
4e5c: 103ee83a callr r2
4e60: 00000106 br 4e68 <open+0x108>
4e64: 0005883a mov r2,zero
4e68: e0bffa15 stw r2,-24(fp)
4e6c: 00000206 br 4e78 <open+0x118>
4e70: 00bffb44 movi r2,-19
4e74: e0bffa15 stw r2,-24(fp)
4e78: e0bffa17 ldw r2,-24(fp)
4e7c: 1000090e bge r2,zero,4ea4 <open+0x144>
4e80: e13ff917 ldw r4,-28(fp)
4e84: 00036d80 call 36d8 <alt_release_fd>
4e88: 0004c380 call 4c38 <alt_get_errno>
4e8c: 1007883a mov r3,r2
4e90: e0bffa17 ldw r2,-24(fp)
4e94: 0085c83a sub r2,zero,r2
4e98: 18800015 stw r2,0(r3)
4e9c: 00bfffc4 movi r2,-1
4ea0: 00000106 br 4ea8 <open+0x148>
4ea4: e0bff917 ldw r2,-28(fp)
4ea8: e037883a mov sp,fp
4eac: dfc00117 ldw ra,4(sp)
4eb0: df000017 ldw fp,0(sp)
4eb4: dec00204 addi sp,sp,8
4eb8: f800283a ret
00004ebc <alt_alarm_stop>:
4ebc: defffa04 addi sp,sp,-24
4ec0: df000515 stw fp,20(sp)
4ec4: df000504 addi fp,sp,20
4ec8: e13fff15 stw r4,-4(fp)
4ecc: 0005303a rdctl r2,status
4ed0: e0bffc15 stw r2,-16(fp)
4ed4: e0fffc17 ldw r3,-16(fp)
4ed8: 00bfff84 movi r2,-2
4edc: 1884703a and r2,r3,r2
4ee0: 1001703a wrctl status,r2
4ee4: e0bffc17 ldw r2,-16(fp)
4ee8: e0bffb15 stw r2,-20(fp)
4eec: e0bfff17 ldw r2,-4(fp)
4ef0: e0bffd15 stw r2,-12(fp)
4ef4: e0bffd17 ldw r2,-12(fp)
4ef8: 10800017 ldw r2,0(r2)
4efc: e0fffd17 ldw r3,-12(fp)
4f00: 18c00117 ldw r3,4(r3)
4f04: 10c00115 stw r3,4(r2)
4f08: e0bffd17 ldw r2,-12(fp)
4f0c: 10800117 ldw r2,4(r2)
4f10: e0fffd17 ldw r3,-12(fp)
4f14: 18c00017 ldw r3,0(r3)
4f18: 10c00015 stw r3,0(r2)
4f1c: e0bffd17 ldw r2,-12(fp)
4f20: e0fffd17 ldw r3,-12(fp)
4f24: 10c00115 stw r3,4(r2)
4f28: e0bffd17 ldw r2,-12(fp)
4f2c: e0fffd17 ldw r3,-12(fp)
4f30: 10c00015 stw r3,0(r2)
4f34: e0bffb17 ldw r2,-20(fp)
4f38: e0bffe15 stw r2,-8(fp)
4f3c: e0bffe17 ldw r2,-8(fp)
4f40: 1001703a wrctl status,r2
4f44: 0001883a nop
4f48: e037883a mov sp,fp
4f4c: df000017 ldw fp,0(sp)
4f50: dec00104 addi sp,sp,4
4f54: f800283a ret
00004f58 <alt_tick>:
4f58: defffb04 addi sp,sp,-20
4f5c: dfc00415 stw ra,16(sp)
4f60: df000315 stw fp,12(sp)
4f64: df000304 addi fp,sp,12
4f68: d0a00c17 ldw r2,-32720(gp)
4f6c: e0bffd15 stw r2,-12(fp)
4f70: d0a01717 ldw r2,-32676(gp)
4f74: 10800044 addi r2,r2,1
4f78: d0a01715 stw r2,-32676(gp)
4f7c: 00002e06 br 5038 <alt_tick+0xe0>
4f80: e0bffd17 ldw r2,-12(fp)
4f84: 10800017 ldw r2,0(r2)
4f88: e0bffe15 stw r2,-8(fp)
4f8c: e0bffd17 ldw r2,-12(fp)
4f90: 10800403 ldbu r2,16(r2)
4f94: 10803fcc andi r2,r2,255
4f98: 10000426 beq r2,zero,4fac <alt_tick+0x54>
4f9c: d0a01717 ldw r2,-32676(gp)
4fa0: 1000021e bne r2,zero,4fac <alt_tick+0x54>
4fa4: e0bffd17 ldw r2,-12(fp)
4fa8: 10000405 stb zero,16(r2)
4fac: e0bffd17 ldw r2,-12(fp)
4fb0: 10800217 ldw r2,8(r2)
4fb4: d0e01717 ldw r3,-32676(gp)
4fb8: 18801d36 bltu r3,r2,5030 <alt_tick+0xd8>
4fbc: e0bffd17 ldw r2,-12(fp)
4fc0: 10800403 ldbu r2,16(r2)
4fc4: 10803fcc andi r2,r2,255
4fc8: 1000191e bne r2,zero,5030 <alt_tick+0xd8>
4fcc: e0bffd17 ldw r2,-12(fp)
4fd0: 10800317 ldw r2,12(r2)
4fd4: e0fffd17 ldw r3,-12(fp)
4fd8: 18c00517 ldw r3,20(r3)
4fdc: 1809883a mov r4,r3
4fe0: 103ee83a callr r2
4fe4: e0bfff15 stw r2,-4(fp)
4fe8: e0bfff17 ldw r2,-4(fp)
4fec: 1000031e bne r2,zero,4ffc <alt_tick+0xa4>
4ff0: e13ffd17 ldw r4,-12(fp)
4ff4: 0004ebc0 call 4ebc <alt_alarm_stop>
4ff8: 00000d06 br 5030 <alt_tick+0xd8>
4ffc: e0bffd17 ldw r2,-12(fp)
5000: 10c00217 ldw r3,8(r2)
5004: e0bfff17 ldw r2,-4(fp)
5008: 1887883a add r3,r3,r2
500c: e0bffd17 ldw r2,-12(fp)
5010: 10c00215 stw r3,8(r2)
5014: e0bffd17 ldw r2,-12(fp)
5018: 10c00217 ldw r3,8(r2)
501c: d0a01717 ldw r2,-32676(gp)
5020: 1880032e bgeu r3,r2,5030 <alt_tick+0xd8>
5024: e0bffd17 ldw r2,-12(fp)
5028: 00c00044 movi r3,1
502c: 10c00405 stb r3,16(r2)
5030: e0bffe17 ldw r2,-8(fp)
5034: e0bffd15 stw r2,-12(fp)
5038: e0fffd17 ldw r3,-12(fp)
503c: d0a00c04 addi r2,gp,-32720
5040: 18bfcf1e bne r3,r2,4f80 <alt_tick+0x28>
5044: 0001883a nop
5048: 0001883a nop
504c: e037883a mov sp,fp
5050: dfc00117 ldw ra,4(sp)
5054: df000017 ldw fp,0(sp)
5058: dec00204 addi sp,sp,8
505c: f800283a ret
00005060 <altera_nios2_gen2_irq_init>:
5060: deffff04 addi sp,sp,-4
5064: df000015 stw fp,0(sp)
5068: d839883a mov fp,sp
506c: 000170fa wrctl ienable,zero
5070: 0001883a nop
5074: e037883a mov sp,fp
5078: df000017 ldw fp,0(sp)
507c: dec00104 addi sp,sp,4
5080: f800283a ret
00005084 <alt_find_dev>:
5084: defffa04 addi sp,sp,-24
5088: dfc00515 stw ra,20(sp)
508c: df000415 stw fp,16(sp)
5090: df000404 addi fp,sp,16
5094: e13ffe15 stw r4,-8(fp)
5098: e17fff15 stw r5,-4(fp)
509c: e0bfff17 ldw r2,-4(fp)
50a0: 10800017 ldw r2,0(r2)
50a4: e0bffc15 stw r2,-16(fp)
50a8: e13ffe17 ldw r4,-8(fp)
50ac: 00003680 call 368 <strlen>
50b0: 10800044 addi r2,r2,1
50b4: e0bffd15 stw r2,-12(fp)
50b8: 00000d06 br 50f0 <alt_find_dev+0x6c>
50bc: e0bffc17 ldw r2,-16(fp)
50c0: 10800217 ldw r2,8(r2)
50c4: e0fffd17 ldw r3,-12(fp)
50c8: 180d883a mov r6,r3
50cc: e17ffe17 ldw r5,-8(fp)
50d0: 1009883a mov r4,r2
50d4: 00053c80 call 53c8 <memcmp>
50d8: 1000021e bne r2,zero,50e4 <alt_find_dev+0x60>
50dc: e0bffc17 ldw r2,-16(fp)
50e0: 00000706 br 5100 <alt_find_dev+0x7c>
50e4: e0bffc17 ldw r2,-16(fp)
50e8: 10800017 ldw r2,0(r2)
50ec: e0bffc15 stw r2,-16(fp)
50f0: e0fffc17 ldw r3,-16(fp)
50f4: e0bfff17 ldw r2,-4(fp)
50f8: 18bff01e bne r3,r2,50bc <alt_find_dev+0x38>
50fc: 0005883a mov r2,zero
5100: e037883a mov sp,fp
5104: dfc00117 ldw ra,4(sp)
5108: df000017 ldw fp,0(sp)
510c: dec00204 addi sp,sp,8
5110: f800283a ret
00005114 <alt_find_file>:
5114: defffb04 addi sp,sp,-20
5118: dfc00415 stw ra,16(sp)
511c: df000315 stw fp,12(sp)
5120: df000304 addi fp,sp,12
5124: e13fff15 stw r4,-4(fp)
5128: d0a00417 ldw r2,-32752(gp)
512c: e0bffd15 stw r2,-12(fp)
5130: 00003106 br 51f8 <alt_find_file+0xe4>
5134: e0bffd17 ldw r2,-12(fp)
5138: 10800217 ldw r2,8(r2)
513c: 1009883a mov r4,r2
5140: 00003680 call 368 <strlen>
5144: e0bffe15 stw r2,-8(fp)
5148: e0bffd17 ldw r2,-12(fp)
514c: 10c00217 ldw r3,8(r2)
5150: e0bffe17 ldw r2,-8(fp)
5154: 10bfffc4 addi r2,r2,-1
5158: 1885883a add r2,r3,r2
515c: 10800003 ldbu r2,0(r2)
5160: 10803fcc andi r2,r2,255
5164: 1080201c xori r2,r2,128
5168: 10bfe004 addi r2,r2,-128
516c: 10800bd8 cmpnei r2,r2,47
5170: 1000031e bne r2,zero,5180 <alt_find_file+0x6c>
5174: e0bffe17 ldw r2,-8(fp)
5178: 10bfffc4 addi r2,r2,-1
517c: e0bffe15 stw r2,-8(fp)
5180: e0bffe17 ldw r2,-8(fp)
5184: e0ffff17 ldw r3,-4(fp)
5188: 1885883a add r2,r3,r2
518c: 10800003 ldbu r2,0(r2)
5190: 10803fcc andi r2,r2,255
5194: 1080201c xori r2,r2,128
5198: 10bfe004 addi r2,r2,-128
519c: 10800be0 cmpeqi r2,r2,47
51a0: 1000081e bne r2,zero,51c4 <alt_find_file+0xb0>
51a4: e0bffe17 ldw r2,-8(fp)
51a8: e0ffff17 ldw r3,-4(fp)
51ac: 1885883a add r2,r3,r2
51b0: 10800003 ldbu r2,0(r2)
51b4: 10803fcc andi r2,r2,255
51b8: 1080201c xori r2,r2,128
51bc: 10bfe004 addi r2,r2,-128
51c0: 10000a1e bne r2,zero,51ec <alt_find_file+0xd8>
51c4: e0bffd17 ldw r2,-12(fp)
51c8: 10800217 ldw r2,8(r2)
51cc: e0fffe17 ldw r3,-8(fp)
51d0: 180d883a mov r6,r3
51d4: e17fff17 ldw r5,-4(fp)
51d8: 1009883a mov r4,r2
51dc: 00053c80 call 53c8 <memcmp>
51e0: 1000021e bne r2,zero,51ec <alt_find_file+0xd8>
51e4: e0bffd17 ldw r2,-12(fp)
51e8: 00000706 br 5208 <alt_find_file+0xf4>
51ec: e0bffd17 ldw r2,-12(fp)
51f0: 10800017 ldw r2,0(r2)
51f4: e0bffd15 stw r2,-12(fp)
51f8: e0fffd17 ldw r3,-12(fp)
51fc: d0a00404 addi r2,gp,-32752
5200: 18bfcc1e bne r3,r2,5134 <alt_find_file+0x20>
5204: 0005883a mov r2,zero
5208: e037883a mov sp,fp
520c: dfc00117 ldw ra,4(sp)
5210: df000017 ldw fp,0(sp)
5214: dec00204 addi sp,sp,8
5218: f800283a ret
0000521c <alt_get_fd>:
521c: defffa04 addi sp,sp,-24
5220: dfc00515 stw ra,20(sp)
5224: df000415 stw fp,16(sp)
5228: dc000315 stw r16,12(sp)
522c: df000404 addi fp,sp,16
5230: e13ffe15 stw r4,-8(fp)
5234: 00bffa04 movi r2,-24
5238: e0bffd15 stw r2,-12(fp)
523c: e03ffc15 stw zero,-16(fp)
5240: 00001d06 br 52b8 <alt_get_fd+0x9c>
5244: 04000034 movhi r16,0
5248: 8417e804 addi r16,r16,24480
524c: e0bffc17 ldw r2,-16(fp)
5250: 01400304 movi r5,12
5254: 1009883a mov r4,r2
5258: 00030780 call 3078 <__mulsi3>
525c: 8085883a add r2,r16,r2
5260: 10800017 ldw r2,0(r2)
5264: 1000111e bne r2,zero,52ac <alt_get_fd+0x90>
5268: 04000034 movhi r16,0
526c: 8417e804 addi r16,r16,24480
5270: e0bffc17 ldw r2,-16(fp)
5274: 01400304 movi r5,12
5278: 1009883a mov r4,r2
527c: 00030780 call 3078 <__mulsi3>
5280: 8085883a add r2,r16,r2
5284: e0fffe17 ldw r3,-8(fp)
5288: 10c00015 stw r3,0(r2)
528c: d0e00817 ldw r3,-32736(gp)
5290: e0bffc17 ldw r2,-16(fp)
5294: 1880020e bge r3,r2,52a0 <alt_get_fd+0x84>
5298: e0bffc17 ldw r2,-16(fp)
529c: d0a00815 stw r2,-32736(gp)
52a0: e0bffc17 ldw r2,-16(fp)
52a4: e0bffd15 stw r2,-12(fp)
52a8: 00000606 br 52c4 <alt_get_fd+0xa8>
52ac: e0bffc17 ldw r2,-16(fp)
52b0: 10800044 addi r2,r2,1
52b4: e0bffc15 stw r2,-16(fp)
52b8: e0bffc17 ldw r2,-16(fp)
52bc: 10800810 cmplti r2,r2,32
52c0: 103fe01e bne r2,zero,5244 <alt_get_fd+0x28>
52c4: e0bffd17 ldw r2,-12(fp)
52c8: e6ffff04 addi sp,fp,-4
52cc: dfc00217 ldw ra,8(sp)
52d0: df000117 ldw fp,4(sp)
52d4: dc000017 ldw r16,0(sp)
52d8: dec00304 addi sp,sp,12
52dc: f800283a ret
000052e0 <alt_exception_cause_generated_bad_addr>:
52e0: defffe04 addi sp,sp,-8
52e4: df000115 stw fp,4(sp)
52e8: df000104 addi fp,sp,4
52ec: e13fff15 stw r4,-4(fp)
52f0: e0bfff17 ldw r2,-4(fp)
52f4: 10bffe84 addi r2,r2,-6
52f8: 10c00428 cmpgeui r3,r2,16
52fc: 18001a1e bne r3,zero,5368 <alt_exception_cause_generated_bad_addr+0x88>
5300: 100690ba slli r3,r2,2
5304: 00800034 movhi r2,0
5308: 1094c604 addi r2,r2,21272
530c: 1885883a add r2,r3,r2
5310: 10800017 ldw r2,0(r2)
5314: 1000683a jmp r2
5318: 00005358 cmpnei zero,zero,333
531c: 00005358 cmpnei zero,zero,333
5320: 00005368 cmpgeui zero,zero,333
5324: 00005368 cmpgeui zero,zero,333
5328: 00005368 cmpgeui zero,zero,333
532c: 00005358 cmpnei zero,zero,333
5330: 00005360 cmpeqi zero,zero,333
5334: 00005368 cmpgeui zero,zero,333
5338: 00005358 cmpnei zero,zero,333
533c: 00005358 cmpnei zero,zero,333
5340: 00005368 cmpgeui zero,zero,333
5344: 00005358 cmpnei zero,zero,333
5348: 00005360 cmpeqi zero,zero,333
534c: 00005368 cmpgeui zero,zero,333
5350: 00005368 cmpgeui zero,zero,333
5354: 00005358 cmpnei zero,zero,333
5358: 00800044 movi r2,1
535c: 00000306 br 536c <alt_exception_cause_generated_bad_addr+0x8c>
5360: 0005883a mov r2,zero
5364: 00000106 br 536c <alt_exception_cause_generated_bad_addr+0x8c>
5368: 0005883a mov r2,zero
536c: e037883a mov sp,fp
5370: df000017 ldw fp,0(sp)
5374: dec00104 addi sp,sp,4
5378: f800283a ret
0000537c <atexit>:
537c: 200b883a mov r5,r4
5380: 000f883a mov r7,zero
5384: 000d883a mov r6,zero
5388: 0009883a mov r4,zero
538c: 00054441 jmpi 5444 <__register_exitproc>
00005390 <exit>:
5390: defffe04 addi sp,sp,-8
5394: 000b883a mov r5,zero
5398: dc000015 stw r16,0(sp)
539c: dfc00115 stw ra,4(sp)
53a0: 2021883a mov r16,r4
53a4: 000555c0 call 555c <__call_exitprocs>
53a8: 00800034 movhi r2,0
53ac: 109c6004 addi r2,r2,29056
53b0: 11000017 ldw r4,0(r2)
53b4: 20800f17 ldw r2,60(r4)
53b8: 10000126 beq r2,zero,53c0 <exit+0x30>
53bc: 103ee83a callr r2
53c0: 8009883a mov r4,r16
53c4: 00056dc0 call 56dc <_exit>
000053c8 <memcmp>:
53c8: 01c000c4 movi r7,3
53cc: 3980192e bgeu r7,r6,5434 <memcmp+0x6c>
53d0: 2144b03a or r2,r4,r5
53d4: 11c4703a and r2,r2,r7
53d8: 10000f26 beq r2,zero,5418 <memcmp+0x50>
53dc: 20800003 ldbu r2,0(r4)
53e0: 28c00003 ldbu r3,0(r5)
53e4: 10c0151e bne r2,r3,543c <memcmp+0x74>
53e8: 31bfff84 addi r6,r6,-2
53ec: 01ffffc4 movi r7,-1
53f0: 00000406 br 5404 <memcmp+0x3c>
53f4: 20800003 ldbu r2,0(r4)
53f8: 28c00003 ldbu r3,0(r5)
53fc: 31bfffc4 addi r6,r6,-1
5400: 10c00e1e bne r2,r3,543c <memcmp+0x74>
5404: 21000044 addi r4,r4,1
5408: 29400044 addi r5,r5,1
540c: 31fff91e bne r6,r7,53f4 <memcmp+0x2c>
5410: 0005883a mov r2,zero
5414: f800283a ret
5418: 20c00017 ldw r3,0(r4)
541c: 28800017 ldw r2,0(r5)
5420: 18bfee1e bne r3,r2,53dc <memcmp+0x14>
5424: 31bfff04 addi r6,r6,-4
5428: 21000104 addi r4,r4,4
542c: 29400104 addi r5,r5,4
5430: 39bff936 bltu r7,r6,5418 <memcmp+0x50>
5434: 303fe91e bne r6,zero,53dc <memcmp+0x14>
5438: 003ff506 br 5410 <memcmp+0x48>
543c: 10c5c83a sub r2,r2,r3
5440: f800283a ret
00005444 <__register_exitproc>:
5444: defffa04 addi sp,sp,-24
5448: dc000315 stw r16,12(sp)
544c: 04000034 movhi r16,0
5450: 841c6004 addi r16,r16,29056
5454: 80c00017 ldw r3,0(r16)
5458: dc400415 stw r17,16(sp)
545c: dfc00515 stw ra,20(sp)
5460: 18805217 ldw r2,328(r3)
5464: 2023883a mov r17,r4
5468: 10003726 beq r2,zero,5548 <__register_exitproc+0x104>
546c: 10c00117 ldw r3,4(r2)
5470: 010007c4 movi r4,31
5474: 20c00e16 blt r4,r3,54b0 <__register_exitproc+0x6c>
5478: 1a000044 addi r8,r3,1
547c: 8800221e bne r17,zero,5508 <__register_exitproc+0xc4>
5480: 18c00084 addi r3,r3,2
5484: 18c7883a add r3,r3,r3
5488: 18c7883a add r3,r3,r3
548c: 12000115 stw r8,4(r2)
5490: 10c7883a add r3,r2,r3
5494: 19400015 stw r5,0(r3)
5498: 0005883a mov r2,zero
549c: dfc00517 ldw ra,20(sp)
54a0: dc400417 ldw r17,16(sp)
54a4: dc000317 ldw r16,12(sp)
54a8: dec00604 addi sp,sp,24
54ac: f800283a ret
54b0: 00800034 movhi r2,0
54b4: 10800004 addi r2,r2,0
54b8: 10002626 beq r2,zero,5554 <__register_exitproc+0x110>
54bc: 01006404 movi r4,400
54c0: d9400015 stw r5,0(sp)
54c4: d9800115 stw r6,4(sp)
54c8: d9c00215 stw r7,8(sp)
54cc: 00000000 call 0 <__alt_mem_mem>
54d0: d9400017 ldw r5,0(sp)
54d4: d9800117 ldw r6,4(sp)
54d8: d9c00217 ldw r7,8(sp)
54dc: 10001d26 beq r2,zero,5554 <__register_exitproc+0x110>
54e0: 81000017 ldw r4,0(r16)
54e4: 10000115 stw zero,4(r2)
54e8: 02000044 movi r8,1
54ec: 22405217 ldw r9,328(r4)
54f0: 0007883a mov r3,zero
54f4: 12400015 stw r9,0(r2)
54f8: 20805215 stw r2,328(r4)
54fc: 10006215 stw zero,392(r2)
5500: 10006315 stw zero,396(r2)
5504: 883fde26 beq r17,zero,5480 <__register_exitproc+0x3c>
5508: 18c9883a add r4,r3,r3
550c: 2109883a add r4,r4,r4
5510: 1109883a add r4,r2,r4
5514: 21802215 stw r6,136(r4)
5518: 01800044 movi r6,1
551c: 12406217 ldw r9,392(r2)
5520: 30cc983a sll r6,r6,r3
5524: 4992b03a or r9,r9,r6
5528: 12406215 stw r9,392(r2)
552c: 21c04215 stw r7,264(r4)
5530: 01000084 movi r4,2
5534: 893fd21e bne r17,r4,5480 <__register_exitproc+0x3c>
5538: 11006317 ldw r4,396(r2)
553c: 218cb03a or r6,r4,r6
5540: 11806315 stw r6,396(r2)
5544: 003fce06 br 5480 <__register_exitproc+0x3c>
5548: 18805304 addi r2,r3,332
554c: 18805215 stw r2,328(r3)
5550: 003fc606 br 546c <__register_exitproc+0x28>
5554: 00bfffc4 movi r2,-1
5558: 003fd006 br 549c <__register_exitproc+0x58>
0000555c <__call_exitprocs>:
555c: defff504 addi sp,sp,-44
5560: df000915 stw fp,36(sp)
5564: dd400615 stw r21,24(sp)
5568: dc800315 stw r18,12(sp)
556c: dfc00a15 stw ra,40(sp)
5570: ddc00815 stw r23,32(sp)
5574: dd800715 stw r22,28(sp)
5578: dd000515 stw r20,20(sp)
557c: dcc00415 stw r19,16(sp)
5580: dc400215 stw r17,8(sp)
5584: dc000115 stw r16,4(sp)
5588: d9000015 stw r4,0(sp)
558c: 2839883a mov fp,r5
5590: 04800044 movi r18,1
5594: 057fffc4 movi r21,-1
5598: 00800034 movhi r2,0
559c: 109c6004 addi r2,r2,29056
55a0: 12000017 ldw r8,0(r2)
55a4: 45005217 ldw r20,328(r8)
55a8: 44c05204 addi r19,r8,328
55ac: a0001c26 beq r20,zero,5620 <__call_exitprocs+0xc4>
55b0: a0800117 ldw r2,4(r20)
55b4: 15ffffc4 addi r23,r2,-1
55b8: b8000d16 blt r23,zero,55f0 <__call_exitprocs+0x94>
55bc: 14000044 addi r16,r2,1
55c0: 8421883a add r16,r16,r16
55c4: 8421883a add r16,r16,r16
55c8: 84402004 addi r17,r16,128
55cc: a463883a add r17,r20,r17
55d0: a421883a add r16,r20,r16
55d4: e0001e26 beq fp,zero,5650 <__call_exitprocs+0xf4>
55d8: 80804017 ldw r2,256(r16)
55dc: e0801c26 beq fp,r2,5650 <__call_exitprocs+0xf4>
55e0: bdffffc4 addi r23,r23,-1
55e4: 843fff04 addi r16,r16,-4
55e8: 8c7fff04 addi r17,r17,-4
55ec: bd7ff91e bne r23,r21,55d4 <__call_exitprocs+0x78>
55f0: 00800034 movhi r2,0
55f4: 10800004 addi r2,r2,0
55f8: 10000926 beq r2,zero,5620 <__call_exitprocs+0xc4>
55fc: a0800117 ldw r2,4(r20)
5600: 1000301e bne r2,zero,56c4 <__call_exitprocs+0x168>
5604: a0800017 ldw r2,0(r20)
5608: 10003226 beq r2,zero,56d4 <__call_exitprocs+0x178>
560c: a009883a mov r4,r20
5610: 98800015 stw r2,0(r19)
5614: 00000000 call 0 <__alt_mem_mem>
5618: 9d000017 ldw r20,0(r19)
561c: a03fe41e bne r20,zero,55b0 <__call_exitprocs+0x54>
5620: dfc00a17 ldw ra,40(sp)
5624: df000917 ldw fp,36(sp)
5628: ddc00817 ldw r23,32(sp)
562c: dd800717 ldw r22,28(sp)
5630: dd400617 ldw r21,24(sp)
5634: dd000517 ldw r20,20(sp)
5638: dcc00417 ldw r19,16(sp)
563c: dc800317 ldw r18,12(sp)
5640: dc400217 ldw r17,8(sp)
5644: dc000117 ldw r16,4(sp)
5648: dec00b04 addi sp,sp,44
564c: f800283a ret
5650: a0800117 ldw r2,4(r20)
5654: 80c00017 ldw r3,0(r16)
5658: 10bfffc4 addi r2,r2,-1
565c: 15c01426 beq r2,r23,56b0 <__call_exitprocs+0x154>
5660: 80000015 stw zero,0(r16)
5664: 183fde26 beq r3,zero,55e0 <__call_exitprocs+0x84>
5668: 95c8983a sll r4,r18,r23
566c: a0806217 ldw r2,392(r20)
5670: a5800117 ldw r22,4(r20)
5674: 2084703a and r2,r4,r2
5678: 10000b26 beq r2,zero,56a8 <__call_exitprocs+0x14c>
567c: a0806317 ldw r2,396(r20)
5680: 2088703a and r4,r4,r2
5684: 20000c1e bne r4,zero,56b8 <__call_exitprocs+0x15c>
5688: 89400017 ldw r5,0(r17)
568c: d9000017 ldw r4,0(sp)
5690: 183ee83a callr r3
5694: a0800117 ldw r2,4(r20)
5698: 15bfbf1e bne r2,r22,5598 <__call_exitprocs+0x3c>
569c: 98800017 ldw r2,0(r19)
56a0: 153fcf26 beq r2,r20,55e0 <__call_exitprocs+0x84>
56a4: 003fbc06 br 5598 <__call_exitprocs+0x3c>
56a8: 183ee83a callr r3
56ac: 003ff906 br 5694 <__call_exitprocs+0x138>
56b0: a5c00115 stw r23,4(r20)
56b4: 003feb06 br 5664 <__call_exitprocs+0x108>
56b8: 89000017 ldw r4,0(r17)
56bc: 183ee83a callr r3
56c0: 003ff406 br 5694 <__call_exitprocs+0x138>
56c4: a0800017 ldw r2,0(r20)
56c8: a027883a mov r19,r20
56cc: 1029883a mov r20,r2
56d0: 003fb606 br 55ac <__call_exitprocs+0x50>
56d4: 0005883a mov r2,zero
56d8: 003ffb06 br 56c8 <__call_exitprocs+0x16c>
000056dc <_exit>:
56dc: defffd04 addi sp,sp,-12
56e0: df000215 stw fp,8(sp)
56e4: df000204 addi fp,sp,8
56e8: e13fff15 stw r4,-4(fp)
56ec: 0001883a nop
56f0: e0bfff17 ldw r2,-4(fp)
56f4: e0bffe15 stw r2,-8(fp)
56f8: e0bffe17 ldw r2,-8(fp)
56fc: 10000226 beq r2,zero,5708 <_exit+0x2c>
5700: 002af070 cmpltui zero,zero,43969
5704: 00000106 br 570c <_exit+0x30>
5708: 002af0b0 cmpltui zero,zero,43970
570c: 003fff06 br 570c <_exit+0x30>