
SPIFLASH_U-Disk.elf:     file format elf32-littleriscv
SPIFLASH_U-Disk.elf
architecture: riscv:rv32, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x00000000

Program Header:
    LOAD off    0x00001000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x00003a04 memsz 0x00003a04 flags r-x
    LOAD off    0x00005000 vaddr 0x20000000 paddr 0x00003a04 align 2**12
         filesz 0x000000d0 memsz 0x00002244 flags rw-
    LOAD off    0x00005800 vaddr 0x2001f800 paddr 0x2001f800 align 2**12
         filesz 0x00000000 memsz 0x00000800 flags rw-

Sections:
Idx Name           Size      VMA       LMA       File off  Algn  Flags
  0 .init          00000038  00000000  00000000  00001000  2**1  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .vector        000001c8  00000038  00000038  00001038  2**1  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .text          00003804  00000200  00000200  00001200  2**2  CONTENTS, ALLOC, LOAD, READONLY, CODE
  3 .fini          00000000  00003a04  00003a04  000050d0  2**0  CONTENTS, ALLOC, LOAD, CODE
  4 .dalign        00000000  20000000  20000000  000050d0  2**0  CONTENTS
  5 .dlalign       00000000  00003a04  00003a04  000050d0  2**0  CONTENTS
  6 .data          000000d0  20000000  00003a04  00005000  2**2  CONTENTS, ALLOC, LOAD, DATA
  7 .bss           00002174  200000d0  00003ad4  000050d0  2**2  ALLOC
  8 .stack         00000800  2001f800  2001f800  00005800  2**0  ALLOC
  9 .debug_info    0000ff1b  00000000  00000000  000050d0  2**0  CONTENTS, READONLY, DEBUGGING
 10 .debug_abbrev  00002eac  00000000  00000000  00014feb  2**0  CONTENTS, READONLY, DEBUGGING
 11 .debug_loc     00002f72  00000000  00000000  00017e97  2**0  CONTENTS, READONLY, DEBUGGING
 12 .debug_aranges 00000828  00000000  00000000  0001ae10  2**3  CONTENTS, READONLY, DEBUGGING
 13 .debug_ranges  00000808  00000000  00000000  0001b638  2**3  CONTENTS, READONLY, DEBUGGING
 14 .debug_line    0000b7de  00000000  00000000  0001be40  2**0  CONTENTS, READONLY, DEBUGGING
 15 .debug_str     0000310f  00000000  00000000  0002761e  2**0  CONTENTS, READONLY, DEBUGGING
 16 .comment       00000033  00000000  00000000  0002a72d  2**0  CONTENTS, READONLY
 17 .debug_frame   00001a28  00000000  00000000  0002a760  2**2  CONTENTS, READONLY, DEBUGGING
 18 .stab          00000084  00000000  00000000  0002c188  2**2  CONTENTS, READONLY, DEBUGGING
 19 .stabstr       00000117  00000000  00000000  0002c20c  2**0  CONTENTS, READONLY, DEBUGGING
SYMBOL TABLE:
00000000 l    d  .init	00000000 .init
00000038 l    d  .vector	00000000 .vector
00000200 l    d  .text	00000000 .text
00003a04 l    d  .fini	00000000 .fini
20000000 l    d  .dalign	00000000 .dalign
00003a04 l    d  .dlalign	00000000 .dlalign
20000000 l    d  .data	00000000 .data
200000d0 l    d  .bss	00000000 .bss
2001f800 l    d  .stack	00000000 .stack
00000000 l    d  .debug_info	00000000 .debug_info
00000000 l    d  .debug_abbrev	00000000 .debug_abbrev
00000000 l    d  .debug_loc	00000000 .debug_loc
00000000 l    d  .debug_aranges	00000000 .debug_aranges
00000000 l    d  .debug_ranges	00000000 .debug_ranges
00000000 l    d  .debug_line	00000000 .debug_line
00000000 l    d  .debug_str	00000000 .debug_str
00000000 l    d  .comment	00000000 .comment
00000000 l    d  .debug_frame	00000000 .debug_frame
00000000 l    d  .stab	00000000 .stab
00000000 l    d  .stabstr	00000000 .stabstr
00000000 l    df *ABS*	00000000 ./Startup/startup_ch32v30x_D8C.o
00000038 l       .vector	00000000 _vector_base
00000000 l    df *ABS*	00000000 SPI.c
00000000 l    df *ABS*	00000000 SW_UDISK.c
00000000 l    df *ABS*	00000000 ch32v30x_it.c
00000000 l    df *ABS*	00000000 ch32v30x_usbfs_device.c
00000000 l    df *ABS*	00000000 main.c
00000000 l    df *ABS*	00000000 spiflash.c
0000135c l     F .text	00000026 flash_spi_writeenable
00001382 l     F .text	00000036 flash_spi_waitforwriteend
00000000 l    df *ABS*	00000000 system_ch32v30x.c
00000000 l    df *ABS*	00000000 ch32v30x_dbgmcu.c
00000000 l    df *ABS*	00000000 ch32v30x_dma.c
00000000 l    df *ABS*	00000000 ch32v30x_gpio.c
00000000 l    df *ABS*	00000000 ch32v30x_rcc.c
20000034 l     O .data	00000010 APBAHBPrescTable
200000b4 l     O .data	00000004 ADCPrescTable
00000000 l    df *ABS*	00000000 ch32v30x_spi.c
00000000 l    df *ABS*	00000000 ch32v30x_usart.c
00000000 l    df *ABS*	00000000 debug.c
20000114 l     O .bss	00000002 p_ms
20000116 l     O .bss	00000001 p_us
200000b8 l     O .data	00000004 curbrk.5535
00000000 l    df *ABS*	00000000 core_riscv.c
00000000 l    df *ABS*	00000000 memcpy.c
00000000 l    df *ABS*	00000000 printf.c
00000000 l    df *ABS*	00000000 puts.c
00000000 l    df *ABS*	00000000 wbuf.c
00000000 l    df *ABS*	00000000 wsetup.c
00000000 l    df *ABS*	00000000 fflush.c
00000000 l    df *ABS*	00000000 findfp.c
0000275a l     F .text	00000066 std
00000000 l    df *ABS*	00000000 fwalk.c
00000000 l    df *ABS*	00000000 makebuf.c
00000000 l    df *ABS*	00000000 nano-mallocr.c
00000000 l    df *ABS*	00000000 nano-mallocr.c
00000000 l    df *ABS*	00000000 nano-vfprintf.c
00002be0 l     F .text	00000028 __sfputc_r
00000000 l    df *ABS*	00000000 nano-vfprintf_i.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 closer.c
00000000 l    df *ABS*	00000000 fstatr.c
00000000 l    df *ABS*	00000000 isattyr.c
00000000 l    df *ABS*	00000000 lseekr.c
00000000 l    df *ABS*	00000000 memchr.c
00000000 l    df *ABS*	00000000 mlock.c
00000000 l    df *ABS*	00000000 readr.c
00000000 l    df *ABS*	00000000 close.c
00000000 l    df *ABS*	00000000 fstat.c
00000000 l    df *ABS*	00000000 isatty.c
00000000 l    df *ABS*	00000000 lseek.c
00000000 l    df *ABS*	00000000 read.c
00000000 l    df *ABS*	00000000 usb_desc.c
00000000 l    df *ABS*	00000000 impure.c
20000044 l     O .data	00000060 impure_data
00000000 l    df *ABS*	00000000 reent.c
00001934  w      .text	00000000 EXTI2_IRQHandler
0000197e  w      .text	00000000 TIM8_TRG_COM_IRQHandler
00000950 g     F .text	00000098 UDISK_Up_OnePack
00001980  w      .text	00000000 TIM8_CC_IRQHandler
000033f0 g     F .text	00000030 _isatty_r
00003950 g     O .text	00000016 MySerNumInfo
20000108 g     O .bss	00000002 USBFS_SetupReqValue
00002330 g     F .text	000000d4 _puts_r
00003420 g     F .text	00000034 _lseek_r
0000041a g     F .text	0000005c spi_dma_transmit
00001c10 g     F .text	00000014 DMA_Cmd
000019b6  w      .text	00000000 UART8_IRQHandler
00000476 g     F .text	00000036 SPI1_ReadWriteByte
000022f0 g     F .text	00000040 printf
200008a8 g       .data	00000000 __global_pointer$
00000208 g     F .text	00000028 .hidden __riscv_save_8
0000195a  w      .text	00000000 TIM1_CC_IRQHandler
00003322 g     F .text	00000030 __sseek
00002810 g     F .text	00000066 __sinit
00001fee g     F .text	00000004 SPI_I2S_SendData
0000240e g     F .text	000000bc __swbuf_r
00000b32 g     F .text	00000044 HardFault_Handler
000027ca g     F .text	00000046 __sfmoreglue
0000346e g     F .text	00000002 __malloc_unlock
200000e0 g     O .bss	00000004 Udisk_CBW_Tag_Save
00000254 g     F .text	0000000c .hidden __riscv_restore_3
00001990  w      .text	00000000 TIM6_IRQHandler
00001920  w      .text	00000000 SysTick_Handler
00001926  w      .text	00000000 PVD_IRQHandler
000009e8 g     F .text	00000032 UDISK_In_EP_Deal
00001986  w      .text	00000000 SDIO_IRQHandler
000019b8  w      .text	00000000 TIM9_BRK_IRQHandler
00000240 g     F .text	00000020 .hidden __riscv_restore_10
000013f6 g     F .text	0000004e flash_spi_erasesector
00001ff2 g     F .text	00000004 SPI_I2S_ReceiveData
000019cc  w      .text	00000000 DMA2_Channel8_IRQHandler
00000b2e g     F .text	00000004 NMI_Handler
00001f4a g     F .text	00000024 RCC_USBHSPHYPLLALIVEcmd
000019a6  w      .text	00000000 CAN2_RX1_IRQHandler
00001936  w      .text	00000000 EXTI3_IRQHandler
00000208 g     F .text	00000028 .hidden __riscv_save_11
00001a62 g     F .text	0000000a DBGMCU_GetCHIPID
00000b76 g     F .text	0000003a USBFS_RCC_Init
000019ae  w      .text	00000000 USBHS_IRQHandler
000020d8 g     F .text	0000000a USART_GetFlagStatus
000019ce  w      .text	00000000 DMA2_Channel9_IRQHandler
000033be g     F .text	00000032 _fstat_r
000019c6  w      .text	00000000 TIM10_CC_IRQHandler
20002240 g     O .bss	00000004 errno
200011c0 g     O .bss	00000040 UDisk_Out_Buf
200000d0 g       .bss	00000000 _sbss
00000800 g       *ABS*	00000000 __stack_size
20000104 g     O .bss	00000002 USBFS_SetupReqLen
00002174 g     F .text	00000054 USART_Printf_Init
200000f0 g     O .bss	00000004 pEndp2_Buf
00001bd8 g     F .text	00000038 DMA_Init
000013b8 g     F .text	0000003e spiflash_gpioinit
00003510 g     O .text	0000000c UDISK_Rd_Format_Capacity
00000254 g     F .text	0000000c .hidden __riscv_restore_2
00001f6e g     F .text	00000016 RCC_USBCLK48MConfig
00003914 g     O .text	00000012 MyDevDescr
0000223e g     F .text	000000b2 memcpy
000027c0 g     F .text	0000000a _cleanup_r
20001180 g     O .bss	00000040 UDisk_In_Buf
00001930  w      .text	00000000 EXTI0_IRQHandler
00001966  w      .text	00000000 I2C2_EV_IRQHandler
000019c4  w      .text	00000000 TIM10_TRG_COM_IRQHandler
00002404 g     F .text	0000000a puts
200000b0 g     O .data	00000004 SystemCoreClock
20000110 g     O .bss	00000004 Flash_ID
000034b4 g     F .text	00000010 _fstat
200000d0 g     O .bss	00000004 SPI_TxData
00000038 g       .init	00000000 _einit
00001f16 g     F .text	0000001a RCC_USBHSPLLCLKConfig
00001ede g     F .text	0000001e RCC_APB2PeriphClockCmd
00000200 g     F .text	00000030 .hidden __riscv_save_12
000019a8  w      .text	00000000 CAN2_SCE_IRQHandler
00001948  w      .text	00000000 ADC1_2_IRQHandler
00001c82 g     F .text	000000c0 GPIO_Init
0000191e  w      .text	00000000 Break_Point_Handler
00000240 g     F .text	00000020 .hidden __riscv_restore_11
0000196a  w      .text	00000000 SPI1_IRQHandler
000020ba g     F .text	00000016 USART_Cmd
0000327c g     F .text	00000032 _sbrk_r
00001928  w      .text	00000000 TAMPER_IRQHandler
200000ef g     O .bss	00000001 Udisk_Transfer_Status
00000230 g     F .text	0000000c .hidden __riscv_save_1
200000d8 g     O .bss	00000002 UDISK_Sec_Pack_Count
200000c8 g     O .data	00000004 MyLangDescr
0000054a g     F .text	00000374 UDISK_SCSI_CMD_Deal
00000254 g     F .text	0000000c .hidden __riscv_restore_0
00003470 g     F .text	00000034 _read_r
00000216 g     F .text	0000001a .hidden __riscv_save_7
200000ac g     O .data	00000004 spi_flash_size
000019a4  w      .text	00000000 CAN2_RX0_IRQHandler
000015f2 g     F .text	0000004e flash_spi_getid
0000197c  w      .text	00000000 TIM8_UP_IRQHandler
20001240 g     O .bss	00001000 gtmpbuff
0000191a  w      .text	00000000 Ecall_M_Mode_Handler
000038f4 g     O .text	00000020 MyCfgDescr
2001f800 g       .stack	00000000 _heap_end
000034c4 g     F .text	00000010 _isatty
00002108 g     F .text	00000036 Delay_Us
200000cc g     O .data	00000004 _global_impure_ptr
0000024a g     F .text	00000016 .hidden __riscv_restore_5
00003504 g     O .text	0000000c UDISK_Mode_Sense_1A
00001ff6 g     F .text	0000000a SPI_I2S_GetFlagStatus
00001996  w      .text	00000000 DMA2_Channel2_IRQHandler
00001ec0 g     F .text	0000001e RCC_AHBPeriphClockCmd
00001940  w      .text	00000000 DMA1_Channel4_IRQHandler
00002202 g     F .text	0000002a _sbrk
00003928 g     O .text	0000000e MyManuInfo
000019ba  w      .text	00000000 TIM9_UP_IRQHandler
00001c24 g     F .text	00000032 DMA_GetFlagStatus
0000024a g     F .text	00000016 .hidden __riscv_restore_6
00001972  w      .text	00000000 USART3_IRQHandler
0000192a  w      .text	00000000 RTC_IRQHandler
200000f5 g     O .bss	00000001 USBFS_DevConfig
20002244 g       .bss	00000000 _ebss
00001946  w      .text	00000000 DMA1_Channel7_IRQHandler
00001f30 g     F .text	0000001a RCC_USBHSPLLCKREFCLKConfig
000008be g     F .text	0000004a UDISK_Bulk_UpData
000004ac g     F .text	00000046 UDISK_CMD_Deal_Fail
0000194e  w      .text	00000000 CAN1_RX1_IRQHandler
000020e2 g     F .text	00000026 Delay_Init
000019b0  w      .text	00000000 DVP_IRQHandler
0000198e  w      .text	00000000 UART5_IRQHandler
00001640 g     F .text	000000c6 spiflash_init
200000a8 g     O .data	00000002 UDISK_Pack_Size
20000102 g     O .bss	00000002 USBFS_SetupReqIndex
00001d42 g     F .text	00000004 GPIO_SetBits
00001960  w      .text	00000000 TIM4_IRQHandler
00000208 g     F .text	00000028 .hidden __riscv_save_9
000014de g     F .text	00000070 flash_spi_read
00001994  w      .text	00000000 DMA2_Channel1_IRQHandler
20000106 g     O .bss	00000001 USBFS_SetupReqType
00003968 g     O .text	00000020 __sf_fake_stderr
00000216 g     F .text	0000001a .hidden __riscv_save_4
00001962  w      .text	00000000 I2C1_EV_IRQHandler
000004f2 g     F .text	00000058 CMD_RD_WR_Deal_Pre
00000908 g     F .text	00000048 UDISK_Up_CSW
00001742 g     F .text	00000022 FLASH_RD_Block
200000f8 g     O .bss	00000008 USBFS_Endp_Busy
00001d4a g     F .text	00000176 RCC_GetClocksFreq
00001944  w      .text	00000000 DMA1_Channel6_IRQHandler
00002c08 g     F .text	00000040 __sfputs_r
200000ed g     O .bss	00000001 Udisk_Sense_Key
0000198c  w      .text	00000000 UART4_IRQHandler
0000199a  w      .text	00000000 DMA2_Channel4_IRQHandler
00003454 g     F .text	00000018 memchr
00002000 g     F .text	000000ba USART_Init
20000120 g     O .bss	00001000 UDisk_Down_Buffer
00002a64 g     F .text	000000a8 _free_r
0000195e  w      .text	00000000 TIM3_IRQHandler
0000192e  w      .text	00000000 RCC_IRQHandler
00000230 g     F .text	0000000c .hidden __riscv_save_3
00001958  w      .text	00000000 TIM1_TRG_COM_IRQHandler
0000193a  w      .text	00000000 DMA1_Channel1_IRQHandler
00000000 g       .init	00000000 _start
000019ca  w      .text	00000000 DMA2_Channel7_IRQHandler
20000024 g     O .data	00000010 AHBPrescTable
000034d4 g     F .text	00000010 _lseek
00000c66 g     F .text	000000ea USBFS_Endp_DataUp
200000e4 g     O .bss	00000001 Udisk_CSW_Status
200000ee g     O .bss	00000001 Udisk_Status
00001974  w      .text	00000000 EXTI15_10_IRQHandler
20000100 g     O .bss	00000001 USBFS_SetupReqCode
00001efc g     F .text	0000001a RCC_USBHSConfig
200000d4 g     O .bss	00000004 UDISK_Cur_Sec_Lba
00000360 g     F .text	000000ba CH32V_SPI_Init
200000c0 g     O .data	00000008 UDISK_Rd_Capacity
00001d46 g     F .text	00000004 GPIO_ResetBits
00002232 g     F .text	00000006 __get_MCAUSE
00001992  w      .text	00000000 TIM7_IRQHandler
200000f6 g     O .bss	00000001 USBFS_DevEnumStatus
0000338e g     F .text	00000030 _close_r
000019a2  w      .text	00000000 CAN2_TX_IRQHandler
20000000 g       .dalign	00000000 _data_vma
00001988  w      .text	00000000 TIM5_IRQHandler
000024ca g     F .text	000000fc __swsetup_r
00001952  w      .text	00000000 EXTI9_5_IRQHandler
00002876 g     F .text	0000009c __sfp
200000f4 g     O .bss	00000001 USBFS_DevAddr
00000208 g     F .text	00000028 .hidden __riscv_save_10
000032ae g     F .text	0000002c __sread
000019a0  w      .text	00000000 ETH_WKUP_IRQHandler
20001120 g     O .bss	00000040 UDisk_Pack_Buffer
00001706 g     F .text	0000003c FLASH_RD_Block_Start
0000346c g     F .text	00000002 __malloc_lock
00000ac2 g     F .text	0000006c UDISK_Out_EP_Deal
0000024a g     F .text	00000016 .hidden __riscv_restore_4
00002238 g     F .text	00000006 __get_MTVAL
00000240 g     F .text	00000020 .hidden __riscv_restore_8
0000222c g     F .text	00000006 __get_MEPC
000026f6 g     F .text	00000064 _fflush_r
00000216 g     F .text	0000001a .hidden __riscv_save_6
0000196c  w      .text	00000000 SPI2_IRQHandler
00003988 g     O .text	00000020 __sf_fake_stdin
00000a1a g     F .text	000000a8 UDISK_Down_OnePack
00000260 g     F .text	000000a8 memset
00000308 g     F .text	00000058 DMA_Tx_Init
00000240 g     F .text	00000020 .hidden __riscv_restore_9
0000024a g     F .text	00000016 .hidden __riscv_restore_7
000012c0 g     F .text	0000009c main
000019c0  w      .text	00000000 TIM10_BRK_IRQHandler
20000000 g     O .data	00000024 UDISK_Inquity_Tab
000019be  w      .text	00000000 TIM9_CC_IRQHandler
00003352 g     F .text	00000006 __sclose
0000199c  w      .text	00000000 DMA2_Channel5_IRQHandler
00001fdc g     F .text	00000012 SPI_I2S_DMACmd
00002b0c g     F .text	000000d4 _malloc_r
200000f7 g     O .bss	00000001 USBFS_DevSleepStatus
00001942  w      .text	00000000 DMA1_Channel5_IRQHandler
00001938  w      .text	00000000 EXTI4_IRQHandler
0000213e g     F .text	00000036 Delay_Ms
00000c14 g     F .text	00000052 USBFS_Device_Init
0000194c  w      .text	00000000 USB_LP_CAN1_RX0_IRQHandler
00003938 g     O .text	00000016 MyProdInfo
200000dc g     O .bss	00000004 UDISK_Transfer_DataLen
00001fc2 g     F .text	0000001a SPI_Cmd
00000bb0 g     F .text	00000064 USBFS_Device_Endp_Init
00001764 g     F .text	000000f8 SystemInit
00001982  w      .text	00000000 RNG_IRQHandler
000022f0 g     F .text	00000040 iprintf
0000194a  w      .text	00000000 USB_HP_CAN1_TX_IRQHandler
00000000 g       .init	00000000 _sinit
00003358 g     F .text	00000036 _write_r
0000193e  w      .text	00000000 DMA1_Channel3_IRQHandler
200000ec g     O .bss	00000001 Udisk_Sense_ASC
00001984  w      .text	00000000 FSMC_IRQHandler
0000199e  w      .text	00000000 ETH_IRQHandler
00002ece g     F .text	0000010c _printf_common
200000bc g     O .data	00000004 _impure_ptr
00001956  w      .text	00000000 TIM1_UP_IRQHandler
000025c6 g     F .text	00000130 __sflush_r
00001924  w      .text	00000000 WWDG_IRQHandler
00001444 g     F .text	0000009a flash_spi_writebuffer
000019ac  w      .text	00000000 USBHSWakeup_IRQHandler
000019d2  w      .text	00000000 DMA2_Channel11_IRQHandler
0000191c  w      .text	00000000 Ecall_U_Mode_Handler
000019c8  w      .text	00000000 DMA2_Channel6_IRQHandler
0000195c  w      .text	00000000 TIM2_IRQHandler
20020000 g       .stack	00000000 _eusrstack
00000230 g     F .text	0000000c .hidden __riscv_save_2
00001922  w      .text	00000000 SW_Handler
00001954  w      .text	00000000 TIM1_BRK_IRQHandler
0000297c g     F .text	00000058 __swhatbuf_r
000020d0 g     F .text	00000008 USART_SendData
000019d0  w      .text	00000000 DMA2_Channel10_IRQHandler
00001932  w      .text	00000000 EXTI1_IRQHandler
200000e8 g     O .bss	00000004 Udisk_Capability
00000216 g     F .text	0000001a .hidden __riscv_save_5
000021c8 g     F .text	0000003a _write
20001200 g     O .bss	00000040 USBFS_EP0_Buf
200000d0 g       .data	00000000 _edata
2000010c g     O .bss	00000004 pUSBFS_Descr
20002244 g       .bss	00000000 _end
00001976  w      .text	00000000 RTCAlarm_IRQHandler
00003650 g     O .text	000002a4 temp_id
00003a04 g       .dlalign	00000000 _data_lma
000019c2  w      .text	00000000 TIM10_UP_IRQHandler
000019bc  w      .text	00000000 TIM9_TRG_COM_IRQHandler
000019b4  w      .text	00000000 UART7_IRQHandler
20001160 g     O .bss	0000001f mBOC
00001970  w      .text	00000000 USART2_IRQHandler
000019b2  w      .text	00000000 UART6_IRQHandler
000032da g     F .text	00000048 __swrite
00002c48 g     F .text	00000286 _vfiprintf_r
00002912 g     F .text	0000006a _fwalk_reent
0000185c g     F .text	000000ba SystemCoreClockUpdate
00001968  w      .text	00000000 I2C2_ER_IRQHandler
0000193c  w      .text	00000000 DMA1_Channel2_IRQHandler
000039a8 g     O .text	00000020 __sf_fake_stdout
0000023c g     F .text	00000024 .hidden __riscv_restore_12
0000197a  w      .text	00000000 TIM8_BRK_IRQHandler
00001c56 g     F .text	0000002c DMA_ClearFlag
000034e4 g     F .text	00000010 _read
000019d4  w      .text	00000000 handle_reset
00001950  w      .text	00000000 CAN1_SCE_IRQHandler
0000192c  w      .text	00000000 FLASH_IRQHandler
00000230 g     F .text	0000000c .hidden __riscv_save_0
0000196e  w      .text	00000000 USART1_IRQHandler
000029d4 g     F .text	00000090 __smakebuf_r
00000d50 g     F .text	00000570 OTG_FS_IRQHandler
00002fda g     F .text	000002a2 _printf_i
0000198a  w      .text	00000000 SPI3_IRQHandler
2000011c g     O .bss	00000004 __malloc_sbrk_start
00001964  w      .text	00000000 I2C1_ER_IRQHandler
00001f84 g     F .text	0000003e SPI_Init
00001a6c g     F .text	0000016c DMA_DeInit
20000118 g     O .bss	00000004 __malloc_free_list
0000154e g     F .text	000000a4 flash_spi_write
00000254 g     F .text	0000000c .hidden __riscv_restore_1
00002c48 g     F .text	00000286 _vfprintf_r
00001978  w      .text	00000000 USBWakeUp_IRQHandler
000034f4 g     O .text	00000010 UDISK_Mode_Senese_5A
000034a4 g     F .text	00000010 _close
00001998  w      .text	00000000 DMA2_Channel3_IRQHandler



Disassembly of section .init:

00000000 <_sinit>:
_start():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:17

	.section	.init,"ax",@progbits
	.global	_start
	.align	1
_start:
	j	handle_reset
   0:	1d50106f          	j	19d4 <handle_reset>
   4:	00000013          	nop
   8:	00000013          	nop
   c:	00000013          	nop
  10:	00000013          	nop
  14:	00000013          	nop
  18:	00000013          	nop
  1c:	00000013          	nop
  20:	00000013          	nop
  24:	00000013          	nop
  28:	00000013          	nop
  2c:	00000013          	nop
  30:	00000013          	nop
  34:	00100073          	ebreak

Disassembly of section .vector:

00000038 <_vector_base>:
	...
_vector_base():
  40:	0b2e                	slli	s6,s6,0xb
  42:	0000                	unimp
  44:	0b32                	slli	s6,s6,0xc
  46:	0000                	unimp
  48:	0000                	unimp
  4a:	0000                	unimp
  4c:	191a                	slli	s2,s2,0x26
	...
  56:	0000                	unimp
  58:	191c                	addi	a5,sp,176
  5a:	0000                	unimp
  5c:	191e                	slli	s2,s2,0x27
	...
  66:	0000                	unimp
  68:	1920                	addi	s0,sp,184
  6a:	0000                	unimp
  6c:	0000                	unimp
  6e:	0000                	unimp
  70:	1922                	slli	s2,s2,0x28
  72:	0000                	unimp
  74:	0000                	unimp
  76:	0000                	unimp
  78:	1924                	addi	s1,sp,184
  7a:	0000                	unimp
  7c:	1926                	slli	s2,s2,0x29
  7e:	0000                	unimp
  80:	1928                	addi	a0,sp,184
  82:	0000                	unimp
  84:	192a                	slli	s2,s2,0x2a
  86:	0000                	unimp
  88:	192c                	addi	a1,sp,184
  8a:	0000                	unimp
  8c:	192e                	slli	s2,s2,0x2b
  8e:	0000                	unimp
  90:	1930                	addi	a2,sp,184
  92:	0000                	unimp
  94:	1932                	slli	s2,s2,0x2c
  96:	0000                	unimp
  98:	1934                	addi	a3,sp,184
  9a:	0000                	unimp
  9c:	1936                	slli	s2,s2,0x2d
  9e:	0000                	unimp
  a0:	1938                	addi	a4,sp,184
  a2:	0000                	unimp
  a4:	193a                	slli	s2,s2,0x2e
  a6:	0000                	unimp
  a8:	193c                	addi	a5,sp,184
  aa:	0000                	unimp
  ac:	193e                	slli	s2,s2,0x2f
  ae:	0000                	unimp
  b0:	1940                	addi	s0,sp,180
  b2:	0000                	unimp
  b4:	1942                	slli	s2,s2,0x30
  b6:	0000                	unimp
  b8:	1944                	addi	s1,sp,180
  ba:	0000                	unimp
  bc:	1946                	slli	s2,s2,0x31
  be:	0000                	unimp
  c0:	1948                	addi	a0,sp,180
  c2:	0000                	unimp
  c4:	194a                	slli	s2,s2,0x32
  c6:	0000                	unimp
  c8:	194c                	addi	a1,sp,180
  ca:	0000                	unimp
  cc:	194e                	slli	s2,s2,0x33
  ce:	0000                	unimp
  d0:	1950                	addi	a2,sp,180
  d2:	0000                	unimp
  d4:	1952                	slli	s2,s2,0x34
  d6:	0000                	unimp
  d8:	1954                	addi	a3,sp,180
  da:	0000                	unimp
  dc:	1956                	slli	s2,s2,0x35
  de:	0000                	unimp
  e0:	1958                	addi	a4,sp,180
  e2:	0000                	unimp
  e4:	195a                	slli	s2,s2,0x36
  e6:	0000                	unimp
  e8:	195c                	addi	a5,sp,180
  ea:	0000                	unimp
  ec:	195e                	slli	s2,s2,0x37
  ee:	0000                	unimp
  f0:	1960                	addi	s0,sp,188
  f2:	0000                	unimp
  f4:	1962                	slli	s2,s2,0x38
  f6:	0000                	unimp
  f8:	1964                	addi	s1,sp,188
  fa:	0000                	unimp
  fc:	1966                	slli	s2,s2,0x39
  fe:	0000                	unimp
 100:	1968                	addi	a0,sp,188
 102:	0000                	unimp
 104:	196a                	slli	s2,s2,0x3a
 106:	0000                	unimp
 108:	196c                	addi	a1,sp,188
 10a:	0000                	unimp
 10c:	196e                	slli	s2,s2,0x3b
 10e:	0000                	unimp
 110:	1970                	addi	a2,sp,188
 112:	0000                	unimp
 114:	1972                	slli	s2,s2,0x3c
 116:	0000                	unimp
 118:	1974                	addi	a3,sp,188
 11a:	0000                	unimp
 11c:	1976                	slli	s2,s2,0x3d
 11e:	0000                	unimp
 120:	1978                	addi	a4,sp,188
 122:	0000                	unimp
 124:	197a                	slli	s2,s2,0x3e
 126:	0000                	unimp
 128:	197c                	addi	a5,sp,188
 12a:	0000                	unimp
 12c:	197e                	slli	s2,s2,0x3f
 12e:	0000                	unimp
 130:	1980                	addi	s0,sp,240
 132:	0000                	unimp
 134:	1982                	slli	s3,s3,0x20
 136:	0000                	unimp
 138:	1984                	addi	s1,sp,240
 13a:	0000                	unimp
 13c:	1986                	slli	s3,s3,0x21
 13e:	0000                	unimp
 140:	1988                	addi	a0,sp,240
 142:	0000                	unimp
 144:	198a                	slli	s3,s3,0x22
 146:	0000                	unimp
 148:	198c                	addi	a1,sp,240
 14a:	0000                	unimp
 14c:	198e                	slli	s3,s3,0x23
 14e:	0000                	unimp
 150:	1990                	addi	a2,sp,240
 152:	0000                	unimp
 154:	1992                	slli	s3,s3,0x24
 156:	0000                	unimp
 158:	1994                	addi	a3,sp,240
 15a:	0000                	unimp
 15c:	1996                	slli	s3,s3,0x25
 15e:	0000                	unimp
 160:	1998                	addi	a4,sp,240
 162:	0000                	unimp
 164:	199a                	slli	s3,s3,0x26
 166:	0000                	unimp
 168:	199c                	addi	a5,sp,240
 16a:	0000                	unimp
 16c:	199e                	slli	s3,s3,0x27
 16e:	0000                	unimp
 170:	19a0                	addi	s0,sp,248
 172:	0000                	unimp
 174:	19a2                	slli	s3,s3,0x28
 176:	0000                	unimp
 178:	19a4                	addi	s1,sp,248
 17a:	0000                	unimp
 17c:	19a6                	slli	s3,s3,0x29
 17e:	0000                	unimp
 180:	19a8                	addi	a0,sp,248
 182:	0000                	unimp
 184:	0d50                	addi	a2,sp,660
 186:	0000                	unimp
 188:	19ac                	addi	a1,sp,248
 18a:	0000                	unimp
 18c:	19ae                	slli	s3,s3,0x2b
 18e:	0000                	unimp
 190:	19b0                	addi	a2,sp,248
 192:	0000                	unimp
 194:	19b2                	slli	s3,s3,0x2c
 196:	0000                	unimp
 198:	19b4                	addi	a3,sp,248
 19a:	0000                	unimp
 19c:	19b6                	slli	s3,s3,0x2d
 19e:	0000                	unimp
 1a0:	19b8                	addi	a4,sp,248
 1a2:	0000                	unimp
 1a4:	19ba                	slli	s3,s3,0x2e
 1a6:	0000                	unimp
 1a8:	19bc                	addi	a5,sp,248
 1aa:	0000                	unimp
 1ac:	19be                	slli	s3,s3,0x2f
 1ae:	0000                	unimp
 1b0:	19c0                	addi	s0,sp,244
 1b2:	0000                	unimp
 1b4:	19c2                	slli	s3,s3,0x30
 1b6:	0000                	unimp
 1b8:	19c4                	addi	s1,sp,244
 1ba:	0000                	unimp
 1bc:	19c6                	slli	s3,s3,0x31
 1be:	0000                	unimp
 1c0:	19c8                	addi	a0,sp,244
 1c2:	0000                	unimp
 1c4:	19ca                	slli	s3,s3,0x32
 1c6:	0000                	unimp
 1c8:	19cc                	addi	a1,sp,244
 1ca:	0000                	unimp
 1cc:	19ce                	slli	s3,s3,0x33
 1ce:	0000                	unimp
 1d0:	19d0                	addi	a2,sp,244
 1d2:	0000                	unimp
 1d4:	19d2                	slli	s3,s3,0x34
	...

Disassembly of section .text:

00000200 <__riscv_save_12>:
__riscv_save_12():
     200:	7139                	addi	sp,sp,-64
     202:	4301                	li	t1,0
     204:	c66e                	sw	s11,12(sp)
     206:	a019                	j	20c <__riscv_save_10+0x4>

00000208 <__riscv_save_10>:
     208:	7139                	addi	sp,sp,-64
     20a:	5341                	li	t1,-16
     20c:	c86a                	sw	s10,16(sp)
     20e:	ca66                	sw	s9,20(sp)
     210:	cc62                	sw	s8,24(sp)
     212:	ce5e                	sw	s7,28(sp)
     214:	a019                	j	21a <__riscv_save_4+0x4>

00000216 <__riscv_save_4>:
     216:	7139                	addi	sp,sp,-64
     218:	5301                	li	t1,-32
     21a:	d05a                	sw	s6,32(sp)
     21c:	d256                	sw	s5,36(sp)
     21e:	d452                	sw	s4,40(sp)
     220:	d64e                	sw	s3,44(sp)
     222:	d84a                	sw	s2,48(sp)
     224:	da26                	sw	s1,52(sp)
     226:	dc22                	sw	s0,56(sp)
     228:	de06                	sw	ra,60(sp)
     22a:	40610133          	sub	sp,sp,t1
     22e:	8282                	jr	t0

00000230 <__riscv_save_0>:
__riscv_save_1():
     230:	1141                	addi	sp,sp,-16
     232:	c04a                	sw	s2,0(sp)
     234:	c226                	sw	s1,4(sp)
     236:	c422                	sw	s0,8(sp)
     238:	c606                	sw	ra,12(sp)
     23a:	8282                	jr	t0

0000023c <__riscv_restore_12>:
__riscv_restore_12():
     23c:	4db2                	lw	s11,12(sp)
     23e:	0141                	addi	sp,sp,16

00000240 <__riscv_restore_10>:
     240:	4d02                	lw	s10,0(sp)
     242:	4c92                	lw	s9,4(sp)
     244:	4c22                	lw	s8,8(sp)
     246:	4bb2                	lw	s7,12(sp)
     248:	0141                	addi	sp,sp,16

0000024a <__riscv_restore_4>:
     24a:	4b02                	lw	s6,0(sp)
     24c:	4a92                	lw	s5,4(sp)
     24e:	4a22                	lw	s4,8(sp)
     250:	49b2                	lw	s3,12(sp)
     252:	0141                	addi	sp,sp,16

00000254 <__riscv_restore_0>:
     254:	4902                	lw	s2,0(sp)
     256:	4492                	lw	s1,4(sp)
     258:	4422                	lw	s0,8(sp)
     25a:	40b2                	lw	ra,12(sp)
     25c:	0141                	addi	sp,sp,16
     25e:	8082                	ret

00000260 <memset>:
memset():
     260:	433d                	li	t1,15
     262:	872a                	mv	a4,a0
     264:	02c37363          	bgeu	t1,a2,28a <memset+0x2a>
     268:	00f77793          	andi	a5,a4,15
     26c:	efbd                	bnez	a5,2ea <memset+0x8a>
     26e:	e5ad                	bnez	a1,2d8 <memset+0x78>
     270:	ff067693          	andi	a3,a2,-16
     274:	8a3d                	andi	a2,a2,15
     276:	96ba                	add	a3,a3,a4
     278:	c30c                	sw	a1,0(a4)
     27a:	c34c                	sw	a1,4(a4)
     27c:	c70c                	sw	a1,8(a4)
     27e:	c74c                	sw	a1,12(a4)
     280:	0741                	addi	a4,a4,16
     282:	fed76be3          	bltu	a4,a3,278 <memset+0x18>
     286:	e211                	bnez	a2,28a <memset+0x2a>
     288:	8082                	ret
     28a:	40c306b3          	sub	a3,t1,a2
     28e:	068a                	slli	a3,a3,0x2
     290:	00000297          	auipc	t0,0x0
     294:	9696                	add	a3,a3,t0
     296:	00a68067          	jr	10(a3)
     29a:	00b70723          	sb	a1,14(a4)
     29e:	00b706a3          	sb	a1,13(a4)
     2a2:	00b70623          	sb	a1,12(a4)
     2a6:	00b705a3          	sb	a1,11(a4)
     2aa:	00b70523          	sb	a1,10(a4)
     2ae:	00b704a3          	sb	a1,9(a4)
     2b2:	00b70423          	sb	a1,8(a4)
     2b6:	00b703a3          	sb	a1,7(a4)
     2ba:	00b70323          	sb	a1,6(a4)
     2be:	00b702a3          	sb	a1,5(a4)
     2c2:	00b70223          	sb	a1,4(a4)
     2c6:	00b701a3          	sb	a1,3(a4)
     2ca:	00b70123          	sb	a1,2(a4)
     2ce:	00b700a3          	sb	a1,1(a4)
     2d2:	00b70023          	sb	a1,0(a4)
     2d6:	8082                	ret
     2d8:	0ff5f593          	andi	a1,a1,255
     2dc:	00859693          	slli	a3,a1,0x8
     2e0:	8dd5                	or	a1,a1,a3
     2e2:	01059693          	slli	a3,a1,0x10
     2e6:	8dd5                	or	a1,a1,a3
     2e8:	b761                	j	270 <memset+0x10>
     2ea:	00279693          	slli	a3,a5,0x2
     2ee:	00000297          	auipc	t0,0x0
     2f2:	9696                	add	a3,a3,t0
     2f4:	8286                	mv	t0,ra
     2f6:	fa8680e7          	jalr	-88(a3)
     2fa:	8096                	mv	ra,t0
     2fc:	17c1                	addi	a5,a5,-16
     2fe:	8f1d                	sub	a4,a4,a5
     300:	963e                	add	a2,a2,a5
     302:	f8c374e3          	bgeu	t1,a2,28a <memset+0x2a>
     306:	b7a5                	j	26e <memset+0xe>

00000308 <DMA_Tx_Init>:
DMA_Tx_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:21
 *          bufsize - DMA channel buffer size.
 *
 * @return  none
 */
void DMA_Tx_Init( DMA_Channel_TypeDef* DMA_CHx)
{
     308:	f29ff2ef          	jal	t0,230 <__riscv_save_0>
     30c:	7179                	addi	sp,sp,-48
     30e:	842a                	mv	s0,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:22
    DMA_InitTypeDef DMA_InitStructure={0};
     310:	02c00613          	li	a2,44
     314:	4581                	li	a1,0
     316:	0048                	addi	a0,sp,4
     318:	37a1                	jal	260 <memset>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:24

    RCC_AHBPeriphClockCmd( RCC_AHBPeriph_DMA1, ENABLE );
     31a:	4585                	li	a1,1
     31c:	4505                	li	a0,1
     31e:	3a3010ef          	jal	ra,1ec0 <RCC_AHBPeriphClockCmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:26

    DMA_DeInit(DMA_CHx);
     322:	8522                	mv	a0,s0
     324:	748010ef          	jal	ra,1a6c <DMA_DeInit>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:28

    DMA_InitStructure.DMA_PeripheralBaseAddr = (u32)&SPI1->DATAR;
     328:	400137b7          	lui	a5,0x40013
     32c:	07b1                	addi	a5,a5,12
     32e:	c23e                	sw	a5,4(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:29
    DMA_InitStructure.DMA_MemoryBaseAddr = (uint32_t)SPI_TxData;
     330:	8281a783          	lw	a5,-2008(gp) # 200000d0 <_edata>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:39
    DMA_InitStructure.DMA_PeripheralDataSize = DMA_PeripheralDataSize_Byte;
    DMA_InitStructure.DMA_MemoryDataSize = DMA_MemoryDataSize_Byte;
    DMA_InitStructure.DMA_Mode = DMA_Mode_Normal;
    DMA_InitStructure.DMA_Priority = DMA_Priority_High;
    DMA_InitStructure.DMA_M2M = DMA_M2M_Disable;
    DMA_Init( DMA_CHx, &DMA_InitStructure );
     334:	004c                	addi	a1,sp,4
     336:	8522                	mv	a0,s0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:29
    DMA_InitStructure.DMA_MemoryBaseAddr = (uint32_t)SPI_TxData;
     338:	c43e                	sw	a5,8(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:30
    DMA_InitStructure.DMA_DIR = DMA_DIR_PeripheralDST;
     33a:	47c1                	li	a5,16
     33c:	c63e                	sw	a5,12(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:31
    DMA_InitStructure.DMA_BufferSize = 1024;
     33e:	40000793          	li	a5,1024
     342:	c83e                	sw	a5,16(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:33
    DMA_InitStructure.DMA_MemoryInc = DMA_MemoryInc_Enable;
     344:	08000793          	li	a5,128
     348:	cc3e                	sw	a5,24(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:37
    DMA_InitStructure.DMA_Priority = DMA_Priority_High;
     34a:	6789                	lui	a5,0x2
     34c:	d43e                	sw	a5,40(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:32
    DMA_InitStructure.DMA_PeripheralInc = DMA_PeripheralInc_Disable;
     34e:	ca02                	sw	zero,20(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:34
    DMA_InitStructure.DMA_PeripheralDataSize = DMA_PeripheralDataSize_Byte;
     350:	ce02                	sw	zero,28(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:35
    DMA_InitStructure.DMA_MemoryDataSize = DMA_MemoryDataSize_Byte;
     352:	d002                	sw	zero,32(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:36
    DMA_InitStructure.DMA_Mode = DMA_Mode_Normal;
     354:	d202                	sw	zero,36(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:38
    DMA_InitStructure.DMA_M2M = DMA_M2M_Disable;
     356:	d602                	sw	zero,44(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:39
    DMA_Init( DMA_CHx, &DMA_InitStructure );
     358:	081010ef          	jal	ra,1bd8 <DMA_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:41

}
     35c:	6145                	addi	sp,sp,48
     35e:	bddd                	j	254 <__riscv_restore_0>

00000360 <CH32V_SPI_Init>:
CH32V_SPI_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:54
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void CH32V_SPI_Init(void)
{
     360:	ed1ff2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:58
    GPIO_InitTypeDef GPIO_InitStructure = {0};
    SPI_InitTypeDef  SPI_InitStructure = {0};

    RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_SPI1, ENABLE);
     364:	6505                	lui	a0,0x1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:54
{
     366:	1101                	addi	sp,sp,-32
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:58
    RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_SPI1, ENABLE);
     368:	4585                	li	a1,1
     36a:	0511                	addi	a0,a0,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:63

    GPIO_InitStructure.GPIO_Pin = GPIO_Pin_5;
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
    GPIO_Init(GPIOA, &GPIO_InitStructure);
     36c:	40011437          	lui	s0,0x40011
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:55
    GPIO_InitTypeDef GPIO_InitStructure = {0};
     370:	c002                	sw	zero,0(sp)
     372:	c202                	sw	zero,4(sp)
     374:	c402                	sw	zero,8(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:56
    SPI_InitTypeDef  SPI_InitStructure = {0};
     376:	c602                	sw	zero,12(sp)
     378:	c802                	sw	zero,16(sp)
     37a:	ca02                	sw	zero,20(sp)
     37c:	cc02                	sw	zero,24(sp)
     37e:	00011e23          	sh	zero,28(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:58
    RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_SPI1, ENABLE);
     382:	35d010ef          	jal	ra,1ede <RCC_APB2PeriphClockCmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:60
    GPIO_InitStructure.GPIO_Pin = GPIO_Pin_5;
     386:	02000793          	li	a5,32
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:61
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
     38a:	4961                	li	s2,24
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:62
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
     38c:	448d                	li	s1,3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:63
    GPIO_Init(GPIOA, &GPIO_InitStructure);
     38e:	858a                	mv	a1,sp
     390:	80040513          	addi	a0,s0,-2048 # 40010800 <_eusrstack+0x1fff0800>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:60
    GPIO_InitStructure.GPIO_Pin = GPIO_Pin_5;
     394:	807c                	sh	a5,0(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:61
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
     396:	c44a                	sw	s2,8(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:62
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
     398:	c226                	sw	s1,4(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:63
    GPIO_Init(GPIOA, &GPIO_InitStructure);
     39a:	0e9010ef          	jal	ra,1c82 <GPIO_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:65

    GPIO_InitStructure.GPIO_Pin = GPIO_Pin_6;
     39e:	04000793          	li	a5,64
     3a2:	807c                	sh	a5,0(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:67
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING;
    GPIO_Init(GPIOA, &GPIO_InitStructure);
     3a4:	858a                	mv	a1,sp
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:66
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING;
     3a6:	4791                	li	a5,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:67
    GPIO_Init(GPIOA, &GPIO_InitStructure);
     3a8:	80040513          	addi	a0,s0,-2048
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:66
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING;
     3ac:	c43e                	sw	a5,8(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:67
    GPIO_Init(GPIOA, &GPIO_InitStructure);
     3ae:	0d5010ef          	jal	ra,1c82 <GPIO_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:69

    GPIO_InitStructure.GPIO_Pin = GPIO_Pin_7;
     3b2:	08000793          	li	a5,128
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:72
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
    GPIO_Init(GPIOA, &GPIO_InitStructure);
     3b6:	858a                	mv	a1,sp
     3b8:	80040513          	addi	a0,s0,-2048
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:69
    GPIO_InitStructure.GPIO_Pin = GPIO_Pin_7;
     3bc:	807c                	sh	a5,0(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:70
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
     3be:	c44a                	sw	s2,8(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:71
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
     3c0:	c226                	sw	s1,4(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:72
    GPIO_Init(GPIOA, &GPIO_InitStructure);
     3c2:	0c1010ef          	jal	ra,1c82 <GPIO_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:74

    SPI_InitStructure.SPI_Direction = SPI_Direction_2Lines_FullDuplex;
     3c6:	010407b7          	lui	a5,0x1040
     3ca:	c63e                	sw	a5,12(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:76
    SPI_InitStructure.SPI_Mode = SPI_Mode_Master;
    SPI_InitStructure.SPI_DataSize = SPI_DataSize_8b;
     3cc:	000207b7          	lui	a5,0x20
     3d0:	c83e                	sw	a5,16(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:78
    SPI_InitStructure.SPI_CPOL = SPI_CPOL_High;
    SPI_InitStructure.SPI_CPHA = SPI_CPHA_2Edge;
     3d2:	020007b7          	lui	a5,0x2000
     3d6:	0785                	addi	a5,a5,1
     3d8:	ca3e                	sw	a5,20(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:80
    SPI_InitStructure.SPI_NSS = SPI_NSS_Soft;
    SPI_InitStructure.SPI_BaudRatePrescaler = SPI_BaudRatePrescaler_4;
     3da:	47a1                	li	a5,8
     3dc:	cc3e                	sw	a5,24(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:83
    SPI_InitStructure.SPI_FirstBit = SPI_FirstBit_MSB;
    SPI_InitStructure.SPI_CRCPolynomial = 7;
    SPI_Init(SPI1, &SPI_InitStructure);
     3de:	006c                	addi	a1,sp,12
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:82
    SPI_InitStructure.SPI_CRCPolynomial = 7;
     3e0:	479d                	li	a5,7
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:83
    SPI_Init(SPI1, &SPI_InitStructure);
     3e2:	40013537          	lui	a0,0x40013
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:82
    SPI_InitStructure.SPI_CRCPolynomial = 7;
     3e6:	86fc                	sh	a5,28(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:83
    SPI_Init(SPI1, &SPI_InitStructure);
     3e8:	39d010ef          	jal	ra,1f84 <SPI_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:85

    SPI_I2S_DMACmd(SPI1, SPI_I2S_DMAReq_Tx,DISABLE);
     3ec:	4601                	li	a2,0
     3ee:	4589                	li	a1,2
     3f0:	40013537          	lui	a0,0x40013
     3f4:	3e9010ef          	jal	ra,1fdc <SPI_I2S_DMACmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:87

    SPI_Cmd(SPI1, ENABLE);
     3f8:	4585                	li	a1,1
     3fa:	40013537          	lui	a0,0x40013
     3fe:	3c5010ef          	jal	ra,1fc2 <SPI_Cmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:89

    DMA_Tx_Init( DMA1_Channel3 );
     402:	40020437          	lui	s0,0x40020
     406:	03040513          	addi	a0,s0,48 # 40020030 <_eusrstack+0x20000030>
     40a:	3dfd                	jal	308 <DMA_Tx_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:91

    DMA_Cmd( DMA1_Channel3, DISABLE );
     40c:	4581                	li	a1,0
     40e:	03040513          	addi	a0,s0,48
     412:	7fe010ef          	jal	ra,1c10 <DMA_Cmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:92
}
     416:	6105                	addi	sp,sp,32
     418:	bd35                	j	254 <__riscv_restore_0>

0000041a <spi_dma_transmit>:
spi_dma_transmit():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:95

void spi_dma_transmit(uint8_t *data,uint16_t len)
{
     41a:	e17ff2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:96
    DMA1_Channel3->CNTR = len;//发送数据长度
     41e:	40020437          	lui	s0,0x40020
     422:	d84c                	sw	a1,52(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:97
    DMA1_Channel3->MADDR =(uint32_t)data;//数据buff地址
     424:	dc48                	sw	a0,60(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:98
    SPI_I2S_DMACmd(SPI1, SPI_I2S_DMAReq_Tx,ENABLE); //开启 DMA发送
     426:	4589                	li	a1,2
     428:	40013537          	lui	a0,0x40013
     42c:	4605                	li	a2,1
     42e:	3af010ef          	jal	ra,1fdc <SPI_I2S_DMACmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:96
    DMA1_Channel3->CNTR = len;//发送数据长度
     432:	03040413          	addi	s0,s0,48 # 40020030 <_eusrstack+0x20000030>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:99
    DMA_Cmd( DMA1_Channel3, ENABLE);//开启DMA发送
     436:	4585                	li	a1,1
     438:	8522                	mv	a0,s0
     43a:	7d6010ef          	jal	ra,1c10 <DMA_Cmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:100 (discriminator 1)
    while(DMA_GetFlagStatus(DMA1_FLAG_TC3) == RESET);//等待传输完成
     43e:	20000513          	li	a0,512
     442:	7e2010ef          	jal	ra,1c24 <DMA_GetFlagStatus>
     446:	dd65                	beqz	a0,43e <spi_dma_transmit+0x24>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:102

    DMA_ClearFlag( DMA1_FLAG_TC3);
     448:	20000513          	li	a0,512
     44c:	00b010ef          	jal	ra,1c56 <DMA_ClearFlag>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:103
    while((SPI1->STATR & SPI_I2S_FLAG_TXE)== RESET);
     450:	40013737          	lui	a4,0x40013
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:103 (discriminator 1)
     454:	271e                	lhu	a5,8(a4)
     456:	8b89                	andi	a5,a5,2
     458:	dff5                	beqz	a5,454 <spi_dma_transmit+0x3a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:104
    DMA_Cmd( DMA1_Channel3, DISABLE);
     45a:	40020537          	lui	a0,0x40020
     45e:	4581                	li	a1,0
     460:	03050513          	addi	a0,a0,48 # 40020030 <_eusrstack+0x20000030>
     464:	7ac010ef          	jal	ra,1c10 <DMA_Cmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:105
    SPI_I2S_DMACmd(SPI1, SPI_I2S_DMAReq_Tx,DISABLE);    //开启USART1 DMA发送
     468:	4601                	li	a2,0
     46a:	4589                	li	a1,2
     46c:	40013537          	lui	a0,0x40013
     470:	36d010ef          	jal	ra,1fdc <SPI_I2S_DMACmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:106
}
     474:	b3c5                	j	254 <__riscv_restore_0>

00000476 <SPI1_ReadWriteByte>:
SPI1_ReadWriteByte():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:130
 * @param   TxData - write one byte data.
 *
 * @return  Read one byte data.
 */
u8 SPI1_ReadWriteByte(u8 TxData)
{
     476:	dbbff2ef          	jal	t0,230 <__riscv_save_0>
     47a:	842a                	mv	s0,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:133
    u8 i = 0;

    while(SPI_I2S_GetFlagStatus(SPI1, SPI_I2S_FLAG_TXE) == RESET)
     47c:	4589                	li	a1,2
     47e:	40013537          	lui	a0,0x40013
     482:	375010ef          	jal	ra,1ff6 <SPI_I2S_GetFlagStatus>
     486:	d97d                	beqz	a0,47c <SPI1_ReadWriteByte+0x6>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:140
        i++;
        if(i > 2000)
            return 0;
    }

    SPI_I2S_SendData(SPI1, TxData);
     488:	85a2                	mv	a1,s0
     48a:	40013537          	lui	a0,0x40013
     48e:	361010ef          	jal	ra,1fee <SPI_I2S_SendData>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:143
    i = 0;

    while(SPI_I2S_GetFlagStatus(SPI1, SPI_I2S_FLAG_RXNE) == RESET)
     492:	4585                	li	a1,1
     494:	40013537          	lui	a0,0x40013
     498:	35f010ef          	jal	ra,1ff6 <SPI_I2S_GetFlagStatus>
     49c:	d97d                	beqz	a0,492 <SPI1_ReadWriteByte+0x1c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:149
    {
        i++;
        if(i > 2000)
            return 0;
    }
    return SPI_I2S_ReceiveData(SPI1);
     49e:	40013537          	lui	a0,0x40013
     4a2:	351010ef          	jal	ra,1ff2 <SPI_I2S_ReceiveData>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SPI.c:150
}
     4a6:	0ff57513          	andi	a0,a0,255
     4aa:	b36d                	j	254 <__riscv_restore_0>

000004ac <UDISK_CMD_Deal_Fail>:
UDISK_CMD_Deal_Fail():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:184
* Output         : None
* Return         : None
*******************************************************************************/
void UDISK_CMD_Deal_Fail( void )
{
    if( Udisk_Transfer_Status & DEF_UDISK_BLUCK_UP_FLAG )
     4ac:	84718713          	addi	a4,gp,-1977 # 200000ef <Udisk_Transfer_Status>
     4b0:	2318                	lbu	a4,0(a4)
     4b2:	84718793          	addi	a5,gp,-1977 # 200000ef <Udisk_Transfer_Status>
     4b6:	8b05                	andi	a4,a4,1
     4b8:	cf09                	beqz	a4,4d2 <UDISK_CMD_Deal_Fail+0x26>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:187
    {
        /* EP2 -> STALL */
        USBOTG_FS->UEP2_TX_CTRL = ( USBOTG_FS->UEP2_TX_CTRL & ~USBFS_UEP_T_RES_MASK ) | USBFS_UEP_T_RES_STALL;
     4ba:	500006b7          	lui	a3,0x50000
     4be:	03a6c703          	lbu	a4,58(a3) # 5000003a <_eusrstack+0x2ffe003a>
     4c2:	00376713          	ori	a4,a4,3
     4c6:	02e68d23          	sb	a4,58(a3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:188
        Udisk_Transfer_Status &= ~DEF_UDISK_BLUCK_UP_FLAG;
     4ca:	2398                	lbu	a4,0(a5)
     4cc:	0fe77713          	andi	a4,a4,254
     4d0:	a398                	sb	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:190
    }
    if( Udisk_Transfer_Status & DEF_UDISK_BLUCK_DOWN_FLAG )
     4d2:	2398                	lbu	a4,0(a5)
     4d4:	8b09                	andi	a4,a4,2
     4d6:	cf09                	beqz	a4,4f0 <UDISK_CMD_Deal_Fail+0x44>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:193
    {
        /* EP3 -> STALL */
        USBOTG_FS->UEP3_RX_CTRL = ( USBOTG_FS->UEP3_RX_CTRL & ~USBFS_UEP_R_RES_MASK ) | USBFS_UEP_R_RES_STALL;
     4d8:	500006b7          	lui	a3,0x50000
     4dc:	03f6c703          	lbu	a4,63(a3) # 5000003f <_eusrstack+0x2ffe003f>
     4e0:	00376713          	ori	a4,a4,3
     4e4:	02e68fa3          	sb	a4,63(a3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:194
        Udisk_Transfer_Status &= ~DEF_UDISK_BLUCK_DOWN_FLAG;
     4e8:	2398                	lbu	a4,0(a5)
     4ea:	0fd77713          	andi	a4,a4,253
     4ee:	a398                	sb	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:196
    }
}
     4f0:	8082                	ret

000004f2 <CMD_RD_WR_Deal_Pre>:
CMD_RD_WR_Deal_Pre():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:208
* Return         : None
*******************************************************************************/
void CMD_RD_WR_Deal_Pre( void )
{
    /* Save the sector number to be operated currently */
    UDISK_Cur_Sec_Lba = (uint32_t)mBOC.mCBW.mCBW_CB_Buf[ 2 ] << 24;
     4f2:	20001737          	lui	a4,0x20001
     4f6:	16070713          	addi	a4,a4,352 # 20001160 <mBOC>
     4fa:	3b14                	lbu	a3,17(a4)
     4fc:	82c18793          	addi	a5,gp,-2004 # 200000d4 <UDISK_Cur_Sec_Lba>
     500:	06e2                	slli	a3,a3,0x18
     502:	c394                	sw	a3,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:209
    UDISK_Cur_Sec_Lba = UDISK_Cur_Sec_Lba + ( (uint32_t)mBOC.mCBW.mCBW_CB_Buf[ 3 ] << 16 );
     504:	2b34                	lbu	a3,18(a4)
     506:	4390                	lw	a2,0(a5)
     508:	06c2                	slli	a3,a3,0x10
     50a:	96b2                	add	a3,a3,a2
     50c:	c394                	sw	a3,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:210
    UDISK_Cur_Sec_Lba = UDISK_Cur_Sec_Lba + ( (uint32_t)mBOC.mCBW.mCBW_CB_Buf[ 4 ] << 8 );
     50e:	3b34                	lbu	a3,19(a4)
     510:	4390                	lw	a2,0(a5)
     512:	06a2                	slli	a3,a3,0x8
     514:	96b2                	add	a3,a3,a2
     516:	c394                	sw	a3,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:211
    UDISK_Cur_Sec_Lba = UDISK_Cur_Sec_Lba + ( (uint32_t)mBOC.mCBW.mCBW_CB_Buf[ 5 ] );
     518:	4390                	lw	a2,0(a5)
     51a:	2b54                	lbu	a3,20(a4)
     51c:	96b2                	add	a3,a3,a2
     51e:	c394                	sw	a3,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:214
        
    /* Save the current length of data to be manipulated */                    
    UDISK_Transfer_DataLen = ( (uint32_t)mBOC.mCBW.mCBW_CB_Buf[ 7 ] << 8 );
     520:	2b74                	lbu	a3,22(a4)
     522:	83418793          	addi	a5,gp,-1996 # 200000dc <UDISK_Transfer_DataLen>
     526:	06a2                	slli	a3,a3,0x8
     528:	c394                	sw	a3,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:215
    UDISK_Transfer_DataLen = UDISK_Transfer_DataLen + ( (uint32_t)mBOC.mCBW.mCBW_CB_Buf[ 8 ] );
     52a:	4394                	lw	a3,0(a5)
     52c:	3b78                	lbu	a4,23(a4)
     52e:	9736                	add	a4,a4,a3
     530:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:216
    UDISK_Transfer_DataLen = UDISK_Transfer_DataLen * DEF_UDISK_SECTOR_SIZE;         
     532:	4398                	lw	a4,0(a5)
     534:	0732                	slli	a4,a4,0xc
     536:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:219

    /* Clear related variables */
    UDISK_Sec_Pack_Count = 0x00;
     538:	82019823          	sh	zero,-2000(gp) # 200000d8 <UDISK_Sec_Pack_Count>
UDISK_CMD_Deal_Status():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:170
    Udisk_Sense_Key  = key;
     53c:	840182a3          	sb	zero,-1979(gp) # 200000ed <Udisk_Sense_Key>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:171
    Udisk_Sense_ASC  = asc;
     540:	84018223          	sb	zero,-1980(gp) # 200000ec <Udisk_Sense_ASC>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:172
    Udisk_CSW_Status = status;
     544:	82018e23          	sb	zero,-1988(gp) # 200000e4 <Udisk_CSW_Status>
CMD_RD_WR_Deal_Pre():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:221
    UDISK_CMD_Deal_Status( 0x00, 0x00, 0x00 );
}
     548:	8082                	ret

0000054a <UDISK_SCSI_CMD_Deal>:
UDISK_SCSI_CMD_Deal():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:231
* Input          : 
* Output         : 
* Return         : None
*******************************************************************************/
void UDISK_SCSI_CMD_Deal( void )
{
     54a:	ce7ff2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:234
    uint8_t i;

    if( ( mBOC.mCBW.mCBW_Sig[ 0 ] == 'U' ) && ( mBOC.mCBW.mCBW_Sig[ 1 ] == 'S' ) 
     54e:	200017b7          	lui	a5,0x20001
     552:	1607c603          	lbu	a2,352(a5) # 20001160 <mBOC>
     556:	05500713          	li	a4,85
     55a:	84718693          	addi	a3,gp,-1977 # 200000ef <Udisk_Transfer_Status>
     55e:	32e61e63          	bne	a2,a4,89a <__stack_size+0x9a>
     562:	16078793          	addi	a5,a5,352
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:234 (discriminator 1)
     566:	3390                	lbu	a2,1(a5)
     568:	05300713          	li	a4,83
     56c:	32e61763          	bne	a2,a4,89a <__stack_size+0x9a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:235
      &&( mBOC.mCBW.mCBW_Sig[ 2 ] == 'B' ) && ( mBOC.mCBW.mCBW_Sig[ 3 ] == 'C' ) )
     570:	23b0                	lbu	a2,2(a5)
     572:	04200713          	li	a4,66
     576:	32e61263          	bne	a2,a4,89a <__stack_size+0x9a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:235 (discriminator 1)
     57a:	33b0                	lbu	a2,3(a5)
     57c:	04300713          	li	a4,67
     580:	30e61d63          	bne	a2,a4,89a <__stack_size+0x9a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:237
    {
        Udisk_CBW_Tag_Save[ 0 ] = mBOC.mCBW.mCBW_Tag[ 0 ];
     584:	23d0                	lbu	a2,4(a5)
     586:	83818713          	addi	a4,gp,-1992 # 200000e0 <Udisk_CBW_Tag_Save>
     58a:	a310                	sb	a2,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:238
        Udisk_CBW_Tag_Save[ 1 ] = mBOC.mCBW.mCBW_Tag[ 1 ];
     58c:	33d0                	lbu	a2,5(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:242
        Udisk_CBW_Tag_Save[ 2 ] = mBOC.mCBW.mCBW_Tag[ 2 ];
        Udisk_CBW_Tag_Save[ 3 ] = mBOC.mCBW.mCBW_Tag[ 3 ];

        UDISK_Transfer_DataLen = ( uint32_t )mBOC.mCBW.mCBW_DataLen[ 3 ] << 24;
     58e:	37ac                	lbu	a1,11(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:238
        Udisk_CBW_Tag_Save[ 1 ] = mBOC.mCBW.mCBW_Tag[ 1 ];
     590:	b310                	sb	a2,1(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:239
        Udisk_CBW_Tag_Save[ 2 ] = mBOC.mCBW.mCBW_Tag[ 2 ];
     592:	23f0                	lbu	a2,6(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:242
        UDISK_Transfer_DataLen = ( uint32_t )mBOC.mCBW.mCBW_DataLen[ 3 ] << 24;
     594:	05e2                	slli	a1,a1,0x18
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:239
        Udisk_CBW_Tag_Save[ 2 ] = mBOC.mCBW.mCBW_Tag[ 2 ];
     596:	a330                	sb	a2,2(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:240
        Udisk_CBW_Tag_Save[ 3 ] = mBOC.mCBW.mCBW_Tag[ 3 ];
     598:	33f0                	lbu	a2,7(a5)
     59a:	b330                	sb	a2,3(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:242
        UDISK_Transfer_DataLen = ( uint32_t )mBOC.mCBW.mCBW_DataLen[ 3 ] << 24;
     59c:	83418613          	addi	a2,gp,-1996 # 200000dc <UDISK_Transfer_DataLen>
     5a0:	c20c                	sw	a1,0(a2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:243
        UDISK_Transfer_DataLen += ( ( uint32_t )mBOC.mCBW.mCBW_DataLen[ 2 ] << 16 );
     5a2:	27ac                	lbu	a1,10(a5)
     5a4:	4208                	lw	a0,0(a2)
     5a6:	83418713          	addi	a4,gp,-1996 # 200000dc <UDISK_Transfer_DataLen>
     5aa:	05c2                	slli	a1,a1,0x10
     5ac:	95aa                	add	a1,a1,a0
     5ae:	c20c                	sw	a1,0(a2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:244
        UDISK_Transfer_DataLen += ( ( uint32_t )mBOC.mCBW.mCBW_DataLen[ 1 ] << 8 );
     5b0:	378c                	lbu	a1,9(a5)
     5b2:	4208                	lw	a0,0(a2)
     5b4:	05a2                	slli	a1,a1,0x8
     5b6:	95aa                	add	a1,a1,a0
     5b8:	c20c                	sw	a1,0(a2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:245
        UDISK_Transfer_DataLen += ( ( uint32_t )mBOC.mCBW.mCBW_DataLen[ 0 ] );
     5ba:	4208                	lw	a0,0(a2)
     5bc:	278c                	lbu	a1,8(a5)
     5be:	95aa                	add	a1,a1,a0
     5c0:	c20c                	sw	a1,0(a2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:247
        
        if( UDISK_Transfer_DataLen )                                     
     5c2:	4210                	lw	a2,0(a2)
     5c4:	ca09                	beqz	a2,5d6 <UDISK_SCSI_CMD_Deal+0x8c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:249
        {
            if( mBOC.mCBW.mCBW_Flag & 0x80 )
     5c6:	00c78603          	lb	a2,12(a5)
     5ca:	04065c63          	bgez	a2,622 <UDISK_SCSI_CMD_Deal+0xd8>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:251
            {
                Udisk_Transfer_Status |= DEF_UDISK_BLUCK_UP_FLAG;
     5ce:	2290                	lbu	a2,0(a3)
     5d0:	00166613          	ori	a2,a2,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:255
            }    
            else
            {    
                Udisk_Transfer_Status |= DEF_UDISK_BLUCK_DOWN_FLAG;
     5d4:	a290                	sb	a2,0(a3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:258
            }
        }
        Udisk_Transfer_Status |= DEF_UDISK_CSW_UP_FLAG;
     5d6:	2290                	lbu	a2,0(a3)
     5d8:	02300593          	li	a1,35
     5dc:	00466613          	ori	a2,a2,4
     5e0:	a290                	sb	a2,0(a3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:261
        
        /* SCSI command packet processing */ 
        switch( mBOC.mCBW.mCBW_CB_Buf[ 0 ] )
     5e2:	37f0                	lbu	a2,15(a5)
     5e4:	12b60563          	beq	a2,a1,70e <UDISK_SCSI_CMD_Deal+0x1c4>
     5e8:	08c5eb63          	bltu	a1,a2,67e <UDISK_SCSI_CMD_Deal+0x134>
     5ec:	45c9                	li	a1,18
     5ee:	0cb60863          	beq	a2,a1,6be <UDISK_SCSI_CMD_Deal+0x174>
     5f2:	02c5ec63          	bltu	a1,a2,62a <UDISK_SCSI_CMD_Deal+0xe0>
     5f6:	84518513          	addi	a0,gp,-1979 # 200000ed <Udisk_Sense_Key>
     5fa:	84418593          	addi	a1,gp,-1980 # 200000ec <Udisk_Sense_ASC>
     5fe:	83c18713          	addi	a4,gp,-1988 # 200000e4 <Udisk_CSW_Status>
     602:	26060763          	beqz	a2,870 <__stack_size+0x70>
     606:	480d                	li	a6,3
     608:	23060b63          	beq	a2,a6,83e <__stack_size+0x3e>
UDISK_CMD_Deal_Status():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:170
    Udisk_Sense_Key  = key;
     60c:	4715                	li	a4,5
     60e:	84e182a3          	sb	a4,-1979(gp) # 200000ed <Udisk_Sense_Key>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:171
    Udisk_Sense_ASC  = asc;
     612:	02000713          	li	a4,32
     616:	84e18223          	sb	a4,-1980(gp) # 200000ec <Udisk_Sense_ASC>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:172
    Udisk_CSW_Status = status;
     61a:	4705                	li	a4,1
     61c:	82e18e23          	sb	a4,-1988(gp) # 200000e4 <Udisk_CSW_Status>
     620:	ac85                	j	890 <__stack_size+0x90>
UDISK_SCSI_CMD_Deal():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:255
                Udisk_Transfer_Status |= DEF_UDISK_BLUCK_DOWN_FLAG;
     622:	2290                	lbu	a2,0(a3)
     624:	00266613          	ori	a2,a2,2
     628:	b775                	j	5d4 <UDISK_SCSI_CMD_Deal+0x8a>
     62a:	45ed                	li	a1,27
     62c:	0cb60a63          	beq	a2,a1,700 <UDISK_SCSI_CMD_Deal+0x1b6>
     630:	45f9                	li	a1,30
     632:	0cb60763          	beq	a2,a1,700 <UDISK_SCSI_CMD_Deal+0x1b6>
     636:	45e9                	li	a1,26
     638:	fcb61ae3          	bne	a2,a1,60c <UDISK_SCSI_CMD_Deal+0xc2>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:368
                }                
                break;
    
            case  CMD_U_MODE_SENSE:                                                 
                /* CMD: 0x1A */
                if( ( Udisk_Status & DEF_UDISK_EN_FLAG ) )
     63c:	8461c683          	lbu	a3,-1978(gp) # 200000ee <Udisk_Status>
     640:	8a85                	andi	a3,a3,1
     642:	18068363          	beqz	a3,7c8 <UDISK_SCSI_CMD_Deal+0x27e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:370
                {    
                    if( UDISK_Transfer_DataLen > 0x0C )
     646:	4310                	lw	a2,0(a4)
     648:	46b1                	li	a3,12
     64a:	00c6f363          	bgeu	a3,a2,650 <UDISK_SCSI_CMD_Deal+0x106>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:372
                    {
                        UDISK_Transfer_DataLen = 0x0C;
     64e:	c314                	sw	a3,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:376
                    }
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
                    {
                        mBOC.buf[ i ] = UDISK_Mode_Sense_1A[ i ];    
     650:	660d                	lui	a2,0x3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:231
{
     652:	4681                	li	a3,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:376
                        mBOC.buf[ i ] = UDISK_Mode_Sense_1A[ i ];    
     654:	50460613          	addi	a2,a2,1284 # 3504 <UDISK_Mode_Sense_1A>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:374
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     658:	430c                	lw	a1,0(a4)
     65a:	14b6ed63          	bltu	a3,a1,7b4 <UDISK_SCSI_CMD_Deal+0x26a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:378
                    } 
                    mBOC.buf[ 4 ] = ( Udisk_Capability >> 24 ) & 0xFF;
     65e:	84018713          	addi	a4,gp,-1984 # 200000e8 <Udisk_Capability>
     662:	4314                	lw	a3,0(a4)
     664:	82e1                	srli	a3,a3,0x18
     666:	a3d4                	sb	a3,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:379
                    mBOC.buf[ 5 ] = ( Udisk_Capability >> 16 ) & 0xFF;
     668:	4314                	lw	a3,0(a4)
     66a:	82c1                	srli	a3,a3,0x10
     66c:	b3d4                	sb	a3,5(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:380
                    mBOC.buf[ 6 ] = ( Udisk_Capability >> 8  ) & 0xFF;
     66e:	4314                	lw	a3,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:381
                    mBOC.buf[ 7 ] = ( Udisk_Capability       ) & 0xFF;
     670:	4318                	lw	a4,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:380
                    mBOC.buf[ 6 ] = ( Udisk_Capability >> 8  ) & 0xFF;
     672:	82a1                	srli	a3,a3,0x8
     674:	a3f4                	sb	a3,6(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:381
                    mBOC.buf[ 7 ] = ( Udisk_Capability       ) & 0xFF;
     676:	b3f8                	sb	a4,7(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:408
                    } 
                    mBOC.buf[ 8 ]  = ( Udisk_Capability >> 24 ) & 0xFF;
                    mBOC.buf[ 9 ]  = ( Udisk_Capability >> 16 ) & 0xFF;
                    mBOC.buf[ 10 ] = ( Udisk_Capability >> 8  ) & 0xFF;
                    mBOC.buf[ 11 ] = ( Udisk_Capability       ) & 0xFF;
                    pEndp2_Buf = mBOC.buf;         
     678:	84f1a423          	sw	a5,-1976(gp) # 200000f0 <pEndp2_Buf>
     67c:	a02d                	j	6a6 <UDISK_SCSI_CMD_Deal+0x15c>
     67e:	02a00593          	li	a1,42
     682:	00b60c63          	beq	a2,a1,69a <UDISK_SCSI_CMD_Deal+0x150>
     686:	02c5e163          	bltu	a1,a2,6a8 <UDISK_SCSI_CMD_Deal+0x15e>
     68a:	02500593          	li	a1,37
     68e:	0cb60863          	beq	a2,a1,75e <UDISK_SCSI_CMD_Deal+0x214>
     692:	02800793          	li	a5,40
     696:	f6f61be3          	bne	a2,a5,60c <UDISK_SCSI_CMD_Deal+0xc2>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:340
                if( ( Udisk_Status & DEF_UDISK_EN_FLAG ) )
     69a:	8461c783          	lbu	a5,-1978(gp) # 200000ee <Udisk_Status>
     69e:	8b85                	andi	a5,a5,1
     6a0:	12078463          	beqz	a5,7c8 <UDISK_SCSI_CMD_Deal+0x27e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:342
                    CMD_RD_WR_Deal_Pre( );
     6a4:	35b9                	jal	4f2 <CMD_RD_WR_Deal_Pre>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:482
        UDISK_CMD_Deal_Status( 0x05, 0x20, 0x02 );
        Udisk_Transfer_Status |= DEF_UDISK_BLUCK_UP_FLAG;
        Udisk_Transfer_Status |= DEF_UDISK_BLUCK_DOWN_FLAG;
        UDISK_CMD_Deal_Fail(  );
    }
}
     6a6:	b67d                	j	254 <__riscv_restore_0>
     6a8:	02f00593          	li	a1,47
     6ac:	04b60a63          	beq	a2,a1,700 <UDISK_SCSI_CMD_Deal+0x1b6>
     6b0:	05a00593          	li	a1,90
     6b4:	12b60663          	beq	a2,a1,7e0 <UDISK_SCSI_CMD_Deal+0x296>
     6b8:	02e00793          	li	a5,46
     6bc:	bfe9                	j	696 <UDISK_SCSI_CMD_Deal+0x14c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:265
                if( UDISK_Transfer_DataLen > 0x24 )
     6be:	4314                	lw	a3,0(a4)
     6c0:	02400793          	li	a5,36
     6c4:	00d7f363          	bgeu	a5,a3,6ca <UDISK_SCSI_CMD_Deal+0x180>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:267
                    UDISK_Transfer_DataLen = 0x24;
     6c8:	c31c                	sw	a5,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:272
                UDISK_Inquity_Tab[ 32 ] =  (uint8_t)( Flash_ID >> 24 );
     6ca:	8681a683          	lw	a3,-1944(gp) # 20000110 <Flash_ID>
     6ce:	200007b7          	lui	a5,0x20000
     6d2:	00078793          	mv	a5,a5
     6d6:	82e1                	srli	a3,a3,0x18
     6d8:	02d78023          	sb	a3,32(a5) # 20000020 <_data_vma+0x20>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:273
                UDISK_Inquity_Tab[ 33 ] =  (uint8_t)( Flash_ID >> 16 );
     6dc:	8681a683          	lw	a3,-1944(gp) # 20000110 <Flash_ID>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:278
                UDISK_Inquity_Tab[ 0 ] = 0x00;
     6e0:	00078023          	sb	zero,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:273
                UDISK_Inquity_Tab[ 33 ] =  (uint8_t)( Flash_ID >> 16 );
     6e4:	82c1                	srli	a3,a3,0x10
     6e6:	02d780a3          	sb	a3,33(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:274
                UDISK_Inquity_Tab[ 34 ] =  (uint8_t)( Flash_ID >> 8 );
     6ea:	8681a683          	lw	a3,-1944(gp) # 20000110 <Flash_ID>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:275
                UDISK_Inquity_Tab[ 35 ] =  (uint8_t)( Flash_ID );
     6ee:	8681a703          	lw	a4,-1944(gp) # 20000110 <Flash_ID>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:274
                UDISK_Inquity_Tab[ 34 ] =  (uint8_t)( Flash_ID >> 8 );
     6f2:	82a1                	srli	a3,a3,0x8
     6f4:	02d78123          	sb	a3,34(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:275
                UDISK_Inquity_Tab[ 35 ] =  (uint8_t)( Flash_ID );
     6f8:	02e781a3          	sb	a4,35(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:300
                    pEndp2_Buf = mBOC.buf;   
     6fc:	84f1a423          	sw	a5,-1976(gp) # 200000f0 <pEndp2_Buf>
UDISK_CMD_Deal_Status():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:170
    Udisk_Sense_Key  = key;
     700:	840182a3          	sb	zero,-1979(gp) # 200000ed <Udisk_Sense_Key>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:171
    Udisk_Sense_ASC  = asc;
     704:	84018223          	sb	zero,-1980(gp) # 200000ec <Udisk_Sense_ASC>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:172
    Udisk_CSW_Status = status;
     708:	82018e23          	sb	zero,-1988(gp) # 200000e4 <Udisk_CSW_Status>
     70c:	bf69                	j	6a6 <UDISK_SCSI_CMD_Deal+0x15c>
UDISK_SCSI_CMD_Deal():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:285
                if( ( Udisk_Status & DEF_UDISK_EN_FLAG ) )
     70e:	8461c683          	lbu	a3,-1978(gp) # 200000ee <Udisk_Status>
     712:	8a85                	andi	a3,a3,1
     714:	cad5                	beqz	a3,7c8 <UDISK_SCSI_CMD_Deal+0x27e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:287
                    if( UDISK_Transfer_DataLen > 0x0C )
     716:	4310                	lw	a2,0(a4)
     718:	46b1                	li	a3,12
     71a:	00c6f363          	bgeu	a3,a2,720 <UDISK_SCSI_CMD_Deal+0x1d6>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:289
                        UDISK_Transfer_DataLen = 0x0C; 
     71e:	c314                	sw	a3,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:294
                        mBOC.buf[ i ] = UDISK_Rd_Format_Capacity[ i ];
     720:	660d                	lui	a2,0x3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:231
{
     722:	4681                	li	a3,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:294
                        mBOC.buf[ i ] = UDISK_Rd_Format_Capacity[ i ];
     724:	51060613          	addi	a2,a2,1296 # 3510 <UDISK_Rd_Format_Capacity>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:292
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     728:	430c                	lw	a1,0(a4)
     72a:	02b6e063          	bltu	a3,a1,74a <UDISK_SCSI_CMD_Deal+0x200>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:296
                    mBOC.buf[ 4 ] = ( ( Udisk_Capability >> 24 ) & 0xFF );
     72e:	84018713          	addi	a4,gp,-1984 # 200000e8 <Udisk_Capability>
     732:	4314                	lw	a3,0(a4)
     734:	82e1                	srli	a3,a3,0x18
     736:	a3d4                	sb	a3,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:297
                    mBOC.buf[ 5 ] = ( ( Udisk_Capability >> 16 ) & 0xFF );
     738:	4314                	lw	a3,0(a4)
     73a:	82c1                	srli	a3,a3,0x10
     73c:	b3d4                	sb	a3,5(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:298
                    mBOC.buf[ 6 ] = ( ( Udisk_Capability >> 8  ) & 0xFF );
     73e:	4314                	lw	a3,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:299
                    mBOC.buf[ 7 ] = ( ( Udisk_Capability       ) & 0xFF );
     740:	4318                	lw	a4,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:298
                    mBOC.buf[ 6 ] = ( ( Udisk_Capability >> 8  ) & 0xFF );
     742:	82a1                	srli	a3,a3,0x8
     744:	a3f4                	sb	a3,6(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:299
                    mBOC.buf[ 7 ] = ( ( Udisk_Capability       ) & 0xFF );
     746:	b3f8                	sb	a4,7(a5)
     748:	bf55                	j	6fc <UDISK_SCSI_CMD_Deal+0x1b2>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:294
                        mBOC.buf[ i ] = UDISK_Rd_Format_Capacity[ i ];
     74a:	00d60533          	add	a0,a2,a3
     74e:	2108                	lbu	a0,0(a0)
     750:	00d785b3          	add	a1,a5,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:292
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     754:	0685                	addi	a3,a3,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:294
                        mBOC.buf[ i ] = UDISK_Rd_Format_Capacity[ i ];
     756:	a188                	sb	a0,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:292
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     758:	0ff6f693          	andi	a3,a3,255
     75c:	b7f1                	j	728 <UDISK_SCSI_CMD_Deal+0x1de>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:312
                if( ( Udisk_Status & DEF_UDISK_EN_FLAG ) )  
     75e:	8461c683          	lbu	a3,-1978(gp) # 200000ee <Udisk_Status>
     762:	8a85                	andi	a3,a3,1
     764:	c2b5                	beqz	a3,7c8 <UDISK_SCSI_CMD_Deal+0x27e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:314
                    if( UDISK_Transfer_DataLen > 0x08 )
     766:	4310                	lw	a2,0(a4)
     768:	46a1                	li	a3,8
     76a:	00c6f363          	bgeu	a3,a2,770 <UDISK_SCSI_CMD_Deal+0x226>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:316
                        UDISK_Transfer_DataLen = 0x08;
     76e:	c314                	sw	a3,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:231
{
     770:	4681                	li	a3,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:321
                        mBOC.buf[ i ] = UDISK_Rd_Capacity[ i ];    
     772:	81818613          	addi	a2,gp,-2024 # 200000c0 <UDISK_Rd_Capacity>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:319
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     776:	430c                	lw	a1,0(a4)
     778:	02b6e463          	bltu	a3,a1,7a0 <UDISK_SCSI_CMD_Deal+0x256>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:323
                    mBOC.buf[ 0 ] = ( ( Udisk_Capability - 1 ) >> 24 ) & 0xFF;
     77c:	84018713          	addi	a4,gp,-1984 # 200000e8 <Udisk_Capability>
     780:	4314                	lw	a3,0(a4)
     782:	16fd                	addi	a3,a3,-1
     784:	82e1                	srli	a3,a3,0x18
     786:	a394                	sb	a3,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:324
                    mBOC.buf[ 1 ] = ( ( Udisk_Capability - 1 ) >> 16 ) & 0xFF;
     788:	4314                	lw	a3,0(a4)
     78a:	16fd                	addi	a3,a3,-1
     78c:	82c1                	srli	a3,a3,0x10
     78e:	b394                	sb	a3,1(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:325
                    mBOC.buf[ 2 ] = ( ( Udisk_Capability - 1 ) >> 8  ) & 0xFF;
     790:	4314                	lw	a3,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:326
                    mBOC.buf[ 3 ] = ( ( Udisk_Capability - 1 )       ) & 0xFF;
     792:	4318                	lw	a4,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:325
                    mBOC.buf[ 2 ] = ( ( Udisk_Capability - 1 ) >> 8  ) & 0xFF;
     794:	16fd                	addi	a3,a3,-1
     796:	82a1                	srli	a3,a3,0x8
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:326
                    mBOC.buf[ 3 ] = ( ( Udisk_Capability - 1 )       ) & 0xFF;
     798:	177d                	addi	a4,a4,-1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:325
                    mBOC.buf[ 2 ] = ( ( Udisk_Capability - 1 ) >> 8  ) & 0xFF;
     79a:	a3b4                	sb	a3,2(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:326
                    mBOC.buf[ 3 ] = ( ( Udisk_Capability - 1 )       ) & 0xFF;
     79c:	b3b8                	sb	a4,3(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:328
                    pEndp2_Buf = mBOC.buf;     
     79e:	bfb9                	j	6fc <UDISK_SCSI_CMD_Deal+0x1b2>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:321
                        mBOC.buf[ i ] = UDISK_Rd_Capacity[ i ];    
     7a0:	00d60533          	add	a0,a2,a3
     7a4:	2108                	lbu	a0,0(a0)
     7a6:	00d785b3          	add	a1,a5,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:319
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     7aa:	0685                	addi	a3,a3,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:321
                        mBOC.buf[ i ] = UDISK_Rd_Capacity[ i ];    
     7ac:	a188                	sb	a0,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:319
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     7ae:	0ff6f693          	andi	a3,a3,255
     7b2:	b7d1                	j	776 <UDISK_SCSI_CMD_Deal+0x22c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:376
                        mBOC.buf[ i ] = UDISK_Mode_Sense_1A[ i ];    
     7b4:	00d60533          	add	a0,a2,a3
     7b8:	2108                	lbu	a0,0(a0)
     7ba:	00d785b3          	add	a1,a5,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:374
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     7be:	0685                	addi	a3,a3,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:376
                        mBOC.buf[ i ] = UDISK_Mode_Sense_1A[ i ];    
     7c0:	a188                	sb	a0,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:374
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     7c2:	0ff6f693          	andi	a3,a3,255
     7c6:	bd49                	j	658 <UDISK_SCSI_CMD_Deal+0x10e>
UDISK_CMD_Deal_Status():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:170
    Udisk_Sense_Key  = key;
     7c8:	4709                	li	a4,2
     7ca:	84e182a3          	sb	a4,-1979(gp) # 200000ed <Udisk_Sense_Key>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:171
    Udisk_Sense_ASC  = asc;
     7ce:	03a00713          	li	a4,58
     7d2:	84e18223          	sb	a4,-1980(gp) # 200000ec <Udisk_Sense_ASC>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:172
    Udisk_CSW_Status = status;
     7d6:	4705                	li	a4,1
     7d8:	82e18e23          	sb	a4,-1988(gp) # 200000e4 <Udisk_CSW_Status>
UDISK_SCSI_CMD_Deal():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:480
        UDISK_CMD_Deal_Fail(  );
     7dc:	39c1                	jal	4ac <UDISK_CMD_Deal_Fail>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:482
}
     7de:	b5e1                	j	6a6 <UDISK_SCSI_CMD_Deal+0x15c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:393
                if( mBOC.mCBW.mCBW_CB_Buf[ 2 ] == 0x3F )
     7e0:	3b90                	lbu	a2,17(a5)
     7e2:	03f00693          	li	a3,63
     7e6:	04d61663          	bne	a2,a3,832 <__stack_size+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:395
                    if( UDISK_Transfer_DataLen > 0x10 )
     7ea:	4310                	lw	a2,0(a4)
     7ec:	46c1                	li	a3,16
     7ee:	00c6f363          	bgeu	a3,a2,7f4 <UDISK_SCSI_CMD_Deal+0x2aa>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:397
                        UDISK_Transfer_DataLen = 0x10;
     7f2:	c314                	sw	a3,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:402
                        mBOC.buf[ i ] = UDISK_Mode_Senese_5A[ i ];    
     7f4:	660d                	lui	a2,0x3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:231
{
     7f6:	4681                	li	a3,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:402
                        mBOC.buf[ i ] = UDISK_Mode_Senese_5A[ i ];    
     7f8:	4f460613          	addi	a2,a2,1268 # 34f4 <UDISK_Mode_Senese_5A>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:400
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     7fc:	430c                	lw	a1,0(a4)
     7fe:	02b6e063          	bltu	a3,a1,81e <__stack_size+0x1e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:404
                    mBOC.buf[ 8 ]  = ( Udisk_Capability >> 24 ) & 0xFF;
     802:	84018713          	addi	a4,gp,-1984 # 200000e8 <Udisk_Capability>
     806:	4314                	lw	a3,0(a4)
     808:	82e1                	srli	a3,a3,0x18
     80a:	a794                	sb	a3,8(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:405
                    mBOC.buf[ 9 ]  = ( Udisk_Capability >> 16 ) & 0xFF;
     80c:	4314                	lw	a3,0(a4)
     80e:	82c1                	srli	a3,a3,0x10
     810:	b794                	sb	a3,9(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:406
                    mBOC.buf[ 10 ] = ( Udisk_Capability >> 8  ) & 0xFF;
     812:	4314                	lw	a3,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:407
                    mBOC.buf[ 11 ] = ( Udisk_Capability       ) & 0xFF;
     814:	4318                	lw	a4,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:406
                    mBOC.buf[ 10 ] = ( Udisk_Capability >> 8  ) & 0xFF;
     816:	82a1                	srli	a3,a3,0x8
     818:	a7b4                	sb	a3,10(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:407
                    mBOC.buf[ 11 ] = ( Udisk_Capability       ) & 0xFF;
     81a:	b7b8                	sb	a4,11(a5)
     81c:	bdb1                	j	678 <UDISK_SCSI_CMD_Deal+0x12e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:402
                        mBOC.buf[ i ] = UDISK_Mode_Senese_5A[ i ];    
     81e:	00d60533          	add	a0,a2,a3
     822:	2108                	lbu	a0,0(a0)
     824:	00d785b3          	add	a1,a5,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:400
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     828:	0685                	addi	a3,a3,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:402
                        mBOC.buf[ i ] = UDISK_Mode_Senese_5A[ i ];    
     82a:	a188                	sb	a0,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:400
                    for( i = 0x00; i < UDISK_Transfer_DataLen; i++ )
     82c:	0ff6f693          	andi	a3,a3,255
     830:	b7f1                	j	7fc <UDISK_SCSI_CMD_Deal+0x2b2>
UDISK_CMD_Deal_Status():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:170
    Udisk_Sense_Key  = key;
     832:	4715                	li	a4,5
     834:	84e182a3          	sb	a4,-1979(gp) # 200000ed <Udisk_Sense_Key>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:171
    Udisk_Sense_ASC  = asc;
     838:	02000713          	li	a4,32
     83c:	bf59                	j	7d2 <UDISK_SCSI_CMD_Deal+0x288>
UDISK_SCSI_CMD_Deal():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:419
                mBOC.ReqSense.ErrorCode = 0x70;
     83e:	07000693          	li	a3,112
     842:	a396                	sh	a3,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:421
                mBOC.ReqSense.SenseKey  = Udisk_Sense_Key;
     844:	2114                	lbu	a3,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:422
                mBOC.ReqSense.Information[ 0 ] = 0x00;
     846:	000781a3          	sb	zero,3(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:427
                mBOC.ReqSense.Reserved2[ 0 ] = 0x00;
     84a:	0007a423          	sw	zero,8(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:421
                mBOC.ReqSense.SenseKey  = Udisk_Sense_Key;
     84e:	a3b4                	sb	a3,2(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:423
                mBOC.ReqSense.Information[ 1 ] = 0x00;
     850:	0a0006b7          	lui	a3,0xa000
     854:	c3d4                	sw	a3,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:431
                mBOC.ReqSense.SenseCode = Udisk_Sense_ASC;
     856:	2194                	lbu	a3,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:432
                mBOC.ReqSense.SenseCodeQua = 0x00;
     858:	000786a3          	sb	zero,13(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:433
                mBOC.ReqSense.Reserved3[ 0 ] = 0x00;
     85c:	00079723          	sh	zero,14(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:431
                mBOC.ReqSense.SenseCode = Udisk_Sense_ASC;
     860:	a7d4                	sb	a3,12(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:435
                mBOC.ReqSense.Reserved3[ 2 ] = 0x00;
     862:	00079823          	sh	zero,16(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:437
                pEndp2_Buf = mBOC.buf;
     866:	84f1a423          	sw	a5,-1976(gp) # 200000f0 <pEndp2_Buf>
UDISK_CMD_Deal_Status():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:172
    Udisk_CSW_Status = status;
     86a:	00070023          	sb	zero,0(a4)
     86e:	bd25                	j	6a6 <UDISK_SCSI_CMD_Deal+0x15c>
UDISK_SCSI_CMD_Deal():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:441
                if( Udisk_Status & DEF_UDISK_EN_FLAG )
     870:	8461c783          	lbu	a5,-1978(gp) # 200000ee <Udisk_Status>
     874:	8b85                	andi	a5,a5,1
     876:	c791                	beqz	a5,882 <__stack_size+0x82>
UDISK_CMD_Deal_Status():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:170
    Udisk_Sense_Key  = key;
     878:	00050023          	sb	zero,0(a0) # 40013000 <_eusrstack+0x1fff3000>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:171
    Udisk_Sense_ASC  = asc;
     87c:	00058023          	sb	zero,0(a1)
     880:	b7ed                	j	86a <__stack_size+0x6a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:170
    Udisk_Sense_Key  = key;
     882:	4789                	li	a5,2
     884:	a11c                	sb	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:171
    Udisk_Sense_ASC  = asc;
     886:	03a00793          	li	a5,58
     88a:	a19c                	sb	a5,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:172
    Udisk_CSW_Status = status;
     88c:	4785                	li	a5,1
     88e:	a31c                	sb	a5,0(a4)
UDISK_SCSI_CMD_Deal():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:470
                Udisk_Transfer_Status |= DEF_UDISK_BLUCK_UP_FLAG; 
     890:	229c                	lbu	a5,0(a3)
     892:	0017e793          	ori	a5,a5,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:479
        Udisk_Transfer_Status |= DEF_UDISK_BLUCK_DOWN_FLAG;
     896:	a29c                	sb	a5,0(a3)
     898:	b791                	j	7dc <UDISK_SCSI_CMD_Deal+0x292>
UDISK_CMD_Deal_Status():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:170
    Udisk_Sense_Key  = key;
     89a:	4715                	li	a4,5
     89c:	84e182a3          	sb	a4,-1979(gp) # 200000ed <Udisk_Sense_Key>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:171
    Udisk_Sense_ASC  = asc;
     8a0:	02000713          	li	a4,32
     8a4:	84e18223          	sb	a4,-1980(gp) # 200000ec <Udisk_Sense_ASC>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:172
    Udisk_CSW_Status = status;
     8a8:	4709                	li	a4,2
     8aa:	82e18e23          	sb	a4,-1988(gp) # 200000e4 <Udisk_CSW_Status>
UDISK_SCSI_CMD_Deal():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:478
        Udisk_Transfer_Status |= DEF_UDISK_BLUCK_UP_FLAG;
     8ae:	229c                	lbu	a5,0(a3)
     8b0:	0017e793          	ori	a5,a5,1
     8b4:	a29c                	sb	a5,0(a3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:479
        Udisk_Transfer_Status |= DEF_UDISK_BLUCK_DOWN_FLAG;
     8b6:	229c                	lbu	a5,0(a3)
     8b8:	0027e793          	ori	a5,a5,2
     8bc:	bfe9                	j	896 <__stack_size+0x96>

000008be <UDISK_Bulk_UpData>:
UDISK_Bulk_UpData():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:566
*                  *pBuf---data address pointer
* Output         : None
* Return         : None
*******************************************************************************/
void UDISK_Bulk_UpData( void )
{                                            
     8be:	973ff2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:569
    uint32_t  len;

    if( UDISK_Transfer_DataLen > UDISK_Pack_Size )
     8c2:	20000737          	lui	a4,0x20000
     8c6:	0a870713          	addi	a4,a4,168 # 200000a8 <UDISK_Pack_Size>
     8ca:	83418793          	addi	a5,gp,-1996 # 200000dc <UDISK_Transfer_DataLen>
     8ce:	2316                	lhu	a3,0(a4)
     8d0:	4390                	lw	a2,0(a5)
     8d2:	02c6f163          	bgeu	a3,a2,8f4 <UDISK_Bulk_UpData+0x36>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:571
    {
        len = UDISK_Pack_Size;
     8d6:	2312                	lhu	a2,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:572
        UDISK_Transfer_DataLen -= UDISK_Pack_Size;
     8d8:	2316                	lhu	a3,0(a4)
     8da:	4398                	lw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:571
        len = UDISK_Pack_Size;
     8dc:	0642                	slli	a2,a2,0x10
     8de:	8241                	srli	a2,a2,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:572
        UDISK_Transfer_DataLen -= UDISK_Pack_Size;
     8e0:	8f15                	sub	a4,a4,a3
     8e2:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:582
        UDISK_Transfer_DataLen = 0x00;
        Udisk_Transfer_Status &= ~DEF_UDISK_BLUCK_UP_FLAG;        
    }

    /* Load the data into the upload buffer and start the upload */
    USBFS_Endp_DataUp(DEF_UEP2, pEndp2_Buf, len, DEF_UEP_CPY_LOAD );
     8e4:	8481a583          	lw	a1,-1976(gp) # 200000f0 <pEndp2_Buf>
     8e8:	0642                	slli	a2,a2,0x10
     8ea:	4685                	li	a3,1
     8ec:	8241                	srli	a2,a2,0x10
     8ee:	4509                	li	a0,2
     8f0:	2e9d                	jal	c66 <USBFS_Endp_DataUp>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:583
}
     8f2:	b28d                	j	254 <__riscv_restore_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:576
        len = UDISK_Transfer_DataLen;
     8f4:	4390                	lw	a2,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:577
        UDISK_Transfer_DataLen = 0x00;
     8f6:	0007a023          	sw	zero,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:578
        Udisk_Transfer_Status &= ~DEF_UDISK_BLUCK_UP_FLAG;        
     8fa:	84718793          	addi	a5,gp,-1977 # 200000ef <Udisk_Transfer_Status>
     8fe:	2398                	lbu	a4,0(a5)
     900:	0fe77713          	andi	a4,a4,254
     904:	a398                	sb	a4,0(a5)
     906:	bff9                	j	8e4 <UDISK_Bulk_UpData+0x26>

00000908 <UDISK_Up_CSW>:
UDISK_Up_CSW():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:594
*                  CSW_Status---Current command execution result status
* Output         : None
* Return         : None
*******************************************************************************/
void UDISK_Up_CSW( void )
{
     908:	929ff2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:597
    Udisk_Transfer_Status = 0x00;

    mBOC.mCSW.mCSW_Sig[ 0 ] = 'U';
     90c:	200015b7          	lui	a1,0x20001
     910:	53425737          	lui	a4,0x53425
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:595
    Udisk_Transfer_Status = 0x00;
     914:	840183a3          	sb	zero,-1977(gp) # 200000ef <Udisk_Transfer_Status>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:597
    mBOC.mCSW.mCSW_Sig[ 0 ] = 'U';
     918:	35570713          	addi	a4,a4,853 # 53425355 <_eusrstack+0x33405355>
     91c:	16058793          	addi	a5,a1,352 # 20001160 <mBOC>
     920:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:601
    mBOC.mCSW.mCSW_Sig[ 1 ] = 'S';
    mBOC.mCSW.mCSW_Sig[ 2 ] = 'B';
    mBOC.mCSW.mCSW_Sig[ 3 ] = 'S';
    mBOC.mCSW.mCSW_Tag[ 0 ] = Udisk_CBW_Tag_Save[ 0 ];
     922:	83818713          	addi	a4,gp,-1992 # 200000e0 <Udisk_CBW_Tag_Save>
     926:	2314                	lbu	a3,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:605
    mBOC.mCSW.mCSW_Tag[ 1 ] = Udisk_CBW_Tag_Save[ 1 ];
    mBOC.mCSW.mCSW_Tag[ 2 ] = Udisk_CBW_Tag_Save[ 2 ];
    mBOC.mCSW.mCSW_Tag[ 3 ] = Udisk_CBW_Tag_Save[ 3 ];
    mBOC.mCSW.mCSW_Residue[ 0 ] = 0x00;
     928:	0007a423          	sw	zero,8(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:612
    mBOC.mCSW.mCSW_Residue[ 2 ] = 0x00;
    mBOC.mCSW.mCSW_Residue[ 3 ] = 0x00;
    mBOC.mCSW.mCSW_Status = Udisk_CSW_Status;

    /* Load the data into the upload buffer and start the upload */
    USBFS_Endp_DataUp(DEF_UEP2, (uint8_t *)mBOC.buf, 0x0D, DEF_UEP_CPY_LOAD );
     92c:	4635                	li	a2,13
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:601
    mBOC.mCSW.mCSW_Tag[ 0 ] = Udisk_CBW_Tag_Save[ 0 ];
     92e:	a3d4                	sb	a3,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:602
    mBOC.mCSW.mCSW_Tag[ 1 ] = Udisk_CBW_Tag_Save[ 1 ];
     930:	3314                	lbu	a3,1(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:612
    USBFS_Endp_DataUp(DEF_UEP2, (uint8_t *)mBOC.buf, 0x0D, DEF_UEP_CPY_LOAD );
     932:	16058593          	addi	a1,a1,352
     936:	4509                	li	a0,2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:602
    mBOC.mCSW.mCSW_Tag[ 1 ] = Udisk_CBW_Tag_Save[ 1 ];
     938:	b3d4                	sb	a3,5(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:603
    mBOC.mCSW.mCSW_Tag[ 2 ] = Udisk_CBW_Tag_Save[ 2 ];
     93a:	2334                	lbu	a3,2(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:604
    mBOC.mCSW.mCSW_Tag[ 3 ] = Udisk_CBW_Tag_Save[ 3 ];
     93c:	3338                	lbu	a4,3(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:603
    mBOC.mCSW.mCSW_Tag[ 2 ] = Udisk_CBW_Tag_Save[ 2 ];
     93e:	a3f4                	sb	a3,6(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:604
    mBOC.mCSW.mCSW_Tag[ 3 ] = Udisk_CBW_Tag_Save[ 3 ];
     940:	b3f8                	sb	a4,7(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:609
    mBOC.mCSW.mCSW_Status = Udisk_CSW_Status;
     942:	83c1c703          	lbu	a4,-1988(gp) # 200000e4 <Udisk_CSW_Status>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:612
    USBFS_Endp_DataUp(DEF_UEP2, (uint8_t *)mBOC.buf, 0x0D, DEF_UEP_CPY_LOAD );
     946:	4685                	li	a3,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:609
    mBOC.mCSW.mCSW_Status = Udisk_CSW_Status;
     948:	a7d8                	sb	a4,12(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:612
    USBFS_Endp_DataUp(DEF_UEP2, (uint8_t *)mBOC.buf, 0x0D, DEF_UEP_CPY_LOAD );
     94a:	2e31                	jal	c66 <USBFS_Endp_DataUp>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:614

}
     94c:	909ff06f          	j	254 <__riscv_restore_0>

00000950 <UDISK_Up_OnePack>:
UDISK_Up_OnePack():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:624
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void UDISK_Up_OnePack( void )
{    
     950:	8e1ff2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:627
    uint8_t *pbuf = NULL;
#if (STORAGE_MEDIUM == MEDIUM_SPI_FLASH)
    if( UDISK_Sec_Pack_Count == 0x00 )
     954:	83018793          	addi	a5,gp,-2000 # 200000d8 <UDISK_Sec_Pack_Count>
     958:	239e                	lhu	a5,0(a5)
     95a:	83018413          	addi	s0,gp,-2000 # 200000d8 <UDISK_Sec_Pack_Count>
     95e:	07c2                	slli	a5,a5,0x10
     960:	83c1                	srli	a5,a5,0x10
     962:	e791                	bnez	a5,96e <UDISK_Up_OnePack+0x1e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:629
    {
        FLASH_RD_Block_Start( UDISK_Cur_Sec_Lba * DEF_UDISK_SECTOR_SIZE );
     964:	82c1a503          	lw	a0,-2004(gp) # 200000d4 <UDISK_Cur_Sec_Lba>
     968:	0532                	slli	a0,a0,0xc
     96a:	59d000ef          	jal	ra,1706 <FLASH_RD_Block_Start>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:631
    }
    FLASH_RD_Block( UDisk_Pack_Buffer, UDISK_Pack_Size );
     96e:	200004b7          	lui	s1,0x20000
     972:	0a848493          	addi	s1,s1,168 # 200000a8 <UDISK_Pack_Size>
     976:	208e                	lhu	a1,0(s1)
     978:	20001937          	lui	s2,0x20001
     97c:	12090513          	addi	a0,s2,288 # 20001120 <UDisk_Pack_Buffer>
     980:	5c3000ef          	jal	ra,1742 <FLASH_RD_Block>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:640
#elif (STORAGE_MEDIUM == MEDIUM_INTERAL_FLASH)
    pbuf = (uint8_t*)(IFLASH_UDISK_START_ADDR + UDISK_Cur_Sec_Lba * DEF_UDISK_SECTOR_SIZE + UDISK_Pack_Size * UDISK_Sec_Pack_Count);
#endif

    /* USB upload this package data */
    USBFS_Endp_DataUp(DEF_UEP2, pbuf,UDISK_Pack_Size, DEF_UEP_CPY_LOAD );
     984:	2092                	lhu	a2,0(s1)
     986:	4685                	li	a3,1
     988:	12090593          	addi	a1,s2,288
     98c:	4509                	li	a0,2
     98e:	2ce1                	jal	c66 <USBFS_Endp_DataUp>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:643

    /* Determine whether the current sector data is read and uploaded */
    UDISK_Sec_Pack_Count++;
     990:	201e                	lhu	a5,0(s0)
     992:	0785                	addi	a5,a5,1
     994:	07c2                	slli	a5,a5,0x10
     996:	83c1                	srli	a5,a5,0x10
     998:	a01e                	sh	a5,0(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:644
    UDISK_Transfer_DataLen -= UDISK_Pack_Size;
     99a:	83418693          	addi	a3,gp,-1996 # 200000dc <UDISK_Transfer_DataLen>
     99e:	2092                	lhu	a2,0(s1)
     9a0:	4298                	lw	a4,0(a3)
     9a2:	8f11                	sub	a4,a4,a2
     9a4:	c298                	sw	a4,0(a3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:646

    if( UDISK_Sec_Pack_Count == ( DEF_UDISK_SECTOR_SIZE / UDISK_Pack_Size ) )
     9a6:	2016                	lhu	a3,0(s0)
     9a8:	2092                	lhu	a2,0(s1)
     9aa:	6705                	lui	a4,0x1
     9ac:	83418493          	addi	s1,gp,-1996 # 200000dc <UDISK_Transfer_DataLen>
     9b0:	02c74733          	div	a4,a4,a2
     9b4:	02d71063          	bne	a4,a3,9d4 <UDISK_Up_OnePack+0x84>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:649
    {
#if (STORAGE_MEDIUM == MEDIUM_SPI_FLASH)
        flash_spi_cs_high( );
     9b8:	40011537          	lui	a0,0x40011
     9bc:	4591                	li	a1,4
     9be:	80050513          	addi	a0,a0,-2048 # 40010800 <_eusrstack+0x1fff0800>
     9c2:	380010ef          	jal	ra,1d42 <GPIO_SetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:651
#endif
        UDISK_Sec_Pack_Count = 0x00;
     9c6:	00041023          	sh	zero,0(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:652
        UDISK_Cur_Sec_Lba++;
     9ca:	82c18793          	addi	a5,gp,-2004 # 200000d4 <UDISK_Cur_Sec_Lba>
     9ce:	4398                	lw	a4,0(a5)
     9d0:	0705                	addi	a4,a4,1
     9d2:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:655
    }
    /* Determine whether the current sector data is read and uploaded */    
     if( UDISK_Transfer_DataLen == 0x00 )
     9d4:	409c                	lw	a5,0(s1)
     9d6:	e799                	bnez	a5,9e4 <UDISK_Up_OnePack+0x94>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:657
    {    
        Udisk_Transfer_Status &= ~DEF_UDISK_BLUCK_UP_FLAG;
     9d8:	84718793          	addi	a5,gp,-1977 # 200000ef <Udisk_Transfer_Status>
     9dc:	2398                	lbu	a4,0(a5)
     9de:	0fe77713          	andi	a4,a4,254
     9e2:	a398                	sb	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:659
    }
}
     9e4:	871ff06f          	j	254 <__riscv_restore_0>

000009e8 <UDISK_In_EP_Deal>:
UDISK_In_EP_Deal():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:492
{        
     9e8:	849ff2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:493
    if( Udisk_Transfer_Status & DEF_UDISK_BLUCK_UP_FLAG ) 
     9ec:	84718793          	addi	a5,gp,-1977 # 200000ef <Udisk_Transfer_Status>
     9f0:	2398                	lbu	a4,0(a5)
     9f2:	8b05                	andi	a4,a4,1
     9f4:	cf11                	beqz	a4,a10 <UDISK_In_EP_Deal+0x28>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:495
        if( mBOC.mCBW.mCBW_CB_Buf[ 0 ] == CMD_U_READ10 )
     9f6:	200017b7          	lui	a5,0x20001
     9fa:	16f7c703          	lbu	a4,367(a5) # 2000116f <mBOC+0xf>
     9fe:	02800793          	li	a5,40
     a02:	00f71563          	bne	a4,a5,a0c <UDISK_In_EP_Deal+0x24>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:497
            UDISK_Up_OnePack( );
     a06:	37a9                	jal	950 <UDISK_Up_OnePack>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:508
}
     a08:	84dff06f          	j	254 <__riscv_restore_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:501
            UDISK_Bulk_UpData( );
     a0c:	3d4d                	jal	8be <UDISK_Bulk_UpData>
     a0e:	bfed                	j	a08 <UDISK_In_EP_Deal+0x20>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:504
    else if( Udisk_Transfer_Status & DEF_UDISK_CSW_UP_FLAG )
     a10:	239c                	lbu	a5,0(a5)
     a12:	8b91                	andi	a5,a5,4
     a14:	dbf5                	beqz	a5,a08 <UDISK_In_EP_Deal+0x20>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:506
        UDISK_Up_CSW( );
     a16:	3dcd                	jal	908 <UDISK_Up_CSW>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:508
}
     a18:	bfc5                	j	a08 <UDISK_In_EP_Deal+0x20>

00000a1a <UDISK_Down_OnePack>:
UDISK_Down_OnePack():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:669
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void UDISK_Down_OnePack( uint8_t *pbuf, uint16_t packlen )
{
     a1a:	ffcff2ef          	jal	t0,216 <__riscv_save_4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:672
    uint32_t address;
    uint32_t sec_start_addr;
    if( UDISK_Sec_Pack_Count == 0x00 )
     a1e:	83018793          	addi	a5,gp,-2000 # 200000d8 <UDISK_Sec_Pack_Count>
     a22:	239e                	lhu	a5,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:669
{
     a24:	1141                	addi	sp,sp,-16
     a26:	85aa                	mv	a1,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:672
    if( UDISK_Sec_Pack_Count == 0x00 )
     a28:	07c2                	slli	a5,a5,0x10
     a2a:	83c1                	srli	a5,a5,0x10
     a2c:	83018413          	addi	s0,gp,-2000 # 200000d8 <UDISK_Sec_Pack_Count>
     a30:	eb81                	bnez	a5,a40 <UDISK_Down_OnePack+0x26>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:674
    {
        address = (uint32_t)UDISK_Cur_Sec_Lba * DEF_UDISK_SECTOR_SIZE;
     a32:	c62a                	sw	a0,12(sp)
     a34:	82c1a503          	lw	a0,-2004(gp) # 200000d4 <UDISK_Cur_Sec_Lba>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:677
        sec_start_addr = ( address / DEF_FLASH_SECTOR_SIZE ) * DEF_FLASH_SECTOR_SIZE;
#if (STORAGE_MEDIUM == MEDIUM_SPI_FLASH)
        flash_spi_erasesector(sec_start_addr);
     a38:	0532                	slli	a0,a0,0xc
     a3a:	1bd000ef          	jal	ra,13f6 <flash_spi_erasesector>
     a3e:	45b2                	lw	a1,12(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:680
#endif
    }
    memcpy(UDisk_Down_Buffer + (uint32_t)UDISK_Sec_Pack_Count * UDISK_Pack_Size ,pbuf, UDISK_Pack_Size);
     a40:	200004b7          	lui	s1,0x20000
     a44:	0a848493          	addi	s1,s1,168 # 200000a8 <UDISK_Pack_Size>
     a48:	200a                	lhu	a0,0(s0)
     a4a:	209e                	lhu	a5,0(s1)
     a4c:	200009b7          	lui	s3,0x20000
     a50:	2092                	lhu	a2,0(s1)
     a52:	02a787b3          	mul	a5,a5,a0
     a56:	12098513          	addi	a0,s3,288 # 20000120 <UDisk_Down_Buffer>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:682
    UDISK_Sec_Pack_Count++;
    UDISK_Transfer_DataLen -= UDISK_Pack_Size;
     a5a:	83418913          	addi	s2,gp,-1996 # 200000dc <UDISK_Transfer_DataLen>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:680
    memcpy(UDisk_Down_Buffer + (uint32_t)UDISK_Sec_Pack_Count * UDISK_Pack_Size ,pbuf, UDISK_Pack_Size);
     a5e:	953e                	add	a0,a0,a5
     a60:	7de010ef          	jal	ra,223e <memcpy>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:681
    UDISK_Sec_Pack_Count++;
     a64:	201e                	lhu	a5,0(s0)
     a66:	0785                	addi	a5,a5,1
     a68:	07c2                	slli	a5,a5,0x10
     a6a:	83c1                	srli	a5,a5,0x10
     a6c:	a01e                	sh	a5,0(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:682
    UDISK_Transfer_DataLen -= UDISK_Pack_Size;
     a6e:	209a                	lhu	a4,0(s1)
     a70:	00092783          	lw	a5,0(s2)
     a74:	8f99                	sub	a5,a5,a4
     a76:	00f92023          	sw	a5,0(s2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:684

    if( UDISK_Sec_Pack_Count == ( DEF_UDISK_SECTOR_SIZE / UDISK_Pack_Size ) )
     a7a:	201a                	lhu	a4,0(s0)
     a7c:	2096                	lhu	a3,0(s1)
     a7e:	6785                	lui	a5,0x1
     a80:	02d7c7b3          	div	a5,a5,a3
     a84:	02e79c63          	bne	a5,a4,abc <UDISK_Down_OnePack+0xa2>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:686
    {
        address = (uint32_t)UDISK_Cur_Sec_Lba * DEF_UDISK_SECTOR_SIZE;
     a88:	82c18793          	addi	a5,gp,-2004 # 200000d4 <UDISK_Cur_Sec_Lba>
     a8c:	438c                	lw	a1,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:690
        sec_start_addr = ( address / DEF_FLASH_SECTOR_SIZE ) * DEF_FLASH_SECTOR_SIZE;

#if (STORAGE_MEDIUM == MEDIUM_SPI_FLASH)
        flash_spi_write(UDisk_Down_Buffer, sec_start_addr, DEF_FLASH_SECTOR_SIZE );
     a8e:	6605                	lui	a2,0x1
     a90:	12098513          	addi	a0,s3,288
     a94:	05b2                	slli	a1,a1,0xc
     a96:	2b9000ef          	jal	ra,154e <flash_spi_write>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:694
#elif (STORAGE_MEDIUM == MEDIUM_INTERAL_FLASH)
        IFlash_Prog_512(IFLASH_UDISK_START_ADDR + sec_start_addr,(uint32_t*)UDisk_Down_Buffer);
#endif
        if( UDISK_Transfer_DataLen == 0x00 )
     a9a:	00092783          	lw	a5,0(s2)
     a9e:	82c18493          	addi	s1,gp,-2004 # 200000d4 <UDISK_Cur_Sec_Lba>
     aa2:	eb81                	bnez	a5,ab2 <UDISK_Down_OnePack+0x98>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:696
        {
            Udisk_Transfer_Status &= ~DEF_UDISK_BLUCK_DOWN_FLAG;
     aa4:	84718793          	addi	a5,gp,-1977 # 200000ef <Udisk_Transfer_Status>
     aa8:	2398                	lbu	a4,0(a5)
     aaa:	0fd77713          	andi	a4,a4,253
     aae:	a398                	sb	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:697
            UDISK_Up_CSW( );
     ab0:	3da1                	jal	908 <UDISK_Up_CSW>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:699
        }
        UDISK_Sec_Pack_Count = 0x00;
     ab2:	00041023          	sh	zero,0(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:700
        UDISK_Cur_Sec_Lba++;
     ab6:	409c                	lw	a5,0(s1)
     ab8:	0785                	addi	a5,a5,1
     aba:	c09c                	sw	a5,0(s1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:702
    }
}
     abc:	0141                	addi	sp,sp,16
     abe:	f8cff06f          	j	24a <__riscv_restore_4>

00000ac2 <UDISK_Out_EP_Deal>:
UDISK_Out_EP_Deal():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:518
{
     ac2:	f6eff2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:521
    if( Udisk_Transfer_Status & DEF_UDISK_BLUCK_DOWN_FLAG )
     ac6:	84718793          	addi	a5,gp,-1977 # 200000ef <Udisk_Transfer_Status>
     aca:	239c                	lbu	a5,0(a5)
     acc:	8b89                	andi	a5,a5,2
     ace:	c781                	beqz	a5,ad6 <UDISK_Out_EP_Deal+0x14>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:523
        UDISK_Down_OnePack( pbuf, packlen );
     ad0:	37a9                	jal	a1a <UDISK_Down_OnePack>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:555
}
     ad2:	f82ff06f          	j	254 <__riscv_restore_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:527
        if( packlen == 0x1F )
     ad6:	47fd                	li	a5,31
     ad8:	fef59de3          	bne	a1,a5,ad2 <UDISK_Out_EP_Deal+0x10>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:531
                mBOC.buf[ i ] = *pbuf++;
     adc:	200014b7          	lui	s1,0x20001
     ae0:	882a                	mv	a6,a0
     ae2:	84718413          	addi	s0,gp,-1977 # 200000ef <Udisk_Transfer_Status>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:529
            for( i = 0; i < packlen; i++ ) 
     ae6:	4781                	li	a5,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:531
                mBOC.buf[ i ] = *pbuf++;
     ae8:	16048493          	addi	s1,s1,352 # 20001160 <mBOC>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:529
            for( i = 0; i < packlen; i++ ) 
     aec:	477d                	li	a4,31
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:531 (discriminator 3)
                mBOC.buf[ i ] = *pbuf++;
     aee:	00f806b3          	add	a3,a6,a5
     af2:	2290                	lbu	a2,0(a3)
     af4:	00f486b3          	add	a3,s1,a5
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:529 (discriminator 3)
            for( i = 0; i < packlen; i++ ) 
     af8:	0785                	addi	a5,a5,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:531 (discriminator 3)
                mBOC.buf[ i ] = *pbuf++;
     afa:	a290                	sb	a2,0(a3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:529 (discriminator 3)
            for( i = 0; i < packlen; i++ ) 
     afc:	fee799e3          	bne	a5,a4,aee <UDISK_Out_EP_Deal+0x2c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:533
            UDISK_SCSI_CMD_Deal( );
     b00:	34a9                	jal	54a <UDISK_SCSI_CMD_Deal>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:534
            if( ( Udisk_Transfer_Status & DEF_UDISK_BLUCK_DOWN_FLAG ) == 0x00 )
     b02:	201c                	lbu	a5,0(s0)
     b04:	8b89                	andi	a5,a5,2
     b06:	f7f1                	bnez	a5,ad2 <UDISK_Out_EP_Deal+0x10>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:536
                if( Udisk_Transfer_Status & DEF_UDISK_BLUCK_UP_FLAG )
     b08:	201c                	lbu	a5,0(s0)
     b0a:	8b85                	andi	a5,a5,1
     b0c:	cb91                	beqz	a5,b20 <UDISK_Out_EP_Deal+0x5e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:538
                    if( mBOC.mCBW.mCBW_CB_Buf[ 0 ] == CMD_U_READ10 )
     b0e:	34f8                	lbu	a4,15(s1)
     b10:	02800793          	li	a5,40
     b14:	00f71463          	bne	a4,a5,b1c <UDISK_Out_EP_Deal+0x5a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:540
                        UDISK_Up_OnePack( );
     b18:	3d25                	jal	950 <UDISK_Up_OnePack>
     b1a:	bf65                	j	ad2 <UDISK_Out_EP_Deal+0x10>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:544
                        UDISK_Bulk_UpData( );
     b1c:	334d                	jal	8be <UDISK_Bulk_UpData>
     b1e:	bf55                	j	ad2 <UDISK_Out_EP_Deal+0x10>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:547
                else if( Udisk_CSW_Status == 0x00 )
     b20:	83c1c783          	lbu	a5,-1988(gp) # 200000e4 <Udisk_CSW_Status>
     b24:	0ff7f793          	andi	a5,a5,255
     b28:	f7cd                	bnez	a5,ad2 <UDISK_Out_EP_Deal+0x10>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:550
                    UDISK_Up_CSW(  );                     
     b2a:	3bf9                	jal	908 <UDISK_Up_CSW>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/SW_UDISK.c:555
}
     b2c:	b75d                	j	ad2 <UDISK_Out_EP_Deal+0x10>

00000b2e <NMI_Handler>:
NMI_Handler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_it.c:26
 *
 * @return  none
 */
void NMI_Handler(void)
{
}
     b2e:	30200073          	mret

00000b32 <HardFault_Handler>:
HardFault_Handler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_it.c:37
 *
 * @return  none
 */
void HardFault_Handler(void)
{
    printf("HardFault_Handler\r\n");
     b32:	00003537          	lui	a0,0x3
     b36:	51c50513          	addi	a0,a0,1308 # 351c <UDISK_Rd_Format_Capacity+0xc>
     b3a:	0cb010ef          	jal	ra,2404 <puts>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_it.c:39

    printf("mepc  :%08x\r\n", __get_MEPC());
     b3e:	6ee010ef          	jal	ra,222c <__get_MEPC>
     b42:	85aa                	mv	a1,a0
     b44:	00003537          	lui	a0,0x3
     b48:	53050513          	addi	a0,a0,1328 # 3530 <UDISK_Rd_Format_Capacity+0x20>
     b4c:	7a4010ef          	jal	ra,22f0 <iprintf>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_it.c:40
    printf("mcause:%08x\r\n", __get_MCAUSE());
     b50:	6e2010ef          	jal	ra,2232 <__get_MCAUSE>
     b54:	85aa                	mv	a1,a0
     b56:	00003537          	lui	a0,0x3
     b5a:	54050513          	addi	a0,a0,1344 # 3540 <UDISK_Rd_Format_Capacity+0x30>
     b5e:	792010ef          	jal	ra,22f0 <iprintf>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_it.c:41
    printf("mtval :%08x\r\n", __get_MTVAL());
     b62:	6d6010ef          	jal	ra,2238 <__get_MTVAL>
     b66:	85aa                	mv	a1,a0
     b68:	00003537          	lui	a0,0x3
     b6c:	55050513          	addi	a0,a0,1360 # 3550 <UDISK_Rd_Format_Capacity+0x40>
     b70:	780010ef          	jal	ra,22f0 <iprintf>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_it.c:42 (discriminator 1)
    while(1);
     b74:	a001                	j	b74 <HardFault_Handler+0x42>

00000b76 <USBFS_RCC_Init>:
USBFS_RCC_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:54
 * @brief   Initializes the usbotg clock configuration.
 *
 * @return  none
 */
void USBFS_RCC_Init(void)
{
     b76:	ebaff2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:56
#ifdef CH32V30x_D8C
    RCC_USBCLK48MConfig( RCC_USBCLK48MCLKSource_USBPHY );
     b7a:	4505                	li	a0,1
     b7c:	3f2010ef          	jal	ra,1f6e <RCC_USBCLK48MConfig>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:57
    RCC_USBHSPLLCLKConfig( RCC_HSBHSPLLCLKSource_HSE );
     b80:	4501                	li	a0,0
     b82:	394010ef          	jal	ra,1f16 <RCC_USBHSPLLCLKConfig>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:58
    RCC_USBHSConfig( RCC_USBPLL_Div2 );
     b86:	4505                	li	a0,1
     b88:	374010ef          	jal	ra,1efc <RCC_USBHSConfig>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:59
    RCC_USBHSPLLCKREFCLKConfig( RCC_USBHSPLLCKREFCLK_4M );
     b8c:	4505                	li	a0,1
     b8e:	3a2010ef          	jal	ra,1f30 <RCC_USBHSPLLCKREFCLKConfig>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:60
    RCC_USBHSPHYPLLALIVEcmd( ENABLE );
     b92:	4505                	li	a0,1
     b94:	3b6010ef          	jal	ra,1f4a <RCC_USBHSPHYPLLALIVEcmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:61
    RCC_AHBPeriphClockCmd( RCC_AHBPeriph_USBHS, ENABLE );
     b98:	6505                	lui	a0,0x1
     b9a:	4585                	li	a1,1
     b9c:	80050513          	addi	a0,a0,-2048 # 800 <__stack_size>
     ba0:	320010ef          	jal	ra,1ec0 <RCC_AHBPeriphClockCmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:76
    else if( SystemCoreClock == 48000000 ) 
    {
        RCC_OTGFSCLKConfig( RCC_OTGFSCLKSource_PLLCLK_Div1 );
    }
#endif
    RCC_AHBPeriphClockCmd( RCC_AHBPeriph_OTG_FS, ENABLE );
     ba4:	4585                	li	a1,1
     ba6:	6505                	lui	a0,0x1
     ba8:	318010ef          	jal	ra,1ec0 <RCC_AHBPeriphClockCmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:77
}
     bac:	ea8ff06f          	j	254 <__riscv_restore_0>

00000bb0 <USBFS_Device_Endp_Init>:
USBFS_Device_Endp_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:90
 */
void USBFS_Device_Endp_Init( void )
{
    uint8_t i;

    USBOTG_FS->UEP2_3_MOD = USBFS_UEP2_TX_EN|USBFS_UEP3_RX_EN;
     bb0:	500007b7          	lui	a5,0x50000
     bb4:	f8400713          	li	a4,-124
     bb8:	b7d8                	sb	a4,13(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:92

    USBOTG_FS->UEP0_DMA = (uint32_t)USBFS_EP0_Buf;
     bba:	20001737          	lui	a4,0x20001
     bbe:	20070713          	addi	a4,a4,512 # 20001200 <USBFS_EP0_Buf>
     bc2:	cb98                	sw	a4,16(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:93
    USBOTG_FS->UEP2_DMA = (uint32_t)UDisk_In_Buf;
     bc4:	20001737          	lui	a4,0x20001
     bc8:	18070713          	addi	a4,a4,384 # 20001180 <UDisk_In_Buf>
     bcc:	cf98                	sw	a4,24(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:94
    USBOTG_FS->UEP3_DMA = (uint32_t)UDisk_Out_Buf;
     bce:	20001737          	lui	a4,0x20001
     bd2:	1c070713          	addi	a4,a4,448 # 200011c0 <UDisk_Out_Buf>
     bd6:	cfd8                	sw	a4,28(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:96

    USBOTG_FS->UEP0_RX_CTRL = USBFS_UEP_R_RES_ACK;
     bd8:	020789a3          	sb	zero,51(a5) # 50000033 <_eusrstack+0x2ffe0033>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:97
    USBOTG_FS->UEP3_RX_CTRL = USBFS_UEP_R_RES_ACK;
     bdc:	02078fa3          	sb	zero,63(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:99

    USBOTG_FS->UEP0_TX_CTRL = USBFS_UEP_T_RES_NAK;
     be0:	4709                	li	a4,2
     be2:	02e78923          	sb	a4,50(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:100
    USBOTG_FS->UEP2_TX_CTRL = USBFS_UEP_T_RES_NAK;
     be6:	02e78d23          	sb	a4,58(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:102

    USBOTG_FS->UEP2_TX_LEN = 0;
     bea:	02079c23          	sh	zero,56(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:107

    /* Clear End-points Busy Status */
    for( i=0; i<DEF_UEP_NUM; i++ )
    {
        USBFS_Endp_Busy[ i ] = 0;
     bee:	85018793          	addi	a5,gp,-1968 # 200000f8 <USBFS_Endp_Busy>
     bf2:	00078023          	sb	zero,0(a5)
     bf6:	000780a3          	sb	zero,1(a5)
     bfa:	00078123          	sb	zero,2(a5)
     bfe:	000781a3          	sb	zero,3(a5)
     c02:	00078223          	sb	zero,4(a5)
     c06:	000782a3          	sb	zero,5(a5)
     c0a:	00078323          	sb	zero,6(a5)
     c0e:	000783a3          	sb	zero,7(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:109
    }
}
     c12:	8082                	ret

00000c14 <USBFS_Device_Init>:
USBFS_Device_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:119
 * @brief   Initializes USB device.
 *
 * @return  none
 */
void USBFS_Device_Init( FunctionalState sta )
{
     c14:	e1cff2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:122
    if( sta )
    {
        USBOTG_H_FS->BASE_CTRL = USBFS_UC_RESET_SIE | USBFS_UC_CLR_ALL;
     c18:	50000437          	lui	s0,0x50000
     c1c:	4799                	li	a5,6
     c1e:	a01c                	sb	a5,0(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:120
    if( sta )
     c20:	c51d                	beqz	a0,c4e <USBFS_Device_Init+0x3a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:123
        Delay_Us( 10 );
     c22:	4529                	li	a0,10
     c24:	4e4010ef          	jal	ra,2108 <Delay_Us>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:125
		USBOTG_H_FS->BASE_CTRL = 0x00;
        USBOTG_FS->INT_EN = USBFS_UIE_SUSPEND | USBFS_UIE_BUS_RST | USBFS_UIE_TRANSFER;
     c28:	479d                	li	a5,7
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:124
		USBOTG_H_FS->BASE_CTRL = 0x00;
     c2a:	00040023          	sb	zero,0(s0) # 50000000 <_eusrstack+0x2ffe0000>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:125
        USBOTG_FS->INT_EN = USBFS_UIE_SUSPEND | USBFS_UIE_BUS_RST | USBFS_UIE_TRANSFER;
     c2e:	a03c                	sb	a5,2(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:126
        USBOTG_FS->BASE_CTRL = USBFS_UC_DEV_PU_EN | USBFS_UC_INT_BUSY | USBFS_UC_DMA_EN;
     c30:	02900793          	li	a5,41
     c34:	a01c                	sb	a5,0(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:127
        USBFS_Device_Endp_Init( );
     c36:	3fad                	jal	bb0 <USBFS_Device_Endp_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:128
        USBOTG_FS->UDEV_CTRL = USBFS_UD_PD_DIS | USBFS_UD_PORT_EN;
     c38:	f8100793          	li	a5,-127
     c3c:	b01c                	sb	a5,1(s0)
NVIC_EnableIRQ():
C:\Users\15165\Desktop\SPIFLASH_U-Disk DMA\Libraries\Core/core_riscv.h:169
 *
 * @return  none
 */
RV_STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
{
  NVIC->IENR[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F));
     c3e:	00080737          	lui	a4,0x80
     c42:	e000e7b7          	lui	a5,0xe000e
     c46:	10e7a423          	sw	a4,264(a5) # e000e108 <_eusrstack+0xbffee108>
USBFS_Device_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:138
        USBOTG_H_FS->BASE_CTRL = USBFS_UC_RESET_SIE | USBFS_UC_CLR_ALL;
        Delay_Us( 10 );
        USBOTG_H_FS->BASE_CTRL = 0x00;
        NVIC_DisableIRQ(OTG_FS_IRQn);
    }
}
     c4a:	e0aff06f          	j	254 <__riscv_restore_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:134
        Delay_Us( 10 );
     c4e:	4529                	li	a0,10
     c50:	4b8010ef          	jal	ra,2108 <Delay_Us>
NVIC_DisableIRQ():
C:\Users\15165\Desktop\SPIFLASH_U-Disk DMA\Libraries\Core/core_riscv.h:183
 *
 * @return  none
 */
RV_STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn)
{
  NVIC->IRER[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F));
     c54:	e000e7b7          	lui	a5,0xe000e
USBFS_Device_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:135
        USBOTG_H_FS->BASE_CTRL = 0x00;
     c58:	00040023          	sb	zero,0(s0)
NVIC_DisableIRQ():
C:\Users\15165\Desktop\SPIFLASH_U-Disk DMA\Libraries\Core/core_riscv.h:183
     c5c:	00080737          	lui	a4,0x80
     c60:	18e7a423          	sw	a4,392(a5) # e000e188 <_eusrstack+0xbffee188>
USBFS_Device_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:138
}
     c64:	b7dd                	j	c4a <USBFS_Device_Init+0x36>

00000c66 <USBFS_Endp_DataUp>:
USBFS_Endp_DataUp():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:153
{
    uint8_t endp_mode;
    uint8_t buf_load_offset;

    /* DMA config, endp_ctrl config, endp_len config */
    if( (endp>=DEF_UEP1) && (endp<=DEF_UEP7) )
     c66:	fff50793          	addi	a5,a0,-1 # fff <OTG_FS_IRQHandler+0x2af>
     c6a:	0ff7f793          	andi	a5,a5,255
     c6e:	4819                	li	a6,6
     c70:	0cf86d63          	bltu	a6,a5,d4a <USBFS_Endp_DataUp+0xe4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:148
{
     c74:	da2ff2ef          	jal	t0,216 <__riscv_save_4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:155
    {
        if( USBFS_Endp_Busy[ endp ] == 0 )
     c78:	85018793          	addi	a5,gp,-1968 # 200000f8 <USBFS_Endp_Busy>
     c7c:	97aa                	add	a5,a5,a0
     c7e:	239c                	lbu	a5,0(a5)
     c80:	85018493          	addi	s1,gp,-1968 # 200000f8 <USBFS_Endp_Busy>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:233
            return 1;
        }
    }
    else
    {
        return 1;
     c84:	4705                	li	a4,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:155
        if( USBFS_Endp_Busy[ endp ] == 0 )
     c86:	0ff7f793          	andi	a5,a5,255
     c8a:	ebcd                	bnez	a5,d3c <USBFS_Endp_DataUp+0xd6>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:157
            if( (endp == DEF_UEP1) || (endp == DEF_UEP4) )
     c8c:	4785                	li	a5,1
     c8e:	00f50563          	beq	a0,a5,c98 <USBFS_Endp_DataUp+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:157 (discriminator 1)
     c92:	4711                	li	a4,4
     c94:	00e51c63          	bne	a0,a4,cac <USBFS_Endp_DataUp+0x46>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:160
                endp_mode = USBFSD_UEP_MOD(0);
     c98:	500007b7          	lui	a5,0x50000
     c9c:	27dc                	lbu	a5,12(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:161
                if( endp == DEF_UEP1 )
     c9e:	4705                	li	a4,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:160
                endp_mode = USBFSD_UEP_MOD(0);
     ca0:	0ff7f793          	andi	a5,a5,255
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:170
                if( endp == DEF_UEP3 )
     ca4:	02e51e63          	bne	a0,a4,ce0 <USBFS_Endp_DataUp+0x7a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:181
                    endp_mode = (uint8_t)(endp_mode>>4);
     ca8:	8391                	srli	a5,a5,0x4
     caa:	a81d                	j	ce0 <USBFS_Endp_DataUp+0x7a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:166
            else if( (endp == DEF_UEP2) || (endp == DEF_UEP3) )
     cac:	ffe50713          	addi	a4,a0,-2
     cb0:	0ff77713          	andi	a4,a4,255
     cb4:	00e7e963          	bltu	a5,a4,cc6 <USBFS_Endp_DataUp+0x60>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:169
                endp_mode = USBFSD_UEP_MOD(1);
     cb8:	500007b7          	lui	a5,0x50000
     cbc:	37dc                	lbu	a5,13(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:170
                if( endp == DEF_UEP3 )
     cbe:	470d                	li	a4,3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:169
                endp_mode = USBFSD_UEP_MOD(1);
     cc0:	0ff7f793          	andi	a5,a5,255
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:170
                if( endp == DEF_UEP3 )
     cc4:	b7c5                	j	ca4 <USBFS_Endp_DataUp+0x3e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:175
            else if( (endp == DEF_UEP5) || (endp == DEF_UEP6) )
     cc6:	ffb50713          	addi	a4,a0,-5
     cca:	0ff77713          	andi	a4,a4,255
     cce:	04e7e063          	bltu	a5,a4,d0e <USBFS_Endp_DataUp+0xa8>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:178
                endp_mode = USBFSD_UEP_MOD(2);
     cd2:	500007b7          	lui	a5,0x50000
     cd6:	27fc                	lbu	a5,14(a5)
     cd8:	0ff7f793          	andi	a5,a5,255
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:179
                if( endp == DEF_UEP6 )
     cdc:	fd0506e3          	beq	a0,a6,ca8 <USBFS_Endp_DataUp+0x42>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:190
            if( endp_mode & USBFSD_UEP_TX_EN )
     ce0:	0047f813          	andi	a6,a5,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:235
    }
    return 0;
     ce4:	4701                	li	a4,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:190
            if( endp_mode & USBFSD_UEP_TX_EN )
     ce6:	04080b63          	beqz	a6,d3c <USBFS_Endp_DataUp+0xd6>
     cea:	14000437          	lui	s0,0x14000
     cee:	0411                	addi	s0,s0,4
     cf0:	942a                	add	s0,s0,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:192
                if( endp_mode & USBFSD_UEP_RX_EN )
     cf2:	8ba1                	andi	a5,a5,8
     cf4:	89b2                	mv	s3,a2
     cf6:	892a                	mv	s2,a0
     cf8:	040a                	slli	s0,s0,0x2
     cfa:	c385                	beqz	a5,d1a <USBFS_Endp_DataUp+0xb4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:216
                    memcpy( USBFSD_UEP_BUF(endp)+buf_load_offset, pbuf, len );
     cfc:	4008                	lw	a0,0(s0)
     cfe:	200007b7          	lui	a5,0x20000
     d02:	04078793          	addi	a5,a5,64 # 20000040 <APBAHBPrescTable+0xc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:211
                        memcpy( USBFSD_UEP_BUF(endp), pbuf, len );
     d06:	953e                	add	a0,a0,a5
     d08:	536010ef          	jal	ra,223e <memcpy>
     d0c:	a819                	j	d22 <USBFS_Endp_DataUp+0xbc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:187
                endp_mode = USBFSD_UEP_MOD(3);
     d0e:	500007b7          	lui	a5,0x50000
     d12:	37fc                	lbu	a5,15(a5)
     d14:	0ff7f793          	andi	a5,a5,255
     d18:	b7e1                	j	ce0 <USBFS_Endp_DataUp+0x7a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:203
                    if( mod == DEF_UEP_DMA_LOAD )
     d1a:	e685                	bnez	a3,d42 <USBFS_Endp_DataUp+0xdc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:206
                        USBFSD_UEP_DMA(endp) = (uint16_t)(uint32_t)pbuf;
     d1c:	05c2                	slli	a1,a1,0x10
     d1e:	81c1                	srli	a1,a1,0x10
     d20:	c00c                	sw	a1,0(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:219
                USBFSD_UEP_TLEN(endp) = len;
     d22:	03341023          	sh	s3,32(s0) # 14000020 <_data_lma+0x13ffc61c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:221
                USBFSD_UEP_TX_CTRL(endp) = (USBFSD_UEP_TX_CTRL(endp) & ~USBFS_UEP_T_RES_MASK) | USBFS_UEP_T_RES_ACK;
     d26:	02244783          	lbu	a5,34(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:223
                USBFS_Endp_Busy[ endp ] = 0x01;
     d2a:	01248533          	add	a0,s1,s2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:235
    return 0;
     d2e:	4701                	li	a4,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:221
                USBFSD_UEP_TX_CTRL(endp) = (USBFSD_UEP_TX_CTRL(endp) & ~USBFS_UEP_T_RES_MASK) | USBFS_UEP_T_RES_ACK;
     d30:	0fc7f793          	andi	a5,a5,252
     d34:	02f40123          	sb	a5,34(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:223
                USBFS_Endp_Busy[ endp ] = 0x01;
     d38:	4785                	li	a5,1
     d3a:	a11c                	sb	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:236
}
     d3c:	853a                	mv	a0,a4
     d3e:	d0cff06f          	j	24a <__riscv_restore_4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:211
                        memcpy( USBFSD_UEP_BUF(endp), pbuf, len );
     d42:	4008                	lw	a0,0(s0)
     d44:	200007b7          	lui	a5,0x20000
     d48:	bf7d                	j	d06 <USBFS_Endp_DataUp+0xa0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:233
        return 1;
     d4a:	4705                	li	a4,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:236
}
     d4c:	853a                	mv	a0,a4
     d4e:	8082                	ret

00000d50 <OTG_FS_IRQHandler>:
OTG_FS_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:247
 * @brief   This function handles OTG_FS exception.
 *
 * @return  none
 */
void OTG_FS_IRQHandler( void )
{
     d50:	1101                	addi	sp,sp,-32
     d52:	ce22                	sw	s0,28(sp)
     d54:	cc26                	sw	s1,24(sp)
     d56:	ca4a                	sw	s2,20(sp)
     d58:	c84e                	sw	s3,16(sp)
     d5a:	c652                	sw	s4,12(sp)
     d5c:	c456                	sw	s5,8(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:251
    uint8_t  intflag, intst, errflag;
    uint16_t len;

    intflag = USBOTG_FS->INT_FG;
     d5e:	50000437          	lui	s0,0x50000
     d62:	2078                	lbu	a4,6(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:252
    intst = USBOTG_FS->INT_ST;
     d64:	307c                	lbu	a5,7(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:251
    intflag = USBOTG_FS->INT_FG;
     d66:	0ff77713          	andi	a4,a4,255
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:254

    if( intflag & USBFS_UIF_TRANSFER )
     d6a:	00277693          	andi	a3,a4,2
     d6e:	50068063          	beqz	a3,126e <OTG_FS_IRQHandler+0x51e>
     d72:	0ff7f793          	andi	a5,a5,255
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:256
    {
        switch ( intst & USBFS_UIS_TOKEN_MASK )
     d76:	0307f713          	andi	a4,a5,48
     d7a:	02000893          	li	a7,32
     d7e:	05170c63          	beq	a4,a7,dd6 <OTG_FS_IRQHandler+0x86>
     d82:	03000693          	li	a3,48
     d86:	16d70063          	beq	a4,a3,ee6 <OTG_FS_IRQHandler+0x196>
     d8a:	ef31                	bnez	a4,de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:309
                }
                break;

            /* data-out stage processing */
            case USBFS_UIS_TOKEN_OUT:
                switch ( intst & ( USBFS_UIS_TOKEN_MASK | USBFS_UIS_ENDP_MASK ) )
     d8c:	03f7f713          	andi	a4,a5,63
     d90:	12070863          	beqz	a4,ec0 <OTG_FS_IRQHandler+0x170>
     d94:	468d                	li	a3,3
     d96:	04d71863          	bne	a4,a3,de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:336
                        }
                        break;

                    /* end-point 3 data out interrupt */
                    case USBFS_UIS_TOKEN_OUT | DEF_UEP3:
                        if ( intst & USBFS_UIS_TOG_OK )
     d9a:	0407f793          	andi	a5,a5,64
     d9e:	c7a1                	beqz	a5,de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:338
                        {
                            len = USBOTG_FS->RX_LEN;
     da0:	240e                	lhu	a1,8(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:339
                            USBOTG_FS->UEP3_RX_CTRL ^= USBFS_UEP_R_TOG;
     da2:	03f44783          	lbu	a5,63(s0) # 5000003f <_eusrstack+0x2ffe003f>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:341
                            USBOTG_FS->UEP3_RX_CTRL = (USBOTG_FS->UEP3_RX_CTRL & ~USBFS_UEP_R_RES_MASK) | USBFS_UEP_R_RES_NAK;
                            UDISK_Out_EP_Deal(UDisk_Out_Buf,len);
     da6:	20001537          	lui	a0,0x20001
     daa:	1c050513          	addi	a0,a0,448 # 200011c0 <UDisk_Out_Buf>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:339
                            USBOTG_FS->UEP3_RX_CTRL ^= USBFS_UEP_R_TOG;
     dae:	0047c793          	xori	a5,a5,4
     db2:	02f40fa3          	sb	a5,63(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:340
                            USBOTG_FS->UEP3_RX_CTRL = (USBOTG_FS->UEP3_RX_CTRL & ~USBFS_UEP_R_RES_MASK) | USBFS_UEP_R_RES_NAK;
     db6:	03f44783          	lbu	a5,63(s0)
     dba:	0fc7f793          	andi	a5,a5,252
     dbe:	0027e793          	ori	a5,a5,2
     dc2:	02f40fa3          	sb	a5,63(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:341
                            UDISK_Out_EP_Deal(UDisk_Out_Buf,len);
     dc6:	39f5                	jal	ac2 <UDISK_Out_EP_Deal>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:342
                            USBOTG_FS->UEP3_RX_CTRL = (USBOTG_FS->UEP3_RX_CTRL & ~USBFS_UEP_R_RES_MASK) | USBFS_UEP_R_RES_ACK;
     dc8:	03f44783          	lbu	a5,63(s0)
     dcc:	0fc7f793          	andi	a5,a5,252
     dd0:	02f40fa3          	sb	a5,63(s0)
     dd4:	a809                	j	de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:260
                switch ( intst & ( USBFS_UIS_TOKEN_MASK | USBFS_UIS_ENDP_MASK ) )
     dd6:	03f7f793          	andi	a5,a5,63
     dda:	02e78363          	beq	a5,a4,e00 <OTG_FS_IRQHandler+0xb0>
     dde:	02200713          	li	a4,34
     de2:	0ae78b63          	beq	a5,a4,e98 <OTG_FS_IRQHandler+0x148>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:696
                break;

            default :
                break;
        }
        USBOTG_FS->INT_FG = USBFS_UIF_TRANSFER;
     de6:	500007b7          	lui	a5,0x50000
     dea:	4709                	li	a4,2
     dec:	a3f8                	sb	a4,6(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:732
    else
    {
        /* other interrupts */
        USBOTG_FS->INT_FG = intflag;
    }
}
     dee:	4472                	lw	s0,28(sp)
     df0:	44e2                	lw	s1,24(sp)
     df2:	4952                	lw	s2,20(sp)
     df4:	49c2                	lw	s3,16(sp)
     df6:	4a32                	lw	s4,12(sp)
     df8:	4aa2                	lw	s5,8(sp)
     dfa:	6105                	addi	sp,sp,32
     dfc:	30200073          	mret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:264
                        if( USBFS_SetupReqLen == 0 )
     e00:	85c18793          	addi	a5,gp,-1956 # 20000104 <USBFS_SetupReqLen>
     e04:	239e                	lhu	a5,0(a5)
     e06:	85c18493          	addi	s1,gp,-1956 # 20000104 <USBFS_SetupReqLen>
     e0a:	07c2                	slli	a5,a5,0x10
     e0c:	83c1                	srli	a5,a5,0x10
     e0e:	e781                	bnez	a5,e16 <OTG_FS_IRQHandler+0xc6>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:266
                           USBOTG_FS->UEP0_RX_CTRL = USBFS_UEP_R_TOG | USBFS_UEP_R_RES_ACK;
     e10:	4791                	li	a5,4
     e12:	02f409a3          	sb	a5,51(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:268
                        if ( ( USBFS_SetupReqType & USB_REQ_TYP_MASK ) != USB_REQ_TYP_STANDARD )
     e16:	85e1c783          	lbu	a5,-1954(gp) # 20000106 <USBFS_SetupReqType>
     e1a:	0607f793          	andi	a5,a5,96
     e1e:	f7e1                	bnez	a5,de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:274
                            switch( USBFS_SetupReqCode )
     e20:	8581c783          	lbu	a5,-1960(gp) # 20000100 <USBFS_SetupReqCode>
     e24:	4715                	li	a4,5
     e26:	0ff7f793          	andi	a5,a5,255
     e2a:	04e78d63          	beq	a5,a4,e84 <OTG_FS_IRQHandler+0x134>
     e2e:	4719                	li	a4,6
     e30:	fae79be3          	bne	a5,a4,de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:277
                                        len = USBFS_SetupReqLen >= DEF_USBD_UEP0_SIZE ? DEF_USBD_UEP0_SIZE : USBFS_SetupReqLen;
     e34:	209e                	lhu	a5,0(s1)
     e36:	03f00713          	li	a4,63
     e3a:	04000413          	li	s0,64
     e3e:	00f76563          	bltu	a4,a5,e48 <OTG_FS_IRQHandler+0xf8>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:277 (discriminator 1)
     e42:	2082                	lhu	s0,0(s1)
     e44:	0442                	slli	s0,s0,0x10
     e46:	8041                	srli	s0,s0,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:278 (discriminator 4)
                                        memcpy( USBFS_EP0_Buf, pUSBFS_Descr, len );
     e48:	86418913          	addi	s2,gp,-1948 # 2000010c <pUSBFS_Descr>
     e4c:	00092983          	lw	s3,0(s2)
     e50:	20001537          	lui	a0,0x20001
     e54:	8622                	mv	a2,s0
     e56:	85ce                	mv	a1,s3
     e58:	20050513          	addi	a0,a0,512 # 20001200 <USBFS_EP0_Buf>
     e5c:	3e2010ef          	jal	ra,223e <memcpy>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:279 (discriminator 4)
                                        USBFS_SetupReqLen -= len;
     e60:	209e                	lhu	a5,0(s1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:280 (discriminator 4)
                                        pUSBFS_Descr += len;
     e62:	99a2                	add	s3,s3,s0
     e64:	01392023          	sw	s3,0(s2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:279 (discriminator 4)
                                        USBFS_SetupReqLen -= len;
     e68:	8f81                	sub	a5,a5,s0
     e6a:	07c2                	slli	a5,a5,0x10
     e6c:	83c1                	srli	a5,a5,0x10
     e6e:	a09e                	sh	a5,0(s1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:281 (discriminator 4)
                                        USBOTG_FS->UEP0_TX_LEN   = len;
     e70:	500007b7          	lui	a5,0x50000
     e74:	bb82                	sh	s0,48(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:282 (discriminator 4)
                                        USBOTG_FS->UEP0_TX_CTRL ^= USBFS_UEP_T_TOG;
     e76:	0327c703          	lbu	a4,50(a5) # 50000032 <_eusrstack+0x2ffe0032>
     e7a:	00474713          	xori	a4,a4,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:679
                            USBOTG_FS->UEP0_TX_CTRL = USBFS_UEP_T_TOG | USBFS_UEP_T_RES_ACK;
     e7e:	02e78923          	sb	a4,50(a5)
     e82:	b795                	j	de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:286
                                        USBOTG_FS->DEV_ADDR = (USBOTG_FS->DEV_ADDR & USBFS_UDA_GP_BIT) | USBFS_DevAddr;
     e84:	50000737          	lui	a4,0x50000
     e88:	333c                	lbu	a5,3(a4)
     e8a:	84c1c683          	lbu	a3,-1972(gp) # 200000f4 <USBFS_DevAddr>
     e8e:	0807f793          	andi	a5,a5,128
     e92:	8fd5                	or	a5,a5,a3
     e94:	b33c                	sb	a5,3(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:287
                                        break;
     e96:	bf81                	j	de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:297
                            USBOTG_FS->UEP2_TX_CTRL = (USBOTG_FS->UEP2_TX_CTRL & ~USBFS_UEP_T_RES_MASK) | USBFS_UEP_T_RES_NAK;
     e98:	03a44783          	lbu	a5,58(s0)
     e9c:	0fc7f793          	andi	a5,a5,252
     ea0:	0027e793          	ori	a5,a5,2
     ea4:	02f40d23          	sb	a5,58(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:298
                            USBOTG_FS->UEP2_TX_CTRL ^= USBFS_UEP_T_TOG;
     ea8:	03a44783          	lbu	a5,58(s0)
     eac:	0047c793          	xori	a5,a5,4
     eb0:	02f40d23          	sb	a5,58(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:299
                            USBFS_Endp_Busy[ DEF_UEP2 ] = 0;
     eb4:	85018793          	addi	a5,gp,-1968 # 200000f8 <USBFS_Endp_Busy>
     eb8:	00078123          	sb	zero,2(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:300
                            UDISK_In_EP_Deal();
     ebc:	3635                	jal	9e8 <UDISK_In_EP_Deal>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:301
                            break;
     ebe:	b725                	j	de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:313
                        len = USBOTG_FS->RX_LEN;
     ec0:	241a                	lhu	a4,8(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:314
                        if ( intst & USBFS_UIS_TOG_OK )
     ec2:	0407f793          	andi	a5,a5,64
     ec6:	f20780e3          	beqz	a5,de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:316
                            if ( ( USBFS_SetupReqType & USB_REQ_TYP_MASK ) != USB_REQ_TYP_STANDARD )
     eca:	85e1c783          	lbu	a5,-1954(gp) # 20000106 <USBFS_SetupReqType>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:326
                            if( USBFS_SetupReqLen == 0 )
     ece:	85c1d783          	lhu	a5,-1956(gp) # 20000104 <USBFS_SetupReqLen>
     ed2:	07c2                	slli	a5,a5,0x10
     ed4:	83c1                	srli	a5,a5,0x10
     ed6:	f00798e3          	bnez	a5,de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:328
                                USBOTG_FS->UEP0_TX_LEN  = 0;
     eda:	02041823          	sh	zero,48(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:329
                                USBOTG_FS->UEP0_TX_CTRL = USBFS_UEP_T_TOG | USBFS_UEP_T_RES_ACK;
     ede:	4791                	li	a5,4
     ee0:	02f40923          	sb	a5,50(s0)
     ee4:	b709                	j	de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:350
                USBOTG_FS->UEP0_TX_CTRL = USBFS_UEP_T_TOG|USBFS_UEP_T_RES_NAK;
     ee6:	4799                	li	a5,6
     ee8:	02f40923          	sb	a5,50(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:353
                USBFS_SetupReqType  = pUSBFS_SetupReqPak->bRequestType;
     eec:	20001537          	lui	a0,0x20001
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:351
                USBOTG_FS->UEP0_RX_CTRL = USBFS_UEP_R_TOG|USBFS_UEP_R_RES_NAK;
     ef0:	02f409a3          	sb	a5,51(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:353
                USBFS_SetupReqType  = pUSBFS_SetupReqPak->bRequestType;
     ef4:	20050713          	addi	a4,a0,512 # 20001200 <USBFS_EP0_Buf>
     ef8:	231c                	lbu	a5,0(a4)
     efa:	85e18593          	addi	a1,gp,-1954 # 20000106 <USBFS_SetupReqType>
     efe:	a19c                	sb	a5,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:354
                USBFS_SetupReqCode  = pUSBFS_SetupReqPak->bRequest;
     f00:	331c                	lbu	a5,1(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:355
                USBFS_SetupReqLen   = pUSBFS_SetupReqPak->wLength;
     f02:	2376                	lhu	a3,6(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:354
                USBFS_SetupReqCode  = pUSBFS_SetupReqPak->bRequest;
     f04:	85818613          	addi	a2,gp,-1960 # 20000100 <USBFS_SetupReqCode>
     f08:	a21c                	sb	a5,0(a2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:356
                USBFS_SetupReqValue = pUSBFS_SetupReqPak->wValue;
     f0a:	00275803          	lhu	a6,2(a4) # 50000002 <_eusrstack+0x2ffe0002>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:355
                USBFS_SetupReqLen   = pUSBFS_SetupReqPak->wLength;
     f0e:	85c18793          	addi	a5,gp,-1956 # 20000104 <USBFS_SetupReqLen>
     f12:	a396                	sh	a3,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:356
                USBFS_SetupReqValue = pUSBFS_SetupReqPak->wValue;
     f14:	86018693          	addi	a3,gp,-1952 # 20000108 <USBFS_SetupReqValue>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:357
                USBFS_SetupReqIndex = pUSBFS_SetupReqPak->wIndex;
     f18:	00475303          	lhu	t1,4(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:356
                USBFS_SetupReqValue = pUSBFS_SetupReqPak->wValue;
     f1c:	01069023          	sh	a6,0(a3) # a000000 <_data_lma+0x9ffc5fc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:357
                USBFS_SetupReqIndex = pUSBFS_SetupReqPak->wIndex;
     f20:	85a18813          	addi	a6,gp,-1958 # 20000102 <USBFS_SetupReqIndex>
     f24:	00681023          	sh	t1,0(a6)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:360
                if ( ( USBFS_SetupReqType & USB_REQ_TYP_MASK ) != USB_REQ_TYP_STANDARD )
     f28:	0005c803          	lbu	a6,0(a1)
     f2c:	85c18413          	addi	s0,gp,-1956 # 20000104 <USBFS_SetupReqLen>
     f30:	85e18913          	addi	s2,gp,-1954 # 20000106 <USBFS_SetupReqType>
     f34:	06087813          	andi	a6,a6,96
     f38:	20050593          	addi	a1,a0,512
     f3c:	86018793          	addi	a5,gp,-1952 # 20000108 <USBFS_SetupReqValue>
     f40:	85a18693          	addi	a3,gp,-1958 # 20000102 <USBFS_SetupReqIndex>
     f44:	06080b63          	beqz	a6,fba <OTG_FS_IRQHandler+0x26a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:363
                    if (( USBFS_SetupReqType & USB_REQ_TYP_MASK ) == USB_REQ_TYP_CLASS)
     f48:	00094783          	lbu	a5,0(s2)
     f4c:	0607f793          	andi	a5,a5,96
     f50:	0f179663          	bne	a5,a7,103c <OTG_FS_IRQHandler+0x2ec>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:365
                        if (USBFS_SetupReqCode == CMD_UDISK_GET_MAX_LUN)
     f54:	221c                	lbu	a5,0(a2)
     f56:	0fe00693          	li	a3,254
     f5a:	04f69063          	bne	a3,a5,f9a <OTG_FS_IRQHandler+0x24a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:367
                            USBFS_EP0_Buf[0] = 0;
     f5e:	00070023          	sb	zero,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:368
                            pUSBFS_Descr = (uint8_t*)USBFS_EP0_Buf;
     f62:	86e1a223          	sw	a4,-1948(gp) # 2000010c <pUSBFS_Descr>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:665
                    if( USBFS_SetupReqType & DEF_UEP_IN )
     f66:	00094783          	lbu	a5,0(s2)
     f6a:	07e2                	slli	a5,a5,0x18
     f6c:	87e1                	srai	a5,a5,0x18
     f6e:	2e07d263          	bgez	a5,1252 <OTG_FS_IRQHandler+0x502>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:668
                        len = ( USBFS_SetupReqLen > DEF_USBD_UEP0_SIZE ) ? DEF_USBD_UEP0_SIZE : USBFS_SetupReqLen;
     f72:	201a                	lhu	a4,0(s0)
     f74:	04000793          	li	a5,64
     f78:	00e7e563          	bltu	a5,a4,f82 <OTG_FS_IRQHandler+0x232>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:668 (discriminator 1)
     f7c:	201e                	lhu	a5,0(s0)
     f7e:	07c2                	slli	a5,a5,0x10
     f80:	83c1                	srli	a5,a5,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:669 (discriminator 4)
                        USBFS_SetupReqLen -= len;
     f82:	201a                	lhu	a4,0(s0)
     f84:	8f1d                	sub	a4,a4,a5
     f86:	0742                	slli	a4,a4,0x10
     f88:	8341                	srli	a4,a4,0x10
     f8a:	a01a                	sh	a4,0(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:670 (discriminator 4)
                        USBOTG_FS->UEP0_TX_LEN  = len;
     f8c:	50000737          	lui	a4,0x50000
     f90:	bb1e                	sh	a5,48(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:671 (discriminator 4)
                        USBOTG_FS->UEP0_TX_CTRL = USBFS_UEP_T_TOG | USBFS_UEP_T_RES_ACK;
     f92:	4791                	li	a5,4
     f94:	02f70923          	sb	a5,50(a4) # 50000032 <_eusrstack+0x2ffe0032>
     f98:	b5b9                	j	de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:371
                        else if (USBFS_SetupReqCode == CMD_UDISK_RESET)
     f9a:	221c                	lbu	a5,0(a2)
     f9c:	0ff00713          	li	a4,255
     fa0:	08f71e63          	bne	a4,a5,103c <OTG_FS_IRQHandler+0x2ec>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:374
                            Udisk_Sense_Key = 0x00;
     fa4:	840182a3          	sb	zero,-1979(gp) # 200000ed <Udisk_Sense_Key>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:375
                            Udisk_Sense_ASC = 0x00;
     fa8:	84018223          	sb	zero,-1980(gp) # 200000ec <Udisk_Sense_ASC>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:376
                            Udisk_CSW_Status = 0x00;
     fac:	82018e23          	sb	zero,-1988(gp) # 200000e4 <Udisk_CSW_Status>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:377
                            Udisk_Transfer_Status = 0x00;
     fb0:	840183a3          	sb	zero,-1977(gp) # 200000ef <Udisk_Transfer_Status>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:378
                            UDISK_Transfer_DataLen = 0x00;
     fb4:	8201aa23          	sw	zero,-1996(gp) # 200000dc <UDISK_Transfer_DataLen>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:656
                if( errflag == 0xFF)
     fb8:	b77d                	j	f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:394
                    switch( USBFS_SetupReqCode )
     fba:	2218                	lbu	a4,0(a2)
     fbc:	462d                	li	a2,11
     fbe:	0ff77713          	andi	a4,a4,255
     fc2:	06e66d63          	bltu	a2,a4,103c <OTG_FS_IRQHandler+0x2ec>
     fc6:	660d                	lui	a2,0x3
     fc8:	070a                	slli	a4,a4,0x2
     fca:	56060613          	addi	a2,a2,1376 # 3560 <UDISK_Rd_Format_Capacity+0x50>
     fce:	9732                	add	a4,a4,a2
     fd0:	4318                	lw	a4,0(a4)
     fd2:	8702                	jr	a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:398 (discriminator 2)
                            switch( (uint8_t)( USBFS_SetupReqValue >> 8 ) )
     fd4:	239a                	lhu	a4,0(a5)
     fd6:	4689                	li	a3,2
     fd8:	8321                	srli	a4,a4,0x8
     fda:	86418993          	addi	s3,gp,-1948 # 2000010c <pUSBFS_Descr>
     fde:	06d70763          	beq	a4,a3,104c <OTG_FS_IRQHandler+0x2fc>
     fe2:	460d                	li	a2,3
     fe4:	08c70063          	beq	a4,a2,1064 <OTG_FS_IRQHandler+0x314>
     fe8:	4785                	li	a5,1
     fea:	08f71863          	bne	a4,a5,107a <OTG_FS_IRQHandler+0x32a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:402
                                    pUSBFS_Descr = MyDevDescr;
     fee:	6791                	lui	a5,0x4
     ff0:	91478713          	addi	a4,a5,-1772 # 3914 <MyDevDescr>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:403
                                    len = DEF_USBD_DEVICE_DESC_LEN;
     ff4:	9147c783          	lbu	a5,-1772(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:402
                                    pUSBFS_Descr = MyDevDescr;
     ff8:	00e9a023          	sw	a4,0(s3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:359
                errflag = 0;
     ffc:	4481                	li	s1,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:452
                            if( USBFS_SetupReqLen>len )
     ffe:	201a                	lhu	a4,0(s0)
    1000:	00e7f363          	bgeu	a5,a4,1006 <OTG_FS_IRQHandler+0x2b6>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:454
                                USBFS_SetupReqLen = len;
    1004:	a01e                	sh	a5,0(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:456
                            len = (USBFS_SetupReqLen >= DEF_USBD_UEP0_SIZE) ? DEF_USBD_UEP0_SIZE : USBFS_SetupReqLen;
    1006:	201e                	lhu	a5,0(s0)
    1008:	03f00713          	li	a4,63
    100c:	04000a13          	li	s4,64
    1010:	00f76763          	bltu	a4,a5,101e <OTG_FS_IRQHandler+0x2ce>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:456 (discriminator 1)
    1014:	00045a03          	lhu	s4,0(s0)
    1018:	0a42                	slli	s4,s4,0x10
    101a:	010a5a13          	srli	s4,s4,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:457 (discriminator 4)
                            memcpy( USBFS_EP0_Buf, pUSBFS_Descr, len );
    101e:	0009aa83          	lw	s5,0(s3)
    1022:	8652                	mv	a2,s4
    1024:	20050513          	addi	a0,a0,512
    1028:	85d6                	mv	a1,s5
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:458 (discriminator 4)
                            pUSBFS_Descr += len;
    102a:	9a56                	add	s4,s4,s5
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:457 (discriminator 4)
                            memcpy( USBFS_EP0_Buf, pUSBFS_Descr, len );
    102c:	212010ef          	jal	ra,223e <memcpy>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:458 (discriminator 4)
                            pUSBFS_Descr += len;
    1030:	0149a023          	sw	s4,0(s3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:656
                if( errflag == 0xFF)
    1034:	0ff00793          	li	a5,255
    1038:	f2f497e3          	bne	s1,a5,f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:659
                    USBOTG_FS->UEP0_TX_CTRL = USBFS_UEP_T_TOG | USBFS_UEP_T_RES_STALL;
    103c:	500007b7          	lui	a5,0x50000
    1040:	471d                	li	a4,7
    1042:	02e78923          	sb	a4,50(a5) # 50000032 <_eusrstack+0x2ffe0032>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:683
                            USBOTG_FS->UEP0_RX_CTRL = USBFS_UEP_R_TOG | USBFS_UEP_R_RES_ACK;
    1046:	02e789a3          	sb	a4,51(a5)
    104a:	bb71                	j	de6 <OTG_FS_IRQHandler+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:408
                                    pUSBFS_Descr = MyCfgDescr;
    104c:	6711                	lui	a4,0x4
    104e:	8f470713          	addi	a4,a4,-1804 # 38f4 <MyCfgDescr>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:409
                                    len = DEF_USBD_CONFIG_DESC_LEN;
    1052:	333c                	lbu	a5,3(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:408
                                    pUSBFS_Descr = MyCfgDescr;
    1054:	00e9a023          	sw	a4,0(s3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:409
                                    len = DEF_USBD_CONFIG_DESC_LEN;
    1058:	2338                	lbu	a4,2(a4)
    105a:	07a2                	slli	a5,a5,0x8
    105c:	97ba                	add	a5,a5,a4
    105e:	07c2                	slli	a5,a5,0x10
    1060:	83c1                	srli	a5,a5,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:410
                                    break;
    1062:	bf69                	j	ffc <OTG_FS_IRQHandler+0x2ac>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:414 (discriminator 3)
                                    switch( (uint8_t)( USBFS_SetupReqValue & 0xFF ) )
    1064:	239e                	lhu	a5,0(a5)
    1066:	4605                	li	a2,1
    1068:	0ff7f793          	andi	a5,a5,255
    106c:	02c78263          	beq	a5,a2,1090 <OTG_FS_IRQHandler+0x340>
    1070:	cb89                	beqz	a5,1082 <OTG_FS_IRQHandler+0x332>
    1072:	02d78763          	beq	a5,a3,10a0 <OTG_FS_IRQHandler+0x350>
    1076:	02e78d63          	beq	a5,a4,10b0 <OTG_FS_IRQHandler+0x360>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:358
                len = 0;
    107a:	4781                	li	a5,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:447
                                    errflag = 0xFF;
    107c:	0ff00493          	li	s1,255
    1080:	bfbd                	j	ffe <OTG_FS_IRQHandler+0x2ae>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:418
                                            pUSBFS_Descr = MyLangDescr;
    1082:	82018713          	addi	a4,gp,-2016 # 200000c8 <MyLangDescr>
    1086:	00e9a023          	sw	a4,0(s3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:419
                                            len = DEF_USBD_LANG_DESC_LEN;
    108a:	8201c783          	lbu	a5,-2016(gp) # 200000c8 <MyLangDescr>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:420
                                            break;
    108e:	b7bd                	j	ffc <OTG_FS_IRQHandler+0x2ac>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:424
                                            pUSBFS_Descr = MyManuInfo;
    1090:	6791                	lui	a5,0x4
    1092:	92878713          	addi	a4,a5,-1752 # 3928 <MyManuInfo>
    1096:	00e9a023          	sw	a4,0(s3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:425
                                            len = DEF_USBD_MANU_DESC_LEN;
    109a:	9287c783          	lbu	a5,-1752(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:426
                                            break;
    109e:	bfb9                	j	ffc <OTG_FS_IRQHandler+0x2ac>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:430
                                            pUSBFS_Descr = MyProdInfo;
    10a0:	6791                	lui	a5,0x4
    10a2:	93878713          	addi	a4,a5,-1736 # 3938 <MyProdInfo>
    10a6:	00e9a023          	sw	a4,0(s3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:431
                                            len = DEF_USBD_PROD_DESC_LEN;
    10aa:	9387c783          	lbu	a5,-1736(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:432
                                            break;
    10ae:	b7b9                	j	ffc <OTG_FS_IRQHandler+0x2ac>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:436
                                            pUSBFS_Descr = MySerNumInfo;
    10b0:	6791                	lui	a5,0x4
    10b2:	95078713          	addi	a4,a5,-1712 # 3950 <MySerNumInfo>
    10b6:	00e9a023          	sw	a4,0(s3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:437
                                            len = DEF_USBD_SN_DESC_LEN;
    10ba:	9507c783          	lbu	a5,-1712(a5)
    10be:	bf3d                	j	ffc <OTG_FS_IRQHandler+0x2ac>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:463
                            USBFS_DevAddr = (uint8_t)( USBFS_SetupReqValue & 0xFF );
    10c0:	239e                	lhu	a5,0(a5)
    10c2:	0ff7f793          	andi	a5,a5,255
    10c6:	84f18623          	sb	a5,-1972(gp) # 200000f4 <USBFS_DevAddr>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:656
                if( errflag == 0xFF)
    10ca:	bd71                	j	f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:468
                            USBFS_EP0_Buf[0] = USBFS_DevConfig;
    10cc:	84d1c783          	lbu	a5,-1971(gp) # 200000f5 <USBFS_DevConfig>
    10d0:	a19c                	sb	a5,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:594
                            if ( USBFS_SetupReqLen > 1 )
    10d2:	201a                	lhu	a4,0(s0)
    10d4:	4785                	li	a5,1
    10d6:	e8e7f8e3          	bgeu	a5,a4,f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:596
                                USBFS_SetupReqLen = 1;
    10da:	a01e                	sh	a5,0(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:656
                if( errflag == 0xFF)
    10dc:	b569                	j	f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:477
                            USBFS_DevConfig = (uint8_t)( USBFS_SetupReqValue & 0xFF );
    10de:	239e                	lhu	a5,0(a5)
    10e0:	0ff7f793          	andi	a5,a5,255
    10e4:	84f186a3          	sb	a5,-1971(gp) # 200000f5 <USBFS_DevConfig>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:478
                            USBFS_DevEnumStatus = 0x01;
    10e8:	4705                	li	a4,1
    10ea:	84e18723          	sb	a4,-1970(gp) # 200000f6 <USBFS_DevEnumStatus>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:656
                if( errflag == 0xFF)
    10ee:	bda5                	j	f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:483
                            if ( ( USBFS_SetupReqType & USB_REQ_RECIP_MASK ) == USB_REQ_RECIP_DEVICE )
    10f0:	00094703          	lbu	a4,0(s2)
    10f4:	8b7d                	andi	a4,a4,31
    10f6:	ef11                	bnez	a4,1112 <OTG_FS_IRQHandler+0x3c2>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:486
                                if( (uint8_t)( USBFS_SetupReqValue & 0xFF ) == USB_REQ_FEAT_REMOTE_WAKEUP )
    10f8:	239e                	lhu	a5,0(a5)
    10fa:	4705                	li	a4,1
    10fc:	0ff7f793          	andi	a5,a5,255
    1100:	e6e793e3          	bne	a5,a4,f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:489
                                    USBFS_DevSleepStatus &= ~0x01;
    1104:	84f18793          	addi	a5,gp,-1969 # 200000f7 <USBFS_DevSleepStatus>
    1108:	2398                	lbu	a4,0(a5)
    110a:	0fe77713          	andi	a4,a4,254
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:545
                                        USBFS_DevSleepStatus |= 0x01;
    110e:	a398                	sb	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:656
                if( errflag == 0xFF)
    1110:	bd99                	j	f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:492
                            else if( ( USBFS_SetupReqType & USB_REQ_RECIP_MASK ) == USB_REQ_RECIP_ENDP )
    1112:	00094703          	lbu	a4,0(s2)
    1116:	4609                	li	a2,2
    1118:	8b7d                	andi	a4,a4,31
    111a:	f2c711e3          	bne	a4,a2,103c <OTG_FS_IRQHandler+0x2ec>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:495
                                if( (uint8_t)( USBFS_SetupReqValue & 0xFF ) == USB_REQ_FEAT_ENDP_HALT )
    111e:	239e                	lhu	a5,0(a5)
    1120:	0ff7f793          	andi	a5,a5,255
    1124:	f0079ce3          	bnez	a5,103c <OTG_FS_IRQHandler+0x2ec>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:497
                                    switch( (uint8_t)( USBFS_SetupReqIndex & 0xFF ) )
    1128:	229e                	lhu	a5,0(a3)
    112a:	468d                	li	a3,3
    112c:	0ff7f793          	andi	a5,a5,255
    1130:	02d78263          	beq	a5,a3,1154 <OTG_FS_IRQHandler+0x404>
    1134:	08200693          	li	a3,130
    1138:	f0d792e3          	bne	a5,a3,103c <OTG_FS_IRQHandler+0x2ec>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:501
                                            USBOTG_FS->UEP2_TX_CTRL = USBFS_UEP_T_RES_NAK;
    113c:	500007b7          	lui	a5,0x50000
    1140:	02e78d23          	sb	a4,58(a5) # 5000003a <_eusrstack+0x2ffe003a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:503
                                            if( Udisk_Transfer_Status & DEF_UDISK_CSW_UP_FLAG )
    1144:	8471c783          	lbu	a5,-1977(gp) # 200000ef <Udisk_Transfer_Status>
    1148:	8b91                	andi	a5,a5,4
    114a:	e0078ee3          	beqz	a5,f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:505
                                                UDISK_Up_CSW( );
    114e:	fbaff0ef          	jal	ra,908 <UDISK_Up_CSW>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:656
                if( errflag == 0xFF)
    1152:	bd11                	j	f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:511
                                            USBOTG_FS->UEP3_RX_CTRL = USBFS_UEP_R_RES_ACK;
    1154:	500007b7          	lui	a5,0x50000
    1158:	02078fa3          	sb	zero,63(a5) # 5000003f <_eusrstack+0x2ffe003f>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:513
                                            if( Udisk_Transfer_Status & DEF_UDISK_CSW_UP_FLAG )
    115c:	b7e5                	j	1144 <OTG_FS_IRQHandler+0x3f4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:537
                            if( ( USBFS_SetupReqType & USB_REQ_RECIP_MASK ) == USB_REQ_RECIP_DEVICE )
    115e:	00094703          	lbu	a4,0(s2)
    1162:	8b7d                	andi	a4,a4,31
    1164:	e705                	bnez	a4,118c <OTG_FS_IRQHandler+0x43c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:540
                                if( (uint8_t)( USBFS_SetupReqValue & 0xFF ) == USB_REQ_FEAT_REMOTE_WAKEUP )
    1166:	239e                	lhu	a5,0(a5)
    1168:	4705                	li	a4,1
    116a:	0ff7f793          	andi	a5,a5,255
    116e:	ece797e3          	bne	a5,a4,103c <OTG_FS_IRQHandler+0x2ec>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:542
                                    if( MyCfgDescr[ 7 ] & 0x20 )
    1172:	6791                	lui	a5,0x4
    1174:	8fb7c783          	lbu	a5,-1797(a5) # 38fb <MyCfgDescr+0x7>
    1178:	0207f793          	andi	a5,a5,32
    117c:	ec0780e3          	beqz	a5,103c <OTG_FS_IRQHandler+0x2ec>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:545
                                        USBFS_DevSleepStatus |= 0x01;
    1180:	84f18793          	addi	a5,gp,-1969 # 200000f7 <USBFS_DevSleepStatus>
    1184:	2398                	lbu	a4,0(a5)
    1186:	00176713          	ori	a4,a4,1
    118a:	b751                	j	110e <OTG_FS_IRQHandler+0x3be>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:557
                            else if( ( USBFS_SetupReqType & USB_REQ_RECIP_MASK ) == USB_REQ_RECIP_ENDP )
    118c:	00094703          	lbu	a4,0(s2)
    1190:	4609                	li	a2,2
    1192:	8b7d                	andi	a4,a4,31
    1194:	eac714e3          	bne	a4,a2,103c <OTG_FS_IRQHandler+0x2ec>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:560
                                if( (uint8_t)( USBFS_SetupReqValue & 0xFF ) == USB_REQ_FEAT_ENDP_HALT )
    1198:	239e                	lhu	a5,0(a5)
    119a:	0ff7f793          	andi	a5,a5,255
    119e:	e8079fe3          	bnez	a5,103c <OTG_FS_IRQHandler+0x2ec>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:563
                                    switch( (uint8_t)( USBFS_SetupReqIndex & 0xFF ) )
    11a2:	229e                	lhu	a5,0(a3)
    11a4:	470d                	li	a4,3
    11a6:	0ff7f793          	andi	a5,a5,255
    11aa:	00e78f63          	beq	a5,a4,11c8 <OTG_FS_IRQHandler+0x478>
    11ae:	08200713          	li	a4,130
    11b2:	e8e795e3          	bne	a5,a4,103c <OTG_FS_IRQHandler+0x2ec>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:567
                                            USBOTG_FS->UEP2_TX_CTRL = ( USBOTG_FS->UEP2_TX_CTRL & ~USBFS_UEP_T_RES_MASK ) | USBFS_UEP_T_RES_STALL;
    11b6:	50000737          	lui	a4,0x50000
    11ba:	03a74783          	lbu	a5,58(a4) # 5000003a <_eusrstack+0x2ffe003a>
    11be:	0037e793          	ori	a5,a5,3
    11c2:	02f70d23          	sb	a5,58(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:656
                if( errflag == 0xFF)
    11c6:	b345                	j	f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:572
                                            USBOTG_FS->UEP3_RX_CTRL = ( USBOTG_FS->UEP3_RX_CTRL & ~USBFS_UEP_R_RES_MASK ) | USBFS_UEP_R_RES_STALL;
    11c8:	50000737          	lui	a4,0x50000
    11cc:	03f74783          	lbu	a5,63(a4) # 5000003f <_eusrstack+0x2ffe003f>
    11d0:	0037e793          	ori	a5,a5,3
    11d4:	02f70fa3          	sb	a5,63(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:656
                if( errflag == 0xFF)
    11d8:	b379                	j	f66 <OTG_FS_IRQHandler+0x216>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:593
                            USBFS_EP0_Buf[0] = 0x00;
    11da:	00058023          	sb	zero,0(a1)
    11de:	bdd5                	j	10d2 <OTG_FS_IRQHandler+0x382>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:607
                            if ( ( USBFS_SetupReqType & USB_REQ_RECIP_MASK ) == USB_REQ_RECIP_DEVICE )
    11e0:	00094783          	lbu	a5,0(s2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:605
                            USBFS_EP0_Buf[ 0 ] = 0x00;
    11e4:	00059023          	sh	zero,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:607
                            if ( ( USBFS_SetupReqType & USB_REQ_RECIP_MASK ) == USB_REQ_RECIP_DEVICE )
    11e8:	8bfd                	andi	a5,a5,31
    11ea:	ef91                	bnez	a5,1206 <OTG_FS_IRQHandler+0x4b6>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:609
                                if( USBFS_DevSleepStatus & 0x01 )
    11ec:	84f1c783          	lbu	a5,-1969(gp) # 200000f7 <USBFS_DevSleepStatus>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:359
                errflag = 0;
    11f0:	4481                	li	s1,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:609
                                if( USBFS_DevSleepStatus & 0x01 )
    11f2:	8b85                	andi	a5,a5,1
    11f4:	c399                	beqz	a5,11fa <OTG_FS_IRQHandler+0x4aa>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:611
                                    USBFS_EP0_Buf[ 0 ] = 0x02;
    11f6:	4789                	li	a5,2
    11f8:	a19c                	sb	a5,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:642
                            if ( USBFS_SetupReqLen > 2 )
    11fa:	201a                	lhu	a4,0(s0)
    11fc:	4789                	li	a5,2
    11fe:	e2e7fbe3          	bgeu	a5,a4,1034 <OTG_FS_IRQHandler+0x2e4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:644
                                USBFS_SetupReqLen = 2;
    1202:	a01e                	sh	a5,0(s0)
    1204:	bd05                	j	1034 <OTG_FS_IRQHandler+0x2e4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:614
                            else if( ( USBFS_SetupReqType & USB_REQ_RECIP_MASK ) == USB_REQ_RECIP_ENDP )
    1206:	00094783          	lbu	a5,0(s2)
    120a:	4709                	li	a4,2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:639
                                errflag = 0xFF;
    120c:	0ff00493          	li	s1,255
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:614
                            else if( ( USBFS_SetupReqType & USB_REQ_RECIP_MASK ) == USB_REQ_RECIP_ENDP )
    1210:	8bfd                	andi	a5,a5,31
    1212:	fee794e3          	bne	a5,a4,11fa <OTG_FS_IRQHandler+0x4aa>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:616
                                switch( (uint8_t)( USBFS_SetupReqIndex & 0xFF ) )
    1216:	229e                	lhu	a5,0(a3)
    1218:	470d                	li	a4,3
    121a:	0ff7f793          	andi	a5,a5,255
    121e:	02e78263          	beq	a5,a4,1242 <OTG_FS_IRQHandler+0x4f2>
    1222:	08200693          	li	a3,130
    1226:	fcd79ae3          	bne	a5,a3,11fa <OTG_FS_IRQHandler+0x4aa>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:619
                                        if( ( (USBOTG_FS->UEP2_TX_CTRL) & USBFS_UEP_T_RES_MASK ) == USBFS_UEP_T_RES_STALL )
    122a:	500007b7          	lui	a5,0x50000
    122e:	03a7c783          	lbu	a5,58(a5) # 5000003a <_eusrstack+0x2ffe003a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:359
                errflag = 0;
    1232:	4481                	li	s1,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:619
                                        if( ( (USBOTG_FS->UEP2_TX_CTRL) & USBFS_UEP_T_RES_MASK ) == USBFS_UEP_T_RES_STALL )
    1234:	8b8d                	andi	a5,a5,3
    1236:	fce792e3          	bne	a5,a4,11fa <OTG_FS_IRQHandler+0x4aa>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:621
                                            USBFS_EP0_Buf[ 0 ] = 0x01;
    123a:	4785                	li	a5,1
    123c:	a19c                	sb	a5,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:359
                errflag = 0;
    123e:	4481                	li	s1,0
    1240:	bf6d                	j	11fa <OTG_FS_IRQHandler+0x4aa>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:626
                                        if( ( (USBOTG_FS->UEP3_RX_CTRL) & USBFS_UEP_R_RES_MASK ) == USBFS_UEP_R_RES_STALL )
    1242:	50000737          	lui	a4,0x50000
    1246:	03f74703          	lbu	a4,63(a4) # 5000003f <_eusrstack+0x2ffe003f>
    124a:	8b0d                	andi	a4,a4,3
    124c:	fef719e3          	bne	a4,a5,123e <OTG_FS_IRQHandler+0x4ee>
    1250:	b7ed                	j	123a <OTG_FS_IRQHandler+0x4ea>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:676
                        if( USBFS_SetupReqLen == 0 )
    1252:	201e                	lhu	a5,0(s0)
    1254:	07c2                	slli	a5,a5,0x10
    1256:	83c1                	srli	a5,a5,0x10
    1258:	e799                	bnez	a5,1266 <OTG_FS_IRQHandler+0x516>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:678
                            USBOTG_FS->UEP0_TX_LEN  = 0;
    125a:	500007b7          	lui	a5,0x50000
    125e:	02079823          	sh	zero,48(a5) # 50000030 <_eusrstack+0x2ffe0030>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:679
                            USBOTG_FS->UEP0_TX_CTRL = USBFS_UEP_T_TOG | USBFS_UEP_T_RES_ACK;
    1262:	4711                	li	a4,4
    1264:	b929                	j	e7e <OTG_FS_IRQHandler+0x12e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:683
                            USBOTG_FS->UEP0_RX_CTRL = USBFS_UEP_R_TOG | USBFS_UEP_R_RES_ACK;
    1266:	500007b7          	lui	a5,0x50000
    126a:	4711                	li	a4,4
    126c:	bbe9                	j	1046 <OTG_FS_IRQHandler+0x2f6>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:698
    else if( intflag & USBFS_UIF_BUS_RST )
    126e:	00177793          	andi	a5,a4,1
    1272:	c385                	beqz	a5,1292 <OTG_FS_IRQHandler+0x542>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:701
        USBFS_DevConfig = 0;
    1274:	840186a3          	sb	zero,-1971(gp) # 200000f5 <USBFS_DevConfig>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:702
        USBFS_DevAddr = 0;
    1278:	84018623          	sb	zero,-1972(gp) # 200000f4 <USBFS_DevAddr>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:703
        USBFS_DevSleepStatus = 0;
    127c:	840187a3          	sb	zero,-1969(gp) # 200000f7 <USBFS_DevSleepStatus>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:704
        USBFS_DevEnumStatus = 0;
    1280:	84018723          	sb	zero,-1970(gp) # 200000f6 <USBFS_DevEnumStatus>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:706
        USBOTG_FS->DEV_ADDR = 0;
    1284:	000401a3          	sb	zero,3(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:707
        USBFS_Device_Endp_Init( );
    1288:	929ff0ef          	jal	ra,bb0 <USBFS_Device_Endp_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:708
        USBOTG_FS->INT_FG = USBFS_UIF_BUS_RST;
    128c:	4785                	li	a5,1
    128e:	a07c                	sb	a5,6(s0)
    1290:	beb9                	j	dee <OTG_FS_IRQHandler+0x9e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:710
    else if( intflag & USBFS_UIF_SUSPEND )
    1292:	00477793          	andi	a5,a4,4
    1296:	c39d                	beqz	a5,12bc <OTG_FS_IRQHandler+0x56c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:713
        USBOTG_FS->INT_FG = USBFS_UIF_SUSPEND;
    1298:	4791                	li	a5,4
    129a:	a07c                	sb	a5,6(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:714
        if ( USBOTG_FS->MIS_ST & USBFS_UMS_SUSPEND )
    129c:	3058                	lbu	a4,5(s0)
    129e:	84f18793          	addi	a5,gp,-1969 # 200000f7 <USBFS_DevSleepStatus>
    12a2:	8b11                	andi	a4,a4,4
    12a4:	c719                	beqz	a4,12b2 <OTG_FS_IRQHandler+0x562>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:716
            USBFS_DevSleepStatus |= 0x02;
    12a6:	2398                	lbu	a4,0(a5)
    12a8:	00276713          	ori	a4,a4,2
    12ac:	a398                	sb	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:717
            if( USBFS_DevSleepStatus == 0x03 )
    12ae:	239c                	lbu	a5,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:720
            }
    12b0:	be3d                	j	dee <OTG_FS_IRQHandler+0x9e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:724
            USBFS_DevSleepStatus &= ~0x02;
    12b2:	2398                	lbu	a4,0(a5)
    12b4:	0fd77713          	andi	a4,a4,253
    12b8:	a398                	sb	a4,0(a5)
    12ba:	be15                	j	dee <OTG_FS_IRQHandler+0x9e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:730
        USBOTG_FS->INT_FG = intflag;
    12bc:	a078                	sb	a4,6(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/ch32v30x_usbfs_device.c:732
}
    12be:	be05                	j	dee <OTG_FS_IRQHandler+0x9e>

000012c0 <main>:
main():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:34
 * @brief   Main program.
 *
 * @return  none
 */
int main(void)
{
    12c0:	f71fe2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:35
    SystemCoreClockUpdate( );
    12c4:	2b61                	jal	185c <SystemCoreClockUpdate>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:36
    Delay_Init( );
    12c6:	61d000ef          	jal	ra,20e2 <Delay_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:37
    USART_Printf_Init( 115200 );
    12ca:	6571                	lui	a0,0x1c
    12cc:	20050513          	addi	a0,a0,512 # 1c200 <_data_lma+0x187fc>
    12d0:	6a5000ef          	jal	ra,2174 <USART_Printf_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:39

    printf( "SystemClk:%d\r\n",SystemCoreClock );
    12d4:	8081a583          	lw	a1,-2040(gp) # 200000b0 <SystemCoreClock>
    12d8:	00003537          	lui	a0,0x3
    12dc:	59050513          	addi	a0,a0,1424 # 3590 <UDISK_Rd_Format_Capacity+0x80>
    12e0:	010010ef          	jal	ra,22f0 <iprintf>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:40
    printf( "ChipID:%08x\r\n", DBGMCU_GetCHIPID() );
    12e4:	77e000ef          	jal	ra,1a62 <DBGMCU_GetCHIPID>
    12e8:	85aa                	mv	a1,a0
    12ea:	00003537          	lui	a0,0x3
    12ee:	5a050513          	addi	a0,a0,1440 # 35a0 <UDISK_Rd_Format_Capacity+0x90>
    12f2:	7ff000ef          	jal	ra,22f0 <iprintf>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:41
    printf( "This program is a Simulate UDisk\r\n" );
    12f6:	00003537          	lui	a0,0x3
    12fa:	5b050513          	addi	a0,a0,1456 # 35b0 <UDISK_Rd_Format_Capacity+0xa0>
    12fe:	106010ef          	jal	ra,2404 <puts>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:43

    Delay_Ms(10);
    1302:	4529                	li	a0,10
    1304:	63b000ef          	jal	ra,213e <Delay_Ms>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:45
#if (STORAGE_MEDIUM == MEDIUM_SPI_FLASH)
    printf( "USBD UDisk Demo\r\nStorage Medium: SPI FLASH \r\n" );
    1308:	00003537          	lui	a0,0x3
    130c:	5d450513          	addi	a0,a0,1492 # 35d4 <UDISK_Rd_Format_Capacity+0xc4>
    1310:	0f4010ef          	jal	ra,2404 <puts>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:47
    /* SPI flash init */
    CH32V_SPI_Init();
    1314:	84cff0ef          	jal	ra,360 <CH32V_SPI_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:49
    /* FLASH ID check */
    spiflash_init( );
    1318:	2625                	jal	1640 <spiflash_init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:57
    Flash_Sector_Count = IFLASH_UDISK_SIZE  / DEF_UDISK_SECTOR_SIZE;
    Flash_Sector_Size = DEF_UDISK_SECTOR_SIZE;
#endif

    /* Enable Udisk */
    Udisk_Capability =  spi_flash_size / flah_sector_size;
    131a:	200007b7          	lui	a5,0x20000
    131e:	0ac7a783          	lw	a5,172(a5) # 200000ac <spi_flash_size>
    1322:	83b1                	srli	a5,a5,0xc
    1324:	84f1a023          	sw	a5,-1984(gp) # 200000e8 <Udisk_Capability>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:58
    Udisk_Status |= DEF_UDISK_EN_FLAG;
    1328:	8461c783          	lbu	a5,-1978(gp) # 200000ee <Udisk_Status>
    132c:	0017e793          	ori	a5,a5,1
    1330:	84f18323          	sb	a5,-1978(gp) # 200000ee <Udisk_Status>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:61

    /* USBOTG_FS device init */
    USBFS_RCC_Init( );
    1334:	843ff0ef          	jal	ra,b76 <USBFS_RCC_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:62
    USBFS_Device_Init( ENABLE );
    1338:	4505                	li	a0,1
    133a:	8dbff0ef          	jal	ra,c14 <USBFS_Device_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:63
    PRINT( "mcu is OK!Start:%s,%s\n", __DATE__, __TIME__ );
    133e:	00003637          	lui	a2,0x3
    1342:	000035b7          	lui	a1,0x3
    1346:	00003537          	lui	a0,0x3
    134a:	60460613          	addi	a2,a2,1540 # 3604 <UDISK_Rd_Format_Capacity+0xf4>
    134e:	61058593          	addi	a1,a1,1552 # 3610 <UDISK_Rd_Format_Capacity+0x100>
    1352:	61c50513          	addi	a0,a0,1564 # 361c <UDISK_Rd_Format_Capacity+0x10c>
    1356:	79b000ef          	jal	ra,22f0 <iprintf>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/main.c:66 (discriminator 1)
    while(1)
    {
        ;
    135a:	a001                	j	135a <main+0x9a>

0000135c <flash_spi_writeenable>:
flash_spi_writeenable():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:240
  * @brief  Enables the write access to the FLASH.
  * @param  None
  * @retval None
  */
static void flash_spi_writeenable(void)
{
    135c:	ed5fe2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:242
    /*!< Select the FLASH: Chip Select low */
    flash_spi_cs_low();
    1360:	40011437          	lui	s0,0x40011
    1364:	4591                	li	a1,4
    1366:	80040513          	addi	a0,s0,-2048 # 40010800 <_eusrstack+0x1fff0800>
    136a:	1dd000ef          	jal	ra,1d46 <GPIO_ResetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:245

    /*!< Send "Write Enable" instruction */
    SPI1_ReadWriteByte(FLASH_CMD_WREN);
    136e:	4519                	li	a0,6
    1370:	906ff0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:248

    /*!< Deselect the FLASH: Chip Select high */
    flash_spi_cs_high();
    1374:	4591                	li	a1,4
    1376:	80040513          	addi	a0,s0,-2048
    137a:	1c9000ef          	jal	ra,1d42 <GPIO_SetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:249
}
    137e:	ed7fe06f          	j	254 <__riscv_restore_0>

00001382 <flash_spi_waitforwriteend>:
flash_spi_waitforwriteend():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:258
  *         status register and loop until write opertaion has completed.
  * @param  None
  * @retval None
  */
static void flash_spi_waitforwriteend(void)
{
    1382:	eaffe2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:261
    uint8_t flashstatus = 0;
    /*!< Select the FLASH: Chip Select low */
    flash_spi_cs_low();
    1386:	40011537          	lui	a0,0x40011
    138a:	80050513          	addi	a0,a0,-2048 # 40010800 <_eusrstack+0x1fff0800>
    138e:	4591                	li	a1,4
    1390:	1b7000ef          	jal	ra,1d46 <GPIO_ResetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:264

    /*!< Send "Read Status Register" instruction */
    SPI1_ReadWriteByte(FLASH_CMD_READSTS);
    1394:	4515                	li	a0,5
    1396:	8e0ff0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:271 (discriminator 1)
    /*!< Loop as long as the memory is busy with a write cycle */
    do
    {
       /*!< Send a dummy byte to generate the clock needed by the FLASH
        and put the value of the status register in FLASH_Status variable */
        flashstatus = SPI1_ReadWriteByte(flash_dummy_byte);
    139a:	0ff00513          	li	a0,255
    139e:	8d8ff0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:274 (discriminator 1)

    }
    while ((flashstatus & 0x1) == SET); /* Write in progress */
    13a2:	8905                	andi	a0,a0,1
    13a4:	f97d                	bnez	a0,139a <flash_spi_waitforwriteend+0x18>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:277

    /*!< Deselect the FLASH: Chip Select high */
    flash_spi_cs_high();
    13a6:	40011537          	lui	a0,0x40011
    13aa:	4591                	li	a1,4
    13ac:	80050513          	addi	a0,a0,-2048 # 40010800 <_eusrstack+0x1fff0800>
    13b0:	193000ef          	jal	ra,1d42 <GPIO_SetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:278
}
    13b4:	ea1fe06f          	j	254 <__riscv_restore_0>

000013b8 <spiflash_gpioinit>:
spiflash_gpioinit():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:181
{
    13b8:	e79fe2ef          	jal	t0,230 <__riscv_save_0>
    13bc:	1141                	addi	sp,sp,-16
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:183
    RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA , ENABLE);
    13be:	4585                	li	a1,1
    13c0:	4511                	li	a0,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:182
    GPIO_InitTypeDef GPIO_InitStructure = {0};
    13c2:	c202                	sw	zero,4(sp)
    13c4:	c402                	sw	zero,8(sp)
    13c6:	c602                	sw	zero,12(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:183
    RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA , ENABLE);
    13c8:	317000ef          	jal	ra,1ede <RCC_APB2PeriphClockCmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:185
    GPIO_InitStructure.GPIO_Pin = FLASH_SPI_CS_PIN;
    13cc:	4791                	li	a5,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:188
    GPIO_Init(FLASH_SPI_CS_GPIO, &GPIO_InitStructure);
    13ce:	40011437          	lui	s0,0x40011
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:185
    GPIO_InitStructure.GPIO_Pin = FLASH_SPI_CS_PIN;
    13d2:	827c                	sh	a5,4(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:186
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
    13d4:	47c1                	li	a5,16
    13d6:	c63e                	sw	a5,12(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:188
    GPIO_Init(FLASH_SPI_CS_GPIO, &GPIO_InitStructure);
    13d8:	004c                	addi	a1,sp,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:187
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
    13da:	478d                	li	a5,3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:188
    GPIO_Init(FLASH_SPI_CS_GPIO, &GPIO_InitStructure);
    13dc:	80040513          	addi	a0,s0,-2048 # 40010800 <_eusrstack+0x1fff0800>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:187
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
    13e0:	c43e                	sw	a5,8(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:188
    GPIO_Init(FLASH_SPI_CS_GPIO, &GPIO_InitStructure);
    13e2:	0a1000ef          	jal	ra,1c82 <GPIO_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:189
    GPIO_SetBits(FLASH_SPI_CS_GPIO, FLASH_SPI_CS_PIN);
    13e6:	4591                	li	a1,4
    13e8:	80040513          	addi	a0,s0,-2048
    13ec:	157000ef          	jal	ra,1d42 <GPIO_SetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:190
}
    13f0:	0141                	addi	sp,sp,16
    13f2:	e63fe06f          	j	254 <__riscv_restore_0>

000013f6 <flash_spi_erasesector>:
flash_spi_erasesector():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:286
  * @brief  Erases the specified FLASH sector.
  * @param  SectorAddr: address of the sector to erase.
  * @retval None
  */
void flash_spi_erasesector(uint32_t sectoraddr)
{
    13f6:	e3bfe2ef          	jal	t0,230 <__riscv_save_0>
    13fa:	842a                	mv	s0,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:292
	/*!< send write enable instruction */
	flash_spi_writeenable();

	/*!< sector erase */
	/*!< select the flash: chip select low */
	flash_spi_cs_low();
    13fc:	400114b7          	lui	s1,0x40011
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:288
	flash_spi_writeenable();
    1400:	3fb1                	jal	135c <flash_spi_writeenable>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:292
	flash_spi_cs_low();
    1402:	4591                	li	a1,4
    1404:	80048513          	addi	a0,s1,-2048 # 40010800 <_eusrstack+0x1fff0800>
    1408:	13f000ef          	jal	ra,1d46 <GPIO_ResetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:294
	/*!< send sector erase instruction */
	SPI1_ReadWriteByte(FLASH_CMD_ERASE_SECTOR);
    140c:	02000513          	li	a0,32
    1410:	866ff0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:296
	/*!< send sectoraddr high nibble address byte */
	SPI1_ReadWriteByte((sectoraddr & 0xff0000) >> 16);
    1414:	01045513          	srli	a0,s0,0x10
    1418:	0ff57513          	andi	a0,a0,255
    141c:	85aff0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:298
	/*!< send sectoraddr medium nibble address byte */
	SPI1_ReadWriteByte((sectoraddr & 0xff00) >> 8);
    1420:	00845513          	srli	a0,s0,0x8
    1424:	0ff57513          	andi	a0,a0,255
    1428:	84eff0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:300
	/*!< send sectoraddr low nibble address byte */
	SPI1_ReadWriteByte(sectoraddr & 0xff);
    142c:	0ff47513          	andi	a0,s0,255
    1430:	846ff0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:302
	/*!< deselect the flash: chip select high */
	flash_spi_cs_high();
    1434:	4591                	li	a1,4
    1436:	80048513          	addi	a0,s1,-2048
    143a:	109000ef          	jal	ra,1d42 <GPIO_SetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:305

	/*!< wait the end of flash writing */
	flash_spi_waitforwriteend();
    143e:	3791                	jal	1382 <flash_spi_waitforwriteend>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:306
}
    1440:	e15fe06f          	j	254 <__riscv_restore_0>

00001444 <flash_spi_writebuffer>:
flash_spi_writebuffer():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:366
  * @param  WriteAddr: FLASH's internal address to write to.
  * @param  NumByteToWrite: number of bytes to write to the FLASH.
  * @retval None
  */
void flash_spi_writebuffer(uint8_t* pbuffer, uint32_t writeaddr, uint16_t numbytetowrite)
{
    1444:	dd3fe2ef          	jal	t0,216 <__riscv_save_4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:368
    uint16_t pager;
    pager = flah_page_size - (writeaddr % flah_page_size);
    1448:	0ff5f713          	andi	a4,a1,255
    144c:	10000793          	li	a5,256
    1450:	8f99                	sub	a5,a5,a4
    1452:	843e                	mv	s0,a5
    1454:	07c2                	slli	a5,a5,0x10
    1456:	83c1                	srli	a5,a5,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:366
{
    1458:	1141                	addi	sp,sp,-16
    145a:	89aa                	mv	s3,a0
    145c:	84ae                	mv	s1,a1
    145e:	00f67363          	bgeu	a2,a5,1464 <flash_spi_writebuffer+0x20>
    1462:	8432                	mv	s0,a2
    1464:	0442                	slli	s0,s0,0x10
flash_spi_writepage():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:326
    flash_spi_cs_low();
    1466:	40011937          	lui	s2,0x40011
    146a:	8041                	srli	s0,s0,0x10
    146c:	80090913          	addi	s2,s2,-2048 # 40010800 <_eusrstack+0x1fff0800>
    1470:	10000a13          	li	s4,256
    1474:	c632                	sw	a2,12(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:323
    flash_spi_writeenable();
    1476:	35dd                	jal	135c <flash_spi_writeenable>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:326
    flash_spi_cs_low();
    1478:	4591                	li	a1,4
    147a:	854a                	mv	a0,s2
    147c:	0cb000ef          	jal	ra,1d46 <GPIO_ResetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:328
    SPI1_ReadWriteByte(FLASH_CMD_WRITEPAGE);
    1480:	4509                	li	a0,2
    1482:	ff5fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:330
    SPI1_ReadWriteByte((writeaddr & 0xff0000) >> 16);
    1486:	0104d513          	srli	a0,s1,0x10
    148a:	0ff57513          	andi	a0,a0,255
    148e:	fe9fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:332
    SPI1_ReadWriteByte((writeaddr & 0xff00) >> 8);
    1492:	0084d513          	srli	a0,s1,0x8
    1496:	0ff57513          	andi	a0,a0,255
    149a:	fddfe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:334
    SPI1_ReadWriteByte(writeaddr & 0xff);
    149e:	0ff4f513          	andi	a0,s1,255
    14a2:	fd5fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:346
    spi_dma_transmit(pbuffer, numbytetowrite);
    14a6:	85a2                	mv	a1,s0
    14a8:	854e                	mv	a0,s3
    14aa:	f71fe0ef          	jal	ra,41a <spi_dma_transmit>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:350
    flash_spi_cs_high();
    14ae:	4591                	li	a1,4
    14b0:	854a                	mv	a0,s2
    14b2:	091000ef          	jal	ra,1d42 <GPIO_SetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:353
    flash_spi_waitforwriteend();
    14b6:	35f1                	jal	1382 <flash_spi_waitforwriteend>
flash_spi_writebuffer():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:377
    }

    while ( 1 )
    {
        flash_spi_writepage(pbuffer, writeaddr, pager);
        if ( pager == numbytetowrite )
    14b8:	4632                	lw	a2,12(sp)
    14ba:	00860f63          	beq	a2,s0,14d8 <flash_spi_writebuffer+0x94>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:383
          break;
        else
        {
          pbuffer += pager;
          writeaddr += pager;
          numbytetowrite -= pager;
    14be:	8e01                	sub	a2,a2,s0
    14c0:	0642                	slli	a2,a2,0x10
    14c2:	8241                	srli	a2,a2,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:381
          pbuffer += pager;
    14c4:	99a2                	add	s3,s3,s0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:382
          writeaddr += pager;
    14c6:	94a2                	add	s1,s1,s0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:384
          if ( numbytetowrite > flah_page_size )
    14c8:	8432                	mv	s0,a2
    14ca:	00ca7463          	bgeu	s4,a2,14d2 <flash_spi_writebuffer+0x8e>
    14ce:	10000413          	li	s0,256
    14d2:	0442                	slli	s0,s0,0x10
    14d4:	8041                	srli	s0,s0,0x10
    14d6:	bf79                	j	1474 <flash_spi_writebuffer+0x30>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:390
            pager = flah_page_size;
          else
            pager = numbytetowrite;
        }
    }
}
    14d8:	0141                	addi	sp,sp,16
    14da:	d71fe06f          	j	24a <__riscv_restore_4>

000014de <flash_spi_read>:
flash_spi_read():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:400
  * @param  ReadAddr: FLASH's internal address to read from.
  * @param  NumByteToRead: number of bytes to read from the FLASH.
  * @retval None
  */
uint32_t flash_spi_read(uint8_t* pbuffer, uint32_t readaddr, uint16_t numbytetoread)
{
    14de:	d53fe2ef          	jal	t0,230 <__riscv_save_0>
    14e2:	892a                	mv	s2,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:402
    /*!< select the flash: chip select low */
    flash_spi_cs_low();
    14e4:	40011537          	lui	a0,0x40011
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:400
{
    14e8:	84ae                	mv	s1,a1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:402
    flash_spi_cs_low();
    14ea:	80050513          	addi	a0,a0,-2048 # 40010800 <_eusrstack+0x1fff0800>
    14ee:	4591                	li	a1,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:400
{
    14f0:	8432                	mv	s0,a2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:402
    flash_spi_cs_low();
    14f2:	055000ef          	jal	ra,1d46 <GPIO_ResetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:405

    /*!< send "read from memory " instruction */
    SPI1_ReadWriteByte(FLASH_CMD_READPAGE);
    14f6:	450d                	li	a0,3
    14f8:	f7ffe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:408

    /*!< send readaddr high nibble address byte to read from */
    SPI1_ReadWriteByte((readaddr & 0xff0000) >> 16);
    14fc:	0104d513          	srli	a0,s1,0x10
    1500:	0ff57513          	andi	a0,a0,255
    1504:	f73fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:410
    /*!< send readaddr medium nibble address byte to read from */
    SPI1_ReadWriteByte((readaddr& 0xff00) >> 8);
    1508:	0084d513          	srli	a0,s1,0x8
    150c:	0ff57513          	andi	a0,a0,255
    1510:	f67fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:412
    /*!< send readaddr low nibble address byte to read from */
    SPI1_ReadWriteByte(readaddr & 0xff);
    1514:	0ff4f513          	andi	a0,s1,255
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:413
    while (numbytetoread--) /*!< while there is data to be read */
    1518:	64c1                	lui	s1,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:412
    SPI1_ReadWriteByte(readaddr & 0xff);
    151a:	f5dfe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:413
    while (numbytetoread--) /*!< while there is data to be read */
    151e:	14fd                	addi	s1,s1,-1
    1520:	147d                	addi	s0,s0,-1
    1522:	0442                	slli	s0,s0,0x10
    1524:	8041                	srli	s0,s0,0x10
    1526:	00941c63          	bne	s0,s1,153e <flash_spi_read+0x60>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:421
        *pbuffer = SPI1_ReadWriteByte(flash_dummy_byte);
        /*!< point to the next location where the byte read will be saved */
        pbuffer++;
    }
    /*!< deselect the flash: chip select high */
    flash_spi_cs_high();
    152a:	40011537          	lui	a0,0x40011
    152e:	4591                	li	a1,4
    1530:	80050513          	addi	a0,a0,-2048 # 40010800 <_eusrstack+0x1fff0800>
    1534:	00f000ef          	jal	ra,1d42 <GPIO_SetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:423
    return 0;
}
    1538:	4501                	li	a0,0
    153a:	d1bfe06f          	j	254 <__riscv_restore_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:416
        *pbuffer = SPI1_ReadWriteByte(flash_dummy_byte);
    153e:	0ff00513          	li	a0,255
    1542:	f35fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
    1546:	00a90023          	sb	a0,0(s2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:418
        pbuffer++;
    154a:	0905                	addi	s2,s2,1
    154c:	bfd1                	j	1520 <flash_spi_read+0x42>

0000154e <flash_spi_write>:
flash_spi_write():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:437
  * @param  WriteAddr: FLASH's internal address to write to.
  * @param  NumByteToWrite: number of bytes to write to the FLASH.
  * @retval None
  */
uint32_t flash_spi_write(uint8_t* pbuffer, uint32_t writeaddr, uint16_t numbytetowrite)
{
    154e:	cbbfe2ef          	jal	t0,208 <__riscv_save_10>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:442
  uint32_t cnt = 0;
  uint32_t sectornum, sectoroffset, sectorremain;
  
  sectornum = writeaddr / flah_sector_size;
  sectoroffset = writeaddr % flah_sector_size;
    1552:	6405                	lui	s0,0x1
    1554:	fff40913          	addi	s2,s0,-1 # fff <OTG_FS_IRQHandler+0x2af>
    1558:	0125f933          	and	s2,a1,s2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:443
  sectorremain = flah_sector_size - sectoroffset;
    155c:	41240433          	sub	s0,s0,s2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:437
{
    1560:	8aaa                	mv	s5,a0
    1562:	8a2e                	mv	s4,a1
    1564:	84b2                	mv	s1,a2
    1566:	00867363          	bgeu	a2,s0,156c <flash_spi_write+0x1e>
    156a:	8432                	mv	s0,a2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:441
  sectornum = writeaddr / flah_sector_size;
    156c:	00ca5993          	srli	s3,s4,0xc
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:453
  }
  
  while ( 1 )
  {
    /*read all sector data*/
    flash_spi_read(gtmpbuff, sectornum * flah_sector_size, flah_sector_size);
    1570:	20001b37          	lui	s6,0x20001
    1574:	09b2                	slli	s3,s3,0xc
    1576:	240b0b93          	addi	s7,s6,576 # 20001240 <gtmpbuff>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:458
    
    /*check data is 0xff ?*/
    for ( cnt = 0; cnt < sectorremain; cnt ++ )
    {
      if ( gtmpbuff[sectoroffset + cnt] != 0xff)
    157a:	0ff00c13          	li	s8,255
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:453
    flash_spi_read(gtmpbuff, sectornum * flah_sector_size, flah_sector_size);
    157e:	6605                	lui	a2,0x1
    1580:	85ce                	mv	a1,s3
    1582:	240b0513          	addi	a0,s6,576
    1586:	3fa1                	jal	14de <flash_spi_read>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:456
    for ( cnt = 0; cnt < sectorremain; cnt ++ )
    1588:	4781                	li	a5,0
    158a:	995e                	add	s2,s2,s7
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:456 (discriminator 1)
    158c:	00879863          	bne	a5,s0,159c <flash_spi_write+0x4e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:471
        gtmpbuff[cnt + sectoroffset] = pbuffer[cnt];
      flash_spi_writebuffer(gtmpbuff, sectornum * flah_sector_size, flah_sector_size);
    }
    else
    {
      flash_spi_writebuffer(pbuffer, writeaddr, sectorremain);
    1590:	01041613          	slli	a2,s0,0x10
    1594:	8241                	srli	a2,a2,0x10
    1596:	85d2                	mv	a1,s4
    1598:	8556                	mv	a0,s5
    159a:	a03d                	j	15c8 <flash_spi_write+0x7a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:458
      if ( gtmpbuff[sectoroffset + cnt] != 0xff)
    159c:	00f90733          	add	a4,s2,a5
    15a0:	2318                	lbu	a4,0(a4)
    15a2:	01871463          	bne	a4,s8,15aa <flash_spi_write+0x5c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:456 (discriminator 2)
    for ( cnt = 0; cnt < sectorremain; cnt ++ )
    15a6:	0785                	addi	a5,a5,1
    15a8:	b7d5                	j	158c <flash_spi_write+0x3e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:464
      flash_spi_erasesector(sectornum * flah_sector_size);
    15aa:	854e                	mv	a0,s3
    15ac:	35a9                	jal	13f6 <flash_spi_erasesector>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:465
      for ( cnt = 0; cnt < sectorremain; cnt ++ )
    15ae:	4781                	li	a5,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:466 (discriminator 3)
        gtmpbuff[cnt + sectoroffset] = pbuffer[cnt];
    15b0:	00fa8733          	add	a4,s5,a5
    15b4:	2314                	lbu	a3,0(a4)
    15b6:	00f90733          	add	a4,s2,a5
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:465 (discriminator 3)
      for ( cnt = 0; cnt < sectorremain; cnt ++ )
    15ba:	0785                	addi	a5,a5,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:466 (discriminator 3)
        gtmpbuff[cnt + sectoroffset] = pbuffer[cnt];
    15bc:	a314                	sb	a3,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:465 (discriminator 3)
      for ( cnt = 0; cnt < sectorremain; cnt ++ )
    15be:	fef419e3          	bne	s0,a5,15b0 <flash_spi_write+0x62>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:467
      flash_spi_writebuffer(gtmpbuff, sectornum * flah_sector_size, flah_sector_size);
    15c2:	6605                	lui	a2,0x1
    15c4:	85ce                	mv	a1,s3
    15c6:	855e                	mv	a0,s7
    15c8:	3db5                	jal	1444 <flash_spi_writebuffer>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:474
    }

    if ( sectorremain == numbytetowrite )
    15ca:	6785                	lui	a5,0x1
    15cc:	99be                	add	s3,s3,a5
    15ce:	00848f63          	beq	s1,s0,15ec <flash_spi_write+0x9e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:483
    {
      sectornum ++;
      sectoroffset = 0;
      pbuffer += sectorremain;
      writeaddr += sectorremain;
      numbytetowrite -= sectorremain;
    15d2:	8c81                	sub	s1,s1,s0
    15d4:	04c2                	slli	s1,s1,0x10
    15d6:	80c1                	srli	s1,s1,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:481
      pbuffer += sectorremain;
    15d8:	9aa2                	add	s5,s5,s0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:482
      writeaddr += sectorremain;
    15da:	9a22                	add	s4,s4,s0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:484
      if ( numbytetowrite > flah_sector_size )
    15dc:	8426                	mv	s0,s1
    15de:	0097f363          	bgeu	a5,s1,15e4 <flash_spi_write+0x96>
    15e2:	6405                	lui	s0,0x1
    15e4:	0442                	slli	s0,s0,0x10
    15e6:	8041                	srli	s0,s0,0x10
    15e8:	4901                	li	s2,0
    15ea:	bf51                	j	157e <flash_spi_write+0x30>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:496
      }
    }
    
  }
  return 0;
}
    15ec:	4501                	li	a0,0
    15ee:	c53fe06f          	j	240 <__riscv_restore_10>

000015f2 <flash_spi_getid>:
flash_spi_getid():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:504
  * @brief  Reads FLASH identification.
  * @param  None
  * @retval FLASH identification
  */
uint32_t flash_spi_getid(void)
{
    15f2:	c25fe2ef          	jal	t0,216 <__riscv_save_4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:508
	/*用户可根据不同flash采用不同的指令获取id*/	
	uint32_t Temp = 0, Temp0 = 0, Temp1 = 0, Temp2 = 0;
	/* Select the FLASH: Chip Select low */
	flash_spi_cs_low();
    15f6:	40011937          	lui	s2,0x40011
    15fa:	4591                	li	a1,4
    15fc:	80090513          	addi	a0,s2,-2048 # 40010800 <_eusrstack+0x1fff0800>
    1600:	2799                	jal	1d46 <GPIO_ResetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:510
	/* Send "RDID " instruction */
	SPI1_ReadWriteByte(FLASH_GETID);
    1602:	09f00513          	li	a0,159
    1606:	e71fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:512
	/* Read a byte from the FLASH */
	Temp0 = SPI1_ReadWriteByte(Dummy_Byte);
    160a:	0a500513          	li	a0,165
    160e:	e69fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
    1612:	842a                	mv	s0,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:514
	/* Read a byte from the FLASH */
	Temp1 = SPI1_ReadWriteByte(Dummy_Byte);
    1614:	0a500513          	li	a0,165
    1618:	e5ffe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
    161c:	84aa                	mv	s1,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:516
	/* Read a byte from the FLASH */
	Temp2 = SPI1_ReadWriteByte(Dummy_Byte);
    161e:	0a500513          	li	a0,165
    1622:	e55fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
    1626:	89aa                	mv	s3,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:518
	/* Deselect the FLASH: Chip Select high */
	flash_spi_cs_high();
    1628:	4591                	li	a1,4
    162a:	80090513          	addi	a0,s2,-2048
    162e:	2f11                	jal	1d42 <GPIO_SetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:519
	Temp = (Temp0 << 16) | (Temp1 << 8) | Temp2;
    1630:	0442                	slli	s0,s0,0x10
    1632:	00849513          	slli	a0,s1,0x8
    1636:	8d41                	or	a0,a0,s0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:521
	return Temp;	
}
    1638:	01356533          	or	a0,a0,s3
    163c:	c0ffe06f          	j	24a <__riscv_restore_4>

00001640 <spiflash_init>:
spiflash_init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:198
{
    1640:	bf1fe2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:199
    spiflash_gpioinit();
    1644:	3b95                	jal	13b8 <spiflash_gpioinit>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:200
    Flash_ID= flash_spi_getid();
    1646:	3775                	jal	15f2 <flash_spi_getid>
    1648:	86818793          	addi	a5,gp,-1944 # 20000110 <Flash_ID>
    164c:	c388                	sw	a0,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:201
    for(int i=0;i<164;i++)
    164e:	678d                	lui	a5,0x3
    1650:	65078793          	addi	a5,a5,1616 # 3650 <temp_id>
    1654:	4701                	li	a4,0
    1656:	86818693          	addi	a3,gp,-1944 # 20000110 <Flash_ID>
    165a:	0a400613          	li	a2,164
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:203
        if (Flash_ID == temp_id[i] )
    165e:	428c                	lw	a1,0(a3)
    1660:	4388                	lw	a0,0(a5)
    1662:	08b51d63          	bne	a0,a1,16fc <spiflash_init+0xbc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:205
            if(i<12)spi_flash_size = 0x10000; /*64KB*/
    1666:	46ad                	li	a3,11
    1668:	80418793          	addi	a5,gp,-2044 # 200000ac <spi_flash_size>
    166c:	00e6ce63          	blt	a3,a4,1688 <spiflash_init+0x48>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:205 (discriminator 1)
    1670:	6741                	lui	a4,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:214 (discriminator 1)
            else if(i<166)spi_flash_size = 0x2000000; /*32m*/
    1672:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:216 (discriminator 1)
              printf( "spi_flash_size is :%d KB\r\n\n", spi_flash_size/1024);
    1674:	438c                	lw	a1,0(a5)
    1676:	00003537          	lui	a0,0x3
    167a:	63450513          	addi	a0,a0,1588 # 3634 <UDISK_Rd_Format_Capacity+0x124>
    167e:	81a9                	srli	a1,a1,0xa
    1680:	471000ef          	jal	ra,22f0 <iprintf>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:220
}
    1684:	bd1fe06f          	j	254 <__riscv_restore_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:206
            else if(i<26)spi_flash_size = 0x20000; /*128KB*/
    1688:	46e5                	li	a3,25
    168a:	00e6c563          	blt	a3,a4,1694 <spiflash_init+0x54>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:206 (discriminator 1)
    168e:	00020737          	lui	a4,0x20
    1692:	b7c5                	j	1672 <spiflash_init+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:207
            else if(i<43)spi_flash_size = 0x40000; /*256KB*/
    1694:	02a00693          	li	a3,42
    1698:	00e6c563          	blt	a3,a4,16a2 <spiflash_init+0x62>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:207 (discriminator 1)
    169c:	00040737          	lui	a4,0x40
    16a0:	bfc9                	j	1672 <spiflash_init+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:208
            else if(i<67)spi_flash_size = 0x80000; /*512KB*/
    16a2:	04200693          	li	a3,66
    16a6:	00e6c563          	blt	a3,a4,16b0 <spiflash_init+0x70>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:208 (discriminator 1)
    16aa:	00080737          	lui	a4,0x80
    16ae:	b7d1                	j	1672 <spiflash_init+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:209
            else if(i<91)spi_flash_size = 0x100000; /*1MB*/
    16b0:	05a00693          	li	a3,90
    16b4:	00e6c563          	blt	a3,a4,16be <spiflash_init+0x7e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:209 (discriminator 1)
    16b8:	00100737          	lui	a4,0x100
    16bc:	bf5d                	j	1672 <spiflash_init+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:210
            else if(i<118)spi_flash_size = 0x200000; /*2m*/
    16be:	07500693          	li	a3,117
    16c2:	00e6c563          	blt	a3,a4,16cc <spiflash_init+0x8c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:210 (discriminator 1)
    16c6:	00200737          	lui	a4,0x200
    16ca:	b765                	j	1672 <spiflash_init+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:211
            else if(i<139)spi_flash_size = 0x400000; /*4m*/
    16cc:	08a00693          	li	a3,138
    16d0:	00e6c563          	blt	a3,a4,16da <spiflash_init+0x9a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:211 (discriminator 1)
    16d4:	00400737          	lui	a4,0x400
    16d8:	bf69                	j	1672 <spiflash_init+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:212
            else if(i<153)spi_flash_size = 0x800000; /*8m*/
    16da:	09800693          	li	a3,152
    16de:	00e6c563          	blt	a3,a4,16e8 <spiflash_init+0xa8>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:212 (discriminator 1)
    16e2:	00800737          	lui	a4,0x800
    16e6:	b771                	j	1672 <spiflash_init+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:213
            else if(i<162)spi_flash_size = 0x1000000; /*16m*/
    16e8:	0a100693          	li	a3,161
    16ec:	00e6c563          	blt	a3,a4,16f6 <spiflash_init+0xb6>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:213 (discriminator 1)
    16f0:	01000737          	lui	a4,0x1000
    16f4:	bfbd                	j	1672 <spiflash_init+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:214 (discriminator 1)
            else if(i<166)spi_flash_size = 0x2000000; /*32m*/
    16f6:	02000737          	lui	a4,0x2000
    16fa:	bfa5                	j	1672 <spiflash_init+0x32>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:201 (discriminator 2)
    for(int i=0;i<164;i++)
    16fc:	0705                	addi	a4,a4,1
    16fe:	0791                	addi	a5,a5,4
    1700:	f4c71fe3          	bne	a4,a2,165e <spiflash_init+0x1e>
    1704:	b741                	j	1684 <spiflash_init+0x44>

00001706 <FLASH_RD_Block_Start>:
FLASH_RD_Block_Start():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:565
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void FLASH_RD_Block_Start( uint32_t address )
{
    1706:	b2bfe2ef          	jal	t0,230 <__riscv_save_0>
    170a:	842a                	mv	s0,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:566
    flash_spi_cs_low();
    170c:	40011537          	lui	a0,0x40011
    1710:	4591                	li	a1,4
    1712:	80050513          	addi	a0,a0,-2048 # 40010800 <_eusrstack+0x1fff0800>
    1716:	2d05                	jal	1d46 <GPIO_ResetBits>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:567
    SPI1_ReadWriteByte( FLASH_CMD_READPAGE );
    1718:	450d                	li	a0,3
    171a:	d5dfe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:568
    SPI1_ReadWriteByte( (uint8_t)( address >> 16 ) );
    171e:	01045513          	srli	a0,s0,0x10
    1722:	0ff57513          	andi	a0,a0,255
    1726:	d51fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:569
    SPI1_ReadWriteByte( (uint8_t)( address >> 8 ) );
    172a:	00845513          	srli	a0,s0,0x8
    172e:	0ff57513          	andi	a0,a0,255
    1732:	d45fe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:570
    SPI1_ReadWriteByte( (uint8_t)address );
    1736:	0ff47513          	andi	a0,s0,255
    173a:	d3dfe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:571
}
    173e:	b17fe06f          	j	254 <__riscv_restore_0>

00001742 <FLASH_RD_Block>:
FLASH_RD_Block():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:581
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void FLASH_RD_Block( uint8_t *pbuf, uint32_t len )
{
    1742:	aeffe2ef          	jal	t0,230 <__riscv_save_0>
    1746:	842a                	mv	s0,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:582
    while( len-- )
    1748:	00b504b3          	add	s1,a0,a1
    174c:	00941463          	bne	s0,s1,1754 <FLASH_RD_Block+0x12>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:586
    {
        *pbuf++ = SPI1_ReadWriteByte( flash_dummy_byte);
    }
}
    1750:	b05fe06f          	j	254 <__riscv_restore_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/spiflash.c:584
        *pbuf++ = SPI1_ReadWriteByte( flash_dummy_byte);
    1754:	0ff00513          	li	a0,255
    1758:	0405                	addi	s0,s0,1
    175a:	d1dfe0ef          	jal	ra,476 <SPI1_ReadWriteByte>
    175e:	fea40fa3          	sb	a0,-1(s0) # fff <OTG_FS_IRQHandler+0x2af>
    1762:	b7ed                	j	174c <FLASH_RD_Block+0xa>

00001764 <SystemInit>:
SystemInit():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:113
 *
 * @return  none
 */
void SystemInit (void)
{
  RCC->CTLR |= (uint32_t)0x00000001;
    1764:	400217b7          	lui	a5,0x40021
    1768:	4398                	lw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:116

#ifdef CH32V30x_D8C
  RCC->CFGR0 &= (uint32_t)0xF8FF0000;
    176a:	f8ff06b7          	lui	a3,0xf8ff0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:112
{
    176e:	1141                	addi	sp,sp,-16
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:113
  RCC->CTLR |= (uint32_t)0x00000001;
    1770:	00176713          	ori	a4,a4,1
    1774:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:116
  RCC->CFGR0 &= (uint32_t)0xF8FF0000;
    1776:	43d8                	lw	a4,4(a5)
SetSysClockTo144_HSE():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:692
  RCC->CTLR |= ((uint32_t)RCC_HSEON);

  /* Wait till HSE is ready and if Time out is reached exit */
  do
  {
    HSEStatus = RCC->CTLR & RCC_HSERDY;
    1778:	00020637          	lui	a2,0x20
SystemInit():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:116
  RCC->CFGR0 &= (uint32_t)0xF8FF0000;
    177c:	8f75                	and	a4,a4,a3
    177e:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:121
  RCC->CTLR &= (uint32_t)0xFEF6FFFF;
    1780:	4398                	lw	a4,0(a5)
    1782:	fef706b7          	lui	a3,0xfef70
    1786:	16fd                	addi	a3,a3,-1
    1788:	8f75                	and	a4,a4,a3
    178a:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:122
  RCC->CTLR &= (uint32_t)0xFFFBFFFF;
    178c:	4398                	lw	a4,0(a5)
    178e:	fffc06b7          	lui	a3,0xfffc0
    1792:	16fd                	addi	a3,a3,-1
    1794:	8f75                	and	a4,a4,a3
    1796:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:123
  RCC->CFGR0 &= (uint32_t)0xFF80FFFF;
    1798:	43d8                	lw	a4,4(a5)
    179a:	ff8106b7          	lui	a3,0xff810
    179e:	16fd                	addi	a3,a3,-1
    17a0:	8f75                	and	a4,a4,a3
    17a2:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:126
  RCC->CTLR &= (uint32_t)0xEBFFFFFF;
    17a4:	4398                	lw	a4,0(a5)
    17a6:	ec0006b7          	lui	a3,0xec000
    17aa:	16fd                	addi	a3,a3,-1
    17ac:	8f75                	and	a4,a4,a3
    17ae:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:127
  RCC->INTR = 0x00FF0000;
    17b0:	00ff0737          	lui	a4,0xff0
    17b4:	c798                	sw	a4,8(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:128
  RCC->CFGR2 = 0x00000000;
    17b6:	0207a623          	sw	zero,44(a5) # 4002102c <_eusrstack+0x2000102c>
SetSysClockTo144_HSE():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:685
  __IO uint32_t StartUpCounter = 0, HSEStatus = 0;
    17ba:	c402                	sw	zero,8(sp)
    17bc:	c602                	sw	zero,12(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:687
  RCC->CTLR |= ((uint32_t)RCC_HSEON);
    17be:	4398                	lw	a4,0(a5)
    17c0:	66c1                	lui	a3,0x10
    17c2:	8f55                	or	a4,a4,a3
    17c4:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:692
    HSEStatus = RCC->CTLR & RCC_HSERDY;
    17c6:	400216b7          	lui	a3,0x40021
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:694
    StartUpCounter++;
  } while((HSEStatus == 0) && (StartUpCounter != HSE_STARTUP_TIMEOUT));
    17ca:	6705                	lui	a4,0x1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:692
    HSEStatus = RCC->CTLR & RCC_HSERDY;
    17cc:	429c                	lw	a5,0(a3)
    17ce:	8ff1                	and	a5,a5,a2
    17d0:	c63e                	sw	a5,12(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:693
    StartUpCounter++;
    17d2:	47a2                	lw	a5,8(sp)
    17d4:	0785                	addi	a5,a5,1
    17d6:	c43e                	sw	a5,8(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:694
  } while((HSEStatus == 0) && (StartUpCounter != HSE_STARTUP_TIMEOUT));
    17d8:	47b2                	lw	a5,12(sp)
    17da:	e781                	bnez	a5,17e2 <SystemInit+0x7e>
    17dc:	47a2                	lw	a5,8(sp)
    17de:	fee797e3          	bne	a5,a4,17cc <SystemInit+0x68>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:696

  if ((RCC->CTLR & RCC_HSERDY) != RESET)
    17e2:	400217b7          	lui	a5,0x40021
    17e6:	439c                	lw	a5,0(a5)
    17e8:	00e79713          	slli	a4,a5,0xe
    17ec:	06075663          	bgez	a4,1858 <SystemInit+0xf4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:698
  {
    HSEStatus = (uint32_t)0x01;
    17f0:	4785                	li	a5,1
    17f2:	c63e                	sw	a5,12(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:705
  else
  {
    HSEStatus = (uint32_t)0x00;
  }

  if (HSEStatus == (uint32_t)0x01)
    17f4:	4732                	lw	a4,12(sp)
    17f6:	4785                	li	a5,1
    17f8:	04f71e63          	bne	a4,a5,1854 <SystemInit+0xf0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:708
  {
    /* HCLK = SYSCLK */
    RCC->CFGR0 |= (uint32_t)RCC_HPRE_DIV1;
    17fc:	400217b7          	lui	a5,0x40021
    1800:	43d8                	lw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:715
    RCC->CFGR0 |= (uint32_t)RCC_PPRE2_DIV1;
    /* PCLK1 = HCLK */
    RCC->CFGR0 |= (uint32_t)RCC_PPRE1_DIV2;

    /*  PLL configuration: PLLCLK = HSE * 18 = 144 MHz */
    RCC->CFGR0 &= (uint32_t)((uint32_t)~(RCC_PLLSRC | RCC_PLLXTPRE |
    1802:	ffc106b7          	lui	a3,0xffc10
    1806:	16fd                	addi	a3,a3,-1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:708
    RCC->CFGR0 |= (uint32_t)RCC_HPRE_DIV1;
    1808:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:710
    RCC->CFGR0 |= (uint32_t)RCC_PPRE2_DIV1;
    180a:	43d8                	lw	a4,4(a5)
    180c:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:712
    RCC->CFGR0 |= (uint32_t)RCC_PPRE1_DIV2;
    180e:	43d8                	lw	a4,4(a5)
    1810:	40076713          	ori	a4,a4,1024
    1814:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:715
    RCC->CFGR0 &= (uint32_t)((uint32_t)~(RCC_PLLSRC | RCC_PLLXTPRE |
    1816:	43d8                	lw	a4,4(a5)
    1818:	8f75                	and	a4,a4,a3
    181a:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:721
                                        RCC_PLLMULL));

#ifdef CH32V30x_D8
        RCC->CFGR0 |= (uint32_t)(RCC_PLLSRC_HSE | RCC_PLLXTPRE_HSE | RCC_PLLMULL18);
#else
        RCC->CFGR0 |= (uint32_t)(RCC_PLLSRC_HSE | RCC_PLLXTPRE_HSE | RCC_PLLMULL18_EXTEN);
    181c:	43d8                	lw	a4,4(a5)
    181e:	66c1                	lui	a3,0x10
    1820:	8f55                	or	a4,a4,a3
    1822:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:725
#endif

    /* Enable PLL */
    RCC->CTLR |= RCC_PLLON;
    1824:	4398                	lw	a4,0(a5)
    1826:	010006b7          	lui	a3,0x1000
    182a:	8f55                	or	a4,a4,a3
    182c:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:727
    /* Wait till PLL is ready */
    while((RCC->CTLR & RCC_PLLRDY) == 0)
    182e:	4398                	lw	a4,0(a5)
    1830:	00671693          	slli	a3,a4,0x6
    1834:	fe06dde3          	bgez	a3,182e <SystemInit+0xca>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:731
    {
    }
    /* Select PLL as system clock source */
    RCC->CFGR0 &= (uint32_t)((uint32_t)~(RCC_SW));
    1838:	43d8                	lw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:734
    RCC->CFGR0 |= (uint32_t)RCC_SW_PLL;
    /* Wait till PLL is used as system clock source */
    while ((RCC->CFGR0 & (uint32_t)RCC_SWS) != (uint32_t)0x08)
    183a:	400216b7          	lui	a3,0x40021
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:731
    RCC->CFGR0 &= (uint32_t)((uint32_t)~(RCC_SW));
    183e:	9b71                	andi	a4,a4,-4
    1840:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:732
    RCC->CFGR0 |= (uint32_t)RCC_SW_PLL;
    1842:	43d8                	lw	a4,4(a5)
    1844:	00276713          	ori	a4,a4,2
    1848:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:734
    while ((RCC->CFGR0 & (uint32_t)RCC_SWS) != (uint32_t)0x08)
    184a:	4721                	li	a4,8
    184c:	42dc                	lw	a5,4(a3)
    184e:	8bb1                	andi	a5,a5,12
    1850:	fee79ee3          	bne	a5,a4,184c <SystemInit+0xe8>
SystemInit():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:133
}
    1854:	0141                	addi	sp,sp,16
    1856:	8082                	ret
SetSysClockTo144_HSE():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:702
    HSEStatus = (uint32_t)0x00;
    1858:	c602                	sw	zero,12(sp)
    185a:	bf69                	j	17f4 <SystemInit+0x90>

0000185c <SystemCoreClockUpdate>:
SystemCoreClockUpdate():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:146
  tmp = RCC->CFGR0 & RCC_SWS;
    185c:	40021637          	lui	a2,0x40021
    1860:	425c                	lw	a5,4(a2)
    1862:	4691                	li	a3,4
    1864:	8bb1                	andi	a5,a5,12
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:148
  switch (tmp)
    1866:	80818713          	addi	a4,gp,-2040 # 200000b0 <SystemCoreClock>
    186a:	00d78563          	beq	a5,a3,1874 <SystemCoreClockUpdate+0x18>
    186e:	46a1                	li	a3,8
    1870:	02d78863          	beq	a5,a3,18a0 <SystemCoreClockUpdate+0x44>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:151
      SystemCoreClock = HSI_VALUE;
    1874:	007a17b7          	lui	a5,0x7a1
    1878:	20078793          	addi	a5,a5,512 # 7a1200 <_data_lma+0x79d7fc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:194 (discriminator 1)
      if(Pll_6_5 == 1) SystemCoreClock = (SystemCoreClock / 2);
    187c:	c31c                	sw	a5,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:202
  tmp = AHBPrescTable[((RCC->CFGR0 & RCC_HPRE) >> 4)];
    187e:	400217b7          	lui	a5,0x40021
    1882:	43dc                	lw	a5,4(a5)
    1884:	8391                	srli	a5,a5,0x4
    1886:	00f7f693          	andi	a3,a5,15
    188a:	200007b7          	lui	a5,0x20000
    188e:	02478793          	addi	a5,a5,36 # 20000024 <AHBPrescTable>
    1892:	97b6                	add	a5,a5,a3
    1894:	2394                	lbu	a3,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:203
  SystemCoreClock >>= tmp;  
    1896:	431c                	lw	a5,0(a4)
    1898:	00d7d7b3          	srl	a5,a5,a3
    189c:	c31c                	sw	a5,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:204
}
    189e:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:157
      pllmull = RCC->CFGR0 & RCC_PLLMULL;
    18a0:	4254                	lw	a3,4(a2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:158
      pllsource = RCC->CFGR0 & RCC_PLLSRC; 
    18a2:	4250                	lw	a2,4(a2)
    18a4:	67c1                	lui	a5,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:159
      pllmull = ( pllmull >> 18) + 2;
    18a6:	82c9                	srli	a3,a3,0x12
    18a8:	8abd                	andi	a3,a3,15
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:158
      pllsource = RCC->CFGR0 & RCC_PLLSRC; 
    18aa:	8e7d                	and	a2,a2,a5
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:164
          if(pllmull == 2) pllmull = 18;
    18ac:	00268793          	addi	a5,a3,2 # 40021002 <_eusrstack+0x20001002>
    18b0:	ca85                	beqz	a3,18e0 <SystemCoreClockUpdate+0x84>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:165
          if(pllmull == 15){
    18b2:	46bd                	li	a3,15
    18b4:	02d78963          	beq	a5,a3,18e6 <SystemCoreClockUpdate+0x8a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:169
          if(pllmull == 16) pllmull = 15;
    18b8:	46c1                	li	a3,16
    18ba:	02d78963          	beq	a5,a3,18ec <SystemCoreClockUpdate+0x90>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:170
          if(pllmull == 17) pllmull = 16;
    18be:	45c5                	li	a1,17
    18c0:	4681                	li	a3,0
    18c2:	00b79363          	bne	a5,a1,18c8 <SystemCoreClockUpdate+0x6c>
    18c6:	47c1                	li	a5,16
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:173
      if (pllsource == 0x00)
    18c8:	e60d                	bnez	a2,18f2 <SystemCoreClockUpdate+0x96>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:175
          if(EXTEN->EXTEN_CTR & EXTEN_PLL_HSI_PRE){
    18ca:	40024637          	lui	a2,0x40024
    18ce:	80062603          	lw	a2,-2048(a2) # 40023800 <_eusrstack+0x20003800>
    18d2:	8a41                	andi	a2,a2,16
    18d4:	c615                	beqz	a2,1900 <SystemCoreClockUpdate+0xa4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:190
          SystemCoreClock = HSE_VALUE * pllmull;
    18d6:	007a1637          	lui	a2,0x7a1
    18da:	20060613          	addi	a2,a2,512 # 7a1200 <_data_lma+0x79d7fc>
    18de:	a02d                	j	1908 <SystemCoreClockUpdate+0xac>
    18e0:	4681                	li	a3,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:164
          if(pllmull == 2) pllmull = 18;
    18e2:	47c9                	li	a5,18
    18e4:	b7d5                	j	18c8 <SystemCoreClockUpdate+0x6c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:167
              Pll_6_5 = 1;
    18e6:	4685                	li	a3,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:166
              pllmull = 13;  /* *6.5 */
    18e8:	47b5                	li	a5,13
    18ea:	bff9                	j	18c8 <SystemCoreClockUpdate+0x6c>
    18ec:	4681                	li	a3,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:169
          if(pllmull == 16) pllmull = 15;
    18ee:	47bd                	li	a5,15
    18f0:	bfe1                	j	18c8 <SystemCoreClockUpdate+0x6c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:184
        if ((RCC->CFGR0 & RCC_PLLXTPRE) != (uint32_t)RESET)
    18f2:	40021637          	lui	a2,0x40021
    18f6:	4250                	lw	a2,4(a2)
    18f8:	00e61593          	slli	a1,a2,0xe
    18fc:	fc05dde3          	bgez	a1,18d6 <SystemCoreClockUpdate+0x7a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:186
          SystemCoreClock = (HSE_VALUE >> 1) * pllmull;
    1900:	003d1637          	lui	a2,0x3d1
    1904:	90060613          	addi	a2,a2,-1792 # 3d0900 <_data_lma+0x3ccefc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:190
          SystemCoreClock = HSE_VALUE * pllmull;
    1908:	02c787b3          	mul	a5,a5,a2
    190c:	c31c                	sw	a5,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:194
      if(Pll_6_5 == 1) SystemCoreClock = (SystemCoreClock / 2);
    190e:	daa5                	beqz	a3,187e <SystemCoreClockUpdate+0x22>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/User/system_ch32v30x.c:194 (discriminator 1)
    1910:	431c                	lw	a5,0(a4)
    1912:	8385                	srli	a5,a5,0x1
    1914:	b7a5                	j	187c <SystemCoreClockUpdate+0x20>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:240
    .weak   DMA2_Channel8_IRQHandler   /* DMA2 Channel 8 */
    .weak   DMA2_Channel9_IRQHandler   /* DMA2 Channel 9 */
    .weak   DMA2_Channel10_IRQHandler  /* DMA2 Channel 10 */
    .weak   DMA2_Channel11_IRQHandler  /* DMA2 Channel 11 */

NMI_Handler:  1:  j 1b
    1916:	a001                	j	1916 <SystemCoreClockUpdate+0xba>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:241
HardFault_Handler:  1:  j 1b
    1918:	a001                	j	1918 <SystemCoreClockUpdate+0xbc>

0000191a <Ecall_M_Mode_Handler>:
Ecall_M_Mode_Handler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:242
Ecall_M_Mode_Handler:  1:  j 1b
    191a:	a001                	j	191a <Ecall_M_Mode_Handler>

0000191c <Ecall_U_Mode_Handler>:
Ecall_U_Mode_Handler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:243
Ecall_U_Mode_Handler:  1:  j 1b
    191c:	a001                	j	191c <Ecall_U_Mode_Handler>

0000191e <Break_Point_Handler>:
Break_Point_Handler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:244
Break_Point_Handler:  1:  j 1b
    191e:	a001                	j	191e <Break_Point_Handler>

00001920 <SysTick_Handler>:
SysTick_Handler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:245
SysTick_Handler:  1:  j 1b
    1920:	a001                	j	1920 <SysTick_Handler>

00001922 <SW_Handler>:
SW_Handler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:246
SW_Handler:  1:  j 1b
    1922:	a001                	j	1922 <SW_Handler>

00001924 <WWDG_IRQHandler>:
WWDG_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:247
WWDG_IRQHandler:  1:  j 1b
    1924:	a001                	j	1924 <WWDG_IRQHandler>

00001926 <PVD_IRQHandler>:
PVD_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:248
PVD_IRQHandler:  1:  j 1b
    1926:	a001                	j	1926 <PVD_IRQHandler>

00001928 <TAMPER_IRQHandler>:
TAMPER_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:249
TAMPER_IRQHandler:  1:  j 1b
    1928:	a001                	j	1928 <TAMPER_IRQHandler>

0000192a <RTC_IRQHandler>:
RTC_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:250
RTC_IRQHandler:  1:  j 1b
    192a:	a001                	j	192a <RTC_IRQHandler>

0000192c <FLASH_IRQHandler>:
FLASH_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:251
FLASH_IRQHandler:  1:  j 1b
    192c:	a001                	j	192c <FLASH_IRQHandler>

0000192e <RCC_IRQHandler>:
RCC_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:252
RCC_IRQHandler:  1:  j 1b
    192e:	a001                	j	192e <RCC_IRQHandler>

00001930 <EXTI0_IRQHandler>:
EXTI0_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:253
EXTI0_IRQHandler:  1:  j 1b
    1930:	a001                	j	1930 <EXTI0_IRQHandler>

00001932 <EXTI1_IRQHandler>:
EXTI1_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:254
EXTI1_IRQHandler:  1:  j 1b
    1932:	a001                	j	1932 <EXTI1_IRQHandler>

00001934 <EXTI2_IRQHandler>:
EXTI2_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:255
EXTI2_IRQHandler:  1:  j 1b
    1934:	a001                	j	1934 <EXTI2_IRQHandler>

00001936 <EXTI3_IRQHandler>:
EXTI3_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:256
EXTI3_IRQHandler:  1:  j 1b
    1936:	a001                	j	1936 <EXTI3_IRQHandler>

00001938 <EXTI4_IRQHandler>:
EXTI4_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:257
EXTI4_IRQHandler:  1:  j 1b
    1938:	a001                	j	1938 <EXTI4_IRQHandler>

0000193a <DMA1_Channel1_IRQHandler>:
DMA1_Channel1_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:258
DMA1_Channel1_IRQHandler:  1:  j 1b
    193a:	a001                	j	193a <DMA1_Channel1_IRQHandler>

0000193c <DMA1_Channel2_IRQHandler>:
DMA1_Channel2_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:259
DMA1_Channel2_IRQHandler:  1:  j 1b
    193c:	a001                	j	193c <DMA1_Channel2_IRQHandler>

0000193e <DMA1_Channel3_IRQHandler>:
DMA1_Channel3_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:260
DMA1_Channel3_IRQHandler:  1:  j 1b
    193e:	a001                	j	193e <DMA1_Channel3_IRQHandler>

00001940 <DMA1_Channel4_IRQHandler>:
DMA1_Channel4_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:261
DMA1_Channel4_IRQHandler:  1:  j 1b
    1940:	a001                	j	1940 <DMA1_Channel4_IRQHandler>

00001942 <DMA1_Channel5_IRQHandler>:
DMA1_Channel5_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:262
DMA1_Channel5_IRQHandler:  1:  j 1b
    1942:	a001                	j	1942 <DMA1_Channel5_IRQHandler>

00001944 <DMA1_Channel6_IRQHandler>:
DMA1_Channel6_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:263
DMA1_Channel6_IRQHandler:  1:  j 1b
    1944:	a001                	j	1944 <DMA1_Channel6_IRQHandler>

00001946 <DMA1_Channel7_IRQHandler>:
DMA1_Channel7_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:264
DMA1_Channel7_IRQHandler:  1:  j 1b
    1946:	a001                	j	1946 <DMA1_Channel7_IRQHandler>

00001948 <ADC1_2_IRQHandler>:
ADC1_2_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:265
ADC1_2_IRQHandler:  1:  j 1b
    1948:	a001                	j	1948 <ADC1_2_IRQHandler>

0000194a <USB_HP_CAN1_TX_IRQHandler>:
USB_HP_CAN1_TX_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:266
USB_HP_CAN1_TX_IRQHandler:  1:  j 1b
    194a:	a001                	j	194a <USB_HP_CAN1_TX_IRQHandler>

0000194c <USB_LP_CAN1_RX0_IRQHandler>:
USB_LP_CAN1_RX0_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:267
USB_LP_CAN1_RX0_IRQHandler:  1:  j 1b
    194c:	a001                	j	194c <USB_LP_CAN1_RX0_IRQHandler>

0000194e <CAN1_RX1_IRQHandler>:
CAN1_RX1_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:268
CAN1_RX1_IRQHandler:  1:  j 1b
    194e:	a001                	j	194e <CAN1_RX1_IRQHandler>

00001950 <CAN1_SCE_IRQHandler>:
CAN1_SCE_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:269
CAN1_SCE_IRQHandler:  1:  j 1b
    1950:	a001                	j	1950 <CAN1_SCE_IRQHandler>

00001952 <EXTI9_5_IRQHandler>:
EXTI9_5_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:270
EXTI9_5_IRQHandler:  1:  j 1b
    1952:	a001                	j	1952 <EXTI9_5_IRQHandler>

00001954 <TIM1_BRK_IRQHandler>:
TIM1_BRK_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:271
TIM1_BRK_IRQHandler:  1:  j 1b
    1954:	a001                	j	1954 <TIM1_BRK_IRQHandler>

00001956 <TIM1_UP_IRQHandler>:
TIM1_UP_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:272
TIM1_UP_IRQHandler:  1:  j 1b
    1956:	a001                	j	1956 <TIM1_UP_IRQHandler>

00001958 <TIM1_TRG_COM_IRQHandler>:
TIM1_TRG_COM_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:273
TIM1_TRG_COM_IRQHandler:  1:  j 1b
    1958:	a001                	j	1958 <TIM1_TRG_COM_IRQHandler>

0000195a <TIM1_CC_IRQHandler>:
TIM1_CC_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:274
TIM1_CC_IRQHandler:  1:  j 1b
    195a:	a001                	j	195a <TIM1_CC_IRQHandler>

0000195c <TIM2_IRQHandler>:
TIM2_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:275
TIM2_IRQHandler:  1:  j 1b
    195c:	a001                	j	195c <TIM2_IRQHandler>

0000195e <TIM3_IRQHandler>:
TIM3_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:276
TIM3_IRQHandler:  1:  j 1b
    195e:	a001                	j	195e <TIM3_IRQHandler>

00001960 <TIM4_IRQHandler>:
TIM4_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:277
TIM4_IRQHandler:  1:  j 1b
    1960:	a001                	j	1960 <TIM4_IRQHandler>

00001962 <I2C1_EV_IRQHandler>:
I2C1_EV_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:278
I2C1_EV_IRQHandler:  1:  j 1b
    1962:	a001                	j	1962 <I2C1_EV_IRQHandler>

00001964 <I2C1_ER_IRQHandler>:
I2C1_ER_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:279
I2C1_ER_IRQHandler:  1:  j 1b
    1964:	a001                	j	1964 <I2C1_ER_IRQHandler>

00001966 <I2C2_EV_IRQHandler>:
I2C2_EV_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:280
I2C2_EV_IRQHandler:  1:  j 1b
    1966:	a001                	j	1966 <I2C2_EV_IRQHandler>

00001968 <I2C2_ER_IRQHandler>:
I2C2_ER_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:281
I2C2_ER_IRQHandler:  1:  j 1b
    1968:	a001                	j	1968 <I2C2_ER_IRQHandler>

0000196a <SPI1_IRQHandler>:
SPI1_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:282
SPI1_IRQHandler:  1:  j 1b
    196a:	a001                	j	196a <SPI1_IRQHandler>

0000196c <SPI2_IRQHandler>:
SPI2_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:283
SPI2_IRQHandler:  1:  j 1b
    196c:	a001                	j	196c <SPI2_IRQHandler>

0000196e <USART1_IRQHandler>:
USART1_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:284
USART1_IRQHandler:  1:  j 1b
    196e:	a001                	j	196e <USART1_IRQHandler>

00001970 <USART2_IRQHandler>:
USART2_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:285
USART2_IRQHandler:  1:  j 1b
    1970:	a001                	j	1970 <USART2_IRQHandler>

00001972 <USART3_IRQHandler>:
USART3_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:286
USART3_IRQHandler:  1:  j 1b
    1972:	a001                	j	1972 <USART3_IRQHandler>

00001974 <EXTI15_10_IRQHandler>:
EXTI15_10_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:287
EXTI15_10_IRQHandler:  1:  j 1b
    1974:	a001                	j	1974 <EXTI15_10_IRQHandler>

00001976 <RTCAlarm_IRQHandler>:
RTCAlarm_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:288
RTCAlarm_IRQHandler:  1:  j 1b
    1976:	a001                	j	1976 <RTCAlarm_IRQHandler>

00001978 <USBWakeUp_IRQHandler>:
USBWakeUp_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:289
USBWakeUp_IRQHandler:  1:  j 1b
    1978:	a001                	j	1978 <USBWakeUp_IRQHandler>

0000197a <TIM8_BRK_IRQHandler>:
TIM8_BRK_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:290
TIM8_BRK_IRQHandler:  1:  j 1b
    197a:	a001                	j	197a <TIM8_BRK_IRQHandler>

0000197c <TIM8_UP_IRQHandler>:
TIM8_UP_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:291
TIM8_UP_IRQHandler:  1:  j 1b
    197c:	a001                	j	197c <TIM8_UP_IRQHandler>

0000197e <TIM8_TRG_COM_IRQHandler>:
TIM8_TRG_COM_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:292
TIM8_TRG_COM_IRQHandler:  1:  j 1b
    197e:	a001                	j	197e <TIM8_TRG_COM_IRQHandler>

00001980 <TIM8_CC_IRQHandler>:
TIM8_CC_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:293
TIM8_CC_IRQHandler:  1:  j 1b
    1980:	a001                	j	1980 <TIM8_CC_IRQHandler>

00001982 <RNG_IRQHandler>:
RNG_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:294
RNG_IRQHandler:  1:  j 1b
    1982:	a001                	j	1982 <RNG_IRQHandler>

00001984 <FSMC_IRQHandler>:
FSMC_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:295
FSMC_IRQHandler:  1:  j 1b
    1984:	a001                	j	1984 <FSMC_IRQHandler>

00001986 <SDIO_IRQHandler>:
SDIO_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:296
SDIO_IRQHandler:  1:  j 1b
    1986:	a001                	j	1986 <SDIO_IRQHandler>

00001988 <TIM5_IRQHandler>:
TIM5_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:297
TIM5_IRQHandler:  1:  j 1b
    1988:	a001                	j	1988 <TIM5_IRQHandler>

0000198a <SPI3_IRQHandler>:
SPI3_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:298
SPI3_IRQHandler:  1:  j 1b
    198a:	a001                	j	198a <SPI3_IRQHandler>

0000198c <UART4_IRQHandler>:
UART4_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:299
UART4_IRQHandler:  1:  j 1b
    198c:	a001                	j	198c <UART4_IRQHandler>

0000198e <UART5_IRQHandler>:
UART5_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:300
UART5_IRQHandler:  1:  j 1b
    198e:	a001                	j	198e <UART5_IRQHandler>

00001990 <TIM6_IRQHandler>:
TIM6_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:301
TIM6_IRQHandler:  1:  j 1b
    1990:	a001                	j	1990 <TIM6_IRQHandler>

00001992 <TIM7_IRQHandler>:
TIM7_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:302
TIM7_IRQHandler:  1:  j 1b
    1992:	a001                	j	1992 <TIM7_IRQHandler>

00001994 <DMA2_Channel1_IRQHandler>:
DMA2_Channel1_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:303
DMA2_Channel1_IRQHandler:  1:  j 1b
    1994:	a001                	j	1994 <DMA2_Channel1_IRQHandler>

00001996 <DMA2_Channel2_IRQHandler>:
DMA2_Channel2_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:304
DMA2_Channel2_IRQHandler:  1:  j 1b
    1996:	a001                	j	1996 <DMA2_Channel2_IRQHandler>

00001998 <DMA2_Channel3_IRQHandler>:
DMA2_Channel3_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:305
DMA2_Channel3_IRQHandler:  1:  j 1b
    1998:	a001                	j	1998 <DMA2_Channel3_IRQHandler>

0000199a <DMA2_Channel4_IRQHandler>:
DMA2_Channel4_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:306
DMA2_Channel4_IRQHandler:  1:  j 1b
    199a:	a001                	j	199a <DMA2_Channel4_IRQHandler>

0000199c <DMA2_Channel5_IRQHandler>:
DMA2_Channel5_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:307
DMA2_Channel5_IRQHandler:  1:  j 1b
    199c:	a001                	j	199c <DMA2_Channel5_IRQHandler>

0000199e <ETH_IRQHandler>:
ETH_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:308
ETH_IRQHandler:  1:  j 1b
    199e:	a001                	j	199e <ETH_IRQHandler>

000019a0 <ETH_WKUP_IRQHandler>:
ETH_WKUP_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:309
ETH_WKUP_IRQHandler:  1:  j 1b
    19a0:	a001                	j	19a0 <ETH_WKUP_IRQHandler>

000019a2 <CAN2_TX_IRQHandler>:
CAN2_TX_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:310
CAN2_TX_IRQHandler:  1:  j 1b
    19a2:	a001                	j	19a2 <CAN2_TX_IRQHandler>

000019a4 <CAN2_RX0_IRQHandler>:
CAN2_RX0_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:311
CAN2_RX0_IRQHandler:  1:  j 1b
    19a4:	a001                	j	19a4 <CAN2_RX0_IRQHandler>

000019a6 <CAN2_RX1_IRQHandler>:
CAN2_RX1_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:312
CAN2_RX1_IRQHandler:  1:  j 1b
    19a6:	a001                	j	19a6 <CAN2_RX1_IRQHandler>

000019a8 <CAN2_SCE_IRQHandler>:
CAN2_SCE_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:313
CAN2_SCE_IRQHandler:  1:  j 1b
    19a8:	a001                	j	19a8 <CAN2_SCE_IRQHandler>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:314
OTG_FS_IRQHandler:  1:  j 1b
    19aa:	a001                	j	19aa <CAN2_SCE_IRQHandler+0x2>

000019ac <USBHSWakeup_IRQHandler>:
USBHSWakeup_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:315
USBHSWakeup_IRQHandler:  1:  j 1b
    19ac:	a001                	j	19ac <USBHSWakeup_IRQHandler>

000019ae <USBHS_IRQHandler>:
USBHS_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:316
USBHS_IRQHandler:  1:  j 1b
    19ae:	a001                	j	19ae <USBHS_IRQHandler>

000019b0 <DVP_IRQHandler>:
DVP_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:317
DVP_IRQHandler:  1:  j 1b
    19b0:	a001                	j	19b0 <DVP_IRQHandler>

000019b2 <UART6_IRQHandler>:
UART6_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:318
UART6_IRQHandler:  1:  j 1b
    19b2:	a001                	j	19b2 <UART6_IRQHandler>

000019b4 <UART7_IRQHandler>:
UART7_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:319
UART7_IRQHandler:  1:  j 1b
    19b4:	a001                	j	19b4 <UART7_IRQHandler>

000019b6 <UART8_IRQHandler>:
UART8_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:320
UART8_IRQHandler:  1:  j 1b
    19b6:	a001                	j	19b6 <UART8_IRQHandler>

000019b8 <TIM9_BRK_IRQHandler>:
TIM9_BRK_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:321
TIM9_BRK_IRQHandler:  1:  j 1b
    19b8:	a001                	j	19b8 <TIM9_BRK_IRQHandler>

000019ba <TIM9_UP_IRQHandler>:
TIM9_UP_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:322
TIM9_UP_IRQHandler:  1:  j 1b
    19ba:	a001                	j	19ba <TIM9_UP_IRQHandler>

000019bc <TIM9_TRG_COM_IRQHandler>:
TIM9_TRG_COM_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:323
TIM9_TRG_COM_IRQHandler:  1:  j 1b
    19bc:	a001                	j	19bc <TIM9_TRG_COM_IRQHandler>

000019be <TIM9_CC_IRQHandler>:
TIM9_CC_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:324
TIM9_CC_IRQHandler:  1:  j 1b
    19be:	a001                	j	19be <TIM9_CC_IRQHandler>

000019c0 <TIM10_BRK_IRQHandler>:
TIM10_BRK_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:325
TIM10_BRK_IRQHandler:  1:  j 1b
    19c0:	a001                	j	19c0 <TIM10_BRK_IRQHandler>

000019c2 <TIM10_UP_IRQHandler>:
TIM10_UP_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:326
TIM10_UP_IRQHandler:  1:  j 1b
    19c2:	a001                	j	19c2 <TIM10_UP_IRQHandler>

000019c4 <TIM10_TRG_COM_IRQHandler>:
TIM10_TRG_COM_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:327
TIM10_TRG_COM_IRQHandler:  1:  j 1b
    19c4:	a001                	j	19c4 <TIM10_TRG_COM_IRQHandler>

000019c6 <TIM10_CC_IRQHandler>:
TIM10_CC_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:328
TIM10_CC_IRQHandler:  1:  j 1b
    19c6:	a001                	j	19c6 <TIM10_CC_IRQHandler>

000019c8 <DMA2_Channel6_IRQHandler>:
DMA2_Channel6_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:329
DMA2_Channel6_IRQHandler:  1:  j 1b
    19c8:	a001                	j	19c8 <DMA2_Channel6_IRQHandler>

000019ca <DMA2_Channel7_IRQHandler>:
DMA2_Channel7_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:330
DMA2_Channel7_IRQHandler:  1:  j 1b
    19ca:	a001                	j	19ca <DMA2_Channel7_IRQHandler>

000019cc <DMA2_Channel8_IRQHandler>:
DMA2_Channel8_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:331
DMA2_Channel8_IRQHandler:  1:  j 1b
    19cc:	a001                	j	19cc <DMA2_Channel8_IRQHandler>

000019ce <DMA2_Channel9_IRQHandler>:
DMA2_Channel9_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:332
DMA2_Channel9_IRQHandler:  1:  j 1b
    19ce:	a001                	j	19ce <DMA2_Channel9_IRQHandler>

000019d0 <DMA2_Channel10_IRQHandler>:
DMA2_Channel10_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:333
DMA2_Channel10_IRQHandler:  1:  j 1b
    19d0:	a001                	j	19d0 <DMA2_Channel10_IRQHandler>

000019d2 <DMA2_Channel11_IRQHandler>:
DMA2_Channel11_IRQHandler():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:334
DMA2_Channel11_IRQHandler:  1:  j 1b
    19d2:	a001                	j	19d2 <DMA2_Channel11_IRQHandler>

000019d4 <handle_reset>:
handle_reset():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:343
	.weak	handle_reset
	.align	1
handle_reset:
.option push 
.option	norelax 
	la gp, __global_pointer$
    19d4:	1ffff197          	auipc	gp,0x1ffff
    19d8:	ed418193          	addi	gp,gp,-300 # 200008a8 <__global_pointer$>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:346
.option	pop 
1:
	la sp, _eusrstack 
    19dc:	2001e117          	auipc	sp,0x2001e
    19e0:	62410113          	addi	sp,sp,1572 # 20020000 <_eusrstack>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:349
2:
	/* Load data section from flash to RAM */
	la a0, _data_lma
    19e4:	00002517          	auipc	a0,0x2
    19e8:	02050513          	addi	a0,a0,32 # 3a04 <_data_lma>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:350
	la a1, _data_vma
    19ec:	1fffe597          	auipc	a1,0x1fffe
    19f0:	61458593          	addi	a1,a1,1556 # 20000000 <_data_vma>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:351
	la a2, _edata
    19f4:	82818613          	addi	a2,gp,-2008 # 200000d0 <_edata>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:352
	bgeu a1, a2, 2f
    19f8:	00c5fa63          	bgeu	a1,a2,1a0c <handle_reset+0x38>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:354
1:
	lw t0, (a0)
    19fc:	00052283          	lw	t0,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:355
	sw t0, (a1)
    1a00:	0055a023          	sw	t0,0(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:356
	addi a0, a0, 4
    1a04:	0511                	addi	a0,a0,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:357
	addi a1, a1, 4
    1a06:	0591                	addi	a1,a1,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:358
	bltu a1, a2, 1b
    1a08:	fec5eae3          	bltu	a1,a2,19fc <handle_reset+0x28>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:361
2:
	/* Clear bss section */
	la a0, _sbss
    1a0c:	82818513          	addi	a0,gp,-2008 # 200000d0 <_edata>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:362
	la a1, _ebss
    1a10:	20001597          	auipc	a1,0x20001
    1a14:	83458593          	addi	a1,a1,-1996 # 20002244 <_ebss>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:363
	bgeu a0, a1, 2f
    1a18:	00b57763          	bgeu	a0,a1,1a26 <handle_reset+0x52>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:365
1:
	sw zero, (a0)
    1a1c:	00052023          	sw	zero,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:366
	addi a0, a0, 4
    1a20:	0511                	addi	a0,a0,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:367
	bltu a0, a1, 1b
    1a22:	feb56de3          	bltu	a0,a1,1a1c <handle_reset+0x48>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:369
2:
    li t0, 0x1f
    1a26:	42fd                	li	t0,31
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:370
    csrw 0xbc0, t0
    1a28:	bc029073          	csrw	0xbc0,t0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:373

    /* Enable nested and hardware stack */
	li t0, 0x0b
    1a2c:	42ad                	li	t0,11
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:374
	csrw 0x804, t0
    1a2e:	80429073          	csrw	0x804,t0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:377

    /* Enable floating point and interrupt */
   	li t0, 0x6088           
    1a32:	000062b7          	lui	t0,0x6
    1a36:	08828293          	addi	t0,t0,136 # 6088 <_data_lma+0x2684>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:378
   	csrs mstatus, t0
    1a3a:	3002a073          	csrs	mstatus,t0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:380

 	la t0, _vector_base
    1a3e:	ffffe297          	auipc	t0,0xffffe
    1a42:	5fa28293          	addi	t0,t0,1530 # 38 <_einit>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:381
    ori t0, t0, 3           
    1a46:	0032e293          	ori	t0,t0,3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:382
	csrw mtvec, t0
    1a4a:	30529073          	csrw	mtvec,t0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:384

    jal  SystemInit
    1a4e:	d17ff0ef          	jal	ra,1764 <SystemInit>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:385
	la t0, main
    1a52:	00000297          	auipc	t0,0x0
    1a56:	86e28293          	addi	t0,t0,-1938 # 12c0 <main>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:386
	csrw mepc, t0
    1a5a:	34129073          	csrw	mepc,t0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Startup/startup_ch32v30x_D8C.S:387
	mret
    1a5e:	30200073          	mret

00001a62 <DBGMCU_GetCHIPID>:
DBGMCU_GetCHIPID():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dbgmcu.c:123
 *          CH32V307VCT6-0x307005x8
 */
uint32_t DBGMCU_GetCHIPID( void )
{
    return( *( uint32_t * )0x1FFFF704 );
}
    1a62:	1ffff7b7          	lui	a5,0x1ffff
    1a66:	7047a503          	lw	a0,1796(a5) # 1ffff704 <_data_lma+0x1fffbd00>
    1a6a:	8082                	ret

00001a6c <DMA_DeInit>:
DMA_DeInit():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:57
 *
 * @return  none
 */
void DMA_DeInit(DMA_Channel_TypeDef *DMAy_Channelx)
{
    DMAy_Channelx->CFGR &= (uint16_t)(~DMA_CFGR1_EN);
    1a6c:	411c                	lw	a5,0(a0)
    1a6e:	6741                	lui	a4,0x10
    1a70:	1779                	addi	a4,a4,-2
    1a72:	8ff9                	and	a5,a5,a4
    1a74:	c11c                	sw	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:58
    DMAy_Channelx->CFGR = 0;
    1a76:	00052023          	sw	zero,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:59
    DMAy_Channelx->CNTR = 0;
    1a7a:	00052223          	sw	zero,4(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:60
    DMAy_Channelx->PADDR = 0;
    1a7e:	00052423          	sw	zero,8(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:62
    DMAy_Channelx->MADDR = 0;
    if(DMAy_Channelx == DMA1_Channel1)
    1a82:	400207b7          	lui	a5,0x40020
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:61
    DMAy_Channelx->MADDR = 0;
    1a86:	00052623          	sw	zero,12(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:62
    if(DMAy_Channelx == DMA1_Channel1)
    1a8a:	00878713          	addi	a4,a5,8 # 40020008 <_eusrstack+0x20000008>
    1a8e:	00e51763          	bne	a0,a4,1a9c <DMA_DeInit+0x30>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:64
    {
        DMA1->INTFCR |= DMA1_Channel1_IT_Mask;
    1a92:	43d8                	lw	a4,4(a5)
    1a94:	00f76713          	ori	a4,a4,15
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:68
    }
    else if(DMAy_Channelx == DMA1_Channel2)
    {
        DMA1->INTFCR |= DMA1_Channel2_IT_Mask;
    1a98:	c3d8                	sw	a4,4(a5)
    1a9a:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:66
    else if(DMAy_Channelx == DMA1_Channel2)
    1a9c:	01c78713          	addi	a4,a5,28
    1aa0:	00e51663          	bne	a0,a4,1aac <DMA_DeInit+0x40>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:68
        DMA1->INTFCR |= DMA1_Channel2_IT_Mask;
    1aa4:	43d8                	lw	a4,4(a5)
    1aa6:	0f076713          	ori	a4,a4,240
    1aaa:	b7fd                	j	1a98 <DMA_DeInit+0x2c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:70
    }
    else if(DMAy_Channelx == DMA1_Channel3)
    1aac:	03078713          	addi	a4,a5,48
    1ab0:	00e51863          	bne	a0,a4,1ac0 <DMA_DeInit+0x54>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:72
    {
        DMA1->INTFCR |= DMA1_Channel3_IT_Mask;
    1ab4:	43d8                	lw	a4,4(a5)
    1ab6:	6685                	lui	a3,0x1
    1ab8:	f0068693          	addi	a3,a3,-256 # f00 <OTG_FS_IRQHandler+0x1b0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:88
    {
        DMA1->INTFCR |= DMA1_Channel6_IT_Mask;
    }
    else if(DMAy_Channelx == DMA1_Channel7)
    {
        DMA1->INTFCR |= DMA1_Channel7_IT_Mask;
    1abc:	8f55                	or	a4,a4,a3
    1abe:	bfe9                	j	1a98 <DMA_DeInit+0x2c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:74
    else if(DMAy_Channelx == DMA1_Channel4)
    1ac0:	04478713          	addi	a4,a5,68
    1ac4:	00e51563          	bne	a0,a4,1ace <DMA_DeInit+0x62>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:76
        DMA1->INTFCR |= DMA1_Channel4_IT_Mask;
    1ac8:	43d8                	lw	a4,4(a5)
    1aca:	66bd                	lui	a3,0xf
    1acc:	bfc5                	j	1abc <DMA_DeInit+0x50>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:78
    else if(DMAy_Channelx == DMA1_Channel5)
    1ace:	05878713          	addi	a4,a5,88
    1ad2:	00e51663          	bne	a0,a4,1ade <DMA_DeInit+0x72>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:80
        DMA1->INTFCR |= DMA1_Channel5_IT_Mask;
    1ad6:	43d8                	lw	a4,4(a5)
    1ad8:	000f06b7          	lui	a3,0xf0
    1adc:	b7c5                	j	1abc <DMA_DeInit+0x50>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:82
    else if(DMAy_Channelx == DMA1_Channel6)
    1ade:	06c78713          	addi	a4,a5,108
    1ae2:	00e51663          	bne	a0,a4,1aee <DMA_DeInit+0x82>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:84
        DMA1->INTFCR |= DMA1_Channel6_IT_Mask;
    1ae6:	43d8                	lw	a4,4(a5)
    1ae8:	00f006b7          	lui	a3,0xf00
    1aec:	bfc1                	j	1abc <DMA_DeInit+0x50>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:86
    else if(DMAy_Channelx == DMA1_Channel7)
    1aee:	08078713          	addi	a4,a5,128
    1af2:	00e51663          	bne	a0,a4,1afe <DMA_DeInit+0x92>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:88
        DMA1->INTFCR |= DMA1_Channel7_IT_Mask;
    1af6:	43d8                	lw	a4,4(a5)
    1af8:	0f0006b7          	lui	a3,0xf000
    1afc:	b7c1                	j	1abc <DMA_DeInit+0x50>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:90
    }
    else if(DMAy_Channelx == DMA2_Channel1)
    1afe:	40878713          	addi	a4,a5,1032
    1b02:	00e51963          	bne	a0,a4,1b14 <DMA_DeInit+0xa8>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:92
    {
        DMA2->INTFCR |= DMA2_Channel1_IT_Mask;
    1b06:	4047a703          	lw	a4,1028(a5)
    1b0a:	00f76713          	ori	a4,a4,15
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:116
    {
        DMA2->INTFCR |= DMA2_Channel6_IT_Mask;
    }
    else if(DMAy_Channelx == DMA2_Channel7)
    {
        DMA2->INTFCR |= DMA2_Channel7_IT_Mask;
    1b0e:	40e7a223          	sw	a4,1028(a5)
    1b12:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:94
    else if(DMAy_Channelx == DMA2_Channel2)
    1b14:	41c78713          	addi	a4,a5,1052
    1b18:	00e51763          	bne	a0,a4,1b26 <DMA_DeInit+0xba>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:96
        DMA2->INTFCR |= DMA2_Channel2_IT_Mask;
    1b1c:	4047a703          	lw	a4,1028(a5)
    1b20:	0f076713          	ori	a4,a4,240
    1b24:	b7ed                	j	1b0e <DMA_DeInit+0xa2>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:98
    else if(DMAy_Channelx == DMA2_Channel3)
    1b26:	43078793          	addi	a5,a5,1072
    1b2a:	00f51b63          	bne	a0,a5,1b40 <DMA_DeInit+0xd4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:100
        DMA2->INTFCR |= DMA2_Channel3_IT_Mask;
    1b2e:	400207b7          	lui	a5,0x40020
    1b32:	4047a703          	lw	a4,1028(a5) # 40020404 <_eusrstack+0x20000404>
    1b36:	6685                	lui	a3,0x1
    1b38:	f0068693          	addi	a3,a3,-256 # f00 <OTG_FS_IRQHandler+0x1b0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:116
        DMA2->INTFCR |= DMA2_Channel7_IT_Mask;
    1b3c:	8f55                	or	a4,a4,a3
    1b3e:	bfc1                	j	1b0e <DMA_DeInit+0xa2>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:102
    else if(DMAy_Channelx == DMA2_Channel4)
    1b40:	400207b7          	lui	a5,0x40020
    1b44:	44478713          	addi	a4,a5,1092 # 40020444 <_eusrstack+0x20000444>
    1b48:	00e51663          	bne	a0,a4,1b54 <DMA_DeInit+0xe8>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:104
        DMA2->INTFCR |= DMA2_Channel4_IT_Mask;
    1b4c:	4047a703          	lw	a4,1028(a5)
    1b50:	66bd                	lui	a3,0xf
    1b52:	b7ed                	j	1b3c <DMA_DeInit+0xd0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:106
    else if(DMAy_Channelx == DMA2_Channel5)
    1b54:	45878713          	addi	a4,a5,1112
    1b58:	00e51763          	bne	a0,a4,1b66 <DMA_DeInit+0xfa>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:108
        DMA2->INTFCR |= DMA2_Channel5_IT_Mask;
    1b5c:	4047a703          	lw	a4,1028(a5)
    1b60:	000f06b7          	lui	a3,0xf0
    1b64:	bfe1                	j	1b3c <DMA_DeInit+0xd0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:110
    else if(DMAy_Channelx == DMA2_Channel6)
    1b66:	46c78713          	addi	a4,a5,1132
    1b6a:	00e51763          	bne	a0,a4,1b78 <DMA_DeInit+0x10c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:112
        DMA2->INTFCR |= DMA2_Channel6_IT_Mask;
    1b6e:	4047a703          	lw	a4,1028(a5)
    1b72:	00f006b7          	lui	a3,0xf00
    1b76:	b7d9                	j	1b3c <DMA_DeInit+0xd0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:114
    else if(DMAy_Channelx == DMA2_Channel7)
    1b78:	48078713          	addi	a4,a5,1152
    1b7c:	00e51763          	bne	a0,a4,1b8a <DMA_DeInit+0x11e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:116
        DMA2->INTFCR |= DMA2_Channel7_IT_Mask;
    1b80:	4047a703          	lw	a4,1028(a5)
    1b84:	0f0006b7          	lui	a3,0xf000
    1b88:	bf55                	j	1b3c <DMA_DeInit+0xd0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:118
    }
    else if(DMAy_Channelx == DMA2_Channel8)
    1b8a:	49078713          	addi	a4,a5,1168
    1b8e:	00e51963          	bne	a0,a4,1ba0 <DMA_DeInit+0x134>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:120
    {
        DMA2_EXTEN->INTFCR |= DMA2_Channel8_IT_Mask;
    1b92:	4d47a703          	lw	a4,1236(a5)
    1b96:	00f76713          	ori	a4,a4,15
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:132
    {
        DMA2_EXTEN->INTFCR |= DMA2_Channel10_IT_Mask;
    }
    else if(DMAy_Channelx == DMA2_Channel11)
    {
        DMA2_EXTEN->INTFCR |= DMA2_Channel11_IT_Mask;
    1b9a:	4ce7aa23          	sw	a4,1236(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:134
    }
}
    1b9e:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:122
    else if(DMAy_Channelx == DMA2_Channel9)
    1ba0:	4a078713          	addi	a4,a5,1184
    1ba4:	00e51763          	bne	a0,a4,1bb2 <DMA_DeInit+0x146>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:124
        DMA2_EXTEN->INTFCR |= DMA2_Channel9_IT_Mask;
    1ba8:	4d47a703          	lw	a4,1236(a5)
    1bac:	0f076713          	ori	a4,a4,240
    1bb0:	b7ed                	j	1b9a <DMA_DeInit+0x12e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:126
    else if(DMAy_Channelx == DMA2_Channel10)
    1bb2:	4b078713          	addi	a4,a5,1200
    1bb6:	00e51963          	bne	a0,a4,1bc8 <DMA_DeInit+0x15c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:128
        DMA2_EXTEN->INTFCR |= DMA2_Channel10_IT_Mask;
    1bba:	4d47a703          	lw	a4,1236(a5)
    1bbe:	6685                	lui	a3,0x1
    1bc0:	f0068693          	addi	a3,a3,-256 # f00 <OTG_FS_IRQHandler+0x1b0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:132
        DMA2_EXTEN->INTFCR |= DMA2_Channel11_IT_Mask;
    1bc4:	8f55                	or	a4,a4,a3
    1bc6:	bfd1                	j	1b9a <DMA_DeInit+0x12e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:130
    else if(DMAy_Channelx == DMA2_Channel11)
    1bc8:	4c078713          	addi	a4,a5,1216
    1bcc:	fce519e3          	bne	a0,a4,1b9e <DMA_DeInit+0x132>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:132
        DMA2_EXTEN->INTFCR |= DMA2_Channel11_IT_Mask;
    1bd0:	4d47a703          	lw	a4,1236(a5)
    1bd4:	66bd                	lui	a3,0xf
    1bd6:	b7fd                	j	1bc4 <DMA_DeInit+0x158>

00001bd8 <DMA_Init>:
DMA_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:153
 */
void DMA_Init(DMA_Channel_TypeDef *DMAy_Channelx, DMA_InitTypeDef *DMA_InitStruct)
{
    uint32_t tmpreg = 0;

    tmpreg = DMAy_Channelx->CFGR;
    1bd8:	411c                	lw	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:154
    tmpreg &= CFGR_CLEAR_Mask;
    1bda:	7761                	lui	a4,0xffff8
    1bdc:	073d                	addi	a4,a4,15
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:155
    tmpreg |= DMA_InitStruct->DMA_DIR | DMA_InitStruct->DMA_Mode |
    1bde:	5194                	lw	a3,32(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:154
    tmpreg &= CFGR_CLEAR_Mask;
    1be0:	8f7d                	and	a4,a4,a5
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:155
    tmpreg |= DMA_InitStruct->DMA_DIR | DMA_InitStruct->DMA_Mode |
    1be2:	459c                	lw	a5,8(a1)
    1be4:	8fd5                	or	a5,a5,a3
    1be6:	4994                	lw	a3,16(a1)
    1be8:	8fd5                	or	a5,a5,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:156
              DMA_InitStruct->DMA_PeripheralInc | DMA_InitStruct->DMA_MemoryInc |
    1bea:	49d4                	lw	a3,20(a1)
    1bec:	8fd5                	or	a5,a5,a3
    1bee:	4d94                	lw	a3,24(a1)
    1bf0:	8fd5                	or	a5,a5,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:157
              DMA_InitStruct->DMA_PeripheralDataSize | DMA_InitStruct->DMA_MemoryDataSize |
    1bf2:	4dd4                	lw	a3,28(a1)
    1bf4:	8fd5                	or	a5,a5,a3
    1bf6:	51d4                	lw	a3,36(a1)
    1bf8:	8fd5                	or	a5,a5,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:158
              DMA_InitStruct->DMA_Priority | DMA_InitStruct->DMA_M2M;
    1bfa:	5594                	lw	a3,40(a1)
    1bfc:	8fd5                	or	a5,a5,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:155
    tmpreg |= DMA_InitStruct->DMA_DIR | DMA_InitStruct->DMA_Mode |
    1bfe:	8fd9                	or	a5,a5,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:160

    DMAy_Channelx->CFGR = tmpreg;
    1c00:	c11c                	sw	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:161
    DMAy_Channelx->CNTR = DMA_InitStruct->DMA_BufferSize;
    1c02:	45dc                	lw	a5,12(a1)
    1c04:	c15c                	sw	a5,4(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:162
    DMAy_Channelx->PADDR = DMA_InitStruct->DMA_PeripheralBaseAddr;
    1c06:	419c                	lw	a5,0(a1)
    1c08:	c51c                	sw	a5,8(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:163
    DMAy_Channelx->MADDR = DMA_InitStruct->DMA_MemoryBaseAddr;
    1c0a:	41dc                	lw	a5,4(a1)
    1c0c:	c55c                	sw	a5,12(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:164
}
    1c0e:	8082                	ret

00001c10 <DMA_Cmd>:
DMA_Cmd():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:208
 */
void DMA_Cmd(DMA_Channel_TypeDef *DMAy_Channelx, FunctionalState NewState)
{
    if(NewState != DISABLE)
    {
        DMAy_Channelx->CFGR |= DMA_CFGR1_EN;
    1c10:	411c                	lw	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:206
    if(NewState != DISABLE)
    1c12:	c589                	beqz	a1,1c1c <DMA_Cmd+0xc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:208
        DMAy_Channelx->CFGR |= DMA_CFGR1_EN;
    1c14:	0017e793          	ori	a5,a5,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:212
    }
    else
    {
        DMAy_Channelx->CFGR &= (uint16_t)(~DMA_CFGR1_EN);
    1c18:	c11c                	sw	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:214
    }
}
    1c1a:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:212
        DMAy_Channelx->CFGR &= (uint16_t)(~DMA_CFGR1_EN);
    1c1c:	6741                	lui	a4,0x10
    1c1e:	1779                	addi	a4,a4,-2
    1c20:	8ff9                	and	a5,a5,a4
    1c22:	bfdd                	j	1c18 <DMA_Cmd+0x8>

00001c24 <DMA_GetFlagStatus>:
DMA_GetFlagStatus():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:364
FlagStatus DMA_GetFlagStatus(uint32_t DMAy_FLAG)
{
    FlagStatus bitstatus = RESET;
    uint32_t   tmpreg = 0;

    if((DMAy_FLAG & FLAG_Mask) == FLAG_Mask)
    1c24:	00351793          	slli	a5,a0,0x3
    1c28:	0007da63          	bgez	a5,1c3c <DMA_GetFlagStatus+0x18>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:366
    {
        tmpreg = DMA2->INTFR;
    1c2c:	400207b7          	lui	a5,0x40020
    1c30:	4007a783          	lw	a5,1024(a5) # 40020400 <_eusrstack+0x20000400>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:377
    else
    {
        tmpreg = DMA1->INTFR;
    }

    if((tmpreg & DMAy_FLAG) != (uint32_t)RESET)
    1c34:	8d7d                	and	a0,a0,a5
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:387
    {
        bitstatus = RESET;
    }

    return bitstatus;
}
    1c36:	00a03533          	snez	a0,a0
    1c3a:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:368
    else if((DMAy_FLAG & DMA2_EXTEN_FLAG_Mask) == DMA2_EXTEN_FLAG_Mask)
    1c3c:	00251793          	slli	a5,a0,0x2
    1c40:	0007d763          	bgez	a5,1c4e <DMA_GetFlagStatus+0x2a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:370
        tmpreg = DMA2_EXTEN->INTFR;
    1c44:	400207b7          	lui	a5,0x40020
    1c48:	4d07a783          	lw	a5,1232(a5) # 400204d0 <_eusrstack+0x200004d0>
    1c4c:	b7e5                	j	1c34 <DMA_GetFlagStatus+0x10>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:374
        tmpreg = DMA1->INTFR;
    1c4e:	400207b7          	lui	a5,0x40020
    1c52:	439c                	lw	a5,0(a5)
    1c54:	b7c5                	j	1c34 <DMA_GetFlagStatus+0x10>

00001c56 <DMA_ClearFlag>:
DMA_ClearFlag():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:472
 *
 * @return  none
 */
void DMA_ClearFlag(uint32_t DMAy_FLAG)
{
    if((DMAy_FLAG & FLAG_Mask) == FLAG_Mask)
    1c56:	00351793          	slli	a5,a0,0x3
    1c5a:	0007d763          	bgez	a5,1c68 <DMA_ClearFlag+0x12>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:474
    {
        DMA2->INTFCR = DMAy_FLAG;
    1c5e:	400207b7          	lui	a5,0x40020
    1c62:	40a7a223          	sw	a0,1028(a5) # 40020404 <_eusrstack+0x20000404>
    1c66:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:476
    }
    else if((DMAy_FLAG & DMA2_EXTEN_FLAG_Mask) == DMA2_EXTEN_FLAG_Mask)
    1c68:	00251793          	slli	a5,a0,0x2
    1c6c:	0007d763          	bgez	a5,1c7a <DMA_ClearFlag+0x24>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:478
    {
        DMA2_EXTEN->INTFCR = DMAy_FLAG;
    1c70:	400207b7          	lui	a5,0x40020
    1c74:	4ca7aa23          	sw	a0,1236(a5) # 400204d4 <_eusrstack+0x200004d4>
    1c78:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:482
    }
    else
    {
        DMA1->INTFCR = DMAy_FLAG;
    1c7a:	400207b7          	lui	a5,0x40020
    1c7e:	c3c8                	sw	a0,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_dma.c:484
    }
}
    1c80:	8082                	ret

00001c82 <GPIO_Init>:
GPIO_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:90
void GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_InitStruct)
{
    uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00;
    uint32_t tmpreg = 0x00, pinmask = 0x00;

    currentmode = ((uint32_t)GPIO_InitStruct->GPIO_Mode) & ((uint32_t)0x0F);
    1c82:	459c                	lw	a5,8(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:92

    if((((uint32_t)GPIO_InitStruct->GPIO_Mode) & ((uint32_t)0x10)) != 0x00)
    1c84:	0107f713          	andi	a4,a5,16
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:90
    currentmode = ((uint32_t)GPIO_InitStruct->GPIO_Mode) & ((uint32_t)0x0F);
    1c88:	00f7f813          	andi	a6,a5,15
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:92
    if((((uint32_t)GPIO_InitStruct->GPIO_Mode) & ((uint32_t)0x10)) != 0x00)
    1c8c:	c701                	beqz	a4,1c94 <GPIO_Init+0x12>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:94
    {
        currentmode |= (uint32_t)GPIO_InitStruct->GPIO_Speed;
    1c8e:	41d8                	lw	a4,4(a1)
    1c90:	00e86833          	or	a6,a6,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:97
    }

    if(((uint32_t)GPIO_InitStruct->GPIO_Pin & ((uint32_t)0x00FF)) != 0x00)
    1c94:	218e                	lhu	a1,0(a1)
    1c96:	0ff5f713          	andi	a4,a1,255
    1c9a:	c339                	beqz	a4,1ce0 <GPIO_Init+0x5e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:99
    {
        tmpreg = GPIOx->CFGLR;
    1c9c:	4118                	lw	a4,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:101

        for(pinpos = 0x00; pinpos < 0x08; pinpos++)
    1c9e:	4681                	li	a3,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:103
        {
            pos = ((uint32_t)0x01) << pinpos;
    1ca0:	4e85                	li	t4,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:109
            currentpin = (GPIO_InitStruct->GPIO_Pin) & pos;

            if(currentpin == pos)
            {
                pos = pinpos << 2;
                pinmask = ((uint32_t)0x0F) << pos;
    1ca2:	4f3d                	li	t5,15
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:113
                tmpreg &= ~pinmask;
                tmpreg |= (currentmode << pos);

                if(GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPD)
    1ca4:	02800f93          	li	t6,40
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:119
                {
                    GPIOx->BCR = (((uint32_t)0x01) << pinpos);
                }
                else
                {
                    if(GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPU)
    1ca8:	04800293          	li	t0,72
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:101
        for(pinpos = 0x00; pinpos < 0x08; pinpos++)
    1cac:	4e21                	li	t3,8
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:103
            pos = ((uint32_t)0x01) << pinpos;
    1cae:	00de9633          	sll	a2,t4,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:104
            currentpin = (GPIO_InitStruct->GPIO_Pin) & pos;
    1cb2:	00c5f8b3          	and	a7,a1,a2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:106
            if(currentpin == pos)
    1cb6:	03161163          	bne	a2,a7,1cd8 <GPIO_Init+0x56>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:108
                pos = pinpos << 2;
    1cba:	00269893          	slli	a7,a3,0x2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:109
                pinmask = ((uint32_t)0x0F) << pos;
    1cbe:	011f1333          	sll	t1,t5,a7
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:110
                tmpreg &= ~pinmask;
    1cc2:	fff34313          	not	t1,t1
    1cc6:	00e37733          	and	a4,t1,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:111
                tmpreg |= (currentmode << pos);
    1cca:	011818b3          	sll	a7,a6,a7
    1cce:	00e8e733          	or	a4,a7,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:113
                if(GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPD)
    1cd2:	05f79f63          	bne	a5,t6,1d30 <GPIO_Init+0xae>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:115
                    GPIOx->BCR = (((uint32_t)0x01) << pinpos);
    1cd6:	c950                	sw	a2,20(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:101 (discriminator 2)
        for(pinpos = 0x00; pinpos < 0x08; pinpos++)
    1cd8:	0685                	addi	a3,a3,1
    1cda:	fdc69ae3          	bne	a3,t3,1cae <GPIO_Init+0x2c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:126
                        GPIOx->BSHR = (((uint32_t)0x01) << pinpos);
                    }
                }
            }
        }
        GPIOx->CFGLR = tmpreg;
    1cde:	c118                	sw	a4,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:129
    }

    if(GPIO_InitStruct->GPIO_Pin > 0x00FF)
    1ce0:	0ff00713          	li	a4,255
    1ce4:	04b77563          	bgeu	a4,a1,1d2e <GPIO_Init+0xac>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:131
    {
        tmpreg = GPIOx->CFGHR;
    1ce8:	4154                	lw	a3,4(a0)
    1cea:	4621                	li	a2,8
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:135

        for(pinpos = 0x00; pinpos < 0x08; pinpos++)
        {
            pos = (((uint32_t)0x01) << (pinpos + 0x08));
    1cec:	4e85                	li	t4,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:141
            currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos);

            if(currentpin == pos)
            {
                pos = pinpos << 2;
                pinmask = ((uint32_t)0x0F) << pos;
    1cee:	4f3d                	li	t5,15
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:145
                tmpreg &= ~pinmask;
                tmpreg |= (currentmode << pos);

                if(GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPD)
    1cf0:	02800f93          	li	t6,40
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:150
                {
                    GPIOx->BCR = (((uint32_t)0x01) << (pinpos + 0x08));
                }

                if(GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPU)
    1cf4:	04800293          	li	t0,72
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:133
        for(pinpos = 0x00; pinpos < 0x08; pinpos++)
    1cf8:	4e41                	li	t3,16
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:135
            pos = (((uint32_t)0x01) << (pinpos + 0x08));
    1cfa:	00ce98b3          	sll	a7,t4,a2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:136
            currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos);
    1cfe:	0115f733          	and	a4,a1,a7
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:138
            if(currentpin == pos)
    1d02:	02e89263          	bne	a7,a4,1d26 <GPIO_Init+0xa4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:140
                pos = pinpos << 2;
    1d06:	00261713          	slli	a4,a2,0x2
    1d0a:	1701                	addi	a4,a4,-32
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:141
                pinmask = ((uint32_t)0x0F) << pos;
    1d0c:	00ef1333          	sll	t1,t5,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:142
                tmpreg &= ~pinmask;
    1d10:	fff34313          	not	t1,t1
    1d14:	00d376b3          	and	a3,t1,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:143
                tmpreg |= (currentmode << pos);
    1d18:	00e81733          	sll	a4,a6,a4
    1d1c:	8ed9                	or	a3,a3,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:145
                if(GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPD)
    1d1e:	01f79d63          	bne	a5,t6,1d38 <GPIO_Init+0xb6>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:147
                    GPIOx->BCR = (((uint32_t)0x01) << (pinpos + 0x08));
    1d22:	01152a23          	sw	a7,20(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:150
                if(GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPU)
    1d26:	0605                	addi	a2,a2,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:133 (discriminator 2)
        for(pinpos = 0x00; pinpos < 0x08; pinpos++)
    1d28:	fdc619e3          	bne	a2,t3,1cfa <GPIO_Init+0x78>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:156
                {
                    GPIOx->BSHR = (((uint32_t)0x01) << (pinpos + 0x08));
                }
            }
        }
        GPIOx->CFGHR = tmpreg;
    1d2c:	c154                	sw	a3,4(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:158
    }
}
    1d2e:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:119
                    if(GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPU)
    1d30:	fa5794e3          	bne	a5,t0,1cd8 <GPIO_Init+0x56>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:121
                        GPIOx->BSHR = (((uint32_t)0x01) << pinpos);
    1d34:	c910                	sw	a2,16(a0)
    1d36:	b74d                	j	1cd8 <GPIO_Init+0x56>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:150
                if(GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPU)
    1d38:	fe5797e3          	bne	a5,t0,1d26 <GPIO_Init+0xa4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:152
                    GPIOx->BSHR = (((uint32_t)0x01) << (pinpos + 0x08));
    1d3c:	01152823          	sw	a7,16(a0)
    1d40:	b7dd                	j	1d26 <GPIO_Init+0xa4>

00001d42 <GPIO_SetBits>:
GPIO_SetBits():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:271
 *
 * @return  none
 */
void GPIO_SetBits(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
{
    GPIOx->BSHR = GPIO_Pin;
    1d42:	c90c                	sw	a1,16(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:272
}
    1d44:	8082                	ret

00001d46 <GPIO_ResetBits>:
GPIO_ResetBits():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:287
 *
 * @return  none
 */
void GPIO_ResetBits(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
{
    GPIOx->BCR = GPIO_Pin;
    1d46:	c94c                	sw	a1,20(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_gpio.c:288
}
    1d48:	8082                	ret

00001d4a <RCC_GetClocksFreq>:
RCC_GetClocksFreq():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:585
#ifdef CH32V30x_D8C
    uint8_t Pll2mull = 0;

#endif

    tmp = RCC->CFGR0 & CFGR0_SWS_Mask;
    1d4a:	40021737          	lui	a4,0x40021
    1d4e:	435c                	lw	a5,4(a4)
    1d50:	4691                	li	a3,4
    1d52:	8bb1                	andi	a5,a5,12
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:587

    switch(tmp)
    1d54:	00d78563          	beq	a5,a3,1d5e <RCC_GetClocksFreq+0x14>
    1d58:	46a1                	li	a3,8
    1d5a:	06d78263          	beq	a5,a3,1dbe <RCC_GetClocksFreq+0x74>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:590
    {
        case 0x00:
            RCC_Clocks->SYSCLK_Frequency = HSI_VALUE;
    1d5e:	007a17b7          	lui	a5,0x7a1
    1d62:	20078793          	addi	a5,a5,512 # 7a1200 <_data_lma+0x79d7fc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:668

#endif
            }

            if(Pll_6_5 == 1)
                RCC_Clocks->SYSCLK_Frequency = (RCC_Clocks->SYSCLK_Frequency / 2);
    1d66:	c11c                	sw	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:677
        default:
            RCC_Clocks->SYSCLK_Frequency = HSI_VALUE;
            break;
    }

    tmp = RCC->CFGR0 & CFGR0_HPRE_Set_Mask;
    1d68:	40021637          	lui	a2,0x40021
    1d6c:	425c                	lw	a5,4(a2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:679
    tmp = tmp >> 4;
    presc = APBAHBPrescTable[tmp];
    1d6e:	20000737          	lui	a4,0x20000
    1d72:	03470713          	addi	a4,a4,52 # 20000034 <APBAHBPrescTable>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:678
    tmp = tmp >> 4;
    1d76:	8391                	srli	a5,a5,0x4
    1d78:	8bbd                	andi	a5,a5,15
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:679
    presc = APBAHBPrescTable[tmp];
    1d7a:	97ba                	add	a5,a5,a4
    1d7c:	2394                	lbu	a3,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:680
    RCC_Clocks->HCLK_Frequency = RCC_Clocks->SYSCLK_Frequency >> presc;
    1d7e:	411c                	lw	a5,0(a0)
    1d80:	00d7d7b3          	srl	a5,a5,a3
    1d84:	c15c                	sw	a5,4(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:681
    tmp = RCC->CFGR0 & CFGR0_PPRE1_Set_Mask;
    1d86:	4254                	lw	a3,4(a2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:682
    tmp = tmp >> 8;
    1d88:	82a1                	srli	a3,a3,0x8
    1d8a:	8a9d                	andi	a3,a3,7
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:683
    presc = APBAHBPrescTable[tmp];
    1d8c:	96ba                	add	a3,a3,a4
    1d8e:	2294                	lbu	a3,0(a3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:684
    RCC_Clocks->PCLK1_Frequency = RCC_Clocks->HCLK_Frequency >> presc;
    1d90:	00d7d6b3          	srl	a3,a5,a3
    1d94:	c514                	sw	a3,8(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:685
    tmp = RCC->CFGR0 & CFGR0_PPRE2_Set_Mask;
    1d96:	4254                	lw	a3,4(a2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:686
    tmp = tmp >> 11;
    1d98:	82ad                	srli	a3,a3,0xb
    1d9a:	8a9d                	andi	a3,a3,7
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:687
    presc = APBAHBPrescTable[tmp];
    1d9c:	9736                	add	a4,a4,a3
    1d9e:	2318                	lbu	a4,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:688
    RCC_Clocks->PCLK2_Frequency = RCC_Clocks->HCLK_Frequency >> presc;
    1da0:	00e7d7b3          	srl	a5,a5,a4
    1da4:	c55c                	sw	a5,12(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:689
    tmp = RCC->CFGR0 & CFGR0_ADCPRE_Set_Mask;
    1da6:	4258                	lw	a4,4(a2)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:690
    tmp = tmp >> 14;
    1da8:	8339                	srli	a4,a4,0xe
    1daa:	00377693          	andi	a3,a4,3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:691
    presc = ADCPrescTable[tmp];
    1dae:	80c18713          	addi	a4,gp,-2036 # 200000b4 <ADCPrescTable>
    1db2:	9736                	add	a4,a4,a3
    1db4:	2318                	lbu	a4,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:692
    RCC_Clocks->ADCCLK_Frequency = RCC_Clocks->PCLK2_Frequency / presc;
    1db6:	02e7d7b3          	divu	a5,a5,a4
    1dba:	c91c                	sw	a5,16(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:693
}
    1dbc:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:598
            pllmull = RCC->CFGR0 & CFGR0_PLLMull_Mask;
    1dbe:	435c                	lw	a5,4(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:599
            pllsource = RCC->CFGR0 & CFGR0_PLLSRC_Mask;
    1dc0:	4358                	lw	a4,4(a4)
    1dc2:	66c1                	lui	a3,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:601
            pllmull = (pllmull >> 18) + 2;
    1dc4:	83c9                	srli	a5,a5,0x12
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:599
            pllsource = RCC->CFGR0 & CFGR0_PLLSRC_Mask;
    1dc6:	8f75                	and	a4,a4,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:603
            if(((*(uint32_t *)0x1FFFF70C) & (1 << 14)) != (1 << 14))
    1dc8:	1ffff6b7          	lui	a3,0x1ffff
    1dcc:	70c6a683          	lw	a3,1804(a3) # 1ffff70c <_data_lma+0x1fffbd08>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:601
            pllmull = (pllmull >> 18) + 2;
    1dd0:	8bbd                	andi	a5,a5,15
    1dd2:	0789                	addi	a5,a5,2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:603
            if(((*(uint32_t *)0x1FFFF70C) & (1 << 14)) != (1 << 14))
    1dd4:	01169613          	slli	a2,a3,0x11
    1dd8:	00064863          	bltz	a2,1de8 <RCC_GetClocksFreq+0x9e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:605
                if(pllmull == 17)
    1ddc:	46c5                	li	a3,17
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:578
    uint8_t Pll_6_5 = 0;
    1dde:	4601                	li	a2,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:605
                if(pllmull == 17)
    1de0:	02d79263          	bne	a5,a3,1e04 <RCC_GetClocksFreq+0xba>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:606
                    pllmull = 18;
    1de4:	47c9                	li	a5,18
    1de6:	a839                	j	1e04 <RCC_GetClocksFreq+0xba>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:610
                if(pllmull == 2)
    1de8:	4689                	li	a3,2
    1dea:	02d78f63          	beq	a5,a3,1e28 <RCC_GetClocksFreq+0xde>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:612
                if(pllmull == 15)
    1dee:	46bd                	li	a3,15
    1df0:	02d78e63          	beq	a5,a3,1e2c <RCC_GetClocksFreq+0xe2>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:617
                if(pllmull == 16)
    1df4:	46c1                	li	a3,16
    1df6:	02d78e63          	beq	a5,a3,1e32 <RCC_GetClocksFreq+0xe8>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:619
                if(pllmull == 17)
    1dfa:	46c5                	li	a3,17
    1dfc:	4601                	li	a2,0
    1dfe:	00d79363          	bne	a5,a3,1e04 <RCC_GetClocksFreq+0xba>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:620
                    pllmull = 16;
    1e02:	47c1                	li	a5,16
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:623
            if(pllsource == 0x00)
    1e04:	ef1d                	bnez	a4,1e42 <RCC_GetClocksFreq+0xf8>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:625
                if(EXTEN->EXTEN_CTR & EXTEN_PLL_HSI_PRE)
    1e06:	40024737          	lui	a4,0x40024
    1e0a:	80072703          	lw	a4,-2048(a4) # 40023800 <_eusrstack+0x20003800>
    1e0e:	8b41                	andi	a4,a4,16
    1e10:	c705                	beqz	a4,1e38 <RCC_GetClocksFreq+0xee>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:627
                    RCC_Clocks->SYSCLK_Frequency = (HSI_VALUE)*pllmull;
    1e12:	007a1737          	lui	a4,0x7a1
    1e16:	20070713          	addi	a4,a4,512 # 7a1200 <_data_lma+0x79d7fc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:662
                RCC_Clocks->SYSCLK_Frequency = RCC_Clocks->SYSCLK_Frequency * pllmull;
    1e1a:	02f707b3          	mul	a5,a4,a5
    1e1e:	c11c                	sw	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:667
            if(Pll_6_5 == 1)
    1e20:	d621                	beqz	a2,1d68 <RCC_GetClocksFreq+0x1e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:668
                RCC_Clocks->SYSCLK_Frequency = (RCC_Clocks->SYSCLK_Frequency / 2);
    1e22:	411c                	lw	a5,0(a0)
    1e24:	8385                	srli	a5,a5,0x1
    1e26:	b781                	j	1d66 <RCC_GetClocksFreq+0x1c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:578
    uint8_t Pll_6_5 = 0;
    1e28:	4601                	li	a2,0
    1e2a:	bf6d                	j	1de4 <RCC_GetClocksFreq+0x9a>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:615
                    Pll_6_5 = 1;
    1e2c:	4605                	li	a2,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:614
                    pllmull = 13; /* *6.5 */
    1e2e:	47b5                	li	a5,13
    1e30:	bfd1                	j	1e04 <RCC_GetClocksFreq+0xba>
    1e32:	4601                	li	a2,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:618
                    pllmull = 15;
    1e34:	47bd                	li	a5,15
    1e36:	b7f9                	j	1e04 <RCC_GetClocksFreq+0xba>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:631
                    RCC_Clocks->SYSCLK_Frequency = (HSI_VALUE >> 1) * pllmull;
    1e38:	003d1737          	lui	a4,0x3d1
    1e3c:	90070713          	addi	a4,a4,-1792 # 3d0900 <_data_lma+0x3ccefc>
    1e40:	bfe9                	j	1e1a <RCC_GetClocksFreq+0xd0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:646
                if(RCC->CFGR2 & (1<<16)){ /* PLL2 */
    1e42:	400215b7          	lui	a1,0x40021
    1e46:	55d8                	lw	a4,44(a1)
    1e48:	00f71693          	slli	a3,a4,0xf
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:647
                    RCC_Clocks->SYSCLK_Frequency = HSE_VALUE/(((RCC->CFGR2 & 0xF0)>>4) + 1);  /* PREDIV2 */
    1e4c:	55d8                	lw	a4,44(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:646
                if(RCC->CFGR2 & (1<<16)){ /* PLL2 */
    1e4e:	0406df63          	bgez	a3,1eac <RCC_GetClocksFreq+0x162>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:647
                    RCC_Clocks->SYSCLK_Frequency = HSE_VALUE/(((RCC->CFGR2 & 0xF0)>>4) + 1);  /* PREDIV2 */
    1e52:	8311                	srli	a4,a4,0x4
    1e54:	8b3d                	andi	a4,a4,15
    1e56:	00170693          	addi	a3,a4,1
    1e5a:	007a1737          	lui	a4,0x7a1
    1e5e:	20070713          	addi	a4,a4,512 # 7a1200 <_data_lma+0x79d7fc>
    1e62:	02d75733          	divu	a4,a4,a3
    1e66:	c118                	sw	a4,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:649
                    Pll2mull = (uint8_t)((RCC->CFGR2 & 0xF00)>>8);
    1e68:	55d4                	lw	a3,44(a1)
    1e6a:	82a1                	srli	a3,a3,0x8
    1e6c:	8abd                	andi	a3,a3,15
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:651
                    if(Pll2mull == 0) RCC_Clocks->SYSCLK_Frequency = (RCC_Clocks->SYSCLK_Frequency * 5)>>1;
    1e6e:	e28d                	bnez	a3,1e90 <RCC_GetClocksFreq+0x146>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:651 (discriminator 1)
    1e70:	4695                	li	a3,5
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:652 (discriminator 1)
                    else if(Pll2mull == 1) RCC_Clocks->SYSCLK_Frequency = (RCC_Clocks->SYSCLK_Frequency * 25)>>1;
    1e72:	02d70733          	mul	a4,a4,a3
    1e76:	8305                	srli	a4,a4,0x1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:654
                    else  RCC_Clocks->SYSCLK_Frequency = RCC_Clocks->SYSCLK_Frequency * (Pll2mull + 2);
    1e78:	c118                	sw	a4,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:656
                    RCC_Clocks->SYSCLK_Frequency = RCC_Clocks->SYSCLK_Frequency/((RCC->CFGR2 & 0xF) + 1);  /* PREDIV1 */
    1e7a:	40021737          	lui	a4,0x40021
    1e7e:	5758                	lw	a4,44(a4)
    1e80:	4114                	lw	a3,0(a0)
    1e82:	8b3d                	andi	a4,a4,15
    1e84:	0705                	addi	a4,a4,1
    1e86:	02e6d733          	divu	a4,a3,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:659
                    RCC_Clocks->SYSCLK_Frequency = HSE_VALUE/((RCC->CFGR2 & 0xF) + 1);  /* PREDIV1 */
    1e8a:	c118                	sw	a4,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:662
                RCC_Clocks->SYSCLK_Frequency = RCC_Clocks->SYSCLK_Frequency * pllmull;
    1e8c:	4118                	lw	a4,0(a0)
    1e8e:	b771                	j	1e1a <RCC_GetClocksFreq+0xd0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:652
                    else if(Pll2mull == 1) RCC_Clocks->SYSCLK_Frequency = (RCC_Clocks->SYSCLK_Frequency * 25)>>1;
    1e90:	4585                	li	a1,1
    1e92:	00b69463          	bne	a3,a1,1e9a <RCC_GetClocksFreq+0x150>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:652 (discriminator 1)
    1e96:	46e5                	li	a3,25
    1e98:	bfe9                	j	1e72 <RCC_GetClocksFreq+0x128>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:653
                    else if(Pll2mull == 15) RCC_Clocks->SYSCLK_Frequency = RCC_Clocks->SYSCLK_Frequency * 20;
    1e9a:	45bd                	li	a1,15
    1e9c:	00b69663          	bne	a3,a1,1ea8 <RCC_GetClocksFreq+0x15e>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:653 (discriminator 1)
    1ea0:	46d1                	li	a3,20
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:654
                    else  RCC_Clocks->SYSCLK_Frequency = RCC_Clocks->SYSCLK_Frequency * (Pll2mull + 2);
    1ea2:	02e68733          	mul	a4,a3,a4
    1ea6:	bfc9                	j	1e78 <RCC_GetClocksFreq+0x12e>
    1ea8:	0689                	addi	a3,a3,2
    1eaa:	bfe5                	j	1ea2 <RCC_GetClocksFreq+0x158>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:659
                    RCC_Clocks->SYSCLK_Frequency = HSE_VALUE/((RCC->CFGR2 & 0xF) + 1);  /* PREDIV1 */
    1eac:	8b3d                	andi	a4,a4,15
    1eae:	00170693          	addi	a3,a4,1 # 40021001 <_eusrstack+0x20001001>
    1eb2:	007a1737          	lui	a4,0x7a1
    1eb6:	20070713          	addi	a4,a4,512 # 7a1200 <_data_lma+0x79d7fc>
    1eba:	02d75733          	divu	a4,a4,a3
    1ebe:	b7f1                	j	1e8a <RCC_GetClocksFreq+0x140>

00001ec0 <RCC_AHBPeriphClockCmd>:
RCC_AHBPeriphClockCmd():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:722
 *
 * @return  none
 */
void RCC_AHBPeriphClockCmd(uint32_t RCC_AHBPeriph, FunctionalState NewState)
{
    if(NewState != DISABLE)
    1ec0:	c599                	beqz	a1,1ece <RCC_AHBPeriphClockCmd+0xe>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:724
    {
        RCC->AHBPCENR |= RCC_AHBPeriph;
    1ec2:	40021737          	lui	a4,0x40021
    1ec6:	4b5c                	lw	a5,20(a4)
    1ec8:	8d5d                	or	a0,a0,a5
    1eca:	cb48                	sw	a0,20(a4)
    1ecc:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:728
    }
    else
    {
        RCC->AHBPCENR &= ~RCC_AHBPeriph;
    1ece:	400217b7          	lui	a5,0x40021
    1ed2:	4bd8                	lw	a4,20(a5)
    1ed4:	fff54513          	not	a0,a0
    1ed8:	8d79                	and	a0,a0,a4
    1eda:	cbc8                	sw	a0,20(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:730
    }
}
    1edc:	8082                	ret

00001ede <RCC_APB2PeriphClockCmd>:
RCC_APB2PeriphClockCmd():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:758
 *
 * @return  none
 */
void RCC_APB2PeriphClockCmd(uint32_t RCC_APB2Periph, FunctionalState NewState)
{
    if(NewState != DISABLE)
    1ede:	c599                	beqz	a1,1eec <RCC_APB2PeriphClockCmd+0xe>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:760
    {
        RCC->APB2PCENR |= RCC_APB2Periph;
    1ee0:	40021737          	lui	a4,0x40021
    1ee4:	4f1c                	lw	a5,24(a4)
    1ee6:	8d5d                	or	a0,a0,a5
    1ee8:	cf08                	sw	a0,24(a4)
    1eea:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:764
    }
    else
    {
        RCC->APB2PCENR &= ~RCC_APB2Periph;
    1eec:	400217b7          	lui	a5,0x40021
    1ef0:	4f98                	lw	a4,24(a5)
    1ef2:	fff54513          	not	a0,a0
    1ef6:	8d79                	and	a0,a0,a4
    1ef8:	cf88                	sw	a0,24(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:766
    }
}
    1efa:	8082                	ret

00001efc <RCC_USBHSConfig>:
RCC_USBHSConfig():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1401
 *
 * @return  none
 */
void RCC_USBHSConfig(uint32_t RCC_USBHS)
{
    RCC->CFGR2 &= ~(7 << 24);
    1efc:	400217b7          	lui	a5,0x40021
    1f00:	57d8                	lw	a4,44(a5)
    1f02:	f90006b7          	lui	a3,0xf9000
    1f06:	16fd                	addi	a3,a3,-1
    1f08:	8f75                	and	a4,a4,a3
    1f0a:	d7d8                	sw	a4,44(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1402
    RCC->CFGR2 |= RCC_USBHS << 24;
    1f0c:	57d8                	lw	a4,44(a5)
    1f0e:	0562                	slli	a0,a0,0x18
    1f10:	8d59                	or	a0,a0,a4
    1f12:	d7c8                	sw	a0,44(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1403
}
    1f14:	8082                	ret

00001f16 <RCC_USBHSPLLCLKConfig>:
RCC_USBHSPLLCLKConfig():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1418
 *
 * @return  none
 */
void RCC_USBHSPLLCLKConfig(uint32_t RCC_USBHSPLLCLKSource)
{
    RCC->CFGR2 &= ~(1 << 27);
    1f16:	400217b7          	lui	a5,0x40021
    1f1a:	57d8                	lw	a4,44(a5)
    1f1c:	f80006b7          	lui	a3,0xf8000
    1f20:	16fd                	addi	a3,a3,-1
    1f22:	8f75                	and	a4,a4,a3
    1f24:	d7d8                	sw	a4,44(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1419
    RCC->CFGR2 |= RCC_USBHSPLLCLKSource << 27;
    1f26:	57d8                	lw	a4,44(a5)
    1f28:	056e                	slli	a0,a0,0x1b
    1f2a:	8d59                	or	a0,a0,a4
    1f2c:	d7c8                	sw	a0,44(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1420
}
    1f2e:	8082                	ret

00001f30 <RCC_USBHSPLLCKREFCLKConfig>:
RCC_USBHSPLLCKREFCLKConfig():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1437
 *
 * @return  none
 */
void RCC_USBHSPLLCKREFCLKConfig(uint32_t RCC_USBHSPLLCKREFCLKSource)
{
    RCC->CFGR2 &= ~(3 << 28);
    1f30:	400217b7          	lui	a5,0x40021
    1f34:	57d8                	lw	a4,44(a5)
    1f36:	d00006b7          	lui	a3,0xd0000
    1f3a:	16fd                	addi	a3,a3,-1
    1f3c:	8f75                	and	a4,a4,a3
    1f3e:	d7d8                	sw	a4,44(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1438
    RCC->CFGR2 |= RCC_USBHSPLLCKREFCLKSource << 28;
    1f40:	57d8                	lw	a4,44(a5)
    1f42:	0572                	slli	a0,a0,0x1c
    1f44:	8d59                	or	a0,a0,a4
    1f46:	d7c8                	sw	a0,44(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1439
}
    1f48:	8082                	ret

00001f4a <RCC_USBHSPHYPLLALIVEcmd>:
RCC_USBHSPHYPLLALIVEcmd():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1452
 *
 * @return  none
 */
void RCC_USBHSPHYPLLALIVEcmd(FunctionalState NewState)
{
    if(NewState != DISABLE)
    1f4a:	c909                	beqz	a0,1f5c <RCC_USBHSPHYPLLALIVEcmd+0x12>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1454
    {
        RCC->CFGR2 |= (1 << 30);
    1f4c:	40021737          	lui	a4,0x40021
    1f50:	575c                	lw	a5,44(a4)
    1f52:	400006b7          	lui	a3,0x40000
    1f56:	8fd5                	or	a5,a5,a3
    1f58:	d75c                	sw	a5,44(a4)
    1f5a:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1458
    }
    else
    {
        RCC->CFGR2 &= ~(1 << 30);
    1f5c:	400216b7          	lui	a3,0x40021
    1f60:	56dc                	lw	a5,44(a3)
    1f62:	c0000737          	lui	a4,0xc0000
    1f66:	177d                	addi	a4,a4,-1
    1f68:	8ff9                	and	a5,a5,a4
    1f6a:	d6dc                	sw	a5,44(a3)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1460
    }
}
    1f6c:	8082                	ret

00001f6e <RCC_USBCLK48MConfig>:
RCC_USBCLK48MConfig():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1475
 *
 * @return  none
 */
void RCC_USBCLK48MConfig(uint32_t RCC_USBCLK48MSource)
{
    RCC->CFGR2 &= ~(1 << 31);
    1f6e:	40021737          	lui	a4,0x40021
    1f72:	575c                	lw	a5,44(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1476
    RCC->CFGR2 |= RCC_USBCLK48MSource << 31;
    1f74:	057e                	slli	a0,a0,0x1f
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1475
    RCC->CFGR2 &= ~(1 << 31);
    1f76:	0786                	slli	a5,a5,0x1
    1f78:	8385                	srli	a5,a5,0x1
    1f7a:	d75c                	sw	a5,44(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1476
    RCC->CFGR2 |= RCC_USBCLK48MSource << 31;
    1f7c:	575c                	lw	a5,44(a4)
    1f7e:	8d5d                	or	a0,a0,a5
    1f80:	d748                	sw	a0,44(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_rcc.c:1477
}
    1f82:	8082                	ret

00001f84 <SPI_Init>:
SPI_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:96
 */
void SPI_Init(SPI_TypeDef *SPIx, SPI_InitTypeDef *SPI_InitStruct)
{
    uint16_t tmpreg = 0;

    tmpreg = SPIx->CTLR1;
    1f84:	211a                	lhu	a4,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:97
    tmpreg &= CTLR1_CLEAR_Mask;
    1f86:	678d                	lui	a5,0x3
    1f88:	04078793          	addi	a5,a5,64 # 3040 <_printf_i+0x66>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:98
    tmpreg |= (uint16_t)((uint32_t)SPI_InitStruct->SPI_Direction | SPI_InitStruct->SPI_Mode |
    1f8c:	21b6                	lhu	a3,2(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:97
    tmpreg &= CTLR1_CLEAR_Mask;
    1f8e:	8f7d                	and	a4,a4,a5
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:98
    tmpreg |= (uint16_t)((uint32_t)SPI_InitStruct->SPI_Direction | SPI_InitStruct->SPI_Mode |
    1f90:	219e                	lhu	a5,0(a1)
    1f92:	8fd5                	or	a5,a5,a3
    1f94:	21d6                	lhu	a3,4(a1)
    1f96:	8fd5                	or	a5,a5,a3
    1f98:	21f6                	lhu	a3,6(a1)
    1f9a:	8fd5                	or	a5,a5,a3
    1f9c:	2596                	lhu	a3,8(a1)
    1f9e:	8fd5                	or	a5,a5,a3
    1fa0:	25b6                	lhu	a3,10(a1)
    1fa2:	8fd5                	or	a5,a5,a3
    1fa4:	25d6                	lhu	a3,12(a1)
    1fa6:	8fd5                	or	a5,a5,a3
    1fa8:	25f6                	lhu	a3,14(a1)
    1faa:	8fd5                	or	a5,a5,a3
    1fac:	8fd9                	or	a5,a5,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:103
                         SPI_InitStruct->SPI_DataSize | SPI_InitStruct->SPI_CPOL |
                         SPI_InitStruct->SPI_CPHA | SPI_InitStruct->SPI_NSS |
                         SPI_InitStruct->SPI_BaudRatePrescaler | SPI_InitStruct->SPI_FirstBit);

    SPIx->CTLR1 = tmpreg;
    1fae:	a11e                	sh	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:104
    SPIx->I2SCFGR &= SPI_Mode_Select;
    1fb0:	2d5a                	lhu	a4,28(a0)
    1fb2:	77fd                	lui	a5,0xfffff
    1fb4:	7ff78793          	addi	a5,a5,2047 # fffff7ff <_eusrstack+0xdffdf7ff>
    1fb8:	8ff9                	and	a5,a5,a4
    1fba:	ad5e                	sh	a5,28(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:105
    SPIx->CRCR = SPI_InitStruct->SPI_CRCPolynomial;
    1fbc:	299e                	lhu	a5,16(a1)
    1fbe:	a91e                	sh	a5,16(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:106
}
    1fc0:	8082                	ret

00001fc2 <SPI_Cmd>:
SPI_Cmd():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:246
 */
void SPI_Cmd(SPI_TypeDef *SPIx, FunctionalState NewState)
{
    if(NewState != DISABLE)
    {
        SPIx->CTLR1 |= CTLR1_SPE_Set;
    1fc2:	211e                	lhu	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:244
    if(NewState != DISABLE)
    1fc4:	c589                	beqz	a1,1fce <SPI_Cmd+0xc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:246
        SPIx->CTLR1 |= CTLR1_SPE_Set;
    1fc6:	0407e793          	ori	a5,a5,64
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:250
    }
    else
    {
        SPIx->CTLR1 &= CTLR1_SPE_Reset;
    1fca:	a11e                	sh	a5,0(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:252
    }
}
    1fcc:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:250
        SPIx->CTLR1 &= CTLR1_SPE_Reset;
    1fce:	07c2                	slli	a5,a5,0x10
    1fd0:	83c1                	srli	a5,a5,0x10
    1fd2:	fbf7f793          	andi	a5,a5,-65
    1fd6:	07c2                	slli	a5,a5,0x10
    1fd8:	83c1                	srli	a5,a5,0x10
    1fda:	bfc5                	j	1fca <SPI_Cmd+0x8>

00001fdc <SPI_I2S_DMACmd>:
SPI_I2S_DMACmd():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:329
 */
void SPI_I2S_DMACmd(SPI_TypeDef *SPIx, uint16_t SPI_I2S_DMAReq, FunctionalState NewState)
{
    if(NewState != DISABLE)
    {
        SPIx->CTLR2 |= SPI_I2S_DMAReq;
    1fdc:	215e                	lhu	a5,4(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:327
    if(NewState != DISABLE)
    1fde:	c601                	beqz	a2,1fe6 <SPI_I2S_DMACmd+0xa>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:329
        SPIx->CTLR2 |= SPI_I2S_DMAReq;
    1fe0:	8ddd                	or	a1,a1,a5
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:333
    }
    else
    {
        SPIx->CTLR2 &= (uint16_t)~SPI_I2S_DMAReq;
    1fe2:	a14e                	sh	a1,4(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:335
    }
}
    1fe4:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:333
        SPIx->CTLR2 &= (uint16_t)~SPI_I2S_DMAReq;
    1fe6:	fff5c593          	not	a1,a1
    1fea:	8dfd                	and	a1,a1,a5
    1fec:	bfdd                	j	1fe2 <SPI_I2S_DMACmd+0x6>

00001fee <SPI_I2S_SendData>:
SPI_I2S_SendData():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:351
 *
 * @return  none
 */
void SPI_I2S_SendData(SPI_TypeDef *SPIx, uint16_t Data)
{
    SPIx->DATAR = Data;
    1fee:	a54e                	sh	a1,12(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:352
}
    1ff0:	8082                	ret

00001ff2 <SPI_I2S_ReceiveData>:
SPI_I2S_ReceiveData():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:368
 *
 * @return  SPIx->DATAR - The value of the received data.
 */
uint16_t SPI_I2S_ReceiveData(SPI_TypeDef *SPIx)
{
    return SPIx->DATAR;
    1ff2:	254a                	lhu	a0,12(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:369
}
    1ff4:	8082                	ret

00001ff6 <SPI_I2S_GetFlagStatus>:
SPI_I2S_GetFlagStatus():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:563
 */
FlagStatus SPI_I2S_GetFlagStatus(SPI_TypeDef *SPIx, uint16_t SPI_I2S_FLAG)
{
    FlagStatus bitstatus = RESET;

    if((SPIx->STATR & SPI_I2S_FLAG) != (uint16_t)RESET)
    1ff6:	250a                	lhu	a0,8(a0)
    1ff8:	8d6d                	and	a0,a0,a1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_spi.c:573
    {
        bitstatus = RESET;
    }

    return bitstatus;
}
    1ffa:	00a03533          	snez	a0,a0
    1ffe:	8082                	ret

00002000 <USART_Init>:
USART_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:128
 *        USART peripheral.
 *
 * @return  none
 */
void USART_Init(USART_TypeDef *USARTx, USART_InitTypeDef *USART_InitStruct)
{
    2000:	a30fe2ef          	jal	t0,230 <__riscv_save_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:140
    if(USART_InitStruct->USART_HardwareFlowControl != USART_HardwareFlowControl_None)
    {
    }

    usartxbase = (uint32_t)USARTx;
    tmpreg = USARTx->CTLR2;
    2004:	2916                	lhu	a3,16(a0)
    2006:	77f5                	lui	a5,0xffffd
    2008:	17fd                	addi	a5,a5,-1
    200a:	8ff5                	and	a5,a5,a3
    200c:	21f6                	lhu	a3,6(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:135
    if(USART_InitStruct->USART_HardwareFlowControl != USART_HardwareFlowControl_None)
    200e:	25da                	lhu	a4,12(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:128
{
    2010:	7179                	addi	sp,sp,-48
    2012:	8fd5                	or	a5,a5,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:144
    tmpreg &= CTLR2_STOP_CLEAR_Mask;
    tmpreg |= (uint32_t)USART_InitStruct->USART_StopBits;

    USARTx->CTLR2 = (uint16_t)tmpreg;
    2014:	a91e                	sh	a5,16(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:145
    tmpreg = USARTx->CTLR1;
    2016:	2556                	lhu	a3,12(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:147
    tmpreg &= CTLR1_CLEAR_Mask;
    tmpreg |= (uint32_t)USART_InitStruct->USART_WordLength | USART_InitStruct->USART_Parity |
    2018:	77fd                	lui	a5,0xfffff
    201a:	9f378793          	addi	a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdffde9f3>
    201e:	8ff5                	and	a5,a5,a3
    2020:	21d6                	lhu	a3,4(a1)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:128
{
    2022:	842a                	mv	s0,a0
    2024:	c62e                	sw	a1,12(sp)
    2026:	8fd5                	or	a5,a5,a3
    2028:	2596                	lhu	a3,8(a1)
    202a:	8fd5                	or	a5,a5,a3
    202c:	25b6                	lhu	a3,10(a1)
    202e:	8fd5                	or	a5,a5,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:149
              USART_InitStruct->USART_Mode;
    USARTx->CTLR1 = (uint16_t)tmpreg;
    2030:	a55e                	sh	a5,12(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:151

    tmpreg = USARTx->CTLR3;
    2032:	295e                	lhu	a5,20(a0)
    2034:	07c2                	slli	a5,a5,0x10
    2036:	83c1                	srli	a5,a5,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:153
    tmpreg &= CTLR3_CLEAR_Mask;
    tmpreg |= USART_InitStruct->USART_HardwareFlowControl;
    2038:	cff7f793          	andi	a5,a5,-769
    203c:	8fd9                	or	a5,a5,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:154
    USARTx->CTLR3 = (uint16_t)tmpreg;
    203e:	a95e                	sh	a5,20(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:156

    RCC_GetClocksFreq(&RCC_ClocksStatus);
    2040:	0868                	addi	a0,sp,28
    2042:	3321                	jal	1d4a <RCC_GetClocksFreq>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:158

    if(usartxbase == USART1_BASE)
    2044:	400147b7          	lui	a5,0x40014
    2048:	80078793          	addi	a5,a5,-2048 # 40013800 <_eusrstack+0x1fff3800>
    204c:	45b2                	lw	a1,12(sp)
    204e:	04f41a63          	bne	s0,a5,20a2 <USART_Init+0xa2>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:160
    {
        apbclock = RCC_ClocksStatus.PCLK2_Frequency;
    2052:	57a2                	lw	a5,40(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:167
    else
    {
        apbclock = RCC_ClocksStatus.PCLK1_Frequency;
    }

    if((USARTx->CTLR1 & CTLR1_OVER8_Set) != 0)
    2054:	2456                	lhu	a3,12(s0)
    2056:	4765                	li	a4,25
    2058:	02e787b3          	mul	a5,a5,a4
    205c:	06c2                	slli	a3,a3,0x10
    205e:	86c1                	srai	a3,a3,0x10
    2060:	4198                	lw	a4,0(a1)
    2062:	0406d263          	bgez	a3,20a6 <USART_Init+0xa6>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:169
    {
        integerdivider = ((25 * apbclock) / (2 * (USART_InitStruct->USART_BaudRate)));
    2066:	0706                	slli	a4,a4,0x1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:179
    }
    tmpreg = (integerdivider / 100) << 4;

    fractionaldivider = integerdivider - (100 * (tmpreg >> 4));

    if((USARTx->CTLR1 & CTLR1_OVER8_Set) != 0)
    2068:	2452                	lhu	a2,12(s0)
    206a:	0642                	slli	a2,a2,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:173
        integerdivider = ((25 * apbclock) / (4 * (USART_InitStruct->USART_BaudRate)));
    206c:	02e7d7b3          	divu	a5,a5,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:175
    tmpreg = (integerdivider / 100) << 4;
    2070:	06400713          	li	a4,100
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:179
    if((USARTx->CTLR1 & CTLR1_OVER8_Set) != 0)
    2074:	8641                	srai	a2,a2,0x10
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:175
    tmpreg = (integerdivider / 100) << 4;
    2076:	02e7d6b3          	divu	a3,a5,a4
    207a:	02e7f7b3          	remu	a5,a5,a4
    207e:	0692                	slli	a3,a3,0x4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:179
    if((USARTx->CTLR1 & CTLR1_OVER8_Set) != 0)
    2080:	02065563          	bgez	a2,20aa <USART_Init+0xaa>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:181
    {
        tmpreg |= ((((fractionaldivider * 8) + 50) / 100)) & ((uint8_t)0x07);
    2084:	078e                	slli	a5,a5,0x3
    2086:	03278793          	addi	a5,a5,50
    208a:	02e7d7b3          	divu	a5,a5,a4
    208e:	0077f713          	andi	a4,a5,7
    2092:	00d767b3          	or	a5,a4,a3
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:188
    else
    {
        tmpreg |= ((((fractionaldivider * 16) + 50) / 100)) & ((uint8_t)0x0F);
    }

    USARTx->BRR = (uint16_t)tmpreg;
    2096:	07c2                	slli	a5,a5,0x10
    2098:	83c1                	srli	a5,a5,0x10
    209a:	a41e                	sh	a5,8(s0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:189
}
    209c:	6145                	addi	sp,sp,48
    209e:	9b6fe06f          	j	254 <__riscv_restore_0>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:164
        apbclock = RCC_ClocksStatus.PCLK1_Frequency;
    20a2:	5792                	lw	a5,36(sp)
    20a4:	bf45                	j	2054 <USART_Init+0x54>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:173
        integerdivider = ((25 * apbclock) / (4 * (USART_InitStruct->USART_BaudRate)));
    20a6:	070a                	slli	a4,a4,0x2
    20a8:	b7c1                	j	2068 <USART_Init+0x68>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:185
        tmpreg |= ((((fractionaldivider * 16) + 50) / 100)) & ((uint8_t)0x0F);
    20aa:	0792                	slli	a5,a5,0x4
    20ac:	03278793          	addi	a5,a5,50
    20b0:	02e7d7b3          	divu	a5,a5,a4
    20b4:	8bbd                	andi	a5,a5,15
    20b6:	8fd5                	or	a5,a5,a3
    20b8:	bff9                	j	2096 <USART_Init+0x96>

000020ba <USART_Cmd>:
USART_Cmd():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:266
 *
 * @return  none
 */
void USART_Cmd(USART_TypeDef *USARTx, FunctionalState NewState)
{
    if(NewState != DISABLE)
    20ba:	c591                	beqz	a1,20c6 <USART_Cmd+0xc>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:268
    {
        USARTx->CTLR1 |= CTLR1_UE_Set;
    20bc:	255e                	lhu	a5,12(a0)
    20be:	6709                	lui	a4,0x2
    20c0:	8fd9                	or	a5,a5,a4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:272
    }
    else
    {
        USARTx->CTLR1 &= CTLR1_UE_Reset;
    20c2:	a55e                	sh	a5,12(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:274
    }
}
    20c4:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:272
        USARTx->CTLR1 &= CTLR1_UE_Reset;
    20c6:	255a                	lhu	a4,12(a0)
    20c8:	77f9                	lui	a5,0xffffe
    20ca:	17fd                	addi	a5,a5,-1
    20cc:	8ff9                	and	a5,a5,a4
    20ce:	bfd5                	j	20c2 <USART_Cmd+0x8>

000020d0 <USART_SendData>:
USART_SendData():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:461
 *
 * @return  none
 */
void USART_SendData(USART_TypeDef *USARTx, uint16_t Data)
{
    USARTx->DATAR = (Data & (uint16_t)0x01FF);
    20d0:	1ff5f593          	andi	a1,a1,511
    20d4:	a14e                	sh	a1,4(a0)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:462
}
    20d6:	8082                	ret

000020d8 <USART_GetFlagStatus>:
USART_GetFlagStatus():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:699
 */
FlagStatus USART_GetFlagStatus(USART_TypeDef *USARTx, uint16_t USART_FLAG)
{
    FlagStatus bitstatus = RESET;

    if((USARTx->STATR & USART_FLAG) != (uint16_t)RESET)
    20d8:	210a                	lhu	a0,0(a0)
    20da:	8d6d                	and	a0,a0,a1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Peripheral/src/ch32v30x_usart.c:708
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}
    20dc:	00a03533          	snez	a0,a0
    20e0:	8082                	ret

000020e2 <Delay_Init>:
Delay_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:27
 *
 * @return  none
 */
void Delay_Init(void)
{
    p_us = SystemCoreClock / 8000000;//默认为HCLK/8时基
    20e2:	8081a783          	lw	a5,-2040(gp) # 200000b0 <SystemCoreClock>
    20e6:	007a1737          	lui	a4,0x7a1
    20ea:	20070713          	addi	a4,a4,512 # 7a1200 <_data_lma+0x79d7fc>
    20ee:	02e7d7b3          	divu	a5,a5,a4
    20f2:	0ff7f793          	andi	a5,a5,255
    20f6:	86f18723          	sb	a5,-1938(gp) # 20000116 <p_us>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:28
    p_ms = (uint16_t)p_us * 1000;
    20fa:	3e800713          	li	a4,1000
    20fe:	02e787b3          	mul	a5,a5,a4
    2102:	86f19623          	sh	a5,-1940(gp) # 20000114 <p_ms>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:29
}
    2106:	8082                	ret

00002108 <Delay_Us>:
Delay_Us():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:44
 */
void Delay_Us(uint32_t n)
{
    uint32_t i;

    SysTick->SR &= ~(1 << 0);
    2108:	e000f7b7          	lui	a5,0xe000f
    210c:	43d8                	lw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:47
    i = (uint32_t)n * p_us;

    SysTick->CMP = i;
    210e:	4681                	li	a3,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:44
    SysTick->SR &= ~(1 << 0);
    2110:	9b79                	andi	a4,a4,-2
    2112:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:45
    i = (uint32_t)n * p_us;
    2114:	86e1c703          	lbu	a4,-1938(gp) # 20000116 <p_us>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:47
    SysTick->CMP = i;
    2118:	02a70633          	mul	a2,a4,a0
    211c:	cb90                	sw	a2,16(a5)
    211e:	cbd4                	sw	a3,20(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:48
    SysTick->CTLR |= (1 << 4);
    2120:	4398                	lw	a4,0(a5)
    2122:	01076713          	ori	a4,a4,16
    2126:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:49
    SysTick->CTLR |= (1 << 5) | (1 << 0);
    2128:	4398                	lw	a4,0(a5)
    212a:	02176713          	ori	a4,a4,33
    212e:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:51 (discriminator 1)

    while((SysTick->SR & (1 << 0)) != (1 << 0))
    2130:	43d8                	lw	a4,4(a5)
    2132:	8b05                	andi	a4,a4,1
    2134:	df75                	beqz	a4,2130 <Delay_Us+0x28>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:53
        ;
    SysTick->CTLR &= ~(1 << 0);
    2136:	4398                	lw	a4,0(a5)
    2138:	9b79                	andi	a4,a4,-2
    213a:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:54
}
    213c:	8082                	ret

0000213e <Delay_Ms>:
Delay_Ms():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:69
 */
void Delay_Ms(uint32_t n)
{
    uint32_t i;

    SysTick->SR &= ~(1 << 0);
    213e:	e000f7b7          	lui	a5,0xe000f
    2142:	43d8                	lw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:72
    i = (uint32_t)n * p_ms;

    SysTick->CMP = i;
    2144:	4681                	li	a3,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:69
    SysTick->SR &= ~(1 << 0);
    2146:	9b79                	andi	a4,a4,-2
    2148:	c3d8                	sw	a4,4(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:70
    i = (uint32_t)n * p_ms;
    214a:	86c1d703          	lhu	a4,-1940(gp) # 20000114 <p_ms>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:72
    SysTick->CMP = i;
    214e:	02a70633          	mul	a2,a4,a0
    2152:	cb90                	sw	a2,16(a5)
    2154:	cbd4                	sw	a3,20(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:73
    SysTick->CTLR |= (1 << 4);
    2156:	4398                	lw	a4,0(a5)
    2158:	01076713          	ori	a4,a4,16
    215c:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:74
    SysTick->CTLR |= (1 << 5) | (1 << 0);
    215e:	4398                	lw	a4,0(a5)
    2160:	02176713          	ori	a4,a4,33
    2164:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:76 (discriminator 1)

    while((SysTick->SR & (1 << 0)) != (1 << 0))
    2166:	43d8                	lw	a4,4(a5)
    2168:	8b05                	andi	a4,a4,1
    216a:	df75                	beqz	a4,2166 <Delay_Ms+0x28>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:78
        ;
    SysTick->CTLR &= ~(1 << 0);
    216c:	4398                	lw	a4,0(a5)
    216e:	9b79                	andi	a4,a4,-2
    2170:	c398                	sw	a4,0(a5)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:79
}
    2172:	8082                	ret

00002174 <USART_Printf_Init>:
USART_Printf_Init():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:91
 * @param   baudrate - USART communication baud rate.
 *
 * @return  None
 */
void USART_Printf_Init(uint32_t baudrate)
{
    2174:	8bcfe2ef          	jal	t0,230 <__riscv_save_0>
    2178:	842a                	mv	s0,a0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:96
    GPIO_InitTypeDef  GPIO_InitStructure;
    USART_InitTypeDef USART_InitStructure;

#if(DEBUG == DEBUG_UART1)
    RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1 | RCC_APB2Periph_GPIOA, ENABLE);
    217a:	6511                	lui	a0,0x4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:91
{
    217c:	1101                	addi	sp,sp,-32
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:96
    RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1 | RCC_APB2Periph_GPIOA, ENABLE);
    217e:	4585                	li	a1,1
    2180:	0511                	addi	a0,a0,4
    2182:	3bb1                	jal	1ede <RCC_APB2PeriphClockCmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:98

    GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9;
    2184:	20000793          	li	a5,512
    2188:	827c                	sh	a5,4(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:101
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
    GPIO_Init(GPIOA, &GPIO_InitStructure);
    218a:	40011537          	lui	a0,0x40011
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:99
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
    218e:	478d                	li	a5,3
    2190:	c43e                	sw	a5,8(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:101
    GPIO_Init(GPIOA, &GPIO_InitStructure);
    2192:	004c                	addi	a1,sp,4
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:100
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
    2194:	47e1                	li	a5,24
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:101
    GPIO_Init(GPIOA, &GPIO_InitStructure);
    2196:	80050513          	addi	a0,a0,-2048 # 40010800 <_eusrstack+0x1fff0800>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:100
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
    219a:	c63e                	sw	a5,12(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:101
    GPIO_Init(GPIOA, &GPIO_InitStructure);
    219c:	ae7ff0ef          	jal	ra,1c82 <GPIO_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:123
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
    GPIO_Init(GPIOB, &GPIO_InitStructure);

#endif

    USART_InitStructure.USART_BaudRate = baudrate;
    21a0:	c822                	sw	s0,16(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:131
    USART_InitStructure.USART_Parity = USART_Parity_No;
    USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
    USART_InitStructure.USART_Mode = USART_Mode_Tx;

#if(DEBUG == DEBUG_UART1)
    USART_Init(USART1, &USART_InitStructure);
    21a2:	40014437          	lui	s0,0x40014
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:126
    USART_InitStructure.USART_Parity = USART_Parity_No;
    21a6:	000807b7          	lui	a5,0x80
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:131
    USART_Init(USART1, &USART_InitStructure);
    21aa:	080c                	addi	a1,sp,16
    21ac:	80040513          	addi	a0,s0,-2048 # 40013800 <_eusrstack+0x1fff3800>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:126
    USART_InitStructure.USART_Parity = USART_Parity_No;
    21b0:	cc3e                	sw	a5,24(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:124
    USART_InitStructure.USART_WordLength = USART_WordLength_8b;
    21b2:	ca02                	sw	zero,20(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:127
    USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
    21b4:	00011e23          	sh	zero,28(sp)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:131
    USART_Init(USART1, &USART_InitStructure);
    21b8:	35a1                	jal	2000 <USART_Init>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:132
    USART_Cmd(USART1, ENABLE);
    21ba:	4585                	li	a1,1
    21bc:	80040513          	addi	a0,s0,-2048
    21c0:	3ded                	jal	20ba <USART_Cmd>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:143
#elif(DEBUG == DEBUG_UART3)
    USART_Init(USART3, &USART_InitStructure);
    USART_Cmd(USART3, ENABLE);

#endif
}
    21c2:	6105                	addi	sp,sp,32
    21c4:	890fe06f          	j	254 <__riscv_restore_0>

000021c8 <_write>:
_write():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:156
 *          size - Data length
 *
 * @return  size: Data length
 */
__attribute__((used)) int _write(int fd, char *buf, int size)
{
    21c8:	84efe2ef          	jal	t0,216 <__riscv_save_4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:162
    int i;

    for(i = 0; i < size; i++)
    {
#if(DEBUG == DEBUG_UART1)
        while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
    21cc:	400144b7          	lui	s1,0x40014
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:156
{
    21d0:	89ae                	mv	s3,a1
    21d2:	8932                	mv	s2,a2
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:159
    for(i = 0; i < size; i++)
    21d4:	4401                	li	s0,0
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:162
        while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
    21d6:	80048493          	addi	s1,s1,-2048 # 40013800 <_eusrstack+0x1fff3800>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:159 (discriminator 1)
    for(i = 0; i < size; i++)
    21da:	01244563          	blt	s0,s2,21e4 <_write+0x1c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:174
        USART_SendData(USART3, *buf++);
#endif
    }

    return size;
}
    21de:	854a                	mv	a0,s2
    21e0:	86afe06f          	j	24a <__riscv_restore_4>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:162 (discriminator 1)
        while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
    21e4:	04000593          	li	a1,64
    21e8:	8526                	mv	a0,s1
    21ea:	35fd                	jal	20d8 <USART_GetFlagStatus>
    21ec:	dd65                	beqz	a0,21e4 <_write+0x1c>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:163 (discriminator 2)
        USART_SendData(USART1, *buf++);
    21ee:	008987b3          	add	a5,s3,s0
    21f2:	00078583          	lb	a1,0(a5) # 80000 <_data_lma+0x7c5fc>
    21f6:	8526                	mv	a0,s1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:159 (discriminator 2)
    for(i = 0; i < size; i++)
    21f8:	0405                	addi	s0,s0,1
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:163 (discriminator 2)
        USART_SendData(USART1, *buf++);
    21fa:	05c2                	slli	a1,a1,0x10
    21fc:	81c1                	srli	a1,a1,0x10
    21fe:	3dc9                	jal	20d0 <USART_SendData>
    2200:	bfe9                	j	21da <_write+0x12>

00002202 <_sbrk>:
_sbrk():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:189
{
    extern char _end[];
    extern char _heap_end[];
    static char *curbrk = _end;

    if ((curbrk + incr < _end) || (curbrk + incr > _heap_end))
    2202:	81018713          	addi	a4,gp,-2032 # 200000b8 <curbrk.5535>
    2206:	431c                	lw	a5,0(a4)
    2208:	200026b7          	lui	a3,0x20002
    220c:	24468693          	addi	a3,a3,580 # 20002244 <_ebss>
    2210:	953e                	add	a0,a0,a5
    2212:	00d56b63          	bltu	a0,a3,2228 <_sbrk+0x26>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:189 (discriminator 1)
    2216:	200206b7          	lui	a3,0x20020
    221a:	80068693          	addi	a3,a3,-2048 # 2001f800 <_heap_end>
    221e:	00a6e563          	bltu	a3,a0,2228 <_sbrk+0x26>
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:192
    return NULL - 1;

    curbrk += incr;
    2222:	c308                	sw	a0,0(a4)
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:194
    return curbrk - incr;
}
    2224:	853e                	mv	a0,a5
    2226:	8082                	ret
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Debug/debug.c:190
    return NULL - 1;
    2228:	57fd                	li	a5,-1
    222a:	bfed                	j	2224 <_sbrk+0x22>

0000222c <__get_MEPC>:
__get_MEPC():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Core/core_riscv.c:248
 */
uint32_t __get_MEPC(void)
{
  uint32_t result;

  __ASM volatile ( "csrr %0," "mepc" : "=r" (result) );
    222c:	34102573          	csrr	a0,mepc
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Core/core_riscv.c:250
  return (result);
}
    2230:	8082                	ret

00002232 <__get_MCAUSE>:
__get_MCAUSE():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Core/core_riscv.c:275
 */
uint32_t __get_MCAUSE(void)
{
  uint32_t result;

  __ASM volatile ( "csrr %0," "mcause" : "=r" (result) );
    2232:	34202573          	csrr	a0,mcause
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Core/core_riscv.c:277
  return (result);
}
    2236:	8082                	ret

00002238 <__get_MTVAL>:
__get_MTVAL():
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Core/core_riscv.c:302
 */
uint32_t __get_MTVAL(void)
{
  uint32_t result;

  __ASM volatile ( "csrr %0," "mtval" : "=r" (result) );
    2238:	34302573          	csrr	a0,mtval
C:/Users/15165/Desktop/SPIFLASH_U-Disk DMA/Libraries/Core/core_riscv.c:304
  return (result);
}
    223c:	8082                	ret

0000223e <memcpy>:
memcpy():
    223e:	00a5c7b3          	xor	a5,a1,a0
    2242:	8b8d                	andi	a5,a5,3
    2244:	00c50733          	add	a4,a0,a2
    2248:	e781                	bnez	a5,2250 <memcpy+0x12>
    224a:	478d                	li	a5,3
    224c:	00c7ed63          	bltu	a5,a2,2266 <memcpy+0x28>
    2250:	87aa                	mv	a5,a0
    2252:	08e57e63          	bgeu	a0,a4,22ee <memcpy+0xb0>
    2256:	2194                	lbu	a3,0(a1)
    2258:	0785                	addi	a5,a5,1
    225a:	0585                	addi	a1,a1,1
    225c:	fed78fa3          	sb	a3,-1(a5)
    2260:	fee7ebe3          	bltu	a5,a4,2256 <memcpy+0x18>
    2264:	8082                	ret
    2266:	00357693          	andi	a3,a0,3
    226a:	87aa                	mv	a5,a0
    226c:	ca89                	beqz	a3,227e <memcpy+0x40>
    226e:	2194                	lbu	a3,0(a1)
    2270:	0785                	addi	a5,a5,1
    2272:	0585                	addi	a1,a1,1
    2274:	fed78fa3          	sb	a3,-1(a5)
    2278:	0037f693          	andi	a3,a5,3
    227c:	bfc5                	j	226c <memcpy+0x2e>
    227e:	ffc77693          	andi	a3,a4,-4
    2282:	fe068613          	addi	a2,a3,-32
    2286:	06c7f063          	bgeu	a5,a2,22e6 <memcpy+0xa8>
    228a:	0005a383          	lw	t2,0(a1) # 40021000 <_eusrstack+0x20001000>
    228e:	0045a283          	lw	t0,4(a1)
    2292:	0085af83          	lw	t6,8(a1)
    2296:	00c5af03          	lw	t5,12(a1)
    229a:	0105ae83          	lw	t4,16(a1)
    229e:	0145ae03          	lw	t3,20(a1)
    22a2:	0185a303          	lw	t1,24(a1)
    22a6:	01c5a883          	lw	a7,28(a1)
    22aa:	02458593          	addi	a1,a1,36
    22ae:	0077a023          	sw	t2,0(a5)
    22b2:	ffc5a803          	lw	a6,-4(a1)
    22b6:	0057a223          	sw	t0,4(a5)
    22ba:	01f7a423          	sw	t6,8(a5)
    22be:	01e7a623          	sw	t5,12(a5)
    22c2:	01d7a823          	sw	t4,16(a5)
    22c6:	01c7aa23          	sw	t3,20(a5)
    22ca:	0067ac23          	sw	t1,24(a5)
    22ce:	0117ae23          	sw	a7,28(a5)
    22d2:	02478793          	addi	a5,a5,36
    22d6:	ff07ae23          	sw	a6,-4(a5)
    22da:	b775                	j	2286 <memcpy+0x48>
    22dc:	4190                	lw	a2,0(a1)
    22de:	0791                	addi	a5,a5,4
    22e0:	0591                	addi	a1,a1,4
    22e2:	fec7ae23          	sw	a2,-4(a5)
    22e6:	fed7ebe3          	bltu	a5,a3,22dc <memcpy+0x9e>
    22ea:	f6e7e6e3          	bltu	a5,a4,2256 <memcpy+0x18>
    22ee:	8082                	ret

000022f0 <iprintf>:
printf():
    22f0:	7139                	addi	sp,sp,-64
    22f2:	da3e                	sw	a5,52(sp)
    22f4:	d22e                	sw	a1,36(sp)
    22f6:	d432                	sw	a2,40(sp)
    22f8:	d636                	sw	a3,44(sp)
    22fa:	d83a                	sw	a4,48(sp)
    22fc:	dc42                	sw	a6,56(sp)
    22fe:	de46                	sw	a7,60(sp)
    2300:	81418793          	addi	a5,gp,-2028 # 200000bc <_impure_ptr>
    2304:	cc22                	sw	s0,24(sp)
    2306:	4380                	lw	s0,0(a5)
    2308:	ca26                	sw	s1,20(sp)
    230a:	ce06                	sw	ra,28(sp)
    230c:	84aa                	mv	s1,a0
    230e:	c409                	beqz	s0,2318 <iprintf+0x28>
    2310:	4c1c                	lw	a5,24(s0)
    2312:	e399                	bnez	a5,2318 <iprintf+0x28>
    2314:	8522                	mv	a0,s0
    2316:	29ed                	jal	2810 <__sinit>
    2318:	440c                	lw	a1,8(s0)
    231a:	1054                	addi	a3,sp,36
    231c:	8626                	mv	a2,s1
    231e:	8522                	mv	a0,s0
    2320:	c636                	sw	a3,12(sp)
    2322:	127000ef          	jal	ra,2c48 <_vfiprintf_r>
    2326:	40f2                	lw	ra,28(sp)
    2328:	4462                	lw	s0,24(sp)
    232a:	44d2                	lw	s1,20(sp)
    232c:	6121                	addi	sp,sp,64
    232e:	8082                	ret

00002330 <_puts_r>:
_puts_r():
    2330:	1101                	addi	sp,sp,-32
    2332:	ca26                	sw	s1,20(sp)
    2334:	c84a                	sw	s2,16(sp)
    2336:	ce06                	sw	ra,28(sp)
    2338:	cc22                	sw	s0,24(sp)
    233a:	c64e                	sw	s3,12(sp)
    233c:	c452                	sw	s4,8(sp)
    233e:	84aa                	mv	s1,a0
    2340:	892e                	mv	s2,a1
    2342:	c501                	beqz	a0,234a <_puts_r+0x1a>
    2344:	4d1c                	lw	a5,24(a0)
    2346:	e391                	bnez	a5,234a <_puts_r+0x1a>
    2348:	21e1                	jal	2810 <__sinit>
    234a:	4c9c                	lw	a5,24(s1)
    234c:	4480                	lw	s0,8(s1)
    234e:	e399                	bnez	a5,2354 <_puts_r+0x24>
    2350:	8526                	mv	a0,s1
    2352:	297d                	jal	2810 <__sinit>
    2354:	00001797          	auipc	a5,0x1
    2358:	63478793          	addi	a5,a5,1588 # 3988 <__sf_fake_stdin>
    235c:	02f41b63          	bne	s0,a5,2392 <_puts_r+0x62>
    2360:	40c0                	lw	s0,4(s1)
    2362:	245e                	lhu	a5,12(s0)
    2364:	8ba1                	andi	a5,a5,8
    2366:	c7b1                	beqz	a5,23b2 <_puts_r+0x82>
    2368:	481c                	lw	a5,16(s0)
    236a:	c7a1                	beqz	a5,23b2 <_puts_r+0x82>
    236c:	59fd                	li	s3,-1
    236e:	4a29                	li	s4,10
    2370:	441c                	lw	a5,8(s0)
    2372:	00094583          	lbu	a1,0(s2)
    2376:	17fd                	addi	a5,a5,-1
    2378:	e9b1                	bnez	a1,23cc <_puts_r+0x9c>
    237a:	c41c                	sw	a5,8(s0)
    237c:	0607dd63          	bgez	a5,23f6 <_puts_r+0xc6>
    2380:	8622                	mv	a2,s0
    2382:	45a9                	li	a1,10
    2384:	8526                	mv	a0,s1
    2386:	2061                	jal	240e <__swbuf_r>
    2388:	57fd                	li	a5,-1
    238a:	02f50863          	beq	a0,a5,23ba <_puts_r+0x8a>
    238e:	4529                	li	a0,10
    2390:	a035                	j	23bc <_puts_r+0x8c>
    2392:	00001797          	auipc	a5,0x1
    2396:	61678793          	addi	a5,a5,1558 # 39a8 <__sf_fake_stdout>
    239a:	00f41463          	bne	s0,a5,23a2 <_puts_r+0x72>
    239e:	4480                	lw	s0,8(s1)
    23a0:	b7c9                	j	2362 <_puts_r+0x32>
    23a2:	00001797          	auipc	a5,0x1
    23a6:	5c678793          	addi	a5,a5,1478 # 3968 <__sf_fake_stderr>
    23aa:	faf41ce3          	bne	s0,a5,2362 <_puts_r+0x32>
    23ae:	44c0                	lw	s0,12(s1)
    23b0:	bf4d                	j	2362 <_puts_r+0x32>
    23b2:	85a2                	mv	a1,s0
    23b4:	8526                	mv	a0,s1
    23b6:	2a11                	jal	24ca <__swsetup_r>
    23b8:	d955                	beqz	a0,236c <_puts_r+0x3c>
    23ba:	557d                	li	a0,-1
    23bc:	40f2                	lw	ra,28(sp)
    23be:	4462                	lw	s0,24(sp)
    23c0:	44d2                	lw	s1,20(sp)
    23c2:	4942                	lw	s2,16(sp)
    23c4:	49b2                	lw	s3,12(sp)
    23c6:	4a22                	lw	s4,8(sp)
    23c8:	6105                	addi	sp,sp,32
    23ca:	8082                	ret
    23cc:	c41c                	sw	a5,8(s0)
    23ce:	0905                	addi	s2,s2,1
    23d0:	0007d763          	bgez	a5,23de <_puts_r+0xae>
    23d4:	4c18                	lw	a4,24(s0)
    23d6:	00e7ca63          	blt	a5,a4,23ea <_puts_r+0xba>
    23da:	01458863          	beq	a1,s4,23ea <_puts_r+0xba>
    23de:	401c                	lw	a5,0(s0)
    23e0:	00178713          	addi	a4,a5,1
    23e4:	c018                	sw	a4,0(s0)
    23e6:	a38c                	sb	a1,0(a5)
    23e8:	b761                	j	2370 <_puts_r+0x40>
    23ea:	8622                	mv	a2,s0
    23ec:	8526                	mv	a0,s1
    23ee:	2005                	jal	240e <__swbuf_r>
    23f0:	f93510e3          	bne	a0,s3,2370 <_puts_r+0x40>
    23f4:	b7d9                	j	23ba <_puts_r+0x8a>
    23f6:	401c                	lw	a5,0(s0)
    23f8:	00178713          	addi	a4,a5,1
    23fc:	c018                	sw	a4,0(s0)
    23fe:	4729                	li	a4,10
    2400:	a398                	sb	a4,0(a5)
    2402:	b771                	j	238e <_puts_r+0x5e>

00002404 <puts>:
puts():
    2404:	81418793          	addi	a5,gp,-2028 # 200000bc <_impure_ptr>
    2408:	85aa                	mv	a1,a0
    240a:	4388                	lw	a0,0(a5)
    240c:	b715                	j	2330 <_puts_r>

0000240e <__swbuf_r>:
__swbuf_r():
    240e:	1101                	addi	sp,sp,-32
    2410:	cc22                	sw	s0,24(sp)
    2412:	ca26                	sw	s1,20(sp)
    2414:	c84a                	sw	s2,16(sp)
    2416:	ce06                	sw	ra,28(sp)
    2418:	c64e                	sw	s3,12(sp)
    241a:	84aa                	mv	s1,a0
    241c:	892e                	mv	s2,a1
    241e:	8432                	mv	s0,a2
    2420:	c501                	beqz	a0,2428 <__swbuf_r+0x1a>
    2422:	4d1c                	lw	a5,24(a0)
    2424:	e391                	bnez	a5,2428 <__swbuf_r+0x1a>
    2426:	26ed                	jal	2810 <__sinit>
    2428:	00001797          	auipc	a5,0x1
    242c:	56078793          	addi	a5,a5,1376 # 3988 <__sf_fake_stdin>
    2430:	06f41763          	bne	s0,a5,249e <__swbuf_r+0x90>
    2434:	40c0                	lw	s0,4(s1)
    2436:	4c1c                	lw	a5,24(s0)
    2438:	c41c                	sw	a5,8(s0)
    243a:	245e                	lhu	a5,12(s0)
    243c:	8ba1                	andi	a5,a5,8
    243e:	c3c1                	beqz	a5,24be <__swbuf_r+0xb0>
    2440:	481c                	lw	a5,16(s0)
    2442:	cfb5                	beqz	a5,24be <__swbuf_r+0xb0>
    2444:	481c                	lw	a5,16(s0)
    2446:	4008                	lw	a0,0(s0)
    2448:	0ff97993          	andi	s3,s2,255
    244c:	0ff97913          	andi	s2,s2,255
    2450:	8d1d                	sub	a0,a0,a5
    2452:	485c                	lw	a5,20(s0)
    2454:	00f54663          	blt	a0,a5,2460 <__swbuf_r+0x52>
    2458:	85a2                	mv	a1,s0
    245a:	8526                	mv	a0,s1
    245c:	2c69                	jal	26f6 <_fflush_r>
    245e:	e525                	bnez	a0,24c6 <__swbuf_r+0xb8>
    2460:	441c                	lw	a5,8(s0)
    2462:	0505                	addi	a0,a0,1
    2464:	17fd                	addi	a5,a5,-1
    2466:	c41c                	sw	a5,8(s0)
    2468:	401c                	lw	a5,0(s0)
    246a:	00178713          	addi	a4,a5,1
    246e:	c018                	sw	a4,0(s0)
    2470:	01378023          	sb	s3,0(a5)
    2474:	485c                	lw	a5,20(s0)
    2476:	00a78863          	beq	a5,a0,2486 <__swbuf_r+0x78>
    247a:	245e                	lhu	a5,12(s0)
    247c:	8b85                	andi	a5,a5,1
    247e:	cb81                	beqz	a5,248e <__swbuf_r+0x80>
    2480:	47a9                	li	a5,10
    2482:	00f91663          	bne	s2,a5,248e <__swbuf_r+0x80>
    2486:	85a2                	mv	a1,s0
    2488:	8526                	mv	a0,s1
    248a:	24b5                	jal	26f6 <_fflush_r>
    248c:	ed0d                	bnez	a0,24c6 <__swbuf_r+0xb8>
    248e:	40f2                	lw	ra,28(sp)
    2490:	4462                	lw	s0,24(sp)
    2492:	854a                	mv	a0,s2
    2494:	44d2                	lw	s1,20(sp)
    2496:	4942                	lw	s2,16(sp)
    2498:	49b2                	lw	s3,12(sp)
    249a:	6105                	addi	sp,sp,32
    249c:	8082                	ret
    249e:	00001797          	auipc	a5,0x1
    24a2:	50a78793          	addi	a5,a5,1290 # 39a8 <__sf_fake_stdout>
    24a6:	00f41463          	bne	s0,a5,24ae <__swbuf_r+0xa0>
    24aa:	4480                	lw	s0,8(s1)
    24ac:	b769                	j	2436 <__swbuf_r+0x28>
    24ae:	00001797          	auipc	a5,0x1
    24b2:	4ba78793          	addi	a5,a5,1210 # 3968 <__sf_fake_stderr>
    24b6:	f8f410e3          	bne	s0,a5,2436 <__swbuf_r+0x28>
    24ba:	44c0                	lw	s0,12(s1)
    24bc:	bfad                	j	2436 <__swbuf_r+0x28>
    24be:	85a2                	mv	a1,s0
    24c0:	8526                	mv	a0,s1
    24c2:	2021                	jal	24ca <__swsetup_r>
    24c4:	d141                	beqz	a0,2444 <__swbuf_r+0x36>
    24c6:	597d                	li	s2,-1
    24c8:	b7d9                	j	248e <__swbuf_r+0x80>

000024ca <__swsetup_r>:
__swsetup_r():
    24ca:	1141                	addi	sp,sp,-16
    24cc:	81418793          	addi	a5,gp,-2028 # 200000bc <_impure_ptr>
    24d0:	c226                	sw	s1,4(sp)
    24d2:	4384                	lw	s1,0(a5)
    24d4:	c422                	sw	s0,8(sp)
    24d6:	c04a                	sw	s2,0(sp)
    24d8:	c606                	sw	ra,12(sp)
    24da:	892a                	mv	s2,a0
    24dc:	842e                	mv	s0,a1
    24de:	c489                	beqz	s1,24e8 <__swsetup_r+0x1e>
    24e0:	4c9c                	lw	a5,24(s1)
    24e2:	e399                	bnez	a5,24e8 <__swsetup_r+0x1e>
    24e4:	8526                	mv	a0,s1
    24e6:	262d                	jal	2810 <__sinit>
    24e8:	00001797          	auipc	a5,0x1
    24ec:	4a078793          	addi	a5,a5,1184 # 3988 <__sf_fake_stdin>
    24f0:	02f41b63          	bne	s0,a5,2526 <__swsetup_r+0x5c>
    24f4:	40c0                	lw	s0,4(s1)
    24f6:	00c41703          	lh	a4,12(s0)
    24fa:	01071793          	slli	a5,a4,0x10
    24fe:	83c1                	srli	a5,a5,0x10
    2500:	0087f693          	andi	a3,a5,8
    2504:	eaad                	bnez	a3,2576 <__swsetup_r+0xac>
    2506:	0107f693          	andi	a3,a5,16
    250a:	ee95                	bnez	a3,2546 <__swsetup_r+0x7c>
    250c:	47a5                	li	a5,9
    250e:	00f92023          	sw	a5,0(s2)
    2512:	04076713          	ori	a4,a4,64
    2516:	a45a                	sh	a4,12(s0)
    2518:	557d                	li	a0,-1
    251a:	40b2                	lw	ra,12(sp)
    251c:	4422                	lw	s0,8(sp)
    251e:	4492                	lw	s1,4(sp)
    2520:	4902                	lw	s2,0(sp)
    2522:	0141                	addi	sp,sp,16
    2524:	8082                	ret
    2526:	00001797          	auipc	a5,0x1
    252a:	48278793          	addi	a5,a5,1154 # 39a8 <__sf_fake_stdout>
    252e:	00f41463          	bne	s0,a5,2536 <__swsetup_r+0x6c>
    2532:	4480                	lw	s0,8(s1)
    2534:	b7c9                	j	24f6 <__swsetup_r+0x2c>
    2536:	00001797          	auipc	a5,0x1
    253a:	43278793          	addi	a5,a5,1074 # 3968 <__sf_fake_stderr>
    253e:	faf41ce3          	bne	s0,a5,24f6 <__swsetup_r+0x2c>
    2542:	44c0                	lw	s0,12(s1)
    2544:	bf4d                	j	24f6 <__swsetup_r+0x2c>
    2546:	8b91                	andi	a5,a5,4
    2548:	c39d                	beqz	a5,256e <__swsetup_r+0xa4>
    254a:	584c                	lw	a1,52(s0)
    254c:	c989                	beqz	a1,255e <__swsetup_r+0x94>
    254e:	04440793          	addi	a5,s0,68
    2552:	00f58463          	beq	a1,a5,255a <__swsetup_r+0x90>
    2556:	854a                	mv	a0,s2
    2558:	2331                	jal	2a64 <_free_r>
    255a:	02042a23          	sw	zero,52(s0)
    255e:	245e                	lhu	a5,12(s0)
    2560:	00042223          	sw	zero,4(s0)
    2564:	fdb7f793          	andi	a5,a5,-37
    2568:	a45e                	sh	a5,12(s0)
    256a:	481c                	lw	a5,16(s0)
    256c:	c01c                	sw	a5,0(s0)
    256e:	245e                	lhu	a5,12(s0)
    2570:	0087e793          	ori	a5,a5,8
    2574:	a45e                	sh	a5,12(s0)
    2576:	481c                	lw	a5,16(s0)
    2578:	eb99                	bnez	a5,258e <__swsetup_r+0xc4>
    257a:	245e                	lhu	a5,12(s0)
    257c:	20000713          	li	a4,512
    2580:	2807f793          	andi	a5,a5,640
    2584:	00e78563          	beq	a5,a4,258e <__swsetup_r+0xc4>
    2588:	85a2                	mv	a1,s0
    258a:	854a                	mv	a0,s2
    258c:	21a1                	jal	29d4 <__smakebuf_r>
    258e:	245e                	lhu	a5,12(s0)
    2590:	0017f713          	andi	a4,a5,1
    2594:	c31d                	beqz	a4,25ba <__swsetup_r+0xf0>
    2596:	485c                	lw	a5,20(s0)
    2598:	00042423          	sw	zero,8(s0)
    259c:	40f007b3          	neg	a5,a5
    25a0:	cc1c                	sw	a5,24(s0)
    25a2:	481c                	lw	a5,16(s0)
    25a4:	4501                	li	a0,0
    25a6:	fbb5                	bnez	a5,251a <__swsetup_r+0x50>
    25a8:	00c41783          	lh	a5,12(s0)
    25ac:	0807f713          	andi	a4,a5,128
    25b0:	d72d                	beqz	a4,251a <__swsetup_r+0x50>
    25b2:	0407e793          	ori	a5,a5,64
    25b6:	a45e                	sh	a5,12(s0)
    25b8:	b785                	j	2518 <__swsetup_r+0x4e>
    25ba:	8b89                	andi	a5,a5,2
    25bc:	4701                	li	a4,0
    25be:	e391                	bnez	a5,25c2 <__swsetup_r+0xf8>
    25c0:	4858                	lw	a4,20(s0)
    25c2:	c418                	sw	a4,8(s0)
    25c4:	bff9                	j	25a2 <__swsetup_r+0xd8>

000025c6 <__sflush_r>:
__sflush_r():
    25c6:	25de                	lhu	a5,12(a1)
    25c8:	1101                	addi	sp,sp,-32
    25ca:	cc22                	sw	s0,24(sp)
    25cc:	ca26                	sw	s1,20(sp)
    25ce:	ce06                	sw	ra,28(sp)
    25d0:	c84a                	sw	s2,16(sp)
    25d2:	c64e                	sw	s3,12(sp)
    25d4:	0087f713          	andi	a4,a5,8
    25d8:	84aa                	mv	s1,a0
    25da:	842e                	mv	s0,a1
    25dc:	eb79                	bnez	a4,26b2 <__sflush_r+0xec>
    25de:	41d8                	lw	a4,4(a1)
    25e0:	00e04d63          	bgtz	a4,25fa <__sflush_r+0x34>
    25e4:	41b8                	lw	a4,64(a1)
    25e6:	00e04a63          	bgtz	a4,25fa <__sflush_r+0x34>
    25ea:	4501                	li	a0,0
    25ec:	40f2                	lw	ra,28(sp)
    25ee:	4462                	lw	s0,24(sp)
    25f0:	44d2                	lw	s1,20(sp)
    25f2:	4942                	lw	s2,16(sp)
    25f4:	49b2                	lw	s3,12(sp)
    25f6:	6105                	addi	sp,sp,32
    25f8:	8082                	ret
    25fa:	5458                	lw	a4,44(s0)
    25fc:	d77d                	beqz	a4,25ea <__sflush_r+0x24>
    25fe:	0004a903          	lw	s2,0(s1)
    2602:	01379693          	slli	a3,a5,0x13
    2606:	0004a023          	sw	zero,0(s1)
    260a:	0606db63          	bgez	a3,2680 <__sflush_r+0xba>
    260e:	4870                	lw	a2,84(s0)
    2610:	245e                	lhu	a5,12(s0)
    2612:	8b91                	andi	a5,a5,4
    2614:	c799                	beqz	a5,2622 <__sflush_r+0x5c>
    2616:	405c                	lw	a5,4(s0)
    2618:	8e1d                	sub	a2,a2,a5
    261a:	585c                	lw	a5,52(s0)
    261c:	c399                	beqz	a5,2622 <__sflush_r+0x5c>
    261e:	403c                	lw	a5,64(s0)
    2620:	8e1d                	sub	a2,a2,a5
    2622:	545c                	lw	a5,44(s0)
    2624:	500c                	lw	a1,32(s0)
    2626:	4681                	li	a3,0
    2628:	8526                	mv	a0,s1
    262a:	9782                	jalr	a5
    262c:	57fd                	li	a5,-1
    262e:	245a                	lhu	a4,12(s0)
    2630:	00f51d63          	bne	a0,a5,264a <__sflush_r+0x84>
    2634:	4094                	lw	a3,0(s1)
    2636:	47f5                	li	a5,29
    2638:	06d7e863          	bltu	a5,a3,26a8 <__sflush_r+0xe2>
    263c:	204007b7          	lui	a5,0x20400
    2640:	0785                	addi	a5,a5,1
    2642:	00d7d7b3          	srl	a5,a5,a3
    2646:	8b85                	andi	a5,a5,1
    2648:	c3a5                	beqz	a5,26a8 <__sflush_r+0xe2>
    264a:	481c                	lw	a5,16(s0)
    264c:	00042223          	sw	zero,4(s0)
    2650:	c01c                	sw	a5,0(s0)
    2652:	01371793          	slli	a5,a4,0x13
    2656:	0007d863          	bgez	a5,2666 <__sflush_r+0xa0>
    265a:	57fd                	li	a5,-1
    265c:	00f51463          	bne	a0,a5,2664 <__sflush_r+0x9e>
    2660:	409c                	lw	a5,0(s1)
    2662:	e391                	bnez	a5,2666 <__sflush_r+0xa0>
    2664:	c868                	sw	a0,84(s0)
    2666:	584c                	lw	a1,52(s0)
    2668:	0124a023          	sw	s2,0(s1)
    266c:	ddbd                	beqz	a1,25ea <__sflush_r+0x24>
    266e:	04440793          	addi	a5,s0,68
    2672:	00f58463          	beq	a1,a5,267a <__sflush_r+0xb4>
    2676:	8526                	mv	a0,s1
    2678:	26f5                	jal	2a64 <_free_r>
    267a:	02042a23          	sw	zero,52(s0)
    267e:	b7b5                	j	25ea <__sflush_r+0x24>
    2680:	500c                	lw	a1,32(s0)
    2682:	4601                	li	a2,0
    2684:	4685                	li	a3,1
    2686:	8526                	mv	a0,s1
    2688:	9702                	jalr	a4
    268a:	57fd                	li	a5,-1
    268c:	862a                	mv	a2,a0
    268e:	f8f511e3          	bne	a0,a5,2610 <__sflush_r+0x4a>
    2692:	409c                	lw	a5,0(s1)
    2694:	dfb5                	beqz	a5,2610 <__sflush_r+0x4a>
    2696:	4775                	li	a4,29
    2698:	00e78563          	beq	a5,a4,26a2 <__sflush_r+0xdc>
    269c:	4759                	li	a4,22
    269e:	04e79363          	bne	a5,a4,26e4 <__sflush_r+0x11e>
    26a2:	0124a023          	sw	s2,0(s1)
    26a6:	b791                	j	25ea <__sflush_r+0x24>
    26a8:	04076713          	ori	a4,a4,64
    26ac:	a45a                	sh	a4,12(s0)
    26ae:	557d                	li	a0,-1
    26b0:	bf35                	j	25ec <__sflush_r+0x26>
    26b2:	0105a983          	lw	s3,16(a1)
    26b6:	f2098ae3          	beqz	s3,25ea <__sflush_r+0x24>
    26ba:	0005a903          	lw	s2,0(a1)
    26be:	8b8d                	andi	a5,a5,3
    26c0:	0135a023          	sw	s3,0(a1)
    26c4:	41390933          	sub	s2,s2,s3
    26c8:	4701                	li	a4,0
    26ca:	e391                	bnez	a5,26ce <__sflush_r+0x108>
    26cc:	49d8                	lw	a4,20(a1)
    26ce:	c418                	sw	a4,8(s0)
    26d0:	f1205de3          	blez	s2,25ea <__sflush_r+0x24>
    26d4:	541c                	lw	a5,40(s0)
    26d6:	500c                	lw	a1,32(s0)
    26d8:	86ca                	mv	a3,s2
    26da:	864e                	mv	a2,s3
    26dc:	8526                	mv	a0,s1
    26de:	9782                	jalr	a5
    26e0:	00a04763          	bgtz	a0,26ee <__sflush_r+0x128>
    26e4:	245e                	lhu	a5,12(s0)
    26e6:	0407e793          	ori	a5,a5,64
    26ea:	a45e                	sh	a5,12(s0)
    26ec:	b7c9                	j	26ae <__sflush_r+0xe8>
    26ee:	99aa                	add	s3,s3,a0
    26f0:	40a90933          	sub	s2,s2,a0
    26f4:	bff1                	j	26d0 <__sflush_r+0x10a>

000026f6 <_fflush_r>:
_fflush_r():
    26f6:	499c                	lw	a5,16(a1)
    26f8:	cfb9                	beqz	a5,2756 <_fflush_r+0x60>
    26fa:	1101                	addi	sp,sp,-32
    26fc:	cc22                	sw	s0,24(sp)
    26fe:	ce06                	sw	ra,28(sp)
    2700:	842a                	mv	s0,a0
    2702:	c511                	beqz	a0,270e <_fflush_r+0x18>
    2704:	4d1c                	lw	a5,24(a0)
    2706:	e781                	bnez	a5,270e <_fflush_r+0x18>
    2708:	c62e                	sw	a1,12(sp)
    270a:	2219                	jal	2810 <__sinit>
    270c:	45b2                	lw	a1,12(sp)
    270e:	00001797          	auipc	a5,0x1
    2712:	27a78793          	addi	a5,a5,634 # 3988 <__sf_fake_stdin>
    2716:	00f59b63          	bne	a1,a5,272c <_fflush_r+0x36>
    271a:	404c                	lw	a1,4(s0)
    271c:	00c59783          	lh	a5,12(a1)
    2720:	c795                	beqz	a5,274c <_fflush_r+0x56>
    2722:	8522                	mv	a0,s0
    2724:	4462                	lw	s0,24(sp)
    2726:	40f2                	lw	ra,28(sp)
    2728:	6105                	addi	sp,sp,32
    272a:	bd71                	j	25c6 <__sflush_r>
    272c:	00001797          	auipc	a5,0x1
    2730:	27c78793          	addi	a5,a5,636 # 39a8 <__sf_fake_stdout>
    2734:	00f59463          	bne	a1,a5,273c <_fflush_r+0x46>
    2738:	440c                	lw	a1,8(s0)
    273a:	b7cd                	j	271c <_fflush_r+0x26>
    273c:	00001797          	auipc	a5,0x1
    2740:	22c78793          	addi	a5,a5,556 # 3968 <__sf_fake_stderr>
    2744:	fcf59ce3          	bne	a1,a5,271c <_fflush_r+0x26>
    2748:	444c                	lw	a1,12(s0)
    274a:	bfc9                	j	271c <_fflush_r+0x26>
    274c:	40f2                	lw	ra,28(sp)
    274e:	4462                	lw	s0,24(sp)
    2750:	4501                	li	a0,0
    2752:	6105                	addi	sp,sp,32
    2754:	8082                	ret
    2756:	4501                	li	a0,0
    2758:	8082                	ret

0000275a <std>:
std():
    275a:	1141                	addi	sp,sp,-16
    275c:	c422                	sw	s0,8(sp)
    275e:	c606                	sw	ra,12(sp)
    2760:	842a                	mv	s0,a0
    2762:	a54e                	sh	a1,12(a0)
    2764:	a572                	sh	a2,14(a0)
    2766:	00052023          	sw	zero,0(a0)
    276a:	00052223          	sw	zero,4(a0)
    276e:	00052423          	sw	zero,8(a0)
    2772:	06052223          	sw	zero,100(a0)
    2776:	00052823          	sw	zero,16(a0)
    277a:	00052a23          	sw	zero,20(a0)
    277e:	00052c23          	sw	zero,24(a0)
    2782:	4621                	li	a2,8
    2784:	4581                	li	a1,0
    2786:	05c50513          	addi	a0,a0,92
    278a:	ad7fd0ef          	jal	ra,260 <memset>
    278e:	00001797          	auipc	a5,0x1
    2792:	b2078793          	addi	a5,a5,-1248 # 32ae <__sread>
    2796:	d05c                	sw	a5,36(s0)
    2798:	00001797          	auipc	a5,0x1
    279c:	b4278793          	addi	a5,a5,-1214 # 32da <__swrite>
    27a0:	d41c                	sw	a5,40(s0)
    27a2:	00001797          	auipc	a5,0x1
    27a6:	b8078793          	addi	a5,a5,-1152 # 3322 <__sseek>
    27aa:	d45c                	sw	a5,44(s0)
    27ac:	00001797          	auipc	a5,0x1
    27b0:	ba678793          	addi	a5,a5,-1114 # 3352 <__sclose>
    27b4:	d000                	sw	s0,32(s0)
    27b6:	d81c                	sw	a5,48(s0)
    27b8:	40b2                	lw	ra,12(sp)
    27ba:	4422                	lw	s0,8(sp)
    27bc:	0141                	addi	sp,sp,16
    27be:	8082                	ret

000027c0 <_cleanup_r>:
_cleanup_r():
    27c0:	00000597          	auipc	a1,0x0
    27c4:	f3658593          	addi	a1,a1,-202 # 26f6 <_fflush_r>
    27c8:	a2a9                	j	2912 <_fwalk_reent>

000027ca <__sfmoreglue>:
__sfmoreglue():
    27ca:	1141                	addi	sp,sp,-16
    27cc:	c226                	sw	s1,4(sp)
    27ce:	06800613          	li	a2,104
    27d2:	fff58493          	addi	s1,a1,-1
    27d6:	02c484b3          	mul	s1,s1,a2
    27da:	c04a                	sw	s2,0(sp)
    27dc:	892e                	mv	s2,a1
    27de:	c422                	sw	s0,8(sp)
    27e0:	c606                	sw	ra,12(sp)
    27e2:	07448593          	addi	a1,s1,116
    27e6:	261d                	jal	2b0c <_malloc_r>
    27e8:	842a                	mv	s0,a0
    27ea:	cd01                	beqz	a0,2802 <__sfmoreglue+0x38>
    27ec:	00052023          	sw	zero,0(a0)
    27f0:	01252223          	sw	s2,4(a0)
    27f4:	0531                	addi	a0,a0,12
    27f6:	c408                	sw	a0,8(s0)
    27f8:	06848613          	addi	a2,s1,104
    27fc:	4581                	li	a1,0
    27fe:	a63fd0ef          	jal	ra,260 <memset>
    2802:	8522                	mv	a0,s0
    2804:	40b2                	lw	ra,12(sp)
    2806:	4422                	lw	s0,8(sp)
    2808:	4492                	lw	s1,4(sp)
    280a:	4902                	lw	s2,0(sp)
    280c:	0141                	addi	sp,sp,16
    280e:	8082                	ret

00002810 <__sinit>:
__sinit():
    2810:	4d1c                	lw	a5,24(a0)
    2812:	e3ad                	bnez	a5,2874 <__sinit+0x64>
    2814:	1141                	addi	sp,sp,-16
    2816:	c606                	sw	ra,12(sp)
    2818:	c422                	sw	s0,8(sp)
    281a:	00000797          	auipc	a5,0x0
    281e:	fa678793          	addi	a5,a5,-90 # 27c0 <_cleanup_r>
    2822:	d51c                	sw	a5,40(a0)
    2824:	82418793          	addi	a5,gp,-2012 # 200000cc <_global_impure_ptr>
    2828:	439c                	lw	a5,0(a5)
    282a:	04052423          	sw	zero,72(a0)
    282e:	04052623          	sw	zero,76(a0)
    2832:	04052823          	sw	zero,80(a0)
    2836:	00f51463          	bne	a0,a5,283e <__sinit+0x2e>
    283a:	4785                	li	a5,1
    283c:	cd1c                	sw	a5,24(a0)
    283e:	842a                	mv	s0,a0
    2840:	281d                	jal	2876 <__sfp>
    2842:	c048                	sw	a0,4(s0)
    2844:	8522                	mv	a0,s0
    2846:	2805                	jal	2876 <__sfp>
    2848:	c408                	sw	a0,8(s0)
    284a:	8522                	mv	a0,s0
    284c:	202d                	jal	2876 <__sfp>
    284e:	c448                	sw	a0,12(s0)
    2850:	4048                	lw	a0,4(s0)
    2852:	4601                	li	a2,0
    2854:	4591                	li	a1,4
    2856:	3711                	jal	275a <std>
    2858:	4408                	lw	a0,8(s0)
    285a:	4605                	li	a2,1
    285c:	45a5                	li	a1,9
    285e:	3df5                	jal	275a <std>
    2860:	4448                	lw	a0,12(s0)
    2862:	4609                	li	a2,2
    2864:	45c9                	li	a1,18
    2866:	3dd5                	jal	275a <std>
    2868:	4785                	li	a5,1
    286a:	cc1c                	sw	a5,24(s0)
    286c:	40b2                	lw	ra,12(sp)
    286e:	4422                	lw	s0,8(sp)
    2870:	0141                	addi	sp,sp,16
    2872:	8082                	ret
    2874:	8082                	ret

00002876 <__sfp>:
__sfp():
    2876:	1141                	addi	sp,sp,-16
    2878:	82418793          	addi	a5,gp,-2012 # 200000cc <_global_impure_ptr>
    287c:	c226                	sw	s1,4(sp)
    287e:	4384                	lw	s1,0(a5)
    2880:	c04a                	sw	s2,0(sp)
    2882:	c606                	sw	ra,12(sp)
    2884:	4c9c                	lw	a5,24(s1)
    2886:	c422                	sw	s0,8(sp)
    2888:	892a                	mv	s2,a0
    288a:	e399                	bnez	a5,2890 <__sfp+0x1a>
    288c:	8526                	mv	a0,s1
    288e:	3749                	jal	2810 <__sinit>
    2890:	04848493          	addi	s1,s1,72
    2894:	4480                	lw	s0,8(s1)
    2896:	40dc                	lw	a5,4(s1)
    2898:	17fd                	addi	a5,a5,-1
    289a:	0007d663          	bgez	a5,28a6 <__sfp+0x30>
    289e:	409c                	lw	a5,0(s1)
    28a0:	cfb9                	beqz	a5,28fe <__sfp+0x88>
    28a2:	4084                	lw	s1,0(s1)
    28a4:	bfc5                	j	2894 <__sfp+0x1e>
    28a6:	00c41703          	lh	a4,12(s0)
    28aa:	e739                	bnez	a4,28f8 <__sfp+0x82>
    28ac:	77c1                	lui	a5,0xffff0
    28ae:	0785                	addi	a5,a5,1
    28b0:	06042223          	sw	zero,100(s0)
    28b4:	00042023          	sw	zero,0(s0)
    28b8:	00042223          	sw	zero,4(s0)
    28bc:	00042423          	sw	zero,8(s0)
    28c0:	c45c                	sw	a5,12(s0)
    28c2:	00042823          	sw	zero,16(s0)
    28c6:	00042a23          	sw	zero,20(s0)
    28ca:	00042c23          	sw	zero,24(s0)
    28ce:	4621                	li	a2,8
    28d0:	4581                	li	a1,0
    28d2:	05c40513          	addi	a0,s0,92
    28d6:	98bfd0ef          	jal	ra,260 <memset>
    28da:	02042a23          	sw	zero,52(s0)
    28de:	02042c23          	sw	zero,56(s0)
    28e2:	04042423          	sw	zero,72(s0)
    28e6:	04042623          	sw	zero,76(s0)
    28ea:	8522                	mv	a0,s0
    28ec:	40b2                	lw	ra,12(sp)
    28ee:	4422                	lw	s0,8(sp)
    28f0:	4492                	lw	s1,4(sp)
    28f2:	4902                	lw	s2,0(sp)
    28f4:	0141                	addi	sp,sp,16
    28f6:	8082                	ret
    28f8:	06840413          	addi	s0,s0,104
    28fc:	bf71                	j	2898 <__sfp+0x22>
    28fe:	4591                	li	a1,4
    2900:	854a                	mv	a0,s2
    2902:	35e1                	jal	27ca <__sfmoreglue>
    2904:	c088                	sw	a0,0(s1)
    2906:	fd51                	bnez	a0,28a2 <__sfp+0x2c>
    2908:	47b1                	li	a5,12
    290a:	00f92023          	sw	a5,0(s2)
    290e:	4401                	li	s0,0
    2910:	bfe9                	j	28ea <__sfp+0x74>

00002912 <_fwalk_reent>:
_fwalk_reent():
    2912:	7179                	addi	sp,sp,-48
    2914:	d422                	sw	s0,40(sp)
    2916:	d04a                	sw	s2,32(sp)
    2918:	cc52                	sw	s4,24(sp)
    291a:	ca56                	sw	s5,20(sp)
    291c:	c85a                	sw	s6,16(sp)
    291e:	c65e                	sw	s7,12(sp)
    2920:	d606                	sw	ra,44(sp)
    2922:	d226                	sw	s1,36(sp)
    2924:	ce4e                	sw	s3,28(sp)
    2926:	8a2a                	mv	s4,a0
    2928:	8aae                	mv	s5,a1
    292a:	04850413          	addi	s0,a0,72
    292e:	4901                	li	s2,0
    2930:	4b05                	li	s6,1
    2932:	5bfd                	li	s7,-1
    2934:	ec09                	bnez	s0,294e <_fwalk_reent+0x3c>
    2936:	50b2                	lw	ra,44(sp)
    2938:	5422                	lw	s0,40(sp)
    293a:	854a                	mv	a0,s2
    293c:	5492                	lw	s1,36(sp)
    293e:	5902                	lw	s2,32(sp)
    2940:	49f2                	lw	s3,28(sp)
    2942:	4a62                	lw	s4,24(sp)
    2944:	4ad2                	lw	s5,20(sp)
    2946:	4b42                	lw	s6,16(sp)
    2948:	4bb2                	lw	s7,12(sp)
    294a:	6145                	addi	sp,sp,48
    294c:	8082                	ret
    294e:	4404                	lw	s1,8(s0)
    2950:	00442983          	lw	s3,4(s0)
    2954:	19fd                	addi	s3,s3,-1
    2956:	0009d463          	bgez	s3,295e <_fwalk_reent+0x4c>
    295a:	4000                	lw	s0,0(s0)
    295c:	bfe1                	j	2934 <_fwalk_reent+0x22>
    295e:	24de                	lhu	a5,12(s1)
    2960:	00fb7b63          	bgeu	s6,a5,2976 <_fwalk_reent+0x64>
    2964:	00e49783          	lh	a5,14(s1)
    2968:	01778763          	beq	a5,s7,2976 <_fwalk_reent+0x64>
    296c:	85a6                	mv	a1,s1
    296e:	8552                	mv	a0,s4
    2970:	9a82                	jalr	s5
    2972:	00a96933          	or	s2,s2,a0
    2976:	06848493          	addi	s1,s1,104
    297a:	bfe9                	j	2954 <_fwalk_reent+0x42>

0000297c <__swhatbuf_r>:
__swhatbuf_r():
    297c:	7119                	addi	sp,sp,-128
    297e:	daa6                	sw	s1,116(sp)
    2980:	84ae                	mv	s1,a1
    2982:	00e59583          	lh	a1,14(a1)
    2986:	dca2                	sw	s0,120(sp)
    2988:	de86                	sw	ra,124(sp)
    298a:	8432                	mv	s0,a2
    298c:	0005db63          	bgez	a1,29a2 <__swhatbuf_r+0x26>
    2990:	24de                	lhu	a5,12(s1)
    2992:	0006a023          	sw	zero,0(a3)
    2996:	0807f793          	andi	a5,a5,128
    299a:	e785                	bnez	a5,29c2 <__swhatbuf_r+0x46>
    299c:	40000793          	li	a5,1024
    29a0:	a01d                	j	29c6 <__swhatbuf_r+0x4a>
    29a2:	0830                	addi	a2,sp,24
    29a4:	c636                	sw	a3,12(sp)
    29a6:	219000ef          	jal	ra,33be <_fstat_r>
    29aa:	46b2                	lw	a3,12(sp)
    29ac:	fe0542e3          	bltz	a0,2990 <__swhatbuf_r+0x14>
    29b0:	4772                	lw	a4,28(sp)
    29b2:	67bd                	lui	a5,0xf
    29b4:	8ff9                	and	a5,a5,a4
    29b6:	7779                	lui	a4,0xffffe
    29b8:	97ba                	add	a5,a5,a4
    29ba:	0017b793          	seqz	a5,a5
    29be:	c29c                	sw	a5,0(a3)
    29c0:	bff1                	j	299c <__swhatbuf_r+0x20>
    29c2:	04000793          	li	a5,64
    29c6:	c01c                	sw	a5,0(s0)
    29c8:	50f6                	lw	ra,124(sp)
    29ca:	5466                	lw	s0,120(sp)
    29cc:	54d6                	lw	s1,116(sp)
    29ce:	4501                	li	a0,0
    29d0:	6109                	addi	sp,sp,128
    29d2:	8082                	ret

000029d4 <__smakebuf_r>:
__smakebuf_r():
    29d4:	25de                	lhu	a5,12(a1)
    29d6:	1101                	addi	sp,sp,-32
    29d8:	cc22                	sw	s0,24(sp)
    29da:	ce06                	sw	ra,28(sp)
    29dc:	ca26                	sw	s1,20(sp)
    29de:	c84a                	sw	s2,16(sp)
    29e0:	8b89                	andi	a5,a5,2
    29e2:	842e                	mv	s0,a1
    29e4:	cf89                	beqz	a5,29fe <__smakebuf_r+0x2a>
    29e6:	04740793          	addi	a5,s0,71
    29ea:	c01c                	sw	a5,0(s0)
    29ec:	c81c                	sw	a5,16(s0)
    29ee:	4785                	li	a5,1
    29f0:	c85c                	sw	a5,20(s0)
    29f2:	40f2                	lw	ra,28(sp)
    29f4:	4462                	lw	s0,24(sp)
    29f6:	44d2                	lw	s1,20(sp)
    29f8:	4942                	lw	s2,16(sp)
    29fa:	6105                	addi	sp,sp,32
    29fc:	8082                	ret
    29fe:	0074                	addi	a3,sp,12
    2a00:	0030                	addi	a2,sp,8
    2a02:	84aa                	mv	s1,a0
    2a04:	3fa5                	jal	297c <__swhatbuf_r>
    2a06:	45a2                	lw	a1,8(sp)
    2a08:	892a                	mv	s2,a0
    2a0a:	8526                	mv	a0,s1
    2a0c:	2201                	jal	2b0c <_malloc_r>
    2a0e:	e919                	bnez	a0,2a24 <__smakebuf_r+0x50>
    2a10:	00c41783          	lh	a5,12(s0)
    2a14:	2007f713          	andi	a4,a5,512
    2a18:	ff69                	bnez	a4,29f2 <__smakebuf_r+0x1e>
    2a1a:	9bf1                	andi	a5,a5,-4
    2a1c:	0027e793          	ori	a5,a5,2
    2a20:	a45e                	sh	a5,12(s0)
    2a22:	b7d1                	j	29e6 <__smakebuf_r+0x12>
    2a24:	00000797          	auipc	a5,0x0
    2a28:	d9c78793          	addi	a5,a5,-612 # 27c0 <_cleanup_r>
    2a2c:	d49c                	sw	a5,40(s1)
    2a2e:	245e                	lhu	a5,12(s0)
    2a30:	c008                	sw	a0,0(s0)
    2a32:	c808                	sw	a0,16(s0)
    2a34:	0807e793          	ori	a5,a5,128
    2a38:	a45e                	sh	a5,12(s0)
    2a3a:	47a2                	lw	a5,8(sp)
    2a3c:	c85c                	sw	a5,20(s0)
    2a3e:	47b2                	lw	a5,12(sp)
    2a40:	cf81                	beqz	a5,2a58 <__smakebuf_r+0x84>
    2a42:	00e41583          	lh	a1,14(s0)
    2a46:	8526                	mv	a0,s1
    2a48:	1a9000ef          	jal	ra,33f0 <_isatty_r>
    2a4c:	c511                	beqz	a0,2a58 <__smakebuf_r+0x84>
    2a4e:	245e                	lhu	a5,12(s0)
    2a50:	9bf1                	andi	a5,a5,-4
    2a52:	0017e793          	ori	a5,a5,1
    2a56:	a45e                	sh	a5,12(s0)
    2a58:	245e                	lhu	a5,12(s0)
    2a5a:	00f96933          	or	s2,s2,a5
    2a5e:	01241623          	sh	s2,12(s0)
    2a62:	bf41                	j	29f2 <__smakebuf_r+0x1e>

00002a64 <_free_r>:
_free_r():
    2a64:	c1dd                	beqz	a1,2b0a <_free_r+0xa6>
    2a66:	ffc5a783          	lw	a5,-4(a1)
    2a6a:	1141                	addi	sp,sp,-16
    2a6c:	c422                	sw	s0,8(sp)
    2a6e:	c606                	sw	ra,12(sp)
    2a70:	c226                	sw	s1,4(sp)
    2a72:	ffc58413          	addi	s0,a1,-4
    2a76:	0007d363          	bgez	a5,2a7c <_free_r+0x18>
    2a7a:	943e                	add	s0,s0,a5
    2a7c:	84aa                	mv	s1,a0
    2a7e:	1ef000ef          	jal	ra,346c <__malloc_lock>
    2a82:	87018793          	addi	a5,gp,-1936 # 20000118 <__malloc_free_list>
    2a86:	439c                	lw	a5,0(a5)
    2a88:	ef81                	bnez	a5,2aa0 <_free_r+0x3c>
    2a8a:	00042223          	sw	zero,4(s0)
    2a8e:	8681a823          	sw	s0,-1936(gp) # 20000118 <__malloc_free_list>
    2a92:	4422                	lw	s0,8(sp)
    2a94:	40b2                	lw	ra,12(sp)
    2a96:	8526                	mv	a0,s1
    2a98:	4492                	lw	s1,4(sp)
    2a9a:	0141                	addi	sp,sp,16
    2a9c:	1d30006f          	j	346e <__malloc_unlock>
    2aa0:	00f47e63          	bgeu	s0,a5,2abc <_free_r+0x58>
    2aa4:	4014                	lw	a3,0(s0)
    2aa6:	00d40733          	add	a4,s0,a3
    2aaa:	00e79663          	bne	a5,a4,2ab6 <_free_r+0x52>
    2aae:	4398                	lw	a4,0(a5)
    2ab0:	43dc                	lw	a5,4(a5)
    2ab2:	9736                	add	a4,a4,a3
    2ab4:	c018                	sw	a4,0(s0)
    2ab6:	c05c                	sw	a5,4(s0)
    2ab8:	bfd9                	j	2a8e <_free_r+0x2a>
    2aba:	87ba                	mv	a5,a4
    2abc:	43d8                	lw	a4,4(a5)
    2abe:	c319                	beqz	a4,2ac4 <_free_r+0x60>
    2ac0:	fee47de3          	bgeu	s0,a4,2aba <_free_r+0x56>
    2ac4:	4394                	lw	a3,0(a5)
    2ac6:	00d78633          	add	a2,a5,a3
    2aca:	00861f63          	bne	a2,s0,2ae8 <_free_r+0x84>
    2ace:	4010                	lw	a2,0(s0)
    2ad0:	96b2                	add	a3,a3,a2
    2ad2:	c394                	sw	a3,0(a5)
    2ad4:	00d78633          	add	a2,a5,a3
    2ad8:	fac71de3          	bne	a4,a2,2a92 <_free_r+0x2e>
    2adc:	4310                	lw	a2,0(a4)
    2ade:	4358                	lw	a4,4(a4)
    2ae0:	96b2                	add	a3,a3,a2
    2ae2:	c394                	sw	a3,0(a5)
    2ae4:	c3d8                	sw	a4,4(a5)
    2ae6:	b775                	j	2a92 <_free_r+0x2e>
    2ae8:	00c47563          	bgeu	s0,a2,2af2 <_free_r+0x8e>
    2aec:	47b1                	li	a5,12
    2aee:	c09c                	sw	a5,0(s1)
    2af0:	b74d                	j	2a92 <_free_r+0x2e>
    2af2:	4010                	lw	a2,0(s0)
    2af4:	00c406b3          	add	a3,s0,a2
    2af8:	00d71663          	bne	a4,a3,2b04 <_free_r+0xa0>
    2afc:	4314                	lw	a3,0(a4)
    2afe:	4358                	lw	a4,4(a4)
    2b00:	96b2                	add	a3,a3,a2
    2b02:	c014                	sw	a3,0(s0)
    2b04:	c058                	sw	a4,4(s0)
    2b06:	c3c0                	sw	s0,4(a5)
    2b08:	b769                	j	2a92 <_free_r+0x2e>
    2b0a:	8082                	ret

00002b0c <_malloc_r>:
_malloc_r():
    2b0c:	1101                	addi	sp,sp,-32
    2b0e:	ca26                	sw	s1,20(sp)
    2b10:	00358493          	addi	s1,a1,3
    2b14:	98f1                	andi	s1,s1,-4
    2b16:	ce06                	sw	ra,28(sp)
    2b18:	cc22                	sw	s0,24(sp)
    2b1a:	c84a                	sw	s2,16(sp)
    2b1c:	c64e                	sw	s3,12(sp)
    2b1e:	04a1                	addi	s1,s1,8
    2b20:	47b1                	li	a5,12
    2b22:	04f4f363          	bgeu	s1,a5,2b68 <_malloc_r+0x5c>
    2b26:	44b1                	li	s1,12
    2b28:	04b4e263          	bltu	s1,a1,2b6c <_malloc_r+0x60>
    2b2c:	892a                	mv	s2,a0
    2b2e:	13f000ef          	jal	ra,346c <__malloc_lock>
    2b32:	87018793          	addi	a5,gp,-1936 # 20000118 <__malloc_free_list>
    2b36:	4398                	lw	a4,0(a5)
    2b38:	843a                	mv	s0,a4
    2b3a:	e039                	bnez	s0,2b80 <_malloc_r+0x74>
    2b3c:	87418793          	addi	a5,gp,-1932 # 2000011c <__malloc_sbrk_start>
    2b40:	439c                	lw	a5,0(a5)
    2b42:	e791                	bnez	a5,2b4e <_malloc_r+0x42>
    2b44:	4581                	li	a1,0
    2b46:	854a                	mv	a0,s2
    2b48:	2f15                	jal	327c <_sbrk_r>
    2b4a:	86a1aa23          	sw	a0,-1932(gp) # 2000011c <__malloc_sbrk_start>
    2b4e:	85a6                	mv	a1,s1
    2b50:	854a                	mv	a0,s2
    2b52:	272d                	jal	327c <_sbrk_r>
    2b54:	59fd                	li	s3,-1
    2b56:	07351963          	bne	a0,s3,2bc8 <_malloc_r+0xbc>
    2b5a:	47b1                	li	a5,12
    2b5c:	00f92023          	sw	a5,0(s2)
    2b60:	854a                	mv	a0,s2
    2b62:	10d000ef          	jal	ra,346e <__malloc_unlock>
    2b66:	a029                	j	2b70 <_malloc_r+0x64>
    2b68:	fc04d0e3          	bgez	s1,2b28 <_malloc_r+0x1c>
    2b6c:	47b1                	li	a5,12
    2b6e:	c11c                	sw	a5,0(a0)
    2b70:	4501                	li	a0,0
    2b72:	40f2                	lw	ra,28(sp)
    2b74:	4462                	lw	s0,24(sp)
    2b76:	44d2                	lw	s1,20(sp)
    2b78:	4942                	lw	s2,16(sp)
    2b7a:	49b2                	lw	s3,12(sp)
    2b7c:	6105                	addi	sp,sp,32
    2b7e:	8082                	ret
    2b80:	401c                	lw	a5,0(s0)
    2b82:	8f85                	sub	a5,a5,s1
    2b84:	0207cf63          	bltz	a5,2bc2 <_malloc_r+0xb6>
    2b88:	46ad                	li	a3,11
    2b8a:	00f6f663          	bgeu	a3,a5,2b96 <_malloc_r+0x8a>
    2b8e:	c01c                	sw	a5,0(s0)
    2b90:	943e                	add	s0,s0,a5
    2b92:	c004                	sw	s1,0(s0)
    2b94:	a031                	j	2ba0 <_malloc_r+0x94>
    2b96:	405c                	lw	a5,4(s0)
    2b98:	02871363          	bne	a4,s0,2bbe <_malloc_r+0xb2>
    2b9c:	86f1a823          	sw	a5,-1936(gp) # 20000118 <__malloc_free_list>
    2ba0:	854a                	mv	a0,s2
    2ba2:	0cd000ef          	jal	ra,346e <__malloc_unlock>
    2ba6:	00b40513          	addi	a0,s0,11
    2baa:	00440793          	addi	a5,s0,4
    2bae:	9961                	andi	a0,a0,-8
    2bb0:	40f50733          	sub	a4,a0,a5
    2bb4:	df5d                	beqz	a4,2b72 <_malloc_r+0x66>
    2bb6:	943a                	add	s0,s0,a4
    2bb8:	8f89                	sub	a5,a5,a0
    2bba:	c01c                	sw	a5,0(s0)
    2bbc:	bf5d                	j	2b72 <_malloc_r+0x66>
    2bbe:	c35c                	sw	a5,4(a4)
    2bc0:	b7c5                	j	2ba0 <_malloc_r+0x94>
    2bc2:	8722                	mv	a4,s0
    2bc4:	4040                	lw	s0,4(s0)
    2bc6:	bf95                	j	2b3a <_malloc_r+0x2e>
    2bc8:	00350413          	addi	s0,a0,3
    2bcc:	9871                	andi	s0,s0,-4
    2bce:	fc8502e3          	beq	a0,s0,2b92 <_malloc_r+0x86>
    2bd2:	40a405b3          	sub	a1,s0,a0
    2bd6:	854a                	mv	a0,s2
    2bd8:	2555                	jal	327c <_sbrk_r>
    2bda:	fb351ce3          	bne	a0,s3,2b92 <_malloc_r+0x86>
    2bde:	bfb5                	j	2b5a <_malloc_r+0x4e>

00002be0 <__sfputc_r>:
__sfputc_r():
    2be0:	461c                	lw	a5,8(a2)
    2be2:	17fd                	addi	a5,a5,-1
    2be4:	c61c                	sw	a5,8(a2)
    2be6:	0007da63          	bgez	a5,2bfa <__sfputc_r+0x1a>
    2bea:	4e18                	lw	a4,24(a2)
    2bec:	00e7c563          	blt	a5,a4,2bf6 <__sfputc_r+0x16>
    2bf0:	47a9                	li	a5,10
    2bf2:	00f59463          	bne	a1,a5,2bfa <__sfputc_r+0x1a>
    2bf6:	819ff06f          	j	240e <__swbuf_r>
    2bfa:	421c                	lw	a5,0(a2)
    2bfc:	852e                	mv	a0,a1
    2bfe:	00178713          	addi	a4,a5,1
    2c02:	c218                	sw	a4,0(a2)
    2c04:	a38c                	sb	a1,0(a5)
    2c06:	8082                	ret

00002c08 <__sfputs_r>:
__sfputs_r():
    2c08:	1101                	addi	sp,sp,-32
    2c0a:	cc22                	sw	s0,24(sp)
    2c0c:	ca26                	sw	s1,20(sp)
    2c0e:	c84a                	sw	s2,16(sp)
    2c10:	c64e                	sw	s3,12(sp)
    2c12:	c452                	sw	s4,8(sp)
    2c14:	ce06                	sw	ra,28(sp)
    2c16:	892a                	mv	s2,a0
    2c18:	89ae                	mv	s3,a1
    2c1a:	8432                	mv	s0,a2
    2c1c:	00d604b3          	add	s1,a2,a3
    2c20:	5a7d                	li	s4,-1
    2c22:	00941463          	bne	s0,s1,2c2a <__sfputs_r+0x22>
    2c26:	4501                	li	a0,0
    2c28:	a801                	j	2c38 <__sfputs_r+0x30>
    2c2a:	200c                	lbu	a1,0(s0)
    2c2c:	864e                	mv	a2,s3
    2c2e:	854a                	mv	a0,s2
    2c30:	3f45                	jal	2be0 <__sfputc_r>
    2c32:	0405                	addi	s0,s0,1
    2c34:	ff4517e3          	bne	a0,s4,2c22 <__sfputs_r+0x1a>
    2c38:	40f2                	lw	ra,28(sp)
    2c3a:	4462                	lw	s0,24(sp)
    2c3c:	44d2                	lw	s1,20(sp)
    2c3e:	4942                	lw	s2,16(sp)
    2c40:	49b2                	lw	s3,12(sp)
    2c42:	4a22                	lw	s4,8(sp)
    2c44:	6105                	addi	sp,sp,32
    2c46:	8082                	ret

00002c48 <_vfiprintf_r>:
_vfiprintf_r():
    2c48:	7135                	addi	sp,sp,-160
    2c4a:	cd22                	sw	s0,152(sp)
    2c4c:	cb26                	sw	s1,148(sp)
    2c4e:	c94a                	sw	s2,144(sp)
    2c50:	c74e                	sw	s3,140(sp)
    2c52:	cf06                	sw	ra,156(sp)
    2c54:	c552                	sw	s4,136(sp)
    2c56:	c356                	sw	s5,132(sp)
    2c58:	c15a                	sw	s6,128(sp)
    2c5a:	dede                	sw	s7,124(sp)
    2c5c:	dce2                	sw	s8,120(sp)
    2c5e:	dae6                	sw	s9,116(sp)
    2c60:	89aa                	mv	s3,a0
    2c62:	84ae                	mv	s1,a1
    2c64:	8932                	mv	s2,a2
    2c66:	8436                	mv	s0,a3
    2c68:	c509                	beqz	a0,2c72 <_vfiprintf_r+0x2a>
    2c6a:	4d1c                	lw	a5,24(a0)
    2c6c:	e399                	bnez	a5,2c72 <_vfiprintf_r+0x2a>
    2c6e:	ba3ff0ef          	jal	ra,2810 <__sinit>
    2c72:	00001797          	auipc	a5,0x1
    2c76:	d1678793          	addi	a5,a5,-746 # 3988 <__sf_fake_stdin>
    2c7a:	0cf49763          	bne	s1,a5,2d48 <_vfiprintf_r+0x100>
    2c7e:	0049a483          	lw	s1,4(s3)
    2c82:	24de                	lhu	a5,12(s1)
    2c84:	8ba1                	andi	a5,a5,8
    2c86:	c3fd                	beqz	a5,2d6c <_vfiprintf_r+0x124>
    2c88:	489c                	lw	a5,16(s1)
    2c8a:	c3ed                	beqz	a5,2d6c <_vfiprintf_r+0x124>
    2c8c:	02000793          	li	a5,32
    2c90:	02f104a3          	sb	a5,41(sp)
    2c94:	03000793          	li	a5,48
    2c98:	d202                	sw	zero,36(sp)
    2c9a:	02f10523          	sb	a5,42(sp)
    2c9e:	c622                	sw	s0,12(sp)
    2ca0:	02500b93          	li	s7,37
    2ca4:	00001a97          	auipc	s5,0x1
    2ca8:	d24a8a93          	addi	s5,s5,-732 # 39c8 <__sf_fake_stdout+0x20>
    2cac:	4c05                	li	s8,1
    2cae:	4b29                	li	s6,10
    2cb0:	844a                	mv	s0,s2
    2cb2:	201c                	lbu	a5,0(s0)
    2cb4:	c399                	beqz	a5,2cba <_vfiprintf_r+0x72>
    2cb6:	0d779e63          	bne	a5,s7,2d92 <_vfiprintf_r+0x14a>
    2cba:	41240cb3          	sub	s9,s0,s2
    2cbe:	000c8d63          	beqz	s9,2cd8 <_vfiprintf_r+0x90>
    2cc2:	86e6                	mv	a3,s9
    2cc4:	864a                	mv	a2,s2
    2cc6:	85a6                	mv	a1,s1
    2cc8:	854e                	mv	a0,s3
    2cca:	3f3d                	jal	2c08 <__sfputs_r>
    2ccc:	57fd                	li	a5,-1
    2cce:	1cf50f63          	beq	a0,a5,2eac <_vfiprintf_r+0x264>
    2cd2:	5692                	lw	a3,36(sp)
    2cd4:	96e6                	add	a3,a3,s9
    2cd6:	d236                	sw	a3,36(sp)
    2cd8:	201c                	lbu	a5,0(s0)
    2cda:	1c078963          	beqz	a5,2eac <_vfiprintf_r+0x264>
    2cde:	57fd                	li	a5,-1
    2ce0:	00140913          	addi	s2,s0,1
    2ce4:	c802                	sw	zero,16(sp)
    2ce6:	ce02                	sw	zero,28(sp)
    2ce8:	ca3e                	sw	a5,20(sp)
    2cea:	cc02                	sw	zero,24(sp)
    2cec:	040109a3          	sb	zero,83(sp)
    2cf0:	d482                	sw	zero,104(sp)
    2cf2:	00094583          	lbu	a1,0(s2)
    2cf6:	4615                	li	a2,5
    2cf8:	8556                	mv	a0,s5
    2cfa:	2fa9                	jal	3454 <memchr>
    2cfc:	00190413          	addi	s0,s2,1
    2d00:	47c2                	lw	a5,16(sp)
    2d02:	e951                	bnez	a0,2d96 <_vfiprintf_r+0x14e>
    2d04:	0107f713          	andi	a4,a5,16
    2d08:	c709                	beqz	a4,2d12 <_vfiprintf_r+0xca>
    2d0a:	02000713          	li	a4,32
    2d0e:	04e109a3          	sb	a4,83(sp)
    2d12:	0087f713          	andi	a4,a5,8
    2d16:	c709                	beqz	a4,2d20 <_vfiprintf_r+0xd8>
    2d18:	02b00713          	li	a4,43
    2d1c:	04e109a3          	sb	a4,83(sp)
    2d20:	00094683          	lbu	a3,0(s2)
    2d24:	02a00713          	li	a4,42
    2d28:	06e68f63          	beq	a3,a4,2da6 <_vfiprintf_r+0x15e>
    2d2c:	47f2                	lw	a5,28(sp)
    2d2e:	844a                	mv	s0,s2
    2d30:	4681                	li	a3,0
    2d32:	4625                	li	a2,9
    2d34:	2018                	lbu	a4,0(s0)
    2d36:	00140593          	addi	a1,s0,1
    2d3a:	fd070713          	addi	a4,a4,-48 # ffffdfd0 <_eusrstack+0xdffddfd0>
    2d3e:	0ae67763          	bgeu	a2,a4,2dec <_vfiprintf_r+0x1a4>
    2d42:	cab5                	beqz	a3,2db6 <_vfiprintf_r+0x16e>
    2d44:	ce3e                	sw	a5,28(sp)
    2d46:	a885                	j	2db6 <_vfiprintf_r+0x16e>
    2d48:	00001797          	auipc	a5,0x1
    2d4c:	c6078793          	addi	a5,a5,-928 # 39a8 <__sf_fake_stdout>
    2d50:	00f49563          	bne	s1,a5,2d5a <_vfiprintf_r+0x112>
    2d54:	0089a483          	lw	s1,8(s3)
    2d58:	b72d                	j	2c82 <_vfiprintf_r+0x3a>
    2d5a:	00001797          	auipc	a5,0x1
    2d5e:	c0e78793          	addi	a5,a5,-1010 # 3968 <__sf_fake_stderr>
    2d62:	f2f490e3          	bne	s1,a5,2c82 <_vfiprintf_r+0x3a>
    2d66:	00c9a483          	lw	s1,12(s3)
    2d6a:	bf21                	j	2c82 <_vfiprintf_r+0x3a>
    2d6c:	85a6                	mv	a1,s1
    2d6e:	854e                	mv	a0,s3
    2d70:	f5aff0ef          	jal	ra,24ca <__swsetup_r>
    2d74:	dd01                	beqz	a0,2c8c <_vfiprintf_r+0x44>
    2d76:	557d                	li	a0,-1
    2d78:	40fa                	lw	ra,156(sp)
    2d7a:	446a                	lw	s0,152(sp)
    2d7c:	44da                	lw	s1,148(sp)
    2d7e:	494a                	lw	s2,144(sp)
    2d80:	49ba                	lw	s3,140(sp)
    2d82:	4a2a                	lw	s4,136(sp)
    2d84:	4a9a                	lw	s5,132(sp)
    2d86:	4b0a                	lw	s6,128(sp)
    2d88:	5bf6                	lw	s7,124(sp)
    2d8a:	5c66                	lw	s8,120(sp)
    2d8c:	5cd6                	lw	s9,116(sp)
    2d8e:	610d                	addi	sp,sp,160
    2d90:	8082                	ret
    2d92:	0405                	addi	s0,s0,1
    2d94:	bf39                	j	2cb2 <_vfiprintf_r+0x6a>
    2d96:	41550533          	sub	a0,a0,s5
    2d9a:	00ac1533          	sll	a0,s8,a0
    2d9e:	8fc9                	or	a5,a5,a0
    2da0:	c83e                	sw	a5,16(sp)
    2da2:	8922                	mv	s2,s0
    2da4:	b7b9                	j	2cf2 <_vfiprintf_r+0xaa>
    2da6:	4732                	lw	a4,12(sp)
    2da8:	00470693          	addi	a3,a4,4
    2dac:	4318                	lw	a4,0(a4)
    2dae:	c636                	sw	a3,12(sp)
    2db0:	02074763          	bltz	a4,2dde <_vfiprintf_r+0x196>
    2db4:	ce3a                	sw	a4,28(sp)
    2db6:	2018                	lbu	a4,0(s0)
    2db8:	02e00793          	li	a5,46
    2dbc:	04f71d63          	bne	a4,a5,2e16 <_vfiprintf_r+0x1ce>
    2dc0:	3018                	lbu	a4,1(s0)
    2dc2:	02a00793          	li	a5,42
    2dc6:	02f71b63          	bne	a4,a5,2dfc <_vfiprintf_r+0x1b4>
    2dca:	47b2                	lw	a5,12(sp)
    2dcc:	0409                	addi	s0,s0,2
    2dce:	00478713          	addi	a4,a5,4
    2dd2:	439c                	lw	a5,0(a5)
    2dd4:	c63a                	sw	a4,12(sp)
    2dd6:	0207c163          	bltz	a5,2df8 <_vfiprintf_r+0x1b0>
    2dda:	ca3e                	sw	a5,20(sp)
    2ddc:	a82d                	j	2e16 <_vfiprintf_r+0x1ce>
    2dde:	40e00733          	neg	a4,a4
    2de2:	0027e793          	ori	a5,a5,2
    2de6:	ce3a                	sw	a4,28(sp)
    2de8:	c83e                	sw	a5,16(sp)
    2dea:	b7f1                	j	2db6 <_vfiprintf_r+0x16e>
    2dec:	036787b3          	mul	a5,a5,s6
    2df0:	4685                	li	a3,1
    2df2:	842e                	mv	s0,a1
    2df4:	97ba                	add	a5,a5,a4
    2df6:	bf3d                	j	2d34 <_vfiprintf_r+0xec>
    2df8:	57fd                	li	a5,-1
    2dfa:	b7c5                	j	2dda <_vfiprintf_r+0x192>
    2dfc:	0405                	addi	s0,s0,1
    2dfe:	ca02                	sw	zero,20(sp)
    2e00:	4681                	li	a3,0
    2e02:	4781                	li	a5,0
    2e04:	4625                	li	a2,9
    2e06:	2018                	lbu	a4,0(s0)
    2e08:	00140593          	addi	a1,s0,1
    2e0c:	fd070713          	addi	a4,a4,-48
    2e10:	06e67463          	bgeu	a2,a4,2e78 <_vfiprintf_r+0x230>
    2e14:	f2f9                	bnez	a3,2dda <_vfiprintf_r+0x192>
    2e16:	200c                	lbu	a1,0(s0)
    2e18:	460d                	li	a2,3
    2e1a:	00001517          	auipc	a0,0x1
    2e1e:	bb650513          	addi	a0,a0,-1098 # 39d0 <__sf_fake_stdout+0x28>
    2e22:	2d0d                	jal	3454 <memchr>
    2e24:	cd11                	beqz	a0,2e40 <_vfiprintf_r+0x1f8>
    2e26:	00001797          	auipc	a5,0x1
    2e2a:	baa78793          	addi	a5,a5,-1110 # 39d0 <__sf_fake_stdout+0x28>
    2e2e:	8d1d                	sub	a0,a0,a5
    2e30:	04000793          	li	a5,64
    2e34:	00a797b3          	sll	a5,a5,a0
    2e38:	4542                	lw	a0,16(sp)
    2e3a:	0405                	addi	s0,s0,1
    2e3c:	8d5d                	or	a0,a0,a5
    2e3e:	c82a                	sw	a0,16(sp)
    2e40:	200c                	lbu	a1,0(s0)
    2e42:	4619                	li	a2,6
    2e44:	00001517          	auipc	a0,0x1
    2e48:	b9050513          	addi	a0,a0,-1136 # 39d4 <__sf_fake_stdout+0x2c>
    2e4c:	00140913          	addi	s2,s0,1
    2e50:	02b10423          	sb	a1,40(sp)
    2e54:	2501                	jal	3454 <memchr>
    2e56:	c135                	beqz	a0,2eba <_vfiprintf_r+0x272>
    2e58:	ffffd797          	auipc	a5,0xffffd
    2e5c:	1a878793          	addi	a5,a5,424 # 0 <_sinit>
    2e60:	e795                	bnez	a5,2e8c <_vfiprintf_r+0x244>
    2e62:	4742                	lw	a4,16(sp)
    2e64:	47b2                	lw	a5,12(sp)
    2e66:	10077713          	andi	a4,a4,256
    2e6a:	cf09                	beqz	a4,2e84 <_vfiprintf_r+0x23c>
    2e6c:	0791                	addi	a5,a5,4
    2e6e:	c63e                	sw	a5,12(sp)
    2e70:	5792                	lw	a5,36(sp)
    2e72:	97d2                	add	a5,a5,s4
    2e74:	d23e                	sw	a5,36(sp)
    2e76:	bd2d                	j	2cb0 <_vfiprintf_r+0x68>
    2e78:	036787b3          	mul	a5,a5,s6
    2e7c:	4685                	li	a3,1
    2e7e:	842e                	mv	s0,a1
    2e80:	97ba                	add	a5,a5,a4
    2e82:	b751                	j	2e06 <_vfiprintf_r+0x1be>
    2e84:	079d                	addi	a5,a5,7
    2e86:	9be1                	andi	a5,a5,-8
    2e88:	07a1                	addi	a5,a5,8
    2e8a:	b7d5                	j	2e6e <_vfiprintf_r+0x226>
    2e8c:	0078                	addi	a4,sp,12
    2e8e:	00000697          	auipc	a3,0x0
    2e92:	d7a68693          	addi	a3,a3,-646 # 2c08 <__sfputs_r>
    2e96:	8626                	mv	a2,s1
    2e98:	080c                	addi	a1,sp,16
    2e9a:	854e                	mv	a0,s3
    2e9c:	00000097          	auipc	ra,0x0
    2ea0:	000000e7          	jalr	zero # 0 <_sinit>
    2ea4:	57fd                	li	a5,-1
    2ea6:	8a2a                	mv	s4,a0
    2ea8:	fcf514e3          	bne	a0,a5,2e70 <_vfiprintf_r+0x228>
    2eac:	24de                	lhu	a5,12(s1)
    2eae:	0407f793          	andi	a5,a5,64
    2eb2:	ec0792e3          	bnez	a5,2d76 <_vfiprintf_r+0x12e>
    2eb6:	5512                	lw	a0,36(sp)
    2eb8:	b5c1                	j	2d78 <_vfiprintf_r+0x130>
    2eba:	0078                	addi	a4,sp,12
    2ebc:	00000697          	auipc	a3,0x0
    2ec0:	d4c68693          	addi	a3,a3,-692 # 2c08 <__sfputs_r>
    2ec4:	8626                	mv	a2,s1
    2ec6:	080c                	addi	a1,sp,16
    2ec8:	854e                	mv	a0,s3
    2eca:	2a01                	jal	2fda <_printf_i>
    2ecc:	bfe1                	j	2ea4 <_vfiprintf_r+0x25c>

00002ece <_printf_common>:
_printf_common():
    2ece:	7179                	addi	sp,sp,-48
    2ed0:	ca56                	sw	s5,20(sp)
    2ed2:	499c                	lw	a5,16(a1)
    2ed4:	8aba                	mv	s5,a4
    2ed6:	4598                	lw	a4,8(a1)
    2ed8:	d422                	sw	s0,40(sp)
    2eda:	d226                	sw	s1,36(sp)
    2edc:	ce4e                	sw	s3,28(sp)
    2ede:	cc52                	sw	s4,24(sp)
    2ee0:	d606                	sw	ra,44(sp)
    2ee2:	d04a                	sw	s2,32(sp)
    2ee4:	c85a                	sw	s6,16(sp)
    2ee6:	c65e                	sw	s7,12(sp)
    2ee8:	89aa                	mv	s3,a0
    2eea:	842e                	mv	s0,a1
    2eec:	84b2                	mv	s1,a2
    2eee:	8a36                	mv	s4,a3
    2ef0:	00e7d363          	bge	a5,a4,2ef6 <_printf_common+0x28>
    2ef4:	87ba                	mv	a5,a4
    2ef6:	c09c                	sw	a5,0(s1)
    2ef8:	04344703          	lbu	a4,67(s0)
    2efc:	c319                	beqz	a4,2f02 <_printf_common+0x34>
    2efe:	0785                	addi	a5,a5,1
    2f00:	c09c                	sw	a5,0(s1)
    2f02:	401c                	lw	a5,0(s0)
    2f04:	0207f793          	andi	a5,a5,32
    2f08:	c781                	beqz	a5,2f10 <_printf_common+0x42>
    2f0a:	409c                	lw	a5,0(s1)
    2f0c:	0789                	addi	a5,a5,2
    2f0e:	c09c                	sw	a5,0(s1)
    2f10:	00042903          	lw	s2,0(s0)
    2f14:	00697913          	andi	s2,s2,6
    2f18:	00091a63          	bnez	s2,2f2c <_printf_common+0x5e>
    2f1c:	01940b13          	addi	s6,s0,25
    2f20:	5bfd                	li	s7,-1
    2f22:	445c                	lw	a5,12(s0)
    2f24:	4098                	lw	a4,0(s1)
    2f26:	8f99                	sub	a5,a5,a4
    2f28:	04f94c63          	blt	s2,a5,2f80 <_printf_common+0xb2>
    2f2c:	401c                	lw	a5,0(s0)
    2f2e:	04344683          	lbu	a3,67(s0)
    2f32:	0207f793          	andi	a5,a5,32
    2f36:	00d036b3          	snez	a3,a3
    2f3a:	eba5                	bnez	a5,2faa <_printf_common+0xdc>
    2f3c:	04340613          	addi	a2,s0,67
    2f40:	85d2                	mv	a1,s4
    2f42:	854e                	mv	a0,s3
    2f44:	9a82                	jalr	s5
    2f46:	57fd                	li	a5,-1
    2f48:	04f50363          	beq	a0,a5,2f8e <_printf_common+0xc0>
    2f4c:	401c                	lw	a5,0(s0)
    2f4e:	4611                	li	a2,4
    2f50:	4098                	lw	a4,0(s1)
    2f52:	8b99                	andi	a5,a5,6
    2f54:	4454                	lw	a3,12(s0)
    2f56:	4481                	li	s1,0
    2f58:	00c79763          	bne	a5,a2,2f66 <_printf_common+0x98>
    2f5c:	40e684b3          	sub	s1,a3,a4
    2f60:	0004d363          	bgez	s1,2f66 <_printf_common+0x98>
    2f64:	4481                	li	s1,0
    2f66:	441c                	lw	a5,8(s0)
    2f68:	4818                	lw	a4,16(s0)
    2f6a:	00f75463          	bge	a4,a5,2f72 <_printf_common+0xa4>
    2f6e:	8f99                	sub	a5,a5,a4
    2f70:	94be                	add	s1,s1,a5
    2f72:	4901                	li	s2,0
    2f74:	0469                	addi	s0,s0,26
    2f76:	5b7d                	li	s6,-1
    2f78:	05249863          	bne	s1,s2,2fc8 <_printf_common+0xfa>
    2f7c:	4501                	li	a0,0
    2f7e:	a809                	j	2f90 <_printf_common+0xc2>
    2f80:	4685                	li	a3,1
    2f82:	865a                	mv	a2,s6
    2f84:	85d2                	mv	a1,s4
    2f86:	854e                	mv	a0,s3
    2f88:	9a82                	jalr	s5
    2f8a:	01751e63          	bne	a0,s7,2fa6 <_printf_common+0xd8>
    2f8e:	557d                	li	a0,-1
    2f90:	50b2                	lw	ra,44(sp)
    2f92:	5422                	lw	s0,40(sp)
    2f94:	5492                	lw	s1,36(sp)
    2f96:	5902                	lw	s2,32(sp)
    2f98:	49f2                	lw	s3,28(sp)
    2f9a:	4a62                	lw	s4,24(sp)
    2f9c:	4ad2                	lw	s5,20(sp)
    2f9e:	4b42                	lw	s6,16(sp)
    2fa0:	4bb2                	lw	s7,12(sp)
    2fa2:	6145                	addi	sp,sp,48
    2fa4:	8082                	ret
    2fa6:	0905                	addi	s2,s2,1
    2fa8:	bfad                	j	2f22 <_printf_common+0x54>
    2faa:	00d40733          	add	a4,s0,a3
    2fae:	03000613          	li	a2,48
    2fb2:	04c701a3          	sb	a2,67(a4)
    2fb6:	04544703          	lbu	a4,69(s0)
    2fba:	00168793          	addi	a5,a3,1
    2fbe:	97a2                	add	a5,a5,s0
    2fc0:	0689                	addi	a3,a3,2
    2fc2:	04e781a3          	sb	a4,67(a5)
    2fc6:	bf9d                	j	2f3c <_printf_common+0x6e>
    2fc8:	4685                	li	a3,1
    2fca:	8622                	mv	a2,s0
    2fcc:	85d2                	mv	a1,s4
    2fce:	854e                	mv	a0,s3
    2fd0:	9a82                	jalr	s5
    2fd2:	fb650ee3          	beq	a0,s6,2f8e <_printf_common+0xc0>
    2fd6:	0905                	addi	s2,s2,1
    2fd8:	b745                	j	2f78 <_printf_common+0xaa>

00002fda <_printf_i>:
_printf_i():
    2fda:	7179                	addi	sp,sp,-48
    2fdc:	d422                	sw	s0,40(sp)
    2fde:	d226                	sw	s1,36(sp)
    2fe0:	d04a                	sw	s2,32(sp)
    2fe2:	ce4e                	sw	s3,28(sp)
    2fe4:	d606                	sw	ra,44(sp)
    2fe6:	cc52                	sw	s4,24(sp)
    2fe8:	ca56                	sw	s5,20(sp)
    2fea:	c85a                	sw	s6,16(sp)
    2fec:	89b6                	mv	s3,a3
    2fee:	2d94                	lbu	a3,24(a1)
    2ff0:	06900793          	li	a5,105
    2ff4:	8932                	mv	s2,a2
    2ff6:	84aa                	mv	s1,a0
    2ff8:	842e                	mv	s0,a1
    2ffa:	04358613          	addi	a2,a1,67
    2ffe:	02f68d63          	beq	a3,a5,3038 <_printf_i+0x5e>
    3002:	06d7e263          	bltu	a5,a3,3066 <_printf_i+0x8c>
    3006:	05800793          	li	a5,88
    300a:	18f68663          	beq	a3,a5,3196 <_printf_i+0x1bc>
    300e:	00d7ed63          	bltu	a5,a3,3028 <_printf_i+0x4e>
    3012:	20068e63          	beqz	a3,322e <_printf_i+0x254>
    3016:	04300793          	li	a5,67
    301a:	0af68e63          	beq	a3,a5,30d6 <_printf_i+0xfc>
    301e:	04240a93          	addi	s5,s0,66
    3022:	04d40123          	sb	a3,66(s0)
    3026:	a0c9                	j	30e8 <_printf_i+0x10e>
    3028:	06300793          	li	a5,99
    302c:	0af68563          	beq	a3,a5,30d6 <_printf_i+0xfc>
    3030:	06400793          	li	a5,100
    3034:	fef695e3          	bne	a3,a5,301e <_printf_i+0x44>
    3038:	401c                	lw	a5,0(s0)
    303a:	4308                	lw	a0,0(a4)
    303c:	0807f693          	andi	a3,a5,128
    3040:	00450593          	addi	a1,a0,4
    3044:	c6c5                	beqz	a3,30ec <_printf_i+0x112>
    3046:	411c                	lw	a5,0(a0)
    3048:	c30c                	sw	a1,0(a4)
    304a:	0007d863          	bgez	a5,305a <_printf_i+0x80>
    304e:	02d00713          	li	a4,45
    3052:	40f007b3          	neg	a5,a5
    3056:	04e401a3          	sb	a4,67(s0)
    305a:	00001697          	auipc	a3,0x1
    305e:	98268693          	addi	a3,a3,-1662 # 39dc <__sf_fake_stdout+0x34>
    3062:	4729                	li	a4,10
    3064:	a865                	j	311c <_printf_i+0x142>
    3066:	07000793          	li	a5,112
    306a:	16f68263          	beq	a3,a5,31ce <_printf_i+0x1f4>
    306e:	02d7e563          	bltu	a5,a3,3098 <_printf_i+0xbe>
    3072:	06e00793          	li	a5,110
    3076:	18f68963          	beq	a3,a5,3208 <_printf_i+0x22e>
    307a:	06f00793          	li	a5,111
    307e:	faf690e3          	bne	a3,a5,301e <_printf_i+0x44>
    3082:	400c                	lw	a1,0(s0)
    3084:	431c                	lw	a5,0(a4)
    3086:	0805f813          	andi	a6,a1,128
    308a:	00478513          	addi	a0,a5,4
    308e:	06080763          	beqz	a6,30fc <_printf_i+0x122>
    3092:	c308                	sw	a0,0(a4)
    3094:	439c                	lw	a5,0(a5)
    3096:	a885                	j	3106 <_printf_i+0x12c>
    3098:	07500793          	li	a5,117
    309c:	fef683e3          	beq	a3,a5,3082 <_printf_i+0xa8>
    30a0:	07800793          	li	a5,120
    30a4:	12f68963          	beq	a3,a5,31d6 <_printf_i+0x1fc>
    30a8:	07300793          	li	a5,115
    30ac:	f6f699e3          	bne	a3,a5,301e <_printf_i+0x44>
    30b0:	431c                	lw	a5,0(a4)
    30b2:	41d0                	lw	a2,4(a1)
    30b4:	4581                	li	a1,0
    30b6:	00478693          	addi	a3,a5,4
    30ba:	c314                	sw	a3,0(a4)
    30bc:	0007aa83          	lw	s5,0(a5)
    30c0:	8556                	mv	a0,s5
    30c2:	2e49                	jal	3454 <memchr>
    30c4:	c501                	beqz	a0,30cc <_printf_i+0xf2>
    30c6:	41550533          	sub	a0,a0,s5
    30ca:	c048                	sw	a0,4(s0)
    30cc:	405c                	lw	a5,4(s0)
    30ce:	c81c                	sw	a5,16(s0)
    30d0:	040401a3          	sb	zero,67(s0)
    30d4:	a861                	j	316c <_printf_i+0x192>
    30d6:	431c                	lw	a5,0(a4)
    30d8:	04240a93          	addi	s5,s0,66
    30dc:	00478693          	addi	a3,a5,4
    30e0:	439c                	lw	a5,0(a5)
    30e2:	c314                	sw	a3,0(a4)
    30e4:	04f40123          	sb	a5,66(s0)
    30e8:	4785                	li	a5,1
    30ea:	b7d5                	j	30ce <_printf_i+0xf4>
    30ec:	0407f693          	andi	a3,a5,64
    30f0:	411c                	lw	a5,0(a0)
    30f2:	c30c                	sw	a1,0(a4)
    30f4:	dab9                	beqz	a3,304a <_printf_i+0x70>
    30f6:	07c2                	slli	a5,a5,0x10
    30f8:	87c1                	srai	a5,a5,0x10
    30fa:	bf81                	j	304a <_printf_i+0x70>
    30fc:	0405f593          	andi	a1,a1,64
    3100:	c308                	sw	a0,0(a4)
    3102:	d9c9                	beqz	a1,3094 <_printf_i+0xba>
    3104:	239e                	lhu	a5,0(a5)
    3106:	06f00713          	li	a4,111
    310a:	0ee68763          	beq	a3,a4,31f8 <_printf_i+0x21e>
    310e:	00001697          	auipc	a3,0x1
    3112:	8ce68693          	addi	a3,a3,-1842 # 39dc <__sf_fake_stdout+0x34>
    3116:	4729                	li	a4,10
    3118:	040401a3          	sb	zero,67(s0)
    311c:	404c                	lw	a1,4(s0)
    311e:	c40c                	sw	a1,8(s0)
    3120:	0005c563          	bltz	a1,312a <_printf_i+0x150>
    3124:	4008                	lw	a0,0(s0)
    3126:	996d                	andi	a0,a0,-5
    3128:	c008                	sw	a0,0(s0)
    312a:	e399                	bnez	a5,3130 <_printf_i+0x156>
    312c:	8ab2                	mv	s5,a2
    312e:	cd89                	beqz	a1,3148 <_printf_i+0x16e>
    3130:	8ab2                	mv	s5,a2
    3132:	02e7f5b3          	remu	a1,a5,a4
    3136:	1afd                	addi	s5,s5,-1
    3138:	95b6                	add	a1,a1,a3
    313a:	218c                	lbu	a1,0(a1)
    313c:	00ba8023          	sb	a1,0(s5)
    3140:	02e7d5b3          	divu	a1,a5,a4
    3144:	0ce7f063          	bgeu	a5,a4,3204 <_printf_i+0x22a>
    3148:	47a1                	li	a5,8
    314a:	00f71e63          	bne	a4,a5,3166 <_printf_i+0x18c>
    314e:	401c                	lw	a5,0(s0)
    3150:	8b85                	andi	a5,a5,1
    3152:	cb91                	beqz	a5,3166 <_printf_i+0x18c>
    3154:	4058                	lw	a4,4(s0)
    3156:	481c                	lw	a5,16(s0)
    3158:	00e7c763          	blt	a5,a4,3166 <_printf_i+0x18c>
    315c:	03000793          	li	a5,48
    3160:	fefa8fa3          	sb	a5,-1(s5)
    3164:	1afd                	addi	s5,s5,-1
    3166:	41560633          	sub	a2,a2,s5
    316a:	c810                	sw	a2,16(s0)
    316c:	874e                	mv	a4,s3
    316e:	86ca                	mv	a3,s2
    3170:	0070                	addi	a2,sp,12
    3172:	85a2                	mv	a1,s0
    3174:	8526                	mv	a0,s1
    3176:	d59ff0ef          	jal	ra,2ece <_printf_common>
    317a:	5a7d                	li	s4,-1
    317c:	0b451d63          	bne	a0,s4,3236 <_printf_i+0x25c>
    3180:	557d                	li	a0,-1
    3182:	50b2                	lw	ra,44(sp)
    3184:	5422                	lw	s0,40(sp)
    3186:	5492                	lw	s1,36(sp)
    3188:	5902                	lw	s2,32(sp)
    318a:	49f2                	lw	s3,28(sp)
    318c:	4a62                	lw	s4,24(sp)
    318e:	4ad2                	lw	s5,20(sp)
    3190:	4b42                	lw	s6,16(sp)
    3192:	6145                	addi	sp,sp,48
    3194:	8082                	ret
    3196:	04d582a3          	sb	a3,69(a1)
    319a:	00001697          	auipc	a3,0x1
    319e:	84268693          	addi	a3,a3,-1982 # 39dc <__sf_fake_stdout+0x34>
    31a2:	400c                	lw	a1,0(s0)
    31a4:	4308                	lw	a0,0(a4)
    31a6:	0805f813          	andi	a6,a1,128
    31aa:	411c                	lw	a5,0(a0)
    31ac:	0511                	addi	a0,a0,4
    31ae:	02080d63          	beqz	a6,31e8 <_printf_i+0x20e>
    31b2:	c308                	sw	a0,0(a4)
    31b4:	0015f713          	andi	a4,a1,1
    31b8:	c701                	beqz	a4,31c0 <_printf_i+0x1e6>
    31ba:	0205e593          	ori	a1,a1,32
    31be:	c00c                	sw	a1,0(s0)
    31c0:	4741                	li	a4,16
    31c2:	fbb9                	bnez	a5,3118 <_printf_i+0x13e>
    31c4:	400c                	lw	a1,0(s0)
    31c6:	fdf5f593          	andi	a1,a1,-33
    31ca:	c00c                	sw	a1,0(s0)
    31cc:	b7b1                	j	3118 <_printf_i+0x13e>
    31ce:	419c                	lw	a5,0(a1)
    31d0:	0207e793          	ori	a5,a5,32
    31d4:	c19c                	sw	a5,0(a1)
    31d6:	07800793          	li	a5,120
    31da:	04f402a3          	sb	a5,69(s0)
    31de:	00001697          	auipc	a3,0x1
    31e2:	81268693          	addi	a3,a3,-2030 # 39f0 <__sf_fake_stdout+0x48>
    31e6:	bf75                	j	31a2 <_printf_i+0x1c8>
    31e8:	0405f813          	andi	a6,a1,64
    31ec:	c308                	sw	a0,0(a4)
    31ee:	fc0803e3          	beqz	a6,31b4 <_printf_i+0x1da>
    31f2:	07c2                	slli	a5,a5,0x10
    31f4:	83c1                	srli	a5,a5,0x10
    31f6:	bf7d                	j	31b4 <_printf_i+0x1da>
    31f8:	00000697          	auipc	a3,0x0
    31fc:	7e468693          	addi	a3,a3,2020 # 39dc <__sf_fake_stdout+0x34>
    3200:	4721                	li	a4,8
    3202:	bf19                	j	3118 <_printf_i+0x13e>
    3204:	87ae                	mv	a5,a1
    3206:	b735                	j	3132 <_printf_i+0x158>
    3208:	4194                	lw	a3,0(a1)
    320a:	431c                	lw	a5,0(a4)
    320c:	49cc                	lw	a1,20(a1)
    320e:	0806f813          	andi	a6,a3,128
    3212:	00478513          	addi	a0,a5,4
    3216:	00080663          	beqz	a6,3222 <_printf_i+0x248>
    321a:	c308                	sw	a0,0(a4)
    321c:	439c                	lw	a5,0(a5)
    321e:	c38c                	sw	a1,0(a5)
    3220:	a039                	j	322e <_printf_i+0x254>
    3222:	c308                	sw	a0,0(a4)
    3224:	0406f693          	andi	a3,a3,64
    3228:	439c                	lw	a5,0(a5)
    322a:	daf5                	beqz	a3,321e <_printf_i+0x244>
    322c:	a38e                	sh	a1,0(a5)
    322e:	00042823          	sw	zero,16(s0)
    3232:	8ab2                	mv	s5,a2
    3234:	bf25                	j	316c <_printf_i+0x192>
    3236:	4814                	lw	a3,16(s0)
    3238:	8656                	mv	a2,s5
    323a:	85ca                	mv	a1,s2
    323c:	8526                	mv	a0,s1
    323e:	9982                	jalr	s3
    3240:	f54500e3          	beq	a0,s4,3180 <_printf_i+0x1a6>
    3244:	401c                	lw	a5,0(s0)
    3246:	8b89                	andi	a5,a5,2
    3248:	e78d                	bnez	a5,3272 <_printf_i+0x298>
    324a:	47b2                	lw	a5,12(sp)
    324c:	4448                	lw	a0,12(s0)
    324e:	f2f55ae3          	bge	a0,a5,3182 <_printf_i+0x1a8>
    3252:	853e                	mv	a0,a5
    3254:	b73d                	j	3182 <_printf_i+0x1a8>
    3256:	4685                	li	a3,1
    3258:	8656                	mv	a2,s5
    325a:	85ca                	mv	a1,s2
    325c:	8526                	mv	a0,s1
    325e:	9982                	jalr	s3
    3260:	f36500e3          	beq	a0,s6,3180 <_printf_i+0x1a6>
    3264:	0a05                	addi	s4,s4,1
    3266:	445c                	lw	a5,12(s0)
    3268:	4732                	lw	a4,12(sp)
    326a:	8f99                	sub	a5,a5,a4
    326c:	fefa45e3          	blt	s4,a5,3256 <_printf_i+0x27c>
    3270:	bfe9                	j	324a <_printf_i+0x270>
    3272:	4a01                	li	s4,0
    3274:	01940a93          	addi	s5,s0,25
    3278:	5b7d                	li	s6,-1
    327a:	b7f5                	j	3266 <_printf_i+0x28c>

0000327c <_sbrk_r>:
_sbrk_r():
    327c:	1141                	addi	sp,sp,-16
    327e:	c422                	sw	s0,8(sp)
    3280:	842a                	mv	s0,a0
    3282:	852e                	mv	a0,a1
    3284:	1ffff797          	auipc	a5,0x1ffff
    3288:	fa07ae23          	sw	zero,-68(a5) # 20002240 <errno>
    328c:	c606                	sw	ra,12(sp)
    328e:	f75fe0ef          	jal	ra,2202 <_sbrk>
    3292:	57fd                	li	a5,-1
    3294:	00f51963          	bne	a0,a5,32a6 <_sbrk_r+0x2a>
    3298:	1ffff797          	auipc	a5,0x1ffff
    329c:	fa878793          	addi	a5,a5,-88 # 20002240 <errno>
    32a0:	439c                	lw	a5,0(a5)
    32a2:	c391                	beqz	a5,32a6 <_sbrk_r+0x2a>
    32a4:	c01c                	sw	a5,0(s0)
    32a6:	40b2                	lw	ra,12(sp)
    32a8:	4422                	lw	s0,8(sp)
    32aa:	0141                	addi	sp,sp,16
    32ac:	8082                	ret

000032ae <__sread>:
__sread():
    32ae:	1141                	addi	sp,sp,-16
    32b0:	c422                	sw	s0,8(sp)
    32b2:	842e                	mv	s0,a1
    32b4:	00e59583          	lh	a1,14(a1)
    32b8:	c606                	sw	ra,12(sp)
    32ba:	2a5d                	jal	3470 <_read_r>
    32bc:	00054963          	bltz	a0,32ce <__sread+0x20>
    32c0:	487c                	lw	a5,84(s0)
    32c2:	97aa                	add	a5,a5,a0
    32c4:	c87c                	sw	a5,84(s0)
    32c6:	40b2                	lw	ra,12(sp)
    32c8:	4422                	lw	s0,8(sp)
    32ca:	0141                	addi	sp,sp,16
    32cc:	8082                	ret
    32ce:	245e                	lhu	a5,12(s0)
    32d0:	777d                	lui	a4,0xfffff
    32d2:	177d                	addi	a4,a4,-1
    32d4:	8ff9                	and	a5,a5,a4
    32d6:	a45e                	sh	a5,12(s0)
    32d8:	b7fd                	j	32c6 <__sread+0x18>

000032da <__swrite>:
__swrite():
    32da:	25de                	lhu	a5,12(a1)
    32dc:	1101                	addi	sp,sp,-32
    32de:	cc22                	sw	s0,24(sp)
    32e0:	ca26                	sw	s1,20(sp)
    32e2:	c84a                	sw	s2,16(sp)
    32e4:	c64e                	sw	s3,12(sp)
    32e6:	ce06                	sw	ra,28(sp)
    32e8:	1007f793          	andi	a5,a5,256
    32ec:	84aa                	mv	s1,a0
    32ee:	842e                	mv	s0,a1
    32f0:	8932                	mv	s2,a2
    32f2:	89b6                	mv	s3,a3
    32f4:	c791                	beqz	a5,3300 <__swrite+0x26>
    32f6:	00e59583          	lh	a1,14(a1)
    32fa:	4689                	li	a3,2
    32fc:	4601                	li	a2,0
    32fe:	220d                	jal	3420 <_lseek_r>
    3300:	245e                	lhu	a5,12(s0)
    3302:	777d                	lui	a4,0xfffff
    3304:	177d                	addi	a4,a4,-1
    3306:	8ff9                	and	a5,a5,a4
    3308:	a45e                	sh	a5,12(s0)
    330a:	00e41583          	lh	a1,14(s0)
    330e:	4462                	lw	s0,24(sp)
    3310:	40f2                	lw	ra,28(sp)
    3312:	86ce                	mv	a3,s3
    3314:	864a                	mv	a2,s2
    3316:	49b2                	lw	s3,12(sp)
    3318:	4942                	lw	s2,16(sp)
    331a:	8526                	mv	a0,s1
    331c:	44d2                	lw	s1,20(sp)
    331e:	6105                	addi	sp,sp,32
    3320:	a825                	j	3358 <_write_r>

00003322 <__sseek>:
__sseek():
    3322:	1141                	addi	sp,sp,-16
    3324:	c422                	sw	s0,8(sp)
    3326:	842e                	mv	s0,a1
    3328:	00e59583          	lh	a1,14(a1)
    332c:	c606                	sw	ra,12(sp)
    332e:	28cd                	jal	3420 <_lseek_r>
    3330:	57fd                	li	a5,-1
    3332:	245a                	lhu	a4,12(s0)
    3334:	00f51a63          	bne	a0,a5,3348 <__sseek+0x26>
    3338:	77fd                	lui	a5,0xfffff
    333a:	17fd                	addi	a5,a5,-1
    333c:	8ff9                	and	a5,a5,a4
    333e:	a45e                	sh	a5,12(s0)
    3340:	40b2                	lw	ra,12(sp)
    3342:	4422                	lw	s0,8(sp)
    3344:	0141                	addi	sp,sp,16
    3346:	8082                	ret
    3348:	6785                	lui	a5,0x1
    334a:	8fd9                	or	a5,a5,a4
    334c:	a45e                	sh	a5,12(s0)
    334e:	c868                	sw	a0,84(s0)
    3350:	bfc5                	j	3340 <__sseek+0x1e>

00003352 <__sclose>:
__sclose():
    3352:	00e59583          	lh	a1,14(a1)
    3356:	a825                	j	338e <_close_r>

00003358 <_write_r>:
_write_r():
    3358:	1141                	addi	sp,sp,-16
    335a:	c422                	sw	s0,8(sp)
    335c:	842a                	mv	s0,a0
    335e:	852e                	mv	a0,a1
    3360:	85b2                	mv	a1,a2
    3362:	8636                	mv	a2,a3
    3364:	1ffff797          	auipc	a5,0x1ffff
    3368:	ec07ae23          	sw	zero,-292(a5) # 20002240 <errno>
    336c:	c606                	sw	ra,12(sp)
    336e:	e5bfe0ef          	jal	ra,21c8 <_write>
    3372:	57fd                	li	a5,-1
    3374:	00f51963          	bne	a0,a5,3386 <_write_r+0x2e>
    3378:	1ffff797          	auipc	a5,0x1ffff
    337c:	ec878793          	addi	a5,a5,-312 # 20002240 <errno>
    3380:	439c                	lw	a5,0(a5)
    3382:	c391                	beqz	a5,3386 <_write_r+0x2e>
    3384:	c01c                	sw	a5,0(s0)
    3386:	40b2                	lw	ra,12(sp)
    3388:	4422                	lw	s0,8(sp)
    338a:	0141                	addi	sp,sp,16
    338c:	8082                	ret

0000338e <_close_r>:
_close_r():
    338e:	1141                	addi	sp,sp,-16
    3390:	c422                	sw	s0,8(sp)
    3392:	842a                	mv	s0,a0
    3394:	852e                	mv	a0,a1
    3396:	1ffff797          	auipc	a5,0x1ffff
    339a:	ea07a523          	sw	zero,-342(a5) # 20002240 <errno>
    339e:	c606                	sw	ra,12(sp)
    33a0:	2211                	jal	34a4 <_close>
    33a2:	57fd                	li	a5,-1
    33a4:	00f51963          	bne	a0,a5,33b6 <_close_r+0x28>
    33a8:	1ffff797          	auipc	a5,0x1ffff
    33ac:	e9878793          	addi	a5,a5,-360 # 20002240 <errno>
    33b0:	439c                	lw	a5,0(a5)
    33b2:	c391                	beqz	a5,33b6 <_close_r+0x28>
    33b4:	c01c                	sw	a5,0(s0)
    33b6:	40b2                	lw	ra,12(sp)
    33b8:	4422                	lw	s0,8(sp)
    33ba:	0141                	addi	sp,sp,16
    33bc:	8082                	ret

000033be <_fstat_r>:
_fstat_r():
    33be:	1141                	addi	sp,sp,-16
    33c0:	c422                	sw	s0,8(sp)
    33c2:	842a                	mv	s0,a0
    33c4:	852e                	mv	a0,a1
    33c6:	85b2                	mv	a1,a2
    33c8:	1ffff797          	auipc	a5,0x1ffff
    33cc:	e607ac23          	sw	zero,-392(a5) # 20002240 <errno>
    33d0:	c606                	sw	ra,12(sp)
    33d2:	20cd                	jal	34b4 <_fstat>
    33d4:	57fd                	li	a5,-1
    33d6:	00f51963          	bne	a0,a5,33e8 <_fstat_r+0x2a>
    33da:	1ffff797          	auipc	a5,0x1ffff
    33de:	e6678793          	addi	a5,a5,-410 # 20002240 <errno>
    33e2:	439c                	lw	a5,0(a5)
    33e4:	c391                	beqz	a5,33e8 <_fstat_r+0x2a>
    33e6:	c01c                	sw	a5,0(s0)
    33e8:	40b2                	lw	ra,12(sp)
    33ea:	4422                	lw	s0,8(sp)
    33ec:	0141                	addi	sp,sp,16
    33ee:	8082                	ret

000033f0 <_isatty_r>:
_isatty_r():
    33f0:	1141                	addi	sp,sp,-16
    33f2:	c422                	sw	s0,8(sp)
    33f4:	842a                	mv	s0,a0
    33f6:	852e                	mv	a0,a1
    33f8:	1ffff797          	auipc	a5,0x1ffff
    33fc:	e407a423          	sw	zero,-440(a5) # 20002240 <errno>
    3400:	c606                	sw	ra,12(sp)
    3402:	20c9                	jal	34c4 <_isatty>
    3404:	57fd                	li	a5,-1
    3406:	00f51963          	bne	a0,a5,3418 <_isatty_r+0x28>
    340a:	1ffff797          	auipc	a5,0x1ffff
    340e:	e3678793          	addi	a5,a5,-458 # 20002240 <errno>
    3412:	439c                	lw	a5,0(a5)
    3414:	c391                	beqz	a5,3418 <_isatty_r+0x28>
    3416:	c01c                	sw	a5,0(s0)
    3418:	40b2                	lw	ra,12(sp)
    341a:	4422                	lw	s0,8(sp)
    341c:	0141                	addi	sp,sp,16
    341e:	8082                	ret

00003420 <_lseek_r>:
_lseek_r():
    3420:	1141                	addi	sp,sp,-16
    3422:	c422                	sw	s0,8(sp)
    3424:	842a                	mv	s0,a0
    3426:	852e                	mv	a0,a1
    3428:	85b2                	mv	a1,a2
    342a:	8636                	mv	a2,a3
    342c:	1ffff797          	auipc	a5,0x1ffff
    3430:	e007aa23          	sw	zero,-492(a5) # 20002240 <errno>
    3434:	c606                	sw	ra,12(sp)
    3436:	2879                	jal	34d4 <_lseek>
    3438:	57fd                	li	a5,-1
    343a:	00f51963          	bne	a0,a5,344c <_lseek_r+0x2c>
    343e:	1ffff797          	auipc	a5,0x1ffff
    3442:	e0278793          	addi	a5,a5,-510 # 20002240 <errno>
    3446:	439c                	lw	a5,0(a5)
    3448:	c391                	beqz	a5,344c <_lseek_r+0x2c>
    344a:	c01c                	sw	a5,0(s0)
    344c:	40b2                	lw	ra,12(sp)
    344e:	4422                	lw	s0,8(sp)
    3450:	0141                	addi	sp,sp,16
    3452:	8082                	ret

00003454 <memchr>:
memchr():
    3454:	0ff5f593          	andi	a1,a1,255
    3458:	962a                	add	a2,a2,a0
    345a:	00c51463          	bne	a0,a2,3462 <memchr+0xe>
    345e:	4501                	li	a0,0
    3460:	8082                	ret
    3462:	211c                	lbu	a5,0(a0)
    3464:	feb78ee3          	beq	a5,a1,3460 <memchr+0xc>
    3468:	0505                	addi	a0,a0,1
    346a:	bfc5                	j	345a <memchr+0x6>

0000346c <__malloc_lock>:
__malloc_lock():
    346c:	8082                	ret

0000346e <__malloc_unlock>:
__malloc_unlock():
    346e:	8082                	ret

00003470 <_read_r>:
_read_r():
    3470:	1141                	addi	sp,sp,-16
    3472:	c422                	sw	s0,8(sp)
    3474:	842a                	mv	s0,a0
    3476:	852e                	mv	a0,a1
    3478:	85b2                	mv	a1,a2
    347a:	8636                	mv	a2,a3
    347c:	1ffff797          	auipc	a5,0x1ffff
    3480:	dc07a223          	sw	zero,-572(a5) # 20002240 <errno>
    3484:	c606                	sw	ra,12(sp)
    3486:	28b9                	jal	34e4 <_read>
    3488:	57fd                	li	a5,-1
    348a:	00f51963          	bne	a0,a5,349c <_read_r+0x2c>
    348e:	1ffff797          	auipc	a5,0x1ffff
    3492:	db278793          	addi	a5,a5,-590 # 20002240 <errno>
    3496:	439c                	lw	a5,0(a5)
    3498:	c391                	beqz	a5,349c <_read_r+0x2c>
    349a:	c01c                	sw	a5,0(s0)
    349c:	40b2                	lw	ra,12(sp)
    349e:	4422                	lw	s0,8(sp)
    34a0:	0141                	addi	sp,sp,16
    34a2:	8082                	ret

000034a4 <_close>:
_close():
    34a4:	05800793          	li	a5,88
    34a8:	1ffff717          	auipc	a4,0x1ffff
    34ac:	d8f72c23          	sw	a5,-616(a4) # 20002240 <errno>
    34b0:	557d                	li	a0,-1
    34b2:	8082                	ret

000034b4 <_fstat>:
_fstat():
    34b4:	05800793          	li	a5,88
    34b8:	1ffff717          	auipc	a4,0x1ffff
    34bc:	d8f72423          	sw	a5,-632(a4) # 20002240 <errno>
    34c0:	557d                	li	a0,-1
    34c2:	8082                	ret

000034c4 <_isatty>:
_isatty():
    34c4:	05800793          	li	a5,88
    34c8:	1ffff717          	auipc	a4,0x1ffff
    34cc:	d6f72c23          	sw	a5,-648(a4) # 20002240 <errno>
    34d0:	4501                	li	a0,0
    34d2:	8082                	ret

000034d4 <_lseek>:
_lseek():
    34d4:	05800793          	li	a5,88
    34d8:	1ffff717          	auipc	a4,0x1ffff
    34dc:	d6f72423          	sw	a5,-664(a4) # 20002240 <errno>
    34e0:	557d                	li	a0,-1
    34e2:	8082                	ret

000034e4 <_read>:
_read():
    34e4:	05800793          	li	a5,88
    34e8:	1ffff717          	auipc	a4,0x1ffff
    34ec:	d4f72c23          	sw	a5,-680(a4) # 20002240 <errno>
    34f0:	557d                	li	a0,-1
    34f2:	8082                	ret

000034f4 <UDISK_Mode_Senese_5A>:
    34f4:	0e00 0000 0000 0800 0000 3f00 0000 0010     ...........?....

00003504 <UDISK_Mode_Sense_1A>:
    3504:	000b 0800 0000 3f00 0000 0010               .......?....

00003510 <UDISK_Rd_Format_Capacity>:
    3510:	0000 0800 0000 4000 0002 0010 6148 6472     .......@....Hard
    3520:	6146 6c75 5f74 6148 646e 656c 0d72 0000     Fault_Handler...
    3530:	656d 6370 2020 253a 3830 0d78 000a 0000     mepc  :%08x.....
    3540:	636d 7561 6573 253a 3830 0d78 000a 0000     mcause:%08x.....
    3550:	746d 6176 206c 253a 3830 0d78 000a 0000     mtval :%08x.....
    3560:	11e0 0000 10f0 0000 103c 0000 115e 0000     ........<...^...
    3570:	103c 0000 10c0 0000 0fd4 0000 103c 0000     <...........<...
    3580:	10cc 0000 10de 0000 11da 0000 0f66 0000     ............f...
    3590:	7953 7473 6d65 6c43 3a6b 6425 0a0d 0000     SystemClk:%d....
    35a0:	6843 7069 4449 253a 3830 0d78 000a 0000     ChipID:%08x.....
    35b0:	6854 7369 7020 6f72 7267 6d61 6920 2073     This program is 
    35c0:	2061 6953 756d 616c 6574 5520 6944 6b73     a Simulate UDisk
    35d0:	000d 0000 5355 4442 5520 6944 6b73 4420     ....USBD UDisk D
    35e0:	6d65 0d6f 530a 6f74 6172 6567 4d20 6465     emo..Storage Med
    35f0:	7569 3a6d 5320 4950 4620 414c 4853 0d20     ium: SPI FLASH .
    3600:	0000 0000 3431 333a 3a35 3333 0000 0000     ....14:35:33....
    3610:	754a 206e 3331 3220 3230 0033 636d 2075     Jun 13 2023.mcu 
    3620:	7369 4f20 214b 7453 7261 3a74 7325 252c     is OK!Start:%s,%
    3630:	0a73 0000 7073 5f69 6c66 7361 5f68 6973     s...spi_flash_si
    3640:	657a 6920 2073 253a 2064 424b 0a0d 000a     ze is :%d KB....

00003650 <temp_id>:
    3650:	2010 0037 2020 0037 3010 0037 6500 001f     . 7.  7..07..e..
    3660:	2010 001c 3110 001c 4010 00c8 2010 00c2     . ...1...@... ..
    3670:	9d7b 007f 9d7f 007f 2501 00bf 2010 0020     {........%...  .
    3680:	6601 001f 2011 0037 2021 0037 3011 0037     .f... 7.! 7..07.
    3690:	2011 001c 3111 001c 4011 00c8 2011 00c2     . ...1...@... ..
    36a0:	9d7c 007f 0210 0001 2502 00bf 8011 0020     |........%.... .
    36b0:	2011 0020 3011 00ef 2012 0020 3112 001c     .  ..0...  ..1..
    36c0:	4300 001f 2012 0037 2022 0037 3012 0037     .C... 7." 7..07.
    36d0:	2012 00c2 9d7d 007f 4012 00c8 4112 00c8     . ..}....@...A..
    36e0:	0211 0001 2503 00bf 2013 004a 8c8c 008c     .....%... J.....
    36f0:	2013 008c 8012 0020 3012 00ef 2013 0020     . .... ..0...  .
    3700:	2013 00c2 2504 00bf 258d 00bf 2013 000c     . ...%...%... ..
    3710:	3013 0037 2013 0037 6604 001f 001f 0000     .07.. 7..f......
    3720:	4401 001f 0400 001f 4400 001f 9d7e 007f     .D.......D..~...
    3730:	0212 0001 4013 00c8 6013 00c8 2013 00c8     .....@...`... ..
    3740:	3113 001c 2533 00c2 2553 00c2 8013 0020     .1..3%..S%.... .
    3750:	4013 0051 4013 00ef 3013 00ef 8014 0020     .@Q..@...0.... .
    3760:	3014 00ef 4014 00ef 258e 00bf 2014 0020     .0...@...%...  .
    3770:	0213 0001 2014 004a 4501 001f 2014 0037     ..... J..E... 7.
    3780:	3720 007f 3015 0037 3014 0037 3014 001c      7...07..07..0..
    3790:	2014 001c 5114 001c 3114 001c 2014 00c2     . ...Q...1... ..
    37a0:	2554 00c2 2534 00c2 2014 008c 2014 00c8     T%..4%... ... ..
    37b0:	4014 00c8 2014 000c 2615 00c2 8015 0020     .@... ...&.... .
    37c0:	3015 00ef 2601 00bf 7115 0020 2015 0020     .0...&...q ..  .
    37d0:	5115 001c 2015 008c 1414 008c 4601 001f     .Q... .......F..
    37e0:	4600 001f 4602 001f 4015 00c8 2415 00c2     .F...F...@...$..
    37f0:	2515 00c2 2015 00c2 2535 00c2 2015 000c     .%... ..5%... ..
    3800:	2541 00bf 0214 0001 2015 004a 2015 0037     A%....... J.. 7.
    3810:	2025 0037 2015 001c 3115 001c 3015 001c     % 7.. ...1...0..
    3820:	7015 001c 4015 00ef 3016 00ef 4016 00ef     .p...@...0...@..
    3830:	7116 0020 2602 00bf 2016 0020 254a 00bf     .q ..&...  .J%..
    3840:	0215 0001 4016 00c8 2016 008c 4016 008c     .....@... ...@..
    3850:	4700 001f 2016 001c 3116 001c 3316 001c     .G... ...1...3..
    3860:	7016 001c 4701 001f 5e16 00c2 2536 00c2     .p...G...^..6%..
    3870:	2016 00c2 3016 0037 4016 0037 254b 00bf     . ...07..@7.K%..
    3880:	2017 001c 3017 001c 7017 001c 4800 001f     . ...0...p...H..
    3890:	4117 008c 4017 00c8 2617 00c2 2017 00c2     .A...@...&... ..
    38a0:	0216 0001 7117 0020 2017 0020 4017 00ef     .....q ..  ..@..
    38b0:	3017 00ef 4018 00ef 4018 00c8 2018 00c2     .0...@...@... ..
    38c0:	2538 00c2 2618 00c2 3018 001c 2017 0001     8%...&...0... ..
    38d0:	3018 00ef 2018 0020 4019 00c8 2019 00c2     .0...  ..@... ..
    38e0:	2539 00c2 4019 00ef 253a 00c2 201a 00c2     9%...@..:%... ..
    38f0:	4020 00c8                                    @..

000038f4 <MyCfgDescr>:
    38f4:	0209 0020 0101 c000 0932 0004 0200 0608     .. .....2.......
    3904:	0050 0507 0282 0040 0700 0305 4002 0000     P.....@......@..

00003914 <MyDevDescr>:
    3914:	0112 0200 0000 4000 1a86 fe10 0001 0201     .......@........
    3924:	0100 0000                                   ....

00003928 <MyManuInfo>:
    3928:	030e 0077 0063 0068 002e 0063 006e 0000     ..w.c.h...c.n...

00003938 <MyProdInfo>:
    3938:	0316 0043 0048 0033 0030 0078 0055 0044     ..C.H.3.0.x.U.D.
    3948:	0069 0073 006b 0000                         i.s.k...

00003950 <MySerNumInfo>:
    3950:	0316 0030 0031 0032 0033 0034 0035 0036     ..0.1.2.3.4.5.6.
    3960:	0037 0038 0039 0000                         7.8.9...

00003968 <__sf_fake_stderr>:
	...

00003988 <__sf_fake_stdin>:
	...

000039a8 <__sf_fake_stdout>:
	...
    39c8:	2d23 2b30 0020 0000 6c68 004c 6665 4567     #-0+ ...hlL.efgE
    39d8:	4746 0000 3130 3332 3534 3736 3938 4241     FG..0123456789AB
    39e8:	4443 4645 0000 0000 3130 3332 3534 3736     CDEF....01234567
    39f8:	3938 6261 6463 6665 0000 0000               89abcdef....
