mppt/obj/mppt_Nos_V0.4.lst

7678 lines
344 KiB
Plaintext

mppt_Nos_V0.4.elf: file format elf32-littleriscv
mppt_Nos_V0.4.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 0x000049cc memsz 0x000049cc flags r-x
LOAD off 0x00006000 vaddr 0x20000000 paddr 0x000049cc align 2**12
filesz 0x00000170 memsz 0x00000428 flags rw-
LOAD off 0x00006800 vaddr 0x20004800 paddr 0x20004800 align 2**12
filesz 0x00000000 memsz 0x00000800 flags rw-
Sections:
Idx Name Size VMA LMA File off Algn
0 .init 00000004 00000000 00000000 00001000 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .vector 0000013c 00000004 00000004 00001004 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .text 0000488c 00000140 00000140 00001140 2**3
CONTENTS, ALLOC, LOAD, READONLY, CODE
3 .fini 00000000 000049cc 000049cc 00006170 2**0
CONTENTS, ALLOC, LOAD, CODE
4 .dalign 00000000 20000000 20000000 00006170 2**0
CONTENTS
5 .dlalign 00000000 000049cc 000049cc 00006170 2**0
CONTENTS
6 .data 00000170 20000000 000049cc 00006000 2**2
CONTENTS, ALLOC, LOAD, DATA
7 .bss 000002b8 20000170 00004b3c 00006170 2**2
ALLOC
8 .stack 00000800 20004800 20004800 00006800 2**0
ALLOC
9 .debug_info 0001e3d3 00000000 00000000 00006170 2**0
CONTENTS, READONLY, DEBUGGING
10 .debug_abbrev 0000508d 00000000 00000000 00024543 2**0
CONTENTS, READONLY, DEBUGGING
11 .debug_aranges 00000e30 00000000 00000000 000295d0 2**3
CONTENTS, READONLY, DEBUGGING
12 .debug_ranges 00001038 00000000 00000000 0002a400 2**3
CONTENTS, READONLY, DEBUGGING
13 .debug_line 0001232f 00000000 00000000 0002b438 2**0
CONTENTS, READONLY, DEBUGGING
14 .debug_str 000045c1 00000000 00000000 0003d767 2**0
CONTENTS, READONLY, DEBUGGING
15 .comment 00000033 00000000 00000000 00041d28 2**0
CONTENTS, READONLY
16 .debug_frame 00002ba0 00000000 00000000 00041d5c 2**2
CONTENTS, READONLY, DEBUGGING
17 .debug_loc 000060b5 00000000 00000000 000448fc 2**0
CONTENTS, READONLY, DEBUGGING
18 .stab 00000084 00000000 00000000 0004a9b4 2**2
CONTENTS, READONLY, DEBUGGING
19 .stabstr 00000117 00000000 00000000 0004aa38 2**0
CONTENTS, READONLY, DEBUGGING
SYMBOL TABLE:
00000000 l d .init 00000000 .init
00000004 l d .vector 00000000 .vector
00000140 l d .text 00000000 .text
000049cc l d .fini 00000000 .fini
20000000 l d .dalign 00000000 .dalign
000049cc l d .dlalign 00000000 .dlalign
20000000 l d .data 00000000 .data
20000170 l d .bss 00000000 .bss
20004800 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_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 .debug_loc 00000000 .debug_loc
00000000 l d .stab 00000000 .stab
00000000 l d .stabstr 00000000 .stabstr
00000000 l df *ABS* 00000000 ./Startup/startup_ch32l103.o
00000004 l .vector 00000000 _vector_base
00000000 l df *ABS* 00000000 ch32l103_it.c
00000000 l df *ABS* 00000000 main.c
00000000 l df *ABS* 00000000 system_ch32l103.c
00000000 l df *ABS* 00000000 ch32l103_adc.c
00000000 l df *ABS* 00000000 ch32l103_dbgmcu.c
00000000 l df *ABS* 00000000 ch32l103_exti.c
00000000 l df *ABS* 00000000 ch32l103_gpio.c
00000000 l df *ABS* 00000000 ch32l103_misc.c
00000000 l df *ABS* 00000000 ch32l103_rcc.c
20000010 l O .data 00000010 PBHBPrescTable
20000154 l O .data 00000004 ADCPrescTable
00000000 l df *ABS* 00000000 ch32l103_spi.c
00000000 l df *ABS* 00000000 ch32l103_tim.c
00000000 l df *ABS* 00000000 ch32l103_usart.c
00000000 l df *ABS* 00000000 adc.c
00000000 l df *ABS* 00000000 flash.c
00000000 l df *ABS* 00000000 gpio.c
00000000 l df *ABS* 00000000 pwm.c
00000000 l df *ABS* 00000000 rs485.c
00000000 l df *ABS* 00000000 tim.c
00000000 l df *ABS* 00000000 timeSliceOffset.c
20000190 l O .bss 00000004 pTimeSliceList
00000000 l df *ABS* 00000000 ring_queue.c
00000000 l df *ABS* 00000000 debug.c
20000194 l O .bss 00000002 p_ms
20000196 l O .bss 00000002 p_us
2000015c l O .data 00000004 curbrk.5007
00000000 l df *ABS* 00000000 inflash.c
00000000 l df *ABS* 00000000 sl_protocol.c
00001db6 l F .text 00000030 SL_ReadRegisterSolarOpenCircuitVoltage2
00001de6 l F .text 00000030 SL_ReadRegisterSolarOpenCircuitVoltage1
00001e16 l F .text 00000030 SL_ReadRegisterRemainingBatteryBower
00001e46 l F .text 00000030 SL_ReadRegisterBatterytemperature
00001e76 l F .text 00000030 SL_ReadRegisterBatteryVoltage
00001ea6 l F .text 00000026 SL_ReadRegisterCommunicationMethods
00001ecc l F .text 00000026 SL_ReadRegisterAccessNodeType
00001ef2 l F .text 0000001c SL_ReadRegisteraddress
00001f0e l F .text 00000026 SL_ReadRegisterRegistrationStatus
00001f34 l F .text 00000056 SL_MsgProcFunc_Registration_request
00001f8a l F .text 00000034 SL_MsgProcFunc_Broadcast_Scan
00001fbe l F .text 00000056 SL_MsgProcFunc_Write_Register
000020f8 l F .text 00000096 SL_MsgProcFunc_Remote_Upgrade
0000218e l F .text 00000096 SL_MsgProcFunc_Update_Profile
00002224 l F .text 0000018c SL_MsgProcFunc_Read_Register
200001cc l O .bss 00000032 rs485_buff
00000000 l df *ABS* 00000000 task.c
20000199 l O .bss 00000001 flag.5773
200001a2 l O .bss 00000001 run_number.5803
00000000 l df *ABS* 00000000 uart_dev.c
00002934 l F .text 00000046 uart_putchar
20000230 l O .bss 000000c8 bat485_in_buff
200002f8 l O .bss 0000012c gw485_in_buff
00000000 l df *ABS* 00000000 gedf2.c
00000000 l df *ABS* 00000000 ledf2.c
00000000 l df *ABS* 00000000 mulsf3.c
00000000 l df *ABS* 00000000 fixunssfsi.c
00000000 l df *ABS* 00000000 extendsfdf2.c
00000000 l df *ABS* 00000000 libgcc2.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 rand.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
0000362a l F .text 00000066 std
00000000 l df *ABS* 00000000 fwalk.c
00000000 l df *ABS* 00000000 makebuf.c
00000000 l df *ABS* 00000000 malloc.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
00003ac6 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 libgcc2.c
00000000 l df *ABS* 00000000 impure.c
200000f0 l O .data 00000060 impure_data
00000000 l df *ABS* 00000000 mppt_control.c
00000000 l df *ABS* 00000000 reent.c
00001636 g F .text 00000032 EXTI2_IRQHandler
000042ba g F .text 00000028 _isatty_r
00001bb2 g F .text 00000022 TimeSliceOffset_Start
00003122 g F .text 000000d4 _puts_r
000042e2 g F .text 0000002c _lseek_r
00001a00 g F .text 0000005c TIM3_Int_Init
0000195a g F .text 0000001a USARTx_SendByte
20000020 g O .data 0000001e g_slConfigInfo
0000297a g F .text 0000004e uart_dev_init
20000158 g O .data 00000001 run_Broadcast
000030e2 g F .text 00000040 printf
20000950 g .data 00000000 __global_pointer$
00000148 g F .text 00000028 .hidden __riscv_save_8
00000440 w .text 00000000 TIM1_CC_IRQHandler
00004204 g F .text 00000030 __sseek
000036e0 g F .text 0000006c __sinit
00000e8a g F .text 00000004 SPI_I2S_SendData
000032dc g F .text 000000bc __swbuf_r
0000024a g F .text 00000002 HardFault_Handler
0000369a g F .text 00000046 __sfmoreglue
00004328 g F .text 00000002 __malloc_unlock
00001c0c g F .text 0000002c InRingQueue
00000440 w .text 00000000 USBPD_IRQHandler
00000194 g F .text 0000000c .hidden __riscv_restore_3
00001aa8 g F .text 0000004e TIM2_Int_Init
000023b0 g F .text 00000032 FRT_MsgHandler
00000440 w .text 00000000 SysTick_Handler
00000568 g F .text 0000000a ADC_StartCalibration
00002a80 g F .text 00000018 uart_dev_char_present
00000ca6 g F .text 00000054 NVIC_Init
00000440 w .text 00000000 PVD_IRQHandler
00000180 g F .text 00000020 .hidden __riscv_restore_10
00000e8e g F .text 00000004 SPI_I2S_ReceiveData
00000248 g F .text 00000002 NMI_Handler
00000440 w .text 00000000 EXTI3_IRQHandler
00000148 g F .text 00000028 .hidden __riscv_save_11
00000852 g F .text 00000006 DBGMCU_GetCHIPID
00002acc g F .text 000000ae .hidden __gtdf2
000026c0 g F .text 00000024 Task_RunLED
00001224 g F .text 0000000a USART_GetFlagStatus
00004290 g F .text 0000002a _fstat_r
20000424 g O .bss 00000004 errno
000029fc g F .text 00000018 gw485_tx_enabla
20000170 g .bss 00000000 _sbss
00000800 g *ABS* 00000000 __stack_size
00001cc4 g F .text 0000005a USART_Printf_Init
00002abe g F .text 0000000e ring_queue_length
00000440 w .text 00000000 USBFS_IRQHandler
00000194 g F .text 0000000c .hidden __riscv_restore_2
00002a2c g F .text 00000054 uart_dev_write
0000104e g F .text 00000016 TIM_CtrlPWMOutputs
00003030 g F .text 000000b2 memcpy
00000546 g F .text 00000010 ADC_Cmd
00003690 g F .text 0000000a _cleanup_r
000009b8 g F .text 0000012c GPIO_PinRemapConfig
00002b7a g F .text 000000b6 .hidden __ltdf2
00000440 w .text 00000000 EXTI0_IRQHandler
00000440 w .text 00000000 I2C2_EV_IRQHandler
00000e20 g F .text 0000001e RCC_PB2PeriphResetCmd
00000440 w .text 00000000 LPTIM_IRQHandler
000029c8 g F .text 0000001a bat485_tx_enabla
20000184 g O .bss 00000002 Calibrattion_Val
00001036 g F .text 00000018 TIM_Cmd
000031f6 g F .text 0000000c puts
000010a6 g F .text 00000016 TIM_OC4PreloadConfig
20000150 g O .data 00000004 SystemCoreClock
0000121c g F .text 00000008 USART_ReceiveData
00003940 g F .text 0000000a malloc
00004362 g F .text 0000000c _fstat
00000004 g .init 00000000 _einit
00001102 g F .text 0000000c TIM_ClearITPendingBit
000010d2 g F .text 00000018 TIM_GetCounter
00000140 g F .text 00000030 .hidden __riscv_save_12
000008ea g F .text 000000c0 GPIO_Init
00000cfa g F .text 00000014 RCC_ADCCLKConfig
00001b46 g F .text 0000003e TimeSliceOffset_Register
00000440 w .text 00000000 Break_Point_Handler
00000180 g F .text 00000020 .hidden __riscv_restore_11
200001a4 g O .bss 00000004 g_bat485_uart3_handle
20000180 g O .bss 00000004 NVIC_Priority_Group
00000440 w .text 00000000 SPI1_IRQHandler
00000556 g F .text 0000000a ADC_ResetCalibration
000011c8 g F .text 00000016 USART_Cmd
00004166 g F .text 0000002a _sbrk_r
20000174 g O .bss 00000004 CHIPID
00000440 w .text 00000000 TAMPER_IRQHandler
00000170 g F .text 0000000c .hidden __riscv_save_1
00001d82 g F .text 00000034 read_config_info
200001a1 g O .bss 00000001 recvbroadcast_flag
00000194 g F .text 0000000c .hidden __riscv_restore_0
0000432a g F .text 0000002c _read_r
00000156 g F .text 0000001a .hidden __riscv_save_7
200001a0 g O .bss 00000001 g_recvBroadcastRegisterNumber
00002f16 g F .text 000000ac .hidden __extendsfdf2
00000440 w .text 00000000 Ecall_M_Mode_Handler
20004800 g .stack 00000000 _heap_end
000029e2 g F .text 0000001a bat485_tx_disenabla
0000436e g F .text 0000000c _isatty
20000070 g O .data 00000048 g_RegTblR
20000168 g O .data 00000004 _global_impure_ptr
0000018a g F .text 00000016 .hidden __riscv_restore_5
20000170 g O .bss 00000002 ADC_Trim
00000e92 g F .text 0000000a SPI_I2S_GetFlagStatus
00000440 w .text 00000000 DMA1_Channel4_IRQHandler
0000057a g F .text 000000b8 ADC_RegularChannelConfig
00001d5c g F .text 00000026 _sbrk
0000065c g F .text 00000012 ADC_FIFO_Cmd
00002052 g F .text 0000002c randomDelay
00001bfc g F .text 00000010 InitRingQueue
000026e4 g F .text 00000010 Task_usart
00001c5e g F .text 00000010 RingQueueLength
00002014 g F .text 0000003e CheckFunc
000015dc g F .text 0000005a DSG_PROT_Init
000013fe g F .text 0000005a SPI_ReadWriteByte
0000018a g F .text 00000016 .hidden __riscv_restore_6
00001974 g F .text 00000046 USART3_IRQHandler
000008e0 g F .text 0000000a EXTI_ClearITPendingBit
00000440 w .text 00000000 RTC_IRQHandler
00000572 g F .text 00000008 ADC_GetCalibrationStatus
20000428 g .bss 00000000 _ebss
0000122e g F .text 0000003c USART_GetITStatus
0000283e g F .text 00000076 g_Mppt_Para_Init
00000440 w .text 00000000 DMA1_Channel7_IRQHandler
20000188 g O .bss 00000001 USART3_Rbuffer
00000560 g F .text 00000008 ADC_GetResetCalibrationStatus
00000440 w .text 00000000 CAN1_RX1_IRQHandler
00001c6e g F .text 00000020 Delay_Init
00001458 g F .text 00000068 SPI_Flash_Read
00001c38 g F .text 00000026 OutRingQueue
00000de4 g F .text 0000001e RCC_PB2PeriphClockCmd
00000b10 g F .text 00000190 GPIO_IPD_Unused
00000440 w .text 00000000 USBPDWakeUp_IRQHandler
000009aa g F .text 00000004 GPIO_SetBits
00000440 w .text 00000000 TIM4_IRQHandler
00002b7a g F .text 000000b6 .hidden __ledf2
00001076 g F .text 0000001a TIM_ARRPreloadConfig
00000148 g F .text 00000028 .hidden __riscv_save_9
000009ae g F .text 0000000a GPIO_WriteBit
00004930 g O .text 00000020 __sf_fake_stderr
000016a6 g F .text 00000048 PWM_GPIO_Configuration
00000156 g F .text 0000001a .hidden __riscv_save_4
00000440 w .text 00000000 I2C1_EV_IRQHandler
000019ba g F .text 00000046 USART4_IRQHandler
000017ea g F .text 000000b2 GW_485_Init
000010ea g F .text 00000018 TIM_GetITStatus
00000d0e g F .text 000000d6 RCC_GetClocksFreq
00000440 w .text 00000000 DMA1_Channel6_IRQHandler
00002fc2 g F .text 0000006e .hidden __clzsi2
00001bd4 g F .text 00000028 TimeSliceOffset_Produce
00003aee g F .text 00000042 __sfputs_r
2000017c g O .bss 00000004 TS_Val
0000430e g F .text 00000018 memchr
0000110e g F .text 000000ba USART_Init
0000394a g F .text 000000a8 _free_r
00001a80 g F .text 00000028 TIM3_IRQHandler
00000440 w .text 00000000 RCC_IRQHandler
00000170 g F .text 0000000c .hidden __riscv_save_3
00000440 w .text 00000000 TIM1_TRG_COM_IRQHandler
00000440 w .text 00000000 DMA1_Channel1_IRQHandler
0000151c g F .text 00000030 RUN_LED_Init
00000000 g .init 00000000 _start
00003258 g F .text 00000084 rand
0000437a g F .text 0000000c _lseek
20000198 g O .bss 00000001 RegistrationRequestFlag
00001090 g F .text 00000016 TIM_OC2PreloadConfig
00000e02 g F .text 0000001e RCC_PB1PeriphClockCmd
000014c0 g F .text 0000005c G_FFMOS_CON_Init
00000440 w .text 00000000 EXTI15_10_IRQHandler
00001064 g F .text 00000012 TIM_ITConfig
00000f12 g F .text 000000a8 TIM_OC2Init
00000440 w .text 00000000 ADC_IRQHandler
000011de g F .text 00000036 USART_ITConfig
00000858 g F .text 0000006a EXTI_Init
20000178 g O .bss 00000004 OPA_Trim
00000440 w .text 00000000 DMA1_Channel8_IRQHandler
20000160 g O .data 00000004 g_duty_ratio
00004268 g F .text 00000028 _close_r
20000000 g .dalign 00000000 _data_vma
000015ac g F .text 00000030 POW_OUT_CON_Init
000028f2 g F .text 00000042 hardware_Init
00000fba g F .text 0000007c TIM_OC4Init
00003398 g F .text 000000fc __swsetup_r
00000440 w .text 00000000 EXTI9_5_IRQHandler
0000374c g F .text 000000a0 __sfp
20000210 g O .bss 00000010 m_runled
00000ae4 g F .text 0000002c GPIO_EXTILineConfig
00000148 g F .text 00000028 .hidden __riscv_save_10
00004190 g F .text 0000002c __sread
200000b8 g O .data 00000038 uart_devices
00004326 g F .text 00000002 __malloc_lock
0000018a g F .text 00000016 .hidden __riscv_restore_4
00000180 g F .text 00000020 .hidden __riscv_restore_8
000035c4 g F .text 00000066 _fflush_r
00000156 g F .text 0000001a .hidden __riscv_save_6
000008c2 g F .text 0000001e EXTI_GetITStatus
00000440 w .text 00000000 SPI2_IRQHandler
00004950 g O .text 00000020 __sf_fake_stdin
000001a0 g F .text 000000a8 memset
00000180 g F .text 00000020 .hidden __riscv_restore_9
0000018a g F .text 00000016 .hidden __riscv_restore_7
0000024c g F .text 0000004a main
00001a5c g F .text 00000024 TIM3_Init
00003202 g F .text 00000056 srand
00002a14 g F .text 00000018 gw485_tx_disenabla
00004234 g F .text 00000006 __sclose
000039f2 g F .text 000000d4 _malloc_r
0000067e g F .text 000001d4 Get_CalibrationValue
00000440 w .text 00000000 DMA1_Channel5_IRQHandler
20000220 g O .bss 00000010 m_usart
00000440 w .text 00000000 EXTI4_IRQHandler
00001c8e g F .text 00000036 Delay_Ms
00000440 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
00002c30 g F .text 00000290 .hidden __mulsf3
000010bc g F .text 00000016 TIM_SetCompare4
00000632 g F .text 00000018 ADC_BufferCmd
00000e70 g F .text 0000001a SPI_Cmd
00000296 g F .text 00000106 SystemInit
0000064a g F .text 00000012 ADC_DutyDelayCmd
000030e2 g F .text 00000040 iprintf
000023e2 g F .text 000002de read_and_process_uart_data
2000018c g O .bss 00000001 USART4_Rbuffer
00000440 w .text 00000000 USB_HP_CAN1_TX_IRQHandler
00004830 g O .text 00000100 .hidden __clz_tab
00000000 g .init 00000000 _sinit
00000440 w .text 00000000 CMPWakeUp_IRQHandler
0000423a g F .text 0000002e _write_r
00000440 w .text 00000000 DMA1_Channel3_IRQHandler
00003db8 g F .text 0000010c _printf_common
20000164 g O .data 00000004 _impure_ptr
000026f4 g F .text 0000014a Task_recvbroadcast
00000440 w .text 00000000 TIM1_UP_IRQHandler
00003494 g F .text 00000130 __sflush_r
00000440 w .text 00000000 LPTIMWakeUp_IRQHandler
00000440 w .text 00000000 WWDG_IRQHandler
00001b84 g F .text 0000002e TimeSliceOffset_Unregister
00000440 w .text 00000000 Ecall_U_Mode_Handler
000028b4 g F .text 0000003e task_Init
20000040 g O .data 00000030 g_MsgTbl
0000066e g F .text 00000010 ADC_Sample_ModeConfig
00001b1c g F .text 0000002a TIM2_IRQHandler
20005000 g .stack 00000000 _eusrstack
00000170 g F .text 0000000c .hidden __riscv_save_2
00000440 w .text 00000000 SW_Handler
000004c8 g F .text 00000028 ADC_DeInit
00000440 w .text 00000000 TIM1_BRK_IRQHandler
00003856 g F .text 00000058 __swhatbuf_r
000004f0 g F .text 00000056 ADC_Init
00001214 g F .text 00000008 USART_SendData
00000440 w .text 00000000 OPA_IRQHandler
0000207e g F .text 0000007a Check_485_bus_busy
20000200 g O .bss 00000010 m_recvbroadcast
00000440 w .text 00000000 EXTI1_IRQHandler
00000156 g F .text 0000001a .hidden __riscv_save_5
00001668 g F .text 0000003e EnPowerSupply_Init
00001d1e g F .text 0000003e _write
20000170 g .data 00000000 _edata
20000428 g .bss 00000000 _end
00000e9c g F .text 00000076 TIM_TimeBaseInit
00000440 w .text 00000000 RTCAlarm_IRQHandler
000049cc g .dlalign 00000000 _data_lma
00000440 w .text 00000000 USART2_IRQHandler
000041bc g F .text 00000048 __swrite
0000189c g F .text 000000be BAT_485_Init
00003b30 g F .text 00000288 _vfiprintf_r
000037ec g F .text 0000006a _fwalk_reent
0000039c g F .text 000000a4 SystemCoreClockUpdate
0000154c g F .text 00000032 WDI_INPUT_Init
00000440 w .text 00000000 I2C2_ER_IRQHandler
00000440 w .text 00000000 DMA1_Channel2_IRQHandler
000016ee g F .text 00000080 PWM_TIM_Configuration
00004970 g O .text 00000020 __sf_fake_stdout
20000000 g O .data 00000010 HBPrescTable
0000017c g F .text 00000024 .hidden __riscv_restore_12
00004386 g F .text 0000000c _read
00000442 w .text 00000000 handle_reset
00000440 w .text 00000000 CAN1_SCE_IRQHandler
00002ec0 g F .text 00000056 .hidden __fixunssfsi
00000440 w .text 00000000 FLASH_IRQHandler
00000170 g F .text 0000000c .hidden __riscv_save_0
00000440 w .text 00000000 USBFSWakeUp_IRQHandler
2000019c g O .bss 00000004 g_recvBroadcastDevice
00001af6 g F .text 00000026 TIM2_Init
00000440 w .text 00000000 USART1_IRQHandler
000038ae g F .text 00000092 __smakebuf_r
00003ec4 g F .text 000002a2 _printf_i
200001b4 g O .bss 00000017 g_Mppt_Para
00002acc g F .text 000000ae .hidden __gedf2
200001b0 g O .bss 00000004 __malloc_sbrk_start
00000440 w .text 00000000 I2C1_ER_IRQHandler
0000135a g F .text 000000a4 SPI_Flash_Init
00000e3e g F .text 00000032 SPI_Init
00000ca0 g F .text 00000006 NVIC_PriorityGroupConfig
0000126a g F .text 000000f0 ADC_all_Init
0000176e g F .text 0000007c Set_duty_ratio
00000440 w .text 00000000 TKeyWakeUp_IRQHandler
200001ac g O .bss 00000004 __malloc_free_list
00000194 g F .text 0000000c .hidden __riscv_restore_1
200001a8 g O .bss 00000004 g_gw485_uart4_handle
00003b30 g F .text 00000288 _vfprintf_r
0000157e g F .text 0000002e BEEP_Init
00004356 g F .text 0000000c _close
00002a98 g F .text 00000026 uart_dev_in_char
Disassembly of section .init:
00000000 <_sinit>:
0: 4420006f j 442 <handle_reset>
Disassembly of section .vector:
00000004 <_vector_base>:
...
c: 0248 addi a0,sp,260
e: 0000 unimp
10: 024a slli tp,tp,0x12
12: 0000 unimp
14: 0000 unimp
16: 0000 unimp
18: 0440 addi s0,sp,516
...
22: 0000 unimp
24: 0440 addi s0,sp,516
26: 0000 unimp
28: 0440 addi s0,sp,516
...
32: 0000 unimp
34: 0440 addi s0,sp,516
36: 0000 unimp
38: 0000 unimp
3a: 0000 unimp
3c: 0440 addi s0,sp,516
3e: 0000 unimp
40: 0000 unimp
42: 0000 unimp
44: 0440 addi s0,sp,516
46: 0000 unimp
48: 0440 addi s0,sp,516
4a: 0000 unimp
4c: 0440 addi s0,sp,516
4e: 0000 unimp
50: 0440 addi s0,sp,516
52: 0000 unimp
54: 0440 addi s0,sp,516
56: 0000 unimp
58: 0440 addi s0,sp,516
5a: 0000 unimp
5c: 0440 addi s0,sp,516
5e: 0000 unimp
60: 0440 addi s0,sp,516
62: 0000 unimp
64: 1636 slli a2,a2,0x2d
66: 0000 unimp
68: 0440 addi s0,sp,516
6a: 0000 unimp
6c: 0440 addi s0,sp,516
6e: 0000 unimp
70: 0440 addi s0,sp,516
72: 0000 unimp
74: 0440 addi s0,sp,516
76: 0000 unimp
78: 0440 addi s0,sp,516
7a: 0000 unimp
7c: 0440 addi s0,sp,516
7e: 0000 unimp
80: 0440 addi s0,sp,516
82: 0000 unimp
84: 0440 addi s0,sp,516
86: 0000 unimp
88: 0440 addi s0,sp,516
8a: 0000 unimp
8c: 0440 addi s0,sp,516
8e: 0000 unimp
90: 0440 addi s0,sp,516
92: 0000 unimp
94: 0440 addi s0,sp,516
96: 0000 unimp
98: 0440 addi s0,sp,516
9a: 0000 unimp
9c: 0440 addi s0,sp,516
9e: 0000 unimp
a0: 0440 addi s0,sp,516
a2: 0000 unimp
a4: 0440 addi s0,sp,516
a6: 0000 unimp
a8: 0440 addi s0,sp,516
aa: 0000 unimp
ac: 0440 addi s0,sp,516
ae: 0000 unimp
b0: 0440 addi s0,sp,516
b2: 0000 unimp
b4: 1b1c addi a5,sp,432
b6: 0000 unimp
b8: 1a80 addi s0,sp,368
ba: 0000 unimp
bc: 0440 addi s0,sp,516
be: 0000 unimp
c0: 0440 addi s0,sp,516
c2: 0000 unimp
c4: 0440 addi s0,sp,516
c6: 0000 unimp
c8: 0440 addi s0,sp,516
ca: 0000 unimp
cc: 0440 addi s0,sp,516
ce: 0000 unimp
d0: 0440 addi s0,sp,516
d2: 0000 unimp
d4: 0440 addi s0,sp,516
d6: 0000 unimp
d8: 0440 addi s0,sp,516
da: 0000 unimp
dc: 0440 addi s0,sp,516
de: 0000 unimp
e0: 1974 addi a3,sp,188
e2: 0000 unimp
e4: 0440 addi s0,sp,516
e6: 0000 unimp
e8: 0440 addi s0,sp,516
ea: 0000 unimp
ec: 0440 addi s0,sp,516
ee: 0000 unimp
f0: 0440 addi s0,sp,516
f2: 0000 unimp
f4: 0440 addi s0,sp,516
f6: 0000 unimp
f8: 19ba slli s3,s3,0x2e
fa: 0000 unimp
fc: 0440 addi s0,sp,516
fe: 0000 unimp
100: 0440 addi s0,sp,516
102: 0000 unimp
104: 0440 addi s0,sp,516
106: 0000 unimp
108: 0440 addi s0,sp,516
10a: 0000 unimp
10c: 0440 addi s0,sp,516
10e: 0000 unimp
110: 0440 addi s0,sp,516
112: 0000 unimp
114: 0440 addi s0,sp,516
...
Disassembly of section .text:
00000140 <__riscv_save_12>:
140: 7139 addi sp,sp,-64
142: 4301 li t1,0
144: c66e sw s11,12(sp)
146: a019 j 14c <__riscv_save_10+0x4>
00000148 <__riscv_save_10>:
148: 7139 addi sp,sp,-64
14a: 5341 li t1,-16
14c: c86a sw s10,16(sp)
14e: ca66 sw s9,20(sp)
150: cc62 sw s8,24(sp)
152: ce5e sw s7,28(sp)
154: a019 j 15a <__riscv_save_4+0x4>
00000156 <__riscv_save_4>:
156: 7139 addi sp,sp,-64
158: 5301 li t1,-32
15a: d05a sw s6,32(sp)
15c: d256 sw s5,36(sp)
15e: d452 sw s4,40(sp)
160: d64e sw s3,44(sp)
162: d84a sw s2,48(sp)
164: da26 sw s1,52(sp)
166: dc22 sw s0,56(sp)
168: de06 sw ra,60(sp)
16a: 40610133 sub sp,sp,t1
16e: 8282 jr t0
00000170 <__riscv_save_0>:
170: 1141 addi sp,sp,-16
172: c04a sw s2,0(sp)
174: c226 sw s1,4(sp)
176: c422 sw s0,8(sp)
178: c606 sw ra,12(sp)
17a: 8282 jr t0
0000017c <__riscv_restore_12>:
17c: 4db2 lw s11,12(sp)
17e: 0141 addi sp,sp,16
00000180 <__riscv_restore_10>:
180: 4d02 lw s10,0(sp)
182: 4c92 lw s9,4(sp)
184: 4c22 lw s8,8(sp)
186: 4bb2 lw s7,12(sp)
188: 0141 addi sp,sp,16
0000018a <__riscv_restore_4>:
18a: 4b02 lw s6,0(sp)
18c: 4a92 lw s5,4(sp)
18e: 4a22 lw s4,8(sp)
190: 49b2 lw s3,12(sp)
192: 0141 addi sp,sp,16
00000194 <__riscv_restore_0>:
194: 4902 lw s2,0(sp)
196: 4492 lw s1,4(sp)
198: 4422 lw s0,8(sp)
19a: 40b2 lw ra,12(sp)
19c: 0141 addi sp,sp,16
19e: 8082 ret
000001a0 <memset>:
1a0: 433d li t1,15
1a2: 872a mv a4,a0
1a4: 02c37363 bgeu t1,a2,1ca <memset+0x2a>
1a8: 00f77793 andi a5,a4,15
1ac: efbd bnez a5,22a <memset+0x8a>
1ae: e5ad bnez a1,218 <memset+0x78>
1b0: ff067693 andi a3,a2,-16
1b4: 8a3d andi a2,a2,15
1b6: 96ba add a3,a3,a4
1b8: c30c sw a1,0(a4)
1ba: c34c sw a1,4(a4)
1bc: c70c sw a1,8(a4)
1be: c74c sw a1,12(a4)
1c0: 0741 addi a4,a4,16
1c2: fed76be3 bltu a4,a3,1b8 <memset+0x18>
1c6: e211 bnez a2,1ca <memset+0x2a>
1c8: 8082 ret
1ca: 40c306b3 sub a3,t1,a2
1ce: 068a slli a3,a3,0x2
1d0: 00000297 auipc t0,0x0
1d4: 9696 add a3,a3,t0
1d6: 00a68067 jr 10(a3)
1da: 00b70723 sb a1,14(a4)
1de: 00b706a3 sb a1,13(a4)
1e2: 00b70623 sb a1,12(a4)
1e6: 00b705a3 sb a1,11(a4)
1ea: 00b70523 sb a1,10(a4)
1ee: 00b704a3 sb a1,9(a4)
1f2: 00b70423 sb a1,8(a4)
1f6: 00b703a3 sb a1,7(a4)
1fa: 00b70323 sb a1,6(a4)
1fe: 00b702a3 sb a1,5(a4)
202: 00b70223 sb a1,4(a4)
206: 00b701a3 sb a1,3(a4)
20a: 00b70123 sb a1,2(a4)
20e: 00b700a3 sb a1,1(a4)
212: 00b70023 sb a1,0(a4)
216: 8082 ret
218: 0ff5f593 andi a1,a1,255
21c: 00859693 slli a3,a1,0x8
220: 8dd5 or a1,a1,a3
222: 01059693 slli a3,a1,0x10
226: 8dd5 or a1,a1,a3
228: b761 j 1b0 <memset+0x10>
22a: 00279693 slli a3,a5,0x2
22e: 00000297 auipc t0,0x0
232: 9696 add a3,a3,t0
234: 8286 mv t0,ra
236: fa8680e7 jalr -88(a3)
23a: 8096 mv ra,t0
23c: 17c1 addi a5,a5,-16
23e: 8f1d sub a4,a4,a5
240: 963e add a2,a2,a5
242: f8c374e3 bgeu t1,a2,1ca <memset+0x2a>
246: b7a5 j 1ae <memset+0xe>
00000248 <NMI_Handler>:
248: a001 j 248 <NMI_Handler>
0000024a <HardFault_Handler>:
24a: a001 j 24a <HardFault_Handler>
0000024c <main>:
24c: f25ff2ef jal t0,170 <__riscv_save_0>
250: 4505 li a0,1
252: 24f000ef jal ra,ca0 <NVIC_PriorityGroupConfig>
256: 2299 jal 39c <SystemCoreClockUpdate>
258: 217010ef jal ra,1c6e <Delay_Init>
25c: 6571 lui a0,0x1c
25e: 20050513 addi a0,a0,512 # 1c200 <_data_lma+0x17834>
262: 263010ef jal ra,1cc4 <USART_Printf_Init>
266: 200007b7 lui a5,0x20000
26a: 1507a583 lw a1,336(a5) # 20000150 <SystemCoreClock>
26e: 00004537 lui a0,0x4
272: 39450513 addi a0,a0,916 # 4394 <_read+0xe>
276: 66d020ef jal ra,30e2 <iprintf>
27a: 2be1 jal 852 <DBGMCU_GetCHIPID>
27c: 85aa mv a1,a0
27e: 00004537 lui a0,0x4
282: 3a450513 addi a0,a0,932 # 43a4 <_read+0x1e>
286: 65d020ef jal ra,30e2 <iprintf>
28a: 668020ef jal ra,28f2 <hardware_Init>
28e: 626020ef jal ra,28b4 <task_Init>
292: 4501 li a0,0
294: b701 j 194 <__riscv_restore_0>
00000296 <SystemInit>:
296: edbff2ef jal t0,170 <__riscv_save_0>
29a: 40021437 lui s0,0x40021
29e: 401c lw a5,0(s0)
2a0: 08ff0737 lui a4,0x8ff0
2a4: 1141 addi sp,sp,-16
2a6: 0017e793 ori a5,a5,1
2aa: c01c sw a5,0(s0)
2ac: 405c lw a5,4(s0)
2ae: 8ff9 and a5,a5,a4
2b0: c05c sw a5,4(s0)
2b2: 401c lw a5,0(s0)
2b4: fef70737 lui a4,0xfef70
2b8: 176d addi a4,a4,-5
2ba: 8ff9 and a5,a5,a4
2bc: c01c sw a5,0(s0)
2be: 401c lw a5,0(s0)
2c0: fffc0737 lui a4,0xfffc0
2c4: 177d addi a4,a4,-1
2c6: 8ff9 and a5,a5,a4
2c8: c01c sw a5,0(s0)
2ca: 405c lw a5,4(s0)
2cc: ff010737 lui a4,0xff010
2d0: 177d addi a4,a4,-1
2d2: 8ff9 and a5,a5,a4
2d4: c05c sw a5,4(s0)
2d6: 009f07b7 lui a5,0x9f0
2da: c41c sw a5,8(s0)
2dc: 035000ef jal ra,b10 <GPIO_IPD_Unused>
2e0: c402 sw zero,8(sp)
2e2: c602 sw zero,12(sp)
2e4: 400227b7 lui a5,0x40022
2e8: 4705 li a4,1
2ea: c398 sw a4,0(a5)
2ec: 401c lw a5,0(s0)
2ee: 6741 lui a4,0x10
2f0: 400216b7 lui a3,0x40021
2f4: 8fd9 or a5,a5,a4
2f6: c01c sw a5,0(s0)
2f8: 00020637 lui a2,0x20
2fc: 6705 lui a4,0x1
2fe: 429c lw a5,0(a3)
300: 8ff1 and a5,a5,a2
302: c63e sw a5,12(sp)
304: 47a2 lw a5,8(sp)
306: 0785 addi a5,a5,1
308: c43e sw a5,8(sp)
30a: 47b2 lw a5,12(sp)
30c: e781 bnez a5,314 <SystemInit+0x7e>
30e: 47a2 lw a5,8(sp)
310: fee797e3 bne a5,a4,2fe <SystemInit+0x68>
314: 400217b7 lui a5,0x40021
318: 439c lw a5,0(a5)
31a: 00e79713 slli a4,a5,0xe
31e: 06075763 bgez a4,38c <SystemInit+0xf6>
322: 4785 li a5,1
324: c63e sw a5,12(sp)
326: 4732 lw a4,12(sp)
328: 4785 li a5,1
32a: 06f71363 bne a4,a5,390 <SystemInit+0xfa>
32e: 400217b7 lui a5,0x40021
332: 43d8 lw a4,4(a5)
334: ffc106b7 lui a3,0xffc10
338: 16fd addi a3,a3,-1
33a: c3d8 sw a4,4(a5)
33c: 43d8 lw a4,4(a5)
33e: c3d8 sw a4,4(a5)
340: 43d8 lw a4,4(a5)
342: 40076713 ori a4,a4,1024
346: c3d8 sw a4,4(a5)
348: 43d8 lw a4,4(a5)
34a: 8f75 and a4,a4,a3
34c: c3d8 sw a4,4(a5)
34e: 43d8 lw a4,4(a5)
350: 001106b7 lui a3,0x110
354: 8f55 or a4,a4,a3
356: c3d8 sw a4,4(a5)
358: 4398 lw a4,0(a5)
35a: 010006b7 lui a3,0x1000
35e: 8f55 or a4,a4,a3
360: c398 sw a4,0(a5)
362: 4398 lw a4,0(a5)
364: 00671693 slli a3,a4,0x6
368: fe06dde3 bgez a3,362 <SystemInit+0xcc>
36c: 43d8 lw a4,4(a5)
36e: 400216b7 lui a3,0x40021
372: 9b71 andi a4,a4,-4
374: c3d8 sw a4,4(a5)
376: 43d8 lw a4,4(a5)
378: 00276713 ori a4,a4,2
37c: c3d8 sw a4,4(a5)
37e: 4721 li a4,8
380: 42dc lw a5,4(a3)
382: 8bb1 andi a5,a5,12
384: fee79ee3 bne a5,a4,380 <SystemInit+0xea>
388: 0141 addi sp,sp,16
38a: b529 j 194 <__riscv_restore_0>
38c: c602 sw zero,12(sp)
38e: bf61 j 326 <SystemInit+0x90>
390: 40022737 lui a4,0x40022
394: 431c lw a5,0(a4)
396: 9bf1 andi a5,a5,-4
398: c31c sw a5,0(a4)
39a: b7fd j 388 <SystemInit+0xf2>
0000039c <SystemCoreClockUpdate>:
39c: 400216b7 lui a3,0x40021
3a0: 42dc lw a5,4(a3)
3a2: 20000737 lui a4,0x20000
3a6: 4611 li a2,4
3a8: 8bb1 andi a5,a5,12
3aa: 15070713 addi a4,a4,336 # 20000150 <SystemCoreClock>
3ae: 02c78f63 beq a5,a2,3ec <SystemCoreClockUpdate+0x50>
3b2: 4621 li a2,8
3b4: 04c78163 beq a5,a2,3f6 <SystemCoreClockUpdate+0x5a>
3b8: eb95 bnez a5,3ec <SystemCoreClockUpdate+0x50>
3ba: 429c lw a5,0(a3)
3bc: 8b91 andi a5,a5,4
3be: c79d beqz a5,3ec <SystemCoreClockUpdate+0x50>
3c0: 000f47b7 lui a5,0xf4
3c4: 24078793 addi a5,a5,576 # f4240 <_data_lma+0xef874>
3c8: c31c sw a5,0(a4)
3ca: 400217b7 lui a5,0x40021
3ce: 43dc lw a5,4(a5)
3d0: 8391 srli a5,a5,0x4
3d2: 00f7f693 andi a3,a5,15
3d6: 200007b7 lui a5,0x20000
3da: 00078793 mv a5,a5
3de: 97b6 add a5,a5,a3
3e0: 2394 lbu a3,0(a5)
3e2: 431c lw a5,0(a4)
3e4: 00d7d7b3 srl a5,a5,a3
3e8: c31c sw a5,0(a4)
3ea: 8082 ret
3ec: 007a17b7 lui a5,0x7a1
3f0: 20078793 addi a5,a5,512 # 7a1200 <_data_lma+0x79c834>
3f4: bfd1 j 3c8 <SystemCoreClockUpdate+0x2c>
3f6: 42dc lw a5,4(a3)
3f8: 42d4 lw a3,4(a3)
3fa: 6641 lui a2,0x10
3fc: 83c9 srli a5,a5,0x12
3fe: 8bbd andi a5,a5,15
400: 8ef1 and a3,a3,a2
402: 0789 addi a5,a5,2
404: 4645 li a2,17
406: 00c79363 bne a5,a2,40c <SystemCoreClockUpdate+0x70>
40a: 47c9 li a5,18
40c: ee81 bnez a3,424 <SystemCoreClockUpdate+0x88>
40e: 400246b7 lui a3,0x40024
412: 8006a683 lw a3,-2048(a3) # 40023800 <_eusrstack+0x2001e800>
416: 8ac1 andi a3,a3,16
418: ce89 beqz a3,432 <SystemCoreClockUpdate+0x96>
41a: 007a16b7 lui a3,0x7a1
41e: 20068693 addi a3,a3,512 # 7a1200 <_data_lma+0x79c834>
422: a821 j 43a <SystemCoreClockUpdate+0x9e>
424: 400216b7 lui a3,0x40021
428: 42d4 lw a3,4(a3)
42a: 00e69613 slli a2,a3,0xe
42e: fe0656e3 bgez a2,41a <SystemCoreClockUpdate+0x7e>
432: 003d16b7 lui a3,0x3d1
436: 90068693 addi a3,a3,-1792 # 3d0900 <_data_lma+0x3cbf34>
43a: 02d787b3 mul a5,a5,a3
43e: b769 j 3c8 <SystemCoreClockUpdate+0x2c>
00000440 <ADC_IRQHandler>:
440: a001 j 440 <ADC_IRQHandler>
00000442 <handle_reset>:
442: 20000197 auipc gp,0x20000
446: 50e18193 addi gp,gp,1294 # 20000950 <__global_pointer$>
44a: 20005117 auipc sp,0x20005
44e: bb610113 addi sp,sp,-1098 # 20005000 <_eusrstack>
452: 00004517 auipc a0,0x4
456: 57a50513 addi a0,a0,1402 # 49cc <_data_lma>
45a: 20000597 auipc a1,0x20000
45e: ba658593 addi a1,a1,-1114 # 20000000 <_data_vma>
462: 82018613 addi a2,gp,-2016 # 20000170 <_edata>
466: 00c5fa63 bgeu a1,a2,47a <handle_reset+0x38>
46a: 00052283 lw t0,0(a0)
46e: 0055a023 sw t0,0(a1)
472: 0511 addi a0,a0,4
474: 0591 addi a1,a1,4
476: fec5eae3 bltu a1,a2,46a <handle_reset+0x28>
47a: 82018513 addi a0,gp,-2016 # 20000170 <_edata>
47e: ad818593 addi a1,gp,-1320 # 20000428 <_ebss>
482: 00b57763 bgeu a0,a1,490 <handle_reset+0x4e>
486: 00052023 sw zero,0(a0)
48a: 0511 addi a0,a0,4
48c: feb56de3 bltu a0,a1,486 <handle_reset+0x44>
490: 42fd li t0,31
492: bc029073 csrw 0xbc0,t0
496: 428d li t0,3
498: 80429073 csrw 0x804,t0
49c: 08800293 li t0,136
4a0: 30029073 csrw mstatus,t0
4a4: 00000297 auipc t0,0x0
4a8: b6028293 addi t0,t0,-1184 # 4 <_einit>
4ac: 0032e293 ori t0,t0,3
4b0: 30529073 csrw mtvec,t0
4b4: de3ff0ef jal ra,296 <SystemInit>
4b8: 00000297 auipc t0,0x0
4bc: d9428293 addi t0,t0,-620 # 24c <main>
4c0: 34129073 csrw mepc,t0
4c4: 30200073 mret
000004c8 <ADC_DeInit>:
4c8: 400127b7 lui a5,0x40012
4cc: 40078793 addi a5,a5,1024 # 40012400 <_eusrstack+0x2000d400>
4d0: 00f51f63 bne a0,a5,4ee <ADC_DeInit+0x26>
4d4: c9dff2ef jal t0,170 <__riscv_save_0>
4d8: 4585 li a1,1
4da: 20000513 li a0,512
4de: 143000ef jal ra,e20 <RCC_PB2PeriphResetCmd>
4e2: 4581 li a1,0
4e4: 20000513 li a0,512
4e8: 139000ef jal ra,e20 <RCC_PB2PeriphResetCmd>
4ec: b165 j 194 <__riscv_restore_0>
4ee: 8082 ret
000004f0 <ADC_Init>:
4f0: 415c lw a5,4(a0)
4f2: e0f10737 lui a4,0xe0f10
4f6: eff70713 addi a4,a4,-257 # e0f0feff <_eusrstack+0xc0f0aeff>
4fa: 4d94 lw a3,24(a1)
4fc: 8f7d and a4,a4,a5
4fe: 419c lw a5,0(a1)
500: 8fd5 or a5,a5,a3
502: 4dd4 lw a3,28(a1)
504: 8fd5 or a5,a5,a3
506: 41d4 lw a3,4(a1)
508: 06a2 slli a3,a3,0x8
50a: 8fd5 or a5,a5,a3
50c: 8fd9 or a5,a5,a4
50e: c15c sw a5,4(a0)
510: 451c lw a5,8(a0)
512: fff1f737 lui a4,0xfff1f
516: 7fd70713 addi a4,a4,2045 # fff1f7fd <_eusrstack+0xdff1a7fd>
51a: 45d4 lw a3,12(a1)
51c: 8f7d and a4,a4,a5
51e: 499c lw a5,16(a1)
520: 8fd5 or a5,a5,a3
522: 4594 lw a3,8(a1)
524: 0686 slli a3,a3,0x1
526: 8fd5 or a5,a5,a3
528: 8fd9 or a5,a5,a4
52a: c51c sw a5,8(a0)
52c: 555c lw a5,44(a0)
52e: ff100737 lui a4,0xff100
532: 177d addi a4,a4,-1
534: 8f7d and a4,a4,a5
536: 29dc lbu a5,20(a1)
538: 17fd addi a5,a5,-1
53a: 0ff7f793 andi a5,a5,255
53e: 07d2 slli a5,a5,0x14
540: 8fd9 or a5,a5,a4
542: d55c sw a5,44(a0)
544: 8082 ret
00000546 <ADC_Cmd>:
546: 451c lw a5,8(a0)
548: c589 beqz a1,552 <ADC_Cmd+0xc>
54a: 0017e793 ori a5,a5,1
54e: c51c sw a5,8(a0)
550: 8082 ret
552: 9bf9 andi a5,a5,-2
554: bfed j 54e <ADC_Cmd+0x8>
00000556 <ADC_ResetCalibration>:
556: 451c lw a5,8(a0)
558: 0087e793 ori a5,a5,8
55c: c51c sw a5,8(a0)
55e: 8082 ret
00000560 <ADC_GetResetCalibrationStatus>:
560: 4508 lw a0,8(a0)
562: 810d srli a0,a0,0x3
564: 8905 andi a0,a0,1
566: 8082 ret
00000568 <ADC_StartCalibration>:
568: 451c lw a5,8(a0)
56a: 0047e793 ori a5,a5,4
56e: c51c sw a5,8(a0)
570: 8082 ret
00000572 <ADC_GetCalibrationStatus>:
572: 4508 lw a0,8(a0)
574: 8109 srli a0,a0,0x2
576: 8905 andi a0,a0,1
578: 8082 ret
0000057a <ADC_RegularChannelConfig>:
57a: 47a5 li a5,9
57c: 04b7f763 bgeu a5,a1,5ca <ADC_RegularChannelConfig+0x50>
580: 478d li a5,3
582: ff658713 addi a4,a1,-10
586: 02f70733 mul a4,a4,a5
58a: 00c52803 lw a6,12(a0)
58e: 479d li a5,7
590: 00e797b3 sll a5,a5,a4
594: fff7c793 not a5,a5
598: 0107f7b3 and a5,a5,a6
59c: 00e696b3 sll a3,a3,a4
5a0: 8edd or a3,a3,a5
5a2: c554 sw a3,12(a0)
5a4: 4799 li a5,6
5a6: 04c7e363 bltu a5,a2,5ec <ADC_RegularChannelConfig+0x72>
5aa: 4795 li a5,5
5ac: 167d addi a2,a2,-1
5ae: 02f60633 mul a2,a2,a5
5b2: 5958 lw a4,52(a0)
5b4: 47fd li a5,31
5b6: 00c797b3 sll a5,a5,a2
5ba: fff7c793 not a5,a5
5be: 8ff9 and a5,a5,a4
5c0: 00c59633 sll a2,a1,a2
5c4: 8e5d or a2,a2,a5
5c6: d950 sw a2,52(a0)
5c8: 8082 ret
5ca: 470d li a4,3
5cc: 02e58733 mul a4,a1,a4
5d0: 01052803 lw a6,16(a0)
5d4: 479d li a5,7
5d6: 00e797b3 sll a5,a5,a4
5da: fff7c793 not a5,a5
5de: 0107f7b3 and a5,a5,a6
5e2: 00e696b3 sll a3,a3,a4
5e6: 8edd or a3,a3,a5
5e8: c914 sw a3,16(a0)
5ea: bf6d j 5a4 <ADC_RegularChannelConfig+0x2a>
5ec: 47b1 li a5,12
5ee: 02c7e263 bltu a5,a2,612 <ADC_RegularChannelConfig+0x98>
5f2: 4795 li a5,5
5f4: 1665 addi a2,a2,-7
5f6: 02f60633 mul a2,a2,a5
5fa: 5918 lw a4,48(a0)
5fc: 47fd li a5,31
5fe: 00c797b3 sll a5,a5,a2
602: fff7c793 not a5,a5
606: 8ff9 and a5,a5,a4
608: 00c59633 sll a2,a1,a2
60c: 8e5d or a2,a2,a5
60e: d910 sw a2,48(a0)
610: 8082 ret
612: 4795 li a5,5
614: 164d addi a2,a2,-13
616: 02f60633 mul a2,a2,a5
61a: 5558 lw a4,44(a0)
61c: 47fd li a5,31
61e: 00c797b3 sll a5,a5,a2
622: fff7c793 not a5,a5
626: 8ff9 and a5,a5,a4
628: 00c595b3 sll a1,a1,a2
62c: 8ddd or a1,a1,a5
62e: d54c sw a1,44(a0)
630: 8082 ret
00000632 <ADC_BufferCmd>:
632: 415c lw a5,4(a0)
634: c591 beqz a1,640 <ADC_BufferCmd+0xe>
636: 04000737 lui a4,0x4000
63a: 8fd9 or a5,a5,a4
63c: c15c sw a5,4(a0)
63e: 8082 ret
640: fc000737 lui a4,0xfc000
644: 177d addi a4,a4,-1
646: 8ff9 and a5,a5,a4
648: bfd5 j 63c <ADC_BufferCmd+0xa>
0000064a <ADC_DutyDelayCmd>:
64a: 493c lw a5,80(a0)
64c: c589 beqz a1,656 <ADC_DutyDelayCmd+0xc>
64e: 0807e793 ori a5,a5,128
652: c93c sw a5,80(a0)
654: 8082 ret
656: f7f7f793 andi a5,a5,-129
65a: bfe5 j 652 <ADC_DutyDelayCmd+0x8>
0000065c <ADC_FIFO_Cmd>:
65c: 493c lw a5,80(a0)
65e: c589 beqz a1,668 <ADC_FIFO_Cmd+0xc>
660: 0407e793 ori a5,a5,64
664: c93c sw a5,80(a0)
666: 8082 ret
668: fbf7f793 andi a5,a5,-65
66c: bfe5 j 664 <ADC_FIFO_Cmd+0x8>
0000066e <ADC_Sample_ModeConfig>:
66e: 493c lw a5,80(a0)
670: fdf7f793 andi a5,a5,-33
674: c93c sw a5,80(a0)
676: 493c lw a5,80(a0)
678: 8ddd or a1,a1,a5
67a: c92c sw a1,80(a0)
67c: 8082 ret
0000067e <Get_CalibrationValue>:
67e: af3ff2ef jal t0,170 <__riscv_save_0>
682: 456706b7 lui a3,0x45670
686: 400227b7 lui a5,0x40022
68a: 12368693 addi a3,a3,291 # 45670123 <_eusrstack+0x2566b123>
68e: cdef9737 lui a4,0xcdef9
692: c3d4 sw a3,4(a5)
694: 9ab70713 addi a4,a4,-1621 # cdef89ab <_eusrstack+0xadef39ab>
698: c3d8 sw a4,4(a5)
69a: d3d4 sw a3,36(a5)
69c: 1101 addi sp,sp,-32
69e: c798 sw a4,8(a5)
6a0: 5bd4 lw a3,52(a5)
6a2: 03478713 addi a4,a5,52 # 40022034 <_eusrstack+0x2001d034>
6a6: 00269613 slli a2,a3,0x2
6aa: fe064be3 bltz a2,6a0 <Get_CalibrationValue+0x22>
6ae: 57d4 lw a3,44(a5)
6b0: 40012537 lui a0,0x40012
6b4: 40050513 addi a0,a0,1024 # 40012400 <_eusrstack+0x2000d400>
6b8: 2006e693 ori a3,a3,512
6bc: d7d4 sw a3,44(a5)
6be: 5bdc lw a5,52(a5)
6c0: 200006b7 lui a3,0x20000
6c4: 8fd5 or a5,a5,a3
6c6: c31c sw a5,0(a4)
6c8: 431c lw a5,0(a4)
6ca: 451c lw a5,8(a0)
6cc: 000e0737 lui a4,0xe0
6d0: 8fd9 or a5,a5,a4
6d2: c51c sw a5,8(a0)
6d4: 451c lw a5,8(a0)
6d6: 0017e793 ori a5,a5,1
6da: c51c sw a5,8(a0)
6dc: 493c lw a5,80(a0)
6de: 0407e793 ori a5,a5,64
6e2: c93c sw a5,80(a0)
6e4: 451c lw a5,8(a0)
6e6: 0087e793 ori a5,a5,8
6ea: c51c sw a5,8(a0)
6ec: 842a mv s0,a0
6ee: 8522 mv a0,s0
6f0: 3d85 jal 560 <ADC_GetResetCalibrationStatus>
6f2: fd75 bnez a0,6ee <Get_CalibrationValue+0x70>
6f4: 40012537 lui a0,0x40012
6f8: 40852783 lw a5,1032(a0) # 40012408 <_eusrstack+0x2000d408>
6fc: 40050513 addi a0,a0,1024
700: 0047e793 ori a5,a5,4
704: c51c sw a5,8(a0)
706: 842a mv s0,a0
708: 8522 mv a0,s0
70a: 35a5 jal 572 <ADC_GetCalibrationStatus>
70c: fd75 bnez a0,708 <Get_CalibrationValue+0x8a>
70e: 40012537 lui a0,0x40012
712: 4605 li a2,1
714: 45c9 li a1,18
716: 4681 li a3,0
718: 40050513 addi a0,a0,1024 # 40012400 <_eusrstack+0x2000d400>
71c: 3db9 jal 57a <ADC_RegularChannelConfig>
71e: 4625 li a2,9
720: 00010423 sb zero,8(sp)
724: 40012737 lui a4,0x40012
728: 005005b7 lui a1,0x500
72c: 841c lbu a5,8(sp)
72e: 04f67f63 bgeu a2,a5,78c <Get_CalibrationValue+0x10e>
732: 00010423 sb zero,8(sp)
736: 46a5 li a3,9
738: 4621 li a2,8
73a: 841c lbu a5,8(sp)
73c: 06f6ff63 bgeu a3,a5,7ba <Get_CalibrationValue+0x13c>
740: 00011523 sh zero,10(sp)
744: 00010423 sb zero,8(sp)
748: 4695 li a3,5
74a: 841c lbu a5,8(sp)
74c: 0ef6f163 bgeu a3,a5,82e <__stack_size+0x2e>
750: 8538 lhu a4,10(sp)
752: 853c lhu a5,10(sp)
754: 4699 li a3,6
756: 460d li a2,3
758: 02d7f7b3 remu a5,a5,a3
75c: 6505 lui a0,0x1
75e: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
762: 02d75733 divu a4,a4,a3
766: 02c7d7b3 divu a5,a5,a2
76a: 97ba add a5,a5,a4
76c: 07c2 slli a5,a5,0x10
76e: 83c1 srli a5,a5,0x10
770: 857c sh a5,10(sp)
772: 400127b7 lui a5,0x40012
776: 4087a703 lw a4,1032(a5) # 40012408 <_eusrstack+0x2000d408>
77a: 9b79 andi a4,a4,-2
77c: 40e7a423 sw a4,1032(a5)
780: 853c lhu a5,10(sp)
782: 6105 addi sp,sp,32
784: 8d1d sub a0,a0,a5
786: 0542 slli a0,a0,0x10
788: 8541 srai a0,a0,0x10
78a: b429 j 194 <__riscv_restore_0>
78c: 40872783 lw a5,1032(a4) # 40012408 <_eusrstack+0x2000d408>
790: 8fcd or a5,a5,a1
792: 40f72423 sw a5,1032(a4)
796: 40072783 lw a5,1024(a4)
79a: 8b89 andi a5,a5,2
79c: dfed beqz a5,796 <Get_CalibrationValue+0x118>
79e: 841c lbu a5,8(sp)
7a0: 44c72683 lw a3,1100(a4)
7a4: 1008 addi a0,sp,32
7a6: 0786 slli a5,a5,0x1
7a8: 97aa add a5,a5,a0
7aa: fed79623 sh a3,-20(a5)
7ae: 841c lbu a5,8(sp)
7b0: 0785 addi a5,a5,1
7b2: 0ff7f793 andi a5,a5,255
7b6: 845c sb a5,8(sp)
7b8: bf95 j 72c <Get_CalibrationValue+0xae>
7ba: 000104a3 sb zero,9(sp)
7be: 849c lbu a5,9(sp)
7c0: 00f67863 bgeu a2,a5,7d0 <Get_CalibrationValue+0x152>
7c4: 841c lbu a5,8(sp)
7c6: 0785 addi a5,a5,1
7c8: 0ff7f793 andi a5,a5,255
7cc: 845c sb a5,8(sp)
7ce: b7b5 j 73a <Get_CalibrationValue+0xbc>
7d0: 8498 lbu a4,9(sp)
7d2: 849c lbu a5,9(sp)
7d4: 100c addi a1,sp,32
7d6: 0706 slli a4,a4,0x1
7d8: 0785 addi a5,a5,1
7da: 0786 slli a5,a5,0x1
7dc: 972e add a4,a4,a1
7de: 97ae add a5,a5,a1
7e0: fec75703 lhu a4,-20(a4)
7e4: fec7d783 lhu a5,-20(a5)
7e8: 02e7fd63 bgeu a5,a4,822 <__stack_size+0x22>
7ec: 849c lbu a5,9(sp)
7ee: 0786 slli a5,a5,0x1
7f0: 97ae add a5,a5,a1
7f2: fec7d783 lhu a5,-20(a5)
7f6: 857c sh a5,10(sp)
7f8: 849c lbu a5,9(sp)
7fa: 8498 lbu a4,9(sp)
7fc: 0785 addi a5,a5,1
7fe: 0786 slli a5,a5,0x1
800: 97ae add a5,a5,a1
802: fec7d583 lhu a1,-20(a5)
806: 00171793 slli a5,a4,0x1
80a: 1018 addi a4,sp,32
80c: 97ba add a5,a5,a4
80e: feb79623 sh a1,-20(a5)
812: 849c lbu a5,9(sp)
814: 8538 lhu a4,10(sp)
816: 100c addi a1,sp,32
818: 0785 addi a5,a5,1
81a: 0786 slli a5,a5,0x1
81c: 97ae add a5,a5,a1
81e: fee79623 sh a4,-20(a5)
822: 849c lbu a5,9(sp)
824: 0785 addi a5,a5,1
826: 0ff7f793 andi a5,a5,255
82a: 84dc sb a5,9(sp)
82c: bf49 j 7be <Get_CalibrationValue+0x140>
82e: 841c lbu a5,8(sp)
830: 1010 addi a2,sp,32
832: 8538 lhu a4,10(sp)
834: 0789 addi a5,a5,2
836: 0786 slli a5,a5,0x1
838: 97b2 add a5,a5,a2
83a: fec7d783 lhu a5,-20(a5)
83e: 97ba add a5,a5,a4
840: 07c2 slli a5,a5,0x10
842: 83c1 srli a5,a5,0x10
844: 857c sh a5,10(sp)
846: 841c lbu a5,8(sp)
848: 0785 addi a5,a5,1
84a: 0ff7f793 andi a5,a5,255
84e: 845c sb a5,8(sp)
850: bded j 74a <Get_CalibrationValue+0xcc>
00000852 <DBGMCU_GetCHIPID>:
852: 8241a503 lw a0,-2012(gp) # 20000174 <CHIPID>
856: 8082 ret
00000858 <EXTI_Init>:
858: 4158 lw a4,4(a0)
85a: 00052803 lw a6,0(a0)
85e: 454c lw a1,12(a0)
860: 40010637 lui a2,0x40010
864: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x2000b400>
868: 973e add a4,a4,a5
86a: fff84693 not a3,a6
86e: c5b1 beqz a1,8ba <EXTI_Init+0x62>
870: 40062583 lw a1,1024(a2)
874: 8df5 and a1,a1,a3
876: 40b62023 sw a1,1024(a2)
87a: 43d0 lw a2,4(a5)
87c: 8ef1 and a3,a3,a2
87e: c3d4 sw a3,4(a5)
880: 4314 lw a3,0(a4)
882: 0106e6b3 or a3,a3,a6
886: c314 sw a3,0(a4)
888: 4118 lw a4,0(a0)
88a: 4790 lw a2,8(a5)
88c: fff74693 not a3,a4
890: 8e75 and a2,a2,a3
892: c790 sw a2,8(a5)
894: 47d0 lw a2,12(a5)
896: 8ef1 and a3,a3,a2
898: c7d4 sw a3,12(a5)
89a: 4514 lw a3,8(a0)
89c: 4641 li a2,16
89e: 00c69963 bne a3,a2,8b0 <EXTI_Init+0x58>
8a2: 4794 lw a3,8(a5)
8a4: 8ed9 or a3,a3,a4
8a6: c794 sw a3,8(a5)
8a8: 47d4 lw a3,12(a5)
8aa: 8f55 or a4,a4,a3
8ac: c7d8 sw a4,12(a5)
8ae: 8082 ret
8b0: 97b6 add a5,a5,a3
8b2: 4394 lw a3,0(a5)
8b4: 8f55 or a4,a4,a3
8b6: c398 sw a4,0(a5)
8b8: 8082 ret
8ba: 431c lw a5,0(a4)
8bc: 8ff5 and a5,a5,a3
8be: c31c sw a5,0(a4)
8c0: 8082 ret
000008c2 <EXTI_GetITStatus>:
8c2: 400107b7 lui a5,0x40010
8c6: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x2000b400>
8ca: 4007a783 lw a5,1024(a5)
8ce: 4b58 lw a4,20(a4)
8d0: 8f69 and a4,a4,a0
8d2: c709 beqz a4,8dc <EXTI_GetITStatus+0x1a>
8d4: 8d7d and a0,a0,a5
8d6: 00a03533 snez a0,a0
8da: 8082 ret
8dc: 4501 li a0,0
8de: 8082 ret
000008e0 <EXTI_ClearITPendingBit>:
8e0: 400107b7 lui a5,0x40010
8e4: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x2000b414>
8e8: 8082 ret
000008ea <GPIO_Init>:
8ea: 459c lw a5,8(a1)
8ec: 0107f713 andi a4,a5,16
8f0: 00f7f813 andi a6,a5,15
8f4: c701 beqz a4,8fc <GPIO_Init+0x12>
8f6: 41d8 lw a4,4(a1)
8f8: 00e86833 or a6,a6,a4
8fc: 218e lhu a1,0(a1)
8fe: 0ff5f713 andi a4,a1,255
902: c339 beqz a4,948 <GPIO_Init+0x5e>
904: 4118 lw a4,0(a0)
906: 4681 li a3,0
908: 4e85 li t4,1
90a: 4f3d li t5,15
90c: 02800f93 li t6,40
910: 04800293 li t0,72
914: 4e21 li t3,8
916: 00de9633 sll a2,t4,a3
91a: 00c5f8b3 and a7,a1,a2
91e: 03161163 bne a2,a7,940 <GPIO_Init+0x56>
922: 00269893 slli a7,a3,0x2
926: 011f1333 sll t1,t5,a7
92a: fff34313 not t1,t1
92e: 00e37733 and a4,t1,a4
932: 011818b3 sll a7,a6,a7
936: 00e8e733 or a4,a7,a4
93a: 05f79f63 bne a5,t6,998 <GPIO_Init+0xae>
93e: c950 sw a2,20(a0)
940: 0685 addi a3,a3,1
942: fdc69ae3 bne a3,t3,916 <GPIO_Init+0x2c>
946: c118 sw a4,0(a0)
948: 0ff00713 li a4,255
94c: 04b77563 bgeu a4,a1,996 <GPIO_Init+0xac>
950: 4154 lw a3,4(a0)
952: 4621 li a2,8
954: 4e85 li t4,1
956: 4f3d li t5,15
958: 02800f93 li t6,40
95c: 04800293 li t0,72
960: 4e41 li t3,16
962: 00ce98b3 sll a7,t4,a2
966: 0115f733 and a4,a1,a7
96a: 02e89263 bne a7,a4,98e <GPIO_Init+0xa4>
96e: 00261713 slli a4,a2,0x2
972: 1701 addi a4,a4,-32
974: 00ef1333 sll t1,t5,a4
978: fff34313 not t1,t1
97c: 00d376b3 and a3,t1,a3
980: 00e81733 sll a4,a6,a4
984: 8ed9 or a3,a3,a4
986: 01f79d63 bne a5,t6,9a0 <GPIO_Init+0xb6>
98a: 01152a23 sw a7,20(a0)
98e: 0605 addi a2,a2,1
990: fdc619e3 bne a2,t3,962 <GPIO_Init+0x78>
994: c154 sw a3,4(a0)
996: 8082 ret
998: fa5794e3 bne a5,t0,940 <GPIO_Init+0x56>
99c: c910 sw a2,16(a0)
99e: b74d j 940 <GPIO_Init+0x56>
9a0: fe5797e3 bne a5,t0,98e <GPIO_Init+0xa4>
9a4: 01152823 sw a7,16(a0)
9a8: b7dd j 98e <GPIO_Init+0xa4>
000009aa <GPIO_SetBits>:
9aa: c90c sw a1,16(a0)
9ac: 8082 ret
000009ae <GPIO_WriteBit>:
9ae: c219 beqz a2,9b4 <GPIO_WriteBit+0x6>
9b0: c90c sw a1,16(a0)
9b2: 8082 ret
9b4: c94c sw a1,20(a0)
9b6: 8082 ret
000009b8 <GPIO_PinRemapConfig>:
9b8: c0000737 lui a4,0xc0000
9bc: 00e577b3 and a5,a0,a4
9c0: 08e79563 bne a5,a4,a4a <GPIO_PinRemapConfig+0x92>
9c4: 40010737 lui a4,0x40010
9c8: 435c lw a5,4(a4)
9ca: 01b55693 srli a3,a0,0x1b
9ce: 4f58 lw a4,28(a4)
9d0: 8a9d andi a3,a3,7
9d2: e69d bnez a3,a00 <GPIO_PinRemapConfig+0x48>
9d4: 9bf9 andi a5,a5,-2
9d6: ff0006b7 lui a3,0xff000
9da: 16fd addi a3,a3,-1
9dc: 8f75 and a4,a4,a3
9de: c989 beqz a1,9f0 <GPIO_PinRemapConfig+0x38>
9e0: 01051693 slli a3,a0,0x10
9e4: 82c1 srli a3,a3,0x10
9e6: 8fd5 or a5,a5,a3
9e8: 01ff06b7 lui a3,0x1ff0
9ec: 8d75 and a0,a0,a3
9ee: 8f49 or a4,a4,a0
9f0: 070006b7 lui a3,0x7000
9f4: 8fd5 or a5,a5,a3
9f6: 400106b7 lui a3,0x40010
9fa: c2dc sw a5,4(a3)
9fc: ced8 sw a4,28(a3)
9fe: 8082 ret
a00: 4605 li a2,1
a02: 00c69663 bne a3,a2,a0e <GPIO_PinRemapConfig+0x56>
a06: 9bf5 andi a5,a5,-3
a08: ff8006b7 lui a3,0xff800
a0c: b7f9 j 9da <GPIO_PinRemapConfig+0x22>
a0e: 4609 li a2,2
a10: 00c69663 bne a3,a2,a1c <GPIO_PinRemapConfig+0x64>
a14: 9bed andi a5,a5,-5
a16: ffe806b7 lui a3,0xffe80
a1a: b7c1 j 9da <GPIO_PinRemapConfig+0x22>
a1c: 460d li a2,3
a1e: 00c69663 bne a3,a2,a2a <GPIO_PinRemapConfig+0x72>
a22: 9bdd andi a5,a5,-9
a24: fffc06b7 lui a3,0xfffc0
a28: bf4d j 9da <GPIO_PinRemapConfig+0x22>
a2a: 4611 li a2,4
a2c: 00c69763 bne a3,a2,a3a <GPIO_PinRemapConfig+0x82>
a30: f3f7f793 andi a5,a5,-193
a34: ffc006b7 lui a3,0xffc00
a38: b74d j 9da <GPIO_PinRemapConfig+0x22>
a3a: 4615 li a2,5
a3c: fac691e3 bne a3,a2,9de <GPIO_PinRemapConfig+0x26>
a40: cff7f793 andi a5,a5,-769
a44: ffe006b7 lui a3,0xffe00
a48: bf49 j 9da <GPIO_PinRemapConfig+0x22>
a4a: 40000737 lui a4,0x40000
a4e: 02e79163 bne a5,a4,a70 <GPIO_PinRemapConfig+0xb8>
a52: 400107b7 lui a5,0x40010
a56: 4fd8 lw a4,28(a5)
a58: 0542 slli a0,a0,0x10
a5a: 00a767b3 or a5,a4,a0
a5e: e589 bnez a1,a68 <GPIO_PinRemapConfig+0xb0>
a60: fff54513 not a0,a0
a64: 00e577b3 and a5,a0,a4
a68: 40010737 lui a4,0x40010
a6c: cf5c sw a5,28(a4)
a6e: 8082 ret
a70: e3a9 bnez a5,ab2 <GPIO_PinRemapConfig+0xfa>
a72: 40010837 lui a6,0x40010
a76: 003007b7 lui a5,0x300
a7a: 00482603 lw a2,4(a6) # 40010004 <_eusrstack+0x2000b004>
a7e: 01051713 slli a4,a0,0x10
a82: 00f576b3 and a3,a0,a5
a86: 8341 srli a4,a4,0x10
a88: 02f69663 bne a3,a5,ab4 <GPIO_PinRemapConfig+0xfc>
a8c: f90006b7 lui a3,0xf9000
a90: 16fd addi a3,a3,-1
a92: 00d677b3 and a5,a2,a3
a96: 00482603 lw a2,4(a6)
a9a: 8ef1 and a3,a3,a2
a9c: 00d82223 sw a3,4(a6)
aa0: c591 beqz a1,aac <GPIO_PinRemapConfig+0xf4>
aa2: 8155 srli a0,a0,0x15
aa4: 0512 slli a0,a0,0x4
aa6: 00a71533 sll a0,a4,a0
aaa: 8fc9 or a5,a5,a0
aac: 40010737 lui a4,0x40010
ab0: c35c sw a5,4(a4)
ab2: 8082 ret
ab4: 00b51793 slli a5,a0,0xb
ab8: 0207d063 bgez a5,ad8 <GPIO_PinRemapConfig+0x120>
abc: 01055793 srli a5,a0,0x10
ac0: 00f7f693 andi a3,a5,15
ac4: 478d li a5,3
ac6: 00d797b3 sll a5,a5,a3
aca: fff7c793 not a5,a5
ace: 8ff1 and a5,a5,a2
ad0: 070006b7 lui a3,0x7000
ad4: 8fd5 or a5,a5,a3
ad6: b7e9 j aa0 <GPIO_PinRemapConfig+0xe8>
ad8: 01555793 srli a5,a0,0x15
adc: 0792 slli a5,a5,0x4
ade: 00f717b3 sll a5,a4,a5
ae2: b7e5 j aca <GPIO_PinRemapConfig+0x112>
00000ae4 <GPIO_EXTILineConfig>:
ae4: 0fc5f713 andi a4,a1,252
ae8: 0035f793 andi a5,a1,3
aec: 400105b7 lui a1,0x40010
af0: 95ba add a1,a1,a4
af2: 4594 lw a3,8(a1)
af4: 078a slli a5,a5,0x2
af6: 473d li a4,15
af8: 00f71733 sll a4,a4,a5
afc: fff74713 not a4,a4
b00: 8f75 and a4,a4,a3
b02: c598 sw a4,8(a1)
b04: 4598 lw a4,8(a1)
b06: 00f51533 sll a0,a0,a5
b0a: 8d59 or a0,a0,a4
b0c: c588 sw a0,8(a1)
b0e: 8082 ret
00000b10 <GPIO_IPD_Unused>:
b10: e60ff2ef jal t0,170 <__riscv_save_0>
b14: 1ffff437 lui s0,0x1ffff
b18: 72442703 lw a4,1828(s0) # 1ffff724 <_data_lma+0x1fffad58>
b1c: 3e000637 lui a2,0x3e000
b20: 1141 addi sp,sp,-16
b22: 01971793 slli a5,a4,0x19
b26: fff74693 not a3,a4
b2a: 8ff1 and a5,a5,a2
b2c: 0706 slli a4,a4,0x1
b2e: 003e0637 lui a2,0x3e0
b32: 8f71 and a4,a4,a2
b34: 8fd9 or a5,a5,a4
b36: 01000637 lui a2,0x1000
b3a: 00969713 slli a4,a3,0x9
b3e: 8f71 and a4,a4,a2
b40: 8fd9 or a5,a5,a4
b42: 82bd srli a3,a3,0xf
b44: 6741 lui a4,0x10
b46: 8ef9 and a3,a3,a4
b48: 8fd5 or a5,a5,a3
b4a: c202 sw zero,4(sp)
b4c: c402 sw zero,8(sp)
b4e: c602 sw zero,12(sp)
b50: 82f1a423 sw a5,-2008(gp) # 20000178 <OPA_Trim>
b54: 72845703 lhu a4,1832(s0)
b58: 4585 li a1,1
b5a: 82e19023 sh a4,-2016(gp) # 20000170 <_edata>
b5e: 72042703 lw a4,1824(s0)
b62: 03d00513 li a0,61
b66: 82e1a623 sw a4,-2004(gp) # 2000017c <TS_Val>
b6a: 70442703 lw a4,1796(s0)
b6e: 82e1a223 sw a4,-2012(gp) # 20000174 <CHIPID>
b72: 2c8d jal de4 <RCC_PB2PeriphClockCmd>
b74: 70442783 lw a5,1796(s0)
b78: 103a0737 lui a4,0x103a0
b7c: 70070713 addi a4,a4,1792 # 103a0700 <_data_lma+0x1039bd34>
b80: f0f7f793 andi a5,a5,-241
b84: 10e78063 beq a5,a4,c84 <GPIO_IPD_Unused+0x174>
b88: 02f76163 bltu a4,a5,baa <GPIO_IPD_Unused+0x9a>
b8c: 10320737 lui a4,0x10320
b90: 70070713 addi a4,a4,1792 # 10320700 <_data_lma+0x1031bd34>
b94: 06e78063 beq a5,a4,bf4 <GPIO_IPD_Unused+0xe4>
b98: 10370737 lui a4,0x10370
b9c: 70070713 addi a4,a4,1792 # 10370700 <_data_lma+0x1036bd34>
ba0: 08e78763 beq a5,a4,c2e <GPIO_IPD_Unused+0x11e>
ba4: 0141 addi sp,sp,16
ba6: deeff06f j 194 <__riscv_restore_0>
baa: 103b0737 lui a4,0x103b0
bae: 70070713 addi a4,a4,1792 # 103b0700 <_data_lma+0x103abd34>
bb2: 0ae78b63 beq a5,a4,c68 <GPIO_IPD_Unused+0x158>
bb6: 103d0737 lui a4,0x103d0
bba: 70070713 addi a4,a4,1792 # 103d0700 <_data_lma+0x103cbd34>
bbe: fee793e3 bne a5,a4,ba4 <GPIO_IPD_Unused+0x94>
bc2: 4585 li a1,1
bc4: 6521 lui a0,0x8
bc6: 3bcd jal 9b8 <GPIO_PinRemapConfig>
bc8: 400114b7 lui s1,0x40011
bcc: 77e1 lui a5,0xffff8
bce: 04800413 li s0,72
bd2: 004c addi a1,sp,4
bd4: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
bd8: 827c sh a5,4(sp)
bda: c622 sw s0,12(sp)
bdc: 3339 jal 8ea <GPIO_Init>
bde: 6785 lui a5,0x1
be0: 33c78793 addi a5,a5,828 # 133c <ADC_all_Init+0xd2>
be4: 004c addi a1,sp,4
be6: c0048513 addi a0,s1,-1024
bea: 827c sh a5,4(sp)
bec: c622 sw s0,12(sp)
bee: 39f5 jal 8ea <GPIO_Init>
bf0: 77f9 lui a5,0xffffe
bf2: a00d j c14 <GPIO_IPD_Unused+0x104>
bf4: 4585 li a1,1
bf6: 6521 lui a0,0x8
bf8: 33c1 jal 9b8 <GPIO_PinRemapConfig>
bfa: 400114b7 lui s1,0x40011
bfe: e0000793 li a5,-512
c02: 04800413 li s0,72
c06: 004c addi a1,sp,4
c08: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
c0c: 827c sh a5,4(sp)
c0e: c622 sw s0,12(sp)
c10: 39e9 jal 8ea <GPIO_Init>
c12: 6789 lui a5,0x2
c14: 004c addi a1,sp,4
c16: 40011537 lui a0,0x40011
c1a: 827c sh a5,4(sp)
c1c: c622 sw s0,12(sp)
c1e: 31f1 jal 8ea <GPIO_Init>
c20: 478d li a5,3
c22: 827c sh a5,4(sp)
c24: c622 sw s0,12(sp)
c26: 004c addi a1,sp,4
c28: 40048513 addi a0,s1,1024
c2c: a825 j c64 <GPIO_IPD_Unused+0x154>
c2e: 400114b7 lui s1,0x40011
c32: 77e1 lui a5,0xffff8
c34: 70078793 addi a5,a5,1792 # ffff8700 <_eusrstack+0xdfff3700>
c38: 04800413 li s0,72
c3c: 004c addi a1,sp,4
c3e: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
c42: 827c sh a5,4(sp)
c44: c622 sw s0,12(sp)
c46: 3155 jal 8ea <GPIO_Init>
c48: e3d00793 li a5,-451
c4c: 004c addi a1,sp,4
c4e: c0048513 addi a0,s1,-1024
c52: 827c sh a5,4(sp)
c54: c622 sw s0,12(sp)
c56: 3951 jal 8ea <GPIO_Init>
c58: 77f9 lui a5,0xffffe
c5a: 827c sh a5,4(sp)
c5c: c622 sw s0,12(sp)
c5e: 004c addi a1,sp,4
c60: 40011537 lui a0,0x40011
c64: 3159 jal 8ea <GPIO_Init>
c66: bf3d j ba4 <GPIO_IPD_Unused+0x94>
c68: 400114b7 lui s1,0x40011
c6c: 77e1 lui a5,0xffff8
c6e: 04800413 li s0,72
c72: 004c addi a1,sp,4
c74: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
c78: 827c sh a5,4(sp)
c7a: c622 sw s0,12(sp)
c7c: 31bd jal 8ea <GPIO_Init>
c7e: 20400793 li a5,516
c82: b78d j be4 <GPIO_IPD_Unused+0xd4>
c84: 400114b7 lui s1,0x40011
c88: 77e1 lui a5,0xffff8
c8a: 04800413 li s0,72
c8e: 004c addi a1,sp,4
c90: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
c94: 827c sh a5,4(sp)
c96: c622 sw s0,12(sp)
c98: 3989 jal 8ea <GPIO_Init>
c9a: 6789 lui a5,0x2
c9c: 17f5 addi a5,a5,-3
c9e: b799 j be4 <GPIO_IPD_Unused+0xd4>
00000ca0 <NVIC_PriorityGroupConfig>:
ca0: 82a1a823 sw a0,-2000(gp) # 20000180 <NVIC_Priority_Group>
ca4: 8082 ret
00000ca6 <NVIC_Init>:
ca6: 8301a703 lw a4,-2000(gp) # 20000180 <NVIC_Priority_Group>
caa: 4785 li a5,1
cac: 2114 lbu a3,0(a0)
cae: 02f71063 bne a4,a5,cce <NVIC_Init+0x28>
cb2: 311c lbu a5,1(a0)
cb4: 02e79c63 bne a5,a4,cec <NVIC_Init+0x46>
cb8: 213c lbu a5,2(a0)
cba: 0796 slli a5,a5,0x5
cbc: f807e793 ori a5,a5,-128
cc0: e000e737 lui a4,0xe000e
cc4: 0ff7f793 andi a5,a5,255
cc8: 9736 add a4,a4,a3
cca: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xc0009400>
cce: 4705 li a4,1
cd0: 0056d793 srli a5,a3,0x5
cd4: 00d71733 sll a4,a4,a3
cd8: 4154 lw a3,4(a0)
cda: ce89 beqz a3,cf4 <NVIC_Init+0x4e>
cdc: 04078793 addi a5,a5,64 # 2040 <CheckFunc+0x2c>
ce0: 078a slli a5,a5,0x2
ce2: e000e6b7 lui a3,0xe000e
ce6: 97b6 add a5,a5,a3
ce8: c398 sw a4,0(a5)
cea: 8082 ret
cec: f3ed bnez a5,cce <NVIC_Init+0x28>
cee: 213c lbu a5,2(a0)
cf0: 0796 slli a5,a5,0x5
cf2: b7f9 j cc0 <NVIC_Init+0x1a>
cf4: 06078793 addi a5,a5,96
cf8: b7e5 j ce0 <NVIC_Init+0x3a>
00000cfa <RCC_ADCCLKConfig>:
cfa: 400216b7 lui a3,0x40021
cfe: 42dc lw a5,4(a3)
d00: 7fff4737 lui a4,0x7fff4
d04: 177d addi a4,a4,-1
d06: 8ff9 and a5,a5,a4
d08: 8d5d or a0,a0,a5
d0a: c2c8 sw a0,4(a3)
d0c: 8082 ret
00000d0e <RCC_GetClocksFreq>:
d0e: 40021737 lui a4,0x40021
d12: 435c lw a5,4(a4)
d14: 4691 li a3,4
d16: 8bb1 andi a5,a5,12
d18: 06d78c63 beq a5,a3,d90 <RCC_GetClocksFreq+0x82>
d1c: 46a1 li a3,8
d1e: 06d78e63 beq a5,a3,d9a <RCC_GetClocksFreq+0x8c>
d22: e7bd bnez a5,d90 <RCC_GetClocksFreq+0x82>
d24: 431c lw a5,0(a4)
d26: 8b91 andi a5,a5,4
d28: c7a5 beqz a5,d90 <RCC_GetClocksFreq+0x82>
d2a: 000f47b7 lui a5,0xf4
d2e: 24078793 addi a5,a5,576 # f4240 <_data_lma+0xef874>
d32: c11c sw a5,0(a0)
d34: 40021637 lui a2,0x40021
d38: 425c lw a5,4(a2)
d3a: 20000737 lui a4,0x20000
d3e: 01070713 addi a4,a4,16 # 20000010 <PBHBPrescTable>
d42: 8391 srli a5,a5,0x4
d44: 8bbd andi a5,a5,15
d46: 97ba add a5,a5,a4
d48: 2394 lbu a3,0(a5)
d4a: 411c lw a5,0(a0)
d4c: 00d7d7b3 srl a5,a5,a3
d50: c15c sw a5,4(a0)
d52: 4254 lw a3,4(a2)
d54: 82a1 srli a3,a3,0x8
d56: 8a9d andi a3,a3,7
d58: 96ba add a3,a3,a4
d5a: 2294 lbu a3,0(a3)
d5c: 00d7d6b3 srl a3,a5,a3
d60: c514 sw a3,8(a0)
d62: 4254 lw a3,4(a2)
d64: 82ad srli a3,a3,0xb
d66: 8a9d andi a3,a3,7
d68: 9736 add a4,a4,a3
d6a: 2314 lbu a3,0(a4)
d6c: 00d7d6b3 srl a3,a5,a3
d70: c554 sw a3,12(a0)
d72: 4258 lw a4,4(a2)
d74: 00074c63 bltz a4,d8c <RCC_GetClocksFreq+0x7e>
d78: 425c lw a5,4(a2)
d7a: 83b9 srli a5,a5,0xe
d7c: 0037f713 andi a4,a5,3
d80: 80418793 addi a5,gp,-2044 # 20000154 <ADCPrescTable>
d84: 97ba add a5,a5,a4
d86: 239c lbu a5,0(a5)
d88: 02f6d7b3 divu a5,a3,a5
d8c: c91c sw a5,16(a0)
d8e: 8082 ret
d90: 007a17b7 lui a5,0x7a1
d94: 20078793 addi a5,a5,512 # 7a1200 <_data_lma+0x79c834>
d98: bf69 j d32 <RCC_GetClocksFreq+0x24>
d9a: 435c lw a5,4(a4)
d9c: 4358 lw a4,4(a4)
d9e: 66c1 lui a3,0x10
da0: 83c9 srli a5,a5,0x12
da2: 8bbd andi a5,a5,15
da4: 8f75 and a4,a4,a3
da6: 0789 addi a5,a5,2
da8: 46c5 li a3,17
daa: 00d79363 bne a5,a3,db0 <RCC_GetClocksFreq+0xa2>
dae: 47c9 li a5,18
db0: ef01 bnez a4,dc8 <RCC_GetClocksFreq+0xba>
db2: 40024737 lui a4,0x40024
db6: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x2001e800>
dba: 8b41 andi a4,a4,16
dbc: cf09 beqz a4,dd6 <RCC_GetClocksFreq+0xc8>
dbe: 007a1737 lui a4,0x7a1
dc2: 20070713 addi a4,a4,512 # 7a1200 <_data_lma+0x79c834>
dc6: a821 j dde <RCC_GetClocksFreq+0xd0>
dc8: 40021737 lui a4,0x40021
dcc: 4358 lw a4,4(a4)
dce: 00e71693 slli a3,a4,0xe
dd2: fe06d6e3 bgez a3,dbe <RCC_GetClocksFreq+0xb0>
dd6: 003d1737 lui a4,0x3d1
dda: 90070713 addi a4,a4,-1792 # 3d0900 <_data_lma+0x3cbf34>
dde: 02e787b3 mul a5,a5,a4
de2: bf81 j d32 <RCC_GetClocksFreq+0x24>
00000de4 <RCC_PB2PeriphClockCmd>:
de4: c599 beqz a1,df2 <RCC_PB2PeriphClockCmd+0xe>
de6: 40021737 lui a4,0x40021
dea: 4f1c lw a5,24(a4)
dec: 8d5d or a0,a0,a5
dee: cf08 sw a0,24(a4)
df0: 8082 ret
df2: 400217b7 lui a5,0x40021
df6: 4f98 lw a4,24(a5)
df8: fff54513 not a0,a0
dfc: 8d79 and a0,a0,a4
dfe: cf88 sw a0,24(a5)
e00: 8082 ret
00000e02 <RCC_PB1PeriphClockCmd>:
e02: c599 beqz a1,e10 <RCC_PB1PeriphClockCmd+0xe>
e04: 40021737 lui a4,0x40021
e08: 4f5c lw a5,28(a4)
e0a: 8d5d or a0,a0,a5
e0c: cf48 sw a0,28(a4)
e0e: 8082 ret
e10: 400217b7 lui a5,0x40021
e14: 4fd8 lw a4,28(a5)
e16: fff54513 not a0,a0
e1a: 8d79 and a0,a0,a4
e1c: cfc8 sw a0,28(a5)
e1e: 8082 ret
00000e20 <RCC_PB2PeriphResetCmd>:
e20: c599 beqz a1,e2e <RCC_PB2PeriphResetCmd+0xe>
e22: 40021737 lui a4,0x40021
e26: 475c lw a5,12(a4)
e28: 8d5d or a0,a0,a5
e2a: c748 sw a0,12(a4)
e2c: 8082 ret
e2e: 400217b7 lui a5,0x40021
e32: 47d8 lw a4,12(a5)
e34: fff54513 not a0,a0
e38: 8d79 and a0,a0,a4
e3a: c7c8 sw a0,12(a5)
e3c: 8082 ret
00000e3e <SPI_Init>:
e3e: 211a lhu a4,0(a0)
e40: 678d lui a5,0x3
e42: 04078793 addi a5,a5,64 # 3040 <memcpy+0x10>
e46: 21b6 lhu a3,2(a1)
e48: 8f7d and a4,a4,a5
e4a: 219e lhu a5,0(a1)
e4c: 8fd5 or a5,a5,a3
e4e: 21d6 lhu a3,4(a1)
e50: 8fd5 or a5,a5,a3
e52: 21f6 lhu a3,6(a1)
e54: 8fd5 or a5,a5,a3
e56: 2596 lhu a3,8(a1)
e58: 8fd5 or a5,a5,a3
e5a: 25b6 lhu a3,10(a1)
e5c: 8fd5 or a5,a5,a3
e5e: 25d6 lhu a3,12(a1)
e60: 8fd5 or a5,a5,a3
e62: 25f6 lhu a3,14(a1)
e64: 8fd5 or a5,a5,a3
e66: 8fd9 or a5,a5,a4
e68: a11e sh a5,0(a0)
e6a: 299e lhu a5,16(a1)
e6c: a91e sh a5,16(a0)
e6e: 8082 ret
00000e70 <SPI_Cmd>:
e70: 211e lhu a5,0(a0)
e72: c589 beqz a1,e7c <SPI_Cmd+0xc>
e74: 0407e793 ori a5,a5,64
e78: a11e sh a5,0(a0)
e7a: 8082 ret
e7c: 07c2 slli a5,a5,0x10
e7e: 83c1 srli a5,a5,0x10
e80: fbf7f793 andi a5,a5,-65
e84: 07c2 slli a5,a5,0x10
e86: 83c1 srli a5,a5,0x10
e88: bfc5 j e78 <SPI_Cmd+0x8>
00000e8a <SPI_I2S_SendData>:
e8a: a54e sh a1,12(a0)
e8c: 8082 ret
00000e8e <SPI_I2S_ReceiveData>:
e8e: 254a lhu a0,12(a0)
e90: 8082 ret
00000e92 <SPI_I2S_GetFlagStatus>:
e92: 250a lhu a0,8(a0)
e94: 8d6d and a0,a0,a1
e96: 00a03533 snez a0,a0
e9a: 8082 ret
00000e9c <TIM_TimeBaseInit>:
e9c: 211e lhu a5,0(a0)
e9e: 40013737 lui a4,0x40013
ea2: c0070713 addi a4,a4,-1024 # 40012c00 <_eusrstack+0x2000dc00>
ea6: 07c2 slli a5,a5,0x10
ea8: 83c1 srli a5,a5,0x10
eaa: 02e50063 beq a0,a4,eca <TIM_TimeBaseInit+0x2e>
eae: 40000737 lui a4,0x40000
eb2: 00e50c63 beq a0,a4,eca <TIM_TimeBaseInit+0x2e>
eb6: 40070713 addi a4,a4,1024 # 40000400 <_eusrstack+0x1fffb400>
eba: 00e50863 beq a0,a4,eca <TIM_TimeBaseInit+0x2e>
ebe: 40001737 lui a4,0x40001
ec2: 80070713 addi a4,a4,-2048 # 40000800 <_eusrstack+0x1fffb800>
ec6: 00e51663 bne a0,a4,ed2 <TIM_TimeBaseInit+0x36>
eca: 21fa lhu a4,6(a1)
ecc: f8f7f793 andi a5,a5,-113
ed0: 8fd9 or a5,a5,a4
ed2: 259a lhu a4,8(a1)
ed4: cff7f793 andi a5,a5,-769
ed8: 07c2 slli a5,a5,0x10
eda: 83c1 srli a5,a5,0x10
edc: 8fd9 or a5,a5,a4
ede: 40001737 lui a4,0x40001
ee2: a11e sh a5,0(a0)
ee4: 80070713 addi a4,a4,-2048 # 40000800 <_eusrstack+0x1fffb800>
ee8: 419c lw a5,0(a1)
eea: 02e51063 bne a0,a4,f0a <TIM_TimeBaseInit+0x6e>
eee: d55c sw a5,44(a0)
ef0: 21de lhu a5,4(a1)
ef2: b51e sh a5,40(a0)
ef4: 400137b7 lui a5,0x40013
ef8: c0078793 addi a5,a5,-1024 # 40012c00 <_eusrstack+0x2000dc00>
efc: 00f51463 bne a0,a5,f04 <TIM_TimeBaseInit+0x68>
f00: 25bc lbu a5,10(a1)
f02: b91e sh a5,48(a0)
f04: 4785 li a5,1
f06: a95e sh a5,20(a0)
f08: 8082 ret
f0a: 07c2 slli a5,a5,0x10
f0c: 83c1 srli a5,a5,0x10
f0e: b55e sh a5,44(a0)
f10: b7c5 j ef0 <TIM_TimeBaseInit+0x54>
00000f12 <TIM_OC2Init>:
f12: 311e lhu a5,32(a0)
f14: 7765 lui a4,0xffff9
f16: cff70713 addi a4,a4,-769 # ffff8cff <_eusrstack+0xdfff3cff>
f1a: 07c2 slli a5,a5,0x10
f1c: 83c1 srli a5,a5,0x10
f1e: 9bbd andi a5,a5,-17
f20: 07c2 slli a5,a5,0x10
f22: 83c1 srli a5,a5,0x10
f24: b11e sh a5,32(a0)
f26: 311e lhu a5,32(a0)
f28: 2156 lhu a3,4(a0)
f2a: 00a5d803 lhu a6,10(a1) # 4001000a <_eusrstack+0x2000b00a>
f2e: 07c2 slli a5,a5,0x10
f30: 01069613 slli a2,a3,0x10
f34: 2d16 lhu a3,24(a0)
f36: 83c1 srli a5,a5,0x10
f38: fdf7f793 andi a5,a5,-33
f3c: 8f75 and a4,a4,a3
f3e: 21d6 lhu a3,4(a1)
f40: 8241 srli a2,a2,0x10
f42: 06a2 slli a3,a3,0x8
f44: 8f55 or a4,a4,a3
f46: 21f6 lhu a3,6(a1)
f48: 0742 slli a4,a4,0x10
f4a: 8341 srli a4,a4,0x10
f4c: 0106e6b3 or a3,a3,a6
f50: 0692 slli a3,a3,0x4
f52: 8fd5 or a5,a5,a3
f54: 400136b7 lui a3,0x40013
f58: 07c2 slli a5,a5,0x10
f5a: c0068693 addi a3,a3,-1024 # 40012c00 <_eusrstack+0x2000dc00>
f5e: 83c1 srli a5,a5,0x10
f60: 02d51e63 bne a0,a3,f9c <TIM_OC2Init+0x8a>
f64: 25d6 lhu a3,12(a1)
f66: f7f7f793 andi a5,a5,-129
f6a: 00e5d803 lhu a6,14(a1)
f6e: 0692 slli a3,a3,0x4
f70: 8fd5 or a5,a5,a3
f72: 2596 lhu a3,8(a1)
f74: 07c2 slli a5,a5,0x10
f76: 83c1 srli a5,a5,0x10
f78: 0692 slli a3,a3,0x4
f7a: fbf7f793 andi a5,a5,-65
f7e: 8fd5 or a5,a5,a3
f80: 76fd lui a3,0xfffff
f82: 3ff68693 addi a3,a3,1023 # fffff3ff <_eusrstack+0xdfffa3ff>
f86: 8ef1 and a3,a3,a2
f88: 2992 lhu a2,16(a1)
f8a: 07c2 slli a5,a5,0x10
f8c: 83c1 srli a5,a5,0x10
f8e: 01066633 or a2,a2,a6
f92: 060a slli a2,a2,0x2
f94: 8ed1 or a3,a3,a2
f96: 01069613 slli a2,a3,0x10
f9a: 8241 srli a2,a2,0x10
f9c: a152 sh a2,4(a0)
f9e: 400016b7 lui a3,0x40001
fa2: ad1a sh a4,24(a0)
fa4: 80068693 addi a3,a3,-2048 # 40000800 <_eusrstack+0x1fffb800>
fa8: 4198 lw a4,0(a1)
faa: 00d51563 bne a0,a3,fb4 <TIM_OC2Init+0xa2>
fae: dd18 sw a4,56(a0)
fb0: b11e sh a5,32(a0)
fb2: 8082 ret
fb4: 0742 slli a4,a4,0x10
fb6: 8341 srli a4,a4,0x10
fb8: bfdd j fae <TIM_OC2Init+0x9c>
00000fba <TIM_OC4Init>:
fba: 311a lhu a4,32(a0)
fbc: 77fd lui a5,0xfffff
fbe: 17fd addi a5,a5,-1
fc0: 8ff9 and a5,a5,a4
fc2: b11e sh a5,32(a0)
fc4: 02055803 lhu a6,32(a0) # 40011020 <_eusrstack+0x2000c020>
fc8: 2156 lhu a3,4(a0)
fca: 2d5e lhu a5,28(a0)
fcc: 7765 lui a4,0xffff9
fce: 21d2 lhu a2,4(a1)
fd0: cff70713 addi a4,a4,-769 # ffff8cff <_eusrstack+0xdfff3cff>
fd4: 8f7d and a4,a4,a5
fd6: 77f9 lui a5,0xffffe
fd8: 0622 slli a2,a2,0x8
fda: 17fd addi a5,a5,-1
fdc: 8f51 or a4,a4,a2
fde: 0107f7b3 and a5,a5,a6
fe2: 21f2 lhu a2,6(a1)
fe4: 00a5d803 lhu a6,10(a1)
fe8: 06c2 slli a3,a3,0x10
fea: 0742 slli a4,a4,0x10
fec: 01066633 or a2,a2,a6
ff0: 0632 slli a2,a2,0xc
ff2: 8fd1 or a5,a5,a2
ff4: 40013637 lui a2,0x40013
ff8: 07c2 slli a5,a5,0x10
ffa: c0060613 addi a2,a2,-1024 # 40012c00 <_eusrstack+0x2000dc00>
ffe: 82c1 srli a3,a3,0x10
1000: 8341 srli a4,a4,0x10
1002: 83c1 srli a5,a5,0x10
1004: 00c51a63 bne a0,a2,1018 <TIM_OC4Init+0x5e>
1008: 7671 lui a2,0xffffc
100a: 167d addi a2,a2,-1
100c: 8ef1 and a3,a3,a2
100e: 25f2 lhu a2,14(a1)
1010: 061a slli a2,a2,0x6
1012: 8ed1 or a3,a3,a2
1014: 06c2 slli a3,a3,0x10
1016: 82c1 srli a3,a3,0x10
1018: a156 sh a3,4(a0)
101a: 400016b7 lui a3,0x40001
101e: ad5a sh a4,28(a0)
1020: 80068693 addi a3,a3,-2048 # 40000800 <_eusrstack+0x1fffb800>
1024: 4198 lw a4,0(a1)
1026: 00d51563 bne a0,a3,1030 <TIM_OC4Init+0x76>
102a: c138 sw a4,64(a0)
102c: b11e sh a5,32(a0)
102e: 8082 ret
1030: 0742 slli a4,a4,0x10
1032: 8341 srli a4,a4,0x10
1034: bfdd j 102a <TIM_OC4Init+0x70>
00001036 <TIM_Cmd>:
1036: 211e lhu a5,0(a0)
1038: c589 beqz a1,1042 <TIM_Cmd+0xc>
103a: 0017e793 ori a5,a5,1
103e: a11e sh a5,0(a0)
1040: 8082 ret
1042: 07c2 slli a5,a5,0x10
1044: 83c1 srli a5,a5,0x10
1046: 9bf9 andi a5,a5,-2
1048: 07c2 slli a5,a5,0x10
104a: 83c1 srli a5,a5,0x10
104c: bfcd j 103e <TIM_Cmd+0x8>
0000104e <TIM_CtrlPWMOutputs>:
104e: 04455783 lhu a5,68(a0)
1052: c591 beqz a1,105e <TIM_CtrlPWMOutputs+0x10>
1054: 6721 lui a4,0x8
1056: 8fd9 or a5,a5,a4
1058: 04f51223 sh a5,68(a0)
105c: 8082 ret
105e: 07c6 slli a5,a5,0x11
1060: 83c5 srli a5,a5,0x11
1062: bfdd j 1058 <TIM_CtrlPWMOutputs+0xa>
00001064 <TIM_ITConfig>:
1064: 255e lhu a5,12(a0)
1066: c601 beqz a2,106e <TIM_ITConfig+0xa>
1068: 8ddd or a1,a1,a5
106a: a54e sh a1,12(a0)
106c: 8082 ret
106e: fff5c593 not a1,a1
1072: 8dfd and a1,a1,a5
1074: bfdd j 106a <TIM_ITConfig+0x6>
00001076 <TIM_ARRPreloadConfig>:
1076: 211e lhu a5,0(a0)
1078: c589 beqz a1,1082 <TIM_ARRPreloadConfig+0xc>
107a: 0807e793 ori a5,a5,128
107e: a11e sh a5,0(a0)
1080: 8082 ret
1082: 07c2 slli a5,a5,0x10
1084: 83c1 srli a5,a5,0x10
1086: f7f7f793 andi a5,a5,-129
108a: 07c2 slli a5,a5,0x10
108c: 83c1 srli a5,a5,0x10
108e: bfc5 j 107e <TIM_ARRPreloadConfig+0x8>
00001090 <TIM_OC2PreloadConfig>:
1090: 2d1a lhu a4,24(a0)
1092: 77fd lui a5,0xfffff
1094: 7ff78793 addi a5,a5,2047 # fffff7ff <_eusrstack+0xdfffa7ff>
1098: 8ff9 and a5,a5,a4
109a: 05a2 slli a1,a1,0x8
109c: 8fcd or a5,a5,a1
109e: 07c2 slli a5,a5,0x10
10a0: 83c1 srli a5,a5,0x10
10a2: ad1e sh a5,24(a0)
10a4: 8082 ret
000010a6 <TIM_OC4PreloadConfig>:
10a6: 2d5a lhu a4,28(a0)
10a8: 77fd lui a5,0xfffff
10aa: 7ff78793 addi a5,a5,2047 # fffff7ff <_eusrstack+0xdfffa7ff>
10ae: 8ff9 and a5,a5,a4
10b0: 05a2 slli a1,a1,0x8
10b2: 8fcd or a5,a5,a1
10b4: 07c2 slli a5,a5,0x10
10b6: 83c1 srli a5,a5,0x10
10b8: ad5e sh a5,28(a0)
10ba: 8082 ret
000010bc <TIM_SetCompare4>:
10bc: 400017b7 lui a5,0x40001
10c0: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
10c4: 00f51463 bne a0,a5,10cc <TIM_SetCompare4+0x10>
10c8: c12c sw a1,64(a0)
10ca: 8082 ret
10cc: 05c2 slli a1,a1,0x10
10ce: 81c1 srli a1,a1,0x10
10d0: bfe5 j 10c8 <TIM_SetCompare4+0xc>
000010d2 <TIM_GetCounter>:
10d2: 400017b7 lui a5,0x40001
10d6: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
10da: 00f51463 bne a0,a5,10e2 <TIM_GetCounter+0x10>
10de: 5148 lw a0,36(a0)
10e0: 8082 ret
10e2: 314a lhu a0,36(a0)
10e4: 0542 slli a0,a0,0x10
10e6: 8141 srli a0,a0,0x10
10e8: 8082 ret
000010ea <TIM_GetITStatus>:
10ea: 291e lhu a5,16(a0)
10ec: 254a lhu a0,12(a0)
10ee: 8fed and a5,a5,a1
10f0: 0542 slli a0,a0,0x10
10f2: 8141 srli a0,a0,0x10
10f4: c789 beqz a5,10fe <TIM_GetITStatus+0x14>
10f6: 8d6d and a0,a0,a1
10f8: 00a03533 snez a0,a0
10fc: 8082 ret
10fe: 4501 li a0,0
1100: 8082 ret
00001102 <TIM_ClearITPendingBit>:
1102: fff5c593 not a1,a1
1106: 05c2 slli a1,a1,0x10
1108: 81c1 srli a1,a1,0x10
110a: a90e sh a1,16(a0)
110c: 8082 ret
0000110e <USART_Init>:
110e: 862ff2ef jal t0,170 <__riscv_save_0>
1112: 2916 lhu a3,16(a0)
1114: 77f5 lui a5,0xffffd
1116: 17fd addi a5,a5,-1
1118: 8ff5 and a5,a5,a3
111a: 21f6 lhu a3,6(a1)
111c: 25da lhu a4,12(a1)
111e: 7179 addi sp,sp,-48
1120: 8fd5 or a5,a5,a3
1122: a91e sh a5,16(a0)
1124: 2556 lhu a3,12(a0)
1126: 77fd lui a5,0xfffff
1128: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdfff99f3>
112c: 8ff5 and a5,a5,a3
112e: 21d6 lhu a3,4(a1)
1130: 842a mv s0,a0
1132: c62e sw a1,12(sp)
1134: 8fd5 or a5,a5,a3
1136: 2596 lhu a3,8(a1)
1138: 8fd5 or a5,a5,a3
113a: 25b6 lhu a3,10(a1)
113c: 8fd5 or a5,a5,a3
113e: a55e sh a5,12(a0)
1140: 295e lhu a5,20(a0)
1142: 07c2 slli a5,a5,0x10
1144: 83c1 srli a5,a5,0x10
1146: cff7f793 andi a5,a5,-769
114a: 8fd9 or a5,a5,a4
114c: a95e sh a5,20(a0)
114e: 0868 addi a0,sp,28
1150: 3e7d jal d0e <RCC_GetClocksFreq>
1152: 400147b7 lui a5,0x40014
1156: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x2000e800>
115a: 45b2 lw a1,12(sp)
115c: 04f41a63 bne s0,a5,11b0 <USART_Init+0xa2>
1160: 57a2 lw a5,40(sp)
1162: 2456 lhu a3,12(s0)
1164: 4765 li a4,25
1166: 02e787b3 mul a5,a5,a4
116a: 06c2 slli a3,a3,0x10
116c: 86c1 srai a3,a3,0x10
116e: 4198 lw a4,0(a1)
1170: 0406d263 bgez a3,11b4 <USART_Init+0xa6>
1174: 0706 slli a4,a4,0x1
1176: 2452 lhu a2,12(s0)
1178: 0642 slli a2,a2,0x10
117a: 02e7d7b3 divu a5,a5,a4
117e: 06400713 li a4,100
1182: 8641 srai a2,a2,0x10
1184: 02e7d6b3 divu a3,a5,a4
1188: 02e7f7b3 remu a5,a5,a4
118c: 0692 slli a3,a3,0x4
118e: 02065563 bgez a2,11b8 <USART_Init+0xaa>
1192: 078e slli a5,a5,0x3
1194: 03278793 addi a5,a5,50
1198: 02e7d7b3 divu a5,a5,a4
119c: 0077f713 andi a4,a5,7
11a0: 00d767b3 or a5,a4,a3
11a4: 07c2 slli a5,a5,0x10
11a6: 83c1 srli a5,a5,0x10
11a8: a41e sh a5,8(s0)
11aa: 6145 addi sp,sp,48
11ac: fe9fe06f j 194 <__riscv_restore_0>
11b0: 5792 lw a5,36(sp)
11b2: bf45 j 1162 <USART_Init+0x54>
11b4: 070a slli a4,a4,0x2
11b6: b7c1 j 1176 <USART_Init+0x68>
11b8: 0792 slli a5,a5,0x4
11ba: 03278793 addi a5,a5,50
11be: 02e7d7b3 divu a5,a5,a4
11c2: 8bbd andi a5,a5,15
11c4: 8fd5 or a5,a5,a3
11c6: bff9 j 11a4 <USART_Init+0x96>
000011c8 <USART_Cmd>:
11c8: c591 beqz a1,11d4 <USART_Cmd+0xc>
11ca: 255e lhu a5,12(a0)
11cc: 6709 lui a4,0x2
11ce: 8fd9 or a5,a5,a4
11d0: a55e sh a5,12(a0)
11d2: 8082 ret
11d4: 255a lhu a4,12(a0)
11d6: 77f9 lui a5,0xffffe
11d8: 17fd addi a5,a5,-1
11da: 8ff9 and a5,a5,a4
11dc: bfd5 j 11d0 <USART_Cmd+0x8>
000011de <USART_ITConfig>:
11de: 0ff5f713 andi a4,a1,255
11e2: 4785 li a5,1
11e4: 8315 srli a4,a4,0x5
11e6: 00b795b3 sll a1,a5,a1
11ea: 00f71963 bne a4,a5,11fc <USART_ITConfig+0x1e>
11ee: 00c50793 addi a5,a0,12
11f2: 4398 lw a4,0(a5)
11f4: ce01 beqz a2,120c <USART_ITConfig+0x2e>
11f6: 8dd9 or a1,a1,a4
11f8: c38c sw a1,0(a5)
11fa: 8082 ret
11fc: 4689 li a3,2
11fe: 01450793 addi a5,a0,20
1202: fed718e3 bne a4,a3,11f2 <USART_ITConfig+0x14>
1206: 01050793 addi a5,a0,16
120a: b7e5 j 11f2 <USART_ITConfig+0x14>
120c: fff5c593 not a1,a1
1210: 8df9 and a1,a1,a4
1212: b7dd j 11f8 <USART_ITConfig+0x1a>
00001214 <USART_SendData>:
1214: 1ff5f593 andi a1,a1,511
1218: a14e sh a1,4(a0)
121a: 8082 ret
0000121c <USART_ReceiveData>:
121c: 214a lhu a0,4(a0)
121e: 1ff57513 andi a0,a0,511
1222: 8082 ret
00001224 <USART_GetFlagStatus>:
1224: 210a lhu a0,0(a0)
1226: 8d6d and a0,a0,a1
1228: 00a03533 snez a0,a0
122c: 8082 ret
0000122e <USART_GetITStatus>:
122e: 0ff5f713 andi a4,a1,255
1232: 4685 li a3,1
1234: 8315 srli a4,a4,0x5
1236: 00b697b3 sll a5,a3,a1
123a: 02d71163 bne a4,a3,125c <USART_GetITStatus+0x2e>
123e: 255a lhu a4,12(a0)
1240: 8ff9 and a5,a5,a4
1242: 211a lhu a4,0(a0)
1244: 4501 li a0,0
1246: 0742 slli a4,a4,0x10
1248: 8341 srli a4,a4,0x10
124a: cb81 beqz a5,125a <USART_GetITStatus+0x2c>
124c: 4505 li a0,1
124e: 81a1 srli a1,a1,0x8
1250: 00b515b3 sll a1,a0,a1
1254: 8f6d and a4,a4,a1
1256: 00e03533 snez a0,a4
125a: 8082 ret
125c: 4689 li a3,2
125e: 00d71463 bne a4,a3,1266 <USART_GetITStatus+0x38>
1262: 291a lhu a4,16(a0)
1264: bff1 j 1240 <USART_GetITStatus+0x12>
1266: 295a lhu a4,20(a0)
1268: bfe1 j 1240 <USART_GetITStatus+0x12>
0000126a <ADC_all_Init>:
126a: f07fe2ef jal t0,170 <__riscv_save_0>
126e: 7179 addi sp,sp,-48
1270: 02000613 li a2,32
1274: 4581 li a1,0
1276: 0808 addi a0,sp,16
1278: f29fe0ef jal ra,1a0 <memset>
127c: 4585 li a1,1
127e: 4511 li a0,4
1280: c202 sw zero,4(sp)
1282: c402 sw zero,8(sp)
1284: c602 sw zero,12(sp)
1286: 3eb9 jal de4 <RCC_PB2PeriphClockCmd>
1288: 4585 li a1,1
128a: 20000513 li a0,512
128e: 3e99 jal de4 <RCC_PB2PeriphClockCmd>
1290: 6521 lui a0,0x8
1292: 34a5 jal cfa <RCC_ADCCLKConfig>
1294: 40011537 lui a0,0x40011
1298: 0fe00793 li a5,254
129c: 004c addi a1,sp,4
129e: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
12a2: 40012437 lui s0,0x40012
12a6: 827c sh a5,4(sp)
12a8: c602 sw zero,12(sp)
12aa: e40ff0ef jal ra,8ea <GPIO_Init>
12ae: 40040513 addi a0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
12b2: a16ff0ef jal ra,4c8 <ADC_DeInit>
12b6: 40040513 addi a0,s0,1024
12ba: bc4ff0ef jal ra,67e <Get_CalibrationValue>
12be: 85aa mv a1,a0
12c0: 82a19a23 sh a0,-1996(gp) # 20000184 <Calibrattion_Val>
12c4: 00004537 lui a0,0x4
12c8: 3b450513 addi a0,a0,948 # 43b4 <_read+0x2e>
12cc: 617010ef jal ra,30e2 <iprintf>
12d0: 000e07b7 lui a5,0xe0
12d4: ce3e sw a5,28(sp)
12d6: 080c addi a1,sp,16
12d8: 4785 li a5,1
12da: 40040513 addi a0,s0,1024
12de: 02f10223 sb a5,36(sp)
12e2: c802 sw zero,16(sp)
12e4: ca02 sw zero,20(sp)
12e6: cc02 sw zero,24(sp)
12e8: d002 sw zero,32(sp)
12ea: a06ff0ef jal ra,4f0 <ADC_Init>
12ee: 4585 li a1,1
12f0: 40040513 addi a0,s0,1024
12f4: a52ff0ef jal ra,546 <ADC_Cmd>
12f8: 4585 li a1,1
12fa: 40040513 addi a0,s0,1024
12fe: b5eff0ef jal ra,65c <ADC_FIFO_Cmd>
1302: 4581 li a1,0
1304: 40040513 addi a0,s0,1024
1308: b2aff0ef jal ra,632 <ADC_BufferCmd>
130c: 40040513 addi a0,s0,1024
1310: a46ff0ef jal ra,556 <ADC_ResetCalibration>
1314: 40040493 addi s1,s0,1024
1318: 8526 mv a0,s1
131a: a46ff0ef jal ra,560 <ADC_GetResetCalibrationStatus>
131e: fd6d bnez a0,1318 <ADC_all_Init+0xae>
1320: 40040513 addi a0,s0,1024
1324: 40012437 lui s0,0x40012
1328: a40ff0ef jal ra,568 <ADC_StartCalibration>
132c: 40040493 addi s1,s0,1024 # 40012400 <_eusrstack+0x2000d400>
1330: 8526 mv a0,s1
1332: a40ff0ef jal ra,572 <ADC_GetCalibrationStatus>
1336: fd6d bnez a0,1330 <ADC_all_Init+0xc6>
1338: 80000537 lui a0,0x80000
133c: 3a7d jal cfa <RCC_ADCCLKConfig>
133e: 40040513 addi a0,s0,1024
1342: 4585 li a1,1
1344: b06ff0ef jal ra,64a <ADC_DutyDelayCmd>
1348: 02000593 li a1,32
134c: 40040513 addi a0,s0,1024
1350: b1eff0ef jal ra,66e <ADC_Sample_ModeConfig>
1354: 6145 addi sp,sp,48
1356: e3ffe06f j 194 <__riscv_restore_0>
0000135a <SPI_Flash_Init>:
135a: e17fe2ef jal t0,170 <__riscv_save_0>
135e: 1101 addi sp,sp,-32
1360: 4585 li a1,1
1362: 4521 li a0,8
1364: 3441 jal de4 <RCC_PB2PeriphClockCmd>
1366: 4585 li a1,1
1368: 6511 lui a0,0x4
136a: 3c61 jal e02 <RCC_PB1PeriphClockCmd>
136c: 40011437 lui s0,0x40011
1370: 6785 lui a5,0x1
1372: 448d li s1,3
1374: 807c sh a5,0(sp)
1376: 858a mv a1,sp
1378: 47c1 li a5,16
137a: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
137e: c43e sw a5,8(sp)
1380: c226 sw s1,4(sp)
1382: d68ff0ef jal ra,8ea <GPIO_Init>
1386: c0040513 addi a0,s0,-1024
138a: 6585 lui a1,0x1
138c: e1eff0ef jal ra,9aa <GPIO_SetBits>
1390: 6789 lui a5,0x2
1392: 4961 li s2,24
1394: 858a mv a1,sp
1396: c0040513 addi a0,s0,-1024
139a: 807c sh a5,0(sp)
139c: c44a sw s2,8(sp)
139e: c226 sw s1,4(sp)
13a0: d4aff0ef jal ra,8ea <GPIO_Init>
13a4: 6791 lui a5,0x4
13a6: 807c sh a5,0(sp)
13a8: 858a mv a1,sp
13aa: 4791 li a5,4
13ac: c0040513 addi a0,s0,-1024
13b0: c43e sw a5,8(sp)
13b2: d38ff0ef jal ra,8ea <GPIO_Init>
13b6: 77e1 lui a5,0xffff8
13b8: 858a mv a1,sp
13ba: c0040513 addi a0,s0,-1024
13be: 807c sh a5,0(sp)
13c0: c44a sw s2,8(sp)
13c2: c226 sw s1,4(sp)
13c4: d26ff0ef jal ra,8ea <GPIO_Init>
13c8: 010407b7 lui a5,0x1040
13cc: c63e sw a5,12(sp)
13ce: 000207b7 lui a5,0x20
13d2: c83e sw a5,16(sp)
13d4: 020007b7 lui a5,0x2000
13d8: 0785 addi a5,a5,1
13da: 40004437 lui s0,0x40004
13de: ca3e sw a5,20(sp)
13e0: 47a1 li a5,8
13e2: cc3e sw a5,24(sp)
13e4: 006c addi a1,sp,12
13e6: 479d li a5,7
13e8: 80040513 addi a0,s0,-2048 # 40003800 <_eusrstack+0x1fffe800>
13ec: 86fc sh a5,28(sp)
13ee: 3c81 jal e3e <SPI_Init>
13f0: 4585 li a1,1
13f2: 80040513 addi a0,s0,-2048
13f6: 3cad jal e70 <SPI_Cmd>
13f8: 6105 addi sp,sp,32
13fa: d9bfe06f j 194 <__riscv_restore_0>
000013fe <SPI_ReadWriteByte>:
13fe: d59fe2ef jal t0,156 <__riscv_save_4>
1402: 400044b7 lui s1,0x40004
1406: 892a mv s2,a0
1408: 0c900413 li s0,201
140c: 80048993 addi s3,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
1410: 4589 li a1,2
1412: 854e mv a0,s3
1414: 3cbd jal e92 <SPI_I2S_GetFlagStatus>
1416: c50d beqz a0,1440 <SPI_ReadWriteByte+0x42>
1418: 85ca mv a1,s2
141a: 80048513 addi a0,s1,-2048
141e: 400044b7 lui s1,0x40004
1422: 34a5 jal e8a <SPI_I2S_SendData>
1424: 0c900413 li s0,201
1428: 80048913 addi s2,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
142c: 4585 li a1,1
142e: 854a mv a0,s2
1430: 348d jal e92 <SPI_I2S_GetFlagStatus>
1432: cd11 beqz a0,144e <SPI_ReadWriteByte+0x50>
1434: 80048513 addi a0,s1,-2048
1438: 3c99 jal e8e <SPI_I2S_ReceiveData>
143a: 0ff57513 andi a0,a0,255
143e: a031 j 144a <SPI_ReadWriteByte+0x4c>
1440: 147d addi s0,s0,-1
1442: 0ff47413 andi s0,s0,255
1446: f469 bnez s0,1410 <SPI_ReadWriteByte+0x12>
1448: 4501 li a0,0
144a: d41fe06f j 18a <__riscv_restore_4>
144e: 147d addi s0,s0,-1
1450: 0ff47413 andi s0,s0,255
1454: fc61 bnez s0,142c <SPI_ReadWriteByte+0x2e>
1456: bfcd j 1448 <SPI_ReadWriteByte+0x4a>
00001458 <SPI_Flash_Read>:
1458: d19fe2ef jal t0,170 <__riscv_save_0>
145c: 892a mv s2,a0
145e: 40011537 lui a0,0x40011
1462: 842e mv s0,a1
1464: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
1468: 6585 lui a1,0x1
146a: 84b2 mv s1,a2
146c: 4601 li a2,0
146e: d40ff0ef jal ra,9ae <GPIO_WriteBit>
1472: 450d li a0,3
1474: 3769 jal 13fe <SPI_ReadWriteByte>
1476: 01045513 srli a0,s0,0x10
147a: 0ff57513 andi a0,a0,255
147e: 3741 jal 13fe <SPI_ReadWriteByte>
1480: 00845513 srli a0,s0,0x8
1484: 0ff57513 andi a0,a0,255
1488: 3f9d jal 13fe <SPI_ReadWriteByte>
148a: 0ff47513 andi a0,s0,255
148e: 3f85 jal 13fe <SPI_ReadWriteByte>
1490: 4401 li s0,0
1492: 01041793 slli a5,s0,0x10
1496: 83c1 srli a5,a5,0x10
1498: 0097ec63 bltu a5,s1,14b0 <SPI_Flash_Read+0x58>
149c: 40011537 lui a0,0x40011
14a0: 4605 li a2,1
14a2: 6585 lui a1,0x1
14a4: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
14a8: d06ff0ef jal ra,9ae <GPIO_WriteBit>
14ac: ce9fe06f j 194 <__riscv_restore_0>
14b0: 0ff00513 li a0,255
14b4: 37a9 jal 13fe <SPI_ReadWriteByte>
14b6: 008907b3 add a5,s2,s0
14ba: a388 sb a0,0(a5)
14bc: 0405 addi s0,s0,1
14be: bfd1 j 1492 <SPI_Flash_Read+0x3a>
000014c0 <G_FFMOS_CON_Init>:
14c0: cb1fe2ef jal t0,170 <__riscv_save_0>
14c4: 1141 addi sp,sp,-16
14c6: 4585 li a1,1
14c8: 4511 li a0,4
14ca: 91bff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
14ce: 77e1 lui a5,0xffff8
14d0: 40011437 lui s0,0x40011
14d4: 827c sh a5,4(sp)
14d6: 47c1 li a5,16
14d8: c63e sw a5,12(sp)
14da: 004c addi a1,sp,4
14dc: 478d li a5,3
14de: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x2000b800>
14e2: c43e sw a5,8(sp)
14e4: c06ff0ef jal ra,8ea <GPIO_Init>
14e8: 4605 li a2,1
14ea: 80040513 addi a0,s0,-2048
14ee: 65a1 lui a1,0x8
14f0: cbeff0ef jal ra,9ae <GPIO_WriteBit>
14f4: 4585 li a1,1
14f6: 4521 li a0,8
14f8: 8edff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
14fc: 47a1 li a5,8
14fe: 004c addi a1,sp,4
1500: c0040513 addi a0,s0,-1024
1504: 827c sh a5,4(sp)
1506: be4ff0ef jal ra,8ea <GPIO_Init>
150a: 4605 li a2,1
150c: 45a1 li a1,8
150e: c0040513 addi a0,s0,-1024
1512: c9cff0ef jal ra,9ae <GPIO_WriteBit>
1516: 0141 addi sp,sp,16
1518: c7dfe06f j 194 <__riscv_restore_0>
0000151c <RUN_LED_Init>:
151c: c55fe2ef jal t0,170 <__riscv_save_0>
1520: 1141 addi sp,sp,-16
1522: 4585 li a1,1
1524: 4511 li a0,4
1526: 8bfff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
152a: 10000793 li a5,256
152e: 827c sh a5,4(sp)
1530: 40011537 lui a0,0x40011
1534: 47c1 li a5,16
1536: c63e sw a5,12(sp)
1538: 004c addi a1,sp,4
153a: 478d li a5,3
153c: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
1540: c43e sw a5,8(sp)
1542: ba8ff0ef jal ra,8ea <GPIO_Init>
1546: 0141 addi sp,sp,16
1548: c4dfe06f j 194 <__riscv_restore_0>
0000154c <WDI_INPUT_Init>:
154c: c25fe2ef jal t0,170 <__riscv_save_0>
1550: 1141 addi sp,sp,-16
1552: 4585 li a1,1
1554: 4541 li a0,16
1556: 88fff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
155a: 6785 lui a5,0x1
155c: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
1560: 827c sh a5,4(sp)
1562: 40011537 lui a0,0x40011
1566: 47c1 li a5,16
1568: c63e sw a5,12(sp)
156a: 004c addi a1,sp,4
156c: 478d li a5,3
156e: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
1572: c43e sw a5,8(sp)
1574: b76ff0ef jal ra,8ea <GPIO_Init>
1578: 0141 addi sp,sp,16
157a: c1bfe06f j 194 <__riscv_restore_0>
0000157e <BEEP_Init>:
157e: bf3fe2ef jal t0,170 <__riscv_save_0>
1582: 1141 addi sp,sp,-16
1584: 4585 li a1,1
1586: 4511 li a0,4
1588: 85dff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
158c: 6785 lui a5,0x1
158e: 827c sh a5,4(sp)
1590: 40011537 lui a0,0x40011
1594: 47c1 li a5,16
1596: c63e sw a5,12(sp)
1598: 004c addi a1,sp,4
159a: 478d li a5,3
159c: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
15a0: c43e sw a5,8(sp)
15a2: b48ff0ef jal ra,8ea <GPIO_Init>
15a6: 0141 addi sp,sp,16
15a8: bedfe06f j 194 <__riscv_restore_0>
000015ac <POW_OUT_CON_Init>:
15ac: bc5fe2ef jal t0,170 <__riscv_save_0>
15b0: 1141 addi sp,sp,-16
15b2: 4585 li a1,1
15b4: 4521 li a0,8
15b6: 82fff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
15ba: 10000793 li a5,256
15be: 827c sh a5,4(sp)
15c0: 40011537 lui a0,0x40011
15c4: 47c1 li a5,16
15c6: c63e sw a5,12(sp)
15c8: 004c addi a1,sp,4
15ca: 478d li a5,3
15cc: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
15d0: c43e sw a5,8(sp)
15d2: b18ff0ef jal ra,8ea <GPIO_Init>
15d6: 0141 addi sp,sp,16
15d8: bbdfe06f j 194 <__riscv_restore_0>
000015dc <DSG_PROT_Init>:
15dc: b95fe2ef jal t0,170 <__riscv_save_0>
15e0: 7179 addi sp,sp,-48
15e2: 4585 li a1,1
15e4: 4525 li a0,9
15e6: ffeff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
15ea: 4791 li a5,4
15ec: 40011537 lui a0,0x40011
15f0: 82fc sh a5,20(sp)
15f2: 084c addi a1,sp,20
15f4: 04800793 li a5,72
15f8: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
15fc: ce3e sw a5,28(sp)
15fe: aecff0ef jal ra,8ea <GPIO_Init>
1602: 4589 li a1,2
1604: 4505 li a0,1
1606: cdeff0ef jal ra,ae4 <GPIO_EXTILineConfig>
160a: 4791 li a5,4
160c: 4405 li s0,1
160e: d03e sw a5,32(sp)
1610: 1008 addi a0,sp,32
1612: 47b1 li a5,12
1614: d43e sw a5,40(sp)
1616: d622 sw s0,44(sp)
1618: d202 sw zero,36(sp)
161a: a3eff0ef jal ra,858 <EXTI_Init>
161e: 11800793 li a5,280
1622: 867c sh a5,12(sp)
1624: 0068 addi a0,sp,12
1626: 4789 li a5,2
1628: 875c sb a5,14(sp)
162a: c822 sw s0,16(sp)
162c: e7aff0ef jal ra,ca6 <NVIC_Init>
1630: 6145 addi sp,sp,48
1632: b63fe06f j 194 <__riscv_restore_0>
00001636 <EXTI2_IRQHandler>:
1636: 4511 li a0,4
1638: a8aff0ef jal ra,8c2 <EXTI_GetITStatus>
163c: 4785 li a5,1
163e: 02f51363 bne a0,a5,1664 <EXTI2_IRQHandler+0x2e>
1642: 00004537 lui a0,0x4
1646: 3cc50513 addi a0,a0,972 # 43cc <_read+0x46>
164a: 3ad010ef jal ra,31f6 <puts>
164e: 40011537 lui a0,0x40011
1652: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
1656: 4601 li a2,0
1658: 4591 li a1,4
165a: b54ff0ef jal ra,9ae <GPIO_WriteBit>
165e: 4511 li a0,4
1660: a80ff0ef jal ra,8e0 <EXTI_ClearITPendingBit>
1664: 30200073 mret
00001668 <EnPowerSupply_Init>:
1668: b09fe2ef jal t0,170 <__riscv_save_0>
166c: 1141 addi sp,sp,-16
166e: 4585 li a1,1
1670: 4521 li a0,8
1672: f72ff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
1676: 08000793 li a5,128
167a: 40011437 lui s0,0x40011
167e: 827c sh a5,4(sp)
1680: 47c1 li a5,16
1682: c63e sw a5,12(sp)
1684: 004c addi a1,sp,4
1686: 478d li a5,3
1688: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
168c: c43e sw a5,8(sp)
168e: a5cff0ef jal ra,8ea <GPIO_Init>
1692: 4601 li a2,0
1694: 08000593 li a1,128
1698: c0040513 addi a0,s0,-1024
169c: b12ff0ef jal ra,9ae <GPIO_WriteBit>
16a0: 0141 addi sp,sp,16
16a2: af3fe06f j 194 <__riscv_restore_0>
000016a6 <PWM_GPIO_Configuration>:
16a6: acbfe2ef jal t0,170 <__riscv_save_0>
16aa: 1141 addi sp,sp,-16
16ac: 4585 li a1,1
16ae: 4521 li a0,8
16b0: f34ff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
16b4: 4585 li a1,1
16b6: 4511 li a0,4
16b8: f4aff0ef jal ra,e02 <RCC_PB1PeriphClockCmd>
16bc: 20000793 li a5,512
16c0: 40011437 lui s0,0x40011
16c4: 827c sh a5,4(sp)
16c6: 47e1 li a5,24
16c8: c63e sw a5,12(sp)
16ca: 004c addi a1,sp,4
16cc: 478d li a5,3
16ce: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
16d2: c43e sw a5,8(sp)
16d4: a16ff0ef jal ra,8ea <GPIO_Init>
16d8: 08000793 li a5,128
16dc: 004c addi a1,sp,4
16de: c0040513 addi a0,s0,-1024
16e2: 827c sh a5,4(sp)
16e4: a06ff0ef jal ra,8ea <GPIO_Init>
16e8: 0141 addi sp,sp,16
16ea: aabfe06f j 194 <__riscv_restore_0>
000016ee <PWM_TIM_Configuration>:
16ee: a83fe2ef jal t0,170 <__riscv_save_0>
16f2: 1101 addi sp,sp,-32
16f4: 3f4d jal 16a6 <PWM_GPIO_Configuration>
16f6: 40001437 lui s0,0x40001
16fa: 1df00793 li a5,479
16fe: 858a mv a1,sp
1700: 80040513 addi a0,s0,-2048 # 40000800 <_eusrstack+0x1fffb800>
1704: c03e sw a5,0(sp)
1706: c202 sw zero,4(sp)
1708: 00011423 sh zero,8(sp)
170c: 00010523 sb zero,10(sp)
1710: f8cff0ef jal ra,e9c <TIM_TimeBaseInit>
1714: 80040513 addi a0,s0,-2048
1718: 4585 li a1,1
171a: 95dff0ef jal ra,1076 <TIM_ARRPreloadConfig>
171e: 67c1 lui a5,0x10
1720: 06078793 addi a5,a5,96 # 10060 <_data_lma+0xb694>
1724: 006c addi a1,sp,12
1726: 80040513 addi a0,s0,-2048
172a: c83e sw a5,16(sp)
172c: 00011b23 sh zero,22(sp)
1730: c602 sw zero,12(sp)
1732: 889ff0ef jal ra,fba <TIM_OC4Init>
1736: 80040513 addi a0,s0,-2048
173a: 45a1 li a1,8
173c: 96bff0ef jal ra,10a6 <TIM_OC4PreloadConfig>
1740: 006c addi a1,sp,12
1742: 80040513 addi a0,s0,-2048
1746: fccff0ef jal ra,f12 <TIM_OC2Init>
174a: 80040513 addi a0,s0,-2048
174e: 4581 li a1,0
1750: 941ff0ef jal ra,1090 <TIM_OC2PreloadConfig>
1754: 80040513 addi a0,s0,-2048
1758: 4585 li a1,1
175a: 8ddff0ef jal ra,1036 <TIM_Cmd>
175e: 4585 li a1,1
1760: 80040513 addi a0,s0,-2048
1764: 8ebff0ef jal ra,104e <TIM_CtrlPWMOutputs>
1768: 6105 addi sp,sp,32
176a: a2bfe06f j 194 <__riscv_restore_0>
0000176e <Set_duty_ratio>:
176e: 9e9fe2ef jal t0,156 <__riscv_save_4>
1772: 4104 lw s1,0(a0)
1774: 842a mv s0,a0
1776: 8526 mv a0,s1
1778: 79e010ef jal ra,2f16 <__extendsfdf2>
177c: 000047b7 lui a5,0x4
1780: 3e87a603 lw a2,1000(a5) # 43e8 <_read+0x62>
1784: 3ec7a683 lw a3,1004(a5)
1788: 892a mv s2,a0
178a: 89ae mv s3,a1
178c: 3ee010ef jal ra,2b7a <__ledf2>
1790: 00055963 bgez a0,17a2 <Set_duty_ratio+0x34>
1794: 000047b7 lui a5,0x4
1798: 3dc7a783 lw a5,988(a5) # 43dc <_read+0x56>
179c: c01c sw a5,0(s0)
179e: 9edfe06f j 18a <__riscv_restore_4>
17a2: 000047b7 lui a5,0x4
17a6: 3f07a603 lw a2,1008(a5) # 43f0 <_read+0x6a>
17aa: 3f47a683 lw a3,1012(a5)
17ae: 854a mv a0,s2
17b0: 85ce mv a1,s3
17b2: 31a010ef jal ra,2acc <__gedf2>
17b6: 00a05763 blez a0,17c4 <Set_duty_ratio+0x56>
17ba: 000047b7 lui a5,0x4
17be: 3e07a783 lw a5,992(a5) # 43e0 <_read+0x5a>
17c2: bfe9 j 179c <Set_duty_ratio+0x2e>
17c4: 000047b7 lui a5,0x4
17c8: 3e47a583 lw a1,996(a5) # 43e4 <_read+0x5e>
17cc: 8526 mv a0,s1
17ce: 462010ef jal ra,2c30 <__mulsf3>
17d2: 6ee010ef jal ra,2ec0 <__fixunssfsi>
17d6: 01051593 slli a1,a0,0x10
17da: 40001537 lui a0,0x40001
17de: 81c1 srli a1,a1,0x10
17e0: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
17e4: 8d9ff0ef jal ra,10bc <TIM_SetCompare4>
17e8: bf5d j 179e <Set_duty_ratio+0x30>
000017ea <GW_485_Init>:
17ea: 987fe2ef jal t0,170 <__riscv_save_0>
17ee: 7179 addi sp,sp,-48
17f0: 40011437 lui s0,0x40011
17f4: 47c1 li a5,16
17f6: 892a mv s2,a0
17f8: 82fc sh a5,20(sp)
17fa: 448d li s1,3
17fc: 47c1 li a5,16
17fe: 084c addi a1,sp,20
1800: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
1804: ce3e sw a5,28(sp)
1806: cc26 sw s1,24(sp)
1808: 8e2ff0ef jal ra,8ea <GPIO_Init>
180c: 4601 li a2,0
180e: c0040513 addi a0,s0,-1024
1812: 45c1 li a1,16
1814: 99aff0ef jal ra,9ae <GPIO_WriteBit>
1818: 4585 li a1,1
181a: 4521 li a0,8
181c: dc8ff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
1820: 4585 li a1,1
1822: 00080537 lui a0,0x80
1826: ddcff0ef jal ra,e02 <RCC_PB1PeriphClockCmd>
182a: 4785 li a5,1
182c: 82fc sh a5,20(sp)
182e: 084c addi a1,sp,20
1830: 47e1 li a5,24
1832: c0040513 addi a0,s0,-1024
1836: cc26 sw s1,24(sp)
1838: ce3e sw a5,28(sp)
183a: 8b0ff0ef jal ra,8ea <GPIO_Init>
183e: 4489 li s1,2
1840: 4791 li a5,4
1842: 084c addi a1,sp,20
1844: c0040513 addi a0,s0,-1024
1848: 82e4 sh s1,20(sp)
184a: 40005437 lui s0,0x40005
184e: ce3e sw a5,28(sp)
1850: 89aff0ef jal ra,8ea <GPIO_Init>
1854: 100c addi a1,sp,32
1856: 000c07b7 lui a5,0xc0
185a: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
185e: d04a sw s2,32(sp)
1860: d43e sw a5,40(sp)
1862: d202 sw zero,36(sp)
1864: 02011623 sh zero,44(sp)
1868: 8a7ff0ef jal ra,110e <USART_Init>
186c: 13d00793 li a5,317
1870: 867c sh a5,12(sp)
1872: 0068 addi a0,sp,12
1874: 4785 li a5,1
1876: c83e sw a5,16(sp)
1878: 8744 sb s1,14(sp)
187a: c2cff0ef jal ra,ca6 <NVIC_Init>
187e: 4605 li a2,1
1880: c0040513 addi a0,s0,-1024
1884: 52500593 li a1,1317
1888: 957ff0ef jal ra,11de <USART_ITConfig>
188c: 4585 li a1,1
188e: c0040513 addi a0,s0,-1024
1892: 937ff0ef jal ra,11c8 <USART_Cmd>
1896: 6145 addi sp,sp,48
1898: 8fdfe06f j 194 <__riscv_restore_0>
0000189c <BAT_485_Init>:
189c: 8d5fe2ef jal t0,170 <__riscv_save_0>
18a0: 7179 addi sp,sp,-48
18a2: 40011437 lui s0,0x40011
18a6: 02000793 li a5,32
18aa: 892a mv s2,a0
18ac: 82fc sh a5,20(sp)
18ae: 448d li s1,3
18b0: 47c1 li a5,16
18b2: 084c addi a1,sp,20
18b4: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
18b8: ce3e sw a5,28(sp)
18ba: cc26 sw s1,24(sp)
18bc: 82eff0ef jal ra,8ea <GPIO_Init>
18c0: 4601 li a2,0
18c2: c0040513 addi a0,s0,-1024
18c6: 02000593 li a1,32
18ca: 8e4ff0ef jal ra,9ae <GPIO_WriteBit>
18ce: 4585 li a1,1
18d0: 4521 li a0,8
18d2: d12ff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
18d6: 4585 li a1,1
18d8: 00040537 lui a0,0x40
18dc: d26ff0ef jal ra,e02 <RCC_PB1PeriphClockCmd>
18e0: 40000793 li a5,1024
18e4: 82fc sh a5,20(sp)
18e6: 084c addi a1,sp,20
18e8: 47e1 li a5,24
18ea: c0040513 addi a0,s0,-1024
18ee: cc26 sw s1,24(sp)
18f0: ce3e sw a5,28(sp)
18f2: ff9fe0ef jal ra,8ea <GPIO_Init>
18f6: 6785 lui a5,0x1
18f8: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
18fc: 82fc sh a5,20(sp)
18fe: 084c addi a1,sp,20
1900: 4791 li a5,4
1902: c0040513 addi a0,s0,-1024
1906: ce3e sw a5,28(sp)
1908: 40005437 lui s0,0x40005
190c: fdffe0ef jal ra,8ea <GPIO_Init>
1910: 100c addi a1,sp,32
1912: 000c07b7 lui a5,0xc0
1916: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
191a: d04a sw s2,32(sp)
191c: d43e sw a5,40(sp)
191e: d202 sw zero,36(sp)
1920: 02011623 sh zero,44(sp)
1924: feaff0ef jal ra,110e <USART_Init>
1928: 13700793 li a5,311
192c: 867c sh a5,12(sp)
192e: 4785 li a5,1
1930: 875c sb a5,14(sp)
1932: 0068 addi a0,sp,12
1934: 4785 li a5,1
1936: c83e sw a5,16(sp)
1938: b6eff0ef jal ra,ca6 <NVIC_Init>
193c: 4605 li a2,1
193e: 80040513 addi a0,s0,-2048
1942: 52500593 li a1,1317
1946: 899ff0ef jal ra,11de <USART_ITConfig>
194a: 4585 li a1,1
194c: 80040513 addi a0,s0,-2048
1950: 879ff0ef jal ra,11c8 <USART_Cmd>
1954: 6145 addi sp,sp,48
1956: 83ffe06f j 194 <__riscv_restore_0>
0000195a <USARTx_SendByte>:
195a: 817fe2ef jal t0,170 <__riscv_save_0>
195e: 842a mv s0,a0
1960: 8b5ff0ef jal ra,1214 <USART_SendData>
1964: 08000593 li a1,128
1968: 8522 mv a0,s0
196a: 8bbff0ef jal ra,1224 <USART_GetFlagStatus>
196e: d97d beqz a0,1964 <USARTx_SendByte+0xa>
1970: 825fe06f j 194 <__riscv_restore_0>
00001974 <USART3_IRQHandler>:
1974: 1141 addi sp,sp,-16
1976: c622 sw s0,12(sp)
1978: 40005437 lui s0,0x40005
197c: 52500593 li a1,1317
1980: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
1984: 8abff0ef jal ra,122e <USART_GetITStatus>
1988: c50d beqz a0,19b2 <USART3_IRQHandler+0x3e>
198a: 80040513 addi a0,s0,-2048
198e: 88fff0ef jal ra,121c <USART_ReceiveData>
1992: 0ff57593 andi a1,a0,255
1996: 82b18c23 sb a1,-1992(gp) # 20000188 <USART3_Rbuffer>
199a: 8541a503 lw a0,-1964(gp) # 200001a4 <g_bat485_uart3_handle>
199e: 4d1c lw a5,24(a0)
19a0: 4910 lw a2,16(a0)
19a2: 4954 lw a3,20(a0)
19a4: 0785 addi a5,a5,1
19a6: 02c7e7b3 rem a5,a5,a2
19aa: 00d78463 beq a5,a3,19b2 <USART3_IRQHandler+0x3e>
19ae: 0531 addi a0,a0,12
19b0: 2cb1 jal 1c0c <InRingQueue>
19b2: 4432 lw s0,12(sp)
19b4: 0141 addi sp,sp,16
19b6: 30200073 mret
000019ba <USART4_IRQHandler>:
19ba: 1141 addi sp,sp,-16
19bc: c622 sw s0,12(sp)
19be: 40005437 lui s0,0x40005
19c2: 52500593 li a1,1317
19c6: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
19ca: 865ff0ef jal ra,122e <USART_GetITStatus>
19ce: c50d beqz a0,19f8 <USART4_IRQHandler+0x3e>
19d0: c0040513 addi a0,s0,-1024
19d4: 849ff0ef jal ra,121c <USART_ReceiveData>
19d8: 0ff57593 andi a1,a0,255
19dc: 82b18e23 sb a1,-1988(gp) # 2000018c <USART4_Rbuffer>
19e0: 8581a503 lw a0,-1960(gp) # 200001a8 <g_gw485_uart4_handle>
19e4: 4d1c lw a5,24(a0)
19e6: 4910 lw a2,16(a0)
19e8: 4954 lw a3,20(a0)
19ea: 0785 addi a5,a5,1
19ec: 02c7e7b3 rem a5,a5,a2
19f0: 00d78463 beq a5,a3,19f8 <USART4_IRQHandler+0x3e>
19f4: 0531 addi a0,a0,12
19f6: 2c19 jal 1c0c <InRingQueue>
19f8: 4432 lw s0,12(sp)
19fa: 0141 addi sp,sp,16
19fc: 30200073 mret
00001a00 <TIM3_Int_Init>:
1a00: f70fe2ef jal t0,170 <__riscv_save_0>
1a04: 1101 addi sp,sp,-32
1a06: 84aa mv s1,a0
1a08: 842e mv s0,a1
1a0a: 4509 li a0,2
1a0c: 4585 li a1,1
1a0e: bf4ff0ef jal ra,e02 <RCC_PB1PeriphClockCmd>
1a12: 84e0 sh s0,24(sp)
1a14: 40000437 lui s0,0x40000
1a18: 084c addi a1,sp,20
1a1a: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
1a1e: ca26 sw s1,20(sp)
1a20: 00011e23 sh zero,28(sp)
1a24: 00011d23 sh zero,26(sp)
1a28: c74ff0ef jal ra,e9c <TIM_TimeBaseInit>
1a2c: 4605 li a2,1
1a2e: 4585 li a1,1
1a30: 40040513 addi a0,s0,1024
1a34: e30ff0ef jal ra,1064 <TIM_ITConfig>
1a38: 02d00793 li a5,45
1a3c: 867c sh a5,12(sp)
1a3e: 478d li a5,3
1a40: 875c sb a5,14(sp)
1a42: 0068 addi a0,sp,12
1a44: 4785 li a5,1
1a46: c83e sw a5,16(sp)
1a48: a5eff0ef jal ra,ca6 <NVIC_Init>
1a4c: 4585 li a1,1
1a4e: 40040513 addi a0,s0,1024
1a52: de4ff0ef jal ra,1036 <TIM_Cmd>
1a56: 6105 addi sp,sp,32
1a58: f3cfe06f j 194 <__riscv_restore_0>
00001a5c <TIM3_Init>:
1a5c: f14fe2ef jal t0,170 <__riscv_save_0>
1a60: 200007b7 lui a5,0x20000
1a64: 1507a583 lw a1,336(a5) # 20000150 <SystemCoreClock>
1a68: 6789 lui a5,0x2
1a6a: 71078793 addi a5,a5,1808 # 2710 <Task_recvbroadcast+0x1c>
1a6e: 02f5d5b3 divu a1,a1,a5
1a72: 4525 li a0,9
1a74: 15fd addi a1,a1,-1
1a76: 05c2 slli a1,a1,0x10
1a78: 81c1 srli a1,a1,0x10
1a7a: 3759 jal 1a00 <TIM3_Int_Init>
1a7c: f18fe06f j 194 <__riscv_restore_0>
00001a80 <TIM3_IRQHandler>:
1a80: 1141 addi sp,sp,-16
1a82: c622 sw s0,12(sp)
1a84: 40000437 lui s0,0x40000
1a88: 4585 li a1,1
1a8a: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
1a8e: e5cff0ef jal ra,10ea <TIM_GetITStatus>
1a92: c519 beqz a0,1aa0 <TIM3_IRQHandler+0x20>
1a94: 4585 li a1,1
1a96: 40040513 addi a0,s0,1024
1a9a: e68ff0ef jal ra,1102 <TIM_ClearITPendingBit>
1a9e: 2a1d jal 1bd4 <TimeSliceOffset_Produce>
1aa0: 4432 lw s0,12(sp)
1aa2: 0141 addi sp,sp,16
1aa4: 30200073 mret
00001aa8 <TIM2_Int_Init>:
1aa8: ec8fe2ef jal t0,170 <__riscv_save_0>
1aac: 1101 addi sp,sp,-32
1aae: 842e mv s0,a1
1ab0: 84aa mv s1,a0
1ab2: 4585 li a1,1
1ab4: 4505 li a0,1
1ab6: b4cff0ef jal ra,e02 <RCC_PB1PeriphClockCmd>
1aba: 084c addi a1,sp,20
1abc: 40000537 lui a0,0x40000
1ac0: ca26 sw s1,20(sp)
1ac2: 84e0 sh s0,24(sp)
1ac4: 00011e23 sh zero,28(sp)
1ac8: 00011d23 sh zero,26(sp)
1acc: bd0ff0ef jal ra,e9c <TIM_TimeBaseInit>
1ad0: 4605 li a2,1
1ad2: 4585 li a1,1
1ad4: 40000537 lui a0,0x40000
1ad8: d8cff0ef jal ra,1064 <TIM_ITConfig>
1adc: 12c00793 li a5,300
1ae0: 867c sh a5,12(sp)
1ae2: 478d li a5,3
1ae4: 875c sb a5,14(sp)
1ae6: 0068 addi a0,sp,12
1ae8: 4785 li a5,1
1aea: c83e sw a5,16(sp)
1aec: 9baff0ef jal ra,ca6 <NVIC_Init>
1af0: 6105 addi sp,sp,32
1af2: ea2fe06f j 194 <__riscv_restore_0>
00001af6 <TIM2_Init>:
1af6: e7afe2ef jal t0,170 <__riscv_save_0>
1afa: 200007b7 lui a5,0x20000
1afe: 1507a583 lw a1,336(a5) # 20000150 <SystemCoreClock>
1b02: 3e800793 li a5,1000
1b06: 6515 lui a0,0x5
1b08: 02f5d5b3 divu a1,a1,a5
1b0c: e1f50513 addi a0,a0,-481 # 4e1f <_data_lma+0x453>
1b10: 15fd addi a1,a1,-1
1b12: 05c2 slli a1,a1,0x10
1b14: 81c1 srli a1,a1,0x10
1b16: 3f49 jal 1aa8 <TIM2_Int_Init>
1b18: e7cfe06f j 194 <__riscv_restore_0>
00001b1c <TIM2_IRQHandler>:
1b1c: 4585 li a1,1
1b1e: 40000537 lui a0,0x40000
1b22: dc8ff0ef jal ra,10ea <TIM_GetITStatus>
1b26: cd11 beqz a0,1b42 <TIM2_IRQHandler+0x26>
1b28: 4585 li a1,1
1b2a: 40000537 lui a0,0x40000
1b2e: dd4ff0ef jal ra,1102 <TIM_ClearITPendingBit>
1b32: 4581 li a1,0
1b34: 40000537 lui a0,0x40000
1b38: cfeff0ef jal ra,1036 <TIM_Cmd>
1b3c: 4705 li a4,1
1b3e: 80e18423 sb a4,-2040(gp) # 20000158 <run_Broadcast>
1b42: 30200073 mret
00001b46 <TimeSliceOffset_Register>:
1b46: c91d beqz a0,1b7c <TimeSliceOffset_Register+0x36>
1b48: 96b2 add a3,a3,a2
1b4a: 06c2 slli a3,a3,0x10
1b4c: 82c1 srli a3,a3,0x10
1b4e: a152 sh a2,4(a0)
1b50: a136 sh a3,2(a0)
1b52: c50c sw a1,8(a0)
1b54: ee09 bnez a2,1b6e <TimeSliceOffset_Register+0x28>
1b56: 4785 li a5,1
1b58: a11c sb a5,0(a0)
1b5a: 8401a683 lw a3,-1984(gp) # 20000190 <pTimeSliceList>
1b5e: 84018793 addi a5,gp,-1984 # 20000190 <pTimeSliceList>
1b62: 8736 mv a4,a3
1b64: eb01 bnez a4,1b74 <TimeSliceOffset_Register+0x2e>
1b66: c554 sw a3,12(a0)
1b68: c388 sw a0,0(a5)
1b6a: 4501 li a0,0
1b6c: 8082 ret
1b6e: 00050023 sb zero,0(a0) # 40000000 <_eusrstack+0x1fffb000>
1b72: b7e5 j 1b5a <TimeSliceOffset_Register+0x14>
1b74: 00a70663 beq a4,a0,1b80 <TimeSliceOffset_Register+0x3a>
1b78: 4758 lw a4,12(a4)
1b7a: b7ed j 1b64 <TimeSliceOffset_Register+0x1e>
1b7c: 557d li a0,-1
1b7e: 8082 ret
1b80: 4505 li a0,1
1b82: 8082 ret
00001b84 <TimeSliceOffset_Unregister>:
1b84: c50d beqz a0,1bae <TimeSliceOffset_Unregister+0x2a>
1b86: 8401a783 lw a5,-1984(gp) # 20000190 <pTimeSliceList>
1b8a: 84018713 addi a4,gp,-1984 # 20000190 <pTimeSliceList>
1b8e: e399 bnez a5,1b94 <TimeSliceOffset_Unregister+0x10>
1b90: 4505 li a0,1
1b92: 8082 ret
1b94: 47d4 lw a3,12(a5)
1b96: 00a69663 bne a3,a0,1ba2 <TimeSliceOffset_Unregister+0x1e>
1b9a: 4558 lw a4,12(a0)
1b9c: c7d8 sw a4,12(a5)
1b9e: 4501 li a0,0
1ba0: 8082 ret
1ba2: 00a79463 bne a5,a0,1baa <TimeSliceOffset_Unregister+0x26>
1ba6: c314 sw a3,0(a4)
1ba8: bfdd j 1b9e <TimeSliceOffset_Unregister+0x1a>
1baa: 87b6 mv a5,a3
1bac: b7cd j 1b8e <TimeSliceOffset_Unregister+0xa>
1bae: 557d li a0,-1
1bb0: 8082 ret
00001bb2 <TimeSliceOffset_Start>:
1bb2: dbefe2ef jal t0,170 <__riscv_save_0>
1bb6: 8401a403 lw s0,-1984(gp) # 20000190 <pTimeSliceList>
1bba: dc75 beqz s0,1bb6 <TimeSliceOffset_Start+0x4>
1bbc: 201c lbu a5,0(s0)
1bbe: 0ff7f793 andi a5,a5,255
1bc2: c799 beqz a5,1bd0 <TimeSliceOffset_Start+0x1e>
1bc4: 205e lhu a5,4(s0)
1bc6: c399 beqz a5,1bcc <TimeSliceOffset_Start+0x1a>
1bc8: 00040023 sb zero,0(s0)
1bcc: 441c lw a5,8(s0)
1bce: 9782 jalr a5
1bd0: 4440 lw s0,12(s0)
1bd2: b7e5 j 1bba <TimeSliceOffset_Start+0x8>
00001bd4 <TimeSliceOffset_Produce>:
1bd4: 8401a783 lw a5,-1984(gp) # 20000190 <pTimeSliceList>
1bd8: 4605 li a2,1
1bda: e391 bnez a5,1bde <TimeSliceOffset_Produce+0xa>
1bdc: 8082 ret
1bde: 23d6 lhu a3,4(a5)
1be0: ce81 beqz a3,1bf8 <TimeSliceOffset_Produce+0x24>
1be2: 23ba lhu a4,2(a5)
1be4: 177d addi a4,a4,-1
1be6: 0742 slli a4,a4,0x10
1be8: 8341 srli a4,a4,0x10
1bea: a3ba sh a4,2(a5)
1bec: 23ba lhu a4,2(a5)
1bee: 0742 slli a4,a4,0x10
1bf0: 8341 srli a4,a4,0x10
1bf2: e319 bnez a4,1bf8 <TimeSliceOffset_Produce+0x24>
1bf4: a390 sb a2,0(a5)
1bf6: a3b6 sh a3,2(a5)
1bf8: 47dc lw a5,12(a5)
1bfa: b7c5 j 1bda <TimeSliceOffset_Produce+0x6>
00001bfc <InitRingQueue>:
1bfc: 00052623 sw zero,12(a0)
1c00: c10c sw a1,0(a0)
1c02: c150 sw a2,4(a0)
1c04: 00052423 sw zero,8(a0)
1c08: 4505 li a0,1
1c0a: 8082 ret
00001c0c <InRingQueue>:
1c0c: 455c lw a5,12(a0)
1c0e: 4154 lw a3,4(a0)
1c10: 4518 lw a4,8(a0)
1c12: 0785 addi a5,a5,1
1c14: 02d7e7b3 rem a5,a5,a3
1c18: 00e78e63 beq a5,a4,1c34 <InRingQueue+0x28>
1c1c: 4558 lw a4,12(a0)
1c1e: 411c lw a5,0(a0)
1c20: 97ba add a5,a5,a4
1c22: a38c sb a1,0(a5)
1c24: 455c lw a5,12(a0)
1c26: 4158 lw a4,4(a0)
1c28: 0785 addi a5,a5,1
1c2a: 02e7e7b3 rem a5,a5,a4
1c2e: c55c sw a5,12(a0)
1c30: 4505 li a0,1
1c32: 8082 ret
1c34: 5579 li a0,-2
1c36: 8082 ret
00001c38 <OutRingQueue>:
1c38: 4518 lw a4,8(a0)
1c3a: 455c lw a5,12(a0)
1c3c: 00f70f63 beq a4,a5,1c5a <OutRingQueue+0x22>
1c40: 4518 lw a4,8(a0)
1c42: 411c lw a5,0(a0)
1c44: 97ba add a5,a5,a4
1c46: 239c lbu a5,0(a5)
1c48: a19c sb a5,0(a1)
1c4a: 451c lw a5,8(a0)
1c4c: 4158 lw a4,4(a0)
1c4e: 0785 addi a5,a5,1
1c50: 02e7e7b3 rem a5,a5,a4
1c54: c51c sw a5,8(a0)
1c56: 4505 li a0,1
1c58: 8082 ret
1c5a: 4501 li a0,0
1c5c: 8082 ret
00001c5e <RingQueueLength>:
1c5e: 455c lw a5,12(a0)
1c60: 4518 lw a4,8(a0)
1c62: 4148 lw a0,4(a0)
1c64: 8f99 sub a5,a5,a4
1c66: 97aa add a5,a5,a0
1c68: 02a7e533 rem a0,a5,a0
1c6c: 8082 ret
00001c6e <Delay_Init>:
1c6e: 200007b7 lui a5,0x20000
1c72: 1507a783 lw a5,336(a5) # 20000150 <SystemCoreClock>
1c76: 6709 lui a4,0x2
1c78: f4070713 addi a4,a4,-192 # 1f40 <SL_MsgProcFunc_Registration_request+0xc>
1c7c: 02e7d7b3 divu a5,a5,a4
1c80: 07c2 slli a5,a5,0x10
1c82: 83c1 srli a5,a5,0x10
1c84: 84f19323 sh a5,-1978(gp) # 20000196 <p_us>
1c88: 84f19223 sh a5,-1980(gp) # 20000194 <p_ms>
1c8c: 8082 ret
00001c8e <Delay_Ms>:
1c8e: e000f7b7 lui a5,0xe000f
1c92: 43d8 lw a4,4(a5)
1c94: 4681 li a3,0
1c96: 9b79 andi a4,a4,-2
1c98: c3d8 sw a4,4(a5)
1c9a: 8441d703 lhu a4,-1980(gp) # 20000194 <p_ms>
1c9e: 02a70633 mul a2,a4,a0
1ca2: cb90 sw a2,16(a5)
1ca4: cbd4 sw a3,20(a5)
1ca6: 4398 lw a4,0(a5)
1ca8: 01076713 ori a4,a4,16
1cac: c398 sw a4,0(a5)
1cae: 4398 lw a4,0(a5)
1cb0: 02176713 ori a4,a4,33
1cb4: c398 sw a4,0(a5)
1cb6: 43d8 lw a4,4(a5)
1cb8: 8b05 andi a4,a4,1
1cba: df75 beqz a4,1cb6 <Delay_Ms+0x28>
1cbc: 4398 lw a4,0(a5)
1cbe: 9b79 andi a4,a4,-2
1cc0: c398 sw a4,0(a5)
1cc2: 8082 ret
00001cc4 <USART_Printf_Init>:
1cc4: cacfe2ef jal t0,170 <__riscv_save_0>
1cc8: 842a mv s0,a0
1cca: 6511 lui a0,0x4
1ccc: 1101 addi sp,sp,-32
1cce: 4585 li a1,1
1cd0: 0511 addi a0,a0,4
1cd2: 912ff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
1cd6: 20000793 li a5,512
1cda: 827c sh a5,4(sp)
1cdc: 40011537 lui a0,0x40011
1ce0: 478d li a5,3
1ce2: c43e sw a5,8(sp)
1ce4: 004c addi a1,sp,4
1ce6: 47e1 li a5,24
1ce8: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
1cec: c63e sw a5,12(sp)
1cee: bfdfe0ef jal ra,8ea <GPIO_Init>
1cf2: c822 sw s0,16(sp)
1cf4: 40014437 lui s0,0x40014
1cf8: 000807b7 lui a5,0x80
1cfc: 080c addi a1,sp,16
1cfe: 80040513 addi a0,s0,-2048 # 40013800 <_eusrstack+0x2000e800>
1d02: cc3e sw a5,24(sp)
1d04: ca02 sw zero,20(sp)
1d06: 00011e23 sh zero,28(sp)
1d0a: c04ff0ef jal ra,110e <USART_Init>
1d0e: 4585 li a1,1
1d10: 80040513 addi a0,s0,-2048
1d14: cb4ff0ef jal ra,11c8 <USART_Cmd>
1d18: 6105 addi sp,sp,32
1d1a: c7afe06f j 194 <__riscv_restore_0>
00001d1e <_write>:
1d1e: c38fe2ef jal t0,156 <__riscv_save_4>
1d22: 400144b7 lui s1,0x40014
1d26: 89ae mv s3,a1
1d28: 8932 mv s2,a2
1d2a: 4401 li s0,0
1d2c: 80048493 addi s1,s1,-2048 # 40013800 <_eusrstack+0x2000e800>
1d30: 01244563 blt s0,s2,1d3a <_write+0x1c>
1d34: 854a mv a0,s2
1d36: c54fe06f j 18a <__riscv_restore_4>
1d3a: 04000593 li a1,64
1d3e: 8526 mv a0,s1
1d40: ce4ff0ef jal ra,1224 <USART_GetFlagStatus>
1d44: d97d beqz a0,1d3a <_write+0x1c>
1d46: 008987b3 add a5,s3,s0
1d4a: 00078583 lb a1,0(a5) # 80000 <_data_lma+0x7b634>
1d4e: 8526 mv a0,s1
1d50: 0405 addi s0,s0,1
1d52: 05c2 slli a1,a1,0x10
1d54: 81c1 srli a1,a1,0x10
1d56: cbeff0ef jal ra,1214 <USART_SendData>
1d5a: bfd9 j 1d30 <_write+0x12>
00001d5c <_sbrk>:
1d5c: 80c18713 addi a4,gp,-2036 # 2000015c <curbrk.5007>
1d60: 431c lw a5,0(a4)
1d62: ad818693 addi a3,gp,-1320 # 20000428 <_ebss>
1d66: 953e add a0,a0,a5
1d68: 00d56b63 bltu a0,a3,1d7e <_sbrk+0x22>
1d6c: 200056b7 lui a3,0x20005
1d70: 80068693 addi a3,a3,-2048 # 20004800 <_heap_end>
1d74: 00a6e563 bltu a3,a0,1d7e <_sbrk+0x22>
1d78: c308 sw a0,0(a4)
1d7a: 853e mv a0,a5
1d7c: 8082 ret
1d7e: 57fd li a5,-1
1d80: bfed j 1d7a <_sbrk+0x1e>
00001d82 <read_config_info>:
1d82: beefe2ef jal t0,170 <__riscv_save_0>
1d86: 1101 addi sp,sp,-32
1d88: 850a mv a0,sp
1d8a: 4679 li a2,30
1d8c: 4581 li a1,0
1d8e: ecaff0ef jal ra,1458 <SPI_Flash_Read>
1d92: 8018 lbu a4,0(sp)
1d94: 05300793 li a5,83
1d98: 4501 li a0,0
1d9a: 00f71b63 bne a4,a5,1db0 <read_config_info+0x2e>
1d9e: 20000537 lui a0,0x20000
1da2: 4679 li a2,30
1da4: 858a mv a1,sp
1da6: 02050513 addi a0,a0,32 # 20000020 <g_slConfigInfo>
1daa: 286010ef jal ra,3030 <memcpy>
1dae: 4505 li a0,1
1db0: 6105 addi sp,sp,32
1db2: be2fe06f j 194 <__riscv_restore_0>
00001db6 <SL_ReadRegisterSolarOpenCircuitVoltage2>:
1db6: bbafe2ef jal t0,170 <__riscv_save_0>
1dba: 00004537 lui a0,0x4
1dbe: 20d00613 li a2,525
1dc2: 4585 li a1,1
1dc4: 62450513 addi a0,a0,1572 # 4624 <_read+0x29e>
1dc8: 31a010ef jal ra,30e2 <iprintf>
1dcc: 86418793 addi a5,gp,-1948 # 200001b4 <g_Mppt_Para>
1dd0: 2be8 lbu a0,22(a5)
1dd2: 3bd8 lbu a4,21(a5)
1dd4: 47a9 li a5,10
1dd6: 0522 slli a0,a0,0x8
1dd8: 8d59 or a0,a0,a4
1dda: 02f50533 mul a0,a0,a5
1dde: 0542 slli a0,a0,0x10
1de0: 8141 srli a0,a0,0x10
1de2: bb2fe06f j 194 <__riscv_restore_0>
00001de6 <SL_ReadRegisterSolarOpenCircuitVoltage1>:
1de6: b8afe2ef jal t0,170 <__riscv_save_0>
1dea: 00004537 lui a0,0x4
1dee: 20100613 li a2,513
1df2: 4585 li a1,1
1df4: 5e850513 addi a0,a0,1512 # 45e8 <_read+0x262>
1df8: 2ea010ef jal ra,30e2 <iprintf>
1dfc: 86418793 addi a5,gp,-1948 # 200001b4 <g_Mppt_Para>
1e00: 2bc8 lbu a0,20(a5)
1e02: 3bb8 lbu a4,19(a5)
1e04: 47a9 li a5,10
1e06: 0522 slli a0,a0,0x8
1e08: 8d59 or a0,a0,a4
1e0a: 02f50533 mul a0,a0,a5
1e0e: 0542 slli a0,a0,0x10
1e10: 8141 srli a0,a0,0x10
1e12: b82fe06f j 194 <__riscv_restore_0>
00001e16 <SL_ReadRegisterRemainingBatteryBower>:
1e16: b5afe2ef jal t0,170 <__riscv_save_0>
1e1a: 00004537 lui a0,0x4
1e1e: 1f500613 li a2,501
1e22: 4585 li a1,1
1e24: 5b050513 addi a0,a0,1456 # 45b0 <_read+0x22a>
1e28: 2ba010ef jal ra,30e2 <iprintf>
1e2c: 86418793 addi a5,gp,-1948 # 200001b4 <g_Mppt_Para>
1e30: 2ba8 lbu a0,18(a5)
1e32: 3b98 lbu a4,17(a5)
1e34: 47a9 li a5,10
1e36: 0522 slli a0,a0,0x8
1e38: 8d59 or a0,a0,a4
1e3a: 02f50533 mul a0,a0,a5
1e3e: 0542 slli a0,a0,0x10
1e40: 8141 srli a0,a0,0x10
1e42: b52fe06f j 194 <__riscv_restore_0>
00001e46 <SL_ReadRegisterBatterytemperature>:
1e46: b2afe2ef jal t0,170 <__riscv_save_0>
1e4a: 00004537 lui a0,0x4
1e4e: 1e900613 li a2,489
1e52: 4585 li a1,1
1e54: 50850513 addi a0,a0,1288 # 4508 <_read+0x182>
1e58: 28a010ef jal ra,30e2 <iprintf>
1e5c: 86418793 addi a5,gp,-1948 # 200001b4 <g_Mppt_Para>
1e60: 2b88 lbu a0,16(a5)
1e62: 37f8 lbu a4,15(a5)
1e64: 47a9 li a5,10
1e66: 0522 slli a0,a0,0x8
1e68: 8d59 or a0,a0,a4
1e6a: 02f50533 mul a0,a0,a5
1e6e: 0542 slli a0,a0,0x10
1e70: 8141 srli a0,a0,0x10
1e72: b22fe06f j 194 <__riscv_restore_0>
00001e76 <SL_ReadRegisterBatteryVoltage>:
1e76: afafe2ef jal t0,170 <__riscv_save_0>
1e7a: 00004537 lui a0,0x4
1e7e: 1dd00613 li a2,477
1e82: 4585 li a1,1
1e84: 4d450513 addi a0,a0,1236 # 44d4 <_read+0x14e>
1e88: 25a010ef jal ra,30e2 <iprintf>
1e8c: 86418793 addi a5,gp,-1948 # 200001b4 <g_Mppt_Para>
1e90: 27e8 lbu a0,14(a5)
1e92: 37d8 lbu a4,13(a5)
1e94: 47a9 li a5,10
1e96: 0522 slli a0,a0,0x8
1e98: 8d59 or a0,a0,a4
1e9a: 02f50533 mul a0,a0,a5
1e9e: 0542 slli a0,a0,0x10
1ea0: 8141 srli a0,a0,0x10
1ea2: af2fe06f j 194 <__riscv_restore_0>
00001ea6 <SL_ReadRegisterCommunicationMethods>:
1ea6: acafe2ef jal t0,170 <__riscv_save_0>
1eaa: 00004537 lui a0,0x4
1eae: 1d100613 li a2,465
1eb2: 4585 li a1,1
1eb4: 54050513 addi a0,a0,1344 # 4540 <_read+0x1ba>
1eb8: 22a010ef jal ra,30e2 <iprintf>
1ebc: 86418793 addi a5,gp,-1948 # 200001b4 <g_Mppt_Para>
1ec0: 37a8 lbu a0,11(a5)
1ec2: 27dc lbu a5,12(a5)
1ec4: 07a2 slli a5,a5,0x8
1ec6: 8d5d or a0,a0,a5
1ec8: accfe06f j 194 <__riscv_restore_0>
00001ecc <SL_ReadRegisterAccessNodeType>:
1ecc: aa4fe2ef jal t0,170 <__riscv_save_0>
1ed0: 00004537 lui a0,0x4
1ed4: 1c500613 li a2,453
1ed8: 4585 li a1,1
1eda: 4a050513 addi a0,a0,1184 # 44a0 <_read+0x11a>
1ede: 204010ef jal ra,30e2 <iprintf>
1ee2: 86418793 addi a5,gp,-1948 # 200001b4 <g_Mppt_Para>
1ee6: 3788 lbu a0,9(a5)
1ee8: 27bc lbu a5,10(a5)
1eea: 07a2 slli a5,a5,0x8
1eec: 8d5d or a0,a0,a5
1eee: aa6fe06f j 194 <__riscv_restore_0>
00001ef2 <SL_ReadRegisteraddress>:
1ef2: a7efe2ef jal t0,170 <__riscv_save_0>
1ef6: 00004537 lui a0,0x4
1efa: 1b900613 li a2,441
1efe: 4585 li a1,1
1f00: 66050513 addi a0,a0,1632 # 4660 <_read+0x2da>
1f04: 1de010ef jal ra,30e2 <iprintf>
1f08: 4501 li a0,0
1f0a: a8afe06f j 194 <__riscv_restore_0>
00001f0e <SL_ReadRegisterRegistrationStatus>:
1f0e: a62fe2ef jal t0,170 <__riscv_save_0>
1f12: 00004537 lui a0,0x4
1f16: 1ad00613 li a2,429
1f1a: 4585 li a1,1
1f1c: 57850513 addi a0,a0,1400 # 4578 <_read+0x1f2>
1f20: 1c2010ef jal ra,30e2 <iprintf>
1f24: 8641c503 lbu a0,-1948(gp) # 200001b4 <g_Mppt_Para>
1f28: 8651c783 lbu a5,-1947(gp) # 200001b5 <g_Mppt_Para+0x1>
1f2c: 07a2 slli a5,a5,0x8
1f2e: 8d5d or a0,a0,a5
1f30: a64fe06f j 194 <__riscv_restore_0>
00001f34 <SL_MsgProcFunc_Registration_request>:
1f34: a3cfe2ef jal t0,170 <__riscv_save_0>
1f38: 00004537 lui a0,0x4
1f3c: 842e mv s0,a1
1f3e: 14500613 li a2,325
1f42: 4585 li a1,1
1f44: 3f850513 addi a0,a0,1016 # 43f8 <_read+0x72>
1f48: 19a010ef jal ra,30e2 <iprintf>
1f4c: 4705 li a4,1
1f4e: 84e188a3 sb a4,-1967(gp) # 200001a1 <recvbroadcast_flag>
1f52: 8b018513 addi a0,gp,-1872 # 20000200 <m_recvbroadcast>
1f56: 84018423 sb zero,-1976(gp) # 20000198 <RegistrationRequestFlag>
1f5a: c2bff0ef jal ra,1b84 <TimeSliceOffset_Unregister>
1f5e: 245c lbu a5,12(s0)
1f60: 3454 lbu a3,13(s0)
1f62: 07a2 slli a5,a5,0x8
1f64: 8fd5 or a5,a5,a3
1f66: 86f18223 sb a5,-1948(gp) # 200001b4 <g_Mppt_Para>
1f6a: 83a1 srli a5,a5,0x8
1f6c: 86f182a3 sb a5,-1947(gp) # 200001b5 <g_Mppt_Para+0x1>
1f70: 80018423 sb zero,-2040(gp) # 20000158 <run_Broadcast>
1f74: 400007b7 lui a5,0x40000
1f78: 02079223 sh zero,36(a5) # 40000024 <_eusrstack+0x1fffb024>
1f7c: 4585 li a1,1
1f7e: 40000537 lui a0,0x40000
1f82: 8b4ff0ef jal ra,1036 <TIM_Cmd>
1f86: a0efe06f j 194 <__riscv_restore_0>
00001f8a <SL_MsgProcFunc_Broadcast_Scan>:
1f8a: 9e6fe2ef jal t0,170 <__riscv_save_0>
1f8e: 84a1a623 sw a0,-1972(gp) # 2000019c <g_recvBroadcastDevice>
1f92: 4715 li a4,5
1f94: 6605 lui a2,0x1
1f96: 000025b7 lui a1,0x2
1f9a: 84e18823 sb a4,-1968(gp) # 200001a0 <g_recvBroadcastRegisterNumber>
1f9e: 4485 li s1,1
1fa0: 4681 li a3,0
1fa2: bb860613 addi a2,a2,-1096 # bb8 <GPIO_IPD_Unused+0xa8>
1fa6: 6f458593 addi a1,a1,1780 # 26f4 <Task_recvbroadcast>
1faa: 8b018513 addi a0,gp,-1872 # 20000200 <m_recvbroadcast>
1fae: 84918423 sb s1,-1976(gp) # 20000198 <RegistrationRequestFlag>
1fb2: b95ff0ef jal ra,1b46 <TimeSliceOffset_Register>
1fb6: 8a918823 sb s1,-1872(gp) # 20000200 <m_recvbroadcast>
1fba: 9dafe06f j 194 <__riscv_restore_0>
00001fbe <SL_MsgProcFunc_Write_Register>:
1fbe: 9b2fe2ef jal t0,170 <__riscv_save_0>
1fc2: 25d4 lbu a3,12(a1)
1fc4: 35dc lbu a5,13(a1)
1fc6: 06a2 slli a3,a3,0x8
1fc8: 8edd or a3,a3,a5
1fca: 4795 li a5,5
1fcc: 00d7fd63 bgeu a5,a3,1fe6 <SL_MsgProcFunc_Write_Register+0x28>
1fd0: 00004537 lui a0,0x4
1fd4: 11a00613 li a2,282
1fd8: 4585 li a1,1
1fda: 42450513 addi a0,a0,1060 # 4424 <_read+0x9e>
1fde: 104010ef jal ra,30e2 <iprintf>
1fe2: 9b2fe06f j 194 <__riscv_restore_0>
1fe6: 25b4 lbu a3,10(a1)
1fe8: 35bc lbu a5,11(a1)
1fea: 06a2 slli a3,a3,0x8
1fec: 8edd or a3,a3,a5
1fee: 20000793 li a5,512
1ff2: 00d7fa63 bgeu a5,a3,2006 <SL_MsgProcFunc_Write_Register+0x48>
1ff6: 00004537 lui a0,0x4
1ffa: 12100613 li a2,289
1ffe: 4585 li a1,1
2000: 45450513 addi a0,a0,1108 # 4454 <_read+0xce>
2004: bfe9 j 1fde <SL_MsgProcFunc_Write_Register+0x20>
2006: 00004537 lui a0,0x4
200a: 48c50513 addi a0,a0,1164 # 448c <_read+0x106>
200e: 1e8010ef jal ra,31f6 <puts>
2012: bfc1 j 1fe2 <SL_MsgProcFunc_Write_Register+0x24>
00002014 <CheckFunc>:
2014: 67c1 lui a5,0x10
2016: 7669 lui a2,0xffffa
2018: 4681 li a3,0
201a: 17fd addi a5,a5,-1
201c: 0605 addi a2,a2,1
201e: 01069713 slli a4,a3,0x10
2022: 8341 srli a4,a4,0x10
2024: 00b76463 bltu a4,a1,202c <CheckFunc+0x18>
2028: 853e mv a0,a5
202a: 8082 ret
202c: 00d50733 add a4,a0,a3
2030: 2318 lbu a4,0(a4)
2032: 8fb9 xor a5,a5,a4
2034: 4721 li a4,8
2036: 0017f813 andi a6,a5,1
203a: 8385 srli a5,a5,0x1
203c: 00080563 beqz a6,2046 <CheckFunc+0x32>
2040: 8fb1 xor a5,a5,a2
2042: 07c2 slli a5,a5,0x10
2044: 83c1 srli a5,a5,0x10
2046: 177d addi a4,a4,-1
2048: 0742 slli a4,a4,0x10
204a: 8341 srli a4,a4,0x10
204c: f76d bnez a4,2036 <CheckFunc+0x22>
204e: 0685 addi a3,a3,1
2050: b7f9 j 201e <CheckFunc+0xa>
00002052 <randomDelay>:
2052: 91efe2ef jal t0,170 <__riscv_save_0>
2056: 40001537 lui a0,0x40001
205a: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
205e: 874ff0ef jal ra,10d2 <TIM_GetCounter>
2062: 1a0010ef jal ra,3202 <srand>
2066: 1f2010ef jal ra,3258 <rand>
206a: 0f100793 li a5,241
206e: 02f56533 rem a0,a0,a5
2072: 47a9 li a5,10
2074: 0529 addi a0,a0,10
2076: 02f50533 mul a0,a0,a5
207a: 91afe06f j 194 <__riscv_restore_0>
0000207e <Check_485_bus_busy>:
207e: 8d8fe2ef jal t0,156 <__riscv_save_4>
2082: 8541a703 lw a4,-1964(gp) # 200001a4 <g_bat485_uart3_handle>
2086: 842a mv s0,a0
2088: 84be mv s1,a5
208a: 4605 li a2,1
208c: 52500593 li a1,1317
2090: 04a71c63 bne a4,a0,20e8 <Check_485_bus_busy+0x6a>
2094: 40005537 lui a0,0x40005
2098: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
209c: 942ff0ef jal ra,11de <USART_ITConfig>
20a0: 8522 mv a0,s0
20a2: 21d000ef jal ra,2abe <ring_queue_length>
20a6: 01051913 slli s2,a0,0x10
20aa: 4509 li a0,2
20ac: be3ff0ef jal ra,1c8e <Delay_Ms>
20b0: 8522 mv a0,s0
20b2: 20d000ef jal ra,2abe <ring_queue_length>
20b6: 8541a783 lw a5,-1964(gp) # 200001a4 <g_bat485_uart3_handle>
20ba: 01051993 slli s3,a0,0x10
20be: 01095913 srli s2,s2,0x10
20c2: 0109d993 srli s3,s3,0x10
20c6: 4601 li a2,0
20c8: 52500593 li a1,1317
20cc: 40005537 lui a0,0x40005
20d0: 02879163 bne a5,s0,20f2 <Check_485_bus_busy+0x74>
20d4: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
20d8: 906ff0ef jal ra,11de <USART_ITConfig>
20dc: 41390533 sub a0,s2,s3
20e0: 00a03533 snez a0,a0
20e4: 8a6fe06f j 18a <__riscv_restore_4>
20e8: 40005537 lui a0,0x40005
20ec: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
20f0: b775 j 209c <Check_485_bus_busy+0x1e>
20f2: c0050513 addi a0,a0,-1024
20f6: b7cd j 20d8 <Check_485_bus_busy+0x5a>
000020f8 <SL_MsgProcFunc_Remote_Upgrade>:
20f8: 878fe2ef jal t0,170 <__riscv_save_0>
20fc: 20000437 lui s0,0x20000
2100: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
2104: 1141 addi sp,sp,-16
2106: 02040413 addi s0,s0,32
210a: 805c sb a5,0(sp)
210c: 301c lbu a5,1(s0)
210e: 00011523 sh zero,10(sp)
2112: 84aa mv s1,a0
2114: 80dc sb a5,1(sp)
2116: 203c lbu a5,2(s0)
2118: 45ad li a1,11
211a: 850a mv a0,sp
211c: 815c sb a5,2(sp)
211e: 303c lbu a5,3(s0)
2120: 00011623 sh zero,12(sp)
2124: 81dc sb a5,3(sp)
2126: 205c lbu a5,4(s0)
2128: 825c sb a5,4(sp)
212a: 305c lbu a5,5(s0)
212c: 82dc sb a5,5(sp)
212e: 207c lbu a5,6(s0)
2130: 835c sb a5,6(sp)
2132: 307c lbu a5,7(s0)
2134: 83dc sb a5,7(sp)
2136: 241c lbu a5,8(s0)
2138: 845c sb a5,8(sp)
213a: fd100793 li a5,-47
213e: 84dc sb a5,9(sp)
2140: 4785 li a5,1
2142: 855c sb a5,10(sp)
2144: 3dc1 jal 2014 <CheckFunc>
2146: 00855793 srli a5,a0,0x8
214a: 85dc sb a5,11(sp)
214c: 341c lbu a5,9(s0)
214e: 8648 sb a0,12(sp)
2150: 86dc sb a5,13(sp)
2152: 3701 jal 2052 <randomDelay>
2154: b3bff0ef jal ra,1c8e <Delay_Ms>
2158: 8526 mv a0,s1
215a: 3715 jal 207e <Check_485_bus_busy>
215c: f97d bnez a0,2152 <SL_MsgProcFunc_Remote_Upgrade+0x5a>
215e: 463d li a2,15
2160: 858a mv a1,sp
2162: 8526 mv a0,s1
2164: 0c9000ef jal ra,2a2c <uart_dev_write>
2168: 8541a783 lw a5,-1964(gp) # 200001a4 <g_bat485_uart3_handle>
216c: 4605 li a2,1
216e: 52500593 li a1,1317
2172: 40005537 lui a0,0x40005
2176: 00979963 bne a5,s1,2188 <SL_MsgProcFunc_Remote_Upgrade+0x90>
217a: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
217e: 860ff0ef jal ra,11de <USART_ITConfig>
2182: 0141 addi sp,sp,16
2184: 810fe06f j 194 <__riscv_restore_0>
2188: c0050513 addi a0,a0,-1024
218c: bfcd j 217e <SL_MsgProcFunc_Remote_Upgrade+0x86>
0000218e <SL_MsgProcFunc_Update_Profile>:
218e: fe3fd2ef jal t0,170 <__riscv_save_0>
2192: 20000437 lui s0,0x20000
2196: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
219a: 1141 addi sp,sp,-16
219c: 02040413 addi s0,s0,32
21a0: 805c sb a5,0(sp)
21a2: 301c lbu a5,1(s0)
21a4: 00011523 sh zero,10(sp)
21a8: 84aa mv s1,a0
21aa: 80dc sb a5,1(sp)
21ac: 203c lbu a5,2(s0)
21ae: 45ad li a1,11
21b0: 850a mv a0,sp
21b2: 815c sb a5,2(sp)
21b4: 303c lbu a5,3(s0)
21b6: 00011623 sh zero,12(sp)
21ba: 81dc sb a5,3(sp)
21bc: 205c lbu a5,4(s0)
21be: 825c sb a5,4(sp)
21c0: 305c lbu a5,5(s0)
21c2: 82dc sb a5,5(sp)
21c4: 207c lbu a5,6(s0)
21c6: 835c sb a5,6(sp)
21c8: 307c lbu a5,7(s0)
21ca: 83dc sb a5,7(sp)
21cc: 241c lbu a5,8(s0)
21ce: 845c sb a5,8(sp)
21d0: fd000793 li a5,-48
21d4: 84dc sb a5,9(sp)
21d6: 4785 li a5,1
21d8: 855c sb a5,10(sp)
21da: 3d2d jal 2014 <CheckFunc>
21dc: 00855793 srli a5,a0,0x8
21e0: 85dc sb a5,11(sp)
21e2: 341c lbu a5,9(s0)
21e4: 8648 sb a0,12(sp)
21e6: 86dc sb a5,13(sp)
21e8: 35ad jal 2052 <randomDelay>
21ea: aa5ff0ef jal ra,1c8e <Delay_Ms>
21ee: 8526 mv a0,s1
21f0: 3579 jal 207e <Check_485_bus_busy>
21f2: f97d bnez a0,21e8 <SL_MsgProcFunc_Update_Profile+0x5a>
21f4: 463d li a2,15
21f6: 858a mv a1,sp
21f8: 8526 mv a0,s1
21fa: 033000ef jal ra,2a2c <uart_dev_write>
21fe: 8541a783 lw a5,-1964(gp) # 200001a4 <g_bat485_uart3_handle>
2202: 4605 li a2,1
2204: 52500593 li a1,1317
2208: 40005537 lui a0,0x40005
220c: 00979963 bne a5,s1,221e <SL_MsgProcFunc_Update_Profile+0x90>
2210: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
2214: fcbfe0ef jal ra,11de <USART_ITConfig>
2218: 0141 addi sp,sp,16
221a: f7bfd06f j 194 <__riscv_restore_0>
221e: c0050513 addi a0,a0,-1024
2222: bfcd j 2214 <SL_MsgProcFunc_Update_Profile+0x86>
00002224 <SL_MsgProcFunc_Read_Register>:
2224: f25fd2ef jal t0,148 <__riscv_save_10>
2228: 00c5c903 lbu s2,12(a1)
222c: 35dc lbu a5,13(a1)
222e: 1101 addi sp,sp,-32
2230: 0922 slli s2,s2,0x8
2232: 00f96933 or s2,s2,a5
2236: 0942 slli s2,s2,0x10
2238: 41095913 srai s2,s2,0x10
223c: 01091493 slli s1,s2,0x10
2240: 80c1 srli s1,s1,0x10
2242: 4795 li a5,5
2244: 0097ff63 bgeu a5,s1,2262 <SL_MsgProcFunc_Read_Register+0x3e>
2248: 00004537 lui a0,0x4
224c: 86a6 mv a3,s1
224e: 0bb00613 li a2,187
2252: 4585 li a1,1
2254: 42450513 addi a0,a0,1060 # 4424 <_read+0x9e>
2258: 68b000ef jal ra,30e2 <iprintf>
225c: 6105 addi sp,sp,32
225e: f23fd06f j 180 <__riscv_restore_10>
2262: 25b4 lbu a3,10(a1)
2264: 35bc lbu a5,11(a1)
2266: 06a2 slli a3,a3,0x8
2268: 8edd or a3,a3,a5
226a: 20000793 li a5,512
226e: 00d7fa63 bgeu a5,a3,2282 <SL_MsgProcFunc_Read_Register+0x5e>
2272: 00004537 lui a0,0x4
2276: 0c100613 li a2,193
227a: 4585 li a1,1
227c: 45450513 addi a0,a0,1108 # 4454 <_read+0xce>
2280: bfe1 j 2258 <SL_MsgProcFunc_Read_Register+0x34>
2282: 89aa mv s3,a0
2284: ca02 sw zero,20(sp)
2286: cc02 sw zero,24(sp)
2288: 00011e23 sh zero,28(sp)
228c: 01410a93 addi s5,sp,20
2290: 8a36 mv s4,a3
2292: 20000b37 lui s6,0x20000
2296: 40da07b3 sub a5,s4,a3
229a: 07c2 slli a5,a5,0x10
229c: 83c1 srli a5,a5,0x10
229e: 0c97e163 bltu a5,s1,2360 <SL_MsgProcFunc_Read_Register+0x13c>
22a2: 87c18413 addi s0,gp,-1924 # 200001cc <rs485_buff>
22a6: 00c40513 addi a0,s0,12
22aa: 02600613 li a2,38
22ae: 4581 li a1,0
22b0: ef1fd0ef jal ra,1a0 <memset>
22b4: 20000737 lui a4,0x20000
22b8: 02074783 lbu a5,32(a4) # 20000020 <g_slConfigInfo>
22bc: 012405a3 sb s2,11(s0)
22c0: 00040523 sb zero,10(s0)
22c4: a01c sb a5,0(s0)
22c6: 02070793 addi a5,a4,32
22ca: 3394 lbu a3,1(a5)
22cc: 00149a93 slli s5,s1,0x1
22d0: 02070913 addi s2,a4,32
22d4: b014 sb a3,1(s0)
22d6: 23b4 lbu a3,2(a5)
22d8: a034 sb a3,2(s0)
22da: 33b4 lbu a3,3(a5)
22dc: b034 sb a3,3(s0)
22de: 23d4 lbu a3,4(a5)
22e0: a054 sb a3,4(s0)
22e2: 33d4 lbu a3,5(a5)
22e4: b054 sb a3,5(s0)
22e6: 23f4 lbu a3,6(a5)
22e8: a074 sb a3,6(s0)
22ea: 33f4 lbu a3,7(a5)
22ec: 279c lbu a5,8(a5)
22ee: b074 sb a3,7(s0)
22f0: a41c sb a5,8(s0)
22f2: 03000793 li a5,48
22f6: b41c sb a5,9(s0)
22f8: 4781 li a5,0
22fa: 88818413 addi s0,gp,-1912 # 200001d8 <rs485_buff+0xc>
22fe: 0957c563 blt a5,s5,2388 <SL_MsgProcFunc_Read_Register+0x164>
2302: 00648593 addi a1,s1,6
2306: 0586 slli a1,a1,0x1
2308: 0fe5f593 andi a1,a1,254
230c: 87c18513 addi a0,gp,-1924 # 200001cc <rs485_buff>
2310: d05ff0ef jal ra,2014 <CheckFunc>
2314: 00851793 slli a5,a0,0x8
2318: 8121 srli a0,a0,0x8
231a: 8d5d or a0,a0,a5
231c: 00994783 lbu a5,9(s2)
2320: 9456 add s0,s0,s5
2322: a00a sh a0,0(s0)
2324: a03c sb a5,2(s0)
2326: d2dff0ef jal ra,2052 <randomDelay>
232a: 965ff0ef jal ra,1c8e <Delay_Ms>
232e: 854e mv a0,s3
2330: d4fff0ef jal ra,207e <Check_485_bus_busy>
2334: f96d bnez a0,2326 <SL_MsgProcFunc_Read_Register+0x102>
2336: 010a8613 addi a2,s5,16
233a: 87c18593 addi a1,gp,-1924 # 200001cc <rs485_buff>
233e: 854e mv a0,s3
2340: 6ec000ef jal ra,2a2c <uart_dev_write>
2344: 8541a783 lw a5,-1964(gp) # 200001a4 <g_bat485_uart3_handle>
2348: 4605 li a2,1
234a: 52500593 li a1,1317
234e: 40005537 lui a0,0x40005
2352: 05379c63 bne a5,s3,23aa <SL_MsgProcFunc_Read_Register+0x186>
2356: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
235a: e85fe0ef jal ra,11de <USART_ITConfig>
235e: bdfd j 225c <SL_MsgProcFunc_Read_Register+0x38>
2360: 070b0413 addi s0,s6,112 # 20000070 <g_RegTblR>
2364: 04840b93 addi s7,s0,72
2368: 401c lw a5,0(s0)
236a: 01479963 bne a5,s4,237c <SL_MsgProcFunc_Read_Register+0x158>
236e: 405c lw a5,4(s0)
2370: 4501 li a0,0
2372: c636 sw a3,12(sp)
2374: 9782 jalr a5
2376: 46b2 lw a3,12(sp)
2378: 00aa9023 sh a0,0(s5)
237c: 0421 addi s0,s0,8
237e: fe8b95e3 bne s7,s0,2368 <SL_MsgProcFunc_Read_Register+0x144>
2382: 0a89 addi s5,s5,2
2384: 0a05 addi s4,s4,1
2386: bf01 j 2296 <SL_MsgProcFunc_Read_Register+0x72>
2388: 1010 addi a2,sp,32
238a: 0fe7f713 andi a4,a5,254
238e: 9732 add a4,a4,a2
2390: 0017f613 andi a2,a5,1
2394: 00f406b3 add a3,s0,a5
2398: ff475703 lhu a4,-12(a4)
239c: e211 bnez a2,23a0 <SL_MsgProcFunc_Read_Register+0x17c>
239e: 8321 srli a4,a4,0x8
23a0: 0785 addi a5,a5,1
23a2: a298 sb a4,0(a3)
23a4: 0ff7f793 andi a5,a5,255
23a8: bf99 j 22fe <SL_MsgProcFunc_Read_Register+0xda>
23aa: c0050513 addi a0,a0,-1024
23ae: b775 j 235a <SL_MsgProcFunc_Read_Register+0x136>
000023b0 <FRT_MsgHandler>:
23b0: da7fd2ef jal t0,156 <__riscv_save_4>
23b4: 20000437 lui s0,0x20000
23b8: 04040413 addi s0,s0,64 # 20000040 <g_MsgTbl>
23bc: 89aa mv s3,a0
23be: 84ae mv s1,a1
23c0: 8a32 mv s4,a2
23c2: 03040913 addi s2,s0,48
23c6: 3498 lbu a4,9(s1)
23c8: 401c lw a5,0(s0)
23ca: 00f71763 bne a4,a5,23d8 <FRT_MsgHandler+0x28>
23ce: 405c lw a5,4(s0)
23d0: 8652 mv a2,s4
23d2: 85a6 mv a1,s1
23d4: 854e mv a0,s3
23d6: 9782 jalr a5
23d8: 0421 addi s0,s0,8
23da: ff2416e3 bne s0,s2,23c6 <FRT_MsgHandler+0x16>
23de: dadfd06f j 18a <__riscv_restore_4>
000023e2 <read_and_process_uart_data>:
23e2: d5ffd2ef jal t0,140 <__riscv_save_12>
23e6: 1141 addi sp,sp,-16
23e8: 8caa mv s9,a0
23ea: 696000ef jal ra,2a80 <uart_dev_char_present>
23ee: 2c050063 beqz a0,26ae <read_and_process_uart_data+0x2cc>
23f2: 4551 li a0,20
23f4: 89bff0ef jal ra,1c8e <Delay_Ms>
23f8: 03200613 li a2,50
23fc: 4581 li a1,0
23fe: 87c18513 addi a0,gp,-1924 # 200001cc <rs485_buff>
2402: 87c18413 addi s0,gp,-1924 # 200001cc <rs485_buff>
2406: 20000db7 lui s11,0x20000
240a: d97fd0ef jal ra,1a0 <memset>
240e: 4981 li s3,0
2410: 4481 li s1,0
2412: 4a01 li s4,0
2414: 00140b93 addi s7,s0,1
2418: 00004d37 lui s10,0x4
241c: 020d8b13 addi s6,s11,32 # 20000020 <g_slConfigInfo>
2420: 8566 mv a0,s9
2422: 69c000ef jal ra,2abe <ring_queue_length>
2426: 28050463 beqz a0,26ae <read_and_process_uart_data+0x2cc>
242a: 8566 mv a0,s9
242c: 66c000ef jal ra,2a98 <uart_dev_in_char>
2430: 87c18793 addi a5,gp,-1924 # 200001cc <rs485_buff>
2434: 97d2 add a5,a5,s4
2436: c63e sw a5,12(sp)
2438: a388 sb a0,0(a5)
243a: 001a0a93 addi s5,s4,1
243e: 4789 li a5,2
2440: 00fa8463 beq s5,a5,2448 <read_and_process_uart_data+0x66>
2444: 26048a63 beqz s1,26b8 <read_and_process_uart_data+0x2d6>
2448: 2018 lbu a4,0(s0)
244a: 020dc783 lbu a5,32(s11)
244e: 10f71c63 bne a4,a5,2566 <read_and_process_uart_data+0x184>
2452: 3018 lbu a4,1(s0)
2454: 001b4783 lbu a5,1(s6)
2458: 10f71763 bne a4,a5,2566 <read_and_process_uart_data+0x184>
245c: 00004537 lui a0,0x4
2460: 25000613 li a2,592
2464: 4585 li a1,1
2466: 68c50513 addi a0,a0,1676 # 468c <_read+0x306>
246a: 479000ef jal ra,30e2 <iprintf>
246e: 47a5 li a5,9
2470: 06fa9863 bne s5,a5,24e0 <read_and_process_uart_data+0xfe>
2474: 8651c783 lbu a5,-1947(gp) # 200001b5 <g_Mppt_Para+0x1>
2478: 8641c703 lbu a4,-1948(gp) # 200001b4 <g_Mppt_Para>
247c: 07a2 slli a5,a5,0x8
247e: 8fd9 or a5,a5,a4
2480: 4709 li a4,2
2482: 0ae79163 bne a5,a4,2524 <read_and_process_uart_data+0x142>
2486: 2038 lbu a4,2(s0)
2488: 002b4783 lbu a5,2(s6)
248c: 08f71f63 bne a4,a5,252a <read_and_process_uart_data+0x148>
2490: 3038 lbu a4,3(s0)
2492: 003b4783 lbu a5,3(s6)
2496: 08f71a63 bne a4,a5,252a <read_and_process_uart_data+0x148>
249a: 2058 lbu a4,4(s0)
249c: 004b4783 lbu a5,4(s6)
24a0: 08f71563 bne a4,a5,252a <read_and_process_uart_data+0x148>
24a4: 3058 lbu a4,5(s0)
24a6: 005b4783 lbu a5,5(s6)
24aa: 08f71063 bne a4,a5,252a <read_and_process_uart_data+0x148>
24ae: 2078 lbu a4,6(s0)
24b0: 006b4783 lbu a5,6(s6)
24b4: 06f71b63 bne a4,a5,252a <read_and_process_uart_data+0x148>
24b8: 3078 lbu a4,7(s0)
24ba: 007b4783 lbu a5,7(s6)
24be: 06f71663 bne a4,a5,252a <read_and_process_uart_data+0x148>
24c2: 2418 lbu a4,8(s0)
24c4: 008b4783 lbu a5,8(s6)
24c8: 06f71163 bne a4,a5,252a <read_and_process_uart_data+0x148>
24cc: 00004537 lui a0,0x4
24d0: 26900613 li a2,617
24d4: 4585 li a1,1
24d6: 6b850513 addi a0,a0,1720 # 46b8 <_read+0x332>
24da: 409000ef jal ra,30e2 <iprintf>
24de: a021 j 24e6 <read_and_process_uart_data+0x104>
24e0: 4785 li a5,1
24e2: f897e9e3 bltu a5,s1,2474 <read_and_process_uart_data+0x92>
24e6: 47a9 li a5,10
24e8: 00fa8563 beq s5,a5,24f2 <read_and_process_uart_data+0x110>
24ec: 4789 li a5,2
24ee: 0a97f363 bgeu a5,s1,2594 <read_and_process_uart_data+0x1b2>
24f2: 8651c783 lbu a5,-1947(gp) # 200001b5 <g_Mppt_Para+0x1>
24f6: 8641c703 lbu a4,-1948(gp) # 200001b4 <g_Mppt_Para>
24fa: 3414 lbu a3,9(s0)
24fc: 07a2 slli a5,a5,0x8
24fe: 8fd9 or a5,a5,a4
2500: 4709 li a4,2
2502: 12e79463 bne a5,a4,262a <read_and_process_uart_data+0x248>
2506: 03000713 li a4,48
250a: 06e69963 bne a3,a4,257c <read_and_process_uart_data+0x19a>
250e: 00004537 lui a0,0x4
2512: 2ba00613 li a2,698
2516: 4585 li a1,1
2518: 71850513 addi a0,a0,1816 # 4718 <_read+0x392>
251c: 3c7000ef jal ra,30e2 <iprintf>
2520: 49c5 li s3,17
2522: a88d j 2594 <read_and_process_uart_data+0x1b2>
2524: 8481c783 lbu a5,-1976(gp) # 20000198 <RegistrationRequestFlag>
2528: ffb9 bnez a5,2486 <read_and_process_uart_data+0xa4>
252a: 8081c783 lbu a5,-2040(gp) # 20000158 <run_Broadcast>
252e: cb95 beqz a5,2562 <read_and_process_uart_data+0x180>
2530: 3038 lbu a4,3(s0)
2532: 203c lbu a5,2(s0)
2534: 8ff9 and a5,a5,a4
2536: 2058 lbu a4,4(s0)
2538: 8ff9 and a5,a5,a4
253a: 3058 lbu a4,5(s0)
253c: 8ff9 and a5,a5,a4
253e: 2078 lbu a4,6(s0)
2540: 8ff9 and a5,a5,a4
2542: 3078 lbu a4,7(s0)
2544: 8ff9 and a5,a5,a4
2546: 2418 lbu a4,8(s0)
2548: 8ff9 and a5,a5,a4
254a: 0ff00713 li a4,255
254e: 00e79a63 bne a5,a4,2562 <read_and_process_uart_data+0x180>
2552: 00004537 lui a0,0x4
2556: 27e00613 li a2,638
255a: 4585 li a1,1
255c: 6e450513 addi a0,a0,1764 # 46e4 <_read+0x35e>
2560: bfad j 24da <read_and_process_uart_data+0xf8>
2562: e091 bnez s1,2566 <read_and_process_uart_data+0x184>
2564: 4485 li s1,1
2566: 8652 mv a2,s4
2568: 85de mv a1,s7
256a: 87c18513 addi a0,gp,-1924 # 200001cc <rs485_buff>
256e: 2c3000ef jal ra,3030 <memcpy>
2572: 03000793 li a5,48
2576: eb47f5e3 bgeu a5,s4,2420 <read_and_process_uart_data+0x3e>
257a: aa15 j 26ae <read_and_process_uart_data+0x2cc>
257c: 4741 li a4,16
257e: 02e69863 bne a3,a4,25ae <read_and_process_uart_data+0x1cc>
2582: 00004537 lui a0,0x4
2586: 2c000613 li a2,704
258a: 4585 li a1,1
258c: 73c50513 addi a0,a0,1852 # 473c <_read+0x3b6>
2590: 353000ef jal ra,30e2 <iprintf>
2594: 47b9 li a5,14
2596: 0cfa9563 bne s5,a5,2660 <read_and_process_uart_data+0x27e>
259a: 3418 lbu a4,9(s0)
259c: 47c1 li a5,16
259e: 0cf71163 bne a4,a5,2660 <read_and_process_uart_data+0x27e>
25a2: 00d44983 lbu s3,13(s0)
25a6: 4a39 li s4,14
25a8: 0986 slli s3,s3,0x1
25aa: 09c5 addi s3,s3,17
25ac: bd95 j 2420 <read_and_process_uart_data+0x3e>
25ae: 03068713 addi a4,a3,48
25b2: 0ff77713 andi a4,a4,255
25b6: 4605 li a2,1
25b8: 00e66d63 bltu a2,a4,25d2 <read_and_process_uart_data+0x1f0>
25bc: 00004537 lui a0,0x4
25c0: 2c700613 li a2,711
25c4: 4585 li a1,1
25c6: 76050513 addi a0,a0,1888 # 4760 <_read+0x3da>
25ca: 319000ef jal ra,30e2 <iprintf>
25ce: 49b5 li s3,13
25d0: b7d1 j 2594 <read_and_process_uart_data+0x1b2>
25d2: 8081c703 lbu a4,-2040(gp) # 20000158 <run_Broadcast>
25d6: c329 beqz a4,2618 <read_and_process_uart_data+0x236>
25d8: 0a000713 li a4,160
25dc: 2cd00613 li a2,717
25e0: 04e68b63 beq a3,a4,2636 <read_and_process_uart_data+0x254>
25e4: 0a100713 li a4,161
25e8: 00e69a63 bne a3,a4,25fc <read_and_process_uart_data+0x21a>
25ec: 2d300613 li a2,723
25f0: 000047b7 lui a5,0x4
25f4: 4585 li a1,1
25f6: 7a478513 addi a0,a5,1956 # 47a4 <_read+0x41e>
25fa: b70d j 251c <read_and_process_uart_data+0x13a>
25fc: 8726 mv a4,s1
25fe: 00f4f363 bgeu s1,a5,2604 <read_and_process_uart_data+0x222>
2602: 4709 li a4,2
2604: 0ff77493 andi s1,a4,255
2608: 2db00613 li a2,731
260c: 4585 li a1,1
260e: 7ccd0513 addi a0,s10,1996 # 47cc <_read+0x446>
2612: 2d1000ef jal ra,30e2 <iprintf>
2616: bf81 j 2566 <read_and_process_uart_data+0x184>
2618: 8726 mv a4,s1
261a: 00f4f363 bgeu s1,a5,2620 <read_and_process_uart_data+0x23e>
261e: 4709 li a4,2
2620: 0ff77493 andi s1,a4,255
2624: 2e600613 li a2,742
2628: b7d5 j 260c <read_and_process_uart_data+0x22a>
262a: 0a000793 li a5,160
262e: 00f69a63 bne a3,a5,2642 <read_and_process_uart_data+0x260>
2632: 2ef00613 li a2,751
2636: 00004537 lui a0,0x4
263a: 4585 li a1,1
263c: 78050513 addi a0,a0,1920 # 4780 <_read+0x3fa>
2640: b769 j 25ca <read_and_process_uart_data+0x1e8>
2642: 0a100793 li a5,161
2646: 2f500613 li a2,757
264a: faf683e3 beq a3,a5,25f0 <read_and_process_uart_data+0x20e>
264e: 87a6 mv a5,s1
2650: 00e4f363 bgeu s1,a4,2656 <read_and_process_uart_data+0x274>
2654: 4789 li a5,2
2656: 0ff7f493 andi s1,a5,255
265a: 2fd00613 li a2,765
265e: b77d j 260c <read_and_process_uart_data+0x22a>
2660: 053a9a63 bne s5,s3,26b4 <read_and_process_uart_data+0x2d2>
2664: ffda8593 addi a1,s5,-3
2668: 0ff5f593 andi a1,a1,255
266c: 87c18513 addi a0,gp,-1924 # 200001cc <rs485_buff>
2670: 9a5ff0ef jal ra,2014 <CheckFunc>
2674: 01440733 add a4,s0,s4
2678: ffe74783 lbu a5,-2(a4)
267c: fff74703 lbu a4,-1(a4)
2680: 07a2 slli a5,a5,0x8
2682: 8fd9 or a5,a5,a4
2684: 00a79763 bne a5,a0,2692 <read_and_process_uart_data+0x2b0>
2688: 47b2 lw a5,12(sp)
268a: 2398 lbu a4,0(a5)
268c: 47d9 li a5,22
268e: 00f70a63 beq a4,a5,26a2 <read_and_process_uart_data+0x2c0>
2692: 470d li a4,3
2694: 87a6 mv a5,s1
2696: 00e4f363 bgeu s1,a4,269c <read_and_process_uart_data+0x2ba>
269a: 478d li a5,3
269c: 0ff7f493 andi s1,a5,255
26a0: b5d9 j 2566 <read_and_process_uart_data+0x184>
26a2: 8656 mv a2,s5
26a4: 87c18593 addi a1,gp,-1924 # 200001cc <rs485_buff>
26a8: 8566 mv a0,s9
26aa: d07ff0ef jal ra,23b0 <FRT_MsgHandler>
26ae: 0141 addi sp,sp,16
26b0: acdfd06f j 17c <__riscv_restore_12>
26b4: 8a56 mv s4,s5
26b6: bd75 j 2572 <read_and_process_uart_data+0x190>
26b8: 47a5 li a5,9
26ba: e2fa96e3 bne s5,a5,24e6 <read_and_process_uart_data+0x104>
26be: bb5d j 2474 <read_and_process_uart_data+0x92>
000026c0 <Task_RunLED>:
26c0: ab1fd2ef jal t0,170 <__riscv_save_0>
26c4: 84918793 addi a5,gp,-1975 # 20000199 <flag.5773>
26c8: 2390 lbu a2,0(a5)
26ca: 40011537 lui a0,0x40011
26ce: 10000593 li a1,256
26d2: 00163613 seqz a2,a2
26d6: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
26da: a390 sb a2,0(a5)
26dc: ad2fe0ef jal ra,9ae <GPIO_WriteBit>
26e0: ab5fd06f j 194 <__riscv_restore_0>
000026e4 <Task_usart>:
26e4: a8dfd2ef jal t0,170 <__riscv_save_0>
26e8: 8581a503 lw a0,-1960(gp) # 200001a8 <g_gw485_uart4_handle>
26ec: cf7ff0ef jal ra,23e2 <read_and_process_uart_data>
26f0: aa5fd06f j 194 <__riscv_restore_0>
000026f4 <Task_recvbroadcast>:
26f4: a63fd2ef jal t0,156 <__riscv_save_4>
26f8: 85218713 addi a4,gp,-1966 # 200001a2 <run_number.5803>
26fc: 231c lbu a5,0(a4)
26fe: 1101 addi sp,sp,-32
2700: 00178693 addi a3,a5,1
2704: 17f5 addi a5,a5,-3
2706: a314 sb a3,0(a4)
2708: 0ff7f793 andi a5,a5,255
270c: 0fb00693 li a3,251
2710: 00f6ed63 bltu a3,a5,272a <Task_recvbroadcast+0x36>
2714: 8b018513 addi a0,gp,-1872 # 20000200 <m_recvbroadcast>
2718: 84018423 sb zero,-1976(gp) # 20000198 <RegistrationRequestFlag>
271c: 00070023 sb zero,0(a4)
2720: c64ff0ef jal ra,1b84 <TimeSliceOffset_Unregister>
2724: 6105 addi sp,sp,32
2726: a65fd06f j 18a <__riscv_restore_4>
272a: 4641 li a2,16
272c: 4581 li a1,0
272e: 00e10513 addi a0,sp,14
2732: a6ffd0ef jal ra,1a0 <memset>
2736: 20000437 lui s0,0x20000
273a: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
273e: 02040413 addi s0,s0,32
2742: 45dd li a1,23
2744: 825c sb a5,4(sp)
2746: 301c lbu a5,1(s0)
2748: 0048 addi a0,sp,4
274a: 85218493 addi s1,gp,-1966 # 200001a2 <run_number.5803>
274e: 82dc sb a5,5(sp)
2750: 57fd li a5,-1
2752: 837c sh a5,6(sp)
2754: 57fd li a5,-1
2756: c43e sw a5,8(sp)
2758: 77e9 lui a5,0xffffa
275a: 1ff78793 addi a5,a5,511 # ffffa1ff <_eusrstack+0xdfff51ff>
275e: 867c sh a5,12(sp)
2760: 8501c783 lbu a5,-1968(gp) # 200001a0 <g_recvBroadcastRegisterNumber>
2764: 87dc sb a5,15(sp)
2766: 8651c703 lbu a4,-1947(gp) # 200001b5 <g_Mppt_Para+0x1>
276a: 8641c683 lbu a3,-1948(gp) # 200001b4 <g_Mppt_Para>
276e: 86418793 addi a5,gp,-1948 # 200001b4 <g_Mppt_Para>
2772: 0722 slli a4,a4,0x8
2774: 8f55 or a4,a4,a3
2776: 00e108a3 sb a4,17(sp)
277a: 00875693 srli a3,a4,0x8
277e: 2038 lbu a4,2(s0)
2780: 00d10823 sb a3,16(sp)
2784: 00e10923 sb a4,18(sp)
2788: 3038 lbu a4,3(s0)
278a: 00e109a3 sb a4,19(sp)
278e: 2058 lbu a4,4(s0)
2790: 00e10a23 sb a4,20(sp)
2794: 3058 lbu a4,5(s0)
2796: 00e10aa3 sb a4,21(sp)
279a: 2078 lbu a4,6(s0)
279c: 00e10b23 sb a4,22(sp)
27a0: 3078 lbu a4,7(s0)
27a2: 00e10ba3 sb a4,23(sp)
27a6: 2418 lbu a4,8(s0)
27a8: 00e10c23 sb a4,24(sp)
27ac: 3798 lbu a4,9(a5)
27ae: 27bc lbu a5,10(a5)
27b0: 07a2 slli a5,a5,0x8
27b2: 8fd9 or a5,a5,a4
27b4: 0087d713 srli a4,a5,0x8
27b8: 00f10d23 sb a5,26(sp)
27bc: 00e10ca3 sb a4,25(sp)
27c0: 855ff0ef jal ra,2014 <CheckFunc>
27c4: 00855793 srli a5,a0,0x8
27c8: 00f10da3 sb a5,27(sp)
27cc: 341c lbu a5,9(s0)
27ce: 00a10e23 sb a0,28(sp)
27d2: 4429 li s0,10
27d4: 00f10ea3 sb a5,29(sp)
27d8: 87bff0ef jal ra,2052 <randomDelay>
27dc: cb2ff0ef jal ra,1c8e <Delay_Ms>
27e0: 84c18913 addi s2,gp,-1972 # 2000019c <g_recvBroadcastDevice>
27e4: 00092503 lw a0,0(s2)
27e8: 897ff0ef jal ra,207e <Check_485_bus_busy>
27ec: e521 bnez a0,2834 <Task_recvbroadcast+0x140>
27ee: 85118793 addi a5,gp,-1967 # 200001a1 <recvbroadcast_flag>
27f2: 2394 lbu a3,0(a5)
27f4: 4705 li a4,1
27f6: 00e69763 bne a3,a4,2804 <Task_recvbroadcast+0x110>
27fa: 00078023 sb zero,0(a5)
27fe: 00048023 sb zero,0(s1)
2802: b70d j 2724 <Task_recvbroadcast+0x30>
2804: 00092503 lw a0,0(s2)
2808: 466d li a2,27
280a: 004c addi a1,sp,4
280c: 2405 jal 2a2c <uart_dev_write>
280e: 00092703 lw a4,0(s2)
2812: 8541a783 lw a5,-1964(gp) # 200001a4 <g_bat485_uart3_handle>
2816: 4605 li a2,1
2818: 52500593 li a1,1317
281c: 40005537 lui a0,0x40005
2820: 00f71763 bne a4,a5,282e <Task_recvbroadcast+0x13a>
2824: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
2828: 9b7fe0ef jal ra,11de <USART_ITConfig>
282c: bde5 j 2724 <Task_recvbroadcast+0x30>
282e: c0050513 addi a0,a0,-1024
2832: bfdd j 2828 <Task_recvbroadcast+0x134>
2834: 147d addi s0,s0,-1
2836: 0ff47413 andi s0,s0,255
283a: fc59 bnez s0,27d8 <Task_recvbroadcast+0xe4>
283c: b5e5 j 2724 <Task_recvbroadcast+0x30>
0000283e <g_Mppt_Para_Init>:
283e: 20000737 lui a4,0x20000
2842: 02070713 addi a4,a4,32 # 20000020 <g_slConfigInfo>
2846: 2334 lbu a3,2(a4)
2848: 86018223 sb zero,-1948(gp) # 200001b4 <g_Mppt_Para>
284c: 860182a3 sb zero,-1947(gp) # 200001b5 <g_Mppt_Para+0x1>
2850: 86418793 addi a5,gp,-1948 # 200001b4 <g_Mppt_Para>
2854: a3b4 sb a3,2(a5)
2856: 3334 lbu a3,3(a4)
2858: b3b4 sb a3,3(a5)
285a: 2354 lbu a3,4(a4)
285c: a3d4 sb a3,4(a5)
285e: 3354 lbu a3,5(a4)
2860: b3d4 sb a3,5(a5)
2862: 2374 lbu a3,6(a4)
2864: a3f4 sb a3,6(a5)
2866: 3374 lbu a3,7(a4)
2868: b3f4 sb a3,7(a5)
286a: 2714 lbu a3,8(a4)
286c: a794 sb a3,8(a5)
286e: 3734 lbu a3,11(a4)
2870: 2730 lbu a2,10(a4)
2872: 06a2 slli a3,a3,0x8
2874: 8ed1 or a3,a3,a2
2876: b794 sb a3,9(a5)
2878: 82a1 srli a3,a3,0x8
287a: a7b4 sb a3,10(a5)
287c: 2754 lbu a3,12(a4)
287e: 3758 lbu a4,13(a4)
2880: 000786a3 sb zero,13(a5)
2884: 00078723 sb zero,14(a5)
2888: 0722 slli a4,a4,0x8
288a: 8f55 or a4,a4,a3
288c: b7b8 sb a4,11(a5)
288e: 8321 srli a4,a4,0x8
2890: a7d8 sb a4,12(a5)
2892: 000787a3 sb zero,15(a5)
2896: 00078823 sb zero,16(a5)
289a: 000788a3 sb zero,17(a5)
289e: 00078923 sb zero,18(a5)
28a2: 000789a3 sb zero,19(a5)
28a6: 00078a23 sb zero,20(a5)
28aa: 00078aa3 sb zero,21(a5)
28ae: 00078b23 sb zero,22(a5)
28b2: 8082 ret
000028b4 <task_Init>:
28b4: 8bdfd2ef jal t0,170 <__riscv_save_0>
28b8: ccaff0ef jal ra,1d82 <read_config_info>
28bc: 3749 jal 283e <g_Mppt_Para_Init>
28be: 000025b7 lui a1,0x2
28c2: 4681 li a3,0
28c4: 3e800613 li a2,1000
28c8: 6c058593 addi a1,a1,1728 # 26c0 <Task_RunLED>
28cc: 8c018513 addi a0,gp,-1856 # 20000210 <m_runled>
28d0: a76ff0ef jal ra,1b46 <TimeSliceOffset_Register>
28d4: 000025b7 lui a1,0x2
28d8: 4681 li a3,0
28da: 06400613 li a2,100
28de: 6e458593 addi a1,a1,1764 # 26e4 <Task_usart>
28e2: 8d018513 addi a0,gp,-1840 # 20000220 <m_usart>
28e6: a60ff0ef jal ra,1b46 <TimeSliceOffset_Register>
28ea: ac8ff0ef jal ra,1bb2 <TimeSliceOffset_Start>
28ee: 8a7fd06f j 194 <__riscv_restore_0>
000028f2 <hardware_Init>:
28f2: 87ffd2ef jal t0,170 <__riscv_save_0>
28f6: 966ff0ef jal ra,1a5c <TIM3_Init>
28fa: 9fcff0ef jal ra,1af6 <TIM2_Init>
28fe: 28b5 jal 297a <uart_dev_init>
2900: deffe0ef jal ra,16ee <PWM_TIM_Configuration>
2904: 967fe0ef jal ra,126a <ADC_all_Init>
2908: c15fe0ef jal ra,151c <RUN_LED_Init>
290c: bb5fe0ef jal ra,14c0 <G_FFMOS_CON_Init>
2910: c3dfe0ef jal ra,154c <WDI_INPUT_Init>
2914: c6bfe0ef jal ra,157e <BEEP_Init>
2918: c95fe0ef jal ra,15ac <POW_OUT_CON_Init>
291c: cc1fe0ef jal ra,15dc <DSG_PROT_Init>
2920: a3bfe0ef jal ra,135a <SPI_Flash_Init>
2924: d45fe0ef jal ra,1668 <EnPowerSupply_Init>
2928: 81018513 addi a0,gp,-2032 # 20000160 <g_duty_ratio>
292c: e43fe0ef jal ra,176e <Set_duty_ratio>
2930: 865fd06f j 194 <__riscv_restore_0>
00002934 <uart_putchar>:
2934: 83dfd2ef jal t0,170 <__riscv_save_0>
2938: 4401 li s0,0
293a: c105 beqz a0,295a <uart_putchar+0x26>
293c: 2100 lbu s0,0(a0)
293e: cc11 beqz s0,295a <uart_putchar+0x26>
2940: 415c lw a5,4(a0)
2942: 470d li a4,3
2944: 00e79e63 bne a5,a4,2960 <uart_putchar+0x2c>
2948: 40005537 lui a0,0x40005
294c: 0ff5f593 andi a1,a1,255
2950: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
2954: 806ff0ef jal ra,195a <USARTx_SendByte>
2958: 4405 li s0,1
295a: 8522 mv a0,s0
295c: 839fd06f j 194 <__riscv_restore_0>
2960: 4711 li a4,4
2962: 4405 li s0,1
2964: fee79be3 bne a5,a4,295a <uart_putchar+0x26>
2968: 40005537 lui a0,0x40005
296c: 0ff5f593 andi a1,a1,255
2970: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
2974: fe7fe0ef jal ra,195a <USARTx_SendByte>
2978: b7cd j 295a <uart_putchar+0x26>
0000297a <uart_dev_init>:
297a: ff6fd2ef jal t0,170 <__riscv_save_0>
297e: 20000437 lui s0,0x20000
2982: 0b840413 addi s0,s0,184 # 200000b8 <uart_devices>
2986: 0c800613 li a2,200
298a: 8e018593 addi a1,gp,-1824 # 20000230 <bat485_in_buff>
298e: 00c40513 addi a0,s0,12
2992: a6aff0ef jal ra,1bfc <InitRingQueue>
2996: 4408 lw a0,8(s0)
2998: 4485 li s1,1
299a: f03fe0ef jal ra,189c <BAT_485_Init>
299e: a004 sb s1,0(s0)
29a0: 12c00613 li a2,300
29a4: 9a818593 addi a1,gp,-1624 # 200002f8 <gw485_in_buff>
29a8: 02840513 addi a0,s0,40
29ac: 8481aa23 sw s0,-1964(gp) # 200001a4 <g_bat485_uart3_handle>
29b0: a4cff0ef jal ra,1bfc <InitRingQueue>
29b4: 5048 lw a0,36(s0)
29b6: 0471 addi s0,s0,28
29b8: e33fe0ef jal ra,17ea <GW_485_Init>
29bc: a004 sb s1,0(s0)
29be: 4501 li a0,0
29c0: 8481ac23 sw s0,-1960(gp) # 200001a8 <g_gw485_uart4_handle>
29c4: fd0fd06f j 194 <__riscv_restore_0>
000029c8 <bat485_tx_enabla>:
29c8: fa8fd2ef jal t0,170 <__riscv_save_0>
29cc: 40011537 lui a0,0x40011
29d0: 4605 li a2,1
29d2: 02000593 li a1,32
29d6: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
29da: fd5fd0ef jal ra,9ae <GPIO_WriteBit>
29de: fb6fd06f j 194 <__riscv_restore_0>
000029e2 <bat485_tx_disenabla>:
29e2: f8efd2ef jal t0,170 <__riscv_save_0>
29e6: 40011537 lui a0,0x40011
29ea: 4601 li a2,0
29ec: 02000593 li a1,32
29f0: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
29f4: fbbfd0ef jal ra,9ae <GPIO_WriteBit>
29f8: f9cfd06f j 194 <__riscv_restore_0>
000029fc <gw485_tx_enabla>:
29fc: f74fd2ef jal t0,170 <__riscv_save_0>
2a00: 40011537 lui a0,0x40011
2a04: 4605 li a2,1
2a06: 45c1 li a1,16
2a08: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
2a0c: fa3fd0ef jal ra,9ae <GPIO_WriteBit>
2a10: f84fd06f j 194 <__riscv_restore_0>
00002a14 <gw485_tx_disenabla>:
2a14: f5cfd2ef jal t0,170 <__riscv_save_0>
2a18: 40011537 lui a0,0x40011
2a1c: 4601 li a2,0
2a1e: 45c1 li a1,16
2a20: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
2a24: f8bfd0ef jal ra,9ae <GPIO_WriteBit>
2a28: f6cfd06f j 194 <__riscv_restore_0>
00002a2c <uart_dev_write>:
2a2c: f2afd2ef jal t0,156 <__riscv_save_4>
2a30: 8541a703 lw a4,-1964(gp) # 200001a4 <g_bat485_uart3_handle>
2a34: 842a mv s0,a0
2a36: 8a2e mv s4,a1
2a38: 89b2 mv s3,a2
2a3a: 85418493 addi s1,gp,-1964 # 200001a4 <g_bat485_uart3_handle>
2a3e: 00a71c63 bne a4,a0,2a56 <uart_dev_write+0x2a>
2a42: 3759 jal 29c8 <bat485_tx_enabla>
2a44: 4901 li s2,0
2a46: 01394e63 blt s2,s3,2a62 <uart_dev_write+0x36>
2a4a: 409c lw a5,0(s1)
2a4c: 02879463 bne a5,s0,2a74 <uart_dev_write+0x48>
2a50: 3f49 jal 29e2 <bat485_tx_disenabla>
2a52: f38fd06f j 18a <__riscv_restore_4>
2a56: 8581a783 lw a5,-1960(gp) # 200001a8 <g_gw485_uart4_handle>
2a5a: fea795e3 bne a5,a0,2a44 <uart_dev_write+0x18>
2a5e: 3f79 jal 29fc <gw485_tx_enabla>
2a60: b7d5 j 2a44 <uart_dev_write+0x18>
2a62: 012a07b3 add a5,s4,s2
2a66: 00078583 lb a1,0(a5)
2a6a: 8522 mv a0,s0
2a6c: 0905 addi s2,s2,1
2a6e: ec7ff0ef jal ra,2934 <uart_putchar>
2a72: bfd1 j 2a46 <uart_dev_write+0x1a>
2a74: 8581a783 lw a5,-1960(gp) # 200001a8 <g_gw485_uart4_handle>
2a78: fc879de3 bne a5,s0,2a52 <uart_dev_write+0x26>
2a7c: 3f61 jal 2a14 <gw485_tx_disenabla>
2a7e: bfd1 j 2a52 <uart_dev_write+0x26>
00002a80 <uart_dev_char_present>:
2a80: 4781 li a5,0
2a82: c909 beqz a0,2a94 <uart_dev_char_present+0x14>
2a84: 2118 lbu a4,0(a0)
2a86: 4781 li a5,0
2a88: c711 beqz a4,2a94 <uart_dev_char_present+0x14>
2a8a: 495c lw a5,20(a0)
2a8c: 4d08 lw a0,24(a0)
2a8e: 8f89 sub a5,a5,a0
2a90: 00f037b3 snez a5,a5
2a94: 853e mv a0,a5
2a96: 8082 ret
00002a98 <uart_dev_in_char>:
2a98: ed8fd2ef jal t0,170 <__riscv_save_0>
2a9c: 1141 addi sp,sp,-16
2a9e: 842a mv s0,a0
2aa0: 000107a3 sb zero,15(sp)
2aa4: 3ff1 jal 2a80 <uart_dev_char_present>
2aa6: c519 beqz a0,2ab4 <uart_dev_in_char+0x1c>
2aa8: 00f10593 addi a1,sp,15
2aac: 00c40513 addi a0,s0,12
2ab0: 988ff0ef jal ra,1c38 <OutRingQueue>
2ab4: 00f10503 lb a0,15(sp)
2ab8: 0141 addi sp,sp,16
2aba: edafd06f j 194 <__riscv_restore_0>
00002abe <ring_queue_length>:
2abe: eb2fd2ef jal t0,170 <__riscv_save_0>
2ac2: 0531 addi a0,a0,12
2ac4: 99aff0ef jal ra,1c5e <RingQueueLength>
2ac8: eccfd06f j 194 <__riscv_restore_0>
00002acc <__gedf2>:
2acc: 0145d713 srli a4,a1,0x14
2ad0: 001007b7 lui a5,0x100
2ad4: 17fd addi a5,a5,-1
2ad6: 0146d813 srli a6,a3,0x14
2ada: 7ff77713 andi a4,a4,2047
2ade: 7ff00893 li a7,2047
2ae2: 00b7f333 and t1,a5,a1
2ae6: 8e2a mv t3,a0
2ae8: 8ff5 and a5,a5,a3
2aea: 81fd srli a1,a1,0x1f
2aec: 8eb2 mv t4,a2
2aee: 7ff87813 andi a6,a6,2047
2af2: 82fd srli a3,a3,0x1f
2af4: 03170863 beq a4,a7,2b24 <__gedf2+0x58>
2af8: 03180063 beq a6,a7,2b18 <__gedf2+0x4c>
2afc: eb0d bnez a4,2b2e <__gedf2+0x62>
2afe: 00a368b3 or a7,t1,a0
2b02: 00081463 bnez a6,2b0a <__gedf2+0x3e>
2b06: 8e5d or a2,a2,a5
2b08: ca29 beqz a2,2b5a <__gedf2+0x8e>
2b0a: 04088563 beqz a7,2b54 <__gedf2+0x88>
2b0e: 02d58863 beq a1,a3,2b3e <__gedf2+0x72>
2b12: 4505 li a0,1
2b14: ed95 bnez a1,2b50 <__gedf2+0x84>
2b16: 8082 ret
2b18: 00c7e8b3 or a7,a5,a2
2b1c: fe0880e3 beqz a7,2afc <__gedf2+0x30>
2b20: 5579 li a0,-2
2b22: 8082 ret
2b24: 00a36533 or a0,t1,a0
2b28: fd65 bnez a0,2b20 <__gedf2+0x54>
2b2a: 02e80c63 beq a6,a4,2b62 <__gedf2+0x96>
2b2e: 00081463 bnez a6,2b36 <__gedf2+0x6a>
2b32: 8e5d or a2,a2,a5
2b34: de79 beqz a2,2b12 <__gedf2+0x46>
2b36: fcd59ee3 bne a1,a3,2b12 <__gedf2+0x46>
2b3a: fce84ce3 blt a6,a4,2b12 <__gedf2+0x46>
2b3e: 01074863 blt a4,a6,2b4e <__gedf2+0x82>
2b42: fc67e8e3 bltu a5,t1,2b12 <__gedf2+0x46>
2b46: 02f30363 beq t1,a5,2b6c <__gedf2+0xa0>
2b4a: 00f37f63 bgeu t1,a5,2b68 <__gedf2+0x9c>
2b4e: e581 bnez a1,2b56 <__gedf2+0x8a>
2b50: 557d li a0,-1
2b52: 8082 ret
2b54: def5 beqz a3,2b50 <__gedf2+0x84>
2b56: 4505 li a0,1
2b58: 8082 ret
2b5a: 4501 li a0,0
2b5c: fa089be3 bnez a7,2b12 <__gedf2+0x46>
2b60: 8082 ret
2b62: 8e5d or a2,a2,a5
2b64: da69 beqz a2,2b36 <__gedf2+0x6a>
2b66: bf6d j 2b20 <__gedf2+0x54>
2b68: 4501 li a0,0
2b6a: 8082 ret
2b6c: fbcee3e3 bltu t4,t3,2b12 <__gedf2+0x46>
2b70: 4501 li a0,0
2b72: fbde72e3 bgeu t3,t4,2b16 <__gedf2+0x4a>
2b76: f1e5 bnez a1,2b56 <__gedf2+0x8a>
2b78: bfe1 j 2b50 <__gedf2+0x84>
00002b7a <__ledf2>:
2b7a: 0145d713 srli a4,a1,0x14
2b7e: 001007b7 lui a5,0x100
2b82: 17fd addi a5,a5,-1
2b84: 0146d813 srli a6,a3,0x14
2b88: 7ff77713 andi a4,a4,2047
2b8c: 7ff00893 li a7,2047
2b90: 00b7fe33 and t3,a5,a1
2b94: 8eaa mv t4,a0
2b96: 8ff5 and a5,a5,a3
2b98: 81fd srli a1,a1,0x1f
2b9a: 8f32 mv t5,a2
2b9c: 7ff87813 andi a6,a6,2047
2ba0: 82fd srli a3,a3,0x1f
2ba2: 03170e63 beq a4,a7,2bde <__ledf2+0x64>
2ba6: 01180d63 beq a6,a7,2bc0 <__ledf2+0x46>
2baa: e329 bnez a4,2bec <__ledf2+0x72>
2bac: 00ae68b3 or a7,t3,a0
2bb0: 00081f63 bnez a6,2bce <__ledf2+0x54>
2bb4: 8e5d or a2,a2,a5
2bb6: ee01 bnez a2,2bce <__ledf2+0x54>
2bb8: 4301 li t1,0
2bba: 04088c63 beqz a7,2c12 <__ledf2+0x98>
2bbe: a821 j 2bd6 <__ledf2+0x5c>
2bc0: 00c7e8b3 or a7,a5,a2
2bc4: 4309 li t1,2
2bc6: 04089663 bnez a7,2c12 <__ledf2+0x98>
2bca: d36d beqz a4,2bac <__ledf2+0x32>
2bcc: a005 j 2bec <__ledf2+0x72>
2bce: 04088463 beqz a7,2c16 <__ledf2+0x9c>
2bd2: 02d58563 beq a1,a3,2bfc <__ledf2+0x82>
2bd6: 4305 li t1,1
2bd8: cd8d beqz a1,2c12 <__ledf2+0x98>
2bda: 537d li t1,-1
2bdc: a81d j 2c12 <__ledf2+0x98>
2bde: 00ae68b3 or a7,t3,a0
2be2: 4309 li t1,2
2be4: 02089763 bnez a7,2c12 <__ledf2+0x98>
2be8: 02e80a63 beq a6,a4,2c1c <__ledf2+0xa2>
2bec: 00081463 bnez a6,2bf4 <__ledf2+0x7a>
2bf0: 8e5d or a2,a2,a5
2bf2: d275 beqz a2,2bd6 <__ledf2+0x5c>
2bf4: fed591e3 bne a1,a3,2bd6 <__ledf2+0x5c>
2bf8: fce84fe3 blt a6,a4,2bd6 <__ledf2+0x5c>
2bfc: 01074963 blt a4,a6,2c0e <__ledf2+0x94>
2c00: fdc7ebe3 bltu a5,t3,2bd6 <__ledf2+0x5c>
2c04: 00fe0f63 beq t3,a5,2c22 <__ledf2+0xa8>
2c08: 4301 li t1,0
2c0a: 00fe7463 bgeu t3,a5,2c12 <__ledf2+0x98>
2c0e: d5f1 beqz a1,2bda <__ledf2+0x60>
2c10: 4305 li t1,1
2c12: 851a mv a0,t1
2c14: 8082 ret
2c16: feed bnez a3,2c10 <__ledf2+0x96>
2c18: 537d li t1,-1
2c1a: bfe5 j 2c12 <__ledf2+0x98>
2c1c: 8e5d or a2,a2,a5
2c1e: da79 beqz a2,2bf4 <__ledf2+0x7a>
2c20: bfcd j 2c12 <__ledf2+0x98>
2c22: fbdf6ae3 bltu t5,t4,2bd6 <__ledf2+0x5c>
2c26: 4301 li t1,0
2c28: ffeef5e3 bgeu t4,t5,2c12 <__ledf2+0x98>
2c2c: f1f5 bnez a1,2c10 <__ledf2+0x96>
2c2e: b775 j 2bda <__ledf2+0x60>
00002c30 <__mulsf3>:
2c30: 7179 addi sp,sp,-48
2c32: d422 sw s0,40(sp)
2c34: 01755413 srli s0,a0,0x17
2c38: ce4e sw s3,28(sp)
2c3a: cc52 sw s4,24(sp)
2c3c: 00951993 slli s3,a0,0x9
2c40: d606 sw ra,44(sp)
2c42: d226 sw s1,36(sp)
2c44: d04a sw s2,32(sp)
2c46: ca56 sw s5,20(sp)
2c48: c85a sw s6,16(sp)
2c4a: 0ff47413 andi s0,s0,255
2c4e: 0099d993 srli s3,s3,0x9
2c52: 01f55a13 srli s4,a0,0x1f
2c56: c469 beqz s0,2d20 <__mulsf3+0xf0>
2c58: 0ff00793 li a5,255
2c5c: 0ef40863 beq s0,a5,2d4c <__mulsf3+0x11c>
2c60: 00399793 slli a5,s3,0x3
2c64: 04000737 lui a4,0x4000
2c68: 00e7e9b3 or s3,a5,a4
2c6c: f8140413 addi s0,s0,-127
2c70: 4481 li s1,0
2c72: 4b01 li s6,0
2c74: 0175d713 srli a4,a1,0x17
2c78: 00959a93 slli s5,a1,0x9
2c7c: 0ff77713 andi a4,a4,255
2c80: 009ada93 srli s5,s5,0x9
2c84: 01f5d913 srli s2,a1,0x1f
2c88: cf45 beqz a4,2d40 <__mulsf3+0x110>
2c8a: 0ff00793 li a5,255
2c8e: 02f70c63 beq a4,a5,2cc6 <__mulsf3+0x96>
2c92: 0a8e slli s5,s5,0x3
2c94: f8170713 addi a4,a4,-127 # 3ffff81 <_data_lma+0x3ffb5b5>
2c98: 040007b7 lui a5,0x4000
2c9c: 00faeab3 or s5,s5,a5
2ca0: 943a add s0,s0,a4
2ca2: 4601 li a2,0
2ca4: 012a4533 xor a0,s4,s2
2ca8: 47bd li a5,15
2caa: 86aa mv a3,a0
2cac: 00140593 addi a1,s0,1
2cb0: 1097e063 bltu a5,s1,2db0 <__mulsf3+0x180>
2cb4: 00002717 auipc a4,0x2
2cb8: b3c70713 addi a4,a4,-1220 # 47f0 <_read+0x46a>
2cbc: 048a slli s1,s1,0x2
2cbe: 94ba add s1,s1,a4
2cc0: 409c lw a5,0(s1)
2cc2: 97ba add a5,a5,a4
2cc4: 8782 jr a5
2cc6: 0ff40413 addi s0,s0,255
2cca: 0c0a9663 bnez s5,2d96 <__mulsf3+0x166>
2cce: 0024e493 ori s1,s1,2
2cd2: 4609 li a2,2
2cd4: bfc1 j 2ca4 <__mulsf3+0x74>
2cd6: 4501 li a0,0
2cd8: 0ff00713 li a4,255
2cdc: 004007b7 lui a5,0x400
2ce0: 50b2 lw ra,44(sp)
2ce2: 5422 lw s0,40(sp)
2ce4: 07a6 slli a5,a5,0x9
2ce6: 075e slli a4,a4,0x17
2ce8: 83a5 srli a5,a5,0x9
2cea: 057e slli a0,a0,0x1f
2cec: 8fd9 or a5,a5,a4
2cee: 5492 lw s1,36(sp)
2cf0: 5902 lw s2,32(sp)
2cf2: 49f2 lw s3,28(sp)
2cf4: 4a62 lw s4,24(sp)
2cf6: 4ad2 lw s5,20(sp)
2cf8: 4b42 lw s6,16(sp)
2cfa: 8d5d or a0,a0,a5
2cfc: 6145 addi sp,sp,48
2cfe: 8082 ret
2d00: 86ca mv a3,s2
2d02: 89d6 mv s3,s5
2d04: 8b32 mv s6,a2
2d06: 4789 li a5,2
2d08: 08fb0f63 beq s6,a5,2da6 <__mulsf3+0x176>
2d0c: 478d li a5,3
2d0e: fcfb04e3 beq s6,a5,2cd6 <__mulsf3+0xa6>
2d12: 4785 li a5,1
2d14: 8536 mv a0,a3
2d16: 1afb1063 bne s6,a5,2eb6 <__mulsf3+0x286>
2d1a: 4701 li a4,0
2d1c: 4781 li a5,0
2d1e: b7c9 j 2ce0 <__mulsf3+0xb0>
2d20: 04099d63 bnez s3,2d7a <__mulsf3+0x14a>
2d24: 0175d713 srli a4,a1,0x17
2d28: 00959a93 slli s5,a1,0x9
2d2c: 0ff77713 andi a4,a4,255
2d30: 4491 li s1,4
2d32: 4401 li s0,0
2d34: 4b05 li s6,1
2d36: 009ada93 srli s5,s5,0x9
2d3a: 01f5d913 srli s2,a1,0x1f
2d3e: f731 bnez a4,2c8a <__mulsf3+0x5a>
2d40: 000a9d63 bnez s5,2d5a <__mulsf3+0x12a>
2d44: 0014e493 ori s1,s1,1
2d48: 4605 li a2,1
2d4a: bfa9 j 2ca4 <__mulsf3+0x74>
2d4c: 02099263 bnez s3,2d70 <__mulsf3+0x140>
2d50: 44a1 li s1,8
2d52: 0ff00413 li s0,255
2d56: 4b09 li s6,2
2d58: bf31 j 2c74 <__mulsf3+0x44>
2d5a: 8556 mv a0,s5
2d5c: 249d jal 2fc2 <__clzsi2>
2d5e: ffb50793 addi a5,a0,-5
2d62: 8c09 sub s0,s0,a0
2d64: 00fa9ab3 sll s5,s5,a5
2d68: f8a40413 addi s0,s0,-118
2d6c: 4601 li a2,0
2d6e: bf1d j 2ca4 <__mulsf3+0x74>
2d70: 44b1 li s1,12
2d72: 0ff00413 li s0,255
2d76: 4b0d li s6,3
2d78: bdf5 j 2c74 <__mulsf3+0x44>
2d7a: 854e mv a0,s3
2d7c: c62e sw a1,12(sp)
2d7e: 2491 jal 2fc2 <__clzsi2>
2d80: ffb50793 addi a5,a0,-5
2d84: f8a00413 li s0,-118
2d88: 00f999b3 sll s3,s3,a5
2d8c: 8c09 sub s0,s0,a0
2d8e: 4481 li s1,0
2d90: 4b01 li s6,0
2d92: 45b2 lw a1,12(sp)
2d94: b5c5 j 2c74 <__mulsf3+0x44>
2d96: 0034e493 ori s1,s1,3
2d9a: 460d li a2,3
2d9c: b721 j 2ca4 <__mulsf3+0x74>
2d9e: 4789 li a5,2
2da0: 86d2 mv a3,s4
2da2: f6fb15e3 bne s6,a5,2d0c <__mulsf3+0xdc>
2da6: 8536 mv a0,a3
2da8: 0ff00713 li a4,255
2dac: 4781 li a5,0
2dae: bf0d j 2ce0 <__mulsf3+0xb0>
2db0: 6341 lui t1,0x10
2db2: fff30693 addi a3,t1,-1 # ffff <_data_lma+0xb633>
2db6: 0109d613 srli a2,s3,0x10
2dba: 010ad893 srli a7,s5,0x10
2dbe: 00d9f7b3 and a5,s3,a3
2dc2: 00dafab3 and s5,s5,a3
2dc6: 03578833 mul a6,a5,s5
2dca: 02f889b3 mul s3,a7,a5
2dce: 01085713 srli a4,a6,0x10
2dd2: 03560ab3 mul s5,a2,s5
2dd6: 99d6 add s3,s3,s5
2dd8: 974e add a4,a4,s3
2dda: 03160633 mul a2,a2,a7
2dde: 01577363 bgeu a4,s5,2de4 <__mulsf3+0x1b4>
2de2: 961a add a2,a2,t1
2de4: 67c1 lui a5,0x10
2de6: 17fd addi a5,a5,-1
2de8: 00f776b3 and a3,a4,a5
2dec: 00f87833 and a6,a6,a5
2df0: 06c2 slli a3,a3,0x10
2df2: 96c2 add a3,a3,a6
2df4: 00669993 slli s3,a3,0x6
2df8: 01075793 srli a5,a4,0x10
2dfc: 013039b3 snez s3,s3
2e00: 82e9 srli a3,a3,0x1a
2e02: 97b2 add a5,a5,a2
2e04: 079a slli a5,a5,0x6
2e06: 00d9e6b3 or a3,s3,a3
2e0a: 00d7e9b3 or s3,a5,a3
2e0e: 00499793 slli a5,s3,0x4
2e12: 0007d963 bgez a5,2e24 <__mulsf3+0x1f4>
2e16: 0019d713 srli a4,s3,0x1
2e1a: 0019f793 andi a5,s3,1
2e1e: 00f769b3 or s3,a4,a5
2e22: 842e mv s0,a1
2e24: 07f40713 addi a4,s0,127
2e28: 04e05063 blez a4,2e68 <__mulsf3+0x238>
2e2c: 0079f793 andi a5,s3,7
2e30: c799 beqz a5,2e3e <__mulsf3+0x20e>
2e32: 00f9f793 andi a5,s3,15
2e36: 4691 li a3,4
2e38: 00d78363 beq a5,a3,2e3e <__mulsf3+0x20e>
2e3c: 0991 addi s3,s3,4
2e3e: 00499793 slli a5,s3,0x4
2e42: 0007d963 bgez a5,2e54 <__mulsf3+0x224>
2e46: f80007b7 lui a5,0xf8000
2e4a: 17fd addi a5,a5,-1
2e4c: 00f9f9b3 and s3,s3,a5
2e50: 08040713 addi a4,s0,128
2e54: 0fe00793 li a5,254
2e58: 04e7cb63 blt a5,a4,2eae <__mulsf3+0x27e>
2e5c: 00699793 slli a5,s3,0x6
2e60: 83a5 srli a5,a5,0x9
2e62: 0ff77713 andi a4,a4,255
2e66: bdad j 2ce0 <__mulsf3+0xb0>
2e68: 4785 li a5,1
2e6a: 40e786b3 sub a3,a5,a4
2e6e: c711 beqz a4,2e7a <__mulsf3+0x24a>
2e70: 466d li a2,27
2e72: 4701 li a4,0
2e74: 4781 li a5,0
2e76: e6d645e3 blt a2,a3,2ce0 <__mulsf3+0xb0>
2e7a: 09e40713 addi a4,s0,158
2e7e: 00e99733 sll a4,s3,a4
2e82: 00e03733 snez a4,a4
2e86: 00d9d7b3 srl a5,s3,a3
2e8a: 8fd9 or a5,a5,a4
2e8c: 0077f713 andi a4,a5,7
2e90: c719 beqz a4,2e9e <__mulsf3+0x26e>
2e92: 00f7f713 andi a4,a5,15
2e96: 4691 li a3,4
2e98: 00d70363 beq a4,a3,2e9e <__mulsf3+0x26e>
2e9c: 0791 addi a5,a5,4
2e9e: 00579713 slli a4,a5,0x5
2ea2: 00074c63 bltz a4,2eba <__mulsf3+0x28a>
2ea6: 079a slli a5,a5,0x6
2ea8: 83a5 srli a5,a5,0x9
2eaa: 4701 li a4,0
2eac: bd15 j 2ce0 <__mulsf3+0xb0>
2eae: 0ff00713 li a4,255
2eb2: 4781 li a5,0
2eb4: b535 j 2ce0 <__mulsf3+0xb0>
2eb6: 842e mv s0,a1
2eb8: b7b5 j 2e24 <__mulsf3+0x1f4>
2eba: 4705 li a4,1
2ebc: 4781 li a5,0
2ebe: b50d j 2ce0 <__mulsf3+0xb0>
00002ec0 <__fixunssfsi>:
2ec0: 01755713 srli a4,a0,0x17
2ec4: 00800637 lui a2,0x800
2ec8: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7fb633>
2ecc: 0ff77713 andi a4,a4,255
2ed0: 07e00593 li a1,126
2ed4: 00a7f6b3 and a3,a5,a0
2ed8: 01f55793 srli a5,a0,0x1f
2edc: 4501 li a0,0
2ede: 00e5f463 bgeu a1,a4,2ee6 <__fixunssfsi+0x26>
2ee2: c399 beqz a5,2ee8 <__fixunssfsi+0x28>
2ee4: 8082 ret
2ee6: 8082 ret
2ee8: 09e00793 li a5,158
2eec: 557d li a0,-1
2eee: fee7ebe3 bltu a5,a4,2ee4 <__fixunssfsi+0x24>
2ef2: 09500593 li a1,149
2ef6: 00c6e7b3 or a5,a3,a2
2efa: 00e5d763 bge a1,a4,2f08 <__fixunssfsi+0x48>
2efe: f6a70713 addi a4,a4,-150
2f02: 00e79533 sll a0,a5,a4
2f06: 8082 ret
2f08: 09600513 li a0,150
2f0c: 40e50733 sub a4,a0,a4
2f10: 00e7d533 srl a0,a5,a4
2f14: 8082 ret
00002f16 <__extendsfdf2>:
2f16: 01755713 srli a4,a0,0x17
2f1a: 0ff77713 andi a4,a4,255
2f1e: 1141 addi sp,sp,-16
2f20: 00170793 addi a5,a4,1
2f24: c422 sw s0,8(sp)
2f26: c226 sw s1,4(sp)
2f28: 00951413 slli s0,a0,0x9
2f2c: c606 sw ra,12(sp)
2f2e: 0fe7f793 andi a5,a5,254
2f32: 8025 srli s0,s0,0x9
2f34: 01f55493 srli s1,a0,0x1f
2f38: c785 beqz a5,2f60 <__extendsfdf2+0x4a>
2f3a: 00345793 srli a5,s0,0x3
2f3e: 38070713 addi a4,a4,896
2f42: 0476 slli s0,s0,0x1d
2f44: 07b2 slli a5,a5,0xc
2f46: 0752 slli a4,a4,0x14
2f48: 83b1 srli a5,a5,0xc
2f4a: 01f49513 slli a0,s1,0x1f
2f4e: 8fd9 or a5,a5,a4
2f50: 8fc9 or a5,a5,a0
2f52: 40b2 lw ra,12(sp)
2f54: 8522 mv a0,s0
2f56: 4422 lw s0,8(sp)
2f58: 4492 lw s1,4(sp)
2f5a: 85be mv a1,a5
2f5c: 0141 addi sp,sp,16
2f5e: 8082 ret
2f60: eb05 bnez a4,2f90 <__extendsfdf2+0x7a>
2f62: c439 beqz s0,2fb0 <__extendsfdf2+0x9a>
2f64: 8522 mv a0,s0
2f66: 28b1 jal 2fc2 <__clzsi2>
2f68: 47a9 li a5,10
2f6a: 04a7c663 blt a5,a0,2fb6 <__extendsfdf2+0xa0>
2f6e: 472d li a4,11
2f70: 8f09 sub a4,a4,a0
2f72: 01550793 addi a5,a0,21
2f76: 00e45733 srl a4,s0,a4
2f7a: 00f41433 sll s0,s0,a5
2f7e: 00c71793 slli a5,a4,0xc
2f82: 38900713 li a4,905
2f86: 8f09 sub a4,a4,a0
2f88: 83b1 srli a5,a5,0xc
2f8a: 7ff77713 andi a4,a4,2047
2f8e: bf5d j 2f44 <__extendsfdf2+0x2e>
2f90: cc01 beqz s0,2fa8 <__extendsfdf2+0x92>
2f92: 00345713 srli a4,s0,0x3
2f96: 000807b7 lui a5,0x80
2f9a: 8fd9 or a5,a5,a4
2f9c: 07b2 slli a5,a5,0xc
2f9e: 0476 slli s0,s0,0x1d
2fa0: 83b1 srli a5,a5,0xc
2fa2: 7ff00713 li a4,2047
2fa6: bf79 j 2f44 <__extendsfdf2+0x2e>
2fa8: 7ff00713 li a4,2047
2fac: 4781 li a5,0
2fae: bf59 j 2f44 <__extendsfdf2+0x2e>
2fb0: 4701 li a4,0
2fb2: 4781 li a5,0
2fb4: bf41 j 2f44 <__extendsfdf2+0x2e>
2fb6: ff550713 addi a4,a0,-11
2fba: 00e41733 sll a4,s0,a4
2fbe: 4401 li s0,0
2fc0: bf7d j 2f7e <__extendsfdf2+0x68>
00002fc2 <__clzsi2>:
2fc2: 67c1 lui a5,0x10
2fc4: 02f57c63 bgeu a0,a5,2ffc <__clzsi2+0x3a>
2fc8: 0ff00793 li a5,255
2fcc: 02000713 li a4,32
2fd0: 00a7eb63 bltu a5,a0,2fe6 <__clzsi2+0x24>
2fd4: 00002797 auipc a5,0x2
2fd8: 85c78793 addi a5,a5,-1956 # 4830 <__clz_tab>
2fdc: 97aa add a5,a5,a0
2fde: 2388 lbu a0,0(a5)
2fe0: 40a70533 sub a0,a4,a0
2fe4: 8082 ret
2fe6: 8121 srli a0,a0,0x8
2fe8: 00002797 auipc a5,0x2
2fec: 84878793 addi a5,a5,-1976 # 4830 <__clz_tab>
2ff0: 97aa add a5,a5,a0
2ff2: 2388 lbu a0,0(a5)
2ff4: 4761 li a4,24
2ff6: 40a70533 sub a0,a4,a0
2ffa: 8082 ret
2ffc: 010007b7 lui a5,0x1000
3000: 00f56d63 bltu a0,a5,301a <__clzsi2+0x58>
3004: 8161 srli a0,a0,0x18
3006: 00002797 auipc a5,0x2
300a: 82a78793 addi a5,a5,-2006 # 4830 <__clz_tab>
300e: 97aa add a5,a5,a0
3010: 2388 lbu a0,0(a5)
3012: 4721 li a4,8
3014: 40a70533 sub a0,a4,a0
3018: 8082 ret
301a: 8141 srli a0,a0,0x10
301c: 00002797 auipc a5,0x2
3020: 81478793 addi a5,a5,-2028 # 4830 <__clz_tab>
3024: 97aa add a5,a5,a0
3026: 2388 lbu a0,0(a5)
3028: 4741 li a4,16
302a: 40a70533 sub a0,a4,a0
302e: 8082 ret
00003030 <memcpy>:
3030: 00a5c7b3 xor a5,a1,a0
3034: 8b8d andi a5,a5,3
3036: 00c50733 add a4,a0,a2
303a: e781 bnez a5,3042 <memcpy+0x12>
303c: 478d li a5,3
303e: 00c7ed63 bltu a5,a2,3058 <memcpy+0x28>
3042: 87aa mv a5,a0
3044: 08e57e63 bgeu a0,a4,30e0 <memcpy+0xb0>
3048: 2194 lbu a3,0(a1)
304a: 0785 addi a5,a5,1
304c: 0585 addi a1,a1,1
304e: fed78fa3 sb a3,-1(a5)
3052: fee7ebe3 bltu a5,a4,3048 <memcpy+0x18>
3056: 8082 ret
3058: 00357693 andi a3,a0,3
305c: 87aa mv a5,a0
305e: ca89 beqz a3,3070 <memcpy+0x40>
3060: 2194 lbu a3,0(a1)
3062: 0785 addi a5,a5,1
3064: 0585 addi a1,a1,1
3066: fed78fa3 sb a3,-1(a5)
306a: 0037f693 andi a3,a5,3
306e: bfc5 j 305e <memcpy+0x2e>
3070: ffc77693 andi a3,a4,-4
3074: fe068613 addi a2,a3,-32
3078: 06c7f063 bgeu a5,a2,30d8 <memcpy+0xa8>
307c: 0005a383 lw t2,0(a1)
3080: 0045a283 lw t0,4(a1)
3084: 0085af83 lw t6,8(a1)
3088: 00c5af03 lw t5,12(a1)
308c: 0105ae83 lw t4,16(a1)
3090: 0145ae03 lw t3,20(a1)
3094: 0185a303 lw t1,24(a1)
3098: 01c5a883 lw a7,28(a1)
309c: 02458593 addi a1,a1,36
30a0: 0077a023 sw t2,0(a5)
30a4: ffc5a803 lw a6,-4(a1)
30a8: 0057a223 sw t0,4(a5)
30ac: 01f7a423 sw t6,8(a5)
30b0: 01e7a623 sw t5,12(a5)
30b4: 01d7a823 sw t4,16(a5)
30b8: 01c7aa23 sw t3,20(a5)
30bc: 0067ac23 sw t1,24(a5)
30c0: 0117ae23 sw a7,28(a5)
30c4: 02478793 addi a5,a5,36
30c8: ff07ae23 sw a6,-4(a5)
30cc: b775 j 3078 <memcpy+0x48>
30ce: 4190 lw a2,0(a1)
30d0: 0791 addi a5,a5,4
30d2: 0591 addi a1,a1,4
30d4: fec7ae23 sw a2,-4(a5)
30d8: fed7ebe3 bltu a5,a3,30ce <memcpy+0x9e>
30dc: f6e7e6e3 bltu a5,a4,3048 <memcpy+0x18>
30e0: 8082 ret
000030e2 <iprintf>:
30e2: 7139 addi sp,sp,-64
30e4: da3e sw a5,52(sp)
30e6: d22e sw a1,36(sp)
30e8: d432 sw a2,40(sp)
30ea: d636 sw a3,44(sp)
30ec: d83a sw a4,48(sp)
30ee: dc42 sw a6,56(sp)
30f0: de46 sw a7,60(sp)
30f2: 81418793 addi a5,gp,-2028 # 20000164 <_impure_ptr>
30f6: cc22 sw s0,24(sp)
30f8: 4380 lw s0,0(a5)
30fa: ca26 sw s1,20(sp)
30fc: ce06 sw ra,28(sp)
30fe: 84aa mv s1,a0
3100: c409 beqz s0,310a <iprintf+0x28>
3102: 4c1c lw a5,24(s0)
3104: e399 bnez a5,310a <iprintf+0x28>
3106: 8522 mv a0,s0
3108: 2be1 jal 36e0 <__sinit>
310a: 440c lw a1,8(s0)
310c: 1054 addi a3,sp,36
310e: 8626 mv a2,s1
3110: 8522 mv a0,s0
3112: c636 sw a3,12(sp)
3114: 21d000ef jal ra,3b30 <_vfiprintf_r>
3118: 40f2 lw ra,28(sp)
311a: 4462 lw s0,24(sp)
311c: 44d2 lw s1,20(sp)
311e: 6121 addi sp,sp,64
3120: 8082 ret
00003122 <_puts_r>:
3122: 1101 addi sp,sp,-32
3124: ca26 sw s1,20(sp)
3126: c84a sw s2,16(sp)
3128: ce06 sw ra,28(sp)
312a: cc22 sw s0,24(sp)
312c: c64e sw s3,12(sp)
312e: c452 sw s4,8(sp)
3130: 84aa mv s1,a0
3132: 892e mv s2,a1
3134: c501 beqz a0,313c <_puts_r+0x1a>
3136: 4d1c lw a5,24(a0)
3138: e391 bnez a5,313c <_puts_r+0x1a>
313a: 235d jal 36e0 <__sinit>
313c: 4c9c lw a5,24(s1)
313e: 4480 lw s0,8(s1)
3140: e399 bnez a5,3146 <_puts_r+0x24>
3142: 8526 mv a0,s1
3144: 2b71 jal 36e0 <__sinit>
3146: 00002797 auipc a5,0x2
314a: 80a78793 addi a5,a5,-2038 # 4950 <__sf_fake_stdin>
314e: 02f41b63 bne s0,a5,3184 <_puts_r+0x62>
3152: 40c0 lw s0,4(s1)
3154: 245e lhu a5,12(s0)
3156: 8ba1 andi a5,a5,8
3158: c7b1 beqz a5,31a4 <_puts_r+0x82>
315a: 481c lw a5,16(s0)
315c: c7a1 beqz a5,31a4 <_puts_r+0x82>
315e: 59fd li s3,-1
3160: 4a29 li s4,10
3162: 441c lw a5,8(s0)
3164: 00094583 lbu a1,0(s2)
3168: 17fd addi a5,a5,-1
316a: e9b1 bnez a1,31be <_puts_r+0x9c>
316c: c41c sw a5,8(s0)
316e: 0607dd63 bgez a5,31e8 <_puts_r+0xc6>
3172: 8622 mv a2,s0
3174: 45a9 li a1,10
3176: 8526 mv a0,s1
3178: 2295 jal 32dc <__swbuf_r>
317a: 57fd li a5,-1
317c: 02f50863 beq a0,a5,31ac <_puts_r+0x8a>
3180: 4529 li a0,10
3182: a035 j 31ae <_puts_r+0x8c>
3184: 00001797 auipc a5,0x1
3188: 7ec78793 addi a5,a5,2028 # 4970 <__sf_fake_stdout>
318c: 00f41463 bne s0,a5,3194 <_puts_r+0x72>
3190: 4480 lw s0,8(s1)
3192: b7c9 j 3154 <_puts_r+0x32>
3194: 00001797 auipc a5,0x1
3198: 79c78793 addi a5,a5,1948 # 4930 <__sf_fake_stderr>
319c: faf41ce3 bne s0,a5,3154 <_puts_r+0x32>
31a0: 44c0 lw s0,12(s1)
31a2: bf4d j 3154 <_puts_r+0x32>
31a4: 85a2 mv a1,s0
31a6: 8526 mv a0,s1
31a8: 2ac5 jal 3398 <__swsetup_r>
31aa: d955 beqz a0,315e <_puts_r+0x3c>
31ac: 557d li a0,-1
31ae: 40f2 lw ra,28(sp)
31b0: 4462 lw s0,24(sp)
31b2: 44d2 lw s1,20(sp)
31b4: 4942 lw s2,16(sp)
31b6: 49b2 lw s3,12(sp)
31b8: 4a22 lw s4,8(sp)
31ba: 6105 addi sp,sp,32
31bc: 8082 ret
31be: c41c sw a5,8(s0)
31c0: 0905 addi s2,s2,1
31c2: 0007d763 bgez a5,31d0 <_puts_r+0xae>
31c6: 4c18 lw a4,24(s0)
31c8: 00e7ca63 blt a5,a4,31dc <_puts_r+0xba>
31cc: 01458863 beq a1,s4,31dc <_puts_r+0xba>
31d0: 401c lw a5,0(s0)
31d2: 00178713 addi a4,a5,1
31d6: c018 sw a4,0(s0)
31d8: a38c sb a1,0(a5)
31da: b761 j 3162 <_puts_r+0x40>
31dc: 8622 mv a2,s0
31de: 8526 mv a0,s1
31e0: 28f5 jal 32dc <__swbuf_r>
31e2: f93510e3 bne a0,s3,3162 <_puts_r+0x40>
31e6: b7d9 j 31ac <_puts_r+0x8a>
31e8: 401c lw a5,0(s0)
31ea: 00178713 addi a4,a5,1
31ee: c018 sw a4,0(s0)
31f0: 4729 li a4,10
31f2: a398 sb a4,0(a5)
31f4: b771 j 3180 <_puts_r+0x5e>
000031f6 <puts>:
31f6: 81418793 addi a5,gp,-2028 # 20000164 <_impure_ptr>
31fa: 85aa mv a1,a0
31fc: 4388 lw a0,0(a5)
31fe: f25ff06f j 3122 <_puts_r>
00003202 <srand>:
3202: 1141 addi sp,sp,-16
3204: 81418793 addi a5,gp,-2028 # 20000164 <_impure_ptr>
3208: c422 sw s0,8(sp)
320a: 4380 lw s0,0(a5)
320c: c226 sw s1,4(sp)
320e: c606 sw ra,12(sp)
3210: 5c1c lw a5,56(s0)
3212: 84aa mv s1,a0
3214: eb8d bnez a5,3246 <srand+0x44>
3216: 4561 li a0,24
3218: 2725 jal 3940 <malloc>
321a: abcd37b7 lui a5,0xabcd3
321e: dc08 sw a0,56(s0)
3220: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
3224: c11c sw a5,0(a0)
3226: e66d17b7 lui a5,0xe66d1
322a: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
322e: c15c sw a5,4(a0)
3230: 0005e7b7 lui a5,0x5e
3234: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x59520>
3238: c51c sw a5,8(a0)
323a: 47ad li a5,11
323c: a55e sh a5,12(a0)
323e: 4705 li a4,1
3240: 4781 li a5,0
3242: c918 sw a4,16(a0)
3244: c95c sw a5,20(a0)
3246: 5c1c lw a5,56(s0)
3248: 40b2 lw ra,12(sp)
324a: 4422 lw s0,8(sp)
324c: cb84 sw s1,16(a5)
324e: 0007aa23 sw zero,20(a5)
3252: 4492 lw s1,4(sp)
3254: 0141 addi sp,sp,16
3256: 8082 ret
00003258 <rand>:
3258: 1141 addi sp,sp,-16
325a: 81418793 addi a5,gp,-2028 # 20000164 <_impure_ptr>
325e: c422 sw s0,8(sp)
3260: 4380 lw s0,0(a5)
3262: c606 sw ra,12(sp)
3264: 5c1c lw a5,56(s0)
3266: eb8d bnez a5,3298 <rand+0x40>
3268: 4561 li a0,24
326a: 2dd9 jal 3940 <malloc>
326c: abcd37b7 lui a5,0xabcd3
3270: dc08 sw a0,56(s0)
3272: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
3276: c11c sw a5,0(a0)
3278: e66d17b7 lui a5,0xe66d1
327c: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
3280: c15c sw a5,4(a0)
3282: 0005e7b7 lui a5,0x5e
3286: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x59520>
328a: c51c sw a5,8(a0)
328c: 47ad li a5,11
328e: a55e sh a5,12(a0)
3290: 4705 li a4,1
3292: 4781 li a5,0
3294: c918 sw a4,16(a0)
3296: c95c sw a5,20(a0)
3298: 5c10 lw a2,56(s0)
329a: 4c958737 lui a4,0x4c958
329e: 5851f7b7 lui a5,0x5851f
32a2: 4a14 lw a3,16(a2)
32a4: 4a48 lw a0,20(a2)
32a6: f2d70713 addi a4,a4,-211 # 4c957f2d <_eusrstack+0x2c952f2d>
32aa: 42d78793 addi a5,a5,1069 # 5851f42d <_eusrstack+0x3851a42d>
32ae: 02f687b3 mul a5,a3,a5
32b2: 40b2 lw ra,12(sp)
32b4: 4422 lw s0,8(sp)
32b6: 02e50533 mul a0,a0,a4
32ba: 953e add a0,a0,a5
32bc: 02e687b3 mul a5,a3,a4
32c0: 02e6b733 mulhu a4,a3,a4
32c4: 00178693 addi a3,a5,1
32c8: ca14 sw a3,16(a2)
32ca: 972a add a4,a4,a0
32cc: 00f6b533 sltu a0,a3,a5
32d0: 953a add a0,a0,a4
32d2: ca48 sw a0,20(a2)
32d4: 0506 slli a0,a0,0x1
32d6: 8105 srli a0,a0,0x1
32d8: 0141 addi sp,sp,16
32da: 8082 ret
000032dc <__swbuf_r>:
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: ce06 sw ra,28(sp)
32e6: c64e sw s3,12(sp)
32e8: 84aa mv s1,a0
32ea: 892e mv s2,a1
32ec: 8432 mv s0,a2
32ee: c501 beqz a0,32f6 <__swbuf_r+0x1a>
32f0: 4d1c lw a5,24(a0)
32f2: e391 bnez a5,32f6 <__swbuf_r+0x1a>
32f4: 26f5 jal 36e0 <__sinit>
32f6: 00001797 auipc a5,0x1
32fa: 65a78793 addi a5,a5,1626 # 4950 <__sf_fake_stdin>
32fe: 06f41763 bne s0,a5,336c <__swbuf_r+0x90>
3302: 40c0 lw s0,4(s1)
3304: 4c1c lw a5,24(s0)
3306: c41c sw a5,8(s0)
3308: 245e lhu a5,12(s0)
330a: 8ba1 andi a5,a5,8
330c: c3c1 beqz a5,338c <__swbuf_r+0xb0>
330e: 481c lw a5,16(s0)
3310: cfb5 beqz a5,338c <__swbuf_r+0xb0>
3312: 481c lw a5,16(s0)
3314: 4008 lw a0,0(s0)
3316: 0ff97993 andi s3,s2,255
331a: 0ff97913 andi s2,s2,255
331e: 8d1d sub a0,a0,a5
3320: 485c lw a5,20(s0)
3322: 00f54663 blt a0,a5,332e <__swbuf_r+0x52>
3326: 85a2 mv a1,s0
3328: 8526 mv a0,s1
332a: 2c69 jal 35c4 <_fflush_r>
332c: e525 bnez a0,3394 <__swbuf_r+0xb8>
332e: 441c lw a5,8(s0)
3330: 0505 addi a0,a0,1
3332: 17fd addi a5,a5,-1
3334: c41c sw a5,8(s0)
3336: 401c lw a5,0(s0)
3338: 00178713 addi a4,a5,1
333c: c018 sw a4,0(s0)
333e: 01378023 sb s3,0(a5)
3342: 485c lw a5,20(s0)
3344: 00a78863 beq a5,a0,3354 <__swbuf_r+0x78>
3348: 245e lhu a5,12(s0)
334a: 8b85 andi a5,a5,1
334c: cb81 beqz a5,335c <__swbuf_r+0x80>
334e: 47a9 li a5,10
3350: 00f91663 bne s2,a5,335c <__swbuf_r+0x80>
3354: 85a2 mv a1,s0
3356: 8526 mv a0,s1
3358: 24b5 jal 35c4 <_fflush_r>
335a: ed0d bnez a0,3394 <__swbuf_r+0xb8>
335c: 40f2 lw ra,28(sp)
335e: 4462 lw s0,24(sp)
3360: 854a mv a0,s2
3362: 44d2 lw s1,20(sp)
3364: 4942 lw s2,16(sp)
3366: 49b2 lw s3,12(sp)
3368: 6105 addi sp,sp,32
336a: 8082 ret
336c: 00001797 auipc a5,0x1
3370: 60478793 addi a5,a5,1540 # 4970 <__sf_fake_stdout>
3374: 00f41463 bne s0,a5,337c <__swbuf_r+0xa0>
3378: 4480 lw s0,8(s1)
337a: b769 j 3304 <__swbuf_r+0x28>
337c: 00001797 auipc a5,0x1
3380: 5b478793 addi a5,a5,1460 # 4930 <__sf_fake_stderr>
3384: f8f410e3 bne s0,a5,3304 <__swbuf_r+0x28>
3388: 44c0 lw s0,12(s1)
338a: bfad j 3304 <__swbuf_r+0x28>
338c: 85a2 mv a1,s0
338e: 8526 mv a0,s1
3390: 2021 jal 3398 <__swsetup_r>
3392: d141 beqz a0,3312 <__swbuf_r+0x36>
3394: 597d li s2,-1
3396: b7d9 j 335c <__swbuf_r+0x80>
00003398 <__swsetup_r>:
3398: 1141 addi sp,sp,-16
339a: 81418793 addi a5,gp,-2028 # 20000164 <_impure_ptr>
339e: c226 sw s1,4(sp)
33a0: 4384 lw s1,0(a5)
33a2: c422 sw s0,8(sp)
33a4: c04a sw s2,0(sp)
33a6: c606 sw ra,12(sp)
33a8: 892a mv s2,a0
33aa: 842e mv s0,a1
33ac: c489 beqz s1,33b6 <__swsetup_r+0x1e>
33ae: 4c9c lw a5,24(s1)
33b0: e399 bnez a5,33b6 <__swsetup_r+0x1e>
33b2: 8526 mv a0,s1
33b4: 2635 jal 36e0 <__sinit>
33b6: 00001797 auipc a5,0x1
33ba: 59a78793 addi a5,a5,1434 # 4950 <__sf_fake_stdin>
33be: 02f41b63 bne s0,a5,33f4 <__swsetup_r+0x5c>
33c2: 40c0 lw s0,4(s1)
33c4: 00c41703 lh a4,12(s0)
33c8: 01071793 slli a5,a4,0x10
33cc: 83c1 srli a5,a5,0x10
33ce: 0087f693 andi a3,a5,8
33d2: eaad bnez a3,3444 <__swsetup_r+0xac>
33d4: 0107f693 andi a3,a5,16
33d8: ee95 bnez a3,3414 <__swsetup_r+0x7c>
33da: 47a5 li a5,9
33dc: 00f92023 sw a5,0(s2)
33e0: 04076713 ori a4,a4,64
33e4: a45a sh a4,12(s0)
33e6: 557d li a0,-1
33e8: 40b2 lw ra,12(sp)
33ea: 4422 lw s0,8(sp)
33ec: 4492 lw s1,4(sp)
33ee: 4902 lw s2,0(sp)
33f0: 0141 addi sp,sp,16
33f2: 8082 ret
33f4: 00001797 auipc a5,0x1
33f8: 57c78793 addi a5,a5,1404 # 4970 <__sf_fake_stdout>
33fc: 00f41463 bne s0,a5,3404 <__swsetup_r+0x6c>
3400: 4480 lw s0,8(s1)
3402: b7c9 j 33c4 <__swsetup_r+0x2c>
3404: 00001797 auipc a5,0x1
3408: 52c78793 addi a5,a5,1324 # 4930 <__sf_fake_stderr>
340c: faf41ce3 bne s0,a5,33c4 <__swsetup_r+0x2c>
3410: 44c0 lw s0,12(s1)
3412: bf4d j 33c4 <__swsetup_r+0x2c>
3414: 8b91 andi a5,a5,4
3416: c39d beqz a5,343c <__swsetup_r+0xa4>
3418: 584c lw a1,52(s0)
341a: c989 beqz a1,342c <__swsetup_r+0x94>
341c: 04440793 addi a5,s0,68
3420: 00f58463 beq a1,a5,3428 <__swsetup_r+0x90>
3424: 854a mv a0,s2
3426: 2315 jal 394a <_free_r>
3428: 02042a23 sw zero,52(s0)
342c: 245e lhu a5,12(s0)
342e: 00042223 sw zero,4(s0)
3432: fdb7f793 andi a5,a5,-37
3436: a45e sh a5,12(s0)
3438: 481c lw a5,16(s0)
343a: c01c sw a5,0(s0)
343c: 245e lhu a5,12(s0)
343e: 0087e793 ori a5,a5,8
3442: a45e sh a5,12(s0)
3444: 481c lw a5,16(s0)
3446: eb99 bnez a5,345c <__swsetup_r+0xc4>
3448: 245e lhu a5,12(s0)
344a: 20000713 li a4,512
344e: 2807f793 andi a5,a5,640
3452: 00e78563 beq a5,a4,345c <__swsetup_r+0xc4>
3456: 85a2 mv a1,s0
3458: 854a mv a0,s2
345a: 2991 jal 38ae <__smakebuf_r>
345c: 245e lhu a5,12(s0)
345e: 0017f713 andi a4,a5,1
3462: c31d beqz a4,3488 <__swsetup_r+0xf0>
3464: 485c lw a5,20(s0)
3466: 00042423 sw zero,8(s0)
346a: 40f007b3 neg a5,a5
346e: cc1c sw a5,24(s0)
3470: 481c lw a5,16(s0)
3472: 4501 li a0,0
3474: fbb5 bnez a5,33e8 <__swsetup_r+0x50>
3476: 00c41783 lh a5,12(s0)
347a: 0807f713 andi a4,a5,128
347e: d72d beqz a4,33e8 <__swsetup_r+0x50>
3480: 0407e793 ori a5,a5,64
3484: a45e sh a5,12(s0)
3486: b785 j 33e6 <__swsetup_r+0x4e>
3488: 8b89 andi a5,a5,2
348a: 4701 li a4,0
348c: e391 bnez a5,3490 <__swsetup_r+0xf8>
348e: 4858 lw a4,20(s0)
3490: c418 sw a4,8(s0)
3492: bff9 j 3470 <__swsetup_r+0xd8>
00003494 <__sflush_r>:
3494: 25de lhu a5,12(a1)
3496: 1101 addi sp,sp,-32
3498: cc22 sw s0,24(sp)
349a: ca26 sw s1,20(sp)
349c: ce06 sw ra,28(sp)
349e: c84a sw s2,16(sp)
34a0: c64e sw s3,12(sp)
34a2: 0087f713 andi a4,a5,8
34a6: 84aa mv s1,a0
34a8: 842e mv s0,a1
34aa: eb79 bnez a4,3580 <__sflush_r+0xec>
34ac: 41d8 lw a4,4(a1)
34ae: 00e04d63 bgtz a4,34c8 <__sflush_r+0x34>
34b2: 41b8 lw a4,64(a1)
34b4: 00e04a63 bgtz a4,34c8 <__sflush_r+0x34>
34b8: 4501 li a0,0
34ba: 40f2 lw ra,28(sp)
34bc: 4462 lw s0,24(sp)
34be: 44d2 lw s1,20(sp)
34c0: 4942 lw s2,16(sp)
34c2: 49b2 lw s3,12(sp)
34c4: 6105 addi sp,sp,32
34c6: 8082 ret
34c8: 5458 lw a4,44(s0)
34ca: d77d beqz a4,34b8 <__sflush_r+0x24>
34cc: 0004a903 lw s2,0(s1)
34d0: 01379693 slli a3,a5,0x13
34d4: 0004a023 sw zero,0(s1)
34d8: 0606db63 bgez a3,354e <__sflush_r+0xba>
34dc: 4870 lw a2,84(s0)
34de: 245e lhu a5,12(s0)
34e0: 8b91 andi a5,a5,4
34e2: c799 beqz a5,34f0 <__sflush_r+0x5c>
34e4: 405c lw a5,4(s0)
34e6: 8e1d sub a2,a2,a5
34e8: 585c lw a5,52(s0)
34ea: c399 beqz a5,34f0 <__sflush_r+0x5c>
34ec: 403c lw a5,64(s0)
34ee: 8e1d sub a2,a2,a5
34f0: 545c lw a5,44(s0)
34f2: 500c lw a1,32(s0)
34f4: 4681 li a3,0
34f6: 8526 mv a0,s1
34f8: 9782 jalr a5
34fa: 57fd li a5,-1
34fc: 245a lhu a4,12(s0)
34fe: 00f51d63 bne a0,a5,3518 <__sflush_r+0x84>
3502: 4094 lw a3,0(s1)
3504: 47f5 li a5,29
3506: 06d7e863 bltu a5,a3,3576 <__sflush_r+0xe2>
350a: 204007b7 lui a5,0x20400
350e: 0785 addi a5,a5,1
3510: 00d7d7b3 srl a5,a5,a3
3514: 8b85 andi a5,a5,1
3516: c3a5 beqz a5,3576 <__sflush_r+0xe2>
3518: 481c lw a5,16(s0)
351a: 00042223 sw zero,4(s0)
351e: c01c sw a5,0(s0)
3520: 01371793 slli a5,a4,0x13
3524: 0007d863 bgez a5,3534 <__sflush_r+0xa0>
3528: 57fd li a5,-1
352a: 00f51463 bne a0,a5,3532 <__sflush_r+0x9e>
352e: 409c lw a5,0(s1)
3530: e391 bnez a5,3534 <__sflush_r+0xa0>
3532: c868 sw a0,84(s0)
3534: 584c lw a1,52(s0)
3536: 0124a023 sw s2,0(s1)
353a: ddbd beqz a1,34b8 <__sflush_r+0x24>
353c: 04440793 addi a5,s0,68
3540: 00f58463 beq a1,a5,3548 <__sflush_r+0xb4>
3544: 8526 mv a0,s1
3546: 2111 jal 394a <_free_r>
3548: 02042a23 sw zero,52(s0)
354c: b7b5 j 34b8 <__sflush_r+0x24>
354e: 500c lw a1,32(s0)
3550: 4601 li a2,0
3552: 4685 li a3,1
3554: 8526 mv a0,s1
3556: 9702 jalr a4
3558: 57fd li a5,-1
355a: 862a mv a2,a0
355c: f8f511e3 bne a0,a5,34de <__sflush_r+0x4a>
3560: 409c lw a5,0(s1)
3562: dfb5 beqz a5,34de <__sflush_r+0x4a>
3564: 4775 li a4,29
3566: 00e78563 beq a5,a4,3570 <__sflush_r+0xdc>
356a: 4759 li a4,22
356c: 04e79363 bne a5,a4,35b2 <__sflush_r+0x11e>
3570: 0124a023 sw s2,0(s1)
3574: b791 j 34b8 <__sflush_r+0x24>
3576: 04076713 ori a4,a4,64
357a: a45a sh a4,12(s0)
357c: 557d li a0,-1
357e: bf35 j 34ba <__sflush_r+0x26>
3580: 0105a983 lw s3,16(a1)
3584: f2098ae3 beqz s3,34b8 <__sflush_r+0x24>
3588: 0005a903 lw s2,0(a1)
358c: 8b8d andi a5,a5,3
358e: 0135a023 sw s3,0(a1)
3592: 41390933 sub s2,s2,s3
3596: 4701 li a4,0
3598: e391 bnez a5,359c <__sflush_r+0x108>
359a: 49d8 lw a4,20(a1)
359c: c418 sw a4,8(s0)
359e: f1205de3 blez s2,34b8 <__sflush_r+0x24>
35a2: 541c lw a5,40(s0)
35a4: 500c lw a1,32(s0)
35a6: 86ca mv a3,s2
35a8: 864e mv a2,s3
35aa: 8526 mv a0,s1
35ac: 9782 jalr a5
35ae: 00a04763 bgtz a0,35bc <__sflush_r+0x128>
35b2: 245e lhu a5,12(s0)
35b4: 0407e793 ori a5,a5,64
35b8: a45e sh a5,12(s0)
35ba: b7c9 j 357c <__sflush_r+0xe8>
35bc: 99aa add s3,s3,a0
35be: 40a90933 sub s2,s2,a0
35c2: bff1 j 359e <__sflush_r+0x10a>
000035c4 <_fflush_r>:
35c4: 499c lw a5,16(a1)
35c6: c3a5 beqz a5,3626 <_fflush_r+0x62>
35c8: 1101 addi sp,sp,-32
35ca: cc22 sw s0,24(sp)
35cc: ce06 sw ra,28(sp)
35ce: 842a mv s0,a0
35d0: c511 beqz a0,35dc <_fflush_r+0x18>
35d2: 4d1c lw a5,24(a0)
35d4: e781 bnez a5,35dc <_fflush_r+0x18>
35d6: c62e sw a1,12(sp)
35d8: 2221 jal 36e0 <__sinit>
35da: 45b2 lw a1,12(sp)
35dc: 00001797 auipc a5,0x1
35e0: 37478793 addi a5,a5,884 # 4950 <__sf_fake_stdin>
35e4: 00f59c63 bne a1,a5,35fc <_fflush_r+0x38>
35e8: 404c lw a1,4(s0)
35ea: 00c59783 lh a5,12(a1)
35ee: c79d beqz a5,361c <_fflush_r+0x58>
35f0: 8522 mv a0,s0
35f2: 4462 lw s0,24(sp)
35f4: 40f2 lw ra,28(sp)
35f6: 6105 addi sp,sp,32
35f8: e9dff06f j 3494 <__sflush_r>
35fc: 00001797 auipc a5,0x1
3600: 37478793 addi a5,a5,884 # 4970 <__sf_fake_stdout>
3604: 00f59463 bne a1,a5,360c <_fflush_r+0x48>
3608: 440c lw a1,8(s0)
360a: b7c5 j 35ea <_fflush_r+0x26>
360c: 00001797 auipc a5,0x1
3610: 32478793 addi a5,a5,804 # 4930 <__sf_fake_stderr>
3614: fcf59be3 bne a1,a5,35ea <_fflush_r+0x26>
3618: 444c lw a1,12(s0)
361a: bfc1 j 35ea <_fflush_r+0x26>
361c: 40f2 lw ra,28(sp)
361e: 4462 lw s0,24(sp)
3620: 4501 li a0,0
3622: 6105 addi sp,sp,32
3624: 8082 ret
3626: 4501 li a0,0
3628: 8082 ret
0000362a <std>:
362a: 1141 addi sp,sp,-16
362c: c422 sw s0,8(sp)
362e: c606 sw ra,12(sp)
3630: 842a mv s0,a0
3632: a54e sh a1,12(a0)
3634: a572 sh a2,14(a0)
3636: 00052023 sw zero,0(a0)
363a: 00052223 sw zero,4(a0)
363e: 00052423 sw zero,8(a0)
3642: 06052223 sw zero,100(a0)
3646: 00052823 sw zero,16(a0)
364a: 00052a23 sw zero,20(a0)
364e: 00052c23 sw zero,24(a0)
3652: 4621 li a2,8
3654: 4581 li a1,0
3656: 05c50513 addi a0,a0,92
365a: b47fc0ef jal ra,1a0 <memset>
365e: 00001797 auipc a5,0x1
3662: b3278793 addi a5,a5,-1230 # 4190 <__sread>
3666: d05c sw a5,36(s0)
3668: 00001797 auipc a5,0x1
366c: b5478793 addi a5,a5,-1196 # 41bc <__swrite>
3670: d41c sw a5,40(s0)
3672: 00001797 auipc a5,0x1
3676: b9278793 addi a5,a5,-1134 # 4204 <__sseek>
367a: d45c sw a5,44(s0)
367c: 00001797 auipc a5,0x1
3680: bb878793 addi a5,a5,-1096 # 4234 <__sclose>
3684: d000 sw s0,32(s0)
3686: d81c sw a5,48(s0)
3688: 40b2 lw ra,12(sp)
368a: 4422 lw s0,8(sp)
368c: 0141 addi sp,sp,16
368e: 8082 ret
00003690 <_cleanup_r>:
3690: 00000597 auipc a1,0x0
3694: f3458593 addi a1,a1,-204 # 35c4 <_fflush_r>
3698: aa91 j 37ec <_fwalk_reent>
0000369a <__sfmoreglue>:
369a: 1141 addi sp,sp,-16
369c: c226 sw s1,4(sp)
369e: 06800613 li a2,104
36a2: fff58493 addi s1,a1,-1
36a6: 02c484b3 mul s1,s1,a2
36aa: c04a sw s2,0(sp)
36ac: 892e mv s2,a1
36ae: c422 sw s0,8(sp)
36b0: c606 sw ra,12(sp)
36b2: 07448593 addi a1,s1,116
36b6: 2e35 jal 39f2 <_malloc_r>
36b8: 842a mv s0,a0
36ba: cd01 beqz a0,36d2 <__sfmoreglue+0x38>
36bc: 00052023 sw zero,0(a0)
36c0: 01252223 sw s2,4(a0)
36c4: 0531 addi a0,a0,12
36c6: c408 sw a0,8(s0)
36c8: 06848613 addi a2,s1,104
36cc: 4581 li a1,0
36ce: ad3fc0ef jal ra,1a0 <memset>
36d2: 8522 mv a0,s0
36d4: 40b2 lw ra,12(sp)
36d6: 4422 lw s0,8(sp)
36d8: 4492 lw s1,4(sp)
36da: 4902 lw s2,0(sp)
36dc: 0141 addi sp,sp,16
36de: 8082 ret
000036e0 <__sinit>:
36e0: 4d1c lw a5,24(a0)
36e2: e7a5 bnez a5,374a <__sinit+0x6a>
36e4: 1141 addi sp,sp,-16
36e6: c606 sw ra,12(sp)
36e8: c422 sw s0,8(sp)
36ea: 00000797 auipc a5,0x0
36ee: fa678793 addi a5,a5,-90 # 3690 <_cleanup_r>
36f2: d51c sw a5,40(a0)
36f4: 81818793 addi a5,gp,-2024 # 20000168 <_global_impure_ptr>
36f8: 439c lw a5,0(a5)
36fa: 04052423 sw zero,72(a0)
36fe: 04052623 sw zero,76(a0)
3702: 04052823 sw zero,80(a0)
3706: 00f51463 bne a0,a5,370e <__sinit+0x2e>
370a: 4785 li a5,1
370c: cd1c sw a5,24(a0)
370e: 842a mv s0,a0
3710: 2835 jal 374c <__sfp>
3712: c048 sw a0,4(s0)
3714: 8522 mv a0,s0
3716: 281d jal 374c <__sfp>
3718: c408 sw a0,8(s0)
371a: 8522 mv a0,s0
371c: 2805 jal 374c <__sfp>
371e: c448 sw a0,12(s0)
3720: 4048 lw a0,4(s0)
3722: 4601 li a2,0
3724: 4591 li a1,4
3726: f05ff0ef jal ra,362a <std>
372a: 4408 lw a0,8(s0)
372c: 4605 li a2,1
372e: 45a5 li a1,9
3730: efbff0ef jal ra,362a <std>
3734: 4448 lw a0,12(s0)
3736: 4609 li a2,2
3738: 45c9 li a1,18
373a: ef1ff0ef jal ra,362a <std>
373e: 4785 li a5,1
3740: cc1c sw a5,24(s0)
3742: 40b2 lw ra,12(sp)
3744: 4422 lw s0,8(sp)
3746: 0141 addi sp,sp,16
3748: 8082 ret
374a: 8082 ret
0000374c <__sfp>:
374c: 1141 addi sp,sp,-16
374e: 81818793 addi a5,gp,-2024 # 20000168 <_global_impure_ptr>
3752: c226 sw s1,4(sp)
3754: 4384 lw s1,0(a5)
3756: c04a sw s2,0(sp)
3758: c606 sw ra,12(sp)
375a: 4c9c lw a5,24(s1)
375c: c422 sw s0,8(sp)
375e: 892a mv s2,a0
3760: e781 bnez a5,3768 <__sfp+0x1c>
3762: 8526 mv a0,s1
3764: f7dff0ef jal ra,36e0 <__sinit>
3768: 04848493 addi s1,s1,72
376c: 4480 lw s0,8(s1)
376e: 40dc lw a5,4(s1)
3770: 17fd addi a5,a5,-1
3772: 0007d663 bgez a5,377e <__sfp+0x32>
3776: 409c lw a5,0(s1)
3778: cfb9 beqz a5,37d6 <__sfp+0x8a>
377a: 4084 lw s1,0(s1)
377c: bfc5 j 376c <__sfp+0x20>
377e: 00c41703 lh a4,12(s0)
3782: e739 bnez a4,37d0 <__sfp+0x84>
3784: 77c1 lui a5,0xffff0
3786: 0785 addi a5,a5,1
3788: 06042223 sw zero,100(s0)
378c: 00042023 sw zero,0(s0)
3790: 00042223 sw zero,4(s0)
3794: 00042423 sw zero,8(s0)
3798: c45c sw a5,12(s0)
379a: 00042823 sw zero,16(s0)
379e: 00042a23 sw zero,20(s0)
37a2: 00042c23 sw zero,24(s0)
37a6: 4621 li a2,8
37a8: 4581 li a1,0
37aa: 05c40513 addi a0,s0,92
37ae: 9f3fc0ef jal ra,1a0 <memset>
37b2: 02042a23 sw zero,52(s0)
37b6: 02042c23 sw zero,56(s0)
37ba: 04042423 sw zero,72(s0)
37be: 04042623 sw zero,76(s0)
37c2: 8522 mv a0,s0
37c4: 40b2 lw ra,12(sp)
37c6: 4422 lw s0,8(sp)
37c8: 4492 lw s1,4(sp)
37ca: 4902 lw s2,0(sp)
37cc: 0141 addi sp,sp,16
37ce: 8082 ret
37d0: 06840413 addi s0,s0,104
37d4: bf71 j 3770 <__sfp+0x24>
37d6: 4591 li a1,4
37d8: 854a mv a0,s2
37da: ec1ff0ef jal ra,369a <__sfmoreglue>
37de: c088 sw a0,0(s1)
37e0: fd49 bnez a0,377a <__sfp+0x2e>
37e2: 47b1 li a5,12
37e4: 00f92023 sw a5,0(s2)
37e8: 4401 li s0,0
37ea: bfe1 j 37c2 <__sfp+0x76>
000037ec <_fwalk_reent>:
37ec: 7179 addi sp,sp,-48
37ee: d422 sw s0,40(sp)
37f0: d04a sw s2,32(sp)
37f2: cc52 sw s4,24(sp)
37f4: ca56 sw s5,20(sp)
37f6: c85a sw s6,16(sp)
37f8: c65e sw s7,12(sp)
37fa: d606 sw ra,44(sp)
37fc: d226 sw s1,36(sp)
37fe: ce4e sw s3,28(sp)
3800: 8a2a mv s4,a0
3802: 8aae mv s5,a1
3804: 04850413 addi s0,a0,72
3808: 4901 li s2,0
380a: 4b05 li s6,1
380c: 5bfd li s7,-1
380e: ec09 bnez s0,3828 <_fwalk_reent+0x3c>
3810: 50b2 lw ra,44(sp)
3812: 5422 lw s0,40(sp)
3814: 854a mv a0,s2
3816: 5492 lw s1,36(sp)
3818: 5902 lw s2,32(sp)
381a: 49f2 lw s3,28(sp)
381c: 4a62 lw s4,24(sp)
381e: 4ad2 lw s5,20(sp)
3820: 4b42 lw s6,16(sp)
3822: 4bb2 lw s7,12(sp)
3824: 6145 addi sp,sp,48
3826: 8082 ret
3828: 4404 lw s1,8(s0)
382a: 00442983 lw s3,4(s0)
382e: 19fd addi s3,s3,-1
3830: 0009d463 bgez s3,3838 <_fwalk_reent+0x4c>
3834: 4000 lw s0,0(s0)
3836: bfe1 j 380e <_fwalk_reent+0x22>
3838: 24de lhu a5,12(s1)
383a: 00fb7b63 bgeu s6,a5,3850 <_fwalk_reent+0x64>
383e: 00e49783 lh a5,14(s1)
3842: 01778763 beq a5,s7,3850 <_fwalk_reent+0x64>
3846: 85a6 mv a1,s1
3848: 8552 mv a0,s4
384a: 9a82 jalr s5
384c: 00a96933 or s2,s2,a0
3850: 06848493 addi s1,s1,104
3854: bfe9 j 382e <_fwalk_reent+0x42>
00003856 <__swhatbuf_r>:
3856: 7119 addi sp,sp,-128
3858: daa6 sw s1,116(sp)
385a: 84ae mv s1,a1
385c: 00e59583 lh a1,14(a1)
3860: dca2 sw s0,120(sp)
3862: de86 sw ra,124(sp)
3864: 8432 mv s0,a2
3866: 0005db63 bgez a1,387c <__swhatbuf_r+0x26>
386a: 24de lhu a5,12(s1)
386c: 0006a023 sw zero,0(a3)
3870: 0807f793 andi a5,a5,128
3874: e785 bnez a5,389c <__swhatbuf_r+0x46>
3876: 40000793 li a5,1024
387a: a01d j 38a0 <__swhatbuf_r+0x4a>
387c: 0830 addi a2,sp,24
387e: c636 sw a3,12(sp)
3880: 211000ef jal ra,4290 <_fstat_r>
3884: 46b2 lw a3,12(sp)
3886: fe0542e3 bltz a0,386a <__swhatbuf_r+0x14>
388a: 4772 lw a4,28(sp)
388c: 67bd lui a5,0xf
388e: 8ff9 and a5,a5,a4
3890: 7779 lui a4,0xffffe
3892: 97ba add a5,a5,a4
3894: 0017b793 seqz a5,a5
3898: c29c sw a5,0(a3)
389a: bff1 j 3876 <__swhatbuf_r+0x20>
389c: 04000793 li a5,64
38a0: c01c sw a5,0(s0)
38a2: 50f6 lw ra,124(sp)
38a4: 5466 lw s0,120(sp)
38a6: 54d6 lw s1,116(sp)
38a8: 4501 li a0,0
38aa: 6109 addi sp,sp,128
38ac: 8082 ret
000038ae <__smakebuf_r>:
38ae: 25de lhu a5,12(a1)
38b0: 1101 addi sp,sp,-32
38b2: cc22 sw s0,24(sp)
38b4: ce06 sw ra,28(sp)
38b6: ca26 sw s1,20(sp)
38b8: c84a sw s2,16(sp)
38ba: 8b89 andi a5,a5,2
38bc: 842e mv s0,a1
38be: cf89 beqz a5,38d8 <__smakebuf_r+0x2a>
38c0: 04740793 addi a5,s0,71
38c4: c01c sw a5,0(s0)
38c6: c81c sw a5,16(s0)
38c8: 4785 li a5,1
38ca: c85c sw a5,20(s0)
38cc: 40f2 lw ra,28(sp)
38ce: 4462 lw s0,24(sp)
38d0: 44d2 lw s1,20(sp)
38d2: 4942 lw s2,16(sp)
38d4: 6105 addi sp,sp,32
38d6: 8082 ret
38d8: 0074 addi a3,sp,12
38da: 0030 addi a2,sp,8
38dc: 84aa mv s1,a0
38de: f79ff0ef jal ra,3856 <__swhatbuf_r>
38e2: 45a2 lw a1,8(sp)
38e4: 892a mv s2,a0
38e6: 8526 mv a0,s1
38e8: 2229 jal 39f2 <_malloc_r>
38ea: e919 bnez a0,3900 <__smakebuf_r+0x52>
38ec: 00c41783 lh a5,12(s0)
38f0: 2007f713 andi a4,a5,512
38f4: ff61 bnez a4,38cc <__smakebuf_r+0x1e>
38f6: 9bf1 andi a5,a5,-4
38f8: 0027e793 ori a5,a5,2
38fc: a45e sh a5,12(s0)
38fe: b7c9 j 38c0 <__smakebuf_r+0x12>
3900: 00000797 auipc a5,0x0
3904: d9078793 addi a5,a5,-624 # 3690 <_cleanup_r>
3908: d49c sw a5,40(s1)
390a: 245e lhu a5,12(s0)
390c: c008 sw a0,0(s0)
390e: c808 sw a0,16(s0)
3910: 0807e793 ori a5,a5,128
3914: a45e sh a5,12(s0)
3916: 47a2 lw a5,8(sp)
3918: c85c sw a5,20(s0)
391a: 47b2 lw a5,12(sp)
391c: cf81 beqz a5,3934 <__smakebuf_r+0x86>
391e: 00e41583 lh a1,14(s0)
3922: 8526 mv a0,s1
3924: 197000ef jal ra,42ba <_isatty_r>
3928: c511 beqz a0,3934 <__smakebuf_r+0x86>
392a: 245e lhu a5,12(s0)
392c: 9bf1 andi a5,a5,-4
392e: 0017e793 ori a5,a5,1
3932: a45e sh a5,12(s0)
3934: 245e lhu a5,12(s0)
3936: 00f96933 or s2,s2,a5
393a: 01241623 sh s2,12(s0)
393e: b779 j 38cc <__smakebuf_r+0x1e>
00003940 <malloc>:
3940: 81418793 addi a5,gp,-2028 # 20000164 <_impure_ptr>
3944: 85aa mv a1,a0
3946: 4388 lw a0,0(a5)
3948: a06d j 39f2 <_malloc_r>
0000394a <_free_r>:
394a: c1dd beqz a1,39f0 <_free_r+0xa6>
394c: ffc5a783 lw a5,-4(a1)
3950: 1141 addi sp,sp,-16
3952: c422 sw s0,8(sp)
3954: c606 sw ra,12(sp)
3956: c226 sw s1,4(sp)
3958: ffc58413 addi s0,a1,-4
395c: 0007d363 bgez a5,3962 <_free_r+0x18>
3960: 943e add s0,s0,a5
3962: 84aa mv s1,a0
3964: 1c3000ef jal ra,4326 <__malloc_lock>
3968: 85c18793 addi a5,gp,-1956 # 200001ac <__malloc_free_list>
396c: 439c lw a5,0(a5)
396e: ef81 bnez a5,3986 <_free_r+0x3c>
3970: 00042223 sw zero,4(s0)
3974: 8481ae23 sw s0,-1956(gp) # 200001ac <__malloc_free_list>
3978: 4422 lw s0,8(sp)
397a: 40b2 lw ra,12(sp)
397c: 8526 mv a0,s1
397e: 4492 lw s1,4(sp)
3980: 0141 addi sp,sp,16
3982: 1a70006f j 4328 <__malloc_unlock>
3986: 00f47e63 bgeu s0,a5,39a2 <_free_r+0x58>
398a: 4014 lw a3,0(s0)
398c: 00d40733 add a4,s0,a3
3990: 00e79663 bne a5,a4,399c <_free_r+0x52>
3994: 4398 lw a4,0(a5)
3996: 43dc lw a5,4(a5)
3998: 9736 add a4,a4,a3
399a: c018 sw a4,0(s0)
399c: c05c sw a5,4(s0)
399e: bfd9 j 3974 <_free_r+0x2a>
39a0: 87ba mv a5,a4
39a2: 43d8 lw a4,4(a5)
39a4: c319 beqz a4,39aa <_free_r+0x60>
39a6: fee47de3 bgeu s0,a4,39a0 <_free_r+0x56>
39aa: 4394 lw a3,0(a5)
39ac: 00d78633 add a2,a5,a3
39b0: 00861f63 bne a2,s0,39ce <_free_r+0x84>
39b4: 4010 lw a2,0(s0)
39b6: 96b2 add a3,a3,a2
39b8: c394 sw a3,0(a5)
39ba: 00d78633 add a2,a5,a3
39be: fac71de3 bne a4,a2,3978 <_free_r+0x2e>
39c2: 4310 lw a2,0(a4)
39c4: 4358 lw a4,4(a4)
39c6: 96b2 add a3,a3,a2
39c8: c394 sw a3,0(a5)
39ca: c3d8 sw a4,4(a5)
39cc: b775 j 3978 <_free_r+0x2e>
39ce: 00c47563 bgeu s0,a2,39d8 <_free_r+0x8e>
39d2: 47b1 li a5,12
39d4: c09c sw a5,0(s1)
39d6: b74d j 3978 <_free_r+0x2e>
39d8: 4010 lw a2,0(s0)
39da: 00c406b3 add a3,s0,a2
39de: 00d71663 bne a4,a3,39ea <_free_r+0xa0>
39e2: 4314 lw a3,0(a4)
39e4: 4358 lw a4,4(a4)
39e6: 96b2 add a3,a3,a2
39e8: c014 sw a3,0(s0)
39ea: c058 sw a4,4(s0)
39ec: c3c0 sw s0,4(a5)
39ee: b769 j 3978 <_free_r+0x2e>
39f0: 8082 ret
000039f2 <_malloc_r>:
39f2: 1101 addi sp,sp,-32
39f4: ca26 sw s1,20(sp)
39f6: 00358493 addi s1,a1,3
39fa: 98f1 andi s1,s1,-4
39fc: ce06 sw ra,28(sp)
39fe: cc22 sw s0,24(sp)
3a00: c84a sw s2,16(sp)
3a02: c64e sw s3,12(sp)
3a04: 04a1 addi s1,s1,8
3a06: 47b1 li a5,12
3a08: 04f4f363 bgeu s1,a5,3a4e <_malloc_r+0x5c>
3a0c: 44b1 li s1,12
3a0e: 04b4e263 bltu s1,a1,3a52 <_malloc_r+0x60>
3a12: 892a mv s2,a0
3a14: 113000ef jal ra,4326 <__malloc_lock>
3a18: 85c18793 addi a5,gp,-1956 # 200001ac <__malloc_free_list>
3a1c: 4398 lw a4,0(a5)
3a1e: 843a mv s0,a4
3a20: e039 bnez s0,3a66 <_malloc_r+0x74>
3a22: 86018793 addi a5,gp,-1952 # 200001b0 <__malloc_sbrk_start>
3a26: 439c lw a5,0(a5)
3a28: e791 bnez a5,3a34 <_malloc_r+0x42>
3a2a: 4581 li a1,0
3a2c: 854a mv a0,s2
3a2e: 2f25 jal 4166 <_sbrk_r>
3a30: 86a1a023 sw a0,-1952(gp) # 200001b0 <__malloc_sbrk_start>
3a34: 85a6 mv a1,s1
3a36: 854a mv a0,s2
3a38: 273d jal 4166 <_sbrk_r>
3a3a: 59fd li s3,-1
3a3c: 07351963 bne a0,s3,3aae <_malloc_r+0xbc>
3a40: 47b1 li a5,12
3a42: 00f92023 sw a5,0(s2)
3a46: 854a mv a0,s2
3a48: 0e1000ef jal ra,4328 <__malloc_unlock>
3a4c: a029 j 3a56 <_malloc_r+0x64>
3a4e: fc04d0e3 bgez s1,3a0e <_malloc_r+0x1c>
3a52: 47b1 li a5,12
3a54: c11c sw a5,0(a0)
3a56: 4501 li a0,0
3a58: 40f2 lw ra,28(sp)
3a5a: 4462 lw s0,24(sp)
3a5c: 44d2 lw s1,20(sp)
3a5e: 4942 lw s2,16(sp)
3a60: 49b2 lw s3,12(sp)
3a62: 6105 addi sp,sp,32
3a64: 8082 ret
3a66: 401c lw a5,0(s0)
3a68: 8f85 sub a5,a5,s1
3a6a: 0207cf63 bltz a5,3aa8 <_malloc_r+0xb6>
3a6e: 46ad li a3,11
3a70: 00f6f663 bgeu a3,a5,3a7c <_malloc_r+0x8a>
3a74: c01c sw a5,0(s0)
3a76: 943e add s0,s0,a5
3a78: c004 sw s1,0(s0)
3a7a: a031 j 3a86 <_malloc_r+0x94>
3a7c: 405c lw a5,4(s0)
3a7e: 02871363 bne a4,s0,3aa4 <_malloc_r+0xb2>
3a82: 84f1ae23 sw a5,-1956(gp) # 200001ac <__malloc_free_list>
3a86: 854a mv a0,s2
3a88: 0a1000ef jal ra,4328 <__malloc_unlock>
3a8c: 00b40513 addi a0,s0,11
3a90: 00440793 addi a5,s0,4
3a94: 9961 andi a0,a0,-8
3a96: 40f50733 sub a4,a0,a5
3a9a: df5d beqz a4,3a58 <_malloc_r+0x66>
3a9c: 943a add s0,s0,a4
3a9e: 8f89 sub a5,a5,a0
3aa0: c01c sw a5,0(s0)
3aa2: bf5d j 3a58 <_malloc_r+0x66>
3aa4: c35c sw a5,4(a4)
3aa6: b7c5 j 3a86 <_malloc_r+0x94>
3aa8: 8722 mv a4,s0
3aaa: 4040 lw s0,4(s0)
3aac: bf95 j 3a20 <_malloc_r+0x2e>
3aae: 00350413 addi s0,a0,3
3ab2: 9871 andi s0,s0,-4
3ab4: fc8502e3 beq a0,s0,3a78 <_malloc_r+0x86>
3ab8: 40a405b3 sub a1,s0,a0
3abc: 854a mv a0,s2
3abe: 2565 jal 4166 <_sbrk_r>
3ac0: fb351ce3 bne a0,s3,3a78 <_malloc_r+0x86>
3ac4: bfb5 j 3a40 <_malloc_r+0x4e>
00003ac6 <__sfputc_r>:
3ac6: 461c lw a5,8(a2)
3ac8: 17fd addi a5,a5,-1
3aca: c61c sw a5,8(a2)
3acc: 0007da63 bgez a5,3ae0 <__sfputc_r+0x1a>
3ad0: 4e18 lw a4,24(a2)
3ad2: 00e7c563 blt a5,a4,3adc <__sfputc_r+0x16>
3ad6: 47a9 li a5,10
3ad8: 00f59463 bne a1,a5,3ae0 <__sfputc_r+0x1a>
3adc: 801ff06f j 32dc <__swbuf_r>
3ae0: 421c lw a5,0(a2)
3ae2: 852e mv a0,a1
3ae4: 00178713 addi a4,a5,1
3ae8: c218 sw a4,0(a2)
3aea: a38c sb a1,0(a5)
3aec: 8082 ret
00003aee <__sfputs_r>:
3aee: 1101 addi sp,sp,-32
3af0: cc22 sw s0,24(sp)
3af2: ca26 sw s1,20(sp)
3af4: c84a sw s2,16(sp)
3af6: c64e sw s3,12(sp)
3af8: c452 sw s4,8(sp)
3afa: ce06 sw ra,28(sp)
3afc: 892a mv s2,a0
3afe: 89ae mv s3,a1
3b00: 8432 mv s0,a2
3b02: 00d604b3 add s1,a2,a3
3b06: 5a7d li s4,-1
3b08: 00941463 bne s0,s1,3b10 <__sfputs_r+0x22>
3b0c: 4501 li a0,0
3b0e: a809 j 3b20 <__sfputs_r+0x32>
3b10: 200c lbu a1,0(s0)
3b12: 864e mv a2,s3
3b14: 854a mv a0,s2
3b16: fb1ff0ef jal ra,3ac6 <__sfputc_r>
3b1a: 0405 addi s0,s0,1
3b1c: ff4516e3 bne a0,s4,3b08 <__sfputs_r+0x1a>
3b20: 40f2 lw ra,28(sp)
3b22: 4462 lw s0,24(sp)
3b24: 44d2 lw s1,20(sp)
3b26: 4942 lw s2,16(sp)
3b28: 49b2 lw s3,12(sp)
3b2a: 4a22 lw s4,8(sp)
3b2c: 6105 addi sp,sp,32
3b2e: 8082 ret
00003b30 <_vfiprintf_r>:
3b30: 7135 addi sp,sp,-160
3b32: cd22 sw s0,152(sp)
3b34: cb26 sw s1,148(sp)
3b36: c94a sw s2,144(sp)
3b38: c74e sw s3,140(sp)
3b3a: cf06 sw ra,156(sp)
3b3c: c552 sw s4,136(sp)
3b3e: c356 sw s5,132(sp)
3b40: c15a sw s6,128(sp)
3b42: dede sw s7,124(sp)
3b44: dce2 sw s8,120(sp)
3b46: dae6 sw s9,116(sp)
3b48: 89aa mv s3,a0
3b4a: 84ae mv s1,a1
3b4c: 8932 mv s2,a2
3b4e: 8436 mv s0,a3
3b50: c509 beqz a0,3b5a <_vfiprintf_r+0x2a>
3b52: 4d1c lw a5,24(a0)
3b54: e399 bnez a5,3b5a <_vfiprintf_r+0x2a>
3b56: b8bff0ef jal ra,36e0 <__sinit>
3b5a: 00001797 auipc a5,0x1
3b5e: df678793 addi a5,a5,-522 # 4950 <__sf_fake_stdin>
3b62: 0cf49863 bne s1,a5,3c32 <_vfiprintf_r+0x102>
3b66: 0049a483 lw s1,4(s3)
3b6a: 24de lhu a5,12(s1)
3b6c: 8ba1 andi a5,a5,8
3b6e: c7e5 beqz a5,3c56 <_vfiprintf_r+0x126>
3b70: 489c lw a5,16(s1)
3b72: c3f5 beqz a5,3c56 <_vfiprintf_r+0x126>
3b74: 02000793 li a5,32
3b78: 02f104a3 sb a5,41(sp)
3b7c: 03000793 li a5,48
3b80: d202 sw zero,36(sp)
3b82: 02f10523 sb a5,42(sp)
3b86: c622 sw s0,12(sp)
3b88: 02500b93 li s7,37
3b8c: 00001a97 auipc s5,0x1
3b90: e04a8a93 addi s5,s5,-508 # 4990 <__sf_fake_stdout+0x20>
3b94: 4c05 li s8,1
3b96: 4b29 li s6,10
3b98: 844a mv s0,s2
3b9a: 201c lbu a5,0(s0)
3b9c: c399 beqz a5,3ba2 <_vfiprintf_r+0x72>
3b9e: 0d779f63 bne a5,s7,3c7c <_vfiprintf_r+0x14c>
3ba2: 41240cb3 sub s9,s0,s2
3ba6: 000c8e63 beqz s9,3bc2 <_vfiprintf_r+0x92>
3baa: 86e6 mv a3,s9
3bac: 864a mv a2,s2
3bae: 85a6 mv a1,s1
3bb0: 854e mv a0,s3
3bb2: f3dff0ef jal ra,3aee <__sfputs_r>
3bb6: 57fd li a5,-1
3bb8: 1cf50f63 beq a0,a5,3d96 <_vfiprintf_r+0x266>
3bbc: 5692 lw a3,36(sp)
3bbe: 96e6 add a3,a3,s9
3bc0: d236 sw a3,36(sp)
3bc2: 201c lbu a5,0(s0)
3bc4: 1c078963 beqz a5,3d96 <_vfiprintf_r+0x266>
3bc8: 57fd li a5,-1
3bca: 00140913 addi s2,s0,1
3bce: c802 sw zero,16(sp)
3bd0: ce02 sw zero,28(sp)
3bd2: ca3e sw a5,20(sp)
3bd4: cc02 sw zero,24(sp)
3bd6: 040109a3 sb zero,83(sp)
3bda: d482 sw zero,104(sp)
3bdc: 00094583 lbu a1,0(s2)
3be0: 4615 li a2,5
3be2: 8556 mv a0,s5
3be4: 272d jal 430e <memchr>
3be6: 00190413 addi s0,s2,1
3bea: 47c2 lw a5,16(sp)
3bec: e951 bnez a0,3c80 <_vfiprintf_r+0x150>
3bee: 0107f713 andi a4,a5,16
3bf2: c709 beqz a4,3bfc <_vfiprintf_r+0xcc>
3bf4: 02000713 li a4,32
3bf8: 04e109a3 sb a4,83(sp)
3bfc: 0087f713 andi a4,a5,8
3c00: c709 beqz a4,3c0a <_vfiprintf_r+0xda>
3c02: 02b00713 li a4,43
3c06: 04e109a3 sb a4,83(sp)
3c0a: 00094683 lbu a3,0(s2)
3c0e: 02a00713 li a4,42
3c12: 06e68f63 beq a3,a4,3c90 <_vfiprintf_r+0x160>
3c16: 47f2 lw a5,28(sp)
3c18: 844a mv s0,s2
3c1a: 4681 li a3,0
3c1c: 4625 li a2,9
3c1e: 2018 lbu a4,0(s0)
3c20: 00140593 addi a1,s0,1
3c24: fd070713 addi a4,a4,-48 # ffffdfd0 <_eusrstack+0xdfff8fd0>
3c28: 0ae67763 bgeu a2,a4,3cd6 <_vfiprintf_r+0x1a6>
3c2c: cab5 beqz a3,3ca0 <_vfiprintf_r+0x170>
3c2e: ce3e sw a5,28(sp)
3c30: a885 j 3ca0 <_vfiprintf_r+0x170>
3c32: 00001797 auipc a5,0x1
3c36: d3e78793 addi a5,a5,-706 # 4970 <__sf_fake_stdout>
3c3a: 00f49563 bne s1,a5,3c44 <_vfiprintf_r+0x114>
3c3e: 0089a483 lw s1,8(s3)
3c42: b725 j 3b6a <_vfiprintf_r+0x3a>
3c44: 00001797 auipc a5,0x1
3c48: cec78793 addi a5,a5,-788 # 4930 <__sf_fake_stderr>
3c4c: f0f49fe3 bne s1,a5,3b6a <_vfiprintf_r+0x3a>
3c50: 00c9a483 lw s1,12(s3)
3c54: bf19 j 3b6a <_vfiprintf_r+0x3a>
3c56: 85a6 mv a1,s1
3c58: 854e mv a0,s3
3c5a: f3eff0ef jal ra,3398 <__swsetup_r>
3c5e: d919 beqz a0,3b74 <_vfiprintf_r+0x44>
3c60: 557d li a0,-1
3c62: 40fa lw ra,156(sp)
3c64: 446a lw s0,152(sp)
3c66: 44da lw s1,148(sp)
3c68: 494a lw s2,144(sp)
3c6a: 49ba lw s3,140(sp)
3c6c: 4a2a lw s4,136(sp)
3c6e: 4a9a lw s5,132(sp)
3c70: 4b0a lw s6,128(sp)
3c72: 5bf6 lw s7,124(sp)
3c74: 5c66 lw s8,120(sp)
3c76: 5cd6 lw s9,116(sp)
3c78: 610d addi sp,sp,160
3c7a: 8082 ret
3c7c: 0405 addi s0,s0,1
3c7e: bf31 j 3b9a <_vfiprintf_r+0x6a>
3c80: 41550533 sub a0,a0,s5
3c84: 00ac1533 sll a0,s8,a0
3c88: 8fc9 or a5,a5,a0
3c8a: c83e sw a5,16(sp)
3c8c: 8922 mv s2,s0
3c8e: b7b9 j 3bdc <_vfiprintf_r+0xac>
3c90: 4732 lw a4,12(sp)
3c92: 00470693 addi a3,a4,4
3c96: 4318 lw a4,0(a4)
3c98: c636 sw a3,12(sp)
3c9a: 02074763 bltz a4,3cc8 <_vfiprintf_r+0x198>
3c9e: ce3a sw a4,28(sp)
3ca0: 2018 lbu a4,0(s0)
3ca2: 02e00793 li a5,46
3ca6: 04f71d63 bne a4,a5,3d00 <_vfiprintf_r+0x1d0>
3caa: 3018 lbu a4,1(s0)
3cac: 02a00793 li a5,42
3cb0: 02f71b63 bne a4,a5,3ce6 <_vfiprintf_r+0x1b6>
3cb4: 47b2 lw a5,12(sp)
3cb6: 0409 addi s0,s0,2
3cb8: 00478713 addi a4,a5,4
3cbc: 439c lw a5,0(a5)
3cbe: c63a sw a4,12(sp)
3cc0: 0207c163 bltz a5,3ce2 <_vfiprintf_r+0x1b2>
3cc4: ca3e sw a5,20(sp)
3cc6: a82d j 3d00 <_vfiprintf_r+0x1d0>
3cc8: 40e00733 neg a4,a4
3ccc: 0027e793 ori a5,a5,2
3cd0: ce3a sw a4,28(sp)
3cd2: c83e sw a5,16(sp)
3cd4: b7f1 j 3ca0 <_vfiprintf_r+0x170>
3cd6: 036787b3 mul a5,a5,s6
3cda: 4685 li a3,1
3cdc: 842e mv s0,a1
3cde: 97ba add a5,a5,a4
3ce0: bf3d j 3c1e <_vfiprintf_r+0xee>
3ce2: 57fd li a5,-1
3ce4: b7c5 j 3cc4 <_vfiprintf_r+0x194>
3ce6: 0405 addi s0,s0,1
3ce8: ca02 sw zero,20(sp)
3cea: 4681 li a3,0
3cec: 4781 li a5,0
3cee: 4625 li a2,9
3cf0: 2018 lbu a4,0(s0)
3cf2: 00140593 addi a1,s0,1
3cf6: fd070713 addi a4,a4,-48
3cfa: 06e67463 bgeu a2,a4,3d62 <_vfiprintf_r+0x232>
3cfe: f2f9 bnez a3,3cc4 <_vfiprintf_r+0x194>
3d00: 200c lbu a1,0(s0)
3d02: 460d li a2,3
3d04: 00001517 auipc a0,0x1
3d08: c9450513 addi a0,a0,-876 # 4998 <__sf_fake_stdout+0x28>
3d0c: 2509 jal 430e <memchr>
3d0e: cd11 beqz a0,3d2a <_vfiprintf_r+0x1fa>
3d10: 00001797 auipc a5,0x1
3d14: c8878793 addi a5,a5,-888 # 4998 <__sf_fake_stdout+0x28>
3d18: 8d1d sub a0,a0,a5
3d1a: 04000793 li a5,64
3d1e: 00a797b3 sll a5,a5,a0
3d22: 4542 lw a0,16(sp)
3d24: 0405 addi s0,s0,1
3d26: 8d5d or a0,a0,a5
3d28: c82a sw a0,16(sp)
3d2a: 200c lbu a1,0(s0)
3d2c: 4619 li a2,6
3d2e: 00001517 auipc a0,0x1
3d32: c6e50513 addi a0,a0,-914 # 499c <__sf_fake_stdout+0x2c>
3d36: 00140913 addi s2,s0,1
3d3a: 02b10423 sb a1,40(sp)
3d3e: 2bc1 jal 430e <memchr>
3d40: c135 beqz a0,3da4 <_vfiprintf_r+0x274>
3d42: ffffc797 auipc a5,0xffffc
3d46: 2be78793 addi a5,a5,702 # 0 <_sinit>
3d4a: e795 bnez a5,3d76 <_vfiprintf_r+0x246>
3d4c: 4742 lw a4,16(sp)
3d4e: 47b2 lw a5,12(sp)
3d50: 10077713 andi a4,a4,256
3d54: cf09 beqz a4,3d6e <_vfiprintf_r+0x23e>
3d56: 0791 addi a5,a5,4
3d58: c63e sw a5,12(sp)
3d5a: 5792 lw a5,36(sp)
3d5c: 97d2 add a5,a5,s4
3d5e: d23e sw a5,36(sp)
3d60: bd25 j 3b98 <_vfiprintf_r+0x68>
3d62: 036787b3 mul a5,a5,s6
3d66: 4685 li a3,1
3d68: 842e mv s0,a1
3d6a: 97ba add a5,a5,a4
3d6c: b751 j 3cf0 <_vfiprintf_r+0x1c0>
3d6e: 079d addi a5,a5,7
3d70: 9be1 andi a5,a5,-8
3d72: 07a1 addi a5,a5,8
3d74: b7d5 j 3d58 <_vfiprintf_r+0x228>
3d76: 0078 addi a4,sp,12
3d78: 00000697 auipc a3,0x0
3d7c: d7668693 addi a3,a3,-650 # 3aee <__sfputs_r>
3d80: 8626 mv a2,s1
3d82: 080c addi a1,sp,16
3d84: 854e mv a0,s3
3d86: 00000097 auipc ra,0x0
3d8a: 000000e7 jalr zero # 0 <_sinit>
3d8e: 57fd li a5,-1
3d90: 8a2a mv s4,a0
3d92: fcf514e3 bne a0,a5,3d5a <_vfiprintf_r+0x22a>
3d96: 24de lhu a5,12(s1)
3d98: 0407f793 andi a5,a5,64
3d9c: ec0792e3 bnez a5,3c60 <_vfiprintf_r+0x130>
3da0: 5512 lw a0,36(sp)
3da2: b5c1 j 3c62 <_vfiprintf_r+0x132>
3da4: 0078 addi a4,sp,12
3da6: 00000697 auipc a3,0x0
3daa: d4868693 addi a3,a3,-696 # 3aee <__sfputs_r>
3dae: 8626 mv a2,s1
3db0: 080c addi a1,sp,16
3db2: 854e mv a0,s3
3db4: 2a01 jal 3ec4 <_printf_i>
3db6: bfe1 j 3d8e <_vfiprintf_r+0x25e>
00003db8 <_printf_common>:
3db8: 7179 addi sp,sp,-48
3dba: ca56 sw s5,20(sp)
3dbc: 499c lw a5,16(a1)
3dbe: 8aba mv s5,a4
3dc0: 4598 lw a4,8(a1)
3dc2: d422 sw s0,40(sp)
3dc4: d226 sw s1,36(sp)
3dc6: ce4e sw s3,28(sp)
3dc8: cc52 sw s4,24(sp)
3dca: d606 sw ra,44(sp)
3dcc: d04a sw s2,32(sp)
3dce: c85a sw s6,16(sp)
3dd0: c65e sw s7,12(sp)
3dd2: 89aa mv s3,a0
3dd4: 842e mv s0,a1
3dd6: 84b2 mv s1,a2
3dd8: 8a36 mv s4,a3
3dda: 00e7d363 bge a5,a4,3de0 <_printf_common+0x28>
3dde: 87ba mv a5,a4
3de0: c09c sw a5,0(s1)
3de2: 04344703 lbu a4,67(s0)
3de6: c319 beqz a4,3dec <_printf_common+0x34>
3de8: 0785 addi a5,a5,1
3dea: c09c sw a5,0(s1)
3dec: 401c lw a5,0(s0)
3dee: 0207f793 andi a5,a5,32
3df2: c781 beqz a5,3dfa <_printf_common+0x42>
3df4: 409c lw a5,0(s1)
3df6: 0789 addi a5,a5,2
3df8: c09c sw a5,0(s1)
3dfa: 00042903 lw s2,0(s0)
3dfe: 00697913 andi s2,s2,6
3e02: 00091a63 bnez s2,3e16 <_printf_common+0x5e>
3e06: 01940b13 addi s6,s0,25
3e0a: 5bfd li s7,-1
3e0c: 445c lw a5,12(s0)
3e0e: 4098 lw a4,0(s1)
3e10: 8f99 sub a5,a5,a4
3e12: 04f94c63 blt s2,a5,3e6a <_printf_common+0xb2>
3e16: 401c lw a5,0(s0)
3e18: 04344683 lbu a3,67(s0)
3e1c: 0207f793 andi a5,a5,32
3e20: 00d036b3 snez a3,a3
3e24: eba5 bnez a5,3e94 <_printf_common+0xdc>
3e26: 04340613 addi a2,s0,67
3e2a: 85d2 mv a1,s4
3e2c: 854e mv a0,s3
3e2e: 9a82 jalr s5
3e30: 57fd li a5,-1
3e32: 04f50363 beq a0,a5,3e78 <_printf_common+0xc0>
3e36: 401c lw a5,0(s0)
3e38: 4611 li a2,4
3e3a: 4098 lw a4,0(s1)
3e3c: 8b99 andi a5,a5,6
3e3e: 4454 lw a3,12(s0)
3e40: 4481 li s1,0
3e42: 00c79763 bne a5,a2,3e50 <_printf_common+0x98>
3e46: 40e684b3 sub s1,a3,a4
3e4a: 0004d363 bgez s1,3e50 <_printf_common+0x98>
3e4e: 4481 li s1,0
3e50: 441c lw a5,8(s0)
3e52: 4818 lw a4,16(s0)
3e54: 00f75463 bge a4,a5,3e5c <_printf_common+0xa4>
3e58: 8f99 sub a5,a5,a4
3e5a: 94be add s1,s1,a5
3e5c: 4901 li s2,0
3e5e: 0469 addi s0,s0,26
3e60: 5b7d li s6,-1
3e62: 05249863 bne s1,s2,3eb2 <_printf_common+0xfa>
3e66: 4501 li a0,0
3e68: a809 j 3e7a <_printf_common+0xc2>
3e6a: 4685 li a3,1
3e6c: 865a mv a2,s6
3e6e: 85d2 mv a1,s4
3e70: 854e mv a0,s3
3e72: 9a82 jalr s5
3e74: 01751e63 bne a0,s7,3e90 <_printf_common+0xd8>
3e78: 557d li a0,-1
3e7a: 50b2 lw ra,44(sp)
3e7c: 5422 lw s0,40(sp)
3e7e: 5492 lw s1,36(sp)
3e80: 5902 lw s2,32(sp)
3e82: 49f2 lw s3,28(sp)
3e84: 4a62 lw s4,24(sp)
3e86: 4ad2 lw s5,20(sp)
3e88: 4b42 lw s6,16(sp)
3e8a: 4bb2 lw s7,12(sp)
3e8c: 6145 addi sp,sp,48
3e8e: 8082 ret
3e90: 0905 addi s2,s2,1
3e92: bfad j 3e0c <_printf_common+0x54>
3e94: 00d40733 add a4,s0,a3
3e98: 03000613 li a2,48
3e9c: 04c701a3 sb a2,67(a4)
3ea0: 04544703 lbu a4,69(s0)
3ea4: 00168793 addi a5,a3,1
3ea8: 97a2 add a5,a5,s0
3eaa: 0689 addi a3,a3,2
3eac: 04e781a3 sb a4,67(a5)
3eb0: bf9d j 3e26 <_printf_common+0x6e>
3eb2: 4685 li a3,1
3eb4: 8622 mv a2,s0
3eb6: 85d2 mv a1,s4
3eb8: 854e mv a0,s3
3eba: 9a82 jalr s5
3ebc: fb650ee3 beq a0,s6,3e78 <_printf_common+0xc0>
3ec0: 0905 addi s2,s2,1
3ec2: b745 j 3e62 <_printf_common+0xaa>
00003ec4 <_printf_i>:
3ec4: 7179 addi sp,sp,-48
3ec6: d422 sw s0,40(sp)
3ec8: d226 sw s1,36(sp)
3eca: d04a sw s2,32(sp)
3ecc: ce4e sw s3,28(sp)
3ece: d606 sw ra,44(sp)
3ed0: cc52 sw s4,24(sp)
3ed2: ca56 sw s5,20(sp)
3ed4: c85a sw s6,16(sp)
3ed6: 89b6 mv s3,a3
3ed8: 2d94 lbu a3,24(a1)
3eda: 06900793 li a5,105
3ede: 8932 mv s2,a2
3ee0: 84aa mv s1,a0
3ee2: 842e mv s0,a1
3ee4: 04358613 addi a2,a1,67
3ee8: 02f68d63 beq a3,a5,3f22 <_printf_i+0x5e>
3eec: 06d7e263 bltu a5,a3,3f50 <_printf_i+0x8c>
3ef0: 05800793 li a5,88
3ef4: 18f68663 beq a3,a5,4080 <_printf_i+0x1bc>
3ef8: 00d7ed63 bltu a5,a3,3f12 <_printf_i+0x4e>
3efc: 20068e63 beqz a3,4118 <_printf_i+0x254>
3f00: 04300793 li a5,67
3f04: 0af68e63 beq a3,a5,3fc0 <_printf_i+0xfc>
3f08: 04240a93 addi s5,s0,66
3f0c: 04d40123 sb a3,66(s0)
3f10: a0c9 j 3fd2 <_printf_i+0x10e>
3f12: 06300793 li a5,99
3f16: 0af68563 beq a3,a5,3fc0 <_printf_i+0xfc>
3f1a: 06400793 li a5,100
3f1e: fef695e3 bne a3,a5,3f08 <_printf_i+0x44>
3f22: 401c lw a5,0(s0)
3f24: 4308 lw a0,0(a4)
3f26: 0807f693 andi a3,a5,128
3f2a: 00450593 addi a1,a0,4
3f2e: c6c5 beqz a3,3fd6 <_printf_i+0x112>
3f30: 411c lw a5,0(a0)
3f32: c30c sw a1,0(a4)
3f34: 0007d863 bgez a5,3f44 <_printf_i+0x80>
3f38: 02d00713 li a4,45
3f3c: 40f007b3 neg a5,a5
3f40: 04e401a3 sb a4,67(s0)
3f44: 00001697 auipc a3,0x1
3f48: a6068693 addi a3,a3,-1440 # 49a4 <__sf_fake_stdout+0x34>
3f4c: 4729 li a4,10
3f4e: a865 j 4006 <_printf_i+0x142>
3f50: 07000793 li a5,112
3f54: 16f68263 beq a3,a5,40b8 <_printf_i+0x1f4>
3f58: 02d7e563 bltu a5,a3,3f82 <_printf_i+0xbe>
3f5c: 06e00793 li a5,110
3f60: 18f68963 beq a3,a5,40f2 <_printf_i+0x22e>
3f64: 06f00793 li a5,111
3f68: faf690e3 bne a3,a5,3f08 <_printf_i+0x44>
3f6c: 400c lw a1,0(s0)
3f6e: 431c lw a5,0(a4)
3f70: 0805f813 andi a6,a1,128
3f74: 00478513 addi a0,a5,4
3f78: 06080763 beqz a6,3fe6 <_printf_i+0x122>
3f7c: c308 sw a0,0(a4)
3f7e: 439c lw a5,0(a5)
3f80: a885 j 3ff0 <_printf_i+0x12c>
3f82: 07500793 li a5,117
3f86: fef683e3 beq a3,a5,3f6c <_printf_i+0xa8>
3f8a: 07800793 li a5,120
3f8e: 12f68963 beq a3,a5,40c0 <_printf_i+0x1fc>
3f92: 07300793 li a5,115
3f96: f6f699e3 bne a3,a5,3f08 <_printf_i+0x44>
3f9a: 431c lw a5,0(a4)
3f9c: 41d0 lw a2,4(a1)
3f9e: 4581 li a1,0
3fa0: 00478693 addi a3,a5,4
3fa4: c314 sw a3,0(a4)
3fa6: 0007aa83 lw s5,0(a5)
3faa: 8556 mv a0,s5
3fac: 268d jal 430e <memchr>
3fae: c501 beqz a0,3fb6 <_printf_i+0xf2>
3fb0: 41550533 sub a0,a0,s5
3fb4: c048 sw a0,4(s0)
3fb6: 405c lw a5,4(s0)
3fb8: c81c sw a5,16(s0)
3fba: 040401a3 sb zero,67(s0)
3fbe: a861 j 4056 <_printf_i+0x192>
3fc0: 431c lw a5,0(a4)
3fc2: 04240a93 addi s5,s0,66
3fc6: 00478693 addi a3,a5,4
3fca: 439c lw a5,0(a5)
3fcc: c314 sw a3,0(a4)
3fce: 04f40123 sb a5,66(s0)
3fd2: 4785 li a5,1
3fd4: b7d5 j 3fb8 <_printf_i+0xf4>
3fd6: 0407f693 andi a3,a5,64
3fda: 411c lw a5,0(a0)
3fdc: c30c sw a1,0(a4)
3fde: dab9 beqz a3,3f34 <_printf_i+0x70>
3fe0: 07c2 slli a5,a5,0x10
3fe2: 87c1 srai a5,a5,0x10
3fe4: bf81 j 3f34 <_printf_i+0x70>
3fe6: 0405f593 andi a1,a1,64
3fea: c308 sw a0,0(a4)
3fec: d9c9 beqz a1,3f7e <_printf_i+0xba>
3fee: 239e lhu a5,0(a5)
3ff0: 06f00713 li a4,111
3ff4: 0ee68763 beq a3,a4,40e2 <_printf_i+0x21e>
3ff8: 00001697 auipc a3,0x1
3ffc: 9ac68693 addi a3,a3,-1620 # 49a4 <__sf_fake_stdout+0x34>
4000: 4729 li a4,10
4002: 040401a3 sb zero,67(s0)
4006: 404c lw a1,4(s0)
4008: c40c sw a1,8(s0)
400a: 0005c563 bltz a1,4014 <_printf_i+0x150>
400e: 4008 lw a0,0(s0)
4010: 996d andi a0,a0,-5
4012: c008 sw a0,0(s0)
4014: e399 bnez a5,401a <_printf_i+0x156>
4016: 8ab2 mv s5,a2
4018: cd89 beqz a1,4032 <_printf_i+0x16e>
401a: 8ab2 mv s5,a2
401c: 02e7f5b3 remu a1,a5,a4
4020: 1afd addi s5,s5,-1
4022: 95b6 add a1,a1,a3
4024: 218c lbu a1,0(a1)
4026: 00ba8023 sb a1,0(s5)
402a: 02e7d5b3 divu a1,a5,a4
402e: 0ce7f063 bgeu a5,a4,40ee <_printf_i+0x22a>
4032: 47a1 li a5,8
4034: 00f71e63 bne a4,a5,4050 <_printf_i+0x18c>
4038: 401c lw a5,0(s0)
403a: 8b85 andi a5,a5,1
403c: cb91 beqz a5,4050 <_printf_i+0x18c>
403e: 4058 lw a4,4(s0)
4040: 481c lw a5,16(s0)
4042: 00e7c763 blt a5,a4,4050 <_printf_i+0x18c>
4046: 03000793 li a5,48
404a: fefa8fa3 sb a5,-1(s5)
404e: 1afd addi s5,s5,-1
4050: 41560633 sub a2,a2,s5
4054: c810 sw a2,16(s0)
4056: 874e mv a4,s3
4058: 86ca mv a3,s2
405a: 0070 addi a2,sp,12
405c: 85a2 mv a1,s0
405e: 8526 mv a0,s1
4060: d59ff0ef jal ra,3db8 <_printf_common>
4064: 5a7d li s4,-1
4066: 0b451d63 bne a0,s4,4120 <_printf_i+0x25c>
406a: 557d li a0,-1
406c: 50b2 lw ra,44(sp)
406e: 5422 lw s0,40(sp)
4070: 5492 lw s1,36(sp)
4072: 5902 lw s2,32(sp)
4074: 49f2 lw s3,28(sp)
4076: 4a62 lw s4,24(sp)
4078: 4ad2 lw s5,20(sp)
407a: 4b42 lw s6,16(sp)
407c: 6145 addi sp,sp,48
407e: 8082 ret
4080: 04d582a3 sb a3,69(a1)
4084: 00001697 auipc a3,0x1
4088: 92068693 addi a3,a3,-1760 # 49a4 <__sf_fake_stdout+0x34>
408c: 400c lw a1,0(s0)
408e: 4308 lw a0,0(a4)
4090: 0805f813 andi a6,a1,128
4094: 411c lw a5,0(a0)
4096: 0511 addi a0,a0,4
4098: 02080d63 beqz a6,40d2 <_printf_i+0x20e>
409c: c308 sw a0,0(a4)
409e: 0015f713 andi a4,a1,1
40a2: c701 beqz a4,40aa <_printf_i+0x1e6>
40a4: 0205e593 ori a1,a1,32
40a8: c00c sw a1,0(s0)
40aa: 4741 li a4,16
40ac: fbb9 bnez a5,4002 <_printf_i+0x13e>
40ae: 400c lw a1,0(s0)
40b0: fdf5f593 andi a1,a1,-33
40b4: c00c sw a1,0(s0)
40b6: b7b1 j 4002 <_printf_i+0x13e>
40b8: 419c lw a5,0(a1)
40ba: 0207e793 ori a5,a5,32
40be: c19c sw a5,0(a1)
40c0: 07800793 li a5,120
40c4: 04f402a3 sb a5,69(s0)
40c8: 00001697 auipc a3,0x1
40cc: 8f068693 addi a3,a3,-1808 # 49b8 <__sf_fake_stdout+0x48>
40d0: bf75 j 408c <_printf_i+0x1c8>
40d2: 0405f813 andi a6,a1,64
40d6: c308 sw a0,0(a4)
40d8: fc0803e3 beqz a6,409e <_printf_i+0x1da>
40dc: 07c2 slli a5,a5,0x10
40de: 83c1 srli a5,a5,0x10
40e0: bf7d j 409e <_printf_i+0x1da>
40e2: 00001697 auipc a3,0x1
40e6: 8c268693 addi a3,a3,-1854 # 49a4 <__sf_fake_stdout+0x34>
40ea: 4721 li a4,8
40ec: bf19 j 4002 <_printf_i+0x13e>
40ee: 87ae mv a5,a1
40f0: b735 j 401c <_printf_i+0x158>
40f2: 4194 lw a3,0(a1)
40f4: 431c lw a5,0(a4)
40f6: 49cc lw a1,20(a1)
40f8: 0806f813 andi a6,a3,128
40fc: 00478513 addi a0,a5,4
4100: 00080663 beqz a6,410c <_printf_i+0x248>
4104: c308 sw a0,0(a4)
4106: 439c lw a5,0(a5)
4108: c38c sw a1,0(a5)
410a: a039 j 4118 <_printf_i+0x254>
410c: c308 sw a0,0(a4)
410e: 0406f693 andi a3,a3,64
4112: 439c lw a5,0(a5)
4114: daf5 beqz a3,4108 <_printf_i+0x244>
4116: a38e sh a1,0(a5)
4118: 00042823 sw zero,16(s0)
411c: 8ab2 mv s5,a2
411e: bf25 j 4056 <_printf_i+0x192>
4120: 4814 lw a3,16(s0)
4122: 8656 mv a2,s5
4124: 85ca mv a1,s2
4126: 8526 mv a0,s1
4128: 9982 jalr s3
412a: f54500e3 beq a0,s4,406a <_printf_i+0x1a6>
412e: 401c lw a5,0(s0)
4130: 8b89 andi a5,a5,2
4132: e78d bnez a5,415c <_printf_i+0x298>
4134: 47b2 lw a5,12(sp)
4136: 4448 lw a0,12(s0)
4138: f2f55ae3 bge a0,a5,406c <_printf_i+0x1a8>
413c: 853e mv a0,a5
413e: b73d j 406c <_printf_i+0x1a8>
4140: 4685 li a3,1
4142: 8656 mv a2,s5
4144: 85ca mv a1,s2
4146: 8526 mv a0,s1
4148: 9982 jalr s3
414a: f36500e3 beq a0,s6,406a <_printf_i+0x1a6>
414e: 0a05 addi s4,s4,1
4150: 445c lw a5,12(s0)
4152: 4732 lw a4,12(sp)
4154: 8f99 sub a5,a5,a4
4156: fefa45e3 blt s4,a5,4140 <_printf_i+0x27c>
415a: bfe9 j 4134 <_printf_i+0x270>
415c: 4a01 li s4,0
415e: 01940a93 addi s5,s0,25
4162: 5b7d li s6,-1
4164: b7f5 j 4150 <_printf_i+0x28c>
00004166 <_sbrk_r>:
4166: 1141 addi sp,sp,-16
4168: c422 sw s0,8(sp)
416a: 842a mv s0,a0
416c: 852e mv a0,a1
416e: ac01aa23 sw zero,-1324(gp) # 20000424 <errno>
4172: c606 sw ra,12(sp)
4174: be9fd0ef jal ra,1d5c <_sbrk>
4178: 57fd li a5,-1
417a: 00f51763 bne a0,a5,4188 <_sbrk_r+0x22>
417e: ad418793 addi a5,gp,-1324 # 20000424 <errno>
4182: 439c lw a5,0(a5)
4184: c391 beqz a5,4188 <_sbrk_r+0x22>
4186: c01c sw a5,0(s0)
4188: 40b2 lw ra,12(sp)
418a: 4422 lw s0,8(sp)
418c: 0141 addi sp,sp,16
418e: 8082 ret
00004190 <__sread>:
4190: 1141 addi sp,sp,-16
4192: c422 sw s0,8(sp)
4194: 842e mv s0,a1
4196: 00e59583 lh a1,14(a1)
419a: c606 sw ra,12(sp)
419c: 2279 jal 432a <_read_r>
419e: 00054963 bltz a0,41b0 <__sread+0x20>
41a2: 487c lw a5,84(s0)
41a4: 97aa add a5,a5,a0
41a6: c87c sw a5,84(s0)
41a8: 40b2 lw ra,12(sp)
41aa: 4422 lw s0,8(sp)
41ac: 0141 addi sp,sp,16
41ae: 8082 ret
41b0: 245e lhu a5,12(s0)
41b2: 777d lui a4,0xfffff
41b4: 177d addi a4,a4,-1
41b6: 8ff9 and a5,a5,a4
41b8: a45e sh a5,12(s0)
41ba: b7fd j 41a8 <__sread+0x18>
000041bc <__swrite>:
41bc: 25de lhu a5,12(a1)
41be: 1101 addi sp,sp,-32
41c0: cc22 sw s0,24(sp)
41c2: ca26 sw s1,20(sp)
41c4: c84a sw s2,16(sp)
41c6: c64e sw s3,12(sp)
41c8: ce06 sw ra,28(sp)
41ca: 1007f793 andi a5,a5,256
41ce: 84aa mv s1,a0
41d0: 842e mv s0,a1
41d2: 8932 mv s2,a2
41d4: 89b6 mv s3,a3
41d6: c791 beqz a5,41e2 <__swrite+0x26>
41d8: 00e59583 lh a1,14(a1)
41dc: 4689 li a3,2
41de: 4601 li a2,0
41e0: 2209 jal 42e2 <_lseek_r>
41e2: 245e lhu a5,12(s0)
41e4: 777d lui a4,0xfffff
41e6: 177d addi a4,a4,-1
41e8: 8ff9 and a5,a5,a4
41ea: a45e sh a5,12(s0)
41ec: 00e41583 lh a1,14(s0)
41f0: 4462 lw s0,24(sp)
41f2: 40f2 lw ra,28(sp)
41f4: 86ce mv a3,s3
41f6: 864a mv a2,s2
41f8: 49b2 lw s3,12(sp)
41fa: 4942 lw s2,16(sp)
41fc: 8526 mv a0,s1
41fe: 44d2 lw s1,20(sp)
4200: 6105 addi sp,sp,32
4202: a825 j 423a <_write_r>
00004204 <__sseek>:
4204: 1141 addi sp,sp,-16
4206: c422 sw s0,8(sp)
4208: 842e mv s0,a1
420a: 00e59583 lh a1,14(a1)
420e: c606 sw ra,12(sp)
4210: 28c9 jal 42e2 <_lseek_r>
4212: 57fd li a5,-1
4214: 245a lhu a4,12(s0)
4216: 00f51a63 bne a0,a5,422a <__sseek+0x26>
421a: 77fd lui a5,0xfffff
421c: 17fd addi a5,a5,-1
421e: 8ff9 and a5,a5,a4
4220: a45e sh a5,12(s0)
4222: 40b2 lw ra,12(sp)
4224: 4422 lw s0,8(sp)
4226: 0141 addi sp,sp,16
4228: 8082 ret
422a: 6785 lui a5,0x1
422c: 8fd9 or a5,a5,a4
422e: a45e sh a5,12(s0)
4230: c868 sw a0,84(s0)
4232: bfc5 j 4222 <__sseek+0x1e>
00004234 <__sclose>:
4234: 00e59583 lh a1,14(a1)
4238: a805 j 4268 <_close_r>
0000423a <_write_r>:
423a: 1141 addi sp,sp,-16
423c: c422 sw s0,8(sp)
423e: 842a mv s0,a0
4240: 852e mv a0,a1
4242: 85b2 mv a1,a2
4244: 8636 mv a2,a3
4246: ac01aa23 sw zero,-1324(gp) # 20000424 <errno>
424a: c606 sw ra,12(sp)
424c: ad3fd0ef jal ra,1d1e <_write>
4250: 57fd li a5,-1
4252: 00f51763 bne a0,a5,4260 <_write_r+0x26>
4256: ad418793 addi a5,gp,-1324 # 20000424 <errno>
425a: 439c lw a5,0(a5)
425c: c391 beqz a5,4260 <_write_r+0x26>
425e: c01c sw a5,0(s0)
4260: 40b2 lw ra,12(sp)
4262: 4422 lw s0,8(sp)
4264: 0141 addi sp,sp,16
4266: 8082 ret
00004268 <_close_r>:
4268: 1141 addi sp,sp,-16
426a: c422 sw s0,8(sp)
426c: 842a mv s0,a0
426e: 852e mv a0,a1
4270: ac01aa23 sw zero,-1324(gp) # 20000424 <errno>
4274: c606 sw ra,12(sp)
4276: 20c5 jal 4356 <_close>
4278: 57fd li a5,-1
427a: 00f51763 bne a0,a5,4288 <_close_r+0x20>
427e: ad418793 addi a5,gp,-1324 # 20000424 <errno>
4282: 439c lw a5,0(a5)
4284: c391 beqz a5,4288 <_close_r+0x20>
4286: c01c sw a5,0(s0)
4288: 40b2 lw ra,12(sp)
428a: 4422 lw s0,8(sp)
428c: 0141 addi sp,sp,16
428e: 8082 ret
00004290 <_fstat_r>:
4290: 1141 addi sp,sp,-16
4292: c422 sw s0,8(sp)
4294: 842a mv s0,a0
4296: 852e mv a0,a1
4298: 85b2 mv a1,a2
429a: ac01aa23 sw zero,-1324(gp) # 20000424 <errno>
429e: c606 sw ra,12(sp)
42a0: 20c9 jal 4362 <_fstat>
42a2: 57fd li a5,-1
42a4: 00f51763 bne a0,a5,42b2 <_fstat_r+0x22>
42a8: ad418793 addi a5,gp,-1324 # 20000424 <errno>
42ac: 439c lw a5,0(a5)
42ae: c391 beqz a5,42b2 <_fstat_r+0x22>
42b0: c01c sw a5,0(s0)
42b2: 40b2 lw ra,12(sp)
42b4: 4422 lw s0,8(sp)
42b6: 0141 addi sp,sp,16
42b8: 8082 ret
000042ba <_isatty_r>:
42ba: 1141 addi sp,sp,-16
42bc: c422 sw s0,8(sp)
42be: 842a mv s0,a0
42c0: 852e mv a0,a1
42c2: ac01aa23 sw zero,-1324(gp) # 20000424 <errno>
42c6: c606 sw ra,12(sp)
42c8: 205d jal 436e <_isatty>
42ca: 57fd li a5,-1
42cc: 00f51763 bne a0,a5,42da <_isatty_r+0x20>
42d0: ad418793 addi a5,gp,-1324 # 20000424 <errno>
42d4: 439c lw a5,0(a5)
42d6: c391 beqz a5,42da <_isatty_r+0x20>
42d8: c01c sw a5,0(s0)
42da: 40b2 lw ra,12(sp)
42dc: 4422 lw s0,8(sp)
42de: 0141 addi sp,sp,16
42e0: 8082 ret
000042e2 <_lseek_r>:
42e2: 1141 addi sp,sp,-16
42e4: c422 sw s0,8(sp)
42e6: 842a mv s0,a0
42e8: 852e mv a0,a1
42ea: 85b2 mv a1,a2
42ec: 8636 mv a2,a3
42ee: ac01aa23 sw zero,-1324(gp) # 20000424 <errno>
42f2: c606 sw ra,12(sp)
42f4: 2059 jal 437a <_lseek>
42f6: 57fd li a5,-1
42f8: 00f51763 bne a0,a5,4306 <_lseek_r+0x24>
42fc: ad418793 addi a5,gp,-1324 # 20000424 <errno>
4300: 439c lw a5,0(a5)
4302: c391 beqz a5,4306 <_lseek_r+0x24>
4304: c01c sw a5,0(s0)
4306: 40b2 lw ra,12(sp)
4308: 4422 lw s0,8(sp)
430a: 0141 addi sp,sp,16
430c: 8082 ret
0000430e <memchr>:
430e: 0ff5f593 andi a1,a1,255
4312: 962a add a2,a2,a0
4314: 00c51463 bne a0,a2,431c <memchr+0xe>
4318: 4501 li a0,0
431a: 8082 ret
431c: 211c lbu a5,0(a0)
431e: feb78ee3 beq a5,a1,431a <memchr+0xc>
4322: 0505 addi a0,a0,1
4324: bfc5 j 4314 <memchr+0x6>
00004326 <__malloc_lock>:
4326: 8082 ret
00004328 <__malloc_unlock>:
4328: 8082 ret
0000432a <_read_r>:
432a: 1141 addi sp,sp,-16
432c: c422 sw s0,8(sp)
432e: 842a mv s0,a0
4330: 852e mv a0,a1
4332: 85b2 mv a1,a2
4334: 8636 mv a2,a3
4336: ac01aa23 sw zero,-1324(gp) # 20000424 <errno>
433a: c606 sw ra,12(sp)
433c: 20a9 jal 4386 <_read>
433e: 57fd li a5,-1
4340: 00f51763 bne a0,a5,434e <_read_r+0x24>
4344: ad418793 addi a5,gp,-1324 # 20000424 <errno>
4348: 439c lw a5,0(a5)
434a: c391 beqz a5,434e <_read_r+0x24>
434c: c01c sw a5,0(s0)
434e: 40b2 lw ra,12(sp)
4350: 4422 lw s0,8(sp)
4352: 0141 addi sp,sp,16
4354: 8082 ret
00004356 <_close>:
4356: 05800793 li a5,88
435a: acf1aa23 sw a5,-1324(gp) # 20000424 <errno>
435e: 557d li a0,-1
4360: 8082 ret
00004362 <_fstat>:
4362: 05800793 li a5,88
4366: acf1aa23 sw a5,-1324(gp) # 20000424 <errno>
436a: 557d li a0,-1
436c: 8082 ret
0000436e <_isatty>:
436e: 05800793 li a5,88
4372: acf1aa23 sw a5,-1324(gp) # 20000424 <errno>
4376: 4501 li a0,0
4378: 8082 ret
0000437a <_lseek>:
437a: 05800793 li a5,88
437e: acf1aa23 sw a5,-1324(gp) # 20000424 <errno>
4382: 557d li a0,-1
4384: 8082 ret
00004386 <_read>:
4386: 05800793 li a5,88
438a: acf1aa23 sw a5,-1324(gp) # 20000424 <errno>
438e: 557d li a0,-1
4390: 8082 ret
4392: 0000 unimp
4394: 74737953 0x74737953
4398: 6d65 lui s10,0x19
439a: 3a6b6c43 fmadd.d fs8,fs6,ft6,ft7,unknown
439e: 6425 lui s0,0x9
43a0: 0a0d addi s4,s4,3
43a2: 0000 unimp
43a4: 70696843 fmadd.s fa6,fs2,ft6,fa4,unknown
43a8: 4449 li s0,18
43aa: 253a lhu a4,10(a0)
43ac: 3830 lbu a2,19(s0)
43ae: 0d78 addi a4,sp,668
43b0: 000a c.slli zero,0x2
43b2: 0000 unimp
43b4: 696c6143 fmadd.s ft2,fs8,fs6,fa3,unknown
43b8: 7262 flw ft4,56(sp)
43ba: 7461 lui s0,0xffff8
43bc: 6974 flw fa3,84(a0)
43be: 565f6e6f jal t3,fb122 <_data_lma+0xf6756>
43c2: 6c61 lui s8,0x18
43c4: 3a20 lbu s0,19(a2)
43c6: 2520 lbu s0,10(a0)
43c8: 0a64 addi s1,sp,284
43ca: 0000 unimp
43cc: 7552 flw fa0,52(sp)
43ce: 206e lhu a1,6(s0)
43d0: 7461 lui s0,0xffff8
43d2: 4520 lw s0,72(a0)
43d4: 5458 lw a4,44(s0)
43d6: 0d49 addi s10,s10,18
43d8: 0000 unimp
43da: 0000 unimp
43dc: cccd beqz s1,4496 <_read+0x110>
43de: 3ecc lbu a1,29(a3)
43e0: 6666 flw fa2,88(sp)
43e2: 3f66 lhu s1,62(a4)
43e4: 0000 unimp
43e6: 43f0 lw a2,68(a5)
43e8: 999a add s3,s3,t1
43ea: 9999 andi a1,a1,-26
43ec: 9999 andi a1,a1,-26
43ee: 3fd9 jal 43c4 <_read+0x3e>
43f0: cccd beqz s1,44aa <_read+0x124>
43f2: cccc sw a1,28(s1)
43f4: cccc sw a1,28(s1)
43f6: 3fec lbu a1,31(a5)
43f8: 464e495b 0x464e495b
43fc: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
4400: 7325 lui t1,0xfffe9
4402: 253a lhu a4,10(a0)
4404: 5d64 lw s1,124(a0)
4406: 5220 lw s0,96(a2)
4408: 6765 lui a4,0x19
440a: 7369 lui t1,0xffffa
440c: 7274 flw fa3,100(a2)
440e: 7461 lui s0,0xffff8
4410: 6f69 lui t5,0x1a
4412: 206e lhu a1,6(s0)
4414: 63637573 csrrci a0,0x636,6
4418: 7365 lui t1,0xffff9
441a: 0a0d2073 csrs 0xa0,s10
441e: 0a0d addi s4,s4,3
4420: 0000 unimp
4422: 0000 unimp
4424: 5252455b 0x5252455b
4428: 205d524f fnmadd.s ft4,fs10,ft5,ft4,unknown
442c: 3a73255b 0x3a73255b
4430: 6425 lui s0,0x9
4432: 205d jal 44d8 <_read+0x152>
4434: 5220 lw s0,96(a2)
4436: 6765 lui a4,0x19
4438: 7369 lui t1,0xffffa
443a: 6574 flw fa3,76(a0)
443c: 5f72 lw t5,60(sp)
443e: 754e flw fa0,240(sp)
4440: 626d lui tp,0x1b
4442: 7265 lui tp,0xffff9
4444: 6520 flw fs0,72(a0)
4446: 7272 flw ft4,60(sp)
4448: 253a726f jal tp,abe9a <_data_lma+0xa74ce>
444c: 2078 lbu a4,6(s0)
444e: 0a0d addi s4,s4,3
4450: 0a0d addi s4,s4,3
4452: 0000 unimp
4454: 5252455b 0x5252455b
4458: 205d524f fnmadd.s ft4,fs10,ft5,ft4,unknown
445c: 3a73255b 0x3a73255b
4460: 6425 lui s0,0x9
4462: 205d jal 4508 <_read+0x182>
4464: 5220 lw s0,96(a2)
4466: 6765 lui a4,0x19
4468: 7369 lui t1,0xffffa
446a: 6574 flw fa3,76(a0)
446c: 5f72 lw t5,60(sp)
446e: 72617453 0x72617453
4472: 5f74 lw a3,124(a4)
4474: 6441 lui s0,0x10
4476: 7264 flw fs1,100(a2)
4478: 7365 lui t1,0xffff9
447a: 72652073 csrs 0x726,a0
447e: 6f72 flw ft10,28(sp)
4480: 2072 lhu a2,6(s0)
4482: 203a lhu a4,2(s0)
4484: 7825 lui a6,0xfffe9
4486: 0d20 addi s0,sp,664
4488: 0d0a slli s10,s10,0x2
448a: 000a c.slli zero,0x2
448c: 6e69 lui t3,0x1a
448e: 7720 flw fs0,104(a4)
4490: 6972 flw fs2,28(sp)
4492: 6574 flw fa3,76(a0)
4494: 7220 flw fs0,96(a2)
4496: 6765 lui a4,0x19
4498: 7369 lui t1,0xffffa
449a: 6574 flw fa3,76(a0)
449c: 2072 lhu a2,6(s0)
449e: 0000 unimp
44a0: 464e495b 0x464e495b
44a4: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
44a8: 7325 lui t1,0xfffe9
44aa: 253a lhu a4,10(a0)
44ac: 5d64 lw s1,124(a0)
44ae: 2020 lbu s0,2(s0)
44b0: 525f4c53 0x525f4c53
44b4: 6165 addi sp,sp,112
44b6: 5264 lw s1,100(a2)
44b8: 6765 lui a4,0x19
44ba: 7369 lui t1,0xffffa
44bc: 6574 flw fa3,76(a0)
44be: 4172 lw sp,28(sp)
44c0: 73656363 bltu a0,s6,4be6 <_data_lma+0x21a>
44c4: 646f4e73 0x646f4e73
44c8: 5465 li s0,-7
44ca: 7079 c.lui zero,0xffffe
44cc: 2065 jal 4574 <_read+0x1ee>
44ce: 0a0d addi s4,s4,3
44d0: 0000 unimp
44d2: 0000 unimp
44d4: 464e495b 0x464e495b
44d8: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
44dc: 7325 lui t1,0xfffe9
44de: 253a lhu a4,10(a0)
44e0: 5d64 lw s1,124(a0)
44e2: 2020 lbu s0,2(s0)
44e4: 525f4c53 0x525f4c53
44e8: 6165 addi sp,sp,112
44ea: 5264 lw s1,100(a2)
44ec: 6765 lui a4,0x19
44ee: 7369 lui t1,0xffffa
44f0: 6574 flw fa3,76(a0)
44f2: 4272 lw tp,28(sp)
44f4: 7461 lui s0,0xffff8
44f6: 6574 flw fa3,76(a0)
44f8: 7972 flw fs2,60(sp)
44fa: 6f56 flw ft10,84(sp)
44fc: 746c flw fa1,108(s0)
44fe: 6761 lui a4,0x18
4500: 2065 jal 45a8 <_read+0x222>
4502: 0a0d addi s4,s4,3
4504: 0000 unimp
4506: 0000 unimp
4508: 464e495b 0x464e495b
450c: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
4510: 7325 lui t1,0xfffe9
4512: 253a lhu a4,10(a0)
4514: 5d64 lw s1,124(a0)
4516: 2020 lbu s0,2(s0)
4518: 525f4c53 0x525f4c53
451c: 6165 addi sp,sp,112
451e: 5264 lw s1,100(a2)
4520: 6765 lui a4,0x19
4522: 7369 lui t1,0xffffa
4524: 6574 flw fa3,76(a0)
4526: 4272 lw tp,28(sp)
4528: 7461 lui s0,0xffff8
452a: 6574 flw fa3,76(a0)
452c: 7972 flw fs2,60(sp)
452e: 6574 flw fa3,76(a0)
4530: 706d c.lui zero,0xffffb
4532: 7265 lui tp,0xffff9
4534: 7461 lui s0,0xffff8
4536: 7275 lui tp,0xffffd
4538: 2065 jal 45e0 <_read+0x25a>
453a: 0a0d addi s4,s4,3
453c: 0000 unimp
453e: 0000 unimp
4540: 464e495b 0x464e495b
4544: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
4548: 7325 lui t1,0xfffe9
454a: 253a lhu a4,10(a0)
454c: 5d64 lw s1,124(a0)
454e: 2020 lbu s0,2(s0)
4550: 525f4c53 0x525f4c53
4554: 6165 addi sp,sp,112
4556: 5264 lw s1,100(a2)
4558: 6765 lui a4,0x19
455a: 7369 lui t1,0xffffa
455c: 6574 flw fa3,76(a0)
455e: 4372 lw t1,28(sp)
4560: 756d6d6f jal s10,dacb6 <_data_lma+0xd62ea>
4564: 696e flw fs2,216(sp)
4566: 69746163 bltu s0,s7,4be8 <_data_lma+0x21c>
456a: 654d6e6f jal t3,dabbe <_data_lma+0xd61f2>
456e: 6874 flw fa3,84(s0)
4570: 2073646f jal s0,3af76 <_data_lma+0x365aa>
4574: 0a0d addi s4,s4,3
4576: 0000 unimp
4578: 464e495b 0x464e495b
457c: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
4580: 7325 lui t1,0xfffe9
4582: 253a lhu a4,10(a0)
4584: 5d64 lw s1,124(a0)
4586: 2020 lbu s0,2(s0)
4588: 525f4c53 0x525f4c53
458c: 6165 addi sp,sp,112
458e: 5264 lw s1,100(a2)
4590: 6765 lui a4,0x19
4592: 7369 lui t1,0xffffa
4594: 6574 flw fa3,76(a0)
4596: 5272 lw tp,60(sp)
4598: 6765 lui a4,0x19
459a: 7369 lui t1,0xffffa
459c: 7274 flw fa3,100(a2)
459e: 7461 lui s0,0xffff8
45a0: 6f69 lui t5,0x1a
45a2: 536e lw t1,248(sp)
45a4: 6174 flw fa3,68(a0)
45a6: 7574 flw fa3,108(a0)
45a8: 0a0d2073 csrs 0xa0,s10
45ac: 0000 unimp
45ae: 0000 unimp
45b0: 464e495b 0x464e495b
45b4: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
45b8: 7325 lui t1,0xfffe9
45ba: 253a lhu a4,10(a0)
45bc: 5d64 lw s1,124(a0)
45be: 2020 lbu s0,2(s0)
45c0: 525f4c53 0x525f4c53
45c4: 6165 addi sp,sp,112
45c6: 5264 lw s1,100(a2)
45c8: 6765 lui a4,0x19
45ca: 7369 lui t1,0xffffa
45cc: 6574 flw fa3,76(a0)
45ce: 5272 lw tp,60(sp)
45d0: 6d65 lui s10,0x19
45d2: 6961 lui s2,0x18
45d4: 696e flw fs2,216(sp)
45d6: 676e flw fa4,216(sp)
45d8: 6142 flw ft2,16(sp)
45da: 7474 flw fa3,108(s0)
45dc: 7265 lui tp,0xffff9
45de: 4279 li tp,30
45e0: 7265776f jal a4,5bd06 <_data_lma+0x5733a>
45e4: 0d20 addi s0,sp,664
45e6: 000a c.slli zero,0x2
45e8: 464e495b 0x464e495b
45ec: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
45f0: 7325 lui t1,0xfffe9
45f2: 253a lhu a4,10(a0)
45f4: 5d64 lw s1,124(a0)
45f6: 2020 lbu s0,2(s0)
45f8: 525f4c53 0x525f4c53
45fc: 6165 addi sp,sp,112
45fe: 5264 lw s1,100(a2)
4600: 6765 lui a4,0x19
4602: 7369 lui t1,0xffffa
4604: 6574 flw fa3,76(a0)
4606: 5372 lw t1,60(sp)
4608: 72616c6f jal s8,1ad2e <_data_lma+0x16362>
460c: 6e65704f fnmadd.q ft0,fa0,ft6,fa3
4610: 63726943 fmadd.d fs2,ft4,fs7,fa2,unknown
4614: 6975 lui s2,0x1d
4616: 5674 lw a3,108(a2)
4618: 61746c6f jal s8,4b42e <_data_lma+0x46a62>
461c: 20316567 0x20316567
4620: 0a0d addi s4,s4,3
4622: 0000 unimp
4624: 464e495b 0x464e495b
4628: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
462c: 7325 lui t1,0xfffe9
462e: 253a lhu a4,10(a0)
4630: 5d64 lw s1,124(a0)
4632: 2020 lbu s0,2(s0)
4634: 525f4c53 0x525f4c53
4638: 6165 addi sp,sp,112
463a: 5264 lw s1,100(a2)
463c: 6765 lui a4,0x19
463e: 7369 lui t1,0xffffa
4640: 6574 flw fa3,76(a0)
4642: 5372 lw t1,60(sp)
4644: 72616c6f jal s8,1ad6a <_data_lma+0x1639e>
4648: 6e65704f fnmadd.q ft0,fa0,ft6,fa3
464c: 63726943 fmadd.d fs2,ft4,fs7,fa2,unknown
4650: 6975 lui s2,0x1d
4652: 5674 lw a3,108(a2)
4654: 61746c6f jal s8,4b46a <_data_lma+0x46a9e>
4658: 20326567 0x20326567
465c: 0a0d addi s4,s4,3
465e: 0000 unimp
4660: 464e495b 0x464e495b
4664: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
4668: 7325 lui t1,0xfffe9
466a: 253a lhu a4,10(a0)
466c: 5d64 lw s1,124(a0)
466e: 2020 lbu s0,2(s0)
4670: 525f4c53 0x525f4c53
4674: 6165 addi sp,sp,112
4676: 5264 lw s1,100(a2)
4678: 6765 lui a4,0x19
467a: 7369 lui t1,0xffffa
467c: 6574 flw fa3,76(a0)
467e: 6172 flw ft2,28(sp)
4680: 6464 flw fs1,76(s0)
4682: 6572 flw fa0,28(sp)
4684: 0d207373 csrrci t1,0xd2,0
4688: 000a c.slli zero,0x2
468a: 0000 unimp
468c: 464e495b 0x464e495b
4690: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
4694: 7325 lui t1,0xfffe9
4696: 253a lhu a4,10(a0)
4698: 5d64 lw s1,124(a0)
469a: 4d20 lw s0,88(a0)
469c: 7461 lui s0,0xffff8
469e: 535f6863 bltu t5,s5,4bce <_data_lma+0x202>
46a2: 6174 flw fa3,68(a0)
46a4: 7472 flw fs0,60(sp)
46a6: 6c66 flw fs8,88(sp)
46a8: 6761 lui a4,0x18
46aa: 7320 flw fs0,96(a4)
46ac: 6375 lui t1,0x1d
46ae: 73736563 bltu t1,s7,4dd8 <_data_lma+0x40c>
46b2: 0d20 addi s0,sp,664
46b4: 0d0a slli s10,s10,0x2
46b6: 000a c.slli zero,0x2
46b8: 464e495b 0x464e495b
46bc: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
46c0: 7325 lui t1,0xfffe9
46c2: 253a lhu a4,10(a0)
46c4: 5d64 lw s1,124(a0)
46c6: 4d20 lw s0,88(a0)
46c8: 7461 lui s0,0xffff8
46ca: 615f6863 bltu t5,s5,4cda <_data_lma+0x30e>
46ce: 6464 flw fs1,76(s0)
46d0: 6572 flw fa0,28(sp)
46d2: 73207373 csrrci t1,0x732,0
46d6: 6375 lui t1,0x1d
46d8: 73736563 bltu t1,s7,4e02 <_data_lma+0x436>
46dc: 0d20 addi s0,sp,664
46de: 0d0a slli s10,s10,0x2
46e0: 000a c.slli zero,0x2
46e2: 0000 unimp
46e4: 464e495b 0x464e495b
46e8: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
46ec: 7325 lui t1,0xfffe9
46ee: 253a lhu a4,10(a0)
46f0: 5d64 lw s1,124(a0)
46f2: 4d20 lw s0,88(a0)
46f4: 7461 lui s0,0xffff8
46f6: 425f6863 bltu t5,t0,4b26 <_data_lma+0x15a>
46fa: 6f72 flw ft10,28(sp)
46fc: 6461 lui s0,0x18
46fe: 74736163 bltu t1,t2,4e40 <_data_lma+0x474>
4702: 6461 lui s0,0x18
4704: 7264 flw fs1,100(a2)
4706: 7365 lui t1,0xffff9
4708: 75732073 csrs 0x757,t1
470c: 73656363 bltu a0,s6,4e32 <_data_lma+0x466>
4710: 0d0a0d73 0xd0a0d73
4714: 000a c.slli zero,0x2
4716: 0000 unimp
4718: 464e495b 0x464e495b
471c: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
4720: 7325 lui t1,0xfffe9
4722: 253a lhu a4,10(a0)
4724: 5d64 lw s1,124(a0)
4726: 5220 lw s0,96(a2)
4728: 6165 addi sp,sp,112
472a: 5f64 lw s1,124(a4)
472c: 6552 flw fa0,20(sp)
472e: 74736967 0x74736967
4732: 7265 lui tp,0xffff9
4734: 0a0d addi s4,s4,3
4736: 0a0d addi s4,s4,3
4738: 0000 unimp
473a: 0000 unimp
473c: 464e495b 0x464e495b
4740: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
4744: 7325 lui t1,0xfffe9
4746: 253a lhu a4,10(a0)
4748: 5d64 lw s1,124(a0)
474a: 5720 lw s0,104(a4)
474c: 6972 flw fs2,28(sp)
474e: 6574 flw fa3,76(a0)
4750: 525f 6765 7369 0x73696765525f
4756: 6574 flw fa3,76(a0)
4758: 0d72 slli s10,s10,0x1c
475a: 0d0a slli s10,s10,0x2
475c: 000a c.slli zero,0x2
475e: 0000 unimp
4760: 464e495b 0x464e495b
4764: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
4768: 7325 lui t1,0xfffe9
476a: 253a lhu a4,10(a0)
476c: 5d64 lw s1,124(a0)
476e: 4f20 lw s0,88(a4)
4770: 6874 flw fa3,84(s0)
4772: 7265 lui tp,0xffff9
4774: 6620 flw fs0,72(a2)
4776: 6172 flw ft2,28(sp)
4778: 656d lui a0,0x1b
477a: 0d0a0d73 0xd0a0d73
477e: 000a c.slli zero,0x2
4780: 464e495b 0x464e495b
4784: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
4788: 7325 lui t1,0xfffe9
478a: 253a lhu a4,10(a0)
478c: 5d64 lw s1,124(a0)
478e: 4220 lw s0,64(a2)
4790: 6f72 flw ft10,28(sp)
4792: 6461 lui s0,0x18
4794: 74736163 bltu t1,t2,4ed6 <_data_lma+0x50a>
4798: 535f 6163 0d6e 0xd6e6163535f
479e: 0d0a slli s10,s10,0x2
47a0: 000a c.slli zero,0x2
47a2: 0000 unimp
47a4: 464e495b 0x464e495b
47a8: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
47ac: 7325 lui t1,0xfffe9
47ae: 253a lhu a4,10(a0)
47b0: 5d64 lw s1,124(a0)
47b2: 5220 lw s0,96(a2)
47b4: 6765 lui a4,0x19
47b6: 7369 lui t1,0xffffa
47b8: 7274 flw fa3,100(a2)
47ba: 7461 lui s0,0xffff8
47bc: 6f69 lui t5,0x1a
47be: 5f6e lw t5,248(sp)
47c0: 6572 flw fa0,28(sp)
47c2: 7571 lui a0,0xffffc
47c4: 7365 lui t1,0xffff9
47c6: 0d74 addi a3,sp,668
47c8: 0d0a slli s10,s10,0x2
47ca: 000a c.slli zero,0x2
47cc: 464e495b 0x464e495b
47d0: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
47d4: 7325 lui t1,0xfffe9
47d6: 253a lhu a4,10(a0)
47d8: 5d64 lw s1,124(a0)
47da: 6620 flw fs0,72(a2)
47dc: 6e75 lui t3,0x1d
47de: 65646f63 bltu s0,s6,4e3c <_data_lma+0x470>
47e2: 6520 flw fs0,72(a0)
47e4: 7272 flw ft4,60(sp)
47e6: 2520726f jal tp,ba38 <_data_lma+0x706c>
47ea: 0d78 addi a4,sp,668
47ec: 0d0a slli s10,s10,0x2
47ee: 000a c.slli zero,0x2
47f0: e5c0 fsw fs0,12(a1)
47f2: ffff 0xffff
47f4: e512 fsw ft4,136(sp)
47f6: ffff 0xffff
47f8: e512 fsw ft4,136(sp)
47fa: ffff 0xffff
47fc: e510 fsw fa2,8(a0)
47fe: ffff 0xffff
4800: e516 fsw ft5,136(sp)
4802: ffff 0xffff
4804: e516 fsw ft5,136(sp)
4806: ffff 0xffff
4808: e4e6 fsw fs9,72(sp)
480a: ffff 0xffff
480c: e510 fsw fa2,8(a0)
480e: ffff 0xffff
4810: e516 fsw ft5,136(sp)
4812: ffff 0xffff
4814: e4e6 fsw fs9,72(sp)
4816: ffff 0xffff
4818: e516 fsw ft5,136(sp)
481a: ffff 0xffff
481c: e510 fsw fa2,8(a0)
481e: ffff 0xffff
4820: e5ae fsw fa1,200(sp)
4822: ffff 0xffff
4824: e5ae fsw fa1,200(sp)
4826: ffff 0xffff
4828: e5ae fsw fa1,200(sp)
482a: ffff 0xffff
482c: e4e6 fsw fs9,72(sp)
482e: ffff 0xffff
00004830 <__clz_tab>:
4830: 0100 0202 0303 0303 0404 0404 0404 0404 ................
4840: 0505 0505 0505 0505 0505 0505 0505 0505 ................
4850: 0606 0606 0606 0606 0606 0606 0606 0606 ................
4860: 0606 0606 0606 0606 0606 0606 0606 0606 ................
4870: 0707 0707 0707 0707 0707 0707 0707 0707 ................
4880: 0707 0707 0707 0707 0707 0707 0707 0707 ................
4890: 0707 0707 0707 0707 0707 0707 0707 0707 ................
48a0: 0707 0707 0707 0707 0707 0707 0707 0707 ................
48b0: 0808 0808 0808 0808 0808 0808 0808 0808 ................
48c0: 0808 0808 0808 0808 0808 0808 0808 0808 ................
48d0: 0808 0808 0808 0808 0808 0808 0808 0808 ................
48e0: 0808 0808 0808 0808 0808 0808 0808 0808 ................
48f0: 0808 0808 0808 0808 0808 0808 0808 0808 ................
4900: 0808 0808 0808 0808 0808 0808 0808 0808 ................
4910: 0808 0808 0808 0808 0808 0808 0808 0808 ................
4920: 0808 0808 0808 0808 0808 0808 0808 0808 ................
00004930 <__sf_fake_stderr>:
...
00004950 <__sf_fake_stdin>:
...
00004970 <__sf_fake_stdout>:
...
4990: 2d23 2b30 0020 0000 6c68 004c 6665 4567 #-0+ ...hlL.efgE
49a0: 4746 0000 3130 3332 3534 3736 3938 4241 FG..0123456789AB
49b0: 4443 4645 0000 0000 3130 3332 3534 3736 CDEF....01234567
49c0: 3938 6261 6463 6665 0000 0000 89abcdef....