From 671f674bccb515d28dd7076f273c7afddcc64f2f Mon Sep 17 00:00:00 2001 From: MaD_CaT Date: Mon, 16 Sep 2024 08:50:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BA=D0=BE=D0=BC=D0=B0=D0=BD=D0=B4=D1=8B=20?= =?UTF-8?q?=D1=87=D1=82=D0=B5=D0=BD=D0=B8=D1=8F/=D0=B7=D0=B0=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D0=B8=20Flash=20=D0=BF=D0=B0=D0=BC=D1=8F=D1=82=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Core/Inc/FLASH_SECTOR_F4.h | 33 + Core/Inc/main.h | 1 + Core/Src/FLASH_SECTOR_F4.c | 277 + Core/Src/main.c | 94 +- Debug/Core/Src/subdir.mk | 5 +- Debug/objects.list | 1 + Debug/yau-07b.list | 75595 ++++++++-------- LWIP/App/lwip.c | 1 + Release/Core/Src/subdir.mk | 14 +- Release/Core/Startup/subdir.mk | 2 +- .../Drivers/BSP/Components/dp83848/subdir.mk | 8 +- .../STM32F4xx_HAL_Driver/Src/subdir.mk | 8 +- Release/LWIP/App/subdir.mk | 8 +- Release/LWIP/Target/subdir.mk | 8 +- .../Third_Party/LwIP/src/api/subdir.mk | 8 +- .../Third_Party/LwIP/src/apps/mqtt/subdir.mk | 8 +- .../Third_Party/LwIP/src/core/ipv4/subdir.mk | 8 +- .../Third_Party/LwIP/src/core/ipv6/subdir.mk | 8 +- .../Third_Party/LwIP/src/core/subdir.mk | 8 +- .../Third_Party/LwIP/src/netif/ppp/subdir.mk | 8 +- .../Third_Party/LwIP/src/netif/subdir.mk | 8 +- Release/makefile | 2 +- Release/objects.list | 2 + Release/objects.mk | 2 +- Release/sources.mk | 3 +- Release/yau-07b.list | 34268 +++---- yau-07b Debug.launch | 1 + yau-07b Release.launch | 97 + 28 files changed, 56943 insertions(+), 53543 deletions(-) create mode 100644 Core/Inc/FLASH_SECTOR_F4.h create mode 100644 Core/Src/FLASH_SECTOR_F4.c create mode 100644 yau-07b Release.launch diff --git a/Core/Inc/FLASH_SECTOR_F4.h b/Core/Inc/FLASH_SECTOR_F4.h new file mode 100644 index 0000000..9b715c8 --- /dev/null +++ b/Core/Inc/FLASH_SECTOR_F4.h @@ -0,0 +1,33 @@ +/** + *************************************************************************************************************** + *************************************************************************************************************** + *************************************************************************************************************** + File: FLASH_SECTOR_H7.c + Modifier: ControllersTech.com + Updated: 27th MAY 2021 + *************************************************************************************************************** + Copyright (C) 2017 ControllersTech.com + This is a free software under the GNU license, you can redistribute it and/or modify it under the terms + of the GNU General Public License version 3 as published by the Free Software Foundation. + This software library is shared with public for educational purposes, without WARRANTY and Author is not liable for any damages caused directly + or indirectly by this software, read more about this on the GNU General Public License. + *************************************************************************************************************** +*/ + +#ifndef INC_FLASH_SECTOR_F4_H_ +#define INC_FLASH_SECTOR_F4_H_ + +#include "stdint.h" + +uint32_t Flash_Write_Data (uint32_t StartSectorAddress, uint32_t *Data, uint16_t numberofwords); + +void Flash_Read_Data (uint32_t StartSectorAddress, uint32_t *RxBuf, uint16_t numberofwords); + +void Convert_To_Str (uint32_t *Data, char *Buf); + +void Flash_Write_NUM (uint32_t StartSectorAddress, float Num); + +float Flash_Read_NUM (uint32_t StartSectorAddress); + + +#endif /* INC_FLASH_SECTOR_F4_H_ */ diff --git a/Core/Inc/main.h b/Core/Inc/main.h index 8328551..d91cf41 100644 --- a/Core/Inc/main.h +++ b/Core/Inc/main.h @@ -80,6 +80,7 @@ void Error_Handler(void); /* USER CODE BEGIN Private defines */ #define ISA_BASE_RD 0x60000000U #define ISA_BASE_WR 0x60400000U +#define FLASH_BASE_WR 0x08060000U /* USER CODE END Private defines */ #ifdef __cplusplus diff --git a/Core/Src/FLASH_SECTOR_F4.c b/Core/Src/FLASH_SECTOR_F4.c new file mode 100644 index 0000000..c34a527 --- /dev/null +++ b/Core/Src/FLASH_SECTOR_F4.c @@ -0,0 +1,277 @@ + +/** + *************************************************************************************************************** + *************************************************************************************************************** + *************************************************************************************************************** + File: FLASH_SECTOR_F4.c + Modifier: ControllersTech.com + Updated: 27th MAY 2021 + *************************************************************************************************************** + Copyright (C) 2017 ControllersTech.com + This is a free software under the GNU license, you can redistribute it and/or modify it under the terms + of the GNU General Public License version 3 as published by the Free Software Foundation. + This software library is shared with public for educational purposes, without WARRANTY and Author is not liable for any damages caused directly + or indirectly by this software, read more about this on the GNU General Public License. + *************************************************************************************************************** +*/ + + +#include "FLASH_SECTOR_F4.h" +#include "stm32f4xx_hal.h" +#include "string.h" +#include "stdio.h" + + + + + +/* DEFINE the SECTORS according to your reference manual + * STM32F446RE have:- + * Sector 0 to Sector 3 each 16KB + * Sector 4 as 64KB + * Sector 5 to Sector 7 each 128KB + */ + +static uint32_t GetSector(uint32_t Address) +{ + uint32_t sector = 0; + + if((Address < 0x08003FFF) && (Address >= 0x08000000)) + { + sector = FLASH_SECTOR_0; + } + else if((Address < 0x08007FFF) && (Address >= 0x08004000)) + { + sector = FLASH_SECTOR_1; + } + else if((Address < 0x0800BFFF) && (Address >= 0x08008000)) + { + sector = FLASH_SECTOR_2; + } + else if((Address < 0x0800FFFF) && (Address >= 0x0800C000)) + { + sector = FLASH_SECTOR_3; + } + else if((Address < 0x0801FFFF) && (Address >= 0x08010000)) + { + sector = FLASH_SECTOR_4; + } + else if((Address < 0x0803FFFF) && (Address >= 0x08020000)) + { + sector = FLASH_SECTOR_5; + } + else if((Address < 0x0805FFFF) && (Address >= 0x08040000)) + { + sector = FLASH_SECTOR_6; + } + else if((Address < 0x0807FFFF) && (Address >= 0x08060000)) + { + sector = FLASH_SECTOR_7; + } +/* else if((Address < 0x0809FFFF) && (Address >= 0x08080000)) + { + sector = FLASH_SECTOR_8; + } + else if((Address < 0x080BFFFF) && (Address >= 0x080A0000)) + { + sector = FLASH_SECTOR_9; + } + else if((Address < 0x080DFFFF) && (Address >= 0x080C0000)) + { + sector = FLASH_SECTOR_10; + } + else if((Address < 0x080FFFFF) && (Address >= 0x080E0000)) + { + sector = FLASH_SECTOR_11; + } + else if((Address < 0x08103FFF) && (Address >= 0x08100000)) + { + sector = FLASH_SECTOR_12; + } + else if((Address < 0x08107FFF) && (Address >= 0x08104000)) + { + sector = FLASH_SECTOR_13; + } + else if((Address < 0x0810BFFF) && (Address >= 0x08108000)) + { + sector = FLASH_SECTOR_14; + } + else if((Address < 0x0810FFFF) && (Address >= 0x0810C000)) + { + sector = FLASH_SECTOR_15; + } + else if((Address < 0x0811FFFF) && (Address >= 0x08110000)) + { + sector = FLASH_SECTOR_16; + } + else if((Address < 0x0813FFFF) && (Address >= 0x08120000)) + { + sector = FLASH_SECTOR_17; + } + else if((Address < 0x0815FFFF) && (Address >= 0x08140000)) + { + sector = FLASH_SECTOR_18; + } + else if((Address < 0x0817FFFF) && (Address >= 0x08160000)) + { + sector = FLASH_SECTOR_19; + } + else if((Address < 0x0819FFFF) && (Address >= 0x08180000)) + { + sector = FLASH_SECTOR_20; + } + else if((Address < 0x081BFFFF) && (Address >= 0x081A0000)) + { + sector = FLASH_SECTOR_21; + } + else if((Address < 0x081DFFFF) && (Address >= 0x081C0000)) + { + sector = FLASH_SECTOR_22; + } + else if (Address < 0x081FFFFF) && (Address >= 0x081E0000) + { + sector = FLASH_SECTOR_23; + }*/ + return sector; +} + + + + + + + +uint8_t bytes_temp[4]; + + +void float2Bytes(uint8_t * ftoa_bytes_temp,float float_variable) +{ + union { + float a; + uint8_t bytes[4]; + } thing; + + thing.a = float_variable; + + for (uint8_t i = 0; i < 4; i++) { + ftoa_bytes_temp[i] = thing.bytes[i]; + } + +} + +float Bytes2float(uint8_t * ftoa_bytes_temp) +{ + union { + float a; + uint8_t bytes[4]; + } thing; + + for (uint8_t i = 0; i < 4; i++) { + thing.bytes[i] = ftoa_bytes_temp[i]; + } + + float float_variable = thing.a; + return float_variable; +} + + +uint32_t Flash_Write_Data (uint32_t StartSectorAddress, uint32_t *Data, uint16_t numberofwords) +{ + + static FLASH_EraseInitTypeDef EraseInitStruct; + uint32_t SECTORError; + int sofar=0; + + + /* Unlock the Flash to enable the flash control register access *************/ + HAL_FLASH_Unlock(); + + /* Erase the user Flash area */ + + /* Get the number of sector to erase from 1st sector */ + + uint32_t StartSector = GetSector(StartSectorAddress); + uint32_t EndSectorAddress = StartSectorAddress + numberofwords*4; + uint32_t EndSector = GetSector(EndSectorAddress); + + /* Fill EraseInit structure*/ + EraseInitStruct.TypeErase = FLASH_TYPEERASE_SECTORS; + EraseInitStruct.VoltageRange = FLASH_VOLTAGE_RANGE_3; + EraseInitStruct.Sector = StartSector; + EraseInitStruct.NbSectors = (EndSector - StartSector) + 1; + + /* Note: If an erase operation in Flash memory also concerns data in the data or instruction cache, + you have to make sure that these data are rewritten before they are accessed during code + execution. If this cannot be done safely, it is recommended to flush the caches by setting the + DCRST and ICRST bits in the FLASH_CR register. */ + if (HAL_FLASHEx_Erase(&EraseInitStruct, &SECTORError) != HAL_OK) + { + return HAL_FLASH_GetError (); + } + + /* Program the user Flash area word by word + (area defined by FLASH_USER_START_ADDR and FLASH_USER_END_ADDR) ***********/ + + while (sofar>(8*(i%4)); + } +} + + +void Flash_Write_NUM (uint32_t StartSectorAddress, float Num) +{ + + float2Bytes(bytes_temp, Num); + + Flash_Write_Data (StartSectorAddress, (uint32_t *)bytes_temp, 1); +} + + +float Flash_Read_NUM (uint32_t StartSectorAddress) +{ + uint8_t buffer[4]; + float value; + + Flash_Read_Data(StartSectorAddress, (uint32_t *)buffer, 1); + value = Bytes2float(buffer); + return value; +} diff --git a/Core/Src/main.c b/Core/Src/main.c index 5159d21..2efa8f3 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -25,6 +25,8 @@ /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ #include "pribors.h" +#include + /* USER CODE END Includes */ /* Private typedef -----------------------------------------------------------*/ @@ -103,6 +105,7 @@ int main(void) /* Initialize all configured peripherals */ MX_GPIO_Init(); + HAL_Delay(100); MX_LWIP_Init(); MX_FMC_Init(); MX_TIM3_Init(); @@ -141,12 +144,12 @@ int main(void) br_counter = 0; } + if (rx_msg.con_timeout > 1999) { rx_msg.clnt_con = 0; } - //HAL_Delay(100); - //read_isa(0x4); + } /* USER CODE END WHILE */ } @@ -277,14 +280,14 @@ static void MX_FMC_Init(void) hsram1.Init.ContinuousClock = FMC_CONTINUOUS_CLOCK_SYNC_ONLY; hsram1.Init.PageSize = FMC_PAGE_SIZE_NONE; /* Timing */ - Timing.AddressSetupTime = 15; - Timing.AddressHoldTime = 15; - Timing.DataSetupTime = 255; - Timing.BusTurnAroundDuration = 15; - Timing.CLKDivision = 16; - Timing.DataLatency = 17; + Timing.AddressSetupTime = 10; + Timing.AddressHoldTime = 10; + Timing.DataSetupTime = 15; + Timing.BusTurnAroundDuration = 10; + Timing.CLKDivision = 10; + Timing.DataLatency = 10; Timing.AccessMode = FMC_ACCESS_MODE_A; - /* ExtTiming */ + if (HAL_SRAM_Init(&hsram1, &Timing, NULL) != HAL_OK) { @@ -413,6 +416,7 @@ void udp_echo_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, void rcv_command(void) { uint16_t ports_amount = 0; + uint16_t bytes_amount = 0; uint16_t i = 0; rx_msg.cmd_num = rx_msg.rx_buf[2] | (rx_msg.rx_buf[3] << 8); rx_msg.cmd_code = rx_msg.rx_buf[6]; @@ -510,6 +514,76 @@ void rcv_command(void) tx_msg.cmd_len = (ports_amount << 2) + 3; } break; + case 55: + //----------------------------------------------------------- + // КОМАНДА №55 + // ЗАПИСЬ МАССИВА В FLASH + //----------------------------------------------------------- + + cmd_buf[0] = rx_msg.cmd_code; // - код команды + bytes_amount = rx_msg.rx_buf[9] + (rx_msg.rx_buf[10] << 8); + + // Проверка размера принятого буфера + if( rx_msg.length < (10 + bytes_amount)) + { + // Размер принятого пакета меньше чем долно быть + // Установить ошибку + // КОД = 2 + cmd_buf[1] = ERR_SIZE; + + // Установить размер буфера = 2 + tx_msg.cmd_len = 2; + + } + else + { + // Установить ВЫПОЛНЕНО + cmd_buf[1] = NO_ERROR; + + uint16_t flash_addr = rx_msg.rx_buf[7] + (rx_msg.rx_buf[8] << 8); + uint16_t numofwords = (bytes_amount/4)+((bytes_amount%4)!=0); + Flash_Write_Data(FLASH_BASE_WR + flash_addr, (uint32_t *)&rx_msg.rx_buf[11], numofwords); + // Установить размер буфера + tx_msg.cmd_len = 2; + } + break; + case 51: + //----------------------------------------------------------- + // КОМАНДА №51 + // ЧТЕНИЕ МАССИВА ИЗ FLASH + //----------------------------------------------------------- + + cmd_buf[0] = rx_msg.cmd_code; // - код команды + bytes_amount = rx_msg.rx_buf[9] + (rx_msg.rx_buf[10] << 8); + + // Проверка размера принятого буфера + if( rx_msg.length < (8)) + { + // Размер принятого пакета меньше чем долно быть + // Установить ошибку + // КОД = 2 + cmd_buf[1] = ERR_SIZE; + + // Установить размер буфера = 2 + tx_msg.cmd_len = 2; + + } + else + { + // Установить ВЫПОЛНЕНО + cmd_buf[1] = NO_ERROR; + // Колличество записаных байт + cmd_buf[2] = rx_msg.rx_buf[7]; + cmd_buf[3] = rx_msg.rx_buf[8] << 8; + cmd_buf[4] = rx_msg.rx_buf[9]; + cmd_buf[5] = rx_msg.rx_buf[10] << 8; + uint16_t flash_addr = rx_msg.rx_buf[7] + (rx_msg.rx_buf[8] << 8); + uint16_t numofwords = (bytes_amount/4)+((bytes_amount%4)!=0); + Flash_Read_Data(FLASH_BASE_WR + flash_addr, (uint32_t *)&cmd_buf[6], numofwords); + // Установить размер буфера + tx_msg.cmd_len = 6 + bytes_amount; + } + break; } need_send_private = 1; @@ -525,6 +599,8 @@ void write_isa(uint16_t addr, uint16_t data) { *(uint16_t*)(ISA_BASE_WR + (addr << 1)) = data; } + + /* USER CODE END 4 */ /** diff --git a/Debug/Core/Src/subdir.mk b/Debug/Core/Src/subdir.mk index 8a955b6..45cfbc8 100644 --- a/Debug/Core/Src/subdir.mk +++ b/Debug/Core/Src/subdir.mk @@ -5,6 +5,7 @@ # Add inputs and outputs from these tool invocations to the build variables C_SRCS += \ +../Core/Src/FLASH_SECTOR_F4.c \ ../Core/Src/main.c \ ../Core/Src/pribors.c \ ../Core/Src/stm32f4xx_hal_msp.c \ @@ -12,6 +13,7 @@ C_SRCS += \ ../Core/Src/system_stm32f4xx.c OBJS += \ +./Core/Src/FLASH_SECTOR_F4.o \ ./Core/Src/main.o \ ./Core/Src/pribors.o \ ./Core/Src/stm32f4xx_hal_msp.o \ @@ -19,6 +21,7 @@ OBJS += \ ./Core/Src/system_stm32f4xx.o C_DEPS += \ +./Core/Src/FLASH_SECTOR_F4.d \ ./Core/Src/main.d \ ./Core/Src/pribors.d \ ./Core/Src/stm32f4xx_hal_msp.d \ @@ -33,7 +36,7 @@ Core/Src/%.o Core/Src/%.su Core/Src/%.cyclo: ../Core/Src/%.c Core/Src/subdir.mk clean: clean-Core-2f-Src clean-Core-2f-Src: - -$(RM) ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/pribors.cyclo ./Core/Src/pribors.d ./Core/Src/pribors.o ./Core/Src/pribors.su ./Core/Src/stm32f4xx_hal_msp.cyclo ./Core/Src/stm32f4xx_hal_msp.d ./Core/Src/stm32f4xx_hal_msp.o ./Core/Src/stm32f4xx_hal_msp.su ./Core/Src/stm32f4xx_it.cyclo ./Core/Src/stm32f4xx_it.d ./Core/Src/stm32f4xx_it.o ./Core/Src/stm32f4xx_it.su ./Core/Src/system_stm32f4xx.cyclo ./Core/Src/system_stm32f4xx.d ./Core/Src/system_stm32f4xx.o ./Core/Src/system_stm32f4xx.su + -$(RM) ./Core/Src/FLASH_SECTOR_F4.cyclo ./Core/Src/FLASH_SECTOR_F4.d ./Core/Src/FLASH_SECTOR_F4.o ./Core/Src/FLASH_SECTOR_F4.su ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/pribors.cyclo ./Core/Src/pribors.d ./Core/Src/pribors.o ./Core/Src/pribors.su ./Core/Src/stm32f4xx_hal_msp.cyclo ./Core/Src/stm32f4xx_hal_msp.d ./Core/Src/stm32f4xx_hal_msp.o ./Core/Src/stm32f4xx_hal_msp.su ./Core/Src/stm32f4xx_it.cyclo ./Core/Src/stm32f4xx_it.d ./Core/Src/stm32f4xx_it.o ./Core/Src/stm32f4xx_it.su ./Core/Src/system_stm32f4xx.cyclo ./Core/Src/system_stm32f4xx.d ./Core/Src/system_stm32f4xx.o ./Core/Src/system_stm32f4xx.su .PHONY: clean-Core-2f-Src diff --git a/Debug/objects.list b/Debug/objects.list index 9ad6205..cea01d7 100644 --- a/Debug/objects.list +++ b/Debug/objects.list @@ -1,3 +1,4 @@ +"./Core/Src/FLASH_SECTOR_F4.o" "./Core/Src/main.o" "./Core/Src/pribors.o" "./Core/Src/stm32f4xx_hal_msp.o" diff --git a/Debug/yau-07b.list b/Debug/yau-07b.list index 81d38d6..607187e 100644 --- a/Debug/yau-07b.list +++ b/Debug/yau-07b.list @@ -5,49 +5,49 @@ Sections: Idx Name Size VMA LMA File off Algn 0 .isr_vector 000001ac 08000000 08000000 00001000 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA - 1 .text 00015df8 080001b0 080001b0 000011b0 2**4 + 1 .text 00016778 080001b0 080001b0 000011b0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE - 2 .rodata 000032cc 08015fa8 08015fa8 00016fa8 2**3 + 2 .rodata 000032cc 08016928 08016928 00017928 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA - 3 .ARM.extab 00000000 08019274 08019274 0001b6e0 2**0 + 3 .ARM.extab 00000000 08019bf4 08019bf4 0001b6e0 2**0 CONTENTS - 4 .ARM 00000008 08019274 08019274 0001a274 2**2 + 4 .ARM 00000008 08019bf4 08019bf4 0001abf4 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 5 .preinit_array 00000000 0801927c 0801927c 0001b6e0 2**0 + 5 .preinit_array 00000000 08019bfc 08019bfc 0001b6e0 2**0 CONTENTS, ALLOC, LOAD, DATA - 6 .init_array 00000008 0801927c 0801927c 0001a27c 2**2 + 6 .init_array 00000008 08019bfc 08019bfc 0001abfc 2**2 CONTENTS, ALLOC, LOAD, DATA - 7 .fini_array 00000004 08019284 08019284 0001a284 2**2 + 7 .fini_array 00000004 08019c04 08019c04 0001ac04 2**2 CONTENTS, ALLOC, LOAD, DATA - 8 .data 000006e0 20000000 08019288 0001b000 2**3 + 8 .data 000006e0 20000000 08019c08 0001b000 2**3 CONTENTS, ALLOC, LOAD, DATA 9 .ccmram 00000000 10000000 10000000 0001b6e0 2**0 CONTENTS - 10 .bss 00018e64 200006e0 200006e0 0001b6e0 2**2 + 10 .bss 00018e98 200006e0 200006e0 0001b6e0 2**2 ALLOC - 11 ._user_heap_stack 00000604 20019544 20019544 0001b6e0 2**0 + 11 ._user_heap_stack 00000600 20019578 20019578 0001b6e0 2**0 ALLOC 12 .ARM.attributes 00000030 00000000 00000000 0001b6e0 2**0 CONTENTS, READONLY - 13 .debug_info 0001fe92 00000000 00000000 0001b710 2**0 + 13 .debug_info 00021244 00000000 00000000 0001b710 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 14 .debug_abbrev 000057af 00000000 00000000 0003b5a2 2**0 + 14 .debug_abbrev 00005f53 00000000 00000000 0003c954 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 15 .debug_aranges 00001958 00000000 00000000 00040d58 2**3 + 15 .debug_aranges 00001b28 00000000 00000000 000428a8 2**3 CONTENTS, READONLY, DEBUGGING, OCTETS - 16 .debug_rnglists 00001449 00000000 00000000 000426b0 2**0 + 16 .debug_rnglists 000015a7 00000000 00000000 000443d0 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 17 .debug_macro 00030527 00000000 00000000 00043af9 2**0 + 17 .debug_macro 00030bfb 00000000 00000000 00045977 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 18 .debug_line 000281d5 00000000 00000000 00074020 2**0 + 18 .debug_line 0002a649 00000000 00000000 00076572 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 19 .debug_str 000f533e 00000000 00000000 0009c1f5 2**0 + 19 .debug_str 000f5ade 00000000 00000000 000a0bbb 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 20 .comment 00000043 00000000 00000000 00191533 2**0 + 20 .comment 00000043 00000000 00000000 00196699 2**0 CONTENTS, READONLY - 21 .debug_frame 00007c24 00000000 00000000 00191578 2**2 + 21 .debug_frame 00008358 00000000 00000000 001966dc 2**2 CONTENTS, READONLY, DEBUGGING, OCTETS - 22 .debug_line_str 0000004e 00000000 00000000 0019919c 2**0 + 22 .debug_line_str 0000004e 00000000 00000000 0019ea34 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS Disassembly of section .text: @@ -66,7 +66,7 @@ Disassembly of section .text: 80001c6: bd10 pop {r4, pc} 80001c8: 200006e0 .word 0x200006e0 80001cc: 00000000 .word 0x00000000 - 80001d0: 08015f90 .word 0x08015f90 + 80001d0: 08016910 .word 0x08016910 080001d4 : 80001d4: b508 push {r3, lr} @@ -78,7 +78,7 @@ Disassembly of section .text: 80001e2: bd08 pop {r3, pc} 80001e4: 00000000 .word 0x00000000 80001e8: 200006e4 .word 0x200006e4 - 80001ec: 08015f90 .word 0x08015f90 + 80001ec: 08016910 .word 0x08016910 080001f0 : 80001f0: 4603 mov r3, r0 @@ -1202,51679 +1202,53394 @@ Disassembly of section .text: 8000eb4: 4770 bx lr 8000eb6: bf00 nop -08000eb8
: +08000eb8 : + * Sector 4 as 64KB + * Sector 5 to Sector 7 each 128KB + */ + +static uint32_t GetSector(uint32_t Address) +{ + 8000eb8: b480 push {r7} + 8000eba: b085 sub sp, #20 + 8000ebc: af00 add r7, sp, #0 + 8000ebe: 6078 str r0, [r7, #4] + uint32_t sector = 0; + 8000ec0: 2300 movs r3, #0 + 8000ec2: 60fb str r3, [r7, #12] + + if((Address < 0x08003FFF) && (Address >= 0x08000000)) + 8000ec4: 687b ldr r3, [r7, #4] + 8000ec6: 4a2e ldr r2, [pc, #184] @ (8000f80 ) + 8000ec8: 4293 cmp r3, r2 + 8000eca: d806 bhi.n 8000eda + 8000ecc: 687b ldr r3, [r7, #4] + 8000ece: f1b3 6f00 cmp.w r3, #134217728 @ 0x8000000 + 8000ed2: d302 bcc.n 8000eda + { + sector = FLASH_SECTOR_0; + 8000ed4: 2300 movs r3, #0 + 8000ed6: 60fb str r3, [r7, #12] + 8000ed8: e04b b.n 8000f72 + } + else if((Address < 0x08007FFF) && (Address >= 0x08004000)) + 8000eda: 687b ldr r3, [r7, #4] + 8000edc: 4a29 ldr r2, [pc, #164] @ (8000f84 ) + 8000ede: 4293 cmp r3, r2 + 8000ee0: d806 bhi.n 8000ef0 + 8000ee2: 687b ldr r3, [r7, #4] + 8000ee4: 4a28 ldr r2, [pc, #160] @ (8000f88 ) + 8000ee6: 4293 cmp r3, r2 + 8000ee8: d302 bcc.n 8000ef0 + { + sector = FLASH_SECTOR_1; + 8000eea: 2301 movs r3, #1 + 8000eec: 60fb str r3, [r7, #12] + 8000eee: e040 b.n 8000f72 + } + else if((Address < 0x0800BFFF) && (Address >= 0x08008000)) + 8000ef0: 687b ldr r3, [r7, #4] + 8000ef2: 4a26 ldr r2, [pc, #152] @ (8000f8c ) + 8000ef4: 4293 cmp r3, r2 + 8000ef6: d806 bhi.n 8000f06 + 8000ef8: 687b ldr r3, [r7, #4] + 8000efa: 4a25 ldr r2, [pc, #148] @ (8000f90 ) + 8000efc: 4293 cmp r3, r2 + 8000efe: d302 bcc.n 8000f06 + { + sector = FLASH_SECTOR_2; + 8000f00: 2302 movs r3, #2 + 8000f02: 60fb str r3, [r7, #12] + 8000f04: e035 b.n 8000f72 + } + else if((Address < 0x0800FFFF) && (Address >= 0x0800C000)) + 8000f06: 687b ldr r3, [r7, #4] + 8000f08: 4a22 ldr r2, [pc, #136] @ (8000f94 ) + 8000f0a: 4293 cmp r3, r2 + 8000f0c: d206 bcs.n 8000f1c + 8000f0e: 687b ldr r3, [r7, #4] + 8000f10: 4a21 ldr r2, [pc, #132] @ (8000f98 ) + 8000f12: 4293 cmp r3, r2 + 8000f14: d302 bcc.n 8000f1c + { + sector = FLASH_SECTOR_3; + 8000f16: 2303 movs r3, #3 + 8000f18: 60fb str r3, [r7, #12] + 8000f1a: e02a b.n 8000f72 + } + else if((Address < 0x0801FFFF) && (Address >= 0x08010000)) + 8000f1c: 687b ldr r3, [r7, #4] + 8000f1e: 4a1f ldr r2, [pc, #124] @ (8000f9c ) + 8000f20: 4293 cmp r3, r2 + 8000f22: d206 bcs.n 8000f32 + 8000f24: 687b ldr r3, [r7, #4] + 8000f26: 4a1b ldr r2, [pc, #108] @ (8000f94 ) + 8000f28: 4293 cmp r3, r2 + 8000f2a: d902 bls.n 8000f32 + { + sector = FLASH_SECTOR_4; + 8000f2c: 2304 movs r3, #4 + 8000f2e: 60fb str r3, [r7, #12] + 8000f30: e01f b.n 8000f72 + } + else if((Address < 0x0803FFFF) && (Address >= 0x08020000)) + 8000f32: 687b ldr r3, [r7, #4] + 8000f34: 4a1a ldr r2, [pc, #104] @ (8000fa0 ) + 8000f36: 4293 cmp r3, r2 + 8000f38: d206 bcs.n 8000f48 + 8000f3a: 687b ldr r3, [r7, #4] + 8000f3c: 4a17 ldr r2, [pc, #92] @ (8000f9c ) + 8000f3e: 4293 cmp r3, r2 + 8000f40: d902 bls.n 8000f48 + { + sector = FLASH_SECTOR_5; + 8000f42: 2305 movs r3, #5 + 8000f44: 60fb str r3, [r7, #12] + 8000f46: e014 b.n 8000f72 + } + else if((Address < 0x0805FFFF) && (Address >= 0x08040000)) + 8000f48: 687b ldr r3, [r7, #4] + 8000f4a: 4a16 ldr r2, [pc, #88] @ (8000fa4 ) + 8000f4c: 4293 cmp r3, r2 + 8000f4e: d206 bcs.n 8000f5e + 8000f50: 687b ldr r3, [r7, #4] + 8000f52: 4a13 ldr r2, [pc, #76] @ (8000fa0 ) + 8000f54: 4293 cmp r3, r2 + 8000f56: d902 bls.n 8000f5e + { + sector = FLASH_SECTOR_6; + 8000f58: 2306 movs r3, #6 + 8000f5a: 60fb str r3, [r7, #12] + 8000f5c: e009 b.n 8000f72 + } + else if((Address < 0x0807FFFF) && (Address >= 0x08060000)) + 8000f5e: 687b ldr r3, [r7, #4] + 8000f60: 4a11 ldr r2, [pc, #68] @ (8000fa8 ) + 8000f62: 4293 cmp r3, r2 + 8000f64: d205 bcs.n 8000f72 + 8000f66: 687b ldr r3, [r7, #4] + 8000f68: 4a0e ldr r2, [pc, #56] @ (8000fa4 ) + 8000f6a: 4293 cmp r3, r2 + 8000f6c: d901 bls.n 8000f72 + { + sector = FLASH_SECTOR_7; + 8000f6e: 2307 movs r3, #7 + 8000f70: 60fb str r3, [r7, #12] + } + else if (Address < 0x081FFFFF) && (Address >= 0x081E0000) + { + sector = FLASH_SECTOR_23; + }*/ + return sector; + 8000f72: 68fb ldr r3, [r7, #12] +} + 8000f74: 4618 mov r0, r3 + 8000f76: 3714 adds r7, #20 + 8000f78: 46bd mov sp, r7 + 8000f7a: f85d 7b04 ldr.w r7, [sp], #4 + 8000f7e: 4770 bx lr + 8000f80: 08003ffe .word 0x08003ffe + 8000f84: 08007ffe .word 0x08007ffe + 8000f88: 08004000 .word 0x08004000 + 8000f8c: 0800bffe .word 0x0800bffe + 8000f90: 08008000 .word 0x08008000 + 8000f94: 0800ffff .word 0x0800ffff + 8000f98: 0800c000 .word 0x0800c000 + 8000f9c: 0801ffff .word 0x0801ffff + 8000fa0: 0803ffff .word 0x0803ffff + 8000fa4: 0805ffff .word 0x0805ffff + 8000fa8: 0807ffff .word 0x0807ffff + +08000fac : + return float_variable; +} + + +uint32_t Flash_Write_Data (uint32_t StartSectorAddress, uint32_t *Data, uint16_t numberofwords) +{ + 8000fac: b5b0 push {r4, r5, r7, lr} + 8000fae: b08a sub sp, #40 @ 0x28 + 8000fb0: af00 add r7, sp, #0 + 8000fb2: 60f8 str r0, [r7, #12] + 8000fb4: 60b9 str r1, [r7, #8] + 8000fb6: 4613 mov r3, r2 + 8000fb8: 80fb strh r3, [r7, #6] + + static FLASH_EraseInitTypeDef EraseInitStruct; + uint32_t SECTORError; + int sofar=0; + 8000fba: 2300 movs r3, #0 + 8000fbc: 627b str r3, [r7, #36] @ 0x24 + + + /* Unlock the Flash to enable the flash control register access *************/ + HAL_FLASH_Unlock(); + 8000fbe: f002 fbd7 bl 8003770 + + /* Erase the user Flash area */ + + /* Get the number of sector to erase from 1st sector */ + + uint32_t StartSector = GetSector(StartSectorAddress); + 8000fc2: 68f8 ldr r0, [r7, #12] + 8000fc4: f7ff ff78 bl 8000eb8 + 8000fc8: 6238 str r0, [r7, #32] + uint32_t EndSectorAddress = StartSectorAddress + numberofwords*4; + 8000fca: 88fb ldrh r3, [r7, #6] + 8000fcc: 009b lsls r3, r3, #2 + 8000fce: 461a mov r2, r3 + 8000fd0: 68fb ldr r3, [r7, #12] + 8000fd2: 4413 add r3, r2 + 8000fd4: 61fb str r3, [r7, #28] + uint32_t EndSector = GetSector(EndSectorAddress); + 8000fd6: 69f8 ldr r0, [r7, #28] + 8000fd8: f7ff ff6e bl 8000eb8 + 8000fdc: 61b8 str r0, [r7, #24] + + /* Fill EraseInit structure*/ + EraseInitStruct.TypeErase = FLASH_TYPEERASE_SECTORS; + 8000fde: 4b21 ldr r3, [pc, #132] @ (8001064 ) + 8000fe0: 2200 movs r2, #0 + 8000fe2: 601a str r2, [r3, #0] + EraseInitStruct.VoltageRange = FLASH_VOLTAGE_RANGE_3; + 8000fe4: 4b1f ldr r3, [pc, #124] @ (8001064 ) + 8000fe6: 2202 movs r2, #2 + 8000fe8: 611a str r2, [r3, #16] + EraseInitStruct.Sector = StartSector; + 8000fea: 4a1e ldr r2, [pc, #120] @ (8001064 ) + 8000fec: 6a3b ldr r3, [r7, #32] + 8000fee: 6093 str r3, [r2, #8] + EraseInitStruct.NbSectors = (EndSector - StartSector) + 1; + 8000ff0: 69ba ldr r2, [r7, #24] + 8000ff2: 6a3b ldr r3, [r7, #32] + 8000ff4: 1ad3 subs r3, r2, r3 + 8000ff6: 3301 adds r3, #1 + 8000ff8: 4a1a ldr r2, [pc, #104] @ (8001064 ) + 8000ffa: 60d3 str r3, [r2, #12] + + /* Note: If an erase operation in Flash memory also concerns data in the data or instruction cache, + you have to make sure that these data are rewritten before they are accessed during code + execution. If this cannot be done safely, it is recommended to flush the caches by setting the + DCRST and ICRST bits in the FLASH_CR register. */ + if (HAL_FLASHEx_Erase(&EraseInitStruct, &SECTORError) != HAL_OK) + 8000ffc: f107 0314 add.w r3, r7, #20 + 8001000: 4619 mov r1, r3 + 8001002: 4818 ldr r0, [pc, #96] @ (8001064 ) + 8001004: f002 fd32 bl 8003a6c + 8001008: 4603 mov r3, r0 + 800100a: 2b00 cmp r3, #0 + 800100c: d01f beq.n 800104e + { + return HAL_FLASH_GetError (); + 800100e: f002 fbe1 bl 80037d4 + 8001012: 4603 mov r3, r0 + 8001014: e022 b.n 800105c + /* Program the user Flash area word by word + (area defined by FLASH_USER_START_ADDR and FLASH_USER_END_ADDR) ***********/ + + while (sofar + 8001032: 4603 mov r3, r0 + 8001034: 2b00 cmp r3, #0 + 8001036: d106 bne.n 8001046 + { + StartSectorAddress += 4; // use StartPageAddress += 2 for half word and 8 for double word + 8001038: 68fb ldr r3, [r7, #12] + 800103a: 3304 adds r3, #4 + 800103c: 60fb str r3, [r7, #12] + sofar++; + 800103e: 6a7b ldr r3, [r7, #36] @ 0x24 + 8001040: 3301 adds r3, #1 + 8001042: 627b str r3, [r7, #36] @ 0x24 + 8001044: e003 b.n 800104e + } + else + { + /* Error occurred while writing data in Flash memory*/ + return HAL_FLASH_GetError (); + 8001046: f002 fbc5 bl 80037d4 + 800104a: 4603 mov r3, r0 + 800104c: e006 b.n 800105c + while (sofar + } + } + + /* Lock the Flash to disable the flash control register access (recommended + to protect the FLASH memory against possible unwanted operation) *********/ + HAL_FLASH_Lock(); + 8001056: f002 fbad bl 80037b4 + + return 0; + 800105a: 2300 movs r3, #0 +} + 800105c: 4618 mov r0, r3 + 800105e: 3728 adds r7, #40 @ 0x28 + 8001060: 46bd mov sp, r7 + 8001062: bdb0 pop {r4, r5, r7, pc} + 8001064: 200006fc .word 0x200006fc + +08001068 : + + +void Flash_Read_Data (uint32_t StartSectorAddress, uint32_t *RxBuf, uint16_t numberofwords) +{ + 8001068: b480 push {r7} + 800106a: b085 sub sp, #20 + 800106c: af00 add r7, sp, #0 + 800106e: 60f8 str r0, [r7, #12] + 8001070: 60b9 str r1, [r7, #8] + 8001072: 4613 mov r3, r2 + 8001074: 80fb strh r3, [r7, #6] + while (1) + { + + *RxBuf = *(__IO uint32_t *)StartSectorAddress; + 8001076: 68fb ldr r3, [r7, #12] + 8001078: 681a ldr r2, [r3, #0] + 800107a: 68bb ldr r3, [r7, #8] + 800107c: 601a str r2, [r3, #0] + StartSectorAddress += 4; + 800107e: 68fb ldr r3, [r7, #12] + 8001080: 3304 adds r3, #4 + 8001082: 60fb str r3, [r7, #12] + RxBuf++; + 8001084: 68bb ldr r3, [r7, #8] + 8001086: 3304 adds r3, #4 + 8001088: 60bb str r3, [r7, #8] + if (!(numberofwords--)) break; + 800108a: 88fb ldrh r3, [r7, #6] + 800108c: 1e5a subs r2, r3, #1 + 800108e: 80fa strh r2, [r7, #6] + 8001090: 2b00 cmp r3, #0 + 8001092: d000 beq.n 8001096 + *RxBuf = *(__IO uint32_t *)StartSectorAddress; + 8001094: e7ef b.n 8001076 + if (!(numberofwords--)) break; + 8001096: bf00 nop + } +} + 8001098: bf00 nop + 800109a: 3714 adds r7, #20 + 800109c: 46bd mov sp, r7 + 800109e: f85d 7b04 ldr.w r7, [sp], #4 + 80010a2: 4770 bx lr + +080010a4
: /** * @brief The application entry point. * @retval int */ int main(void) { - 8000eb8: b580 push {r7, lr} - 8000eba: b084 sub sp, #16 - 8000ebc: af00 add r7, sp, #0 + 80010a4: b580 push {r7, lr} + 80010a6: b084 sub sp, #16 + 80010a8: af00 add r7, sp, #0 /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); - 8000ebe: f000 ffb5 bl 8001e2c + 80010aa: f001 f86f bl 800218c /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); - 8000ec2: f000 f883 bl 8000fcc + 80010ae: f000 f887 bl 80011c0 /* USER CODE BEGIN SysInit */ /* USER CODE END SysInit */ /* Initialize all configured peripherals */ MX_GPIO_Init(); - 8000ec6: f000 f99d bl 8001204 + 80010b2: f000 f9a1 bl 80013f8 + HAL_Delay(100); + 80010b6: 2064 movs r0, #100 @ 0x64 + 80010b8: f001 f8da bl 8002270 MX_LWIP_Init(); - 8000eca: f003 fe25 bl 8004b18 + 80010bc: f004 f9ee bl 800549c MX_FMC_Init(); - 8000ece: f000 f937 bl 8001140 + 80010c0: f000 f938 bl 8001334 MX_TIM3_Init(); - 8000ed2: f000 f8e7 bl 80010a4 + 80010c4: f000 f8e8 bl 8001298 /* USER CODE BEGIN 2 */ struct udp_pcb * pcb = udp_new(); - 8000ed6: f00b ffb7 bl 800ce48 - 8000eda: 60f8 str r0, [r7, #12] + 80010c8: f00c fb80 bl 800d7cc + 80010cc: 60f8 str r0, [r7, #12] sock_init(pcb); - 8000edc: 68f8 ldr r0, [r7, #12] - 8000ede: f000 fa6d bl 80013bc + 80010ce: 68f8 ldr r0, [r7, #12] + 80010d0: f000 fa6e bl 80015b0 memset(tx_msg.tx_buf, 0, sizeof tx_msg.tx_buf); - 8000ee2: f44f 62af mov.w r2, #1400 @ 0x578 - 8000ee6: 2100 movs r1, #0 - 8000ee8: 4831 ldr r0, [pc, #196] @ (8000fb0 ) - 8000eea: f010 fc04 bl 80116f6 + 80010d4: f44f 62af mov.w r2, #1400 @ 0x578 + 80010d8: 2100 movs r1, #0 + 80010da: 4832 ldr r0, [pc, #200] @ (80011a4 ) + 80010dc: f010 ffcd bl 801207a struct pbuf *p = pbuf_alloc(0, sizeof tx_msg.tx_buf, PBUF_RAM); - 8000eee: f44f 7220 mov.w r2, #640 @ 0x280 - 8000ef2: f44f 61af mov.w r1, #1400 @ 0x578 - 8000ef6: 2000 movs r0, #0 - 8000ef8: f005 fab4 bl 8006464 - 8000efc: 60b8 str r0, [r7, #8] + 80010e0: f44f 7220 mov.w r2, #640 @ 0x280 + 80010e4: f44f 61af mov.w r1, #1400 @ 0x578 + 80010e8: 2000 movs r0, #0 + 80010ea: f005 fe7d bl 8006de8 + 80010ee: 60b8 str r0, [r7, #8] uint32_t br_addr = ipaddr_addr("10.1.1.255"); - 8000efe: 482d ldr r0, [pc, #180] @ (8000fb4 ) - 8000f00: f00f fa49 bl 8010396 - 8000f04: 4603 mov r3, r0 - 8000f06: 603b str r3, [r7, #0] + 80010f0: 482d ldr r0, [pc, #180] @ (80011a8 ) + 80010f2: f00f fe12 bl 8010d1a + 80010f6: 4603 mov r3, r0 + 80010f8: 603b str r3, [r7, #0] u16_t br_port = 50000U; - 8000f08: f24c 3350 movw r3, #50000 @ 0xc350 - 8000f0c: 80fb strh r3, [r7, #6] + 80010fa: f24c 3350 movw r3, #50000 @ 0xc350 + 80010fe: 80fb strh r3, [r7, #6] // timer start if (HAL_TIM_Base_Start_IT(&htim3) != HAL_OK) - 8000f0e: 482a ldr r0, [pc, #168] @ (8000fb8 ) - 8000f10: f003 f8b8 bl 8004084 - 8000f14: 4603 mov r3, r0 - 8000f16: 2b00 cmp r3, #0 - 8000f18: d001 beq.n 8000f1e + 8001100: 482a ldr r0, [pc, #168] @ (80011ac ) + 8001102: f003 fc81 bl 8004a08 + 8001106: 4603 mov r3, r0 + 8001108: 2b00 cmp r3, #0 + 800110a: d001 beq.n 8001110 { /* Starting Error */ Error_Handler(); - 8000f1a: f000 fc6e bl 80017fa + 800110c: f000 fd25 bl 8001b5a /* Infinite loop */ /* USER CODE BEGIN WHILE */ while (1) { MX_LWIP_Process(); - 8000f1e: f003 fe67 bl 8004bf0 + 8001110: f004 fa30 bl 8005574 if (need_send_private == 1) - 8000f22: 4b26 ldr r3, [pc, #152] @ (8000fbc ) - 8000f24: 781b ldrb r3, [r3, #0] - 8000f26: 2b00 cmp r3, #0 - 8000f28: d01a beq.n 8000f60 + 8001114: 4b26 ldr r3, [pc, #152] @ (80011b0 ) + 8001116: 781b ldrb r3, [r3, #0] + 8001118: 2b00 cmp r3, #0 + 800111a: d01a beq.n 8001152 { need_send_private = 0; - 8000f2a: 4b24 ldr r3, [pc, #144] @ (8000fbc ) - 8000f2c: 2200 movs r2, #0 - 8000f2e: 701a strb r2, [r3, #0] + 800111c: 4b24 ldr r3, [pc, #144] @ (80011b0 ) + 800111e: 2200 movs r2, #0 + 8001120: 701a strb r2, [r3, #0] set_pbuf_params(p, tx_msg.status_len + tx_msg.cmd_len); - 8000f30: 4b1f ldr r3, [pc, #124] @ (8000fb0 ) - 8000f32: f8b3 2578 ldrh.w r2, [r3, #1400] @ 0x578 - 8000f36: 4b1e ldr r3, [pc, #120] @ (8000fb0 ) - 8000f38: f8b3 357c ldrh.w r3, [r3, #1404] @ 0x57c - 8000f3c: 4413 add r3, r2 - 8000f3e: b29b uxth r3, r3 - 8000f40: 4619 mov r1, r3 - 8000f42: 68b8 ldr r0, [r7, #8] - 8000f44: f000 fa1e bl 8001384 + 8001122: 4b20 ldr r3, [pc, #128] @ (80011a4 ) + 8001124: f8b3 2578 ldrh.w r2, [r3, #1400] @ 0x578 + 8001128: 4b1e ldr r3, [pc, #120] @ (80011a4 ) + 800112a: f8b3 357c ldrh.w r3, [r3, #1404] @ 0x57c + 800112e: 4413 add r3, r2 + 8001130: b29b uxth r3, r3 + 8001132: 4619 mov r1, r3 + 8001134: 68b8 ldr r0, [r7, #8] + 8001136: f000 fa1f bl 8001578 err_t errok = udp_sendto(pcb, p, &rx_addr, rx_msg.port); - 8000f48: 4b1d ldr r3, [pc, #116] @ (8000fc0 ) - 8000f4a: 881b ldrh r3, [r3, #0] - 8000f4c: 4a1d ldr r2, [pc, #116] @ (8000fc4 ) - 8000f4e: 68b9 ldr r1, [r7, #8] - 8000f50: 68f8 ldr r0, [r7, #12] - 8000f52: f00b fc6b bl 800c82c - 8000f56: 4603 mov r3, r0 - 8000f58: 717b strb r3, [r7, #5] + 800113a: 4b1e ldr r3, [pc, #120] @ (80011b4 ) + 800113c: 881b ldrh r3, [r3, #0] + 800113e: 4a1e ldr r2, [pc, #120] @ (80011b8 ) + 8001140: 68b9 ldr r1, [r7, #8] + 8001142: 68f8 ldr r0, [r7, #12] + 8001144: f00c f834 bl 800d1b0 + 8001148: 4603 mov r3, r0 + 800114a: 717b strb r3, [r7, #5] br_counter = 0; - 8000f5a: 4b1b ldr r3, [pc, #108] @ (8000fc8 ) - 8000f5c: 2200 movs r2, #0 - 8000f5e: 601a str r2, [r3, #0] + 800114c: 4b1b ldr r3, [pc, #108] @ (80011bc ) + 800114e: 2200 movs r2, #0 + 8001150: 601a str r2, [r3, #0] } if (br_counter > 99) - 8000f60: 4b19 ldr r3, [pc, #100] @ (8000fc8 ) - 8000f62: 681b ldr r3, [r3, #0] - 8000f64: 2b63 cmp r3, #99 @ 0x63 - 8000f66: d919 bls.n 8000f9c + 8001152: 4b1a ldr r3, [pc, #104] @ (80011bc ) + 8001154: 681b ldr r3, [r3, #0] + 8001156: 2b63 cmp r3, #99 @ 0x63 + 8001158: d919 bls.n 800118e { create_header(); - 8000f68: f000 f9e4 bl 8001334 + 800115a: f000 f9e5 bl 8001528 set_pbuf_params(p, create_header() + tx_msg.cmd_len); - 8000f6c: f000 f9e2 bl 8001334 - 8000f70: 4603 mov r3, r0 - 8000f72: 461a mov r2, r3 - 8000f74: 4b0e ldr r3, [pc, #56] @ (8000fb0 ) - 8000f76: f8b3 357c ldrh.w r3, [r3, #1404] @ 0x57c - 8000f7a: 4413 add r3, r2 - 8000f7c: b29b uxth r3, r3 - 8000f7e: 4619 mov r1, r3 - 8000f80: 68b8 ldr r0, [r7, #8] - 8000f82: f000 f9ff bl 8001384 + 800115e: f000 f9e3 bl 8001528 + 8001162: 4603 mov r3, r0 + 8001164: 461a mov r2, r3 + 8001166: 4b0f ldr r3, [pc, #60] @ (80011a4 ) + 8001168: f8b3 357c ldrh.w r3, [r3, #1404] @ 0x57c + 800116c: 4413 add r3, r2 + 800116e: b29b uxth r3, r3 + 8001170: 4619 mov r1, r3 + 8001172: 68b8 ldr r0, [r7, #8] + 8001174: f000 fa00 bl 8001578 err_t errok = udp_sendto(pcb, p, (ip_addr_t*)&br_addr, br_port); - 8000f86: 88fb ldrh r3, [r7, #6] - 8000f88: 463a mov r2, r7 - 8000f8a: 68b9 ldr r1, [r7, #8] - 8000f8c: 68f8 ldr r0, [r7, #12] - 8000f8e: f00b fc4d bl 800c82c - 8000f92: 4603 mov r3, r0 - 8000f94: 713b strb r3, [r7, #4] + 8001178: 88fb ldrh r3, [r7, #6] + 800117a: 463a mov r2, r7 + 800117c: 68b9 ldr r1, [r7, #8] + 800117e: 68f8 ldr r0, [r7, #12] + 8001180: f00c f816 bl 800d1b0 + 8001184: 4603 mov r3, r0 + 8001186: 713b strb r3, [r7, #4] br_counter = 0; - 8000f96: 4b0c ldr r3, [pc, #48] @ (8000fc8 ) - 8000f98: 2200 movs r2, #0 - 8000f9a: 601a str r2, [r3, #0] + 8001188: 4b0c ldr r3, [pc, #48] @ (80011bc ) + 800118a: 2200 movs r2, #0 + 800118c: 601a str r2, [r3, #0] } + if (rx_msg.con_timeout > 1999) - 8000f9c: 4b08 ldr r3, [pc, #32] @ (8000fc0 ) - 8000f9e: f8b3 380a ldrh.w r3, [r3, #2058] @ 0x80a - 8000fa2: f5b3 6ffa cmp.w r3, #2000 @ 0x7d0 - 8000fa6: d3ba bcc.n 8000f1e + 800118e: 4b09 ldr r3, [pc, #36] @ (80011b4 ) + 8001190: f8b3 380a ldrh.w r3, [r3, #2058] @ 0x80a + 8001194: f5b3 6ffa cmp.w r3, #2000 @ 0x7d0 + 8001198: d3ba bcc.n 8001110 { rx_msg.clnt_con = 0; - 8000fa8: 4b05 ldr r3, [pc, #20] @ (8000fc0 ) - 8000faa: 2200 movs r2, #0 - 8000fac: 719a strb r2, [r3, #6] + 800119a: 4b06 ldr r3, [pc, #24] @ (80011b4 ) + 800119c: 2200 movs r2, #0 + 800119e: 719a strb r2, [r3, #6] MX_LWIP_Process(); - 8000fae: e7b6 b.n 8000f1e - 8000fb0: 20000fa8 .word 0x20000fa8 - 8000fb4: 08015fa8 .word 0x08015fa8 - 8000fb8: 200006fc .word 0x200006fc - 8000fbc: 20001526 .word 0x20001526 - 8000fc0: 2000079c .word 0x2000079c - 8000fc4: 20000798 .word 0x20000798 - 8000fc8: 20000794 .word 0x20000794 + 80011a0: e7b6 b.n 8001110 + 80011a2: bf00 nop + 80011a4: 20000fbc .word 0x20000fbc + 80011a8: 08016928 .word 0x08016928 + 80011ac: 20000710 .word 0x20000710 + 80011b0: 2000153a .word 0x2000153a + 80011b4: 200007b0 .word 0x200007b0 + 80011b8: 200007ac .word 0x200007ac + 80011bc: 200007a8 .word 0x200007a8 -08000fcc : +080011c0 : /** * @brief System Clock Configuration * @retval None */ void SystemClock_Config(void) { - 8000fcc: b580 push {r7, lr} - 8000fce: b094 sub sp, #80 @ 0x50 - 8000fd0: af00 add r7, sp, #0 + 80011c0: b580 push {r7, lr} + 80011c2: b094 sub sp, #80 @ 0x50 + 80011c4: af00 add r7, sp, #0 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; - 8000fd2: f107 0320 add.w r3, r7, #32 - 8000fd6: 2230 movs r2, #48 @ 0x30 - 8000fd8: 2100 movs r1, #0 - 8000fda: 4618 mov r0, r3 - 8000fdc: f010 fb8b bl 80116f6 + 80011c6: f107 0320 add.w r3, r7, #32 + 80011ca: 2230 movs r2, #48 @ 0x30 + 80011cc: 2100 movs r1, #0 + 80011ce: 4618 mov r0, r3 + 80011d0: f010 ff53 bl 801207a RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; - 8000fe0: f107 030c add.w r3, r7, #12 - 8000fe4: 2200 movs r2, #0 - 8000fe6: 601a str r2, [r3, #0] - 8000fe8: 605a str r2, [r3, #4] - 8000fea: 609a str r2, [r3, #8] - 8000fec: 60da str r2, [r3, #12] - 8000fee: 611a str r2, [r3, #16] + 80011d4: f107 030c add.w r3, r7, #12 + 80011d8: 2200 movs r2, #0 + 80011da: 601a str r2, [r3, #0] + 80011dc: 605a str r2, [r3, #4] + 80011de: 609a str r2, [r3, #8] + 80011e0: 60da str r2, [r3, #12] + 80011e2: 611a str r2, [r3, #16] /** Configure the main internal regulator output voltage */ __HAL_RCC_PWR_CLK_ENABLE(); - 8000ff0: 2300 movs r3, #0 - 8000ff2: 60bb str r3, [r7, #8] - 8000ff4: 4b29 ldr r3, [pc, #164] @ (800109c ) - 8000ff6: 6c1b ldr r3, [r3, #64] @ 0x40 - 8000ff8: 4a28 ldr r2, [pc, #160] @ (800109c ) - 8000ffa: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 8000ffe: 6413 str r3, [r2, #64] @ 0x40 - 8001000: 4b26 ldr r3, [pc, #152] @ (800109c ) - 8001002: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001004: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 - 8001008: 60bb str r3, [r7, #8] - 800100a: 68bb ldr r3, [r7, #8] + 80011e4: 2300 movs r3, #0 + 80011e6: 60bb str r3, [r7, #8] + 80011e8: 4b29 ldr r3, [pc, #164] @ (8001290 ) + 80011ea: 6c1b ldr r3, [r3, #64] @ 0x40 + 80011ec: 4a28 ldr r2, [pc, #160] @ (8001290 ) + 80011ee: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 80011f2: 6413 str r3, [r2, #64] @ 0x40 + 80011f4: 4b26 ldr r3, [pc, #152] @ (8001290 ) + 80011f6: 6c1b ldr r3, [r3, #64] @ 0x40 + 80011f8: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 80011fc: 60bb str r3, [r7, #8] + 80011fe: 68bb ldr r3, [r7, #8] __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE3); - 800100c: 2300 movs r3, #0 - 800100e: 607b str r3, [r7, #4] - 8001010: 4b23 ldr r3, [pc, #140] @ (80010a0 ) - 8001012: 681b ldr r3, [r3, #0] - 8001014: f423 4340 bic.w r3, r3, #49152 @ 0xc000 - 8001018: 4a21 ldr r2, [pc, #132] @ (80010a0 ) - 800101a: f443 4380 orr.w r3, r3, #16384 @ 0x4000 - 800101e: 6013 str r3, [r2, #0] - 8001020: 4b1f ldr r3, [pc, #124] @ (80010a0 ) - 8001022: 681b ldr r3, [r3, #0] - 8001024: f403 4340 and.w r3, r3, #49152 @ 0xc000 - 8001028: 607b str r3, [r7, #4] - 800102a: 687b ldr r3, [r7, #4] + 8001200: 2300 movs r3, #0 + 8001202: 607b str r3, [r7, #4] + 8001204: 4b23 ldr r3, [pc, #140] @ (8001294 ) + 8001206: 681b ldr r3, [r3, #0] + 8001208: f423 4340 bic.w r3, r3, #49152 @ 0xc000 + 800120c: 4a21 ldr r2, [pc, #132] @ (8001294 ) + 800120e: f443 4380 orr.w r3, r3, #16384 @ 0x4000 + 8001212: 6013 str r3, [r2, #0] + 8001214: 4b1f ldr r3, [pc, #124] @ (8001294 ) + 8001216: 681b ldr r3, [r3, #0] + 8001218: f403 4340 and.w r3, r3, #49152 @ 0xc000 + 800121c: 607b str r3, [r7, #4] + 800121e: 687b ldr r3, [r7, #4] /** Initializes the RCC Oscillators according to the specified parameters * in the RCC_OscInitTypeDef structure. */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI; - 800102c: 2302 movs r3, #2 - 800102e: 623b str r3, [r7, #32] + 8001220: 2302 movs r3, #2 + 8001222: 623b str r3, [r7, #32] RCC_OscInitStruct.HSIState = RCC_HSI_ON; - 8001030: 2301 movs r3, #1 - 8001032: 62fb str r3, [r7, #44] @ 0x2c + 8001224: 2301 movs r3, #1 + 8001226: 62fb str r3, [r7, #44] @ 0x2c RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT; - 8001034: 2310 movs r3, #16 - 8001036: 633b str r3, [r7, #48] @ 0x30 + 8001228: 2310 movs r3, #16 + 800122a: 633b str r3, [r7, #48] @ 0x30 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; - 8001038: 2302 movs r3, #2 - 800103a: 63bb str r3, [r7, #56] @ 0x38 + 800122c: 2302 movs r3, #2 + 800122e: 63bb str r3, [r7, #56] @ 0x38 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; - 800103c: 2300 movs r3, #0 - 800103e: 63fb str r3, [r7, #60] @ 0x3c + 8001230: 2300 movs r3, #0 + 8001232: 63fb str r3, [r7, #60] @ 0x3c RCC_OscInitStruct.PLL.PLLM = 8; - 8001040: 2308 movs r3, #8 - 8001042: 643b str r3, [r7, #64] @ 0x40 + 8001234: 2308 movs r3, #8 + 8001236: 643b str r3, [r7, #64] @ 0x40 RCC_OscInitStruct.PLL.PLLN = 100; - 8001044: 2364 movs r3, #100 @ 0x64 - 8001046: 647b str r3, [r7, #68] @ 0x44 + 8001238: 2364 movs r3, #100 @ 0x64 + 800123a: 647b str r3, [r7, #68] @ 0x44 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2; - 8001048: 2302 movs r3, #2 - 800104a: 64bb str r3, [r7, #72] @ 0x48 + 800123c: 2302 movs r3, #2 + 800123e: 64bb str r3, [r7, #72] @ 0x48 RCC_OscInitStruct.PLL.PLLQ = 4; - 800104c: 2304 movs r3, #4 - 800104e: 64fb str r3, [r7, #76] @ 0x4c + 8001240: 2304 movs r3, #4 + 8001242: 64fb str r3, [r7, #76] @ 0x4c if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) - 8001050: f107 0320 add.w r3, r7, #32 - 8001054: 4618 mov r0, r3 - 8001056: f002 fb4d bl 80036f4 - 800105a: 4603 mov r3, r0 - 800105c: 2b00 cmp r3, #0 - 800105e: d001 beq.n 8001064 + 8001244: f107 0320 add.w r3, r7, #32 + 8001248: 4618 mov r0, r3 + 800124a: f002 ff15 bl 8004078 + 800124e: 4603 mov r3, r0 + 8001250: 2b00 cmp r3, #0 + 8001252: d001 beq.n 8001258 { Error_Handler(); - 8001060: f000 fbcb bl 80017fa + 8001254: f000 fc81 bl 8001b5a } /** Initializes the CPU, AHB and APB buses clocks */ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK - 8001064: 230f movs r3, #15 - 8001066: 60fb str r3, [r7, #12] + 8001258: 230f movs r3, #15 + 800125a: 60fb str r3, [r7, #12] |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2; RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; - 8001068: 2302 movs r3, #2 - 800106a: 613b str r3, [r7, #16] + 800125c: 2302 movs r3, #2 + 800125e: 613b str r3, [r7, #16] RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; - 800106c: 2300 movs r3, #0 - 800106e: 617b str r3, [r7, #20] + 8001260: 2300 movs r3, #0 + 8001262: 617b str r3, [r7, #20] RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV4; - 8001070: f44f 53a0 mov.w r3, #5120 @ 0x1400 - 8001074: 61bb str r3, [r7, #24] + 8001264: f44f 53a0 mov.w r3, #5120 @ 0x1400 + 8001268: 61bb str r3, [r7, #24] RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV2; - 8001076: f44f 5380 mov.w r3, #4096 @ 0x1000 - 800107a: 61fb str r3, [r7, #28] + 800126a: f44f 5380 mov.w r3, #4096 @ 0x1000 + 800126e: 61fb str r3, [r7, #28] if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_3) != HAL_OK) - 800107c: f107 030c add.w r3, r7, #12 - 8001080: 2103 movs r1, #3 - 8001082: 4618 mov r0, r3 - 8001084: f002 fdae bl 8003be4 - 8001088: 4603 mov r3, r0 - 800108a: 2b00 cmp r3, #0 - 800108c: d001 beq.n 8001092 + 8001270: f107 030c add.w r3, r7, #12 + 8001274: 2103 movs r1, #3 + 8001276: 4618 mov r0, r3 + 8001278: f003 f976 bl 8004568 + 800127c: 4603 mov r3, r0 + 800127e: 2b00 cmp r3, #0 + 8001280: d001 beq.n 8001286 { Error_Handler(); - 800108e: f000 fbb4 bl 80017fa + 8001282: f000 fc6a bl 8001b5a } } - 8001092: bf00 nop - 8001094: 3750 adds r7, #80 @ 0x50 - 8001096: 46bd mov sp, r7 - 8001098: bd80 pop {r7, pc} - 800109a: bf00 nop - 800109c: 40023800 .word 0x40023800 - 80010a0: 40007000 .word 0x40007000 + 8001286: bf00 nop + 8001288: 3750 adds r7, #80 @ 0x50 + 800128a: 46bd mov sp, r7 + 800128c: bd80 pop {r7, pc} + 800128e: bf00 nop + 8001290: 40023800 .word 0x40023800 + 8001294: 40007000 .word 0x40007000 -080010a4 : +08001298 : * @brief TIM3 Initialization Function * @param None * @retval None */ static void MX_TIM3_Init(void) { - 80010a4: b580 push {r7, lr} - 80010a6: b086 sub sp, #24 - 80010a8: af00 add r7, sp, #0 + 8001298: b580 push {r7, lr} + 800129a: b086 sub sp, #24 + 800129c: af00 add r7, sp, #0 /* USER CODE BEGIN TIM3_Init 0 */ /* USER CODE END TIM3_Init 0 */ TIM_ClockConfigTypeDef sClockSourceConfig = {0}; - 80010aa: f107 0308 add.w r3, r7, #8 - 80010ae: 2200 movs r2, #0 - 80010b0: 601a str r2, [r3, #0] - 80010b2: 605a str r2, [r3, #4] - 80010b4: 609a str r2, [r3, #8] - 80010b6: 60da str r2, [r3, #12] + 800129e: f107 0308 add.w r3, r7, #8 + 80012a2: 2200 movs r2, #0 + 80012a4: 601a str r2, [r3, #0] + 80012a6: 605a str r2, [r3, #4] + 80012a8: 609a str r2, [r3, #8] + 80012aa: 60da str r2, [r3, #12] TIM_MasterConfigTypeDef sMasterConfig = {0}; - 80010b8: 463b mov r3, r7 - 80010ba: 2200 movs r2, #0 - 80010bc: 601a str r2, [r3, #0] - 80010be: 605a str r2, [r3, #4] + 80012ac: 463b mov r3, r7 + 80012ae: 2200 movs r2, #0 + 80012b0: 601a str r2, [r3, #0] + 80012b2: 605a str r2, [r3, #4] /* USER CODE BEGIN TIM3_Init 1 */ /* USER CODE END TIM3_Init 1 */ htim3.Instance = TIM3; - 80010c0: 4b1d ldr r3, [pc, #116] @ (8001138 ) - 80010c2: 4a1e ldr r2, [pc, #120] @ (800113c ) - 80010c4: 601a str r2, [r3, #0] + 80012b4: 4b1d ldr r3, [pc, #116] @ (800132c ) + 80012b6: 4a1e ldr r2, [pc, #120] @ (8001330 ) + 80012b8: 601a str r2, [r3, #0] htim3.Init.Prescaler = 22; - 80010c6: 4b1c ldr r3, [pc, #112] @ (8001138 ) - 80010c8: 2216 movs r2, #22 - 80010ca: 605a str r2, [r3, #4] + 80012ba: 4b1c ldr r3, [pc, #112] @ (800132c ) + 80012bc: 2216 movs r2, #22 + 80012be: 605a str r2, [r3, #4] htim3.Init.CounterMode = TIM_COUNTERMODE_UP; - 80010cc: 4b1a ldr r3, [pc, #104] @ (8001138 ) - 80010ce: 2200 movs r2, #0 - 80010d0: 609a str r2, [r3, #8] + 80012c0: 4b1a ldr r3, [pc, #104] @ (800132c ) + 80012c2: 2200 movs r2, #0 + 80012c4: 609a str r2, [r3, #8] htim3.Init.Period = 2170; - 80010d2: 4b19 ldr r3, [pc, #100] @ (8001138 ) - 80010d4: f640 027a movw r2, #2170 @ 0x87a - 80010d8: 60da str r2, [r3, #12] + 80012c6: 4b19 ldr r3, [pc, #100] @ (800132c ) + 80012c8: f640 027a movw r2, #2170 @ 0x87a + 80012cc: 60da str r2, [r3, #12] htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; - 80010da: 4b17 ldr r3, [pc, #92] @ (8001138 ) - 80010dc: 2200 movs r2, #0 - 80010de: 611a str r2, [r3, #16] + 80012ce: 4b17 ldr r3, [pc, #92] @ (800132c ) + 80012d0: 2200 movs r2, #0 + 80012d2: 611a str r2, [r3, #16] htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; - 80010e0: 4b15 ldr r3, [pc, #84] @ (8001138 ) - 80010e2: 2200 movs r2, #0 - 80010e4: 619a str r2, [r3, #24] + 80012d4: 4b15 ldr r3, [pc, #84] @ (800132c ) + 80012d6: 2200 movs r2, #0 + 80012d8: 619a str r2, [r3, #24] if (HAL_TIM_Base_Init(&htim3) != HAL_OK) - 80010e6: 4814 ldr r0, [pc, #80] @ (8001138 ) - 80010e8: f002 ff7c bl 8003fe4 - 80010ec: 4603 mov r3, r0 - 80010ee: 2b00 cmp r3, #0 - 80010f0: d001 beq.n 80010f6 + 80012da: 4814 ldr r0, [pc, #80] @ (800132c ) + 80012dc: f003 fb44 bl 8004968 + 80012e0: 4603 mov r3, r0 + 80012e2: 2b00 cmp r3, #0 + 80012e4: d001 beq.n 80012ea { Error_Handler(); - 80010f2: f000 fb82 bl 80017fa + 80012e6: f000 fc38 bl 8001b5a } sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL; - 80010f6: f44f 5380 mov.w r3, #4096 @ 0x1000 - 80010fa: 60bb str r3, [r7, #8] + 80012ea: f44f 5380 mov.w r3, #4096 @ 0x1000 + 80012ee: 60bb str r3, [r7, #8] if (HAL_TIM_ConfigClockSource(&htim3, &sClockSourceConfig) != HAL_OK) - 80010fc: f107 0308 add.w r3, r7, #8 - 8001100: 4619 mov r1, r3 - 8001102: 480d ldr r0, [pc, #52] @ (8001138 ) - 8001104: f003 f936 bl 8004374 - 8001108: 4603 mov r3, r0 - 800110a: 2b00 cmp r3, #0 - 800110c: d001 beq.n 8001112 + 80012f0: f107 0308 add.w r3, r7, #8 + 80012f4: 4619 mov r1, r3 + 80012f6: 480d ldr r0, [pc, #52] @ (800132c ) + 80012f8: f003 fcfe bl 8004cf8 + 80012fc: 4603 mov r3, r0 + 80012fe: 2b00 cmp r3, #0 + 8001300: d001 beq.n 8001306 { Error_Handler(); - 800110e: f000 fb74 bl 80017fa + 8001302: f000 fc2a bl 8001b5a } sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; - 8001112: 2300 movs r3, #0 - 8001114: 603b str r3, [r7, #0] + 8001306: 2300 movs r3, #0 + 8001308: 603b str r3, [r7, #0] sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; - 8001116: 2300 movs r3, #0 - 8001118: 607b str r3, [r7, #4] + 800130a: 2300 movs r3, #0 + 800130c: 607b str r3, [r7, #4] if (HAL_TIMEx_MasterConfigSynchronization(&htim3, &sMasterConfig) != HAL_OK) - 800111a: 463b mov r3, r7 - 800111c: 4619 mov r1, r3 - 800111e: 4806 ldr r0, [pc, #24] @ (8001138 ) - 8001120: f003 fb5c bl 80047dc - 8001124: 4603 mov r3, r0 - 8001126: 2b00 cmp r3, #0 - 8001128: d001 beq.n 800112e + 800130e: 463b mov r3, r7 + 8001310: 4619 mov r1, r3 + 8001312: 4806 ldr r0, [pc, #24] @ (800132c ) + 8001314: f003 ff24 bl 8005160 + 8001318: 4603 mov r3, r0 + 800131a: 2b00 cmp r3, #0 + 800131c: d001 beq.n 8001322 { Error_Handler(); - 800112a: f000 fb66 bl 80017fa + 800131e: f000 fc1c bl 8001b5a } /* USER CODE BEGIN TIM3_Init 2 */ /* USER CODE END TIM3_Init 2 */ } - 800112e: bf00 nop - 8001130: 3718 adds r7, #24 - 8001132: 46bd mov sp, r7 - 8001134: bd80 pop {r7, pc} - 8001136: bf00 nop - 8001138: 200006fc .word 0x200006fc - 800113c: 40000400 .word 0x40000400 + 8001322: bf00 nop + 8001324: 3718 adds r7, #24 + 8001326: 46bd mov sp, r7 + 8001328: bd80 pop {r7, pc} + 800132a: bf00 nop + 800132c: 20000710 .word 0x20000710 + 8001330: 40000400 .word 0x40000400 -08001140 : +08001334 : /* FMC initialization function */ static void MX_FMC_Init(void) { - 8001140: b580 push {r7, lr} - 8001142: b088 sub sp, #32 - 8001144: af00 add r7, sp, #0 + 8001334: b580 push {r7, lr} + 8001336: b088 sub sp, #32 + 8001338: af00 add r7, sp, #0 /* USER CODE BEGIN FMC_Init 0 */ /* USER CODE END FMC_Init 0 */ FMC_NORSRAM_TimingTypeDef Timing = {0}; - 8001146: 1d3b adds r3, r7, #4 - 8001148: 2200 movs r2, #0 - 800114a: 601a str r2, [r3, #0] - 800114c: 605a str r2, [r3, #4] - 800114e: 609a str r2, [r3, #8] - 8001150: 60da str r2, [r3, #12] - 8001152: 611a str r2, [r3, #16] - 8001154: 615a str r2, [r3, #20] - 8001156: 619a str r2, [r3, #24] + 800133a: 1d3b adds r3, r7, #4 + 800133c: 2200 movs r2, #0 + 800133e: 601a str r2, [r3, #0] + 8001340: 605a str r2, [r3, #4] + 8001342: 609a str r2, [r3, #8] + 8001344: 60da str r2, [r3, #12] + 8001346: 611a str r2, [r3, #16] + 8001348: 615a str r2, [r3, #20] + 800134a: 619a str r2, [r3, #24] /* USER CODE END FMC_Init 1 */ /** Perform the SRAM1 memory initialization sequence */ hsram1.Instance = FMC_NORSRAM_DEVICE; - 8001158: 4b28 ldr r3, [pc, #160] @ (80011fc ) - 800115a: f04f 4220 mov.w r2, #2684354560 @ 0xa0000000 - 800115e: 601a str r2, [r3, #0] + 800134c: 4b28 ldr r3, [pc, #160] @ (80013f0 ) + 800134e: f04f 4220 mov.w r2, #2684354560 @ 0xa0000000 + 8001352: 601a str r2, [r3, #0] hsram1.Extended = FMC_NORSRAM_EXTENDED_DEVICE; - 8001160: 4b26 ldr r3, [pc, #152] @ (80011fc ) - 8001162: 4a27 ldr r2, [pc, #156] @ (8001200 ) - 8001164: 605a str r2, [r3, #4] + 8001354: 4b26 ldr r3, [pc, #152] @ (80013f0 ) + 8001356: 4a27 ldr r2, [pc, #156] @ (80013f4 ) + 8001358: 605a str r2, [r3, #4] /* hsram1.Init */ hsram1.Init.NSBank = FMC_NORSRAM_BANK1; - 8001166: 4b25 ldr r3, [pc, #148] @ (80011fc ) - 8001168: 2200 movs r2, #0 - 800116a: 609a str r2, [r3, #8] + 800135a: 4b25 ldr r3, [pc, #148] @ (80013f0 ) + 800135c: 2200 movs r2, #0 + 800135e: 609a str r2, [r3, #8] hsram1.Init.DataAddressMux = FMC_DATA_ADDRESS_MUX_DISABLE; - 800116c: 4b23 ldr r3, [pc, #140] @ (80011fc ) - 800116e: 2200 movs r2, #0 - 8001170: 60da str r2, [r3, #12] + 8001360: 4b23 ldr r3, [pc, #140] @ (80013f0 ) + 8001362: 2200 movs r2, #0 + 8001364: 60da str r2, [r3, #12] hsram1.Init.MemoryType = FMC_MEMORY_TYPE_SRAM; - 8001172: 4b22 ldr r3, [pc, #136] @ (80011fc ) - 8001174: 2200 movs r2, #0 - 8001176: 611a str r2, [r3, #16] + 8001366: 4b22 ldr r3, [pc, #136] @ (80013f0 ) + 8001368: 2200 movs r2, #0 + 800136a: 611a str r2, [r3, #16] hsram1.Init.MemoryDataWidth = FMC_NORSRAM_MEM_BUS_WIDTH_16; - 8001178: 4b20 ldr r3, [pc, #128] @ (80011fc ) - 800117a: 2210 movs r2, #16 - 800117c: 615a str r2, [r3, #20] + 800136c: 4b20 ldr r3, [pc, #128] @ (80013f0 ) + 800136e: 2210 movs r2, #16 + 8001370: 615a str r2, [r3, #20] hsram1.Init.BurstAccessMode = FMC_BURST_ACCESS_MODE_DISABLE; - 800117e: 4b1f ldr r3, [pc, #124] @ (80011fc ) - 8001180: 2200 movs r2, #0 - 8001182: 619a str r2, [r3, #24] + 8001372: 4b1f ldr r3, [pc, #124] @ (80013f0 ) + 8001374: 2200 movs r2, #0 + 8001376: 619a str r2, [r3, #24] hsram1.Init.WaitSignalPolarity = FMC_WAIT_SIGNAL_POLARITY_LOW; - 8001184: 4b1d ldr r3, [pc, #116] @ (80011fc ) - 8001186: 2200 movs r2, #0 - 8001188: 61da str r2, [r3, #28] + 8001378: 4b1d ldr r3, [pc, #116] @ (80013f0 ) + 800137a: 2200 movs r2, #0 + 800137c: 61da str r2, [r3, #28] hsram1.Init.WrapMode = FMC_WRAP_MODE_DISABLE; - 800118a: 4b1c ldr r3, [pc, #112] @ (80011fc ) - 800118c: 2200 movs r2, #0 - 800118e: 621a str r2, [r3, #32] + 800137e: 4b1c ldr r3, [pc, #112] @ (80013f0 ) + 8001380: 2200 movs r2, #0 + 8001382: 621a str r2, [r3, #32] hsram1.Init.WaitSignalActive = FMC_WAIT_TIMING_BEFORE_WS; - 8001190: 4b1a ldr r3, [pc, #104] @ (80011fc ) - 8001192: 2200 movs r2, #0 - 8001194: 625a str r2, [r3, #36] @ 0x24 + 8001384: 4b1a ldr r3, [pc, #104] @ (80013f0 ) + 8001386: 2200 movs r2, #0 + 8001388: 625a str r2, [r3, #36] @ 0x24 hsram1.Init.WriteOperation = FMC_WRITE_OPERATION_ENABLE; - 8001196: 4b19 ldr r3, [pc, #100] @ (80011fc ) - 8001198: f44f 5280 mov.w r2, #4096 @ 0x1000 - 800119c: 629a str r2, [r3, #40] @ 0x28 + 800138a: 4b19 ldr r3, [pc, #100] @ (80013f0 ) + 800138c: f44f 5280 mov.w r2, #4096 @ 0x1000 + 8001390: 629a str r2, [r3, #40] @ 0x28 hsram1.Init.WaitSignal = FMC_WAIT_SIGNAL_DISABLE; - 800119e: 4b17 ldr r3, [pc, #92] @ (80011fc ) - 80011a0: 2200 movs r2, #0 - 80011a2: 62da str r2, [r3, #44] @ 0x2c + 8001392: 4b17 ldr r3, [pc, #92] @ (80013f0 ) + 8001394: 2200 movs r2, #0 + 8001396: 62da str r2, [r3, #44] @ 0x2c hsram1.Init.ExtendedMode = FMC_EXTENDED_MODE_DISABLE; - 80011a4: 4b15 ldr r3, [pc, #84] @ (80011fc ) - 80011a6: 2200 movs r2, #0 - 80011a8: 631a str r2, [r3, #48] @ 0x30 + 8001398: 4b15 ldr r3, [pc, #84] @ (80013f0 ) + 800139a: 2200 movs r2, #0 + 800139c: 631a str r2, [r3, #48] @ 0x30 hsram1.Init.AsynchronousWait = FMC_ASYNCHRONOUS_WAIT_DISABLE; - 80011aa: 4b14 ldr r3, [pc, #80] @ (80011fc ) - 80011ac: 2200 movs r2, #0 - 80011ae: 635a str r2, [r3, #52] @ 0x34 + 800139e: 4b14 ldr r3, [pc, #80] @ (80013f0 ) + 80013a0: 2200 movs r2, #0 + 80013a2: 635a str r2, [r3, #52] @ 0x34 hsram1.Init.WriteBurst = FMC_WRITE_BURST_DISABLE; - 80011b0: 4b12 ldr r3, [pc, #72] @ (80011fc ) - 80011b2: 2200 movs r2, #0 - 80011b4: 639a str r2, [r3, #56] @ 0x38 + 80013a4: 4b12 ldr r3, [pc, #72] @ (80013f0 ) + 80013a6: 2200 movs r2, #0 + 80013a8: 639a str r2, [r3, #56] @ 0x38 hsram1.Init.ContinuousClock = FMC_CONTINUOUS_CLOCK_SYNC_ONLY; - 80011b6: 4b11 ldr r3, [pc, #68] @ (80011fc ) - 80011b8: 2200 movs r2, #0 - 80011ba: 63da str r2, [r3, #60] @ 0x3c + 80013aa: 4b11 ldr r3, [pc, #68] @ (80013f0 ) + 80013ac: 2200 movs r2, #0 + 80013ae: 63da str r2, [r3, #60] @ 0x3c hsram1.Init.PageSize = FMC_PAGE_SIZE_NONE; - 80011bc: 4b0f ldr r3, [pc, #60] @ (80011fc ) - 80011be: 2200 movs r2, #0 - 80011c0: 645a str r2, [r3, #68] @ 0x44 + 80013b0: 4b0f ldr r3, [pc, #60] @ (80013f0 ) + 80013b2: 2200 movs r2, #0 + 80013b4: 645a str r2, [r3, #68] @ 0x44 /* Timing */ - Timing.AddressSetupTime = 15; - 80011c2: 230f movs r3, #15 - 80011c4: 607b str r3, [r7, #4] - Timing.AddressHoldTime = 15; - 80011c6: 230f movs r3, #15 - 80011c8: 60bb str r3, [r7, #8] - Timing.DataSetupTime = 255; - 80011ca: 23ff movs r3, #255 @ 0xff - 80011cc: 60fb str r3, [r7, #12] - Timing.BusTurnAroundDuration = 15; - 80011ce: 230f movs r3, #15 - 80011d0: 613b str r3, [r7, #16] - Timing.CLKDivision = 16; - 80011d2: 2310 movs r3, #16 - 80011d4: 617b str r3, [r7, #20] - Timing.DataLatency = 17; - 80011d6: 2311 movs r3, #17 - 80011d8: 61bb str r3, [r7, #24] + Timing.AddressSetupTime = 10; + 80013b6: 230a movs r3, #10 + 80013b8: 607b str r3, [r7, #4] + Timing.AddressHoldTime = 10; + 80013ba: 230a movs r3, #10 + 80013bc: 60bb str r3, [r7, #8] + Timing.DataSetupTime = 15; + 80013be: 230f movs r3, #15 + 80013c0: 60fb str r3, [r7, #12] + Timing.BusTurnAroundDuration = 10; + 80013c2: 230a movs r3, #10 + 80013c4: 613b str r3, [r7, #16] + Timing.CLKDivision = 10; + 80013c6: 230a movs r3, #10 + 80013c8: 617b str r3, [r7, #20] + Timing.DataLatency = 10; + 80013ca: 230a movs r3, #10 + 80013cc: 61bb str r3, [r7, #24] Timing.AccessMode = FMC_ACCESS_MODE_A; - 80011da: 2300 movs r3, #0 - 80011dc: 61fb str r3, [r7, #28] - /* ExtTiming */ + 80013ce: 2300 movs r3, #0 + 80013d0: 61fb str r3, [r7, #28] + if (HAL_SRAM_Init(&hsram1, &Timing, NULL) != HAL_OK) - 80011de: 1d3b adds r3, r7, #4 - 80011e0: 2200 movs r2, #0 - 80011e2: 4619 mov r1, r3 - 80011e4: 4805 ldr r0, [pc, #20] @ (80011fc ) - 80011e6: f002 feb5 bl 8003f54 - 80011ea: 4603 mov r3, r0 - 80011ec: 2b00 cmp r3, #0 - 80011ee: d001 beq.n 80011f4 + 80013d2: 1d3b adds r3, r7, #4 + 80013d4: 2200 movs r2, #0 + 80013d6: 4619 mov r1, r3 + 80013d8: 4805 ldr r0, [pc, #20] @ (80013f0 ) + 80013da: f003 fa7d bl 80048d8 + 80013de: 4603 mov r3, r0 + 80013e0: 2b00 cmp r3, #0 + 80013e2: d001 beq.n 80013e8 { Error_Handler( ); - 80011f0: f000 fb03 bl 80017fa + 80013e4: f000 fbb9 bl 8001b5a } /* USER CODE BEGIN FMC_Init 2 */ /* USER CODE END FMC_Init 2 */ } - 80011f4: bf00 nop - 80011f6: 3720 adds r7, #32 - 80011f8: 46bd mov sp, r7 - 80011fa: bd80 pop {r7, pc} - 80011fc: 20000744 .word 0x20000744 - 8001200: a0000104 .word 0xa0000104 + 80013e8: bf00 nop + 80013ea: 3720 adds r7, #32 + 80013ec: 46bd mov sp, r7 + 80013ee: bd80 pop {r7, pc} + 80013f0: 20000758 .word 0x20000758 + 80013f4: a0000104 .word 0xa0000104 -08001204 : +080013f8 : * @brief GPIO Initialization Function * @param None * @retval None */ static void MX_GPIO_Init(void) { - 8001204: b580 push {r7, lr} - 8001206: b08c sub sp, #48 @ 0x30 - 8001208: af00 add r7, sp, #0 + 80013f8: b580 push {r7, lr} + 80013fa: b08c sub sp, #48 @ 0x30 + 80013fc: af00 add r7, sp, #0 GPIO_InitTypeDef GPIO_InitStruct = {0}; - 800120a: f107 031c add.w r3, r7, #28 - 800120e: 2200 movs r2, #0 - 8001210: 601a str r2, [r3, #0] - 8001212: 605a str r2, [r3, #4] - 8001214: 609a str r2, [r3, #8] - 8001216: 60da str r2, [r3, #12] - 8001218: 611a str r2, [r3, #16] + 80013fe: f107 031c add.w r3, r7, #28 + 8001402: 2200 movs r2, #0 + 8001404: 601a str r2, [r3, #0] + 8001406: 605a str r2, [r3, #4] + 8001408: 609a str r2, [r3, #8] + 800140a: 60da str r2, [r3, #12] + 800140c: 611a str r2, [r3, #16] /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOE_CLK_ENABLE(); - 800121a: 2300 movs r3, #0 - 800121c: 61bb str r3, [r7, #24] - 800121e: 4b43 ldr r3, [pc, #268] @ (800132c ) - 8001220: 6b1b ldr r3, [r3, #48] @ 0x30 - 8001222: 4a42 ldr r2, [pc, #264] @ (800132c ) - 8001224: f043 0310 orr.w r3, r3, #16 - 8001228: 6313 str r3, [r2, #48] @ 0x30 - 800122a: 4b40 ldr r3, [pc, #256] @ (800132c ) - 800122c: 6b1b ldr r3, [r3, #48] @ 0x30 - 800122e: f003 0310 and.w r3, r3, #16 - 8001232: 61bb str r3, [r7, #24] - 8001234: 69bb ldr r3, [r7, #24] + 800140e: 2300 movs r3, #0 + 8001410: 61bb str r3, [r7, #24] + 8001412: 4b43 ldr r3, [pc, #268] @ (8001520 ) + 8001414: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001416: 4a42 ldr r2, [pc, #264] @ (8001520 ) + 8001418: f043 0310 orr.w r3, r3, #16 + 800141c: 6313 str r3, [r2, #48] @ 0x30 + 800141e: 4b40 ldr r3, [pc, #256] @ (8001520 ) + 8001420: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001422: f003 0310 and.w r3, r3, #16 + 8001426: 61bb str r3, [r7, #24] + 8001428: 69bb ldr r3, [r7, #24] __HAL_RCC_GPIOC_CLK_ENABLE(); - 8001236: 2300 movs r3, #0 - 8001238: 617b str r3, [r7, #20] - 800123a: 4b3c ldr r3, [pc, #240] @ (800132c ) - 800123c: 6b1b ldr r3, [r3, #48] @ 0x30 - 800123e: 4a3b ldr r2, [pc, #236] @ (800132c ) - 8001240: f043 0304 orr.w r3, r3, #4 - 8001244: 6313 str r3, [r2, #48] @ 0x30 - 8001246: 4b39 ldr r3, [pc, #228] @ (800132c ) - 8001248: 6b1b ldr r3, [r3, #48] @ 0x30 - 800124a: f003 0304 and.w r3, r3, #4 - 800124e: 617b str r3, [r7, #20] - 8001250: 697b ldr r3, [r7, #20] + 800142a: 2300 movs r3, #0 + 800142c: 617b str r3, [r7, #20] + 800142e: 4b3c ldr r3, [pc, #240] @ (8001520 ) + 8001430: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001432: 4a3b ldr r2, [pc, #236] @ (8001520 ) + 8001434: f043 0304 orr.w r3, r3, #4 + 8001438: 6313 str r3, [r2, #48] @ 0x30 + 800143a: 4b39 ldr r3, [pc, #228] @ (8001520 ) + 800143c: 6b1b ldr r3, [r3, #48] @ 0x30 + 800143e: f003 0304 and.w r3, r3, #4 + 8001442: 617b str r3, [r7, #20] + 8001444: 697b ldr r3, [r7, #20] __HAL_RCC_GPIOF_CLK_ENABLE(); - 8001252: 2300 movs r3, #0 - 8001254: 613b str r3, [r7, #16] - 8001256: 4b35 ldr r3, [pc, #212] @ (800132c ) - 8001258: 6b1b ldr r3, [r3, #48] @ 0x30 - 800125a: 4a34 ldr r2, [pc, #208] @ (800132c ) - 800125c: f043 0320 orr.w r3, r3, #32 - 8001260: 6313 str r3, [r2, #48] @ 0x30 - 8001262: 4b32 ldr r3, [pc, #200] @ (800132c ) - 8001264: 6b1b ldr r3, [r3, #48] @ 0x30 - 8001266: f003 0320 and.w r3, r3, #32 - 800126a: 613b str r3, [r7, #16] - 800126c: 693b ldr r3, [r7, #16] + 8001446: 2300 movs r3, #0 + 8001448: 613b str r3, [r7, #16] + 800144a: 4b35 ldr r3, [pc, #212] @ (8001520 ) + 800144c: 6b1b ldr r3, [r3, #48] @ 0x30 + 800144e: 4a34 ldr r2, [pc, #208] @ (8001520 ) + 8001450: f043 0320 orr.w r3, r3, #32 + 8001454: 6313 str r3, [r2, #48] @ 0x30 + 8001456: 4b32 ldr r3, [pc, #200] @ (8001520 ) + 8001458: 6b1b ldr r3, [r3, #48] @ 0x30 + 800145a: f003 0320 and.w r3, r3, #32 + 800145e: 613b str r3, [r7, #16] + 8001460: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOA_CLK_ENABLE(); - 800126e: 2300 movs r3, #0 - 8001270: 60fb str r3, [r7, #12] - 8001272: 4b2e ldr r3, [pc, #184] @ (800132c ) - 8001274: 6b1b ldr r3, [r3, #48] @ 0x30 - 8001276: 4a2d ldr r2, [pc, #180] @ (800132c ) - 8001278: f043 0301 orr.w r3, r3, #1 - 800127c: 6313 str r3, [r2, #48] @ 0x30 - 800127e: 4b2b ldr r3, [pc, #172] @ (800132c ) - 8001280: 6b1b ldr r3, [r3, #48] @ 0x30 - 8001282: f003 0301 and.w r3, r3, #1 - 8001286: 60fb str r3, [r7, #12] - 8001288: 68fb ldr r3, [r7, #12] + 8001462: 2300 movs r3, #0 + 8001464: 60fb str r3, [r7, #12] + 8001466: 4b2e ldr r3, [pc, #184] @ (8001520 ) + 8001468: 6b1b ldr r3, [r3, #48] @ 0x30 + 800146a: 4a2d ldr r2, [pc, #180] @ (8001520 ) + 800146c: f043 0301 orr.w r3, r3, #1 + 8001470: 6313 str r3, [r2, #48] @ 0x30 + 8001472: 4b2b ldr r3, [pc, #172] @ (8001520 ) + 8001474: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001476: f003 0301 and.w r3, r3, #1 + 800147a: 60fb str r3, [r7, #12] + 800147c: 68fb ldr r3, [r7, #12] __HAL_RCC_GPIOG_CLK_ENABLE(); - 800128a: 2300 movs r3, #0 - 800128c: 60bb str r3, [r7, #8] - 800128e: 4b27 ldr r3, [pc, #156] @ (800132c ) - 8001290: 6b1b ldr r3, [r3, #48] @ 0x30 - 8001292: 4a26 ldr r2, [pc, #152] @ (800132c ) - 8001294: f043 0340 orr.w r3, r3, #64 @ 0x40 - 8001298: 6313 str r3, [r2, #48] @ 0x30 - 800129a: 4b24 ldr r3, [pc, #144] @ (800132c ) - 800129c: 6b1b ldr r3, [r3, #48] @ 0x30 - 800129e: f003 0340 and.w r3, r3, #64 @ 0x40 - 80012a2: 60bb str r3, [r7, #8] - 80012a4: 68bb ldr r3, [r7, #8] + 800147e: 2300 movs r3, #0 + 8001480: 60bb str r3, [r7, #8] + 8001482: 4b27 ldr r3, [pc, #156] @ (8001520 ) + 8001484: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001486: 4a26 ldr r2, [pc, #152] @ (8001520 ) + 8001488: f043 0340 orr.w r3, r3, #64 @ 0x40 + 800148c: 6313 str r3, [r2, #48] @ 0x30 + 800148e: 4b24 ldr r3, [pc, #144] @ (8001520 ) + 8001490: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001492: f003 0340 and.w r3, r3, #64 @ 0x40 + 8001496: 60bb str r3, [r7, #8] + 8001498: 68bb ldr r3, [r7, #8] __HAL_RCC_GPIOB_CLK_ENABLE(); - 80012a6: 2300 movs r3, #0 - 80012a8: 607b str r3, [r7, #4] - 80012aa: 4b20 ldr r3, [pc, #128] @ (800132c ) - 80012ac: 6b1b ldr r3, [r3, #48] @ 0x30 - 80012ae: 4a1f ldr r2, [pc, #124] @ (800132c ) - 80012b0: f043 0302 orr.w r3, r3, #2 - 80012b4: 6313 str r3, [r2, #48] @ 0x30 - 80012b6: 4b1d ldr r3, [pc, #116] @ (800132c ) - 80012b8: 6b1b ldr r3, [r3, #48] @ 0x30 - 80012ba: f003 0302 and.w r3, r3, #2 - 80012be: 607b str r3, [r7, #4] - 80012c0: 687b ldr r3, [r7, #4] + 800149a: 2300 movs r3, #0 + 800149c: 607b str r3, [r7, #4] + 800149e: 4b20 ldr r3, [pc, #128] @ (8001520 ) + 80014a0: 6b1b ldr r3, [r3, #48] @ 0x30 + 80014a2: 4a1f ldr r2, [pc, #124] @ (8001520 ) + 80014a4: f043 0302 orr.w r3, r3, #2 + 80014a8: 6313 str r3, [r2, #48] @ 0x30 + 80014aa: 4b1d ldr r3, [pc, #116] @ (8001520 ) + 80014ac: 6b1b ldr r3, [r3, #48] @ 0x30 + 80014ae: f003 0302 and.w r3, r3, #2 + 80014b2: 607b str r3, [r7, #4] + 80014b4: 687b ldr r3, [r7, #4] __HAL_RCC_GPIOD_CLK_ENABLE(); - 80012c2: 2300 movs r3, #0 - 80012c4: 603b str r3, [r7, #0] - 80012c6: 4b19 ldr r3, [pc, #100] @ (800132c ) - 80012c8: 6b1b ldr r3, [r3, #48] @ 0x30 - 80012ca: 4a18 ldr r2, [pc, #96] @ (800132c ) - 80012cc: f043 0308 orr.w r3, r3, #8 - 80012d0: 6313 str r3, [r2, #48] @ 0x30 - 80012d2: 4b16 ldr r3, [pc, #88] @ (800132c ) - 80012d4: 6b1b ldr r3, [r3, #48] @ 0x30 - 80012d6: f003 0308 and.w r3, r3, #8 - 80012da: 603b str r3, [r7, #0] - 80012dc: 683b ldr r3, [r7, #0] + 80014b6: 2300 movs r3, #0 + 80014b8: 603b str r3, [r7, #0] + 80014ba: 4b19 ldr r3, [pc, #100] @ (8001520 ) + 80014bc: 6b1b ldr r3, [r3, #48] @ 0x30 + 80014be: 4a18 ldr r2, [pc, #96] @ (8001520 ) + 80014c0: f043 0308 orr.w r3, r3, #8 + 80014c4: 6313 str r3, [r2, #48] @ 0x30 + 80014c6: 4b16 ldr r3, [pc, #88] @ (8001520 ) + 80014c8: 6b1b ldr r3, [r3, #48] @ 0x30 + 80014ca: f003 0308 and.w r3, r3, #8 + 80014ce: 603b str r3, [r7, #0] + 80014d0: 683b ldr r3, [r7, #0] /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(GPIOC, GPIO_PIN_14, GPIO_PIN_RESET); - 80012de: 2200 movs r2, #0 - 80012e0: f44f 4180 mov.w r1, #16384 @ 0x4000 - 80012e4: 4812 ldr r0, [pc, #72] @ (8001330 ) - 80012e6: f002 f9eb bl 80036c0 + 80014d2: 2200 movs r2, #0 + 80014d4: f44f 4180 mov.w r1, #16384 @ 0x4000 + 80014d8: 4812 ldr r0, [pc, #72] @ (8001524 ) + 80014da: f002 fdb3 bl 8004044 /*Configure GPIO pins : PC13 PC6 PC7 PC8 PC12 */ GPIO_InitStruct.Pin = GPIO_PIN_13|GPIO_PIN_6|GPIO_PIN_7|GPIO_PIN_8 - 80012ea: f44f 5347 mov.w r3, #12736 @ 0x31c0 - 80012ee: 61fb str r3, [r7, #28] + 80014de: f44f 5347 mov.w r3, #12736 @ 0x31c0 + 80014e2: 61fb str r3, [r7, #28] |GPIO_PIN_12; GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 80012f0: 2300 movs r3, #0 - 80012f2: 623b str r3, [r7, #32] + 80014e4: 2300 movs r3, #0 + 80014e6: 623b str r3, [r7, #32] GPIO_InitStruct.Pull = GPIO_NOPULL; - 80012f4: 2300 movs r3, #0 - 80012f6: 627b str r3, [r7, #36] @ 0x24 + 80014e8: 2300 movs r3, #0 + 80014ea: 627b str r3, [r7, #36] @ 0x24 HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); - 80012f8: f107 031c add.w r3, r7, #28 - 80012fc: 4619 mov r1, r3 - 80012fe: 480c ldr r0, [pc, #48] @ (8001330 ) - 8001300: f002 f832 bl 8003368 + 80014ec: f107 031c add.w r3, r7, #28 + 80014f0: 4619 mov r1, r3 + 80014f2: 480c ldr r0, [pc, #48] @ (8001524 ) + 80014f4: f002 fbfa bl 8003cec /*Configure GPIO pin : PC14 */ GPIO_InitStruct.Pin = GPIO_PIN_14; - 8001304: f44f 4380 mov.w r3, #16384 @ 0x4000 - 8001308: 61fb str r3, [r7, #28] + 80014f8: f44f 4380 mov.w r3, #16384 @ 0x4000 + 80014fc: 61fb str r3, [r7, #28] GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 800130a: 2301 movs r3, #1 - 800130c: 623b str r3, [r7, #32] + 80014fe: 2301 movs r3, #1 + 8001500: 623b str r3, [r7, #32] GPIO_InitStruct.Pull = GPIO_NOPULL; - 800130e: 2300 movs r3, #0 - 8001310: 627b str r3, [r7, #36] @ 0x24 + 8001502: 2300 movs r3, #0 + 8001504: 627b str r3, [r7, #36] @ 0x24 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8001312: 2300 movs r3, #0 - 8001314: 62bb str r3, [r7, #40] @ 0x28 + 8001506: 2300 movs r3, #0 + 8001508: 62bb str r3, [r7, #40] @ 0x28 HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); - 8001316: f107 031c add.w r3, r7, #28 - 800131a: 4619 mov r1, r3 - 800131c: 4804 ldr r0, [pc, #16] @ (8001330 ) - 800131e: f002 f823 bl 8003368 + 800150a: f107 031c add.w r3, r7, #28 + 800150e: 4619 mov r1, r3 + 8001510: 4804 ldr r0, [pc, #16] @ (8001524 ) + 8001512: f002 fbeb bl 8003cec } - 8001322: bf00 nop - 8001324: 3730 adds r7, #48 @ 0x30 - 8001326: 46bd mov sp, r7 - 8001328: bd80 pop {r7, pc} - 800132a: bf00 nop - 800132c: 40023800 .word 0x40023800 - 8001330: 40020800 .word 0x40020800 + 8001516: bf00 nop + 8001518: 3730 adds r7, #48 @ 0x30 + 800151a: 46bd mov sp, r7 + 800151c: bd80 pop {r7, pc} + 800151e: bf00 nop + 8001520: 40023800 .word 0x40023800 + 8001524: 40020800 .word 0x40020800 -08001334 : +08001528 : /* USER CODE BEGIN 4 */ uint16_t create_header(void) { - 8001334: b580 push {r7, lr} - 8001336: af00 add r7, sp, #0 + 8001528: b580 push {r7, lr} + 800152a: af00 add r7, sp, #0 tx_msg.tx_buf[0] = 0; - 8001338: 4b10 ldr r3, [pc, #64] @ (800137c ) - 800133a: 2200 movs r2, #0 - 800133c: 701a strb r2, [r3, #0] + 800152c: 4b10 ldr r3, [pc, #64] @ (8001570 ) + 800152e: 2200 movs r2, #0 + 8001530: 701a strb r2, [r3, #0] tx_msg.tx_buf[1] = 0; - 800133e: 4b0f ldr r3, [pc, #60] @ (800137c ) - 8001340: 2200 movs r2, #0 - 8001342: 705a strb r2, [r3, #1] + 8001532: 4b0f ldr r3, [pc, #60] @ (8001570 ) + 8001534: 2200 movs r2, #0 + 8001536: 705a strb r2, [r3, #1] tx_msg.tx_buf[2] = rx_msg.rx_buf[2]; - 8001344: 4b0e ldr r3, [pc, #56] @ (8001380 ) - 8001346: 7a5a ldrb r2, [r3, #9] - 8001348: 4b0c ldr r3, [pc, #48] @ (800137c ) - 800134a: 709a strb r2, [r3, #2] + 8001538: 4b0e ldr r3, [pc, #56] @ (8001574 ) + 800153a: 7a5a ldrb r2, [r3, #9] + 800153c: 4b0c ldr r3, [pc, #48] @ (8001570 ) + 800153e: 709a strb r2, [r3, #2] tx_msg.tx_buf[3] = rx_msg.rx_buf[3]; - 800134c: 4b0c ldr r3, [pc, #48] @ (8001380 ) - 800134e: 7a9a ldrb r2, [r3, #10] - 8001350: 4b0a ldr r3, [pc, #40] @ (800137c ) - 8001352: 70da strb r2, [r3, #3] + 8001540: 4b0c ldr r3, [pc, #48] @ (8001574 ) + 8001542: 7a9a ldrb r2, [r3, #10] + 8001544: 4b0a ldr r3, [pc, #40] @ (8001570 ) + 8001546: 70da strb r2, [r3, #3] tx_msg.tx_buf[5] = 0; - 8001354: 4b09 ldr r3, [pc, #36] @ (800137c ) - 8001356: 2200 movs r2, #0 - 8001358: 715a strb r2, [r3, #5] + 8001548: 4b09 ldr r3, [pc, #36] @ (8001570 ) + 800154a: 2200 movs r2, #0 + 800154c: 715a strb r2, [r3, #5] tx_msg.tx_buf[6] = 0; - 800135a: 4b08 ldr r3, [pc, #32] @ (800137c ) - 800135c: 2200 movs r2, #0 - 800135e: 719a strb r2, [r3, #6] + 800154e: 4b08 ldr r3, [pc, #32] @ (8001570 ) + 8001550: 2200 movs r2, #0 + 8001552: 719a strb r2, [r3, #6] tx_msg.status_len = set_status(tx_msg.tx_buf) + 6; - 8001360: 4806 ldr r0, [pc, #24] @ (800137c ) - 8001362: f000 fa97 bl 8001894 - 8001366: 4603 mov r3, r0 - 8001368: 3306 adds r3, #6 - 800136a: b29a uxth r2, r3 - 800136c: 4b03 ldr r3, [pc, #12] @ (800137c ) - 800136e: f8a3 2578 strh.w r2, [r3, #1400] @ 0x578 + 8001554: 4806 ldr r0, [pc, #24] @ (8001570 ) + 8001556: f000 fb4d bl 8001bf4 + 800155a: 4603 mov r3, r0 + 800155c: 3306 adds r3, #6 + 800155e: b29a uxth r2, r3 + 8001560: 4b03 ldr r3, [pc, #12] @ (8001570 ) + 8001562: f8a3 2578 strh.w r2, [r3, #1400] @ 0x578 return tx_msg.status_len; - 8001372: 4b02 ldr r3, [pc, #8] @ (800137c ) - 8001374: f8b3 3578 ldrh.w r3, [r3, #1400] @ 0x578 + 8001566: 4b02 ldr r3, [pc, #8] @ (8001570 ) + 8001568: f8b3 3578 ldrh.w r3, [r3, #1400] @ 0x578 } - 8001378: 4618 mov r0, r3 - 800137a: bd80 pop {r7, pc} - 800137c: 20000fa8 .word 0x20000fa8 - 8001380: 2000079c .word 0x2000079c + 800156c: 4618 mov r0, r3 + 800156e: bd80 pop {r7, pc} + 8001570: 20000fbc .word 0x20000fbc + 8001574: 200007b0 .word 0x200007b0 -08001384 : +08001578 : void set_pbuf_params(struct pbuf *p, u16_t length) { - 8001384: b580 push {r7, lr} - 8001386: b082 sub sp, #8 - 8001388: af00 add r7, sp, #0 - 800138a: 6078 str r0, [r7, #4] - 800138c: 460b mov r3, r1 - 800138e: 807b strh r3, [r7, #2] + 8001578: b580 push {r7, lr} + 800157a: b082 sub sp, #8 + 800157c: af00 add r7, sp, #0 + 800157e: 6078 str r0, [r7, #4] + 8001580: 460b mov r3, r1 + 8001582: 807b strh r3, [r7, #2] p->len = length; - 8001390: 687b ldr r3, [r7, #4] - 8001392: 887a ldrh r2, [r7, #2] - 8001394: 815a strh r2, [r3, #10] + 8001584: 687b ldr r3, [r7, #4] + 8001586: 887a ldrh r2, [r7, #2] + 8001588: 815a strh r2, [r3, #10] p->tot_len = p->len; - 8001396: 687b ldr r3, [r7, #4] - 8001398: 895a ldrh r2, [r3, #10] - 800139a: 687b ldr r3, [r7, #4] - 800139c: 811a strh r2, [r3, #8] + 800158a: 687b ldr r3, [r7, #4] + 800158c: 895a ldrh r2, [r3, #10] + 800158e: 687b ldr r3, [r7, #4] + 8001590: 811a strh r2, [r3, #8] memcpy(p->payload, tx_msg.tx_buf, p->tot_len); - 800139e: 687b ldr r3, [r7, #4] - 80013a0: 6858 ldr r0, [r3, #4] - 80013a2: 687b ldr r3, [r7, #4] - 80013a4: 891b ldrh r3, [r3, #8] - 80013a6: 461a mov r2, r3 - 80013a8: 4903 ldr r1, [pc, #12] @ (80013b8 ) - 80013aa: f010 fa21 bl 80117f0 + 8001592: 687b ldr r3, [r7, #4] + 8001594: 6858 ldr r0, [r3, #4] + 8001596: 687b ldr r3, [r7, #4] + 8001598: 891b ldrh r3, [r3, #8] + 800159a: 461a mov r2, r3 + 800159c: 4903 ldr r1, [pc, #12] @ (80015ac ) + 800159e: f010 fde9 bl 8012174 } - 80013ae: bf00 nop - 80013b0: 3708 adds r7, #8 - 80013b2: 46bd mov sp, r7 - 80013b4: bd80 pop {r7, pc} - 80013b6: bf00 nop - 80013b8: 20000fa8 .word 0x20000fa8 + 80015a2: bf00 nop + 80015a4: 3708 adds r7, #8 + 80015a6: 46bd mov sp, r7 + 80015a8: bd80 pop {r7, pc} + 80015aa: bf00 nop + 80015ac: 20000fbc .word 0x20000fbc -080013bc : +080015b0 : void sock_init(struct udp_pcb * pcb) { - 80013bc: b580 push {r7, lr} - 80013be: b084 sub sp, #16 - 80013c0: af00 add r7, sp, #0 - 80013c2: 6078 str r0, [r7, #4] + 80015b0: b580 push {r7, lr} + 80015b2: b084 sub sp, #16 + 80015b4: af00 add r7, sp, #0 + 80015b6: 6078 str r0, [r7, #4] uint32_t ipaddr = get_ip(); - 80013c4: f000 fa20 bl 8001808 - 80013c8: 4603 mov r3, r0 - 80013ca: 60bb str r3, [r7, #8] + 80015b8: f000 fad6 bl 8001b68 + 80015bc: 4603 mov r3, r0 + 80015be: 60bb str r3, [r7, #8] u16_t port = get_port(); - 80013cc: f000 fa42 bl 8001854 - 80013d0: 4603 mov r3, r0 - 80013d2: 81fb strh r3, [r7, #14] + 80015c0: f000 faf8 bl 8001bb4 + 80015c4: 4603 mov r3, r0 + 80015c6: 81fb strh r3, [r7, #14] err_t errok = udp_bind(pcb, (ip_addr_t*)&ipaddr, port); - 80013d4: 89fa ldrh r2, [r7, #14] - 80013d6: f107 0308 add.w r3, r7, #8 - 80013da: 4619 mov r1, r3 - 80013dc: 6878 ldr r0, [r7, #4] - 80013de: f00b fbdb bl 800cb98 - 80013e2: 4603 mov r3, r0 - 80013e4: 737b strb r3, [r7, #13] + 80015c8: 89fa ldrh r2, [r7, #14] + 80015ca: f107 0308 add.w r3, r7, #8 + 80015ce: 4619 mov r1, r3 + 80015d0: 6878 ldr r0, [r7, #4] + 80015d2: f00b ffa3 bl 800d51c + 80015d6: 4603 mov r3, r0 + 80015d8: 737b strb r3, [r7, #13] udp_recv(pcb, udp_echo_recv, NULL); - 80013e6: 2200 movs r2, #0 - 80013e8: 4912 ldr r1, [pc, #72] @ (8001434 ) - 80013ea: 6878 ldr r0, [r7, #4] - 80013ec: f00b fcca bl 800cd84 + 80015da: 2200 movs r2, #0 + 80015dc: 4912 ldr r1, [pc, #72] @ (8001628 ) + 80015de: 6878 ldr r0, [r7, #4] + 80015e0: f00c f892 bl 800d708 rx_msg.port = 0; - 80013f0: 4b11 ldr r3, [pc, #68] @ (8001438 ) - 80013f2: 2200 movs r2, #0 - 80013f4: 801a strh r2, [r3, #0] + 80015e4: 4b11 ldr r3, [pc, #68] @ (800162c ) + 80015e6: 2200 movs r2, #0 + 80015e8: 801a strh r2, [r3, #0] rx_msg.cmd_num = 0; - 80013f6: 4b10 ldr r3, [pc, #64] @ (8001438 ) - 80013f8: 2200 movs r2, #0 - 80013fa: 805a strh r2, [r3, #2] + 80015ea: 4b10 ldr r3, [pc, #64] @ (800162c ) + 80015ec: 2200 movs r2, #0 + 80015ee: 805a strh r2, [r3, #2] rx_msg.cmd_code = 0; - 80013fc: 4b0e ldr r3, [pc, #56] @ (8001438 ) - 80013fe: 2200 movs r2, #0 - 8001400: 809a strh r2, [r3, #4] + 80015f0: 4b0e ldr r3, [pc, #56] @ (800162c ) + 80015f2: 2200 movs r2, #0 + 80015f4: 809a strh r2, [r3, #4] rx_msg.clnt_con = 0; - 8001402: 4b0d ldr r3, [pc, #52] @ (8001438 ) - 8001404: 2200 movs r2, #0 - 8001406: 719a strb r2, [r3, #6] + 80015f6: 4b0d ldr r3, [pc, #52] @ (800162c ) + 80015f8: 2200 movs r2, #0 + 80015fa: 719a strb r2, [r3, #6] rx_msg.length = 0; - 8001408: 4b0b ldr r3, [pc, #44] @ (8001438 ) - 800140a: 2200 movs r2, #0 - 800140c: f8a3 2808 strh.w r2, [r3, #2056] @ 0x808 + 80015fc: 4b0b ldr r3, [pc, #44] @ (800162c ) + 80015fe: 2200 movs r2, #0 + 8001600: f8a3 2808 strh.w r2, [r3, #2056] @ 0x808 tx_msg.status_len = 0; - 8001410: 4b0a ldr r3, [pc, #40] @ (800143c ) - 8001412: 2200 movs r2, #0 - 8001414: f8a3 2578 strh.w r2, [r3, #1400] @ 0x578 + 8001604: 4b0a ldr r3, [pc, #40] @ (8001630 ) + 8001606: 2200 movs r2, #0 + 8001608: f8a3 2578 strh.w r2, [r3, #1400] @ 0x578 tx_msg.cmd_len = 0; - 8001418: 4b08 ldr r3, [pc, #32] @ (800143c ) - 800141a: 2200 movs r2, #0 - 800141c: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c + 800160c: 4b08 ldr r3, [pc, #32] @ (8001630 ) + 800160e: 2200 movs r2, #0 + 8001610: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c memset(rx_msg.rx_buf, 0, sizeof rx_msg.rx_buf); - 8001420: f44f 6200 mov.w r2, #2048 @ 0x800 - 8001424: 2100 movs r1, #0 - 8001426: 4806 ldr r0, [pc, #24] @ (8001440 ) - 8001428: f010 f965 bl 80116f6 + 8001614: f44f 6200 mov.w r2, #2048 @ 0x800 + 8001618: 2100 movs r1, #0 + 800161a: 4806 ldr r0, [pc, #24] @ (8001634 ) + 800161c: f010 fd2d bl 801207a return; - 800142c: bf00 nop + 8001620: bf00 nop } - 800142e: 3710 adds r7, #16 - 8001430: 46bd mov sp, r7 - 8001432: bd80 pop {r7, pc} - 8001434: 08001445 .word 0x08001445 - 8001438: 2000079c .word 0x2000079c - 800143c: 20000fa8 .word 0x20000fa8 - 8001440: 200007a3 .word 0x200007a3 + 8001622: 3710 adds r7, #16 + 8001624: 46bd mov sp, r7 + 8001626: bd80 pop {r7, pc} + 8001628: 08001639 .word 0x08001639 + 800162c: 200007b0 .word 0x200007b0 + 8001630: 20000fbc .word 0x20000fbc + 8001634: 200007b7 .word 0x200007b7 -08001444 : +08001638 : void udp_echo_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) { - 8001444: b580 push {r7, lr} - 8001446: b086 sub sp, #24 - 8001448: af00 add r7, sp, #0 - 800144a: 60f8 str r0, [r7, #12] - 800144c: 60b9 str r1, [r7, #8] - 800144e: 607a str r2, [r7, #4] - 8001450: 603b str r3, [r7, #0] + 8001638: b580 push {r7, lr} + 800163a: b086 sub sp, #24 + 800163c: af00 add r7, sp, #0 + 800163e: 60f8 str r0, [r7, #12] + 8001640: 60b9 str r1, [r7, #8] + 8001642: 607a str r2, [r7, #4] + 8001644: 603b str r3, [r7, #0] if (p != NULL) { - 8001452: 687b ldr r3, [r7, #4] - 8001454: 2b00 cmp r3, #0 - 8001456: d04f beq.n 80014f8 + 8001646: 687b ldr r3, [r7, #4] + 8001648: 2b00 cmp r3, #0 + 800164a: d04f beq.n 80016ec if (p->tot_len < sizeof rx_msg.rx_buf) - 8001458: 687b ldr r3, [r7, #4] - 800145a: 891b ldrh r3, [r3, #8] - 800145c: f5b3 6f00 cmp.w r3, #2048 @ 0x800 - 8001460: d243 bcs.n 80014ea + 800164c: 687b ldr r3, [r7, #4] + 800164e: 891b ldrh r3, [r3, #8] + 8001650: f5b3 6f00 cmp.w r3, #2048 @ 0x800 + 8001654: d243 bcs.n 80016de { if (p->tot_len < 6) - 8001462: 687b ldr r3, [r7, #4] - 8001464: 891b ldrh r3, [r3, #8] - 8001466: 2b05 cmp r3, #5 - 8001468: d943 bls.n 80014f2 + 8001656: 687b ldr r3, [r7, #4] + 8001658: 891b ldrh r3, [r3, #8] + 800165a: 2b05 cmp r3, #5 + 800165c: d943 bls.n 80016e6 { return; } memcpy(rx_msg.rx_buf, p->payload, p->tot_len); - 800146a: 687b ldr r3, [r7, #4] - 800146c: 6859 ldr r1, [r3, #4] - 800146e: 687b ldr r3, [r7, #4] - 8001470: 891b ldrh r3, [r3, #8] - 8001472: 461a mov r2, r3 - 8001474: 4822 ldr r0, [pc, #136] @ (8001500 ) - 8001476: f010 f9bb bl 80117f0 + 800165e: 687b ldr r3, [r7, #4] + 8001660: 6859 ldr r1, [r3, #4] + 8001662: 687b ldr r3, [r7, #4] + 8001664: 891b ldrh r3, [r3, #8] + 8001666: 461a mov r2, r3 + 8001668: 4822 ldr r0, [pc, #136] @ (80016f4 ) + 800166a: f010 fd83 bl 8012174 if (rx_msg.clnt_con == 1) - 800147a: 4b22 ldr r3, [pc, #136] @ (8001504 ) - 800147c: 799b ldrb r3, [r3, #6] - 800147e: 2b00 cmp r3, #0 - 8001480: d01d beq.n 80014be + 800166e: 4b22 ldr r3, [pc, #136] @ (80016f8 ) + 8001670: 799b ldrb r3, [r3, #6] + 8001672: 2b00 cmp r3, #0 + 8001674: d01d beq.n 80016b2 { if ((memcmp(&rx_addr, addr, sizeof rx_addr)!= 0) || (rx_msg.port != port)) - 8001482: 2204 movs r2, #4 - 8001484: 6839 ldr r1, [r7, #0] - 8001486: 4820 ldr r0, [pc, #128] @ (8001508 ) - 8001488: f010 f90b bl 80116a2 - 800148c: 4603 mov r3, r0 - 800148e: 2b00 cmp r3, #0 - 8001490: d131 bne.n 80014f6 - 8001492: 4b1c ldr r3, [pc, #112] @ (8001504 ) - 8001494: 881b ldrh r3, [r3, #0] - 8001496: 8c3a ldrh r2, [r7, #32] - 8001498: 429a cmp r2, r3 - 800149a: d12c bne.n 80014f6 + 8001676: 2204 movs r2, #4 + 8001678: 6839 ldr r1, [r7, #0] + 800167a: 4820 ldr r0, [pc, #128] @ (80016fc ) + 800167c: f010 fcd3 bl 8012026 + 8001680: 4603 mov r3, r0 + 8001682: 2b00 cmp r3, #0 + 8001684: d131 bne.n 80016ea + 8001686: 4b1c ldr r3, [pc, #112] @ (80016f8 ) + 8001688: 881b ldrh r3, [r3, #0] + 800168a: 8c3a ldrh r2, [r7, #32] + 800168c: 429a cmp r2, r3 + 800168e: d12c bne.n 80016ea { return; } uint16_t cmd_num = rx_msg.rx_buf[2] | (rx_msg.rx_buf[3] << 8); - 800149c: 4b19 ldr r3, [pc, #100] @ (8001504 ) - 800149e: 7a5b ldrb r3, [r3, #9] - 80014a0: b21a sxth r2, r3 - 80014a2: 4b18 ldr r3, [pc, #96] @ (8001504 ) - 80014a4: 7a9b ldrb r3, [r3, #10] - 80014a6: 021b lsls r3, r3, #8 - 80014a8: b21b sxth r3, r3 - 80014aa: 4313 orrs r3, r2 - 80014ac: b21b sxth r3, r3 - 80014ae: 82fb strh r3, [r7, #22] + 8001690: 4b19 ldr r3, [pc, #100] @ (80016f8 ) + 8001692: 7a5b ldrb r3, [r3, #9] + 8001694: b21a sxth r2, r3 + 8001696: 4b18 ldr r3, [pc, #96] @ (80016f8 ) + 8001698: 7a9b ldrb r3, [r3, #10] + 800169a: 021b lsls r3, r3, #8 + 800169c: b21b sxth r3, r3 + 800169e: 4313 orrs r3, r2 + 80016a0: b21b sxth r3, r3 + 80016a2: 82fb strh r3, [r7, #22] if (cmd_num != (rx_msg.cmd_num + 1)) - 80014b0: 8afa ldrh r2, [r7, #22] - 80014b2: 4b14 ldr r3, [pc, #80] @ (8001504 ) - 80014b4: 885b ldrh r3, [r3, #2] - 80014b6: 3301 adds r3, #1 - 80014b8: 429a cmp r2, r3 - 80014ba: d008 beq.n 80014ce + 80016a4: 8afa ldrh r2, [r7, #22] + 80016a6: 4b14 ldr r3, [pc, #80] @ (80016f8 ) + 80016a8: 885b ldrh r3, [r3, #2] + 80016aa: 3301 adds r3, #1 + 80016ac: 429a cmp r2, r3 + 80016ae: d008 beq.n 80016c2 { return; - 80014bc: e01c b.n 80014f8 + 80016b0: e01c b.n 80016ec } } else { memcpy(&rx_addr, addr, sizeof rx_addr); - 80014be: 683b ldr r3, [r7, #0] - 80014c0: 681b ldr r3, [r3, #0] - 80014c2: 461a mov r2, r3 - 80014c4: 4b10 ldr r3, [pc, #64] @ (8001508 ) - 80014c6: 601a str r2, [r3, #0] + 80016b2: 683b ldr r3, [r7, #0] + 80016b4: 681b ldr r3, [r3, #0] + 80016b6: 461a mov r2, r3 + 80016b8: 4b10 ldr r3, [pc, #64] @ (80016fc ) + 80016ba: 601a str r2, [r3, #0] rx_msg.port = port; - 80014c8: 4a0e ldr r2, [pc, #56] @ (8001504 ) - 80014ca: 8c3b ldrh r3, [r7, #32] - 80014cc: 8013 strh r3, [r2, #0] + 80016bc: 4a0e ldr r2, [pc, #56] @ (80016f8 ) + 80016be: 8c3b ldrh r3, [r7, #32] + 80016c0: 8013 strh r3, [r2, #0] } rx_msg.con_timeout = 0; - 80014ce: 4b0d ldr r3, [pc, #52] @ (8001504 ) - 80014d0: 2200 movs r2, #0 - 80014d2: f8a3 280a strh.w r2, [r3, #2058] @ 0x80a + 80016c2: 4b0d ldr r3, [pc, #52] @ (80016f8 ) + 80016c4: 2200 movs r2, #0 + 80016c6: f8a3 280a strh.w r2, [r3, #2058] @ 0x80a rx_msg.clnt_con = 1; - 80014d6: 4b0b ldr r3, [pc, #44] @ (8001504 ) - 80014d8: 2201 movs r2, #1 - 80014da: 719a strb r2, [r3, #6] + 80016ca: 4b0b ldr r3, [pc, #44] @ (80016f8 ) + 80016cc: 2201 movs r2, #1 + 80016ce: 719a strb r2, [r3, #6] rx_msg.length = p->tot_len; - 80014dc: 687b ldr r3, [r7, #4] - 80014de: 891a ldrh r2, [r3, #8] - 80014e0: 4b08 ldr r3, [pc, #32] @ (8001504 ) - 80014e2: f8a3 2808 strh.w r2, [r3, #2056] @ 0x808 + 80016d0: 687b ldr r3, [r7, #4] + 80016d2: 891a ldrh r2, [r3, #8] + 80016d4: 4b08 ldr r3, [pc, #32] @ (80016f8 ) + 80016d6: f8a3 2808 strh.w r2, [r3, #2056] @ 0x808 rcv_command(); - 80014e6: f000 f811 bl 800150c + 80016da: f000 f811 bl 8001700 } /* free the pbuf */ pbuf_free(p); - 80014ea: 6878 ldr r0, [r7, #4] - 80014ec: f005 fa9c bl 8006a28 - 80014f0: e002 b.n 80014f8 + 80016de: 6878 ldr r0, [r7, #4] + 80016e0: f005 fe64 bl 80073ac + 80016e4: e002 b.n 80016ec return; - 80014f2: bf00 nop - 80014f4: e000 b.n 80014f8 + 80016e6: bf00 nop + 80016e8: e000 b.n 80016ec return; - 80014f6: bf00 nop + 80016ea: bf00 nop } } - 80014f8: 3718 adds r7, #24 - 80014fa: 46bd mov sp, r7 - 80014fc: bd80 pop {r7, pc} - 80014fe: bf00 nop - 8001500: 200007a3 .word 0x200007a3 - 8001504: 2000079c .word 0x2000079c - 8001508: 20000798 .word 0x20000798 + 80016ec: 3718 adds r7, #24 + 80016ee: 46bd mov sp, r7 + 80016f0: bd80 pop {r7, pc} + 80016f2: bf00 nop + 80016f4: 200007b7 .word 0x200007b7 + 80016f8: 200007b0 .word 0x200007b0 + 80016fc: 200007ac .word 0x200007ac -0800150c : +08001700 : void rcv_command(void) { - 800150c: b580 push {r7, lr} - 800150e: b084 sub sp, #16 - 8001510: af00 add r7, sp, #0 + 8001700: b580 push {r7, lr} + 8001702: b088 sub sp, #32 + 8001704: af00 add r7, sp, #0 uint16_t ports_amount = 0; - 8001512: 2300 movs r3, #0 - 8001514: 81bb strh r3, [r7, #12] + 8001706: 2300 movs r3, #0 + 8001708: 83bb strh r3, [r7, #28] + uint16_t bytes_amount = 0; + 800170a: 2300 movs r3, #0 + 800170c: 837b strh r3, [r7, #26] uint16_t i = 0; - 8001516: 2300 movs r3, #0 - 8001518: 81fb strh r3, [r7, #14] + 800170e: 2300 movs r3, #0 + 8001710: 83fb strh r3, [r7, #30] rx_msg.cmd_num = rx_msg.rx_buf[2] | (rx_msg.rx_buf[3] << 8); - 800151a: 4ba1 ldr r3, [pc, #644] @ (80017a0 ) - 800151c: 7a5b ldrb r3, [r3, #9] - 800151e: b21a sxth r2, r3 - 8001520: 4b9f ldr r3, [pc, #636] @ (80017a0 ) - 8001522: 7a9b ldrb r3, [r3, #10] - 8001524: 021b lsls r3, r3, #8 - 8001526: b21b sxth r3, r3 - 8001528: 4313 orrs r3, r2 - 800152a: b21b sxth r3, r3 - 800152c: b29a uxth r2, r3 - 800152e: 4b9c ldr r3, [pc, #624] @ (80017a0 ) - 8001530: 805a strh r2, [r3, #2] + 8001712: 4ba3 ldr r3, [pc, #652] @ (80019a0 ) + 8001714: 7a5b ldrb r3, [r3, #9] + 8001716: b21a sxth r2, r3 + 8001718: 4ba1 ldr r3, [pc, #644] @ (80019a0 ) + 800171a: 7a9b ldrb r3, [r3, #10] + 800171c: 021b lsls r3, r3, #8 + 800171e: b21b sxth r3, r3 + 8001720: 4313 orrs r3, r2 + 8001722: b21b sxth r3, r3 + 8001724: b29a uxth r2, r3 + 8001726: 4b9e ldr r3, [pc, #632] @ (80019a0 ) + 8001728: 805a strh r2, [r3, #2] rx_msg.cmd_code = rx_msg.rx_buf[6]; - 8001532: 4b9b ldr r3, [pc, #620] @ (80017a0 ) - 8001534: 7b5b ldrb r3, [r3, #13] - 8001536: 461a mov r2, r3 - 8001538: 4b99 ldr r3, [pc, #612] @ (80017a0 ) - 800153a: 809a strh r2, [r3, #4] + 800172a: 4b9d ldr r3, [pc, #628] @ (80019a0 ) + 800172c: 7b5b ldrb r3, [r3, #13] + 800172e: 461a mov r2, r3 + 8001730: 4b9b ldr r3, [pc, #620] @ (80019a0 ) + 8001732: 809a strh r2, [r3, #4] tx_msg.status_len = create_header(); - 800153c: f7ff fefa bl 8001334 - 8001540: 4603 mov r3, r0 - 8001542: 461a mov r2, r3 - 8001544: 4b97 ldr r3, [pc, #604] @ (80017a4 ) - 8001546: f8a3 2578 strh.w r2, [r3, #1400] @ 0x578 + 8001734: f7ff fef8 bl 8001528 + 8001738: 4603 mov r3, r0 + 800173a: 461a mov r2, r3 + 800173c: 4b99 ldr r3, [pc, #612] @ (80019a4 ) + 800173e: f8a3 2578 strh.w r2, [r3, #1400] @ 0x578 unsigned char *cmd_buf = &tx_msg.tx_buf[tx_msg.status_len]; - 800154a: 4b96 ldr r3, [pc, #600] @ (80017a4 ) - 800154c: f8b3 3578 ldrh.w r3, [r3, #1400] @ 0x578 - 8001550: 461a mov r2, r3 - 8001552: 4b94 ldr r3, [pc, #592] @ (80017a4 ) - 8001554: 4413 add r3, r2 - 8001556: 60bb str r3, [r7, #8] + 8001742: 4b98 ldr r3, [pc, #608] @ (80019a4 ) + 8001744: f8b3 3578 ldrh.w r3, [r3, #1400] @ 0x578 + 8001748: 461a mov r2, r3 + 800174a: 4b96 ldr r3, [pc, #600] @ (80019a4 ) + 800174c: 4413 add r3, r2 + 800174e: 617b str r3, [r7, #20] switch(rx_msg.cmd_code) // код команды - 8001558: 4b91 ldr r3, [pc, #580] @ (80017a0 ) - 800155a: 889b ldrh r3, [r3, #4] - 800155c: 2b00 cmp r3, #0 - 800155e: d003 beq.n 8001568 - 8001560: 2b01 cmp r3, #1 - 8001562: f000 8082 beq.w 800166a - 8001566: e113 b.n 8001790 + 8001750: 4b93 ldr r3, [pc, #588] @ (80019a0 ) + 8001752: 889b ldrh r3, [r3, #4] + 8001754: 2b33 cmp r3, #51 @ 0x33 + 8001756: f000 816f beq.w 8001a38 + 800175a: 2b33 cmp r3, #51 @ 0x33 + 800175c: f300 81c7 bgt.w 8001aee + 8001760: 2b32 cmp r3, #50 @ 0x32 + 8001762: f000 8121 beq.w 80019a8 + 8001766: 2b32 cmp r3, #50 @ 0x32 + 8001768: f300 81c1 bgt.w 8001aee + 800176c: 2b00 cmp r3, #0 + 800176e: d003 beq.n 8001778 + 8001770: 2b01 cmp r3, #1 + 8001772: f000 8082 beq.w 800187a + 8001776: e1ba b.n 8001aee //----------------------------------------------------------- // КОМАНДА №0 // ЧТЕНИЕ МАССИВА ПОРТОВ //----------------------------------------------------------- cmd_buf[0] = rx_msg.cmd_code; // - код команды - 8001568: 4b8d ldr r3, [pc, #564] @ (80017a0 ) - 800156a: 889b ldrh r3, [r3, #4] - 800156c: b2da uxtb r2, r3 - 800156e: 68bb ldr r3, [r7, #8] - 8001570: 701a strb r2, [r3, #0] + 8001778: 4b89 ldr r3, [pc, #548] @ (80019a0 ) + 800177a: 889b ldrh r3, [r3, #4] + 800177c: b2da uxtb r2, r3 + 800177e: 697b ldr r3, [r7, #20] + 8001780: 701a strb r2, [r3, #0] ports_amount = rx_msg.rx_buf[7]; - 8001572: 4b8b ldr r3, [pc, #556] @ (80017a0 ) - 8001574: 7b9b ldrb r3, [r3, #14] - 8001576: 81bb strh r3, [r7, #12] + 8001782: 4b87 ldr r3, [pc, #540] @ (80019a0 ) + 8001784: 7b9b ldrb r3, [r3, #14] + 8001786: 83bb strh r3, [r7, #28] // Проверка размера принятого буфера if( rx_msg.length < (8 + ports_amount * 2)) - 8001578: 4b89 ldr r3, [pc, #548] @ (80017a0 ) - 800157a: f8b3 3808 ldrh.w r3, [r3, #2056] @ 0x808 - 800157e: 461a mov r2, r3 - 8001580: 89bb ldrh r3, [r7, #12] - 8001582: 3304 adds r3, #4 - 8001584: 005b lsls r3, r3, #1 - 8001586: 429a cmp r2, r3 - 8001588: da08 bge.n 800159c + 8001788: 4b85 ldr r3, [pc, #532] @ (80019a0 ) + 800178a: f8b3 3808 ldrh.w r3, [r3, #2056] @ 0x808 + 800178e: 461a mov r2, r3 + 8001790: 8bbb ldrh r3, [r7, #28] + 8001792: 3304 adds r3, #4 + 8001794: 005b lsls r3, r3, #1 + 8001796: 429a cmp r2, r3 + 8001798: da08 bge.n 80017ac { // Размер принятого пакета меньше чем долно быть // Установить ошибку // КОД = 2 cmd_buf[1] = ERR_SIZE; - 800158a: 68bb ldr r3, [r7, #8] - 800158c: 3301 adds r3, #1 - 800158e: 2202 movs r2, #2 - 8001590: 701a strb r2, [r3, #0] + 800179a: 697b ldr r3, [r7, #20] + 800179c: 3301 adds r3, #1 + 800179e: 2202 movs r2, #2 + 80017a0: 701a strb r2, [r3, #0] // Установить размер буфера = 2 tx_msg.cmd_len = 2; - 8001592: 4b84 ldr r3, [pc, #528] @ (80017a4 ) - 8001594: 2202 movs r2, #2 - 8001596: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c + 80017a2: 4b80 ldr r3, [pc, #512] @ (80019a4 ) + 80017a4: 2202 movs r2, #2 + 80017a6: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c cmd_buf[6 + (i*4)] = port_data >> 8; } // Установить размер буфера tx_msg.cmd_len = (ports_amount << 2) + 3; } break; - 800159a: e0f9 b.n 8001790 + 80017aa: e1a0 b.n 8001aee cmd_buf[1] = NO_ERROR; - 800159c: 68bb ldr r3, [r7, #8] - 800159e: 3301 adds r3, #1 - 80015a0: 2201 movs r2, #1 - 80015a2: 701a strb r2, [r3, #0] + 80017ac: 697b ldr r3, [r7, #20] + 80017ae: 3301 adds r3, #1 + 80017b0: 2201 movs r2, #1 + 80017b2: 701a strb r2, [r3, #0] cmd_buf[2] = rx_msg.rx_buf[7]; - 80015a4: 68bb ldr r3, [r7, #8] - 80015a6: 3302 adds r3, #2 - 80015a8: 4a7d ldr r2, [pc, #500] @ (80017a0 ) - 80015aa: 7b92 ldrb r2, [r2, #14] - 80015ac: 701a strb r2, [r3, #0] + 80017b4: 697b ldr r3, [r7, #20] + 80017b6: 3302 adds r3, #2 + 80017b8: 4a79 ldr r2, [pc, #484] @ (80019a0 ) + 80017ba: 7b92 ldrb r2, [r2, #14] + 80017bc: 701a strb r2, [r3, #0] uint16_t port_data = 0xFFFF; - 80015ae: f64f 73ff movw r3, #65535 @ 0xffff - 80015b2: 807b strh r3, [r7, #2] + 80017be: f64f 73ff movw r3, #65535 @ 0xffff + 80017c2: 80fb strh r3, [r7, #6] uint16_t port_addr = 0x0000; - 80015b4: 2300 movs r3, #0 - 80015b6: 803b strh r3, [r7, #0] + 80017c4: 2300 movs r3, #0 + 80017c6: 80bb strh r3, [r7, #4] for (i = 0; i + 80017c8: 2300 movs r3, #0 + 80017ca: 83fb strh r3, [r7, #30] + 80017cc: e048 b.n 8001860 port_addr = rx_msg.rx_buf[8 + i * 2] + (rx_msg.rx_buf[9 + i * 2] << 8); - 80015be: 89fb ldrh r3, [r7, #14] - 80015c0: 3304 adds r3, #4 - 80015c2: 005b lsls r3, r3, #1 - 80015c4: 4a76 ldr r2, [pc, #472] @ (80017a0 ) - 80015c6: 4413 add r3, r2 - 80015c8: 79db ldrb r3, [r3, #7] - 80015ca: 4619 mov r1, r3 - 80015cc: 89fb ldrh r3, [r7, #14] - 80015ce: 005b lsls r3, r3, #1 - 80015d0: 3309 adds r3, #9 - 80015d2: 4a73 ldr r2, [pc, #460] @ (80017a0 ) - 80015d4: 4413 add r3, r2 - 80015d6: 79db ldrb r3, [r3, #7] - 80015d8: 021b lsls r3, r3, #8 - 80015da: b29b uxth r3, r3 - 80015dc: 440b add r3, r1 - 80015de: 803b strh r3, [r7, #0] + 80017ce: 8bfb ldrh r3, [r7, #30] + 80017d0: 3304 adds r3, #4 + 80017d2: 005b lsls r3, r3, #1 + 80017d4: 4a72 ldr r2, [pc, #456] @ (80019a0 ) + 80017d6: 4413 add r3, r2 + 80017d8: 79db ldrb r3, [r3, #7] + 80017da: 4619 mov r1, r3 + 80017dc: 8bfb ldrh r3, [r7, #30] + 80017de: 005b lsls r3, r3, #1 + 80017e0: 3309 adds r3, #9 + 80017e2: 4a6f ldr r2, [pc, #444] @ (80019a0 ) + 80017e4: 4413 add r3, r2 + 80017e6: 79db ldrb r3, [r3, #7] + 80017e8: 021b lsls r3, r3, #8 + 80017ea: b29b uxth r3, r3 + 80017ec: 440b add r3, r1 + 80017ee: 80bb strh r3, [r7, #4] cmd_buf[3 + (i*4)] = rx_msg.rx_buf[8 + i * 2]; - 80015e0: 89fb ldrh r3, [r7, #14] - 80015e2: 3304 adds r3, #4 - 80015e4: 005a lsls r2, r3, #1 - 80015e6: 89fb ldrh r3, [r7, #14] - 80015e8: 009b lsls r3, r3, #2 - 80015ea: 3303 adds r3, #3 - 80015ec: 4619 mov r1, r3 - 80015ee: 68bb ldr r3, [r7, #8] - 80015f0: 440b add r3, r1 - 80015f2: 496b ldr r1, [pc, #428] @ (80017a0 ) - 80015f4: 440a add r2, r1 - 80015f6: 79d2 ldrb r2, [r2, #7] - 80015f8: 701a strb r2, [r3, #0] + 80017f0: 8bfb ldrh r3, [r7, #30] + 80017f2: 3304 adds r3, #4 + 80017f4: 005a lsls r2, r3, #1 + 80017f6: 8bfb ldrh r3, [r7, #30] + 80017f8: 009b lsls r3, r3, #2 + 80017fa: 3303 adds r3, #3 + 80017fc: 4619 mov r1, r3 + 80017fe: 697b ldr r3, [r7, #20] + 8001800: 440b add r3, r1 + 8001802: 4967 ldr r1, [pc, #412] @ (80019a0 ) + 8001804: 440a add r2, r1 + 8001806: 79d2 ldrb r2, [r2, #7] + 8001808: 701a strb r2, [r3, #0] cmd_buf[4 + (i*4)] = rx_msg.rx_buf[9 + i * 2]; - 80015fa: 89fb ldrh r3, [r7, #14] - 80015fc: 005b lsls r3, r3, #1 - 80015fe: f103 0209 add.w r2, r3, #9 - 8001602: 89fb ldrh r3, [r7, #14] - 8001604: 3301 adds r3, #1 - 8001606: 009b lsls r3, r3, #2 - 8001608: 4619 mov r1, r3 - 800160a: 68bb ldr r3, [r7, #8] - 800160c: 440b add r3, r1 - 800160e: 4964 ldr r1, [pc, #400] @ (80017a0 ) - 8001610: 440a add r2, r1 - 8001612: 79d2 ldrb r2, [r2, #7] - 8001614: 701a strb r2, [r3, #0] + 800180a: 8bfb ldrh r3, [r7, #30] + 800180c: 005b lsls r3, r3, #1 + 800180e: f103 0209 add.w r2, r3, #9 + 8001812: 8bfb ldrh r3, [r7, #30] + 8001814: 3301 adds r3, #1 + 8001816: 009b lsls r3, r3, #2 + 8001818: 4619 mov r1, r3 + 800181a: 697b ldr r3, [r7, #20] + 800181c: 440b add r3, r1 + 800181e: 4960 ldr r1, [pc, #384] @ (80019a0 ) + 8001820: 440a add r2, r1 + 8001822: 79d2 ldrb r2, [r2, #7] + 8001824: 701a strb r2, [r3, #0] port_data = read_isa(port_addr); - 8001616: 883b ldrh r3, [r7, #0] - 8001618: 4618 mov r0, r3 - 800161a: f000 f8c7 bl 80017ac - 800161e: 4603 mov r3, r0 - 8001620: 807b strh r3, [r7, #2] + 8001826: 88bb ldrh r3, [r7, #4] + 8001828: 4618 mov r0, r3 + 800182a: f000 f96f bl 8001b0c + 800182e: 4603 mov r3, r0 + 8001830: 80fb strh r3, [r7, #6] cmd_buf[5 + (i*4)] = port_data & 0xFF; - 8001622: 89fb ldrh r3, [r7, #14] - 8001624: 009b lsls r3, r3, #2 - 8001626: 3305 adds r3, #5 - 8001628: 461a mov r2, r3 - 800162a: 68bb ldr r3, [r7, #8] - 800162c: 4413 add r3, r2 - 800162e: 887a ldrh r2, [r7, #2] - 8001630: b2d2 uxtb r2, r2 - 8001632: 701a strb r2, [r3, #0] + 8001832: 8bfb ldrh r3, [r7, #30] + 8001834: 009b lsls r3, r3, #2 + 8001836: 3305 adds r3, #5 + 8001838: 461a mov r2, r3 + 800183a: 697b ldr r3, [r7, #20] + 800183c: 4413 add r3, r2 + 800183e: 88fa ldrh r2, [r7, #6] + 8001840: b2d2 uxtb r2, r2 + 8001842: 701a strb r2, [r3, #0] cmd_buf[6 + (i*4)] = port_data >> 8; - 8001634: 887b ldrh r3, [r7, #2] - 8001636: 0a1b lsrs r3, r3, #8 - 8001638: b29a uxth r2, r3 - 800163a: 89fb ldrh r3, [r7, #14] - 800163c: 009b lsls r3, r3, #2 - 800163e: 3306 adds r3, #6 - 8001640: 4619 mov r1, r3 - 8001642: 68bb ldr r3, [r7, #8] - 8001644: 440b add r3, r1 - 8001646: b2d2 uxtb r2, r2 - 8001648: 701a strb r2, [r3, #0] + 8001844: 88fb ldrh r3, [r7, #6] + 8001846: 0a1b lsrs r3, r3, #8 + 8001848: b29a uxth r2, r3 + 800184a: 8bfb ldrh r3, [r7, #30] + 800184c: 009b lsls r3, r3, #2 + 800184e: 3306 adds r3, #6 + 8001850: 4619 mov r1, r3 + 8001852: 697b ldr r3, [r7, #20] + 8001854: 440b add r3, r1 + 8001856: b2d2 uxtb r2, r2 + 8001858: 701a strb r2, [r3, #0] for (i = 0; i + 800185a: 8bfb ldrh r3, [r7, #30] + 800185c: 3301 adds r3, #1 + 800185e: 83fb strh r3, [r7, #30] + 8001860: 8bfa ldrh r2, [r7, #30] + 8001862: 8bbb ldrh r3, [r7, #28] + 8001864: 429a cmp r2, r3 + 8001866: d3b2 bcc.n 80017ce tx_msg.cmd_len = (ports_amount << 2) + 3; - 8001658: 89bb ldrh r3, [r7, #12] - 800165a: 009b lsls r3, r3, #2 - 800165c: b29b uxth r3, r3 - 800165e: 3303 adds r3, #3 - 8001660: b29a uxth r2, r3 - 8001662: 4b50 ldr r3, [pc, #320] @ (80017a4 ) - 8001664: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c + 8001868: 8bbb ldrh r3, [r7, #28] + 800186a: 009b lsls r3, r3, #2 + 800186c: b29b uxth r3, r3 + 800186e: 3303 adds r3, #3 + 8001870: b29a uxth r2, r3 + 8001872: 4b4c ldr r3, [pc, #304] @ (80019a4 ) + 8001874: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c break; - 8001668: e092 b.n 8001790 + 8001878: e139 b.n 8001aee //----------------------------------------------------------- // КОМАНДА №1 // ЗАПИСЬ МАССИВА ПОРТОВ //----------------------------------------------------------- cmd_buf[0] = rx_msg.cmd_code; // - код команды - 800166a: 4b4d ldr r3, [pc, #308] @ (80017a0 ) - 800166c: 889b ldrh r3, [r3, #4] - 800166e: b2da uxtb r2, r3 - 8001670: 68bb ldr r3, [r7, #8] - 8001672: 701a strb r2, [r3, #0] + 800187a: 4b49 ldr r3, [pc, #292] @ (80019a0 ) + 800187c: 889b ldrh r3, [r3, #4] + 800187e: b2da uxtb r2, r3 + 8001880: 697b ldr r3, [r7, #20] + 8001882: 701a strb r2, [r3, #0] ports_amount = rx_msg.rx_buf[7]; - 8001674: 4b4a ldr r3, [pc, #296] @ (80017a0 ) - 8001676: 7b9b ldrb r3, [r3, #14] - 8001678: 81bb strh r3, [r7, #12] + 8001884: 4b46 ldr r3, [pc, #280] @ (80019a0 ) + 8001886: 7b9b ldrb r3, [r3, #14] + 8001888: 83bb strh r3, [r7, #28] // Проверка размера принятого буфера if( rx_msg.length < (8 + ports_amount * 4)) - 800167a: 4b49 ldr r3, [pc, #292] @ (80017a0 ) - 800167c: f8b3 3808 ldrh.w r3, [r3, #2056] @ 0x808 - 8001680: 461a mov r2, r3 - 8001682: 89bb ldrh r3, [r7, #12] - 8001684: 3302 adds r3, #2 - 8001686: 009b lsls r3, r3, #2 - 8001688: 429a cmp r2, r3 - 800168a: da08 bge.n 800169e + 800188a: 4b45 ldr r3, [pc, #276] @ (80019a0 ) + 800188c: f8b3 3808 ldrh.w r3, [r3, #2056] @ 0x808 + 8001890: 461a mov r2, r3 + 8001892: 8bbb ldrh r3, [r7, #28] + 8001894: 3302 adds r3, #2 + 8001896: 009b lsls r3, r3, #2 + 8001898: 429a cmp r2, r3 + 800189a: da08 bge.n 80018ae { // Размер принятого пакета меньше чем долно быть // Установить ошибку // КОД = 2 cmd_buf[1] = ERR_SIZE; - 800168c: 68bb ldr r3, [r7, #8] - 800168e: 3301 adds r3, #1 - 8001690: 2202 movs r2, #2 - 8001692: 701a strb r2, [r3, #0] + 800189c: 697b ldr r3, [r7, #20] + 800189e: 3301 adds r3, #1 + 80018a0: 2202 movs r2, #2 + 80018a2: 701a strb r2, [r3, #0] // Установить размер буфера = 2 tx_msg.cmd_len = 2; - 8001694: 4b43 ldr r3, [pc, #268] @ (80017a4 ) - 8001696: 2202 movs r2, #2 - 8001698: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c + 80018a4: 4b3f ldr r3, [pc, #252] @ (80019a4 ) + 80018a6: 2202 movs r2, #2 + 80018a8: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c cmd_buf[6 + (i*4)] = port_data >> 8; } // Установить размер буфера tx_msg.cmd_len = (ports_amount << 2) + 3; } break; - 800169c: e077 b.n 800178e + 80018ac: e11f b.n 8001aee cmd_buf[1] = NO_ERROR; - 800169e: 68bb ldr r3, [r7, #8] - 80016a0: 3301 adds r3, #1 - 80016a2: 2201 movs r2, #1 - 80016a4: 701a strb r2, [r3, #0] + 80018ae: 697b ldr r3, [r7, #20] + 80018b0: 3301 adds r3, #1 + 80018b2: 2201 movs r2, #1 + 80018b4: 701a strb r2, [r3, #0] cmd_buf[2] = rx_msg.rx_buf[7]; - 80016a6: 68bb ldr r3, [r7, #8] - 80016a8: 3302 adds r3, #2 - 80016aa: 4a3d ldr r2, [pc, #244] @ (80017a0 ) - 80016ac: 7b92 ldrb r2, [r2, #14] - 80016ae: 701a strb r2, [r3, #0] + 80018b6: 697b ldr r3, [r7, #20] + 80018b8: 3302 adds r3, #2 + 80018ba: 4a39 ldr r2, [pc, #228] @ (80019a0 ) + 80018bc: 7b92 ldrb r2, [r2, #14] + 80018be: 701a strb r2, [r3, #0] for (i = 0; i + 80018c0: 2300 movs r3, #0 + 80018c2: 83fb strh r3, [r7, #30] + 80018c4: e05f b.n 8001986 port_addr = rx_msg.rx_buf[8 + i * 4] + (rx_msg.rx_buf[9 + i * 4] << 8); - 80016b6: 89fb ldrh r3, [r7, #14] - 80016b8: 3302 adds r3, #2 - 80016ba: 009b lsls r3, r3, #2 - 80016bc: 4a38 ldr r2, [pc, #224] @ (80017a0 ) - 80016be: 4413 add r3, r2 - 80016c0: 79db ldrb r3, [r3, #7] - 80016c2: 4619 mov r1, r3 - 80016c4: 89fb ldrh r3, [r7, #14] - 80016c6: 009b lsls r3, r3, #2 - 80016c8: 3309 adds r3, #9 - 80016ca: 4a35 ldr r2, [pc, #212] @ (80017a0 ) - 80016cc: 4413 add r3, r2 - 80016ce: 79db ldrb r3, [r3, #7] - 80016d0: 021b lsls r3, r3, #8 - 80016d2: b29b uxth r3, r3 - 80016d4: 440b add r3, r1 - 80016d6: 80fb strh r3, [r7, #6] + 80018c6: 8bfb ldrh r3, [r7, #30] + 80018c8: 3302 adds r3, #2 + 80018ca: 009b lsls r3, r3, #2 + 80018cc: 4a34 ldr r2, [pc, #208] @ (80019a0 ) + 80018ce: 4413 add r3, r2 + 80018d0: 79db ldrb r3, [r3, #7] + 80018d2: 4619 mov r1, r3 + 80018d4: 8bfb ldrh r3, [r7, #30] + 80018d6: 009b lsls r3, r3, #2 + 80018d8: 3309 adds r3, #9 + 80018da: 4a31 ldr r2, [pc, #196] @ (80019a0 ) + 80018dc: 4413 add r3, r2 + 80018de: 79db ldrb r3, [r3, #7] + 80018e0: 021b lsls r3, r3, #8 + 80018e2: b29b uxth r3, r3 + 80018e4: 440b add r3, r1 + 80018e6: 817b strh r3, [r7, #10] port_data = rx_msg.rx_buf[10 + i * 4] + (rx_msg.rx_buf[11 + i * 4] << 8); - 80016d8: 89fb ldrh r3, [r7, #14] - 80016da: 009b lsls r3, r3, #2 - 80016dc: 330a adds r3, #10 - 80016de: 4a30 ldr r2, [pc, #192] @ (80017a0 ) - 80016e0: 4413 add r3, r2 - 80016e2: 79db ldrb r3, [r3, #7] - 80016e4: 4619 mov r1, r3 - 80016e6: 89fb ldrh r3, [r7, #14] - 80016e8: 009b lsls r3, r3, #2 - 80016ea: 330b adds r3, #11 - 80016ec: 4a2c ldr r2, [pc, #176] @ (80017a0 ) - 80016ee: 4413 add r3, r2 - 80016f0: 79db ldrb r3, [r3, #7] - 80016f2: 021b lsls r3, r3, #8 - 80016f4: b29b uxth r3, r3 - 80016f6: 440b add r3, r1 - 80016f8: 80bb strh r3, [r7, #4] + 80018e8: 8bfb ldrh r3, [r7, #30] + 80018ea: 009b lsls r3, r3, #2 + 80018ec: 330a adds r3, #10 + 80018ee: 4a2c ldr r2, [pc, #176] @ (80019a0 ) + 80018f0: 4413 add r3, r2 + 80018f2: 79db ldrb r3, [r3, #7] + 80018f4: 4619 mov r1, r3 + 80018f6: 8bfb ldrh r3, [r7, #30] + 80018f8: 009b lsls r3, r3, #2 + 80018fa: 330b adds r3, #11 + 80018fc: 4a28 ldr r2, [pc, #160] @ (80019a0 ) + 80018fe: 4413 add r3, r2 + 8001900: 79db ldrb r3, [r3, #7] + 8001902: 021b lsls r3, r3, #8 + 8001904: b29b uxth r3, r3 + 8001906: 440b add r3, r1 + 8001908: 813b strh r3, [r7, #8] cmd_buf[3 + (i*4)] = rx_msg.rx_buf[8 + i * 4]; - 80016fa: 89fb ldrh r3, [r7, #14] - 80016fc: 3302 adds r3, #2 - 80016fe: 009a lsls r2, r3, #2 - 8001700: 89fb ldrh r3, [r7, #14] - 8001702: 009b lsls r3, r3, #2 - 8001704: 3303 adds r3, #3 - 8001706: 4619 mov r1, r3 - 8001708: 68bb ldr r3, [r7, #8] - 800170a: 440b add r3, r1 - 800170c: 4924 ldr r1, [pc, #144] @ (80017a0 ) - 800170e: 440a add r2, r1 - 8001710: 79d2 ldrb r2, [r2, #7] - 8001712: 701a strb r2, [r3, #0] + 800190a: 8bfb ldrh r3, [r7, #30] + 800190c: 3302 adds r3, #2 + 800190e: 009a lsls r2, r3, #2 + 8001910: 8bfb ldrh r3, [r7, #30] + 8001912: 009b lsls r3, r3, #2 + 8001914: 3303 adds r3, #3 + 8001916: 4619 mov r1, r3 + 8001918: 697b ldr r3, [r7, #20] + 800191a: 440b add r3, r1 + 800191c: 4920 ldr r1, [pc, #128] @ (80019a0 ) + 800191e: 440a add r2, r1 + 8001920: 79d2 ldrb r2, [r2, #7] + 8001922: 701a strb r2, [r3, #0] cmd_buf[4 + (i*4)] = rx_msg.rx_buf[9 + i * 4]; - 8001714: 89fb ldrh r3, [r7, #14] - 8001716: 009b lsls r3, r3, #2 - 8001718: f103 0209 add.w r2, r3, #9 - 800171c: 89fb ldrh r3, [r7, #14] - 800171e: 3301 adds r3, #1 - 8001720: 009b lsls r3, r3, #2 - 8001722: 4619 mov r1, r3 - 8001724: 68bb ldr r3, [r7, #8] - 8001726: 440b add r3, r1 - 8001728: 491d ldr r1, [pc, #116] @ (80017a0 ) - 800172a: 440a add r2, r1 - 800172c: 79d2 ldrb r2, [r2, #7] - 800172e: 701a strb r2, [r3, #0] + 8001924: 8bfb ldrh r3, [r7, #30] + 8001926: 009b lsls r3, r3, #2 + 8001928: f103 0209 add.w r2, r3, #9 + 800192c: 8bfb ldrh r3, [r7, #30] + 800192e: 3301 adds r3, #1 + 8001930: 009b lsls r3, r3, #2 + 8001932: 4619 mov r1, r3 + 8001934: 697b ldr r3, [r7, #20] + 8001936: 440b add r3, r1 + 8001938: 4919 ldr r1, [pc, #100] @ (80019a0 ) + 800193a: 440a add r2, r1 + 800193c: 79d2 ldrb r2, [r2, #7] + 800193e: 701a strb r2, [r3, #0] write_isa(port_addr, port_data); - 8001730: 88ba ldrh r2, [r7, #4] - 8001732: 88fb ldrh r3, [r7, #6] - 8001734: 4611 mov r1, r2 - 8001736: 4618 mov r0, r3 - 8001738: f000 f848 bl 80017cc + 8001940: 893a ldrh r2, [r7, #8] + 8001942: 897b ldrh r3, [r7, #10] + 8001944: 4611 mov r1, r2 + 8001946: 4618 mov r0, r3 + 8001948: f000 f8f0 bl 8001b2c port_data = read_isa(port_addr); - 800173c: 88fb ldrh r3, [r7, #6] - 800173e: 4618 mov r0, r3 - 8001740: f000 f834 bl 80017ac - 8001744: 4603 mov r3, r0 - 8001746: 80bb strh r3, [r7, #4] + 800194c: 897b ldrh r3, [r7, #10] + 800194e: 4618 mov r0, r3 + 8001950: f000 f8dc bl 8001b0c + 8001954: 4603 mov r3, r0 + 8001956: 813b strh r3, [r7, #8] cmd_buf[5 + (i*4)] = port_data & 0xFF; - 8001748: 89fb ldrh r3, [r7, #14] - 800174a: 009b lsls r3, r3, #2 - 800174c: 3305 adds r3, #5 - 800174e: 461a mov r2, r3 - 8001750: 68bb ldr r3, [r7, #8] - 8001752: 4413 add r3, r2 - 8001754: 88ba ldrh r2, [r7, #4] - 8001756: b2d2 uxtb r2, r2 - 8001758: 701a strb r2, [r3, #0] + 8001958: 8bfb ldrh r3, [r7, #30] + 800195a: 009b lsls r3, r3, #2 + 800195c: 3305 adds r3, #5 + 800195e: 461a mov r2, r3 + 8001960: 697b ldr r3, [r7, #20] + 8001962: 4413 add r3, r2 + 8001964: 893a ldrh r2, [r7, #8] + 8001966: b2d2 uxtb r2, r2 + 8001968: 701a strb r2, [r3, #0] cmd_buf[6 + (i*4)] = port_data >> 8; - 800175a: 88bb ldrh r3, [r7, #4] - 800175c: 0a1b lsrs r3, r3, #8 - 800175e: b29a uxth r2, r3 - 8001760: 89fb ldrh r3, [r7, #14] - 8001762: 009b lsls r3, r3, #2 - 8001764: 3306 adds r3, #6 - 8001766: 4619 mov r1, r3 - 8001768: 68bb ldr r3, [r7, #8] - 800176a: 440b add r3, r1 - 800176c: b2d2 uxtb r2, r2 - 800176e: 701a strb r2, [r3, #0] + 800196a: 893b ldrh r3, [r7, #8] + 800196c: 0a1b lsrs r3, r3, #8 + 800196e: b29a uxth r2, r3 + 8001970: 8bfb ldrh r3, [r7, #30] + 8001972: 009b lsls r3, r3, #2 + 8001974: 3306 adds r3, #6 + 8001976: 4619 mov r1, r3 + 8001978: 697b ldr r3, [r7, #20] + 800197a: 440b add r3, r1 + 800197c: b2d2 uxtb r2, r2 + 800197e: 701a strb r2, [r3, #0] for (i = 0; i + 8001980: 8bfb ldrh r3, [r7, #30] + 8001982: 3301 adds r3, #1 + 8001984: 83fb strh r3, [r7, #30] + 8001986: 8bfa ldrh r2, [r7, #30] + 8001988: 8bbb ldrh r3, [r7, #28] + 800198a: 429a cmp r2, r3 + 800198c: d39b bcc.n 80018c6 tx_msg.cmd_len = (ports_amount << 2) + 3; - 800177e: 89bb ldrh r3, [r7, #12] - 8001780: 009b lsls r3, r3, #2 - 8001782: b29b uxth r3, r3 - 8001784: 3303 adds r3, #3 - 8001786: b29a uxth r2, r3 - 8001788: 4b06 ldr r3, [pc, #24] @ (80017a4 ) - 800178a: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c + 800198e: 8bbb ldrh r3, [r7, #28] + 8001990: 009b lsls r3, r3, #2 + 8001992: b29b uxth r3, r3 + 8001994: 3303 adds r3, #3 + 8001996: b29a uxth r2, r3 + 8001998: 4b02 ldr r3, [pc, #8] @ (80019a4 ) + 800199a: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c break; - 800178e: bf00 nop + 800199e: e0a6 b.n 8001aee + 80019a0: 200007b0 .word 0x200007b0 + 80019a4: 20000fbc .word 0x20000fbc + //----------------------------------------------------------- + // КОМАНДА №50 + // ЗАПИСЬ МАССИВА В FLASH + //----------------------------------------------------------- + + cmd_buf[0] = rx_msg.cmd_code; // - код команды + 80019a8: 4b54 ldr r3, [pc, #336] @ (8001afc ) + 80019aa: 889b ldrh r3, [r3, #4] + 80019ac: b2da uxtb r2, r3 + 80019ae: 697b ldr r3, [r7, #20] + 80019b0: 701a strb r2, [r3, #0] + bytes_amount = rx_msg.rx_buf[10] + (rx_msg.rx_buf[11] << 8); + 80019b2: 4b52 ldr r3, [pc, #328] @ (8001afc ) + 80019b4: 7c5b ldrb r3, [r3, #17] + 80019b6: 461a mov r2, r3 + 80019b8: 4b50 ldr r3, [pc, #320] @ (8001afc ) + 80019ba: 7c9b ldrb r3, [r3, #18] + 80019bc: 021b lsls r3, r3, #8 + 80019be: b29b uxth r3, r3 + 80019c0: 4413 add r3, r2 + 80019c2: 837b strh r3, [r7, #26] + + // Проверка размера принятого буфера + if( rx_msg.length < (11 + bytes_amount)) + 80019c4: 8b7b ldrh r3, [r7, #26] + 80019c6: 330a adds r3, #10 + 80019c8: 4a4c ldr r2, [pc, #304] @ (8001afc ) + 80019ca: f8b2 2808 ldrh.w r2, [r2, #2056] @ 0x808 + 80019ce: 4293 cmp r3, r2 + 80019d0: db08 blt.n 80019e4 + { + // Размер принятого пакета меньше чем долно быть + // Установить ошибку + // КОД = 2 + cmd_buf[1] = ERR_SIZE; + 80019d2: 697b ldr r3, [r7, #20] + 80019d4: 3301 adds r3, #1 + 80019d6: 2202 movs r2, #2 + 80019d8: 701a strb r2, [r3, #0] + + // Установить размер буфера = 2 + tx_msg.cmd_len = 2; + 80019da: 4b49 ldr r3, [pc, #292] @ (8001b00 ) + 80019dc: 2202 movs r2, #2 + 80019de: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c + uint16_t numofwords = (bytes_amount/4)+((bytes_amount%4)!=0); + Flash_Write_Data(FLASH_BASE_WR + flash_addr, (uint32_t *)&rx_msg.rx_buf[12], numofwords); + // Установить размер буфера + tx_msg.cmd_len = 2; + } + break; + 80019e2: e084 b.n 8001aee + cmd_buf[1] = NO_ERROR; + 80019e4: 697b ldr r3, [r7, #20] + 80019e6: 3301 adds r3, #1 + 80019e8: 2201 movs r2, #1 + 80019ea: 701a strb r2, [r3, #0] + uint16_t flash_addr = rx_msg.rx_buf[8] + (rx_msg.rx_buf[9] << 8); + 80019ec: 4b43 ldr r3, [pc, #268] @ (8001afc ) + 80019ee: 7bdb ldrb r3, [r3, #15] + 80019f0: 461a mov r2, r3 + 80019f2: 4b42 ldr r3, [pc, #264] @ (8001afc ) + 80019f4: 7c1b ldrb r3, [r3, #16] + 80019f6: 021b lsls r3, r3, #8 + 80019f8: b29b uxth r3, r3 + 80019fa: 4413 add r3, r2 + 80019fc: 81fb strh r3, [r7, #14] + uint16_t numofwords = (bytes_amount/4)+((bytes_amount%4)!=0); + 80019fe: 8b7b ldrh r3, [r7, #26] + 8001a00: 089b lsrs r3, r3, #2 + 8001a02: b29b uxth r3, r3 + 8001a04: 8b7a ldrh r2, [r7, #26] + 8001a06: f002 0203 and.w r2, r2, #3 + 8001a0a: b292 uxth r2, r2 + 8001a0c: 2a00 cmp r2, #0 + 8001a0e: bf14 ite ne + 8001a10: 2201 movne r2, #1 + 8001a12: 2200 moveq r2, #0 + 8001a14: b2d2 uxtb r2, r2 + 8001a16: 4413 add r3, r2 + 8001a18: 81bb strh r3, [r7, #12] + Flash_Write_Data(FLASH_BASE_WR + flash_addr, (uint32_t *)&rx_msg.rx_buf[12], numofwords); + 8001a1a: 89fb ldrh r3, [r7, #14] + 8001a1c: f103 6300 add.w r3, r3, #134217728 @ 0x8000000 + 8001a20: f503 23c0 add.w r3, r3, #393216 @ 0x60000 + 8001a24: 89ba ldrh r2, [r7, #12] + 8001a26: 4937 ldr r1, [pc, #220] @ (8001b04 ) + 8001a28: 4618 mov r0, r3 + 8001a2a: f7ff fabf bl 8000fac + tx_msg.cmd_len = 2; + 8001a2e: 4b34 ldr r3, [pc, #208] @ (8001b00 ) + 8001a30: 2202 movs r2, #2 + 8001a32: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c + break; + 8001a36: e05a b.n 8001aee + //----------------------------------------------------------- + // КОМАНДА №51 + // ЧТЕНИЕ МАССИВА ИЗ FLASH + //----------------------------------------------------------- + + cmd_buf[0] = rx_msg.cmd_code; // - код команды + 8001a38: 4b30 ldr r3, [pc, #192] @ (8001afc ) + 8001a3a: 889b ldrh r3, [r3, #4] + 8001a3c: b2da uxtb r2, r3 + 8001a3e: 697b ldr r3, [r7, #20] + 8001a40: 701a strb r2, [r3, #0] + bytes_amount = rx_msg.rx_buf[9] + (rx_msg.rx_buf[10] << 8); + 8001a42: 4b2e ldr r3, [pc, #184] @ (8001afc ) + 8001a44: 7c1b ldrb r3, [r3, #16] + 8001a46: 461a mov r2, r3 + 8001a48: 4b2c ldr r3, [pc, #176] @ (8001afc ) + 8001a4a: 7c5b ldrb r3, [r3, #17] + 8001a4c: 021b lsls r3, r3, #8 + 8001a4e: b29b uxth r3, r3 + 8001a50: 4413 add r3, r2 + 8001a52: 837b strh r3, [r7, #26] + + // Проверка размера принятого буфера + if( rx_msg.length < (8)) + 8001a54: 4b29 ldr r3, [pc, #164] @ (8001afc ) + 8001a56: f8b3 3808 ldrh.w r3, [r3, #2056] @ 0x808 + 8001a5a: 2b07 cmp r3, #7 + 8001a5c: d808 bhi.n 8001a70 + { + // Размер принятого пакета меньше чем долно быть + // Установить ошибку + // КОД = 2 + cmd_buf[1] = ERR_SIZE; + 8001a5e: 697b ldr r3, [r7, #20] + 8001a60: 3301 adds r3, #1 + 8001a62: 2202 movs r2, #2 + 8001a64: 701a strb r2, [r3, #0] + + // Установить размер буфера = 2 + tx_msg.cmd_len = 2; + 8001a66: 4b26 ldr r3, [pc, #152] @ (8001b00 ) + 8001a68: 2202 movs r2, #2 + 8001a6a: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c + uint16_t numofwords = (bytes_amount/4)+((bytes_amount%4)!=0); + Flash_Read_Data(FLASH_BASE_WR + flash_addr, (uint32_t *)&cmd_buf[6], numofwords); + // Установить размер буфера + tx_msg.cmd_len = 6 + bytes_amount; + } + break; + 8001a6e: e03d b.n 8001aec + cmd_buf[1] = NO_ERROR; + 8001a70: 697b ldr r3, [r7, #20] + 8001a72: 3301 adds r3, #1 + 8001a74: 2201 movs r2, #1 + 8001a76: 701a strb r2, [r3, #0] + cmd_buf[2] = rx_msg.rx_buf[7]; + 8001a78: 697b ldr r3, [r7, #20] + 8001a7a: 3302 adds r3, #2 + 8001a7c: 4a1f ldr r2, [pc, #124] @ (8001afc ) + 8001a7e: 7b92 ldrb r2, [r2, #14] + 8001a80: 701a strb r2, [r3, #0] + cmd_buf[3] = rx_msg.rx_buf[8] << 8; + 8001a82: 697b ldr r3, [r7, #20] + 8001a84: 3303 adds r3, #3 + 8001a86: 2200 movs r2, #0 + 8001a88: 701a strb r2, [r3, #0] + cmd_buf[4] = rx_msg.rx_buf[9]; + 8001a8a: 697b ldr r3, [r7, #20] + 8001a8c: 3304 adds r3, #4 + 8001a8e: 4a1b ldr r2, [pc, #108] @ (8001afc ) + 8001a90: 7c12 ldrb r2, [r2, #16] + 8001a92: 701a strb r2, [r3, #0] + cmd_buf[5] = rx_msg.rx_buf[10] << 8; + 8001a94: 697b ldr r3, [r7, #20] + 8001a96: 3305 adds r3, #5 + 8001a98: 2200 movs r2, #0 + 8001a9a: 701a strb r2, [r3, #0] + uint16_t flash_addr = rx_msg.rx_buf[7] + (rx_msg.rx_buf[8] << 8); + 8001a9c: 4b17 ldr r3, [pc, #92] @ (8001afc ) + 8001a9e: 7b9b ldrb r3, [r3, #14] + 8001aa0: 461a mov r2, r3 + 8001aa2: 4b16 ldr r3, [pc, #88] @ (8001afc ) + 8001aa4: 7bdb ldrb r3, [r3, #15] + 8001aa6: 021b lsls r3, r3, #8 + 8001aa8: b29b uxth r3, r3 + 8001aaa: 4413 add r3, r2 + 8001aac: 827b strh r3, [r7, #18] + uint16_t numofwords = (bytes_amount/4)+((bytes_amount%4)!=0); + 8001aae: 8b7b ldrh r3, [r7, #26] + 8001ab0: 089b lsrs r3, r3, #2 + 8001ab2: b29b uxth r3, r3 + 8001ab4: 8b7a ldrh r2, [r7, #26] + 8001ab6: f002 0203 and.w r2, r2, #3 + 8001aba: b292 uxth r2, r2 + 8001abc: 2a00 cmp r2, #0 + 8001abe: bf14 ite ne + 8001ac0: 2201 movne r2, #1 + 8001ac2: 2200 moveq r2, #0 + 8001ac4: b2d2 uxtb r2, r2 + 8001ac6: 4413 add r3, r2 + 8001ac8: 823b strh r3, [r7, #16] + Flash_Read_Data(FLASH_BASE_WR + flash_addr, (uint32_t *)&cmd_buf[6], numofwords); + 8001aca: 8a7b ldrh r3, [r7, #18] + 8001acc: f103 6300 add.w r3, r3, #134217728 @ 0x8000000 + 8001ad0: f503 23c0 add.w r3, r3, #393216 @ 0x60000 + 8001ad4: 697a ldr r2, [r7, #20] + 8001ad6: 1d91 adds r1, r2, #6 + 8001ad8: 8a3a ldrh r2, [r7, #16] + 8001ada: 4618 mov r0, r3 + 8001adc: f7ff fac4 bl 8001068 + tx_msg.cmd_len = 6 + bytes_amount; + 8001ae0: 8b7b ldrh r3, [r7, #26] + 8001ae2: 3306 adds r3, #6 + 8001ae4: b29a uxth r2, r3 + 8001ae6: 4b06 ldr r3, [pc, #24] @ (8001b00 ) + 8001ae8: f8a3 257c strh.w r2, [r3, #1404] @ 0x57c + break; + 8001aec: bf00 nop } need_send_private = 1; - 8001790: 4b05 ldr r3, [pc, #20] @ (80017a8 ) - 8001792: 2201 movs r2, #1 - 8001794: 701a strb r2, [r3, #0] + 8001aee: 4b06 ldr r3, [pc, #24] @ (8001b08 ) + 8001af0: 2201 movs r2, #1 + 8001af2: 701a strb r2, [r3, #0] } - 8001796: bf00 nop - 8001798: 3710 adds r7, #16 - 800179a: 46bd mov sp, r7 - 800179c: bd80 pop {r7, pc} - 800179e: bf00 nop - 80017a0: 2000079c .word 0x2000079c - 80017a4: 20000fa8 .word 0x20000fa8 - 80017a8: 20001526 .word 0x20001526 + 8001af4: bf00 nop + 8001af6: 3720 adds r7, #32 + 8001af8: 46bd mov sp, r7 + 8001afa: bd80 pop {r7, pc} + 8001afc: 200007b0 .word 0x200007b0 + 8001b00: 20000fbc .word 0x20000fbc + 8001b04: 200007c3 .word 0x200007c3 + 8001b08: 2000153a .word 0x2000153a -080017ac : +08001b0c : uint16_t read_isa(uint16_t addr) { - 80017ac: b480 push {r7} - 80017ae: b083 sub sp, #12 - 80017b0: af00 add r7, sp, #0 - 80017b2: 4603 mov r3, r0 - 80017b4: 80fb strh r3, [r7, #6] + 8001b0c: b480 push {r7} + 8001b0e: b083 sub sp, #12 + 8001b10: af00 add r7, sp, #0 + 8001b12: 4603 mov r3, r0 + 8001b14: 80fb strh r3, [r7, #6] return *(uint16_t*)(ISA_BASE_RD + (addr << 1)); - 80017b6: 88fb ldrh r3, [r7, #6] - 80017b8: 005b lsls r3, r3, #1 - 80017ba: f103 43c0 add.w r3, r3, #1610612736 @ 0x60000000 - 80017be: 881b ldrh r3, [r3, #0] + 8001b16: 88fb ldrh r3, [r7, #6] + 8001b18: 005b lsls r3, r3, #1 + 8001b1a: f103 43c0 add.w r3, r3, #1610612736 @ 0x60000000 + 8001b1e: 881b ldrh r3, [r3, #0] } - 80017c0: 4618 mov r0, r3 - 80017c2: 370c adds r7, #12 - 80017c4: 46bd mov sp, r7 - 80017c6: f85d 7b04 ldr.w r7, [sp], #4 - 80017ca: 4770 bx lr + 8001b20: 4618 mov r0, r3 + 8001b22: 370c adds r7, #12 + 8001b24: 46bd mov sp, r7 + 8001b26: f85d 7b04 ldr.w r7, [sp], #4 + 8001b2a: 4770 bx lr -080017cc : +08001b2c : void write_isa(uint16_t addr, uint16_t data) { - 80017cc: b480 push {r7} - 80017ce: b083 sub sp, #12 - 80017d0: af00 add r7, sp, #0 - 80017d2: 4603 mov r3, r0 - 80017d4: 460a mov r2, r1 - 80017d6: 80fb strh r3, [r7, #6] - 80017d8: 4613 mov r3, r2 - 80017da: 80bb strh r3, [r7, #4] + 8001b2c: b480 push {r7} + 8001b2e: b083 sub sp, #12 + 8001b30: af00 add r7, sp, #0 + 8001b32: 4603 mov r3, r0 + 8001b34: 460a mov r2, r1 + 8001b36: 80fb strh r3, [r7, #6] + 8001b38: 4613 mov r3, r2 + 8001b3a: 80bb strh r3, [r7, #4] *(uint16_t*)(ISA_BASE_WR + (addr << 1)) = data; - 80017dc: 88fb ldrh r3, [r7, #6] - 80017de: 005b lsls r3, r3, #1 - 80017e0: f103 43c0 add.w r3, r3, #1610612736 @ 0x60000000 - 80017e4: f503 0380 add.w r3, r3, #4194304 @ 0x400000 - 80017e8: 461a mov r2, r3 - 80017ea: 88bb ldrh r3, [r7, #4] - 80017ec: 8013 strh r3, [r2, #0] + 8001b3c: 88fb ldrh r3, [r7, #6] + 8001b3e: 005b lsls r3, r3, #1 + 8001b40: f103 43c0 add.w r3, r3, #1610612736 @ 0x60000000 + 8001b44: f503 0380 add.w r3, r3, #4194304 @ 0x400000 + 8001b48: 461a mov r2, r3 + 8001b4a: 88bb ldrh r3, [r7, #4] + 8001b4c: 8013 strh r3, [r2, #0] } - 80017ee: bf00 nop - 80017f0: 370c adds r7, #12 - 80017f2: 46bd mov sp, r7 - 80017f4: f85d 7b04 ldr.w r7, [sp], #4 - 80017f8: 4770 bx lr + 8001b4e: bf00 nop + 8001b50: 370c adds r7, #12 + 8001b52: 46bd mov sp, r7 + 8001b54: f85d 7b04 ldr.w r7, [sp], #4 + 8001b58: 4770 bx lr -080017fa : +08001b5a : /** * @brief This function is executed in case of error occurrence. * @retval None */ void Error_Handler(void) { - 80017fa: b480 push {r7} - 80017fc: af00 add r7, sp, #0 + 8001b5a: b480 push {r7} + 8001b5c: af00 add r7, sp, #0 \details Disables IRQ interrupts by setting the I-bit in the CPSR. Can only be executed in Privileged modes. */ __STATIC_FORCEINLINE void __disable_irq(void) { __ASM volatile ("cpsid i" : : : "memory"); - 80017fe: b672 cpsid i + 8001b5e: b672 cpsid i } - 8001800: bf00 nop + 8001b60: bf00 nop /* USER CODE BEGIN Error_Handler_Debug */ /* User can add his own implementation to report the HAL error return state */ __disable_irq(); while (1) - 8001802: bf00 nop - 8001804: e7fd b.n 8001802 + 8001b62: bf00 nop + 8001b64: e7fd b.n 8001b62 ... -08001808 : +08001b68 : */ #include "pribors.h" #include "lwip/ip_addr.h" uint32_t get_ip(void) { - 8001808: b580 push {r7, lr} - 800180a: b082 sub sp, #8 - 800180c: af00 add r7, sp, #0 + 8001b68: b580 push {r7, lr} + 8001b6a: b082 sub sp, #8 + 8001b6c: af00 add r7, sp, #0 uint32_t pribor = (((GPIOC->IDR) >> 6) & 0x7) | (((GPIOC->IDR) >> 9) & 0x18); - 800180e: 4b0e ldr r3, [pc, #56] @ (8001848 ) - 8001810: 691b ldr r3, [r3, #16] - 8001812: 099b lsrs r3, r3, #6 - 8001814: f003 0207 and.w r2, r3, #7 - 8001818: 4b0b ldr r3, [pc, #44] @ (8001848 ) - 800181a: 691b ldr r3, [r3, #16] - 800181c: 0a5b lsrs r3, r3, #9 - 800181e: f003 0318 and.w r3, r3, #24 - 8001822: 4313 orrs r3, r2 - 8001824: 607b str r3, [r7, #4] + 8001b6e: 4b0e ldr r3, [pc, #56] @ (8001ba8 ) + 8001b70: 691b ldr r3, [r3, #16] + 8001b72: 099b lsrs r3, r3, #6 + 8001b74: f003 0207 and.w r2, r3, #7 + 8001b78: 4b0b ldr r3, [pc, #44] @ (8001ba8 ) + 8001b7a: 691b ldr r3, [r3, #16] + 8001b7c: 0a5b lsrs r3, r3, #9 + 8001b7e: f003 0318 and.w r3, r3, #24 + 8001b82: 4313 orrs r3, r2 + 8001b84: 607b str r3, [r7, #4] if (pribor == PRIBOR_UF) return ipaddr_addr(IP_PRIBOR_UF); - 8001826: 687b ldr r3, [r7, #4] - 8001828: 2b1b cmp r3, #27 - 800182a: d104 bne.n 8001836 - 800182c: 4807 ldr r0, [pc, #28] @ (800184c ) - 800182e: f00e fdb2 bl 8010396 - 8001832: 4603 mov r3, r0 - 8001834: e003 b.n 800183e + 8001b86: 687b ldr r3, [r7, #4] + 8001b88: 2b1b cmp r3, #27 + 8001b8a: d104 bne.n 8001b96 + 8001b8c: 4807 ldr r0, [pc, #28] @ (8001bac ) + 8001b8e: f00f f8c4 bl 8010d1a + 8001b92: 4603 mov r3, r0 + 8001b94: e003 b.n 8001b9e else return ipaddr_addr("10.1.1.69"); - 8001836: 4806 ldr r0, [pc, #24] @ (8001850 ) - 8001838: f00e fdad bl 8010396 - 800183c: 4603 mov r3, r0 + 8001b96: 4806 ldr r0, [pc, #24] @ (8001bb0 ) + 8001b98: f00f f8bf bl 8010d1a + 8001b9c: 4603 mov r3, r0 } - 800183e: 4618 mov r0, r3 - 8001840: 3708 adds r7, #8 - 8001842: 46bd mov sp, r7 - 8001844: bd80 pop {r7, pc} - 8001846: bf00 nop - 8001848: 40020800 .word 0x40020800 - 800184c: 08015fb4 .word 0x08015fb4 - 8001850: 08015fc0 .word 0x08015fc0 + 8001b9e: 4618 mov r0, r3 + 8001ba0: 3708 adds r7, #8 + 8001ba2: 46bd mov sp, r7 + 8001ba4: bd80 pop {r7, pc} + 8001ba6: bf00 nop + 8001ba8: 40020800 .word 0x40020800 + 8001bac: 08016934 .word 0x08016934 + 8001bb0: 08016940 .word 0x08016940 -08001854 : +08001bb4 : uint16_t get_port(void) { - 8001854: b480 push {r7} - 8001856: b083 sub sp, #12 - 8001858: af00 add r7, sp, #0 + 8001bb4: b480 push {r7} + 8001bb6: b083 sub sp, #12 + 8001bb8: af00 add r7, sp, #0 uint32_t pribor = (((GPIOC->IDR) >> 6) & 0x7) | (((GPIOC->IDR) >> 9) & 0x18); - 800185a: 4b0d ldr r3, [pc, #52] @ (8001890 ) - 800185c: 691b ldr r3, [r3, #16] - 800185e: 099b lsrs r3, r3, #6 - 8001860: f003 0207 and.w r2, r3, #7 - 8001864: 4b0a ldr r3, [pc, #40] @ (8001890 ) - 8001866: 691b ldr r3, [r3, #16] - 8001868: 0a5b lsrs r3, r3, #9 - 800186a: f003 0318 and.w r3, r3, #24 - 800186e: 4313 orrs r3, r2 - 8001870: 607b str r3, [r7, #4] + 8001bba: 4b0d ldr r3, [pc, #52] @ (8001bf0 ) + 8001bbc: 691b ldr r3, [r3, #16] + 8001bbe: 099b lsrs r3, r3, #6 + 8001bc0: f003 0207 and.w r2, r3, #7 + 8001bc4: 4b0a ldr r3, [pc, #40] @ (8001bf0 ) + 8001bc6: 691b ldr r3, [r3, #16] + 8001bc8: 0a5b lsrs r3, r3, #9 + 8001bca: f003 0318 and.w r3, r3, #24 + 8001bce: 4313 orrs r3, r2 + 8001bd0: 607b str r3, [r7, #4] if (pribor == PRIBOR_UF) return 50000U + PORT_PRIBOR_UF; - 8001872: 687b ldr r3, [r7, #4] - 8001874: 2b1b cmp r3, #27 - 8001876: d102 bne.n 800187e - 8001878: f24c 3384 movw r3, #50052 @ 0xc384 - 800187c: e001 b.n 8001882 + 8001bd2: 687b ldr r3, [r7, #4] + 8001bd4: 2b1b cmp r3, #27 + 8001bd6: d102 bne.n 8001bde + 8001bd8: f24c 3384 movw r3, #50052 @ 0xc384 + 8001bdc: e001 b.n 8001be2 else return 50069U; - 800187e: f24c 3395 movw r3, #50069 @ 0xc395 + 8001bde: f24c 3395 movw r3, #50069 @ 0xc395 } - 8001882: 4618 mov r0, r3 - 8001884: 370c adds r7, #12 - 8001886: 46bd mov sp, r7 - 8001888: f85d 7b04 ldr.w r7, [sp], #4 - 800188c: 4770 bx lr - 800188e: bf00 nop - 8001890: 40020800 .word 0x40020800 + 8001be2: 4618 mov r0, r3 + 8001be4: 370c adds r7, #12 + 8001be6: 46bd mov sp, r7 + 8001be8: f85d 7b04 ldr.w r7, [sp], #4 + 8001bec: 4770 bx lr + 8001bee: bf00 nop + 8001bf0: 40020800 .word 0x40020800 -08001894 : +08001bf4 : uint16_t set_status(unsigned char *buf) { - 8001894: b480 push {r7} - 8001896: b083 sub sp, #12 - 8001898: af00 add r7, sp, #0 - 800189a: 6078 str r0, [r7, #4] + 8001bf4: b480 push {r7} + 8001bf6: b083 sub sp, #12 + 8001bf8: af00 add r7, sp, #0 + 8001bfa: 6078 str r0, [r7, #4] buf[6] = 2; - 800189c: 687b ldr r3, [r7, #4] - 800189e: 3306 adds r3, #6 - 80018a0: 2202 movs r2, #2 - 80018a2: 701a strb r2, [r3, #0] + 8001bfc: 687b ldr r3, [r7, #4] + 8001bfe: 3306 adds r3, #6 + 8001c00: 2202 movs r2, #2 + 8001c02: 701a strb r2, [r3, #0] buf[7] = 0; - 80018a4: 687b ldr r3, [r7, #4] - 80018a6: 3307 adds r3, #7 - 80018a8: 2200 movs r2, #0 - 80018aa: 701a strb r2, [r3, #0] + 8001c04: 687b ldr r3, [r7, #4] + 8001c06: 3307 adds r3, #7 + 8001c08: 2200 movs r2, #0 + 8001c0a: 701a strb r2, [r3, #0] buf[8] = 1; - 80018ac: 687b ldr r3, [r7, #4] - 80018ae: 3308 adds r3, #8 - 80018b0: 2201 movs r2, #1 - 80018b2: 701a strb r2, [r3, #0] + 8001c0c: 687b ldr r3, [r7, #4] + 8001c0e: 3308 adds r3, #8 + 8001c10: 2201 movs r2, #1 + 8001c12: 701a strb r2, [r3, #0] buf[9] = 2; - 80018b4: 687b ldr r3, [r7, #4] - 80018b6: 3309 adds r3, #9 - 80018b8: 2202 movs r2, #2 - 80018ba: 701a strb r2, [r3, #0] + 8001c14: 687b ldr r3, [r7, #4] + 8001c16: 3309 adds r3, #9 + 8001c18: 2202 movs r2, #2 + 8001c1a: 701a strb r2, [r3, #0] return(4); - 80018bc: 2304 movs r3, #4 + 8001c1c: 2304 movs r3, #4 } - 80018be: 4618 mov r0, r3 - 80018c0: 370c adds r7, #12 - 80018c2: 46bd mov sp, r7 - 80018c4: f85d 7b04 ldr.w r7, [sp], #4 - 80018c8: 4770 bx lr + 8001c1e: 4618 mov r0, r3 + 8001c20: 370c adds r7, #12 + 8001c22: 46bd mov sp, r7 + 8001c24: f85d 7b04 ldr.w r7, [sp], #4 + 8001c28: 4770 bx lr ... -080018cc : +08001c2c : /* USER CODE END 0 */ /** * Initializes the Global MSP. */ void HAL_MspInit(void) { - 80018cc: b480 push {r7} - 80018ce: b083 sub sp, #12 - 80018d0: af00 add r7, sp, #0 + 8001c2c: b480 push {r7} + 8001c2e: b083 sub sp, #12 + 8001c30: af00 add r7, sp, #0 /* USER CODE BEGIN MspInit 0 */ /* USER CODE END MspInit 0 */ __HAL_RCC_SYSCFG_CLK_ENABLE(); - 80018d2: 2300 movs r3, #0 - 80018d4: 607b str r3, [r7, #4] - 80018d6: 4b10 ldr r3, [pc, #64] @ (8001918 ) - 80018d8: 6c5b ldr r3, [r3, #68] @ 0x44 - 80018da: 4a0f ldr r2, [pc, #60] @ (8001918 ) - 80018dc: f443 4380 orr.w r3, r3, #16384 @ 0x4000 - 80018e0: 6453 str r3, [r2, #68] @ 0x44 - 80018e2: 4b0d ldr r3, [pc, #52] @ (8001918 ) - 80018e4: 6c5b ldr r3, [r3, #68] @ 0x44 - 80018e6: f403 4380 and.w r3, r3, #16384 @ 0x4000 - 80018ea: 607b str r3, [r7, #4] - 80018ec: 687b ldr r3, [r7, #4] + 8001c32: 2300 movs r3, #0 + 8001c34: 607b str r3, [r7, #4] + 8001c36: 4b10 ldr r3, [pc, #64] @ (8001c78 ) + 8001c38: 6c5b ldr r3, [r3, #68] @ 0x44 + 8001c3a: 4a0f ldr r2, [pc, #60] @ (8001c78 ) + 8001c3c: f443 4380 orr.w r3, r3, #16384 @ 0x4000 + 8001c40: 6453 str r3, [r2, #68] @ 0x44 + 8001c42: 4b0d ldr r3, [pc, #52] @ (8001c78 ) + 8001c44: 6c5b ldr r3, [r3, #68] @ 0x44 + 8001c46: f403 4380 and.w r3, r3, #16384 @ 0x4000 + 8001c4a: 607b str r3, [r7, #4] + 8001c4c: 687b ldr r3, [r7, #4] __HAL_RCC_PWR_CLK_ENABLE(); - 80018ee: 2300 movs r3, #0 - 80018f0: 603b str r3, [r7, #0] - 80018f2: 4b09 ldr r3, [pc, #36] @ (8001918 ) - 80018f4: 6c1b ldr r3, [r3, #64] @ 0x40 - 80018f6: 4a08 ldr r2, [pc, #32] @ (8001918 ) - 80018f8: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 80018fc: 6413 str r3, [r2, #64] @ 0x40 - 80018fe: 4b06 ldr r3, [pc, #24] @ (8001918 ) - 8001900: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001902: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 - 8001906: 603b str r3, [r7, #0] - 8001908: 683b ldr r3, [r7, #0] + 8001c4e: 2300 movs r3, #0 + 8001c50: 603b str r3, [r7, #0] + 8001c52: 4b09 ldr r3, [pc, #36] @ (8001c78 ) + 8001c54: 6c1b ldr r3, [r3, #64] @ 0x40 + 8001c56: 4a08 ldr r2, [pc, #32] @ (8001c78 ) + 8001c58: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 8001c5c: 6413 str r3, [r2, #64] @ 0x40 + 8001c5e: 4b06 ldr r3, [pc, #24] @ (8001c78 ) + 8001c60: 6c1b ldr r3, [r3, #64] @ 0x40 + 8001c62: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 8001c66: 603b str r3, [r7, #0] + 8001c68: 683b ldr r3, [r7, #0] /* System interrupt init*/ /* USER CODE BEGIN MspInit 1 */ /* USER CODE END MspInit 1 */ } - 800190a: bf00 nop - 800190c: 370c adds r7, #12 - 800190e: 46bd mov sp, r7 - 8001910: f85d 7b04 ldr.w r7, [sp], #4 - 8001914: 4770 bx lr - 8001916: bf00 nop - 8001918: 40023800 .word 0x40023800 + 8001c6a: bf00 nop + 8001c6c: 370c adds r7, #12 + 8001c6e: 46bd mov sp, r7 + 8001c70: f85d 7b04 ldr.w r7, [sp], #4 + 8001c74: 4770 bx lr + 8001c76: bf00 nop + 8001c78: 40023800 .word 0x40023800 -0800191c : +08001c7c : * This function configures the hardware resources used in this example * @param htim_base: TIM_Base handle pointer * @retval None */ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base) { - 800191c: b580 push {r7, lr} - 800191e: b084 sub sp, #16 - 8001920: af00 add r7, sp, #0 - 8001922: 6078 str r0, [r7, #4] + 8001c7c: b580 push {r7, lr} + 8001c7e: b084 sub sp, #16 + 8001c80: af00 add r7, sp, #0 + 8001c82: 6078 str r0, [r7, #4] if(htim_base->Instance==TIM3) - 8001924: 687b ldr r3, [r7, #4] - 8001926: 681b ldr r3, [r3, #0] - 8001928: 4a0e ldr r2, [pc, #56] @ (8001964 ) - 800192a: 4293 cmp r3, r2 - 800192c: d115 bne.n 800195a + 8001c84: 687b ldr r3, [r7, #4] + 8001c86: 681b ldr r3, [r3, #0] + 8001c88: 4a0e ldr r2, [pc, #56] @ (8001cc4 ) + 8001c8a: 4293 cmp r3, r2 + 8001c8c: d115 bne.n 8001cba { /* USER CODE BEGIN TIM3_MspInit 0 */ /* USER CODE END TIM3_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_TIM3_CLK_ENABLE(); - 800192e: 2300 movs r3, #0 - 8001930: 60fb str r3, [r7, #12] - 8001932: 4b0d ldr r3, [pc, #52] @ (8001968 ) - 8001934: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001936: 4a0c ldr r2, [pc, #48] @ (8001968 ) - 8001938: f043 0302 orr.w r3, r3, #2 - 800193c: 6413 str r3, [r2, #64] @ 0x40 - 800193e: 4b0a ldr r3, [pc, #40] @ (8001968 ) - 8001940: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001942: f003 0302 and.w r3, r3, #2 - 8001946: 60fb str r3, [r7, #12] - 8001948: 68fb ldr r3, [r7, #12] + 8001c8e: 2300 movs r3, #0 + 8001c90: 60fb str r3, [r7, #12] + 8001c92: 4b0d ldr r3, [pc, #52] @ (8001cc8 ) + 8001c94: 6c1b ldr r3, [r3, #64] @ 0x40 + 8001c96: 4a0c ldr r2, [pc, #48] @ (8001cc8 ) + 8001c98: f043 0302 orr.w r3, r3, #2 + 8001c9c: 6413 str r3, [r2, #64] @ 0x40 + 8001c9e: 4b0a ldr r3, [pc, #40] @ (8001cc8 ) + 8001ca0: 6c1b ldr r3, [r3, #64] @ 0x40 + 8001ca2: f003 0302 and.w r3, r3, #2 + 8001ca6: 60fb str r3, [r7, #12] + 8001ca8: 68fb ldr r3, [r7, #12] /* TIM3 interrupt Init */ HAL_NVIC_SetPriority(TIM3_IRQn, 0, 0); - 800194a: 2200 movs r2, #0 - 800194c: 2100 movs r1, #0 - 800194e: 201d movs r0, #29 - 8001950: f000 fbdd bl 800210e + 8001caa: 2200 movs r2, #0 + 8001cac: 2100 movs r1, #0 + 8001cae: 201d movs r0, #29 + 8001cb0: f000 fbdd bl 800246e HAL_NVIC_EnableIRQ(TIM3_IRQn); - 8001954: 201d movs r0, #29 - 8001956: f000 fbf6 bl 8002146 + 8001cb4: 201d movs r0, #29 + 8001cb6: f000 fbf6 bl 80024a6 /* USER CODE BEGIN TIM3_MspInit 1 */ /* USER CODE END TIM3_MspInit 1 */ } } - 800195a: bf00 nop - 800195c: 3710 adds r7, #16 - 800195e: 46bd mov sp, r7 - 8001960: bd80 pop {r7, pc} - 8001962: bf00 nop - 8001964: 40000400 .word 0x40000400 - 8001968: 40023800 .word 0x40023800 + 8001cba: bf00 nop + 8001cbc: 3710 adds r7, #16 + 8001cbe: 46bd mov sp, r7 + 8001cc0: bd80 pop {r7, pc} + 8001cc2: bf00 nop + 8001cc4: 40000400 .word 0x40000400 + 8001cc8: 40023800 .word 0x40023800 -0800196c : +08001ccc : } static uint32_t FMC_Initialized = 0; static void HAL_FMC_MspInit(void){ - 800196c: b580 push {r7, lr} - 800196e: b086 sub sp, #24 - 8001970: af00 add r7, sp, #0 + 8001ccc: b580 push {r7, lr} + 8001cce: b086 sub sp, #24 + 8001cd0: af00 add r7, sp, #0 /* USER CODE BEGIN FMC_MspInit 0 */ /* USER CODE END FMC_MspInit 0 */ GPIO_InitTypeDef GPIO_InitStruct ={0}; - 8001972: 1d3b adds r3, r7, #4 - 8001974: 2200 movs r2, #0 - 8001976: 601a str r2, [r3, #0] - 8001978: 605a str r2, [r3, #4] - 800197a: 609a str r2, [r3, #8] - 800197c: 60da str r2, [r3, #12] - 800197e: 611a str r2, [r3, #16] + 8001cd2: 1d3b adds r3, r7, #4 + 8001cd4: 2200 movs r2, #0 + 8001cd6: 601a str r2, [r3, #0] + 8001cd8: 605a str r2, [r3, #4] + 8001cda: 609a str r2, [r3, #8] + 8001cdc: 60da str r2, [r3, #12] + 8001cde: 611a str r2, [r3, #16] if (FMC_Initialized) { - 8001980: 4b2c ldr r3, [pc, #176] @ (8001a34 ) - 8001982: 681b ldr r3, [r3, #0] - 8001984: 2b00 cmp r3, #0 - 8001986: d150 bne.n 8001a2a + 8001ce0: 4b2c ldr r3, [pc, #176] @ (8001d94 ) + 8001ce2: 681b ldr r3, [r3, #0] + 8001ce4: 2b00 cmp r3, #0 + 8001ce6: d150 bne.n 8001d8a return; } FMC_Initialized = 1; - 8001988: 4b2a ldr r3, [pc, #168] @ (8001a34 ) - 800198a: 2201 movs r2, #1 - 800198c: 601a str r2, [r3, #0] + 8001ce8: 4b2a ldr r3, [pc, #168] @ (8001d94 ) + 8001cea: 2201 movs r2, #1 + 8001cec: 601a str r2, [r3, #0] /* Peripheral clock enable */ __HAL_RCC_FMC_CLK_ENABLE(); - 800198e: 2300 movs r3, #0 - 8001990: 603b str r3, [r7, #0] - 8001992: 4b29 ldr r3, [pc, #164] @ (8001a38 ) - 8001994: 6b9b ldr r3, [r3, #56] @ 0x38 - 8001996: 4a28 ldr r2, [pc, #160] @ (8001a38 ) - 8001998: f043 0301 orr.w r3, r3, #1 - 800199c: 6393 str r3, [r2, #56] @ 0x38 - 800199e: 4b26 ldr r3, [pc, #152] @ (8001a38 ) - 80019a0: 6b9b ldr r3, [r3, #56] @ 0x38 - 80019a2: f003 0301 and.w r3, r3, #1 - 80019a6: 603b str r3, [r7, #0] - 80019a8: 683b ldr r3, [r7, #0] + 8001cee: 2300 movs r3, #0 + 8001cf0: 603b str r3, [r7, #0] + 8001cf2: 4b29 ldr r3, [pc, #164] @ (8001d98 ) + 8001cf4: 6b9b ldr r3, [r3, #56] @ 0x38 + 8001cf6: 4a28 ldr r2, [pc, #160] @ (8001d98 ) + 8001cf8: f043 0301 orr.w r3, r3, #1 + 8001cfc: 6393 str r3, [r2, #56] @ 0x38 + 8001cfe: 4b26 ldr r3, [pc, #152] @ (8001d98 ) + 8001d00: 6b9b ldr r3, [r3, #56] @ 0x38 + 8001d02: f003 0301 and.w r3, r3, #1 + 8001d06: 603b str r3, [r7, #0] + 8001d08: 683b ldr r3, [r7, #0] PD5 ------> FMC_NWE PD7 ------> FMC_NE1 PE0 ------> FMC_NBL0 PE1 ------> FMC_NBL1 */ GPIO_InitStruct.Pin = GPIO_PIN_3|GPIO_PIN_4|GPIO_PIN_5|GPIO_PIN_6 - 80019aa: f64f 73fb movw r3, #65531 @ 0xfffb - 80019ae: 607b str r3, [r7, #4] + 8001d0a: f64f 73fb movw r3, #65531 @ 0xfffb + 8001d0e: 607b str r3, [r7, #4] |GPIO_PIN_7|GPIO_PIN_8|GPIO_PIN_9|GPIO_PIN_10 |GPIO_PIN_11|GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_14 |GPIO_PIN_15|GPIO_PIN_0|GPIO_PIN_1; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80019b0: 2302 movs r3, #2 - 80019b2: 60bb str r3, [r7, #8] + 8001d10: 2302 movs r3, #2 + 8001d12: 60bb str r3, [r7, #8] GPIO_InitStruct.Pull = GPIO_NOPULL; - 80019b4: 2300 movs r3, #0 - 80019b6: 60fb str r3, [r7, #12] + 8001d14: 2300 movs r3, #0 + 8001d16: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 80019b8: 2303 movs r3, #3 - 80019ba: 613b str r3, [r7, #16] + 8001d18: 2303 movs r3, #3 + 8001d1a: 613b str r3, [r7, #16] GPIO_InitStruct.Alternate = GPIO_AF12_FMC; - 80019bc: 230c movs r3, #12 - 80019be: 617b str r3, [r7, #20] + 8001d1c: 230c movs r3, #12 + 8001d1e: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOE, &GPIO_InitStruct); - 80019c0: 1d3b adds r3, r7, #4 - 80019c2: 4619 mov r1, r3 - 80019c4: 481d ldr r0, [pc, #116] @ (8001a3c ) - 80019c6: f001 fccf bl 8003368 + 8001d20: 1d3b adds r3, r7, #4 + 8001d22: 4619 mov r1, r3 + 8001d24: 481d ldr r0, [pc, #116] @ (8001d9c ) + 8001d26: f001 ffe1 bl 8003cec GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3 - 80019ca: f24f 033f movw r3, #61503 @ 0xf03f - 80019ce: 607b str r3, [r7, #4] + 8001d2a: f24f 033f movw r3, #61503 @ 0xf03f + 8001d2e: 607b str r3, [r7, #4] |GPIO_PIN_4|GPIO_PIN_5|GPIO_PIN_12|GPIO_PIN_13 |GPIO_PIN_14|GPIO_PIN_15; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80019d0: 2302 movs r3, #2 - 80019d2: 60bb str r3, [r7, #8] + 8001d30: 2302 movs r3, #2 + 8001d32: 60bb str r3, [r7, #8] GPIO_InitStruct.Pull = GPIO_NOPULL; - 80019d4: 2300 movs r3, #0 - 80019d6: 60fb str r3, [r7, #12] + 8001d34: 2300 movs r3, #0 + 8001d36: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 80019d8: 2303 movs r3, #3 - 80019da: 613b str r3, [r7, #16] + 8001d38: 2303 movs r3, #3 + 8001d3a: 613b str r3, [r7, #16] GPIO_InitStruct.Alternate = GPIO_AF12_FMC; - 80019dc: 230c movs r3, #12 - 80019de: 617b str r3, [r7, #20] + 8001d3c: 230c movs r3, #12 + 8001d3e: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOF, &GPIO_InitStruct); - 80019e0: 1d3b adds r3, r7, #4 - 80019e2: 4619 mov r1, r3 - 80019e4: 4816 ldr r0, [pc, #88] @ (8001a40 ) - 80019e6: f001 fcbf bl 8003368 + 8001d40: 1d3b adds r3, r7, #4 + 8001d42: 4619 mov r1, r3 + 8001d44: 4816 ldr r0, [pc, #88] @ (8001da0 ) + 8001d46: f001 ffd1 bl 8003cec GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3 - 80019ea: 233f movs r3, #63 @ 0x3f - 80019ec: 607b str r3, [r7, #4] + 8001d4a: 233f movs r3, #63 @ 0x3f + 8001d4c: 607b str r3, [r7, #4] |GPIO_PIN_4|GPIO_PIN_5; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80019ee: 2302 movs r3, #2 - 80019f0: 60bb str r3, [r7, #8] + 8001d4e: 2302 movs r3, #2 + 8001d50: 60bb str r3, [r7, #8] GPIO_InitStruct.Pull = GPIO_NOPULL; - 80019f2: 2300 movs r3, #0 - 80019f4: 60fb str r3, [r7, #12] + 8001d52: 2300 movs r3, #0 + 8001d54: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 80019f6: 2303 movs r3, #3 - 80019f8: 613b str r3, [r7, #16] + 8001d56: 2303 movs r3, #3 + 8001d58: 613b str r3, [r7, #16] GPIO_InitStruct.Alternate = GPIO_AF12_FMC; - 80019fa: 230c movs r3, #12 - 80019fc: 617b str r3, [r7, #20] + 8001d5a: 230c movs r3, #12 + 8001d5c: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOG, &GPIO_InitStruct); - 80019fe: 1d3b adds r3, r7, #4 - 8001a00: 4619 mov r1, r3 - 8001a02: 4810 ldr r0, [pc, #64] @ (8001a44 ) - 8001a04: f001 fcb0 bl 8003368 + 8001d5e: 1d3b adds r3, r7, #4 + 8001d60: 4619 mov r1, r3 + 8001d62: 4810 ldr r0, [pc, #64] @ (8001da4 ) + 8001d64: f001 ffc2 bl 8003cec GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_9|GPIO_PIN_10|GPIO_PIN_11 - 8001a08: f64f 73b3 movw r3, #65459 @ 0xffb3 - 8001a0c: 607b str r3, [r7, #4] + 8001d68: f64f 73b3 movw r3, #65459 @ 0xffb3 + 8001d6c: 607b str r3, [r7, #4] |GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_15 |GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_4|GPIO_PIN_5 |GPIO_PIN_7; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001a0e: 2302 movs r3, #2 - 8001a10: 60bb str r3, [r7, #8] + 8001d6e: 2302 movs r3, #2 + 8001d70: 60bb str r3, [r7, #8] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001a12: 2300 movs r3, #0 - 8001a14: 60fb str r3, [r7, #12] + 8001d72: 2300 movs r3, #0 + 8001d74: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001a16: 2303 movs r3, #3 - 8001a18: 613b str r3, [r7, #16] + 8001d76: 2303 movs r3, #3 + 8001d78: 613b str r3, [r7, #16] GPIO_InitStruct.Alternate = GPIO_AF12_FMC; - 8001a1a: 230c movs r3, #12 - 8001a1c: 617b str r3, [r7, #20] + 8001d7a: 230c movs r3, #12 + 8001d7c: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); - 8001a1e: 1d3b adds r3, r7, #4 - 8001a20: 4619 mov r1, r3 - 8001a22: 4809 ldr r0, [pc, #36] @ (8001a48 ) - 8001a24: f001 fca0 bl 8003368 - 8001a28: e000 b.n 8001a2c + 8001d7e: 1d3b adds r3, r7, #4 + 8001d80: 4619 mov r1, r3 + 8001d82: 4809 ldr r0, [pc, #36] @ (8001da8 ) + 8001d84: f001 ffb2 bl 8003cec + 8001d88: e000 b.n 8001d8c return; - 8001a2a: bf00 nop + 8001d8a: bf00 nop /* USER CODE BEGIN FMC_MspInit 1 */ /* USER CODE END FMC_MspInit 1 */ } - 8001a2c: 3718 adds r7, #24 - 8001a2e: 46bd mov sp, r7 - 8001a30: bd80 pop {r7, pc} - 8001a32: bf00 nop - 8001a34: 20001528 .word 0x20001528 - 8001a38: 40023800 .word 0x40023800 - 8001a3c: 40021000 .word 0x40021000 - 8001a40: 40021400 .word 0x40021400 - 8001a44: 40021800 .word 0x40021800 - 8001a48: 40020c00 .word 0x40020c00 + 8001d8c: 3718 adds r7, #24 + 8001d8e: 46bd mov sp, r7 + 8001d90: bd80 pop {r7, pc} + 8001d92: bf00 nop + 8001d94: 2000153c .word 0x2000153c + 8001d98: 40023800 .word 0x40023800 + 8001d9c: 40021000 .word 0x40021000 + 8001da0: 40021400 .word 0x40021400 + 8001da4: 40021800 .word 0x40021800 + 8001da8: 40020c00 .word 0x40020c00 -08001a4c : +08001dac : void HAL_SRAM_MspInit(SRAM_HandleTypeDef* hsram){ - 8001a4c: b580 push {r7, lr} - 8001a4e: b082 sub sp, #8 - 8001a50: af00 add r7, sp, #0 - 8001a52: 6078 str r0, [r7, #4] + 8001dac: b580 push {r7, lr} + 8001dae: b082 sub sp, #8 + 8001db0: af00 add r7, sp, #0 + 8001db2: 6078 str r0, [r7, #4] /* USER CODE BEGIN SRAM_MspInit 0 */ /* USER CODE END SRAM_MspInit 0 */ HAL_FMC_MspInit(); - 8001a54: f7ff ff8a bl 800196c + 8001db4: f7ff ff8a bl 8001ccc /* USER CODE BEGIN SRAM_MspInit 1 */ /* USER CODE END SRAM_MspInit 1 */ } - 8001a58: bf00 nop - 8001a5a: 3708 adds r7, #8 - 8001a5c: 46bd mov sp, r7 - 8001a5e: bd80 pop {r7, pc} + 8001db8: bf00 nop + 8001dba: 3708 adds r7, #8 + 8001dbc: 46bd mov sp, r7 + 8001dbe: bd80 pop {r7, pc} -08001a60 : +08001dc0 : /******************************************************************************/ /** * @brief This function handles Non maskable interrupt. */ void NMI_Handler(void) { - 8001a60: b480 push {r7} - 8001a62: af00 add r7, sp, #0 + 8001dc0: b480 push {r7} + 8001dc2: af00 add r7, sp, #0 /* USER CODE BEGIN NonMaskableInt_IRQn 0 */ /* USER CODE END NonMaskableInt_IRQn 0 */ /* USER CODE BEGIN NonMaskableInt_IRQn 1 */ while (1) - 8001a64: bf00 nop - 8001a66: e7fd b.n 8001a64 + 8001dc4: bf00 nop + 8001dc6: e7fd b.n 8001dc4 -08001a68 : +08001dc8 : /** * @brief This function handles Hard fault interrupt. */ void HardFault_Handler(void) { - 8001a68: b480 push {r7} - 8001a6a: af00 add r7, sp, #0 + 8001dc8: b480 push {r7} + 8001dca: af00 add r7, sp, #0 /* USER CODE BEGIN HardFault_IRQn 0 */ /* USER CODE END HardFault_IRQn 0 */ while (1) - 8001a6c: bf00 nop - 8001a6e: e7fd b.n 8001a6c + 8001dcc: bf00 nop + 8001dce: e7fd b.n 8001dcc -08001a70 : +08001dd0 : /** * @brief This function handles Memory management fault. */ void MemManage_Handler(void) { - 8001a70: b480 push {r7} - 8001a72: af00 add r7, sp, #0 + 8001dd0: b480 push {r7} + 8001dd2: af00 add r7, sp, #0 /* USER CODE BEGIN MemoryManagement_IRQn 0 */ /* USER CODE END MemoryManagement_IRQn 0 */ while (1) - 8001a74: bf00 nop - 8001a76: e7fd b.n 8001a74 + 8001dd4: bf00 nop + 8001dd6: e7fd b.n 8001dd4 -08001a78 : +08001dd8 : /** * @brief This function handles Pre-fetch fault, memory access fault. */ void BusFault_Handler(void) { - 8001a78: b480 push {r7} - 8001a7a: af00 add r7, sp, #0 + 8001dd8: b480 push {r7} + 8001dda: af00 add r7, sp, #0 /* USER CODE BEGIN BusFault_IRQn 0 */ /* USER CODE END BusFault_IRQn 0 */ while (1) - 8001a7c: bf00 nop - 8001a7e: e7fd b.n 8001a7c + 8001ddc: bf00 nop + 8001dde: e7fd b.n 8001ddc -08001a80 : +08001de0 : /** * @brief This function handles Undefined instruction or illegal state. */ void UsageFault_Handler(void) { - 8001a80: b480 push {r7} - 8001a82: af00 add r7, sp, #0 + 8001de0: b480 push {r7} + 8001de2: af00 add r7, sp, #0 /* USER CODE BEGIN UsageFault_IRQn 0 */ /* USER CODE END UsageFault_IRQn 0 */ while (1) - 8001a84: bf00 nop - 8001a86: e7fd b.n 8001a84 + 8001de4: bf00 nop + 8001de6: e7fd b.n 8001de4 -08001a88 : +08001de8 : /** * @brief This function handles System service call via SWI instruction. */ void SVC_Handler(void) { - 8001a88: b480 push {r7} - 8001a8a: af00 add r7, sp, #0 + 8001de8: b480 push {r7} + 8001dea: af00 add r7, sp, #0 /* USER CODE END SVCall_IRQn 0 */ /* USER CODE BEGIN SVCall_IRQn 1 */ /* USER CODE END SVCall_IRQn 1 */ } - 8001a8c: bf00 nop - 8001a8e: 46bd mov sp, r7 - 8001a90: f85d 7b04 ldr.w r7, [sp], #4 - 8001a94: 4770 bx lr + 8001dec: bf00 nop + 8001dee: 46bd mov sp, r7 + 8001df0: f85d 7b04 ldr.w r7, [sp], #4 + 8001df4: 4770 bx lr -08001a96 : +08001df6 : /** * @brief This function handles Debug monitor. */ void DebugMon_Handler(void) { - 8001a96: b480 push {r7} - 8001a98: af00 add r7, sp, #0 + 8001df6: b480 push {r7} + 8001df8: af00 add r7, sp, #0 /* USER CODE END DebugMonitor_IRQn 0 */ /* USER CODE BEGIN DebugMonitor_IRQn 1 */ /* USER CODE END DebugMonitor_IRQn 1 */ } - 8001a9a: bf00 nop - 8001a9c: 46bd mov sp, r7 - 8001a9e: f85d 7b04 ldr.w r7, [sp], #4 - 8001aa2: 4770 bx lr + 8001dfa: bf00 nop + 8001dfc: 46bd mov sp, r7 + 8001dfe: f85d 7b04 ldr.w r7, [sp], #4 + 8001e02: 4770 bx lr -08001aa4 : +08001e04 : /** * @brief This function handles Pendable request for system service. */ void PendSV_Handler(void) { - 8001aa4: b480 push {r7} - 8001aa6: af00 add r7, sp, #0 + 8001e04: b480 push {r7} + 8001e06: af00 add r7, sp, #0 /* USER CODE END PendSV_IRQn 0 */ /* USER CODE BEGIN PendSV_IRQn 1 */ /* USER CODE END PendSV_IRQn 1 */ } - 8001aa8: bf00 nop - 8001aaa: 46bd mov sp, r7 - 8001aac: f85d 7b04 ldr.w r7, [sp], #4 - 8001ab0: 4770 bx lr + 8001e08: bf00 nop + 8001e0a: 46bd mov sp, r7 + 8001e0c: f85d 7b04 ldr.w r7, [sp], #4 + 8001e10: 4770 bx lr -08001ab2 : +08001e12 : /** * @brief This function handles System tick timer. */ void SysTick_Handler(void) { - 8001ab2: b580 push {r7, lr} - 8001ab4: af00 add r7, sp, #0 + 8001e12: b580 push {r7, lr} + 8001e14: af00 add r7, sp, #0 /* USER CODE BEGIN SysTick_IRQn 0 */ /* USER CODE END SysTick_IRQn 0 */ HAL_IncTick(); - 8001ab6: f000 fa0b bl 8001ed0 + 8001e16: f000 fa0b bl 8002230 /* USER CODE BEGIN SysTick_IRQn 1 */ /* USER CODE END SysTick_IRQn 1 */ } - 8001aba: bf00 nop - 8001abc: bd80 pop {r7, pc} + 8001e1a: bf00 nop + 8001e1c: bd80 pop {r7, pc} ... -08001ac0 : +08001e20 : /** * @brief This function handles TIM3 global interrupt. */ void TIM3_IRQHandler(void) { - 8001ac0: b580 push {r7, lr} - 8001ac2: af00 add r7, sp, #0 + 8001e20: b580 push {r7, lr} + 8001e22: af00 add r7, sp, #0 /* USER CODE BEGIN TIM3_IRQn 0 */ /* USER CODE END TIM3_IRQn 0 */ HAL_TIM_IRQHandler(&htim3); - 8001ac4: 4808 ldr r0, [pc, #32] @ (8001ae8 ) - 8001ac6: f002 fb4d bl 8004164 + 8001e24: 4808 ldr r0, [pc, #32] @ (8001e48 ) + 8001e26: f002 fe5f bl 8004ae8 /* USER CODE BEGIN TIM3_IRQn 1 */ br_counter++; - 8001aca: 4b08 ldr r3, [pc, #32] @ (8001aec ) - 8001acc: 681b ldr r3, [r3, #0] - 8001ace: 3301 adds r3, #1 - 8001ad0: 4a06 ldr r2, [pc, #24] @ (8001aec ) - 8001ad2: 6013 str r3, [r2, #0] + 8001e2a: 4b08 ldr r3, [pc, #32] @ (8001e4c ) + 8001e2c: 681b ldr r3, [r3, #0] + 8001e2e: 3301 adds r3, #1 + 8001e30: 4a06 ldr r2, [pc, #24] @ (8001e4c ) + 8001e32: 6013 str r3, [r2, #0] rx_msg.con_timeout++; - 8001ad4: 4b06 ldr r3, [pc, #24] @ (8001af0 ) - 8001ad6: f8b3 380a ldrh.w r3, [r3, #2058] @ 0x80a - 8001ada: 3301 adds r3, #1 - 8001adc: b29a uxth r2, r3 - 8001ade: 4b04 ldr r3, [pc, #16] @ (8001af0 ) - 8001ae0: f8a3 280a strh.w r2, [r3, #2058] @ 0x80a + 8001e34: 4b06 ldr r3, [pc, #24] @ (8001e50 ) + 8001e36: f8b3 380a ldrh.w r3, [r3, #2058] @ 0x80a + 8001e3a: 3301 adds r3, #1 + 8001e3c: b29a uxth r2, r3 + 8001e3e: 4b04 ldr r3, [pc, #16] @ (8001e50 ) + 8001e40: f8a3 280a strh.w r2, [r3, #2058] @ 0x80a /* USER CODE END TIM3_IRQn 1 */ } - 8001ae4: bf00 nop - 8001ae6: bd80 pop {r7, pc} - 8001ae8: 200006fc .word 0x200006fc - 8001aec: 20000794 .word 0x20000794 - 8001af0: 2000079c .word 0x2000079c + 8001e44: bf00 nop + 8001e46: bd80 pop {r7, pc} + 8001e48: 20000710 .word 0x20000710 + 8001e4c: 200007a8 .word 0x200007a8 + 8001e50: 200007b0 .word 0x200007b0 -08001af4 : +08001e54 : * configuration. * @param None * @retval None */ void SystemInit(void) { - 8001af4: b480 push {r7} - 8001af6: af00 add r7, sp, #0 + 8001e54: b480 push {r7} + 8001e56: af00 add r7, sp, #0 /* FPU settings ------------------------------------------------------------*/ #if (__FPU_PRESENT == 1) && (__FPU_USED == 1) SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */ - 8001af8: 4b06 ldr r3, [pc, #24] @ (8001b14 ) - 8001afa: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 8001afe: 4a05 ldr r2, [pc, #20] @ (8001b14 ) - 8001b00: f443 0370 orr.w r3, r3, #15728640 @ 0xf00000 - 8001b04: f8c2 3088 str.w r3, [r2, #136] @ 0x88 + 8001e58: 4b06 ldr r3, [pc, #24] @ (8001e74 ) + 8001e5a: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 8001e5e: 4a05 ldr r2, [pc, #20] @ (8001e74 ) + 8001e60: f443 0370 orr.w r3, r3, #15728640 @ 0xf00000 + 8001e64: f8c2 3088 str.w r3, [r2, #136] @ 0x88 /* Configure the Vector Table location -------------------------------------*/ #if defined(USER_VECT_TAB_ADDRESS) SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */ #endif /* USER_VECT_TAB_ADDRESS */ } - 8001b08: bf00 nop - 8001b0a: 46bd mov sp, r7 - 8001b0c: f85d 7b04 ldr.w r7, [sp], #4 - 8001b10: 4770 bx lr - 8001b12: bf00 nop - 8001b14: e000ed00 .word 0xe000ed00 + 8001e68: bf00 nop + 8001e6a: 46bd mov sp, r7 + 8001e6c: f85d 7b04 ldr.w r7, [sp], #4 + 8001e70: 4770 bx lr + 8001e72: bf00 nop + 8001e74: e000ed00 .word 0xe000ed00 -08001b18 : +08001e78 : .section .text.Reset_Handler .weak Reset_Handler .type Reset_Handler, %function Reset_Handler: ldr r0, =_estack - 8001b18: 480d ldr r0, [pc, #52] @ (8001b50 ) + 8001e78: 480d ldr r0, [pc, #52] @ (8001eb0 ) mov sp, r0 /* set stack pointer */ - 8001b1a: 4685 mov sp, r0 + 8001e7a: 4685 mov sp, r0 /* Call the clock system initialization function.*/ bl SystemInit - 8001b1c: f7ff ffea bl 8001af4 + 8001e7c: f7ff ffea bl 8001e54 /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata - 8001b20: 480c ldr r0, [pc, #48] @ (8001b54 ) + 8001e80: 480c ldr r0, [pc, #48] @ (8001eb4 ) ldr r1, =_edata - 8001b22: 490d ldr r1, [pc, #52] @ (8001b58 ) + 8001e82: 490d ldr r1, [pc, #52] @ (8001eb8 ) ldr r2, =_sidata - 8001b24: 4a0d ldr r2, [pc, #52] @ (8001b5c ) + 8001e84: 4a0d ldr r2, [pc, #52] @ (8001ebc ) movs r3, #0 - 8001b26: 2300 movs r3, #0 + 8001e86: 2300 movs r3, #0 b LoopCopyDataInit - 8001b28: e002 b.n 8001b30 + 8001e88: e002 b.n 8001e90 -08001b2a : +08001e8a : CopyDataInit: ldr r4, [r2, r3] - 8001b2a: 58d4 ldr r4, [r2, r3] + 8001e8a: 58d4 ldr r4, [r2, r3] str r4, [r0, r3] - 8001b2c: 50c4 str r4, [r0, r3] + 8001e8c: 50c4 str r4, [r0, r3] adds r3, r3, #4 - 8001b2e: 3304 adds r3, #4 + 8001e8e: 3304 adds r3, #4 -08001b30 : +08001e90 : LoopCopyDataInit: adds r4, r0, r3 - 8001b30: 18c4 adds r4, r0, r3 + 8001e90: 18c4 adds r4, r0, r3 cmp r4, r1 - 8001b32: 428c cmp r4, r1 + 8001e92: 428c cmp r4, r1 bcc CopyDataInit - 8001b34: d3f9 bcc.n 8001b2a + 8001e94: d3f9 bcc.n 8001e8a /* Zero fill the bss segment. */ ldr r2, =_sbss - 8001b36: 4a0a ldr r2, [pc, #40] @ (8001b60 ) + 8001e96: 4a0a ldr r2, [pc, #40] @ (8001ec0 ) ldr r4, =_ebss - 8001b38: 4c0a ldr r4, [pc, #40] @ (8001b64 ) + 8001e98: 4c0a ldr r4, [pc, #40] @ (8001ec4 ) movs r3, #0 - 8001b3a: 2300 movs r3, #0 + 8001e9a: 2300 movs r3, #0 b LoopFillZerobss - 8001b3c: e001 b.n 8001b42 + 8001e9c: e001 b.n 8001ea2 -08001b3e : +08001e9e : FillZerobss: str r3, [r2] - 8001b3e: 6013 str r3, [r2, #0] + 8001e9e: 6013 str r3, [r2, #0] adds r2, r2, #4 - 8001b40: 3204 adds r2, #4 + 8001ea0: 3204 adds r2, #4 -08001b42 : +08001ea2 : LoopFillZerobss: cmp r2, r4 - 8001b42: 42a2 cmp r2, r4 + 8001ea2: 42a2 cmp r2, r4 bcc FillZerobss - 8001b44: d3fb bcc.n 8001b3e + 8001ea4: d3fb bcc.n 8001e9e /* Call static constructors */ bl __libc_init_array - 8001b46: f00f fe2b bl 80117a0 <__libc_init_array> + 8001ea6: f010 f93d bl 8012124 <__libc_init_array> /* Call the application's entry point.*/ bl main - 8001b4a: f7ff f9b5 bl 8000eb8
+ 8001eaa: f7ff f8fb bl 80010a4
-08001b4e : +08001eae : LoopForever: b LoopForever - 8001b4e: e7fe b.n 8001b4e + 8001eae: e7fe b.n 8001eae ldr r0, =_estack - 8001b50: 20030000 .word 0x20030000 + 8001eb0: 20030000 .word 0x20030000 ldr r0, =_sdata - 8001b54: 20000000 .word 0x20000000 + 8001eb4: 20000000 .word 0x20000000 ldr r1, =_edata - 8001b58: 200006e0 .word 0x200006e0 + 8001eb8: 200006e0 .word 0x200006e0 ldr r2, =_sidata - 8001b5c: 08019288 .word 0x08019288 + 8001ebc: 08019c08 .word 0x08019c08 ldr r2, =_sbss - 8001b60: 200006e0 .word 0x200006e0 + 8001ec0: 200006e0 .word 0x200006e0 ldr r4, =_ebss - 8001b64: 20019544 .word 0x20019544 + 8001ec4: 20019578 .word 0x20019578 -08001b68 : +08001ec8 : * @retval : None */ .section .text.Default_Handler,"ax",%progbits Default_Handler: Infinite_Loop: b Infinite_Loop - 8001b68: e7fe b.n 8001b68 + 8001ec8: e7fe b.n 8001ec8 -08001b6a : +08001eca : * @param ioctx: holds device IO functions. * @retval DP83848_STATUS_OK if OK * DP83848_STATUS_ERROR if missing mandatory function */ int32_t DP83848_RegisterBusIO(dp83848_Object_t *pObj, dp83848_IOCtx_t *ioctx) { - 8001b6a: b480 push {r7} - 8001b6c: b083 sub sp, #12 - 8001b6e: af00 add r7, sp, #0 - 8001b70: 6078 str r0, [r7, #4] - 8001b72: 6039 str r1, [r7, #0] + 8001eca: b480 push {r7} + 8001ecc: b083 sub sp, #12 + 8001ece: af00 add r7, sp, #0 + 8001ed0: 6078 str r0, [r7, #4] + 8001ed2: 6039 str r1, [r7, #0] if(!pObj || !ioctx->ReadReg || !ioctx->WriteReg || !ioctx->GetTick) - 8001b74: 687b ldr r3, [r7, #4] - 8001b76: 2b00 cmp r3, #0 - 8001b78: d00b beq.n 8001b92 - 8001b7a: 683b ldr r3, [r7, #0] - 8001b7c: 68db ldr r3, [r3, #12] - 8001b7e: 2b00 cmp r3, #0 - 8001b80: d007 beq.n 8001b92 - 8001b82: 683b ldr r3, [r7, #0] - 8001b84: 689b ldr r3, [r3, #8] - 8001b86: 2b00 cmp r3, #0 - 8001b88: d003 beq.n 8001b92 - 8001b8a: 683b ldr r3, [r7, #0] - 8001b8c: 691b ldr r3, [r3, #16] - 8001b8e: 2b00 cmp r3, #0 - 8001b90: d102 bne.n 8001b98 + 8001ed4: 687b ldr r3, [r7, #4] + 8001ed6: 2b00 cmp r3, #0 + 8001ed8: d00b beq.n 8001ef2 + 8001eda: 683b ldr r3, [r7, #0] + 8001edc: 68db ldr r3, [r3, #12] + 8001ede: 2b00 cmp r3, #0 + 8001ee0: d007 beq.n 8001ef2 + 8001ee2: 683b ldr r3, [r7, #0] + 8001ee4: 689b ldr r3, [r3, #8] + 8001ee6: 2b00 cmp r3, #0 + 8001ee8: d003 beq.n 8001ef2 + 8001eea: 683b ldr r3, [r7, #0] + 8001eec: 691b ldr r3, [r3, #16] + 8001eee: 2b00 cmp r3, #0 + 8001ef0: d102 bne.n 8001ef8 { return DP83848_STATUS_ERROR; - 8001b92: f04f 33ff mov.w r3, #4294967295 - 8001b96: e014 b.n 8001bc2 + 8001ef2: f04f 33ff mov.w r3, #4294967295 + 8001ef6: e014 b.n 8001f22 } pObj->IO.Init = ioctx->Init; - 8001b98: 683b ldr r3, [r7, #0] - 8001b9a: 681a ldr r2, [r3, #0] - 8001b9c: 687b ldr r3, [r7, #4] - 8001b9e: 609a str r2, [r3, #8] + 8001ef8: 683b ldr r3, [r7, #0] + 8001efa: 681a ldr r2, [r3, #0] + 8001efc: 687b ldr r3, [r7, #4] + 8001efe: 609a str r2, [r3, #8] pObj->IO.DeInit = ioctx->DeInit; - 8001ba0: 683b ldr r3, [r7, #0] - 8001ba2: 685a ldr r2, [r3, #4] - 8001ba4: 687b ldr r3, [r7, #4] - 8001ba6: 60da str r2, [r3, #12] + 8001f00: 683b ldr r3, [r7, #0] + 8001f02: 685a ldr r2, [r3, #4] + 8001f04: 687b ldr r3, [r7, #4] + 8001f06: 60da str r2, [r3, #12] pObj->IO.ReadReg = ioctx->ReadReg; - 8001ba8: 683b ldr r3, [r7, #0] - 8001baa: 68da ldr r2, [r3, #12] - 8001bac: 687b ldr r3, [r7, #4] - 8001bae: 615a str r2, [r3, #20] + 8001f08: 683b ldr r3, [r7, #0] + 8001f0a: 68da ldr r2, [r3, #12] + 8001f0c: 687b ldr r3, [r7, #4] + 8001f0e: 615a str r2, [r3, #20] pObj->IO.WriteReg = ioctx->WriteReg; - 8001bb0: 683b ldr r3, [r7, #0] - 8001bb2: 689a ldr r2, [r3, #8] - 8001bb4: 687b ldr r3, [r7, #4] - 8001bb6: 611a str r2, [r3, #16] + 8001f10: 683b ldr r3, [r7, #0] + 8001f12: 689a ldr r2, [r3, #8] + 8001f14: 687b ldr r3, [r7, #4] + 8001f16: 611a str r2, [r3, #16] pObj->IO.GetTick = ioctx->GetTick; - 8001bb8: 683b ldr r3, [r7, #0] - 8001bba: 691a ldr r2, [r3, #16] - 8001bbc: 687b ldr r3, [r7, #4] - 8001bbe: 619a str r2, [r3, #24] + 8001f18: 683b ldr r3, [r7, #0] + 8001f1a: 691a ldr r2, [r3, #16] + 8001f1c: 687b ldr r3, [r7, #4] + 8001f1e: 619a str r2, [r3, #24] return DP83848_STATUS_OK; - 8001bc0: 2300 movs r3, #0 + 8001f20: 2300 movs r3, #0 } - 8001bc2: 4618 mov r0, r3 - 8001bc4: 370c adds r7, #12 - 8001bc6: 46bd mov sp, r7 - 8001bc8: f85d 7b04 ldr.w r7, [sp], #4 - 8001bcc: 4770 bx lr + 8001f22: 4618 mov r0, r3 + 8001f24: 370c adds r7, #12 + 8001f26: 46bd mov sp, r7 + 8001f28: f85d 7b04 ldr.w r7, [sp], #4 + 8001f2c: 4770 bx lr -08001bce : +08001f2e : * DP83848_STATUS_READ_ERROR if connot read register * DP83848_STATUS_WRITE_ERROR if connot write to register * DP83848_STATUS_RESET_TIMEOUT if cannot perform a software reset */ int32_t DP83848_Init(dp83848_Object_t *pObj) { - 8001bce: b580 push {r7, lr} - 8001bd0: b086 sub sp, #24 - 8001bd2: af00 add r7, sp, #0 - 8001bd4: 6078 str r0, [r7, #4] + 8001f2e: b580 push {r7, lr} + 8001f30: b086 sub sp, #24 + 8001f32: af00 add r7, sp, #0 + 8001f34: 6078 str r0, [r7, #4] uint32_t tickstart = 0, regvalue = 0, addr = 0; - 8001bd6: 2300 movs r3, #0 - 8001bd8: 60fb str r3, [r7, #12] - 8001bda: 2300 movs r3, #0 - 8001bdc: 60bb str r3, [r7, #8] - 8001bde: 2300 movs r3, #0 - 8001be0: 617b str r3, [r7, #20] + 8001f36: 2300 movs r3, #0 + 8001f38: 60fb str r3, [r7, #12] + 8001f3a: 2300 movs r3, #0 + 8001f3c: 60bb str r3, [r7, #8] + 8001f3e: 2300 movs r3, #0 + 8001f40: 617b str r3, [r7, #20] int32_t status = DP83848_STATUS_OK; - 8001be2: 2300 movs r3, #0 - 8001be4: 613b str r3, [r7, #16] + 8001f42: 2300 movs r3, #0 + 8001f44: 613b str r3, [r7, #16] if(pObj->Is_Initialized == 0) - 8001be6: 687b ldr r3, [r7, #4] - 8001be8: 685b ldr r3, [r3, #4] - 8001bea: 2b00 cmp r3, #0 - 8001bec: d17c bne.n 8001ce8 + 8001f46: 687b ldr r3, [r7, #4] + 8001f48: 685b ldr r3, [r3, #4] + 8001f4a: 2b00 cmp r3, #0 + 8001f4c: d17c bne.n 8002048 { if(pObj->IO.Init != 0) - 8001bee: 687b ldr r3, [r7, #4] - 8001bf0: 689b ldr r3, [r3, #8] - 8001bf2: 2b00 cmp r3, #0 - 8001bf4: d002 beq.n 8001bfc + 8001f4e: 687b ldr r3, [r7, #4] + 8001f50: 689b ldr r3, [r3, #8] + 8001f52: 2b00 cmp r3, #0 + 8001f54: d002 beq.n 8001f5c { /* GPIO and Clocks initialization */ pObj->IO.Init(); - 8001bf6: 687b ldr r3, [r7, #4] - 8001bf8: 689b ldr r3, [r3, #8] - 8001bfa: 4798 blx r3 + 8001f56: 687b ldr r3, [r7, #4] + 8001f58: 689b ldr r3, [r3, #8] + 8001f5a: 4798 blx r3 } /* for later check */ pObj->DevAddr = DP83848_MAX_DEV_ADDR + 1; - 8001bfc: 687b ldr r3, [r7, #4] - 8001bfe: 2220 movs r2, #32 - 8001c00: 601a str r2, [r3, #0] + 8001f5c: 687b ldr r3, [r7, #4] + 8001f5e: 2220 movs r2, #32 + 8001f60: 601a str r2, [r3, #0] /* Get the device address from special mode register */ for(addr = 0; addr <= DP83848_MAX_DEV_ADDR; addr ++) - 8001c02: 2300 movs r3, #0 - 8001c04: 617b str r3, [r7, #20] - 8001c06: e01c b.n 8001c42 + 8001f62: 2300 movs r3, #0 + 8001f64: 617b str r3, [r7, #20] + 8001f66: e01c b.n 8001fa2 { if(pObj->IO.ReadReg(addr, DP83848_SMR, ®value) < 0) - 8001c08: 687b ldr r3, [r7, #4] - 8001c0a: 695b ldr r3, [r3, #20] - 8001c0c: f107 0208 add.w r2, r7, #8 - 8001c10: 2119 movs r1, #25 - 8001c12: 6978 ldr r0, [r7, #20] - 8001c14: 4798 blx r3 - 8001c16: 4603 mov r3, r0 - 8001c18: 2b00 cmp r3, #0 - 8001c1a: da03 bge.n 8001c24 + 8001f68: 687b ldr r3, [r7, #4] + 8001f6a: 695b ldr r3, [r3, #20] + 8001f6c: f107 0208 add.w r2, r7, #8 + 8001f70: 2119 movs r1, #25 + 8001f72: 6978 ldr r0, [r7, #20] + 8001f74: 4798 blx r3 + 8001f76: 4603 mov r3, r0 + 8001f78: 2b00 cmp r3, #0 + 8001f7a: da03 bge.n 8001f84 { status = DP83848_STATUS_READ_ERROR; - 8001c1c: f06f 0304 mvn.w r3, #4 - 8001c20: 613b str r3, [r7, #16] + 8001f7c: f06f 0304 mvn.w r3, #4 + 8001f80: 613b str r3, [r7, #16] /* Can't read from this device address continue with next address */ continue; - 8001c22: e00b b.n 8001c3c + 8001f82: e00b b.n 8001f9c } if((regvalue & DP83848_SMR_PHY_ADDR) == addr) - 8001c24: 68bb ldr r3, [r7, #8] - 8001c26: f003 031f and.w r3, r3, #31 - 8001c2a: 697a ldr r2, [r7, #20] - 8001c2c: 429a cmp r2, r3 - 8001c2e: d105 bne.n 8001c3c + 8001f84: 68bb ldr r3, [r7, #8] + 8001f86: f003 031f and.w r3, r3, #31 + 8001f8a: 697a ldr r2, [r7, #20] + 8001f8c: 429a cmp r2, r3 + 8001f8e: d105 bne.n 8001f9c { pObj->DevAddr = addr; - 8001c30: 687b ldr r3, [r7, #4] - 8001c32: 697a ldr r2, [r7, #20] - 8001c34: 601a str r2, [r3, #0] + 8001f90: 687b ldr r3, [r7, #4] + 8001f92: 697a ldr r2, [r7, #20] + 8001f94: 601a str r2, [r3, #0] status = DP83848_STATUS_OK; - 8001c36: 2300 movs r3, #0 - 8001c38: 613b str r3, [r7, #16] + 8001f96: 2300 movs r3, #0 + 8001f98: 613b str r3, [r7, #16] break; - 8001c3a: e005 b.n 8001c48 + 8001f9a: e005 b.n 8001fa8 for(addr = 0; addr <= DP83848_MAX_DEV_ADDR; addr ++) - 8001c3c: 697b ldr r3, [r7, #20] - 8001c3e: 3301 adds r3, #1 - 8001c40: 617b str r3, [r7, #20] - 8001c42: 697b ldr r3, [r7, #20] - 8001c44: 2b1f cmp r3, #31 - 8001c46: d9df bls.n 8001c08 + 8001f9c: 697b ldr r3, [r7, #20] + 8001f9e: 3301 adds r3, #1 + 8001fa0: 617b str r3, [r7, #20] + 8001fa2: 697b ldr r3, [r7, #20] + 8001fa4: 2b1f cmp r3, #31 + 8001fa6: d9df bls.n 8001f68 } } if(pObj->DevAddr > DP83848_MAX_DEV_ADDR) - 8001c48: 687b ldr r3, [r7, #4] - 8001c4a: 681b ldr r3, [r3, #0] - 8001c4c: 2b1f cmp r3, #31 - 8001c4e: d902 bls.n 8001c56 + 8001fa8: 687b ldr r3, [r7, #4] + 8001faa: 681b ldr r3, [r3, #0] + 8001fac: 2b1f cmp r3, #31 + 8001fae: d902 bls.n 8001fb6 { status = DP83848_STATUS_ADDRESS_ERROR; - 8001c50: f06f 0302 mvn.w r3, #2 - 8001c54: 613b str r3, [r7, #16] + 8001fb0: f06f 0302 mvn.w r3, #2 + 8001fb4: 613b str r3, [r7, #16] } /* if device address is matched */ if(status == DP83848_STATUS_OK) - 8001c56: 693b ldr r3, [r7, #16] - 8001c58: 2b00 cmp r3, #0 - 8001c5a: d145 bne.n 8001ce8 + 8001fb6: 693b ldr r3, [r7, #16] + 8001fb8: 2b00 cmp r3, #0 + 8001fba: d145 bne.n 8002048 { /* set a software reset */ if(pObj->IO.WriteReg(pObj->DevAddr, DP83848_BCR, DP83848_BCR_SOFT_RESET) >= 0) - 8001c5c: 687b ldr r3, [r7, #4] - 8001c5e: 691b ldr r3, [r3, #16] - 8001c60: 687a ldr r2, [r7, #4] - 8001c62: 6810 ldr r0, [r2, #0] - 8001c64: f44f 4200 mov.w r2, #32768 @ 0x8000 - 8001c68: 2100 movs r1, #0 - 8001c6a: 4798 blx r3 - 8001c6c: 4603 mov r3, r0 - 8001c6e: 2b00 cmp r3, #0 - 8001c70: db37 blt.n 8001ce2 + 8001fbc: 687b ldr r3, [r7, #4] + 8001fbe: 691b ldr r3, [r3, #16] + 8001fc0: 687a ldr r2, [r7, #4] + 8001fc2: 6810 ldr r0, [r2, #0] + 8001fc4: f44f 4200 mov.w r2, #32768 @ 0x8000 + 8001fc8: 2100 movs r1, #0 + 8001fca: 4798 blx r3 + 8001fcc: 4603 mov r3, r0 + 8001fce: 2b00 cmp r3, #0 + 8001fd0: db37 blt.n 8002042 { /* get software reset status */ if(pObj->IO.ReadReg(pObj->DevAddr, DP83848_BCR, ®value) >= 0) - 8001c72: 687b ldr r3, [r7, #4] - 8001c74: 695b ldr r3, [r3, #20] - 8001c76: 687a ldr r2, [r7, #4] - 8001c78: 6810 ldr r0, [r2, #0] - 8001c7a: f107 0208 add.w r2, r7, #8 - 8001c7e: 2100 movs r1, #0 - 8001c80: 4798 blx r3 - 8001c82: 4603 mov r3, r0 - 8001c84: 2b00 cmp r3, #0 - 8001c86: db28 blt.n 8001cda + 8001fd2: 687b ldr r3, [r7, #4] + 8001fd4: 695b ldr r3, [r3, #20] + 8001fd6: 687a ldr r2, [r7, #4] + 8001fd8: 6810 ldr r0, [r2, #0] + 8001fda: f107 0208 add.w r2, r7, #8 + 8001fde: 2100 movs r1, #0 + 8001fe0: 4798 blx r3 + 8001fe2: 4603 mov r3, r0 + 8001fe4: 2b00 cmp r3, #0 + 8001fe6: db28 blt.n 800203a { tickstart = pObj->IO.GetTick(); - 8001c88: 687b ldr r3, [r7, #4] - 8001c8a: 699b ldr r3, [r3, #24] - 8001c8c: 4798 blx r3 - 8001c8e: 4603 mov r3, r0 - 8001c90: 60fb str r3, [r7, #12] + 8001fe8: 687b ldr r3, [r7, #4] + 8001fea: 699b ldr r3, [r3, #24] + 8001fec: 4798 blx r3 + 8001fee: 4603 mov r3, r0 + 8001ff0: 60fb str r3, [r7, #12] /* wait until software reset is done or timeout occured */ while(regvalue & DP83848_BCR_SOFT_RESET) - 8001c92: e01c b.n 8001cce + 8001ff2: e01c b.n 800202e { if((pObj->IO.GetTick() - tickstart) <= DP83848_SW_RESET_TO) - 8001c94: 687b ldr r3, [r7, #4] - 8001c96: 699b ldr r3, [r3, #24] - 8001c98: 4798 blx r3 - 8001c9a: 4603 mov r3, r0 - 8001c9c: 461a mov r2, r3 - 8001c9e: 68fb ldr r3, [r7, #12] - 8001ca0: 1ad3 subs r3, r2, r3 - 8001ca2: f5b3 7ffa cmp.w r3, #500 @ 0x1f4 - 8001ca6: d80e bhi.n 8001cc6 + 8001ff4: 687b ldr r3, [r7, #4] + 8001ff6: 699b ldr r3, [r3, #24] + 8001ff8: 4798 blx r3 + 8001ffa: 4603 mov r3, r0 + 8001ffc: 461a mov r2, r3 + 8001ffe: 68fb ldr r3, [r7, #12] + 8002000: 1ad3 subs r3, r2, r3 + 8002002: f5b3 7ffa cmp.w r3, #500 @ 0x1f4 + 8002006: d80e bhi.n 8002026 { if(pObj->IO.ReadReg(pObj->DevAddr, DP83848_BCR, ®value) < 0) - 8001ca8: 687b ldr r3, [r7, #4] - 8001caa: 695b ldr r3, [r3, #20] - 8001cac: 687a ldr r2, [r7, #4] - 8001cae: 6810 ldr r0, [r2, #0] - 8001cb0: f107 0208 add.w r2, r7, #8 - 8001cb4: 2100 movs r1, #0 - 8001cb6: 4798 blx r3 - 8001cb8: 4603 mov r3, r0 - 8001cba: 2b00 cmp r3, #0 - 8001cbc: da07 bge.n 8001cce + 8002008: 687b ldr r3, [r7, #4] + 800200a: 695b ldr r3, [r3, #20] + 800200c: 687a ldr r2, [r7, #4] + 800200e: 6810 ldr r0, [r2, #0] + 8002010: f107 0208 add.w r2, r7, #8 + 8002014: 2100 movs r1, #0 + 8002016: 4798 blx r3 + 8002018: 4603 mov r3, r0 + 800201a: 2b00 cmp r3, #0 + 800201c: da07 bge.n 800202e { status = DP83848_STATUS_READ_ERROR; - 8001cbe: f06f 0304 mvn.w r3, #4 - 8001cc2: 613b str r3, [r7, #16] + 800201e: f06f 0304 mvn.w r3, #4 + 8002022: 613b str r3, [r7, #16] break; - 8001cc4: e010 b.n 8001ce8 + 8002024: e010 b.n 8002048 } } else { status = DP83848_STATUS_RESET_TIMEOUT; - 8001cc6: f06f 0301 mvn.w r3, #1 - 8001cca: 613b str r3, [r7, #16] + 8002026: f06f 0301 mvn.w r3, #1 + 800202a: 613b str r3, [r7, #16] break; - 8001ccc: e00c b.n 8001ce8 + 800202c: e00c b.n 8002048 while(regvalue & DP83848_BCR_SOFT_RESET) - 8001cce: 68bb ldr r3, [r7, #8] - 8001cd0: f403 4300 and.w r3, r3, #32768 @ 0x8000 - 8001cd4: 2b00 cmp r3, #0 - 8001cd6: d1dd bne.n 8001c94 - 8001cd8: e006 b.n 8001ce8 + 800202e: 68bb ldr r3, [r7, #8] + 8002030: f403 4300 and.w r3, r3, #32768 @ 0x8000 + 8002034: 2b00 cmp r3, #0 + 8002036: d1dd bne.n 8001ff4 + 8002038: e006 b.n 8002048 } } } else { status = DP83848_STATUS_READ_ERROR; - 8001cda: f06f 0304 mvn.w r3, #4 - 8001cde: 613b str r3, [r7, #16] - 8001ce0: e002 b.n 8001ce8 + 800203a: f06f 0304 mvn.w r3, #4 + 800203e: 613b str r3, [r7, #16] + 8002040: e002 b.n 8002048 } } else { status = DP83848_STATUS_WRITE_ERROR; - 8001ce2: f06f 0303 mvn.w r3, #3 - 8001ce6: 613b str r3, [r7, #16] + 8002042: f06f 0303 mvn.w r3, #3 + 8002046: 613b str r3, [r7, #16] } } } if(status == DP83848_STATUS_OK) - 8001ce8: 693b ldr r3, [r7, #16] - 8001cea: 2b00 cmp r3, #0 - 8001cec: d112 bne.n 8001d14 + 8002048: 693b ldr r3, [r7, #16] + 800204a: 2b00 cmp r3, #0 + 800204c: d112 bne.n 8002074 { tickstart = pObj->IO.GetTick(); - 8001cee: 687b ldr r3, [r7, #4] - 8001cf0: 699b ldr r3, [r3, #24] - 8001cf2: 4798 blx r3 - 8001cf4: 4603 mov r3, r0 - 8001cf6: 60fb str r3, [r7, #12] + 800204e: 687b ldr r3, [r7, #4] + 8002050: 699b ldr r3, [r3, #24] + 8002052: 4798 blx r3 + 8002054: 4603 mov r3, r0 + 8002056: 60fb str r3, [r7, #12] /* Wait for 2s to perform initialization */ while((pObj->IO.GetTick() - tickstart) <= DP83848_INIT_TO) - 8001cf8: bf00 nop - 8001cfa: 687b ldr r3, [r7, #4] - 8001cfc: 699b ldr r3, [r3, #24] - 8001cfe: 4798 blx r3 - 8001d00: 4603 mov r3, r0 - 8001d02: 461a mov r2, r3 - 8001d04: 68fb ldr r3, [r7, #12] - 8001d06: 1ad3 subs r3, r2, r3 - 8001d08: f5b3 6ffa cmp.w r3, #2000 @ 0x7d0 - 8001d0c: d9f5 bls.n 8001cfa + 8002058: bf00 nop + 800205a: 687b ldr r3, [r7, #4] + 800205c: 699b ldr r3, [r3, #24] + 800205e: 4798 blx r3 + 8002060: 4603 mov r3, r0 + 8002062: 461a mov r2, r3 + 8002064: 68fb ldr r3, [r7, #12] + 8002066: 1ad3 subs r3, r2, r3 + 8002068: f5b3 6ffa cmp.w r3, #2000 @ 0x7d0 + 800206c: d9f5 bls.n 800205a { } pObj->Is_Initialized = 1; - 8001d0e: 687b ldr r3, [r7, #4] - 8001d10: 2201 movs r2, #1 - 8001d12: 605a str r2, [r3, #4] + 800206e: 687b ldr r3, [r7, #4] + 8002070: 2201 movs r2, #1 + 8002072: 605a str r2, [r3, #4] } return status; - 8001d14: 693b ldr r3, [r7, #16] + 8002074: 693b ldr r3, [r7, #16] } - 8001d16: 4618 mov r0, r3 - 8001d18: 3718 adds r7, #24 - 8001d1a: 46bd mov sp, r7 - 8001d1c: bd80 pop {r7, pc} + 8002076: 4618 mov r0, r3 + 8002078: 3718 adds r7, #24 + 800207a: 46bd mov sp, r7 + 800207c: bd80 pop {r7, pc} -08001d1e : +0800207e : * DP83848_STATUS_10MBITS_HALFDUPLEX if 10Mb/s HD * DP83848_STATUS_READ_ERROR if connot read register * DP83848_STATUS_WRITE_ERROR if connot write to register */ int32_t DP83848_GetLinkState(dp83848_Object_t *pObj) { - 8001d1e: b580 push {r7, lr} - 8001d20: b084 sub sp, #16 - 8001d22: af00 add r7, sp, #0 - 8001d24: 6078 str r0, [r7, #4] + 800207e: b580 push {r7, lr} + 8002080: b084 sub sp, #16 + 8002082: af00 add r7, sp, #0 + 8002084: 6078 str r0, [r7, #4] uint32_t readval = 0; - 8001d26: 2300 movs r3, #0 - 8001d28: 60fb str r3, [r7, #12] + 8002086: 2300 movs r3, #0 + 8002088: 60fb str r3, [r7, #12] /* Read Status register */ if(pObj->IO.ReadReg(pObj->DevAddr, DP83848_BSR, &readval) < 0) - 8001d2a: 687b ldr r3, [r7, #4] - 8001d2c: 695b ldr r3, [r3, #20] - 8001d2e: 687a ldr r2, [r7, #4] - 8001d30: 6810 ldr r0, [r2, #0] - 8001d32: f107 020c add.w r2, r7, #12 - 8001d36: 2101 movs r1, #1 - 8001d38: 4798 blx r3 - 8001d3a: 4603 mov r3, r0 - 8001d3c: 2b00 cmp r3, #0 - 8001d3e: da02 bge.n 8001d46 + 800208a: 687b ldr r3, [r7, #4] + 800208c: 695b ldr r3, [r3, #20] + 800208e: 687a ldr r2, [r7, #4] + 8002090: 6810 ldr r0, [r2, #0] + 8002092: f107 020c add.w r2, r7, #12 + 8002096: 2101 movs r1, #1 + 8002098: 4798 blx r3 + 800209a: 4603 mov r3, r0 + 800209c: 2b00 cmp r3, #0 + 800209e: da02 bge.n 80020a6 { return DP83848_STATUS_READ_ERROR; - 8001d40: f06f 0304 mvn.w r3, #4 - 8001d44: e06e b.n 8001e24 + 80020a0: f06f 0304 mvn.w r3, #4 + 80020a4: e06e b.n 8002184 } /* Read Status register again */ if(pObj->IO.ReadReg(pObj->DevAddr, DP83848_BSR, &readval) < 0) - 8001d46: 687b ldr r3, [r7, #4] - 8001d48: 695b ldr r3, [r3, #20] - 8001d4a: 687a ldr r2, [r7, #4] - 8001d4c: 6810 ldr r0, [r2, #0] - 8001d4e: f107 020c add.w r2, r7, #12 - 8001d52: 2101 movs r1, #1 - 8001d54: 4798 blx r3 - 8001d56: 4603 mov r3, r0 - 8001d58: 2b00 cmp r3, #0 - 8001d5a: da02 bge.n 8001d62 + 80020a6: 687b ldr r3, [r7, #4] + 80020a8: 695b ldr r3, [r3, #20] + 80020aa: 687a ldr r2, [r7, #4] + 80020ac: 6810 ldr r0, [r2, #0] + 80020ae: f107 020c add.w r2, r7, #12 + 80020b2: 2101 movs r1, #1 + 80020b4: 4798 blx r3 + 80020b6: 4603 mov r3, r0 + 80020b8: 2b00 cmp r3, #0 + 80020ba: da02 bge.n 80020c2 { return DP83848_STATUS_READ_ERROR; - 8001d5c: f06f 0304 mvn.w r3, #4 - 8001d60: e060 b.n 8001e24 + 80020bc: f06f 0304 mvn.w r3, #4 + 80020c0: e060 b.n 8002184 } if((readval & DP83848_BSR_LINK_STATUS) == 0) - 8001d62: 68fb ldr r3, [r7, #12] - 8001d64: f003 0304 and.w r3, r3, #4 - 8001d68: 2b00 cmp r3, #0 - 8001d6a: d101 bne.n 8001d70 + 80020c2: 68fb ldr r3, [r7, #12] + 80020c4: f003 0304 and.w r3, r3, #4 + 80020c8: 2b00 cmp r3, #0 + 80020ca: d101 bne.n 80020d0 { /* Return Link Down status */ return DP83848_STATUS_LINK_DOWN; - 8001d6c: 2301 movs r3, #1 - 8001d6e: e059 b.n 8001e24 + 80020cc: 2301 movs r3, #1 + 80020ce: e059 b.n 8002184 } /* Check Auto negotiaition */ if(pObj->IO.ReadReg(pObj->DevAddr, DP83848_BCR, &readval) < 0) - 8001d70: 687b ldr r3, [r7, #4] - 8001d72: 695b ldr r3, [r3, #20] - 8001d74: 687a ldr r2, [r7, #4] - 8001d76: 6810 ldr r0, [r2, #0] - 8001d78: f107 020c add.w r2, r7, #12 - 8001d7c: 2100 movs r1, #0 - 8001d7e: 4798 blx r3 - 8001d80: 4603 mov r3, r0 - 8001d82: 2b00 cmp r3, #0 - 8001d84: da02 bge.n 8001d8c + 80020d0: 687b ldr r3, [r7, #4] + 80020d2: 695b ldr r3, [r3, #20] + 80020d4: 687a ldr r2, [r7, #4] + 80020d6: 6810 ldr r0, [r2, #0] + 80020d8: f107 020c add.w r2, r7, #12 + 80020dc: 2100 movs r1, #0 + 80020de: 4798 blx r3 + 80020e0: 4603 mov r3, r0 + 80020e2: 2b00 cmp r3, #0 + 80020e4: da02 bge.n 80020ec { return DP83848_STATUS_READ_ERROR; - 8001d86: f06f 0304 mvn.w r3, #4 - 8001d8a: e04b b.n 8001e24 + 80020e6: f06f 0304 mvn.w r3, #4 + 80020ea: e04b b.n 8002184 } if((readval & DP83848_BCR_AUTONEGO_EN) != DP83848_BCR_AUTONEGO_EN) - 8001d8c: 68fb ldr r3, [r7, #12] - 8001d8e: f403 5380 and.w r3, r3, #4096 @ 0x1000 - 8001d92: 2b00 cmp r3, #0 - 8001d94: d11b bne.n 8001dce + 80020ec: 68fb ldr r3, [r7, #12] + 80020ee: f403 5380 and.w r3, r3, #4096 @ 0x1000 + 80020f2: 2b00 cmp r3, #0 + 80020f4: d11b bne.n 800212e { if(((readval & DP83848_BCR_SPEED_SELECT) == DP83848_BCR_SPEED_SELECT) && ((readval & DP83848_BCR_DUPLEX_MODE) == DP83848_BCR_DUPLEX_MODE)) - 8001d96: 68fb ldr r3, [r7, #12] - 8001d98: f403 5300 and.w r3, r3, #8192 @ 0x2000 - 8001d9c: 2b00 cmp r3, #0 - 8001d9e: d006 beq.n 8001dae - 8001da0: 68fb ldr r3, [r7, #12] - 8001da2: f403 7380 and.w r3, r3, #256 @ 0x100 - 8001da6: 2b00 cmp r3, #0 - 8001da8: d001 beq.n 8001dae + 80020f6: 68fb ldr r3, [r7, #12] + 80020f8: f403 5300 and.w r3, r3, #8192 @ 0x2000 + 80020fc: 2b00 cmp r3, #0 + 80020fe: d006 beq.n 800210e + 8002100: 68fb ldr r3, [r7, #12] + 8002102: f403 7380 and.w r3, r3, #256 @ 0x100 + 8002106: 2b00 cmp r3, #0 + 8002108: d001 beq.n 800210e { return DP83848_STATUS_100MBITS_FULLDUPLEX; - 8001daa: 2302 movs r3, #2 - 8001dac: e03a b.n 8001e24 + 800210a: 2302 movs r3, #2 + 800210c: e03a b.n 8002184 } else if ((readval & DP83848_BCR_SPEED_SELECT) == DP83848_BCR_SPEED_SELECT) - 8001dae: 68fb ldr r3, [r7, #12] - 8001db0: f403 5300 and.w r3, r3, #8192 @ 0x2000 - 8001db4: 2b00 cmp r3, #0 - 8001db6: d001 beq.n 8001dbc + 800210e: 68fb ldr r3, [r7, #12] + 8002110: f403 5300 and.w r3, r3, #8192 @ 0x2000 + 8002114: 2b00 cmp r3, #0 + 8002116: d001 beq.n 800211c { return DP83848_STATUS_100MBITS_HALFDUPLEX; - 8001db8: 2303 movs r3, #3 - 8001dba: e033 b.n 8001e24 + 8002118: 2303 movs r3, #3 + 800211a: e033 b.n 8002184 } else if ((readval & DP83848_BCR_DUPLEX_MODE) == DP83848_BCR_DUPLEX_MODE) - 8001dbc: 68fb ldr r3, [r7, #12] - 8001dbe: f403 7380 and.w r3, r3, #256 @ 0x100 - 8001dc2: 2b00 cmp r3, #0 - 8001dc4: d001 beq.n 8001dca + 800211c: 68fb ldr r3, [r7, #12] + 800211e: f403 7380 and.w r3, r3, #256 @ 0x100 + 8002122: 2b00 cmp r3, #0 + 8002124: d001 beq.n 800212a { return DP83848_STATUS_10MBITS_FULLDUPLEX; - 8001dc6: 2304 movs r3, #4 - 8001dc8: e02c b.n 8001e24 + 8002126: 2304 movs r3, #4 + 8002128: e02c b.n 8002184 } else { return DP83848_STATUS_10MBITS_HALFDUPLEX; - 8001dca: 2305 movs r3, #5 - 8001dcc: e02a b.n 8001e24 + 800212a: 2305 movs r3, #5 + 800212c: e02a b.n 8002184 } } else /* Auto Nego enabled */ { if(pObj->IO.ReadReg(pObj->DevAddr, DP83848_PHYSCSR, &readval) < 0) - 8001dce: 687b ldr r3, [r7, #4] - 8001dd0: 695b ldr r3, [r3, #20] - 8001dd2: 687a ldr r2, [r7, #4] - 8001dd4: 6810 ldr r0, [r2, #0] - 8001dd6: f107 020c add.w r2, r7, #12 - 8001dda: 2110 movs r1, #16 - 8001ddc: 4798 blx r3 - 8001dde: 4603 mov r3, r0 - 8001de0: 2b00 cmp r3, #0 - 8001de2: da02 bge.n 8001dea + 800212e: 687b ldr r3, [r7, #4] + 8002130: 695b ldr r3, [r3, #20] + 8002132: 687a ldr r2, [r7, #4] + 8002134: 6810 ldr r0, [r2, #0] + 8002136: f107 020c add.w r2, r7, #12 + 800213a: 2110 movs r1, #16 + 800213c: 4798 blx r3 + 800213e: 4603 mov r3, r0 + 8002140: 2b00 cmp r3, #0 + 8002142: da02 bge.n 800214a { return DP83848_STATUS_READ_ERROR; - 8001de4: f06f 0304 mvn.w r3, #4 - 8001de8: e01c b.n 8001e24 + 8002144: f06f 0304 mvn.w r3, #4 + 8002148: e01c b.n 8002184 } /* Check if auto nego not done */ if((readval & DP83848_PHYSCSR_AUTONEGO_DONE) == 0) - 8001dea: 68fb ldr r3, [r7, #12] - 8001dec: f403 7380 and.w r3, r3, #256 @ 0x100 - 8001df0: 2b00 cmp r3, #0 - 8001df2: d101 bne.n 8001df8 + 800214a: 68fb ldr r3, [r7, #12] + 800214c: f403 7380 and.w r3, r3, #256 @ 0x100 + 8002150: 2b00 cmp r3, #0 + 8002152: d101 bne.n 8002158 { return DP83848_STATUS_AUTONEGO_NOTDONE; - 8001df4: 2306 movs r3, #6 - 8001df6: e015 b.n 8001e24 + 8002154: 2306 movs r3, #6 + 8002156: e015 b.n 8002184 } if((readval & DP83848_PHYSCSR_HCDSPEEDMASK) == DP83848_PHYSCSR_100BTX_FD) - 8001df8: 68fb ldr r3, [r7, #12] - 8001dfa: f003 0306 and.w r3, r3, #6 - 8001dfe: 2b04 cmp r3, #4 - 8001e00: d101 bne.n 8001e06 + 8002158: 68fb ldr r3, [r7, #12] + 800215a: f003 0306 and.w r3, r3, #6 + 800215e: 2b04 cmp r3, #4 + 8002160: d101 bne.n 8002166 { return DP83848_STATUS_100MBITS_FULLDUPLEX; - 8001e02: 2302 movs r3, #2 - 8001e04: e00e b.n 8001e24 + 8002162: 2302 movs r3, #2 + 8002164: e00e b.n 8002184 } else if ((readval & DP83848_PHYSCSR_HCDSPEEDMASK) == DP83848_PHYSCSR_100BTX_HD) - 8001e06: 68fb ldr r3, [r7, #12] - 8001e08: f003 0306 and.w r3, r3, #6 - 8001e0c: 2b00 cmp r3, #0 - 8001e0e: d101 bne.n 8001e14 + 8002166: 68fb ldr r3, [r7, #12] + 8002168: f003 0306 and.w r3, r3, #6 + 800216c: 2b00 cmp r3, #0 + 800216e: d101 bne.n 8002174 { return DP83848_STATUS_100MBITS_HALFDUPLEX; - 8001e10: 2303 movs r3, #3 - 8001e12: e007 b.n 8001e24 + 8002170: 2303 movs r3, #3 + 8002172: e007 b.n 8002184 } else if ((readval & DP83848_PHYSCSR_HCDSPEEDMASK) == DP83848_PHYSCSR_10BT_FD) - 8001e14: 68fb ldr r3, [r7, #12] - 8001e16: f003 0306 and.w r3, r3, #6 - 8001e1a: 2b06 cmp r3, #6 - 8001e1c: d101 bne.n 8001e22 + 8002174: 68fb ldr r3, [r7, #12] + 8002176: f003 0306 and.w r3, r3, #6 + 800217a: 2b06 cmp r3, #6 + 800217c: d101 bne.n 8002182 { return DP83848_STATUS_10MBITS_FULLDUPLEX; - 8001e1e: 2304 movs r3, #4 - 8001e20: e000 b.n 8001e24 + 800217e: 2304 movs r3, #4 + 8002180: e000 b.n 8002184 } else { return DP83848_STATUS_10MBITS_HALFDUPLEX; - 8001e22: 2305 movs r3, #5 + 8002182: 2305 movs r3, #5 } } } - 8001e24: 4618 mov r0, r3 - 8001e26: 3710 adds r7, #16 - 8001e28: 46bd mov sp, r7 - 8001e2a: bd80 pop {r7, pc} + 8002184: 4618 mov r0, r3 + 8002186: 3710 adds r7, #16 + 8002188: 46bd mov sp, r7 + 800218a: bd80 pop {r7, pc} -08001e2c : +0800218c : * need to ensure that the SysTick time base is always set to 1 millisecond * to have correct HAL operation. * @retval HAL status */ HAL_StatusTypeDef HAL_Init(void) { - 8001e2c: b580 push {r7, lr} - 8001e2e: af00 add r7, sp, #0 + 800218c: b580 push {r7, lr} + 800218e: af00 add r7, sp, #0 /* Configure Flash prefetch, Instruction cache, Data cache */ #if (INSTRUCTION_CACHE_ENABLE != 0U) __HAL_FLASH_INSTRUCTION_CACHE_ENABLE(); - 8001e30: 4b0e ldr r3, [pc, #56] @ (8001e6c ) - 8001e32: 681b ldr r3, [r3, #0] - 8001e34: 4a0d ldr r2, [pc, #52] @ (8001e6c ) - 8001e36: f443 7300 orr.w r3, r3, #512 @ 0x200 - 8001e3a: 6013 str r3, [r2, #0] + 8002190: 4b0e ldr r3, [pc, #56] @ (80021cc ) + 8002192: 681b ldr r3, [r3, #0] + 8002194: 4a0d ldr r2, [pc, #52] @ (80021cc ) + 8002196: f443 7300 orr.w r3, r3, #512 @ 0x200 + 800219a: 6013 str r3, [r2, #0] #endif /* INSTRUCTION_CACHE_ENABLE */ #if (DATA_CACHE_ENABLE != 0U) __HAL_FLASH_DATA_CACHE_ENABLE(); - 8001e3c: 4b0b ldr r3, [pc, #44] @ (8001e6c ) - 8001e3e: 681b ldr r3, [r3, #0] - 8001e40: 4a0a ldr r2, [pc, #40] @ (8001e6c ) - 8001e42: f443 6380 orr.w r3, r3, #1024 @ 0x400 - 8001e46: 6013 str r3, [r2, #0] + 800219c: 4b0b ldr r3, [pc, #44] @ (80021cc ) + 800219e: 681b ldr r3, [r3, #0] + 80021a0: 4a0a ldr r2, [pc, #40] @ (80021cc ) + 80021a2: f443 6380 orr.w r3, r3, #1024 @ 0x400 + 80021a6: 6013 str r3, [r2, #0] #endif /* DATA_CACHE_ENABLE */ #if (PREFETCH_ENABLE != 0U) __HAL_FLASH_PREFETCH_BUFFER_ENABLE(); - 8001e48: 4b08 ldr r3, [pc, #32] @ (8001e6c ) - 8001e4a: 681b ldr r3, [r3, #0] - 8001e4c: 4a07 ldr r2, [pc, #28] @ (8001e6c ) - 8001e4e: f443 7380 orr.w r3, r3, #256 @ 0x100 - 8001e52: 6013 str r3, [r2, #0] + 80021a8: 4b08 ldr r3, [pc, #32] @ (80021cc ) + 80021aa: 681b ldr r3, [r3, #0] + 80021ac: 4a07 ldr r2, [pc, #28] @ (80021cc ) + 80021ae: f443 7380 orr.w r3, r3, #256 @ 0x100 + 80021b2: 6013 str r3, [r2, #0] #endif /* PREFETCH_ENABLE */ /* Set Interrupt Group Priority */ HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4); - 8001e54: 2003 movs r0, #3 - 8001e56: f000 f94f bl 80020f8 + 80021b4: 2003 movs r0, #3 + 80021b6: f000 f94f bl 8002458 /* Use systick as time base source and configure 1ms tick (default clock after Reset is HSI) */ HAL_InitTick(TICK_INT_PRIORITY); - 8001e5a: 200f movs r0, #15 - 8001e5c: f000 f808 bl 8001e70 + 80021ba: 200f movs r0, #15 + 80021bc: f000 f808 bl 80021d0 /* Init the low level hardware */ HAL_MspInit(); - 8001e60: f7ff fd34 bl 80018cc + 80021c0: f7ff fd34 bl 8001c2c /* Return function status */ return HAL_OK; - 8001e64: 2300 movs r3, #0 + 80021c4: 2300 movs r3, #0 } - 8001e66: 4618 mov r0, r3 - 8001e68: bd80 pop {r7, pc} - 8001e6a: bf00 nop - 8001e6c: 40023c00 .word 0x40023c00 + 80021c6: 4618 mov r0, r3 + 80021c8: bd80 pop {r7, pc} + 80021ca: bf00 nop + 80021cc: 40023c00 .word 0x40023c00 -08001e70 : +080021d0 : * implementation in user file. * @param TickPriority Tick interrupt priority. * @retval HAL status */ __weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) { - 8001e70: b580 push {r7, lr} - 8001e72: b082 sub sp, #8 - 8001e74: af00 add r7, sp, #0 - 8001e76: 6078 str r0, [r7, #4] + 80021d0: b580 push {r7, lr} + 80021d2: b082 sub sp, #8 + 80021d4: af00 add r7, sp, #0 + 80021d6: 6078 str r0, [r7, #4] /* Configure the SysTick to have interrupt in 1ms time basis*/ if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) - 8001e78: 4b12 ldr r3, [pc, #72] @ (8001ec4 ) - 8001e7a: 681a ldr r2, [r3, #0] - 8001e7c: 4b12 ldr r3, [pc, #72] @ (8001ec8 ) - 8001e7e: 781b ldrb r3, [r3, #0] - 8001e80: 4619 mov r1, r3 - 8001e82: f44f 737a mov.w r3, #1000 @ 0x3e8 - 8001e86: fbb3 f3f1 udiv r3, r3, r1 - 8001e8a: fbb2 f3f3 udiv r3, r2, r3 - 8001e8e: 4618 mov r0, r3 - 8001e90: f000 f967 bl 8002162 - 8001e94: 4603 mov r3, r0 - 8001e96: 2b00 cmp r3, #0 - 8001e98: d001 beq.n 8001e9e + 80021d8: 4b12 ldr r3, [pc, #72] @ (8002224 ) + 80021da: 681a ldr r2, [r3, #0] + 80021dc: 4b12 ldr r3, [pc, #72] @ (8002228 ) + 80021de: 781b ldrb r3, [r3, #0] + 80021e0: 4619 mov r1, r3 + 80021e2: f44f 737a mov.w r3, #1000 @ 0x3e8 + 80021e6: fbb3 f3f1 udiv r3, r3, r1 + 80021ea: fbb2 f3f3 udiv r3, r2, r3 + 80021ee: 4618 mov r0, r3 + 80021f0: f000 f967 bl 80024c2 + 80021f4: 4603 mov r3, r0 + 80021f6: 2b00 cmp r3, #0 + 80021f8: d001 beq.n 80021fe { return HAL_ERROR; - 8001e9a: 2301 movs r3, #1 - 8001e9c: e00e b.n 8001ebc + 80021fa: 2301 movs r3, #1 + 80021fc: e00e b.n 800221c } /* Configure the SysTick IRQ priority */ if (TickPriority < (1UL << __NVIC_PRIO_BITS)) - 8001e9e: 687b ldr r3, [r7, #4] - 8001ea0: 2b0f cmp r3, #15 - 8001ea2: d80a bhi.n 8001eba + 80021fe: 687b ldr r3, [r7, #4] + 8002200: 2b0f cmp r3, #15 + 8002202: d80a bhi.n 800221a { HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority, 0U); - 8001ea4: 2200 movs r2, #0 - 8001ea6: 6879 ldr r1, [r7, #4] - 8001ea8: f04f 30ff mov.w r0, #4294967295 - 8001eac: f000 f92f bl 800210e + 8002204: 2200 movs r2, #0 + 8002206: 6879 ldr r1, [r7, #4] + 8002208: f04f 30ff mov.w r0, #4294967295 + 800220c: f000 f92f bl 800246e uwTickPrio = TickPriority; - 8001eb0: 4a06 ldr r2, [pc, #24] @ (8001ecc ) - 8001eb2: 687b ldr r3, [r7, #4] - 8001eb4: 6013 str r3, [r2, #0] + 8002210: 4a06 ldr r2, [pc, #24] @ (800222c ) + 8002212: 687b ldr r3, [r7, #4] + 8002214: 6013 str r3, [r2, #0] { return HAL_ERROR; } /* Return function status */ return HAL_OK; - 8001eb6: 2300 movs r3, #0 - 8001eb8: e000 b.n 8001ebc + 8002216: 2300 movs r3, #0 + 8002218: e000 b.n 800221c return HAL_ERROR; - 8001eba: 2301 movs r3, #1 + 800221a: 2301 movs r3, #1 } - 8001ebc: 4618 mov r0, r3 - 8001ebe: 3708 adds r7, #8 - 8001ec0: 46bd mov sp, r7 - 8001ec2: bd80 pop {r7, pc} - 8001ec4: 20000000 .word 0x20000000 - 8001ec8: 20000008 .word 0x20000008 - 8001ecc: 20000004 .word 0x20000004 + 800221c: 4618 mov r0, r3 + 800221e: 3708 adds r7, #8 + 8002220: 46bd mov sp, r7 + 8002222: bd80 pop {r7, pc} + 8002224: 20000000 .word 0x20000000 + 8002228: 20000008 .word 0x20000008 + 800222c: 20000004 .word 0x20000004 -08001ed0 : +08002230 : * @note This function is declared as __weak to be overwritten in case of other * implementations in user file. * @retval None */ __weak void HAL_IncTick(void) { - 8001ed0: b480 push {r7} - 8001ed2: af00 add r7, sp, #0 + 8002230: b480 push {r7} + 8002232: af00 add r7, sp, #0 uwTick += uwTickFreq; - 8001ed4: 4b06 ldr r3, [pc, #24] @ (8001ef0 ) - 8001ed6: 781b ldrb r3, [r3, #0] - 8001ed8: 461a mov r2, r3 - 8001eda: 4b06 ldr r3, [pc, #24] @ (8001ef4 ) - 8001edc: 681b ldr r3, [r3, #0] - 8001ede: 4413 add r3, r2 - 8001ee0: 4a04 ldr r2, [pc, #16] @ (8001ef4 ) - 8001ee2: 6013 str r3, [r2, #0] + 8002234: 4b06 ldr r3, [pc, #24] @ (8002250 ) + 8002236: 781b ldrb r3, [r3, #0] + 8002238: 461a mov r2, r3 + 800223a: 4b06 ldr r3, [pc, #24] @ (8002254 ) + 800223c: 681b ldr r3, [r3, #0] + 800223e: 4413 add r3, r2 + 8002240: 4a04 ldr r2, [pc, #16] @ (8002254 ) + 8002242: 6013 str r3, [r2, #0] } - 8001ee4: bf00 nop - 8001ee6: 46bd mov sp, r7 - 8001ee8: f85d 7b04 ldr.w r7, [sp], #4 - 8001eec: 4770 bx lr - 8001eee: bf00 nop - 8001ef0: 20000008 .word 0x20000008 - 8001ef4: 2000152c .word 0x2000152c + 8002244: bf00 nop + 8002246: 46bd mov sp, r7 + 8002248: f85d 7b04 ldr.w r7, [sp], #4 + 800224c: 4770 bx lr + 800224e: bf00 nop + 8002250: 20000008 .word 0x20000008 + 8002254: 20001540 .word 0x20001540 -08001ef8 : +08002258 : * @note This function is declared as __weak to be overwritten in case of other * implementations in user file. * @retval tick value */ __weak uint32_t HAL_GetTick(void) { - 8001ef8: b480 push {r7} - 8001efa: af00 add r7, sp, #0 + 8002258: b480 push {r7} + 800225a: af00 add r7, sp, #0 return uwTick; - 8001efc: 4b03 ldr r3, [pc, #12] @ (8001f0c ) - 8001efe: 681b ldr r3, [r3, #0] + 800225c: 4b03 ldr r3, [pc, #12] @ (800226c ) + 800225e: 681b ldr r3, [r3, #0] } - 8001f00: 4618 mov r0, r3 - 8001f02: 46bd mov sp, r7 - 8001f04: f85d 7b04 ldr.w r7, [sp], #4 - 8001f08: 4770 bx lr - 8001f0a: bf00 nop - 8001f0c: 2000152c .word 0x2000152c + 8002260: 4618 mov r0, r3 + 8002262: 46bd mov sp, r7 + 8002264: f85d 7b04 ldr.w r7, [sp], #4 + 8002268: 4770 bx lr + 800226a: bf00 nop + 800226c: 20001540 .word 0x20001540 -08001f10 : +08002270 : * implementations in user file. * @param Delay specifies the delay time length, in milliseconds. * @retval None */ __weak void HAL_Delay(uint32_t Delay) { - 8001f10: b580 push {r7, lr} - 8001f12: b084 sub sp, #16 - 8001f14: af00 add r7, sp, #0 - 8001f16: 6078 str r0, [r7, #4] + 8002270: b580 push {r7, lr} + 8002272: b084 sub sp, #16 + 8002274: af00 add r7, sp, #0 + 8002276: 6078 str r0, [r7, #4] uint32_t tickstart = HAL_GetTick(); - 8001f18: f7ff ffee bl 8001ef8 - 8001f1c: 60b8 str r0, [r7, #8] + 8002278: f7ff ffee bl 8002258 + 800227c: 60b8 str r0, [r7, #8] uint32_t wait = Delay; - 8001f1e: 687b ldr r3, [r7, #4] - 8001f20: 60fb str r3, [r7, #12] + 800227e: 687b ldr r3, [r7, #4] + 8002280: 60fb str r3, [r7, #12] /* Add a freq to guarantee minimum wait */ if (wait < HAL_MAX_DELAY) - 8001f22: 68fb ldr r3, [r7, #12] - 8001f24: f1b3 3fff cmp.w r3, #4294967295 - 8001f28: d005 beq.n 8001f36 + 8002282: 68fb ldr r3, [r7, #12] + 8002284: f1b3 3fff cmp.w r3, #4294967295 + 8002288: d005 beq.n 8002296 { wait += (uint32_t)(uwTickFreq); - 8001f2a: 4b0a ldr r3, [pc, #40] @ (8001f54 ) - 8001f2c: 781b ldrb r3, [r3, #0] - 8001f2e: 461a mov r2, r3 - 8001f30: 68fb ldr r3, [r7, #12] - 8001f32: 4413 add r3, r2 - 8001f34: 60fb str r3, [r7, #12] + 800228a: 4b0a ldr r3, [pc, #40] @ (80022b4 ) + 800228c: 781b ldrb r3, [r3, #0] + 800228e: 461a mov r2, r3 + 8002290: 68fb ldr r3, [r7, #12] + 8002292: 4413 add r3, r2 + 8002294: 60fb str r3, [r7, #12] } while((HAL_GetTick() - tickstart) < wait) - 8001f36: bf00 nop - 8001f38: f7ff ffde bl 8001ef8 - 8001f3c: 4602 mov r2, r0 - 8001f3e: 68bb ldr r3, [r7, #8] - 8001f40: 1ad3 subs r3, r2, r3 - 8001f42: 68fa ldr r2, [r7, #12] - 8001f44: 429a cmp r2, r3 - 8001f46: d8f7 bhi.n 8001f38 + 8002296: bf00 nop + 8002298: f7ff ffde bl 8002258 + 800229c: 4602 mov r2, r0 + 800229e: 68bb ldr r3, [r7, #8] + 80022a0: 1ad3 subs r3, r2, r3 + 80022a2: 68fa ldr r2, [r7, #12] + 80022a4: 429a cmp r2, r3 + 80022a6: d8f7 bhi.n 8002298 { } } - 8001f48: bf00 nop - 8001f4a: bf00 nop - 8001f4c: 3710 adds r7, #16 - 8001f4e: 46bd mov sp, r7 - 8001f50: bd80 pop {r7, pc} - 8001f52: bf00 nop - 8001f54: 20000008 .word 0x20000008 + 80022a8: bf00 nop + 80022aa: bf00 nop + 80022ac: 3710 adds r7, #16 + 80022ae: 46bd mov sp, r7 + 80022b0: bd80 pop {r7, pc} + 80022b2: bf00 nop + 80022b4: 20000008 .word 0x20000008 -08001f58 <__NVIC_SetPriorityGrouping>: +080022b8 <__NVIC_SetPriorityGrouping>: In case of a conflict between priority grouping and available priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set. \param [in] PriorityGroup Priority grouping field. */ __STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup) { - 8001f58: b480 push {r7} - 8001f5a: b085 sub sp, #20 - 8001f5c: af00 add r7, sp, #0 - 8001f5e: 6078 str r0, [r7, #4] + 80022b8: b480 push {r7} + 80022ba: b085 sub sp, #20 + 80022bc: af00 add r7, sp, #0 + 80022be: 6078 str r0, [r7, #4] uint32_t reg_value; uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */ - 8001f60: 687b ldr r3, [r7, #4] - 8001f62: f003 0307 and.w r3, r3, #7 - 8001f66: 60fb str r3, [r7, #12] + 80022c0: 687b ldr r3, [r7, #4] + 80022c2: f003 0307 and.w r3, r3, #7 + 80022c6: 60fb str r3, [r7, #12] reg_value = SCB->AIRCR; /* read old register configuration */ - 8001f68: 4b0c ldr r3, [pc, #48] @ (8001f9c <__NVIC_SetPriorityGrouping+0x44>) - 8001f6a: 68db ldr r3, [r3, #12] - 8001f6c: 60bb str r3, [r7, #8] + 80022c8: 4b0c ldr r3, [pc, #48] @ (80022fc <__NVIC_SetPriorityGrouping+0x44>) + 80022ca: 68db ldr r3, [r3, #12] + 80022cc: 60bb str r3, [r7, #8] reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to change */ - 8001f6e: 68ba ldr r2, [r7, #8] - 8001f70: f64f 03ff movw r3, #63743 @ 0xf8ff - 8001f74: 4013 ands r3, r2 - 8001f76: 60bb str r3, [r7, #8] + 80022ce: 68ba ldr r2, [r7, #8] + 80022d0: f64f 03ff movw r3, #63743 @ 0xf8ff + 80022d4: 4013 ands r3, r2 + 80022d6: 60bb str r3, [r7, #8] reg_value = (reg_value | ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) | (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key and priority group */ - 8001f78: 68fb ldr r3, [r7, #12] - 8001f7a: 021a lsls r2, r3, #8 + 80022d8: 68fb ldr r3, [r7, #12] + 80022da: 021a lsls r2, r3, #8 ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) | - 8001f7c: 68bb ldr r3, [r7, #8] - 8001f7e: 4313 orrs r3, r2 + 80022dc: 68bb ldr r3, [r7, #8] + 80022de: 4313 orrs r3, r2 reg_value = (reg_value | - 8001f80: f043 63bf orr.w r3, r3, #100139008 @ 0x5f80000 - 8001f84: f443 3300 orr.w r3, r3, #131072 @ 0x20000 - 8001f88: 60bb str r3, [r7, #8] + 80022e0: f043 63bf orr.w r3, r3, #100139008 @ 0x5f80000 + 80022e4: f443 3300 orr.w r3, r3, #131072 @ 0x20000 + 80022e8: 60bb str r3, [r7, #8] SCB->AIRCR = reg_value; - 8001f8a: 4a04 ldr r2, [pc, #16] @ (8001f9c <__NVIC_SetPriorityGrouping+0x44>) - 8001f8c: 68bb ldr r3, [r7, #8] - 8001f8e: 60d3 str r3, [r2, #12] + 80022ea: 4a04 ldr r2, [pc, #16] @ (80022fc <__NVIC_SetPriorityGrouping+0x44>) + 80022ec: 68bb ldr r3, [r7, #8] + 80022ee: 60d3 str r3, [r2, #12] } - 8001f90: bf00 nop - 8001f92: 3714 adds r7, #20 - 8001f94: 46bd mov sp, r7 - 8001f96: f85d 7b04 ldr.w r7, [sp], #4 - 8001f9a: 4770 bx lr - 8001f9c: e000ed00 .word 0xe000ed00 + 80022f0: bf00 nop + 80022f2: 3714 adds r7, #20 + 80022f4: 46bd mov sp, r7 + 80022f6: f85d 7b04 ldr.w r7, [sp], #4 + 80022fa: 4770 bx lr + 80022fc: e000ed00 .word 0xe000ed00 -08001fa0 <__NVIC_GetPriorityGrouping>: +08002300 <__NVIC_GetPriorityGrouping>: \brief Get Priority Grouping \details Reads the priority grouping field from the NVIC Interrupt Controller. \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field). */ __STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void) { - 8001fa0: b480 push {r7} - 8001fa2: af00 add r7, sp, #0 + 8002300: b480 push {r7} + 8002302: af00 add r7, sp, #0 return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos)); - 8001fa4: 4b04 ldr r3, [pc, #16] @ (8001fb8 <__NVIC_GetPriorityGrouping+0x18>) - 8001fa6: 68db ldr r3, [r3, #12] - 8001fa8: 0a1b lsrs r3, r3, #8 - 8001faa: f003 0307 and.w r3, r3, #7 + 8002304: 4b04 ldr r3, [pc, #16] @ (8002318 <__NVIC_GetPriorityGrouping+0x18>) + 8002306: 68db ldr r3, [r3, #12] + 8002308: 0a1b lsrs r3, r3, #8 + 800230a: f003 0307 and.w r3, r3, #7 } - 8001fae: 4618 mov r0, r3 - 8001fb0: 46bd mov sp, r7 - 8001fb2: f85d 7b04 ldr.w r7, [sp], #4 - 8001fb6: 4770 bx lr - 8001fb8: e000ed00 .word 0xe000ed00 + 800230e: 4618 mov r0, r3 + 8002310: 46bd mov sp, r7 + 8002312: f85d 7b04 ldr.w r7, [sp], #4 + 8002316: 4770 bx lr + 8002318: e000ed00 .word 0xe000ed00 -08001fbc <__NVIC_EnableIRQ>: +0800231c <__NVIC_EnableIRQ>: \details Enables a device specific interrupt in the NVIC interrupt controller. \param [in] IRQn Device specific interrupt number. \note IRQn must not be negative. */ __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn) { - 8001fbc: b480 push {r7} - 8001fbe: b083 sub sp, #12 - 8001fc0: af00 add r7, sp, #0 - 8001fc2: 4603 mov r3, r0 - 8001fc4: 71fb strb r3, [r7, #7] + 800231c: b480 push {r7} + 800231e: b083 sub sp, #12 + 8002320: af00 add r7, sp, #0 + 8002322: 4603 mov r3, r0 + 8002324: 71fb strb r3, [r7, #7] if ((int32_t)(IRQn) >= 0) - 8001fc6: f997 3007 ldrsb.w r3, [r7, #7] - 8001fca: 2b00 cmp r3, #0 - 8001fcc: db0b blt.n 8001fe6 <__NVIC_EnableIRQ+0x2a> + 8002326: f997 3007 ldrsb.w r3, [r7, #7] + 800232a: 2b00 cmp r3, #0 + 800232c: db0b blt.n 8002346 <__NVIC_EnableIRQ+0x2a> { NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); - 8001fce: 79fb ldrb r3, [r7, #7] - 8001fd0: f003 021f and.w r2, r3, #31 - 8001fd4: 4907 ldr r1, [pc, #28] @ (8001ff4 <__NVIC_EnableIRQ+0x38>) - 8001fd6: f997 3007 ldrsb.w r3, [r7, #7] - 8001fda: 095b lsrs r3, r3, #5 - 8001fdc: 2001 movs r0, #1 - 8001fde: fa00 f202 lsl.w r2, r0, r2 - 8001fe2: f841 2023 str.w r2, [r1, r3, lsl #2] + 800232e: 79fb ldrb r3, [r7, #7] + 8002330: f003 021f and.w r2, r3, #31 + 8002334: 4907 ldr r1, [pc, #28] @ (8002354 <__NVIC_EnableIRQ+0x38>) + 8002336: f997 3007 ldrsb.w r3, [r7, #7] + 800233a: 095b lsrs r3, r3, #5 + 800233c: 2001 movs r0, #1 + 800233e: fa00 f202 lsl.w r2, r0, r2 + 8002342: f841 2023 str.w r2, [r1, r3, lsl #2] } } - 8001fe6: bf00 nop - 8001fe8: 370c adds r7, #12 - 8001fea: 46bd mov sp, r7 - 8001fec: f85d 7b04 ldr.w r7, [sp], #4 - 8001ff0: 4770 bx lr - 8001ff2: bf00 nop - 8001ff4: e000e100 .word 0xe000e100 + 8002346: bf00 nop + 8002348: 370c adds r7, #12 + 800234a: 46bd mov sp, r7 + 800234c: f85d 7b04 ldr.w r7, [sp], #4 + 8002350: 4770 bx lr + 8002352: bf00 nop + 8002354: e000e100 .word 0xe000e100 -08001ff8 <__NVIC_SetPriority>: +08002358 <__NVIC_SetPriority>: \param [in] IRQn Interrupt number. \param [in] priority Priority to set. \note The priority cannot be set for every processor exception. */ __STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority) { - 8001ff8: b480 push {r7} - 8001ffa: b083 sub sp, #12 - 8001ffc: af00 add r7, sp, #0 - 8001ffe: 4603 mov r3, r0 - 8002000: 6039 str r1, [r7, #0] - 8002002: 71fb strb r3, [r7, #7] + 8002358: b480 push {r7} + 800235a: b083 sub sp, #12 + 800235c: af00 add r7, sp, #0 + 800235e: 4603 mov r3, r0 + 8002360: 6039 str r1, [r7, #0] + 8002362: 71fb strb r3, [r7, #7] if ((int32_t)(IRQn) >= 0) - 8002004: f997 3007 ldrsb.w r3, [r7, #7] - 8002008: 2b00 cmp r3, #0 - 800200a: db0a blt.n 8002022 <__NVIC_SetPriority+0x2a> + 8002364: f997 3007 ldrsb.w r3, [r7, #7] + 8002368: 2b00 cmp r3, #0 + 800236a: db0a blt.n 8002382 <__NVIC_SetPriority+0x2a> { NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); - 800200c: 683b ldr r3, [r7, #0] - 800200e: b2da uxtb r2, r3 - 8002010: 490c ldr r1, [pc, #48] @ (8002044 <__NVIC_SetPriority+0x4c>) - 8002012: f997 3007 ldrsb.w r3, [r7, #7] - 8002016: 0112 lsls r2, r2, #4 - 8002018: b2d2 uxtb r2, r2 - 800201a: 440b add r3, r1 - 800201c: f883 2300 strb.w r2, [r3, #768] @ 0x300 + 800236c: 683b ldr r3, [r7, #0] + 800236e: b2da uxtb r2, r3 + 8002370: 490c ldr r1, [pc, #48] @ (80023a4 <__NVIC_SetPriority+0x4c>) + 8002372: f997 3007 ldrsb.w r3, [r7, #7] + 8002376: 0112 lsls r2, r2, #4 + 8002378: b2d2 uxtb r2, r2 + 800237a: 440b add r3, r1 + 800237c: f883 2300 strb.w r2, [r3, #768] @ 0x300 } else { SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); } } - 8002020: e00a b.n 8002038 <__NVIC_SetPriority+0x40> + 8002380: e00a b.n 8002398 <__NVIC_SetPriority+0x40> SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); - 8002022: 683b ldr r3, [r7, #0] - 8002024: b2da uxtb r2, r3 - 8002026: 4908 ldr r1, [pc, #32] @ (8002048 <__NVIC_SetPriority+0x50>) - 8002028: 79fb ldrb r3, [r7, #7] - 800202a: f003 030f and.w r3, r3, #15 - 800202e: 3b04 subs r3, #4 - 8002030: 0112 lsls r2, r2, #4 - 8002032: b2d2 uxtb r2, r2 - 8002034: 440b add r3, r1 - 8002036: 761a strb r2, [r3, #24] + 8002382: 683b ldr r3, [r7, #0] + 8002384: b2da uxtb r2, r3 + 8002386: 4908 ldr r1, [pc, #32] @ (80023a8 <__NVIC_SetPriority+0x50>) + 8002388: 79fb ldrb r3, [r7, #7] + 800238a: f003 030f and.w r3, r3, #15 + 800238e: 3b04 subs r3, #4 + 8002390: 0112 lsls r2, r2, #4 + 8002392: b2d2 uxtb r2, r2 + 8002394: 440b add r3, r1 + 8002396: 761a strb r2, [r3, #24] } - 8002038: bf00 nop - 800203a: 370c adds r7, #12 - 800203c: 46bd mov sp, r7 - 800203e: f85d 7b04 ldr.w r7, [sp], #4 - 8002042: 4770 bx lr - 8002044: e000e100 .word 0xe000e100 - 8002048: e000ed00 .word 0xe000ed00 + 8002398: bf00 nop + 800239a: 370c adds r7, #12 + 800239c: 46bd mov sp, r7 + 800239e: f85d 7b04 ldr.w r7, [sp], #4 + 80023a2: 4770 bx lr + 80023a4: e000e100 .word 0xe000e100 + 80023a8: e000ed00 .word 0xe000ed00 -0800204c : +080023ac : \param [in] PreemptPriority Preemptive priority value (starting from 0). \param [in] SubPriority Subpriority value (starting from 0). \return Encoded priority. Value can be used in the function \ref NVIC_SetPriority(). */ __STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority) { - 800204c: b480 push {r7} - 800204e: b089 sub sp, #36 @ 0x24 - 8002050: af00 add r7, sp, #0 - 8002052: 60f8 str r0, [r7, #12] - 8002054: 60b9 str r1, [r7, #8] - 8002056: 607a str r2, [r7, #4] + 80023ac: b480 push {r7} + 80023ae: b089 sub sp, #36 @ 0x24 + 80023b0: af00 add r7, sp, #0 + 80023b2: 60f8 str r0, [r7, #12] + 80023b4: 60b9 str r1, [r7, #8] + 80023b6: 607a str r2, [r7, #4] uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */ - 8002058: 68fb ldr r3, [r7, #12] - 800205a: f003 0307 and.w r3, r3, #7 - 800205e: 61fb str r3, [r7, #28] + 80023b8: 68fb ldr r3, [r7, #12] + 80023ba: f003 0307 and.w r3, r3, #7 + 80023be: 61fb str r3, [r7, #28] uint32_t PreemptPriorityBits; uint32_t SubPriorityBits; PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp); - 8002060: 69fb ldr r3, [r7, #28] - 8002062: f1c3 0307 rsb r3, r3, #7 - 8002066: 2b04 cmp r3, #4 - 8002068: bf28 it cs - 800206a: 2304 movcs r3, #4 - 800206c: 61bb str r3, [r7, #24] + 80023c0: 69fb ldr r3, [r7, #28] + 80023c2: f1c3 0307 rsb r3, r3, #7 + 80023c6: 2b04 cmp r3, #4 + 80023c8: bf28 it cs + 80023ca: 2304 movcs r3, #4 + 80023cc: 61bb str r3, [r7, #24] SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS)); - 800206e: 69fb ldr r3, [r7, #28] - 8002070: 3304 adds r3, #4 - 8002072: 2b06 cmp r3, #6 - 8002074: d902 bls.n 800207c - 8002076: 69fb ldr r3, [r7, #28] - 8002078: 3b03 subs r3, #3 - 800207a: e000 b.n 800207e - 800207c: 2300 movs r3, #0 - 800207e: 617b str r3, [r7, #20] + 80023ce: 69fb ldr r3, [r7, #28] + 80023d0: 3304 adds r3, #4 + 80023d2: 2b06 cmp r3, #6 + 80023d4: d902 bls.n 80023dc + 80023d6: 69fb ldr r3, [r7, #28] + 80023d8: 3b03 subs r3, #3 + 80023da: e000 b.n 80023de + 80023dc: 2300 movs r3, #0 + 80023de: 617b str r3, [r7, #20] return ( ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | - 8002080: f04f 32ff mov.w r2, #4294967295 - 8002084: 69bb ldr r3, [r7, #24] - 8002086: fa02 f303 lsl.w r3, r2, r3 - 800208a: 43da mvns r2, r3 - 800208c: 68bb ldr r3, [r7, #8] - 800208e: 401a ands r2, r3 - 8002090: 697b ldr r3, [r7, #20] - 8002092: 409a lsls r2, r3 + 80023e0: f04f 32ff mov.w r2, #4294967295 + 80023e4: 69bb ldr r3, [r7, #24] + 80023e6: fa02 f303 lsl.w r3, r2, r3 + 80023ea: 43da mvns r2, r3 + 80023ec: 68bb ldr r3, [r7, #8] + 80023ee: 401a ands r2, r3 + 80023f0: 697b ldr r3, [r7, #20] + 80023f2: 409a lsls r2, r3 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) - 8002094: f04f 31ff mov.w r1, #4294967295 - 8002098: 697b ldr r3, [r7, #20] - 800209a: fa01 f303 lsl.w r3, r1, r3 - 800209e: 43d9 mvns r1, r3 - 80020a0: 687b ldr r3, [r7, #4] - 80020a2: 400b ands r3, r1 + 80023f4: f04f 31ff mov.w r1, #4294967295 + 80023f8: 697b ldr r3, [r7, #20] + 80023fa: fa01 f303 lsl.w r3, r1, r3 + 80023fe: 43d9 mvns r1, r3 + 8002400: 687b ldr r3, [r7, #4] + 8002402: 400b ands r3, r1 ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | - 80020a4: 4313 orrs r3, r2 + 8002404: 4313 orrs r3, r2 ); } - 80020a6: 4618 mov r0, r3 - 80020a8: 3724 adds r7, #36 @ 0x24 - 80020aa: 46bd mov sp, r7 - 80020ac: f85d 7b04 ldr.w r7, [sp], #4 - 80020b0: 4770 bx lr + 8002406: 4618 mov r0, r3 + 8002408: 3724 adds r7, #36 @ 0x24 + 800240a: 46bd mov sp, r7 + 800240c: f85d 7b04 ldr.w r7, [sp], #4 + 8002410: 4770 bx lr ... -080020b4 : +08002414 : \note When the variable __Vendor_SysTickConfig is set to 1, then the function SysTick_Config is not included. In this case, the file device.h must contain a vendor-specific implementation of this function. */ __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks) { - 80020b4: b580 push {r7, lr} - 80020b6: b082 sub sp, #8 - 80020b8: af00 add r7, sp, #0 - 80020ba: 6078 str r0, [r7, #4] + 8002414: b580 push {r7, lr} + 8002416: b082 sub sp, #8 + 8002418: af00 add r7, sp, #0 + 800241a: 6078 str r0, [r7, #4] if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk) - 80020bc: 687b ldr r3, [r7, #4] - 80020be: 3b01 subs r3, #1 - 80020c0: f1b3 7f80 cmp.w r3, #16777216 @ 0x1000000 - 80020c4: d301 bcc.n 80020ca + 800241c: 687b ldr r3, [r7, #4] + 800241e: 3b01 subs r3, #1 + 8002420: f1b3 7f80 cmp.w r3, #16777216 @ 0x1000000 + 8002424: d301 bcc.n 800242a { return (1UL); /* Reload value impossible */ - 80020c6: 2301 movs r3, #1 - 80020c8: e00f b.n 80020ea + 8002426: 2301 movs r3, #1 + 8002428: e00f b.n 800244a } SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ - 80020ca: 4a0a ldr r2, [pc, #40] @ (80020f4 ) - 80020cc: 687b ldr r3, [r7, #4] - 80020ce: 3b01 subs r3, #1 - 80020d0: 6053 str r3, [r2, #4] + 800242a: 4a0a ldr r2, [pc, #40] @ (8002454 ) + 800242c: 687b ldr r3, [r7, #4] + 800242e: 3b01 subs r3, #1 + 8002430: 6053 str r3, [r2, #4] NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */ - 80020d2: 210f movs r1, #15 - 80020d4: f04f 30ff mov.w r0, #4294967295 - 80020d8: f7ff ff8e bl 8001ff8 <__NVIC_SetPriority> + 8002432: 210f movs r1, #15 + 8002434: f04f 30ff mov.w r0, #4294967295 + 8002438: f7ff ff8e bl 8002358 <__NVIC_SetPriority> SysTick->VAL = 0UL; /* Load the SysTick Counter Value */ - 80020dc: 4b05 ldr r3, [pc, #20] @ (80020f4 ) - 80020de: 2200 movs r2, #0 - 80020e0: 609a str r2, [r3, #8] + 800243c: 4b05 ldr r3, [pc, #20] @ (8002454 ) + 800243e: 2200 movs r2, #0 + 8002440: 609a str r2, [r3, #8] SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | - 80020e2: 4b04 ldr r3, [pc, #16] @ (80020f4 ) - 80020e4: 2207 movs r2, #7 - 80020e6: 601a str r2, [r3, #0] + 8002442: 4b04 ldr r3, [pc, #16] @ (8002454 ) + 8002444: 2207 movs r2, #7 + 8002446: 601a str r2, [r3, #0] SysTick_CTRL_TICKINT_Msk | SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */ return (0UL); /* Function successful */ - 80020e8: 2300 movs r3, #0 + 8002448: 2300 movs r3, #0 } - 80020ea: 4618 mov r0, r3 - 80020ec: 3708 adds r7, #8 - 80020ee: 46bd mov sp, r7 - 80020f0: bd80 pop {r7, pc} - 80020f2: bf00 nop - 80020f4: e000e010 .word 0xe000e010 + 800244a: 4618 mov r0, r3 + 800244c: 3708 adds r7, #8 + 800244e: 46bd mov sp, r7 + 8002450: bd80 pop {r7, pc} + 8002452: bf00 nop + 8002454: e000e010 .word 0xe000e010 -080020f8 : +08002458 : * @note When the NVIC_PriorityGroup_0 is selected, IRQ preemption is no more possible. * The pending IRQ priority will be managed only by the subpriority. * @retval None */ void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup) { - 80020f8: b580 push {r7, lr} - 80020fa: b082 sub sp, #8 - 80020fc: af00 add r7, sp, #0 - 80020fe: 6078 str r0, [r7, #4] + 8002458: b580 push {r7, lr} + 800245a: b082 sub sp, #8 + 800245c: af00 add r7, sp, #0 + 800245e: 6078 str r0, [r7, #4] /* Check the parameters */ assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); /* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */ NVIC_SetPriorityGrouping(PriorityGroup); - 8002100: 6878 ldr r0, [r7, #4] - 8002102: f7ff ff29 bl 8001f58 <__NVIC_SetPriorityGrouping> + 8002460: 6878 ldr r0, [r7, #4] + 8002462: f7ff ff29 bl 80022b8 <__NVIC_SetPriorityGrouping> } - 8002106: bf00 nop - 8002108: 3708 adds r7, #8 - 800210a: 46bd mov sp, r7 - 800210c: bd80 pop {r7, pc} + 8002466: bf00 nop + 8002468: 3708 adds r7, #8 + 800246a: 46bd mov sp, r7 + 800246c: bd80 pop {r7, pc} -0800210e : +0800246e : * This parameter can be a value between 0 and 15 * A lower priority value indicates a higher priority. * @retval None */ void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority) { - 800210e: b580 push {r7, lr} - 8002110: b086 sub sp, #24 - 8002112: af00 add r7, sp, #0 - 8002114: 4603 mov r3, r0 - 8002116: 60b9 str r1, [r7, #8] - 8002118: 607a str r2, [r7, #4] - 800211a: 73fb strb r3, [r7, #15] + 800246e: b580 push {r7, lr} + 8002470: b086 sub sp, #24 + 8002472: af00 add r7, sp, #0 + 8002474: 4603 mov r3, r0 + 8002476: 60b9 str r1, [r7, #8] + 8002478: 607a str r2, [r7, #4] + 800247a: 73fb strb r3, [r7, #15] uint32_t prioritygroup = 0x00U; - 800211c: 2300 movs r3, #0 - 800211e: 617b str r3, [r7, #20] + 800247c: 2300 movs r3, #0 + 800247e: 617b str r3, [r7, #20] /* Check the parameters */ assert_param(IS_NVIC_SUB_PRIORITY(SubPriority)); assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority)); prioritygroup = NVIC_GetPriorityGrouping(); - 8002120: f7ff ff3e bl 8001fa0 <__NVIC_GetPriorityGrouping> - 8002124: 6178 str r0, [r7, #20] + 8002480: f7ff ff3e bl 8002300 <__NVIC_GetPriorityGrouping> + 8002484: 6178 str r0, [r7, #20] NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority)); - 8002126: 687a ldr r2, [r7, #4] - 8002128: 68b9 ldr r1, [r7, #8] - 800212a: 6978 ldr r0, [r7, #20] - 800212c: f7ff ff8e bl 800204c - 8002130: 4602 mov r2, r0 - 8002132: f997 300f ldrsb.w r3, [r7, #15] - 8002136: 4611 mov r1, r2 - 8002138: 4618 mov r0, r3 - 800213a: f7ff ff5d bl 8001ff8 <__NVIC_SetPriority> + 8002486: 687a ldr r2, [r7, #4] + 8002488: 68b9 ldr r1, [r7, #8] + 800248a: 6978 ldr r0, [r7, #20] + 800248c: f7ff ff8e bl 80023ac + 8002490: 4602 mov r2, r0 + 8002492: f997 300f ldrsb.w r3, [r7, #15] + 8002496: 4611 mov r1, r2 + 8002498: 4618 mov r0, r3 + 800249a: f7ff ff5d bl 8002358 <__NVIC_SetPriority> } - 800213e: bf00 nop - 8002140: 3718 adds r7, #24 - 8002142: 46bd mov sp, r7 - 8002144: bd80 pop {r7, pc} + 800249e: bf00 nop + 80024a0: 3718 adds r7, #24 + 80024a2: 46bd mov sp, r7 + 80024a4: bd80 pop {r7, pc} -08002146 : +080024a6 : * This parameter can be an enumerator of IRQn_Type enumeration * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSIS device file (stm32f4xxxx.h)) * @retval None */ void HAL_NVIC_EnableIRQ(IRQn_Type IRQn) { - 8002146: b580 push {r7, lr} - 8002148: b082 sub sp, #8 - 800214a: af00 add r7, sp, #0 - 800214c: 4603 mov r3, r0 - 800214e: 71fb strb r3, [r7, #7] + 80024a6: b580 push {r7, lr} + 80024a8: b082 sub sp, #8 + 80024aa: af00 add r7, sp, #0 + 80024ac: 4603 mov r3, r0 + 80024ae: 71fb strb r3, [r7, #7] /* Check the parameters */ assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); /* Enable interrupt */ NVIC_EnableIRQ(IRQn); - 8002150: f997 3007 ldrsb.w r3, [r7, #7] - 8002154: 4618 mov r0, r3 - 8002156: f7ff ff31 bl 8001fbc <__NVIC_EnableIRQ> + 80024b0: f997 3007 ldrsb.w r3, [r7, #7] + 80024b4: 4618 mov r0, r3 + 80024b6: f7ff ff31 bl 800231c <__NVIC_EnableIRQ> } - 800215a: bf00 nop - 800215c: 3708 adds r7, #8 - 800215e: 46bd mov sp, r7 - 8002160: bd80 pop {r7, pc} + 80024ba: bf00 nop + 80024bc: 3708 adds r7, #8 + 80024be: 46bd mov sp, r7 + 80024c0: bd80 pop {r7, pc} -08002162 : +080024c2 : * @param TicksNumb Specifies the ticks Number of ticks between two interrupts. * @retval status: - 0 Function succeeded. * - 1 Function failed. */ uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb) { - 8002162: b580 push {r7, lr} - 8002164: b082 sub sp, #8 - 8002166: af00 add r7, sp, #0 - 8002168: 6078 str r0, [r7, #4] + 80024c2: b580 push {r7, lr} + 80024c4: b082 sub sp, #8 + 80024c6: af00 add r7, sp, #0 + 80024c8: 6078 str r0, [r7, #4] return SysTick_Config(TicksNumb); - 800216a: 6878 ldr r0, [r7, #4] - 800216c: f7ff ffa2 bl 80020b4 - 8002170: 4603 mov r3, r0 + 80024ca: 6878 ldr r0, [r7, #4] + 80024cc: f7ff ffa2 bl 8002414 + 80024d0: 4603 mov r3, r0 } - 8002172: 4618 mov r0, r3 - 8002174: 3708 adds r7, #8 - 8002176: 46bd mov sp, r7 - 8002178: bd80 pop {r7, pc} + 80024d2: 4618 mov r0, r3 + 80024d4: 3708 adds r7, #8 + 80024d6: 46bd mov sp, r7 + 80024d8: bd80 pop {r7, pc} ... -0800217c : +080024dc : * @param heth: pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_Init(ETH_HandleTypeDef *heth) { - 800217c: b580 push {r7, lr} - 800217e: b084 sub sp, #16 - 8002180: af00 add r7, sp, #0 - 8002182: 6078 str r0, [r7, #4] + 80024dc: b580 push {r7, lr} + 80024de: b084 sub sp, #16 + 80024e0: af00 add r7, sp, #0 + 80024e2: 6078 str r0, [r7, #4] uint32_t tickstart; if (heth == NULL) - 8002184: 687b ldr r3, [r7, #4] - 8002186: 2b00 cmp r3, #0 - 8002188: d101 bne.n 800218e + 80024e4: 687b ldr r3, [r7, #4] + 80024e6: 2b00 cmp r3, #0 + 80024e8: d101 bne.n 80024ee { return HAL_ERROR; - 800218a: 2301 movs r3, #1 - 800218c: e06c b.n 8002268 + 80024ea: 2301 movs r3, #1 + 80024ec: e06c b.n 80025c8 } if (heth->gState == HAL_ETH_STATE_RESET) - 800218e: 687b ldr r3, [r7, #4] - 8002190: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8002194: 2b00 cmp r3, #0 - 8002196: d106 bne.n 80021a6 + 80024ee: 687b ldr r3, [r7, #4] + 80024f0: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 80024f4: 2b00 cmp r3, #0 + 80024f6: d106 bne.n 8002506 { heth->gState = HAL_ETH_STATE_BUSY; - 8002198: 687b ldr r3, [r7, #4] - 800219a: 2223 movs r2, #35 @ 0x23 - 800219c: f8c3 2084 str.w r2, [r3, #132] @ 0x84 + 80024f8: 687b ldr r3, [r7, #4] + 80024fa: 2223 movs r2, #35 @ 0x23 + 80024fc: f8c3 2084 str.w r2, [r3, #132] @ 0x84 /* Init the low level hardware */ heth->MspInitCallback(heth); #else /* Init the low level hardware : GPIO, CLOCK, NVIC. */ HAL_ETH_MspInit(heth); - 80021a0: 6878 ldr r0, [r7, #4] - 80021a2: f002 fee1 bl 8004f68 + 8002500: 6878 ldr r0, [r7, #4] + 8002502: f003 f9f3 bl 80058ec #endif /* (USE_HAL_ETH_REGISTER_CALLBACKS) */ } __HAL_RCC_SYSCFG_CLK_ENABLE(); - 80021a6: 2300 movs r3, #0 - 80021a8: 60bb str r3, [r7, #8] - 80021aa: 4b31 ldr r3, [pc, #196] @ (8002270 ) - 80021ac: 6c5b ldr r3, [r3, #68] @ 0x44 - 80021ae: 4a30 ldr r2, [pc, #192] @ (8002270 ) - 80021b0: f443 4380 orr.w r3, r3, #16384 @ 0x4000 - 80021b4: 6453 str r3, [r2, #68] @ 0x44 - 80021b6: 4b2e ldr r3, [pc, #184] @ (8002270 ) - 80021b8: 6c5b ldr r3, [r3, #68] @ 0x44 - 80021ba: f403 4380 and.w r3, r3, #16384 @ 0x4000 - 80021be: 60bb str r3, [r7, #8] - 80021c0: 68bb ldr r3, [r7, #8] + 8002506: 2300 movs r3, #0 + 8002508: 60bb str r3, [r7, #8] + 800250a: 4b31 ldr r3, [pc, #196] @ (80025d0 ) + 800250c: 6c5b ldr r3, [r3, #68] @ 0x44 + 800250e: 4a30 ldr r2, [pc, #192] @ (80025d0 ) + 8002510: f443 4380 orr.w r3, r3, #16384 @ 0x4000 + 8002514: 6453 str r3, [r2, #68] @ 0x44 + 8002516: 4b2e ldr r3, [pc, #184] @ (80025d0 ) + 8002518: 6c5b ldr r3, [r3, #68] @ 0x44 + 800251a: f403 4380 and.w r3, r3, #16384 @ 0x4000 + 800251e: 60bb str r3, [r7, #8] + 8002520: 68bb ldr r3, [r7, #8] /* Select MII or RMII Mode*/ SYSCFG->PMC &= ~(SYSCFG_PMC_MII_RMII_SEL); - 80021c2: 4b2c ldr r3, [pc, #176] @ (8002274 ) - 80021c4: 685b ldr r3, [r3, #4] - 80021c6: 4a2b ldr r2, [pc, #172] @ (8002274 ) - 80021c8: f423 0300 bic.w r3, r3, #8388608 @ 0x800000 - 80021cc: 6053 str r3, [r2, #4] + 8002522: 4b2c ldr r3, [pc, #176] @ (80025d4 ) + 8002524: 685b ldr r3, [r3, #4] + 8002526: 4a2b ldr r2, [pc, #172] @ (80025d4 ) + 8002528: f423 0300 bic.w r3, r3, #8388608 @ 0x800000 + 800252c: 6053 str r3, [r2, #4] SYSCFG->PMC |= (uint32_t)heth->Init.MediaInterface; - 80021ce: 4b29 ldr r3, [pc, #164] @ (8002274 ) - 80021d0: 685a ldr r2, [r3, #4] - 80021d2: 687b ldr r3, [r7, #4] - 80021d4: 689b ldr r3, [r3, #8] - 80021d6: 4927 ldr r1, [pc, #156] @ (8002274 ) - 80021d8: 4313 orrs r3, r2 - 80021da: 604b str r3, [r1, #4] + 800252e: 4b29 ldr r3, [pc, #164] @ (80025d4 ) + 8002530: 685a ldr r2, [r3, #4] + 8002532: 687b ldr r3, [r7, #4] + 8002534: 689b ldr r3, [r3, #8] + 8002536: 4927 ldr r1, [pc, #156] @ (80025d4 ) + 8002538: 4313 orrs r3, r2 + 800253a: 604b str r3, [r1, #4] /* Dummy read to sync SYSCFG with ETH */ (void)SYSCFG->PMC; - 80021dc: 4b25 ldr r3, [pc, #148] @ (8002274 ) - 80021de: 685b ldr r3, [r3, #4] + 800253c: 4b25 ldr r3, [pc, #148] @ (80025d4 ) + 800253e: 685b ldr r3, [r3, #4] /* Ethernet Software reset */ /* Set the SWR bit: resets all MAC subsystem internal registers and logic */ /* After reset all the registers holds their respective reset values */ SET_BIT(heth->Instance->DMABMR, ETH_DMABMR_SR); - 80021e0: 687b ldr r3, [r7, #4] - 80021e2: 681b ldr r3, [r3, #0] - 80021e4: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 80021e8: 681b ldr r3, [r3, #0] - 80021ea: 687a ldr r2, [r7, #4] - 80021ec: 6812 ldr r2, [r2, #0] - 80021ee: f043 0301 orr.w r3, r3, #1 - 80021f2: f502 5280 add.w r2, r2, #4096 @ 0x1000 - 80021f6: 6013 str r3, [r2, #0] + 8002540: 687b ldr r3, [r7, #4] + 8002542: 681b ldr r3, [r3, #0] + 8002544: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8002548: 681b ldr r3, [r3, #0] + 800254a: 687a ldr r2, [r7, #4] + 800254c: 6812 ldr r2, [r2, #0] + 800254e: f043 0301 orr.w r3, r3, #1 + 8002552: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 8002556: 6013 str r3, [r2, #0] /* Get tick */ tickstart = HAL_GetTick(); - 80021f8: f7ff fe7e bl 8001ef8 - 80021fc: 60f8 str r0, [r7, #12] + 8002558: f7ff fe7e bl 8002258 + 800255c: 60f8 str r0, [r7, #12] /* Wait for software reset */ while (READ_BIT(heth->Instance->DMABMR, ETH_DMABMR_SR) > 0U) - 80021fe: e011 b.n 8002224 + 800255e: e011 b.n 8002584 { if (((HAL_GetTick() - tickstart) > ETH_SWRESET_TIMEOUT)) - 8002200: f7ff fe7a bl 8001ef8 - 8002204: 4602 mov r2, r0 - 8002206: 68fb ldr r3, [r7, #12] - 8002208: 1ad3 subs r3, r2, r3 - 800220a: f5b3 7ffa cmp.w r3, #500 @ 0x1f4 - 800220e: d909 bls.n 8002224 + 8002560: f7ff fe7a bl 8002258 + 8002564: 4602 mov r2, r0 + 8002566: 68fb ldr r3, [r7, #12] + 8002568: 1ad3 subs r3, r2, r3 + 800256a: f5b3 7ffa cmp.w r3, #500 @ 0x1f4 + 800256e: d909 bls.n 8002584 { /* Set Error Code */ heth->ErrorCode = HAL_ETH_ERROR_TIMEOUT; - 8002210: 687b ldr r3, [r7, #4] - 8002212: 2204 movs r2, #4 - 8002214: f8c3 2088 str.w r2, [r3, #136] @ 0x88 + 8002570: 687b ldr r3, [r7, #4] + 8002572: 2204 movs r2, #4 + 8002574: f8c3 2088 str.w r2, [r3, #136] @ 0x88 /* Set State as Error */ heth->gState = HAL_ETH_STATE_ERROR; - 8002218: 687b ldr r3, [r7, #4] - 800221a: 22e0 movs r2, #224 @ 0xe0 - 800221c: f8c3 2084 str.w r2, [r3, #132] @ 0x84 + 8002578: 687b ldr r3, [r7, #4] + 800257a: 22e0 movs r2, #224 @ 0xe0 + 800257c: f8c3 2084 str.w r2, [r3, #132] @ 0x84 /* Return Error */ return HAL_ERROR; - 8002220: 2301 movs r3, #1 - 8002222: e021 b.n 8002268 + 8002580: 2301 movs r3, #1 + 8002582: e021 b.n 80025c8 while (READ_BIT(heth->Instance->DMABMR, ETH_DMABMR_SR) > 0U) - 8002224: 687b ldr r3, [r7, #4] - 8002226: 681b ldr r3, [r3, #0] - 8002228: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 800222c: 681b ldr r3, [r3, #0] - 800222e: f003 0301 and.w r3, r3, #1 - 8002232: 2b00 cmp r3, #0 - 8002234: d1e4 bne.n 8002200 + 8002584: 687b ldr r3, [r7, #4] + 8002586: 681b ldr r3, [r3, #0] + 8002588: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 800258c: 681b ldr r3, [r3, #0] + 800258e: f003 0301 and.w r3, r3, #1 + 8002592: 2b00 cmp r3, #0 + 8002594: d1e4 bne.n 8002560 } } /*------------------ MAC, MTL and DMA default Configuration ----------------*/ ETH_MACDMAConfig(heth); - 8002236: 6878 ldr r0, [r7, #4] - 8002238: f000 fdf0 bl 8002e1c + 8002596: 6878 ldr r0, [r7, #4] + 8002598: f000 fdf0 bl 800317c /*------------------ DMA Tx Descriptors Configuration ----------------------*/ ETH_DMATxDescListInit(heth); - 800223c: 6878 ldr r0, [r7, #4] - 800223e: f000 fe97 bl 8002f70 + 800259c: 6878 ldr r0, [r7, #4] + 800259e: f000 fe97 bl 80032d0 /*------------------ DMA Rx Descriptors Configuration ----------------------*/ ETH_DMARxDescListInit(heth); - 8002242: 6878 ldr r0, [r7, #4] - 8002244: f000 feed bl 8003022 + 80025a2: 6878 ldr r0, [r7, #4] + 80025a4: f000 feed bl 8003382 /*--------------------- ETHERNET MAC Address Configuration ------------------*/ ETH_MACAddressConfig(heth, ETH_MAC_ADDRESS0, heth->Init.MACAddr); - 8002248: 687b ldr r3, [r7, #4] - 800224a: 685b ldr r3, [r3, #4] - 800224c: 461a mov r2, r3 - 800224e: 2100 movs r1, #0 - 8002250: 6878 ldr r0, [r7, #4] - 8002252: f000 fe55 bl 8002f00 + 80025a8: 687b ldr r3, [r7, #4] + 80025aa: 685b ldr r3, [r3, #4] + 80025ac: 461a mov r2, r3 + 80025ae: 2100 movs r1, #0 + 80025b0: 6878 ldr r0, [r7, #4] + 80025b2: f000 fe55 bl 8003260 heth->ErrorCode = HAL_ETH_ERROR_NONE; - 8002256: 687b ldr r3, [r7, #4] - 8002258: 2200 movs r2, #0 - 800225a: f8c3 2088 str.w r2, [r3, #136] @ 0x88 + 80025b6: 687b ldr r3, [r7, #4] + 80025b8: 2200 movs r2, #0 + 80025ba: f8c3 2088 str.w r2, [r3, #136] @ 0x88 heth->gState = HAL_ETH_STATE_READY; - 800225e: 687b ldr r3, [r7, #4] - 8002260: 2210 movs r2, #16 - 8002262: f8c3 2084 str.w r2, [r3, #132] @ 0x84 + 80025be: 687b ldr r3, [r7, #4] + 80025c0: 2210 movs r2, #16 + 80025c2: f8c3 2084 str.w r2, [r3, #132] @ 0x84 return HAL_OK; - 8002266: 2300 movs r3, #0 + 80025c6: 2300 movs r3, #0 } - 8002268: 4618 mov r0, r3 - 800226a: 3710 adds r7, #16 - 800226c: 46bd mov sp, r7 - 800226e: bd80 pop {r7, pc} - 8002270: 40023800 .word 0x40023800 - 8002274: 40013800 .word 0x40013800 + 80025c8: 4618 mov r0, r3 + 80025ca: 3710 adds r7, #16 + 80025cc: 46bd mov sp, r7 + 80025ce: bd80 pop {r7, pc} + 80025d0: 40023800 .word 0x40023800 + 80025d4: 40013800 .word 0x40013800 -08002278 : +080025d8 : * @param heth: pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_Start(ETH_HandleTypeDef *heth) { - 8002278: b580 push {r7, lr} - 800227a: b084 sub sp, #16 - 800227c: af00 add r7, sp, #0 - 800227e: 6078 str r0, [r7, #4] + 80025d8: b580 push {r7, lr} + 80025da: b084 sub sp, #16 + 80025dc: af00 add r7, sp, #0 + 80025de: 6078 str r0, [r7, #4] uint32_t tmpreg1; if (heth->gState == HAL_ETH_STATE_READY) - 8002280: 687b ldr r3, [r7, #4] - 8002282: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8002286: 2b10 cmp r3, #16 - 8002288: d150 bne.n 800232c + 80025e0: 687b ldr r3, [r7, #4] + 80025e2: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 80025e6: 2b10 cmp r3, #16 + 80025e8: d150 bne.n 800268c { heth->gState = HAL_ETH_STATE_BUSY; - 800228a: 687b ldr r3, [r7, #4] - 800228c: 2223 movs r2, #35 @ 0x23 - 800228e: f8c3 2084 str.w r2, [r3, #132] @ 0x84 + 80025ea: 687b ldr r3, [r7, #4] + 80025ec: 2223 movs r2, #35 @ 0x23 + 80025ee: f8c3 2084 str.w r2, [r3, #132] @ 0x84 /* Set nombre of descriptors to build */ heth->RxDescList.RxBuildDescCnt = ETH_RX_DESC_CNT; - 8002292: 687b ldr r3, [r7, #4] - 8002294: 2204 movs r2, #4 - 8002296: 66da str r2, [r3, #108] @ 0x6c + 80025f2: 687b ldr r3, [r7, #4] + 80025f4: 2204 movs r2, #4 + 80025f6: 66da str r2, [r3, #108] @ 0x6c /* Build all descriptors */ ETH_UpdateDescriptor(heth); - 8002298: 6878 ldr r0, [r7, #4] - 800229a: f000 f9fd bl 8002698 + 80025f8: 6878 ldr r0, [r7, #4] + 80025fa: f000 f9fd bl 80029f8 /* Enable the MAC transmission */ SET_BIT(heth->Instance->MACCR, ETH_MACCR_TE); - 800229e: 687b ldr r3, [r7, #4] - 80022a0: 681b ldr r3, [r3, #0] - 80022a2: 681a ldr r2, [r3, #0] - 80022a4: 687b ldr r3, [r7, #4] - 80022a6: 681b ldr r3, [r3, #0] - 80022a8: f042 0208 orr.w r2, r2, #8 - 80022ac: 601a str r2, [r3, #0] + 80025fe: 687b ldr r3, [r7, #4] + 8002600: 681b ldr r3, [r3, #0] + 8002602: 681a ldr r2, [r3, #0] + 8002604: 687b ldr r3, [r7, #4] + 8002606: 681b ldr r3, [r3, #0] + 8002608: f042 0208 orr.w r2, r2, #8 + 800260c: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account : at least four TX_CLK/RX_CLK clock cycles */ tmpreg1 = (heth->Instance)->MACCR; - 80022ae: 687b ldr r3, [r7, #4] - 80022b0: 681b ldr r3, [r3, #0] - 80022b2: 681b ldr r3, [r3, #0] - 80022b4: 60fb str r3, [r7, #12] + 800260e: 687b ldr r3, [r7, #4] + 8002610: 681b ldr r3, [r3, #0] + 8002612: 681b ldr r3, [r3, #0] + 8002614: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 80022b6: 2001 movs r0, #1 - 80022b8: f7ff fe2a bl 8001f10 + 8002616: 2001 movs r0, #1 + 8002618: f7ff fe2a bl 8002270 (heth->Instance)->MACCR = tmpreg1; - 80022bc: 687b ldr r3, [r7, #4] - 80022be: 681b ldr r3, [r3, #0] - 80022c0: 68fa ldr r2, [r7, #12] - 80022c2: 601a str r2, [r3, #0] + 800261c: 687b ldr r3, [r7, #4] + 800261e: 681b ldr r3, [r3, #0] + 8002620: 68fa ldr r2, [r7, #12] + 8002622: 601a str r2, [r3, #0] /* Enable the MAC reception */ SET_BIT(heth->Instance->MACCR, ETH_MACCR_RE); - 80022c4: 687b ldr r3, [r7, #4] - 80022c6: 681b ldr r3, [r3, #0] - 80022c8: 681a ldr r2, [r3, #0] - 80022ca: 687b ldr r3, [r7, #4] - 80022cc: 681b ldr r3, [r3, #0] - 80022ce: f042 0204 orr.w r2, r2, #4 - 80022d2: 601a str r2, [r3, #0] + 8002624: 687b ldr r3, [r7, #4] + 8002626: 681b ldr r3, [r3, #0] + 8002628: 681a ldr r2, [r3, #0] + 800262a: 687b ldr r3, [r7, #4] + 800262c: 681b ldr r3, [r3, #0] + 800262e: f042 0204 orr.w r2, r2, #4 + 8002632: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account : at least four TX_CLK/RX_CLK clock cycles */ tmpreg1 = (heth->Instance)->MACCR; - 80022d4: 687b ldr r3, [r7, #4] - 80022d6: 681b ldr r3, [r3, #0] - 80022d8: 681b ldr r3, [r3, #0] - 80022da: 60fb str r3, [r7, #12] + 8002634: 687b ldr r3, [r7, #4] + 8002636: 681b ldr r3, [r3, #0] + 8002638: 681b ldr r3, [r3, #0] + 800263a: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 80022dc: 2001 movs r0, #1 - 80022de: f7ff fe17 bl 8001f10 + 800263c: 2001 movs r0, #1 + 800263e: f7ff fe17 bl 8002270 (heth->Instance)->MACCR = tmpreg1; - 80022e2: 687b ldr r3, [r7, #4] - 80022e4: 681b ldr r3, [r3, #0] - 80022e6: 68fa ldr r2, [r7, #12] - 80022e8: 601a str r2, [r3, #0] + 8002642: 687b ldr r3, [r7, #4] + 8002644: 681b ldr r3, [r3, #0] + 8002646: 68fa ldr r2, [r7, #12] + 8002648: 601a str r2, [r3, #0] /* Flush Transmit FIFO */ ETH_FlushTransmitFIFO(heth); - 80022ea: 6878 ldr r0, [r7, #4] - 80022ec: f000 fc36 bl 8002b5c + 800264a: 6878 ldr r0, [r7, #4] + 800264c: f000 fc36 bl 8002ebc /* Enable the DMA transmission */ SET_BIT(heth->Instance->DMAOMR, ETH_DMAOMR_ST); - 80022f0: 687b ldr r3, [r7, #4] - 80022f2: 681b ldr r3, [r3, #0] - 80022f4: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 80022f8: 699b ldr r3, [r3, #24] - 80022fa: 687a ldr r2, [r7, #4] - 80022fc: 6812 ldr r2, [r2, #0] - 80022fe: f443 5300 orr.w r3, r3, #8192 @ 0x2000 - 8002302: f502 5280 add.w r2, r2, #4096 @ 0x1000 - 8002306: 6193 str r3, [r2, #24] + 8002650: 687b ldr r3, [r7, #4] + 8002652: 681b ldr r3, [r3, #0] + 8002654: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8002658: 699b ldr r3, [r3, #24] + 800265a: 687a ldr r2, [r7, #4] + 800265c: 6812 ldr r2, [r2, #0] + 800265e: f443 5300 orr.w r3, r3, #8192 @ 0x2000 + 8002662: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 8002666: 6193 str r3, [r2, #24] /* Enable the DMA reception */ SET_BIT(heth->Instance->DMAOMR, ETH_DMAOMR_SR); - 8002308: 687b ldr r3, [r7, #4] - 800230a: 681b ldr r3, [r3, #0] - 800230c: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002310: 699b ldr r3, [r3, #24] - 8002312: 687a ldr r2, [r7, #4] - 8002314: 6812 ldr r2, [r2, #0] - 8002316: f043 0302 orr.w r3, r3, #2 - 800231a: f502 5280 add.w r2, r2, #4096 @ 0x1000 - 800231e: 6193 str r3, [r2, #24] + 8002668: 687b ldr r3, [r7, #4] + 800266a: 681b ldr r3, [r3, #0] + 800266c: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8002670: 699b ldr r3, [r3, #24] + 8002672: 687a ldr r2, [r7, #4] + 8002674: 6812 ldr r2, [r2, #0] + 8002676: f043 0302 orr.w r3, r3, #2 + 800267a: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 800267e: 6193 str r3, [r2, #24] heth->gState = HAL_ETH_STATE_STARTED; - 8002320: 687b ldr r3, [r7, #4] - 8002322: 2223 movs r2, #35 @ 0x23 - 8002324: f8c3 2084 str.w r2, [r3, #132] @ 0x84 + 8002680: 687b ldr r3, [r7, #4] + 8002682: 2223 movs r2, #35 @ 0x23 + 8002684: f8c3 2084 str.w r2, [r3, #132] @ 0x84 return HAL_OK; - 8002328: 2300 movs r3, #0 - 800232a: e000 b.n 800232e + 8002688: 2300 movs r3, #0 + 800268a: e000 b.n 800268e } else { return HAL_ERROR; - 800232c: 2301 movs r3, #1 + 800268c: 2301 movs r3, #1 } } - 800232e: 4618 mov r0, r3 - 8002330: 3710 adds r7, #16 - 8002332: 46bd mov sp, r7 - 8002334: bd80 pop {r7, pc} + 800268e: 4618 mov r0, r3 + 8002690: 3710 adds r7, #16 + 8002692: 46bd mov sp, r7 + 8002694: bd80 pop {r7, pc} -08002336 : +08002696 : * @param heth: pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_Stop(ETH_HandleTypeDef *heth) { - 8002336: b580 push {r7, lr} - 8002338: b084 sub sp, #16 - 800233a: af00 add r7, sp, #0 - 800233c: 6078 str r0, [r7, #4] + 8002696: b580 push {r7, lr} + 8002698: b084 sub sp, #16 + 800269a: af00 add r7, sp, #0 + 800269c: 6078 str r0, [r7, #4] uint32_t tmpreg1; if (heth->gState == HAL_ETH_STATE_STARTED) - 800233e: 687b ldr r3, [r7, #4] - 8002340: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8002344: 2b23 cmp r3, #35 @ 0x23 - 8002346: d14a bne.n 80023de + 800269e: 687b ldr r3, [r7, #4] + 80026a0: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 80026a4: 2b23 cmp r3, #35 @ 0x23 + 80026a6: d14a bne.n 800273e { /* Set the ETH peripheral state to BUSY */ heth->gState = HAL_ETH_STATE_BUSY; - 8002348: 687b ldr r3, [r7, #4] - 800234a: 2223 movs r2, #35 @ 0x23 - 800234c: f8c3 2084 str.w r2, [r3, #132] @ 0x84 + 80026a8: 687b ldr r3, [r7, #4] + 80026aa: 2223 movs r2, #35 @ 0x23 + 80026ac: f8c3 2084 str.w r2, [r3, #132] @ 0x84 /* Disable the DMA transmission */ CLEAR_BIT(heth->Instance->DMAOMR, ETH_DMAOMR_ST); - 8002350: 687b ldr r3, [r7, #4] - 8002352: 681b ldr r3, [r3, #0] - 8002354: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002358: 699b ldr r3, [r3, #24] - 800235a: 687a ldr r2, [r7, #4] - 800235c: 6812 ldr r2, [r2, #0] - 800235e: f423 5300 bic.w r3, r3, #8192 @ 0x2000 - 8002362: f502 5280 add.w r2, r2, #4096 @ 0x1000 - 8002366: 6193 str r3, [r2, #24] + 80026b0: 687b ldr r3, [r7, #4] + 80026b2: 681b ldr r3, [r3, #0] + 80026b4: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 80026b8: 699b ldr r3, [r3, #24] + 80026ba: 687a ldr r2, [r7, #4] + 80026bc: 6812 ldr r2, [r2, #0] + 80026be: f423 5300 bic.w r3, r3, #8192 @ 0x2000 + 80026c2: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 80026c6: 6193 str r3, [r2, #24] /* Disable the DMA reception */ CLEAR_BIT(heth->Instance->DMAOMR, ETH_DMAOMR_SR); - 8002368: 687b ldr r3, [r7, #4] - 800236a: 681b ldr r3, [r3, #0] - 800236c: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002370: 699b ldr r3, [r3, #24] - 8002372: 687a ldr r2, [r7, #4] - 8002374: 6812 ldr r2, [r2, #0] - 8002376: f023 0302 bic.w r3, r3, #2 - 800237a: f502 5280 add.w r2, r2, #4096 @ 0x1000 - 800237e: 6193 str r3, [r2, #24] + 80026c8: 687b ldr r3, [r7, #4] + 80026ca: 681b ldr r3, [r3, #0] + 80026cc: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 80026d0: 699b ldr r3, [r3, #24] + 80026d2: 687a ldr r2, [r7, #4] + 80026d4: 6812 ldr r2, [r2, #0] + 80026d6: f023 0302 bic.w r3, r3, #2 + 80026da: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 80026de: 6193 str r3, [r2, #24] /* Disable the MAC reception */ CLEAR_BIT(heth->Instance->MACCR, ETH_MACCR_RE); - 8002380: 687b ldr r3, [r7, #4] - 8002382: 681b ldr r3, [r3, #0] - 8002384: 681a ldr r2, [r3, #0] - 8002386: 687b ldr r3, [r7, #4] - 8002388: 681b ldr r3, [r3, #0] - 800238a: f022 0204 bic.w r2, r2, #4 - 800238e: 601a str r2, [r3, #0] + 80026e0: 687b ldr r3, [r7, #4] + 80026e2: 681b ldr r3, [r3, #0] + 80026e4: 681a ldr r2, [r3, #0] + 80026e6: 687b ldr r3, [r7, #4] + 80026e8: 681b ldr r3, [r3, #0] + 80026ea: f022 0204 bic.w r2, r2, #4 + 80026ee: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account : at least four TX_CLK/RX_CLK clock cycles */ tmpreg1 = (heth->Instance)->MACCR; - 8002390: 687b ldr r3, [r7, #4] - 8002392: 681b ldr r3, [r3, #0] - 8002394: 681b ldr r3, [r3, #0] - 8002396: 60fb str r3, [r7, #12] + 80026f0: 687b ldr r3, [r7, #4] + 80026f2: 681b ldr r3, [r3, #0] + 80026f4: 681b ldr r3, [r3, #0] + 80026f6: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 8002398: 2001 movs r0, #1 - 800239a: f7ff fdb9 bl 8001f10 + 80026f8: 2001 movs r0, #1 + 80026fa: f7ff fdb9 bl 8002270 (heth->Instance)->MACCR = tmpreg1; - 800239e: 687b ldr r3, [r7, #4] - 80023a0: 681b ldr r3, [r3, #0] - 80023a2: 68fa ldr r2, [r7, #12] - 80023a4: 601a str r2, [r3, #0] + 80026fe: 687b ldr r3, [r7, #4] + 8002700: 681b ldr r3, [r3, #0] + 8002702: 68fa ldr r2, [r7, #12] + 8002704: 601a str r2, [r3, #0] /* Flush Transmit FIFO */ ETH_FlushTransmitFIFO(heth); - 80023a6: 6878 ldr r0, [r7, #4] - 80023a8: f000 fbd8 bl 8002b5c + 8002706: 6878 ldr r0, [r7, #4] + 8002708: f000 fbd8 bl 8002ebc /* Disable the MAC transmission */ CLEAR_BIT(heth->Instance->MACCR, ETH_MACCR_TE); - 80023ac: 687b ldr r3, [r7, #4] - 80023ae: 681b ldr r3, [r3, #0] - 80023b0: 681a ldr r2, [r3, #0] - 80023b2: 687b ldr r3, [r7, #4] - 80023b4: 681b ldr r3, [r3, #0] - 80023b6: f022 0208 bic.w r2, r2, #8 - 80023ba: 601a str r2, [r3, #0] + 800270c: 687b ldr r3, [r7, #4] + 800270e: 681b ldr r3, [r3, #0] + 8002710: 681a ldr r2, [r3, #0] + 8002712: 687b ldr r3, [r7, #4] + 8002714: 681b ldr r3, [r3, #0] + 8002716: f022 0208 bic.w r2, r2, #8 + 800271a: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account : at least four TX_CLK/RX_CLK clock cycles */ tmpreg1 = (heth->Instance)->MACCR; - 80023bc: 687b ldr r3, [r7, #4] - 80023be: 681b ldr r3, [r3, #0] - 80023c0: 681b ldr r3, [r3, #0] - 80023c2: 60fb str r3, [r7, #12] + 800271c: 687b ldr r3, [r7, #4] + 800271e: 681b ldr r3, [r3, #0] + 8002720: 681b ldr r3, [r3, #0] + 8002722: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 80023c4: 2001 movs r0, #1 - 80023c6: f7ff fda3 bl 8001f10 + 8002724: 2001 movs r0, #1 + 8002726: f7ff fda3 bl 8002270 (heth->Instance)->MACCR = tmpreg1; - 80023ca: 687b ldr r3, [r7, #4] - 80023cc: 681b ldr r3, [r3, #0] - 80023ce: 68fa ldr r2, [r7, #12] - 80023d0: 601a str r2, [r3, #0] + 800272a: 687b ldr r3, [r7, #4] + 800272c: 681b ldr r3, [r3, #0] + 800272e: 68fa ldr r2, [r7, #12] + 8002730: 601a str r2, [r3, #0] heth->gState = HAL_ETH_STATE_READY; - 80023d2: 687b ldr r3, [r7, #4] - 80023d4: 2210 movs r2, #16 - 80023d6: f8c3 2084 str.w r2, [r3, #132] @ 0x84 + 8002732: 687b ldr r3, [r7, #4] + 8002734: 2210 movs r2, #16 + 8002736: f8c3 2084 str.w r2, [r3, #132] @ 0x84 /* Return function status */ return HAL_OK; - 80023da: 2300 movs r3, #0 - 80023dc: e000 b.n 80023e0 + 800273a: 2300 movs r3, #0 + 800273c: e000 b.n 8002740 } else { return HAL_ERROR; - 80023de: 2301 movs r3, #1 + 800273e: 2301 movs r3, #1 } } - 80023e0: 4618 mov r0, r3 - 80023e2: 3710 adds r7, #16 - 80023e4: 46bd mov sp, r7 - 80023e6: bd80 pop {r7, pc} + 8002740: 4618 mov r0, r3 + 8002742: 3710 adds r7, #16 + 8002744: 46bd mov sp, r7 + 8002746: bd80 pop {r7, pc} -080023e8 : +08002748 : * @param pTxConfig: Hold the configuration of packet to be transmitted * @param Timeout: timeout value * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_Transmit(ETH_HandleTypeDef *heth, ETH_TxPacketConfig *pTxConfig, uint32_t Timeout) { - 80023e8: b580 push {r7, lr} - 80023ea: b086 sub sp, #24 - 80023ec: af00 add r7, sp, #0 - 80023ee: 60f8 str r0, [r7, #12] - 80023f0: 60b9 str r1, [r7, #8] - 80023f2: 607a str r2, [r7, #4] + 8002748: b580 push {r7, lr} + 800274a: b086 sub sp, #24 + 800274c: af00 add r7, sp, #0 + 800274e: 60f8 str r0, [r7, #12] + 8002750: 60b9 str r1, [r7, #8] + 8002752: 607a str r2, [r7, #4] uint32_t tickstart; ETH_DMADescTypeDef *dmatxdesc; if (pTxConfig == NULL) - 80023f4: 68bb ldr r3, [r7, #8] - 80023f6: 2b00 cmp r3, #0 - 80023f8: d109 bne.n 800240e + 8002754: 68bb ldr r3, [r7, #8] + 8002756: 2b00 cmp r3, #0 + 8002758: d109 bne.n 800276e { heth->ErrorCode |= HAL_ETH_ERROR_PARAM; - 80023fa: 68fb ldr r3, [r7, #12] - 80023fc: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 8002400: f043 0201 orr.w r2, r3, #1 - 8002404: 68fb ldr r3, [r7, #12] - 8002406: f8c3 2088 str.w r2, [r3, #136] @ 0x88 + 800275a: 68fb ldr r3, [r7, #12] + 800275c: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 8002760: f043 0201 orr.w r2, r3, #1 + 8002764: 68fb ldr r3, [r7, #12] + 8002766: f8c3 2088 str.w r2, [r3, #136] @ 0x88 return HAL_ERROR; - 800240a: 2301 movs r3, #1 - 800240c: e07c b.n 8002508 + 800276a: 2301 movs r3, #1 + 800276c: e07c b.n 8002868 } if (heth->gState == HAL_ETH_STATE_STARTED) - 800240e: 68fb ldr r3, [r7, #12] - 8002410: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8002414: 2b23 cmp r3, #35 @ 0x23 - 8002416: d176 bne.n 8002506 + 800276e: 68fb ldr r3, [r7, #12] + 8002770: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 8002774: 2b23 cmp r3, #35 @ 0x23 + 8002776: d176 bne.n 8002866 { /* Config DMA Tx descriptor by Tx Packet info */ if (ETH_Prepare_Tx_Descriptors(heth, pTxConfig, 0) != HAL_ETH_ERROR_NONE) - 8002418: 2200 movs r2, #0 - 800241a: 68b9 ldr r1, [r7, #8] - 800241c: 68f8 ldr r0, [r7, #12] - 800241e: f000 fe6d bl 80030fc - 8002422: 4603 mov r3, r0 - 8002424: 2b00 cmp r3, #0 - 8002426: d009 beq.n 800243c + 8002778: 2200 movs r2, #0 + 800277a: 68b9 ldr r1, [r7, #8] + 800277c: 68f8 ldr r0, [r7, #12] + 800277e: f000 fe6d bl 800345c + 8002782: 4603 mov r3, r0 + 8002784: 2b00 cmp r3, #0 + 8002786: d009 beq.n 800279c { /* Set the ETH error code */ heth->ErrorCode |= HAL_ETH_ERROR_BUSY; - 8002428: 68fb ldr r3, [r7, #12] - 800242a: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 800242e: f043 0202 orr.w r2, r3, #2 - 8002432: 68fb ldr r3, [r7, #12] - 8002434: f8c3 2088 str.w r2, [r3, #136] @ 0x88 + 8002788: 68fb ldr r3, [r7, #12] + 800278a: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 800278e: f043 0202 orr.w r2, r3, #2 + 8002792: 68fb ldr r3, [r7, #12] + 8002794: f8c3 2088 str.w r2, [r3, #136] @ 0x88 return HAL_ERROR; - 8002438: 2301 movs r3, #1 - 800243a: e065 b.n 8002508 + 8002798: 2301 movs r3, #1 + 800279a: e065 b.n 8002868 \details Acts as a special kind of Data Memory Barrier. It completes when all explicit memory accesses before this instruction complete. */ __STATIC_FORCEINLINE void __DSB(void) { __ASM volatile ("dsb 0xF":::"memory"); - 800243c: f3bf 8f4f dsb sy + 800279c: f3bf 8f4f dsb sy } - 8002440: bf00 nop + 80027a0: bf00 nop } /* Ensure completion of descriptor preparation before transmission start */ __DSB(); dmatxdesc = (ETH_DMADescTypeDef *)(&heth->TxDescList)->TxDesc[heth->TxDescList.CurTxDesc]; - 8002442: 68fb ldr r3, [r7, #12] - 8002444: 6a9a ldr r2, [r3, #40] @ 0x28 - 8002446: 68fb ldr r3, [r7, #12] - 8002448: 3206 adds r2, #6 - 800244a: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800244e: 617b str r3, [r7, #20] + 80027a2: 68fb ldr r3, [r7, #12] + 80027a4: 6a9a ldr r2, [r3, #40] @ 0x28 + 80027a6: 68fb ldr r3, [r7, #12] + 80027a8: 3206 adds r2, #6 + 80027aa: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80027ae: 617b str r3, [r7, #20] /* Incr current tx desc index */ INCR_TX_DESC_INDEX(heth->TxDescList.CurTxDesc, 1U); - 8002450: 68fb ldr r3, [r7, #12] - 8002452: 6a9b ldr r3, [r3, #40] @ 0x28 - 8002454: 1c5a adds r2, r3, #1 - 8002456: 68fb ldr r3, [r7, #12] - 8002458: 629a str r2, [r3, #40] @ 0x28 - 800245a: 68fb ldr r3, [r7, #12] - 800245c: 6a9b ldr r3, [r3, #40] @ 0x28 - 800245e: 2b03 cmp r3, #3 - 8002460: d904 bls.n 800246c - 8002462: 68fb ldr r3, [r7, #12] - 8002464: 6a9b ldr r3, [r3, #40] @ 0x28 - 8002466: 1f1a subs r2, r3, #4 - 8002468: 68fb ldr r3, [r7, #12] - 800246a: 629a str r2, [r3, #40] @ 0x28 + 80027b0: 68fb ldr r3, [r7, #12] + 80027b2: 6a9b ldr r3, [r3, #40] @ 0x28 + 80027b4: 1c5a adds r2, r3, #1 + 80027b6: 68fb ldr r3, [r7, #12] + 80027b8: 629a str r2, [r3, #40] @ 0x28 + 80027ba: 68fb ldr r3, [r7, #12] + 80027bc: 6a9b ldr r3, [r3, #40] @ 0x28 + 80027be: 2b03 cmp r3, #3 + 80027c0: d904 bls.n 80027cc + 80027c2: 68fb ldr r3, [r7, #12] + 80027c4: 6a9b ldr r3, [r3, #40] @ 0x28 + 80027c6: 1f1a subs r2, r3, #4 + 80027c8: 68fb ldr r3, [r7, #12] + 80027ca: 629a str r2, [r3, #40] @ 0x28 /* Start transmission */ /* issue a poll command to Tx DMA by writing address of next immediate free descriptor */ WRITE_REG(heth->Instance->DMATPDR, (uint32_t)(heth->TxDescList.TxDesc[heth->TxDescList.CurTxDesc])); - 800246c: 68fb ldr r3, [r7, #12] - 800246e: 6a99 ldr r1, [r3, #40] @ 0x28 - 8002470: 68fb ldr r3, [r7, #12] - 8002472: 681a ldr r2, [r3, #0] - 8002474: 68fb ldr r3, [r7, #12] - 8002476: 3106 adds r1, #6 - 8002478: f853 3021 ldr.w r3, [r3, r1, lsl #2] - 800247c: f502 5280 add.w r2, r2, #4096 @ 0x1000 - 8002480: 6053 str r3, [r2, #4] + 80027cc: 68fb ldr r3, [r7, #12] + 80027ce: 6a99 ldr r1, [r3, #40] @ 0x28 + 80027d0: 68fb ldr r3, [r7, #12] + 80027d2: 681a ldr r2, [r3, #0] + 80027d4: 68fb ldr r3, [r7, #12] + 80027d6: 3106 adds r1, #6 + 80027d8: f853 3021 ldr.w r3, [r3, r1, lsl #2] + 80027dc: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 80027e0: 6053 str r3, [r2, #4] tickstart = HAL_GetTick(); - 8002482: f7ff fd39 bl 8001ef8 - 8002486: 6138 str r0, [r7, #16] + 80027e2: f7ff fd39 bl 8002258 + 80027e6: 6138 str r0, [r7, #16] /* Wait for data to be transmitted or timeout occurred */ while ((dmatxdesc->DESC0 & ETH_DMATXDESC_OWN) != (uint32_t)RESET) - 8002488: e037 b.n 80024fa + 80027e8: e037 b.n 800285a { if ((heth->Instance->DMASR & ETH_DMASR_FBES) != (uint32_t)RESET) - 800248a: 68fb ldr r3, [r7, #12] - 800248c: 681b ldr r3, [r3, #0] - 800248e: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002492: 695b ldr r3, [r3, #20] - 8002494: f403 5300 and.w r3, r3, #8192 @ 0x2000 - 8002498: 2b00 cmp r3, #0 - 800249a: d011 beq.n 80024c0 + 80027ea: 68fb ldr r3, [r7, #12] + 80027ec: 681b ldr r3, [r3, #0] + 80027ee: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 80027f2: 695b ldr r3, [r3, #20] + 80027f4: f403 5300 and.w r3, r3, #8192 @ 0x2000 + 80027f8: 2b00 cmp r3, #0 + 80027fa: d011 beq.n 8002820 { heth->ErrorCode |= HAL_ETH_ERROR_DMA; - 800249c: 68fb ldr r3, [r7, #12] - 800249e: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 80024a2: f043 0208 orr.w r2, r3, #8 - 80024a6: 68fb ldr r3, [r7, #12] - 80024a8: f8c3 2088 str.w r2, [r3, #136] @ 0x88 + 80027fc: 68fb ldr r3, [r7, #12] + 80027fe: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 8002802: f043 0208 orr.w r2, r3, #8 + 8002806: 68fb ldr r3, [r7, #12] + 8002808: f8c3 2088 str.w r2, [r3, #136] @ 0x88 heth->DMAErrorCode = heth->Instance->DMASR; - 80024ac: 68fb ldr r3, [r7, #12] - 80024ae: 681b ldr r3, [r3, #0] - 80024b0: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 80024b4: 695a ldr r2, [r3, #20] - 80024b6: 68fb ldr r3, [r7, #12] - 80024b8: f8c3 208c str.w r2, [r3, #140] @ 0x8c + 800280c: 68fb ldr r3, [r7, #12] + 800280e: 681b ldr r3, [r3, #0] + 8002810: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8002814: 695a ldr r2, [r3, #20] + 8002816: 68fb ldr r3, [r7, #12] + 8002818: f8c3 208c str.w r2, [r3, #140] @ 0x8c /* Return function status */ return HAL_ERROR; - 80024bc: 2301 movs r3, #1 - 80024be: e023 b.n 8002508 + 800281c: 2301 movs r3, #1 + 800281e: e023 b.n 8002868 } /* Check for the Timeout */ if (Timeout != HAL_MAX_DELAY) - 80024c0: 687b ldr r3, [r7, #4] - 80024c2: f1b3 3fff cmp.w r3, #4294967295 - 80024c6: d018 beq.n 80024fa + 8002820: 687b ldr r3, [r7, #4] + 8002822: f1b3 3fff cmp.w r3, #4294967295 + 8002826: d018 beq.n 800285a { if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) - 80024c8: f7ff fd16 bl 8001ef8 - 80024cc: 4602 mov r2, r0 - 80024ce: 693b ldr r3, [r7, #16] - 80024d0: 1ad3 subs r3, r2, r3 - 80024d2: 687a ldr r2, [r7, #4] - 80024d4: 429a cmp r2, r3 - 80024d6: d302 bcc.n 80024de - 80024d8: 687b ldr r3, [r7, #4] - 80024da: 2b00 cmp r3, #0 - 80024dc: d10d bne.n 80024fa + 8002828: f7ff fd16 bl 8002258 + 800282c: 4602 mov r2, r0 + 800282e: 693b ldr r3, [r7, #16] + 8002830: 1ad3 subs r3, r2, r3 + 8002832: 687a ldr r2, [r7, #4] + 8002834: 429a cmp r2, r3 + 8002836: d302 bcc.n 800283e + 8002838: 687b ldr r3, [r7, #4] + 800283a: 2b00 cmp r3, #0 + 800283c: d10d bne.n 800285a { heth->ErrorCode |= HAL_ETH_ERROR_TIMEOUT; - 80024de: 68fb ldr r3, [r7, #12] - 80024e0: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 80024e4: f043 0204 orr.w r2, r3, #4 - 80024e8: 68fb ldr r3, [r7, #12] - 80024ea: f8c3 2088 str.w r2, [r3, #136] @ 0x88 + 800283e: 68fb ldr r3, [r7, #12] + 8002840: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 8002844: f043 0204 orr.w r2, r3, #4 + 8002848: 68fb ldr r3, [r7, #12] + 800284a: f8c3 2088 str.w r2, [r3, #136] @ 0x88 /* Clear TX descriptor so that we can proceed */ dmatxdesc->DESC0 = (ETH_DMATXDESC_FS | ETH_DMATXDESC_LS); - 80024ee: 697b ldr r3, [r7, #20] - 80024f0: f04f 5240 mov.w r2, #805306368 @ 0x30000000 - 80024f4: 601a str r2, [r3, #0] + 800284e: 697b ldr r3, [r7, #20] + 8002850: f04f 5240 mov.w r2, #805306368 @ 0x30000000 + 8002854: 601a str r2, [r3, #0] return HAL_ERROR; - 80024f6: 2301 movs r3, #1 - 80024f8: e006 b.n 8002508 + 8002856: 2301 movs r3, #1 + 8002858: e006 b.n 8002868 while ((dmatxdesc->DESC0 & ETH_DMATXDESC_OWN) != (uint32_t)RESET) - 80024fa: 697b ldr r3, [r7, #20] - 80024fc: 681b ldr r3, [r3, #0] - 80024fe: 2b00 cmp r3, #0 - 8002500: dbc3 blt.n 800248a + 800285a: 697b ldr r3, [r7, #20] + 800285c: 681b ldr r3, [r3, #0] + 800285e: 2b00 cmp r3, #0 + 8002860: dbc3 blt.n 80027ea } } } /* Return function status */ return HAL_OK; - 8002502: 2300 movs r3, #0 - 8002504: e000 b.n 8002508 + 8002862: 2300 movs r3, #0 + 8002864: e000 b.n 8002868 } else { return HAL_ERROR; - 8002506: 2301 movs r3, #1 + 8002866: 2301 movs r3, #1 } } - 8002508: 4618 mov r0, r3 - 800250a: 3718 adds r7, #24 - 800250c: 46bd mov sp, r7 - 800250e: bd80 pop {r7, pc} + 8002868: 4618 mov r0, r3 + 800286a: 3718 adds r7, #24 + 800286c: 46bd mov sp, r7 + 800286e: bd80 pop {r7, pc} -08002510 : +08002870 : * the configuration information for ETHERNET module * @param pAppBuff: Pointer to an application buffer to receive the packet. * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_ReadData(ETH_HandleTypeDef *heth, void **pAppBuff) { - 8002510: b580 push {r7, lr} - 8002512: b088 sub sp, #32 - 8002514: af00 add r7, sp, #0 - 8002516: 6078 str r0, [r7, #4] - 8002518: 6039 str r1, [r7, #0] + 8002870: b580 push {r7, lr} + 8002872: b088 sub sp, #32 + 8002874: af00 add r7, sp, #0 + 8002876: 6078 str r0, [r7, #4] + 8002878: 6039 str r1, [r7, #0] uint32_t descidx; ETH_DMADescTypeDef *dmarxdesc; uint32_t desccnt = 0U; - 800251a: 2300 movs r3, #0 - 800251c: 617b str r3, [r7, #20] + 800287a: 2300 movs r3, #0 + 800287c: 617b str r3, [r7, #20] uint32_t desccntmax; uint32_t bufflength; uint8_t rxdataready = 0U; - 800251e: 2300 movs r3, #0 - 8002520: 73fb strb r3, [r7, #15] + 800287e: 2300 movs r3, #0 + 8002880: 73fb strb r3, [r7, #15] if (pAppBuff == NULL) - 8002522: 683b ldr r3, [r7, #0] - 8002524: 2b00 cmp r3, #0 - 8002526: d109 bne.n 800253c + 8002882: 683b ldr r3, [r7, #0] + 8002884: 2b00 cmp r3, #0 + 8002886: d109 bne.n 800289c { heth->ErrorCode |= HAL_ETH_ERROR_PARAM; - 8002528: 687b ldr r3, [r7, #4] - 800252a: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 800252e: f043 0201 orr.w r2, r3, #1 - 8002532: 687b ldr r3, [r7, #4] - 8002534: f8c3 2088 str.w r2, [r3, #136] @ 0x88 + 8002888: 687b ldr r3, [r7, #4] + 800288a: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 800288e: f043 0201 orr.w r2, r3, #1 + 8002892: 687b ldr r3, [r7, #4] + 8002894: f8c3 2088 str.w r2, [r3, #136] @ 0x88 return HAL_ERROR; - 8002538: 2301 movs r3, #1 - 800253a: e0a8 b.n 800268e + 8002898: 2301 movs r3, #1 + 800289a: e0a8 b.n 80029ee } if (heth->gState != HAL_ETH_STATE_STARTED) - 800253c: 687b ldr r3, [r7, #4] - 800253e: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8002542: 2b23 cmp r3, #35 @ 0x23 - 8002544: d001 beq.n 800254a + 800289c: 687b ldr r3, [r7, #4] + 800289e: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 80028a2: 2b23 cmp r3, #35 @ 0x23 + 80028a4: d001 beq.n 80028aa { return HAL_ERROR; - 8002546: 2301 movs r3, #1 - 8002548: e0a1 b.n 800268e + 80028a6: 2301 movs r3, #1 + 80028a8: e0a1 b.n 80029ee } descidx = heth->RxDescList.RxDescIdx; - 800254a: 687b ldr r3, [r7, #4] - 800254c: 6ddb ldr r3, [r3, #92] @ 0x5c - 800254e: 61fb str r3, [r7, #28] + 80028aa: 687b ldr r3, [r7, #4] + 80028ac: 6ddb ldr r3, [r3, #92] @ 0x5c + 80028ae: 61fb str r3, [r7, #28] dmarxdesc = (ETH_DMADescTypeDef *)heth->RxDescList.RxDesc[descidx]; - 8002550: 687b ldr r3, [r7, #4] - 8002552: 69fa ldr r2, [r7, #28] - 8002554: 3212 adds r2, #18 - 8002556: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800255a: 61bb str r3, [r7, #24] + 80028b0: 687b ldr r3, [r7, #4] + 80028b2: 69fa ldr r2, [r7, #28] + 80028b4: 3212 adds r2, #18 + 80028b6: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80028ba: 61bb str r3, [r7, #24] desccntmax = ETH_RX_DESC_CNT - heth->RxDescList.RxBuildDescCnt; - 800255c: 687b ldr r3, [r7, #4] - 800255e: 6edb ldr r3, [r3, #108] @ 0x6c - 8002560: f1c3 0304 rsb r3, r3, #4 - 8002564: 60bb str r3, [r7, #8] + 80028bc: 687b ldr r3, [r7, #4] + 80028be: 6edb ldr r3, [r3, #108] @ 0x6c + 80028c0: f1c3 0304 rsb r3, r3, #4 + 80028c4: 60bb str r3, [r7, #8] /* Check if descriptor is not owned by DMA */ while ((READ_BIT(dmarxdesc->DESC0, ETH_DMARXDESC_OWN) == (uint32_t)RESET) && (desccnt < desccntmax) - 8002566: e06a b.n 800263e + 80028c6: e06a b.n 800299e && (rxdataready == 0U)) { if (READ_BIT(dmarxdesc->DESC0, ETH_DMARXDESC_LS) != (uint32_t)RESET) - 8002568: 69bb ldr r3, [r7, #24] - 800256a: 681b ldr r3, [r3, #0] - 800256c: f403 7380 and.w r3, r3, #256 @ 0x100 - 8002570: 2b00 cmp r3, #0 - 8002572: d007 beq.n 8002584 + 80028c8: 69bb ldr r3, [r7, #24] + 80028ca: 681b ldr r3, [r3, #0] + 80028cc: f403 7380 and.w r3, r3, #256 @ 0x100 + 80028d0: 2b00 cmp r3, #0 + 80028d2: d007 beq.n 80028e4 { /* Get timestamp high */ heth->RxDescList.TimeStamp.TimeStampHigh = dmarxdesc->DESC6; - 8002574: 69bb ldr r3, [r7, #24] - 8002576: 699a ldr r2, [r3, #24] - 8002578: 687b ldr r3, [r7, #4] - 800257a: 679a str r2, [r3, #120] @ 0x78 + 80028d4: 69bb ldr r3, [r7, #24] + 80028d6: 699a ldr r2, [r3, #24] + 80028d8: 687b ldr r3, [r7, #4] + 80028da: 679a str r2, [r3, #120] @ 0x78 /* Get timestamp low */ heth->RxDescList.TimeStamp.TimeStampLow = dmarxdesc->DESC7; - 800257c: 69bb ldr r3, [r7, #24] - 800257e: 69da ldr r2, [r3, #28] - 8002580: 687b ldr r3, [r7, #4] - 8002582: 675a str r2, [r3, #116] @ 0x74 + 80028dc: 69bb ldr r3, [r7, #24] + 80028de: 69da ldr r2, [r3, #28] + 80028e0: 687b ldr r3, [r7, #4] + 80028e2: 675a str r2, [r3, #116] @ 0x74 } if ((READ_BIT(dmarxdesc->DESC0, ETH_DMARXDESC_FS) != (uint32_t)RESET) || (heth->RxDescList.pRxStart != NULL)) - 8002584: 69bb ldr r3, [r7, #24] - 8002586: 681b ldr r3, [r3, #0] - 8002588: f403 7300 and.w r3, r3, #512 @ 0x200 - 800258c: 2b00 cmp r3, #0 - 800258e: d103 bne.n 8002598 - 8002590: 687b ldr r3, [r7, #4] - 8002592: 6fdb ldr r3, [r3, #124] @ 0x7c - 8002594: 2b00 cmp r3, #0 - 8002596: d040 beq.n 800261a + 80028e4: 69bb ldr r3, [r7, #24] + 80028e6: 681b ldr r3, [r3, #0] + 80028e8: f403 7300 and.w r3, r3, #512 @ 0x200 + 80028ec: 2b00 cmp r3, #0 + 80028ee: d103 bne.n 80028f8 + 80028f0: 687b ldr r3, [r7, #4] + 80028f2: 6fdb ldr r3, [r3, #124] @ 0x7c + 80028f4: 2b00 cmp r3, #0 + 80028f6: d040 beq.n 800297a { /* Check first descriptor */ if (READ_BIT(dmarxdesc->DESC0, ETH_DMARXDESC_FS) != (uint32_t)RESET) - 8002598: 69bb ldr r3, [r7, #24] - 800259a: 681b ldr r3, [r3, #0] - 800259c: f403 7300 and.w r3, r3, #512 @ 0x200 - 80025a0: 2b00 cmp r3, #0 - 80025a2: d005 beq.n 80025b0 + 80028f8: 69bb ldr r3, [r7, #24] + 80028fa: 681b ldr r3, [r3, #0] + 80028fc: f403 7300 and.w r3, r3, #512 @ 0x200 + 8002900: 2b00 cmp r3, #0 + 8002902: d005 beq.n 8002910 { heth->RxDescList.RxDescCnt = 0; - 80025a4: 687b ldr r3, [r7, #4] - 80025a6: 2200 movs r2, #0 - 80025a8: 661a str r2, [r3, #96] @ 0x60 + 8002904: 687b ldr r3, [r7, #4] + 8002906: 2200 movs r2, #0 + 8002908: 661a str r2, [r3, #96] @ 0x60 heth->RxDescList.RxDataLength = 0; - 80025aa: 687b ldr r3, [r7, #4] - 80025ac: 2200 movs r2, #0 - 80025ae: 665a str r2, [r3, #100] @ 0x64 + 800290a: 687b ldr r3, [r7, #4] + 800290c: 2200 movs r2, #0 + 800290e: 665a str r2, [r3, #100] @ 0x64 } /* Check if last descriptor */ bufflength = heth->Init.RxBuffLen; - 80025b0: 687b ldr r3, [r7, #4] - 80025b2: 695b ldr r3, [r3, #20] - 80025b4: 613b str r3, [r7, #16] + 8002910: 687b ldr r3, [r7, #4] + 8002912: 695b ldr r3, [r3, #20] + 8002914: 613b str r3, [r7, #16] if (READ_BIT(dmarxdesc->DESC0, ETH_DMARXDESC_LS) != (uint32_t)RESET) - 80025b6: 69bb ldr r3, [r7, #24] - 80025b8: 681b ldr r3, [r3, #0] - 80025ba: f403 7380 and.w r3, r3, #256 @ 0x100 - 80025be: 2b00 cmp r3, #0 - 80025c0: d00c beq.n 80025dc + 8002916: 69bb ldr r3, [r7, #24] + 8002918: 681b ldr r3, [r3, #0] + 800291a: f403 7380 and.w r3, r3, #256 @ 0x100 + 800291e: 2b00 cmp r3, #0 + 8002920: d00c beq.n 800293c { /* Get the Frame Length of the received packet: substruct 4 bytes of the CRC */ bufflength = ((dmarxdesc->DESC0 & ETH_DMARXDESC_FL) >> ETH_DMARXDESC_FRAMELENGTHSHIFT) - 4U; - 80025c2: 69bb ldr r3, [r7, #24] - 80025c4: 681b ldr r3, [r3, #0] - 80025c6: 0c1b lsrs r3, r3, #16 - 80025c8: f3c3 030d ubfx r3, r3, #0, #14 - 80025cc: 3b04 subs r3, #4 - 80025ce: 613b str r3, [r7, #16] + 8002922: 69bb ldr r3, [r7, #24] + 8002924: 681b ldr r3, [r3, #0] + 8002926: 0c1b lsrs r3, r3, #16 + 8002928: f3c3 030d ubfx r3, r3, #0, #14 + 800292c: 3b04 subs r3, #4 + 800292e: 613b str r3, [r7, #16] /* Save Last descriptor index */ heth->RxDescList.pRxLastRxDesc = dmarxdesc->DESC0; - 80025d0: 69bb ldr r3, [r7, #24] - 80025d2: 681a ldr r2, [r3, #0] - 80025d4: 687b ldr r3, [r7, #4] - 80025d6: 671a str r2, [r3, #112] @ 0x70 + 8002930: 69bb ldr r3, [r7, #24] + 8002932: 681a ldr r2, [r3, #0] + 8002934: 687b ldr r3, [r7, #4] + 8002936: 671a str r2, [r3, #112] @ 0x70 /* Packet ready */ rxdataready = 1; - 80025d8: 2301 movs r3, #1 - 80025da: 73fb strb r3, [r7, #15] + 8002938: 2301 movs r3, #1 + 800293a: 73fb strb r3, [r7, #15] } /* Link data */ WRITE_REG(dmarxdesc->BackupAddr0, dmarxdesc->DESC2); - 80025dc: 69bb ldr r3, [r7, #24] - 80025de: 689a ldr r2, [r3, #8] - 80025e0: 69bb ldr r3, [r7, #24] - 80025e2: 621a str r2, [r3, #32] + 800293c: 69bb ldr r3, [r7, #24] + 800293e: 689a ldr r2, [r3, #8] + 8002940: 69bb ldr r3, [r7, #24] + 8002942: 621a str r2, [r3, #32] /*Call registered Link callback*/ heth->rxLinkCallback(&heth->RxDescList.pRxStart, &heth->RxDescList.pRxEnd, (uint8_t *)dmarxdesc->BackupAddr0, bufflength); #else /* Link callback */ HAL_ETH_RxLinkCallback(&heth->RxDescList.pRxStart, &heth->RxDescList.pRxEnd, - 80025e4: 687b ldr r3, [r7, #4] - 80025e6: f103 007c add.w r0, r3, #124 @ 0x7c - 80025ea: 687b ldr r3, [r7, #4] - 80025ec: f103 0180 add.w r1, r3, #128 @ 0x80 + 8002944: 687b ldr r3, [r7, #4] + 8002946: f103 007c add.w r0, r3, #124 @ 0x7c + 800294a: 687b ldr r3, [r7, #4] + 800294c: f103 0180 add.w r1, r3, #128 @ 0x80 (uint8_t *)dmarxdesc->BackupAddr0, (uint16_t) bufflength); - 80025f0: 69bb ldr r3, [r7, #24] - 80025f2: 6a1b ldr r3, [r3, #32] + 8002950: 69bb ldr r3, [r7, #24] + 8002952: 6a1b ldr r3, [r3, #32] HAL_ETH_RxLinkCallback(&heth->RxDescList.pRxStart, &heth->RxDescList.pRxEnd, - 80025f4: 461a mov r2, r3 - 80025f6: 693b ldr r3, [r7, #16] - 80025f8: b29b uxth r3, r3 - 80025fa: f002 fe85 bl 8005308 + 8002954: 461a mov r2, r3 + 8002956: 693b ldr r3, [r7, #16] + 8002958: b29b uxth r3, r3 + 800295a: f003 f997 bl 8005c8c #endif /* USE_HAL_ETH_REGISTER_CALLBACKS */ heth->RxDescList.RxDescCnt++; - 80025fe: 687b ldr r3, [r7, #4] - 8002600: 6e1b ldr r3, [r3, #96] @ 0x60 - 8002602: 1c5a adds r2, r3, #1 - 8002604: 687b ldr r3, [r7, #4] - 8002606: 661a str r2, [r3, #96] @ 0x60 + 800295e: 687b ldr r3, [r7, #4] + 8002960: 6e1b ldr r3, [r3, #96] @ 0x60 + 8002962: 1c5a adds r2, r3, #1 + 8002964: 687b ldr r3, [r7, #4] + 8002966: 661a str r2, [r3, #96] @ 0x60 heth->RxDescList.RxDataLength += bufflength; - 8002608: 687b ldr r3, [r7, #4] - 800260a: 6e5a ldr r2, [r3, #100] @ 0x64 - 800260c: 693b ldr r3, [r7, #16] - 800260e: 441a add r2, r3 - 8002610: 687b ldr r3, [r7, #4] - 8002612: 665a str r2, [r3, #100] @ 0x64 + 8002968: 687b ldr r3, [r7, #4] + 800296a: 6e5a ldr r2, [r3, #100] @ 0x64 + 800296c: 693b ldr r3, [r7, #16] + 800296e: 441a add r2, r3 + 8002970: 687b ldr r3, [r7, #4] + 8002972: 665a str r2, [r3, #100] @ 0x64 /* Clear buffer pointer */ dmarxdesc->BackupAddr0 = 0; - 8002614: 69bb ldr r3, [r7, #24] - 8002616: 2200 movs r2, #0 - 8002618: 621a str r2, [r3, #32] + 8002974: 69bb ldr r3, [r7, #24] + 8002976: 2200 movs r2, #0 + 8002978: 621a str r2, [r3, #32] } /* Increment current rx descriptor index */ INCR_RX_DESC_INDEX(descidx, 1U); - 800261a: 69fb ldr r3, [r7, #28] - 800261c: 3301 adds r3, #1 - 800261e: 61fb str r3, [r7, #28] - 8002620: 69fb ldr r3, [r7, #28] - 8002622: 2b03 cmp r3, #3 - 8002624: d902 bls.n 800262c - 8002626: 69fb ldr r3, [r7, #28] - 8002628: 3b04 subs r3, #4 - 800262a: 61fb str r3, [r7, #28] + 800297a: 69fb ldr r3, [r7, #28] + 800297c: 3301 adds r3, #1 + 800297e: 61fb str r3, [r7, #28] + 8002980: 69fb ldr r3, [r7, #28] + 8002982: 2b03 cmp r3, #3 + 8002984: d902 bls.n 800298c + 8002986: 69fb ldr r3, [r7, #28] + 8002988: 3b04 subs r3, #4 + 800298a: 61fb str r3, [r7, #28] /* Get current descriptor address */ dmarxdesc = (ETH_DMADescTypeDef *)heth->RxDescList.RxDesc[descidx]; - 800262c: 687b ldr r3, [r7, #4] - 800262e: 69fa ldr r2, [r7, #28] - 8002630: 3212 adds r2, #18 - 8002632: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8002636: 61bb str r3, [r7, #24] + 800298c: 687b ldr r3, [r7, #4] + 800298e: 69fa ldr r2, [r7, #28] + 8002990: 3212 adds r2, #18 + 8002992: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8002996: 61bb str r3, [r7, #24] desccnt++; - 8002638: 697b ldr r3, [r7, #20] - 800263a: 3301 adds r3, #1 - 800263c: 617b str r3, [r7, #20] + 8002998: 697b ldr r3, [r7, #20] + 800299a: 3301 adds r3, #1 + 800299c: 617b str r3, [r7, #20] while ((READ_BIT(dmarxdesc->DESC0, ETH_DMARXDESC_OWN) == (uint32_t)RESET) && (desccnt < desccntmax) - 800263e: 69bb ldr r3, [r7, #24] - 8002640: 681b ldr r3, [r3, #0] + 800299e: 69bb ldr r3, [r7, #24] + 80029a0: 681b ldr r3, [r3, #0] && (rxdataready == 0U)) - 8002642: 2b00 cmp r3, #0 - 8002644: db06 blt.n 8002654 + 80029a2: 2b00 cmp r3, #0 + 80029a4: db06 blt.n 80029b4 while ((READ_BIT(dmarxdesc->DESC0, ETH_DMARXDESC_OWN) == (uint32_t)RESET) && (desccnt < desccntmax) - 8002646: 697a ldr r2, [r7, #20] - 8002648: 68bb ldr r3, [r7, #8] - 800264a: 429a cmp r2, r3 - 800264c: d202 bcs.n 8002654 + 80029a6: 697a ldr r2, [r7, #20] + 80029a8: 68bb ldr r3, [r7, #8] + 80029aa: 429a cmp r2, r3 + 80029ac: d202 bcs.n 80029b4 && (rxdataready == 0U)) - 800264e: 7bfb ldrb r3, [r7, #15] - 8002650: 2b00 cmp r3, #0 - 8002652: d089 beq.n 8002568 + 80029ae: 7bfb ldrb r3, [r7, #15] + 80029b0: 2b00 cmp r3, #0 + 80029b2: d089 beq.n 80028c8 } heth->RxDescList.RxBuildDescCnt += desccnt; - 8002654: 687b ldr r3, [r7, #4] - 8002656: 6eda ldr r2, [r3, #108] @ 0x6c - 8002658: 697b ldr r3, [r7, #20] - 800265a: 441a add r2, r3 - 800265c: 687b ldr r3, [r7, #4] - 800265e: 66da str r2, [r3, #108] @ 0x6c + 80029b4: 687b ldr r3, [r7, #4] + 80029b6: 6eda ldr r2, [r3, #108] @ 0x6c + 80029b8: 697b ldr r3, [r7, #20] + 80029ba: 441a add r2, r3 + 80029bc: 687b ldr r3, [r7, #4] + 80029be: 66da str r2, [r3, #108] @ 0x6c if ((heth->RxDescList.RxBuildDescCnt) != 0U) - 8002660: 687b ldr r3, [r7, #4] - 8002662: 6edb ldr r3, [r3, #108] @ 0x6c - 8002664: 2b00 cmp r3, #0 - 8002666: d002 beq.n 800266e + 80029c0: 687b ldr r3, [r7, #4] + 80029c2: 6edb ldr r3, [r3, #108] @ 0x6c + 80029c4: 2b00 cmp r3, #0 + 80029c6: d002 beq.n 80029ce { /* Update Descriptors */ ETH_UpdateDescriptor(heth); - 8002668: 6878 ldr r0, [r7, #4] - 800266a: f000 f815 bl 8002698 + 80029c8: 6878 ldr r0, [r7, #4] + 80029ca: f000 f815 bl 80029f8 } heth->RxDescList.RxDescIdx = descidx; - 800266e: 687b ldr r3, [r7, #4] - 8002670: 69fa ldr r2, [r7, #28] - 8002672: 65da str r2, [r3, #92] @ 0x5c + 80029ce: 687b ldr r3, [r7, #4] + 80029d0: 69fa ldr r2, [r7, #28] + 80029d2: 65da str r2, [r3, #92] @ 0x5c if (rxdataready == 1U) - 8002674: 7bfb ldrb r3, [r7, #15] - 8002676: 2b01 cmp r3, #1 - 8002678: d108 bne.n 800268c + 80029d4: 7bfb ldrb r3, [r7, #15] + 80029d6: 2b01 cmp r3, #1 + 80029d8: d108 bne.n 80029ec { /* Return received packet */ *pAppBuff = heth->RxDescList.pRxStart; - 800267a: 687b ldr r3, [r7, #4] - 800267c: 6fda ldr r2, [r3, #124] @ 0x7c - 800267e: 683b ldr r3, [r7, #0] - 8002680: 601a str r2, [r3, #0] + 80029da: 687b ldr r3, [r7, #4] + 80029dc: 6fda ldr r2, [r3, #124] @ 0x7c + 80029de: 683b ldr r3, [r7, #0] + 80029e0: 601a str r2, [r3, #0] /* Reset first element */ heth->RxDescList.pRxStart = NULL; - 8002682: 687b ldr r3, [r7, #4] - 8002684: 2200 movs r2, #0 - 8002686: 67da str r2, [r3, #124] @ 0x7c + 80029e2: 687b ldr r3, [r7, #4] + 80029e4: 2200 movs r2, #0 + 80029e6: 67da str r2, [r3, #124] @ 0x7c return HAL_OK; - 8002688: 2300 movs r3, #0 - 800268a: e000 b.n 800268e + 80029e8: 2300 movs r3, #0 + 80029ea: e000 b.n 80029ee } /* Packet not ready */ return HAL_ERROR; - 800268c: 2301 movs r3, #1 + 80029ec: 2301 movs r3, #1 } - 800268e: 4618 mov r0, r3 - 8002690: 3720 adds r7, #32 - 8002692: 46bd mov sp, r7 - 8002694: bd80 pop {r7, pc} + 80029ee: 4618 mov r0, r3 + 80029f0: 3720 adds r7, #32 + 80029f2: 46bd mov sp, r7 + 80029f4: bd80 pop {r7, pc} ... -08002698 : +080029f8 : * @param heth: pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval HAL status */ static void ETH_UpdateDescriptor(ETH_HandleTypeDef *heth) { - 8002698: b580 push {r7, lr} - 800269a: b088 sub sp, #32 - 800269c: af00 add r7, sp, #0 - 800269e: 6078 str r0, [r7, #4] + 80029f8: b580 push {r7, lr} + 80029fa: b088 sub sp, #32 + 80029fc: af00 add r7, sp, #0 + 80029fe: 6078 str r0, [r7, #4] uint32_t descidx; uint32_t desccount; ETH_DMADescTypeDef *dmarxdesc; uint8_t *buff = NULL; - 80026a0: 2300 movs r3, #0 - 80026a2: 60fb str r3, [r7, #12] + 8002a00: 2300 movs r3, #0 + 8002a02: 60fb str r3, [r7, #12] uint8_t allocStatus = 1U; - 80026a4: 2301 movs r3, #1 - 80026a6: 74fb strb r3, [r7, #19] + 8002a04: 2301 movs r3, #1 + 8002a06: 74fb strb r3, [r7, #19] descidx = heth->RxDescList.RxBuildDescIdx; - 80026a8: 687b ldr r3, [r7, #4] - 80026aa: 6e9b ldr r3, [r3, #104] @ 0x68 - 80026ac: 61fb str r3, [r7, #28] + 8002a08: 687b ldr r3, [r7, #4] + 8002a0a: 6e9b ldr r3, [r3, #104] @ 0x68 + 8002a0c: 61fb str r3, [r7, #28] dmarxdesc = (ETH_DMADescTypeDef *)heth->RxDescList.RxDesc[descidx]; - 80026ae: 687b ldr r3, [r7, #4] - 80026b0: 69fa ldr r2, [r7, #28] - 80026b2: 3212 adds r2, #18 - 80026b4: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 80026b8: 617b str r3, [r7, #20] + 8002a0e: 687b ldr r3, [r7, #4] + 8002a10: 69fa ldr r2, [r7, #28] + 8002a12: 3212 adds r2, #18 + 8002a14: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8002a18: 617b str r3, [r7, #20] desccount = heth->RxDescList.RxBuildDescCnt; - 80026ba: 687b ldr r3, [r7, #4] - 80026bc: 6edb ldr r3, [r3, #108] @ 0x6c - 80026be: 61bb str r3, [r7, #24] + 8002a1a: 687b ldr r3, [r7, #4] + 8002a1c: 6edb ldr r3, [r3, #108] @ 0x6c + 8002a1e: 61bb str r3, [r7, #24] while ((desccount > 0U) && (allocStatus != 0U)) - 80026c0: e040 b.n 8002744 + 8002a20: e040 b.n 8002aa4 { /* Check if a buffer's attached the descriptor */ if (READ_REG(dmarxdesc->BackupAddr0) == 0U) - 80026c2: 697b ldr r3, [r7, #20] - 80026c4: 6a1b ldr r3, [r3, #32] - 80026c6: 2b00 cmp r3, #0 - 80026c8: d112 bne.n 80026f0 + 8002a22: 697b ldr r3, [r7, #20] + 8002a24: 6a1b ldr r3, [r3, #32] + 8002a26: 2b00 cmp r3, #0 + 8002a28: d112 bne.n 8002a50 #if (USE_HAL_ETH_REGISTER_CALLBACKS == 1) /*Call registered Allocate callback*/ heth->rxAllocateCallback(&buff); #else /* Allocate callback */ HAL_ETH_RxAllocateCallback(&buff); - 80026ca: f107 030c add.w r3, r7, #12 - 80026ce: 4618 mov r0, r3 - 80026d0: f002 fdea bl 80052a8 + 8002a2a: f107 030c add.w r3, r7, #12 + 8002a2e: 4618 mov r0, r3 + 8002a30: f003 f8fc bl 8005c2c #endif /* USE_HAL_ETH_REGISTER_CALLBACKS */ if (buff == NULL) - 80026d4: 68fb ldr r3, [r7, #12] - 80026d6: 2b00 cmp r3, #0 - 80026d8: d102 bne.n 80026e0 + 8002a34: 68fb ldr r3, [r7, #12] + 8002a36: 2b00 cmp r3, #0 + 8002a38: d102 bne.n 8002a40 { allocStatus = 0U; - 80026da: 2300 movs r3, #0 - 80026dc: 74fb strb r3, [r7, #19] - 80026de: e007 b.n 80026f0 + 8002a3a: 2300 movs r3, #0 + 8002a3c: 74fb strb r3, [r7, #19] + 8002a3e: e007 b.n 8002a50 } else { WRITE_REG(dmarxdesc->BackupAddr0, (uint32_t)buff); - 80026e0: 68fb ldr r3, [r7, #12] - 80026e2: 461a mov r2, r3 - 80026e4: 697b ldr r3, [r7, #20] - 80026e6: 621a str r2, [r3, #32] + 8002a40: 68fb ldr r3, [r7, #12] + 8002a42: 461a mov r2, r3 + 8002a44: 697b ldr r3, [r7, #20] + 8002a46: 621a str r2, [r3, #32] WRITE_REG(dmarxdesc->DESC2, (uint32_t)buff); - 80026e8: 68fb ldr r3, [r7, #12] - 80026ea: 461a mov r2, r3 - 80026ec: 697b ldr r3, [r7, #20] - 80026ee: 609a str r2, [r3, #8] + 8002a48: 68fb ldr r3, [r7, #12] + 8002a4a: 461a mov r2, r3 + 8002a4c: 697b ldr r3, [r7, #20] + 8002a4e: 609a str r2, [r3, #8] } } if (allocStatus != 0U) - 80026f0: 7cfb ldrb r3, [r7, #19] - 80026f2: 2b00 cmp r3, #0 - 80026f4: d026 beq.n 8002744 + 8002a50: 7cfb ldrb r3, [r7, #19] + 8002a52: 2b00 cmp r3, #0 + 8002a54: d026 beq.n 8002aa4 { if (heth->RxDescList.ItMode == 0U) - 80026f6: 687b ldr r3, [r7, #4] - 80026f8: 6d9b ldr r3, [r3, #88] @ 0x58 - 80026fa: 2b00 cmp r3, #0 - 80026fc: d103 bne.n 8002706 + 8002a56: 687b ldr r3, [r7, #4] + 8002a58: 6d9b ldr r3, [r3, #88] @ 0x58 + 8002a5a: 2b00 cmp r3, #0 + 8002a5c: d103 bne.n 8002a66 { WRITE_REG(dmarxdesc->DESC1, ETH_DMARXDESC_DIC | ETH_RX_BUF_SIZE | ETH_DMARXDESC_RCH); - 80026fe: 697b ldr r3, [r7, #20] - 8002700: 4a1e ldr r2, [pc, #120] @ (800277c ) - 8002702: 605a str r2, [r3, #4] - 8002704: e003 b.n 800270e + 8002a5e: 697b ldr r3, [r7, #20] + 8002a60: 4a1e ldr r2, [pc, #120] @ (8002adc ) + 8002a62: 605a str r2, [r3, #4] + 8002a64: e003 b.n 8002a6e } else { WRITE_REG(dmarxdesc->DESC1, ETH_RX_BUF_SIZE | ETH_DMARXDESC_RCH); - 8002706: 697b ldr r3, [r7, #20] - 8002708: f244 52f8 movw r2, #17912 @ 0x45f8 - 800270c: 605a str r2, [r3, #4] + 8002a66: 697b ldr r3, [r7, #20] + 8002a68: f244 52f8 movw r2, #17912 @ 0x45f8 + 8002a6c: 605a str r2, [r3, #4] \details Ensures the apparent order of the explicit memory operations before and after the instruction, without ensuring their completion. */ __STATIC_FORCEINLINE void __DMB(void) { __ASM volatile ("dmb 0xF":::"memory"); - 800270e: f3bf 8f5f dmb sy + 8002a6e: f3bf 8f5f dmb sy } - 8002712: bf00 nop + 8002a72: bf00 nop is fully performed. The __DMB() instruction is added to avoid any potential compiler optimization that may lead to abnormal behavior. */ __DMB(); SET_BIT(dmarxdesc->DESC0, ETH_DMARXDESC_OWN); - 8002714: 697b ldr r3, [r7, #20] - 8002716: 681b ldr r3, [r3, #0] - 8002718: f043 4200 orr.w r2, r3, #2147483648 @ 0x80000000 - 800271c: 697b ldr r3, [r7, #20] - 800271e: 601a str r2, [r3, #0] + 8002a74: 697b ldr r3, [r7, #20] + 8002a76: 681b ldr r3, [r3, #0] + 8002a78: f043 4200 orr.w r2, r3, #2147483648 @ 0x80000000 + 8002a7c: 697b ldr r3, [r7, #20] + 8002a7e: 601a str r2, [r3, #0] /* Increment current rx descriptor index */ INCR_RX_DESC_INDEX(descidx, 1U); - 8002720: 69fb ldr r3, [r7, #28] - 8002722: 3301 adds r3, #1 - 8002724: 61fb str r3, [r7, #28] - 8002726: 69fb ldr r3, [r7, #28] - 8002728: 2b03 cmp r3, #3 - 800272a: d902 bls.n 8002732 - 800272c: 69fb ldr r3, [r7, #28] - 800272e: 3b04 subs r3, #4 - 8002730: 61fb str r3, [r7, #28] + 8002a80: 69fb ldr r3, [r7, #28] + 8002a82: 3301 adds r3, #1 + 8002a84: 61fb str r3, [r7, #28] + 8002a86: 69fb ldr r3, [r7, #28] + 8002a88: 2b03 cmp r3, #3 + 8002a8a: d902 bls.n 8002a92 + 8002a8c: 69fb ldr r3, [r7, #28] + 8002a8e: 3b04 subs r3, #4 + 8002a90: 61fb str r3, [r7, #28] /* Get current descriptor address */ dmarxdesc = (ETH_DMADescTypeDef *)heth->RxDescList.RxDesc[descidx]; - 8002732: 687b ldr r3, [r7, #4] - 8002734: 69fa ldr r2, [r7, #28] - 8002736: 3212 adds r2, #18 - 8002738: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800273c: 617b str r3, [r7, #20] + 8002a92: 687b ldr r3, [r7, #4] + 8002a94: 69fa ldr r2, [r7, #28] + 8002a96: 3212 adds r2, #18 + 8002a98: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8002a9c: 617b str r3, [r7, #20] desccount--; - 800273e: 69bb ldr r3, [r7, #24] - 8002740: 3b01 subs r3, #1 - 8002742: 61bb str r3, [r7, #24] + 8002a9e: 69bb ldr r3, [r7, #24] + 8002aa0: 3b01 subs r3, #1 + 8002aa2: 61bb str r3, [r7, #24] while ((desccount > 0U) && (allocStatus != 0U)) - 8002744: 69bb ldr r3, [r7, #24] - 8002746: 2b00 cmp r3, #0 - 8002748: d002 beq.n 8002750 - 800274a: 7cfb ldrb r3, [r7, #19] - 800274c: 2b00 cmp r3, #0 - 800274e: d1b8 bne.n 80026c2 + 8002aa4: 69bb ldr r3, [r7, #24] + 8002aa6: 2b00 cmp r3, #0 + 8002aa8: d002 beq.n 8002ab0 + 8002aaa: 7cfb ldrb r3, [r7, #19] + 8002aac: 2b00 cmp r3, #0 + 8002aae: d1b8 bne.n 8002a22 } } if (heth->RxDescList.RxBuildDescCnt != desccount) - 8002750: 687b ldr r3, [r7, #4] - 8002752: 6edb ldr r3, [r3, #108] @ 0x6c - 8002754: 69ba ldr r2, [r7, #24] - 8002756: 429a cmp r2, r3 - 8002758: d00c beq.n 8002774 + 8002ab0: 687b ldr r3, [r7, #4] + 8002ab2: 6edb ldr r3, [r3, #108] @ 0x6c + 8002ab4: 69ba ldr r2, [r7, #24] + 8002ab6: 429a cmp r2, r3 + 8002ab8: d00c beq.n 8002ad4 { /* Set the Tail pointer address */ WRITE_REG(heth->Instance->DMARPDR, 0); - 800275a: 687b ldr r3, [r7, #4] - 800275c: 681b ldr r3, [r3, #0] - 800275e: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002762: 461a mov r2, r3 - 8002764: 2300 movs r3, #0 - 8002766: 6093 str r3, [r2, #8] + 8002aba: 687b ldr r3, [r7, #4] + 8002abc: 681b ldr r3, [r3, #0] + 8002abe: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8002ac2: 461a mov r2, r3 + 8002ac4: 2300 movs r3, #0 + 8002ac6: 6093 str r3, [r2, #8] heth->RxDescList.RxBuildDescIdx = descidx; - 8002768: 687b ldr r3, [r7, #4] - 800276a: 69fa ldr r2, [r7, #28] - 800276c: 669a str r2, [r3, #104] @ 0x68 + 8002ac8: 687b ldr r3, [r7, #4] + 8002aca: 69fa ldr r2, [r7, #28] + 8002acc: 669a str r2, [r3, #104] @ 0x68 heth->RxDescList.RxBuildDescCnt = desccount; - 800276e: 687b ldr r3, [r7, #4] - 8002770: 69ba ldr r2, [r7, #24] - 8002772: 66da str r2, [r3, #108] @ 0x6c + 8002ace: 687b ldr r3, [r7, #4] + 8002ad0: 69ba ldr r2, [r7, #24] + 8002ad2: 66da str r2, [r3, #108] @ 0x6c } } - 8002774: bf00 nop - 8002776: 3720 adds r7, #32 - 8002778: 46bd mov sp, r7 - 800277a: bd80 pop {r7, pc} - 800277c: 800045f8 .word 0x800045f8 + 8002ad4: bf00 nop + 8002ad6: 3720 adds r7, #32 + 8002ad8: 46bd mov sp, r7 + 8002ada: bd80 pop {r7, pc} + 8002adc: 800045f8 .word 0x800045f8 -08002780 : +08002ae0 : * @param pRegValue: parameter to hold read value * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_ReadPHYRegister(ETH_HandleTypeDef *heth, uint32_t PHYAddr, uint32_t PHYReg, uint32_t *pRegValue) { - 8002780: b580 push {r7, lr} - 8002782: b086 sub sp, #24 - 8002784: af00 add r7, sp, #0 - 8002786: 60f8 str r0, [r7, #12] - 8002788: 60b9 str r1, [r7, #8] - 800278a: 607a str r2, [r7, #4] - 800278c: 603b str r3, [r7, #0] + 8002ae0: b580 push {r7, lr} + 8002ae2: b086 sub sp, #24 + 8002ae4: af00 add r7, sp, #0 + 8002ae6: 60f8 str r0, [r7, #12] + 8002ae8: 60b9 str r1, [r7, #8] + 8002aea: 607a str r2, [r7, #4] + 8002aec: 603b str r3, [r7, #0] uint32_t tmpreg1; uint32_t tickstart; /* Get the ETHERNET MACMIIAR value */ tmpreg1 = heth->Instance->MACMIIAR; - 800278e: 68fb ldr r3, [r7, #12] - 8002790: 681b ldr r3, [r3, #0] - 8002792: 691b ldr r3, [r3, #16] - 8002794: 617b str r3, [r7, #20] + 8002aee: 68fb ldr r3, [r7, #12] + 8002af0: 681b ldr r3, [r3, #0] + 8002af2: 691b ldr r3, [r3, #16] + 8002af4: 617b str r3, [r7, #20] /* Keep only the CSR Clock Range CR[2:0] bits value */ tmpreg1 &= ~ETH_MACMIIAR_CR_MASK; - 8002796: 697b ldr r3, [r7, #20] - 8002798: f003 031c and.w r3, r3, #28 - 800279c: 617b str r3, [r7, #20] + 8002af6: 697b ldr r3, [r7, #20] + 8002af8: f003 031c and.w r3, r3, #28 + 8002afc: 617b str r3, [r7, #20] /* Prepare the MII address register value */ tmpreg1 |= ((PHYAddr << 11U) & ETH_MACMIIAR_PA); /* Set the PHY device address */ - 800279e: 68bb ldr r3, [r7, #8] - 80027a0: 02db lsls r3, r3, #11 - 80027a2: b29b uxth r3, r3 - 80027a4: 697a ldr r2, [r7, #20] - 80027a6: 4313 orrs r3, r2 - 80027a8: 617b str r3, [r7, #20] + 8002afe: 68bb ldr r3, [r7, #8] + 8002b00: 02db lsls r3, r3, #11 + 8002b02: b29b uxth r3, r3 + 8002b04: 697a ldr r2, [r7, #20] + 8002b06: 4313 orrs r3, r2 + 8002b08: 617b str r3, [r7, #20] tmpreg1 |= (((uint32_t)PHYReg << 6U) & ETH_MACMIIAR_MR); /* Set the PHY register address */ - 80027aa: 687b ldr r3, [r7, #4] - 80027ac: 019b lsls r3, r3, #6 - 80027ae: f403 63f8 and.w r3, r3, #1984 @ 0x7c0 - 80027b2: 697a ldr r2, [r7, #20] - 80027b4: 4313 orrs r3, r2 - 80027b6: 617b str r3, [r7, #20] + 8002b0a: 687b ldr r3, [r7, #4] + 8002b0c: 019b lsls r3, r3, #6 + 8002b0e: f403 63f8 and.w r3, r3, #1984 @ 0x7c0 + 8002b12: 697a ldr r2, [r7, #20] + 8002b14: 4313 orrs r3, r2 + 8002b16: 617b str r3, [r7, #20] tmpreg1 &= ~ETH_MACMIIAR_MW; /* Set the read mode */ - 80027b8: 697b ldr r3, [r7, #20] - 80027ba: f023 0302 bic.w r3, r3, #2 - 80027be: 617b str r3, [r7, #20] + 8002b18: 697b ldr r3, [r7, #20] + 8002b1a: f023 0302 bic.w r3, r3, #2 + 8002b1e: 617b str r3, [r7, #20] tmpreg1 |= ETH_MACMIIAR_MB; /* Set the MII Busy bit */ - 80027c0: 697b ldr r3, [r7, #20] - 80027c2: f043 0301 orr.w r3, r3, #1 - 80027c6: 617b str r3, [r7, #20] + 8002b20: 697b ldr r3, [r7, #20] + 8002b22: f043 0301 orr.w r3, r3, #1 + 8002b26: 617b str r3, [r7, #20] /* Write the result value into the MII Address register */ heth->Instance->MACMIIAR = tmpreg1; - 80027c8: 68fb ldr r3, [r7, #12] - 80027ca: 681b ldr r3, [r3, #0] - 80027cc: 697a ldr r2, [r7, #20] - 80027ce: 611a str r2, [r3, #16] + 8002b28: 68fb ldr r3, [r7, #12] + 8002b2a: 681b ldr r3, [r3, #0] + 8002b2c: 697a ldr r2, [r7, #20] + 8002b2e: 611a str r2, [r3, #16] tickstart = HAL_GetTick(); - 80027d0: f7ff fb92 bl 8001ef8 - 80027d4: 6138 str r0, [r7, #16] + 8002b30: f7ff fb92 bl 8002258 + 8002b34: 6138 str r0, [r7, #16] /* Check for the Busy flag */ while ((tmpreg1 & ETH_MACMIIAR_MB) == ETH_MACMIIAR_MB) - 80027d6: e00d b.n 80027f4 + 8002b36: e00d b.n 8002b54 { /* Check for the Timeout */ if ((HAL_GetTick() - tickstart) > PHY_READ_TO) - 80027d8: f7ff fb8e bl 8001ef8 - 80027dc: 4602 mov r2, r0 - 80027de: 693b ldr r3, [r7, #16] - 80027e0: 1ad3 subs r3, r2, r3 - 80027e2: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 80027e6: d301 bcc.n 80027ec + 8002b38: f7ff fb8e bl 8002258 + 8002b3c: 4602 mov r2, r0 + 8002b3e: 693b ldr r3, [r7, #16] + 8002b40: 1ad3 subs r3, r2, r3 + 8002b42: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8002b46: d301 bcc.n 8002b4c { return HAL_ERROR; - 80027e8: 2301 movs r3, #1 - 80027ea: e010 b.n 800280e + 8002b48: 2301 movs r3, #1 + 8002b4a: e010 b.n 8002b6e } tmpreg1 = heth->Instance->MACMIIAR; - 80027ec: 68fb ldr r3, [r7, #12] - 80027ee: 681b ldr r3, [r3, #0] - 80027f0: 691b ldr r3, [r3, #16] - 80027f2: 617b str r3, [r7, #20] + 8002b4c: 68fb ldr r3, [r7, #12] + 8002b4e: 681b ldr r3, [r3, #0] + 8002b50: 691b ldr r3, [r3, #16] + 8002b52: 617b str r3, [r7, #20] while ((tmpreg1 & ETH_MACMIIAR_MB) == ETH_MACMIIAR_MB) - 80027f4: 697b ldr r3, [r7, #20] - 80027f6: f003 0301 and.w r3, r3, #1 - 80027fa: 2b00 cmp r3, #0 - 80027fc: d1ec bne.n 80027d8 + 8002b54: 697b ldr r3, [r7, #20] + 8002b56: f003 0301 and.w r3, r3, #1 + 8002b5a: 2b00 cmp r3, #0 + 8002b5c: d1ec bne.n 8002b38 } /* Get MACMIIDR value */ *pRegValue = (uint16_t)(heth->Instance->MACMIIDR); - 80027fe: 68fb ldr r3, [r7, #12] - 8002800: 681b ldr r3, [r3, #0] - 8002802: 695b ldr r3, [r3, #20] - 8002804: b29b uxth r3, r3 - 8002806: 461a mov r2, r3 - 8002808: 683b ldr r3, [r7, #0] - 800280a: 601a str r2, [r3, #0] + 8002b5e: 68fb ldr r3, [r7, #12] + 8002b60: 681b ldr r3, [r3, #0] + 8002b62: 695b ldr r3, [r3, #20] + 8002b64: b29b uxth r3, r3 + 8002b66: 461a mov r2, r3 + 8002b68: 683b ldr r3, [r7, #0] + 8002b6a: 601a str r2, [r3, #0] return HAL_OK; - 800280c: 2300 movs r3, #0 + 8002b6c: 2300 movs r3, #0 } - 800280e: 4618 mov r0, r3 - 8002810: 3718 adds r7, #24 - 8002812: 46bd mov sp, r7 - 8002814: bd80 pop {r7, pc} + 8002b6e: 4618 mov r0, r3 + 8002b70: 3718 adds r7, #24 + 8002b72: 46bd mov sp, r7 + 8002b74: bd80 pop {r7, pc} -08002816 : +08002b76 : * @param RegValue: the value to write * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_WritePHYRegister(ETH_HandleTypeDef *heth, uint32_t PHYAddr, uint32_t PHYReg, uint32_t RegValue) { - 8002816: b580 push {r7, lr} - 8002818: b086 sub sp, #24 - 800281a: af00 add r7, sp, #0 - 800281c: 60f8 str r0, [r7, #12] - 800281e: 60b9 str r1, [r7, #8] - 8002820: 607a str r2, [r7, #4] - 8002822: 603b str r3, [r7, #0] + 8002b76: b580 push {r7, lr} + 8002b78: b086 sub sp, #24 + 8002b7a: af00 add r7, sp, #0 + 8002b7c: 60f8 str r0, [r7, #12] + 8002b7e: 60b9 str r1, [r7, #8] + 8002b80: 607a str r2, [r7, #4] + 8002b82: 603b str r3, [r7, #0] uint32_t tmpreg1; uint32_t tickstart; /* Get the ETHERNET MACMIIAR value */ tmpreg1 = heth->Instance->MACMIIAR; - 8002824: 68fb ldr r3, [r7, #12] - 8002826: 681b ldr r3, [r3, #0] - 8002828: 691b ldr r3, [r3, #16] - 800282a: 617b str r3, [r7, #20] + 8002b84: 68fb ldr r3, [r7, #12] + 8002b86: 681b ldr r3, [r3, #0] + 8002b88: 691b ldr r3, [r3, #16] + 8002b8a: 617b str r3, [r7, #20] /* Keep only the CSR Clock Range CR[2:0] bits value */ tmpreg1 &= ~ETH_MACMIIAR_CR_MASK; - 800282c: 697b ldr r3, [r7, #20] - 800282e: f003 031c and.w r3, r3, #28 - 8002832: 617b str r3, [r7, #20] + 8002b8c: 697b ldr r3, [r7, #20] + 8002b8e: f003 031c and.w r3, r3, #28 + 8002b92: 617b str r3, [r7, #20] /* Prepare the MII register address value */ tmpreg1 |= ((PHYAddr << 11U) & ETH_MACMIIAR_PA); /* Set the PHY device address */ - 8002834: 68bb ldr r3, [r7, #8] - 8002836: 02db lsls r3, r3, #11 - 8002838: b29b uxth r3, r3 - 800283a: 697a ldr r2, [r7, #20] - 800283c: 4313 orrs r3, r2 - 800283e: 617b str r3, [r7, #20] + 8002b94: 68bb ldr r3, [r7, #8] + 8002b96: 02db lsls r3, r3, #11 + 8002b98: b29b uxth r3, r3 + 8002b9a: 697a ldr r2, [r7, #20] + 8002b9c: 4313 orrs r3, r2 + 8002b9e: 617b str r3, [r7, #20] tmpreg1 |= (((uint32_t)PHYReg << 6U) & ETH_MACMIIAR_MR); /* Set the PHY register address */ - 8002840: 687b ldr r3, [r7, #4] - 8002842: 019b lsls r3, r3, #6 - 8002844: f403 63f8 and.w r3, r3, #1984 @ 0x7c0 - 8002848: 697a ldr r2, [r7, #20] - 800284a: 4313 orrs r3, r2 - 800284c: 617b str r3, [r7, #20] + 8002ba0: 687b ldr r3, [r7, #4] + 8002ba2: 019b lsls r3, r3, #6 + 8002ba4: f403 63f8 and.w r3, r3, #1984 @ 0x7c0 + 8002ba8: 697a ldr r2, [r7, #20] + 8002baa: 4313 orrs r3, r2 + 8002bac: 617b str r3, [r7, #20] tmpreg1 |= ETH_MACMIIAR_MW; /* Set the write mode */ - 800284e: 697b ldr r3, [r7, #20] - 8002850: f043 0302 orr.w r3, r3, #2 - 8002854: 617b str r3, [r7, #20] + 8002bae: 697b ldr r3, [r7, #20] + 8002bb0: f043 0302 orr.w r3, r3, #2 + 8002bb4: 617b str r3, [r7, #20] tmpreg1 |= ETH_MACMIIAR_MB; /* Set the MII Busy bit */ - 8002856: 697b ldr r3, [r7, #20] - 8002858: f043 0301 orr.w r3, r3, #1 - 800285c: 617b str r3, [r7, #20] + 8002bb6: 697b ldr r3, [r7, #20] + 8002bb8: f043 0301 orr.w r3, r3, #1 + 8002bbc: 617b str r3, [r7, #20] /* Give the value to the MII data register */ heth->Instance->MACMIIDR = (uint16_t)RegValue; - 800285e: 683b ldr r3, [r7, #0] - 8002860: b29a uxth r2, r3 - 8002862: 68fb ldr r3, [r7, #12] - 8002864: 681b ldr r3, [r3, #0] - 8002866: 615a str r2, [r3, #20] + 8002bbe: 683b ldr r3, [r7, #0] + 8002bc0: b29a uxth r2, r3 + 8002bc2: 68fb ldr r3, [r7, #12] + 8002bc4: 681b ldr r3, [r3, #0] + 8002bc6: 615a str r2, [r3, #20] /* Write the result value into the MII Address register */ heth->Instance->MACMIIAR = tmpreg1; - 8002868: 68fb ldr r3, [r7, #12] - 800286a: 681b ldr r3, [r3, #0] - 800286c: 697a ldr r2, [r7, #20] - 800286e: 611a str r2, [r3, #16] + 8002bc8: 68fb ldr r3, [r7, #12] + 8002bca: 681b ldr r3, [r3, #0] + 8002bcc: 697a ldr r2, [r7, #20] + 8002bce: 611a str r2, [r3, #16] /* Get tick */ tickstart = HAL_GetTick(); - 8002870: f7ff fb42 bl 8001ef8 - 8002874: 6138 str r0, [r7, #16] + 8002bd0: f7ff fb42 bl 8002258 + 8002bd4: 6138 str r0, [r7, #16] /* Check for the Busy flag */ while ((tmpreg1 & ETH_MACMIIAR_MB) == ETH_MACMIIAR_MB) - 8002876: e00d b.n 8002894 + 8002bd6: e00d b.n 8002bf4 { /* Check for the Timeout */ if ((HAL_GetTick() - tickstart) > PHY_WRITE_TO) - 8002878: f7ff fb3e bl 8001ef8 - 800287c: 4602 mov r2, r0 - 800287e: 693b ldr r3, [r7, #16] - 8002880: 1ad3 subs r3, r2, r3 - 8002882: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8002886: d301 bcc.n 800288c + 8002bd8: f7ff fb3e bl 8002258 + 8002bdc: 4602 mov r2, r0 + 8002bde: 693b ldr r3, [r7, #16] + 8002be0: 1ad3 subs r3, r2, r3 + 8002be2: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8002be6: d301 bcc.n 8002bec { return HAL_ERROR; - 8002888: 2301 movs r3, #1 - 800288a: e009 b.n 80028a0 + 8002be8: 2301 movs r3, #1 + 8002bea: e009 b.n 8002c00 } tmpreg1 = heth->Instance->MACMIIAR; - 800288c: 68fb ldr r3, [r7, #12] - 800288e: 681b ldr r3, [r3, #0] - 8002890: 691b ldr r3, [r3, #16] - 8002892: 617b str r3, [r7, #20] + 8002bec: 68fb ldr r3, [r7, #12] + 8002bee: 681b ldr r3, [r3, #0] + 8002bf0: 691b ldr r3, [r3, #16] + 8002bf2: 617b str r3, [r7, #20] while ((tmpreg1 & ETH_MACMIIAR_MB) == ETH_MACMIIAR_MB) - 8002894: 697b ldr r3, [r7, #20] - 8002896: f003 0301 and.w r3, r3, #1 - 800289a: 2b00 cmp r3, #0 - 800289c: d1ec bne.n 8002878 + 8002bf4: 697b ldr r3, [r7, #20] + 8002bf6: f003 0301 and.w r3, r3, #1 + 8002bfa: 2b00 cmp r3, #0 + 8002bfc: d1ec bne.n 8002bd8 } return HAL_OK; - 800289e: 2300 movs r3, #0 + 8002bfe: 2300 movs r3, #0 } - 80028a0: 4618 mov r0, r3 - 80028a2: 3718 adds r7, #24 - 80028a4: 46bd mov sp, r7 - 80028a6: bd80 pop {r7, pc} + 8002c00: 4618 mov r0, r3 + 8002c02: 3718 adds r7, #24 + 8002c04: 46bd mov sp, r7 + 8002c06: bd80 pop {r7, pc} -080028a8 : +08002c08 : * @param macconf: pointer to a ETH_MACConfigTypeDef structure that will hold * the configuration of the MAC. * @retval HAL Status */ HAL_StatusTypeDef HAL_ETH_GetMACConfig(ETH_HandleTypeDef *heth, ETH_MACConfigTypeDef *macconf) { - 80028a8: b480 push {r7} - 80028aa: b083 sub sp, #12 - 80028ac: af00 add r7, sp, #0 - 80028ae: 6078 str r0, [r7, #4] - 80028b0: 6039 str r1, [r7, #0] + 8002c08: b480 push {r7} + 8002c0a: b083 sub sp, #12 + 8002c0c: af00 add r7, sp, #0 + 8002c0e: 6078 str r0, [r7, #4] + 8002c10: 6039 str r1, [r7, #0] if (macconf == NULL) - 80028b2: 683b ldr r3, [r7, #0] - 80028b4: 2b00 cmp r3, #0 - 80028b6: d101 bne.n 80028bc + 8002c12: 683b ldr r3, [r7, #0] + 8002c14: 2b00 cmp r3, #0 + 8002c16: d101 bne.n 8002c1c { return HAL_ERROR; - 80028b8: 2301 movs r3, #1 - 80028ba: e0d9 b.n 8002a70 + 8002c18: 2301 movs r3, #1 + 8002c1a: e0d9 b.n 8002dd0 } /* Get MAC parameters */ macconf->DeferralCheck = ((READ_BIT(heth->Instance->MACCR, ETH_MACCR_DC) >> 4) > 0U) ? ENABLE : DISABLE; - 80028bc: 687b ldr r3, [r7, #4] - 80028be: 681b ldr r3, [r3, #0] - 80028c0: 681b ldr r3, [r3, #0] - 80028c2: f003 0310 and.w r3, r3, #16 - 80028c6: 2b00 cmp r3, #0 - 80028c8: bf14 ite ne - 80028ca: 2301 movne r3, #1 - 80028cc: 2300 moveq r3, #0 - 80028ce: b2db uxtb r3, r3 - 80028d0: 461a mov r2, r3 - 80028d2: 683b ldr r3, [r7, #0] - 80028d4: f883 2028 strb.w r2, [r3, #40] @ 0x28 + 8002c1c: 687b ldr r3, [r7, #4] + 8002c1e: 681b ldr r3, [r3, #0] + 8002c20: 681b ldr r3, [r3, #0] + 8002c22: f003 0310 and.w r3, r3, #16 + 8002c26: 2b00 cmp r3, #0 + 8002c28: bf14 ite ne + 8002c2a: 2301 movne r3, #1 + 8002c2c: 2300 moveq r3, #0 + 8002c2e: b2db uxtb r3, r3 + 8002c30: 461a mov r2, r3 + 8002c32: 683b ldr r3, [r7, #0] + 8002c34: f883 2028 strb.w r2, [r3, #40] @ 0x28 macconf->BackOffLimit = READ_BIT(heth->Instance->MACCR, ETH_MACCR_BL); - 80028d8: 687b ldr r3, [r7, #4] - 80028da: 681b ldr r3, [r3, #0] - 80028dc: 681b ldr r3, [r3, #0] - 80028de: f003 0260 and.w r2, r3, #96 @ 0x60 - 80028e2: 683b ldr r3, [r7, #0] - 80028e4: 625a str r2, [r3, #36] @ 0x24 + 8002c38: 687b ldr r3, [r7, #4] + 8002c3a: 681b ldr r3, [r3, #0] + 8002c3c: 681b ldr r3, [r3, #0] + 8002c3e: f003 0260 and.w r2, r3, #96 @ 0x60 + 8002c42: 683b ldr r3, [r7, #0] + 8002c44: 625a str r2, [r3, #36] @ 0x24 macconf->RetryTransmission = ((READ_BIT(heth->Instance->MACCR, ETH_MACCR_RD) >> 9) == 0U) ? ENABLE : DISABLE; - 80028e6: 687b ldr r3, [r7, #4] - 80028e8: 681b ldr r3, [r3, #0] - 80028ea: 681b ldr r3, [r3, #0] - 80028ec: f403 7300 and.w r3, r3, #512 @ 0x200 - 80028f0: 2b00 cmp r3, #0 - 80028f2: bf0c ite eq - 80028f4: 2301 moveq r3, #1 - 80028f6: 2300 movne r3, #0 - 80028f8: b2db uxtb r3, r3 - 80028fa: 461a mov r2, r3 - 80028fc: 683b ldr r3, [r7, #0] - 80028fe: f883 2020 strb.w r2, [r3, #32] + 8002c46: 687b ldr r3, [r7, #4] + 8002c48: 681b ldr r3, [r3, #0] + 8002c4a: 681b ldr r3, [r3, #0] + 8002c4c: f403 7300 and.w r3, r3, #512 @ 0x200 + 8002c50: 2b00 cmp r3, #0 + 8002c52: bf0c ite eq + 8002c54: 2301 moveq r3, #1 + 8002c56: 2300 movne r3, #0 + 8002c58: b2db uxtb r3, r3 + 8002c5a: 461a mov r2, r3 + 8002c5c: 683b ldr r3, [r7, #0] + 8002c5e: f883 2020 strb.w r2, [r3, #32] macconf->CarrierSenseDuringTransmit = ((READ_BIT(heth->Instance->MACCR, ETH_MACCR_CSD) >> 16) > 0U) - 8002902: 687b ldr r3, [r7, #4] - 8002904: 681b ldr r3, [r3, #0] - 8002906: 681b ldr r3, [r3, #0] - 8002908: f403 3380 and.w r3, r3, #65536 @ 0x10000 + 8002c62: 687b ldr r3, [r7, #4] + 8002c64: 681b ldr r3, [r3, #0] + 8002c66: 681b ldr r3, [r3, #0] + 8002c68: f403 3380 and.w r3, r3, #65536 @ 0x10000 ? ENABLE : DISABLE; - 800290c: 2b00 cmp r3, #0 - 800290e: bf14 ite ne - 8002910: 2301 movne r3, #1 - 8002912: 2300 moveq r3, #0 - 8002914: b2db uxtb r3, r3 - 8002916: 461a mov r2, r3 + 8002c6c: 2b00 cmp r3, #0 + 8002c6e: bf14 ite ne + 8002c70: 2301 movne r3, #1 + 8002c72: 2300 moveq r3, #0 + 8002c74: b2db uxtb r3, r3 + 8002c76: 461a mov r2, r3 macconf->CarrierSenseDuringTransmit = ((READ_BIT(heth->Instance->MACCR, ETH_MACCR_CSD) >> 16) > 0U) - 8002918: 683b ldr r3, [r7, #0] - 800291a: 77da strb r2, [r3, #31] + 8002c78: 683b ldr r3, [r7, #0] + 8002c7a: 77da strb r2, [r3, #31] macconf->ReceiveOwn = ((READ_BIT(heth->Instance->MACCR, ETH_MACCR_ROD) >> 13) == 0U) ? ENABLE : DISABLE; - 800291c: 687b ldr r3, [r7, #4] - 800291e: 681b ldr r3, [r3, #0] - 8002920: 681b ldr r3, [r3, #0] - 8002922: f403 5300 and.w r3, r3, #8192 @ 0x2000 - 8002926: 2b00 cmp r3, #0 - 8002928: bf0c ite eq - 800292a: 2301 moveq r3, #1 - 800292c: 2300 movne r3, #0 - 800292e: b2db uxtb r3, r3 - 8002930: 461a mov r2, r3 - 8002932: 683b ldr r3, [r7, #0] - 8002934: 779a strb r2, [r3, #30] + 8002c7c: 687b ldr r3, [r7, #4] + 8002c7e: 681b ldr r3, [r3, #0] + 8002c80: 681b ldr r3, [r3, #0] + 8002c82: f403 5300 and.w r3, r3, #8192 @ 0x2000 + 8002c86: 2b00 cmp r3, #0 + 8002c88: bf0c ite eq + 8002c8a: 2301 moveq r3, #1 + 8002c8c: 2300 movne r3, #0 + 8002c8e: b2db uxtb r3, r3 + 8002c90: 461a mov r2, r3 + 8002c92: 683b ldr r3, [r7, #0] + 8002c94: 779a strb r2, [r3, #30] macconf->LoopbackMode = ((READ_BIT(heth->Instance->MACCR, ETH_MACCR_LM) >> 12) > 0U) ? ENABLE : DISABLE; - 8002936: 687b ldr r3, [r7, #4] - 8002938: 681b ldr r3, [r3, #0] - 800293a: 681b ldr r3, [r3, #0] - 800293c: f403 5380 and.w r3, r3, #4096 @ 0x1000 - 8002940: 2b00 cmp r3, #0 - 8002942: bf14 ite ne - 8002944: 2301 movne r3, #1 - 8002946: 2300 moveq r3, #0 - 8002948: b2db uxtb r3, r3 - 800294a: 461a mov r2, r3 - 800294c: 683b ldr r3, [r7, #0] - 800294e: 771a strb r2, [r3, #28] + 8002c96: 687b ldr r3, [r7, #4] + 8002c98: 681b ldr r3, [r3, #0] + 8002c9a: 681b ldr r3, [r3, #0] + 8002c9c: f403 5380 and.w r3, r3, #4096 @ 0x1000 + 8002ca0: 2b00 cmp r3, #0 + 8002ca2: bf14 ite ne + 8002ca4: 2301 movne r3, #1 + 8002ca6: 2300 moveq r3, #0 + 8002ca8: b2db uxtb r3, r3 + 8002caa: 461a mov r2, r3 + 8002cac: 683b ldr r3, [r7, #0] + 8002cae: 771a strb r2, [r3, #28] macconf->DuplexMode = READ_BIT(heth->Instance->MACCR, ETH_MACCR_DM); - 8002950: 687b ldr r3, [r7, #4] - 8002952: 681b ldr r3, [r3, #0] - 8002954: 681b ldr r3, [r3, #0] - 8002956: f403 6200 and.w r2, r3, #2048 @ 0x800 - 800295a: 683b ldr r3, [r7, #0] - 800295c: 619a str r2, [r3, #24] + 8002cb0: 687b ldr r3, [r7, #4] + 8002cb2: 681b ldr r3, [r3, #0] + 8002cb4: 681b ldr r3, [r3, #0] + 8002cb6: f403 6200 and.w r2, r3, #2048 @ 0x800 + 8002cba: 683b ldr r3, [r7, #0] + 8002cbc: 619a str r2, [r3, #24] macconf->Speed = READ_BIT(heth->Instance->MACCR, ETH_MACCR_FES); - 800295e: 687b ldr r3, [r7, #4] - 8002960: 681b ldr r3, [r3, #0] - 8002962: 681b ldr r3, [r3, #0] - 8002964: f403 4280 and.w r2, r3, #16384 @ 0x4000 - 8002968: 683b ldr r3, [r7, #0] - 800296a: 615a str r2, [r3, #20] + 8002cbe: 687b ldr r3, [r7, #4] + 8002cc0: 681b ldr r3, [r3, #0] + 8002cc2: 681b ldr r3, [r3, #0] + 8002cc4: f403 4280 and.w r2, r3, #16384 @ 0x4000 + 8002cc8: 683b ldr r3, [r7, #0] + 8002cca: 615a str r2, [r3, #20] macconf->Jabber = ((READ_BIT(heth->Instance->MACCR, ETH_MACCR_JD) >> 22) == 0U) ? ENABLE : DISABLE; - 800296c: 687b ldr r3, [r7, #4] - 800296e: 681b ldr r3, [r3, #0] - 8002970: 681b ldr r3, [r3, #0] - 8002972: f403 0380 and.w r3, r3, #4194304 @ 0x400000 - 8002976: 2b00 cmp r3, #0 - 8002978: bf0c ite eq - 800297a: 2301 moveq r3, #1 - 800297c: 2300 movne r3, #0 - 800297e: b2db uxtb r3, r3 - 8002980: 461a mov r2, r3 - 8002982: 683b ldr r3, [r7, #0] - 8002984: 745a strb r2, [r3, #17] + 8002ccc: 687b ldr r3, [r7, #4] + 8002cce: 681b ldr r3, [r3, #0] + 8002cd0: 681b ldr r3, [r3, #0] + 8002cd2: f403 0380 and.w r3, r3, #4194304 @ 0x400000 + 8002cd6: 2b00 cmp r3, #0 + 8002cd8: bf0c ite eq + 8002cda: 2301 moveq r3, #1 + 8002cdc: 2300 movne r3, #0 + 8002cde: b2db uxtb r3, r3 + 8002ce0: 461a mov r2, r3 + 8002ce2: 683b ldr r3, [r7, #0] + 8002ce4: 745a strb r2, [r3, #17] macconf->Watchdog = ((READ_BIT(heth->Instance->MACCR, ETH_MACCR_WD) >> 23) == 0U) ? ENABLE : DISABLE; - 8002986: 687b ldr r3, [r7, #4] - 8002988: 681b ldr r3, [r3, #0] - 800298a: 681b ldr r3, [r3, #0] - 800298c: f403 0300 and.w r3, r3, #8388608 @ 0x800000 - 8002990: 2b00 cmp r3, #0 - 8002992: bf0c ite eq - 8002994: 2301 moveq r3, #1 - 8002996: 2300 movne r3, #0 - 8002998: b2db uxtb r3, r3 - 800299a: 461a mov r2, r3 - 800299c: 683b ldr r3, [r7, #0] - 800299e: 741a strb r2, [r3, #16] + 8002ce6: 687b ldr r3, [r7, #4] + 8002ce8: 681b ldr r3, [r3, #0] + 8002cea: 681b ldr r3, [r3, #0] + 8002cec: f403 0300 and.w r3, r3, #8388608 @ 0x800000 + 8002cf0: 2b00 cmp r3, #0 + 8002cf2: bf0c ite eq + 8002cf4: 2301 moveq r3, #1 + 8002cf6: 2300 movne r3, #0 + 8002cf8: b2db uxtb r3, r3 + 8002cfa: 461a mov r2, r3 + 8002cfc: 683b ldr r3, [r7, #0] + 8002cfe: 741a strb r2, [r3, #16] macconf->AutomaticPadCRCStrip = ((READ_BIT(heth->Instance->MACCR, ETH_MACCR_APCS) >> 7) > 0U) ? ENABLE : DISABLE; - 80029a0: 687b ldr r3, [r7, #4] - 80029a2: 681b ldr r3, [r3, #0] - 80029a4: 681b ldr r3, [r3, #0] - 80029a6: f003 0380 and.w r3, r3, #128 @ 0x80 - 80029aa: 2b00 cmp r3, #0 - 80029ac: bf14 ite ne - 80029ae: 2301 movne r3, #1 - 80029b0: 2300 moveq r3, #0 - 80029b2: b2db uxtb r3, r3 - 80029b4: 461a mov r2, r3 - 80029b6: 683b ldr r3, [r7, #0] - 80029b8: 73da strb r2, [r3, #15] + 8002d00: 687b ldr r3, [r7, #4] + 8002d02: 681b ldr r3, [r3, #0] + 8002d04: 681b ldr r3, [r3, #0] + 8002d06: f003 0380 and.w r3, r3, #128 @ 0x80 + 8002d0a: 2b00 cmp r3, #0 + 8002d0c: bf14 ite ne + 8002d0e: 2301 movne r3, #1 + 8002d10: 2300 moveq r3, #0 + 8002d12: b2db uxtb r3, r3 + 8002d14: 461a mov r2, r3 + 8002d16: 683b ldr r3, [r7, #0] + 8002d18: 73da strb r2, [r3, #15] macconf->InterPacketGapVal = READ_BIT(heth->Instance->MACCR, ETH_MACCR_IFG); - 80029ba: 687b ldr r3, [r7, #4] - 80029bc: 681b ldr r3, [r3, #0] - 80029be: 681b ldr r3, [r3, #0] - 80029c0: f403 2260 and.w r2, r3, #917504 @ 0xe0000 - 80029c4: 683b ldr r3, [r7, #0] - 80029c6: 609a str r2, [r3, #8] + 8002d1a: 687b ldr r3, [r7, #4] + 8002d1c: 681b ldr r3, [r3, #0] + 8002d1e: 681b ldr r3, [r3, #0] + 8002d20: f403 2260 and.w r2, r3, #917504 @ 0xe0000 + 8002d24: 683b ldr r3, [r7, #0] + 8002d26: 609a str r2, [r3, #8] macconf->ChecksumOffload = ((READ_BIT(heth->Instance->MACCR, ETH_MACCR_IPCO) >> 10U) > 0U) ? ENABLE : DISABLE; - 80029c8: 687b ldr r3, [r7, #4] - 80029ca: 681b ldr r3, [r3, #0] - 80029cc: 681b ldr r3, [r3, #0] - 80029ce: f403 6380 and.w r3, r3, #1024 @ 0x400 - 80029d2: 2b00 cmp r3, #0 - 80029d4: bf14 ite ne - 80029d6: 2301 movne r3, #1 - 80029d8: 2300 moveq r3, #0 - 80029da: b2db uxtb r3, r3 - 80029dc: 461a mov r2, r3 - 80029de: 683b ldr r3, [r7, #0] - 80029e0: 711a strb r2, [r3, #4] + 8002d28: 687b ldr r3, [r7, #4] + 8002d2a: 681b ldr r3, [r3, #0] + 8002d2c: 681b ldr r3, [r3, #0] + 8002d2e: f403 6380 and.w r3, r3, #1024 @ 0x400 + 8002d32: 2b00 cmp r3, #0 + 8002d34: bf14 ite ne + 8002d36: 2301 movne r3, #1 + 8002d38: 2300 moveq r3, #0 + 8002d3a: b2db uxtb r3, r3 + 8002d3c: 461a mov r2, r3 + 8002d3e: 683b ldr r3, [r7, #0] + 8002d40: 711a strb r2, [r3, #4] macconf->TransmitFlowControl = ((READ_BIT(heth->Instance->MACFCR, ETH_MACFCR_TFCE) >> 1) > 0U) ? ENABLE : DISABLE; - 80029e2: 687b ldr r3, [r7, #4] - 80029e4: 681b ldr r3, [r3, #0] - 80029e6: 699b ldr r3, [r3, #24] - 80029e8: f003 0302 and.w r3, r3, #2 - 80029ec: 2b00 cmp r3, #0 - 80029ee: bf14 ite ne - 80029f0: 2301 movne r3, #1 - 80029f2: 2300 moveq r3, #0 - 80029f4: b2db uxtb r3, r3 - 80029f6: 461a mov r2, r3 - 80029f8: 683b ldr r3, [r7, #0] - 80029fa: f883 2054 strb.w r2, [r3, #84] @ 0x54 + 8002d42: 687b ldr r3, [r7, #4] + 8002d44: 681b ldr r3, [r3, #0] + 8002d46: 699b ldr r3, [r3, #24] + 8002d48: f003 0302 and.w r3, r3, #2 + 8002d4c: 2b00 cmp r3, #0 + 8002d4e: bf14 ite ne + 8002d50: 2301 movne r3, #1 + 8002d52: 2300 moveq r3, #0 + 8002d54: b2db uxtb r3, r3 + 8002d56: 461a mov r2, r3 + 8002d58: 683b ldr r3, [r7, #0] + 8002d5a: f883 2054 strb.w r2, [r3, #84] @ 0x54 macconf->ZeroQuantaPause = ((READ_BIT(heth->Instance->MACFCR, ETH_MACFCR_ZQPD) >> 7) == 0U) ? ENABLE : DISABLE; - 80029fe: 687b ldr r3, [r7, #4] - 8002a00: 681b ldr r3, [r3, #0] - 8002a02: 699b ldr r3, [r3, #24] - 8002a04: f003 0380 and.w r3, r3, #128 @ 0x80 - 8002a08: 2b00 cmp r3, #0 - 8002a0a: bf0c ite eq - 8002a0c: 2301 moveq r3, #1 - 8002a0e: 2300 movne r3, #0 - 8002a10: b2db uxtb r3, r3 - 8002a12: 461a mov r2, r3 - 8002a14: 683b ldr r3, [r7, #0] - 8002a16: f883 204c strb.w r2, [r3, #76] @ 0x4c + 8002d5e: 687b ldr r3, [r7, #4] + 8002d60: 681b ldr r3, [r3, #0] + 8002d62: 699b ldr r3, [r3, #24] + 8002d64: f003 0380 and.w r3, r3, #128 @ 0x80 + 8002d68: 2b00 cmp r3, #0 + 8002d6a: bf0c ite eq + 8002d6c: 2301 moveq r3, #1 + 8002d6e: 2300 movne r3, #0 + 8002d70: b2db uxtb r3, r3 + 8002d72: 461a mov r2, r3 + 8002d74: 683b ldr r3, [r7, #0] + 8002d76: f883 204c strb.w r2, [r3, #76] @ 0x4c macconf->PauseLowThreshold = READ_BIT(heth->Instance->MACFCR, ETH_MACFCR_PLT); - 8002a1a: 687b ldr r3, [r7, #4] - 8002a1c: 681b ldr r3, [r3, #0] - 8002a1e: 699b ldr r3, [r3, #24] - 8002a20: f003 0230 and.w r2, r3, #48 @ 0x30 - 8002a24: 683b ldr r3, [r7, #0] - 8002a26: 651a str r2, [r3, #80] @ 0x50 + 8002d7a: 687b ldr r3, [r7, #4] + 8002d7c: 681b ldr r3, [r3, #0] + 8002d7e: 699b ldr r3, [r3, #24] + 8002d80: f003 0230 and.w r2, r3, #48 @ 0x30 + 8002d84: 683b ldr r3, [r7, #0] + 8002d86: 651a str r2, [r3, #80] @ 0x50 macconf->PauseTime = (READ_BIT(heth->Instance->MACFCR, ETH_MACFCR_PT) >> 16); - 8002a28: 687b ldr r3, [r7, #4] - 8002a2a: 681b ldr r3, [r3, #0] - 8002a2c: 699b ldr r3, [r3, #24] - 8002a2e: 0c1b lsrs r3, r3, #16 - 8002a30: b29a uxth r2, r3 - 8002a32: 683b ldr r3, [r7, #0] - 8002a34: 649a str r2, [r3, #72] @ 0x48 + 8002d88: 687b ldr r3, [r7, #4] + 8002d8a: 681b ldr r3, [r3, #0] + 8002d8c: 699b ldr r3, [r3, #24] + 8002d8e: 0c1b lsrs r3, r3, #16 + 8002d90: b29a uxth r2, r3 + 8002d92: 683b ldr r3, [r7, #0] + 8002d94: 649a str r2, [r3, #72] @ 0x48 macconf->ReceiveFlowControl = ((READ_BIT(heth->Instance->MACFCR, ETH_MACFCR_RFCE) >> 2U) > 0U) ? ENABLE : DISABLE; - 8002a36: 687b ldr r3, [r7, #4] - 8002a38: 681b ldr r3, [r3, #0] - 8002a3a: 699b ldr r3, [r3, #24] - 8002a3c: f003 0304 and.w r3, r3, #4 - 8002a40: 2b00 cmp r3, #0 - 8002a42: bf14 ite ne - 8002a44: 2301 movne r3, #1 - 8002a46: 2300 moveq r3, #0 - 8002a48: b2db uxtb r3, r3 - 8002a4a: 461a mov r2, r3 - 8002a4c: 683b ldr r3, [r7, #0] - 8002a4e: f883 2056 strb.w r2, [r3, #86] @ 0x56 + 8002d96: 687b ldr r3, [r7, #4] + 8002d98: 681b ldr r3, [r3, #0] + 8002d9a: 699b ldr r3, [r3, #24] + 8002d9c: f003 0304 and.w r3, r3, #4 + 8002da0: 2b00 cmp r3, #0 + 8002da2: bf14 ite ne + 8002da4: 2301 movne r3, #1 + 8002da6: 2300 moveq r3, #0 + 8002da8: b2db uxtb r3, r3 + 8002daa: 461a mov r2, r3 + 8002dac: 683b ldr r3, [r7, #0] + 8002dae: f883 2056 strb.w r2, [r3, #86] @ 0x56 macconf->UnicastPausePacketDetect = ((READ_BIT(heth->Instance->MACFCR, ETH_MACFCR_UPFD) >> 3U) > 0U) - 8002a52: 687b ldr r3, [r7, #4] - 8002a54: 681b ldr r3, [r3, #0] - 8002a56: 699b ldr r3, [r3, #24] - 8002a58: f003 0308 and.w r3, r3, #8 + 8002db2: 687b ldr r3, [r7, #4] + 8002db4: 681b ldr r3, [r3, #0] + 8002db6: 699b ldr r3, [r3, #24] + 8002db8: f003 0308 and.w r3, r3, #8 ? ENABLE : DISABLE; - 8002a5c: 2b00 cmp r3, #0 - 8002a5e: bf14 ite ne - 8002a60: 2301 movne r3, #1 - 8002a62: 2300 moveq r3, #0 - 8002a64: b2db uxtb r3, r3 - 8002a66: 461a mov r2, r3 + 8002dbc: 2b00 cmp r3, #0 + 8002dbe: bf14 ite ne + 8002dc0: 2301 movne r3, #1 + 8002dc2: 2300 moveq r3, #0 + 8002dc4: b2db uxtb r3, r3 + 8002dc6: 461a mov r2, r3 macconf->UnicastPausePacketDetect = ((READ_BIT(heth->Instance->MACFCR, ETH_MACFCR_UPFD) >> 3U) > 0U) - 8002a68: 683b ldr r3, [r7, #0] - 8002a6a: f883 2055 strb.w r2, [r3, #85] @ 0x55 + 8002dc8: 683b ldr r3, [r7, #0] + 8002dca: f883 2055 strb.w r2, [r3, #85] @ 0x55 return HAL_OK; - 8002a6e: 2300 movs r3, #0 + 8002dce: 2300 movs r3, #0 } - 8002a70: 4618 mov r0, r3 - 8002a72: 370c adds r7, #12 - 8002a74: 46bd mov sp, r7 - 8002a76: f85d 7b04 ldr.w r7, [sp], #4 - 8002a7a: 4770 bx lr + 8002dd0: 4618 mov r0, r3 + 8002dd2: 370c adds r7, #12 + 8002dd4: 46bd mov sp, r7 + 8002dd6: f85d 7b04 ldr.w r7, [sp], #4 + 8002dda: 4770 bx lr -08002a7c : +08002ddc : * @param macconf: pointer to a ETH_MACConfigTypeDef structure that contains * the configuration of the MAC. * @retval HAL status */ HAL_StatusTypeDef HAL_ETH_SetMACConfig(ETH_HandleTypeDef *heth, ETH_MACConfigTypeDef *macconf) { - 8002a7c: b580 push {r7, lr} - 8002a7e: b082 sub sp, #8 - 8002a80: af00 add r7, sp, #0 - 8002a82: 6078 str r0, [r7, #4] - 8002a84: 6039 str r1, [r7, #0] + 8002ddc: b580 push {r7, lr} + 8002dde: b082 sub sp, #8 + 8002de0: af00 add r7, sp, #0 + 8002de2: 6078 str r0, [r7, #4] + 8002de4: 6039 str r1, [r7, #0] if (macconf == NULL) - 8002a86: 683b ldr r3, [r7, #0] - 8002a88: 2b00 cmp r3, #0 - 8002a8a: d101 bne.n 8002a90 + 8002de6: 683b ldr r3, [r7, #0] + 8002de8: 2b00 cmp r3, #0 + 8002dea: d101 bne.n 8002df0 { return HAL_ERROR; - 8002a8c: 2301 movs r3, #1 - 8002a8e: e00b b.n 8002aa8 + 8002dec: 2301 movs r3, #1 + 8002dee: e00b b.n 8002e08 } if (heth->gState == HAL_ETH_STATE_READY) - 8002a90: 687b ldr r3, [r7, #4] - 8002a92: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8002a96: 2b10 cmp r3, #16 - 8002a98: d105 bne.n 8002aa6 + 8002df0: 687b ldr r3, [r7, #4] + 8002df2: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 8002df6: 2b10 cmp r3, #16 + 8002df8: d105 bne.n 8002e06 { ETH_SetMACConfig(heth, macconf); - 8002a9a: 6839 ldr r1, [r7, #0] - 8002a9c: 6878 ldr r0, [r7, #4] - 8002a9e: f000 f883 bl 8002ba8 + 8002dfa: 6839 ldr r1, [r7, #0] + 8002dfc: 6878 ldr r0, [r7, #4] + 8002dfe: f000 f883 bl 8002f08 return HAL_OK; - 8002aa2: 2300 movs r3, #0 - 8002aa4: e000 b.n 8002aa8 + 8002e02: 2300 movs r3, #0 + 8002e04: e000 b.n 8002e08 } else { return HAL_ERROR; - 8002aa6: 2301 movs r3, #1 + 8002e06: 2301 movs r3, #1 } } - 8002aa8: 4618 mov r0, r3 - 8002aaa: 3708 adds r7, #8 - 8002aac: 46bd mov sp, r7 - 8002aae: bd80 pop {r7, pc} + 8002e08: 4618 mov r0, r3 + 8002e0a: 3708 adds r7, #8 + 8002e0c: 46bd mov sp, r7 + 8002e0e: bd80 pop {r7, pc} -08002ab0 : +08002e10 : * @param heth: pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ void HAL_ETH_SetMDIOClockRange(ETH_HandleTypeDef *heth) { - 8002ab0: b580 push {r7, lr} - 8002ab2: b084 sub sp, #16 - 8002ab4: af00 add r7, sp, #0 - 8002ab6: 6078 str r0, [r7, #4] + 8002e10: b580 push {r7, lr} + 8002e12: b084 sub sp, #16 + 8002e14: af00 add r7, sp, #0 + 8002e16: 6078 str r0, [r7, #4] uint32_t hclk; uint32_t tmpreg; /* Get the ETHERNET MACMIIAR value */ tmpreg = (heth->Instance)->MACMIIAR; - 8002ab8: 687b ldr r3, [r7, #4] - 8002aba: 681b ldr r3, [r3, #0] - 8002abc: 691b ldr r3, [r3, #16] - 8002abe: 60fb str r3, [r7, #12] + 8002e18: 687b ldr r3, [r7, #4] + 8002e1a: 681b ldr r3, [r3, #0] + 8002e1c: 691b ldr r3, [r3, #16] + 8002e1e: 60fb str r3, [r7, #12] /* Clear CSR Clock Range CR[2:0] bits */ tmpreg &= ETH_MACMIIAR_CR_MASK; - 8002ac0: 68fb ldr r3, [r7, #12] - 8002ac2: f023 031c bic.w r3, r3, #28 - 8002ac6: 60fb str r3, [r7, #12] + 8002e20: 68fb ldr r3, [r7, #12] + 8002e22: f023 031c bic.w r3, r3, #28 + 8002e26: 60fb str r3, [r7, #12] /* Get hclk frequency value */ hclk = HAL_RCC_GetHCLKFreq(); - 8002ac8: f001 fa38 bl 8003f3c - 8002acc: 60b8 str r0, [r7, #8] + 8002e28: f001 fd4a bl 80048c0 + 8002e2c: 60b8 str r0, [r7, #8] /* Set CR bits depending on hclk value */ if ((hclk >= 20000000U) && (hclk < 35000000U)) - 8002ace: 68bb ldr r3, [r7, #8] - 8002ad0: 4a1d ldr r2, [pc, #116] @ (8002b48 ) - 8002ad2: 4293 cmp r3, r2 - 8002ad4: d908 bls.n 8002ae8 - 8002ad6: 68bb ldr r3, [r7, #8] - 8002ad8: 4a1c ldr r2, [pc, #112] @ (8002b4c ) - 8002ada: 4293 cmp r3, r2 - 8002adc: d804 bhi.n 8002ae8 + 8002e2e: 68bb ldr r3, [r7, #8] + 8002e30: 4a1d ldr r2, [pc, #116] @ (8002ea8 ) + 8002e32: 4293 cmp r3, r2 + 8002e34: d908 bls.n 8002e48 + 8002e36: 68bb ldr r3, [r7, #8] + 8002e38: 4a1c ldr r2, [pc, #112] @ (8002eac ) + 8002e3a: 4293 cmp r3, r2 + 8002e3c: d804 bhi.n 8002e48 { /* CSR Clock Range between 20-35 MHz */ tmpreg |= (uint32_t)ETH_MACMIIAR_CR_Div16; - 8002ade: 68fb ldr r3, [r7, #12] - 8002ae0: f043 0308 orr.w r3, r3, #8 - 8002ae4: 60fb str r3, [r7, #12] - 8002ae6: e027 b.n 8002b38 + 8002e3e: 68fb ldr r3, [r7, #12] + 8002e40: f043 0308 orr.w r3, r3, #8 + 8002e44: 60fb str r3, [r7, #12] + 8002e46: e027 b.n 8002e98 } else if ((hclk >= 35000000U) && (hclk < 60000000U)) - 8002ae8: 68bb ldr r3, [r7, #8] - 8002aea: 4a18 ldr r2, [pc, #96] @ (8002b4c ) - 8002aec: 4293 cmp r3, r2 - 8002aee: d908 bls.n 8002b02 - 8002af0: 68bb ldr r3, [r7, #8] - 8002af2: 4a17 ldr r2, [pc, #92] @ (8002b50 ) - 8002af4: 4293 cmp r3, r2 - 8002af6: d204 bcs.n 8002b02 + 8002e48: 68bb ldr r3, [r7, #8] + 8002e4a: 4a18 ldr r2, [pc, #96] @ (8002eac ) + 8002e4c: 4293 cmp r3, r2 + 8002e4e: d908 bls.n 8002e62 + 8002e50: 68bb ldr r3, [r7, #8] + 8002e52: 4a17 ldr r2, [pc, #92] @ (8002eb0 ) + 8002e54: 4293 cmp r3, r2 + 8002e56: d204 bcs.n 8002e62 { /* CSR Clock Range between 35-60 MHz */ tmpreg |= (uint32_t)ETH_MACMIIAR_CR_Div26; - 8002af8: 68fb ldr r3, [r7, #12] - 8002afa: f043 030c orr.w r3, r3, #12 - 8002afe: 60fb str r3, [r7, #12] - 8002b00: e01a b.n 8002b38 + 8002e58: 68fb ldr r3, [r7, #12] + 8002e5a: f043 030c orr.w r3, r3, #12 + 8002e5e: 60fb str r3, [r7, #12] + 8002e60: e01a b.n 8002e98 } else if ((hclk >= 60000000U) && (hclk < 100000000U)) - 8002b02: 68bb ldr r3, [r7, #8] - 8002b04: 4a12 ldr r2, [pc, #72] @ (8002b50 ) - 8002b06: 4293 cmp r3, r2 - 8002b08: d303 bcc.n 8002b12 - 8002b0a: 68bb ldr r3, [r7, #8] - 8002b0c: 4a11 ldr r2, [pc, #68] @ (8002b54 ) - 8002b0e: 4293 cmp r3, r2 - 8002b10: d911 bls.n 8002b36 + 8002e62: 68bb ldr r3, [r7, #8] + 8002e64: 4a12 ldr r2, [pc, #72] @ (8002eb0 ) + 8002e66: 4293 cmp r3, r2 + 8002e68: d303 bcc.n 8002e72 + 8002e6a: 68bb ldr r3, [r7, #8] + 8002e6c: 4a11 ldr r2, [pc, #68] @ (8002eb4 ) + 8002e6e: 4293 cmp r3, r2 + 8002e70: d911 bls.n 8002e96 { /* CSR Clock Range between 60-100 MHz */ tmpreg |= (uint32_t)ETH_MACMIIAR_CR_Div42; } else if ((hclk >= 100000000U) && (hclk < 150000000U)) - 8002b12: 68bb ldr r3, [r7, #8] - 8002b14: 4a0f ldr r2, [pc, #60] @ (8002b54 ) - 8002b16: 4293 cmp r3, r2 - 8002b18: d908 bls.n 8002b2c - 8002b1a: 68bb ldr r3, [r7, #8] - 8002b1c: 4a0e ldr r2, [pc, #56] @ (8002b58 ) - 8002b1e: 4293 cmp r3, r2 - 8002b20: d804 bhi.n 8002b2c + 8002e72: 68bb ldr r3, [r7, #8] + 8002e74: 4a0f ldr r2, [pc, #60] @ (8002eb4 ) + 8002e76: 4293 cmp r3, r2 + 8002e78: d908 bls.n 8002e8c + 8002e7a: 68bb ldr r3, [r7, #8] + 8002e7c: 4a0e ldr r2, [pc, #56] @ (8002eb8 ) + 8002e7e: 4293 cmp r3, r2 + 8002e80: d804 bhi.n 8002e8c { /* CSR Clock Range between 100-150 MHz */ tmpreg |= (uint32_t)ETH_MACMIIAR_CR_Div62; - 8002b22: 68fb ldr r3, [r7, #12] - 8002b24: f043 0304 orr.w r3, r3, #4 - 8002b28: 60fb str r3, [r7, #12] - 8002b2a: e005 b.n 8002b38 + 8002e82: 68fb ldr r3, [r7, #12] + 8002e84: f043 0304 orr.w r3, r3, #4 + 8002e88: 60fb str r3, [r7, #12] + 8002e8a: e005 b.n 8002e98 } else /* ((hclk >= 150000000)&&(hclk <= 183000000))*/ { /* CSR Clock Range between 150-183 MHz */ tmpreg |= (uint32_t)ETH_MACMIIAR_CR_Div102; - 8002b2c: 68fb ldr r3, [r7, #12] - 8002b2e: f043 0310 orr.w r3, r3, #16 - 8002b32: 60fb str r3, [r7, #12] - 8002b34: e000 b.n 8002b38 + 8002e8c: 68fb ldr r3, [r7, #12] + 8002e8e: f043 0310 orr.w r3, r3, #16 + 8002e92: 60fb str r3, [r7, #12] + 8002e94: e000 b.n 8002e98 tmpreg |= (uint32_t)ETH_MACMIIAR_CR_Div42; - 8002b36: bf00 nop + 8002e96: bf00 nop } /* Write to ETHERNET MAC MIIAR: Configure the ETHERNET CSR Clock Range */ (heth->Instance)->MACMIIAR = (uint32_t)tmpreg; - 8002b38: 687b ldr r3, [r7, #4] - 8002b3a: 681b ldr r3, [r3, #0] - 8002b3c: 68fa ldr r2, [r7, #12] - 8002b3e: 611a str r2, [r3, #16] + 8002e98: 687b ldr r3, [r7, #4] + 8002e9a: 681b ldr r3, [r3, #0] + 8002e9c: 68fa ldr r2, [r7, #12] + 8002e9e: 611a str r2, [r3, #16] } - 8002b40: bf00 nop - 8002b42: 3710 adds r7, #16 - 8002b44: 46bd mov sp, r7 - 8002b46: bd80 pop {r7, pc} - 8002b48: 01312cff .word 0x01312cff - 8002b4c: 02160ebf .word 0x02160ebf - 8002b50: 03938700 .word 0x03938700 - 8002b54: 05f5e0ff .word 0x05f5e0ff - 8002b58: 08f0d17f .word 0x08f0d17f + 8002ea0: bf00 nop + 8002ea2: 3710 adds r7, #16 + 8002ea4: 46bd mov sp, r7 + 8002ea6: bd80 pop {r7, pc} + 8002ea8: 01312cff .word 0x01312cff + 8002eac: 02160ebf .word 0x02160ebf + 8002eb0: 03938700 .word 0x03938700 + 8002eb4: 05f5e0ff .word 0x05f5e0ff + 8002eb8: 08f0d17f .word 0x08f0d17f -08002b5c : +08002ebc : * @param heth pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_FlushTransmitFIFO(ETH_HandleTypeDef *heth) { - 8002b5c: b580 push {r7, lr} - 8002b5e: b084 sub sp, #16 - 8002b60: af00 add r7, sp, #0 - 8002b62: 6078 str r0, [r7, #4] + 8002ebc: b580 push {r7, lr} + 8002ebe: b084 sub sp, #16 + 8002ec0: af00 add r7, sp, #0 + 8002ec2: 6078 str r0, [r7, #4] __IO uint32_t tmpreg = 0; - 8002b64: 2300 movs r3, #0 - 8002b66: 60fb str r3, [r7, #12] + 8002ec4: 2300 movs r3, #0 + 8002ec6: 60fb str r3, [r7, #12] /* Set the Flush Transmit FIFO bit */ (heth->Instance)->DMAOMR |= ETH_DMAOMR_FTF; - 8002b68: 687b ldr r3, [r7, #4] - 8002b6a: 681b ldr r3, [r3, #0] - 8002b6c: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002b70: 699b ldr r3, [r3, #24] - 8002b72: 687a ldr r2, [r7, #4] - 8002b74: 6812 ldr r2, [r2, #0] - 8002b76: f443 1380 orr.w r3, r3, #1048576 @ 0x100000 - 8002b7a: f502 5280 add.w r2, r2, #4096 @ 0x1000 - 8002b7e: 6193 str r3, [r2, #24] + 8002ec8: 687b ldr r3, [r7, #4] + 8002eca: 681b ldr r3, [r3, #0] + 8002ecc: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8002ed0: 699b ldr r3, [r3, #24] + 8002ed2: 687a ldr r2, [r7, #4] + 8002ed4: 6812 ldr r2, [r2, #0] + 8002ed6: f443 1380 orr.w r3, r3, #1048576 @ 0x100000 + 8002eda: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 8002ede: 6193 str r3, [r2, #24] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg = (heth->Instance)->DMAOMR; - 8002b80: 687b ldr r3, [r7, #4] - 8002b82: 681b ldr r3, [r3, #0] - 8002b84: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002b88: 699b ldr r3, [r3, #24] - 8002b8a: 60fb str r3, [r7, #12] + 8002ee0: 687b ldr r3, [r7, #4] + 8002ee2: 681b ldr r3, [r3, #0] + 8002ee4: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8002ee8: 699b ldr r3, [r3, #24] + 8002eea: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 8002b8c: 2001 movs r0, #1 - 8002b8e: f7ff f9bf bl 8001f10 + 8002eec: 2001 movs r0, #1 + 8002eee: f7ff f9bf bl 8002270 (heth->Instance)->DMAOMR = tmpreg; - 8002b92: 687b ldr r3, [r7, #4] - 8002b94: 681a ldr r2, [r3, #0] - 8002b96: 68fb ldr r3, [r7, #12] - 8002b98: f502 5280 add.w r2, r2, #4096 @ 0x1000 - 8002b9c: 6193 str r3, [r2, #24] + 8002ef2: 687b ldr r3, [r7, #4] + 8002ef4: 681a ldr r2, [r3, #0] + 8002ef6: 68fb ldr r3, [r7, #12] + 8002ef8: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 8002efc: 6193 str r3, [r2, #24] } - 8002b9e: bf00 nop - 8002ba0: 3710 adds r7, #16 - 8002ba2: 46bd mov sp, r7 - 8002ba4: bd80 pop {r7, pc} + 8002efe: bf00 nop + 8002f00: 3710 adds r7, #16 + 8002f02: 46bd mov sp, r7 + 8002f04: bd80 pop {r7, pc} ... -08002ba8 : +08002f08 : static void ETH_SetMACConfig(ETH_HandleTypeDef *heth, ETH_MACConfigTypeDef *macconf) { - 8002ba8: b580 push {r7, lr} - 8002baa: b084 sub sp, #16 - 8002bac: af00 add r7, sp, #0 - 8002bae: 6078 str r0, [r7, #4] - 8002bb0: 6039 str r1, [r7, #0] + 8002f08: b580 push {r7, lr} + 8002f0a: b084 sub sp, #16 + 8002f0c: af00 add r7, sp, #0 + 8002f0e: 6078 str r0, [r7, #4] + 8002f10: 6039 str r1, [r7, #0] uint32_t tmpreg1; /*------------------------ ETHERNET MACCR Configuration --------------------*/ /* Get the ETHERNET MACCR value */ tmpreg1 = (heth->Instance)->MACCR; - 8002bb2: 687b ldr r3, [r7, #4] - 8002bb4: 681b ldr r3, [r3, #0] - 8002bb6: 681b ldr r3, [r3, #0] - 8002bb8: 60fb str r3, [r7, #12] + 8002f12: 687b ldr r3, [r7, #4] + 8002f14: 681b ldr r3, [r3, #0] + 8002f16: 681b ldr r3, [r3, #0] + 8002f18: 60fb str r3, [r7, #12] /* Clear WD, PCE, PS, TE and RE bits */ tmpreg1 &= ETH_MACCR_CLEAR_MASK; - 8002bba: 68fa ldr r2, [r7, #12] - 8002bbc: 4b51 ldr r3, [pc, #324] @ (8002d04 ) - 8002bbe: 4013 ands r3, r2 - 8002bc0: 60fb str r3, [r7, #12] + 8002f1a: 68fa ldr r2, [r7, #12] + 8002f1c: 4b51 ldr r3, [pc, #324] @ (8003064 ) + 8002f1e: 4013 ands r3, r2 + 8002f20: 60fb str r3, [r7, #12] tmpreg1 |= (uint32_t)(((uint32_t)((macconf->Watchdog == DISABLE) ? 1U : 0U) << 23U) | - 8002bc2: 683b ldr r3, [r7, #0] - 8002bc4: 7c1b ldrb r3, [r3, #16] - 8002bc6: 2b00 cmp r3, #0 - 8002bc8: d102 bne.n 8002bd0 - 8002bca: f44f 0200 mov.w r2, #8388608 @ 0x800000 - 8002bce: e000 b.n 8002bd2 - 8002bd0: 2200 movs r2, #0 + 8002f22: 683b ldr r3, [r7, #0] + 8002f24: 7c1b ldrb r3, [r3, #16] + 8002f26: 2b00 cmp r3, #0 + 8002f28: d102 bne.n 8002f30 + 8002f2a: f44f 0200 mov.w r2, #8388608 @ 0x800000 + 8002f2e: e000 b.n 8002f32 + 8002f30: 2200 movs r2, #0 ((uint32_t)((macconf->Jabber == DISABLE) ? 1U : 0U) << 22U) | - 8002bd2: 683b ldr r3, [r7, #0] - 8002bd4: 7c5b ldrb r3, [r3, #17] - 8002bd6: 2b00 cmp r3, #0 - 8002bd8: d102 bne.n 8002be0 - 8002bda: f44f 0380 mov.w r3, #4194304 @ 0x400000 - 8002bde: e000 b.n 8002be2 - 8002be0: 2300 movs r3, #0 + 8002f32: 683b ldr r3, [r7, #0] + 8002f34: 7c5b ldrb r3, [r3, #17] + 8002f36: 2b00 cmp r3, #0 + 8002f38: d102 bne.n 8002f40 + 8002f3a: f44f 0380 mov.w r3, #4194304 @ 0x400000 + 8002f3e: e000 b.n 8002f42 + 8002f40: 2300 movs r3, #0 tmpreg1 |= (uint32_t)(((uint32_t)((macconf->Watchdog == DISABLE) ? 1U : 0U) << 23U) | - 8002be2: 431a orrs r2, r3 + 8002f42: 431a orrs r2, r3 (uint32_t)macconf->InterPacketGapVal | - 8002be4: 683b ldr r3, [r7, #0] - 8002be6: 689b ldr r3, [r3, #8] + 8002f44: 683b ldr r3, [r7, #0] + 8002f46: 689b ldr r3, [r3, #8] ((uint32_t)((macconf->Jabber == DISABLE) ? 1U : 0U) << 22U) | - 8002be8: 431a orrs r2, r3 + 8002f48: 431a orrs r2, r3 ((uint32_t)macconf->CarrierSenseDuringTransmit << 16U) | - 8002bea: 683b ldr r3, [r7, #0] - 8002bec: 7fdb ldrb r3, [r3, #31] - 8002bee: 041b lsls r3, r3, #16 + 8002f4a: 683b ldr r3, [r7, #0] + 8002f4c: 7fdb ldrb r3, [r3, #31] + 8002f4e: 041b lsls r3, r3, #16 (uint32_t)macconf->InterPacketGapVal | - 8002bf0: 431a orrs r2, r3 + 8002f50: 431a orrs r2, r3 macconf->Speed | - 8002bf2: 683b ldr r3, [r7, #0] - 8002bf4: 695b ldr r3, [r3, #20] + 8002f52: 683b ldr r3, [r7, #0] + 8002f54: 695b ldr r3, [r3, #20] ((uint32_t)macconf->CarrierSenseDuringTransmit << 16U) | - 8002bf6: 4313 orrs r3, r2 + 8002f56: 4313 orrs r3, r2 ((uint32_t)((macconf->ReceiveOwn == DISABLE) ? 1U : 0U) << 13U) | - 8002bf8: 683a ldr r2, [r7, #0] - 8002bfa: 7f92 ldrb r2, [r2, #30] - 8002bfc: 2a00 cmp r2, #0 - 8002bfe: d102 bne.n 8002c06 - 8002c00: f44f 5200 mov.w r2, #8192 @ 0x2000 - 8002c04: e000 b.n 8002c08 - 8002c06: 2200 movs r2, #0 + 8002f58: 683a ldr r2, [r7, #0] + 8002f5a: 7f92 ldrb r2, [r2, #30] + 8002f5c: 2a00 cmp r2, #0 + 8002f5e: d102 bne.n 8002f66 + 8002f60: f44f 5200 mov.w r2, #8192 @ 0x2000 + 8002f64: e000 b.n 8002f68 + 8002f66: 2200 movs r2, #0 macconf->Speed | - 8002c08: 431a orrs r2, r3 + 8002f68: 431a orrs r2, r3 ((uint32_t)macconf->LoopbackMode << 12U) | - 8002c0a: 683b ldr r3, [r7, #0] - 8002c0c: 7f1b ldrb r3, [r3, #28] - 8002c0e: 031b lsls r3, r3, #12 + 8002f6a: 683b ldr r3, [r7, #0] + 8002f6c: 7f1b ldrb r3, [r3, #28] + 8002f6e: 031b lsls r3, r3, #12 ((uint32_t)((macconf->ReceiveOwn == DISABLE) ? 1U : 0U) << 13U) | - 8002c10: 431a orrs r2, r3 + 8002f70: 431a orrs r2, r3 macconf->DuplexMode | - 8002c12: 683b ldr r3, [r7, #0] - 8002c14: 699b ldr r3, [r3, #24] + 8002f72: 683b ldr r3, [r7, #0] + 8002f74: 699b ldr r3, [r3, #24] ((uint32_t)macconf->LoopbackMode << 12U) | - 8002c16: 431a orrs r2, r3 + 8002f76: 431a orrs r2, r3 ((uint32_t)macconf->ChecksumOffload << 10U) | - 8002c18: 683b ldr r3, [r7, #0] - 8002c1a: 791b ldrb r3, [r3, #4] - 8002c1c: 029b lsls r3, r3, #10 + 8002f78: 683b ldr r3, [r7, #0] + 8002f7a: 791b ldrb r3, [r3, #4] + 8002f7c: 029b lsls r3, r3, #10 macconf->DuplexMode | - 8002c1e: 4313 orrs r3, r2 + 8002f7e: 4313 orrs r3, r2 ((uint32_t)((macconf->RetryTransmission == DISABLE) ? 1U : 0U) << 9U) | - 8002c20: 683a ldr r2, [r7, #0] - 8002c22: f892 2020 ldrb.w r2, [r2, #32] - 8002c26: 2a00 cmp r2, #0 - 8002c28: d102 bne.n 8002c30 - 8002c2a: f44f 7200 mov.w r2, #512 @ 0x200 - 8002c2e: e000 b.n 8002c32 - 8002c30: 2200 movs r2, #0 + 8002f80: 683a ldr r2, [r7, #0] + 8002f82: f892 2020 ldrb.w r2, [r2, #32] + 8002f86: 2a00 cmp r2, #0 + 8002f88: d102 bne.n 8002f90 + 8002f8a: f44f 7200 mov.w r2, #512 @ 0x200 + 8002f8e: e000 b.n 8002f92 + 8002f90: 2200 movs r2, #0 ((uint32_t)macconf->ChecksumOffload << 10U) | - 8002c32: 431a orrs r2, r3 + 8002f92: 431a orrs r2, r3 ((uint32_t)macconf->AutomaticPadCRCStrip << 7U) | - 8002c34: 683b ldr r3, [r7, #0] - 8002c36: 7bdb ldrb r3, [r3, #15] - 8002c38: 01db lsls r3, r3, #7 + 8002f94: 683b ldr r3, [r7, #0] + 8002f96: 7bdb ldrb r3, [r3, #15] + 8002f98: 01db lsls r3, r3, #7 ((uint32_t)((macconf->RetryTransmission == DISABLE) ? 1U : 0U) << 9U) | - 8002c3a: 431a orrs r2, r3 + 8002f9a: 431a orrs r2, r3 macconf->BackOffLimit | - 8002c3c: 683b ldr r3, [r7, #0] - 8002c3e: 6a5b ldr r3, [r3, #36] @ 0x24 + 8002f9c: 683b ldr r3, [r7, #0] + 8002f9e: 6a5b ldr r3, [r3, #36] @ 0x24 ((uint32_t)macconf->AutomaticPadCRCStrip << 7U) | - 8002c40: 431a orrs r2, r3 + 8002fa0: 431a orrs r2, r3 ((uint32_t)macconf->DeferralCheck << 4U)); - 8002c42: 683b ldr r3, [r7, #0] - 8002c44: f893 3028 ldrb.w r3, [r3, #40] @ 0x28 - 8002c48: 011b lsls r3, r3, #4 + 8002fa2: 683b ldr r3, [r7, #0] + 8002fa4: f893 3028 ldrb.w r3, [r3, #40] @ 0x28 + 8002fa8: 011b lsls r3, r3, #4 tmpreg1 |= (uint32_t)(((uint32_t)((macconf->Watchdog == DISABLE) ? 1U : 0U) << 23U) | - 8002c4a: 4313 orrs r3, r2 - 8002c4c: 68fa ldr r2, [r7, #12] - 8002c4e: 4313 orrs r3, r2 - 8002c50: 60fb str r3, [r7, #12] + 8002faa: 4313 orrs r3, r2 + 8002fac: 68fa ldr r2, [r7, #12] + 8002fae: 4313 orrs r3, r2 + 8002fb0: 60fb str r3, [r7, #12] /* Write to ETHERNET MACCR */ (heth->Instance)->MACCR = (uint32_t)tmpreg1; - 8002c52: 687b ldr r3, [r7, #4] - 8002c54: 681b ldr r3, [r3, #0] - 8002c56: 68fa ldr r2, [r7, #12] - 8002c58: 601a str r2, [r3, #0] + 8002fb2: 687b ldr r3, [r7, #4] + 8002fb4: 681b ldr r3, [r3, #0] + 8002fb6: 68fa ldr r2, [r7, #12] + 8002fb8: 601a str r2, [r3, #0] /* Wait until the write operation will be taken into account : at least four TX_CLK/RX_CLK clock cycles */ tmpreg1 = (heth->Instance)->MACCR; - 8002c5a: 687b ldr r3, [r7, #4] - 8002c5c: 681b ldr r3, [r3, #0] - 8002c5e: 681b ldr r3, [r3, #0] - 8002c60: 60fb str r3, [r7, #12] + 8002fba: 687b ldr r3, [r7, #4] + 8002fbc: 681b ldr r3, [r3, #0] + 8002fbe: 681b ldr r3, [r3, #0] + 8002fc0: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 8002c62: 2001 movs r0, #1 - 8002c64: f7ff f954 bl 8001f10 + 8002fc2: 2001 movs r0, #1 + 8002fc4: f7ff f954 bl 8002270 (heth->Instance)->MACCR = tmpreg1; - 8002c68: 687b ldr r3, [r7, #4] - 8002c6a: 681b ldr r3, [r3, #0] - 8002c6c: 68fa ldr r2, [r7, #12] - 8002c6e: 601a str r2, [r3, #0] + 8002fc8: 687b ldr r3, [r7, #4] + 8002fca: 681b ldr r3, [r3, #0] + 8002fcc: 68fa ldr r2, [r7, #12] + 8002fce: 601a str r2, [r3, #0] /*----------------------- ETHERNET MACFCR Configuration --------------------*/ /* Get the ETHERNET MACFCR value */ tmpreg1 = (heth->Instance)->MACFCR; - 8002c70: 687b ldr r3, [r7, #4] - 8002c72: 681b ldr r3, [r3, #0] - 8002c74: 699b ldr r3, [r3, #24] - 8002c76: 60fb str r3, [r7, #12] + 8002fd0: 687b ldr r3, [r7, #4] + 8002fd2: 681b ldr r3, [r3, #0] + 8002fd4: 699b ldr r3, [r3, #24] + 8002fd6: 60fb str r3, [r7, #12] /* Clear xx bits */ tmpreg1 &= ETH_MACFCR_CLEAR_MASK; - 8002c78: 68fa ldr r2, [r7, #12] - 8002c7a: f64f 7341 movw r3, #65345 @ 0xff41 - 8002c7e: 4013 ands r3, r2 - 8002c80: 60fb str r3, [r7, #12] + 8002fd8: 68fa ldr r2, [r7, #12] + 8002fda: f64f 7341 movw r3, #65345 @ 0xff41 + 8002fde: 4013 ands r3, r2 + 8002fe0: 60fb str r3, [r7, #12] tmpreg1 |= (uint32_t)((macconf->PauseTime << 16U) | - 8002c82: 683b ldr r3, [r7, #0] - 8002c84: 6c9b ldr r3, [r3, #72] @ 0x48 - 8002c86: 041b lsls r3, r3, #16 + 8002fe2: 683b ldr r3, [r7, #0] + 8002fe4: 6c9b ldr r3, [r3, #72] @ 0x48 + 8002fe6: 041b lsls r3, r3, #16 ((uint32_t)((macconf->ZeroQuantaPause == DISABLE) ? 1U : 0U) << 7U) | - 8002c88: 683a ldr r2, [r7, #0] - 8002c8a: f892 204c ldrb.w r2, [r2, #76] @ 0x4c - 8002c8e: 2a00 cmp r2, #0 - 8002c90: d101 bne.n 8002c96 - 8002c92: 2280 movs r2, #128 @ 0x80 - 8002c94: e000 b.n 8002c98 - 8002c96: 2200 movs r2, #0 + 8002fe8: 683a ldr r2, [r7, #0] + 8002fea: f892 204c ldrb.w r2, [r2, #76] @ 0x4c + 8002fee: 2a00 cmp r2, #0 + 8002ff0: d101 bne.n 8002ff6 + 8002ff2: 2280 movs r2, #128 @ 0x80 + 8002ff4: e000 b.n 8002ff8 + 8002ff6: 2200 movs r2, #0 tmpreg1 |= (uint32_t)((macconf->PauseTime << 16U) | - 8002c98: 431a orrs r2, r3 + 8002ff8: 431a orrs r2, r3 macconf->PauseLowThreshold | - 8002c9a: 683b ldr r3, [r7, #0] - 8002c9c: 6d1b ldr r3, [r3, #80] @ 0x50 + 8002ffa: 683b ldr r3, [r7, #0] + 8002ffc: 6d1b ldr r3, [r3, #80] @ 0x50 ((uint32_t)((macconf->ZeroQuantaPause == DISABLE) ? 1U : 0U) << 7U) | - 8002c9e: 4313 orrs r3, r2 + 8002ffe: 4313 orrs r3, r2 ((uint32_t)((macconf->UnicastPausePacketDetect == ENABLE) ? 1U : 0U) << 3U) | - 8002ca0: 683a ldr r2, [r7, #0] - 8002ca2: f892 2055 ldrb.w r2, [r2, #85] @ 0x55 - 8002ca6: 2a01 cmp r2, #1 - 8002ca8: d101 bne.n 8002cae - 8002caa: 2208 movs r2, #8 - 8002cac: e000 b.n 8002cb0 - 8002cae: 2200 movs r2, #0 + 8003000: 683a ldr r2, [r7, #0] + 8003002: f892 2055 ldrb.w r2, [r2, #85] @ 0x55 + 8003006: 2a01 cmp r2, #1 + 8003008: d101 bne.n 800300e + 800300a: 2208 movs r2, #8 + 800300c: e000 b.n 8003010 + 800300e: 2200 movs r2, #0 macconf->PauseLowThreshold | - 8002cb0: 4313 orrs r3, r2 + 8003010: 4313 orrs r3, r2 ((uint32_t)((macconf->ReceiveFlowControl == ENABLE) ? 1U : 0U) << 2U) | - 8002cb2: 683a ldr r2, [r7, #0] - 8002cb4: f892 2056 ldrb.w r2, [r2, #86] @ 0x56 - 8002cb8: 2a01 cmp r2, #1 - 8002cba: d101 bne.n 8002cc0 - 8002cbc: 2204 movs r2, #4 - 8002cbe: e000 b.n 8002cc2 - 8002cc0: 2200 movs r2, #0 + 8003012: 683a ldr r2, [r7, #0] + 8003014: f892 2056 ldrb.w r2, [r2, #86] @ 0x56 + 8003018: 2a01 cmp r2, #1 + 800301a: d101 bne.n 8003020 + 800301c: 2204 movs r2, #4 + 800301e: e000 b.n 8003022 + 8003020: 2200 movs r2, #0 ((uint32_t)((macconf->UnicastPausePacketDetect == ENABLE) ? 1U : 0U) << 3U) | - 8002cc2: 4313 orrs r3, r2 + 8003022: 4313 orrs r3, r2 ((uint32_t)((macconf->TransmitFlowControl == ENABLE) ? 1U : 0U) << 1U)); - 8002cc4: 683a ldr r2, [r7, #0] - 8002cc6: f892 2054 ldrb.w r2, [r2, #84] @ 0x54 - 8002cca: 2a01 cmp r2, #1 - 8002ccc: d101 bne.n 8002cd2 - 8002cce: 2202 movs r2, #2 - 8002cd0: e000 b.n 8002cd4 - 8002cd2: 2200 movs r2, #0 + 8003024: 683a ldr r2, [r7, #0] + 8003026: f892 2054 ldrb.w r2, [r2, #84] @ 0x54 + 800302a: 2a01 cmp r2, #1 + 800302c: d101 bne.n 8003032 + 800302e: 2202 movs r2, #2 + 8003030: e000 b.n 8003034 + 8003032: 2200 movs r2, #0 tmpreg1 |= (uint32_t)((macconf->PauseTime << 16U) | - 8002cd4: 4313 orrs r3, r2 - 8002cd6: 68fa ldr r2, [r7, #12] - 8002cd8: 4313 orrs r3, r2 - 8002cda: 60fb str r3, [r7, #12] + 8003034: 4313 orrs r3, r2 + 8003036: 68fa ldr r2, [r7, #12] + 8003038: 4313 orrs r3, r2 + 800303a: 60fb str r3, [r7, #12] /* Write to ETHERNET MACFCR */ (heth->Instance)->MACFCR = (uint32_t)tmpreg1; - 8002cdc: 687b ldr r3, [r7, #4] - 8002cde: 681b ldr r3, [r3, #0] - 8002ce0: 68fa ldr r2, [r7, #12] - 8002ce2: 619a str r2, [r3, #24] + 800303c: 687b ldr r3, [r7, #4] + 800303e: 681b ldr r3, [r3, #0] + 8003040: 68fa ldr r2, [r7, #12] + 8003042: 619a str r2, [r3, #24] /* Wait until the write operation will be taken into account : at least four TX_CLK/RX_CLK clock cycles */ tmpreg1 = (heth->Instance)->MACFCR; - 8002ce4: 687b ldr r3, [r7, #4] - 8002ce6: 681b ldr r3, [r3, #0] - 8002ce8: 699b ldr r3, [r3, #24] - 8002cea: 60fb str r3, [r7, #12] + 8003044: 687b ldr r3, [r7, #4] + 8003046: 681b ldr r3, [r3, #0] + 8003048: 699b ldr r3, [r3, #24] + 800304a: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 8002cec: 2001 movs r0, #1 - 8002cee: f7ff f90f bl 8001f10 + 800304c: 2001 movs r0, #1 + 800304e: f7ff f90f bl 8002270 (heth->Instance)->MACFCR = tmpreg1; - 8002cf2: 687b ldr r3, [r7, #4] - 8002cf4: 681b ldr r3, [r3, #0] - 8002cf6: 68fa ldr r2, [r7, #12] - 8002cf8: 619a str r2, [r3, #24] + 8003052: 687b ldr r3, [r7, #4] + 8003054: 681b ldr r3, [r3, #0] + 8003056: 68fa ldr r2, [r7, #12] + 8003058: 619a str r2, [r3, #24] } - 8002cfa: bf00 nop - 8002cfc: 3710 adds r7, #16 - 8002cfe: 46bd mov sp, r7 - 8002d00: bd80 pop {r7, pc} - 8002d02: bf00 nop - 8002d04: ff20810f .word 0xff20810f + 800305a: bf00 nop + 800305c: 3710 adds r7, #16 + 800305e: 46bd mov sp, r7 + 8003060: bd80 pop {r7, pc} + 8003062: bf00 nop + 8003064: ff20810f .word 0xff20810f -08002d08 : +08003068 : static void ETH_SetDMAConfig(ETH_HandleTypeDef *heth, ETH_DMAConfigTypeDef *dmaconf) { - 8002d08: b580 push {r7, lr} - 8002d0a: b084 sub sp, #16 - 8002d0c: af00 add r7, sp, #0 - 8002d0e: 6078 str r0, [r7, #4] - 8002d10: 6039 str r1, [r7, #0] + 8003068: b580 push {r7, lr} + 800306a: b084 sub sp, #16 + 800306c: af00 add r7, sp, #0 + 800306e: 6078 str r0, [r7, #4] + 8003070: 6039 str r1, [r7, #0] uint32_t tmpreg1; /*----------------------- ETHERNET DMAOMR Configuration --------------------*/ /* Get the ETHERNET DMAOMR value */ tmpreg1 = (heth->Instance)->DMAOMR; - 8002d12: 687b ldr r3, [r7, #4] - 8002d14: 681b ldr r3, [r3, #0] - 8002d16: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002d1a: 699b ldr r3, [r3, #24] - 8002d1c: 60fb str r3, [r7, #12] + 8003072: 687b ldr r3, [r7, #4] + 8003074: 681b ldr r3, [r3, #0] + 8003076: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 800307a: 699b ldr r3, [r3, #24] + 800307c: 60fb str r3, [r7, #12] /* Clear xx bits */ tmpreg1 &= ETH_DMAOMR_CLEAR_MASK; - 8002d1e: 68fa ldr r2, [r7, #12] - 8002d20: 4b3d ldr r3, [pc, #244] @ (8002e18 ) - 8002d22: 4013 ands r3, r2 - 8002d24: 60fb str r3, [r7, #12] + 800307e: 68fa ldr r2, [r7, #12] + 8003080: 4b3d ldr r3, [pc, #244] @ (8003178 ) + 8003082: 4013 ands r3, r2 + 8003084: 60fb str r3, [r7, #12] tmpreg1 |= (uint32_t)(((uint32_t)((dmaconf->DropTCPIPChecksumErrorFrame == DISABLE) ? 1U : 0U) << 26U) | - 8002d26: 683b ldr r3, [r7, #0] - 8002d28: 7b1b ldrb r3, [r3, #12] - 8002d2a: 2b00 cmp r3, #0 - 8002d2c: d102 bne.n 8002d34 - 8002d2e: f04f 6280 mov.w r2, #67108864 @ 0x4000000 - 8002d32: e000 b.n 8002d36 - 8002d34: 2200 movs r2, #0 + 8003086: 683b ldr r3, [r7, #0] + 8003088: 7b1b ldrb r3, [r3, #12] + 800308a: 2b00 cmp r3, #0 + 800308c: d102 bne.n 8003094 + 800308e: f04f 6280 mov.w r2, #67108864 @ 0x4000000 + 8003092: e000 b.n 8003096 + 8003094: 2200 movs r2, #0 ((uint32_t)dmaconf->ReceiveStoreForward << 25U) | - 8002d36: 683b ldr r3, [r7, #0] - 8002d38: 7b5b ldrb r3, [r3, #13] - 8002d3a: 065b lsls r3, r3, #25 + 8003096: 683b ldr r3, [r7, #0] + 8003098: 7b5b ldrb r3, [r3, #13] + 800309a: 065b lsls r3, r3, #25 tmpreg1 |= (uint32_t)(((uint32_t)((dmaconf->DropTCPIPChecksumErrorFrame == DISABLE) ? 1U : 0U) << 26U) | - 8002d3c: 4313 orrs r3, r2 + 800309c: 4313 orrs r3, r2 ((uint32_t)((dmaconf->FlushRxPacket == DISABLE) ? 1U : 0U) << 20U) | - 8002d3e: 683a ldr r2, [r7, #0] - 8002d40: 7f52 ldrb r2, [r2, #29] - 8002d42: 2a00 cmp r2, #0 - 8002d44: d102 bne.n 8002d4c - 8002d46: f44f 1280 mov.w r2, #1048576 @ 0x100000 - 8002d4a: e000 b.n 8002d4e - 8002d4c: 2200 movs r2, #0 + 800309e: 683a ldr r2, [r7, #0] + 80030a0: 7f52 ldrb r2, [r2, #29] + 80030a2: 2a00 cmp r2, #0 + 80030a4: d102 bne.n 80030ac + 80030a6: f44f 1280 mov.w r2, #1048576 @ 0x100000 + 80030aa: e000 b.n 80030ae + 80030ac: 2200 movs r2, #0 ((uint32_t)dmaconf->ReceiveStoreForward << 25U) | - 8002d4e: 431a orrs r2, r3 + 80030ae: 431a orrs r2, r3 ((uint32_t)dmaconf->TransmitStoreForward << 21U) | - 8002d50: 683b ldr r3, [r7, #0] - 8002d52: 7b9b ldrb r3, [r3, #14] - 8002d54: 055b lsls r3, r3, #21 + 80030b0: 683b ldr r3, [r7, #0] + 80030b2: 7b9b ldrb r3, [r3, #14] + 80030b4: 055b lsls r3, r3, #21 ((uint32_t)((dmaconf->FlushRxPacket == DISABLE) ? 1U : 0U) << 20U) | - 8002d56: 431a orrs r2, r3 + 80030b6: 431a orrs r2, r3 dmaconf->TransmitThresholdControl | - 8002d58: 683b ldr r3, [r7, #0] - 8002d5a: 695b ldr r3, [r3, #20] + 80030b8: 683b ldr r3, [r7, #0] + 80030ba: 695b ldr r3, [r3, #20] ((uint32_t)dmaconf->TransmitStoreForward << 21U) | - 8002d5c: 431a orrs r2, r3 + 80030bc: 431a orrs r2, r3 ((uint32_t)dmaconf->ForwardErrorFrames << 7U) | - 8002d5e: 683b ldr r3, [r7, #0] - 8002d60: 7f1b ldrb r3, [r3, #28] - 8002d62: 01db lsls r3, r3, #7 + 80030be: 683b ldr r3, [r7, #0] + 80030c0: 7f1b ldrb r3, [r3, #28] + 80030c2: 01db lsls r3, r3, #7 dmaconf->TransmitThresholdControl | - 8002d64: 431a orrs r2, r3 + 80030c4: 431a orrs r2, r3 ((uint32_t)dmaconf->ForwardUndersizedGoodFrames << 6U) | - 8002d66: 683b ldr r3, [r7, #0] - 8002d68: 7f9b ldrb r3, [r3, #30] - 8002d6a: 019b lsls r3, r3, #6 + 80030c6: 683b ldr r3, [r7, #0] + 80030c8: 7f9b ldrb r3, [r3, #30] + 80030ca: 019b lsls r3, r3, #6 ((uint32_t)dmaconf->ForwardErrorFrames << 7U) | - 8002d6c: 431a orrs r2, r3 + 80030cc: 431a orrs r2, r3 dmaconf->ReceiveThresholdControl | - 8002d6e: 683b ldr r3, [r7, #0] - 8002d70: 6a1b ldr r3, [r3, #32] + 80030ce: 683b ldr r3, [r7, #0] + 80030d0: 6a1b ldr r3, [r3, #32] ((uint32_t)dmaconf->ForwardUndersizedGoodFrames << 6U) | - 8002d72: 431a orrs r2, r3 + 80030d2: 431a orrs r2, r3 ((uint32_t)dmaconf->SecondFrameOperate << 2U)); - 8002d74: 683b ldr r3, [r7, #0] - 8002d76: f893 3024 ldrb.w r3, [r3, #36] @ 0x24 - 8002d7a: 009b lsls r3, r3, #2 + 80030d4: 683b ldr r3, [r7, #0] + 80030d6: f893 3024 ldrb.w r3, [r3, #36] @ 0x24 + 80030da: 009b lsls r3, r3, #2 tmpreg1 |= (uint32_t)(((uint32_t)((dmaconf->DropTCPIPChecksumErrorFrame == DISABLE) ? 1U : 0U) << 26U) | - 8002d7c: 4313 orrs r3, r2 - 8002d7e: 68fa ldr r2, [r7, #12] - 8002d80: 4313 orrs r3, r2 - 8002d82: 60fb str r3, [r7, #12] + 80030dc: 4313 orrs r3, r2 + 80030de: 68fa ldr r2, [r7, #12] + 80030e0: 4313 orrs r3, r2 + 80030e2: 60fb str r3, [r7, #12] /* Write to ETHERNET DMAOMR */ (heth->Instance)->DMAOMR = (uint32_t)tmpreg1; - 8002d84: 687b ldr r3, [r7, #4] - 8002d86: 681b ldr r3, [r3, #0] - 8002d88: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002d8c: 461a mov r2, r3 - 8002d8e: 68fb ldr r3, [r7, #12] - 8002d90: 6193 str r3, [r2, #24] + 80030e4: 687b ldr r3, [r7, #4] + 80030e6: 681b ldr r3, [r3, #0] + 80030e8: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 80030ec: 461a mov r2, r3 + 80030ee: 68fb ldr r3, [r7, #12] + 80030f0: 6193 str r3, [r2, #24] /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg1 = (heth->Instance)->DMAOMR; - 8002d92: 687b ldr r3, [r7, #4] - 8002d94: 681b ldr r3, [r3, #0] - 8002d96: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002d9a: 699b ldr r3, [r3, #24] - 8002d9c: 60fb str r3, [r7, #12] + 80030f2: 687b ldr r3, [r7, #4] + 80030f4: 681b ldr r3, [r3, #0] + 80030f6: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 80030fa: 699b ldr r3, [r3, #24] + 80030fc: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 8002d9e: 2001 movs r0, #1 - 8002da0: f7ff f8b6 bl 8001f10 + 80030fe: 2001 movs r0, #1 + 8003100: f7ff f8b6 bl 8002270 (heth->Instance)->DMAOMR = tmpreg1; - 8002da4: 687b ldr r3, [r7, #4] - 8002da6: 681b ldr r3, [r3, #0] - 8002da8: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002dac: 461a mov r2, r3 - 8002dae: 68fb ldr r3, [r7, #12] - 8002db0: 6193 str r3, [r2, #24] + 8003104: 687b ldr r3, [r7, #4] + 8003106: 681b ldr r3, [r3, #0] + 8003108: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 800310c: 461a mov r2, r3 + 800310e: 68fb ldr r3, [r7, #12] + 8003110: 6193 str r3, [r2, #24] /*----------------------- ETHERNET DMABMR Configuration --------------------*/ (heth->Instance)->DMABMR = (uint32_t)(((uint32_t)dmaconf->AddressAlignedBeats << 25U) | - 8002db2: 683b ldr r3, [r7, #0] - 8002db4: 791b ldrb r3, [r3, #4] - 8002db6: 065a lsls r2, r3, #25 + 8003112: 683b ldr r3, [r7, #0] + 8003114: 791b ldrb r3, [r3, #4] + 8003116: 065a lsls r2, r3, #25 dmaconf->BurstMode | - 8002db8: 683b ldr r3, [r7, #0] - 8002dba: 689b ldr r3, [r3, #8] + 8003118: 683b ldr r3, [r7, #0] + 800311a: 689b ldr r3, [r3, #8] (heth->Instance)->DMABMR = (uint32_t)(((uint32_t)dmaconf->AddressAlignedBeats << 25U) | - 8002dbc: 431a orrs r2, r3 + 800311c: 431a orrs r2, r3 dmaconf->RxDMABurstLength | /* !! if 4xPBL is selected for Tx or - 8002dbe: 683b ldr r3, [r7, #0] - 8002dc0: 699b ldr r3, [r3, #24] + 800311e: 683b ldr r3, [r7, #0] + 8003120: 699b ldr r3, [r3, #24] dmaconf->BurstMode | - 8002dc2: 431a orrs r2, r3 + 8003122: 431a orrs r2, r3 Rx it is applied for the other */ dmaconf->TxDMABurstLength | - 8002dc4: 683b ldr r3, [r7, #0] - 8002dc6: 691b ldr r3, [r3, #16] + 8003124: 683b ldr r3, [r7, #0] + 8003126: 691b ldr r3, [r3, #16] dmaconf->RxDMABurstLength | /* !! if 4xPBL is selected for Tx or - 8002dc8: 431a orrs r2, r3 + 8003128: 431a orrs r2, r3 ((uint32_t)dmaconf->EnhancedDescriptorFormat << 7U) | - 8002dca: 683b ldr r3, [r7, #0] - 8002dcc: f893 3025 ldrb.w r3, [r3, #37] @ 0x25 - 8002dd0: 01db lsls r3, r3, #7 + 800312a: 683b ldr r3, [r7, #0] + 800312c: f893 3025 ldrb.w r3, [r3, #37] @ 0x25 + 8003130: 01db lsls r3, r3, #7 dmaconf->TxDMABurstLength | - 8002dd2: 431a orrs r2, r3 + 8003132: 431a orrs r2, r3 (dmaconf->DescriptorSkipLength << 2U) | - 8002dd4: 683b ldr r3, [r7, #0] - 8002dd6: 6a9b ldr r3, [r3, #40] @ 0x28 - 8002dd8: 009b lsls r3, r3, #2 + 8003134: 683b ldr r3, [r7, #0] + 8003136: 6a9b ldr r3, [r3, #40] @ 0x28 + 8003138: 009b lsls r3, r3, #2 ((uint32_t)dmaconf->EnhancedDescriptorFormat << 7U) | - 8002dda: 431a orrs r2, r3 + 800313a: 431a orrs r2, r3 dmaconf->DMAArbitration | - 8002ddc: 683b ldr r3, [r7, #0] - 8002dde: 681b ldr r3, [r3, #0] + 800313c: 683b ldr r3, [r7, #0] + 800313e: 681b ldr r3, [r3, #0] (dmaconf->DescriptorSkipLength << 2U) | - 8002de0: 4313 orrs r3, r2 + 8003140: 4313 orrs r3, r2 (heth->Instance)->DMABMR = (uint32_t)(((uint32_t)dmaconf->AddressAlignedBeats << 25U) | - 8002de2: 687a ldr r2, [r7, #4] - 8002de4: 6812 ldr r2, [r2, #0] - 8002de6: f443 0300 orr.w r3, r3, #8388608 @ 0x800000 - 8002dea: f502 5280 add.w r2, r2, #4096 @ 0x1000 - 8002dee: 6013 str r3, [r2, #0] + 8003142: 687a ldr r2, [r7, #4] + 8003144: 6812 ldr r2, [r2, #0] + 8003146: f443 0300 orr.w r3, r3, #8388608 @ 0x800000 + 800314a: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 800314e: 6013 str r3, [r2, #0] ETH_DMABMR_USP); /* Enable use of separate PBL for Rx and Tx */ /* Wait until the write operation will be taken into account: at least four TX_CLK/RX_CLK clock cycles */ tmpreg1 = (heth->Instance)->DMABMR; - 8002df0: 687b ldr r3, [r7, #4] - 8002df2: 681b ldr r3, [r3, #0] - 8002df4: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002df8: 681b ldr r3, [r3, #0] - 8002dfa: 60fb str r3, [r7, #12] + 8003150: 687b ldr r3, [r7, #4] + 8003152: 681b ldr r3, [r3, #0] + 8003154: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8003158: 681b ldr r3, [r3, #0] + 800315a: 60fb str r3, [r7, #12] HAL_Delay(ETH_REG_WRITE_DELAY); - 8002dfc: 2001 movs r0, #1 - 8002dfe: f7ff f887 bl 8001f10 + 800315c: 2001 movs r0, #1 + 800315e: f7ff f887 bl 8002270 (heth->Instance)->DMABMR = tmpreg1; - 8002e02: 687b ldr r3, [r7, #4] - 8002e04: 681b ldr r3, [r3, #0] - 8002e06: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8002e0a: 461a mov r2, r3 - 8002e0c: 68fb ldr r3, [r7, #12] - 8002e0e: 6013 str r3, [r2, #0] + 8003162: 687b ldr r3, [r7, #4] + 8003164: 681b ldr r3, [r3, #0] + 8003166: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 800316a: 461a mov r2, r3 + 800316c: 68fb ldr r3, [r7, #12] + 800316e: 6013 str r3, [r2, #0] } - 8002e10: bf00 nop - 8002e12: 3710 adds r7, #16 - 8002e14: 46bd mov sp, r7 - 8002e16: bd80 pop {r7, pc} - 8002e18: f8de3f23 .word 0xf8de3f23 + 8003170: bf00 nop + 8003172: 3710 adds r7, #16 + 8003174: 46bd mov sp, r7 + 8003176: bd80 pop {r7, pc} + 8003178: f8de3f23 .word 0xf8de3f23 -08002e1c : +0800317c : * @param heth: pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval HAL status */ static void ETH_MACDMAConfig(ETH_HandleTypeDef *heth) { - 8002e1c: b580 push {r7, lr} - 8002e1e: b0a6 sub sp, #152 @ 0x98 - 8002e20: af00 add r7, sp, #0 - 8002e22: 6078 str r0, [r7, #4] + 800317c: b580 push {r7, lr} + 800317e: b0a6 sub sp, #152 @ 0x98 + 8003180: af00 add r7, sp, #0 + 8003182: 6078 str r0, [r7, #4] ETH_MACConfigTypeDef macDefaultConf; ETH_DMAConfigTypeDef dmaDefaultConf; /*--------------- ETHERNET MAC registers default Configuration --------------*/ macDefaultConf.Watchdog = ENABLE; - 8002e24: 2301 movs r3, #1 - 8002e26: f887 3044 strb.w r3, [r7, #68] @ 0x44 + 8003184: 2301 movs r3, #1 + 8003186: f887 3044 strb.w r3, [r7, #68] @ 0x44 macDefaultConf.Jabber = ENABLE; - 8002e2a: 2301 movs r3, #1 - 8002e2c: f887 3045 strb.w r3, [r7, #69] @ 0x45 + 800318a: 2301 movs r3, #1 + 800318c: f887 3045 strb.w r3, [r7, #69] @ 0x45 macDefaultConf.InterPacketGapVal = ETH_INTERFRAMEGAP_96BIT; - 8002e30: 2300 movs r3, #0 - 8002e32: 63fb str r3, [r7, #60] @ 0x3c + 8003190: 2300 movs r3, #0 + 8003192: 63fb str r3, [r7, #60] @ 0x3c macDefaultConf.CarrierSenseDuringTransmit = DISABLE; - 8002e34: 2300 movs r3, #0 - 8002e36: f887 3053 strb.w r3, [r7, #83] @ 0x53 + 8003194: 2300 movs r3, #0 + 8003196: f887 3053 strb.w r3, [r7, #83] @ 0x53 macDefaultConf.ReceiveOwn = ENABLE; - 8002e3a: 2301 movs r3, #1 - 8002e3c: f887 3052 strb.w r3, [r7, #82] @ 0x52 + 800319a: 2301 movs r3, #1 + 800319c: f887 3052 strb.w r3, [r7, #82] @ 0x52 macDefaultConf.LoopbackMode = DISABLE; - 8002e40: 2300 movs r3, #0 - 8002e42: f887 3050 strb.w r3, [r7, #80] @ 0x50 + 80031a0: 2300 movs r3, #0 + 80031a2: f887 3050 strb.w r3, [r7, #80] @ 0x50 macDefaultConf.ChecksumOffload = ENABLE; - 8002e46: 2301 movs r3, #1 - 8002e48: f887 3038 strb.w r3, [r7, #56] @ 0x38 + 80031a6: 2301 movs r3, #1 + 80031a8: f887 3038 strb.w r3, [r7, #56] @ 0x38 macDefaultConf.RetryTransmission = DISABLE; - 8002e4c: 2300 movs r3, #0 - 8002e4e: f887 3054 strb.w r3, [r7, #84] @ 0x54 + 80031ac: 2300 movs r3, #0 + 80031ae: f887 3054 strb.w r3, [r7, #84] @ 0x54 macDefaultConf.AutomaticPadCRCStrip = DISABLE; - 8002e52: 2300 movs r3, #0 - 8002e54: f887 3043 strb.w r3, [r7, #67] @ 0x43 + 80031b2: 2300 movs r3, #0 + 80031b4: f887 3043 strb.w r3, [r7, #67] @ 0x43 macDefaultConf.BackOffLimit = ETH_BACKOFFLIMIT_10; - 8002e58: 2300 movs r3, #0 - 8002e5a: 65bb str r3, [r7, #88] @ 0x58 + 80031b8: 2300 movs r3, #0 + 80031ba: 65bb str r3, [r7, #88] @ 0x58 macDefaultConf.DeferralCheck = DISABLE; - 8002e5c: 2300 movs r3, #0 - 8002e5e: f887 305c strb.w r3, [r7, #92] @ 0x5c + 80031bc: 2300 movs r3, #0 + 80031be: f887 305c strb.w r3, [r7, #92] @ 0x5c macDefaultConf.PauseTime = 0x0U; - 8002e62: 2300 movs r3, #0 - 8002e64: 67fb str r3, [r7, #124] @ 0x7c + 80031c2: 2300 movs r3, #0 + 80031c4: 67fb str r3, [r7, #124] @ 0x7c macDefaultConf.ZeroQuantaPause = DISABLE; - 8002e66: 2300 movs r3, #0 - 8002e68: f887 3080 strb.w r3, [r7, #128] @ 0x80 + 80031c6: 2300 movs r3, #0 + 80031c8: f887 3080 strb.w r3, [r7, #128] @ 0x80 macDefaultConf.PauseLowThreshold = ETH_PAUSELOWTHRESHOLD_MINUS4; - 8002e6c: 2300 movs r3, #0 - 8002e6e: f8c7 3084 str.w r3, [r7, #132] @ 0x84 + 80031cc: 2300 movs r3, #0 + 80031ce: f8c7 3084 str.w r3, [r7, #132] @ 0x84 macDefaultConf.ReceiveFlowControl = DISABLE; - 8002e72: 2300 movs r3, #0 - 8002e74: f887 308a strb.w r3, [r7, #138] @ 0x8a + 80031d2: 2300 movs r3, #0 + 80031d4: f887 308a strb.w r3, [r7, #138] @ 0x8a macDefaultConf.TransmitFlowControl = DISABLE; - 8002e78: 2300 movs r3, #0 - 8002e7a: f887 3088 strb.w r3, [r7, #136] @ 0x88 + 80031d8: 2300 movs r3, #0 + 80031da: f887 3088 strb.w r3, [r7, #136] @ 0x88 macDefaultConf.Speed = ETH_SPEED_100M; - 8002e7e: f44f 4380 mov.w r3, #16384 @ 0x4000 - 8002e82: 64bb str r3, [r7, #72] @ 0x48 + 80031de: f44f 4380 mov.w r3, #16384 @ 0x4000 + 80031e2: 64bb str r3, [r7, #72] @ 0x48 macDefaultConf.DuplexMode = ETH_FULLDUPLEX_MODE; - 8002e84: f44f 6300 mov.w r3, #2048 @ 0x800 - 8002e88: 64fb str r3, [r7, #76] @ 0x4c + 80031e4: f44f 6300 mov.w r3, #2048 @ 0x800 + 80031e8: 64fb str r3, [r7, #76] @ 0x4c macDefaultConf.UnicastPausePacketDetect = DISABLE; - 8002e8a: 2300 movs r3, #0 - 8002e8c: f887 3089 strb.w r3, [r7, #137] @ 0x89 + 80031ea: 2300 movs r3, #0 + 80031ec: f887 3089 strb.w r3, [r7, #137] @ 0x89 /* MAC default configuration */ ETH_SetMACConfig(heth, &macDefaultConf); - 8002e90: f107 0334 add.w r3, r7, #52 @ 0x34 - 8002e94: 4619 mov r1, r3 - 8002e96: 6878 ldr r0, [r7, #4] - 8002e98: f7ff fe86 bl 8002ba8 + 80031f0: f107 0334 add.w r3, r7, #52 @ 0x34 + 80031f4: 4619 mov r1, r3 + 80031f6: 6878 ldr r0, [r7, #4] + 80031f8: f7ff fe86 bl 8002f08 /*--------------- ETHERNET DMA registers default Configuration --------------*/ dmaDefaultConf.DropTCPIPChecksumErrorFrame = ENABLE; - 8002e9c: 2301 movs r3, #1 - 8002e9e: 753b strb r3, [r7, #20] + 80031fc: 2301 movs r3, #1 + 80031fe: 753b strb r3, [r7, #20] dmaDefaultConf.ReceiveStoreForward = ENABLE; - 8002ea0: 2301 movs r3, #1 - 8002ea2: 757b strb r3, [r7, #21] + 8003200: 2301 movs r3, #1 + 8003202: 757b strb r3, [r7, #21] dmaDefaultConf.FlushRxPacket = ENABLE; - 8002ea4: 2301 movs r3, #1 - 8002ea6: f887 3025 strb.w r3, [r7, #37] @ 0x25 + 8003204: 2301 movs r3, #1 + 8003206: f887 3025 strb.w r3, [r7, #37] @ 0x25 dmaDefaultConf.TransmitStoreForward = ENABLE; - 8002eaa: 2301 movs r3, #1 - 8002eac: 75bb strb r3, [r7, #22] + 800320a: 2301 movs r3, #1 + 800320c: 75bb strb r3, [r7, #22] dmaDefaultConf.TransmitThresholdControl = ETH_TRANSMITTHRESHOLDCONTROL_64BYTES; - 8002eae: 2300 movs r3, #0 - 8002eb0: 61fb str r3, [r7, #28] + 800320e: 2300 movs r3, #0 + 8003210: 61fb str r3, [r7, #28] dmaDefaultConf.ForwardErrorFrames = DISABLE; - 8002eb2: 2300 movs r3, #0 - 8002eb4: f887 3024 strb.w r3, [r7, #36] @ 0x24 + 8003212: 2300 movs r3, #0 + 8003214: f887 3024 strb.w r3, [r7, #36] @ 0x24 dmaDefaultConf.ForwardUndersizedGoodFrames = DISABLE; - 8002eb8: 2300 movs r3, #0 - 8002eba: f887 3026 strb.w r3, [r7, #38] @ 0x26 + 8003218: 2300 movs r3, #0 + 800321a: f887 3026 strb.w r3, [r7, #38] @ 0x26 dmaDefaultConf.ReceiveThresholdControl = ETH_RECEIVEDTHRESHOLDCONTROL_64BYTES; - 8002ebe: 2300 movs r3, #0 - 8002ec0: 62bb str r3, [r7, #40] @ 0x28 + 800321e: 2300 movs r3, #0 + 8003220: 62bb str r3, [r7, #40] @ 0x28 dmaDefaultConf.SecondFrameOperate = ENABLE; - 8002ec2: 2301 movs r3, #1 - 8002ec4: f887 302c strb.w r3, [r7, #44] @ 0x2c + 8003222: 2301 movs r3, #1 + 8003224: f887 302c strb.w r3, [r7, #44] @ 0x2c dmaDefaultConf.AddressAlignedBeats = ENABLE; - 8002ec8: 2301 movs r3, #1 - 8002eca: 733b strb r3, [r7, #12] + 8003228: 2301 movs r3, #1 + 800322a: 733b strb r3, [r7, #12] dmaDefaultConf.BurstMode = ETH_BURSTLENGTH_FIXED; - 8002ecc: f44f 3380 mov.w r3, #65536 @ 0x10000 - 8002ed0: 613b str r3, [r7, #16] + 800322c: f44f 3380 mov.w r3, #65536 @ 0x10000 + 8003230: 613b str r3, [r7, #16] dmaDefaultConf.RxDMABurstLength = ETH_RXDMABURSTLENGTH_32BEAT; - 8002ed2: f44f 0380 mov.w r3, #4194304 @ 0x400000 - 8002ed6: 623b str r3, [r7, #32] + 8003232: f44f 0380 mov.w r3, #4194304 @ 0x400000 + 8003236: 623b str r3, [r7, #32] dmaDefaultConf.TxDMABurstLength = ETH_TXDMABURSTLENGTH_32BEAT; - 8002ed8: f44f 5300 mov.w r3, #8192 @ 0x2000 - 8002edc: 61bb str r3, [r7, #24] + 8003238: f44f 5300 mov.w r3, #8192 @ 0x2000 + 800323c: 61bb str r3, [r7, #24] dmaDefaultConf.EnhancedDescriptorFormat = ENABLE; - 8002ede: 2301 movs r3, #1 - 8002ee0: f887 302d strb.w r3, [r7, #45] @ 0x2d + 800323e: 2301 movs r3, #1 + 8003240: f887 302d strb.w r3, [r7, #45] @ 0x2d dmaDefaultConf.DescriptorSkipLength = 0x0U; - 8002ee4: 2300 movs r3, #0 - 8002ee6: 633b str r3, [r7, #48] @ 0x30 + 8003244: 2300 movs r3, #0 + 8003246: 633b str r3, [r7, #48] @ 0x30 dmaDefaultConf.DMAArbitration = ETH_DMAARBITRATION_ROUNDROBIN_RXTX_1_1; - 8002ee8: 2300 movs r3, #0 - 8002eea: 60bb str r3, [r7, #8] + 8003248: 2300 movs r3, #0 + 800324a: 60bb str r3, [r7, #8] /* DMA default configuration */ ETH_SetDMAConfig(heth, &dmaDefaultConf); - 8002eec: f107 0308 add.w r3, r7, #8 - 8002ef0: 4619 mov r1, r3 - 8002ef2: 6878 ldr r0, [r7, #4] - 8002ef4: f7ff ff08 bl 8002d08 + 800324c: f107 0308 add.w r3, r7, #8 + 8003250: 4619 mov r1, r3 + 8003252: 6878 ldr r0, [r7, #4] + 8003254: f7ff ff08 bl 8003068 } - 8002ef8: bf00 nop - 8002efa: 3798 adds r7, #152 @ 0x98 - 8002efc: 46bd mov sp, r7 - 8002efe: bd80 pop {r7, pc} + 8003258: bf00 nop + 800325a: 3798 adds r7, #152 @ 0x98 + 800325c: 46bd mov sp, r7 + 800325e: bd80 pop {r7, pc} -08002f00 : +08003260 : * @arg ETH_MAC_Address3: MAC Address3 * @param Addr Pointer to MAC address buffer data (6 bytes) * @retval HAL status */ static void ETH_MACAddressConfig(ETH_HandleTypeDef *heth, uint32_t MacAddr, uint8_t *Addr) { - 8002f00: b480 push {r7} - 8002f02: b087 sub sp, #28 - 8002f04: af00 add r7, sp, #0 - 8002f06: 60f8 str r0, [r7, #12] - 8002f08: 60b9 str r1, [r7, #8] - 8002f0a: 607a str r2, [r7, #4] + 8003260: b480 push {r7} + 8003262: b087 sub sp, #28 + 8003264: af00 add r7, sp, #0 + 8003266: 60f8 str r0, [r7, #12] + 8003268: 60b9 str r1, [r7, #8] + 800326a: 607a str r2, [r7, #4] /* Prevent unused argument(s) compilation warning */ UNUSED(heth); /* Calculate the selected MAC address high register */ tmpreg1 = ((uint32_t)Addr[5U] << 8U) | (uint32_t)Addr[4U]; - 8002f0c: 687b ldr r3, [r7, #4] - 8002f0e: 3305 adds r3, #5 - 8002f10: 781b ldrb r3, [r3, #0] - 8002f12: 021b lsls r3, r3, #8 - 8002f14: 687a ldr r2, [r7, #4] - 8002f16: 3204 adds r2, #4 - 8002f18: 7812 ldrb r2, [r2, #0] - 8002f1a: 4313 orrs r3, r2 - 8002f1c: 617b str r3, [r7, #20] + 800326c: 687b ldr r3, [r7, #4] + 800326e: 3305 adds r3, #5 + 8003270: 781b ldrb r3, [r3, #0] + 8003272: 021b lsls r3, r3, #8 + 8003274: 687a ldr r2, [r7, #4] + 8003276: 3204 adds r2, #4 + 8003278: 7812 ldrb r2, [r2, #0] + 800327a: 4313 orrs r3, r2 + 800327c: 617b str r3, [r7, #20] /* Load the selected MAC address high register */ (*(__IO uint32_t *)((uint32_t)(ETH_MAC_ADDR_HBASE + MacAddr))) = tmpreg1; - 8002f1e: 68ba ldr r2, [r7, #8] - 8002f20: 4b11 ldr r3, [pc, #68] @ (8002f68 ) - 8002f22: 4413 add r3, r2 - 8002f24: 461a mov r2, r3 - 8002f26: 697b ldr r3, [r7, #20] - 8002f28: 6013 str r3, [r2, #0] + 800327e: 68ba ldr r2, [r7, #8] + 8003280: 4b11 ldr r3, [pc, #68] @ (80032c8 ) + 8003282: 4413 add r3, r2 + 8003284: 461a mov r2, r3 + 8003286: 697b ldr r3, [r7, #20] + 8003288: 6013 str r3, [r2, #0] /* Calculate the selected MAC address low register */ tmpreg1 = ((uint32_t)Addr[3U] << 24U) | ((uint32_t)Addr[2U] << 16U) | ((uint32_t)Addr[1U] << 8U) | Addr[0U]; - 8002f2a: 687b ldr r3, [r7, #4] - 8002f2c: 3303 adds r3, #3 - 8002f2e: 781b ldrb r3, [r3, #0] - 8002f30: 061a lsls r2, r3, #24 - 8002f32: 687b ldr r3, [r7, #4] - 8002f34: 3302 adds r3, #2 - 8002f36: 781b ldrb r3, [r3, #0] - 8002f38: 041b lsls r3, r3, #16 - 8002f3a: 431a orrs r2, r3 - 8002f3c: 687b ldr r3, [r7, #4] - 8002f3e: 3301 adds r3, #1 - 8002f40: 781b ldrb r3, [r3, #0] - 8002f42: 021b lsls r3, r3, #8 - 8002f44: 4313 orrs r3, r2 - 8002f46: 687a ldr r2, [r7, #4] - 8002f48: 7812 ldrb r2, [r2, #0] - 8002f4a: 4313 orrs r3, r2 - 8002f4c: 617b str r3, [r7, #20] + 800328a: 687b ldr r3, [r7, #4] + 800328c: 3303 adds r3, #3 + 800328e: 781b ldrb r3, [r3, #0] + 8003290: 061a lsls r2, r3, #24 + 8003292: 687b ldr r3, [r7, #4] + 8003294: 3302 adds r3, #2 + 8003296: 781b ldrb r3, [r3, #0] + 8003298: 041b lsls r3, r3, #16 + 800329a: 431a orrs r2, r3 + 800329c: 687b ldr r3, [r7, #4] + 800329e: 3301 adds r3, #1 + 80032a0: 781b ldrb r3, [r3, #0] + 80032a2: 021b lsls r3, r3, #8 + 80032a4: 4313 orrs r3, r2 + 80032a6: 687a ldr r2, [r7, #4] + 80032a8: 7812 ldrb r2, [r2, #0] + 80032aa: 4313 orrs r3, r2 + 80032ac: 617b str r3, [r7, #20] /* Load the selected MAC address low register */ (*(__IO uint32_t *)((uint32_t)(ETH_MAC_ADDR_LBASE + MacAddr))) = tmpreg1; - 8002f4e: 68ba ldr r2, [r7, #8] - 8002f50: 4b06 ldr r3, [pc, #24] @ (8002f6c ) - 8002f52: 4413 add r3, r2 - 8002f54: 461a mov r2, r3 - 8002f56: 697b ldr r3, [r7, #20] - 8002f58: 6013 str r3, [r2, #0] + 80032ae: 68ba ldr r2, [r7, #8] + 80032b0: 4b06 ldr r3, [pc, #24] @ (80032cc ) + 80032b2: 4413 add r3, r2 + 80032b4: 461a mov r2, r3 + 80032b6: 697b ldr r3, [r7, #20] + 80032b8: 6013 str r3, [r2, #0] } - 8002f5a: bf00 nop - 8002f5c: 371c adds r7, #28 - 8002f5e: 46bd mov sp, r7 - 8002f60: f85d 7b04 ldr.w r7, [sp], #4 - 8002f64: 4770 bx lr - 8002f66: bf00 nop - 8002f68: 40028040 .word 0x40028040 - 8002f6c: 40028044 .word 0x40028044 + 80032ba: bf00 nop + 80032bc: 371c adds r7, #28 + 80032be: 46bd mov sp, r7 + 80032c0: f85d 7b04 ldr.w r7, [sp], #4 + 80032c4: 4770 bx lr + 80032c6: bf00 nop + 80032c8: 40028040 .word 0x40028040 + 80032cc: 40028044 .word 0x40028044 -08002f70 : +080032d0 : * @param heth: pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_DMATxDescListInit(ETH_HandleTypeDef *heth) { - 8002f70: b480 push {r7} - 8002f72: b085 sub sp, #20 - 8002f74: af00 add r7, sp, #0 - 8002f76: 6078 str r0, [r7, #4] + 80032d0: b480 push {r7} + 80032d2: b085 sub sp, #20 + 80032d4: af00 add r7, sp, #0 + 80032d6: 6078 str r0, [r7, #4] ETH_DMADescTypeDef *dmatxdesc; uint32_t i; /* Fill each DMATxDesc descriptor with the right values */ for (i = 0; i < (uint32_t)ETH_TX_DESC_CNT; i++) - 8002f78: 2300 movs r3, #0 - 8002f7a: 60fb str r3, [r7, #12] - 8002f7c: e03e b.n 8002ffc + 80032d8: 2300 movs r3, #0 + 80032da: 60fb str r3, [r7, #12] + 80032dc: e03e b.n 800335c { dmatxdesc = heth->Init.TxDesc + i; - 8002f7e: 687b ldr r3, [r7, #4] - 8002f80: 68d9 ldr r1, [r3, #12] - 8002f82: 68fa ldr r2, [r7, #12] - 8002f84: 4613 mov r3, r2 - 8002f86: 009b lsls r3, r3, #2 - 8002f88: 4413 add r3, r2 - 8002f8a: 00db lsls r3, r3, #3 - 8002f8c: 440b add r3, r1 - 8002f8e: 60bb str r3, [r7, #8] + 80032de: 687b ldr r3, [r7, #4] + 80032e0: 68d9 ldr r1, [r3, #12] + 80032e2: 68fa ldr r2, [r7, #12] + 80032e4: 4613 mov r3, r2 + 80032e6: 009b lsls r3, r3, #2 + 80032e8: 4413 add r3, r2 + 80032ea: 00db lsls r3, r3, #3 + 80032ec: 440b add r3, r1 + 80032ee: 60bb str r3, [r7, #8] WRITE_REG(dmatxdesc->DESC0, 0x0); - 8002f90: 68bb ldr r3, [r7, #8] - 8002f92: 2200 movs r2, #0 - 8002f94: 601a str r2, [r3, #0] + 80032f0: 68bb ldr r3, [r7, #8] + 80032f2: 2200 movs r2, #0 + 80032f4: 601a str r2, [r3, #0] WRITE_REG(dmatxdesc->DESC1, 0x0); - 8002f96: 68bb ldr r3, [r7, #8] - 8002f98: 2200 movs r2, #0 - 8002f9a: 605a str r2, [r3, #4] + 80032f6: 68bb ldr r3, [r7, #8] + 80032f8: 2200 movs r2, #0 + 80032fa: 605a str r2, [r3, #4] WRITE_REG(dmatxdesc->DESC2, 0x0); - 8002f9c: 68bb ldr r3, [r7, #8] - 8002f9e: 2200 movs r2, #0 - 8002fa0: 609a str r2, [r3, #8] + 80032fc: 68bb ldr r3, [r7, #8] + 80032fe: 2200 movs r2, #0 + 8003300: 609a str r2, [r3, #8] WRITE_REG(dmatxdesc->DESC3, 0x0); - 8002fa2: 68bb ldr r3, [r7, #8] - 8002fa4: 2200 movs r2, #0 - 8002fa6: 60da str r2, [r3, #12] + 8003302: 68bb ldr r3, [r7, #8] + 8003304: 2200 movs r2, #0 + 8003306: 60da str r2, [r3, #12] WRITE_REG(heth->TxDescList.TxDesc[i], (uint32_t)dmatxdesc); - 8002fa8: 68b9 ldr r1, [r7, #8] - 8002faa: 687b ldr r3, [r7, #4] - 8002fac: 68fa ldr r2, [r7, #12] - 8002fae: 3206 adds r2, #6 - 8002fb0: f843 1022 str.w r1, [r3, r2, lsl #2] + 8003308: 68b9 ldr r1, [r7, #8] + 800330a: 687b ldr r3, [r7, #4] + 800330c: 68fa ldr r2, [r7, #12] + 800330e: 3206 adds r2, #6 + 8003310: f843 1022 str.w r1, [r3, r2, lsl #2] /* Set Second Address Chained bit */ SET_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_TCH); - 8002fb4: 68bb ldr r3, [r7, #8] - 8002fb6: 681b ldr r3, [r3, #0] - 8002fb8: f443 1280 orr.w r2, r3, #1048576 @ 0x100000 - 8002fbc: 68bb ldr r3, [r7, #8] - 8002fbe: 601a str r2, [r3, #0] + 8003314: 68bb ldr r3, [r7, #8] + 8003316: 681b ldr r3, [r3, #0] + 8003318: f443 1280 orr.w r2, r3, #1048576 @ 0x100000 + 800331c: 68bb ldr r3, [r7, #8] + 800331e: 601a str r2, [r3, #0] if (i < ((uint32_t)ETH_TX_DESC_CNT - 1U)) - 8002fc0: 68fb ldr r3, [r7, #12] - 8002fc2: 2b02 cmp r3, #2 - 8002fc4: d80c bhi.n 8002fe0 + 8003320: 68fb ldr r3, [r7, #12] + 8003322: 2b02 cmp r3, #2 + 8003324: d80c bhi.n 8003340 { WRITE_REG(dmatxdesc->DESC3, (uint32_t)(heth->Init.TxDesc + i + 1U)); - 8002fc6: 687b ldr r3, [r7, #4] - 8002fc8: 68d9 ldr r1, [r3, #12] - 8002fca: 68fb ldr r3, [r7, #12] - 8002fcc: 1c5a adds r2, r3, #1 - 8002fce: 4613 mov r3, r2 - 8002fd0: 009b lsls r3, r3, #2 - 8002fd2: 4413 add r3, r2 - 8002fd4: 00db lsls r3, r3, #3 - 8002fd6: 440b add r3, r1 - 8002fd8: 461a mov r2, r3 - 8002fda: 68bb ldr r3, [r7, #8] - 8002fdc: 60da str r2, [r3, #12] - 8002fde: e004 b.n 8002fea + 8003326: 687b ldr r3, [r7, #4] + 8003328: 68d9 ldr r1, [r3, #12] + 800332a: 68fb ldr r3, [r7, #12] + 800332c: 1c5a adds r2, r3, #1 + 800332e: 4613 mov r3, r2 + 8003330: 009b lsls r3, r3, #2 + 8003332: 4413 add r3, r2 + 8003334: 00db lsls r3, r3, #3 + 8003336: 440b add r3, r1 + 8003338: 461a mov r2, r3 + 800333a: 68bb ldr r3, [r7, #8] + 800333c: 60da str r2, [r3, #12] + 800333e: e004 b.n 800334a } else { WRITE_REG(dmatxdesc->DESC3, (uint32_t)(heth->Init.TxDesc)); - 8002fe0: 687b ldr r3, [r7, #4] - 8002fe2: 68db ldr r3, [r3, #12] - 8002fe4: 461a mov r2, r3 - 8002fe6: 68bb ldr r3, [r7, #8] - 8002fe8: 60da str r2, [r3, #12] + 8003340: 687b ldr r3, [r7, #4] + 8003342: 68db ldr r3, [r3, #12] + 8003344: 461a mov r2, r3 + 8003346: 68bb ldr r3, [r7, #8] + 8003348: 60da str r2, [r3, #12] } /* Set the DMA Tx descriptors checksum insertion */ SET_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_CHECKSUMTCPUDPICMPFULL); - 8002fea: 68bb ldr r3, [r7, #8] - 8002fec: 681b ldr r3, [r3, #0] - 8002fee: f443 0240 orr.w r2, r3, #12582912 @ 0xc00000 - 8002ff2: 68bb ldr r3, [r7, #8] - 8002ff4: 601a str r2, [r3, #0] + 800334a: 68bb ldr r3, [r7, #8] + 800334c: 681b ldr r3, [r3, #0] + 800334e: f443 0240 orr.w r2, r3, #12582912 @ 0xc00000 + 8003352: 68bb ldr r3, [r7, #8] + 8003354: 601a str r2, [r3, #0] for (i = 0; i < (uint32_t)ETH_TX_DESC_CNT; i++) - 8002ff6: 68fb ldr r3, [r7, #12] - 8002ff8: 3301 adds r3, #1 - 8002ffa: 60fb str r3, [r7, #12] - 8002ffc: 68fb ldr r3, [r7, #12] - 8002ffe: 2b03 cmp r3, #3 - 8003000: d9bd bls.n 8002f7e + 8003356: 68fb ldr r3, [r7, #12] + 8003358: 3301 adds r3, #1 + 800335a: 60fb str r3, [r7, #12] + 800335c: 68fb ldr r3, [r7, #12] + 800335e: 2b03 cmp r3, #3 + 8003360: d9bd bls.n 80032de } heth->TxDescList.CurTxDesc = 0; - 8003002: 687b ldr r3, [r7, #4] - 8003004: 2200 movs r2, #0 - 8003006: 629a str r2, [r3, #40] @ 0x28 + 8003362: 687b ldr r3, [r7, #4] + 8003364: 2200 movs r2, #0 + 8003366: 629a str r2, [r3, #40] @ 0x28 /* Set Transmit Descriptor List Address */ WRITE_REG(heth->Instance->DMATDLAR, (uint32_t) heth->Init.TxDesc); - 8003008: 687b ldr r3, [r7, #4] - 800300a: 68da ldr r2, [r3, #12] - 800300c: 687b ldr r3, [r7, #4] - 800300e: 681b ldr r3, [r3, #0] - 8003010: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8003014: 611a str r2, [r3, #16] + 8003368: 687b ldr r3, [r7, #4] + 800336a: 68da ldr r2, [r3, #12] + 800336c: 687b ldr r3, [r7, #4] + 800336e: 681b ldr r3, [r3, #0] + 8003370: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8003374: 611a str r2, [r3, #16] } - 8003016: bf00 nop - 8003018: 3714 adds r7, #20 - 800301a: 46bd mov sp, r7 - 800301c: f85d 7b04 ldr.w r7, [sp], #4 - 8003020: 4770 bx lr + 8003376: bf00 nop + 8003378: 3714 adds r7, #20 + 800337a: 46bd mov sp, r7 + 800337c: f85d 7b04 ldr.w r7, [sp], #4 + 8003380: 4770 bx lr -08003022 : +08003382 : * @param heth: pointer to a ETH_HandleTypeDef structure that contains * the configuration information for ETHERNET module * @retval None */ static void ETH_DMARxDescListInit(ETH_HandleTypeDef *heth) { - 8003022: b480 push {r7} - 8003024: b085 sub sp, #20 - 8003026: af00 add r7, sp, #0 - 8003028: 6078 str r0, [r7, #4] + 8003382: b480 push {r7} + 8003384: b085 sub sp, #20 + 8003386: af00 add r7, sp, #0 + 8003388: 6078 str r0, [r7, #4] ETH_DMADescTypeDef *dmarxdesc; uint32_t i; for (i = 0; i < (uint32_t)ETH_RX_DESC_CNT; i++) - 800302a: 2300 movs r3, #0 - 800302c: 60fb str r3, [r7, #12] - 800302e: e046 b.n 80030be + 800338a: 2300 movs r3, #0 + 800338c: 60fb str r3, [r7, #12] + 800338e: e046 b.n 800341e { dmarxdesc = heth->Init.RxDesc + i; - 8003030: 687b ldr r3, [r7, #4] - 8003032: 6919 ldr r1, [r3, #16] - 8003034: 68fa ldr r2, [r7, #12] - 8003036: 4613 mov r3, r2 - 8003038: 009b lsls r3, r3, #2 - 800303a: 4413 add r3, r2 - 800303c: 00db lsls r3, r3, #3 - 800303e: 440b add r3, r1 - 8003040: 60bb str r3, [r7, #8] + 8003390: 687b ldr r3, [r7, #4] + 8003392: 6919 ldr r1, [r3, #16] + 8003394: 68fa ldr r2, [r7, #12] + 8003396: 4613 mov r3, r2 + 8003398: 009b lsls r3, r3, #2 + 800339a: 4413 add r3, r2 + 800339c: 00db lsls r3, r3, #3 + 800339e: 440b add r3, r1 + 80033a0: 60bb str r3, [r7, #8] WRITE_REG(dmarxdesc->DESC0, 0x0); - 8003042: 68bb ldr r3, [r7, #8] - 8003044: 2200 movs r2, #0 - 8003046: 601a str r2, [r3, #0] + 80033a2: 68bb ldr r3, [r7, #8] + 80033a4: 2200 movs r2, #0 + 80033a6: 601a str r2, [r3, #0] WRITE_REG(dmarxdesc->DESC1, 0x0); - 8003048: 68bb ldr r3, [r7, #8] - 800304a: 2200 movs r2, #0 - 800304c: 605a str r2, [r3, #4] + 80033a8: 68bb ldr r3, [r7, #8] + 80033aa: 2200 movs r2, #0 + 80033ac: 605a str r2, [r3, #4] WRITE_REG(dmarxdesc->DESC2, 0x0); - 800304e: 68bb ldr r3, [r7, #8] - 8003050: 2200 movs r2, #0 - 8003052: 609a str r2, [r3, #8] + 80033ae: 68bb ldr r3, [r7, #8] + 80033b0: 2200 movs r2, #0 + 80033b2: 609a str r2, [r3, #8] WRITE_REG(dmarxdesc->DESC3, 0x0); - 8003054: 68bb ldr r3, [r7, #8] - 8003056: 2200 movs r2, #0 - 8003058: 60da str r2, [r3, #12] + 80033b4: 68bb ldr r3, [r7, #8] + 80033b6: 2200 movs r2, #0 + 80033b8: 60da str r2, [r3, #12] WRITE_REG(dmarxdesc->BackupAddr0, 0x0); - 800305a: 68bb ldr r3, [r7, #8] - 800305c: 2200 movs r2, #0 - 800305e: 621a str r2, [r3, #32] + 80033ba: 68bb ldr r3, [r7, #8] + 80033bc: 2200 movs r2, #0 + 80033be: 621a str r2, [r3, #32] WRITE_REG(dmarxdesc->BackupAddr1, 0x0); - 8003060: 68bb ldr r3, [r7, #8] - 8003062: 2200 movs r2, #0 - 8003064: 625a str r2, [r3, #36] @ 0x24 + 80033c0: 68bb ldr r3, [r7, #8] + 80033c2: 2200 movs r2, #0 + 80033c4: 625a str r2, [r3, #36] @ 0x24 /* Set Own bit of the Rx descriptor Status */ dmarxdesc->DESC0 = ETH_DMARXDESC_OWN; - 8003066: 68bb ldr r3, [r7, #8] - 8003068: f04f 4200 mov.w r2, #2147483648 @ 0x80000000 - 800306c: 601a str r2, [r3, #0] + 80033c6: 68bb ldr r3, [r7, #8] + 80033c8: f04f 4200 mov.w r2, #2147483648 @ 0x80000000 + 80033cc: 601a str r2, [r3, #0] /* Set Buffer1 size and Second Address Chained bit */ dmarxdesc->DESC1 = ETH_DMARXDESC_RCH | ETH_RX_BUF_SIZE; - 800306e: 68bb ldr r3, [r7, #8] - 8003070: f244 52f8 movw r2, #17912 @ 0x45f8 - 8003074: 605a str r2, [r3, #4] + 80033ce: 68bb ldr r3, [r7, #8] + 80033d0: f244 52f8 movw r2, #17912 @ 0x45f8 + 80033d4: 605a str r2, [r3, #4] /* Enable Ethernet DMA Rx Descriptor interrupt */ dmarxdesc->DESC1 &= ~ETH_DMARXDESC_DIC; - 8003076: 68bb ldr r3, [r7, #8] - 8003078: 685b ldr r3, [r3, #4] - 800307a: f023 4200 bic.w r2, r3, #2147483648 @ 0x80000000 - 800307e: 68bb ldr r3, [r7, #8] - 8003080: 605a str r2, [r3, #4] + 80033d6: 68bb ldr r3, [r7, #8] + 80033d8: 685b ldr r3, [r3, #4] + 80033da: f023 4200 bic.w r2, r3, #2147483648 @ 0x80000000 + 80033de: 68bb ldr r3, [r7, #8] + 80033e0: 605a str r2, [r3, #4] /* Set Rx descritors addresses */ WRITE_REG(heth->RxDescList.RxDesc[i], (uint32_t)dmarxdesc); - 8003082: 68b9 ldr r1, [r7, #8] - 8003084: 687b ldr r3, [r7, #4] - 8003086: 68fa ldr r2, [r7, #12] - 8003088: 3212 adds r2, #18 - 800308a: f843 1022 str.w r1, [r3, r2, lsl #2] + 80033e2: 68b9 ldr r1, [r7, #8] + 80033e4: 687b ldr r3, [r7, #4] + 80033e6: 68fa ldr r2, [r7, #12] + 80033e8: 3212 adds r2, #18 + 80033ea: f843 1022 str.w r1, [r3, r2, lsl #2] if (i < ((uint32_t)ETH_RX_DESC_CNT - 1U)) - 800308e: 68fb ldr r3, [r7, #12] - 8003090: 2b02 cmp r3, #2 - 8003092: d80c bhi.n 80030ae + 80033ee: 68fb ldr r3, [r7, #12] + 80033f0: 2b02 cmp r3, #2 + 80033f2: d80c bhi.n 800340e { WRITE_REG(dmarxdesc->DESC3, (uint32_t)(heth->Init.RxDesc + i + 1U)); - 8003094: 687b ldr r3, [r7, #4] - 8003096: 6919 ldr r1, [r3, #16] - 8003098: 68fb ldr r3, [r7, #12] - 800309a: 1c5a adds r2, r3, #1 - 800309c: 4613 mov r3, r2 - 800309e: 009b lsls r3, r3, #2 - 80030a0: 4413 add r3, r2 - 80030a2: 00db lsls r3, r3, #3 - 80030a4: 440b add r3, r1 - 80030a6: 461a mov r2, r3 - 80030a8: 68bb ldr r3, [r7, #8] - 80030aa: 60da str r2, [r3, #12] - 80030ac: e004 b.n 80030b8 + 80033f4: 687b ldr r3, [r7, #4] + 80033f6: 6919 ldr r1, [r3, #16] + 80033f8: 68fb ldr r3, [r7, #12] + 80033fa: 1c5a adds r2, r3, #1 + 80033fc: 4613 mov r3, r2 + 80033fe: 009b lsls r3, r3, #2 + 8003400: 4413 add r3, r2 + 8003402: 00db lsls r3, r3, #3 + 8003404: 440b add r3, r1 + 8003406: 461a mov r2, r3 + 8003408: 68bb ldr r3, [r7, #8] + 800340a: 60da str r2, [r3, #12] + 800340c: e004 b.n 8003418 } else { WRITE_REG(dmarxdesc->DESC3, (uint32_t)(heth->Init.RxDesc)); - 80030ae: 687b ldr r3, [r7, #4] - 80030b0: 691b ldr r3, [r3, #16] - 80030b2: 461a mov r2, r3 - 80030b4: 68bb ldr r3, [r7, #8] - 80030b6: 60da str r2, [r3, #12] + 800340e: 687b ldr r3, [r7, #4] + 8003410: 691b ldr r3, [r3, #16] + 8003412: 461a mov r2, r3 + 8003414: 68bb ldr r3, [r7, #8] + 8003416: 60da str r2, [r3, #12] for (i = 0; i < (uint32_t)ETH_RX_DESC_CNT; i++) - 80030b8: 68fb ldr r3, [r7, #12] - 80030ba: 3301 adds r3, #1 - 80030bc: 60fb str r3, [r7, #12] - 80030be: 68fb ldr r3, [r7, #12] - 80030c0: 2b03 cmp r3, #3 - 80030c2: d9b5 bls.n 8003030 + 8003418: 68fb ldr r3, [r7, #12] + 800341a: 3301 adds r3, #1 + 800341c: 60fb str r3, [r7, #12] + 800341e: 68fb ldr r3, [r7, #12] + 8003420: 2b03 cmp r3, #3 + 8003422: d9b5 bls.n 8003390 } } WRITE_REG(heth->RxDescList.RxDescIdx, 0); - 80030c4: 687b ldr r3, [r7, #4] - 80030c6: 2200 movs r2, #0 - 80030c8: 65da str r2, [r3, #92] @ 0x5c + 8003424: 687b ldr r3, [r7, #4] + 8003426: 2200 movs r2, #0 + 8003428: 65da str r2, [r3, #92] @ 0x5c WRITE_REG(heth->RxDescList.RxDescCnt, 0); - 80030ca: 687b ldr r3, [r7, #4] - 80030cc: 2200 movs r2, #0 - 80030ce: 661a str r2, [r3, #96] @ 0x60 + 800342a: 687b ldr r3, [r7, #4] + 800342c: 2200 movs r2, #0 + 800342e: 661a str r2, [r3, #96] @ 0x60 WRITE_REG(heth->RxDescList.RxBuildDescIdx, 0); - 80030d0: 687b ldr r3, [r7, #4] - 80030d2: 2200 movs r2, #0 - 80030d4: 669a str r2, [r3, #104] @ 0x68 + 8003430: 687b ldr r3, [r7, #4] + 8003432: 2200 movs r2, #0 + 8003434: 669a str r2, [r3, #104] @ 0x68 WRITE_REG(heth->RxDescList.RxBuildDescCnt, 0); - 80030d6: 687b ldr r3, [r7, #4] - 80030d8: 2200 movs r2, #0 - 80030da: 66da str r2, [r3, #108] @ 0x6c + 8003436: 687b ldr r3, [r7, #4] + 8003438: 2200 movs r2, #0 + 800343a: 66da str r2, [r3, #108] @ 0x6c WRITE_REG(heth->RxDescList.ItMode, 0); - 80030dc: 687b ldr r3, [r7, #4] - 80030de: 2200 movs r2, #0 - 80030e0: 659a str r2, [r3, #88] @ 0x58 + 800343c: 687b ldr r3, [r7, #4] + 800343e: 2200 movs r2, #0 + 8003440: 659a str r2, [r3, #88] @ 0x58 /* Set Receive Descriptor List Address */ WRITE_REG(heth->Instance->DMARDLAR, (uint32_t) heth->Init.RxDesc); - 80030e2: 687b ldr r3, [r7, #4] - 80030e4: 691a ldr r2, [r3, #16] - 80030e6: 687b ldr r3, [r7, #4] - 80030e8: 681b ldr r3, [r3, #0] - 80030ea: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 80030ee: 60da str r2, [r3, #12] + 8003442: 687b ldr r3, [r7, #4] + 8003444: 691a ldr r2, [r3, #16] + 8003446: 687b ldr r3, [r7, #4] + 8003448: 681b ldr r3, [r3, #0] + 800344a: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 800344e: 60da str r2, [r3, #12] } - 80030f0: bf00 nop - 80030f2: 3714 adds r7, #20 - 80030f4: 46bd mov sp, r7 - 80030f6: f85d 7b04 ldr.w r7, [sp], #4 - 80030fa: 4770 bx lr + 8003450: bf00 nop + 8003452: 3714 adds r7, #20 + 8003454: 46bd mov sp, r7 + 8003456: f85d 7b04 ldr.w r7, [sp], #4 + 800345a: 4770 bx lr -080030fc : +0800345c : * @param pTxConfig: Tx packet configuration * @param ItMode: Enable or disable Tx EOT interrept * @retval Status */ static uint32_t ETH_Prepare_Tx_Descriptors(ETH_HandleTypeDef *heth, ETH_TxPacketConfig *pTxConfig, uint32_t ItMode) { - 80030fc: b480 push {r7} - 80030fe: b08d sub sp, #52 @ 0x34 - 8003100: af00 add r7, sp, #0 - 8003102: 60f8 str r0, [r7, #12] - 8003104: 60b9 str r1, [r7, #8] - 8003106: 607a str r2, [r7, #4] + 800345c: b480 push {r7} + 800345e: b08d sub sp, #52 @ 0x34 + 8003460: af00 add r7, sp, #0 + 8003462: 60f8 str r0, [r7, #12] + 8003464: 60b9 str r1, [r7, #8] + 8003466: 607a str r2, [r7, #4] ETH_TxDescListTypeDef *dmatxdesclist = &heth->TxDescList; - 8003108: 68fb ldr r3, [r7, #12] - 800310a: 3318 adds r3, #24 - 800310c: 617b str r3, [r7, #20] + 8003468: 68fb ldr r3, [r7, #12] + 800346a: 3318 adds r3, #24 + 800346c: 617b str r3, [r7, #20] uint32_t descidx = dmatxdesclist->CurTxDesc; - 800310e: 697b ldr r3, [r7, #20] - 8003110: 691b ldr r3, [r3, #16] - 8003112: 62fb str r3, [r7, #44] @ 0x2c + 800346e: 697b ldr r3, [r7, #20] + 8003470: 691b ldr r3, [r3, #16] + 8003472: 62fb str r3, [r7, #44] @ 0x2c uint32_t firstdescidx = dmatxdesclist->CurTxDesc; - 8003114: 697b ldr r3, [r7, #20] - 8003116: 691b ldr r3, [r3, #16] - 8003118: 613b str r3, [r7, #16] + 8003474: 697b ldr r3, [r7, #20] + 8003476: 691b ldr r3, [r3, #16] + 8003478: 613b str r3, [r7, #16] uint32_t idx; uint32_t descnbr = 0; - 800311a: 2300 movs r3, #0 - 800311c: 627b str r3, [r7, #36] @ 0x24 + 800347a: 2300 movs r3, #0 + 800347c: 627b str r3, [r7, #36] @ 0x24 ETH_DMADescTypeDef *dmatxdesc = (ETH_DMADescTypeDef *)dmatxdesclist->TxDesc[descidx]; - 800311e: 697b ldr r3, [r7, #20] - 8003120: 6afa ldr r2, [r7, #44] @ 0x2c - 8003122: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8003126: 623b str r3, [r7, #32] + 800347e: 697b ldr r3, [r7, #20] + 8003480: 6afa ldr r2, [r7, #44] @ 0x2c + 8003482: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8003486: 623b str r3, [r7, #32] ETH_BufferTypeDef *txbuffer = pTxConfig->TxBuffer; - 8003128: 68bb ldr r3, [r7, #8] - 800312a: 689b ldr r3, [r3, #8] - 800312c: 61fb str r3, [r7, #28] + 8003488: 68bb ldr r3, [r7, #8] + 800348a: 689b ldr r3, [r3, #8] + 800348c: 61fb str r3, [r7, #28] uint32_t bd_count = 0; - 800312e: 2300 movs r3, #0 - 8003130: 61bb str r3, [r7, #24] + 800348e: 2300 movs r3, #0 + 8003490: 61bb str r3, [r7, #24] /* Current Tx Descriptor Owned by DMA: cannot be used by the application */ if ((READ_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_OWN) == ETH_DMATXDESC_OWN) - 8003132: 6a3b ldr r3, [r7, #32] - 8003134: 681b ldr r3, [r3, #0] - 8003136: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 800313a: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 800313e: d007 beq.n 8003150 + 8003492: 6a3b ldr r3, [r7, #32] + 8003494: 681b ldr r3, [r3, #0] + 8003496: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 800349a: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 800349e: d007 beq.n 80034b0 || (dmatxdesclist->PacketAddress[descidx] != NULL)) - 8003140: 697a ldr r2, [r7, #20] - 8003142: 6afb ldr r3, [r7, #44] @ 0x2c - 8003144: 3304 adds r3, #4 - 8003146: 009b lsls r3, r3, #2 - 8003148: 4413 add r3, r2 - 800314a: 685b ldr r3, [r3, #4] - 800314c: 2b00 cmp r3, #0 - 800314e: d001 beq.n 8003154 + 80034a0: 697a ldr r2, [r7, #20] + 80034a2: 6afb ldr r3, [r7, #44] @ 0x2c + 80034a4: 3304 adds r3, #4 + 80034a6: 009b lsls r3, r3, #2 + 80034a8: 4413 add r3, r2 + 80034aa: 685b ldr r3, [r3, #4] + 80034ac: 2b00 cmp r3, #0 + 80034ae: d001 beq.n 80034b4 { return HAL_ETH_ERROR_BUSY; - 8003150: 2302 movs r3, #2 - 8003152: e103 b.n 800335c + 80034b0: 2302 movs r3, #2 + 80034b2: e103 b.n 80036bc } descnbr += 1U; - 8003154: 6a7b ldr r3, [r7, #36] @ 0x24 - 8003156: 3301 adds r3, #1 - 8003158: 627b str r3, [r7, #36] @ 0x24 + 80034b4: 6a7b ldr r3, [r7, #36] @ 0x24 + 80034b6: 3301 adds r3, #1 + 80034b8: 627b str r3, [r7, #36] @ 0x24 /* Set header or buffer 1 address */ WRITE_REG(dmatxdesc->DESC2, (uint32_t)txbuffer->buffer); - 800315a: 69fb ldr r3, [r7, #28] - 800315c: 681b ldr r3, [r3, #0] - 800315e: 461a mov r2, r3 - 8003160: 6a3b ldr r3, [r7, #32] - 8003162: 609a str r2, [r3, #8] + 80034ba: 69fb ldr r3, [r7, #28] + 80034bc: 681b ldr r3, [r3, #0] + 80034be: 461a mov r2, r3 + 80034c0: 6a3b ldr r3, [r7, #32] + 80034c2: 609a str r2, [r3, #8] /* Set header or buffer 1 Length */ MODIFY_REG(dmatxdesc->DESC1, ETH_DMATXDESC_TBS1, txbuffer->len); - 8003164: 6a3b ldr r3, [r7, #32] - 8003166: 685b ldr r3, [r3, #4] - 8003168: f423 53ff bic.w r3, r3, #8160 @ 0x1fe0 - 800316c: f023 031f bic.w r3, r3, #31 - 8003170: 69fa ldr r2, [r7, #28] - 8003172: 6852 ldr r2, [r2, #4] - 8003174: 431a orrs r2, r3 - 8003176: 6a3b ldr r3, [r7, #32] - 8003178: 605a str r2, [r3, #4] + 80034c4: 6a3b ldr r3, [r7, #32] + 80034c6: 685b ldr r3, [r3, #4] + 80034c8: f423 53ff bic.w r3, r3, #8160 @ 0x1fe0 + 80034cc: f023 031f bic.w r3, r3, #31 + 80034d0: 69fa ldr r2, [r7, #28] + 80034d2: 6852 ldr r2, [r2, #4] + 80034d4: 431a orrs r2, r3 + 80034d6: 6a3b ldr r3, [r7, #32] + 80034d8: 605a str r2, [r3, #4] if (READ_BIT(pTxConfig->Attributes, ETH_TX_PACKETS_FEATURES_CSUM) != 0U) - 800317a: 68bb ldr r3, [r7, #8] - 800317c: 681b ldr r3, [r3, #0] - 800317e: f003 0301 and.w r3, r3, #1 - 8003182: 2b00 cmp r3, #0 - 8003184: d008 beq.n 8003198 + 80034da: 68bb ldr r3, [r7, #8] + 80034dc: 681b ldr r3, [r3, #0] + 80034de: f003 0301 and.w r3, r3, #1 + 80034e2: 2b00 cmp r3, #0 + 80034e4: d008 beq.n 80034f8 { MODIFY_REG(dmatxdesc->DESC0, ETH_DMATXDESC_CIC, pTxConfig->ChecksumCtrl); - 8003186: 6a3b ldr r3, [r7, #32] - 8003188: 681b ldr r3, [r3, #0] - 800318a: f423 0240 bic.w r2, r3, #12582912 @ 0xc00000 - 800318e: 68bb ldr r3, [r7, #8] - 8003190: 695b ldr r3, [r3, #20] - 8003192: 431a orrs r2, r3 - 8003194: 6a3b ldr r3, [r7, #32] - 8003196: 601a str r2, [r3, #0] + 80034e6: 6a3b ldr r3, [r7, #32] + 80034e8: 681b ldr r3, [r3, #0] + 80034ea: f423 0240 bic.w r2, r3, #12582912 @ 0xc00000 + 80034ee: 68bb ldr r3, [r7, #8] + 80034f0: 695b ldr r3, [r3, #20] + 80034f2: 431a orrs r2, r3 + 80034f4: 6a3b ldr r3, [r7, #32] + 80034f6: 601a str r2, [r3, #0] } if (READ_BIT(pTxConfig->Attributes, ETH_TX_PACKETS_FEATURES_CRCPAD) != 0U) - 8003198: 68bb ldr r3, [r7, #8] - 800319a: 681b ldr r3, [r3, #0] - 800319c: f003 0320 and.w r3, r3, #32 - 80031a0: 2b00 cmp r3, #0 - 80031a2: d008 beq.n 80031b6 + 80034f8: 68bb ldr r3, [r7, #8] + 80034fa: 681b ldr r3, [r3, #0] + 80034fc: f003 0320 and.w r3, r3, #32 + 8003500: 2b00 cmp r3, #0 + 8003502: d008 beq.n 8003516 { MODIFY_REG(dmatxdesc->DESC0, ETH_CRC_PAD_DISABLE, pTxConfig->CRCPadCtrl); - 80031a4: 6a3b ldr r3, [r7, #32] - 80031a6: 681b ldr r3, [r3, #0] - 80031a8: f023 6240 bic.w r2, r3, #201326592 @ 0xc000000 - 80031ac: 68bb ldr r3, [r7, #8] - 80031ae: 691b ldr r3, [r3, #16] - 80031b0: 431a orrs r2, r3 - 80031b2: 6a3b ldr r3, [r7, #32] - 80031b4: 601a str r2, [r3, #0] + 8003504: 6a3b ldr r3, [r7, #32] + 8003506: 681b ldr r3, [r3, #0] + 8003508: f023 6240 bic.w r2, r3, #201326592 @ 0xc000000 + 800350c: 68bb ldr r3, [r7, #8] + 800350e: 691b ldr r3, [r3, #16] + 8003510: 431a orrs r2, r3 + 8003512: 6a3b ldr r3, [r7, #32] + 8003514: 601a str r2, [r3, #0] } if (READ_BIT(pTxConfig->Attributes, ETH_TX_PACKETS_FEATURES_VLANTAG) != 0U) - 80031b6: 68bb ldr r3, [r7, #8] - 80031b8: 681b ldr r3, [r3, #0] - 80031ba: f003 0304 and.w r3, r3, #4 - 80031be: 2b00 cmp r3, #0 - 80031c0: d005 beq.n 80031ce + 8003516: 68bb ldr r3, [r7, #8] + 8003518: 681b ldr r3, [r3, #0] + 800351a: f003 0304 and.w r3, r3, #4 + 800351e: 2b00 cmp r3, #0 + 8003520: d005 beq.n 800352e { /* Set Vlan Type */ SET_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_VF); - 80031c2: 6a3b ldr r3, [r7, #32] - 80031c4: 681b ldr r3, [r3, #0] - 80031c6: f043 0280 orr.w r2, r3, #128 @ 0x80 - 80031ca: 6a3b ldr r3, [r7, #32] - 80031cc: 601a str r2, [r3, #0] + 8003522: 6a3b ldr r3, [r7, #32] + 8003524: 681b ldr r3, [r3, #0] + 8003526: f043 0280 orr.w r2, r3, #128 @ 0x80 + 800352a: 6a3b ldr r3, [r7, #32] + 800352c: 601a str r2, [r3, #0] } /* Mark it as First Descriptor */ SET_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_FS); - 80031ce: 6a3b ldr r3, [r7, #32] - 80031d0: 681b ldr r3, [r3, #0] - 80031d2: f043 5280 orr.w r2, r3, #268435456 @ 0x10000000 - 80031d6: 6a3b ldr r3, [r7, #32] - 80031d8: 601a str r2, [r3, #0] + 800352e: 6a3b ldr r3, [r7, #32] + 8003530: 681b ldr r3, [r3, #0] + 8003532: f043 5280 orr.w r2, r3, #268435456 @ 0x10000000 + 8003536: 6a3b ldr r3, [r7, #32] + 8003538: 601a str r2, [r3, #0] __ASM volatile ("dmb 0xF":::"memory"); - 80031da: f3bf 8f5f dmb sy + 800353a: f3bf 8f5f dmb sy } - 80031de: bf00 nop + 800353e: bf00 nop /* Ensure rest of descriptor is written to RAM before the OWN bit */ __DMB(); /* set OWN bit of FIRST descriptor */ SET_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_OWN); - 80031e0: 6a3b ldr r3, [r7, #32] - 80031e2: 681b ldr r3, [r3, #0] - 80031e4: f043 4200 orr.w r2, r3, #2147483648 @ 0x80000000 - 80031e8: 6a3b ldr r3, [r7, #32] - 80031ea: 601a str r2, [r3, #0] + 8003540: 6a3b ldr r3, [r7, #32] + 8003542: 681b ldr r3, [r3, #0] + 8003544: f043 4200 orr.w r2, r3, #2147483648 @ 0x80000000 + 8003548: 6a3b ldr r3, [r7, #32] + 800354a: 601a str r2, [r3, #0] /* only if the packet is split into more than one descriptors > 1 */ while (txbuffer->next != NULL) - 80031ec: e084 b.n 80032f8 + 800354c: e084 b.n 8003658 { /* Clear the LD bit of previous descriptor */ CLEAR_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_LS); - 80031ee: 6a3b ldr r3, [r7, #32] - 80031f0: 681b ldr r3, [r3, #0] - 80031f2: f023 5200 bic.w r2, r3, #536870912 @ 0x20000000 - 80031f6: 6a3b ldr r3, [r7, #32] - 80031f8: 601a str r2, [r3, #0] + 800354e: 6a3b ldr r3, [r7, #32] + 8003550: 681b ldr r3, [r3, #0] + 8003552: f023 5200 bic.w r2, r3, #536870912 @ 0x20000000 + 8003556: 6a3b ldr r3, [r7, #32] + 8003558: 601a str r2, [r3, #0] if (ItMode != ((uint32_t)RESET)) - 80031fa: 687b ldr r3, [r7, #4] - 80031fc: 2b00 cmp r3, #0 - 80031fe: d006 beq.n 800320e + 800355a: 687b ldr r3, [r7, #4] + 800355c: 2b00 cmp r3, #0 + 800355e: d006 beq.n 800356e { /* Set Interrupt on completion bit */ SET_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_IC); - 8003200: 6a3b ldr r3, [r7, #32] - 8003202: 681b ldr r3, [r3, #0] - 8003204: f043 4280 orr.w r2, r3, #1073741824 @ 0x40000000 - 8003208: 6a3b ldr r3, [r7, #32] - 800320a: 601a str r2, [r3, #0] - 800320c: e005 b.n 800321a + 8003560: 6a3b ldr r3, [r7, #32] + 8003562: 681b ldr r3, [r3, #0] + 8003564: f043 4280 orr.w r2, r3, #1073741824 @ 0x40000000 + 8003568: 6a3b ldr r3, [r7, #32] + 800356a: 601a str r2, [r3, #0] + 800356c: e005 b.n 800357a } else { /* Clear Interrupt on completion bit */ CLEAR_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_IC); - 800320e: 6a3b ldr r3, [r7, #32] - 8003210: 681b ldr r3, [r3, #0] - 8003212: f023 4280 bic.w r2, r3, #1073741824 @ 0x40000000 - 8003216: 6a3b ldr r3, [r7, #32] - 8003218: 601a str r2, [r3, #0] + 800356e: 6a3b ldr r3, [r7, #32] + 8003570: 681b ldr r3, [r3, #0] + 8003572: f023 4280 bic.w r2, r3, #1073741824 @ 0x40000000 + 8003576: 6a3b ldr r3, [r7, #32] + 8003578: 601a str r2, [r3, #0] } /* Increment current tx descriptor index */ INCR_TX_DESC_INDEX(descidx, 1U); - 800321a: 6afb ldr r3, [r7, #44] @ 0x2c - 800321c: 3301 adds r3, #1 - 800321e: 62fb str r3, [r7, #44] @ 0x2c - 8003220: 6afb ldr r3, [r7, #44] @ 0x2c - 8003222: 2b03 cmp r3, #3 - 8003224: d902 bls.n 800322c - 8003226: 6afb ldr r3, [r7, #44] @ 0x2c - 8003228: 3b04 subs r3, #4 - 800322a: 62fb str r3, [r7, #44] @ 0x2c + 800357a: 6afb ldr r3, [r7, #44] @ 0x2c + 800357c: 3301 adds r3, #1 + 800357e: 62fb str r3, [r7, #44] @ 0x2c + 8003580: 6afb ldr r3, [r7, #44] @ 0x2c + 8003582: 2b03 cmp r3, #3 + 8003584: d902 bls.n 800358c + 8003586: 6afb ldr r3, [r7, #44] @ 0x2c + 8003588: 3b04 subs r3, #4 + 800358a: 62fb str r3, [r7, #44] @ 0x2c /* Get current descriptor address */ dmatxdesc = (ETH_DMADescTypeDef *)dmatxdesclist->TxDesc[descidx]; - 800322c: 697b ldr r3, [r7, #20] - 800322e: 6afa ldr r2, [r7, #44] @ 0x2c - 8003230: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8003234: 623b str r3, [r7, #32] + 800358c: 697b ldr r3, [r7, #20] + 800358e: 6afa ldr r2, [r7, #44] @ 0x2c + 8003590: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8003594: 623b str r3, [r7, #32] /* Clear the FD bit of new Descriptor */ CLEAR_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_FS); - 8003236: 6a3b ldr r3, [r7, #32] - 8003238: 681b ldr r3, [r3, #0] - 800323a: f023 5280 bic.w r2, r3, #268435456 @ 0x10000000 - 800323e: 6a3b ldr r3, [r7, #32] - 8003240: 601a str r2, [r3, #0] + 8003596: 6a3b ldr r3, [r7, #32] + 8003598: 681b ldr r3, [r3, #0] + 800359a: f023 5280 bic.w r2, r3, #268435456 @ 0x10000000 + 800359e: 6a3b ldr r3, [r7, #32] + 80035a0: 601a str r2, [r3, #0] /* Current Tx Descriptor Owned by DMA: cannot be used by the application */ if ((READ_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_OWN) == ETH_DMATXDESC_OWN) - 8003242: 6a3b ldr r3, [r7, #32] - 8003244: 681b ldr r3, [r3, #0] - 8003246: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 800324a: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 800324e: d007 beq.n 8003260 + 80035a2: 6a3b ldr r3, [r7, #32] + 80035a4: 681b ldr r3, [r3, #0] + 80035a6: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 80035aa: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 80035ae: d007 beq.n 80035c0 || (dmatxdesclist->PacketAddress[descidx] != NULL)) - 8003250: 697a ldr r2, [r7, #20] - 8003252: 6afb ldr r3, [r7, #44] @ 0x2c - 8003254: 3304 adds r3, #4 - 8003256: 009b lsls r3, r3, #2 - 8003258: 4413 add r3, r2 - 800325a: 685b ldr r3, [r3, #4] - 800325c: 2b00 cmp r3, #0 - 800325e: d029 beq.n 80032b4 + 80035b0: 697a ldr r2, [r7, #20] + 80035b2: 6afb ldr r3, [r7, #44] @ 0x2c + 80035b4: 3304 adds r3, #4 + 80035b6: 009b lsls r3, r3, #2 + 80035b8: 4413 add r3, r2 + 80035ba: 685b ldr r3, [r3, #4] + 80035bc: 2b00 cmp r3, #0 + 80035be: d029 beq.n 8003614 { descidx = firstdescidx; - 8003260: 693b ldr r3, [r7, #16] - 8003262: 62fb str r3, [r7, #44] @ 0x2c + 80035c0: 693b ldr r3, [r7, #16] + 80035c2: 62fb str r3, [r7, #44] @ 0x2c dmatxdesc = (ETH_DMADescTypeDef *)dmatxdesclist->TxDesc[descidx]; - 8003264: 697b ldr r3, [r7, #20] - 8003266: 6afa ldr r2, [r7, #44] @ 0x2c - 8003268: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800326c: 623b str r3, [r7, #32] + 80035c4: 697b ldr r3, [r7, #20] + 80035c6: 6afa ldr r2, [r7, #44] @ 0x2c + 80035c8: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80035cc: 623b str r3, [r7, #32] /* clear previous desc own bit */ for (idx = 0; idx < descnbr; idx ++) - 800326e: 2300 movs r3, #0 - 8003270: 62bb str r3, [r7, #40] @ 0x28 - 8003272: e019 b.n 80032a8 + 80035ce: 2300 movs r3, #0 + 80035d0: 62bb str r3, [r7, #40] @ 0x28 + 80035d2: e019 b.n 8003608 __ASM volatile ("dmb 0xF":::"memory"); - 8003274: f3bf 8f5f dmb sy + 80035d4: f3bf 8f5f dmb sy } - 8003278: bf00 nop + 80035d8: bf00 nop { /* Ensure rest of descriptor is written to RAM before the OWN bit */ __DMB(); CLEAR_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_OWN); - 800327a: 6a3b ldr r3, [r7, #32] - 800327c: 681b ldr r3, [r3, #0] - 800327e: f023 4200 bic.w r2, r3, #2147483648 @ 0x80000000 - 8003282: 6a3b ldr r3, [r7, #32] - 8003284: 601a str r2, [r3, #0] + 80035da: 6a3b ldr r3, [r7, #32] + 80035dc: 681b ldr r3, [r3, #0] + 80035de: f023 4200 bic.w r2, r3, #2147483648 @ 0x80000000 + 80035e2: 6a3b ldr r3, [r7, #32] + 80035e4: 601a str r2, [r3, #0] /* Increment current tx descriptor index */ INCR_TX_DESC_INDEX(descidx, 1U); - 8003286: 6afb ldr r3, [r7, #44] @ 0x2c - 8003288: 3301 adds r3, #1 - 800328a: 62fb str r3, [r7, #44] @ 0x2c - 800328c: 6afb ldr r3, [r7, #44] @ 0x2c - 800328e: 2b03 cmp r3, #3 - 8003290: d902 bls.n 8003298 - 8003292: 6afb ldr r3, [r7, #44] @ 0x2c - 8003294: 3b04 subs r3, #4 - 8003296: 62fb str r3, [r7, #44] @ 0x2c + 80035e6: 6afb ldr r3, [r7, #44] @ 0x2c + 80035e8: 3301 adds r3, #1 + 80035ea: 62fb str r3, [r7, #44] @ 0x2c + 80035ec: 6afb ldr r3, [r7, #44] @ 0x2c + 80035ee: 2b03 cmp r3, #3 + 80035f0: d902 bls.n 80035f8 + 80035f2: 6afb ldr r3, [r7, #44] @ 0x2c + 80035f4: 3b04 subs r3, #4 + 80035f6: 62fb str r3, [r7, #44] @ 0x2c /* Get current descriptor address */ dmatxdesc = (ETH_DMADescTypeDef *)dmatxdesclist->TxDesc[descidx]; - 8003298: 697b ldr r3, [r7, #20] - 800329a: 6afa ldr r2, [r7, #44] @ 0x2c - 800329c: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 80032a0: 623b str r3, [r7, #32] + 80035f8: 697b ldr r3, [r7, #20] + 80035fa: 6afa ldr r2, [r7, #44] @ 0x2c + 80035fc: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8003600: 623b str r3, [r7, #32] for (idx = 0; idx < descnbr; idx ++) - 80032a2: 6abb ldr r3, [r7, #40] @ 0x28 - 80032a4: 3301 adds r3, #1 - 80032a6: 62bb str r3, [r7, #40] @ 0x28 - 80032a8: 6aba ldr r2, [r7, #40] @ 0x28 - 80032aa: 6a7b ldr r3, [r7, #36] @ 0x24 - 80032ac: 429a cmp r2, r3 - 80032ae: d3e1 bcc.n 8003274 + 8003602: 6abb ldr r3, [r7, #40] @ 0x28 + 8003604: 3301 adds r3, #1 + 8003606: 62bb str r3, [r7, #40] @ 0x28 + 8003608: 6aba ldr r2, [r7, #40] @ 0x28 + 800360a: 6a7b ldr r3, [r7, #36] @ 0x24 + 800360c: 429a cmp r2, r3 + 800360e: d3e1 bcc.n 80035d4 } return HAL_ETH_ERROR_BUSY; - 80032b0: 2302 movs r3, #2 - 80032b2: e053 b.n 800335c + 8003610: 2302 movs r3, #2 + 8003612: e053 b.n 80036bc } descnbr += 1U; - 80032b4: 6a7b ldr r3, [r7, #36] @ 0x24 - 80032b6: 3301 adds r3, #1 - 80032b8: 627b str r3, [r7, #36] @ 0x24 + 8003614: 6a7b ldr r3, [r7, #36] @ 0x24 + 8003616: 3301 adds r3, #1 + 8003618: 627b str r3, [r7, #36] @ 0x24 /* Get the next Tx buffer in the list */ txbuffer = txbuffer->next; - 80032ba: 69fb ldr r3, [r7, #28] - 80032bc: 689b ldr r3, [r3, #8] - 80032be: 61fb str r3, [r7, #28] + 800361a: 69fb ldr r3, [r7, #28] + 800361c: 689b ldr r3, [r3, #8] + 800361e: 61fb str r3, [r7, #28] /* Set header or buffer 1 address */ WRITE_REG(dmatxdesc->DESC2, (uint32_t)txbuffer->buffer); - 80032c0: 69fb ldr r3, [r7, #28] - 80032c2: 681b ldr r3, [r3, #0] - 80032c4: 461a mov r2, r3 - 80032c6: 6a3b ldr r3, [r7, #32] - 80032c8: 609a str r2, [r3, #8] + 8003620: 69fb ldr r3, [r7, #28] + 8003622: 681b ldr r3, [r3, #0] + 8003624: 461a mov r2, r3 + 8003626: 6a3b ldr r3, [r7, #32] + 8003628: 609a str r2, [r3, #8] /* Set header or buffer 1 Length */ MODIFY_REG(dmatxdesc->DESC1, ETH_DMATXDESC_TBS1, txbuffer->len); - 80032ca: 6a3b ldr r3, [r7, #32] - 80032cc: 685b ldr r3, [r3, #4] - 80032ce: f423 53ff bic.w r3, r3, #8160 @ 0x1fe0 - 80032d2: f023 031f bic.w r3, r3, #31 - 80032d6: 69fa ldr r2, [r7, #28] - 80032d8: 6852 ldr r2, [r2, #4] - 80032da: 431a orrs r2, r3 - 80032dc: 6a3b ldr r3, [r7, #32] - 80032de: 605a str r2, [r3, #4] + 800362a: 6a3b ldr r3, [r7, #32] + 800362c: 685b ldr r3, [r3, #4] + 800362e: f423 53ff bic.w r3, r3, #8160 @ 0x1fe0 + 8003632: f023 031f bic.w r3, r3, #31 + 8003636: 69fa ldr r2, [r7, #28] + 8003638: 6852 ldr r2, [r2, #4] + 800363a: 431a orrs r2, r3 + 800363c: 6a3b ldr r3, [r7, #32] + 800363e: 605a str r2, [r3, #4] bd_count += 1U; - 80032e0: 69bb ldr r3, [r7, #24] - 80032e2: 3301 adds r3, #1 - 80032e4: 61bb str r3, [r7, #24] + 8003640: 69bb ldr r3, [r7, #24] + 8003642: 3301 adds r3, #1 + 8003644: 61bb str r3, [r7, #24] __ASM volatile ("dmb 0xF":::"memory"); - 80032e6: f3bf 8f5f dmb sy + 8003646: f3bf 8f5f dmb sy } - 80032ea: bf00 nop + 800364a: bf00 nop /* Ensure rest of descriptor is written to RAM before the OWN bit */ __DMB(); /* Set Own bit */ SET_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_OWN); - 80032ec: 6a3b ldr r3, [r7, #32] - 80032ee: 681b ldr r3, [r3, #0] - 80032f0: f043 4200 orr.w r2, r3, #2147483648 @ 0x80000000 - 80032f4: 6a3b ldr r3, [r7, #32] - 80032f6: 601a str r2, [r3, #0] + 800364c: 6a3b ldr r3, [r7, #32] + 800364e: 681b ldr r3, [r3, #0] + 8003650: f043 4200 orr.w r2, r3, #2147483648 @ 0x80000000 + 8003654: 6a3b ldr r3, [r7, #32] + 8003656: 601a str r2, [r3, #0] while (txbuffer->next != NULL) - 80032f8: 69fb ldr r3, [r7, #28] - 80032fa: 689b ldr r3, [r3, #8] - 80032fc: 2b00 cmp r3, #0 - 80032fe: f47f af76 bne.w 80031ee + 8003658: 69fb ldr r3, [r7, #28] + 800365a: 689b ldr r3, [r3, #8] + 800365c: 2b00 cmp r3, #0 + 800365e: f47f af76 bne.w 800354e } if (ItMode != ((uint32_t)RESET)) - 8003302: 687b ldr r3, [r7, #4] - 8003304: 2b00 cmp r3, #0 - 8003306: d006 beq.n 8003316 + 8003662: 687b ldr r3, [r7, #4] + 8003664: 2b00 cmp r3, #0 + 8003666: d006 beq.n 8003676 { /* Set Interrupt on completion bit */ SET_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_IC); - 8003308: 6a3b ldr r3, [r7, #32] - 800330a: 681b ldr r3, [r3, #0] - 800330c: f043 4280 orr.w r2, r3, #1073741824 @ 0x40000000 - 8003310: 6a3b ldr r3, [r7, #32] - 8003312: 601a str r2, [r3, #0] - 8003314: e005 b.n 8003322 + 8003668: 6a3b ldr r3, [r7, #32] + 800366a: 681b ldr r3, [r3, #0] + 800366c: f043 4280 orr.w r2, r3, #1073741824 @ 0x40000000 + 8003670: 6a3b ldr r3, [r7, #32] + 8003672: 601a str r2, [r3, #0] + 8003674: e005 b.n 8003682 } else { /* Clear Interrupt on completion bit */ CLEAR_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_IC); - 8003316: 6a3b ldr r3, [r7, #32] - 8003318: 681b ldr r3, [r3, #0] - 800331a: f023 4280 bic.w r2, r3, #1073741824 @ 0x40000000 - 800331e: 6a3b ldr r3, [r7, #32] - 8003320: 601a str r2, [r3, #0] + 8003676: 6a3b ldr r3, [r7, #32] + 8003678: 681b ldr r3, [r3, #0] + 800367a: f023 4280 bic.w r2, r3, #1073741824 @ 0x40000000 + 800367e: 6a3b ldr r3, [r7, #32] + 8003680: 601a str r2, [r3, #0] } /* Mark it as LAST descriptor */ SET_BIT(dmatxdesc->DESC0, ETH_DMATXDESC_LS); - 8003322: 6a3b ldr r3, [r7, #32] - 8003324: 681b ldr r3, [r3, #0] - 8003326: f043 5200 orr.w r2, r3, #536870912 @ 0x20000000 - 800332a: 6a3b ldr r3, [r7, #32] - 800332c: 601a str r2, [r3, #0] + 8003682: 6a3b ldr r3, [r7, #32] + 8003684: 681b ldr r3, [r3, #0] + 8003686: f043 5200 orr.w r2, r3, #536870912 @ 0x20000000 + 800368a: 6a3b ldr r3, [r7, #32] + 800368c: 601a str r2, [r3, #0] /* Save the current packet address to expose it to the application */ dmatxdesclist->PacketAddress[descidx] = dmatxdesclist->CurrentPacketAddress; - 800332e: 697b ldr r3, [r7, #20] - 8003330: 6a5a ldr r2, [r3, #36] @ 0x24 - 8003332: 6979 ldr r1, [r7, #20] - 8003334: 6afb ldr r3, [r7, #44] @ 0x2c - 8003336: 3304 adds r3, #4 - 8003338: 009b lsls r3, r3, #2 - 800333a: 440b add r3, r1 - 800333c: 605a str r2, [r3, #4] + 800368e: 697b ldr r3, [r7, #20] + 8003690: 6a5a ldr r2, [r3, #36] @ 0x24 + 8003692: 6979 ldr r1, [r7, #20] + 8003694: 6afb ldr r3, [r7, #44] @ 0x2c + 8003696: 3304 adds r3, #4 + 8003698: 009b lsls r3, r3, #2 + 800369a: 440b add r3, r1 + 800369c: 605a str r2, [r3, #4] dmatxdesclist->CurTxDesc = descidx; - 800333e: 697b ldr r3, [r7, #20] - 8003340: 6afa ldr r2, [r7, #44] @ 0x2c - 8003342: 611a str r2, [r3, #16] + 800369e: 697b ldr r3, [r7, #20] + 80036a0: 6afa ldr r2, [r7, #44] @ 0x2c + 80036a2: 611a str r2, [r3, #16] __ASM volatile ("cpsid i" : : : "memory"); - 8003344: b672 cpsid i + 80036a4: b672 cpsid i } - 8003346: bf00 nop + 80036a6: bf00 nop /* disable the interrupt */ __disable_irq(); dmatxdesclist->BuffersInUse += bd_count + 1U; - 8003348: 697b ldr r3, [r7, #20] - 800334a: 6a9a ldr r2, [r3, #40] @ 0x28 - 800334c: 69bb ldr r3, [r7, #24] - 800334e: 4413 add r3, r2 - 8003350: 1c5a adds r2, r3, #1 - 8003352: 697b ldr r3, [r7, #20] - 8003354: 629a str r2, [r3, #40] @ 0x28 + 80036a8: 697b ldr r3, [r7, #20] + 80036aa: 6a9a ldr r2, [r3, #40] @ 0x28 + 80036ac: 69bb ldr r3, [r7, #24] + 80036ae: 4413 add r3, r2 + 80036b0: 1c5a adds r2, r3, #1 + 80036b2: 697b ldr r3, [r7, #20] + 80036b4: 629a str r2, [r3, #40] @ 0x28 __ASM volatile ("cpsie i" : : : "memory"); - 8003356: b662 cpsie i + 80036b6: b662 cpsie i } - 8003358: bf00 nop + 80036b8: bf00 nop /* Enable interrupts back */ __enable_irq(); /* Return function status */ return HAL_ETH_ERROR_NONE; - 800335a: 2300 movs r3, #0 + 80036ba: 2300 movs r3, #0 } - 800335c: 4618 mov r0, r3 - 800335e: 3734 adds r7, #52 @ 0x34 - 8003360: 46bd mov sp, r7 - 8003362: f85d 7b04 ldr.w r7, [sp], #4 - 8003366: 4770 bx lr + 80036bc: 4618 mov r0, r3 + 80036be: 3734 adds r7, #52 @ 0x34 + 80036c0: 46bd mov sp, r7 + 80036c2: f85d 7b04 ldr.w r7, [sp], #4 + 80036c6: 4770 bx lr -08003368 : +080036c8 : + * @param Data specifies the data to be programmed + * + * @retval HAL_StatusTypeDef HAL Status + */ +HAL_StatusTypeDef HAL_FLASH_Program(uint32_t TypeProgram, uint32_t Address, uint64_t Data) +{ + 80036c8: b580 push {r7, lr} + 80036ca: b086 sub sp, #24 + 80036cc: af00 add r7, sp, #0 + 80036ce: 60f8 str r0, [r7, #12] + 80036d0: 60b9 str r1, [r7, #8] + 80036d2: e9c7 2300 strd r2, r3, [r7] + HAL_StatusTypeDef status = HAL_ERROR; + 80036d6: 2301 movs r3, #1 + 80036d8: 75fb strb r3, [r7, #23] + + /* Process Locked */ + __HAL_LOCK(&pFlash); + 80036da: 4b23 ldr r3, [pc, #140] @ (8003768 ) + 80036dc: 7e1b ldrb r3, [r3, #24] + 80036de: 2b01 cmp r3, #1 + 80036e0: d101 bne.n 80036e6 + 80036e2: 2302 movs r3, #2 + 80036e4: e03b b.n 800375e + 80036e6: 4b20 ldr r3, [pc, #128] @ (8003768 ) + 80036e8: 2201 movs r2, #1 + 80036ea: 761a strb r2, [r3, #24] + + /* Check the parameters */ + assert_param(IS_FLASH_TYPEPROGRAM(TypeProgram)); + + /* Wait for last operation to be completed */ + status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE); + 80036ec: f24c 3050 movw r0, #50000 @ 0xc350 + 80036f0: f000 f87c bl 80037ec + 80036f4: 4603 mov r3, r0 + 80036f6: 75fb strb r3, [r7, #23] + + if(status == HAL_OK) + 80036f8: 7dfb ldrb r3, [r7, #23] + 80036fa: 2b00 cmp r3, #0 + 80036fc: d12b bne.n 8003756 + { + if(TypeProgram == FLASH_TYPEPROGRAM_BYTE) + 80036fe: 68fb ldr r3, [r7, #12] + 8003700: 2b00 cmp r3, #0 + 8003702: d105 bne.n 8003710 + { + /*Program byte (8-bit) at a specified address.*/ + FLASH_Program_Byte(Address, (uint8_t) Data); + 8003704: 783b ldrb r3, [r7, #0] + 8003706: 4619 mov r1, r3 + 8003708: 68b8 ldr r0, [r7, #8] + 800370a: f000 f927 bl 800395c + 800370e: e016 b.n 800373e + } + else if(TypeProgram == FLASH_TYPEPROGRAM_HALFWORD) + 8003710: 68fb ldr r3, [r7, #12] + 8003712: 2b01 cmp r3, #1 + 8003714: d105 bne.n 8003722 + { + /*Program halfword (16-bit) at a specified address.*/ + FLASH_Program_HalfWord(Address, (uint16_t) Data); + 8003716: 883b ldrh r3, [r7, #0] + 8003718: 4619 mov r1, r3 + 800371a: 68b8 ldr r0, [r7, #8] + 800371c: f000 f8fa bl 8003914 + 8003720: e00d b.n 800373e + } + else if(TypeProgram == FLASH_TYPEPROGRAM_WORD) + 8003722: 68fb ldr r3, [r7, #12] + 8003724: 2b02 cmp r3, #2 + 8003726: d105 bne.n 8003734 + { + /*Program word (32-bit) at a specified address.*/ + FLASH_Program_Word(Address, (uint32_t) Data); + 8003728: 683b ldr r3, [r7, #0] + 800372a: 4619 mov r1, r3 + 800372c: 68b8 ldr r0, [r7, #8] + 800372e: f000 f8cf bl 80038d0 + 8003732: e004 b.n 800373e + } + else + { + /*Program double word (64-bit) at a specified address.*/ + FLASH_Program_DoubleWord(Address, Data); + 8003734: e9d7 2300 ldrd r2, r3, [r7] + 8003738: 68b8 ldr r0, [r7, #8] + 800373a: f000 f897 bl 800386c + } + + /* Wait for last operation to be completed */ + status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE); + 800373e: f24c 3050 movw r0, #50000 @ 0xc350 + 8003742: f000 f853 bl 80037ec + 8003746: 4603 mov r3, r0 + 8003748: 75fb strb r3, [r7, #23] + + /* If the program operation is completed, disable the PG Bit */ + FLASH->CR &= (~FLASH_CR_PG); + 800374a: 4b08 ldr r3, [pc, #32] @ (800376c ) + 800374c: 691b ldr r3, [r3, #16] + 800374e: 4a07 ldr r2, [pc, #28] @ (800376c ) + 8003750: f023 0301 bic.w r3, r3, #1 + 8003754: 6113 str r3, [r2, #16] + } + + /* Process Unlocked */ + __HAL_UNLOCK(&pFlash); + 8003756: 4b04 ldr r3, [pc, #16] @ (8003768 ) + 8003758: 2200 movs r2, #0 + 800375a: 761a strb r2, [r3, #24] + + return status; + 800375c: 7dfb ldrb r3, [r7, #23] +} + 800375e: 4618 mov r0, r3 + 8003760: 3718 adds r7, #24 + 8003762: 46bd mov sp, r7 + 8003764: bd80 pop {r7, pc} + 8003766: bf00 nop + 8003768: 20001544 .word 0x20001544 + 800376c: 40023c00 .word 0x40023c00 + +08003770 : +/** + * @brief Unlock the FLASH control register access + * @retval HAL Status + */ +HAL_StatusTypeDef HAL_FLASH_Unlock(void) +{ + 8003770: b480 push {r7} + 8003772: b083 sub sp, #12 + 8003774: af00 add r7, sp, #0 + HAL_StatusTypeDef status = HAL_OK; + 8003776: 2300 movs r3, #0 + 8003778: 71fb strb r3, [r7, #7] + + if(READ_BIT(FLASH->CR, FLASH_CR_LOCK) != RESET) + 800377a: 4b0b ldr r3, [pc, #44] @ (80037a8 ) + 800377c: 691b ldr r3, [r3, #16] + 800377e: 2b00 cmp r3, #0 + 8003780: da0b bge.n 800379a + { + /* Authorize the FLASH Registers access */ + WRITE_REG(FLASH->KEYR, FLASH_KEY1); + 8003782: 4b09 ldr r3, [pc, #36] @ (80037a8 ) + 8003784: 4a09 ldr r2, [pc, #36] @ (80037ac ) + 8003786: 605a str r2, [r3, #4] + WRITE_REG(FLASH->KEYR, FLASH_KEY2); + 8003788: 4b07 ldr r3, [pc, #28] @ (80037a8 ) + 800378a: 4a09 ldr r2, [pc, #36] @ (80037b0 ) + 800378c: 605a str r2, [r3, #4] + + /* Verify Flash is unlocked */ + if(READ_BIT(FLASH->CR, FLASH_CR_LOCK) != RESET) + 800378e: 4b06 ldr r3, [pc, #24] @ (80037a8 ) + 8003790: 691b ldr r3, [r3, #16] + 8003792: 2b00 cmp r3, #0 + 8003794: da01 bge.n 800379a + { + status = HAL_ERROR; + 8003796: 2301 movs r3, #1 + 8003798: 71fb strb r3, [r7, #7] + } + } + + return status; + 800379a: 79fb ldrb r3, [r7, #7] +} + 800379c: 4618 mov r0, r3 + 800379e: 370c adds r7, #12 + 80037a0: 46bd mov sp, r7 + 80037a2: f85d 7b04 ldr.w r7, [sp], #4 + 80037a6: 4770 bx lr + 80037a8: 40023c00 .word 0x40023c00 + 80037ac: 45670123 .word 0x45670123 + 80037b0: cdef89ab .word 0xcdef89ab + +080037b4 : +/** + * @brief Locks the FLASH control register access + * @retval HAL Status + */ +HAL_StatusTypeDef HAL_FLASH_Lock(void) +{ + 80037b4: b480 push {r7} + 80037b6: af00 add r7, sp, #0 + /* Set the LOCK Bit to lock the FLASH Registers access */ + FLASH->CR |= FLASH_CR_LOCK; + 80037b8: 4b05 ldr r3, [pc, #20] @ (80037d0 ) + 80037ba: 691b ldr r3, [r3, #16] + 80037bc: 4a04 ldr r2, [pc, #16] @ (80037d0 ) + 80037be: f043 4300 orr.w r3, r3, #2147483648 @ 0x80000000 + 80037c2: 6113 str r3, [r2, #16] + + return HAL_OK; + 80037c4: 2300 movs r3, #0 +} + 80037c6: 4618 mov r0, r3 + 80037c8: 46bd mov sp, r7 + 80037ca: f85d 7b04 ldr.w r7, [sp], #4 + 80037ce: 4770 bx lr + 80037d0: 40023c00 .word 0x40023c00 + +080037d4 : + * @arg HAL_FLASH_ERROR_PGA: FLASH Programming Alignment error flag + * @arg HAL_FLASH_ERROR_WRP: FLASH Write protected error flag + * @arg HAL_FLASH_ERROR_OPERATION: FLASH operation Error flag + */ +uint32_t HAL_FLASH_GetError(void) +{ + 80037d4: b480 push {r7} + 80037d6: af00 add r7, sp, #0 + return pFlash.ErrorCode; + 80037d8: 4b03 ldr r3, [pc, #12] @ (80037e8 ) + 80037da: 69db ldr r3, [r3, #28] +} + 80037dc: 4618 mov r0, r3 + 80037de: 46bd mov sp, r7 + 80037e0: f85d 7b04 ldr.w r7, [sp], #4 + 80037e4: 4770 bx lr + 80037e6: bf00 nop + 80037e8: 20001544 .word 0x20001544 + +080037ec : + * @brief Wait for a FLASH operation to complete. + * @param Timeout maximum flash operationtimeout + * @retval HAL Status + */ +HAL_StatusTypeDef FLASH_WaitForLastOperation(uint32_t Timeout) +{ + 80037ec: b580 push {r7, lr} + 80037ee: b084 sub sp, #16 + 80037f0: af00 add r7, sp, #0 + 80037f2: 6078 str r0, [r7, #4] + uint32_t tickstart = 0U; + 80037f4: 2300 movs r3, #0 + 80037f6: 60fb str r3, [r7, #12] + + /* Clear Error Code */ + pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; + 80037f8: 4b1a ldr r3, [pc, #104] @ (8003864 ) + 80037fa: 2200 movs r2, #0 + 80037fc: 61da str r2, [r3, #28] + + /* Wait for the FLASH operation to complete by polling on BUSY flag to be reset. + Even if the FLASH operation fails, the BUSY flag will be reset and an error + flag will be set */ + /* Get tick */ + tickstart = HAL_GetTick(); + 80037fe: f7fe fd2b bl 8002258 + 8003802: 60f8 str r0, [r7, #12] + + while(__HAL_FLASH_GET_FLAG(FLASH_FLAG_BSY) != RESET) + 8003804: e010 b.n 8003828 + { + if(Timeout != HAL_MAX_DELAY) + 8003806: 687b ldr r3, [r7, #4] + 8003808: f1b3 3fff cmp.w r3, #4294967295 + 800380c: d00c beq.n 8003828 + { + if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout)) + 800380e: 687b ldr r3, [r7, #4] + 8003810: 2b00 cmp r3, #0 + 8003812: d007 beq.n 8003824 + 8003814: f7fe fd20 bl 8002258 + 8003818: 4602 mov r2, r0 + 800381a: 68fb ldr r3, [r7, #12] + 800381c: 1ad3 subs r3, r2, r3 + 800381e: 687a ldr r2, [r7, #4] + 8003820: 429a cmp r2, r3 + 8003822: d201 bcs.n 8003828 + { + return HAL_TIMEOUT; + 8003824: 2303 movs r3, #3 + 8003826: e019 b.n 800385c + while(__HAL_FLASH_GET_FLAG(FLASH_FLAG_BSY) != RESET) + 8003828: 4b0f ldr r3, [pc, #60] @ (8003868 ) + 800382a: 68db ldr r3, [r3, #12] + 800382c: f403 3380 and.w r3, r3, #65536 @ 0x10000 + 8003830: 2b00 cmp r3, #0 + 8003832: d1e8 bne.n 8003806 + } + } + } + + /* Check FLASH End of Operation flag */ + if (__HAL_FLASH_GET_FLAG(FLASH_FLAG_EOP) != RESET) + 8003834: 4b0c ldr r3, [pc, #48] @ (8003868 ) + 8003836: 68db ldr r3, [r3, #12] + 8003838: f003 0301 and.w r3, r3, #1 + 800383c: 2b00 cmp r3, #0 + 800383e: d002 beq.n 8003846 + { + /* Clear FLASH End of Operation pending bit */ + __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_EOP); + 8003840: 4b09 ldr r3, [pc, #36] @ (8003868 ) + 8003842: 2201 movs r2, #1 + 8003844: 60da str r2, [r3, #12] + } +#if defined(FLASH_SR_RDERR) + if(__HAL_FLASH_GET_FLAG((FLASH_FLAG_OPERR | FLASH_FLAG_WRPERR | FLASH_FLAG_PGAERR | \ + 8003846: 4b08 ldr r3, [pc, #32] @ (8003868 ) + 8003848: 68db ldr r3, [r3, #12] + 800384a: f403 73f9 and.w r3, r3, #498 @ 0x1f2 + 800384e: 2b00 cmp r3, #0 + 8003850: d003 beq.n 800385a + if(__HAL_FLASH_GET_FLAG((FLASH_FLAG_OPERR | FLASH_FLAG_WRPERR | FLASH_FLAG_PGAERR | \ + FLASH_FLAG_PGPERR | FLASH_FLAG_PGSERR)) != RESET) +#endif /* FLASH_SR_RDERR */ + { + /*Save the error code*/ + FLASH_SetErrorCode(); + 8003852: f000 f8a5 bl 80039a0 + return HAL_ERROR; + 8003856: 2301 movs r3, #1 + 8003858: e000 b.n 800385c + } + + /* If there is no error flag set */ + return HAL_OK; + 800385a: 2300 movs r3, #0 + +} + 800385c: 4618 mov r0, r3 + 800385e: 3710 adds r7, #16 + 8003860: 46bd mov sp, r7 + 8003862: bd80 pop {r7, pc} + 8003864: 20001544 .word 0x20001544 + 8003868: 40023c00 .word 0x40023c00 + +0800386c : + * @param Address specifies the address to be programmed. + * @param Data specifies the data to be programmed. + * @retval None + */ +static void FLASH_Program_DoubleWord(uint32_t Address, uint64_t Data) +{ + 800386c: b480 push {r7} + 800386e: b085 sub sp, #20 + 8003870: af00 add r7, sp, #0 + 8003872: 60f8 str r0, [r7, #12] + 8003874: e9c7 2300 strd r2, r3, [r7] + /* Check the parameters */ + assert_param(IS_FLASH_ADDRESS(Address)); + + /* If the previous operation is completed, proceed to program the new data */ + CLEAR_BIT(FLASH->CR, FLASH_CR_PSIZE); + 8003878: 4b14 ldr r3, [pc, #80] @ (80038cc ) + 800387a: 691b ldr r3, [r3, #16] + 800387c: 4a13 ldr r2, [pc, #76] @ (80038cc ) + 800387e: f423 7340 bic.w r3, r3, #768 @ 0x300 + 8003882: 6113 str r3, [r2, #16] + FLASH->CR |= FLASH_PSIZE_DOUBLE_WORD; + 8003884: 4b11 ldr r3, [pc, #68] @ (80038cc ) + 8003886: 691b ldr r3, [r3, #16] + 8003888: 4a10 ldr r2, [pc, #64] @ (80038cc ) + 800388a: f443 7340 orr.w r3, r3, #768 @ 0x300 + 800388e: 6113 str r3, [r2, #16] + FLASH->CR |= FLASH_CR_PG; + 8003890: 4b0e ldr r3, [pc, #56] @ (80038cc ) + 8003892: 691b ldr r3, [r3, #16] + 8003894: 4a0d ldr r2, [pc, #52] @ (80038cc ) + 8003896: f043 0301 orr.w r3, r3, #1 + 800389a: 6113 str r3, [r2, #16] + + /* Program first word */ + *(__IO uint32_t*)Address = (uint32_t)Data; + 800389c: 68fb ldr r3, [r7, #12] + 800389e: 683a ldr r2, [r7, #0] + 80038a0: 601a str r2, [r3, #0] + __ASM volatile ("isb 0xF":::"memory"); + 80038a2: f3bf 8f6f isb sy +} + 80038a6: bf00 nop + /* Barrier to ensure programming is performed in 2 steps, in right order + (independently of compiler optimization behavior) */ + __ISB(); + + /* Program second word */ + *(__IO uint32_t*)(Address+4) = (uint32_t)(Data >> 32); + 80038a8: e9d7 0100 ldrd r0, r1, [r7] + 80038ac: f04f 0200 mov.w r2, #0 + 80038b0: f04f 0300 mov.w r3, #0 + 80038b4: 000a movs r2, r1 + 80038b6: 2300 movs r3, #0 + 80038b8: 68f9 ldr r1, [r7, #12] + 80038ba: 3104 adds r1, #4 + 80038bc: 4613 mov r3, r2 + 80038be: 600b str r3, [r1, #0] +} + 80038c0: bf00 nop + 80038c2: 3714 adds r7, #20 + 80038c4: 46bd mov sp, r7 + 80038c6: f85d 7b04 ldr.w r7, [sp], #4 + 80038ca: 4770 bx lr + 80038cc: 40023c00 .word 0x40023c00 + +080038d0 : + * @param Address specifies the address to be programmed. + * @param Data specifies the data to be programmed. + * @retval None + */ +static void FLASH_Program_Word(uint32_t Address, uint32_t Data) +{ + 80038d0: b480 push {r7} + 80038d2: b083 sub sp, #12 + 80038d4: af00 add r7, sp, #0 + 80038d6: 6078 str r0, [r7, #4] + 80038d8: 6039 str r1, [r7, #0] + /* Check the parameters */ + assert_param(IS_FLASH_ADDRESS(Address)); + + /* If the previous operation is completed, proceed to program the new data */ + CLEAR_BIT(FLASH->CR, FLASH_CR_PSIZE); + 80038da: 4b0d ldr r3, [pc, #52] @ (8003910 ) + 80038dc: 691b ldr r3, [r3, #16] + 80038de: 4a0c ldr r2, [pc, #48] @ (8003910 ) + 80038e0: f423 7340 bic.w r3, r3, #768 @ 0x300 + 80038e4: 6113 str r3, [r2, #16] + FLASH->CR |= FLASH_PSIZE_WORD; + 80038e6: 4b0a ldr r3, [pc, #40] @ (8003910 ) + 80038e8: 691b ldr r3, [r3, #16] + 80038ea: 4a09 ldr r2, [pc, #36] @ (8003910 ) + 80038ec: f443 7300 orr.w r3, r3, #512 @ 0x200 + 80038f0: 6113 str r3, [r2, #16] + FLASH->CR |= FLASH_CR_PG; + 80038f2: 4b07 ldr r3, [pc, #28] @ (8003910 ) + 80038f4: 691b ldr r3, [r3, #16] + 80038f6: 4a06 ldr r2, [pc, #24] @ (8003910 ) + 80038f8: f043 0301 orr.w r3, r3, #1 + 80038fc: 6113 str r3, [r2, #16] + + *(__IO uint32_t*)Address = Data; + 80038fe: 687b ldr r3, [r7, #4] + 8003900: 683a ldr r2, [r7, #0] + 8003902: 601a str r2, [r3, #0] +} + 8003904: bf00 nop + 8003906: 370c adds r7, #12 + 8003908: 46bd mov sp, r7 + 800390a: f85d 7b04 ldr.w r7, [sp], #4 + 800390e: 4770 bx lr + 8003910: 40023c00 .word 0x40023c00 + +08003914 : + * @param Address specifies the address to be programmed. + * @param Data specifies the data to be programmed. + * @retval None + */ +static void FLASH_Program_HalfWord(uint32_t Address, uint16_t Data) +{ + 8003914: b480 push {r7} + 8003916: b083 sub sp, #12 + 8003918: af00 add r7, sp, #0 + 800391a: 6078 str r0, [r7, #4] + 800391c: 460b mov r3, r1 + 800391e: 807b strh r3, [r7, #2] + /* Check the parameters */ + assert_param(IS_FLASH_ADDRESS(Address)); + + /* If the previous operation is completed, proceed to program the new data */ + CLEAR_BIT(FLASH->CR, FLASH_CR_PSIZE); + 8003920: 4b0d ldr r3, [pc, #52] @ (8003958 ) + 8003922: 691b ldr r3, [r3, #16] + 8003924: 4a0c ldr r2, [pc, #48] @ (8003958 ) + 8003926: f423 7340 bic.w r3, r3, #768 @ 0x300 + 800392a: 6113 str r3, [r2, #16] + FLASH->CR |= FLASH_PSIZE_HALF_WORD; + 800392c: 4b0a ldr r3, [pc, #40] @ (8003958 ) + 800392e: 691b ldr r3, [r3, #16] + 8003930: 4a09 ldr r2, [pc, #36] @ (8003958 ) + 8003932: f443 7380 orr.w r3, r3, #256 @ 0x100 + 8003936: 6113 str r3, [r2, #16] + FLASH->CR |= FLASH_CR_PG; + 8003938: 4b07 ldr r3, [pc, #28] @ (8003958 ) + 800393a: 691b ldr r3, [r3, #16] + 800393c: 4a06 ldr r2, [pc, #24] @ (8003958 ) + 800393e: f043 0301 orr.w r3, r3, #1 + 8003942: 6113 str r3, [r2, #16] + + *(__IO uint16_t*)Address = Data; + 8003944: 687b ldr r3, [r7, #4] + 8003946: 887a ldrh r2, [r7, #2] + 8003948: 801a strh r2, [r3, #0] +} + 800394a: bf00 nop + 800394c: 370c adds r7, #12 + 800394e: 46bd mov sp, r7 + 8003950: f85d 7b04 ldr.w r7, [sp], #4 + 8003954: 4770 bx lr + 8003956: bf00 nop + 8003958: 40023c00 .word 0x40023c00 + +0800395c : + * @param Address specifies the address to be programmed. + * @param Data specifies the data to be programmed. + * @retval None + */ +static void FLASH_Program_Byte(uint32_t Address, uint8_t Data) +{ + 800395c: b480 push {r7} + 800395e: b083 sub sp, #12 + 8003960: af00 add r7, sp, #0 + 8003962: 6078 str r0, [r7, #4] + 8003964: 460b mov r3, r1 + 8003966: 70fb strb r3, [r7, #3] + /* Check the parameters */ + assert_param(IS_FLASH_ADDRESS(Address)); + + /* If the previous operation is completed, proceed to program the new data */ + CLEAR_BIT(FLASH->CR, FLASH_CR_PSIZE); + 8003968: 4b0c ldr r3, [pc, #48] @ (800399c ) + 800396a: 691b ldr r3, [r3, #16] + 800396c: 4a0b ldr r2, [pc, #44] @ (800399c ) + 800396e: f423 7340 bic.w r3, r3, #768 @ 0x300 + 8003972: 6113 str r3, [r2, #16] + FLASH->CR |= FLASH_PSIZE_BYTE; + 8003974: 4b09 ldr r3, [pc, #36] @ (800399c ) + 8003976: 4a09 ldr r2, [pc, #36] @ (800399c ) + 8003978: 691b ldr r3, [r3, #16] + 800397a: 6113 str r3, [r2, #16] + FLASH->CR |= FLASH_CR_PG; + 800397c: 4b07 ldr r3, [pc, #28] @ (800399c ) + 800397e: 691b ldr r3, [r3, #16] + 8003980: 4a06 ldr r2, [pc, #24] @ (800399c ) + 8003982: f043 0301 orr.w r3, r3, #1 + 8003986: 6113 str r3, [r2, #16] + + *(__IO uint8_t*)Address = Data; + 8003988: 687b ldr r3, [r7, #4] + 800398a: 78fa ldrb r2, [r7, #3] + 800398c: 701a strb r2, [r3, #0] +} + 800398e: bf00 nop + 8003990: 370c adds r7, #12 + 8003992: 46bd mov sp, r7 + 8003994: f85d 7b04 ldr.w r7, [sp], #4 + 8003998: 4770 bx lr + 800399a: bf00 nop + 800399c: 40023c00 .word 0x40023c00 + +080039a0 : +/** + * @brief Set the specific FLASH error flag. + * @retval None + */ +static void FLASH_SetErrorCode(void) +{ + 80039a0: b480 push {r7} + 80039a2: af00 add r7, sp, #0 + if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_WRPERR) != RESET) + 80039a4: 4b2f ldr r3, [pc, #188] @ (8003a64 ) + 80039a6: 68db ldr r3, [r3, #12] + 80039a8: f003 0310 and.w r3, r3, #16 + 80039ac: 2b00 cmp r3, #0 + 80039ae: d008 beq.n 80039c2 + { + pFlash.ErrorCode |= HAL_FLASH_ERROR_WRP; + 80039b0: 4b2d ldr r3, [pc, #180] @ (8003a68 ) + 80039b2: 69db ldr r3, [r3, #28] + 80039b4: f043 0310 orr.w r3, r3, #16 + 80039b8: 4a2b ldr r2, [pc, #172] @ (8003a68 ) + 80039ba: 61d3 str r3, [r2, #28] + + /* Clear FLASH write protection error pending bit */ + __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_WRPERR); + 80039bc: 4b29 ldr r3, [pc, #164] @ (8003a64 ) + 80039be: 2210 movs r2, #16 + 80039c0: 60da str r2, [r3, #12] + } + + if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_PGAERR) != RESET) + 80039c2: 4b28 ldr r3, [pc, #160] @ (8003a64 ) + 80039c4: 68db ldr r3, [r3, #12] + 80039c6: f003 0320 and.w r3, r3, #32 + 80039ca: 2b00 cmp r3, #0 + 80039cc: d008 beq.n 80039e0 + { + pFlash.ErrorCode |= HAL_FLASH_ERROR_PGA; + 80039ce: 4b26 ldr r3, [pc, #152] @ (8003a68 ) + 80039d0: 69db ldr r3, [r3, #28] + 80039d2: f043 0308 orr.w r3, r3, #8 + 80039d6: 4a24 ldr r2, [pc, #144] @ (8003a68 ) + 80039d8: 61d3 str r3, [r2, #28] + + /* Clear FLASH Programming alignment error pending bit */ + __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_PGAERR); + 80039da: 4b22 ldr r3, [pc, #136] @ (8003a64 ) + 80039dc: 2220 movs r2, #32 + 80039de: 60da str r2, [r3, #12] + } + + if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_PGPERR) != RESET) + 80039e0: 4b20 ldr r3, [pc, #128] @ (8003a64 ) + 80039e2: 68db ldr r3, [r3, #12] + 80039e4: f003 0340 and.w r3, r3, #64 @ 0x40 + 80039e8: 2b00 cmp r3, #0 + 80039ea: d008 beq.n 80039fe + { + pFlash.ErrorCode |= HAL_FLASH_ERROR_PGP; + 80039ec: 4b1e ldr r3, [pc, #120] @ (8003a68 ) + 80039ee: 69db ldr r3, [r3, #28] + 80039f0: f043 0304 orr.w r3, r3, #4 + 80039f4: 4a1c ldr r2, [pc, #112] @ (8003a68 ) + 80039f6: 61d3 str r3, [r2, #28] + + /* Clear FLASH Programming parallelism error pending bit */ + __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_PGPERR); + 80039f8: 4b1a ldr r3, [pc, #104] @ (8003a64 ) + 80039fa: 2240 movs r2, #64 @ 0x40 + 80039fc: 60da str r2, [r3, #12] + } + + if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_PGSERR) != RESET) + 80039fe: 4b19 ldr r3, [pc, #100] @ (8003a64 ) + 8003a00: 68db ldr r3, [r3, #12] + 8003a02: f003 0380 and.w r3, r3, #128 @ 0x80 + 8003a06: 2b00 cmp r3, #0 + 8003a08: d008 beq.n 8003a1c + { + pFlash.ErrorCode |= HAL_FLASH_ERROR_PGS; + 8003a0a: 4b17 ldr r3, [pc, #92] @ (8003a68 ) + 8003a0c: 69db ldr r3, [r3, #28] + 8003a0e: f043 0302 orr.w r3, r3, #2 + 8003a12: 4a15 ldr r2, [pc, #84] @ (8003a68 ) + 8003a14: 61d3 str r3, [r2, #28] + + /* Clear FLASH Programming sequence error pending bit */ + __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_PGSERR); + 8003a16: 4b13 ldr r3, [pc, #76] @ (8003a64 ) + 8003a18: 2280 movs r2, #128 @ 0x80 + 8003a1a: 60da str r2, [r3, #12] + } +#if defined(FLASH_SR_RDERR) + if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_RDERR) != RESET) + 8003a1c: 4b11 ldr r3, [pc, #68] @ (8003a64 ) + 8003a1e: 68db ldr r3, [r3, #12] + 8003a20: f403 7380 and.w r3, r3, #256 @ 0x100 + 8003a24: 2b00 cmp r3, #0 + 8003a26: d009 beq.n 8003a3c + { + pFlash.ErrorCode |= HAL_FLASH_ERROR_RD; + 8003a28: 4b0f ldr r3, [pc, #60] @ (8003a68 ) + 8003a2a: 69db ldr r3, [r3, #28] + 8003a2c: f043 0301 orr.w r3, r3, #1 + 8003a30: 4a0d ldr r2, [pc, #52] @ (8003a68 ) + 8003a32: 61d3 str r3, [r2, #28] + + /* Clear FLASH Proprietary readout protection error pending bit */ + __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_RDERR); + 8003a34: 4b0b ldr r3, [pc, #44] @ (8003a64 ) + 8003a36: f44f 7280 mov.w r2, #256 @ 0x100 + 8003a3a: 60da str r2, [r3, #12] + } +#endif /* FLASH_SR_RDERR */ + if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_OPERR) != RESET) + 8003a3c: 4b09 ldr r3, [pc, #36] @ (8003a64 ) + 8003a3e: 68db ldr r3, [r3, #12] + 8003a40: f003 0302 and.w r3, r3, #2 + 8003a44: 2b00 cmp r3, #0 + 8003a46: d008 beq.n 8003a5a + { + pFlash.ErrorCode |= HAL_FLASH_ERROR_OPERATION; + 8003a48: 4b07 ldr r3, [pc, #28] @ (8003a68 ) + 8003a4a: 69db ldr r3, [r3, #28] + 8003a4c: f043 0320 orr.w r3, r3, #32 + 8003a50: 4a05 ldr r2, [pc, #20] @ (8003a68 ) + 8003a52: 61d3 str r3, [r2, #28] + + /* Clear FLASH Operation error pending bit */ + __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_OPERR); + 8003a54: 4b03 ldr r3, [pc, #12] @ (8003a64 ) + 8003a56: 2202 movs r2, #2 + 8003a58: 60da str r2, [r3, #12] + } +} + 8003a5a: bf00 nop + 8003a5c: 46bd mov sp, r7 + 8003a5e: f85d 7b04 ldr.w r7, [sp], #4 + 8003a62: 4770 bx lr + 8003a64: 40023c00 .word 0x40023c00 + 8003a68: 20001544 .word 0x20001544 + +08003a6c : + * (0xFFFFFFFFU means that all the sectors have been correctly erased) + * + * @retval HAL Status + */ +HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *SectorError) +{ + 8003a6c: b580 push {r7, lr} + 8003a6e: b084 sub sp, #16 + 8003a70: af00 add r7, sp, #0 + 8003a72: 6078 str r0, [r7, #4] + 8003a74: 6039 str r1, [r7, #0] + HAL_StatusTypeDef status = HAL_ERROR; + 8003a76: 2301 movs r3, #1 + 8003a78: 73fb strb r3, [r7, #15] + uint32_t index = 0U; + 8003a7a: 2300 movs r3, #0 + 8003a7c: 60bb str r3, [r7, #8] + + /* Process Locked */ + __HAL_LOCK(&pFlash); + 8003a7e: 4b32 ldr r3, [pc, #200] @ (8003b48 ) + 8003a80: 7e1b ldrb r3, [r3, #24] + 8003a82: 2b01 cmp r3, #1 + 8003a84: d101 bne.n 8003a8a + 8003a86: 2302 movs r3, #2 + 8003a88: e05a b.n 8003b40 + 8003a8a: 4b2f ldr r3, [pc, #188] @ (8003b48 ) + 8003a8c: 2201 movs r2, #1 + 8003a8e: 761a strb r2, [r3, #24] + + /* Check the parameters */ + assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); + + /* Wait for last operation to be completed */ + status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE); + 8003a90: f24c 3050 movw r0, #50000 @ 0xc350 + 8003a94: f7ff feaa bl 80037ec + 8003a98: 4603 mov r3, r0 + 8003a9a: 73fb strb r3, [r7, #15] + + if (status == HAL_OK) + 8003a9c: 7bfb ldrb r3, [r7, #15] + 8003a9e: 2b00 cmp r3, #0 + 8003aa0: d14a bne.n 8003b38 + { + /*Initialization of SectorError variable*/ + *SectorError = 0xFFFFFFFFU; + 8003aa2: 683b ldr r3, [r7, #0] + 8003aa4: f04f 32ff mov.w r2, #4294967295 + 8003aa8: 601a str r2, [r3, #0] + + if (pEraseInit->TypeErase == FLASH_TYPEERASE_MASSERASE) + 8003aaa: 687b ldr r3, [r7, #4] + 8003aac: 681b ldr r3, [r3, #0] + 8003aae: 2b01 cmp r3, #1 + 8003ab0: d117 bne.n 8003ae2 + { + /*Mass erase to be done*/ + FLASH_MassErase((uint8_t) pEraseInit->VoltageRange, pEraseInit->Banks); + 8003ab2: 687b ldr r3, [r7, #4] + 8003ab4: 691b ldr r3, [r3, #16] + 8003ab6: b2da uxtb r2, r3 + 8003ab8: 687b ldr r3, [r7, #4] + 8003aba: 685b ldr r3, [r3, #4] + 8003abc: 4619 mov r1, r3 + 8003abe: 4610 mov r0, r2 + 8003ac0: f000 f846 bl 8003b50 + + /* Wait for last operation to be completed */ + status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE); + 8003ac4: f24c 3050 movw r0, #50000 @ 0xc350 + 8003ac8: f7ff fe90 bl 80037ec + 8003acc: 4603 mov r3, r0 + 8003ace: 73fb strb r3, [r7, #15] + + /* if the erase operation is completed, disable the MER Bit */ + FLASH->CR &= (~FLASH_MER_BIT); + 8003ad0: 4b1e ldr r3, [pc, #120] @ (8003b4c ) + 8003ad2: 691b ldr r3, [r3, #16] + 8003ad4: 4a1d ldr r2, [pc, #116] @ (8003b4c ) + 8003ad6: f423 4300 bic.w r3, r3, #32768 @ 0x8000 + 8003ada: f023 0304 bic.w r3, r3, #4 + 8003ade: 6113 str r3, [r2, #16] + 8003ae0: e028 b.n 8003b34 + { + /* Check the parameters */ + assert_param(IS_FLASH_NBSECTORS(pEraseInit->NbSectors + pEraseInit->Sector)); + + /* Erase by sector by sector to be done*/ + for (index = pEraseInit->Sector; index < (pEraseInit->NbSectors + pEraseInit->Sector); index++) + 8003ae2: 687b ldr r3, [r7, #4] + 8003ae4: 689b ldr r3, [r3, #8] + 8003ae6: 60bb str r3, [r7, #8] + 8003ae8: e01c b.n 8003b24 + { + FLASH_Erase_Sector(index, (uint8_t) pEraseInit->VoltageRange); + 8003aea: 687b ldr r3, [r7, #4] + 8003aec: 691b ldr r3, [r3, #16] + 8003aee: b2db uxtb r3, r3 + 8003af0: 4619 mov r1, r3 + 8003af2: 68b8 ldr r0, [r7, #8] + 8003af4: f000 f866 bl 8003bc4 + + /* Wait for last operation to be completed */ + status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE); + 8003af8: f24c 3050 movw r0, #50000 @ 0xc350 + 8003afc: f7ff fe76 bl 80037ec + 8003b00: 4603 mov r3, r0 + 8003b02: 73fb strb r3, [r7, #15] + + /* If the erase operation is completed, disable the SER and SNB Bits */ + CLEAR_BIT(FLASH->CR, (FLASH_CR_SER | FLASH_CR_SNB)); + 8003b04: 4b11 ldr r3, [pc, #68] @ (8003b4c ) + 8003b06: 691b ldr r3, [r3, #16] + 8003b08: 4a10 ldr r2, [pc, #64] @ (8003b4c ) + 8003b0a: f023 03fa bic.w r3, r3, #250 @ 0xfa + 8003b0e: 6113 str r3, [r2, #16] + + if (status != HAL_OK) + 8003b10: 7bfb ldrb r3, [r7, #15] + 8003b12: 2b00 cmp r3, #0 + 8003b14: d003 beq.n 8003b1e + { + /* In case of error, stop erase procedure and return the faulty sector*/ + *SectorError = index; + 8003b16: 683b ldr r3, [r7, #0] + 8003b18: 68ba ldr r2, [r7, #8] + 8003b1a: 601a str r2, [r3, #0] + break; + 8003b1c: e00a b.n 8003b34 + for (index = pEraseInit->Sector; index < (pEraseInit->NbSectors + pEraseInit->Sector); index++) + 8003b1e: 68bb ldr r3, [r7, #8] + 8003b20: 3301 adds r3, #1 + 8003b22: 60bb str r3, [r7, #8] + 8003b24: 687b ldr r3, [r7, #4] + 8003b26: 68da ldr r2, [r3, #12] + 8003b28: 687b ldr r3, [r7, #4] + 8003b2a: 689b ldr r3, [r3, #8] + 8003b2c: 4413 add r3, r2 + 8003b2e: 68ba ldr r2, [r7, #8] + 8003b30: 429a cmp r2, r3 + 8003b32: d3da bcc.n 8003aea + } + } + } + /* Flush the caches to be sure of the data consistency */ + FLASH_FlushCaches(); + 8003b34: f000 f894 bl 8003c60 + } + + /* Process Unlocked */ + __HAL_UNLOCK(&pFlash); + 8003b38: 4b03 ldr r3, [pc, #12] @ (8003b48 ) + 8003b3a: 2200 movs r2, #0 + 8003b3c: 761a strb r2, [r3, #24] + + return status; + 8003b3e: 7bfb ldrb r3, [r7, #15] +} + 8003b40: 4618 mov r0, r3 + 8003b42: 3710 adds r7, #16 + 8003b44: 46bd mov sp, r7 + 8003b46: bd80 pop {r7, pc} + 8003b48: 20001544 .word 0x20001544 + 8003b4c: 40023c00 .word 0x40023c00 + +08003b50 : + * @arg FLASH_BANK_BOTH: Bank1 and Bank2 to be erased + * + * @retval HAL Status + */ +static void FLASH_MassErase(uint8_t VoltageRange, uint32_t Banks) +{ + 8003b50: b480 push {r7} + 8003b52: b083 sub sp, #12 + 8003b54: af00 add r7, sp, #0 + 8003b56: 4603 mov r3, r0 + 8003b58: 6039 str r1, [r7, #0] + 8003b5a: 71fb strb r3, [r7, #7] + /* Check the parameters */ + assert_param(IS_VOLTAGERANGE(VoltageRange)); + assert_param(IS_FLASH_BANK(Banks)); + + /* if the previous operation is completed, proceed to erase all sectors */ + CLEAR_BIT(FLASH->CR, FLASH_CR_PSIZE); + 8003b5c: 4b18 ldr r3, [pc, #96] @ (8003bc0 ) + 8003b5e: 691b ldr r3, [r3, #16] + 8003b60: 4a17 ldr r2, [pc, #92] @ (8003bc0 ) + 8003b62: f423 7340 bic.w r3, r3, #768 @ 0x300 + 8003b66: 6113 str r3, [r2, #16] + + if (Banks == FLASH_BANK_BOTH) + 8003b68: 683b ldr r3, [r7, #0] + 8003b6a: 2b03 cmp r3, #3 + 8003b6c: d108 bne.n 8003b80 + { + /* bank1 & bank2 will be erased*/ + FLASH->CR |= FLASH_MER_BIT; + 8003b6e: 4b14 ldr r3, [pc, #80] @ (8003bc0 ) + 8003b70: 691b ldr r3, [r3, #16] + 8003b72: 4a13 ldr r2, [pc, #76] @ (8003bc0 ) + 8003b74: f443 4300 orr.w r3, r3, #32768 @ 0x8000 + 8003b78: f043 0304 orr.w r3, r3, #4 + 8003b7c: 6113 str r3, [r2, #16] + 8003b7e: e00f b.n 8003ba0 + } + else if (Banks == FLASH_BANK_1) + 8003b80: 683b ldr r3, [r7, #0] + 8003b82: 2b01 cmp r3, #1 + 8003b84: d106 bne.n 8003b94 + { + /*Only bank1 will be erased*/ + FLASH->CR |= FLASH_CR_MER1; + 8003b86: 4b0e ldr r3, [pc, #56] @ (8003bc0 ) + 8003b88: 691b ldr r3, [r3, #16] + 8003b8a: 4a0d ldr r2, [pc, #52] @ (8003bc0 ) + 8003b8c: f043 0304 orr.w r3, r3, #4 + 8003b90: 6113 str r3, [r2, #16] + 8003b92: e005 b.n 8003ba0 + } + else + { + /*Only bank2 will be erased*/ + FLASH->CR |= FLASH_CR_MER2; + 8003b94: 4b0a ldr r3, [pc, #40] @ (8003bc0 ) + 8003b96: 691b ldr r3, [r3, #16] + 8003b98: 4a09 ldr r2, [pc, #36] @ (8003bc0 ) + 8003b9a: f443 4300 orr.w r3, r3, #32768 @ 0x8000 + 8003b9e: 6113 str r3, [r2, #16] + } + FLASH->CR |= FLASH_CR_STRT | ((uint32_t)VoltageRange << 8U); + 8003ba0: 4b07 ldr r3, [pc, #28] @ (8003bc0 ) + 8003ba2: 691a ldr r2, [r3, #16] + 8003ba4: 79fb ldrb r3, [r7, #7] + 8003ba6: 021b lsls r3, r3, #8 + 8003ba8: 4313 orrs r3, r2 + 8003baa: 4a05 ldr r2, [pc, #20] @ (8003bc0 ) + 8003bac: f443 3380 orr.w r3, r3, #65536 @ 0x10000 + 8003bb0: 6113 str r3, [r2, #16] +} + 8003bb2: bf00 nop + 8003bb4: 370c adds r7, #12 + 8003bb6: 46bd mov sp, r7 + 8003bb8: f85d 7b04 ldr.w r7, [sp], #4 + 8003bbc: 4770 bx lr + 8003bbe: bf00 nop + 8003bc0: 40023c00 .word 0x40023c00 + +08003bc4 : + * the operation will be done by double word (64-bit) + * + * @retval None + */ +void FLASH_Erase_Sector(uint32_t Sector, uint8_t VoltageRange) +{ + 8003bc4: b480 push {r7} + 8003bc6: b085 sub sp, #20 + 8003bc8: af00 add r7, sp, #0 + 8003bca: 6078 str r0, [r7, #4] + 8003bcc: 460b mov r3, r1 + 8003bce: 70fb strb r3, [r7, #3] + uint32_t tmp_psize = 0U; + 8003bd0: 2300 movs r3, #0 + 8003bd2: 60fb str r3, [r7, #12] + + /* Check the parameters */ + assert_param(IS_FLASH_SECTOR(Sector)); + assert_param(IS_VOLTAGERANGE(VoltageRange)); + + if (VoltageRange == FLASH_VOLTAGE_RANGE_1) + 8003bd4: 78fb ldrb r3, [r7, #3] + 8003bd6: 2b00 cmp r3, #0 + 8003bd8: d102 bne.n 8003be0 + { + tmp_psize = FLASH_PSIZE_BYTE; + 8003bda: 2300 movs r3, #0 + 8003bdc: 60fb str r3, [r7, #12] + 8003bde: e010 b.n 8003c02 + } + else if (VoltageRange == FLASH_VOLTAGE_RANGE_2) + 8003be0: 78fb ldrb r3, [r7, #3] + 8003be2: 2b01 cmp r3, #1 + 8003be4: d103 bne.n 8003bee + { + tmp_psize = FLASH_PSIZE_HALF_WORD; + 8003be6: f44f 7380 mov.w r3, #256 @ 0x100 + 8003bea: 60fb str r3, [r7, #12] + 8003bec: e009 b.n 8003c02 + } + else if (VoltageRange == FLASH_VOLTAGE_RANGE_3) + 8003bee: 78fb ldrb r3, [r7, #3] + 8003bf0: 2b02 cmp r3, #2 + 8003bf2: d103 bne.n 8003bfc + { + tmp_psize = FLASH_PSIZE_WORD; + 8003bf4: f44f 7300 mov.w r3, #512 @ 0x200 + 8003bf8: 60fb str r3, [r7, #12] + 8003bfa: e002 b.n 8003c02 + } + else + { + tmp_psize = FLASH_PSIZE_DOUBLE_WORD; + 8003bfc: f44f 7340 mov.w r3, #768 @ 0x300 + 8003c00: 60fb str r3, [r7, #12] + } + + /* Need to add offset of 4 when sector higher than FLASH_SECTOR_11 */ + if (Sector > FLASH_SECTOR_11) + 8003c02: 687b ldr r3, [r7, #4] + 8003c04: 2b0b cmp r3, #11 + 8003c06: d902 bls.n 8003c0e + { + Sector += 4U; + 8003c08: 687b ldr r3, [r7, #4] + 8003c0a: 3304 adds r3, #4 + 8003c0c: 607b str r3, [r7, #4] + } + /* If the previous operation is completed, proceed to erase the sector */ + CLEAR_BIT(FLASH->CR, FLASH_CR_PSIZE); + 8003c0e: 4b13 ldr r3, [pc, #76] @ (8003c5c ) + 8003c10: 691b ldr r3, [r3, #16] + 8003c12: 4a12 ldr r2, [pc, #72] @ (8003c5c ) + 8003c14: f423 7340 bic.w r3, r3, #768 @ 0x300 + 8003c18: 6113 str r3, [r2, #16] + FLASH->CR |= tmp_psize; + 8003c1a: 4b10 ldr r3, [pc, #64] @ (8003c5c ) + 8003c1c: 691a ldr r2, [r3, #16] + 8003c1e: 490f ldr r1, [pc, #60] @ (8003c5c ) + 8003c20: 68fb ldr r3, [r7, #12] + 8003c22: 4313 orrs r3, r2 + 8003c24: 610b str r3, [r1, #16] + CLEAR_BIT(FLASH->CR, FLASH_CR_SNB); + 8003c26: 4b0d ldr r3, [pc, #52] @ (8003c5c ) + 8003c28: 691b ldr r3, [r3, #16] + 8003c2a: 4a0c ldr r2, [pc, #48] @ (8003c5c ) + 8003c2c: f023 03f8 bic.w r3, r3, #248 @ 0xf8 + 8003c30: 6113 str r3, [r2, #16] + FLASH->CR |= FLASH_CR_SER | (Sector << FLASH_CR_SNB_Pos); + 8003c32: 4b0a ldr r3, [pc, #40] @ (8003c5c ) + 8003c34: 691a ldr r2, [r3, #16] + 8003c36: 687b ldr r3, [r7, #4] + 8003c38: 00db lsls r3, r3, #3 + 8003c3a: 4313 orrs r3, r2 + 8003c3c: 4a07 ldr r2, [pc, #28] @ (8003c5c ) + 8003c3e: f043 0302 orr.w r3, r3, #2 + 8003c42: 6113 str r3, [r2, #16] + FLASH->CR |= FLASH_CR_STRT; + 8003c44: 4b05 ldr r3, [pc, #20] @ (8003c5c ) + 8003c46: 691b ldr r3, [r3, #16] + 8003c48: 4a04 ldr r2, [pc, #16] @ (8003c5c ) + 8003c4a: f443 3380 orr.w r3, r3, #65536 @ 0x10000 + 8003c4e: 6113 str r3, [r2, #16] +} + 8003c50: bf00 nop + 8003c52: 3714 adds r7, #20 + 8003c54: 46bd mov sp, r7 + 8003c56: f85d 7b04 ldr.w r7, [sp], #4 + 8003c5a: 4770 bx lr + 8003c5c: 40023c00 .word 0x40023c00 + +08003c60 : +/** + * @brief Flush the instruction and data caches + * @retval None + */ +void FLASH_FlushCaches(void) +{ + 8003c60: b480 push {r7} + 8003c62: af00 add r7, sp, #0 + /* Flush instruction cache */ + if (READ_BIT(FLASH->ACR, FLASH_ACR_ICEN) != RESET) + 8003c64: 4b20 ldr r3, [pc, #128] @ (8003ce8 ) + 8003c66: 681b ldr r3, [r3, #0] + 8003c68: f403 7300 and.w r3, r3, #512 @ 0x200 + 8003c6c: 2b00 cmp r3, #0 + 8003c6e: d017 beq.n 8003ca0 + { + /* Disable instruction cache */ + __HAL_FLASH_INSTRUCTION_CACHE_DISABLE(); + 8003c70: 4b1d ldr r3, [pc, #116] @ (8003ce8 ) + 8003c72: 681b ldr r3, [r3, #0] + 8003c74: 4a1c ldr r2, [pc, #112] @ (8003ce8 ) + 8003c76: f423 7300 bic.w r3, r3, #512 @ 0x200 + 8003c7a: 6013 str r3, [r2, #0] + /* Reset instruction cache */ + __HAL_FLASH_INSTRUCTION_CACHE_RESET(); + 8003c7c: 4b1a ldr r3, [pc, #104] @ (8003ce8 ) + 8003c7e: 681b ldr r3, [r3, #0] + 8003c80: 4a19 ldr r2, [pc, #100] @ (8003ce8 ) + 8003c82: f443 6300 orr.w r3, r3, #2048 @ 0x800 + 8003c86: 6013 str r3, [r2, #0] + 8003c88: 4b17 ldr r3, [pc, #92] @ (8003ce8 ) + 8003c8a: 681b ldr r3, [r3, #0] + 8003c8c: 4a16 ldr r2, [pc, #88] @ (8003ce8 ) + 8003c8e: f423 6300 bic.w r3, r3, #2048 @ 0x800 + 8003c92: 6013 str r3, [r2, #0] + /* Enable instruction cache */ + __HAL_FLASH_INSTRUCTION_CACHE_ENABLE(); + 8003c94: 4b14 ldr r3, [pc, #80] @ (8003ce8 ) + 8003c96: 681b ldr r3, [r3, #0] + 8003c98: 4a13 ldr r2, [pc, #76] @ (8003ce8 ) + 8003c9a: f443 7300 orr.w r3, r3, #512 @ 0x200 + 8003c9e: 6013 str r3, [r2, #0] + } + + /* Flush data cache */ + if (READ_BIT(FLASH->ACR, FLASH_ACR_DCEN) != RESET) + 8003ca0: 4b11 ldr r3, [pc, #68] @ (8003ce8 ) + 8003ca2: 681b ldr r3, [r3, #0] + 8003ca4: f403 6380 and.w r3, r3, #1024 @ 0x400 + 8003ca8: 2b00 cmp r3, #0 + 8003caa: d017 beq.n 8003cdc + { + /* Disable data cache */ + __HAL_FLASH_DATA_CACHE_DISABLE(); + 8003cac: 4b0e ldr r3, [pc, #56] @ (8003ce8 ) + 8003cae: 681b ldr r3, [r3, #0] + 8003cb0: 4a0d ldr r2, [pc, #52] @ (8003ce8 ) + 8003cb2: f423 6380 bic.w r3, r3, #1024 @ 0x400 + 8003cb6: 6013 str r3, [r2, #0] + /* Reset data cache */ + __HAL_FLASH_DATA_CACHE_RESET(); + 8003cb8: 4b0b ldr r3, [pc, #44] @ (8003ce8 ) + 8003cba: 681b ldr r3, [r3, #0] + 8003cbc: 4a0a ldr r2, [pc, #40] @ (8003ce8 ) + 8003cbe: f443 5380 orr.w r3, r3, #4096 @ 0x1000 + 8003cc2: 6013 str r3, [r2, #0] + 8003cc4: 4b08 ldr r3, [pc, #32] @ (8003ce8 ) + 8003cc6: 681b ldr r3, [r3, #0] + 8003cc8: 4a07 ldr r2, [pc, #28] @ (8003ce8 ) + 8003cca: f423 5380 bic.w r3, r3, #4096 @ 0x1000 + 8003cce: 6013 str r3, [r2, #0] + /* Enable data cache */ + __HAL_FLASH_DATA_CACHE_ENABLE(); + 8003cd0: 4b05 ldr r3, [pc, #20] @ (8003ce8 ) + 8003cd2: 681b ldr r3, [r3, #0] + 8003cd4: 4a04 ldr r2, [pc, #16] @ (8003ce8 ) + 8003cd6: f443 6380 orr.w r3, r3, #1024 @ 0x400 + 8003cda: 6013 str r3, [r2, #0] + } +} + 8003cdc: bf00 nop + 8003cde: 46bd mov sp, r7 + 8003ce0: f85d 7b04 ldr.w r7, [sp], #4 + 8003ce4: 4770 bx lr + 8003ce6: bf00 nop + 8003ce8: 40023c00 .word 0x40023c00 + +08003cec : * @param GPIO_Init pointer to a GPIO_InitTypeDef structure that contains * the configuration information for the specified GPIO peripheral. * @retval None */ void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init) { - 8003368: b480 push {r7} - 800336a: b089 sub sp, #36 @ 0x24 - 800336c: af00 add r7, sp, #0 - 800336e: 6078 str r0, [r7, #4] - 8003370: 6039 str r1, [r7, #0] + 8003cec: b480 push {r7} + 8003cee: b089 sub sp, #36 @ 0x24 + 8003cf0: af00 add r7, sp, #0 + 8003cf2: 6078 str r0, [r7, #4] + 8003cf4: 6039 str r1, [r7, #0] uint32_t position; uint32_t ioposition = 0x00U; - 8003372: 2300 movs r3, #0 - 8003374: 617b str r3, [r7, #20] + 8003cf6: 2300 movs r3, #0 + 8003cf8: 617b str r3, [r7, #20] uint32_t iocurrent = 0x00U; - 8003376: 2300 movs r3, #0 - 8003378: 613b str r3, [r7, #16] + 8003cfa: 2300 movs r3, #0 + 8003cfc: 613b str r3, [r7, #16] uint32_t temp = 0x00U; - 800337a: 2300 movs r3, #0 - 800337c: 61bb str r3, [r7, #24] + 8003cfe: 2300 movs r3, #0 + 8003d00: 61bb str r3, [r7, #24] assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); assert_param(IS_GPIO_PIN(GPIO_Init->Pin)); assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); /* Configure the port pins */ for(position = 0U; position < GPIO_NUMBER; position++) - 800337e: 2300 movs r3, #0 - 8003380: 61fb str r3, [r7, #28] - 8003382: e177 b.n 8003674 + 8003d02: 2300 movs r3, #0 + 8003d04: 61fb str r3, [r7, #28] + 8003d06: e177 b.n 8003ff8 { /* Get the IO position */ ioposition = 0x01U << position; - 8003384: 2201 movs r2, #1 - 8003386: 69fb ldr r3, [r7, #28] - 8003388: fa02 f303 lsl.w r3, r2, r3 - 800338c: 617b str r3, [r7, #20] + 8003d08: 2201 movs r2, #1 + 8003d0a: 69fb ldr r3, [r7, #28] + 8003d0c: fa02 f303 lsl.w r3, r2, r3 + 8003d10: 617b str r3, [r7, #20] /* Get the current IO position */ iocurrent = (uint32_t)(GPIO_Init->Pin) & ioposition; - 800338e: 683b ldr r3, [r7, #0] - 8003390: 681b ldr r3, [r3, #0] - 8003392: 697a ldr r2, [r7, #20] - 8003394: 4013 ands r3, r2 - 8003396: 613b str r3, [r7, #16] + 8003d12: 683b ldr r3, [r7, #0] + 8003d14: 681b ldr r3, [r3, #0] + 8003d16: 697a ldr r2, [r7, #20] + 8003d18: 4013 ands r3, r2 + 8003d1a: 613b str r3, [r7, #16] if(iocurrent == ioposition) - 8003398: 693a ldr r2, [r7, #16] - 800339a: 697b ldr r3, [r7, #20] - 800339c: 429a cmp r2, r3 - 800339e: f040 8166 bne.w 800366e + 8003d1c: 693a ldr r2, [r7, #16] + 8003d1e: 697b ldr r3, [r7, #20] + 8003d20: 429a cmp r2, r3 + 8003d22: f040 8166 bne.w 8003ff2 { /*--------------------- GPIO Mode Configuration ------------------------*/ /* In case of Output or Alternate function mode selection */ if(((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) || \ - 80033a2: 683b ldr r3, [r7, #0] - 80033a4: 685b ldr r3, [r3, #4] - 80033a6: f003 0303 and.w r3, r3, #3 - 80033aa: 2b01 cmp r3, #1 - 80033ac: d005 beq.n 80033ba + 8003d26: 683b ldr r3, [r7, #0] + 8003d28: 685b ldr r3, [r3, #4] + 8003d2a: f003 0303 and.w r3, r3, #3 + 8003d2e: 2b01 cmp r3, #1 + 8003d30: d005 beq.n 8003d3e (GPIO_Init->Mode & GPIO_MODE) == MODE_AF) - 80033ae: 683b ldr r3, [r7, #0] - 80033b0: 685b ldr r3, [r3, #4] - 80033b2: f003 0303 and.w r3, r3, #3 + 8003d32: 683b ldr r3, [r7, #0] + 8003d34: 685b ldr r3, [r3, #4] + 8003d36: f003 0303 and.w r3, r3, #3 if(((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) || \ - 80033b6: 2b02 cmp r3, #2 - 80033b8: d130 bne.n 800341c + 8003d3a: 2b02 cmp r3, #2 + 8003d3c: d130 bne.n 8003da0 { /* Check the Speed parameter */ assert_param(IS_GPIO_SPEED(GPIO_Init->Speed)); /* Configure the IO Speed */ temp = GPIOx->OSPEEDR; - 80033ba: 687b ldr r3, [r7, #4] - 80033bc: 689b ldr r3, [r3, #8] - 80033be: 61bb str r3, [r7, #24] + 8003d3e: 687b ldr r3, [r7, #4] + 8003d40: 689b ldr r3, [r3, #8] + 8003d42: 61bb str r3, [r7, #24] temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2U)); - 80033c0: 69fb ldr r3, [r7, #28] - 80033c2: 005b lsls r3, r3, #1 - 80033c4: 2203 movs r2, #3 - 80033c6: fa02 f303 lsl.w r3, r2, r3 - 80033ca: 43db mvns r3, r3 - 80033cc: 69ba ldr r2, [r7, #24] - 80033ce: 4013 ands r3, r2 - 80033d0: 61bb str r3, [r7, #24] + 8003d44: 69fb ldr r3, [r7, #28] + 8003d46: 005b lsls r3, r3, #1 + 8003d48: 2203 movs r2, #3 + 8003d4a: fa02 f303 lsl.w r3, r2, r3 + 8003d4e: 43db mvns r3, r3 + 8003d50: 69ba ldr r2, [r7, #24] + 8003d52: 4013 ands r3, r2 + 8003d54: 61bb str r3, [r7, #24] temp |= (GPIO_Init->Speed << (position * 2U)); - 80033d2: 683b ldr r3, [r7, #0] - 80033d4: 68da ldr r2, [r3, #12] - 80033d6: 69fb ldr r3, [r7, #28] - 80033d8: 005b lsls r3, r3, #1 - 80033da: fa02 f303 lsl.w r3, r2, r3 - 80033de: 69ba ldr r2, [r7, #24] - 80033e0: 4313 orrs r3, r2 - 80033e2: 61bb str r3, [r7, #24] + 8003d56: 683b ldr r3, [r7, #0] + 8003d58: 68da ldr r2, [r3, #12] + 8003d5a: 69fb ldr r3, [r7, #28] + 8003d5c: 005b lsls r3, r3, #1 + 8003d5e: fa02 f303 lsl.w r3, r2, r3 + 8003d62: 69ba ldr r2, [r7, #24] + 8003d64: 4313 orrs r3, r2 + 8003d66: 61bb str r3, [r7, #24] GPIOx->OSPEEDR = temp; - 80033e4: 687b ldr r3, [r7, #4] - 80033e6: 69ba ldr r2, [r7, #24] - 80033e8: 609a str r2, [r3, #8] + 8003d68: 687b ldr r3, [r7, #4] + 8003d6a: 69ba ldr r2, [r7, #24] + 8003d6c: 609a str r2, [r3, #8] /* Configure the IO Output Type */ temp = GPIOx->OTYPER; - 80033ea: 687b ldr r3, [r7, #4] - 80033ec: 685b ldr r3, [r3, #4] - 80033ee: 61bb str r3, [r7, #24] + 8003d6e: 687b ldr r3, [r7, #4] + 8003d70: 685b ldr r3, [r3, #4] + 8003d72: 61bb str r3, [r7, #24] temp &= ~(GPIO_OTYPER_OT_0 << position) ; - 80033f0: 2201 movs r2, #1 - 80033f2: 69fb ldr r3, [r7, #28] - 80033f4: fa02 f303 lsl.w r3, r2, r3 - 80033f8: 43db mvns r3, r3 - 80033fa: 69ba ldr r2, [r7, #24] - 80033fc: 4013 ands r3, r2 - 80033fe: 61bb str r3, [r7, #24] + 8003d74: 2201 movs r2, #1 + 8003d76: 69fb ldr r3, [r7, #28] + 8003d78: fa02 f303 lsl.w r3, r2, r3 + 8003d7c: 43db mvns r3, r3 + 8003d7e: 69ba ldr r2, [r7, #24] + 8003d80: 4013 ands r3, r2 + 8003d82: 61bb str r3, [r7, #24] temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); - 8003400: 683b ldr r3, [r7, #0] - 8003402: 685b ldr r3, [r3, #4] - 8003404: 091b lsrs r3, r3, #4 - 8003406: f003 0201 and.w r2, r3, #1 - 800340a: 69fb ldr r3, [r7, #28] - 800340c: fa02 f303 lsl.w r3, r2, r3 - 8003410: 69ba ldr r2, [r7, #24] - 8003412: 4313 orrs r3, r2 - 8003414: 61bb str r3, [r7, #24] + 8003d84: 683b ldr r3, [r7, #0] + 8003d86: 685b ldr r3, [r3, #4] + 8003d88: 091b lsrs r3, r3, #4 + 8003d8a: f003 0201 and.w r2, r3, #1 + 8003d8e: 69fb ldr r3, [r7, #28] + 8003d90: fa02 f303 lsl.w r3, r2, r3 + 8003d94: 69ba ldr r2, [r7, #24] + 8003d96: 4313 orrs r3, r2 + 8003d98: 61bb str r3, [r7, #24] GPIOx->OTYPER = temp; - 8003416: 687b ldr r3, [r7, #4] - 8003418: 69ba ldr r2, [r7, #24] - 800341a: 605a str r2, [r3, #4] + 8003d9a: 687b ldr r3, [r7, #4] + 8003d9c: 69ba ldr r2, [r7, #24] + 8003d9e: 605a str r2, [r3, #4] } if((GPIO_Init->Mode & GPIO_MODE) != MODE_ANALOG) - 800341c: 683b ldr r3, [r7, #0] - 800341e: 685b ldr r3, [r3, #4] - 8003420: f003 0303 and.w r3, r3, #3 - 8003424: 2b03 cmp r3, #3 - 8003426: d017 beq.n 8003458 + 8003da0: 683b ldr r3, [r7, #0] + 8003da2: 685b ldr r3, [r3, #4] + 8003da4: f003 0303 and.w r3, r3, #3 + 8003da8: 2b03 cmp r3, #3 + 8003daa: d017 beq.n 8003ddc { /* Check the parameters */ assert_param(IS_GPIO_PULL(GPIO_Init->Pull)); /* Activate the Pull-up or Pull down resistor for the current IO */ temp = GPIOx->PUPDR; - 8003428: 687b ldr r3, [r7, #4] - 800342a: 68db ldr r3, [r3, #12] - 800342c: 61bb str r3, [r7, #24] + 8003dac: 687b ldr r3, [r7, #4] + 8003dae: 68db ldr r3, [r3, #12] + 8003db0: 61bb str r3, [r7, #24] temp &= ~(GPIO_PUPDR_PUPDR0 << (position * 2U)); - 800342e: 69fb ldr r3, [r7, #28] - 8003430: 005b lsls r3, r3, #1 - 8003432: 2203 movs r2, #3 - 8003434: fa02 f303 lsl.w r3, r2, r3 - 8003438: 43db mvns r3, r3 - 800343a: 69ba ldr r2, [r7, #24] - 800343c: 4013 ands r3, r2 - 800343e: 61bb str r3, [r7, #24] + 8003db2: 69fb ldr r3, [r7, #28] + 8003db4: 005b lsls r3, r3, #1 + 8003db6: 2203 movs r2, #3 + 8003db8: fa02 f303 lsl.w r3, r2, r3 + 8003dbc: 43db mvns r3, r3 + 8003dbe: 69ba ldr r2, [r7, #24] + 8003dc0: 4013 ands r3, r2 + 8003dc2: 61bb str r3, [r7, #24] temp |= ((GPIO_Init->Pull) << (position * 2U)); - 8003440: 683b ldr r3, [r7, #0] - 8003442: 689a ldr r2, [r3, #8] - 8003444: 69fb ldr r3, [r7, #28] - 8003446: 005b lsls r3, r3, #1 - 8003448: fa02 f303 lsl.w r3, r2, r3 - 800344c: 69ba ldr r2, [r7, #24] - 800344e: 4313 orrs r3, r2 - 8003450: 61bb str r3, [r7, #24] + 8003dc4: 683b ldr r3, [r7, #0] + 8003dc6: 689a ldr r2, [r3, #8] + 8003dc8: 69fb ldr r3, [r7, #28] + 8003dca: 005b lsls r3, r3, #1 + 8003dcc: fa02 f303 lsl.w r3, r2, r3 + 8003dd0: 69ba ldr r2, [r7, #24] + 8003dd2: 4313 orrs r3, r2 + 8003dd4: 61bb str r3, [r7, #24] GPIOx->PUPDR = temp; - 8003452: 687b ldr r3, [r7, #4] - 8003454: 69ba ldr r2, [r7, #24] - 8003456: 60da str r2, [r3, #12] + 8003dd6: 687b ldr r3, [r7, #4] + 8003dd8: 69ba ldr r2, [r7, #24] + 8003dda: 60da str r2, [r3, #12] } /* In case of Alternate function mode selection */ if((GPIO_Init->Mode & GPIO_MODE) == MODE_AF) - 8003458: 683b ldr r3, [r7, #0] - 800345a: 685b ldr r3, [r3, #4] - 800345c: f003 0303 and.w r3, r3, #3 - 8003460: 2b02 cmp r3, #2 - 8003462: d123 bne.n 80034ac + 8003ddc: 683b ldr r3, [r7, #0] + 8003dde: 685b ldr r3, [r3, #4] + 8003de0: f003 0303 and.w r3, r3, #3 + 8003de4: 2b02 cmp r3, #2 + 8003de6: d123 bne.n 8003e30 { /* Check the Alternate function parameter */ assert_param(IS_GPIO_AF(GPIO_Init->Alternate)); /* Configure Alternate function mapped with the current IO */ temp = GPIOx->AFR[position >> 3U]; - 8003464: 69fb ldr r3, [r7, #28] - 8003466: 08da lsrs r2, r3, #3 - 8003468: 687b ldr r3, [r7, #4] - 800346a: 3208 adds r2, #8 - 800346c: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8003470: 61bb str r3, [r7, #24] + 8003de8: 69fb ldr r3, [r7, #28] + 8003dea: 08da lsrs r2, r3, #3 + 8003dec: 687b ldr r3, [r7, #4] + 8003dee: 3208 adds r2, #8 + 8003df0: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8003df4: 61bb str r3, [r7, #24] temp &= ~(0xFU << ((uint32_t)(position & 0x07U) * 4U)) ; - 8003472: 69fb ldr r3, [r7, #28] - 8003474: f003 0307 and.w r3, r3, #7 - 8003478: 009b lsls r3, r3, #2 - 800347a: 220f movs r2, #15 - 800347c: fa02 f303 lsl.w r3, r2, r3 - 8003480: 43db mvns r3, r3 - 8003482: 69ba ldr r2, [r7, #24] - 8003484: 4013 ands r3, r2 - 8003486: 61bb str r3, [r7, #24] + 8003df6: 69fb ldr r3, [r7, #28] + 8003df8: f003 0307 and.w r3, r3, #7 + 8003dfc: 009b lsls r3, r3, #2 + 8003dfe: 220f movs r2, #15 + 8003e00: fa02 f303 lsl.w r3, r2, r3 + 8003e04: 43db mvns r3, r3 + 8003e06: 69ba ldr r2, [r7, #24] + 8003e08: 4013 ands r3, r2 + 8003e0a: 61bb str r3, [r7, #24] temp |= ((uint32_t)(GPIO_Init->Alternate) << (((uint32_t)position & 0x07U) * 4U)); - 8003488: 683b ldr r3, [r7, #0] - 800348a: 691a ldr r2, [r3, #16] - 800348c: 69fb ldr r3, [r7, #28] - 800348e: f003 0307 and.w r3, r3, #7 - 8003492: 009b lsls r3, r3, #2 - 8003494: fa02 f303 lsl.w r3, r2, r3 - 8003498: 69ba ldr r2, [r7, #24] - 800349a: 4313 orrs r3, r2 - 800349c: 61bb str r3, [r7, #24] + 8003e0c: 683b ldr r3, [r7, #0] + 8003e0e: 691a ldr r2, [r3, #16] + 8003e10: 69fb ldr r3, [r7, #28] + 8003e12: f003 0307 and.w r3, r3, #7 + 8003e16: 009b lsls r3, r3, #2 + 8003e18: fa02 f303 lsl.w r3, r2, r3 + 8003e1c: 69ba ldr r2, [r7, #24] + 8003e1e: 4313 orrs r3, r2 + 8003e20: 61bb str r3, [r7, #24] GPIOx->AFR[position >> 3U] = temp; - 800349e: 69fb ldr r3, [r7, #28] - 80034a0: 08da lsrs r2, r3, #3 - 80034a2: 687b ldr r3, [r7, #4] - 80034a4: 3208 adds r2, #8 - 80034a6: 69b9 ldr r1, [r7, #24] - 80034a8: f843 1022 str.w r1, [r3, r2, lsl #2] + 8003e22: 69fb ldr r3, [r7, #28] + 8003e24: 08da lsrs r2, r3, #3 + 8003e26: 687b ldr r3, [r7, #4] + 8003e28: 3208 adds r2, #8 + 8003e2a: 69b9 ldr r1, [r7, #24] + 8003e2c: f843 1022 str.w r1, [r3, r2, lsl #2] } /* Configure IO Direction mode (Input, Output, Alternate or Analog) */ temp = GPIOx->MODER; - 80034ac: 687b ldr r3, [r7, #4] - 80034ae: 681b ldr r3, [r3, #0] - 80034b0: 61bb str r3, [r7, #24] + 8003e30: 687b ldr r3, [r7, #4] + 8003e32: 681b ldr r3, [r3, #0] + 8003e34: 61bb str r3, [r7, #24] temp &= ~(GPIO_MODER_MODER0 << (position * 2U)); - 80034b2: 69fb ldr r3, [r7, #28] - 80034b4: 005b lsls r3, r3, #1 - 80034b6: 2203 movs r2, #3 - 80034b8: fa02 f303 lsl.w r3, r2, r3 - 80034bc: 43db mvns r3, r3 - 80034be: 69ba ldr r2, [r7, #24] - 80034c0: 4013 ands r3, r2 - 80034c2: 61bb str r3, [r7, #24] + 8003e36: 69fb ldr r3, [r7, #28] + 8003e38: 005b lsls r3, r3, #1 + 8003e3a: 2203 movs r2, #3 + 8003e3c: fa02 f303 lsl.w r3, r2, r3 + 8003e40: 43db mvns r3, r3 + 8003e42: 69ba ldr r2, [r7, #24] + 8003e44: 4013 ands r3, r2 + 8003e46: 61bb str r3, [r7, #24] temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2U)); - 80034c4: 683b ldr r3, [r7, #0] - 80034c6: 685b ldr r3, [r3, #4] - 80034c8: f003 0203 and.w r2, r3, #3 - 80034cc: 69fb ldr r3, [r7, #28] - 80034ce: 005b lsls r3, r3, #1 - 80034d0: fa02 f303 lsl.w r3, r2, r3 - 80034d4: 69ba ldr r2, [r7, #24] - 80034d6: 4313 orrs r3, r2 - 80034d8: 61bb str r3, [r7, #24] + 8003e48: 683b ldr r3, [r7, #0] + 8003e4a: 685b ldr r3, [r3, #4] + 8003e4c: f003 0203 and.w r2, r3, #3 + 8003e50: 69fb ldr r3, [r7, #28] + 8003e52: 005b lsls r3, r3, #1 + 8003e54: fa02 f303 lsl.w r3, r2, r3 + 8003e58: 69ba ldr r2, [r7, #24] + 8003e5a: 4313 orrs r3, r2 + 8003e5c: 61bb str r3, [r7, #24] GPIOx->MODER = temp; - 80034da: 687b ldr r3, [r7, #4] - 80034dc: 69ba ldr r2, [r7, #24] - 80034de: 601a str r2, [r3, #0] + 8003e5e: 687b ldr r3, [r7, #4] + 8003e60: 69ba ldr r2, [r7, #24] + 8003e62: 601a str r2, [r3, #0] /*--------------------- EXTI Mode Configuration ------------------------*/ /* Configure the External Interrupt or event for the current IO */ if((GPIO_Init->Mode & EXTI_MODE) != 0x00U) - 80034e0: 683b ldr r3, [r7, #0] - 80034e2: 685b ldr r3, [r3, #4] - 80034e4: f403 3340 and.w r3, r3, #196608 @ 0x30000 - 80034e8: 2b00 cmp r3, #0 - 80034ea: f000 80c0 beq.w 800366e + 8003e64: 683b ldr r3, [r7, #0] + 8003e66: 685b ldr r3, [r3, #4] + 8003e68: f403 3340 and.w r3, r3, #196608 @ 0x30000 + 8003e6c: 2b00 cmp r3, #0 + 8003e6e: f000 80c0 beq.w 8003ff2 { /* Enable SYSCFG Clock */ __HAL_RCC_SYSCFG_CLK_ENABLE(); - 80034ee: 2300 movs r3, #0 - 80034f0: 60fb str r3, [r7, #12] - 80034f2: 4b66 ldr r3, [pc, #408] @ (800368c ) - 80034f4: 6c5b ldr r3, [r3, #68] @ 0x44 - 80034f6: 4a65 ldr r2, [pc, #404] @ (800368c ) - 80034f8: f443 4380 orr.w r3, r3, #16384 @ 0x4000 - 80034fc: 6453 str r3, [r2, #68] @ 0x44 - 80034fe: 4b63 ldr r3, [pc, #396] @ (800368c ) - 8003500: 6c5b ldr r3, [r3, #68] @ 0x44 - 8003502: f403 4380 and.w r3, r3, #16384 @ 0x4000 - 8003506: 60fb str r3, [r7, #12] - 8003508: 68fb ldr r3, [r7, #12] + 8003e72: 2300 movs r3, #0 + 8003e74: 60fb str r3, [r7, #12] + 8003e76: 4b66 ldr r3, [pc, #408] @ (8004010 ) + 8003e78: 6c5b ldr r3, [r3, #68] @ 0x44 + 8003e7a: 4a65 ldr r2, [pc, #404] @ (8004010 ) + 8003e7c: f443 4380 orr.w r3, r3, #16384 @ 0x4000 + 8003e80: 6453 str r3, [r2, #68] @ 0x44 + 8003e82: 4b63 ldr r3, [pc, #396] @ (8004010 ) + 8003e84: 6c5b ldr r3, [r3, #68] @ 0x44 + 8003e86: f403 4380 and.w r3, r3, #16384 @ 0x4000 + 8003e8a: 60fb str r3, [r7, #12] + 8003e8c: 68fb ldr r3, [r7, #12] temp = SYSCFG->EXTICR[position >> 2U]; - 800350a: 4a61 ldr r2, [pc, #388] @ (8003690 ) - 800350c: 69fb ldr r3, [r7, #28] - 800350e: 089b lsrs r3, r3, #2 - 8003510: 3302 adds r3, #2 - 8003512: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8003516: 61bb str r3, [r7, #24] + 8003e8e: 4a61 ldr r2, [pc, #388] @ (8004014 ) + 8003e90: 69fb ldr r3, [r7, #28] + 8003e92: 089b lsrs r3, r3, #2 + 8003e94: 3302 adds r3, #2 + 8003e96: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8003e9a: 61bb str r3, [r7, #24] temp &= ~(0x0FU << (4U * (position & 0x03U))); - 8003518: 69fb ldr r3, [r7, #28] - 800351a: f003 0303 and.w r3, r3, #3 - 800351e: 009b lsls r3, r3, #2 - 8003520: 220f movs r2, #15 - 8003522: fa02 f303 lsl.w r3, r2, r3 - 8003526: 43db mvns r3, r3 - 8003528: 69ba ldr r2, [r7, #24] - 800352a: 4013 ands r3, r2 - 800352c: 61bb str r3, [r7, #24] + 8003e9c: 69fb ldr r3, [r7, #28] + 8003e9e: f003 0303 and.w r3, r3, #3 + 8003ea2: 009b lsls r3, r3, #2 + 8003ea4: 220f movs r2, #15 + 8003ea6: fa02 f303 lsl.w r3, r2, r3 + 8003eaa: 43db mvns r3, r3 + 8003eac: 69ba ldr r2, [r7, #24] + 8003eae: 4013 ands r3, r2 + 8003eb0: 61bb str r3, [r7, #24] temp |= ((uint32_t)(GPIO_GET_INDEX(GPIOx)) << (4U * (position & 0x03U))); - 800352e: 687b ldr r3, [r7, #4] - 8003530: 4a58 ldr r2, [pc, #352] @ (8003694 ) - 8003532: 4293 cmp r3, r2 - 8003534: d037 beq.n 80035a6 - 8003536: 687b ldr r3, [r7, #4] - 8003538: 4a57 ldr r2, [pc, #348] @ (8003698 ) - 800353a: 4293 cmp r3, r2 - 800353c: d031 beq.n 80035a2 - 800353e: 687b ldr r3, [r7, #4] - 8003540: 4a56 ldr r2, [pc, #344] @ (800369c ) - 8003542: 4293 cmp r3, r2 - 8003544: d02b beq.n 800359e - 8003546: 687b ldr r3, [r7, #4] - 8003548: 4a55 ldr r2, [pc, #340] @ (80036a0 ) - 800354a: 4293 cmp r3, r2 - 800354c: d025 beq.n 800359a - 800354e: 687b ldr r3, [r7, #4] - 8003550: 4a54 ldr r2, [pc, #336] @ (80036a4 ) - 8003552: 4293 cmp r3, r2 - 8003554: d01f beq.n 8003596 - 8003556: 687b ldr r3, [r7, #4] - 8003558: 4a53 ldr r2, [pc, #332] @ (80036a8 ) - 800355a: 4293 cmp r3, r2 - 800355c: d019 beq.n 8003592 - 800355e: 687b ldr r3, [r7, #4] - 8003560: 4a52 ldr r2, [pc, #328] @ (80036ac ) - 8003562: 4293 cmp r3, r2 - 8003564: d013 beq.n 800358e - 8003566: 687b ldr r3, [r7, #4] - 8003568: 4a51 ldr r2, [pc, #324] @ (80036b0 ) - 800356a: 4293 cmp r3, r2 - 800356c: d00d beq.n 800358a - 800356e: 687b ldr r3, [r7, #4] - 8003570: 4a50 ldr r2, [pc, #320] @ (80036b4 ) - 8003572: 4293 cmp r3, r2 - 8003574: d007 beq.n 8003586 - 8003576: 687b ldr r3, [r7, #4] - 8003578: 4a4f ldr r2, [pc, #316] @ (80036b8 ) - 800357a: 4293 cmp r3, r2 - 800357c: d101 bne.n 8003582 - 800357e: 2309 movs r3, #9 - 8003580: e012 b.n 80035a8 - 8003582: 230a movs r3, #10 - 8003584: e010 b.n 80035a8 - 8003586: 2308 movs r3, #8 - 8003588: e00e b.n 80035a8 - 800358a: 2307 movs r3, #7 - 800358c: e00c b.n 80035a8 - 800358e: 2306 movs r3, #6 - 8003590: e00a b.n 80035a8 - 8003592: 2305 movs r3, #5 - 8003594: e008 b.n 80035a8 - 8003596: 2304 movs r3, #4 - 8003598: e006 b.n 80035a8 - 800359a: 2303 movs r3, #3 - 800359c: e004 b.n 80035a8 - 800359e: 2302 movs r3, #2 - 80035a0: e002 b.n 80035a8 - 80035a2: 2301 movs r3, #1 - 80035a4: e000 b.n 80035a8 - 80035a6: 2300 movs r3, #0 - 80035a8: 69fa ldr r2, [r7, #28] - 80035aa: f002 0203 and.w r2, r2, #3 - 80035ae: 0092 lsls r2, r2, #2 - 80035b0: 4093 lsls r3, r2 - 80035b2: 69ba ldr r2, [r7, #24] - 80035b4: 4313 orrs r3, r2 - 80035b6: 61bb str r3, [r7, #24] + 8003eb2: 687b ldr r3, [r7, #4] + 8003eb4: 4a58 ldr r2, [pc, #352] @ (8004018 ) + 8003eb6: 4293 cmp r3, r2 + 8003eb8: d037 beq.n 8003f2a + 8003eba: 687b ldr r3, [r7, #4] + 8003ebc: 4a57 ldr r2, [pc, #348] @ (800401c ) + 8003ebe: 4293 cmp r3, r2 + 8003ec0: d031 beq.n 8003f26 + 8003ec2: 687b ldr r3, [r7, #4] + 8003ec4: 4a56 ldr r2, [pc, #344] @ (8004020 ) + 8003ec6: 4293 cmp r3, r2 + 8003ec8: d02b beq.n 8003f22 + 8003eca: 687b ldr r3, [r7, #4] + 8003ecc: 4a55 ldr r2, [pc, #340] @ (8004024 ) + 8003ece: 4293 cmp r3, r2 + 8003ed0: d025 beq.n 8003f1e + 8003ed2: 687b ldr r3, [r7, #4] + 8003ed4: 4a54 ldr r2, [pc, #336] @ (8004028 ) + 8003ed6: 4293 cmp r3, r2 + 8003ed8: d01f beq.n 8003f1a + 8003eda: 687b ldr r3, [r7, #4] + 8003edc: 4a53 ldr r2, [pc, #332] @ (800402c ) + 8003ede: 4293 cmp r3, r2 + 8003ee0: d019 beq.n 8003f16 + 8003ee2: 687b ldr r3, [r7, #4] + 8003ee4: 4a52 ldr r2, [pc, #328] @ (8004030 ) + 8003ee6: 4293 cmp r3, r2 + 8003ee8: d013 beq.n 8003f12 + 8003eea: 687b ldr r3, [r7, #4] + 8003eec: 4a51 ldr r2, [pc, #324] @ (8004034 ) + 8003eee: 4293 cmp r3, r2 + 8003ef0: d00d beq.n 8003f0e + 8003ef2: 687b ldr r3, [r7, #4] + 8003ef4: 4a50 ldr r2, [pc, #320] @ (8004038 ) + 8003ef6: 4293 cmp r3, r2 + 8003ef8: d007 beq.n 8003f0a + 8003efa: 687b ldr r3, [r7, #4] + 8003efc: 4a4f ldr r2, [pc, #316] @ (800403c ) + 8003efe: 4293 cmp r3, r2 + 8003f00: d101 bne.n 8003f06 + 8003f02: 2309 movs r3, #9 + 8003f04: e012 b.n 8003f2c + 8003f06: 230a movs r3, #10 + 8003f08: e010 b.n 8003f2c + 8003f0a: 2308 movs r3, #8 + 8003f0c: e00e b.n 8003f2c + 8003f0e: 2307 movs r3, #7 + 8003f10: e00c b.n 8003f2c + 8003f12: 2306 movs r3, #6 + 8003f14: e00a b.n 8003f2c + 8003f16: 2305 movs r3, #5 + 8003f18: e008 b.n 8003f2c + 8003f1a: 2304 movs r3, #4 + 8003f1c: e006 b.n 8003f2c + 8003f1e: 2303 movs r3, #3 + 8003f20: e004 b.n 8003f2c + 8003f22: 2302 movs r3, #2 + 8003f24: e002 b.n 8003f2c + 8003f26: 2301 movs r3, #1 + 8003f28: e000 b.n 8003f2c + 8003f2a: 2300 movs r3, #0 + 8003f2c: 69fa ldr r2, [r7, #28] + 8003f2e: f002 0203 and.w r2, r2, #3 + 8003f32: 0092 lsls r2, r2, #2 + 8003f34: 4093 lsls r3, r2 + 8003f36: 69ba ldr r2, [r7, #24] + 8003f38: 4313 orrs r3, r2 + 8003f3a: 61bb str r3, [r7, #24] SYSCFG->EXTICR[position >> 2U] = temp; - 80035b8: 4935 ldr r1, [pc, #212] @ (8003690 ) - 80035ba: 69fb ldr r3, [r7, #28] - 80035bc: 089b lsrs r3, r3, #2 - 80035be: 3302 adds r3, #2 - 80035c0: 69ba ldr r2, [r7, #24] - 80035c2: f841 2023 str.w r2, [r1, r3, lsl #2] + 8003f3c: 4935 ldr r1, [pc, #212] @ (8004014 ) + 8003f3e: 69fb ldr r3, [r7, #28] + 8003f40: 089b lsrs r3, r3, #2 + 8003f42: 3302 adds r3, #2 + 8003f44: 69ba ldr r2, [r7, #24] + 8003f46: f841 2023 str.w r2, [r1, r3, lsl #2] /* Clear Rising Falling edge configuration */ temp = EXTI->RTSR; - 80035c6: 4b3d ldr r3, [pc, #244] @ (80036bc ) - 80035c8: 689b ldr r3, [r3, #8] - 80035ca: 61bb str r3, [r7, #24] + 8003f4a: 4b3d ldr r3, [pc, #244] @ (8004040 ) + 8003f4c: 689b ldr r3, [r3, #8] + 8003f4e: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 80035cc: 693b ldr r3, [r7, #16] - 80035ce: 43db mvns r3, r3 - 80035d0: 69ba ldr r2, [r7, #24] - 80035d2: 4013 ands r3, r2 - 80035d4: 61bb str r3, [r7, #24] + 8003f50: 693b ldr r3, [r7, #16] + 8003f52: 43db mvns r3, r3 + 8003f54: 69ba ldr r2, [r7, #24] + 8003f56: 4013 ands r3, r2 + 8003f58: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & TRIGGER_RISING) != 0x00U) - 80035d6: 683b ldr r3, [r7, #0] - 80035d8: 685b ldr r3, [r3, #4] - 80035da: f403 1380 and.w r3, r3, #1048576 @ 0x100000 - 80035de: 2b00 cmp r3, #0 - 80035e0: d003 beq.n 80035ea + 8003f5a: 683b ldr r3, [r7, #0] + 8003f5c: 685b ldr r3, [r3, #4] + 8003f5e: f403 1380 and.w r3, r3, #1048576 @ 0x100000 + 8003f62: 2b00 cmp r3, #0 + 8003f64: d003 beq.n 8003f6e { temp |= iocurrent; - 80035e2: 69ba ldr r2, [r7, #24] - 80035e4: 693b ldr r3, [r7, #16] - 80035e6: 4313 orrs r3, r2 - 80035e8: 61bb str r3, [r7, #24] + 8003f66: 69ba ldr r2, [r7, #24] + 8003f68: 693b ldr r3, [r7, #16] + 8003f6a: 4313 orrs r3, r2 + 8003f6c: 61bb str r3, [r7, #24] } EXTI->RTSR = temp; - 80035ea: 4a34 ldr r2, [pc, #208] @ (80036bc ) - 80035ec: 69bb ldr r3, [r7, #24] - 80035ee: 6093 str r3, [r2, #8] + 8003f6e: 4a34 ldr r2, [pc, #208] @ (8004040 ) + 8003f70: 69bb ldr r3, [r7, #24] + 8003f72: 6093 str r3, [r2, #8] temp = EXTI->FTSR; - 80035f0: 4b32 ldr r3, [pc, #200] @ (80036bc ) - 80035f2: 68db ldr r3, [r3, #12] - 80035f4: 61bb str r3, [r7, #24] + 8003f74: 4b32 ldr r3, [pc, #200] @ (8004040 ) + 8003f76: 68db ldr r3, [r3, #12] + 8003f78: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 80035f6: 693b ldr r3, [r7, #16] - 80035f8: 43db mvns r3, r3 - 80035fa: 69ba ldr r2, [r7, #24] - 80035fc: 4013 ands r3, r2 - 80035fe: 61bb str r3, [r7, #24] + 8003f7a: 693b ldr r3, [r7, #16] + 8003f7c: 43db mvns r3, r3 + 8003f7e: 69ba ldr r2, [r7, #24] + 8003f80: 4013 ands r3, r2 + 8003f82: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & TRIGGER_FALLING) != 0x00U) - 8003600: 683b ldr r3, [r7, #0] - 8003602: 685b ldr r3, [r3, #4] - 8003604: f403 1300 and.w r3, r3, #2097152 @ 0x200000 - 8003608: 2b00 cmp r3, #0 - 800360a: d003 beq.n 8003614 + 8003f84: 683b ldr r3, [r7, #0] + 8003f86: 685b ldr r3, [r3, #4] + 8003f88: f403 1300 and.w r3, r3, #2097152 @ 0x200000 + 8003f8c: 2b00 cmp r3, #0 + 8003f8e: d003 beq.n 8003f98 { temp |= iocurrent; - 800360c: 69ba ldr r2, [r7, #24] - 800360e: 693b ldr r3, [r7, #16] - 8003610: 4313 orrs r3, r2 - 8003612: 61bb str r3, [r7, #24] + 8003f90: 69ba ldr r2, [r7, #24] + 8003f92: 693b ldr r3, [r7, #16] + 8003f94: 4313 orrs r3, r2 + 8003f96: 61bb str r3, [r7, #24] } EXTI->FTSR = temp; - 8003614: 4a29 ldr r2, [pc, #164] @ (80036bc ) - 8003616: 69bb ldr r3, [r7, #24] - 8003618: 60d3 str r3, [r2, #12] + 8003f98: 4a29 ldr r2, [pc, #164] @ (8004040 ) + 8003f9a: 69bb ldr r3, [r7, #24] + 8003f9c: 60d3 str r3, [r2, #12] temp = EXTI->EMR; - 800361a: 4b28 ldr r3, [pc, #160] @ (80036bc ) - 800361c: 685b ldr r3, [r3, #4] - 800361e: 61bb str r3, [r7, #24] + 8003f9e: 4b28 ldr r3, [pc, #160] @ (8004040 ) + 8003fa0: 685b ldr r3, [r3, #4] + 8003fa2: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 8003620: 693b ldr r3, [r7, #16] - 8003622: 43db mvns r3, r3 - 8003624: 69ba ldr r2, [r7, #24] - 8003626: 4013 ands r3, r2 - 8003628: 61bb str r3, [r7, #24] + 8003fa4: 693b ldr r3, [r7, #16] + 8003fa6: 43db mvns r3, r3 + 8003fa8: 69ba ldr r2, [r7, #24] + 8003faa: 4013 ands r3, r2 + 8003fac: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & EXTI_EVT) != 0x00U) - 800362a: 683b ldr r3, [r7, #0] - 800362c: 685b ldr r3, [r3, #4] - 800362e: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 8003632: 2b00 cmp r3, #0 - 8003634: d003 beq.n 800363e + 8003fae: 683b ldr r3, [r7, #0] + 8003fb0: 685b ldr r3, [r3, #4] + 8003fb2: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 8003fb6: 2b00 cmp r3, #0 + 8003fb8: d003 beq.n 8003fc2 { temp |= iocurrent; - 8003636: 69ba ldr r2, [r7, #24] - 8003638: 693b ldr r3, [r7, #16] - 800363a: 4313 orrs r3, r2 - 800363c: 61bb str r3, [r7, #24] + 8003fba: 69ba ldr r2, [r7, #24] + 8003fbc: 693b ldr r3, [r7, #16] + 8003fbe: 4313 orrs r3, r2 + 8003fc0: 61bb str r3, [r7, #24] } EXTI->EMR = temp; - 800363e: 4a1f ldr r2, [pc, #124] @ (80036bc ) - 8003640: 69bb ldr r3, [r7, #24] - 8003642: 6053 str r3, [r2, #4] + 8003fc2: 4a1f ldr r2, [pc, #124] @ (8004040 ) + 8003fc4: 69bb ldr r3, [r7, #24] + 8003fc6: 6053 str r3, [r2, #4] /* Clear EXTI line configuration */ temp = EXTI->IMR; - 8003644: 4b1d ldr r3, [pc, #116] @ (80036bc ) - 8003646: 681b ldr r3, [r3, #0] - 8003648: 61bb str r3, [r7, #24] + 8003fc8: 4b1d ldr r3, [pc, #116] @ (8004040 ) + 8003fca: 681b ldr r3, [r3, #0] + 8003fcc: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 800364a: 693b ldr r3, [r7, #16] - 800364c: 43db mvns r3, r3 - 800364e: 69ba ldr r2, [r7, #24] - 8003650: 4013 ands r3, r2 - 8003652: 61bb str r3, [r7, #24] + 8003fce: 693b ldr r3, [r7, #16] + 8003fd0: 43db mvns r3, r3 + 8003fd2: 69ba ldr r2, [r7, #24] + 8003fd4: 4013 ands r3, r2 + 8003fd6: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & EXTI_IT) != 0x00U) - 8003654: 683b ldr r3, [r7, #0] - 8003656: 685b ldr r3, [r3, #4] - 8003658: f403 3380 and.w r3, r3, #65536 @ 0x10000 - 800365c: 2b00 cmp r3, #0 - 800365e: d003 beq.n 8003668 + 8003fd8: 683b ldr r3, [r7, #0] + 8003fda: 685b ldr r3, [r3, #4] + 8003fdc: f403 3380 and.w r3, r3, #65536 @ 0x10000 + 8003fe0: 2b00 cmp r3, #0 + 8003fe2: d003 beq.n 8003fec { temp |= iocurrent; - 8003660: 69ba ldr r2, [r7, #24] - 8003662: 693b ldr r3, [r7, #16] - 8003664: 4313 orrs r3, r2 - 8003666: 61bb str r3, [r7, #24] + 8003fe4: 69ba ldr r2, [r7, #24] + 8003fe6: 693b ldr r3, [r7, #16] + 8003fe8: 4313 orrs r3, r2 + 8003fea: 61bb str r3, [r7, #24] } EXTI->IMR = temp; - 8003668: 4a14 ldr r2, [pc, #80] @ (80036bc ) - 800366a: 69bb ldr r3, [r7, #24] - 800366c: 6013 str r3, [r2, #0] + 8003fec: 4a14 ldr r2, [pc, #80] @ (8004040 ) + 8003fee: 69bb ldr r3, [r7, #24] + 8003ff0: 6013 str r3, [r2, #0] for(position = 0U; position < GPIO_NUMBER; position++) - 800366e: 69fb ldr r3, [r7, #28] - 8003670: 3301 adds r3, #1 - 8003672: 61fb str r3, [r7, #28] - 8003674: 69fb ldr r3, [r7, #28] - 8003676: 2b0f cmp r3, #15 - 8003678: f67f ae84 bls.w 8003384 + 8003ff2: 69fb ldr r3, [r7, #28] + 8003ff4: 3301 adds r3, #1 + 8003ff6: 61fb str r3, [r7, #28] + 8003ff8: 69fb ldr r3, [r7, #28] + 8003ffa: 2b0f cmp r3, #15 + 8003ffc: f67f ae84 bls.w 8003d08 } } } } - 800367c: bf00 nop - 800367e: bf00 nop - 8003680: 3724 adds r7, #36 @ 0x24 - 8003682: 46bd mov sp, r7 - 8003684: f85d 7b04 ldr.w r7, [sp], #4 - 8003688: 4770 bx lr - 800368a: bf00 nop - 800368c: 40023800 .word 0x40023800 - 8003690: 40013800 .word 0x40013800 - 8003694: 40020000 .word 0x40020000 - 8003698: 40020400 .word 0x40020400 - 800369c: 40020800 .word 0x40020800 - 80036a0: 40020c00 .word 0x40020c00 - 80036a4: 40021000 .word 0x40021000 - 80036a8: 40021400 .word 0x40021400 - 80036ac: 40021800 .word 0x40021800 - 80036b0: 40021c00 .word 0x40021c00 - 80036b4: 40022000 .word 0x40022000 - 80036b8: 40022400 .word 0x40022400 - 80036bc: 40013c00 .word 0x40013c00 + 8004000: bf00 nop + 8004002: bf00 nop + 8004004: 3724 adds r7, #36 @ 0x24 + 8004006: 46bd mov sp, r7 + 8004008: f85d 7b04 ldr.w r7, [sp], #4 + 800400c: 4770 bx lr + 800400e: bf00 nop + 8004010: 40023800 .word 0x40023800 + 8004014: 40013800 .word 0x40013800 + 8004018: 40020000 .word 0x40020000 + 800401c: 40020400 .word 0x40020400 + 8004020: 40020800 .word 0x40020800 + 8004024: 40020c00 .word 0x40020c00 + 8004028: 40021000 .word 0x40021000 + 800402c: 40021400 .word 0x40021400 + 8004030: 40021800 .word 0x40021800 + 8004034: 40021c00 .word 0x40021c00 + 8004038: 40022000 .word 0x40022000 + 800403c: 40022400 .word 0x40022400 + 8004040: 40013c00 .word 0x40013c00 -080036c0 : +08004044 : * @arg GPIO_PIN_RESET: to clear the port pin * @arg GPIO_PIN_SET: to set the port pin * @retval None */ void HAL_GPIO_WritePin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState) { - 80036c0: b480 push {r7} - 80036c2: b083 sub sp, #12 - 80036c4: af00 add r7, sp, #0 - 80036c6: 6078 str r0, [r7, #4] - 80036c8: 460b mov r3, r1 - 80036ca: 807b strh r3, [r7, #2] - 80036cc: 4613 mov r3, r2 - 80036ce: 707b strb r3, [r7, #1] + 8004044: b480 push {r7} + 8004046: b083 sub sp, #12 + 8004048: af00 add r7, sp, #0 + 800404a: 6078 str r0, [r7, #4] + 800404c: 460b mov r3, r1 + 800404e: 807b strh r3, [r7, #2] + 8004050: 4613 mov r3, r2 + 8004052: 707b strb r3, [r7, #1] /* Check the parameters */ assert_param(IS_GPIO_PIN(GPIO_Pin)); assert_param(IS_GPIO_PIN_ACTION(PinState)); if(PinState != GPIO_PIN_RESET) - 80036d0: 787b ldrb r3, [r7, #1] - 80036d2: 2b00 cmp r3, #0 - 80036d4: d003 beq.n 80036de + 8004054: 787b ldrb r3, [r7, #1] + 8004056: 2b00 cmp r3, #0 + 8004058: d003 beq.n 8004062 { GPIOx->BSRR = GPIO_Pin; - 80036d6: 887a ldrh r2, [r7, #2] - 80036d8: 687b ldr r3, [r7, #4] - 80036da: 619a str r2, [r3, #24] + 800405a: 887a ldrh r2, [r7, #2] + 800405c: 687b ldr r3, [r7, #4] + 800405e: 619a str r2, [r3, #24] } else { GPIOx->BSRR = (uint32_t)GPIO_Pin << 16U; } } - 80036dc: e003 b.n 80036e6 + 8004060: e003 b.n 800406a GPIOx->BSRR = (uint32_t)GPIO_Pin << 16U; - 80036de: 887b ldrh r3, [r7, #2] - 80036e0: 041a lsls r2, r3, #16 - 80036e2: 687b ldr r3, [r7, #4] - 80036e4: 619a str r2, [r3, #24] + 8004062: 887b ldrh r3, [r7, #2] + 8004064: 041a lsls r2, r3, #16 + 8004066: 687b ldr r3, [r7, #4] + 8004068: 619a str r2, [r3, #24] } - 80036e6: bf00 nop - 80036e8: 370c adds r7, #12 - 80036ea: 46bd mov sp, r7 - 80036ec: f85d 7b04 ldr.w r7, [sp], #4 - 80036f0: 4770 bx lr + 800406a: bf00 nop + 800406c: 370c adds r7, #12 + 800406e: 46bd mov sp, r7 + 8004070: f85d 7b04 ldr.w r7, [sp], #4 + 8004074: 4770 bx lr ... -080036f4 : +08004078 : * supported by this API. User should request a transition to HSE Off * first and then HSE On or HSE Bypass. * @retval HAL status */ __weak HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct) { - 80036f4: b580 push {r7, lr} - 80036f6: b086 sub sp, #24 - 80036f8: af00 add r7, sp, #0 - 80036fa: 6078 str r0, [r7, #4] + 8004078: b580 push {r7, lr} + 800407a: b086 sub sp, #24 + 800407c: af00 add r7, sp, #0 + 800407e: 6078 str r0, [r7, #4] uint32_t tickstart, pll_config; /* Check Null pointer */ if(RCC_OscInitStruct == NULL) - 80036fc: 687b ldr r3, [r7, #4] - 80036fe: 2b00 cmp r3, #0 - 8003700: d101 bne.n 8003706 + 8004080: 687b ldr r3, [r7, #4] + 8004082: 2b00 cmp r3, #0 + 8004084: d101 bne.n 800408a { return HAL_ERROR; - 8003702: 2301 movs r3, #1 - 8003704: e267 b.n 8003bd6 + 8004086: 2301 movs r3, #1 + 8004088: e267 b.n 800455a } /* Check the parameters */ assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); /*------------------------------- HSE Configuration ------------------------*/ if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE) - 8003706: 687b ldr r3, [r7, #4] - 8003708: 681b ldr r3, [r3, #0] - 800370a: f003 0301 and.w r3, r3, #1 - 800370e: 2b00 cmp r3, #0 - 8003710: d075 beq.n 80037fe + 800408a: 687b ldr r3, [r7, #4] + 800408c: 681b ldr r3, [r3, #0] + 800408e: f003 0301 and.w r3, r3, #1 + 8004092: 2b00 cmp r3, #0 + 8004094: d075 beq.n 8004182 { /* Check the parameters */ assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState)); /* When the HSE is used as system clock or clock source for PLL in these cases HSE will not disabled */ if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_HSE) ||\ - 8003712: 4b88 ldr r3, [pc, #544] @ (8003934 ) - 8003714: 689b ldr r3, [r3, #8] - 8003716: f003 030c and.w r3, r3, #12 - 800371a: 2b04 cmp r3, #4 - 800371c: d00c beq.n 8003738 + 8004096: 4b88 ldr r3, [pc, #544] @ (80042b8 ) + 8004098: 689b ldr r3, [r3, #8] + 800409a: f003 030c and.w r3, r3, #12 + 800409e: 2b04 cmp r3, #4 + 80040a0: d00c beq.n 80040bc ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSE))) - 800371e: 4b85 ldr r3, [pc, #532] @ (8003934 ) - 8003720: 689b ldr r3, [r3, #8] - 8003722: f003 030c and.w r3, r3, #12 + 80040a2: 4b85 ldr r3, [pc, #532] @ (80042b8 ) + 80040a4: 689b ldr r3, [r3, #8] + 80040a6: f003 030c and.w r3, r3, #12 if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_HSE) ||\ - 8003726: 2b08 cmp r3, #8 - 8003728: d112 bne.n 8003750 + 80040aa: 2b08 cmp r3, #8 + 80040ac: d112 bne.n 80040d4 ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSE))) - 800372a: 4b82 ldr r3, [pc, #520] @ (8003934 ) - 800372c: 685b ldr r3, [r3, #4] - 800372e: f403 0380 and.w r3, r3, #4194304 @ 0x400000 - 8003732: f5b3 0f80 cmp.w r3, #4194304 @ 0x400000 - 8003736: d10b bne.n 8003750 + 80040ae: 4b82 ldr r3, [pc, #520] @ (80042b8 ) + 80040b0: 685b ldr r3, [r3, #4] + 80040b2: f403 0380 and.w r3, r3, #4194304 @ 0x400000 + 80040b6: f5b3 0f80 cmp.w r3, #4194304 @ 0x400000 + 80040ba: d10b bne.n 80040d4 { if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) - 8003738: 4b7e ldr r3, [pc, #504] @ (8003934 ) - 800373a: 681b ldr r3, [r3, #0] - 800373c: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 8003740: 2b00 cmp r3, #0 - 8003742: d05b beq.n 80037fc - 8003744: 687b ldr r3, [r7, #4] - 8003746: 685b ldr r3, [r3, #4] - 8003748: 2b00 cmp r3, #0 - 800374a: d157 bne.n 80037fc + 80040bc: 4b7e ldr r3, [pc, #504] @ (80042b8 ) + 80040be: 681b ldr r3, [r3, #0] + 80040c0: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 80040c4: 2b00 cmp r3, #0 + 80040c6: d05b beq.n 8004180 + 80040c8: 687b ldr r3, [r7, #4] + 80040ca: 685b ldr r3, [r3, #4] + 80040cc: 2b00 cmp r3, #0 + 80040ce: d157 bne.n 8004180 { return HAL_ERROR; - 800374c: 2301 movs r3, #1 - 800374e: e242 b.n 8003bd6 + 80040d0: 2301 movs r3, #1 + 80040d2: e242 b.n 800455a } } else { /* Set the new HSE configuration ---------------------------------------*/ __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState); - 8003750: 687b ldr r3, [r7, #4] - 8003752: 685b ldr r3, [r3, #4] - 8003754: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8003758: d106 bne.n 8003768 - 800375a: 4b76 ldr r3, [pc, #472] @ (8003934 ) - 800375c: 681b ldr r3, [r3, #0] - 800375e: 4a75 ldr r2, [pc, #468] @ (8003934 ) - 8003760: f443 3380 orr.w r3, r3, #65536 @ 0x10000 - 8003764: 6013 str r3, [r2, #0] - 8003766: e01d b.n 80037a4 - 8003768: 687b ldr r3, [r7, #4] - 800376a: 685b ldr r3, [r3, #4] - 800376c: f5b3 2fa0 cmp.w r3, #327680 @ 0x50000 - 8003770: d10c bne.n 800378c - 8003772: 4b70 ldr r3, [pc, #448] @ (8003934 ) - 8003774: 681b ldr r3, [r3, #0] - 8003776: 4a6f ldr r2, [pc, #444] @ (8003934 ) - 8003778: f443 2380 orr.w r3, r3, #262144 @ 0x40000 - 800377c: 6013 str r3, [r2, #0] - 800377e: 4b6d ldr r3, [pc, #436] @ (8003934 ) - 8003780: 681b ldr r3, [r3, #0] - 8003782: 4a6c ldr r2, [pc, #432] @ (8003934 ) - 8003784: f443 3380 orr.w r3, r3, #65536 @ 0x10000 - 8003788: 6013 str r3, [r2, #0] - 800378a: e00b b.n 80037a4 - 800378c: 4b69 ldr r3, [pc, #420] @ (8003934 ) - 800378e: 681b ldr r3, [r3, #0] - 8003790: 4a68 ldr r2, [pc, #416] @ (8003934 ) - 8003792: f423 3380 bic.w r3, r3, #65536 @ 0x10000 - 8003796: 6013 str r3, [r2, #0] - 8003798: 4b66 ldr r3, [pc, #408] @ (8003934 ) - 800379a: 681b ldr r3, [r3, #0] - 800379c: 4a65 ldr r2, [pc, #404] @ (8003934 ) - 800379e: f423 2380 bic.w r3, r3, #262144 @ 0x40000 - 80037a2: 6013 str r3, [r2, #0] + 80040d4: 687b ldr r3, [r7, #4] + 80040d6: 685b ldr r3, [r3, #4] + 80040d8: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 80040dc: d106 bne.n 80040ec + 80040de: 4b76 ldr r3, [pc, #472] @ (80042b8 ) + 80040e0: 681b ldr r3, [r3, #0] + 80040e2: 4a75 ldr r2, [pc, #468] @ (80042b8 ) + 80040e4: f443 3380 orr.w r3, r3, #65536 @ 0x10000 + 80040e8: 6013 str r3, [r2, #0] + 80040ea: e01d b.n 8004128 + 80040ec: 687b ldr r3, [r7, #4] + 80040ee: 685b ldr r3, [r3, #4] + 80040f0: f5b3 2fa0 cmp.w r3, #327680 @ 0x50000 + 80040f4: d10c bne.n 8004110 + 80040f6: 4b70 ldr r3, [pc, #448] @ (80042b8 ) + 80040f8: 681b ldr r3, [r3, #0] + 80040fa: 4a6f ldr r2, [pc, #444] @ (80042b8 ) + 80040fc: f443 2380 orr.w r3, r3, #262144 @ 0x40000 + 8004100: 6013 str r3, [r2, #0] + 8004102: 4b6d ldr r3, [pc, #436] @ (80042b8 ) + 8004104: 681b ldr r3, [r3, #0] + 8004106: 4a6c ldr r2, [pc, #432] @ (80042b8 ) + 8004108: f443 3380 orr.w r3, r3, #65536 @ 0x10000 + 800410c: 6013 str r3, [r2, #0] + 800410e: e00b b.n 8004128 + 8004110: 4b69 ldr r3, [pc, #420] @ (80042b8 ) + 8004112: 681b ldr r3, [r3, #0] + 8004114: 4a68 ldr r2, [pc, #416] @ (80042b8 ) + 8004116: f423 3380 bic.w r3, r3, #65536 @ 0x10000 + 800411a: 6013 str r3, [r2, #0] + 800411c: 4b66 ldr r3, [pc, #408] @ (80042b8 ) + 800411e: 681b ldr r3, [r3, #0] + 8004120: 4a65 ldr r2, [pc, #404] @ (80042b8 ) + 8004122: f423 2380 bic.w r3, r3, #262144 @ 0x40000 + 8004126: 6013 str r3, [r2, #0] /* Check the HSE State */ if((RCC_OscInitStruct->HSEState) != RCC_HSE_OFF) - 80037a4: 687b ldr r3, [r7, #4] - 80037a6: 685b ldr r3, [r3, #4] - 80037a8: 2b00 cmp r3, #0 - 80037aa: d013 beq.n 80037d4 + 8004128: 687b ldr r3, [r7, #4] + 800412a: 685b ldr r3, [r3, #4] + 800412c: 2b00 cmp r3, #0 + 800412e: d013 beq.n 8004158 { /* Get Start Tick */ tickstart = HAL_GetTick(); - 80037ac: f7fe fba4 bl 8001ef8 - 80037b0: 6138 str r0, [r7, #16] + 8004130: f7fe f892 bl 8002258 + 8004134: 6138 str r0, [r7, #16] /* Wait till HSE is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 80037b2: e008 b.n 80037c6 + 8004136: e008 b.n 800414a { if((HAL_GetTick() - tickstart ) > HSE_TIMEOUT_VALUE) - 80037b4: f7fe fba0 bl 8001ef8 - 80037b8: 4602 mov r2, r0 - 80037ba: 693b ldr r3, [r7, #16] - 80037bc: 1ad3 subs r3, r2, r3 - 80037be: 2b64 cmp r3, #100 @ 0x64 - 80037c0: d901 bls.n 80037c6 + 8004138: f7fe f88e bl 8002258 + 800413c: 4602 mov r2, r0 + 800413e: 693b ldr r3, [r7, #16] + 8004140: 1ad3 subs r3, r2, r3 + 8004142: 2b64 cmp r3, #100 @ 0x64 + 8004144: d901 bls.n 800414a { return HAL_TIMEOUT; - 80037c2: 2303 movs r3, #3 - 80037c4: e207 b.n 8003bd6 + 8004146: 2303 movs r3, #3 + 8004148: e207 b.n 800455a while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 80037c6: 4b5b ldr r3, [pc, #364] @ (8003934 ) - 80037c8: 681b ldr r3, [r3, #0] - 80037ca: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 80037ce: 2b00 cmp r3, #0 - 80037d0: d0f0 beq.n 80037b4 - 80037d2: e014 b.n 80037fe + 800414a: 4b5b ldr r3, [pc, #364] @ (80042b8 ) + 800414c: 681b ldr r3, [r3, #0] + 800414e: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 8004152: 2b00 cmp r3, #0 + 8004154: d0f0 beq.n 8004138 + 8004156: e014 b.n 8004182 } } else { /* Get Start Tick */ tickstart = HAL_GetTick(); - 80037d4: f7fe fb90 bl 8001ef8 - 80037d8: 6138 str r0, [r7, #16] + 8004158: f7fe f87e bl 8002258 + 800415c: 6138 str r0, [r7, #16] /* Wait till HSE is bypassed or disabled */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) - 80037da: e008 b.n 80037ee + 800415e: e008 b.n 8004172 { if((HAL_GetTick() - tickstart ) > HSE_TIMEOUT_VALUE) - 80037dc: f7fe fb8c bl 8001ef8 - 80037e0: 4602 mov r2, r0 - 80037e2: 693b ldr r3, [r7, #16] - 80037e4: 1ad3 subs r3, r2, r3 - 80037e6: 2b64 cmp r3, #100 @ 0x64 - 80037e8: d901 bls.n 80037ee + 8004160: f7fe f87a bl 8002258 + 8004164: 4602 mov r2, r0 + 8004166: 693b ldr r3, [r7, #16] + 8004168: 1ad3 subs r3, r2, r3 + 800416a: 2b64 cmp r3, #100 @ 0x64 + 800416c: d901 bls.n 8004172 { return HAL_TIMEOUT; - 80037ea: 2303 movs r3, #3 - 80037ec: e1f3 b.n 8003bd6 + 800416e: 2303 movs r3, #3 + 8004170: e1f3 b.n 800455a while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) - 80037ee: 4b51 ldr r3, [pc, #324] @ (8003934 ) - 80037f0: 681b ldr r3, [r3, #0] - 80037f2: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 80037f6: 2b00 cmp r3, #0 - 80037f8: d1f0 bne.n 80037dc - 80037fa: e000 b.n 80037fe + 8004172: 4b51 ldr r3, [pc, #324] @ (80042b8 ) + 8004174: 681b ldr r3, [r3, #0] + 8004176: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 800417a: 2b00 cmp r3, #0 + 800417c: d1f0 bne.n 8004160 + 800417e: e000 b.n 8004182 if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) - 80037fc: bf00 nop + 8004180: bf00 nop } } } } /*----------------------------- HSI Configuration --------------------------*/ if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI) - 80037fe: 687b ldr r3, [r7, #4] - 8003800: 681b ldr r3, [r3, #0] - 8003802: f003 0302 and.w r3, r3, #2 - 8003806: 2b00 cmp r3, #0 - 8003808: d063 beq.n 80038d2 + 8004182: 687b ldr r3, [r7, #4] + 8004184: 681b ldr r3, [r3, #0] + 8004186: f003 0302 and.w r3, r3, #2 + 800418a: 2b00 cmp r3, #0 + 800418c: d063 beq.n 8004256 /* Check the parameters */ assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState)); assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue)); /* Check if HSI is used as system clock or as PLL source when PLL is selected as system clock */ if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_HSI) ||\ - 800380a: 4b4a ldr r3, [pc, #296] @ (8003934 ) - 800380c: 689b ldr r3, [r3, #8] - 800380e: f003 030c and.w r3, r3, #12 - 8003812: 2b00 cmp r3, #0 - 8003814: d00b beq.n 800382e + 800418e: 4b4a ldr r3, [pc, #296] @ (80042b8 ) + 8004190: 689b ldr r3, [r3, #8] + 8004192: f003 030c and.w r3, r3, #12 + 8004196: 2b00 cmp r3, #0 + 8004198: d00b beq.n 80041b2 ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSI))) - 8003816: 4b47 ldr r3, [pc, #284] @ (8003934 ) - 8003818: 689b ldr r3, [r3, #8] - 800381a: f003 030c and.w r3, r3, #12 + 800419a: 4b47 ldr r3, [pc, #284] @ (80042b8 ) + 800419c: 689b ldr r3, [r3, #8] + 800419e: f003 030c and.w r3, r3, #12 if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_HSI) ||\ - 800381e: 2b08 cmp r3, #8 - 8003820: d11c bne.n 800385c + 80041a2: 2b08 cmp r3, #8 + 80041a4: d11c bne.n 80041e0 ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSI))) - 8003822: 4b44 ldr r3, [pc, #272] @ (8003934 ) - 8003824: 685b ldr r3, [r3, #4] - 8003826: f403 0380 and.w r3, r3, #4194304 @ 0x400000 - 800382a: 2b00 cmp r3, #0 - 800382c: d116 bne.n 800385c + 80041a6: 4b44 ldr r3, [pc, #272] @ (80042b8 ) + 80041a8: 685b ldr r3, [r3, #4] + 80041aa: f403 0380 and.w r3, r3, #4194304 @ 0x400000 + 80041ae: 2b00 cmp r3, #0 + 80041b0: d116 bne.n 80041e0 { /* When HSI is used as system clock it will not disabled */ if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) - 800382e: 4b41 ldr r3, [pc, #260] @ (8003934 ) - 8003830: 681b ldr r3, [r3, #0] - 8003832: f003 0302 and.w r3, r3, #2 - 8003836: 2b00 cmp r3, #0 - 8003838: d005 beq.n 8003846 - 800383a: 687b ldr r3, [r7, #4] - 800383c: 68db ldr r3, [r3, #12] - 800383e: 2b01 cmp r3, #1 - 8003840: d001 beq.n 8003846 + 80041b2: 4b41 ldr r3, [pc, #260] @ (80042b8 ) + 80041b4: 681b ldr r3, [r3, #0] + 80041b6: f003 0302 and.w r3, r3, #2 + 80041ba: 2b00 cmp r3, #0 + 80041bc: d005 beq.n 80041ca + 80041be: 687b ldr r3, [r7, #4] + 80041c0: 68db ldr r3, [r3, #12] + 80041c2: 2b01 cmp r3, #1 + 80041c4: d001 beq.n 80041ca { return HAL_ERROR; - 8003842: 2301 movs r3, #1 - 8003844: e1c7 b.n 8003bd6 + 80041c6: 2301 movs r3, #1 + 80041c8: e1c7 b.n 800455a } /* Otherwise, just the calibration is allowed */ else { /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/ __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue); - 8003846: 4b3b ldr r3, [pc, #236] @ (8003934 ) - 8003848: 681b ldr r3, [r3, #0] - 800384a: f023 02f8 bic.w r2, r3, #248 @ 0xf8 - 800384e: 687b ldr r3, [r7, #4] - 8003850: 691b ldr r3, [r3, #16] - 8003852: 00db lsls r3, r3, #3 - 8003854: 4937 ldr r1, [pc, #220] @ (8003934 ) - 8003856: 4313 orrs r3, r2 - 8003858: 600b str r3, [r1, #0] + 80041ca: 4b3b ldr r3, [pc, #236] @ (80042b8 ) + 80041cc: 681b ldr r3, [r3, #0] + 80041ce: f023 02f8 bic.w r2, r3, #248 @ 0xf8 + 80041d2: 687b ldr r3, [r7, #4] + 80041d4: 691b ldr r3, [r3, #16] + 80041d6: 00db lsls r3, r3, #3 + 80041d8: 4937 ldr r1, [pc, #220] @ (80042b8 ) + 80041da: 4313 orrs r3, r2 + 80041dc: 600b str r3, [r1, #0] if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) - 800385a: e03a b.n 80038d2 + 80041de: e03a b.n 8004256 } } else { /* Check the HSI State */ if((RCC_OscInitStruct->HSIState)!= RCC_HSI_OFF) - 800385c: 687b ldr r3, [r7, #4] - 800385e: 68db ldr r3, [r3, #12] - 8003860: 2b00 cmp r3, #0 - 8003862: d020 beq.n 80038a6 + 80041e0: 687b ldr r3, [r7, #4] + 80041e2: 68db ldr r3, [r3, #12] + 80041e4: 2b00 cmp r3, #0 + 80041e6: d020 beq.n 800422a { /* Enable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI_ENABLE(); - 8003864: 4b34 ldr r3, [pc, #208] @ (8003938 ) - 8003866: 2201 movs r2, #1 - 8003868: 601a str r2, [r3, #0] + 80041e8: 4b34 ldr r3, [pc, #208] @ (80042bc ) + 80041ea: 2201 movs r2, #1 + 80041ec: 601a str r2, [r3, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 800386a: f7fe fb45 bl 8001ef8 - 800386e: 6138 str r0, [r7, #16] + 80041ee: f7fe f833 bl 8002258 + 80041f2: 6138 str r0, [r7, #16] /* Wait till HSI is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8003870: e008 b.n 8003884 + 80041f4: e008 b.n 8004208 { if((HAL_GetTick() - tickstart ) > HSI_TIMEOUT_VALUE) - 8003872: f7fe fb41 bl 8001ef8 - 8003876: 4602 mov r2, r0 - 8003878: 693b ldr r3, [r7, #16] - 800387a: 1ad3 subs r3, r2, r3 - 800387c: 2b02 cmp r3, #2 - 800387e: d901 bls.n 8003884 + 80041f6: f7fe f82f bl 8002258 + 80041fa: 4602 mov r2, r0 + 80041fc: 693b ldr r3, [r7, #16] + 80041fe: 1ad3 subs r3, r2, r3 + 8004200: 2b02 cmp r3, #2 + 8004202: d901 bls.n 8004208 { return HAL_TIMEOUT; - 8003880: 2303 movs r3, #3 - 8003882: e1a8 b.n 8003bd6 + 8004204: 2303 movs r3, #3 + 8004206: e1a8 b.n 800455a while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8003884: 4b2b ldr r3, [pc, #172] @ (8003934 ) - 8003886: 681b ldr r3, [r3, #0] - 8003888: f003 0302 and.w r3, r3, #2 - 800388c: 2b00 cmp r3, #0 - 800388e: d0f0 beq.n 8003872 + 8004208: 4b2b ldr r3, [pc, #172] @ (80042b8 ) + 800420a: 681b ldr r3, [r3, #0] + 800420c: f003 0302 and.w r3, r3, #2 + 8004210: 2b00 cmp r3, #0 + 8004212: d0f0 beq.n 80041f6 } } /* Adjusts the Internal High Speed oscillator (HSI) calibration value. */ __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue); - 8003890: 4b28 ldr r3, [pc, #160] @ (8003934 ) - 8003892: 681b ldr r3, [r3, #0] - 8003894: f023 02f8 bic.w r2, r3, #248 @ 0xf8 - 8003898: 687b ldr r3, [r7, #4] - 800389a: 691b ldr r3, [r3, #16] - 800389c: 00db lsls r3, r3, #3 - 800389e: 4925 ldr r1, [pc, #148] @ (8003934 ) - 80038a0: 4313 orrs r3, r2 - 80038a2: 600b str r3, [r1, #0] - 80038a4: e015 b.n 80038d2 + 8004214: 4b28 ldr r3, [pc, #160] @ (80042b8 ) + 8004216: 681b ldr r3, [r3, #0] + 8004218: f023 02f8 bic.w r2, r3, #248 @ 0xf8 + 800421c: 687b ldr r3, [r7, #4] + 800421e: 691b ldr r3, [r3, #16] + 8004220: 00db lsls r3, r3, #3 + 8004222: 4925 ldr r1, [pc, #148] @ (80042b8 ) + 8004224: 4313 orrs r3, r2 + 8004226: 600b str r3, [r1, #0] + 8004228: e015 b.n 8004256 } else { /* Disable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI_DISABLE(); - 80038a6: 4b24 ldr r3, [pc, #144] @ (8003938 ) - 80038a8: 2200 movs r2, #0 - 80038aa: 601a str r2, [r3, #0] + 800422a: 4b24 ldr r3, [pc, #144] @ (80042bc ) + 800422c: 2200 movs r2, #0 + 800422e: 601a str r2, [r3, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 80038ac: f7fe fb24 bl 8001ef8 - 80038b0: 6138 str r0, [r7, #16] + 8004230: f7fe f812 bl 8002258 + 8004234: 6138 str r0, [r7, #16] /* Wait till HSI is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) - 80038b2: e008 b.n 80038c6 + 8004236: e008 b.n 800424a { if((HAL_GetTick() - tickstart ) > HSI_TIMEOUT_VALUE) - 80038b4: f7fe fb20 bl 8001ef8 - 80038b8: 4602 mov r2, r0 - 80038ba: 693b ldr r3, [r7, #16] - 80038bc: 1ad3 subs r3, r2, r3 - 80038be: 2b02 cmp r3, #2 - 80038c0: d901 bls.n 80038c6 + 8004238: f7fe f80e bl 8002258 + 800423c: 4602 mov r2, r0 + 800423e: 693b ldr r3, [r7, #16] + 8004240: 1ad3 subs r3, r2, r3 + 8004242: 2b02 cmp r3, #2 + 8004244: d901 bls.n 800424a { return HAL_TIMEOUT; - 80038c2: 2303 movs r3, #3 - 80038c4: e187 b.n 8003bd6 + 8004246: 2303 movs r3, #3 + 8004248: e187 b.n 800455a while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) - 80038c6: 4b1b ldr r3, [pc, #108] @ (8003934 ) - 80038c8: 681b ldr r3, [r3, #0] - 80038ca: f003 0302 and.w r3, r3, #2 - 80038ce: 2b00 cmp r3, #0 - 80038d0: d1f0 bne.n 80038b4 + 800424a: 4b1b ldr r3, [pc, #108] @ (80042b8 ) + 800424c: 681b ldr r3, [r3, #0] + 800424e: f003 0302 and.w r3, r3, #2 + 8004252: 2b00 cmp r3, #0 + 8004254: d1f0 bne.n 8004238 } } } } /*------------------------------ LSI Configuration -------------------------*/ if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSI) == RCC_OSCILLATORTYPE_LSI) - 80038d2: 687b ldr r3, [r7, #4] - 80038d4: 681b ldr r3, [r3, #0] - 80038d6: f003 0308 and.w r3, r3, #8 - 80038da: 2b00 cmp r3, #0 - 80038dc: d036 beq.n 800394c + 8004256: 687b ldr r3, [r7, #4] + 8004258: 681b ldr r3, [r3, #0] + 800425a: f003 0308 and.w r3, r3, #8 + 800425e: 2b00 cmp r3, #0 + 8004260: d036 beq.n 80042d0 { /* Check the parameters */ assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState)); /* Check the LSI State */ if((RCC_OscInitStruct->LSIState)!= RCC_LSI_OFF) - 80038de: 687b ldr r3, [r7, #4] - 80038e0: 695b ldr r3, [r3, #20] - 80038e2: 2b00 cmp r3, #0 - 80038e4: d016 beq.n 8003914 + 8004262: 687b ldr r3, [r7, #4] + 8004264: 695b ldr r3, [r3, #20] + 8004266: 2b00 cmp r3, #0 + 8004268: d016 beq.n 8004298 { /* Enable the Internal Low Speed oscillator (LSI). */ __HAL_RCC_LSI_ENABLE(); - 80038e6: 4b15 ldr r3, [pc, #84] @ (800393c ) - 80038e8: 2201 movs r2, #1 - 80038ea: 601a str r2, [r3, #0] + 800426a: 4b15 ldr r3, [pc, #84] @ (80042c0 ) + 800426c: 2201 movs r2, #1 + 800426e: 601a str r2, [r3, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 80038ec: f7fe fb04 bl 8001ef8 - 80038f0: 6138 str r0, [r7, #16] + 8004270: f7fd fff2 bl 8002258 + 8004274: 6138 str r0, [r7, #16] /* Wait till LSI is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) - 80038f2: e008 b.n 8003906 + 8004276: e008 b.n 800428a { if((HAL_GetTick() - tickstart ) > LSI_TIMEOUT_VALUE) - 80038f4: f7fe fb00 bl 8001ef8 - 80038f8: 4602 mov r2, r0 - 80038fa: 693b ldr r3, [r7, #16] - 80038fc: 1ad3 subs r3, r2, r3 - 80038fe: 2b02 cmp r3, #2 - 8003900: d901 bls.n 8003906 + 8004278: f7fd ffee bl 8002258 + 800427c: 4602 mov r2, r0 + 800427e: 693b ldr r3, [r7, #16] + 8004280: 1ad3 subs r3, r2, r3 + 8004282: 2b02 cmp r3, #2 + 8004284: d901 bls.n 800428a { return HAL_TIMEOUT; - 8003902: 2303 movs r3, #3 - 8003904: e167 b.n 8003bd6 + 8004286: 2303 movs r3, #3 + 8004288: e167 b.n 800455a while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) - 8003906: 4b0b ldr r3, [pc, #44] @ (8003934 ) - 8003908: 6f5b ldr r3, [r3, #116] @ 0x74 - 800390a: f003 0302 and.w r3, r3, #2 - 800390e: 2b00 cmp r3, #0 - 8003910: d0f0 beq.n 80038f4 - 8003912: e01b b.n 800394c + 800428a: 4b0b ldr r3, [pc, #44] @ (80042b8 ) + 800428c: 6f5b ldr r3, [r3, #116] @ 0x74 + 800428e: f003 0302 and.w r3, r3, #2 + 8004292: 2b00 cmp r3, #0 + 8004294: d0f0 beq.n 8004278 + 8004296: e01b b.n 80042d0 } } else { /* Disable the Internal Low Speed oscillator (LSI). */ __HAL_RCC_LSI_DISABLE(); - 8003914: 4b09 ldr r3, [pc, #36] @ (800393c ) - 8003916: 2200 movs r2, #0 - 8003918: 601a str r2, [r3, #0] + 8004298: 4b09 ldr r3, [pc, #36] @ (80042c0 ) + 800429a: 2200 movs r2, #0 + 800429c: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 800391a: f7fe faed bl 8001ef8 - 800391e: 6138 str r0, [r7, #16] + 800429e: f7fd ffdb bl 8002258 + 80042a2: 6138 str r0, [r7, #16] /* Wait till LSI is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET) - 8003920: e00e b.n 8003940 + 80042a4: e00e b.n 80042c4 { if((HAL_GetTick() - tickstart ) > LSI_TIMEOUT_VALUE) - 8003922: f7fe fae9 bl 8001ef8 - 8003926: 4602 mov r2, r0 - 8003928: 693b ldr r3, [r7, #16] - 800392a: 1ad3 subs r3, r2, r3 - 800392c: 2b02 cmp r3, #2 - 800392e: d907 bls.n 8003940 + 80042a6: f7fd ffd7 bl 8002258 + 80042aa: 4602 mov r2, r0 + 80042ac: 693b ldr r3, [r7, #16] + 80042ae: 1ad3 subs r3, r2, r3 + 80042b0: 2b02 cmp r3, #2 + 80042b2: d907 bls.n 80042c4 { return HAL_TIMEOUT; - 8003930: 2303 movs r3, #3 - 8003932: e150 b.n 8003bd6 - 8003934: 40023800 .word 0x40023800 - 8003938: 42470000 .word 0x42470000 - 800393c: 42470e80 .word 0x42470e80 + 80042b4: 2303 movs r3, #3 + 80042b6: e150 b.n 800455a + 80042b8: 40023800 .word 0x40023800 + 80042bc: 42470000 .word 0x42470000 + 80042c0: 42470e80 .word 0x42470e80 while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET) - 8003940: 4b88 ldr r3, [pc, #544] @ (8003b64 ) - 8003942: 6f5b ldr r3, [r3, #116] @ 0x74 - 8003944: f003 0302 and.w r3, r3, #2 - 8003948: 2b00 cmp r3, #0 - 800394a: d1ea bne.n 8003922 + 80042c4: 4b88 ldr r3, [pc, #544] @ (80044e8 ) + 80042c6: 6f5b ldr r3, [r3, #116] @ 0x74 + 80042c8: f003 0302 and.w r3, r3, #2 + 80042cc: 2b00 cmp r3, #0 + 80042ce: d1ea bne.n 80042a6 } } } } /*------------------------------ LSE Configuration -------------------------*/ if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSE) == RCC_OSCILLATORTYPE_LSE) - 800394c: 687b ldr r3, [r7, #4] - 800394e: 681b ldr r3, [r3, #0] - 8003950: f003 0304 and.w r3, r3, #4 - 8003954: 2b00 cmp r3, #0 - 8003956: f000 8097 beq.w 8003a88 + 80042d0: 687b ldr r3, [r7, #4] + 80042d2: 681b ldr r3, [r3, #0] + 80042d4: f003 0304 and.w r3, r3, #4 + 80042d8: 2b00 cmp r3, #0 + 80042da: f000 8097 beq.w 800440c { FlagStatus pwrclkchanged = RESET; - 800395a: 2300 movs r3, #0 - 800395c: 75fb strb r3, [r7, #23] + 80042de: 2300 movs r3, #0 + 80042e0: 75fb strb r3, [r7, #23] /* Check the parameters */ assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState)); /* Update LSE configuration in Backup Domain control register */ /* Requires to enable write access to Backup Domain of necessary */ if(__HAL_RCC_PWR_IS_CLK_DISABLED()) - 800395e: 4b81 ldr r3, [pc, #516] @ (8003b64 ) - 8003960: 6c1b ldr r3, [r3, #64] @ 0x40 - 8003962: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 - 8003966: 2b00 cmp r3, #0 - 8003968: d10f bne.n 800398a + 80042e2: 4b81 ldr r3, [pc, #516] @ (80044e8 ) + 80042e4: 6c1b ldr r3, [r3, #64] @ 0x40 + 80042e6: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 80042ea: 2b00 cmp r3, #0 + 80042ec: d10f bne.n 800430e { __HAL_RCC_PWR_CLK_ENABLE(); - 800396a: 2300 movs r3, #0 - 800396c: 60bb str r3, [r7, #8] - 800396e: 4b7d ldr r3, [pc, #500] @ (8003b64 ) - 8003970: 6c1b ldr r3, [r3, #64] @ 0x40 - 8003972: 4a7c ldr r2, [pc, #496] @ (8003b64 ) - 8003974: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 8003978: 6413 str r3, [r2, #64] @ 0x40 - 800397a: 4b7a ldr r3, [pc, #488] @ (8003b64 ) - 800397c: 6c1b ldr r3, [r3, #64] @ 0x40 - 800397e: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 - 8003982: 60bb str r3, [r7, #8] - 8003984: 68bb ldr r3, [r7, #8] + 80042ee: 2300 movs r3, #0 + 80042f0: 60bb str r3, [r7, #8] + 80042f2: 4b7d ldr r3, [pc, #500] @ (80044e8 ) + 80042f4: 6c1b ldr r3, [r3, #64] @ 0x40 + 80042f6: 4a7c ldr r2, [pc, #496] @ (80044e8 ) + 80042f8: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 80042fc: 6413 str r3, [r2, #64] @ 0x40 + 80042fe: 4b7a ldr r3, [pc, #488] @ (80044e8 ) + 8004300: 6c1b ldr r3, [r3, #64] @ 0x40 + 8004302: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 8004306: 60bb str r3, [r7, #8] + 8004308: 68bb ldr r3, [r7, #8] pwrclkchanged = SET; - 8003986: 2301 movs r3, #1 - 8003988: 75fb strb r3, [r7, #23] + 800430a: 2301 movs r3, #1 + 800430c: 75fb strb r3, [r7, #23] } if(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 800398a: 4b77 ldr r3, [pc, #476] @ (8003b68 ) - 800398c: 681b ldr r3, [r3, #0] - 800398e: f403 7380 and.w r3, r3, #256 @ 0x100 - 8003992: 2b00 cmp r3, #0 - 8003994: d118 bne.n 80039c8 + 800430e: 4b77 ldr r3, [pc, #476] @ (80044ec ) + 8004310: 681b ldr r3, [r3, #0] + 8004312: f403 7380 and.w r3, r3, #256 @ 0x100 + 8004316: 2b00 cmp r3, #0 + 8004318: d118 bne.n 800434c { /* Enable write access to Backup domain */ SET_BIT(PWR->CR, PWR_CR_DBP); - 8003996: 4b74 ldr r3, [pc, #464] @ (8003b68 ) - 8003998: 681b ldr r3, [r3, #0] - 800399a: 4a73 ldr r2, [pc, #460] @ (8003b68 ) - 800399c: f443 7380 orr.w r3, r3, #256 @ 0x100 - 80039a0: 6013 str r3, [r2, #0] + 800431a: 4b74 ldr r3, [pc, #464] @ (80044ec ) + 800431c: 681b ldr r3, [r3, #0] + 800431e: 4a73 ldr r2, [pc, #460] @ (80044ec ) + 8004320: f443 7380 orr.w r3, r3, #256 @ 0x100 + 8004324: 6013 str r3, [r2, #0] /* Wait for Backup domain Write protection disable */ tickstart = HAL_GetTick(); - 80039a2: f7fe faa9 bl 8001ef8 - 80039a6: 6138 str r0, [r7, #16] + 8004326: f7fd ff97 bl 8002258 + 800432a: 6138 str r0, [r7, #16] while(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 80039a8: e008 b.n 80039bc + 800432c: e008 b.n 8004340 { if((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE) - 80039aa: f7fe faa5 bl 8001ef8 - 80039ae: 4602 mov r2, r0 - 80039b0: 693b ldr r3, [r7, #16] - 80039b2: 1ad3 subs r3, r2, r3 - 80039b4: 2b02 cmp r3, #2 - 80039b6: d901 bls.n 80039bc + 800432e: f7fd ff93 bl 8002258 + 8004332: 4602 mov r2, r0 + 8004334: 693b ldr r3, [r7, #16] + 8004336: 1ad3 subs r3, r2, r3 + 8004338: 2b02 cmp r3, #2 + 800433a: d901 bls.n 8004340 { return HAL_TIMEOUT; - 80039b8: 2303 movs r3, #3 - 80039ba: e10c b.n 8003bd6 + 800433c: 2303 movs r3, #3 + 800433e: e10c b.n 800455a while(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 80039bc: 4b6a ldr r3, [pc, #424] @ (8003b68 ) - 80039be: 681b ldr r3, [r3, #0] - 80039c0: f403 7380 and.w r3, r3, #256 @ 0x100 - 80039c4: 2b00 cmp r3, #0 - 80039c6: d0f0 beq.n 80039aa + 8004340: 4b6a ldr r3, [pc, #424] @ (80044ec ) + 8004342: 681b ldr r3, [r3, #0] + 8004344: f403 7380 and.w r3, r3, #256 @ 0x100 + 8004348: 2b00 cmp r3, #0 + 800434a: d0f0 beq.n 800432e } } } /* Set the new LSE configuration -----------------------------------------*/ __HAL_RCC_LSE_CONFIG(RCC_OscInitStruct->LSEState); - 80039c8: 687b ldr r3, [r7, #4] - 80039ca: 689b ldr r3, [r3, #8] - 80039cc: 2b01 cmp r3, #1 - 80039ce: d106 bne.n 80039de - 80039d0: 4b64 ldr r3, [pc, #400] @ (8003b64 ) - 80039d2: 6f1b ldr r3, [r3, #112] @ 0x70 - 80039d4: 4a63 ldr r2, [pc, #396] @ (8003b64 ) - 80039d6: f043 0301 orr.w r3, r3, #1 - 80039da: 6713 str r3, [r2, #112] @ 0x70 - 80039dc: e01c b.n 8003a18 - 80039de: 687b ldr r3, [r7, #4] - 80039e0: 689b ldr r3, [r3, #8] - 80039e2: 2b05 cmp r3, #5 - 80039e4: d10c bne.n 8003a00 - 80039e6: 4b5f ldr r3, [pc, #380] @ (8003b64 ) - 80039e8: 6f1b ldr r3, [r3, #112] @ 0x70 - 80039ea: 4a5e ldr r2, [pc, #376] @ (8003b64 ) - 80039ec: f043 0304 orr.w r3, r3, #4 - 80039f0: 6713 str r3, [r2, #112] @ 0x70 - 80039f2: 4b5c ldr r3, [pc, #368] @ (8003b64 ) - 80039f4: 6f1b ldr r3, [r3, #112] @ 0x70 - 80039f6: 4a5b ldr r2, [pc, #364] @ (8003b64 ) - 80039f8: f043 0301 orr.w r3, r3, #1 - 80039fc: 6713 str r3, [r2, #112] @ 0x70 - 80039fe: e00b b.n 8003a18 - 8003a00: 4b58 ldr r3, [pc, #352] @ (8003b64 ) - 8003a02: 6f1b ldr r3, [r3, #112] @ 0x70 - 8003a04: 4a57 ldr r2, [pc, #348] @ (8003b64 ) - 8003a06: f023 0301 bic.w r3, r3, #1 - 8003a0a: 6713 str r3, [r2, #112] @ 0x70 - 8003a0c: 4b55 ldr r3, [pc, #340] @ (8003b64 ) - 8003a0e: 6f1b ldr r3, [r3, #112] @ 0x70 - 8003a10: 4a54 ldr r2, [pc, #336] @ (8003b64 ) - 8003a12: f023 0304 bic.w r3, r3, #4 - 8003a16: 6713 str r3, [r2, #112] @ 0x70 + 800434c: 687b ldr r3, [r7, #4] + 800434e: 689b ldr r3, [r3, #8] + 8004350: 2b01 cmp r3, #1 + 8004352: d106 bne.n 8004362 + 8004354: 4b64 ldr r3, [pc, #400] @ (80044e8 ) + 8004356: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004358: 4a63 ldr r2, [pc, #396] @ (80044e8 ) + 800435a: f043 0301 orr.w r3, r3, #1 + 800435e: 6713 str r3, [r2, #112] @ 0x70 + 8004360: e01c b.n 800439c + 8004362: 687b ldr r3, [r7, #4] + 8004364: 689b ldr r3, [r3, #8] + 8004366: 2b05 cmp r3, #5 + 8004368: d10c bne.n 8004384 + 800436a: 4b5f ldr r3, [pc, #380] @ (80044e8 ) + 800436c: 6f1b ldr r3, [r3, #112] @ 0x70 + 800436e: 4a5e ldr r2, [pc, #376] @ (80044e8 ) + 8004370: f043 0304 orr.w r3, r3, #4 + 8004374: 6713 str r3, [r2, #112] @ 0x70 + 8004376: 4b5c ldr r3, [pc, #368] @ (80044e8 ) + 8004378: 6f1b ldr r3, [r3, #112] @ 0x70 + 800437a: 4a5b ldr r2, [pc, #364] @ (80044e8 ) + 800437c: f043 0301 orr.w r3, r3, #1 + 8004380: 6713 str r3, [r2, #112] @ 0x70 + 8004382: e00b b.n 800439c + 8004384: 4b58 ldr r3, [pc, #352] @ (80044e8 ) + 8004386: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004388: 4a57 ldr r2, [pc, #348] @ (80044e8 ) + 800438a: f023 0301 bic.w r3, r3, #1 + 800438e: 6713 str r3, [r2, #112] @ 0x70 + 8004390: 4b55 ldr r3, [pc, #340] @ (80044e8 ) + 8004392: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004394: 4a54 ldr r2, [pc, #336] @ (80044e8 ) + 8004396: f023 0304 bic.w r3, r3, #4 + 800439a: 6713 str r3, [r2, #112] @ 0x70 /* Check the LSE State */ if((RCC_OscInitStruct->LSEState) != RCC_LSE_OFF) - 8003a18: 687b ldr r3, [r7, #4] - 8003a1a: 689b ldr r3, [r3, #8] - 8003a1c: 2b00 cmp r3, #0 - 8003a1e: d015 beq.n 8003a4c + 800439c: 687b ldr r3, [r7, #4] + 800439e: 689b ldr r3, [r3, #8] + 80043a0: 2b00 cmp r3, #0 + 80043a2: d015 beq.n 80043d0 { /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8003a20: f7fe fa6a bl 8001ef8 - 8003a24: 6138 str r0, [r7, #16] + 80043a4: f7fd ff58 bl 8002258 + 80043a8: 6138 str r0, [r7, #16] /* Wait till LSE is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 8003a26: e00a b.n 8003a3e + 80043aa: e00a b.n 80043c2 { if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE) - 8003a28: f7fe fa66 bl 8001ef8 - 8003a2c: 4602 mov r2, r0 - 8003a2e: 693b ldr r3, [r7, #16] - 8003a30: 1ad3 subs r3, r2, r3 - 8003a32: f241 3288 movw r2, #5000 @ 0x1388 - 8003a36: 4293 cmp r3, r2 - 8003a38: d901 bls.n 8003a3e + 80043ac: f7fd ff54 bl 8002258 + 80043b0: 4602 mov r2, r0 + 80043b2: 693b ldr r3, [r7, #16] + 80043b4: 1ad3 subs r3, r2, r3 + 80043b6: f241 3288 movw r2, #5000 @ 0x1388 + 80043ba: 4293 cmp r3, r2 + 80043bc: d901 bls.n 80043c2 { return HAL_TIMEOUT; - 8003a3a: 2303 movs r3, #3 - 8003a3c: e0cb b.n 8003bd6 + 80043be: 2303 movs r3, #3 + 80043c0: e0cb b.n 800455a while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 8003a3e: 4b49 ldr r3, [pc, #292] @ (8003b64 ) - 8003a40: 6f1b ldr r3, [r3, #112] @ 0x70 - 8003a42: f003 0302 and.w r3, r3, #2 - 8003a46: 2b00 cmp r3, #0 - 8003a48: d0ee beq.n 8003a28 - 8003a4a: e014 b.n 8003a76 + 80043c2: 4b49 ldr r3, [pc, #292] @ (80044e8 ) + 80043c4: 6f1b ldr r3, [r3, #112] @ 0x70 + 80043c6: f003 0302 and.w r3, r3, #2 + 80043ca: 2b00 cmp r3, #0 + 80043cc: d0ee beq.n 80043ac + 80043ce: e014 b.n 80043fa } } else { /* Get Start Tick */ tickstart = HAL_GetTick(); - 8003a4c: f7fe fa54 bl 8001ef8 - 8003a50: 6138 str r0, [r7, #16] + 80043d0: f7fd ff42 bl 8002258 + 80043d4: 6138 str r0, [r7, #16] /* Wait till LSE is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET) - 8003a52: e00a b.n 8003a6a + 80043d6: e00a b.n 80043ee { if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE) - 8003a54: f7fe fa50 bl 8001ef8 - 8003a58: 4602 mov r2, r0 - 8003a5a: 693b ldr r3, [r7, #16] - 8003a5c: 1ad3 subs r3, r2, r3 - 8003a5e: f241 3288 movw r2, #5000 @ 0x1388 - 8003a62: 4293 cmp r3, r2 - 8003a64: d901 bls.n 8003a6a + 80043d8: f7fd ff3e bl 8002258 + 80043dc: 4602 mov r2, r0 + 80043de: 693b ldr r3, [r7, #16] + 80043e0: 1ad3 subs r3, r2, r3 + 80043e2: f241 3288 movw r2, #5000 @ 0x1388 + 80043e6: 4293 cmp r3, r2 + 80043e8: d901 bls.n 80043ee { return HAL_TIMEOUT; - 8003a66: 2303 movs r3, #3 - 8003a68: e0b5 b.n 8003bd6 + 80043ea: 2303 movs r3, #3 + 80043ec: e0b5 b.n 800455a while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET) - 8003a6a: 4b3e ldr r3, [pc, #248] @ (8003b64 ) - 8003a6c: 6f1b ldr r3, [r3, #112] @ 0x70 - 8003a6e: f003 0302 and.w r3, r3, #2 - 8003a72: 2b00 cmp r3, #0 - 8003a74: d1ee bne.n 8003a54 + 80043ee: 4b3e ldr r3, [pc, #248] @ (80044e8 ) + 80043f0: 6f1b ldr r3, [r3, #112] @ 0x70 + 80043f2: f003 0302 and.w r3, r3, #2 + 80043f6: 2b00 cmp r3, #0 + 80043f8: d1ee bne.n 80043d8 } } } /* Restore clock configuration if changed */ if(pwrclkchanged == SET) - 8003a76: 7dfb ldrb r3, [r7, #23] - 8003a78: 2b01 cmp r3, #1 - 8003a7a: d105 bne.n 8003a88 + 80043fa: 7dfb ldrb r3, [r7, #23] + 80043fc: 2b01 cmp r3, #1 + 80043fe: d105 bne.n 800440c { __HAL_RCC_PWR_CLK_DISABLE(); - 8003a7c: 4b39 ldr r3, [pc, #228] @ (8003b64 ) - 8003a7e: 6c1b ldr r3, [r3, #64] @ 0x40 - 8003a80: 4a38 ldr r2, [pc, #224] @ (8003b64 ) - 8003a82: f023 5380 bic.w r3, r3, #268435456 @ 0x10000000 - 8003a86: 6413 str r3, [r2, #64] @ 0x40 + 8004400: 4b39 ldr r3, [pc, #228] @ (80044e8 ) + 8004402: 6c1b ldr r3, [r3, #64] @ 0x40 + 8004404: 4a38 ldr r2, [pc, #224] @ (80044e8 ) + 8004406: f023 5380 bic.w r3, r3, #268435456 @ 0x10000000 + 800440a: 6413 str r3, [r2, #64] @ 0x40 } } /*-------------------------------- PLL Configuration -----------------------*/ /* Check the parameters */ assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState)); if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE) - 8003a88: 687b ldr r3, [r7, #4] - 8003a8a: 699b ldr r3, [r3, #24] - 8003a8c: 2b00 cmp r3, #0 - 8003a8e: f000 80a1 beq.w 8003bd4 + 800440c: 687b ldr r3, [r7, #4] + 800440e: 699b ldr r3, [r3, #24] + 8004410: 2b00 cmp r3, #0 + 8004412: f000 80a1 beq.w 8004558 { /* Check if the PLL is used as system clock or not */ if(__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_CFGR_SWS_PLL) - 8003a92: 4b34 ldr r3, [pc, #208] @ (8003b64 ) - 8003a94: 689b ldr r3, [r3, #8] - 8003a96: f003 030c and.w r3, r3, #12 - 8003a9a: 2b08 cmp r3, #8 - 8003a9c: d05c beq.n 8003b58 + 8004416: 4b34 ldr r3, [pc, #208] @ (80044e8 ) + 8004418: 689b ldr r3, [r3, #8] + 800441a: f003 030c and.w r3, r3, #12 + 800441e: 2b08 cmp r3, #8 + 8004420: d05c beq.n 80044dc { if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON) - 8003a9e: 687b ldr r3, [r7, #4] - 8003aa0: 699b ldr r3, [r3, #24] - 8003aa2: 2b02 cmp r3, #2 - 8003aa4: d141 bne.n 8003b2a + 8004422: 687b ldr r3, [r7, #4] + 8004424: 699b ldr r3, [r3, #24] + 8004426: 2b02 cmp r3, #2 + 8004428: d141 bne.n 80044ae assert_param(IS_RCC_PLLN_VALUE(RCC_OscInitStruct->PLL.PLLN)); assert_param(IS_RCC_PLLP_VALUE(RCC_OscInitStruct->PLL.PLLP)); assert_param(IS_RCC_PLLQ_VALUE(RCC_OscInitStruct->PLL.PLLQ)); /* Disable the main PLL. */ __HAL_RCC_PLL_DISABLE(); - 8003aa6: 4b31 ldr r3, [pc, #196] @ (8003b6c ) - 8003aa8: 2200 movs r2, #0 - 8003aaa: 601a str r2, [r3, #0] + 800442a: 4b31 ldr r3, [pc, #196] @ (80044f0 ) + 800442c: 2200 movs r2, #0 + 800442e: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8003aac: f7fe fa24 bl 8001ef8 - 8003ab0: 6138 str r0, [r7, #16] + 8004430: f7fd ff12 bl 8002258 + 8004434: 6138 str r0, [r7, #16] /* Wait till PLL is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8003ab2: e008 b.n 8003ac6 + 8004436: e008 b.n 800444a { if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE) - 8003ab4: f7fe fa20 bl 8001ef8 - 8003ab8: 4602 mov r2, r0 - 8003aba: 693b ldr r3, [r7, #16] - 8003abc: 1ad3 subs r3, r2, r3 - 8003abe: 2b02 cmp r3, #2 - 8003ac0: d901 bls.n 8003ac6 + 8004438: f7fd ff0e bl 8002258 + 800443c: 4602 mov r2, r0 + 800443e: 693b ldr r3, [r7, #16] + 8004440: 1ad3 subs r3, r2, r3 + 8004442: 2b02 cmp r3, #2 + 8004444: d901 bls.n 800444a { return HAL_TIMEOUT; - 8003ac2: 2303 movs r3, #3 - 8003ac4: e087 b.n 8003bd6 + 8004446: 2303 movs r3, #3 + 8004448: e087 b.n 800455a while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8003ac6: 4b27 ldr r3, [pc, #156] @ (8003b64 ) - 8003ac8: 681b ldr r3, [r3, #0] - 8003aca: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 - 8003ace: 2b00 cmp r3, #0 - 8003ad0: d1f0 bne.n 8003ab4 + 800444a: 4b27 ldr r3, [pc, #156] @ (80044e8 ) + 800444c: 681b ldr r3, [r3, #0] + 800444e: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 + 8004452: 2b00 cmp r3, #0 + 8004454: d1f0 bne.n 8004438 } } /* Configure the main PLL clock source, multiplication and division factors. */ WRITE_REG(RCC->PLLCFGR, (RCC_OscInitStruct->PLL.PLLSource | \ - 8003ad2: 687b ldr r3, [r7, #4] - 8003ad4: 69da ldr r2, [r3, #28] - 8003ad6: 687b ldr r3, [r7, #4] - 8003ad8: 6a1b ldr r3, [r3, #32] - 8003ada: 431a orrs r2, r3 - 8003adc: 687b ldr r3, [r7, #4] - 8003ade: 6a5b ldr r3, [r3, #36] @ 0x24 - 8003ae0: 019b lsls r3, r3, #6 - 8003ae2: 431a orrs r2, r3 - 8003ae4: 687b ldr r3, [r7, #4] - 8003ae6: 6a9b ldr r3, [r3, #40] @ 0x28 - 8003ae8: 085b lsrs r3, r3, #1 - 8003aea: 3b01 subs r3, #1 - 8003aec: 041b lsls r3, r3, #16 - 8003aee: 431a orrs r2, r3 - 8003af0: 687b ldr r3, [r7, #4] - 8003af2: 6adb ldr r3, [r3, #44] @ 0x2c - 8003af4: 061b lsls r3, r3, #24 - 8003af6: 491b ldr r1, [pc, #108] @ (8003b64 ) - 8003af8: 4313 orrs r3, r2 - 8003afa: 604b str r3, [r1, #4] + 8004456: 687b ldr r3, [r7, #4] + 8004458: 69da ldr r2, [r3, #28] + 800445a: 687b ldr r3, [r7, #4] + 800445c: 6a1b ldr r3, [r3, #32] + 800445e: 431a orrs r2, r3 + 8004460: 687b ldr r3, [r7, #4] + 8004462: 6a5b ldr r3, [r3, #36] @ 0x24 + 8004464: 019b lsls r3, r3, #6 + 8004466: 431a orrs r2, r3 + 8004468: 687b ldr r3, [r7, #4] + 800446a: 6a9b ldr r3, [r3, #40] @ 0x28 + 800446c: 085b lsrs r3, r3, #1 + 800446e: 3b01 subs r3, #1 + 8004470: 041b lsls r3, r3, #16 + 8004472: 431a orrs r2, r3 + 8004474: 687b ldr r3, [r7, #4] + 8004476: 6adb ldr r3, [r3, #44] @ 0x2c + 8004478: 061b lsls r3, r3, #24 + 800447a: 491b ldr r1, [pc, #108] @ (80044e8 ) + 800447c: 4313 orrs r3, r2 + 800447e: 604b str r3, [r1, #4] RCC_OscInitStruct->PLL.PLLM | \ (RCC_OscInitStruct->PLL.PLLN << RCC_PLLCFGR_PLLN_Pos) | \ (((RCC_OscInitStruct->PLL.PLLP >> 1U) - 1U) << RCC_PLLCFGR_PLLP_Pos) | \ (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos))); /* Enable the main PLL. */ __HAL_RCC_PLL_ENABLE(); - 8003afc: 4b1b ldr r3, [pc, #108] @ (8003b6c ) - 8003afe: 2201 movs r2, #1 - 8003b00: 601a str r2, [r3, #0] + 8004480: 4b1b ldr r3, [pc, #108] @ (80044f0 ) + 8004482: 2201 movs r2, #1 + 8004484: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8003b02: f7fe f9f9 bl 8001ef8 - 8003b06: 6138 str r0, [r7, #16] + 8004486: f7fd fee7 bl 8002258 + 800448a: 6138 str r0, [r7, #16] /* Wait till PLL is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8003b08: e008 b.n 8003b1c + 800448c: e008 b.n 80044a0 { if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE) - 8003b0a: f7fe f9f5 bl 8001ef8 - 8003b0e: 4602 mov r2, r0 - 8003b10: 693b ldr r3, [r7, #16] - 8003b12: 1ad3 subs r3, r2, r3 - 8003b14: 2b02 cmp r3, #2 - 8003b16: d901 bls.n 8003b1c + 800448e: f7fd fee3 bl 8002258 + 8004492: 4602 mov r2, r0 + 8004494: 693b ldr r3, [r7, #16] + 8004496: 1ad3 subs r3, r2, r3 + 8004498: 2b02 cmp r3, #2 + 800449a: d901 bls.n 80044a0 { return HAL_TIMEOUT; - 8003b18: 2303 movs r3, #3 - 8003b1a: e05c b.n 8003bd6 + 800449c: 2303 movs r3, #3 + 800449e: e05c b.n 800455a while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8003b1c: 4b11 ldr r3, [pc, #68] @ (8003b64 ) - 8003b1e: 681b ldr r3, [r3, #0] - 8003b20: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 - 8003b24: 2b00 cmp r3, #0 - 8003b26: d0f0 beq.n 8003b0a - 8003b28: e054 b.n 8003bd4 + 80044a0: 4b11 ldr r3, [pc, #68] @ (80044e8 ) + 80044a2: 681b ldr r3, [r3, #0] + 80044a4: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 + 80044a8: 2b00 cmp r3, #0 + 80044aa: d0f0 beq.n 800448e + 80044ac: e054 b.n 8004558 } } else { /* Disable the main PLL. */ __HAL_RCC_PLL_DISABLE(); - 8003b2a: 4b10 ldr r3, [pc, #64] @ (8003b6c ) - 8003b2c: 2200 movs r2, #0 - 8003b2e: 601a str r2, [r3, #0] + 80044ae: 4b10 ldr r3, [pc, #64] @ (80044f0 ) + 80044b0: 2200 movs r2, #0 + 80044b2: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8003b30: f7fe f9e2 bl 8001ef8 - 8003b34: 6138 str r0, [r7, #16] + 80044b4: f7fd fed0 bl 8002258 + 80044b8: 6138 str r0, [r7, #16] /* Wait till PLL is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8003b36: e008 b.n 8003b4a + 80044ba: e008 b.n 80044ce { if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE) - 8003b38: f7fe f9de bl 8001ef8 - 8003b3c: 4602 mov r2, r0 - 8003b3e: 693b ldr r3, [r7, #16] - 8003b40: 1ad3 subs r3, r2, r3 - 8003b42: 2b02 cmp r3, #2 - 8003b44: d901 bls.n 8003b4a + 80044bc: f7fd fecc bl 8002258 + 80044c0: 4602 mov r2, r0 + 80044c2: 693b ldr r3, [r7, #16] + 80044c4: 1ad3 subs r3, r2, r3 + 80044c6: 2b02 cmp r3, #2 + 80044c8: d901 bls.n 80044ce { return HAL_TIMEOUT; - 8003b46: 2303 movs r3, #3 - 8003b48: e045 b.n 8003bd6 + 80044ca: 2303 movs r3, #3 + 80044cc: e045 b.n 800455a while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8003b4a: 4b06 ldr r3, [pc, #24] @ (8003b64 ) - 8003b4c: 681b ldr r3, [r3, #0] - 8003b4e: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 - 8003b52: 2b00 cmp r3, #0 - 8003b54: d1f0 bne.n 8003b38 - 8003b56: e03d b.n 8003bd4 + 80044ce: 4b06 ldr r3, [pc, #24] @ (80044e8 ) + 80044d0: 681b ldr r3, [r3, #0] + 80044d2: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 + 80044d6: 2b00 cmp r3, #0 + 80044d8: d1f0 bne.n 80044bc + 80044da: e03d b.n 8004558 } } else { /* Check if there is a request to disable the PLL used as System clock source */ if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF) - 8003b58: 687b ldr r3, [r7, #4] - 8003b5a: 699b ldr r3, [r3, #24] - 8003b5c: 2b01 cmp r3, #1 - 8003b5e: d107 bne.n 8003b70 + 80044dc: 687b ldr r3, [r7, #4] + 80044de: 699b ldr r3, [r3, #24] + 80044e0: 2b01 cmp r3, #1 + 80044e2: d107 bne.n 80044f4 { return HAL_ERROR; - 8003b60: 2301 movs r3, #1 - 8003b62: e038 b.n 8003bd6 - 8003b64: 40023800 .word 0x40023800 - 8003b68: 40007000 .word 0x40007000 - 8003b6c: 42470060 .word 0x42470060 + 80044e4: 2301 movs r3, #1 + 80044e6: e038 b.n 800455a + 80044e8: 40023800 .word 0x40023800 + 80044ec: 40007000 .word 0x40007000 + 80044f0: 42470060 .word 0x42470060 } else { /* Do not return HAL_ERROR if request repeats the current configuration */ pll_config = RCC->PLLCFGR; - 8003b70: 4b1b ldr r3, [pc, #108] @ (8003be0 ) - 8003b72: 685b ldr r3, [r3, #4] - 8003b74: 60fb str r3, [r7, #12] + 80044f4: 4b1b ldr r3, [pc, #108] @ (8004564 ) + 80044f6: 685b ldr r3, [r3, #4] + 80044f8: 60fb str r3, [r7, #12] (READ_BIT(pll_config, RCC_PLLCFGR_PLLN) != (RCC_OscInitStruct->PLL.PLLN) << RCC_PLLCFGR_PLLN_Pos) || (READ_BIT(pll_config, RCC_PLLCFGR_PLLP) != (((RCC_OscInitStruct->PLL.PLLP >> 1U) - 1U)) << RCC_PLLCFGR_PLLP_Pos) || (READ_BIT(pll_config, RCC_PLLCFGR_PLLQ) != (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos)) || (READ_BIT(pll_config, RCC_PLLCFGR_PLLR) != (RCC_OscInitStruct->PLL.PLLR << RCC_PLLCFGR_PLLR_Pos))) #else if (((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF) || - 8003b76: 687b ldr r3, [r7, #4] - 8003b78: 699b ldr r3, [r3, #24] - 8003b7a: 2b01 cmp r3, #1 - 8003b7c: d028 beq.n 8003bd0 + 80044fa: 687b ldr r3, [r7, #4] + 80044fc: 699b ldr r3, [r3, #24] + 80044fe: 2b01 cmp r3, #1 + 8004500: d028 beq.n 8004554 (READ_BIT(pll_config, RCC_PLLCFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) || - 8003b7e: 68fb ldr r3, [r7, #12] - 8003b80: f403 0280 and.w r2, r3, #4194304 @ 0x400000 - 8003b84: 687b ldr r3, [r7, #4] - 8003b86: 69db ldr r3, [r3, #28] + 8004502: 68fb ldr r3, [r7, #12] + 8004504: f403 0280 and.w r2, r3, #4194304 @ 0x400000 + 8004508: 687b ldr r3, [r7, #4] + 800450a: 69db ldr r3, [r3, #28] if (((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF) || - 8003b88: 429a cmp r2, r3 - 8003b8a: d121 bne.n 8003bd0 + 800450c: 429a cmp r2, r3 + 800450e: d121 bne.n 8004554 (READ_BIT(pll_config, RCC_PLLCFGR_PLLM) != (RCC_OscInitStruct->PLL.PLLM) << RCC_PLLCFGR_PLLM_Pos) || - 8003b8c: 68fb ldr r3, [r7, #12] - 8003b8e: f003 023f and.w r2, r3, #63 @ 0x3f - 8003b92: 687b ldr r3, [r7, #4] - 8003b94: 6a1b ldr r3, [r3, #32] + 8004510: 68fb ldr r3, [r7, #12] + 8004512: f003 023f and.w r2, r3, #63 @ 0x3f + 8004516: 687b ldr r3, [r7, #4] + 8004518: 6a1b ldr r3, [r3, #32] (READ_BIT(pll_config, RCC_PLLCFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) || - 8003b96: 429a cmp r2, r3 - 8003b98: d11a bne.n 8003bd0 + 800451a: 429a cmp r2, r3 + 800451c: d11a bne.n 8004554 (READ_BIT(pll_config, RCC_PLLCFGR_PLLN) != (RCC_OscInitStruct->PLL.PLLN) << RCC_PLLCFGR_PLLN_Pos) || - 8003b9a: 68fa ldr r2, [r7, #12] - 8003b9c: f647 73c0 movw r3, #32704 @ 0x7fc0 - 8003ba0: 4013 ands r3, r2 - 8003ba2: 687a ldr r2, [r7, #4] - 8003ba4: 6a52 ldr r2, [r2, #36] @ 0x24 - 8003ba6: 0192 lsls r2, r2, #6 + 800451e: 68fa ldr r2, [r7, #12] + 8004520: f647 73c0 movw r3, #32704 @ 0x7fc0 + 8004524: 4013 ands r3, r2 + 8004526: 687a ldr r2, [r7, #4] + 8004528: 6a52 ldr r2, [r2, #36] @ 0x24 + 800452a: 0192 lsls r2, r2, #6 (READ_BIT(pll_config, RCC_PLLCFGR_PLLM) != (RCC_OscInitStruct->PLL.PLLM) << RCC_PLLCFGR_PLLM_Pos) || - 8003ba8: 4293 cmp r3, r2 - 8003baa: d111 bne.n 8003bd0 + 800452c: 4293 cmp r3, r2 + 800452e: d111 bne.n 8004554 (READ_BIT(pll_config, RCC_PLLCFGR_PLLP) != (((RCC_OscInitStruct->PLL.PLLP >> 1U) - 1U)) << RCC_PLLCFGR_PLLP_Pos) || - 8003bac: 68fb ldr r3, [r7, #12] - 8003bae: f403 3240 and.w r2, r3, #196608 @ 0x30000 - 8003bb2: 687b ldr r3, [r7, #4] - 8003bb4: 6a9b ldr r3, [r3, #40] @ 0x28 - 8003bb6: 085b lsrs r3, r3, #1 - 8003bb8: 3b01 subs r3, #1 - 8003bba: 041b lsls r3, r3, #16 + 8004530: 68fb ldr r3, [r7, #12] + 8004532: f403 3240 and.w r2, r3, #196608 @ 0x30000 + 8004536: 687b ldr r3, [r7, #4] + 8004538: 6a9b ldr r3, [r3, #40] @ 0x28 + 800453a: 085b lsrs r3, r3, #1 + 800453c: 3b01 subs r3, #1 + 800453e: 041b lsls r3, r3, #16 (READ_BIT(pll_config, RCC_PLLCFGR_PLLN) != (RCC_OscInitStruct->PLL.PLLN) << RCC_PLLCFGR_PLLN_Pos) || - 8003bbc: 429a cmp r2, r3 - 8003bbe: d107 bne.n 8003bd0 + 8004540: 429a cmp r2, r3 + 8004542: d107 bne.n 8004554 (READ_BIT(pll_config, RCC_PLLCFGR_PLLQ) != (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos))) - 8003bc0: 68fb ldr r3, [r7, #12] - 8003bc2: f003 6270 and.w r2, r3, #251658240 @ 0xf000000 - 8003bc6: 687b ldr r3, [r7, #4] - 8003bc8: 6adb ldr r3, [r3, #44] @ 0x2c - 8003bca: 061b lsls r3, r3, #24 + 8004544: 68fb ldr r3, [r7, #12] + 8004546: f003 6270 and.w r2, r3, #251658240 @ 0xf000000 + 800454a: 687b ldr r3, [r7, #4] + 800454c: 6adb ldr r3, [r3, #44] @ 0x2c + 800454e: 061b lsls r3, r3, #24 (READ_BIT(pll_config, RCC_PLLCFGR_PLLP) != (((RCC_OscInitStruct->PLL.PLLP >> 1U) - 1U)) << RCC_PLLCFGR_PLLP_Pos) || - 8003bcc: 429a cmp r2, r3 - 8003bce: d001 beq.n 8003bd4 + 8004550: 429a cmp r2, r3 + 8004552: d001 beq.n 8004558 #endif { return HAL_ERROR; - 8003bd0: 2301 movs r3, #1 - 8003bd2: e000 b.n 8003bd6 + 8004554: 2301 movs r3, #1 + 8004556: e000 b.n 800455a } } } } return HAL_OK; - 8003bd4: 2300 movs r3, #0 + 8004558: 2300 movs r3, #0 } - 8003bd6: 4618 mov r0, r3 - 8003bd8: 3718 adds r7, #24 - 8003bda: 46bd mov sp, r7 - 8003bdc: bd80 pop {r7, pc} - 8003bde: bf00 nop - 8003be0: 40023800 .word 0x40023800 + 800455a: 4618 mov r0, r3 + 800455c: 3718 adds r7, #24 + 800455e: 46bd mov sp, r7 + 8004560: bd80 pop {r7, pc} + 8004562: bf00 nop + 8004564: 40023800 .word 0x40023800 -08003be4 : +08004568 : * HPRE[3:0] bits to ensure that HCLK not exceed the maximum allowed frequency * (for more details refer to section above "Initialization/de-initialization functions") * @retval None */ HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) { - 8003be4: b580 push {r7, lr} - 8003be6: b084 sub sp, #16 - 8003be8: af00 add r7, sp, #0 - 8003bea: 6078 str r0, [r7, #4] - 8003bec: 6039 str r1, [r7, #0] + 8004568: b580 push {r7, lr} + 800456a: b084 sub sp, #16 + 800456c: af00 add r7, sp, #0 + 800456e: 6078 str r0, [r7, #4] + 8004570: 6039 str r1, [r7, #0] uint32_t tickstart; /* Check Null pointer */ if(RCC_ClkInitStruct == NULL) - 8003bee: 687b ldr r3, [r7, #4] - 8003bf0: 2b00 cmp r3, #0 - 8003bf2: d101 bne.n 8003bf8 + 8004572: 687b ldr r3, [r7, #4] + 8004574: 2b00 cmp r3, #0 + 8004576: d101 bne.n 800457c { return HAL_ERROR; - 8003bf4: 2301 movs r3, #1 - 8003bf6: e0cc b.n 8003d92 + 8004578: 2301 movs r3, #1 + 800457a: e0cc b.n 8004716 /* To correctly read data from FLASH memory, the number of wait states (LATENCY) must be correctly programmed according to the frequency of the CPU clock (HCLK) and the supply voltage of the device. */ /* Increasing the number of wait states because of higher CPU frequency */ if(FLatency > __HAL_FLASH_GET_LATENCY()) - 8003bf8: 4b68 ldr r3, [pc, #416] @ (8003d9c ) - 8003bfa: 681b ldr r3, [r3, #0] - 8003bfc: f003 030f and.w r3, r3, #15 - 8003c00: 683a ldr r2, [r7, #0] - 8003c02: 429a cmp r2, r3 - 8003c04: d90c bls.n 8003c20 + 800457c: 4b68 ldr r3, [pc, #416] @ (8004720 ) + 800457e: 681b ldr r3, [r3, #0] + 8004580: f003 030f and.w r3, r3, #15 + 8004584: 683a ldr r2, [r7, #0] + 8004586: 429a cmp r2, r3 + 8004588: d90c bls.n 80045a4 { /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */ __HAL_FLASH_SET_LATENCY(FLatency); - 8003c06: 4b65 ldr r3, [pc, #404] @ (8003d9c ) - 8003c08: 683a ldr r2, [r7, #0] - 8003c0a: b2d2 uxtb r2, r2 - 8003c0c: 701a strb r2, [r3, #0] + 800458a: 4b65 ldr r3, [pc, #404] @ (8004720 ) + 800458c: 683a ldr r2, [r7, #0] + 800458e: b2d2 uxtb r2, r2 + 8004590: 701a strb r2, [r3, #0] /* Check that the new number of wait states is taken into account to access the Flash memory by reading the FLASH_ACR register */ if(__HAL_FLASH_GET_LATENCY() != FLatency) - 8003c0e: 4b63 ldr r3, [pc, #396] @ (8003d9c ) - 8003c10: 681b ldr r3, [r3, #0] - 8003c12: f003 030f and.w r3, r3, #15 - 8003c16: 683a ldr r2, [r7, #0] - 8003c18: 429a cmp r2, r3 - 8003c1a: d001 beq.n 8003c20 + 8004592: 4b63 ldr r3, [pc, #396] @ (8004720 ) + 8004594: 681b ldr r3, [r3, #0] + 8004596: f003 030f and.w r3, r3, #15 + 800459a: 683a ldr r2, [r7, #0] + 800459c: 429a cmp r2, r3 + 800459e: d001 beq.n 80045a4 { return HAL_ERROR; - 8003c1c: 2301 movs r3, #1 - 8003c1e: e0b8 b.n 8003d92 + 80045a0: 2301 movs r3, #1 + 80045a2: e0b8 b.n 8004716 } } /*-------------------------- HCLK Configuration --------------------------*/ if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK) - 8003c20: 687b ldr r3, [r7, #4] - 8003c22: 681b ldr r3, [r3, #0] - 8003c24: f003 0302 and.w r3, r3, #2 - 8003c28: 2b00 cmp r3, #0 - 8003c2a: d020 beq.n 8003c6e + 80045a4: 687b ldr r3, [r7, #4] + 80045a6: 681b ldr r3, [r3, #0] + 80045a8: f003 0302 and.w r3, r3, #2 + 80045ac: 2b00 cmp r3, #0 + 80045ae: d020 beq.n 80045f2 { /* Set the highest APBx dividers in order to ensure that we do not go through a non-spec phase whatever we decrease or increase HCLK. */ if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1) - 8003c2c: 687b ldr r3, [r7, #4] - 8003c2e: 681b ldr r3, [r3, #0] - 8003c30: f003 0304 and.w r3, r3, #4 - 8003c34: 2b00 cmp r3, #0 - 8003c36: d005 beq.n 8003c44 + 80045b0: 687b ldr r3, [r7, #4] + 80045b2: 681b ldr r3, [r3, #0] + 80045b4: f003 0304 and.w r3, r3, #4 + 80045b8: 2b00 cmp r3, #0 + 80045ba: d005 beq.n 80045c8 { MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_HCLK_DIV16); - 8003c38: 4b59 ldr r3, [pc, #356] @ (8003da0 ) - 8003c3a: 689b ldr r3, [r3, #8] - 8003c3c: 4a58 ldr r2, [pc, #352] @ (8003da0 ) - 8003c3e: f443 53e0 orr.w r3, r3, #7168 @ 0x1c00 - 8003c42: 6093 str r3, [r2, #8] + 80045bc: 4b59 ldr r3, [pc, #356] @ (8004724 ) + 80045be: 689b ldr r3, [r3, #8] + 80045c0: 4a58 ldr r2, [pc, #352] @ (8004724 ) + 80045c2: f443 53e0 orr.w r3, r3, #7168 @ 0x1c00 + 80045c6: 6093 str r3, [r2, #8] } if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2) - 8003c44: 687b ldr r3, [r7, #4] - 8003c46: 681b ldr r3, [r3, #0] - 8003c48: f003 0308 and.w r3, r3, #8 - 8003c4c: 2b00 cmp r3, #0 - 8003c4e: d005 beq.n 8003c5c + 80045c8: 687b ldr r3, [r7, #4] + 80045ca: 681b ldr r3, [r3, #0] + 80045cc: f003 0308 and.w r3, r3, #8 + 80045d0: 2b00 cmp r3, #0 + 80045d2: d005 beq.n 80045e0 { MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, (RCC_HCLK_DIV16 << 3)); - 8003c50: 4b53 ldr r3, [pc, #332] @ (8003da0 ) - 8003c52: 689b ldr r3, [r3, #8] - 8003c54: 4a52 ldr r2, [pc, #328] @ (8003da0 ) - 8003c56: f443 4360 orr.w r3, r3, #57344 @ 0xe000 - 8003c5a: 6093 str r3, [r2, #8] + 80045d4: 4b53 ldr r3, [pc, #332] @ (8004724 ) + 80045d6: 689b ldr r3, [r3, #8] + 80045d8: 4a52 ldr r2, [pc, #328] @ (8004724 ) + 80045da: f443 4360 orr.w r3, r3, #57344 @ 0xe000 + 80045de: 6093 str r3, [r2, #8] } assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider); - 8003c5c: 4b50 ldr r3, [pc, #320] @ (8003da0 ) - 8003c5e: 689b ldr r3, [r3, #8] - 8003c60: f023 02f0 bic.w r2, r3, #240 @ 0xf0 - 8003c64: 687b ldr r3, [r7, #4] - 8003c66: 689b ldr r3, [r3, #8] - 8003c68: 494d ldr r1, [pc, #308] @ (8003da0 ) - 8003c6a: 4313 orrs r3, r2 - 8003c6c: 608b str r3, [r1, #8] + 80045e0: 4b50 ldr r3, [pc, #320] @ (8004724 ) + 80045e2: 689b ldr r3, [r3, #8] + 80045e4: f023 02f0 bic.w r2, r3, #240 @ 0xf0 + 80045e8: 687b ldr r3, [r7, #4] + 80045ea: 689b ldr r3, [r3, #8] + 80045ec: 494d ldr r1, [pc, #308] @ (8004724 ) + 80045ee: 4313 orrs r3, r2 + 80045f0: 608b str r3, [r1, #8] } /*------------------------- SYSCLK Configuration ---------------------------*/ if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK) - 8003c6e: 687b ldr r3, [r7, #4] - 8003c70: 681b ldr r3, [r3, #0] - 8003c72: f003 0301 and.w r3, r3, #1 - 8003c76: 2b00 cmp r3, #0 - 8003c78: d044 beq.n 8003d04 + 80045f2: 687b ldr r3, [r7, #4] + 80045f4: 681b ldr r3, [r3, #0] + 80045f6: f003 0301 and.w r3, r3, #1 + 80045fa: 2b00 cmp r3, #0 + 80045fc: d044 beq.n 8004688 { assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource)); /* HSE is selected as System Clock Source */ if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE) - 8003c7a: 687b ldr r3, [r7, #4] - 8003c7c: 685b ldr r3, [r3, #4] - 8003c7e: 2b01 cmp r3, #1 - 8003c80: d107 bne.n 8003c92 + 80045fe: 687b ldr r3, [r7, #4] + 8004600: 685b ldr r3, [r3, #4] + 8004602: 2b01 cmp r3, #1 + 8004604: d107 bne.n 8004616 { /* Check the HSE ready flag */ if(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 8003c82: 4b47 ldr r3, [pc, #284] @ (8003da0 ) - 8003c84: 681b ldr r3, [r3, #0] - 8003c86: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 8003c8a: 2b00 cmp r3, #0 - 8003c8c: d119 bne.n 8003cc2 + 8004606: 4b47 ldr r3, [pc, #284] @ (8004724 ) + 8004608: 681b ldr r3, [r3, #0] + 800460a: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 800460e: 2b00 cmp r3, #0 + 8004610: d119 bne.n 8004646 { return HAL_ERROR; - 8003c8e: 2301 movs r3, #1 - 8003c90: e07f b.n 8003d92 + 8004612: 2301 movs r3, #1 + 8004614: e07f b.n 8004716 } } /* PLL is selected as System Clock Source */ else if((RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) || - 8003c92: 687b ldr r3, [r7, #4] - 8003c94: 685b ldr r3, [r3, #4] - 8003c96: 2b02 cmp r3, #2 - 8003c98: d003 beq.n 8003ca2 + 8004616: 687b ldr r3, [r7, #4] + 8004618: 685b ldr r3, [r3, #4] + 800461a: 2b02 cmp r3, #2 + 800461c: d003 beq.n 8004626 (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLRCLK)) - 8003c9a: 687b ldr r3, [r7, #4] - 8003c9c: 685b ldr r3, [r3, #4] + 800461e: 687b ldr r3, [r7, #4] + 8004620: 685b ldr r3, [r3, #4] else if((RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) || - 8003c9e: 2b03 cmp r3, #3 - 8003ca0: d107 bne.n 8003cb2 + 8004622: 2b03 cmp r3, #3 + 8004624: d107 bne.n 8004636 { /* Check the PLL ready flag */ if(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8003ca2: 4b3f ldr r3, [pc, #252] @ (8003da0 ) - 8003ca4: 681b ldr r3, [r3, #0] - 8003ca6: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 - 8003caa: 2b00 cmp r3, #0 - 8003cac: d109 bne.n 8003cc2 + 8004626: 4b3f ldr r3, [pc, #252] @ (8004724 ) + 8004628: 681b ldr r3, [r3, #0] + 800462a: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 + 800462e: 2b00 cmp r3, #0 + 8004630: d109 bne.n 8004646 { return HAL_ERROR; - 8003cae: 2301 movs r3, #1 - 8003cb0: e06f b.n 8003d92 + 8004632: 2301 movs r3, #1 + 8004634: e06f b.n 8004716 } /* HSI is selected as System Clock Source */ else { /* Check the HSI ready flag */ if(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8003cb2: 4b3b ldr r3, [pc, #236] @ (8003da0 ) - 8003cb4: 681b ldr r3, [r3, #0] - 8003cb6: f003 0302 and.w r3, r3, #2 - 8003cba: 2b00 cmp r3, #0 - 8003cbc: d101 bne.n 8003cc2 + 8004636: 4b3b ldr r3, [pc, #236] @ (8004724 ) + 8004638: 681b ldr r3, [r3, #0] + 800463a: f003 0302 and.w r3, r3, #2 + 800463e: 2b00 cmp r3, #0 + 8004640: d101 bne.n 8004646 { return HAL_ERROR; - 8003cbe: 2301 movs r3, #1 - 8003cc0: e067 b.n 8003d92 + 8004642: 2301 movs r3, #1 + 8004644: e067 b.n 8004716 } } __HAL_RCC_SYSCLK_CONFIG(RCC_ClkInitStruct->SYSCLKSource); - 8003cc2: 4b37 ldr r3, [pc, #220] @ (8003da0 ) - 8003cc4: 689b ldr r3, [r3, #8] - 8003cc6: f023 0203 bic.w r2, r3, #3 - 8003cca: 687b ldr r3, [r7, #4] - 8003ccc: 685b ldr r3, [r3, #4] - 8003cce: 4934 ldr r1, [pc, #208] @ (8003da0 ) - 8003cd0: 4313 orrs r3, r2 - 8003cd2: 608b str r3, [r1, #8] + 8004646: 4b37 ldr r3, [pc, #220] @ (8004724 ) + 8004648: 689b ldr r3, [r3, #8] + 800464a: f023 0203 bic.w r2, r3, #3 + 800464e: 687b ldr r3, [r7, #4] + 8004650: 685b ldr r3, [r3, #4] + 8004652: 4934 ldr r1, [pc, #208] @ (8004724 ) + 8004654: 4313 orrs r3, r2 + 8004656: 608b str r3, [r1, #8] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8003cd4: f7fe f910 bl 8001ef8 - 8003cd8: 60f8 str r0, [r7, #12] + 8004658: f7fd fdfe bl 8002258 + 800465c: 60f8 str r0, [r7, #12] while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos)) - 8003cda: e00a b.n 8003cf2 + 800465e: e00a b.n 8004676 { if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE) - 8003cdc: f7fe f90c bl 8001ef8 - 8003ce0: 4602 mov r2, r0 - 8003ce2: 68fb ldr r3, [r7, #12] - 8003ce4: 1ad3 subs r3, r2, r3 - 8003ce6: f241 3288 movw r2, #5000 @ 0x1388 - 8003cea: 4293 cmp r3, r2 - 8003cec: d901 bls.n 8003cf2 + 8004660: f7fd fdfa bl 8002258 + 8004664: 4602 mov r2, r0 + 8004666: 68fb ldr r3, [r7, #12] + 8004668: 1ad3 subs r3, r2, r3 + 800466a: f241 3288 movw r2, #5000 @ 0x1388 + 800466e: 4293 cmp r3, r2 + 8004670: d901 bls.n 8004676 { return HAL_TIMEOUT; - 8003cee: 2303 movs r3, #3 - 8003cf0: e04f b.n 8003d92 + 8004672: 2303 movs r3, #3 + 8004674: e04f b.n 8004716 while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos)) - 8003cf2: 4b2b ldr r3, [pc, #172] @ (8003da0 ) - 8003cf4: 689b ldr r3, [r3, #8] - 8003cf6: f003 020c and.w r2, r3, #12 - 8003cfa: 687b ldr r3, [r7, #4] - 8003cfc: 685b ldr r3, [r3, #4] - 8003cfe: 009b lsls r3, r3, #2 - 8003d00: 429a cmp r2, r3 - 8003d02: d1eb bne.n 8003cdc + 8004676: 4b2b ldr r3, [pc, #172] @ (8004724 ) + 8004678: 689b ldr r3, [r3, #8] + 800467a: f003 020c and.w r2, r3, #12 + 800467e: 687b ldr r3, [r7, #4] + 8004680: 685b ldr r3, [r3, #4] + 8004682: 009b lsls r3, r3, #2 + 8004684: 429a cmp r2, r3 + 8004686: d1eb bne.n 8004660 } } } /* Decreasing the number of wait states because of lower CPU frequency */ if(FLatency < __HAL_FLASH_GET_LATENCY()) - 8003d04: 4b25 ldr r3, [pc, #148] @ (8003d9c ) - 8003d06: 681b ldr r3, [r3, #0] - 8003d08: f003 030f and.w r3, r3, #15 - 8003d0c: 683a ldr r2, [r7, #0] - 8003d0e: 429a cmp r2, r3 - 8003d10: d20c bcs.n 8003d2c + 8004688: 4b25 ldr r3, [pc, #148] @ (8004720 ) + 800468a: 681b ldr r3, [r3, #0] + 800468c: f003 030f and.w r3, r3, #15 + 8004690: 683a ldr r2, [r7, #0] + 8004692: 429a cmp r2, r3 + 8004694: d20c bcs.n 80046b0 { /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */ __HAL_FLASH_SET_LATENCY(FLatency); - 8003d12: 4b22 ldr r3, [pc, #136] @ (8003d9c ) - 8003d14: 683a ldr r2, [r7, #0] - 8003d16: b2d2 uxtb r2, r2 - 8003d18: 701a strb r2, [r3, #0] + 8004696: 4b22 ldr r3, [pc, #136] @ (8004720 ) + 8004698: 683a ldr r2, [r7, #0] + 800469a: b2d2 uxtb r2, r2 + 800469c: 701a strb r2, [r3, #0] /* Check that the new number of wait states is taken into account to access the Flash memory by reading the FLASH_ACR register */ if(__HAL_FLASH_GET_LATENCY() != FLatency) - 8003d1a: 4b20 ldr r3, [pc, #128] @ (8003d9c ) - 8003d1c: 681b ldr r3, [r3, #0] - 8003d1e: f003 030f and.w r3, r3, #15 - 8003d22: 683a ldr r2, [r7, #0] - 8003d24: 429a cmp r2, r3 - 8003d26: d001 beq.n 8003d2c + 800469e: 4b20 ldr r3, [pc, #128] @ (8004720 ) + 80046a0: 681b ldr r3, [r3, #0] + 80046a2: f003 030f and.w r3, r3, #15 + 80046a6: 683a ldr r2, [r7, #0] + 80046a8: 429a cmp r2, r3 + 80046aa: d001 beq.n 80046b0 { return HAL_ERROR; - 8003d28: 2301 movs r3, #1 - 8003d2a: e032 b.n 8003d92 + 80046ac: 2301 movs r3, #1 + 80046ae: e032 b.n 8004716 } } /*-------------------------- PCLK1 Configuration ---------------------------*/ if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1) - 8003d2c: 687b ldr r3, [r7, #4] - 8003d2e: 681b ldr r3, [r3, #0] - 8003d30: f003 0304 and.w r3, r3, #4 - 8003d34: 2b00 cmp r3, #0 - 8003d36: d008 beq.n 8003d4a + 80046b0: 687b ldr r3, [r7, #4] + 80046b2: 681b ldr r3, [r3, #0] + 80046b4: f003 0304 and.w r3, r3, #4 + 80046b8: 2b00 cmp r3, #0 + 80046ba: d008 beq.n 80046ce { assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB1CLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider); - 8003d38: 4b19 ldr r3, [pc, #100] @ (8003da0 ) - 8003d3a: 689b ldr r3, [r3, #8] - 8003d3c: f423 52e0 bic.w r2, r3, #7168 @ 0x1c00 - 8003d40: 687b ldr r3, [r7, #4] - 8003d42: 68db ldr r3, [r3, #12] - 8003d44: 4916 ldr r1, [pc, #88] @ (8003da0 ) - 8003d46: 4313 orrs r3, r2 - 8003d48: 608b str r3, [r1, #8] + 80046bc: 4b19 ldr r3, [pc, #100] @ (8004724 ) + 80046be: 689b ldr r3, [r3, #8] + 80046c0: f423 52e0 bic.w r2, r3, #7168 @ 0x1c00 + 80046c4: 687b ldr r3, [r7, #4] + 80046c6: 68db ldr r3, [r3, #12] + 80046c8: 4916 ldr r1, [pc, #88] @ (8004724 ) + 80046ca: 4313 orrs r3, r2 + 80046cc: 608b str r3, [r1, #8] } /*-------------------------- PCLK2 Configuration ---------------------------*/ if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2) - 8003d4a: 687b ldr r3, [r7, #4] - 8003d4c: 681b ldr r3, [r3, #0] - 8003d4e: f003 0308 and.w r3, r3, #8 - 8003d52: 2b00 cmp r3, #0 - 8003d54: d009 beq.n 8003d6a + 80046ce: 687b ldr r3, [r7, #4] + 80046d0: 681b ldr r3, [r3, #0] + 80046d2: f003 0308 and.w r3, r3, #8 + 80046d6: 2b00 cmp r3, #0 + 80046d8: d009 beq.n 80046ee { assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB2CLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3U)); - 8003d56: 4b12 ldr r3, [pc, #72] @ (8003da0 ) - 8003d58: 689b ldr r3, [r3, #8] - 8003d5a: f423 4260 bic.w r2, r3, #57344 @ 0xe000 - 8003d5e: 687b ldr r3, [r7, #4] - 8003d60: 691b ldr r3, [r3, #16] - 8003d62: 00db lsls r3, r3, #3 - 8003d64: 490e ldr r1, [pc, #56] @ (8003da0 ) - 8003d66: 4313 orrs r3, r2 - 8003d68: 608b str r3, [r1, #8] + 80046da: 4b12 ldr r3, [pc, #72] @ (8004724 ) + 80046dc: 689b ldr r3, [r3, #8] + 80046de: f423 4260 bic.w r2, r3, #57344 @ 0xe000 + 80046e2: 687b ldr r3, [r7, #4] + 80046e4: 691b ldr r3, [r3, #16] + 80046e6: 00db lsls r3, r3, #3 + 80046e8: 490e ldr r1, [pc, #56] @ (8004724 ) + 80046ea: 4313 orrs r3, r2 + 80046ec: 608b str r3, [r1, #8] } /* Update the SystemCoreClock global variable */ SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE)>> RCC_CFGR_HPRE_Pos]; - 8003d6a: f000 f821 bl 8003db0 - 8003d6e: 4602 mov r2, r0 - 8003d70: 4b0b ldr r3, [pc, #44] @ (8003da0 ) - 8003d72: 689b ldr r3, [r3, #8] - 8003d74: 091b lsrs r3, r3, #4 - 8003d76: f003 030f and.w r3, r3, #15 - 8003d7a: 490a ldr r1, [pc, #40] @ (8003da4 ) - 8003d7c: 5ccb ldrb r3, [r1, r3] - 8003d7e: fa22 f303 lsr.w r3, r2, r3 - 8003d82: 4a09 ldr r2, [pc, #36] @ (8003da8 ) - 8003d84: 6013 str r3, [r2, #0] + 80046ee: f000 f821 bl 8004734 + 80046f2: 4602 mov r2, r0 + 80046f4: 4b0b ldr r3, [pc, #44] @ (8004724 ) + 80046f6: 689b ldr r3, [r3, #8] + 80046f8: 091b lsrs r3, r3, #4 + 80046fa: f003 030f and.w r3, r3, #15 + 80046fe: 490a ldr r1, [pc, #40] @ (8004728 ) + 8004700: 5ccb ldrb r3, [r1, r3] + 8004702: fa22 f303 lsr.w r3, r2, r3 + 8004706: 4a09 ldr r2, [pc, #36] @ (800472c ) + 8004708: 6013 str r3, [r2, #0] /* Configure the source of time base considering new system clocks settings */ HAL_InitTick (uwTickPrio); - 8003d86: 4b09 ldr r3, [pc, #36] @ (8003dac ) - 8003d88: 681b ldr r3, [r3, #0] - 8003d8a: 4618 mov r0, r3 - 8003d8c: f7fe f870 bl 8001e70 + 800470a: 4b09 ldr r3, [pc, #36] @ (8004730 ) + 800470c: 681b ldr r3, [r3, #0] + 800470e: 4618 mov r0, r3 + 8004710: f7fd fd5e bl 80021d0 return HAL_OK; - 8003d90: 2300 movs r3, #0 + 8004714: 2300 movs r3, #0 } - 8003d92: 4618 mov r0, r3 - 8003d94: 3710 adds r7, #16 - 8003d96: 46bd mov sp, r7 - 8003d98: bd80 pop {r7, pc} - 8003d9a: bf00 nop - 8003d9c: 40023c00 .word 0x40023c00 - 8003da0: 40023800 .word 0x40023800 - 8003da4: 08018dd8 .word 0x08018dd8 - 8003da8: 20000000 .word 0x20000000 - 8003dac: 20000004 .word 0x20000004 + 8004716: 4618 mov r0, r3 + 8004718: 3710 adds r7, #16 + 800471a: 46bd mov sp, r7 + 800471c: bd80 pop {r7, pc} + 800471e: bf00 nop + 8004720: 40023c00 .word 0x40023c00 + 8004724: 40023800 .word 0x40023800 + 8004728: 08019758 .word 0x08019758 + 800472c: 20000000 .word 0x20000000 + 8004730: 20000004 .word 0x20000004 -08003db0 : +08004734 : * * * @retval SYSCLK frequency */ __weak uint32_t HAL_RCC_GetSysClockFreq(void) { - 8003db0: e92d 4fb0 stmdb sp!, {r4, r5, r7, r8, r9, sl, fp, lr} - 8003db4: b090 sub sp, #64 @ 0x40 - 8003db6: af00 add r7, sp, #0 + 8004734: e92d 4fb0 stmdb sp!, {r4, r5, r7, r8, r9, sl, fp, lr} + 8004738: b090 sub sp, #64 @ 0x40 + 800473a: af00 add r7, sp, #0 uint32_t pllm = 0U, pllvco = 0U, pllp = 0U; - 8003db8: 2300 movs r3, #0 - 8003dba: 637b str r3, [r7, #52] @ 0x34 - 8003dbc: 2300 movs r3, #0 - 8003dbe: 63fb str r3, [r7, #60] @ 0x3c - 8003dc0: 2300 movs r3, #0 - 8003dc2: 633b str r3, [r7, #48] @ 0x30 + 800473c: 2300 movs r3, #0 + 800473e: 637b str r3, [r7, #52] @ 0x34 + 8004740: 2300 movs r3, #0 + 8004742: 63fb str r3, [r7, #60] @ 0x3c + 8004744: 2300 movs r3, #0 + 8004746: 633b str r3, [r7, #48] @ 0x30 uint32_t sysclockfreq = 0U; - 8003dc4: 2300 movs r3, #0 - 8003dc6: 63bb str r3, [r7, #56] @ 0x38 + 8004748: 2300 movs r3, #0 + 800474a: 63bb str r3, [r7, #56] @ 0x38 /* Get SYSCLK source -------------------------------------------------------*/ switch (RCC->CFGR & RCC_CFGR_SWS) - 8003dc8: 4b59 ldr r3, [pc, #356] @ (8003f30 ) - 8003dca: 689b ldr r3, [r3, #8] - 8003dcc: f003 030c and.w r3, r3, #12 - 8003dd0: 2b08 cmp r3, #8 - 8003dd2: d00d beq.n 8003df0 - 8003dd4: 2b08 cmp r3, #8 - 8003dd6: f200 80a1 bhi.w 8003f1c - 8003dda: 2b00 cmp r3, #0 - 8003ddc: d002 beq.n 8003de4 - 8003dde: 2b04 cmp r3, #4 - 8003de0: d003 beq.n 8003dea - 8003de2: e09b b.n 8003f1c + 800474c: 4b59 ldr r3, [pc, #356] @ (80048b4 ) + 800474e: 689b ldr r3, [r3, #8] + 8004750: f003 030c and.w r3, r3, #12 + 8004754: 2b08 cmp r3, #8 + 8004756: d00d beq.n 8004774 + 8004758: 2b08 cmp r3, #8 + 800475a: f200 80a1 bhi.w 80048a0 + 800475e: 2b00 cmp r3, #0 + 8004760: d002 beq.n 8004768 + 8004762: 2b04 cmp r3, #4 + 8004764: d003 beq.n 800476e + 8004766: e09b b.n 80048a0 { case RCC_CFGR_SWS_HSI: /* HSI used as system clock source */ { sysclockfreq = HSI_VALUE; - 8003de4: 4b53 ldr r3, [pc, #332] @ (8003f34 ) - 8003de6: 63bb str r3, [r7, #56] @ 0x38 + 8004768: 4b53 ldr r3, [pc, #332] @ (80048b8 ) + 800476a: 63bb str r3, [r7, #56] @ 0x38 break; - 8003de8: e09b b.n 8003f22 + 800476c: e09b b.n 80048a6 } case RCC_CFGR_SWS_HSE: /* HSE used as system clock source */ { sysclockfreq = HSE_VALUE; - 8003dea: 4b53 ldr r3, [pc, #332] @ (8003f38 ) - 8003dec: 63bb str r3, [r7, #56] @ 0x38 + 800476e: 4b53 ldr r3, [pc, #332] @ (80048bc ) + 8004770: 63bb str r3, [r7, #56] @ 0x38 break; - 8003dee: e098 b.n 8003f22 + 8004772: e098 b.n 80048a6 } case RCC_CFGR_SWS_PLL: /* PLL used as system clock source */ { /* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLLM) * PLLN SYSCLK = PLL_VCO / PLLP */ pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM; - 8003df0: 4b4f ldr r3, [pc, #316] @ (8003f30 ) - 8003df2: 685b ldr r3, [r3, #4] - 8003df4: f003 033f and.w r3, r3, #63 @ 0x3f - 8003df8: 637b str r3, [r7, #52] @ 0x34 + 8004774: 4b4f ldr r3, [pc, #316] @ (80048b4 ) + 8004776: 685b ldr r3, [r3, #4] + 8004778: f003 033f and.w r3, r3, #63 @ 0x3f + 800477c: 637b str r3, [r7, #52] @ 0x34 if(__HAL_RCC_GET_PLL_OSCSOURCE() != RCC_PLLSOURCE_HSI) - 8003dfa: 4b4d ldr r3, [pc, #308] @ (8003f30 ) - 8003dfc: 685b ldr r3, [r3, #4] - 8003dfe: f403 0380 and.w r3, r3, #4194304 @ 0x400000 - 8003e02: 2b00 cmp r3, #0 - 8003e04: d028 beq.n 8003e58 + 800477e: 4b4d ldr r3, [pc, #308] @ (80048b4 ) + 8004780: 685b ldr r3, [r3, #4] + 8004782: f403 0380 and.w r3, r3, #4194304 @ 0x400000 + 8004786: 2b00 cmp r3, #0 + 8004788: d028 beq.n 80047dc { /* HSE used as PLL clock source */ pllvco = (uint32_t) ((((uint64_t) HSE_VALUE * ((uint64_t) ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos)))) / (uint64_t)pllm); - 8003e06: 4b4a ldr r3, [pc, #296] @ (8003f30 ) - 8003e08: 685b ldr r3, [r3, #4] - 8003e0a: 099b lsrs r3, r3, #6 - 8003e0c: 2200 movs r2, #0 - 8003e0e: 623b str r3, [r7, #32] - 8003e10: 627a str r2, [r7, #36] @ 0x24 - 8003e12: 6a3b ldr r3, [r7, #32] - 8003e14: f3c3 0008 ubfx r0, r3, #0, #9 - 8003e18: 2100 movs r1, #0 - 8003e1a: 4b47 ldr r3, [pc, #284] @ (8003f38 ) - 8003e1c: fb03 f201 mul.w r2, r3, r1 - 8003e20: 2300 movs r3, #0 - 8003e22: fb00 f303 mul.w r3, r0, r3 - 8003e26: 4413 add r3, r2 - 8003e28: 4a43 ldr r2, [pc, #268] @ (8003f38 ) - 8003e2a: fba0 1202 umull r1, r2, r0, r2 - 8003e2e: 62fa str r2, [r7, #44] @ 0x2c - 8003e30: 460a mov r2, r1 - 8003e32: 62ba str r2, [r7, #40] @ 0x28 - 8003e34: 6afa ldr r2, [r7, #44] @ 0x2c - 8003e36: 4413 add r3, r2 - 8003e38: 62fb str r3, [r7, #44] @ 0x2c - 8003e3a: 6b7b ldr r3, [r7, #52] @ 0x34 - 8003e3c: 2200 movs r2, #0 - 8003e3e: 61bb str r3, [r7, #24] - 8003e40: 61fa str r2, [r7, #28] - 8003e42: e9d7 2306 ldrd r2, r3, [r7, #24] - 8003e46: e9d7 010a ldrd r0, r1, [r7, #40] @ 0x28 - 8003e4a: f7fc febd bl 8000bc8 <__aeabi_uldivmod> - 8003e4e: 4602 mov r2, r0 - 8003e50: 460b mov r3, r1 - 8003e52: 4613 mov r3, r2 - 8003e54: 63fb str r3, [r7, #60] @ 0x3c - 8003e56: e053 b.n 8003f00 + 800478a: 4b4a ldr r3, [pc, #296] @ (80048b4 ) + 800478c: 685b ldr r3, [r3, #4] + 800478e: 099b lsrs r3, r3, #6 + 8004790: 2200 movs r2, #0 + 8004792: 623b str r3, [r7, #32] + 8004794: 627a str r2, [r7, #36] @ 0x24 + 8004796: 6a3b ldr r3, [r7, #32] + 8004798: f3c3 0008 ubfx r0, r3, #0, #9 + 800479c: 2100 movs r1, #0 + 800479e: 4b47 ldr r3, [pc, #284] @ (80048bc ) + 80047a0: fb03 f201 mul.w r2, r3, r1 + 80047a4: 2300 movs r3, #0 + 80047a6: fb00 f303 mul.w r3, r0, r3 + 80047aa: 4413 add r3, r2 + 80047ac: 4a43 ldr r2, [pc, #268] @ (80048bc ) + 80047ae: fba0 1202 umull r1, r2, r0, r2 + 80047b2: 62fa str r2, [r7, #44] @ 0x2c + 80047b4: 460a mov r2, r1 + 80047b6: 62ba str r2, [r7, #40] @ 0x28 + 80047b8: 6afa ldr r2, [r7, #44] @ 0x2c + 80047ba: 4413 add r3, r2 + 80047bc: 62fb str r3, [r7, #44] @ 0x2c + 80047be: 6b7b ldr r3, [r7, #52] @ 0x34 + 80047c0: 2200 movs r2, #0 + 80047c2: 61bb str r3, [r7, #24] + 80047c4: 61fa str r2, [r7, #28] + 80047c6: e9d7 2306 ldrd r2, r3, [r7, #24] + 80047ca: e9d7 010a ldrd r0, r1, [r7, #40] @ 0x28 + 80047ce: f7fc f9fb bl 8000bc8 <__aeabi_uldivmod> + 80047d2: 4602 mov r2, r0 + 80047d4: 460b mov r3, r1 + 80047d6: 4613 mov r3, r2 + 80047d8: 63fb str r3, [r7, #60] @ 0x3c + 80047da: e053 b.n 8004884 } else { /* HSI used as PLL clock source */ pllvco = (uint32_t) ((((uint64_t) HSI_VALUE * ((uint64_t) ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos)))) / (uint64_t)pllm); - 8003e58: 4b35 ldr r3, [pc, #212] @ (8003f30 ) - 8003e5a: 685b ldr r3, [r3, #4] - 8003e5c: 099b lsrs r3, r3, #6 - 8003e5e: 2200 movs r2, #0 - 8003e60: 613b str r3, [r7, #16] - 8003e62: 617a str r2, [r7, #20] - 8003e64: 693b ldr r3, [r7, #16] - 8003e66: f3c3 0a08 ubfx sl, r3, #0, #9 - 8003e6a: f04f 0b00 mov.w fp, #0 - 8003e6e: 4652 mov r2, sl - 8003e70: 465b mov r3, fp - 8003e72: f04f 0000 mov.w r0, #0 - 8003e76: f04f 0100 mov.w r1, #0 - 8003e7a: 0159 lsls r1, r3, #5 - 8003e7c: ea41 61d2 orr.w r1, r1, r2, lsr #27 - 8003e80: 0150 lsls r0, r2, #5 - 8003e82: 4602 mov r2, r0 - 8003e84: 460b mov r3, r1 - 8003e86: ebb2 080a subs.w r8, r2, sl - 8003e8a: eb63 090b sbc.w r9, r3, fp - 8003e8e: f04f 0200 mov.w r2, #0 - 8003e92: f04f 0300 mov.w r3, #0 - 8003e96: ea4f 1389 mov.w r3, r9, lsl #6 - 8003e9a: ea43 6398 orr.w r3, r3, r8, lsr #26 - 8003e9e: ea4f 1288 mov.w r2, r8, lsl #6 - 8003ea2: ebb2 0408 subs.w r4, r2, r8 - 8003ea6: eb63 0509 sbc.w r5, r3, r9 - 8003eaa: f04f 0200 mov.w r2, #0 - 8003eae: f04f 0300 mov.w r3, #0 - 8003eb2: 00eb lsls r3, r5, #3 - 8003eb4: ea43 7354 orr.w r3, r3, r4, lsr #29 - 8003eb8: 00e2 lsls r2, r4, #3 - 8003eba: 4614 mov r4, r2 - 8003ebc: 461d mov r5, r3 - 8003ebe: eb14 030a adds.w r3, r4, sl - 8003ec2: 603b str r3, [r7, #0] - 8003ec4: eb45 030b adc.w r3, r5, fp - 8003ec8: 607b str r3, [r7, #4] - 8003eca: f04f 0200 mov.w r2, #0 - 8003ece: f04f 0300 mov.w r3, #0 - 8003ed2: e9d7 4500 ldrd r4, r5, [r7] - 8003ed6: 4629 mov r1, r5 - 8003ed8: 028b lsls r3, r1, #10 - 8003eda: 4621 mov r1, r4 - 8003edc: ea43 5391 orr.w r3, r3, r1, lsr #22 - 8003ee0: 4621 mov r1, r4 - 8003ee2: 028a lsls r2, r1, #10 - 8003ee4: 4610 mov r0, r2 - 8003ee6: 4619 mov r1, r3 - 8003ee8: 6b7b ldr r3, [r7, #52] @ 0x34 - 8003eea: 2200 movs r2, #0 - 8003eec: 60bb str r3, [r7, #8] - 8003eee: 60fa str r2, [r7, #12] - 8003ef0: e9d7 2302 ldrd r2, r3, [r7, #8] - 8003ef4: f7fc fe68 bl 8000bc8 <__aeabi_uldivmod> - 8003ef8: 4602 mov r2, r0 - 8003efa: 460b mov r3, r1 - 8003efc: 4613 mov r3, r2 - 8003efe: 63fb str r3, [r7, #60] @ 0x3c + 80047dc: 4b35 ldr r3, [pc, #212] @ (80048b4 ) + 80047de: 685b ldr r3, [r3, #4] + 80047e0: 099b lsrs r3, r3, #6 + 80047e2: 2200 movs r2, #0 + 80047e4: 613b str r3, [r7, #16] + 80047e6: 617a str r2, [r7, #20] + 80047e8: 693b ldr r3, [r7, #16] + 80047ea: f3c3 0a08 ubfx sl, r3, #0, #9 + 80047ee: f04f 0b00 mov.w fp, #0 + 80047f2: 4652 mov r2, sl + 80047f4: 465b mov r3, fp + 80047f6: f04f 0000 mov.w r0, #0 + 80047fa: f04f 0100 mov.w r1, #0 + 80047fe: 0159 lsls r1, r3, #5 + 8004800: ea41 61d2 orr.w r1, r1, r2, lsr #27 + 8004804: 0150 lsls r0, r2, #5 + 8004806: 4602 mov r2, r0 + 8004808: 460b mov r3, r1 + 800480a: ebb2 080a subs.w r8, r2, sl + 800480e: eb63 090b sbc.w r9, r3, fp + 8004812: f04f 0200 mov.w r2, #0 + 8004816: f04f 0300 mov.w r3, #0 + 800481a: ea4f 1389 mov.w r3, r9, lsl #6 + 800481e: ea43 6398 orr.w r3, r3, r8, lsr #26 + 8004822: ea4f 1288 mov.w r2, r8, lsl #6 + 8004826: ebb2 0408 subs.w r4, r2, r8 + 800482a: eb63 0509 sbc.w r5, r3, r9 + 800482e: f04f 0200 mov.w r2, #0 + 8004832: f04f 0300 mov.w r3, #0 + 8004836: 00eb lsls r3, r5, #3 + 8004838: ea43 7354 orr.w r3, r3, r4, lsr #29 + 800483c: 00e2 lsls r2, r4, #3 + 800483e: 4614 mov r4, r2 + 8004840: 461d mov r5, r3 + 8004842: eb14 030a adds.w r3, r4, sl + 8004846: 603b str r3, [r7, #0] + 8004848: eb45 030b adc.w r3, r5, fp + 800484c: 607b str r3, [r7, #4] + 800484e: f04f 0200 mov.w r2, #0 + 8004852: f04f 0300 mov.w r3, #0 + 8004856: e9d7 4500 ldrd r4, r5, [r7] + 800485a: 4629 mov r1, r5 + 800485c: 028b lsls r3, r1, #10 + 800485e: 4621 mov r1, r4 + 8004860: ea43 5391 orr.w r3, r3, r1, lsr #22 + 8004864: 4621 mov r1, r4 + 8004866: 028a lsls r2, r1, #10 + 8004868: 4610 mov r0, r2 + 800486a: 4619 mov r1, r3 + 800486c: 6b7b ldr r3, [r7, #52] @ 0x34 + 800486e: 2200 movs r2, #0 + 8004870: 60bb str r3, [r7, #8] + 8004872: 60fa str r2, [r7, #12] + 8004874: e9d7 2302 ldrd r2, r3, [r7, #8] + 8004878: f7fc f9a6 bl 8000bc8 <__aeabi_uldivmod> + 800487c: 4602 mov r2, r0 + 800487e: 460b mov r3, r1 + 8004880: 4613 mov r3, r2 + 8004882: 63fb str r3, [r7, #60] @ 0x3c } pllp = ((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) + 1U) *2U); - 8003f00: 4b0b ldr r3, [pc, #44] @ (8003f30 ) - 8003f02: 685b ldr r3, [r3, #4] - 8003f04: 0c1b lsrs r3, r3, #16 - 8003f06: f003 0303 and.w r3, r3, #3 - 8003f0a: 3301 adds r3, #1 - 8003f0c: 005b lsls r3, r3, #1 - 8003f0e: 633b str r3, [r7, #48] @ 0x30 + 8004884: 4b0b ldr r3, [pc, #44] @ (80048b4 ) + 8004886: 685b ldr r3, [r3, #4] + 8004888: 0c1b lsrs r3, r3, #16 + 800488a: f003 0303 and.w r3, r3, #3 + 800488e: 3301 adds r3, #1 + 8004890: 005b lsls r3, r3, #1 + 8004892: 633b str r3, [r7, #48] @ 0x30 sysclockfreq = pllvco/pllp; - 8003f10: 6bfa ldr r2, [r7, #60] @ 0x3c - 8003f12: 6b3b ldr r3, [r7, #48] @ 0x30 - 8003f14: fbb2 f3f3 udiv r3, r2, r3 - 8003f18: 63bb str r3, [r7, #56] @ 0x38 + 8004894: 6bfa ldr r2, [r7, #60] @ 0x3c + 8004896: 6b3b ldr r3, [r7, #48] @ 0x30 + 8004898: fbb2 f3f3 udiv r3, r2, r3 + 800489c: 63bb str r3, [r7, #56] @ 0x38 break; - 8003f1a: e002 b.n 8003f22 + 800489e: e002 b.n 80048a6 } default: { sysclockfreq = HSI_VALUE; - 8003f1c: 4b05 ldr r3, [pc, #20] @ (8003f34 ) - 8003f1e: 63bb str r3, [r7, #56] @ 0x38 + 80048a0: 4b05 ldr r3, [pc, #20] @ (80048b8 ) + 80048a2: 63bb str r3, [r7, #56] @ 0x38 break; - 8003f20: bf00 nop + 80048a4: bf00 nop } } return sysclockfreq; - 8003f22: 6bbb ldr r3, [r7, #56] @ 0x38 + 80048a6: 6bbb ldr r3, [r7, #56] @ 0x38 } - 8003f24: 4618 mov r0, r3 - 8003f26: 3740 adds r7, #64 @ 0x40 - 8003f28: 46bd mov sp, r7 - 8003f2a: e8bd 8fb0 ldmia.w sp!, {r4, r5, r7, r8, r9, sl, fp, pc} - 8003f2e: bf00 nop - 8003f30: 40023800 .word 0x40023800 - 8003f34: 00f42400 .word 0x00f42400 - 8003f38: 017d7840 .word 0x017d7840 + 80048a8: 4618 mov r0, r3 + 80048aa: 3740 adds r7, #64 @ 0x40 + 80048ac: 46bd mov sp, r7 + 80048ae: e8bd 8fb0 ldmia.w sp!, {r4, r5, r7, r8, r9, sl, fp, pc} + 80048b2: bf00 nop + 80048b4: 40023800 .word 0x40023800 + 80048b8: 00f42400 .word 0x00f42400 + 80048bc: 017d7840 .word 0x017d7840 -08003f3c : +080048c0 : * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency * and updated within this function * @retval HCLK frequency */ uint32_t HAL_RCC_GetHCLKFreq(void) { - 8003f3c: b480 push {r7} - 8003f3e: af00 add r7, sp, #0 + 80048c0: b480 push {r7} + 80048c2: af00 add r7, sp, #0 return SystemCoreClock; - 8003f40: 4b03 ldr r3, [pc, #12] @ (8003f50 ) - 8003f42: 681b ldr r3, [r3, #0] + 80048c4: 4b03 ldr r3, [pc, #12] @ (80048d4 ) + 80048c6: 681b ldr r3, [r3, #0] } - 8003f44: 4618 mov r0, r3 - 8003f46: 46bd mov sp, r7 - 8003f48: f85d 7b04 ldr.w r7, [sp], #4 - 8003f4c: 4770 bx lr - 8003f4e: bf00 nop - 8003f50: 20000000 .word 0x20000000 + 80048c8: 4618 mov r0, r3 + 80048ca: 46bd mov sp, r7 + 80048cc: f85d 7b04 ldr.w r7, [sp], #4 + 80048d0: 4770 bx lr + 80048d2: bf00 nop + 80048d4: 20000000 .word 0x20000000 -08003f54 : +080048d8 : * @param ExtTiming Pointer to SRAM extended mode timing structure * @retval HAL status */ HAL_StatusTypeDef HAL_SRAM_Init(SRAM_HandleTypeDef *hsram, FMC_NORSRAM_TimingTypeDef *Timing, FMC_NORSRAM_TimingTypeDef *ExtTiming) { - 8003f54: b580 push {r7, lr} - 8003f56: b084 sub sp, #16 - 8003f58: af00 add r7, sp, #0 - 8003f5a: 60f8 str r0, [r7, #12] - 8003f5c: 60b9 str r1, [r7, #8] - 8003f5e: 607a str r2, [r7, #4] + 80048d8: b580 push {r7, lr} + 80048da: b084 sub sp, #16 + 80048dc: af00 add r7, sp, #0 + 80048de: 60f8 str r0, [r7, #12] + 80048e0: 60b9 str r1, [r7, #8] + 80048e2: 607a str r2, [r7, #4] /* Check the SRAM handle parameter */ if (hsram == NULL) - 8003f60: 68fb ldr r3, [r7, #12] - 8003f62: 2b00 cmp r3, #0 - 8003f64: d101 bne.n 8003f6a + 80048e4: 68fb ldr r3, [r7, #12] + 80048e6: 2b00 cmp r3, #0 + 80048e8: d101 bne.n 80048ee { return HAL_ERROR; - 8003f66: 2301 movs r3, #1 - 8003f68: e038 b.n 8003fdc + 80048ea: 2301 movs r3, #1 + 80048ec: e038 b.n 8004960 } if (hsram->State == HAL_SRAM_STATE_RESET) - 8003f6a: 68fb ldr r3, [r7, #12] - 8003f6c: f893 3049 ldrb.w r3, [r3, #73] @ 0x49 - 8003f70: b2db uxtb r3, r3 - 8003f72: 2b00 cmp r3, #0 - 8003f74: d106 bne.n 8003f84 + 80048ee: 68fb ldr r3, [r7, #12] + 80048f0: f893 3049 ldrb.w r3, [r3, #73] @ 0x49 + 80048f4: b2db uxtb r3, r3 + 80048f6: 2b00 cmp r3, #0 + 80048f8: d106 bne.n 8004908 { /* Allocate lock resource and initialize it */ hsram->Lock = HAL_UNLOCKED; - 8003f76: 68fb ldr r3, [r7, #12] - 8003f78: 2200 movs r2, #0 - 8003f7a: f883 2048 strb.w r2, [r3, #72] @ 0x48 + 80048fa: 68fb ldr r3, [r7, #12] + 80048fc: 2200 movs r2, #0 + 80048fe: f883 2048 strb.w r2, [r3, #72] @ 0x48 /* Init the low level hardware */ hsram->MspInitCallback(hsram); #else /* Initialize the low level hardware (MSP) */ HAL_SRAM_MspInit(hsram); - 8003f7e: 68f8 ldr r0, [r7, #12] - 8003f80: f7fd fd64 bl 8001a4c + 8004902: 68f8 ldr r0, [r7, #12] + 8004904: f7fd fa52 bl 8001dac #endif /* USE_HAL_SRAM_REGISTER_CALLBACKS */ } /* Initialize SRAM control Interface */ (void)FMC_NORSRAM_Init(hsram->Instance, &(hsram->Init)); - 8003f84: 68fb ldr r3, [r7, #12] - 8003f86: 681a ldr r2, [r3, #0] - 8003f88: 68fb ldr r3, [r7, #12] - 8003f8a: 3308 adds r3, #8 - 8003f8c: 4619 mov r1, r3 - 8003f8e: 4610 mov r0, r2 - 8003f90: f000 fcb4 bl 80048fc + 8004908: 68fb ldr r3, [r7, #12] + 800490a: 681a ldr r2, [r3, #0] + 800490c: 68fb ldr r3, [r7, #12] + 800490e: 3308 adds r3, #8 + 8004910: 4619 mov r1, r3 + 8004912: 4610 mov r0, r2 + 8004914: f000 fcb4 bl 8005280 /* Initialize SRAM timing Interface */ (void)FMC_NORSRAM_Timing_Init(hsram->Instance, Timing, hsram->Init.NSBank); - 8003f94: 68fb ldr r3, [r7, #12] - 8003f96: 6818 ldr r0, [r3, #0] - 8003f98: 68fb ldr r3, [r7, #12] - 8003f9a: 689b ldr r3, [r3, #8] - 8003f9c: 461a mov r2, r3 - 8003f9e: 68b9 ldr r1, [r7, #8] - 8003fa0: f000 fd32 bl 8004a08 + 8004918: 68fb ldr r3, [r7, #12] + 800491a: 6818 ldr r0, [r3, #0] + 800491c: 68fb ldr r3, [r7, #12] + 800491e: 689b ldr r3, [r3, #8] + 8004920: 461a mov r2, r3 + 8004922: 68b9 ldr r1, [r7, #8] + 8004924: f000 fd32 bl 800538c /* Initialize SRAM extended mode timing Interface */ (void)FMC_NORSRAM_Extended_Timing_Init(hsram->Extended, ExtTiming, hsram->Init.NSBank, - 8003fa4: 68fb ldr r3, [r7, #12] - 8003fa6: 6858 ldr r0, [r3, #4] - 8003fa8: 68fb ldr r3, [r7, #12] - 8003faa: 689a ldr r2, [r3, #8] - 8003fac: 68fb ldr r3, [r7, #12] - 8003fae: 6b1b ldr r3, [r3, #48] @ 0x30 - 8003fb0: 6879 ldr r1, [r7, #4] - 8003fb2: f000 fd79 bl 8004aa8 + 8004928: 68fb ldr r3, [r7, #12] + 800492a: 6858 ldr r0, [r3, #4] + 800492c: 68fb ldr r3, [r7, #12] + 800492e: 689a ldr r2, [r3, #8] + 8004930: 68fb ldr r3, [r7, #12] + 8004932: 6b1b ldr r3, [r3, #48] @ 0x30 + 8004934: 6879 ldr r1, [r7, #4] + 8004936: f000 fd79 bl 800542c hsram->Init.ExtendedMode); /* Enable the NORSRAM device */ __FMC_NORSRAM_ENABLE(hsram->Instance, hsram->Init.NSBank); - 8003fb6: 68fb ldr r3, [r7, #12] - 8003fb8: 681b ldr r3, [r3, #0] - 8003fba: 68fa ldr r2, [r7, #12] - 8003fbc: 6892 ldr r2, [r2, #8] - 8003fbe: f853 1022 ldr.w r1, [r3, r2, lsl #2] - 8003fc2: 68fb ldr r3, [r7, #12] - 8003fc4: 681b ldr r3, [r3, #0] - 8003fc6: 68fa ldr r2, [r7, #12] - 8003fc8: 6892 ldr r2, [r2, #8] - 8003fca: f041 0101 orr.w r1, r1, #1 - 8003fce: f843 1022 str.w r1, [r3, r2, lsl #2] + 800493a: 68fb ldr r3, [r7, #12] + 800493c: 681b ldr r3, [r3, #0] + 800493e: 68fa ldr r2, [r7, #12] + 8004940: 6892 ldr r2, [r2, #8] + 8004942: f853 1022 ldr.w r1, [r3, r2, lsl #2] + 8004946: 68fb ldr r3, [r7, #12] + 8004948: 681b ldr r3, [r3, #0] + 800494a: 68fa ldr r2, [r7, #12] + 800494c: 6892 ldr r2, [r2, #8] + 800494e: f041 0101 orr.w r1, r1, #1 + 8004952: f843 1022 str.w r1, [r3, r2, lsl #2] /* Initialize the SRAM controller state */ hsram->State = HAL_SRAM_STATE_READY; - 8003fd2: 68fb ldr r3, [r7, #12] - 8003fd4: 2201 movs r2, #1 - 8003fd6: f883 2049 strb.w r2, [r3, #73] @ 0x49 + 8004956: 68fb ldr r3, [r7, #12] + 8004958: 2201 movs r2, #1 + 800495a: f883 2049 strb.w r2, [r3, #73] @ 0x49 return HAL_OK; - 8003fda: 2300 movs r3, #0 + 800495e: 2300 movs r3, #0 } - 8003fdc: 4618 mov r0, r3 - 8003fde: 3710 adds r7, #16 - 8003fe0: 46bd mov sp, r7 - 8003fe2: bd80 pop {r7, pc} + 8004960: 4618 mov r0, r3 + 8004962: 3710 adds r7, #16 + 8004964: 46bd mov sp, r7 + 8004966: bd80 pop {r7, pc} -08003fe4 : +08004968 : * Ex: call @ref HAL_TIM_Base_DeInit() before HAL_TIM_Base_Init() * @param htim TIM Base handle * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim) { - 8003fe4: b580 push {r7, lr} - 8003fe6: b082 sub sp, #8 - 8003fe8: af00 add r7, sp, #0 - 8003fea: 6078 str r0, [r7, #4] + 8004968: b580 push {r7, lr} + 800496a: b082 sub sp, #8 + 800496c: af00 add r7, sp, #0 + 800496e: 6078 str r0, [r7, #4] /* Check the TIM handle allocation */ if (htim == NULL) - 8003fec: 687b ldr r3, [r7, #4] - 8003fee: 2b00 cmp r3, #0 - 8003ff0: d101 bne.n 8003ff6 + 8004970: 687b ldr r3, [r7, #4] + 8004972: 2b00 cmp r3, #0 + 8004974: d101 bne.n 800497a { return HAL_ERROR; - 8003ff2: 2301 movs r3, #1 - 8003ff4: e041 b.n 800407a + 8004976: 2301 movs r3, #1 + 8004978: e041 b.n 80049fe assert_param(IS_TIM_INSTANCE(htim->Instance)); assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); if (htim->State == HAL_TIM_STATE_RESET) - 8003ff6: 687b ldr r3, [r7, #4] - 8003ff8: f893 303d ldrb.w r3, [r3, #61] @ 0x3d - 8003ffc: b2db uxtb r3, r3 - 8003ffe: 2b00 cmp r3, #0 - 8004000: d106 bne.n 8004010 + 800497a: 687b ldr r3, [r7, #4] + 800497c: f893 303d ldrb.w r3, [r3, #61] @ 0x3d + 8004980: b2db uxtb r3, r3 + 8004982: 2b00 cmp r3, #0 + 8004984: d106 bne.n 8004994 { /* Allocate lock resource and initialize it */ htim->Lock = HAL_UNLOCKED; - 8004002: 687b ldr r3, [r7, #4] - 8004004: 2200 movs r2, #0 - 8004006: f883 203c strb.w r2, [r3, #60] @ 0x3c + 8004986: 687b ldr r3, [r7, #4] + 8004988: 2200 movs r2, #0 + 800498a: f883 203c strb.w r2, [r3, #60] @ 0x3c } /* Init the low level hardware : GPIO, CLOCK, NVIC */ htim->Base_MspInitCallback(htim); #else /* Init the low level hardware : GPIO, CLOCK, NVIC */ HAL_TIM_Base_MspInit(htim); - 800400a: 6878 ldr r0, [r7, #4] - 800400c: f7fd fc86 bl 800191c + 800498e: 6878 ldr r0, [r7, #4] + 8004990: f7fd f974 bl 8001c7c #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } /* Set the TIM state */ htim->State = HAL_TIM_STATE_BUSY; - 8004010: 687b ldr r3, [r7, #4] - 8004012: 2202 movs r2, #2 - 8004014: f883 203d strb.w r2, [r3, #61] @ 0x3d + 8004994: 687b ldr r3, [r7, #4] + 8004996: 2202 movs r2, #2 + 8004998: f883 203d strb.w r2, [r3, #61] @ 0x3d /* Set the Time Base configuration */ TIM_Base_SetConfig(htim->Instance, &htim->Init); - 8004018: 687b ldr r3, [r7, #4] - 800401a: 681a ldr r2, [r3, #0] - 800401c: 687b ldr r3, [r7, #4] - 800401e: 3304 adds r3, #4 - 8004020: 4619 mov r1, r3 - 8004022: 4610 mov r0, r2 - 8004024: f000 faa0 bl 8004568 + 800499c: 687b ldr r3, [r7, #4] + 800499e: 681a ldr r2, [r3, #0] + 80049a0: 687b ldr r3, [r7, #4] + 80049a2: 3304 adds r3, #4 + 80049a4: 4619 mov r1, r3 + 80049a6: 4610 mov r0, r2 + 80049a8: f000 faa0 bl 8004eec /* Initialize the DMA burst operation state */ htim->DMABurstState = HAL_DMA_BURST_STATE_READY; - 8004028: 687b ldr r3, [r7, #4] - 800402a: 2201 movs r2, #1 - 800402c: f883 2046 strb.w r2, [r3, #70] @ 0x46 + 80049ac: 687b ldr r3, [r7, #4] + 80049ae: 2201 movs r2, #1 + 80049b0: f883 2046 strb.w r2, [r3, #70] @ 0x46 /* Initialize the TIM channels state */ TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); - 8004030: 687b ldr r3, [r7, #4] - 8004032: 2201 movs r2, #1 - 8004034: f883 203e strb.w r2, [r3, #62] @ 0x3e - 8004038: 687b ldr r3, [r7, #4] - 800403a: 2201 movs r2, #1 - 800403c: f883 203f strb.w r2, [r3, #63] @ 0x3f - 8004040: 687b ldr r3, [r7, #4] - 8004042: 2201 movs r2, #1 - 8004044: f883 2040 strb.w r2, [r3, #64] @ 0x40 - 8004048: 687b ldr r3, [r7, #4] - 800404a: 2201 movs r2, #1 - 800404c: f883 2041 strb.w r2, [r3, #65] @ 0x41 + 80049b4: 687b ldr r3, [r7, #4] + 80049b6: 2201 movs r2, #1 + 80049b8: f883 203e strb.w r2, [r3, #62] @ 0x3e + 80049bc: 687b ldr r3, [r7, #4] + 80049be: 2201 movs r2, #1 + 80049c0: f883 203f strb.w r2, [r3, #63] @ 0x3f + 80049c4: 687b ldr r3, [r7, #4] + 80049c6: 2201 movs r2, #1 + 80049c8: f883 2040 strb.w r2, [r3, #64] @ 0x40 + 80049cc: 687b ldr r3, [r7, #4] + 80049ce: 2201 movs r2, #1 + 80049d0: f883 2041 strb.w r2, [r3, #65] @ 0x41 TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); - 8004050: 687b ldr r3, [r7, #4] - 8004052: 2201 movs r2, #1 - 8004054: f883 2042 strb.w r2, [r3, #66] @ 0x42 - 8004058: 687b ldr r3, [r7, #4] - 800405a: 2201 movs r2, #1 - 800405c: f883 2043 strb.w r2, [r3, #67] @ 0x43 - 8004060: 687b ldr r3, [r7, #4] - 8004062: 2201 movs r2, #1 - 8004064: f883 2044 strb.w r2, [r3, #68] @ 0x44 - 8004068: 687b ldr r3, [r7, #4] - 800406a: 2201 movs r2, #1 - 800406c: f883 2045 strb.w r2, [r3, #69] @ 0x45 + 80049d4: 687b ldr r3, [r7, #4] + 80049d6: 2201 movs r2, #1 + 80049d8: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 80049dc: 687b ldr r3, [r7, #4] + 80049de: 2201 movs r2, #1 + 80049e0: f883 2043 strb.w r2, [r3, #67] @ 0x43 + 80049e4: 687b ldr r3, [r7, #4] + 80049e6: 2201 movs r2, #1 + 80049e8: f883 2044 strb.w r2, [r3, #68] @ 0x44 + 80049ec: 687b ldr r3, [r7, #4] + 80049ee: 2201 movs r2, #1 + 80049f0: f883 2045 strb.w r2, [r3, #69] @ 0x45 /* Initialize the TIM state*/ htim->State = HAL_TIM_STATE_READY; - 8004070: 687b ldr r3, [r7, #4] - 8004072: 2201 movs r2, #1 - 8004074: f883 203d strb.w r2, [r3, #61] @ 0x3d + 80049f4: 687b ldr r3, [r7, #4] + 80049f6: 2201 movs r2, #1 + 80049f8: f883 203d strb.w r2, [r3, #61] @ 0x3d return HAL_OK; - 8004078: 2300 movs r3, #0 + 80049fc: 2300 movs r3, #0 } - 800407a: 4618 mov r0, r3 - 800407c: 3708 adds r7, #8 - 800407e: 46bd mov sp, r7 - 8004080: bd80 pop {r7, pc} + 80049fe: 4618 mov r0, r3 + 8004a00: 3708 adds r7, #8 + 8004a02: 46bd mov sp, r7 + 8004a04: bd80 pop {r7, pc} ... -08004084 : +08004a08 : * @brief Starts the TIM Base generation in interrupt mode. * @param htim TIM Base handle * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim) { - 8004084: b480 push {r7} - 8004086: b085 sub sp, #20 - 8004088: af00 add r7, sp, #0 - 800408a: 6078 str r0, [r7, #4] + 8004a08: b480 push {r7} + 8004a0a: b085 sub sp, #20 + 8004a0c: af00 add r7, sp, #0 + 8004a0e: 6078 str r0, [r7, #4] /* Check the parameters */ assert_param(IS_TIM_INSTANCE(htim->Instance)); /* Check the TIM state */ if (htim->State != HAL_TIM_STATE_READY) - 800408c: 687b ldr r3, [r7, #4] - 800408e: f893 303d ldrb.w r3, [r3, #61] @ 0x3d - 8004092: b2db uxtb r3, r3 - 8004094: 2b01 cmp r3, #1 - 8004096: d001 beq.n 800409c + 8004a10: 687b ldr r3, [r7, #4] + 8004a12: f893 303d ldrb.w r3, [r3, #61] @ 0x3d + 8004a16: b2db uxtb r3, r3 + 8004a18: 2b01 cmp r3, #1 + 8004a1a: d001 beq.n 8004a20 { return HAL_ERROR; - 8004098: 2301 movs r3, #1 - 800409a: e04e b.n 800413a + 8004a1c: 2301 movs r3, #1 + 8004a1e: e04e b.n 8004abe } /* Set the TIM state */ htim->State = HAL_TIM_STATE_BUSY; - 800409c: 687b ldr r3, [r7, #4] - 800409e: 2202 movs r2, #2 - 80040a0: f883 203d strb.w r2, [r3, #61] @ 0x3d + 8004a20: 687b ldr r3, [r7, #4] + 8004a22: 2202 movs r2, #2 + 8004a24: f883 203d strb.w r2, [r3, #61] @ 0x3d /* Enable the TIM Update interrupt */ __HAL_TIM_ENABLE_IT(htim, TIM_IT_UPDATE); - 80040a4: 687b ldr r3, [r7, #4] - 80040a6: 681b ldr r3, [r3, #0] - 80040a8: 68da ldr r2, [r3, #12] - 80040aa: 687b ldr r3, [r7, #4] - 80040ac: 681b ldr r3, [r3, #0] - 80040ae: f042 0201 orr.w r2, r2, #1 - 80040b2: 60da str r2, [r3, #12] + 8004a28: 687b ldr r3, [r7, #4] + 8004a2a: 681b ldr r3, [r3, #0] + 8004a2c: 68da ldr r2, [r3, #12] + 8004a2e: 687b ldr r3, [r7, #4] + 8004a30: 681b ldr r3, [r3, #0] + 8004a32: f042 0201 orr.w r2, r2, #1 + 8004a36: 60da str r2, [r3, #12] /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) - 80040b4: 687b ldr r3, [r7, #4] - 80040b6: 681b ldr r3, [r3, #0] - 80040b8: 4a23 ldr r2, [pc, #140] @ (8004148 ) - 80040ba: 4293 cmp r3, r2 - 80040bc: d022 beq.n 8004104 - 80040be: 687b ldr r3, [r7, #4] - 80040c0: 681b ldr r3, [r3, #0] - 80040c2: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 80040c6: d01d beq.n 8004104 - 80040c8: 687b ldr r3, [r7, #4] - 80040ca: 681b ldr r3, [r3, #0] - 80040cc: 4a1f ldr r2, [pc, #124] @ (800414c ) - 80040ce: 4293 cmp r3, r2 - 80040d0: d018 beq.n 8004104 - 80040d2: 687b ldr r3, [r7, #4] - 80040d4: 681b ldr r3, [r3, #0] - 80040d6: 4a1e ldr r2, [pc, #120] @ (8004150 ) - 80040d8: 4293 cmp r3, r2 - 80040da: d013 beq.n 8004104 - 80040dc: 687b ldr r3, [r7, #4] - 80040de: 681b ldr r3, [r3, #0] - 80040e0: 4a1c ldr r2, [pc, #112] @ (8004154 ) - 80040e2: 4293 cmp r3, r2 - 80040e4: d00e beq.n 8004104 - 80040e6: 687b ldr r3, [r7, #4] - 80040e8: 681b ldr r3, [r3, #0] - 80040ea: 4a1b ldr r2, [pc, #108] @ (8004158 ) - 80040ec: 4293 cmp r3, r2 - 80040ee: d009 beq.n 8004104 - 80040f0: 687b ldr r3, [r7, #4] - 80040f2: 681b ldr r3, [r3, #0] - 80040f4: 4a19 ldr r2, [pc, #100] @ (800415c ) - 80040f6: 4293 cmp r3, r2 - 80040f8: d004 beq.n 8004104 - 80040fa: 687b ldr r3, [r7, #4] - 80040fc: 681b ldr r3, [r3, #0] - 80040fe: 4a18 ldr r2, [pc, #96] @ (8004160 ) - 8004100: 4293 cmp r3, r2 - 8004102: d111 bne.n 8004128 + 8004a38: 687b ldr r3, [r7, #4] + 8004a3a: 681b ldr r3, [r3, #0] + 8004a3c: 4a23 ldr r2, [pc, #140] @ (8004acc ) + 8004a3e: 4293 cmp r3, r2 + 8004a40: d022 beq.n 8004a88 + 8004a42: 687b ldr r3, [r7, #4] + 8004a44: 681b ldr r3, [r3, #0] + 8004a46: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 8004a4a: d01d beq.n 8004a88 + 8004a4c: 687b ldr r3, [r7, #4] + 8004a4e: 681b ldr r3, [r3, #0] + 8004a50: 4a1f ldr r2, [pc, #124] @ (8004ad0 ) + 8004a52: 4293 cmp r3, r2 + 8004a54: d018 beq.n 8004a88 + 8004a56: 687b ldr r3, [r7, #4] + 8004a58: 681b ldr r3, [r3, #0] + 8004a5a: 4a1e ldr r2, [pc, #120] @ (8004ad4 ) + 8004a5c: 4293 cmp r3, r2 + 8004a5e: d013 beq.n 8004a88 + 8004a60: 687b ldr r3, [r7, #4] + 8004a62: 681b ldr r3, [r3, #0] + 8004a64: 4a1c ldr r2, [pc, #112] @ (8004ad8 ) + 8004a66: 4293 cmp r3, r2 + 8004a68: d00e beq.n 8004a88 + 8004a6a: 687b ldr r3, [r7, #4] + 8004a6c: 681b ldr r3, [r3, #0] + 8004a6e: 4a1b ldr r2, [pc, #108] @ (8004adc ) + 8004a70: 4293 cmp r3, r2 + 8004a72: d009 beq.n 8004a88 + 8004a74: 687b ldr r3, [r7, #4] + 8004a76: 681b ldr r3, [r3, #0] + 8004a78: 4a19 ldr r2, [pc, #100] @ (8004ae0 ) + 8004a7a: 4293 cmp r3, r2 + 8004a7c: d004 beq.n 8004a88 + 8004a7e: 687b ldr r3, [r7, #4] + 8004a80: 681b ldr r3, [r3, #0] + 8004a82: 4a18 ldr r2, [pc, #96] @ (8004ae4 ) + 8004a84: 4293 cmp r3, r2 + 8004a86: d111 bne.n 8004aac { tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - 8004104: 687b ldr r3, [r7, #4] - 8004106: 681b ldr r3, [r3, #0] - 8004108: 689b ldr r3, [r3, #8] - 800410a: f003 0307 and.w r3, r3, #7 - 800410e: 60fb str r3, [r7, #12] + 8004a88: 687b ldr r3, [r7, #4] + 8004a8a: 681b ldr r3, [r3, #0] + 8004a8c: 689b ldr r3, [r3, #8] + 8004a8e: f003 0307 and.w r3, r3, #7 + 8004a92: 60fb str r3, [r7, #12] if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) - 8004110: 68fb ldr r3, [r7, #12] - 8004112: 2b06 cmp r3, #6 - 8004114: d010 beq.n 8004138 + 8004a94: 68fb ldr r3, [r7, #12] + 8004a96: 2b06 cmp r3, #6 + 8004a98: d010 beq.n 8004abc { __HAL_TIM_ENABLE(htim); - 8004116: 687b ldr r3, [r7, #4] - 8004118: 681b ldr r3, [r3, #0] - 800411a: 681a ldr r2, [r3, #0] - 800411c: 687b ldr r3, [r7, #4] - 800411e: 681b ldr r3, [r3, #0] - 8004120: f042 0201 orr.w r2, r2, #1 - 8004124: 601a str r2, [r3, #0] + 8004a9a: 687b ldr r3, [r7, #4] + 8004a9c: 681b ldr r3, [r3, #0] + 8004a9e: 681a ldr r2, [r3, #0] + 8004aa0: 687b ldr r3, [r7, #4] + 8004aa2: 681b ldr r3, [r3, #0] + 8004aa4: f042 0201 orr.w r2, r2, #1 + 8004aa8: 601a str r2, [r3, #0] if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) - 8004126: e007 b.n 8004138 + 8004aaa: e007 b.n 8004abc } } else { __HAL_TIM_ENABLE(htim); - 8004128: 687b ldr r3, [r7, #4] - 800412a: 681b ldr r3, [r3, #0] - 800412c: 681a ldr r2, [r3, #0] - 800412e: 687b ldr r3, [r7, #4] - 8004130: 681b ldr r3, [r3, #0] - 8004132: f042 0201 orr.w r2, r2, #1 - 8004136: 601a str r2, [r3, #0] + 8004aac: 687b ldr r3, [r7, #4] + 8004aae: 681b ldr r3, [r3, #0] + 8004ab0: 681a ldr r2, [r3, #0] + 8004ab2: 687b ldr r3, [r7, #4] + 8004ab4: 681b ldr r3, [r3, #0] + 8004ab6: f042 0201 orr.w r2, r2, #1 + 8004aba: 601a str r2, [r3, #0] } /* Return function status */ return HAL_OK; - 8004138: 2300 movs r3, #0 + 8004abc: 2300 movs r3, #0 } - 800413a: 4618 mov r0, r3 - 800413c: 3714 adds r7, #20 - 800413e: 46bd mov sp, r7 - 8004140: f85d 7b04 ldr.w r7, [sp], #4 - 8004144: 4770 bx lr - 8004146: bf00 nop - 8004148: 40010000 .word 0x40010000 - 800414c: 40000400 .word 0x40000400 - 8004150: 40000800 .word 0x40000800 - 8004154: 40000c00 .word 0x40000c00 - 8004158: 40010400 .word 0x40010400 - 800415c: 40014000 .word 0x40014000 - 8004160: 40001800 .word 0x40001800 + 8004abe: 4618 mov r0, r3 + 8004ac0: 3714 adds r7, #20 + 8004ac2: 46bd mov sp, r7 + 8004ac4: f85d 7b04 ldr.w r7, [sp], #4 + 8004ac8: 4770 bx lr + 8004aca: bf00 nop + 8004acc: 40010000 .word 0x40010000 + 8004ad0: 40000400 .word 0x40000400 + 8004ad4: 40000800 .word 0x40000800 + 8004ad8: 40000c00 .word 0x40000c00 + 8004adc: 40010400 .word 0x40010400 + 8004ae0: 40014000 .word 0x40014000 + 8004ae4: 40001800 .word 0x40001800 -08004164 : +08004ae8 : * @brief This function handles TIM interrupts requests. * @param htim TIM handle * @retval None */ void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim) { - 8004164: b580 push {r7, lr} - 8004166: b082 sub sp, #8 - 8004168: af00 add r7, sp, #0 - 800416a: 6078 str r0, [r7, #4] + 8004ae8: b580 push {r7, lr} + 8004aea: b082 sub sp, #8 + 8004aec: af00 add r7, sp, #0 + 8004aee: 6078 str r0, [r7, #4] /* Capture compare 1 event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC1) != RESET) - 800416c: 687b ldr r3, [r7, #4] - 800416e: 681b ldr r3, [r3, #0] - 8004170: 691b ldr r3, [r3, #16] - 8004172: f003 0302 and.w r3, r3, #2 - 8004176: 2b02 cmp r3, #2 - 8004178: d122 bne.n 80041c0 + 8004af0: 687b ldr r3, [r7, #4] + 8004af2: 681b ldr r3, [r3, #0] + 8004af4: 691b ldr r3, [r3, #16] + 8004af6: f003 0302 and.w r3, r3, #2 + 8004afa: 2b02 cmp r3, #2 + 8004afc: d122 bne.n 8004b44 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC1) != RESET) - 800417a: 687b ldr r3, [r7, #4] - 800417c: 681b ldr r3, [r3, #0] - 800417e: 68db ldr r3, [r3, #12] - 8004180: f003 0302 and.w r3, r3, #2 - 8004184: 2b02 cmp r3, #2 - 8004186: d11b bne.n 80041c0 + 8004afe: 687b ldr r3, [r7, #4] + 8004b00: 681b ldr r3, [r3, #0] + 8004b02: 68db ldr r3, [r3, #12] + 8004b04: f003 0302 and.w r3, r3, #2 + 8004b08: 2b02 cmp r3, #2 + 8004b0a: d11b bne.n 8004b44 { { __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC1); - 8004188: 687b ldr r3, [r7, #4] - 800418a: 681b ldr r3, [r3, #0] - 800418c: f06f 0202 mvn.w r2, #2 - 8004190: 611a str r2, [r3, #16] + 8004b0c: 687b ldr r3, [r7, #4] + 8004b0e: 681b ldr r3, [r3, #0] + 8004b10: f06f 0202 mvn.w r2, #2 + 8004b14: 611a str r2, [r3, #16] htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; - 8004192: 687b ldr r3, [r7, #4] - 8004194: 2201 movs r2, #1 - 8004196: 771a strb r2, [r3, #28] + 8004b16: 687b ldr r3, [r7, #4] + 8004b18: 2201 movs r2, #1 + 8004b1a: 771a strb r2, [r3, #28] /* Input capture event */ if ((htim->Instance->CCMR1 & TIM_CCMR1_CC1S) != 0x00U) - 8004198: 687b ldr r3, [r7, #4] - 800419a: 681b ldr r3, [r3, #0] - 800419c: 699b ldr r3, [r3, #24] - 800419e: f003 0303 and.w r3, r3, #3 - 80041a2: 2b00 cmp r3, #0 - 80041a4: d003 beq.n 80041ae + 8004b1c: 687b ldr r3, [r7, #4] + 8004b1e: 681b ldr r3, [r3, #0] + 8004b20: 699b ldr r3, [r3, #24] + 8004b22: f003 0303 and.w r3, r3, #3 + 8004b26: 2b00 cmp r3, #0 + 8004b28: d003 beq.n 8004b32 { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->IC_CaptureCallback(htim); #else HAL_TIM_IC_CaptureCallback(htim); - 80041a6: 6878 ldr r0, [r7, #4] - 80041a8: f000 f9bf bl 800452a - 80041ac: e005 b.n 80041ba + 8004b2a: 6878 ldr r0, [r7, #4] + 8004b2c: f000 f9bf bl 8004eae + 8004b30: e005 b.n 8004b3e { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->OC_DelayElapsedCallback(htim); htim->PWM_PulseFinishedCallback(htim); #else HAL_TIM_OC_DelayElapsedCallback(htim); - 80041ae: 6878 ldr r0, [r7, #4] - 80041b0: f000 f9b1 bl 8004516 + 8004b32: 6878 ldr r0, [r7, #4] + 8004b34: f000 f9b1 bl 8004e9a HAL_TIM_PWM_PulseFinishedCallback(htim); - 80041b4: 6878 ldr r0, [r7, #4] - 80041b6: f000 f9c2 bl 800453e + 8004b38: 6878 ldr r0, [r7, #4] + 8004b3a: f000 f9c2 bl 8004ec2 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; - 80041ba: 687b ldr r3, [r7, #4] - 80041bc: 2200 movs r2, #0 - 80041be: 771a strb r2, [r3, #28] + 8004b3e: 687b ldr r3, [r7, #4] + 8004b40: 2200 movs r2, #0 + 8004b42: 771a strb r2, [r3, #28] } } } /* Capture compare 2 event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC2) != RESET) - 80041c0: 687b ldr r3, [r7, #4] - 80041c2: 681b ldr r3, [r3, #0] - 80041c4: 691b ldr r3, [r3, #16] - 80041c6: f003 0304 and.w r3, r3, #4 - 80041ca: 2b04 cmp r3, #4 - 80041cc: d122 bne.n 8004214 + 8004b44: 687b ldr r3, [r7, #4] + 8004b46: 681b ldr r3, [r3, #0] + 8004b48: 691b ldr r3, [r3, #16] + 8004b4a: f003 0304 and.w r3, r3, #4 + 8004b4e: 2b04 cmp r3, #4 + 8004b50: d122 bne.n 8004b98 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC2) != RESET) - 80041ce: 687b ldr r3, [r7, #4] - 80041d0: 681b ldr r3, [r3, #0] - 80041d2: 68db ldr r3, [r3, #12] - 80041d4: f003 0304 and.w r3, r3, #4 - 80041d8: 2b04 cmp r3, #4 - 80041da: d11b bne.n 8004214 + 8004b52: 687b ldr r3, [r7, #4] + 8004b54: 681b ldr r3, [r3, #0] + 8004b56: 68db ldr r3, [r3, #12] + 8004b58: f003 0304 and.w r3, r3, #4 + 8004b5c: 2b04 cmp r3, #4 + 8004b5e: d11b bne.n 8004b98 { __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC2); - 80041dc: 687b ldr r3, [r7, #4] - 80041de: 681b ldr r3, [r3, #0] - 80041e0: f06f 0204 mvn.w r2, #4 - 80041e4: 611a str r2, [r3, #16] + 8004b60: 687b ldr r3, [r7, #4] + 8004b62: 681b ldr r3, [r3, #0] + 8004b64: f06f 0204 mvn.w r2, #4 + 8004b68: 611a str r2, [r3, #16] htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; - 80041e6: 687b ldr r3, [r7, #4] - 80041e8: 2202 movs r2, #2 - 80041ea: 771a strb r2, [r3, #28] + 8004b6a: 687b ldr r3, [r7, #4] + 8004b6c: 2202 movs r2, #2 + 8004b6e: 771a strb r2, [r3, #28] /* Input capture event */ if ((htim->Instance->CCMR1 & TIM_CCMR1_CC2S) != 0x00U) - 80041ec: 687b ldr r3, [r7, #4] - 80041ee: 681b ldr r3, [r3, #0] - 80041f0: 699b ldr r3, [r3, #24] - 80041f2: f403 7340 and.w r3, r3, #768 @ 0x300 - 80041f6: 2b00 cmp r3, #0 - 80041f8: d003 beq.n 8004202 + 8004b70: 687b ldr r3, [r7, #4] + 8004b72: 681b ldr r3, [r3, #0] + 8004b74: 699b ldr r3, [r3, #24] + 8004b76: f403 7340 and.w r3, r3, #768 @ 0x300 + 8004b7a: 2b00 cmp r3, #0 + 8004b7c: d003 beq.n 8004b86 { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->IC_CaptureCallback(htim); #else HAL_TIM_IC_CaptureCallback(htim); - 80041fa: 6878 ldr r0, [r7, #4] - 80041fc: f000 f995 bl 800452a - 8004200: e005 b.n 800420e + 8004b7e: 6878 ldr r0, [r7, #4] + 8004b80: f000 f995 bl 8004eae + 8004b84: e005 b.n 8004b92 { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->OC_DelayElapsedCallback(htim); htim->PWM_PulseFinishedCallback(htim); #else HAL_TIM_OC_DelayElapsedCallback(htim); - 8004202: 6878 ldr r0, [r7, #4] - 8004204: f000 f987 bl 8004516 + 8004b86: 6878 ldr r0, [r7, #4] + 8004b88: f000 f987 bl 8004e9a HAL_TIM_PWM_PulseFinishedCallback(htim); - 8004208: 6878 ldr r0, [r7, #4] - 800420a: f000 f998 bl 800453e + 8004b8c: 6878 ldr r0, [r7, #4] + 8004b8e: f000 f998 bl 8004ec2 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; - 800420e: 687b ldr r3, [r7, #4] - 8004210: 2200 movs r2, #0 - 8004212: 771a strb r2, [r3, #28] + 8004b92: 687b ldr r3, [r7, #4] + 8004b94: 2200 movs r2, #0 + 8004b96: 771a strb r2, [r3, #28] } } /* Capture compare 3 event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC3) != RESET) - 8004214: 687b ldr r3, [r7, #4] - 8004216: 681b ldr r3, [r3, #0] - 8004218: 691b ldr r3, [r3, #16] - 800421a: f003 0308 and.w r3, r3, #8 - 800421e: 2b08 cmp r3, #8 - 8004220: d122 bne.n 8004268 + 8004b98: 687b ldr r3, [r7, #4] + 8004b9a: 681b ldr r3, [r3, #0] + 8004b9c: 691b ldr r3, [r3, #16] + 8004b9e: f003 0308 and.w r3, r3, #8 + 8004ba2: 2b08 cmp r3, #8 + 8004ba4: d122 bne.n 8004bec { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC3) != RESET) - 8004222: 687b ldr r3, [r7, #4] - 8004224: 681b ldr r3, [r3, #0] - 8004226: 68db ldr r3, [r3, #12] - 8004228: f003 0308 and.w r3, r3, #8 - 800422c: 2b08 cmp r3, #8 - 800422e: d11b bne.n 8004268 + 8004ba6: 687b ldr r3, [r7, #4] + 8004ba8: 681b ldr r3, [r3, #0] + 8004baa: 68db ldr r3, [r3, #12] + 8004bac: f003 0308 and.w r3, r3, #8 + 8004bb0: 2b08 cmp r3, #8 + 8004bb2: d11b bne.n 8004bec { __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC3); - 8004230: 687b ldr r3, [r7, #4] - 8004232: 681b ldr r3, [r3, #0] - 8004234: f06f 0208 mvn.w r2, #8 - 8004238: 611a str r2, [r3, #16] + 8004bb4: 687b ldr r3, [r7, #4] + 8004bb6: 681b ldr r3, [r3, #0] + 8004bb8: f06f 0208 mvn.w r2, #8 + 8004bbc: 611a str r2, [r3, #16] htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; - 800423a: 687b ldr r3, [r7, #4] - 800423c: 2204 movs r2, #4 - 800423e: 771a strb r2, [r3, #28] + 8004bbe: 687b ldr r3, [r7, #4] + 8004bc0: 2204 movs r2, #4 + 8004bc2: 771a strb r2, [r3, #28] /* Input capture event */ if ((htim->Instance->CCMR2 & TIM_CCMR2_CC3S) != 0x00U) - 8004240: 687b ldr r3, [r7, #4] - 8004242: 681b ldr r3, [r3, #0] - 8004244: 69db ldr r3, [r3, #28] - 8004246: f003 0303 and.w r3, r3, #3 - 800424a: 2b00 cmp r3, #0 - 800424c: d003 beq.n 8004256 + 8004bc4: 687b ldr r3, [r7, #4] + 8004bc6: 681b ldr r3, [r3, #0] + 8004bc8: 69db ldr r3, [r3, #28] + 8004bca: f003 0303 and.w r3, r3, #3 + 8004bce: 2b00 cmp r3, #0 + 8004bd0: d003 beq.n 8004bda { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->IC_CaptureCallback(htim); #else HAL_TIM_IC_CaptureCallback(htim); - 800424e: 6878 ldr r0, [r7, #4] - 8004250: f000 f96b bl 800452a - 8004254: e005 b.n 8004262 + 8004bd2: 6878 ldr r0, [r7, #4] + 8004bd4: f000 f96b bl 8004eae + 8004bd8: e005 b.n 8004be6 { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->OC_DelayElapsedCallback(htim); htim->PWM_PulseFinishedCallback(htim); #else HAL_TIM_OC_DelayElapsedCallback(htim); - 8004256: 6878 ldr r0, [r7, #4] - 8004258: f000 f95d bl 8004516 + 8004bda: 6878 ldr r0, [r7, #4] + 8004bdc: f000 f95d bl 8004e9a HAL_TIM_PWM_PulseFinishedCallback(htim); - 800425c: 6878 ldr r0, [r7, #4] - 800425e: f000 f96e bl 800453e + 8004be0: 6878 ldr r0, [r7, #4] + 8004be2: f000 f96e bl 8004ec2 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; - 8004262: 687b ldr r3, [r7, #4] - 8004264: 2200 movs r2, #0 - 8004266: 771a strb r2, [r3, #28] + 8004be6: 687b ldr r3, [r7, #4] + 8004be8: 2200 movs r2, #0 + 8004bea: 771a strb r2, [r3, #28] } } /* Capture compare 4 event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC4) != RESET) - 8004268: 687b ldr r3, [r7, #4] - 800426a: 681b ldr r3, [r3, #0] - 800426c: 691b ldr r3, [r3, #16] - 800426e: f003 0310 and.w r3, r3, #16 - 8004272: 2b10 cmp r3, #16 - 8004274: d122 bne.n 80042bc + 8004bec: 687b ldr r3, [r7, #4] + 8004bee: 681b ldr r3, [r3, #0] + 8004bf0: 691b ldr r3, [r3, #16] + 8004bf2: f003 0310 and.w r3, r3, #16 + 8004bf6: 2b10 cmp r3, #16 + 8004bf8: d122 bne.n 8004c40 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC4) != RESET) - 8004276: 687b ldr r3, [r7, #4] - 8004278: 681b ldr r3, [r3, #0] - 800427a: 68db ldr r3, [r3, #12] - 800427c: f003 0310 and.w r3, r3, #16 - 8004280: 2b10 cmp r3, #16 - 8004282: d11b bne.n 80042bc + 8004bfa: 687b ldr r3, [r7, #4] + 8004bfc: 681b ldr r3, [r3, #0] + 8004bfe: 68db ldr r3, [r3, #12] + 8004c00: f003 0310 and.w r3, r3, #16 + 8004c04: 2b10 cmp r3, #16 + 8004c06: d11b bne.n 8004c40 { __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC4); - 8004284: 687b ldr r3, [r7, #4] - 8004286: 681b ldr r3, [r3, #0] - 8004288: f06f 0210 mvn.w r2, #16 - 800428c: 611a str r2, [r3, #16] + 8004c08: 687b ldr r3, [r7, #4] + 8004c0a: 681b ldr r3, [r3, #0] + 8004c0c: f06f 0210 mvn.w r2, #16 + 8004c10: 611a str r2, [r3, #16] htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; - 800428e: 687b ldr r3, [r7, #4] - 8004290: 2208 movs r2, #8 - 8004292: 771a strb r2, [r3, #28] + 8004c12: 687b ldr r3, [r7, #4] + 8004c14: 2208 movs r2, #8 + 8004c16: 771a strb r2, [r3, #28] /* Input capture event */ if ((htim->Instance->CCMR2 & TIM_CCMR2_CC4S) != 0x00U) - 8004294: 687b ldr r3, [r7, #4] - 8004296: 681b ldr r3, [r3, #0] - 8004298: 69db ldr r3, [r3, #28] - 800429a: f403 7340 and.w r3, r3, #768 @ 0x300 - 800429e: 2b00 cmp r3, #0 - 80042a0: d003 beq.n 80042aa + 8004c18: 687b ldr r3, [r7, #4] + 8004c1a: 681b ldr r3, [r3, #0] + 8004c1c: 69db ldr r3, [r3, #28] + 8004c1e: f403 7340 and.w r3, r3, #768 @ 0x300 + 8004c22: 2b00 cmp r3, #0 + 8004c24: d003 beq.n 8004c2e { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->IC_CaptureCallback(htim); #else HAL_TIM_IC_CaptureCallback(htim); - 80042a2: 6878 ldr r0, [r7, #4] - 80042a4: f000 f941 bl 800452a - 80042a8: e005 b.n 80042b6 + 8004c26: 6878 ldr r0, [r7, #4] + 8004c28: f000 f941 bl 8004eae + 8004c2c: e005 b.n 8004c3a { #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->OC_DelayElapsedCallback(htim); htim->PWM_PulseFinishedCallback(htim); #else HAL_TIM_OC_DelayElapsedCallback(htim); - 80042aa: 6878 ldr r0, [r7, #4] - 80042ac: f000 f933 bl 8004516 + 8004c2e: 6878 ldr r0, [r7, #4] + 8004c30: f000 f933 bl 8004e9a HAL_TIM_PWM_PulseFinishedCallback(htim); - 80042b0: 6878 ldr r0, [r7, #4] - 80042b2: f000 f944 bl 800453e + 8004c34: 6878 ldr r0, [r7, #4] + 8004c36: f000 f944 bl 8004ec2 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; - 80042b6: 687b ldr r3, [r7, #4] - 80042b8: 2200 movs r2, #0 - 80042ba: 771a strb r2, [r3, #28] + 8004c3a: 687b ldr r3, [r7, #4] + 8004c3c: 2200 movs r2, #0 + 8004c3e: 771a strb r2, [r3, #28] } } /* TIM Update event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_UPDATE) != RESET) - 80042bc: 687b ldr r3, [r7, #4] - 80042be: 681b ldr r3, [r3, #0] - 80042c0: 691b ldr r3, [r3, #16] - 80042c2: f003 0301 and.w r3, r3, #1 - 80042c6: 2b01 cmp r3, #1 - 80042c8: d10e bne.n 80042e8 + 8004c40: 687b ldr r3, [r7, #4] + 8004c42: 681b ldr r3, [r3, #0] + 8004c44: 691b ldr r3, [r3, #16] + 8004c46: f003 0301 and.w r3, r3, #1 + 8004c4a: 2b01 cmp r3, #1 + 8004c4c: d10e bne.n 8004c6c { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_UPDATE) != RESET) - 80042ca: 687b ldr r3, [r7, #4] - 80042cc: 681b ldr r3, [r3, #0] - 80042ce: 68db ldr r3, [r3, #12] - 80042d0: f003 0301 and.w r3, r3, #1 - 80042d4: 2b01 cmp r3, #1 - 80042d6: d107 bne.n 80042e8 + 8004c4e: 687b ldr r3, [r7, #4] + 8004c50: 681b ldr r3, [r3, #0] + 8004c52: 68db ldr r3, [r3, #12] + 8004c54: f003 0301 and.w r3, r3, #1 + 8004c58: 2b01 cmp r3, #1 + 8004c5a: d107 bne.n 8004c6c { __HAL_TIM_CLEAR_IT(htim, TIM_IT_UPDATE); - 80042d8: 687b ldr r3, [r7, #4] - 80042da: 681b ldr r3, [r3, #0] - 80042dc: f06f 0201 mvn.w r2, #1 - 80042e0: 611a str r2, [r3, #16] + 8004c5c: 687b ldr r3, [r7, #4] + 8004c5e: 681b ldr r3, [r3, #0] + 8004c60: f06f 0201 mvn.w r2, #1 + 8004c64: 611a str r2, [r3, #16] #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->PeriodElapsedCallback(htim); #else HAL_TIM_PeriodElapsedCallback(htim); - 80042e2: 6878 ldr r0, [r7, #4] - 80042e4: f000 f90d bl 8004502 + 8004c66: 6878 ldr r0, [r7, #4] + 8004c68: f000 f90d bl 8004e86 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } } /* TIM Break input event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_BREAK) != RESET) - 80042e8: 687b ldr r3, [r7, #4] - 80042ea: 681b ldr r3, [r3, #0] - 80042ec: 691b ldr r3, [r3, #16] - 80042ee: f003 0380 and.w r3, r3, #128 @ 0x80 - 80042f2: 2b80 cmp r3, #128 @ 0x80 - 80042f4: d10e bne.n 8004314 + 8004c6c: 687b ldr r3, [r7, #4] + 8004c6e: 681b ldr r3, [r3, #0] + 8004c70: 691b ldr r3, [r3, #16] + 8004c72: f003 0380 and.w r3, r3, #128 @ 0x80 + 8004c76: 2b80 cmp r3, #128 @ 0x80 + 8004c78: d10e bne.n 8004c98 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_BREAK) != RESET) - 80042f6: 687b ldr r3, [r7, #4] - 80042f8: 681b ldr r3, [r3, #0] - 80042fa: 68db ldr r3, [r3, #12] - 80042fc: f003 0380 and.w r3, r3, #128 @ 0x80 - 8004300: 2b80 cmp r3, #128 @ 0x80 - 8004302: d107 bne.n 8004314 + 8004c7a: 687b ldr r3, [r7, #4] + 8004c7c: 681b ldr r3, [r3, #0] + 8004c7e: 68db ldr r3, [r3, #12] + 8004c80: f003 0380 and.w r3, r3, #128 @ 0x80 + 8004c84: 2b80 cmp r3, #128 @ 0x80 + 8004c86: d107 bne.n 8004c98 { __HAL_TIM_CLEAR_IT(htim, TIM_IT_BREAK); - 8004304: 687b ldr r3, [r7, #4] - 8004306: 681b ldr r3, [r3, #0] - 8004308: f06f 0280 mvn.w r2, #128 @ 0x80 - 800430c: 611a str r2, [r3, #16] + 8004c88: 687b ldr r3, [r7, #4] + 8004c8a: 681b ldr r3, [r3, #0] + 8004c8c: f06f 0280 mvn.w r2, #128 @ 0x80 + 8004c90: 611a str r2, [r3, #16] #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->BreakCallback(htim); #else HAL_TIMEx_BreakCallback(htim); - 800430e: 6878 ldr r0, [r7, #4] - 8004310: f000 faea bl 80048e8 + 8004c92: 6878 ldr r0, [r7, #4] + 8004c94: f000 faea bl 800526c #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } } /* TIM Trigger detection event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_TRIGGER) != RESET) - 8004314: 687b ldr r3, [r7, #4] - 8004316: 681b ldr r3, [r3, #0] - 8004318: 691b ldr r3, [r3, #16] - 800431a: f003 0340 and.w r3, r3, #64 @ 0x40 - 800431e: 2b40 cmp r3, #64 @ 0x40 - 8004320: d10e bne.n 8004340 + 8004c98: 687b ldr r3, [r7, #4] + 8004c9a: 681b ldr r3, [r3, #0] + 8004c9c: 691b ldr r3, [r3, #16] + 8004c9e: f003 0340 and.w r3, r3, #64 @ 0x40 + 8004ca2: 2b40 cmp r3, #64 @ 0x40 + 8004ca4: d10e bne.n 8004cc4 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_TRIGGER) != RESET) - 8004322: 687b ldr r3, [r7, #4] - 8004324: 681b ldr r3, [r3, #0] - 8004326: 68db ldr r3, [r3, #12] - 8004328: f003 0340 and.w r3, r3, #64 @ 0x40 - 800432c: 2b40 cmp r3, #64 @ 0x40 - 800432e: d107 bne.n 8004340 + 8004ca6: 687b ldr r3, [r7, #4] + 8004ca8: 681b ldr r3, [r3, #0] + 8004caa: 68db ldr r3, [r3, #12] + 8004cac: f003 0340 and.w r3, r3, #64 @ 0x40 + 8004cb0: 2b40 cmp r3, #64 @ 0x40 + 8004cb2: d107 bne.n 8004cc4 { __HAL_TIM_CLEAR_IT(htim, TIM_IT_TRIGGER); - 8004330: 687b ldr r3, [r7, #4] - 8004332: 681b ldr r3, [r3, #0] - 8004334: f06f 0240 mvn.w r2, #64 @ 0x40 - 8004338: 611a str r2, [r3, #16] + 8004cb4: 687b ldr r3, [r7, #4] + 8004cb6: 681b ldr r3, [r3, #0] + 8004cb8: f06f 0240 mvn.w r2, #64 @ 0x40 + 8004cbc: 611a str r2, [r3, #16] #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->TriggerCallback(htim); #else HAL_TIM_TriggerCallback(htim); - 800433a: 6878 ldr r0, [r7, #4] - 800433c: f000 f909 bl 8004552 + 8004cbe: 6878 ldr r0, [r7, #4] + 8004cc0: f000 f909 bl 8004ed6 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } } /* TIM commutation event */ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_COM) != RESET) - 8004340: 687b ldr r3, [r7, #4] - 8004342: 681b ldr r3, [r3, #0] - 8004344: 691b ldr r3, [r3, #16] - 8004346: f003 0320 and.w r3, r3, #32 - 800434a: 2b20 cmp r3, #32 - 800434c: d10e bne.n 800436c + 8004cc4: 687b ldr r3, [r7, #4] + 8004cc6: 681b ldr r3, [r3, #0] + 8004cc8: 691b ldr r3, [r3, #16] + 8004cca: f003 0320 and.w r3, r3, #32 + 8004cce: 2b20 cmp r3, #32 + 8004cd0: d10e bne.n 8004cf0 { if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_COM) != RESET) - 800434e: 687b ldr r3, [r7, #4] - 8004350: 681b ldr r3, [r3, #0] - 8004352: 68db ldr r3, [r3, #12] - 8004354: f003 0320 and.w r3, r3, #32 - 8004358: 2b20 cmp r3, #32 - 800435a: d107 bne.n 800436c + 8004cd2: 687b ldr r3, [r7, #4] + 8004cd4: 681b ldr r3, [r3, #0] + 8004cd6: 68db ldr r3, [r3, #12] + 8004cd8: f003 0320 and.w r3, r3, #32 + 8004cdc: 2b20 cmp r3, #32 + 8004cde: d107 bne.n 8004cf0 { __HAL_TIM_CLEAR_IT(htim, TIM_FLAG_COM); - 800435c: 687b ldr r3, [r7, #4] - 800435e: 681b ldr r3, [r3, #0] - 8004360: f06f 0220 mvn.w r2, #32 - 8004364: 611a str r2, [r3, #16] + 8004ce0: 687b ldr r3, [r7, #4] + 8004ce2: 681b ldr r3, [r3, #0] + 8004ce4: f06f 0220 mvn.w r2, #32 + 8004ce8: 611a str r2, [r3, #16] #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) htim->CommutationCallback(htim); #else HAL_TIMEx_CommutCallback(htim); - 8004366: 6878 ldr r0, [r7, #4] - 8004368: f000 fab4 bl 80048d4 + 8004cea: 6878 ldr r0, [r7, #4] + 8004cec: f000 fab4 bl 8005258 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } } } - 800436c: bf00 nop - 800436e: 3708 adds r7, #8 - 8004370: 46bd mov sp, r7 - 8004372: bd80 pop {r7, pc} + 8004cf0: bf00 nop + 8004cf2: 3708 adds r7, #8 + 8004cf4: 46bd mov sp, r7 + 8004cf6: bd80 pop {r7, pc} -08004374 : +08004cf8 : * @param sClockSourceConfig pointer to a TIM_ClockConfigTypeDef structure that * contains the clock source information for the TIM peripheral. * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, TIM_ClockConfigTypeDef *sClockSourceConfig) { - 8004374: b580 push {r7, lr} - 8004376: b084 sub sp, #16 - 8004378: af00 add r7, sp, #0 - 800437a: 6078 str r0, [r7, #4] - 800437c: 6039 str r1, [r7, #0] + 8004cf8: b580 push {r7, lr} + 8004cfa: b084 sub sp, #16 + 8004cfc: af00 add r7, sp, #0 + 8004cfe: 6078 str r0, [r7, #4] + 8004d00: 6039 str r1, [r7, #0] HAL_StatusTypeDef status = HAL_OK; - 800437e: 2300 movs r3, #0 - 8004380: 73fb strb r3, [r7, #15] + 8004d02: 2300 movs r3, #0 + 8004d04: 73fb strb r3, [r7, #15] uint32_t tmpsmcr; /* Process Locked */ __HAL_LOCK(htim); - 8004382: 687b ldr r3, [r7, #4] - 8004384: f893 303c ldrb.w r3, [r3, #60] @ 0x3c - 8004388: 2b01 cmp r3, #1 - 800438a: d101 bne.n 8004390 - 800438c: 2302 movs r3, #2 - 800438e: e0b4 b.n 80044fa - 8004390: 687b ldr r3, [r7, #4] - 8004392: 2201 movs r2, #1 - 8004394: f883 203c strb.w r2, [r3, #60] @ 0x3c + 8004d06: 687b ldr r3, [r7, #4] + 8004d08: f893 303c ldrb.w r3, [r3, #60] @ 0x3c + 8004d0c: 2b01 cmp r3, #1 + 8004d0e: d101 bne.n 8004d14 + 8004d10: 2302 movs r3, #2 + 8004d12: e0b4 b.n 8004e7e + 8004d14: 687b ldr r3, [r7, #4] + 8004d16: 2201 movs r2, #1 + 8004d18: f883 203c strb.w r2, [r3, #60] @ 0x3c htim->State = HAL_TIM_STATE_BUSY; - 8004398: 687b ldr r3, [r7, #4] - 800439a: 2202 movs r2, #2 - 800439c: f883 203d strb.w r2, [r3, #61] @ 0x3d + 8004d1c: 687b ldr r3, [r7, #4] + 8004d1e: 2202 movs r2, #2 + 8004d20: f883 203d strb.w r2, [r3, #61] @ 0x3d /* Check the parameters */ assert_param(IS_TIM_CLOCKSOURCE(sClockSourceConfig->ClockSource)); /* Reset the SMS, TS, ECE, ETPS and ETRF bits */ tmpsmcr = htim->Instance->SMCR; - 80043a0: 687b ldr r3, [r7, #4] - 80043a2: 681b ldr r3, [r3, #0] - 80043a4: 689b ldr r3, [r3, #8] - 80043a6: 60bb str r3, [r7, #8] + 8004d24: 687b ldr r3, [r7, #4] + 8004d26: 681b ldr r3, [r3, #0] + 8004d28: 689b ldr r3, [r3, #8] + 8004d2a: 60bb str r3, [r7, #8] tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); - 80043a8: 68bb ldr r3, [r7, #8] - 80043aa: f023 0377 bic.w r3, r3, #119 @ 0x77 - 80043ae: 60bb str r3, [r7, #8] + 8004d2c: 68bb ldr r3, [r7, #8] + 8004d2e: f023 0377 bic.w r3, r3, #119 @ 0x77 + 8004d32: 60bb str r3, [r7, #8] tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); - 80043b0: 68bb ldr r3, [r7, #8] - 80043b2: f423 437f bic.w r3, r3, #65280 @ 0xff00 - 80043b6: 60bb str r3, [r7, #8] + 8004d34: 68bb ldr r3, [r7, #8] + 8004d36: f423 437f bic.w r3, r3, #65280 @ 0xff00 + 8004d3a: 60bb str r3, [r7, #8] htim->Instance->SMCR = tmpsmcr; - 80043b8: 687b ldr r3, [r7, #4] - 80043ba: 681b ldr r3, [r3, #0] - 80043bc: 68ba ldr r2, [r7, #8] - 80043be: 609a str r2, [r3, #8] + 8004d3c: 687b ldr r3, [r7, #4] + 8004d3e: 681b ldr r3, [r3, #0] + 8004d40: 68ba ldr r2, [r7, #8] + 8004d42: 609a str r2, [r3, #8] switch (sClockSourceConfig->ClockSource) - 80043c0: 683b ldr r3, [r7, #0] - 80043c2: 681b ldr r3, [r3, #0] - 80043c4: f5b3 5f00 cmp.w r3, #8192 @ 0x2000 - 80043c8: d03e beq.n 8004448 - 80043ca: f5b3 5f00 cmp.w r3, #8192 @ 0x2000 - 80043ce: f200 8087 bhi.w 80044e0 - 80043d2: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 - 80043d6: f000 8086 beq.w 80044e6 - 80043da: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 - 80043de: d87f bhi.n 80044e0 - 80043e0: 2b70 cmp r3, #112 @ 0x70 - 80043e2: d01a beq.n 800441a - 80043e4: 2b70 cmp r3, #112 @ 0x70 - 80043e6: d87b bhi.n 80044e0 - 80043e8: 2b60 cmp r3, #96 @ 0x60 - 80043ea: d050 beq.n 800448e - 80043ec: 2b60 cmp r3, #96 @ 0x60 - 80043ee: d877 bhi.n 80044e0 - 80043f0: 2b50 cmp r3, #80 @ 0x50 - 80043f2: d03c beq.n 800446e - 80043f4: 2b50 cmp r3, #80 @ 0x50 - 80043f6: d873 bhi.n 80044e0 - 80043f8: 2b40 cmp r3, #64 @ 0x40 - 80043fa: d058 beq.n 80044ae - 80043fc: 2b40 cmp r3, #64 @ 0x40 - 80043fe: d86f bhi.n 80044e0 - 8004400: 2b30 cmp r3, #48 @ 0x30 - 8004402: d064 beq.n 80044ce - 8004404: 2b30 cmp r3, #48 @ 0x30 - 8004406: d86b bhi.n 80044e0 - 8004408: 2b20 cmp r3, #32 - 800440a: d060 beq.n 80044ce - 800440c: 2b20 cmp r3, #32 - 800440e: d867 bhi.n 80044e0 - 8004410: 2b00 cmp r3, #0 - 8004412: d05c beq.n 80044ce - 8004414: 2b10 cmp r3, #16 - 8004416: d05a beq.n 80044ce - 8004418: e062 b.n 80044e0 + 8004d44: 683b ldr r3, [r7, #0] + 8004d46: 681b ldr r3, [r3, #0] + 8004d48: f5b3 5f00 cmp.w r3, #8192 @ 0x2000 + 8004d4c: d03e beq.n 8004dcc + 8004d4e: f5b3 5f00 cmp.w r3, #8192 @ 0x2000 + 8004d52: f200 8087 bhi.w 8004e64 + 8004d56: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 + 8004d5a: f000 8086 beq.w 8004e6a + 8004d5e: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 + 8004d62: d87f bhi.n 8004e64 + 8004d64: 2b70 cmp r3, #112 @ 0x70 + 8004d66: d01a beq.n 8004d9e + 8004d68: 2b70 cmp r3, #112 @ 0x70 + 8004d6a: d87b bhi.n 8004e64 + 8004d6c: 2b60 cmp r3, #96 @ 0x60 + 8004d6e: d050 beq.n 8004e12 + 8004d70: 2b60 cmp r3, #96 @ 0x60 + 8004d72: d877 bhi.n 8004e64 + 8004d74: 2b50 cmp r3, #80 @ 0x50 + 8004d76: d03c beq.n 8004df2 + 8004d78: 2b50 cmp r3, #80 @ 0x50 + 8004d7a: d873 bhi.n 8004e64 + 8004d7c: 2b40 cmp r3, #64 @ 0x40 + 8004d7e: d058 beq.n 8004e32 + 8004d80: 2b40 cmp r3, #64 @ 0x40 + 8004d82: d86f bhi.n 8004e64 + 8004d84: 2b30 cmp r3, #48 @ 0x30 + 8004d86: d064 beq.n 8004e52 + 8004d88: 2b30 cmp r3, #48 @ 0x30 + 8004d8a: d86b bhi.n 8004e64 + 8004d8c: 2b20 cmp r3, #32 + 8004d8e: d060 beq.n 8004e52 + 8004d90: 2b20 cmp r3, #32 + 8004d92: d867 bhi.n 8004e64 + 8004d94: 2b00 cmp r3, #0 + 8004d96: d05c beq.n 8004e52 + 8004d98: 2b10 cmp r3, #16 + 8004d9a: d05a beq.n 8004e52 + 8004d9c: e062 b.n 8004e64 assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); /* Configure the ETR Clock source */ TIM_ETR_SetConfig(htim->Instance, - 800441a: 687b ldr r3, [r7, #4] - 800441c: 6818 ldr r0, [r3, #0] - 800441e: 683b ldr r3, [r7, #0] - 8004420: 6899 ldr r1, [r3, #8] - 8004422: 683b ldr r3, [r7, #0] - 8004424: 685a ldr r2, [r3, #4] - 8004426: 683b ldr r3, [r7, #0] - 8004428: 68db ldr r3, [r3, #12] - 800442a: f000 f9b7 bl 800479c + 8004d9e: 687b ldr r3, [r7, #4] + 8004da0: 6818 ldr r0, [r3, #0] + 8004da2: 683b ldr r3, [r7, #0] + 8004da4: 6899 ldr r1, [r3, #8] + 8004da6: 683b ldr r3, [r7, #0] + 8004da8: 685a ldr r2, [r3, #4] + 8004daa: 683b ldr r3, [r7, #0] + 8004dac: 68db ldr r3, [r3, #12] + 8004dae: f000 f9b7 bl 8005120 sClockSourceConfig->ClockPrescaler, sClockSourceConfig->ClockPolarity, sClockSourceConfig->ClockFilter); /* Select the External clock mode1 and the ETRF trigger */ tmpsmcr = htim->Instance->SMCR; - 800442e: 687b ldr r3, [r7, #4] - 8004430: 681b ldr r3, [r3, #0] - 8004432: 689b ldr r3, [r3, #8] - 8004434: 60bb str r3, [r7, #8] + 8004db2: 687b ldr r3, [r7, #4] + 8004db4: 681b ldr r3, [r3, #0] + 8004db6: 689b ldr r3, [r3, #8] + 8004db8: 60bb str r3, [r7, #8] tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); - 8004436: 68bb ldr r3, [r7, #8] - 8004438: f043 0377 orr.w r3, r3, #119 @ 0x77 - 800443c: 60bb str r3, [r7, #8] + 8004dba: 68bb ldr r3, [r7, #8] + 8004dbc: f043 0377 orr.w r3, r3, #119 @ 0x77 + 8004dc0: 60bb str r3, [r7, #8] /* Write to TIMx SMCR */ htim->Instance->SMCR = tmpsmcr; - 800443e: 687b ldr r3, [r7, #4] - 8004440: 681b ldr r3, [r3, #0] - 8004442: 68ba ldr r2, [r7, #8] - 8004444: 609a str r2, [r3, #8] + 8004dc2: 687b ldr r3, [r7, #4] + 8004dc4: 681b ldr r3, [r3, #0] + 8004dc6: 68ba ldr r2, [r7, #8] + 8004dc8: 609a str r2, [r3, #8] break; - 8004446: e04f b.n 80044e8 + 8004dca: e04f b.n 8004e6c assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); /* Configure the ETR Clock source */ TIM_ETR_SetConfig(htim->Instance, - 8004448: 687b ldr r3, [r7, #4] - 800444a: 6818 ldr r0, [r3, #0] - 800444c: 683b ldr r3, [r7, #0] - 800444e: 6899 ldr r1, [r3, #8] - 8004450: 683b ldr r3, [r7, #0] - 8004452: 685a ldr r2, [r3, #4] - 8004454: 683b ldr r3, [r7, #0] - 8004456: 68db ldr r3, [r3, #12] - 8004458: f000 f9a0 bl 800479c + 8004dcc: 687b ldr r3, [r7, #4] + 8004dce: 6818 ldr r0, [r3, #0] + 8004dd0: 683b ldr r3, [r7, #0] + 8004dd2: 6899 ldr r1, [r3, #8] + 8004dd4: 683b ldr r3, [r7, #0] + 8004dd6: 685a ldr r2, [r3, #4] + 8004dd8: 683b ldr r3, [r7, #0] + 8004dda: 68db ldr r3, [r3, #12] + 8004ddc: f000 f9a0 bl 8005120 sClockSourceConfig->ClockPrescaler, sClockSourceConfig->ClockPolarity, sClockSourceConfig->ClockFilter); /* Enable the External clock mode2 */ htim->Instance->SMCR |= TIM_SMCR_ECE; - 800445c: 687b ldr r3, [r7, #4] - 800445e: 681b ldr r3, [r3, #0] - 8004460: 689a ldr r2, [r3, #8] - 8004462: 687b ldr r3, [r7, #4] - 8004464: 681b ldr r3, [r3, #0] - 8004466: f442 4280 orr.w r2, r2, #16384 @ 0x4000 - 800446a: 609a str r2, [r3, #8] + 8004de0: 687b ldr r3, [r7, #4] + 8004de2: 681b ldr r3, [r3, #0] + 8004de4: 689a ldr r2, [r3, #8] + 8004de6: 687b ldr r3, [r7, #4] + 8004de8: 681b ldr r3, [r3, #0] + 8004dea: f442 4280 orr.w r2, r2, #16384 @ 0x4000 + 8004dee: 609a str r2, [r3, #8] break; - 800446c: e03c b.n 80044e8 + 8004df0: e03c b.n 8004e6c /* Check TI1 input conditioning related parameters */ assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); TIM_TI1_ConfigInputStage(htim->Instance, - 800446e: 687b ldr r3, [r7, #4] - 8004470: 6818 ldr r0, [r3, #0] - 8004472: 683b ldr r3, [r7, #0] - 8004474: 6859 ldr r1, [r3, #4] - 8004476: 683b ldr r3, [r7, #0] - 8004478: 68db ldr r3, [r3, #12] - 800447a: 461a mov r2, r3 - 800447c: f000 f914 bl 80046a8 + 8004df2: 687b ldr r3, [r7, #4] + 8004df4: 6818 ldr r0, [r3, #0] + 8004df6: 683b ldr r3, [r7, #0] + 8004df8: 6859 ldr r1, [r3, #4] + 8004dfa: 683b ldr r3, [r7, #0] + 8004dfc: 68db ldr r3, [r3, #12] + 8004dfe: 461a mov r2, r3 + 8004e00: f000 f914 bl 800502c sClockSourceConfig->ClockPolarity, sClockSourceConfig->ClockFilter); TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1); - 8004480: 687b ldr r3, [r7, #4] - 8004482: 681b ldr r3, [r3, #0] - 8004484: 2150 movs r1, #80 @ 0x50 - 8004486: 4618 mov r0, r3 - 8004488: f000 f96d bl 8004766 + 8004e04: 687b ldr r3, [r7, #4] + 8004e06: 681b ldr r3, [r3, #0] + 8004e08: 2150 movs r1, #80 @ 0x50 + 8004e0a: 4618 mov r0, r3 + 8004e0c: f000 f96d bl 80050ea break; - 800448c: e02c b.n 80044e8 + 8004e10: e02c b.n 8004e6c /* Check TI2 input conditioning related parameters */ assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); TIM_TI2_ConfigInputStage(htim->Instance, - 800448e: 687b ldr r3, [r7, #4] - 8004490: 6818 ldr r0, [r3, #0] - 8004492: 683b ldr r3, [r7, #0] - 8004494: 6859 ldr r1, [r3, #4] - 8004496: 683b ldr r3, [r7, #0] - 8004498: 68db ldr r3, [r3, #12] - 800449a: 461a mov r2, r3 - 800449c: f000 f933 bl 8004706 + 8004e12: 687b ldr r3, [r7, #4] + 8004e14: 6818 ldr r0, [r3, #0] + 8004e16: 683b ldr r3, [r7, #0] + 8004e18: 6859 ldr r1, [r3, #4] + 8004e1a: 683b ldr r3, [r7, #0] + 8004e1c: 68db ldr r3, [r3, #12] + 8004e1e: 461a mov r2, r3 + 8004e20: f000 f933 bl 800508a sClockSourceConfig->ClockPolarity, sClockSourceConfig->ClockFilter); TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI2); - 80044a0: 687b ldr r3, [r7, #4] - 80044a2: 681b ldr r3, [r3, #0] - 80044a4: 2160 movs r1, #96 @ 0x60 - 80044a6: 4618 mov r0, r3 - 80044a8: f000 f95d bl 8004766 + 8004e24: 687b ldr r3, [r7, #4] + 8004e26: 681b ldr r3, [r3, #0] + 8004e28: 2160 movs r1, #96 @ 0x60 + 8004e2a: 4618 mov r0, r3 + 8004e2c: f000 f95d bl 80050ea break; - 80044ac: e01c b.n 80044e8 + 8004e30: e01c b.n 8004e6c /* Check TI1 input conditioning related parameters */ assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); TIM_TI1_ConfigInputStage(htim->Instance, - 80044ae: 687b ldr r3, [r7, #4] - 80044b0: 6818 ldr r0, [r3, #0] - 80044b2: 683b ldr r3, [r7, #0] - 80044b4: 6859 ldr r1, [r3, #4] - 80044b6: 683b ldr r3, [r7, #0] - 80044b8: 68db ldr r3, [r3, #12] - 80044ba: 461a mov r2, r3 - 80044bc: f000 f8f4 bl 80046a8 + 8004e32: 687b ldr r3, [r7, #4] + 8004e34: 6818 ldr r0, [r3, #0] + 8004e36: 683b ldr r3, [r7, #0] + 8004e38: 6859 ldr r1, [r3, #4] + 8004e3a: 683b ldr r3, [r7, #0] + 8004e3c: 68db ldr r3, [r3, #12] + 8004e3e: 461a mov r2, r3 + 8004e40: f000 f8f4 bl 800502c sClockSourceConfig->ClockPolarity, sClockSourceConfig->ClockFilter); TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1ED); - 80044c0: 687b ldr r3, [r7, #4] - 80044c2: 681b ldr r3, [r3, #0] - 80044c4: 2140 movs r1, #64 @ 0x40 - 80044c6: 4618 mov r0, r3 - 80044c8: f000 f94d bl 8004766 + 8004e44: 687b ldr r3, [r7, #4] + 8004e46: 681b ldr r3, [r3, #0] + 8004e48: 2140 movs r1, #64 @ 0x40 + 8004e4a: 4618 mov r0, r3 + 8004e4c: f000 f94d bl 80050ea break; - 80044cc: e00c b.n 80044e8 + 8004e50: e00c b.n 8004e6c case TIM_CLOCKSOURCE_ITR3: { /* Check whether or not the timer instance supports internal trigger input */ assert_param(IS_TIM_CLOCKSOURCE_ITRX_INSTANCE(htim->Instance)); TIM_ITRx_SetConfig(htim->Instance, sClockSourceConfig->ClockSource); - 80044ce: 687b ldr r3, [r7, #4] - 80044d0: 681a ldr r2, [r3, #0] - 80044d2: 683b ldr r3, [r7, #0] - 80044d4: 681b ldr r3, [r3, #0] - 80044d6: 4619 mov r1, r3 - 80044d8: 4610 mov r0, r2 - 80044da: f000 f944 bl 8004766 + 8004e52: 687b ldr r3, [r7, #4] + 8004e54: 681a ldr r2, [r3, #0] + 8004e56: 683b ldr r3, [r7, #0] + 8004e58: 681b ldr r3, [r3, #0] + 8004e5a: 4619 mov r1, r3 + 8004e5c: 4610 mov r0, r2 + 8004e5e: f000 f944 bl 80050ea break; - 80044de: e003 b.n 80044e8 + 8004e62: e003 b.n 8004e6c } default: status = HAL_ERROR; - 80044e0: 2301 movs r3, #1 - 80044e2: 73fb strb r3, [r7, #15] + 8004e64: 2301 movs r3, #1 + 8004e66: 73fb strb r3, [r7, #15] break; - 80044e4: e000 b.n 80044e8 + 8004e68: e000 b.n 8004e6c break; - 80044e6: bf00 nop + 8004e6a: bf00 nop } htim->State = HAL_TIM_STATE_READY; - 80044e8: 687b ldr r3, [r7, #4] - 80044ea: 2201 movs r2, #1 - 80044ec: f883 203d strb.w r2, [r3, #61] @ 0x3d + 8004e6c: 687b ldr r3, [r7, #4] + 8004e6e: 2201 movs r2, #1 + 8004e70: f883 203d strb.w r2, [r3, #61] @ 0x3d __HAL_UNLOCK(htim); - 80044f0: 687b ldr r3, [r7, #4] - 80044f2: 2200 movs r2, #0 - 80044f4: f883 203c strb.w r2, [r3, #60] @ 0x3c + 8004e74: 687b ldr r3, [r7, #4] + 8004e76: 2200 movs r2, #0 + 8004e78: f883 203c strb.w r2, [r3, #60] @ 0x3c return status; - 80044f8: 7bfb ldrb r3, [r7, #15] + 8004e7c: 7bfb ldrb r3, [r7, #15] } - 80044fa: 4618 mov r0, r3 - 80044fc: 3710 adds r7, #16 - 80044fe: 46bd mov sp, r7 - 8004500: bd80 pop {r7, pc} + 8004e7e: 4618 mov r0, r3 + 8004e80: 3710 adds r7, #16 + 8004e82: 46bd mov sp, r7 + 8004e84: bd80 pop {r7, pc} -08004502 : +08004e86 : * @brief Period elapsed callback in non-blocking mode * @param htim TIM handle * @retval None */ __weak void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) { - 8004502: b480 push {r7} - 8004504: b083 sub sp, #12 - 8004506: af00 add r7, sp, #0 - 8004508: 6078 str r0, [r7, #4] + 8004e86: b480 push {r7} + 8004e88: b083 sub sp, #12 + 8004e8a: af00 add r7, sp, #0 + 8004e8c: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIM_PeriodElapsedCallback could be implemented in the user file */ } - 800450a: bf00 nop - 800450c: 370c adds r7, #12 - 800450e: 46bd mov sp, r7 - 8004510: f85d 7b04 ldr.w r7, [sp], #4 - 8004514: 4770 bx lr + 8004e8e: bf00 nop + 8004e90: 370c adds r7, #12 + 8004e92: 46bd mov sp, r7 + 8004e94: f85d 7b04 ldr.w r7, [sp], #4 + 8004e98: 4770 bx lr -08004516 : +08004e9a : * @brief Output Compare callback in non-blocking mode * @param htim TIM OC handle * @retval None */ __weak void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim) { - 8004516: b480 push {r7} - 8004518: b083 sub sp, #12 - 800451a: af00 add r7, sp, #0 - 800451c: 6078 str r0, [r7, #4] + 8004e9a: b480 push {r7} + 8004e9c: b083 sub sp, #12 + 8004e9e: af00 add r7, sp, #0 + 8004ea0: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIM_OC_DelayElapsedCallback could be implemented in the user file */ } - 800451e: bf00 nop - 8004520: 370c adds r7, #12 - 8004522: 46bd mov sp, r7 - 8004524: f85d 7b04 ldr.w r7, [sp], #4 - 8004528: 4770 bx lr + 8004ea2: bf00 nop + 8004ea4: 370c adds r7, #12 + 8004ea6: 46bd mov sp, r7 + 8004ea8: f85d 7b04 ldr.w r7, [sp], #4 + 8004eac: 4770 bx lr -0800452a : +08004eae : * @brief Input Capture callback in non-blocking mode * @param htim TIM IC handle * @retval None */ __weak void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim) { - 800452a: b480 push {r7} - 800452c: b083 sub sp, #12 - 800452e: af00 add r7, sp, #0 - 8004530: 6078 str r0, [r7, #4] + 8004eae: b480 push {r7} + 8004eb0: b083 sub sp, #12 + 8004eb2: af00 add r7, sp, #0 + 8004eb4: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIM_IC_CaptureCallback could be implemented in the user file */ } - 8004532: bf00 nop - 8004534: 370c adds r7, #12 - 8004536: 46bd mov sp, r7 - 8004538: f85d 7b04 ldr.w r7, [sp], #4 - 800453c: 4770 bx lr + 8004eb6: bf00 nop + 8004eb8: 370c adds r7, #12 + 8004eba: 46bd mov sp, r7 + 8004ebc: f85d 7b04 ldr.w r7, [sp], #4 + 8004ec0: 4770 bx lr -0800453e : +08004ec2 : * @brief PWM Pulse finished callback in non-blocking mode * @param htim TIM handle * @retval None */ __weak void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) { - 800453e: b480 push {r7} - 8004540: b083 sub sp, #12 - 8004542: af00 add r7, sp, #0 - 8004544: 6078 str r0, [r7, #4] + 8004ec2: b480 push {r7} + 8004ec4: b083 sub sp, #12 + 8004ec6: af00 add r7, sp, #0 + 8004ec8: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIM_PWM_PulseFinishedCallback could be implemented in the user file */ } - 8004546: bf00 nop - 8004548: 370c adds r7, #12 - 800454a: 46bd mov sp, r7 - 800454c: f85d 7b04 ldr.w r7, [sp], #4 - 8004550: 4770 bx lr + 8004eca: bf00 nop + 8004ecc: 370c adds r7, #12 + 8004ece: 46bd mov sp, r7 + 8004ed0: f85d 7b04 ldr.w r7, [sp], #4 + 8004ed4: 4770 bx lr -08004552 : +08004ed6 : * @brief Hall Trigger detection callback in non-blocking mode * @param htim TIM handle * @retval None */ __weak void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim) { - 8004552: b480 push {r7} - 8004554: b083 sub sp, #12 - 8004556: af00 add r7, sp, #0 - 8004558: 6078 str r0, [r7, #4] + 8004ed6: b480 push {r7} + 8004ed8: b083 sub sp, #12 + 8004eda: af00 add r7, sp, #0 + 8004edc: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIM_TriggerCallback could be implemented in the user file */ } - 800455a: bf00 nop - 800455c: 370c adds r7, #12 - 800455e: 46bd mov sp, r7 - 8004560: f85d 7b04 ldr.w r7, [sp], #4 - 8004564: 4770 bx lr + 8004ede: bf00 nop + 8004ee0: 370c adds r7, #12 + 8004ee2: 46bd mov sp, r7 + 8004ee4: f85d 7b04 ldr.w r7, [sp], #4 + 8004ee8: 4770 bx lr ... -08004568 : +08004eec : * @param TIMx TIM peripheral * @param Structure TIM Base configuration structure * @retval None */ void TIM_Base_SetConfig(TIM_TypeDef *TIMx, TIM_Base_InitTypeDef *Structure) { - 8004568: b480 push {r7} - 800456a: b085 sub sp, #20 - 800456c: af00 add r7, sp, #0 - 800456e: 6078 str r0, [r7, #4] - 8004570: 6039 str r1, [r7, #0] + 8004eec: b480 push {r7} + 8004eee: b085 sub sp, #20 + 8004ef0: af00 add r7, sp, #0 + 8004ef2: 6078 str r0, [r7, #4] + 8004ef4: 6039 str r1, [r7, #0] uint32_t tmpcr1; tmpcr1 = TIMx->CR1; - 8004572: 687b ldr r3, [r7, #4] - 8004574: 681b ldr r3, [r3, #0] - 8004576: 60fb str r3, [r7, #12] + 8004ef6: 687b ldr r3, [r7, #4] + 8004ef8: 681b ldr r3, [r3, #0] + 8004efa: 60fb str r3, [r7, #12] /* Set TIM Time Base Unit parameters ---------------------------------------*/ if (IS_TIM_COUNTER_MODE_SELECT_INSTANCE(TIMx)) - 8004578: 687b ldr r3, [r7, #4] - 800457a: 4a40 ldr r2, [pc, #256] @ (800467c ) - 800457c: 4293 cmp r3, r2 - 800457e: d013 beq.n 80045a8 - 8004580: 687b ldr r3, [r7, #4] - 8004582: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 8004586: d00f beq.n 80045a8 - 8004588: 687b ldr r3, [r7, #4] - 800458a: 4a3d ldr r2, [pc, #244] @ (8004680 ) - 800458c: 4293 cmp r3, r2 - 800458e: d00b beq.n 80045a8 - 8004590: 687b ldr r3, [r7, #4] - 8004592: 4a3c ldr r2, [pc, #240] @ (8004684 ) - 8004594: 4293 cmp r3, r2 - 8004596: d007 beq.n 80045a8 - 8004598: 687b ldr r3, [r7, #4] - 800459a: 4a3b ldr r2, [pc, #236] @ (8004688 ) - 800459c: 4293 cmp r3, r2 - 800459e: d003 beq.n 80045a8 - 80045a0: 687b ldr r3, [r7, #4] - 80045a2: 4a3a ldr r2, [pc, #232] @ (800468c ) - 80045a4: 4293 cmp r3, r2 - 80045a6: d108 bne.n 80045ba + 8004efc: 687b ldr r3, [r7, #4] + 8004efe: 4a40 ldr r2, [pc, #256] @ (8005000 ) + 8004f00: 4293 cmp r3, r2 + 8004f02: d013 beq.n 8004f2c + 8004f04: 687b ldr r3, [r7, #4] + 8004f06: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 8004f0a: d00f beq.n 8004f2c + 8004f0c: 687b ldr r3, [r7, #4] + 8004f0e: 4a3d ldr r2, [pc, #244] @ (8005004 ) + 8004f10: 4293 cmp r3, r2 + 8004f12: d00b beq.n 8004f2c + 8004f14: 687b ldr r3, [r7, #4] + 8004f16: 4a3c ldr r2, [pc, #240] @ (8005008 ) + 8004f18: 4293 cmp r3, r2 + 8004f1a: d007 beq.n 8004f2c + 8004f1c: 687b ldr r3, [r7, #4] + 8004f1e: 4a3b ldr r2, [pc, #236] @ (800500c ) + 8004f20: 4293 cmp r3, r2 + 8004f22: d003 beq.n 8004f2c + 8004f24: 687b ldr r3, [r7, #4] + 8004f26: 4a3a ldr r2, [pc, #232] @ (8005010 ) + 8004f28: 4293 cmp r3, r2 + 8004f2a: d108 bne.n 8004f3e { /* Select the Counter Mode */ tmpcr1 &= ~(TIM_CR1_DIR | TIM_CR1_CMS); - 80045a8: 68fb ldr r3, [r7, #12] - 80045aa: f023 0370 bic.w r3, r3, #112 @ 0x70 - 80045ae: 60fb str r3, [r7, #12] + 8004f2c: 68fb ldr r3, [r7, #12] + 8004f2e: f023 0370 bic.w r3, r3, #112 @ 0x70 + 8004f32: 60fb str r3, [r7, #12] tmpcr1 |= Structure->CounterMode; - 80045b0: 683b ldr r3, [r7, #0] - 80045b2: 685b ldr r3, [r3, #4] - 80045b4: 68fa ldr r2, [r7, #12] - 80045b6: 4313 orrs r3, r2 - 80045b8: 60fb str r3, [r7, #12] + 8004f34: 683b ldr r3, [r7, #0] + 8004f36: 685b ldr r3, [r3, #4] + 8004f38: 68fa ldr r2, [r7, #12] + 8004f3a: 4313 orrs r3, r2 + 8004f3c: 60fb str r3, [r7, #12] } if (IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx)) - 80045ba: 687b ldr r3, [r7, #4] - 80045bc: 4a2f ldr r2, [pc, #188] @ (800467c ) - 80045be: 4293 cmp r3, r2 - 80045c0: d02b beq.n 800461a - 80045c2: 687b ldr r3, [r7, #4] - 80045c4: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 80045c8: d027 beq.n 800461a - 80045ca: 687b ldr r3, [r7, #4] - 80045cc: 4a2c ldr r2, [pc, #176] @ (8004680 ) - 80045ce: 4293 cmp r3, r2 - 80045d0: d023 beq.n 800461a - 80045d2: 687b ldr r3, [r7, #4] - 80045d4: 4a2b ldr r2, [pc, #172] @ (8004684 ) - 80045d6: 4293 cmp r3, r2 - 80045d8: d01f beq.n 800461a - 80045da: 687b ldr r3, [r7, #4] - 80045dc: 4a2a ldr r2, [pc, #168] @ (8004688 ) - 80045de: 4293 cmp r3, r2 - 80045e0: d01b beq.n 800461a - 80045e2: 687b ldr r3, [r7, #4] - 80045e4: 4a29 ldr r2, [pc, #164] @ (800468c ) - 80045e6: 4293 cmp r3, r2 - 80045e8: d017 beq.n 800461a - 80045ea: 687b ldr r3, [r7, #4] - 80045ec: 4a28 ldr r2, [pc, #160] @ (8004690 ) - 80045ee: 4293 cmp r3, r2 - 80045f0: d013 beq.n 800461a - 80045f2: 687b ldr r3, [r7, #4] - 80045f4: 4a27 ldr r2, [pc, #156] @ (8004694 ) - 80045f6: 4293 cmp r3, r2 - 80045f8: d00f beq.n 800461a - 80045fa: 687b ldr r3, [r7, #4] - 80045fc: 4a26 ldr r2, [pc, #152] @ (8004698 ) - 80045fe: 4293 cmp r3, r2 - 8004600: d00b beq.n 800461a - 8004602: 687b ldr r3, [r7, #4] - 8004604: 4a25 ldr r2, [pc, #148] @ (800469c ) - 8004606: 4293 cmp r3, r2 - 8004608: d007 beq.n 800461a - 800460a: 687b ldr r3, [r7, #4] - 800460c: 4a24 ldr r2, [pc, #144] @ (80046a0 ) - 800460e: 4293 cmp r3, r2 - 8004610: d003 beq.n 800461a - 8004612: 687b ldr r3, [r7, #4] - 8004614: 4a23 ldr r2, [pc, #140] @ (80046a4 ) - 8004616: 4293 cmp r3, r2 - 8004618: d108 bne.n 800462c + 8004f3e: 687b ldr r3, [r7, #4] + 8004f40: 4a2f ldr r2, [pc, #188] @ (8005000 ) + 8004f42: 4293 cmp r3, r2 + 8004f44: d02b beq.n 8004f9e + 8004f46: 687b ldr r3, [r7, #4] + 8004f48: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 8004f4c: d027 beq.n 8004f9e + 8004f4e: 687b ldr r3, [r7, #4] + 8004f50: 4a2c ldr r2, [pc, #176] @ (8005004 ) + 8004f52: 4293 cmp r3, r2 + 8004f54: d023 beq.n 8004f9e + 8004f56: 687b ldr r3, [r7, #4] + 8004f58: 4a2b ldr r2, [pc, #172] @ (8005008 ) + 8004f5a: 4293 cmp r3, r2 + 8004f5c: d01f beq.n 8004f9e + 8004f5e: 687b ldr r3, [r7, #4] + 8004f60: 4a2a ldr r2, [pc, #168] @ (800500c ) + 8004f62: 4293 cmp r3, r2 + 8004f64: d01b beq.n 8004f9e + 8004f66: 687b ldr r3, [r7, #4] + 8004f68: 4a29 ldr r2, [pc, #164] @ (8005010 ) + 8004f6a: 4293 cmp r3, r2 + 8004f6c: d017 beq.n 8004f9e + 8004f6e: 687b ldr r3, [r7, #4] + 8004f70: 4a28 ldr r2, [pc, #160] @ (8005014 ) + 8004f72: 4293 cmp r3, r2 + 8004f74: d013 beq.n 8004f9e + 8004f76: 687b ldr r3, [r7, #4] + 8004f78: 4a27 ldr r2, [pc, #156] @ (8005018 ) + 8004f7a: 4293 cmp r3, r2 + 8004f7c: d00f beq.n 8004f9e + 8004f7e: 687b ldr r3, [r7, #4] + 8004f80: 4a26 ldr r2, [pc, #152] @ (800501c ) + 8004f82: 4293 cmp r3, r2 + 8004f84: d00b beq.n 8004f9e + 8004f86: 687b ldr r3, [r7, #4] + 8004f88: 4a25 ldr r2, [pc, #148] @ (8005020 ) + 8004f8a: 4293 cmp r3, r2 + 8004f8c: d007 beq.n 8004f9e + 8004f8e: 687b ldr r3, [r7, #4] + 8004f90: 4a24 ldr r2, [pc, #144] @ (8005024 ) + 8004f92: 4293 cmp r3, r2 + 8004f94: d003 beq.n 8004f9e + 8004f96: 687b ldr r3, [r7, #4] + 8004f98: 4a23 ldr r2, [pc, #140] @ (8005028 ) + 8004f9a: 4293 cmp r3, r2 + 8004f9c: d108 bne.n 8004fb0 { /* Set the clock division */ tmpcr1 &= ~TIM_CR1_CKD; - 800461a: 68fb ldr r3, [r7, #12] - 800461c: f423 7340 bic.w r3, r3, #768 @ 0x300 - 8004620: 60fb str r3, [r7, #12] + 8004f9e: 68fb ldr r3, [r7, #12] + 8004fa0: f423 7340 bic.w r3, r3, #768 @ 0x300 + 8004fa4: 60fb str r3, [r7, #12] tmpcr1 |= (uint32_t)Structure->ClockDivision; - 8004622: 683b ldr r3, [r7, #0] - 8004624: 68db ldr r3, [r3, #12] - 8004626: 68fa ldr r2, [r7, #12] - 8004628: 4313 orrs r3, r2 - 800462a: 60fb str r3, [r7, #12] + 8004fa6: 683b ldr r3, [r7, #0] + 8004fa8: 68db ldr r3, [r3, #12] + 8004faa: 68fa ldr r2, [r7, #12] + 8004fac: 4313 orrs r3, r2 + 8004fae: 60fb str r3, [r7, #12] } /* Set the auto-reload preload */ MODIFY_REG(tmpcr1, TIM_CR1_ARPE, Structure->AutoReloadPreload); - 800462c: 68fb ldr r3, [r7, #12] - 800462e: f023 0280 bic.w r2, r3, #128 @ 0x80 - 8004632: 683b ldr r3, [r7, #0] - 8004634: 695b ldr r3, [r3, #20] - 8004636: 4313 orrs r3, r2 - 8004638: 60fb str r3, [r7, #12] + 8004fb0: 68fb ldr r3, [r7, #12] + 8004fb2: f023 0280 bic.w r2, r3, #128 @ 0x80 + 8004fb6: 683b ldr r3, [r7, #0] + 8004fb8: 695b ldr r3, [r3, #20] + 8004fba: 4313 orrs r3, r2 + 8004fbc: 60fb str r3, [r7, #12] TIMx->CR1 = tmpcr1; - 800463a: 687b ldr r3, [r7, #4] - 800463c: 68fa ldr r2, [r7, #12] - 800463e: 601a str r2, [r3, #0] + 8004fbe: 687b ldr r3, [r7, #4] + 8004fc0: 68fa ldr r2, [r7, #12] + 8004fc2: 601a str r2, [r3, #0] /* Set the Autoreload value */ TIMx->ARR = (uint32_t)Structure->Period ; - 8004640: 683b ldr r3, [r7, #0] - 8004642: 689a ldr r2, [r3, #8] - 8004644: 687b ldr r3, [r7, #4] - 8004646: 62da str r2, [r3, #44] @ 0x2c + 8004fc4: 683b ldr r3, [r7, #0] + 8004fc6: 689a ldr r2, [r3, #8] + 8004fc8: 687b ldr r3, [r7, #4] + 8004fca: 62da str r2, [r3, #44] @ 0x2c /* Set the Prescaler value */ TIMx->PSC = Structure->Prescaler; - 8004648: 683b ldr r3, [r7, #0] - 800464a: 681a ldr r2, [r3, #0] - 800464c: 687b ldr r3, [r7, #4] - 800464e: 629a str r2, [r3, #40] @ 0x28 + 8004fcc: 683b ldr r3, [r7, #0] + 8004fce: 681a ldr r2, [r3, #0] + 8004fd0: 687b ldr r3, [r7, #4] + 8004fd2: 629a str r2, [r3, #40] @ 0x28 if (IS_TIM_REPETITION_COUNTER_INSTANCE(TIMx)) - 8004650: 687b ldr r3, [r7, #4] - 8004652: 4a0a ldr r2, [pc, #40] @ (800467c ) - 8004654: 4293 cmp r3, r2 - 8004656: d003 beq.n 8004660 - 8004658: 687b ldr r3, [r7, #4] - 800465a: 4a0c ldr r2, [pc, #48] @ (800468c ) - 800465c: 4293 cmp r3, r2 - 800465e: d103 bne.n 8004668 + 8004fd4: 687b ldr r3, [r7, #4] + 8004fd6: 4a0a ldr r2, [pc, #40] @ (8005000 ) + 8004fd8: 4293 cmp r3, r2 + 8004fda: d003 beq.n 8004fe4 + 8004fdc: 687b ldr r3, [r7, #4] + 8004fde: 4a0c ldr r2, [pc, #48] @ (8005010 ) + 8004fe0: 4293 cmp r3, r2 + 8004fe2: d103 bne.n 8004fec { /* Set the Repetition Counter value */ TIMx->RCR = Structure->RepetitionCounter; - 8004660: 683b ldr r3, [r7, #0] - 8004662: 691a ldr r2, [r3, #16] - 8004664: 687b ldr r3, [r7, #4] - 8004666: 631a str r2, [r3, #48] @ 0x30 + 8004fe4: 683b ldr r3, [r7, #0] + 8004fe6: 691a ldr r2, [r3, #16] + 8004fe8: 687b ldr r3, [r7, #4] + 8004fea: 631a str r2, [r3, #48] @ 0x30 } /* Generate an update event to reload the Prescaler and the repetition counter (only for advanced timer) value immediately */ TIMx->EGR = TIM_EGR_UG; - 8004668: 687b ldr r3, [r7, #4] - 800466a: 2201 movs r2, #1 - 800466c: 615a str r2, [r3, #20] + 8004fec: 687b ldr r3, [r7, #4] + 8004fee: 2201 movs r2, #1 + 8004ff0: 615a str r2, [r3, #20] } - 800466e: bf00 nop - 8004670: 3714 adds r7, #20 - 8004672: 46bd mov sp, r7 - 8004674: f85d 7b04 ldr.w r7, [sp], #4 - 8004678: 4770 bx lr - 800467a: bf00 nop - 800467c: 40010000 .word 0x40010000 - 8004680: 40000400 .word 0x40000400 - 8004684: 40000800 .word 0x40000800 - 8004688: 40000c00 .word 0x40000c00 - 800468c: 40010400 .word 0x40010400 - 8004690: 40014000 .word 0x40014000 - 8004694: 40014400 .word 0x40014400 - 8004698: 40014800 .word 0x40014800 - 800469c: 40001800 .word 0x40001800 - 80046a0: 40001c00 .word 0x40001c00 - 80046a4: 40002000 .word 0x40002000 + 8004ff2: bf00 nop + 8004ff4: 3714 adds r7, #20 + 8004ff6: 46bd mov sp, r7 + 8004ff8: f85d 7b04 ldr.w r7, [sp], #4 + 8004ffc: 4770 bx lr + 8004ffe: bf00 nop + 8005000: 40010000 .word 0x40010000 + 8005004: 40000400 .word 0x40000400 + 8005008: 40000800 .word 0x40000800 + 800500c: 40000c00 .word 0x40000c00 + 8005010: 40010400 .word 0x40010400 + 8005014: 40014000 .word 0x40014000 + 8005018: 40014400 .word 0x40014400 + 800501c: 40014800 .word 0x40014800 + 8005020: 40001800 .word 0x40001800 + 8005024: 40001c00 .word 0x40001c00 + 8005028: 40002000 .word 0x40002000 -080046a8 : +0800502c : * @param TIM_ICFilter Specifies the Input Capture Filter. * This parameter must be a value between 0x00 and 0x0F. * @retval None */ static void TIM_TI1_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFilter) { - 80046a8: b480 push {r7} - 80046aa: b087 sub sp, #28 - 80046ac: af00 add r7, sp, #0 - 80046ae: 60f8 str r0, [r7, #12] - 80046b0: 60b9 str r1, [r7, #8] - 80046b2: 607a str r2, [r7, #4] + 800502c: b480 push {r7} + 800502e: b087 sub sp, #28 + 8005030: af00 add r7, sp, #0 + 8005032: 60f8 str r0, [r7, #12] + 8005034: 60b9 str r1, [r7, #8] + 8005036: 607a str r2, [r7, #4] uint32_t tmpccmr1; uint32_t tmpccer; /* Disable the Channel 1: Reset the CC1E Bit */ tmpccer = TIMx->CCER; - 80046b4: 68fb ldr r3, [r7, #12] - 80046b6: 6a1b ldr r3, [r3, #32] - 80046b8: 617b str r3, [r7, #20] + 8005038: 68fb ldr r3, [r7, #12] + 800503a: 6a1b ldr r3, [r3, #32] + 800503c: 617b str r3, [r7, #20] TIMx->CCER &= ~TIM_CCER_CC1E; - 80046ba: 68fb ldr r3, [r7, #12] - 80046bc: 6a1b ldr r3, [r3, #32] - 80046be: f023 0201 bic.w r2, r3, #1 - 80046c2: 68fb ldr r3, [r7, #12] - 80046c4: 621a str r2, [r3, #32] + 800503e: 68fb ldr r3, [r7, #12] + 8005040: 6a1b ldr r3, [r3, #32] + 8005042: f023 0201 bic.w r2, r3, #1 + 8005046: 68fb ldr r3, [r7, #12] + 8005048: 621a str r2, [r3, #32] tmpccmr1 = TIMx->CCMR1; - 80046c6: 68fb ldr r3, [r7, #12] - 80046c8: 699b ldr r3, [r3, #24] - 80046ca: 613b str r3, [r7, #16] + 800504a: 68fb ldr r3, [r7, #12] + 800504c: 699b ldr r3, [r3, #24] + 800504e: 613b str r3, [r7, #16] /* Set the filter */ tmpccmr1 &= ~TIM_CCMR1_IC1F; - 80046cc: 693b ldr r3, [r7, #16] - 80046ce: f023 03f0 bic.w r3, r3, #240 @ 0xf0 - 80046d2: 613b str r3, [r7, #16] + 8005050: 693b ldr r3, [r7, #16] + 8005052: f023 03f0 bic.w r3, r3, #240 @ 0xf0 + 8005056: 613b str r3, [r7, #16] tmpccmr1 |= (TIM_ICFilter << 4U); - 80046d4: 687b ldr r3, [r7, #4] - 80046d6: 011b lsls r3, r3, #4 - 80046d8: 693a ldr r2, [r7, #16] - 80046da: 4313 orrs r3, r2 - 80046dc: 613b str r3, [r7, #16] + 8005058: 687b ldr r3, [r7, #4] + 800505a: 011b lsls r3, r3, #4 + 800505c: 693a ldr r2, [r7, #16] + 800505e: 4313 orrs r3, r2 + 8005060: 613b str r3, [r7, #16] /* Select the Polarity and set the CC1E Bit */ tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP); - 80046de: 697b ldr r3, [r7, #20] - 80046e0: f023 030a bic.w r3, r3, #10 - 80046e4: 617b str r3, [r7, #20] + 8005062: 697b ldr r3, [r7, #20] + 8005064: f023 030a bic.w r3, r3, #10 + 8005068: 617b str r3, [r7, #20] tmpccer |= TIM_ICPolarity; - 80046e6: 697a ldr r2, [r7, #20] - 80046e8: 68bb ldr r3, [r7, #8] - 80046ea: 4313 orrs r3, r2 - 80046ec: 617b str r3, [r7, #20] + 800506a: 697a ldr r2, [r7, #20] + 800506c: 68bb ldr r3, [r7, #8] + 800506e: 4313 orrs r3, r2 + 8005070: 617b str r3, [r7, #20] /* Write to TIMx CCMR1 and CCER registers */ TIMx->CCMR1 = tmpccmr1; - 80046ee: 68fb ldr r3, [r7, #12] - 80046f0: 693a ldr r2, [r7, #16] - 80046f2: 619a str r2, [r3, #24] + 8005072: 68fb ldr r3, [r7, #12] + 8005074: 693a ldr r2, [r7, #16] + 8005076: 619a str r2, [r3, #24] TIMx->CCER = tmpccer; - 80046f4: 68fb ldr r3, [r7, #12] - 80046f6: 697a ldr r2, [r7, #20] - 80046f8: 621a str r2, [r3, #32] + 8005078: 68fb ldr r3, [r7, #12] + 800507a: 697a ldr r2, [r7, #20] + 800507c: 621a str r2, [r3, #32] } - 80046fa: bf00 nop - 80046fc: 371c adds r7, #28 - 80046fe: 46bd mov sp, r7 - 8004700: f85d 7b04 ldr.w r7, [sp], #4 - 8004704: 4770 bx lr + 800507e: bf00 nop + 8005080: 371c adds r7, #28 + 8005082: 46bd mov sp, r7 + 8005084: f85d 7b04 ldr.w r7, [sp], #4 + 8005088: 4770 bx lr -08004706 : +0800508a : * @param TIM_ICFilter Specifies the Input Capture Filter. * This parameter must be a value between 0x00 and 0x0F. * @retval None */ static void TIM_TI2_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFilter) { - 8004706: b480 push {r7} - 8004708: b087 sub sp, #28 - 800470a: af00 add r7, sp, #0 - 800470c: 60f8 str r0, [r7, #12] - 800470e: 60b9 str r1, [r7, #8] - 8004710: 607a str r2, [r7, #4] + 800508a: b480 push {r7} + 800508c: b087 sub sp, #28 + 800508e: af00 add r7, sp, #0 + 8005090: 60f8 str r0, [r7, #12] + 8005092: 60b9 str r1, [r7, #8] + 8005094: 607a str r2, [r7, #4] uint32_t tmpccmr1; uint32_t tmpccer; /* Disable the Channel 2: Reset the CC2E Bit */ TIMx->CCER &= ~TIM_CCER_CC2E; - 8004712: 68fb ldr r3, [r7, #12] - 8004714: 6a1b ldr r3, [r3, #32] - 8004716: f023 0210 bic.w r2, r3, #16 - 800471a: 68fb ldr r3, [r7, #12] - 800471c: 621a str r2, [r3, #32] + 8005096: 68fb ldr r3, [r7, #12] + 8005098: 6a1b ldr r3, [r3, #32] + 800509a: f023 0210 bic.w r2, r3, #16 + 800509e: 68fb ldr r3, [r7, #12] + 80050a0: 621a str r2, [r3, #32] tmpccmr1 = TIMx->CCMR1; - 800471e: 68fb ldr r3, [r7, #12] - 8004720: 699b ldr r3, [r3, #24] - 8004722: 617b str r3, [r7, #20] + 80050a2: 68fb ldr r3, [r7, #12] + 80050a4: 699b ldr r3, [r3, #24] + 80050a6: 617b str r3, [r7, #20] tmpccer = TIMx->CCER; - 8004724: 68fb ldr r3, [r7, #12] - 8004726: 6a1b ldr r3, [r3, #32] - 8004728: 613b str r3, [r7, #16] + 80050a8: 68fb ldr r3, [r7, #12] + 80050aa: 6a1b ldr r3, [r3, #32] + 80050ac: 613b str r3, [r7, #16] /* Set the filter */ tmpccmr1 &= ~TIM_CCMR1_IC2F; - 800472a: 697b ldr r3, [r7, #20] - 800472c: f423 4370 bic.w r3, r3, #61440 @ 0xf000 - 8004730: 617b str r3, [r7, #20] + 80050ae: 697b ldr r3, [r7, #20] + 80050b0: f423 4370 bic.w r3, r3, #61440 @ 0xf000 + 80050b4: 617b str r3, [r7, #20] tmpccmr1 |= (TIM_ICFilter << 12U); - 8004732: 687b ldr r3, [r7, #4] - 8004734: 031b lsls r3, r3, #12 - 8004736: 697a ldr r2, [r7, #20] - 8004738: 4313 orrs r3, r2 - 800473a: 617b str r3, [r7, #20] + 80050b6: 687b ldr r3, [r7, #4] + 80050b8: 031b lsls r3, r3, #12 + 80050ba: 697a ldr r2, [r7, #20] + 80050bc: 4313 orrs r3, r2 + 80050be: 617b str r3, [r7, #20] /* Select the Polarity and set the CC2E Bit */ tmpccer &= ~(TIM_CCER_CC2P | TIM_CCER_CC2NP); - 800473c: 693b ldr r3, [r7, #16] - 800473e: f023 03a0 bic.w r3, r3, #160 @ 0xa0 - 8004742: 613b str r3, [r7, #16] + 80050c0: 693b ldr r3, [r7, #16] + 80050c2: f023 03a0 bic.w r3, r3, #160 @ 0xa0 + 80050c6: 613b str r3, [r7, #16] tmpccer |= (TIM_ICPolarity << 4U); - 8004744: 68bb ldr r3, [r7, #8] - 8004746: 011b lsls r3, r3, #4 - 8004748: 693a ldr r2, [r7, #16] - 800474a: 4313 orrs r3, r2 - 800474c: 613b str r3, [r7, #16] + 80050c8: 68bb ldr r3, [r7, #8] + 80050ca: 011b lsls r3, r3, #4 + 80050cc: 693a ldr r2, [r7, #16] + 80050ce: 4313 orrs r3, r2 + 80050d0: 613b str r3, [r7, #16] /* Write to TIMx CCMR1 and CCER registers */ TIMx->CCMR1 = tmpccmr1 ; - 800474e: 68fb ldr r3, [r7, #12] - 8004750: 697a ldr r2, [r7, #20] - 8004752: 619a str r2, [r3, #24] + 80050d2: 68fb ldr r3, [r7, #12] + 80050d4: 697a ldr r2, [r7, #20] + 80050d6: 619a str r2, [r3, #24] TIMx->CCER = tmpccer; - 8004754: 68fb ldr r3, [r7, #12] - 8004756: 693a ldr r2, [r7, #16] - 8004758: 621a str r2, [r3, #32] + 80050d8: 68fb ldr r3, [r7, #12] + 80050da: 693a ldr r2, [r7, #16] + 80050dc: 621a str r2, [r3, #32] } - 800475a: bf00 nop - 800475c: 371c adds r7, #28 - 800475e: 46bd mov sp, r7 - 8004760: f85d 7b04 ldr.w r7, [sp], #4 - 8004764: 4770 bx lr + 80050de: bf00 nop + 80050e0: 371c adds r7, #28 + 80050e2: 46bd mov sp, r7 + 80050e4: f85d 7b04 ldr.w r7, [sp], #4 + 80050e8: 4770 bx lr -08004766 : +080050ea : * @arg TIM_TS_TI2FP2: Filtered Timer Input 2 * @arg TIM_TS_ETRF: External Trigger input * @retval None */ static void TIM_ITRx_SetConfig(TIM_TypeDef *TIMx, uint32_t InputTriggerSource) { - 8004766: b480 push {r7} - 8004768: b085 sub sp, #20 - 800476a: af00 add r7, sp, #0 - 800476c: 6078 str r0, [r7, #4] - 800476e: 6039 str r1, [r7, #0] + 80050ea: b480 push {r7} + 80050ec: b085 sub sp, #20 + 80050ee: af00 add r7, sp, #0 + 80050f0: 6078 str r0, [r7, #4] + 80050f2: 6039 str r1, [r7, #0] uint32_t tmpsmcr; /* Get the TIMx SMCR register value */ tmpsmcr = TIMx->SMCR; - 8004770: 687b ldr r3, [r7, #4] - 8004772: 689b ldr r3, [r3, #8] - 8004774: 60fb str r3, [r7, #12] + 80050f4: 687b ldr r3, [r7, #4] + 80050f6: 689b ldr r3, [r3, #8] + 80050f8: 60fb str r3, [r7, #12] /* Reset the TS Bits */ tmpsmcr &= ~TIM_SMCR_TS; - 8004776: 68fb ldr r3, [r7, #12] - 8004778: f023 0370 bic.w r3, r3, #112 @ 0x70 - 800477c: 60fb str r3, [r7, #12] + 80050fa: 68fb ldr r3, [r7, #12] + 80050fc: f023 0370 bic.w r3, r3, #112 @ 0x70 + 8005100: 60fb str r3, [r7, #12] /* Set the Input Trigger source and the slave mode*/ tmpsmcr |= (InputTriggerSource | TIM_SLAVEMODE_EXTERNAL1); - 800477e: 683a ldr r2, [r7, #0] - 8004780: 68fb ldr r3, [r7, #12] - 8004782: 4313 orrs r3, r2 - 8004784: f043 0307 orr.w r3, r3, #7 - 8004788: 60fb str r3, [r7, #12] + 8005102: 683a ldr r2, [r7, #0] + 8005104: 68fb ldr r3, [r7, #12] + 8005106: 4313 orrs r3, r2 + 8005108: f043 0307 orr.w r3, r3, #7 + 800510c: 60fb str r3, [r7, #12] /* Write to TIMx SMCR */ TIMx->SMCR = tmpsmcr; - 800478a: 687b ldr r3, [r7, #4] - 800478c: 68fa ldr r2, [r7, #12] - 800478e: 609a str r2, [r3, #8] + 800510e: 687b ldr r3, [r7, #4] + 8005110: 68fa ldr r2, [r7, #12] + 8005112: 609a str r2, [r3, #8] } - 8004790: bf00 nop - 8004792: 3714 adds r7, #20 - 8004794: 46bd mov sp, r7 - 8004796: f85d 7b04 ldr.w r7, [sp], #4 - 800479a: 4770 bx lr + 8005114: bf00 nop + 8005116: 3714 adds r7, #20 + 8005118: 46bd mov sp, r7 + 800511a: f85d 7b04 ldr.w r7, [sp], #4 + 800511e: 4770 bx lr -0800479c : +08005120 : * This parameter must be a value between 0x00 and 0x0F * @retval None */ void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler, uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter) { - 800479c: b480 push {r7} - 800479e: b087 sub sp, #28 - 80047a0: af00 add r7, sp, #0 - 80047a2: 60f8 str r0, [r7, #12] - 80047a4: 60b9 str r1, [r7, #8] - 80047a6: 607a str r2, [r7, #4] - 80047a8: 603b str r3, [r7, #0] + 8005120: b480 push {r7} + 8005122: b087 sub sp, #28 + 8005124: af00 add r7, sp, #0 + 8005126: 60f8 str r0, [r7, #12] + 8005128: 60b9 str r1, [r7, #8] + 800512a: 607a str r2, [r7, #4] + 800512c: 603b str r3, [r7, #0] uint32_t tmpsmcr; tmpsmcr = TIMx->SMCR; - 80047aa: 68fb ldr r3, [r7, #12] - 80047ac: 689b ldr r3, [r3, #8] - 80047ae: 617b str r3, [r7, #20] + 800512e: 68fb ldr r3, [r7, #12] + 8005130: 689b ldr r3, [r3, #8] + 8005132: 617b str r3, [r7, #20] /* Reset the ETR Bits */ tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); - 80047b0: 697b ldr r3, [r7, #20] - 80047b2: f423 437f bic.w r3, r3, #65280 @ 0xff00 - 80047b6: 617b str r3, [r7, #20] + 8005134: 697b ldr r3, [r7, #20] + 8005136: f423 437f bic.w r3, r3, #65280 @ 0xff00 + 800513a: 617b str r3, [r7, #20] /* Set the Prescaler, the Filter value and the Polarity */ tmpsmcr |= (uint32_t)(TIM_ExtTRGPrescaler | (TIM_ExtTRGPolarity | (ExtTRGFilter << 8U))); - 80047b8: 683b ldr r3, [r7, #0] - 80047ba: 021a lsls r2, r3, #8 - 80047bc: 687b ldr r3, [r7, #4] - 80047be: 431a orrs r2, r3 - 80047c0: 68bb ldr r3, [r7, #8] - 80047c2: 4313 orrs r3, r2 - 80047c4: 697a ldr r2, [r7, #20] - 80047c6: 4313 orrs r3, r2 - 80047c8: 617b str r3, [r7, #20] + 800513c: 683b ldr r3, [r7, #0] + 800513e: 021a lsls r2, r3, #8 + 8005140: 687b ldr r3, [r7, #4] + 8005142: 431a orrs r2, r3 + 8005144: 68bb ldr r3, [r7, #8] + 8005146: 4313 orrs r3, r2 + 8005148: 697a ldr r2, [r7, #20] + 800514a: 4313 orrs r3, r2 + 800514c: 617b str r3, [r7, #20] /* Write to TIMx SMCR */ TIMx->SMCR = tmpsmcr; - 80047ca: 68fb ldr r3, [r7, #12] - 80047cc: 697a ldr r2, [r7, #20] - 80047ce: 609a str r2, [r3, #8] + 800514e: 68fb ldr r3, [r7, #12] + 8005150: 697a ldr r2, [r7, #20] + 8005152: 609a str r2, [r3, #8] } - 80047d0: bf00 nop - 80047d2: 371c adds r7, #28 - 80047d4: 46bd mov sp, r7 - 80047d6: f85d 7b04 ldr.w r7, [sp], #4 - 80047da: 4770 bx lr + 8005154: bf00 nop + 8005156: 371c adds r7, #28 + 8005158: 46bd mov sp, r7 + 800515a: f85d 7b04 ldr.w r7, [sp], #4 + 800515e: 4770 bx lr -080047dc : +08005160 : * mode. * @retval HAL status */ HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, TIM_MasterConfigTypeDef *sMasterConfig) { - 80047dc: b480 push {r7} - 80047de: b085 sub sp, #20 - 80047e0: af00 add r7, sp, #0 - 80047e2: 6078 str r0, [r7, #4] - 80047e4: 6039 str r1, [r7, #0] + 8005160: b480 push {r7} + 8005162: b085 sub sp, #20 + 8005164: af00 add r7, sp, #0 + 8005166: 6078 str r0, [r7, #4] + 8005168: 6039 str r1, [r7, #0] assert_param(IS_TIM_MASTER_INSTANCE(htim->Instance)); assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger)); assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode)); /* Check input state */ __HAL_LOCK(htim); - 80047e6: 687b ldr r3, [r7, #4] - 80047e8: f893 303c ldrb.w r3, [r3, #60] @ 0x3c - 80047ec: 2b01 cmp r3, #1 - 80047ee: d101 bne.n 80047f4 - 80047f0: 2302 movs r3, #2 - 80047f2: e05a b.n 80048aa - 80047f4: 687b ldr r3, [r7, #4] - 80047f6: 2201 movs r2, #1 - 80047f8: f883 203c strb.w r2, [r3, #60] @ 0x3c + 800516a: 687b ldr r3, [r7, #4] + 800516c: f893 303c ldrb.w r3, [r3, #60] @ 0x3c + 8005170: 2b01 cmp r3, #1 + 8005172: d101 bne.n 8005178 + 8005174: 2302 movs r3, #2 + 8005176: e05a b.n 800522e + 8005178: 687b ldr r3, [r7, #4] + 800517a: 2201 movs r2, #1 + 800517c: f883 203c strb.w r2, [r3, #60] @ 0x3c /* Change the handler state */ htim->State = HAL_TIM_STATE_BUSY; - 80047fc: 687b ldr r3, [r7, #4] - 80047fe: 2202 movs r2, #2 - 8004800: f883 203d strb.w r2, [r3, #61] @ 0x3d + 8005180: 687b ldr r3, [r7, #4] + 8005182: 2202 movs r2, #2 + 8005184: f883 203d strb.w r2, [r3, #61] @ 0x3d /* Get the TIMx CR2 register value */ tmpcr2 = htim->Instance->CR2; - 8004804: 687b ldr r3, [r7, #4] - 8004806: 681b ldr r3, [r3, #0] - 8004808: 685b ldr r3, [r3, #4] - 800480a: 60fb str r3, [r7, #12] + 8005188: 687b ldr r3, [r7, #4] + 800518a: 681b ldr r3, [r3, #0] + 800518c: 685b ldr r3, [r3, #4] + 800518e: 60fb str r3, [r7, #12] /* Get the TIMx SMCR register value */ tmpsmcr = htim->Instance->SMCR; - 800480c: 687b ldr r3, [r7, #4] - 800480e: 681b ldr r3, [r3, #0] - 8004810: 689b ldr r3, [r3, #8] - 8004812: 60bb str r3, [r7, #8] + 8005190: 687b ldr r3, [r7, #4] + 8005192: 681b ldr r3, [r3, #0] + 8005194: 689b ldr r3, [r3, #8] + 8005196: 60bb str r3, [r7, #8] /* Reset the MMS Bits */ tmpcr2 &= ~TIM_CR2_MMS; - 8004814: 68fb ldr r3, [r7, #12] - 8004816: f023 0370 bic.w r3, r3, #112 @ 0x70 - 800481a: 60fb str r3, [r7, #12] + 8005198: 68fb ldr r3, [r7, #12] + 800519a: f023 0370 bic.w r3, r3, #112 @ 0x70 + 800519e: 60fb str r3, [r7, #12] /* Select the TRGO source */ tmpcr2 |= sMasterConfig->MasterOutputTrigger; - 800481c: 683b ldr r3, [r7, #0] - 800481e: 681b ldr r3, [r3, #0] - 8004820: 68fa ldr r2, [r7, #12] - 8004822: 4313 orrs r3, r2 - 8004824: 60fb str r3, [r7, #12] + 80051a0: 683b ldr r3, [r7, #0] + 80051a2: 681b ldr r3, [r3, #0] + 80051a4: 68fa ldr r2, [r7, #12] + 80051a6: 4313 orrs r3, r2 + 80051a8: 60fb str r3, [r7, #12] /* Update TIMx CR2 */ htim->Instance->CR2 = tmpcr2; - 8004826: 687b ldr r3, [r7, #4] - 8004828: 681b ldr r3, [r3, #0] - 800482a: 68fa ldr r2, [r7, #12] - 800482c: 605a str r2, [r3, #4] + 80051aa: 687b ldr r3, [r7, #4] + 80051ac: 681b ldr r3, [r3, #0] + 80051ae: 68fa ldr r2, [r7, #12] + 80051b0: 605a str r2, [r3, #4] if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) - 800482e: 687b ldr r3, [r7, #4] - 8004830: 681b ldr r3, [r3, #0] - 8004832: 4a21 ldr r2, [pc, #132] @ (80048b8 ) - 8004834: 4293 cmp r3, r2 - 8004836: d022 beq.n 800487e - 8004838: 687b ldr r3, [r7, #4] - 800483a: 681b ldr r3, [r3, #0] - 800483c: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 8004840: d01d beq.n 800487e - 8004842: 687b ldr r3, [r7, #4] - 8004844: 681b ldr r3, [r3, #0] - 8004846: 4a1d ldr r2, [pc, #116] @ (80048bc ) - 8004848: 4293 cmp r3, r2 - 800484a: d018 beq.n 800487e - 800484c: 687b ldr r3, [r7, #4] - 800484e: 681b ldr r3, [r3, #0] - 8004850: 4a1b ldr r2, [pc, #108] @ (80048c0 ) - 8004852: 4293 cmp r3, r2 - 8004854: d013 beq.n 800487e - 8004856: 687b ldr r3, [r7, #4] - 8004858: 681b ldr r3, [r3, #0] - 800485a: 4a1a ldr r2, [pc, #104] @ (80048c4 ) - 800485c: 4293 cmp r3, r2 - 800485e: d00e beq.n 800487e - 8004860: 687b ldr r3, [r7, #4] - 8004862: 681b ldr r3, [r3, #0] - 8004864: 4a18 ldr r2, [pc, #96] @ (80048c8 ) - 8004866: 4293 cmp r3, r2 - 8004868: d009 beq.n 800487e - 800486a: 687b ldr r3, [r7, #4] - 800486c: 681b ldr r3, [r3, #0] - 800486e: 4a17 ldr r2, [pc, #92] @ (80048cc ) - 8004870: 4293 cmp r3, r2 - 8004872: d004 beq.n 800487e - 8004874: 687b ldr r3, [r7, #4] - 8004876: 681b ldr r3, [r3, #0] - 8004878: 4a15 ldr r2, [pc, #84] @ (80048d0 ) - 800487a: 4293 cmp r3, r2 - 800487c: d10c bne.n 8004898 + 80051b2: 687b ldr r3, [r7, #4] + 80051b4: 681b ldr r3, [r3, #0] + 80051b6: 4a21 ldr r2, [pc, #132] @ (800523c ) + 80051b8: 4293 cmp r3, r2 + 80051ba: d022 beq.n 8005202 + 80051bc: 687b ldr r3, [r7, #4] + 80051be: 681b ldr r3, [r3, #0] + 80051c0: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 80051c4: d01d beq.n 8005202 + 80051c6: 687b ldr r3, [r7, #4] + 80051c8: 681b ldr r3, [r3, #0] + 80051ca: 4a1d ldr r2, [pc, #116] @ (8005240 ) + 80051cc: 4293 cmp r3, r2 + 80051ce: d018 beq.n 8005202 + 80051d0: 687b ldr r3, [r7, #4] + 80051d2: 681b ldr r3, [r3, #0] + 80051d4: 4a1b ldr r2, [pc, #108] @ (8005244 ) + 80051d6: 4293 cmp r3, r2 + 80051d8: d013 beq.n 8005202 + 80051da: 687b ldr r3, [r7, #4] + 80051dc: 681b ldr r3, [r3, #0] + 80051de: 4a1a ldr r2, [pc, #104] @ (8005248 ) + 80051e0: 4293 cmp r3, r2 + 80051e2: d00e beq.n 8005202 + 80051e4: 687b ldr r3, [r7, #4] + 80051e6: 681b ldr r3, [r3, #0] + 80051e8: 4a18 ldr r2, [pc, #96] @ (800524c ) + 80051ea: 4293 cmp r3, r2 + 80051ec: d009 beq.n 8005202 + 80051ee: 687b ldr r3, [r7, #4] + 80051f0: 681b ldr r3, [r3, #0] + 80051f2: 4a17 ldr r2, [pc, #92] @ (8005250 ) + 80051f4: 4293 cmp r3, r2 + 80051f6: d004 beq.n 8005202 + 80051f8: 687b ldr r3, [r7, #4] + 80051fa: 681b ldr r3, [r3, #0] + 80051fc: 4a15 ldr r2, [pc, #84] @ (8005254 ) + 80051fe: 4293 cmp r3, r2 + 8005200: d10c bne.n 800521c { /* Reset the MSM Bit */ tmpsmcr &= ~TIM_SMCR_MSM; - 800487e: 68bb ldr r3, [r7, #8] - 8004880: f023 0380 bic.w r3, r3, #128 @ 0x80 - 8004884: 60bb str r3, [r7, #8] + 8005202: 68bb ldr r3, [r7, #8] + 8005204: f023 0380 bic.w r3, r3, #128 @ 0x80 + 8005208: 60bb str r3, [r7, #8] /* Set master mode */ tmpsmcr |= sMasterConfig->MasterSlaveMode; - 8004886: 683b ldr r3, [r7, #0] - 8004888: 685b ldr r3, [r3, #4] - 800488a: 68ba ldr r2, [r7, #8] - 800488c: 4313 orrs r3, r2 - 800488e: 60bb str r3, [r7, #8] + 800520a: 683b ldr r3, [r7, #0] + 800520c: 685b ldr r3, [r3, #4] + 800520e: 68ba ldr r2, [r7, #8] + 8005210: 4313 orrs r3, r2 + 8005212: 60bb str r3, [r7, #8] /* Update TIMx SMCR */ htim->Instance->SMCR = tmpsmcr; - 8004890: 687b ldr r3, [r7, #4] - 8004892: 681b ldr r3, [r3, #0] - 8004894: 68ba ldr r2, [r7, #8] - 8004896: 609a str r2, [r3, #8] + 8005214: 687b ldr r3, [r7, #4] + 8005216: 681b ldr r3, [r3, #0] + 8005218: 68ba ldr r2, [r7, #8] + 800521a: 609a str r2, [r3, #8] } /* Change the htim state */ htim->State = HAL_TIM_STATE_READY; - 8004898: 687b ldr r3, [r7, #4] - 800489a: 2201 movs r2, #1 - 800489c: f883 203d strb.w r2, [r3, #61] @ 0x3d + 800521c: 687b ldr r3, [r7, #4] + 800521e: 2201 movs r2, #1 + 8005220: f883 203d strb.w r2, [r3, #61] @ 0x3d __HAL_UNLOCK(htim); - 80048a0: 687b ldr r3, [r7, #4] - 80048a2: 2200 movs r2, #0 - 80048a4: f883 203c strb.w r2, [r3, #60] @ 0x3c + 8005224: 687b ldr r3, [r7, #4] + 8005226: 2200 movs r2, #0 + 8005228: f883 203c strb.w r2, [r3, #60] @ 0x3c return HAL_OK; - 80048a8: 2300 movs r3, #0 + 800522c: 2300 movs r3, #0 } - 80048aa: 4618 mov r0, r3 - 80048ac: 3714 adds r7, #20 - 80048ae: 46bd mov sp, r7 - 80048b0: f85d 7b04 ldr.w r7, [sp], #4 - 80048b4: 4770 bx lr - 80048b6: bf00 nop - 80048b8: 40010000 .word 0x40010000 - 80048bc: 40000400 .word 0x40000400 - 80048c0: 40000800 .word 0x40000800 - 80048c4: 40000c00 .word 0x40000c00 - 80048c8: 40010400 .word 0x40010400 - 80048cc: 40014000 .word 0x40014000 - 80048d0: 40001800 .word 0x40001800 + 800522e: 4618 mov r0, r3 + 8005230: 3714 adds r7, #20 + 8005232: 46bd mov sp, r7 + 8005234: f85d 7b04 ldr.w r7, [sp], #4 + 8005238: 4770 bx lr + 800523a: bf00 nop + 800523c: 40010000 .word 0x40010000 + 8005240: 40000400 .word 0x40000400 + 8005244: 40000800 .word 0x40000800 + 8005248: 40000c00 .word 0x40000c00 + 800524c: 40010400 .word 0x40010400 + 8005250: 40014000 .word 0x40014000 + 8005254: 40001800 .word 0x40001800 -080048d4 : +08005258 : * @brief Hall commutation changed callback in non-blocking mode * @param htim TIM handle * @retval None */ __weak void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim) { - 80048d4: b480 push {r7} - 80048d6: b083 sub sp, #12 - 80048d8: af00 add r7, sp, #0 - 80048da: 6078 str r0, [r7, #4] + 8005258: b480 push {r7} + 800525a: b083 sub sp, #12 + 800525c: af00 add r7, sp, #0 + 800525e: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIMEx_CommutCallback could be implemented in the user file */ } - 80048dc: bf00 nop - 80048de: 370c adds r7, #12 - 80048e0: 46bd mov sp, r7 - 80048e2: f85d 7b04 ldr.w r7, [sp], #4 - 80048e6: 4770 bx lr + 8005260: bf00 nop + 8005262: 370c adds r7, #12 + 8005264: 46bd mov sp, r7 + 8005266: f85d 7b04 ldr.w r7, [sp], #4 + 800526a: 4770 bx lr -080048e8 : +0800526c : * @brief Hall Break detection callback in non-blocking mode * @param htim TIM handle * @retval None */ __weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim) { - 80048e8: b480 push {r7} - 80048ea: b083 sub sp, #12 - 80048ec: af00 add r7, sp, #0 - 80048ee: 6078 str r0, [r7, #4] + 800526c: b480 push {r7} + 800526e: b083 sub sp, #12 + 8005270: af00 add r7, sp, #0 + 8005272: 6078 str r0, [r7, #4] UNUSED(htim); /* NOTE : This function should not be modified, when the callback is needed, the HAL_TIMEx_BreakCallback could be implemented in the user file */ } - 80048f0: bf00 nop - 80048f2: 370c adds r7, #12 - 80048f4: 46bd mov sp, r7 - 80048f6: f85d 7b04 ldr.w r7, [sp], #4 - 80048fa: 4770 bx lr + 8005274: bf00 nop + 8005276: 370c adds r7, #12 + 8005278: 46bd mov sp, r7 + 800527a: f85d 7b04 ldr.w r7, [sp], #4 + 800527e: 4770 bx lr -080048fc : +08005280 : * @param Init Pointer to NORSRAM Initialization structure * @retval HAL status */ HAL_StatusTypeDef FMC_NORSRAM_Init(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_InitTypeDef *Init) { - 80048fc: b480 push {r7} - 80048fe: b087 sub sp, #28 - 8004900: af00 add r7, sp, #0 - 8004902: 6078 str r0, [r7, #4] - 8004904: 6039 str r1, [r7, #0] + 8005280: b480 push {r7} + 8005282: b087 sub sp, #28 + 8005284: af00 add r7, sp, #0 + 8005286: 6078 str r0, [r7, #4] + 8005288: 6039 str r1, [r7, #0] assert_param(IS_FMC_WRITE_FIFO(Init->WriteFifo)); #endif /* FMC_BCR1_WFDIS */ assert_param(IS_FMC_PAGESIZE(Init->PageSize)); /* Disable NORSRAM Device */ __FMC_NORSRAM_DISABLE(Device, Init->NSBank); - 8004906: 683b ldr r3, [r7, #0] - 8004908: 681a ldr r2, [r3, #0] - 800490a: 687b ldr r3, [r7, #4] - 800490c: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8004910: 683a ldr r2, [r7, #0] - 8004912: 6812 ldr r2, [r2, #0] - 8004914: f023 0101 bic.w r1, r3, #1 - 8004918: 687b ldr r3, [r7, #4] - 800491a: f843 1022 str.w r1, [r3, r2, lsl #2] + 800528a: 683b ldr r3, [r7, #0] + 800528c: 681a ldr r2, [r3, #0] + 800528e: 687b ldr r3, [r7, #4] + 8005290: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8005294: 683a ldr r2, [r7, #0] + 8005296: 6812 ldr r2, [r2, #0] + 8005298: f023 0101 bic.w r1, r3, #1 + 800529c: 687b ldr r3, [r7, #4] + 800529e: f843 1022 str.w r1, [r3, r2, lsl #2] /* Set NORSRAM device control parameters */ if (Init->MemoryType == FMC_MEMORY_TYPE_NOR) - 800491e: 683b ldr r3, [r7, #0] - 8004920: 689b ldr r3, [r3, #8] - 8004922: 2b08 cmp r3, #8 - 8004924: d102 bne.n 800492c + 80052a2: 683b ldr r3, [r7, #0] + 80052a4: 689b ldr r3, [r3, #8] + 80052a6: 2b08 cmp r3, #8 + 80052a8: d102 bne.n 80052b0 { flashaccess = FMC_NORSRAM_FLASH_ACCESS_ENABLE; - 8004926: 2340 movs r3, #64 @ 0x40 - 8004928: 617b str r3, [r7, #20] - 800492a: e001 b.n 8004930 + 80052aa: 2340 movs r3, #64 @ 0x40 + 80052ac: 617b str r3, [r7, #20] + 80052ae: e001 b.n 80052b4 } else { flashaccess = FMC_NORSRAM_FLASH_ACCESS_DISABLE; - 800492c: 2300 movs r3, #0 - 800492e: 617b str r3, [r7, #20] + 80052b0: 2300 movs r3, #0 + 80052b2: 617b str r3, [r7, #20] } btcr_reg = (flashaccess | \ Init->DataAddressMux | \ - 8004930: 683b ldr r3, [r7, #0] - 8004932: 685a ldr r2, [r3, #4] + 80052b4: 683b ldr r3, [r7, #0] + 80052b6: 685a ldr r2, [r3, #4] btcr_reg = (flashaccess | \ - 8004934: 697b ldr r3, [r7, #20] - 8004936: 431a orrs r2, r3 + 80052b8: 697b ldr r3, [r7, #20] + 80052ba: 431a orrs r2, r3 Init->MemoryType | \ - 8004938: 683b ldr r3, [r7, #0] - 800493a: 689b ldr r3, [r3, #8] + 80052bc: 683b ldr r3, [r7, #0] + 80052be: 689b ldr r3, [r3, #8] Init->DataAddressMux | \ - 800493c: 431a orrs r2, r3 + 80052c0: 431a orrs r2, r3 Init->MemoryDataWidth | \ - 800493e: 683b ldr r3, [r7, #0] - 8004940: 68db ldr r3, [r3, #12] + 80052c2: 683b ldr r3, [r7, #0] + 80052c4: 68db ldr r3, [r3, #12] Init->MemoryType | \ - 8004942: 431a orrs r2, r3 + 80052c6: 431a orrs r2, r3 Init->BurstAccessMode | \ - 8004944: 683b ldr r3, [r7, #0] - 8004946: 691b ldr r3, [r3, #16] + 80052c8: 683b ldr r3, [r7, #0] + 80052ca: 691b ldr r3, [r3, #16] Init->MemoryDataWidth | \ - 8004948: 431a orrs r2, r3 + 80052cc: 431a orrs r2, r3 Init->WaitSignalPolarity | \ - 800494a: 683b ldr r3, [r7, #0] - 800494c: 695b ldr r3, [r3, #20] + 80052ce: 683b ldr r3, [r7, #0] + 80052d0: 695b ldr r3, [r3, #20] Init->BurstAccessMode | \ - 800494e: 431a orrs r2, r3 + 80052d2: 431a orrs r2, r3 Init->WaitSignalActive | \ - 8004950: 683b ldr r3, [r7, #0] - 8004952: 69db ldr r3, [r3, #28] + 80052d4: 683b ldr r3, [r7, #0] + 80052d6: 69db ldr r3, [r3, #28] Init->WaitSignalPolarity | \ - 8004954: 431a orrs r2, r3 + 80052d8: 431a orrs r2, r3 Init->WriteOperation | \ - 8004956: 683b ldr r3, [r7, #0] - 8004958: 6a1b ldr r3, [r3, #32] + 80052da: 683b ldr r3, [r7, #0] + 80052dc: 6a1b ldr r3, [r3, #32] Init->WaitSignalActive | \ - 800495a: 431a orrs r2, r3 + 80052de: 431a orrs r2, r3 Init->WaitSignal | \ - 800495c: 683b ldr r3, [r7, #0] - 800495e: 6a5b ldr r3, [r3, #36] @ 0x24 + 80052e0: 683b ldr r3, [r7, #0] + 80052e2: 6a5b ldr r3, [r3, #36] @ 0x24 Init->WriteOperation | \ - 8004960: 431a orrs r2, r3 + 80052e4: 431a orrs r2, r3 Init->ExtendedMode | \ - 8004962: 683b ldr r3, [r7, #0] - 8004964: 6a9b ldr r3, [r3, #40] @ 0x28 + 80052e6: 683b ldr r3, [r7, #0] + 80052e8: 6a9b ldr r3, [r3, #40] @ 0x28 Init->WaitSignal | \ - 8004966: 431a orrs r2, r3 + 80052ea: 431a orrs r2, r3 Init->AsynchronousWait | \ - 8004968: 683b ldr r3, [r7, #0] - 800496a: 6adb ldr r3, [r3, #44] @ 0x2c + 80052ec: 683b ldr r3, [r7, #0] + 80052ee: 6adb ldr r3, [r3, #44] @ 0x2c Init->ExtendedMode | \ - 800496c: 431a orrs r2, r3 + 80052f0: 431a orrs r2, r3 Init->WriteBurst); - 800496e: 683b ldr r3, [r7, #0] - 8004970: 6b1b ldr r3, [r3, #48] @ 0x30 + 80052f2: 683b ldr r3, [r7, #0] + 80052f4: 6b1b ldr r3, [r3, #48] @ 0x30 btcr_reg = (flashaccess | \ - 8004972: 4313 orrs r3, r2 - 8004974: 613b str r3, [r7, #16] + 80052f6: 4313 orrs r3, r2 + 80052f8: 613b str r3, [r7, #16] #if defined(FMC_BCR1_WRAPMOD) btcr_reg |= Init->WrapMode; - 8004976: 683b ldr r3, [r7, #0] - 8004978: 699b ldr r3, [r3, #24] - 800497a: 693a ldr r2, [r7, #16] - 800497c: 4313 orrs r3, r2 - 800497e: 613b str r3, [r7, #16] + 80052fa: 683b ldr r3, [r7, #0] + 80052fc: 699b ldr r3, [r3, #24] + 80052fe: 693a ldr r2, [r7, #16] + 8005300: 4313 orrs r3, r2 + 8005302: 613b str r3, [r7, #16] #endif /* FMC_BCR1_WRAPMOD */ #if defined(FMC_BCR1_CCLKEN) btcr_reg |= Init->ContinuousClock; - 8004980: 683b ldr r3, [r7, #0] - 8004982: 6b5b ldr r3, [r3, #52] @ 0x34 - 8004984: 693a ldr r2, [r7, #16] - 8004986: 4313 orrs r3, r2 - 8004988: 613b str r3, [r7, #16] + 8005304: 683b ldr r3, [r7, #0] + 8005306: 6b5b ldr r3, [r3, #52] @ 0x34 + 8005308: 693a ldr r2, [r7, #16] + 800530a: 4313 orrs r3, r2 + 800530c: 613b str r3, [r7, #16] #endif /* FMC_BCR1_CCLKEN */ #if defined(FMC_BCR1_WFDIS) btcr_reg |= Init->WriteFifo; #endif /* FMC_BCR1_WFDIS */ btcr_reg |= Init->PageSize; - 800498a: 683b ldr r3, [r7, #0] - 800498c: 6bdb ldr r3, [r3, #60] @ 0x3c - 800498e: 693a ldr r2, [r7, #16] - 8004990: 4313 orrs r3, r2 - 8004992: 613b str r3, [r7, #16] + 800530e: 683b ldr r3, [r7, #0] + 8005310: 6bdb ldr r3, [r3, #60] @ 0x3c + 8005312: 693a ldr r2, [r7, #16] + 8005314: 4313 orrs r3, r2 + 8005316: 613b str r3, [r7, #16] mask = (FMC_BCR1_MBKEN | - 8004994: 4b1b ldr r3, [pc, #108] @ (8004a04 ) - 8004996: 60fb str r3, [r7, #12] + 8005318: 4b1b ldr r3, [pc, #108] @ (8005388 ) + 800531a: 60fb str r3, [r7, #12] FMC_BCR1_EXTMOD | FMC_BCR1_ASYNCWAIT | FMC_BCR1_CBURSTRW); #if defined(FMC_BCR1_WRAPMOD) mask |= FMC_BCR1_WRAPMOD; - 8004998: 68fb ldr r3, [r7, #12] - 800499a: f443 6380 orr.w r3, r3, #1024 @ 0x400 - 800499e: 60fb str r3, [r7, #12] + 800531c: 68fb ldr r3, [r7, #12] + 800531e: f443 6380 orr.w r3, r3, #1024 @ 0x400 + 8005322: 60fb str r3, [r7, #12] #endif /* FMC_BCR1_WRAPMOD */ #if defined(FMC_BCR1_CCLKEN) mask |= FMC_BCR1_CCLKEN; - 80049a0: 68fb ldr r3, [r7, #12] - 80049a2: f443 1380 orr.w r3, r3, #1048576 @ 0x100000 - 80049a6: 60fb str r3, [r7, #12] + 8005324: 68fb ldr r3, [r7, #12] + 8005326: f443 1380 orr.w r3, r3, #1048576 @ 0x100000 + 800532a: 60fb str r3, [r7, #12] #endif #if defined(FMC_BCR1_WFDIS) mask |= FMC_BCR1_WFDIS; #endif /* FMC_BCR1_WFDIS */ mask |= FMC_BCR1_CPSIZE; - 80049a8: 68fb ldr r3, [r7, #12] - 80049aa: f443 23e0 orr.w r3, r3, #458752 @ 0x70000 - 80049ae: 60fb str r3, [r7, #12] + 800532c: 68fb ldr r3, [r7, #12] + 800532e: f443 23e0 orr.w r3, r3, #458752 @ 0x70000 + 8005332: 60fb str r3, [r7, #12] MODIFY_REG(Device->BTCR[Init->NSBank], mask, btcr_reg); - 80049b0: 683b ldr r3, [r7, #0] - 80049b2: 681a ldr r2, [r3, #0] - 80049b4: 687b ldr r3, [r7, #4] - 80049b6: f853 2022 ldr.w r2, [r3, r2, lsl #2] - 80049ba: 68fb ldr r3, [r7, #12] - 80049bc: 43db mvns r3, r3 - 80049be: ea02 0103 and.w r1, r2, r3 - 80049c2: 683b ldr r3, [r7, #0] - 80049c4: 681a ldr r2, [r3, #0] - 80049c6: 693b ldr r3, [r7, #16] - 80049c8: 4319 orrs r1, r3 - 80049ca: 687b ldr r3, [r7, #4] - 80049cc: f843 1022 str.w r1, [r3, r2, lsl #2] + 8005334: 683b ldr r3, [r7, #0] + 8005336: 681a ldr r2, [r3, #0] + 8005338: 687b ldr r3, [r7, #4] + 800533a: f853 2022 ldr.w r2, [r3, r2, lsl #2] + 800533e: 68fb ldr r3, [r7, #12] + 8005340: 43db mvns r3, r3 + 8005342: ea02 0103 and.w r1, r2, r3 + 8005346: 683b ldr r3, [r7, #0] + 8005348: 681a ldr r2, [r3, #0] + 800534a: 693b ldr r3, [r7, #16] + 800534c: 4319 orrs r1, r3 + 800534e: 687b ldr r3, [r7, #4] + 8005350: f843 1022 str.w r1, [r3, r2, lsl #2] #if defined(FMC_BCR1_CCLKEN) /* Configure synchronous mode when Continuous clock is enabled for bank2..4 */ if ((Init->ContinuousClock == FMC_CONTINUOUS_CLOCK_SYNC_ASYNC) && (Init->NSBank != FMC_NORSRAM_BANK1)) - 80049d0: 683b ldr r3, [r7, #0] - 80049d2: 6b5b ldr r3, [r3, #52] @ 0x34 - 80049d4: f5b3 1f80 cmp.w r3, #1048576 @ 0x100000 - 80049d8: d10c bne.n 80049f4 - 80049da: 683b ldr r3, [r7, #0] - 80049dc: 681b ldr r3, [r3, #0] - 80049de: 2b00 cmp r3, #0 - 80049e0: d008 beq.n 80049f4 + 8005354: 683b ldr r3, [r7, #0] + 8005356: 6b5b ldr r3, [r3, #52] @ 0x34 + 8005358: f5b3 1f80 cmp.w r3, #1048576 @ 0x100000 + 800535c: d10c bne.n 8005378 + 800535e: 683b ldr r3, [r7, #0] + 8005360: 681b ldr r3, [r3, #0] + 8005362: 2b00 cmp r3, #0 + 8005364: d008 beq.n 8005378 { MODIFY_REG(Device->BTCR[FMC_NORSRAM_BANK1], FMC_BCR1_CCLKEN, Init->ContinuousClock); - 80049e2: 687b ldr r3, [r7, #4] - 80049e4: 681b ldr r3, [r3, #0] - 80049e6: f423 1280 bic.w r2, r3, #1048576 @ 0x100000 - 80049ea: 683b ldr r3, [r7, #0] - 80049ec: 6b5b ldr r3, [r3, #52] @ 0x34 - 80049ee: 431a orrs r2, r3 - 80049f0: 687b ldr r3, [r7, #4] - 80049f2: 601a str r2, [r3, #0] + 8005366: 687b ldr r3, [r7, #4] + 8005368: 681b ldr r3, [r3, #0] + 800536a: f423 1280 bic.w r2, r3, #1048576 @ 0x100000 + 800536e: 683b ldr r3, [r7, #0] + 8005370: 6b5b ldr r3, [r3, #52] @ 0x34 + 8005372: 431a orrs r2, r3 + 8005374: 687b ldr r3, [r7, #4] + 8005376: 601a str r2, [r3, #0] /* Configure Write FIFO mode when Write Fifo is enabled for bank2..4 */ SET_BIT(Device->BTCR[FMC_NORSRAM_BANK1], (uint32_t)(Init->WriteFifo)); } #endif /* FMC_BCR1_WFDIS */ return HAL_OK; - 80049f4: 2300 movs r3, #0 + 8005378: 2300 movs r3, #0 } - 80049f6: 4618 mov r0, r3 - 80049f8: 371c adds r7, #28 - 80049fa: 46bd mov sp, r7 - 80049fc: f85d 7b04 ldr.w r7, [sp], #4 - 8004a00: 4770 bx lr - 8004a02: bf00 nop - 8004a04: 0008fb7f .word 0x0008fb7f + 800537a: 4618 mov r0, r3 + 800537c: 371c adds r7, #28 + 800537e: 46bd mov sp, r7 + 8005380: f85d 7b04 ldr.w r7, [sp], #4 + 8005384: 4770 bx lr + 8005386: bf00 nop + 8005388: 0008fb7f .word 0x0008fb7f -08004a08 : +0800538c : * @param Bank NORSRAM bank number * @retval HAL status */ HAL_StatusTypeDef FMC_NORSRAM_Timing_Init(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank) { - 8004a08: b480 push {r7} - 8004a0a: b087 sub sp, #28 - 8004a0c: af00 add r7, sp, #0 - 8004a0e: 60f8 str r0, [r7, #12] - 8004a10: 60b9 str r1, [r7, #8] - 8004a12: 607a str r2, [r7, #4] + 800538c: b480 push {r7} + 800538e: b087 sub sp, #28 + 8005390: af00 add r7, sp, #0 + 8005392: 60f8 str r0, [r7, #12] + 8005394: 60b9 str r1, [r7, #8] + 8005396: 607a str r2, [r7, #4] assert_param(IS_FMC_DATA_LATENCY(Timing->DataLatency)); assert_param(IS_FMC_ACCESS_MODE(Timing->AccessMode)); assert_param(IS_FMC_NORSRAM_BANK(Bank)); /* Set FMC_NORSRAM device timing parameters */ MODIFY_REG(Device->BTCR[Bank + 1U], BTR_CLEAR_MASK, (Timing->AddressSetupTime | - 8004a14: 687b ldr r3, [r7, #4] - 8004a16: 1c5a adds r2, r3, #1 - 8004a18: 68fb ldr r3, [r7, #12] - 8004a1a: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8004a1e: f003 4140 and.w r1, r3, #3221225472 @ 0xc0000000 - 8004a22: 68bb ldr r3, [r7, #8] - 8004a24: 681a ldr r2, [r3, #0] - 8004a26: 68bb ldr r3, [r7, #8] - 8004a28: 685b ldr r3, [r3, #4] - 8004a2a: 011b lsls r3, r3, #4 - 8004a2c: 431a orrs r2, r3 - 8004a2e: 68bb ldr r3, [r7, #8] - 8004a30: 689b ldr r3, [r3, #8] - 8004a32: 021b lsls r3, r3, #8 - 8004a34: 431a orrs r2, r3 - 8004a36: 68bb ldr r3, [r7, #8] - 8004a38: 68db ldr r3, [r3, #12] - 8004a3a: 041b lsls r3, r3, #16 - 8004a3c: 431a orrs r2, r3 - 8004a3e: 68bb ldr r3, [r7, #8] - 8004a40: 691b ldr r3, [r3, #16] - 8004a42: 3b01 subs r3, #1 - 8004a44: 051b lsls r3, r3, #20 - 8004a46: 431a orrs r2, r3 - 8004a48: 68bb ldr r3, [r7, #8] - 8004a4a: 695b ldr r3, [r3, #20] - 8004a4c: 3b02 subs r3, #2 - 8004a4e: 061b lsls r3, r3, #24 - 8004a50: 431a orrs r2, r3 - 8004a52: 68bb ldr r3, [r7, #8] - 8004a54: 699b ldr r3, [r3, #24] - 8004a56: 4313 orrs r3, r2 - 8004a58: 687a ldr r2, [r7, #4] - 8004a5a: 3201 adds r2, #1 - 8004a5c: 4319 orrs r1, r3 - 8004a5e: 68fb ldr r3, [r7, #12] - 8004a60: f843 1022 str.w r1, [r3, r2, lsl #2] + 8005398: 687b ldr r3, [r7, #4] + 800539a: 1c5a adds r2, r3, #1 + 800539c: 68fb ldr r3, [r7, #12] + 800539e: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80053a2: f003 4140 and.w r1, r3, #3221225472 @ 0xc0000000 + 80053a6: 68bb ldr r3, [r7, #8] + 80053a8: 681a ldr r2, [r3, #0] + 80053aa: 68bb ldr r3, [r7, #8] + 80053ac: 685b ldr r3, [r3, #4] + 80053ae: 011b lsls r3, r3, #4 + 80053b0: 431a orrs r2, r3 + 80053b2: 68bb ldr r3, [r7, #8] + 80053b4: 689b ldr r3, [r3, #8] + 80053b6: 021b lsls r3, r3, #8 + 80053b8: 431a orrs r2, r3 + 80053ba: 68bb ldr r3, [r7, #8] + 80053bc: 68db ldr r3, [r3, #12] + 80053be: 041b lsls r3, r3, #16 + 80053c0: 431a orrs r2, r3 + 80053c2: 68bb ldr r3, [r7, #8] + 80053c4: 691b ldr r3, [r3, #16] + 80053c6: 3b01 subs r3, #1 + 80053c8: 051b lsls r3, r3, #20 + 80053ca: 431a orrs r2, r3 + 80053cc: 68bb ldr r3, [r7, #8] + 80053ce: 695b ldr r3, [r3, #20] + 80053d0: 3b02 subs r3, #2 + 80053d2: 061b lsls r3, r3, #24 + 80053d4: 431a orrs r2, r3 + 80053d6: 68bb ldr r3, [r7, #8] + 80053d8: 699b ldr r3, [r3, #24] + 80053da: 4313 orrs r3, r2 + 80053dc: 687a ldr r2, [r7, #4] + 80053de: 3201 adds r2, #1 + 80053e0: 4319 orrs r1, r3 + 80053e2: 68fb ldr r3, [r7, #12] + 80053e4: f843 1022 str.w r1, [r3, r2, lsl #2] (((Timing->DataLatency) - 2U) << FMC_BTR1_DATLAT_Pos) | (Timing->AccessMode))); #if defined(FMC_BCR1_CCLKEN) /* Configure Clock division value (in NORSRAM bank 1) when continuous clock is enabled */ if (HAL_IS_BIT_SET(Device->BTCR[FMC_NORSRAM_BANK1], FMC_BCR1_CCLKEN)) - 8004a64: 68fb ldr r3, [r7, #12] - 8004a66: 681b ldr r3, [r3, #0] - 8004a68: f403 1380 and.w r3, r3, #1048576 @ 0x100000 - 8004a6c: f5b3 1f80 cmp.w r3, #1048576 @ 0x100000 - 8004a70: d113 bne.n 8004a9a + 80053e8: 68fb ldr r3, [r7, #12] + 80053ea: 681b ldr r3, [r3, #0] + 80053ec: f403 1380 and.w r3, r3, #1048576 @ 0x100000 + 80053f0: f5b3 1f80 cmp.w r3, #1048576 @ 0x100000 + 80053f4: d113 bne.n 800541e { tmpr = (uint32_t)(Device->BTCR[FMC_NORSRAM_BANK1 + 1U] & ~((0x0FU) << FMC_BTR1_CLKDIV_Pos)); - 8004a72: 68fb ldr r3, [r7, #12] - 8004a74: 685b ldr r3, [r3, #4] - 8004a76: f423 0370 bic.w r3, r3, #15728640 @ 0xf00000 - 8004a7a: 617b str r3, [r7, #20] + 80053f6: 68fb ldr r3, [r7, #12] + 80053f8: 685b ldr r3, [r3, #4] + 80053fa: f423 0370 bic.w r3, r3, #15728640 @ 0xf00000 + 80053fe: 617b str r3, [r7, #20] tmpr |= (uint32_t)(((Timing->CLKDivision) - 1U) << FMC_BTR1_CLKDIV_Pos); - 8004a7c: 68bb ldr r3, [r7, #8] - 8004a7e: 691b ldr r3, [r3, #16] - 8004a80: 3b01 subs r3, #1 - 8004a82: 051b lsls r3, r3, #20 - 8004a84: 697a ldr r2, [r7, #20] - 8004a86: 4313 orrs r3, r2 - 8004a88: 617b str r3, [r7, #20] + 8005400: 68bb ldr r3, [r7, #8] + 8005402: 691b ldr r3, [r3, #16] + 8005404: 3b01 subs r3, #1 + 8005406: 051b lsls r3, r3, #20 + 8005408: 697a ldr r2, [r7, #20] + 800540a: 4313 orrs r3, r2 + 800540c: 617b str r3, [r7, #20] MODIFY_REG(Device->BTCR[FMC_NORSRAM_BANK1 + 1U], FMC_BTR1_CLKDIV, tmpr); - 8004a8a: 68fb ldr r3, [r7, #12] - 8004a8c: 685b ldr r3, [r3, #4] - 8004a8e: f423 0270 bic.w r2, r3, #15728640 @ 0xf00000 - 8004a92: 697b ldr r3, [r7, #20] - 8004a94: 431a orrs r2, r3 - 8004a96: 68fb ldr r3, [r7, #12] - 8004a98: 605a str r2, [r3, #4] + 800540e: 68fb ldr r3, [r7, #12] + 8005410: 685b ldr r3, [r3, #4] + 8005412: f423 0270 bic.w r2, r3, #15728640 @ 0xf00000 + 8005416: 697b ldr r3, [r7, #20] + 8005418: 431a orrs r2, r3 + 800541a: 68fb ldr r3, [r7, #12] + 800541c: 605a str r2, [r3, #4] } #endif return HAL_OK; - 8004a9a: 2300 movs r3, #0 + 800541e: 2300 movs r3, #0 } - 8004a9c: 4618 mov r0, r3 - 8004a9e: 371c adds r7, #28 - 8004aa0: 46bd mov sp, r7 - 8004aa2: f85d 7b04 ldr.w r7, [sp], #4 - 8004aa6: 4770 bx lr + 8005420: 4618 mov r0, r3 + 8005422: 371c adds r7, #28 + 8005424: 46bd mov sp, r7 + 8005426: f85d 7b04 ldr.w r7, [sp], #4 + 800542a: 4770 bx lr -08004aa8 : +0800542c : * @retval HAL status */ HAL_StatusTypeDef FMC_NORSRAM_Extended_Timing_Init(FMC_NORSRAM_EXTENDED_TypeDef *Device, FMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank, uint32_t ExtendedMode) { - 8004aa8: b480 push {r7} - 8004aaa: b085 sub sp, #20 - 8004aac: af00 add r7, sp, #0 - 8004aae: 60f8 str r0, [r7, #12] - 8004ab0: 60b9 str r1, [r7, #8] - 8004ab2: 607a str r2, [r7, #4] - 8004ab4: 603b str r3, [r7, #0] + 800542c: b480 push {r7} + 800542e: b085 sub sp, #20 + 8005430: af00 add r7, sp, #0 + 8005432: 60f8 str r0, [r7, #12] + 8005434: 60b9 str r1, [r7, #8] + 8005436: 607a str r2, [r7, #4] + 8005438: 603b str r3, [r7, #0] /* Check the parameters */ assert_param(IS_FMC_EXTENDED_MODE(ExtendedMode)); /* Set NORSRAM device timing register for write configuration, if extended mode is used */ if (ExtendedMode == FMC_EXTENDED_MODE_ENABLE) - 8004ab6: 683b ldr r3, [r7, #0] - 8004ab8: f5b3 4f80 cmp.w r3, #16384 @ 0x4000 - 8004abc: d11d bne.n 8004afa + 800543a: 683b ldr r3, [r7, #0] + 800543c: f5b3 4f80 cmp.w r3, #16384 @ 0x4000 + 8005440: d11d bne.n 800547e assert_param(IS_FMC_TURNAROUND_TIME(Timing->BusTurnAroundDuration)); assert_param(IS_FMC_ACCESS_MODE(Timing->AccessMode)); assert_param(IS_FMC_NORSRAM_BANK(Bank)); /* Set NORSRAM device timing register for write configuration, if extended mode is used */ MODIFY_REG(Device->BWTR[Bank], BWTR_CLEAR_MASK, (Timing->AddressSetupTime | - 8004abe: 68fb ldr r3, [r7, #12] - 8004ac0: 687a ldr r2, [r7, #4] - 8004ac2: f853 2022 ldr.w r2, [r3, r2, lsl #2] - 8004ac6: 4b13 ldr r3, [pc, #76] @ (8004b14 ) - 8004ac8: 4013 ands r3, r2 - 8004aca: 68ba ldr r2, [r7, #8] - 8004acc: 6811 ldr r1, [r2, #0] - 8004ace: 68ba ldr r2, [r7, #8] - 8004ad0: 6852 ldr r2, [r2, #4] - 8004ad2: 0112 lsls r2, r2, #4 - 8004ad4: 4311 orrs r1, r2 - 8004ad6: 68ba ldr r2, [r7, #8] - 8004ad8: 6892 ldr r2, [r2, #8] - 8004ada: 0212 lsls r2, r2, #8 - 8004adc: 4311 orrs r1, r2 - 8004ade: 68ba ldr r2, [r7, #8] - 8004ae0: 6992 ldr r2, [r2, #24] - 8004ae2: 4311 orrs r1, r2 - 8004ae4: 68ba ldr r2, [r7, #8] - 8004ae6: 68d2 ldr r2, [r2, #12] - 8004ae8: 0412 lsls r2, r2, #16 - 8004aea: 430a orrs r2, r1 - 8004aec: ea43 0102 orr.w r1, r3, r2 - 8004af0: 68fb ldr r3, [r7, #12] - 8004af2: 687a ldr r2, [r7, #4] - 8004af4: f843 1022 str.w r1, [r3, r2, lsl #2] - 8004af8: e005 b.n 8004b06 + 8005442: 68fb ldr r3, [r7, #12] + 8005444: 687a ldr r2, [r7, #4] + 8005446: f853 2022 ldr.w r2, [r3, r2, lsl #2] + 800544a: 4b13 ldr r3, [pc, #76] @ (8005498 ) + 800544c: 4013 ands r3, r2 + 800544e: 68ba ldr r2, [r7, #8] + 8005450: 6811 ldr r1, [r2, #0] + 8005452: 68ba ldr r2, [r7, #8] + 8005454: 6852 ldr r2, [r2, #4] + 8005456: 0112 lsls r2, r2, #4 + 8005458: 4311 orrs r1, r2 + 800545a: 68ba ldr r2, [r7, #8] + 800545c: 6892 ldr r2, [r2, #8] + 800545e: 0212 lsls r2, r2, #8 + 8005460: 4311 orrs r1, r2 + 8005462: 68ba ldr r2, [r7, #8] + 8005464: 6992 ldr r2, [r2, #24] + 8005466: 4311 orrs r1, r2 + 8005468: 68ba ldr r2, [r7, #8] + 800546a: 68d2 ldr r2, [r2, #12] + 800546c: 0412 lsls r2, r2, #16 + 800546e: 430a orrs r2, r1 + 8005470: ea43 0102 orr.w r1, r3, r2 + 8005474: 68fb ldr r3, [r7, #12] + 8005476: 687a ldr r2, [r7, #4] + 8005478: f843 1022 str.w r1, [r3, r2, lsl #2] + 800547c: e005 b.n 800548a Timing->AccessMode | ((Timing->BusTurnAroundDuration) << FMC_BWTR1_BUSTURN_Pos))); } else { Device->BWTR[Bank] = 0x0FFFFFFFU; - 8004afa: 68fb ldr r3, [r7, #12] - 8004afc: 687a ldr r2, [r7, #4] - 8004afe: f06f 4170 mvn.w r1, #4026531840 @ 0xf0000000 - 8004b02: f843 1022 str.w r1, [r3, r2, lsl #2] + 800547e: 68fb ldr r3, [r7, #12] + 8005480: 687a ldr r2, [r7, #4] + 8005482: f06f 4170 mvn.w r1, #4026531840 @ 0xf0000000 + 8005486: f843 1022 str.w r1, [r3, r2, lsl #2] } return HAL_OK; - 8004b06: 2300 movs r3, #0 + 800548a: 2300 movs r3, #0 } - 8004b08: 4618 mov r0, r3 - 8004b0a: 3714 adds r7, #20 - 8004b0c: 46bd mov sp, r7 - 8004b0e: f85d 7b04 ldr.w r7, [sp], #4 - 8004b12: 4770 bx lr - 8004b14: cff00000 .word 0xcff00000 + 800548c: 4618 mov r0, r3 + 800548e: 3714 adds r7, #20 + 8005490: 46bd mov sp, r7 + 8005492: f85d 7b04 ldr.w r7, [sp], #4 + 8005496: 4770 bx lr + 8005498: cff00000 .word 0xcff00000 -08004b18 : +0800549c : /** * LwIP initialization function */ void MX_LWIP_Init(void) { - 8004b18: b580 push {r7, lr} - 8004b1a: b084 sub sp, #16 - 8004b1c: af04 add r7, sp, #16 + 800549c: b580 push {r7, lr} + 800549e: b084 sub sp, #16 + 80054a0: af04 add r7, sp, #16 /* Initilialize the LwIP stack without RTOS */ lwip_init(); - 8004b1e: f000 fc61 bl 80053e4 + 80054a2: f000 fc61 bl 8005d68 /* IP addresses initialization with DHCP (IPv4) */ ipaddr.addr = get_ip(); - 8004b22: f7fc fe71 bl 8001808 - 8004b26: 4603 mov r3, r0 - 8004b28: 4a1b ldr r2, [pc, #108] @ (8004b98 ) - 8004b2a: 6013 str r3, [r2, #0] + 80054a6: f7fc fb5f bl 8001b68 + 80054aa: 4603 mov r3, r0 + 80054ac: 4a1b ldr r2, [pc, #108] @ (800551c ) + 80054ae: 6013 str r3, [r2, #0] netmask.addr = ipaddr_addr("255.255.255.0"); - 8004b2c: 481b ldr r0, [pc, #108] @ (8004b9c ) - 8004b2e: f00b fc32 bl 8010396 - 8004b32: 4603 mov r3, r0 - 8004b34: 4a1a ldr r2, [pc, #104] @ (8004ba0 ) - 8004b36: 6013 str r3, [r2, #0] + 80054b0: 481b ldr r0, [pc, #108] @ (8005520 ) + 80054b2: f00b fc32 bl 8010d1a + 80054b6: 4603 mov r3, r0 + 80054b8: 4a1a ldr r2, [pc, #104] @ (8005524 ) + 80054ba: 6013 str r3, [r2, #0] gw.addr = ipaddr_addr("10.1.1.1"); - 8004b38: 481a ldr r0, [pc, #104] @ (8004ba4 ) - 8004b3a: f00b fc2c bl 8010396 - 8004b3e: 4603 mov r3, r0 - 8004b40: 4a19 ldr r2, [pc, #100] @ (8004ba8 ) - 8004b42: 6013 str r3, [r2, #0] + 80054bc: 481a ldr r0, [pc, #104] @ (8005528 ) + 80054be: f00b fc2c bl 8010d1a + 80054c2: 4603 mov r3, r0 + 80054c4: 4a19 ldr r2, [pc, #100] @ (800552c ) + 80054c6: 6013 str r3, [r2, #0] /* add the network interface (IPv4/IPv6) without RTOS */ netif_add(&gnetif, &ipaddr, &netmask, &gw, NULL, ðernetif_init, ðernet_input); - 8004b44: 4b19 ldr r3, [pc, #100] @ (8004bac ) - 8004b46: 9302 str r3, [sp, #8] - 8004b48: 4b19 ldr r3, [pc, #100] @ (8004bb0 ) - 8004b4a: 9301 str r3, [sp, #4] - 8004b4c: 2300 movs r3, #0 - 8004b4e: 9300 str r3, [sp, #0] - 8004b50: 4b15 ldr r3, [pc, #84] @ (8004ba8 ) - 8004b52: 4a13 ldr r2, [pc, #76] @ (8004ba0 ) - 8004b54: 4910 ldr r1, [pc, #64] @ (8004b98 ) - 8004b56: 4817 ldr r0, [pc, #92] @ (8004bb4 ) - 8004b58: f001 f918 bl 8005d8c + 80054c8: 4b19 ldr r3, [pc, #100] @ (8005530 ) + 80054ca: 9302 str r3, [sp, #8] + 80054cc: 4b19 ldr r3, [pc, #100] @ (8005534 ) + 80054ce: 9301 str r3, [sp, #4] + 80054d0: 2300 movs r3, #0 + 80054d2: 9300 str r3, [sp, #0] + 80054d4: 4b15 ldr r3, [pc, #84] @ (800552c ) + 80054d6: 4a13 ldr r2, [pc, #76] @ (8005524 ) + 80054d8: 4910 ldr r1, [pc, #64] @ (800551c ) + 80054da: 4817 ldr r0, [pc, #92] @ (8005538 ) + 80054dc: f001 f918 bl 8006710 /* Registers the default network interface */ netif_set_default(&gnetif); - 8004b5c: 4815 ldr r0, [pc, #84] @ (8004bb4 ) - 8004b5e: f001 facf bl 8006100 + 80054e0: 4815 ldr r0, [pc, #84] @ (8005538 ) + 80054e2: f001 facf bl 8006a84 if (netif_is_link_up(&gnetif)) - 8004b62: 4b14 ldr r3, [pc, #80] @ (8004bb4 ) - 8004b64: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 8004b68: 089b lsrs r3, r3, #2 - 8004b6a: f003 0301 and.w r3, r3, #1 - 8004b6e: b2db uxtb r3, r3 - 8004b70: 2b00 cmp r3, #0 - 8004b72: d003 beq.n 8004b7c + 80054e6: 4b14 ldr r3, [pc, #80] @ (8005538 ) + 80054e8: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 80054ec: 089b lsrs r3, r3, #2 + 80054ee: f003 0301 and.w r3, r3, #1 + 80054f2: b2db uxtb r3, r3 + 80054f4: 2b00 cmp r3, #0 + 80054f6: d003 beq.n 8005500 { /* When the netif is fully configured this function must be called */ netif_set_up(&gnetif); - 8004b74: 480f ldr r0, [pc, #60] @ (8004bb4 ) - 8004b76: f001 fad3 bl 8006120 - 8004b7a: e002 b.n 8004b82 + 80054f8: 480f ldr r0, [pc, #60] @ (8005538 ) + 80054fa: f001 fad3 bl 8006aa4 + 80054fe: e002 b.n 8005506 } else { /* When the netif link is down this function must be called */ netif_set_down(&gnetif); - 8004b7c: 480d ldr r0, [pc, #52] @ (8004bb4 ) - 8004b7e: f001 fb3b bl 80061f8 + 8005500: 480d ldr r0, [pc, #52] @ (8005538 ) + 8005502: f001 fb3b bl 8006b7c } /* Set the link callback function, this function is called on change of link status*/ netif_set_link_callback(&gnetif, ethernet_link_status_updated); - 8004b82: 490d ldr r1, [pc, #52] @ (8004bb8 ) - 8004b84: 480b ldr r0, [pc, #44] @ (8004bb4 ) - 8004b86: f001 fbd1 bl 800632c + 8005506: 490d ldr r1, [pc, #52] @ (800553c ) + 8005508: 480b ldr r0, [pc, #44] @ (8005538 ) + 800550a: f001 fbd1 bl 8006cb0 /* Create the Ethernet link handler thread */ /* Start DHCP negotiation for a network interface (IPv4) */ dhcp_start(&gnetif); - 8004b8a: 480a ldr r0, [pc, #40] @ (8004bb4 ) - 8004b8c: f008 fd20 bl 800d5d0 + 800550e: 480a ldr r0, [pc, #40] @ (8005538 ) + 8005510: f008 fd20 bl 800df54 /* USER CODE BEGIN 3 */ /* USER CODE END 3 */ } - 8004b90: bf00 nop - 8004b92: 46bd mov sp, r7 - 8004b94: bd80 pop {r7, pc} - 8004b96: bf00 nop - 8004b98: 2000156c .word 0x2000156c - 8004b9c: 08015fcc .word 0x08015fcc - 8004ba0: 20001570 .word 0x20001570 - 8004ba4: 08015fdc .word 0x08015fdc - 8004ba8: 20001574 .word 0x20001574 - 8004bac: 08011291 .word 0x08011291 - 8004bb0: 08004ec9 .word 0x08004ec9 - 8004bb4: 20001534 .word 0x20001534 - 8004bb8: 08004c0d .word 0x08004c0d + 8005514: bf00 nop + 8005516: 46bd mov sp, r7 + 8005518: bd80 pop {r7, pc} + 800551a: bf00 nop + 800551c: 200015a0 .word 0x200015a0 + 8005520: 0801694c .word 0x0801694c + 8005524: 200015a4 .word 0x200015a4 + 8005528: 0801695c .word 0x0801695c + 800552c: 200015a8 .word 0x200015a8 + 8005530: 08011c15 .word 0x08011c15 + 8005534: 0800584d .word 0x0800584d + 8005538: 20001568 .word 0x20001568 + 800553c: 08005591 .word 0x08005591 -08004bbc : +08005540 : * @brief Ethernet Link periodic check * @param netif * @retval None */ static void Ethernet_Link_Periodic_Handle(struct netif *netif) { - 8004bbc: b580 push {r7, lr} - 8004bbe: b082 sub sp, #8 - 8004bc0: af00 add r7, sp, #0 - 8004bc2: 6078 str r0, [r7, #4] + 8005540: b580 push {r7, lr} + 8005542: b082 sub sp, #8 + 8005544: af00 add r7, sp, #0 + 8005546: 6078 str r0, [r7, #4] /* USER CODE BEGIN 4_4_1 */ /* USER CODE END 4_4_1 */ /* Ethernet Link every 100ms */ if (HAL_GetTick() - EthernetLinkTimer >= 100) - 8004bc4: f7fd f998 bl 8001ef8 - 8004bc8: 4602 mov r2, r0 - 8004bca: 4b08 ldr r3, [pc, #32] @ (8004bec ) - 8004bcc: 681b ldr r3, [r3, #0] - 8004bce: 1ad3 subs r3, r2, r3 - 8004bd0: 2b63 cmp r3, #99 @ 0x63 - 8004bd2: d907 bls.n 8004be4 + 8005548: f7fc fe86 bl 8002258 + 800554c: 4602 mov r2, r0 + 800554e: 4b08 ldr r3, [pc, #32] @ (8005570 ) + 8005550: 681b ldr r3, [r3, #0] + 8005552: 1ad3 subs r3, r2, r3 + 8005554: 2b63 cmp r3, #99 @ 0x63 + 8005556: d907 bls.n 8005568 { EthernetLinkTimer = HAL_GetTick(); - 8004bd4: f7fd f990 bl 8001ef8 - 8004bd8: 4603 mov r3, r0 - 8004bda: 4a04 ldr r2, [pc, #16] @ (8004bec ) - 8004bdc: 6013 str r3, [r2, #0] + 8005558: f7fc fe7e bl 8002258 + 800555c: 4603 mov r3, r0 + 800555e: 4a04 ldr r2, [pc, #16] @ (8005570 ) + 8005560: 6013 str r3, [r2, #0] ethernet_link_check_state(netif); - 8004bde: 6878 ldr r0, [r7, #4] - 8004be0: f000 fad6 bl 8005190 + 8005562: 6878 ldr r0, [r7, #4] + 8005564: f000 fad6 bl 8005b14 } /* USER CODE BEGIN 4_4 */ /* USER CODE END 4_4 */ } - 8004be4: bf00 nop - 8004be6: 3708 adds r7, #8 - 8004be8: 46bd mov sp, r7 - 8004bea: bd80 pop {r7, pc} - 8004bec: 20001530 .word 0x20001530 + 8005568: bf00 nop + 800556a: 3708 adds r7, #8 + 800556c: 46bd mov sp, r7 + 800556e: bd80 pop {r7, pc} + 8005570: 20001564 .word 0x20001564 -08004bf0 : +08005574 : * Send it to the lwIP stack for handling * Handle timeouts if LWIP_TIMERS is set and without RTOS * Handle the llink status if LWIP_NETIF_LINK_CALLBACK is set and without RTOS */ void MX_LWIP_Process(void) { - 8004bf0: b580 push {r7, lr} - 8004bf2: af00 add r7, sp, #0 + 8005574: b580 push {r7, lr} + 8005576: af00 add r7, sp, #0 /* USER CODE BEGIN 4_1 */ /* USER CODE END 4_1 */ ethernetif_input(&gnetif); - 8004bf4: 4804 ldr r0, [pc, #16] @ (8004c08 ) - 8004bf6: f000 f947 bl 8004e88 + 8005578: 4804 ldr r0, [pc, #16] @ (800558c ) + 800557a: f000 f947 bl 800580c /* USER CODE BEGIN 4_2 */ /* USER CODE END 4_2 */ /* Handle timeouts */ sys_check_timeouts(); - 8004bfa: f007 fc13 bl 800c424 + 800557e: f007 fc13 bl 800cda8 Ethernet_Link_Periodic_Handle(&gnetif); - 8004bfe: 4802 ldr r0, [pc, #8] @ (8004c08 ) - 8004c00: f7ff ffdc bl 8004bbc + 8005582: 4802 ldr r0, [pc, #8] @ (800558c ) + 8005584: f7ff ffdc bl 8005540 + /* USER CODE BEGIN 4_3 */ /* USER CODE END 4_3 */ } - 8004c04: bf00 nop - 8004c06: bd80 pop {r7, pc} - 8004c08: 20001534 .word 0x20001534 + 8005588: bf00 nop + 800558a: bd80 pop {r7, pc} + 800558c: 20001568 .word 0x20001568 -08004c0c : +08005590 : * @brief Notify the User about the network interface config status * @param netif: the network interface * @retval None */ static void ethernet_link_status_updated(struct netif *netif) { - 8004c0c: b480 push {r7} - 8004c0e: b083 sub sp, #12 - 8004c10: af00 add r7, sp, #0 - 8004c12: 6078 str r0, [r7, #4] + 8005590: b480 push {r7} + 8005592: b083 sub sp, #12 + 8005594: af00 add r7, sp, #0 + 8005596: 6078 str r0, [r7, #4] else /* netif is down */ { /* USER CODE BEGIN 6 */ /* USER CODE END 6 */ } } - 8004c14: bf00 nop - 8004c16: 370c adds r7, #12 - 8004c18: 46bd mov sp, r7 - 8004c1a: f85d 7b04 ldr.w r7, [sp], #4 - 8004c1e: 4770 bx lr + 8005598: bf00 nop + 800559a: 370c adds r7, #12 + 800559c: 46bd mov sp, r7 + 800559e: f85d 7b04 ldr.w r7, [sp], #4 + 80055a2: 4770 bx lr -08004c20 : +080055a4 : * * @param netif the already initialized lwip network interface structure * for this ethernetif */ static void low_level_init(struct netif *netif) { - 8004c20: b580 push {r7, lr} - 8004c22: b084 sub sp, #16 - 8004c24: af00 add r7, sp, #0 - 8004c26: 6078 str r0, [r7, #4] + 80055a4: b580 push {r7, lr} + 80055a6: b084 sub sp, #16 + 80055a8: af00 add r7, sp, #0 + 80055aa: 6078 str r0, [r7, #4] HAL_StatusTypeDef hal_eth_init_status = HAL_OK; - 8004c28: 2300 movs r3, #0 - 8004c2a: 73fb strb r3, [r7, #15] + 80055ac: 2300 movs r3, #0 + 80055ae: 73fb strb r3, [r7, #15] /* Start ETH HAL Init */ uint8_t MACAddr[6] ; heth.Instance = ETH; - 8004c2c: 4b40 ldr r3, [pc, #256] @ (8004d30 ) - 8004c2e: 4a41 ldr r2, [pc, #260] @ (8004d34 ) - 8004c30: 601a str r2, [r3, #0] + 80055b0: 4b40 ldr r3, [pc, #256] @ (80056b4 ) + 80055b2: 4a41 ldr r2, [pc, #260] @ (80056b8 ) + 80055b4: 601a str r2, [r3, #0] MACAddr[0] = 0x00; - 8004c32: 2300 movs r3, #0 - 8004c34: 723b strb r3, [r7, #8] + 80055b6: 2300 movs r3, #0 + 80055b8: 723b strb r3, [r7, #8] MACAddr[1] = 0x80; - 8004c36: 2380 movs r3, #128 @ 0x80 - 8004c38: 727b strb r3, [r7, #9] + 80055ba: 2380 movs r3, #128 @ 0x80 + 80055bc: 727b strb r3, [r7, #9] MACAddr[2] = 0xE1; - 8004c3a: 23e1 movs r3, #225 @ 0xe1 - 8004c3c: 72bb strb r3, [r7, #10] + 80055be: 23e1 movs r3, #225 @ 0xe1 + 80055c0: 72bb strb r3, [r7, #10] MACAddr[3] = 0x00; - 8004c3e: 2300 movs r3, #0 - 8004c40: 72fb strb r3, [r7, #11] + 80055c2: 2300 movs r3, #0 + 80055c4: 72fb strb r3, [r7, #11] MACAddr[4] = 0x00; - 8004c42: 2300 movs r3, #0 - 8004c44: 733b strb r3, [r7, #12] + 80055c6: 2300 movs r3, #0 + 80055c8: 733b strb r3, [r7, #12] MACAddr[5] = 0x00; - 8004c46: 2300 movs r3, #0 - 8004c48: 737b strb r3, [r7, #13] + 80055ca: 2300 movs r3, #0 + 80055cc: 737b strb r3, [r7, #13] heth.Init.MACAddr = &MACAddr[0]; - 8004c4a: 4a39 ldr r2, [pc, #228] @ (8004d30 ) - 8004c4c: f107 0308 add.w r3, r7, #8 - 8004c50: 6053 str r3, [r2, #4] + 80055ce: 4a39 ldr r2, [pc, #228] @ (80056b4 ) + 80055d0: f107 0308 add.w r3, r7, #8 + 80055d4: 6053 str r3, [r2, #4] heth.Init.MediaInterface = HAL_ETH_RMII_MODE; - 8004c52: 4b37 ldr r3, [pc, #220] @ (8004d30 ) - 8004c54: f44f 0200 mov.w r2, #8388608 @ 0x800000 - 8004c58: 609a str r2, [r3, #8] + 80055d6: 4b37 ldr r3, [pc, #220] @ (80056b4 ) + 80055d8: f44f 0200 mov.w r2, #8388608 @ 0x800000 + 80055dc: 609a str r2, [r3, #8] heth.Init.TxDesc = DMATxDscrTab; - 8004c5a: 4b35 ldr r3, [pc, #212] @ (8004d30 ) - 8004c5c: 4a36 ldr r2, [pc, #216] @ (8004d38 ) - 8004c5e: 60da str r2, [r3, #12] + 80055de: 4b35 ldr r3, [pc, #212] @ (80056b4 ) + 80055e0: 4a36 ldr r2, [pc, #216] @ (80056bc ) + 80055e2: 60da str r2, [r3, #12] heth.Init.RxDesc = DMARxDscrTab; - 8004c60: 4b33 ldr r3, [pc, #204] @ (8004d30 ) - 8004c62: 4a36 ldr r2, [pc, #216] @ (8004d3c ) - 8004c64: 611a str r2, [r3, #16] + 80055e4: 4b33 ldr r3, [pc, #204] @ (80056b4 ) + 80055e6: 4a36 ldr r2, [pc, #216] @ (80056c0 ) + 80055e8: 611a str r2, [r3, #16] heth.Init.RxBuffLen = 1536; - 8004c66: 4b32 ldr r3, [pc, #200] @ (8004d30 ) - 8004c68: f44f 62c0 mov.w r2, #1536 @ 0x600 - 8004c6c: 615a str r2, [r3, #20] + 80055ea: 4b32 ldr r3, [pc, #200] @ (80056b4 ) + 80055ec: f44f 62c0 mov.w r2, #1536 @ 0x600 + 80055f0: 615a str r2, [r3, #20] /* USER CODE BEGIN MACADDRESS */ /* USER CODE END MACADDRESS */ hal_eth_init_status = HAL_ETH_Init(&heth); - 8004c6e: 4830 ldr r0, [pc, #192] @ (8004d30 ) - 8004c70: f7fd fa84 bl 800217c - 8004c74: 4603 mov r3, r0 - 8004c76: 73fb strb r3, [r7, #15] + 80055f2: 4830 ldr r0, [pc, #192] @ (80056b4 ) + 80055f4: f7fc ff72 bl 80024dc + 80055f8: 4603 mov r3, r0 + 80055fa: 73fb strb r3, [r7, #15] memset(&TxConfig, 0 , sizeof(ETH_TxPacketConfig)); - 8004c78: 2238 movs r2, #56 @ 0x38 - 8004c7a: 2100 movs r1, #0 - 8004c7c: 4830 ldr r0, [pc, #192] @ (8004d40 ) - 8004c7e: f00c fd3a bl 80116f6 + 80055fc: 2238 movs r2, #56 @ 0x38 + 80055fe: 2100 movs r1, #0 + 8005600: 4830 ldr r0, [pc, #192] @ (80056c4 ) + 8005602: f00c fd3a bl 801207a TxConfig.Attributes = ETH_TX_PACKETS_FEATURES_CSUM | ETH_TX_PACKETS_FEATURES_CRCPAD; - 8004c82: 4b2f ldr r3, [pc, #188] @ (8004d40 ) - 8004c84: 2221 movs r2, #33 @ 0x21 - 8004c86: 601a str r2, [r3, #0] + 8005606: 4b2f ldr r3, [pc, #188] @ (80056c4 ) + 8005608: 2221 movs r2, #33 @ 0x21 + 800560a: 601a str r2, [r3, #0] TxConfig.ChecksumCtrl = ETH_CHECKSUM_IPHDR_PAYLOAD_INSERT_PHDR_CALC; - 8004c88: 4b2d ldr r3, [pc, #180] @ (8004d40 ) - 8004c8a: f44f 0240 mov.w r2, #12582912 @ 0xc00000 - 8004c8e: 615a str r2, [r3, #20] + 800560c: 4b2d ldr r3, [pc, #180] @ (80056c4 ) + 800560e: f44f 0240 mov.w r2, #12582912 @ 0xc00000 + 8005612: 615a str r2, [r3, #20] TxConfig.CRCPadCtrl = ETH_CRC_PAD_INSERT; - 8004c90: 4b2b ldr r3, [pc, #172] @ (8004d40 ) - 8004c92: 2200 movs r2, #0 - 8004c94: 611a str r2, [r3, #16] + 8005614: 4b2b ldr r3, [pc, #172] @ (80056c4 ) + 8005616: 2200 movs r2, #0 + 8005618: 611a str r2, [r3, #16] /* End ETH HAL Init */ /* Initialize the RX POOL */ LWIP_MEMPOOL_INIT(RX_POOL); - 8004c96: 482b ldr r0, [pc, #172] @ (8004d44 ) - 8004c98: f000 ff40 bl 8005b1c + 800561a: 482b ldr r0, [pc, #172] @ (80056c8 ) + 800561c: f000 ff40 bl 80064a0 #if LWIP_ARP || LWIP_ETHERNET /* set MAC hardware address length */ netif->hwaddr_len = ETH_HWADDR_LEN; - 8004c9c: 687b ldr r3, [r7, #4] - 8004c9e: 2206 movs r2, #6 - 8004ca0: f883 2030 strb.w r2, [r3, #48] @ 0x30 + 8005620: 687b ldr r3, [r7, #4] + 8005622: 2206 movs r2, #6 + 8005624: f883 2030 strb.w r2, [r3, #48] @ 0x30 /* set MAC hardware address */ netif->hwaddr[0] = heth.Init.MACAddr[0]; - 8004ca4: 4b22 ldr r3, [pc, #136] @ (8004d30 ) - 8004ca6: 685b ldr r3, [r3, #4] - 8004ca8: 781a ldrb r2, [r3, #0] - 8004caa: 687b ldr r3, [r7, #4] - 8004cac: f883 202a strb.w r2, [r3, #42] @ 0x2a + 8005628: 4b22 ldr r3, [pc, #136] @ (80056b4 ) + 800562a: 685b ldr r3, [r3, #4] + 800562c: 781a ldrb r2, [r3, #0] + 800562e: 687b ldr r3, [r7, #4] + 8005630: f883 202a strb.w r2, [r3, #42] @ 0x2a netif->hwaddr[1] = heth.Init.MACAddr[1]; - 8004cb0: 4b1f ldr r3, [pc, #124] @ (8004d30 ) - 8004cb2: 685b ldr r3, [r3, #4] - 8004cb4: 785a ldrb r2, [r3, #1] - 8004cb6: 687b ldr r3, [r7, #4] - 8004cb8: f883 202b strb.w r2, [r3, #43] @ 0x2b + 8005634: 4b1f ldr r3, [pc, #124] @ (80056b4 ) + 8005636: 685b ldr r3, [r3, #4] + 8005638: 785a ldrb r2, [r3, #1] + 800563a: 687b ldr r3, [r7, #4] + 800563c: f883 202b strb.w r2, [r3, #43] @ 0x2b netif->hwaddr[2] = heth.Init.MACAddr[2]; - 8004cbc: 4b1c ldr r3, [pc, #112] @ (8004d30 ) - 8004cbe: 685b ldr r3, [r3, #4] - 8004cc0: 789a ldrb r2, [r3, #2] - 8004cc2: 687b ldr r3, [r7, #4] - 8004cc4: f883 202c strb.w r2, [r3, #44] @ 0x2c + 8005640: 4b1c ldr r3, [pc, #112] @ (80056b4 ) + 8005642: 685b ldr r3, [r3, #4] + 8005644: 789a ldrb r2, [r3, #2] + 8005646: 687b ldr r3, [r7, #4] + 8005648: f883 202c strb.w r2, [r3, #44] @ 0x2c netif->hwaddr[3] = heth.Init.MACAddr[3]; - 8004cc8: 4b19 ldr r3, [pc, #100] @ (8004d30 ) - 8004cca: 685b ldr r3, [r3, #4] - 8004ccc: 78da ldrb r2, [r3, #3] - 8004cce: 687b ldr r3, [r7, #4] - 8004cd0: f883 202d strb.w r2, [r3, #45] @ 0x2d + 800564c: 4b19 ldr r3, [pc, #100] @ (80056b4 ) + 800564e: 685b ldr r3, [r3, #4] + 8005650: 78da ldrb r2, [r3, #3] + 8005652: 687b ldr r3, [r7, #4] + 8005654: f883 202d strb.w r2, [r3, #45] @ 0x2d netif->hwaddr[4] = heth.Init.MACAddr[4]; - 8004cd4: 4b16 ldr r3, [pc, #88] @ (8004d30 ) - 8004cd6: 685b ldr r3, [r3, #4] - 8004cd8: 791a ldrb r2, [r3, #4] - 8004cda: 687b ldr r3, [r7, #4] - 8004cdc: f883 202e strb.w r2, [r3, #46] @ 0x2e + 8005658: 4b16 ldr r3, [pc, #88] @ (80056b4 ) + 800565a: 685b ldr r3, [r3, #4] + 800565c: 791a ldrb r2, [r3, #4] + 800565e: 687b ldr r3, [r7, #4] + 8005660: f883 202e strb.w r2, [r3, #46] @ 0x2e netif->hwaddr[5] = heth.Init.MACAddr[5]; - 8004ce0: 4b13 ldr r3, [pc, #76] @ (8004d30 ) - 8004ce2: 685b ldr r3, [r3, #4] - 8004ce4: 795a ldrb r2, [r3, #5] - 8004ce6: 687b ldr r3, [r7, #4] - 8004ce8: f883 202f strb.w r2, [r3, #47] @ 0x2f + 8005664: 4b13 ldr r3, [pc, #76] @ (80056b4 ) + 8005666: 685b ldr r3, [r3, #4] + 8005668: 795a ldrb r2, [r3, #5] + 800566a: 687b ldr r3, [r7, #4] + 800566c: f883 202f strb.w r2, [r3, #47] @ 0x2f /* maximum transfer unit */ netif->mtu = ETH_MAX_PAYLOAD; - 8004cec: 687b ldr r3, [r7, #4] - 8004cee: f240 52dc movw r2, #1500 @ 0x5dc - 8004cf2: 851a strh r2, [r3, #40] @ 0x28 + 8005670: 687b ldr r3, [r7, #4] + 8005672: f240 52dc movw r2, #1500 @ 0x5dc + 8005676: 851a strh r2, [r3, #40] @ 0x28 /* Accept broadcast address and ARP traffic */ /* don't set NETIF_FLAG_ETHARP if this device is not an ethernet one */ #if LWIP_ARP netif->flags |= NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP; - 8004cf4: 687b ldr r3, [r7, #4] - 8004cf6: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 8004cfa: f043 030a orr.w r3, r3, #10 - 8004cfe: b2da uxtb r2, r3 - 8004d00: 687b ldr r3, [r7, #4] - 8004d02: f883 2031 strb.w r2, [r3, #49] @ 0x31 + 8005678: 687b ldr r3, [r7, #4] + 800567a: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 800567e: f043 030a orr.w r3, r3, #10 + 8005682: b2da uxtb r2, r3 + 8005684: 687b ldr r3, [r7, #4] + 8005686: f883 2031 strb.w r2, [r3, #49] @ 0x31 /* USER CODE BEGIN PHY_PRE_CONFIG */ /* USER CODE END PHY_PRE_CONFIG */ /* Set PHY IO functions */ DP83848_RegisterBusIO(&DP83848, &DP83848_IOCtx); - 8004d06: 4910 ldr r1, [pc, #64] @ (8004d48 ) - 8004d08: 4810 ldr r0, [pc, #64] @ (8004d4c ) - 8004d0a: f7fc ff2e bl 8001b6a + 800568a: 4910 ldr r1, [pc, #64] @ (80056cc ) + 800568c: 4810 ldr r0, [pc, #64] @ (80056d0 ) + 800568e: f7fc fc1c bl 8001eca /* Initialize the DP83848 ETH PHY */ DP83848_Init(&DP83848); - 8004d0e: 480f ldr r0, [pc, #60] @ (8004d4c ) - 8004d10: f7fc ff5d bl 8001bce + 8005692: 480f ldr r0, [pc, #60] @ (80056d0 ) + 8005694: f7fc fc4b bl 8001f2e if (hal_eth_init_status == HAL_OK) - 8004d14: 7bfb ldrb r3, [r7, #15] - 8004d16: 2b00 cmp r3, #0 - 8004d18: d103 bne.n 8004d22 + 8005698: 7bfb ldrb r3, [r7, #15] + 800569a: 2b00 cmp r3, #0 + 800569c: d103 bne.n 80056a6 { /* Get link state */ ethernet_link_check_state(netif); - 8004d1a: 6878 ldr r0, [r7, #4] - 8004d1c: f000 fa38 bl 8005190 + 800569e: 6878 ldr r0, [r7, #4] + 80056a0: f000 fa38 bl 8005b14 #endif /* LWIP_ARP || LWIP_ETHERNET */ /* USER CODE BEGIN LOW_LEVEL_INIT */ /* USER CODE END LOW_LEVEL_INIT */ } - 8004d20: e001 b.n 8004d26 + 80056a4: e001 b.n 80056aa Error_Handler(); - 8004d22: f7fc fd6a bl 80017fa + 80056a6: f7fc fa58 bl 8001b5a } - 8004d26: bf00 nop - 8004d28: 3710 adds r7, #16 - 8004d2a: 46bd mov sp, r7 - 8004d2c: bd80 pop {r7, pc} - 8004d2e: bf00 nop - 8004d30: 20006044 .word 0x20006044 - 8004d34: 40028000 .word 0x40028000 - 8004d38: 20005fa4 .word 0x20005fa4 - 8004d3c: 20005f04 .word 0x20005f04 - 8004d40: 200060f4 .word 0x200060f4 - 8004d44: 08018de8 .word 0x08018de8 - 8004d48: 2000000c .word 0x2000000c - 8004d4c: 2000612c .word 0x2000612c + 80056aa: bf00 nop + 80056ac: 3710 adds r7, #16 + 80056ae: 46bd mov sp, r7 + 80056b0: bd80 pop {r7, pc} + 80056b2: bf00 nop + 80056b4: 20006078 .word 0x20006078 + 80056b8: 40028000 .word 0x40028000 + 80056bc: 20005fd8 .word 0x20005fd8 + 80056c0: 20005f38 .word 0x20005f38 + 80056c4: 20006128 .word 0x20006128 + 80056c8: 08019768 .word 0x08019768 + 80056cc: 2000000c .word 0x2000000c + 80056d0: 20006160 .word 0x20006160 -08004d50 : +080056d4 : * to become available since the stack doesn't retry to send a packet * dropped because of memory failure (except for the TCP timers). */ static err_t low_level_output(struct netif *netif, struct pbuf *p) { - 8004d50: b580 push {r7, lr} - 8004d52: b092 sub sp, #72 @ 0x48 - 8004d54: af00 add r7, sp, #0 - 8004d56: 6078 str r0, [r7, #4] - 8004d58: 6039 str r1, [r7, #0] + 80056d4: b580 push {r7, lr} + 80056d6: b092 sub sp, #72 @ 0x48 + 80056d8: af00 add r7, sp, #0 + 80056da: 6078 str r0, [r7, #4] + 80056dc: 6039 str r1, [r7, #0] uint32_t i = 0U; - 8004d5a: 2300 movs r3, #0 - 8004d5c: 647b str r3, [r7, #68] @ 0x44 + 80056de: 2300 movs r3, #0 + 80056e0: 647b str r3, [r7, #68] @ 0x44 struct pbuf *q = NULL; - 8004d5e: 2300 movs r3, #0 - 8004d60: 643b str r3, [r7, #64] @ 0x40 + 80056e2: 2300 movs r3, #0 + 80056e4: 643b str r3, [r7, #64] @ 0x40 err_t errval = ERR_OK; - 8004d62: 2300 movs r3, #0 - 8004d64: f887 303f strb.w r3, [r7, #63] @ 0x3f + 80056e6: 2300 movs r3, #0 + 80056e8: f887 303f strb.w r3, [r7, #63] @ 0x3f ETH_BufferTypeDef Txbuffer[ETH_TX_DESC_CNT] = {0}; - 8004d68: f107 030c add.w r3, r7, #12 - 8004d6c: 2230 movs r2, #48 @ 0x30 - 8004d6e: 2100 movs r1, #0 - 8004d70: 4618 mov r0, r3 - 8004d72: f00c fcc0 bl 80116f6 + 80056ec: f107 030c add.w r3, r7, #12 + 80056f0: 2230 movs r2, #48 @ 0x30 + 80056f2: 2100 movs r1, #0 + 80056f4: 4618 mov r0, r3 + 80056f6: f00c fcc0 bl 801207a memset(Txbuffer, 0 , ETH_TX_DESC_CNT*sizeof(ETH_BufferTypeDef)); - 8004d76: f107 030c add.w r3, r7, #12 - 8004d7a: 2230 movs r2, #48 @ 0x30 - 8004d7c: 2100 movs r1, #0 - 8004d7e: 4618 mov r0, r3 - 8004d80: f00c fcb9 bl 80116f6 + 80056fa: f107 030c add.w r3, r7, #12 + 80056fe: 2230 movs r2, #48 @ 0x30 + 8005700: 2100 movs r1, #0 + 8005702: 4618 mov r0, r3 + 8005704: f00c fcb9 bl 801207a for(q = p; q != NULL; q = q->next) - 8004d84: 683b ldr r3, [r7, #0] - 8004d86: 643b str r3, [r7, #64] @ 0x40 - 8004d88: e045 b.n 8004e16 + 8005708: 683b ldr r3, [r7, #0] + 800570a: 643b str r3, [r7, #64] @ 0x40 + 800570c: e045 b.n 800579a { if(i >= ETH_TX_DESC_CNT) - 8004d8a: 6c7b ldr r3, [r7, #68] @ 0x44 - 8004d8c: 2b03 cmp r3, #3 - 8004d8e: d902 bls.n 8004d96 + 800570e: 6c7b ldr r3, [r7, #68] @ 0x44 + 8005710: 2b03 cmp r3, #3 + 8005712: d902 bls.n 800571a return ERR_IF; - 8004d90: f06f 030b mvn.w r3, #11 - 8004d94: e055 b.n 8004e42 + 8005714: f06f 030b mvn.w r3, #11 + 8005718: e055 b.n 80057c6 Txbuffer[i].buffer = q->payload; - 8004d96: 6c3b ldr r3, [r7, #64] @ 0x40 - 8004d98: 6859 ldr r1, [r3, #4] - 8004d9a: 6c7a ldr r2, [r7, #68] @ 0x44 - 8004d9c: 4613 mov r3, r2 - 8004d9e: 005b lsls r3, r3, #1 - 8004da0: 4413 add r3, r2 - 8004da2: 009b lsls r3, r3, #2 - 8004da4: 3348 adds r3, #72 @ 0x48 - 8004da6: 443b add r3, r7 - 8004da8: 3b3c subs r3, #60 @ 0x3c - 8004daa: 6019 str r1, [r3, #0] + 800571a: 6c3b ldr r3, [r7, #64] @ 0x40 + 800571c: 6859 ldr r1, [r3, #4] + 800571e: 6c7a ldr r2, [r7, #68] @ 0x44 + 8005720: 4613 mov r3, r2 + 8005722: 005b lsls r3, r3, #1 + 8005724: 4413 add r3, r2 + 8005726: 009b lsls r3, r3, #2 + 8005728: 3348 adds r3, #72 @ 0x48 + 800572a: 443b add r3, r7 + 800572c: 3b3c subs r3, #60 @ 0x3c + 800572e: 6019 str r1, [r3, #0] Txbuffer[i].len = q->len; - 8004dac: 6c3b ldr r3, [r7, #64] @ 0x40 - 8004dae: 895b ldrh r3, [r3, #10] - 8004db0: 4619 mov r1, r3 - 8004db2: 6c7a ldr r2, [r7, #68] @ 0x44 - 8004db4: 4613 mov r3, r2 - 8004db6: 005b lsls r3, r3, #1 - 8004db8: 4413 add r3, r2 - 8004dba: 009b lsls r3, r3, #2 - 8004dbc: 3348 adds r3, #72 @ 0x48 - 8004dbe: 443b add r3, r7 - 8004dc0: 3b38 subs r3, #56 @ 0x38 - 8004dc2: 6019 str r1, [r3, #0] + 8005730: 6c3b ldr r3, [r7, #64] @ 0x40 + 8005732: 895b ldrh r3, [r3, #10] + 8005734: 4619 mov r1, r3 + 8005736: 6c7a ldr r2, [r7, #68] @ 0x44 + 8005738: 4613 mov r3, r2 + 800573a: 005b lsls r3, r3, #1 + 800573c: 4413 add r3, r2 + 800573e: 009b lsls r3, r3, #2 + 8005740: 3348 adds r3, #72 @ 0x48 + 8005742: 443b add r3, r7 + 8005744: 3b38 subs r3, #56 @ 0x38 + 8005746: 6019 str r1, [r3, #0] if(i>0) - 8004dc4: 6c7b ldr r3, [r7, #68] @ 0x44 - 8004dc6: 2b00 cmp r3, #0 - 8004dc8: d011 beq.n 8004dee + 8005748: 6c7b ldr r3, [r7, #68] @ 0x44 + 800574a: 2b00 cmp r3, #0 + 800574c: d011 beq.n 8005772 { Txbuffer[i-1].next = &Txbuffer[i]; - 8004dca: 6c7b ldr r3, [r7, #68] @ 0x44 - 8004dcc: 1e5a subs r2, r3, #1 - 8004dce: f107 000c add.w r0, r7, #12 - 8004dd2: 6c79 ldr r1, [r7, #68] @ 0x44 - 8004dd4: 460b mov r3, r1 - 8004dd6: 005b lsls r3, r3, #1 - 8004dd8: 440b add r3, r1 - 8004dda: 009b lsls r3, r3, #2 - 8004ddc: 18c1 adds r1, r0, r3 - 8004dde: 4613 mov r3, r2 - 8004de0: 005b lsls r3, r3, #1 - 8004de2: 4413 add r3, r2 - 8004de4: 009b lsls r3, r3, #2 - 8004de6: 3348 adds r3, #72 @ 0x48 - 8004de8: 443b add r3, r7 - 8004dea: 3b34 subs r3, #52 @ 0x34 - 8004dec: 6019 str r1, [r3, #0] + 800574e: 6c7b ldr r3, [r7, #68] @ 0x44 + 8005750: 1e5a subs r2, r3, #1 + 8005752: f107 000c add.w r0, r7, #12 + 8005756: 6c79 ldr r1, [r7, #68] @ 0x44 + 8005758: 460b mov r3, r1 + 800575a: 005b lsls r3, r3, #1 + 800575c: 440b add r3, r1 + 800575e: 009b lsls r3, r3, #2 + 8005760: 18c1 adds r1, r0, r3 + 8005762: 4613 mov r3, r2 + 8005764: 005b lsls r3, r3, #1 + 8005766: 4413 add r3, r2 + 8005768: 009b lsls r3, r3, #2 + 800576a: 3348 adds r3, #72 @ 0x48 + 800576c: 443b add r3, r7 + 800576e: 3b34 subs r3, #52 @ 0x34 + 8005770: 6019 str r1, [r3, #0] } if(q->next == NULL) - 8004dee: 6c3b ldr r3, [r7, #64] @ 0x40 - 8004df0: 681b ldr r3, [r3, #0] - 8004df2: 2b00 cmp r3, #0 - 8004df4: d109 bne.n 8004e0a + 8005772: 6c3b ldr r3, [r7, #64] @ 0x40 + 8005774: 681b ldr r3, [r3, #0] + 8005776: 2b00 cmp r3, #0 + 8005778: d109 bne.n 800578e { Txbuffer[i].next = NULL; - 8004df6: 6c7a ldr r2, [r7, #68] @ 0x44 - 8004df8: 4613 mov r3, r2 - 8004dfa: 005b lsls r3, r3, #1 - 8004dfc: 4413 add r3, r2 - 8004dfe: 009b lsls r3, r3, #2 - 8004e00: 3348 adds r3, #72 @ 0x48 - 8004e02: 443b add r3, r7 - 8004e04: 3b34 subs r3, #52 @ 0x34 - 8004e06: 2200 movs r2, #0 - 8004e08: 601a str r2, [r3, #0] + 800577a: 6c7a ldr r2, [r7, #68] @ 0x44 + 800577c: 4613 mov r3, r2 + 800577e: 005b lsls r3, r3, #1 + 8005780: 4413 add r3, r2 + 8005782: 009b lsls r3, r3, #2 + 8005784: 3348 adds r3, #72 @ 0x48 + 8005786: 443b add r3, r7 + 8005788: 3b34 subs r3, #52 @ 0x34 + 800578a: 2200 movs r2, #0 + 800578c: 601a str r2, [r3, #0] } i++; - 8004e0a: 6c7b ldr r3, [r7, #68] @ 0x44 - 8004e0c: 3301 adds r3, #1 - 8004e0e: 647b str r3, [r7, #68] @ 0x44 + 800578e: 6c7b ldr r3, [r7, #68] @ 0x44 + 8005790: 3301 adds r3, #1 + 8005792: 647b str r3, [r7, #68] @ 0x44 for(q = p; q != NULL; q = q->next) - 8004e10: 6c3b ldr r3, [r7, #64] @ 0x40 - 8004e12: 681b ldr r3, [r3, #0] - 8004e14: 643b str r3, [r7, #64] @ 0x40 - 8004e16: 6c3b ldr r3, [r7, #64] @ 0x40 - 8004e18: 2b00 cmp r3, #0 - 8004e1a: d1b6 bne.n 8004d8a + 8005794: 6c3b ldr r3, [r7, #64] @ 0x40 + 8005796: 681b ldr r3, [r3, #0] + 8005798: 643b str r3, [r7, #64] @ 0x40 + 800579a: 6c3b ldr r3, [r7, #64] @ 0x40 + 800579c: 2b00 cmp r3, #0 + 800579e: d1b6 bne.n 800570e } TxConfig.Length = p->tot_len; - 8004e1c: 683b ldr r3, [r7, #0] - 8004e1e: 891b ldrh r3, [r3, #8] - 8004e20: 461a mov r2, r3 - 8004e22: 4b0a ldr r3, [pc, #40] @ (8004e4c ) - 8004e24: 605a str r2, [r3, #4] + 80057a0: 683b ldr r3, [r7, #0] + 80057a2: 891b ldrh r3, [r3, #8] + 80057a4: 461a mov r2, r3 + 80057a6: 4b0a ldr r3, [pc, #40] @ (80057d0 ) + 80057a8: 605a str r2, [r3, #4] TxConfig.TxBuffer = Txbuffer; - 8004e26: 4a09 ldr r2, [pc, #36] @ (8004e4c ) - 8004e28: f107 030c add.w r3, r7, #12 - 8004e2c: 6093 str r3, [r2, #8] + 80057aa: 4a09 ldr r2, [pc, #36] @ (80057d0 ) + 80057ac: f107 030c add.w r3, r7, #12 + 80057b0: 6093 str r3, [r2, #8] TxConfig.pData = p; - 8004e2e: 4a07 ldr r2, [pc, #28] @ (8004e4c ) - 8004e30: 683b ldr r3, [r7, #0] - 8004e32: 6353 str r3, [r2, #52] @ 0x34 + 80057b2: 4a07 ldr r2, [pc, #28] @ (80057d0 ) + 80057b4: 683b ldr r3, [r7, #0] + 80057b6: 6353 str r3, [r2, #52] @ 0x34 HAL_ETH_Transmit(&heth, &TxConfig, ETH_DMA_TRANSMIT_TIMEOUT); - 8004e34: 2214 movs r2, #20 - 8004e36: 4905 ldr r1, [pc, #20] @ (8004e4c ) - 8004e38: 4805 ldr r0, [pc, #20] @ (8004e50 ) - 8004e3a: f7fd fad5 bl 80023e8 + 80057b8: 2214 movs r2, #20 + 80057ba: 4905 ldr r1, [pc, #20] @ (80057d0 ) + 80057bc: 4805 ldr r0, [pc, #20] @ (80057d4 ) + 80057be: f7fc ffc3 bl 8002748 return errval; - 8004e3e: f997 303f ldrsb.w r3, [r7, #63] @ 0x3f + 80057c2: f997 303f ldrsb.w r3, [r7, #63] @ 0x3f } - 8004e42: 4618 mov r0, r3 - 8004e44: 3748 adds r7, #72 @ 0x48 - 8004e46: 46bd mov sp, r7 - 8004e48: bd80 pop {r7, pc} - 8004e4a: bf00 nop - 8004e4c: 200060f4 .word 0x200060f4 - 8004e50: 20006044 .word 0x20006044 + 80057c6: 4618 mov r0, r3 + 80057c8: 3748 adds r7, #72 @ 0x48 + 80057ca: 46bd mov sp, r7 + 80057cc: bd80 pop {r7, pc} + 80057ce: bf00 nop + 80057d0: 20006128 .word 0x20006128 + 80057d4: 20006078 .word 0x20006078 -08004e54 : +080057d8 : * @param netif the lwip network interface structure for this ethernetif * @return a pbuf filled with the received packet (including MAC header) * NULL on memory error */ static struct pbuf * low_level_input(struct netif *netif) { - 8004e54: b580 push {r7, lr} - 8004e56: b084 sub sp, #16 - 8004e58: af00 add r7, sp, #0 - 8004e5a: 6078 str r0, [r7, #4] + 80057d8: b580 push {r7, lr} + 80057da: b084 sub sp, #16 + 80057dc: af00 add r7, sp, #0 + 80057de: 6078 str r0, [r7, #4] struct pbuf *p = NULL; - 8004e5c: 2300 movs r3, #0 - 8004e5e: 60fb str r3, [r7, #12] + 80057e0: 2300 movs r3, #0 + 80057e2: 60fb str r3, [r7, #12] if(RxAllocStatus == RX_ALLOC_OK) - 8004e60: 4b07 ldr r3, [pc, #28] @ (8004e80 ) - 8004e62: 781b ldrb r3, [r3, #0] - 8004e64: 2b00 cmp r3, #0 - 8004e66: d105 bne.n 8004e74 + 80057e4: 4b07 ldr r3, [pc, #28] @ (8005804 ) + 80057e6: 781b ldrb r3, [r3, #0] + 80057e8: 2b00 cmp r3, #0 + 80057ea: d105 bne.n 80057f8 { HAL_ETH_ReadData(&heth, (void **)&p); - 8004e68: f107 030c add.w r3, r7, #12 - 8004e6c: 4619 mov r1, r3 - 8004e6e: 4805 ldr r0, [pc, #20] @ (8004e84 ) - 8004e70: f7fd fb4e bl 8002510 + 80057ec: f107 030c add.w r3, r7, #12 + 80057f0: 4619 mov r1, r3 + 80057f2: 4805 ldr r0, [pc, #20] @ (8005808 ) + 80057f4: f7fd f83c bl 8002870 } return p; - 8004e74: 68fb ldr r3, [r7, #12] + 80057f8: 68fb ldr r3, [r7, #12] } - 8004e76: 4618 mov r0, r3 - 8004e78: 3710 adds r7, #16 - 8004e7a: 46bd mov sp, r7 - 8004e7c: bd80 pop {r7, pc} - 8004e7e: bf00 nop - 8004e80: 20005f00 .word 0x20005f00 - 8004e84: 20006044 .word 0x20006044 + 80057fa: 4618 mov r0, r3 + 80057fc: 3710 adds r7, #16 + 80057fe: 46bd mov sp, r7 + 8005800: bd80 pop {r7, pc} + 8005802: bf00 nop + 8005804: 20005f34 .word 0x20005f34 + 8005808: 20006078 .word 0x20006078 -08004e88 : +0800580c : * the appropriate input function is called. * * @param netif the lwip network interface structure for this ethernetif */ void ethernetif_input(struct netif *netif) { - 8004e88: b580 push {r7, lr} - 8004e8a: b084 sub sp, #16 - 8004e8c: af00 add r7, sp, #0 - 8004e8e: 6078 str r0, [r7, #4] + 800580c: b580 push {r7, lr} + 800580e: b084 sub sp, #16 + 8005810: af00 add r7, sp, #0 + 8005812: 6078 str r0, [r7, #4] struct pbuf *p = NULL; - 8004e90: 2300 movs r3, #0 - 8004e92: 60fb str r3, [r7, #12] + 8005814: 2300 movs r3, #0 + 8005816: 60fb str r3, [r7, #12] do { p = low_level_input( netif ); - 8004e94: 6878 ldr r0, [r7, #4] - 8004e96: f7ff ffdd bl 8004e54 - 8004e9a: 60f8 str r0, [r7, #12] + 8005818: 6878 ldr r0, [r7, #4] + 800581a: f7ff ffdd bl 80057d8 + 800581e: 60f8 str r0, [r7, #12] if (p != NULL) - 8004e9c: 68fb ldr r3, [r7, #12] - 8004e9e: 2b00 cmp r3, #0 - 8004ea0: d00a beq.n 8004eb8 + 8005820: 68fb ldr r3, [r7, #12] + 8005822: 2b00 cmp r3, #0 + 8005824: d00a beq.n 800583c { if (netif->input( p, netif) != ERR_OK ) - 8004ea2: 687b ldr r3, [r7, #4] - 8004ea4: 691b ldr r3, [r3, #16] - 8004ea6: 6879 ldr r1, [r7, #4] - 8004ea8: 68f8 ldr r0, [r7, #12] - 8004eaa: 4798 blx r3 - 8004eac: 4603 mov r3, r0 - 8004eae: 2b00 cmp r3, #0 - 8004eb0: d002 beq.n 8004eb8 + 8005826: 687b ldr r3, [r7, #4] + 8005828: 691b ldr r3, [r3, #16] + 800582a: 6879 ldr r1, [r7, #4] + 800582c: 68f8 ldr r0, [r7, #12] + 800582e: 4798 blx r3 + 8005830: 4603 mov r3, r0 + 8005832: 2b00 cmp r3, #0 + 8005834: d002 beq.n 800583c { pbuf_free(p); - 8004eb2: 68f8 ldr r0, [r7, #12] - 8004eb4: f001 fdb8 bl 8006a28 + 8005836: 68f8 ldr r0, [r7, #12] + 8005838: f001 fdb8 bl 80073ac } } } while(p!=NULL); - 8004eb8: 68fb ldr r3, [r7, #12] - 8004eba: 2b00 cmp r3, #0 - 8004ebc: d1ea bne.n 8004e94 + 800583c: 68fb ldr r3, [r7, #12] + 800583e: 2b00 cmp r3, #0 + 8005840: d1ea bne.n 8005818 } - 8004ebe: bf00 nop - 8004ec0: bf00 nop - 8004ec2: 3710 adds r7, #16 - 8004ec4: 46bd mov sp, r7 - 8004ec6: bd80 pop {r7, pc} + 8005842: bf00 nop + 8005844: bf00 nop + 8005846: 3710 adds r7, #16 + 8005848: 46bd mov sp, r7 + 800584a: bd80 pop {r7, pc} -08004ec8 : +0800584c : * @return ERR_OK if the loopif is initialized * ERR_MEM if private data couldn't be allocated * any other err_t on error */ err_t ethernetif_init(struct netif *netif) { - 8004ec8: b580 push {r7, lr} - 8004eca: b082 sub sp, #8 - 8004ecc: af00 add r7, sp, #0 - 8004ece: 6078 str r0, [r7, #4] + 800584c: b580 push {r7, lr} + 800584e: b082 sub sp, #8 + 8005850: af00 add r7, sp, #0 + 8005852: 6078 str r0, [r7, #4] LWIP_ASSERT("netif != NULL", (netif != NULL)); - 8004ed0: 687b ldr r3, [r7, #4] - 8004ed2: 2b00 cmp r3, #0 - 8004ed4: d106 bne.n 8004ee4 - 8004ed6: 4b0e ldr r3, [pc, #56] @ (8004f10 ) - 8004ed8: f240 126b movw r2, #363 @ 0x16b - 8004edc: 490d ldr r1, [pc, #52] @ (8004f14 ) - 8004ede: 480e ldr r0, [pc, #56] @ (8004f18 ) - 8004ee0: f00c fb8a bl 80115f8 + 8005854: 687b ldr r3, [r7, #4] + 8005856: 2b00 cmp r3, #0 + 8005858: d106 bne.n 8005868 + 800585a: 4b0e ldr r3, [pc, #56] @ (8005894 ) + 800585c: f240 126b movw r2, #363 @ 0x16b + 8005860: 490d ldr r1, [pc, #52] @ (8005898 ) + 8005862: 480e ldr r0, [pc, #56] @ (800589c ) + 8005864: f00c fb8a bl 8011f7c * The last argument should be replaced with your link speed, in units * of bits per second. */ // MIB2_INIT_NETIF(netif, snmp_ifType_ethernet_csmacd, LINK_SPEED_OF_YOUR_NETIF_IN_BPS); netif->name[0] = IFNAME0; - 8004ee4: 687b ldr r3, [r7, #4] - 8004ee6: 2273 movs r2, #115 @ 0x73 - 8004ee8: f883 2032 strb.w r2, [r3, #50] @ 0x32 + 8005868: 687b ldr r3, [r7, #4] + 800586a: 2273 movs r2, #115 @ 0x73 + 800586c: f883 2032 strb.w r2, [r3, #50] @ 0x32 netif->name[1] = IFNAME1; - 8004eec: 687b ldr r3, [r7, #4] - 8004eee: 2274 movs r2, #116 @ 0x74 - 8004ef0: f883 2033 strb.w r2, [r3, #51] @ 0x33 + 8005870: 687b ldr r3, [r7, #4] + 8005872: 2274 movs r2, #116 @ 0x74 + 8005874: f883 2033 strb.w r2, [r3, #51] @ 0x33 * is available...) */ #if LWIP_IPV4 #if LWIP_ARP || LWIP_ETHERNET #if LWIP_ARP netif->output = etharp_output; - 8004ef4: 687b ldr r3, [r7, #4] - 8004ef6: 4a09 ldr r2, [pc, #36] @ (8004f1c ) - 8004ef8: 615a str r2, [r3, #20] + 8005878: 687b ldr r3, [r7, #4] + 800587a: 4a09 ldr r2, [pc, #36] @ (80058a0 ) + 800587c: 615a str r2, [r3, #20] #if LWIP_IPV6 netif->output_ip6 = ethip6_output; #endif /* LWIP_IPV6 */ netif->linkoutput = low_level_output; - 8004efa: 687b ldr r3, [r7, #4] - 8004efc: 4a08 ldr r2, [pc, #32] @ (8004f20 ) - 8004efe: 619a str r2, [r3, #24] + 800587e: 687b ldr r3, [r7, #4] + 8005880: 4a08 ldr r2, [pc, #32] @ (80058a4 ) + 8005882: 619a str r2, [r3, #24] /* initialize the hardware */ low_level_init(netif); - 8004f00: 6878 ldr r0, [r7, #4] - 8004f02: f7ff fe8d bl 8004c20 + 8005884: 6878 ldr r0, [r7, #4] + 8005886: f7ff fe8d bl 80055a4 return ERR_OK; - 8004f06: 2300 movs r3, #0 + 800588a: 2300 movs r3, #0 } - 8004f08: 4618 mov r0, r3 - 8004f0a: 3708 adds r7, #8 - 8004f0c: 46bd mov sp, r7 - 8004f0e: bd80 pop {r7, pc} - 8004f10: 08015fe8 .word 0x08015fe8 - 8004f14: 08016004 .word 0x08016004 - 8004f18: 08016014 .word 0x08016014 - 8004f1c: 0800f491 .word 0x0800f491 - 8004f20: 08004d51 .word 0x08004d51 + 800588c: 4618 mov r0, r3 + 800588e: 3708 adds r7, #8 + 8005890: 46bd mov sp, r7 + 8005892: bd80 pop {r7, pc} + 8005894: 08016968 .word 0x08016968 + 8005898: 08016984 .word 0x08016984 + 800589c: 08016994 .word 0x08016994 + 80058a0: 0800fe15 .word 0x0800fe15 + 80058a4: 080056d5 .word 0x080056d5 -08004f24 : +080058a8 : * @brief Custom Rx pbuf free callback * @param pbuf: pbuf to be freed * @retval None */ void pbuf_free_custom(struct pbuf *p) { - 8004f24: b580 push {r7, lr} - 8004f26: b084 sub sp, #16 - 8004f28: af00 add r7, sp, #0 - 8004f2a: 6078 str r0, [r7, #4] + 80058a8: b580 push {r7, lr} + 80058aa: b084 sub sp, #16 + 80058ac: af00 add r7, sp, #0 + 80058ae: 6078 str r0, [r7, #4] struct pbuf_custom* custom_pbuf = (struct pbuf_custom*)p; - 8004f2c: 687b ldr r3, [r7, #4] - 8004f2e: 60fb str r3, [r7, #12] + 80058b0: 687b ldr r3, [r7, #4] + 80058b2: 60fb str r3, [r7, #12] LWIP_MEMPOOL_FREE(RX_POOL, custom_pbuf); - 8004f30: 68f9 ldr r1, [r7, #12] - 8004f32: 4807 ldr r0, [pc, #28] @ (8004f50 ) - 8004f34: f000 fed4 bl 8005ce0 + 80058b4: 68f9 ldr r1, [r7, #12] + 80058b6: 4807 ldr r0, [pc, #28] @ (80058d4 ) + 80058b8: f000 fed4 bl 8006664 /* If the Rx Buffer Pool was exhausted, signal the ethernetif_input task to * call HAL_ETH_GetRxDataBuffer to rebuild the Rx descriptors. */ if (RxAllocStatus == RX_ALLOC_ERROR) - 8004f38: 4b06 ldr r3, [pc, #24] @ (8004f54 ) - 8004f3a: 781b ldrb r3, [r3, #0] - 8004f3c: 2b01 cmp r3, #1 - 8004f3e: d102 bne.n 8004f46 + 80058bc: 4b06 ldr r3, [pc, #24] @ (80058d8 ) + 80058be: 781b ldrb r3, [r3, #0] + 80058c0: 2b01 cmp r3, #1 + 80058c2: d102 bne.n 80058ca { RxAllocStatus = RX_ALLOC_OK; - 8004f40: 4b04 ldr r3, [pc, #16] @ (8004f54 ) - 8004f42: 2200 movs r2, #0 - 8004f44: 701a strb r2, [r3, #0] + 80058c4: 4b04 ldr r3, [pc, #16] @ (80058d8 ) + 80058c6: 2200 movs r2, #0 + 80058c8: 701a strb r2, [r3, #0] } } - 8004f46: bf00 nop - 8004f48: 3710 adds r7, #16 - 8004f4a: 46bd mov sp, r7 - 8004f4c: bd80 pop {r7, pc} - 8004f4e: bf00 nop - 8004f50: 08018de8 .word 0x08018de8 - 8004f54: 20005f00 .word 0x20005f00 + 80058ca: bf00 nop + 80058cc: 3710 adds r7, #16 + 80058ce: 46bd mov sp, r7 + 80058d0: bd80 pop {r7, pc} + 80058d2: bf00 nop + 80058d4: 08019768 .word 0x08019768 + 80058d8: 20005f34 .word 0x20005f34 -08004f58 : +080058dc : * when LWIP_TIMERS == 1 and NO_SYS == 1 * @param None * @retval Current Time value */ u32_t sys_now(void) { - 8004f58: b580 push {r7, lr} - 8004f5a: af00 add r7, sp, #0 + 80058dc: b580 push {r7, lr} + 80058de: af00 add r7, sp, #0 return HAL_GetTick(); - 8004f5c: f7fc ffcc bl 8001ef8 - 8004f60: 4603 mov r3, r0 + 80058e0: f7fc fcba bl 8002258 + 80058e4: 4603 mov r3, r0 } - 8004f62: 4618 mov r0, r3 - 8004f64: bd80 pop {r7, pc} + 80058e6: 4618 mov r0, r3 + 80058e8: bd80 pop {r7, pc} ... -08004f68 : +080058ec : * @param ethHandle: ETH handle * @retval None */ void HAL_ETH_MspInit(ETH_HandleTypeDef* ethHandle) { - 8004f68: b580 push {r7, lr} - 8004f6a: b08e sub sp, #56 @ 0x38 - 8004f6c: af00 add r7, sp, #0 - 8004f6e: 6078 str r0, [r7, #4] + 80058ec: b580 push {r7, lr} + 80058ee: b08e sub sp, #56 @ 0x38 + 80058f0: af00 add r7, sp, #0 + 80058f2: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 8004f70: f107 0324 add.w r3, r7, #36 @ 0x24 - 8004f74: 2200 movs r2, #0 - 8004f76: 601a str r2, [r3, #0] - 8004f78: 605a str r2, [r3, #4] - 8004f7a: 609a str r2, [r3, #8] - 8004f7c: 60da str r2, [r3, #12] - 8004f7e: 611a str r2, [r3, #16] + 80058f4: f107 0324 add.w r3, r7, #36 @ 0x24 + 80058f8: 2200 movs r2, #0 + 80058fa: 601a str r2, [r3, #0] + 80058fc: 605a str r2, [r3, #4] + 80058fe: 609a str r2, [r3, #8] + 8005900: 60da str r2, [r3, #12] + 8005902: 611a str r2, [r3, #16] if(ethHandle->Instance==ETH) - 8004f80: 687b ldr r3, [r7, #4] - 8004f82: 681b ldr r3, [r3, #0] - 8004f84: 4a55 ldr r2, [pc, #340] @ (80050dc ) - 8004f86: 4293 cmp r3, r2 - 8004f88: f040 80a4 bne.w 80050d4 + 8005904: 687b ldr r3, [r7, #4] + 8005906: 681b ldr r3, [r3, #0] + 8005908: 4a55 ldr r2, [pc, #340] @ (8005a60 ) + 800590a: 4293 cmp r3, r2 + 800590c: f040 80a4 bne.w 8005a58 { /* USER CODE BEGIN ETH_MspInit 0 */ /* USER CODE END ETH_MspInit 0 */ /* Enable Peripheral clock */ __HAL_RCC_ETH_CLK_ENABLE(); - 8004f8c: 2300 movs r3, #0 - 8004f8e: 623b str r3, [r7, #32] - 8004f90: 4b53 ldr r3, [pc, #332] @ (80050e0 ) - 8004f92: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004f94: 4a52 ldr r2, [pc, #328] @ (80050e0 ) - 8004f96: f043 7300 orr.w r3, r3, #33554432 @ 0x2000000 - 8004f9a: 6313 str r3, [r2, #48] @ 0x30 - 8004f9c: 4b50 ldr r3, [pc, #320] @ (80050e0 ) - 8004f9e: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004fa0: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 - 8004fa4: 623b str r3, [r7, #32] - 8004fa6: 6a3b ldr r3, [r7, #32] - 8004fa8: 2300 movs r3, #0 - 8004faa: 61fb str r3, [r7, #28] - 8004fac: 4b4c ldr r3, [pc, #304] @ (80050e0 ) - 8004fae: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004fb0: 4a4b ldr r2, [pc, #300] @ (80050e0 ) - 8004fb2: f043 6380 orr.w r3, r3, #67108864 @ 0x4000000 - 8004fb6: 6313 str r3, [r2, #48] @ 0x30 - 8004fb8: 4b49 ldr r3, [pc, #292] @ (80050e0 ) - 8004fba: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004fbc: f003 6380 and.w r3, r3, #67108864 @ 0x4000000 - 8004fc0: 61fb str r3, [r7, #28] - 8004fc2: 69fb ldr r3, [r7, #28] - 8004fc4: 2300 movs r3, #0 - 8004fc6: 61bb str r3, [r7, #24] - 8004fc8: 4b45 ldr r3, [pc, #276] @ (80050e0 ) - 8004fca: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004fcc: 4a44 ldr r2, [pc, #272] @ (80050e0 ) - 8004fce: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 - 8004fd2: 6313 str r3, [r2, #48] @ 0x30 - 8004fd4: 4b42 ldr r3, [pc, #264] @ (80050e0 ) - 8004fd6: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004fd8: f003 6300 and.w r3, r3, #134217728 @ 0x8000000 - 8004fdc: 61bb str r3, [r7, #24] - 8004fde: 69bb ldr r3, [r7, #24] + 8005910: 2300 movs r3, #0 + 8005912: 623b str r3, [r7, #32] + 8005914: 4b53 ldr r3, [pc, #332] @ (8005a64 ) + 8005916: 6b1b ldr r3, [r3, #48] @ 0x30 + 8005918: 4a52 ldr r2, [pc, #328] @ (8005a64 ) + 800591a: f043 7300 orr.w r3, r3, #33554432 @ 0x2000000 + 800591e: 6313 str r3, [r2, #48] @ 0x30 + 8005920: 4b50 ldr r3, [pc, #320] @ (8005a64 ) + 8005922: 6b1b ldr r3, [r3, #48] @ 0x30 + 8005924: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 + 8005928: 623b str r3, [r7, #32] + 800592a: 6a3b ldr r3, [r7, #32] + 800592c: 2300 movs r3, #0 + 800592e: 61fb str r3, [r7, #28] + 8005930: 4b4c ldr r3, [pc, #304] @ (8005a64 ) + 8005932: 6b1b ldr r3, [r3, #48] @ 0x30 + 8005934: 4a4b ldr r2, [pc, #300] @ (8005a64 ) + 8005936: f043 6380 orr.w r3, r3, #67108864 @ 0x4000000 + 800593a: 6313 str r3, [r2, #48] @ 0x30 + 800593c: 4b49 ldr r3, [pc, #292] @ (8005a64 ) + 800593e: 6b1b ldr r3, [r3, #48] @ 0x30 + 8005940: f003 6380 and.w r3, r3, #67108864 @ 0x4000000 + 8005944: 61fb str r3, [r7, #28] + 8005946: 69fb ldr r3, [r7, #28] + 8005948: 2300 movs r3, #0 + 800594a: 61bb str r3, [r7, #24] + 800594c: 4b45 ldr r3, [pc, #276] @ (8005a64 ) + 800594e: 6b1b ldr r3, [r3, #48] @ 0x30 + 8005950: 4a44 ldr r2, [pc, #272] @ (8005a64 ) + 8005952: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 + 8005956: 6313 str r3, [r2, #48] @ 0x30 + 8005958: 4b42 ldr r3, [pc, #264] @ (8005a64 ) + 800595a: 6b1b ldr r3, [r3, #48] @ 0x30 + 800595c: f003 6300 and.w r3, r3, #134217728 @ 0x8000000 + 8005960: 61bb str r3, [r7, #24] + 8005962: 69bb ldr r3, [r7, #24] __HAL_RCC_GPIOC_CLK_ENABLE(); - 8004fe0: 2300 movs r3, #0 - 8004fe2: 617b str r3, [r7, #20] - 8004fe4: 4b3e ldr r3, [pc, #248] @ (80050e0 ) - 8004fe6: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004fe8: 4a3d ldr r2, [pc, #244] @ (80050e0 ) - 8004fea: f043 0304 orr.w r3, r3, #4 - 8004fee: 6313 str r3, [r2, #48] @ 0x30 - 8004ff0: 4b3b ldr r3, [pc, #236] @ (80050e0 ) - 8004ff2: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004ff4: f003 0304 and.w r3, r3, #4 - 8004ff8: 617b str r3, [r7, #20] - 8004ffa: 697b ldr r3, [r7, #20] + 8005964: 2300 movs r3, #0 + 8005966: 617b str r3, [r7, #20] + 8005968: 4b3e ldr r3, [pc, #248] @ (8005a64 ) + 800596a: 6b1b ldr r3, [r3, #48] @ 0x30 + 800596c: 4a3d ldr r2, [pc, #244] @ (8005a64 ) + 800596e: f043 0304 orr.w r3, r3, #4 + 8005972: 6313 str r3, [r2, #48] @ 0x30 + 8005974: 4b3b ldr r3, [pc, #236] @ (8005a64 ) + 8005976: 6b1b ldr r3, [r3, #48] @ 0x30 + 8005978: f003 0304 and.w r3, r3, #4 + 800597c: 617b str r3, [r7, #20] + 800597e: 697b ldr r3, [r7, #20] __HAL_RCC_GPIOA_CLK_ENABLE(); - 8004ffc: 2300 movs r3, #0 - 8004ffe: 613b str r3, [r7, #16] - 8005000: 4b37 ldr r3, [pc, #220] @ (80050e0 ) - 8005002: 6b1b ldr r3, [r3, #48] @ 0x30 - 8005004: 4a36 ldr r2, [pc, #216] @ (80050e0 ) - 8005006: f043 0301 orr.w r3, r3, #1 - 800500a: 6313 str r3, [r2, #48] @ 0x30 - 800500c: 4b34 ldr r3, [pc, #208] @ (80050e0 ) - 800500e: 6b1b ldr r3, [r3, #48] @ 0x30 - 8005010: f003 0301 and.w r3, r3, #1 - 8005014: 613b str r3, [r7, #16] - 8005016: 693b ldr r3, [r7, #16] + 8005980: 2300 movs r3, #0 + 8005982: 613b str r3, [r7, #16] + 8005984: 4b37 ldr r3, [pc, #220] @ (8005a64 ) + 8005986: 6b1b ldr r3, [r3, #48] @ 0x30 + 8005988: 4a36 ldr r2, [pc, #216] @ (8005a64 ) + 800598a: f043 0301 orr.w r3, r3, #1 + 800598e: 6313 str r3, [r2, #48] @ 0x30 + 8005990: 4b34 ldr r3, [pc, #208] @ (8005a64 ) + 8005992: 6b1b ldr r3, [r3, #48] @ 0x30 + 8005994: f003 0301 and.w r3, r3, #1 + 8005998: 613b str r3, [r7, #16] + 800599a: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOB_CLK_ENABLE(); - 8005018: 2300 movs r3, #0 - 800501a: 60fb str r3, [r7, #12] - 800501c: 4b30 ldr r3, [pc, #192] @ (80050e0 ) - 800501e: 6b1b ldr r3, [r3, #48] @ 0x30 - 8005020: 4a2f ldr r2, [pc, #188] @ (80050e0 ) - 8005022: f043 0302 orr.w r3, r3, #2 - 8005026: 6313 str r3, [r2, #48] @ 0x30 - 8005028: 4b2d ldr r3, [pc, #180] @ (80050e0 ) - 800502a: 6b1b ldr r3, [r3, #48] @ 0x30 - 800502c: f003 0302 and.w r3, r3, #2 - 8005030: 60fb str r3, [r7, #12] - 8005032: 68fb ldr r3, [r7, #12] + 800599c: 2300 movs r3, #0 + 800599e: 60fb str r3, [r7, #12] + 80059a0: 4b30 ldr r3, [pc, #192] @ (8005a64 ) + 80059a2: 6b1b ldr r3, [r3, #48] @ 0x30 + 80059a4: 4a2f ldr r2, [pc, #188] @ (8005a64 ) + 80059a6: f043 0302 orr.w r3, r3, #2 + 80059aa: 6313 str r3, [r2, #48] @ 0x30 + 80059ac: 4b2d ldr r3, [pc, #180] @ (8005a64 ) + 80059ae: 6b1b ldr r3, [r3, #48] @ 0x30 + 80059b0: f003 0302 and.w r3, r3, #2 + 80059b4: 60fb str r3, [r7, #12] + 80059b6: 68fb ldr r3, [r7, #12] __HAL_RCC_GPIOG_CLK_ENABLE(); - 8005034: 2300 movs r3, #0 - 8005036: 60bb str r3, [r7, #8] - 8005038: 4b29 ldr r3, [pc, #164] @ (80050e0 ) - 800503a: 6b1b ldr r3, [r3, #48] @ 0x30 - 800503c: 4a28 ldr r2, [pc, #160] @ (80050e0 ) - 800503e: f043 0340 orr.w r3, r3, #64 @ 0x40 - 8005042: 6313 str r3, [r2, #48] @ 0x30 - 8005044: 4b26 ldr r3, [pc, #152] @ (80050e0 ) - 8005046: 6b1b ldr r3, [r3, #48] @ 0x30 - 8005048: f003 0340 and.w r3, r3, #64 @ 0x40 - 800504c: 60bb str r3, [r7, #8] - 800504e: 68bb ldr r3, [r7, #8] + 80059b8: 2300 movs r3, #0 + 80059ba: 60bb str r3, [r7, #8] + 80059bc: 4b29 ldr r3, [pc, #164] @ (8005a64 ) + 80059be: 6b1b ldr r3, [r3, #48] @ 0x30 + 80059c0: 4a28 ldr r2, [pc, #160] @ (8005a64 ) + 80059c2: f043 0340 orr.w r3, r3, #64 @ 0x40 + 80059c6: 6313 str r3, [r2, #48] @ 0x30 + 80059c8: 4b26 ldr r3, [pc, #152] @ (8005a64 ) + 80059ca: 6b1b ldr r3, [r3, #48] @ 0x30 + 80059cc: f003 0340 and.w r3, r3, #64 @ 0x40 + 80059d0: 60bb str r3, [r7, #8] + 80059d2: 68bb ldr r3, [r7, #8] PC5 ------> ETH_RXD1 PB11 ------> ETH_TX_EN PB12 ------> ETH_TXD0 PG14 ------> ETH_TXD1 */ GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_4|GPIO_PIN_5; - 8005050: 2332 movs r3, #50 @ 0x32 - 8005052: 627b str r3, [r7, #36] @ 0x24 + 80059d4: 2332 movs r3, #50 @ 0x32 + 80059d6: 627b str r3, [r7, #36] @ 0x24 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8005054: 2302 movs r3, #2 - 8005056: 62bb str r3, [r7, #40] @ 0x28 + 80059d8: 2302 movs r3, #2 + 80059da: 62bb str r3, [r7, #40] @ 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8005058: 2300 movs r3, #0 - 800505a: 62fb str r3, [r7, #44] @ 0x2c + 80059dc: 2300 movs r3, #0 + 80059de: 62fb str r3, [r7, #44] @ 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 800505c: 2303 movs r3, #3 - 800505e: 633b str r3, [r7, #48] @ 0x30 + 80059e0: 2303 movs r3, #3 + 80059e2: 633b str r3, [r7, #48] @ 0x30 GPIO_InitStruct.Alternate = GPIO_AF11_ETH; - 8005060: 230b movs r3, #11 - 8005062: 637b str r3, [r7, #52] @ 0x34 + 80059e4: 230b movs r3, #11 + 80059e6: 637b str r3, [r7, #52] @ 0x34 HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); - 8005064: f107 0324 add.w r3, r7, #36 @ 0x24 - 8005068: 4619 mov r1, r3 - 800506a: 481e ldr r0, [pc, #120] @ (80050e4 ) - 800506c: f7fe f97c bl 8003368 + 80059e8: f107 0324 add.w r3, r7, #36 @ 0x24 + 80059ec: 4619 mov r1, r3 + 80059ee: 481e ldr r0, [pc, #120] @ (8005a68 ) + 80059f0: f7fe f97c bl 8003cec GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_7; - 8005070: 2386 movs r3, #134 @ 0x86 - 8005072: 627b str r3, [r7, #36] @ 0x24 + 80059f4: 2386 movs r3, #134 @ 0x86 + 80059f6: 627b str r3, [r7, #36] @ 0x24 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8005074: 2302 movs r3, #2 - 8005076: 62bb str r3, [r7, #40] @ 0x28 + 80059f8: 2302 movs r3, #2 + 80059fa: 62bb str r3, [r7, #40] @ 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8005078: 2300 movs r3, #0 - 800507a: 62fb str r3, [r7, #44] @ 0x2c + 80059fc: 2300 movs r3, #0 + 80059fe: 62fb str r3, [r7, #44] @ 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 800507c: 2303 movs r3, #3 - 800507e: 633b str r3, [r7, #48] @ 0x30 + 8005a00: 2303 movs r3, #3 + 8005a02: 633b str r3, [r7, #48] @ 0x30 GPIO_InitStruct.Alternate = GPIO_AF11_ETH; - 8005080: 230b movs r3, #11 - 8005082: 637b str r3, [r7, #52] @ 0x34 + 8005a04: 230b movs r3, #11 + 8005a06: 637b str r3, [r7, #52] @ 0x34 HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 8005084: f107 0324 add.w r3, r7, #36 @ 0x24 - 8005088: 4619 mov r1, r3 - 800508a: 4817 ldr r0, [pc, #92] @ (80050e8 ) - 800508c: f7fe f96c bl 8003368 + 8005a08: f107 0324 add.w r3, r7, #36 @ 0x24 + 8005a0c: 4619 mov r1, r3 + 8005a0e: 4817 ldr r0, [pc, #92] @ (8005a6c ) + 8005a10: f7fe f96c bl 8003cec GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12; - 8005090: f44f 53c0 mov.w r3, #6144 @ 0x1800 - 8005094: 627b str r3, [r7, #36] @ 0x24 + 8005a14: f44f 53c0 mov.w r3, #6144 @ 0x1800 + 8005a18: 627b str r3, [r7, #36] @ 0x24 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8005096: 2302 movs r3, #2 - 8005098: 62bb str r3, [r7, #40] @ 0x28 + 8005a1a: 2302 movs r3, #2 + 8005a1c: 62bb str r3, [r7, #40] @ 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 800509a: 2300 movs r3, #0 - 800509c: 62fb str r3, [r7, #44] @ 0x2c + 8005a1e: 2300 movs r3, #0 + 8005a20: 62fb str r3, [r7, #44] @ 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 800509e: 2303 movs r3, #3 - 80050a0: 633b str r3, [r7, #48] @ 0x30 + 8005a22: 2303 movs r3, #3 + 8005a24: 633b str r3, [r7, #48] @ 0x30 GPIO_InitStruct.Alternate = GPIO_AF11_ETH; - 80050a2: 230b movs r3, #11 - 80050a4: 637b str r3, [r7, #52] @ 0x34 + 8005a26: 230b movs r3, #11 + 8005a28: 637b str r3, [r7, #52] @ 0x34 HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); - 80050a6: f107 0324 add.w r3, r7, #36 @ 0x24 - 80050aa: 4619 mov r1, r3 - 80050ac: 480f ldr r0, [pc, #60] @ (80050ec ) - 80050ae: f7fe f95b bl 8003368 + 8005a2a: f107 0324 add.w r3, r7, #36 @ 0x24 + 8005a2e: 4619 mov r1, r3 + 8005a30: 480f ldr r0, [pc, #60] @ (8005a70 ) + 8005a32: f7fe f95b bl 8003cec GPIO_InitStruct.Pin = GPIO_PIN_14; - 80050b2: f44f 4380 mov.w r3, #16384 @ 0x4000 - 80050b6: 627b str r3, [r7, #36] @ 0x24 + 8005a36: f44f 4380 mov.w r3, #16384 @ 0x4000 + 8005a3a: 627b str r3, [r7, #36] @ 0x24 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80050b8: 2302 movs r3, #2 - 80050ba: 62bb str r3, [r7, #40] @ 0x28 + 8005a3c: 2302 movs r3, #2 + 8005a3e: 62bb str r3, [r7, #40] @ 0x28 GPIO_InitStruct.Pull = GPIO_NOPULL; - 80050bc: 2300 movs r3, #0 - 80050be: 62fb str r3, [r7, #44] @ 0x2c + 8005a40: 2300 movs r3, #0 + 8005a42: 62fb str r3, [r7, #44] @ 0x2c GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 80050c0: 2303 movs r3, #3 - 80050c2: 633b str r3, [r7, #48] @ 0x30 + 8005a44: 2303 movs r3, #3 + 8005a46: 633b str r3, [r7, #48] @ 0x30 GPIO_InitStruct.Alternate = GPIO_AF11_ETH; - 80050c4: 230b movs r3, #11 - 80050c6: 637b str r3, [r7, #52] @ 0x34 + 8005a48: 230b movs r3, #11 + 8005a4a: 637b str r3, [r7, #52] @ 0x34 HAL_GPIO_Init(GPIOG, &GPIO_InitStruct); - 80050c8: f107 0324 add.w r3, r7, #36 @ 0x24 - 80050cc: 4619 mov r1, r3 - 80050ce: 4808 ldr r0, [pc, #32] @ (80050f0 ) - 80050d0: f7fe f94a bl 8003368 + 8005a4c: f107 0324 add.w r3, r7, #36 @ 0x24 + 8005a50: 4619 mov r1, r3 + 8005a52: 4808 ldr r0, [pc, #32] @ (8005a74 ) + 8005a54: f7fe f94a bl 8003cec /* USER CODE BEGIN ETH_MspInit 1 */ /* USER CODE END ETH_MspInit 1 */ } } - 80050d4: bf00 nop - 80050d6: 3738 adds r7, #56 @ 0x38 - 80050d8: 46bd mov sp, r7 - 80050da: bd80 pop {r7, pc} - 80050dc: 40028000 .word 0x40028000 - 80050e0: 40023800 .word 0x40023800 - 80050e4: 40020800 .word 0x40020800 - 80050e8: 40020000 .word 0x40020000 - 80050ec: 40020400 .word 0x40020400 - 80050f0: 40021800 .word 0x40021800 + 8005a58: bf00 nop + 8005a5a: 3738 adds r7, #56 @ 0x38 + 8005a5c: 46bd mov sp, r7 + 8005a5e: bd80 pop {r7, pc} + 8005a60: 40028000 .word 0x40028000 + 8005a64: 40023800 .word 0x40023800 + 8005a68: 40020800 .word 0x40020800 + 8005a6c: 40020000 .word 0x40020000 + 8005a70: 40020400 .word 0x40020400 + 8005a74: 40021800 .word 0x40021800 -080050f4 : +08005a78 : * @brief Initializes the MDIO interface GPIO and clocks. * @param None * @retval 0 if OK, -1 if ERROR */ int32_t ETH_PHY_IO_Init(void) { - 80050f4: b580 push {r7, lr} - 80050f6: af00 add r7, sp, #0 + 8005a78: b580 push {r7, lr} + 8005a7a: af00 add r7, sp, #0 /* We assume that MDIO GPIO configuration is already done in the ETH_MspInit() else it should be done here */ /* Configure the MDIO Clock */ HAL_ETH_SetMDIOClockRange(&heth); - 80050f8: 4802 ldr r0, [pc, #8] @ (8005104 ) - 80050fa: f7fd fcd9 bl 8002ab0 + 8005a7c: 4802 ldr r0, [pc, #8] @ (8005a88 ) + 8005a7e: f7fd f9c7 bl 8002e10 return 0; - 80050fe: 2300 movs r3, #0 + 8005a82: 2300 movs r3, #0 } - 8005100: 4618 mov r0, r3 - 8005102: bd80 pop {r7, pc} - 8005104: 20006044 .word 0x20006044 + 8005a84: 4618 mov r0, r3 + 8005a86: bd80 pop {r7, pc} + 8005a88: 20006078 .word 0x20006078 -08005108 : +08005a8c : * @brief De-Initializes the MDIO interface . * @param None * @retval 0 if OK, -1 if ERROR */ int32_t ETH_PHY_IO_DeInit (void) { - 8005108: b480 push {r7} - 800510a: af00 add r7, sp, #0 + 8005a8c: b480 push {r7} + 8005a8e: af00 add r7, sp, #0 return 0; - 800510c: 2300 movs r3, #0 + 8005a90: 2300 movs r3, #0 } - 800510e: 4618 mov r0, r3 - 8005110: 46bd mov sp, r7 - 8005112: f85d 7b04 ldr.w r7, [sp], #4 - 8005116: 4770 bx lr + 8005a92: 4618 mov r0, r3 + 8005a94: 46bd mov sp, r7 + 8005a96: f85d 7b04 ldr.w r7, [sp], #4 + 8005a9a: 4770 bx lr -08005118 : +08005a9c : * @param RegAddr: PHY register address * @param pRegVal: pointer to hold the register value * @retval 0 if OK -1 if Error */ int32_t ETH_PHY_IO_ReadReg(uint32_t DevAddr, uint32_t RegAddr, uint32_t *pRegVal) { - 8005118: b580 push {r7, lr} - 800511a: b084 sub sp, #16 - 800511c: af00 add r7, sp, #0 - 800511e: 60f8 str r0, [r7, #12] - 8005120: 60b9 str r1, [r7, #8] - 8005122: 607a str r2, [r7, #4] + 8005a9c: b580 push {r7, lr} + 8005a9e: b084 sub sp, #16 + 8005aa0: af00 add r7, sp, #0 + 8005aa2: 60f8 str r0, [r7, #12] + 8005aa4: 60b9 str r1, [r7, #8] + 8005aa6: 607a str r2, [r7, #4] if(HAL_ETH_ReadPHYRegister(&heth, DevAddr, RegAddr, pRegVal) != HAL_OK) - 8005124: 687b ldr r3, [r7, #4] - 8005126: 68ba ldr r2, [r7, #8] - 8005128: 68f9 ldr r1, [r7, #12] - 800512a: 4807 ldr r0, [pc, #28] @ (8005148 ) - 800512c: f7fd fb28 bl 8002780 - 8005130: 4603 mov r3, r0 - 8005132: 2b00 cmp r3, #0 - 8005134: d002 beq.n 800513c + 8005aa8: 687b ldr r3, [r7, #4] + 8005aaa: 68ba ldr r2, [r7, #8] + 8005aac: 68f9 ldr r1, [r7, #12] + 8005aae: 4807 ldr r0, [pc, #28] @ (8005acc ) + 8005ab0: f7fd f816 bl 8002ae0 + 8005ab4: 4603 mov r3, r0 + 8005ab6: 2b00 cmp r3, #0 + 8005ab8: d002 beq.n 8005ac0 { return -1; - 8005136: f04f 33ff mov.w r3, #4294967295 - 800513a: e000 b.n 800513e + 8005aba: f04f 33ff mov.w r3, #4294967295 + 8005abe: e000 b.n 8005ac2 } return 0; - 800513c: 2300 movs r3, #0 + 8005ac0: 2300 movs r3, #0 } - 800513e: 4618 mov r0, r3 - 8005140: 3710 adds r7, #16 - 8005142: 46bd mov sp, r7 - 8005144: bd80 pop {r7, pc} - 8005146: bf00 nop - 8005148: 20006044 .word 0x20006044 + 8005ac2: 4618 mov r0, r3 + 8005ac4: 3710 adds r7, #16 + 8005ac6: 46bd mov sp, r7 + 8005ac8: bd80 pop {r7, pc} + 8005aca: bf00 nop + 8005acc: 20006078 .word 0x20006078 -0800514c : +08005ad0 : * @param RegAddr: PHY register address * @param RegVal: Value to be written * @retval 0 if OK -1 if Error */ int32_t ETH_PHY_IO_WriteReg(uint32_t DevAddr, uint32_t RegAddr, uint32_t RegVal) { - 800514c: b580 push {r7, lr} - 800514e: b084 sub sp, #16 - 8005150: af00 add r7, sp, #0 - 8005152: 60f8 str r0, [r7, #12] - 8005154: 60b9 str r1, [r7, #8] - 8005156: 607a str r2, [r7, #4] + 8005ad0: b580 push {r7, lr} + 8005ad2: b084 sub sp, #16 + 8005ad4: af00 add r7, sp, #0 + 8005ad6: 60f8 str r0, [r7, #12] + 8005ad8: 60b9 str r1, [r7, #8] + 8005ada: 607a str r2, [r7, #4] if(HAL_ETH_WritePHYRegister(&heth, DevAddr, RegAddr, RegVal) != HAL_OK) - 8005158: 687b ldr r3, [r7, #4] - 800515a: 68ba ldr r2, [r7, #8] - 800515c: 68f9 ldr r1, [r7, #12] - 800515e: 4807 ldr r0, [pc, #28] @ (800517c ) - 8005160: f7fd fb59 bl 8002816 - 8005164: 4603 mov r3, r0 - 8005166: 2b00 cmp r3, #0 - 8005168: d002 beq.n 8005170 + 8005adc: 687b ldr r3, [r7, #4] + 8005ade: 68ba ldr r2, [r7, #8] + 8005ae0: 68f9 ldr r1, [r7, #12] + 8005ae2: 4807 ldr r0, [pc, #28] @ (8005b00 ) + 8005ae4: f7fd f847 bl 8002b76 + 8005ae8: 4603 mov r3, r0 + 8005aea: 2b00 cmp r3, #0 + 8005aec: d002 beq.n 8005af4 { return -1; - 800516a: f04f 33ff mov.w r3, #4294967295 - 800516e: e000 b.n 8005172 + 8005aee: f04f 33ff mov.w r3, #4294967295 + 8005af2: e000 b.n 8005af6 } return 0; - 8005170: 2300 movs r3, #0 + 8005af4: 2300 movs r3, #0 } - 8005172: 4618 mov r0, r3 - 8005174: 3710 adds r7, #16 - 8005176: 46bd mov sp, r7 - 8005178: bd80 pop {r7, pc} - 800517a: bf00 nop - 800517c: 20006044 .word 0x20006044 + 8005af6: 4618 mov r0, r3 + 8005af8: 3710 adds r7, #16 + 8005afa: 46bd mov sp, r7 + 8005afc: bd80 pop {r7, pc} + 8005afe: bf00 nop + 8005b00: 20006078 .word 0x20006078 -08005180 : +08005b04 : /** * @brief Get the time in millisecons used for internal PHY driver process. * @retval Time value */ int32_t ETH_PHY_IO_GetTick(void) { - 8005180: b580 push {r7, lr} - 8005182: af00 add r7, sp, #0 + 8005b04: b580 push {r7, lr} + 8005b06: af00 add r7, sp, #0 return HAL_GetTick(); - 8005184: f7fc feb8 bl 8001ef8 - 8005188: 4603 mov r3, r0 + 8005b08: f7fc fba6 bl 8002258 + 8005b0c: 4603 mov r3, r0 } - 800518a: 4618 mov r0, r3 - 800518c: bd80 pop {r7, pc} + 8005b0e: 4618 mov r0, r3 + 8005b10: bd80 pop {r7, pc} ... -08005190 : +08005b14 : /** * @brief Check the ETH link state then update ETH driver and netif link accordingly. * @retval None */ void ethernet_link_check_state(struct netif *netif) { - 8005190: b580 push {r7, lr} - 8005192: b0a0 sub sp, #128 @ 0x80 - 8005194: af00 add r7, sp, #0 - 8005196: 6078 str r0, [r7, #4] + 8005b14: b580 push {r7, lr} + 8005b16: b0a0 sub sp, #128 @ 0x80 + 8005b18: af00 add r7, sp, #0 + 8005b1a: 6078 str r0, [r7, #4] ETH_MACConfigTypeDef MACConf = {0}; - 8005198: f107 030c add.w r3, r7, #12 - 800519c: 2264 movs r2, #100 @ 0x64 - 800519e: 2100 movs r1, #0 - 80051a0: 4618 mov r0, r3 - 80051a2: f00c faa8 bl 80116f6 + 8005b1c: f107 030c add.w r3, r7, #12 + 8005b20: 2264 movs r2, #100 @ 0x64 + 8005b22: 2100 movs r1, #0 + 8005b24: 4618 mov r0, r3 + 8005b26: f00c faa8 bl 801207a int32_t PHYLinkState = 0; - 80051a6: 2300 movs r3, #0 - 80051a8: 673b str r3, [r7, #112] @ 0x70 + 8005b2a: 2300 movs r3, #0 + 8005b2c: 673b str r3, [r7, #112] @ 0x70 uint32_t linkchanged = 0U, speed = 0U, duplex = 0U; - 80051aa: 2300 movs r3, #0 - 80051ac: 67fb str r3, [r7, #124] @ 0x7c - 80051ae: 2300 movs r3, #0 - 80051b0: 67bb str r3, [r7, #120] @ 0x78 - 80051b2: 2300 movs r3, #0 - 80051b4: 677b str r3, [r7, #116] @ 0x74 + 8005b2e: 2300 movs r3, #0 + 8005b30: 67fb str r3, [r7, #124] @ 0x7c + 8005b32: 2300 movs r3, #0 + 8005b34: 67bb str r3, [r7, #120] @ 0x78 + 8005b36: 2300 movs r3, #0 + 8005b38: 677b str r3, [r7, #116] @ 0x74 PHYLinkState = DP83848_GetLinkState(&DP83848); - 80051b6: 483a ldr r0, [pc, #232] @ (80052a0 ) - 80051b8: f7fc fdb1 bl 8001d1e - 80051bc: 6738 str r0, [r7, #112] @ 0x70 + 8005b3a: 483a ldr r0, [pc, #232] @ (8005c24 ) + 8005b3c: f7fc fa9f bl 800207e + 8005b40: 6738 str r0, [r7, #112] @ 0x70 if(netif_is_link_up(netif) && (PHYLinkState <= DP83848_STATUS_LINK_DOWN)) - 80051be: 687b ldr r3, [r7, #4] - 80051c0: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 80051c4: 089b lsrs r3, r3, #2 - 80051c6: f003 0301 and.w r3, r3, #1 - 80051ca: b2db uxtb r3, r3 - 80051cc: 2b00 cmp r3, #0 - 80051ce: d00c beq.n 80051ea - 80051d0: 6f3b ldr r3, [r7, #112] @ 0x70 - 80051d2: 2b01 cmp r3, #1 - 80051d4: dc09 bgt.n 80051ea + 8005b42: 687b ldr r3, [r7, #4] + 8005b44: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8005b48: 089b lsrs r3, r3, #2 + 8005b4a: f003 0301 and.w r3, r3, #1 + 8005b4e: b2db uxtb r3, r3 + 8005b50: 2b00 cmp r3, #0 + 8005b52: d00c beq.n 8005b6e + 8005b54: 6f3b ldr r3, [r7, #112] @ 0x70 + 8005b56: 2b01 cmp r3, #1 + 8005b58: dc09 bgt.n 8005b6e { HAL_ETH_Stop(&heth); - 80051d6: 4833 ldr r0, [pc, #204] @ (80052a4 ) - 80051d8: f7fd f8ad bl 8002336 + 8005b5a: 4833 ldr r0, [pc, #204] @ (8005c28 ) + 8005b5c: f7fc fd9b bl 8002696 netif_set_down(netif); - 80051dc: 6878 ldr r0, [r7, #4] - 80051de: f001 f80b bl 80061f8 + 8005b60: 6878 ldr r0, [r7, #4] + 8005b62: f001 f80b bl 8006b7c netif_set_link_down(netif); - 80051e2: 6878 ldr r0, [r7, #4] - 80051e4: f001 f872 bl 80062cc + 8005b66: 6878 ldr r0, [r7, #4] + 8005b68: f001 f872 bl 8006c50 netif_set_up(netif); netif_set_link_up(netif); } } } - 80051e8: e055 b.n 8005296 + 8005b6c: e055 b.n 8005c1a else if(!netif_is_link_up(netif) && (PHYLinkState > DP83848_STATUS_LINK_DOWN)) - 80051ea: 687b ldr r3, [r7, #4] - 80051ec: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 80051f0: f003 0304 and.w r3, r3, #4 - 80051f4: 2b00 cmp r3, #0 - 80051f6: d14e bne.n 8005296 - 80051f8: 6f3b ldr r3, [r7, #112] @ 0x70 - 80051fa: 2b01 cmp r3, #1 - 80051fc: dd4b ble.n 8005296 + 8005b6e: 687b ldr r3, [r7, #4] + 8005b70: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8005b74: f003 0304 and.w r3, r3, #4 + 8005b78: 2b00 cmp r3, #0 + 8005b7a: d14e bne.n 8005c1a + 8005b7c: 6f3b ldr r3, [r7, #112] @ 0x70 + 8005b7e: 2b01 cmp r3, #1 + 8005b80: dd4b ble.n 8005c1a switch (PHYLinkState) - 80051fe: 6f3b ldr r3, [r7, #112] @ 0x70 - 8005200: 3b02 subs r3, #2 - 8005202: 2b03 cmp r3, #3 - 8005204: d82a bhi.n 800525c - 8005206: a201 add r2, pc, #4 @ (adr r2, 800520c ) - 8005208: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 800520c: 0800521d .word 0x0800521d - 8005210: 0800522f .word 0x0800522f - 8005214: 0800523f .word 0x0800523f - 8005218: 0800524f .word 0x0800524f + 8005b82: 6f3b ldr r3, [r7, #112] @ 0x70 + 8005b84: 3b02 subs r3, #2 + 8005b86: 2b03 cmp r3, #3 + 8005b88: d82a bhi.n 8005be0 + 8005b8a: a201 add r2, pc, #4 @ (adr r2, 8005b90 ) + 8005b8c: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8005b90: 08005ba1 .word 0x08005ba1 + 8005b94: 08005bb3 .word 0x08005bb3 + 8005b98: 08005bc3 .word 0x08005bc3 + 8005b9c: 08005bd3 .word 0x08005bd3 duplex = ETH_FULLDUPLEX_MODE; - 800521c: f44f 6300 mov.w r3, #2048 @ 0x800 - 8005220: 677b str r3, [r7, #116] @ 0x74 + 8005ba0: f44f 6300 mov.w r3, #2048 @ 0x800 + 8005ba4: 677b str r3, [r7, #116] @ 0x74 speed = ETH_SPEED_100M; - 8005222: f44f 4380 mov.w r3, #16384 @ 0x4000 - 8005226: 67bb str r3, [r7, #120] @ 0x78 + 8005ba6: f44f 4380 mov.w r3, #16384 @ 0x4000 + 8005baa: 67bb str r3, [r7, #120] @ 0x78 linkchanged = 1; - 8005228: 2301 movs r3, #1 - 800522a: 67fb str r3, [r7, #124] @ 0x7c + 8005bac: 2301 movs r3, #1 + 8005bae: 67fb str r3, [r7, #124] @ 0x7c break; - 800522c: e017 b.n 800525e + 8005bb0: e017 b.n 8005be2 duplex = ETH_HALFDUPLEX_MODE; - 800522e: 2300 movs r3, #0 - 8005230: 677b str r3, [r7, #116] @ 0x74 + 8005bb2: 2300 movs r3, #0 + 8005bb4: 677b str r3, [r7, #116] @ 0x74 speed = ETH_SPEED_100M; - 8005232: f44f 4380 mov.w r3, #16384 @ 0x4000 - 8005236: 67bb str r3, [r7, #120] @ 0x78 + 8005bb6: f44f 4380 mov.w r3, #16384 @ 0x4000 + 8005bba: 67bb str r3, [r7, #120] @ 0x78 linkchanged = 1; - 8005238: 2301 movs r3, #1 - 800523a: 67fb str r3, [r7, #124] @ 0x7c + 8005bbc: 2301 movs r3, #1 + 8005bbe: 67fb str r3, [r7, #124] @ 0x7c break; - 800523c: e00f b.n 800525e + 8005bc0: e00f b.n 8005be2 duplex = ETH_FULLDUPLEX_MODE; - 800523e: f44f 6300 mov.w r3, #2048 @ 0x800 - 8005242: 677b str r3, [r7, #116] @ 0x74 + 8005bc2: f44f 6300 mov.w r3, #2048 @ 0x800 + 8005bc6: 677b str r3, [r7, #116] @ 0x74 speed = ETH_SPEED_10M; - 8005244: 2300 movs r3, #0 - 8005246: 67bb str r3, [r7, #120] @ 0x78 + 8005bc8: 2300 movs r3, #0 + 8005bca: 67bb str r3, [r7, #120] @ 0x78 linkchanged = 1; - 8005248: 2301 movs r3, #1 - 800524a: 67fb str r3, [r7, #124] @ 0x7c + 8005bcc: 2301 movs r3, #1 + 8005bce: 67fb str r3, [r7, #124] @ 0x7c break; - 800524c: e007 b.n 800525e + 8005bd0: e007 b.n 8005be2 duplex = ETH_HALFDUPLEX_MODE; - 800524e: 2300 movs r3, #0 - 8005250: 677b str r3, [r7, #116] @ 0x74 + 8005bd2: 2300 movs r3, #0 + 8005bd4: 677b str r3, [r7, #116] @ 0x74 speed = ETH_SPEED_10M; - 8005252: 2300 movs r3, #0 - 8005254: 67bb str r3, [r7, #120] @ 0x78 + 8005bd6: 2300 movs r3, #0 + 8005bd8: 67bb str r3, [r7, #120] @ 0x78 linkchanged = 1; - 8005256: 2301 movs r3, #1 - 8005258: 67fb str r3, [r7, #124] @ 0x7c + 8005bda: 2301 movs r3, #1 + 8005bdc: 67fb str r3, [r7, #124] @ 0x7c break; - 800525a: e000 b.n 800525e + 8005bde: e000 b.n 8005be2 break; - 800525c: bf00 nop + 8005be0: bf00 nop if(linkchanged) - 800525e: 6ffb ldr r3, [r7, #124] @ 0x7c - 8005260: 2b00 cmp r3, #0 - 8005262: d018 beq.n 8005296 + 8005be2: 6ffb ldr r3, [r7, #124] @ 0x7c + 8005be4: 2b00 cmp r3, #0 + 8005be6: d018 beq.n 8005c1a HAL_ETH_GetMACConfig(&heth, &MACConf); - 8005264: f107 030c add.w r3, r7, #12 - 8005268: 4619 mov r1, r3 - 800526a: 480e ldr r0, [pc, #56] @ (80052a4 ) - 800526c: f7fd fb1c bl 80028a8 + 8005be8: f107 030c add.w r3, r7, #12 + 8005bec: 4619 mov r1, r3 + 8005bee: 480e ldr r0, [pc, #56] @ (8005c28 ) + 8005bf0: f7fd f80a bl 8002c08 MACConf.DuplexMode = duplex; - 8005270: 6f7b ldr r3, [r7, #116] @ 0x74 - 8005272: 627b str r3, [r7, #36] @ 0x24 + 8005bf4: 6f7b ldr r3, [r7, #116] @ 0x74 + 8005bf6: 627b str r3, [r7, #36] @ 0x24 MACConf.Speed = speed; - 8005274: 6fbb ldr r3, [r7, #120] @ 0x78 - 8005276: 623b str r3, [r7, #32] + 8005bf8: 6fbb ldr r3, [r7, #120] @ 0x78 + 8005bfa: 623b str r3, [r7, #32] HAL_ETH_SetMACConfig(&heth, &MACConf); - 8005278: f107 030c add.w r3, r7, #12 - 800527c: 4619 mov r1, r3 - 800527e: 4809 ldr r0, [pc, #36] @ (80052a4 ) - 8005280: f7fd fbfc bl 8002a7c + 8005bfc: f107 030c add.w r3, r7, #12 + 8005c00: 4619 mov r1, r3 + 8005c02: 4809 ldr r0, [pc, #36] @ (8005c28 ) + 8005c04: f7fd f8ea bl 8002ddc HAL_ETH_Start(&heth); - 8005284: 4807 ldr r0, [pc, #28] @ (80052a4 ) - 8005286: f7fc fff7 bl 8002278 + 8005c08: 4807 ldr r0, [pc, #28] @ (8005c28 ) + 8005c0a: f7fc fce5 bl 80025d8 netif_set_up(netif); - 800528a: 6878 ldr r0, [r7, #4] - 800528c: f000 ff48 bl 8006120 + 8005c0e: 6878 ldr r0, [r7, #4] + 8005c10: f000 ff48 bl 8006aa4 netif_set_link_up(netif); - 8005290: 6878 ldr r0, [r7, #4] - 8005292: f000 ffe3 bl 800625c + 8005c14: 6878 ldr r0, [r7, #4] + 8005c16: f000 ffe3 bl 8006be0 } - 8005296: bf00 nop - 8005298: 3780 adds r7, #128 @ 0x80 - 800529a: 46bd mov sp, r7 - 800529c: bd80 pop {r7, pc} - 800529e: bf00 nop - 80052a0: 2000612c .word 0x2000612c - 80052a4: 20006044 .word 0x20006044 + 8005c1a: bf00 nop + 8005c1c: 3780 adds r7, #128 @ 0x80 + 8005c1e: 46bd mov sp, r7 + 8005c20: bd80 pop {r7, pc} + 8005c22: bf00 nop + 8005c24: 20006160 .word 0x20006160 + 8005c28: 20006078 .word 0x20006078 -080052a8 : +08005c2c : void HAL_ETH_RxAllocateCallback(uint8_t **buff) { - 80052a8: b580 push {r7, lr} - 80052aa: b086 sub sp, #24 - 80052ac: af02 add r7, sp, #8 - 80052ae: 6078 str r0, [r7, #4] + 8005c2c: b580 push {r7, lr} + 8005c2e: b086 sub sp, #24 + 8005c30: af02 add r7, sp, #8 + 8005c32: 6078 str r0, [r7, #4] /* USER CODE BEGIN HAL ETH RxAllocateCallback */ struct pbuf_custom *p = LWIP_MEMPOOL_ALLOC(RX_POOL); - 80052b0: 4812 ldr r0, [pc, #72] @ (80052fc ) - 80052b2: f000 fca7 bl 8005c04 - 80052b6: 60f8 str r0, [r7, #12] + 8005c34: 4812 ldr r0, [pc, #72] @ (8005c80 ) + 8005c36: f000 fca7 bl 8006588 + 8005c3a: 60f8 str r0, [r7, #12] if (p) - 80052b8: 68fb ldr r3, [r7, #12] - 80052ba: 2b00 cmp r3, #0 - 80052bc: d014 beq.n 80052e8 + 8005c3c: 68fb ldr r3, [r7, #12] + 8005c3e: 2b00 cmp r3, #0 + 8005c40: d014 beq.n 8005c6c { /* Get the buff from the struct pbuf address. */ *buff = (uint8_t *)p + offsetof(RxBuff_t, buff); - 80052be: 68fb ldr r3, [r7, #12] - 80052c0: f103 0220 add.w r2, r3, #32 - 80052c4: 687b ldr r3, [r7, #4] - 80052c6: 601a str r2, [r3, #0] + 8005c42: 68fb ldr r3, [r7, #12] + 8005c44: f103 0220 add.w r2, r3, #32 + 8005c48: 687b ldr r3, [r7, #4] + 8005c4a: 601a str r2, [r3, #0] p->custom_free_function = pbuf_free_custom; - 80052c8: 68fb ldr r3, [r7, #12] - 80052ca: 4a0d ldr r2, [pc, #52] @ (8005300 ) - 80052cc: 611a str r2, [r3, #16] + 8005c4c: 68fb ldr r3, [r7, #12] + 8005c4e: 4a0d ldr r2, [pc, #52] @ (8005c84 ) + 8005c50: 611a str r2, [r3, #16] /* Initialize the struct pbuf. * This must be performed whenever a buffer's allocated because it may be * changed by lwIP or the app, e.g., pbuf_free decrements ref. */ pbuf_alloced_custom(PBUF_RAW, 0, PBUF_REF, p, *buff, ETH_RX_BUFFER_SIZE); - 80052ce: 687b ldr r3, [r7, #4] - 80052d0: 681b ldr r3, [r3, #0] - 80052d2: f44f 62c0 mov.w r2, #1536 @ 0x600 - 80052d6: 9201 str r2, [sp, #4] - 80052d8: 9300 str r3, [sp, #0] - 80052da: 68fb ldr r3, [r7, #12] - 80052dc: 2241 movs r2, #65 @ 0x41 - 80052de: 2100 movs r1, #0 - 80052e0: 2000 movs r0, #0 - 80052e2: f001 f9e9 bl 80066b8 + 8005c52: 687b ldr r3, [r7, #4] + 8005c54: 681b ldr r3, [r3, #0] + 8005c56: f44f 62c0 mov.w r2, #1536 @ 0x600 + 8005c5a: 9201 str r2, [sp, #4] + 8005c5c: 9300 str r3, [sp, #0] + 8005c5e: 68fb ldr r3, [r7, #12] + 8005c60: 2241 movs r2, #65 @ 0x41 + 8005c62: 2100 movs r1, #0 + 8005c64: 2000 movs r0, #0 + 8005c66: f001 f9e9 bl 800703c { RxAllocStatus = RX_ALLOC_ERROR; *buff = NULL; } /* USER CODE END HAL ETH RxAllocateCallback */ } - 80052e6: e005 b.n 80052f4 + 8005c6a: e005 b.n 8005c78 RxAllocStatus = RX_ALLOC_ERROR; - 80052e8: 4b06 ldr r3, [pc, #24] @ (8005304 ) - 80052ea: 2201 movs r2, #1 - 80052ec: 701a strb r2, [r3, #0] + 8005c6c: 4b06 ldr r3, [pc, #24] @ (8005c88 ) + 8005c6e: 2201 movs r2, #1 + 8005c70: 701a strb r2, [r3, #0] *buff = NULL; - 80052ee: 687b ldr r3, [r7, #4] - 80052f0: 2200 movs r2, #0 - 80052f2: 601a str r2, [r3, #0] + 8005c72: 687b ldr r3, [r7, #4] + 8005c74: 2200 movs r2, #0 + 8005c76: 601a str r2, [r3, #0] } - 80052f4: bf00 nop - 80052f6: 3710 adds r7, #16 - 80052f8: 46bd mov sp, r7 - 80052fa: bd80 pop {r7, pc} - 80052fc: 08018de8 .word 0x08018de8 - 8005300: 08004f25 .word 0x08004f25 - 8005304: 20005f00 .word 0x20005f00 + 8005c78: bf00 nop + 8005c7a: 3710 adds r7, #16 + 8005c7c: 46bd mov sp, r7 + 8005c7e: bd80 pop {r7, pc} + 8005c80: 08019768 .word 0x08019768 + 8005c84: 080058a9 .word 0x080058a9 + 8005c88: 20005f34 .word 0x20005f34 -08005308 : +08005c8c : void HAL_ETH_RxLinkCallback(void **pStart, void **pEnd, uint8_t *buff, uint16_t Length) { - 8005308: b480 push {r7} - 800530a: b089 sub sp, #36 @ 0x24 - 800530c: af00 add r7, sp, #0 - 800530e: 60f8 str r0, [r7, #12] - 8005310: 60b9 str r1, [r7, #8] - 8005312: 607a str r2, [r7, #4] - 8005314: 807b strh r3, [r7, #2] + 8005c8c: b480 push {r7} + 8005c8e: b089 sub sp, #36 @ 0x24 + 8005c90: af00 add r7, sp, #0 + 8005c92: 60f8 str r0, [r7, #12] + 8005c94: 60b9 str r1, [r7, #8] + 8005c96: 607a str r2, [r7, #4] + 8005c98: 807b strh r3, [r7, #2] /* USER CODE BEGIN HAL ETH RxLinkCallback */ struct pbuf **ppStart = (struct pbuf **)pStart; - 8005316: 68fb ldr r3, [r7, #12] - 8005318: 61bb str r3, [r7, #24] + 8005c9a: 68fb ldr r3, [r7, #12] + 8005c9c: 61bb str r3, [r7, #24] struct pbuf **ppEnd = (struct pbuf **)pEnd; - 800531a: 68bb ldr r3, [r7, #8] - 800531c: 617b str r3, [r7, #20] + 8005c9e: 68bb ldr r3, [r7, #8] + 8005ca0: 617b str r3, [r7, #20] struct pbuf *p = NULL; - 800531e: 2300 movs r3, #0 - 8005320: 61fb str r3, [r7, #28] + 8005ca2: 2300 movs r3, #0 + 8005ca4: 61fb str r3, [r7, #28] /* Get the struct pbuf from the buff address. */ p = (struct pbuf *)(buff - offsetof(RxBuff_t, buff)); - 8005322: 687b ldr r3, [r7, #4] - 8005324: 3b20 subs r3, #32 - 8005326: 61fb str r3, [r7, #28] + 8005ca6: 687b ldr r3, [r7, #4] + 8005ca8: 3b20 subs r3, #32 + 8005caa: 61fb str r3, [r7, #28] p->next = NULL; - 8005328: 69fb ldr r3, [r7, #28] - 800532a: 2200 movs r2, #0 - 800532c: 601a str r2, [r3, #0] + 8005cac: 69fb ldr r3, [r7, #28] + 8005cae: 2200 movs r2, #0 + 8005cb0: 601a str r2, [r3, #0] p->tot_len = 0; - 800532e: 69fb ldr r3, [r7, #28] - 8005330: 2200 movs r2, #0 - 8005332: 811a strh r2, [r3, #8] + 8005cb2: 69fb ldr r3, [r7, #28] + 8005cb4: 2200 movs r2, #0 + 8005cb6: 811a strh r2, [r3, #8] p->len = Length; - 8005334: 69fb ldr r3, [r7, #28] - 8005336: 887a ldrh r2, [r7, #2] - 8005338: 815a strh r2, [r3, #10] + 8005cb8: 69fb ldr r3, [r7, #28] + 8005cba: 887a ldrh r2, [r7, #2] + 8005cbc: 815a strh r2, [r3, #10] /* Chain the buffer. */ if (!*ppStart) - 800533a: 69bb ldr r3, [r7, #24] - 800533c: 681b ldr r3, [r3, #0] - 800533e: 2b00 cmp r3, #0 - 8005340: d103 bne.n 800534a + 8005cbe: 69bb ldr r3, [r7, #24] + 8005cc0: 681b ldr r3, [r3, #0] + 8005cc2: 2b00 cmp r3, #0 + 8005cc4: d103 bne.n 8005cce { /* The first buffer of the packet. */ *ppStart = p; - 8005342: 69bb ldr r3, [r7, #24] - 8005344: 69fa ldr r2, [r7, #28] - 8005346: 601a str r2, [r3, #0] - 8005348: e003 b.n 8005352 + 8005cc6: 69bb ldr r3, [r7, #24] + 8005cc8: 69fa ldr r2, [r7, #28] + 8005cca: 601a str r2, [r3, #0] + 8005ccc: e003 b.n 8005cd6 } else { /* Chain the buffer to the end of the packet. */ (*ppEnd)->next = p; - 800534a: 697b ldr r3, [r7, #20] - 800534c: 681b ldr r3, [r3, #0] - 800534e: 69fa ldr r2, [r7, #28] - 8005350: 601a str r2, [r3, #0] + 8005cce: 697b ldr r3, [r7, #20] + 8005cd0: 681b ldr r3, [r3, #0] + 8005cd2: 69fa ldr r2, [r7, #28] + 8005cd4: 601a str r2, [r3, #0] } *ppEnd = p; - 8005352: 697b ldr r3, [r7, #20] - 8005354: 69fa ldr r2, [r7, #28] - 8005356: 601a str r2, [r3, #0] + 8005cd6: 697b ldr r3, [r7, #20] + 8005cd8: 69fa ldr r2, [r7, #28] + 8005cda: 601a str r2, [r3, #0] /* Update the total length of all the buffers of the chain. Each pbuf in the chain should have its tot_len * set to its own length, plus the length of all the following pbufs in the chain. */ for (p = *ppStart; p != NULL; p = p->next) - 8005358: 69bb ldr r3, [r7, #24] - 800535a: 681b ldr r3, [r3, #0] - 800535c: 61fb str r3, [r7, #28] - 800535e: e009 b.n 8005374 + 8005cdc: 69bb ldr r3, [r7, #24] + 8005cde: 681b ldr r3, [r3, #0] + 8005ce0: 61fb str r3, [r7, #28] + 8005ce2: e009 b.n 8005cf8 { p->tot_len += Length; - 8005360: 69fb ldr r3, [r7, #28] - 8005362: 891a ldrh r2, [r3, #8] - 8005364: 887b ldrh r3, [r7, #2] - 8005366: 4413 add r3, r2 - 8005368: b29a uxth r2, r3 - 800536a: 69fb ldr r3, [r7, #28] - 800536c: 811a strh r2, [r3, #8] + 8005ce4: 69fb ldr r3, [r7, #28] + 8005ce6: 891a ldrh r2, [r3, #8] + 8005ce8: 887b ldrh r3, [r7, #2] + 8005cea: 4413 add r3, r2 + 8005cec: b29a uxth r2, r3 + 8005cee: 69fb ldr r3, [r7, #28] + 8005cf0: 811a strh r2, [r3, #8] for (p = *ppStart; p != NULL; p = p->next) - 800536e: 69fb ldr r3, [r7, #28] - 8005370: 681b ldr r3, [r3, #0] - 8005372: 61fb str r3, [r7, #28] - 8005374: 69fb ldr r3, [r7, #28] - 8005376: 2b00 cmp r3, #0 - 8005378: d1f2 bne.n 8005360 + 8005cf2: 69fb ldr r3, [r7, #28] + 8005cf4: 681b ldr r3, [r3, #0] + 8005cf6: 61fb str r3, [r7, #28] + 8005cf8: 69fb ldr r3, [r7, #28] + 8005cfa: 2b00 cmp r3, #0 + 8005cfc: d1f2 bne.n 8005ce4 } /* USER CODE END HAL ETH RxLinkCallback */ } - 800537a: bf00 nop - 800537c: bf00 nop - 800537e: 3724 adds r7, #36 @ 0x24 - 8005380: 46bd mov sp, r7 - 8005382: f85d 7b04 ldr.w r7, [sp], #4 - 8005386: 4770 bx lr + 8005cfe: bf00 nop + 8005d00: bf00 nop + 8005d02: 3724 adds r7, #36 @ 0x24 + 8005d04: 46bd mov sp, r7 + 8005d06: f85d 7b04 ldr.w r7, [sp], #4 + 8005d0a: 4770 bx lr -08005388 : +08005d0c : * @param n u16_t in host byte order * @return n in network byte order */ u16_t lwip_htons(u16_t n) { - 8005388: b480 push {r7} - 800538a: b083 sub sp, #12 - 800538c: af00 add r7, sp, #0 - 800538e: 4603 mov r3, r0 - 8005390: 80fb strh r3, [r7, #6] + 8005d0c: b480 push {r7} + 8005d0e: b083 sub sp, #12 + 8005d10: af00 add r7, sp, #0 + 8005d12: 4603 mov r3, r0 + 8005d14: 80fb strh r3, [r7, #6] return PP_HTONS(n); - 8005392: 88fb ldrh r3, [r7, #6] - 8005394: 021b lsls r3, r3, #8 - 8005396: b21a sxth r2, r3 - 8005398: 88fb ldrh r3, [r7, #6] - 800539a: 0a1b lsrs r3, r3, #8 - 800539c: b29b uxth r3, r3 - 800539e: b21b sxth r3, r3 - 80053a0: 4313 orrs r3, r2 - 80053a2: b21b sxth r3, r3 - 80053a4: b29b uxth r3, r3 + 8005d16: 88fb ldrh r3, [r7, #6] + 8005d18: 021b lsls r3, r3, #8 + 8005d1a: b21a sxth r2, r3 + 8005d1c: 88fb ldrh r3, [r7, #6] + 8005d1e: 0a1b lsrs r3, r3, #8 + 8005d20: b29b uxth r3, r3 + 8005d22: b21b sxth r3, r3 + 8005d24: 4313 orrs r3, r2 + 8005d26: b21b sxth r3, r3 + 8005d28: b29b uxth r3, r3 } - 80053a6: 4618 mov r0, r3 - 80053a8: 370c adds r7, #12 - 80053aa: 46bd mov sp, r7 - 80053ac: f85d 7b04 ldr.w r7, [sp], #4 - 80053b0: 4770 bx lr + 8005d2a: 4618 mov r0, r3 + 8005d2c: 370c adds r7, #12 + 8005d2e: 46bd mov sp, r7 + 8005d30: f85d 7b04 ldr.w r7, [sp], #4 + 8005d34: 4770 bx lr -080053b2 : +08005d36 : * @param n u32_t in host byte order * @return n in network byte order */ u32_t lwip_htonl(u32_t n) { - 80053b2: b480 push {r7} - 80053b4: b083 sub sp, #12 - 80053b6: af00 add r7, sp, #0 - 80053b8: 6078 str r0, [r7, #4] + 8005d36: b480 push {r7} + 8005d38: b083 sub sp, #12 + 8005d3a: af00 add r7, sp, #0 + 8005d3c: 6078 str r0, [r7, #4] return PP_HTONL(n); - 80053ba: 687b ldr r3, [r7, #4] - 80053bc: 061a lsls r2, r3, #24 - 80053be: 687b ldr r3, [r7, #4] - 80053c0: 021b lsls r3, r3, #8 - 80053c2: f403 037f and.w r3, r3, #16711680 @ 0xff0000 - 80053c6: 431a orrs r2, r3 - 80053c8: 687b ldr r3, [r7, #4] - 80053ca: 0a1b lsrs r3, r3, #8 - 80053cc: f403 437f and.w r3, r3, #65280 @ 0xff00 - 80053d0: 431a orrs r2, r3 - 80053d2: 687b ldr r3, [r7, #4] - 80053d4: 0e1b lsrs r3, r3, #24 - 80053d6: 4313 orrs r3, r2 + 8005d3e: 687b ldr r3, [r7, #4] + 8005d40: 061a lsls r2, r3, #24 + 8005d42: 687b ldr r3, [r7, #4] + 8005d44: 021b lsls r3, r3, #8 + 8005d46: f403 037f and.w r3, r3, #16711680 @ 0xff0000 + 8005d4a: 431a orrs r2, r3 + 8005d4c: 687b ldr r3, [r7, #4] + 8005d4e: 0a1b lsrs r3, r3, #8 + 8005d50: f403 437f and.w r3, r3, #65280 @ 0xff00 + 8005d54: 431a orrs r2, r3 + 8005d56: 687b ldr r3, [r7, #4] + 8005d58: 0e1b lsrs r3, r3, #24 + 8005d5a: 4313 orrs r3, r2 } - 80053d8: 4618 mov r0, r3 - 80053da: 370c adds r7, #12 - 80053dc: 46bd mov sp, r7 - 80053de: f85d 7b04 ldr.w r7, [sp], #4 - 80053e2: 4770 bx lr + 8005d5c: 4618 mov r0, r3 + 8005d5e: 370c adds r7, #12 + 8005d60: 46bd mov sp, r7 + 8005d62: f85d 7b04 ldr.w r7, [sp], #4 + 8005d66: 4770 bx lr -080053e4 : +08005d68 : * Initialize all modules. * Use this in NO_SYS mode. Use tcpip_init() otherwise. */ void lwip_init(void) { - 80053e4: b580 push {r7, lr} - 80053e6: b082 sub sp, #8 - 80053e8: af00 add r7, sp, #0 + 8005d68: b580 push {r7, lr} + 8005d6a: b082 sub sp, #8 + 8005d6c: af00 add r7, sp, #0 #ifndef LWIP_SKIP_CONST_CHECK int a = 0; - 80053ea: 2300 movs r3, #0 - 80053ec: 607b str r3, [r7, #4] + 8005d6e: 2300 movs r3, #0 + 8005d70: 607b str r3, [r7, #4] /* Modules initialization */ stats_init(); #if !NO_SYS sys_init(); #endif /* !NO_SYS */ mem_init(); - 80053ee: f000 f8d1 bl 8005594 + 8005d72: f000 f8d1 bl 8005f18 memp_init(); - 80053f2: f000 fbc3 bl 8005b7c + 8005d76: f000 fbc3 bl 8006500 pbuf_init(); netif_init(); - 80053f6: f000 fcc1 bl 8005d7c + 8005d7a: f000 fcc1 bl 8006700 #endif /* LWIP_IPV4 */ #if LWIP_RAW raw_init(); #endif /* LWIP_RAW */ #if LWIP_UDP udp_init(); - 80053fa: f007 f855 bl 800c4a8 + 8005d7e: f007 f855 bl 800ce2c #endif /* LWIP_UDP */ #if LWIP_TCP tcp_init(); - 80053fe: f001 fdb1 bl 8006f64 + 8005d82: f001 fdb1 bl 80078e8 #if PPP_SUPPORT ppp_init(); #endif #if LWIP_TIMERS sys_timeouts_init(); - 8005402: f006 ffc7 bl 800c394 + 8005d86: f006 ffc7 bl 800cd18 #endif /* LWIP_TIMERS */ } - 8005406: bf00 nop - 8005408: 3708 adds r7, #8 - 800540a: 46bd mov sp, r7 - 800540c: bd80 pop {r7, pc} + 8005d8a: bf00 nop + 8005d8c: 3708 adds r7, #8 + 8005d8e: 46bd mov sp, r7 + 8005d90: bd80 pop {r7, pc} ... -08005410 : +08005d94 : #define mem_overflow_check_element(mem) #endif /* MEM_OVERFLOW_CHECK */ static struct mem * ptr_to_mem(mem_size_t ptr) { - 8005410: b480 push {r7} - 8005412: b083 sub sp, #12 - 8005414: af00 add r7, sp, #0 - 8005416: 6078 str r0, [r7, #4] + 8005d94: b480 push {r7} + 8005d96: b083 sub sp, #12 + 8005d98: af00 add r7, sp, #0 + 8005d9a: 6078 str r0, [r7, #4] return (struct mem *)(void *)&ram[ptr]; - 8005418: 4b04 ldr r3, [pc, #16] @ (800542c ) - 800541a: 681a ldr r2, [r3, #0] - 800541c: 687b ldr r3, [r7, #4] - 800541e: 4413 add r3, r2 + 8005d9c: 4b04 ldr r3, [pc, #16] @ (8005db0 ) + 8005d9e: 681a ldr r2, [r3, #0] + 8005da0: 687b ldr r3, [r7, #4] + 8005da2: 4413 add r3, r2 } - 8005420: 4618 mov r0, r3 - 8005422: 370c adds r7, #12 - 8005424: 46bd mov sp, r7 - 8005426: f85d 7b04 ldr.w r7, [sp], #4 - 800542a: 4770 bx lr - 800542c: 20016180 .word 0x20016180 + 8005da4: 4618 mov r0, r3 + 8005da6: 370c adds r7, #12 + 8005da8: 46bd mov sp, r7 + 8005daa: f85d 7b04 ldr.w r7, [sp], #4 + 8005dae: 4770 bx lr + 8005db0: 200161b4 .word 0x200161b4 -08005430 : +08005db4 : static mem_size_t mem_to_ptr(void *mem) { - 8005430: b480 push {r7} - 8005432: b083 sub sp, #12 - 8005434: af00 add r7, sp, #0 - 8005436: 6078 str r0, [r7, #4] + 8005db4: b480 push {r7} + 8005db6: b083 sub sp, #12 + 8005db8: af00 add r7, sp, #0 + 8005dba: 6078 str r0, [r7, #4] return (mem_size_t)((u8_t *)mem - ram); - 8005438: 4b04 ldr r3, [pc, #16] @ (800544c ) - 800543a: 681b ldr r3, [r3, #0] - 800543c: 687a ldr r2, [r7, #4] - 800543e: 1ad3 subs r3, r2, r3 + 8005dbc: 4b04 ldr r3, [pc, #16] @ (8005dd0 ) + 8005dbe: 681b ldr r3, [r3, #0] + 8005dc0: 687a ldr r2, [r7, #4] + 8005dc2: 1ad3 subs r3, r2, r3 } - 8005440: 4618 mov r0, r3 - 8005442: 370c adds r7, #12 - 8005444: 46bd mov sp, r7 - 8005446: f85d 7b04 ldr.w r7, [sp], #4 - 800544a: 4770 bx lr - 800544c: 20016180 .word 0x20016180 + 8005dc4: 4618 mov r0, r3 + 8005dc6: 370c adds r7, #12 + 8005dc8: 46bd mov sp, r7 + 8005dca: f85d 7b04 ldr.w r7, [sp], #4 + 8005dce: 4770 bx lr + 8005dd0: 200161b4 .word 0x200161b4 -08005450 : +08005dd4 : * This assumes access to the heap is protected by the calling function * already. */ static void plug_holes(struct mem *mem) { - 8005450: b590 push {r4, r7, lr} - 8005452: b085 sub sp, #20 - 8005454: af00 add r7, sp, #0 - 8005456: 6078 str r0, [r7, #4] + 8005dd4: b590 push {r4, r7, lr} + 8005dd6: b085 sub sp, #20 + 8005dd8: af00 add r7, sp, #0 + 8005dda: 6078 str r0, [r7, #4] struct mem *nmem; struct mem *pmem; LWIP_ASSERT("plug_holes: mem >= ram", (u8_t *)mem >= ram); - 8005458: 4b45 ldr r3, [pc, #276] @ (8005570 ) - 800545a: 681b ldr r3, [r3, #0] - 800545c: 687a ldr r2, [r7, #4] - 800545e: 429a cmp r2, r3 - 8005460: d206 bcs.n 8005470 - 8005462: 4b44 ldr r3, [pc, #272] @ (8005574 ) - 8005464: f240 12df movw r2, #479 @ 0x1df - 8005468: 4943 ldr r1, [pc, #268] @ (8005578 ) - 800546a: 4844 ldr r0, [pc, #272] @ (800557c ) - 800546c: f00c f8c4 bl 80115f8 + 8005ddc: 4b45 ldr r3, [pc, #276] @ (8005ef4 ) + 8005dde: 681b ldr r3, [r3, #0] + 8005de0: 687a ldr r2, [r7, #4] + 8005de2: 429a cmp r2, r3 + 8005de4: d206 bcs.n 8005df4 + 8005de6: 4b44 ldr r3, [pc, #272] @ (8005ef8 ) + 8005de8: f240 12df movw r2, #479 @ 0x1df + 8005dec: 4943 ldr r1, [pc, #268] @ (8005efc ) + 8005dee: 4844 ldr r0, [pc, #272] @ (8005f00 ) + 8005df0: f00c f8c4 bl 8011f7c LWIP_ASSERT("plug_holes: mem < ram_end", (u8_t *)mem < (u8_t *)ram_end); - 8005470: 4b43 ldr r3, [pc, #268] @ (8005580 ) - 8005472: 681b ldr r3, [r3, #0] - 8005474: 687a ldr r2, [r7, #4] - 8005476: 429a cmp r2, r3 - 8005478: d306 bcc.n 8005488 - 800547a: 4b3e ldr r3, [pc, #248] @ (8005574 ) - 800547c: f44f 72f0 mov.w r2, #480 @ 0x1e0 - 8005480: 4940 ldr r1, [pc, #256] @ (8005584 ) - 8005482: 483e ldr r0, [pc, #248] @ (800557c ) - 8005484: f00c f8b8 bl 80115f8 + 8005df4: 4b43 ldr r3, [pc, #268] @ (8005f04 ) + 8005df6: 681b ldr r3, [r3, #0] + 8005df8: 687a ldr r2, [r7, #4] + 8005dfa: 429a cmp r2, r3 + 8005dfc: d306 bcc.n 8005e0c + 8005dfe: 4b3e ldr r3, [pc, #248] @ (8005ef8 ) + 8005e00: f44f 72f0 mov.w r2, #480 @ 0x1e0 + 8005e04: 4940 ldr r1, [pc, #256] @ (8005f08 ) + 8005e06: 483e ldr r0, [pc, #248] @ (8005f00 ) + 8005e08: f00c f8b8 bl 8011f7c LWIP_ASSERT("plug_holes: mem->used == 0", mem->used == 0); - 8005488: 687b ldr r3, [r7, #4] - 800548a: 7a1b ldrb r3, [r3, #8] - 800548c: 2b00 cmp r3, #0 - 800548e: d006 beq.n 800549e - 8005490: 4b38 ldr r3, [pc, #224] @ (8005574 ) - 8005492: f240 12e1 movw r2, #481 @ 0x1e1 - 8005496: 493c ldr r1, [pc, #240] @ (8005588 ) - 8005498: 4838 ldr r0, [pc, #224] @ (800557c ) - 800549a: f00c f8ad bl 80115f8 + 8005e0c: 687b ldr r3, [r7, #4] + 8005e0e: 7a1b ldrb r3, [r3, #8] + 8005e10: 2b00 cmp r3, #0 + 8005e12: d006 beq.n 8005e22 + 8005e14: 4b38 ldr r3, [pc, #224] @ (8005ef8 ) + 8005e16: f240 12e1 movw r2, #481 @ 0x1e1 + 8005e1a: 493c ldr r1, [pc, #240] @ (8005f0c ) + 8005e1c: 4838 ldr r0, [pc, #224] @ (8005f00 ) + 8005e1e: f00c f8ad bl 8011f7c /* plug hole forward */ LWIP_ASSERT("plug_holes: mem->next <= MEM_SIZE_ALIGNED", mem->next <= MEM_SIZE_ALIGNED); - 800549e: 687b ldr r3, [r7, #4] - 80054a0: 681b ldr r3, [r3, #0] - 80054a2: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 80054a6: d906 bls.n 80054b6 - 80054a8: 4b32 ldr r3, [pc, #200] @ (8005574 ) - 80054aa: f44f 72f2 mov.w r2, #484 @ 0x1e4 - 80054ae: 4937 ldr r1, [pc, #220] @ (800558c ) - 80054b0: 4832 ldr r0, [pc, #200] @ (800557c ) - 80054b2: f00c f8a1 bl 80115f8 + 8005e22: 687b ldr r3, [r7, #4] + 8005e24: 681b ldr r3, [r3, #0] + 8005e26: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8005e2a: d906 bls.n 8005e3a + 8005e2c: 4b32 ldr r3, [pc, #200] @ (8005ef8 ) + 8005e2e: f44f 72f2 mov.w r2, #484 @ 0x1e4 + 8005e32: 4937 ldr r1, [pc, #220] @ (8005f10 ) + 8005e34: 4832 ldr r0, [pc, #200] @ (8005f00 ) + 8005e36: f00c f8a1 bl 8011f7c nmem = ptr_to_mem(mem->next); - 80054b6: 687b ldr r3, [r7, #4] - 80054b8: 681b ldr r3, [r3, #0] - 80054ba: 4618 mov r0, r3 - 80054bc: f7ff ffa8 bl 8005410 - 80054c0: 60f8 str r0, [r7, #12] + 8005e3a: 687b ldr r3, [r7, #4] + 8005e3c: 681b ldr r3, [r3, #0] + 8005e3e: 4618 mov r0, r3 + 8005e40: f7ff ffa8 bl 8005d94 + 8005e44: 60f8 str r0, [r7, #12] if (mem != nmem && nmem->used == 0 && (u8_t *)nmem != (u8_t *)ram_end) { - 80054c2: 687a ldr r2, [r7, #4] - 80054c4: 68fb ldr r3, [r7, #12] - 80054c6: 429a cmp r2, r3 - 80054c8: d024 beq.n 8005514 - 80054ca: 68fb ldr r3, [r7, #12] - 80054cc: 7a1b ldrb r3, [r3, #8] - 80054ce: 2b00 cmp r3, #0 - 80054d0: d120 bne.n 8005514 - 80054d2: 4b2b ldr r3, [pc, #172] @ (8005580 ) - 80054d4: 681b ldr r3, [r3, #0] - 80054d6: 68fa ldr r2, [r7, #12] - 80054d8: 429a cmp r2, r3 - 80054da: d01b beq.n 8005514 + 8005e46: 687a ldr r2, [r7, #4] + 8005e48: 68fb ldr r3, [r7, #12] + 8005e4a: 429a cmp r2, r3 + 8005e4c: d024 beq.n 8005e98 + 8005e4e: 68fb ldr r3, [r7, #12] + 8005e50: 7a1b ldrb r3, [r3, #8] + 8005e52: 2b00 cmp r3, #0 + 8005e54: d120 bne.n 8005e98 + 8005e56: 4b2b ldr r3, [pc, #172] @ (8005f04 ) + 8005e58: 681b ldr r3, [r3, #0] + 8005e5a: 68fa ldr r2, [r7, #12] + 8005e5c: 429a cmp r2, r3 + 8005e5e: d01b beq.n 8005e98 /* if mem->next is unused and not end of ram, combine mem and mem->next */ if (lfree == nmem) { - 80054dc: 4b2c ldr r3, [pc, #176] @ (8005590 ) - 80054de: 681b ldr r3, [r3, #0] - 80054e0: 68fa ldr r2, [r7, #12] - 80054e2: 429a cmp r2, r3 - 80054e4: d102 bne.n 80054ec + 8005e60: 4b2c ldr r3, [pc, #176] @ (8005f14 ) + 8005e62: 681b ldr r3, [r3, #0] + 8005e64: 68fa ldr r2, [r7, #12] + 8005e66: 429a cmp r2, r3 + 8005e68: d102 bne.n 8005e70 lfree = mem; - 80054e6: 4a2a ldr r2, [pc, #168] @ (8005590 ) - 80054e8: 687b ldr r3, [r7, #4] - 80054ea: 6013 str r3, [r2, #0] + 8005e6a: 4a2a ldr r2, [pc, #168] @ (8005f14 ) + 8005e6c: 687b ldr r3, [r7, #4] + 8005e6e: 6013 str r3, [r2, #0] } mem->next = nmem->next; - 80054ec: 68fb ldr r3, [r7, #12] - 80054ee: 681a ldr r2, [r3, #0] - 80054f0: 687b ldr r3, [r7, #4] - 80054f2: 601a str r2, [r3, #0] + 8005e70: 68fb ldr r3, [r7, #12] + 8005e72: 681a ldr r2, [r3, #0] + 8005e74: 687b ldr r3, [r7, #4] + 8005e76: 601a str r2, [r3, #0] if (nmem->next != MEM_SIZE_ALIGNED) { - 80054f4: 68fb ldr r3, [r7, #12] - 80054f6: 681b ldr r3, [r3, #0] - 80054f8: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 80054fc: d00a beq.n 8005514 + 8005e78: 68fb ldr r3, [r7, #12] + 8005e7a: 681b ldr r3, [r3, #0] + 8005e7c: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8005e80: d00a beq.n 8005e98 ptr_to_mem(nmem->next)->prev = mem_to_ptr(mem); - 80054fe: 68fb ldr r3, [r7, #12] - 8005500: 681b ldr r3, [r3, #0] - 8005502: 4618 mov r0, r3 - 8005504: f7ff ff84 bl 8005410 - 8005508: 4604 mov r4, r0 - 800550a: 6878 ldr r0, [r7, #4] - 800550c: f7ff ff90 bl 8005430 - 8005510: 4603 mov r3, r0 - 8005512: 6063 str r3, [r4, #4] + 8005e82: 68fb ldr r3, [r7, #12] + 8005e84: 681b ldr r3, [r3, #0] + 8005e86: 4618 mov r0, r3 + 8005e88: f7ff ff84 bl 8005d94 + 8005e8c: 4604 mov r4, r0 + 8005e8e: 6878 ldr r0, [r7, #4] + 8005e90: f7ff ff90 bl 8005db4 + 8005e94: 4603 mov r3, r0 + 8005e96: 6063 str r3, [r4, #4] } } /* plug hole backward */ pmem = ptr_to_mem(mem->prev); - 8005514: 687b ldr r3, [r7, #4] - 8005516: 685b ldr r3, [r3, #4] - 8005518: 4618 mov r0, r3 - 800551a: f7ff ff79 bl 8005410 - 800551e: 60b8 str r0, [r7, #8] + 8005e98: 687b ldr r3, [r7, #4] + 8005e9a: 685b ldr r3, [r3, #4] + 8005e9c: 4618 mov r0, r3 + 8005e9e: f7ff ff79 bl 8005d94 + 8005ea2: 60b8 str r0, [r7, #8] if (pmem != mem && pmem->used == 0) { - 8005520: 68ba ldr r2, [r7, #8] - 8005522: 687b ldr r3, [r7, #4] - 8005524: 429a cmp r2, r3 - 8005526: d01f beq.n 8005568 - 8005528: 68bb ldr r3, [r7, #8] - 800552a: 7a1b ldrb r3, [r3, #8] - 800552c: 2b00 cmp r3, #0 - 800552e: d11b bne.n 8005568 + 8005ea4: 68ba ldr r2, [r7, #8] + 8005ea6: 687b ldr r3, [r7, #4] + 8005ea8: 429a cmp r2, r3 + 8005eaa: d01f beq.n 8005eec + 8005eac: 68bb ldr r3, [r7, #8] + 8005eae: 7a1b ldrb r3, [r3, #8] + 8005eb0: 2b00 cmp r3, #0 + 8005eb2: d11b bne.n 8005eec /* if mem->prev is unused, combine mem and mem->prev */ if (lfree == mem) { - 8005530: 4b17 ldr r3, [pc, #92] @ (8005590 ) - 8005532: 681b ldr r3, [r3, #0] - 8005534: 687a ldr r2, [r7, #4] - 8005536: 429a cmp r2, r3 - 8005538: d102 bne.n 8005540 + 8005eb4: 4b17 ldr r3, [pc, #92] @ (8005f14 ) + 8005eb6: 681b ldr r3, [r3, #0] + 8005eb8: 687a ldr r2, [r7, #4] + 8005eba: 429a cmp r2, r3 + 8005ebc: d102 bne.n 8005ec4 lfree = pmem; - 800553a: 4a15 ldr r2, [pc, #84] @ (8005590 ) - 800553c: 68bb ldr r3, [r7, #8] - 800553e: 6013 str r3, [r2, #0] + 8005ebe: 4a15 ldr r2, [pc, #84] @ (8005f14 ) + 8005ec0: 68bb ldr r3, [r7, #8] + 8005ec2: 6013 str r3, [r2, #0] } pmem->next = mem->next; - 8005540: 687b ldr r3, [r7, #4] - 8005542: 681a ldr r2, [r3, #0] - 8005544: 68bb ldr r3, [r7, #8] - 8005546: 601a str r2, [r3, #0] + 8005ec4: 687b ldr r3, [r7, #4] + 8005ec6: 681a ldr r2, [r3, #0] + 8005ec8: 68bb ldr r3, [r7, #8] + 8005eca: 601a str r2, [r3, #0] if (mem->next != MEM_SIZE_ALIGNED) { - 8005548: 687b ldr r3, [r7, #4] - 800554a: 681b ldr r3, [r3, #0] - 800554c: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8005550: d00a beq.n 8005568 + 8005ecc: 687b ldr r3, [r7, #4] + 8005ece: 681b ldr r3, [r3, #0] + 8005ed0: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8005ed4: d00a beq.n 8005eec ptr_to_mem(mem->next)->prev = mem_to_ptr(pmem); - 8005552: 687b ldr r3, [r7, #4] - 8005554: 681b ldr r3, [r3, #0] - 8005556: 4618 mov r0, r3 - 8005558: f7ff ff5a bl 8005410 - 800555c: 4604 mov r4, r0 - 800555e: 68b8 ldr r0, [r7, #8] - 8005560: f7ff ff66 bl 8005430 - 8005564: 4603 mov r3, r0 - 8005566: 6063 str r3, [r4, #4] + 8005ed6: 687b ldr r3, [r7, #4] + 8005ed8: 681b ldr r3, [r3, #0] + 8005eda: 4618 mov r0, r3 + 8005edc: f7ff ff5a bl 8005d94 + 8005ee0: 4604 mov r4, r0 + 8005ee2: 68b8 ldr r0, [r7, #8] + 8005ee4: f7ff ff66 bl 8005db4 + 8005ee8: 4603 mov r3, r0 + 8005eea: 6063 str r3, [r4, #4] } } } - 8005568: bf00 nop - 800556a: 3714 adds r7, #20 - 800556c: 46bd mov sp, r7 - 800556e: bd90 pop {r4, r7, pc} - 8005570: 20016180 .word 0x20016180 - 8005574: 0801603c .word 0x0801603c - 8005578: 0801606c .word 0x0801606c - 800557c: 08016084 .word 0x08016084 - 8005580: 20016184 .word 0x20016184 - 8005584: 080160ac .word 0x080160ac - 8005588: 080160c8 .word 0x080160c8 - 800558c: 080160e4 .word 0x080160e4 - 8005590: 20016188 .word 0x20016188 + 8005eec: bf00 nop + 8005eee: 3714 adds r7, #20 + 8005ef0: 46bd mov sp, r7 + 8005ef2: bd90 pop {r4, r7, pc} + 8005ef4: 200161b4 .word 0x200161b4 + 8005ef8: 080169bc .word 0x080169bc + 8005efc: 080169ec .word 0x080169ec + 8005f00: 08016a04 .word 0x08016a04 + 8005f04: 200161b8 .word 0x200161b8 + 8005f08: 08016a2c .word 0x08016a2c + 8005f0c: 08016a48 .word 0x08016a48 + 8005f10: 08016a64 .word 0x08016a64 + 8005f14: 200161bc .word 0x200161bc -08005594 : +08005f18 : /** * Zero the heap and initialize start, end and lowest-free */ void mem_init(void) { - 8005594: b580 push {r7, lr} - 8005596: b082 sub sp, #8 - 8005598: af00 add r7, sp, #0 + 8005f18: b580 push {r7, lr} + 8005f1a: b082 sub sp, #8 + 8005f1c: af00 add r7, sp, #0 LWIP_ASSERT("Sanity check alignment", (SIZEOF_STRUCT_MEM & (MEM_ALIGNMENT - 1)) == 0); /* align the heap */ ram = (u8_t *)LWIP_MEM_ALIGN(LWIP_RAM_HEAP_POINTER); - 800559a: 4b18 ldr r3, [pc, #96] @ (80055fc ) - 800559c: 3303 adds r3, #3 - 800559e: f023 0303 bic.w r3, r3, #3 - 80055a2: 461a mov r2, r3 - 80055a4: 4b16 ldr r3, [pc, #88] @ (8005600 ) - 80055a6: 601a str r2, [r3, #0] + 8005f1e: 4b18 ldr r3, [pc, #96] @ (8005f80 ) + 8005f20: 3303 adds r3, #3 + 8005f22: f023 0303 bic.w r3, r3, #3 + 8005f26: 461a mov r2, r3 + 8005f28: 4b16 ldr r3, [pc, #88] @ (8005f84 ) + 8005f2a: 601a str r2, [r3, #0] /* initialize the start of the heap */ mem = (struct mem *)(void *)ram; - 80055a8: 4b15 ldr r3, [pc, #84] @ (8005600 ) - 80055aa: 681b ldr r3, [r3, #0] - 80055ac: 607b str r3, [r7, #4] + 8005f2c: 4b15 ldr r3, [pc, #84] @ (8005f84 ) + 8005f2e: 681b ldr r3, [r3, #0] + 8005f30: 607b str r3, [r7, #4] mem->next = MEM_SIZE_ALIGNED; - 80055ae: 687b ldr r3, [r7, #4] - 80055b0: f44f 3280 mov.w r2, #65536 @ 0x10000 - 80055b4: 601a str r2, [r3, #0] + 8005f32: 687b ldr r3, [r7, #4] + 8005f34: f44f 3280 mov.w r2, #65536 @ 0x10000 + 8005f38: 601a str r2, [r3, #0] mem->prev = 0; - 80055b6: 687b ldr r3, [r7, #4] - 80055b8: 2200 movs r2, #0 - 80055ba: 605a str r2, [r3, #4] + 8005f3a: 687b ldr r3, [r7, #4] + 8005f3c: 2200 movs r2, #0 + 8005f3e: 605a str r2, [r3, #4] mem->used = 0; - 80055bc: 687b ldr r3, [r7, #4] - 80055be: 2200 movs r2, #0 - 80055c0: 721a strb r2, [r3, #8] + 8005f40: 687b ldr r3, [r7, #4] + 8005f42: 2200 movs r2, #0 + 8005f44: 721a strb r2, [r3, #8] /* initialize the end of the heap */ ram_end = ptr_to_mem(MEM_SIZE_ALIGNED); - 80055c2: f44f 3080 mov.w r0, #65536 @ 0x10000 - 80055c6: f7ff ff23 bl 8005410 - 80055ca: 4603 mov r3, r0 - 80055cc: 4a0d ldr r2, [pc, #52] @ (8005604 ) - 80055ce: 6013 str r3, [r2, #0] + 8005f46: f44f 3080 mov.w r0, #65536 @ 0x10000 + 8005f4a: f7ff ff23 bl 8005d94 + 8005f4e: 4603 mov r3, r0 + 8005f50: 4a0d ldr r2, [pc, #52] @ (8005f88 ) + 8005f52: 6013 str r3, [r2, #0] ram_end->used = 1; - 80055d0: 4b0c ldr r3, [pc, #48] @ (8005604 ) - 80055d2: 681b ldr r3, [r3, #0] - 80055d4: 2201 movs r2, #1 - 80055d6: 721a strb r2, [r3, #8] + 8005f54: 4b0c ldr r3, [pc, #48] @ (8005f88 ) + 8005f56: 681b ldr r3, [r3, #0] + 8005f58: 2201 movs r2, #1 + 8005f5a: 721a strb r2, [r3, #8] ram_end->next = MEM_SIZE_ALIGNED; - 80055d8: 4b0a ldr r3, [pc, #40] @ (8005604 ) - 80055da: 681b ldr r3, [r3, #0] - 80055dc: f44f 3280 mov.w r2, #65536 @ 0x10000 - 80055e0: 601a str r2, [r3, #0] + 8005f5c: 4b0a ldr r3, [pc, #40] @ (8005f88 ) + 8005f5e: 681b ldr r3, [r3, #0] + 8005f60: f44f 3280 mov.w r2, #65536 @ 0x10000 + 8005f64: 601a str r2, [r3, #0] ram_end->prev = MEM_SIZE_ALIGNED; - 80055e2: 4b08 ldr r3, [pc, #32] @ (8005604 ) - 80055e4: 681b ldr r3, [r3, #0] - 80055e6: f44f 3280 mov.w r2, #65536 @ 0x10000 - 80055ea: 605a str r2, [r3, #4] + 8005f66: 4b08 ldr r3, [pc, #32] @ (8005f88 ) + 8005f68: 681b ldr r3, [r3, #0] + 8005f6a: f44f 3280 mov.w r2, #65536 @ 0x10000 + 8005f6e: 605a str r2, [r3, #4] MEM_SANITY(); /* initialize the lowest-free pointer to the start of the heap */ lfree = (struct mem *)(void *)ram; - 80055ec: 4b04 ldr r3, [pc, #16] @ (8005600 ) - 80055ee: 681b ldr r3, [r3, #0] - 80055f0: 4a05 ldr r2, [pc, #20] @ (8005608 ) - 80055f2: 6013 str r3, [r2, #0] + 8005f70: 4b04 ldr r3, [pc, #16] @ (8005f84 ) + 8005f72: 681b ldr r3, [r3, #0] + 8005f74: 4a05 ldr r2, [pc, #20] @ (8005f8c ) + 8005f76: 6013 str r3, [r2, #0] MEM_STATS_AVAIL(avail, MEM_SIZE_ALIGNED); if (sys_mutex_new(&mem_mutex) != ERR_OK) { LWIP_ASSERT("failed to create mem_mutex", 0); } } - 80055f4: bf00 nop - 80055f6: 3708 adds r7, #8 - 80055f8: 46bd mov sp, r7 - 80055fa: bd80 pop {r7, pc} - 80055fc: 20006164 .word 0x20006164 - 8005600: 20016180 .word 0x20016180 - 8005604: 20016184 .word 0x20016184 - 8005608: 20016188 .word 0x20016188 + 8005f78: bf00 nop + 8005f7a: 3708 adds r7, #8 + 8005f7c: 46bd mov sp, r7 + 8005f7e: bd80 pop {r7, pc} + 8005f80: 20006198 .word 0x20006198 + 8005f84: 200161b4 .word 0x200161b4 + 8005f88: 200161b8 .word 0x200161b8 + 8005f8c: 200161bc .word 0x200161bc -0800560c : +08005f90 : /* Check if a struct mem is correctly linked. * If not, double-free is a possible reason. */ static int mem_link_valid(struct mem *mem) { - 800560c: b580 push {r7, lr} - 800560e: b086 sub sp, #24 - 8005610: af00 add r7, sp, #0 - 8005612: 6078 str r0, [r7, #4] + 8005f90: b580 push {r7, lr} + 8005f92: b086 sub sp, #24 + 8005f94: af00 add r7, sp, #0 + 8005f96: 6078 str r0, [r7, #4] struct mem *nmem, *pmem; mem_size_t rmem_idx; rmem_idx = mem_to_ptr(mem); - 8005614: 6878 ldr r0, [r7, #4] - 8005616: f7ff ff0b bl 8005430 - 800561a: 6178 str r0, [r7, #20] + 8005f98: 6878 ldr r0, [r7, #4] + 8005f9a: f7ff ff0b bl 8005db4 + 8005f9e: 6178 str r0, [r7, #20] nmem = ptr_to_mem(mem->next); - 800561c: 687b ldr r3, [r7, #4] - 800561e: 681b ldr r3, [r3, #0] - 8005620: 4618 mov r0, r3 - 8005622: f7ff fef5 bl 8005410 - 8005626: 6138 str r0, [r7, #16] + 8005fa0: 687b ldr r3, [r7, #4] + 8005fa2: 681b ldr r3, [r3, #0] + 8005fa4: 4618 mov r0, r3 + 8005fa6: f7ff fef5 bl 8005d94 + 8005faa: 6138 str r0, [r7, #16] pmem = ptr_to_mem(mem->prev); - 8005628: 687b ldr r3, [r7, #4] - 800562a: 685b ldr r3, [r3, #4] - 800562c: 4618 mov r0, r3 - 800562e: f7ff feef bl 8005410 - 8005632: 60f8 str r0, [r7, #12] + 8005fac: 687b ldr r3, [r7, #4] + 8005fae: 685b ldr r3, [r3, #4] + 8005fb0: 4618 mov r0, r3 + 8005fb2: f7ff feef bl 8005d94 + 8005fb6: 60f8 str r0, [r7, #12] if ((mem->next > MEM_SIZE_ALIGNED) || (mem->prev > MEM_SIZE_ALIGNED) || - 8005634: 687b ldr r3, [r7, #4] - 8005636: 681b ldr r3, [r3, #0] - 8005638: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 800563c: d818 bhi.n 8005670 - 800563e: 687b ldr r3, [r7, #4] - 8005640: 685b ldr r3, [r3, #4] - 8005642: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8005646: d813 bhi.n 8005670 + 8005fb8: 687b ldr r3, [r7, #4] + 8005fba: 681b ldr r3, [r3, #0] + 8005fbc: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8005fc0: d818 bhi.n 8005ff4 + 8005fc2: 687b ldr r3, [r7, #4] + 8005fc4: 685b ldr r3, [r3, #4] + 8005fc6: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8005fca: d813 bhi.n 8005ff4 ((mem->prev != rmem_idx) && (pmem->next != rmem_idx)) || - 8005648: 687b ldr r3, [r7, #4] - 800564a: 685b ldr r3, [r3, #4] + 8005fcc: 687b ldr r3, [r7, #4] + 8005fce: 685b ldr r3, [r3, #4] if ((mem->next > MEM_SIZE_ALIGNED) || (mem->prev > MEM_SIZE_ALIGNED) || - 800564c: 697a ldr r2, [r7, #20] - 800564e: 429a cmp r2, r3 - 8005650: d004 beq.n 800565c + 8005fd0: 697a ldr r2, [r7, #20] + 8005fd2: 429a cmp r2, r3 + 8005fd4: d004 beq.n 8005fe0 ((mem->prev != rmem_idx) && (pmem->next != rmem_idx)) || - 8005652: 68fb ldr r3, [r7, #12] - 8005654: 681b ldr r3, [r3, #0] - 8005656: 697a ldr r2, [r7, #20] - 8005658: 429a cmp r2, r3 - 800565a: d109 bne.n 8005670 + 8005fd6: 68fb ldr r3, [r7, #12] + 8005fd8: 681b ldr r3, [r3, #0] + 8005fda: 697a ldr r2, [r7, #20] + 8005fdc: 429a cmp r2, r3 + 8005fde: d109 bne.n 8005ff4 ((nmem != ram_end) && (nmem->prev != rmem_idx))) { - 800565c: 4b08 ldr r3, [pc, #32] @ (8005680 ) - 800565e: 681b ldr r3, [r3, #0] + 8005fe0: 4b08 ldr r3, [pc, #32] @ (8006004 ) + 8005fe2: 681b ldr r3, [r3, #0] ((mem->prev != rmem_idx) && (pmem->next != rmem_idx)) || - 8005660: 693a ldr r2, [r7, #16] - 8005662: 429a cmp r2, r3 - 8005664: d006 beq.n 8005674 + 8005fe4: 693a ldr r2, [r7, #16] + 8005fe6: 429a cmp r2, r3 + 8005fe8: d006 beq.n 8005ff8 ((nmem != ram_end) && (nmem->prev != rmem_idx))) { - 8005666: 693b ldr r3, [r7, #16] - 8005668: 685b ldr r3, [r3, #4] - 800566a: 697a ldr r2, [r7, #20] - 800566c: 429a cmp r2, r3 - 800566e: d001 beq.n 8005674 + 8005fea: 693b ldr r3, [r7, #16] + 8005fec: 685b ldr r3, [r3, #4] + 8005fee: 697a ldr r2, [r7, #20] + 8005ff0: 429a cmp r2, r3 + 8005ff2: d001 beq.n 8005ff8 return 0; - 8005670: 2300 movs r3, #0 - 8005672: e000 b.n 8005676 + 8005ff4: 2300 movs r3, #0 + 8005ff6: e000 b.n 8005ffa } return 1; - 8005674: 2301 movs r3, #1 + 8005ff8: 2301 movs r3, #1 } - 8005676: 4618 mov r0, r3 - 8005678: 3718 adds r7, #24 - 800567a: 46bd mov sp, r7 - 800567c: bd80 pop {r7, pc} - 800567e: bf00 nop - 8005680: 20016184 .word 0x20016184 + 8005ffa: 4618 mov r0, r3 + 8005ffc: 3718 adds r7, #24 + 8005ffe: 46bd mov sp, r7 + 8006000: bd80 pop {r7, pc} + 8006002: bf00 nop + 8006004: 200161b8 .word 0x200161b8 -08005684 : +08006008 : * @param rmem is the data portion of a struct mem as returned by a previous * call to mem_malloc() */ void mem_free(void *rmem) { - 8005684: b580 push {r7, lr} - 8005686: b084 sub sp, #16 - 8005688: af00 add r7, sp, #0 - 800568a: 6078 str r0, [r7, #4] + 8006008: b580 push {r7, lr} + 800600a: b084 sub sp, #16 + 800600c: af00 add r7, sp, #0 + 800600e: 6078 str r0, [r7, #4] struct mem *mem; LWIP_MEM_FREE_DECL_PROTECT(); if (rmem == NULL) { - 800568c: 687b ldr r3, [r7, #4] - 800568e: 2b00 cmp r3, #0 - 8005690: d04c beq.n 800572c + 8006010: 687b ldr r3, [r7, #4] + 8006012: 2b00 cmp r3, #0 + 8006014: d04c beq.n 80060b0 LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("mem_free(p == NULL) was called.\n")); return; } if ((((mem_ptr_t)rmem) & (MEM_ALIGNMENT - 1)) != 0) { - 8005692: 687b ldr r3, [r7, #4] - 8005694: f003 0303 and.w r3, r3, #3 - 8005698: 2b00 cmp r3, #0 - 800569a: d007 beq.n 80056ac + 8006016: 687b ldr r3, [r7, #4] + 8006018: f003 0303 and.w r3, r3, #3 + 800601c: 2b00 cmp r3, #0 + 800601e: d007 beq.n 8006030 LWIP_MEM_ILLEGAL_FREE("mem_free: sanity check alignment"); - 800569c: 4b25 ldr r3, [pc, #148] @ (8005734 ) - 800569e: f240 2273 movw r2, #627 @ 0x273 - 80056a2: 4925 ldr r1, [pc, #148] @ (8005738 ) - 80056a4: 4825 ldr r0, [pc, #148] @ (800573c ) - 80056a6: f00b ffa7 bl 80115f8 + 8006020: 4b25 ldr r3, [pc, #148] @ (80060b8 ) + 8006022: f240 2273 movw r2, #627 @ 0x273 + 8006026: 4925 ldr r1, [pc, #148] @ (80060bc ) + 8006028: 4825 ldr r0, [pc, #148] @ (80060c0 ) + 800602a: f00b ffa7 bl 8011f7c LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("mem_free: sanity check alignment\n")); /* protect mem stats from concurrent access */ MEM_STATS_INC_LOCKED(illegal); return; - 80056aa: e040 b.n 800572e + 800602e: e040 b.n 80060b2 } /* Get the corresponding struct mem: */ /* cast through void* to get rid of alignment warnings */ mem = (struct mem *)(void *)((u8_t *)rmem - (SIZEOF_STRUCT_MEM + MEM_SANITY_OFFSET)); - 80056ac: 687b ldr r3, [r7, #4] - 80056ae: 3b0c subs r3, #12 - 80056b0: 60fb str r3, [r7, #12] + 8006030: 687b ldr r3, [r7, #4] + 8006032: 3b0c subs r3, #12 + 8006034: 60fb str r3, [r7, #12] if ((u8_t *)mem < ram || (u8_t *)rmem + MIN_SIZE_ALIGNED > (u8_t *)ram_end) { - 80056b2: 4b23 ldr r3, [pc, #140] @ (8005740 ) - 80056b4: 681b ldr r3, [r3, #0] - 80056b6: 68fa ldr r2, [r7, #12] - 80056b8: 429a cmp r2, r3 - 80056ba: d306 bcc.n 80056ca - 80056bc: 687b ldr r3, [r7, #4] - 80056be: f103 020c add.w r2, r3, #12 - 80056c2: 4b20 ldr r3, [pc, #128] @ (8005744 ) - 80056c4: 681b ldr r3, [r3, #0] - 80056c6: 429a cmp r2, r3 - 80056c8: d907 bls.n 80056da + 8006036: 4b23 ldr r3, [pc, #140] @ (80060c4 ) + 8006038: 681b ldr r3, [r3, #0] + 800603a: 68fa ldr r2, [r7, #12] + 800603c: 429a cmp r2, r3 + 800603e: d306 bcc.n 800604e + 8006040: 687b ldr r3, [r7, #4] + 8006042: f103 020c add.w r2, r3, #12 + 8006046: 4b20 ldr r3, [pc, #128] @ (80060c8 ) + 8006048: 681b ldr r3, [r3, #0] + 800604a: 429a cmp r2, r3 + 800604c: d907 bls.n 800605e LWIP_MEM_ILLEGAL_FREE("mem_free: illegal memory"); - 80056ca: 4b1a ldr r3, [pc, #104] @ (8005734 ) - 80056cc: f240 227f movw r2, #639 @ 0x27f - 80056d0: 491d ldr r1, [pc, #116] @ (8005748 ) - 80056d2: 481a ldr r0, [pc, #104] @ (800573c ) - 80056d4: f00b ff90 bl 80115f8 + 800604e: 4b1a ldr r3, [pc, #104] @ (80060b8 ) + 8006050: f240 227f movw r2, #639 @ 0x27f + 8006054: 491d ldr r1, [pc, #116] @ (80060cc ) + 8006056: 481a ldr r0, [pc, #104] @ (80060c0 ) + 8006058: f00b ff90 bl 8011f7c LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("mem_free: illegal memory\n")); /* protect mem stats from concurrent access */ MEM_STATS_INC_LOCKED(illegal); return; - 80056d8: e029 b.n 800572e + 800605c: e029 b.n 80060b2 mem_overflow_check_element(mem); #endif /* protect the heap from concurrent access */ LWIP_MEM_FREE_PROTECT(); /* mem has to be in a used state */ if (!mem->used) { - 80056da: 68fb ldr r3, [r7, #12] - 80056dc: 7a1b ldrb r3, [r3, #8] - 80056de: 2b00 cmp r3, #0 - 80056e0: d107 bne.n 80056f2 + 800605e: 68fb ldr r3, [r7, #12] + 8006060: 7a1b ldrb r3, [r3, #8] + 8006062: 2b00 cmp r3, #0 + 8006064: d107 bne.n 8006076 LWIP_MEM_ILLEGAL_FREE("mem_free: illegal memory: double free"); - 80056e2: 4b14 ldr r3, [pc, #80] @ (8005734 ) - 80056e4: f44f 7223 mov.w r2, #652 @ 0x28c - 80056e8: 4918 ldr r1, [pc, #96] @ (800574c ) - 80056ea: 4814 ldr r0, [pc, #80] @ (800573c ) - 80056ec: f00b ff84 bl 80115f8 + 8006066: 4b14 ldr r3, [pc, #80] @ (80060b8 ) + 8006068: f44f 7223 mov.w r2, #652 @ 0x28c + 800606c: 4918 ldr r1, [pc, #96] @ (80060d0 ) + 800606e: 4814 ldr r0, [pc, #80] @ (80060c0 ) + 8006070: f00b ff84 bl 8011f7c LWIP_MEM_FREE_UNPROTECT(); LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("mem_free: illegal memory: double free?\n")); /* protect mem stats from concurrent access */ MEM_STATS_INC_LOCKED(illegal); return; - 80056f0: e01d b.n 800572e + 8006074: e01d b.n 80060b2 } if (!mem_link_valid(mem)) { - 80056f2: 68f8 ldr r0, [r7, #12] - 80056f4: f7ff ff8a bl 800560c - 80056f8: 4603 mov r3, r0 - 80056fa: 2b00 cmp r3, #0 - 80056fc: d107 bne.n 800570e + 8006076: 68f8 ldr r0, [r7, #12] + 8006078: f7ff ff8a bl 8005f90 + 800607c: 4603 mov r3, r0 + 800607e: 2b00 cmp r3, #0 + 8006080: d107 bne.n 8006092 LWIP_MEM_ILLEGAL_FREE("mem_free: illegal memory: non-linked: double free"); - 80056fe: 4b0d ldr r3, [pc, #52] @ (8005734 ) - 8005700: f240 2295 movw r2, #661 @ 0x295 - 8005704: 4912 ldr r1, [pc, #72] @ (8005750 ) - 8005706: 480d ldr r0, [pc, #52] @ (800573c ) - 8005708: f00b ff76 bl 80115f8 + 8006082: 4b0d ldr r3, [pc, #52] @ (80060b8 ) + 8006084: f240 2295 movw r2, #661 @ 0x295 + 8006088: 4912 ldr r1, [pc, #72] @ (80060d4 ) + 800608a: 480d ldr r0, [pc, #52] @ (80060c0 ) + 800608c: f00b ff76 bl 8011f7c LWIP_MEM_FREE_UNPROTECT(); LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("mem_free: illegal memory: non-linked: double free?\n")); /* protect mem stats from concurrent access */ MEM_STATS_INC_LOCKED(illegal); return; - 800570c: e00f b.n 800572e + 8006090: e00f b.n 80060b2 } /* mem is now unused. */ mem->used = 0; - 800570e: 68fb ldr r3, [r7, #12] - 8005710: 2200 movs r2, #0 - 8005712: 721a strb r2, [r3, #8] + 8006092: 68fb ldr r3, [r7, #12] + 8006094: 2200 movs r2, #0 + 8006096: 721a strb r2, [r3, #8] if (mem < lfree) { - 8005714: 4b0f ldr r3, [pc, #60] @ (8005754 ) - 8005716: 681b ldr r3, [r3, #0] - 8005718: 68fa ldr r2, [r7, #12] - 800571a: 429a cmp r2, r3 - 800571c: d202 bcs.n 8005724 + 8006098: 4b0f ldr r3, [pc, #60] @ (80060d8 ) + 800609a: 681b ldr r3, [r3, #0] + 800609c: 68fa ldr r2, [r7, #12] + 800609e: 429a cmp r2, r3 + 80060a0: d202 bcs.n 80060a8 /* the newly freed struct is now the lowest */ lfree = mem; - 800571e: 4a0d ldr r2, [pc, #52] @ (8005754 ) - 8005720: 68fb ldr r3, [r7, #12] - 8005722: 6013 str r3, [r2, #0] + 80060a2: 4a0d ldr r2, [pc, #52] @ (80060d8 ) + 80060a4: 68fb ldr r3, [r7, #12] + 80060a6: 6013 str r3, [r2, #0] } MEM_STATS_DEC_USED(used, mem->next - (mem_size_t)(((u8_t *)mem - ram))); /* finally, see if prev or next are free also */ plug_holes(mem); - 8005724: 68f8 ldr r0, [r7, #12] - 8005726: f7ff fe93 bl 8005450 - 800572a: e000 b.n 800572e + 80060a8: 68f8 ldr r0, [r7, #12] + 80060aa: f7ff fe93 bl 8005dd4 + 80060ae: e000 b.n 80060b2 return; - 800572c: bf00 nop + 80060b0: bf00 nop MEM_SANITY(); #if LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT mem_free_count = 1; #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ LWIP_MEM_FREE_UNPROTECT(); } - 800572e: 3710 adds r7, #16 - 8005730: 46bd mov sp, r7 - 8005732: bd80 pop {r7, pc} - 8005734: 0801603c .word 0x0801603c - 8005738: 08016110 .word 0x08016110 - 800573c: 08016084 .word 0x08016084 - 8005740: 20016180 .word 0x20016180 - 8005744: 20016184 .word 0x20016184 - 8005748: 08016134 .word 0x08016134 - 800574c: 08016150 .word 0x08016150 - 8005750: 08016178 .word 0x08016178 - 8005754: 20016188 .word 0x20016188 + 80060b2: 3710 adds r7, #16 + 80060b4: 46bd mov sp, r7 + 80060b6: bd80 pop {r7, pc} + 80060b8: 080169bc .word 0x080169bc + 80060bc: 08016a90 .word 0x08016a90 + 80060c0: 08016a04 .word 0x08016a04 + 80060c4: 200161b4 .word 0x200161b4 + 80060c8: 200161b8 .word 0x200161b8 + 80060cc: 08016ab4 .word 0x08016ab4 + 80060d0: 08016ad0 .word 0x08016ad0 + 80060d4: 08016af8 .word 0x08016af8 + 80060d8: 200161bc .word 0x200161bc -08005758 : +080060dc : * or NULL if newsize is > old size, in which case rmem is NOT touched * or freed! */ void * mem_trim(void *rmem, mem_size_t new_size) { - 8005758: b580 push {r7, lr} - 800575a: b08a sub sp, #40 @ 0x28 - 800575c: af00 add r7, sp, #0 - 800575e: 6078 str r0, [r7, #4] - 8005760: 6039 str r1, [r7, #0] + 80060dc: b580 push {r7, lr} + 80060de: b08a sub sp, #40 @ 0x28 + 80060e0: af00 add r7, sp, #0 + 80060e2: 6078 str r0, [r7, #4] + 80060e4: 6039 str r1, [r7, #0] /* use the FREE_PROTECT here: it protects with sem OR SYS_ARCH_PROTECT */ LWIP_MEM_FREE_DECL_PROTECT(); /* Expand the size of the allocated memory region so that we can adjust for alignment. */ newsize = (mem_size_t)LWIP_MEM_ALIGN_SIZE(new_size); - 8005762: 683b ldr r3, [r7, #0] - 8005764: 3303 adds r3, #3 - 8005766: f023 0303 bic.w r3, r3, #3 - 800576a: 627b str r3, [r7, #36] @ 0x24 + 80060e6: 683b ldr r3, [r7, #0] + 80060e8: 3303 adds r3, #3 + 80060ea: f023 0303 bic.w r3, r3, #3 + 80060ee: 627b str r3, [r7, #36] @ 0x24 if (newsize < MIN_SIZE_ALIGNED) { - 800576c: 6a7b ldr r3, [r7, #36] @ 0x24 - 800576e: 2b0b cmp r3, #11 - 8005770: d801 bhi.n 8005776 + 80060f0: 6a7b ldr r3, [r7, #36] @ 0x24 + 80060f2: 2b0b cmp r3, #11 + 80060f4: d801 bhi.n 80060fa /* every data block must be at least MIN_SIZE_ALIGNED long */ newsize = MIN_SIZE_ALIGNED; - 8005772: 230c movs r3, #12 - 8005774: 627b str r3, [r7, #36] @ 0x24 + 80060f6: 230c movs r3, #12 + 80060f8: 627b str r3, [r7, #36] @ 0x24 } #if MEM_OVERFLOW_CHECK newsize += MEM_SANITY_REGION_BEFORE_ALIGNED + MEM_SANITY_REGION_AFTER_ALIGNED; #endif if ((newsize > MEM_SIZE_ALIGNED) || (newsize < new_size)) { - 8005776: 6a7b ldr r3, [r7, #36] @ 0x24 - 8005778: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 800577c: d803 bhi.n 8005786 - 800577e: 6a7a ldr r2, [r7, #36] @ 0x24 - 8005780: 683b ldr r3, [r7, #0] - 8005782: 429a cmp r2, r3 - 8005784: d201 bcs.n 800578a + 80060fa: 6a7b ldr r3, [r7, #36] @ 0x24 + 80060fc: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8006100: d803 bhi.n 800610a + 8006102: 6a7a ldr r2, [r7, #36] @ 0x24 + 8006104: 683b ldr r3, [r7, #0] + 8006106: 429a cmp r2, r3 + 8006108: d201 bcs.n 800610e return NULL; - 8005786: 2300 movs r3, #0 - 8005788: e0c4 b.n 8005914 + 800610a: 2300 movs r3, #0 + 800610c: e0c4 b.n 8006298 } LWIP_ASSERT("mem_trim: legal memory", (u8_t *)rmem >= (u8_t *)ram && - 800578a: 4b64 ldr r3, [pc, #400] @ (800591c ) - 800578c: 681b ldr r3, [r3, #0] - 800578e: 687a ldr r2, [r7, #4] - 8005790: 429a cmp r2, r3 - 8005792: d304 bcc.n 800579e - 8005794: 4b62 ldr r3, [pc, #392] @ (8005920 ) - 8005796: 681b ldr r3, [r3, #0] - 8005798: 687a ldr r2, [r7, #4] - 800579a: 429a cmp r2, r3 - 800579c: d306 bcc.n 80057ac - 800579e: 4b61 ldr r3, [pc, #388] @ (8005924 ) - 80057a0: f240 22d1 movw r2, #721 @ 0x2d1 - 80057a4: 4960 ldr r1, [pc, #384] @ (8005928 ) - 80057a6: 4861 ldr r0, [pc, #388] @ (800592c ) - 80057a8: f00b ff26 bl 80115f8 + 800610e: 4b64 ldr r3, [pc, #400] @ (80062a0 ) + 8006110: 681b ldr r3, [r3, #0] + 8006112: 687a ldr r2, [r7, #4] + 8006114: 429a cmp r2, r3 + 8006116: d304 bcc.n 8006122 + 8006118: 4b62 ldr r3, [pc, #392] @ (80062a4 ) + 800611a: 681b ldr r3, [r3, #0] + 800611c: 687a ldr r2, [r7, #4] + 800611e: 429a cmp r2, r3 + 8006120: d306 bcc.n 8006130 + 8006122: 4b61 ldr r3, [pc, #388] @ (80062a8 ) + 8006124: f240 22d1 movw r2, #721 @ 0x2d1 + 8006128: 4960 ldr r1, [pc, #384] @ (80062ac ) + 800612a: 4861 ldr r0, [pc, #388] @ (80062b0 ) + 800612c: f00b ff26 bl 8011f7c (u8_t *)rmem < (u8_t *)ram_end); if ((u8_t *)rmem < (u8_t *)ram || (u8_t *)rmem >= (u8_t *)ram_end) { - 80057ac: 4b5b ldr r3, [pc, #364] @ (800591c ) - 80057ae: 681b ldr r3, [r3, #0] - 80057b0: 687a ldr r2, [r7, #4] - 80057b2: 429a cmp r2, r3 - 80057b4: d304 bcc.n 80057c0 - 80057b6: 4b5a ldr r3, [pc, #360] @ (8005920 ) - 80057b8: 681b ldr r3, [r3, #0] - 80057ba: 687a ldr r2, [r7, #4] - 80057bc: 429a cmp r2, r3 - 80057be: d301 bcc.n 80057c4 + 8006130: 4b5b ldr r3, [pc, #364] @ (80062a0 ) + 8006132: 681b ldr r3, [r3, #0] + 8006134: 687a ldr r2, [r7, #4] + 8006136: 429a cmp r2, r3 + 8006138: d304 bcc.n 8006144 + 800613a: 4b5a ldr r3, [pc, #360] @ (80062a4 ) + 800613c: 681b ldr r3, [r3, #0] + 800613e: 687a ldr r2, [r7, #4] + 8006140: 429a cmp r2, r3 + 8006142: d301 bcc.n 8006148 LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("mem_trim: illegal memory\n")); /* protect mem stats from concurrent access */ MEM_STATS_INC_LOCKED(illegal); return rmem; - 80057c0: 687b ldr r3, [r7, #4] - 80057c2: e0a7 b.n 8005914 + 8006144: 687b ldr r3, [r7, #4] + 8006146: e0a7 b.n 8006298 } /* Get the corresponding struct mem ... */ /* cast through void* to get rid of alignment warnings */ mem = (struct mem *)(void *)((u8_t *)rmem - (SIZEOF_STRUCT_MEM + MEM_SANITY_OFFSET)); - 80057c4: 687b ldr r3, [r7, #4] - 80057c6: 3b0c subs r3, #12 - 80057c8: 623b str r3, [r7, #32] + 8006148: 687b ldr r3, [r7, #4] + 800614a: 3b0c subs r3, #12 + 800614c: 623b str r3, [r7, #32] #if MEM_OVERFLOW_CHECK mem_overflow_check_element(mem); #endif /* ... and its offset pointer */ ptr = mem_to_ptr(mem); - 80057ca: 6a38 ldr r0, [r7, #32] - 80057cc: f7ff fe30 bl 8005430 - 80057d0: 61f8 str r0, [r7, #28] + 800614e: 6a38 ldr r0, [r7, #32] + 8006150: f7ff fe30 bl 8005db4 + 8006154: 61f8 str r0, [r7, #28] size = (mem_size_t)((mem_size_t)(mem->next - ptr) - (SIZEOF_STRUCT_MEM + MEM_SANITY_OVERHEAD)); - 80057d2: 6a3b ldr r3, [r7, #32] - 80057d4: 681a ldr r2, [r3, #0] - 80057d6: 69fb ldr r3, [r7, #28] - 80057d8: 1ad3 subs r3, r2, r3 - 80057da: 3b0c subs r3, #12 - 80057dc: 61bb str r3, [r7, #24] + 8006156: 6a3b ldr r3, [r7, #32] + 8006158: 681a ldr r2, [r3, #0] + 800615a: 69fb ldr r3, [r7, #28] + 800615c: 1ad3 subs r3, r2, r3 + 800615e: 3b0c subs r3, #12 + 8006160: 61bb str r3, [r7, #24] LWIP_ASSERT("mem_trim can only shrink memory", newsize <= size); - 80057de: 6a7a ldr r2, [r7, #36] @ 0x24 - 80057e0: 69bb ldr r3, [r7, #24] - 80057e2: 429a cmp r2, r3 - 80057e4: d906 bls.n 80057f4 - 80057e6: 4b4f ldr r3, [pc, #316] @ (8005924 ) - 80057e8: f44f 7239 mov.w r2, #740 @ 0x2e4 - 80057ec: 4950 ldr r1, [pc, #320] @ (8005930 ) - 80057ee: 484f ldr r0, [pc, #316] @ (800592c ) - 80057f0: f00b ff02 bl 80115f8 + 8006162: 6a7a ldr r2, [r7, #36] @ 0x24 + 8006164: 69bb ldr r3, [r7, #24] + 8006166: 429a cmp r2, r3 + 8006168: d906 bls.n 8006178 + 800616a: 4b4f ldr r3, [pc, #316] @ (80062a8 ) + 800616c: f44f 7239 mov.w r2, #740 @ 0x2e4 + 8006170: 4950 ldr r1, [pc, #320] @ (80062b4 ) + 8006172: 484f ldr r0, [pc, #316] @ (80062b0 ) + 8006174: f00b ff02 bl 8011f7c if (newsize > size) { - 80057f4: 6a7a ldr r2, [r7, #36] @ 0x24 - 80057f6: 69bb ldr r3, [r7, #24] - 80057f8: 429a cmp r2, r3 - 80057fa: d901 bls.n 8005800 + 8006178: 6a7a ldr r2, [r7, #36] @ 0x24 + 800617a: 69bb ldr r3, [r7, #24] + 800617c: 429a cmp r2, r3 + 800617e: d901 bls.n 8006184 /* not supported */ return NULL; - 80057fc: 2300 movs r3, #0 - 80057fe: e089 b.n 8005914 + 8006180: 2300 movs r3, #0 + 8006182: e089 b.n 8006298 } if (newsize == size) { - 8005800: 6a7a ldr r2, [r7, #36] @ 0x24 - 8005802: 69bb ldr r3, [r7, #24] - 8005804: 429a cmp r2, r3 - 8005806: d101 bne.n 800580c + 8006184: 6a7a ldr r2, [r7, #36] @ 0x24 + 8006186: 69bb ldr r3, [r7, #24] + 8006188: 429a cmp r2, r3 + 800618a: d101 bne.n 8006190 /* No change in size, simply return */ return rmem; - 8005808: 687b ldr r3, [r7, #4] - 800580a: e083 b.n 8005914 + 800618c: 687b ldr r3, [r7, #4] + 800618e: e083 b.n 8006298 } /* protect the heap from concurrent access */ LWIP_MEM_FREE_PROTECT(); mem2 = ptr_to_mem(mem->next); - 800580c: 6a3b ldr r3, [r7, #32] - 800580e: 681b ldr r3, [r3, #0] - 8005810: 4618 mov r0, r3 - 8005812: f7ff fdfd bl 8005410 - 8005816: 6178 str r0, [r7, #20] + 8006190: 6a3b ldr r3, [r7, #32] + 8006192: 681b ldr r3, [r3, #0] + 8006194: 4618 mov r0, r3 + 8006196: f7ff fdfd bl 8005d94 + 800619a: 6178 str r0, [r7, #20] if (mem2->used == 0) { - 8005818: 697b ldr r3, [r7, #20] - 800581a: 7a1b ldrb r3, [r3, #8] - 800581c: 2b00 cmp r3, #0 - 800581e: d13c bne.n 800589a + 800619c: 697b ldr r3, [r7, #20] + 800619e: 7a1b ldrb r3, [r3, #8] + 80061a0: 2b00 cmp r3, #0 + 80061a2: d13c bne.n 800621e /* The next struct is unused, we can simply move it at little */ mem_size_t next; LWIP_ASSERT("invalid next ptr", mem->next != MEM_SIZE_ALIGNED); - 8005820: 6a3b ldr r3, [r7, #32] - 8005822: 681b ldr r3, [r3, #0] - 8005824: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8005828: d106 bne.n 8005838 - 800582a: 4b3e ldr r3, [pc, #248] @ (8005924 ) - 800582c: f240 22f5 movw r2, #757 @ 0x2f5 - 8005830: 4940 ldr r1, [pc, #256] @ (8005934 ) - 8005832: 483e ldr r0, [pc, #248] @ (800592c ) - 8005834: f00b fee0 bl 80115f8 + 80061a4: 6a3b ldr r3, [r7, #32] + 80061a6: 681b ldr r3, [r3, #0] + 80061a8: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 80061ac: d106 bne.n 80061bc + 80061ae: 4b3e ldr r3, [pc, #248] @ (80062a8 ) + 80061b0: f240 22f5 movw r2, #757 @ 0x2f5 + 80061b4: 4940 ldr r1, [pc, #256] @ (80062b8 ) + 80061b6: 483e ldr r0, [pc, #248] @ (80062b0 ) + 80061b8: f00b fee0 bl 8011f7c /* remember the old next pointer */ next = mem2->next; - 8005838: 697b ldr r3, [r7, #20] - 800583a: 681b ldr r3, [r3, #0] - 800583c: 60fb str r3, [r7, #12] + 80061bc: 697b ldr r3, [r7, #20] + 80061be: 681b ldr r3, [r3, #0] + 80061c0: 60fb str r3, [r7, #12] /* create new struct mem which is moved directly after the shrinked mem */ ptr2 = (mem_size_t)(ptr + SIZEOF_STRUCT_MEM + newsize); - 800583e: 69fa ldr r2, [r7, #28] - 8005840: 6a7b ldr r3, [r7, #36] @ 0x24 - 8005842: 4413 add r3, r2 - 8005844: 330c adds r3, #12 - 8005846: 613b str r3, [r7, #16] + 80061c2: 69fa ldr r2, [r7, #28] + 80061c4: 6a7b ldr r3, [r7, #36] @ 0x24 + 80061c6: 4413 add r3, r2 + 80061c8: 330c adds r3, #12 + 80061ca: 613b str r3, [r7, #16] if (lfree == mem2) { - 8005848: 4b3b ldr r3, [pc, #236] @ (8005938 ) - 800584a: 681b ldr r3, [r3, #0] - 800584c: 697a ldr r2, [r7, #20] - 800584e: 429a cmp r2, r3 - 8005850: d105 bne.n 800585e + 80061cc: 4b3b ldr r3, [pc, #236] @ (80062bc ) + 80061ce: 681b ldr r3, [r3, #0] + 80061d0: 697a ldr r2, [r7, #20] + 80061d2: 429a cmp r2, r3 + 80061d4: d105 bne.n 80061e2 lfree = ptr_to_mem(ptr2); - 8005852: 6938 ldr r0, [r7, #16] - 8005854: f7ff fddc bl 8005410 - 8005858: 4603 mov r3, r0 - 800585a: 4a37 ldr r2, [pc, #220] @ (8005938 ) - 800585c: 6013 str r3, [r2, #0] + 80061d6: 6938 ldr r0, [r7, #16] + 80061d8: f7ff fddc bl 8005d94 + 80061dc: 4603 mov r3, r0 + 80061de: 4a37 ldr r2, [pc, #220] @ (80062bc ) + 80061e0: 6013 str r3, [r2, #0] } mem2 = ptr_to_mem(ptr2); - 800585e: 6938 ldr r0, [r7, #16] - 8005860: f7ff fdd6 bl 8005410 - 8005864: 6178 str r0, [r7, #20] + 80061e2: 6938 ldr r0, [r7, #16] + 80061e4: f7ff fdd6 bl 8005d94 + 80061e8: 6178 str r0, [r7, #20] mem2->used = 0; - 8005866: 697b ldr r3, [r7, #20] - 8005868: 2200 movs r2, #0 - 800586a: 721a strb r2, [r3, #8] + 80061ea: 697b ldr r3, [r7, #20] + 80061ec: 2200 movs r2, #0 + 80061ee: 721a strb r2, [r3, #8] /* restore the next pointer */ mem2->next = next; - 800586c: 697b ldr r3, [r7, #20] - 800586e: 68fa ldr r2, [r7, #12] - 8005870: 601a str r2, [r3, #0] + 80061f0: 697b ldr r3, [r7, #20] + 80061f2: 68fa ldr r2, [r7, #12] + 80061f4: 601a str r2, [r3, #0] /* link it back to mem */ mem2->prev = ptr; - 8005872: 697b ldr r3, [r7, #20] - 8005874: 69fa ldr r2, [r7, #28] - 8005876: 605a str r2, [r3, #4] + 80061f6: 697b ldr r3, [r7, #20] + 80061f8: 69fa ldr r2, [r7, #28] + 80061fa: 605a str r2, [r3, #4] /* link mem to it */ mem->next = ptr2; - 8005878: 6a3b ldr r3, [r7, #32] - 800587a: 693a ldr r2, [r7, #16] - 800587c: 601a str r2, [r3, #0] + 80061fc: 6a3b ldr r3, [r7, #32] + 80061fe: 693a ldr r2, [r7, #16] + 8006200: 601a str r2, [r3, #0] /* last thing to restore linked list: as we have moved mem2, * let 'mem2->next->prev' point to mem2 again. but only if mem2->next is not * the end of the heap */ if (mem2->next != MEM_SIZE_ALIGNED) { - 800587e: 697b ldr r3, [r7, #20] - 8005880: 681b ldr r3, [r3, #0] - 8005882: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8005886: d044 beq.n 8005912 + 8006202: 697b ldr r3, [r7, #20] + 8006204: 681b ldr r3, [r3, #0] + 8006206: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 800620a: d044 beq.n 8006296 ptr_to_mem(mem2->next)->prev = ptr2; - 8005888: 697b ldr r3, [r7, #20] - 800588a: 681b ldr r3, [r3, #0] - 800588c: 4618 mov r0, r3 - 800588e: f7ff fdbf bl 8005410 - 8005892: 4602 mov r2, r0 - 8005894: 693b ldr r3, [r7, #16] - 8005896: 6053 str r3, [r2, #4] - 8005898: e03b b.n 8005912 + 800620c: 697b ldr r3, [r7, #20] + 800620e: 681b ldr r3, [r3, #0] + 8006210: 4618 mov r0, r3 + 8006212: f7ff fdbf bl 8005d94 + 8006216: 4602 mov r2, r0 + 8006218: 693b ldr r3, [r7, #16] + 800621a: 6053 str r3, [r2, #4] + 800621c: e03b b.n 8006296 } MEM_STATS_DEC_USED(used, (size - newsize)); /* no need to plug holes, we've already done that */ } else if (newsize + SIZEOF_STRUCT_MEM + MIN_SIZE_ALIGNED <= size) { - 800589a: 6a7b ldr r3, [r7, #36] @ 0x24 - 800589c: 3318 adds r3, #24 - 800589e: 69ba ldr r2, [r7, #24] - 80058a0: 429a cmp r2, r3 - 80058a2: d336 bcc.n 8005912 + 800621e: 6a7b ldr r3, [r7, #36] @ 0x24 + 8006220: 3318 adds r3, #24 + 8006222: 69ba ldr r2, [r7, #24] + 8006224: 429a cmp r2, r3 + 8006226: d336 bcc.n 8006296 * Old size ('size') must be big enough to contain at least 'newsize' plus a struct mem * ('SIZEOF_STRUCT_MEM') with some data ('MIN_SIZE_ALIGNED'). * @todo we could leave out MIN_SIZE_ALIGNED. We would create an empty * region that couldn't hold data, but when mem->next gets freed, * the 2 regions would be combined, resulting in more free memory */ ptr2 = (mem_size_t)(ptr + SIZEOF_STRUCT_MEM + newsize); - 80058a4: 69fa ldr r2, [r7, #28] - 80058a6: 6a7b ldr r3, [r7, #36] @ 0x24 - 80058a8: 4413 add r3, r2 - 80058aa: 330c adds r3, #12 - 80058ac: 613b str r3, [r7, #16] + 8006228: 69fa ldr r2, [r7, #28] + 800622a: 6a7b ldr r3, [r7, #36] @ 0x24 + 800622c: 4413 add r3, r2 + 800622e: 330c adds r3, #12 + 8006230: 613b str r3, [r7, #16] LWIP_ASSERT("invalid next ptr", mem->next != MEM_SIZE_ALIGNED); - 80058ae: 6a3b ldr r3, [r7, #32] - 80058b0: 681b ldr r3, [r3, #0] - 80058b2: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 80058b6: d106 bne.n 80058c6 - 80058b8: 4b1a ldr r3, [pc, #104] @ (8005924 ) - 80058ba: f240 3216 movw r2, #790 @ 0x316 - 80058be: 491d ldr r1, [pc, #116] @ (8005934 ) - 80058c0: 481a ldr r0, [pc, #104] @ (800592c ) - 80058c2: f00b fe99 bl 80115f8 + 8006232: 6a3b ldr r3, [r7, #32] + 8006234: 681b ldr r3, [r3, #0] + 8006236: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 800623a: d106 bne.n 800624a + 800623c: 4b1a ldr r3, [pc, #104] @ (80062a8 ) + 800623e: f240 3216 movw r2, #790 @ 0x316 + 8006242: 491d ldr r1, [pc, #116] @ (80062b8 ) + 8006244: 481a ldr r0, [pc, #104] @ (80062b0 ) + 8006246: f00b fe99 bl 8011f7c mem2 = ptr_to_mem(ptr2); - 80058c6: 6938 ldr r0, [r7, #16] - 80058c8: f7ff fda2 bl 8005410 - 80058cc: 6178 str r0, [r7, #20] + 800624a: 6938 ldr r0, [r7, #16] + 800624c: f7ff fda2 bl 8005d94 + 8006250: 6178 str r0, [r7, #20] if (mem2 < lfree) { - 80058ce: 4b1a ldr r3, [pc, #104] @ (8005938 ) - 80058d0: 681b ldr r3, [r3, #0] - 80058d2: 697a ldr r2, [r7, #20] - 80058d4: 429a cmp r2, r3 - 80058d6: d202 bcs.n 80058de + 8006252: 4b1a ldr r3, [pc, #104] @ (80062bc ) + 8006254: 681b ldr r3, [r3, #0] + 8006256: 697a ldr r2, [r7, #20] + 8006258: 429a cmp r2, r3 + 800625a: d202 bcs.n 8006262 lfree = mem2; - 80058d8: 4a17 ldr r2, [pc, #92] @ (8005938 ) - 80058da: 697b ldr r3, [r7, #20] - 80058dc: 6013 str r3, [r2, #0] + 800625c: 4a17 ldr r2, [pc, #92] @ (80062bc ) + 800625e: 697b ldr r3, [r7, #20] + 8006260: 6013 str r3, [r2, #0] } mem2->used = 0; - 80058de: 697b ldr r3, [r7, #20] - 80058e0: 2200 movs r2, #0 - 80058e2: 721a strb r2, [r3, #8] + 8006262: 697b ldr r3, [r7, #20] + 8006264: 2200 movs r2, #0 + 8006266: 721a strb r2, [r3, #8] mem2->next = mem->next; - 80058e4: 6a3b ldr r3, [r7, #32] - 80058e6: 681a ldr r2, [r3, #0] - 80058e8: 697b ldr r3, [r7, #20] - 80058ea: 601a str r2, [r3, #0] + 8006268: 6a3b ldr r3, [r7, #32] + 800626a: 681a ldr r2, [r3, #0] + 800626c: 697b ldr r3, [r7, #20] + 800626e: 601a str r2, [r3, #0] mem2->prev = ptr; - 80058ec: 697b ldr r3, [r7, #20] - 80058ee: 69fa ldr r2, [r7, #28] - 80058f0: 605a str r2, [r3, #4] + 8006270: 697b ldr r3, [r7, #20] + 8006272: 69fa ldr r2, [r7, #28] + 8006274: 605a str r2, [r3, #4] mem->next = ptr2; - 80058f2: 6a3b ldr r3, [r7, #32] - 80058f4: 693a ldr r2, [r7, #16] - 80058f6: 601a str r2, [r3, #0] + 8006276: 6a3b ldr r3, [r7, #32] + 8006278: 693a ldr r2, [r7, #16] + 800627a: 601a str r2, [r3, #0] if (mem2->next != MEM_SIZE_ALIGNED) { - 80058f8: 697b ldr r3, [r7, #20] - 80058fa: 681b ldr r3, [r3, #0] - 80058fc: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8005900: d007 beq.n 8005912 + 800627c: 697b ldr r3, [r7, #20] + 800627e: 681b ldr r3, [r3, #0] + 8006280: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8006284: d007 beq.n 8006296 ptr_to_mem(mem2->next)->prev = ptr2; - 8005902: 697b ldr r3, [r7, #20] - 8005904: 681b ldr r3, [r3, #0] - 8005906: 4618 mov r0, r3 - 8005908: f7ff fd82 bl 8005410 - 800590c: 4602 mov r2, r0 - 800590e: 693b ldr r3, [r7, #16] - 8005910: 6053 str r3, [r2, #4] + 8006286: 697b ldr r3, [r7, #20] + 8006288: 681b ldr r3, [r3, #0] + 800628a: 4618 mov r0, r3 + 800628c: f7ff fd82 bl 8005d94 + 8006290: 4602 mov r2, r0 + 8006292: 693b ldr r3, [r7, #16] + 8006294: 6053 str r3, [r2, #4] MEM_SANITY(); #if LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT mem_free_count = 1; #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ LWIP_MEM_FREE_UNPROTECT(); return rmem; - 8005912: 687b ldr r3, [r7, #4] + 8006296: 687b ldr r3, [r7, #4] } - 8005914: 4618 mov r0, r3 - 8005916: 3728 adds r7, #40 @ 0x28 - 8005918: 46bd mov sp, r7 - 800591a: bd80 pop {r7, pc} - 800591c: 20016180 .word 0x20016180 - 8005920: 20016184 .word 0x20016184 - 8005924: 0801603c .word 0x0801603c - 8005928: 080161ac .word 0x080161ac - 800592c: 08016084 .word 0x08016084 - 8005930: 080161c4 .word 0x080161c4 - 8005934: 080161e4 .word 0x080161e4 - 8005938: 20016188 .word 0x20016188 + 8006298: 4618 mov r0, r3 + 800629a: 3728 adds r7, #40 @ 0x28 + 800629c: 46bd mov sp, r7 + 800629e: bd80 pop {r7, pc} + 80062a0: 200161b4 .word 0x200161b4 + 80062a4: 200161b8 .word 0x200161b8 + 80062a8: 080169bc .word 0x080169bc + 80062ac: 08016b2c .word 0x08016b2c + 80062b0: 08016a04 .word 0x08016a04 + 80062b4: 08016b44 .word 0x08016b44 + 80062b8: 08016b64 .word 0x08016b64 + 80062bc: 200161bc .word 0x200161bc -0800593c : +080062c0 : * * Note that the returned value will always be aligned (as defined by MEM_ALIGNMENT). */ void * mem_malloc(mem_size_t size_in) { - 800593c: b580 push {r7, lr} - 800593e: b088 sub sp, #32 - 8005940: af00 add r7, sp, #0 - 8005942: 6078 str r0, [r7, #4] + 80062c0: b580 push {r7, lr} + 80062c2: b088 sub sp, #32 + 80062c4: af00 add r7, sp, #0 + 80062c6: 6078 str r0, [r7, #4] #if LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT u8_t local_mem_free_count = 0; #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ LWIP_MEM_ALLOC_DECL_PROTECT(); if (size_in == 0) { - 8005944: 687b ldr r3, [r7, #4] - 8005946: 2b00 cmp r3, #0 - 8005948: d101 bne.n 800594e + 80062c8: 687b ldr r3, [r7, #4] + 80062ca: 2b00 cmp r3, #0 + 80062cc: d101 bne.n 80062d2 return NULL; - 800594a: 2300 movs r3, #0 - 800594c: e0d0 b.n 8005af0 + 80062ce: 2300 movs r3, #0 + 80062d0: e0d0 b.n 8006474 } /* Expand the size of the allocated memory region so that we can adjust for alignment. */ size = (mem_size_t)LWIP_MEM_ALIGN_SIZE(size_in); - 800594e: 687b ldr r3, [r7, #4] - 8005950: 3303 adds r3, #3 - 8005952: f023 0303 bic.w r3, r3, #3 - 8005956: 61bb str r3, [r7, #24] + 80062d2: 687b ldr r3, [r7, #4] + 80062d4: 3303 adds r3, #3 + 80062d6: f023 0303 bic.w r3, r3, #3 + 80062da: 61bb str r3, [r7, #24] if (size < MIN_SIZE_ALIGNED) { - 8005958: 69bb ldr r3, [r7, #24] - 800595a: 2b0b cmp r3, #11 - 800595c: d801 bhi.n 8005962 + 80062dc: 69bb ldr r3, [r7, #24] + 80062de: 2b0b cmp r3, #11 + 80062e0: d801 bhi.n 80062e6 /* every data block must be at least MIN_SIZE_ALIGNED long */ size = MIN_SIZE_ALIGNED; - 800595e: 230c movs r3, #12 - 8005960: 61bb str r3, [r7, #24] + 80062e2: 230c movs r3, #12 + 80062e4: 61bb str r3, [r7, #24] } #if MEM_OVERFLOW_CHECK size += MEM_SANITY_REGION_BEFORE_ALIGNED + MEM_SANITY_REGION_AFTER_ALIGNED; #endif if ((size > MEM_SIZE_ALIGNED) || (size < size_in)) { - 8005962: 69bb ldr r3, [r7, #24] - 8005964: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8005968: d803 bhi.n 8005972 - 800596a: 69ba ldr r2, [r7, #24] - 800596c: 687b ldr r3, [r7, #4] - 800596e: 429a cmp r2, r3 - 8005970: d201 bcs.n 8005976 + 80062e6: 69bb ldr r3, [r7, #24] + 80062e8: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 80062ec: d803 bhi.n 80062f6 + 80062ee: 69ba ldr r2, [r7, #24] + 80062f0: 687b ldr r3, [r7, #4] + 80062f2: 429a cmp r2, r3 + 80062f4: d201 bcs.n 80062fa return NULL; - 8005972: 2300 movs r3, #0 - 8005974: e0bc b.n 8005af0 + 80062f6: 2300 movs r3, #0 + 80062f8: e0bc b.n 8006474 #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ /* Scan through the heap searching for a free block that is big enough, * beginning with the lowest free block. */ for (ptr = mem_to_ptr(lfree); ptr < MEM_SIZE_ALIGNED - size; - 8005976: 4b60 ldr r3, [pc, #384] @ (8005af8 ) - 8005978: 681b ldr r3, [r3, #0] - 800597a: 4618 mov r0, r3 - 800597c: f7ff fd58 bl 8005430 - 8005980: 61f8 str r0, [r7, #28] - 8005982: e0ad b.n 8005ae0 + 80062fa: 4b60 ldr r3, [pc, #384] @ (800647c ) + 80062fc: 681b ldr r3, [r3, #0] + 80062fe: 4618 mov r0, r3 + 8006300: f7ff fd58 bl 8005db4 + 8006304: 61f8 str r0, [r7, #28] + 8006306: e0ad b.n 8006464 ptr = ptr_to_mem(ptr)->next) { mem = ptr_to_mem(ptr); - 8005984: 69f8 ldr r0, [r7, #28] - 8005986: f7ff fd43 bl 8005410 - 800598a: 6138 str r0, [r7, #16] + 8006308: 69f8 ldr r0, [r7, #28] + 800630a: f7ff fd43 bl 8005d94 + 800630e: 6138 str r0, [r7, #16] local_mem_free_count = 1; break; } #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ if ((!mem->used) && - 800598c: 693b ldr r3, [r7, #16] - 800598e: 7a1b ldrb r3, [r3, #8] - 8005990: 2b00 cmp r3, #0 - 8005992: f040 809f bne.w 8005ad4 + 8006310: 693b ldr r3, [r7, #16] + 8006312: 7a1b ldrb r3, [r3, #8] + 8006314: 2b00 cmp r3, #0 + 8006316: f040 809f bne.w 8006458 (mem->next - (ptr + SIZEOF_STRUCT_MEM)) >= size) { - 8005996: 693b ldr r3, [r7, #16] - 8005998: 681a ldr r2, [r3, #0] - 800599a: 69fb ldr r3, [r7, #28] - 800599c: 1ad3 subs r3, r2, r3 - 800599e: 3b0c subs r3, #12 + 800631a: 693b ldr r3, [r7, #16] + 800631c: 681a ldr r2, [r3, #0] + 800631e: 69fb ldr r3, [r7, #28] + 8006320: 1ad3 subs r3, r2, r3 + 8006322: 3b0c subs r3, #12 if ((!mem->used) && - 80059a0: 69ba ldr r2, [r7, #24] - 80059a2: 429a cmp r2, r3 - 80059a4: f200 8096 bhi.w 8005ad4 + 8006324: 69ba ldr r2, [r7, #24] + 8006326: 429a cmp r2, r3 + 8006328: f200 8096 bhi.w 8006458 /* mem is not used and at least perfect fit is possible: * mem->next - (ptr + SIZEOF_STRUCT_MEM) gives us the 'user data size' of mem */ if (mem->next - (ptr + SIZEOF_STRUCT_MEM) >= (size + SIZEOF_STRUCT_MEM + MIN_SIZE_ALIGNED)) { - 80059a8: 693b ldr r3, [r7, #16] - 80059aa: 681a ldr r2, [r3, #0] - 80059ac: 69fb ldr r3, [r7, #28] - 80059ae: 1ad3 subs r3, r2, r3 - 80059b0: f1a3 020c sub.w r2, r3, #12 - 80059b4: 69bb ldr r3, [r7, #24] - 80059b6: 3318 adds r3, #24 - 80059b8: 429a cmp r2, r3 - 80059ba: d331 bcc.n 8005a20 + 800632c: 693b ldr r3, [r7, #16] + 800632e: 681a ldr r2, [r3, #0] + 8006330: 69fb ldr r3, [r7, #28] + 8006332: 1ad3 subs r3, r2, r3 + 8006334: f1a3 020c sub.w r2, r3, #12 + 8006338: 69bb ldr r3, [r7, #24] + 800633a: 3318 adds r3, #24 + 800633c: 429a cmp r2, r3 + 800633e: d331 bcc.n 80063a4 * struct mem would fit in but no data between mem2 and mem2->next * @todo we could leave out MIN_SIZE_ALIGNED. We would create an empty * region that couldn't hold data, but when mem->next gets freed, * the 2 regions would be combined, resulting in more free memory */ ptr2 = (mem_size_t)(ptr + SIZEOF_STRUCT_MEM + size); - 80059bc: 69fa ldr r2, [r7, #28] - 80059be: 69bb ldr r3, [r7, #24] - 80059c0: 4413 add r3, r2 - 80059c2: 330c adds r3, #12 - 80059c4: 60fb str r3, [r7, #12] + 8006340: 69fa ldr r2, [r7, #28] + 8006342: 69bb ldr r3, [r7, #24] + 8006344: 4413 add r3, r2 + 8006346: 330c adds r3, #12 + 8006348: 60fb str r3, [r7, #12] LWIP_ASSERT("invalid next ptr",ptr2 != MEM_SIZE_ALIGNED); - 80059c6: 68fb ldr r3, [r7, #12] - 80059c8: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 80059cc: d106 bne.n 80059dc - 80059ce: 4b4b ldr r3, [pc, #300] @ (8005afc ) - 80059d0: f240 3287 movw r2, #903 @ 0x387 - 80059d4: 494a ldr r1, [pc, #296] @ (8005b00 ) - 80059d6: 484b ldr r0, [pc, #300] @ (8005b04 ) - 80059d8: f00b fe0e bl 80115f8 + 800634a: 68fb ldr r3, [r7, #12] + 800634c: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8006350: d106 bne.n 8006360 + 8006352: 4b4b ldr r3, [pc, #300] @ (8006480 ) + 8006354: f240 3287 movw r2, #903 @ 0x387 + 8006358: 494a ldr r1, [pc, #296] @ (8006484 ) + 800635a: 484b ldr r0, [pc, #300] @ (8006488 ) + 800635c: f00b fe0e bl 8011f7c /* create mem2 struct */ mem2 = ptr_to_mem(ptr2); - 80059dc: 68f8 ldr r0, [r7, #12] - 80059de: f7ff fd17 bl 8005410 - 80059e2: 60b8 str r0, [r7, #8] + 8006360: 68f8 ldr r0, [r7, #12] + 8006362: f7ff fd17 bl 8005d94 + 8006366: 60b8 str r0, [r7, #8] mem2->used = 0; - 80059e4: 68bb ldr r3, [r7, #8] - 80059e6: 2200 movs r2, #0 - 80059e8: 721a strb r2, [r3, #8] + 8006368: 68bb ldr r3, [r7, #8] + 800636a: 2200 movs r2, #0 + 800636c: 721a strb r2, [r3, #8] mem2->next = mem->next; - 80059ea: 693b ldr r3, [r7, #16] - 80059ec: 681a ldr r2, [r3, #0] - 80059ee: 68bb ldr r3, [r7, #8] - 80059f0: 601a str r2, [r3, #0] + 800636e: 693b ldr r3, [r7, #16] + 8006370: 681a ldr r2, [r3, #0] + 8006372: 68bb ldr r3, [r7, #8] + 8006374: 601a str r2, [r3, #0] mem2->prev = ptr; - 80059f2: 68bb ldr r3, [r7, #8] - 80059f4: 69fa ldr r2, [r7, #28] - 80059f6: 605a str r2, [r3, #4] + 8006376: 68bb ldr r3, [r7, #8] + 8006378: 69fa ldr r2, [r7, #28] + 800637a: 605a str r2, [r3, #4] /* and insert it between mem and mem->next */ mem->next = ptr2; - 80059f8: 693b ldr r3, [r7, #16] - 80059fa: 68fa ldr r2, [r7, #12] - 80059fc: 601a str r2, [r3, #0] + 800637c: 693b ldr r3, [r7, #16] + 800637e: 68fa ldr r2, [r7, #12] + 8006380: 601a str r2, [r3, #0] mem->used = 1; - 80059fe: 693b ldr r3, [r7, #16] - 8005a00: 2201 movs r2, #1 - 8005a02: 721a strb r2, [r3, #8] + 8006382: 693b ldr r3, [r7, #16] + 8006384: 2201 movs r2, #1 + 8006386: 721a strb r2, [r3, #8] if (mem2->next != MEM_SIZE_ALIGNED) { - 8005a04: 68bb ldr r3, [r7, #8] - 8005a06: 681b ldr r3, [r3, #0] - 8005a08: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8005a0c: d00b beq.n 8005a26 + 8006388: 68bb ldr r3, [r7, #8] + 800638a: 681b ldr r3, [r3, #0] + 800638c: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8006390: d00b beq.n 80063aa ptr_to_mem(mem2->next)->prev = ptr2; - 8005a0e: 68bb ldr r3, [r7, #8] - 8005a10: 681b ldr r3, [r3, #0] - 8005a12: 4618 mov r0, r3 - 8005a14: f7ff fcfc bl 8005410 - 8005a18: 4602 mov r2, r0 - 8005a1a: 68fb ldr r3, [r7, #12] - 8005a1c: 6053 str r3, [r2, #4] - 8005a1e: e002 b.n 8005a26 + 8006392: 68bb ldr r3, [r7, #8] + 8006394: 681b ldr r3, [r3, #0] + 8006396: 4618 mov r0, r3 + 8006398: f7ff fcfc bl 8005d94 + 800639c: 4602 mov r2, r0 + 800639e: 68fb ldr r3, [r7, #12] + 80063a0: 6053 str r3, [r2, #4] + 80063a2: e002 b.n 80063aa * take care of this). * -> near fit or exact fit: do not split, no mem2 creation * also can't move mem->next directly behind mem, since mem->next * will always be used at this point! */ mem->used = 1; - 8005a20: 693b ldr r3, [r7, #16] - 8005a22: 2201 movs r2, #1 - 8005a24: 721a strb r2, [r3, #8] + 80063a4: 693b ldr r3, [r7, #16] + 80063a6: 2201 movs r2, #1 + 80063a8: 721a strb r2, [r3, #8] MEM_STATS_INC_USED(used, mem->next - mem_to_ptr(mem)); } #if LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT mem_malloc_adjust_lfree: #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ if (mem == lfree) { - 8005a26: 4b34 ldr r3, [pc, #208] @ (8005af8 ) - 8005a28: 681b ldr r3, [r3, #0] - 8005a2a: 693a ldr r2, [r7, #16] - 8005a2c: 429a cmp r2, r3 - 8005a2e: d127 bne.n 8005a80 + 80063aa: 4b34 ldr r3, [pc, #208] @ (800647c ) + 80063ac: 681b ldr r3, [r3, #0] + 80063ae: 693a ldr r2, [r7, #16] + 80063b0: 429a cmp r2, r3 + 80063b2: d127 bne.n 8006404 struct mem *cur = lfree; - 8005a30: 4b31 ldr r3, [pc, #196] @ (8005af8 ) - 8005a32: 681b ldr r3, [r3, #0] - 8005a34: 617b str r3, [r7, #20] + 80063b4: 4b31 ldr r3, [pc, #196] @ (800647c ) + 80063b6: 681b ldr r3, [r3, #0] + 80063b8: 617b str r3, [r7, #20] /* Find next free block after mem and update lowest free pointer */ while (cur->used && cur != ram_end) { - 8005a36: e005 b.n 8005a44 + 80063ba: e005 b.n 80063c8 /* If mem_free or mem_trim have run, we have to restart since they could have altered our current struct mem or lfree. */ goto mem_malloc_adjust_lfree; } #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ cur = ptr_to_mem(cur->next); - 8005a38: 697b ldr r3, [r7, #20] - 8005a3a: 681b ldr r3, [r3, #0] - 8005a3c: 4618 mov r0, r3 - 8005a3e: f7ff fce7 bl 8005410 - 8005a42: 6178 str r0, [r7, #20] + 80063bc: 697b ldr r3, [r7, #20] + 80063be: 681b ldr r3, [r3, #0] + 80063c0: 4618 mov r0, r3 + 80063c2: f7ff fce7 bl 8005d94 + 80063c6: 6178 str r0, [r7, #20] while (cur->used && cur != ram_end) { - 8005a44: 697b ldr r3, [r7, #20] - 8005a46: 7a1b ldrb r3, [r3, #8] - 8005a48: 2b00 cmp r3, #0 - 8005a4a: d004 beq.n 8005a56 - 8005a4c: 4b2e ldr r3, [pc, #184] @ (8005b08 ) - 8005a4e: 681b ldr r3, [r3, #0] - 8005a50: 697a ldr r2, [r7, #20] - 8005a52: 429a cmp r2, r3 - 8005a54: d1f0 bne.n 8005a38 + 80063c8: 697b ldr r3, [r7, #20] + 80063ca: 7a1b ldrb r3, [r3, #8] + 80063cc: 2b00 cmp r3, #0 + 80063ce: d004 beq.n 80063da + 80063d0: 4b2e ldr r3, [pc, #184] @ (800648c ) + 80063d2: 681b ldr r3, [r3, #0] + 80063d4: 697a ldr r2, [r7, #20] + 80063d6: 429a cmp r2, r3 + 80063d8: d1f0 bne.n 80063bc } lfree = cur; - 8005a56: 4a28 ldr r2, [pc, #160] @ (8005af8 ) - 8005a58: 697b ldr r3, [r7, #20] - 8005a5a: 6013 str r3, [r2, #0] + 80063da: 4a28 ldr r2, [pc, #160] @ (800647c ) + 80063dc: 697b ldr r3, [r7, #20] + 80063de: 6013 str r3, [r2, #0] LWIP_ASSERT("mem_malloc: !lfree->used", ((lfree == ram_end) || (!lfree->used))); - 8005a5c: 4b26 ldr r3, [pc, #152] @ (8005af8 ) - 8005a5e: 681a ldr r2, [r3, #0] - 8005a60: 4b29 ldr r3, [pc, #164] @ (8005b08 ) - 8005a62: 681b ldr r3, [r3, #0] - 8005a64: 429a cmp r2, r3 - 8005a66: d00b beq.n 8005a80 - 8005a68: 4b23 ldr r3, [pc, #140] @ (8005af8 ) - 8005a6a: 681b ldr r3, [r3, #0] - 8005a6c: 7a1b ldrb r3, [r3, #8] - 8005a6e: 2b00 cmp r3, #0 - 8005a70: d006 beq.n 8005a80 - 8005a72: 4b22 ldr r3, [pc, #136] @ (8005afc ) - 8005a74: f240 32b5 movw r2, #949 @ 0x3b5 - 8005a78: 4924 ldr r1, [pc, #144] @ (8005b0c ) - 8005a7a: 4822 ldr r0, [pc, #136] @ (8005b04 ) - 8005a7c: f00b fdbc bl 80115f8 + 80063e0: 4b26 ldr r3, [pc, #152] @ (800647c ) + 80063e2: 681a ldr r2, [r3, #0] + 80063e4: 4b29 ldr r3, [pc, #164] @ (800648c ) + 80063e6: 681b ldr r3, [r3, #0] + 80063e8: 429a cmp r2, r3 + 80063ea: d00b beq.n 8006404 + 80063ec: 4b23 ldr r3, [pc, #140] @ (800647c ) + 80063ee: 681b ldr r3, [r3, #0] + 80063f0: 7a1b ldrb r3, [r3, #8] + 80063f2: 2b00 cmp r3, #0 + 80063f4: d006 beq.n 8006404 + 80063f6: 4b22 ldr r3, [pc, #136] @ (8006480 ) + 80063f8: f240 32b5 movw r2, #949 @ 0x3b5 + 80063fc: 4924 ldr r1, [pc, #144] @ (8006490 ) + 80063fe: 4822 ldr r0, [pc, #136] @ (8006488 ) + 8006400: f00b fdbc bl 8011f7c } LWIP_MEM_ALLOC_UNPROTECT(); sys_mutex_unlock(&mem_mutex); LWIP_ASSERT("mem_malloc: allocated memory not above ram_end.", - 8005a80: 693a ldr r2, [r7, #16] - 8005a82: 69bb ldr r3, [r7, #24] - 8005a84: 4413 add r3, r2 - 8005a86: 330c adds r3, #12 - 8005a88: 4a1f ldr r2, [pc, #124] @ (8005b08 ) - 8005a8a: 6812 ldr r2, [r2, #0] - 8005a8c: 4293 cmp r3, r2 - 8005a8e: d906 bls.n 8005a9e - 8005a90: 4b1a ldr r3, [pc, #104] @ (8005afc ) - 8005a92: f240 32b9 movw r2, #953 @ 0x3b9 - 8005a96: 491e ldr r1, [pc, #120] @ (8005b10 ) - 8005a98: 481a ldr r0, [pc, #104] @ (8005b04 ) - 8005a9a: f00b fdad bl 80115f8 + 8006404: 693a ldr r2, [r7, #16] + 8006406: 69bb ldr r3, [r7, #24] + 8006408: 4413 add r3, r2 + 800640a: 330c adds r3, #12 + 800640c: 4a1f ldr r2, [pc, #124] @ (800648c ) + 800640e: 6812 ldr r2, [r2, #0] + 8006410: 4293 cmp r3, r2 + 8006412: d906 bls.n 8006422 + 8006414: 4b1a ldr r3, [pc, #104] @ (8006480 ) + 8006416: f240 32b9 movw r2, #953 @ 0x3b9 + 800641a: 491e ldr r1, [pc, #120] @ (8006494 ) + 800641c: 481a ldr r0, [pc, #104] @ (8006488 ) + 800641e: f00b fdad bl 8011f7c (mem_ptr_t)mem + SIZEOF_STRUCT_MEM + size <= (mem_ptr_t)ram_end); LWIP_ASSERT("mem_malloc: allocated memory properly aligned.", - 8005a9e: 693b ldr r3, [r7, #16] - 8005aa0: f003 0303 and.w r3, r3, #3 - 8005aa4: 2b00 cmp r3, #0 - 8005aa6: d006 beq.n 8005ab6 - 8005aa8: 4b14 ldr r3, [pc, #80] @ (8005afc ) - 8005aaa: f240 32bb movw r2, #955 @ 0x3bb - 8005aae: 4919 ldr r1, [pc, #100] @ (8005b14 ) - 8005ab0: 4814 ldr r0, [pc, #80] @ (8005b04 ) - 8005ab2: f00b fda1 bl 80115f8 + 8006422: 693b ldr r3, [r7, #16] + 8006424: f003 0303 and.w r3, r3, #3 + 8006428: 2b00 cmp r3, #0 + 800642a: d006 beq.n 800643a + 800642c: 4b14 ldr r3, [pc, #80] @ (8006480 ) + 800642e: f240 32bb movw r2, #955 @ 0x3bb + 8006432: 4919 ldr r1, [pc, #100] @ (8006498 ) + 8006434: 4814 ldr r0, [pc, #80] @ (8006488 ) + 8006436: f00b fda1 bl 8011f7c ((mem_ptr_t)mem + SIZEOF_STRUCT_MEM) % MEM_ALIGNMENT == 0); LWIP_ASSERT("mem_malloc: sanity check alignment", - 8005ab6: 693b ldr r3, [r7, #16] - 8005ab8: f003 0303 and.w r3, r3, #3 - 8005abc: 2b00 cmp r3, #0 - 8005abe: d006 beq.n 8005ace - 8005ac0: 4b0e ldr r3, [pc, #56] @ (8005afc ) - 8005ac2: f240 32bd movw r2, #957 @ 0x3bd - 8005ac6: 4914 ldr r1, [pc, #80] @ (8005b18 ) - 8005ac8: 480e ldr r0, [pc, #56] @ (8005b04 ) - 8005aca: f00b fd95 bl 80115f8 + 800643a: 693b ldr r3, [r7, #16] + 800643c: f003 0303 and.w r3, r3, #3 + 8006440: 2b00 cmp r3, #0 + 8006442: d006 beq.n 8006452 + 8006444: 4b0e ldr r3, [pc, #56] @ (8006480 ) + 8006446: f240 32bd movw r2, #957 @ 0x3bd + 800644a: 4914 ldr r1, [pc, #80] @ (800649c ) + 800644c: 480e ldr r0, [pc, #56] @ (8006488 ) + 800644e: f00b fd95 bl 8011f7c #if MEM_OVERFLOW_CHECK mem_overflow_init_element(mem, size_in); #endif MEM_SANITY(); return (u8_t *)mem + SIZEOF_STRUCT_MEM + MEM_SANITY_OFFSET; - 8005ace: 693b ldr r3, [r7, #16] - 8005ad0: 330c adds r3, #12 - 8005ad2: e00d b.n 8005af0 + 8006452: 693b ldr r3, [r7, #16] + 8006454: 330c adds r3, #12 + 8006456: e00d b.n 8006474 ptr = ptr_to_mem(ptr)->next) { - 8005ad4: 69f8 ldr r0, [r7, #28] - 8005ad6: f7ff fc9b bl 8005410 - 8005ada: 4603 mov r3, r0 - 8005adc: 681b ldr r3, [r3, #0] - 8005ade: 61fb str r3, [r7, #28] + 8006458: 69f8 ldr r0, [r7, #28] + 800645a: f7ff fc9b bl 8005d94 + 800645e: 4603 mov r3, r0 + 8006460: 681b ldr r3, [r3, #0] + 8006462: 61fb str r3, [r7, #28] for (ptr = mem_to_ptr(lfree); ptr < MEM_SIZE_ALIGNED - size; - 8005ae0: 69bb ldr r3, [r7, #24] - 8005ae2: f5c3 3380 rsb r3, r3, #65536 @ 0x10000 - 8005ae6: 69fa ldr r2, [r7, #28] - 8005ae8: 429a cmp r2, r3 - 8005aea: f4ff af4b bcc.w 8005984 + 8006464: 69bb ldr r3, [r7, #24] + 8006466: f5c3 3380 rsb r3, r3, #65536 @ 0x10000 + 800646a: 69fa ldr r2, [r7, #28] + 800646c: 429a cmp r2, r3 + 800646e: f4ff af4b bcc.w 8006308 #endif /* LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT */ MEM_STATS_INC(err); LWIP_MEM_ALLOC_UNPROTECT(); sys_mutex_unlock(&mem_mutex); LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("mem_malloc: could not allocate %"S16_F" bytes\n", (s16_t)size)); return NULL; - 8005aee: 2300 movs r3, #0 + 8006472: 2300 movs r3, #0 } - 8005af0: 4618 mov r0, r3 - 8005af2: 3720 adds r7, #32 - 8005af4: 46bd mov sp, r7 - 8005af6: bd80 pop {r7, pc} - 8005af8: 20016188 .word 0x20016188 - 8005afc: 0801603c .word 0x0801603c - 8005b00: 080161e4 .word 0x080161e4 - 8005b04: 08016084 .word 0x08016084 - 8005b08: 20016184 .word 0x20016184 - 8005b0c: 080161f8 .word 0x080161f8 - 8005b10: 08016214 .word 0x08016214 - 8005b14: 08016244 .word 0x08016244 - 8005b18: 08016274 .word 0x08016274 + 8006474: 4618 mov r0, r3 + 8006476: 3720 adds r7, #32 + 8006478: 46bd mov sp, r7 + 800647a: bd80 pop {r7, pc} + 800647c: 200161bc .word 0x200161bc + 8006480: 080169bc .word 0x080169bc + 8006484: 08016b64 .word 0x08016b64 + 8006488: 08016a04 .word 0x08016a04 + 800648c: 200161b8 .word 0x200161b8 + 8006490: 08016b78 .word 0x08016b78 + 8006494: 08016b94 .word 0x08016b94 + 8006498: 08016bc4 .word 0x08016bc4 + 800649c: 08016bf4 .word 0x08016bf4 -08005b1c : +080064a0 : * * @param desc pool to initialize */ void memp_init_pool(const struct memp_desc *desc) { - 8005b1c: b480 push {r7} - 8005b1e: b085 sub sp, #20 - 8005b20: af00 add r7, sp, #0 - 8005b22: 6078 str r0, [r7, #4] + 80064a0: b480 push {r7} + 80064a2: b085 sub sp, #20 + 80064a4: af00 add r7, sp, #0 + 80064a6: 6078 str r0, [r7, #4] LWIP_UNUSED_ARG(desc); #else int i; struct memp *memp; *desc->tab = NULL; - 8005b24: 687b ldr r3, [r7, #4] - 8005b26: 689b ldr r3, [r3, #8] - 8005b28: 2200 movs r2, #0 - 8005b2a: 601a str r2, [r3, #0] + 80064a8: 687b ldr r3, [r7, #4] + 80064aa: 689b ldr r3, [r3, #8] + 80064ac: 2200 movs r2, #0 + 80064ae: 601a str r2, [r3, #0] memp = (struct memp *)LWIP_MEM_ALIGN(desc->base); - 8005b2c: 687b ldr r3, [r7, #4] - 8005b2e: 685b ldr r3, [r3, #4] - 8005b30: 3303 adds r3, #3 - 8005b32: f023 0303 bic.w r3, r3, #3 - 8005b36: 60bb str r3, [r7, #8] + 80064b0: 687b ldr r3, [r7, #4] + 80064b2: 685b ldr r3, [r3, #4] + 80064b4: 3303 adds r3, #3 + 80064b6: f023 0303 bic.w r3, r3, #3 + 80064ba: 60bb str r3, [r7, #8] + MEM_SANITY_REGION_AFTER_ALIGNED #endif )); #endif /* create a linked list of memp elements */ for (i = 0; i < desc->num; ++i) { - 8005b38: 2300 movs r3, #0 - 8005b3a: 60fb str r3, [r7, #12] - 8005b3c: e011 b.n 8005b62 + 80064bc: 2300 movs r3, #0 + 80064be: 60fb str r3, [r7, #12] + 80064c0: e011 b.n 80064e6 memp->next = *desc->tab; - 8005b3e: 687b ldr r3, [r7, #4] - 8005b40: 689b ldr r3, [r3, #8] - 8005b42: 681a ldr r2, [r3, #0] - 8005b44: 68bb ldr r3, [r7, #8] - 8005b46: 601a str r2, [r3, #0] + 80064c2: 687b ldr r3, [r7, #4] + 80064c4: 689b ldr r3, [r3, #8] + 80064c6: 681a ldr r2, [r3, #0] + 80064c8: 68bb ldr r3, [r7, #8] + 80064ca: 601a str r2, [r3, #0] *desc->tab = memp; - 8005b48: 687b ldr r3, [r7, #4] - 8005b4a: 689b ldr r3, [r3, #8] - 8005b4c: 68ba ldr r2, [r7, #8] - 8005b4e: 601a str r2, [r3, #0] + 80064cc: 687b ldr r3, [r7, #4] + 80064ce: 689b ldr r3, [r3, #8] + 80064d0: 68ba ldr r2, [r7, #8] + 80064d2: 601a str r2, [r3, #0] #if MEMP_OVERFLOW_CHECK memp_overflow_init_element(memp, desc); #endif /* MEMP_OVERFLOW_CHECK */ /* cast through void* to get rid of alignment warnings */ memp = (struct memp *)(void *)((u8_t *)memp + MEMP_SIZE + desc->size - 8005b50: 687b ldr r3, [r7, #4] - 8005b52: 881b ldrh r3, [r3, #0] - 8005b54: 461a mov r2, r3 - 8005b56: 68bb ldr r3, [r7, #8] - 8005b58: 4413 add r3, r2 - 8005b5a: 60bb str r3, [r7, #8] + 80064d4: 687b ldr r3, [r7, #4] + 80064d6: 881b ldrh r3, [r3, #0] + 80064d8: 461a mov r2, r3 + 80064da: 68bb ldr r3, [r7, #8] + 80064dc: 4413 add r3, r2 + 80064de: 60bb str r3, [r7, #8] for (i = 0; i < desc->num; ++i) { - 8005b5c: 68fb ldr r3, [r7, #12] - 8005b5e: 3301 adds r3, #1 - 8005b60: 60fb str r3, [r7, #12] - 8005b62: 687b ldr r3, [r7, #4] - 8005b64: 885b ldrh r3, [r3, #2] - 8005b66: 461a mov r2, r3 - 8005b68: 68fb ldr r3, [r7, #12] - 8005b6a: 4293 cmp r3, r2 - 8005b6c: dbe7 blt.n 8005b3e + 80064e0: 68fb ldr r3, [r7, #12] + 80064e2: 3301 adds r3, #1 + 80064e4: 60fb str r3, [r7, #12] + 80064e6: 687b ldr r3, [r7, #4] + 80064e8: 885b ldrh r3, [r3, #2] + 80064ea: 461a mov r2, r3 + 80064ec: 68fb ldr r3, [r7, #12] + 80064ee: 4293 cmp r3, r2 + 80064f0: dbe7 blt.n 80064c2 #endif /* !MEMP_MEM_MALLOC */ #if MEMP_STATS && (defined(LWIP_DEBUG) || LWIP_STATS_DISPLAY) desc->stats->name = desc->desc; #endif /* MEMP_STATS && (defined(LWIP_DEBUG) || LWIP_STATS_DISPLAY) */ } - 8005b6e: bf00 nop - 8005b70: bf00 nop - 8005b72: 3714 adds r7, #20 - 8005b74: 46bd mov sp, r7 - 8005b76: f85d 7b04 ldr.w r7, [sp], #4 - 8005b7a: 4770 bx lr + 80064f2: bf00 nop + 80064f4: bf00 nop + 80064f6: 3714 adds r7, #20 + 80064f8: 46bd mov sp, r7 + 80064fa: f85d 7b04 ldr.w r7, [sp], #4 + 80064fe: 4770 bx lr -08005b7c : +08006500 : * * Carves out memp_memory into linked lists for each pool-type. */ void memp_init(void) { - 8005b7c: b580 push {r7, lr} - 8005b7e: b082 sub sp, #8 - 8005b80: af00 add r7, sp, #0 + 8006500: b580 push {r7, lr} + 8006502: b082 sub sp, #8 + 8006504: af00 add r7, sp, #0 u16_t i; /* for every pool: */ for (i = 0; i < LWIP_ARRAYSIZE(memp_pools); i++) { - 8005b82: 2300 movs r3, #0 - 8005b84: 80fb strh r3, [r7, #6] - 8005b86: e009 b.n 8005b9c + 8006506: 2300 movs r3, #0 + 8006508: 80fb strh r3, [r7, #6] + 800650a: e009 b.n 8006520 memp_init_pool(memp_pools[i]); - 8005b88: 88fb ldrh r3, [r7, #6] - 8005b8a: 4a08 ldr r2, [pc, #32] @ (8005bac ) - 8005b8c: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8005b90: 4618 mov r0, r3 - 8005b92: f7ff ffc3 bl 8005b1c + 800650c: 88fb ldrh r3, [r7, #6] + 800650e: 4a08 ldr r2, [pc, #32] @ (8006530 ) + 8006510: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8006514: 4618 mov r0, r3 + 8006516: f7ff ffc3 bl 80064a0 for (i = 0; i < LWIP_ARRAYSIZE(memp_pools); i++) { - 8005b96: 88fb ldrh r3, [r7, #6] - 8005b98: 3301 adds r3, #1 - 8005b9a: 80fb strh r3, [r7, #6] - 8005b9c: 88fb ldrh r3, [r7, #6] - 8005b9e: 2b08 cmp r3, #8 - 8005ba0: d9f2 bls.n 8005b88 + 800651a: 88fb ldrh r3, [r7, #6] + 800651c: 3301 adds r3, #1 + 800651e: 80fb strh r3, [r7, #6] + 8006520: 88fb ldrh r3, [r7, #6] + 8006522: 2b08 cmp r3, #8 + 8006524: d9f2 bls.n 800650c #if MEMP_OVERFLOW_CHECK >= 2 /* check everything a first time to see if it worked */ memp_overflow_check_all(); #endif /* MEMP_OVERFLOW_CHECK >= 2 */ } - 8005ba2: bf00 nop - 8005ba4: bf00 nop - 8005ba6: 3708 adds r7, #8 - 8005ba8: 46bd mov sp, r7 - 8005baa: bd80 pop {r7, pc} - 8005bac: 08018e60 .word 0x08018e60 + 8006526: bf00 nop + 8006528: bf00 nop + 800652a: 3708 adds r7, #8 + 800652c: 46bd mov sp, r7 + 800652e: bd80 pop {r7, pc} + 8006530: 080197e0 .word 0x080197e0 -08005bb0 : +08006534 : #if !MEMP_OVERFLOW_CHECK do_memp_malloc_pool(const struct memp_desc *desc) #else do_memp_malloc_pool_fn(const struct memp_desc *desc, const char *file, const int line) #endif { - 8005bb0: b580 push {r7, lr} - 8005bb2: b084 sub sp, #16 - 8005bb4: af00 add r7, sp, #0 - 8005bb6: 6078 str r0, [r7, #4] + 8006534: b580 push {r7, lr} + 8006536: b084 sub sp, #16 + 8006538: af00 add r7, sp, #0 + 800653a: 6078 str r0, [r7, #4] memp = (struct memp *)mem_malloc(MEMP_SIZE + MEMP_ALIGN_SIZE(desc->size)); SYS_ARCH_PROTECT(old_level); #else /* MEMP_MEM_MALLOC */ SYS_ARCH_PROTECT(old_level); memp = *desc->tab; - 8005bb8: 687b ldr r3, [r7, #4] - 8005bba: 689b ldr r3, [r3, #8] - 8005bbc: 681b ldr r3, [r3, #0] - 8005bbe: 60fb str r3, [r7, #12] + 800653c: 687b ldr r3, [r7, #4] + 800653e: 689b ldr r3, [r3, #8] + 8006540: 681b ldr r3, [r3, #0] + 8006542: 60fb str r3, [r7, #12] #endif /* MEMP_MEM_MALLOC */ if (memp != NULL) { - 8005bc0: 68fb ldr r3, [r7, #12] - 8005bc2: 2b00 cmp r3, #0 - 8005bc4: d012 beq.n 8005bec + 8006544: 68fb ldr r3, [r7, #12] + 8006546: 2b00 cmp r3, #0 + 8006548: d012 beq.n 8006570 #if !MEMP_MEM_MALLOC #if MEMP_OVERFLOW_CHECK == 1 memp_overflow_check_element(memp, desc); #endif /* MEMP_OVERFLOW_CHECK */ *desc->tab = memp->next; - 8005bc6: 687b ldr r3, [r7, #4] - 8005bc8: 689b ldr r3, [r3, #8] - 8005bca: 68fa ldr r2, [r7, #12] - 8005bcc: 6812 ldr r2, [r2, #0] - 8005bce: 601a str r2, [r3, #0] + 800654a: 687b ldr r3, [r7, #4] + 800654c: 689b ldr r3, [r3, #8] + 800654e: 68fa ldr r2, [r7, #12] + 8006550: 6812 ldr r2, [r2, #0] + 8006552: 601a str r2, [r3, #0] memp->line = line; #if MEMP_MEM_MALLOC memp_overflow_init_element(memp, desc); #endif /* MEMP_MEM_MALLOC */ #endif /* MEMP_OVERFLOW_CHECK */ LWIP_ASSERT("memp_malloc: memp properly aligned", - 8005bd0: 68fb ldr r3, [r7, #12] - 8005bd2: f003 0303 and.w r3, r3, #3 - 8005bd6: 2b00 cmp r3, #0 - 8005bd8: d006 beq.n 8005be8 - 8005bda: 4b07 ldr r3, [pc, #28] @ (8005bf8 ) - 8005bdc: f44f 728c mov.w r2, #280 @ 0x118 - 8005be0: 4906 ldr r1, [pc, #24] @ (8005bfc ) - 8005be2: 4807 ldr r0, [pc, #28] @ (8005c00 ) - 8005be4: f00b fd08 bl 80115f8 + 8006554: 68fb ldr r3, [r7, #12] + 8006556: f003 0303 and.w r3, r3, #3 + 800655a: 2b00 cmp r3, #0 + 800655c: d006 beq.n 800656c + 800655e: 4b07 ldr r3, [pc, #28] @ (800657c ) + 8006560: f44f 728c mov.w r2, #280 @ 0x118 + 8006564: 4906 ldr r1, [pc, #24] @ (8006580 ) + 8006566: 4807 ldr r0, [pc, #28] @ (8006584 ) + 8006568: f00b fd08 bl 8011f7c desc->stats->max = desc->stats->used; } #endif SYS_ARCH_UNPROTECT(old_level); /* cast through u8_t* to get rid of alignment warnings */ return ((u8_t *)memp + MEMP_SIZE); - 8005be8: 68fb ldr r3, [r7, #12] - 8005bea: e000 b.n 8005bee + 800656c: 68fb ldr r3, [r7, #12] + 800656e: e000 b.n 8006572 #endif SYS_ARCH_UNPROTECT(old_level); LWIP_DEBUGF(MEMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("memp_malloc: out of memory in pool %s\n", desc->desc)); } return NULL; - 8005bec: 2300 movs r3, #0 + 8006570: 2300 movs r3, #0 } - 8005bee: 4618 mov r0, r3 - 8005bf0: 3710 adds r7, #16 - 8005bf2: 46bd mov sp, r7 - 8005bf4: bd80 pop {r7, pc} - 8005bf6: bf00 nop - 8005bf8: 08016298 .word 0x08016298 - 8005bfc: 080162c8 .word 0x080162c8 - 8005c00: 080162ec .word 0x080162ec + 8006572: 4618 mov r0, r3 + 8006574: 3710 adds r7, #16 + 8006576: 46bd mov sp, r7 + 8006578: bd80 pop {r7, pc} + 800657a: bf00 nop + 800657c: 08016c18 .word 0x08016c18 + 8006580: 08016c48 .word 0x08016c48 + 8006584: 08016c6c .word 0x08016c6c -08005c04 : +08006588 : #if !MEMP_OVERFLOW_CHECK memp_malloc_pool(const struct memp_desc *desc) #else memp_malloc_pool_fn(const struct memp_desc *desc, const char *file, const int line) #endif { - 8005c04: b580 push {r7, lr} - 8005c06: b082 sub sp, #8 - 8005c08: af00 add r7, sp, #0 - 8005c0a: 6078 str r0, [r7, #4] + 8006588: b580 push {r7, lr} + 800658a: b082 sub sp, #8 + 800658c: af00 add r7, sp, #0 + 800658e: 6078 str r0, [r7, #4] LWIP_ASSERT("invalid pool desc", desc != NULL); - 8005c0c: 687b ldr r3, [r7, #4] - 8005c0e: 2b00 cmp r3, #0 - 8005c10: d106 bne.n 8005c20 - 8005c12: 4b0a ldr r3, [pc, #40] @ (8005c3c ) - 8005c14: f44f 729e mov.w r2, #316 @ 0x13c - 8005c18: 4909 ldr r1, [pc, #36] @ (8005c40 ) - 8005c1a: 480a ldr r0, [pc, #40] @ (8005c44 ) - 8005c1c: f00b fcec bl 80115f8 + 8006590: 687b ldr r3, [r7, #4] + 8006592: 2b00 cmp r3, #0 + 8006594: d106 bne.n 80065a4 + 8006596: 4b0a ldr r3, [pc, #40] @ (80065c0 ) + 8006598: f44f 729e mov.w r2, #316 @ 0x13c + 800659c: 4909 ldr r1, [pc, #36] @ (80065c4 ) + 800659e: 480a ldr r0, [pc, #40] @ (80065c8 ) + 80065a0: f00b fcec bl 8011f7c if (desc == NULL) { - 8005c20: 687b ldr r3, [r7, #4] - 8005c22: 2b00 cmp r3, #0 - 8005c24: d101 bne.n 8005c2a + 80065a4: 687b ldr r3, [r7, #4] + 80065a6: 2b00 cmp r3, #0 + 80065a8: d101 bne.n 80065ae return NULL; - 8005c26: 2300 movs r3, #0 - 8005c28: e003 b.n 8005c32 + 80065aa: 2300 movs r3, #0 + 80065ac: e003 b.n 80065b6 } #if !MEMP_OVERFLOW_CHECK return do_memp_malloc_pool(desc); - 8005c2a: 6878 ldr r0, [r7, #4] - 8005c2c: f7ff ffc0 bl 8005bb0 - 8005c30: 4603 mov r3, r0 + 80065ae: 6878 ldr r0, [r7, #4] + 80065b0: f7ff ffc0 bl 8006534 + 80065b4: 4603 mov r3, r0 #else return do_memp_malloc_pool_fn(desc, file, line); #endif } - 8005c32: 4618 mov r0, r3 - 8005c34: 3708 adds r7, #8 - 8005c36: 46bd mov sp, r7 - 8005c38: bd80 pop {r7, pc} - 8005c3a: bf00 nop - 8005c3c: 08016298 .word 0x08016298 - 8005c40: 08016314 .word 0x08016314 - 8005c44: 080162ec .word 0x080162ec + 80065b6: 4618 mov r0, r3 + 80065b8: 3708 adds r7, #8 + 80065ba: 46bd mov sp, r7 + 80065bc: bd80 pop {r7, pc} + 80065be: bf00 nop + 80065c0: 08016c18 .word 0x08016c18 + 80065c4: 08016c94 .word 0x08016c94 + 80065c8: 08016c6c .word 0x08016c6c -08005c48 : +080065cc : #if !MEMP_OVERFLOW_CHECK memp_malloc(memp_t type) #else memp_malloc_fn(memp_t type, const char *file, const int line) #endif { - 8005c48: b580 push {r7, lr} - 8005c4a: b084 sub sp, #16 - 8005c4c: af00 add r7, sp, #0 - 8005c4e: 4603 mov r3, r0 - 8005c50: 71fb strb r3, [r7, #7] + 80065cc: b580 push {r7, lr} + 80065ce: b084 sub sp, #16 + 80065d0: af00 add r7, sp, #0 + 80065d2: 4603 mov r3, r0 + 80065d4: 71fb strb r3, [r7, #7] void *memp; LWIP_ERROR("memp_malloc: type < MEMP_MAX", (type < MEMP_MAX), return NULL;); - 8005c52: 79fb ldrb r3, [r7, #7] - 8005c54: 2b08 cmp r3, #8 - 8005c56: d908 bls.n 8005c6a - 8005c58: 4b0a ldr r3, [pc, #40] @ (8005c84 ) - 8005c5a: f240 1257 movw r2, #343 @ 0x157 - 8005c5e: 490a ldr r1, [pc, #40] @ (8005c88 ) - 8005c60: 480a ldr r0, [pc, #40] @ (8005c8c ) - 8005c62: f00b fcc9 bl 80115f8 - 8005c66: 2300 movs r3, #0 - 8005c68: e008 b.n 8005c7c + 80065d6: 79fb ldrb r3, [r7, #7] + 80065d8: 2b08 cmp r3, #8 + 80065da: d908 bls.n 80065ee + 80065dc: 4b0a ldr r3, [pc, #40] @ (8006608 ) + 80065de: f240 1257 movw r2, #343 @ 0x157 + 80065e2: 490a ldr r1, [pc, #40] @ (800660c ) + 80065e4: 480a ldr r0, [pc, #40] @ (8006610 ) + 80065e6: f00b fcc9 bl 8011f7c + 80065ea: 2300 movs r3, #0 + 80065ec: e008 b.n 8006600 #if MEMP_OVERFLOW_CHECK >= 2 memp_overflow_check_all(); #endif /* MEMP_OVERFLOW_CHECK >= 2 */ #if !MEMP_OVERFLOW_CHECK memp = do_memp_malloc_pool(memp_pools[type]); - 8005c6a: 79fb ldrb r3, [r7, #7] - 8005c6c: 4a08 ldr r2, [pc, #32] @ (8005c90 ) - 8005c6e: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8005c72: 4618 mov r0, r3 - 8005c74: f7ff ff9c bl 8005bb0 - 8005c78: 60f8 str r0, [r7, #12] + 80065ee: 79fb ldrb r3, [r7, #7] + 80065f0: 4a08 ldr r2, [pc, #32] @ (8006614 ) + 80065f2: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 80065f6: 4618 mov r0, r3 + 80065f8: f7ff ff9c bl 8006534 + 80065fc: 60f8 str r0, [r7, #12] #else memp = do_memp_malloc_pool_fn(memp_pools[type], file, line); #endif return memp; - 8005c7a: 68fb ldr r3, [r7, #12] + 80065fe: 68fb ldr r3, [r7, #12] } - 8005c7c: 4618 mov r0, r3 - 8005c7e: 3710 adds r7, #16 - 8005c80: 46bd mov sp, r7 - 8005c82: bd80 pop {r7, pc} - 8005c84: 08016298 .word 0x08016298 - 8005c88: 08016328 .word 0x08016328 - 8005c8c: 080162ec .word 0x080162ec - 8005c90: 08018e60 .word 0x08018e60 + 8006600: 4618 mov r0, r3 + 8006602: 3710 adds r7, #16 + 8006604: 46bd mov sp, r7 + 8006606: bd80 pop {r7, pc} + 8006608: 08016c18 .word 0x08016c18 + 800660c: 08016ca8 .word 0x08016ca8 + 8006610: 08016c6c .word 0x08016c6c + 8006614: 080197e0 .word 0x080197e0 -08005c94 : +08006618 : static void do_memp_free_pool(const struct memp_desc *desc, void *mem) { - 8005c94: b580 push {r7, lr} - 8005c96: b084 sub sp, #16 - 8005c98: af00 add r7, sp, #0 - 8005c9a: 6078 str r0, [r7, #4] - 8005c9c: 6039 str r1, [r7, #0] + 8006618: b580 push {r7, lr} + 800661a: b084 sub sp, #16 + 800661c: af00 add r7, sp, #0 + 800661e: 6078 str r0, [r7, #4] + 8006620: 6039 str r1, [r7, #0] struct memp *memp; SYS_ARCH_DECL_PROTECT(old_level); LWIP_ASSERT("memp_free: mem properly aligned", - 8005c9e: 683b ldr r3, [r7, #0] - 8005ca0: f003 0303 and.w r3, r3, #3 - 8005ca4: 2b00 cmp r3, #0 - 8005ca6: d006 beq.n 8005cb6 - 8005ca8: 4b0a ldr r3, [pc, #40] @ (8005cd4 ) - 8005caa: f44f 72b6 mov.w r2, #364 @ 0x16c - 8005cae: 490a ldr r1, [pc, #40] @ (8005cd8 ) - 8005cb0: 480a ldr r0, [pc, #40] @ (8005cdc ) - 8005cb2: f00b fca1 bl 80115f8 + 8006622: 683b ldr r3, [r7, #0] + 8006624: f003 0303 and.w r3, r3, #3 + 8006628: 2b00 cmp r3, #0 + 800662a: d006 beq.n 800663a + 800662c: 4b0a ldr r3, [pc, #40] @ (8006658 ) + 800662e: f44f 72b6 mov.w r2, #364 @ 0x16c + 8006632: 490a ldr r1, [pc, #40] @ (800665c ) + 8006634: 480a ldr r0, [pc, #40] @ (8006660 ) + 8006636: f00b fca1 bl 8011f7c ((mem_ptr_t)mem % MEM_ALIGNMENT) == 0); /* cast through void* to get rid of alignment warnings */ memp = (struct memp *)(void *)((u8_t *)mem - MEMP_SIZE); - 8005cb6: 683b ldr r3, [r7, #0] - 8005cb8: 60fb str r3, [r7, #12] + 800663a: 683b ldr r3, [r7, #0] + 800663c: 60fb str r3, [r7, #12] #if MEMP_MEM_MALLOC LWIP_UNUSED_ARG(desc); SYS_ARCH_UNPROTECT(old_level); mem_free(memp); #else /* MEMP_MEM_MALLOC */ memp->next = *desc->tab; - 8005cba: 687b ldr r3, [r7, #4] - 8005cbc: 689b ldr r3, [r3, #8] - 8005cbe: 681a ldr r2, [r3, #0] - 8005cc0: 68fb ldr r3, [r7, #12] - 8005cc2: 601a str r2, [r3, #0] + 800663e: 687b ldr r3, [r7, #4] + 8006640: 689b ldr r3, [r3, #8] + 8006642: 681a ldr r2, [r3, #0] + 8006644: 68fb ldr r3, [r7, #12] + 8006646: 601a str r2, [r3, #0] *desc->tab = memp; - 8005cc4: 687b ldr r3, [r7, #4] - 8005cc6: 689b ldr r3, [r3, #8] - 8005cc8: 68fa ldr r2, [r7, #12] - 8005cca: 601a str r2, [r3, #0] + 8006648: 687b ldr r3, [r7, #4] + 800664a: 689b ldr r3, [r3, #8] + 800664c: 68fa ldr r2, [r7, #12] + 800664e: 601a str r2, [r3, #0] LWIP_ASSERT("memp sanity", memp_sanity(desc)); #endif /* MEMP_SANITY_CHECK */ SYS_ARCH_UNPROTECT(old_level); #endif /* !MEMP_MEM_MALLOC */ } - 8005ccc: bf00 nop - 8005cce: 3710 adds r7, #16 - 8005cd0: 46bd mov sp, r7 - 8005cd2: bd80 pop {r7, pc} - 8005cd4: 08016298 .word 0x08016298 - 8005cd8: 08016348 .word 0x08016348 - 8005cdc: 080162ec .word 0x080162ec + 8006650: bf00 nop + 8006652: 3710 adds r7, #16 + 8006654: 46bd mov sp, r7 + 8006656: bd80 pop {r7, pc} + 8006658: 08016c18 .word 0x08016c18 + 800665c: 08016cc8 .word 0x08016cc8 + 8006660: 08016c6c .word 0x08016c6c -08005ce0 : +08006664 : * @param desc the pool where to put mem * @param mem the memp element to free */ void memp_free_pool(const struct memp_desc *desc, void *mem) { - 8005ce0: b580 push {r7, lr} - 8005ce2: b082 sub sp, #8 - 8005ce4: af00 add r7, sp, #0 - 8005ce6: 6078 str r0, [r7, #4] - 8005ce8: 6039 str r1, [r7, #0] + 8006664: b580 push {r7, lr} + 8006666: b082 sub sp, #8 + 8006668: af00 add r7, sp, #0 + 800666a: 6078 str r0, [r7, #4] + 800666c: 6039 str r1, [r7, #0] LWIP_ASSERT("invalid pool desc", desc != NULL); - 8005cea: 687b ldr r3, [r7, #4] - 8005cec: 2b00 cmp r3, #0 - 8005cee: d106 bne.n 8005cfe - 8005cf0: 4b0a ldr r3, [pc, #40] @ (8005d1c ) - 8005cf2: f240 1295 movw r2, #405 @ 0x195 - 8005cf6: 490a ldr r1, [pc, #40] @ (8005d20 ) - 8005cf8: 480a ldr r0, [pc, #40] @ (8005d24 ) - 8005cfa: f00b fc7d bl 80115f8 + 800666e: 687b ldr r3, [r7, #4] + 8006670: 2b00 cmp r3, #0 + 8006672: d106 bne.n 8006682 + 8006674: 4b0a ldr r3, [pc, #40] @ (80066a0 ) + 8006676: f240 1295 movw r2, #405 @ 0x195 + 800667a: 490a ldr r1, [pc, #40] @ (80066a4 ) + 800667c: 480a ldr r0, [pc, #40] @ (80066a8 ) + 800667e: f00b fc7d bl 8011f7c if ((desc == NULL) || (mem == NULL)) { - 8005cfe: 687b ldr r3, [r7, #4] - 8005d00: 2b00 cmp r3, #0 - 8005d02: d007 beq.n 8005d14 - 8005d04: 683b ldr r3, [r7, #0] - 8005d06: 2b00 cmp r3, #0 - 8005d08: d004 beq.n 8005d14 + 8006682: 687b ldr r3, [r7, #4] + 8006684: 2b00 cmp r3, #0 + 8006686: d007 beq.n 8006698 + 8006688: 683b ldr r3, [r7, #0] + 800668a: 2b00 cmp r3, #0 + 800668c: d004 beq.n 8006698 return; } do_memp_free_pool(desc, mem); - 8005d0a: 6839 ldr r1, [r7, #0] - 8005d0c: 6878 ldr r0, [r7, #4] - 8005d0e: f7ff ffc1 bl 8005c94 - 8005d12: e000 b.n 8005d16 + 800668e: 6839 ldr r1, [r7, #0] + 8006690: 6878 ldr r0, [r7, #4] + 8006692: f7ff ffc1 bl 8006618 + 8006696: e000 b.n 800669a return; - 8005d14: bf00 nop + 8006698: bf00 nop } - 8005d16: 3708 adds r7, #8 - 8005d18: 46bd mov sp, r7 - 8005d1a: bd80 pop {r7, pc} - 8005d1c: 08016298 .word 0x08016298 - 8005d20: 08016314 .word 0x08016314 - 8005d24: 080162ec .word 0x080162ec + 800669a: 3708 adds r7, #8 + 800669c: 46bd mov sp, r7 + 800669e: bd80 pop {r7, pc} + 80066a0: 08016c18 .word 0x08016c18 + 80066a4: 08016c94 .word 0x08016c94 + 80066a8: 08016c6c .word 0x08016c6c -08005d28 : +080066ac : * @param type the pool where to put mem * @param mem the memp element to free */ void memp_free(memp_t type, void *mem) { - 8005d28: b580 push {r7, lr} - 8005d2a: b082 sub sp, #8 - 8005d2c: af00 add r7, sp, #0 - 8005d2e: 4603 mov r3, r0 - 8005d30: 6039 str r1, [r7, #0] - 8005d32: 71fb strb r3, [r7, #7] + 80066ac: b580 push {r7, lr} + 80066ae: b082 sub sp, #8 + 80066b0: af00 add r7, sp, #0 + 80066b2: 4603 mov r3, r0 + 80066b4: 6039 str r1, [r7, #0] + 80066b6: 71fb strb r3, [r7, #7] #ifdef LWIP_HOOK_MEMP_AVAILABLE struct memp *old_first; #endif LWIP_ERROR("memp_free: type < MEMP_MAX", (type < MEMP_MAX), return;); - 8005d34: 79fb ldrb r3, [r7, #7] - 8005d36: 2b08 cmp r3, #8 - 8005d38: d907 bls.n 8005d4a - 8005d3a: 4b0c ldr r3, [pc, #48] @ (8005d6c ) - 8005d3c: f44f 72d5 mov.w r2, #426 @ 0x1aa - 8005d40: 490b ldr r1, [pc, #44] @ (8005d70 ) - 8005d42: 480c ldr r0, [pc, #48] @ (8005d74 ) - 8005d44: f00b fc58 bl 80115f8 - 8005d48: e00c b.n 8005d64 + 80066b8: 79fb ldrb r3, [r7, #7] + 80066ba: 2b08 cmp r3, #8 + 80066bc: d907 bls.n 80066ce + 80066be: 4b0c ldr r3, [pc, #48] @ (80066f0 ) + 80066c0: f44f 72d5 mov.w r2, #426 @ 0x1aa + 80066c4: 490b ldr r1, [pc, #44] @ (80066f4 ) + 80066c6: 480c ldr r0, [pc, #48] @ (80066f8 ) + 80066c8: f00b fc58 bl 8011f7c + 80066cc: e00c b.n 80066e8 if (mem == NULL) { - 8005d4a: 683b ldr r3, [r7, #0] - 8005d4c: 2b00 cmp r3, #0 - 8005d4e: d008 beq.n 8005d62 + 80066ce: 683b ldr r3, [r7, #0] + 80066d0: 2b00 cmp r3, #0 + 80066d2: d008 beq.n 80066e6 #ifdef LWIP_HOOK_MEMP_AVAILABLE old_first = *memp_pools[type]->tab; #endif do_memp_free_pool(memp_pools[type], mem); - 8005d50: 79fb ldrb r3, [r7, #7] - 8005d52: 4a09 ldr r2, [pc, #36] @ (8005d78 ) - 8005d54: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8005d58: 6839 ldr r1, [r7, #0] - 8005d5a: 4618 mov r0, r3 - 8005d5c: f7ff ff9a bl 8005c94 - 8005d60: e000 b.n 8005d64 + 80066d4: 79fb ldrb r3, [r7, #7] + 80066d6: 4a09 ldr r2, [pc, #36] @ (80066fc ) + 80066d8: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 80066dc: 6839 ldr r1, [r7, #0] + 80066de: 4618 mov r0, r3 + 80066e0: f7ff ff9a bl 8006618 + 80066e4: e000 b.n 80066e8 return; - 8005d62: bf00 nop + 80066e6: bf00 nop #ifdef LWIP_HOOK_MEMP_AVAILABLE if (old_first == NULL) { LWIP_HOOK_MEMP_AVAILABLE(type); } #endif } - 8005d64: 3708 adds r7, #8 - 8005d66: 46bd mov sp, r7 - 8005d68: bd80 pop {r7, pc} - 8005d6a: bf00 nop - 8005d6c: 08016298 .word 0x08016298 - 8005d70: 08016368 .word 0x08016368 - 8005d74: 080162ec .word 0x080162ec - 8005d78: 08018e60 .word 0x08018e60 + 80066e8: 3708 adds r7, #8 + 80066ea: 46bd mov sp, r7 + 80066ec: bd80 pop {r7, pc} + 80066ee: bf00 nop + 80066f0: 08016c18 .word 0x08016c18 + 80066f4: 08016ce8 .word 0x08016ce8 + 80066f8: 08016c6c .word 0x08016c6c + 80066fc: 080197e0 .word 0x080197e0 -08005d7c : +08006700 : } #endif /* LWIP_HAVE_LOOPIF */ void netif_init(void) { - 8005d7c: b480 push {r7} - 8005d7e: af00 add r7, sp, #0 + 8006700: b480 push {r7} + 8006702: af00 add r7, sp, #0 netif_set_link_up(&loop_netif); netif_set_up(&loop_netif); #endif /* LWIP_HAVE_LOOPIF */ } - 8005d80: bf00 nop - 8005d82: 46bd mov sp, r7 - 8005d84: f85d 7b04 ldr.w r7, [sp], #4 - 8005d88: 4770 bx lr + 8006704: bf00 nop + 8006706: 46bd mov sp, r7 + 8006708: f85d 7b04 ldr.w r7, [sp], #4 + 800670c: 4770 bx lr ... -08005d8c : +08006710 : netif_add(struct netif *netif, #if LWIP_IPV4 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, #endif /* LWIP_IPV4 */ void *state, netif_init_fn init, netif_input_fn input) { - 8005d8c: b580 push {r7, lr} - 8005d8e: b086 sub sp, #24 - 8005d90: af00 add r7, sp, #0 - 8005d92: 60f8 str r0, [r7, #12] - 8005d94: 60b9 str r1, [r7, #8] - 8005d96: 607a str r2, [r7, #4] - 8005d98: 603b str r3, [r7, #0] + 8006710: b580 push {r7, lr} + 8006712: b086 sub sp, #24 + 8006714: af00 add r7, sp, #0 + 8006716: 60f8 str r0, [r7, #12] + 8006718: 60b9 str r1, [r7, #8] + 800671a: 607a str r2, [r7, #4] + 800671c: 603b str r3, [r7, #0] LWIP_ASSERT("single netif already set", 0); return NULL; } #endif LWIP_ERROR("netif_add: invalid netif", netif != NULL, return NULL); - 8005d9a: 68fb ldr r3, [r7, #12] - 8005d9c: 2b00 cmp r3, #0 - 8005d9e: d108 bne.n 8005db2 - 8005da0: 4b5b ldr r3, [pc, #364] @ (8005f10 ) - 8005da2: f240 1227 movw r2, #295 @ 0x127 - 8005da6: 495b ldr r1, [pc, #364] @ (8005f14 ) - 8005da8: 485b ldr r0, [pc, #364] @ (8005f18 ) - 8005daa: f00b fc25 bl 80115f8 - 8005dae: 2300 movs r3, #0 - 8005db0: e0a9 b.n 8005f06 + 800671e: 68fb ldr r3, [r7, #12] + 8006720: 2b00 cmp r3, #0 + 8006722: d108 bne.n 8006736 + 8006724: 4b5b ldr r3, [pc, #364] @ (8006894 ) + 8006726: f240 1227 movw r2, #295 @ 0x127 + 800672a: 495b ldr r1, [pc, #364] @ (8006898 ) + 800672c: 485b ldr r0, [pc, #364] @ (800689c ) + 800672e: f00b fc25 bl 8011f7c + 8006732: 2300 movs r3, #0 + 8006734: e0a9 b.n 800688a LWIP_ERROR("netif_add: No init function given", init != NULL, return NULL); - 8005db2: 6a7b ldr r3, [r7, #36] @ 0x24 - 8005db4: 2b00 cmp r3, #0 - 8005db6: d108 bne.n 8005dca - 8005db8: 4b55 ldr r3, [pc, #340] @ (8005f10 ) - 8005dba: f44f 7294 mov.w r2, #296 @ 0x128 - 8005dbe: 4957 ldr r1, [pc, #348] @ (8005f1c ) - 8005dc0: 4855 ldr r0, [pc, #340] @ (8005f18 ) - 8005dc2: f00b fc19 bl 80115f8 - 8005dc6: 2300 movs r3, #0 - 8005dc8: e09d b.n 8005f06 + 8006736: 6a7b ldr r3, [r7, #36] @ 0x24 + 8006738: 2b00 cmp r3, #0 + 800673a: d108 bne.n 800674e + 800673c: 4b55 ldr r3, [pc, #340] @ (8006894 ) + 800673e: f44f 7294 mov.w r2, #296 @ 0x128 + 8006742: 4957 ldr r1, [pc, #348] @ (80068a0 ) + 8006744: 4855 ldr r0, [pc, #340] @ (800689c ) + 8006746: f00b fc19 bl 8011f7c + 800674a: 2300 movs r3, #0 + 800674c: e09d b.n 800688a #if LWIP_IPV4 if (ipaddr == NULL) { - 8005dca: 68bb ldr r3, [r7, #8] - 8005dcc: 2b00 cmp r3, #0 - 8005dce: d101 bne.n 8005dd4 + 800674e: 68bb ldr r3, [r7, #8] + 8006750: 2b00 cmp r3, #0 + 8006752: d101 bne.n 8006758 ipaddr = ip_2_ip4(IP4_ADDR_ANY); - 8005dd0: 4b53 ldr r3, [pc, #332] @ (8005f20 ) - 8005dd2: 60bb str r3, [r7, #8] + 8006754: 4b53 ldr r3, [pc, #332] @ (80068a4 ) + 8006756: 60bb str r3, [r7, #8] } if (netmask == NULL) { - 8005dd4: 687b ldr r3, [r7, #4] - 8005dd6: 2b00 cmp r3, #0 - 8005dd8: d101 bne.n 8005dde + 8006758: 687b ldr r3, [r7, #4] + 800675a: 2b00 cmp r3, #0 + 800675c: d101 bne.n 8006762 netmask = ip_2_ip4(IP4_ADDR_ANY); - 8005dda: 4b51 ldr r3, [pc, #324] @ (8005f20 ) - 8005ddc: 607b str r3, [r7, #4] + 800675e: 4b51 ldr r3, [pc, #324] @ (80068a4 ) + 8006760: 607b str r3, [r7, #4] } if (gw == NULL) { - 8005dde: 683b ldr r3, [r7, #0] - 8005de0: 2b00 cmp r3, #0 - 8005de2: d101 bne.n 8005de8 + 8006762: 683b ldr r3, [r7, #0] + 8006764: 2b00 cmp r3, #0 + 8006766: d101 bne.n 800676c gw = ip_2_ip4(IP4_ADDR_ANY); - 8005de4: 4b4e ldr r3, [pc, #312] @ (8005f20 ) - 8005de6: 603b str r3, [r7, #0] + 8006768: 4b4e ldr r3, [pc, #312] @ (80068a4 ) + 800676a: 603b str r3, [r7, #0] } /* reset new interface configuration state */ ip_addr_set_zero_ip4(&netif->ip_addr); - 8005de8: 68fb ldr r3, [r7, #12] - 8005dea: 2200 movs r2, #0 - 8005dec: 605a str r2, [r3, #4] + 800676c: 68fb ldr r3, [r7, #12] + 800676e: 2200 movs r2, #0 + 8006770: 605a str r2, [r3, #4] ip_addr_set_zero_ip4(&netif->netmask); - 8005dee: 68fb ldr r3, [r7, #12] - 8005df0: 2200 movs r2, #0 - 8005df2: 609a str r2, [r3, #8] + 8006772: 68fb ldr r3, [r7, #12] + 8006774: 2200 movs r2, #0 + 8006776: 609a str r2, [r3, #8] ip_addr_set_zero_ip4(&netif->gw); - 8005df4: 68fb ldr r3, [r7, #12] - 8005df6: 2200 movs r2, #0 - 8005df8: 60da str r2, [r3, #12] + 8006778: 68fb ldr r3, [r7, #12] + 800677a: 2200 movs r2, #0 + 800677c: 60da str r2, [r3, #12] netif->output = netif_null_output_ip4; - 8005dfa: 68fb ldr r3, [r7, #12] - 8005dfc: 4a49 ldr r2, [pc, #292] @ (8005f24 ) - 8005dfe: 615a str r2, [r3, #20] + 800677e: 68fb ldr r3, [r7, #12] + 8006780: 4a49 ldr r2, [pc, #292] @ (80068a8 ) + 8006782: 615a str r2, [r3, #20] #endif /* LWIP_IPV6_ADDRESS_LIFETIMES */ } netif->output_ip6 = netif_null_output_ip6; #endif /* LWIP_IPV6 */ NETIF_SET_CHECKSUM_CTRL(netif, NETIF_CHECKSUM_ENABLE_ALL); netif->mtu = 0; - 8005e00: 68fb ldr r3, [r7, #12] - 8005e02: 2200 movs r2, #0 - 8005e04: 851a strh r2, [r3, #40] @ 0x28 + 8006784: 68fb ldr r3, [r7, #12] + 8006786: 2200 movs r2, #0 + 8006788: 851a strh r2, [r3, #40] @ 0x28 netif->flags = 0; - 8005e06: 68fb ldr r3, [r7, #12] - 8005e08: 2200 movs r2, #0 - 8005e0a: f883 2031 strb.w r2, [r3, #49] @ 0x31 + 800678a: 68fb ldr r3, [r7, #12] + 800678c: 2200 movs r2, #0 + 800678e: f883 2031 strb.w r2, [r3, #49] @ 0x31 #ifdef netif_get_client_data memset(netif->client_data, 0, sizeof(netif->client_data)); - 8005e0e: 68fb ldr r3, [r7, #12] - 8005e10: 3324 adds r3, #36 @ 0x24 - 8005e12: 2204 movs r2, #4 - 8005e14: 2100 movs r1, #0 - 8005e16: 4618 mov r0, r3 - 8005e18: f00b fc6d bl 80116f6 + 8006792: 68fb ldr r3, [r7, #12] + 8006794: 3324 adds r3, #36 @ 0x24 + 8006796: 2204 movs r2, #4 + 8006798: 2100 movs r1, #0 + 800679a: 4618 mov r0, r3 + 800679c: f00b fc6d bl 801207a #endif /* LWIP_IPV6 */ #if LWIP_NETIF_STATUS_CALLBACK netif->status_callback = NULL; #endif /* LWIP_NETIF_STATUS_CALLBACK */ #if LWIP_NETIF_LINK_CALLBACK netif->link_callback = NULL; - 8005e1c: 68fb ldr r3, [r7, #12] - 8005e1e: 2200 movs r2, #0 - 8005e20: 61da str r2, [r3, #28] + 80067a0: 68fb ldr r3, [r7, #12] + 80067a2: 2200 movs r2, #0 + 80067a4: 61da str r2, [r3, #28] netif->loop_first = NULL; netif->loop_last = NULL; #endif /* ENABLE_LOOPBACK */ /* remember netif specific state information data */ netif->state = state; - 8005e22: 68fb ldr r3, [r7, #12] - 8005e24: 6a3a ldr r2, [r7, #32] - 8005e26: 621a str r2, [r3, #32] + 80067a6: 68fb ldr r3, [r7, #12] + 80067a8: 6a3a ldr r2, [r7, #32] + 80067aa: 621a str r2, [r3, #32] netif->num = netif_num; - 8005e28: 4b3f ldr r3, [pc, #252] @ (8005f28 ) - 8005e2a: 781a ldrb r2, [r3, #0] - 8005e2c: 68fb ldr r3, [r7, #12] - 8005e2e: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 80067ac: 4b3f ldr r3, [pc, #252] @ (80068ac ) + 80067ae: 781a ldrb r2, [r3, #0] + 80067b0: 68fb ldr r3, [r7, #12] + 80067b2: f883 2034 strb.w r2, [r3, #52] @ 0x34 netif->input = input; - 8005e32: 68fb ldr r3, [r7, #12] - 8005e34: 6aba ldr r2, [r7, #40] @ 0x28 - 8005e36: 611a str r2, [r3, #16] + 80067b6: 68fb ldr r3, [r7, #12] + 80067b8: 6aba ldr r2, [r7, #40] @ 0x28 + 80067ba: 611a str r2, [r3, #16] #if ENABLE_LOOPBACK && LWIP_LOOPBACK_MAX_PBUFS netif->loop_cnt_current = 0; #endif /* ENABLE_LOOPBACK && LWIP_LOOPBACK_MAX_PBUFS */ #if LWIP_IPV4 netif_set_addr(netif, ipaddr, netmask, gw); - 8005e38: 683b ldr r3, [r7, #0] - 8005e3a: 687a ldr r2, [r7, #4] - 8005e3c: 68b9 ldr r1, [r7, #8] - 8005e3e: 68f8 ldr r0, [r7, #12] - 8005e40: f000 f914 bl 800606c + 80067bc: 683b ldr r3, [r7, #0] + 80067be: 687a ldr r2, [r7, #4] + 80067c0: 68b9 ldr r1, [r7, #8] + 80067c2: 68f8 ldr r0, [r7, #12] + 80067c4: f000 f914 bl 80069f0 #endif /* LWIP_IPV4 */ /* call user specified initialization function for netif */ if (init(netif) != ERR_OK) { - 8005e44: 6a7b ldr r3, [r7, #36] @ 0x24 - 8005e46: 68f8 ldr r0, [r7, #12] - 8005e48: 4798 blx r3 - 8005e4a: 4603 mov r3, r0 - 8005e4c: 2b00 cmp r3, #0 - 8005e4e: d001 beq.n 8005e54 + 80067c8: 6a7b ldr r3, [r7, #36] @ 0x24 + 80067ca: 68f8 ldr r0, [r7, #12] + 80067cc: 4798 blx r3 + 80067ce: 4603 mov r3, r0 + 80067d0: 2b00 cmp r3, #0 + 80067d2: d001 beq.n 80067d8 return NULL; - 8005e50: 2300 movs r3, #0 - 8005e52: e058 b.n 8005f06 + 80067d4: 2300 movs r3, #0 + 80067d6: e058 b.n 800688a */ { struct netif *netif2; int num_netifs; do { if (netif->num == 255) { - 8005e54: 68fb ldr r3, [r7, #12] - 8005e56: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 8005e5a: 2bff cmp r3, #255 @ 0xff - 8005e5c: d103 bne.n 8005e66 + 80067d8: 68fb ldr r3, [r7, #12] + 80067da: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 80067de: 2bff cmp r3, #255 @ 0xff + 80067e0: d103 bne.n 80067ea netif->num = 0; - 8005e5e: 68fb ldr r3, [r7, #12] - 8005e60: 2200 movs r2, #0 - 8005e62: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 80067e2: 68fb ldr r3, [r7, #12] + 80067e4: 2200 movs r2, #0 + 80067e6: f883 2034 strb.w r2, [r3, #52] @ 0x34 } num_netifs = 0; - 8005e66: 2300 movs r3, #0 - 8005e68: 613b str r3, [r7, #16] + 80067ea: 2300 movs r3, #0 + 80067ec: 613b str r3, [r7, #16] for (netif2 = netif_list; netif2 != NULL; netif2 = netif2->next) { - 8005e6a: 4b30 ldr r3, [pc, #192] @ (8005f2c ) - 8005e6c: 681b ldr r3, [r3, #0] - 8005e6e: 617b str r3, [r7, #20] - 8005e70: e02b b.n 8005eca + 80067ee: 4b30 ldr r3, [pc, #192] @ (80068b0 ) + 80067f0: 681b ldr r3, [r3, #0] + 80067f2: 617b str r3, [r7, #20] + 80067f4: e02b b.n 800684e LWIP_ASSERT("netif already added", netif2 != netif); - 8005e72: 697a ldr r2, [r7, #20] - 8005e74: 68fb ldr r3, [r7, #12] - 8005e76: 429a cmp r2, r3 - 8005e78: d106 bne.n 8005e88 - 8005e7a: 4b25 ldr r3, [pc, #148] @ (8005f10 ) - 8005e7c: f240 128b movw r2, #395 @ 0x18b - 8005e80: 492b ldr r1, [pc, #172] @ (8005f30 ) - 8005e82: 4825 ldr r0, [pc, #148] @ (8005f18 ) - 8005e84: f00b fbb8 bl 80115f8 + 80067f6: 697a ldr r2, [r7, #20] + 80067f8: 68fb ldr r3, [r7, #12] + 80067fa: 429a cmp r2, r3 + 80067fc: d106 bne.n 800680c + 80067fe: 4b25 ldr r3, [pc, #148] @ (8006894 ) + 8006800: f240 128b movw r2, #395 @ 0x18b + 8006804: 492b ldr r1, [pc, #172] @ (80068b4 ) + 8006806: 4825 ldr r0, [pc, #148] @ (800689c ) + 8006808: f00b fbb8 bl 8011f7c num_netifs++; - 8005e88: 693b ldr r3, [r7, #16] - 8005e8a: 3301 adds r3, #1 - 8005e8c: 613b str r3, [r7, #16] + 800680c: 693b ldr r3, [r7, #16] + 800680e: 3301 adds r3, #1 + 8006810: 613b str r3, [r7, #16] LWIP_ASSERT("too many netifs, max. supported number is 255", num_netifs <= 255); - 8005e8e: 693b ldr r3, [r7, #16] - 8005e90: 2bff cmp r3, #255 @ 0xff - 8005e92: dd06 ble.n 8005ea2 - 8005e94: 4b1e ldr r3, [pc, #120] @ (8005f10 ) - 8005e96: f240 128d movw r2, #397 @ 0x18d - 8005e9a: 4926 ldr r1, [pc, #152] @ (8005f34 ) - 8005e9c: 481e ldr r0, [pc, #120] @ (8005f18 ) - 8005e9e: f00b fbab bl 80115f8 + 8006812: 693b ldr r3, [r7, #16] + 8006814: 2bff cmp r3, #255 @ 0xff + 8006816: dd06 ble.n 8006826 + 8006818: 4b1e ldr r3, [pc, #120] @ (8006894 ) + 800681a: f240 128d movw r2, #397 @ 0x18d + 800681e: 4926 ldr r1, [pc, #152] @ (80068b8 ) + 8006820: 481e ldr r0, [pc, #120] @ (800689c ) + 8006822: f00b fbab bl 8011f7c if (netif2->num == netif->num) { - 8005ea2: 697b ldr r3, [r7, #20] - 8005ea4: f893 2034 ldrb.w r2, [r3, #52] @ 0x34 - 8005ea8: 68fb ldr r3, [r7, #12] - 8005eaa: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 8005eae: 429a cmp r2, r3 - 8005eb0: d108 bne.n 8005ec4 + 8006826: 697b ldr r3, [r7, #20] + 8006828: f893 2034 ldrb.w r2, [r3, #52] @ 0x34 + 800682c: 68fb ldr r3, [r7, #12] + 800682e: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 8006832: 429a cmp r2, r3 + 8006834: d108 bne.n 8006848 netif->num++; - 8005eb2: 68fb ldr r3, [r7, #12] - 8005eb4: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 8005eb8: 3301 adds r3, #1 - 8005eba: b2da uxtb r2, r3 - 8005ebc: 68fb ldr r3, [r7, #12] - 8005ebe: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 8006836: 68fb ldr r3, [r7, #12] + 8006838: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 800683c: 3301 adds r3, #1 + 800683e: b2da uxtb r2, r3 + 8006840: 68fb ldr r3, [r7, #12] + 8006842: f883 2034 strb.w r2, [r3, #52] @ 0x34 break; - 8005ec2: e005 b.n 8005ed0 + 8006846: e005 b.n 8006854 for (netif2 = netif_list; netif2 != NULL; netif2 = netif2->next) { - 8005ec4: 697b ldr r3, [r7, #20] - 8005ec6: 681b ldr r3, [r3, #0] - 8005ec8: 617b str r3, [r7, #20] - 8005eca: 697b ldr r3, [r7, #20] - 8005ecc: 2b00 cmp r3, #0 - 8005ece: d1d0 bne.n 8005e72 + 8006848: 697b ldr r3, [r7, #20] + 800684a: 681b ldr r3, [r3, #0] + 800684c: 617b str r3, [r7, #20] + 800684e: 697b ldr r3, [r7, #20] + 8006850: 2b00 cmp r3, #0 + 8006852: d1d0 bne.n 80067f6 } } } while (netif2 != NULL); - 8005ed0: 697b ldr r3, [r7, #20] - 8005ed2: 2b00 cmp r3, #0 - 8005ed4: d1be bne.n 8005e54 + 8006854: 697b ldr r3, [r7, #20] + 8006856: 2b00 cmp r3, #0 + 8006858: d1be bne.n 80067d8 } if (netif->num == 254) { - 8005ed6: 68fb ldr r3, [r7, #12] - 8005ed8: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 8005edc: 2bfe cmp r3, #254 @ 0xfe - 8005ede: d103 bne.n 8005ee8 + 800685a: 68fb ldr r3, [r7, #12] + 800685c: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 8006860: 2bfe cmp r3, #254 @ 0xfe + 8006862: d103 bne.n 800686c netif_num = 0; - 8005ee0: 4b11 ldr r3, [pc, #68] @ (8005f28 ) - 8005ee2: 2200 movs r2, #0 - 8005ee4: 701a strb r2, [r3, #0] - 8005ee6: e006 b.n 8005ef6 + 8006864: 4b11 ldr r3, [pc, #68] @ (80068ac ) + 8006866: 2200 movs r2, #0 + 8006868: 701a strb r2, [r3, #0] + 800686a: e006 b.n 800687a } else { netif_num = (u8_t)(netif->num + 1); - 8005ee8: 68fb ldr r3, [r7, #12] - 8005eea: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 8005eee: 3301 adds r3, #1 - 8005ef0: b2da uxtb r2, r3 - 8005ef2: 4b0d ldr r3, [pc, #52] @ (8005f28 ) - 8005ef4: 701a strb r2, [r3, #0] + 800686c: 68fb ldr r3, [r7, #12] + 800686e: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 8006872: 3301 adds r3, #1 + 8006874: b2da uxtb r2, r3 + 8006876: 4b0d ldr r3, [pc, #52] @ (80068ac ) + 8006878: 701a strb r2, [r3, #0] } /* add this netif to the list */ netif->next = netif_list; - 8005ef6: 4b0d ldr r3, [pc, #52] @ (8005f2c ) - 8005ef8: 681a ldr r2, [r3, #0] - 8005efa: 68fb ldr r3, [r7, #12] - 8005efc: 601a str r2, [r3, #0] + 800687a: 4b0d ldr r3, [pc, #52] @ (80068b0 ) + 800687c: 681a ldr r2, [r3, #0] + 800687e: 68fb ldr r3, [r7, #12] + 8006880: 601a str r2, [r3, #0] netif_list = netif; - 8005efe: 4a0b ldr r2, [pc, #44] @ (8005f2c ) - 8005f00: 68fb ldr r3, [r7, #12] - 8005f02: 6013 str r3, [r2, #0] + 8006882: 4a0b ldr r2, [pc, #44] @ (80068b0 ) + 8006884: 68fb ldr r3, [r7, #12] + 8006886: 6013 str r3, [r2, #0] #endif /* LWIP_IPV4 */ LWIP_DEBUGF(NETIF_DEBUG, ("\n")); netif_invoke_ext_callback(netif, LWIP_NSC_NETIF_ADDED, NULL); return netif; - 8005f04: 68fb ldr r3, [r7, #12] + 8006888: 68fb ldr r3, [r7, #12] } - 8005f06: 4618 mov r0, r3 - 8005f08: 3718 adds r7, #24 - 8005f0a: 46bd mov sp, r7 - 8005f0c: bd80 pop {r7, pc} - 8005f0e: bf00 nop - 8005f10: 08016384 .word 0x08016384 - 8005f14: 08016418 .word 0x08016418 - 8005f18: 080163d4 .word 0x080163d4 - 8005f1c: 08016434 .word 0x08016434 - 8005f20: 08018ed4 .word 0x08018ed4 - 8005f24: 0800634f .word 0x0800634f - 8005f28: 200190a0 .word 0x200190a0 - 8005f2c: 20019098 .word 0x20019098 - 8005f30: 08016458 .word 0x08016458 - 8005f34: 0801646c .word 0x0801646c + 800688a: 4618 mov r0, r3 + 800688c: 3718 adds r7, #24 + 800688e: 46bd mov sp, r7 + 8006890: bd80 pop {r7, pc} + 8006892: bf00 nop + 8006894: 08016d04 .word 0x08016d04 + 8006898: 08016d98 .word 0x08016d98 + 800689c: 08016d54 .word 0x08016d54 + 80068a0: 08016db4 .word 0x08016db4 + 80068a4: 08019854 .word 0x08019854 + 80068a8: 08006cd3 .word 0x08006cd3 + 80068ac: 200190d4 .word 0x200190d4 + 80068b0: 200190cc .word 0x200190cc + 80068b4: 08016dd8 .word 0x08016dd8 + 80068b8: 08016dec .word 0x08016dec -08005f38 : +080068bc : static void netif_do_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) { - 8005f38: b580 push {r7, lr} - 8005f3a: b082 sub sp, #8 - 8005f3c: af00 add r7, sp, #0 - 8005f3e: 6078 str r0, [r7, #4] - 8005f40: 6039 str r1, [r7, #0] + 80068bc: b580 push {r7, lr} + 80068be: b082 sub sp, #8 + 80068c0: af00 add r7, sp, #0 + 80068c2: 6078 str r0, [r7, #4] + 80068c4: 6039 str r1, [r7, #0] #if LWIP_TCP tcp_netif_ip_addr_changed(old_addr, new_addr); - 8005f42: 6839 ldr r1, [r7, #0] - 8005f44: 6878 ldr r0, [r7, #4] - 8005f46: f002 fb57 bl 80085f8 + 80068c6: 6839 ldr r1, [r7, #0] + 80068c8: 6878 ldr r0, [r7, #4] + 80068ca: f002 fb57 bl 8008f7c #endif /* LWIP_TCP */ #if LWIP_UDP udp_netif_ip_addr_changed(old_addr, new_addr); - 8005f4a: 6839 ldr r1, [r7, #0] - 8005f4c: 6878 ldr r0, [r7, #4] - 8005f4e: f006 ff93 bl 800ce78 + 80068ce: 6839 ldr r1, [r7, #0] + 80068d0: 6878 ldr r0, [r7, #4] + 80068d2: f006 ff93 bl 800d7fc #endif /* LWIP_UDP */ #if LWIP_RAW raw_netif_ip_addr_changed(old_addr, new_addr); #endif /* LWIP_RAW */ } - 8005f52: bf00 nop - 8005f54: 3708 adds r7, #8 - 8005f56: 46bd mov sp, r7 - 8005f58: bd80 pop {r7, pc} + 80068d6: bf00 nop + 80068d8: 3708 adds r7, #8 + 80068da: 46bd mov sp, r7 + 80068dc: bd80 pop {r7, pc} ... -08005f5c : +080068e0 : #if LWIP_IPV4 static int netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr) { - 8005f5c: b580 push {r7, lr} - 8005f5e: b086 sub sp, #24 - 8005f60: af00 add r7, sp, #0 - 8005f62: 60f8 str r0, [r7, #12] - 8005f64: 60b9 str r1, [r7, #8] - 8005f66: 607a str r2, [r7, #4] + 80068e0: b580 push {r7, lr} + 80068e2: b086 sub sp, #24 + 80068e4: af00 add r7, sp, #0 + 80068e6: 60f8 str r0, [r7, #12] + 80068e8: 60b9 str r1, [r7, #8] + 80068ea: 607a str r2, [r7, #4] LWIP_ASSERT("invalid pointer", ipaddr != NULL); - 8005f68: 68bb ldr r3, [r7, #8] - 8005f6a: 2b00 cmp r3, #0 - 8005f6c: d106 bne.n 8005f7c - 8005f6e: 4b1d ldr r3, [pc, #116] @ (8005fe4 ) - 8005f70: f240 12cb movw r2, #459 @ 0x1cb - 8005f74: 491c ldr r1, [pc, #112] @ (8005fe8 ) - 8005f76: 481d ldr r0, [pc, #116] @ (8005fec ) - 8005f78: f00b fb3e bl 80115f8 + 80068ec: 68bb ldr r3, [r7, #8] + 80068ee: 2b00 cmp r3, #0 + 80068f0: d106 bne.n 8006900 + 80068f2: 4b1d ldr r3, [pc, #116] @ (8006968 ) + 80068f4: f240 12cb movw r2, #459 @ 0x1cb + 80068f8: 491c ldr r1, [pc, #112] @ (800696c ) + 80068fa: 481d ldr r0, [pc, #116] @ (8006970 ) + 80068fc: f00b fb3e bl 8011f7c LWIP_ASSERT("invalid pointer", old_addr != NULL); - 8005f7c: 687b ldr r3, [r7, #4] - 8005f7e: 2b00 cmp r3, #0 - 8005f80: d106 bne.n 8005f90 - 8005f82: 4b18 ldr r3, [pc, #96] @ (8005fe4 ) - 8005f84: f44f 72e6 mov.w r2, #460 @ 0x1cc - 8005f88: 4917 ldr r1, [pc, #92] @ (8005fe8 ) - 8005f8a: 4818 ldr r0, [pc, #96] @ (8005fec ) - 8005f8c: f00b fb34 bl 80115f8 + 8006900: 687b ldr r3, [r7, #4] + 8006902: 2b00 cmp r3, #0 + 8006904: d106 bne.n 8006914 + 8006906: 4b18 ldr r3, [pc, #96] @ (8006968 ) + 8006908: f44f 72e6 mov.w r2, #460 @ 0x1cc + 800690c: 4917 ldr r1, [pc, #92] @ (800696c ) + 800690e: 4818 ldr r0, [pc, #96] @ (8006970 ) + 8006910: f00b fb34 bl 8011f7c /* address is actually being changed? */ if (ip4_addr_cmp(ipaddr, netif_ip4_addr(netif)) == 0) { - 8005f90: 68bb ldr r3, [r7, #8] - 8005f92: 681a ldr r2, [r3, #0] - 8005f94: 68fb ldr r3, [r7, #12] - 8005f96: 3304 adds r3, #4 - 8005f98: 681b ldr r3, [r3, #0] - 8005f9a: 429a cmp r2, r3 - 8005f9c: d01c beq.n 8005fd8 + 8006914: 68bb ldr r3, [r7, #8] + 8006916: 681a ldr r2, [r3, #0] + 8006918: 68fb ldr r3, [r7, #12] + 800691a: 3304 adds r3, #4 + 800691c: 681b ldr r3, [r3, #0] + 800691e: 429a cmp r2, r3 + 8006920: d01c beq.n 800695c ip_addr_t new_addr; *ip_2_ip4(&new_addr) = *ipaddr; - 8005f9e: 68bb ldr r3, [r7, #8] - 8005fa0: 681b ldr r3, [r3, #0] - 8005fa2: 617b str r3, [r7, #20] + 8006922: 68bb ldr r3, [r7, #8] + 8006924: 681b ldr r3, [r3, #0] + 8006926: 617b str r3, [r7, #20] IP_SET_TYPE_VAL(new_addr, IPADDR_TYPE_V4); ip_addr_copy(*old_addr, *netif_ip_addr4(netif)); - 8005fa4: 68fb ldr r3, [r7, #12] - 8005fa6: 3304 adds r3, #4 - 8005fa8: 681a ldr r2, [r3, #0] - 8005faa: 687b ldr r3, [r7, #4] - 8005fac: 601a str r2, [r3, #0] + 8006928: 68fb ldr r3, [r7, #12] + 800692a: 3304 adds r3, #4 + 800692c: 681a ldr r2, [r3, #0] + 800692e: 687b ldr r3, [r7, #4] + 8006930: 601a str r2, [r3, #0] LWIP_DEBUGF(NETIF_DEBUG | LWIP_DBG_STATE, ("netif_set_ipaddr: netif address being changed\n")); netif_do_ip_addr_changed(old_addr, &new_addr); - 8005fae: f107 0314 add.w r3, r7, #20 - 8005fb2: 4619 mov r1, r3 - 8005fb4: 6878 ldr r0, [r7, #4] - 8005fb6: f7ff ffbf bl 8005f38 + 8006932: f107 0314 add.w r3, r7, #20 + 8006936: 4619 mov r1, r3 + 8006938: 6878 ldr r0, [r7, #4] + 800693a: f7ff ffbf bl 80068bc mib2_remove_ip4(netif); mib2_remove_route_ip4(0, netif); /* set new IP address to netif */ ip4_addr_set(ip_2_ip4(&netif->ip_addr), ipaddr); - 8005fba: 68bb ldr r3, [r7, #8] - 8005fbc: 2b00 cmp r3, #0 - 8005fbe: d002 beq.n 8005fc6 - 8005fc0: 68bb ldr r3, [r7, #8] - 8005fc2: 681b ldr r3, [r3, #0] - 8005fc4: e000 b.n 8005fc8 - 8005fc6: 2300 movs r3, #0 - 8005fc8: 68fa ldr r2, [r7, #12] - 8005fca: 6053 str r3, [r2, #4] + 800693e: 68bb ldr r3, [r7, #8] + 8006940: 2b00 cmp r3, #0 + 8006942: d002 beq.n 800694a + 8006944: 68bb ldr r3, [r7, #8] + 8006946: 681b ldr r3, [r3, #0] + 8006948: e000 b.n 800694c + 800694a: 2300 movs r3, #0 + 800694c: 68fa ldr r2, [r7, #12] + 800694e: 6053 str r3, [r2, #4] IP_SET_TYPE_VAL(netif->ip_addr, IPADDR_TYPE_V4); mib2_add_ip4(netif); mib2_add_route_ip4(0, netif); netif_issue_reports(netif, NETIF_REPORT_TYPE_IPV4); - 8005fcc: 2101 movs r1, #1 - 8005fce: 68f8 ldr r0, [r7, #12] - 8005fd0: f000 f8d2 bl 8006178 + 8006950: 2101 movs r1, #1 + 8006952: 68f8 ldr r0, [r7, #12] + 8006954: f000 f8d2 bl 8006afc NETIF_STATUS_CALLBACK(netif); return 1; /* address changed */ - 8005fd4: 2301 movs r3, #1 - 8005fd6: e000 b.n 8005fda + 8006958: 2301 movs r3, #1 + 800695a: e000 b.n 800695e } return 0; /* address unchanged */ - 8005fd8: 2300 movs r3, #0 + 800695c: 2300 movs r3, #0 } - 8005fda: 4618 mov r0, r3 - 8005fdc: 3718 adds r7, #24 - 8005fde: 46bd mov sp, r7 - 8005fe0: bd80 pop {r7, pc} - 8005fe2: bf00 nop - 8005fe4: 08016384 .word 0x08016384 - 8005fe8: 0801649c .word 0x0801649c - 8005fec: 080163d4 .word 0x080163d4 + 800695e: 4618 mov r0, r3 + 8006960: 3718 adds r7, #24 + 8006962: 46bd mov sp, r7 + 8006964: bd80 pop {r7, pc} + 8006966: bf00 nop + 8006968: 08016d04 .word 0x08016d04 + 800696c: 08016e1c .word 0x08016e1c + 8006970: 08016d54 .word 0x08016d54 -08005ff0 : +08006974 : } } static int netif_do_set_netmask(struct netif *netif, const ip4_addr_t *netmask, ip_addr_t *old_nm) { - 8005ff0: b480 push {r7} - 8005ff2: b085 sub sp, #20 - 8005ff4: af00 add r7, sp, #0 - 8005ff6: 60f8 str r0, [r7, #12] - 8005ff8: 60b9 str r1, [r7, #8] - 8005ffa: 607a str r2, [r7, #4] + 8006974: b480 push {r7} + 8006976: b085 sub sp, #20 + 8006978: af00 add r7, sp, #0 + 800697a: 60f8 str r0, [r7, #12] + 800697c: 60b9 str r1, [r7, #8] + 800697e: 607a str r2, [r7, #4] /* address is actually being changed? */ if (ip4_addr_cmp(netmask, netif_ip4_netmask(netif)) == 0) { - 8005ffc: 68bb ldr r3, [r7, #8] - 8005ffe: 681a ldr r2, [r3, #0] - 8006000: 68fb ldr r3, [r7, #12] - 8006002: 3308 adds r3, #8 - 8006004: 681b ldr r3, [r3, #0] - 8006006: 429a cmp r2, r3 - 8006008: d00a beq.n 8006020 + 8006980: 68bb ldr r3, [r7, #8] + 8006982: 681a ldr r2, [r3, #0] + 8006984: 68fb ldr r3, [r7, #12] + 8006986: 3308 adds r3, #8 + 8006988: 681b ldr r3, [r3, #0] + 800698a: 429a cmp r2, r3 + 800698c: d00a beq.n 80069a4 #else LWIP_UNUSED_ARG(old_nm); #endif mib2_remove_route_ip4(0, netif); /* set new netmask to netif */ ip4_addr_set(ip_2_ip4(&netif->netmask), netmask); - 800600a: 68bb ldr r3, [r7, #8] - 800600c: 2b00 cmp r3, #0 - 800600e: d002 beq.n 8006016 - 8006010: 68bb ldr r3, [r7, #8] - 8006012: 681b ldr r3, [r3, #0] - 8006014: e000 b.n 8006018 - 8006016: 2300 movs r3, #0 - 8006018: 68fa ldr r2, [r7, #12] - 800601a: 6093 str r3, [r2, #8] + 800698e: 68bb ldr r3, [r7, #8] + 8006990: 2b00 cmp r3, #0 + 8006992: d002 beq.n 800699a + 8006994: 68bb ldr r3, [r7, #8] + 8006996: 681b ldr r3, [r3, #0] + 8006998: e000 b.n 800699c + 800699a: 2300 movs r3, #0 + 800699c: 68fa ldr r2, [r7, #12] + 800699e: 6093 str r3, [r2, #8] netif->name[0], netif->name[1], ip4_addr1_16(netif_ip4_netmask(netif)), ip4_addr2_16(netif_ip4_netmask(netif)), ip4_addr3_16(netif_ip4_netmask(netif)), ip4_addr4_16(netif_ip4_netmask(netif)))); return 1; /* netmask changed */ - 800601c: 2301 movs r3, #1 - 800601e: e000 b.n 8006022 + 80069a0: 2301 movs r3, #1 + 80069a2: e000 b.n 80069a6 } return 0; /* netmask unchanged */ - 8006020: 2300 movs r3, #0 + 80069a4: 2300 movs r3, #0 } - 8006022: 4618 mov r0, r3 - 8006024: 3714 adds r7, #20 - 8006026: 46bd mov sp, r7 - 8006028: f85d 7b04 ldr.w r7, [sp], #4 - 800602c: 4770 bx lr + 80069a6: 4618 mov r0, r3 + 80069a8: 3714 adds r7, #20 + 80069aa: 46bd mov sp, r7 + 80069ac: f85d 7b04 ldr.w r7, [sp], #4 + 80069b0: 4770 bx lr -0800602e : +080069b2 : } } static int netif_do_set_gw(struct netif *netif, const ip4_addr_t *gw, ip_addr_t *old_gw) { - 800602e: b480 push {r7} - 8006030: b085 sub sp, #20 - 8006032: af00 add r7, sp, #0 - 8006034: 60f8 str r0, [r7, #12] - 8006036: 60b9 str r1, [r7, #8] - 8006038: 607a str r2, [r7, #4] + 80069b2: b480 push {r7} + 80069b4: b085 sub sp, #20 + 80069b6: af00 add r7, sp, #0 + 80069b8: 60f8 str r0, [r7, #12] + 80069ba: 60b9 str r1, [r7, #8] + 80069bc: 607a str r2, [r7, #4] /* address is actually being changed? */ if (ip4_addr_cmp(gw, netif_ip4_gw(netif)) == 0) { - 800603a: 68bb ldr r3, [r7, #8] - 800603c: 681a ldr r2, [r3, #0] - 800603e: 68fb ldr r3, [r7, #12] - 8006040: 330c adds r3, #12 - 8006042: 681b ldr r3, [r3, #0] - 8006044: 429a cmp r2, r3 - 8006046: d00a beq.n 800605e + 80069be: 68bb ldr r3, [r7, #8] + 80069c0: 681a ldr r2, [r3, #0] + 80069c2: 68fb ldr r3, [r7, #12] + 80069c4: 330c adds r3, #12 + 80069c6: 681b ldr r3, [r3, #0] + 80069c8: 429a cmp r2, r3 + 80069ca: d00a beq.n 80069e2 ip_addr_copy(*old_gw, *netif_ip_gw4(netif)); #else LWIP_UNUSED_ARG(old_gw); #endif ip4_addr_set(ip_2_ip4(&netif->gw), gw); - 8006048: 68bb ldr r3, [r7, #8] - 800604a: 2b00 cmp r3, #0 - 800604c: d002 beq.n 8006054 - 800604e: 68bb ldr r3, [r7, #8] - 8006050: 681b ldr r3, [r3, #0] - 8006052: e000 b.n 8006056 - 8006054: 2300 movs r3, #0 - 8006056: 68fa ldr r2, [r7, #12] - 8006058: 60d3 str r3, [r2, #12] + 80069cc: 68bb ldr r3, [r7, #8] + 80069ce: 2b00 cmp r3, #0 + 80069d0: d002 beq.n 80069d8 + 80069d2: 68bb ldr r3, [r7, #8] + 80069d4: 681b ldr r3, [r3, #0] + 80069d6: e000 b.n 80069da + 80069d8: 2300 movs r3, #0 + 80069da: 68fa ldr r2, [r7, #12] + 80069dc: 60d3 str r3, [r2, #12] netif->name[0], netif->name[1], ip4_addr1_16(netif_ip4_gw(netif)), ip4_addr2_16(netif_ip4_gw(netif)), ip4_addr3_16(netif_ip4_gw(netif)), ip4_addr4_16(netif_ip4_gw(netif)))); return 1; /* gateway changed */ - 800605a: 2301 movs r3, #1 - 800605c: e000 b.n 8006060 + 80069de: 2301 movs r3, #1 + 80069e0: e000 b.n 80069e4 } return 0; /* gateway unchanged */ - 800605e: 2300 movs r3, #0 + 80069e2: 2300 movs r3, #0 } - 8006060: 4618 mov r0, r3 - 8006062: 3714 adds r7, #20 - 8006064: 46bd mov sp, r7 - 8006066: f85d 7b04 ldr.w r7, [sp], #4 - 800606a: 4770 bx lr + 80069e4: 4618 mov r0, r3 + 80069e6: 3714 adds r7, #20 + 80069e8: 46bd mov sp, r7 + 80069ea: f85d 7b04 ldr.w r7, [sp], #4 + 80069ee: 4770 bx lr -0800606c : +080069f0 : * @param gw the new default gateway */ void netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw) { - 800606c: b580 push {r7, lr} - 800606e: b088 sub sp, #32 - 8006070: af00 add r7, sp, #0 - 8006072: 60f8 str r0, [r7, #12] - 8006074: 60b9 str r1, [r7, #8] - 8006076: 607a str r2, [r7, #4] - 8006078: 603b str r3, [r7, #0] + 80069f0: b580 push {r7, lr} + 80069f2: b088 sub sp, #32 + 80069f4: af00 add r7, sp, #0 + 80069f6: 60f8 str r0, [r7, #12] + 80069f8: 60b9 str r1, [r7, #8] + 80069fa: 607a str r2, [r7, #4] + 80069fc: 603b str r3, [r7, #0] ip_addr_t old_nm_val; ip_addr_t old_gw_val; ip_addr_t *old_nm = &old_nm_val; ip_addr_t *old_gw = &old_gw_val; #else ip_addr_t *old_nm = NULL; - 800607a: 2300 movs r3, #0 - 800607c: 61fb str r3, [r7, #28] + 80069fe: 2300 movs r3, #0 + 8006a00: 61fb str r3, [r7, #28] ip_addr_t *old_gw = NULL; - 800607e: 2300 movs r3, #0 - 8006080: 61bb str r3, [r7, #24] + 8006a02: 2300 movs r3, #0 + 8006a04: 61bb str r3, [r7, #24] int remove; LWIP_ASSERT_CORE_LOCKED(); /* Don't propagate NULL pointer (IPv4 ANY) to subsequent functions */ if (ipaddr == NULL) { - 8006082: 68bb ldr r3, [r7, #8] - 8006084: 2b00 cmp r3, #0 - 8006086: d101 bne.n 800608c + 8006a06: 68bb ldr r3, [r7, #8] + 8006a08: 2b00 cmp r3, #0 + 8006a0a: d101 bne.n 8006a10 ipaddr = IP4_ADDR_ANY4; - 8006088: 4b1c ldr r3, [pc, #112] @ (80060fc ) - 800608a: 60bb str r3, [r7, #8] + 8006a0c: 4b1c ldr r3, [pc, #112] @ (8006a80 ) + 8006a0e: 60bb str r3, [r7, #8] } if (netmask == NULL) { - 800608c: 687b ldr r3, [r7, #4] - 800608e: 2b00 cmp r3, #0 - 8006090: d101 bne.n 8006096 + 8006a10: 687b ldr r3, [r7, #4] + 8006a12: 2b00 cmp r3, #0 + 8006a14: d101 bne.n 8006a1a netmask = IP4_ADDR_ANY4; - 8006092: 4b1a ldr r3, [pc, #104] @ (80060fc ) - 8006094: 607b str r3, [r7, #4] + 8006a16: 4b1a ldr r3, [pc, #104] @ (8006a80 ) + 8006a18: 607b str r3, [r7, #4] } if (gw == NULL) { - 8006096: 683b ldr r3, [r7, #0] - 8006098: 2b00 cmp r3, #0 - 800609a: d101 bne.n 80060a0 + 8006a1a: 683b ldr r3, [r7, #0] + 8006a1c: 2b00 cmp r3, #0 + 8006a1e: d101 bne.n 8006a24 gw = IP4_ADDR_ANY4; - 800609c: 4b17 ldr r3, [pc, #92] @ (80060fc ) - 800609e: 603b str r3, [r7, #0] + 8006a20: 4b17 ldr r3, [pc, #92] @ (8006a80 ) + 8006a22: 603b str r3, [r7, #0] } remove = ip4_addr_isany(ipaddr); - 80060a0: 68bb ldr r3, [r7, #8] - 80060a2: 2b00 cmp r3, #0 - 80060a4: d003 beq.n 80060ae - 80060a6: 68bb ldr r3, [r7, #8] - 80060a8: 681b ldr r3, [r3, #0] - 80060aa: 2b00 cmp r3, #0 - 80060ac: d101 bne.n 80060b2 - 80060ae: 2301 movs r3, #1 - 80060b0: e000 b.n 80060b4 - 80060b2: 2300 movs r3, #0 - 80060b4: 617b str r3, [r7, #20] + 8006a24: 68bb ldr r3, [r7, #8] + 8006a26: 2b00 cmp r3, #0 + 8006a28: d003 beq.n 8006a32 + 8006a2a: 68bb ldr r3, [r7, #8] + 8006a2c: 681b ldr r3, [r3, #0] + 8006a2e: 2b00 cmp r3, #0 + 8006a30: d101 bne.n 8006a36 + 8006a32: 2301 movs r3, #1 + 8006a34: e000 b.n 8006a38 + 8006a36: 2300 movs r3, #0 + 8006a38: 617b str r3, [r7, #20] if (remove) { - 80060b6: 697b ldr r3, [r7, #20] - 80060b8: 2b00 cmp r3, #0 - 80060ba: d006 beq.n 80060ca + 8006a3a: 697b ldr r3, [r7, #20] + 8006a3c: 2b00 cmp r3, #0 + 8006a3e: d006 beq.n 8006a4e /* when removing an address, we have to remove it *before* changing netmask/gw to ensure that tcp RST segment can be sent correctly */ if (netif_do_set_ipaddr(netif, ipaddr, &old_addr)) { - 80060bc: f107 0310 add.w r3, r7, #16 - 80060c0: 461a mov r2, r3 - 80060c2: 68b9 ldr r1, [r7, #8] - 80060c4: 68f8 ldr r0, [r7, #12] - 80060c6: f7ff ff49 bl 8005f5c + 8006a40: f107 0310 add.w r3, r7, #16 + 8006a44: 461a mov r2, r3 + 8006a46: 68b9 ldr r1, [r7, #8] + 8006a48: 68f8 ldr r0, [r7, #12] + 8006a4a: f7ff ff49 bl 80068e0 change_reason |= LWIP_NSC_IPV4_ADDRESS_CHANGED; cb_args.ipv4_changed.old_address = &old_addr; #endif } } if (netif_do_set_netmask(netif, netmask, old_nm)) { - 80060ca: 69fa ldr r2, [r7, #28] - 80060cc: 6879 ldr r1, [r7, #4] - 80060ce: 68f8 ldr r0, [r7, #12] - 80060d0: f7ff ff8e bl 8005ff0 + 8006a4e: 69fa ldr r2, [r7, #28] + 8006a50: 6879 ldr r1, [r7, #4] + 8006a52: 68f8 ldr r0, [r7, #12] + 8006a54: f7ff ff8e bl 8006974 #if LWIP_NETIF_EXT_STATUS_CALLBACK change_reason |= LWIP_NSC_IPV4_NETMASK_CHANGED; cb_args.ipv4_changed.old_netmask = old_nm; #endif } if (netif_do_set_gw(netif, gw, old_gw)) { - 80060d4: 69ba ldr r2, [r7, #24] - 80060d6: 6839 ldr r1, [r7, #0] - 80060d8: 68f8 ldr r0, [r7, #12] - 80060da: f7ff ffa8 bl 800602e + 8006a58: 69ba ldr r2, [r7, #24] + 8006a5a: 6839 ldr r1, [r7, #0] + 8006a5c: 68f8 ldr r0, [r7, #12] + 8006a5e: f7ff ffa8 bl 80069b2 #if LWIP_NETIF_EXT_STATUS_CALLBACK change_reason |= LWIP_NSC_IPV4_GATEWAY_CHANGED; cb_args.ipv4_changed.old_gw = old_gw; #endif } if (!remove) { - 80060de: 697b ldr r3, [r7, #20] - 80060e0: 2b00 cmp r3, #0 - 80060e2: d106 bne.n 80060f2 + 8006a62: 697b ldr r3, [r7, #20] + 8006a64: 2b00 cmp r3, #0 + 8006a66: d106 bne.n 8006a76 /* set ipaddr last to ensure netmask/gw have been set when status callback is called */ if (netif_do_set_ipaddr(netif, ipaddr, &old_addr)) { - 80060e4: f107 0310 add.w r3, r7, #16 - 80060e8: 461a mov r2, r3 - 80060ea: 68b9 ldr r1, [r7, #8] - 80060ec: 68f8 ldr r0, [r7, #12] - 80060ee: f7ff ff35 bl 8005f5c + 8006a68: f107 0310 add.w r3, r7, #16 + 8006a6c: 461a mov r2, r3 + 8006a6e: 68b9 ldr r1, [r7, #8] + 8006a70: 68f8 ldr r0, [r7, #12] + 8006a72: f7ff ff35 bl 80068e0 if (change_reason != LWIP_NSC_NONE) { change_reason |= LWIP_NSC_IPV4_SETTINGS_CHANGED; netif_invoke_ext_callback(netif, change_reason, &cb_args); } #endif } - 80060f2: bf00 nop - 80060f4: 3720 adds r7, #32 - 80060f6: 46bd mov sp, r7 - 80060f8: bd80 pop {r7, pc} - 80060fa: bf00 nop - 80060fc: 08018ed4 .word 0x08018ed4 + 8006a76: bf00 nop + 8006a78: 3720 adds r7, #32 + 8006a7a: 46bd mov sp, r7 + 8006a7c: bd80 pop {r7, pc} + 8006a7e: bf00 nop + 8006a80: 08019854 .word 0x08019854 -08006100 : +08006a84 : * * @param netif the default network interface */ void netif_set_default(struct netif *netif) { - 8006100: b480 push {r7} - 8006102: b083 sub sp, #12 - 8006104: af00 add r7, sp, #0 - 8006106: 6078 str r0, [r7, #4] + 8006a84: b480 push {r7} + 8006a86: b083 sub sp, #12 + 8006a88: af00 add r7, sp, #0 + 8006a8a: 6078 str r0, [r7, #4] mib2_remove_route_ip4(1, netif); } else { /* install default route */ mib2_add_route_ip4(1, netif); } netif_default = netif; - 8006108: 4a04 ldr r2, [pc, #16] @ (800611c ) - 800610a: 687b ldr r3, [r7, #4] - 800610c: 6013 str r3, [r2, #0] + 8006a8c: 4a04 ldr r2, [pc, #16] @ (8006aa0 ) + 8006a8e: 687b ldr r3, [r7, #4] + 8006a90: 6013 str r3, [r2, #0] LWIP_DEBUGF(NETIF_DEBUG, ("netif: setting default interface %c%c\n", netif ? netif->name[0] : '\'', netif ? netif->name[1] : '\'')); } - 800610e: bf00 nop - 8006110: 370c adds r7, #12 - 8006112: 46bd mov sp, r7 - 8006114: f85d 7b04 ldr.w r7, [sp], #4 - 8006118: 4770 bx lr - 800611a: bf00 nop - 800611c: 2001909c .word 0x2001909c + 8006a92: bf00 nop + 8006a94: 370c adds r7, #12 + 8006a96: 46bd mov sp, r7 + 8006a98: f85d 7b04 ldr.w r7, [sp], #4 + 8006a9c: 4770 bx lr + 8006a9e: bf00 nop + 8006aa0: 200190d0 .word 0x200190d0 -08006120 : +08006aa4 : * Bring an interface up, available for processing * traffic. */ void netif_set_up(struct netif *netif) { - 8006120: b580 push {r7, lr} - 8006122: b082 sub sp, #8 - 8006124: af00 add r7, sp, #0 - 8006126: 6078 str r0, [r7, #4] + 8006aa4: b580 push {r7, lr} + 8006aa6: b082 sub sp, #8 + 8006aa8: af00 add r7, sp, #0 + 8006aaa: 6078 str r0, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif_set_up: invalid netif", netif != NULL, return); - 8006128: 687b ldr r3, [r7, #4] - 800612a: 2b00 cmp r3, #0 - 800612c: d107 bne.n 800613e - 800612e: 4b0f ldr r3, [pc, #60] @ (800616c ) - 8006130: f44f 7254 mov.w r2, #848 @ 0x350 - 8006134: 490e ldr r1, [pc, #56] @ (8006170 ) - 8006136: 480f ldr r0, [pc, #60] @ (8006174 ) - 8006138: f00b fa5e bl 80115f8 - 800613c: e013 b.n 8006166 + 8006aac: 687b ldr r3, [r7, #4] + 8006aae: 2b00 cmp r3, #0 + 8006ab0: d107 bne.n 8006ac2 + 8006ab2: 4b0f ldr r3, [pc, #60] @ (8006af0 ) + 8006ab4: f44f 7254 mov.w r2, #848 @ 0x350 + 8006ab8: 490e ldr r1, [pc, #56] @ (8006af4 ) + 8006aba: 480f ldr r0, [pc, #60] @ (8006af8 ) + 8006abc: f00b fa5e bl 8011f7c + 8006ac0: e013 b.n 8006aea if (!(netif->flags & NETIF_FLAG_UP)) { - 800613e: 687b ldr r3, [r7, #4] - 8006140: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 8006144: f003 0301 and.w r3, r3, #1 - 8006148: 2b00 cmp r3, #0 - 800614a: d10c bne.n 8006166 + 8006ac2: 687b ldr r3, [r7, #4] + 8006ac4: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006ac8: f003 0301 and.w r3, r3, #1 + 8006acc: 2b00 cmp r3, #0 + 8006ace: d10c bne.n 8006aea netif_set_flags(netif, NETIF_FLAG_UP); - 800614c: 687b ldr r3, [r7, #4] - 800614e: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 8006152: f043 0301 orr.w r3, r3, #1 - 8006156: b2da uxtb r2, r3 - 8006158: 687b ldr r3, [r7, #4] - 800615a: f883 2031 strb.w r2, [r3, #49] @ 0x31 + 8006ad0: 687b ldr r3, [r7, #4] + 8006ad2: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006ad6: f043 0301 orr.w r3, r3, #1 + 8006ada: b2da uxtb r2, r3 + 8006adc: 687b ldr r3, [r7, #4] + 8006ade: f883 2031 strb.w r2, [r3, #49] @ 0x31 args.status_changed.state = 1; netif_invoke_ext_callback(netif, LWIP_NSC_STATUS_CHANGED, &args); } #endif netif_issue_reports(netif, NETIF_REPORT_TYPE_IPV4 | NETIF_REPORT_TYPE_IPV6); - 800615e: 2103 movs r1, #3 - 8006160: 6878 ldr r0, [r7, #4] - 8006162: f000 f809 bl 8006178 + 8006ae2: 2103 movs r1, #3 + 8006ae4: 6878 ldr r0, [r7, #4] + 8006ae6: f000 f809 bl 8006afc #if LWIP_IPV6 nd6_restart_netif(netif); #endif /* LWIP_IPV6 */ } } - 8006166: 3708 adds r7, #8 - 8006168: 46bd mov sp, r7 - 800616a: bd80 pop {r7, pc} - 800616c: 08016384 .word 0x08016384 - 8006170: 0801650c .word 0x0801650c - 8006174: 080163d4 .word 0x080163d4 + 8006aea: 3708 adds r7, #8 + 8006aec: 46bd mov sp, r7 + 8006aee: bd80 pop {r7, pc} + 8006af0: 08016d04 .word 0x08016d04 + 8006af4: 08016e8c .word 0x08016e8c + 8006af8: 08016d54 .word 0x08016d54 -08006178 : +08006afc : /** Send ARP/IGMP/MLD/RS events, e.g. on link-up/netif-up or addr-change */ static void netif_issue_reports(struct netif *netif, u8_t report_type) { - 8006178: b580 push {r7, lr} - 800617a: b082 sub sp, #8 - 800617c: af00 add r7, sp, #0 - 800617e: 6078 str r0, [r7, #4] - 8006180: 460b mov r3, r1 - 8006182: 70fb strb r3, [r7, #3] + 8006afc: b580 push {r7, lr} + 8006afe: b082 sub sp, #8 + 8006b00: af00 add r7, sp, #0 + 8006b02: 6078 str r0, [r7, #4] + 8006b04: 460b mov r3, r1 + 8006b06: 70fb strb r3, [r7, #3] LWIP_ASSERT("netif_issue_reports: invalid netif", netif != NULL); - 8006184: 687b ldr r3, [r7, #4] - 8006186: 2b00 cmp r3, #0 - 8006188: d106 bne.n 8006198 - 800618a: 4b18 ldr r3, [pc, #96] @ (80061ec ) - 800618c: f240 326d movw r2, #877 @ 0x36d - 8006190: 4917 ldr r1, [pc, #92] @ (80061f0 ) - 8006192: 4818 ldr r0, [pc, #96] @ (80061f4 ) - 8006194: f00b fa30 bl 80115f8 + 8006b08: 687b ldr r3, [r7, #4] + 8006b0a: 2b00 cmp r3, #0 + 8006b0c: d106 bne.n 8006b1c + 8006b0e: 4b18 ldr r3, [pc, #96] @ (8006b70 ) + 8006b10: f240 326d movw r2, #877 @ 0x36d + 8006b14: 4917 ldr r1, [pc, #92] @ (8006b74 ) + 8006b16: 4818 ldr r0, [pc, #96] @ (8006b78 ) + 8006b18: f00b fa30 bl 8011f7c /* Only send reports when both link and admin states are up */ if (!(netif->flags & NETIF_FLAG_LINK_UP) || - 8006198: 687b ldr r3, [r7, #4] - 800619a: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800619e: f003 0304 and.w r3, r3, #4 - 80061a2: 2b00 cmp r3, #0 - 80061a4: d01e beq.n 80061e4 + 8006b1c: 687b ldr r3, [r7, #4] + 8006b1e: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006b22: f003 0304 and.w r3, r3, #4 + 8006b26: 2b00 cmp r3, #0 + 8006b28: d01e beq.n 8006b68 !(netif->flags & NETIF_FLAG_UP)) { - 80061a6: 687b ldr r3, [r7, #4] - 80061a8: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 80061ac: f003 0301 and.w r3, r3, #1 + 8006b2a: 687b ldr r3, [r7, #4] + 8006b2c: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006b30: f003 0301 and.w r3, r3, #1 if (!(netif->flags & NETIF_FLAG_LINK_UP) || - 80061b0: 2b00 cmp r3, #0 - 80061b2: d017 beq.n 80061e4 + 8006b34: 2b00 cmp r3, #0 + 8006b36: d017 beq.n 8006b68 return; } #if LWIP_IPV4 if ((report_type & NETIF_REPORT_TYPE_IPV4) && - 80061b4: 78fb ldrb r3, [r7, #3] - 80061b6: f003 0301 and.w r3, r3, #1 - 80061ba: 2b00 cmp r3, #0 - 80061bc: d013 beq.n 80061e6 + 8006b38: 78fb ldrb r3, [r7, #3] + 8006b3a: f003 0301 and.w r3, r3, #1 + 8006b3e: 2b00 cmp r3, #0 + 8006b40: d013 beq.n 8006b6a !ip4_addr_isany_val(*netif_ip4_addr(netif))) { - 80061be: 687b ldr r3, [r7, #4] - 80061c0: 3304 adds r3, #4 - 80061c2: 681b ldr r3, [r3, #0] + 8006b42: 687b ldr r3, [r7, #4] + 8006b44: 3304 adds r3, #4 + 8006b46: 681b ldr r3, [r3, #0] if ((report_type & NETIF_REPORT_TYPE_IPV4) && - 80061c4: 2b00 cmp r3, #0 - 80061c6: d00e beq.n 80061e6 + 8006b48: 2b00 cmp r3, #0 + 8006b4a: d00e beq.n 8006b6a #if LWIP_ARP /* For Ethernet network interfaces, we would like to send a "gratuitous ARP" */ if (netif->flags & (NETIF_FLAG_ETHARP)) { - 80061c8: 687b ldr r3, [r7, #4] - 80061ca: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 80061ce: f003 0308 and.w r3, r3, #8 - 80061d2: 2b00 cmp r3, #0 - 80061d4: d007 beq.n 80061e6 + 8006b4c: 687b ldr r3, [r7, #4] + 8006b4e: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006b52: f003 0308 and.w r3, r3, #8 + 8006b56: 2b00 cmp r3, #0 + 8006b58: d007 beq.n 8006b6a etharp_gratuitous(netif); - 80061d6: 687b ldr r3, [r7, #4] - 80061d8: 3304 adds r3, #4 - 80061da: 4619 mov r1, r3 - 80061dc: 6878 ldr r0, [r7, #4] - 80061de: f009 fc45 bl 800fa6c - 80061e2: e000 b.n 80061e6 + 8006b5a: 687b ldr r3, [r7, #4] + 8006b5c: 3304 adds r3, #4 + 8006b5e: 4619 mov r1, r3 + 8006b60: 6878 ldr r0, [r7, #4] + 8006b62: f009 fc45 bl 80103f0 + 8006b66: e000 b.n 8006b6a return; - 80061e4: bf00 nop + 8006b68: bf00 nop /* send mld memberships */ mld6_report_groups(netif); #endif /* LWIP_IPV6_MLD */ } #endif /* LWIP_IPV6 */ } - 80061e6: 3708 adds r7, #8 - 80061e8: 46bd mov sp, r7 - 80061ea: bd80 pop {r7, pc} - 80061ec: 08016384 .word 0x08016384 - 80061f0: 08016528 .word 0x08016528 - 80061f4: 080163d4 .word 0x080163d4 + 8006b6a: 3708 adds r7, #8 + 8006b6c: 46bd mov sp, r7 + 8006b6e: bd80 pop {r7, pc} + 8006b70: 08016d04 .word 0x08016d04 + 8006b74: 08016ea8 .word 0x08016ea8 + 8006b78: 08016d54 .word 0x08016d54 -080061f8 : +08006b7c : * @ingroup netif * Bring an interface down, disabling any traffic processing. */ void netif_set_down(struct netif *netif) { - 80061f8: b580 push {r7, lr} - 80061fa: b082 sub sp, #8 - 80061fc: af00 add r7, sp, #0 - 80061fe: 6078 str r0, [r7, #4] + 8006b7c: b580 push {r7, lr} + 8006b7e: b082 sub sp, #8 + 8006b80: af00 add r7, sp, #0 + 8006b82: 6078 str r0, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif_set_down: invalid netif", netif != NULL, return); - 8006200: 687b ldr r3, [r7, #4] - 8006202: 2b00 cmp r3, #0 - 8006204: d107 bne.n 8006216 - 8006206: 4b12 ldr r3, [pc, #72] @ (8006250 ) - 8006208: f240 329b movw r2, #923 @ 0x39b - 800620c: 4911 ldr r1, [pc, #68] @ (8006254 ) - 800620e: 4812 ldr r0, [pc, #72] @ (8006258 ) - 8006210: f00b f9f2 bl 80115f8 - 8006214: e019 b.n 800624a + 8006b84: 687b ldr r3, [r7, #4] + 8006b86: 2b00 cmp r3, #0 + 8006b88: d107 bne.n 8006b9a + 8006b8a: 4b12 ldr r3, [pc, #72] @ (8006bd4 ) + 8006b8c: f240 329b movw r2, #923 @ 0x39b + 8006b90: 4911 ldr r1, [pc, #68] @ (8006bd8 ) + 8006b92: 4812 ldr r0, [pc, #72] @ (8006bdc ) + 8006b94: f00b f9f2 bl 8011f7c + 8006b98: e019 b.n 8006bce if (netif->flags & NETIF_FLAG_UP) { - 8006216: 687b ldr r3, [r7, #4] - 8006218: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800621c: f003 0301 and.w r3, r3, #1 - 8006220: 2b00 cmp r3, #0 - 8006222: d012 beq.n 800624a + 8006b9a: 687b ldr r3, [r7, #4] + 8006b9c: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006ba0: f003 0301 and.w r3, r3, #1 + 8006ba4: 2b00 cmp r3, #0 + 8006ba6: d012 beq.n 8006bce args.status_changed.state = 0; netif_invoke_ext_callback(netif, LWIP_NSC_STATUS_CHANGED, &args); } #endif netif_clear_flags(netif, NETIF_FLAG_UP); - 8006224: 687b ldr r3, [r7, #4] - 8006226: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800622a: f023 0301 bic.w r3, r3, #1 - 800622e: b2da uxtb r2, r3 - 8006230: 687b ldr r3, [r7, #4] - 8006232: f883 2031 strb.w r2, [r3, #49] @ 0x31 + 8006ba8: 687b ldr r3, [r7, #4] + 8006baa: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006bae: f023 0301 bic.w r3, r3, #1 + 8006bb2: b2da uxtb r2, r3 + 8006bb4: 687b ldr r3, [r7, #4] + 8006bb6: f883 2031 strb.w r2, [r3, #49] @ 0x31 MIB2_COPY_SYSUPTIME_TO(&netif->ts); #if LWIP_IPV4 && LWIP_ARP if (netif->flags & NETIF_FLAG_ETHARP) { - 8006236: 687b ldr r3, [r7, #4] - 8006238: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800623c: f003 0308 and.w r3, r3, #8 - 8006240: 2b00 cmp r3, #0 - 8006242: d002 beq.n 800624a + 8006bba: 687b ldr r3, [r7, #4] + 8006bbc: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006bc0: f003 0308 and.w r3, r3, #8 + 8006bc4: 2b00 cmp r3, #0 + 8006bc6: d002 beq.n 8006bce etharp_cleanup_netif(netif); - 8006244: 6878 ldr r0, [r7, #4] - 8006246: f008 ffcb bl 800f1e0 + 8006bc8: 6878 ldr r0, [r7, #4] + 8006bca: f008 ffcb bl 800fb64 nd6_cleanup_netif(netif); #endif /* LWIP_IPV6 */ NETIF_STATUS_CALLBACK(netif); } } - 800624a: 3708 adds r7, #8 - 800624c: 46bd mov sp, r7 - 800624e: bd80 pop {r7, pc} - 8006250: 08016384 .word 0x08016384 - 8006254: 0801654c .word 0x0801654c - 8006258: 080163d4 .word 0x080163d4 + 8006bce: 3708 adds r7, #8 + 8006bd0: 46bd mov sp, r7 + 8006bd2: bd80 pop {r7, pc} + 8006bd4: 08016d04 .word 0x08016d04 + 8006bd8: 08016ecc .word 0x08016ecc + 8006bdc: 08016d54 .word 0x08016d54 -0800625c : +08006be0 : * @ingroup netif * Called by a driver when its link goes up */ void netif_set_link_up(struct netif *netif) { - 800625c: b580 push {r7, lr} - 800625e: b082 sub sp, #8 - 8006260: af00 add r7, sp, #0 - 8006262: 6078 str r0, [r7, #4] + 8006be0: b580 push {r7, lr} + 8006be2: b082 sub sp, #8 + 8006be4: af00 add r7, sp, #0 + 8006be6: 6078 str r0, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif_set_link_up: invalid netif", netif != NULL, return); - 8006264: 687b ldr r3, [r7, #4] - 8006266: 2b00 cmp r3, #0 - 8006268: d107 bne.n 800627a - 800626a: 4b15 ldr r3, [pc, #84] @ (80062c0 ) - 800626c: f44f 7278 mov.w r2, #992 @ 0x3e0 - 8006270: 4914 ldr r1, [pc, #80] @ (80062c4 ) - 8006272: 4815 ldr r0, [pc, #84] @ (80062c8 ) - 8006274: f00b f9c0 bl 80115f8 - 8006278: e01e b.n 80062b8 + 8006be8: 687b ldr r3, [r7, #4] + 8006bea: 2b00 cmp r3, #0 + 8006bec: d107 bne.n 8006bfe + 8006bee: 4b15 ldr r3, [pc, #84] @ (8006c44 ) + 8006bf0: f44f 7278 mov.w r2, #992 @ 0x3e0 + 8006bf4: 4914 ldr r1, [pc, #80] @ (8006c48 ) + 8006bf6: 4815 ldr r0, [pc, #84] @ (8006c4c ) + 8006bf8: f00b f9c0 bl 8011f7c + 8006bfc: e01e b.n 8006c3c if (!(netif->flags & NETIF_FLAG_LINK_UP)) { - 800627a: 687b ldr r3, [r7, #4] - 800627c: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 8006280: f003 0304 and.w r3, r3, #4 - 8006284: 2b00 cmp r3, #0 - 8006286: d117 bne.n 80062b8 + 8006bfe: 687b ldr r3, [r7, #4] + 8006c00: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006c04: f003 0304 and.w r3, r3, #4 + 8006c08: 2b00 cmp r3, #0 + 8006c0a: d117 bne.n 8006c3c netif_set_flags(netif, NETIF_FLAG_LINK_UP); - 8006288: 687b ldr r3, [r7, #4] - 800628a: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800628e: f043 0304 orr.w r3, r3, #4 - 8006292: b2da uxtb r2, r3 - 8006294: 687b ldr r3, [r7, #4] - 8006296: f883 2031 strb.w r2, [r3, #49] @ 0x31 + 8006c0c: 687b ldr r3, [r7, #4] + 8006c0e: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006c12: f043 0304 orr.w r3, r3, #4 + 8006c16: b2da uxtb r2, r3 + 8006c18: 687b ldr r3, [r7, #4] + 8006c1a: f883 2031 strb.w r2, [r3, #49] @ 0x31 #if LWIP_DHCP dhcp_network_changed(netif); - 800629a: 6878 ldr r0, [r7, #4] - 800629c: f007 fa16 bl 800d6cc + 8006c1e: 6878 ldr r0, [r7, #4] + 8006c20: f007 fa16 bl 800e050 #if LWIP_AUTOIP autoip_network_changed(netif); #endif /* LWIP_AUTOIP */ netif_issue_reports(netif, NETIF_REPORT_TYPE_IPV4 | NETIF_REPORT_TYPE_IPV6); - 80062a0: 2103 movs r1, #3 - 80062a2: 6878 ldr r0, [r7, #4] - 80062a4: f7ff ff68 bl 8006178 + 8006c24: 2103 movs r1, #3 + 8006c26: 6878 ldr r0, [r7, #4] + 8006c28: f7ff ff68 bl 8006afc #if LWIP_IPV6 nd6_restart_netif(netif); #endif /* LWIP_IPV6 */ NETIF_LINK_CALLBACK(netif); - 80062a8: 687b ldr r3, [r7, #4] - 80062aa: 69db ldr r3, [r3, #28] - 80062ac: 2b00 cmp r3, #0 - 80062ae: d003 beq.n 80062b8 - 80062b0: 687b ldr r3, [r7, #4] - 80062b2: 69db ldr r3, [r3, #28] - 80062b4: 6878 ldr r0, [r7, #4] - 80062b6: 4798 blx r3 + 8006c2c: 687b ldr r3, [r7, #4] + 8006c2e: 69db ldr r3, [r3, #28] + 8006c30: 2b00 cmp r3, #0 + 8006c32: d003 beq.n 8006c3c + 8006c34: 687b ldr r3, [r7, #4] + 8006c36: 69db ldr r3, [r3, #28] + 8006c38: 6878 ldr r0, [r7, #4] + 8006c3a: 4798 blx r3 args.link_changed.state = 1; netif_invoke_ext_callback(netif, LWIP_NSC_LINK_CHANGED, &args); } #endif } } - 80062b8: 3708 adds r7, #8 - 80062ba: 46bd mov sp, r7 - 80062bc: bd80 pop {r7, pc} - 80062be: bf00 nop - 80062c0: 08016384 .word 0x08016384 - 80062c4: 0801656c .word 0x0801656c - 80062c8: 080163d4 .word 0x080163d4 + 8006c3c: 3708 adds r7, #8 + 8006c3e: 46bd mov sp, r7 + 8006c40: bd80 pop {r7, pc} + 8006c42: bf00 nop + 8006c44: 08016d04 .word 0x08016d04 + 8006c48: 08016eec .word 0x08016eec + 8006c4c: 08016d54 .word 0x08016d54 -080062cc : +08006c50 : * @ingroup netif * Called by a driver when its link goes down */ void netif_set_link_down(struct netif *netif) { - 80062cc: b580 push {r7, lr} - 80062ce: b082 sub sp, #8 - 80062d0: af00 add r7, sp, #0 - 80062d2: 6078 str r0, [r7, #4] + 8006c50: b580 push {r7, lr} + 8006c52: b082 sub sp, #8 + 8006c54: af00 add r7, sp, #0 + 8006c56: 6078 str r0, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif_set_link_down: invalid netif", netif != NULL, return); - 80062d4: 687b ldr r3, [r7, #4] - 80062d6: 2b00 cmp r3, #0 - 80062d8: d107 bne.n 80062ea - 80062da: 4b11 ldr r3, [pc, #68] @ (8006320 ) - 80062dc: f240 4206 movw r2, #1030 @ 0x406 - 80062e0: 4910 ldr r1, [pc, #64] @ (8006324 ) - 80062e2: 4811 ldr r0, [pc, #68] @ (8006328 ) - 80062e4: f00b f988 bl 80115f8 - 80062e8: e017 b.n 800631a + 8006c58: 687b ldr r3, [r7, #4] + 8006c5a: 2b00 cmp r3, #0 + 8006c5c: d107 bne.n 8006c6e + 8006c5e: 4b11 ldr r3, [pc, #68] @ (8006ca4 ) + 8006c60: f240 4206 movw r2, #1030 @ 0x406 + 8006c64: 4910 ldr r1, [pc, #64] @ (8006ca8 ) + 8006c66: 4811 ldr r0, [pc, #68] @ (8006cac ) + 8006c68: f00b f988 bl 8011f7c + 8006c6c: e017 b.n 8006c9e if (netif->flags & NETIF_FLAG_LINK_UP) { - 80062ea: 687b ldr r3, [r7, #4] - 80062ec: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 80062f0: f003 0304 and.w r3, r3, #4 - 80062f4: 2b00 cmp r3, #0 - 80062f6: d010 beq.n 800631a + 8006c6e: 687b ldr r3, [r7, #4] + 8006c70: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006c74: f003 0304 and.w r3, r3, #4 + 8006c78: 2b00 cmp r3, #0 + 8006c7a: d010 beq.n 8006c9e netif_clear_flags(netif, NETIF_FLAG_LINK_UP); - 80062f8: 687b ldr r3, [r7, #4] - 80062fa: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 80062fe: f023 0304 bic.w r3, r3, #4 - 8006302: b2da uxtb r2, r3 - 8006304: 687b ldr r3, [r7, #4] - 8006306: f883 2031 strb.w r2, [r3, #49] @ 0x31 + 8006c7c: 687b ldr r3, [r7, #4] + 8006c7e: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8006c82: f023 0304 bic.w r3, r3, #4 + 8006c86: b2da uxtb r2, r3 + 8006c88: 687b ldr r3, [r7, #4] + 8006c8a: f883 2031 strb.w r2, [r3, #49] @ 0x31 NETIF_LINK_CALLBACK(netif); - 800630a: 687b ldr r3, [r7, #4] - 800630c: 69db ldr r3, [r3, #28] - 800630e: 2b00 cmp r3, #0 - 8006310: d003 beq.n 800631a - 8006312: 687b ldr r3, [r7, #4] - 8006314: 69db ldr r3, [r3, #28] - 8006316: 6878 ldr r0, [r7, #4] - 8006318: 4798 blx r3 + 8006c8e: 687b ldr r3, [r7, #4] + 8006c90: 69db ldr r3, [r3, #28] + 8006c92: 2b00 cmp r3, #0 + 8006c94: d003 beq.n 8006c9e + 8006c96: 687b ldr r3, [r7, #4] + 8006c98: 69db ldr r3, [r3, #28] + 8006c9a: 6878 ldr r0, [r7, #4] + 8006c9c: 4798 blx r3 args.link_changed.state = 0; netif_invoke_ext_callback(netif, LWIP_NSC_LINK_CHANGED, &args); } #endif } } - 800631a: 3708 adds r7, #8 - 800631c: 46bd mov sp, r7 - 800631e: bd80 pop {r7, pc} - 8006320: 08016384 .word 0x08016384 - 8006324: 08016590 .word 0x08016590 - 8006328: 080163d4 .word 0x080163d4 + 8006c9e: 3708 adds r7, #8 + 8006ca0: 46bd mov sp, r7 + 8006ca2: bd80 pop {r7, pc} + 8006ca4: 08016d04 .word 0x08016d04 + 8006ca8: 08016f10 .word 0x08016f10 + 8006cac: 08016d54 .word 0x08016d54 -0800632c : +08006cb0 : * @ingroup netif * Set callback to be called when link is brought up/down */ void netif_set_link_callback(struct netif *netif, netif_status_callback_fn link_callback) { - 800632c: b480 push {r7} - 800632e: b083 sub sp, #12 - 8006330: af00 add r7, sp, #0 - 8006332: 6078 str r0, [r7, #4] - 8006334: 6039 str r1, [r7, #0] + 8006cb0: b480 push {r7} + 8006cb2: b083 sub sp, #12 + 8006cb4: af00 add r7, sp, #0 + 8006cb6: 6078 str r0, [r7, #4] + 8006cb8: 6039 str r1, [r7, #0] LWIP_ASSERT_CORE_LOCKED(); if (netif) { - 8006336: 687b ldr r3, [r7, #4] - 8006338: 2b00 cmp r3, #0 - 800633a: d002 beq.n 8006342 + 8006cba: 687b ldr r3, [r7, #4] + 8006cbc: 2b00 cmp r3, #0 + 8006cbe: d002 beq.n 8006cc6 netif->link_callback = link_callback; - 800633c: 687b ldr r3, [r7, #4] - 800633e: 683a ldr r2, [r7, #0] - 8006340: 61da str r2, [r3, #28] + 8006cc0: 687b ldr r3, [r7, #4] + 8006cc2: 683a ldr r2, [r7, #0] + 8006cc4: 61da str r2, [r3, #28] } } - 8006342: bf00 nop - 8006344: 370c adds r7, #12 - 8006346: 46bd mov sp, r7 - 8006348: f85d 7b04 ldr.w r7, [sp], #4 - 800634c: 4770 bx lr + 8006cc6: bf00 nop + 8006cc8: 370c adds r7, #12 + 8006cca: 46bd mov sp, r7 + 8006ccc: f85d 7b04 ldr.w r7, [sp], #4 + 8006cd0: 4770 bx lr -0800634e : +08006cd2 : #if LWIP_IPV4 /** Dummy IPv4 output function for netifs not supporting IPv4 */ static err_t netif_null_output_ip4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr) { - 800634e: b480 push {r7} - 8006350: b085 sub sp, #20 - 8006352: af00 add r7, sp, #0 - 8006354: 60f8 str r0, [r7, #12] - 8006356: 60b9 str r1, [r7, #8] - 8006358: 607a str r2, [r7, #4] + 8006cd2: b480 push {r7} + 8006cd4: b085 sub sp, #20 + 8006cd6: af00 add r7, sp, #0 + 8006cd8: 60f8 str r0, [r7, #12] + 8006cda: 60b9 str r1, [r7, #8] + 8006cdc: 607a str r2, [r7, #4] LWIP_UNUSED_ARG(netif); LWIP_UNUSED_ARG(p); LWIP_UNUSED_ARG(ipaddr); return ERR_IF; - 800635a: f06f 030b mvn.w r3, #11 + 8006cde: f06f 030b mvn.w r3, #11 } - 800635e: 4618 mov r0, r3 - 8006360: 3714 adds r7, #20 - 8006362: 46bd mov sp, r7 - 8006364: f85d 7b04 ldr.w r7, [sp], #4 - 8006368: 4770 bx lr + 8006ce2: 4618 mov r0, r3 + 8006ce4: 3714 adds r7, #20 + 8006ce6: 46bd mov sp, r7 + 8006ce8: f85d 7b04 ldr.w r7, [sp], #4 + 8006cec: 4770 bx lr ... -0800636c : +08006cf0 : * * @param idx index of netif to find */ struct netif * netif_get_by_index(u8_t idx) { - 800636c: b480 push {r7} - 800636e: b085 sub sp, #20 - 8006370: af00 add r7, sp, #0 - 8006372: 4603 mov r3, r0 - 8006374: 71fb strb r3, [r7, #7] + 8006cf0: b480 push {r7} + 8006cf2: b085 sub sp, #20 + 8006cf4: af00 add r7, sp, #0 + 8006cf6: 4603 mov r3, r0 + 8006cf8: 71fb strb r3, [r7, #7] struct netif *netif; LWIP_ASSERT_CORE_LOCKED(); if (idx != NETIF_NO_INDEX) { - 8006376: 79fb ldrb r3, [r7, #7] - 8006378: 2b00 cmp r3, #0 - 800637a: d013 beq.n 80063a4 + 8006cfa: 79fb ldrb r3, [r7, #7] + 8006cfc: 2b00 cmp r3, #0 + 8006cfe: d013 beq.n 8006d28 NETIF_FOREACH(netif) { - 800637c: 4b0d ldr r3, [pc, #52] @ (80063b4 ) - 800637e: 681b ldr r3, [r3, #0] - 8006380: 60fb str r3, [r7, #12] - 8006382: e00c b.n 800639e + 8006d00: 4b0d ldr r3, [pc, #52] @ (8006d38 ) + 8006d02: 681b ldr r3, [r3, #0] + 8006d04: 60fb str r3, [r7, #12] + 8006d06: e00c b.n 8006d22 if (idx == netif_get_index(netif)) { - 8006384: 68fb ldr r3, [r7, #12] - 8006386: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 800638a: 3301 adds r3, #1 - 800638c: b2db uxtb r3, r3 - 800638e: 79fa ldrb r2, [r7, #7] - 8006390: 429a cmp r2, r3 - 8006392: d101 bne.n 8006398 + 8006d08: 68fb ldr r3, [r7, #12] + 8006d0a: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 8006d0e: 3301 adds r3, #1 + 8006d10: b2db uxtb r3, r3 + 8006d12: 79fa ldrb r2, [r7, #7] + 8006d14: 429a cmp r2, r3 + 8006d16: d101 bne.n 8006d1c return netif; /* found! */ - 8006394: 68fb ldr r3, [r7, #12] - 8006396: e006 b.n 80063a6 + 8006d18: 68fb ldr r3, [r7, #12] + 8006d1a: e006 b.n 8006d2a NETIF_FOREACH(netif) { - 8006398: 68fb ldr r3, [r7, #12] - 800639a: 681b ldr r3, [r3, #0] - 800639c: 60fb str r3, [r7, #12] - 800639e: 68fb ldr r3, [r7, #12] - 80063a0: 2b00 cmp r3, #0 - 80063a2: d1ef bne.n 8006384 + 8006d1c: 68fb ldr r3, [r7, #12] + 8006d1e: 681b ldr r3, [r3, #0] + 8006d20: 60fb str r3, [r7, #12] + 8006d22: 68fb ldr r3, [r7, #12] + 8006d24: 2b00 cmp r3, #0 + 8006d26: d1ef bne.n 8006d08 } } } return NULL; - 80063a4: 2300 movs r3, #0 + 8006d28: 2300 movs r3, #0 } - 80063a6: 4618 mov r0, r3 - 80063a8: 3714 adds r7, #20 - 80063aa: 46bd mov sp, r7 - 80063ac: f85d 7b04 ldr.w r7, [sp], #4 - 80063b0: 4770 bx lr - 80063b2: bf00 nop - 80063b4: 20019098 .word 0x20019098 + 8006d2a: 4618 mov r0, r3 + 8006d2c: 3714 adds r7, #20 + 8006d2e: 46bd mov sp, r7 + 8006d30: f85d 7b04 ldr.w r7, [sp], #4 + 8006d34: 4770 bx lr + 8006d36: bf00 nop + 8006d38: 200190cc .word 0x200190cc -080063b8 : +08006d3c : #if !NO_SYS static #endif /* !NO_SYS */ void pbuf_free_ooseq(void) { - 80063b8: b580 push {r7, lr} - 80063ba: b082 sub sp, #8 - 80063bc: af00 add r7, sp, #0 + 8006d3c: b580 push {r7, lr} + 8006d3e: b082 sub sp, #8 + 8006d40: af00 add r7, sp, #0 struct tcp_pcb *pcb; SYS_ARCH_SET(pbuf_free_ooseq_pending, 0); - 80063be: 4b0c ldr r3, [pc, #48] @ (80063f0 ) - 80063c0: 2200 movs r2, #0 - 80063c2: 701a strb r2, [r3, #0] + 8006d42: 4b0c ldr r3, [pc, #48] @ (8006d74 ) + 8006d44: 2200 movs r2, #0 + 8006d46: 701a strb r2, [r3, #0] for (pcb = tcp_active_pcbs; NULL != pcb; pcb = pcb->next) { - 80063c4: 4b0b ldr r3, [pc, #44] @ (80063f4 ) - 80063c6: 681b ldr r3, [r3, #0] - 80063c8: 607b str r3, [r7, #4] - 80063ca: e00a b.n 80063e2 + 8006d48: 4b0b ldr r3, [pc, #44] @ (8006d78 ) + 8006d4a: 681b ldr r3, [r3, #0] + 8006d4c: 607b str r3, [r7, #4] + 8006d4e: e00a b.n 8006d66 if (pcb->ooseq != NULL) { - 80063cc: 687b ldr r3, [r7, #4] - 80063ce: 6f5b ldr r3, [r3, #116] @ 0x74 - 80063d0: 2b00 cmp r3, #0 - 80063d2: d003 beq.n 80063dc + 8006d50: 687b ldr r3, [r7, #4] + 8006d52: 6f5b ldr r3, [r3, #116] @ 0x74 + 8006d54: 2b00 cmp r3, #0 + 8006d56: d003 beq.n 8006d60 /** Free the ooseq pbufs of one PCB only */ LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free_ooseq: freeing out-of-sequence pbufs\n")); tcp_free_ooseq(pcb); - 80063d4: 6878 ldr r0, [r7, #4] - 80063d6: f002 f94d bl 8008674 + 8006d58: 6878 ldr r0, [r7, #4] + 8006d5a: f002 f94d bl 8008ff8 return; - 80063da: e005 b.n 80063e8 + 8006d5e: e005 b.n 8006d6c for (pcb = tcp_active_pcbs; NULL != pcb; pcb = pcb->next) { - 80063dc: 687b ldr r3, [r7, #4] - 80063de: 68db ldr r3, [r3, #12] - 80063e0: 607b str r3, [r7, #4] - 80063e2: 687b ldr r3, [r7, #4] - 80063e4: 2b00 cmp r3, #0 - 80063e6: d1f1 bne.n 80063cc + 8006d60: 687b ldr r3, [r7, #4] + 8006d62: 68db ldr r3, [r3, #12] + 8006d64: 607b str r3, [r7, #4] + 8006d66: 687b ldr r3, [r7, #4] + 8006d68: 2b00 cmp r3, #0 + 8006d6a: d1f1 bne.n 8006d50 } } } - 80063e8: 3708 adds r7, #8 - 80063ea: 46bd mov sp, r7 - 80063ec: bd80 pop {r7, pc} - 80063ee: bf00 nop - 80063f0: 200190a1 .word 0x200190a1 - 80063f4: 200190b0 .word 0x200190b0 + 8006d6c: 3708 adds r7, #8 + 8006d6e: 46bd mov sp, r7 + 8006d70: bd80 pop {r7, pc} + 8006d72: bf00 nop + 8006d74: 200190d5 .word 0x200190d5 + 8006d78: 200190e4 .word 0x200190e4 -080063f8 : +08006d7c : #endif /* !NO_SYS */ /** Queue a call to pbuf_free_ooseq if not already queued. */ static void pbuf_pool_is_empty(void) { - 80063f8: b480 push {r7} - 80063fa: af00 add r7, sp, #0 + 8006d7c: b480 push {r7} + 8006d7e: af00 add r7, sp, #0 #ifndef PBUF_POOL_FREE_OOSEQ_QUEUE_CALL SYS_ARCH_SET(pbuf_free_ooseq_pending, 1); - 80063fc: 4b03 ldr r3, [pc, #12] @ (800640c ) - 80063fe: 2201 movs r2, #1 - 8006400: 701a strb r2, [r3, #0] + 8006d80: 4b03 ldr r3, [pc, #12] @ (8006d90 ) + 8006d82: 2201 movs r2, #1 + 8006d84: 701a strb r2, [r3, #0] if (!queued) { /* queue a call to pbuf_free_ooseq if not already queued */ PBUF_POOL_FREE_OOSEQ_QUEUE_CALL(); } #endif /* PBUF_POOL_FREE_OOSEQ_QUEUE_CALL */ } - 8006402: bf00 nop - 8006404: 46bd mov sp, r7 - 8006406: f85d 7b04 ldr.w r7, [sp], #4 - 800640a: 4770 bx lr - 800640c: 200190a1 .word 0x200190a1 + 8006d86: bf00 nop + 8006d88: 46bd mov sp, r7 + 8006d8a: f85d 7b04 ldr.w r7, [sp], #4 + 8006d8e: 4770 bx lr + 8006d90: 200190d5 .word 0x200190d5 -08006410 : +08006d94 : #endif /* !LWIP_TCP || !TCP_QUEUE_OOSEQ || !PBUF_POOL_FREE_OOSEQ */ /* Initialize members of struct pbuf after allocation */ static void pbuf_init_alloced_pbuf(struct pbuf *p, void *payload, u16_t tot_len, u16_t len, pbuf_type type, u8_t flags) { - 8006410: b480 push {r7} - 8006412: b085 sub sp, #20 - 8006414: af00 add r7, sp, #0 - 8006416: 60f8 str r0, [r7, #12] - 8006418: 60b9 str r1, [r7, #8] - 800641a: 4611 mov r1, r2 - 800641c: 461a mov r2, r3 - 800641e: 460b mov r3, r1 - 8006420: 80fb strh r3, [r7, #6] - 8006422: 4613 mov r3, r2 - 8006424: 80bb strh r3, [r7, #4] + 8006d94: b480 push {r7} + 8006d96: b085 sub sp, #20 + 8006d98: af00 add r7, sp, #0 + 8006d9a: 60f8 str r0, [r7, #12] + 8006d9c: 60b9 str r1, [r7, #8] + 8006d9e: 4611 mov r1, r2 + 8006da0: 461a mov r2, r3 + 8006da2: 460b mov r3, r1 + 8006da4: 80fb strh r3, [r7, #6] + 8006da6: 4613 mov r3, r2 + 8006da8: 80bb strh r3, [r7, #4] p->next = NULL; - 8006426: 68fb ldr r3, [r7, #12] - 8006428: 2200 movs r2, #0 - 800642a: 601a str r2, [r3, #0] + 8006daa: 68fb ldr r3, [r7, #12] + 8006dac: 2200 movs r2, #0 + 8006dae: 601a str r2, [r3, #0] p->payload = payload; - 800642c: 68fb ldr r3, [r7, #12] - 800642e: 68ba ldr r2, [r7, #8] - 8006430: 605a str r2, [r3, #4] + 8006db0: 68fb ldr r3, [r7, #12] + 8006db2: 68ba ldr r2, [r7, #8] + 8006db4: 605a str r2, [r3, #4] p->tot_len = tot_len; - 8006432: 68fb ldr r3, [r7, #12] - 8006434: 88fa ldrh r2, [r7, #6] - 8006436: 811a strh r2, [r3, #8] + 8006db6: 68fb ldr r3, [r7, #12] + 8006db8: 88fa ldrh r2, [r7, #6] + 8006dba: 811a strh r2, [r3, #8] p->len = len; - 8006438: 68fb ldr r3, [r7, #12] - 800643a: 88ba ldrh r2, [r7, #4] - 800643c: 815a strh r2, [r3, #10] + 8006dbc: 68fb ldr r3, [r7, #12] + 8006dbe: 88ba ldrh r2, [r7, #4] + 8006dc0: 815a strh r2, [r3, #10] p->type_internal = (u8_t)type; - 800643e: 8b3b ldrh r3, [r7, #24] - 8006440: b2da uxtb r2, r3 - 8006442: 68fb ldr r3, [r7, #12] - 8006444: 731a strb r2, [r3, #12] + 8006dc2: 8b3b ldrh r3, [r7, #24] + 8006dc4: b2da uxtb r2, r3 + 8006dc6: 68fb ldr r3, [r7, #12] + 8006dc8: 731a strb r2, [r3, #12] p->flags = flags; - 8006446: 68fb ldr r3, [r7, #12] - 8006448: 7f3a ldrb r2, [r7, #28] - 800644a: 735a strb r2, [r3, #13] + 8006dca: 68fb ldr r3, [r7, #12] + 8006dcc: 7f3a ldrb r2, [r7, #28] + 8006dce: 735a strb r2, [r3, #13] p->ref = 1; - 800644c: 68fb ldr r3, [r7, #12] - 800644e: 2201 movs r2, #1 - 8006450: 739a strb r2, [r3, #14] + 8006dd0: 68fb ldr r3, [r7, #12] + 8006dd2: 2201 movs r2, #1 + 8006dd4: 739a strb r2, [r3, #14] p->if_idx = NETIF_NO_INDEX; - 8006452: 68fb ldr r3, [r7, #12] - 8006454: 2200 movs r2, #0 - 8006456: 73da strb r2, [r3, #15] + 8006dd6: 68fb ldr r3, [r7, #12] + 8006dd8: 2200 movs r2, #0 + 8006dda: 73da strb r2, [r3, #15] } - 8006458: bf00 nop - 800645a: 3714 adds r7, #20 - 800645c: 46bd mov sp, r7 - 800645e: f85d 7b04 ldr.w r7, [sp], #4 - 8006462: 4770 bx lr + 8006ddc: bf00 nop + 8006dde: 3714 adds r7, #20 + 8006de0: 46bd mov sp, r7 + 8006de2: f85d 7b04 ldr.w r7, [sp], #4 + 8006de6: 4770 bx lr -08006464 : +08006de8 : * @return the allocated pbuf. If multiple pbufs where allocated, this * is the first pbuf of a pbuf chain. */ struct pbuf * pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type) { - 8006464: b580 push {r7, lr} - 8006466: b08c sub sp, #48 @ 0x30 - 8006468: af02 add r7, sp, #8 - 800646a: 4603 mov r3, r0 - 800646c: 71fb strb r3, [r7, #7] - 800646e: 460b mov r3, r1 - 8006470: 80bb strh r3, [r7, #4] - 8006472: 4613 mov r3, r2 - 8006474: 807b strh r3, [r7, #2] + 8006de8: b580 push {r7, lr} + 8006dea: b08c sub sp, #48 @ 0x30 + 8006dec: af02 add r7, sp, #8 + 8006dee: 4603 mov r3, r0 + 8006df0: 71fb strb r3, [r7, #7] + 8006df2: 460b mov r3, r1 + 8006df4: 80bb strh r3, [r7, #4] + 8006df6: 4613 mov r3, r2 + 8006df8: 807b strh r3, [r7, #2] struct pbuf *p; u16_t offset = (u16_t)layer; - 8006476: 79fb ldrb r3, [r7, #7] - 8006478: 847b strh r3, [r7, #34] @ 0x22 + 8006dfa: 79fb ldrb r3, [r7, #7] + 8006dfc: 847b strh r3, [r7, #34] @ 0x22 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc(length=%"U16_F")\n", length)); switch (type) { - 800647a: 887b ldrh r3, [r7, #2] - 800647c: f5b3 7f20 cmp.w r3, #640 @ 0x280 - 8006480: d07f beq.n 8006582 - 8006482: f5b3 7f20 cmp.w r3, #640 @ 0x280 - 8006486: f300 80c7 bgt.w 8006618 - 800648a: f5b3 7fc1 cmp.w r3, #386 @ 0x182 - 800648e: d010 beq.n 80064b2 - 8006490: f5b3 7fc1 cmp.w r3, #386 @ 0x182 - 8006494: f300 80c0 bgt.w 8006618 - 8006498: 2b01 cmp r3, #1 - 800649a: d002 beq.n 80064a2 - 800649c: 2b41 cmp r3, #65 @ 0x41 - 800649e: f040 80bb bne.w 8006618 + 8006dfe: 887b ldrh r3, [r7, #2] + 8006e00: f5b3 7f20 cmp.w r3, #640 @ 0x280 + 8006e04: d07f beq.n 8006f06 + 8006e06: f5b3 7f20 cmp.w r3, #640 @ 0x280 + 8006e0a: f300 80c7 bgt.w 8006f9c + 8006e0e: f5b3 7fc1 cmp.w r3, #386 @ 0x182 + 8006e12: d010 beq.n 8006e36 + 8006e14: f5b3 7fc1 cmp.w r3, #386 @ 0x182 + 8006e18: f300 80c0 bgt.w 8006f9c + 8006e1c: 2b01 cmp r3, #1 + 8006e1e: d002 beq.n 8006e26 + 8006e20: 2b41 cmp r3, #65 @ 0x41 + 8006e22: f040 80bb bne.w 8006f9c case PBUF_REF: /* fall through */ case PBUF_ROM: p = pbuf_alloc_reference(NULL, length, type); - 80064a2: 887a ldrh r2, [r7, #2] - 80064a4: 88bb ldrh r3, [r7, #4] - 80064a6: 4619 mov r1, r3 - 80064a8: 2000 movs r0, #0 - 80064aa: f000 f8d1 bl 8006650 - 80064ae: 6278 str r0, [r7, #36] @ 0x24 + 8006e26: 887a ldrh r2, [r7, #2] + 8006e28: 88bb ldrh r3, [r7, #4] + 8006e2a: 4619 mov r1, r3 + 8006e2c: 2000 movs r0, #0 + 8006e2e: f000 f8d1 bl 8006fd4 + 8006e32: 6278 str r0, [r7, #36] @ 0x24 break; - 80064b0: e0bc b.n 800662c + 8006e34: e0bc b.n 8006fb0 case PBUF_POOL: { struct pbuf *q, *last; u16_t rem_len; /* remaining length */ p = NULL; - 80064b2: 2300 movs r3, #0 - 80064b4: 627b str r3, [r7, #36] @ 0x24 + 8006e36: 2300 movs r3, #0 + 8006e38: 627b str r3, [r7, #36] @ 0x24 last = NULL; - 80064b6: 2300 movs r3, #0 - 80064b8: 61fb str r3, [r7, #28] + 8006e3a: 2300 movs r3, #0 + 8006e3c: 61fb str r3, [r7, #28] rem_len = length; - 80064ba: 88bb ldrh r3, [r7, #4] - 80064bc: 837b strh r3, [r7, #26] + 8006e3e: 88bb ldrh r3, [r7, #4] + 8006e40: 837b strh r3, [r7, #26] do { u16_t qlen; q = (struct pbuf *)memp_malloc(MEMP_PBUF_POOL); - 80064be: 2008 movs r0, #8 - 80064c0: f7ff fbc2 bl 8005c48 - 80064c4: 6138 str r0, [r7, #16] + 8006e42: 2008 movs r0, #8 + 8006e44: f7ff fbc2 bl 80065cc + 8006e48: 6138 str r0, [r7, #16] if (q == NULL) { - 80064c6: 693b ldr r3, [r7, #16] - 80064c8: 2b00 cmp r3, #0 - 80064ca: d109 bne.n 80064e0 + 8006e4a: 693b ldr r3, [r7, #16] + 8006e4c: 2b00 cmp r3, #0 + 8006e4e: d109 bne.n 8006e64 PBUF_POOL_IS_EMPTY(); - 80064cc: f7ff ff94 bl 80063f8 + 8006e50: f7ff ff94 bl 8006d7c /* free chain so far allocated */ if (p) { - 80064d0: 6a7b ldr r3, [r7, #36] @ 0x24 - 80064d2: 2b00 cmp r3, #0 - 80064d4: d002 beq.n 80064dc + 8006e54: 6a7b ldr r3, [r7, #36] @ 0x24 + 8006e56: 2b00 cmp r3, #0 + 8006e58: d002 beq.n 8006e60 pbuf_free(p); - 80064d6: 6a78 ldr r0, [r7, #36] @ 0x24 - 80064d8: f000 faa6 bl 8006a28 + 8006e5a: 6a78 ldr r0, [r7, #36] @ 0x24 + 8006e5c: f000 faa6 bl 80073ac } /* bail out unsuccessfully */ return NULL; - 80064dc: 2300 movs r3, #0 - 80064de: e0a6 b.n 800662e + 8006e60: 2300 movs r3, #0 + 8006e62: e0a6 b.n 8006fb2 } qlen = LWIP_MIN(rem_len, (u16_t)(PBUF_POOL_BUFSIZE_ALIGNED - LWIP_MEM_ALIGN_SIZE(offset))); - 80064e0: 8c7b ldrh r3, [r7, #34] @ 0x22 - 80064e2: 3303 adds r3, #3 - 80064e4: b29b uxth r3, r3 - 80064e6: f023 0303 bic.w r3, r3, #3 - 80064ea: b29b uxth r3, r3 - 80064ec: f5c3 7314 rsb r3, r3, #592 @ 0x250 - 80064f0: b29b uxth r3, r3 - 80064f2: 8b7a ldrh r2, [r7, #26] - 80064f4: 4293 cmp r3, r2 - 80064f6: bf28 it cs - 80064f8: 4613 movcs r3, r2 - 80064fa: 81fb strh r3, [r7, #14] + 8006e64: 8c7b ldrh r3, [r7, #34] @ 0x22 + 8006e66: 3303 adds r3, #3 + 8006e68: b29b uxth r3, r3 + 8006e6a: f023 0303 bic.w r3, r3, #3 + 8006e6e: b29b uxth r3, r3 + 8006e70: f5c3 7314 rsb r3, r3, #592 @ 0x250 + 8006e74: b29b uxth r3, r3 + 8006e76: 8b7a ldrh r2, [r7, #26] + 8006e78: 4293 cmp r3, r2 + 8006e7a: bf28 it cs + 8006e7c: 4613 movcs r3, r2 + 8006e7e: 81fb strh r3, [r7, #14] pbuf_init_alloced_pbuf(q, LWIP_MEM_ALIGN((void *)((u8_t *)q + SIZEOF_STRUCT_PBUF + offset)), - 80064fc: 8c7b ldrh r3, [r7, #34] @ 0x22 - 80064fe: 3310 adds r3, #16 - 8006500: 693a ldr r2, [r7, #16] - 8006502: 4413 add r3, r2 - 8006504: 3303 adds r3, #3 - 8006506: f023 0303 bic.w r3, r3, #3 - 800650a: 4618 mov r0, r3 - 800650c: 89f9 ldrh r1, [r7, #14] - 800650e: 8b7a ldrh r2, [r7, #26] - 8006510: 2300 movs r3, #0 - 8006512: 9301 str r3, [sp, #4] - 8006514: 887b ldrh r3, [r7, #2] - 8006516: 9300 str r3, [sp, #0] - 8006518: 460b mov r3, r1 - 800651a: 4601 mov r1, r0 - 800651c: 6938 ldr r0, [r7, #16] - 800651e: f7ff ff77 bl 8006410 + 8006e80: 8c7b ldrh r3, [r7, #34] @ 0x22 + 8006e82: 3310 adds r3, #16 + 8006e84: 693a ldr r2, [r7, #16] + 8006e86: 4413 add r3, r2 + 8006e88: 3303 adds r3, #3 + 8006e8a: f023 0303 bic.w r3, r3, #3 + 8006e8e: 4618 mov r0, r3 + 8006e90: 89f9 ldrh r1, [r7, #14] + 8006e92: 8b7a ldrh r2, [r7, #26] + 8006e94: 2300 movs r3, #0 + 8006e96: 9301 str r3, [sp, #4] + 8006e98: 887b ldrh r3, [r7, #2] + 8006e9a: 9300 str r3, [sp, #0] + 8006e9c: 460b mov r3, r1 + 8006e9e: 4601 mov r1, r0 + 8006ea0: 6938 ldr r0, [r7, #16] + 8006ea2: f7ff ff77 bl 8006d94 rem_len, qlen, type, 0); LWIP_ASSERT("pbuf_alloc: pbuf q->payload properly aligned", - 8006522: 693b ldr r3, [r7, #16] - 8006524: 685b ldr r3, [r3, #4] - 8006526: f003 0303 and.w r3, r3, #3 - 800652a: 2b00 cmp r3, #0 - 800652c: d006 beq.n 800653c - 800652e: 4b42 ldr r3, [pc, #264] @ (8006638 ) - 8006530: f44f 7280 mov.w r2, #256 @ 0x100 - 8006534: 4941 ldr r1, [pc, #260] @ (800663c ) - 8006536: 4842 ldr r0, [pc, #264] @ (8006640 ) - 8006538: f00b f85e bl 80115f8 + 8006ea6: 693b ldr r3, [r7, #16] + 8006ea8: 685b ldr r3, [r3, #4] + 8006eaa: f003 0303 and.w r3, r3, #3 + 8006eae: 2b00 cmp r3, #0 + 8006eb0: d006 beq.n 8006ec0 + 8006eb2: 4b42 ldr r3, [pc, #264] @ (8006fbc ) + 8006eb4: f44f 7280 mov.w r2, #256 @ 0x100 + 8006eb8: 4941 ldr r1, [pc, #260] @ (8006fc0 ) + 8006eba: 4842 ldr r0, [pc, #264] @ (8006fc4 ) + 8006ebc: f00b f85e bl 8011f7c ((mem_ptr_t)q->payload % MEM_ALIGNMENT) == 0); LWIP_ASSERT("PBUF_POOL_BUFSIZE must be bigger than MEM_ALIGNMENT", - 800653c: 8c7b ldrh r3, [r7, #34] @ 0x22 - 800653e: 3303 adds r3, #3 - 8006540: f023 0303 bic.w r3, r3, #3 - 8006544: f5b3 7f14 cmp.w r3, #592 @ 0x250 - 8006548: d106 bne.n 8006558 - 800654a: 4b3b ldr r3, [pc, #236] @ (8006638 ) - 800654c: f44f 7281 mov.w r2, #258 @ 0x102 - 8006550: 493c ldr r1, [pc, #240] @ (8006644 ) - 8006552: 483b ldr r0, [pc, #236] @ (8006640 ) - 8006554: f00b f850 bl 80115f8 + 8006ec0: 8c7b ldrh r3, [r7, #34] @ 0x22 + 8006ec2: 3303 adds r3, #3 + 8006ec4: f023 0303 bic.w r3, r3, #3 + 8006ec8: f5b3 7f14 cmp.w r3, #592 @ 0x250 + 8006ecc: d106 bne.n 8006edc + 8006ece: 4b3b ldr r3, [pc, #236] @ (8006fbc ) + 8006ed0: f44f 7281 mov.w r2, #258 @ 0x102 + 8006ed4: 493c ldr r1, [pc, #240] @ (8006fc8 ) + 8006ed6: 483b ldr r0, [pc, #236] @ (8006fc4 ) + 8006ed8: f00b f850 bl 8011f7c (PBUF_POOL_BUFSIZE_ALIGNED - LWIP_MEM_ALIGN_SIZE(offset)) > 0 ); if (p == NULL) { - 8006558: 6a7b ldr r3, [r7, #36] @ 0x24 - 800655a: 2b00 cmp r3, #0 - 800655c: d102 bne.n 8006564 + 8006edc: 6a7b ldr r3, [r7, #36] @ 0x24 + 8006ede: 2b00 cmp r3, #0 + 8006ee0: d102 bne.n 8006ee8 /* allocated head of pbuf chain (into p) */ p = q; - 800655e: 693b ldr r3, [r7, #16] - 8006560: 627b str r3, [r7, #36] @ 0x24 - 8006562: e002 b.n 800656a + 8006ee2: 693b ldr r3, [r7, #16] + 8006ee4: 627b str r3, [r7, #36] @ 0x24 + 8006ee6: e002 b.n 8006eee } else { /* make previous pbuf point to this pbuf */ last->next = q; - 8006564: 69fb ldr r3, [r7, #28] - 8006566: 693a ldr r2, [r7, #16] - 8006568: 601a str r2, [r3, #0] + 8006ee8: 69fb ldr r3, [r7, #28] + 8006eea: 693a ldr r2, [r7, #16] + 8006eec: 601a str r2, [r3, #0] } last = q; - 800656a: 693b ldr r3, [r7, #16] - 800656c: 61fb str r3, [r7, #28] + 8006eee: 693b ldr r3, [r7, #16] + 8006ef0: 61fb str r3, [r7, #28] rem_len = (u16_t)(rem_len - qlen); - 800656e: 8b7a ldrh r2, [r7, #26] - 8006570: 89fb ldrh r3, [r7, #14] - 8006572: 1ad3 subs r3, r2, r3 - 8006574: 837b strh r3, [r7, #26] + 8006ef2: 8b7a ldrh r2, [r7, #26] + 8006ef4: 89fb ldrh r3, [r7, #14] + 8006ef6: 1ad3 subs r3, r2, r3 + 8006ef8: 837b strh r3, [r7, #26] offset = 0; - 8006576: 2300 movs r3, #0 - 8006578: 847b strh r3, [r7, #34] @ 0x22 + 8006efa: 2300 movs r3, #0 + 8006efc: 847b strh r3, [r7, #34] @ 0x22 } while (rem_len > 0); - 800657a: 8b7b ldrh r3, [r7, #26] - 800657c: 2b00 cmp r3, #0 - 800657e: d19e bne.n 80064be + 8006efe: 8b7b ldrh r3, [r7, #26] + 8006f00: 2b00 cmp r3, #0 + 8006f02: d19e bne.n 8006e42 break; - 8006580: e054 b.n 800662c + 8006f04: e054 b.n 8006fb0 } case PBUF_RAM: { u16_t payload_len = (u16_t)(LWIP_MEM_ALIGN_SIZE(offset) + LWIP_MEM_ALIGN_SIZE(length)); - 8006582: 8c7b ldrh r3, [r7, #34] @ 0x22 - 8006584: 3303 adds r3, #3 - 8006586: b29b uxth r3, r3 - 8006588: f023 0303 bic.w r3, r3, #3 - 800658c: b29a uxth r2, r3 - 800658e: 88bb ldrh r3, [r7, #4] - 8006590: 3303 adds r3, #3 - 8006592: b29b uxth r3, r3 - 8006594: f023 0303 bic.w r3, r3, #3 - 8006598: b29b uxth r3, r3 - 800659a: 4413 add r3, r2 - 800659c: 833b strh r3, [r7, #24] + 8006f06: 8c7b ldrh r3, [r7, #34] @ 0x22 + 8006f08: 3303 adds r3, #3 + 8006f0a: b29b uxth r3, r3 + 8006f0c: f023 0303 bic.w r3, r3, #3 + 8006f10: b29a uxth r2, r3 + 8006f12: 88bb ldrh r3, [r7, #4] + 8006f14: 3303 adds r3, #3 + 8006f16: b29b uxth r3, r3 + 8006f18: f023 0303 bic.w r3, r3, #3 + 8006f1c: b29b uxth r3, r3 + 8006f1e: 4413 add r3, r2 + 8006f20: 833b strh r3, [r7, #24] mem_size_t alloc_len = (mem_size_t)(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF) + payload_len); - 800659e: 8b3b ldrh r3, [r7, #24] - 80065a0: 3310 adds r3, #16 - 80065a2: 617b str r3, [r7, #20] + 8006f22: 8b3b ldrh r3, [r7, #24] + 8006f24: 3310 adds r3, #16 + 8006f26: 617b str r3, [r7, #20] /* bug #50040: Check for integer overflow when calculating alloc_len */ if ((payload_len < LWIP_MEM_ALIGN_SIZE(length)) || - 80065a4: 8b3a ldrh r2, [r7, #24] - 80065a6: 88bb ldrh r3, [r7, #4] - 80065a8: 3303 adds r3, #3 - 80065aa: f023 0303 bic.w r3, r3, #3 - 80065ae: 429a cmp r2, r3 - 80065b0: d306 bcc.n 80065c0 + 8006f28: 8b3a ldrh r2, [r7, #24] + 8006f2a: 88bb ldrh r3, [r7, #4] + 8006f2c: 3303 adds r3, #3 + 8006f2e: f023 0303 bic.w r3, r3, #3 + 8006f32: 429a cmp r2, r3 + 8006f34: d306 bcc.n 8006f44 (alloc_len < LWIP_MEM_ALIGN_SIZE(length))) { - 80065b2: 88bb ldrh r3, [r7, #4] - 80065b4: 3303 adds r3, #3 - 80065b6: f023 0303 bic.w r3, r3, #3 + 8006f36: 88bb ldrh r3, [r7, #4] + 8006f38: 3303 adds r3, #3 + 8006f3a: f023 0303 bic.w r3, r3, #3 if ((payload_len < LWIP_MEM_ALIGN_SIZE(length)) || - 80065ba: 697a ldr r2, [r7, #20] - 80065bc: 429a cmp r2, r3 - 80065be: d201 bcs.n 80065c4 + 8006f3e: 697a ldr r2, [r7, #20] + 8006f40: 429a cmp r2, r3 + 8006f42: d201 bcs.n 8006f48 return NULL; - 80065c0: 2300 movs r3, #0 - 80065c2: e034 b.n 800662e + 8006f44: 2300 movs r3, #0 + 8006f46: e034 b.n 8006fb2 } /* If pbuf is to be allocated in RAM, allocate memory for it. */ p = (struct pbuf *)mem_malloc(alloc_len); - 80065c4: 6978 ldr r0, [r7, #20] - 80065c6: f7ff f9b9 bl 800593c - 80065ca: 6278 str r0, [r7, #36] @ 0x24 + 8006f48: 6978 ldr r0, [r7, #20] + 8006f4a: f7ff f9b9 bl 80062c0 + 8006f4e: 6278 str r0, [r7, #36] @ 0x24 if (p == NULL) { - 80065cc: 6a7b ldr r3, [r7, #36] @ 0x24 - 80065ce: 2b00 cmp r3, #0 - 80065d0: d101 bne.n 80065d6 + 8006f50: 6a7b ldr r3, [r7, #36] @ 0x24 + 8006f52: 2b00 cmp r3, #0 + 8006f54: d101 bne.n 8006f5a return NULL; - 80065d2: 2300 movs r3, #0 - 80065d4: e02b b.n 800662e + 8006f56: 2300 movs r3, #0 + 8006f58: e02b b.n 8006fb2 } pbuf_init_alloced_pbuf(p, LWIP_MEM_ALIGN((void *)((u8_t *)p + SIZEOF_STRUCT_PBUF + offset)), - 80065d6: 8c7b ldrh r3, [r7, #34] @ 0x22 - 80065d8: 3310 adds r3, #16 - 80065da: 6a7a ldr r2, [r7, #36] @ 0x24 - 80065dc: 4413 add r3, r2 - 80065de: 3303 adds r3, #3 - 80065e0: f023 0303 bic.w r3, r3, #3 - 80065e4: 4618 mov r0, r3 - 80065e6: 88b9 ldrh r1, [r7, #4] - 80065e8: 88ba ldrh r2, [r7, #4] - 80065ea: 2300 movs r3, #0 - 80065ec: 9301 str r3, [sp, #4] - 80065ee: 887b ldrh r3, [r7, #2] - 80065f0: 9300 str r3, [sp, #0] - 80065f2: 460b mov r3, r1 - 80065f4: 4601 mov r1, r0 - 80065f6: 6a78 ldr r0, [r7, #36] @ 0x24 - 80065f8: f7ff ff0a bl 8006410 + 8006f5a: 8c7b ldrh r3, [r7, #34] @ 0x22 + 8006f5c: 3310 adds r3, #16 + 8006f5e: 6a7a ldr r2, [r7, #36] @ 0x24 + 8006f60: 4413 add r3, r2 + 8006f62: 3303 adds r3, #3 + 8006f64: f023 0303 bic.w r3, r3, #3 + 8006f68: 4618 mov r0, r3 + 8006f6a: 88b9 ldrh r1, [r7, #4] + 8006f6c: 88ba ldrh r2, [r7, #4] + 8006f6e: 2300 movs r3, #0 + 8006f70: 9301 str r3, [sp, #4] + 8006f72: 887b ldrh r3, [r7, #2] + 8006f74: 9300 str r3, [sp, #0] + 8006f76: 460b mov r3, r1 + 8006f78: 4601 mov r1, r0 + 8006f7a: 6a78 ldr r0, [r7, #36] @ 0x24 + 8006f7c: f7ff ff0a bl 8006d94 length, length, type, 0); LWIP_ASSERT("pbuf_alloc: pbuf->payload properly aligned", - 80065fc: 6a7b ldr r3, [r7, #36] @ 0x24 - 80065fe: 685b ldr r3, [r3, #4] - 8006600: f003 0303 and.w r3, r3, #3 - 8006604: 2b00 cmp r3, #0 - 8006606: d010 beq.n 800662a - 8006608: 4b0b ldr r3, [pc, #44] @ (8006638 ) - 800660a: f44f 7291 mov.w r2, #290 @ 0x122 - 800660e: 490e ldr r1, [pc, #56] @ (8006648 ) - 8006610: 480b ldr r0, [pc, #44] @ (8006640 ) - 8006612: f00a fff1 bl 80115f8 + 8006f80: 6a7b ldr r3, [r7, #36] @ 0x24 + 8006f82: 685b ldr r3, [r3, #4] + 8006f84: f003 0303 and.w r3, r3, #3 + 8006f88: 2b00 cmp r3, #0 + 8006f8a: d010 beq.n 8006fae + 8006f8c: 4b0b ldr r3, [pc, #44] @ (8006fbc ) + 8006f8e: f44f 7291 mov.w r2, #290 @ 0x122 + 8006f92: 490e ldr r1, [pc, #56] @ (8006fcc ) + 8006f94: 480b ldr r0, [pc, #44] @ (8006fc4 ) + 8006f96: f00a fff1 bl 8011f7c ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); break; - 8006616: e008 b.n 800662a + 8006f9a: e008 b.n 8006fae } default: LWIP_ASSERT("pbuf_alloc: erroneous type", 0); - 8006618: 4b07 ldr r3, [pc, #28] @ (8006638 ) - 800661a: f240 1227 movw r2, #295 @ 0x127 - 800661e: 490b ldr r1, [pc, #44] @ (800664c ) - 8006620: 4807 ldr r0, [pc, #28] @ (8006640 ) - 8006622: f00a ffe9 bl 80115f8 + 8006f9c: 4b07 ldr r3, [pc, #28] @ (8006fbc ) + 8006f9e: f240 1227 movw r2, #295 @ 0x127 + 8006fa2: 490b ldr r1, [pc, #44] @ (8006fd0 ) + 8006fa4: 4807 ldr r0, [pc, #28] @ (8006fc4 ) + 8006fa6: f00a ffe9 bl 8011f7c return NULL; - 8006626: 2300 movs r3, #0 - 8006628: e001 b.n 800662e + 8006faa: 2300 movs r3, #0 + 8006fac: e001 b.n 8006fb2 break; - 800662a: bf00 nop + 8006fae: bf00 nop } LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc(length=%"U16_F") == %p\n", length, (void *)p)); return p; - 800662c: 6a7b ldr r3, [r7, #36] @ 0x24 + 8006fb0: 6a7b ldr r3, [r7, #36] @ 0x24 } - 800662e: 4618 mov r0, r3 - 8006630: 3728 adds r7, #40 @ 0x28 - 8006632: 46bd mov sp, r7 - 8006634: bd80 pop {r7, pc} - 8006636: bf00 nop - 8006638: 080165b4 .word 0x080165b4 - 800663c: 080165e4 .word 0x080165e4 - 8006640: 08016614 .word 0x08016614 - 8006644: 0801663c .word 0x0801663c - 8006648: 08016670 .word 0x08016670 - 800664c: 0801669c .word 0x0801669c + 8006fb2: 4618 mov r0, r3 + 8006fb4: 3728 adds r7, #40 @ 0x28 + 8006fb6: 46bd mov sp, r7 + 8006fb8: bd80 pop {r7, pc} + 8006fba: bf00 nop + 8006fbc: 08016f34 .word 0x08016f34 + 8006fc0: 08016f64 .word 0x08016f64 + 8006fc4: 08016f94 .word 0x08016f94 + 8006fc8: 08016fbc .word 0x08016fbc + 8006fcc: 08016ff0 .word 0x08016ff0 + 8006fd0: 0801701c .word 0x0801701c -08006650 : +08006fd4 : * * @return the allocated pbuf. */ struct pbuf * pbuf_alloc_reference(void *payload, u16_t length, pbuf_type type) { - 8006650: b580 push {r7, lr} - 8006652: b086 sub sp, #24 - 8006654: af02 add r7, sp, #8 - 8006656: 6078 str r0, [r7, #4] - 8006658: 460b mov r3, r1 - 800665a: 807b strh r3, [r7, #2] - 800665c: 4613 mov r3, r2 - 800665e: 803b strh r3, [r7, #0] + 8006fd4: b580 push {r7, lr} + 8006fd6: b086 sub sp, #24 + 8006fd8: af02 add r7, sp, #8 + 8006fda: 6078 str r0, [r7, #4] + 8006fdc: 460b mov r3, r1 + 8006fde: 807b strh r3, [r7, #2] + 8006fe0: 4613 mov r3, r2 + 8006fe2: 803b strh r3, [r7, #0] struct pbuf *p; LWIP_ASSERT("invalid pbuf_type", (type == PBUF_REF) || (type == PBUF_ROM)); - 8006660: 883b ldrh r3, [r7, #0] - 8006662: 2b41 cmp r3, #65 @ 0x41 - 8006664: d009 beq.n 800667a - 8006666: 883b ldrh r3, [r7, #0] - 8006668: 2b01 cmp r3, #1 - 800666a: d006 beq.n 800667a - 800666c: 4b0f ldr r3, [pc, #60] @ (80066ac ) - 800666e: f44f 72a5 mov.w r2, #330 @ 0x14a - 8006672: 490f ldr r1, [pc, #60] @ (80066b0 ) - 8006674: 480f ldr r0, [pc, #60] @ (80066b4 ) - 8006676: f00a ffbf bl 80115f8 + 8006fe4: 883b ldrh r3, [r7, #0] + 8006fe6: 2b41 cmp r3, #65 @ 0x41 + 8006fe8: d009 beq.n 8006ffe + 8006fea: 883b ldrh r3, [r7, #0] + 8006fec: 2b01 cmp r3, #1 + 8006fee: d006 beq.n 8006ffe + 8006ff0: 4b0f ldr r3, [pc, #60] @ (8007030 ) + 8006ff2: f44f 72a5 mov.w r2, #330 @ 0x14a + 8006ff6: 490f ldr r1, [pc, #60] @ (8007034 ) + 8006ff8: 480f ldr r0, [pc, #60] @ (8007038 ) + 8006ffa: f00a ffbf bl 8011f7c /* only allocate memory for the pbuf structure */ p = (struct pbuf *)memp_malloc(MEMP_PBUF); - 800667a: 2007 movs r0, #7 - 800667c: f7ff fae4 bl 8005c48 - 8006680: 60f8 str r0, [r7, #12] + 8006ffe: 2007 movs r0, #7 + 8007000: f7ff fae4 bl 80065cc + 8007004: 60f8 str r0, [r7, #12] if (p == NULL) { - 8006682: 68fb ldr r3, [r7, #12] - 8006684: 2b00 cmp r3, #0 - 8006686: d101 bne.n 800668c + 8007006: 68fb ldr r3, [r7, #12] + 8007008: 2b00 cmp r3, #0 + 800700a: d101 bne.n 8007010 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("pbuf_alloc_reference: Could not allocate MEMP_PBUF for PBUF_%s.\n", (type == PBUF_ROM) ? "ROM" : "REF")); return NULL; - 8006688: 2300 movs r3, #0 - 800668a: e00b b.n 80066a4 + 800700c: 2300 movs r3, #0 + 800700e: e00b b.n 8007028 } pbuf_init_alloced_pbuf(p, payload, length, length, type, 0); - 800668c: 8879 ldrh r1, [r7, #2] - 800668e: 887a ldrh r2, [r7, #2] - 8006690: 2300 movs r3, #0 - 8006692: 9301 str r3, [sp, #4] - 8006694: 883b ldrh r3, [r7, #0] - 8006696: 9300 str r3, [sp, #0] - 8006698: 460b mov r3, r1 - 800669a: 6879 ldr r1, [r7, #4] - 800669c: 68f8 ldr r0, [r7, #12] - 800669e: f7ff feb7 bl 8006410 + 8007010: 8879 ldrh r1, [r7, #2] + 8007012: 887a ldrh r2, [r7, #2] + 8007014: 2300 movs r3, #0 + 8007016: 9301 str r3, [sp, #4] + 8007018: 883b ldrh r3, [r7, #0] + 800701a: 9300 str r3, [sp, #0] + 800701c: 460b mov r3, r1 + 800701e: 6879 ldr r1, [r7, #4] + 8007020: 68f8 ldr r0, [r7, #12] + 8007022: f7ff feb7 bl 8006d94 return p; - 80066a2: 68fb ldr r3, [r7, #12] + 8007026: 68fb ldr r3, [r7, #12] } - 80066a4: 4618 mov r0, r3 - 80066a6: 3710 adds r7, #16 - 80066a8: 46bd mov sp, r7 - 80066aa: bd80 pop {r7, pc} - 80066ac: 080165b4 .word 0x080165b4 - 80066b0: 080166b8 .word 0x080166b8 - 80066b4: 08016614 .word 0x08016614 + 8007028: 4618 mov r0, r3 + 800702a: 3710 adds r7, #16 + 800702c: 46bd mov sp, r7 + 800702e: bd80 pop {r7, pc} + 8007030: 08016f34 .word 0x08016f34 + 8007034: 08017038 .word 0x08017038 + 8007038: 08016f94 .word 0x08016f94 -080066b8 : +0800703c : * big enough to hold 'length' plus the header size */ struct pbuf * pbuf_alloced_custom(pbuf_layer l, u16_t length, pbuf_type type, struct pbuf_custom *p, void *payload_mem, u16_t payload_mem_len) { - 80066b8: b580 push {r7, lr} - 80066ba: b088 sub sp, #32 - 80066bc: af02 add r7, sp, #8 - 80066be: 607b str r3, [r7, #4] - 80066c0: 4603 mov r3, r0 - 80066c2: 73fb strb r3, [r7, #15] - 80066c4: 460b mov r3, r1 - 80066c6: 81bb strh r3, [r7, #12] - 80066c8: 4613 mov r3, r2 - 80066ca: 817b strh r3, [r7, #10] + 800703c: b580 push {r7, lr} + 800703e: b088 sub sp, #32 + 8007040: af02 add r7, sp, #8 + 8007042: 607b str r3, [r7, #4] + 8007044: 4603 mov r3, r0 + 8007046: 73fb strb r3, [r7, #15] + 8007048: 460b mov r3, r1 + 800704a: 81bb strh r3, [r7, #12] + 800704c: 4613 mov r3, r2 + 800704e: 817b strh r3, [r7, #10] u16_t offset = (u16_t)l; - 80066cc: 7bfb ldrb r3, [r7, #15] - 80066ce: 827b strh r3, [r7, #18] + 8007050: 7bfb ldrb r3, [r7, #15] + 8007052: 827b strh r3, [r7, #18] void *payload; LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloced_custom(length=%"U16_F")\n", length)); if (LWIP_MEM_ALIGN_SIZE(offset) + length > payload_mem_len) { - 80066d0: 8a7b ldrh r3, [r7, #18] - 80066d2: 3303 adds r3, #3 - 80066d4: f023 0203 bic.w r2, r3, #3 - 80066d8: 89bb ldrh r3, [r7, #12] - 80066da: 441a add r2, r3 - 80066dc: 8cbb ldrh r3, [r7, #36] @ 0x24 - 80066de: 429a cmp r2, r3 - 80066e0: d901 bls.n 80066e6 + 8007054: 8a7b ldrh r3, [r7, #18] + 8007056: 3303 adds r3, #3 + 8007058: f023 0203 bic.w r2, r3, #3 + 800705c: 89bb ldrh r3, [r7, #12] + 800705e: 441a add r2, r3 + 8007060: 8cbb ldrh r3, [r7, #36] @ 0x24 + 8007062: 429a cmp r2, r3 + 8007064: d901 bls.n 800706a LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_LEVEL_WARNING, ("pbuf_alloced_custom(length=%"U16_F") buffer too short\n", length)); return NULL; - 80066e2: 2300 movs r3, #0 - 80066e4: e018 b.n 8006718 + 8007066: 2300 movs r3, #0 + 8007068: e018 b.n 800709c } if (payload_mem != NULL) { - 80066e6: 6a3b ldr r3, [r7, #32] - 80066e8: 2b00 cmp r3, #0 - 80066ea: d007 beq.n 80066fc + 800706a: 6a3b ldr r3, [r7, #32] + 800706c: 2b00 cmp r3, #0 + 800706e: d007 beq.n 8007080 payload = (u8_t *)payload_mem + LWIP_MEM_ALIGN_SIZE(offset); - 80066ec: 8a7b ldrh r3, [r7, #18] - 80066ee: 3303 adds r3, #3 - 80066f0: f023 0303 bic.w r3, r3, #3 - 80066f4: 6a3a ldr r2, [r7, #32] - 80066f6: 4413 add r3, r2 - 80066f8: 617b str r3, [r7, #20] - 80066fa: e001 b.n 8006700 + 8007070: 8a7b ldrh r3, [r7, #18] + 8007072: 3303 adds r3, #3 + 8007074: f023 0303 bic.w r3, r3, #3 + 8007078: 6a3a ldr r2, [r7, #32] + 800707a: 4413 add r3, r2 + 800707c: 617b str r3, [r7, #20] + 800707e: e001 b.n 8007084 } else { payload = NULL; - 80066fc: 2300 movs r3, #0 - 80066fe: 617b str r3, [r7, #20] + 8007080: 2300 movs r3, #0 + 8007082: 617b str r3, [r7, #20] } pbuf_init_alloced_pbuf(&p->pbuf, payload, length, length, type, PBUF_FLAG_IS_CUSTOM); - 8006700: 6878 ldr r0, [r7, #4] - 8006702: 89b9 ldrh r1, [r7, #12] - 8006704: 89ba ldrh r2, [r7, #12] - 8006706: 2302 movs r3, #2 - 8006708: 9301 str r3, [sp, #4] - 800670a: 897b ldrh r3, [r7, #10] - 800670c: 9300 str r3, [sp, #0] - 800670e: 460b mov r3, r1 - 8006710: 6979 ldr r1, [r7, #20] - 8006712: f7ff fe7d bl 8006410 + 8007084: 6878 ldr r0, [r7, #4] + 8007086: 89b9 ldrh r1, [r7, #12] + 8007088: 89ba ldrh r2, [r7, #12] + 800708a: 2302 movs r3, #2 + 800708c: 9301 str r3, [sp, #4] + 800708e: 897b ldrh r3, [r7, #10] + 8007090: 9300 str r3, [sp, #0] + 8007092: 460b mov r3, r1 + 8007094: 6979 ldr r1, [r7, #20] + 8007096: f7ff fe7d bl 8006d94 return &p->pbuf; - 8006716: 687b ldr r3, [r7, #4] + 800709a: 687b ldr r3, [r7, #4] } - 8006718: 4618 mov r0, r3 - 800671a: 3718 adds r7, #24 - 800671c: 46bd mov sp, r7 - 800671e: bd80 pop {r7, pc} + 800709c: 4618 mov r0, r3 + 800709e: 3718 adds r7, #24 + 80070a0: 46bd mov sp, r7 + 80070a2: bd80 pop {r7, pc} -08006720 : +080070a4 : * * @note Despite its name, pbuf_realloc cannot grow the size of a pbuf (chain). */ void pbuf_realloc(struct pbuf *p, u16_t new_len) { - 8006720: b580 push {r7, lr} - 8006722: b084 sub sp, #16 - 8006724: af00 add r7, sp, #0 - 8006726: 6078 str r0, [r7, #4] - 8006728: 460b mov r3, r1 - 800672a: 807b strh r3, [r7, #2] + 80070a4: b580 push {r7, lr} + 80070a6: b084 sub sp, #16 + 80070a8: af00 add r7, sp, #0 + 80070aa: 6078 str r0, [r7, #4] + 80070ac: 460b mov r3, r1 + 80070ae: 807b strh r3, [r7, #2] struct pbuf *q; u16_t rem_len; /* remaining length */ u16_t shrink; LWIP_ASSERT("pbuf_realloc: p != NULL", p != NULL); - 800672c: 687b ldr r3, [r7, #4] - 800672e: 2b00 cmp r3, #0 - 8006730: d106 bne.n 8006740 - 8006732: 4b39 ldr r3, [pc, #228] @ (8006818 ) - 8006734: f44f 72cc mov.w r2, #408 @ 0x198 - 8006738: 4938 ldr r1, [pc, #224] @ (800681c ) - 800673a: 4839 ldr r0, [pc, #228] @ (8006820 ) - 800673c: f00a ff5c bl 80115f8 + 80070b0: 687b ldr r3, [r7, #4] + 80070b2: 2b00 cmp r3, #0 + 80070b4: d106 bne.n 80070c4 + 80070b6: 4b39 ldr r3, [pc, #228] @ (800719c ) + 80070b8: f44f 72cc mov.w r2, #408 @ 0x198 + 80070bc: 4938 ldr r1, [pc, #224] @ (80071a0 ) + 80070be: 4839 ldr r0, [pc, #228] @ (80071a4 ) + 80070c0: f00a ff5c bl 8011f7c /* desired length larger than current length? */ if (new_len >= p->tot_len) { - 8006740: 687b ldr r3, [r7, #4] - 8006742: 891b ldrh r3, [r3, #8] - 8006744: 887a ldrh r2, [r7, #2] - 8006746: 429a cmp r2, r3 - 8006748: d261 bcs.n 800680e + 80070c4: 687b ldr r3, [r7, #4] + 80070c6: 891b ldrh r3, [r3, #8] + 80070c8: 887a ldrh r2, [r7, #2] + 80070ca: 429a cmp r2, r3 + 80070cc: d261 bcs.n 8007192 return; } /* the pbuf chain grows by (new_len - p->tot_len) bytes * (which may be negative in case of shrinking) */ shrink = (u16_t)(p->tot_len - new_len); - 800674a: 687b ldr r3, [r7, #4] - 800674c: 891a ldrh r2, [r3, #8] - 800674e: 887b ldrh r3, [r7, #2] - 8006750: 1ad3 subs r3, r2, r3 - 8006752: 813b strh r3, [r7, #8] + 80070ce: 687b ldr r3, [r7, #4] + 80070d0: 891a ldrh r2, [r3, #8] + 80070d2: 887b ldrh r3, [r7, #2] + 80070d4: 1ad3 subs r3, r2, r3 + 80070d6: 813b strh r3, [r7, #8] /* first, step over any pbufs that should remain in the chain */ rem_len = new_len; - 8006754: 887b ldrh r3, [r7, #2] - 8006756: 817b strh r3, [r7, #10] + 80070d8: 887b ldrh r3, [r7, #2] + 80070da: 817b strh r3, [r7, #10] q = p; - 8006758: 687b ldr r3, [r7, #4] - 800675a: 60fb str r3, [r7, #12] + 80070dc: 687b ldr r3, [r7, #4] + 80070de: 60fb str r3, [r7, #12] /* should this pbuf be kept? */ while (rem_len > q->len) { - 800675c: e018 b.n 8006790 + 80070e0: e018 b.n 8007114 /* decrease remaining length by pbuf length */ rem_len = (u16_t)(rem_len - q->len); - 800675e: 68fb ldr r3, [r7, #12] - 8006760: 895b ldrh r3, [r3, #10] - 8006762: 897a ldrh r2, [r7, #10] - 8006764: 1ad3 subs r3, r2, r3 - 8006766: 817b strh r3, [r7, #10] + 80070e2: 68fb ldr r3, [r7, #12] + 80070e4: 895b ldrh r3, [r3, #10] + 80070e6: 897a ldrh r2, [r7, #10] + 80070e8: 1ad3 subs r3, r2, r3 + 80070ea: 817b strh r3, [r7, #10] /* decrease total length indicator */ q->tot_len = (u16_t)(q->tot_len - shrink); - 8006768: 68fb ldr r3, [r7, #12] - 800676a: 891a ldrh r2, [r3, #8] - 800676c: 893b ldrh r3, [r7, #8] - 800676e: 1ad3 subs r3, r2, r3 - 8006770: b29a uxth r2, r3 - 8006772: 68fb ldr r3, [r7, #12] - 8006774: 811a strh r2, [r3, #8] + 80070ec: 68fb ldr r3, [r7, #12] + 80070ee: 891a ldrh r2, [r3, #8] + 80070f0: 893b ldrh r3, [r7, #8] + 80070f2: 1ad3 subs r3, r2, r3 + 80070f4: b29a uxth r2, r3 + 80070f6: 68fb ldr r3, [r7, #12] + 80070f8: 811a strh r2, [r3, #8] /* proceed to next pbuf in chain */ q = q->next; - 8006776: 68fb ldr r3, [r7, #12] - 8006778: 681b ldr r3, [r3, #0] - 800677a: 60fb str r3, [r7, #12] + 80070fa: 68fb ldr r3, [r7, #12] + 80070fc: 681b ldr r3, [r3, #0] + 80070fe: 60fb str r3, [r7, #12] LWIP_ASSERT("pbuf_realloc: q != NULL", q != NULL); - 800677c: 68fb ldr r3, [r7, #12] - 800677e: 2b00 cmp r3, #0 - 8006780: d106 bne.n 8006790 - 8006782: 4b25 ldr r3, [pc, #148] @ (8006818 ) - 8006784: f240 12af movw r2, #431 @ 0x1af - 8006788: 4926 ldr r1, [pc, #152] @ (8006824 ) - 800678a: 4825 ldr r0, [pc, #148] @ (8006820 ) - 800678c: f00a ff34 bl 80115f8 + 8007100: 68fb ldr r3, [r7, #12] + 8007102: 2b00 cmp r3, #0 + 8007104: d106 bne.n 8007114 + 8007106: 4b25 ldr r3, [pc, #148] @ (800719c ) + 8007108: f240 12af movw r2, #431 @ 0x1af + 800710c: 4926 ldr r1, [pc, #152] @ (80071a8 ) + 800710e: 4825 ldr r0, [pc, #148] @ (80071a4 ) + 8007110: f00a ff34 bl 8011f7c while (rem_len > q->len) { - 8006790: 68fb ldr r3, [r7, #12] - 8006792: 895b ldrh r3, [r3, #10] - 8006794: 897a ldrh r2, [r7, #10] - 8006796: 429a cmp r2, r3 - 8006798: d8e1 bhi.n 800675e + 8007114: 68fb ldr r3, [r7, #12] + 8007116: 895b ldrh r3, [r3, #10] + 8007118: 897a ldrh r2, [r7, #10] + 800711a: 429a cmp r2, r3 + 800711c: d8e1 bhi.n 80070e2 /* we have now reached the new last pbuf (in q) */ /* rem_len == desired length for pbuf q */ /* shrink allocated memory for PBUF_RAM */ /* (other types merely adjust their length fields */ if (pbuf_match_allocsrc(q, PBUF_TYPE_ALLOC_SRC_MASK_STD_HEAP) && (rem_len != q->len) - 800679a: 68fb ldr r3, [r7, #12] - 800679c: 7b1b ldrb r3, [r3, #12] - 800679e: f003 030f and.w r3, r3, #15 - 80067a2: 2b00 cmp r3, #0 - 80067a4: d11f bne.n 80067e6 - 80067a6: 68fb ldr r3, [r7, #12] - 80067a8: 895b ldrh r3, [r3, #10] - 80067aa: 897a ldrh r2, [r7, #10] - 80067ac: 429a cmp r2, r3 - 80067ae: d01a beq.n 80067e6 + 800711e: 68fb ldr r3, [r7, #12] + 8007120: 7b1b ldrb r3, [r3, #12] + 8007122: f003 030f and.w r3, r3, #15 + 8007126: 2b00 cmp r3, #0 + 8007128: d11f bne.n 800716a + 800712a: 68fb ldr r3, [r7, #12] + 800712c: 895b ldrh r3, [r3, #10] + 800712e: 897a ldrh r2, [r7, #10] + 8007130: 429a cmp r2, r3 + 8007132: d01a beq.n 800716a #if LWIP_SUPPORT_CUSTOM_PBUF && ((q->flags & PBUF_FLAG_IS_CUSTOM) == 0) - 80067b0: 68fb ldr r3, [r7, #12] - 80067b2: 7b5b ldrb r3, [r3, #13] - 80067b4: f003 0302 and.w r3, r3, #2 - 80067b8: 2b00 cmp r3, #0 - 80067ba: d114 bne.n 80067e6 + 8007134: 68fb ldr r3, [r7, #12] + 8007136: 7b5b ldrb r3, [r3, #13] + 8007138: f003 0302 and.w r3, r3, #2 + 800713c: 2b00 cmp r3, #0 + 800713e: d114 bne.n 800716a #endif /* LWIP_SUPPORT_CUSTOM_PBUF */ ) { /* reallocate and adjust the length of the pbuf that will be split */ q = (struct pbuf *)mem_trim(q, (mem_size_t)(((u8_t *)q->payload - (u8_t *)q) + rem_len)); - 80067bc: 68fb ldr r3, [r7, #12] - 80067be: 685a ldr r2, [r3, #4] - 80067c0: 68fb ldr r3, [r7, #12] - 80067c2: 1ad2 subs r2, r2, r3 - 80067c4: 897b ldrh r3, [r7, #10] - 80067c6: 4413 add r3, r2 - 80067c8: 4619 mov r1, r3 - 80067ca: 68f8 ldr r0, [r7, #12] - 80067cc: f7fe ffc4 bl 8005758 - 80067d0: 60f8 str r0, [r7, #12] + 8007140: 68fb ldr r3, [r7, #12] + 8007142: 685a ldr r2, [r3, #4] + 8007144: 68fb ldr r3, [r7, #12] + 8007146: 1ad2 subs r2, r2, r3 + 8007148: 897b ldrh r3, [r7, #10] + 800714a: 4413 add r3, r2 + 800714c: 4619 mov r1, r3 + 800714e: 68f8 ldr r0, [r7, #12] + 8007150: f7fe ffc4 bl 80060dc + 8007154: 60f8 str r0, [r7, #12] LWIP_ASSERT("mem_trim returned q == NULL", q != NULL); - 80067d2: 68fb ldr r3, [r7, #12] - 80067d4: 2b00 cmp r3, #0 - 80067d6: d106 bne.n 80067e6 - 80067d8: 4b0f ldr r3, [pc, #60] @ (8006818 ) - 80067da: f240 12bd movw r2, #445 @ 0x1bd - 80067de: 4912 ldr r1, [pc, #72] @ (8006828 ) - 80067e0: 480f ldr r0, [pc, #60] @ (8006820 ) - 80067e2: f00a ff09 bl 80115f8 + 8007156: 68fb ldr r3, [r7, #12] + 8007158: 2b00 cmp r3, #0 + 800715a: d106 bne.n 800716a + 800715c: 4b0f ldr r3, [pc, #60] @ (800719c ) + 800715e: f240 12bd movw r2, #445 @ 0x1bd + 8007162: 4912 ldr r1, [pc, #72] @ (80071ac ) + 8007164: 480f ldr r0, [pc, #60] @ (80071a4 ) + 8007166: f00a ff09 bl 8011f7c } /* adjust length fields for new last pbuf */ q->len = rem_len; - 80067e6: 68fb ldr r3, [r7, #12] - 80067e8: 897a ldrh r2, [r7, #10] - 80067ea: 815a strh r2, [r3, #10] + 800716a: 68fb ldr r3, [r7, #12] + 800716c: 897a ldrh r2, [r7, #10] + 800716e: 815a strh r2, [r3, #10] q->tot_len = q->len; - 80067ec: 68fb ldr r3, [r7, #12] - 80067ee: 895a ldrh r2, [r3, #10] - 80067f0: 68fb ldr r3, [r7, #12] - 80067f2: 811a strh r2, [r3, #8] + 8007170: 68fb ldr r3, [r7, #12] + 8007172: 895a ldrh r2, [r3, #10] + 8007174: 68fb ldr r3, [r7, #12] + 8007176: 811a strh r2, [r3, #8] /* any remaining pbufs in chain? */ if (q->next != NULL) { - 80067f4: 68fb ldr r3, [r7, #12] - 80067f6: 681b ldr r3, [r3, #0] - 80067f8: 2b00 cmp r3, #0 - 80067fa: d004 beq.n 8006806 + 8007178: 68fb ldr r3, [r7, #12] + 800717a: 681b ldr r3, [r3, #0] + 800717c: 2b00 cmp r3, #0 + 800717e: d004 beq.n 800718a /* free remaining pbufs in chain */ pbuf_free(q->next); - 80067fc: 68fb ldr r3, [r7, #12] - 80067fe: 681b ldr r3, [r3, #0] - 8006800: 4618 mov r0, r3 - 8006802: f000 f911 bl 8006a28 + 8007180: 68fb ldr r3, [r7, #12] + 8007182: 681b ldr r3, [r3, #0] + 8007184: 4618 mov r0, r3 + 8007186: f000 f911 bl 80073ac } /* q is last packet in chain */ q->next = NULL; - 8006806: 68fb ldr r3, [r7, #12] - 8006808: 2200 movs r2, #0 - 800680a: 601a str r2, [r3, #0] - 800680c: e000 b.n 8006810 + 800718a: 68fb ldr r3, [r7, #12] + 800718c: 2200 movs r2, #0 + 800718e: 601a str r2, [r3, #0] + 8007190: e000 b.n 8007194 return; - 800680e: bf00 nop + 8007192: bf00 nop } - 8006810: 3710 adds r7, #16 - 8006812: 46bd mov sp, r7 - 8006814: bd80 pop {r7, pc} - 8006816: bf00 nop - 8006818: 080165b4 .word 0x080165b4 - 800681c: 080166cc .word 0x080166cc - 8006820: 08016614 .word 0x08016614 - 8006824: 080166e4 .word 0x080166e4 - 8006828: 080166fc .word 0x080166fc + 8007194: 3710 adds r7, #16 + 8007196: 46bd mov sp, r7 + 8007198: bd80 pop {r7, pc} + 800719a: bf00 nop + 800719c: 08016f34 .word 0x08016f34 + 80071a0: 0801704c .word 0x0801704c + 80071a4: 08016f94 .word 0x08016f94 + 80071a8: 08017064 .word 0x08017064 + 80071ac: 0801707c .word 0x0801707c -0800682c : +080071b0 : * @return non-zero on failure, zero on success. * */ static u8_t pbuf_add_header_impl(struct pbuf *p, size_t header_size_increment, u8_t force) { - 800682c: b580 push {r7, lr} - 800682e: b086 sub sp, #24 - 8006830: af00 add r7, sp, #0 - 8006832: 60f8 str r0, [r7, #12] - 8006834: 60b9 str r1, [r7, #8] - 8006836: 4613 mov r3, r2 - 8006838: 71fb strb r3, [r7, #7] + 80071b0: b580 push {r7, lr} + 80071b2: b086 sub sp, #24 + 80071b4: af00 add r7, sp, #0 + 80071b6: 60f8 str r0, [r7, #12] + 80071b8: 60b9 str r1, [r7, #8] + 80071ba: 4613 mov r3, r2 + 80071bc: 71fb strb r3, [r7, #7] u16_t type_internal; void *payload; u16_t increment_magnitude; LWIP_ASSERT("p != NULL", p != NULL); - 800683a: 68fb ldr r3, [r7, #12] - 800683c: 2b00 cmp r3, #0 - 800683e: d106 bne.n 800684e - 8006840: 4b2b ldr r3, [pc, #172] @ (80068f0 ) - 8006842: f240 12df movw r2, #479 @ 0x1df - 8006846: 492b ldr r1, [pc, #172] @ (80068f4 ) - 8006848: 482b ldr r0, [pc, #172] @ (80068f8 ) - 800684a: f00a fed5 bl 80115f8 + 80071be: 68fb ldr r3, [r7, #12] + 80071c0: 2b00 cmp r3, #0 + 80071c2: d106 bne.n 80071d2 + 80071c4: 4b2b ldr r3, [pc, #172] @ (8007274 ) + 80071c6: f240 12df movw r2, #479 @ 0x1df + 80071ca: 492b ldr r1, [pc, #172] @ (8007278 ) + 80071cc: 482b ldr r0, [pc, #172] @ (800727c ) + 80071ce: f00a fed5 bl 8011f7c if ((p == NULL) || (header_size_increment > 0xFFFF)) { - 800684e: 68fb ldr r3, [r7, #12] - 8006850: 2b00 cmp r3, #0 - 8006852: d003 beq.n 800685c - 8006854: 68bb ldr r3, [r7, #8] - 8006856: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 800685a: d301 bcc.n 8006860 + 80071d2: 68fb ldr r3, [r7, #12] + 80071d4: 2b00 cmp r3, #0 + 80071d6: d003 beq.n 80071e0 + 80071d8: 68bb ldr r3, [r7, #8] + 80071da: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 80071de: d301 bcc.n 80071e4 return 1; - 800685c: 2301 movs r3, #1 - 800685e: e043 b.n 80068e8 + 80071e0: 2301 movs r3, #1 + 80071e2: e043 b.n 800726c } if (header_size_increment == 0) { - 8006860: 68bb ldr r3, [r7, #8] - 8006862: 2b00 cmp r3, #0 - 8006864: d101 bne.n 800686a + 80071e4: 68bb ldr r3, [r7, #8] + 80071e6: 2b00 cmp r3, #0 + 80071e8: d101 bne.n 80071ee return 0; - 8006866: 2300 movs r3, #0 - 8006868: e03e b.n 80068e8 + 80071ea: 2300 movs r3, #0 + 80071ec: e03e b.n 800726c } increment_magnitude = (u16_t)header_size_increment; - 800686a: 68bb ldr r3, [r7, #8] - 800686c: 827b strh r3, [r7, #18] + 80071ee: 68bb ldr r3, [r7, #8] + 80071f0: 827b strh r3, [r7, #18] /* Do not allow tot_len to wrap as a result. */ if ((u16_t)(increment_magnitude + p->tot_len) < increment_magnitude) { - 800686e: 68fb ldr r3, [r7, #12] - 8006870: 891a ldrh r2, [r3, #8] - 8006872: 8a7b ldrh r3, [r7, #18] - 8006874: 4413 add r3, r2 - 8006876: b29b uxth r3, r3 - 8006878: 8a7a ldrh r2, [r7, #18] - 800687a: 429a cmp r2, r3 - 800687c: d901 bls.n 8006882 + 80071f2: 68fb ldr r3, [r7, #12] + 80071f4: 891a ldrh r2, [r3, #8] + 80071f6: 8a7b ldrh r3, [r7, #18] + 80071f8: 4413 add r3, r2 + 80071fa: b29b uxth r3, r3 + 80071fc: 8a7a ldrh r2, [r7, #18] + 80071fe: 429a cmp r2, r3 + 8007200: d901 bls.n 8007206 return 1; - 800687e: 2301 movs r3, #1 - 8006880: e032 b.n 80068e8 + 8007202: 2301 movs r3, #1 + 8007204: e032 b.n 800726c } type_internal = p->type_internal; - 8006882: 68fb ldr r3, [r7, #12] - 8006884: 7b1b ldrb r3, [r3, #12] - 8006886: 823b strh r3, [r7, #16] + 8007206: 68fb ldr r3, [r7, #12] + 8007208: 7b1b ldrb r3, [r3, #12] + 800720a: 823b strh r3, [r7, #16] /* pbuf types containing payloads? */ if (type_internal & PBUF_TYPE_FLAG_STRUCT_DATA_CONTIGUOUS) { - 8006888: 8a3b ldrh r3, [r7, #16] - 800688a: f003 0380 and.w r3, r3, #128 @ 0x80 - 800688e: 2b00 cmp r3, #0 - 8006890: d00c beq.n 80068ac + 800720c: 8a3b ldrh r3, [r7, #16] + 800720e: f003 0380 and.w r3, r3, #128 @ 0x80 + 8007212: 2b00 cmp r3, #0 + 8007214: d00c beq.n 8007230 /* set new payload pointer */ payload = (u8_t *)p->payload - header_size_increment; - 8006892: 68fb ldr r3, [r7, #12] - 8006894: 685a ldr r2, [r3, #4] - 8006896: 68bb ldr r3, [r7, #8] - 8006898: 425b negs r3, r3 - 800689a: 4413 add r3, r2 - 800689c: 617b str r3, [r7, #20] + 8007216: 68fb ldr r3, [r7, #12] + 8007218: 685a ldr r2, [r3, #4] + 800721a: 68bb ldr r3, [r7, #8] + 800721c: 425b negs r3, r3 + 800721e: 4413 add r3, r2 + 8007220: 617b str r3, [r7, #20] /* boundary check fails? */ if ((u8_t *)payload < (u8_t *)p + SIZEOF_STRUCT_PBUF) { - 800689e: 68fb ldr r3, [r7, #12] - 80068a0: 3310 adds r3, #16 - 80068a2: 697a ldr r2, [r7, #20] - 80068a4: 429a cmp r2, r3 - 80068a6: d20d bcs.n 80068c4 + 8007222: 68fb ldr r3, [r7, #12] + 8007224: 3310 adds r3, #16 + 8007226: 697a ldr r2, [r7, #20] + 8007228: 429a cmp r2, r3 + 800722a: d20d bcs.n 8007248 LWIP_DEBUGF( PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_add_header: failed as %p < %p (not enough space for new header size)\n", (void *)payload, (void *)((u8_t *)p + SIZEOF_STRUCT_PBUF))); /* bail out unsuccessfully */ return 1; - 80068a8: 2301 movs r3, #1 - 80068aa: e01d b.n 80068e8 + 800722c: 2301 movs r3, #1 + 800722e: e01d b.n 800726c } /* pbuf types referring to external payloads? */ } else { /* hide a header in the payload? */ if (force) { - 80068ac: 79fb ldrb r3, [r7, #7] - 80068ae: 2b00 cmp r3, #0 - 80068b0: d006 beq.n 80068c0 + 8007230: 79fb ldrb r3, [r7, #7] + 8007232: 2b00 cmp r3, #0 + 8007234: d006 beq.n 8007244 payload = (u8_t *)p->payload - header_size_increment; - 80068b2: 68fb ldr r3, [r7, #12] - 80068b4: 685a ldr r2, [r3, #4] - 80068b6: 68bb ldr r3, [r7, #8] - 80068b8: 425b negs r3, r3 - 80068ba: 4413 add r3, r2 - 80068bc: 617b str r3, [r7, #20] - 80068be: e001 b.n 80068c4 + 8007236: 68fb ldr r3, [r7, #12] + 8007238: 685a ldr r2, [r3, #4] + 800723a: 68bb ldr r3, [r7, #8] + 800723c: 425b negs r3, r3 + 800723e: 4413 add r3, r2 + 8007240: 617b str r3, [r7, #20] + 8007242: e001 b.n 8007248 } else { /* cannot expand payload to front (yet!) * bail out unsuccessfully */ return 1; - 80068c0: 2301 movs r3, #1 - 80068c2: e011 b.n 80068e8 + 8007244: 2301 movs r3, #1 + 8007246: e011 b.n 800726c } LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_add_header: old %p new %p (%"U16_F")\n", (void *)p->payload, (void *)payload, increment_magnitude)); /* modify pbuf fields */ p->payload = payload; - 80068c4: 68fb ldr r3, [r7, #12] - 80068c6: 697a ldr r2, [r7, #20] - 80068c8: 605a str r2, [r3, #4] + 8007248: 68fb ldr r3, [r7, #12] + 800724a: 697a ldr r2, [r7, #20] + 800724c: 605a str r2, [r3, #4] p->len = (u16_t)(p->len + increment_magnitude); - 80068ca: 68fb ldr r3, [r7, #12] - 80068cc: 895a ldrh r2, [r3, #10] - 80068ce: 8a7b ldrh r3, [r7, #18] - 80068d0: 4413 add r3, r2 - 80068d2: b29a uxth r2, r3 - 80068d4: 68fb ldr r3, [r7, #12] - 80068d6: 815a strh r2, [r3, #10] + 800724e: 68fb ldr r3, [r7, #12] + 8007250: 895a ldrh r2, [r3, #10] + 8007252: 8a7b ldrh r3, [r7, #18] + 8007254: 4413 add r3, r2 + 8007256: b29a uxth r2, r3 + 8007258: 68fb ldr r3, [r7, #12] + 800725a: 815a strh r2, [r3, #10] p->tot_len = (u16_t)(p->tot_len + increment_magnitude); - 80068d8: 68fb ldr r3, [r7, #12] - 80068da: 891a ldrh r2, [r3, #8] - 80068dc: 8a7b ldrh r3, [r7, #18] - 80068de: 4413 add r3, r2 - 80068e0: b29a uxth r2, r3 - 80068e2: 68fb ldr r3, [r7, #12] - 80068e4: 811a strh r2, [r3, #8] + 800725c: 68fb ldr r3, [r7, #12] + 800725e: 891a ldrh r2, [r3, #8] + 8007260: 8a7b ldrh r3, [r7, #18] + 8007262: 4413 add r3, r2 + 8007264: b29a uxth r2, r3 + 8007266: 68fb ldr r3, [r7, #12] + 8007268: 811a strh r2, [r3, #8] return 0; - 80068e6: 2300 movs r3, #0 + 800726a: 2300 movs r3, #0 } - 80068e8: 4618 mov r0, r3 - 80068ea: 3718 adds r7, #24 - 80068ec: 46bd mov sp, r7 - 80068ee: bd80 pop {r7, pc} - 80068f0: 080165b4 .word 0x080165b4 - 80068f4: 08016718 .word 0x08016718 - 80068f8: 08016614 .word 0x08016614 + 800726c: 4618 mov r0, r3 + 800726e: 3718 adds r7, #24 + 8007270: 46bd mov sp, r7 + 8007272: bd80 pop {r7, pc} + 8007274: 08016f34 .word 0x08016f34 + 8007278: 08017098 .word 0x08017098 + 800727c: 08016f94 .word 0x08016f94 -080068fc : +08007280 : * @return non-zero on failure, zero on success. * */ u8_t pbuf_add_header(struct pbuf *p, size_t header_size_increment) { - 80068fc: b580 push {r7, lr} - 80068fe: b082 sub sp, #8 - 8006900: af00 add r7, sp, #0 - 8006902: 6078 str r0, [r7, #4] - 8006904: 6039 str r1, [r7, #0] + 8007280: b580 push {r7, lr} + 8007282: b082 sub sp, #8 + 8007284: af00 add r7, sp, #0 + 8007286: 6078 str r0, [r7, #4] + 8007288: 6039 str r1, [r7, #0] return pbuf_add_header_impl(p, header_size_increment, 0); - 8006906: 2200 movs r2, #0 - 8006908: 6839 ldr r1, [r7, #0] - 800690a: 6878 ldr r0, [r7, #4] - 800690c: f7ff ff8e bl 800682c - 8006910: 4603 mov r3, r0 + 800728a: 2200 movs r2, #0 + 800728c: 6839 ldr r1, [r7, #0] + 800728e: 6878 ldr r0, [r7, #4] + 8007290: f7ff ff8e bl 80071b0 + 8007294: 4603 mov r3, r0 } - 8006912: 4618 mov r0, r3 - 8006914: 3708 adds r7, #8 - 8006916: 46bd mov sp, r7 - 8006918: bd80 pop {r7, pc} + 8007296: 4618 mov r0, r3 + 8007298: 3708 adds r7, #8 + 800729a: 46bd mov sp, r7 + 800729c: bd80 pop {r7, pc} ... -0800691c : +080072a0 : * @return non-zero on failure, zero on success. * */ u8_t pbuf_remove_header(struct pbuf *p, size_t header_size_decrement) { - 800691c: b580 push {r7, lr} - 800691e: b084 sub sp, #16 - 8006920: af00 add r7, sp, #0 - 8006922: 6078 str r0, [r7, #4] - 8006924: 6039 str r1, [r7, #0] + 80072a0: b580 push {r7, lr} + 80072a2: b084 sub sp, #16 + 80072a4: af00 add r7, sp, #0 + 80072a6: 6078 str r0, [r7, #4] + 80072a8: 6039 str r1, [r7, #0] void *payload; u16_t increment_magnitude; LWIP_ASSERT("p != NULL", p != NULL); - 8006926: 687b ldr r3, [r7, #4] - 8006928: 2b00 cmp r3, #0 - 800692a: d106 bne.n 800693a - 800692c: 4b20 ldr r3, [pc, #128] @ (80069b0 ) - 800692e: f240 224b movw r2, #587 @ 0x24b - 8006932: 4920 ldr r1, [pc, #128] @ (80069b4 ) - 8006934: 4820 ldr r0, [pc, #128] @ (80069b8 ) - 8006936: f00a fe5f bl 80115f8 + 80072aa: 687b ldr r3, [r7, #4] + 80072ac: 2b00 cmp r3, #0 + 80072ae: d106 bne.n 80072be + 80072b0: 4b20 ldr r3, [pc, #128] @ (8007334 ) + 80072b2: f240 224b movw r2, #587 @ 0x24b + 80072b6: 4920 ldr r1, [pc, #128] @ (8007338 ) + 80072b8: 4820 ldr r0, [pc, #128] @ (800733c ) + 80072ba: f00a fe5f bl 8011f7c if ((p == NULL) || (header_size_decrement > 0xFFFF)) { - 800693a: 687b ldr r3, [r7, #4] - 800693c: 2b00 cmp r3, #0 - 800693e: d003 beq.n 8006948 - 8006940: 683b ldr r3, [r7, #0] - 8006942: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8006946: d301 bcc.n 800694c + 80072be: 687b ldr r3, [r7, #4] + 80072c0: 2b00 cmp r3, #0 + 80072c2: d003 beq.n 80072cc + 80072c4: 683b ldr r3, [r7, #0] + 80072c6: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 80072ca: d301 bcc.n 80072d0 return 1; - 8006948: 2301 movs r3, #1 - 800694a: e02c b.n 80069a6 + 80072cc: 2301 movs r3, #1 + 80072ce: e02c b.n 800732a } if (header_size_decrement == 0) { - 800694c: 683b ldr r3, [r7, #0] - 800694e: 2b00 cmp r3, #0 - 8006950: d101 bne.n 8006956 + 80072d0: 683b ldr r3, [r7, #0] + 80072d2: 2b00 cmp r3, #0 + 80072d4: d101 bne.n 80072da return 0; - 8006952: 2300 movs r3, #0 - 8006954: e027 b.n 80069a6 + 80072d6: 2300 movs r3, #0 + 80072d8: e027 b.n 800732a } increment_magnitude = (u16_t)header_size_decrement; - 8006956: 683b ldr r3, [r7, #0] - 8006958: 81fb strh r3, [r7, #14] + 80072da: 683b ldr r3, [r7, #0] + 80072dc: 81fb strh r3, [r7, #14] /* Check that we aren't going to move off the end of the pbuf */ LWIP_ERROR("increment_magnitude <= p->len", (increment_magnitude <= p->len), return 1;); - 800695a: 687b ldr r3, [r7, #4] - 800695c: 895b ldrh r3, [r3, #10] - 800695e: 89fa ldrh r2, [r7, #14] - 8006960: 429a cmp r2, r3 - 8006962: d908 bls.n 8006976 - 8006964: 4b12 ldr r3, [pc, #72] @ (80069b0 ) - 8006966: f240 2255 movw r2, #597 @ 0x255 - 800696a: 4914 ldr r1, [pc, #80] @ (80069bc ) - 800696c: 4812 ldr r0, [pc, #72] @ (80069b8 ) - 800696e: f00a fe43 bl 80115f8 - 8006972: 2301 movs r3, #1 - 8006974: e017 b.n 80069a6 + 80072de: 687b ldr r3, [r7, #4] + 80072e0: 895b ldrh r3, [r3, #10] + 80072e2: 89fa ldrh r2, [r7, #14] + 80072e4: 429a cmp r2, r3 + 80072e6: d908 bls.n 80072fa + 80072e8: 4b12 ldr r3, [pc, #72] @ (8007334 ) + 80072ea: f240 2255 movw r2, #597 @ 0x255 + 80072ee: 4914 ldr r1, [pc, #80] @ (8007340 ) + 80072f0: 4812 ldr r0, [pc, #72] @ (800733c ) + 80072f2: f00a fe43 bl 8011f7c + 80072f6: 2301 movs r3, #1 + 80072f8: e017 b.n 800732a /* remember current payload pointer */ payload = p->payload; - 8006976: 687b ldr r3, [r7, #4] - 8006978: 685b ldr r3, [r3, #4] - 800697a: 60bb str r3, [r7, #8] + 80072fa: 687b ldr r3, [r7, #4] + 80072fc: 685b ldr r3, [r3, #4] + 80072fe: 60bb str r3, [r7, #8] LWIP_UNUSED_ARG(payload); /* only used in LWIP_DEBUGF below */ /* increase payload pointer (guarded by length check above) */ p->payload = (u8_t *)p->payload + header_size_decrement; - 800697c: 687b ldr r3, [r7, #4] - 800697e: 685a ldr r2, [r3, #4] - 8006980: 683b ldr r3, [r7, #0] - 8006982: 441a add r2, r3 - 8006984: 687b ldr r3, [r7, #4] - 8006986: 605a str r2, [r3, #4] + 8007300: 687b ldr r3, [r7, #4] + 8007302: 685a ldr r2, [r3, #4] + 8007304: 683b ldr r3, [r7, #0] + 8007306: 441a add r2, r3 + 8007308: 687b ldr r3, [r7, #4] + 800730a: 605a str r2, [r3, #4] /* modify pbuf length fields */ p->len = (u16_t)(p->len - increment_magnitude); - 8006988: 687b ldr r3, [r7, #4] - 800698a: 895a ldrh r2, [r3, #10] - 800698c: 89fb ldrh r3, [r7, #14] - 800698e: 1ad3 subs r3, r2, r3 - 8006990: b29a uxth r2, r3 - 8006992: 687b ldr r3, [r7, #4] - 8006994: 815a strh r2, [r3, #10] + 800730c: 687b ldr r3, [r7, #4] + 800730e: 895a ldrh r2, [r3, #10] + 8007310: 89fb ldrh r3, [r7, #14] + 8007312: 1ad3 subs r3, r2, r3 + 8007314: b29a uxth r2, r3 + 8007316: 687b ldr r3, [r7, #4] + 8007318: 815a strh r2, [r3, #10] p->tot_len = (u16_t)(p->tot_len - increment_magnitude); - 8006996: 687b ldr r3, [r7, #4] - 8006998: 891a ldrh r2, [r3, #8] - 800699a: 89fb ldrh r3, [r7, #14] - 800699c: 1ad3 subs r3, r2, r3 - 800699e: b29a uxth r2, r3 - 80069a0: 687b ldr r3, [r7, #4] - 80069a2: 811a strh r2, [r3, #8] + 800731a: 687b ldr r3, [r7, #4] + 800731c: 891a ldrh r2, [r3, #8] + 800731e: 89fb ldrh r3, [r7, #14] + 8007320: 1ad3 subs r3, r2, r3 + 8007322: b29a uxth r2, r3 + 8007324: 687b ldr r3, [r7, #4] + 8007326: 811a strh r2, [r3, #8] LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_remove_header: old %p new %p (%"U16_F")\n", (void *)payload, (void *)p->payload, increment_magnitude)); return 0; - 80069a4: 2300 movs r3, #0 + 8007328: 2300 movs r3, #0 } - 80069a6: 4618 mov r0, r3 - 80069a8: 3710 adds r7, #16 - 80069aa: 46bd mov sp, r7 - 80069ac: bd80 pop {r7, pc} - 80069ae: bf00 nop - 80069b0: 080165b4 .word 0x080165b4 - 80069b4: 08016718 .word 0x08016718 - 80069b8: 08016614 .word 0x08016614 - 80069bc: 08016724 .word 0x08016724 + 800732a: 4618 mov r0, r3 + 800732c: 3710 adds r7, #16 + 800732e: 46bd mov sp, r7 + 8007330: bd80 pop {r7, pc} + 8007332: bf00 nop + 8007334: 08016f34 .word 0x08016f34 + 8007338: 08017098 .word 0x08017098 + 800733c: 08016f94 .word 0x08016f94 + 8007340: 080170a4 .word 0x080170a4 -080069c0 : +08007344 : static u8_t pbuf_header_impl(struct pbuf *p, s16_t header_size_increment, u8_t force) { - 80069c0: b580 push {r7, lr} - 80069c2: b082 sub sp, #8 - 80069c4: af00 add r7, sp, #0 - 80069c6: 6078 str r0, [r7, #4] - 80069c8: 460b mov r3, r1 - 80069ca: 807b strh r3, [r7, #2] - 80069cc: 4613 mov r3, r2 - 80069ce: 707b strb r3, [r7, #1] + 8007344: b580 push {r7, lr} + 8007346: b082 sub sp, #8 + 8007348: af00 add r7, sp, #0 + 800734a: 6078 str r0, [r7, #4] + 800734c: 460b mov r3, r1 + 800734e: 807b strh r3, [r7, #2] + 8007350: 4613 mov r3, r2 + 8007352: 707b strb r3, [r7, #1] if (header_size_increment < 0) { - 80069d0: f9b7 3002 ldrsh.w r3, [r7, #2] - 80069d4: 2b00 cmp r3, #0 - 80069d6: da08 bge.n 80069ea + 8007354: f9b7 3002 ldrsh.w r3, [r7, #2] + 8007358: 2b00 cmp r3, #0 + 800735a: da08 bge.n 800736e return pbuf_remove_header(p, (size_t) - header_size_increment); - 80069d8: f9b7 3002 ldrsh.w r3, [r7, #2] - 80069dc: 425b negs r3, r3 - 80069de: 4619 mov r1, r3 - 80069e0: 6878 ldr r0, [r7, #4] - 80069e2: f7ff ff9b bl 800691c - 80069e6: 4603 mov r3, r0 - 80069e8: e007 b.n 80069fa + 800735c: f9b7 3002 ldrsh.w r3, [r7, #2] + 8007360: 425b negs r3, r3 + 8007362: 4619 mov r1, r3 + 8007364: 6878 ldr r0, [r7, #4] + 8007366: f7ff ff9b bl 80072a0 + 800736a: 4603 mov r3, r0 + 800736c: e007 b.n 800737e } else { return pbuf_add_header_impl(p, (size_t)header_size_increment, force); - 80069ea: f9b7 3002 ldrsh.w r3, [r7, #2] - 80069ee: 787a ldrb r2, [r7, #1] - 80069f0: 4619 mov r1, r3 - 80069f2: 6878 ldr r0, [r7, #4] - 80069f4: f7ff ff1a bl 800682c - 80069f8: 4603 mov r3, r0 + 800736e: f9b7 3002 ldrsh.w r3, [r7, #2] + 8007372: 787a ldrb r2, [r7, #1] + 8007374: 4619 mov r1, r3 + 8007376: 6878 ldr r0, [r7, #4] + 8007378: f7ff ff1a bl 80071b0 + 800737c: 4603 mov r3, r0 } } - 80069fa: 4618 mov r0, r3 - 80069fc: 3708 adds r7, #8 - 80069fe: 46bd mov sp, r7 - 8006a00: bd80 pop {r7, pc} + 800737e: 4618 mov r0, r3 + 8007380: 3708 adds r7, #8 + 8007382: 46bd mov sp, r7 + 8007384: bd80 pop {r7, pc} -08006a02 : +08007386 : * Same as pbuf_header but does not check if 'header_size > 0' is allowed. * This is used internally only, to allow PBUF_REF for RX. */ u8_t pbuf_header_force(struct pbuf *p, s16_t header_size_increment) { - 8006a02: b580 push {r7, lr} - 8006a04: b082 sub sp, #8 - 8006a06: af00 add r7, sp, #0 - 8006a08: 6078 str r0, [r7, #4] - 8006a0a: 460b mov r3, r1 - 8006a0c: 807b strh r3, [r7, #2] + 8007386: b580 push {r7, lr} + 8007388: b082 sub sp, #8 + 800738a: af00 add r7, sp, #0 + 800738c: 6078 str r0, [r7, #4] + 800738e: 460b mov r3, r1 + 8007390: 807b strh r3, [r7, #2] return pbuf_header_impl(p, header_size_increment, 1); - 8006a0e: f9b7 3002 ldrsh.w r3, [r7, #2] - 8006a12: 2201 movs r2, #1 - 8006a14: 4619 mov r1, r3 - 8006a16: 6878 ldr r0, [r7, #4] - 8006a18: f7ff ffd2 bl 80069c0 - 8006a1c: 4603 mov r3, r0 + 8007392: f9b7 3002 ldrsh.w r3, [r7, #2] + 8007396: 2201 movs r2, #1 + 8007398: 4619 mov r1, r3 + 800739a: 6878 ldr r0, [r7, #4] + 800739c: f7ff ffd2 bl 8007344 + 80073a0: 4603 mov r3, r0 } - 8006a1e: 4618 mov r0, r3 - 8006a20: 3708 adds r7, #8 - 8006a22: 46bd mov sp, r7 - 8006a24: bd80 pop {r7, pc} + 80073a2: 4618 mov r0, r3 + 80073a4: 3708 adds r7, #8 + 80073a6: 46bd mov sp, r7 + 80073a8: bd80 pop {r7, pc} ... -08006a28 : +080073ac : * 1->1->1 becomes ....... * */ u8_t pbuf_free(struct pbuf *p) { - 8006a28: b580 push {r7, lr} - 8006a2a: b086 sub sp, #24 - 8006a2c: af00 add r7, sp, #0 - 8006a2e: 6078 str r0, [r7, #4] + 80073ac: b580 push {r7, lr} + 80073ae: b086 sub sp, #24 + 80073b0: af00 add r7, sp, #0 + 80073b2: 6078 str r0, [r7, #4] u8_t alloc_src; struct pbuf *q; u8_t count; if (p == NULL) { - 8006a30: 687b ldr r3, [r7, #4] - 8006a32: 2b00 cmp r3, #0 - 8006a34: d10b bne.n 8006a4e + 80073b4: 687b ldr r3, [r7, #4] + 80073b6: 2b00 cmp r3, #0 + 80073b8: d10b bne.n 80073d2 LWIP_ASSERT("p != NULL", p != NULL); - 8006a36: 687b ldr r3, [r7, #4] - 8006a38: 2b00 cmp r3, #0 - 8006a3a: d106 bne.n 8006a4a - 8006a3c: 4b38 ldr r3, [pc, #224] @ (8006b20 ) - 8006a3e: f44f 7237 mov.w r2, #732 @ 0x2dc - 8006a42: 4938 ldr r1, [pc, #224] @ (8006b24 ) - 8006a44: 4838 ldr r0, [pc, #224] @ (8006b28 ) - 8006a46: f00a fdd7 bl 80115f8 + 80073ba: 687b ldr r3, [r7, #4] + 80073bc: 2b00 cmp r3, #0 + 80073be: d106 bne.n 80073ce + 80073c0: 4b38 ldr r3, [pc, #224] @ (80074a4 ) + 80073c2: f44f 7237 mov.w r2, #732 @ 0x2dc + 80073c6: 4938 ldr r1, [pc, #224] @ (80074a8 ) + 80073c8: 4838 ldr r0, [pc, #224] @ (80074ac ) + 80073ca: f00a fdd7 bl 8011f7c /* if assertions are disabled, proceed with debug output */ LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("pbuf_free(p == NULL) was called.\n")); return 0; - 8006a4a: 2300 movs r3, #0 - 8006a4c: e063 b.n 8006b16 + 80073ce: 2300 movs r3, #0 + 80073d0: e063 b.n 800749a } LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free(%p)\n", (void *)p)); PERF_START; count = 0; - 8006a4e: 2300 movs r3, #0 - 8006a50: 75fb strb r3, [r7, #23] + 80073d2: 2300 movs r3, #0 + 80073d4: 75fb strb r3, [r7, #23] /* de-allocate all consecutive pbufs from the head of the chain that * obtain a zero reference count after decrementing*/ while (p != NULL) { - 8006a52: e05c b.n 8006b0e + 80073d6: e05c b.n 8007492 /* Since decrementing ref cannot be guaranteed to be a single machine operation * we must protect it. We put the new ref into a local variable to prevent * further protection. */ SYS_ARCH_PROTECT(old_level); /* all pbufs in a chain are referenced at least once */ LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0); - 8006a54: 687b ldr r3, [r7, #4] - 8006a56: 7b9b ldrb r3, [r3, #14] - 8006a58: 2b00 cmp r3, #0 - 8006a5a: d106 bne.n 8006a6a - 8006a5c: 4b30 ldr r3, [pc, #192] @ (8006b20 ) - 8006a5e: f240 22f1 movw r2, #753 @ 0x2f1 - 8006a62: 4932 ldr r1, [pc, #200] @ (8006b2c ) - 8006a64: 4830 ldr r0, [pc, #192] @ (8006b28 ) - 8006a66: f00a fdc7 bl 80115f8 + 80073d8: 687b ldr r3, [r7, #4] + 80073da: 7b9b ldrb r3, [r3, #14] + 80073dc: 2b00 cmp r3, #0 + 80073de: d106 bne.n 80073ee + 80073e0: 4b30 ldr r3, [pc, #192] @ (80074a4 ) + 80073e2: f240 22f1 movw r2, #753 @ 0x2f1 + 80073e6: 4932 ldr r1, [pc, #200] @ (80074b0 ) + 80073e8: 4830 ldr r0, [pc, #192] @ (80074ac ) + 80073ea: f00a fdc7 bl 8011f7c /* decrease reference count (number of pointers to pbuf) */ ref = --(p->ref); - 8006a6a: 687b ldr r3, [r7, #4] - 8006a6c: 7b9b ldrb r3, [r3, #14] - 8006a6e: 3b01 subs r3, #1 - 8006a70: b2da uxtb r2, r3 - 8006a72: 687b ldr r3, [r7, #4] - 8006a74: 739a strb r2, [r3, #14] - 8006a76: 687b ldr r3, [r7, #4] - 8006a78: 7b9b ldrb r3, [r3, #14] - 8006a7a: 75bb strb r3, [r7, #22] + 80073ee: 687b ldr r3, [r7, #4] + 80073f0: 7b9b ldrb r3, [r3, #14] + 80073f2: 3b01 subs r3, #1 + 80073f4: b2da uxtb r2, r3 + 80073f6: 687b ldr r3, [r7, #4] + 80073f8: 739a strb r2, [r3, #14] + 80073fa: 687b ldr r3, [r7, #4] + 80073fc: 7b9b ldrb r3, [r3, #14] + 80073fe: 75bb strb r3, [r7, #22] SYS_ARCH_UNPROTECT(old_level); /* this pbuf is no longer referenced to? */ if (ref == 0) { - 8006a7c: 7dbb ldrb r3, [r7, #22] - 8006a7e: 2b00 cmp r3, #0 - 8006a80: d143 bne.n 8006b0a + 8007400: 7dbb ldrb r3, [r7, #22] + 8007402: 2b00 cmp r3, #0 + 8007404: d143 bne.n 800748e /* remember next pbuf in chain for next iteration */ q = p->next; - 8006a82: 687b ldr r3, [r7, #4] - 8006a84: 681b ldr r3, [r3, #0] - 8006a86: 613b str r3, [r7, #16] + 8007406: 687b ldr r3, [r7, #4] + 8007408: 681b ldr r3, [r3, #0] + 800740a: 613b str r3, [r7, #16] LWIP_DEBUGF( PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free: deallocating %p\n", (void *)p)); alloc_src = pbuf_get_allocsrc(p); - 8006a88: 687b ldr r3, [r7, #4] - 8006a8a: 7b1b ldrb r3, [r3, #12] - 8006a8c: f003 030f and.w r3, r3, #15 - 8006a90: 73fb strb r3, [r7, #15] + 800740c: 687b ldr r3, [r7, #4] + 800740e: 7b1b ldrb r3, [r3, #12] + 8007410: f003 030f and.w r3, r3, #15 + 8007414: 73fb strb r3, [r7, #15] #if LWIP_SUPPORT_CUSTOM_PBUF /* is this a custom pbuf? */ if ((p->flags & PBUF_FLAG_IS_CUSTOM) != 0) { - 8006a92: 687b ldr r3, [r7, #4] - 8006a94: 7b5b ldrb r3, [r3, #13] - 8006a96: f003 0302 and.w r3, r3, #2 - 8006a9a: 2b00 cmp r3, #0 - 8006a9c: d011 beq.n 8006ac2 + 8007416: 687b ldr r3, [r7, #4] + 8007418: 7b5b ldrb r3, [r3, #13] + 800741a: f003 0302 and.w r3, r3, #2 + 800741e: 2b00 cmp r3, #0 + 8007420: d011 beq.n 8007446 struct pbuf_custom *pc = (struct pbuf_custom *)p; - 8006a9e: 687b ldr r3, [r7, #4] - 8006aa0: 60bb str r3, [r7, #8] + 8007422: 687b ldr r3, [r7, #4] + 8007424: 60bb str r3, [r7, #8] LWIP_ASSERT("pc->custom_free_function != NULL", pc->custom_free_function != NULL); - 8006aa2: 68bb ldr r3, [r7, #8] - 8006aa4: 691b ldr r3, [r3, #16] - 8006aa6: 2b00 cmp r3, #0 - 8006aa8: d106 bne.n 8006ab8 - 8006aaa: 4b1d ldr r3, [pc, #116] @ (8006b20 ) - 8006aac: f240 22ff movw r2, #767 @ 0x2ff - 8006ab0: 491f ldr r1, [pc, #124] @ (8006b30 ) - 8006ab2: 481d ldr r0, [pc, #116] @ (8006b28 ) - 8006ab4: f00a fda0 bl 80115f8 + 8007426: 68bb ldr r3, [r7, #8] + 8007428: 691b ldr r3, [r3, #16] + 800742a: 2b00 cmp r3, #0 + 800742c: d106 bne.n 800743c + 800742e: 4b1d ldr r3, [pc, #116] @ (80074a4 ) + 8007430: f240 22ff movw r2, #767 @ 0x2ff + 8007434: 491f ldr r1, [pc, #124] @ (80074b4 ) + 8007436: 481d ldr r0, [pc, #116] @ (80074ac ) + 8007438: f00a fda0 bl 8011f7c pc->custom_free_function(p); - 8006ab8: 68bb ldr r3, [r7, #8] - 8006aba: 691b ldr r3, [r3, #16] - 8006abc: 6878 ldr r0, [r7, #4] - 8006abe: 4798 blx r3 - 8006ac0: e01d b.n 8006afe + 800743c: 68bb ldr r3, [r7, #8] + 800743e: 691b ldr r3, [r3, #16] + 8007440: 6878 ldr r0, [r7, #4] + 8007442: 4798 blx r3 + 8007444: e01d b.n 8007482 } else #endif /* LWIP_SUPPORT_CUSTOM_PBUF */ { /* is this a pbuf from the pool? */ if (alloc_src == PBUF_TYPE_ALLOC_SRC_MASK_STD_MEMP_PBUF_POOL) { - 8006ac2: 7bfb ldrb r3, [r7, #15] - 8006ac4: 2b02 cmp r3, #2 - 8006ac6: d104 bne.n 8006ad2 + 8007446: 7bfb ldrb r3, [r7, #15] + 8007448: 2b02 cmp r3, #2 + 800744a: d104 bne.n 8007456 memp_free(MEMP_PBUF_POOL, p); - 8006ac8: 6879 ldr r1, [r7, #4] - 8006aca: 2008 movs r0, #8 - 8006acc: f7ff f92c bl 8005d28 - 8006ad0: e015 b.n 8006afe + 800744c: 6879 ldr r1, [r7, #4] + 800744e: 2008 movs r0, #8 + 8007450: f7ff f92c bl 80066ac + 8007454: e015 b.n 8007482 /* is this a ROM or RAM referencing pbuf? */ } else if (alloc_src == PBUF_TYPE_ALLOC_SRC_MASK_STD_MEMP_PBUF) { - 8006ad2: 7bfb ldrb r3, [r7, #15] - 8006ad4: 2b01 cmp r3, #1 - 8006ad6: d104 bne.n 8006ae2 + 8007456: 7bfb ldrb r3, [r7, #15] + 8007458: 2b01 cmp r3, #1 + 800745a: d104 bne.n 8007466 memp_free(MEMP_PBUF, p); - 8006ad8: 6879 ldr r1, [r7, #4] - 8006ada: 2007 movs r0, #7 - 8006adc: f7ff f924 bl 8005d28 - 8006ae0: e00d b.n 8006afe + 800745c: 6879 ldr r1, [r7, #4] + 800745e: 2007 movs r0, #7 + 8007460: f7ff f924 bl 80066ac + 8007464: e00d b.n 8007482 /* type == PBUF_RAM */ } else if (alloc_src == PBUF_TYPE_ALLOC_SRC_MASK_STD_HEAP) { - 8006ae2: 7bfb ldrb r3, [r7, #15] - 8006ae4: 2b00 cmp r3, #0 - 8006ae6: d103 bne.n 8006af0 + 8007466: 7bfb ldrb r3, [r7, #15] + 8007468: 2b00 cmp r3, #0 + 800746a: d103 bne.n 8007474 mem_free(p); - 8006ae8: 6878 ldr r0, [r7, #4] - 8006aea: f7fe fdcb bl 8005684 - 8006aee: e006 b.n 8006afe + 800746c: 6878 ldr r0, [r7, #4] + 800746e: f7fe fdcb bl 8006008 + 8007472: e006 b.n 8007482 } else { /* @todo: support freeing other types */ LWIP_ASSERT("invalid pbuf type", 0); - 8006af0: 4b0b ldr r3, [pc, #44] @ (8006b20 ) - 8006af2: f240 320f movw r2, #783 @ 0x30f - 8006af6: 490f ldr r1, [pc, #60] @ (8006b34 ) - 8006af8: 480b ldr r0, [pc, #44] @ (8006b28 ) - 8006afa: f00a fd7d bl 80115f8 + 8007474: 4b0b ldr r3, [pc, #44] @ (80074a4 ) + 8007476: f240 320f movw r2, #783 @ 0x30f + 800747a: 490f ldr r1, [pc, #60] @ (80074b8 ) + 800747c: 480b ldr r0, [pc, #44] @ (80074ac ) + 800747e: f00a fd7d bl 8011f7c } } count++; - 8006afe: 7dfb ldrb r3, [r7, #23] - 8006b00: 3301 adds r3, #1 - 8006b02: 75fb strb r3, [r7, #23] + 8007482: 7dfb ldrb r3, [r7, #23] + 8007484: 3301 adds r3, #1 + 8007486: 75fb strb r3, [r7, #23] /* proceed to next pbuf */ p = q; - 8006b04: 693b ldr r3, [r7, #16] - 8006b06: 607b str r3, [r7, #4] - 8006b08: e001 b.n 8006b0e + 8007488: 693b ldr r3, [r7, #16] + 800748a: 607b str r3, [r7, #4] + 800748c: e001 b.n 8007492 /* p->ref > 0, this pbuf is still referenced to */ /* (and so the remaining pbufs in chain as well) */ } else { LWIP_DEBUGF( PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free: %p has ref %"U16_F", ending here.\n", (void *)p, (u16_t)ref)); /* stop walking through the chain */ p = NULL; - 8006b0a: 2300 movs r3, #0 - 8006b0c: 607b str r3, [r7, #4] + 800748e: 2300 movs r3, #0 + 8007490: 607b str r3, [r7, #4] while (p != NULL) { - 8006b0e: 687b ldr r3, [r7, #4] - 8006b10: 2b00 cmp r3, #0 - 8006b12: d19f bne.n 8006a54 + 8007492: 687b ldr r3, [r7, #4] + 8007494: 2b00 cmp r3, #0 + 8007496: d19f bne.n 80073d8 } } PERF_STOP("pbuf_free"); /* return number of de-allocated pbufs */ return count; - 8006b14: 7dfb ldrb r3, [r7, #23] + 8007498: 7dfb ldrb r3, [r7, #23] } - 8006b16: 4618 mov r0, r3 - 8006b18: 3718 adds r7, #24 - 8006b1a: 46bd mov sp, r7 - 8006b1c: bd80 pop {r7, pc} - 8006b1e: bf00 nop - 8006b20: 080165b4 .word 0x080165b4 - 8006b24: 08016718 .word 0x08016718 - 8006b28: 08016614 .word 0x08016614 - 8006b2c: 08016744 .word 0x08016744 - 8006b30: 0801675c .word 0x0801675c - 8006b34: 08016780 .word 0x08016780 + 800749a: 4618 mov r0, r3 + 800749c: 3718 adds r7, #24 + 800749e: 46bd mov sp, r7 + 80074a0: bd80 pop {r7, pc} + 80074a2: bf00 nop + 80074a4: 08016f34 .word 0x08016f34 + 80074a8: 08017098 .word 0x08017098 + 80074ac: 08016f94 .word 0x08016f94 + 80074b0: 080170c4 .word 0x080170c4 + 80074b4: 080170dc .word 0x080170dc + 80074b8: 08017100 .word 0x08017100 -08006b38 : +080074bc : * @param p first pbuf of chain * @return the number of pbufs in a chain */ u16_t pbuf_clen(const struct pbuf *p) { - 8006b38: b480 push {r7} - 8006b3a: b085 sub sp, #20 - 8006b3c: af00 add r7, sp, #0 - 8006b3e: 6078 str r0, [r7, #4] + 80074bc: b480 push {r7} + 80074be: b085 sub sp, #20 + 80074c0: af00 add r7, sp, #0 + 80074c2: 6078 str r0, [r7, #4] u16_t len; len = 0; - 8006b40: 2300 movs r3, #0 - 8006b42: 81fb strh r3, [r7, #14] + 80074c4: 2300 movs r3, #0 + 80074c6: 81fb strh r3, [r7, #14] while (p != NULL) { - 8006b44: e005 b.n 8006b52 + 80074c8: e005 b.n 80074d6 ++len; - 8006b46: 89fb ldrh r3, [r7, #14] - 8006b48: 3301 adds r3, #1 - 8006b4a: 81fb strh r3, [r7, #14] + 80074ca: 89fb ldrh r3, [r7, #14] + 80074cc: 3301 adds r3, #1 + 80074ce: 81fb strh r3, [r7, #14] p = p->next; - 8006b4c: 687b ldr r3, [r7, #4] - 8006b4e: 681b ldr r3, [r3, #0] - 8006b50: 607b str r3, [r7, #4] + 80074d0: 687b ldr r3, [r7, #4] + 80074d2: 681b ldr r3, [r3, #0] + 80074d4: 607b str r3, [r7, #4] while (p != NULL) { - 8006b52: 687b ldr r3, [r7, #4] - 8006b54: 2b00 cmp r3, #0 - 8006b56: d1f6 bne.n 8006b46 + 80074d6: 687b ldr r3, [r7, #4] + 80074d8: 2b00 cmp r3, #0 + 80074da: d1f6 bne.n 80074ca } return len; - 8006b58: 89fb ldrh r3, [r7, #14] + 80074dc: 89fb ldrh r3, [r7, #14] } - 8006b5a: 4618 mov r0, r3 - 8006b5c: 3714 adds r7, #20 - 8006b5e: 46bd mov sp, r7 - 8006b60: f85d 7b04 ldr.w r7, [sp], #4 - 8006b64: 4770 bx lr + 80074de: 4618 mov r0, r3 + 80074e0: 3714 adds r7, #20 + 80074e2: 46bd mov sp, r7 + 80074e4: f85d 7b04 ldr.w r7, [sp], #4 + 80074e8: 4770 bx lr ... -08006b68 : +080074ec : * @param p pbuf to increase reference counter of * */ void pbuf_ref(struct pbuf *p) { - 8006b68: b580 push {r7, lr} - 8006b6a: b082 sub sp, #8 - 8006b6c: af00 add r7, sp, #0 - 8006b6e: 6078 str r0, [r7, #4] + 80074ec: b580 push {r7, lr} + 80074ee: b082 sub sp, #8 + 80074f0: af00 add r7, sp, #0 + 80074f2: 6078 str r0, [r7, #4] /* pbuf given? */ if (p != NULL) { - 8006b70: 687b ldr r3, [r7, #4] - 8006b72: 2b00 cmp r3, #0 - 8006b74: d010 beq.n 8006b98 + 80074f4: 687b ldr r3, [r7, #4] + 80074f6: 2b00 cmp r3, #0 + 80074f8: d010 beq.n 800751c SYS_ARCH_SET(p->ref, (LWIP_PBUF_REF_T)(p->ref + 1)); - 8006b76: 687b ldr r3, [r7, #4] - 8006b78: 7b9b ldrb r3, [r3, #14] - 8006b7a: 3301 adds r3, #1 - 8006b7c: b2da uxtb r2, r3 - 8006b7e: 687b ldr r3, [r7, #4] - 8006b80: 739a strb r2, [r3, #14] + 80074fa: 687b ldr r3, [r7, #4] + 80074fc: 7b9b ldrb r3, [r3, #14] + 80074fe: 3301 adds r3, #1 + 8007500: b2da uxtb r2, r3 + 8007502: 687b ldr r3, [r7, #4] + 8007504: 739a strb r2, [r3, #14] LWIP_ASSERT("pbuf ref overflow", p->ref > 0); - 8006b82: 687b ldr r3, [r7, #4] - 8006b84: 7b9b ldrb r3, [r3, #14] - 8006b86: 2b00 cmp r3, #0 - 8006b88: d106 bne.n 8006b98 - 8006b8a: 4b05 ldr r3, [pc, #20] @ (8006ba0 ) - 8006b8c: f240 3242 movw r2, #834 @ 0x342 - 8006b90: 4904 ldr r1, [pc, #16] @ (8006ba4 ) - 8006b92: 4805 ldr r0, [pc, #20] @ (8006ba8 ) - 8006b94: f00a fd30 bl 80115f8 + 8007506: 687b ldr r3, [r7, #4] + 8007508: 7b9b ldrb r3, [r3, #14] + 800750a: 2b00 cmp r3, #0 + 800750c: d106 bne.n 800751c + 800750e: 4b05 ldr r3, [pc, #20] @ (8007524 ) + 8007510: f240 3242 movw r2, #834 @ 0x342 + 8007514: 4904 ldr r1, [pc, #16] @ (8007528 ) + 8007516: 4805 ldr r0, [pc, #20] @ (800752c ) + 8007518: f00a fd30 bl 8011f7c } } - 8006b98: bf00 nop - 8006b9a: 3708 adds r7, #8 - 8006b9c: 46bd mov sp, r7 - 8006b9e: bd80 pop {r7, pc} - 8006ba0: 080165b4 .word 0x080165b4 - 8006ba4: 08016794 .word 0x08016794 - 8006ba8: 08016614 .word 0x08016614 + 800751c: bf00 nop + 800751e: 3708 adds r7, #8 + 8007520: 46bd mov sp, r7 + 8007522: bd80 pop {r7, pc} + 8007524: 08016f34 .word 0x08016f34 + 8007528: 08017114 .word 0x08017114 + 800752c: 08016f94 .word 0x08016f94 -08006bac : +08007530 : * * @see pbuf_chain() */ void pbuf_cat(struct pbuf *h, struct pbuf *t) { - 8006bac: b580 push {r7, lr} - 8006bae: b084 sub sp, #16 - 8006bb0: af00 add r7, sp, #0 - 8006bb2: 6078 str r0, [r7, #4] - 8006bb4: 6039 str r1, [r7, #0] + 8007530: b580 push {r7, lr} + 8007532: b084 sub sp, #16 + 8007534: af00 add r7, sp, #0 + 8007536: 6078 str r0, [r7, #4] + 8007538: 6039 str r1, [r7, #0] struct pbuf *p; LWIP_ERROR("(h != NULL) && (t != NULL) (programmer violates API)", - 8006bb6: 687b ldr r3, [r7, #4] - 8006bb8: 2b00 cmp r3, #0 - 8006bba: d002 beq.n 8006bc2 - 8006bbc: 683b ldr r3, [r7, #0] - 8006bbe: 2b00 cmp r3, #0 - 8006bc0: d107 bne.n 8006bd2 - 8006bc2: 4b20 ldr r3, [pc, #128] @ (8006c44 ) - 8006bc4: f240 3259 movw r2, #857 @ 0x359 - 8006bc8: 491f ldr r1, [pc, #124] @ (8006c48 ) - 8006bca: 4820 ldr r0, [pc, #128] @ (8006c4c ) - 8006bcc: f00a fd14 bl 80115f8 - 8006bd0: e034 b.n 8006c3c + 800753a: 687b ldr r3, [r7, #4] + 800753c: 2b00 cmp r3, #0 + 800753e: d002 beq.n 8007546 + 8007540: 683b ldr r3, [r7, #0] + 8007542: 2b00 cmp r3, #0 + 8007544: d107 bne.n 8007556 + 8007546: 4b20 ldr r3, [pc, #128] @ (80075c8 ) + 8007548: f240 3259 movw r2, #857 @ 0x359 + 800754c: 491f ldr r1, [pc, #124] @ (80075cc ) + 800754e: 4820 ldr r0, [pc, #128] @ (80075d0 ) + 8007550: f00a fd14 bl 8011f7c + 8007554: e034 b.n 80075c0 ((h != NULL) && (t != NULL)), return;); /* proceed to last pbuf of chain */ for (p = h; p->next != NULL; p = p->next) { - 8006bd2: 687b ldr r3, [r7, #4] - 8006bd4: 60fb str r3, [r7, #12] - 8006bd6: e00a b.n 8006bee + 8007556: 687b ldr r3, [r7, #4] + 8007558: 60fb str r3, [r7, #12] + 800755a: e00a b.n 8007572 /* add total length of second chain to all totals of first chain */ p->tot_len = (u16_t)(p->tot_len + t->tot_len); - 8006bd8: 68fb ldr r3, [r7, #12] - 8006bda: 891a ldrh r2, [r3, #8] - 8006bdc: 683b ldr r3, [r7, #0] - 8006bde: 891b ldrh r3, [r3, #8] - 8006be0: 4413 add r3, r2 - 8006be2: b29a uxth r2, r3 - 8006be4: 68fb ldr r3, [r7, #12] - 8006be6: 811a strh r2, [r3, #8] + 800755c: 68fb ldr r3, [r7, #12] + 800755e: 891a ldrh r2, [r3, #8] + 8007560: 683b ldr r3, [r7, #0] + 8007562: 891b ldrh r3, [r3, #8] + 8007564: 4413 add r3, r2 + 8007566: b29a uxth r2, r3 + 8007568: 68fb ldr r3, [r7, #12] + 800756a: 811a strh r2, [r3, #8] for (p = h; p->next != NULL; p = p->next) { - 8006be8: 68fb ldr r3, [r7, #12] - 8006bea: 681b ldr r3, [r3, #0] - 8006bec: 60fb str r3, [r7, #12] - 8006bee: 68fb ldr r3, [r7, #12] - 8006bf0: 681b ldr r3, [r3, #0] - 8006bf2: 2b00 cmp r3, #0 - 8006bf4: d1f0 bne.n 8006bd8 + 800756c: 68fb ldr r3, [r7, #12] + 800756e: 681b ldr r3, [r3, #0] + 8007570: 60fb str r3, [r7, #12] + 8007572: 68fb ldr r3, [r7, #12] + 8007574: 681b ldr r3, [r3, #0] + 8007576: 2b00 cmp r3, #0 + 8007578: d1f0 bne.n 800755c } /* { p is last pbuf of first h chain, p->next == NULL } */ LWIP_ASSERT("p->tot_len == p->len (of last pbuf in chain)", p->tot_len == p->len); - 8006bf6: 68fb ldr r3, [r7, #12] - 8006bf8: 891a ldrh r2, [r3, #8] - 8006bfa: 68fb ldr r3, [r7, #12] - 8006bfc: 895b ldrh r3, [r3, #10] - 8006bfe: 429a cmp r2, r3 - 8006c00: d006 beq.n 8006c10 - 8006c02: 4b10 ldr r3, [pc, #64] @ (8006c44 ) - 8006c04: f240 3262 movw r2, #866 @ 0x362 - 8006c08: 4911 ldr r1, [pc, #68] @ (8006c50 ) - 8006c0a: 4810 ldr r0, [pc, #64] @ (8006c4c ) - 8006c0c: f00a fcf4 bl 80115f8 + 800757a: 68fb ldr r3, [r7, #12] + 800757c: 891a ldrh r2, [r3, #8] + 800757e: 68fb ldr r3, [r7, #12] + 8007580: 895b ldrh r3, [r3, #10] + 8007582: 429a cmp r2, r3 + 8007584: d006 beq.n 8007594 + 8007586: 4b10 ldr r3, [pc, #64] @ (80075c8 ) + 8007588: f240 3262 movw r2, #866 @ 0x362 + 800758c: 4911 ldr r1, [pc, #68] @ (80075d4 ) + 800758e: 4810 ldr r0, [pc, #64] @ (80075d0 ) + 8007590: f00a fcf4 bl 8011f7c LWIP_ASSERT("p->next == NULL", p->next == NULL); - 8006c10: 68fb ldr r3, [r7, #12] - 8006c12: 681b ldr r3, [r3, #0] - 8006c14: 2b00 cmp r3, #0 - 8006c16: d006 beq.n 8006c26 - 8006c18: 4b0a ldr r3, [pc, #40] @ (8006c44 ) - 8006c1a: f240 3263 movw r2, #867 @ 0x363 - 8006c1e: 490d ldr r1, [pc, #52] @ (8006c54 ) - 8006c20: 480a ldr r0, [pc, #40] @ (8006c4c ) - 8006c22: f00a fce9 bl 80115f8 + 8007594: 68fb ldr r3, [r7, #12] + 8007596: 681b ldr r3, [r3, #0] + 8007598: 2b00 cmp r3, #0 + 800759a: d006 beq.n 80075aa + 800759c: 4b0a ldr r3, [pc, #40] @ (80075c8 ) + 800759e: f240 3263 movw r2, #867 @ 0x363 + 80075a2: 490d ldr r1, [pc, #52] @ (80075d8 ) + 80075a4: 480a ldr r0, [pc, #40] @ (80075d0 ) + 80075a6: f00a fce9 bl 8011f7c /* add total length of second chain to last pbuf total of first chain */ p->tot_len = (u16_t)(p->tot_len + t->tot_len); - 8006c26: 68fb ldr r3, [r7, #12] - 8006c28: 891a ldrh r2, [r3, #8] - 8006c2a: 683b ldr r3, [r7, #0] - 8006c2c: 891b ldrh r3, [r3, #8] - 8006c2e: 4413 add r3, r2 - 8006c30: b29a uxth r2, r3 - 8006c32: 68fb ldr r3, [r7, #12] - 8006c34: 811a strh r2, [r3, #8] + 80075aa: 68fb ldr r3, [r7, #12] + 80075ac: 891a ldrh r2, [r3, #8] + 80075ae: 683b ldr r3, [r7, #0] + 80075b0: 891b ldrh r3, [r3, #8] + 80075b2: 4413 add r3, r2 + 80075b4: b29a uxth r2, r3 + 80075b6: 68fb ldr r3, [r7, #12] + 80075b8: 811a strh r2, [r3, #8] /* chain last pbuf of head (p) with first of tail (t) */ p->next = t; - 8006c36: 68fb ldr r3, [r7, #12] - 8006c38: 683a ldr r2, [r7, #0] - 8006c3a: 601a str r2, [r3, #0] + 80075ba: 68fb ldr r3, [r7, #12] + 80075bc: 683a ldr r2, [r7, #0] + 80075be: 601a str r2, [r3, #0] /* p->next now references t, but the caller will drop its reference to t, * so netto there is no change to the reference count of t. */ } - 8006c3c: 3710 adds r7, #16 - 8006c3e: 46bd mov sp, r7 - 8006c40: bd80 pop {r7, pc} - 8006c42: bf00 nop - 8006c44: 080165b4 .word 0x080165b4 - 8006c48: 080167a8 .word 0x080167a8 - 8006c4c: 08016614 .word 0x08016614 - 8006c50: 080167e0 .word 0x080167e0 - 8006c54: 08016810 .word 0x08016810 + 80075c0: 3710 adds r7, #16 + 80075c2: 46bd mov sp, r7 + 80075c4: bd80 pop {r7, pc} + 80075c6: bf00 nop + 80075c8: 08016f34 .word 0x08016f34 + 80075cc: 08017128 .word 0x08017128 + 80075d0: 08016f94 .word 0x08016f94 + 80075d4: 08017160 .word 0x08017160 + 80075d8: 08017190 .word 0x08017190 -08006c58 : +080075dc : * The ->ref field of the first pbuf of the tail chain is adjusted. * */ void pbuf_chain(struct pbuf *h, struct pbuf *t) { - 8006c58: b580 push {r7, lr} - 8006c5a: b082 sub sp, #8 - 8006c5c: af00 add r7, sp, #0 - 8006c5e: 6078 str r0, [r7, #4] - 8006c60: 6039 str r1, [r7, #0] + 80075dc: b580 push {r7, lr} + 80075de: b082 sub sp, #8 + 80075e0: af00 add r7, sp, #0 + 80075e2: 6078 str r0, [r7, #4] + 80075e4: 6039 str r1, [r7, #0] pbuf_cat(h, t); - 8006c62: 6839 ldr r1, [r7, #0] - 8006c64: 6878 ldr r0, [r7, #4] - 8006c66: f7ff ffa1 bl 8006bac + 80075e6: 6839 ldr r1, [r7, #0] + 80075e8: 6878 ldr r0, [r7, #4] + 80075ea: f7ff ffa1 bl 8007530 /* t is now referenced by h */ pbuf_ref(t); - 8006c6a: 6838 ldr r0, [r7, #0] - 8006c6c: f7ff ff7c bl 8006b68 + 80075ee: 6838 ldr r0, [r7, #0] + 80075f0: f7ff ff7c bl 80074ec LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_chain: %p references %p\n", (void *)h, (void *)t)); } - 8006c70: bf00 nop - 8006c72: 3708 adds r7, #8 - 8006c74: 46bd mov sp, r7 - 8006c76: bd80 pop {r7, pc} + 80075f4: bf00 nop + 80075f6: 3708 adds r7, #8 + 80075f8: 46bd mov sp, r7 + 80075fa: bd80 pop {r7, pc} -08006c78 : +080075fc : * ERR_ARG if one of the pbufs is NULL or p_to is not big * enough to hold p_from */ err_t pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from) { - 8006c78: b580 push {r7, lr} - 8006c7a: b086 sub sp, #24 - 8006c7c: af00 add r7, sp, #0 - 8006c7e: 6078 str r0, [r7, #4] - 8006c80: 6039 str r1, [r7, #0] + 80075fc: b580 push {r7, lr} + 80075fe: b086 sub sp, #24 + 8007600: af00 add r7, sp, #0 + 8007602: 6078 str r0, [r7, #4] + 8007604: 6039 str r1, [r7, #0] size_t offset_to = 0, offset_from = 0, len; - 8006c82: 2300 movs r3, #0 - 8006c84: 617b str r3, [r7, #20] - 8006c86: 2300 movs r3, #0 - 8006c88: 613b str r3, [r7, #16] + 8007606: 2300 movs r3, #0 + 8007608: 617b str r3, [r7, #20] + 800760a: 2300 movs r3, #0 + 800760c: 613b str r3, [r7, #16] LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_copy(%p, %p)\n", (const void *)p_to, (const void *)p_from)); /* is the target big enough to hold the source? */ LWIP_ERROR("pbuf_copy: target not big enough to hold source", ((p_to != NULL) && - 8006c8a: 687b ldr r3, [r7, #4] - 8006c8c: 2b00 cmp r3, #0 - 8006c8e: d008 beq.n 8006ca2 - 8006c90: 683b ldr r3, [r7, #0] - 8006c92: 2b00 cmp r3, #0 - 8006c94: d005 beq.n 8006ca2 - 8006c96: 687b ldr r3, [r7, #4] - 8006c98: 891a ldrh r2, [r3, #8] - 8006c9a: 683b ldr r3, [r7, #0] - 8006c9c: 891b ldrh r3, [r3, #8] - 8006c9e: 429a cmp r2, r3 - 8006ca0: d209 bcs.n 8006cb6 - 8006ca2: 4b57 ldr r3, [pc, #348] @ (8006e00 ) - 8006ca4: f240 32c9 movw r2, #969 @ 0x3c9 - 8006ca8: 4956 ldr r1, [pc, #344] @ (8006e04 ) - 8006caa: 4857 ldr r0, [pc, #348] @ (8006e08 ) - 8006cac: f00a fca4 bl 80115f8 - 8006cb0: f06f 030f mvn.w r3, #15 - 8006cb4: e09f b.n 8006df6 + 800760e: 687b ldr r3, [r7, #4] + 8007610: 2b00 cmp r3, #0 + 8007612: d008 beq.n 8007626 + 8007614: 683b ldr r3, [r7, #0] + 8007616: 2b00 cmp r3, #0 + 8007618: d005 beq.n 8007626 + 800761a: 687b ldr r3, [r7, #4] + 800761c: 891a ldrh r2, [r3, #8] + 800761e: 683b ldr r3, [r7, #0] + 8007620: 891b ldrh r3, [r3, #8] + 8007622: 429a cmp r2, r3 + 8007624: d209 bcs.n 800763a + 8007626: 4b57 ldr r3, [pc, #348] @ (8007784 ) + 8007628: f240 32c9 movw r2, #969 @ 0x3c9 + 800762c: 4956 ldr r1, [pc, #344] @ (8007788 ) + 800762e: 4857 ldr r0, [pc, #348] @ (800778c ) + 8007630: f00a fca4 bl 8011f7c + 8007634: f06f 030f mvn.w r3, #15 + 8007638: e09f b.n 800777a (p_from != NULL) && (p_to->tot_len >= p_from->tot_len)), return ERR_ARG;); /* iterate through pbuf chain */ do { /* copy one part of the original chain */ if ((p_to->len - offset_to) >= (p_from->len - offset_from)) { - 8006cb6: 687b ldr r3, [r7, #4] - 8006cb8: 895b ldrh r3, [r3, #10] - 8006cba: 461a mov r2, r3 - 8006cbc: 697b ldr r3, [r7, #20] - 8006cbe: 1ad2 subs r2, r2, r3 - 8006cc0: 683b ldr r3, [r7, #0] - 8006cc2: 895b ldrh r3, [r3, #10] - 8006cc4: 4619 mov r1, r3 - 8006cc6: 693b ldr r3, [r7, #16] - 8006cc8: 1acb subs r3, r1, r3 - 8006cca: 429a cmp r2, r3 - 8006ccc: d306 bcc.n 8006cdc + 800763a: 687b ldr r3, [r7, #4] + 800763c: 895b ldrh r3, [r3, #10] + 800763e: 461a mov r2, r3 + 8007640: 697b ldr r3, [r7, #20] + 8007642: 1ad2 subs r2, r2, r3 + 8007644: 683b ldr r3, [r7, #0] + 8007646: 895b ldrh r3, [r3, #10] + 8007648: 4619 mov r1, r3 + 800764a: 693b ldr r3, [r7, #16] + 800764c: 1acb subs r3, r1, r3 + 800764e: 429a cmp r2, r3 + 8007650: d306 bcc.n 8007660 /* complete current p_from fits into current p_to */ len = p_from->len - offset_from; - 8006cce: 683b ldr r3, [r7, #0] - 8006cd0: 895b ldrh r3, [r3, #10] - 8006cd2: 461a mov r2, r3 - 8006cd4: 693b ldr r3, [r7, #16] - 8006cd6: 1ad3 subs r3, r2, r3 - 8006cd8: 60fb str r3, [r7, #12] - 8006cda: e005 b.n 8006ce8 + 8007652: 683b ldr r3, [r7, #0] + 8007654: 895b ldrh r3, [r3, #10] + 8007656: 461a mov r2, r3 + 8007658: 693b ldr r3, [r7, #16] + 800765a: 1ad3 subs r3, r2, r3 + 800765c: 60fb str r3, [r7, #12] + 800765e: e005 b.n 800766c } else { /* current p_from does not fit into current p_to */ len = p_to->len - offset_to; - 8006cdc: 687b ldr r3, [r7, #4] - 8006cde: 895b ldrh r3, [r3, #10] - 8006ce0: 461a mov r2, r3 - 8006ce2: 697b ldr r3, [r7, #20] - 8006ce4: 1ad3 subs r3, r2, r3 - 8006ce6: 60fb str r3, [r7, #12] + 8007660: 687b ldr r3, [r7, #4] + 8007662: 895b ldrh r3, [r3, #10] + 8007664: 461a mov r2, r3 + 8007666: 697b ldr r3, [r7, #20] + 8007668: 1ad3 subs r3, r2, r3 + 800766a: 60fb str r3, [r7, #12] } MEMCPY((u8_t *)p_to->payload + offset_to, (u8_t *)p_from->payload + offset_from, len); - 8006ce8: 687b ldr r3, [r7, #4] - 8006cea: 685a ldr r2, [r3, #4] - 8006cec: 697b ldr r3, [r7, #20] - 8006cee: 18d0 adds r0, r2, r3 - 8006cf0: 683b ldr r3, [r7, #0] - 8006cf2: 685a ldr r2, [r3, #4] - 8006cf4: 693b ldr r3, [r7, #16] - 8006cf6: 4413 add r3, r2 - 8006cf8: 68fa ldr r2, [r7, #12] - 8006cfa: 4619 mov r1, r3 - 8006cfc: f00a fd78 bl 80117f0 + 800766c: 687b ldr r3, [r7, #4] + 800766e: 685a ldr r2, [r3, #4] + 8007670: 697b ldr r3, [r7, #20] + 8007672: 18d0 adds r0, r2, r3 + 8007674: 683b ldr r3, [r7, #0] + 8007676: 685a ldr r2, [r3, #4] + 8007678: 693b ldr r3, [r7, #16] + 800767a: 4413 add r3, r2 + 800767c: 68fa ldr r2, [r7, #12] + 800767e: 4619 mov r1, r3 + 8007680: f00a fd78 bl 8012174 offset_to += len; - 8006d00: 697a ldr r2, [r7, #20] - 8006d02: 68fb ldr r3, [r7, #12] - 8006d04: 4413 add r3, r2 - 8006d06: 617b str r3, [r7, #20] + 8007684: 697a ldr r2, [r7, #20] + 8007686: 68fb ldr r3, [r7, #12] + 8007688: 4413 add r3, r2 + 800768a: 617b str r3, [r7, #20] offset_from += len; - 8006d08: 693a ldr r2, [r7, #16] - 8006d0a: 68fb ldr r3, [r7, #12] - 8006d0c: 4413 add r3, r2 - 8006d0e: 613b str r3, [r7, #16] + 800768c: 693a ldr r2, [r7, #16] + 800768e: 68fb ldr r3, [r7, #12] + 8007690: 4413 add r3, r2 + 8007692: 613b str r3, [r7, #16] LWIP_ASSERT("offset_to <= p_to->len", offset_to <= p_to->len); - 8006d10: 687b ldr r3, [r7, #4] - 8006d12: 895b ldrh r3, [r3, #10] - 8006d14: 461a mov r2, r3 - 8006d16: 697b ldr r3, [r7, #20] - 8006d18: 4293 cmp r3, r2 - 8006d1a: d906 bls.n 8006d2a - 8006d1c: 4b38 ldr r3, [pc, #224] @ (8006e00 ) - 8006d1e: f240 32d9 movw r2, #985 @ 0x3d9 - 8006d22: 493a ldr r1, [pc, #232] @ (8006e0c ) - 8006d24: 4838 ldr r0, [pc, #224] @ (8006e08 ) - 8006d26: f00a fc67 bl 80115f8 + 8007694: 687b ldr r3, [r7, #4] + 8007696: 895b ldrh r3, [r3, #10] + 8007698: 461a mov r2, r3 + 800769a: 697b ldr r3, [r7, #20] + 800769c: 4293 cmp r3, r2 + 800769e: d906 bls.n 80076ae + 80076a0: 4b38 ldr r3, [pc, #224] @ (8007784 ) + 80076a2: f240 32d9 movw r2, #985 @ 0x3d9 + 80076a6: 493a ldr r1, [pc, #232] @ (8007790 ) + 80076a8: 4838 ldr r0, [pc, #224] @ (800778c ) + 80076aa: f00a fc67 bl 8011f7c LWIP_ASSERT("offset_from <= p_from->len", offset_from <= p_from->len); - 8006d2a: 683b ldr r3, [r7, #0] - 8006d2c: 895b ldrh r3, [r3, #10] - 8006d2e: 461a mov r2, r3 - 8006d30: 693b ldr r3, [r7, #16] - 8006d32: 4293 cmp r3, r2 - 8006d34: d906 bls.n 8006d44 - 8006d36: 4b32 ldr r3, [pc, #200] @ (8006e00 ) - 8006d38: f240 32da movw r2, #986 @ 0x3da - 8006d3c: 4934 ldr r1, [pc, #208] @ (8006e10 ) - 8006d3e: 4832 ldr r0, [pc, #200] @ (8006e08 ) - 8006d40: f00a fc5a bl 80115f8 + 80076ae: 683b ldr r3, [r7, #0] + 80076b0: 895b ldrh r3, [r3, #10] + 80076b2: 461a mov r2, r3 + 80076b4: 693b ldr r3, [r7, #16] + 80076b6: 4293 cmp r3, r2 + 80076b8: d906 bls.n 80076c8 + 80076ba: 4b32 ldr r3, [pc, #200] @ (8007784 ) + 80076bc: f240 32da movw r2, #986 @ 0x3da + 80076c0: 4934 ldr r1, [pc, #208] @ (8007794 ) + 80076c2: 4832 ldr r0, [pc, #200] @ (800778c ) + 80076c4: f00a fc5a bl 8011f7c if (offset_from >= p_from->len) { - 8006d44: 683b ldr r3, [r7, #0] - 8006d46: 895b ldrh r3, [r3, #10] - 8006d48: 461a mov r2, r3 - 8006d4a: 693b ldr r3, [r7, #16] - 8006d4c: 4293 cmp r3, r2 - 8006d4e: d304 bcc.n 8006d5a + 80076c8: 683b ldr r3, [r7, #0] + 80076ca: 895b ldrh r3, [r3, #10] + 80076cc: 461a mov r2, r3 + 80076ce: 693b ldr r3, [r7, #16] + 80076d0: 4293 cmp r3, r2 + 80076d2: d304 bcc.n 80076de /* on to next p_from (if any) */ offset_from = 0; - 8006d50: 2300 movs r3, #0 - 8006d52: 613b str r3, [r7, #16] + 80076d4: 2300 movs r3, #0 + 80076d6: 613b str r3, [r7, #16] p_from = p_from->next; - 8006d54: 683b ldr r3, [r7, #0] - 8006d56: 681b ldr r3, [r3, #0] - 8006d58: 603b str r3, [r7, #0] + 80076d8: 683b ldr r3, [r7, #0] + 80076da: 681b ldr r3, [r3, #0] + 80076dc: 603b str r3, [r7, #0] } if (offset_to == p_to->len) { - 8006d5a: 687b ldr r3, [r7, #4] - 8006d5c: 895b ldrh r3, [r3, #10] - 8006d5e: 461a mov r2, r3 - 8006d60: 697b ldr r3, [r7, #20] - 8006d62: 4293 cmp r3, r2 - 8006d64: d114 bne.n 8006d90 + 80076de: 687b ldr r3, [r7, #4] + 80076e0: 895b ldrh r3, [r3, #10] + 80076e2: 461a mov r2, r3 + 80076e4: 697b ldr r3, [r7, #20] + 80076e6: 4293 cmp r3, r2 + 80076e8: d114 bne.n 8007714 /* on to next p_to (if any) */ offset_to = 0; - 8006d66: 2300 movs r3, #0 - 8006d68: 617b str r3, [r7, #20] + 80076ea: 2300 movs r3, #0 + 80076ec: 617b str r3, [r7, #20] p_to = p_to->next; - 8006d6a: 687b ldr r3, [r7, #4] - 8006d6c: 681b ldr r3, [r3, #0] - 8006d6e: 607b str r3, [r7, #4] + 80076ee: 687b ldr r3, [r7, #4] + 80076f0: 681b ldr r3, [r3, #0] + 80076f2: 607b str r3, [r7, #4] LWIP_ERROR("p_to != NULL", (p_to != NULL) || (p_from == NULL), return ERR_ARG;); - 8006d70: 687b ldr r3, [r7, #4] - 8006d72: 2b00 cmp r3, #0 - 8006d74: d10c bne.n 8006d90 - 8006d76: 683b ldr r3, [r7, #0] - 8006d78: 2b00 cmp r3, #0 - 8006d7a: d009 beq.n 8006d90 - 8006d7c: 4b20 ldr r3, [pc, #128] @ (8006e00 ) - 8006d7e: f44f 7279 mov.w r2, #996 @ 0x3e4 - 8006d82: 4924 ldr r1, [pc, #144] @ (8006e14 ) - 8006d84: 4820 ldr r0, [pc, #128] @ (8006e08 ) - 8006d86: f00a fc37 bl 80115f8 - 8006d8a: f06f 030f mvn.w r3, #15 - 8006d8e: e032 b.n 8006df6 + 80076f4: 687b ldr r3, [r7, #4] + 80076f6: 2b00 cmp r3, #0 + 80076f8: d10c bne.n 8007714 + 80076fa: 683b ldr r3, [r7, #0] + 80076fc: 2b00 cmp r3, #0 + 80076fe: d009 beq.n 8007714 + 8007700: 4b20 ldr r3, [pc, #128] @ (8007784 ) + 8007702: f44f 7279 mov.w r2, #996 @ 0x3e4 + 8007706: 4924 ldr r1, [pc, #144] @ (8007798 ) + 8007708: 4820 ldr r0, [pc, #128] @ (800778c ) + 800770a: f00a fc37 bl 8011f7c + 800770e: f06f 030f mvn.w r3, #15 + 8007712: e032 b.n 800777a } if ((p_from != NULL) && (p_from->len == p_from->tot_len)) { - 8006d90: 683b ldr r3, [r7, #0] - 8006d92: 2b00 cmp r3, #0 - 8006d94: d013 beq.n 8006dbe - 8006d96: 683b ldr r3, [r7, #0] - 8006d98: 895a ldrh r2, [r3, #10] - 8006d9a: 683b ldr r3, [r7, #0] - 8006d9c: 891b ldrh r3, [r3, #8] - 8006d9e: 429a cmp r2, r3 - 8006da0: d10d bne.n 8006dbe + 8007714: 683b ldr r3, [r7, #0] + 8007716: 2b00 cmp r3, #0 + 8007718: d013 beq.n 8007742 + 800771a: 683b ldr r3, [r7, #0] + 800771c: 895a ldrh r2, [r3, #10] + 800771e: 683b ldr r3, [r7, #0] + 8007720: 891b ldrh r3, [r3, #8] + 8007722: 429a cmp r2, r3 + 8007724: d10d bne.n 8007742 /* don't copy more than one packet! */ LWIP_ERROR("pbuf_copy() does not allow packet queues!", - 8006da2: 683b ldr r3, [r7, #0] - 8006da4: 681b ldr r3, [r3, #0] - 8006da6: 2b00 cmp r3, #0 - 8006da8: d009 beq.n 8006dbe - 8006daa: 4b15 ldr r3, [pc, #84] @ (8006e00 ) - 8006dac: f240 32e9 movw r2, #1001 @ 0x3e9 - 8006db0: 4919 ldr r1, [pc, #100] @ (8006e18 ) - 8006db2: 4815 ldr r0, [pc, #84] @ (8006e08 ) - 8006db4: f00a fc20 bl 80115f8 - 8006db8: f06f 0305 mvn.w r3, #5 - 8006dbc: e01b b.n 8006df6 + 8007726: 683b ldr r3, [r7, #0] + 8007728: 681b ldr r3, [r3, #0] + 800772a: 2b00 cmp r3, #0 + 800772c: d009 beq.n 8007742 + 800772e: 4b15 ldr r3, [pc, #84] @ (8007784 ) + 8007730: f240 32e9 movw r2, #1001 @ 0x3e9 + 8007734: 4919 ldr r1, [pc, #100] @ (800779c ) + 8007736: 4815 ldr r0, [pc, #84] @ (800778c ) + 8007738: f00a fc20 bl 8011f7c + 800773c: f06f 0305 mvn.w r3, #5 + 8007740: e01b b.n 800777a (p_from->next == NULL), return ERR_VAL;); } if ((p_to != NULL) && (p_to->len == p_to->tot_len)) { - 8006dbe: 687b ldr r3, [r7, #4] - 8006dc0: 2b00 cmp r3, #0 - 8006dc2: d013 beq.n 8006dec - 8006dc4: 687b ldr r3, [r7, #4] - 8006dc6: 895a ldrh r2, [r3, #10] - 8006dc8: 687b ldr r3, [r7, #4] - 8006dca: 891b ldrh r3, [r3, #8] - 8006dcc: 429a cmp r2, r3 - 8006dce: d10d bne.n 8006dec + 8007742: 687b ldr r3, [r7, #4] + 8007744: 2b00 cmp r3, #0 + 8007746: d013 beq.n 8007770 + 8007748: 687b ldr r3, [r7, #4] + 800774a: 895a ldrh r2, [r3, #10] + 800774c: 687b ldr r3, [r7, #4] + 800774e: 891b ldrh r3, [r3, #8] + 8007750: 429a cmp r2, r3 + 8007752: d10d bne.n 8007770 /* don't copy more than one packet! */ LWIP_ERROR("pbuf_copy() does not allow packet queues!", - 8006dd0: 687b ldr r3, [r7, #4] - 8006dd2: 681b ldr r3, [r3, #0] - 8006dd4: 2b00 cmp r3, #0 - 8006dd6: d009 beq.n 8006dec - 8006dd8: 4b09 ldr r3, [pc, #36] @ (8006e00 ) - 8006dda: f240 32ee movw r2, #1006 @ 0x3ee - 8006dde: 490e ldr r1, [pc, #56] @ (8006e18 ) - 8006de0: 4809 ldr r0, [pc, #36] @ (8006e08 ) - 8006de2: f00a fc09 bl 80115f8 - 8006de6: f06f 0305 mvn.w r3, #5 - 8006dea: e004 b.n 8006df6 + 8007754: 687b ldr r3, [r7, #4] + 8007756: 681b ldr r3, [r3, #0] + 8007758: 2b00 cmp r3, #0 + 800775a: d009 beq.n 8007770 + 800775c: 4b09 ldr r3, [pc, #36] @ (8007784 ) + 800775e: f240 32ee movw r2, #1006 @ 0x3ee + 8007762: 490e ldr r1, [pc, #56] @ (800779c ) + 8007764: 4809 ldr r0, [pc, #36] @ (800778c ) + 8007766: f00a fc09 bl 8011f7c + 800776a: f06f 0305 mvn.w r3, #5 + 800776e: e004 b.n 800777a (p_to->next == NULL), return ERR_VAL;); } } while (p_from); - 8006dec: 683b ldr r3, [r7, #0] - 8006dee: 2b00 cmp r3, #0 - 8006df0: f47f af61 bne.w 8006cb6 + 8007770: 683b ldr r3, [r7, #0] + 8007772: 2b00 cmp r3, #0 + 8007774: f47f af61 bne.w 800763a LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_copy: end of chain reached.\n")); return ERR_OK; - 8006df4: 2300 movs r3, #0 + 8007778: 2300 movs r3, #0 } - 8006df6: 4618 mov r0, r3 - 8006df8: 3718 adds r7, #24 - 8006dfa: 46bd mov sp, r7 - 8006dfc: bd80 pop {r7, pc} - 8006dfe: bf00 nop - 8006e00: 080165b4 .word 0x080165b4 - 8006e04: 0801685c .word 0x0801685c - 8006e08: 08016614 .word 0x08016614 - 8006e0c: 0801688c .word 0x0801688c - 8006e10: 080168a4 .word 0x080168a4 - 8006e14: 080168c0 .word 0x080168c0 - 8006e18: 080168d0 .word 0x080168d0 + 800777a: 4618 mov r0, r3 + 800777c: 3718 adds r7, #24 + 800777e: 46bd mov sp, r7 + 8007780: bd80 pop {r7, pc} + 8007782: bf00 nop + 8007784: 08016f34 .word 0x08016f34 + 8007788: 080171dc .word 0x080171dc + 800778c: 08016f94 .word 0x08016f94 + 8007790: 0801720c .word 0x0801720c + 8007794: 08017224 .word 0x08017224 + 8007798: 08017240 .word 0x08017240 + 800779c: 08017250 .word 0x08017250 -08006e1c : +080077a0 : * @param offset offset into the packet buffer from where to begin copying len bytes * @return the number of bytes copied, or 0 on failure */ u16_t pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset) { - 8006e1c: b580 push {r7, lr} - 8006e1e: b088 sub sp, #32 - 8006e20: af00 add r7, sp, #0 - 8006e22: 60f8 str r0, [r7, #12] - 8006e24: 60b9 str r1, [r7, #8] - 8006e26: 4611 mov r1, r2 - 8006e28: 461a mov r2, r3 - 8006e2a: 460b mov r3, r1 - 8006e2c: 80fb strh r3, [r7, #6] - 8006e2e: 4613 mov r3, r2 - 8006e30: 80bb strh r3, [r7, #4] + 80077a0: b580 push {r7, lr} + 80077a2: b088 sub sp, #32 + 80077a4: af00 add r7, sp, #0 + 80077a6: 60f8 str r0, [r7, #12] + 80077a8: 60b9 str r1, [r7, #8] + 80077aa: 4611 mov r1, r2 + 80077ac: 461a mov r2, r3 + 80077ae: 460b mov r3, r1 + 80077b0: 80fb strh r3, [r7, #6] + 80077b2: 4613 mov r3, r2 + 80077b4: 80bb strh r3, [r7, #4] const struct pbuf *p; u16_t left = 0; - 8006e32: 2300 movs r3, #0 - 8006e34: 837b strh r3, [r7, #26] + 80077b6: 2300 movs r3, #0 + 80077b8: 837b strh r3, [r7, #26] u16_t buf_copy_len; u16_t copied_total = 0; - 8006e36: 2300 movs r3, #0 - 8006e38: 82fb strh r3, [r7, #22] + 80077ba: 2300 movs r3, #0 + 80077bc: 82fb strh r3, [r7, #22] LWIP_ERROR("pbuf_copy_partial: invalid buf", (buf != NULL), return 0;); - 8006e3a: 68fb ldr r3, [r7, #12] - 8006e3c: 2b00 cmp r3, #0 - 8006e3e: d108 bne.n 8006e52 - 8006e40: 4b2b ldr r3, [pc, #172] @ (8006ef0 ) - 8006e42: f240 420a movw r2, #1034 @ 0x40a - 8006e46: 492b ldr r1, [pc, #172] @ (8006ef4 ) - 8006e48: 482b ldr r0, [pc, #172] @ (8006ef8 ) - 8006e4a: f00a fbd5 bl 80115f8 - 8006e4e: 2300 movs r3, #0 - 8006e50: e04a b.n 8006ee8 + 80077be: 68fb ldr r3, [r7, #12] + 80077c0: 2b00 cmp r3, #0 + 80077c2: d108 bne.n 80077d6 + 80077c4: 4b2b ldr r3, [pc, #172] @ (8007874 ) + 80077c6: f240 420a movw r2, #1034 @ 0x40a + 80077ca: 492b ldr r1, [pc, #172] @ (8007878 ) + 80077cc: 482b ldr r0, [pc, #172] @ (800787c ) + 80077ce: f00a fbd5 bl 8011f7c + 80077d2: 2300 movs r3, #0 + 80077d4: e04a b.n 800786c LWIP_ERROR("pbuf_copy_partial: invalid dataptr", (dataptr != NULL), return 0;); - 8006e52: 68bb ldr r3, [r7, #8] - 8006e54: 2b00 cmp r3, #0 - 8006e56: d108 bne.n 8006e6a - 8006e58: 4b25 ldr r3, [pc, #148] @ (8006ef0 ) - 8006e5a: f240 420b movw r2, #1035 @ 0x40b - 8006e5e: 4927 ldr r1, [pc, #156] @ (8006efc ) - 8006e60: 4825 ldr r0, [pc, #148] @ (8006ef8 ) - 8006e62: f00a fbc9 bl 80115f8 - 8006e66: 2300 movs r3, #0 - 8006e68: e03e b.n 8006ee8 + 80077d6: 68bb ldr r3, [r7, #8] + 80077d8: 2b00 cmp r3, #0 + 80077da: d108 bne.n 80077ee + 80077dc: 4b25 ldr r3, [pc, #148] @ (8007874 ) + 80077de: f240 420b movw r2, #1035 @ 0x40b + 80077e2: 4927 ldr r1, [pc, #156] @ (8007880 ) + 80077e4: 4825 ldr r0, [pc, #148] @ (800787c ) + 80077e6: f00a fbc9 bl 8011f7c + 80077ea: 2300 movs r3, #0 + 80077ec: e03e b.n 800786c /* Note some systems use byte copy if dataptr or one of the pbuf payload pointers are unaligned. */ for (p = buf; len != 0 && p != NULL; p = p->next) { - 8006e6a: 68fb ldr r3, [r7, #12] - 8006e6c: 61fb str r3, [r7, #28] - 8006e6e: e034 b.n 8006eda + 80077ee: 68fb ldr r3, [r7, #12] + 80077f0: 61fb str r3, [r7, #28] + 80077f2: e034 b.n 800785e if ((offset != 0) && (offset >= p->len)) { - 8006e70: 88bb ldrh r3, [r7, #4] - 8006e72: 2b00 cmp r3, #0 - 8006e74: d00a beq.n 8006e8c - 8006e76: 69fb ldr r3, [r7, #28] - 8006e78: 895b ldrh r3, [r3, #10] - 8006e7a: 88ba ldrh r2, [r7, #4] - 8006e7c: 429a cmp r2, r3 - 8006e7e: d305 bcc.n 8006e8c + 80077f4: 88bb ldrh r3, [r7, #4] + 80077f6: 2b00 cmp r3, #0 + 80077f8: d00a beq.n 8007810 + 80077fa: 69fb ldr r3, [r7, #28] + 80077fc: 895b ldrh r3, [r3, #10] + 80077fe: 88ba ldrh r2, [r7, #4] + 8007800: 429a cmp r2, r3 + 8007802: d305 bcc.n 8007810 /* don't copy from this buffer -> on to the next */ offset = (u16_t)(offset - p->len); - 8006e80: 69fb ldr r3, [r7, #28] - 8006e82: 895b ldrh r3, [r3, #10] - 8006e84: 88ba ldrh r2, [r7, #4] - 8006e86: 1ad3 subs r3, r2, r3 - 8006e88: 80bb strh r3, [r7, #4] - 8006e8a: e023 b.n 8006ed4 + 8007804: 69fb ldr r3, [r7, #28] + 8007806: 895b ldrh r3, [r3, #10] + 8007808: 88ba ldrh r2, [r7, #4] + 800780a: 1ad3 subs r3, r2, r3 + 800780c: 80bb strh r3, [r7, #4] + 800780e: e023 b.n 8007858 } else { /* copy from this buffer. maybe only partially. */ buf_copy_len = (u16_t)(p->len - offset); - 8006e8c: 69fb ldr r3, [r7, #28] - 8006e8e: 895a ldrh r2, [r3, #10] - 8006e90: 88bb ldrh r3, [r7, #4] - 8006e92: 1ad3 subs r3, r2, r3 - 8006e94: 833b strh r3, [r7, #24] + 8007810: 69fb ldr r3, [r7, #28] + 8007812: 895a ldrh r2, [r3, #10] + 8007814: 88bb ldrh r3, [r7, #4] + 8007816: 1ad3 subs r3, r2, r3 + 8007818: 833b strh r3, [r7, #24] if (buf_copy_len > len) { - 8006e96: 8b3a ldrh r2, [r7, #24] - 8006e98: 88fb ldrh r3, [r7, #6] - 8006e9a: 429a cmp r2, r3 - 8006e9c: d901 bls.n 8006ea2 + 800781a: 8b3a ldrh r2, [r7, #24] + 800781c: 88fb ldrh r3, [r7, #6] + 800781e: 429a cmp r2, r3 + 8007820: d901 bls.n 8007826 buf_copy_len = len; - 8006e9e: 88fb ldrh r3, [r7, #6] - 8006ea0: 833b strh r3, [r7, #24] + 8007822: 88fb ldrh r3, [r7, #6] + 8007824: 833b strh r3, [r7, #24] } /* copy the necessary parts of the buffer */ MEMCPY(&((char *)dataptr)[left], &((char *)p->payload)[offset], buf_copy_len); - 8006ea2: 8b7b ldrh r3, [r7, #26] - 8006ea4: 68ba ldr r2, [r7, #8] - 8006ea6: 18d0 adds r0, r2, r3 - 8006ea8: 69fb ldr r3, [r7, #28] - 8006eaa: 685a ldr r2, [r3, #4] - 8006eac: 88bb ldrh r3, [r7, #4] - 8006eae: 4413 add r3, r2 - 8006eb0: 8b3a ldrh r2, [r7, #24] - 8006eb2: 4619 mov r1, r3 - 8006eb4: f00a fc9c bl 80117f0 + 8007826: 8b7b ldrh r3, [r7, #26] + 8007828: 68ba ldr r2, [r7, #8] + 800782a: 18d0 adds r0, r2, r3 + 800782c: 69fb ldr r3, [r7, #28] + 800782e: 685a ldr r2, [r3, #4] + 8007830: 88bb ldrh r3, [r7, #4] + 8007832: 4413 add r3, r2 + 8007834: 8b3a ldrh r2, [r7, #24] + 8007836: 4619 mov r1, r3 + 8007838: f00a fc9c bl 8012174 copied_total = (u16_t)(copied_total + buf_copy_len); - 8006eb8: 8afa ldrh r2, [r7, #22] - 8006eba: 8b3b ldrh r3, [r7, #24] - 8006ebc: 4413 add r3, r2 - 8006ebe: 82fb strh r3, [r7, #22] + 800783c: 8afa ldrh r2, [r7, #22] + 800783e: 8b3b ldrh r3, [r7, #24] + 8007840: 4413 add r3, r2 + 8007842: 82fb strh r3, [r7, #22] left = (u16_t)(left + buf_copy_len); - 8006ec0: 8b7a ldrh r2, [r7, #26] - 8006ec2: 8b3b ldrh r3, [r7, #24] - 8006ec4: 4413 add r3, r2 - 8006ec6: 837b strh r3, [r7, #26] + 8007844: 8b7a ldrh r2, [r7, #26] + 8007846: 8b3b ldrh r3, [r7, #24] + 8007848: 4413 add r3, r2 + 800784a: 837b strh r3, [r7, #26] len = (u16_t)(len - buf_copy_len); - 8006ec8: 88fa ldrh r2, [r7, #6] - 8006eca: 8b3b ldrh r3, [r7, #24] - 8006ecc: 1ad3 subs r3, r2, r3 - 8006ece: 80fb strh r3, [r7, #6] + 800784c: 88fa ldrh r2, [r7, #6] + 800784e: 8b3b ldrh r3, [r7, #24] + 8007850: 1ad3 subs r3, r2, r3 + 8007852: 80fb strh r3, [r7, #6] offset = 0; - 8006ed0: 2300 movs r3, #0 - 8006ed2: 80bb strh r3, [r7, #4] + 8007854: 2300 movs r3, #0 + 8007856: 80bb strh r3, [r7, #4] for (p = buf; len != 0 && p != NULL; p = p->next) { - 8006ed4: 69fb ldr r3, [r7, #28] - 8006ed6: 681b ldr r3, [r3, #0] - 8006ed8: 61fb str r3, [r7, #28] - 8006eda: 88fb ldrh r3, [r7, #6] - 8006edc: 2b00 cmp r3, #0 - 8006ede: d002 beq.n 8006ee6 - 8006ee0: 69fb ldr r3, [r7, #28] - 8006ee2: 2b00 cmp r3, #0 - 8006ee4: d1c4 bne.n 8006e70 + 8007858: 69fb ldr r3, [r7, #28] + 800785a: 681b ldr r3, [r3, #0] + 800785c: 61fb str r3, [r7, #28] + 800785e: 88fb ldrh r3, [r7, #6] + 8007860: 2b00 cmp r3, #0 + 8007862: d002 beq.n 800786a + 8007864: 69fb ldr r3, [r7, #28] + 8007866: 2b00 cmp r3, #0 + 8007868: d1c4 bne.n 80077f4 } } return copied_total; - 8006ee6: 8afb ldrh r3, [r7, #22] + 800786a: 8afb ldrh r3, [r7, #22] } - 8006ee8: 4618 mov r0, r3 - 8006eea: 3720 adds r7, #32 - 8006eec: 46bd mov sp, r7 - 8006eee: bd80 pop {r7, pc} - 8006ef0: 080165b4 .word 0x080165b4 - 8006ef4: 080168fc .word 0x080168fc - 8006ef8: 08016614 .word 0x08016614 - 8006efc: 0801691c .word 0x0801691c + 800786c: 4618 mov r0, r3 + 800786e: 3720 adds r7, #32 + 8007870: 46bd mov sp, r7 + 8007872: bd80 pop {r7, pc} + 8007874: 08016f34 .word 0x08016f34 + 8007878: 0801727c .word 0x0801727c + 800787c: 08016f94 .word 0x08016f94 + 8007880: 0801729c .word 0x0801729c -08006f00 : +08007884 : * * @return a new pbuf or NULL if allocation fails */ struct pbuf * pbuf_clone(pbuf_layer layer, pbuf_type type, struct pbuf *p) { - 8006f00: b580 push {r7, lr} - 8006f02: b084 sub sp, #16 - 8006f04: af00 add r7, sp, #0 - 8006f06: 4603 mov r3, r0 - 8006f08: 603a str r2, [r7, #0] - 8006f0a: 71fb strb r3, [r7, #7] - 8006f0c: 460b mov r3, r1 - 8006f0e: 80bb strh r3, [r7, #4] + 8007884: b580 push {r7, lr} + 8007886: b084 sub sp, #16 + 8007888: af00 add r7, sp, #0 + 800788a: 4603 mov r3, r0 + 800788c: 603a str r2, [r7, #0] + 800788e: 71fb strb r3, [r7, #7] + 8007890: 460b mov r3, r1 + 8007892: 80bb strh r3, [r7, #4] struct pbuf *q; err_t err; q = pbuf_alloc(layer, p->tot_len, type); - 8006f10: 683b ldr r3, [r7, #0] - 8006f12: 8919 ldrh r1, [r3, #8] - 8006f14: 88ba ldrh r2, [r7, #4] - 8006f16: 79fb ldrb r3, [r7, #7] - 8006f18: 4618 mov r0, r3 - 8006f1a: f7ff faa3 bl 8006464 - 8006f1e: 60f8 str r0, [r7, #12] + 8007894: 683b ldr r3, [r7, #0] + 8007896: 8919 ldrh r1, [r3, #8] + 8007898: 88ba ldrh r2, [r7, #4] + 800789a: 79fb ldrb r3, [r7, #7] + 800789c: 4618 mov r0, r3 + 800789e: f7ff faa3 bl 8006de8 + 80078a2: 60f8 str r0, [r7, #12] if (q == NULL) { - 8006f20: 68fb ldr r3, [r7, #12] - 8006f22: 2b00 cmp r3, #0 - 8006f24: d101 bne.n 8006f2a + 80078a4: 68fb ldr r3, [r7, #12] + 80078a6: 2b00 cmp r3, #0 + 80078a8: d101 bne.n 80078ae return NULL; - 8006f26: 2300 movs r3, #0 - 8006f28: e011 b.n 8006f4e + 80078aa: 2300 movs r3, #0 + 80078ac: e011 b.n 80078d2 } err = pbuf_copy(q, p); - 8006f2a: 6839 ldr r1, [r7, #0] - 8006f2c: 68f8 ldr r0, [r7, #12] - 8006f2e: f7ff fea3 bl 8006c78 - 8006f32: 4603 mov r3, r0 - 8006f34: 72fb strb r3, [r7, #11] + 80078ae: 6839 ldr r1, [r7, #0] + 80078b0: 68f8 ldr r0, [r7, #12] + 80078b2: f7ff fea3 bl 80075fc + 80078b6: 4603 mov r3, r0 + 80078b8: 72fb strb r3, [r7, #11] LWIP_UNUSED_ARG(err); /* in case of LWIP_NOASSERT */ LWIP_ASSERT("pbuf_copy failed", err == ERR_OK); - 8006f36: f997 300b ldrsb.w r3, [r7, #11] - 8006f3a: 2b00 cmp r3, #0 - 8006f3c: d006 beq.n 8006f4c - 8006f3e: 4b06 ldr r3, [pc, #24] @ (8006f58 ) - 8006f40: f240 5224 movw r2, #1316 @ 0x524 - 8006f44: 4905 ldr r1, [pc, #20] @ (8006f5c ) - 8006f46: 4806 ldr r0, [pc, #24] @ (8006f60 ) - 8006f48: f00a fb56 bl 80115f8 + 80078ba: f997 300b ldrsb.w r3, [r7, #11] + 80078be: 2b00 cmp r3, #0 + 80078c0: d006 beq.n 80078d0 + 80078c2: 4b06 ldr r3, [pc, #24] @ (80078dc ) + 80078c4: f240 5224 movw r2, #1316 @ 0x524 + 80078c8: 4905 ldr r1, [pc, #20] @ (80078e0 ) + 80078ca: 4806 ldr r0, [pc, #24] @ (80078e4 ) + 80078cc: f00a fb56 bl 8011f7c return q; - 8006f4c: 68fb ldr r3, [r7, #12] + 80078d0: 68fb ldr r3, [r7, #12] } - 8006f4e: 4618 mov r0, r3 - 8006f50: 3710 adds r7, #16 - 8006f52: 46bd mov sp, r7 - 8006f54: bd80 pop {r7, pc} - 8006f56: bf00 nop - 8006f58: 080165b4 .word 0x080165b4 - 8006f5c: 08016a28 .word 0x08016a28 - 8006f60: 08016614 .word 0x08016614 + 80078d2: 4618 mov r0, r3 + 80078d4: 3710 adds r7, #16 + 80078d6: 46bd mov sp, r7 + 80078d8: bd80 pop {r7, pc} + 80078da: bf00 nop + 80078dc: 08016f34 .word 0x08016f34 + 80078e0: 080173a8 .word 0x080173a8 + 80078e4: 08016f94 .word 0x08016f94 -08006f64 : +080078e8 : /** * Initialize this module. */ void tcp_init(void) { - 8006f64: b580 push {r7, lr} - 8006f66: af00 add r7, sp, #0 + 80078e8: b580 push {r7, lr} + 80078ea: af00 add r7, sp, #0 #ifdef LWIP_RAND tcp_port = TCP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); - 8006f68: f00a fa68 bl 801143c - 8006f6c: 4603 mov r3, r0 - 8006f6e: b29b uxth r3, r3 - 8006f70: f3c3 030d ubfx r3, r3, #0, #14 - 8006f74: b29b uxth r3, r3 - 8006f76: f5a3 4380 sub.w r3, r3, #16384 @ 0x4000 - 8006f7a: b29a uxth r2, r3 - 8006f7c: 4b01 ldr r3, [pc, #4] @ (8006f84 ) - 8006f7e: 801a strh r2, [r3, #0] + 80078ec: f00a fa68 bl 8011dc0 + 80078f0: 4603 mov r3, r0 + 80078f2: b29b uxth r3, r3 + 80078f4: f3c3 030d ubfx r3, r3, #0, #14 + 80078f8: b29b uxth r3, r3 + 80078fa: f5a3 4380 sub.w r3, r3, #16384 @ 0x4000 + 80078fe: b29a uxth r2, r3 + 8007900: 4b01 ldr r3, [pc, #4] @ (8007908 ) + 8007902: 801a strh r2, [r3, #0] #endif /* LWIP_RAND */ } - 8006f80: bf00 nop - 8006f82: bd80 pop {r7, pc} - 8006f84: 20000020 .word 0x20000020 + 8007904: bf00 nop + 8007906: bd80 pop {r7, pc} + 8007908: 20000020 .word 0x20000020 -08006f88 : +0800790c : /** Free a tcp pcb */ void tcp_free(struct tcp_pcb *pcb) { - 8006f88: b580 push {r7, lr} - 8006f8a: b082 sub sp, #8 - 8006f8c: af00 add r7, sp, #0 - 8006f8e: 6078 str r0, [r7, #4] + 800790c: b580 push {r7, lr} + 800790e: b082 sub sp, #8 + 8007910: af00 add r7, sp, #0 + 8007912: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_free: LISTEN", pcb->state != LISTEN); - 8006f90: 687b ldr r3, [r7, #4] - 8006f92: 7d1b ldrb r3, [r3, #20] - 8006f94: 2b01 cmp r3, #1 - 8006f96: d105 bne.n 8006fa4 - 8006f98: 4b06 ldr r3, [pc, #24] @ (8006fb4 ) - 8006f9a: 22d4 movs r2, #212 @ 0xd4 - 8006f9c: 4906 ldr r1, [pc, #24] @ (8006fb8 ) - 8006f9e: 4807 ldr r0, [pc, #28] @ (8006fbc ) - 8006fa0: f00a fb2a bl 80115f8 + 8007914: 687b ldr r3, [r7, #4] + 8007916: 7d1b ldrb r3, [r3, #20] + 8007918: 2b01 cmp r3, #1 + 800791a: d105 bne.n 8007928 + 800791c: 4b06 ldr r3, [pc, #24] @ (8007938 ) + 800791e: 22d4 movs r2, #212 @ 0xd4 + 8007920: 4906 ldr r1, [pc, #24] @ (800793c ) + 8007922: 4807 ldr r0, [pc, #28] @ (8007940 ) + 8007924: f00a fb2a bl 8011f7c #if LWIP_TCP_PCB_NUM_EXT_ARGS tcp_ext_arg_invoke_callbacks_destroyed(pcb->ext_args); #endif memp_free(MEMP_TCP_PCB, pcb); - 8006fa4: 6879 ldr r1, [r7, #4] - 8006fa6: 2001 movs r0, #1 - 8006fa8: f7fe febe bl 8005d28 + 8007928: 6879 ldr r1, [r7, #4] + 800792a: 2001 movs r0, #1 + 800792c: f7fe febe bl 80066ac } - 8006fac: bf00 nop - 8006fae: 3708 adds r7, #8 - 8006fb0: 46bd mov sp, r7 - 8006fb2: bd80 pop {r7, pc} - 8006fb4: 08016ab4 .word 0x08016ab4 - 8006fb8: 08016ae4 .word 0x08016ae4 - 8006fbc: 08016af8 .word 0x08016af8 + 8007930: bf00 nop + 8007932: 3708 adds r7, #8 + 8007934: 46bd mov sp, r7 + 8007936: bd80 pop {r7, pc} + 8007938: 08017434 .word 0x08017434 + 800793c: 08017464 .word 0x08017464 + 8007940: 08017478 .word 0x08017478 -08006fc0 : +08007944 : /** Free a tcp listen pcb */ static void tcp_free_listen(struct tcp_pcb *pcb) { - 8006fc0: b580 push {r7, lr} - 8006fc2: b082 sub sp, #8 - 8006fc4: af00 add r7, sp, #0 - 8006fc6: 6078 str r0, [r7, #4] + 8007944: b580 push {r7, lr} + 8007946: b082 sub sp, #8 + 8007948: af00 add r7, sp, #0 + 800794a: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_free_listen: !LISTEN", pcb->state != LISTEN); - 8006fc8: 687b ldr r3, [r7, #4] - 8006fca: 7d1b ldrb r3, [r3, #20] - 8006fcc: 2b01 cmp r3, #1 - 8006fce: d105 bne.n 8006fdc - 8006fd0: 4b06 ldr r3, [pc, #24] @ (8006fec ) - 8006fd2: 22df movs r2, #223 @ 0xdf - 8006fd4: 4906 ldr r1, [pc, #24] @ (8006ff0 ) - 8006fd6: 4807 ldr r0, [pc, #28] @ (8006ff4 ) - 8006fd8: f00a fb0e bl 80115f8 + 800794c: 687b ldr r3, [r7, #4] + 800794e: 7d1b ldrb r3, [r3, #20] + 8007950: 2b01 cmp r3, #1 + 8007952: d105 bne.n 8007960 + 8007954: 4b06 ldr r3, [pc, #24] @ (8007970 ) + 8007956: 22df movs r2, #223 @ 0xdf + 8007958: 4906 ldr r1, [pc, #24] @ (8007974 ) + 800795a: 4807 ldr r0, [pc, #28] @ (8007978 ) + 800795c: f00a fb0e bl 8011f7c #if LWIP_TCP_PCB_NUM_EXT_ARGS tcp_ext_arg_invoke_callbacks_destroyed(pcb->ext_args); #endif memp_free(MEMP_TCP_PCB_LISTEN, pcb); - 8006fdc: 6879 ldr r1, [r7, #4] - 8006fde: 2002 movs r0, #2 - 8006fe0: f7fe fea2 bl 8005d28 + 8007960: 6879 ldr r1, [r7, #4] + 8007962: 2002 movs r0, #2 + 8007964: f7fe fea2 bl 80066ac } - 8006fe4: bf00 nop - 8006fe6: 3708 adds r7, #8 - 8006fe8: 46bd mov sp, r7 - 8006fea: bd80 pop {r7, pc} - 8006fec: 08016ab4 .word 0x08016ab4 - 8006ff0: 08016b20 .word 0x08016b20 - 8006ff4: 08016af8 .word 0x08016af8 + 8007968: bf00 nop + 800796a: 3708 adds r7, #8 + 800796c: 46bd mov sp, r7 + 800796e: bd80 pop {r7, pc} + 8007970: 08017434 .word 0x08017434 + 8007974: 080174a0 .word 0x080174a0 + 8007978: 08017478 .word 0x08017478 -08006ff8 : +0800797c : /** * Called periodically to dispatch TCP timers. */ void tcp_tmr(void) { - 8006ff8: b580 push {r7, lr} - 8006ffa: af00 add r7, sp, #0 + 800797c: b580 push {r7, lr} + 800797e: af00 add r7, sp, #0 /* Call tcp_fasttmr() every 250 ms */ tcp_fasttmr(); - 8006ffc: f000 fea4 bl 8007d48 + 8007980: f000 fea4 bl 80086cc if (++tcp_timer & 1) { - 8007000: 4b07 ldr r3, [pc, #28] @ (8007020 ) - 8007002: 781b ldrb r3, [r3, #0] - 8007004: 3301 adds r3, #1 - 8007006: b2da uxtb r2, r3 - 8007008: 4b05 ldr r3, [pc, #20] @ (8007020 ) - 800700a: 701a strb r2, [r3, #0] - 800700c: 4b04 ldr r3, [pc, #16] @ (8007020 ) - 800700e: 781b ldrb r3, [r3, #0] - 8007010: f003 0301 and.w r3, r3, #1 - 8007014: 2b00 cmp r3, #0 - 8007016: d001 beq.n 800701c + 8007984: 4b07 ldr r3, [pc, #28] @ (80079a4 ) + 8007986: 781b ldrb r3, [r3, #0] + 8007988: 3301 adds r3, #1 + 800798a: b2da uxtb r2, r3 + 800798c: 4b05 ldr r3, [pc, #20] @ (80079a4 ) + 800798e: 701a strb r2, [r3, #0] + 8007990: 4b04 ldr r3, [pc, #16] @ (80079a4 ) + 8007992: 781b ldrb r3, [r3, #0] + 8007994: f003 0301 and.w r3, r3, #1 + 8007998: 2b00 cmp r3, #0 + 800799a: d001 beq.n 80079a0 /* Call tcp_slowtmr() every 500 ms, i.e., every other timer tcp_tmr() is called. */ tcp_slowtmr(); - 8007018: f000 fb54 bl 80076c4 + 800799c: f000 fb54 bl 8008048 } } - 800701c: bf00 nop - 800701e: bd80 pop {r7, pc} - 8007020: 200190b9 .word 0x200190b9 + 80079a0: bf00 nop + 80079a2: bd80 pop {r7, pc} + 80079a4: 200190ed .word 0x200190ed -08007024 : +080079a8 : /** Called when a listen pcb is closed. Iterates one pcb list and removes the * closed listener pcb from pcb->listener if matching. */ static void tcp_remove_listener(struct tcp_pcb *list, struct tcp_pcb_listen *lpcb) { - 8007024: b580 push {r7, lr} - 8007026: b084 sub sp, #16 - 8007028: af00 add r7, sp, #0 - 800702a: 6078 str r0, [r7, #4] - 800702c: 6039 str r1, [r7, #0] + 80079a8: b580 push {r7, lr} + 80079aa: b084 sub sp, #16 + 80079ac: af00 add r7, sp, #0 + 80079ae: 6078 str r0, [r7, #4] + 80079b0: 6039 str r1, [r7, #0] struct tcp_pcb *pcb; LWIP_ASSERT("tcp_remove_listener: invalid listener", lpcb != NULL); - 800702e: 683b ldr r3, [r7, #0] - 8007030: 2b00 cmp r3, #0 - 8007032: d105 bne.n 8007040 - 8007034: 4b0d ldr r3, [pc, #52] @ (800706c ) - 8007036: 22ff movs r2, #255 @ 0xff - 8007038: 490d ldr r1, [pc, #52] @ (8007070 ) - 800703a: 480e ldr r0, [pc, #56] @ (8007074 ) - 800703c: f00a fadc bl 80115f8 + 80079b2: 683b ldr r3, [r7, #0] + 80079b4: 2b00 cmp r3, #0 + 80079b6: d105 bne.n 80079c4 + 80079b8: 4b0d ldr r3, [pc, #52] @ (80079f0 ) + 80079ba: 22ff movs r2, #255 @ 0xff + 80079bc: 490d ldr r1, [pc, #52] @ (80079f4 ) + 80079be: 480e ldr r0, [pc, #56] @ (80079f8 ) + 80079c0: f00a fadc bl 8011f7c for (pcb = list; pcb != NULL; pcb = pcb->next) { - 8007040: 687b ldr r3, [r7, #4] - 8007042: 60fb str r3, [r7, #12] - 8007044: e00a b.n 800705c + 80079c4: 687b ldr r3, [r7, #4] + 80079c6: 60fb str r3, [r7, #12] + 80079c8: e00a b.n 80079e0 if (pcb->listener == lpcb) { - 8007046: 68fb ldr r3, [r7, #12] - 8007048: 6fdb ldr r3, [r3, #124] @ 0x7c - 800704a: 683a ldr r2, [r7, #0] - 800704c: 429a cmp r2, r3 - 800704e: d102 bne.n 8007056 + 80079ca: 68fb ldr r3, [r7, #12] + 80079cc: 6fdb ldr r3, [r3, #124] @ 0x7c + 80079ce: 683a ldr r2, [r7, #0] + 80079d0: 429a cmp r2, r3 + 80079d2: d102 bne.n 80079da pcb->listener = NULL; - 8007050: 68fb ldr r3, [r7, #12] - 8007052: 2200 movs r2, #0 - 8007054: 67da str r2, [r3, #124] @ 0x7c + 80079d4: 68fb ldr r3, [r7, #12] + 80079d6: 2200 movs r2, #0 + 80079d8: 67da str r2, [r3, #124] @ 0x7c for (pcb = list; pcb != NULL; pcb = pcb->next) { - 8007056: 68fb ldr r3, [r7, #12] - 8007058: 68db ldr r3, [r3, #12] - 800705a: 60fb str r3, [r7, #12] - 800705c: 68fb ldr r3, [r7, #12] - 800705e: 2b00 cmp r3, #0 - 8007060: d1f1 bne.n 8007046 + 80079da: 68fb ldr r3, [r7, #12] + 80079dc: 68db ldr r3, [r3, #12] + 80079de: 60fb str r3, [r7, #12] + 80079e0: 68fb ldr r3, [r7, #12] + 80079e2: 2b00 cmp r3, #0 + 80079e4: d1f1 bne.n 80079ca } } } - 8007062: bf00 nop - 8007064: bf00 nop - 8007066: 3710 adds r7, #16 - 8007068: 46bd mov sp, r7 - 800706a: bd80 pop {r7, pc} - 800706c: 08016ab4 .word 0x08016ab4 - 8007070: 08016b3c .word 0x08016b3c - 8007074: 08016af8 .word 0x08016af8 + 80079e6: bf00 nop + 80079e8: bf00 nop + 80079ea: 3710 adds r7, #16 + 80079ec: 46bd mov sp, r7 + 80079ee: bd80 pop {r7, pc} + 80079f0: 08017434 .word 0x08017434 + 80079f4: 080174bc .word 0x080174bc + 80079f8: 08017478 .word 0x08017478 -08007078 : +080079fc : /** Called when a listen pcb is closed. Iterates all pcb lists and removes the * closed listener pcb from pcb->listener if matching. */ static void tcp_listen_closed(struct tcp_pcb *pcb) { - 8007078: b580 push {r7, lr} - 800707a: b084 sub sp, #16 - 800707c: af00 add r7, sp, #0 - 800707e: 6078 str r0, [r7, #4] + 80079fc: b580 push {r7, lr} + 80079fe: b084 sub sp, #16 + 8007a00: af00 add r7, sp, #0 + 8007a02: 6078 str r0, [r7, #4] #if LWIP_CALLBACK_API || TCP_LISTEN_BACKLOG size_t i; LWIP_ASSERT("pcb != NULL", pcb != NULL); - 8007080: 687b ldr r3, [r7, #4] - 8007082: 2b00 cmp r3, #0 - 8007084: d106 bne.n 8007094 - 8007086: 4b14 ldr r3, [pc, #80] @ (80070d8 ) - 8007088: f240 1211 movw r2, #273 @ 0x111 - 800708c: 4913 ldr r1, [pc, #76] @ (80070dc ) - 800708e: 4814 ldr r0, [pc, #80] @ (80070e0 ) - 8007090: f00a fab2 bl 80115f8 + 8007a04: 687b ldr r3, [r7, #4] + 8007a06: 2b00 cmp r3, #0 + 8007a08: d106 bne.n 8007a18 + 8007a0a: 4b14 ldr r3, [pc, #80] @ (8007a5c ) + 8007a0c: f240 1211 movw r2, #273 @ 0x111 + 8007a10: 4913 ldr r1, [pc, #76] @ (8007a60 ) + 8007a12: 4814 ldr r0, [pc, #80] @ (8007a64 ) + 8007a14: f00a fab2 bl 8011f7c LWIP_ASSERT("pcb->state == LISTEN", pcb->state == LISTEN); - 8007094: 687b ldr r3, [r7, #4] - 8007096: 7d1b ldrb r3, [r3, #20] - 8007098: 2b01 cmp r3, #1 - 800709a: d006 beq.n 80070aa - 800709c: 4b0e ldr r3, [pc, #56] @ (80070d8 ) - 800709e: f44f 7289 mov.w r2, #274 @ 0x112 - 80070a2: 4910 ldr r1, [pc, #64] @ (80070e4 ) - 80070a4: 480e ldr r0, [pc, #56] @ (80070e0 ) - 80070a6: f00a faa7 bl 80115f8 + 8007a18: 687b ldr r3, [r7, #4] + 8007a1a: 7d1b ldrb r3, [r3, #20] + 8007a1c: 2b01 cmp r3, #1 + 8007a1e: d006 beq.n 8007a2e + 8007a20: 4b0e ldr r3, [pc, #56] @ (8007a5c ) + 8007a22: f44f 7289 mov.w r2, #274 @ 0x112 + 8007a26: 4910 ldr r1, [pc, #64] @ (8007a68 ) + 8007a28: 480e ldr r0, [pc, #56] @ (8007a64 ) + 8007a2a: f00a faa7 bl 8011f7c for (i = 1; i < LWIP_ARRAYSIZE(tcp_pcb_lists); i++) { - 80070aa: 2301 movs r3, #1 - 80070ac: 60fb str r3, [r7, #12] - 80070ae: e00b b.n 80070c8 + 8007a2e: 2301 movs r3, #1 + 8007a30: 60fb str r3, [r7, #12] + 8007a32: e00b b.n 8007a4c tcp_remove_listener(*tcp_pcb_lists[i], (struct tcp_pcb_listen *)pcb); - 80070b0: 4a0d ldr r2, [pc, #52] @ (80070e8 ) - 80070b2: 68fb ldr r3, [r7, #12] - 80070b4: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 80070b8: 681b ldr r3, [r3, #0] - 80070ba: 6879 ldr r1, [r7, #4] - 80070bc: 4618 mov r0, r3 - 80070be: f7ff ffb1 bl 8007024 + 8007a34: 4a0d ldr r2, [pc, #52] @ (8007a6c ) + 8007a36: 68fb ldr r3, [r7, #12] + 8007a38: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8007a3c: 681b ldr r3, [r3, #0] + 8007a3e: 6879 ldr r1, [r7, #4] + 8007a40: 4618 mov r0, r3 + 8007a42: f7ff ffb1 bl 80079a8 for (i = 1; i < LWIP_ARRAYSIZE(tcp_pcb_lists); i++) { - 80070c2: 68fb ldr r3, [r7, #12] - 80070c4: 3301 adds r3, #1 - 80070c6: 60fb str r3, [r7, #12] - 80070c8: 68fb ldr r3, [r7, #12] - 80070ca: 2b03 cmp r3, #3 - 80070cc: d9f0 bls.n 80070b0 + 8007a46: 68fb ldr r3, [r7, #12] + 8007a48: 3301 adds r3, #1 + 8007a4a: 60fb str r3, [r7, #12] + 8007a4c: 68fb ldr r3, [r7, #12] + 8007a4e: 2b03 cmp r3, #3 + 8007a50: d9f0 bls.n 8007a34 } #endif LWIP_UNUSED_ARG(pcb); } - 80070ce: bf00 nop - 80070d0: bf00 nop - 80070d2: 3710 adds r7, #16 - 80070d4: 46bd mov sp, r7 - 80070d6: bd80 pop {r7, pc} - 80070d8: 08016ab4 .word 0x08016ab4 - 80070dc: 08016b64 .word 0x08016b64 - 80070e0: 08016af8 .word 0x08016af8 - 80070e4: 08016b70 .word 0x08016b70 - 80070e8: 08018e9c .word 0x08018e9c + 8007a52: bf00 nop + 8007a54: bf00 nop + 8007a56: 3710 adds r7, #16 + 8007a58: 46bd mov sp, r7 + 8007a5a: bd80 pop {r7, pc} + 8007a5c: 08017434 .word 0x08017434 + 8007a60: 080174e4 .word 0x080174e4 + 8007a64: 08017478 .word 0x08017478 + 8007a68: 080174f0 .word 0x080174f0 + 8007a6c: 0801981c .word 0x0801981c -080070ec : +08007a70 : * @return ERR_OK if connection has been closed * another err_t if closing failed and pcb is not freed */ static err_t tcp_close_shutdown(struct tcp_pcb *pcb, u8_t rst_on_unacked_data) { - 80070ec: b5b0 push {r4, r5, r7, lr} - 80070ee: b088 sub sp, #32 - 80070f0: af04 add r7, sp, #16 - 80070f2: 6078 str r0, [r7, #4] - 80070f4: 460b mov r3, r1 - 80070f6: 70fb strb r3, [r7, #3] + 8007a70: b5b0 push {r4, r5, r7, lr} + 8007a72: b088 sub sp, #32 + 8007a74: af04 add r7, sp, #16 + 8007a76: 6078 str r0, [r7, #4] + 8007a78: 460b mov r3, r1 + 8007a7a: 70fb strb r3, [r7, #3] LWIP_ASSERT("tcp_close_shutdown: invalid pcb", pcb != NULL); - 80070f8: 687b ldr r3, [r7, #4] - 80070fa: 2b00 cmp r3, #0 - 80070fc: d106 bne.n 800710c - 80070fe: 4b63 ldr r3, [pc, #396] @ (800728c ) - 8007100: f44f 72af mov.w r2, #350 @ 0x15e - 8007104: 4962 ldr r1, [pc, #392] @ (8007290 ) - 8007106: 4863 ldr r0, [pc, #396] @ (8007294 ) - 8007108: f00a fa76 bl 80115f8 + 8007a7c: 687b ldr r3, [r7, #4] + 8007a7e: 2b00 cmp r3, #0 + 8007a80: d106 bne.n 8007a90 + 8007a82: 4b63 ldr r3, [pc, #396] @ (8007c10 ) + 8007a84: f44f 72af mov.w r2, #350 @ 0x15e + 8007a88: 4962 ldr r1, [pc, #392] @ (8007c14 ) + 8007a8a: 4863 ldr r0, [pc, #396] @ (8007c18 ) + 8007a8c: f00a fa76 bl 8011f7c if (rst_on_unacked_data && ((pcb->state == ESTABLISHED) || (pcb->state == CLOSE_WAIT))) { - 800710c: 78fb ldrb r3, [r7, #3] - 800710e: 2b00 cmp r3, #0 - 8007110: d066 beq.n 80071e0 - 8007112: 687b ldr r3, [r7, #4] - 8007114: 7d1b ldrb r3, [r3, #20] - 8007116: 2b04 cmp r3, #4 - 8007118: d003 beq.n 8007122 - 800711a: 687b ldr r3, [r7, #4] - 800711c: 7d1b ldrb r3, [r3, #20] - 800711e: 2b07 cmp r3, #7 - 8007120: d15e bne.n 80071e0 + 8007a90: 78fb ldrb r3, [r7, #3] + 8007a92: 2b00 cmp r3, #0 + 8007a94: d066 beq.n 8007b64 + 8007a96: 687b ldr r3, [r7, #4] + 8007a98: 7d1b ldrb r3, [r3, #20] + 8007a9a: 2b04 cmp r3, #4 + 8007a9c: d003 beq.n 8007aa6 + 8007a9e: 687b ldr r3, [r7, #4] + 8007aa0: 7d1b ldrb r3, [r3, #20] + 8007aa2: 2b07 cmp r3, #7 + 8007aa4: d15e bne.n 8007b64 if ((pcb->refused_data != NULL) || (pcb->rcv_wnd != TCP_WND_MAX(pcb))) { - 8007122: 687b ldr r3, [r7, #4] - 8007124: 6f9b ldr r3, [r3, #120] @ 0x78 - 8007126: 2b00 cmp r3, #0 - 8007128: d104 bne.n 8007134 - 800712a: 687b ldr r3, [r7, #4] - 800712c: 8d1b ldrh r3, [r3, #40] @ 0x28 - 800712e: f5b3 6f06 cmp.w r3, #2144 @ 0x860 - 8007132: d055 beq.n 80071e0 + 8007aa6: 687b ldr r3, [r7, #4] + 8007aa8: 6f9b ldr r3, [r3, #120] @ 0x78 + 8007aaa: 2b00 cmp r3, #0 + 8007aac: d104 bne.n 8007ab8 + 8007aae: 687b ldr r3, [r7, #4] + 8007ab0: 8d1b ldrh r3, [r3, #40] @ 0x28 + 8007ab2: f5b3 6f06 cmp.w r3, #2144 @ 0x860 + 8007ab6: d055 beq.n 8007b64 /* Not all data received by application, send RST to tell the remote side about this. */ LWIP_ASSERT("pcb->flags & TF_RXCLOSED", pcb->flags & TF_RXCLOSED); - 8007134: 687b ldr r3, [r7, #4] - 8007136: 8b5b ldrh r3, [r3, #26] - 8007138: f003 0310 and.w r3, r3, #16 - 800713c: 2b00 cmp r3, #0 - 800713e: d106 bne.n 800714e - 8007140: 4b52 ldr r3, [pc, #328] @ (800728c ) - 8007142: f44f 72b2 mov.w r2, #356 @ 0x164 - 8007146: 4954 ldr r1, [pc, #336] @ (8007298 ) - 8007148: 4852 ldr r0, [pc, #328] @ (8007294 ) - 800714a: f00a fa55 bl 80115f8 + 8007ab8: 687b ldr r3, [r7, #4] + 8007aba: 8b5b ldrh r3, [r3, #26] + 8007abc: f003 0310 and.w r3, r3, #16 + 8007ac0: 2b00 cmp r3, #0 + 8007ac2: d106 bne.n 8007ad2 + 8007ac4: 4b52 ldr r3, [pc, #328] @ (8007c10 ) + 8007ac6: f44f 72b2 mov.w r2, #356 @ 0x164 + 8007aca: 4954 ldr r1, [pc, #336] @ (8007c1c ) + 8007acc: 4852 ldr r0, [pc, #328] @ (8007c18 ) + 8007ace: f00a fa55 bl 8011f7c /* don't call tcp_abort here: we must not deallocate the pcb since that might not be expected when calling tcp_close */ tcp_rst(pcb, pcb->snd_nxt, pcb->rcv_nxt, &pcb->local_ip, &pcb->remote_ip, - 800714e: 687b ldr r3, [r7, #4] - 8007150: 6d18 ldr r0, [r3, #80] @ 0x50 - 8007152: 687b ldr r3, [r7, #4] - 8007154: 6a5c ldr r4, [r3, #36] @ 0x24 - 8007156: 687d ldr r5, [r7, #4] - 8007158: 687b ldr r3, [r7, #4] - 800715a: 3304 adds r3, #4 - 800715c: 687a ldr r2, [r7, #4] - 800715e: 8ad2 ldrh r2, [r2, #22] - 8007160: 6879 ldr r1, [r7, #4] - 8007162: 8b09 ldrh r1, [r1, #24] - 8007164: 9102 str r1, [sp, #8] - 8007166: 9201 str r2, [sp, #4] - 8007168: 9300 str r3, [sp, #0] - 800716a: 462b mov r3, r5 - 800716c: 4622 mov r2, r4 - 800716e: 4601 mov r1, r0 - 8007170: 6878 ldr r0, [r7, #4] - 8007172: f004 fe8d bl 800be90 + 8007ad2: 687b ldr r3, [r7, #4] + 8007ad4: 6d18 ldr r0, [r3, #80] @ 0x50 + 8007ad6: 687b ldr r3, [r7, #4] + 8007ad8: 6a5c ldr r4, [r3, #36] @ 0x24 + 8007ada: 687d ldr r5, [r7, #4] + 8007adc: 687b ldr r3, [r7, #4] + 8007ade: 3304 adds r3, #4 + 8007ae0: 687a ldr r2, [r7, #4] + 8007ae2: 8ad2 ldrh r2, [r2, #22] + 8007ae4: 6879 ldr r1, [r7, #4] + 8007ae6: 8b09 ldrh r1, [r1, #24] + 8007ae8: 9102 str r1, [sp, #8] + 8007aea: 9201 str r2, [sp, #4] + 8007aec: 9300 str r3, [sp, #0] + 8007aee: 462b mov r3, r5 + 8007af0: 4622 mov r2, r4 + 8007af2: 4601 mov r1, r0 + 8007af4: 6878 ldr r0, [r7, #4] + 8007af6: f004 fe8d bl 800c814 pcb->local_port, pcb->remote_port); tcp_pcb_purge(pcb); - 8007176: 6878 ldr r0, [r7, #4] - 8007178: f001 f8c8 bl 800830c + 8007afa: 6878 ldr r0, [r7, #4] + 8007afc: f001 f8c8 bl 8008c90 TCP_RMV_ACTIVE(pcb); - 800717c: 4b47 ldr r3, [pc, #284] @ (800729c ) - 800717e: 681b ldr r3, [r3, #0] - 8007180: 687a ldr r2, [r7, #4] - 8007182: 429a cmp r2, r3 - 8007184: d105 bne.n 8007192 - 8007186: 4b45 ldr r3, [pc, #276] @ (800729c ) - 8007188: 681b ldr r3, [r3, #0] - 800718a: 68db ldr r3, [r3, #12] - 800718c: 4a43 ldr r2, [pc, #268] @ (800729c ) - 800718e: 6013 str r3, [r2, #0] - 8007190: e013 b.n 80071ba - 8007192: 4b42 ldr r3, [pc, #264] @ (800729c ) - 8007194: 681b ldr r3, [r3, #0] - 8007196: 60fb str r3, [r7, #12] - 8007198: e00c b.n 80071b4 - 800719a: 68fb ldr r3, [r7, #12] - 800719c: 68db ldr r3, [r3, #12] - 800719e: 687a ldr r2, [r7, #4] - 80071a0: 429a cmp r2, r3 - 80071a2: d104 bne.n 80071ae - 80071a4: 687b ldr r3, [r7, #4] - 80071a6: 68da ldr r2, [r3, #12] - 80071a8: 68fb ldr r3, [r7, #12] - 80071aa: 60da str r2, [r3, #12] - 80071ac: e005 b.n 80071ba - 80071ae: 68fb ldr r3, [r7, #12] - 80071b0: 68db ldr r3, [r3, #12] - 80071b2: 60fb str r3, [r7, #12] - 80071b4: 68fb ldr r3, [r7, #12] - 80071b6: 2b00 cmp r3, #0 - 80071b8: d1ef bne.n 800719a - 80071ba: 687b ldr r3, [r7, #4] - 80071bc: 2200 movs r2, #0 - 80071be: 60da str r2, [r3, #12] - 80071c0: 4b37 ldr r3, [pc, #220] @ (80072a0 ) - 80071c2: 2201 movs r2, #1 - 80071c4: 701a strb r2, [r3, #0] + 8007b00: 4b47 ldr r3, [pc, #284] @ (8007c20 ) + 8007b02: 681b ldr r3, [r3, #0] + 8007b04: 687a ldr r2, [r7, #4] + 8007b06: 429a cmp r2, r3 + 8007b08: d105 bne.n 8007b16 + 8007b0a: 4b45 ldr r3, [pc, #276] @ (8007c20 ) + 8007b0c: 681b ldr r3, [r3, #0] + 8007b0e: 68db ldr r3, [r3, #12] + 8007b10: 4a43 ldr r2, [pc, #268] @ (8007c20 ) + 8007b12: 6013 str r3, [r2, #0] + 8007b14: e013 b.n 8007b3e + 8007b16: 4b42 ldr r3, [pc, #264] @ (8007c20 ) + 8007b18: 681b ldr r3, [r3, #0] + 8007b1a: 60fb str r3, [r7, #12] + 8007b1c: e00c b.n 8007b38 + 8007b1e: 68fb ldr r3, [r7, #12] + 8007b20: 68db ldr r3, [r3, #12] + 8007b22: 687a ldr r2, [r7, #4] + 8007b24: 429a cmp r2, r3 + 8007b26: d104 bne.n 8007b32 + 8007b28: 687b ldr r3, [r7, #4] + 8007b2a: 68da ldr r2, [r3, #12] + 8007b2c: 68fb ldr r3, [r7, #12] + 8007b2e: 60da str r2, [r3, #12] + 8007b30: e005 b.n 8007b3e + 8007b32: 68fb ldr r3, [r7, #12] + 8007b34: 68db ldr r3, [r3, #12] + 8007b36: 60fb str r3, [r7, #12] + 8007b38: 68fb ldr r3, [r7, #12] + 8007b3a: 2b00 cmp r3, #0 + 8007b3c: d1ef bne.n 8007b1e + 8007b3e: 687b ldr r3, [r7, #4] + 8007b40: 2200 movs r2, #0 + 8007b42: 60da str r2, [r3, #12] + 8007b44: 4b37 ldr r3, [pc, #220] @ (8007c24 ) + 8007b46: 2201 movs r2, #1 + 8007b48: 701a strb r2, [r3, #0] /* Deallocate the pcb since we already sent a RST for it */ if (tcp_input_pcb == pcb) { - 80071c6: 4b37 ldr r3, [pc, #220] @ (80072a4 ) - 80071c8: 681b ldr r3, [r3, #0] - 80071ca: 687a ldr r2, [r7, #4] - 80071cc: 429a cmp r2, r3 - 80071ce: d102 bne.n 80071d6 + 8007b4a: 4b37 ldr r3, [pc, #220] @ (8007c28 ) + 8007b4c: 681b ldr r3, [r3, #0] + 8007b4e: 687a ldr r2, [r7, #4] + 8007b50: 429a cmp r2, r3 + 8007b52: d102 bne.n 8007b5a /* prevent using a deallocated pcb: free it from tcp_input later */ tcp_trigger_input_pcb_close(); - 80071d0: f003 fd5c bl 800ac8c - 80071d4: e002 b.n 80071dc + 8007b54: f003 fd5c bl 800b610 + 8007b58: e002 b.n 8007b60 } else { tcp_free(pcb); - 80071d6: 6878 ldr r0, [r7, #4] - 80071d8: f7ff fed6 bl 8006f88 + 8007b5a: 6878 ldr r0, [r7, #4] + 8007b5c: f7ff fed6 bl 800790c } return ERR_OK; - 80071dc: 2300 movs r3, #0 - 80071de: e050 b.n 8007282 + 8007b60: 2300 movs r3, #0 + 8007b62: e050 b.n 8007c06 } } /* - states which free the pcb are handled here, - states which send FIN and change state are handled in tcp_close_shutdown_fin() */ switch (pcb->state) { - 80071e0: 687b ldr r3, [r7, #4] - 80071e2: 7d1b ldrb r3, [r3, #20] - 80071e4: 2b02 cmp r3, #2 - 80071e6: d03b beq.n 8007260 - 80071e8: 2b02 cmp r3, #2 - 80071ea: dc44 bgt.n 8007276 - 80071ec: 2b00 cmp r3, #0 - 80071ee: d002 beq.n 80071f6 - 80071f0: 2b01 cmp r3, #1 - 80071f2: d02a beq.n 800724a - 80071f4: e03f b.n 8007276 + 8007b64: 687b ldr r3, [r7, #4] + 8007b66: 7d1b ldrb r3, [r3, #20] + 8007b68: 2b02 cmp r3, #2 + 8007b6a: d03b beq.n 8007be4 + 8007b6c: 2b02 cmp r3, #2 + 8007b6e: dc44 bgt.n 8007bfa + 8007b70: 2b00 cmp r3, #0 + 8007b72: d002 beq.n 8007b7a + 8007b74: 2b01 cmp r3, #1 + 8007b76: d02a beq.n 8007bce + 8007b78: e03f b.n 8007bfa * and the user needs some way to free it should the need arise. * Calling tcp_close() with a pcb that has already been closed, (i.e. twice) * or for a pcb that has been used and then entered the CLOSED state * is erroneous, but this should never happen as the pcb has in those cases * been freed, and so any remaining handles are bogus. */ if (pcb->local_port != 0) { - 80071f6: 687b ldr r3, [r7, #4] - 80071f8: 8adb ldrh r3, [r3, #22] - 80071fa: 2b00 cmp r3, #0 - 80071fc: d021 beq.n 8007242 + 8007b7a: 687b ldr r3, [r7, #4] + 8007b7c: 8adb ldrh r3, [r3, #22] + 8007b7e: 2b00 cmp r3, #0 + 8007b80: d021 beq.n 8007bc6 TCP_RMV(&tcp_bound_pcbs, pcb); - 80071fe: 4b2a ldr r3, [pc, #168] @ (80072a8 ) - 8007200: 681b ldr r3, [r3, #0] - 8007202: 687a ldr r2, [r7, #4] - 8007204: 429a cmp r2, r3 - 8007206: d105 bne.n 8007214 - 8007208: 4b27 ldr r3, [pc, #156] @ (80072a8 ) - 800720a: 681b ldr r3, [r3, #0] - 800720c: 68db ldr r3, [r3, #12] - 800720e: 4a26 ldr r2, [pc, #152] @ (80072a8 ) - 8007210: 6013 str r3, [r2, #0] - 8007212: e013 b.n 800723c - 8007214: 4b24 ldr r3, [pc, #144] @ (80072a8 ) - 8007216: 681b ldr r3, [r3, #0] - 8007218: 60bb str r3, [r7, #8] - 800721a: e00c b.n 8007236 - 800721c: 68bb ldr r3, [r7, #8] - 800721e: 68db ldr r3, [r3, #12] - 8007220: 687a ldr r2, [r7, #4] - 8007222: 429a cmp r2, r3 - 8007224: d104 bne.n 8007230 - 8007226: 687b ldr r3, [r7, #4] - 8007228: 68da ldr r2, [r3, #12] - 800722a: 68bb ldr r3, [r7, #8] - 800722c: 60da str r2, [r3, #12] - 800722e: e005 b.n 800723c - 8007230: 68bb ldr r3, [r7, #8] - 8007232: 68db ldr r3, [r3, #12] - 8007234: 60bb str r3, [r7, #8] - 8007236: 68bb ldr r3, [r7, #8] - 8007238: 2b00 cmp r3, #0 - 800723a: d1ef bne.n 800721c - 800723c: 687b ldr r3, [r7, #4] - 800723e: 2200 movs r2, #0 - 8007240: 60da str r2, [r3, #12] + 8007b82: 4b2a ldr r3, [pc, #168] @ (8007c2c ) + 8007b84: 681b ldr r3, [r3, #0] + 8007b86: 687a ldr r2, [r7, #4] + 8007b88: 429a cmp r2, r3 + 8007b8a: d105 bne.n 8007b98 + 8007b8c: 4b27 ldr r3, [pc, #156] @ (8007c2c ) + 8007b8e: 681b ldr r3, [r3, #0] + 8007b90: 68db ldr r3, [r3, #12] + 8007b92: 4a26 ldr r2, [pc, #152] @ (8007c2c ) + 8007b94: 6013 str r3, [r2, #0] + 8007b96: e013 b.n 8007bc0 + 8007b98: 4b24 ldr r3, [pc, #144] @ (8007c2c ) + 8007b9a: 681b ldr r3, [r3, #0] + 8007b9c: 60bb str r3, [r7, #8] + 8007b9e: e00c b.n 8007bba + 8007ba0: 68bb ldr r3, [r7, #8] + 8007ba2: 68db ldr r3, [r3, #12] + 8007ba4: 687a ldr r2, [r7, #4] + 8007ba6: 429a cmp r2, r3 + 8007ba8: d104 bne.n 8007bb4 + 8007baa: 687b ldr r3, [r7, #4] + 8007bac: 68da ldr r2, [r3, #12] + 8007bae: 68bb ldr r3, [r7, #8] + 8007bb0: 60da str r2, [r3, #12] + 8007bb2: e005 b.n 8007bc0 + 8007bb4: 68bb ldr r3, [r7, #8] + 8007bb6: 68db ldr r3, [r3, #12] + 8007bb8: 60bb str r3, [r7, #8] + 8007bba: 68bb ldr r3, [r7, #8] + 8007bbc: 2b00 cmp r3, #0 + 8007bbe: d1ef bne.n 8007ba0 + 8007bc0: 687b ldr r3, [r7, #4] + 8007bc2: 2200 movs r2, #0 + 8007bc4: 60da str r2, [r3, #12] } tcp_free(pcb); - 8007242: 6878 ldr r0, [r7, #4] - 8007244: f7ff fea0 bl 8006f88 + 8007bc6: 6878 ldr r0, [r7, #4] + 8007bc8: f7ff fea0 bl 800790c break; - 8007248: e01a b.n 8007280 + 8007bcc: e01a b.n 8007c04 case LISTEN: tcp_listen_closed(pcb); - 800724a: 6878 ldr r0, [r7, #4] - 800724c: f7ff ff14 bl 8007078 + 8007bce: 6878 ldr r0, [r7, #4] + 8007bd0: f7ff ff14 bl 80079fc tcp_pcb_remove(&tcp_listen_pcbs.pcbs, pcb); - 8007250: 6879 ldr r1, [r7, #4] - 8007252: 4816 ldr r0, [pc, #88] @ (80072ac ) - 8007254: f001 f8aa bl 80083ac + 8007bd4: 6879 ldr r1, [r7, #4] + 8007bd6: 4816 ldr r0, [pc, #88] @ (8007c30 ) + 8007bd8: f001 f8aa bl 8008d30 tcp_free_listen(pcb); - 8007258: 6878 ldr r0, [r7, #4] - 800725a: f7ff feb1 bl 8006fc0 + 8007bdc: 6878 ldr r0, [r7, #4] + 8007bde: f7ff feb1 bl 8007944 break; - 800725e: e00f b.n 8007280 + 8007be2: e00f b.n 8007c04 case SYN_SENT: TCP_PCB_REMOVE_ACTIVE(pcb); - 8007260: 6879 ldr r1, [r7, #4] - 8007262: 480e ldr r0, [pc, #56] @ (800729c ) - 8007264: f001 f8a2 bl 80083ac - 8007268: 4b0d ldr r3, [pc, #52] @ (80072a0 ) - 800726a: 2201 movs r2, #1 - 800726c: 701a strb r2, [r3, #0] + 8007be4: 6879 ldr r1, [r7, #4] + 8007be6: 480e ldr r0, [pc, #56] @ (8007c20 ) + 8007be8: f001 f8a2 bl 8008d30 + 8007bec: 4b0d ldr r3, [pc, #52] @ (8007c24 ) + 8007bee: 2201 movs r2, #1 + 8007bf0: 701a strb r2, [r3, #0] tcp_free(pcb); - 800726e: 6878 ldr r0, [r7, #4] - 8007270: f7ff fe8a bl 8006f88 + 8007bf2: 6878 ldr r0, [r7, #4] + 8007bf4: f7ff fe8a bl 800790c MIB2_STATS_INC(mib2.tcpattemptfails); break; - 8007274: e004 b.n 8007280 + 8007bf8: e004 b.n 8007c04 default: return tcp_close_shutdown_fin(pcb); - 8007276: 6878 ldr r0, [r7, #4] - 8007278: f000 f81a bl 80072b0 - 800727c: 4603 mov r3, r0 - 800727e: e000 b.n 8007282 + 8007bfa: 6878 ldr r0, [r7, #4] + 8007bfc: f000 f81a bl 8007c34 + 8007c00: 4603 mov r3, r0 + 8007c02: e000 b.n 8007c06 } return ERR_OK; - 8007280: 2300 movs r3, #0 + 8007c04: 2300 movs r3, #0 } - 8007282: 4618 mov r0, r3 - 8007284: 3710 adds r7, #16 - 8007286: 46bd mov sp, r7 - 8007288: bdb0 pop {r4, r5, r7, pc} - 800728a: bf00 nop - 800728c: 08016ab4 .word 0x08016ab4 - 8007290: 08016b88 .word 0x08016b88 - 8007294: 08016af8 .word 0x08016af8 - 8007298: 08016ba8 .word 0x08016ba8 - 800729c: 200190b0 .word 0x200190b0 - 80072a0: 200190b8 .word 0x200190b8 - 80072a4: 200190f0 .word 0x200190f0 - 80072a8: 200190a8 .word 0x200190a8 - 80072ac: 200190ac .word 0x200190ac + 8007c06: 4618 mov r0, r3 + 8007c08: 3710 adds r7, #16 + 8007c0a: 46bd mov sp, r7 + 8007c0c: bdb0 pop {r4, r5, r7, pc} + 8007c0e: bf00 nop + 8007c10: 08017434 .word 0x08017434 + 8007c14: 08017508 .word 0x08017508 + 8007c18: 08017478 .word 0x08017478 + 8007c1c: 08017528 .word 0x08017528 + 8007c20: 200190e4 .word 0x200190e4 + 8007c24: 200190ec .word 0x200190ec + 8007c28: 20019124 .word 0x20019124 + 8007c2c: 200190dc .word 0x200190dc + 8007c30: 200190e0 .word 0x200190e0 -080072b0 : +08007c34 : static err_t tcp_close_shutdown_fin(struct tcp_pcb *pcb) { - 80072b0: b580 push {r7, lr} - 80072b2: b084 sub sp, #16 - 80072b4: af00 add r7, sp, #0 - 80072b6: 6078 str r0, [r7, #4] + 8007c34: b580 push {r7, lr} + 8007c36: b084 sub sp, #16 + 8007c38: af00 add r7, sp, #0 + 8007c3a: 6078 str r0, [r7, #4] err_t err; LWIP_ASSERT("pcb != NULL", pcb != NULL); - 80072b8: 687b ldr r3, [r7, #4] - 80072ba: 2b00 cmp r3, #0 - 80072bc: d106 bne.n 80072cc - 80072be: 4b2e ldr r3, [pc, #184] @ (8007378 ) - 80072c0: f44f 72ce mov.w r2, #412 @ 0x19c - 80072c4: 492d ldr r1, [pc, #180] @ (800737c ) - 80072c6: 482e ldr r0, [pc, #184] @ (8007380 ) - 80072c8: f00a f996 bl 80115f8 + 8007c3c: 687b ldr r3, [r7, #4] + 8007c3e: 2b00 cmp r3, #0 + 8007c40: d106 bne.n 8007c50 + 8007c42: 4b2e ldr r3, [pc, #184] @ (8007cfc ) + 8007c44: f44f 72ce mov.w r2, #412 @ 0x19c + 8007c48: 492d ldr r1, [pc, #180] @ (8007d00 ) + 8007c4a: 482e ldr r0, [pc, #184] @ (8007d04 ) + 8007c4c: f00a f996 bl 8011f7c switch (pcb->state) { - 80072cc: 687b ldr r3, [r7, #4] - 80072ce: 7d1b ldrb r3, [r3, #20] - 80072d0: 2b07 cmp r3, #7 - 80072d2: d020 beq.n 8007316 - 80072d4: 2b07 cmp r3, #7 - 80072d6: dc2b bgt.n 8007330 - 80072d8: 2b03 cmp r3, #3 - 80072da: d002 beq.n 80072e2 - 80072dc: 2b04 cmp r3, #4 - 80072de: d00d beq.n 80072fc - 80072e0: e026 b.n 8007330 + 8007c50: 687b ldr r3, [r7, #4] + 8007c52: 7d1b ldrb r3, [r3, #20] + 8007c54: 2b07 cmp r3, #7 + 8007c56: d020 beq.n 8007c9a + 8007c58: 2b07 cmp r3, #7 + 8007c5a: dc2b bgt.n 8007cb4 + 8007c5c: 2b03 cmp r3, #3 + 8007c5e: d002 beq.n 8007c66 + 8007c60: 2b04 cmp r3, #4 + 8007c62: d00d beq.n 8007c80 + 8007c64: e026 b.n 8007cb4 case SYN_RCVD: err = tcp_send_fin(pcb); - 80072e2: 6878 ldr r0, [r7, #4] - 80072e4: f003 fee2 bl 800b0ac - 80072e8: 4603 mov r3, r0 - 80072ea: 73fb strb r3, [r7, #15] + 8007c66: 6878 ldr r0, [r7, #4] + 8007c68: f003 fee2 bl 800ba30 + 8007c6c: 4603 mov r3, r0 + 8007c6e: 73fb strb r3, [r7, #15] if (err == ERR_OK) { - 80072ec: f997 300f ldrsb.w r3, [r7, #15] - 80072f0: 2b00 cmp r3, #0 - 80072f2: d11f bne.n 8007334 + 8007c70: f997 300f ldrsb.w r3, [r7, #15] + 8007c74: 2b00 cmp r3, #0 + 8007c76: d11f bne.n 8007cb8 tcp_backlog_accepted(pcb); MIB2_STATS_INC(mib2.tcpattemptfails); pcb->state = FIN_WAIT_1; - 80072f4: 687b ldr r3, [r7, #4] - 80072f6: 2205 movs r2, #5 - 80072f8: 751a strb r2, [r3, #20] + 8007c78: 687b ldr r3, [r7, #4] + 8007c7a: 2205 movs r2, #5 + 8007c7c: 751a strb r2, [r3, #20] } break; - 80072fa: e01b b.n 8007334 + 8007c7e: e01b b.n 8007cb8 case ESTABLISHED: err = tcp_send_fin(pcb); - 80072fc: 6878 ldr r0, [r7, #4] - 80072fe: f003 fed5 bl 800b0ac - 8007302: 4603 mov r3, r0 - 8007304: 73fb strb r3, [r7, #15] + 8007c80: 6878 ldr r0, [r7, #4] + 8007c82: f003 fed5 bl 800ba30 + 8007c86: 4603 mov r3, r0 + 8007c88: 73fb strb r3, [r7, #15] if (err == ERR_OK) { - 8007306: f997 300f ldrsb.w r3, [r7, #15] - 800730a: 2b00 cmp r3, #0 - 800730c: d114 bne.n 8007338 + 8007c8a: f997 300f ldrsb.w r3, [r7, #15] + 8007c8e: 2b00 cmp r3, #0 + 8007c90: d114 bne.n 8007cbc MIB2_STATS_INC(mib2.tcpestabresets); pcb->state = FIN_WAIT_1; - 800730e: 687b ldr r3, [r7, #4] - 8007310: 2205 movs r2, #5 - 8007312: 751a strb r2, [r3, #20] + 8007c92: 687b ldr r3, [r7, #4] + 8007c94: 2205 movs r2, #5 + 8007c96: 751a strb r2, [r3, #20] } break; - 8007314: e010 b.n 8007338 + 8007c98: e010 b.n 8007cbc case CLOSE_WAIT: err = tcp_send_fin(pcb); - 8007316: 6878 ldr r0, [r7, #4] - 8007318: f003 fec8 bl 800b0ac - 800731c: 4603 mov r3, r0 - 800731e: 73fb strb r3, [r7, #15] + 8007c9a: 6878 ldr r0, [r7, #4] + 8007c9c: f003 fec8 bl 800ba30 + 8007ca0: 4603 mov r3, r0 + 8007ca2: 73fb strb r3, [r7, #15] if (err == ERR_OK) { - 8007320: f997 300f ldrsb.w r3, [r7, #15] - 8007324: 2b00 cmp r3, #0 - 8007326: d109 bne.n 800733c + 8007ca4: f997 300f ldrsb.w r3, [r7, #15] + 8007ca8: 2b00 cmp r3, #0 + 8007caa: d109 bne.n 8007cc0 MIB2_STATS_INC(mib2.tcpestabresets); pcb->state = LAST_ACK; - 8007328: 687b ldr r3, [r7, #4] - 800732a: 2209 movs r2, #9 - 800732c: 751a strb r2, [r3, #20] + 8007cac: 687b ldr r3, [r7, #4] + 8007cae: 2209 movs r2, #9 + 8007cb0: 751a strb r2, [r3, #20] } break; - 800732e: e005 b.n 800733c + 8007cb2: e005 b.n 8007cc0 default: /* Has already been closed, do nothing. */ return ERR_OK; - 8007330: 2300 movs r3, #0 - 8007332: e01c b.n 800736e + 8007cb4: 2300 movs r3, #0 + 8007cb6: e01c b.n 8007cf2 break; - 8007334: bf00 nop - 8007336: e002 b.n 800733e + 8007cb8: bf00 nop + 8007cba: e002 b.n 8007cc2 break; - 8007338: bf00 nop - 800733a: e000 b.n 800733e + 8007cbc: bf00 nop + 8007cbe: e000 b.n 8007cc2 break; - 800733c: bf00 nop + 8007cc0: bf00 nop } if (err == ERR_OK) { - 800733e: f997 300f ldrsb.w r3, [r7, #15] - 8007342: 2b00 cmp r3, #0 - 8007344: d103 bne.n 800734e + 8007cc2: f997 300f ldrsb.w r3, [r7, #15] + 8007cc6: 2b00 cmp r3, #0 + 8007cc8: d103 bne.n 8007cd2 /* To ensure all data has been sent when tcp_close returns, we have to make sure tcp_output doesn't fail. Since we don't really have to ensure all data has been sent when tcp_close returns (unsent data is sent from tcp timer functions, also), we don't care for the return value of tcp_output for now. */ tcp_output(pcb); - 8007346: 6878 ldr r0, [r7, #4] - 8007348: f003 ffee bl 800b328 - 800734c: e00d b.n 800736a + 8007cca: 6878 ldr r0, [r7, #4] + 8007ccc: f003 ffee bl 800bcac + 8007cd0: e00d b.n 8007cee } else if (err == ERR_MEM) { - 800734e: f997 300f ldrsb.w r3, [r7, #15] - 8007352: f1b3 3fff cmp.w r3, #4294967295 - 8007356: d108 bne.n 800736a + 8007cd2: f997 300f ldrsb.w r3, [r7, #15] + 8007cd6: f1b3 3fff cmp.w r3, #4294967295 + 8007cda: d108 bne.n 8007cee /* Mark this pcb for closing. Closing is retried from tcp_tmr. */ tcp_set_flags(pcb, TF_CLOSEPEND); - 8007358: 687b ldr r3, [r7, #4] - 800735a: 8b5b ldrh r3, [r3, #26] - 800735c: f043 0308 orr.w r3, r3, #8 - 8007360: b29a uxth r2, r3 - 8007362: 687b ldr r3, [r7, #4] - 8007364: 835a strh r2, [r3, #26] + 8007cdc: 687b ldr r3, [r7, #4] + 8007cde: 8b5b ldrh r3, [r3, #26] + 8007ce0: f043 0308 orr.w r3, r3, #8 + 8007ce4: b29a uxth r2, r3 + 8007ce6: 687b ldr r3, [r7, #4] + 8007ce8: 835a strh r2, [r3, #26] /* We have to return ERR_OK from here to indicate to the callers that this pcb should not be used any more as it will be freed soon via tcp_tmr. This is OK here since sending FIN does not guarantee a time frime for actually freeing the pcb, either (it is left in closure states for remote ACK or timeout) */ return ERR_OK; - 8007366: 2300 movs r3, #0 - 8007368: e001 b.n 800736e + 8007cea: 2300 movs r3, #0 + 8007cec: e001 b.n 8007cf2 } return err; - 800736a: f997 300f ldrsb.w r3, [r7, #15] + 8007cee: f997 300f ldrsb.w r3, [r7, #15] } - 800736e: 4618 mov r0, r3 - 8007370: 3710 adds r7, #16 - 8007372: 46bd mov sp, r7 - 8007374: bd80 pop {r7, pc} - 8007376: bf00 nop - 8007378: 08016ab4 .word 0x08016ab4 - 800737c: 08016b64 .word 0x08016b64 - 8007380: 08016af8 .word 0x08016af8 + 8007cf2: 4618 mov r0, r3 + 8007cf4: 3710 adds r7, #16 + 8007cf6: 46bd mov sp, r7 + 8007cf8: bd80 pop {r7, pc} + 8007cfa: bf00 nop + 8007cfc: 08017434 .word 0x08017434 + 8007d00: 080174e4 .word 0x080174e4 + 8007d04: 08017478 .word 0x08017478 -08007384 : +08007d08 : * @return ERR_OK if connection has been closed * another err_t if closing failed and pcb is not freed */ err_t tcp_close(struct tcp_pcb *pcb) { - 8007384: b580 push {r7, lr} - 8007386: b082 sub sp, #8 - 8007388: af00 add r7, sp, #0 - 800738a: 6078 str r0, [r7, #4] + 8007d08: b580 push {r7, lr} + 8007d0a: b082 sub sp, #8 + 8007d0c: af00 add r7, sp, #0 + 8007d0e: 6078 str r0, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("tcp_close: invalid pcb", pcb != NULL, return ERR_ARG); - 800738c: 687b ldr r3, [r7, #4] - 800738e: 2b00 cmp r3, #0 - 8007390: d109 bne.n 80073a6 - 8007392: 4b0f ldr r3, [pc, #60] @ (80073d0 ) - 8007394: f44f 72f4 mov.w r2, #488 @ 0x1e8 - 8007398: 490e ldr r1, [pc, #56] @ (80073d4 ) - 800739a: 480f ldr r0, [pc, #60] @ (80073d8 ) - 800739c: f00a f92c bl 80115f8 - 80073a0: f06f 030f mvn.w r3, #15 - 80073a4: e00f b.n 80073c6 + 8007d10: 687b ldr r3, [r7, #4] + 8007d12: 2b00 cmp r3, #0 + 8007d14: d109 bne.n 8007d2a + 8007d16: 4b0f ldr r3, [pc, #60] @ (8007d54 ) + 8007d18: f44f 72f4 mov.w r2, #488 @ 0x1e8 + 8007d1c: 490e ldr r1, [pc, #56] @ (8007d58 ) + 8007d1e: 480f ldr r0, [pc, #60] @ (8007d5c ) + 8007d20: f00a f92c bl 8011f7c + 8007d24: f06f 030f mvn.w r3, #15 + 8007d28: e00f b.n 8007d4a LWIP_DEBUGF(TCP_DEBUG, ("tcp_close: closing in ")); tcp_debug_print_state(pcb->state); if (pcb->state != LISTEN) { - 80073a6: 687b ldr r3, [r7, #4] - 80073a8: 7d1b ldrb r3, [r3, #20] - 80073aa: 2b01 cmp r3, #1 - 80073ac: d006 beq.n 80073bc + 8007d2a: 687b ldr r3, [r7, #4] + 8007d2c: 7d1b ldrb r3, [r3, #20] + 8007d2e: 2b01 cmp r3, #1 + 8007d30: d006 beq.n 8007d40 /* Set a flag not to receive any more data... */ tcp_set_flags(pcb, TF_RXCLOSED); - 80073ae: 687b ldr r3, [r7, #4] - 80073b0: 8b5b ldrh r3, [r3, #26] - 80073b2: f043 0310 orr.w r3, r3, #16 - 80073b6: b29a uxth r2, r3 - 80073b8: 687b ldr r3, [r7, #4] - 80073ba: 835a strh r2, [r3, #26] + 8007d32: 687b ldr r3, [r7, #4] + 8007d34: 8b5b ldrh r3, [r3, #26] + 8007d36: f043 0310 orr.w r3, r3, #16 + 8007d3a: b29a uxth r2, r3 + 8007d3c: 687b ldr r3, [r7, #4] + 8007d3e: 835a strh r2, [r3, #26] } /* ... and close */ return tcp_close_shutdown(pcb, 1); - 80073bc: 2101 movs r1, #1 - 80073be: 6878 ldr r0, [r7, #4] - 80073c0: f7ff fe94 bl 80070ec - 80073c4: 4603 mov r3, r0 + 8007d40: 2101 movs r1, #1 + 8007d42: 6878 ldr r0, [r7, #4] + 8007d44: f7ff fe94 bl 8007a70 + 8007d48: 4603 mov r3, r0 } - 80073c6: 4618 mov r0, r3 - 80073c8: 3708 adds r7, #8 - 80073ca: 46bd mov sp, r7 - 80073cc: bd80 pop {r7, pc} - 80073ce: bf00 nop - 80073d0: 08016ab4 .word 0x08016ab4 - 80073d4: 08016bc4 .word 0x08016bc4 - 80073d8: 08016af8 .word 0x08016af8 + 8007d4a: 4618 mov r0, r3 + 8007d4c: 3708 adds r7, #8 + 8007d4e: 46bd mov sp, r7 + 8007d50: bd80 pop {r7, pc} + 8007d52: bf00 nop + 8007d54: 08017434 .word 0x08017434 + 8007d58: 08017544 .word 0x08017544 + 8007d5c: 08017478 .word 0x08017478 -080073dc : +08007d60 : * @param pcb the tcp_pcb to abort * @param reset boolean to indicate whether a reset should be sent */ void tcp_abandon(struct tcp_pcb *pcb, int reset) { - 80073dc: b580 push {r7, lr} - 80073de: b08e sub sp, #56 @ 0x38 - 80073e0: af04 add r7, sp, #16 - 80073e2: 6078 str r0, [r7, #4] - 80073e4: 6039 str r1, [r7, #0] + 8007d60: b580 push {r7, lr} + 8007d62: b08e sub sp, #56 @ 0x38 + 8007d64: af04 add r7, sp, #16 + 8007d66: 6078 str r0, [r7, #4] + 8007d68: 6039 str r1, [r7, #0] #endif /* LWIP_CALLBACK_API */ void *errf_arg; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("tcp_abandon: invalid pcb", pcb != NULL, return); - 80073e6: 687b ldr r3, [r7, #4] - 80073e8: 2b00 cmp r3, #0 - 80073ea: d107 bne.n 80073fc - 80073ec: 4b52 ldr r3, [pc, #328] @ (8007538 ) - 80073ee: f240 223d movw r2, #573 @ 0x23d - 80073f2: 4952 ldr r1, [pc, #328] @ (800753c ) - 80073f4: 4852 ldr r0, [pc, #328] @ (8007540 ) - 80073f6: f00a f8ff bl 80115f8 - 80073fa: e099 b.n 8007530 + 8007d6a: 687b ldr r3, [r7, #4] + 8007d6c: 2b00 cmp r3, #0 + 8007d6e: d107 bne.n 8007d80 + 8007d70: 4b52 ldr r3, [pc, #328] @ (8007ebc ) + 8007d72: f240 223d movw r2, #573 @ 0x23d + 8007d76: 4952 ldr r1, [pc, #328] @ (8007ec0 ) + 8007d78: 4852 ldr r0, [pc, #328] @ (8007ec4 ) + 8007d7a: f00a f8ff bl 8011f7c + 8007d7e: e099 b.n 8007eb4 /* pcb->state LISTEN not allowed here */ LWIP_ASSERT("don't call tcp_abort/tcp_abandon for listen-pcbs", - 80073fc: 687b ldr r3, [r7, #4] - 80073fe: 7d1b ldrb r3, [r3, #20] - 8007400: 2b01 cmp r3, #1 - 8007402: d106 bne.n 8007412 - 8007404: 4b4c ldr r3, [pc, #304] @ (8007538 ) - 8007406: f44f 7210 mov.w r2, #576 @ 0x240 - 800740a: 494e ldr r1, [pc, #312] @ (8007544 ) - 800740c: 484c ldr r0, [pc, #304] @ (8007540 ) - 800740e: f00a f8f3 bl 80115f8 + 8007d80: 687b ldr r3, [r7, #4] + 8007d82: 7d1b ldrb r3, [r3, #20] + 8007d84: 2b01 cmp r3, #1 + 8007d86: d106 bne.n 8007d96 + 8007d88: 4b4c ldr r3, [pc, #304] @ (8007ebc ) + 8007d8a: f44f 7210 mov.w r2, #576 @ 0x240 + 8007d8e: 494e ldr r1, [pc, #312] @ (8007ec8 ) + 8007d90: 484c ldr r0, [pc, #304] @ (8007ec4 ) + 8007d92: f00a f8f3 bl 8011f7c pcb->state != LISTEN); /* Figure out on which TCP PCB list we are, and remove us. If we are in an active state, call the receive function associated with the PCB with a NULL argument, and send an RST to the remote end. */ if (pcb->state == TIME_WAIT) { - 8007412: 687b ldr r3, [r7, #4] - 8007414: 7d1b ldrb r3, [r3, #20] - 8007416: 2b0a cmp r3, #10 - 8007418: d107 bne.n 800742a + 8007d96: 687b ldr r3, [r7, #4] + 8007d98: 7d1b ldrb r3, [r3, #20] + 8007d9a: 2b0a cmp r3, #10 + 8007d9c: d107 bne.n 8007dae tcp_pcb_remove(&tcp_tw_pcbs, pcb); - 800741a: 6879 ldr r1, [r7, #4] - 800741c: 484a ldr r0, [pc, #296] @ (8007548 ) - 800741e: f000 ffc5 bl 80083ac + 8007d9e: 6879 ldr r1, [r7, #4] + 8007da0: 484a ldr r0, [pc, #296] @ (8007ecc ) + 8007da2: f000 ffc5 bl 8008d30 tcp_free(pcb); - 8007422: 6878 ldr r0, [r7, #4] - 8007424: f7ff fdb0 bl 8006f88 - 8007428: e082 b.n 8007530 + 8007da6: 6878 ldr r0, [r7, #4] + 8007da8: f7ff fdb0 bl 800790c + 8007dac: e082 b.n 8007eb4 } else { int send_rst = 0; - 800742a: 2300 movs r3, #0 - 800742c: 627b str r3, [r7, #36] @ 0x24 + 8007dae: 2300 movs r3, #0 + 8007db0: 627b str r3, [r7, #36] @ 0x24 u16_t local_port = 0; - 800742e: 2300 movs r3, #0 - 8007430: 847b strh r3, [r7, #34] @ 0x22 + 8007db2: 2300 movs r3, #0 + 8007db4: 847b strh r3, [r7, #34] @ 0x22 enum tcp_state last_state; seqno = pcb->snd_nxt; - 8007432: 687b ldr r3, [r7, #4] - 8007434: 6d1b ldr r3, [r3, #80] @ 0x50 - 8007436: 61bb str r3, [r7, #24] + 8007db6: 687b ldr r3, [r7, #4] + 8007db8: 6d1b ldr r3, [r3, #80] @ 0x50 + 8007dba: 61bb str r3, [r7, #24] ackno = pcb->rcv_nxt; - 8007438: 687b ldr r3, [r7, #4] - 800743a: 6a5b ldr r3, [r3, #36] @ 0x24 - 800743c: 617b str r3, [r7, #20] + 8007dbc: 687b ldr r3, [r7, #4] + 8007dbe: 6a5b ldr r3, [r3, #36] @ 0x24 + 8007dc0: 617b str r3, [r7, #20] #if LWIP_CALLBACK_API errf = pcb->errf; - 800743e: 687b ldr r3, [r7, #4] - 8007440: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 - 8007444: 613b str r3, [r7, #16] + 8007dc2: 687b ldr r3, [r7, #4] + 8007dc4: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 + 8007dc8: 613b str r3, [r7, #16] #endif /* LWIP_CALLBACK_API */ errf_arg = pcb->callback_arg; - 8007446: 687b ldr r3, [r7, #4] - 8007448: 691b ldr r3, [r3, #16] - 800744a: 60fb str r3, [r7, #12] + 8007dca: 687b ldr r3, [r7, #4] + 8007dcc: 691b ldr r3, [r3, #16] + 8007dce: 60fb str r3, [r7, #12] if (pcb->state == CLOSED) { - 800744c: 687b ldr r3, [r7, #4] - 800744e: 7d1b ldrb r3, [r3, #20] - 8007450: 2b00 cmp r3, #0 - 8007452: d126 bne.n 80074a2 + 8007dd0: 687b ldr r3, [r7, #4] + 8007dd2: 7d1b ldrb r3, [r3, #20] + 8007dd4: 2b00 cmp r3, #0 + 8007dd6: d126 bne.n 8007e26 if (pcb->local_port != 0) { - 8007454: 687b ldr r3, [r7, #4] - 8007456: 8adb ldrh r3, [r3, #22] - 8007458: 2b00 cmp r3, #0 - 800745a: d02e beq.n 80074ba + 8007dd8: 687b ldr r3, [r7, #4] + 8007dda: 8adb ldrh r3, [r3, #22] + 8007ddc: 2b00 cmp r3, #0 + 8007dde: d02e beq.n 8007e3e /* bound, not yet opened */ TCP_RMV(&tcp_bound_pcbs, pcb); - 800745c: 4b3b ldr r3, [pc, #236] @ (800754c ) - 800745e: 681b ldr r3, [r3, #0] - 8007460: 687a ldr r2, [r7, #4] - 8007462: 429a cmp r2, r3 - 8007464: d105 bne.n 8007472 - 8007466: 4b39 ldr r3, [pc, #228] @ (800754c ) - 8007468: 681b ldr r3, [r3, #0] - 800746a: 68db ldr r3, [r3, #12] - 800746c: 4a37 ldr r2, [pc, #220] @ (800754c ) - 800746e: 6013 str r3, [r2, #0] - 8007470: e013 b.n 800749a - 8007472: 4b36 ldr r3, [pc, #216] @ (800754c ) - 8007474: 681b ldr r3, [r3, #0] - 8007476: 61fb str r3, [r7, #28] - 8007478: e00c b.n 8007494 - 800747a: 69fb ldr r3, [r7, #28] - 800747c: 68db ldr r3, [r3, #12] - 800747e: 687a ldr r2, [r7, #4] - 8007480: 429a cmp r2, r3 - 8007482: d104 bne.n 800748e - 8007484: 687b ldr r3, [r7, #4] - 8007486: 68da ldr r2, [r3, #12] - 8007488: 69fb ldr r3, [r7, #28] - 800748a: 60da str r2, [r3, #12] - 800748c: e005 b.n 800749a - 800748e: 69fb ldr r3, [r7, #28] - 8007490: 68db ldr r3, [r3, #12] - 8007492: 61fb str r3, [r7, #28] - 8007494: 69fb ldr r3, [r7, #28] - 8007496: 2b00 cmp r3, #0 - 8007498: d1ef bne.n 800747a - 800749a: 687b ldr r3, [r7, #4] - 800749c: 2200 movs r2, #0 - 800749e: 60da str r2, [r3, #12] - 80074a0: e00b b.n 80074ba + 8007de0: 4b3b ldr r3, [pc, #236] @ (8007ed0 ) + 8007de2: 681b ldr r3, [r3, #0] + 8007de4: 687a ldr r2, [r7, #4] + 8007de6: 429a cmp r2, r3 + 8007de8: d105 bne.n 8007df6 + 8007dea: 4b39 ldr r3, [pc, #228] @ (8007ed0 ) + 8007dec: 681b ldr r3, [r3, #0] + 8007dee: 68db ldr r3, [r3, #12] + 8007df0: 4a37 ldr r2, [pc, #220] @ (8007ed0 ) + 8007df2: 6013 str r3, [r2, #0] + 8007df4: e013 b.n 8007e1e + 8007df6: 4b36 ldr r3, [pc, #216] @ (8007ed0 ) + 8007df8: 681b ldr r3, [r3, #0] + 8007dfa: 61fb str r3, [r7, #28] + 8007dfc: e00c b.n 8007e18 + 8007dfe: 69fb ldr r3, [r7, #28] + 8007e00: 68db ldr r3, [r3, #12] + 8007e02: 687a ldr r2, [r7, #4] + 8007e04: 429a cmp r2, r3 + 8007e06: d104 bne.n 8007e12 + 8007e08: 687b ldr r3, [r7, #4] + 8007e0a: 68da ldr r2, [r3, #12] + 8007e0c: 69fb ldr r3, [r7, #28] + 8007e0e: 60da str r2, [r3, #12] + 8007e10: e005 b.n 8007e1e + 8007e12: 69fb ldr r3, [r7, #28] + 8007e14: 68db ldr r3, [r3, #12] + 8007e16: 61fb str r3, [r7, #28] + 8007e18: 69fb ldr r3, [r7, #28] + 8007e1a: 2b00 cmp r3, #0 + 8007e1c: d1ef bne.n 8007dfe + 8007e1e: 687b ldr r3, [r7, #4] + 8007e20: 2200 movs r2, #0 + 8007e22: 60da str r2, [r3, #12] + 8007e24: e00b b.n 8007e3e } } else { send_rst = reset; - 80074a2: 683b ldr r3, [r7, #0] - 80074a4: 627b str r3, [r7, #36] @ 0x24 + 8007e26: 683b ldr r3, [r7, #0] + 8007e28: 627b str r3, [r7, #36] @ 0x24 local_port = pcb->local_port; - 80074a6: 687b ldr r3, [r7, #4] - 80074a8: 8adb ldrh r3, [r3, #22] - 80074aa: 847b strh r3, [r7, #34] @ 0x22 + 8007e2a: 687b ldr r3, [r7, #4] + 8007e2c: 8adb ldrh r3, [r3, #22] + 8007e2e: 847b strh r3, [r7, #34] @ 0x22 TCP_PCB_REMOVE_ACTIVE(pcb); - 80074ac: 6879 ldr r1, [r7, #4] - 80074ae: 4828 ldr r0, [pc, #160] @ (8007550 ) - 80074b0: f000 ff7c bl 80083ac - 80074b4: 4b27 ldr r3, [pc, #156] @ (8007554 ) - 80074b6: 2201 movs r2, #1 - 80074b8: 701a strb r2, [r3, #0] + 8007e30: 6879 ldr r1, [r7, #4] + 8007e32: 4828 ldr r0, [pc, #160] @ (8007ed4 ) + 8007e34: f000 ff7c bl 8008d30 + 8007e38: 4b27 ldr r3, [pc, #156] @ (8007ed8 ) + 8007e3a: 2201 movs r2, #1 + 8007e3c: 701a strb r2, [r3, #0] } if (pcb->unacked != NULL) { - 80074ba: 687b ldr r3, [r7, #4] - 80074bc: 6f1b ldr r3, [r3, #112] @ 0x70 - 80074be: 2b00 cmp r3, #0 - 80074c0: d004 beq.n 80074cc + 8007e3e: 687b ldr r3, [r7, #4] + 8007e40: 6f1b ldr r3, [r3, #112] @ 0x70 + 8007e42: 2b00 cmp r3, #0 + 8007e44: d004 beq.n 8007e50 tcp_segs_free(pcb->unacked); - 80074c2: 687b ldr r3, [r7, #4] - 80074c4: 6f1b ldr r3, [r3, #112] @ 0x70 - 80074c6: 4618 mov r0, r3 - 80074c8: f000 fd1e bl 8007f08 + 8007e46: 687b ldr r3, [r7, #4] + 8007e48: 6f1b ldr r3, [r3, #112] @ 0x70 + 8007e4a: 4618 mov r0, r3 + 8007e4c: f000 fd1e bl 800888c } if (pcb->unsent != NULL) { - 80074cc: 687b ldr r3, [r7, #4] - 80074ce: 6edb ldr r3, [r3, #108] @ 0x6c - 80074d0: 2b00 cmp r3, #0 - 80074d2: d004 beq.n 80074de + 8007e50: 687b ldr r3, [r7, #4] + 8007e52: 6edb ldr r3, [r3, #108] @ 0x6c + 8007e54: 2b00 cmp r3, #0 + 8007e56: d004 beq.n 8007e62 tcp_segs_free(pcb->unsent); - 80074d4: 687b ldr r3, [r7, #4] - 80074d6: 6edb ldr r3, [r3, #108] @ 0x6c - 80074d8: 4618 mov r0, r3 - 80074da: f000 fd15 bl 8007f08 + 8007e58: 687b ldr r3, [r7, #4] + 8007e5a: 6edb ldr r3, [r3, #108] @ 0x6c + 8007e5c: 4618 mov r0, r3 + 8007e5e: f000 fd15 bl 800888c } #if TCP_QUEUE_OOSEQ if (pcb->ooseq != NULL) { - 80074de: 687b ldr r3, [r7, #4] - 80074e0: 6f5b ldr r3, [r3, #116] @ 0x74 - 80074e2: 2b00 cmp r3, #0 - 80074e4: d004 beq.n 80074f0 + 8007e62: 687b ldr r3, [r7, #4] + 8007e64: 6f5b ldr r3, [r3, #116] @ 0x74 + 8007e66: 2b00 cmp r3, #0 + 8007e68: d004 beq.n 8007e74 tcp_segs_free(pcb->ooseq); - 80074e6: 687b ldr r3, [r7, #4] - 80074e8: 6f5b ldr r3, [r3, #116] @ 0x74 - 80074ea: 4618 mov r0, r3 - 80074ec: f000 fd0c bl 8007f08 + 8007e6a: 687b ldr r3, [r7, #4] + 8007e6c: 6f5b ldr r3, [r3, #116] @ 0x74 + 8007e6e: 4618 mov r0, r3 + 8007e70: f000 fd0c bl 800888c } #endif /* TCP_QUEUE_OOSEQ */ tcp_backlog_accepted(pcb); if (send_rst) { - 80074f0: 6a7b ldr r3, [r7, #36] @ 0x24 - 80074f2: 2b00 cmp r3, #0 - 80074f4: d00e beq.n 8007514 + 8007e74: 6a7b ldr r3, [r7, #36] @ 0x24 + 8007e76: 2b00 cmp r3, #0 + 8007e78: d00e beq.n 8007e98 LWIP_DEBUGF(TCP_RST_DEBUG, ("tcp_abandon: sending RST\n")); tcp_rst(pcb, seqno, ackno, &pcb->local_ip, &pcb->remote_ip, local_port, pcb->remote_port); - 80074f6: 6879 ldr r1, [r7, #4] - 80074f8: 687b ldr r3, [r7, #4] - 80074fa: 3304 adds r3, #4 - 80074fc: 687a ldr r2, [r7, #4] - 80074fe: 8b12 ldrh r2, [r2, #24] - 8007500: 9202 str r2, [sp, #8] - 8007502: 8c7a ldrh r2, [r7, #34] @ 0x22 - 8007504: 9201 str r2, [sp, #4] - 8007506: 9300 str r3, [sp, #0] - 8007508: 460b mov r3, r1 - 800750a: 697a ldr r2, [r7, #20] - 800750c: 69b9 ldr r1, [r7, #24] - 800750e: 6878 ldr r0, [r7, #4] - 8007510: f004 fcbe bl 800be90 + 8007e7a: 6879 ldr r1, [r7, #4] + 8007e7c: 687b ldr r3, [r7, #4] + 8007e7e: 3304 adds r3, #4 + 8007e80: 687a ldr r2, [r7, #4] + 8007e82: 8b12 ldrh r2, [r2, #24] + 8007e84: 9202 str r2, [sp, #8] + 8007e86: 8c7a ldrh r2, [r7, #34] @ 0x22 + 8007e88: 9201 str r2, [sp, #4] + 8007e8a: 9300 str r3, [sp, #0] + 8007e8c: 460b mov r3, r1 + 8007e8e: 697a ldr r2, [r7, #20] + 8007e90: 69b9 ldr r1, [r7, #24] + 8007e92: 6878 ldr r0, [r7, #4] + 8007e94: f004 fcbe bl 800c814 } last_state = pcb->state; - 8007514: 687b ldr r3, [r7, #4] - 8007516: 7d1b ldrb r3, [r3, #20] - 8007518: 72fb strb r3, [r7, #11] + 8007e98: 687b ldr r3, [r7, #4] + 8007e9a: 7d1b ldrb r3, [r3, #20] + 8007e9c: 72fb strb r3, [r7, #11] tcp_free(pcb); - 800751a: 6878 ldr r0, [r7, #4] - 800751c: f7ff fd34 bl 8006f88 + 8007e9e: 6878 ldr r0, [r7, #4] + 8007ea0: f7ff fd34 bl 800790c TCP_EVENT_ERR(last_state, errf, errf_arg, ERR_ABRT); - 8007520: 693b ldr r3, [r7, #16] - 8007522: 2b00 cmp r3, #0 - 8007524: d004 beq.n 8007530 - 8007526: 693b ldr r3, [r7, #16] - 8007528: f06f 010c mvn.w r1, #12 - 800752c: 68f8 ldr r0, [r7, #12] - 800752e: 4798 blx r3 + 8007ea4: 693b ldr r3, [r7, #16] + 8007ea6: 2b00 cmp r3, #0 + 8007ea8: d004 beq.n 8007eb4 + 8007eaa: 693b ldr r3, [r7, #16] + 8007eac: f06f 010c mvn.w r1, #12 + 8007eb0: 68f8 ldr r0, [r7, #12] + 8007eb2: 4798 blx r3 } } - 8007530: 3728 adds r7, #40 @ 0x28 - 8007532: 46bd mov sp, r7 - 8007534: bd80 pop {r7, pc} - 8007536: bf00 nop - 8007538: 08016ab4 .word 0x08016ab4 - 800753c: 08016bf8 .word 0x08016bf8 - 8007540: 08016af8 .word 0x08016af8 - 8007544: 08016c14 .word 0x08016c14 - 8007548: 200190b4 .word 0x200190b4 - 800754c: 200190a8 .word 0x200190a8 - 8007550: 200190b0 .word 0x200190b0 - 8007554: 200190b8 .word 0x200190b8 + 8007eb4: 3728 adds r7, #40 @ 0x28 + 8007eb6: 46bd mov sp, r7 + 8007eb8: bd80 pop {r7, pc} + 8007eba: bf00 nop + 8007ebc: 08017434 .word 0x08017434 + 8007ec0: 08017578 .word 0x08017578 + 8007ec4: 08017478 .word 0x08017478 + 8007ec8: 08017594 .word 0x08017594 + 8007ecc: 200190e8 .word 0x200190e8 + 8007ed0: 200190dc .word 0x200190dc + 8007ed4: 200190e4 .word 0x200190e4 + 8007ed8: 200190ec .word 0x200190ec -08007558 : +08007edc : * * @param pcb the tcp pcb to abort */ void tcp_abort(struct tcp_pcb *pcb) { - 8007558: b580 push {r7, lr} - 800755a: b082 sub sp, #8 - 800755c: af00 add r7, sp, #0 - 800755e: 6078 str r0, [r7, #4] + 8007edc: b580 push {r7, lr} + 8007ede: b082 sub sp, #8 + 8007ee0: af00 add r7, sp, #0 + 8007ee2: 6078 str r0, [r7, #4] tcp_abandon(pcb, 1); - 8007560: 2101 movs r1, #1 - 8007562: 6878 ldr r0, [r7, #4] - 8007564: f7ff ff3a bl 80073dc + 8007ee4: 2101 movs r1, #1 + 8007ee6: 6878 ldr r0, [r7, #4] + 8007ee8: f7ff ff3a bl 8007d60 } - 8007568: bf00 nop - 800756a: 3708 adds r7, #8 - 800756c: 46bd mov sp, r7 - 800756e: bd80 pop {r7, pc} + 8007eec: bf00 nop + 8007eee: 3708 adds r7, #8 + 8007ef0: 46bd mov sp, r7 + 8007ef2: bd80 pop {r7, pc} -08007570 : +08007ef4 : * Returns how much extra window would be advertised if we sent an * update now. */ u32_t tcp_update_rcv_ann_wnd(struct tcp_pcb *pcb) { - 8007570: b580 push {r7, lr} - 8007572: b084 sub sp, #16 - 8007574: af00 add r7, sp, #0 - 8007576: 6078 str r0, [r7, #4] + 8007ef4: b580 push {r7, lr} + 8007ef6: b084 sub sp, #16 + 8007ef8: af00 add r7, sp, #0 + 8007efa: 6078 str r0, [r7, #4] u32_t new_right_edge; LWIP_ASSERT("tcp_update_rcv_ann_wnd: invalid pcb", pcb != NULL); - 8007578: 687b ldr r3, [r7, #4] - 800757a: 2b00 cmp r3, #0 - 800757c: d106 bne.n 800758c - 800757e: 4b25 ldr r3, [pc, #148] @ (8007614 ) - 8007580: f240 32a6 movw r2, #934 @ 0x3a6 - 8007584: 4924 ldr r1, [pc, #144] @ (8007618 ) - 8007586: 4825 ldr r0, [pc, #148] @ (800761c ) - 8007588: f00a f836 bl 80115f8 + 8007efc: 687b ldr r3, [r7, #4] + 8007efe: 2b00 cmp r3, #0 + 8007f00: d106 bne.n 8007f10 + 8007f02: 4b25 ldr r3, [pc, #148] @ (8007f98 ) + 8007f04: f240 32a6 movw r2, #934 @ 0x3a6 + 8007f08: 4924 ldr r1, [pc, #144] @ (8007f9c ) + 8007f0a: 4825 ldr r0, [pc, #148] @ (8007fa0 ) + 8007f0c: f00a f836 bl 8011f7c new_right_edge = pcb->rcv_nxt + pcb->rcv_wnd; - 800758c: 687b ldr r3, [r7, #4] - 800758e: 6a5b ldr r3, [r3, #36] @ 0x24 - 8007590: 687a ldr r2, [r7, #4] - 8007592: 8d12 ldrh r2, [r2, #40] @ 0x28 - 8007594: 4413 add r3, r2 - 8007596: 60fb str r3, [r7, #12] + 8007f10: 687b ldr r3, [r7, #4] + 8007f12: 6a5b ldr r3, [r3, #36] @ 0x24 + 8007f14: 687a ldr r2, [r7, #4] + 8007f16: 8d12 ldrh r2, [r2, #40] @ 0x28 + 8007f18: 4413 add r3, r2 + 8007f1a: 60fb str r3, [r7, #12] if (TCP_SEQ_GEQ(new_right_edge, pcb->rcv_ann_right_edge + LWIP_MIN((TCP_WND / 2), pcb->mss))) { - 8007598: 687b ldr r3, [r7, #4] - 800759a: 6adb ldr r3, [r3, #44] @ 0x2c - 800759c: 687a ldr r2, [r7, #4] - 800759e: 8e52 ldrh r2, [r2, #50] @ 0x32 - 80075a0: f5b2 6f86 cmp.w r2, #1072 @ 0x430 - 80075a4: bf28 it cs - 80075a6: f44f 6286 movcs.w r2, #1072 @ 0x430 - 80075aa: b292 uxth r2, r2 - 80075ac: 4413 add r3, r2 - 80075ae: 68fa ldr r2, [r7, #12] - 80075b0: 1ad3 subs r3, r2, r3 - 80075b2: 2b00 cmp r3, #0 - 80075b4: db08 blt.n 80075c8 + 8007f1c: 687b ldr r3, [r7, #4] + 8007f1e: 6adb ldr r3, [r3, #44] @ 0x2c + 8007f20: 687a ldr r2, [r7, #4] + 8007f22: 8e52 ldrh r2, [r2, #50] @ 0x32 + 8007f24: f5b2 6f86 cmp.w r2, #1072 @ 0x430 + 8007f28: bf28 it cs + 8007f2a: f44f 6286 movcs.w r2, #1072 @ 0x430 + 8007f2e: b292 uxth r2, r2 + 8007f30: 4413 add r3, r2 + 8007f32: 68fa ldr r2, [r7, #12] + 8007f34: 1ad3 subs r3, r2, r3 + 8007f36: 2b00 cmp r3, #0 + 8007f38: db08 blt.n 8007f4c /* we can advertise more window */ pcb->rcv_ann_wnd = pcb->rcv_wnd; - 80075b6: 687b ldr r3, [r7, #4] - 80075b8: 8d1a ldrh r2, [r3, #40] @ 0x28 - 80075ba: 687b ldr r3, [r7, #4] - 80075bc: 855a strh r2, [r3, #42] @ 0x2a + 8007f3a: 687b ldr r3, [r7, #4] + 8007f3c: 8d1a ldrh r2, [r3, #40] @ 0x28 + 8007f3e: 687b ldr r3, [r7, #4] + 8007f40: 855a strh r2, [r3, #42] @ 0x2a return new_right_edge - pcb->rcv_ann_right_edge; - 80075be: 687b ldr r3, [r7, #4] - 80075c0: 6adb ldr r3, [r3, #44] @ 0x2c - 80075c2: 68fa ldr r2, [r7, #12] - 80075c4: 1ad3 subs r3, r2, r3 - 80075c6: e020 b.n 800760a + 8007f42: 687b ldr r3, [r7, #4] + 8007f44: 6adb ldr r3, [r3, #44] @ 0x2c + 8007f46: 68fa ldr r2, [r7, #12] + 8007f48: 1ad3 subs r3, r2, r3 + 8007f4a: e020 b.n 8007f8e } else { if (TCP_SEQ_GT(pcb->rcv_nxt, pcb->rcv_ann_right_edge)) { - 80075c8: 687b ldr r3, [r7, #4] - 80075ca: 6a5a ldr r2, [r3, #36] @ 0x24 - 80075cc: 687b ldr r3, [r7, #4] - 80075ce: 6adb ldr r3, [r3, #44] @ 0x2c - 80075d0: 1ad3 subs r3, r2, r3 - 80075d2: 2b00 cmp r3, #0 - 80075d4: dd03 ble.n 80075de + 8007f4c: 687b ldr r3, [r7, #4] + 8007f4e: 6a5a ldr r2, [r3, #36] @ 0x24 + 8007f50: 687b ldr r3, [r7, #4] + 8007f52: 6adb ldr r3, [r3, #44] @ 0x2c + 8007f54: 1ad3 subs r3, r2, r3 + 8007f56: 2b00 cmp r3, #0 + 8007f58: dd03 ble.n 8007f62 /* Can happen due to other end sending out of advertised window, * but within actual available (but not yet advertised) window */ pcb->rcv_ann_wnd = 0; - 80075d6: 687b ldr r3, [r7, #4] - 80075d8: 2200 movs r2, #0 - 80075da: 855a strh r2, [r3, #42] @ 0x2a - 80075dc: e014 b.n 8007608 + 8007f5a: 687b ldr r3, [r7, #4] + 8007f5c: 2200 movs r2, #0 + 8007f5e: 855a strh r2, [r3, #42] @ 0x2a + 8007f60: e014 b.n 8007f8c } else { /* keep the right edge of window constant */ u32_t new_rcv_ann_wnd = pcb->rcv_ann_right_edge - pcb->rcv_nxt; - 80075de: 687b ldr r3, [r7, #4] - 80075e0: 6ada ldr r2, [r3, #44] @ 0x2c - 80075e2: 687b ldr r3, [r7, #4] - 80075e4: 6a5b ldr r3, [r3, #36] @ 0x24 - 80075e6: 1ad3 subs r3, r2, r3 - 80075e8: 60bb str r3, [r7, #8] + 8007f62: 687b ldr r3, [r7, #4] + 8007f64: 6ada ldr r2, [r3, #44] @ 0x2c + 8007f66: 687b ldr r3, [r7, #4] + 8007f68: 6a5b ldr r3, [r3, #36] @ 0x24 + 8007f6a: 1ad3 subs r3, r2, r3 + 8007f6c: 60bb str r3, [r7, #8] #if !LWIP_WND_SCALE LWIP_ASSERT("new_rcv_ann_wnd <= 0xffff", new_rcv_ann_wnd <= 0xffff); - 80075ea: 68bb ldr r3, [r7, #8] - 80075ec: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 80075f0: d306 bcc.n 8007600 - 80075f2: 4b08 ldr r3, [pc, #32] @ (8007614 ) - 80075f4: f240 32b6 movw r2, #950 @ 0x3b6 - 80075f8: 4909 ldr r1, [pc, #36] @ (8007620 ) - 80075fa: 4808 ldr r0, [pc, #32] @ (800761c ) - 80075fc: f009 fffc bl 80115f8 + 8007f6e: 68bb ldr r3, [r7, #8] + 8007f70: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8007f74: d306 bcc.n 8007f84 + 8007f76: 4b08 ldr r3, [pc, #32] @ (8007f98 ) + 8007f78: f240 32b6 movw r2, #950 @ 0x3b6 + 8007f7c: 4909 ldr r1, [pc, #36] @ (8007fa4 ) + 8007f7e: 4808 ldr r0, [pc, #32] @ (8007fa0 ) + 8007f80: f009 fffc bl 8011f7c #endif pcb->rcv_ann_wnd = (tcpwnd_size_t)new_rcv_ann_wnd; - 8007600: 68bb ldr r3, [r7, #8] - 8007602: b29a uxth r2, r3 - 8007604: 687b ldr r3, [r7, #4] - 8007606: 855a strh r2, [r3, #42] @ 0x2a + 8007f84: 68bb ldr r3, [r7, #8] + 8007f86: b29a uxth r2, r3 + 8007f88: 687b ldr r3, [r7, #4] + 8007f8a: 855a strh r2, [r3, #42] @ 0x2a } return 0; - 8007608: 2300 movs r3, #0 + 8007f8c: 2300 movs r3, #0 } } - 800760a: 4618 mov r0, r3 - 800760c: 3710 adds r7, #16 - 800760e: 46bd mov sp, r7 - 8007610: bd80 pop {r7, pc} - 8007612: bf00 nop - 8007614: 08016ab4 .word 0x08016ab4 - 8007618: 08016d10 .word 0x08016d10 - 800761c: 08016af8 .word 0x08016af8 - 8007620: 08016d34 .word 0x08016d34 + 8007f8e: 4618 mov r0, r3 + 8007f90: 3710 adds r7, #16 + 8007f92: 46bd mov sp, r7 + 8007f94: bd80 pop {r7, pc} + 8007f96: bf00 nop + 8007f98: 08017434 .word 0x08017434 + 8007f9c: 08017690 .word 0x08017690 + 8007fa0: 08017478 .word 0x08017478 + 8007fa4: 080176b4 .word 0x080176b4 -08007624 : +08007fa8 : * @param pcb the tcp_pcb for which data is read * @param len the amount of bytes that have been read by the application */ void tcp_recved(struct tcp_pcb *pcb, u16_t len) { - 8007624: b580 push {r7, lr} - 8007626: b084 sub sp, #16 - 8007628: af00 add r7, sp, #0 - 800762a: 6078 str r0, [r7, #4] - 800762c: 460b mov r3, r1 - 800762e: 807b strh r3, [r7, #2] + 8007fa8: b580 push {r7, lr} + 8007faa: b084 sub sp, #16 + 8007fac: af00 add r7, sp, #0 + 8007fae: 6078 str r0, [r7, #4] + 8007fb0: 460b mov r3, r1 + 8007fb2: 807b strh r3, [r7, #2] u32_t wnd_inflation; tcpwnd_size_t rcv_wnd; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("tcp_recved: invalid pcb", pcb != NULL, return); - 8007630: 687b ldr r3, [r7, #4] - 8007632: 2b00 cmp r3, #0 - 8007634: d107 bne.n 8007646 - 8007636: 4b1f ldr r3, [pc, #124] @ (80076b4 ) - 8007638: f240 32cf movw r2, #975 @ 0x3cf - 800763c: 491e ldr r1, [pc, #120] @ (80076b8 ) - 800763e: 481f ldr r0, [pc, #124] @ (80076bc ) - 8007640: f009 ffda bl 80115f8 - 8007644: e032 b.n 80076ac + 8007fb4: 687b ldr r3, [r7, #4] + 8007fb6: 2b00 cmp r3, #0 + 8007fb8: d107 bne.n 8007fca + 8007fba: 4b1f ldr r3, [pc, #124] @ (8008038 ) + 8007fbc: f240 32cf movw r2, #975 @ 0x3cf + 8007fc0: 491e ldr r1, [pc, #120] @ (800803c ) + 8007fc2: 481f ldr r0, [pc, #124] @ (8008040 ) + 8007fc4: f009 ffda bl 8011f7c + 8007fc8: e032 b.n 8008030 /* pcb->state LISTEN not allowed here */ LWIP_ASSERT("don't call tcp_recved for listen-pcbs", - 8007646: 687b ldr r3, [r7, #4] - 8007648: 7d1b ldrb r3, [r3, #20] - 800764a: 2b01 cmp r3, #1 - 800764c: d106 bne.n 800765c - 800764e: 4b19 ldr r3, [pc, #100] @ (80076b4 ) - 8007650: f240 32d2 movw r2, #978 @ 0x3d2 - 8007654: 491a ldr r1, [pc, #104] @ (80076c0 ) - 8007656: 4819 ldr r0, [pc, #100] @ (80076bc ) - 8007658: f009 ffce bl 80115f8 + 8007fca: 687b ldr r3, [r7, #4] + 8007fcc: 7d1b ldrb r3, [r3, #20] + 8007fce: 2b01 cmp r3, #1 + 8007fd0: d106 bne.n 8007fe0 + 8007fd2: 4b19 ldr r3, [pc, #100] @ (8008038 ) + 8007fd4: f240 32d2 movw r2, #978 @ 0x3d2 + 8007fd8: 491a ldr r1, [pc, #104] @ (8008044 ) + 8007fda: 4819 ldr r0, [pc, #100] @ (8008040 ) + 8007fdc: f009 ffce bl 8011f7c pcb->state != LISTEN); rcv_wnd = (tcpwnd_size_t)(pcb->rcv_wnd + len); - 800765c: 687b ldr r3, [r7, #4] - 800765e: 8d1a ldrh r2, [r3, #40] @ 0x28 - 8007660: 887b ldrh r3, [r7, #2] - 8007662: 4413 add r3, r2 - 8007664: 81fb strh r3, [r7, #14] + 8007fe0: 687b ldr r3, [r7, #4] + 8007fe2: 8d1a ldrh r2, [r3, #40] @ 0x28 + 8007fe4: 887b ldrh r3, [r7, #2] + 8007fe6: 4413 add r3, r2 + 8007fe8: 81fb strh r3, [r7, #14] if ((rcv_wnd > TCP_WND_MAX(pcb)) || (rcv_wnd < pcb->rcv_wnd)) { - 8007666: 89fb ldrh r3, [r7, #14] - 8007668: f5b3 6f06 cmp.w r3, #2144 @ 0x860 - 800766c: d804 bhi.n 8007678 - 800766e: 687b ldr r3, [r7, #4] - 8007670: 8d1b ldrh r3, [r3, #40] @ 0x28 - 8007672: 89fa ldrh r2, [r7, #14] - 8007674: 429a cmp r2, r3 - 8007676: d204 bcs.n 8007682 + 8007fea: 89fb ldrh r3, [r7, #14] + 8007fec: f5b3 6f06 cmp.w r3, #2144 @ 0x860 + 8007ff0: d804 bhi.n 8007ffc + 8007ff2: 687b ldr r3, [r7, #4] + 8007ff4: 8d1b ldrh r3, [r3, #40] @ 0x28 + 8007ff6: 89fa ldrh r2, [r7, #14] + 8007ff8: 429a cmp r2, r3 + 8007ffa: d204 bcs.n 8008006 /* window got too big or tcpwnd_size_t overflow */ LWIP_DEBUGF(TCP_DEBUG, ("tcp_recved: window got too big or tcpwnd_size_t overflow\n")); pcb->rcv_wnd = TCP_WND_MAX(pcb); - 8007678: 687b ldr r3, [r7, #4] - 800767a: f44f 6206 mov.w r2, #2144 @ 0x860 - 800767e: 851a strh r2, [r3, #40] @ 0x28 - 8007680: e002 b.n 8007688 + 8007ffc: 687b ldr r3, [r7, #4] + 8007ffe: f44f 6206 mov.w r2, #2144 @ 0x860 + 8008002: 851a strh r2, [r3, #40] @ 0x28 + 8008004: e002 b.n 800800c } else { pcb->rcv_wnd = rcv_wnd; - 8007682: 687b ldr r3, [r7, #4] - 8007684: 89fa ldrh r2, [r7, #14] - 8007686: 851a strh r2, [r3, #40] @ 0x28 + 8008006: 687b ldr r3, [r7, #4] + 8008008: 89fa ldrh r2, [r7, #14] + 800800a: 851a strh r2, [r3, #40] @ 0x28 } wnd_inflation = tcp_update_rcv_ann_wnd(pcb); - 8007688: 6878 ldr r0, [r7, #4] - 800768a: f7ff ff71 bl 8007570 - 800768e: 60b8 str r0, [r7, #8] + 800800c: 6878 ldr r0, [r7, #4] + 800800e: f7ff ff71 bl 8007ef4 + 8008012: 60b8 str r0, [r7, #8] /* If the change in the right edge of window is significant (default * watermark is TCP_WND/4), then send an explicit update now. * Otherwise wait for a packet to be sent in the normal course of * events (or more window to be available later) */ if (wnd_inflation >= TCP_WND_UPDATE_THRESHOLD) { - 8007690: 68bb ldr r3, [r7, #8] - 8007692: f5b3 7f06 cmp.w r3, #536 @ 0x218 - 8007696: d309 bcc.n 80076ac + 8008014: 68bb ldr r3, [r7, #8] + 8008016: f5b3 7f06 cmp.w r3, #536 @ 0x218 + 800801a: d309 bcc.n 8008030 tcp_ack_now(pcb); - 8007698: 687b ldr r3, [r7, #4] - 800769a: 8b5b ldrh r3, [r3, #26] - 800769c: f043 0302 orr.w r3, r3, #2 - 80076a0: b29a uxth r2, r3 - 80076a2: 687b ldr r3, [r7, #4] - 80076a4: 835a strh r2, [r3, #26] + 800801c: 687b ldr r3, [r7, #4] + 800801e: 8b5b ldrh r3, [r3, #26] + 8008020: f043 0302 orr.w r3, r3, #2 + 8008024: b29a uxth r2, r3 + 8008026: 687b ldr r3, [r7, #4] + 8008028: 835a strh r2, [r3, #26] tcp_output(pcb); - 80076a6: 6878 ldr r0, [r7, #4] - 80076a8: f003 fe3e bl 800b328 + 800802a: 6878 ldr r0, [r7, #4] + 800802c: f003 fe3e bl 800bcac } LWIP_DEBUGF(TCP_DEBUG, ("tcp_recved: received %"U16_F" bytes, wnd %"TCPWNDSIZE_F" (%"TCPWNDSIZE_F").\n", len, pcb->rcv_wnd, (u16_t)(TCP_WND_MAX(pcb) - pcb->rcv_wnd))); } - 80076ac: 3710 adds r7, #16 - 80076ae: 46bd mov sp, r7 - 80076b0: bd80 pop {r7, pc} - 80076b2: bf00 nop - 80076b4: 08016ab4 .word 0x08016ab4 - 80076b8: 08016d50 .word 0x08016d50 - 80076bc: 08016af8 .word 0x08016af8 - 80076c0: 08016d68 .word 0x08016d68 + 8008030: 3710 adds r7, #16 + 8008032: 46bd mov sp, r7 + 8008034: bd80 pop {r7, pc} + 8008036: bf00 nop + 8008038: 08017434 .word 0x08017434 + 800803c: 080176d0 .word 0x080176d0 + 8008040: 08017478 .word 0x08017478 + 8008044: 080176e8 .word 0x080176e8 -080076c4 : +08008048 : * * Automatically called from tcp_tmr(). */ void tcp_slowtmr(void) { - 80076c4: b5b0 push {r4, r5, r7, lr} - 80076c6: b090 sub sp, #64 @ 0x40 - 80076c8: af04 add r7, sp, #16 + 8008048: b5b0 push {r4, r5, r7, lr} + 800804a: b090 sub sp, #64 @ 0x40 + 800804c: af04 add r7, sp, #16 tcpwnd_size_t eff_wnd; u8_t pcb_remove; /* flag if a PCB should be removed */ u8_t pcb_reset; /* flag if a RST should be sent when removing */ err_t err; err = ERR_OK; - 80076ca: 2300 movs r3, #0 - 80076cc: f887 3025 strb.w r3, [r7, #37] @ 0x25 + 800804e: 2300 movs r3, #0 + 8008050: f887 3025 strb.w r3, [r7, #37] @ 0x25 ++tcp_ticks; - 80076d0: 4b95 ldr r3, [pc, #596] @ (8007928 ) - 80076d2: 681b ldr r3, [r3, #0] - 80076d4: 3301 adds r3, #1 - 80076d6: 4a94 ldr r2, [pc, #592] @ (8007928 ) - 80076d8: 6013 str r3, [r2, #0] + 8008054: 4b95 ldr r3, [pc, #596] @ (80082ac ) + 8008056: 681b ldr r3, [r3, #0] + 8008058: 3301 adds r3, #1 + 800805a: 4a94 ldr r2, [pc, #592] @ (80082ac ) + 800805c: 6013 str r3, [r2, #0] ++tcp_timer_ctr; - 80076da: 4b94 ldr r3, [pc, #592] @ (800792c ) - 80076dc: 781b ldrb r3, [r3, #0] - 80076de: 3301 adds r3, #1 - 80076e0: b2da uxtb r2, r3 - 80076e2: 4b92 ldr r3, [pc, #584] @ (800792c ) - 80076e4: 701a strb r2, [r3, #0] - 80076e6: e000 b.n 80076ea + 800805e: 4b94 ldr r3, [pc, #592] @ (80082b0 ) + 8008060: 781b ldrb r3, [r3, #0] + 8008062: 3301 adds r3, #1 + 8008064: b2da uxtb r2, r3 + 8008066: 4b92 ldr r3, [pc, #584] @ (80082b0 ) + 8008068: 701a strb r2, [r3, #0] + 800806a: e000 b.n 800806e prev->polltmr = 0; LWIP_DEBUGF(TCP_DEBUG, ("tcp_slowtmr: polling application\n")); tcp_active_pcbs_changed = 0; TCP_EVENT_POLL(prev, err); if (tcp_active_pcbs_changed) { goto tcp_slowtmr_start; - 80076e8: bf00 nop + 800806c: bf00 nop prev = NULL; - 80076ea: 2300 movs r3, #0 - 80076ec: 62bb str r3, [r7, #40] @ 0x28 + 800806e: 2300 movs r3, #0 + 8008070: 62bb str r3, [r7, #40] @ 0x28 pcb = tcp_active_pcbs; - 80076ee: 4b90 ldr r3, [pc, #576] @ (8007930 ) - 80076f0: 681b ldr r3, [r3, #0] - 80076f2: 62fb str r3, [r7, #44] @ 0x2c + 8008072: 4b90 ldr r3, [pc, #576] @ (80082b4 ) + 8008074: 681b ldr r3, [r3, #0] + 8008076: 62fb str r3, [r7, #44] @ 0x2c while (pcb != NULL) { - 80076f4: e29f b.n 8007c36 + 8008078: e29f b.n 80085ba LWIP_ASSERT("tcp_slowtmr: active pcb->state != CLOSED\n", pcb->state != CLOSED); - 80076f6: 6afb ldr r3, [r7, #44] @ 0x2c - 80076f8: 7d1b ldrb r3, [r3, #20] - 80076fa: 2b00 cmp r3, #0 - 80076fc: d106 bne.n 800770c - 80076fe: 4b8d ldr r3, [pc, #564] @ (8007934 ) - 8007700: f240 42be movw r2, #1214 @ 0x4be - 8007704: 498c ldr r1, [pc, #560] @ (8007938 ) - 8007706: 488d ldr r0, [pc, #564] @ (800793c ) - 8007708: f009 ff76 bl 80115f8 + 800807a: 6afb ldr r3, [r7, #44] @ 0x2c + 800807c: 7d1b ldrb r3, [r3, #20] + 800807e: 2b00 cmp r3, #0 + 8008080: d106 bne.n 8008090 + 8008082: 4b8d ldr r3, [pc, #564] @ (80082b8 ) + 8008084: f240 42be movw r2, #1214 @ 0x4be + 8008088: 498c ldr r1, [pc, #560] @ (80082bc ) + 800808a: 488d ldr r0, [pc, #564] @ (80082c0 ) + 800808c: f009 ff76 bl 8011f7c LWIP_ASSERT("tcp_slowtmr: active pcb->state != LISTEN\n", pcb->state != LISTEN); - 800770c: 6afb ldr r3, [r7, #44] @ 0x2c - 800770e: 7d1b ldrb r3, [r3, #20] - 8007710: 2b01 cmp r3, #1 - 8007712: d106 bne.n 8007722 - 8007714: 4b87 ldr r3, [pc, #540] @ (8007934 ) - 8007716: f240 42bf movw r2, #1215 @ 0x4bf - 800771a: 4989 ldr r1, [pc, #548] @ (8007940 ) - 800771c: 4887 ldr r0, [pc, #540] @ (800793c ) - 800771e: f009 ff6b bl 80115f8 + 8008090: 6afb ldr r3, [r7, #44] @ 0x2c + 8008092: 7d1b ldrb r3, [r3, #20] + 8008094: 2b01 cmp r3, #1 + 8008096: d106 bne.n 80080a6 + 8008098: 4b87 ldr r3, [pc, #540] @ (80082b8 ) + 800809a: f240 42bf movw r2, #1215 @ 0x4bf + 800809e: 4989 ldr r1, [pc, #548] @ (80082c4 ) + 80080a0: 4887 ldr r0, [pc, #540] @ (80082c0 ) + 80080a2: f009 ff6b bl 8011f7c LWIP_ASSERT("tcp_slowtmr: active pcb->state != TIME-WAIT\n", pcb->state != TIME_WAIT); - 8007722: 6afb ldr r3, [r7, #44] @ 0x2c - 8007724: 7d1b ldrb r3, [r3, #20] - 8007726: 2b0a cmp r3, #10 - 8007728: d106 bne.n 8007738 - 800772a: 4b82 ldr r3, [pc, #520] @ (8007934 ) - 800772c: f44f 6298 mov.w r2, #1216 @ 0x4c0 - 8007730: 4984 ldr r1, [pc, #528] @ (8007944 ) - 8007732: 4882 ldr r0, [pc, #520] @ (800793c ) - 8007734: f009 ff60 bl 80115f8 + 80080a6: 6afb ldr r3, [r7, #44] @ 0x2c + 80080a8: 7d1b ldrb r3, [r3, #20] + 80080aa: 2b0a cmp r3, #10 + 80080ac: d106 bne.n 80080bc + 80080ae: 4b82 ldr r3, [pc, #520] @ (80082b8 ) + 80080b0: f44f 6298 mov.w r2, #1216 @ 0x4c0 + 80080b4: 4984 ldr r1, [pc, #528] @ (80082c8 ) + 80080b6: 4882 ldr r0, [pc, #520] @ (80082c0 ) + 80080b8: f009 ff60 bl 8011f7c if (pcb->last_timer == tcp_timer_ctr) { - 8007738: 6afb ldr r3, [r7, #44] @ 0x2c - 800773a: 7f9a ldrb r2, [r3, #30] - 800773c: 4b7b ldr r3, [pc, #492] @ (800792c ) - 800773e: 781b ldrb r3, [r3, #0] - 8007740: 429a cmp r2, r3 - 8007742: d105 bne.n 8007750 + 80080bc: 6afb ldr r3, [r7, #44] @ 0x2c + 80080be: 7f9a ldrb r2, [r3, #30] + 80080c0: 4b7b ldr r3, [pc, #492] @ (80082b0 ) + 80080c2: 781b ldrb r3, [r3, #0] + 80080c4: 429a cmp r2, r3 + 80080c6: d105 bne.n 80080d4 prev = pcb; - 8007744: 6afb ldr r3, [r7, #44] @ 0x2c - 8007746: 62bb str r3, [r7, #40] @ 0x28 + 80080c8: 6afb ldr r3, [r7, #44] @ 0x2c + 80080ca: 62bb str r3, [r7, #40] @ 0x28 pcb = pcb->next; - 8007748: 6afb ldr r3, [r7, #44] @ 0x2c - 800774a: 68db ldr r3, [r3, #12] - 800774c: 62fb str r3, [r7, #44] @ 0x2c + 80080cc: 6afb ldr r3, [r7, #44] @ 0x2c + 80080ce: 68db ldr r3, [r3, #12] + 80080d0: 62fb str r3, [r7, #44] @ 0x2c continue; - 800774e: e272 b.n 8007c36 + 80080d2: e272 b.n 80085ba pcb->last_timer = tcp_timer_ctr; - 8007750: 4b76 ldr r3, [pc, #472] @ (800792c ) - 8007752: 781a ldrb r2, [r3, #0] - 8007754: 6afb ldr r3, [r7, #44] @ 0x2c - 8007756: 779a strb r2, [r3, #30] + 80080d4: 4b76 ldr r3, [pc, #472] @ (80082b0 ) + 80080d6: 781a ldrb r2, [r3, #0] + 80080d8: 6afb ldr r3, [r7, #44] @ 0x2c + 80080da: 779a strb r2, [r3, #30] pcb_remove = 0; - 8007758: 2300 movs r3, #0 - 800775a: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 80080dc: 2300 movs r3, #0 + 80080de: f887 3027 strb.w r3, [r7, #39] @ 0x27 pcb_reset = 0; - 800775e: 2300 movs r3, #0 - 8007760: f887 3026 strb.w r3, [r7, #38] @ 0x26 + 80080e2: 2300 movs r3, #0 + 80080e4: f887 3026 strb.w r3, [r7, #38] @ 0x26 if (pcb->state == SYN_SENT && pcb->nrtx >= TCP_SYNMAXRTX) { - 8007764: 6afb ldr r3, [r7, #44] @ 0x2c - 8007766: 7d1b ldrb r3, [r3, #20] - 8007768: 2b02 cmp r3, #2 - 800776a: d10a bne.n 8007782 - 800776c: 6afb ldr r3, [r7, #44] @ 0x2c - 800776e: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 - 8007772: 2b05 cmp r3, #5 - 8007774: d905 bls.n 8007782 + 80080e8: 6afb ldr r3, [r7, #44] @ 0x2c + 80080ea: 7d1b ldrb r3, [r3, #20] + 80080ec: 2b02 cmp r3, #2 + 80080ee: d10a bne.n 8008106 + 80080f0: 6afb ldr r3, [r7, #44] @ 0x2c + 80080f2: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 80080f6: 2b05 cmp r3, #5 + 80080f8: d905 bls.n 8008106 ++pcb_remove; - 8007776: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800777a: 3301 adds r3, #1 - 800777c: f887 3027 strb.w r3, [r7, #39] @ 0x27 - 8007780: e11e b.n 80079c0 + 80080fa: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 80080fe: 3301 adds r3, #1 + 8008100: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 8008104: e11e b.n 8008344 } else if (pcb->nrtx >= TCP_MAXRTX) { - 8007782: 6afb ldr r3, [r7, #44] @ 0x2c - 8007784: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 - 8007788: 2b0b cmp r3, #11 - 800778a: d905 bls.n 8007798 + 8008106: 6afb ldr r3, [r7, #44] @ 0x2c + 8008108: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 800810c: 2b0b cmp r3, #11 + 800810e: d905 bls.n 800811c ++pcb_remove; - 800778c: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 8007790: 3301 adds r3, #1 - 8007792: f887 3027 strb.w r3, [r7, #39] @ 0x27 - 8007796: e113 b.n 80079c0 + 8008110: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 8008114: 3301 adds r3, #1 + 8008116: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 800811a: e113 b.n 8008344 if (pcb->persist_backoff > 0) { - 8007798: 6afb ldr r3, [r7, #44] @ 0x2c - 800779a: f893 3099 ldrb.w r3, [r3, #153] @ 0x99 - 800779e: 2b00 cmp r3, #0 - 80077a0: d075 beq.n 800788e + 800811c: 6afb ldr r3, [r7, #44] @ 0x2c + 800811e: f893 3099 ldrb.w r3, [r3, #153] @ 0x99 + 8008122: 2b00 cmp r3, #0 + 8008124: d075 beq.n 8008212 LWIP_ASSERT("tcp_slowtimr: persist ticking with in-flight data", pcb->unacked == NULL); - 80077a2: 6afb ldr r3, [r7, #44] @ 0x2c - 80077a4: 6f1b ldr r3, [r3, #112] @ 0x70 - 80077a6: 2b00 cmp r3, #0 - 80077a8: d006 beq.n 80077b8 - 80077aa: 4b62 ldr r3, [pc, #392] @ (8007934 ) - 80077ac: f240 42d4 movw r2, #1236 @ 0x4d4 - 80077b0: 4965 ldr r1, [pc, #404] @ (8007948 ) - 80077b2: 4862 ldr r0, [pc, #392] @ (800793c ) - 80077b4: f009 ff20 bl 80115f8 + 8008126: 6afb ldr r3, [r7, #44] @ 0x2c + 8008128: 6f1b ldr r3, [r3, #112] @ 0x70 + 800812a: 2b00 cmp r3, #0 + 800812c: d006 beq.n 800813c + 800812e: 4b62 ldr r3, [pc, #392] @ (80082b8 ) + 8008130: f240 42d4 movw r2, #1236 @ 0x4d4 + 8008134: 4965 ldr r1, [pc, #404] @ (80082cc ) + 8008136: 4862 ldr r0, [pc, #392] @ (80082c0 ) + 8008138: f009 ff20 bl 8011f7c LWIP_ASSERT("tcp_slowtimr: persist ticking with empty send buffer", pcb->unsent != NULL); - 80077b8: 6afb ldr r3, [r7, #44] @ 0x2c - 80077ba: 6edb ldr r3, [r3, #108] @ 0x6c - 80077bc: 2b00 cmp r3, #0 - 80077be: d106 bne.n 80077ce - 80077c0: 4b5c ldr r3, [pc, #368] @ (8007934 ) - 80077c2: f240 42d5 movw r2, #1237 @ 0x4d5 - 80077c6: 4961 ldr r1, [pc, #388] @ (800794c ) - 80077c8: 485c ldr r0, [pc, #368] @ (800793c ) - 80077ca: f009 ff15 bl 80115f8 + 800813c: 6afb ldr r3, [r7, #44] @ 0x2c + 800813e: 6edb ldr r3, [r3, #108] @ 0x6c + 8008140: 2b00 cmp r3, #0 + 8008142: d106 bne.n 8008152 + 8008144: 4b5c ldr r3, [pc, #368] @ (80082b8 ) + 8008146: f240 42d5 movw r2, #1237 @ 0x4d5 + 800814a: 4961 ldr r1, [pc, #388] @ (80082d0 ) + 800814c: 485c ldr r0, [pc, #368] @ (80082c0 ) + 800814e: f009 ff15 bl 8011f7c if (pcb->persist_probe >= TCP_MAXRTX) { - 80077ce: 6afb ldr r3, [r7, #44] @ 0x2c - 80077d0: f893 309a ldrb.w r3, [r3, #154] @ 0x9a - 80077d4: 2b0b cmp r3, #11 - 80077d6: d905 bls.n 80077e4 + 8008152: 6afb ldr r3, [r7, #44] @ 0x2c + 8008154: f893 309a ldrb.w r3, [r3, #154] @ 0x9a + 8008158: 2b0b cmp r3, #11 + 800815a: d905 bls.n 8008168 ++pcb_remove; /* max probes reached */ - 80077d8: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 80077dc: 3301 adds r3, #1 - 80077de: f887 3027 strb.w r3, [r7, #39] @ 0x27 - 80077e2: e0ed b.n 80079c0 + 800815c: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 8008160: 3301 adds r3, #1 + 8008162: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 8008166: e0ed b.n 8008344 u8_t backoff_cnt = tcp_persist_backoff[pcb->persist_backoff - 1]; - 80077e4: 6afb ldr r3, [r7, #44] @ 0x2c - 80077e6: f893 3099 ldrb.w r3, [r3, #153] @ 0x99 - 80077ea: 3b01 subs r3, #1 - 80077ec: 4a58 ldr r2, [pc, #352] @ (8007950 ) - 80077ee: 5cd3 ldrb r3, [r2, r3] - 80077f0: 747b strb r3, [r7, #17] + 8008168: 6afb ldr r3, [r7, #44] @ 0x2c + 800816a: f893 3099 ldrb.w r3, [r3, #153] @ 0x99 + 800816e: 3b01 subs r3, #1 + 8008170: 4a58 ldr r2, [pc, #352] @ (80082d4 ) + 8008172: 5cd3 ldrb r3, [r2, r3] + 8008174: 747b strb r3, [r7, #17] if (pcb->persist_cnt < backoff_cnt) { - 80077f2: 6afb ldr r3, [r7, #44] @ 0x2c - 80077f4: f893 3098 ldrb.w r3, [r3, #152] @ 0x98 - 80077f8: 7c7a ldrb r2, [r7, #17] - 80077fa: 429a cmp r2, r3 - 80077fc: d907 bls.n 800780e + 8008176: 6afb ldr r3, [r7, #44] @ 0x2c + 8008178: f893 3098 ldrb.w r3, [r3, #152] @ 0x98 + 800817c: 7c7a ldrb r2, [r7, #17] + 800817e: 429a cmp r2, r3 + 8008180: d907 bls.n 8008192 pcb->persist_cnt++; - 80077fe: 6afb ldr r3, [r7, #44] @ 0x2c - 8007800: f893 3098 ldrb.w r3, [r3, #152] @ 0x98 - 8007804: 3301 adds r3, #1 - 8007806: b2da uxtb r2, r3 - 8007808: 6afb ldr r3, [r7, #44] @ 0x2c - 800780a: f883 2098 strb.w r2, [r3, #152] @ 0x98 + 8008182: 6afb ldr r3, [r7, #44] @ 0x2c + 8008184: f893 3098 ldrb.w r3, [r3, #152] @ 0x98 + 8008188: 3301 adds r3, #1 + 800818a: b2da uxtb r2, r3 + 800818c: 6afb ldr r3, [r7, #44] @ 0x2c + 800818e: f883 2098 strb.w r2, [r3, #152] @ 0x98 if (pcb->persist_cnt >= backoff_cnt) { - 800780e: 6afb ldr r3, [r7, #44] @ 0x2c - 8007810: f893 3098 ldrb.w r3, [r3, #152] @ 0x98 - 8007814: 7c7a ldrb r2, [r7, #17] - 8007816: 429a cmp r2, r3 - 8007818: f200 80d2 bhi.w 80079c0 + 8008192: 6afb ldr r3, [r7, #44] @ 0x2c + 8008194: f893 3098 ldrb.w r3, [r3, #152] @ 0x98 + 8008198: 7c7a ldrb r2, [r7, #17] + 800819a: 429a cmp r2, r3 + 800819c: f200 80d2 bhi.w 8008344 int next_slot = 1; /* increment timer to next slot */ - 800781c: 2301 movs r3, #1 - 800781e: 623b str r3, [r7, #32] + 80081a0: 2301 movs r3, #1 + 80081a2: 623b str r3, [r7, #32] if (pcb->snd_wnd == 0) { - 8007820: 6afb ldr r3, [r7, #44] @ 0x2c - 8007822: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 - 8007826: 2b00 cmp r3, #0 - 8007828: d108 bne.n 800783c + 80081a4: 6afb ldr r3, [r7, #44] @ 0x2c + 80081a6: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 + 80081aa: 2b00 cmp r3, #0 + 80081ac: d108 bne.n 80081c0 if (tcp_zero_window_probe(pcb) != ERR_OK) { - 800782a: 6af8 ldr r0, [r7, #44] @ 0x2c - 800782c: f004 fc24 bl 800c078 - 8007830: 4603 mov r3, r0 - 8007832: 2b00 cmp r3, #0 - 8007834: d014 beq.n 8007860 + 80081ae: 6af8 ldr r0, [r7, #44] @ 0x2c + 80081b0: f004 fc24 bl 800c9fc + 80081b4: 4603 mov r3, r0 + 80081b6: 2b00 cmp r3, #0 + 80081b8: d014 beq.n 80081e4 next_slot = 0; /* try probe again with current slot */ - 8007836: 2300 movs r3, #0 - 8007838: 623b str r3, [r7, #32] - 800783a: e011 b.n 8007860 + 80081ba: 2300 movs r3, #0 + 80081bc: 623b str r3, [r7, #32] + 80081be: e011 b.n 80081e4 if (tcp_split_unsent_seg(pcb, (u16_t)pcb->snd_wnd) == ERR_OK) { - 800783c: 6afb ldr r3, [r7, #44] @ 0x2c - 800783e: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 - 8007842: 4619 mov r1, r3 - 8007844: 6af8 ldr r0, [r7, #44] @ 0x2c - 8007846: f003 fae9 bl 800ae1c - 800784a: 4603 mov r3, r0 - 800784c: 2b00 cmp r3, #0 - 800784e: d107 bne.n 8007860 + 80081c0: 6afb ldr r3, [r7, #44] @ 0x2c + 80081c2: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 + 80081c6: 4619 mov r1, r3 + 80081c8: 6af8 ldr r0, [r7, #44] @ 0x2c + 80081ca: f003 fae9 bl 800b7a0 + 80081ce: 4603 mov r3, r0 + 80081d0: 2b00 cmp r3, #0 + 80081d2: d107 bne.n 80081e4 if (tcp_output(pcb) == ERR_OK) { - 8007850: 6af8 ldr r0, [r7, #44] @ 0x2c - 8007852: f003 fd69 bl 800b328 - 8007856: 4603 mov r3, r0 - 8007858: 2b00 cmp r3, #0 - 800785a: d101 bne.n 8007860 + 80081d4: 6af8 ldr r0, [r7, #44] @ 0x2c + 80081d6: f003 fd69 bl 800bcac + 80081da: 4603 mov r3, r0 + 80081dc: 2b00 cmp r3, #0 + 80081de: d101 bne.n 80081e4 next_slot = 0; - 800785c: 2300 movs r3, #0 - 800785e: 623b str r3, [r7, #32] + 80081e0: 2300 movs r3, #0 + 80081e2: 623b str r3, [r7, #32] if (next_slot) { - 8007860: 6a3b ldr r3, [r7, #32] - 8007862: 2b00 cmp r3, #0 - 8007864: f000 80ac beq.w 80079c0 + 80081e4: 6a3b ldr r3, [r7, #32] + 80081e6: 2b00 cmp r3, #0 + 80081e8: f000 80ac beq.w 8008344 pcb->persist_cnt = 0; - 8007868: 6afb ldr r3, [r7, #44] @ 0x2c - 800786a: 2200 movs r2, #0 - 800786c: f883 2098 strb.w r2, [r3, #152] @ 0x98 + 80081ec: 6afb ldr r3, [r7, #44] @ 0x2c + 80081ee: 2200 movs r2, #0 + 80081f0: f883 2098 strb.w r2, [r3, #152] @ 0x98 if (pcb->persist_backoff < sizeof(tcp_persist_backoff)) { - 8007870: 6afb ldr r3, [r7, #44] @ 0x2c - 8007872: f893 3099 ldrb.w r3, [r3, #153] @ 0x99 - 8007876: 2b06 cmp r3, #6 - 8007878: f200 80a2 bhi.w 80079c0 + 80081f4: 6afb ldr r3, [r7, #44] @ 0x2c + 80081f6: f893 3099 ldrb.w r3, [r3, #153] @ 0x99 + 80081fa: 2b06 cmp r3, #6 + 80081fc: f200 80a2 bhi.w 8008344 pcb->persist_backoff++; - 800787c: 6afb ldr r3, [r7, #44] @ 0x2c - 800787e: f893 3099 ldrb.w r3, [r3, #153] @ 0x99 - 8007882: 3301 adds r3, #1 - 8007884: b2da uxtb r2, r3 - 8007886: 6afb ldr r3, [r7, #44] @ 0x2c - 8007888: f883 2099 strb.w r2, [r3, #153] @ 0x99 - 800788c: e098 b.n 80079c0 + 8008200: 6afb ldr r3, [r7, #44] @ 0x2c + 8008202: f893 3099 ldrb.w r3, [r3, #153] @ 0x99 + 8008206: 3301 adds r3, #1 + 8008208: b2da uxtb r2, r3 + 800820a: 6afb ldr r3, [r7, #44] @ 0x2c + 800820c: f883 2099 strb.w r2, [r3, #153] @ 0x99 + 8008210: e098 b.n 8008344 if ((pcb->rtime >= 0) && (pcb->rtime < 0x7FFF)) { - 800788e: 6afb ldr r3, [r7, #44] @ 0x2c - 8007890: f9b3 3030 ldrsh.w r3, [r3, #48] @ 0x30 - 8007894: 2b00 cmp r3, #0 - 8007896: db0f blt.n 80078b8 - 8007898: 6afb ldr r3, [r7, #44] @ 0x2c - 800789a: f9b3 3030 ldrsh.w r3, [r3, #48] @ 0x30 - 800789e: f647 72ff movw r2, #32767 @ 0x7fff - 80078a2: 4293 cmp r3, r2 - 80078a4: d008 beq.n 80078b8 + 8008212: 6afb ldr r3, [r7, #44] @ 0x2c + 8008214: f9b3 3030 ldrsh.w r3, [r3, #48] @ 0x30 + 8008218: 2b00 cmp r3, #0 + 800821a: db0f blt.n 800823c + 800821c: 6afb ldr r3, [r7, #44] @ 0x2c + 800821e: f9b3 3030 ldrsh.w r3, [r3, #48] @ 0x30 + 8008222: f647 72ff movw r2, #32767 @ 0x7fff + 8008226: 4293 cmp r3, r2 + 8008228: d008 beq.n 800823c ++pcb->rtime; - 80078a6: 6afb ldr r3, [r7, #44] @ 0x2c - 80078a8: f9b3 3030 ldrsh.w r3, [r3, #48] @ 0x30 - 80078ac: b29b uxth r3, r3 - 80078ae: 3301 adds r3, #1 - 80078b0: b29b uxth r3, r3 - 80078b2: b21a sxth r2, r3 - 80078b4: 6afb ldr r3, [r7, #44] @ 0x2c - 80078b6: 861a strh r2, [r3, #48] @ 0x30 + 800822a: 6afb ldr r3, [r7, #44] @ 0x2c + 800822c: f9b3 3030 ldrsh.w r3, [r3, #48] @ 0x30 + 8008230: b29b uxth r3, r3 + 8008232: 3301 adds r3, #1 + 8008234: b29b uxth r3, r3 + 8008236: b21a sxth r2, r3 + 8008238: 6afb ldr r3, [r7, #44] @ 0x2c + 800823a: 861a strh r2, [r3, #48] @ 0x30 if (pcb->rtime >= pcb->rto) { - 80078b8: 6afb ldr r3, [r7, #44] @ 0x2c - 80078ba: f9b3 2030 ldrsh.w r2, [r3, #48] @ 0x30 - 80078be: 6afb ldr r3, [r7, #44] @ 0x2c - 80078c0: f9b3 3040 ldrsh.w r3, [r3, #64] @ 0x40 - 80078c4: 429a cmp r2, r3 - 80078c6: db7b blt.n 80079c0 + 800823c: 6afb ldr r3, [r7, #44] @ 0x2c + 800823e: f9b3 2030 ldrsh.w r2, [r3, #48] @ 0x30 + 8008242: 6afb ldr r3, [r7, #44] @ 0x2c + 8008244: f9b3 3040 ldrsh.w r3, [r3, #64] @ 0x40 + 8008248: 429a cmp r2, r3 + 800824a: db7b blt.n 8008344 if ((tcp_rexmit_rto_prepare(pcb) == ERR_OK) || ((pcb->unacked == NULL) && (pcb->unsent != NULL))) { - 80078c8: 6af8 ldr r0, [r7, #44] @ 0x2c - 80078ca: f004 f821 bl 800b910 - 80078ce: 4603 mov r3, r0 - 80078d0: 2b00 cmp r3, #0 - 80078d2: d007 beq.n 80078e4 - 80078d4: 6afb ldr r3, [r7, #44] @ 0x2c - 80078d6: 6f1b ldr r3, [r3, #112] @ 0x70 - 80078d8: 2b00 cmp r3, #0 - 80078da: d171 bne.n 80079c0 - 80078dc: 6afb ldr r3, [r7, #44] @ 0x2c - 80078de: 6edb ldr r3, [r3, #108] @ 0x6c - 80078e0: 2b00 cmp r3, #0 - 80078e2: d06d beq.n 80079c0 + 800824c: 6af8 ldr r0, [r7, #44] @ 0x2c + 800824e: f004 f821 bl 800c294 + 8008252: 4603 mov r3, r0 + 8008254: 2b00 cmp r3, #0 + 8008256: d007 beq.n 8008268 + 8008258: 6afb ldr r3, [r7, #44] @ 0x2c + 800825a: 6f1b ldr r3, [r3, #112] @ 0x70 + 800825c: 2b00 cmp r3, #0 + 800825e: d171 bne.n 8008344 + 8008260: 6afb ldr r3, [r7, #44] @ 0x2c + 8008262: 6edb ldr r3, [r3, #108] @ 0x6c + 8008264: 2b00 cmp r3, #0 + 8008266: d06d beq.n 8008344 if (pcb->state != SYN_SENT) { - 80078e4: 6afb ldr r3, [r7, #44] @ 0x2c - 80078e6: 7d1b ldrb r3, [r3, #20] - 80078e8: 2b02 cmp r3, #2 - 80078ea: d03a beq.n 8007962 + 8008268: 6afb ldr r3, [r7, #44] @ 0x2c + 800826a: 7d1b ldrb r3, [r3, #20] + 800826c: 2b02 cmp r3, #2 + 800826e: d03a beq.n 80082e6 u8_t backoff_idx = LWIP_MIN(pcb->nrtx, sizeof(tcp_backoff) - 1); - 80078ec: 6afb ldr r3, [r7, #44] @ 0x2c - 80078ee: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 - 80078f2: 2b0c cmp r3, #12 - 80078f4: bf28 it cs - 80078f6: 230c movcs r3, #12 - 80078f8: 76fb strb r3, [r7, #27] + 8008270: 6afb ldr r3, [r7, #44] @ 0x2c + 8008272: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 8008276: 2b0c cmp r3, #12 + 8008278: bf28 it cs + 800827a: 230c movcs r3, #12 + 800827c: 76fb strb r3, [r7, #27] int calc_rto = ((pcb->sa >> 3) + pcb->sv) << tcp_backoff[backoff_idx]; - 80078fa: 6afb ldr r3, [r7, #44] @ 0x2c - 80078fc: f9b3 303c ldrsh.w r3, [r3, #60] @ 0x3c - 8007900: 10db asrs r3, r3, #3 - 8007902: b21b sxth r3, r3 - 8007904: 461a mov r2, r3 - 8007906: 6afb ldr r3, [r7, #44] @ 0x2c - 8007908: f9b3 303e ldrsh.w r3, [r3, #62] @ 0x3e - 800790c: 4413 add r3, r2 - 800790e: 7efa ldrb r2, [r7, #27] - 8007910: 4910 ldr r1, [pc, #64] @ (8007954 ) - 8007912: 5c8a ldrb r2, [r1, r2] - 8007914: 4093 lsls r3, r2 - 8007916: 617b str r3, [r7, #20] + 800827e: 6afb ldr r3, [r7, #44] @ 0x2c + 8008280: f9b3 303c ldrsh.w r3, [r3, #60] @ 0x3c + 8008284: 10db asrs r3, r3, #3 + 8008286: b21b sxth r3, r3 + 8008288: 461a mov r2, r3 + 800828a: 6afb ldr r3, [r7, #44] @ 0x2c + 800828c: f9b3 303e ldrsh.w r3, [r3, #62] @ 0x3e + 8008290: 4413 add r3, r2 + 8008292: 7efa ldrb r2, [r7, #27] + 8008294: 4910 ldr r1, [pc, #64] @ (80082d8 ) + 8008296: 5c8a ldrb r2, [r1, r2] + 8008298: 4093 lsls r3, r2 + 800829a: 617b str r3, [r7, #20] pcb->rto = (s16_t)LWIP_MIN(calc_rto, 0x7FFF); - 8007918: 697b ldr r3, [r7, #20] - 800791a: f647 72fe movw r2, #32766 @ 0x7ffe - 800791e: 4293 cmp r3, r2 - 8007920: dc1a bgt.n 8007958 - 8007922: 697b ldr r3, [r7, #20] - 8007924: b21a sxth r2, r3 - 8007926: e019 b.n 800795c - 8007928: 200190a4 .word 0x200190a4 - 800792c: 200190ba .word 0x200190ba - 8007930: 200190b0 .word 0x200190b0 - 8007934: 08016ab4 .word 0x08016ab4 - 8007938: 08016df8 .word 0x08016df8 - 800793c: 08016af8 .word 0x08016af8 - 8007940: 08016e24 .word 0x08016e24 - 8007944: 08016e50 .word 0x08016e50 - 8007948: 08016e80 .word 0x08016e80 - 800794c: 08016eb4 .word 0x08016eb4 - 8007950: 08018e94 .word 0x08018e94 - 8007954: 08018e84 .word 0x08018e84 - 8007958: f647 72ff movw r2, #32767 @ 0x7fff - 800795c: 6afb ldr r3, [r7, #44] @ 0x2c - 800795e: f8a3 2040 strh.w r2, [r3, #64] @ 0x40 + 800829c: 697b ldr r3, [r7, #20] + 800829e: f647 72fe movw r2, #32766 @ 0x7ffe + 80082a2: 4293 cmp r3, r2 + 80082a4: dc1a bgt.n 80082dc + 80082a6: 697b ldr r3, [r7, #20] + 80082a8: b21a sxth r2, r3 + 80082aa: e019 b.n 80082e0 + 80082ac: 200190d8 .word 0x200190d8 + 80082b0: 200190ee .word 0x200190ee + 80082b4: 200190e4 .word 0x200190e4 + 80082b8: 08017434 .word 0x08017434 + 80082bc: 08017778 .word 0x08017778 + 80082c0: 08017478 .word 0x08017478 + 80082c4: 080177a4 .word 0x080177a4 + 80082c8: 080177d0 .word 0x080177d0 + 80082cc: 08017800 .word 0x08017800 + 80082d0: 08017834 .word 0x08017834 + 80082d4: 08019814 .word 0x08019814 + 80082d8: 08019804 .word 0x08019804 + 80082dc: f647 72ff movw r2, #32767 @ 0x7fff + 80082e0: 6afb ldr r3, [r7, #44] @ 0x2c + 80082e2: f8a3 2040 strh.w r2, [r3, #64] @ 0x40 pcb->rtime = 0; - 8007962: 6afb ldr r3, [r7, #44] @ 0x2c - 8007964: 2200 movs r2, #0 - 8007966: 861a strh r2, [r3, #48] @ 0x30 + 80082e6: 6afb ldr r3, [r7, #44] @ 0x2c + 80082e8: 2200 movs r2, #0 + 80082ea: 861a strh r2, [r3, #48] @ 0x30 eff_wnd = LWIP_MIN(pcb->cwnd, pcb->snd_wnd); - 8007968: 6afb ldr r3, [r7, #44] @ 0x2c - 800796a: f8b3 2060 ldrh.w r2, [r3, #96] @ 0x60 - 800796e: 6afb ldr r3, [r7, #44] @ 0x2c - 8007970: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 - 8007974: 4293 cmp r3, r2 - 8007976: bf28 it cs - 8007978: 4613 movcs r3, r2 - 800797a: 827b strh r3, [r7, #18] + 80082ec: 6afb ldr r3, [r7, #44] @ 0x2c + 80082ee: f8b3 2060 ldrh.w r2, [r3, #96] @ 0x60 + 80082f2: 6afb ldr r3, [r7, #44] @ 0x2c + 80082f4: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 + 80082f8: 4293 cmp r3, r2 + 80082fa: bf28 it cs + 80082fc: 4613 movcs r3, r2 + 80082fe: 827b strh r3, [r7, #18] pcb->ssthresh = eff_wnd >> 1; - 800797c: 8a7b ldrh r3, [r7, #18] - 800797e: 085b lsrs r3, r3, #1 - 8007980: b29a uxth r2, r3 - 8007982: 6afb ldr r3, [r7, #44] @ 0x2c - 8007984: f8a3 204a strh.w r2, [r3, #74] @ 0x4a + 8008300: 8a7b ldrh r3, [r7, #18] + 8008302: 085b lsrs r3, r3, #1 + 8008304: b29a uxth r2, r3 + 8008306: 6afb ldr r3, [r7, #44] @ 0x2c + 8008308: f8a3 204a strh.w r2, [r3, #74] @ 0x4a if (pcb->ssthresh < (tcpwnd_size_t)(pcb->mss << 1)) { - 8007988: 6afb ldr r3, [r7, #44] @ 0x2c - 800798a: f8b3 204a ldrh.w r2, [r3, #74] @ 0x4a - 800798e: 6afb ldr r3, [r7, #44] @ 0x2c - 8007990: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8007992: 005b lsls r3, r3, #1 - 8007994: b29b uxth r3, r3 - 8007996: 429a cmp r2, r3 - 8007998: d206 bcs.n 80079a8 + 800830c: 6afb ldr r3, [r7, #44] @ 0x2c + 800830e: f8b3 204a ldrh.w r2, [r3, #74] @ 0x4a + 8008312: 6afb ldr r3, [r7, #44] @ 0x2c + 8008314: 8e5b ldrh r3, [r3, #50] @ 0x32 + 8008316: 005b lsls r3, r3, #1 + 8008318: b29b uxth r3, r3 + 800831a: 429a cmp r2, r3 + 800831c: d206 bcs.n 800832c pcb->ssthresh = (tcpwnd_size_t)(pcb->mss << 1); - 800799a: 6afb ldr r3, [r7, #44] @ 0x2c - 800799c: 8e5b ldrh r3, [r3, #50] @ 0x32 - 800799e: 005b lsls r3, r3, #1 - 80079a0: b29a uxth r2, r3 - 80079a2: 6afb ldr r3, [r7, #44] @ 0x2c - 80079a4: f8a3 204a strh.w r2, [r3, #74] @ 0x4a + 800831e: 6afb ldr r3, [r7, #44] @ 0x2c + 8008320: 8e5b ldrh r3, [r3, #50] @ 0x32 + 8008322: 005b lsls r3, r3, #1 + 8008324: b29a uxth r2, r3 + 8008326: 6afb ldr r3, [r7, #44] @ 0x2c + 8008328: f8a3 204a strh.w r2, [r3, #74] @ 0x4a pcb->cwnd = pcb->mss; - 80079a8: 6afb ldr r3, [r7, #44] @ 0x2c - 80079aa: 8e5a ldrh r2, [r3, #50] @ 0x32 - 80079ac: 6afb ldr r3, [r7, #44] @ 0x2c - 80079ae: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 + 800832c: 6afb ldr r3, [r7, #44] @ 0x2c + 800832e: 8e5a ldrh r2, [r3, #50] @ 0x32 + 8008330: 6afb ldr r3, [r7, #44] @ 0x2c + 8008332: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 pcb->bytes_acked = 0; - 80079b2: 6afb ldr r3, [r7, #44] @ 0x2c - 80079b4: 2200 movs r2, #0 - 80079b6: f8a3 206a strh.w r2, [r3, #106] @ 0x6a + 8008336: 6afb ldr r3, [r7, #44] @ 0x2c + 8008338: 2200 movs r2, #0 + 800833a: f8a3 206a strh.w r2, [r3, #106] @ 0x6a tcp_rexmit_rto_commit(pcb); - 80079ba: 6af8 ldr r0, [r7, #44] @ 0x2c - 80079bc: f004 f818 bl 800b9f0 + 800833e: 6af8 ldr r0, [r7, #44] @ 0x2c + 8008340: f004 f818 bl 800c374 if (pcb->state == FIN_WAIT_2) { - 80079c0: 6afb ldr r3, [r7, #44] @ 0x2c - 80079c2: 7d1b ldrb r3, [r3, #20] - 80079c4: 2b06 cmp r3, #6 - 80079c6: d111 bne.n 80079ec + 8008344: 6afb ldr r3, [r7, #44] @ 0x2c + 8008346: 7d1b ldrb r3, [r3, #20] + 8008348: 2b06 cmp r3, #6 + 800834a: d111 bne.n 8008370 if (pcb->flags & TF_RXCLOSED) { - 80079c8: 6afb ldr r3, [r7, #44] @ 0x2c - 80079ca: 8b5b ldrh r3, [r3, #26] - 80079cc: f003 0310 and.w r3, r3, #16 - 80079d0: 2b00 cmp r3, #0 - 80079d2: d00b beq.n 80079ec + 800834c: 6afb ldr r3, [r7, #44] @ 0x2c + 800834e: 8b5b ldrh r3, [r3, #26] + 8008350: f003 0310 and.w r3, r3, #16 + 8008354: 2b00 cmp r3, #0 + 8008356: d00b beq.n 8008370 if ((u32_t)(tcp_ticks - pcb->tmr) > - 80079d4: 4b9d ldr r3, [pc, #628] @ (8007c4c ) - 80079d6: 681a ldr r2, [r3, #0] - 80079d8: 6afb ldr r3, [r7, #44] @ 0x2c - 80079da: 6a1b ldr r3, [r3, #32] - 80079dc: 1ad3 subs r3, r2, r3 - 80079de: 2b28 cmp r3, #40 @ 0x28 - 80079e0: d904 bls.n 80079ec + 8008358: 4b9d ldr r3, [pc, #628] @ (80085d0 ) + 800835a: 681a ldr r2, [r3, #0] + 800835c: 6afb ldr r3, [r7, #44] @ 0x2c + 800835e: 6a1b ldr r3, [r3, #32] + 8008360: 1ad3 subs r3, r2, r3 + 8008362: 2b28 cmp r3, #40 @ 0x28 + 8008364: d904 bls.n 8008370 ++pcb_remove; - 80079e2: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 80079e6: 3301 adds r3, #1 - 80079e8: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 8008366: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800836a: 3301 adds r3, #1 + 800836c: f887 3027 strb.w r3, [r7, #39] @ 0x27 if (ip_get_option(pcb, SOF_KEEPALIVE) && - 80079ec: 6afb ldr r3, [r7, #44] @ 0x2c - 80079ee: 7a5b ldrb r3, [r3, #9] - 80079f0: f003 0308 and.w r3, r3, #8 - 80079f4: 2b00 cmp r3, #0 - 80079f6: d04c beq.n 8007a92 + 8008370: 6afb ldr r3, [r7, #44] @ 0x2c + 8008372: 7a5b ldrb r3, [r3, #9] + 8008374: f003 0308 and.w r3, r3, #8 + 8008378: 2b00 cmp r3, #0 + 800837a: d04c beq.n 8008416 ((pcb->state == ESTABLISHED) || - 80079f8: 6afb ldr r3, [r7, #44] @ 0x2c - 80079fa: 7d1b ldrb r3, [r3, #20] + 800837c: 6afb ldr r3, [r7, #44] @ 0x2c + 800837e: 7d1b ldrb r3, [r3, #20] if (ip_get_option(pcb, SOF_KEEPALIVE) && - 80079fc: 2b04 cmp r3, #4 - 80079fe: d003 beq.n 8007a08 + 8008380: 2b04 cmp r3, #4 + 8008382: d003 beq.n 800838c (pcb->state == CLOSE_WAIT))) { - 8007a00: 6afb ldr r3, [r7, #44] @ 0x2c - 8007a02: 7d1b ldrb r3, [r3, #20] + 8008384: 6afb ldr r3, [r7, #44] @ 0x2c + 8008386: 7d1b ldrb r3, [r3, #20] ((pcb->state == ESTABLISHED) || - 8007a04: 2b07 cmp r3, #7 - 8007a06: d144 bne.n 8007a92 + 8008388: 2b07 cmp r3, #7 + 800838a: d144 bne.n 8008416 if ((u32_t)(tcp_ticks - pcb->tmr) > - 8007a08: 4b90 ldr r3, [pc, #576] @ (8007c4c ) - 8007a0a: 681a ldr r2, [r3, #0] - 8007a0c: 6afb ldr r3, [r7, #44] @ 0x2c - 8007a0e: 6a1b ldr r3, [r3, #32] - 8007a10: 1ad2 subs r2, r2, r3 + 800838c: 4b90 ldr r3, [pc, #576] @ (80085d0 ) + 800838e: 681a ldr r2, [r3, #0] + 8008390: 6afb ldr r3, [r7, #44] @ 0x2c + 8008392: 6a1b ldr r3, [r3, #32] + 8008394: 1ad2 subs r2, r2, r3 (pcb->keep_idle + TCP_KEEP_DUR(pcb)) / TCP_SLOW_INTERVAL) { - 8007a12: 6afb ldr r3, [r7, #44] @ 0x2c - 8007a14: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 - 8007a18: f503 2324 add.w r3, r3, #671744 @ 0xa4000 - 8007a1c: f603 43b8 addw r3, r3, #3256 @ 0xcb8 - 8007a20: 498b ldr r1, [pc, #556] @ (8007c50 ) - 8007a22: fba1 1303 umull r1, r3, r1, r3 - 8007a26: 095b lsrs r3, r3, #5 + 8008396: 6afb ldr r3, [r7, #44] @ 0x2c + 8008398: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 + 800839c: f503 2324 add.w r3, r3, #671744 @ 0xa4000 + 80083a0: f603 43b8 addw r3, r3, #3256 @ 0xcb8 + 80083a4: 498b ldr r1, [pc, #556] @ (80085d4 ) + 80083a6: fba1 1303 umull r1, r3, r1, r3 + 80083aa: 095b lsrs r3, r3, #5 if ((u32_t)(tcp_ticks - pcb->tmr) > - 8007a28: 429a cmp r2, r3 - 8007a2a: d90a bls.n 8007a42 + 80083ac: 429a cmp r2, r3 + 80083ae: d90a bls.n 80083c6 ++pcb_remove; - 8007a2c: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 8007a30: 3301 adds r3, #1 - 8007a32: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 80083b0: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 80083b4: 3301 adds r3, #1 + 80083b6: f887 3027 strb.w r3, [r7, #39] @ 0x27 ++pcb_reset; - 8007a36: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 8007a3a: 3301 adds r3, #1 - 8007a3c: f887 3026 strb.w r3, [r7, #38] @ 0x26 - 8007a40: e027 b.n 8007a92 + 80083ba: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 80083be: 3301 adds r3, #1 + 80083c0: f887 3026 strb.w r3, [r7, #38] @ 0x26 + 80083c4: e027 b.n 8008416 } else if ((u32_t)(tcp_ticks - pcb->tmr) > - 8007a42: 4b82 ldr r3, [pc, #520] @ (8007c4c ) - 8007a44: 681a ldr r2, [r3, #0] - 8007a46: 6afb ldr r3, [r7, #44] @ 0x2c - 8007a48: 6a1b ldr r3, [r3, #32] - 8007a4a: 1ad2 subs r2, r2, r3 + 80083c6: 4b82 ldr r3, [pc, #520] @ (80085d0 ) + 80083c8: 681a ldr r2, [r3, #0] + 80083ca: 6afb ldr r3, [r7, #44] @ 0x2c + 80083cc: 6a1b ldr r3, [r3, #32] + 80083ce: 1ad2 subs r2, r2, r3 (pcb->keep_idle + pcb->keep_cnt_sent * TCP_KEEP_INTVL(pcb)) - 8007a4c: 6afb ldr r3, [r7, #44] @ 0x2c - 8007a4e: f8d3 1094 ldr.w r1, [r3, #148] @ 0x94 - 8007a52: 6afb ldr r3, [r7, #44] @ 0x2c - 8007a54: f893 309b ldrb.w r3, [r3, #155] @ 0x9b - 8007a58: 4618 mov r0, r3 - 8007a5a: 4b7e ldr r3, [pc, #504] @ (8007c54 ) - 8007a5c: fb00 f303 mul.w r3, r0, r3 - 8007a60: 440b add r3, r1 + 80083d0: 6afb ldr r3, [r7, #44] @ 0x2c + 80083d2: f8d3 1094 ldr.w r1, [r3, #148] @ 0x94 + 80083d6: 6afb ldr r3, [r7, #44] @ 0x2c + 80083d8: f893 309b ldrb.w r3, [r3, #155] @ 0x9b + 80083dc: 4618 mov r0, r3 + 80083de: 4b7e ldr r3, [pc, #504] @ (80085d8 ) + 80083e0: fb00 f303 mul.w r3, r0, r3 + 80083e4: 440b add r3, r1 / TCP_SLOW_INTERVAL) { - 8007a62: 497b ldr r1, [pc, #492] @ (8007c50 ) - 8007a64: fba1 1303 umull r1, r3, r1, r3 - 8007a68: 095b lsrs r3, r3, #5 + 80083e6: 497b ldr r1, [pc, #492] @ (80085d4 ) + 80083e8: fba1 1303 umull r1, r3, r1, r3 + 80083ec: 095b lsrs r3, r3, #5 } else if ((u32_t)(tcp_ticks - pcb->tmr) > - 8007a6a: 429a cmp r2, r3 - 8007a6c: d911 bls.n 8007a92 + 80083ee: 429a cmp r2, r3 + 80083f0: d911 bls.n 8008416 err = tcp_keepalive(pcb); - 8007a6e: 6af8 ldr r0, [r7, #44] @ 0x2c - 8007a70: f004 fac2 bl 800bff8 - 8007a74: 4603 mov r3, r0 - 8007a76: f887 3025 strb.w r3, [r7, #37] @ 0x25 + 80083f2: 6af8 ldr r0, [r7, #44] @ 0x2c + 80083f4: f004 fac2 bl 800c97c + 80083f8: 4603 mov r3, r0 + 80083fa: f887 3025 strb.w r3, [r7, #37] @ 0x25 if (err == ERR_OK) { - 8007a7a: f997 3025 ldrsb.w r3, [r7, #37] @ 0x25 - 8007a7e: 2b00 cmp r3, #0 - 8007a80: d107 bne.n 8007a92 + 80083fe: f997 3025 ldrsb.w r3, [r7, #37] @ 0x25 + 8008402: 2b00 cmp r3, #0 + 8008404: d107 bne.n 8008416 pcb->keep_cnt_sent++; - 8007a82: 6afb ldr r3, [r7, #44] @ 0x2c - 8007a84: f893 309b ldrb.w r3, [r3, #155] @ 0x9b - 8007a88: 3301 adds r3, #1 - 8007a8a: b2da uxtb r2, r3 - 8007a8c: 6afb ldr r3, [r7, #44] @ 0x2c - 8007a8e: f883 209b strb.w r2, [r3, #155] @ 0x9b + 8008406: 6afb ldr r3, [r7, #44] @ 0x2c + 8008408: f893 309b ldrb.w r3, [r3, #155] @ 0x9b + 800840c: 3301 adds r3, #1 + 800840e: b2da uxtb r2, r3 + 8008410: 6afb ldr r3, [r7, #44] @ 0x2c + 8008412: f883 209b strb.w r2, [r3, #155] @ 0x9b if (pcb->ooseq != NULL && - 8007a92: 6afb ldr r3, [r7, #44] @ 0x2c - 8007a94: 6f5b ldr r3, [r3, #116] @ 0x74 - 8007a96: 2b00 cmp r3, #0 - 8007a98: d011 beq.n 8007abe + 8008416: 6afb ldr r3, [r7, #44] @ 0x2c + 8008418: 6f5b ldr r3, [r3, #116] @ 0x74 + 800841a: 2b00 cmp r3, #0 + 800841c: d011 beq.n 8008442 (tcp_ticks - pcb->tmr >= (u32_t)pcb->rto * TCP_OOSEQ_TIMEOUT)) { - 8007a9a: 4b6c ldr r3, [pc, #432] @ (8007c4c ) - 8007a9c: 681a ldr r2, [r3, #0] - 8007a9e: 6afb ldr r3, [r7, #44] @ 0x2c - 8007aa0: 6a1b ldr r3, [r3, #32] - 8007aa2: 1ad2 subs r2, r2, r3 - 8007aa4: 6afb ldr r3, [r7, #44] @ 0x2c - 8007aa6: f9b3 3040 ldrsh.w r3, [r3, #64] @ 0x40 - 8007aaa: 4619 mov r1, r3 - 8007aac: 460b mov r3, r1 - 8007aae: 005b lsls r3, r3, #1 - 8007ab0: 440b add r3, r1 - 8007ab2: 005b lsls r3, r3, #1 + 800841e: 4b6c ldr r3, [pc, #432] @ (80085d0 ) + 8008420: 681a ldr r2, [r3, #0] + 8008422: 6afb ldr r3, [r7, #44] @ 0x2c + 8008424: 6a1b ldr r3, [r3, #32] + 8008426: 1ad2 subs r2, r2, r3 + 8008428: 6afb ldr r3, [r7, #44] @ 0x2c + 800842a: f9b3 3040 ldrsh.w r3, [r3, #64] @ 0x40 + 800842e: 4619 mov r1, r3 + 8008430: 460b mov r3, r1 + 8008432: 005b lsls r3, r3, #1 + 8008434: 440b add r3, r1 + 8008436: 005b lsls r3, r3, #1 if (pcb->ooseq != NULL && - 8007ab4: 429a cmp r2, r3 - 8007ab6: d302 bcc.n 8007abe + 8008438: 429a cmp r2, r3 + 800843a: d302 bcc.n 8008442 tcp_free_ooseq(pcb); - 8007ab8: 6af8 ldr r0, [r7, #44] @ 0x2c - 8007aba: f000 fddb bl 8008674 + 800843c: 6af8 ldr r0, [r7, #44] @ 0x2c + 800843e: f000 fddb bl 8008ff8 if (pcb->state == SYN_RCVD) { - 8007abe: 6afb ldr r3, [r7, #44] @ 0x2c - 8007ac0: 7d1b ldrb r3, [r3, #20] - 8007ac2: 2b03 cmp r3, #3 - 8007ac4: d10b bne.n 8007ade + 8008442: 6afb ldr r3, [r7, #44] @ 0x2c + 8008444: 7d1b ldrb r3, [r3, #20] + 8008446: 2b03 cmp r3, #3 + 8008448: d10b bne.n 8008462 if ((u32_t)(tcp_ticks - pcb->tmr) > - 8007ac6: 4b61 ldr r3, [pc, #388] @ (8007c4c ) - 8007ac8: 681a ldr r2, [r3, #0] - 8007aca: 6afb ldr r3, [r7, #44] @ 0x2c - 8007acc: 6a1b ldr r3, [r3, #32] - 8007ace: 1ad3 subs r3, r2, r3 - 8007ad0: 2b28 cmp r3, #40 @ 0x28 - 8007ad2: d904 bls.n 8007ade + 800844a: 4b61 ldr r3, [pc, #388] @ (80085d0 ) + 800844c: 681a ldr r2, [r3, #0] + 800844e: 6afb ldr r3, [r7, #44] @ 0x2c + 8008450: 6a1b ldr r3, [r3, #32] + 8008452: 1ad3 subs r3, r2, r3 + 8008454: 2b28 cmp r3, #40 @ 0x28 + 8008456: d904 bls.n 8008462 ++pcb_remove; - 8007ad4: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 8007ad8: 3301 adds r3, #1 - 8007ada: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 8008458: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800845c: 3301 adds r3, #1 + 800845e: f887 3027 strb.w r3, [r7, #39] @ 0x27 if (pcb->state == LAST_ACK) { - 8007ade: 6afb ldr r3, [r7, #44] @ 0x2c - 8007ae0: 7d1b ldrb r3, [r3, #20] - 8007ae2: 2b09 cmp r3, #9 - 8007ae4: d10b bne.n 8007afe + 8008462: 6afb ldr r3, [r7, #44] @ 0x2c + 8008464: 7d1b ldrb r3, [r3, #20] + 8008466: 2b09 cmp r3, #9 + 8008468: d10b bne.n 8008482 if ((u32_t)(tcp_ticks - pcb->tmr) > 2 * TCP_MSL / TCP_SLOW_INTERVAL) { - 8007ae6: 4b59 ldr r3, [pc, #356] @ (8007c4c ) - 8007ae8: 681a ldr r2, [r3, #0] - 8007aea: 6afb ldr r3, [r7, #44] @ 0x2c - 8007aec: 6a1b ldr r3, [r3, #32] - 8007aee: 1ad3 subs r3, r2, r3 - 8007af0: 2bf0 cmp r3, #240 @ 0xf0 - 8007af2: d904 bls.n 8007afe + 800846a: 4b59 ldr r3, [pc, #356] @ (80085d0 ) + 800846c: 681a ldr r2, [r3, #0] + 800846e: 6afb ldr r3, [r7, #44] @ 0x2c + 8008470: 6a1b ldr r3, [r3, #32] + 8008472: 1ad3 subs r3, r2, r3 + 8008474: 2bf0 cmp r3, #240 @ 0xf0 + 8008476: d904 bls.n 8008482 ++pcb_remove; - 8007af4: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 8007af8: 3301 adds r3, #1 - 8007afa: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 8008478: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800847c: 3301 adds r3, #1 + 800847e: f887 3027 strb.w r3, [r7, #39] @ 0x27 if (pcb_remove) { - 8007afe: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 8007b02: 2b00 cmp r3, #0 - 8007b04: d060 beq.n 8007bc8 + 8008482: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 8008486: 2b00 cmp r3, #0 + 8008488: d060 beq.n 800854c tcp_err_fn err_fn = pcb->errf; - 8007b06: 6afb ldr r3, [r7, #44] @ 0x2c - 8007b08: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 - 8007b0c: 60fb str r3, [r7, #12] + 800848a: 6afb ldr r3, [r7, #44] @ 0x2c + 800848c: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 + 8008490: 60fb str r3, [r7, #12] tcp_pcb_purge(pcb); - 8007b0e: 6af8 ldr r0, [r7, #44] @ 0x2c - 8007b10: f000 fbfc bl 800830c + 8008492: 6af8 ldr r0, [r7, #44] @ 0x2c + 8008494: f000 fbfc bl 8008c90 if (prev != NULL) { - 8007b14: 6abb ldr r3, [r7, #40] @ 0x28 - 8007b16: 2b00 cmp r3, #0 - 8007b18: d010 beq.n 8007b3c + 8008498: 6abb ldr r3, [r7, #40] @ 0x28 + 800849a: 2b00 cmp r3, #0 + 800849c: d010 beq.n 80084c0 LWIP_ASSERT("tcp_slowtmr: middle tcp != tcp_active_pcbs", pcb != tcp_active_pcbs); - 8007b1a: 4b4f ldr r3, [pc, #316] @ (8007c58 ) - 8007b1c: 681b ldr r3, [r3, #0] - 8007b1e: 6afa ldr r2, [r7, #44] @ 0x2c - 8007b20: 429a cmp r2, r3 - 8007b22: d106 bne.n 8007b32 - 8007b24: 4b4d ldr r3, [pc, #308] @ (8007c5c ) - 8007b26: f240 526d movw r2, #1389 @ 0x56d - 8007b2a: 494d ldr r1, [pc, #308] @ (8007c60 ) - 8007b2c: 484d ldr r0, [pc, #308] @ (8007c64 ) - 8007b2e: f009 fd63 bl 80115f8 + 800849e: 4b4f ldr r3, [pc, #316] @ (80085dc ) + 80084a0: 681b ldr r3, [r3, #0] + 80084a2: 6afa ldr r2, [r7, #44] @ 0x2c + 80084a4: 429a cmp r2, r3 + 80084a6: d106 bne.n 80084b6 + 80084a8: 4b4d ldr r3, [pc, #308] @ (80085e0 ) + 80084aa: f240 526d movw r2, #1389 @ 0x56d + 80084ae: 494d ldr r1, [pc, #308] @ (80085e4 ) + 80084b0: 484d ldr r0, [pc, #308] @ (80085e8 ) + 80084b2: f009 fd63 bl 8011f7c prev->next = pcb->next; - 8007b32: 6afb ldr r3, [r7, #44] @ 0x2c - 8007b34: 68da ldr r2, [r3, #12] - 8007b36: 6abb ldr r3, [r7, #40] @ 0x28 - 8007b38: 60da str r2, [r3, #12] - 8007b3a: e00f b.n 8007b5c + 80084b6: 6afb ldr r3, [r7, #44] @ 0x2c + 80084b8: 68da ldr r2, [r3, #12] + 80084ba: 6abb ldr r3, [r7, #40] @ 0x28 + 80084bc: 60da str r2, [r3, #12] + 80084be: e00f b.n 80084e0 LWIP_ASSERT("tcp_slowtmr: first pcb == tcp_active_pcbs", tcp_active_pcbs == pcb); - 8007b3c: 4b46 ldr r3, [pc, #280] @ (8007c58 ) - 8007b3e: 681b ldr r3, [r3, #0] - 8007b40: 6afa ldr r2, [r7, #44] @ 0x2c - 8007b42: 429a cmp r2, r3 - 8007b44: d006 beq.n 8007b54 - 8007b46: 4b45 ldr r3, [pc, #276] @ (8007c5c ) - 8007b48: f240 5271 movw r2, #1393 @ 0x571 - 8007b4c: 4946 ldr r1, [pc, #280] @ (8007c68 ) - 8007b4e: 4845 ldr r0, [pc, #276] @ (8007c64 ) - 8007b50: f009 fd52 bl 80115f8 + 80084c0: 4b46 ldr r3, [pc, #280] @ (80085dc ) + 80084c2: 681b ldr r3, [r3, #0] + 80084c4: 6afa ldr r2, [r7, #44] @ 0x2c + 80084c6: 429a cmp r2, r3 + 80084c8: d006 beq.n 80084d8 + 80084ca: 4b45 ldr r3, [pc, #276] @ (80085e0 ) + 80084cc: f240 5271 movw r2, #1393 @ 0x571 + 80084d0: 4946 ldr r1, [pc, #280] @ (80085ec ) + 80084d2: 4845 ldr r0, [pc, #276] @ (80085e8 ) + 80084d4: f009 fd52 bl 8011f7c tcp_active_pcbs = pcb->next; - 8007b54: 6afb ldr r3, [r7, #44] @ 0x2c - 8007b56: 68db ldr r3, [r3, #12] - 8007b58: 4a3f ldr r2, [pc, #252] @ (8007c58 ) - 8007b5a: 6013 str r3, [r2, #0] + 80084d8: 6afb ldr r3, [r7, #44] @ 0x2c + 80084da: 68db ldr r3, [r3, #12] + 80084dc: 4a3f ldr r2, [pc, #252] @ (80085dc ) + 80084de: 6013 str r3, [r2, #0] if (pcb_reset) { - 8007b5c: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 8007b60: 2b00 cmp r3, #0 - 8007b62: d013 beq.n 8007b8c + 80084e0: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 80084e4: 2b00 cmp r3, #0 + 80084e6: d013 beq.n 8008510 tcp_rst(pcb, pcb->snd_nxt, pcb->rcv_nxt, &pcb->local_ip, &pcb->remote_ip, - 8007b64: 6afb ldr r3, [r7, #44] @ 0x2c - 8007b66: 6d18 ldr r0, [r3, #80] @ 0x50 - 8007b68: 6afb ldr r3, [r7, #44] @ 0x2c - 8007b6a: 6a5c ldr r4, [r3, #36] @ 0x24 - 8007b6c: 6afd ldr r5, [r7, #44] @ 0x2c - 8007b6e: 6afb ldr r3, [r7, #44] @ 0x2c - 8007b70: 3304 adds r3, #4 - 8007b72: 6afa ldr r2, [r7, #44] @ 0x2c - 8007b74: 8ad2 ldrh r2, [r2, #22] - 8007b76: 6af9 ldr r1, [r7, #44] @ 0x2c - 8007b78: 8b09 ldrh r1, [r1, #24] - 8007b7a: 9102 str r1, [sp, #8] - 8007b7c: 9201 str r2, [sp, #4] - 8007b7e: 9300 str r3, [sp, #0] - 8007b80: 462b mov r3, r5 - 8007b82: 4622 mov r2, r4 - 8007b84: 4601 mov r1, r0 - 8007b86: 6af8 ldr r0, [r7, #44] @ 0x2c - 8007b88: f004 f982 bl 800be90 + 80084e8: 6afb ldr r3, [r7, #44] @ 0x2c + 80084ea: 6d18 ldr r0, [r3, #80] @ 0x50 + 80084ec: 6afb ldr r3, [r7, #44] @ 0x2c + 80084ee: 6a5c ldr r4, [r3, #36] @ 0x24 + 80084f0: 6afd ldr r5, [r7, #44] @ 0x2c + 80084f2: 6afb ldr r3, [r7, #44] @ 0x2c + 80084f4: 3304 adds r3, #4 + 80084f6: 6afa ldr r2, [r7, #44] @ 0x2c + 80084f8: 8ad2 ldrh r2, [r2, #22] + 80084fa: 6af9 ldr r1, [r7, #44] @ 0x2c + 80084fc: 8b09 ldrh r1, [r1, #24] + 80084fe: 9102 str r1, [sp, #8] + 8008500: 9201 str r2, [sp, #4] + 8008502: 9300 str r3, [sp, #0] + 8008504: 462b mov r3, r5 + 8008506: 4622 mov r2, r4 + 8008508: 4601 mov r1, r0 + 800850a: 6af8 ldr r0, [r7, #44] @ 0x2c + 800850c: f004 f982 bl 800c814 err_arg = pcb->callback_arg; - 8007b8c: 6afb ldr r3, [r7, #44] @ 0x2c - 8007b8e: 691b ldr r3, [r3, #16] - 8007b90: 60bb str r3, [r7, #8] + 8008510: 6afb ldr r3, [r7, #44] @ 0x2c + 8008512: 691b ldr r3, [r3, #16] + 8008514: 60bb str r3, [r7, #8] last_state = pcb->state; - 8007b92: 6afb ldr r3, [r7, #44] @ 0x2c - 8007b94: 7d1b ldrb r3, [r3, #20] - 8007b96: 71fb strb r3, [r7, #7] + 8008516: 6afb ldr r3, [r7, #44] @ 0x2c + 8008518: 7d1b ldrb r3, [r3, #20] + 800851a: 71fb strb r3, [r7, #7] pcb2 = pcb; - 8007b98: 6afb ldr r3, [r7, #44] @ 0x2c - 8007b9a: 603b str r3, [r7, #0] + 800851c: 6afb ldr r3, [r7, #44] @ 0x2c + 800851e: 603b str r3, [r7, #0] pcb = pcb->next; - 8007b9c: 6afb ldr r3, [r7, #44] @ 0x2c - 8007b9e: 68db ldr r3, [r3, #12] - 8007ba0: 62fb str r3, [r7, #44] @ 0x2c + 8008520: 6afb ldr r3, [r7, #44] @ 0x2c + 8008522: 68db ldr r3, [r3, #12] + 8008524: 62fb str r3, [r7, #44] @ 0x2c tcp_free(pcb2); - 8007ba2: 6838 ldr r0, [r7, #0] - 8007ba4: f7ff f9f0 bl 8006f88 + 8008526: 6838 ldr r0, [r7, #0] + 8008528: f7ff f9f0 bl 800790c tcp_active_pcbs_changed = 0; - 8007ba8: 4b30 ldr r3, [pc, #192] @ (8007c6c ) - 8007baa: 2200 movs r2, #0 - 8007bac: 701a strb r2, [r3, #0] + 800852c: 4b30 ldr r3, [pc, #192] @ (80085f0 ) + 800852e: 2200 movs r2, #0 + 8008530: 701a strb r2, [r3, #0] TCP_EVENT_ERR(last_state, err_fn, err_arg, ERR_ABRT); - 8007bae: 68fb ldr r3, [r7, #12] - 8007bb0: 2b00 cmp r3, #0 - 8007bb2: d004 beq.n 8007bbe - 8007bb4: 68fb ldr r3, [r7, #12] - 8007bb6: f06f 010c mvn.w r1, #12 - 8007bba: 68b8 ldr r0, [r7, #8] - 8007bbc: 4798 blx r3 + 8008532: 68fb ldr r3, [r7, #12] + 8008534: 2b00 cmp r3, #0 + 8008536: d004 beq.n 8008542 + 8008538: 68fb ldr r3, [r7, #12] + 800853a: f06f 010c mvn.w r1, #12 + 800853e: 68b8 ldr r0, [r7, #8] + 8008540: 4798 blx r3 if (tcp_active_pcbs_changed) { - 8007bbe: 4b2b ldr r3, [pc, #172] @ (8007c6c ) - 8007bc0: 781b ldrb r3, [r3, #0] - 8007bc2: 2b00 cmp r3, #0 - 8007bc4: d037 beq.n 8007c36 + 8008542: 4b2b ldr r3, [pc, #172] @ (80085f0 ) + 8008544: 781b ldrb r3, [r3, #0] + 8008546: 2b00 cmp r3, #0 + 8008548: d037 beq.n 80085ba goto tcp_slowtmr_start; - 8007bc6: e590 b.n 80076ea + 800854a: e590 b.n 800806e prev = pcb; - 8007bc8: 6afb ldr r3, [r7, #44] @ 0x2c - 8007bca: 62bb str r3, [r7, #40] @ 0x28 + 800854c: 6afb ldr r3, [r7, #44] @ 0x2c + 800854e: 62bb str r3, [r7, #40] @ 0x28 pcb = pcb->next; - 8007bcc: 6afb ldr r3, [r7, #44] @ 0x2c - 8007bce: 68db ldr r3, [r3, #12] - 8007bd0: 62fb str r3, [r7, #44] @ 0x2c + 8008550: 6afb ldr r3, [r7, #44] @ 0x2c + 8008552: 68db ldr r3, [r3, #12] + 8008554: 62fb str r3, [r7, #44] @ 0x2c ++prev->polltmr; - 8007bd2: 6abb ldr r3, [r7, #40] @ 0x28 - 8007bd4: 7f1b ldrb r3, [r3, #28] - 8007bd6: 3301 adds r3, #1 - 8007bd8: b2da uxtb r2, r3 - 8007bda: 6abb ldr r3, [r7, #40] @ 0x28 - 8007bdc: 771a strb r2, [r3, #28] + 8008556: 6abb ldr r3, [r7, #40] @ 0x28 + 8008558: 7f1b ldrb r3, [r3, #28] + 800855a: 3301 adds r3, #1 + 800855c: b2da uxtb r2, r3 + 800855e: 6abb ldr r3, [r7, #40] @ 0x28 + 8008560: 771a strb r2, [r3, #28] if (prev->polltmr >= prev->pollinterval) { - 8007bde: 6abb ldr r3, [r7, #40] @ 0x28 - 8007be0: 7f1a ldrb r2, [r3, #28] - 8007be2: 6abb ldr r3, [r7, #40] @ 0x28 - 8007be4: 7f5b ldrb r3, [r3, #29] - 8007be6: 429a cmp r2, r3 - 8007be8: d325 bcc.n 8007c36 + 8008562: 6abb ldr r3, [r7, #40] @ 0x28 + 8008564: 7f1a ldrb r2, [r3, #28] + 8008566: 6abb ldr r3, [r7, #40] @ 0x28 + 8008568: 7f5b ldrb r3, [r3, #29] + 800856a: 429a cmp r2, r3 + 800856c: d325 bcc.n 80085ba prev->polltmr = 0; - 8007bea: 6abb ldr r3, [r7, #40] @ 0x28 - 8007bec: 2200 movs r2, #0 - 8007bee: 771a strb r2, [r3, #28] + 800856e: 6abb ldr r3, [r7, #40] @ 0x28 + 8008570: 2200 movs r2, #0 + 8008572: 771a strb r2, [r3, #28] tcp_active_pcbs_changed = 0; - 8007bf0: 4b1e ldr r3, [pc, #120] @ (8007c6c ) - 8007bf2: 2200 movs r2, #0 - 8007bf4: 701a strb r2, [r3, #0] + 8008574: 4b1e ldr r3, [pc, #120] @ (80085f0 ) + 8008576: 2200 movs r2, #0 + 8008578: 701a strb r2, [r3, #0] TCP_EVENT_POLL(prev, err); - 8007bf6: 6abb ldr r3, [r7, #40] @ 0x28 - 8007bf8: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c - 8007bfc: 2b00 cmp r3, #0 - 8007bfe: d00b beq.n 8007c18 - 8007c00: 6abb ldr r3, [r7, #40] @ 0x28 - 8007c02: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c - 8007c06: 6aba ldr r2, [r7, #40] @ 0x28 - 8007c08: 6912 ldr r2, [r2, #16] - 8007c0a: 6ab9 ldr r1, [r7, #40] @ 0x28 - 8007c0c: 4610 mov r0, r2 - 8007c0e: 4798 blx r3 - 8007c10: 4603 mov r3, r0 - 8007c12: f887 3025 strb.w r3, [r7, #37] @ 0x25 - 8007c16: e002 b.n 8007c1e - 8007c18: 2300 movs r3, #0 - 8007c1a: f887 3025 strb.w r3, [r7, #37] @ 0x25 + 800857a: 6abb ldr r3, [r7, #40] @ 0x28 + 800857c: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c + 8008580: 2b00 cmp r3, #0 + 8008582: d00b beq.n 800859c + 8008584: 6abb ldr r3, [r7, #40] @ 0x28 + 8008586: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c + 800858a: 6aba ldr r2, [r7, #40] @ 0x28 + 800858c: 6912 ldr r2, [r2, #16] + 800858e: 6ab9 ldr r1, [r7, #40] @ 0x28 + 8008590: 4610 mov r0, r2 + 8008592: 4798 blx r3 + 8008594: 4603 mov r3, r0 + 8008596: f887 3025 strb.w r3, [r7, #37] @ 0x25 + 800859a: e002 b.n 80085a2 + 800859c: 2300 movs r3, #0 + 800859e: f887 3025 strb.w r3, [r7, #37] @ 0x25 if (tcp_active_pcbs_changed) { - 8007c1e: 4b13 ldr r3, [pc, #76] @ (8007c6c ) - 8007c20: 781b ldrb r3, [r3, #0] - 8007c22: 2b00 cmp r3, #0 - 8007c24: f47f ad60 bne.w 80076e8 + 80085a2: 4b13 ldr r3, [pc, #76] @ (80085f0 ) + 80085a4: 781b ldrb r3, [r3, #0] + 80085a6: 2b00 cmp r3, #0 + 80085a8: f47f ad60 bne.w 800806c } /* if err == ERR_ABRT, 'prev' is already deallocated */ if (err == ERR_OK) { - 8007c28: f997 3025 ldrsb.w r3, [r7, #37] @ 0x25 - 8007c2c: 2b00 cmp r3, #0 - 8007c2e: d102 bne.n 8007c36 + 80085ac: f997 3025 ldrsb.w r3, [r7, #37] @ 0x25 + 80085b0: 2b00 cmp r3, #0 + 80085b2: d102 bne.n 80085ba tcp_output(prev); - 8007c30: 6ab8 ldr r0, [r7, #40] @ 0x28 - 8007c32: f003 fb79 bl 800b328 + 80085b4: 6ab8 ldr r0, [r7, #40] @ 0x28 + 80085b6: f003 fb79 bl 800bcac while (pcb != NULL) { - 8007c36: 6afb ldr r3, [r7, #44] @ 0x2c - 8007c38: 2b00 cmp r3, #0 - 8007c3a: f47f ad5c bne.w 80076f6 + 80085ba: 6afb ldr r3, [r7, #44] @ 0x2c + 80085bc: 2b00 cmp r3, #0 + 80085be: f47f ad5c bne.w 800807a } } /* Steps through all of the TIME-WAIT PCBs. */ prev = NULL; - 8007c3e: 2300 movs r3, #0 - 8007c40: 62bb str r3, [r7, #40] @ 0x28 + 80085c2: 2300 movs r3, #0 + 80085c4: 62bb str r3, [r7, #40] @ 0x28 pcb = tcp_tw_pcbs; - 8007c42: 4b0b ldr r3, [pc, #44] @ (8007c70 ) - 8007c44: 681b ldr r3, [r3, #0] - 8007c46: 62fb str r3, [r7, #44] @ 0x2c + 80085c6: 4b0b ldr r3, [pc, #44] @ (80085f4 ) + 80085c8: 681b ldr r3, [r3, #0] + 80085ca: 62fb str r3, [r7, #44] @ 0x2c while (pcb != NULL) { - 8007c48: e067 b.n 8007d1a - 8007c4a: bf00 nop - 8007c4c: 200190a4 .word 0x200190a4 - 8007c50: 10624dd3 .word 0x10624dd3 - 8007c54: 000124f8 .word 0x000124f8 - 8007c58: 200190b0 .word 0x200190b0 - 8007c5c: 08016ab4 .word 0x08016ab4 - 8007c60: 08016eec .word 0x08016eec - 8007c64: 08016af8 .word 0x08016af8 - 8007c68: 08016f18 .word 0x08016f18 - 8007c6c: 200190b8 .word 0x200190b8 - 8007c70: 200190b4 .word 0x200190b4 + 80085cc: e067 b.n 800869e + 80085ce: bf00 nop + 80085d0: 200190d8 .word 0x200190d8 + 80085d4: 10624dd3 .word 0x10624dd3 + 80085d8: 000124f8 .word 0x000124f8 + 80085dc: 200190e4 .word 0x200190e4 + 80085e0: 08017434 .word 0x08017434 + 80085e4: 0801786c .word 0x0801786c + 80085e8: 08017478 .word 0x08017478 + 80085ec: 08017898 .word 0x08017898 + 80085f0: 200190ec .word 0x200190ec + 80085f4: 200190e8 .word 0x200190e8 LWIP_ASSERT("tcp_slowtmr: TIME-WAIT pcb->state == TIME-WAIT", pcb->state == TIME_WAIT); - 8007c74: 6afb ldr r3, [r7, #44] @ 0x2c - 8007c76: 7d1b ldrb r3, [r3, #20] - 8007c78: 2b0a cmp r3, #10 - 8007c7a: d006 beq.n 8007c8a - 8007c7c: 4b2b ldr r3, [pc, #172] @ (8007d2c ) - 8007c7e: f240 52a1 movw r2, #1441 @ 0x5a1 - 8007c82: 492b ldr r1, [pc, #172] @ (8007d30 ) - 8007c84: 482b ldr r0, [pc, #172] @ (8007d34 ) - 8007c86: f009 fcb7 bl 80115f8 + 80085f8: 6afb ldr r3, [r7, #44] @ 0x2c + 80085fa: 7d1b ldrb r3, [r3, #20] + 80085fc: 2b0a cmp r3, #10 + 80085fe: d006 beq.n 800860e + 8008600: 4b2b ldr r3, [pc, #172] @ (80086b0 ) + 8008602: f240 52a1 movw r2, #1441 @ 0x5a1 + 8008606: 492b ldr r1, [pc, #172] @ (80086b4 ) + 8008608: 482b ldr r0, [pc, #172] @ (80086b8 ) + 800860a: f009 fcb7 bl 8011f7c pcb_remove = 0; - 8007c8a: 2300 movs r3, #0 - 8007c8c: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 800860e: 2300 movs r3, #0 + 8008610: f887 3027 strb.w r3, [r7, #39] @ 0x27 /* Check if this PCB has stayed long enough in TIME-WAIT */ if ((u32_t)(tcp_ticks - pcb->tmr) > 2 * TCP_MSL / TCP_SLOW_INTERVAL) { - 8007c90: 4b29 ldr r3, [pc, #164] @ (8007d38 ) - 8007c92: 681a ldr r2, [r3, #0] - 8007c94: 6afb ldr r3, [r7, #44] @ 0x2c - 8007c96: 6a1b ldr r3, [r3, #32] - 8007c98: 1ad3 subs r3, r2, r3 - 8007c9a: 2bf0 cmp r3, #240 @ 0xf0 - 8007c9c: d904 bls.n 8007ca8 + 8008614: 4b29 ldr r3, [pc, #164] @ (80086bc ) + 8008616: 681a ldr r2, [r3, #0] + 8008618: 6afb ldr r3, [r7, #44] @ 0x2c + 800861a: 6a1b ldr r3, [r3, #32] + 800861c: 1ad3 subs r3, r2, r3 + 800861e: 2bf0 cmp r3, #240 @ 0xf0 + 8008620: d904 bls.n 800862c ++pcb_remove; - 8007c9e: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 8007ca2: 3301 adds r3, #1 - 8007ca4: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 8008622: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 8008626: 3301 adds r3, #1 + 8008628: f887 3027 strb.w r3, [r7, #39] @ 0x27 } /* If the PCB should be removed, do it. */ if (pcb_remove) { - 8007ca8: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 8007cac: 2b00 cmp r3, #0 - 8007cae: d02f beq.n 8007d10 + 800862c: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 8008630: 2b00 cmp r3, #0 + 8008632: d02f beq.n 8008694 struct tcp_pcb *pcb2; tcp_pcb_purge(pcb); - 8007cb0: 6af8 ldr r0, [r7, #44] @ 0x2c - 8007cb2: f000 fb2b bl 800830c + 8008634: 6af8 ldr r0, [r7, #44] @ 0x2c + 8008636: f000 fb2b bl 8008c90 /* Remove PCB from tcp_tw_pcbs list. */ if (prev != NULL) { - 8007cb6: 6abb ldr r3, [r7, #40] @ 0x28 - 8007cb8: 2b00 cmp r3, #0 - 8007cba: d010 beq.n 8007cde + 800863a: 6abb ldr r3, [r7, #40] @ 0x28 + 800863c: 2b00 cmp r3, #0 + 800863e: d010 beq.n 8008662 LWIP_ASSERT("tcp_slowtmr: middle tcp != tcp_tw_pcbs", pcb != tcp_tw_pcbs); - 8007cbc: 4b1f ldr r3, [pc, #124] @ (8007d3c ) - 8007cbe: 681b ldr r3, [r3, #0] - 8007cc0: 6afa ldr r2, [r7, #44] @ 0x2c - 8007cc2: 429a cmp r2, r3 - 8007cc4: d106 bne.n 8007cd4 - 8007cc6: 4b19 ldr r3, [pc, #100] @ (8007d2c ) - 8007cc8: f240 52af movw r2, #1455 @ 0x5af - 8007ccc: 491c ldr r1, [pc, #112] @ (8007d40 ) - 8007cce: 4819 ldr r0, [pc, #100] @ (8007d34 ) - 8007cd0: f009 fc92 bl 80115f8 + 8008640: 4b1f ldr r3, [pc, #124] @ (80086c0 ) + 8008642: 681b ldr r3, [r3, #0] + 8008644: 6afa ldr r2, [r7, #44] @ 0x2c + 8008646: 429a cmp r2, r3 + 8008648: d106 bne.n 8008658 + 800864a: 4b19 ldr r3, [pc, #100] @ (80086b0 ) + 800864c: f240 52af movw r2, #1455 @ 0x5af + 8008650: 491c ldr r1, [pc, #112] @ (80086c4 ) + 8008652: 4819 ldr r0, [pc, #100] @ (80086b8 ) + 8008654: f009 fc92 bl 8011f7c prev->next = pcb->next; - 8007cd4: 6afb ldr r3, [r7, #44] @ 0x2c - 8007cd6: 68da ldr r2, [r3, #12] - 8007cd8: 6abb ldr r3, [r7, #40] @ 0x28 - 8007cda: 60da str r2, [r3, #12] - 8007cdc: e00f b.n 8007cfe + 8008658: 6afb ldr r3, [r7, #44] @ 0x2c + 800865a: 68da ldr r2, [r3, #12] + 800865c: 6abb ldr r3, [r7, #40] @ 0x28 + 800865e: 60da str r2, [r3, #12] + 8008660: e00f b.n 8008682 } else { /* This PCB was the first. */ LWIP_ASSERT("tcp_slowtmr: first pcb == tcp_tw_pcbs", tcp_tw_pcbs == pcb); - 8007cde: 4b17 ldr r3, [pc, #92] @ (8007d3c ) - 8007ce0: 681b ldr r3, [r3, #0] - 8007ce2: 6afa ldr r2, [r7, #44] @ 0x2c - 8007ce4: 429a cmp r2, r3 - 8007ce6: d006 beq.n 8007cf6 - 8007ce8: 4b10 ldr r3, [pc, #64] @ (8007d2c ) - 8007cea: f240 52b3 movw r2, #1459 @ 0x5b3 - 8007cee: 4915 ldr r1, [pc, #84] @ (8007d44 ) - 8007cf0: 4810 ldr r0, [pc, #64] @ (8007d34 ) - 8007cf2: f009 fc81 bl 80115f8 + 8008662: 4b17 ldr r3, [pc, #92] @ (80086c0 ) + 8008664: 681b ldr r3, [r3, #0] + 8008666: 6afa ldr r2, [r7, #44] @ 0x2c + 8008668: 429a cmp r2, r3 + 800866a: d006 beq.n 800867a + 800866c: 4b10 ldr r3, [pc, #64] @ (80086b0 ) + 800866e: f240 52b3 movw r2, #1459 @ 0x5b3 + 8008672: 4915 ldr r1, [pc, #84] @ (80086c8 ) + 8008674: 4810 ldr r0, [pc, #64] @ (80086b8 ) + 8008676: f009 fc81 bl 8011f7c tcp_tw_pcbs = pcb->next; - 8007cf6: 6afb ldr r3, [r7, #44] @ 0x2c - 8007cf8: 68db ldr r3, [r3, #12] - 8007cfa: 4a10 ldr r2, [pc, #64] @ (8007d3c ) - 8007cfc: 6013 str r3, [r2, #0] + 800867a: 6afb ldr r3, [r7, #44] @ 0x2c + 800867c: 68db ldr r3, [r3, #12] + 800867e: 4a10 ldr r2, [pc, #64] @ (80086c0 ) + 8008680: 6013 str r3, [r2, #0] } pcb2 = pcb; - 8007cfe: 6afb ldr r3, [r7, #44] @ 0x2c - 8007d00: 61fb str r3, [r7, #28] + 8008682: 6afb ldr r3, [r7, #44] @ 0x2c + 8008684: 61fb str r3, [r7, #28] pcb = pcb->next; - 8007d02: 6afb ldr r3, [r7, #44] @ 0x2c - 8007d04: 68db ldr r3, [r3, #12] - 8007d06: 62fb str r3, [r7, #44] @ 0x2c + 8008686: 6afb ldr r3, [r7, #44] @ 0x2c + 8008688: 68db ldr r3, [r3, #12] + 800868a: 62fb str r3, [r7, #44] @ 0x2c tcp_free(pcb2); - 8007d08: 69f8 ldr r0, [r7, #28] - 8007d0a: f7ff f93d bl 8006f88 - 8007d0e: e004 b.n 8007d1a + 800868c: 69f8 ldr r0, [r7, #28] + 800868e: f7ff f93d bl 800790c + 8008692: e004 b.n 800869e } else { prev = pcb; - 8007d10: 6afb ldr r3, [r7, #44] @ 0x2c - 8007d12: 62bb str r3, [r7, #40] @ 0x28 + 8008694: 6afb ldr r3, [r7, #44] @ 0x2c + 8008696: 62bb str r3, [r7, #40] @ 0x28 pcb = pcb->next; - 8007d14: 6afb ldr r3, [r7, #44] @ 0x2c - 8007d16: 68db ldr r3, [r3, #12] - 8007d18: 62fb str r3, [r7, #44] @ 0x2c + 8008698: 6afb ldr r3, [r7, #44] @ 0x2c + 800869a: 68db ldr r3, [r3, #12] + 800869c: 62fb str r3, [r7, #44] @ 0x2c while (pcb != NULL) { - 8007d1a: 6afb ldr r3, [r7, #44] @ 0x2c - 8007d1c: 2b00 cmp r3, #0 - 8007d1e: d1a9 bne.n 8007c74 + 800869e: 6afb ldr r3, [r7, #44] @ 0x2c + 80086a0: 2b00 cmp r3, #0 + 80086a2: d1a9 bne.n 80085f8 } } } - 8007d20: bf00 nop - 8007d22: bf00 nop - 8007d24: 3730 adds r7, #48 @ 0x30 - 8007d26: 46bd mov sp, r7 - 8007d28: bdb0 pop {r4, r5, r7, pc} - 8007d2a: bf00 nop - 8007d2c: 08016ab4 .word 0x08016ab4 - 8007d30: 08016f44 .word 0x08016f44 - 8007d34: 08016af8 .word 0x08016af8 - 8007d38: 200190a4 .word 0x200190a4 - 8007d3c: 200190b4 .word 0x200190b4 - 8007d40: 08016f74 .word 0x08016f74 - 8007d44: 08016f9c .word 0x08016f9c + 80086a4: bf00 nop + 80086a6: bf00 nop + 80086a8: 3730 adds r7, #48 @ 0x30 + 80086aa: 46bd mov sp, r7 + 80086ac: bdb0 pop {r4, r5, r7, pc} + 80086ae: bf00 nop + 80086b0: 08017434 .word 0x08017434 + 80086b4: 080178c4 .word 0x080178c4 + 80086b8: 08017478 .word 0x08017478 + 80086bc: 200190d8 .word 0x200190d8 + 80086c0: 200190e8 .word 0x200190e8 + 80086c4: 080178f4 .word 0x080178f4 + 80086c8: 0801791c .word 0x0801791c -08007d48 : +080086cc : * * Automatically called from tcp_tmr(). */ void tcp_fasttmr(void) { - 8007d48: b580 push {r7, lr} - 8007d4a: b082 sub sp, #8 - 8007d4c: af00 add r7, sp, #0 + 80086cc: b580 push {r7, lr} + 80086ce: b082 sub sp, #8 + 80086d0: af00 add r7, sp, #0 struct tcp_pcb *pcb; ++tcp_timer_ctr; - 8007d4e: 4b2d ldr r3, [pc, #180] @ (8007e04 ) - 8007d50: 781b ldrb r3, [r3, #0] - 8007d52: 3301 adds r3, #1 - 8007d54: b2da uxtb r2, r3 - 8007d56: 4b2b ldr r3, [pc, #172] @ (8007e04 ) - 8007d58: 701a strb r2, [r3, #0] + 80086d2: 4b2d ldr r3, [pc, #180] @ (8008788 ) + 80086d4: 781b ldrb r3, [r3, #0] + 80086d6: 3301 adds r3, #1 + 80086d8: b2da uxtb r2, r3 + 80086da: 4b2b ldr r3, [pc, #172] @ (8008788 ) + 80086dc: 701a strb r2, [r3, #0] tcp_fasttmr_start: pcb = tcp_active_pcbs; - 8007d5a: 4b2b ldr r3, [pc, #172] @ (8007e08 ) - 8007d5c: 681b ldr r3, [r3, #0] - 8007d5e: 607b str r3, [r7, #4] + 80086de: 4b2b ldr r3, [pc, #172] @ (800878c ) + 80086e0: 681b ldr r3, [r3, #0] + 80086e2: 607b str r3, [r7, #4] while (pcb != NULL) { - 8007d60: e048 b.n 8007df4 + 80086e4: e048 b.n 8008778 if (pcb->last_timer != tcp_timer_ctr) { - 8007d62: 687b ldr r3, [r7, #4] - 8007d64: 7f9a ldrb r2, [r3, #30] - 8007d66: 4b27 ldr r3, [pc, #156] @ (8007e04 ) - 8007d68: 781b ldrb r3, [r3, #0] - 8007d6a: 429a cmp r2, r3 - 8007d6c: d03f beq.n 8007dee + 80086e6: 687b ldr r3, [r7, #4] + 80086e8: 7f9a ldrb r2, [r3, #30] + 80086ea: 4b27 ldr r3, [pc, #156] @ (8008788 ) + 80086ec: 781b ldrb r3, [r3, #0] + 80086ee: 429a cmp r2, r3 + 80086f0: d03f beq.n 8008772 struct tcp_pcb *next; pcb->last_timer = tcp_timer_ctr; - 8007d6e: 4b25 ldr r3, [pc, #148] @ (8007e04 ) - 8007d70: 781a ldrb r2, [r3, #0] - 8007d72: 687b ldr r3, [r7, #4] - 8007d74: 779a strb r2, [r3, #30] + 80086f2: 4b25 ldr r3, [pc, #148] @ (8008788 ) + 80086f4: 781a ldrb r2, [r3, #0] + 80086f6: 687b ldr r3, [r7, #4] + 80086f8: 779a strb r2, [r3, #30] /* send delayed ACKs */ if (pcb->flags & TF_ACK_DELAY) { - 8007d76: 687b ldr r3, [r7, #4] - 8007d78: 8b5b ldrh r3, [r3, #26] - 8007d7a: f003 0301 and.w r3, r3, #1 - 8007d7e: 2b00 cmp r3, #0 - 8007d80: d010 beq.n 8007da4 + 80086fa: 687b ldr r3, [r7, #4] + 80086fc: 8b5b ldrh r3, [r3, #26] + 80086fe: f003 0301 and.w r3, r3, #1 + 8008702: 2b00 cmp r3, #0 + 8008704: d010 beq.n 8008728 LWIP_DEBUGF(TCP_DEBUG, ("tcp_fasttmr: delayed ACK\n")); tcp_ack_now(pcb); - 8007d82: 687b ldr r3, [r7, #4] - 8007d84: 8b5b ldrh r3, [r3, #26] - 8007d86: f043 0302 orr.w r3, r3, #2 - 8007d8a: b29a uxth r2, r3 - 8007d8c: 687b ldr r3, [r7, #4] - 8007d8e: 835a strh r2, [r3, #26] + 8008706: 687b ldr r3, [r7, #4] + 8008708: 8b5b ldrh r3, [r3, #26] + 800870a: f043 0302 orr.w r3, r3, #2 + 800870e: b29a uxth r2, r3 + 8008710: 687b ldr r3, [r7, #4] + 8008712: 835a strh r2, [r3, #26] tcp_output(pcb); - 8007d90: 6878 ldr r0, [r7, #4] - 8007d92: f003 fac9 bl 800b328 + 8008714: 6878 ldr r0, [r7, #4] + 8008716: f003 fac9 bl 800bcac tcp_clear_flags(pcb, TF_ACK_DELAY | TF_ACK_NOW); - 8007d96: 687b ldr r3, [r7, #4] - 8007d98: 8b5b ldrh r3, [r3, #26] - 8007d9a: f023 0303 bic.w r3, r3, #3 - 8007d9e: b29a uxth r2, r3 - 8007da0: 687b ldr r3, [r7, #4] - 8007da2: 835a strh r2, [r3, #26] + 800871a: 687b ldr r3, [r7, #4] + 800871c: 8b5b ldrh r3, [r3, #26] + 800871e: f023 0303 bic.w r3, r3, #3 + 8008722: b29a uxth r2, r3 + 8008724: 687b ldr r3, [r7, #4] + 8008726: 835a strh r2, [r3, #26] } /* send pending FIN */ if (pcb->flags & TF_CLOSEPEND) { - 8007da4: 687b ldr r3, [r7, #4] - 8007da6: 8b5b ldrh r3, [r3, #26] - 8007da8: f003 0308 and.w r3, r3, #8 - 8007dac: 2b00 cmp r3, #0 - 8007dae: d009 beq.n 8007dc4 + 8008728: 687b ldr r3, [r7, #4] + 800872a: 8b5b ldrh r3, [r3, #26] + 800872c: f003 0308 and.w r3, r3, #8 + 8008730: 2b00 cmp r3, #0 + 8008732: d009 beq.n 8008748 LWIP_DEBUGF(TCP_DEBUG, ("tcp_fasttmr: pending FIN\n")); tcp_clear_flags(pcb, TF_CLOSEPEND); - 8007db0: 687b ldr r3, [r7, #4] - 8007db2: 8b5b ldrh r3, [r3, #26] - 8007db4: f023 0308 bic.w r3, r3, #8 - 8007db8: b29a uxth r2, r3 - 8007dba: 687b ldr r3, [r7, #4] - 8007dbc: 835a strh r2, [r3, #26] + 8008734: 687b ldr r3, [r7, #4] + 8008736: 8b5b ldrh r3, [r3, #26] + 8008738: f023 0308 bic.w r3, r3, #8 + 800873c: b29a uxth r2, r3 + 800873e: 687b ldr r3, [r7, #4] + 8008740: 835a strh r2, [r3, #26] tcp_close_shutdown_fin(pcb); - 8007dbe: 6878 ldr r0, [r7, #4] - 8007dc0: f7ff fa76 bl 80072b0 + 8008742: 6878 ldr r0, [r7, #4] + 8008744: f7ff fa76 bl 8007c34 } next = pcb->next; - 8007dc4: 687b ldr r3, [r7, #4] - 8007dc6: 68db ldr r3, [r3, #12] - 8007dc8: 603b str r3, [r7, #0] + 8008748: 687b ldr r3, [r7, #4] + 800874a: 68db ldr r3, [r3, #12] + 800874c: 603b str r3, [r7, #0] /* If there is data which was previously "refused" by upper layer */ if (pcb->refused_data != NULL) { - 8007dca: 687b ldr r3, [r7, #4] - 8007dcc: 6f9b ldr r3, [r3, #120] @ 0x78 - 8007dce: 2b00 cmp r3, #0 - 8007dd0: d00a beq.n 8007de8 + 800874e: 687b ldr r3, [r7, #4] + 8008750: 6f9b ldr r3, [r3, #120] @ 0x78 + 8008752: 2b00 cmp r3, #0 + 8008754: d00a beq.n 800876c tcp_active_pcbs_changed = 0; - 8007dd2: 4b0e ldr r3, [pc, #56] @ (8007e0c ) - 8007dd4: 2200 movs r2, #0 - 8007dd6: 701a strb r2, [r3, #0] + 8008756: 4b0e ldr r3, [pc, #56] @ (8008790 ) + 8008758: 2200 movs r2, #0 + 800875a: 701a strb r2, [r3, #0] tcp_process_refused_data(pcb); - 8007dd8: 6878 ldr r0, [r7, #4] - 8007dda: f000 f819 bl 8007e10 + 800875c: 6878 ldr r0, [r7, #4] + 800875e: f000 f819 bl 8008794 if (tcp_active_pcbs_changed) { - 8007dde: 4b0b ldr r3, [pc, #44] @ (8007e0c ) - 8007de0: 781b ldrb r3, [r3, #0] - 8007de2: 2b00 cmp r3, #0 - 8007de4: d000 beq.n 8007de8 + 8008762: 4b0b ldr r3, [pc, #44] @ (8008790 ) + 8008764: 781b ldrb r3, [r3, #0] + 8008766: 2b00 cmp r3, #0 + 8008768: d000 beq.n 800876c /* application callback has changed the pcb list: restart the loop */ goto tcp_fasttmr_start; - 8007de6: e7b8 b.n 8007d5a + 800876a: e7b8 b.n 80086de } } pcb = next; - 8007de8: 683b ldr r3, [r7, #0] - 8007dea: 607b str r3, [r7, #4] - 8007dec: e002 b.n 8007df4 + 800876c: 683b ldr r3, [r7, #0] + 800876e: 607b str r3, [r7, #4] + 8008770: e002 b.n 8008778 } else { pcb = pcb->next; - 8007dee: 687b ldr r3, [r7, #4] - 8007df0: 68db ldr r3, [r3, #12] - 8007df2: 607b str r3, [r7, #4] + 8008772: 687b ldr r3, [r7, #4] + 8008774: 68db ldr r3, [r3, #12] + 8008776: 607b str r3, [r7, #4] while (pcb != NULL) { - 8007df4: 687b ldr r3, [r7, #4] - 8007df6: 2b00 cmp r3, #0 - 8007df8: d1b3 bne.n 8007d62 + 8008778: 687b ldr r3, [r7, #4] + 800877a: 2b00 cmp r3, #0 + 800877c: d1b3 bne.n 80086e6 } } } - 8007dfa: bf00 nop - 8007dfc: bf00 nop - 8007dfe: 3708 adds r7, #8 - 8007e00: 46bd mov sp, r7 - 8007e02: bd80 pop {r7, pc} - 8007e04: 200190ba .word 0x200190ba - 8007e08: 200190b0 .word 0x200190b0 - 8007e0c: 200190b8 .word 0x200190b8 + 800877e: bf00 nop + 8008780: bf00 nop + 8008782: 3708 adds r7, #8 + 8008784: 46bd mov sp, r7 + 8008786: bd80 pop {r7, pc} + 8008788: 200190ee .word 0x200190ee + 800878c: 200190e4 .word 0x200190e4 + 8008790: 200190ec .word 0x200190ec -08007e10 : +08008794 : } /** Pass pcb->refused_data to the recv callback */ err_t tcp_process_refused_data(struct tcp_pcb *pcb) { - 8007e10: b590 push {r4, r7, lr} - 8007e12: b085 sub sp, #20 - 8007e14: af00 add r7, sp, #0 - 8007e16: 6078 str r0, [r7, #4] + 8008794: b590 push {r4, r7, lr} + 8008796: b085 sub sp, #20 + 8008798: af00 add r7, sp, #0 + 800879a: 6078 str r0, [r7, #4] #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE struct pbuf *rest; #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ LWIP_ERROR("tcp_process_refused_data: invalid pcb", pcb != NULL, return ERR_ARG); - 8007e18: 687b ldr r3, [r7, #4] - 8007e1a: 2b00 cmp r3, #0 - 8007e1c: d109 bne.n 8007e32 - 8007e1e: 4b37 ldr r3, [pc, #220] @ (8007efc ) - 8007e20: f240 6209 movw r2, #1545 @ 0x609 - 8007e24: 4936 ldr r1, [pc, #216] @ (8007f00 ) - 8007e26: 4837 ldr r0, [pc, #220] @ (8007f04 ) - 8007e28: f009 fbe6 bl 80115f8 - 8007e2c: f06f 030f mvn.w r3, #15 - 8007e30: e060 b.n 8007ef4 + 800879c: 687b ldr r3, [r7, #4] + 800879e: 2b00 cmp r3, #0 + 80087a0: d109 bne.n 80087b6 + 80087a2: 4b37 ldr r3, [pc, #220] @ (8008880 ) + 80087a4: f240 6209 movw r2, #1545 @ 0x609 + 80087a8: 4936 ldr r1, [pc, #216] @ (8008884 ) + 80087aa: 4837 ldr r0, [pc, #220] @ (8008888 ) + 80087ac: f009 fbe6 bl 8011f7c + 80087b0: f06f 030f mvn.w r3, #15 + 80087b4: e060 b.n 8008878 #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE while (pcb->refused_data != NULL) #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ { err_t err; u8_t refused_flags = pcb->refused_data->flags; - 8007e32: 687b ldr r3, [r7, #4] - 8007e34: 6f9b ldr r3, [r3, #120] @ 0x78 - 8007e36: 7b5b ldrb r3, [r3, #13] - 8007e38: 73bb strb r3, [r7, #14] + 80087b6: 687b ldr r3, [r7, #4] + 80087b8: 6f9b ldr r3, [r3, #120] @ 0x78 + 80087ba: 7b5b ldrb r3, [r3, #13] + 80087bc: 73bb strb r3, [r7, #14] /* set pcb->refused_data to NULL in case the callback frees it and then closes the pcb */ struct pbuf *refused_data = pcb->refused_data; - 8007e3a: 687b ldr r3, [r7, #4] - 8007e3c: 6f9b ldr r3, [r3, #120] @ 0x78 - 8007e3e: 60bb str r3, [r7, #8] + 80087be: 687b ldr r3, [r7, #4] + 80087c0: 6f9b ldr r3, [r3, #120] @ 0x78 + 80087c2: 60bb str r3, [r7, #8] #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE pbuf_split_64k(refused_data, &rest); pcb->refused_data = rest; #else /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ pcb->refused_data = NULL; - 8007e40: 687b ldr r3, [r7, #4] - 8007e42: 2200 movs r2, #0 - 8007e44: 679a str r2, [r3, #120] @ 0x78 + 80087c4: 687b ldr r3, [r7, #4] + 80087c6: 2200 movs r2, #0 + 80087c8: 679a str r2, [r3, #120] @ 0x78 #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ /* Notify again application with data previously received. */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: notify kept packet\n")); TCP_EVENT_RECV(pcb, refused_data, ERR_OK, err); - 8007e46: 687b ldr r3, [r7, #4] - 8007e48: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8007e4c: 2b00 cmp r3, #0 - 8007e4e: d00b beq.n 8007e68 - 8007e50: 687b ldr r3, [r7, #4] - 8007e52: f8d3 4084 ldr.w r4, [r3, #132] @ 0x84 - 8007e56: 687b ldr r3, [r7, #4] - 8007e58: 6918 ldr r0, [r3, #16] - 8007e5a: 2300 movs r3, #0 - 8007e5c: 68ba ldr r2, [r7, #8] - 8007e5e: 6879 ldr r1, [r7, #4] - 8007e60: 47a0 blx r4 - 8007e62: 4603 mov r3, r0 - 8007e64: 73fb strb r3, [r7, #15] - 8007e66: e007 b.n 8007e78 - 8007e68: 2300 movs r3, #0 - 8007e6a: 68ba ldr r2, [r7, #8] - 8007e6c: 6879 ldr r1, [r7, #4] - 8007e6e: 2000 movs r0, #0 - 8007e70: f000 f8a4 bl 8007fbc - 8007e74: 4603 mov r3, r0 - 8007e76: 73fb strb r3, [r7, #15] + 80087ca: 687b ldr r3, [r7, #4] + 80087cc: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 80087d0: 2b00 cmp r3, #0 + 80087d2: d00b beq.n 80087ec + 80087d4: 687b ldr r3, [r7, #4] + 80087d6: f8d3 4084 ldr.w r4, [r3, #132] @ 0x84 + 80087da: 687b ldr r3, [r7, #4] + 80087dc: 6918 ldr r0, [r3, #16] + 80087de: 2300 movs r3, #0 + 80087e0: 68ba ldr r2, [r7, #8] + 80087e2: 6879 ldr r1, [r7, #4] + 80087e4: 47a0 blx r4 + 80087e6: 4603 mov r3, r0 + 80087e8: 73fb strb r3, [r7, #15] + 80087ea: e007 b.n 80087fc + 80087ec: 2300 movs r3, #0 + 80087ee: 68ba ldr r2, [r7, #8] + 80087f0: 6879 ldr r1, [r7, #4] + 80087f2: 2000 movs r0, #0 + 80087f4: f000 f8a4 bl 8008940 + 80087f8: 4603 mov r3, r0 + 80087fa: 73fb strb r3, [r7, #15] if (err == ERR_OK) { - 8007e78: f997 300f ldrsb.w r3, [r7, #15] - 8007e7c: 2b00 cmp r3, #0 - 8007e7e: d12a bne.n 8007ed6 + 80087fc: f997 300f ldrsb.w r3, [r7, #15] + 8008800: 2b00 cmp r3, #0 + 8008802: d12a bne.n 800885a /* did refused_data include a FIN? */ if ((refused_flags & PBUF_FLAG_TCP_FIN) - 8007e80: 7bbb ldrb r3, [r7, #14] - 8007e82: f003 0320 and.w r3, r3, #32 - 8007e86: 2b00 cmp r3, #0 - 8007e88: d033 beq.n 8007ef2 + 8008804: 7bbb ldrb r3, [r7, #14] + 8008806: f003 0320 and.w r3, r3, #32 + 800880a: 2b00 cmp r3, #0 + 800880c: d033 beq.n 8008876 && (rest == NULL) #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ ) { /* correct rcv_wnd as the application won't call tcp_recved() for the FIN's seqno */ if (pcb->rcv_wnd != TCP_WND_MAX(pcb)) { - 8007e8a: 687b ldr r3, [r7, #4] - 8007e8c: 8d1b ldrh r3, [r3, #40] @ 0x28 - 8007e8e: f5b3 6f06 cmp.w r3, #2144 @ 0x860 - 8007e92: d005 beq.n 8007ea0 + 800880e: 687b ldr r3, [r7, #4] + 8008810: 8d1b ldrh r3, [r3, #40] @ 0x28 + 8008812: f5b3 6f06 cmp.w r3, #2144 @ 0x860 + 8008816: d005 beq.n 8008824 pcb->rcv_wnd++; - 8007e94: 687b ldr r3, [r7, #4] - 8007e96: 8d1b ldrh r3, [r3, #40] @ 0x28 - 8007e98: 3301 adds r3, #1 - 8007e9a: b29a uxth r2, r3 - 8007e9c: 687b ldr r3, [r7, #4] - 8007e9e: 851a strh r2, [r3, #40] @ 0x28 + 8008818: 687b ldr r3, [r7, #4] + 800881a: 8d1b ldrh r3, [r3, #40] @ 0x28 + 800881c: 3301 adds r3, #1 + 800881e: b29a uxth r2, r3 + 8008820: 687b ldr r3, [r7, #4] + 8008822: 851a strh r2, [r3, #40] @ 0x28 } TCP_EVENT_CLOSED(pcb, err); - 8007ea0: 687b ldr r3, [r7, #4] - 8007ea2: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8007ea6: 2b00 cmp r3, #0 - 8007ea8: d00b beq.n 8007ec2 - 8007eaa: 687b ldr r3, [r7, #4] - 8007eac: f8d3 4084 ldr.w r4, [r3, #132] @ 0x84 - 8007eb0: 687b ldr r3, [r7, #4] - 8007eb2: 6918 ldr r0, [r3, #16] - 8007eb4: 2300 movs r3, #0 - 8007eb6: 2200 movs r2, #0 - 8007eb8: 6879 ldr r1, [r7, #4] - 8007eba: 47a0 blx r4 - 8007ebc: 4603 mov r3, r0 - 8007ebe: 73fb strb r3, [r7, #15] - 8007ec0: e001 b.n 8007ec6 - 8007ec2: 2300 movs r3, #0 - 8007ec4: 73fb strb r3, [r7, #15] + 8008824: 687b ldr r3, [r7, #4] + 8008826: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 800882a: 2b00 cmp r3, #0 + 800882c: d00b beq.n 8008846 + 800882e: 687b ldr r3, [r7, #4] + 8008830: f8d3 4084 ldr.w r4, [r3, #132] @ 0x84 + 8008834: 687b ldr r3, [r7, #4] + 8008836: 6918 ldr r0, [r3, #16] + 8008838: 2300 movs r3, #0 + 800883a: 2200 movs r2, #0 + 800883c: 6879 ldr r1, [r7, #4] + 800883e: 47a0 blx r4 + 8008840: 4603 mov r3, r0 + 8008842: 73fb strb r3, [r7, #15] + 8008844: e001 b.n 800884a + 8008846: 2300 movs r3, #0 + 8008848: 73fb strb r3, [r7, #15] if (err == ERR_ABRT) { - 8007ec6: f997 300f ldrsb.w r3, [r7, #15] - 8007eca: f113 0f0d cmn.w r3, #13 - 8007ece: d110 bne.n 8007ef2 + 800884a: f997 300f ldrsb.w r3, [r7, #15] + 800884e: f113 0f0d cmn.w r3, #13 + 8008852: d110 bne.n 8008876 return ERR_ABRT; - 8007ed0: f06f 030c mvn.w r3, #12 - 8007ed4: e00e b.n 8007ef4 + 8008854: f06f 030c mvn.w r3, #12 + 8008858: e00e b.n 8008878 } } } else if (err == ERR_ABRT) { - 8007ed6: f997 300f ldrsb.w r3, [r7, #15] - 8007eda: f113 0f0d cmn.w r3, #13 - 8007ede: d102 bne.n 8007ee6 + 800885a: f997 300f ldrsb.w r3, [r7, #15] + 800885e: f113 0f0d cmn.w r3, #13 + 8008862: d102 bne.n 800886a /* if err == ERR_ABRT, 'pcb' is already deallocated */ /* Drop incoming packets because pcb is "full" (only if the incoming segment contains data). */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: drop incoming packets, because pcb is \"full\"\n")); return ERR_ABRT; - 8007ee0: f06f 030c mvn.w r3, #12 - 8007ee4: e006 b.n 8007ef4 + 8008864: f06f 030c mvn.w r3, #12 + 8008868: e006 b.n 8008878 #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE if (rest != NULL) { pbuf_cat(refused_data, rest); } #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ pcb->refused_data = refused_data; - 8007ee6: 687b ldr r3, [r7, #4] - 8007ee8: 68ba ldr r2, [r7, #8] - 8007eea: 679a str r2, [r3, #120] @ 0x78 + 800886a: 687b ldr r3, [r7, #4] + 800886c: 68ba ldr r2, [r7, #8] + 800886e: 679a str r2, [r3, #120] @ 0x78 return ERR_INPROGRESS; - 8007eec: f06f 0304 mvn.w r3, #4 - 8007ef0: e000 b.n 8007ef4 + 8008870: f06f 0304 mvn.w r3, #4 + 8008874: e000 b.n 8008878 } } return ERR_OK; - 8007ef2: 2300 movs r3, #0 + 8008876: 2300 movs r3, #0 } - 8007ef4: 4618 mov r0, r3 - 8007ef6: 3714 adds r7, #20 - 8007ef8: 46bd mov sp, r7 - 8007efa: bd90 pop {r4, r7, pc} - 8007efc: 08016ab4 .word 0x08016ab4 - 8007f00: 08016fc4 .word 0x08016fc4 - 8007f04: 08016af8 .word 0x08016af8 + 8008878: 4618 mov r0, r3 + 800887a: 3714 adds r7, #20 + 800887c: 46bd mov sp, r7 + 800887e: bd90 pop {r4, r7, pc} + 8008880: 08017434 .word 0x08017434 + 8008884: 08017944 .word 0x08017944 + 8008888: 08017478 .word 0x08017478 -08007f08 : +0800888c : * * @param seg tcp_seg list of TCP segments to free */ void tcp_segs_free(struct tcp_seg *seg) { - 8007f08: b580 push {r7, lr} - 8007f0a: b084 sub sp, #16 - 8007f0c: af00 add r7, sp, #0 - 8007f0e: 6078 str r0, [r7, #4] + 800888c: b580 push {r7, lr} + 800888e: b084 sub sp, #16 + 8008890: af00 add r7, sp, #0 + 8008892: 6078 str r0, [r7, #4] while (seg != NULL) { - 8007f10: e007 b.n 8007f22 + 8008894: e007 b.n 80088a6 struct tcp_seg *next = seg->next; - 8007f12: 687b ldr r3, [r7, #4] - 8007f14: 681b ldr r3, [r3, #0] - 8007f16: 60fb str r3, [r7, #12] + 8008896: 687b ldr r3, [r7, #4] + 8008898: 681b ldr r3, [r3, #0] + 800889a: 60fb str r3, [r7, #12] tcp_seg_free(seg); - 8007f18: 6878 ldr r0, [r7, #4] - 8007f1a: f000 f80a bl 8007f32 + 800889c: 6878 ldr r0, [r7, #4] + 800889e: f000 f80a bl 80088b6 seg = next; - 8007f1e: 68fb ldr r3, [r7, #12] - 8007f20: 607b str r3, [r7, #4] + 80088a2: 68fb ldr r3, [r7, #12] + 80088a4: 607b str r3, [r7, #4] while (seg != NULL) { - 8007f22: 687b ldr r3, [r7, #4] - 8007f24: 2b00 cmp r3, #0 - 8007f26: d1f4 bne.n 8007f12 + 80088a6: 687b ldr r3, [r7, #4] + 80088a8: 2b00 cmp r3, #0 + 80088aa: d1f4 bne.n 8008896 } } - 8007f28: bf00 nop - 8007f2a: bf00 nop - 8007f2c: 3710 adds r7, #16 - 8007f2e: 46bd mov sp, r7 - 8007f30: bd80 pop {r7, pc} + 80088ac: bf00 nop + 80088ae: bf00 nop + 80088b0: 3710 adds r7, #16 + 80088b2: 46bd mov sp, r7 + 80088b4: bd80 pop {r7, pc} -08007f32 : +080088b6 : * * @param seg single tcp_seg to free */ void tcp_seg_free(struct tcp_seg *seg) { - 8007f32: b580 push {r7, lr} - 8007f34: b082 sub sp, #8 - 8007f36: af00 add r7, sp, #0 - 8007f38: 6078 str r0, [r7, #4] + 80088b6: b580 push {r7, lr} + 80088b8: b082 sub sp, #8 + 80088ba: af00 add r7, sp, #0 + 80088bc: 6078 str r0, [r7, #4] if (seg != NULL) { - 8007f3a: 687b ldr r3, [r7, #4] - 8007f3c: 2b00 cmp r3, #0 - 8007f3e: d00c beq.n 8007f5a + 80088be: 687b ldr r3, [r7, #4] + 80088c0: 2b00 cmp r3, #0 + 80088c2: d00c beq.n 80088de if (seg->p != NULL) { - 8007f40: 687b ldr r3, [r7, #4] - 8007f42: 685b ldr r3, [r3, #4] - 8007f44: 2b00 cmp r3, #0 - 8007f46: d004 beq.n 8007f52 + 80088c4: 687b ldr r3, [r7, #4] + 80088c6: 685b ldr r3, [r3, #4] + 80088c8: 2b00 cmp r3, #0 + 80088ca: d004 beq.n 80088d6 pbuf_free(seg->p); - 8007f48: 687b ldr r3, [r7, #4] - 8007f4a: 685b ldr r3, [r3, #4] - 8007f4c: 4618 mov r0, r3 - 8007f4e: f7fe fd6b bl 8006a28 + 80088cc: 687b ldr r3, [r7, #4] + 80088ce: 685b ldr r3, [r3, #4] + 80088d0: 4618 mov r0, r3 + 80088d2: f7fe fd6b bl 80073ac #if TCP_DEBUG seg->p = NULL; #endif /* TCP_DEBUG */ } memp_free(MEMP_TCP_SEG, seg); - 8007f52: 6879 ldr r1, [r7, #4] - 8007f54: 2003 movs r0, #3 - 8007f56: f7fd fee7 bl 8005d28 + 80088d6: 6879 ldr r1, [r7, #4] + 80088d8: 2003 movs r0, #3 + 80088da: f7fd fee7 bl 80066ac } } - 8007f5a: bf00 nop - 8007f5c: 3708 adds r7, #8 - 8007f5e: 46bd mov sp, r7 - 8007f60: bd80 pop {r7, pc} + 80088de: bf00 nop + 80088e0: 3708 adds r7, #8 + 80088e2: 46bd mov sp, r7 + 80088e4: bd80 pop {r7, pc} ... -08007f64 : +080088e8 : * @param seg the old tcp_seg * @return a copy of seg */ struct tcp_seg * tcp_seg_copy(struct tcp_seg *seg) { - 8007f64: b580 push {r7, lr} - 8007f66: b084 sub sp, #16 - 8007f68: af00 add r7, sp, #0 - 8007f6a: 6078 str r0, [r7, #4] + 80088e8: b580 push {r7, lr} + 80088ea: b084 sub sp, #16 + 80088ec: af00 add r7, sp, #0 + 80088ee: 6078 str r0, [r7, #4] struct tcp_seg *cseg; LWIP_ASSERT("tcp_seg_copy: invalid seg", seg != NULL); - 8007f6c: 687b ldr r3, [r7, #4] - 8007f6e: 2b00 cmp r3, #0 - 8007f70: d106 bne.n 8007f80 - 8007f72: 4b0f ldr r3, [pc, #60] @ (8007fb0 ) - 8007f74: f240 6282 movw r2, #1666 @ 0x682 - 8007f78: 490e ldr r1, [pc, #56] @ (8007fb4 ) - 8007f7a: 480f ldr r0, [pc, #60] @ (8007fb8 ) - 8007f7c: f009 fb3c bl 80115f8 + 80088f0: 687b ldr r3, [r7, #4] + 80088f2: 2b00 cmp r3, #0 + 80088f4: d106 bne.n 8008904 + 80088f6: 4b0f ldr r3, [pc, #60] @ (8008934 ) + 80088f8: f240 6282 movw r2, #1666 @ 0x682 + 80088fc: 490e ldr r1, [pc, #56] @ (8008938 ) + 80088fe: 480f ldr r0, [pc, #60] @ (800893c ) + 8008900: f009 fb3c bl 8011f7c cseg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG); - 8007f80: 2003 movs r0, #3 - 8007f82: f7fd fe61 bl 8005c48 - 8007f86: 60f8 str r0, [r7, #12] + 8008904: 2003 movs r0, #3 + 8008906: f7fd fe61 bl 80065cc + 800890a: 60f8 str r0, [r7, #12] if (cseg == NULL) { - 8007f88: 68fb ldr r3, [r7, #12] - 8007f8a: 2b00 cmp r3, #0 - 8007f8c: d101 bne.n 8007f92 + 800890c: 68fb ldr r3, [r7, #12] + 800890e: 2b00 cmp r3, #0 + 8008910: d101 bne.n 8008916 return NULL; - 8007f8e: 2300 movs r3, #0 - 8007f90: e00a b.n 8007fa8 + 8008912: 2300 movs r3, #0 + 8008914: e00a b.n 800892c } SMEMCPY((u8_t *)cseg, (const u8_t *)seg, sizeof(struct tcp_seg)); - 8007f92: 2210 movs r2, #16 - 8007f94: 6879 ldr r1, [r7, #4] - 8007f96: 68f8 ldr r0, [r7, #12] - 8007f98: f009 fc2a bl 80117f0 + 8008916: 2210 movs r2, #16 + 8008918: 6879 ldr r1, [r7, #4] + 800891a: 68f8 ldr r0, [r7, #12] + 800891c: f009 fc2a bl 8012174 pbuf_ref(cseg->p); - 8007f9c: 68fb ldr r3, [r7, #12] - 8007f9e: 685b ldr r3, [r3, #4] - 8007fa0: 4618 mov r0, r3 - 8007fa2: f7fe fde1 bl 8006b68 + 8008920: 68fb ldr r3, [r7, #12] + 8008922: 685b ldr r3, [r3, #4] + 8008924: 4618 mov r0, r3 + 8008926: f7fe fde1 bl 80074ec return cseg; - 8007fa6: 68fb ldr r3, [r7, #12] + 800892a: 68fb ldr r3, [r7, #12] } - 8007fa8: 4618 mov r0, r3 - 8007faa: 3710 adds r7, #16 - 8007fac: 46bd mov sp, r7 - 8007fae: bd80 pop {r7, pc} - 8007fb0: 08016ab4 .word 0x08016ab4 - 8007fb4: 08017008 .word 0x08017008 - 8007fb8: 08016af8 .word 0x08016af8 + 800892c: 4618 mov r0, r3 + 800892e: 3710 adds r7, #16 + 8008930: 46bd mov sp, r7 + 8008932: bd80 pop {r7, pc} + 8008934: 08017434 .word 0x08017434 + 8008938: 08017988 .word 0x08017988 + 800893c: 08017478 .word 0x08017478 -08007fbc : +08008940 : * Default receive callback that is called if the user didn't register * a recv callback for the pcb. */ err_t tcp_recv_null(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err) { - 8007fbc: b580 push {r7, lr} - 8007fbe: b084 sub sp, #16 - 8007fc0: af00 add r7, sp, #0 - 8007fc2: 60f8 str r0, [r7, #12] - 8007fc4: 60b9 str r1, [r7, #8] - 8007fc6: 607a str r2, [r7, #4] - 8007fc8: 70fb strb r3, [r7, #3] + 8008940: b580 push {r7, lr} + 8008942: b084 sub sp, #16 + 8008944: af00 add r7, sp, #0 + 8008946: 60f8 str r0, [r7, #12] + 8008948: 60b9 str r1, [r7, #8] + 800894a: 607a str r2, [r7, #4] + 800894c: 70fb strb r3, [r7, #3] LWIP_UNUSED_ARG(arg); LWIP_ERROR("tcp_recv_null: invalid pcb", pcb != NULL, return ERR_ARG); - 8007fca: 68bb ldr r3, [r7, #8] - 8007fcc: 2b00 cmp r3, #0 - 8007fce: d109 bne.n 8007fe4 - 8007fd0: 4b12 ldr r3, [pc, #72] @ (800801c ) - 8007fd2: f44f 62d3 mov.w r2, #1688 @ 0x698 - 8007fd6: 4912 ldr r1, [pc, #72] @ (8008020 ) - 8007fd8: 4812 ldr r0, [pc, #72] @ (8008024 ) - 8007fda: f009 fb0d bl 80115f8 - 8007fde: f06f 030f mvn.w r3, #15 - 8007fe2: e016 b.n 8008012 + 800894e: 68bb ldr r3, [r7, #8] + 8008950: 2b00 cmp r3, #0 + 8008952: d109 bne.n 8008968 + 8008954: 4b12 ldr r3, [pc, #72] @ (80089a0 ) + 8008956: f44f 62d3 mov.w r2, #1688 @ 0x698 + 800895a: 4912 ldr r1, [pc, #72] @ (80089a4 ) + 800895c: 4812 ldr r0, [pc, #72] @ (80089a8 ) + 800895e: f009 fb0d bl 8011f7c + 8008962: f06f 030f mvn.w r3, #15 + 8008966: e016 b.n 8008996 if (p != NULL) { - 8007fe4: 687b ldr r3, [r7, #4] - 8007fe6: 2b00 cmp r3, #0 - 8007fe8: d009 beq.n 8007ffe + 8008968: 687b ldr r3, [r7, #4] + 800896a: 2b00 cmp r3, #0 + 800896c: d009 beq.n 8008982 tcp_recved(pcb, p->tot_len); - 8007fea: 687b ldr r3, [r7, #4] - 8007fec: 891b ldrh r3, [r3, #8] - 8007fee: 4619 mov r1, r3 - 8007ff0: 68b8 ldr r0, [r7, #8] - 8007ff2: f7ff fb17 bl 8007624 + 800896e: 687b ldr r3, [r7, #4] + 8008970: 891b ldrh r3, [r3, #8] + 8008972: 4619 mov r1, r3 + 8008974: 68b8 ldr r0, [r7, #8] + 8008976: f7ff fb17 bl 8007fa8 pbuf_free(p); - 8007ff6: 6878 ldr r0, [r7, #4] - 8007ff8: f7fe fd16 bl 8006a28 - 8007ffc: e008 b.n 8008010 + 800897a: 6878 ldr r0, [r7, #4] + 800897c: f7fe fd16 bl 80073ac + 8008980: e008 b.n 8008994 } else if (err == ERR_OK) { - 8007ffe: f997 3003 ldrsb.w r3, [r7, #3] - 8008002: 2b00 cmp r3, #0 - 8008004: d104 bne.n 8008010 + 8008982: f997 3003 ldrsb.w r3, [r7, #3] + 8008986: 2b00 cmp r3, #0 + 8008988: d104 bne.n 8008994 return tcp_close(pcb); - 8008006: 68b8 ldr r0, [r7, #8] - 8008008: f7ff f9bc bl 8007384 - 800800c: 4603 mov r3, r0 - 800800e: e000 b.n 8008012 + 800898a: 68b8 ldr r0, [r7, #8] + 800898c: f7ff f9bc bl 8007d08 + 8008990: 4603 mov r3, r0 + 8008992: e000 b.n 8008996 } return ERR_OK; - 8008010: 2300 movs r3, #0 + 8008994: 2300 movs r3, #0 } - 8008012: 4618 mov r0, r3 - 8008014: 3710 adds r7, #16 - 8008016: 46bd mov sp, r7 - 8008018: bd80 pop {r7, pc} - 800801a: bf00 nop - 800801c: 08016ab4 .word 0x08016ab4 - 8008020: 08017024 .word 0x08017024 - 8008024: 08016af8 .word 0x08016af8 + 8008996: 4618 mov r0, r3 + 8008998: 3710 adds r7, #16 + 800899a: 46bd mov sp, r7 + 800899c: bd80 pop {r7, pc} + 800899e: bf00 nop + 80089a0: 08017434 .word 0x08017434 + 80089a4: 080179a4 .word 0x080179a4 + 80089a8: 08017478 .word 0x08017478 -08008028 : +080089ac : * * @param prio minimum priority */ static void tcp_kill_prio(u8_t prio) { - 8008028: b580 push {r7, lr} - 800802a: b086 sub sp, #24 - 800802c: af00 add r7, sp, #0 - 800802e: 4603 mov r3, r0 - 8008030: 71fb strb r3, [r7, #7] + 80089ac: b580 push {r7, lr} + 80089ae: b086 sub sp, #24 + 80089b0: af00 add r7, sp, #0 + 80089b2: 4603 mov r3, r0 + 80089b4: 71fb strb r3, [r7, #7] struct tcp_pcb *pcb, *inactive; u32_t inactivity; u8_t mprio; mprio = LWIP_MIN(TCP_PRIO_MAX, prio); - 8008032: f997 3007 ldrsb.w r3, [r7, #7] - 8008036: 2b00 cmp r3, #0 - 8008038: db01 blt.n 800803e - 800803a: 79fb ldrb r3, [r7, #7] - 800803c: e000 b.n 8008040 - 800803e: 237f movs r3, #127 @ 0x7f - 8008040: 72fb strb r3, [r7, #11] + 80089b6: f997 3007 ldrsb.w r3, [r7, #7] + 80089ba: 2b00 cmp r3, #0 + 80089bc: db01 blt.n 80089c2 + 80089be: 79fb ldrb r3, [r7, #7] + 80089c0: e000 b.n 80089c4 + 80089c2: 237f movs r3, #127 @ 0x7f + 80089c4: 72fb strb r3, [r7, #11] /* We want to kill connections with a lower prio, so bail out if * supplied prio is 0 - there can never be a lower prio */ if (mprio == 0) { - 8008042: 7afb ldrb r3, [r7, #11] - 8008044: 2b00 cmp r3, #0 - 8008046: d034 beq.n 80080b2 + 80089c6: 7afb ldrb r3, [r7, #11] + 80089c8: 2b00 cmp r3, #0 + 80089ca: d034 beq.n 8008a36 /* We only want kill connections with a lower prio, so decrement prio by one * and start searching for oldest connection with same or lower priority than mprio. * We want to find the connections with the lowest possible prio, and among * these the one with the longest inactivity time. */ mprio--; - 8008048: 7afb ldrb r3, [r7, #11] - 800804a: 3b01 subs r3, #1 - 800804c: 72fb strb r3, [r7, #11] + 80089cc: 7afb ldrb r3, [r7, #11] + 80089ce: 3b01 subs r3, #1 + 80089d0: 72fb strb r3, [r7, #11] inactivity = 0; - 800804e: 2300 movs r3, #0 - 8008050: 60fb str r3, [r7, #12] + 80089d2: 2300 movs r3, #0 + 80089d4: 60fb str r3, [r7, #12] inactive = NULL; - 8008052: 2300 movs r3, #0 - 8008054: 613b str r3, [r7, #16] + 80089d6: 2300 movs r3, #0 + 80089d8: 613b str r3, [r7, #16] for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 8008056: 4b19 ldr r3, [pc, #100] @ (80080bc ) - 8008058: 681b ldr r3, [r3, #0] - 800805a: 617b str r3, [r7, #20] - 800805c: e01f b.n 800809e + 80089da: 4b19 ldr r3, [pc, #100] @ (8008a40 ) + 80089dc: 681b ldr r3, [r3, #0] + 80089de: 617b str r3, [r7, #20] + 80089e0: e01f b.n 8008a22 /* lower prio is always a kill candidate */ if ((pcb->prio < mprio) || - 800805e: 697b ldr r3, [r7, #20] - 8008060: 7d5b ldrb r3, [r3, #21] - 8008062: 7afa ldrb r2, [r7, #11] - 8008064: 429a cmp r2, r3 - 8008066: d80c bhi.n 8008082 + 80089e2: 697b ldr r3, [r7, #20] + 80089e4: 7d5b ldrb r3, [r3, #21] + 80089e6: 7afa ldrb r2, [r7, #11] + 80089e8: 429a cmp r2, r3 + 80089ea: d80c bhi.n 8008a06 /* longer inactivity is also a kill candidate */ ((pcb->prio == mprio) && ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity))) { - 8008068: 697b ldr r3, [r7, #20] - 800806a: 7d5b ldrb r3, [r3, #21] + 80089ec: 697b ldr r3, [r7, #20] + 80089ee: 7d5b ldrb r3, [r3, #21] if ((pcb->prio < mprio) || - 800806c: 7afa ldrb r2, [r7, #11] - 800806e: 429a cmp r2, r3 - 8008070: d112 bne.n 8008098 + 80089f0: 7afa ldrb r2, [r7, #11] + 80089f2: 429a cmp r2, r3 + 80089f4: d112 bne.n 8008a1c ((pcb->prio == mprio) && ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity))) { - 8008072: 4b13 ldr r3, [pc, #76] @ (80080c0 ) - 8008074: 681a ldr r2, [r3, #0] - 8008076: 697b ldr r3, [r7, #20] - 8008078: 6a1b ldr r3, [r3, #32] - 800807a: 1ad3 subs r3, r2, r3 - 800807c: 68fa ldr r2, [r7, #12] - 800807e: 429a cmp r2, r3 - 8008080: d80a bhi.n 8008098 + 80089f6: 4b13 ldr r3, [pc, #76] @ (8008a44 ) + 80089f8: 681a ldr r2, [r3, #0] + 80089fa: 697b ldr r3, [r7, #20] + 80089fc: 6a1b ldr r3, [r3, #32] + 80089fe: 1ad3 subs r3, r2, r3 + 8008a00: 68fa ldr r2, [r7, #12] + 8008a02: 429a cmp r2, r3 + 8008a04: d80a bhi.n 8008a1c inactivity = tcp_ticks - pcb->tmr; - 8008082: 4b0f ldr r3, [pc, #60] @ (80080c0 ) - 8008084: 681a ldr r2, [r3, #0] - 8008086: 697b ldr r3, [r7, #20] - 8008088: 6a1b ldr r3, [r3, #32] - 800808a: 1ad3 subs r3, r2, r3 - 800808c: 60fb str r3, [r7, #12] + 8008a06: 4b0f ldr r3, [pc, #60] @ (8008a44 ) + 8008a08: 681a ldr r2, [r3, #0] + 8008a0a: 697b ldr r3, [r7, #20] + 8008a0c: 6a1b ldr r3, [r3, #32] + 8008a0e: 1ad3 subs r3, r2, r3 + 8008a10: 60fb str r3, [r7, #12] inactive = pcb; - 800808e: 697b ldr r3, [r7, #20] - 8008090: 613b str r3, [r7, #16] + 8008a12: 697b ldr r3, [r7, #20] + 8008a14: 613b str r3, [r7, #16] mprio = pcb->prio; - 8008092: 697b ldr r3, [r7, #20] - 8008094: 7d5b ldrb r3, [r3, #21] - 8008096: 72fb strb r3, [r7, #11] + 8008a16: 697b ldr r3, [r7, #20] + 8008a18: 7d5b ldrb r3, [r3, #21] + 8008a1a: 72fb strb r3, [r7, #11] for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 8008098: 697b ldr r3, [r7, #20] - 800809a: 68db ldr r3, [r3, #12] - 800809c: 617b str r3, [r7, #20] - 800809e: 697b ldr r3, [r7, #20] - 80080a0: 2b00 cmp r3, #0 - 80080a2: d1dc bne.n 800805e + 8008a1c: 697b ldr r3, [r7, #20] + 8008a1e: 68db ldr r3, [r3, #12] + 8008a20: 617b str r3, [r7, #20] + 8008a22: 697b ldr r3, [r7, #20] + 8008a24: 2b00 cmp r3, #0 + 8008a26: d1dc bne.n 80089e2 } } if (inactive != NULL) { - 80080a4: 693b ldr r3, [r7, #16] - 80080a6: 2b00 cmp r3, #0 - 80080a8: d004 beq.n 80080b4 + 8008a28: 693b ldr r3, [r7, #16] + 8008a2a: 2b00 cmp r3, #0 + 8008a2c: d004 beq.n 8008a38 LWIP_DEBUGF(TCP_DEBUG, ("tcp_kill_prio: killing oldest PCB %p (%"S32_F")\n", (void *)inactive, inactivity)); tcp_abort(inactive); - 80080aa: 6938 ldr r0, [r7, #16] - 80080ac: f7ff fa54 bl 8007558 - 80080b0: e000 b.n 80080b4 + 8008a2e: 6938 ldr r0, [r7, #16] + 8008a30: f7ff fa54 bl 8007edc + 8008a34: e000 b.n 8008a38 return; - 80080b2: bf00 nop + 8008a36: bf00 nop } } - 80080b4: 3718 adds r7, #24 - 80080b6: 46bd mov sp, r7 - 80080b8: bd80 pop {r7, pc} - 80080ba: bf00 nop - 80080bc: 200190b0 .word 0x200190b0 - 80080c0: 200190a4 .word 0x200190a4 + 8008a38: 3718 adds r7, #24 + 8008a3a: 46bd mov sp, r7 + 8008a3c: bd80 pop {r7, pc} + 8008a3e: bf00 nop + 8008a40: 200190e4 .word 0x200190e4 + 8008a44: 200190d8 .word 0x200190d8 -080080c4 : +08008a48 : * Kills the oldest connection that is in specific state. * Called from tcp_alloc() for LAST_ACK and CLOSING if no more connections are available. */ static void tcp_kill_state(enum tcp_state state) { - 80080c4: b580 push {r7, lr} - 80080c6: b086 sub sp, #24 - 80080c8: af00 add r7, sp, #0 - 80080ca: 4603 mov r3, r0 - 80080cc: 71fb strb r3, [r7, #7] + 8008a48: b580 push {r7, lr} + 8008a4a: b086 sub sp, #24 + 8008a4c: af00 add r7, sp, #0 + 8008a4e: 4603 mov r3, r0 + 8008a50: 71fb strb r3, [r7, #7] struct tcp_pcb *pcb, *inactive; u32_t inactivity; LWIP_ASSERT("invalid state", (state == CLOSING) || (state == LAST_ACK)); - 80080ce: 79fb ldrb r3, [r7, #7] - 80080d0: 2b08 cmp r3, #8 - 80080d2: d009 beq.n 80080e8 - 80080d4: 79fb ldrb r3, [r7, #7] - 80080d6: 2b09 cmp r3, #9 - 80080d8: d006 beq.n 80080e8 - 80080da: 4b1a ldr r3, [pc, #104] @ (8008144 ) - 80080dc: f240 62dd movw r2, #1757 @ 0x6dd - 80080e0: 4919 ldr r1, [pc, #100] @ (8008148 ) - 80080e2: 481a ldr r0, [pc, #104] @ (800814c ) - 80080e4: f009 fa88 bl 80115f8 + 8008a52: 79fb ldrb r3, [r7, #7] + 8008a54: 2b08 cmp r3, #8 + 8008a56: d009 beq.n 8008a6c + 8008a58: 79fb ldrb r3, [r7, #7] + 8008a5a: 2b09 cmp r3, #9 + 8008a5c: d006 beq.n 8008a6c + 8008a5e: 4b1a ldr r3, [pc, #104] @ (8008ac8 ) + 8008a60: f240 62dd movw r2, #1757 @ 0x6dd + 8008a64: 4919 ldr r1, [pc, #100] @ (8008acc ) + 8008a66: 481a ldr r0, [pc, #104] @ (8008ad0 ) + 8008a68: f009 fa88 bl 8011f7c inactivity = 0; - 80080e8: 2300 movs r3, #0 - 80080ea: 60fb str r3, [r7, #12] + 8008a6c: 2300 movs r3, #0 + 8008a6e: 60fb str r3, [r7, #12] inactive = NULL; - 80080ec: 2300 movs r3, #0 - 80080ee: 613b str r3, [r7, #16] + 8008a70: 2300 movs r3, #0 + 8008a72: 613b str r3, [r7, #16] /* Go through the list of active pcbs and get the oldest pcb that is in state CLOSING/LAST_ACK. */ for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 80080f0: 4b17 ldr r3, [pc, #92] @ (8008150 ) - 80080f2: 681b ldr r3, [r3, #0] - 80080f4: 617b str r3, [r7, #20] - 80080f6: e017 b.n 8008128 + 8008a74: 4b17 ldr r3, [pc, #92] @ (8008ad4 ) + 8008a76: 681b ldr r3, [r3, #0] + 8008a78: 617b str r3, [r7, #20] + 8008a7a: e017 b.n 8008aac if (pcb->state == state) { - 80080f8: 697b ldr r3, [r7, #20] - 80080fa: 7d1b ldrb r3, [r3, #20] - 80080fc: 79fa ldrb r2, [r7, #7] - 80080fe: 429a cmp r2, r3 - 8008100: d10f bne.n 8008122 + 8008a7c: 697b ldr r3, [r7, #20] + 8008a7e: 7d1b ldrb r3, [r3, #20] + 8008a80: 79fa ldrb r2, [r7, #7] + 8008a82: 429a cmp r2, r3 + 8008a84: d10f bne.n 8008aa6 if ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity) { - 8008102: 4b14 ldr r3, [pc, #80] @ (8008154 ) - 8008104: 681a ldr r2, [r3, #0] - 8008106: 697b ldr r3, [r7, #20] - 8008108: 6a1b ldr r3, [r3, #32] - 800810a: 1ad3 subs r3, r2, r3 - 800810c: 68fa ldr r2, [r7, #12] - 800810e: 429a cmp r2, r3 - 8008110: d807 bhi.n 8008122 + 8008a86: 4b14 ldr r3, [pc, #80] @ (8008ad8 ) + 8008a88: 681a ldr r2, [r3, #0] + 8008a8a: 697b ldr r3, [r7, #20] + 8008a8c: 6a1b ldr r3, [r3, #32] + 8008a8e: 1ad3 subs r3, r2, r3 + 8008a90: 68fa ldr r2, [r7, #12] + 8008a92: 429a cmp r2, r3 + 8008a94: d807 bhi.n 8008aa6 inactivity = tcp_ticks - pcb->tmr; - 8008112: 4b10 ldr r3, [pc, #64] @ (8008154 ) - 8008114: 681a ldr r2, [r3, #0] - 8008116: 697b ldr r3, [r7, #20] - 8008118: 6a1b ldr r3, [r3, #32] - 800811a: 1ad3 subs r3, r2, r3 - 800811c: 60fb str r3, [r7, #12] + 8008a96: 4b10 ldr r3, [pc, #64] @ (8008ad8 ) + 8008a98: 681a ldr r2, [r3, #0] + 8008a9a: 697b ldr r3, [r7, #20] + 8008a9c: 6a1b ldr r3, [r3, #32] + 8008a9e: 1ad3 subs r3, r2, r3 + 8008aa0: 60fb str r3, [r7, #12] inactive = pcb; - 800811e: 697b ldr r3, [r7, #20] - 8008120: 613b str r3, [r7, #16] + 8008aa2: 697b ldr r3, [r7, #20] + 8008aa4: 613b str r3, [r7, #16] for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 8008122: 697b ldr r3, [r7, #20] - 8008124: 68db ldr r3, [r3, #12] - 8008126: 617b str r3, [r7, #20] - 8008128: 697b ldr r3, [r7, #20] - 800812a: 2b00 cmp r3, #0 - 800812c: d1e4 bne.n 80080f8 + 8008aa6: 697b ldr r3, [r7, #20] + 8008aa8: 68db ldr r3, [r3, #12] + 8008aaa: 617b str r3, [r7, #20] + 8008aac: 697b ldr r3, [r7, #20] + 8008aae: 2b00 cmp r3, #0 + 8008ab0: d1e4 bne.n 8008a7c } } } if (inactive != NULL) { - 800812e: 693b ldr r3, [r7, #16] - 8008130: 2b00 cmp r3, #0 - 8008132: d003 beq.n 800813c + 8008ab2: 693b ldr r3, [r7, #16] + 8008ab4: 2b00 cmp r3, #0 + 8008ab6: d003 beq.n 8008ac0 LWIP_DEBUGF(TCP_DEBUG, ("tcp_kill_closing: killing oldest %s PCB %p (%"S32_F")\n", tcp_state_str[state], (void *)inactive, inactivity)); /* Don't send a RST, since no data is lost. */ tcp_abandon(inactive, 0); - 8008134: 2100 movs r1, #0 - 8008136: 6938 ldr r0, [r7, #16] - 8008138: f7ff f950 bl 80073dc + 8008ab8: 2100 movs r1, #0 + 8008aba: 6938 ldr r0, [r7, #16] + 8008abc: f7ff f950 bl 8007d60 } } - 800813c: bf00 nop - 800813e: 3718 adds r7, #24 - 8008140: 46bd mov sp, r7 - 8008142: bd80 pop {r7, pc} - 8008144: 08016ab4 .word 0x08016ab4 - 8008148: 08017040 .word 0x08017040 - 800814c: 08016af8 .word 0x08016af8 - 8008150: 200190b0 .word 0x200190b0 - 8008154: 200190a4 .word 0x200190a4 + 8008ac0: bf00 nop + 8008ac2: 3718 adds r7, #24 + 8008ac4: 46bd mov sp, r7 + 8008ac6: bd80 pop {r7, pc} + 8008ac8: 08017434 .word 0x08017434 + 8008acc: 080179c0 .word 0x080179c0 + 8008ad0: 08017478 .word 0x08017478 + 8008ad4: 200190e4 .word 0x200190e4 + 8008ad8: 200190d8 .word 0x200190d8 -08008158 : +08008adc : * Kills the oldest connection that is in TIME_WAIT state. * Called from tcp_alloc() if no more connections are available. */ static void tcp_kill_timewait(void) { - 8008158: b580 push {r7, lr} - 800815a: b084 sub sp, #16 - 800815c: af00 add r7, sp, #0 + 8008adc: b580 push {r7, lr} + 8008ade: b084 sub sp, #16 + 8008ae0: af00 add r7, sp, #0 struct tcp_pcb *pcb, *inactive; u32_t inactivity; inactivity = 0; - 800815e: 2300 movs r3, #0 - 8008160: 607b str r3, [r7, #4] + 8008ae2: 2300 movs r3, #0 + 8008ae4: 607b str r3, [r7, #4] inactive = NULL; - 8008162: 2300 movs r3, #0 - 8008164: 60bb str r3, [r7, #8] + 8008ae6: 2300 movs r3, #0 + 8008ae8: 60bb str r3, [r7, #8] /* Go through the list of TIME_WAIT pcbs and get the oldest pcb. */ for (pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { - 8008166: 4b12 ldr r3, [pc, #72] @ (80081b0 ) - 8008168: 681b ldr r3, [r3, #0] - 800816a: 60fb str r3, [r7, #12] - 800816c: e012 b.n 8008194 + 8008aea: 4b12 ldr r3, [pc, #72] @ (8008b34 ) + 8008aec: 681b ldr r3, [r3, #0] + 8008aee: 60fb str r3, [r7, #12] + 8008af0: e012 b.n 8008b18 if ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity) { - 800816e: 4b11 ldr r3, [pc, #68] @ (80081b4 ) - 8008170: 681a ldr r2, [r3, #0] - 8008172: 68fb ldr r3, [r7, #12] - 8008174: 6a1b ldr r3, [r3, #32] - 8008176: 1ad3 subs r3, r2, r3 - 8008178: 687a ldr r2, [r7, #4] - 800817a: 429a cmp r2, r3 - 800817c: d807 bhi.n 800818e + 8008af2: 4b11 ldr r3, [pc, #68] @ (8008b38 ) + 8008af4: 681a ldr r2, [r3, #0] + 8008af6: 68fb ldr r3, [r7, #12] + 8008af8: 6a1b ldr r3, [r3, #32] + 8008afa: 1ad3 subs r3, r2, r3 + 8008afc: 687a ldr r2, [r7, #4] + 8008afe: 429a cmp r2, r3 + 8008b00: d807 bhi.n 8008b12 inactivity = tcp_ticks - pcb->tmr; - 800817e: 4b0d ldr r3, [pc, #52] @ (80081b4 ) - 8008180: 681a ldr r2, [r3, #0] - 8008182: 68fb ldr r3, [r7, #12] - 8008184: 6a1b ldr r3, [r3, #32] - 8008186: 1ad3 subs r3, r2, r3 - 8008188: 607b str r3, [r7, #4] + 8008b02: 4b0d ldr r3, [pc, #52] @ (8008b38 ) + 8008b04: 681a ldr r2, [r3, #0] + 8008b06: 68fb ldr r3, [r7, #12] + 8008b08: 6a1b ldr r3, [r3, #32] + 8008b0a: 1ad3 subs r3, r2, r3 + 8008b0c: 607b str r3, [r7, #4] inactive = pcb; - 800818a: 68fb ldr r3, [r7, #12] - 800818c: 60bb str r3, [r7, #8] + 8008b0e: 68fb ldr r3, [r7, #12] + 8008b10: 60bb str r3, [r7, #8] for (pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { - 800818e: 68fb ldr r3, [r7, #12] - 8008190: 68db ldr r3, [r3, #12] - 8008192: 60fb str r3, [r7, #12] - 8008194: 68fb ldr r3, [r7, #12] - 8008196: 2b00 cmp r3, #0 - 8008198: d1e9 bne.n 800816e + 8008b12: 68fb ldr r3, [r7, #12] + 8008b14: 68db ldr r3, [r3, #12] + 8008b16: 60fb str r3, [r7, #12] + 8008b18: 68fb ldr r3, [r7, #12] + 8008b1a: 2b00 cmp r3, #0 + 8008b1c: d1e9 bne.n 8008af2 } } if (inactive != NULL) { - 800819a: 68bb ldr r3, [r7, #8] - 800819c: 2b00 cmp r3, #0 - 800819e: d002 beq.n 80081a6 + 8008b1e: 68bb ldr r3, [r7, #8] + 8008b20: 2b00 cmp r3, #0 + 8008b22: d002 beq.n 8008b2a LWIP_DEBUGF(TCP_DEBUG, ("tcp_kill_timewait: killing oldest TIME-WAIT PCB %p (%"S32_F")\n", (void *)inactive, inactivity)); tcp_abort(inactive); - 80081a0: 68b8 ldr r0, [r7, #8] - 80081a2: f7ff f9d9 bl 8007558 + 8008b24: 68b8 ldr r0, [r7, #8] + 8008b26: f7ff f9d9 bl 8007edc } } - 80081a6: bf00 nop - 80081a8: 3710 adds r7, #16 - 80081aa: 46bd mov sp, r7 - 80081ac: bd80 pop {r7, pc} - 80081ae: bf00 nop - 80081b0: 200190b4 .word 0x200190b4 - 80081b4: 200190a4 .word 0x200190a4 + 8008b2a: bf00 nop + 8008b2c: 3710 adds r7, #16 + 8008b2e: 46bd mov sp, r7 + 8008b30: bd80 pop {r7, pc} + 8008b32: bf00 nop + 8008b34: 200190e8 .word 0x200190e8 + 8008b38: 200190d8 .word 0x200190d8 -080081b8 : +08008b3c : * now send the FIN (which failed before), the pcb might be in a state that is * OK for us to now free it. */ static void tcp_handle_closepend(void) { - 80081b8: b580 push {r7, lr} - 80081ba: b082 sub sp, #8 - 80081bc: af00 add r7, sp, #0 + 8008b3c: b580 push {r7, lr} + 8008b3e: b082 sub sp, #8 + 8008b40: af00 add r7, sp, #0 struct tcp_pcb *pcb = tcp_active_pcbs; - 80081be: 4b10 ldr r3, [pc, #64] @ (8008200 ) - 80081c0: 681b ldr r3, [r3, #0] - 80081c2: 607b str r3, [r7, #4] + 8008b42: 4b10 ldr r3, [pc, #64] @ (8008b84 ) + 8008b44: 681b ldr r3, [r3, #0] + 8008b46: 607b str r3, [r7, #4] while (pcb != NULL) { - 80081c4: e014 b.n 80081f0 + 8008b48: e014 b.n 8008b74 struct tcp_pcb *next = pcb->next; - 80081c6: 687b ldr r3, [r7, #4] - 80081c8: 68db ldr r3, [r3, #12] - 80081ca: 603b str r3, [r7, #0] + 8008b4a: 687b ldr r3, [r7, #4] + 8008b4c: 68db ldr r3, [r3, #12] + 8008b4e: 603b str r3, [r7, #0] /* send pending FIN */ if (pcb->flags & TF_CLOSEPEND) { - 80081cc: 687b ldr r3, [r7, #4] - 80081ce: 8b5b ldrh r3, [r3, #26] - 80081d0: f003 0308 and.w r3, r3, #8 - 80081d4: 2b00 cmp r3, #0 - 80081d6: d009 beq.n 80081ec + 8008b50: 687b ldr r3, [r7, #4] + 8008b52: 8b5b ldrh r3, [r3, #26] + 8008b54: f003 0308 and.w r3, r3, #8 + 8008b58: 2b00 cmp r3, #0 + 8008b5a: d009 beq.n 8008b70 LWIP_DEBUGF(TCP_DEBUG, ("tcp_handle_closepend: pending FIN\n")); tcp_clear_flags(pcb, TF_CLOSEPEND); - 80081d8: 687b ldr r3, [r7, #4] - 80081da: 8b5b ldrh r3, [r3, #26] - 80081dc: f023 0308 bic.w r3, r3, #8 - 80081e0: b29a uxth r2, r3 - 80081e2: 687b ldr r3, [r7, #4] - 80081e4: 835a strh r2, [r3, #26] + 8008b5c: 687b ldr r3, [r7, #4] + 8008b5e: 8b5b ldrh r3, [r3, #26] + 8008b60: f023 0308 bic.w r3, r3, #8 + 8008b64: b29a uxth r2, r3 + 8008b66: 687b ldr r3, [r7, #4] + 8008b68: 835a strh r2, [r3, #26] tcp_close_shutdown_fin(pcb); - 80081e6: 6878 ldr r0, [r7, #4] - 80081e8: f7ff f862 bl 80072b0 + 8008b6a: 6878 ldr r0, [r7, #4] + 8008b6c: f7ff f862 bl 8007c34 } pcb = next; - 80081ec: 683b ldr r3, [r7, #0] - 80081ee: 607b str r3, [r7, #4] + 8008b70: 683b ldr r3, [r7, #0] + 8008b72: 607b str r3, [r7, #4] while (pcb != NULL) { - 80081f0: 687b ldr r3, [r7, #4] - 80081f2: 2b00 cmp r3, #0 - 80081f4: d1e7 bne.n 80081c6 + 8008b74: 687b ldr r3, [r7, #4] + 8008b76: 2b00 cmp r3, #0 + 8008b78: d1e7 bne.n 8008b4a } } - 80081f6: bf00 nop - 80081f8: bf00 nop - 80081fa: 3708 adds r7, #8 - 80081fc: 46bd mov sp, r7 - 80081fe: bd80 pop {r7, pc} - 8008200: 200190b0 .word 0x200190b0 + 8008b7a: bf00 nop + 8008b7c: bf00 nop + 8008b7e: 3708 adds r7, #8 + 8008b80: 46bd mov sp, r7 + 8008b82: bd80 pop {r7, pc} + 8008b84: 200190e4 .word 0x200190e4 -08008204 : +08008b88 : * @param prio priority for the new pcb * @return a new tcp_pcb that initially is in state CLOSED */ struct tcp_pcb * tcp_alloc(u8_t prio) { - 8008204: b580 push {r7, lr} - 8008206: b084 sub sp, #16 - 8008208: af00 add r7, sp, #0 - 800820a: 4603 mov r3, r0 - 800820c: 71fb strb r3, [r7, #7] + 8008b88: b580 push {r7, lr} + 8008b8a: b084 sub sp, #16 + 8008b8c: af00 add r7, sp, #0 + 8008b8e: 4603 mov r3, r0 + 8008b90: 71fb strb r3, [r7, #7] struct tcp_pcb *pcb; LWIP_ASSERT_CORE_LOCKED(); pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB); - 800820e: 2001 movs r0, #1 - 8008210: f7fd fd1a bl 8005c48 - 8008214: 60f8 str r0, [r7, #12] + 8008b92: 2001 movs r0, #1 + 8008b94: f7fd fd1a bl 80065cc + 8008b98: 60f8 str r0, [r7, #12] if (pcb == NULL) { - 8008216: 68fb ldr r3, [r7, #12] - 8008218: 2b00 cmp r3, #0 - 800821a: d126 bne.n 800826a + 8008b9a: 68fb ldr r3, [r7, #12] + 8008b9c: 2b00 cmp r3, #0 + 8008b9e: d126 bne.n 8008bee /* Try to send FIN for all pcbs stuck in TF_CLOSEPEND first */ tcp_handle_closepend(); - 800821c: f7ff ffcc bl 80081b8 + 8008ba0: f7ff ffcc bl 8008b3c /* Try killing oldest connection in TIME-WAIT. */ LWIP_DEBUGF(TCP_DEBUG, ("tcp_alloc: killing off oldest TIME-WAIT connection\n")); tcp_kill_timewait(); - 8008220: f7ff ff9a bl 8008158 + 8008ba4: f7ff ff9a bl 8008adc /* Try to allocate a tcp_pcb again. */ pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB); - 8008224: 2001 movs r0, #1 - 8008226: f7fd fd0f bl 8005c48 - 800822a: 60f8 str r0, [r7, #12] + 8008ba8: 2001 movs r0, #1 + 8008baa: f7fd fd0f bl 80065cc + 8008bae: 60f8 str r0, [r7, #12] if (pcb == NULL) { - 800822c: 68fb ldr r3, [r7, #12] - 800822e: 2b00 cmp r3, #0 - 8008230: d11b bne.n 800826a + 8008bb0: 68fb ldr r3, [r7, #12] + 8008bb2: 2b00 cmp r3, #0 + 8008bb4: d11b bne.n 8008bee /* Try killing oldest connection in LAST-ACK (these wouldn't go to TIME-WAIT). */ LWIP_DEBUGF(TCP_DEBUG, ("tcp_alloc: killing off oldest LAST-ACK connection\n")); tcp_kill_state(LAST_ACK); - 8008232: 2009 movs r0, #9 - 8008234: f7ff ff46 bl 80080c4 + 8008bb6: 2009 movs r0, #9 + 8008bb8: f7ff ff46 bl 8008a48 /* Try to allocate a tcp_pcb again. */ pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB); - 8008238: 2001 movs r0, #1 - 800823a: f7fd fd05 bl 8005c48 - 800823e: 60f8 str r0, [r7, #12] + 8008bbc: 2001 movs r0, #1 + 8008bbe: f7fd fd05 bl 80065cc + 8008bc2: 60f8 str r0, [r7, #12] if (pcb == NULL) { - 8008240: 68fb ldr r3, [r7, #12] - 8008242: 2b00 cmp r3, #0 - 8008244: d111 bne.n 800826a + 8008bc4: 68fb ldr r3, [r7, #12] + 8008bc6: 2b00 cmp r3, #0 + 8008bc8: d111 bne.n 8008bee /* Try killing oldest connection in CLOSING. */ LWIP_DEBUGF(TCP_DEBUG, ("tcp_alloc: killing off oldest CLOSING connection\n")); tcp_kill_state(CLOSING); - 8008246: 2008 movs r0, #8 - 8008248: f7ff ff3c bl 80080c4 + 8008bca: 2008 movs r0, #8 + 8008bcc: f7ff ff3c bl 8008a48 /* Try to allocate a tcp_pcb again. */ pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB); - 800824c: 2001 movs r0, #1 - 800824e: f7fd fcfb bl 8005c48 - 8008252: 60f8 str r0, [r7, #12] + 8008bd0: 2001 movs r0, #1 + 8008bd2: f7fd fcfb bl 80065cc + 8008bd6: 60f8 str r0, [r7, #12] if (pcb == NULL) { - 8008254: 68fb ldr r3, [r7, #12] - 8008256: 2b00 cmp r3, #0 - 8008258: d107 bne.n 800826a + 8008bd8: 68fb ldr r3, [r7, #12] + 8008bda: 2b00 cmp r3, #0 + 8008bdc: d107 bne.n 8008bee /* Try killing oldest active connection with lower priority than the new one. */ LWIP_DEBUGF(TCP_DEBUG, ("tcp_alloc: killing oldest connection with prio lower than %d\n", prio)); tcp_kill_prio(prio); - 800825a: 79fb ldrb r3, [r7, #7] - 800825c: 4618 mov r0, r3 - 800825e: f7ff fee3 bl 8008028 + 8008bde: 79fb ldrb r3, [r7, #7] + 8008be0: 4618 mov r0, r3 + 8008be2: f7ff fee3 bl 80089ac /* Try to allocate a tcp_pcb again. */ pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB); - 8008262: 2001 movs r0, #1 - 8008264: f7fd fcf0 bl 8005c48 - 8008268: 60f8 str r0, [r7, #12] + 8008be6: 2001 movs r0, #1 + 8008be8: f7fd fcf0 bl 80065cc + 8008bec: 60f8 str r0, [r7, #12] if (pcb != NULL) { /* adjust err stats: memp_malloc failed above */ MEMP_STATS_DEC(err, MEMP_TCP_PCB); } } if (pcb != NULL) { - 800826a: 68fb ldr r3, [r7, #12] - 800826c: 2b00 cmp r3, #0 - 800826e: d03f beq.n 80082f0 + 8008bee: 68fb ldr r3, [r7, #12] + 8008bf0: 2b00 cmp r3, #0 + 8008bf2: d03f beq.n 8008c74 /* zero out the whole pcb, so there is no need to initialize members to zero */ memset(pcb, 0, sizeof(struct tcp_pcb)); - 8008270: 229c movs r2, #156 @ 0x9c - 8008272: 2100 movs r1, #0 - 8008274: 68f8 ldr r0, [r7, #12] - 8008276: f009 fa3e bl 80116f6 + 8008bf4: 229c movs r2, #156 @ 0x9c + 8008bf6: 2100 movs r1, #0 + 8008bf8: 68f8 ldr r0, [r7, #12] + 8008bfa: f009 fa3e bl 801207a pcb->prio = prio; - 800827a: 68fb ldr r3, [r7, #12] - 800827c: 79fa ldrb r2, [r7, #7] - 800827e: 755a strb r2, [r3, #21] + 8008bfe: 68fb ldr r3, [r7, #12] + 8008c00: 79fa ldrb r2, [r7, #7] + 8008c02: 755a strb r2, [r3, #21] pcb->snd_buf = TCP_SND_BUF; - 8008280: 68fb ldr r3, [r7, #12] - 8008282: f44f 6286 mov.w r2, #1072 @ 0x430 - 8008286: f8a3 2064 strh.w r2, [r3, #100] @ 0x64 + 8008c04: 68fb ldr r3, [r7, #12] + 8008c06: f44f 6286 mov.w r2, #1072 @ 0x430 + 8008c0a: f8a3 2064 strh.w r2, [r3, #100] @ 0x64 /* Start with a window that does not need scaling. When window scaling is enabled and used, the window is enlarged when both sides agree on scaling. */ pcb->rcv_wnd = pcb->rcv_ann_wnd = TCPWND_MIN16(TCP_WND); - 800828a: 68fb ldr r3, [r7, #12] - 800828c: f44f 6206 mov.w r2, #2144 @ 0x860 - 8008290: 855a strh r2, [r3, #42] @ 0x2a - 8008292: 68fb ldr r3, [r7, #12] - 8008294: 8d5a ldrh r2, [r3, #42] @ 0x2a - 8008296: 68fb ldr r3, [r7, #12] - 8008298: 851a strh r2, [r3, #40] @ 0x28 + 8008c0e: 68fb ldr r3, [r7, #12] + 8008c10: f44f 6206 mov.w r2, #2144 @ 0x860 + 8008c14: 855a strh r2, [r3, #42] @ 0x2a + 8008c16: 68fb ldr r3, [r7, #12] + 8008c18: 8d5a ldrh r2, [r3, #42] @ 0x2a + 8008c1a: 68fb ldr r3, [r7, #12] + 8008c1c: 851a strh r2, [r3, #40] @ 0x28 pcb->ttl = TCP_TTL; - 800829a: 68fb ldr r3, [r7, #12] - 800829c: 22ff movs r2, #255 @ 0xff - 800829e: 72da strb r2, [r3, #11] + 8008c1e: 68fb ldr r3, [r7, #12] + 8008c20: 22ff movs r2, #255 @ 0xff + 8008c22: 72da strb r2, [r3, #11] /* As initial send MSS, we use TCP_MSS but limit it to 536. The send MSS is updated when an MSS option is received. */ pcb->mss = INITIAL_MSS; - 80082a0: 68fb ldr r3, [r7, #12] - 80082a2: f44f 7206 mov.w r2, #536 @ 0x218 - 80082a6: 865a strh r2, [r3, #50] @ 0x32 + 8008c24: 68fb ldr r3, [r7, #12] + 8008c26: f44f 7206 mov.w r2, #536 @ 0x218 + 8008c2a: 865a strh r2, [r3, #50] @ 0x32 pcb->rto = 3000 / TCP_SLOW_INTERVAL; - 80082a8: 68fb ldr r3, [r7, #12] - 80082aa: 2206 movs r2, #6 - 80082ac: f8a3 2040 strh.w r2, [r3, #64] @ 0x40 + 8008c2c: 68fb ldr r3, [r7, #12] + 8008c2e: 2206 movs r2, #6 + 8008c30: f8a3 2040 strh.w r2, [r3, #64] @ 0x40 pcb->sv = 3000 / TCP_SLOW_INTERVAL; - 80082b0: 68fb ldr r3, [r7, #12] - 80082b2: 2206 movs r2, #6 - 80082b4: 87da strh r2, [r3, #62] @ 0x3e + 8008c34: 68fb ldr r3, [r7, #12] + 8008c36: 2206 movs r2, #6 + 8008c38: 87da strh r2, [r3, #62] @ 0x3e pcb->rtime = -1; - 80082b6: 68fb ldr r3, [r7, #12] - 80082b8: f64f 72ff movw r2, #65535 @ 0xffff - 80082bc: 861a strh r2, [r3, #48] @ 0x30 + 8008c3a: 68fb ldr r3, [r7, #12] + 8008c3c: f64f 72ff movw r2, #65535 @ 0xffff + 8008c40: 861a strh r2, [r3, #48] @ 0x30 pcb->cwnd = 1; - 80082be: 68fb ldr r3, [r7, #12] - 80082c0: 2201 movs r2, #1 - 80082c2: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 + 8008c42: 68fb ldr r3, [r7, #12] + 8008c44: 2201 movs r2, #1 + 8008c46: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 pcb->tmr = tcp_ticks; - 80082c6: 4b0d ldr r3, [pc, #52] @ (80082fc ) - 80082c8: 681a ldr r2, [r3, #0] - 80082ca: 68fb ldr r3, [r7, #12] - 80082cc: 621a str r2, [r3, #32] + 8008c4a: 4b0d ldr r3, [pc, #52] @ (8008c80 ) + 8008c4c: 681a ldr r2, [r3, #0] + 8008c4e: 68fb ldr r3, [r7, #12] + 8008c50: 621a str r2, [r3, #32] pcb->last_timer = tcp_timer_ctr; - 80082ce: 4b0c ldr r3, [pc, #48] @ (8008300 ) - 80082d0: 781a ldrb r2, [r3, #0] - 80082d2: 68fb ldr r3, [r7, #12] - 80082d4: 779a strb r2, [r3, #30] + 8008c52: 4b0c ldr r3, [pc, #48] @ (8008c84 ) + 8008c54: 781a ldrb r2, [r3, #0] + 8008c56: 68fb ldr r3, [r7, #12] + 8008c58: 779a strb r2, [r3, #30] of using the largest advertised receive window. We've seen complications with receiving TCPs that use window scaling and/or window auto-tuning where the initial advertised window is very small and then grows rapidly once the connection is established. To avoid these complications, we set ssthresh to the largest effective cwnd (amount of in-flight data) that the sender can have. */ pcb->ssthresh = TCP_SND_BUF; - 80082d6: 68fb ldr r3, [r7, #12] - 80082d8: f44f 6286 mov.w r2, #1072 @ 0x430 - 80082dc: f8a3 204a strh.w r2, [r3, #74] @ 0x4a + 8008c5a: 68fb ldr r3, [r7, #12] + 8008c5c: f44f 6286 mov.w r2, #1072 @ 0x430 + 8008c60: f8a3 204a strh.w r2, [r3, #74] @ 0x4a #if LWIP_CALLBACK_API pcb->recv = tcp_recv_null; - 80082e0: 68fb ldr r3, [r7, #12] - 80082e2: 4a08 ldr r2, [pc, #32] @ (8008304 ) - 80082e4: f8c3 2084 str.w r2, [r3, #132] @ 0x84 + 8008c64: 68fb ldr r3, [r7, #12] + 8008c66: 4a08 ldr r2, [pc, #32] @ (8008c88 ) + 8008c68: f8c3 2084 str.w r2, [r3, #132] @ 0x84 #endif /* LWIP_CALLBACK_API */ /* Init KEEPALIVE timer */ pcb->keep_idle = TCP_KEEPIDLE_DEFAULT; - 80082e8: 68fb ldr r3, [r7, #12] - 80082ea: 4a07 ldr r2, [pc, #28] @ (8008308 ) - 80082ec: f8c3 2094 str.w r2, [r3, #148] @ 0x94 + 8008c6c: 68fb ldr r3, [r7, #12] + 8008c6e: 4a07 ldr r2, [pc, #28] @ (8008c8c ) + 8008c70: f8c3 2094 str.w r2, [r3, #148] @ 0x94 #if LWIP_TCP_KEEPALIVE pcb->keep_intvl = TCP_KEEPINTVL_DEFAULT; pcb->keep_cnt = TCP_KEEPCNT_DEFAULT; #endif /* LWIP_TCP_KEEPALIVE */ } return pcb; - 80082f0: 68fb ldr r3, [r7, #12] + 8008c74: 68fb ldr r3, [r7, #12] } - 80082f2: 4618 mov r0, r3 - 80082f4: 3710 adds r7, #16 - 80082f6: 46bd mov sp, r7 - 80082f8: bd80 pop {r7, pc} - 80082fa: bf00 nop - 80082fc: 200190a4 .word 0x200190a4 - 8008300: 200190ba .word 0x200190ba - 8008304: 08007fbd .word 0x08007fbd - 8008308: 006ddd00 .word 0x006ddd00 + 8008c76: 4618 mov r0, r3 + 8008c78: 3710 adds r7, #16 + 8008c7a: 46bd mov sp, r7 + 8008c7c: bd80 pop {r7, pc} + 8008c7e: bf00 nop + 8008c80: 200190d8 .word 0x200190d8 + 8008c84: 200190ee .word 0x200190ee + 8008c88: 08008941 .word 0x08008941 + 8008c8c: 006ddd00 .word 0x006ddd00 -0800830c : +08008c90 : * * @param pcb tcp_pcb to purge. The pcb itself is not deallocated! */ void tcp_pcb_purge(struct tcp_pcb *pcb) { - 800830c: b580 push {r7, lr} - 800830e: b082 sub sp, #8 - 8008310: af00 add r7, sp, #0 - 8008312: 6078 str r0, [r7, #4] + 8008c90: b580 push {r7, lr} + 8008c92: b082 sub sp, #8 + 8008c94: af00 add r7, sp, #0 + 8008c96: 6078 str r0, [r7, #4] LWIP_ERROR("tcp_pcb_purge: invalid pcb", pcb != NULL, return); - 8008314: 687b ldr r3, [r7, #4] - 8008316: 2b00 cmp r3, #0 - 8008318: d107 bne.n 800832a - 800831a: 4b21 ldr r3, [pc, #132] @ (80083a0 ) - 800831c: f640 0251 movw r2, #2129 @ 0x851 - 8008320: 4920 ldr r1, [pc, #128] @ (80083a4 ) - 8008322: 4821 ldr r0, [pc, #132] @ (80083a8 ) - 8008324: f009 f968 bl 80115f8 - 8008328: e037 b.n 800839a + 8008c98: 687b ldr r3, [r7, #4] + 8008c9a: 2b00 cmp r3, #0 + 8008c9c: d107 bne.n 8008cae + 8008c9e: 4b21 ldr r3, [pc, #132] @ (8008d24 ) + 8008ca0: f640 0251 movw r2, #2129 @ 0x851 + 8008ca4: 4920 ldr r1, [pc, #128] @ (8008d28 ) + 8008ca6: 4821 ldr r0, [pc, #132] @ (8008d2c ) + 8008ca8: f009 f968 bl 8011f7c + 8008cac: e037 b.n 8008d1e if (pcb->state != CLOSED && - 800832a: 687b ldr r3, [r7, #4] - 800832c: 7d1b ldrb r3, [r3, #20] - 800832e: 2b00 cmp r3, #0 - 8008330: d033 beq.n 800839a + 8008cae: 687b ldr r3, [r7, #4] + 8008cb0: 7d1b ldrb r3, [r3, #20] + 8008cb2: 2b00 cmp r3, #0 + 8008cb4: d033 beq.n 8008d1e pcb->state != TIME_WAIT && - 8008332: 687b ldr r3, [r7, #4] - 8008334: 7d1b ldrb r3, [r3, #20] + 8008cb6: 687b ldr r3, [r7, #4] + 8008cb8: 7d1b ldrb r3, [r3, #20] if (pcb->state != CLOSED && - 8008336: 2b0a cmp r3, #10 - 8008338: d02f beq.n 800839a + 8008cba: 2b0a cmp r3, #10 + 8008cbc: d02f beq.n 8008d1e pcb->state != LISTEN) { - 800833a: 687b ldr r3, [r7, #4] - 800833c: 7d1b ldrb r3, [r3, #20] + 8008cbe: 687b ldr r3, [r7, #4] + 8008cc0: 7d1b ldrb r3, [r3, #20] pcb->state != TIME_WAIT && - 800833e: 2b01 cmp r3, #1 - 8008340: d02b beq.n 800839a + 8008cc2: 2b01 cmp r3, #1 + 8008cc4: d02b beq.n 8008d1e LWIP_DEBUGF(TCP_DEBUG, ("tcp_pcb_purge\n")); tcp_backlog_accepted(pcb); if (pcb->refused_data != NULL) { - 8008342: 687b ldr r3, [r7, #4] - 8008344: 6f9b ldr r3, [r3, #120] @ 0x78 - 8008346: 2b00 cmp r3, #0 - 8008348: d007 beq.n 800835a + 8008cc6: 687b ldr r3, [r7, #4] + 8008cc8: 6f9b ldr r3, [r3, #120] @ 0x78 + 8008cca: 2b00 cmp r3, #0 + 8008ccc: d007 beq.n 8008cde LWIP_DEBUGF(TCP_DEBUG, ("tcp_pcb_purge: data left on ->refused_data\n")); pbuf_free(pcb->refused_data); - 800834a: 687b ldr r3, [r7, #4] - 800834c: 6f9b ldr r3, [r3, #120] @ 0x78 - 800834e: 4618 mov r0, r3 - 8008350: f7fe fb6a bl 8006a28 + 8008cce: 687b ldr r3, [r7, #4] + 8008cd0: 6f9b ldr r3, [r3, #120] @ 0x78 + 8008cd2: 4618 mov r0, r3 + 8008cd4: f7fe fb6a bl 80073ac pcb->refused_data = NULL; - 8008354: 687b ldr r3, [r7, #4] - 8008356: 2200 movs r2, #0 - 8008358: 679a str r2, [r3, #120] @ 0x78 + 8008cd8: 687b ldr r3, [r7, #4] + 8008cda: 2200 movs r2, #0 + 8008cdc: 679a str r2, [r3, #120] @ 0x78 } if (pcb->unacked != NULL) { LWIP_DEBUGF(TCP_DEBUG, ("tcp_pcb_purge: data left on ->unacked\n")); } #if TCP_QUEUE_OOSEQ if (pcb->ooseq != NULL) { - 800835a: 687b ldr r3, [r7, #4] - 800835c: 6f5b ldr r3, [r3, #116] @ 0x74 - 800835e: 2b00 cmp r3, #0 - 8008360: d002 beq.n 8008368 + 8008cde: 687b ldr r3, [r7, #4] + 8008ce0: 6f5b ldr r3, [r3, #116] @ 0x74 + 8008ce2: 2b00 cmp r3, #0 + 8008ce4: d002 beq.n 8008cec LWIP_DEBUGF(TCP_DEBUG, ("tcp_pcb_purge: data left on ->ooseq\n")); tcp_free_ooseq(pcb); - 8008362: 6878 ldr r0, [r7, #4] - 8008364: f000 f986 bl 8008674 + 8008ce6: 6878 ldr r0, [r7, #4] + 8008ce8: f000 f986 bl 8008ff8 } #endif /* TCP_QUEUE_OOSEQ */ /* Stop the retransmission timer as it will expect data on unacked queue if it fires */ pcb->rtime = -1; - 8008368: 687b ldr r3, [r7, #4] - 800836a: f64f 72ff movw r2, #65535 @ 0xffff - 800836e: 861a strh r2, [r3, #48] @ 0x30 + 8008cec: 687b ldr r3, [r7, #4] + 8008cee: f64f 72ff movw r2, #65535 @ 0xffff + 8008cf2: 861a strh r2, [r3, #48] @ 0x30 tcp_segs_free(pcb->unsent); - 8008370: 687b ldr r3, [r7, #4] - 8008372: 6edb ldr r3, [r3, #108] @ 0x6c - 8008374: 4618 mov r0, r3 - 8008376: f7ff fdc7 bl 8007f08 + 8008cf4: 687b ldr r3, [r7, #4] + 8008cf6: 6edb ldr r3, [r3, #108] @ 0x6c + 8008cf8: 4618 mov r0, r3 + 8008cfa: f7ff fdc7 bl 800888c tcp_segs_free(pcb->unacked); - 800837a: 687b ldr r3, [r7, #4] - 800837c: 6f1b ldr r3, [r3, #112] @ 0x70 - 800837e: 4618 mov r0, r3 - 8008380: f7ff fdc2 bl 8007f08 + 8008cfe: 687b ldr r3, [r7, #4] + 8008d00: 6f1b ldr r3, [r3, #112] @ 0x70 + 8008d02: 4618 mov r0, r3 + 8008d04: f7ff fdc2 bl 800888c pcb->unacked = pcb->unsent = NULL; - 8008384: 687b ldr r3, [r7, #4] - 8008386: 2200 movs r2, #0 - 8008388: 66da str r2, [r3, #108] @ 0x6c - 800838a: 687b ldr r3, [r7, #4] - 800838c: 6eda ldr r2, [r3, #108] @ 0x6c - 800838e: 687b ldr r3, [r7, #4] - 8008390: 671a str r2, [r3, #112] @ 0x70 + 8008d08: 687b ldr r3, [r7, #4] + 8008d0a: 2200 movs r2, #0 + 8008d0c: 66da str r2, [r3, #108] @ 0x6c + 8008d0e: 687b ldr r3, [r7, #4] + 8008d10: 6eda ldr r2, [r3, #108] @ 0x6c + 8008d12: 687b ldr r3, [r7, #4] + 8008d14: 671a str r2, [r3, #112] @ 0x70 #if TCP_OVERSIZE pcb->unsent_oversize = 0; - 8008392: 687b ldr r3, [r7, #4] - 8008394: 2200 movs r2, #0 - 8008396: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 + 8008d16: 687b ldr r3, [r7, #4] + 8008d18: 2200 movs r2, #0 + 8008d1a: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 #endif /* TCP_OVERSIZE */ } } - 800839a: 3708 adds r7, #8 - 800839c: 46bd mov sp, r7 - 800839e: bd80 pop {r7, pc} - 80083a0: 08016ab4 .word 0x08016ab4 - 80083a4: 08017100 .word 0x08017100 - 80083a8: 08016af8 .word 0x08016af8 + 8008d1e: 3708 adds r7, #8 + 8008d20: 46bd mov sp, r7 + 8008d22: bd80 pop {r7, pc} + 8008d24: 08017434 .word 0x08017434 + 8008d28: 08017a80 .word 0x08017a80 + 8008d2c: 08017478 .word 0x08017478 -080083ac : +08008d30 : * @param pcblist PCB list to purge. * @param pcb tcp_pcb to purge. The pcb itself is NOT deallocated! */ void tcp_pcb_remove(struct tcp_pcb **pcblist, struct tcp_pcb *pcb) { - 80083ac: b580 push {r7, lr} - 80083ae: b084 sub sp, #16 - 80083b0: af00 add r7, sp, #0 - 80083b2: 6078 str r0, [r7, #4] - 80083b4: 6039 str r1, [r7, #0] + 8008d30: b580 push {r7, lr} + 8008d32: b084 sub sp, #16 + 8008d34: af00 add r7, sp, #0 + 8008d36: 6078 str r0, [r7, #4] + 8008d38: 6039 str r1, [r7, #0] LWIP_ASSERT("tcp_pcb_remove: invalid pcb", pcb != NULL); - 80083b6: 683b ldr r3, [r7, #0] - 80083b8: 2b00 cmp r3, #0 - 80083ba: d106 bne.n 80083ca - 80083bc: 4b3e ldr r3, [pc, #248] @ (80084b8 ) - 80083be: f640 0283 movw r2, #2179 @ 0x883 - 80083c2: 493e ldr r1, [pc, #248] @ (80084bc ) - 80083c4: 483e ldr r0, [pc, #248] @ (80084c0 ) - 80083c6: f009 f917 bl 80115f8 + 8008d3a: 683b ldr r3, [r7, #0] + 8008d3c: 2b00 cmp r3, #0 + 8008d3e: d106 bne.n 8008d4e + 8008d40: 4b3e ldr r3, [pc, #248] @ (8008e3c ) + 8008d42: f640 0283 movw r2, #2179 @ 0x883 + 8008d46: 493e ldr r1, [pc, #248] @ (8008e40 ) + 8008d48: 483e ldr r0, [pc, #248] @ (8008e44 ) + 8008d4a: f009 f917 bl 8011f7c LWIP_ASSERT("tcp_pcb_remove: invalid pcblist", pcblist != NULL); - 80083ca: 687b ldr r3, [r7, #4] - 80083cc: 2b00 cmp r3, #0 - 80083ce: d106 bne.n 80083de - 80083d0: 4b39 ldr r3, [pc, #228] @ (80084b8 ) - 80083d2: f640 0284 movw r2, #2180 @ 0x884 - 80083d6: 493b ldr r1, [pc, #236] @ (80084c4 ) - 80083d8: 4839 ldr r0, [pc, #228] @ (80084c0 ) - 80083da: f009 f90d bl 80115f8 + 8008d4e: 687b ldr r3, [r7, #4] + 8008d50: 2b00 cmp r3, #0 + 8008d52: d106 bne.n 8008d62 + 8008d54: 4b39 ldr r3, [pc, #228] @ (8008e3c ) + 8008d56: f640 0284 movw r2, #2180 @ 0x884 + 8008d5a: 493b ldr r1, [pc, #236] @ (8008e48 ) + 8008d5c: 4839 ldr r0, [pc, #228] @ (8008e44 ) + 8008d5e: f009 f90d bl 8011f7c TCP_RMV(pcblist, pcb); - 80083de: 687b ldr r3, [r7, #4] - 80083e0: 681b ldr r3, [r3, #0] - 80083e2: 683a ldr r2, [r7, #0] - 80083e4: 429a cmp r2, r3 - 80083e6: d105 bne.n 80083f4 - 80083e8: 687b ldr r3, [r7, #4] - 80083ea: 681b ldr r3, [r3, #0] - 80083ec: 68da ldr r2, [r3, #12] - 80083ee: 687b ldr r3, [r7, #4] - 80083f0: 601a str r2, [r3, #0] - 80083f2: e013 b.n 800841c - 80083f4: 687b ldr r3, [r7, #4] - 80083f6: 681b ldr r3, [r3, #0] - 80083f8: 60fb str r3, [r7, #12] - 80083fa: e00c b.n 8008416 - 80083fc: 68fb ldr r3, [r7, #12] - 80083fe: 68db ldr r3, [r3, #12] - 8008400: 683a ldr r2, [r7, #0] - 8008402: 429a cmp r2, r3 - 8008404: d104 bne.n 8008410 - 8008406: 683b ldr r3, [r7, #0] - 8008408: 68da ldr r2, [r3, #12] - 800840a: 68fb ldr r3, [r7, #12] - 800840c: 60da str r2, [r3, #12] - 800840e: e005 b.n 800841c - 8008410: 68fb ldr r3, [r7, #12] - 8008412: 68db ldr r3, [r3, #12] - 8008414: 60fb str r3, [r7, #12] - 8008416: 68fb ldr r3, [r7, #12] - 8008418: 2b00 cmp r3, #0 - 800841a: d1ef bne.n 80083fc - 800841c: 683b ldr r3, [r7, #0] - 800841e: 2200 movs r2, #0 - 8008420: 60da str r2, [r3, #12] + 8008d62: 687b ldr r3, [r7, #4] + 8008d64: 681b ldr r3, [r3, #0] + 8008d66: 683a ldr r2, [r7, #0] + 8008d68: 429a cmp r2, r3 + 8008d6a: d105 bne.n 8008d78 + 8008d6c: 687b ldr r3, [r7, #4] + 8008d6e: 681b ldr r3, [r3, #0] + 8008d70: 68da ldr r2, [r3, #12] + 8008d72: 687b ldr r3, [r7, #4] + 8008d74: 601a str r2, [r3, #0] + 8008d76: e013 b.n 8008da0 + 8008d78: 687b ldr r3, [r7, #4] + 8008d7a: 681b ldr r3, [r3, #0] + 8008d7c: 60fb str r3, [r7, #12] + 8008d7e: e00c b.n 8008d9a + 8008d80: 68fb ldr r3, [r7, #12] + 8008d82: 68db ldr r3, [r3, #12] + 8008d84: 683a ldr r2, [r7, #0] + 8008d86: 429a cmp r2, r3 + 8008d88: d104 bne.n 8008d94 + 8008d8a: 683b ldr r3, [r7, #0] + 8008d8c: 68da ldr r2, [r3, #12] + 8008d8e: 68fb ldr r3, [r7, #12] + 8008d90: 60da str r2, [r3, #12] + 8008d92: e005 b.n 8008da0 + 8008d94: 68fb ldr r3, [r7, #12] + 8008d96: 68db ldr r3, [r3, #12] + 8008d98: 60fb str r3, [r7, #12] + 8008d9a: 68fb ldr r3, [r7, #12] + 8008d9c: 2b00 cmp r3, #0 + 8008d9e: d1ef bne.n 8008d80 + 8008da0: 683b ldr r3, [r7, #0] + 8008da2: 2200 movs r2, #0 + 8008da4: 60da str r2, [r3, #12] tcp_pcb_purge(pcb); - 8008422: 6838 ldr r0, [r7, #0] - 8008424: f7ff ff72 bl 800830c + 8008da6: 6838 ldr r0, [r7, #0] + 8008da8: f7ff ff72 bl 8008c90 /* if there is an outstanding delayed ACKs, send it */ if ((pcb->state != TIME_WAIT) && - 8008428: 683b ldr r3, [r7, #0] - 800842a: 7d1b ldrb r3, [r3, #20] - 800842c: 2b0a cmp r3, #10 - 800842e: d013 beq.n 8008458 + 8008dac: 683b ldr r3, [r7, #0] + 8008dae: 7d1b ldrb r3, [r3, #20] + 8008db0: 2b0a cmp r3, #10 + 8008db2: d013 beq.n 8008ddc (pcb->state != LISTEN) && - 8008430: 683b ldr r3, [r7, #0] - 8008432: 7d1b ldrb r3, [r3, #20] + 8008db4: 683b ldr r3, [r7, #0] + 8008db6: 7d1b ldrb r3, [r3, #20] if ((pcb->state != TIME_WAIT) && - 8008434: 2b01 cmp r3, #1 - 8008436: d00f beq.n 8008458 + 8008db8: 2b01 cmp r3, #1 + 8008dba: d00f beq.n 8008ddc (pcb->flags & TF_ACK_DELAY)) { - 8008438: 683b ldr r3, [r7, #0] - 800843a: 8b5b ldrh r3, [r3, #26] - 800843c: f003 0301 and.w r3, r3, #1 + 8008dbc: 683b ldr r3, [r7, #0] + 8008dbe: 8b5b ldrh r3, [r3, #26] + 8008dc0: f003 0301 and.w r3, r3, #1 (pcb->state != LISTEN) && - 8008440: 2b00 cmp r3, #0 - 8008442: d009 beq.n 8008458 + 8008dc4: 2b00 cmp r3, #0 + 8008dc6: d009 beq.n 8008ddc tcp_ack_now(pcb); - 8008444: 683b ldr r3, [r7, #0] - 8008446: 8b5b ldrh r3, [r3, #26] - 8008448: f043 0302 orr.w r3, r3, #2 - 800844c: b29a uxth r2, r3 - 800844e: 683b ldr r3, [r7, #0] - 8008450: 835a strh r2, [r3, #26] + 8008dc8: 683b ldr r3, [r7, #0] + 8008dca: 8b5b ldrh r3, [r3, #26] + 8008dcc: f043 0302 orr.w r3, r3, #2 + 8008dd0: b29a uxth r2, r3 + 8008dd2: 683b ldr r3, [r7, #0] + 8008dd4: 835a strh r2, [r3, #26] tcp_output(pcb); - 8008452: 6838 ldr r0, [r7, #0] - 8008454: f002 ff68 bl 800b328 + 8008dd6: 6838 ldr r0, [r7, #0] + 8008dd8: f002 ff68 bl 800bcac } if (pcb->state != LISTEN) { - 8008458: 683b ldr r3, [r7, #0] - 800845a: 7d1b ldrb r3, [r3, #20] - 800845c: 2b01 cmp r3, #1 - 800845e: d020 beq.n 80084a2 + 8008ddc: 683b ldr r3, [r7, #0] + 8008dde: 7d1b ldrb r3, [r3, #20] + 8008de0: 2b01 cmp r3, #1 + 8008de2: d020 beq.n 8008e26 LWIP_ASSERT("unsent segments leaking", pcb->unsent == NULL); - 8008460: 683b ldr r3, [r7, #0] - 8008462: 6edb ldr r3, [r3, #108] @ 0x6c - 8008464: 2b00 cmp r3, #0 - 8008466: d006 beq.n 8008476 - 8008468: 4b13 ldr r3, [pc, #76] @ (80084b8 ) - 800846a: f640 0293 movw r2, #2195 @ 0x893 - 800846e: 4916 ldr r1, [pc, #88] @ (80084c8 ) - 8008470: 4813 ldr r0, [pc, #76] @ (80084c0 ) - 8008472: f009 f8c1 bl 80115f8 + 8008de4: 683b ldr r3, [r7, #0] + 8008de6: 6edb ldr r3, [r3, #108] @ 0x6c + 8008de8: 2b00 cmp r3, #0 + 8008dea: d006 beq.n 8008dfa + 8008dec: 4b13 ldr r3, [pc, #76] @ (8008e3c ) + 8008dee: f640 0293 movw r2, #2195 @ 0x893 + 8008df2: 4916 ldr r1, [pc, #88] @ (8008e4c ) + 8008df4: 4813 ldr r0, [pc, #76] @ (8008e44 ) + 8008df6: f009 f8c1 bl 8011f7c LWIP_ASSERT("unacked segments leaking", pcb->unacked == NULL); - 8008476: 683b ldr r3, [r7, #0] - 8008478: 6f1b ldr r3, [r3, #112] @ 0x70 - 800847a: 2b00 cmp r3, #0 - 800847c: d006 beq.n 800848c - 800847e: 4b0e ldr r3, [pc, #56] @ (80084b8 ) - 8008480: f640 0294 movw r2, #2196 @ 0x894 - 8008484: 4911 ldr r1, [pc, #68] @ (80084cc ) - 8008486: 480e ldr r0, [pc, #56] @ (80084c0 ) - 8008488: f009 f8b6 bl 80115f8 + 8008dfa: 683b ldr r3, [r7, #0] + 8008dfc: 6f1b ldr r3, [r3, #112] @ 0x70 + 8008dfe: 2b00 cmp r3, #0 + 8008e00: d006 beq.n 8008e10 + 8008e02: 4b0e ldr r3, [pc, #56] @ (8008e3c ) + 8008e04: f640 0294 movw r2, #2196 @ 0x894 + 8008e08: 4911 ldr r1, [pc, #68] @ (8008e50 ) + 8008e0a: 480e ldr r0, [pc, #56] @ (8008e44 ) + 8008e0c: f009 f8b6 bl 8011f7c #if TCP_QUEUE_OOSEQ LWIP_ASSERT("ooseq segments leaking", pcb->ooseq == NULL); - 800848c: 683b ldr r3, [r7, #0] - 800848e: 6f5b ldr r3, [r3, #116] @ 0x74 - 8008490: 2b00 cmp r3, #0 - 8008492: d006 beq.n 80084a2 - 8008494: 4b08 ldr r3, [pc, #32] @ (80084b8 ) - 8008496: f640 0296 movw r2, #2198 @ 0x896 - 800849a: 490d ldr r1, [pc, #52] @ (80084d0 ) - 800849c: 4808 ldr r0, [pc, #32] @ (80084c0 ) - 800849e: f009 f8ab bl 80115f8 + 8008e10: 683b ldr r3, [r7, #0] + 8008e12: 6f5b ldr r3, [r3, #116] @ 0x74 + 8008e14: 2b00 cmp r3, #0 + 8008e16: d006 beq.n 8008e26 + 8008e18: 4b08 ldr r3, [pc, #32] @ (8008e3c ) + 8008e1a: f640 0296 movw r2, #2198 @ 0x896 + 8008e1e: 490d ldr r1, [pc, #52] @ (8008e54 ) + 8008e20: 4808 ldr r0, [pc, #32] @ (8008e44 ) + 8008e22: f009 f8ab bl 8011f7c #endif /* TCP_QUEUE_OOSEQ */ } pcb->state = CLOSED; - 80084a2: 683b ldr r3, [r7, #0] - 80084a4: 2200 movs r2, #0 - 80084a6: 751a strb r2, [r3, #20] + 8008e26: 683b ldr r3, [r7, #0] + 8008e28: 2200 movs r2, #0 + 8008e2a: 751a strb r2, [r3, #20] /* reset the local port to prevent the pcb from being 'bound' */ pcb->local_port = 0; - 80084a8: 683b ldr r3, [r7, #0] - 80084aa: 2200 movs r2, #0 - 80084ac: 82da strh r2, [r3, #22] + 8008e2c: 683b ldr r3, [r7, #0] + 8008e2e: 2200 movs r2, #0 + 8008e30: 82da strh r2, [r3, #22] LWIP_ASSERT("tcp_pcb_remove: tcp_pcbs_sane()", tcp_pcbs_sane()); } - 80084ae: bf00 nop - 80084b0: 3710 adds r7, #16 - 80084b2: 46bd mov sp, r7 - 80084b4: bd80 pop {r7, pc} - 80084b6: bf00 nop - 80084b8: 08016ab4 .word 0x08016ab4 - 80084bc: 0801711c .word 0x0801711c - 80084c0: 08016af8 .word 0x08016af8 - 80084c4: 08017138 .word 0x08017138 - 80084c8: 08017158 .word 0x08017158 - 80084cc: 08017170 .word 0x08017170 - 80084d0: 0801718c .word 0x0801718c + 8008e32: bf00 nop + 8008e34: 3710 adds r7, #16 + 8008e36: 46bd mov sp, r7 + 8008e38: bd80 pop {r7, pc} + 8008e3a: bf00 nop + 8008e3c: 08017434 .word 0x08017434 + 8008e40: 08017a9c .word 0x08017a9c + 8008e44: 08017478 .word 0x08017478 + 8008e48: 08017ab8 .word 0x08017ab8 + 8008e4c: 08017ad8 .word 0x08017ad8 + 8008e50: 08017af0 .word 0x08017af0 + 8008e54: 08017b0c .word 0x08017b0c -080084d4 : +08008e58 : * * @return u32_t pseudo random sequence number */ u32_t tcp_next_iss(struct tcp_pcb *pcb) { - 80084d4: b580 push {r7, lr} - 80084d6: b082 sub sp, #8 - 80084d8: af00 add r7, sp, #0 - 80084da: 6078 str r0, [r7, #4] + 8008e58: b580 push {r7, lr} + 8008e5a: b082 sub sp, #8 + 8008e5c: af00 add r7, sp, #0 + 8008e5e: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_next_iss: invalid pcb", pcb != NULL); return LWIP_HOOK_TCP_ISN(&pcb->local_ip, pcb->local_port, &pcb->remote_ip, pcb->remote_port); #else /* LWIP_HOOK_TCP_ISN */ static u32_t iss = 6510; LWIP_ASSERT("tcp_next_iss: invalid pcb", pcb != NULL); - 80084dc: 687b ldr r3, [r7, #4] - 80084de: 2b00 cmp r3, #0 - 80084e0: d106 bne.n 80084f0 - 80084e2: 4b0a ldr r3, [pc, #40] @ (800850c ) - 80084e4: f640 02af movw r2, #2223 @ 0x8af - 80084e8: 4909 ldr r1, [pc, #36] @ (8008510 ) - 80084ea: 480a ldr r0, [pc, #40] @ (8008514 ) - 80084ec: f009 f884 bl 80115f8 + 8008e60: 687b ldr r3, [r7, #4] + 8008e62: 2b00 cmp r3, #0 + 8008e64: d106 bne.n 8008e74 + 8008e66: 4b0a ldr r3, [pc, #40] @ (8008e90 ) + 8008e68: f640 02af movw r2, #2223 @ 0x8af + 8008e6c: 4909 ldr r1, [pc, #36] @ (8008e94 ) + 8008e6e: 480a ldr r0, [pc, #40] @ (8008e98 ) + 8008e70: f009 f884 bl 8011f7c LWIP_UNUSED_ARG(pcb); iss += tcp_ticks; /* XXX */ - 80084f0: 4b09 ldr r3, [pc, #36] @ (8008518 ) - 80084f2: 681a ldr r2, [r3, #0] - 80084f4: 4b09 ldr r3, [pc, #36] @ (800851c ) - 80084f6: 681b ldr r3, [r3, #0] - 80084f8: 4413 add r3, r2 - 80084fa: 4a07 ldr r2, [pc, #28] @ (8008518 ) - 80084fc: 6013 str r3, [r2, #0] + 8008e74: 4b09 ldr r3, [pc, #36] @ (8008e9c ) + 8008e76: 681a ldr r2, [r3, #0] + 8008e78: 4b09 ldr r3, [pc, #36] @ (8008ea0 ) + 8008e7a: 681b ldr r3, [r3, #0] + 8008e7c: 4413 add r3, r2 + 8008e7e: 4a07 ldr r2, [pc, #28] @ (8008e9c ) + 8008e80: 6013 str r3, [r2, #0] return iss; - 80084fe: 4b06 ldr r3, [pc, #24] @ (8008518 ) - 8008500: 681b ldr r3, [r3, #0] + 8008e82: 4b06 ldr r3, [pc, #24] @ (8008e9c ) + 8008e84: 681b ldr r3, [r3, #0] #endif /* LWIP_HOOK_TCP_ISN */ } - 8008502: 4618 mov r0, r3 - 8008504: 3708 adds r7, #8 - 8008506: 46bd mov sp, r7 - 8008508: bd80 pop {r7, pc} - 800850a: bf00 nop - 800850c: 08016ab4 .word 0x08016ab4 - 8008510: 080171a4 .word 0x080171a4 - 8008514: 08016af8 .word 0x08016af8 - 8008518: 20000024 .word 0x20000024 - 800851c: 200190a4 .word 0x200190a4 + 8008e86: 4618 mov r0, r3 + 8008e88: 3708 adds r7, #8 + 8008e8a: 46bd mov sp, r7 + 8008e8c: bd80 pop {r7, pc} + 8008e8e: bf00 nop + 8008e90: 08017434 .word 0x08017434 + 8008e94: 08017b24 .word 0x08017b24 + 8008e98: 08017478 .word 0x08017478 + 8008e9c: 20000024 .word 0x20000024 + 8008ea0: 200190d8 .word 0x200190d8 -08008520 : +08008ea4 : * by calculating the minimum of TCP_MSS and the mtu (if set) of the target * netif (if not NULL). */ u16_t tcp_eff_send_mss_netif(u16_t sendmss, struct netif *outif, const ip_addr_t *dest) { - 8008520: b580 push {r7, lr} - 8008522: b086 sub sp, #24 - 8008524: af00 add r7, sp, #0 - 8008526: 4603 mov r3, r0 - 8008528: 60b9 str r1, [r7, #8] - 800852a: 607a str r2, [r7, #4] - 800852c: 81fb strh r3, [r7, #14] + 8008ea4: b580 push {r7, lr} + 8008ea6: b086 sub sp, #24 + 8008ea8: af00 add r7, sp, #0 + 8008eaa: 4603 mov r3, r0 + 8008eac: 60b9 str r1, [r7, #8] + 8008eae: 607a str r2, [r7, #4] + 8008eb0: 81fb strh r3, [r7, #14] u16_t mss_s; u16_t mtu; LWIP_UNUSED_ARG(dest); /* in case IPv6 is disabled */ LWIP_ASSERT("tcp_eff_send_mss_netif: invalid dst_ip", dest != NULL); - 800852e: 687b ldr r3, [r7, #4] - 8008530: 2b00 cmp r3, #0 - 8008532: d106 bne.n 8008542 - 8008534: 4b14 ldr r3, [pc, #80] @ (8008588 ) - 8008536: f640 02c5 movw r2, #2245 @ 0x8c5 - 800853a: 4914 ldr r1, [pc, #80] @ (800858c ) - 800853c: 4814 ldr r0, [pc, #80] @ (8008590 ) - 800853e: f009 f85b bl 80115f8 + 8008eb2: 687b ldr r3, [r7, #4] + 8008eb4: 2b00 cmp r3, #0 + 8008eb6: d106 bne.n 8008ec6 + 8008eb8: 4b14 ldr r3, [pc, #80] @ (8008f0c ) + 8008eba: f640 02c5 movw r2, #2245 @ 0x8c5 + 8008ebe: 4914 ldr r1, [pc, #80] @ (8008f10 ) + 8008ec0: 4814 ldr r0, [pc, #80] @ (8008f14 ) + 8008ec2: f009 f85b bl 8011f7c else #endif /* LWIP_IPV4 */ #endif /* LWIP_IPV6 */ #if LWIP_IPV4 { if (outif == NULL) { - 8008542: 68bb ldr r3, [r7, #8] - 8008544: 2b00 cmp r3, #0 - 8008546: d101 bne.n 800854c + 8008ec6: 68bb ldr r3, [r7, #8] + 8008ec8: 2b00 cmp r3, #0 + 8008eca: d101 bne.n 8008ed0 return sendmss; - 8008548: 89fb ldrh r3, [r7, #14] - 800854a: e019 b.n 8008580 + 8008ecc: 89fb ldrh r3, [r7, #14] + 8008ece: e019 b.n 8008f04 } mtu = outif->mtu; - 800854c: 68bb ldr r3, [r7, #8] - 800854e: 8d1b ldrh r3, [r3, #40] @ 0x28 - 8008550: 82fb strh r3, [r7, #22] + 8008ed0: 68bb ldr r3, [r7, #8] + 8008ed2: 8d1b ldrh r3, [r3, #40] @ 0x28 + 8008ed4: 82fb strh r3, [r7, #22] } #endif /* LWIP_IPV4 */ if (mtu != 0) { - 8008552: 8afb ldrh r3, [r7, #22] - 8008554: 2b00 cmp r3, #0 - 8008556: d012 beq.n 800857e + 8008ed6: 8afb ldrh r3, [r7, #22] + 8008ed8: 2b00 cmp r3, #0 + 8008eda: d012 beq.n 8008f02 else #endif /* LWIP_IPV4 */ #endif /* LWIP_IPV6 */ #if LWIP_IPV4 { offset = IP_HLEN + TCP_HLEN; - 8008558: 2328 movs r3, #40 @ 0x28 - 800855a: 82bb strh r3, [r7, #20] + 8008edc: 2328 movs r3, #40 @ 0x28 + 8008ede: 82bb strh r3, [r7, #20] } #endif /* LWIP_IPV4 */ mss_s = (mtu > offset) ? (u16_t)(mtu - offset) : 0; - 800855c: 8afa ldrh r2, [r7, #22] - 800855e: 8abb ldrh r3, [r7, #20] - 8008560: 429a cmp r2, r3 - 8008562: d904 bls.n 800856e - 8008564: 8afa ldrh r2, [r7, #22] - 8008566: 8abb ldrh r3, [r7, #20] - 8008568: 1ad3 subs r3, r2, r3 - 800856a: b29b uxth r3, r3 - 800856c: e000 b.n 8008570 - 800856e: 2300 movs r3, #0 - 8008570: 827b strh r3, [r7, #18] + 8008ee0: 8afa ldrh r2, [r7, #22] + 8008ee2: 8abb ldrh r3, [r7, #20] + 8008ee4: 429a cmp r2, r3 + 8008ee6: d904 bls.n 8008ef2 + 8008ee8: 8afa ldrh r2, [r7, #22] + 8008eea: 8abb ldrh r3, [r7, #20] + 8008eec: 1ad3 subs r3, r2, r3 + 8008eee: b29b uxth r3, r3 + 8008ef0: e000 b.n 8008ef4 + 8008ef2: 2300 movs r3, #0 + 8008ef4: 827b strh r3, [r7, #18] /* RFC 1122, chap 4.2.2.6: * Eff.snd.MSS = min(SendMSS+20, MMS_S) - TCPhdrsize - IPoptionsize * We correct for TCP options in tcp_write(), and don't support IP options. */ sendmss = LWIP_MIN(sendmss, mss_s); - 8008572: 8a7a ldrh r2, [r7, #18] - 8008574: 89fb ldrh r3, [r7, #14] - 8008576: 4293 cmp r3, r2 - 8008578: bf28 it cs - 800857a: 4613 movcs r3, r2 - 800857c: 81fb strh r3, [r7, #14] + 8008ef6: 8a7a ldrh r2, [r7, #18] + 8008ef8: 89fb ldrh r3, [r7, #14] + 8008efa: 4293 cmp r3, r2 + 8008efc: bf28 it cs + 8008efe: 4613 movcs r3, r2 + 8008f00: 81fb strh r3, [r7, #14] } return sendmss; - 800857e: 89fb ldrh r3, [r7, #14] + 8008f02: 89fb ldrh r3, [r7, #14] } - 8008580: 4618 mov r0, r3 - 8008582: 3718 adds r7, #24 - 8008584: 46bd mov sp, r7 - 8008586: bd80 pop {r7, pc} - 8008588: 08016ab4 .word 0x08016ab4 - 800858c: 080171c0 .word 0x080171c0 - 8008590: 08016af8 .word 0x08016af8 + 8008f04: 4618 mov r0, r3 + 8008f06: 3718 adds r7, #24 + 8008f08: 46bd mov sp, r7 + 8008f0a: bd80 pop {r7, pc} + 8008f0c: 08017434 .word 0x08017434 + 8008f10: 08017b40 .word 0x08017b40 + 8008f14: 08017478 .word 0x08017478 -08008594 : +08008f18 : #endif /* TCP_CALCULATE_EFF_SEND_MSS */ /** Helper function for tcp_netif_ip_addr_changed() that iterates a pcb list */ static void tcp_netif_ip_addr_changed_pcblist(const ip_addr_t *old_addr, struct tcp_pcb *pcb_list) { - 8008594: b580 push {r7, lr} - 8008596: b084 sub sp, #16 - 8008598: af00 add r7, sp, #0 - 800859a: 6078 str r0, [r7, #4] - 800859c: 6039 str r1, [r7, #0] + 8008f18: b580 push {r7, lr} + 8008f1a: b084 sub sp, #16 + 8008f1c: af00 add r7, sp, #0 + 8008f1e: 6078 str r0, [r7, #4] + 8008f20: 6039 str r1, [r7, #0] struct tcp_pcb *pcb; pcb = pcb_list; - 800859e: 683b ldr r3, [r7, #0] - 80085a0: 60fb str r3, [r7, #12] + 8008f22: 683b ldr r3, [r7, #0] + 8008f24: 60fb str r3, [r7, #12] LWIP_ASSERT("tcp_netif_ip_addr_changed_pcblist: invalid old_addr", old_addr != NULL); - 80085a2: 687b ldr r3, [r7, #4] - 80085a4: 2b00 cmp r3, #0 - 80085a6: d119 bne.n 80085dc - 80085a8: 4b10 ldr r3, [pc, #64] @ (80085ec ) - 80085aa: f44f 6210 mov.w r2, #2304 @ 0x900 - 80085ae: 4910 ldr r1, [pc, #64] @ (80085f0 ) - 80085b0: 4810 ldr r0, [pc, #64] @ (80085f4 ) - 80085b2: f009 f821 bl 80115f8 + 8008f26: 687b ldr r3, [r7, #4] + 8008f28: 2b00 cmp r3, #0 + 8008f2a: d119 bne.n 8008f60 + 8008f2c: 4b10 ldr r3, [pc, #64] @ (8008f70 ) + 8008f2e: f44f 6210 mov.w r2, #2304 @ 0x900 + 8008f32: 4910 ldr r1, [pc, #64] @ (8008f74 ) + 8008f34: 4810 ldr r0, [pc, #64] @ (8008f78 ) + 8008f36: f009 f821 bl 8011f7c while (pcb != NULL) { - 80085b6: e011 b.n 80085dc + 8008f3a: e011 b.n 8008f60 /* PCB bound to current local interface address? */ if (ip_addr_cmp(&pcb->local_ip, old_addr) - 80085b8: 68fb ldr r3, [r7, #12] - 80085ba: 681a ldr r2, [r3, #0] - 80085bc: 687b ldr r3, [r7, #4] - 80085be: 681b ldr r3, [r3, #0] - 80085c0: 429a cmp r2, r3 - 80085c2: d108 bne.n 80085d6 + 8008f3c: 68fb ldr r3, [r7, #12] + 8008f3e: 681a ldr r2, [r3, #0] + 8008f40: 687b ldr r3, [r7, #4] + 8008f42: 681b ldr r3, [r3, #0] + 8008f44: 429a cmp r2, r3 + 8008f46: d108 bne.n 8008f5a /* connections to link-local addresses must persist (RFC3927 ch. 1.9) */ && (!IP_IS_V4_VAL(pcb->local_ip) || !ip4_addr_islinklocal(ip_2_ip4(&pcb->local_ip))) #endif /* LWIP_AUTOIP */ ) { /* this connection must be aborted */ struct tcp_pcb *next = pcb->next; - 80085c4: 68fb ldr r3, [r7, #12] - 80085c6: 68db ldr r3, [r3, #12] - 80085c8: 60bb str r3, [r7, #8] + 8008f48: 68fb ldr r3, [r7, #12] + 8008f4a: 68db ldr r3, [r3, #12] + 8008f4c: 60bb str r3, [r7, #8] LWIP_DEBUGF(NETIF_DEBUG | LWIP_DBG_STATE, ("netif_set_ipaddr: aborting TCP pcb %p\n", (void *)pcb)); tcp_abort(pcb); - 80085ca: 68f8 ldr r0, [r7, #12] - 80085cc: f7fe ffc4 bl 8007558 + 8008f4e: 68f8 ldr r0, [r7, #12] + 8008f50: f7fe ffc4 bl 8007edc pcb = next; - 80085d0: 68bb ldr r3, [r7, #8] - 80085d2: 60fb str r3, [r7, #12] - 80085d4: e002 b.n 80085dc + 8008f54: 68bb ldr r3, [r7, #8] + 8008f56: 60fb str r3, [r7, #12] + 8008f58: e002 b.n 8008f60 } else { pcb = pcb->next; - 80085d6: 68fb ldr r3, [r7, #12] - 80085d8: 68db ldr r3, [r3, #12] - 80085da: 60fb str r3, [r7, #12] + 8008f5a: 68fb ldr r3, [r7, #12] + 8008f5c: 68db ldr r3, [r3, #12] + 8008f5e: 60fb str r3, [r7, #12] while (pcb != NULL) { - 80085dc: 68fb ldr r3, [r7, #12] - 80085de: 2b00 cmp r3, #0 - 80085e0: d1ea bne.n 80085b8 + 8008f60: 68fb ldr r3, [r7, #12] + 8008f62: 2b00 cmp r3, #0 + 8008f64: d1ea bne.n 8008f3c } } } - 80085e2: bf00 nop - 80085e4: bf00 nop - 80085e6: 3710 adds r7, #16 - 80085e8: 46bd mov sp, r7 - 80085ea: bd80 pop {r7, pc} - 80085ec: 08016ab4 .word 0x08016ab4 - 80085f0: 080171e8 .word 0x080171e8 - 80085f4: 08016af8 .word 0x08016af8 + 8008f66: bf00 nop + 8008f68: bf00 nop + 8008f6a: 3710 adds r7, #16 + 8008f6c: 46bd mov sp, r7 + 8008f6e: bd80 pop {r7, pc} + 8008f70: 08017434 .word 0x08017434 + 8008f74: 08017b68 .word 0x08017b68 + 8008f78: 08017478 .word 0x08017478 -080085f8 : +08008f7c : * @param old_addr IP address of the netif before change * @param new_addr IP address of the netif after change or NULL if netif has been removed */ void tcp_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) { - 80085f8: b580 push {r7, lr} - 80085fa: b084 sub sp, #16 - 80085fc: af00 add r7, sp, #0 - 80085fe: 6078 str r0, [r7, #4] - 8008600: 6039 str r1, [r7, #0] + 8008f7c: b580 push {r7, lr} + 8008f7e: b084 sub sp, #16 + 8008f80: af00 add r7, sp, #0 + 8008f82: 6078 str r0, [r7, #4] + 8008f84: 6039 str r1, [r7, #0] struct tcp_pcb_listen *lpcb; if (!ip_addr_isany(old_addr)) { - 8008602: 687b ldr r3, [r7, #4] - 8008604: 2b00 cmp r3, #0 - 8008606: d02a beq.n 800865e - 8008608: 687b ldr r3, [r7, #4] - 800860a: 681b ldr r3, [r3, #0] - 800860c: 2b00 cmp r3, #0 - 800860e: d026 beq.n 800865e + 8008f86: 687b ldr r3, [r7, #4] + 8008f88: 2b00 cmp r3, #0 + 8008f8a: d02a beq.n 8008fe2 + 8008f8c: 687b ldr r3, [r7, #4] + 8008f8e: 681b ldr r3, [r3, #0] + 8008f90: 2b00 cmp r3, #0 + 8008f92: d026 beq.n 8008fe2 tcp_netif_ip_addr_changed_pcblist(old_addr, tcp_active_pcbs); - 8008610: 4b15 ldr r3, [pc, #84] @ (8008668 ) - 8008612: 681b ldr r3, [r3, #0] - 8008614: 4619 mov r1, r3 - 8008616: 6878 ldr r0, [r7, #4] - 8008618: f7ff ffbc bl 8008594 + 8008f94: 4b15 ldr r3, [pc, #84] @ (8008fec ) + 8008f96: 681b ldr r3, [r3, #0] + 8008f98: 4619 mov r1, r3 + 8008f9a: 6878 ldr r0, [r7, #4] + 8008f9c: f7ff ffbc bl 8008f18 tcp_netif_ip_addr_changed_pcblist(old_addr, tcp_bound_pcbs); - 800861c: 4b13 ldr r3, [pc, #76] @ (800866c ) - 800861e: 681b ldr r3, [r3, #0] - 8008620: 4619 mov r1, r3 - 8008622: 6878 ldr r0, [r7, #4] - 8008624: f7ff ffb6 bl 8008594 + 8008fa0: 4b13 ldr r3, [pc, #76] @ (8008ff0 ) + 8008fa2: 681b ldr r3, [r3, #0] + 8008fa4: 4619 mov r1, r3 + 8008fa6: 6878 ldr r0, [r7, #4] + 8008fa8: f7ff ffb6 bl 8008f18 if (!ip_addr_isany(new_addr)) { - 8008628: 683b ldr r3, [r7, #0] - 800862a: 2b00 cmp r3, #0 - 800862c: d017 beq.n 800865e - 800862e: 683b ldr r3, [r7, #0] - 8008630: 681b ldr r3, [r3, #0] - 8008632: 2b00 cmp r3, #0 - 8008634: d013 beq.n 800865e + 8008fac: 683b ldr r3, [r7, #0] + 8008fae: 2b00 cmp r3, #0 + 8008fb0: d017 beq.n 8008fe2 + 8008fb2: 683b ldr r3, [r7, #0] + 8008fb4: 681b ldr r3, [r3, #0] + 8008fb6: 2b00 cmp r3, #0 + 8008fb8: d013 beq.n 8008fe2 /* PCB bound to current local interface address? */ for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { - 8008636: 4b0e ldr r3, [pc, #56] @ (8008670 ) - 8008638: 681b ldr r3, [r3, #0] - 800863a: 60fb str r3, [r7, #12] - 800863c: e00c b.n 8008658 + 8008fba: 4b0e ldr r3, [pc, #56] @ (8008ff4 ) + 8008fbc: 681b ldr r3, [r3, #0] + 8008fbe: 60fb str r3, [r7, #12] + 8008fc0: e00c b.n 8008fdc /* PCB bound to current local interface address? */ if (ip_addr_cmp(&lpcb->local_ip, old_addr)) { - 800863e: 68fb ldr r3, [r7, #12] - 8008640: 681a ldr r2, [r3, #0] - 8008642: 687b ldr r3, [r7, #4] - 8008644: 681b ldr r3, [r3, #0] - 8008646: 429a cmp r2, r3 - 8008648: d103 bne.n 8008652 + 8008fc2: 68fb ldr r3, [r7, #12] + 8008fc4: 681a ldr r2, [r3, #0] + 8008fc6: 687b ldr r3, [r7, #4] + 8008fc8: 681b ldr r3, [r3, #0] + 8008fca: 429a cmp r2, r3 + 8008fcc: d103 bne.n 8008fd6 /* The PCB is listening to the old ipaddr and * is set to listen to the new one instead */ ip_addr_copy(lpcb->local_ip, *new_addr); - 800864a: 683b ldr r3, [r7, #0] - 800864c: 681a ldr r2, [r3, #0] - 800864e: 68fb ldr r3, [r7, #12] - 8008650: 601a str r2, [r3, #0] + 8008fce: 683b ldr r3, [r7, #0] + 8008fd0: 681a ldr r2, [r3, #0] + 8008fd2: 68fb ldr r3, [r7, #12] + 8008fd4: 601a str r2, [r3, #0] for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { - 8008652: 68fb ldr r3, [r7, #12] - 8008654: 68db ldr r3, [r3, #12] - 8008656: 60fb str r3, [r7, #12] - 8008658: 68fb ldr r3, [r7, #12] - 800865a: 2b00 cmp r3, #0 - 800865c: d1ef bne.n 800863e + 8008fd6: 68fb ldr r3, [r7, #12] + 8008fd8: 68db ldr r3, [r3, #12] + 8008fda: 60fb str r3, [r7, #12] + 8008fdc: 68fb ldr r3, [r7, #12] + 8008fde: 2b00 cmp r3, #0 + 8008fe0: d1ef bne.n 8008fc2 } } } } } - 800865e: bf00 nop - 8008660: 3710 adds r7, #16 - 8008662: 46bd mov sp, r7 - 8008664: bd80 pop {r7, pc} - 8008666: bf00 nop - 8008668: 200190b0 .word 0x200190b0 - 800866c: 200190a8 .word 0x200190a8 - 8008670: 200190ac .word 0x200190ac + 8008fe2: bf00 nop + 8008fe4: 3710 adds r7, #16 + 8008fe6: 46bd mov sp, r7 + 8008fe8: bd80 pop {r7, pc} + 8008fea: bf00 nop + 8008fec: 200190e4 .word 0x200190e4 + 8008ff0: 200190dc .word 0x200190dc + 8008ff4: 200190e0 .word 0x200190e0 -08008674 : +08008ff8 : #if TCP_QUEUE_OOSEQ /* Free all ooseq pbufs (and possibly reset SACK state) */ void tcp_free_ooseq(struct tcp_pcb *pcb) { - 8008674: b580 push {r7, lr} - 8008676: b082 sub sp, #8 - 8008678: af00 add r7, sp, #0 - 800867a: 6078 str r0, [r7, #4] + 8008ff8: b580 push {r7, lr} + 8008ffa: b082 sub sp, #8 + 8008ffc: af00 add r7, sp, #0 + 8008ffe: 6078 str r0, [r7, #4] if (pcb->ooseq) { - 800867c: 687b ldr r3, [r7, #4] - 800867e: 6f5b ldr r3, [r3, #116] @ 0x74 - 8008680: 2b00 cmp r3, #0 - 8008682: d007 beq.n 8008694 + 8009000: 687b ldr r3, [r7, #4] + 8009002: 6f5b ldr r3, [r3, #116] @ 0x74 + 8009004: 2b00 cmp r3, #0 + 8009006: d007 beq.n 8009018 tcp_segs_free(pcb->ooseq); - 8008684: 687b ldr r3, [r7, #4] - 8008686: 6f5b ldr r3, [r3, #116] @ 0x74 - 8008688: 4618 mov r0, r3 - 800868a: f7ff fc3d bl 8007f08 + 8009008: 687b ldr r3, [r7, #4] + 800900a: 6f5b ldr r3, [r3, #116] @ 0x74 + 800900c: 4618 mov r0, r3 + 800900e: f7ff fc3d bl 800888c pcb->ooseq = NULL; - 800868e: 687b ldr r3, [r7, #4] - 8008690: 2200 movs r2, #0 - 8008692: 675a str r2, [r3, #116] @ 0x74 + 8009012: 687b ldr r3, [r7, #4] + 8009014: 2200 movs r2, #0 + 8009016: 675a str r2, [r3, #116] @ 0x74 #if LWIP_TCP_SACK_OUT memset(pcb->rcv_sacks, 0, sizeof(pcb->rcv_sacks)); #endif /* LWIP_TCP_SACK_OUT */ } } - 8008694: bf00 nop - 8008696: 3708 adds r7, #8 - 8008698: 46bd mov sp, r7 - 800869a: bd80 pop {r7, pc} + 8009018: bf00 nop + 800901a: 3708 adds r7, #8 + 800901c: 46bd mov sp, r7 + 800901e: bd80 pop {r7, pc} -0800869c : +08009020 : * @param p received TCP segment to process (p->payload pointing to the TCP header) * @param inp network interface on which this segment was received */ void tcp_input(struct pbuf *p, struct netif *inp) { - 800869c: b590 push {r4, r7, lr} - 800869e: b08d sub sp, #52 @ 0x34 - 80086a0: af04 add r7, sp, #16 - 80086a2: 6078 str r0, [r7, #4] - 80086a4: 6039 str r1, [r7, #0] + 8009020: b590 push {r4, r7, lr} + 8009022: b08d sub sp, #52 @ 0x34 + 8009024: af04 add r7, sp, #16 + 8009026: 6078 str r0, [r7, #4] + 8009028: 6039 str r1, [r7, #0] u8_t hdrlen_bytes; err_t err; LWIP_UNUSED_ARG(inp); LWIP_ASSERT_CORE_LOCKED(); LWIP_ASSERT("tcp_input: invalid pbuf", p != NULL); - 80086a6: 687b ldr r3, [r7, #4] - 80086a8: 2b00 cmp r3, #0 - 80086aa: d105 bne.n 80086b8 - 80086ac: 4b9b ldr r3, [pc, #620] @ (800891c ) - 80086ae: 2283 movs r2, #131 @ 0x83 - 80086b0: 499b ldr r1, [pc, #620] @ (8008920 ) - 80086b2: 489c ldr r0, [pc, #624] @ (8008924 ) - 80086b4: f008 ffa0 bl 80115f8 + 800902a: 687b ldr r3, [r7, #4] + 800902c: 2b00 cmp r3, #0 + 800902e: d105 bne.n 800903c + 8009030: 4b9b ldr r3, [pc, #620] @ (80092a0 ) + 8009032: 2283 movs r2, #131 @ 0x83 + 8009034: 499b ldr r1, [pc, #620] @ (80092a4 ) + 8009036: 489c ldr r0, [pc, #624] @ (80092a8 ) + 8009038: f008 ffa0 bl 8011f7c PERF_START; TCP_STATS_INC(tcp.recv); MIB2_STATS_INC(mib2.tcpinsegs); tcphdr = (struct tcp_hdr *)p->payload; - 80086b8: 687b ldr r3, [r7, #4] - 80086ba: 685b ldr r3, [r3, #4] - 80086bc: 4a9a ldr r2, [pc, #616] @ (8008928 ) - 80086be: 6013 str r3, [r2, #0] + 800903c: 687b ldr r3, [r7, #4] + 800903e: 685b ldr r3, [r3, #4] + 8009040: 4a9a ldr r2, [pc, #616] @ (80092ac ) + 8009042: 6013 str r3, [r2, #0] #if TCP_INPUT_DEBUG tcp_debug_print(tcphdr); #endif /* Check that TCP header fits in payload */ if (p->len < TCP_HLEN) { - 80086c0: 687b ldr r3, [r7, #4] - 80086c2: 895b ldrh r3, [r3, #10] - 80086c4: 2b13 cmp r3, #19 - 80086c6: f240 83d1 bls.w 8008e6c + 8009044: 687b ldr r3, [r7, #4] + 8009046: 895b ldrh r3, [r3, #10] + 8009048: 2b13 cmp r3, #19 + 800904a: f240 83d1 bls.w 80097f0 TCP_STATS_INC(tcp.lenerr); goto dropped; } /* Don't even process incoming broadcasts/multicasts. */ if (ip_addr_isbroadcast(ip_current_dest_addr(), ip_current_netif()) || - 80086ca: 4b98 ldr r3, [pc, #608] @ (800892c ) - 80086cc: 695b ldr r3, [r3, #20] - 80086ce: 4a97 ldr r2, [pc, #604] @ (800892c ) - 80086d0: 6812 ldr r2, [r2, #0] - 80086d2: 4611 mov r1, r2 - 80086d4: 4618 mov r0, r3 - 80086d6: f007 fe1d bl 8010314 - 80086da: 4603 mov r3, r0 - 80086dc: 2b00 cmp r3, #0 - 80086de: f040 83c7 bne.w 8008e70 + 800904e: 4b98 ldr r3, [pc, #608] @ (80092b0 ) + 8009050: 695b ldr r3, [r3, #20] + 8009052: 4a97 ldr r2, [pc, #604] @ (80092b0 ) + 8009054: 6812 ldr r2, [r2, #0] + 8009056: 4611 mov r1, r2 + 8009058: 4618 mov r0, r3 + 800905a: f007 fe1d bl 8010c98 + 800905e: 4603 mov r3, r0 + 8009060: 2b00 cmp r3, #0 + 8009062: f040 83c7 bne.w 80097f4 ip_addr_ismulticast(ip_current_dest_addr())) { - 80086e2: 4b92 ldr r3, [pc, #584] @ (800892c ) - 80086e4: 695b ldr r3, [r3, #20] - 80086e6: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 8009066: 4b92 ldr r3, [pc, #584] @ (80092b0 ) + 8009068: 695b ldr r3, [r3, #20] + 800906a: f003 03f0 and.w r3, r3, #240 @ 0xf0 if (ip_addr_isbroadcast(ip_current_dest_addr(), ip_current_netif()) || - 80086ea: 2be0 cmp r3, #224 @ 0xe0 - 80086ec: f000 83c0 beq.w 8008e70 + 800906e: 2be0 cmp r3, #224 @ 0xe0 + 8009070: f000 83c0 beq.w 80097f4 } } #endif /* CHECKSUM_CHECK_TCP */ /* sanity-check header length */ hdrlen_bytes = TCPH_HDRLEN_BYTES(tcphdr); - 80086f0: 4b8d ldr r3, [pc, #564] @ (8008928 ) - 80086f2: 681b ldr r3, [r3, #0] - 80086f4: 899b ldrh r3, [r3, #12] - 80086f6: b29b uxth r3, r3 - 80086f8: 4618 mov r0, r3 - 80086fa: f7fc fe45 bl 8005388 - 80086fe: 4603 mov r3, r0 - 8008700: 0b1b lsrs r3, r3, #12 - 8008702: b29b uxth r3, r3 - 8008704: b2db uxtb r3, r3 - 8008706: 009b lsls r3, r3, #2 - 8008708: 74bb strb r3, [r7, #18] + 8009074: 4b8d ldr r3, [pc, #564] @ (80092ac ) + 8009076: 681b ldr r3, [r3, #0] + 8009078: 899b ldrh r3, [r3, #12] + 800907a: b29b uxth r3, r3 + 800907c: 4618 mov r0, r3 + 800907e: f7fc fe45 bl 8005d0c + 8009082: 4603 mov r3, r0 + 8009084: 0b1b lsrs r3, r3, #12 + 8009086: b29b uxth r3, r3 + 8009088: b2db uxtb r3, r3 + 800908a: 009b lsls r3, r3, #2 + 800908c: 74bb strb r3, [r7, #18] if ((hdrlen_bytes < TCP_HLEN) || (hdrlen_bytes > p->tot_len)) { - 800870a: 7cbb ldrb r3, [r7, #18] - 800870c: 2b13 cmp r3, #19 - 800870e: f240 83b1 bls.w 8008e74 - 8008712: 7cbb ldrb r3, [r7, #18] - 8008714: b29a uxth r2, r3 - 8008716: 687b ldr r3, [r7, #4] - 8008718: 891b ldrh r3, [r3, #8] - 800871a: 429a cmp r2, r3 - 800871c: f200 83aa bhi.w 8008e74 + 800908e: 7cbb ldrb r3, [r7, #18] + 8009090: 2b13 cmp r3, #19 + 8009092: f240 83b1 bls.w 80097f8 + 8009096: 7cbb ldrb r3, [r7, #18] + 8009098: b29a uxth r2, r3 + 800909a: 687b ldr r3, [r7, #4] + 800909c: 891b ldrh r3, [r3, #8] + 800909e: 429a cmp r2, r3 + 80090a0: f200 83aa bhi.w 80097f8 goto dropped; } /* Move the payload pointer in the pbuf so that it points to the TCP data instead of the TCP header. */ tcphdr_optlen = (u16_t)(hdrlen_bytes - TCP_HLEN); - 8008720: 7cbb ldrb r3, [r7, #18] - 8008722: b29b uxth r3, r3 - 8008724: 3b14 subs r3, #20 - 8008726: b29a uxth r2, r3 - 8008728: 4b81 ldr r3, [pc, #516] @ (8008930 ) - 800872a: 801a strh r2, [r3, #0] + 80090a4: 7cbb ldrb r3, [r7, #18] + 80090a6: b29b uxth r3, r3 + 80090a8: 3b14 subs r3, #20 + 80090aa: b29a uxth r2, r3 + 80090ac: 4b81 ldr r3, [pc, #516] @ (80092b4 ) + 80090ae: 801a strh r2, [r3, #0] tcphdr_opt2 = NULL; - 800872c: 4b81 ldr r3, [pc, #516] @ (8008934 ) - 800872e: 2200 movs r2, #0 - 8008730: 601a str r2, [r3, #0] + 80090b0: 4b81 ldr r3, [pc, #516] @ (80092b8 ) + 80090b2: 2200 movs r2, #0 + 80090b4: 601a str r2, [r3, #0] if (p->len >= hdrlen_bytes) { - 8008732: 687b ldr r3, [r7, #4] - 8008734: 895a ldrh r2, [r3, #10] - 8008736: 7cbb ldrb r3, [r7, #18] - 8008738: b29b uxth r3, r3 - 800873a: 429a cmp r2, r3 - 800873c: d309 bcc.n 8008752 + 80090b6: 687b ldr r3, [r7, #4] + 80090b8: 895a ldrh r2, [r3, #10] + 80090ba: 7cbb ldrb r3, [r7, #18] + 80090bc: b29b uxth r3, r3 + 80090be: 429a cmp r2, r3 + 80090c0: d309 bcc.n 80090d6 /* all options are in the first pbuf */ tcphdr_opt1len = tcphdr_optlen; - 800873e: 4b7c ldr r3, [pc, #496] @ (8008930 ) - 8008740: 881a ldrh r2, [r3, #0] - 8008742: 4b7d ldr r3, [pc, #500] @ (8008938 ) - 8008744: 801a strh r2, [r3, #0] + 80090c2: 4b7c ldr r3, [pc, #496] @ (80092b4 ) + 80090c4: 881a ldrh r2, [r3, #0] + 80090c6: 4b7d ldr r3, [pc, #500] @ (80092bc ) + 80090c8: 801a strh r2, [r3, #0] pbuf_remove_header(p, hdrlen_bytes); /* cannot fail */ - 8008746: 7cbb ldrb r3, [r7, #18] - 8008748: 4619 mov r1, r3 - 800874a: 6878 ldr r0, [r7, #4] - 800874c: f7fe f8e6 bl 800691c - 8008750: e04e b.n 80087f0 + 80090ca: 7cbb ldrb r3, [r7, #18] + 80090cc: 4619 mov r1, r3 + 80090ce: 6878 ldr r0, [r7, #4] + 80090d0: f7fe f8e6 bl 80072a0 + 80090d4: e04e b.n 8009174 } else { u16_t opt2len; /* TCP header fits into first pbuf, options don't - data is in the next pbuf */ /* there must be a next pbuf, due to hdrlen_bytes sanity check above */ LWIP_ASSERT("p->next != NULL", p->next != NULL); - 8008752: 687b ldr r3, [r7, #4] - 8008754: 681b ldr r3, [r3, #0] - 8008756: 2b00 cmp r3, #0 - 8008758: d105 bne.n 8008766 - 800875a: 4b70 ldr r3, [pc, #448] @ (800891c ) - 800875c: 22c2 movs r2, #194 @ 0xc2 - 800875e: 4977 ldr r1, [pc, #476] @ (800893c ) - 8008760: 4870 ldr r0, [pc, #448] @ (8008924 ) - 8008762: f008 ff49 bl 80115f8 + 80090d6: 687b ldr r3, [r7, #4] + 80090d8: 681b ldr r3, [r3, #0] + 80090da: 2b00 cmp r3, #0 + 80090dc: d105 bne.n 80090ea + 80090de: 4b70 ldr r3, [pc, #448] @ (80092a0 ) + 80090e0: 22c2 movs r2, #194 @ 0xc2 + 80090e2: 4977 ldr r1, [pc, #476] @ (80092c0 ) + 80090e4: 4870 ldr r0, [pc, #448] @ (80092a8 ) + 80090e6: f008 ff49 bl 8011f7c /* advance over the TCP header (cannot fail) */ pbuf_remove_header(p, TCP_HLEN); - 8008766: 2114 movs r1, #20 - 8008768: 6878 ldr r0, [r7, #4] - 800876a: f7fe f8d7 bl 800691c + 80090ea: 2114 movs r1, #20 + 80090ec: 6878 ldr r0, [r7, #4] + 80090ee: f7fe f8d7 bl 80072a0 /* determine how long the first and second parts of the options are */ tcphdr_opt1len = p->len; - 800876e: 687b ldr r3, [r7, #4] - 8008770: 895a ldrh r2, [r3, #10] - 8008772: 4b71 ldr r3, [pc, #452] @ (8008938 ) - 8008774: 801a strh r2, [r3, #0] + 80090f2: 687b ldr r3, [r7, #4] + 80090f4: 895a ldrh r2, [r3, #10] + 80090f6: 4b71 ldr r3, [pc, #452] @ (80092bc ) + 80090f8: 801a strh r2, [r3, #0] opt2len = (u16_t)(tcphdr_optlen - tcphdr_opt1len); - 8008776: 4b6e ldr r3, [pc, #440] @ (8008930 ) - 8008778: 881a ldrh r2, [r3, #0] - 800877a: 4b6f ldr r3, [pc, #444] @ (8008938 ) - 800877c: 881b ldrh r3, [r3, #0] - 800877e: 1ad3 subs r3, r2, r3 - 8008780: 823b strh r3, [r7, #16] + 80090fa: 4b6e ldr r3, [pc, #440] @ (80092b4 ) + 80090fc: 881a ldrh r2, [r3, #0] + 80090fe: 4b6f ldr r3, [pc, #444] @ (80092bc ) + 8009100: 881b ldrh r3, [r3, #0] + 8009102: 1ad3 subs r3, r2, r3 + 8009104: 823b strh r3, [r7, #16] /* options continue in the next pbuf: set p to zero length and hide the options in the next pbuf (adjusting p->tot_len) */ pbuf_remove_header(p, tcphdr_opt1len); - 8008782: 4b6d ldr r3, [pc, #436] @ (8008938 ) - 8008784: 881b ldrh r3, [r3, #0] - 8008786: 4619 mov r1, r3 - 8008788: 6878 ldr r0, [r7, #4] - 800878a: f7fe f8c7 bl 800691c + 8009106: 4b6d ldr r3, [pc, #436] @ (80092bc ) + 8009108: 881b ldrh r3, [r3, #0] + 800910a: 4619 mov r1, r3 + 800910c: 6878 ldr r0, [r7, #4] + 800910e: f7fe f8c7 bl 80072a0 /* check that the options fit in the second pbuf */ if (opt2len > p->next->len) { - 800878e: 687b ldr r3, [r7, #4] - 8008790: 681b ldr r3, [r3, #0] - 8008792: 895b ldrh r3, [r3, #10] - 8008794: 8a3a ldrh r2, [r7, #16] - 8008796: 429a cmp r2, r3 - 8008798: f200 836e bhi.w 8008e78 + 8009112: 687b ldr r3, [r7, #4] + 8009114: 681b ldr r3, [r3, #0] + 8009116: 895b ldrh r3, [r3, #10] + 8009118: 8a3a ldrh r2, [r7, #16] + 800911a: 429a cmp r2, r3 + 800911c: f200 836e bhi.w 80097fc TCP_STATS_INC(tcp.lenerr); goto dropped; } /* remember the pointer to the second part of the options */ tcphdr_opt2 = (u8_t *)p->next->payload; - 800879c: 687b ldr r3, [r7, #4] - 800879e: 681b ldr r3, [r3, #0] - 80087a0: 685b ldr r3, [r3, #4] - 80087a2: 4a64 ldr r2, [pc, #400] @ (8008934 ) - 80087a4: 6013 str r3, [r2, #0] + 8009120: 687b ldr r3, [r7, #4] + 8009122: 681b ldr r3, [r3, #0] + 8009124: 685b ldr r3, [r3, #4] + 8009126: 4a64 ldr r2, [pc, #400] @ (80092b8 ) + 8009128: 6013 str r3, [r2, #0] /* advance p->next to point after the options, and manually adjust p->tot_len to keep it consistent with the changed p->next */ pbuf_remove_header(p->next, opt2len); - 80087a6: 687b ldr r3, [r7, #4] - 80087a8: 681b ldr r3, [r3, #0] - 80087aa: 8a3a ldrh r2, [r7, #16] - 80087ac: 4611 mov r1, r2 - 80087ae: 4618 mov r0, r3 - 80087b0: f7fe f8b4 bl 800691c + 800912a: 687b ldr r3, [r7, #4] + 800912c: 681b ldr r3, [r3, #0] + 800912e: 8a3a ldrh r2, [r7, #16] + 8009130: 4611 mov r1, r2 + 8009132: 4618 mov r0, r3 + 8009134: f7fe f8b4 bl 80072a0 p->tot_len = (u16_t)(p->tot_len - opt2len); - 80087b4: 687b ldr r3, [r7, #4] - 80087b6: 891a ldrh r2, [r3, #8] - 80087b8: 8a3b ldrh r3, [r7, #16] - 80087ba: 1ad3 subs r3, r2, r3 - 80087bc: b29a uxth r2, r3 - 80087be: 687b ldr r3, [r7, #4] - 80087c0: 811a strh r2, [r3, #8] + 8009138: 687b ldr r3, [r7, #4] + 800913a: 891a ldrh r2, [r3, #8] + 800913c: 8a3b ldrh r3, [r7, #16] + 800913e: 1ad3 subs r3, r2, r3 + 8009140: b29a uxth r2, r3 + 8009142: 687b ldr r3, [r7, #4] + 8009144: 811a strh r2, [r3, #8] LWIP_ASSERT("p->len == 0", p->len == 0); - 80087c2: 687b ldr r3, [r7, #4] - 80087c4: 895b ldrh r3, [r3, #10] - 80087c6: 2b00 cmp r3, #0 - 80087c8: d005 beq.n 80087d6 - 80087ca: 4b54 ldr r3, [pc, #336] @ (800891c ) - 80087cc: 22df movs r2, #223 @ 0xdf - 80087ce: 495c ldr r1, [pc, #368] @ (8008940 ) - 80087d0: 4854 ldr r0, [pc, #336] @ (8008924 ) - 80087d2: f008 ff11 bl 80115f8 + 8009146: 687b ldr r3, [r7, #4] + 8009148: 895b ldrh r3, [r3, #10] + 800914a: 2b00 cmp r3, #0 + 800914c: d005 beq.n 800915a + 800914e: 4b54 ldr r3, [pc, #336] @ (80092a0 ) + 8009150: 22df movs r2, #223 @ 0xdf + 8009152: 495c ldr r1, [pc, #368] @ (80092c4 ) + 8009154: 4854 ldr r0, [pc, #336] @ (80092a8 ) + 8009156: f008 ff11 bl 8011f7c LWIP_ASSERT("p->tot_len == p->next->tot_len", p->tot_len == p->next->tot_len); - 80087d6: 687b ldr r3, [r7, #4] - 80087d8: 891a ldrh r2, [r3, #8] - 80087da: 687b ldr r3, [r7, #4] - 80087dc: 681b ldr r3, [r3, #0] - 80087de: 891b ldrh r3, [r3, #8] - 80087e0: 429a cmp r2, r3 - 80087e2: d005 beq.n 80087f0 - 80087e4: 4b4d ldr r3, [pc, #308] @ (800891c ) - 80087e6: 22e0 movs r2, #224 @ 0xe0 - 80087e8: 4956 ldr r1, [pc, #344] @ (8008944 ) - 80087ea: 484e ldr r0, [pc, #312] @ (8008924 ) - 80087ec: f008 ff04 bl 80115f8 + 800915a: 687b ldr r3, [r7, #4] + 800915c: 891a ldrh r2, [r3, #8] + 800915e: 687b ldr r3, [r7, #4] + 8009160: 681b ldr r3, [r3, #0] + 8009162: 891b ldrh r3, [r3, #8] + 8009164: 429a cmp r2, r3 + 8009166: d005 beq.n 8009174 + 8009168: 4b4d ldr r3, [pc, #308] @ (80092a0 ) + 800916a: 22e0 movs r2, #224 @ 0xe0 + 800916c: 4956 ldr r1, [pc, #344] @ (80092c8 ) + 800916e: 484e ldr r0, [pc, #312] @ (80092a8 ) + 8009170: f008 ff04 bl 8011f7c } /* Convert fields in TCP header to host byte order. */ tcphdr->src = lwip_ntohs(tcphdr->src); - 80087f0: 4b4d ldr r3, [pc, #308] @ (8008928 ) - 80087f2: 681b ldr r3, [r3, #0] - 80087f4: 881b ldrh r3, [r3, #0] - 80087f6: b29b uxth r3, r3 - 80087f8: 4a4b ldr r2, [pc, #300] @ (8008928 ) - 80087fa: 6814 ldr r4, [r2, #0] - 80087fc: 4618 mov r0, r3 - 80087fe: f7fc fdc3 bl 8005388 - 8008802: 4603 mov r3, r0 - 8008804: 8023 strh r3, [r4, #0] + 8009174: 4b4d ldr r3, [pc, #308] @ (80092ac ) + 8009176: 681b ldr r3, [r3, #0] + 8009178: 881b ldrh r3, [r3, #0] + 800917a: b29b uxth r3, r3 + 800917c: 4a4b ldr r2, [pc, #300] @ (80092ac ) + 800917e: 6814 ldr r4, [r2, #0] + 8009180: 4618 mov r0, r3 + 8009182: f7fc fdc3 bl 8005d0c + 8009186: 4603 mov r3, r0 + 8009188: 8023 strh r3, [r4, #0] tcphdr->dest = lwip_ntohs(tcphdr->dest); - 8008806: 4b48 ldr r3, [pc, #288] @ (8008928 ) - 8008808: 681b ldr r3, [r3, #0] - 800880a: 885b ldrh r3, [r3, #2] - 800880c: b29b uxth r3, r3 - 800880e: 4a46 ldr r2, [pc, #280] @ (8008928 ) - 8008810: 6814 ldr r4, [r2, #0] - 8008812: 4618 mov r0, r3 - 8008814: f7fc fdb8 bl 8005388 - 8008818: 4603 mov r3, r0 - 800881a: 8063 strh r3, [r4, #2] + 800918a: 4b48 ldr r3, [pc, #288] @ (80092ac ) + 800918c: 681b ldr r3, [r3, #0] + 800918e: 885b ldrh r3, [r3, #2] + 8009190: b29b uxth r3, r3 + 8009192: 4a46 ldr r2, [pc, #280] @ (80092ac ) + 8009194: 6814 ldr r4, [r2, #0] + 8009196: 4618 mov r0, r3 + 8009198: f7fc fdb8 bl 8005d0c + 800919c: 4603 mov r3, r0 + 800919e: 8063 strh r3, [r4, #2] seqno = tcphdr->seqno = lwip_ntohl(tcphdr->seqno); - 800881c: 4b42 ldr r3, [pc, #264] @ (8008928 ) - 800881e: 681b ldr r3, [r3, #0] - 8008820: 685b ldr r3, [r3, #4] - 8008822: 4a41 ldr r2, [pc, #260] @ (8008928 ) - 8008824: 6814 ldr r4, [r2, #0] - 8008826: 4618 mov r0, r3 - 8008828: f7fc fdc3 bl 80053b2 - 800882c: 4603 mov r3, r0 - 800882e: 6063 str r3, [r4, #4] - 8008830: 6863 ldr r3, [r4, #4] - 8008832: 4a45 ldr r2, [pc, #276] @ (8008948 ) - 8008834: 6013 str r3, [r2, #0] + 80091a0: 4b42 ldr r3, [pc, #264] @ (80092ac ) + 80091a2: 681b ldr r3, [r3, #0] + 80091a4: 685b ldr r3, [r3, #4] + 80091a6: 4a41 ldr r2, [pc, #260] @ (80092ac ) + 80091a8: 6814 ldr r4, [r2, #0] + 80091aa: 4618 mov r0, r3 + 80091ac: f7fc fdc3 bl 8005d36 + 80091b0: 4603 mov r3, r0 + 80091b2: 6063 str r3, [r4, #4] + 80091b4: 6863 ldr r3, [r4, #4] + 80091b6: 4a45 ldr r2, [pc, #276] @ (80092cc ) + 80091b8: 6013 str r3, [r2, #0] ackno = tcphdr->ackno = lwip_ntohl(tcphdr->ackno); - 8008836: 4b3c ldr r3, [pc, #240] @ (8008928 ) - 8008838: 681b ldr r3, [r3, #0] - 800883a: 689b ldr r3, [r3, #8] - 800883c: 4a3a ldr r2, [pc, #232] @ (8008928 ) - 800883e: 6814 ldr r4, [r2, #0] - 8008840: 4618 mov r0, r3 - 8008842: f7fc fdb6 bl 80053b2 - 8008846: 4603 mov r3, r0 - 8008848: 60a3 str r3, [r4, #8] - 800884a: 68a3 ldr r3, [r4, #8] - 800884c: 4a3f ldr r2, [pc, #252] @ (800894c ) - 800884e: 6013 str r3, [r2, #0] + 80091ba: 4b3c ldr r3, [pc, #240] @ (80092ac ) + 80091bc: 681b ldr r3, [r3, #0] + 80091be: 689b ldr r3, [r3, #8] + 80091c0: 4a3a ldr r2, [pc, #232] @ (80092ac ) + 80091c2: 6814 ldr r4, [r2, #0] + 80091c4: 4618 mov r0, r3 + 80091c6: f7fc fdb6 bl 8005d36 + 80091ca: 4603 mov r3, r0 + 80091cc: 60a3 str r3, [r4, #8] + 80091ce: 68a3 ldr r3, [r4, #8] + 80091d0: 4a3f ldr r2, [pc, #252] @ (80092d0 ) + 80091d2: 6013 str r3, [r2, #0] tcphdr->wnd = lwip_ntohs(tcphdr->wnd); - 8008850: 4b35 ldr r3, [pc, #212] @ (8008928 ) - 8008852: 681b ldr r3, [r3, #0] - 8008854: 89db ldrh r3, [r3, #14] - 8008856: b29b uxth r3, r3 - 8008858: 4a33 ldr r2, [pc, #204] @ (8008928 ) - 800885a: 6814 ldr r4, [r2, #0] - 800885c: 4618 mov r0, r3 - 800885e: f7fc fd93 bl 8005388 - 8008862: 4603 mov r3, r0 - 8008864: 81e3 strh r3, [r4, #14] + 80091d4: 4b35 ldr r3, [pc, #212] @ (80092ac ) + 80091d6: 681b ldr r3, [r3, #0] + 80091d8: 89db ldrh r3, [r3, #14] + 80091da: b29b uxth r3, r3 + 80091dc: 4a33 ldr r2, [pc, #204] @ (80092ac ) + 80091de: 6814 ldr r4, [r2, #0] + 80091e0: 4618 mov r0, r3 + 80091e2: f7fc fd93 bl 8005d0c + 80091e6: 4603 mov r3, r0 + 80091e8: 81e3 strh r3, [r4, #14] flags = TCPH_FLAGS(tcphdr); - 8008866: 4b30 ldr r3, [pc, #192] @ (8008928 ) - 8008868: 681b ldr r3, [r3, #0] - 800886a: 899b ldrh r3, [r3, #12] - 800886c: b29b uxth r3, r3 - 800886e: 4618 mov r0, r3 - 8008870: f7fc fd8a bl 8005388 - 8008874: 4603 mov r3, r0 - 8008876: b2db uxtb r3, r3 - 8008878: f003 033f and.w r3, r3, #63 @ 0x3f - 800887c: b2da uxtb r2, r3 - 800887e: 4b34 ldr r3, [pc, #208] @ (8008950 ) - 8008880: 701a strb r2, [r3, #0] + 80091ea: 4b30 ldr r3, [pc, #192] @ (80092ac ) + 80091ec: 681b ldr r3, [r3, #0] + 80091ee: 899b ldrh r3, [r3, #12] + 80091f0: b29b uxth r3, r3 + 80091f2: 4618 mov r0, r3 + 80091f4: f7fc fd8a bl 8005d0c + 80091f8: 4603 mov r3, r0 + 80091fa: b2db uxtb r3, r3 + 80091fc: f003 033f and.w r3, r3, #63 @ 0x3f + 8009200: b2da uxtb r2, r3 + 8009202: 4b34 ldr r3, [pc, #208] @ (80092d4 ) + 8009204: 701a strb r2, [r3, #0] tcplen = p->tot_len; - 8008882: 687b ldr r3, [r7, #4] - 8008884: 891a ldrh r2, [r3, #8] - 8008886: 4b33 ldr r3, [pc, #204] @ (8008954 ) - 8008888: 801a strh r2, [r3, #0] + 8009206: 687b ldr r3, [r7, #4] + 8009208: 891a ldrh r2, [r3, #8] + 800920a: 4b33 ldr r3, [pc, #204] @ (80092d8 ) + 800920c: 801a strh r2, [r3, #0] if (flags & (TCP_FIN | TCP_SYN)) { - 800888a: 4b31 ldr r3, [pc, #196] @ (8008950 ) - 800888c: 781b ldrb r3, [r3, #0] - 800888e: f003 0303 and.w r3, r3, #3 - 8008892: 2b00 cmp r3, #0 - 8008894: d00c beq.n 80088b0 + 800920e: 4b31 ldr r3, [pc, #196] @ (80092d4 ) + 8009210: 781b ldrb r3, [r3, #0] + 8009212: f003 0303 and.w r3, r3, #3 + 8009216: 2b00 cmp r3, #0 + 8009218: d00c beq.n 8009234 tcplen++; - 8008896: 4b2f ldr r3, [pc, #188] @ (8008954 ) - 8008898: 881b ldrh r3, [r3, #0] - 800889a: 3301 adds r3, #1 - 800889c: b29a uxth r2, r3 - 800889e: 4b2d ldr r3, [pc, #180] @ (8008954 ) - 80088a0: 801a strh r2, [r3, #0] + 800921a: 4b2f ldr r3, [pc, #188] @ (80092d8 ) + 800921c: 881b ldrh r3, [r3, #0] + 800921e: 3301 adds r3, #1 + 8009220: b29a uxth r2, r3 + 8009222: 4b2d ldr r3, [pc, #180] @ (80092d8 ) + 8009224: 801a strh r2, [r3, #0] if (tcplen < p->tot_len) { - 80088a2: 687b ldr r3, [r7, #4] - 80088a4: 891a ldrh r2, [r3, #8] - 80088a6: 4b2b ldr r3, [pc, #172] @ (8008954 ) - 80088a8: 881b ldrh r3, [r3, #0] - 80088aa: 429a cmp r2, r3 - 80088ac: f200 82e6 bhi.w 8008e7c + 8009226: 687b ldr r3, [r7, #4] + 8009228: 891a ldrh r2, [r3, #8] + 800922a: 4b2b ldr r3, [pc, #172] @ (80092d8 ) + 800922c: 881b ldrh r3, [r3, #0] + 800922e: 429a cmp r2, r3 + 8009230: f200 82e6 bhi.w 8009800 } } /* Demultiplex an incoming segment. First, we check if it is destined for an active connection. */ prev = NULL; - 80088b0: 2300 movs r3, #0 - 80088b2: 61bb str r3, [r7, #24] + 8009234: 2300 movs r3, #0 + 8009236: 61bb str r3, [r7, #24] for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 80088b4: 4b28 ldr r3, [pc, #160] @ (8008958 ) - 80088b6: 681b ldr r3, [r3, #0] - 80088b8: 61fb str r3, [r7, #28] - 80088ba: e09d b.n 80089f8 + 8009238: 4b28 ldr r3, [pc, #160] @ (80092dc ) + 800923a: 681b ldr r3, [r3, #0] + 800923c: 61fb str r3, [r7, #28] + 800923e: e09d b.n 800937c LWIP_ASSERT("tcp_input: active pcb->state != CLOSED", pcb->state != CLOSED); - 80088bc: 69fb ldr r3, [r7, #28] - 80088be: 7d1b ldrb r3, [r3, #20] - 80088c0: 2b00 cmp r3, #0 - 80088c2: d105 bne.n 80088d0 - 80088c4: 4b15 ldr r3, [pc, #84] @ (800891c ) - 80088c6: 22fb movs r2, #251 @ 0xfb - 80088c8: 4924 ldr r1, [pc, #144] @ (800895c ) - 80088ca: 4816 ldr r0, [pc, #88] @ (8008924 ) - 80088cc: f008 fe94 bl 80115f8 + 8009240: 69fb ldr r3, [r7, #28] + 8009242: 7d1b ldrb r3, [r3, #20] + 8009244: 2b00 cmp r3, #0 + 8009246: d105 bne.n 8009254 + 8009248: 4b15 ldr r3, [pc, #84] @ (80092a0 ) + 800924a: 22fb movs r2, #251 @ 0xfb + 800924c: 4924 ldr r1, [pc, #144] @ (80092e0 ) + 800924e: 4816 ldr r0, [pc, #88] @ (80092a8 ) + 8009250: f008 fe94 bl 8011f7c LWIP_ASSERT("tcp_input: active pcb->state != TIME-WAIT", pcb->state != TIME_WAIT); - 80088d0: 69fb ldr r3, [r7, #28] - 80088d2: 7d1b ldrb r3, [r3, #20] - 80088d4: 2b0a cmp r3, #10 - 80088d6: d105 bne.n 80088e4 - 80088d8: 4b10 ldr r3, [pc, #64] @ (800891c ) - 80088da: 22fc movs r2, #252 @ 0xfc - 80088dc: 4920 ldr r1, [pc, #128] @ (8008960 ) - 80088de: 4811 ldr r0, [pc, #68] @ (8008924 ) - 80088e0: f008 fe8a bl 80115f8 + 8009254: 69fb ldr r3, [r7, #28] + 8009256: 7d1b ldrb r3, [r3, #20] + 8009258: 2b0a cmp r3, #10 + 800925a: d105 bne.n 8009268 + 800925c: 4b10 ldr r3, [pc, #64] @ (80092a0 ) + 800925e: 22fc movs r2, #252 @ 0xfc + 8009260: 4920 ldr r1, [pc, #128] @ (80092e4 ) + 8009262: 4811 ldr r0, [pc, #68] @ (80092a8 ) + 8009264: f008 fe8a bl 8011f7c LWIP_ASSERT("tcp_input: active pcb->state != LISTEN", pcb->state != LISTEN); - 80088e4: 69fb ldr r3, [r7, #28] - 80088e6: 7d1b ldrb r3, [r3, #20] - 80088e8: 2b01 cmp r3, #1 - 80088ea: d105 bne.n 80088f8 - 80088ec: 4b0b ldr r3, [pc, #44] @ (800891c ) - 80088ee: 22fd movs r2, #253 @ 0xfd - 80088f0: 491c ldr r1, [pc, #112] @ (8008964 ) - 80088f2: 480c ldr r0, [pc, #48] @ (8008924 ) - 80088f4: f008 fe80 bl 80115f8 + 8009268: 69fb ldr r3, [r7, #28] + 800926a: 7d1b ldrb r3, [r3, #20] + 800926c: 2b01 cmp r3, #1 + 800926e: d105 bne.n 800927c + 8009270: 4b0b ldr r3, [pc, #44] @ (80092a0 ) + 8009272: 22fd movs r2, #253 @ 0xfd + 8009274: 491c ldr r1, [pc, #112] @ (80092e8 ) + 8009276: 480c ldr r0, [pc, #48] @ (80092a8 ) + 8009278: f008 fe80 bl 8011f7c /* check if PCB is bound to specific netif */ if ((pcb->netif_idx != NETIF_NO_INDEX) && - 80088f8: 69fb ldr r3, [r7, #28] - 80088fa: 7a1b ldrb r3, [r3, #8] - 80088fc: 2b00 cmp r3, #0 - 80088fe: d033 beq.n 8008968 + 800927c: 69fb ldr r3, [r7, #28] + 800927e: 7a1b ldrb r3, [r3, #8] + 8009280: 2b00 cmp r3, #0 + 8009282: d033 beq.n 80092ec (pcb->netif_idx != netif_get_index(ip_data.current_input_netif))) { - 8008900: 69fb ldr r3, [r7, #28] - 8008902: 7a1a ldrb r2, [r3, #8] - 8008904: 4b09 ldr r3, [pc, #36] @ (800892c ) - 8008906: 685b ldr r3, [r3, #4] - 8008908: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 800890c: 3301 adds r3, #1 - 800890e: b2db uxtb r3, r3 + 8009284: 69fb ldr r3, [r7, #28] + 8009286: 7a1a ldrb r2, [r3, #8] + 8009288: 4b09 ldr r3, [pc, #36] @ (80092b0 ) + 800928a: 685b ldr r3, [r3, #4] + 800928c: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 8009290: 3301 adds r3, #1 + 8009292: b2db uxtb r3, r3 if ((pcb->netif_idx != NETIF_NO_INDEX) && - 8008910: 429a cmp r2, r3 - 8008912: d029 beq.n 8008968 + 8009294: 429a cmp r2, r3 + 8009296: d029 beq.n 80092ec prev = pcb; - 8008914: 69fb ldr r3, [r7, #28] - 8008916: 61bb str r3, [r7, #24] + 8009298: 69fb ldr r3, [r7, #28] + 800929a: 61bb str r3, [r7, #24] continue; - 8008918: e06b b.n 80089f2 - 800891a: bf00 nop - 800891c: 0801721c .word 0x0801721c - 8008920: 08017250 .word 0x08017250 - 8008924: 08017268 .word 0x08017268 - 8008928: 200190cc .word 0x200190cc - 800892c: 2000614c .word 0x2000614c - 8008930: 200190d0 .word 0x200190d0 - 8008934: 200190d4 .word 0x200190d4 - 8008938: 200190d2 .word 0x200190d2 - 800893c: 08017290 .word 0x08017290 - 8008940: 080172a0 .word 0x080172a0 - 8008944: 080172ac .word 0x080172ac - 8008948: 200190dc .word 0x200190dc - 800894c: 200190e0 .word 0x200190e0 - 8008950: 200190e8 .word 0x200190e8 - 8008954: 200190e6 .word 0x200190e6 - 8008958: 200190b0 .word 0x200190b0 - 800895c: 080172cc .word 0x080172cc - 8008960: 080172f4 .word 0x080172f4 - 8008964: 08017320 .word 0x08017320 + 800929c: e06b b.n 8009376 + 800929e: bf00 nop + 80092a0: 08017b9c .word 0x08017b9c + 80092a4: 08017bd0 .word 0x08017bd0 + 80092a8: 08017be8 .word 0x08017be8 + 80092ac: 20019100 .word 0x20019100 + 80092b0: 20006180 .word 0x20006180 + 80092b4: 20019104 .word 0x20019104 + 80092b8: 20019108 .word 0x20019108 + 80092bc: 20019106 .word 0x20019106 + 80092c0: 08017c10 .word 0x08017c10 + 80092c4: 08017c20 .word 0x08017c20 + 80092c8: 08017c2c .word 0x08017c2c + 80092cc: 20019110 .word 0x20019110 + 80092d0: 20019114 .word 0x20019114 + 80092d4: 2001911c .word 0x2001911c + 80092d8: 2001911a .word 0x2001911a + 80092dc: 200190e4 .word 0x200190e4 + 80092e0: 08017c4c .word 0x08017c4c + 80092e4: 08017c74 .word 0x08017c74 + 80092e8: 08017ca0 .word 0x08017ca0 } if (pcb->remote_port == tcphdr->src && - 8008968: 69fb ldr r3, [r7, #28] - 800896a: 8b1a ldrh r2, [r3, #24] - 800896c: 4b72 ldr r3, [pc, #456] @ (8008b38 ) - 800896e: 681b ldr r3, [r3, #0] - 8008970: 881b ldrh r3, [r3, #0] - 8008972: b29b uxth r3, r3 - 8008974: 429a cmp r2, r3 - 8008976: d13a bne.n 80089ee + 80092ec: 69fb ldr r3, [r7, #28] + 80092ee: 8b1a ldrh r2, [r3, #24] + 80092f0: 4b72 ldr r3, [pc, #456] @ (80094bc ) + 80092f2: 681b ldr r3, [r3, #0] + 80092f4: 881b ldrh r3, [r3, #0] + 80092f6: b29b uxth r3, r3 + 80092f8: 429a cmp r2, r3 + 80092fa: d13a bne.n 8009372 pcb->local_port == tcphdr->dest && - 8008978: 69fb ldr r3, [r7, #28] - 800897a: 8ada ldrh r2, [r3, #22] - 800897c: 4b6e ldr r3, [pc, #440] @ (8008b38 ) - 800897e: 681b ldr r3, [r3, #0] - 8008980: 885b ldrh r3, [r3, #2] - 8008982: b29b uxth r3, r3 + 80092fc: 69fb ldr r3, [r7, #28] + 80092fe: 8ada ldrh r2, [r3, #22] + 8009300: 4b6e ldr r3, [pc, #440] @ (80094bc ) + 8009302: 681b ldr r3, [r3, #0] + 8009304: 885b ldrh r3, [r3, #2] + 8009306: b29b uxth r3, r3 if (pcb->remote_port == tcphdr->src && - 8008984: 429a cmp r2, r3 - 8008986: d132 bne.n 80089ee + 8009308: 429a cmp r2, r3 + 800930a: d132 bne.n 8009372 ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()) && - 8008988: 69fb ldr r3, [r7, #28] - 800898a: 685a ldr r2, [r3, #4] - 800898c: 4b6b ldr r3, [pc, #428] @ (8008b3c ) - 800898e: 691b ldr r3, [r3, #16] + 800930c: 69fb ldr r3, [r7, #28] + 800930e: 685a ldr r2, [r3, #4] + 8009310: 4b6b ldr r3, [pc, #428] @ (80094c0 ) + 8009312: 691b ldr r3, [r3, #16] pcb->local_port == tcphdr->dest && - 8008990: 429a cmp r2, r3 - 8008992: d12c bne.n 80089ee + 8009314: 429a cmp r2, r3 + 8009316: d12c bne.n 8009372 ip_addr_cmp(&pcb->local_ip, ip_current_dest_addr())) { - 8008994: 69fb ldr r3, [r7, #28] - 8008996: 681a ldr r2, [r3, #0] - 8008998: 4b68 ldr r3, [pc, #416] @ (8008b3c ) - 800899a: 695b ldr r3, [r3, #20] + 8009318: 69fb ldr r3, [r7, #28] + 800931a: 681a ldr r2, [r3, #0] + 800931c: 4b68 ldr r3, [pc, #416] @ (80094c0 ) + 800931e: 695b ldr r3, [r3, #20] ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()) && - 800899c: 429a cmp r2, r3 - 800899e: d126 bne.n 80089ee + 8009320: 429a cmp r2, r3 + 8009322: d126 bne.n 8009372 /* Move this PCB to the front of the list so that subsequent lookups will be faster (we exploit locality in TCP segment arrivals). */ LWIP_ASSERT("tcp_input: pcb->next != pcb (before cache)", pcb->next != pcb); - 80089a0: 69fb ldr r3, [r7, #28] - 80089a2: 68db ldr r3, [r3, #12] - 80089a4: 69fa ldr r2, [r7, #28] - 80089a6: 429a cmp r2, r3 - 80089a8: d106 bne.n 80089b8 - 80089aa: 4b65 ldr r3, [pc, #404] @ (8008b40 ) - 80089ac: f240 120d movw r2, #269 @ 0x10d - 80089b0: 4964 ldr r1, [pc, #400] @ (8008b44 ) - 80089b2: 4865 ldr r0, [pc, #404] @ (8008b48 ) - 80089b4: f008 fe20 bl 80115f8 + 8009324: 69fb ldr r3, [r7, #28] + 8009326: 68db ldr r3, [r3, #12] + 8009328: 69fa ldr r2, [r7, #28] + 800932a: 429a cmp r2, r3 + 800932c: d106 bne.n 800933c + 800932e: 4b65 ldr r3, [pc, #404] @ (80094c4 ) + 8009330: f240 120d movw r2, #269 @ 0x10d + 8009334: 4964 ldr r1, [pc, #400] @ (80094c8 ) + 8009336: 4865 ldr r0, [pc, #404] @ (80094cc ) + 8009338: f008 fe20 bl 8011f7c if (prev != NULL) { - 80089b8: 69bb ldr r3, [r7, #24] - 80089ba: 2b00 cmp r3, #0 - 80089bc: d00a beq.n 80089d4 + 800933c: 69bb ldr r3, [r7, #24] + 800933e: 2b00 cmp r3, #0 + 8009340: d00a beq.n 8009358 prev->next = pcb->next; - 80089be: 69fb ldr r3, [r7, #28] - 80089c0: 68da ldr r2, [r3, #12] - 80089c2: 69bb ldr r3, [r7, #24] - 80089c4: 60da str r2, [r3, #12] + 8009342: 69fb ldr r3, [r7, #28] + 8009344: 68da ldr r2, [r3, #12] + 8009346: 69bb ldr r3, [r7, #24] + 8009348: 60da str r2, [r3, #12] pcb->next = tcp_active_pcbs; - 80089c6: 4b61 ldr r3, [pc, #388] @ (8008b4c ) - 80089c8: 681a ldr r2, [r3, #0] - 80089ca: 69fb ldr r3, [r7, #28] - 80089cc: 60da str r2, [r3, #12] + 800934a: 4b61 ldr r3, [pc, #388] @ (80094d0 ) + 800934c: 681a ldr r2, [r3, #0] + 800934e: 69fb ldr r3, [r7, #28] + 8009350: 60da str r2, [r3, #12] tcp_active_pcbs = pcb; - 80089ce: 4a5f ldr r2, [pc, #380] @ (8008b4c ) - 80089d0: 69fb ldr r3, [r7, #28] - 80089d2: 6013 str r3, [r2, #0] + 8009352: 4a5f ldr r2, [pc, #380] @ (80094d0 ) + 8009354: 69fb ldr r3, [r7, #28] + 8009356: 6013 str r3, [r2, #0] } else { TCP_STATS_INC(tcp.cachehit); } LWIP_ASSERT("tcp_input: pcb->next != pcb (after cache)", pcb->next != pcb); - 80089d4: 69fb ldr r3, [r7, #28] - 80089d6: 68db ldr r3, [r3, #12] - 80089d8: 69fa ldr r2, [r7, #28] - 80089da: 429a cmp r2, r3 - 80089dc: d111 bne.n 8008a02 - 80089de: 4b58 ldr r3, [pc, #352] @ (8008b40 ) - 80089e0: f240 1215 movw r2, #277 @ 0x115 - 80089e4: 495a ldr r1, [pc, #360] @ (8008b50 ) - 80089e6: 4858 ldr r0, [pc, #352] @ (8008b48 ) - 80089e8: f008 fe06 bl 80115f8 + 8009358: 69fb ldr r3, [r7, #28] + 800935a: 68db ldr r3, [r3, #12] + 800935c: 69fa ldr r2, [r7, #28] + 800935e: 429a cmp r2, r3 + 8009360: d111 bne.n 8009386 + 8009362: 4b58 ldr r3, [pc, #352] @ (80094c4 ) + 8009364: f240 1215 movw r2, #277 @ 0x115 + 8009368: 495a ldr r1, [pc, #360] @ (80094d4 ) + 800936a: 4858 ldr r0, [pc, #352] @ (80094cc ) + 800936c: f008 fe06 bl 8011f7c break; - 80089ec: e009 b.n 8008a02 + 8009370: e009 b.n 8009386 } prev = pcb; - 80089ee: 69fb ldr r3, [r7, #28] - 80089f0: 61bb str r3, [r7, #24] + 8009372: 69fb ldr r3, [r7, #28] + 8009374: 61bb str r3, [r7, #24] for (pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { - 80089f2: 69fb ldr r3, [r7, #28] - 80089f4: 68db ldr r3, [r3, #12] - 80089f6: 61fb str r3, [r7, #28] - 80089f8: 69fb ldr r3, [r7, #28] - 80089fa: 2b00 cmp r3, #0 - 80089fc: f47f af5e bne.w 80088bc - 8008a00: e000 b.n 8008a04 + 8009376: 69fb ldr r3, [r7, #28] + 8009378: 68db ldr r3, [r3, #12] + 800937a: 61fb str r3, [r7, #28] + 800937c: 69fb ldr r3, [r7, #28] + 800937e: 2b00 cmp r3, #0 + 8009380: f47f af5e bne.w 8009240 + 8009384: e000 b.n 8009388 break; - 8008a02: bf00 nop + 8009386: bf00 nop } if (pcb == NULL) { - 8008a04: 69fb ldr r3, [r7, #28] - 8008a06: 2b00 cmp r3, #0 - 8008a08: f040 80aa bne.w 8008b60 + 8009388: 69fb ldr r3, [r7, #28] + 800938a: 2b00 cmp r3, #0 + 800938c: f040 80aa bne.w 80094e4 /* If it did not go to an active connection, we check the connections in the TIME-WAIT state. */ for (pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { - 8008a0c: 4b51 ldr r3, [pc, #324] @ (8008b54 ) - 8008a0e: 681b ldr r3, [r3, #0] - 8008a10: 61fb str r3, [r7, #28] - 8008a12: e03f b.n 8008a94 + 8009390: 4b51 ldr r3, [pc, #324] @ (80094d8 ) + 8009392: 681b ldr r3, [r3, #0] + 8009394: 61fb str r3, [r7, #28] + 8009396: e03f b.n 8009418 LWIP_ASSERT("tcp_input: TIME-WAIT pcb->state == TIME-WAIT", pcb->state == TIME_WAIT); - 8008a14: 69fb ldr r3, [r7, #28] - 8008a16: 7d1b ldrb r3, [r3, #20] - 8008a18: 2b0a cmp r3, #10 - 8008a1a: d006 beq.n 8008a2a - 8008a1c: 4b48 ldr r3, [pc, #288] @ (8008b40 ) - 8008a1e: f240 121f movw r2, #287 @ 0x11f - 8008a22: 494d ldr r1, [pc, #308] @ (8008b58 ) - 8008a24: 4848 ldr r0, [pc, #288] @ (8008b48 ) - 8008a26: f008 fde7 bl 80115f8 + 8009398: 69fb ldr r3, [r7, #28] + 800939a: 7d1b ldrb r3, [r3, #20] + 800939c: 2b0a cmp r3, #10 + 800939e: d006 beq.n 80093ae + 80093a0: 4b48 ldr r3, [pc, #288] @ (80094c4 ) + 80093a2: f240 121f movw r2, #287 @ 0x11f + 80093a6: 494d ldr r1, [pc, #308] @ (80094dc ) + 80093a8: 4848 ldr r0, [pc, #288] @ (80094cc ) + 80093aa: f008 fde7 bl 8011f7c /* check if PCB is bound to specific netif */ if ((pcb->netif_idx != NETIF_NO_INDEX) && - 8008a2a: 69fb ldr r3, [r7, #28] - 8008a2c: 7a1b ldrb r3, [r3, #8] - 8008a2e: 2b00 cmp r3, #0 - 8008a30: d009 beq.n 8008a46 + 80093ae: 69fb ldr r3, [r7, #28] + 80093b0: 7a1b ldrb r3, [r3, #8] + 80093b2: 2b00 cmp r3, #0 + 80093b4: d009 beq.n 80093ca (pcb->netif_idx != netif_get_index(ip_data.current_input_netif))) { - 8008a32: 69fb ldr r3, [r7, #28] - 8008a34: 7a1a ldrb r2, [r3, #8] - 8008a36: 4b41 ldr r3, [pc, #260] @ (8008b3c ) - 8008a38: 685b ldr r3, [r3, #4] - 8008a3a: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 8008a3e: 3301 adds r3, #1 - 8008a40: b2db uxtb r3, r3 + 80093b6: 69fb ldr r3, [r7, #28] + 80093b8: 7a1a ldrb r2, [r3, #8] + 80093ba: 4b41 ldr r3, [pc, #260] @ (80094c0 ) + 80093bc: 685b ldr r3, [r3, #4] + 80093be: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 80093c2: 3301 adds r3, #1 + 80093c4: b2db uxtb r3, r3 if ((pcb->netif_idx != NETIF_NO_INDEX) && - 8008a42: 429a cmp r2, r3 - 8008a44: d122 bne.n 8008a8c + 80093c6: 429a cmp r2, r3 + 80093c8: d122 bne.n 8009410 continue; } if (pcb->remote_port == tcphdr->src && - 8008a46: 69fb ldr r3, [r7, #28] - 8008a48: 8b1a ldrh r2, [r3, #24] - 8008a4a: 4b3b ldr r3, [pc, #236] @ (8008b38 ) - 8008a4c: 681b ldr r3, [r3, #0] - 8008a4e: 881b ldrh r3, [r3, #0] - 8008a50: b29b uxth r3, r3 - 8008a52: 429a cmp r2, r3 - 8008a54: d11b bne.n 8008a8e + 80093ca: 69fb ldr r3, [r7, #28] + 80093cc: 8b1a ldrh r2, [r3, #24] + 80093ce: 4b3b ldr r3, [pc, #236] @ (80094bc ) + 80093d0: 681b ldr r3, [r3, #0] + 80093d2: 881b ldrh r3, [r3, #0] + 80093d4: b29b uxth r3, r3 + 80093d6: 429a cmp r2, r3 + 80093d8: d11b bne.n 8009412 pcb->local_port == tcphdr->dest && - 8008a56: 69fb ldr r3, [r7, #28] - 8008a58: 8ada ldrh r2, [r3, #22] - 8008a5a: 4b37 ldr r3, [pc, #220] @ (8008b38 ) - 8008a5c: 681b ldr r3, [r3, #0] - 8008a5e: 885b ldrh r3, [r3, #2] - 8008a60: b29b uxth r3, r3 + 80093da: 69fb ldr r3, [r7, #28] + 80093dc: 8ada ldrh r2, [r3, #22] + 80093de: 4b37 ldr r3, [pc, #220] @ (80094bc ) + 80093e0: 681b ldr r3, [r3, #0] + 80093e2: 885b ldrh r3, [r3, #2] + 80093e4: b29b uxth r3, r3 if (pcb->remote_port == tcphdr->src && - 8008a62: 429a cmp r2, r3 - 8008a64: d113 bne.n 8008a8e + 80093e6: 429a cmp r2, r3 + 80093e8: d113 bne.n 8009412 ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()) && - 8008a66: 69fb ldr r3, [r7, #28] - 8008a68: 685a ldr r2, [r3, #4] - 8008a6a: 4b34 ldr r3, [pc, #208] @ (8008b3c ) - 8008a6c: 691b ldr r3, [r3, #16] + 80093ea: 69fb ldr r3, [r7, #28] + 80093ec: 685a ldr r2, [r3, #4] + 80093ee: 4b34 ldr r3, [pc, #208] @ (80094c0 ) + 80093f0: 691b ldr r3, [r3, #16] pcb->local_port == tcphdr->dest && - 8008a6e: 429a cmp r2, r3 - 8008a70: d10d bne.n 8008a8e + 80093f2: 429a cmp r2, r3 + 80093f4: d10d bne.n 8009412 ip_addr_cmp(&pcb->local_ip, ip_current_dest_addr())) { - 8008a72: 69fb ldr r3, [r7, #28] - 8008a74: 681a ldr r2, [r3, #0] - 8008a76: 4b31 ldr r3, [pc, #196] @ (8008b3c ) - 8008a78: 695b ldr r3, [r3, #20] + 80093f6: 69fb ldr r3, [r7, #28] + 80093f8: 681a ldr r2, [r3, #0] + 80093fa: 4b31 ldr r3, [pc, #196] @ (80094c0 ) + 80093fc: 695b ldr r3, [r3, #20] ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()) && - 8008a7a: 429a cmp r2, r3 - 8008a7c: d107 bne.n 8008a8e + 80093fe: 429a cmp r2, r3 + 8009400: d107 bne.n 8009412 #ifdef LWIP_HOOK_TCP_INPACKET_PCB if (LWIP_HOOK_TCP_INPACKET_PCB(pcb, tcphdr, tcphdr_optlen, tcphdr_opt1len, tcphdr_opt2, p) == ERR_OK) #endif { tcp_timewait_input(pcb); - 8008a7e: 69f8 ldr r0, [r7, #28] - 8008a80: f000 fb56 bl 8009130 + 8009402: 69f8 ldr r0, [r7, #28] + 8009404: f000 fb56 bl 8009ab4 } pbuf_free(p); - 8008a84: 6878 ldr r0, [r7, #4] - 8008a86: f7fd ffcf bl 8006a28 + 8009408: 6878 ldr r0, [r7, #4] + 800940a: f7fd ffcf bl 80073ac return; - 8008a8a: e1fd b.n 8008e88 + 800940e: e1fd b.n 800980c continue; - 8008a8c: bf00 nop + 8009410: bf00 nop for (pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { - 8008a8e: 69fb ldr r3, [r7, #28] - 8008a90: 68db ldr r3, [r3, #12] - 8008a92: 61fb str r3, [r7, #28] - 8008a94: 69fb ldr r3, [r7, #28] - 8008a96: 2b00 cmp r3, #0 - 8008a98: d1bc bne.n 8008a14 + 8009412: 69fb ldr r3, [r7, #28] + 8009414: 68db ldr r3, [r3, #12] + 8009416: 61fb str r3, [r7, #28] + 8009418: 69fb ldr r3, [r7, #28] + 800941a: 2b00 cmp r3, #0 + 800941c: d1bc bne.n 8009398 } } /* Finally, if we still did not get a match, we check all PCBs that are LISTENing for incoming connections. */ prev = NULL; - 8008a9a: 2300 movs r3, #0 - 8008a9c: 61bb str r3, [r7, #24] + 800941e: 2300 movs r3, #0 + 8009420: 61bb str r3, [r7, #24] for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { - 8008a9e: 4b2f ldr r3, [pc, #188] @ (8008b5c ) - 8008aa0: 681b ldr r3, [r3, #0] - 8008aa2: 617b str r3, [r7, #20] - 8008aa4: e02a b.n 8008afc + 8009422: 4b2f ldr r3, [pc, #188] @ (80094e0 ) + 8009424: 681b ldr r3, [r3, #0] + 8009426: 617b str r3, [r7, #20] + 8009428: e02a b.n 8009480 /* check if PCB is bound to specific netif */ if ((lpcb->netif_idx != NETIF_NO_INDEX) && - 8008aa6: 697b ldr r3, [r7, #20] - 8008aa8: 7a1b ldrb r3, [r3, #8] - 8008aaa: 2b00 cmp r3, #0 - 8008aac: d00c beq.n 8008ac8 + 800942a: 697b ldr r3, [r7, #20] + 800942c: 7a1b ldrb r3, [r3, #8] + 800942e: 2b00 cmp r3, #0 + 8009430: d00c beq.n 800944c (lpcb->netif_idx != netif_get_index(ip_data.current_input_netif))) { - 8008aae: 697b ldr r3, [r7, #20] - 8008ab0: 7a1a ldrb r2, [r3, #8] - 8008ab2: 4b22 ldr r3, [pc, #136] @ (8008b3c ) - 8008ab4: 685b ldr r3, [r3, #4] - 8008ab6: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 8008aba: 3301 adds r3, #1 - 8008abc: b2db uxtb r3, r3 + 8009432: 697b ldr r3, [r7, #20] + 8009434: 7a1a ldrb r2, [r3, #8] + 8009436: 4b22 ldr r3, [pc, #136] @ (80094c0 ) + 8009438: 685b ldr r3, [r3, #4] + 800943a: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 800943e: 3301 adds r3, #1 + 8009440: b2db uxtb r3, r3 if ((lpcb->netif_idx != NETIF_NO_INDEX) && - 8008abe: 429a cmp r2, r3 - 8008ac0: d002 beq.n 8008ac8 + 8009442: 429a cmp r2, r3 + 8009444: d002 beq.n 800944c prev = (struct tcp_pcb *)lpcb; - 8008ac2: 697b ldr r3, [r7, #20] - 8008ac4: 61bb str r3, [r7, #24] + 8009446: 697b ldr r3, [r7, #20] + 8009448: 61bb str r3, [r7, #24] continue; - 8008ac6: e016 b.n 8008af6 + 800944a: e016 b.n 800947a } if (lpcb->local_port == tcphdr->dest) { - 8008ac8: 697b ldr r3, [r7, #20] - 8008aca: 8ada ldrh r2, [r3, #22] - 8008acc: 4b1a ldr r3, [pc, #104] @ (8008b38 ) - 8008ace: 681b ldr r3, [r3, #0] - 8008ad0: 885b ldrh r3, [r3, #2] - 8008ad2: b29b uxth r3, r3 - 8008ad4: 429a cmp r2, r3 - 8008ad6: d10c bne.n 8008af2 + 800944c: 697b ldr r3, [r7, #20] + 800944e: 8ada ldrh r2, [r3, #22] + 8009450: 4b1a ldr r3, [pc, #104] @ (80094bc ) + 8009452: 681b ldr r3, [r3, #0] + 8009454: 885b ldrh r3, [r3, #2] + 8009456: b29b uxth r3, r3 + 8009458: 429a cmp r2, r3 + 800945a: d10c bne.n 8009476 lpcb_prev = prev; #else /* SO_REUSE */ break; #endif /* SO_REUSE */ } else if (IP_ADDR_PCB_VERSION_MATCH_EXACT(lpcb, ip_current_dest_addr())) { if (ip_addr_cmp(&lpcb->local_ip, ip_current_dest_addr())) { - 8008ad8: 697b ldr r3, [r7, #20] - 8008ada: 681a ldr r2, [r3, #0] - 8008adc: 4b17 ldr r3, [pc, #92] @ (8008b3c ) - 8008ade: 695b ldr r3, [r3, #20] - 8008ae0: 429a cmp r2, r3 - 8008ae2: d00f beq.n 8008b04 + 800945c: 697b ldr r3, [r7, #20] + 800945e: 681a ldr r2, [r3, #0] + 8009460: 4b17 ldr r3, [pc, #92] @ (80094c0 ) + 8009462: 695b ldr r3, [r3, #20] + 8009464: 429a cmp r2, r3 + 8009466: d00f beq.n 8009488 /* found an exact match */ break; } else if (ip_addr_isany(&lpcb->local_ip)) { - 8008ae4: 697b ldr r3, [r7, #20] - 8008ae6: 2b00 cmp r3, #0 - 8008ae8: d00d beq.n 8008b06 - 8008aea: 697b ldr r3, [r7, #20] - 8008aec: 681b ldr r3, [r3, #0] - 8008aee: 2b00 cmp r3, #0 - 8008af0: d009 beq.n 8008b06 + 8009468: 697b ldr r3, [r7, #20] + 800946a: 2b00 cmp r3, #0 + 800946c: d00d beq.n 800948a + 800946e: 697b ldr r3, [r7, #20] + 8009470: 681b ldr r3, [r3, #0] + 8009472: 2b00 cmp r3, #0 + 8009474: d009 beq.n 800948a break; #endif /* SO_REUSE */ } } } prev = (struct tcp_pcb *)lpcb; - 8008af2: 697b ldr r3, [r7, #20] - 8008af4: 61bb str r3, [r7, #24] + 8009476: 697b ldr r3, [r7, #20] + 8009478: 61bb str r3, [r7, #24] for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { - 8008af6: 697b ldr r3, [r7, #20] - 8008af8: 68db ldr r3, [r3, #12] - 8008afa: 617b str r3, [r7, #20] - 8008afc: 697b ldr r3, [r7, #20] - 8008afe: 2b00 cmp r3, #0 - 8008b00: d1d1 bne.n 8008aa6 - 8008b02: e000 b.n 8008b06 + 800947a: 697b ldr r3, [r7, #20] + 800947c: 68db ldr r3, [r3, #12] + 800947e: 617b str r3, [r7, #20] + 8009480: 697b ldr r3, [r7, #20] + 8009482: 2b00 cmp r3, #0 + 8009484: d1d1 bne.n 800942a + 8009486: e000 b.n 800948a break; - 8008b04: bf00 nop + 8009488: bf00 nop /* only pass to ANY if no specific local IP has been found */ lpcb = lpcb_any; prev = lpcb_prev; } #endif /* SO_REUSE */ if (lpcb != NULL) { - 8008b06: 697b ldr r3, [r7, #20] - 8008b08: 2b00 cmp r3, #0 - 8008b0a: d029 beq.n 8008b60 + 800948a: 697b ldr r3, [r7, #20] + 800948c: 2b00 cmp r3, #0 + 800948e: d029 beq.n 80094e4 /* Move this PCB to the front of the list so that subsequent lookups will be faster (we exploit locality in TCP segment arrivals). */ if (prev != NULL) { - 8008b0c: 69bb ldr r3, [r7, #24] - 8008b0e: 2b00 cmp r3, #0 - 8008b10: d00a beq.n 8008b28 + 8009490: 69bb ldr r3, [r7, #24] + 8009492: 2b00 cmp r3, #0 + 8009494: d00a beq.n 80094ac ((struct tcp_pcb_listen *)prev)->next = lpcb->next; - 8008b12: 697b ldr r3, [r7, #20] - 8008b14: 68da ldr r2, [r3, #12] - 8008b16: 69bb ldr r3, [r7, #24] - 8008b18: 60da str r2, [r3, #12] + 8009496: 697b ldr r3, [r7, #20] + 8009498: 68da ldr r2, [r3, #12] + 800949a: 69bb ldr r3, [r7, #24] + 800949c: 60da str r2, [r3, #12] /* our successor is the remainder of the listening list */ lpcb->next = tcp_listen_pcbs.listen_pcbs; - 8008b1a: 4b10 ldr r3, [pc, #64] @ (8008b5c ) - 8008b1c: 681a ldr r2, [r3, #0] - 8008b1e: 697b ldr r3, [r7, #20] - 8008b20: 60da str r2, [r3, #12] + 800949e: 4b10 ldr r3, [pc, #64] @ (80094e0 ) + 80094a0: 681a ldr r2, [r3, #0] + 80094a2: 697b ldr r3, [r7, #20] + 80094a4: 60da str r2, [r3, #12] /* put this listening pcb at the head of the listening list */ tcp_listen_pcbs.listen_pcbs = lpcb; - 8008b22: 4a0e ldr r2, [pc, #56] @ (8008b5c ) - 8008b24: 697b ldr r3, [r7, #20] - 8008b26: 6013 str r3, [r2, #0] + 80094a6: 4a0e ldr r2, [pc, #56] @ (80094e0 ) + 80094a8: 697b ldr r3, [r7, #20] + 80094aa: 6013 str r3, [r2, #0] #ifdef LWIP_HOOK_TCP_INPACKET_PCB if (LWIP_HOOK_TCP_INPACKET_PCB((struct tcp_pcb *)lpcb, tcphdr, tcphdr_optlen, tcphdr_opt1len, tcphdr_opt2, p) == ERR_OK) #endif { tcp_listen_input(lpcb); - 8008b28: 6978 ldr r0, [r7, #20] - 8008b2a: f000 fa03 bl 8008f34 + 80094ac: 6978 ldr r0, [r7, #20] + 80094ae: f000 fa03 bl 80098b8 } pbuf_free(p); - 8008b2e: 6878 ldr r0, [r7, #4] - 8008b30: f7fd ff7a bl 8006a28 + 80094b2: 6878 ldr r0, [r7, #4] + 80094b4: f7fd ff7a bl 80073ac return; - 8008b34: e1a8 b.n 8008e88 - 8008b36: bf00 nop - 8008b38: 200190cc .word 0x200190cc - 8008b3c: 2000614c .word 0x2000614c - 8008b40: 0801721c .word 0x0801721c - 8008b44: 08017348 .word 0x08017348 - 8008b48: 08017268 .word 0x08017268 - 8008b4c: 200190b0 .word 0x200190b0 - 8008b50: 08017374 .word 0x08017374 - 8008b54: 200190b4 .word 0x200190b4 - 8008b58: 080173a0 .word 0x080173a0 - 8008b5c: 200190ac .word 0x200190ac + 80094b8: e1a8 b.n 800980c + 80094ba: bf00 nop + 80094bc: 20019100 .word 0x20019100 + 80094c0: 20006180 .word 0x20006180 + 80094c4: 08017b9c .word 0x08017b9c + 80094c8: 08017cc8 .word 0x08017cc8 + 80094cc: 08017be8 .word 0x08017be8 + 80094d0: 200190e4 .word 0x200190e4 + 80094d4: 08017cf4 .word 0x08017cf4 + 80094d8: 200190e8 .word 0x200190e8 + 80094dc: 08017d20 .word 0x08017d20 + 80094e0: 200190e0 .word 0x200190e0 tcphdr_opt1len, tcphdr_opt2, p) != ERR_OK) { pbuf_free(p); return; } #endif if (pcb != NULL) { - 8008b60: 69fb ldr r3, [r7, #28] - 8008b62: 2b00 cmp r3, #0 - 8008b64: f000 8158 beq.w 8008e18 + 80094e4: 69fb ldr r3, [r7, #28] + 80094e6: 2b00 cmp r3, #0 + 80094e8: f000 8158 beq.w 800979c #if TCP_INPUT_DEBUG tcp_debug_print_state(pcb->state); #endif /* TCP_INPUT_DEBUG */ /* Set up a tcp_seg structure. */ inseg.next = NULL; - 8008b68: 4b95 ldr r3, [pc, #596] @ (8008dc0 ) - 8008b6a: 2200 movs r2, #0 - 8008b6c: 601a str r2, [r3, #0] + 80094ec: 4b95 ldr r3, [pc, #596] @ (8009744 ) + 80094ee: 2200 movs r2, #0 + 80094f0: 601a str r2, [r3, #0] inseg.len = p->tot_len; - 8008b6e: 687b ldr r3, [r7, #4] - 8008b70: 891a ldrh r2, [r3, #8] - 8008b72: 4b93 ldr r3, [pc, #588] @ (8008dc0 ) - 8008b74: 811a strh r2, [r3, #8] + 80094f2: 687b ldr r3, [r7, #4] + 80094f4: 891a ldrh r2, [r3, #8] + 80094f6: 4b93 ldr r3, [pc, #588] @ (8009744 ) + 80094f8: 811a strh r2, [r3, #8] inseg.p = p; - 8008b76: 4a92 ldr r2, [pc, #584] @ (8008dc0 ) - 8008b78: 687b ldr r3, [r7, #4] - 8008b7a: 6053 str r3, [r2, #4] + 80094fa: 4a92 ldr r2, [pc, #584] @ (8009744 ) + 80094fc: 687b ldr r3, [r7, #4] + 80094fe: 6053 str r3, [r2, #4] inseg.tcphdr = tcphdr; - 8008b7c: 4b91 ldr r3, [pc, #580] @ (8008dc4 ) - 8008b7e: 681b ldr r3, [r3, #0] - 8008b80: 4a8f ldr r2, [pc, #572] @ (8008dc0 ) - 8008b82: 60d3 str r3, [r2, #12] + 8009500: 4b91 ldr r3, [pc, #580] @ (8009748 ) + 8009502: 681b ldr r3, [r3, #0] + 8009504: 4a8f ldr r2, [pc, #572] @ (8009744 ) + 8009506: 60d3 str r3, [r2, #12] recv_data = NULL; - 8008b84: 4b90 ldr r3, [pc, #576] @ (8008dc8 ) - 8008b86: 2200 movs r2, #0 - 8008b88: 601a str r2, [r3, #0] + 8009508: 4b90 ldr r3, [pc, #576] @ (800974c ) + 800950a: 2200 movs r2, #0 + 800950c: 601a str r2, [r3, #0] recv_flags = 0; - 8008b8a: 4b90 ldr r3, [pc, #576] @ (8008dcc ) - 8008b8c: 2200 movs r2, #0 - 8008b8e: 701a strb r2, [r3, #0] + 800950e: 4b90 ldr r3, [pc, #576] @ (8009750 ) + 8009510: 2200 movs r2, #0 + 8009512: 701a strb r2, [r3, #0] recv_acked = 0; - 8008b90: 4b8f ldr r3, [pc, #572] @ (8008dd0 ) - 8008b92: 2200 movs r2, #0 - 8008b94: 801a strh r2, [r3, #0] + 8009514: 4b8f ldr r3, [pc, #572] @ (8009754 ) + 8009516: 2200 movs r2, #0 + 8009518: 801a strh r2, [r3, #0] if (flags & TCP_PSH) { - 8008b96: 4b8f ldr r3, [pc, #572] @ (8008dd4 ) - 8008b98: 781b ldrb r3, [r3, #0] - 8008b9a: f003 0308 and.w r3, r3, #8 - 8008b9e: 2b00 cmp r3, #0 - 8008ba0: d006 beq.n 8008bb0 + 800951a: 4b8f ldr r3, [pc, #572] @ (8009758 ) + 800951c: 781b ldrb r3, [r3, #0] + 800951e: f003 0308 and.w r3, r3, #8 + 8009522: 2b00 cmp r3, #0 + 8009524: d006 beq.n 8009534 p->flags |= PBUF_FLAG_PUSH; - 8008ba2: 687b ldr r3, [r7, #4] - 8008ba4: 7b5b ldrb r3, [r3, #13] - 8008ba6: f043 0301 orr.w r3, r3, #1 - 8008baa: b2da uxtb r2, r3 - 8008bac: 687b ldr r3, [r7, #4] - 8008bae: 735a strb r2, [r3, #13] + 8009526: 687b ldr r3, [r7, #4] + 8009528: 7b5b ldrb r3, [r3, #13] + 800952a: f043 0301 orr.w r3, r3, #1 + 800952e: b2da uxtb r2, r3 + 8009530: 687b ldr r3, [r7, #4] + 8009532: 735a strb r2, [r3, #13] } /* If there is data which was previously "refused" by upper layer */ if (pcb->refused_data != NULL) { - 8008bb0: 69fb ldr r3, [r7, #28] - 8008bb2: 6f9b ldr r3, [r3, #120] @ 0x78 - 8008bb4: 2b00 cmp r3, #0 - 8008bb6: d017 beq.n 8008be8 + 8009534: 69fb ldr r3, [r7, #28] + 8009536: 6f9b ldr r3, [r3, #120] @ 0x78 + 8009538: 2b00 cmp r3, #0 + 800953a: d017 beq.n 800956c if ((tcp_process_refused_data(pcb) == ERR_ABRT) || - 8008bb8: 69f8 ldr r0, [r7, #28] - 8008bba: f7ff f929 bl 8007e10 - 8008bbe: 4603 mov r3, r0 - 8008bc0: f113 0f0d cmn.w r3, #13 - 8008bc4: d007 beq.n 8008bd6 + 800953c: 69f8 ldr r0, [r7, #28] + 800953e: f7ff f929 bl 8008794 + 8009542: 4603 mov r3, r0 + 8009544: f113 0f0d cmn.w r3, #13 + 8009548: d007 beq.n 800955a ((pcb->refused_data != NULL) && (tcplen > 0))) { - 8008bc6: 69fb ldr r3, [r7, #28] - 8008bc8: 6f9b ldr r3, [r3, #120] @ 0x78 + 800954a: 69fb ldr r3, [r7, #28] + 800954c: 6f9b ldr r3, [r3, #120] @ 0x78 if ((tcp_process_refused_data(pcb) == ERR_ABRT) || - 8008bca: 2b00 cmp r3, #0 - 8008bcc: d00c beq.n 8008be8 + 800954e: 2b00 cmp r3, #0 + 8009550: d00c beq.n 800956c ((pcb->refused_data != NULL) && (tcplen > 0))) { - 8008bce: 4b82 ldr r3, [pc, #520] @ (8008dd8 ) - 8008bd0: 881b ldrh r3, [r3, #0] - 8008bd2: 2b00 cmp r3, #0 - 8008bd4: d008 beq.n 8008be8 + 8009552: 4b82 ldr r3, [pc, #520] @ (800975c ) + 8009554: 881b ldrh r3, [r3, #0] + 8009556: 2b00 cmp r3, #0 + 8009558: d008 beq.n 800956c /* pcb has been aborted or refused data is still refused and the new segment contains data */ if (pcb->rcv_ann_wnd == 0) { - 8008bd6: 69fb ldr r3, [r7, #28] - 8008bd8: 8d5b ldrh r3, [r3, #42] @ 0x2a - 8008bda: 2b00 cmp r3, #0 - 8008bdc: f040 80e3 bne.w 8008da6 + 800955a: 69fb ldr r3, [r7, #28] + 800955c: 8d5b ldrh r3, [r3, #42] @ 0x2a + 800955e: 2b00 cmp r3, #0 + 8009560: f040 80e3 bne.w 800972a /* this is a zero-window probe, we respond to it with current RCV.NXT and drop the data segment */ tcp_send_empty_ack(pcb); - 8008be0: 69f8 ldr r0, [r7, #28] - 8008be2: f003 f9a7 bl 800bf34 + 8009564: 69f8 ldr r0, [r7, #28] + 8009566: f003 f9a7 bl 800c8b8 } TCP_STATS_INC(tcp.drop); MIB2_STATS_INC(mib2.tcpinerrs); goto aborted; - 8008be6: e0de b.n 8008da6 + 800956a: e0de b.n 800972a } } tcp_input_pcb = pcb; - 8008be8: 4a7c ldr r2, [pc, #496] @ (8008ddc ) - 8008bea: 69fb ldr r3, [r7, #28] - 8008bec: 6013 str r3, [r2, #0] + 800956c: 4a7c ldr r2, [pc, #496] @ (8009760 ) + 800956e: 69fb ldr r3, [r7, #28] + 8009570: 6013 str r3, [r2, #0] err = tcp_process(pcb); - 8008bee: 69f8 ldr r0, [r7, #28] - 8008bf0: f000 fb18 bl 8009224 - 8008bf4: 4603 mov r3, r0 - 8008bf6: 74fb strb r3, [r7, #19] + 8009572: 69f8 ldr r0, [r7, #28] + 8009574: f000 fb18 bl 8009ba8 + 8009578: 4603 mov r3, r0 + 800957a: 74fb strb r3, [r7, #19] /* A return value of ERR_ABRT means that tcp_abort() was called and that the pcb has been freed. If so, we don't do anything. */ if (err != ERR_ABRT) { - 8008bf8: f997 3013 ldrsb.w r3, [r7, #19] - 8008bfc: f113 0f0d cmn.w r3, #13 - 8008c00: f000 80d3 beq.w 8008daa + 800957c: f997 3013 ldrsb.w r3, [r7, #19] + 8009580: f113 0f0d cmn.w r3, #13 + 8009584: f000 80d3 beq.w 800972e if (recv_flags & TF_RESET) { - 8008c04: 4b71 ldr r3, [pc, #452] @ (8008dcc ) - 8008c06: 781b ldrb r3, [r3, #0] - 8008c08: f003 0308 and.w r3, r3, #8 - 8008c0c: 2b00 cmp r3, #0 - 8008c0e: d015 beq.n 8008c3c + 8009588: 4b71 ldr r3, [pc, #452] @ (8009750 ) + 800958a: 781b ldrb r3, [r3, #0] + 800958c: f003 0308 and.w r3, r3, #8 + 8009590: 2b00 cmp r3, #0 + 8009592: d015 beq.n 80095c0 /* TF_RESET means that the connection was reset by the other end. We then call the error callback to inform the application that the connection is dead before we deallocate the PCB. */ TCP_EVENT_ERR(pcb->state, pcb->errf, pcb->callback_arg, ERR_RST); - 8008c10: 69fb ldr r3, [r7, #28] - 8008c12: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 - 8008c16: 2b00 cmp r3, #0 - 8008c18: d008 beq.n 8008c2c - 8008c1a: 69fb ldr r3, [r7, #28] - 8008c1c: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 - 8008c20: 69fa ldr r2, [r7, #28] - 8008c22: 6912 ldr r2, [r2, #16] - 8008c24: f06f 010d mvn.w r1, #13 - 8008c28: 4610 mov r0, r2 - 8008c2a: 4798 blx r3 + 8009594: 69fb ldr r3, [r7, #28] + 8009596: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 + 800959a: 2b00 cmp r3, #0 + 800959c: d008 beq.n 80095b0 + 800959e: 69fb ldr r3, [r7, #28] + 80095a0: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 + 80095a4: 69fa ldr r2, [r7, #28] + 80095a6: 6912 ldr r2, [r2, #16] + 80095a8: f06f 010d mvn.w r1, #13 + 80095ac: 4610 mov r0, r2 + 80095ae: 4798 blx r3 tcp_pcb_remove(&tcp_active_pcbs, pcb); - 8008c2c: 69f9 ldr r1, [r7, #28] - 8008c2e: 486c ldr r0, [pc, #432] @ (8008de0 ) - 8008c30: f7ff fbbc bl 80083ac + 80095b0: 69f9 ldr r1, [r7, #28] + 80095b2: 486c ldr r0, [pc, #432] @ (8009764 ) + 80095b4: f7ff fbbc bl 8008d30 tcp_free(pcb); - 8008c34: 69f8 ldr r0, [r7, #28] - 8008c36: f7fe f9a7 bl 8006f88 - 8008c3a: e0da b.n 8008df2 + 80095b8: 69f8 ldr r0, [r7, #28] + 80095ba: f7fe f9a7 bl 800790c + 80095be: e0da b.n 8009776 } else { err = ERR_OK; - 8008c3c: 2300 movs r3, #0 - 8008c3e: 74fb strb r3, [r7, #19] + 80095c0: 2300 movs r3, #0 + 80095c2: 74fb strb r3, [r7, #19] /* If the application has registered a "sent" function to be called when new send buffer space is available, we call it now. */ if (recv_acked > 0) { - 8008c40: 4b63 ldr r3, [pc, #396] @ (8008dd0 ) - 8008c42: 881b ldrh r3, [r3, #0] - 8008c44: 2b00 cmp r3, #0 - 8008c46: d01d beq.n 8008c84 + 80095c4: 4b63 ldr r3, [pc, #396] @ (8009754 ) + 80095c6: 881b ldrh r3, [r3, #0] + 80095c8: 2b00 cmp r3, #0 + 80095ca: d01d beq.n 8009608 while (acked > 0) { acked16 = (u16_t)LWIP_MIN(acked, 0xffffu); acked -= acked16; #else { acked16 = recv_acked; - 8008c48: 4b61 ldr r3, [pc, #388] @ (8008dd0 ) - 8008c4a: 881b ldrh r3, [r3, #0] - 8008c4c: 81fb strh r3, [r7, #14] + 80095cc: 4b61 ldr r3, [pc, #388] @ (8009754 ) + 80095ce: 881b ldrh r3, [r3, #0] + 80095d0: 81fb strh r3, [r7, #14] #endif TCP_EVENT_SENT(pcb, (u16_t)acked16, err); - 8008c4e: 69fb ldr r3, [r7, #28] - 8008c50: f8d3 3080 ldr.w r3, [r3, #128] @ 0x80 - 8008c54: 2b00 cmp r3, #0 - 8008c56: d00a beq.n 8008c6e - 8008c58: 69fb ldr r3, [r7, #28] - 8008c5a: f8d3 3080 ldr.w r3, [r3, #128] @ 0x80 - 8008c5e: 69fa ldr r2, [r7, #28] - 8008c60: 6910 ldr r0, [r2, #16] - 8008c62: 89fa ldrh r2, [r7, #14] - 8008c64: 69f9 ldr r1, [r7, #28] - 8008c66: 4798 blx r3 - 8008c68: 4603 mov r3, r0 - 8008c6a: 74fb strb r3, [r7, #19] - 8008c6c: e001 b.n 8008c72 - 8008c6e: 2300 movs r3, #0 - 8008c70: 74fb strb r3, [r7, #19] + 80095d2: 69fb ldr r3, [r7, #28] + 80095d4: f8d3 3080 ldr.w r3, [r3, #128] @ 0x80 + 80095d8: 2b00 cmp r3, #0 + 80095da: d00a beq.n 80095f2 + 80095dc: 69fb ldr r3, [r7, #28] + 80095de: f8d3 3080 ldr.w r3, [r3, #128] @ 0x80 + 80095e2: 69fa ldr r2, [r7, #28] + 80095e4: 6910 ldr r0, [r2, #16] + 80095e6: 89fa ldrh r2, [r7, #14] + 80095e8: 69f9 ldr r1, [r7, #28] + 80095ea: 4798 blx r3 + 80095ec: 4603 mov r3, r0 + 80095ee: 74fb strb r3, [r7, #19] + 80095f0: e001 b.n 80095f6 + 80095f2: 2300 movs r3, #0 + 80095f4: 74fb strb r3, [r7, #19] if (err == ERR_ABRT) { - 8008c72: f997 3013 ldrsb.w r3, [r7, #19] - 8008c76: f113 0f0d cmn.w r3, #13 - 8008c7a: f000 8098 beq.w 8008dae + 80095f6: f997 3013 ldrsb.w r3, [r7, #19] + 80095fa: f113 0f0d cmn.w r3, #13 + 80095fe: f000 8098 beq.w 8009732 goto aborted; } } recv_acked = 0; - 8008c7e: 4b54 ldr r3, [pc, #336] @ (8008dd0 ) - 8008c80: 2200 movs r2, #0 - 8008c82: 801a strh r2, [r3, #0] + 8009602: 4b54 ldr r3, [pc, #336] @ (8009754 ) + 8009604: 2200 movs r2, #0 + 8009606: 801a strh r2, [r3, #0] } if (tcp_input_delayed_close(pcb)) { - 8008c84: 69f8 ldr r0, [r7, #28] - 8008c86: f000 f915 bl 8008eb4 - 8008c8a: 4603 mov r3, r0 - 8008c8c: 2b00 cmp r3, #0 - 8008c8e: f040 8090 bne.w 8008db2 + 8009608: 69f8 ldr r0, [r7, #28] + 800960a: f000 f915 bl 8009838 + 800960e: 4603 mov r3, r0 + 8009610: 2b00 cmp r3, #0 + 8009612: f040 8090 bne.w 8009736 #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE while (recv_data != NULL) { struct pbuf *rest = NULL; pbuf_split_64k(recv_data, &rest); #else /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ if (recv_data != NULL) { - 8008c92: 4b4d ldr r3, [pc, #308] @ (8008dc8 ) - 8008c94: 681b ldr r3, [r3, #0] - 8008c96: 2b00 cmp r3, #0 - 8008c98: d041 beq.n 8008d1e + 8009616: 4b4d ldr r3, [pc, #308] @ (800974c ) + 8009618: 681b ldr r3, [r3, #0] + 800961a: 2b00 cmp r3, #0 + 800961c: d041 beq.n 80096a2 #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ LWIP_ASSERT("pcb->refused_data == NULL", pcb->refused_data == NULL); - 8008c9a: 69fb ldr r3, [r7, #28] - 8008c9c: 6f9b ldr r3, [r3, #120] @ 0x78 - 8008c9e: 2b00 cmp r3, #0 - 8008ca0: d006 beq.n 8008cb0 - 8008ca2: 4b50 ldr r3, [pc, #320] @ (8008de4 ) - 8008ca4: f44f 72f3 mov.w r2, #486 @ 0x1e6 - 8008ca8: 494f ldr r1, [pc, #316] @ (8008de8 ) - 8008caa: 4850 ldr r0, [pc, #320] @ (8008dec ) - 8008cac: f008 fca4 bl 80115f8 + 800961e: 69fb ldr r3, [r7, #28] + 8009620: 6f9b ldr r3, [r3, #120] @ 0x78 + 8009622: 2b00 cmp r3, #0 + 8009624: d006 beq.n 8009634 + 8009626: 4b50 ldr r3, [pc, #320] @ (8009768 ) + 8009628: f44f 72f3 mov.w r2, #486 @ 0x1e6 + 800962c: 494f ldr r1, [pc, #316] @ (800976c ) + 800962e: 4850 ldr r0, [pc, #320] @ (8009770 ) + 8009630: f008 fca4 bl 8011f7c if (pcb->flags & TF_RXCLOSED) { - 8008cb0: 69fb ldr r3, [r7, #28] - 8008cb2: 8b5b ldrh r3, [r3, #26] - 8008cb4: f003 0310 and.w r3, r3, #16 - 8008cb8: 2b00 cmp r3, #0 - 8008cba: d008 beq.n 8008cce + 8009634: 69fb ldr r3, [r7, #28] + 8009636: 8b5b ldrh r3, [r3, #26] + 8009638: f003 0310 and.w r3, r3, #16 + 800963c: 2b00 cmp r3, #0 + 800963e: d008 beq.n 8009652 /* received data although already closed -> abort (send RST) to notify the remote host that not all data has been processed */ pbuf_free(recv_data); - 8008cbc: 4b42 ldr r3, [pc, #264] @ (8008dc8 ) - 8008cbe: 681b ldr r3, [r3, #0] - 8008cc0: 4618 mov r0, r3 - 8008cc2: f7fd feb1 bl 8006a28 + 8009640: 4b42 ldr r3, [pc, #264] @ (800974c ) + 8009642: 681b ldr r3, [r3, #0] + 8009644: 4618 mov r0, r3 + 8009646: f7fd feb1 bl 80073ac #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE if (rest != NULL) { pbuf_free(rest); } #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ tcp_abort(pcb); - 8008cc6: 69f8 ldr r0, [r7, #28] - 8008cc8: f7fe fc46 bl 8007558 + 800964a: 69f8 ldr r0, [r7, #28] + 800964c: f7fe fc46 bl 8007edc goto aborted; - 8008ccc: e091 b.n 8008df2 + 8009650: e091 b.n 8009776 } /* Notify application that data has been received. */ TCP_EVENT_RECV(pcb, recv_data, ERR_OK, err); - 8008cce: 69fb ldr r3, [r7, #28] - 8008cd0: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8008cd4: 2b00 cmp r3, #0 - 8008cd6: d00c beq.n 8008cf2 - 8008cd8: 69fb ldr r3, [r7, #28] - 8008cda: f8d3 4084 ldr.w r4, [r3, #132] @ 0x84 - 8008cde: 69fb ldr r3, [r7, #28] - 8008ce0: 6918 ldr r0, [r3, #16] - 8008ce2: 4b39 ldr r3, [pc, #228] @ (8008dc8 ) - 8008ce4: 681a ldr r2, [r3, #0] - 8008ce6: 2300 movs r3, #0 - 8008ce8: 69f9 ldr r1, [r7, #28] - 8008cea: 47a0 blx r4 - 8008cec: 4603 mov r3, r0 - 8008cee: 74fb strb r3, [r7, #19] - 8008cf0: e008 b.n 8008d04 - 8008cf2: 4b35 ldr r3, [pc, #212] @ (8008dc8 ) - 8008cf4: 681a ldr r2, [r3, #0] - 8008cf6: 2300 movs r3, #0 - 8008cf8: 69f9 ldr r1, [r7, #28] - 8008cfa: 2000 movs r0, #0 - 8008cfc: f7ff f95e bl 8007fbc - 8008d00: 4603 mov r3, r0 - 8008d02: 74fb strb r3, [r7, #19] + 8009652: 69fb ldr r3, [r7, #28] + 8009654: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 8009658: 2b00 cmp r3, #0 + 800965a: d00c beq.n 8009676 + 800965c: 69fb ldr r3, [r7, #28] + 800965e: f8d3 4084 ldr.w r4, [r3, #132] @ 0x84 + 8009662: 69fb ldr r3, [r7, #28] + 8009664: 6918 ldr r0, [r3, #16] + 8009666: 4b39 ldr r3, [pc, #228] @ (800974c ) + 8009668: 681a ldr r2, [r3, #0] + 800966a: 2300 movs r3, #0 + 800966c: 69f9 ldr r1, [r7, #28] + 800966e: 47a0 blx r4 + 8009670: 4603 mov r3, r0 + 8009672: 74fb strb r3, [r7, #19] + 8009674: e008 b.n 8009688 + 8009676: 4b35 ldr r3, [pc, #212] @ (800974c ) + 8009678: 681a ldr r2, [r3, #0] + 800967a: 2300 movs r3, #0 + 800967c: 69f9 ldr r1, [r7, #28] + 800967e: 2000 movs r0, #0 + 8009680: f7ff f95e bl 8008940 + 8009684: 4603 mov r3, r0 + 8009686: 74fb strb r3, [r7, #19] if (err == ERR_ABRT) { - 8008d04: f997 3013 ldrsb.w r3, [r7, #19] - 8008d08: f113 0f0d cmn.w r3, #13 - 8008d0c: d053 beq.n 8008db6 + 8009688: f997 3013 ldrsb.w r3, [r7, #19] + 800968c: f113 0f0d cmn.w r3, #13 + 8009690: d053 beq.n 800973a #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ goto aborted; } /* If the upper layer can't receive this data, store it */ if (err != ERR_OK) { - 8008d0e: f997 3013 ldrsb.w r3, [r7, #19] - 8008d12: 2b00 cmp r3, #0 - 8008d14: d003 beq.n 8008d1e + 8009692: f997 3013 ldrsb.w r3, [r7, #19] + 8009696: 2b00 cmp r3, #0 + 8009698: d003 beq.n 80096a2 #if TCP_QUEUE_OOSEQ && LWIP_WND_SCALE if (rest != NULL) { pbuf_cat(recv_data, rest); } #endif /* TCP_QUEUE_OOSEQ && LWIP_WND_SCALE */ pcb->refused_data = recv_data; - 8008d16: 4b2c ldr r3, [pc, #176] @ (8008dc8 ) - 8008d18: 681a ldr r2, [r3, #0] - 8008d1a: 69fb ldr r3, [r7, #28] - 8008d1c: 679a str r2, [r3, #120] @ 0x78 + 800969a: 4b2c ldr r3, [pc, #176] @ (800974c ) + 800969c: 681a ldr r2, [r3, #0] + 800969e: 69fb ldr r3, [r7, #28] + 80096a0: 679a str r2, [r3, #120] @ 0x78 } } /* If a FIN segment was received, we call the callback function with a NULL buffer to indicate EOF. */ if (recv_flags & TF_GOT_FIN) { - 8008d1e: 4b2b ldr r3, [pc, #172] @ (8008dcc ) - 8008d20: 781b ldrb r3, [r3, #0] - 8008d22: f003 0320 and.w r3, r3, #32 - 8008d26: 2b00 cmp r3, #0 - 8008d28: d030 beq.n 8008d8c + 80096a2: 4b2b ldr r3, [pc, #172] @ (8009750 ) + 80096a4: 781b ldrb r3, [r3, #0] + 80096a6: f003 0320 and.w r3, r3, #32 + 80096aa: 2b00 cmp r3, #0 + 80096ac: d030 beq.n 8009710 if (pcb->refused_data != NULL) { - 8008d2a: 69fb ldr r3, [r7, #28] - 8008d2c: 6f9b ldr r3, [r3, #120] @ 0x78 - 8008d2e: 2b00 cmp r3, #0 - 8008d30: d009 beq.n 8008d46 + 80096ae: 69fb ldr r3, [r7, #28] + 80096b0: 6f9b ldr r3, [r3, #120] @ 0x78 + 80096b2: 2b00 cmp r3, #0 + 80096b4: d009 beq.n 80096ca /* Delay this if we have refused data. */ pcb->refused_data->flags |= PBUF_FLAG_TCP_FIN; - 8008d32: 69fb ldr r3, [r7, #28] - 8008d34: 6f9b ldr r3, [r3, #120] @ 0x78 - 8008d36: 7b5a ldrb r2, [r3, #13] - 8008d38: 69fb ldr r3, [r7, #28] - 8008d3a: 6f9b ldr r3, [r3, #120] @ 0x78 - 8008d3c: f042 0220 orr.w r2, r2, #32 - 8008d40: b2d2 uxtb r2, r2 - 8008d42: 735a strb r2, [r3, #13] - 8008d44: e022 b.n 8008d8c + 80096b6: 69fb ldr r3, [r7, #28] + 80096b8: 6f9b ldr r3, [r3, #120] @ 0x78 + 80096ba: 7b5a ldrb r2, [r3, #13] + 80096bc: 69fb ldr r3, [r7, #28] + 80096be: 6f9b ldr r3, [r3, #120] @ 0x78 + 80096c0: f042 0220 orr.w r2, r2, #32 + 80096c4: b2d2 uxtb r2, r2 + 80096c6: 735a strb r2, [r3, #13] + 80096c8: e022 b.n 8009710 } else { /* correct rcv_wnd as the application won't call tcp_recved() for the FIN's seqno */ if (pcb->rcv_wnd != TCP_WND_MAX(pcb)) { - 8008d46: 69fb ldr r3, [r7, #28] - 8008d48: 8d1b ldrh r3, [r3, #40] @ 0x28 - 8008d4a: f5b3 6f06 cmp.w r3, #2144 @ 0x860 - 8008d4e: d005 beq.n 8008d5c + 80096ca: 69fb ldr r3, [r7, #28] + 80096cc: 8d1b ldrh r3, [r3, #40] @ 0x28 + 80096ce: f5b3 6f06 cmp.w r3, #2144 @ 0x860 + 80096d2: d005 beq.n 80096e0 pcb->rcv_wnd++; - 8008d50: 69fb ldr r3, [r7, #28] - 8008d52: 8d1b ldrh r3, [r3, #40] @ 0x28 - 8008d54: 3301 adds r3, #1 - 8008d56: b29a uxth r2, r3 - 8008d58: 69fb ldr r3, [r7, #28] - 8008d5a: 851a strh r2, [r3, #40] @ 0x28 + 80096d4: 69fb ldr r3, [r7, #28] + 80096d6: 8d1b ldrh r3, [r3, #40] @ 0x28 + 80096d8: 3301 adds r3, #1 + 80096da: b29a uxth r2, r3 + 80096dc: 69fb ldr r3, [r7, #28] + 80096de: 851a strh r2, [r3, #40] @ 0x28 } TCP_EVENT_CLOSED(pcb, err); - 8008d5c: 69fb ldr r3, [r7, #28] - 8008d5e: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8008d62: 2b00 cmp r3, #0 - 8008d64: d00b beq.n 8008d7e - 8008d66: 69fb ldr r3, [r7, #28] - 8008d68: f8d3 4084 ldr.w r4, [r3, #132] @ 0x84 - 8008d6c: 69fb ldr r3, [r7, #28] - 8008d6e: 6918 ldr r0, [r3, #16] - 8008d70: 2300 movs r3, #0 - 8008d72: 2200 movs r2, #0 - 8008d74: 69f9 ldr r1, [r7, #28] - 8008d76: 47a0 blx r4 - 8008d78: 4603 mov r3, r0 - 8008d7a: 74fb strb r3, [r7, #19] - 8008d7c: e001 b.n 8008d82 - 8008d7e: 2300 movs r3, #0 - 8008d80: 74fb strb r3, [r7, #19] + 80096e0: 69fb ldr r3, [r7, #28] + 80096e2: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 80096e6: 2b00 cmp r3, #0 + 80096e8: d00b beq.n 8009702 + 80096ea: 69fb ldr r3, [r7, #28] + 80096ec: f8d3 4084 ldr.w r4, [r3, #132] @ 0x84 + 80096f0: 69fb ldr r3, [r7, #28] + 80096f2: 6918 ldr r0, [r3, #16] + 80096f4: 2300 movs r3, #0 + 80096f6: 2200 movs r2, #0 + 80096f8: 69f9 ldr r1, [r7, #28] + 80096fa: 47a0 blx r4 + 80096fc: 4603 mov r3, r0 + 80096fe: 74fb strb r3, [r7, #19] + 8009700: e001 b.n 8009706 + 8009702: 2300 movs r3, #0 + 8009704: 74fb strb r3, [r7, #19] if (err == ERR_ABRT) { - 8008d82: f997 3013 ldrsb.w r3, [r7, #19] - 8008d86: f113 0f0d cmn.w r3, #13 - 8008d8a: d016 beq.n 8008dba + 8009706: f997 3013 ldrsb.w r3, [r7, #19] + 800970a: f113 0f0d cmn.w r3, #13 + 800970e: d016 beq.n 800973e goto aborted; } } } tcp_input_pcb = NULL; - 8008d8c: 4b13 ldr r3, [pc, #76] @ (8008ddc ) - 8008d8e: 2200 movs r2, #0 - 8008d90: 601a str r2, [r3, #0] + 8009710: 4b13 ldr r3, [pc, #76] @ (8009760 ) + 8009712: 2200 movs r2, #0 + 8009714: 601a str r2, [r3, #0] if (tcp_input_delayed_close(pcb)) { - 8008d92: 69f8 ldr r0, [r7, #28] - 8008d94: f000 f88e bl 8008eb4 - 8008d98: 4603 mov r3, r0 - 8008d9a: 2b00 cmp r3, #0 - 8008d9c: d128 bne.n 8008df0 + 8009716: 69f8 ldr r0, [r7, #28] + 8009718: f000 f88e bl 8009838 + 800971c: 4603 mov r3, r0 + 800971e: 2b00 cmp r3, #0 + 8009720: d128 bne.n 8009774 goto aborted; } /* Try to send something out. */ tcp_output(pcb); - 8008d9e: 69f8 ldr r0, [r7, #28] - 8008da0: f002 fac2 bl 800b328 - 8008da4: e025 b.n 8008df2 + 8009722: 69f8 ldr r0, [r7, #28] + 8009724: f002 fac2 bl 800bcac + 8009728: e025 b.n 8009776 goto aborted; - 8008da6: bf00 nop - 8008da8: e023 b.n 8008df2 + 800972a: bf00 nop + 800972c: e023 b.n 8009776 #endif /* TCP_INPUT_DEBUG */ } } /* Jump target if pcb has been aborted in a callback (by calling tcp_abort()). Below this line, 'pcb' may not be dereferenced! */ aborted: - 8008daa: bf00 nop - 8008dac: e021 b.n 8008df2 + 800972e: bf00 nop + 8009730: e021 b.n 8009776 goto aborted; - 8008dae: bf00 nop - 8008db0: e01f b.n 8008df2 + 8009732: bf00 nop + 8009734: e01f b.n 8009776 goto aborted; - 8008db2: bf00 nop - 8008db4: e01d b.n 8008df2 + 8009736: bf00 nop + 8009738: e01d b.n 8009776 goto aborted; - 8008db6: bf00 nop - 8008db8: e01b b.n 8008df2 + 800973a: bf00 nop + 800973c: e01b b.n 8009776 goto aborted; - 8008dba: bf00 nop - 8008dbc: e019 b.n 8008df2 - 8008dbe: bf00 nop - 8008dc0: 200190bc .word 0x200190bc - 8008dc4: 200190cc .word 0x200190cc - 8008dc8: 200190ec .word 0x200190ec - 8008dcc: 200190e9 .word 0x200190e9 - 8008dd0: 200190e4 .word 0x200190e4 - 8008dd4: 200190e8 .word 0x200190e8 - 8008dd8: 200190e6 .word 0x200190e6 - 8008ddc: 200190f0 .word 0x200190f0 - 8008de0: 200190b0 .word 0x200190b0 - 8008de4: 0801721c .word 0x0801721c - 8008de8: 080173d0 .word 0x080173d0 - 8008dec: 08017268 .word 0x08017268 + 800973e: bf00 nop + 8009740: e019 b.n 8009776 + 8009742: bf00 nop + 8009744: 200190f0 .word 0x200190f0 + 8009748: 20019100 .word 0x20019100 + 800974c: 20019120 .word 0x20019120 + 8009750: 2001911d .word 0x2001911d + 8009754: 20019118 .word 0x20019118 + 8009758: 2001911c .word 0x2001911c + 800975c: 2001911a .word 0x2001911a + 8009760: 20019124 .word 0x20019124 + 8009764: 200190e4 .word 0x200190e4 + 8009768: 08017b9c .word 0x08017b9c + 800976c: 08017d50 .word 0x08017d50 + 8009770: 08017be8 .word 0x08017be8 goto aborted; - 8008df0: bf00 nop + 8009774: bf00 nop tcp_input_pcb = NULL; - 8008df2: 4b27 ldr r3, [pc, #156] @ (8008e90 ) - 8008df4: 2200 movs r2, #0 - 8008df6: 601a str r2, [r3, #0] + 8009776: 4b27 ldr r3, [pc, #156] @ (8009814 ) + 8009778: 2200 movs r2, #0 + 800977a: 601a str r2, [r3, #0] recv_data = NULL; - 8008df8: 4b26 ldr r3, [pc, #152] @ (8008e94 ) - 8008dfa: 2200 movs r2, #0 - 8008dfc: 601a str r2, [r3, #0] + 800977c: 4b26 ldr r3, [pc, #152] @ (8009818 ) + 800977e: 2200 movs r2, #0 + 8009780: 601a str r2, [r3, #0] /* give up our reference to inseg.p */ if (inseg.p != NULL) { - 8008dfe: 4b26 ldr r3, [pc, #152] @ (8008e98 ) - 8008e00: 685b ldr r3, [r3, #4] - 8008e02: 2b00 cmp r3, #0 - 8008e04: d03f beq.n 8008e86 + 8009782: 4b26 ldr r3, [pc, #152] @ (800981c ) + 8009784: 685b ldr r3, [r3, #4] + 8009786: 2b00 cmp r3, #0 + 8009788: d03f beq.n 800980a pbuf_free(inseg.p); - 8008e06: 4b24 ldr r3, [pc, #144] @ (8008e98 ) - 8008e08: 685b ldr r3, [r3, #4] - 8008e0a: 4618 mov r0, r3 - 8008e0c: f7fd fe0c bl 8006a28 + 800978a: 4b24 ldr r3, [pc, #144] @ (800981c ) + 800978c: 685b ldr r3, [r3, #4] + 800978e: 4618 mov r0, r3 + 8009790: f7fd fe0c bl 80073ac inseg.p = NULL; - 8008e10: 4b21 ldr r3, [pc, #132] @ (8008e98 ) - 8008e12: 2200 movs r2, #0 - 8008e14: 605a str r2, [r3, #4] + 8009794: 4b21 ldr r3, [pc, #132] @ (800981c ) + 8009796: 2200 movs r2, #0 + 8009798: 605a str r2, [r3, #4] pbuf_free(p); } LWIP_ASSERT("tcp_input: tcp_pcbs_sane()", tcp_pcbs_sane()); PERF_STOP("tcp_input"); return; - 8008e16: e036 b.n 8008e86 + 800979a: e036 b.n 800980a if (!(TCPH_FLAGS(tcphdr) & TCP_RST)) { - 8008e18: 4b20 ldr r3, [pc, #128] @ (8008e9c ) - 8008e1a: 681b ldr r3, [r3, #0] - 8008e1c: 899b ldrh r3, [r3, #12] - 8008e1e: b29b uxth r3, r3 - 8008e20: 4618 mov r0, r3 - 8008e22: f7fc fab1 bl 8005388 - 8008e26: 4603 mov r3, r0 - 8008e28: b2db uxtb r3, r3 - 8008e2a: f003 0304 and.w r3, r3, #4 - 8008e2e: 2b00 cmp r3, #0 - 8008e30: d118 bne.n 8008e64 + 800979c: 4b20 ldr r3, [pc, #128] @ (8009820 ) + 800979e: 681b ldr r3, [r3, #0] + 80097a0: 899b ldrh r3, [r3, #12] + 80097a2: b29b uxth r3, r3 + 80097a4: 4618 mov r0, r3 + 80097a6: f7fc fab1 bl 8005d0c + 80097aa: 4603 mov r3, r0 + 80097ac: b2db uxtb r3, r3 + 80097ae: f003 0304 and.w r3, r3, #4 + 80097b2: 2b00 cmp r3, #0 + 80097b4: d118 bne.n 80097e8 tcp_rst(NULL, ackno, seqno + tcplen, ip_current_dest_addr(), - 8008e32: 4b1b ldr r3, [pc, #108] @ (8008ea0 ) - 8008e34: 6819 ldr r1, [r3, #0] - 8008e36: 4b1b ldr r3, [pc, #108] @ (8008ea4 ) - 8008e38: 881b ldrh r3, [r3, #0] - 8008e3a: 461a mov r2, r3 - 8008e3c: 4b1a ldr r3, [pc, #104] @ (8008ea8 ) - 8008e3e: 681b ldr r3, [r3, #0] - 8008e40: 18d0 adds r0, r2, r3 + 80097b6: 4b1b ldr r3, [pc, #108] @ (8009824 ) + 80097b8: 6819 ldr r1, [r3, #0] + 80097ba: 4b1b ldr r3, [pc, #108] @ (8009828 ) + 80097bc: 881b ldrh r3, [r3, #0] + 80097be: 461a mov r2, r3 + 80097c0: 4b1a ldr r3, [pc, #104] @ (800982c ) + 80097c2: 681b ldr r3, [r3, #0] + 80097c4: 18d0 adds r0, r2, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8008e42: 4b16 ldr r3, [pc, #88] @ (8008e9c ) - 8008e44: 681b ldr r3, [r3, #0] + 80097c6: 4b16 ldr r3, [pc, #88] @ (8009820 ) + 80097c8: 681b ldr r3, [r3, #0] tcp_rst(NULL, ackno, seqno + tcplen, ip_current_dest_addr(), - 8008e46: 885b ldrh r3, [r3, #2] - 8008e48: b29b uxth r3, r3 + 80097ca: 885b ldrh r3, [r3, #2] + 80097cc: b29b uxth r3, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8008e4a: 4a14 ldr r2, [pc, #80] @ (8008e9c ) - 8008e4c: 6812 ldr r2, [r2, #0] + 80097ce: 4a14 ldr r2, [pc, #80] @ (8009820 ) + 80097d0: 6812 ldr r2, [r2, #0] tcp_rst(NULL, ackno, seqno + tcplen, ip_current_dest_addr(), - 8008e4e: 8812 ldrh r2, [r2, #0] - 8008e50: b292 uxth r2, r2 - 8008e52: 9202 str r2, [sp, #8] - 8008e54: 9301 str r3, [sp, #4] - 8008e56: 4b15 ldr r3, [pc, #84] @ (8008eac ) - 8008e58: 9300 str r3, [sp, #0] - 8008e5a: 4b15 ldr r3, [pc, #84] @ (8008eb0 ) - 8008e5c: 4602 mov r2, r0 - 8008e5e: 2000 movs r0, #0 - 8008e60: f003 f816 bl 800be90 + 80097d2: 8812 ldrh r2, [r2, #0] + 80097d4: b292 uxth r2, r2 + 80097d6: 9202 str r2, [sp, #8] + 80097d8: 9301 str r3, [sp, #4] + 80097da: 4b15 ldr r3, [pc, #84] @ (8009830 ) + 80097dc: 9300 str r3, [sp, #0] + 80097de: 4b15 ldr r3, [pc, #84] @ (8009834 ) + 80097e0: 4602 mov r2, r0 + 80097e2: 2000 movs r0, #0 + 80097e4: f003 f816 bl 800c814 pbuf_free(p); - 8008e64: 6878 ldr r0, [r7, #4] - 8008e66: f7fd fddf bl 8006a28 + 80097e8: 6878 ldr r0, [r7, #4] + 80097ea: f7fd fddf bl 80073ac return; - 8008e6a: e00c b.n 8008e86 + 80097ee: e00c b.n 800980a goto dropped; - 8008e6c: bf00 nop - 8008e6e: e006 b.n 8008e7e + 80097f0: bf00 nop + 80097f2: e006 b.n 8009802 goto dropped; - 8008e70: bf00 nop - 8008e72: e004 b.n 8008e7e + 80097f4: bf00 nop + 80097f6: e004 b.n 8009802 goto dropped; - 8008e74: bf00 nop - 8008e76: e002 b.n 8008e7e + 80097f8: bf00 nop + 80097fa: e002 b.n 8009802 goto dropped; - 8008e78: bf00 nop - 8008e7a: e000 b.n 8008e7e + 80097fc: bf00 nop + 80097fe: e000 b.n 8009802 goto dropped; - 8008e7c: bf00 nop + 8009800: bf00 nop dropped: TCP_STATS_INC(tcp.drop); MIB2_STATS_INC(mib2.tcpinerrs); pbuf_free(p); - 8008e7e: 6878 ldr r0, [r7, #4] - 8008e80: f7fd fdd2 bl 8006a28 - 8008e84: e000 b.n 8008e88 + 8009802: 6878 ldr r0, [r7, #4] + 8009804: f7fd fdd2 bl 80073ac + 8009808: e000 b.n 800980c return; - 8008e86: bf00 nop + 800980a: bf00 nop } - 8008e88: 3724 adds r7, #36 @ 0x24 - 8008e8a: 46bd mov sp, r7 - 8008e8c: bd90 pop {r4, r7, pc} - 8008e8e: bf00 nop - 8008e90: 200190f0 .word 0x200190f0 - 8008e94: 200190ec .word 0x200190ec - 8008e98: 200190bc .word 0x200190bc - 8008e9c: 200190cc .word 0x200190cc - 8008ea0: 200190e0 .word 0x200190e0 - 8008ea4: 200190e6 .word 0x200190e6 - 8008ea8: 200190dc .word 0x200190dc - 8008eac: 2000615c .word 0x2000615c - 8008eb0: 20006160 .word 0x20006160 + 800980c: 3724 adds r7, #36 @ 0x24 + 800980e: 46bd mov sp, r7 + 8009810: bd90 pop {r4, r7, pc} + 8009812: bf00 nop + 8009814: 20019124 .word 0x20019124 + 8009818: 20019120 .word 0x20019120 + 800981c: 200190f0 .word 0x200190f0 + 8009820: 20019100 .word 0x20019100 + 8009824: 20019114 .word 0x20019114 + 8009828: 2001911a .word 0x2001911a + 800982c: 20019110 .word 0x20019110 + 8009830: 20006190 .word 0x20006190 + 8009834: 20006194 .word 0x20006194 -08008eb4 : +08009838 : * any more. * @returns 1 if the pcb has been closed and deallocated, 0 otherwise */ static int tcp_input_delayed_close(struct tcp_pcb *pcb) { - 8008eb4: b580 push {r7, lr} - 8008eb6: b082 sub sp, #8 - 8008eb8: af00 add r7, sp, #0 - 8008eba: 6078 str r0, [r7, #4] + 8009838: b580 push {r7, lr} + 800983a: b082 sub sp, #8 + 800983c: af00 add r7, sp, #0 + 800983e: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_input_delayed_close: invalid pcb", pcb != NULL); - 8008ebc: 687b ldr r3, [r7, #4] - 8008ebe: 2b00 cmp r3, #0 - 8008ec0: d106 bne.n 8008ed0 - 8008ec2: 4b17 ldr r3, [pc, #92] @ (8008f20 ) - 8008ec4: f240 225a movw r2, #602 @ 0x25a - 8008ec8: 4916 ldr r1, [pc, #88] @ (8008f24 ) - 8008eca: 4817 ldr r0, [pc, #92] @ (8008f28 ) - 8008ecc: f008 fb94 bl 80115f8 + 8009840: 687b ldr r3, [r7, #4] + 8009842: 2b00 cmp r3, #0 + 8009844: d106 bne.n 8009854 + 8009846: 4b17 ldr r3, [pc, #92] @ (80098a4 ) + 8009848: f240 225a movw r2, #602 @ 0x25a + 800984c: 4916 ldr r1, [pc, #88] @ (80098a8 ) + 800984e: 4817 ldr r0, [pc, #92] @ (80098ac ) + 8009850: f008 fb94 bl 8011f7c if (recv_flags & TF_CLOSED) { - 8008ed0: 4b16 ldr r3, [pc, #88] @ (8008f2c ) - 8008ed2: 781b ldrb r3, [r3, #0] - 8008ed4: f003 0310 and.w r3, r3, #16 - 8008ed8: 2b00 cmp r3, #0 - 8008eda: d01c beq.n 8008f16 + 8009854: 4b16 ldr r3, [pc, #88] @ (80098b0 ) + 8009856: 781b ldrb r3, [r3, #0] + 8009858: f003 0310 and.w r3, r3, #16 + 800985c: 2b00 cmp r3, #0 + 800985e: d01c beq.n 800989a /* The connection has been closed and we will deallocate the PCB. */ if (!(pcb->flags & TF_RXCLOSED)) { - 8008edc: 687b ldr r3, [r7, #4] - 8008ede: 8b5b ldrh r3, [r3, #26] - 8008ee0: f003 0310 and.w r3, r3, #16 - 8008ee4: 2b00 cmp r3, #0 - 8008ee6: d10d bne.n 8008f04 + 8009860: 687b ldr r3, [r7, #4] + 8009862: 8b5b ldrh r3, [r3, #26] + 8009864: f003 0310 and.w r3, r3, #16 + 8009868: 2b00 cmp r3, #0 + 800986a: d10d bne.n 8009888 /* Connection closed although the application has only shut down the tx side: call the PCB's err callback and indicate the closure to ensure the application doesn't continue using the PCB. */ TCP_EVENT_ERR(pcb->state, pcb->errf, pcb->callback_arg, ERR_CLSD); - 8008ee8: 687b ldr r3, [r7, #4] - 8008eea: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 - 8008eee: 2b00 cmp r3, #0 - 8008ef0: d008 beq.n 8008f04 - 8008ef2: 687b ldr r3, [r7, #4] - 8008ef4: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 - 8008ef8: 687a ldr r2, [r7, #4] - 8008efa: 6912 ldr r2, [r2, #16] - 8008efc: f06f 010e mvn.w r1, #14 - 8008f00: 4610 mov r0, r2 - 8008f02: 4798 blx r3 + 800986c: 687b ldr r3, [r7, #4] + 800986e: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 + 8009872: 2b00 cmp r3, #0 + 8009874: d008 beq.n 8009888 + 8009876: 687b ldr r3, [r7, #4] + 8009878: f8d3 3090 ldr.w r3, [r3, #144] @ 0x90 + 800987c: 687a ldr r2, [r7, #4] + 800987e: 6912 ldr r2, [r2, #16] + 8009880: f06f 010e mvn.w r1, #14 + 8009884: 4610 mov r0, r2 + 8009886: 4798 blx r3 } tcp_pcb_remove(&tcp_active_pcbs, pcb); - 8008f04: 6879 ldr r1, [r7, #4] - 8008f06: 480a ldr r0, [pc, #40] @ (8008f30 ) - 8008f08: f7ff fa50 bl 80083ac + 8009888: 6879 ldr r1, [r7, #4] + 800988a: 480a ldr r0, [pc, #40] @ (80098b4 ) + 800988c: f7ff fa50 bl 8008d30 tcp_free(pcb); - 8008f0c: 6878 ldr r0, [r7, #4] - 8008f0e: f7fe f83b bl 8006f88 + 8009890: 6878 ldr r0, [r7, #4] + 8009892: f7fe f83b bl 800790c return 1; - 8008f12: 2301 movs r3, #1 - 8008f14: e000 b.n 8008f18 + 8009896: 2301 movs r3, #1 + 8009898: e000 b.n 800989c } return 0; - 8008f16: 2300 movs r3, #0 + 800989a: 2300 movs r3, #0 } - 8008f18: 4618 mov r0, r3 - 8008f1a: 3708 adds r7, #8 - 8008f1c: 46bd mov sp, r7 - 8008f1e: bd80 pop {r7, pc} - 8008f20: 0801721c .word 0x0801721c - 8008f24: 080173ec .word 0x080173ec - 8008f28: 08017268 .word 0x08017268 - 8008f2c: 200190e9 .word 0x200190e9 - 8008f30: 200190b0 .word 0x200190b0 + 800989c: 4618 mov r0, r3 + 800989e: 3708 adds r7, #8 + 80098a0: 46bd mov sp, r7 + 80098a2: bd80 pop {r7, pc} + 80098a4: 08017b9c .word 0x08017b9c + 80098a8: 08017d6c .word 0x08017d6c + 80098ac: 08017be8 .word 0x08017be8 + 80098b0: 2001911d .word 0x2001911d + 80098b4: 200190e4 .word 0x200190e4 -08008f34 : +080098b8 : * @note the segment which arrived is saved in global variables, therefore only the pcb * involved is passed as a parameter to this function */ static void tcp_listen_input(struct tcp_pcb_listen *pcb) { - 8008f34: b590 push {r4, r7, lr} - 8008f36: b08b sub sp, #44 @ 0x2c - 8008f38: af04 add r7, sp, #16 - 8008f3a: 6078 str r0, [r7, #4] + 80098b8: b590 push {r4, r7, lr} + 80098ba: b08b sub sp, #44 @ 0x2c + 80098bc: af04 add r7, sp, #16 + 80098be: 6078 str r0, [r7, #4] struct tcp_pcb *npcb; u32_t iss; err_t rc; if (flags & TCP_RST) { - 8008f3c: 4b6f ldr r3, [pc, #444] @ (80090fc ) - 8008f3e: 781b ldrb r3, [r3, #0] - 8008f40: f003 0304 and.w r3, r3, #4 - 8008f44: 2b00 cmp r3, #0 - 8008f46: f040 80d2 bne.w 80090ee + 80098c0: 4b6f ldr r3, [pc, #444] @ (8009a80 ) + 80098c2: 781b ldrb r3, [r3, #0] + 80098c4: f003 0304 and.w r3, r3, #4 + 80098c8: 2b00 cmp r3, #0 + 80098ca: f040 80d2 bne.w 8009a72 /* An incoming RST should be ignored. Return. */ return; } LWIP_ASSERT("tcp_listen_input: invalid pcb", pcb != NULL); - 8008f4a: 687b ldr r3, [r7, #4] - 8008f4c: 2b00 cmp r3, #0 - 8008f4e: d106 bne.n 8008f5e - 8008f50: 4b6b ldr r3, [pc, #428] @ (8009100 ) - 8008f52: f240 2281 movw r2, #641 @ 0x281 - 8008f56: 496b ldr r1, [pc, #428] @ (8009104 ) - 8008f58: 486b ldr r0, [pc, #428] @ (8009108 ) - 8008f5a: f008 fb4d bl 80115f8 + 80098ce: 687b ldr r3, [r7, #4] + 80098d0: 2b00 cmp r3, #0 + 80098d2: d106 bne.n 80098e2 + 80098d4: 4b6b ldr r3, [pc, #428] @ (8009a84 ) + 80098d6: f240 2281 movw r2, #641 @ 0x281 + 80098da: 496b ldr r1, [pc, #428] @ (8009a88 ) + 80098dc: 486b ldr r0, [pc, #428] @ (8009a8c ) + 80098de: f008 fb4d bl 8011f7c /* In the LISTEN state, we check for incoming SYN segments, creates a new PCB, and responds with a SYN|ACK. */ if (flags & TCP_ACK) { - 8008f5e: 4b67 ldr r3, [pc, #412] @ (80090fc ) - 8008f60: 781b ldrb r3, [r3, #0] - 8008f62: f003 0310 and.w r3, r3, #16 - 8008f66: 2b00 cmp r3, #0 - 8008f68: d019 beq.n 8008f9e + 80098e2: 4b67 ldr r3, [pc, #412] @ (8009a80 ) + 80098e4: 781b ldrb r3, [r3, #0] + 80098e6: f003 0310 and.w r3, r3, #16 + 80098ea: 2b00 cmp r3, #0 + 80098ec: d019 beq.n 8009922 /* For incoming segments with the ACK flag set, respond with a RST. */ LWIP_DEBUGF(TCP_RST_DEBUG, ("tcp_listen_input: ACK in LISTEN, sending reset\n")); tcp_rst((const struct tcp_pcb *)pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8008f6a: 4b68 ldr r3, [pc, #416] @ (800910c ) - 8008f6c: 6819 ldr r1, [r3, #0] - 8008f6e: 4b68 ldr r3, [pc, #416] @ (8009110 ) - 8008f70: 881b ldrh r3, [r3, #0] - 8008f72: 461a mov r2, r3 - 8008f74: 4b67 ldr r3, [pc, #412] @ (8009114 ) - 8008f76: 681b ldr r3, [r3, #0] - 8008f78: 18d0 adds r0, r2, r3 + 80098ee: 4b68 ldr r3, [pc, #416] @ (8009a90 ) + 80098f0: 6819 ldr r1, [r3, #0] + 80098f2: 4b68 ldr r3, [pc, #416] @ (8009a94 ) + 80098f4: 881b ldrh r3, [r3, #0] + 80098f6: 461a mov r2, r3 + 80098f8: 4b67 ldr r3, [pc, #412] @ (8009a98 ) + 80098fa: 681b ldr r3, [r3, #0] + 80098fc: 18d0 adds r0, r2, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8008f7a: 4b67 ldr r3, [pc, #412] @ (8009118 ) - 8008f7c: 681b ldr r3, [r3, #0] + 80098fe: 4b67 ldr r3, [pc, #412] @ (8009a9c ) + 8009900: 681b ldr r3, [r3, #0] tcp_rst((const struct tcp_pcb *)pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8008f7e: 885b ldrh r3, [r3, #2] - 8008f80: b29b uxth r3, r3 + 8009902: 885b ldrh r3, [r3, #2] + 8009904: b29b uxth r3, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8008f82: 4a65 ldr r2, [pc, #404] @ (8009118 ) - 8008f84: 6812 ldr r2, [r2, #0] + 8009906: 4a65 ldr r2, [pc, #404] @ (8009a9c ) + 8009908: 6812 ldr r2, [r2, #0] tcp_rst((const struct tcp_pcb *)pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8008f86: 8812 ldrh r2, [r2, #0] - 8008f88: b292 uxth r2, r2 - 8008f8a: 9202 str r2, [sp, #8] - 8008f8c: 9301 str r3, [sp, #4] - 8008f8e: 4b63 ldr r3, [pc, #396] @ (800911c ) - 8008f90: 9300 str r3, [sp, #0] - 8008f92: 4b63 ldr r3, [pc, #396] @ (8009120 ) - 8008f94: 4602 mov r2, r0 - 8008f96: 6878 ldr r0, [r7, #4] - 8008f98: f002 ff7a bl 800be90 + 800990a: 8812 ldrh r2, [r2, #0] + 800990c: b292 uxth r2, r2 + 800990e: 9202 str r2, [sp, #8] + 8009910: 9301 str r3, [sp, #4] + 8009912: 4b63 ldr r3, [pc, #396] @ (8009aa0 ) + 8009914: 9300 str r3, [sp, #0] + 8009916: 4b63 ldr r3, [pc, #396] @ (8009aa4 ) + 8009918: 4602 mov r2, r0 + 800991a: 6878 ldr r0, [r7, #4] + 800991c: f002 ff7a bl 800c814 tcp_abandon(npcb, 0); return; } tcp_output(npcb); } return; - 8008f9c: e0a9 b.n 80090f2 + 8009920: e0a9 b.n 8009a76 } else if (flags & TCP_SYN) { - 8008f9e: 4b57 ldr r3, [pc, #348] @ (80090fc ) - 8008fa0: 781b ldrb r3, [r3, #0] - 8008fa2: f003 0302 and.w r3, r3, #2 - 8008fa6: 2b00 cmp r3, #0 - 8008fa8: f000 80a3 beq.w 80090f2 + 8009922: 4b57 ldr r3, [pc, #348] @ (8009a80 ) + 8009924: 781b ldrb r3, [r3, #0] + 8009926: f003 0302 and.w r3, r3, #2 + 800992a: 2b00 cmp r3, #0 + 800992c: f000 80a3 beq.w 8009a76 npcb = tcp_alloc(pcb->prio); - 8008fac: 687b ldr r3, [r7, #4] - 8008fae: 7d5b ldrb r3, [r3, #21] - 8008fb0: 4618 mov r0, r3 - 8008fb2: f7ff f927 bl 8008204 - 8008fb6: 6178 str r0, [r7, #20] + 8009930: 687b ldr r3, [r7, #4] + 8009932: 7d5b ldrb r3, [r3, #21] + 8009934: 4618 mov r0, r3 + 8009936: f7ff f927 bl 8008b88 + 800993a: 6178 str r0, [r7, #20] if (npcb == NULL) { - 8008fb8: 697b ldr r3, [r7, #20] - 8008fba: 2b00 cmp r3, #0 - 8008fbc: d111 bne.n 8008fe2 + 800993c: 697b ldr r3, [r7, #20] + 800993e: 2b00 cmp r3, #0 + 8009940: d111 bne.n 8009966 TCP_EVENT_ACCEPT(pcb, NULL, pcb->callback_arg, ERR_MEM, err); - 8008fbe: 687b ldr r3, [r7, #4] - 8008fc0: 699b ldr r3, [r3, #24] - 8008fc2: 2b00 cmp r3, #0 - 8008fc4: d00a beq.n 8008fdc - 8008fc6: 687b ldr r3, [r7, #4] - 8008fc8: 699b ldr r3, [r3, #24] - 8008fca: 687a ldr r2, [r7, #4] - 8008fcc: 6910 ldr r0, [r2, #16] - 8008fce: f04f 32ff mov.w r2, #4294967295 - 8008fd2: 2100 movs r1, #0 - 8008fd4: 4798 blx r3 - 8008fd6: 4603 mov r3, r0 - 8008fd8: 73bb strb r3, [r7, #14] + 8009942: 687b ldr r3, [r7, #4] + 8009944: 699b ldr r3, [r3, #24] + 8009946: 2b00 cmp r3, #0 + 8009948: d00a beq.n 8009960 + 800994a: 687b ldr r3, [r7, #4] + 800994c: 699b ldr r3, [r3, #24] + 800994e: 687a ldr r2, [r7, #4] + 8009950: 6910 ldr r0, [r2, #16] + 8009952: f04f 32ff mov.w r2, #4294967295 + 8009956: 2100 movs r1, #0 + 8009958: 4798 blx r3 + 800995a: 4603 mov r3, r0 + 800995c: 73bb strb r3, [r7, #14] return; - 8008fda: e08b b.n 80090f4 + 800995e: e08b b.n 8009a78 TCP_EVENT_ACCEPT(pcb, NULL, pcb->callback_arg, ERR_MEM, err); - 8008fdc: 23f0 movs r3, #240 @ 0xf0 - 8008fde: 73bb strb r3, [r7, #14] + 8009960: 23f0 movs r3, #240 @ 0xf0 + 8009962: 73bb strb r3, [r7, #14] return; - 8008fe0: e088 b.n 80090f4 + 8009964: e088 b.n 8009a78 ip_addr_copy(npcb->local_ip, *ip_current_dest_addr()); - 8008fe2: 4b50 ldr r3, [pc, #320] @ (8009124 ) - 8008fe4: 695a ldr r2, [r3, #20] - 8008fe6: 697b ldr r3, [r7, #20] - 8008fe8: 601a str r2, [r3, #0] + 8009966: 4b50 ldr r3, [pc, #320] @ (8009aa8 ) + 8009968: 695a ldr r2, [r3, #20] + 800996a: 697b ldr r3, [r7, #20] + 800996c: 601a str r2, [r3, #0] ip_addr_copy(npcb->remote_ip, *ip_current_src_addr()); - 8008fea: 4b4e ldr r3, [pc, #312] @ (8009124 ) - 8008fec: 691a ldr r2, [r3, #16] - 8008fee: 697b ldr r3, [r7, #20] - 8008ff0: 605a str r2, [r3, #4] + 800996e: 4b4e ldr r3, [pc, #312] @ (8009aa8 ) + 8009970: 691a ldr r2, [r3, #16] + 8009972: 697b ldr r3, [r7, #20] + 8009974: 605a str r2, [r3, #4] npcb->local_port = pcb->local_port; - 8008ff2: 687b ldr r3, [r7, #4] - 8008ff4: 8ada ldrh r2, [r3, #22] - 8008ff6: 697b ldr r3, [r7, #20] - 8008ff8: 82da strh r2, [r3, #22] + 8009976: 687b ldr r3, [r7, #4] + 8009978: 8ada ldrh r2, [r3, #22] + 800997a: 697b ldr r3, [r7, #20] + 800997c: 82da strh r2, [r3, #22] npcb->remote_port = tcphdr->src; - 8008ffa: 4b47 ldr r3, [pc, #284] @ (8009118 ) - 8008ffc: 681b ldr r3, [r3, #0] - 8008ffe: 881b ldrh r3, [r3, #0] - 8009000: b29a uxth r2, r3 - 8009002: 697b ldr r3, [r7, #20] - 8009004: 831a strh r2, [r3, #24] + 800997e: 4b47 ldr r3, [pc, #284] @ (8009a9c ) + 8009980: 681b ldr r3, [r3, #0] + 8009982: 881b ldrh r3, [r3, #0] + 8009984: b29a uxth r2, r3 + 8009986: 697b ldr r3, [r7, #20] + 8009988: 831a strh r2, [r3, #24] npcb->state = SYN_RCVD; - 8009006: 697b ldr r3, [r7, #20] - 8009008: 2203 movs r2, #3 - 800900a: 751a strb r2, [r3, #20] + 800998a: 697b ldr r3, [r7, #20] + 800998c: 2203 movs r2, #3 + 800998e: 751a strb r2, [r3, #20] npcb->rcv_nxt = seqno + 1; - 800900c: 4b41 ldr r3, [pc, #260] @ (8009114 ) - 800900e: 681b ldr r3, [r3, #0] - 8009010: 1c5a adds r2, r3, #1 - 8009012: 697b ldr r3, [r7, #20] - 8009014: 625a str r2, [r3, #36] @ 0x24 + 8009990: 4b41 ldr r3, [pc, #260] @ (8009a98 ) + 8009992: 681b ldr r3, [r3, #0] + 8009994: 1c5a adds r2, r3, #1 + 8009996: 697b ldr r3, [r7, #20] + 8009998: 625a str r2, [r3, #36] @ 0x24 npcb->rcv_ann_right_edge = npcb->rcv_nxt; - 8009016: 697b ldr r3, [r7, #20] - 8009018: 6a5a ldr r2, [r3, #36] @ 0x24 - 800901a: 697b ldr r3, [r7, #20] - 800901c: 62da str r2, [r3, #44] @ 0x2c + 800999a: 697b ldr r3, [r7, #20] + 800999c: 6a5a ldr r2, [r3, #36] @ 0x24 + 800999e: 697b ldr r3, [r7, #20] + 80099a0: 62da str r2, [r3, #44] @ 0x2c iss = tcp_next_iss(npcb); - 800901e: 6978 ldr r0, [r7, #20] - 8009020: f7ff fa58 bl 80084d4 - 8009024: 6138 str r0, [r7, #16] + 80099a2: 6978 ldr r0, [r7, #20] + 80099a4: f7ff fa58 bl 8008e58 + 80099a8: 6138 str r0, [r7, #16] npcb->snd_wl2 = iss; - 8009026: 697b ldr r3, [r7, #20] - 8009028: 693a ldr r2, [r7, #16] - 800902a: 659a str r2, [r3, #88] @ 0x58 + 80099aa: 697b ldr r3, [r7, #20] + 80099ac: 693a ldr r2, [r7, #16] + 80099ae: 659a str r2, [r3, #88] @ 0x58 npcb->snd_nxt = iss; - 800902c: 697b ldr r3, [r7, #20] - 800902e: 693a ldr r2, [r7, #16] - 8009030: 651a str r2, [r3, #80] @ 0x50 + 80099b0: 697b ldr r3, [r7, #20] + 80099b2: 693a ldr r2, [r7, #16] + 80099b4: 651a str r2, [r3, #80] @ 0x50 npcb->lastack = iss; - 8009032: 697b ldr r3, [r7, #20] - 8009034: 693a ldr r2, [r7, #16] - 8009036: 645a str r2, [r3, #68] @ 0x44 + 80099b6: 697b ldr r3, [r7, #20] + 80099b8: 693a ldr r2, [r7, #16] + 80099ba: 645a str r2, [r3, #68] @ 0x44 npcb->snd_lbb = iss; - 8009038: 697b ldr r3, [r7, #20] - 800903a: 693a ldr r2, [r7, #16] - 800903c: 65da str r2, [r3, #92] @ 0x5c + 80099bc: 697b ldr r3, [r7, #20] + 80099be: 693a ldr r2, [r7, #16] + 80099c0: 65da str r2, [r3, #92] @ 0x5c npcb->snd_wl1 = seqno - 1;/* initialise to seqno-1 to force window update */ - 800903e: 4b35 ldr r3, [pc, #212] @ (8009114 ) - 8009040: 681b ldr r3, [r3, #0] - 8009042: 1e5a subs r2, r3, #1 - 8009044: 697b ldr r3, [r7, #20] - 8009046: 655a str r2, [r3, #84] @ 0x54 + 80099c2: 4b35 ldr r3, [pc, #212] @ (8009a98 ) + 80099c4: 681b ldr r3, [r3, #0] + 80099c6: 1e5a subs r2, r3, #1 + 80099c8: 697b ldr r3, [r7, #20] + 80099ca: 655a str r2, [r3, #84] @ 0x54 npcb->callback_arg = pcb->callback_arg; - 8009048: 687b ldr r3, [r7, #4] - 800904a: 691a ldr r2, [r3, #16] - 800904c: 697b ldr r3, [r7, #20] - 800904e: 611a str r2, [r3, #16] + 80099cc: 687b ldr r3, [r7, #4] + 80099ce: 691a ldr r2, [r3, #16] + 80099d0: 697b ldr r3, [r7, #20] + 80099d2: 611a str r2, [r3, #16] npcb->listener = pcb; - 8009050: 697b ldr r3, [r7, #20] - 8009052: 687a ldr r2, [r7, #4] - 8009054: 67da str r2, [r3, #124] @ 0x7c + 80099d4: 697b ldr r3, [r7, #20] + 80099d6: 687a ldr r2, [r7, #4] + 80099d8: 67da str r2, [r3, #124] @ 0x7c npcb->so_options = pcb->so_options & SOF_INHERITED; - 8009056: 687b ldr r3, [r7, #4] - 8009058: 7a5b ldrb r3, [r3, #9] - 800905a: f003 030c and.w r3, r3, #12 - 800905e: b2da uxtb r2, r3 - 8009060: 697b ldr r3, [r7, #20] - 8009062: 725a strb r2, [r3, #9] + 80099da: 687b ldr r3, [r7, #4] + 80099dc: 7a5b ldrb r3, [r3, #9] + 80099de: f003 030c and.w r3, r3, #12 + 80099e2: b2da uxtb r2, r3 + 80099e4: 697b ldr r3, [r7, #20] + 80099e6: 725a strb r2, [r3, #9] npcb->netif_idx = pcb->netif_idx; - 8009064: 687b ldr r3, [r7, #4] - 8009066: 7a1a ldrb r2, [r3, #8] - 8009068: 697b ldr r3, [r7, #20] - 800906a: 721a strb r2, [r3, #8] + 80099e8: 687b ldr r3, [r7, #4] + 80099ea: 7a1a ldrb r2, [r3, #8] + 80099ec: 697b ldr r3, [r7, #20] + 80099ee: 721a strb r2, [r3, #8] TCP_REG_ACTIVE(npcb); - 800906c: 4b2e ldr r3, [pc, #184] @ (8009128 ) - 800906e: 681a ldr r2, [r3, #0] - 8009070: 697b ldr r3, [r7, #20] - 8009072: 60da str r2, [r3, #12] - 8009074: 4a2c ldr r2, [pc, #176] @ (8009128 ) - 8009076: 697b ldr r3, [r7, #20] - 8009078: 6013 str r3, [r2, #0] - 800907a: f003 f8cb bl 800c214 - 800907e: 4b2b ldr r3, [pc, #172] @ (800912c ) - 8009080: 2201 movs r2, #1 - 8009082: 701a strb r2, [r3, #0] + 80099f0: 4b2e ldr r3, [pc, #184] @ (8009aac ) + 80099f2: 681a ldr r2, [r3, #0] + 80099f4: 697b ldr r3, [r7, #20] + 80099f6: 60da str r2, [r3, #12] + 80099f8: 4a2c ldr r2, [pc, #176] @ (8009aac ) + 80099fa: 697b ldr r3, [r7, #20] + 80099fc: 6013 str r3, [r2, #0] + 80099fe: f003 f8cb bl 800cb98 + 8009a02: 4b2b ldr r3, [pc, #172] @ (8009ab0 ) + 8009a04: 2201 movs r2, #1 + 8009a06: 701a strb r2, [r3, #0] tcp_parseopt(npcb); - 8009084: 6978 ldr r0, [r7, #20] - 8009086: f001 fd8b bl 800aba0 + 8009a08: 6978 ldr r0, [r7, #20] + 8009a0a: f001 fd8b bl 800b524 npcb->snd_wnd = tcphdr->wnd; - 800908a: 4b23 ldr r3, [pc, #140] @ (8009118 ) - 800908c: 681b ldr r3, [r3, #0] - 800908e: 89db ldrh r3, [r3, #14] - 8009090: b29a uxth r2, r3 - 8009092: 697b ldr r3, [r7, #20] - 8009094: f8a3 2060 strh.w r2, [r3, #96] @ 0x60 + 8009a0e: 4b23 ldr r3, [pc, #140] @ (8009a9c ) + 8009a10: 681b ldr r3, [r3, #0] + 8009a12: 89db ldrh r3, [r3, #14] + 8009a14: b29a uxth r2, r3 + 8009a16: 697b ldr r3, [r7, #20] + 8009a18: f8a3 2060 strh.w r2, [r3, #96] @ 0x60 npcb->snd_wnd_max = npcb->snd_wnd; - 8009098: 697b ldr r3, [r7, #20] - 800909a: f8b3 2060 ldrh.w r2, [r3, #96] @ 0x60 - 800909e: 697b ldr r3, [r7, #20] - 80090a0: f8a3 2062 strh.w r2, [r3, #98] @ 0x62 + 8009a1c: 697b ldr r3, [r7, #20] + 8009a1e: f8b3 2060 ldrh.w r2, [r3, #96] @ 0x60 + 8009a22: 697b ldr r3, [r7, #20] + 8009a24: f8a3 2062 strh.w r2, [r3, #98] @ 0x62 npcb->mss = tcp_eff_send_mss(npcb->mss, &npcb->local_ip, &npcb->remote_ip); - 80090a4: 697b ldr r3, [r7, #20] - 80090a6: 8e5c ldrh r4, [r3, #50] @ 0x32 - 80090a8: 697b ldr r3, [r7, #20] - 80090aa: 3304 adds r3, #4 - 80090ac: 4618 mov r0, r3 - 80090ae: f006 fe7d bl 800fdac - 80090b2: 4601 mov r1, r0 - 80090b4: 697b ldr r3, [r7, #20] - 80090b6: 3304 adds r3, #4 - 80090b8: 461a mov r2, r3 - 80090ba: 4620 mov r0, r4 - 80090bc: f7ff fa30 bl 8008520 - 80090c0: 4603 mov r3, r0 - 80090c2: 461a mov r2, r3 - 80090c4: 697b ldr r3, [r7, #20] - 80090c6: 865a strh r2, [r3, #50] @ 0x32 + 8009a28: 697b ldr r3, [r7, #20] + 8009a2a: 8e5c ldrh r4, [r3, #50] @ 0x32 + 8009a2c: 697b ldr r3, [r7, #20] + 8009a2e: 3304 adds r3, #4 + 8009a30: 4618 mov r0, r3 + 8009a32: f006 fe7d bl 8010730 + 8009a36: 4601 mov r1, r0 + 8009a38: 697b ldr r3, [r7, #20] + 8009a3a: 3304 adds r3, #4 + 8009a3c: 461a mov r2, r3 + 8009a3e: 4620 mov r0, r4 + 8009a40: f7ff fa30 bl 8008ea4 + 8009a44: 4603 mov r3, r0 + 8009a46: 461a mov r2, r3 + 8009a48: 697b ldr r3, [r7, #20] + 8009a4a: 865a strh r2, [r3, #50] @ 0x32 rc = tcp_enqueue_flags(npcb, TCP_SYN | TCP_ACK); - 80090c8: 2112 movs r1, #18 - 80090ca: 6978 ldr r0, [r7, #20] - 80090cc: f002 f83e bl 800b14c - 80090d0: 4603 mov r3, r0 - 80090d2: 73fb strb r3, [r7, #15] + 8009a4c: 2112 movs r1, #18 + 8009a4e: 6978 ldr r0, [r7, #20] + 8009a50: f002 f83e bl 800bad0 + 8009a54: 4603 mov r3, r0 + 8009a56: 73fb strb r3, [r7, #15] if (rc != ERR_OK) { - 80090d4: f997 300f ldrsb.w r3, [r7, #15] - 80090d8: 2b00 cmp r3, #0 - 80090da: d004 beq.n 80090e6 + 8009a58: f997 300f ldrsb.w r3, [r7, #15] + 8009a5c: 2b00 cmp r3, #0 + 8009a5e: d004 beq.n 8009a6a tcp_abandon(npcb, 0); - 80090dc: 2100 movs r1, #0 - 80090de: 6978 ldr r0, [r7, #20] - 80090e0: f7fe f97c bl 80073dc + 8009a60: 2100 movs r1, #0 + 8009a62: 6978 ldr r0, [r7, #20] + 8009a64: f7fe f97c bl 8007d60 return; - 80090e4: e006 b.n 80090f4 + 8009a68: e006 b.n 8009a78 tcp_output(npcb); - 80090e6: 6978 ldr r0, [r7, #20] - 80090e8: f002 f91e bl 800b328 + 8009a6a: 6978 ldr r0, [r7, #20] + 8009a6c: f002 f91e bl 800bcac return; - 80090ec: e001 b.n 80090f2 + 8009a70: e001 b.n 8009a76 return; - 80090ee: bf00 nop - 80090f0: e000 b.n 80090f4 + 8009a72: bf00 nop + 8009a74: e000 b.n 8009a78 return; - 80090f2: bf00 nop + 8009a76: bf00 nop } - 80090f4: 371c adds r7, #28 - 80090f6: 46bd mov sp, r7 - 80090f8: bd90 pop {r4, r7, pc} - 80090fa: bf00 nop - 80090fc: 200190e8 .word 0x200190e8 - 8009100: 0801721c .word 0x0801721c - 8009104: 08017414 .word 0x08017414 - 8009108: 08017268 .word 0x08017268 - 800910c: 200190e0 .word 0x200190e0 - 8009110: 200190e6 .word 0x200190e6 - 8009114: 200190dc .word 0x200190dc - 8009118: 200190cc .word 0x200190cc - 800911c: 2000615c .word 0x2000615c - 8009120: 20006160 .word 0x20006160 - 8009124: 2000614c .word 0x2000614c - 8009128: 200190b0 .word 0x200190b0 - 800912c: 200190b8 .word 0x200190b8 + 8009a78: 371c adds r7, #28 + 8009a7a: 46bd mov sp, r7 + 8009a7c: bd90 pop {r4, r7, pc} + 8009a7e: bf00 nop + 8009a80: 2001911c .word 0x2001911c + 8009a84: 08017b9c .word 0x08017b9c + 8009a88: 08017d94 .word 0x08017d94 + 8009a8c: 08017be8 .word 0x08017be8 + 8009a90: 20019114 .word 0x20019114 + 8009a94: 2001911a .word 0x2001911a + 8009a98: 20019110 .word 0x20019110 + 8009a9c: 20019100 .word 0x20019100 + 8009aa0: 20006190 .word 0x20006190 + 8009aa4: 20006194 .word 0x20006194 + 8009aa8: 20006180 .word 0x20006180 + 8009aac: 200190e4 .word 0x200190e4 + 8009ab0: 200190ec .word 0x200190ec -08009130 : +08009ab4 : * @note the segment which arrived is saved in global variables, therefore only the pcb * involved is passed as a parameter to this function */ static void tcp_timewait_input(struct tcp_pcb *pcb) { - 8009130: b580 push {r7, lr} - 8009132: b086 sub sp, #24 - 8009134: af04 add r7, sp, #16 - 8009136: 6078 str r0, [r7, #4] + 8009ab4: b580 push {r7, lr} + 8009ab6: b086 sub sp, #24 + 8009ab8: af04 add r7, sp, #16 + 8009aba: 6078 str r0, [r7, #4] /* RFC 1337: in TIME_WAIT, ignore RST and ACK FINs + any 'acceptable' segments */ /* RFC 793 3.9 Event Processing - Segment Arrives: * - first check sequence number - we skip that one in TIME_WAIT (always * acceptable since we only send ACKs) * - second check the RST bit (... return) */ if (flags & TCP_RST) { - 8009138: 4b2f ldr r3, [pc, #188] @ (80091f8 ) - 800913a: 781b ldrb r3, [r3, #0] - 800913c: f003 0304 and.w r3, r3, #4 - 8009140: 2b00 cmp r3, #0 - 8009142: d153 bne.n 80091ec + 8009abc: 4b2f ldr r3, [pc, #188] @ (8009b7c ) + 8009abe: 781b ldrb r3, [r3, #0] + 8009ac0: f003 0304 and.w r3, r3, #4 + 8009ac4: 2b00 cmp r3, #0 + 8009ac6: d153 bne.n 8009b70 return; } LWIP_ASSERT("tcp_timewait_input: invalid pcb", pcb != NULL); - 8009144: 687b ldr r3, [r7, #4] - 8009146: 2b00 cmp r3, #0 - 8009148: d106 bne.n 8009158 - 800914a: 4b2c ldr r3, [pc, #176] @ (80091fc ) - 800914c: f240 22ee movw r2, #750 @ 0x2ee - 8009150: 492b ldr r1, [pc, #172] @ (8009200 ) - 8009152: 482c ldr r0, [pc, #176] @ (8009204 ) - 8009154: f008 fa50 bl 80115f8 + 8009ac8: 687b ldr r3, [r7, #4] + 8009aca: 2b00 cmp r3, #0 + 8009acc: d106 bne.n 8009adc + 8009ace: 4b2c ldr r3, [pc, #176] @ (8009b80 ) + 8009ad0: f240 22ee movw r2, #750 @ 0x2ee + 8009ad4: 492b ldr r1, [pc, #172] @ (8009b84 ) + 8009ad6: 482c ldr r0, [pc, #176] @ (8009b88 ) + 8009ad8: f008 fa50 bl 8011f7c /* - fourth, check the SYN bit, */ if (flags & TCP_SYN) { - 8009158: 4b27 ldr r3, [pc, #156] @ (80091f8 ) - 800915a: 781b ldrb r3, [r3, #0] - 800915c: f003 0302 and.w r3, r3, #2 - 8009160: 2b00 cmp r3, #0 - 8009162: d02a beq.n 80091ba + 8009adc: 4b27 ldr r3, [pc, #156] @ (8009b7c ) + 8009ade: 781b ldrb r3, [r3, #0] + 8009ae0: f003 0302 and.w r3, r3, #2 + 8009ae4: 2b00 cmp r3, #0 + 8009ae6: d02a beq.n 8009b3e /* If an incoming segment is not acceptable, an acknowledgment should be sent in reply */ if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, pcb->rcv_nxt + pcb->rcv_wnd)) { - 8009164: 4b28 ldr r3, [pc, #160] @ (8009208 ) - 8009166: 681a ldr r2, [r3, #0] - 8009168: 687b ldr r3, [r7, #4] - 800916a: 6a5b ldr r3, [r3, #36] @ 0x24 - 800916c: 1ad3 subs r3, r2, r3 - 800916e: 2b00 cmp r3, #0 - 8009170: db2d blt.n 80091ce - 8009172: 4b25 ldr r3, [pc, #148] @ (8009208 ) - 8009174: 681a ldr r2, [r3, #0] - 8009176: 687b ldr r3, [r7, #4] - 8009178: 6a5b ldr r3, [r3, #36] @ 0x24 - 800917a: 6879 ldr r1, [r7, #4] - 800917c: 8d09 ldrh r1, [r1, #40] @ 0x28 - 800917e: 440b add r3, r1 - 8009180: 1ad3 subs r3, r2, r3 - 8009182: 2b00 cmp r3, #0 - 8009184: dc23 bgt.n 80091ce + 8009ae8: 4b28 ldr r3, [pc, #160] @ (8009b8c ) + 8009aea: 681a ldr r2, [r3, #0] + 8009aec: 687b ldr r3, [r7, #4] + 8009aee: 6a5b ldr r3, [r3, #36] @ 0x24 + 8009af0: 1ad3 subs r3, r2, r3 + 8009af2: 2b00 cmp r3, #0 + 8009af4: db2d blt.n 8009b52 + 8009af6: 4b25 ldr r3, [pc, #148] @ (8009b8c ) + 8009af8: 681a ldr r2, [r3, #0] + 8009afa: 687b ldr r3, [r7, #4] + 8009afc: 6a5b ldr r3, [r3, #36] @ 0x24 + 8009afe: 6879 ldr r1, [r7, #4] + 8009b00: 8d09 ldrh r1, [r1, #40] @ 0x28 + 8009b02: 440b add r3, r1 + 8009b04: 1ad3 subs r3, r2, r3 + 8009b06: 2b00 cmp r3, #0 + 8009b08: dc23 bgt.n 8009b52 /* If the SYN is in the window it is an error, send a reset */ tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8009186: 4b21 ldr r3, [pc, #132] @ (800920c ) - 8009188: 6819 ldr r1, [r3, #0] - 800918a: 4b21 ldr r3, [pc, #132] @ (8009210 ) - 800918c: 881b ldrh r3, [r3, #0] - 800918e: 461a mov r2, r3 - 8009190: 4b1d ldr r3, [pc, #116] @ (8009208 ) - 8009192: 681b ldr r3, [r3, #0] - 8009194: 18d0 adds r0, r2, r3 + 8009b0a: 4b21 ldr r3, [pc, #132] @ (8009b90 ) + 8009b0c: 6819 ldr r1, [r3, #0] + 8009b0e: 4b21 ldr r3, [pc, #132] @ (8009b94 ) + 8009b10: 881b ldrh r3, [r3, #0] + 8009b12: 461a mov r2, r3 + 8009b14: 4b1d ldr r3, [pc, #116] @ (8009b8c ) + 8009b16: 681b ldr r3, [r3, #0] + 8009b18: 18d0 adds r0, r2, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8009196: 4b1f ldr r3, [pc, #124] @ (8009214 ) - 8009198: 681b ldr r3, [r3, #0] + 8009b1a: 4b1f ldr r3, [pc, #124] @ (8009b98 ) + 8009b1c: 681b ldr r3, [r3, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 800919a: 885b ldrh r3, [r3, #2] - 800919c: b29b uxth r3, r3 + 8009b1e: 885b ldrh r3, [r3, #2] + 8009b20: b29b uxth r3, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 800919e: 4a1d ldr r2, [pc, #116] @ (8009214 ) - 80091a0: 6812 ldr r2, [r2, #0] + 8009b22: 4a1d ldr r2, [pc, #116] @ (8009b98 ) + 8009b24: 6812 ldr r2, [r2, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 80091a2: 8812 ldrh r2, [r2, #0] - 80091a4: b292 uxth r2, r2 - 80091a6: 9202 str r2, [sp, #8] - 80091a8: 9301 str r3, [sp, #4] - 80091aa: 4b1b ldr r3, [pc, #108] @ (8009218 ) - 80091ac: 9300 str r3, [sp, #0] - 80091ae: 4b1b ldr r3, [pc, #108] @ (800921c ) - 80091b0: 4602 mov r2, r0 - 80091b2: 6878 ldr r0, [r7, #4] - 80091b4: f002 fe6c bl 800be90 + 8009b26: 8812 ldrh r2, [r2, #0] + 8009b28: b292 uxth r2, r2 + 8009b2a: 9202 str r2, [sp, #8] + 8009b2c: 9301 str r3, [sp, #4] + 8009b2e: 4b1b ldr r3, [pc, #108] @ (8009b9c ) + 8009b30: 9300 str r3, [sp, #0] + 8009b32: 4b1b ldr r3, [pc, #108] @ (8009ba0 ) + 8009b34: 4602 mov r2, r0 + 8009b36: 6878 ldr r0, [r7, #4] + 8009b38: f002 fe6c bl 800c814 return; - 80091b8: e01b b.n 80091f2 + 8009b3c: e01b b.n 8009b76 } } else if (flags & TCP_FIN) { - 80091ba: 4b0f ldr r3, [pc, #60] @ (80091f8 ) - 80091bc: 781b ldrb r3, [r3, #0] - 80091be: f003 0301 and.w r3, r3, #1 - 80091c2: 2b00 cmp r3, #0 - 80091c4: d003 beq.n 80091ce + 8009b3e: 4b0f ldr r3, [pc, #60] @ (8009b7c ) + 8009b40: 781b ldrb r3, [r3, #0] + 8009b42: f003 0301 and.w r3, r3, #1 + 8009b46: 2b00 cmp r3, #0 + 8009b48: d003 beq.n 8009b52 /* - eighth, check the FIN bit: Remain in the TIME-WAIT state. Restart the 2 MSL time-wait timeout.*/ pcb->tmr = tcp_ticks; - 80091c6: 4b16 ldr r3, [pc, #88] @ (8009220 ) - 80091c8: 681a ldr r2, [r3, #0] - 80091ca: 687b ldr r3, [r7, #4] - 80091cc: 621a str r2, [r3, #32] + 8009b4a: 4b16 ldr r3, [pc, #88] @ (8009ba4 ) + 8009b4c: 681a ldr r2, [r3, #0] + 8009b4e: 687b ldr r3, [r7, #4] + 8009b50: 621a str r2, [r3, #32] } if ((tcplen > 0)) { - 80091ce: 4b10 ldr r3, [pc, #64] @ (8009210 ) - 80091d0: 881b ldrh r3, [r3, #0] - 80091d2: 2b00 cmp r3, #0 - 80091d4: d00c beq.n 80091f0 + 8009b52: 4b10 ldr r3, [pc, #64] @ (8009b94 ) + 8009b54: 881b ldrh r3, [r3, #0] + 8009b56: 2b00 cmp r3, #0 + 8009b58: d00c beq.n 8009b74 /* Acknowledge data, FIN or out-of-window SYN */ tcp_ack_now(pcb); - 80091d6: 687b ldr r3, [r7, #4] - 80091d8: 8b5b ldrh r3, [r3, #26] - 80091da: f043 0302 orr.w r3, r3, #2 - 80091de: b29a uxth r2, r3 - 80091e0: 687b ldr r3, [r7, #4] - 80091e2: 835a strh r2, [r3, #26] + 8009b5a: 687b ldr r3, [r7, #4] + 8009b5c: 8b5b ldrh r3, [r3, #26] + 8009b5e: f043 0302 orr.w r3, r3, #2 + 8009b62: b29a uxth r2, r3 + 8009b64: 687b ldr r3, [r7, #4] + 8009b66: 835a strh r2, [r3, #26] tcp_output(pcb); - 80091e4: 6878 ldr r0, [r7, #4] - 80091e6: f002 f89f bl 800b328 + 8009b68: 6878 ldr r0, [r7, #4] + 8009b6a: f002 f89f bl 800bcac } return; - 80091ea: e001 b.n 80091f0 + 8009b6e: e001 b.n 8009b74 return; - 80091ec: bf00 nop - 80091ee: e000 b.n 80091f2 + 8009b70: bf00 nop + 8009b72: e000 b.n 8009b76 return; - 80091f0: bf00 nop + 8009b74: bf00 nop } - 80091f2: 3708 adds r7, #8 - 80091f4: 46bd mov sp, r7 - 80091f6: bd80 pop {r7, pc} - 80091f8: 200190e8 .word 0x200190e8 - 80091fc: 0801721c .word 0x0801721c - 8009200: 08017434 .word 0x08017434 - 8009204: 08017268 .word 0x08017268 - 8009208: 200190dc .word 0x200190dc - 800920c: 200190e0 .word 0x200190e0 - 8009210: 200190e6 .word 0x200190e6 - 8009214: 200190cc .word 0x200190cc - 8009218: 2000615c .word 0x2000615c - 800921c: 20006160 .word 0x20006160 - 8009220: 200190a4 .word 0x200190a4 + 8009b76: 3708 adds r7, #8 + 8009b78: 46bd mov sp, r7 + 8009b7a: bd80 pop {r7, pc} + 8009b7c: 2001911c .word 0x2001911c + 8009b80: 08017b9c .word 0x08017b9c + 8009b84: 08017db4 .word 0x08017db4 + 8009b88: 08017be8 .word 0x08017be8 + 8009b8c: 20019110 .word 0x20019110 + 8009b90: 20019114 .word 0x20019114 + 8009b94: 2001911a .word 0x2001911a + 8009b98: 20019100 .word 0x20019100 + 8009b9c: 20006190 .word 0x20006190 + 8009ba0: 20006194 .word 0x20006194 + 8009ba4: 200190d8 .word 0x200190d8 -08009224 : +08009ba8 : * @note the segment which arrived is saved in global variables, therefore only the pcb * involved is passed as a parameter to this function */ static err_t tcp_process(struct tcp_pcb *pcb) { - 8009224: b590 push {r4, r7, lr} - 8009226: b08d sub sp, #52 @ 0x34 - 8009228: af04 add r7, sp, #16 - 800922a: 6078 str r0, [r7, #4] + 8009ba8: b590 push {r4, r7, lr} + 8009baa: b08d sub sp, #52 @ 0x34 + 8009bac: af04 add r7, sp, #16 + 8009bae: 6078 str r0, [r7, #4] struct tcp_seg *rseg; u8_t acceptable = 0; - 800922c: 2300 movs r3, #0 - 800922e: 76fb strb r3, [r7, #27] + 8009bb0: 2300 movs r3, #0 + 8009bb2: 76fb strb r3, [r7, #27] err_t err; err = ERR_OK; - 8009230: 2300 movs r3, #0 - 8009232: 76bb strb r3, [r7, #26] + 8009bb4: 2300 movs r3, #0 + 8009bb6: 76bb strb r3, [r7, #26] LWIP_ASSERT("tcp_process: invalid pcb", pcb != NULL); - 8009234: 687b ldr r3, [r7, #4] - 8009236: 2b00 cmp r3, #0 - 8009238: d106 bne.n 8009248 - 800923a: 4b9d ldr r3, [pc, #628] @ (80094b0 ) - 800923c: f44f 7247 mov.w r2, #796 @ 0x31c - 8009240: 499c ldr r1, [pc, #624] @ (80094b4 ) - 8009242: 489d ldr r0, [pc, #628] @ (80094b8 ) - 8009244: f008 f9d8 bl 80115f8 + 8009bb8: 687b ldr r3, [r7, #4] + 8009bba: 2b00 cmp r3, #0 + 8009bbc: d106 bne.n 8009bcc + 8009bbe: 4b9d ldr r3, [pc, #628] @ (8009e34 ) + 8009bc0: f44f 7247 mov.w r2, #796 @ 0x31c + 8009bc4: 499c ldr r1, [pc, #624] @ (8009e38 ) + 8009bc6: 489d ldr r0, [pc, #628] @ (8009e3c ) + 8009bc8: f008 f9d8 bl 8011f7c /* Process incoming RST segments. */ if (flags & TCP_RST) { - 8009248: 4b9c ldr r3, [pc, #624] @ (80094bc ) - 800924a: 781b ldrb r3, [r3, #0] - 800924c: f003 0304 and.w r3, r3, #4 - 8009250: 2b00 cmp r3, #0 - 8009252: d04e beq.n 80092f2 + 8009bcc: 4b9c ldr r3, [pc, #624] @ (8009e40 ) + 8009bce: 781b ldrb r3, [r3, #0] + 8009bd0: f003 0304 and.w r3, r3, #4 + 8009bd4: 2b00 cmp r3, #0 + 8009bd6: d04e beq.n 8009c76 /* First, determine if the reset is acceptable. */ if (pcb->state == SYN_SENT) { - 8009254: 687b ldr r3, [r7, #4] - 8009256: 7d1b ldrb r3, [r3, #20] - 8009258: 2b02 cmp r3, #2 - 800925a: d108 bne.n 800926e + 8009bd8: 687b ldr r3, [r7, #4] + 8009bda: 7d1b ldrb r3, [r3, #20] + 8009bdc: 2b02 cmp r3, #2 + 8009bde: d108 bne.n 8009bf2 /* "In the SYN-SENT state (a RST received in response to an initial SYN), the RST is acceptable if the ACK field acknowledges the SYN." */ if (ackno == pcb->snd_nxt) { - 800925c: 687b ldr r3, [r7, #4] - 800925e: 6d1a ldr r2, [r3, #80] @ 0x50 - 8009260: 4b97 ldr r3, [pc, #604] @ (80094c0 ) - 8009262: 681b ldr r3, [r3, #0] - 8009264: 429a cmp r2, r3 - 8009266: d123 bne.n 80092b0 + 8009be0: 687b ldr r3, [r7, #4] + 8009be2: 6d1a ldr r2, [r3, #80] @ 0x50 + 8009be4: 4b97 ldr r3, [pc, #604] @ (8009e44 ) + 8009be6: 681b ldr r3, [r3, #0] + 8009be8: 429a cmp r2, r3 + 8009bea: d123 bne.n 8009c34 acceptable = 1; - 8009268: 2301 movs r3, #1 - 800926a: 76fb strb r3, [r7, #27] - 800926c: e020 b.n 80092b0 + 8009bec: 2301 movs r3, #1 + 8009bee: 76fb strb r3, [r7, #27] + 8009bf0: e020 b.n 8009c34 } } else { /* "In all states except SYN-SENT, all reset (RST) segments are validated by checking their SEQ-fields." */ if (seqno == pcb->rcv_nxt) { - 800926e: 687b ldr r3, [r7, #4] - 8009270: 6a5a ldr r2, [r3, #36] @ 0x24 - 8009272: 4b94 ldr r3, [pc, #592] @ (80094c4 ) - 8009274: 681b ldr r3, [r3, #0] - 8009276: 429a cmp r2, r3 - 8009278: d102 bne.n 8009280 + 8009bf2: 687b ldr r3, [r7, #4] + 8009bf4: 6a5a ldr r2, [r3, #36] @ 0x24 + 8009bf6: 4b94 ldr r3, [pc, #592] @ (8009e48 ) + 8009bf8: 681b ldr r3, [r3, #0] + 8009bfa: 429a cmp r2, r3 + 8009bfc: d102 bne.n 8009c04 acceptable = 1; - 800927a: 2301 movs r3, #1 - 800927c: 76fb strb r3, [r7, #27] - 800927e: e017 b.n 80092b0 + 8009bfe: 2301 movs r3, #1 + 8009c00: 76fb strb r3, [r7, #27] + 8009c02: e017 b.n 8009c34 } else if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, - 8009280: 4b90 ldr r3, [pc, #576] @ (80094c4 ) - 8009282: 681a ldr r2, [r3, #0] - 8009284: 687b ldr r3, [r7, #4] - 8009286: 6a5b ldr r3, [r3, #36] @ 0x24 - 8009288: 1ad3 subs r3, r2, r3 - 800928a: 2b00 cmp r3, #0 - 800928c: db10 blt.n 80092b0 - 800928e: 4b8d ldr r3, [pc, #564] @ (80094c4 ) - 8009290: 681a ldr r2, [r3, #0] - 8009292: 687b ldr r3, [r7, #4] - 8009294: 6a5b ldr r3, [r3, #36] @ 0x24 - 8009296: 6879 ldr r1, [r7, #4] - 8009298: 8d09 ldrh r1, [r1, #40] @ 0x28 - 800929a: 440b add r3, r1 - 800929c: 1ad3 subs r3, r2, r3 - 800929e: 2b00 cmp r3, #0 - 80092a0: dc06 bgt.n 80092b0 + 8009c04: 4b90 ldr r3, [pc, #576] @ (8009e48 ) + 8009c06: 681a ldr r2, [r3, #0] + 8009c08: 687b ldr r3, [r7, #4] + 8009c0a: 6a5b ldr r3, [r3, #36] @ 0x24 + 8009c0c: 1ad3 subs r3, r2, r3 + 8009c0e: 2b00 cmp r3, #0 + 8009c10: db10 blt.n 8009c34 + 8009c12: 4b8d ldr r3, [pc, #564] @ (8009e48 ) + 8009c14: 681a ldr r2, [r3, #0] + 8009c16: 687b ldr r3, [r7, #4] + 8009c18: 6a5b ldr r3, [r3, #36] @ 0x24 + 8009c1a: 6879 ldr r1, [r7, #4] + 8009c1c: 8d09 ldrh r1, [r1, #40] @ 0x28 + 8009c1e: 440b add r3, r1 + 8009c20: 1ad3 subs r3, r2, r3 + 8009c22: 2b00 cmp r3, #0 + 8009c24: dc06 bgt.n 8009c34 pcb->rcv_nxt + pcb->rcv_wnd)) { /* If the sequence number is inside the window, we send a challenge ACK and wait for a re-send with matching sequence number. This follows RFC 5961 section 3.2 and addresses CVE-2004-0230 (RST spoofing attack), which is present in RFC 793 RST handling. */ tcp_ack_now(pcb); - 80092a2: 687b ldr r3, [r7, #4] - 80092a4: 8b5b ldrh r3, [r3, #26] - 80092a6: f043 0302 orr.w r3, r3, #2 - 80092aa: b29a uxth r2, r3 - 80092ac: 687b ldr r3, [r7, #4] - 80092ae: 835a strh r2, [r3, #26] + 8009c26: 687b ldr r3, [r7, #4] + 8009c28: 8b5b ldrh r3, [r3, #26] + 8009c2a: f043 0302 orr.w r3, r3, #2 + 8009c2e: b29a uxth r2, r3 + 8009c30: 687b ldr r3, [r7, #4] + 8009c32: 835a strh r2, [r3, #26] } } if (acceptable) { - 80092b0: 7efb ldrb r3, [r7, #27] - 80092b2: 2b00 cmp r3, #0 - 80092b4: d01b beq.n 80092ee + 8009c34: 7efb ldrb r3, [r7, #27] + 8009c36: 2b00 cmp r3, #0 + 8009c38: d01b beq.n 8009c72 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_process: Connection RESET\n")); LWIP_ASSERT("tcp_input: pcb->state != CLOSED", pcb->state != CLOSED); - 80092b6: 687b ldr r3, [r7, #4] - 80092b8: 7d1b ldrb r3, [r3, #20] - 80092ba: 2b00 cmp r3, #0 - 80092bc: d106 bne.n 80092cc - 80092be: 4b7c ldr r3, [pc, #496] @ (80094b0 ) - 80092c0: f44f 724e mov.w r2, #824 @ 0x338 - 80092c4: 4980 ldr r1, [pc, #512] @ (80094c8 ) - 80092c6: 487c ldr r0, [pc, #496] @ (80094b8 ) - 80092c8: f008 f996 bl 80115f8 + 8009c3a: 687b ldr r3, [r7, #4] + 8009c3c: 7d1b ldrb r3, [r3, #20] + 8009c3e: 2b00 cmp r3, #0 + 8009c40: d106 bne.n 8009c50 + 8009c42: 4b7c ldr r3, [pc, #496] @ (8009e34 ) + 8009c44: f44f 724e mov.w r2, #824 @ 0x338 + 8009c48: 4980 ldr r1, [pc, #512] @ (8009e4c ) + 8009c4a: 487c ldr r0, [pc, #496] @ (8009e3c ) + 8009c4c: f008 f996 bl 8011f7c recv_flags |= TF_RESET; - 80092cc: 4b7f ldr r3, [pc, #508] @ (80094cc ) - 80092ce: 781b ldrb r3, [r3, #0] - 80092d0: f043 0308 orr.w r3, r3, #8 - 80092d4: b2da uxtb r2, r3 - 80092d6: 4b7d ldr r3, [pc, #500] @ (80094cc ) - 80092d8: 701a strb r2, [r3, #0] + 8009c50: 4b7f ldr r3, [pc, #508] @ (8009e50 ) + 8009c52: 781b ldrb r3, [r3, #0] + 8009c54: f043 0308 orr.w r3, r3, #8 + 8009c58: b2da uxtb r2, r3 + 8009c5a: 4b7d ldr r3, [pc, #500] @ (8009e50 ) + 8009c5c: 701a strb r2, [r3, #0] tcp_clear_flags(pcb, TF_ACK_DELAY); - 80092da: 687b ldr r3, [r7, #4] - 80092dc: 8b5b ldrh r3, [r3, #26] - 80092de: f023 0301 bic.w r3, r3, #1 - 80092e2: b29a uxth r2, r3 - 80092e4: 687b ldr r3, [r7, #4] - 80092e6: 835a strh r2, [r3, #26] + 8009c5e: 687b ldr r3, [r7, #4] + 8009c60: 8b5b ldrh r3, [r3, #26] + 8009c62: f023 0301 bic.w r3, r3, #1 + 8009c66: b29a uxth r2, r3 + 8009c68: 687b ldr r3, [r7, #4] + 8009c6a: 835a strh r2, [r3, #26] return ERR_RST; - 80092e8: f06f 030d mvn.w r3, #13 - 80092ec: e37a b.n 80099e4 + 8009c6c: f06f 030d mvn.w r3, #13 + 8009c70: e37a b.n 800a368 } else { LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_process: unacceptable reset seqno %"U32_F" rcv_nxt %"U32_F"\n", seqno, pcb->rcv_nxt)); LWIP_DEBUGF(TCP_DEBUG, ("tcp_process: unacceptable reset seqno %"U32_F" rcv_nxt %"U32_F"\n", seqno, pcb->rcv_nxt)); return ERR_OK; - 80092ee: 2300 movs r3, #0 - 80092f0: e378 b.n 80099e4 + 8009c72: 2300 movs r3, #0 + 8009c74: e378 b.n 800a368 } } if ((flags & TCP_SYN) && (pcb->state != SYN_SENT && pcb->state != SYN_RCVD)) { - 80092f2: 4b72 ldr r3, [pc, #456] @ (80094bc ) - 80092f4: 781b ldrb r3, [r3, #0] - 80092f6: f003 0302 and.w r3, r3, #2 - 80092fa: 2b00 cmp r3, #0 - 80092fc: d010 beq.n 8009320 - 80092fe: 687b ldr r3, [r7, #4] - 8009300: 7d1b ldrb r3, [r3, #20] - 8009302: 2b02 cmp r3, #2 - 8009304: d00c beq.n 8009320 - 8009306: 687b ldr r3, [r7, #4] - 8009308: 7d1b ldrb r3, [r3, #20] - 800930a: 2b03 cmp r3, #3 - 800930c: d008 beq.n 8009320 + 8009c76: 4b72 ldr r3, [pc, #456] @ (8009e40 ) + 8009c78: 781b ldrb r3, [r3, #0] + 8009c7a: f003 0302 and.w r3, r3, #2 + 8009c7e: 2b00 cmp r3, #0 + 8009c80: d010 beq.n 8009ca4 + 8009c82: 687b ldr r3, [r7, #4] + 8009c84: 7d1b ldrb r3, [r3, #20] + 8009c86: 2b02 cmp r3, #2 + 8009c88: d00c beq.n 8009ca4 + 8009c8a: 687b ldr r3, [r7, #4] + 8009c8c: 7d1b ldrb r3, [r3, #20] + 8009c8e: 2b03 cmp r3, #3 + 8009c90: d008 beq.n 8009ca4 /* Cope with new connection attempt after remote end crashed */ tcp_ack_now(pcb); - 800930e: 687b ldr r3, [r7, #4] - 8009310: 8b5b ldrh r3, [r3, #26] - 8009312: f043 0302 orr.w r3, r3, #2 - 8009316: b29a uxth r2, r3 - 8009318: 687b ldr r3, [r7, #4] - 800931a: 835a strh r2, [r3, #26] + 8009c92: 687b ldr r3, [r7, #4] + 8009c94: 8b5b ldrh r3, [r3, #26] + 8009c96: f043 0302 orr.w r3, r3, #2 + 8009c9a: b29a uxth r2, r3 + 8009c9c: 687b ldr r3, [r7, #4] + 8009c9e: 835a strh r2, [r3, #26] return ERR_OK; - 800931c: 2300 movs r3, #0 - 800931e: e361 b.n 80099e4 + 8009ca0: 2300 movs r3, #0 + 8009ca2: e361 b.n 800a368 } if ((pcb->flags & TF_RXCLOSED) == 0) { - 8009320: 687b ldr r3, [r7, #4] - 8009322: 8b5b ldrh r3, [r3, #26] - 8009324: f003 0310 and.w r3, r3, #16 - 8009328: 2b00 cmp r3, #0 - 800932a: d103 bne.n 8009334 + 8009ca4: 687b ldr r3, [r7, #4] + 8009ca6: 8b5b ldrh r3, [r3, #26] + 8009ca8: f003 0310 and.w r3, r3, #16 + 8009cac: 2b00 cmp r3, #0 + 8009cae: d103 bne.n 8009cb8 /* Update the PCB (in)activity timer unless rx is closed (see tcp_shutdown) */ pcb->tmr = tcp_ticks; - 800932c: 4b68 ldr r3, [pc, #416] @ (80094d0 ) - 800932e: 681a ldr r2, [r3, #0] - 8009330: 687b ldr r3, [r7, #4] - 8009332: 621a str r2, [r3, #32] + 8009cb0: 4b68 ldr r3, [pc, #416] @ (8009e54 ) + 8009cb2: 681a ldr r2, [r3, #0] + 8009cb4: 687b ldr r3, [r7, #4] + 8009cb6: 621a str r2, [r3, #32] } pcb->keep_cnt_sent = 0; - 8009334: 687b ldr r3, [r7, #4] - 8009336: 2200 movs r2, #0 - 8009338: f883 209b strb.w r2, [r3, #155] @ 0x9b + 8009cb8: 687b ldr r3, [r7, #4] + 8009cba: 2200 movs r2, #0 + 8009cbc: f883 209b strb.w r2, [r3, #155] @ 0x9b pcb->persist_probe = 0; - 800933c: 687b ldr r3, [r7, #4] - 800933e: 2200 movs r2, #0 - 8009340: f883 209a strb.w r2, [r3, #154] @ 0x9a + 8009cc0: 687b ldr r3, [r7, #4] + 8009cc2: 2200 movs r2, #0 + 8009cc4: f883 209a strb.w r2, [r3, #154] @ 0x9a tcp_parseopt(pcb); - 8009344: 6878 ldr r0, [r7, #4] - 8009346: f001 fc2b bl 800aba0 + 8009cc8: 6878 ldr r0, [r7, #4] + 8009cca: f001 fc2b bl 800b524 /* Do different things depending on the TCP state. */ switch (pcb->state) { - 800934a: 687b ldr r3, [r7, #4] - 800934c: 7d1b ldrb r3, [r3, #20] - 800934e: 3b02 subs r3, #2 - 8009350: 2b07 cmp r3, #7 - 8009352: f200 8337 bhi.w 80099c4 - 8009356: a201 add r2, pc, #4 @ (adr r2, 800935c ) - 8009358: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 800935c: 0800937d .word 0x0800937d - 8009360: 080095ad .word 0x080095ad - 8009364: 08009725 .word 0x08009725 - 8009368: 0800974f .word 0x0800974f - 800936c: 08009873 .word 0x08009873 - 8009370: 08009725 .word 0x08009725 - 8009374: 080098ff .word 0x080098ff - 8009378: 0800998f .word 0x0800998f + 8009cce: 687b ldr r3, [r7, #4] + 8009cd0: 7d1b ldrb r3, [r3, #20] + 8009cd2: 3b02 subs r3, #2 + 8009cd4: 2b07 cmp r3, #7 + 8009cd6: f200 8337 bhi.w 800a348 + 8009cda: a201 add r2, pc, #4 @ (adr r2, 8009ce0 ) + 8009cdc: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8009ce0: 08009d01 .word 0x08009d01 + 8009ce4: 08009f31 .word 0x08009f31 + 8009ce8: 0800a0a9 .word 0x0800a0a9 + 8009cec: 0800a0d3 .word 0x0800a0d3 + 8009cf0: 0800a1f7 .word 0x0800a1f7 + 8009cf4: 0800a0a9 .word 0x0800a0a9 + 8009cf8: 0800a283 .word 0x0800a283 + 8009cfc: 0800a313 .word 0x0800a313 case SYN_SENT: LWIP_DEBUGF(TCP_INPUT_DEBUG, ("SYN-SENT: ackno %"U32_F" pcb->snd_nxt %"U32_F" unacked %"U32_F"\n", ackno, pcb->snd_nxt, lwip_ntohl(pcb->unacked->tcphdr->seqno))); /* received SYN ACK with expected sequence number? */ if ((flags & TCP_ACK) && (flags & TCP_SYN) - 800937c: 4b4f ldr r3, [pc, #316] @ (80094bc ) - 800937e: 781b ldrb r3, [r3, #0] - 8009380: f003 0310 and.w r3, r3, #16 - 8009384: 2b00 cmp r3, #0 - 8009386: f000 80e4 beq.w 8009552 - 800938a: 4b4c ldr r3, [pc, #304] @ (80094bc ) - 800938c: 781b ldrb r3, [r3, #0] - 800938e: f003 0302 and.w r3, r3, #2 - 8009392: 2b00 cmp r3, #0 - 8009394: f000 80dd beq.w 8009552 + 8009d00: 4b4f ldr r3, [pc, #316] @ (8009e40 ) + 8009d02: 781b ldrb r3, [r3, #0] + 8009d04: f003 0310 and.w r3, r3, #16 + 8009d08: 2b00 cmp r3, #0 + 8009d0a: f000 80e4 beq.w 8009ed6 + 8009d0e: 4b4c ldr r3, [pc, #304] @ (8009e40 ) + 8009d10: 781b ldrb r3, [r3, #0] + 8009d12: f003 0302 and.w r3, r3, #2 + 8009d16: 2b00 cmp r3, #0 + 8009d18: f000 80dd beq.w 8009ed6 && (ackno == pcb->lastack + 1)) { - 8009398: 687b ldr r3, [r7, #4] - 800939a: 6c5b ldr r3, [r3, #68] @ 0x44 - 800939c: 1c5a adds r2, r3, #1 - 800939e: 4b48 ldr r3, [pc, #288] @ (80094c0 ) - 80093a0: 681b ldr r3, [r3, #0] - 80093a2: 429a cmp r2, r3 - 80093a4: f040 80d5 bne.w 8009552 + 8009d1c: 687b ldr r3, [r7, #4] + 8009d1e: 6c5b ldr r3, [r3, #68] @ 0x44 + 8009d20: 1c5a adds r2, r3, #1 + 8009d22: 4b48 ldr r3, [pc, #288] @ (8009e44 ) + 8009d24: 681b ldr r3, [r3, #0] + 8009d26: 429a cmp r2, r3 + 8009d28: f040 80d5 bne.w 8009ed6 pcb->rcv_nxt = seqno + 1; - 80093a8: 4b46 ldr r3, [pc, #280] @ (80094c4 ) - 80093aa: 681b ldr r3, [r3, #0] - 80093ac: 1c5a adds r2, r3, #1 - 80093ae: 687b ldr r3, [r7, #4] - 80093b0: 625a str r2, [r3, #36] @ 0x24 + 8009d2c: 4b46 ldr r3, [pc, #280] @ (8009e48 ) + 8009d2e: 681b ldr r3, [r3, #0] + 8009d30: 1c5a adds r2, r3, #1 + 8009d32: 687b ldr r3, [r7, #4] + 8009d34: 625a str r2, [r3, #36] @ 0x24 pcb->rcv_ann_right_edge = pcb->rcv_nxt; - 80093b2: 687b ldr r3, [r7, #4] - 80093b4: 6a5a ldr r2, [r3, #36] @ 0x24 - 80093b6: 687b ldr r3, [r7, #4] - 80093b8: 62da str r2, [r3, #44] @ 0x2c + 8009d36: 687b ldr r3, [r7, #4] + 8009d38: 6a5a ldr r2, [r3, #36] @ 0x24 + 8009d3a: 687b ldr r3, [r7, #4] + 8009d3c: 62da str r2, [r3, #44] @ 0x2c pcb->lastack = ackno; - 80093ba: 4b41 ldr r3, [pc, #260] @ (80094c0 ) - 80093bc: 681a ldr r2, [r3, #0] - 80093be: 687b ldr r3, [r7, #4] - 80093c0: 645a str r2, [r3, #68] @ 0x44 + 8009d3e: 4b41 ldr r3, [pc, #260] @ (8009e44 ) + 8009d40: 681a ldr r2, [r3, #0] + 8009d42: 687b ldr r3, [r7, #4] + 8009d44: 645a str r2, [r3, #68] @ 0x44 pcb->snd_wnd = tcphdr->wnd; - 80093c2: 4b44 ldr r3, [pc, #272] @ (80094d4 ) - 80093c4: 681b ldr r3, [r3, #0] - 80093c6: 89db ldrh r3, [r3, #14] - 80093c8: b29a uxth r2, r3 - 80093ca: 687b ldr r3, [r7, #4] - 80093cc: f8a3 2060 strh.w r2, [r3, #96] @ 0x60 + 8009d46: 4b44 ldr r3, [pc, #272] @ (8009e58 ) + 8009d48: 681b ldr r3, [r3, #0] + 8009d4a: 89db ldrh r3, [r3, #14] + 8009d4c: b29a uxth r2, r3 + 8009d4e: 687b ldr r3, [r7, #4] + 8009d50: f8a3 2060 strh.w r2, [r3, #96] @ 0x60 pcb->snd_wnd_max = pcb->snd_wnd; - 80093d0: 687b ldr r3, [r7, #4] - 80093d2: f8b3 2060 ldrh.w r2, [r3, #96] @ 0x60 - 80093d6: 687b ldr r3, [r7, #4] - 80093d8: f8a3 2062 strh.w r2, [r3, #98] @ 0x62 + 8009d54: 687b ldr r3, [r7, #4] + 8009d56: f8b3 2060 ldrh.w r2, [r3, #96] @ 0x60 + 8009d5a: 687b ldr r3, [r7, #4] + 8009d5c: f8a3 2062 strh.w r2, [r3, #98] @ 0x62 pcb->snd_wl1 = seqno - 1; /* initialise to seqno - 1 to force window update */ - 80093dc: 4b39 ldr r3, [pc, #228] @ (80094c4 ) - 80093de: 681b ldr r3, [r3, #0] - 80093e0: 1e5a subs r2, r3, #1 - 80093e2: 687b ldr r3, [r7, #4] - 80093e4: 655a str r2, [r3, #84] @ 0x54 + 8009d60: 4b39 ldr r3, [pc, #228] @ (8009e48 ) + 8009d62: 681b ldr r3, [r3, #0] + 8009d64: 1e5a subs r2, r3, #1 + 8009d66: 687b ldr r3, [r7, #4] + 8009d68: 655a str r2, [r3, #84] @ 0x54 pcb->state = ESTABLISHED; - 80093e6: 687b ldr r3, [r7, #4] - 80093e8: 2204 movs r2, #4 - 80093ea: 751a strb r2, [r3, #20] + 8009d6a: 687b ldr r3, [r7, #4] + 8009d6c: 2204 movs r2, #4 + 8009d6e: 751a strb r2, [r3, #20] #if TCP_CALCULATE_EFF_SEND_MSS pcb->mss = tcp_eff_send_mss(pcb->mss, &pcb->local_ip, &pcb->remote_ip); - 80093ec: 687b ldr r3, [r7, #4] - 80093ee: 8e5c ldrh r4, [r3, #50] @ 0x32 - 80093f0: 687b ldr r3, [r7, #4] - 80093f2: 3304 adds r3, #4 - 80093f4: 4618 mov r0, r3 - 80093f6: f006 fcd9 bl 800fdac - 80093fa: 4601 mov r1, r0 - 80093fc: 687b ldr r3, [r7, #4] - 80093fe: 3304 adds r3, #4 - 8009400: 461a mov r2, r3 - 8009402: 4620 mov r0, r4 - 8009404: f7ff f88c bl 8008520 - 8009408: 4603 mov r3, r0 - 800940a: 461a mov r2, r3 - 800940c: 687b ldr r3, [r7, #4] - 800940e: 865a strh r2, [r3, #50] @ 0x32 + 8009d70: 687b ldr r3, [r7, #4] + 8009d72: 8e5c ldrh r4, [r3, #50] @ 0x32 + 8009d74: 687b ldr r3, [r7, #4] + 8009d76: 3304 adds r3, #4 + 8009d78: 4618 mov r0, r3 + 8009d7a: f006 fcd9 bl 8010730 + 8009d7e: 4601 mov r1, r0 + 8009d80: 687b ldr r3, [r7, #4] + 8009d82: 3304 adds r3, #4 + 8009d84: 461a mov r2, r3 + 8009d86: 4620 mov r0, r4 + 8009d88: f7ff f88c bl 8008ea4 + 8009d8c: 4603 mov r3, r0 + 8009d8e: 461a mov r2, r3 + 8009d90: 687b ldr r3, [r7, #4] + 8009d92: 865a strh r2, [r3, #50] @ 0x32 #endif /* TCP_CALCULATE_EFF_SEND_MSS */ pcb->cwnd = LWIP_TCP_CALC_INITIAL_CWND(pcb->mss); - 8009410: 687b ldr r3, [r7, #4] - 8009412: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009414: 009a lsls r2, r3, #2 - 8009416: 687b ldr r3, [r7, #4] - 8009418: 8e5b ldrh r3, [r3, #50] @ 0x32 - 800941a: 005b lsls r3, r3, #1 - 800941c: f241 111c movw r1, #4380 @ 0x111c - 8009420: 428b cmp r3, r1 - 8009422: bf38 it cc - 8009424: 460b movcc r3, r1 - 8009426: 429a cmp r2, r3 - 8009428: d204 bcs.n 8009434 - 800942a: 687b ldr r3, [r7, #4] - 800942c: 8e5b ldrh r3, [r3, #50] @ 0x32 - 800942e: 009b lsls r3, r3, #2 - 8009430: b29b uxth r3, r3 - 8009432: e00d b.n 8009450 - 8009434: 687b ldr r3, [r7, #4] - 8009436: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009438: 005b lsls r3, r3, #1 - 800943a: f241 121c movw r2, #4380 @ 0x111c - 800943e: 4293 cmp r3, r2 - 8009440: d904 bls.n 800944c - 8009442: 687b ldr r3, [r7, #4] - 8009444: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009446: 005b lsls r3, r3, #1 - 8009448: b29b uxth r3, r3 - 800944a: e001 b.n 8009450 - 800944c: f241 131c movw r3, #4380 @ 0x111c - 8009450: 687a ldr r2, [r7, #4] - 8009452: f8a2 3048 strh.w r3, [r2, #72] @ 0x48 + 8009d94: 687b ldr r3, [r7, #4] + 8009d96: 8e5b ldrh r3, [r3, #50] @ 0x32 + 8009d98: 009a lsls r2, r3, #2 + 8009d9a: 687b ldr r3, [r7, #4] + 8009d9c: 8e5b ldrh r3, [r3, #50] @ 0x32 + 8009d9e: 005b lsls r3, r3, #1 + 8009da0: f241 111c movw r1, #4380 @ 0x111c + 8009da4: 428b cmp r3, r1 + 8009da6: bf38 it cc + 8009da8: 460b movcc r3, r1 + 8009daa: 429a cmp r2, r3 + 8009dac: d204 bcs.n 8009db8 + 8009dae: 687b ldr r3, [r7, #4] + 8009db0: 8e5b ldrh r3, [r3, #50] @ 0x32 + 8009db2: 009b lsls r3, r3, #2 + 8009db4: b29b uxth r3, r3 + 8009db6: e00d b.n 8009dd4 + 8009db8: 687b ldr r3, [r7, #4] + 8009dba: 8e5b ldrh r3, [r3, #50] @ 0x32 + 8009dbc: 005b lsls r3, r3, #1 + 8009dbe: f241 121c movw r2, #4380 @ 0x111c + 8009dc2: 4293 cmp r3, r2 + 8009dc4: d904 bls.n 8009dd0 + 8009dc6: 687b ldr r3, [r7, #4] + 8009dc8: 8e5b ldrh r3, [r3, #50] @ 0x32 + 8009dca: 005b lsls r3, r3, #1 + 8009dcc: b29b uxth r3, r3 + 8009dce: e001 b.n 8009dd4 + 8009dd0: f241 131c movw r3, #4380 @ 0x111c + 8009dd4: 687a ldr r2, [r7, #4] + 8009dd6: f8a2 3048 strh.w r3, [r2, #72] @ 0x48 LWIP_DEBUGF(TCP_CWND_DEBUG, ("tcp_process (SENT): cwnd %"TCPWNDSIZE_F " ssthresh %"TCPWNDSIZE_F"\n", pcb->cwnd, pcb->ssthresh)); LWIP_ASSERT("pcb->snd_queuelen > 0", (pcb->snd_queuelen > 0)); - 8009456: 687b ldr r3, [r7, #4] - 8009458: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 - 800945c: 2b00 cmp r3, #0 - 800945e: d106 bne.n 800946e - 8009460: 4b13 ldr r3, [pc, #76] @ (80094b0 ) - 8009462: f44f 725b mov.w r2, #876 @ 0x36c - 8009466: 491c ldr r1, [pc, #112] @ (80094d8 ) - 8009468: 4813 ldr r0, [pc, #76] @ (80094b8 ) - 800946a: f008 f8c5 bl 80115f8 + 8009dda: 687b ldr r3, [r7, #4] + 8009ddc: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 + 8009de0: 2b00 cmp r3, #0 + 8009de2: d106 bne.n 8009df2 + 8009de4: 4b13 ldr r3, [pc, #76] @ (8009e34 ) + 8009de6: f44f 725b mov.w r2, #876 @ 0x36c + 8009dea: 491c ldr r1, [pc, #112] @ (8009e5c ) + 8009dec: 4813 ldr r0, [pc, #76] @ (8009e3c ) + 8009dee: f008 f8c5 bl 8011f7c --pcb->snd_queuelen; - 800946e: 687b ldr r3, [r7, #4] - 8009470: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 - 8009474: 3b01 subs r3, #1 - 8009476: b29a uxth r2, r3 - 8009478: 687b ldr r3, [r7, #4] - 800947a: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 + 8009df2: 687b ldr r3, [r7, #4] + 8009df4: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 + 8009df8: 3b01 subs r3, #1 + 8009dfa: b29a uxth r2, r3 + 8009dfc: 687b ldr r3, [r7, #4] + 8009dfe: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_process: SYN-SENT --queuelen %"TCPWNDSIZE_F"\n", (tcpwnd_size_t)pcb->snd_queuelen)); rseg = pcb->unacked; - 800947e: 687b ldr r3, [r7, #4] - 8009480: 6f1b ldr r3, [r3, #112] @ 0x70 - 8009482: 61fb str r3, [r7, #28] + 8009e02: 687b ldr r3, [r7, #4] + 8009e04: 6f1b ldr r3, [r3, #112] @ 0x70 + 8009e06: 61fb str r3, [r7, #28] if (rseg == NULL) { - 8009484: 69fb ldr r3, [r7, #28] - 8009486: 2b00 cmp r3, #0 - 8009488: d12a bne.n 80094e0 + 8009e08: 69fb ldr r3, [r7, #28] + 8009e0a: 2b00 cmp r3, #0 + 8009e0c: d12a bne.n 8009e64 /* might happen if tcp_output fails in tcp_rexmit_rto() in which case the segment is on the unsent list */ rseg = pcb->unsent; - 800948a: 687b ldr r3, [r7, #4] - 800948c: 6edb ldr r3, [r3, #108] @ 0x6c - 800948e: 61fb str r3, [r7, #28] + 8009e0e: 687b ldr r3, [r7, #4] + 8009e10: 6edb ldr r3, [r3, #108] @ 0x6c + 8009e12: 61fb str r3, [r7, #28] LWIP_ASSERT("no segment to free", rseg != NULL); - 8009490: 69fb ldr r3, [r7, #28] - 8009492: 2b00 cmp r3, #0 - 8009494: d106 bne.n 80094a4 - 8009496: 4b06 ldr r3, [pc, #24] @ (80094b0 ) - 8009498: f44f 725d mov.w r2, #884 @ 0x374 - 800949c: 490f ldr r1, [pc, #60] @ (80094dc ) - 800949e: 4806 ldr r0, [pc, #24] @ (80094b8 ) - 80094a0: f008 f8aa bl 80115f8 + 8009e14: 69fb ldr r3, [r7, #28] + 8009e16: 2b00 cmp r3, #0 + 8009e18: d106 bne.n 8009e28 + 8009e1a: 4b06 ldr r3, [pc, #24] @ (8009e34 ) + 8009e1c: f44f 725d mov.w r2, #884 @ 0x374 + 8009e20: 490f ldr r1, [pc, #60] @ (8009e60 ) + 8009e22: 4806 ldr r0, [pc, #24] @ (8009e3c ) + 8009e24: f008 f8aa bl 8011f7c pcb->unsent = rseg->next; - 80094a4: 69fb ldr r3, [r7, #28] - 80094a6: 681a ldr r2, [r3, #0] - 80094a8: 687b ldr r3, [r7, #4] - 80094aa: 66da str r2, [r3, #108] @ 0x6c - 80094ac: e01c b.n 80094e8 - 80094ae: bf00 nop - 80094b0: 0801721c .word 0x0801721c - 80094b4: 08017454 .word 0x08017454 - 80094b8: 08017268 .word 0x08017268 - 80094bc: 200190e8 .word 0x200190e8 - 80094c0: 200190e0 .word 0x200190e0 - 80094c4: 200190dc .word 0x200190dc - 80094c8: 08017470 .word 0x08017470 - 80094cc: 200190e9 .word 0x200190e9 - 80094d0: 200190a4 .word 0x200190a4 - 80094d4: 200190cc .word 0x200190cc - 80094d8: 08017490 .word 0x08017490 - 80094dc: 080174a8 .word 0x080174a8 + 8009e28: 69fb ldr r3, [r7, #28] + 8009e2a: 681a ldr r2, [r3, #0] + 8009e2c: 687b ldr r3, [r7, #4] + 8009e2e: 66da str r2, [r3, #108] @ 0x6c + 8009e30: e01c b.n 8009e6c + 8009e32: bf00 nop + 8009e34: 08017b9c .word 0x08017b9c + 8009e38: 08017dd4 .word 0x08017dd4 + 8009e3c: 08017be8 .word 0x08017be8 + 8009e40: 2001911c .word 0x2001911c + 8009e44: 20019114 .word 0x20019114 + 8009e48: 20019110 .word 0x20019110 + 8009e4c: 08017df0 .word 0x08017df0 + 8009e50: 2001911d .word 0x2001911d + 8009e54: 200190d8 .word 0x200190d8 + 8009e58: 20019100 .word 0x20019100 + 8009e5c: 08017e10 .word 0x08017e10 + 8009e60: 08017e28 .word 0x08017e28 } else { pcb->unacked = rseg->next; - 80094e0: 69fb ldr r3, [r7, #28] - 80094e2: 681a ldr r2, [r3, #0] - 80094e4: 687b ldr r3, [r7, #4] - 80094e6: 671a str r2, [r3, #112] @ 0x70 + 8009e64: 69fb ldr r3, [r7, #28] + 8009e66: 681a ldr r2, [r3, #0] + 8009e68: 687b ldr r3, [r7, #4] + 8009e6a: 671a str r2, [r3, #112] @ 0x70 } tcp_seg_free(rseg); - 80094e8: 69f8 ldr r0, [r7, #28] - 80094ea: f7fe fd22 bl 8007f32 + 8009e6c: 69f8 ldr r0, [r7, #28] + 8009e6e: f7fe fd22 bl 80088b6 /* If there's nothing left to acknowledge, stop the retransmit timer, otherwise reset it to start again */ if (pcb->unacked == NULL) { - 80094ee: 687b ldr r3, [r7, #4] - 80094f0: 6f1b ldr r3, [r3, #112] @ 0x70 - 80094f2: 2b00 cmp r3, #0 - 80094f4: d104 bne.n 8009500 + 8009e72: 687b ldr r3, [r7, #4] + 8009e74: 6f1b ldr r3, [r3, #112] @ 0x70 + 8009e76: 2b00 cmp r3, #0 + 8009e78: d104 bne.n 8009e84 pcb->rtime = -1; - 80094f6: 687b ldr r3, [r7, #4] - 80094f8: f64f 72ff movw r2, #65535 @ 0xffff - 80094fc: 861a strh r2, [r3, #48] @ 0x30 - 80094fe: e006 b.n 800950e + 8009e7a: 687b ldr r3, [r7, #4] + 8009e7c: f64f 72ff movw r2, #65535 @ 0xffff + 8009e80: 861a strh r2, [r3, #48] @ 0x30 + 8009e82: e006 b.n 8009e92 } else { pcb->rtime = 0; - 8009500: 687b ldr r3, [r7, #4] - 8009502: 2200 movs r2, #0 - 8009504: 861a strh r2, [r3, #48] @ 0x30 + 8009e84: 687b ldr r3, [r7, #4] + 8009e86: 2200 movs r2, #0 + 8009e88: 861a strh r2, [r3, #48] @ 0x30 pcb->nrtx = 0; - 8009506: 687b ldr r3, [r7, #4] - 8009508: 2200 movs r2, #0 - 800950a: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 8009e8a: 687b ldr r3, [r7, #4] + 8009e8c: 2200 movs r2, #0 + 8009e8e: f883 2042 strb.w r2, [r3, #66] @ 0x42 } /* Call the user specified function to call when successfully * connected. */ TCP_EVENT_CONNECTED(pcb, ERR_OK, err); - 800950e: 687b ldr r3, [r7, #4] - 8009510: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 8009514: 2b00 cmp r3, #0 - 8009516: d00a beq.n 800952e - 8009518: 687b ldr r3, [r7, #4] - 800951a: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 800951e: 687a ldr r2, [r7, #4] - 8009520: 6910 ldr r0, [r2, #16] - 8009522: 2200 movs r2, #0 - 8009524: 6879 ldr r1, [r7, #4] - 8009526: 4798 blx r3 - 8009528: 4603 mov r3, r0 - 800952a: 76bb strb r3, [r7, #26] - 800952c: e001 b.n 8009532 - 800952e: 2300 movs r3, #0 - 8009530: 76bb strb r3, [r7, #26] + 8009e92: 687b ldr r3, [r7, #4] + 8009e94: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 8009e98: 2b00 cmp r3, #0 + 8009e9a: d00a beq.n 8009eb2 + 8009e9c: 687b ldr r3, [r7, #4] + 8009e9e: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 8009ea2: 687a ldr r2, [r7, #4] + 8009ea4: 6910 ldr r0, [r2, #16] + 8009ea6: 2200 movs r2, #0 + 8009ea8: 6879 ldr r1, [r7, #4] + 8009eaa: 4798 blx r3 + 8009eac: 4603 mov r3, r0 + 8009eae: 76bb strb r3, [r7, #26] + 8009eb0: e001 b.n 8009eb6 + 8009eb2: 2300 movs r3, #0 + 8009eb4: 76bb strb r3, [r7, #26] if (err == ERR_ABRT) { - 8009532: f997 301a ldrsb.w r3, [r7, #26] - 8009536: f113 0f0d cmn.w r3, #13 - 800953a: d102 bne.n 8009542 + 8009eb6: f997 301a ldrsb.w r3, [r7, #26] + 8009eba: f113 0f0d cmn.w r3, #13 + 8009ebe: d102 bne.n 8009ec6 return ERR_ABRT; - 800953c: f06f 030c mvn.w r3, #12 - 8009540: e250 b.n 80099e4 + 8009ec0: f06f 030c mvn.w r3, #12 + 8009ec4: e250 b.n 800a368 } tcp_ack_now(pcb); - 8009542: 687b ldr r3, [r7, #4] - 8009544: 8b5b ldrh r3, [r3, #26] - 8009546: f043 0302 orr.w r3, r3, #2 - 800954a: b29a uxth r2, r3 - 800954c: 687b ldr r3, [r7, #4] - 800954e: 835a strh r2, [r3, #26] + 8009ec6: 687b ldr r3, [r7, #4] + 8009ec8: 8b5b ldrh r3, [r3, #26] + 8009eca: f043 0302 orr.w r3, r3, #2 + 8009ece: b29a uxth r2, r3 + 8009ed0: 687b ldr r3, [r7, #4] + 8009ed2: 835a strh r2, [r3, #26] if (pcb->nrtx < TCP_SYNMAXRTX) { pcb->rtime = 0; tcp_rexmit_rto(pcb); } } break; - 8009550: e23a b.n 80099c8 + 8009ed4: e23a b.n 800a34c else if (flags & TCP_ACK) { - 8009552: 4b98 ldr r3, [pc, #608] @ (80097b4 ) - 8009554: 781b ldrb r3, [r3, #0] - 8009556: f003 0310 and.w r3, r3, #16 - 800955a: 2b00 cmp r3, #0 - 800955c: f000 8234 beq.w 80099c8 + 8009ed6: 4b98 ldr r3, [pc, #608] @ (800a138 ) + 8009ed8: 781b ldrb r3, [r3, #0] + 8009eda: f003 0310 and.w r3, r3, #16 + 8009ede: 2b00 cmp r3, #0 + 8009ee0: f000 8234 beq.w 800a34c tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8009560: 4b95 ldr r3, [pc, #596] @ (80097b8 ) - 8009562: 6819 ldr r1, [r3, #0] - 8009564: 4b95 ldr r3, [pc, #596] @ (80097bc ) - 8009566: 881b ldrh r3, [r3, #0] - 8009568: 461a mov r2, r3 - 800956a: 4b95 ldr r3, [pc, #596] @ (80097c0 ) - 800956c: 681b ldr r3, [r3, #0] - 800956e: 18d0 adds r0, r2, r3 + 8009ee4: 4b95 ldr r3, [pc, #596] @ (800a13c ) + 8009ee6: 6819 ldr r1, [r3, #0] + 8009ee8: 4b95 ldr r3, [pc, #596] @ (800a140 ) + 8009eea: 881b ldrh r3, [r3, #0] + 8009eec: 461a mov r2, r3 + 8009eee: 4b95 ldr r3, [pc, #596] @ (800a144 ) + 8009ef0: 681b ldr r3, [r3, #0] + 8009ef2: 18d0 adds r0, r2, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8009570: 4b94 ldr r3, [pc, #592] @ (80097c4 ) - 8009572: 681b ldr r3, [r3, #0] + 8009ef4: 4b94 ldr r3, [pc, #592] @ (800a148 ) + 8009ef6: 681b ldr r3, [r3, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 8009574: 885b ldrh r3, [r3, #2] - 8009576: b29b uxth r3, r3 + 8009ef8: 885b ldrh r3, [r3, #2] + 8009efa: b29b uxth r3, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 8009578: 4a92 ldr r2, [pc, #584] @ (80097c4 ) - 800957a: 6812 ldr r2, [r2, #0] + 8009efc: 4a92 ldr r2, [pc, #584] @ (800a148 ) + 8009efe: 6812 ldr r2, [r2, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 800957c: 8812 ldrh r2, [r2, #0] - 800957e: b292 uxth r2, r2 - 8009580: 9202 str r2, [sp, #8] - 8009582: 9301 str r3, [sp, #4] - 8009584: 4b90 ldr r3, [pc, #576] @ (80097c8 ) - 8009586: 9300 str r3, [sp, #0] - 8009588: 4b90 ldr r3, [pc, #576] @ (80097cc ) - 800958a: 4602 mov r2, r0 - 800958c: 6878 ldr r0, [r7, #4] - 800958e: f002 fc7f bl 800be90 + 8009f00: 8812 ldrh r2, [r2, #0] + 8009f02: b292 uxth r2, r2 + 8009f04: 9202 str r2, [sp, #8] + 8009f06: 9301 str r3, [sp, #4] + 8009f08: 4b90 ldr r3, [pc, #576] @ (800a14c ) + 8009f0a: 9300 str r3, [sp, #0] + 8009f0c: 4b90 ldr r3, [pc, #576] @ (800a150 ) + 8009f0e: 4602 mov r2, r0 + 8009f10: 6878 ldr r0, [r7, #4] + 8009f12: f002 fc7f bl 800c814 if (pcb->nrtx < TCP_SYNMAXRTX) { - 8009592: 687b ldr r3, [r7, #4] - 8009594: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 - 8009598: 2b05 cmp r3, #5 - 800959a: f200 8215 bhi.w 80099c8 + 8009f16: 687b ldr r3, [r7, #4] + 8009f18: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 8009f1c: 2b05 cmp r3, #5 + 8009f1e: f200 8215 bhi.w 800a34c pcb->rtime = 0; - 800959e: 687b ldr r3, [r7, #4] - 80095a0: 2200 movs r2, #0 - 80095a2: 861a strh r2, [r3, #48] @ 0x30 + 8009f22: 687b ldr r3, [r7, #4] + 8009f24: 2200 movs r2, #0 + 8009f26: 861a strh r2, [r3, #48] @ 0x30 tcp_rexmit_rto(pcb); - 80095a4: 6878 ldr r0, [r7, #4] - 80095a6: f002 fa4b bl 800ba40 + 8009f28: 6878 ldr r0, [r7, #4] + 8009f2a: f002 fa4b bl 800c3c4 break; - 80095aa: e20d b.n 80099c8 + 8009f2e: e20d b.n 800a34c case SYN_RCVD: if (flags & TCP_ACK) { - 80095ac: 4b81 ldr r3, [pc, #516] @ (80097b4 ) - 80095ae: 781b ldrb r3, [r3, #0] - 80095b0: f003 0310 and.w r3, r3, #16 - 80095b4: 2b00 cmp r3, #0 - 80095b6: f000 80a1 beq.w 80096fc + 8009f30: 4b81 ldr r3, [pc, #516] @ (800a138 ) + 8009f32: 781b ldrb r3, [r3, #0] + 8009f34: f003 0310 and.w r3, r3, #16 + 8009f38: 2b00 cmp r3, #0 + 8009f3a: f000 80a1 beq.w 800a080 /* expected ACK number? */ if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { - 80095ba: 4b7f ldr r3, [pc, #508] @ (80097b8 ) - 80095bc: 681a ldr r2, [r3, #0] - 80095be: 687b ldr r3, [r7, #4] - 80095c0: 6c5b ldr r3, [r3, #68] @ 0x44 - 80095c2: 1ad3 subs r3, r2, r3 - 80095c4: 3b01 subs r3, #1 - 80095c6: 2b00 cmp r3, #0 - 80095c8: db7e blt.n 80096c8 - 80095ca: 4b7b ldr r3, [pc, #492] @ (80097b8 ) - 80095cc: 681a ldr r2, [r3, #0] - 80095ce: 687b ldr r3, [r7, #4] - 80095d0: 6d1b ldr r3, [r3, #80] @ 0x50 - 80095d2: 1ad3 subs r3, r2, r3 - 80095d4: 2b00 cmp r3, #0 - 80095d6: dc77 bgt.n 80096c8 + 8009f3e: 4b7f ldr r3, [pc, #508] @ (800a13c ) + 8009f40: 681a ldr r2, [r3, #0] + 8009f42: 687b ldr r3, [r7, #4] + 8009f44: 6c5b ldr r3, [r3, #68] @ 0x44 + 8009f46: 1ad3 subs r3, r2, r3 + 8009f48: 3b01 subs r3, #1 + 8009f4a: 2b00 cmp r3, #0 + 8009f4c: db7e blt.n 800a04c + 8009f4e: 4b7b ldr r3, [pc, #492] @ (800a13c ) + 8009f50: 681a ldr r2, [r3, #0] + 8009f52: 687b ldr r3, [r7, #4] + 8009f54: 6d1b ldr r3, [r3, #80] @ 0x50 + 8009f56: 1ad3 subs r3, r2, r3 + 8009f58: 2b00 cmp r3, #0 + 8009f5a: dc77 bgt.n 800a04c pcb->state = ESTABLISHED; - 80095d8: 687b ldr r3, [r7, #4] - 80095da: 2204 movs r2, #4 - 80095dc: 751a strb r2, [r3, #20] + 8009f5c: 687b ldr r3, [r7, #4] + 8009f5e: 2204 movs r2, #4 + 8009f60: 751a strb r2, [r3, #20] LWIP_DEBUGF(TCP_DEBUG, ("TCP connection established %"U16_F" -> %"U16_F".\n", inseg.tcphdr->src, inseg.tcphdr->dest)); #if LWIP_CALLBACK_API || TCP_LISTEN_BACKLOG if (pcb->listener == NULL) { - 80095de: 687b ldr r3, [r7, #4] - 80095e0: 6fdb ldr r3, [r3, #124] @ 0x7c - 80095e2: 2b00 cmp r3, #0 - 80095e4: d102 bne.n 80095ec + 8009f62: 687b ldr r3, [r7, #4] + 8009f64: 6fdb ldr r3, [r3, #124] @ 0x7c + 8009f66: 2b00 cmp r3, #0 + 8009f68: d102 bne.n 8009f70 /* listen pcb might be closed by now */ err = ERR_VAL; - 80095e6: 23fa movs r3, #250 @ 0xfa - 80095e8: 76bb strb r3, [r7, #26] - 80095ea: e01d b.n 8009628 + 8009f6a: 23fa movs r3, #250 @ 0xfa + 8009f6c: 76bb strb r3, [r7, #26] + 8009f6e: e01d b.n 8009fac } else #endif /* LWIP_CALLBACK_API || TCP_LISTEN_BACKLOG */ { #if LWIP_CALLBACK_API LWIP_ASSERT("pcb->listener->accept != NULL", pcb->listener->accept != NULL); - 80095ec: 687b ldr r3, [r7, #4] - 80095ee: 6fdb ldr r3, [r3, #124] @ 0x7c - 80095f0: 699b ldr r3, [r3, #24] - 80095f2: 2b00 cmp r3, #0 - 80095f4: d106 bne.n 8009604 - 80095f6: 4b76 ldr r3, [pc, #472] @ (80097d0 ) - 80095f8: f44f 726a mov.w r2, #936 @ 0x3a8 - 80095fc: 4975 ldr r1, [pc, #468] @ (80097d4 ) - 80095fe: 4876 ldr r0, [pc, #472] @ (80097d8 ) - 8009600: f007 fffa bl 80115f8 + 8009f70: 687b ldr r3, [r7, #4] + 8009f72: 6fdb ldr r3, [r3, #124] @ 0x7c + 8009f74: 699b ldr r3, [r3, #24] + 8009f76: 2b00 cmp r3, #0 + 8009f78: d106 bne.n 8009f88 + 8009f7a: 4b76 ldr r3, [pc, #472] @ (800a154 ) + 8009f7c: f44f 726a mov.w r2, #936 @ 0x3a8 + 8009f80: 4975 ldr r1, [pc, #468] @ (800a158 ) + 8009f82: 4876 ldr r0, [pc, #472] @ (800a15c ) + 8009f84: f007 fffa bl 8011f7c #endif tcp_backlog_accepted(pcb); /* Call the accept function. */ TCP_EVENT_ACCEPT(pcb->listener, pcb, pcb->callback_arg, ERR_OK, err); - 8009604: 687b ldr r3, [r7, #4] - 8009606: 6fdb ldr r3, [r3, #124] @ 0x7c - 8009608: 699b ldr r3, [r3, #24] - 800960a: 2b00 cmp r3, #0 - 800960c: d00a beq.n 8009624 - 800960e: 687b ldr r3, [r7, #4] - 8009610: 6fdb ldr r3, [r3, #124] @ 0x7c - 8009612: 699b ldr r3, [r3, #24] - 8009614: 687a ldr r2, [r7, #4] - 8009616: 6910 ldr r0, [r2, #16] - 8009618: 2200 movs r2, #0 - 800961a: 6879 ldr r1, [r7, #4] - 800961c: 4798 blx r3 - 800961e: 4603 mov r3, r0 - 8009620: 76bb strb r3, [r7, #26] - 8009622: e001 b.n 8009628 - 8009624: 23f0 movs r3, #240 @ 0xf0 - 8009626: 76bb strb r3, [r7, #26] + 8009f88: 687b ldr r3, [r7, #4] + 8009f8a: 6fdb ldr r3, [r3, #124] @ 0x7c + 8009f8c: 699b ldr r3, [r3, #24] + 8009f8e: 2b00 cmp r3, #0 + 8009f90: d00a beq.n 8009fa8 + 8009f92: 687b ldr r3, [r7, #4] + 8009f94: 6fdb ldr r3, [r3, #124] @ 0x7c + 8009f96: 699b ldr r3, [r3, #24] + 8009f98: 687a ldr r2, [r7, #4] + 8009f9a: 6910 ldr r0, [r2, #16] + 8009f9c: 2200 movs r2, #0 + 8009f9e: 6879 ldr r1, [r7, #4] + 8009fa0: 4798 blx r3 + 8009fa2: 4603 mov r3, r0 + 8009fa4: 76bb strb r3, [r7, #26] + 8009fa6: e001 b.n 8009fac + 8009fa8: 23f0 movs r3, #240 @ 0xf0 + 8009faa: 76bb strb r3, [r7, #26] } if (err != ERR_OK) { - 8009628: f997 301a ldrsb.w r3, [r7, #26] - 800962c: 2b00 cmp r3, #0 - 800962e: d00a beq.n 8009646 + 8009fac: f997 301a ldrsb.w r3, [r7, #26] + 8009fb0: 2b00 cmp r3, #0 + 8009fb2: d00a beq.n 8009fca /* If the accept function returns with an error, we abort * the connection. */ /* Already aborted? */ if (err != ERR_ABRT) { - 8009630: f997 301a ldrsb.w r3, [r7, #26] - 8009634: f113 0f0d cmn.w r3, #13 - 8009638: d002 beq.n 8009640 + 8009fb4: f997 301a ldrsb.w r3, [r7, #26] + 8009fb8: f113 0f0d cmn.w r3, #13 + 8009fbc: d002 beq.n 8009fc4 tcp_abort(pcb); - 800963a: 6878 ldr r0, [r7, #4] - 800963c: f7fd ff8c bl 8007558 + 8009fbe: 6878 ldr r0, [r7, #4] + 8009fc0: f7fd ff8c bl 8007edc } return ERR_ABRT; - 8009640: f06f 030c mvn.w r3, #12 - 8009644: e1ce b.n 80099e4 + 8009fc4: f06f 030c mvn.w r3, #12 + 8009fc8: e1ce b.n 800a368 } /* If there was any data contained within this ACK, * we'd better pass it on to the application as well. */ tcp_receive(pcb); - 8009646: 6878 ldr r0, [r7, #4] - 8009648: f000 fae0 bl 8009c0c + 8009fca: 6878 ldr r0, [r7, #4] + 8009fcc: f000 fae0 bl 800a590 /* Prevent ACK for SYN to generate a sent event */ if (recv_acked != 0) { - 800964c: 4b63 ldr r3, [pc, #396] @ (80097dc ) - 800964e: 881b ldrh r3, [r3, #0] - 8009650: 2b00 cmp r3, #0 - 8009652: d005 beq.n 8009660 + 8009fd0: 4b63 ldr r3, [pc, #396] @ (800a160 ) + 8009fd2: 881b ldrh r3, [r3, #0] + 8009fd4: 2b00 cmp r3, #0 + 8009fd6: d005 beq.n 8009fe4 recv_acked--; - 8009654: 4b61 ldr r3, [pc, #388] @ (80097dc ) - 8009656: 881b ldrh r3, [r3, #0] - 8009658: 3b01 subs r3, #1 - 800965a: b29a uxth r2, r3 - 800965c: 4b5f ldr r3, [pc, #380] @ (80097dc ) - 800965e: 801a strh r2, [r3, #0] + 8009fd8: 4b61 ldr r3, [pc, #388] @ (800a160 ) + 8009fda: 881b ldrh r3, [r3, #0] + 8009fdc: 3b01 subs r3, #1 + 8009fde: b29a uxth r2, r3 + 8009fe0: 4b5f ldr r3, [pc, #380] @ (800a160 ) + 8009fe2: 801a strh r2, [r3, #0] } pcb->cwnd = LWIP_TCP_CALC_INITIAL_CWND(pcb->mss); - 8009660: 687b ldr r3, [r7, #4] - 8009662: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009664: 009a lsls r2, r3, #2 - 8009666: 687b ldr r3, [r7, #4] - 8009668: 8e5b ldrh r3, [r3, #50] @ 0x32 - 800966a: 005b lsls r3, r3, #1 - 800966c: f241 111c movw r1, #4380 @ 0x111c - 8009670: 428b cmp r3, r1 - 8009672: bf38 it cc - 8009674: 460b movcc r3, r1 - 8009676: 429a cmp r2, r3 - 8009678: d204 bcs.n 8009684 - 800967a: 687b ldr r3, [r7, #4] - 800967c: 8e5b ldrh r3, [r3, #50] @ 0x32 - 800967e: 009b lsls r3, r3, #2 - 8009680: b29b uxth r3, r3 - 8009682: e00d b.n 80096a0 - 8009684: 687b ldr r3, [r7, #4] - 8009686: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009688: 005b lsls r3, r3, #1 - 800968a: f241 121c movw r2, #4380 @ 0x111c - 800968e: 4293 cmp r3, r2 - 8009690: d904 bls.n 800969c - 8009692: 687b ldr r3, [r7, #4] - 8009694: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009696: 005b lsls r3, r3, #1 - 8009698: b29b uxth r3, r3 - 800969a: e001 b.n 80096a0 - 800969c: f241 131c movw r3, #4380 @ 0x111c - 80096a0: 687a ldr r2, [r7, #4] - 80096a2: f8a2 3048 strh.w r3, [r2, #72] @ 0x48 + 8009fe4: 687b ldr r3, [r7, #4] + 8009fe6: 8e5b ldrh r3, [r3, #50] @ 0x32 + 8009fe8: 009a lsls r2, r3, #2 + 8009fea: 687b ldr r3, [r7, #4] + 8009fec: 8e5b ldrh r3, [r3, #50] @ 0x32 + 8009fee: 005b lsls r3, r3, #1 + 8009ff0: f241 111c movw r1, #4380 @ 0x111c + 8009ff4: 428b cmp r3, r1 + 8009ff6: bf38 it cc + 8009ff8: 460b movcc r3, r1 + 8009ffa: 429a cmp r2, r3 + 8009ffc: d204 bcs.n 800a008 + 8009ffe: 687b ldr r3, [r7, #4] + 800a000: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800a002: 009b lsls r3, r3, #2 + 800a004: b29b uxth r3, r3 + 800a006: e00d b.n 800a024 + 800a008: 687b ldr r3, [r7, #4] + 800a00a: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800a00c: 005b lsls r3, r3, #1 + 800a00e: f241 121c movw r2, #4380 @ 0x111c + 800a012: 4293 cmp r3, r2 + 800a014: d904 bls.n 800a020 + 800a016: 687b ldr r3, [r7, #4] + 800a018: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800a01a: 005b lsls r3, r3, #1 + 800a01c: b29b uxth r3, r3 + 800a01e: e001 b.n 800a024 + 800a020: f241 131c movw r3, #4380 @ 0x111c + 800a024: 687a ldr r2, [r7, #4] + 800a026: f8a2 3048 strh.w r3, [r2, #72] @ 0x48 LWIP_DEBUGF(TCP_CWND_DEBUG, ("tcp_process (SYN_RCVD): cwnd %"TCPWNDSIZE_F " ssthresh %"TCPWNDSIZE_F"\n", pcb->cwnd, pcb->ssthresh)); if (recv_flags & TF_GOT_FIN) { - 80096a6: 4b4e ldr r3, [pc, #312] @ (80097e0 ) - 80096a8: 781b ldrb r3, [r3, #0] - 80096aa: f003 0320 and.w r3, r3, #32 - 80096ae: 2b00 cmp r3, #0 - 80096b0: d037 beq.n 8009722 + 800a02a: 4b4e ldr r3, [pc, #312] @ (800a164 ) + 800a02c: 781b ldrb r3, [r3, #0] + 800a02e: f003 0320 and.w r3, r3, #32 + 800a032: 2b00 cmp r3, #0 + 800a034: d037 beq.n 800a0a6 tcp_ack_now(pcb); - 80096b2: 687b ldr r3, [r7, #4] - 80096b4: 8b5b ldrh r3, [r3, #26] - 80096b6: f043 0302 orr.w r3, r3, #2 - 80096ba: b29a uxth r2, r3 - 80096bc: 687b ldr r3, [r7, #4] - 80096be: 835a strh r2, [r3, #26] + 800a036: 687b ldr r3, [r7, #4] + 800a038: 8b5b ldrh r3, [r3, #26] + 800a03a: f043 0302 orr.w r3, r3, #2 + 800a03e: b29a uxth r2, r3 + 800a040: 687b ldr r3, [r7, #4] + 800a042: 835a strh r2, [r3, #26] pcb->state = CLOSE_WAIT; - 80096c0: 687b ldr r3, [r7, #4] - 80096c2: 2207 movs r2, #7 - 80096c4: 751a strb r2, [r3, #20] + 800a044: 687b ldr r3, [r7, #4] + 800a046: 2207 movs r2, #7 + 800a048: 751a strb r2, [r3, #20] if (recv_flags & TF_GOT_FIN) { - 80096c6: e02c b.n 8009722 + 800a04a: e02c b.n 800a0a6 } } else { /* incorrect ACK number, send RST */ tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 80096c8: 4b3b ldr r3, [pc, #236] @ (80097b8 ) - 80096ca: 6819 ldr r1, [r3, #0] - 80096cc: 4b3b ldr r3, [pc, #236] @ (80097bc ) - 80096ce: 881b ldrh r3, [r3, #0] - 80096d0: 461a mov r2, r3 - 80096d2: 4b3b ldr r3, [pc, #236] @ (80097c0 ) - 80096d4: 681b ldr r3, [r3, #0] - 80096d6: 18d0 adds r0, r2, r3 + 800a04c: 4b3b ldr r3, [pc, #236] @ (800a13c ) + 800a04e: 6819 ldr r1, [r3, #0] + 800a050: 4b3b ldr r3, [pc, #236] @ (800a140 ) + 800a052: 881b ldrh r3, [r3, #0] + 800a054: 461a mov r2, r3 + 800a056: 4b3b ldr r3, [pc, #236] @ (800a144 ) + 800a058: 681b ldr r3, [r3, #0] + 800a05a: 18d0 adds r0, r2, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 80096d8: 4b3a ldr r3, [pc, #232] @ (80097c4 ) - 80096da: 681b ldr r3, [r3, #0] + 800a05c: 4b3a ldr r3, [pc, #232] @ (800a148 ) + 800a05e: 681b ldr r3, [r3, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 80096dc: 885b ldrh r3, [r3, #2] - 80096de: b29b uxth r3, r3 + 800a060: 885b ldrh r3, [r3, #2] + 800a062: b29b uxth r3, r3 ip_current_src_addr(), tcphdr->dest, tcphdr->src); - 80096e0: 4a38 ldr r2, [pc, #224] @ (80097c4 ) - 80096e2: 6812 ldr r2, [r2, #0] + 800a064: 4a38 ldr r2, [pc, #224] @ (800a148 ) + 800a066: 6812 ldr r2, [r2, #0] tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(), - 80096e4: 8812 ldrh r2, [r2, #0] - 80096e6: b292 uxth r2, r2 - 80096e8: 9202 str r2, [sp, #8] - 80096ea: 9301 str r3, [sp, #4] - 80096ec: 4b36 ldr r3, [pc, #216] @ (80097c8 ) - 80096ee: 9300 str r3, [sp, #0] - 80096f0: 4b36 ldr r3, [pc, #216] @ (80097cc ) - 80096f2: 4602 mov r2, r0 - 80096f4: 6878 ldr r0, [r7, #4] - 80096f6: f002 fbcb bl 800be90 + 800a068: 8812 ldrh r2, [r2, #0] + 800a06a: b292 uxth r2, r2 + 800a06c: 9202 str r2, [sp, #8] + 800a06e: 9301 str r3, [sp, #4] + 800a070: 4b36 ldr r3, [pc, #216] @ (800a14c ) + 800a072: 9300 str r3, [sp, #0] + 800a074: 4b36 ldr r3, [pc, #216] @ (800a150 ) + 800a076: 4602 mov r2, r0 + 800a078: 6878 ldr r0, [r7, #4] + 800a07a: f002 fbcb bl 800c814 } } else if ((flags & TCP_SYN) && (seqno == pcb->rcv_nxt - 1)) { /* Looks like another copy of the SYN - retransmit our SYN-ACK */ tcp_rexmit(pcb); } break; - 80096fa: e167 b.n 80099cc + 800a07e: e167 b.n 800a350 } else if ((flags & TCP_SYN) && (seqno == pcb->rcv_nxt - 1)) { - 80096fc: 4b2d ldr r3, [pc, #180] @ (80097b4 ) - 80096fe: 781b ldrb r3, [r3, #0] - 8009700: f003 0302 and.w r3, r3, #2 - 8009704: 2b00 cmp r3, #0 - 8009706: f000 8161 beq.w 80099cc - 800970a: 687b ldr r3, [r7, #4] - 800970c: 6a5b ldr r3, [r3, #36] @ 0x24 - 800970e: 1e5a subs r2, r3, #1 - 8009710: 4b2b ldr r3, [pc, #172] @ (80097c0 ) - 8009712: 681b ldr r3, [r3, #0] - 8009714: 429a cmp r2, r3 - 8009716: f040 8159 bne.w 80099cc + 800a080: 4b2d ldr r3, [pc, #180] @ (800a138 ) + 800a082: 781b ldrb r3, [r3, #0] + 800a084: f003 0302 and.w r3, r3, #2 + 800a088: 2b00 cmp r3, #0 + 800a08a: f000 8161 beq.w 800a350 + 800a08e: 687b ldr r3, [r7, #4] + 800a090: 6a5b ldr r3, [r3, #36] @ 0x24 + 800a092: 1e5a subs r2, r3, #1 + 800a094: 4b2b ldr r3, [pc, #172] @ (800a144 ) + 800a096: 681b ldr r3, [r3, #0] + 800a098: 429a cmp r2, r3 + 800a09a: f040 8159 bne.w 800a350 tcp_rexmit(pcb); - 800971a: 6878 ldr r0, [r7, #4] - 800971c: f002 f9b2 bl 800ba84 + 800a09e: 6878 ldr r0, [r7, #4] + 800a0a0: f002 f9b2 bl 800c408 break; - 8009720: e154 b.n 80099cc - 8009722: e153 b.n 80099cc + 800a0a4: e154 b.n 800a350 + 800a0a6: e153 b.n 800a350 case CLOSE_WAIT: /* FALLTHROUGH */ case ESTABLISHED: tcp_receive(pcb); - 8009724: 6878 ldr r0, [r7, #4] - 8009726: f000 fa71 bl 8009c0c + 800a0a8: 6878 ldr r0, [r7, #4] + 800a0aa: f000 fa71 bl 800a590 if (recv_flags & TF_GOT_FIN) { /* passive close */ - 800972a: 4b2d ldr r3, [pc, #180] @ (80097e0 ) - 800972c: 781b ldrb r3, [r3, #0] - 800972e: f003 0320 and.w r3, r3, #32 - 8009732: 2b00 cmp r3, #0 - 8009734: f000 814c beq.w 80099d0 + 800a0ae: 4b2d ldr r3, [pc, #180] @ (800a164 ) + 800a0b0: 781b ldrb r3, [r3, #0] + 800a0b2: f003 0320 and.w r3, r3, #32 + 800a0b6: 2b00 cmp r3, #0 + 800a0b8: f000 814c beq.w 800a354 tcp_ack_now(pcb); - 8009738: 687b ldr r3, [r7, #4] - 800973a: 8b5b ldrh r3, [r3, #26] - 800973c: f043 0302 orr.w r3, r3, #2 - 8009740: b29a uxth r2, r3 - 8009742: 687b ldr r3, [r7, #4] - 8009744: 835a strh r2, [r3, #26] + 800a0bc: 687b ldr r3, [r7, #4] + 800a0be: 8b5b ldrh r3, [r3, #26] + 800a0c0: f043 0302 orr.w r3, r3, #2 + 800a0c4: b29a uxth r2, r3 + 800a0c6: 687b ldr r3, [r7, #4] + 800a0c8: 835a strh r2, [r3, #26] pcb->state = CLOSE_WAIT; - 8009746: 687b ldr r3, [r7, #4] - 8009748: 2207 movs r2, #7 - 800974a: 751a strb r2, [r3, #20] + 800a0ca: 687b ldr r3, [r7, #4] + 800a0cc: 2207 movs r2, #7 + 800a0ce: 751a strb r2, [r3, #20] } break; - 800974c: e140 b.n 80099d0 + 800a0d0: e140 b.n 800a354 case FIN_WAIT_1: tcp_receive(pcb); - 800974e: 6878 ldr r0, [r7, #4] - 8009750: f000 fa5c bl 8009c0c + 800a0d2: 6878 ldr r0, [r7, #4] + 800a0d4: f000 fa5c bl 800a590 if (recv_flags & TF_GOT_FIN) { - 8009754: 4b22 ldr r3, [pc, #136] @ (80097e0 ) - 8009756: 781b ldrb r3, [r3, #0] - 8009758: f003 0320 and.w r3, r3, #32 - 800975c: 2b00 cmp r3, #0 - 800975e: d071 beq.n 8009844 + 800a0d8: 4b22 ldr r3, [pc, #136] @ (800a164 ) + 800a0da: 781b ldrb r3, [r3, #0] + 800a0dc: f003 0320 and.w r3, r3, #32 + 800a0e0: 2b00 cmp r3, #0 + 800a0e2: d071 beq.n 800a1c8 if ((flags & TCP_ACK) && (ackno == pcb->snd_nxt) && - 8009760: 4b14 ldr r3, [pc, #80] @ (80097b4 ) - 8009762: 781b ldrb r3, [r3, #0] - 8009764: f003 0310 and.w r3, r3, #16 - 8009768: 2b00 cmp r3, #0 - 800976a: d060 beq.n 800982e - 800976c: 687b ldr r3, [r7, #4] - 800976e: 6d1a ldr r2, [r3, #80] @ 0x50 - 8009770: 4b11 ldr r3, [pc, #68] @ (80097b8 ) - 8009772: 681b ldr r3, [r3, #0] - 8009774: 429a cmp r2, r3 - 8009776: d15a bne.n 800982e + 800a0e4: 4b14 ldr r3, [pc, #80] @ (800a138 ) + 800a0e6: 781b ldrb r3, [r3, #0] + 800a0e8: f003 0310 and.w r3, r3, #16 + 800a0ec: 2b00 cmp r3, #0 + 800a0ee: d060 beq.n 800a1b2 + 800a0f0: 687b ldr r3, [r7, #4] + 800a0f2: 6d1a ldr r2, [r3, #80] @ 0x50 + 800a0f4: 4b11 ldr r3, [pc, #68] @ (800a13c ) + 800a0f6: 681b ldr r3, [r3, #0] + 800a0f8: 429a cmp r2, r3 + 800a0fa: d15a bne.n 800a1b2 pcb->unsent == NULL) { - 8009778: 687b ldr r3, [r7, #4] - 800977a: 6edb ldr r3, [r3, #108] @ 0x6c + 800a0fc: 687b ldr r3, [r7, #4] + 800a0fe: 6edb ldr r3, [r3, #108] @ 0x6c if ((flags & TCP_ACK) && (ackno == pcb->snd_nxt) && - 800977c: 2b00 cmp r3, #0 - 800977e: d156 bne.n 800982e + 800a100: 2b00 cmp r3, #0 + 800a102: d156 bne.n 800a1b2 LWIP_DEBUGF(TCP_DEBUG, ("TCP connection closed: FIN_WAIT_1 %"U16_F" -> %"U16_F".\n", inseg.tcphdr->src, inseg.tcphdr->dest)); tcp_ack_now(pcb); - 8009780: 687b ldr r3, [r7, #4] - 8009782: 8b5b ldrh r3, [r3, #26] - 8009784: f043 0302 orr.w r3, r3, #2 - 8009788: b29a uxth r2, r3 - 800978a: 687b ldr r3, [r7, #4] - 800978c: 835a strh r2, [r3, #26] + 800a104: 687b ldr r3, [r7, #4] + 800a106: 8b5b ldrh r3, [r3, #26] + 800a108: f043 0302 orr.w r3, r3, #2 + 800a10c: b29a uxth r2, r3 + 800a10e: 687b ldr r3, [r7, #4] + 800a110: 835a strh r2, [r3, #26] tcp_pcb_purge(pcb); - 800978e: 6878 ldr r0, [r7, #4] - 8009790: f7fe fdbc bl 800830c + 800a112: 6878 ldr r0, [r7, #4] + 800a114: f7fe fdbc bl 8008c90 TCP_RMV_ACTIVE(pcb); - 8009794: 4b13 ldr r3, [pc, #76] @ (80097e4 ) - 8009796: 681b ldr r3, [r3, #0] - 8009798: 687a ldr r2, [r7, #4] - 800979a: 429a cmp r2, r3 - 800979c: d105 bne.n 80097aa - 800979e: 4b11 ldr r3, [pc, #68] @ (80097e4 ) - 80097a0: 681b ldr r3, [r3, #0] - 80097a2: 68db ldr r3, [r3, #12] - 80097a4: 4a0f ldr r2, [pc, #60] @ (80097e4 ) - 80097a6: 6013 str r3, [r2, #0] - 80097a8: e02e b.n 8009808 - 80097aa: 4b0e ldr r3, [pc, #56] @ (80097e4 ) - 80097ac: 681b ldr r3, [r3, #0] - 80097ae: 617b str r3, [r7, #20] - 80097b0: e027 b.n 8009802 - 80097b2: bf00 nop - 80097b4: 200190e8 .word 0x200190e8 - 80097b8: 200190e0 .word 0x200190e0 - 80097bc: 200190e6 .word 0x200190e6 - 80097c0: 200190dc .word 0x200190dc - 80097c4: 200190cc .word 0x200190cc - 80097c8: 2000615c .word 0x2000615c - 80097cc: 20006160 .word 0x20006160 - 80097d0: 0801721c .word 0x0801721c - 80097d4: 080174bc .word 0x080174bc - 80097d8: 08017268 .word 0x08017268 - 80097dc: 200190e4 .word 0x200190e4 - 80097e0: 200190e9 .word 0x200190e9 - 80097e4: 200190b0 .word 0x200190b0 - 80097e8: 697b ldr r3, [r7, #20] - 80097ea: 68db ldr r3, [r3, #12] - 80097ec: 687a ldr r2, [r7, #4] - 80097ee: 429a cmp r2, r3 - 80097f0: d104 bne.n 80097fc - 80097f2: 687b ldr r3, [r7, #4] - 80097f4: 68da ldr r2, [r3, #12] - 80097f6: 697b ldr r3, [r7, #20] - 80097f8: 60da str r2, [r3, #12] - 80097fa: e005 b.n 8009808 - 80097fc: 697b ldr r3, [r7, #20] - 80097fe: 68db ldr r3, [r3, #12] - 8009800: 617b str r3, [r7, #20] - 8009802: 697b ldr r3, [r7, #20] - 8009804: 2b00 cmp r3, #0 - 8009806: d1ef bne.n 80097e8 - 8009808: 687b ldr r3, [r7, #4] - 800980a: 2200 movs r2, #0 - 800980c: 60da str r2, [r3, #12] - 800980e: 4b77 ldr r3, [pc, #476] @ (80099ec ) - 8009810: 2201 movs r2, #1 - 8009812: 701a strb r2, [r3, #0] + 800a118: 4b13 ldr r3, [pc, #76] @ (800a168 ) + 800a11a: 681b ldr r3, [r3, #0] + 800a11c: 687a ldr r2, [r7, #4] + 800a11e: 429a cmp r2, r3 + 800a120: d105 bne.n 800a12e + 800a122: 4b11 ldr r3, [pc, #68] @ (800a168 ) + 800a124: 681b ldr r3, [r3, #0] + 800a126: 68db ldr r3, [r3, #12] + 800a128: 4a0f ldr r2, [pc, #60] @ (800a168 ) + 800a12a: 6013 str r3, [r2, #0] + 800a12c: e02e b.n 800a18c + 800a12e: 4b0e ldr r3, [pc, #56] @ (800a168 ) + 800a130: 681b ldr r3, [r3, #0] + 800a132: 617b str r3, [r7, #20] + 800a134: e027 b.n 800a186 + 800a136: bf00 nop + 800a138: 2001911c .word 0x2001911c + 800a13c: 20019114 .word 0x20019114 + 800a140: 2001911a .word 0x2001911a + 800a144: 20019110 .word 0x20019110 + 800a148: 20019100 .word 0x20019100 + 800a14c: 20006190 .word 0x20006190 + 800a150: 20006194 .word 0x20006194 + 800a154: 08017b9c .word 0x08017b9c + 800a158: 08017e3c .word 0x08017e3c + 800a15c: 08017be8 .word 0x08017be8 + 800a160: 20019118 .word 0x20019118 + 800a164: 2001911d .word 0x2001911d + 800a168: 200190e4 .word 0x200190e4 + 800a16c: 697b ldr r3, [r7, #20] + 800a16e: 68db ldr r3, [r3, #12] + 800a170: 687a ldr r2, [r7, #4] + 800a172: 429a cmp r2, r3 + 800a174: d104 bne.n 800a180 + 800a176: 687b ldr r3, [r7, #4] + 800a178: 68da ldr r2, [r3, #12] + 800a17a: 697b ldr r3, [r7, #20] + 800a17c: 60da str r2, [r3, #12] + 800a17e: e005 b.n 800a18c + 800a180: 697b ldr r3, [r7, #20] + 800a182: 68db ldr r3, [r3, #12] + 800a184: 617b str r3, [r7, #20] + 800a186: 697b ldr r3, [r7, #20] + 800a188: 2b00 cmp r3, #0 + 800a18a: d1ef bne.n 800a16c + 800a18c: 687b ldr r3, [r7, #4] + 800a18e: 2200 movs r2, #0 + 800a190: 60da str r2, [r3, #12] + 800a192: 4b77 ldr r3, [pc, #476] @ (800a370 ) + 800a194: 2201 movs r2, #1 + 800a196: 701a strb r2, [r3, #0] pcb->state = TIME_WAIT; - 8009814: 687b ldr r3, [r7, #4] - 8009816: 220a movs r2, #10 - 8009818: 751a strb r2, [r3, #20] + 800a198: 687b ldr r3, [r7, #4] + 800a19a: 220a movs r2, #10 + 800a19c: 751a strb r2, [r3, #20] TCP_REG(&tcp_tw_pcbs, pcb); - 800981a: 4b75 ldr r3, [pc, #468] @ (80099f0 ) - 800981c: 681a ldr r2, [r3, #0] - 800981e: 687b ldr r3, [r7, #4] - 8009820: 60da str r2, [r3, #12] - 8009822: 4a73 ldr r2, [pc, #460] @ (80099f0 ) - 8009824: 687b ldr r3, [r7, #4] - 8009826: 6013 str r3, [r2, #0] - 8009828: f002 fcf4 bl 800c214 + 800a19e: 4b75 ldr r3, [pc, #468] @ (800a374 ) + 800a1a0: 681a ldr r2, [r3, #0] + 800a1a2: 687b ldr r3, [r7, #4] + 800a1a4: 60da str r2, [r3, #12] + 800a1a6: 4a73 ldr r2, [pc, #460] @ (800a374 ) + 800a1a8: 687b ldr r3, [r7, #4] + 800a1aa: 6013 str r3, [r2, #0] + 800a1ac: f002 fcf4 bl 800cb98 } } else if ((flags & TCP_ACK) && (ackno == pcb->snd_nxt) && pcb->unsent == NULL) { pcb->state = FIN_WAIT_2; } break; - 800982c: e0d2 b.n 80099d4 + 800a1b0: e0d2 b.n 800a358 tcp_ack_now(pcb); - 800982e: 687b ldr r3, [r7, #4] - 8009830: 8b5b ldrh r3, [r3, #26] - 8009832: f043 0302 orr.w r3, r3, #2 - 8009836: b29a uxth r2, r3 - 8009838: 687b ldr r3, [r7, #4] - 800983a: 835a strh r2, [r3, #26] + 800a1b2: 687b ldr r3, [r7, #4] + 800a1b4: 8b5b ldrh r3, [r3, #26] + 800a1b6: f043 0302 orr.w r3, r3, #2 + 800a1ba: b29a uxth r2, r3 + 800a1bc: 687b ldr r3, [r7, #4] + 800a1be: 835a strh r2, [r3, #26] pcb->state = CLOSING; - 800983c: 687b ldr r3, [r7, #4] - 800983e: 2208 movs r2, #8 - 8009840: 751a strb r2, [r3, #20] + 800a1c0: 687b ldr r3, [r7, #4] + 800a1c2: 2208 movs r2, #8 + 800a1c4: 751a strb r2, [r3, #20] break; - 8009842: e0c7 b.n 80099d4 + 800a1c6: e0c7 b.n 800a358 } else if ((flags & TCP_ACK) && (ackno == pcb->snd_nxt) && - 8009844: 4b6b ldr r3, [pc, #428] @ (80099f4 ) - 8009846: 781b ldrb r3, [r3, #0] - 8009848: f003 0310 and.w r3, r3, #16 - 800984c: 2b00 cmp r3, #0 - 800984e: f000 80c1 beq.w 80099d4 - 8009852: 687b ldr r3, [r7, #4] - 8009854: 6d1a ldr r2, [r3, #80] @ 0x50 - 8009856: 4b68 ldr r3, [pc, #416] @ (80099f8 ) - 8009858: 681b ldr r3, [r3, #0] - 800985a: 429a cmp r2, r3 - 800985c: f040 80ba bne.w 80099d4 + 800a1c8: 4b6b ldr r3, [pc, #428] @ (800a378 ) + 800a1ca: 781b ldrb r3, [r3, #0] + 800a1cc: f003 0310 and.w r3, r3, #16 + 800a1d0: 2b00 cmp r3, #0 + 800a1d2: f000 80c1 beq.w 800a358 + 800a1d6: 687b ldr r3, [r7, #4] + 800a1d8: 6d1a ldr r2, [r3, #80] @ 0x50 + 800a1da: 4b68 ldr r3, [pc, #416] @ (800a37c ) + 800a1dc: 681b ldr r3, [r3, #0] + 800a1de: 429a cmp r2, r3 + 800a1e0: f040 80ba bne.w 800a358 pcb->unsent == NULL) { - 8009860: 687b ldr r3, [r7, #4] - 8009862: 6edb ldr r3, [r3, #108] @ 0x6c + 800a1e4: 687b ldr r3, [r7, #4] + 800a1e6: 6edb ldr r3, [r3, #108] @ 0x6c } else if ((flags & TCP_ACK) && (ackno == pcb->snd_nxt) && - 8009864: 2b00 cmp r3, #0 - 8009866: f040 80b5 bne.w 80099d4 + 800a1e8: 2b00 cmp r3, #0 + 800a1ea: f040 80b5 bne.w 800a358 pcb->state = FIN_WAIT_2; - 800986a: 687b ldr r3, [r7, #4] - 800986c: 2206 movs r2, #6 - 800986e: 751a strb r2, [r3, #20] + 800a1ee: 687b ldr r3, [r7, #4] + 800a1f0: 2206 movs r2, #6 + 800a1f2: 751a strb r2, [r3, #20] break; - 8009870: e0b0 b.n 80099d4 + 800a1f4: e0b0 b.n 800a358 case FIN_WAIT_2: tcp_receive(pcb); - 8009872: 6878 ldr r0, [r7, #4] - 8009874: f000 f9ca bl 8009c0c + 800a1f6: 6878 ldr r0, [r7, #4] + 800a1f8: f000 f9ca bl 800a590 if (recv_flags & TF_GOT_FIN) { - 8009878: 4b60 ldr r3, [pc, #384] @ (80099fc ) - 800987a: 781b ldrb r3, [r3, #0] - 800987c: f003 0320 and.w r3, r3, #32 - 8009880: 2b00 cmp r3, #0 - 8009882: f000 80a9 beq.w 80099d8 + 800a1fc: 4b60 ldr r3, [pc, #384] @ (800a380 ) + 800a1fe: 781b ldrb r3, [r3, #0] + 800a200: f003 0320 and.w r3, r3, #32 + 800a204: 2b00 cmp r3, #0 + 800a206: f000 80a9 beq.w 800a35c LWIP_DEBUGF(TCP_DEBUG, ("TCP connection closed: FIN_WAIT_2 %"U16_F" -> %"U16_F".\n", inseg.tcphdr->src, inseg.tcphdr->dest)); tcp_ack_now(pcb); - 8009886: 687b ldr r3, [r7, #4] - 8009888: 8b5b ldrh r3, [r3, #26] - 800988a: f043 0302 orr.w r3, r3, #2 - 800988e: b29a uxth r2, r3 - 8009890: 687b ldr r3, [r7, #4] - 8009892: 835a strh r2, [r3, #26] + 800a20a: 687b ldr r3, [r7, #4] + 800a20c: 8b5b ldrh r3, [r3, #26] + 800a20e: f043 0302 orr.w r3, r3, #2 + 800a212: b29a uxth r2, r3 + 800a214: 687b ldr r3, [r7, #4] + 800a216: 835a strh r2, [r3, #26] tcp_pcb_purge(pcb); - 8009894: 6878 ldr r0, [r7, #4] - 8009896: f7fe fd39 bl 800830c + 800a218: 6878 ldr r0, [r7, #4] + 800a21a: f7fe fd39 bl 8008c90 TCP_RMV_ACTIVE(pcb); - 800989a: 4b59 ldr r3, [pc, #356] @ (8009a00 ) - 800989c: 681b ldr r3, [r3, #0] - 800989e: 687a ldr r2, [r7, #4] - 80098a0: 429a cmp r2, r3 - 80098a2: d105 bne.n 80098b0 - 80098a4: 4b56 ldr r3, [pc, #344] @ (8009a00 ) - 80098a6: 681b ldr r3, [r3, #0] - 80098a8: 68db ldr r3, [r3, #12] - 80098aa: 4a55 ldr r2, [pc, #340] @ (8009a00 ) - 80098ac: 6013 str r3, [r2, #0] - 80098ae: e013 b.n 80098d8 - 80098b0: 4b53 ldr r3, [pc, #332] @ (8009a00 ) - 80098b2: 681b ldr r3, [r3, #0] - 80098b4: 613b str r3, [r7, #16] - 80098b6: e00c b.n 80098d2 - 80098b8: 693b ldr r3, [r7, #16] - 80098ba: 68db ldr r3, [r3, #12] - 80098bc: 687a ldr r2, [r7, #4] - 80098be: 429a cmp r2, r3 - 80098c0: d104 bne.n 80098cc - 80098c2: 687b ldr r3, [r7, #4] - 80098c4: 68da ldr r2, [r3, #12] - 80098c6: 693b ldr r3, [r7, #16] - 80098c8: 60da str r2, [r3, #12] - 80098ca: e005 b.n 80098d8 - 80098cc: 693b ldr r3, [r7, #16] - 80098ce: 68db ldr r3, [r3, #12] - 80098d0: 613b str r3, [r7, #16] - 80098d2: 693b ldr r3, [r7, #16] - 80098d4: 2b00 cmp r3, #0 - 80098d6: d1ef bne.n 80098b8 - 80098d8: 687b ldr r3, [r7, #4] - 80098da: 2200 movs r2, #0 - 80098dc: 60da str r2, [r3, #12] - 80098de: 4b43 ldr r3, [pc, #268] @ (80099ec ) - 80098e0: 2201 movs r2, #1 - 80098e2: 701a strb r2, [r3, #0] + 800a21e: 4b59 ldr r3, [pc, #356] @ (800a384 ) + 800a220: 681b ldr r3, [r3, #0] + 800a222: 687a ldr r2, [r7, #4] + 800a224: 429a cmp r2, r3 + 800a226: d105 bne.n 800a234 + 800a228: 4b56 ldr r3, [pc, #344] @ (800a384 ) + 800a22a: 681b ldr r3, [r3, #0] + 800a22c: 68db ldr r3, [r3, #12] + 800a22e: 4a55 ldr r2, [pc, #340] @ (800a384 ) + 800a230: 6013 str r3, [r2, #0] + 800a232: e013 b.n 800a25c + 800a234: 4b53 ldr r3, [pc, #332] @ (800a384 ) + 800a236: 681b ldr r3, [r3, #0] + 800a238: 613b str r3, [r7, #16] + 800a23a: e00c b.n 800a256 + 800a23c: 693b ldr r3, [r7, #16] + 800a23e: 68db ldr r3, [r3, #12] + 800a240: 687a ldr r2, [r7, #4] + 800a242: 429a cmp r2, r3 + 800a244: d104 bne.n 800a250 + 800a246: 687b ldr r3, [r7, #4] + 800a248: 68da ldr r2, [r3, #12] + 800a24a: 693b ldr r3, [r7, #16] + 800a24c: 60da str r2, [r3, #12] + 800a24e: e005 b.n 800a25c + 800a250: 693b ldr r3, [r7, #16] + 800a252: 68db ldr r3, [r3, #12] + 800a254: 613b str r3, [r7, #16] + 800a256: 693b ldr r3, [r7, #16] + 800a258: 2b00 cmp r3, #0 + 800a25a: d1ef bne.n 800a23c + 800a25c: 687b ldr r3, [r7, #4] + 800a25e: 2200 movs r2, #0 + 800a260: 60da str r2, [r3, #12] + 800a262: 4b43 ldr r3, [pc, #268] @ (800a370 ) + 800a264: 2201 movs r2, #1 + 800a266: 701a strb r2, [r3, #0] pcb->state = TIME_WAIT; - 80098e4: 687b ldr r3, [r7, #4] - 80098e6: 220a movs r2, #10 - 80098e8: 751a strb r2, [r3, #20] + 800a268: 687b ldr r3, [r7, #4] + 800a26a: 220a movs r2, #10 + 800a26c: 751a strb r2, [r3, #20] TCP_REG(&tcp_tw_pcbs, pcb); - 80098ea: 4b41 ldr r3, [pc, #260] @ (80099f0 ) - 80098ec: 681a ldr r2, [r3, #0] - 80098ee: 687b ldr r3, [r7, #4] - 80098f0: 60da str r2, [r3, #12] - 80098f2: 4a3f ldr r2, [pc, #252] @ (80099f0 ) - 80098f4: 687b ldr r3, [r7, #4] - 80098f6: 6013 str r3, [r2, #0] - 80098f8: f002 fc8c bl 800c214 + 800a26e: 4b41 ldr r3, [pc, #260] @ (800a374 ) + 800a270: 681a ldr r2, [r3, #0] + 800a272: 687b ldr r3, [r7, #4] + 800a274: 60da str r2, [r3, #12] + 800a276: 4a3f ldr r2, [pc, #252] @ (800a374 ) + 800a278: 687b ldr r3, [r7, #4] + 800a27a: 6013 str r3, [r2, #0] + 800a27c: f002 fc8c bl 800cb98 } break; - 80098fc: e06c b.n 80099d8 + 800a280: e06c b.n 800a35c case CLOSING: tcp_receive(pcb); - 80098fe: 6878 ldr r0, [r7, #4] - 8009900: f000 f984 bl 8009c0c + 800a282: 6878 ldr r0, [r7, #4] + 800a284: f000 f984 bl 800a590 if ((flags & TCP_ACK) && ackno == pcb->snd_nxt && pcb->unsent == NULL) { - 8009904: 4b3b ldr r3, [pc, #236] @ (80099f4 ) - 8009906: 781b ldrb r3, [r3, #0] - 8009908: f003 0310 and.w r3, r3, #16 - 800990c: 2b00 cmp r3, #0 - 800990e: d065 beq.n 80099dc - 8009910: 687b ldr r3, [r7, #4] - 8009912: 6d1a ldr r2, [r3, #80] @ 0x50 - 8009914: 4b38 ldr r3, [pc, #224] @ (80099f8 ) - 8009916: 681b ldr r3, [r3, #0] - 8009918: 429a cmp r2, r3 - 800991a: d15f bne.n 80099dc - 800991c: 687b ldr r3, [r7, #4] - 800991e: 6edb ldr r3, [r3, #108] @ 0x6c - 8009920: 2b00 cmp r3, #0 - 8009922: d15b bne.n 80099dc + 800a288: 4b3b ldr r3, [pc, #236] @ (800a378 ) + 800a28a: 781b ldrb r3, [r3, #0] + 800a28c: f003 0310 and.w r3, r3, #16 + 800a290: 2b00 cmp r3, #0 + 800a292: d065 beq.n 800a360 + 800a294: 687b ldr r3, [r7, #4] + 800a296: 6d1a ldr r2, [r3, #80] @ 0x50 + 800a298: 4b38 ldr r3, [pc, #224] @ (800a37c ) + 800a29a: 681b ldr r3, [r3, #0] + 800a29c: 429a cmp r2, r3 + 800a29e: d15f bne.n 800a360 + 800a2a0: 687b ldr r3, [r7, #4] + 800a2a2: 6edb ldr r3, [r3, #108] @ 0x6c + 800a2a4: 2b00 cmp r3, #0 + 800a2a6: d15b bne.n 800a360 LWIP_DEBUGF(TCP_DEBUG, ("TCP connection closed: CLOSING %"U16_F" -> %"U16_F".\n", inseg.tcphdr->src, inseg.tcphdr->dest)); tcp_pcb_purge(pcb); - 8009924: 6878 ldr r0, [r7, #4] - 8009926: f7fe fcf1 bl 800830c + 800a2a8: 6878 ldr r0, [r7, #4] + 800a2aa: f7fe fcf1 bl 8008c90 TCP_RMV_ACTIVE(pcb); - 800992a: 4b35 ldr r3, [pc, #212] @ (8009a00 ) - 800992c: 681b ldr r3, [r3, #0] - 800992e: 687a ldr r2, [r7, #4] - 8009930: 429a cmp r2, r3 - 8009932: d105 bne.n 8009940 - 8009934: 4b32 ldr r3, [pc, #200] @ (8009a00 ) - 8009936: 681b ldr r3, [r3, #0] - 8009938: 68db ldr r3, [r3, #12] - 800993a: 4a31 ldr r2, [pc, #196] @ (8009a00 ) - 800993c: 6013 str r3, [r2, #0] - 800993e: e013 b.n 8009968 - 8009940: 4b2f ldr r3, [pc, #188] @ (8009a00 ) - 8009942: 681b ldr r3, [r3, #0] - 8009944: 60fb str r3, [r7, #12] - 8009946: e00c b.n 8009962 - 8009948: 68fb ldr r3, [r7, #12] - 800994a: 68db ldr r3, [r3, #12] - 800994c: 687a ldr r2, [r7, #4] - 800994e: 429a cmp r2, r3 - 8009950: d104 bne.n 800995c - 8009952: 687b ldr r3, [r7, #4] - 8009954: 68da ldr r2, [r3, #12] - 8009956: 68fb ldr r3, [r7, #12] - 8009958: 60da str r2, [r3, #12] - 800995a: e005 b.n 8009968 - 800995c: 68fb ldr r3, [r7, #12] - 800995e: 68db ldr r3, [r3, #12] - 8009960: 60fb str r3, [r7, #12] - 8009962: 68fb ldr r3, [r7, #12] - 8009964: 2b00 cmp r3, #0 - 8009966: d1ef bne.n 8009948 - 8009968: 687b ldr r3, [r7, #4] - 800996a: 2200 movs r2, #0 - 800996c: 60da str r2, [r3, #12] - 800996e: 4b1f ldr r3, [pc, #124] @ (80099ec ) - 8009970: 2201 movs r2, #1 - 8009972: 701a strb r2, [r3, #0] + 800a2ae: 4b35 ldr r3, [pc, #212] @ (800a384 ) + 800a2b0: 681b ldr r3, [r3, #0] + 800a2b2: 687a ldr r2, [r7, #4] + 800a2b4: 429a cmp r2, r3 + 800a2b6: d105 bne.n 800a2c4 + 800a2b8: 4b32 ldr r3, [pc, #200] @ (800a384 ) + 800a2ba: 681b ldr r3, [r3, #0] + 800a2bc: 68db ldr r3, [r3, #12] + 800a2be: 4a31 ldr r2, [pc, #196] @ (800a384 ) + 800a2c0: 6013 str r3, [r2, #0] + 800a2c2: e013 b.n 800a2ec + 800a2c4: 4b2f ldr r3, [pc, #188] @ (800a384 ) + 800a2c6: 681b ldr r3, [r3, #0] + 800a2c8: 60fb str r3, [r7, #12] + 800a2ca: e00c b.n 800a2e6 + 800a2cc: 68fb ldr r3, [r7, #12] + 800a2ce: 68db ldr r3, [r3, #12] + 800a2d0: 687a ldr r2, [r7, #4] + 800a2d2: 429a cmp r2, r3 + 800a2d4: d104 bne.n 800a2e0 + 800a2d6: 687b ldr r3, [r7, #4] + 800a2d8: 68da ldr r2, [r3, #12] + 800a2da: 68fb ldr r3, [r7, #12] + 800a2dc: 60da str r2, [r3, #12] + 800a2de: e005 b.n 800a2ec + 800a2e0: 68fb ldr r3, [r7, #12] + 800a2e2: 68db ldr r3, [r3, #12] + 800a2e4: 60fb str r3, [r7, #12] + 800a2e6: 68fb ldr r3, [r7, #12] + 800a2e8: 2b00 cmp r3, #0 + 800a2ea: d1ef bne.n 800a2cc + 800a2ec: 687b ldr r3, [r7, #4] + 800a2ee: 2200 movs r2, #0 + 800a2f0: 60da str r2, [r3, #12] + 800a2f2: 4b1f ldr r3, [pc, #124] @ (800a370 ) + 800a2f4: 2201 movs r2, #1 + 800a2f6: 701a strb r2, [r3, #0] pcb->state = TIME_WAIT; - 8009974: 687b ldr r3, [r7, #4] - 8009976: 220a movs r2, #10 - 8009978: 751a strb r2, [r3, #20] + 800a2f8: 687b ldr r3, [r7, #4] + 800a2fa: 220a movs r2, #10 + 800a2fc: 751a strb r2, [r3, #20] TCP_REG(&tcp_tw_pcbs, pcb); - 800997a: 4b1d ldr r3, [pc, #116] @ (80099f0 ) - 800997c: 681a ldr r2, [r3, #0] - 800997e: 687b ldr r3, [r7, #4] - 8009980: 60da str r2, [r3, #12] - 8009982: 4a1b ldr r2, [pc, #108] @ (80099f0 ) - 8009984: 687b ldr r3, [r7, #4] - 8009986: 6013 str r3, [r2, #0] - 8009988: f002 fc44 bl 800c214 + 800a2fe: 4b1d ldr r3, [pc, #116] @ (800a374 ) + 800a300: 681a ldr r2, [r3, #0] + 800a302: 687b ldr r3, [r7, #4] + 800a304: 60da str r2, [r3, #12] + 800a306: 4a1b ldr r2, [pc, #108] @ (800a374 ) + 800a308: 687b ldr r3, [r7, #4] + 800a30a: 6013 str r3, [r2, #0] + 800a30c: f002 fc44 bl 800cb98 } break; - 800998c: e026 b.n 80099dc + 800a310: e026 b.n 800a360 case LAST_ACK: tcp_receive(pcb); - 800998e: 6878 ldr r0, [r7, #4] - 8009990: f000 f93c bl 8009c0c + 800a312: 6878 ldr r0, [r7, #4] + 800a314: f000 f93c bl 800a590 if ((flags & TCP_ACK) && ackno == pcb->snd_nxt && pcb->unsent == NULL) { - 8009994: 4b17 ldr r3, [pc, #92] @ (80099f4 ) - 8009996: 781b ldrb r3, [r3, #0] - 8009998: f003 0310 and.w r3, r3, #16 - 800999c: 2b00 cmp r3, #0 - 800999e: d01f beq.n 80099e0 - 80099a0: 687b ldr r3, [r7, #4] - 80099a2: 6d1a ldr r2, [r3, #80] @ 0x50 - 80099a4: 4b14 ldr r3, [pc, #80] @ (80099f8 ) - 80099a6: 681b ldr r3, [r3, #0] - 80099a8: 429a cmp r2, r3 - 80099aa: d119 bne.n 80099e0 - 80099ac: 687b ldr r3, [r7, #4] - 80099ae: 6edb ldr r3, [r3, #108] @ 0x6c - 80099b0: 2b00 cmp r3, #0 - 80099b2: d115 bne.n 80099e0 + 800a318: 4b17 ldr r3, [pc, #92] @ (800a378 ) + 800a31a: 781b ldrb r3, [r3, #0] + 800a31c: f003 0310 and.w r3, r3, #16 + 800a320: 2b00 cmp r3, #0 + 800a322: d01f beq.n 800a364 + 800a324: 687b ldr r3, [r7, #4] + 800a326: 6d1a ldr r2, [r3, #80] @ 0x50 + 800a328: 4b14 ldr r3, [pc, #80] @ (800a37c ) + 800a32a: 681b ldr r3, [r3, #0] + 800a32c: 429a cmp r2, r3 + 800a32e: d119 bne.n 800a364 + 800a330: 687b ldr r3, [r7, #4] + 800a332: 6edb ldr r3, [r3, #108] @ 0x6c + 800a334: 2b00 cmp r3, #0 + 800a336: d115 bne.n 800a364 LWIP_DEBUGF(TCP_DEBUG, ("TCP connection closed: LAST_ACK %"U16_F" -> %"U16_F".\n", inseg.tcphdr->src, inseg.tcphdr->dest)); /* bugfix #21699: don't set pcb->state to CLOSED here or we risk leaking segments */ recv_flags |= TF_CLOSED; - 80099b4: 4b11 ldr r3, [pc, #68] @ (80099fc ) - 80099b6: 781b ldrb r3, [r3, #0] - 80099b8: f043 0310 orr.w r3, r3, #16 - 80099bc: b2da uxtb r2, r3 - 80099be: 4b0f ldr r3, [pc, #60] @ (80099fc ) - 80099c0: 701a strb r2, [r3, #0] + 800a338: 4b11 ldr r3, [pc, #68] @ (800a380 ) + 800a33a: 781b ldrb r3, [r3, #0] + 800a33c: f043 0310 orr.w r3, r3, #16 + 800a340: b2da uxtb r2, r3 + 800a342: 4b0f ldr r3, [pc, #60] @ (800a380 ) + 800a344: 701a strb r2, [r3, #0] } break; - 80099c2: e00d b.n 80099e0 + 800a346: e00d b.n 800a364 default: break; - 80099c4: bf00 nop - 80099c6: e00c b.n 80099e2 + 800a348: bf00 nop + 800a34a: e00c b.n 800a366 break; - 80099c8: bf00 nop - 80099ca: e00a b.n 80099e2 + 800a34c: bf00 nop + 800a34e: e00a b.n 800a366 break; - 80099cc: bf00 nop - 80099ce: e008 b.n 80099e2 + 800a350: bf00 nop + 800a352: e008 b.n 800a366 break; - 80099d0: bf00 nop - 80099d2: e006 b.n 80099e2 + 800a354: bf00 nop + 800a356: e006 b.n 800a366 break; - 80099d4: bf00 nop - 80099d6: e004 b.n 80099e2 + 800a358: bf00 nop + 800a35a: e004 b.n 800a366 break; - 80099d8: bf00 nop - 80099da: e002 b.n 80099e2 + 800a35c: bf00 nop + 800a35e: e002 b.n 800a366 break; - 80099dc: bf00 nop - 80099de: e000 b.n 80099e2 + 800a360: bf00 nop + 800a362: e000 b.n 800a366 break; - 80099e0: bf00 nop + 800a364: bf00 nop } return ERR_OK; - 80099e2: 2300 movs r3, #0 + 800a366: 2300 movs r3, #0 } - 80099e4: 4618 mov r0, r3 - 80099e6: 3724 adds r7, #36 @ 0x24 - 80099e8: 46bd mov sp, r7 - 80099ea: bd90 pop {r4, r7, pc} - 80099ec: 200190b8 .word 0x200190b8 - 80099f0: 200190b4 .word 0x200190b4 - 80099f4: 200190e8 .word 0x200190e8 - 80099f8: 200190e0 .word 0x200190e0 - 80099fc: 200190e9 .word 0x200190e9 - 8009a00: 200190b0 .word 0x200190b0 + 800a368: 4618 mov r0, r3 + 800a36a: 3724 adds r7, #36 @ 0x24 + 800a36c: 46bd mov sp, r7 + 800a36e: bd90 pop {r4, r7, pc} + 800a370: 200190ec .word 0x200190ec + 800a374: 200190e8 .word 0x200190e8 + 800a378: 2001911c .word 0x2001911c + 800a37c: 20019114 .word 0x20019114 + 800a380: 2001911d .word 0x2001911d + 800a384: 200190e4 .word 0x200190e4 -08009a04 : +0800a388 : * * Called from tcp_receive() */ static void tcp_oos_insert_segment(struct tcp_seg *cseg, struct tcp_seg *next) { - 8009a04: b590 push {r4, r7, lr} - 8009a06: b085 sub sp, #20 - 8009a08: af00 add r7, sp, #0 - 8009a0a: 6078 str r0, [r7, #4] - 8009a0c: 6039 str r1, [r7, #0] + 800a388: b590 push {r4, r7, lr} + 800a38a: b085 sub sp, #20 + 800a38c: af00 add r7, sp, #0 + 800a38e: 6078 str r0, [r7, #4] + 800a390: 6039 str r1, [r7, #0] struct tcp_seg *old_seg; LWIP_ASSERT("tcp_oos_insert_segment: invalid cseg", cseg != NULL); - 8009a0e: 687b ldr r3, [r7, #4] - 8009a10: 2b00 cmp r3, #0 - 8009a12: d106 bne.n 8009a22 - 8009a14: 4b3b ldr r3, [pc, #236] @ (8009b04 ) - 8009a16: f240 421f movw r2, #1055 @ 0x41f - 8009a1a: 493b ldr r1, [pc, #236] @ (8009b08 ) - 8009a1c: 483b ldr r0, [pc, #236] @ (8009b0c ) - 8009a1e: f007 fdeb bl 80115f8 + 800a392: 687b ldr r3, [r7, #4] + 800a394: 2b00 cmp r3, #0 + 800a396: d106 bne.n 800a3a6 + 800a398: 4b3b ldr r3, [pc, #236] @ (800a488 ) + 800a39a: f240 421f movw r2, #1055 @ 0x41f + 800a39e: 493b ldr r1, [pc, #236] @ (800a48c ) + 800a3a0: 483b ldr r0, [pc, #236] @ (800a490 ) + 800a3a2: f007 fdeb bl 8011f7c if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) { - 8009a22: 687b ldr r3, [r7, #4] - 8009a24: 68db ldr r3, [r3, #12] - 8009a26: 899b ldrh r3, [r3, #12] - 8009a28: b29b uxth r3, r3 - 8009a2a: 4618 mov r0, r3 - 8009a2c: f7fb fcac bl 8005388 - 8009a30: 4603 mov r3, r0 - 8009a32: b2db uxtb r3, r3 - 8009a34: f003 0301 and.w r3, r3, #1 - 8009a38: 2b00 cmp r3, #0 - 8009a3a: d028 beq.n 8009a8e + 800a3a6: 687b ldr r3, [r7, #4] + 800a3a8: 68db ldr r3, [r3, #12] + 800a3aa: 899b ldrh r3, [r3, #12] + 800a3ac: b29b uxth r3, r3 + 800a3ae: 4618 mov r0, r3 + 800a3b0: f7fb fcac bl 8005d0c + 800a3b4: 4603 mov r3, r0 + 800a3b6: b2db uxtb r3, r3 + 800a3b8: f003 0301 and.w r3, r3, #1 + 800a3bc: 2b00 cmp r3, #0 + 800a3be: d028 beq.n 800a412 /* received segment overlaps all following segments */ tcp_segs_free(next); - 8009a3c: 6838 ldr r0, [r7, #0] - 8009a3e: f7fe fa63 bl 8007f08 + 800a3c0: 6838 ldr r0, [r7, #0] + 800a3c2: f7fe fa63 bl 800888c next = NULL; - 8009a42: 2300 movs r3, #0 - 8009a44: 603b str r3, [r7, #0] - 8009a46: e056 b.n 8009af6 + 800a3c6: 2300 movs r3, #0 + 800a3c8: 603b str r3, [r7, #0] + 800a3ca: e056 b.n 800a47a oos queue may have segments with FIN flag */ while (next && TCP_SEQ_GEQ((seqno + cseg->len), (next->tcphdr->seqno + next->len))) { /* cseg with FIN already processed */ if (TCPH_FLAGS(next->tcphdr) & TCP_FIN) { - 8009a48: 683b ldr r3, [r7, #0] - 8009a4a: 68db ldr r3, [r3, #12] - 8009a4c: 899b ldrh r3, [r3, #12] - 8009a4e: b29b uxth r3, r3 - 8009a50: 4618 mov r0, r3 - 8009a52: f7fb fc99 bl 8005388 - 8009a56: 4603 mov r3, r0 - 8009a58: b2db uxtb r3, r3 - 8009a5a: f003 0301 and.w r3, r3, #1 - 8009a5e: 2b00 cmp r3, #0 - 8009a60: d00d beq.n 8009a7e + 800a3cc: 683b ldr r3, [r7, #0] + 800a3ce: 68db ldr r3, [r3, #12] + 800a3d0: 899b ldrh r3, [r3, #12] + 800a3d2: b29b uxth r3, r3 + 800a3d4: 4618 mov r0, r3 + 800a3d6: f7fb fc99 bl 8005d0c + 800a3da: 4603 mov r3, r0 + 800a3dc: b2db uxtb r3, r3 + 800a3de: f003 0301 and.w r3, r3, #1 + 800a3e2: 2b00 cmp r3, #0 + 800a3e4: d00d beq.n 800a402 TCPH_SET_FLAG(cseg->tcphdr, TCP_FIN); - 8009a62: 687b ldr r3, [r7, #4] - 8009a64: 68db ldr r3, [r3, #12] - 8009a66: 899b ldrh r3, [r3, #12] - 8009a68: b29c uxth r4, r3 - 8009a6a: 2001 movs r0, #1 - 8009a6c: f7fb fc8c bl 8005388 - 8009a70: 4603 mov r3, r0 - 8009a72: 461a mov r2, r3 - 8009a74: 687b ldr r3, [r7, #4] - 8009a76: 68db ldr r3, [r3, #12] - 8009a78: 4322 orrs r2, r4 - 8009a7a: b292 uxth r2, r2 - 8009a7c: 819a strh r2, [r3, #12] + 800a3e6: 687b ldr r3, [r7, #4] + 800a3e8: 68db ldr r3, [r3, #12] + 800a3ea: 899b ldrh r3, [r3, #12] + 800a3ec: b29c uxth r4, r3 + 800a3ee: 2001 movs r0, #1 + 800a3f0: f7fb fc8c bl 8005d0c + 800a3f4: 4603 mov r3, r0 + 800a3f6: 461a mov r2, r3 + 800a3f8: 687b ldr r3, [r7, #4] + 800a3fa: 68db ldr r3, [r3, #12] + 800a3fc: 4322 orrs r2, r4 + 800a3fe: b292 uxth r2, r2 + 800a400: 819a strh r2, [r3, #12] } old_seg = next; - 8009a7e: 683b ldr r3, [r7, #0] - 8009a80: 60fb str r3, [r7, #12] + 800a402: 683b ldr r3, [r7, #0] + 800a404: 60fb str r3, [r7, #12] next = next->next; - 8009a82: 683b ldr r3, [r7, #0] - 8009a84: 681b ldr r3, [r3, #0] - 8009a86: 603b str r3, [r7, #0] + 800a406: 683b ldr r3, [r7, #0] + 800a408: 681b ldr r3, [r3, #0] + 800a40a: 603b str r3, [r7, #0] tcp_seg_free(old_seg); - 8009a88: 68f8 ldr r0, [r7, #12] - 8009a8a: f7fe fa52 bl 8007f32 + 800a40c: 68f8 ldr r0, [r7, #12] + 800a40e: f7fe fa52 bl 80088b6 while (next && - 8009a8e: 683b ldr r3, [r7, #0] - 8009a90: 2b00 cmp r3, #0 - 8009a92: d00e beq.n 8009ab2 + 800a412: 683b ldr r3, [r7, #0] + 800a414: 2b00 cmp r3, #0 + 800a416: d00e beq.n 800a436 TCP_SEQ_GEQ((seqno + cseg->len), - 8009a94: 687b ldr r3, [r7, #4] - 8009a96: 891b ldrh r3, [r3, #8] - 8009a98: 461a mov r2, r3 - 8009a9a: 4b1d ldr r3, [pc, #116] @ (8009b10 ) - 8009a9c: 681b ldr r3, [r3, #0] - 8009a9e: 441a add r2, r3 - 8009aa0: 683b ldr r3, [r7, #0] - 8009aa2: 68db ldr r3, [r3, #12] - 8009aa4: 685b ldr r3, [r3, #4] - 8009aa6: 6839 ldr r1, [r7, #0] - 8009aa8: 8909 ldrh r1, [r1, #8] - 8009aaa: 440b add r3, r1 - 8009aac: 1ad3 subs r3, r2, r3 + 800a418: 687b ldr r3, [r7, #4] + 800a41a: 891b ldrh r3, [r3, #8] + 800a41c: 461a mov r2, r3 + 800a41e: 4b1d ldr r3, [pc, #116] @ (800a494 ) + 800a420: 681b ldr r3, [r3, #0] + 800a422: 441a add r2, r3 + 800a424: 683b ldr r3, [r7, #0] + 800a426: 68db ldr r3, [r3, #12] + 800a428: 685b ldr r3, [r3, #4] + 800a42a: 6839 ldr r1, [r7, #0] + 800a42c: 8909 ldrh r1, [r1, #8] + 800a42e: 440b add r3, r1 + 800a430: 1ad3 subs r3, r2, r3 while (next && - 8009aae: 2b00 cmp r3, #0 - 8009ab0: daca bge.n 8009a48 + 800a432: 2b00 cmp r3, #0 + 800a434: daca bge.n 800a3cc } if (next && - 8009ab2: 683b ldr r3, [r7, #0] - 8009ab4: 2b00 cmp r3, #0 - 8009ab6: d01e beq.n 8009af6 + 800a436: 683b ldr r3, [r7, #0] + 800a438: 2b00 cmp r3, #0 + 800a43a: d01e beq.n 800a47a TCP_SEQ_GT(seqno + cseg->len, next->tcphdr->seqno)) { - 8009ab8: 687b ldr r3, [r7, #4] - 8009aba: 891b ldrh r3, [r3, #8] - 8009abc: 461a mov r2, r3 - 8009abe: 4b14 ldr r3, [pc, #80] @ (8009b10 ) - 8009ac0: 681b ldr r3, [r3, #0] - 8009ac2: 441a add r2, r3 - 8009ac4: 683b ldr r3, [r7, #0] - 8009ac6: 68db ldr r3, [r3, #12] - 8009ac8: 685b ldr r3, [r3, #4] - 8009aca: 1ad3 subs r3, r2, r3 + 800a43c: 687b ldr r3, [r7, #4] + 800a43e: 891b ldrh r3, [r3, #8] + 800a440: 461a mov r2, r3 + 800a442: 4b14 ldr r3, [pc, #80] @ (800a494 ) + 800a444: 681b ldr r3, [r3, #0] + 800a446: 441a add r2, r3 + 800a448: 683b ldr r3, [r7, #0] + 800a44a: 68db ldr r3, [r3, #12] + 800a44c: 685b ldr r3, [r3, #4] + 800a44e: 1ad3 subs r3, r2, r3 if (next && - 8009acc: 2b00 cmp r3, #0 - 8009ace: dd12 ble.n 8009af6 + 800a450: 2b00 cmp r3, #0 + 800a452: dd12 ble.n 800a47a /* We need to trim the incoming segment. */ cseg->len = (u16_t)(next->tcphdr->seqno - seqno); - 8009ad0: 683b ldr r3, [r7, #0] - 8009ad2: 68db ldr r3, [r3, #12] - 8009ad4: 685b ldr r3, [r3, #4] - 8009ad6: b29a uxth r2, r3 - 8009ad8: 4b0d ldr r3, [pc, #52] @ (8009b10 ) - 8009ada: 681b ldr r3, [r3, #0] - 8009adc: b29b uxth r3, r3 - 8009ade: 1ad3 subs r3, r2, r3 - 8009ae0: b29a uxth r2, r3 - 8009ae2: 687b ldr r3, [r7, #4] - 8009ae4: 811a strh r2, [r3, #8] + 800a454: 683b ldr r3, [r7, #0] + 800a456: 68db ldr r3, [r3, #12] + 800a458: 685b ldr r3, [r3, #4] + 800a45a: b29a uxth r2, r3 + 800a45c: 4b0d ldr r3, [pc, #52] @ (800a494 ) + 800a45e: 681b ldr r3, [r3, #0] + 800a460: b29b uxth r3, r3 + 800a462: 1ad3 subs r3, r2, r3 + 800a464: b29a uxth r2, r3 + 800a466: 687b ldr r3, [r7, #4] + 800a468: 811a strh r2, [r3, #8] pbuf_realloc(cseg->p, cseg->len); - 8009ae6: 687b ldr r3, [r7, #4] - 8009ae8: 685a ldr r2, [r3, #4] - 8009aea: 687b ldr r3, [r7, #4] - 8009aec: 891b ldrh r3, [r3, #8] - 8009aee: 4619 mov r1, r3 - 8009af0: 4610 mov r0, r2 - 8009af2: f7fc fe15 bl 8006720 + 800a46a: 687b ldr r3, [r7, #4] + 800a46c: 685a ldr r2, [r3, #4] + 800a46e: 687b ldr r3, [r7, #4] + 800a470: 891b ldrh r3, [r3, #8] + 800a472: 4619 mov r1, r3 + 800a474: 4610 mov r0, r2 + 800a476: f7fc fe15 bl 80070a4 } } cseg->next = next; - 8009af6: 687b ldr r3, [r7, #4] - 8009af8: 683a ldr r2, [r7, #0] - 8009afa: 601a str r2, [r3, #0] + 800a47a: 687b ldr r3, [r7, #4] + 800a47c: 683a ldr r2, [r7, #0] + 800a47e: 601a str r2, [r3, #0] } - 8009afc: bf00 nop - 8009afe: 3714 adds r7, #20 - 8009b00: 46bd mov sp, r7 - 8009b02: bd90 pop {r4, r7, pc} - 8009b04: 0801721c .word 0x0801721c - 8009b08: 080174dc .word 0x080174dc - 8009b0c: 08017268 .word 0x08017268 - 8009b10: 200190dc .word 0x200190dc + 800a480: bf00 nop + 800a482: 3714 adds r7, #20 + 800a484: 46bd mov sp, r7 + 800a486: bd90 pop {r4, r7, pc} + 800a488: 08017b9c .word 0x08017b9c + 800a48c: 08017e5c .word 0x08017e5c + 800a490: 08017be8 .word 0x08017be8 + 800a494: 20019110 .word 0x20019110 -08009b14 : +0800a498 : /** Remove segments from a list if the incoming ACK acknowledges them */ static struct tcp_seg * tcp_free_acked_segments(struct tcp_pcb *pcb, struct tcp_seg *seg_list, const char *dbg_list_name, struct tcp_seg *dbg_other_seg_list) { - 8009b14: b5b0 push {r4, r5, r7, lr} - 8009b16: b086 sub sp, #24 - 8009b18: af00 add r7, sp, #0 - 8009b1a: 60f8 str r0, [r7, #12] - 8009b1c: 60b9 str r1, [r7, #8] - 8009b1e: 607a str r2, [r7, #4] - 8009b20: 603b str r3, [r7, #0] + 800a498: b5b0 push {r4, r5, r7, lr} + 800a49a: b086 sub sp, #24 + 800a49c: af00 add r7, sp, #0 + 800a49e: 60f8 str r0, [r7, #12] + 800a4a0: 60b9 str r1, [r7, #8] + 800a4a2: 607a str r2, [r7, #4] + 800a4a4: 603b str r3, [r7, #0] u16_t clen; LWIP_UNUSED_ARG(dbg_list_name); LWIP_UNUSED_ARG(dbg_other_seg_list); while (seg_list != NULL && - 8009b22: e03e b.n 8009ba2 + 800a4a6: e03e b.n 800a526 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: removing %"U32_F":%"U32_F" from pcb->%s\n", lwip_ntohl(seg_list->tcphdr->seqno), lwip_ntohl(seg_list->tcphdr->seqno) + TCP_TCPLEN(seg_list), dbg_list_name)); next = seg_list; - 8009b24: 68bb ldr r3, [r7, #8] - 8009b26: 617b str r3, [r7, #20] + 800a4a8: 68bb ldr r3, [r7, #8] + 800a4aa: 617b str r3, [r7, #20] seg_list = seg_list->next; - 8009b28: 68bb ldr r3, [r7, #8] - 8009b2a: 681b ldr r3, [r3, #0] - 8009b2c: 60bb str r3, [r7, #8] + 800a4ac: 68bb ldr r3, [r7, #8] + 800a4ae: 681b ldr r3, [r3, #0] + 800a4b0: 60bb str r3, [r7, #8] clen = pbuf_clen(next->p); - 8009b2e: 697b ldr r3, [r7, #20] - 8009b30: 685b ldr r3, [r3, #4] - 8009b32: 4618 mov r0, r3 - 8009b34: f7fd f800 bl 8006b38 - 8009b38: 4603 mov r3, r0 - 8009b3a: 827b strh r3, [r7, #18] + 800a4b2: 697b ldr r3, [r7, #20] + 800a4b4: 685b ldr r3, [r3, #4] + 800a4b6: 4618 mov r0, r3 + 800a4b8: f7fd f800 bl 80074bc + 800a4bc: 4603 mov r3, r0 + 800a4be: 827b strh r3, [r7, #18] LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_receive: queuelen %"TCPWNDSIZE_F" ... ", (tcpwnd_size_t)pcb->snd_queuelen)); LWIP_ASSERT("pcb->snd_queuelen >= pbuf_clen(next->p)", (pcb->snd_queuelen >= clen)); - 8009b3c: 68fb ldr r3, [r7, #12] - 8009b3e: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 - 8009b42: 8a7a ldrh r2, [r7, #18] - 8009b44: 429a cmp r2, r3 - 8009b46: d906 bls.n 8009b56 - 8009b48: 4b2a ldr r3, [pc, #168] @ (8009bf4 ) - 8009b4a: f240 4257 movw r2, #1111 @ 0x457 - 8009b4e: 492a ldr r1, [pc, #168] @ (8009bf8 ) - 8009b50: 482a ldr r0, [pc, #168] @ (8009bfc ) - 8009b52: f007 fd51 bl 80115f8 + 800a4c0: 68fb ldr r3, [r7, #12] + 800a4c2: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 + 800a4c6: 8a7a ldrh r2, [r7, #18] + 800a4c8: 429a cmp r2, r3 + 800a4ca: d906 bls.n 800a4da + 800a4cc: 4b2a ldr r3, [pc, #168] @ (800a578 ) + 800a4ce: f240 4257 movw r2, #1111 @ 0x457 + 800a4d2: 492a ldr r1, [pc, #168] @ (800a57c ) + 800a4d4: 482a ldr r0, [pc, #168] @ (800a580 ) + 800a4d6: f007 fd51 bl 8011f7c pcb->snd_queuelen = (u16_t)(pcb->snd_queuelen - clen); - 8009b56: 68fb ldr r3, [r7, #12] - 8009b58: f8b3 2066 ldrh.w r2, [r3, #102] @ 0x66 - 8009b5c: 8a7b ldrh r3, [r7, #18] - 8009b5e: 1ad3 subs r3, r2, r3 - 8009b60: b29a uxth r2, r3 - 8009b62: 68fb ldr r3, [r7, #12] - 8009b64: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 + 800a4da: 68fb ldr r3, [r7, #12] + 800a4dc: f8b3 2066 ldrh.w r2, [r3, #102] @ 0x66 + 800a4e0: 8a7b ldrh r3, [r7, #18] + 800a4e2: 1ad3 subs r3, r2, r3 + 800a4e4: b29a uxth r2, r3 + 800a4e6: 68fb ldr r3, [r7, #12] + 800a4e8: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 recv_acked = (tcpwnd_size_t)(recv_acked + next->len); - 8009b68: 697b ldr r3, [r7, #20] - 8009b6a: 891a ldrh r2, [r3, #8] - 8009b6c: 4b24 ldr r3, [pc, #144] @ (8009c00 ) - 8009b6e: 881b ldrh r3, [r3, #0] - 8009b70: 4413 add r3, r2 - 8009b72: b29a uxth r2, r3 - 8009b74: 4b22 ldr r3, [pc, #136] @ (8009c00 ) - 8009b76: 801a strh r2, [r3, #0] + 800a4ec: 697b ldr r3, [r7, #20] + 800a4ee: 891a ldrh r2, [r3, #8] + 800a4f0: 4b24 ldr r3, [pc, #144] @ (800a584 ) + 800a4f2: 881b ldrh r3, [r3, #0] + 800a4f4: 4413 add r3, r2 + 800a4f6: b29a uxth r2, r3 + 800a4f8: 4b22 ldr r3, [pc, #136] @ (800a584 ) + 800a4fa: 801a strh r2, [r3, #0] tcp_seg_free(next); - 8009b78: 6978 ldr r0, [r7, #20] - 8009b7a: f7fe f9da bl 8007f32 + 800a4fc: 6978 ldr r0, [r7, #20] + 800a4fe: f7fe f9da bl 80088b6 LWIP_DEBUGF(TCP_QLEN_DEBUG, ("%"TCPWNDSIZE_F" (after freeing %s)\n", (tcpwnd_size_t)pcb->snd_queuelen, dbg_list_name)); if (pcb->snd_queuelen != 0) { - 8009b7e: 68fb ldr r3, [r7, #12] - 8009b80: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 - 8009b84: 2b00 cmp r3, #0 - 8009b86: d00c beq.n 8009ba2 + 800a502: 68fb ldr r3, [r7, #12] + 800a504: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 + 800a508: 2b00 cmp r3, #0 + 800a50a: d00c beq.n 800a526 LWIP_ASSERT("tcp_receive: valid queue length", - 8009b88: 68bb ldr r3, [r7, #8] - 8009b8a: 2b00 cmp r3, #0 - 8009b8c: d109 bne.n 8009ba2 - 8009b8e: 683b ldr r3, [r7, #0] - 8009b90: 2b00 cmp r3, #0 - 8009b92: d106 bne.n 8009ba2 - 8009b94: 4b17 ldr r3, [pc, #92] @ (8009bf4 ) - 8009b96: f240 4261 movw r2, #1121 @ 0x461 - 8009b9a: 491a ldr r1, [pc, #104] @ (8009c04 ) - 8009b9c: 4817 ldr r0, [pc, #92] @ (8009bfc ) - 8009b9e: f007 fd2b bl 80115f8 + 800a50c: 68bb ldr r3, [r7, #8] + 800a50e: 2b00 cmp r3, #0 + 800a510: d109 bne.n 800a526 + 800a512: 683b ldr r3, [r7, #0] + 800a514: 2b00 cmp r3, #0 + 800a516: d106 bne.n 800a526 + 800a518: 4b17 ldr r3, [pc, #92] @ (800a578 ) + 800a51a: f240 4261 movw r2, #1121 @ 0x461 + 800a51e: 491a ldr r1, [pc, #104] @ (800a588 ) + 800a520: 4817 ldr r0, [pc, #92] @ (800a580 ) + 800a522: f007 fd2b bl 8011f7c while (seg_list != NULL && - 8009ba2: 68bb ldr r3, [r7, #8] - 8009ba4: 2b00 cmp r3, #0 - 8009ba6: d020 beq.n 8009bea + 800a526: 68bb ldr r3, [r7, #8] + 800a528: 2b00 cmp r3, #0 + 800a52a: d020 beq.n 800a56e TCP_SEQ_LEQ(lwip_ntohl(seg_list->tcphdr->seqno) + - 8009ba8: 68bb ldr r3, [r7, #8] - 8009baa: 68db ldr r3, [r3, #12] - 8009bac: 685b ldr r3, [r3, #4] - 8009bae: 4618 mov r0, r3 - 8009bb0: f7fb fbff bl 80053b2 - 8009bb4: 4604 mov r4, r0 - 8009bb6: 68bb ldr r3, [r7, #8] - 8009bb8: 891b ldrh r3, [r3, #8] - 8009bba: 461d mov r5, r3 - 8009bbc: 68bb ldr r3, [r7, #8] - 8009bbe: 68db ldr r3, [r3, #12] - 8009bc0: 899b ldrh r3, [r3, #12] - 8009bc2: b29b uxth r3, r3 - 8009bc4: 4618 mov r0, r3 - 8009bc6: f7fb fbdf bl 8005388 - 8009bca: 4603 mov r3, r0 - 8009bcc: b2db uxtb r3, r3 - 8009bce: f003 0303 and.w r3, r3, #3 - 8009bd2: 2b00 cmp r3, #0 - 8009bd4: d001 beq.n 8009bda - 8009bd6: 2301 movs r3, #1 - 8009bd8: e000 b.n 8009bdc - 8009bda: 2300 movs r3, #0 - 8009bdc: 442b add r3, r5 - 8009bde: 18e2 adds r2, r4, r3 - 8009be0: 4b09 ldr r3, [pc, #36] @ (8009c08 ) - 8009be2: 681b ldr r3, [r3, #0] - 8009be4: 1ad3 subs r3, r2, r3 + 800a52c: 68bb ldr r3, [r7, #8] + 800a52e: 68db ldr r3, [r3, #12] + 800a530: 685b ldr r3, [r3, #4] + 800a532: 4618 mov r0, r3 + 800a534: f7fb fbff bl 8005d36 + 800a538: 4604 mov r4, r0 + 800a53a: 68bb ldr r3, [r7, #8] + 800a53c: 891b ldrh r3, [r3, #8] + 800a53e: 461d mov r5, r3 + 800a540: 68bb ldr r3, [r7, #8] + 800a542: 68db ldr r3, [r3, #12] + 800a544: 899b ldrh r3, [r3, #12] + 800a546: b29b uxth r3, r3 + 800a548: 4618 mov r0, r3 + 800a54a: f7fb fbdf bl 8005d0c + 800a54e: 4603 mov r3, r0 + 800a550: b2db uxtb r3, r3 + 800a552: f003 0303 and.w r3, r3, #3 + 800a556: 2b00 cmp r3, #0 + 800a558: d001 beq.n 800a55e + 800a55a: 2301 movs r3, #1 + 800a55c: e000 b.n 800a560 + 800a55e: 2300 movs r3, #0 + 800a560: 442b add r3, r5 + 800a562: 18e2 adds r2, r4, r3 + 800a564: 4b09 ldr r3, [pc, #36] @ (800a58c ) + 800a566: 681b ldr r3, [r3, #0] + 800a568: 1ad3 subs r3, r2, r3 while (seg_list != NULL && - 8009be6: 2b00 cmp r3, #0 - 8009be8: dd9c ble.n 8009b24 + 800a56a: 2b00 cmp r3, #0 + 800a56c: dd9c ble.n 800a4a8 seg_list != NULL || dbg_other_seg_list != NULL); } } return seg_list; - 8009bea: 68bb ldr r3, [r7, #8] + 800a56e: 68bb ldr r3, [r7, #8] } - 8009bec: 4618 mov r0, r3 - 8009bee: 3718 adds r7, #24 - 8009bf0: 46bd mov sp, r7 - 8009bf2: bdb0 pop {r4, r5, r7, pc} - 8009bf4: 0801721c .word 0x0801721c - 8009bf8: 08017504 .word 0x08017504 - 8009bfc: 08017268 .word 0x08017268 - 8009c00: 200190e4 .word 0x200190e4 - 8009c04: 0801752c .word 0x0801752c - 8009c08: 200190e0 .word 0x200190e0 + 800a570: 4618 mov r0, r3 + 800a572: 3718 adds r7, #24 + 800a574: 46bd mov sp, r7 + 800a576: bdb0 pop {r4, r5, r7, pc} + 800a578: 08017b9c .word 0x08017b9c + 800a57c: 08017e84 .word 0x08017e84 + 800a580: 08017be8 .word 0x08017be8 + 800a584: 20019118 .word 0x20019118 + 800a588: 08017eac .word 0x08017eac + 800a58c: 20019114 .word 0x20019114 -08009c0c : +0800a590 : * * Called from tcp_process(). */ static void tcp_receive(struct tcp_pcb *pcb) { - 8009c0c: b5b0 push {r4, r5, r7, lr} - 8009c0e: b094 sub sp, #80 @ 0x50 - 8009c10: af00 add r7, sp, #0 - 8009c12: 6078 str r0, [r7, #4] + 800a590: b5b0 push {r4, r5, r7, lr} + 800a592: b094 sub sp, #80 @ 0x50 + 800a594: af00 add r7, sp, #0 + 800a596: 6078 str r0, [r7, #4] s16_t m; u32_t right_wnd_edge; int found_dupack = 0; - 8009c14: 2300 movs r3, #0 - 8009c16: 64bb str r3, [r7, #72] @ 0x48 + 800a598: 2300 movs r3, #0 + 800a59a: 64bb str r3, [r7, #72] @ 0x48 LWIP_ASSERT("tcp_receive: invalid pcb", pcb != NULL); - 8009c18: 687b ldr r3, [r7, #4] - 8009c1a: 2b00 cmp r3, #0 - 8009c1c: d106 bne.n 8009c2c - 8009c1e: 4b91 ldr r3, [pc, #580] @ (8009e64 ) - 8009c20: f240 427b movw r2, #1147 @ 0x47b - 8009c24: 4990 ldr r1, [pc, #576] @ (8009e68 ) - 8009c26: 4891 ldr r0, [pc, #580] @ (8009e6c ) - 8009c28: f007 fce6 bl 80115f8 + 800a59c: 687b ldr r3, [r7, #4] + 800a59e: 2b00 cmp r3, #0 + 800a5a0: d106 bne.n 800a5b0 + 800a5a2: 4b91 ldr r3, [pc, #580] @ (800a7e8 ) + 800a5a4: f240 427b movw r2, #1147 @ 0x47b + 800a5a8: 4990 ldr r1, [pc, #576] @ (800a7ec ) + 800a5aa: 4891 ldr r0, [pc, #580] @ (800a7f0 ) + 800a5ac: f007 fce6 bl 8011f7c LWIP_ASSERT("tcp_receive: wrong state", pcb->state >= ESTABLISHED); - 8009c2c: 687b ldr r3, [r7, #4] - 8009c2e: 7d1b ldrb r3, [r3, #20] - 8009c30: 2b03 cmp r3, #3 - 8009c32: d806 bhi.n 8009c42 - 8009c34: 4b8b ldr r3, [pc, #556] @ (8009e64 ) - 8009c36: f240 427c movw r2, #1148 @ 0x47c - 8009c3a: 498d ldr r1, [pc, #564] @ (8009e70 ) - 8009c3c: 488b ldr r0, [pc, #556] @ (8009e6c ) - 8009c3e: f007 fcdb bl 80115f8 + 800a5b0: 687b ldr r3, [r7, #4] + 800a5b2: 7d1b ldrb r3, [r3, #20] + 800a5b4: 2b03 cmp r3, #3 + 800a5b6: d806 bhi.n 800a5c6 + 800a5b8: 4b8b ldr r3, [pc, #556] @ (800a7e8 ) + 800a5ba: f240 427c movw r2, #1148 @ 0x47c + 800a5be: 498d ldr r1, [pc, #564] @ (800a7f4 ) + 800a5c0: 488b ldr r0, [pc, #556] @ (800a7f0 ) + 800a5c2: f007 fcdb bl 8011f7c if (flags & TCP_ACK) { - 8009c42: 4b8c ldr r3, [pc, #560] @ (8009e74 ) - 8009c44: 781b ldrb r3, [r3, #0] - 8009c46: f003 0310 and.w r3, r3, #16 - 8009c4a: 2b00 cmp r3, #0 - 8009c4c: f000 8264 beq.w 800a118 + 800a5c6: 4b8c ldr r3, [pc, #560] @ (800a7f8 ) + 800a5c8: 781b ldrb r3, [r3, #0] + 800a5ca: f003 0310 and.w r3, r3, #16 + 800a5ce: 2b00 cmp r3, #0 + 800a5d0: f000 8264 beq.w 800aa9c right_wnd_edge = pcb->snd_wnd + pcb->snd_wl2; - 8009c50: 687b ldr r3, [r7, #4] - 8009c52: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 - 8009c56: 461a mov r2, r3 - 8009c58: 687b ldr r3, [r7, #4] - 8009c5a: 6d9b ldr r3, [r3, #88] @ 0x58 - 8009c5c: 4413 add r3, r2 - 8009c5e: 633b str r3, [r7, #48] @ 0x30 + 800a5d4: 687b ldr r3, [r7, #4] + 800a5d6: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 + 800a5da: 461a mov r2, r3 + 800a5dc: 687b ldr r3, [r7, #4] + 800a5de: 6d9b ldr r3, [r3, #88] @ 0x58 + 800a5e0: 4413 add r3, r2 + 800a5e2: 633b str r3, [r7, #48] @ 0x30 /* Update window. */ if (TCP_SEQ_LT(pcb->snd_wl1, seqno) || - 8009c60: 687b ldr r3, [r7, #4] - 8009c62: 6d5a ldr r2, [r3, #84] @ 0x54 - 8009c64: 4b84 ldr r3, [pc, #528] @ (8009e78 ) - 8009c66: 681b ldr r3, [r3, #0] - 8009c68: 1ad3 subs r3, r2, r3 - 8009c6a: 2b00 cmp r3, #0 - 8009c6c: db1b blt.n 8009ca6 + 800a5e4: 687b ldr r3, [r7, #4] + 800a5e6: 6d5a ldr r2, [r3, #84] @ 0x54 + 800a5e8: 4b84 ldr r3, [pc, #528] @ (800a7fc ) + 800a5ea: 681b ldr r3, [r3, #0] + 800a5ec: 1ad3 subs r3, r2, r3 + 800a5ee: 2b00 cmp r3, #0 + 800a5f0: db1b blt.n 800a62a (pcb->snd_wl1 == seqno && TCP_SEQ_LT(pcb->snd_wl2, ackno)) || - 8009c6e: 687b ldr r3, [r7, #4] - 8009c70: 6d5a ldr r2, [r3, #84] @ 0x54 - 8009c72: 4b81 ldr r3, [pc, #516] @ (8009e78 ) - 8009c74: 681b ldr r3, [r3, #0] + 800a5f2: 687b ldr r3, [r7, #4] + 800a5f4: 6d5a ldr r2, [r3, #84] @ 0x54 + 800a5f6: 4b81 ldr r3, [pc, #516] @ (800a7fc ) + 800a5f8: 681b ldr r3, [r3, #0] if (TCP_SEQ_LT(pcb->snd_wl1, seqno) || - 8009c76: 429a cmp r2, r3 - 8009c78: d106 bne.n 8009c88 + 800a5fa: 429a cmp r2, r3 + 800a5fc: d106 bne.n 800a60c (pcb->snd_wl1 == seqno && TCP_SEQ_LT(pcb->snd_wl2, ackno)) || - 8009c7a: 687b ldr r3, [r7, #4] - 8009c7c: 6d9a ldr r2, [r3, #88] @ 0x58 - 8009c7e: 4b7f ldr r3, [pc, #508] @ (8009e7c ) - 8009c80: 681b ldr r3, [r3, #0] - 8009c82: 1ad3 subs r3, r2, r3 - 8009c84: 2b00 cmp r3, #0 - 8009c86: db0e blt.n 8009ca6 + 800a5fe: 687b ldr r3, [r7, #4] + 800a600: 6d9a ldr r2, [r3, #88] @ 0x58 + 800a602: 4b7f ldr r3, [pc, #508] @ (800a800 ) + 800a604: 681b ldr r3, [r3, #0] + 800a606: 1ad3 subs r3, r2, r3 + 800a608: 2b00 cmp r3, #0 + 800a60a: db0e blt.n 800a62a (pcb->snd_wl2 == ackno && (u32_t)SND_WND_SCALE(pcb, tcphdr->wnd) > pcb->snd_wnd)) { - 8009c88: 687b ldr r3, [r7, #4] - 8009c8a: 6d9a ldr r2, [r3, #88] @ 0x58 - 8009c8c: 4b7b ldr r3, [pc, #492] @ (8009e7c ) - 8009c8e: 681b ldr r3, [r3, #0] + 800a60c: 687b ldr r3, [r7, #4] + 800a60e: 6d9a ldr r2, [r3, #88] @ 0x58 + 800a610: 4b7b ldr r3, [pc, #492] @ (800a800 ) + 800a612: 681b ldr r3, [r3, #0] (pcb->snd_wl1 == seqno && TCP_SEQ_LT(pcb->snd_wl2, ackno)) || - 8009c90: 429a cmp r2, r3 - 8009c92: d125 bne.n 8009ce0 + 800a614: 429a cmp r2, r3 + 800a616: d125 bne.n 800a664 (pcb->snd_wl2 == ackno && (u32_t)SND_WND_SCALE(pcb, tcphdr->wnd) > pcb->snd_wnd)) { - 8009c94: 4b7a ldr r3, [pc, #488] @ (8009e80 ) - 8009c96: 681b ldr r3, [r3, #0] - 8009c98: 89db ldrh r3, [r3, #14] - 8009c9a: b29a uxth r2, r3 - 8009c9c: 687b ldr r3, [r7, #4] - 8009c9e: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 - 8009ca2: 429a cmp r2, r3 - 8009ca4: d91c bls.n 8009ce0 + 800a618: 4b7a ldr r3, [pc, #488] @ (800a804 ) + 800a61a: 681b ldr r3, [r3, #0] + 800a61c: 89db ldrh r3, [r3, #14] + 800a61e: b29a uxth r2, r3 + 800a620: 687b ldr r3, [r7, #4] + 800a622: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 + 800a626: 429a cmp r2, r3 + 800a628: d91c bls.n 800a664 pcb->snd_wnd = SND_WND_SCALE(pcb, tcphdr->wnd); - 8009ca6: 4b76 ldr r3, [pc, #472] @ (8009e80 ) - 8009ca8: 681b ldr r3, [r3, #0] - 8009caa: 89db ldrh r3, [r3, #14] - 8009cac: b29a uxth r2, r3 - 8009cae: 687b ldr r3, [r7, #4] - 8009cb0: f8a3 2060 strh.w r2, [r3, #96] @ 0x60 + 800a62a: 4b76 ldr r3, [pc, #472] @ (800a804 ) + 800a62c: 681b ldr r3, [r3, #0] + 800a62e: 89db ldrh r3, [r3, #14] + 800a630: b29a uxth r2, r3 + 800a632: 687b ldr r3, [r7, #4] + 800a634: f8a3 2060 strh.w r2, [r3, #96] @ 0x60 /* keep track of the biggest window announced by the remote host to calculate the maximum segment size */ if (pcb->snd_wnd_max < pcb->snd_wnd) { - 8009cb4: 687b ldr r3, [r7, #4] - 8009cb6: f8b3 2062 ldrh.w r2, [r3, #98] @ 0x62 - 8009cba: 687b ldr r3, [r7, #4] - 8009cbc: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 - 8009cc0: 429a cmp r2, r3 - 8009cc2: d205 bcs.n 8009cd0 + 800a638: 687b ldr r3, [r7, #4] + 800a63a: f8b3 2062 ldrh.w r2, [r3, #98] @ 0x62 + 800a63e: 687b ldr r3, [r7, #4] + 800a640: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 + 800a644: 429a cmp r2, r3 + 800a646: d205 bcs.n 800a654 pcb->snd_wnd_max = pcb->snd_wnd; - 8009cc4: 687b ldr r3, [r7, #4] - 8009cc6: f8b3 2060 ldrh.w r2, [r3, #96] @ 0x60 - 8009cca: 687b ldr r3, [r7, #4] - 8009ccc: f8a3 2062 strh.w r2, [r3, #98] @ 0x62 + 800a648: 687b ldr r3, [r7, #4] + 800a64a: f8b3 2060 ldrh.w r2, [r3, #96] @ 0x60 + 800a64e: 687b ldr r3, [r7, #4] + 800a650: f8a3 2062 strh.w r2, [r3, #98] @ 0x62 } pcb->snd_wl1 = seqno; - 8009cd0: 4b69 ldr r3, [pc, #420] @ (8009e78 ) - 8009cd2: 681a ldr r2, [r3, #0] - 8009cd4: 687b ldr r3, [r7, #4] - 8009cd6: 655a str r2, [r3, #84] @ 0x54 + 800a654: 4b69 ldr r3, [pc, #420] @ (800a7fc ) + 800a656: 681a ldr r2, [r3, #0] + 800a658: 687b ldr r3, [r7, #4] + 800a65a: 655a str r2, [r3, #84] @ 0x54 pcb->snd_wl2 = ackno; - 8009cd8: 4b68 ldr r3, [pc, #416] @ (8009e7c ) - 8009cda: 681a ldr r2, [r3, #0] - 8009cdc: 687b ldr r3, [r7, #4] - 8009cde: 659a str r2, [r3, #88] @ 0x58 + 800a65c: 4b68 ldr r3, [pc, #416] @ (800a800 ) + 800a65e: 681a ldr r2, [r3, #0] + 800a660: 687b ldr r3, [r7, #4] + 800a662: 659a str r2, [r3, #88] @ 0x58 * If it only passes 1, should reset dupack counter * */ /* Clause 1 */ if (TCP_SEQ_LEQ(ackno, pcb->lastack)) { - 8009ce0: 4b66 ldr r3, [pc, #408] @ (8009e7c ) - 8009ce2: 681a ldr r2, [r3, #0] - 8009ce4: 687b ldr r3, [r7, #4] - 8009ce6: 6c5b ldr r3, [r3, #68] @ 0x44 - 8009ce8: 1ad3 subs r3, r2, r3 - 8009cea: 2b00 cmp r3, #0 - 8009cec: dc58 bgt.n 8009da0 + 800a664: 4b66 ldr r3, [pc, #408] @ (800a800 ) + 800a666: 681a ldr r2, [r3, #0] + 800a668: 687b ldr r3, [r7, #4] + 800a66a: 6c5b ldr r3, [r3, #68] @ 0x44 + 800a66c: 1ad3 subs r3, r2, r3 + 800a66e: 2b00 cmp r3, #0 + 800a670: dc58 bgt.n 800a724 /* Clause 2 */ if (tcplen == 0) { - 8009cee: 4b65 ldr r3, [pc, #404] @ (8009e84 ) - 8009cf0: 881b ldrh r3, [r3, #0] - 8009cf2: 2b00 cmp r3, #0 - 8009cf4: d14b bne.n 8009d8e + 800a672: 4b65 ldr r3, [pc, #404] @ (800a808 ) + 800a674: 881b ldrh r3, [r3, #0] + 800a676: 2b00 cmp r3, #0 + 800a678: d14b bne.n 800a712 /* Clause 3 */ if (pcb->snd_wl2 + pcb->snd_wnd == right_wnd_edge) { - 8009cf6: 687b ldr r3, [r7, #4] - 8009cf8: 6d9b ldr r3, [r3, #88] @ 0x58 - 8009cfa: 687a ldr r2, [r7, #4] - 8009cfc: f8b2 2060 ldrh.w r2, [r2, #96] @ 0x60 - 8009d00: 4413 add r3, r2 - 8009d02: 6b3a ldr r2, [r7, #48] @ 0x30 - 8009d04: 429a cmp r2, r3 - 8009d06: d142 bne.n 8009d8e + 800a67a: 687b ldr r3, [r7, #4] + 800a67c: 6d9b ldr r3, [r3, #88] @ 0x58 + 800a67e: 687a ldr r2, [r7, #4] + 800a680: f8b2 2060 ldrh.w r2, [r2, #96] @ 0x60 + 800a684: 4413 add r3, r2 + 800a686: 6b3a ldr r2, [r7, #48] @ 0x30 + 800a688: 429a cmp r2, r3 + 800a68a: d142 bne.n 800a712 /* Clause 4 */ if (pcb->rtime >= 0) { - 8009d08: 687b ldr r3, [r7, #4] - 8009d0a: f9b3 3030 ldrsh.w r3, [r3, #48] @ 0x30 - 8009d0e: 2b00 cmp r3, #0 - 8009d10: db3d blt.n 8009d8e + 800a68c: 687b ldr r3, [r7, #4] + 800a68e: f9b3 3030 ldrsh.w r3, [r3, #48] @ 0x30 + 800a692: 2b00 cmp r3, #0 + 800a694: db3d blt.n 800a712 /* Clause 5 */ if (pcb->lastack == ackno) { - 8009d12: 687b ldr r3, [r7, #4] - 8009d14: 6c5a ldr r2, [r3, #68] @ 0x44 - 8009d16: 4b59 ldr r3, [pc, #356] @ (8009e7c ) - 8009d18: 681b ldr r3, [r3, #0] - 8009d1a: 429a cmp r2, r3 - 8009d1c: d137 bne.n 8009d8e + 800a696: 687b ldr r3, [r7, #4] + 800a698: 6c5a ldr r2, [r3, #68] @ 0x44 + 800a69a: 4b59 ldr r3, [pc, #356] @ (800a800 ) + 800a69c: 681b ldr r3, [r3, #0] + 800a69e: 429a cmp r2, r3 + 800a6a0: d137 bne.n 800a712 found_dupack = 1; - 8009d1e: 2301 movs r3, #1 - 8009d20: 64bb str r3, [r7, #72] @ 0x48 + 800a6a2: 2301 movs r3, #1 + 800a6a4: 64bb str r3, [r7, #72] @ 0x48 if ((u8_t)(pcb->dupacks + 1) > pcb->dupacks) { - 8009d22: 687b ldr r3, [r7, #4] - 8009d24: f893 3043 ldrb.w r3, [r3, #67] @ 0x43 - 8009d28: 2bff cmp r3, #255 @ 0xff - 8009d2a: d007 beq.n 8009d3c + 800a6a6: 687b ldr r3, [r7, #4] + 800a6a8: f893 3043 ldrb.w r3, [r3, #67] @ 0x43 + 800a6ac: 2bff cmp r3, #255 @ 0xff + 800a6ae: d007 beq.n 800a6c0 ++pcb->dupacks; - 8009d2c: 687b ldr r3, [r7, #4] - 8009d2e: f893 3043 ldrb.w r3, [r3, #67] @ 0x43 - 8009d32: 3301 adds r3, #1 - 8009d34: b2da uxtb r2, r3 - 8009d36: 687b ldr r3, [r7, #4] - 8009d38: f883 2043 strb.w r2, [r3, #67] @ 0x43 + 800a6b0: 687b ldr r3, [r7, #4] + 800a6b2: f893 3043 ldrb.w r3, [r3, #67] @ 0x43 + 800a6b6: 3301 adds r3, #1 + 800a6b8: b2da uxtb r2, r3 + 800a6ba: 687b ldr r3, [r7, #4] + 800a6bc: f883 2043 strb.w r2, [r3, #67] @ 0x43 } if (pcb->dupacks > 3) { - 8009d3c: 687b ldr r3, [r7, #4] - 8009d3e: f893 3043 ldrb.w r3, [r3, #67] @ 0x43 - 8009d42: 2b03 cmp r3, #3 - 8009d44: d91b bls.n 8009d7e + 800a6c0: 687b ldr r3, [r7, #4] + 800a6c2: f893 3043 ldrb.w r3, [r3, #67] @ 0x43 + 800a6c6: 2b03 cmp r3, #3 + 800a6c8: d91b bls.n 800a702 /* Inflate the congestion window */ TCP_WND_INC(pcb->cwnd, pcb->mss); - 8009d46: 687b ldr r3, [r7, #4] - 8009d48: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 - 8009d4c: 687b ldr r3, [r7, #4] - 8009d4e: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009d50: 4413 add r3, r2 - 8009d52: b29a uxth r2, r3 - 8009d54: 687b ldr r3, [r7, #4] - 8009d56: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 - 8009d5a: 429a cmp r2, r3 - 8009d5c: d30a bcc.n 8009d74 - 8009d5e: 687b ldr r3, [r7, #4] - 8009d60: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 - 8009d64: 687b ldr r3, [r7, #4] - 8009d66: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009d68: 4413 add r3, r2 - 8009d6a: b29a uxth r2, r3 - 8009d6c: 687b ldr r3, [r7, #4] - 8009d6e: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 - 8009d72: e004 b.n 8009d7e - 8009d74: 687b ldr r3, [r7, #4] - 8009d76: f64f 72ff movw r2, #65535 @ 0xffff - 8009d7a: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 + 800a6ca: 687b ldr r3, [r7, #4] + 800a6cc: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 + 800a6d0: 687b ldr r3, [r7, #4] + 800a6d2: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800a6d4: 4413 add r3, r2 + 800a6d6: b29a uxth r2, r3 + 800a6d8: 687b ldr r3, [r7, #4] + 800a6da: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 + 800a6de: 429a cmp r2, r3 + 800a6e0: d30a bcc.n 800a6f8 + 800a6e2: 687b ldr r3, [r7, #4] + 800a6e4: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 + 800a6e8: 687b ldr r3, [r7, #4] + 800a6ea: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800a6ec: 4413 add r3, r2 + 800a6ee: b29a uxth r2, r3 + 800a6f0: 687b ldr r3, [r7, #4] + 800a6f2: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 + 800a6f6: e004 b.n 800a702 + 800a6f8: 687b ldr r3, [r7, #4] + 800a6fa: f64f 72ff movw r2, #65535 @ 0xffff + 800a6fe: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 } if (pcb->dupacks >= 3) { - 8009d7e: 687b ldr r3, [r7, #4] - 8009d80: f893 3043 ldrb.w r3, [r3, #67] @ 0x43 - 8009d84: 2b02 cmp r3, #2 - 8009d86: d902 bls.n 8009d8e + 800a702: 687b ldr r3, [r7, #4] + 800a704: f893 3043 ldrb.w r3, [r3, #67] @ 0x43 + 800a708: 2b02 cmp r3, #2 + 800a70a: d902 bls.n 800a712 /* Do fast retransmit (checked via TF_INFR, not via dupacks count) */ tcp_rexmit_fast(pcb); - 8009d88: 6878 ldr r0, [r7, #4] - 8009d8a: f001 fee7 bl 800bb5c + 800a70c: 6878 ldr r0, [r7, #4] + 800a70e: f001 fee7 bl 800c4e0 } } } /* If Clause (1) or more is true, but not a duplicate ack, reset * count of consecutive duplicate acks */ if (!found_dupack) { - 8009d8e: 6cbb ldr r3, [r7, #72] @ 0x48 - 8009d90: 2b00 cmp r3, #0 - 8009d92: f040 8161 bne.w 800a058 + 800a712: 6cbb ldr r3, [r7, #72] @ 0x48 + 800a714: 2b00 cmp r3, #0 + 800a716: f040 8161 bne.w 800a9dc pcb->dupacks = 0; - 8009d96: 687b ldr r3, [r7, #4] - 8009d98: 2200 movs r2, #0 - 8009d9a: f883 2043 strb.w r2, [r3, #67] @ 0x43 - 8009d9e: e15b b.n 800a058 + 800a71a: 687b ldr r3, [r7, #4] + 800a71c: 2200 movs r2, #0 + 800a71e: f883 2043 strb.w r2, [r3, #67] @ 0x43 + 800a722: e15b b.n 800a9dc } } else if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { - 8009da0: 4b36 ldr r3, [pc, #216] @ (8009e7c ) - 8009da2: 681a ldr r2, [r3, #0] - 8009da4: 687b ldr r3, [r7, #4] - 8009da6: 6c5b ldr r3, [r3, #68] @ 0x44 - 8009da8: 1ad3 subs r3, r2, r3 - 8009daa: 3b01 subs r3, #1 - 8009dac: 2b00 cmp r3, #0 - 8009dae: f2c0 814e blt.w 800a04e - 8009db2: 4b32 ldr r3, [pc, #200] @ (8009e7c ) - 8009db4: 681a ldr r2, [r3, #0] - 8009db6: 687b ldr r3, [r7, #4] - 8009db8: 6d1b ldr r3, [r3, #80] @ 0x50 - 8009dba: 1ad3 subs r3, r2, r3 - 8009dbc: 2b00 cmp r3, #0 - 8009dbe: f300 8146 bgt.w 800a04e + 800a724: 4b36 ldr r3, [pc, #216] @ (800a800 ) + 800a726: 681a ldr r2, [r3, #0] + 800a728: 687b ldr r3, [r7, #4] + 800a72a: 6c5b ldr r3, [r3, #68] @ 0x44 + 800a72c: 1ad3 subs r3, r2, r3 + 800a72e: 3b01 subs r3, #1 + 800a730: 2b00 cmp r3, #0 + 800a732: f2c0 814e blt.w 800a9d2 + 800a736: 4b32 ldr r3, [pc, #200] @ (800a800 ) + 800a738: 681a ldr r2, [r3, #0] + 800a73a: 687b ldr r3, [r7, #4] + 800a73c: 6d1b ldr r3, [r3, #80] @ 0x50 + 800a73e: 1ad3 subs r3, r2, r3 + 800a740: 2b00 cmp r3, #0 + 800a742: f300 8146 bgt.w 800a9d2 tcpwnd_size_t acked; /* Reset the "IN Fast Retransmit" flag, since we are no longer in fast retransmit. Also reset the congestion window to the slow start threshold. */ if (pcb->flags & TF_INFR) { - 8009dc2: 687b ldr r3, [r7, #4] - 8009dc4: 8b5b ldrh r3, [r3, #26] - 8009dc6: f003 0304 and.w r3, r3, #4 - 8009dca: 2b00 cmp r3, #0 - 8009dcc: d010 beq.n 8009df0 + 800a746: 687b ldr r3, [r7, #4] + 800a748: 8b5b ldrh r3, [r3, #26] + 800a74a: f003 0304 and.w r3, r3, #4 + 800a74e: 2b00 cmp r3, #0 + 800a750: d010 beq.n 800a774 tcp_clear_flags(pcb, TF_INFR); - 8009dce: 687b ldr r3, [r7, #4] - 8009dd0: 8b5b ldrh r3, [r3, #26] - 8009dd2: f023 0304 bic.w r3, r3, #4 - 8009dd6: b29a uxth r2, r3 - 8009dd8: 687b ldr r3, [r7, #4] - 8009dda: 835a strh r2, [r3, #26] + 800a752: 687b ldr r3, [r7, #4] + 800a754: 8b5b ldrh r3, [r3, #26] + 800a756: f023 0304 bic.w r3, r3, #4 + 800a75a: b29a uxth r2, r3 + 800a75c: 687b ldr r3, [r7, #4] + 800a75e: 835a strh r2, [r3, #26] pcb->cwnd = pcb->ssthresh; - 8009ddc: 687b ldr r3, [r7, #4] - 8009dde: f8b3 204a ldrh.w r2, [r3, #74] @ 0x4a - 8009de2: 687b ldr r3, [r7, #4] - 8009de4: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 + 800a760: 687b ldr r3, [r7, #4] + 800a762: f8b3 204a ldrh.w r2, [r3, #74] @ 0x4a + 800a766: 687b ldr r3, [r7, #4] + 800a768: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 pcb->bytes_acked = 0; - 8009de8: 687b ldr r3, [r7, #4] - 8009dea: 2200 movs r2, #0 - 8009dec: f8a3 206a strh.w r2, [r3, #106] @ 0x6a + 800a76c: 687b ldr r3, [r7, #4] + 800a76e: 2200 movs r2, #0 + 800a770: f8a3 206a strh.w r2, [r3, #106] @ 0x6a } /* Reset the number of retransmissions. */ pcb->nrtx = 0; - 8009df0: 687b ldr r3, [r7, #4] - 8009df2: 2200 movs r2, #0 - 8009df4: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 800a774: 687b ldr r3, [r7, #4] + 800a776: 2200 movs r2, #0 + 800a778: f883 2042 strb.w r2, [r3, #66] @ 0x42 /* Reset the retransmission time-out. */ pcb->rto = (s16_t)((pcb->sa >> 3) + pcb->sv); - 8009df8: 687b ldr r3, [r7, #4] - 8009dfa: f9b3 303c ldrsh.w r3, [r3, #60] @ 0x3c - 8009dfe: 10db asrs r3, r3, #3 - 8009e00: b21b sxth r3, r3 - 8009e02: b29a uxth r2, r3 - 8009e04: 687b ldr r3, [r7, #4] - 8009e06: f9b3 303e ldrsh.w r3, [r3, #62] @ 0x3e - 8009e0a: b29b uxth r3, r3 - 8009e0c: 4413 add r3, r2 - 8009e0e: b29b uxth r3, r3 - 8009e10: b21a sxth r2, r3 - 8009e12: 687b ldr r3, [r7, #4] - 8009e14: f8a3 2040 strh.w r2, [r3, #64] @ 0x40 + 800a77c: 687b ldr r3, [r7, #4] + 800a77e: f9b3 303c ldrsh.w r3, [r3, #60] @ 0x3c + 800a782: 10db asrs r3, r3, #3 + 800a784: b21b sxth r3, r3 + 800a786: b29a uxth r2, r3 + 800a788: 687b ldr r3, [r7, #4] + 800a78a: f9b3 303e ldrsh.w r3, [r3, #62] @ 0x3e + 800a78e: b29b uxth r3, r3 + 800a790: 4413 add r3, r2 + 800a792: b29b uxth r3, r3 + 800a794: b21a sxth r2, r3 + 800a796: 687b ldr r3, [r7, #4] + 800a798: f8a3 2040 strh.w r2, [r3, #64] @ 0x40 /* Record how much data this ACK acks */ acked = (tcpwnd_size_t)(ackno - pcb->lastack); - 8009e18: 4b18 ldr r3, [pc, #96] @ (8009e7c ) - 8009e1a: 681b ldr r3, [r3, #0] - 8009e1c: b29a uxth r2, r3 - 8009e1e: 687b ldr r3, [r7, #4] - 8009e20: 6c5b ldr r3, [r3, #68] @ 0x44 - 8009e22: b29b uxth r3, r3 - 8009e24: 1ad3 subs r3, r2, r3 - 8009e26: 85fb strh r3, [r7, #46] @ 0x2e + 800a79c: 4b18 ldr r3, [pc, #96] @ (800a800 ) + 800a79e: 681b ldr r3, [r3, #0] + 800a7a0: b29a uxth r2, r3 + 800a7a2: 687b ldr r3, [r7, #4] + 800a7a4: 6c5b ldr r3, [r3, #68] @ 0x44 + 800a7a6: b29b uxth r3, r3 + 800a7a8: 1ad3 subs r3, r2, r3 + 800a7aa: 85fb strh r3, [r7, #46] @ 0x2e /* Reset the fast retransmit variables. */ pcb->dupacks = 0; - 8009e28: 687b ldr r3, [r7, #4] - 8009e2a: 2200 movs r2, #0 - 8009e2c: f883 2043 strb.w r2, [r3, #67] @ 0x43 + 800a7ac: 687b ldr r3, [r7, #4] + 800a7ae: 2200 movs r2, #0 + 800a7b0: f883 2043 strb.w r2, [r3, #67] @ 0x43 pcb->lastack = ackno; - 8009e30: 4b12 ldr r3, [pc, #72] @ (8009e7c ) - 8009e32: 681a ldr r2, [r3, #0] - 8009e34: 687b ldr r3, [r7, #4] - 8009e36: 645a str r2, [r3, #68] @ 0x44 + 800a7b4: 4b12 ldr r3, [pc, #72] @ (800a800 ) + 800a7b6: 681a ldr r2, [r3, #0] + 800a7b8: 687b ldr r3, [r7, #4] + 800a7ba: 645a str r2, [r3, #68] @ 0x44 /* Update the congestion control variables (cwnd and ssthresh). */ if (pcb->state >= ESTABLISHED) { - 8009e38: 687b ldr r3, [r7, #4] - 8009e3a: 7d1b ldrb r3, [r3, #20] - 8009e3c: 2b03 cmp r3, #3 - 8009e3e: f240 8097 bls.w 8009f70 + 800a7bc: 687b ldr r3, [r7, #4] + 800a7be: 7d1b ldrb r3, [r3, #20] + 800a7c0: 2b03 cmp r3, #3 + 800a7c2: f240 8097 bls.w 800a8f4 if (pcb->cwnd < pcb->ssthresh) { - 8009e42: 687b ldr r3, [r7, #4] - 8009e44: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 - 8009e48: 687b ldr r3, [r7, #4] - 8009e4a: f8b3 304a ldrh.w r3, [r3, #74] @ 0x4a - 8009e4e: 429a cmp r2, r3 - 8009e50: d245 bcs.n 8009ede + 800a7c6: 687b ldr r3, [r7, #4] + 800a7c8: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 + 800a7cc: 687b ldr r3, [r7, #4] + 800a7ce: f8b3 304a ldrh.w r3, [r3, #74] @ 0x4a + 800a7d2: 429a cmp r2, r3 + 800a7d4: d245 bcs.n 800a862 tcpwnd_size_t increase; /* limit to 1 SMSS segment during period following RTO */ u8_t num_seg = (pcb->flags & TF_RTO) ? 1 : 2; - 8009e52: 687b ldr r3, [r7, #4] - 8009e54: 8b5b ldrh r3, [r3, #26] - 8009e56: f403 6300 and.w r3, r3, #2048 @ 0x800 - 8009e5a: 2b00 cmp r3, #0 - 8009e5c: d014 beq.n 8009e88 - 8009e5e: 2301 movs r3, #1 - 8009e60: e013 b.n 8009e8a - 8009e62: bf00 nop - 8009e64: 0801721c .word 0x0801721c - 8009e68: 0801754c .word 0x0801754c - 8009e6c: 08017268 .word 0x08017268 - 8009e70: 08017568 .word 0x08017568 - 8009e74: 200190e8 .word 0x200190e8 - 8009e78: 200190dc .word 0x200190dc - 8009e7c: 200190e0 .word 0x200190e0 - 8009e80: 200190cc .word 0x200190cc - 8009e84: 200190e6 .word 0x200190e6 - 8009e88: 2302 movs r3, #2 - 8009e8a: f887 302d strb.w r3, [r7, #45] @ 0x2d + 800a7d6: 687b ldr r3, [r7, #4] + 800a7d8: 8b5b ldrh r3, [r3, #26] + 800a7da: f403 6300 and.w r3, r3, #2048 @ 0x800 + 800a7de: 2b00 cmp r3, #0 + 800a7e0: d014 beq.n 800a80c + 800a7e2: 2301 movs r3, #1 + 800a7e4: e013 b.n 800a80e + 800a7e6: bf00 nop + 800a7e8: 08017b9c .word 0x08017b9c + 800a7ec: 08017ecc .word 0x08017ecc + 800a7f0: 08017be8 .word 0x08017be8 + 800a7f4: 08017ee8 .word 0x08017ee8 + 800a7f8: 2001911c .word 0x2001911c + 800a7fc: 20019110 .word 0x20019110 + 800a800: 20019114 .word 0x20019114 + 800a804: 20019100 .word 0x20019100 + 800a808: 2001911a .word 0x2001911a + 800a80c: 2302 movs r3, #2 + 800a80e: f887 302d strb.w r3, [r7, #45] @ 0x2d /* RFC 3465, section 2.2 Slow Start */ increase = LWIP_MIN(acked, (tcpwnd_size_t)(num_seg * pcb->mss)); - 8009e8e: f897 302d ldrb.w r3, [r7, #45] @ 0x2d - 8009e92: b29a uxth r2, r3 - 8009e94: 687b ldr r3, [r7, #4] - 8009e96: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009e98: fb12 f303 smulbb r3, r2, r3 - 8009e9c: b29b uxth r3, r3 - 8009e9e: 8dfa ldrh r2, [r7, #46] @ 0x2e - 8009ea0: 4293 cmp r3, r2 - 8009ea2: bf28 it cs - 8009ea4: 4613 movcs r3, r2 - 8009ea6: 857b strh r3, [r7, #42] @ 0x2a + 800a812: f897 302d ldrb.w r3, [r7, #45] @ 0x2d + 800a816: b29a uxth r2, r3 + 800a818: 687b ldr r3, [r7, #4] + 800a81a: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800a81c: fb12 f303 smulbb r3, r2, r3 + 800a820: b29b uxth r3, r3 + 800a822: 8dfa ldrh r2, [r7, #46] @ 0x2e + 800a824: 4293 cmp r3, r2 + 800a826: bf28 it cs + 800a828: 4613 movcs r3, r2 + 800a82a: 857b strh r3, [r7, #42] @ 0x2a TCP_WND_INC(pcb->cwnd, increase); - 8009ea8: 687b ldr r3, [r7, #4] - 8009eaa: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 - 8009eae: 8d7b ldrh r3, [r7, #42] @ 0x2a - 8009eb0: 4413 add r3, r2 - 8009eb2: b29a uxth r2, r3 - 8009eb4: 687b ldr r3, [r7, #4] - 8009eb6: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 - 8009eba: 429a cmp r2, r3 - 8009ebc: d309 bcc.n 8009ed2 - 8009ebe: 687b ldr r3, [r7, #4] - 8009ec0: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 - 8009ec4: 8d7b ldrh r3, [r7, #42] @ 0x2a - 8009ec6: 4413 add r3, r2 - 8009ec8: b29a uxth r2, r3 - 8009eca: 687b ldr r3, [r7, #4] - 8009ecc: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 - 8009ed0: e04e b.n 8009f70 - 8009ed2: 687b ldr r3, [r7, #4] - 8009ed4: f64f 72ff movw r2, #65535 @ 0xffff - 8009ed8: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 - 8009edc: e048 b.n 8009f70 + 800a82c: 687b ldr r3, [r7, #4] + 800a82e: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 + 800a832: 8d7b ldrh r3, [r7, #42] @ 0x2a + 800a834: 4413 add r3, r2 + 800a836: b29a uxth r2, r3 + 800a838: 687b ldr r3, [r7, #4] + 800a83a: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 + 800a83e: 429a cmp r2, r3 + 800a840: d309 bcc.n 800a856 + 800a842: 687b ldr r3, [r7, #4] + 800a844: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 + 800a848: 8d7b ldrh r3, [r7, #42] @ 0x2a + 800a84a: 4413 add r3, r2 + 800a84c: b29a uxth r2, r3 + 800a84e: 687b ldr r3, [r7, #4] + 800a850: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 + 800a854: e04e b.n 800a8f4 + 800a856: 687b ldr r3, [r7, #4] + 800a858: f64f 72ff movw r2, #65535 @ 0xffff + 800a85c: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 + 800a860: e048 b.n 800a8f4 LWIP_DEBUGF(TCP_CWND_DEBUG, ("tcp_receive: slow start cwnd %"TCPWNDSIZE_F"\n", pcb->cwnd)); } else { /* RFC 3465, section 2.1 Congestion Avoidance */ TCP_WND_INC(pcb->bytes_acked, acked); - 8009ede: 687b ldr r3, [r7, #4] - 8009ee0: f8b3 206a ldrh.w r2, [r3, #106] @ 0x6a - 8009ee4: 8dfb ldrh r3, [r7, #46] @ 0x2e - 8009ee6: 4413 add r3, r2 - 8009ee8: b29a uxth r2, r3 - 8009eea: 687b ldr r3, [r7, #4] - 8009eec: f8b3 306a ldrh.w r3, [r3, #106] @ 0x6a - 8009ef0: 429a cmp r2, r3 - 8009ef2: d309 bcc.n 8009f08 - 8009ef4: 687b ldr r3, [r7, #4] - 8009ef6: f8b3 206a ldrh.w r2, [r3, #106] @ 0x6a - 8009efa: 8dfb ldrh r3, [r7, #46] @ 0x2e - 8009efc: 4413 add r3, r2 - 8009efe: b29a uxth r2, r3 - 8009f00: 687b ldr r3, [r7, #4] - 8009f02: f8a3 206a strh.w r2, [r3, #106] @ 0x6a - 8009f06: e004 b.n 8009f12 - 8009f08: 687b ldr r3, [r7, #4] - 8009f0a: f64f 72ff movw r2, #65535 @ 0xffff - 8009f0e: f8a3 206a strh.w r2, [r3, #106] @ 0x6a + 800a862: 687b ldr r3, [r7, #4] + 800a864: f8b3 206a ldrh.w r2, [r3, #106] @ 0x6a + 800a868: 8dfb ldrh r3, [r7, #46] @ 0x2e + 800a86a: 4413 add r3, r2 + 800a86c: b29a uxth r2, r3 + 800a86e: 687b ldr r3, [r7, #4] + 800a870: f8b3 306a ldrh.w r3, [r3, #106] @ 0x6a + 800a874: 429a cmp r2, r3 + 800a876: d309 bcc.n 800a88c + 800a878: 687b ldr r3, [r7, #4] + 800a87a: f8b3 206a ldrh.w r2, [r3, #106] @ 0x6a + 800a87e: 8dfb ldrh r3, [r7, #46] @ 0x2e + 800a880: 4413 add r3, r2 + 800a882: b29a uxth r2, r3 + 800a884: 687b ldr r3, [r7, #4] + 800a886: f8a3 206a strh.w r2, [r3, #106] @ 0x6a + 800a88a: e004 b.n 800a896 + 800a88c: 687b ldr r3, [r7, #4] + 800a88e: f64f 72ff movw r2, #65535 @ 0xffff + 800a892: f8a3 206a strh.w r2, [r3, #106] @ 0x6a if (pcb->bytes_acked >= pcb->cwnd) { - 8009f12: 687b ldr r3, [r7, #4] - 8009f14: f8b3 206a ldrh.w r2, [r3, #106] @ 0x6a - 8009f18: 687b ldr r3, [r7, #4] - 8009f1a: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 - 8009f1e: 429a cmp r2, r3 - 8009f20: d326 bcc.n 8009f70 + 800a896: 687b ldr r3, [r7, #4] + 800a898: f8b3 206a ldrh.w r2, [r3, #106] @ 0x6a + 800a89c: 687b ldr r3, [r7, #4] + 800a89e: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 + 800a8a2: 429a cmp r2, r3 + 800a8a4: d326 bcc.n 800a8f4 pcb->bytes_acked = (tcpwnd_size_t)(pcb->bytes_acked - pcb->cwnd); - 8009f22: 687b ldr r3, [r7, #4] - 8009f24: f8b3 206a ldrh.w r2, [r3, #106] @ 0x6a - 8009f28: 687b ldr r3, [r7, #4] - 8009f2a: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 - 8009f2e: 1ad3 subs r3, r2, r3 - 8009f30: b29a uxth r2, r3 - 8009f32: 687b ldr r3, [r7, #4] - 8009f34: f8a3 206a strh.w r2, [r3, #106] @ 0x6a + 800a8a6: 687b ldr r3, [r7, #4] + 800a8a8: f8b3 206a ldrh.w r2, [r3, #106] @ 0x6a + 800a8ac: 687b ldr r3, [r7, #4] + 800a8ae: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 + 800a8b2: 1ad3 subs r3, r2, r3 + 800a8b4: b29a uxth r2, r3 + 800a8b6: 687b ldr r3, [r7, #4] + 800a8b8: f8a3 206a strh.w r2, [r3, #106] @ 0x6a TCP_WND_INC(pcb->cwnd, pcb->mss); - 8009f38: 687b ldr r3, [r7, #4] - 8009f3a: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 - 8009f3e: 687b ldr r3, [r7, #4] - 8009f40: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009f42: 4413 add r3, r2 - 8009f44: b29a uxth r2, r3 - 8009f46: 687b ldr r3, [r7, #4] - 8009f48: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 - 8009f4c: 429a cmp r2, r3 - 8009f4e: d30a bcc.n 8009f66 - 8009f50: 687b ldr r3, [r7, #4] - 8009f52: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 - 8009f56: 687b ldr r3, [r7, #4] - 8009f58: 8e5b ldrh r3, [r3, #50] @ 0x32 - 8009f5a: 4413 add r3, r2 - 8009f5c: b29a uxth r2, r3 - 8009f5e: 687b ldr r3, [r7, #4] - 8009f60: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 - 8009f64: e004 b.n 8009f70 - 8009f66: 687b ldr r3, [r7, #4] - 8009f68: f64f 72ff movw r2, #65535 @ 0xffff - 8009f6c: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 + 800a8bc: 687b ldr r3, [r7, #4] + 800a8be: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 + 800a8c2: 687b ldr r3, [r7, #4] + 800a8c4: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800a8c6: 4413 add r3, r2 + 800a8c8: b29a uxth r2, r3 + 800a8ca: 687b ldr r3, [r7, #4] + 800a8cc: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 + 800a8d0: 429a cmp r2, r3 + 800a8d2: d30a bcc.n 800a8ea + 800a8d4: 687b ldr r3, [r7, #4] + 800a8d6: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 + 800a8da: 687b ldr r3, [r7, #4] + 800a8dc: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800a8de: 4413 add r3, r2 + 800a8e0: b29a uxth r2, r3 + 800a8e2: 687b ldr r3, [r7, #4] + 800a8e4: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 + 800a8e8: e004 b.n 800a8f4 + 800a8ea: 687b ldr r3, [r7, #4] + 800a8ec: f64f 72ff movw r2, #65535 @ 0xffff + 800a8f0: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 pcb->unacked != NULL ? lwip_ntohl(pcb->unacked->tcphdr->seqno) + TCP_TCPLEN(pcb->unacked) : 0)); /* Remove segment from the unacknowledged list if the incoming ACK acknowledges them. */ pcb->unacked = tcp_free_acked_segments(pcb, pcb->unacked, "unacked", pcb->unsent); - 8009f70: 687b ldr r3, [r7, #4] - 8009f72: 6f19 ldr r1, [r3, #112] @ 0x70 - 8009f74: 687b ldr r3, [r7, #4] - 8009f76: 6edb ldr r3, [r3, #108] @ 0x6c - 8009f78: 4a98 ldr r2, [pc, #608] @ (800a1dc ) - 8009f7a: 6878 ldr r0, [r7, #4] - 8009f7c: f7ff fdca bl 8009b14 - 8009f80: 4602 mov r2, r0 - 8009f82: 687b ldr r3, [r7, #4] - 8009f84: 671a str r2, [r3, #112] @ 0x70 + 800a8f4: 687b ldr r3, [r7, #4] + 800a8f6: 6f19 ldr r1, [r3, #112] @ 0x70 + 800a8f8: 687b ldr r3, [r7, #4] + 800a8fa: 6edb ldr r3, [r3, #108] @ 0x6c + 800a8fc: 4a98 ldr r2, [pc, #608] @ (800ab60 ) + 800a8fe: 6878 ldr r0, [r7, #4] + 800a900: f7ff fdca bl 800a498 + 800a904: 4602 mov r2, r0 + 800a906: 687b ldr r3, [r7, #4] + 800a908: 671a str r2, [r3, #112] @ 0x70 on the list are acknowledged by the ACK. This may seem strange since an "unsent" segment shouldn't be acked. The rationale is that lwIP puts all outstanding segments on the ->unsent list after a retransmission, so these segments may in fact have been sent once. */ pcb->unsent = tcp_free_acked_segments(pcb, pcb->unsent, "unsent", pcb->unacked); - 8009f86: 687b ldr r3, [r7, #4] - 8009f88: 6ed9 ldr r1, [r3, #108] @ 0x6c - 8009f8a: 687b ldr r3, [r7, #4] - 8009f8c: 6f1b ldr r3, [r3, #112] @ 0x70 - 8009f8e: 4a94 ldr r2, [pc, #592] @ (800a1e0 ) - 8009f90: 6878 ldr r0, [r7, #4] - 8009f92: f7ff fdbf bl 8009b14 - 8009f96: 4602 mov r2, r0 - 8009f98: 687b ldr r3, [r7, #4] - 8009f9a: 66da str r2, [r3, #108] @ 0x6c + 800a90a: 687b ldr r3, [r7, #4] + 800a90c: 6ed9 ldr r1, [r3, #108] @ 0x6c + 800a90e: 687b ldr r3, [r7, #4] + 800a910: 6f1b ldr r3, [r3, #112] @ 0x70 + 800a912: 4a94 ldr r2, [pc, #592] @ (800ab64 ) + 800a914: 6878 ldr r0, [r7, #4] + 800a916: f7ff fdbf bl 800a498 + 800a91a: 4602 mov r2, r0 + 800a91c: 687b ldr r3, [r7, #4] + 800a91e: 66da str r2, [r3, #108] @ 0x6c /* If there's nothing left to acknowledge, stop the retransmit timer, otherwise reset it to start again */ if (pcb->unacked == NULL) { - 8009f9c: 687b ldr r3, [r7, #4] - 8009f9e: 6f1b ldr r3, [r3, #112] @ 0x70 - 8009fa0: 2b00 cmp r3, #0 - 8009fa2: d104 bne.n 8009fae + 800a920: 687b ldr r3, [r7, #4] + 800a922: 6f1b ldr r3, [r3, #112] @ 0x70 + 800a924: 2b00 cmp r3, #0 + 800a926: d104 bne.n 800a932 pcb->rtime = -1; - 8009fa4: 687b ldr r3, [r7, #4] - 8009fa6: f64f 72ff movw r2, #65535 @ 0xffff - 8009faa: 861a strh r2, [r3, #48] @ 0x30 - 8009fac: e002 b.n 8009fb4 + 800a928: 687b ldr r3, [r7, #4] + 800a92a: f64f 72ff movw r2, #65535 @ 0xffff + 800a92e: 861a strh r2, [r3, #48] @ 0x30 + 800a930: e002 b.n 800a938 } else { pcb->rtime = 0; - 8009fae: 687b ldr r3, [r7, #4] - 8009fb0: 2200 movs r2, #0 - 8009fb2: 861a strh r2, [r3, #48] @ 0x30 + 800a932: 687b ldr r3, [r7, #4] + 800a934: 2200 movs r2, #0 + 800a936: 861a strh r2, [r3, #48] @ 0x30 } pcb->polltmr = 0; - 8009fb4: 687b ldr r3, [r7, #4] - 8009fb6: 2200 movs r2, #0 - 8009fb8: 771a strb r2, [r3, #28] + 800a938: 687b ldr r3, [r7, #4] + 800a93a: 2200 movs r2, #0 + 800a93c: 771a strb r2, [r3, #28] #if TCP_OVERSIZE if (pcb->unsent == NULL) { - 8009fba: 687b ldr r3, [r7, #4] - 8009fbc: 6edb ldr r3, [r3, #108] @ 0x6c - 8009fbe: 2b00 cmp r3, #0 - 8009fc0: d103 bne.n 8009fca + 800a93e: 687b ldr r3, [r7, #4] + 800a940: 6edb ldr r3, [r3, #108] @ 0x6c + 800a942: 2b00 cmp r3, #0 + 800a944: d103 bne.n 800a94e pcb->unsent_oversize = 0; - 8009fc2: 687b ldr r3, [r7, #4] - 8009fc4: 2200 movs r2, #0 - 8009fc6: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 + 800a946: 687b ldr r3, [r7, #4] + 800a948: 2200 movs r2, #0 + 800a94a: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 /* Inform neighbor reachability of forward progress. */ nd6_reachability_hint(ip6_current_src_addr()); } #endif /* LWIP_IPV6 && LWIP_ND6_TCP_REACHABILITY_HINTS*/ pcb->snd_buf = (tcpwnd_size_t)(pcb->snd_buf + recv_acked); - 8009fca: 687b ldr r3, [r7, #4] - 8009fcc: f8b3 2064 ldrh.w r2, [r3, #100] @ 0x64 - 8009fd0: 4b84 ldr r3, [pc, #528] @ (800a1e4 ) - 8009fd2: 881b ldrh r3, [r3, #0] - 8009fd4: 4413 add r3, r2 - 8009fd6: b29a uxth r2, r3 - 8009fd8: 687b ldr r3, [r7, #4] - 8009fda: f8a3 2064 strh.w r2, [r3, #100] @ 0x64 + 800a94e: 687b ldr r3, [r7, #4] + 800a950: f8b3 2064 ldrh.w r2, [r3, #100] @ 0x64 + 800a954: 4b84 ldr r3, [pc, #528] @ (800ab68 ) + 800a956: 881b ldrh r3, [r3, #0] + 800a958: 4413 add r3, r2 + 800a95a: b29a uxth r2, r3 + 800a95c: 687b ldr r3, [r7, #4] + 800a95e: f8a3 2064 strh.w r2, [r3, #100] @ 0x64 /* check if this ACK ends our retransmission of in-flight data */ if (pcb->flags & TF_RTO) { - 8009fde: 687b ldr r3, [r7, #4] - 8009fe0: 8b5b ldrh r3, [r3, #26] - 8009fe2: f403 6300 and.w r3, r3, #2048 @ 0x800 - 8009fe6: 2b00 cmp r3, #0 - 8009fe8: d035 beq.n 800a056 + 800a962: 687b ldr r3, [r7, #4] + 800a964: 8b5b ldrh r3, [r3, #26] + 800a966: f403 6300 and.w r3, r3, #2048 @ 0x800 + 800a96a: 2b00 cmp r3, #0 + 800a96c: d035 beq.n 800a9da /* RTO is done if 1) both queues are empty or 2) unacked is empty and unsent head contains data not part of RTO or 3) unacked head contains data not part of RTO */ if (pcb->unacked == NULL) { - 8009fea: 687b ldr r3, [r7, #4] - 8009fec: 6f1b ldr r3, [r3, #112] @ 0x70 - 8009fee: 2b00 cmp r3, #0 - 8009ff0: d118 bne.n 800a024 + 800a96e: 687b ldr r3, [r7, #4] + 800a970: 6f1b ldr r3, [r3, #112] @ 0x70 + 800a972: 2b00 cmp r3, #0 + 800a974: d118 bne.n 800a9a8 if ((pcb->unsent == NULL) || - 8009ff2: 687b ldr r3, [r7, #4] - 8009ff4: 6edb ldr r3, [r3, #108] @ 0x6c - 8009ff6: 2b00 cmp r3, #0 - 8009ff8: d00c beq.n 800a014 + 800a976: 687b ldr r3, [r7, #4] + 800a978: 6edb ldr r3, [r3, #108] @ 0x6c + 800a97a: 2b00 cmp r3, #0 + 800a97c: d00c beq.n 800a998 (TCP_SEQ_LEQ(pcb->rto_end, lwip_ntohl(pcb->unsent->tcphdr->seqno)))) { - 8009ffa: 687b ldr r3, [r7, #4] - 8009ffc: 6cdc ldr r4, [r3, #76] @ 0x4c - 8009ffe: 687b ldr r3, [r7, #4] - 800a000: 6edb ldr r3, [r3, #108] @ 0x6c - 800a002: 68db ldr r3, [r3, #12] - 800a004: 685b ldr r3, [r3, #4] - 800a006: 4618 mov r0, r3 - 800a008: f7fb f9d3 bl 80053b2 - 800a00c: 4603 mov r3, r0 - 800a00e: 1ae3 subs r3, r4, r3 + 800a97e: 687b ldr r3, [r7, #4] + 800a980: 6cdc ldr r4, [r3, #76] @ 0x4c + 800a982: 687b ldr r3, [r7, #4] + 800a984: 6edb ldr r3, [r3, #108] @ 0x6c + 800a986: 68db ldr r3, [r3, #12] + 800a988: 685b ldr r3, [r3, #4] + 800a98a: 4618 mov r0, r3 + 800a98c: f7fb f9d3 bl 8005d36 + 800a990: 4603 mov r3, r0 + 800a992: 1ae3 subs r3, r4, r3 if ((pcb->unsent == NULL) || - 800a010: 2b00 cmp r3, #0 - 800a012: dc20 bgt.n 800a056 + 800a994: 2b00 cmp r3, #0 + 800a996: dc20 bgt.n 800a9da tcp_clear_flags(pcb, TF_RTO); - 800a014: 687b ldr r3, [r7, #4] - 800a016: 8b5b ldrh r3, [r3, #26] - 800a018: f423 6300 bic.w r3, r3, #2048 @ 0x800 - 800a01c: b29a uxth r2, r3 - 800a01e: 687b ldr r3, [r7, #4] - 800a020: 835a strh r2, [r3, #26] + 800a998: 687b ldr r3, [r7, #4] + 800a99a: 8b5b ldrh r3, [r3, #26] + 800a99c: f423 6300 bic.w r3, r3, #2048 @ 0x800 + 800a9a0: b29a uxth r2, r3 + 800a9a2: 687b ldr r3, [r7, #4] + 800a9a4: 835a strh r2, [r3, #26] } else if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { - 800a022: e018 b.n 800a056 + 800a9a6: e018 b.n 800a9da } } else if (TCP_SEQ_LEQ(pcb->rto_end, lwip_ntohl(pcb->unacked->tcphdr->seqno))) { - 800a024: 687b ldr r3, [r7, #4] - 800a026: 6cdc ldr r4, [r3, #76] @ 0x4c - 800a028: 687b ldr r3, [r7, #4] - 800a02a: 6f1b ldr r3, [r3, #112] @ 0x70 - 800a02c: 68db ldr r3, [r3, #12] - 800a02e: 685b ldr r3, [r3, #4] - 800a030: 4618 mov r0, r3 - 800a032: f7fb f9be bl 80053b2 - 800a036: 4603 mov r3, r0 - 800a038: 1ae3 subs r3, r4, r3 - 800a03a: 2b00 cmp r3, #0 - 800a03c: dc0b bgt.n 800a056 + 800a9a8: 687b ldr r3, [r7, #4] + 800a9aa: 6cdc ldr r4, [r3, #76] @ 0x4c + 800a9ac: 687b ldr r3, [r7, #4] + 800a9ae: 6f1b ldr r3, [r3, #112] @ 0x70 + 800a9b0: 68db ldr r3, [r3, #12] + 800a9b2: 685b ldr r3, [r3, #4] + 800a9b4: 4618 mov r0, r3 + 800a9b6: f7fb f9be bl 8005d36 + 800a9ba: 4603 mov r3, r0 + 800a9bc: 1ae3 subs r3, r4, r3 + 800a9be: 2b00 cmp r3, #0 + 800a9c0: dc0b bgt.n 800a9da tcp_clear_flags(pcb, TF_RTO); - 800a03e: 687b ldr r3, [r7, #4] - 800a040: 8b5b ldrh r3, [r3, #26] - 800a042: f423 6300 bic.w r3, r3, #2048 @ 0x800 - 800a046: b29a uxth r2, r3 - 800a048: 687b ldr r3, [r7, #4] - 800a04a: 835a strh r2, [r3, #26] + 800a9c2: 687b ldr r3, [r7, #4] + 800a9c4: 8b5b ldrh r3, [r3, #26] + 800a9c6: f423 6300 bic.w r3, r3, #2048 @ 0x800 + 800a9ca: b29a uxth r2, r3 + 800a9cc: 687b ldr r3, [r7, #4] + 800a9ce: 835a strh r2, [r3, #26] } else if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { - 800a04c: e003 b.n 800a056 + 800a9d0: e003 b.n 800a9da } } /* End of ACK for new data processing. */ } else { /* Out of sequence ACK, didn't really ack anything */ tcp_send_empty_ack(pcb); - 800a04e: 6878 ldr r0, [r7, #4] - 800a050: f001 ff70 bl 800bf34 - 800a054: e000 b.n 800a058 + 800a9d2: 6878 ldr r0, [r7, #4] + 800a9d4: f001 ff70 bl 800c8b8 + 800a9d8: e000 b.n 800a9dc } else if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { - 800a056: bf00 nop + 800a9da: bf00 nop pcb->rttest, pcb->rtseq, ackno)); /* RTT estimation calculations. This is done by checking if the incoming segment acknowledges the segment we use to take a round-trip time measurement. */ if (pcb->rttest && TCP_SEQ_LT(pcb->rtseq, ackno)) { - 800a058: 687b ldr r3, [r7, #4] - 800a05a: 6b5b ldr r3, [r3, #52] @ 0x34 - 800a05c: 2b00 cmp r3, #0 - 800a05e: d05b beq.n 800a118 - 800a060: 687b ldr r3, [r7, #4] - 800a062: 6b9a ldr r2, [r3, #56] @ 0x38 - 800a064: 4b60 ldr r3, [pc, #384] @ (800a1e8 ) - 800a066: 681b ldr r3, [r3, #0] - 800a068: 1ad3 subs r3, r2, r3 - 800a06a: 2b00 cmp r3, #0 - 800a06c: da54 bge.n 800a118 + 800a9dc: 687b ldr r3, [r7, #4] + 800a9de: 6b5b ldr r3, [r3, #52] @ 0x34 + 800a9e0: 2b00 cmp r3, #0 + 800a9e2: d05b beq.n 800aa9c + 800a9e4: 687b ldr r3, [r7, #4] + 800a9e6: 6b9a ldr r2, [r3, #56] @ 0x38 + 800a9e8: 4b60 ldr r3, [pc, #384] @ (800ab6c ) + 800a9ea: 681b ldr r3, [r3, #0] + 800a9ec: 1ad3 subs r3, r2, r3 + 800a9ee: 2b00 cmp r3, #0 + 800a9f0: da54 bge.n 800aa9c /* diff between this shouldn't exceed 32K since this are tcp timer ticks and a round-trip shouldn't be that long... */ m = (s16_t)(tcp_ticks - pcb->rttest); - 800a06e: 4b5f ldr r3, [pc, #380] @ (800a1ec ) - 800a070: 681b ldr r3, [r3, #0] - 800a072: b29a uxth r2, r3 - 800a074: 687b ldr r3, [r7, #4] - 800a076: 6b5b ldr r3, [r3, #52] @ 0x34 - 800a078: b29b uxth r3, r3 - 800a07a: 1ad3 subs r3, r2, r3 - 800a07c: b29b uxth r3, r3 - 800a07e: f8a7 304e strh.w r3, [r7, #78] @ 0x4e + 800a9f2: 4b5f ldr r3, [pc, #380] @ (800ab70 ) + 800a9f4: 681b ldr r3, [r3, #0] + 800a9f6: b29a uxth r2, r3 + 800a9f8: 687b ldr r3, [r7, #4] + 800a9fa: 6b5b ldr r3, [r3, #52] @ 0x34 + 800a9fc: b29b uxth r3, r3 + 800a9fe: 1ad3 subs r3, r2, r3 + 800aa00: b29b uxth r3, r3 + 800aa02: f8a7 304e strh.w r3, [r7, #78] @ 0x4e LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_receive: experienced rtt %"U16_F" ticks (%"U16_F" msec).\n", m, (u16_t)(m * TCP_SLOW_INTERVAL))); /* This is taken directly from VJs original code in his paper */ m = (s16_t)(m - (pcb->sa >> 3)); - 800a082: f8b7 204e ldrh.w r2, [r7, #78] @ 0x4e - 800a086: 687b ldr r3, [r7, #4] - 800a088: f9b3 303c ldrsh.w r3, [r3, #60] @ 0x3c - 800a08c: 10db asrs r3, r3, #3 - 800a08e: b21b sxth r3, r3 - 800a090: b29b uxth r3, r3 - 800a092: 1ad3 subs r3, r2, r3 - 800a094: b29b uxth r3, r3 - 800a096: f8a7 304e strh.w r3, [r7, #78] @ 0x4e + 800aa06: f8b7 204e ldrh.w r2, [r7, #78] @ 0x4e + 800aa0a: 687b ldr r3, [r7, #4] + 800aa0c: f9b3 303c ldrsh.w r3, [r3, #60] @ 0x3c + 800aa10: 10db asrs r3, r3, #3 + 800aa12: b21b sxth r3, r3 + 800aa14: b29b uxth r3, r3 + 800aa16: 1ad3 subs r3, r2, r3 + 800aa18: b29b uxth r3, r3 + 800aa1a: f8a7 304e strh.w r3, [r7, #78] @ 0x4e pcb->sa = (s16_t)(pcb->sa + m); - 800a09a: 687b ldr r3, [r7, #4] - 800a09c: f9b3 303c ldrsh.w r3, [r3, #60] @ 0x3c - 800a0a0: b29a uxth r2, r3 - 800a0a2: f8b7 304e ldrh.w r3, [r7, #78] @ 0x4e - 800a0a6: 4413 add r3, r2 - 800a0a8: b29b uxth r3, r3 - 800a0aa: b21a sxth r2, r3 - 800a0ac: 687b ldr r3, [r7, #4] - 800a0ae: 879a strh r2, [r3, #60] @ 0x3c + 800aa1e: 687b ldr r3, [r7, #4] + 800aa20: f9b3 303c ldrsh.w r3, [r3, #60] @ 0x3c + 800aa24: b29a uxth r2, r3 + 800aa26: f8b7 304e ldrh.w r3, [r7, #78] @ 0x4e + 800aa2a: 4413 add r3, r2 + 800aa2c: b29b uxth r3, r3 + 800aa2e: b21a sxth r2, r3 + 800aa30: 687b ldr r3, [r7, #4] + 800aa32: 879a strh r2, [r3, #60] @ 0x3c if (m < 0) { - 800a0b0: f9b7 304e ldrsh.w r3, [r7, #78] @ 0x4e - 800a0b4: 2b00 cmp r3, #0 - 800a0b6: da05 bge.n 800a0c4 + 800aa34: f9b7 304e ldrsh.w r3, [r7, #78] @ 0x4e + 800aa38: 2b00 cmp r3, #0 + 800aa3a: da05 bge.n 800aa48 m = (s16_t) - m; - 800a0b8: f8b7 304e ldrh.w r3, [r7, #78] @ 0x4e - 800a0bc: 425b negs r3, r3 - 800a0be: b29b uxth r3, r3 - 800a0c0: f8a7 304e strh.w r3, [r7, #78] @ 0x4e + 800aa3c: f8b7 304e ldrh.w r3, [r7, #78] @ 0x4e + 800aa40: 425b negs r3, r3 + 800aa42: b29b uxth r3, r3 + 800aa44: f8a7 304e strh.w r3, [r7, #78] @ 0x4e } m = (s16_t)(m - (pcb->sv >> 2)); - 800a0c4: f8b7 204e ldrh.w r2, [r7, #78] @ 0x4e - 800a0c8: 687b ldr r3, [r7, #4] - 800a0ca: f9b3 303e ldrsh.w r3, [r3, #62] @ 0x3e - 800a0ce: 109b asrs r3, r3, #2 - 800a0d0: b21b sxth r3, r3 - 800a0d2: b29b uxth r3, r3 - 800a0d4: 1ad3 subs r3, r2, r3 - 800a0d6: b29b uxth r3, r3 - 800a0d8: f8a7 304e strh.w r3, [r7, #78] @ 0x4e + 800aa48: f8b7 204e ldrh.w r2, [r7, #78] @ 0x4e + 800aa4c: 687b ldr r3, [r7, #4] + 800aa4e: f9b3 303e ldrsh.w r3, [r3, #62] @ 0x3e + 800aa52: 109b asrs r3, r3, #2 + 800aa54: b21b sxth r3, r3 + 800aa56: b29b uxth r3, r3 + 800aa58: 1ad3 subs r3, r2, r3 + 800aa5a: b29b uxth r3, r3 + 800aa5c: f8a7 304e strh.w r3, [r7, #78] @ 0x4e pcb->sv = (s16_t)(pcb->sv + m); - 800a0dc: 687b ldr r3, [r7, #4] - 800a0de: f9b3 303e ldrsh.w r3, [r3, #62] @ 0x3e - 800a0e2: b29a uxth r2, r3 - 800a0e4: f8b7 304e ldrh.w r3, [r7, #78] @ 0x4e - 800a0e8: 4413 add r3, r2 - 800a0ea: b29b uxth r3, r3 - 800a0ec: b21a sxth r2, r3 - 800a0ee: 687b ldr r3, [r7, #4] - 800a0f0: 87da strh r2, [r3, #62] @ 0x3e + 800aa60: 687b ldr r3, [r7, #4] + 800aa62: f9b3 303e ldrsh.w r3, [r3, #62] @ 0x3e + 800aa66: b29a uxth r2, r3 + 800aa68: f8b7 304e ldrh.w r3, [r7, #78] @ 0x4e + 800aa6c: 4413 add r3, r2 + 800aa6e: b29b uxth r3, r3 + 800aa70: b21a sxth r2, r3 + 800aa72: 687b ldr r3, [r7, #4] + 800aa74: 87da strh r2, [r3, #62] @ 0x3e pcb->rto = (s16_t)((pcb->sa >> 3) + pcb->sv); - 800a0f2: 687b ldr r3, [r7, #4] - 800a0f4: f9b3 303c ldrsh.w r3, [r3, #60] @ 0x3c - 800a0f8: 10db asrs r3, r3, #3 - 800a0fa: b21b sxth r3, r3 - 800a0fc: b29a uxth r2, r3 - 800a0fe: 687b ldr r3, [r7, #4] - 800a100: f9b3 303e ldrsh.w r3, [r3, #62] @ 0x3e - 800a104: b29b uxth r3, r3 - 800a106: 4413 add r3, r2 - 800a108: b29b uxth r3, r3 - 800a10a: b21a sxth r2, r3 - 800a10c: 687b ldr r3, [r7, #4] - 800a10e: f8a3 2040 strh.w r2, [r3, #64] @ 0x40 + 800aa76: 687b ldr r3, [r7, #4] + 800aa78: f9b3 303c ldrsh.w r3, [r3, #60] @ 0x3c + 800aa7c: 10db asrs r3, r3, #3 + 800aa7e: b21b sxth r3, r3 + 800aa80: b29a uxth r2, r3 + 800aa82: 687b ldr r3, [r7, #4] + 800aa84: f9b3 303e ldrsh.w r3, [r3, #62] @ 0x3e + 800aa88: b29b uxth r3, r3 + 800aa8a: 4413 add r3, r2 + 800aa8c: b29b uxth r3, r3 + 800aa8e: b21a sxth r2, r3 + 800aa90: 687b ldr r3, [r7, #4] + 800aa92: f8a3 2040 strh.w r2, [r3, #64] @ 0x40 LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_receive: RTO %"U16_F" (%"U16_F" milliseconds)\n", pcb->rto, (u16_t)(pcb->rto * TCP_SLOW_INTERVAL))); pcb->rttest = 0; - 800a112: 687b ldr r3, [r7, #4] - 800a114: 2200 movs r2, #0 - 800a116: 635a str r2, [r3, #52] @ 0x34 + 800aa96: 687b ldr r3, [r7, #4] + 800aa98: 2200 movs r2, #0 + 800aa9a: 635a str r2, [r3, #52] @ 0x34 /* If the incoming segment contains data, we must process it further unless the pcb already received a FIN. (RFC 793, chapter 3.9, "SEGMENT ARRIVES" in states CLOSE-WAIT, CLOSING, LAST-ACK and TIME-WAIT: "Ignore the segment text.") */ if ((tcplen > 0) && (pcb->state < CLOSE_WAIT)) { - 800a118: 4b35 ldr r3, [pc, #212] @ (800a1f0 ) - 800a11a: 881b ldrh r3, [r3, #0] - 800a11c: 2b00 cmp r3, #0 - 800a11e: f000 84df beq.w 800aae0 - 800a122: 687b ldr r3, [r7, #4] - 800a124: 7d1b ldrb r3, [r3, #20] - 800a126: 2b06 cmp r3, #6 - 800a128: f200 84da bhi.w 800aae0 + 800aa9c: 4b35 ldr r3, [pc, #212] @ (800ab74 ) + 800aa9e: 881b ldrh r3, [r3, #0] + 800aaa0: 2b00 cmp r3, #0 + 800aaa2: f000 84df beq.w 800b464 + 800aaa6: 687b ldr r3, [r7, #4] + 800aaa8: 7d1b ldrb r3, [r3, #20] + 800aaaa: 2b06 cmp r3, #6 + 800aaac: f200 84da bhi.w 800b464 this if the sequence number of the incoming segment is less than rcv_nxt, and the sequence number plus the length of the segment is larger than rcv_nxt. */ /* if (TCP_SEQ_LT(seqno, pcb->rcv_nxt)) { if (TCP_SEQ_LT(pcb->rcv_nxt, seqno + tcplen)) {*/ if (TCP_SEQ_BETWEEN(pcb->rcv_nxt, seqno + 1, seqno + tcplen - 1)) { - 800a12c: 687b ldr r3, [r7, #4] - 800a12e: 6a5a ldr r2, [r3, #36] @ 0x24 - 800a130: 4b30 ldr r3, [pc, #192] @ (800a1f4 ) - 800a132: 681b ldr r3, [r3, #0] - 800a134: 1ad3 subs r3, r2, r3 - 800a136: 3b01 subs r3, #1 - 800a138: 2b00 cmp r3, #0 - 800a13a: f2c0 808f blt.w 800a25c - 800a13e: 687b ldr r3, [r7, #4] - 800a140: 6a5a ldr r2, [r3, #36] @ 0x24 - 800a142: 4b2b ldr r3, [pc, #172] @ (800a1f0 ) - 800a144: 881b ldrh r3, [r3, #0] - 800a146: 4619 mov r1, r3 - 800a148: 4b2a ldr r3, [pc, #168] @ (800a1f4 ) - 800a14a: 681b ldr r3, [r3, #0] - 800a14c: 440b add r3, r1 - 800a14e: 1ad3 subs r3, r2, r3 - 800a150: 3301 adds r3, #1 - 800a152: 2b00 cmp r3, #0 - 800a154: f300 8082 bgt.w 800a25c + 800aab0: 687b ldr r3, [r7, #4] + 800aab2: 6a5a ldr r2, [r3, #36] @ 0x24 + 800aab4: 4b30 ldr r3, [pc, #192] @ (800ab78 ) + 800aab6: 681b ldr r3, [r3, #0] + 800aab8: 1ad3 subs r3, r2, r3 + 800aaba: 3b01 subs r3, #1 + 800aabc: 2b00 cmp r3, #0 + 800aabe: f2c0 808f blt.w 800abe0 + 800aac2: 687b ldr r3, [r7, #4] + 800aac4: 6a5a ldr r2, [r3, #36] @ 0x24 + 800aac6: 4b2b ldr r3, [pc, #172] @ (800ab74 ) + 800aac8: 881b ldrh r3, [r3, #0] + 800aaca: 4619 mov r1, r3 + 800aacc: 4b2a ldr r3, [pc, #168] @ (800ab78 ) + 800aace: 681b ldr r3, [r3, #0] + 800aad0: 440b add r3, r1 + 800aad2: 1ad3 subs r3, r2, r3 + 800aad4: 3301 adds r3, #1 + 800aad6: 2b00 cmp r3, #0 + 800aad8: f300 8082 bgt.w 800abe0 After we are done with adjusting the pbuf pointers we must adjust the ->data pointer in the seg and the segment length.*/ struct pbuf *p = inseg.p; - 800a158: 4b27 ldr r3, [pc, #156] @ (800a1f8 ) - 800a15a: 685b ldr r3, [r3, #4] - 800a15c: 647b str r3, [r7, #68] @ 0x44 + 800aadc: 4b27 ldr r3, [pc, #156] @ (800ab7c ) + 800aade: 685b ldr r3, [r3, #4] + 800aae0: 647b str r3, [r7, #68] @ 0x44 u32_t off32 = pcb->rcv_nxt - seqno; - 800a15e: 687b ldr r3, [r7, #4] - 800a160: 6a5a ldr r2, [r3, #36] @ 0x24 - 800a162: 4b24 ldr r3, [pc, #144] @ (800a1f4 ) - 800a164: 681b ldr r3, [r3, #0] - 800a166: 1ad3 subs r3, r2, r3 - 800a168: 627b str r3, [r7, #36] @ 0x24 + 800aae2: 687b ldr r3, [r7, #4] + 800aae4: 6a5a ldr r2, [r3, #36] @ 0x24 + 800aae6: 4b24 ldr r3, [pc, #144] @ (800ab78 ) + 800aae8: 681b ldr r3, [r3, #0] + 800aaea: 1ad3 subs r3, r2, r3 + 800aaec: 627b str r3, [r7, #36] @ 0x24 u16_t new_tot_len, off; LWIP_ASSERT("inseg.p != NULL", inseg.p); - 800a16a: 4b23 ldr r3, [pc, #140] @ (800a1f8 ) - 800a16c: 685b ldr r3, [r3, #4] - 800a16e: 2b00 cmp r3, #0 - 800a170: d106 bne.n 800a180 - 800a172: 4b22 ldr r3, [pc, #136] @ (800a1fc ) - 800a174: f240 5294 movw r2, #1428 @ 0x594 - 800a178: 4921 ldr r1, [pc, #132] @ (800a200 ) - 800a17a: 4822 ldr r0, [pc, #136] @ (800a204 ) - 800a17c: f007 fa3c bl 80115f8 + 800aaee: 4b23 ldr r3, [pc, #140] @ (800ab7c ) + 800aaf0: 685b ldr r3, [r3, #4] + 800aaf2: 2b00 cmp r3, #0 + 800aaf4: d106 bne.n 800ab04 + 800aaf6: 4b22 ldr r3, [pc, #136] @ (800ab80 ) + 800aaf8: f240 5294 movw r2, #1428 @ 0x594 + 800aafc: 4921 ldr r1, [pc, #132] @ (800ab84 ) + 800aafe: 4822 ldr r0, [pc, #136] @ (800ab88 ) + 800ab00: f007 fa3c bl 8011f7c LWIP_ASSERT("insane offset!", (off32 < 0xffff)); - 800a180: 6a7b ldr r3, [r7, #36] @ 0x24 - 800a182: f64f 72fe movw r2, #65534 @ 0xfffe - 800a186: 4293 cmp r3, r2 - 800a188: d906 bls.n 800a198 - 800a18a: 4b1c ldr r3, [pc, #112] @ (800a1fc ) - 800a18c: f240 5295 movw r2, #1429 @ 0x595 - 800a190: 491d ldr r1, [pc, #116] @ (800a208 ) - 800a192: 481c ldr r0, [pc, #112] @ (800a204 ) - 800a194: f007 fa30 bl 80115f8 + 800ab04: 6a7b ldr r3, [r7, #36] @ 0x24 + 800ab06: f64f 72fe movw r2, #65534 @ 0xfffe + 800ab0a: 4293 cmp r3, r2 + 800ab0c: d906 bls.n 800ab1c + 800ab0e: 4b1c ldr r3, [pc, #112] @ (800ab80 ) + 800ab10: f240 5295 movw r2, #1429 @ 0x595 + 800ab14: 491d ldr r1, [pc, #116] @ (800ab8c ) + 800ab16: 481c ldr r0, [pc, #112] @ (800ab88 ) + 800ab18: f007 fa30 bl 8011f7c off = (u16_t)off32; - 800a198: 6a7b ldr r3, [r7, #36] @ 0x24 - 800a19a: f8a7 3042 strh.w r3, [r7, #66] @ 0x42 + 800ab1c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800ab1e: f8a7 3042 strh.w r3, [r7, #66] @ 0x42 LWIP_ASSERT("pbuf too short!", (((s32_t)inseg.p->tot_len) >= off)); - 800a19e: 4b16 ldr r3, [pc, #88] @ (800a1f8 ) - 800a1a0: 685b ldr r3, [r3, #4] - 800a1a2: 891b ldrh r3, [r3, #8] - 800a1a4: f8b7 2042 ldrh.w r2, [r7, #66] @ 0x42 - 800a1a8: 429a cmp r2, r3 - 800a1aa: d906 bls.n 800a1ba - 800a1ac: 4b13 ldr r3, [pc, #76] @ (800a1fc ) - 800a1ae: f240 5297 movw r2, #1431 @ 0x597 - 800a1b2: 4916 ldr r1, [pc, #88] @ (800a20c ) - 800a1b4: 4813 ldr r0, [pc, #76] @ (800a204 ) - 800a1b6: f007 fa1f bl 80115f8 + 800ab22: 4b16 ldr r3, [pc, #88] @ (800ab7c ) + 800ab24: 685b ldr r3, [r3, #4] + 800ab26: 891b ldrh r3, [r3, #8] + 800ab28: f8b7 2042 ldrh.w r2, [r7, #66] @ 0x42 + 800ab2c: 429a cmp r2, r3 + 800ab2e: d906 bls.n 800ab3e + 800ab30: 4b13 ldr r3, [pc, #76] @ (800ab80 ) + 800ab32: f240 5297 movw r2, #1431 @ 0x597 + 800ab36: 4916 ldr r1, [pc, #88] @ (800ab90 ) + 800ab38: 4813 ldr r0, [pc, #76] @ (800ab88 ) + 800ab3a: f007 fa1f bl 8011f7c inseg.len -= off; - 800a1ba: 4b0f ldr r3, [pc, #60] @ (800a1f8 ) - 800a1bc: 891a ldrh r2, [r3, #8] - 800a1be: f8b7 3042 ldrh.w r3, [r7, #66] @ 0x42 - 800a1c2: 1ad3 subs r3, r2, r3 - 800a1c4: b29a uxth r2, r3 - 800a1c6: 4b0c ldr r3, [pc, #48] @ (800a1f8 ) - 800a1c8: 811a strh r2, [r3, #8] + 800ab3e: 4b0f ldr r3, [pc, #60] @ (800ab7c ) + 800ab40: 891a ldrh r2, [r3, #8] + 800ab42: f8b7 3042 ldrh.w r3, [r7, #66] @ 0x42 + 800ab46: 1ad3 subs r3, r2, r3 + 800ab48: b29a uxth r2, r3 + 800ab4a: 4b0c ldr r3, [pc, #48] @ (800ab7c ) + 800ab4c: 811a strh r2, [r3, #8] new_tot_len = (u16_t)(inseg.p->tot_len - off); - 800a1ca: 4b0b ldr r3, [pc, #44] @ (800a1f8 ) - 800a1cc: 685b ldr r3, [r3, #4] - 800a1ce: 891a ldrh r2, [r3, #8] - 800a1d0: f8b7 3042 ldrh.w r3, [r7, #66] @ 0x42 - 800a1d4: 1ad3 subs r3, r2, r3 - 800a1d6: 847b strh r3, [r7, #34] @ 0x22 + 800ab4e: 4b0b ldr r3, [pc, #44] @ (800ab7c ) + 800ab50: 685b ldr r3, [r3, #4] + 800ab52: 891a ldrh r2, [r3, #8] + 800ab54: f8b7 3042 ldrh.w r3, [r7, #66] @ 0x42 + 800ab58: 1ad3 subs r3, r2, r3 + 800ab5a: 847b strh r3, [r7, #34] @ 0x22 while (p->len < off) { - 800a1d8: e02a b.n 800a230 - 800a1da: bf00 nop - 800a1dc: 08017584 .word 0x08017584 - 800a1e0: 0801758c .word 0x0801758c - 800a1e4: 200190e4 .word 0x200190e4 - 800a1e8: 200190e0 .word 0x200190e0 - 800a1ec: 200190a4 .word 0x200190a4 - 800a1f0: 200190e6 .word 0x200190e6 - 800a1f4: 200190dc .word 0x200190dc - 800a1f8: 200190bc .word 0x200190bc - 800a1fc: 0801721c .word 0x0801721c - 800a200: 08017594 .word 0x08017594 - 800a204: 08017268 .word 0x08017268 - 800a208: 080175a4 .word 0x080175a4 - 800a20c: 080175b4 .word 0x080175b4 + 800ab5c: e02a b.n 800abb4 + 800ab5e: bf00 nop + 800ab60: 08017f04 .word 0x08017f04 + 800ab64: 08017f0c .word 0x08017f0c + 800ab68: 20019118 .word 0x20019118 + 800ab6c: 20019114 .word 0x20019114 + 800ab70: 200190d8 .word 0x200190d8 + 800ab74: 2001911a .word 0x2001911a + 800ab78: 20019110 .word 0x20019110 + 800ab7c: 200190f0 .word 0x200190f0 + 800ab80: 08017b9c .word 0x08017b9c + 800ab84: 08017f14 .word 0x08017f14 + 800ab88: 08017be8 .word 0x08017be8 + 800ab8c: 08017f24 .word 0x08017f24 + 800ab90: 08017f34 .word 0x08017f34 off -= p->len; - 800a210: 6c7b ldr r3, [r7, #68] @ 0x44 - 800a212: 895b ldrh r3, [r3, #10] - 800a214: f8b7 2042 ldrh.w r2, [r7, #66] @ 0x42 - 800a218: 1ad3 subs r3, r2, r3 - 800a21a: f8a7 3042 strh.w r3, [r7, #66] @ 0x42 + 800ab94: 6c7b ldr r3, [r7, #68] @ 0x44 + 800ab96: 895b ldrh r3, [r3, #10] + 800ab98: f8b7 2042 ldrh.w r2, [r7, #66] @ 0x42 + 800ab9c: 1ad3 subs r3, r2, r3 + 800ab9e: f8a7 3042 strh.w r3, [r7, #66] @ 0x42 /* all pbufs up to and including this one have len==0, so tot_len is equal */ p->tot_len = new_tot_len; - 800a21e: 6c7b ldr r3, [r7, #68] @ 0x44 - 800a220: 8c7a ldrh r2, [r7, #34] @ 0x22 - 800a222: 811a strh r2, [r3, #8] + 800aba2: 6c7b ldr r3, [r7, #68] @ 0x44 + 800aba4: 8c7a ldrh r2, [r7, #34] @ 0x22 + 800aba6: 811a strh r2, [r3, #8] p->len = 0; - 800a224: 6c7b ldr r3, [r7, #68] @ 0x44 - 800a226: 2200 movs r2, #0 - 800a228: 815a strh r2, [r3, #10] + 800aba8: 6c7b ldr r3, [r7, #68] @ 0x44 + 800abaa: 2200 movs r2, #0 + 800abac: 815a strh r2, [r3, #10] p = p->next; - 800a22a: 6c7b ldr r3, [r7, #68] @ 0x44 - 800a22c: 681b ldr r3, [r3, #0] - 800a22e: 647b str r3, [r7, #68] @ 0x44 + 800abae: 6c7b ldr r3, [r7, #68] @ 0x44 + 800abb0: 681b ldr r3, [r3, #0] + 800abb2: 647b str r3, [r7, #68] @ 0x44 while (p->len < off) { - 800a230: 6c7b ldr r3, [r7, #68] @ 0x44 - 800a232: 895b ldrh r3, [r3, #10] - 800a234: f8b7 2042 ldrh.w r2, [r7, #66] @ 0x42 - 800a238: 429a cmp r2, r3 - 800a23a: d8e9 bhi.n 800a210 + 800abb4: 6c7b ldr r3, [r7, #68] @ 0x44 + 800abb6: 895b ldrh r3, [r3, #10] + 800abb8: f8b7 2042 ldrh.w r2, [r7, #66] @ 0x42 + 800abbc: 429a cmp r2, r3 + 800abbe: d8e9 bhi.n 800ab94 } /* cannot fail... */ pbuf_remove_header(p, off); - 800a23c: f8b7 3042 ldrh.w r3, [r7, #66] @ 0x42 - 800a240: 4619 mov r1, r3 - 800a242: 6c78 ldr r0, [r7, #68] @ 0x44 - 800a244: f7fc fb6a bl 800691c + 800abc0: f8b7 3042 ldrh.w r3, [r7, #66] @ 0x42 + 800abc4: 4619 mov r1, r3 + 800abc6: 6c78 ldr r0, [r7, #68] @ 0x44 + 800abc8: f7fc fb6a bl 80072a0 inseg.tcphdr->seqno = seqno = pcb->rcv_nxt; - 800a248: 687b ldr r3, [r7, #4] - 800a24a: 6a5b ldr r3, [r3, #36] @ 0x24 - 800a24c: 4a90 ldr r2, [pc, #576] @ (800a490 ) - 800a24e: 6013 str r3, [r2, #0] - 800a250: 4b90 ldr r3, [pc, #576] @ (800a494 ) - 800a252: 68db ldr r3, [r3, #12] - 800a254: 4a8e ldr r2, [pc, #568] @ (800a490 ) - 800a256: 6812 ldr r2, [r2, #0] - 800a258: 605a str r2, [r3, #4] + 800abcc: 687b ldr r3, [r7, #4] + 800abce: 6a5b ldr r3, [r3, #36] @ 0x24 + 800abd0: 4a90 ldr r2, [pc, #576] @ (800ae14 ) + 800abd2: 6013 str r3, [r2, #0] + 800abd4: 4b90 ldr r3, [pc, #576] @ (800ae18 ) + 800abd6: 68db ldr r3, [r3, #12] + 800abd8: 4a8e ldr r2, [pc, #568] @ (800ae14 ) + 800abda: 6812 ldr r2, [r2, #0] + 800abdc: 605a str r2, [r3, #4] if (TCP_SEQ_BETWEEN(pcb->rcv_nxt, seqno + 1, seqno + tcplen - 1)) { - 800a25a: e00d b.n 800a278 + 800abde: e00d b.n 800abfc } else { if (TCP_SEQ_LT(seqno, pcb->rcv_nxt)) { - 800a25c: 4b8c ldr r3, [pc, #560] @ (800a490 ) - 800a25e: 681a ldr r2, [r3, #0] - 800a260: 687b ldr r3, [r7, #4] - 800a262: 6a5b ldr r3, [r3, #36] @ 0x24 - 800a264: 1ad3 subs r3, r2, r3 - 800a266: 2b00 cmp r3, #0 - 800a268: da06 bge.n 800a278 + 800abe0: 4b8c ldr r3, [pc, #560] @ (800ae14 ) + 800abe2: 681a ldr r2, [r3, #0] + 800abe4: 687b ldr r3, [r7, #4] + 800abe6: 6a5b ldr r3, [r3, #36] @ 0x24 + 800abe8: 1ad3 subs r3, r2, r3 + 800abea: 2b00 cmp r3, #0 + 800abec: da06 bge.n 800abfc /* the whole segment is < rcv_nxt */ /* must be a duplicate of a packet that has already been correctly handled */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: duplicate seqno %"U32_F"\n", seqno)); tcp_ack_now(pcb); - 800a26a: 687b ldr r3, [r7, #4] - 800a26c: 8b5b ldrh r3, [r3, #26] - 800a26e: f043 0302 orr.w r3, r3, #2 - 800a272: b29a uxth r2, r3 - 800a274: 687b ldr r3, [r7, #4] - 800a276: 835a strh r2, [r3, #26] + 800abee: 687b ldr r3, [r7, #4] + 800abf0: 8b5b ldrh r3, [r3, #26] + 800abf2: f043 0302 orr.w r3, r3, #2 + 800abf6: b29a uxth r2, r3 + 800abf8: 687b ldr r3, [r7, #4] + 800abfa: 835a strh r2, [r3, #26] } /* The sequence number must be within the window (above rcv_nxt and below rcv_nxt + rcv_wnd) in order to be further processed. */ if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, - 800a278: 4b85 ldr r3, [pc, #532] @ (800a490 ) - 800a27a: 681a ldr r2, [r3, #0] - 800a27c: 687b ldr r3, [r7, #4] - 800a27e: 6a5b ldr r3, [r3, #36] @ 0x24 - 800a280: 1ad3 subs r3, r2, r3 - 800a282: 2b00 cmp r3, #0 - 800a284: f2c0 8427 blt.w 800aad6 - 800a288: 4b81 ldr r3, [pc, #516] @ (800a490 ) - 800a28a: 681a ldr r2, [r3, #0] - 800a28c: 687b ldr r3, [r7, #4] - 800a28e: 6a5b ldr r3, [r3, #36] @ 0x24 - 800a290: 6879 ldr r1, [r7, #4] - 800a292: 8d09 ldrh r1, [r1, #40] @ 0x28 - 800a294: 440b add r3, r1 - 800a296: 1ad3 subs r3, r2, r3 - 800a298: 3301 adds r3, #1 - 800a29a: 2b00 cmp r3, #0 - 800a29c: f300 841b bgt.w 800aad6 + 800abfc: 4b85 ldr r3, [pc, #532] @ (800ae14 ) + 800abfe: 681a ldr r2, [r3, #0] + 800ac00: 687b ldr r3, [r7, #4] + 800ac02: 6a5b ldr r3, [r3, #36] @ 0x24 + 800ac04: 1ad3 subs r3, r2, r3 + 800ac06: 2b00 cmp r3, #0 + 800ac08: f2c0 8427 blt.w 800b45a + 800ac0c: 4b81 ldr r3, [pc, #516] @ (800ae14 ) + 800ac0e: 681a ldr r2, [r3, #0] + 800ac10: 687b ldr r3, [r7, #4] + 800ac12: 6a5b ldr r3, [r3, #36] @ 0x24 + 800ac14: 6879 ldr r1, [r7, #4] + 800ac16: 8d09 ldrh r1, [r1, #40] @ 0x28 + 800ac18: 440b add r3, r1 + 800ac1a: 1ad3 subs r3, r2, r3 + 800ac1c: 3301 adds r3, #1 + 800ac1e: 2b00 cmp r3, #0 + 800ac20: f300 841b bgt.w 800b45a pcb->rcv_nxt + pcb->rcv_wnd - 1)) { if (pcb->rcv_nxt == seqno) { - 800a2a0: 687b ldr r3, [r7, #4] - 800a2a2: 6a5a ldr r2, [r3, #36] @ 0x24 - 800a2a4: 4b7a ldr r3, [pc, #488] @ (800a490 ) - 800a2a6: 681b ldr r3, [r3, #0] - 800a2a8: 429a cmp r2, r3 - 800a2aa: f040 8298 bne.w 800a7de + 800ac24: 687b ldr r3, [r7, #4] + 800ac26: 6a5a ldr r2, [r3, #36] @ 0x24 + 800ac28: 4b7a ldr r3, [pc, #488] @ (800ae14 ) + 800ac2a: 681b ldr r3, [r3, #0] + 800ac2c: 429a cmp r2, r3 + 800ac2e: f040 8298 bne.w 800b162 /* The incoming segment is the next in sequence. We check if we have to trim the end of the segment and update rcv_nxt and pass the data to the application. */ tcplen = TCP_TCPLEN(&inseg); - 800a2ae: 4b79 ldr r3, [pc, #484] @ (800a494 ) - 800a2b0: 891c ldrh r4, [r3, #8] - 800a2b2: 4b78 ldr r3, [pc, #480] @ (800a494 ) - 800a2b4: 68db ldr r3, [r3, #12] - 800a2b6: 899b ldrh r3, [r3, #12] - 800a2b8: b29b uxth r3, r3 - 800a2ba: 4618 mov r0, r3 - 800a2bc: f7fb f864 bl 8005388 - 800a2c0: 4603 mov r3, r0 - 800a2c2: b2db uxtb r3, r3 - 800a2c4: f003 0303 and.w r3, r3, #3 - 800a2c8: 2b00 cmp r3, #0 - 800a2ca: d001 beq.n 800a2d0 - 800a2cc: 2301 movs r3, #1 - 800a2ce: e000 b.n 800a2d2 - 800a2d0: 2300 movs r3, #0 - 800a2d2: 4423 add r3, r4 - 800a2d4: b29a uxth r2, r3 - 800a2d6: 4b70 ldr r3, [pc, #448] @ (800a498 ) - 800a2d8: 801a strh r2, [r3, #0] + 800ac32: 4b79 ldr r3, [pc, #484] @ (800ae18 ) + 800ac34: 891c ldrh r4, [r3, #8] + 800ac36: 4b78 ldr r3, [pc, #480] @ (800ae18 ) + 800ac38: 68db ldr r3, [r3, #12] + 800ac3a: 899b ldrh r3, [r3, #12] + 800ac3c: b29b uxth r3, r3 + 800ac3e: 4618 mov r0, r3 + 800ac40: f7fb f864 bl 8005d0c + 800ac44: 4603 mov r3, r0 + 800ac46: b2db uxtb r3, r3 + 800ac48: f003 0303 and.w r3, r3, #3 + 800ac4c: 2b00 cmp r3, #0 + 800ac4e: d001 beq.n 800ac54 + 800ac50: 2301 movs r3, #1 + 800ac52: e000 b.n 800ac56 + 800ac54: 2300 movs r3, #0 + 800ac56: 4423 add r3, r4 + 800ac58: b29a uxth r2, r3 + 800ac5a: 4b70 ldr r3, [pc, #448] @ (800ae1c ) + 800ac5c: 801a strh r2, [r3, #0] if (tcplen > pcb->rcv_wnd) { - 800a2da: 687b ldr r3, [r7, #4] - 800a2dc: 8d1a ldrh r2, [r3, #40] @ 0x28 - 800a2de: 4b6e ldr r3, [pc, #440] @ (800a498 ) - 800a2e0: 881b ldrh r3, [r3, #0] - 800a2e2: 429a cmp r2, r3 - 800a2e4: d274 bcs.n 800a3d0 + 800ac5e: 687b ldr r3, [r7, #4] + 800ac60: 8d1a ldrh r2, [r3, #40] @ 0x28 + 800ac62: 4b6e ldr r3, [pc, #440] @ (800ae1c ) + 800ac64: 881b ldrh r3, [r3, #0] + 800ac66: 429a cmp r2, r3 + 800ac68: d274 bcs.n 800ad54 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: other end overran receive window" "seqno %"U32_F" len %"U16_F" right edge %"U32_F"\n", seqno, tcplen, pcb->rcv_nxt + pcb->rcv_wnd)); if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { - 800a2e6: 4b6b ldr r3, [pc, #428] @ (800a494 ) - 800a2e8: 68db ldr r3, [r3, #12] - 800a2ea: 899b ldrh r3, [r3, #12] - 800a2ec: b29b uxth r3, r3 - 800a2ee: 4618 mov r0, r3 - 800a2f0: f7fb f84a bl 8005388 - 800a2f4: 4603 mov r3, r0 - 800a2f6: b2db uxtb r3, r3 - 800a2f8: f003 0301 and.w r3, r3, #1 - 800a2fc: 2b00 cmp r3, #0 - 800a2fe: d01e beq.n 800a33e + 800ac6a: 4b6b ldr r3, [pc, #428] @ (800ae18 ) + 800ac6c: 68db ldr r3, [r3, #12] + 800ac6e: 899b ldrh r3, [r3, #12] + 800ac70: b29b uxth r3, r3 + 800ac72: 4618 mov r0, r3 + 800ac74: f7fb f84a bl 8005d0c + 800ac78: 4603 mov r3, r0 + 800ac7a: b2db uxtb r3, r3 + 800ac7c: f003 0301 and.w r3, r3, #1 + 800ac80: 2b00 cmp r3, #0 + 800ac82: d01e beq.n 800acc2 /* Must remove the FIN from the header as we're trimming * that byte of sequence-space from the packet */ TCPH_FLAGS_SET(inseg.tcphdr, TCPH_FLAGS(inseg.tcphdr) & ~(unsigned int)TCP_FIN); - 800a300: 4b64 ldr r3, [pc, #400] @ (800a494 ) - 800a302: 68db ldr r3, [r3, #12] - 800a304: 899b ldrh r3, [r3, #12] - 800a306: b29b uxth r3, r3 - 800a308: b21b sxth r3, r3 - 800a30a: f423 537c bic.w r3, r3, #16128 @ 0x3f00 - 800a30e: b21c sxth r4, r3 - 800a310: 4b60 ldr r3, [pc, #384] @ (800a494 ) - 800a312: 68db ldr r3, [r3, #12] - 800a314: 899b ldrh r3, [r3, #12] - 800a316: b29b uxth r3, r3 - 800a318: 4618 mov r0, r3 - 800a31a: f7fb f835 bl 8005388 - 800a31e: 4603 mov r3, r0 - 800a320: b2db uxtb r3, r3 - 800a322: f003 033e and.w r3, r3, #62 @ 0x3e - 800a326: b29b uxth r3, r3 - 800a328: 4618 mov r0, r3 - 800a32a: f7fb f82d bl 8005388 - 800a32e: 4603 mov r3, r0 - 800a330: b21b sxth r3, r3 - 800a332: 4323 orrs r3, r4 - 800a334: b21a sxth r2, r3 - 800a336: 4b57 ldr r3, [pc, #348] @ (800a494 ) - 800a338: 68db ldr r3, [r3, #12] - 800a33a: b292 uxth r2, r2 - 800a33c: 819a strh r2, [r3, #12] + 800ac84: 4b64 ldr r3, [pc, #400] @ (800ae18 ) + 800ac86: 68db ldr r3, [r3, #12] + 800ac88: 899b ldrh r3, [r3, #12] + 800ac8a: b29b uxth r3, r3 + 800ac8c: b21b sxth r3, r3 + 800ac8e: f423 537c bic.w r3, r3, #16128 @ 0x3f00 + 800ac92: b21c sxth r4, r3 + 800ac94: 4b60 ldr r3, [pc, #384] @ (800ae18 ) + 800ac96: 68db ldr r3, [r3, #12] + 800ac98: 899b ldrh r3, [r3, #12] + 800ac9a: b29b uxth r3, r3 + 800ac9c: 4618 mov r0, r3 + 800ac9e: f7fb f835 bl 8005d0c + 800aca2: 4603 mov r3, r0 + 800aca4: b2db uxtb r3, r3 + 800aca6: f003 033e and.w r3, r3, #62 @ 0x3e + 800acaa: b29b uxth r3, r3 + 800acac: 4618 mov r0, r3 + 800acae: f7fb f82d bl 8005d0c + 800acb2: 4603 mov r3, r0 + 800acb4: b21b sxth r3, r3 + 800acb6: 4323 orrs r3, r4 + 800acb8: b21a sxth r2, r3 + 800acba: 4b57 ldr r3, [pc, #348] @ (800ae18 ) + 800acbc: 68db ldr r3, [r3, #12] + 800acbe: b292 uxth r2, r2 + 800acc0: 819a strh r2, [r3, #12] } /* Adjust length of segment to fit in the window. */ TCPWND_CHECK16(pcb->rcv_wnd); inseg.len = (u16_t)pcb->rcv_wnd; - 800a33e: 687b ldr r3, [r7, #4] - 800a340: 8d1a ldrh r2, [r3, #40] @ 0x28 - 800a342: 4b54 ldr r3, [pc, #336] @ (800a494 ) - 800a344: 811a strh r2, [r3, #8] + 800acc2: 687b ldr r3, [r7, #4] + 800acc4: 8d1a ldrh r2, [r3, #40] @ 0x28 + 800acc6: 4b54 ldr r3, [pc, #336] @ (800ae18 ) + 800acc8: 811a strh r2, [r3, #8] if (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) { - 800a346: 4b53 ldr r3, [pc, #332] @ (800a494 ) - 800a348: 68db ldr r3, [r3, #12] - 800a34a: 899b ldrh r3, [r3, #12] - 800a34c: b29b uxth r3, r3 - 800a34e: 4618 mov r0, r3 - 800a350: f7fb f81a bl 8005388 - 800a354: 4603 mov r3, r0 - 800a356: b2db uxtb r3, r3 - 800a358: f003 0302 and.w r3, r3, #2 - 800a35c: 2b00 cmp r3, #0 - 800a35e: d005 beq.n 800a36c + 800acca: 4b53 ldr r3, [pc, #332] @ (800ae18 ) + 800accc: 68db ldr r3, [r3, #12] + 800acce: 899b ldrh r3, [r3, #12] + 800acd0: b29b uxth r3, r3 + 800acd2: 4618 mov r0, r3 + 800acd4: f7fb f81a bl 8005d0c + 800acd8: 4603 mov r3, r0 + 800acda: b2db uxtb r3, r3 + 800acdc: f003 0302 and.w r3, r3, #2 + 800ace0: 2b00 cmp r3, #0 + 800ace2: d005 beq.n 800acf0 inseg.len -= 1; - 800a360: 4b4c ldr r3, [pc, #304] @ (800a494 ) - 800a362: 891b ldrh r3, [r3, #8] - 800a364: 3b01 subs r3, #1 - 800a366: b29a uxth r2, r3 - 800a368: 4b4a ldr r3, [pc, #296] @ (800a494 ) - 800a36a: 811a strh r2, [r3, #8] + 800ace4: 4b4c ldr r3, [pc, #304] @ (800ae18 ) + 800ace6: 891b ldrh r3, [r3, #8] + 800ace8: 3b01 subs r3, #1 + 800acea: b29a uxth r2, r3 + 800acec: 4b4a ldr r3, [pc, #296] @ (800ae18 ) + 800acee: 811a strh r2, [r3, #8] } pbuf_realloc(inseg.p, inseg.len); - 800a36c: 4b49 ldr r3, [pc, #292] @ (800a494 ) - 800a36e: 685b ldr r3, [r3, #4] - 800a370: 4a48 ldr r2, [pc, #288] @ (800a494 ) - 800a372: 8912 ldrh r2, [r2, #8] - 800a374: 4611 mov r1, r2 - 800a376: 4618 mov r0, r3 - 800a378: f7fc f9d2 bl 8006720 + 800acf0: 4b49 ldr r3, [pc, #292] @ (800ae18 ) + 800acf2: 685b ldr r3, [r3, #4] + 800acf4: 4a48 ldr r2, [pc, #288] @ (800ae18 ) + 800acf6: 8912 ldrh r2, [r2, #8] + 800acf8: 4611 mov r1, r2 + 800acfa: 4618 mov r0, r3 + 800acfc: f7fc f9d2 bl 80070a4 tcplen = TCP_TCPLEN(&inseg); - 800a37c: 4b45 ldr r3, [pc, #276] @ (800a494 ) - 800a37e: 891c ldrh r4, [r3, #8] - 800a380: 4b44 ldr r3, [pc, #272] @ (800a494 ) - 800a382: 68db ldr r3, [r3, #12] - 800a384: 899b ldrh r3, [r3, #12] - 800a386: b29b uxth r3, r3 - 800a388: 4618 mov r0, r3 - 800a38a: f7fa fffd bl 8005388 - 800a38e: 4603 mov r3, r0 - 800a390: b2db uxtb r3, r3 - 800a392: f003 0303 and.w r3, r3, #3 - 800a396: 2b00 cmp r3, #0 - 800a398: d001 beq.n 800a39e - 800a39a: 2301 movs r3, #1 - 800a39c: e000 b.n 800a3a0 - 800a39e: 2300 movs r3, #0 - 800a3a0: 4423 add r3, r4 - 800a3a2: b29a uxth r2, r3 - 800a3a4: 4b3c ldr r3, [pc, #240] @ (800a498 ) - 800a3a6: 801a strh r2, [r3, #0] + 800ad00: 4b45 ldr r3, [pc, #276] @ (800ae18 ) + 800ad02: 891c ldrh r4, [r3, #8] + 800ad04: 4b44 ldr r3, [pc, #272] @ (800ae18 ) + 800ad06: 68db ldr r3, [r3, #12] + 800ad08: 899b ldrh r3, [r3, #12] + 800ad0a: b29b uxth r3, r3 + 800ad0c: 4618 mov r0, r3 + 800ad0e: f7fa fffd bl 8005d0c + 800ad12: 4603 mov r3, r0 + 800ad14: b2db uxtb r3, r3 + 800ad16: f003 0303 and.w r3, r3, #3 + 800ad1a: 2b00 cmp r3, #0 + 800ad1c: d001 beq.n 800ad22 + 800ad1e: 2301 movs r3, #1 + 800ad20: e000 b.n 800ad24 + 800ad22: 2300 movs r3, #0 + 800ad24: 4423 add r3, r4 + 800ad26: b29a uxth r2, r3 + 800ad28: 4b3c ldr r3, [pc, #240] @ (800ae1c ) + 800ad2a: 801a strh r2, [r3, #0] LWIP_ASSERT("tcp_receive: segment not trimmed correctly to rcv_wnd\n", - 800a3a8: 4b3b ldr r3, [pc, #236] @ (800a498 ) - 800a3aa: 881b ldrh r3, [r3, #0] - 800a3ac: 461a mov r2, r3 - 800a3ae: 4b38 ldr r3, [pc, #224] @ (800a490 ) - 800a3b0: 681b ldr r3, [r3, #0] - 800a3b2: 441a add r2, r3 - 800a3b4: 687b ldr r3, [r7, #4] - 800a3b6: 6a5b ldr r3, [r3, #36] @ 0x24 - 800a3b8: 6879 ldr r1, [r7, #4] - 800a3ba: 8d09 ldrh r1, [r1, #40] @ 0x28 - 800a3bc: 440b add r3, r1 - 800a3be: 429a cmp r2, r3 - 800a3c0: d006 beq.n 800a3d0 - 800a3c2: 4b36 ldr r3, [pc, #216] @ (800a49c ) - 800a3c4: f240 52cb movw r2, #1483 @ 0x5cb - 800a3c8: 4935 ldr r1, [pc, #212] @ (800a4a0 ) - 800a3ca: 4836 ldr r0, [pc, #216] @ (800a4a4 ) - 800a3cc: f007 f914 bl 80115f8 + 800ad2c: 4b3b ldr r3, [pc, #236] @ (800ae1c ) + 800ad2e: 881b ldrh r3, [r3, #0] + 800ad30: 461a mov r2, r3 + 800ad32: 4b38 ldr r3, [pc, #224] @ (800ae14 ) + 800ad34: 681b ldr r3, [r3, #0] + 800ad36: 441a add r2, r3 + 800ad38: 687b ldr r3, [r7, #4] + 800ad3a: 6a5b ldr r3, [r3, #36] @ 0x24 + 800ad3c: 6879 ldr r1, [r7, #4] + 800ad3e: 8d09 ldrh r1, [r1, #40] @ 0x28 + 800ad40: 440b add r3, r1 + 800ad42: 429a cmp r2, r3 + 800ad44: d006 beq.n 800ad54 + 800ad46: 4b36 ldr r3, [pc, #216] @ (800ae20 ) + 800ad48: f240 52cb movw r2, #1483 @ 0x5cb + 800ad4c: 4935 ldr r1, [pc, #212] @ (800ae24 ) + 800ad4e: 4836 ldr r0, [pc, #216] @ (800ae28 ) + 800ad50: f007 f914 bl 8011f7c } #if TCP_QUEUE_OOSEQ /* Received in-sequence data, adjust ooseq data if: - FIN has been received or - inseq overlaps with ooseq */ if (pcb->ooseq != NULL) { - 800a3d0: 687b ldr r3, [r7, #4] - 800a3d2: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a3d4: 2b00 cmp r3, #0 - 800a3d6: f000 80e6 beq.w 800a5a6 + 800ad54: 687b ldr r3, [r7, #4] + 800ad56: 6f5b ldr r3, [r3, #116] @ 0x74 + 800ad58: 2b00 cmp r3, #0 + 800ad5a: f000 80e6 beq.w 800af2a if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { - 800a3da: 4b2e ldr r3, [pc, #184] @ (800a494 ) - 800a3dc: 68db ldr r3, [r3, #12] - 800a3de: 899b ldrh r3, [r3, #12] - 800a3e0: b29b uxth r3, r3 - 800a3e2: 4618 mov r0, r3 - 800a3e4: f7fa ffd0 bl 8005388 - 800a3e8: 4603 mov r3, r0 - 800a3ea: b2db uxtb r3, r3 - 800a3ec: f003 0301 and.w r3, r3, #1 - 800a3f0: 2b00 cmp r3, #0 - 800a3f2: d010 beq.n 800a416 + 800ad5e: 4b2e ldr r3, [pc, #184] @ (800ae18 ) + 800ad60: 68db ldr r3, [r3, #12] + 800ad62: 899b ldrh r3, [r3, #12] + 800ad64: b29b uxth r3, r3 + 800ad66: 4618 mov r0, r3 + 800ad68: f7fa ffd0 bl 8005d0c + 800ad6c: 4603 mov r3, r0 + 800ad6e: b2db uxtb r3, r3 + 800ad70: f003 0301 and.w r3, r3, #1 + 800ad74: 2b00 cmp r3, #0 + 800ad76: d010 beq.n 800ad9a LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: received in-order FIN, binning ooseq queue\n")); /* Received in-order FIN means anything that was received * out of order must now have been received in-order, so * bin the ooseq queue */ while (pcb->ooseq != NULL) { - 800a3f4: e00a b.n 800a40c + 800ad78: e00a b.n 800ad90 struct tcp_seg *old_ooseq = pcb->ooseq; - 800a3f6: 687b ldr r3, [r7, #4] - 800a3f8: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a3fa: 60fb str r3, [r7, #12] + 800ad7a: 687b ldr r3, [r7, #4] + 800ad7c: 6f5b ldr r3, [r3, #116] @ 0x74 + 800ad7e: 60fb str r3, [r7, #12] pcb->ooseq = pcb->ooseq->next; - 800a3fc: 687b ldr r3, [r7, #4] - 800a3fe: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a400: 681a ldr r2, [r3, #0] - 800a402: 687b ldr r3, [r7, #4] - 800a404: 675a str r2, [r3, #116] @ 0x74 + 800ad80: 687b ldr r3, [r7, #4] + 800ad82: 6f5b ldr r3, [r3, #116] @ 0x74 + 800ad84: 681a ldr r2, [r3, #0] + 800ad86: 687b ldr r3, [r7, #4] + 800ad88: 675a str r2, [r3, #116] @ 0x74 tcp_seg_free(old_ooseq); - 800a406: 68f8 ldr r0, [r7, #12] - 800a408: f7fd fd93 bl 8007f32 + 800ad8a: 68f8 ldr r0, [r7, #12] + 800ad8c: f7fd fd93 bl 80088b6 while (pcb->ooseq != NULL) { - 800a40c: 687b ldr r3, [r7, #4] - 800a40e: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a410: 2b00 cmp r3, #0 - 800a412: d1f0 bne.n 800a3f6 - 800a414: e0c7 b.n 800a5a6 + 800ad90: 687b ldr r3, [r7, #4] + 800ad92: 6f5b ldr r3, [r3, #116] @ 0x74 + 800ad94: 2b00 cmp r3, #0 + 800ad96: d1f0 bne.n 800ad7a + 800ad98: e0c7 b.n 800af2a } } else { struct tcp_seg *next = pcb->ooseq; - 800a416: 687b ldr r3, [r7, #4] - 800a418: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a41a: 63fb str r3, [r7, #60] @ 0x3c + 800ad9a: 687b ldr r3, [r7, #4] + 800ad9c: 6f5b ldr r3, [r3, #116] @ 0x74 + 800ad9e: 63fb str r3, [r7, #60] @ 0x3c /* Remove all segments on ooseq that are covered by inseg already. * FIN is copied from ooseq to inseg if present. */ while (next && - 800a41c: e051 b.n 800a4c2 + 800ada0: e051 b.n 800ae46 TCP_SEQ_GEQ(seqno + tcplen, next->tcphdr->seqno + next->len)) { struct tcp_seg *tmp; /* inseg cannot have FIN here (already processed above) */ if ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0 && - 800a41e: 6bfb ldr r3, [r7, #60] @ 0x3c - 800a420: 68db ldr r3, [r3, #12] - 800a422: 899b ldrh r3, [r3, #12] - 800a424: b29b uxth r3, r3 - 800a426: 4618 mov r0, r3 - 800a428: f7fa ffae bl 8005388 - 800a42c: 4603 mov r3, r0 - 800a42e: b2db uxtb r3, r3 - 800a430: f003 0301 and.w r3, r3, #1 - 800a434: 2b00 cmp r3, #0 - 800a436: d03c beq.n 800a4b2 + 800ada2: 6bfb ldr r3, [r7, #60] @ 0x3c + 800ada4: 68db ldr r3, [r3, #12] + 800ada6: 899b ldrh r3, [r3, #12] + 800ada8: b29b uxth r3, r3 + 800adaa: 4618 mov r0, r3 + 800adac: f7fa ffae bl 8005d0c + 800adb0: 4603 mov r3, r0 + 800adb2: b2db uxtb r3, r3 + 800adb4: f003 0301 and.w r3, r3, #1 + 800adb8: 2b00 cmp r3, #0 + 800adba: d03c beq.n 800ae36 (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) == 0) { - 800a438: 4b16 ldr r3, [pc, #88] @ (800a494 ) - 800a43a: 68db ldr r3, [r3, #12] - 800a43c: 899b ldrh r3, [r3, #12] - 800a43e: b29b uxth r3, r3 - 800a440: 4618 mov r0, r3 - 800a442: f7fa ffa1 bl 8005388 - 800a446: 4603 mov r3, r0 - 800a448: b2db uxtb r3, r3 - 800a44a: f003 0302 and.w r3, r3, #2 + 800adbc: 4b16 ldr r3, [pc, #88] @ (800ae18 ) + 800adbe: 68db ldr r3, [r3, #12] + 800adc0: 899b ldrh r3, [r3, #12] + 800adc2: b29b uxth r3, r3 + 800adc4: 4618 mov r0, r3 + 800adc6: f7fa ffa1 bl 8005d0c + 800adca: 4603 mov r3, r0 + 800adcc: b2db uxtb r3, r3 + 800adce: f003 0302 and.w r3, r3, #2 if ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0 && - 800a44e: 2b00 cmp r3, #0 - 800a450: d12f bne.n 800a4b2 + 800add2: 2b00 cmp r3, #0 + 800add4: d12f bne.n 800ae36 TCPH_SET_FLAG(inseg.tcphdr, TCP_FIN); - 800a452: 4b10 ldr r3, [pc, #64] @ (800a494 ) - 800a454: 68db ldr r3, [r3, #12] - 800a456: 899b ldrh r3, [r3, #12] - 800a458: b29c uxth r4, r3 - 800a45a: 2001 movs r0, #1 - 800a45c: f7fa ff94 bl 8005388 - 800a460: 4603 mov r3, r0 - 800a462: 461a mov r2, r3 - 800a464: 4b0b ldr r3, [pc, #44] @ (800a494 ) - 800a466: 68db ldr r3, [r3, #12] - 800a468: 4322 orrs r2, r4 - 800a46a: b292 uxth r2, r2 - 800a46c: 819a strh r2, [r3, #12] + 800add6: 4b10 ldr r3, [pc, #64] @ (800ae18 ) + 800add8: 68db ldr r3, [r3, #12] + 800adda: 899b ldrh r3, [r3, #12] + 800addc: b29c uxth r4, r3 + 800adde: 2001 movs r0, #1 + 800ade0: f7fa ff94 bl 8005d0c + 800ade4: 4603 mov r3, r0 + 800ade6: 461a mov r2, r3 + 800ade8: 4b0b ldr r3, [pc, #44] @ (800ae18 ) + 800adea: 68db ldr r3, [r3, #12] + 800adec: 4322 orrs r2, r4 + 800adee: b292 uxth r2, r2 + 800adf0: 819a strh r2, [r3, #12] tcplen = TCP_TCPLEN(&inseg); - 800a46e: 4b09 ldr r3, [pc, #36] @ (800a494 ) - 800a470: 891c ldrh r4, [r3, #8] - 800a472: 4b08 ldr r3, [pc, #32] @ (800a494 ) - 800a474: 68db ldr r3, [r3, #12] - 800a476: 899b ldrh r3, [r3, #12] - 800a478: b29b uxth r3, r3 - 800a47a: 4618 mov r0, r3 - 800a47c: f7fa ff84 bl 8005388 - 800a480: 4603 mov r3, r0 - 800a482: b2db uxtb r3, r3 - 800a484: f003 0303 and.w r3, r3, #3 - 800a488: 2b00 cmp r3, #0 - 800a48a: d00d beq.n 800a4a8 - 800a48c: 2301 movs r3, #1 - 800a48e: e00c b.n 800a4aa - 800a490: 200190dc .word 0x200190dc - 800a494: 200190bc .word 0x200190bc - 800a498: 200190e6 .word 0x200190e6 - 800a49c: 0801721c .word 0x0801721c - 800a4a0: 080175c4 .word 0x080175c4 - 800a4a4: 08017268 .word 0x08017268 - 800a4a8: 2300 movs r3, #0 - 800a4aa: 4423 add r3, r4 - 800a4ac: b29a uxth r2, r3 - 800a4ae: 4b98 ldr r3, [pc, #608] @ (800a710 ) - 800a4b0: 801a strh r2, [r3, #0] + 800adf2: 4b09 ldr r3, [pc, #36] @ (800ae18 ) + 800adf4: 891c ldrh r4, [r3, #8] + 800adf6: 4b08 ldr r3, [pc, #32] @ (800ae18 ) + 800adf8: 68db ldr r3, [r3, #12] + 800adfa: 899b ldrh r3, [r3, #12] + 800adfc: b29b uxth r3, r3 + 800adfe: 4618 mov r0, r3 + 800ae00: f7fa ff84 bl 8005d0c + 800ae04: 4603 mov r3, r0 + 800ae06: b2db uxtb r3, r3 + 800ae08: f003 0303 and.w r3, r3, #3 + 800ae0c: 2b00 cmp r3, #0 + 800ae0e: d00d beq.n 800ae2c + 800ae10: 2301 movs r3, #1 + 800ae12: e00c b.n 800ae2e + 800ae14: 20019110 .word 0x20019110 + 800ae18: 200190f0 .word 0x200190f0 + 800ae1c: 2001911a .word 0x2001911a + 800ae20: 08017b9c .word 0x08017b9c + 800ae24: 08017f44 .word 0x08017f44 + 800ae28: 08017be8 .word 0x08017be8 + 800ae2c: 2300 movs r3, #0 + 800ae2e: 4423 add r3, r4 + 800ae30: b29a uxth r2, r3 + 800ae32: 4b98 ldr r3, [pc, #608] @ (800b094 ) + 800ae34: 801a strh r2, [r3, #0] } tmp = next; - 800a4b2: 6bfb ldr r3, [r7, #60] @ 0x3c - 800a4b4: 613b str r3, [r7, #16] + 800ae36: 6bfb ldr r3, [r7, #60] @ 0x3c + 800ae38: 613b str r3, [r7, #16] next = next->next; - 800a4b6: 6bfb ldr r3, [r7, #60] @ 0x3c - 800a4b8: 681b ldr r3, [r3, #0] - 800a4ba: 63fb str r3, [r7, #60] @ 0x3c + 800ae3a: 6bfb ldr r3, [r7, #60] @ 0x3c + 800ae3c: 681b ldr r3, [r3, #0] + 800ae3e: 63fb str r3, [r7, #60] @ 0x3c tcp_seg_free(tmp); - 800a4bc: 6938 ldr r0, [r7, #16] - 800a4be: f7fd fd38 bl 8007f32 + 800ae40: 6938 ldr r0, [r7, #16] + 800ae42: f7fd fd38 bl 80088b6 while (next && - 800a4c2: 6bfb ldr r3, [r7, #60] @ 0x3c - 800a4c4: 2b00 cmp r3, #0 - 800a4c6: d00e beq.n 800a4e6 + 800ae46: 6bfb ldr r3, [r7, #60] @ 0x3c + 800ae48: 2b00 cmp r3, #0 + 800ae4a: d00e beq.n 800ae6a TCP_SEQ_GEQ(seqno + tcplen, - 800a4c8: 4b91 ldr r3, [pc, #580] @ (800a710 ) - 800a4ca: 881b ldrh r3, [r3, #0] - 800a4cc: 461a mov r2, r3 - 800a4ce: 4b91 ldr r3, [pc, #580] @ (800a714 ) - 800a4d0: 681b ldr r3, [r3, #0] - 800a4d2: 441a add r2, r3 - 800a4d4: 6bfb ldr r3, [r7, #60] @ 0x3c - 800a4d6: 68db ldr r3, [r3, #12] - 800a4d8: 685b ldr r3, [r3, #4] - 800a4da: 6bf9 ldr r1, [r7, #60] @ 0x3c - 800a4dc: 8909 ldrh r1, [r1, #8] - 800a4de: 440b add r3, r1 - 800a4e0: 1ad3 subs r3, r2, r3 + 800ae4c: 4b91 ldr r3, [pc, #580] @ (800b094 ) + 800ae4e: 881b ldrh r3, [r3, #0] + 800ae50: 461a mov r2, r3 + 800ae52: 4b91 ldr r3, [pc, #580] @ (800b098 ) + 800ae54: 681b ldr r3, [r3, #0] + 800ae56: 441a add r2, r3 + 800ae58: 6bfb ldr r3, [r7, #60] @ 0x3c + 800ae5a: 68db ldr r3, [r3, #12] + 800ae5c: 685b ldr r3, [r3, #4] + 800ae5e: 6bf9 ldr r1, [r7, #60] @ 0x3c + 800ae60: 8909 ldrh r1, [r1, #8] + 800ae62: 440b add r3, r1 + 800ae64: 1ad3 subs r3, r2, r3 while (next && - 800a4e2: 2b00 cmp r3, #0 - 800a4e4: da9b bge.n 800a41e + 800ae66: 2b00 cmp r3, #0 + 800ae68: da9b bge.n 800ada2 } /* Now trim right side of inseg if it overlaps with the first * segment on ooseq */ if (next && - 800a4e6: 6bfb ldr r3, [r7, #60] @ 0x3c - 800a4e8: 2b00 cmp r3, #0 - 800a4ea: d059 beq.n 800a5a0 + 800ae6a: 6bfb ldr r3, [r7, #60] @ 0x3c + 800ae6c: 2b00 cmp r3, #0 + 800ae6e: d059 beq.n 800af24 TCP_SEQ_GT(seqno + tcplen, - 800a4ec: 4b88 ldr r3, [pc, #544] @ (800a710 ) - 800a4ee: 881b ldrh r3, [r3, #0] - 800a4f0: 461a mov r2, r3 - 800a4f2: 4b88 ldr r3, [pc, #544] @ (800a714 ) - 800a4f4: 681b ldr r3, [r3, #0] - 800a4f6: 441a add r2, r3 - 800a4f8: 6bfb ldr r3, [r7, #60] @ 0x3c - 800a4fa: 68db ldr r3, [r3, #12] - 800a4fc: 685b ldr r3, [r3, #4] - 800a4fe: 1ad3 subs r3, r2, r3 + 800ae70: 4b88 ldr r3, [pc, #544] @ (800b094 ) + 800ae72: 881b ldrh r3, [r3, #0] + 800ae74: 461a mov r2, r3 + 800ae76: 4b88 ldr r3, [pc, #544] @ (800b098 ) + 800ae78: 681b ldr r3, [r3, #0] + 800ae7a: 441a add r2, r3 + 800ae7c: 6bfb ldr r3, [r7, #60] @ 0x3c + 800ae7e: 68db ldr r3, [r3, #12] + 800ae80: 685b ldr r3, [r3, #4] + 800ae82: 1ad3 subs r3, r2, r3 if (next && - 800a500: 2b00 cmp r3, #0 - 800a502: dd4d ble.n 800a5a0 + 800ae84: 2b00 cmp r3, #0 + 800ae86: dd4d ble.n 800af24 next->tcphdr->seqno)) { /* inseg cannot have FIN here (already processed above) */ inseg.len = (u16_t)(next->tcphdr->seqno - seqno); - 800a504: 6bfb ldr r3, [r7, #60] @ 0x3c - 800a506: 68db ldr r3, [r3, #12] - 800a508: 685b ldr r3, [r3, #4] - 800a50a: b29a uxth r2, r3 - 800a50c: 4b81 ldr r3, [pc, #516] @ (800a714 ) - 800a50e: 681b ldr r3, [r3, #0] - 800a510: b29b uxth r3, r3 - 800a512: 1ad3 subs r3, r2, r3 - 800a514: b29a uxth r2, r3 - 800a516: 4b80 ldr r3, [pc, #512] @ (800a718 ) - 800a518: 811a strh r2, [r3, #8] + 800ae88: 6bfb ldr r3, [r7, #60] @ 0x3c + 800ae8a: 68db ldr r3, [r3, #12] + 800ae8c: 685b ldr r3, [r3, #4] + 800ae8e: b29a uxth r2, r3 + 800ae90: 4b81 ldr r3, [pc, #516] @ (800b098 ) + 800ae92: 681b ldr r3, [r3, #0] + 800ae94: b29b uxth r3, r3 + 800ae96: 1ad3 subs r3, r2, r3 + 800ae98: b29a uxth r2, r3 + 800ae9a: 4b80 ldr r3, [pc, #512] @ (800b09c ) + 800ae9c: 811a strh r2, [r3, #8] if (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) { - 800a51a: 4b7f ldr r3, [pc, #508] @ (800a718 ) - 800a51c: 68db ldr r3, [r3, #12] - 800a51e: 899b ldrh r3, [r3, #12] - 800a520: b29b uxth r3, r3 - 800a522: 4618 mov r0, r3 - 800a524: f7fa ff30 bl 8005388 - 800a528: 4603 mov r3, r0 - 800a52a: b2db uxtb r3, r3 - 800a52c: f003 0302 and.w r3, r3, #2 - 800a530: 2b00 cmp r3, #0 - 800a532: d005 beq.n 800a540 + 800ae9e: 4b7f ldr r3, [pc, #508] @ (800b09c ) + 800aea0: 68db ldr r3, [r3, #12] + 800aea2: 899b ldrh r3, [r3, #12] + 800aea4: b29b uxth r3, r3 + 800aea6: 4618 mov r0, r3 + 800aea8: f7fa ff30 bl 8005d0c + 800aeac: 4603 mov r3, r0 + 800aeae: b2db uxtb r3, r3 + 800aeb0: f003 0302 and.w r3, r3, #2 + 800aeb4: 2b00 cmp r3, #0 + 800aeb6: d005 beq.n 800aec4 inseg.len -= 1; - 800a534: 4b78 ldr r3, [pc, #480] @ (800a718 ) - 800a536: 891b ldrh r3, [r3, #8] - 800a538: 3b01 subs r3, #1 - 800a53a: b29a uxth r2, r3 - 800a53c: 4b76 ldr r3, [pc, #472] @ (800a718 ) - 800a53e: 811a strh r2, [r3, #8] + 800aeb8: 4b78 ldr r3, [pc, #480] @ (800b09c ) + 800aeba: 891b ldrh r3, [r3, #8] + 800aebc: 3b01 subs r3, #1 + 800aebe: b29a uxth r2, r3 + 800aec0: 4b76 ldr r3, [pc, #472] @ (800b09c ) + 800aec2: 811a strh r2, [r3, #8] } pbuf_realloc(inseg.p, inseg.len); - 800a540: 4b75 ldr r3, [pc, #468] @ (800a718 ) - 800a542: 685b ldr r3, [r3, #4] - 800a544: 4a74 ldr r2, [pc, #464] @ (800a718 ) - 800a546: 8912 ldrh r2, [r2, #8] - 800a548: 4611 mov r1, r2 - 800a54a: 4618 mov r0, r3 - 800a54c: f7fc f8e8 bl 8006720 + 800aec4: 4b75 ldr r3, [pc, #468] @ (800b09c ) + 800aec6: 685b ldr r3, [r3, #4] + 800aec8: 4a74 ldr r2, [pc, #464] @ (800b09c ) + 800aeca: 8912 ldrh r2, [r2, #8] + 800aecc: 4611 mov r1, r2 + 800aece: 4618 mov r0, r3 + 800aed0: f7fc f8e8 bl 80070a4 tcplen = TCP_TCPLEN(&inseg); - 800a550: 4b71 ldr r3, [pc, #452] @ (800a718 ) - 800a552: 891c ldrh r4, [r3, #8] - 800a554: 4b70 ldr r3, [pc, #448] @ (800a718 ) - 800a556: 68db ldr r3, [r3, #12] - 800a558: 899b ldrh r3, [r3, #12] - 800a55a: b29b uxth r3, r3 - 800a55c: 4618 mov r0, r3 - 800a55e: f7fa ff13 bl 8005388 - 800a562: 4603 mov r3, r0 - 800a564: b2db uxtb r3, r3 - 800a566: f003 0303 and.w r3, r3, #3 - 800a56a: 2b00 cmp r3, #0 - 800a56c: d001 beq.n 800a572 - 800a56e: 2301 movs r3, #1 - 800a570: e000 b.n 800a574 - 800a572: 2300 movs r3, #0 - 800a574: 4423 add r3, r4 - 800a576: b29a uxth r2, r3 - 800a578: 4b65 ldr r3, [pc, #404] @ (800a710 ) - 800a57a: 801a strh r2, [r3, #0] + 800aed4: 4b71 ldr r3, [pc, #452] @ (800b09c ) + 800aed6: 891c ldrh r4, [r3, #8] + 800aed8: 4b70 ldr r3, [pc, #448] @ (800b09c ) + 800aeda: 68db ldr r3, [r3, #12] + 800aedc: 899b ldrh r3, [r3, #12] + 800aede: b29b uxth r3, r3 + 800aee0: 4618 mov r0, r3 + 800aee2: f7fa ff13 bl 8005d0c + 800aee6: 4603 mov r3, r0 + 800aee8: b2db uxtb r3, r3 + 800aeea: f003 0303 and.w r3, r3, #3 + 800aeee: 2b00 cmp r3, #0 + 800aef0: d001 beq.n 800aef6 + 800aef2: 2301 movs r3, #1 + 800aef4: e000 b.n 800aef8 + 800aef6: 2300 movs r3, #0 + 800aef8: 4423 add r3, r4 + 800aefa: b29a uxth r2, r3 + 800aefc: 4b65 ldr r3, [pc, #404] @ (800b094 ) + 800aefe: 801a strh r2, [r3, #0] LWIP_ASSERT("tcp_receive: segment not trimmed correctly to ooseq queue\n", - 800a57c: 4b64 ldr r3, [pc, #400] @ (800a710 ) - 800a57e: 881b ldrh r3, [r3, #0] - 800a580: 461a mov r2, r3 - 800a582: 4b64 ldr r3, [pc, #400] @ (800a714 ) - 800a584: 681b ldr r3, [r3, #0] - 800a586: 441a add r2, r3 - 800a588: 6bfb ldr r3, [r7, #60] @ 0x3c - 800a58a: 68db ldr r3, [r3, #12] - 800a58c: 685b ldr r3, [r3, #4] - 800a58e: 429a cmp r2, r3 - 800a590: d006 beq.n 800a5a0 - 800a592: 4b62 ldr r3, [pc, #392] @ (800a71c ) - 800a594: f240 52fc movw r2, #1532 @ 0x5fc - 800a598: 4961 ldr r1, [pc, #388] @ (800a720 ) - 800a59a: 4862 ldr r0, [pc, #392] @ (800a724 ) - 800a59c: f007 f82c bl 80115f8 + 800af00: 4b64 ldr r3, [pc, #400] @ (800b094 ) + 800af02: 881b ldrh r3, [r3, #0] + 800af04: 461a mov r2, r3 + 800af06: 4b64 ldr r3, [pc, #400] @ (800b098 ) + 800af08: 681b ldr r3, [r3, #0] + 800af0a: 441a add r2, r3 + 800af0c: 6bfb ldr r3, [r7, #60] @ 0x3c + 800af0e: 68db ldr r3, [r3, #12] + 800af10: 685b ldr r3, [r3, #4] + 800af12: 429a cmp r2, r3 + 800af14: d006 beq.n 800af24 + 800af16: 4b62 ldr r3, [pc, #392] @ (800b0a0 ) + 800af18: f240 52fc movw r2, #1532 @ 0x5fc + 800af1c: 4961 ldr r1, [pc, #388] @ (800b0a4 ) + 800af1e: 4862 ldr r0, [pc, #392] @ (800b0a8 ) + 800af20: f007 f82c bl 8011f7c (seqno + tcplen) == next->tcphdr->seqno); } pcb->ooseq = next; - 800a5a0: 687b ldr r3, [r7, #4] - 800a5a2: 6bfa ldr r2, [r7, #60] @ 0x3c - 800a5a4: 675a str r2, [r3, #116] @ 0x74 + 800af24: 687b ldr r3, [r7, #4] + 800af26: 6bfa ldr r2, [r7, #60] @ 0x3c + 800af28: 675a str r2, [r3, #116] @ 0x74 } } #endif /* TCP_QUEUE_OOSEQ */ pcb->rcv_nxt = seqno + tcplen; - 800a5a6: 4b5a ldr r3, [pc, #360] @ (800a710 ) - 800a5a8: 881b ldrh r3, [r3, #0] - 800a5aa: 461a mov r2, r3 - 800a5ac: 4b59 ldr r3, [pc, #356] @ (800a714 ) - 800a5ae: 681b ldr r3, [r3, #0] - 800a5b0: 441a add r2, r3 - 800a5b2: 687b ldr r3, [r7, #4] - 800a5b4: 625a str r2, [r3, #36] @ 0x24 + 800af2a: 4b5a ldr r3, [pc, #360] @ (800b094 ) + 800af2c: 881b ldrh r3, [r3, #0] + 800af2e: 461a mov r2, r3 + 800af30: 4b59 ldr r3, [pc, #356] @ (800b098 ) + 800af32: 681b ldr r3, [r3, #0] + 800af34: 441a add r2, r3 + 800af36: 687b ldr r3, [r7, #4] + 800af38: 625a str r2, [r3, #36] @ 0x24 /* Update the receiver's (our) window. */ LWIP_ASSERT("tcp_receive: tcplen > rcv_wnd\n", pcb->rcv_wnd >= tcplen); - 800a5b6: 687b ldr r3, [r7, #4] - 800a5b8: 8d1a ldrh r2, [r3, #40] @ 0x28 - 800a5ba: 4b55 ldr r3, [pc, #340] @ (800a710 ) - 800a5bc: 881b ldrh r3, [r3, #0] - 800a5be: 429a cmp r2, r3 - 800a5c0: d206 bcs.n 800a5d0 - 800a5c2: 4b56 ldr r3, [pc, #344] @ (800a71c ) - 800a5c4: f240 6207 movw r2, #1543 @ 0x607 - 800a5c8: 4957 ldr r1, [pc, #348] @ (800a728 ) - 800a5ca: 4856 ldr r0, [pc, #344] @ (800a724 ) - 800a5cc: f007 f814 bl 80115f8 + 800af3a: 687b ldr r3, [r7, #4] + 800af3c: 8d1a ldrh r2, [r3, #40] @ 0x28 + 800af3e: 4b55 ldr r3, [pc, #340] @ (800b094 ) + 800af40: 881b ldrh r3, [r3, #0] + 800af42: 429a cmp r2, r3 + 800af44: d206 bcs.n 800af54 + 800af46: 4b56 ldr r3, [pc, #344] @ (800b0a0 ) + 800af48: f240 6207 movw r2, #1543 @ 0x607 + 800af4c: 4957 ldr r1, [pc, #348] @ (800b0ac ) + 800af4e: 4856 ldr r0, [pc, #344] @ (800b0a8 ) + 800af50: f007 f814 bl 8011f7c pcb->rcv_wnd -= tcplen; - 800a5d0: 687b ldr r3, [r7, #4] - 800a5d2: 8d1a ldrh r2, [r3, #40] @ 0x28 - 800a5d4: 4b4e ldr r3, [pc, #312] @ (800a710 ) - 800a5d6: 881b ldrh r3, [r3, #0] - 800a5d8: 1ad3 subs r3, r2, r3 - 800a5da: b29a uxth r2, r3 - 800a5dc: 687b ldr r3, [r7, #4] - 800a5de: 851a strh r2, [r3, #40] @ 0x28 + 800af54: 687b ldr r3, [r7, #4] + 800af56: 8d1a ldrh r2, [r3, #40] @ 0x28 + 800af58: 4b4e ldr r3, [pc, #312] @ (800b094 ) + 800af5a: 881b ldrh r3, [r3, #0] + 800af5c: 1ad3 subs r3, r2, r3 + 800af5e: b29a uxth r2, r3 + 800af60: 687b ldr r3, [r7, #4] + 800af62: 851a strh r2, [r3, #40] @ 0x28 tcp_update_rcv_ann_wnd(pcb); - 800a5e0: 6878 ldr r0, [r7, #4] - 800a5e2: f7fc ffc5 bl 8007570 + 800af64: 6878 ldr r0, [r7, #4] + 800af66: f7fc ffc5 bl 8007ef4 chains its data on this pbuf as well. If the segment was a FIN, we set the TF_GOT_FIN flag that will be used to indicate to the application that the remote side has closed its end of the connection. */ if (inseg.p->tot_len > 0) { - 800a5e6: 4b4c ldr r3, [pc, #304] @ (800a718 ) - 800a5e8: 685b ldr r3, [r3, #4] - 800a5ea: 891b ldrh r3, [r3, #8] - 800a5ec: 2b00 cmp r3, #0 - 800a5ee: d006 beq.n 800a5fe + 800af6a: 4b4c ldr r3, [pc, #304] @ (800b09c ) + 800af6c: 685b ldr r3, [r3, #4] + 800af6e: 891b ldrh r3, [r3, #8] + 800af70: 2b00 cmp r3, #0 + 800af72: d006 beq.n 800af82 recv_data = inseg.p; - 800a5f0: 4b49 ldr r3, [pc, #292] @ (800a718 ) - 800a5f2: 685b ldr r3, [r3, #4] - 800a5f4: 4a4d ldr r2, [pc, #308] @ (800a72c ) - 800a5f6: 6013 str r3, [r2, #0] + 800af74: 4b49 ldr r3, [pc, #292] @ (800b09c ) + 800af76: 685b ldr r3, [r3, #4] + 800af78: 4a4d ldr r2, [pc, #308] @ (800b0b0 ) + 800af7a: 6013 str r3, [r2, #0] /* Since this pbuf now is the responsibility of the application, we delete our reference to it so that we won't (mistakingly) deallocate it. */ inseg.p = NULL; - 800a5f8: 4b47 ldr r3, [pc, #284] @ (800a718 ) - 800a5fa: 2200 movs r2, #0 - 800a5fc: 605a str r2, [r3, #4] + 800af7c: 4b47 ldr r3, [pc, #284] @ (800b09c ) + 800af7e: 2200 movs r2, #0 + 800af80: 605a str r2, [r3, #4] } if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { - 800a5fe: 4b46 ldr r3, [pc, #280] @ (800a718 ) - 800a600: 68db ldr r3, [r3, #12] - 800a602: 899b ldrh r3, [r3, #12] - 800a604: b29b uxth r3, r3 - 800a606: 4618 mov r0, r3 - 800a608: f7fa febe bl 8005388 - 800a60c: 4603 mov r3, r0 - 800a60e: b2db uxtb r3, r3 - 800a610: f003 0301 and.w r3, r3, #1 - 800a614: 2b00 cmp r3, #0 - 800a616: f000 80b8 beq.w 800a78a + 800af82: 4b46 ldr r3, [pc, #280] @ (800b09c ) + 800af84: 68db ldr r3, [r3, #12] + 800af86: 899b ldrh r3, [r3, #12] + 800af88: b29b uxth r3, r3 + 800af8a: 4618 mov r0, r3 + 800af8c: f7fa febe bl 8005d0c + 800af90: 4603 mov r3, r0 + 800af92: b2db uxtb r3, r3 + 800af94: f003 0301 and.w r3, r3, #1 + 800af98: 2b00 cmp r3, #0 + 800af9a: f000 80b8 beq.w 800b10e LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: received FIN.\n")); recv_flags |= TF_GOT_FIN; - 800a61a: 4b45 ldr r3, [pc, #276] @ (800a730 ) - 800a61c: 781b ldrb r3, [r3, #0] - 800a61e: f043 0320 orr.w r3, r3, #32 - 800a622: b2da uxtb r2, r3 - 800a624: 4b42 ldr r3, [pc, #264] @ (800a730 ) - 800a626: 701a strb r2, [r3, #0] + 800af9e: 4b45 ldr r3, [pc, #276] @ (800b0b4 ) + 800afa0: 781b ldrb r3, [r3, #0] + 800afa2: f043 0320 orr.w r3, r3, #32 + 800afa6: b2da uxtb r2, r3 + 800afa8: 4b42 ldr r3, [pc, #264] @ (800b0b4 ) + 800afaa: 701a strb r2, [r3, #0] } #if TCP_QUEUE_OOSEQ /* We now check if we have segments on the ->ooseq queue that are now in sequence. */ while (pcb->ooseq != NULL && - 800a628: e0af b.n 800a78a + 800afac: e0af b.n 800b10e pcb->ooseq->tcphdr->seqno == pcb->rcv_nxt) { struct tcp_seg *cseg = pcb->ooseq; - 800a62a: 687b ldr r3, [r7, #4] - 800a62c: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a62e: 60bb str r3, [r7, #8] + 800afae: 687b ldr r3, [r7, #4] + 800afb0: 6f5b ldr r3, [r3, #116] @ 0x74 + 800afb2: 60bb str r3, [r7, #8] seqno = pcb->ooseq->tcphdr->seqno; - 800a630: 687b ldr r3, [r7, #4] - 800a632: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a634: 68db ldr r3, [r3, #12] - 800a636: 685b ldr r3, [r3, #4] - 800a638: 4a36 ldr r2, [pc, #216] @ (800a714 ) - 800a63a: 6013 str r3, [r2, #0] + 800afb4: 687b ldr r3, [r7, #4] + 800afb6: 6f5b ldr r3, [r3, #116] @ 0x74 + 800afb8: 68db ldr r3, [r3, #12] + 800afba: 685b ldr r3, [r3, #4] + 800afbc: 4a36 ldr r2, [pc, #216] @ (800b098 ) + 800afbe: 6013 str r3, [r2, #0] pcb->rcv_nxt += TCP_TCPLEN(cseg); - 800a63c: 68bb ldr r3, [r7, #8] - 800a63e: 891b ldrh r3, [r3, #8] - 800a640: 461c mov r4, r3 - 800a642: 68bb ldr r3, [r7, #8] - 800a644: 68db ldr r3, [r3, #12] - 800a646: 899b ldrh r3, [r3, #12] - 800a648: b29b uxth r3, r3 - 800a64a: 4618 mov r0, r3 - 800a64c: f7fa fe9c bl 8005388 - 800a650: 4603 mov r3, r0 - 800a652: b2db uxtb r3, r3 - 800a654: f003 0303 and.w r3, r3, #3 - 800a658: 2b00 cmp r3, #0 - 800a65a: d001 beq.n 800a660 - 800a65c: 2301 movs r3, #1 - 800a65e: e000 b.n 800a662 - 800a660: 2300 movs r3, #0 - 800a662: 191a adds r2, r3, r4 - 800a664: 687b ldr r3, [r7, #4] - 800a666: 6a5b ldr r3, [r3, #36] @ 0x24 - 800a668: 441a add r2, r3 - 800a66a: 687b ldr r3, [r7, #4] - 800a66c: 625a str r2, [r3, #36] @ 0x24 + 800afc0: 68bb ldr r3, [r7, #8] + 800afc2: 891b ldrh r3, [r3, #8] + 800afc4: 461c mov r4, r3 + 800afc6: 68bb ldr r3, [r7, #8] + 800afc8: 68db ldr r3, [r3, #12] + 800afca: 899b ldrh r3, [r3, #12] + 800afcc: b29b uxth r3, r3 + 800afce: 4618 mov r0, r3 + 800afd0: f7fa fe9c bl 8005d0c + 800afd4: 4603 mov r3, r0 + 800afd6: b2db uxtb r3, r3 + 800afd8: f003 0303 and.w r3, r3, #3 + 800afdc: 2b00 cmp r3, #0 + 800afde: d001 beq.n 800afe4 + 800afe0: 2301 movs r3, #1 + 800afe2: e000 b.n 800afe6 + 800afe4: 2300 movs r3, #0 + 800afe6: 191a adds r2, r3, r4 + 800afe8: 687b ldr r3, [r7, #4] + 800afea: 6a5b ldr r3, [r3, #36] @ 0x24 + 800afec: 441a add r2, r3 + 800afee: 687b ldr r3, [r7, #4] + 800aff0: 625a str r2, [r3, #36] @ 0x24 LWIP_ASSERT("tcp_receive: ooseq tcplen > rcv_wnd\n", - 800a66e: 687b ldr r3, [r7, #4] - 800a670: 8d1b ldrh r3, [r3, #40] @ 0x28 - 800a672: 461c mov r4, r3 - 800a674: 68bb ldr r3, [r7, #8] - 800a676: 891b ldrh r3, [r3, #8] - 800a678: 461d mov r5, r3 - 800a67a: 68bb ldr r3, [r7, #8] - 800a67c: 68db ldr r3, [r3, #12] - 800a67e: 899b ldrh r3, [r3, #12] - 800a680: b29b uxth r3, r3 - 800a682: 4618 mov r0, r3 - 800a684: f7fa fe80 bl 8005388 - 800a688: 4603 mov r3, r0 - 800a68a: b2db uxtb r3, r3 - 800a68c: f003 0303 and.w r3, r3, #3 - 800a690: 2b00 cmp r3, #0 - 800a692: d001 beq.n 800a698 - 800a694: 2301 movs r3, #1 - 800a696: e000 b.n 800a69a - 800a698: 2300 movs r3, #0 - 800a69a: 442b add r3, r5 - 800a69c: 429c cmp r4, r3 - 800a69e: d206 bcs.n 800a6ae - 800a6a0: 4b1e ldr r3, [pc, #120] @ (800a71c ) - 800a6a2: f240 622b movw r2, #1579 @ 0x62b - 800a6a6: 4923 ldr r1, [pc, #140] @ (800a734 ) - 800a6a8: 481e ldr r0, [pc, #120] @ (800a724 ) - 800a6aa: f006 ffa5 bl 80115f8 + 800aff2: 687b ldr r3, [r7, #4] + 800aff4: 8d1b ldrh r3, [r3, #40] @ 0x28 + 800aff6: 461c mov r4, r3 + 800aff8: 68bb ldr r3, [r7, #8] + 800affa: 891b ldrh r3, [r3, #8] + 800affc: 461d mov r5, r3 + 800affe: 68bb ldr r3, [r7, #8] + 800b000: 68db ldr r3, [r3, #12] + 800b002: 899b ldrh r3, [r3, #12] + 800b004: b29b uxth r3, r3 + 800b006: 4618 mov r0, r3 + 800b008: f7fa fe80 bl 8005d0c + 800b00c: 4603 mov r3, r0 + 800b00e: b2db uxtb r3, r3 + 800b010: f003 0303 and.w r3, r3, #3 + 800b014: 2b00 cmp r3, #0 + 800b016: d001 beq.n 800b01c + 800b018: 2301 movs r3, #1 + 800b01a: e000 b.n 800b01e + 800b01c: 2300 movs r3, #0 + 800b01e: 442b add r3, r5 + 800b020: 429c cmp r4, r3 + 800b022: d206 bcs.n 800b032 + 800b024: 4b1e ldr r3, [pc, #120] @ (800b0a0 ) + 800b026: f240 622b movw r2, #1579 @ 0x62b + 800b02a: 4923 ldr r1, [pc, #140] @ (800b0b8 ) + 800b02c: 481e ldr r0, [pc, #120] @ (800b0a8 ) + 800b02e: f006 ffa5 bl 8011f7c pcb->rcv_wnd >= TCP_TCPLEN(cseg)); pcb->rcv_wnd -= TCP_TCPLEN(cseg); - 800a6ae: 68bb ldr r3, [r7, #8] - 800a6b0: 891b ldrh r3, [r3, #8] - 800a6b2: 461c mov r4, r3 - 800a6b4: 68bb ldr r3, [r7, #8] - 800a6b6: 68db ldr r3, [r3, #12] - 800a6b8: 899b ldrh r3, [r3, #12] - 800a6ba: b29b uxth r3, r3 - 800a6bc: 4618 mov r0, r3 - 800a6be: f7fa fe63 bl 8005388 - 800a6c2: 4603 mov r3, r0 - 800a6c4: b2db uxtb r3, r3 - 800a6c6: f003 0303 and.w r3, r3, #3 - 800a6ca: 2b00 cmp r3, #0 - 800a6cc: d001 beq.n 800a6d2 - 800a6ce: 2301 movs r3, #1 - 800a6d0: e000 b.n 800a6d4 - 800a6d2: 2300 movs r3, #0 - 800a6d4: 1919 adds r1, r3, r4 - 800a6d6: 687b ldr r3, [r7, #4] - 800a6d8: 8d1a ldrh r2, [r3, #40] @ 0x28 - 800a6da: b28b uxth r3, r1 - 800a6dc: 1ad3 subs r3, r2, r3 - 800a6de: b29a uxth r2, r3 - 800a6e0: 687b ldr r3, [r7, #4] - 800a6e2: 851a strh r2, [r3, #40] @ 0x28 + 800b032: 68bb ldr r3, [r7, #8] + 800b034: 891b ldrh r3, [r3, #8] + 800b036: 461c mov r4, r3 + 800b038: 68bb ldr r3, [r7, #8] + 800b03a: 68db ldr r3, [r3, #12] + 800b03c: 899b ldrh r3, [r3, #12] + 800b03e: b29b uxth r3, r3 + 800b040: 4618 mov r0, r3 + 800b042: f7fa fe63 bl 8005d0c + 800b046: 4603 mov r3, r0 + 800b048: b2db uxtb r3, r3 + 800b04a: f003 0303 and.w r3, r3, #3 + 800b04e: 2b00 cmp r3, #0 + 800b050: d001 beq.n 800b056 + 800b052: 2301 movs r3, #1 + 800b054: e000 b.n 800b058 + 800b056: 2300 movs r3, #0 + 800b058: 1919 adds r1, r3, r4 + 800b05a: 687b ldr r3, [r7, #4] + 800b05c: 8d1a ldrh r2, [r3, #40] @ 0x28 + 800b05e: b28b uxth r3, r1 + 800b060: 1ad3 subs r3, r2, r3 + 800b062: b29a uxth r2, r3 + 800b064: 687b ldr r3, [r7, #4] + 800b066: 851a strh r2, [r3, #40] @ 0x28 tcp_update_rcv_ann_wnd(pcb); - 800a6e4: 6878 ldr r0, [r7, #4] - 800a6e6: f7fc ff43 bl 8007570 + 800b068: 6878 ldr r0, [r7, #4] + 800b06a: f7fc ff43 bl 8007ef4 if (cseg->p->tot_len > 0) { - 800a6ea: 68bb ldr r3, [r7, #8] - 800a6ec: 685b ldr r3, [r3, #4] - 800a6ee: 891b ldrh r3, [r3, #8] - 800a6f0: 2b00 cmp r3, #0 - 800a6f2: d028 beq.n 800a746 + 800b06e: 68bb ldr r3, [r7, #8] + 800b070: 685b ldr r3, [r3, #4] + 800b072: 891b ldrh r3, [r3, #8] + 800b074: 2b00 cmp r3, #0 + 800b076: d028 beq.n 800b0ca /* Chain this pbuf onto the pbuf that we will pass to the application. */ /* With window scaling, this can overflow recv_data->tot_len, but that's not a problem since we explicitly fix that before passing recv_data to the application. */ if (recv_data) { - 800a6f4: 4b0d ldr r3, [pc, #52] @ (800a72c ) - 800a6f6: 681b ldr r3, [r3, #0] - 800a6f8: 2b00 cmp r3, #0 - 800a6fa: d01d beq.n 800a738 + 800b078: 4b0d ldr r3, [pc, #52] @ (800b0b0 ) + 800b07a: 681b ldr r3, [r3, #0] + 800b07c: 2b00 cmp r3, #0 + 800b07e: d01d beq.n 800b0bc pbuf_cat(recv_data, cseg->p); - 800a6fc: 4b0b ldr r3, [pc, #44] @ (800a72c ) - 800a6fe: 681a ldr r2, [r3, #0] - 800a700: 68bb ldr r3, [r7, #8] - 800a702: 685b ldr r3, [r3, #4] - 800a704: 4619 mov r1, r3 - 800a706: 4610 mov r0, r2 - 800a708: f7fc fa50 bl 8006bac - 800a70c: e018 b.n 800a740 - 800a70e: bf00 nop - 800a710: 200190e6 .word 0x200190e6 - 800a714: 200190dc .word 0x200190dc - 800a718: 200190bc .word 0x200190bc - 800a71c: 0801721c .word 0x0801721c - 800a720: 080175fc .word 0x080175fc - 800a724: 08017268 .word 0x08017268 - 800a728: 08017638 .word 0x08017638 - 800a72c: 200190ec .word 0x200190ec - 800a730: 200190e9 .word 0x200190e9 - 800a734: 08017658 .word 0x08017658 + 800b080: 4b0b ldr r3, [pc, #44] @ (800b0b0 ) + 800b082: 681a ldr r2, [r3, #0] + 800b084: 68bb ldr r3, [r7, #8] + 800b086: 685b ldr r3, [r3, #4] + 800b088: 4619 mov r1, r3 + 800b08a: 4610 mov r0, r2 + 800b08c: f7fc fa50 bl 8007530 + 800b090: e018 b.n 800b0c4 + 800b092: bf00 nop + 800b094: 2001911a .word 0x2001911a + 800b098: 20019110 .word 0x20019110 + 800b09c: 200190f0 .word 0x200190f0 + 800b0a0: 08017b9c .word 0x08017b9c + 800b0a4: 08017f7c .word 0x08017f7c + 800b0a8: 08017be8 .word 0x08017be8 + 800b0ac: 08017fb8 .word 0x08017fb8 + 800b0b0: 20019120 .word 0x20019120 + 800b0b4: 2001911d .word 0x2001911d + 800b0b8: 08017fd8 .word 0x08017fd8 } else { recv_data = cseg->p; - 800a738: 68bb ldr r3, [r7, #8] - 800a73a: 685b ldr r3, [r3, #4] - 800a73c: 4a70 ldr r2, [pc, #448] @ (800a900 ) - 800a73e: 6013 str r3, [r2, #0] + 800b0bc: 68bb ldr r3, [r7, #8] + 800b0be: 685b ldr r3, [r3, #4] + 800b0c0: 4a70 ldr r2, [pc, #448] @ (800b284 ) + 800b0c2: 6013 str r3, [r2, #0] } cseg->p = NULL; - 800a740: 68bb ldr r3, [r7, #8] - 800a742: 2200 movs r2, #0 - 800a744: 605a str r2, [r3, #4] + 800b0c4: 68bb ldr r3, [r7, #8] + 800b0c6: 2200 movs r2, #0 + 800b0c8: 605a str r2, [r3, #4] } if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) { - 800a746: 68bb ldr r3, [r7, #8] - 800a748: 68db ldr r3, [r3, #12] - 800a74a: 899b ldrh r3, [r3, #12] - 800a74c: b29b uxth r3, r3 - 800a74e: 4618 mov r0, r3 - 800a750: f7fa fe1a bl 8005388 - 800a754: 4603 mov r3, r0 - 800a756: b2db uxtb r3, r3 - 800a758: f003 0301 and.w r3, r3, #1 - 800a75c: 2b00 cmp r3, #0 - 800a75e: d00d beq.n 800a77c + 800b0ca: 68bb ldr r3, [r7, #8] + 800b0cc: 68db ldr r3, [r3, #12] + 800b0ce: 899b ldrh r3, [r3, #12] + 800b0d0: b29b uxth r3, r3 + 800b0d2: 4618 mov r0, r3 + 800b0d4: f7fa fe1a bl 8005d0c + 800b0d8: 4603 mov r3, r0 + 800b0da: b2db uxtb r3, r3 + 800b0dc: f003 0301 and.w r3, r3, #1 + 800b0e0: 2b00 cmp r3, #0 + 800b0e2: d00d beq.n 800b100 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: dequeued FIN.\n")); recv_flags |= TF_GOT_FIN; - 800a760: 4b68 ldr r3, [pc, #416] @ (800a904 ) - 800a762: 781b ldrb r3, [r3, #0] - 800a764: f043 0320 orr.w r3, r3, #32 - 800a768: b2da uxtb r2, r3 - 800a76a: 4b66 ldr r3, [pc, #408] @ (800a904 ) - 800a76c: 701a strb r2, [r3, #0] + 800b0e4: 4b68 ldr r3, [pc, #416] @ (800b288 ) + 800b0e6: 781b ldrb r3, [r3, #0] + 800b0e8: f043 0320 orr.w r3, r3, #32 + 800b0ec: b2da uxtb r2, r3 + 800b0ee: 4b66 ldr r3, [pc, #408] @ (800b288 ) + 800b0f0: 701a strb r2, [r3, #0] if (pcb->state == ESTABLISHED) { /* force passive close or we can move to active close */ - 800a76e: 687b ldr r3, [r7, #4] - 800a770: 7d1b ldrb r3, [r3, #20] - 800a772: 2b04 cmp r3, #4 - 800a774: d102 bne.n 800a77c + 800b0f2: 687b ldr r3, [r7, #4] + 800b0f4: 7d1b ldrb r3, [r3, #20] + 800b0f6: 2b04 cmp r3, #4 + 800b0f8: d102 bne.n 800b100 pcb->state = CLOSE_WAIT; - 800a776: 687b ldr r3, [r7, #4] - 800a778: 2207 movs r2, #7 - 800a77a: 751a strb r2, [r3, #20] + 800b0fa: 687b ldr r3, [r7, #4] + 800b0fc: 2207 movs r2, #7 + 800b0fe: 751a strb r2, [r3, #20] } } pcb->ooseq = cseg->next; - 800a77c: 68bb ldr r3, [r7, #8] - 800a77e: 681a ldr r2, [r3, #0] - 800a780: 687b ldr r3, [r7, #4] - 800a782: 675a str r2, [r3, #116] @ 0x74 + 800b100: 68bb ldr r3, [r7, #8] + 800b102: 681a ldr r2, [r3, #0] + 800b104: 687b ldr r3, [r7, #4] + 800b106: 675a str r2, [r3, #116] @ 0x74 tcp_seg_free(cseg); - 800a784: 68b8 ldr r0, [r7, #8] - 800a786: f7fd fbd4 bl 8007f32 + 800b108: 68b8 ldr r0, [r7, #8] + 800b10a: f7fd fbd4 bl 80088b6 while (pcb->ooseq != NULL && - 800a78a: 687b ldr r3, [r7, #4] - 800a78c: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a78e: 2b00 cmp r3, #0 - 800a790: d008 beq.n 800a7a4 + 800b10e: 687b ldr r3, [r7, #4] + 800b110: 6f5b ldr r3, [r3, #116] @ 0x74 + 800b112: 2b00 cmp r3, #0 + 800b114: d008 beq.n 800b128 pcb->ooseq->tcphdr->seqno == pcb->rcv_nxt) { - 800a792: 687b ldr r3, [r7, #4] - 800a794: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a796: 68db ldr r3, [r3, #12] - 800a798: 685a ldr r2, [r3, #4] - 800a79a: 687b ldr r3, [r7, #4] - 800a79c: 6a5b ldr r3, [r3, #36] @ 0x24 + 800b116: 687b ldr r3, [r7, #4] + 800b118: 6f5b ldr r3, [r3, #116] @ 0x74 + 800b11a: 68db ldr r3, [r3, #12] + 800b11c: 685a ldr r2, [r3, #4] + 800b11e: 687b ldr r3, [r7, #4] + 800b120: 6a5b ldr r3, [r3, #36] @ 0x24 while (pcb->ooseq != NULL && - 800a79e: 429a cmp r2, r3 - 800a7a0: f43f af43 beq.w 800a62a + 800b122: 429a cmp r2, r3 + 800b124: f43f af43 beq.w 800afae #endif /* LWIP_TCP_SACK_OUT */ #endif /* TCP_QUEUE_OOSEQ */ /* Acknowledge the segment(s). */ tcp_ack(pcb); - 800a7a4: 687b ldr r3, [r7, #4] - 800a7a6: 8b5b ldrh r3, [r3, #26] - 800a7a8: f003 0301 and.w r3, r3, #1 - 800a7ac: 2b00 cmp r3, #0 - 800a7ae: d00e beq.n 800a7ce - 800a7b0: 687b ldr r3, [r7, #4] - 800a7b2: 8b5b ldrh r3, [r3, #26] - 800a7b4: f023 0301 bic.w r3, r3, #1 - 800a7b8: b29a uxth r2, r3 - 800a7ba: 687b ldr r3, [r7, #4] - 800a7bc: 835a strh r2, [r3, #26] - 800a7be: 687b ldr r3, [r7, #4] - 800a7c0: 8b5b ldrh r3, [r3, #26] - 800a7c2: f043 0302 orr.w r3, r3, #2 - 800a7c6: b29a uxth r2, r3 - 800a7c8: 687b ldr r3, [r7, #4] - 800a7ca: 835a strh r2, [r3, #26] + 800b128: 687b ldr r3, [r7, #4] + 800b12a: 8b5b ldrh r3, [r3, #26] + 800b12c: f003 0301 and.w r3, r3, #1 + 800b130: 2b00 cmp r3, #0 + 800b132: d00e beq.n 800b152 + 800b134: 687b ldr r3, [r7, #4] + 800b136: 8b5b ldrh r3, [r3, #26] + 800b138: f023 0301 bic.w r3, r3, #1 + 800b13c: b29a uxth r2, r3 + 800b13e: 687b ldr r3, [r7, #4] + 800b140: 835a strh r2, [r3, #26] + 800b142: 687b ldr r3, [r7, #4] + 800b144: 8b5b ldrh r3, [r3, #26] + 800b146: f043 0302 orr.w r3, r3, #2 + 800b14a: b29a uxth r2, r3 + 800b14c: 687b ldr r3, [r7, #4] + 800b14e: 835a strh r2, [r3, #26] if (pcb->rcv_nxt == seqno) { - 800a7cc: e187 b.n 800aade + 800b150: e187 b.n 800b462 tcp_ack(pcb); - 800a7ce: 687b ldr r3, [r7, #4] - 800a7d0: 8b5b ldrh r3, [r3, #26] - 800a7d2: f043 0301 orr.w r3, r3, #1 - 800a7d6: b29a uxth r2, r3 - 800a7d8: 687b ldr r3, [r7, #4] - 800a7da: 835a strh r2, [r3, #26] + 800b152: 687b ldr r3, [r7, #4] + 800b154: 8b5b ldrh r3, [r3, #26] + 800b156: f043 0301 orr.w r3, r3, #1 + 800b15a: b29a uxth r2, r3 + 800b15c: 687b ldr r3, [r7, #4] + 800b15e: 835a strh r2, [r3, #26] if (pcb->rcv_nxt == seqno) { - 800a7dc: e17f b.n 800aade + 800b160: e17f b.n 800b462 } else { /* We get here if the incoming segment is out-of-sequence. */ #if TCP_QUEUE_OOSEQ /* We queue the segment on the ->ooseq queue. */ if (pcb->ooseq == NULL) { - 800a7de: 687b ldr r3, [r7, #4] - 800a7e0: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a7e2: 2b00 cmp r3, #0 - 800a7e4: d106 bne.n 800a7f4 + 800b162: 687b ldr r3, [r7, #4] + 800b164: 6f5b ldr r3, [r3, #116] @ 0x74 + 800b166: 2b00 cmp r3, #0 + 800b168: d106 bne.n 800b178 pcb->ooseq = tcp_seg_copy(&inseg); - 800a7e6: 4848 ldr r0, [pc, #288] @ (800a908 ) - 800a7e8: f7fd fbbc bl 8007f64 - 800a7ec: 4602 mov r2, r0 - 800a7ee: 687b ldr r3, [r7, #4] - 800a7f0: 675a str r2, [r3, #116] @ 0x74 - 800a7f2: e16c b.n 800aace + 800b16a: 4848 ldr r0, [pc, #288] @ (800b28c ) + 800b16c: f7fd fbbc bl 80088e8 + 800b170: 4602 mov r2, r0 + 800b172: 687b ldr r3, [r7, #4] + 800b174: 675a str r2, [r3, #116] @ 0x74 + 800b176: e16c b.n 800b452 #if LWIP_TCP_SACK_OUT /* This is the left edge of the lowest possible SACK range. It may start before the newly received segment (possibly adjusted below). */ u32_t sackbeg = TCP_SEQ_LT(seqno, pcb->ooseq->tcphdr->seqno) ? seqno : pcb->ooseq->tcphdr->seqno; #endif /* LWIP_TCP_SACK_OUT */ struct tcp_seg *next, *prev = NULL; - 800a7f4: 2300 movs r3, #0 - 800a7f6: 637b str r3, [r7, #52] @ 0x34 + 800b178: 2300 movs r3, #0 + 800b17a: 637b str r3, [r7, #52] @ 0x34 for (next = pcb->ooseq; next != NULL; next = next->next) { - 800a7f8: 687b ldr r3, [r7, #4] - 800a7fa: 6f5b ldr r3, [r3, #116] @ 0x74 - 800a7fc: 63bb str r3, [r7, #56] @ 0x38 - 800a7fe: e156 b.n 800aaae + 800b17c: 687b ldr r3, [r7, #4] + 800b17e: 6f5b ldr r3, [r3, #116] @ 0x74 + 800b180: 63bb str r3, [r7, #56] @ 0x38 + 800b182: e156 b.n 800b432 if (seqno == next->tcphdr->seqno) { - 800a800: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a802: 68db ldr r3, [r3, #12] - 800a804: 685a ldr r2, [r3, #4] - 800a806: 4b41 ldr r3, [pc, #260] @ (800a90c ) - 800a808: 681b ldr r3, [r3, #0] - 800a80a: 429a cmp r2, r3 - 800a80c: d11d bne.n 800a84a + 800b184: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b186: 68db ldr r3, [r3, #12] + 800b188: 685a ldr r2, [r3, #4] + 800b18a: 4b41 ldr r3, [pc, #260] @ (800b290 ) + 800b18c: 681b ldr r3, [r3, #0] + 800b18e: 429a cmp r2, r3 + 800b190: d11d bne.n 800b1ce /* The sequence number of the incoming segment is the same as the sequence number of the segment on ->ooseq. We check the lengths to see which one to discard. */ if (inseg.len > next->len) { - 800a80e: 4b3e ldr r3, [pc, #248] @ (800a908 ) - 800a810: 891a ldrh r2, [r3, #8] - 800a812: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a814: 891b ldrh r3, [r3, #8] - 800a816: 429a cmp r2, r3 - 800a818: f240 814e bls.w 800aab8 + 800b192: 4b3e ldr r3, [pc, #248] @ (800b28c ) + 800b194: 891a ldrh r2, [r3, #8] + 800b196: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b198: 891b ldrh r3, [r3, #8] + 800b19a: 429a cmp r2, r3 + 800b19c: f240 814e bls.w 800b43c /* The incoming segment is larger than the old segment. We replace some segments with the new one. */ struct tcp_seg *cseg = tcp_seg_copy(&inseg); - 800a81c: 483a ldr r0, [pc, #232] @ (800a908 ) - 800a81e: f7fd fba1 bl 8007f64 - 800a822: 6178 str r0, [r7, #20] + 800b1a0: 483a ldr r0, [pc, #232] @ (800b28c ) + 800b1a2: f7fd fba1 bl 80088e8 + 800b1a6: 6178 str r0, [r7, #20] if (cseg != NULL) { - 800a824: 697b ldr r3, [r7, #20] - 800a826: 2b00 cmp r3, #0 - 800a828: f000 8148 beq.w 800aabc + 800b1a8: 697b ldr r3, [r7, #20] + 800b1aa: 2b00 cmp r3, #0 + 800b1ac: f000 8148 beq.w 800b440 if (prev != NULL) { - 800a82c: 6b7b ldr r3, [r7, #52] @ 0x34 - 800a82e: 2b00 cmp r3, #0 - 800a830: d003 beq.n 800a83a + 800b1b0: 6b7b ldr r3, [r7, #52] @ 0x34 + 800b1b2: 2b00 cmp r3, #0 + 800b1b4: d003 beq.n 800b1be prev->next = cseg; - 800a832: 6b7b ldr r3, [r7, #52] @ 0x34 - 800a834: 697a ldr r2, [r7, #20] - 800a836: 601a str r2, [r3, #0] - 800a838: e002 b.n 800a840 + 800b1b6: 6b7b ldr r3, [r7, #52] @ 0x34 + 800b1b8: 697a ldr r2, [r7, #20] + 800b1ba: 601a str r2, [r3, #0] + 800b1bc: e002 b.n 800b1c4 } else { pcb->ooseq = cseg; - 800a83a: 687b ldr r3, [r7, #4] - 800a83c: 697a ldr r2, [r7, #20] - 800a83e: 675a str r2, [r3, #116] @ 0x74 + 800b1be: 687b ldr r3, [r7, #4] + 800b1c0: 697a ldr r2, [r7, #20] + 800b1c2: 675a str r2, [r3, #116] @ 0x74 } tcp_oos_insert_segment(cseg, next); - 800a840: 6bb9 ldr r1, [r7, #56] @ 0x38 - 800a842: 6978 ldr r0, [r7, #20] - 800a844: f7ff f8de bl 8009a04 + 800b1c4: 6bb9 ldr r1, [r7, #56] @ 0x38 + 800b1c6: 6978 ldr r0, [r7, #20] + 800b1c8: f7ff f8de bl 800a388 } break; - 800a848: e138 b.n 800aabc + 800b1cc: e138 b.n 800b440 segment was smaller than the old one; in either case, we ditch the incoming segment. */ break; } } else { if (prev == NULL) { - 800a84a: 6b7b ldr r3, [r7, #52] @ 0x34 - 800a84c: 2b00 cmp r3, #0 - 800a84e: d117 bne.n 800a880 + 800b1ce: 6b7b ldr r3, [r7, #52] @ 0x34 + 800b1d0: 2b00 cmp r3, #0 + 800b1d2: d117 bne.n 800b204 if (TCP_SEQ_LT(seqno, next->tcphdr->seqno)) { - 800a850: 4b2e ldr r3, [pc, #184] @ (800a90c ) - 800a852: 681a ldr r2, [r3, #0] - 800a854: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a856: 68db ldr r3, [r3, #12] - 800a858: 685b ldr r3, [r3, #4] - 800a85a: 1ad3 subs r3, r2, r3 - 800a85c: 2b00 cmp r3, #0 - 800a85e: da57 bge.n 800a910 + 800b1d4: 4b2e ldr r3, [pc, #184] @ (800b290 ) + 800b1d6: 681a ldr r2, [r3, #0] + 800b1d8: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b1da: 68db ldr r3, [r3, #12] + 800b1dc: 685b ldr r3, [r3, #4] + 800b1de: 1ad3 subs r3, r2, r3 + 800b1e0: 2b00 cmp r3, #0 + 800b1e2: da57 bge.n 800b294 /* The sequence number of the incoming segment is lower than the sequence number of the first segment on the queue. We put the incoming segment first on the queue. */ struct tcp_seg *cseg = tcp_seg_copy(&inseg); - 800a860: 4829 ldr r0, [pc, #164] @ (800a908 ) - 800a862: f7fd fb7f bl 8007f64 - 800a866: 61b8 str r0, [r7, #24] + 800b1e4: 4829 ldr r0, [pc, #164] @ (800b28c ) + 800b1e6: f7fd fb7f bl 80088e8 + 800b1ea: 61b8 str r0, [r7, #24] if (cseg != NULL) { - 800a868: 69bb ldr r3, [r7, #24] - 800a86a: 2b00 cmp r3, #0 - 800a86c: f000 8128 beq.w 800aac0 + 800b1ec: 69bb ldr r3, [r7, #24] + 800b1ee: 2b00 cmp r3, #0 + 800b1f0: f000 8128 beq.w 800b444 pcb->ooseq = cseg; - 800a870: 687b ldr r3, [r7, #4] - 800a872: 69ba ldr r2, [r7, #24] - 800a874: 675a str r2, [r3, #116] @ 0x74 + 800b1f4: 687b ldr r3, [r7, #4] + 800b1f6: 69ba ldr r2, [r7, #24] + 800b1f8: 675a str r2, [r3, #116] @ 0x74 tcp_oos_insert_segment(cseg, next); - 800a876: 6bb9 ldr r1, [r7, #56] @ 0x38 - 800a878: 69b8 ldr r0, [r7, #24] - 800a87a: f7ff f8c3 bl 8009a04 + 800b1fa: 6bb9 ldr r1, [r7, #56] @ 0x38 + 800b1fc: 69b8 ldr r0, [r7, #24] + 800b1fe: f7ff f8c3 bl 800a388 } break; - 800a87e: e11f b.n 800aac0 + 800b202: e11f b.n 800b444 } } else { /*if (TCP_SEQ_LT(prev->tcphdr->seqno, seqno) && TCP_SEQ_LT(seqno, next->tcphdr->seqno)) {*/ if (TCP_SEQ_BETWEEN(seqno, prev->tcphdr->seqno + 1, next->tcphdr->seqno - 1)) { - 800a880: 4b22 ldr r3, [pc, #136] @ (800a90c ) - 800a882: 681a ldr r2, [r3, #0] - 800a884: 6b7b ldr r3, [r7, #52] @ 0x34 - 800a886: 68db ldr r3, [r3, #12] - 800a888: 685b ldr r3, [r3, #4] - 800a88a: 1ad3 subs r3, r2, r3 - 800a88c: 3b01 subs r3, #1 - 800a88e: 2b00 cmp r3, #0 - 800a890: db3e blt.n 800a910 - 800a892: 4b1e ldr r3, [pc, #120] @ (800a90c ) - 800a894: 681a ldr r2, [r3, #0] - 800a896: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a898: 68db ldr r3, [r3, #12] - 800a89a: 685b ldr r3, [r3, #4] - 800a89c: 1ad3 subs r3, r2, r3 - 800a89e: 3301 adds r3, #1 - 800a8a0: 2b00 cmp r3, #0 - 800a8a2: dc35 bgt.n 800a910 + 800b204: 4b22 ldr r3, [pc, #136] @ (800b290 ) + 800b206: 681a ldr r2, [r3, #0] + 800b208: 6b7b ldr r3, [r7, #52] @ 0x34 + 800b20a: 68db ldr r3, [r3, #12] + 800b20c: 685b ldr r3, [r3, #4] + 800b20e: 1ad3 subs r3, r2, r3 + 800b210: 3b01 subs r3, #1 + 800b212: 2b00 cmp r3, #0 + 800b214: db3e blt.n 800b294 + 800b216: 4b1e ldr r3, [pc, #120] @ (800b290 ) + 800b218: 681a ldr r2, [r3, #0] + 800b21a: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b21c: 68db ldr r3, [r3, #12] + 800b21e: 685b ldr r3, [r3, #4] + 800b220: 1ad3 subs r3, r2, r3 + 800b222: 3301 adds r3, #1 + 800b224: 2b00 cmp r3, #0 + 800b226: dc35 bgt.n 800b294 /* The sequence number of the incoming segment is in between the sequence numbers of the previous and the next segment on ->ooseq. We trim trim the previous segment, delete next segments that included in received segment and trim received, if needed. */ struct tcp_seg *cseg = tcp_seg_copy(&inseg); - 800a8a4: 4818 ldr r0, [pc, #96] @ (800a908 ) - 800a8a6: f7fd fb5d bl 8007f64 - 800a8aa: 61f8 str r0, [r7, #28] + 800b228: 4818 ldr r0, [pc, #96] @ (800b28c ) + 800b22a: f7fd fb5d bl 80088e8 + 800b22e: 61f8 str r0, [r7, #28] if (cseg != NULL) { - 800a8ac: 69fb ldr r3, [r7, #28] - 800a8ae: 2b00 cmp r3, #0 - 800a8b0: f000 8108 beq.w 800aac4 + 800b230: 69fb ldr r3, [r7, #28] + 800b232: 2b00 cmp r3, #0 + 800b234: f000 8108 beq.w 800b448 if (TCP_SEQ_GT(prev->tcphdr->seqno + prev->len, seqno)) { - 800a8b4: 6b7b ldr r3, [r7, #52] @ 0x34 - 800a8b6: 68db ldr r3, [r3, #12] - 800a8b8: 685b ldr r3, [r3, #4] - 800a8ba: 6b7a ldr r2, [r7, #52] @ 0x34 - 800a8bc: 8912 ldrh r2, [r2, #8] - 800a8be: 441a add r2, r3 - 800a8c0: 4b12 ldr r3, [pc, #72] @ (800a90c ) - 800a8c2: 681b ldr r3, [r3, #0] - 800a8c4: 1ad3 subs r3, r2, r3 - 800a8c6: 2b00 cmp r3, #0 - 800a8c8: dd12 ble.n 800a8f0 + 800b238: 6b7b ldr r3, [r7, #52] @ 0x34 + 800b23a: 68db ldr r3, [r3, #12] + 800b23c: 685b ldr r3, [r3, #4] + 800b23e: 6b7a ldr r2, [r7, #52] @ 0x34 + 800b240: 8912 ldrh r2, [r2, #8] + 800b242: 441a add r2, r3 + 800b244: 4b12 ldr r3, [pc, #72] @ (800b290 ) + 800b246: 681b ldr r3, [r3, #0] + 800b248: 1ad3 subs r3, r2, r3 + 800b24a: 2b00 cmp r3, #0 + 800b24c: dd12 ble.n 800b274 /* We need to trim the prev segment. */ prev->len = (u16_t)(seqno - prev->tcphdr->seqno); - 800a8ca: 4b10 ldr r3, [pc, #64] @ (800a90c ) - 800a8cc: 681b ldr r3, [r3, #0] - 800a8ce: b29a uxth r2, r3 - 800a8d0: 6b7b ldr r3, [r7, #52] @ 0x34 - 800a8d2: 68db ldr r3, [r3, #12] - 800a8d4: 685b ldr r3, [r3, #4] - 800a8d6: b29b uxth r3, r3 - 800a8d8: 1ad3 subs r3, r2, r3 - 800a8da: b29a uxth r2, r3 - 800a8dc: 6b7b ldr r3, [r7, #52] @ 0x34 - 800a8de: 811a strh r2, [r3, #8] + 800b24e: 4b10 ldr r3, [pc, #64] @ (800b290 ) + 800b250: 681b ldr r3, [r3, #0] + 800b252: b29a uxth r2, r3 + 800b254: 6b7b ldr r3, [r7, #52] @ 0x34 + 800b256: 68db ldr r3, [r3, #12] + 800b258: 685b ldr r3, [r3, #4] + 800b25a: b29b uxth r3, r3 + 800b25c: 1ad3 subs r3, r2, r3 + 800b25e: b29a uxth r2, r3 + 800b260: 6b7b ldr r3, [r7, #52] @ 0x34 + 800b262: 811a strh r2, [r3, #8] pbuf_realloc(prev->p, prev->len); - 800a8e0: 6b7b ldr r3, [r7, #52] @ 0x34 - 800a8e2: 685a ldr r2, [r3, #4] - 800a8e4: 6b7b ldr r3, [r7, #52] @ 0x34 - 800a8e6: 891b ldrh r3, [r3, #8] - 800a8e8: 4619 mov r1, r3 - 800a8ea: 4610 mov r0, r2 - 800a8ec: f7fb ff18 bl 8006720 + 800b264: 6b7b ldr r3, [r7, #52] @ 0x34 + 800b266: 685a ldr r2, [r3, #4] + 800b268: 6b7b ldr r3, [r7, #52] @ 0x34 + 800b26a: 891b ldrh r3, [r3, #8] + 800b26c: 4619 mov r1, r3 + 800b26e: 4610 mov r0, r2 + 800b270: f7fb ff18 bl 80070a4 } prev->next = cseg; - 800a8f0: 6b7b ldr r3, [r7, #52] @ 0x34 - 800a8f2: 69fa ldr r2, [r7, #28] - 800a8f4: 601a str r2, [r3, #0] + 800b274: 6b7b ldr r3, [r7, #52] @ 0x34 + 800b276: 69fa ldr r2, [r7, #28] + 800b278: 601a str r2, [r3, #0] tcp_oos_insert_segment(cseg, next); - 800a8f6: 6bb9 ldr r1, [r7, #56] @ 0x38 - 800a8f8: 69f8 ldr r0, [r7, #28] - 800a8fa: f7ff f883 bl 8009a04 + 800b27a: 6bb9 ldr r1, [r7, #56] @ 0x38 + 800b27c: 69f8 ldr r0, [r7, #28] + 800b27e: f7ff f883 bl 800a388 } break; - 800a8fe: e0e1 b.n 800aac4 - 800a900: 200190ec .word 0x200190ec - 800a904: 200190e9 .word 0x200190e9 - 800a908: 200190bc .word 0x200190bc - 800a90c: 200190dc .word 0x200190dc + 800b282: e0e1 b.n 800b448 + 800b284: 20019120 .word 0x20019120 + 800b288: 2001911d .word 0x2001911d + 800b28c: 200190f0 .word 0x200190f0 + 800b290: 20019110 .word 0x20019110 #endif /* LWIP_TCP_SACK_OUT */ /* We don't use 'prev' below, so let's set it to current 'next'. This way even if we break the loop below, 'prev' will be pointing at the segment right in front of the newly added one. */ prev = next; - 800a910: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a912: 637b str r3, [r7, #52] @ 0x34 + 800b294: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b296: 637b str r3, [r7, #52] @ 0x34 /* If the "next" segment is the last segment on the ooseq queue, we add the incoming segment to the end of the list. */ if (next->next == NULL && - 800a914: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a916: 681b ldr r3, [r3, #0] - 800a918: 2b00 cmp r3, #0 - 800a91a: f040 80c5 bne.w 800aaa8 + 800b298: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b29a: 681b ldr r3, [r3, #0] + 800b29c: 2b00 cmp r3, #0 + 800b29e: f040 80c5 bne.w 800b42c TCP_SEQ_GT(seqno, next->tcphdr->seqno)) { - 800a91e: 4b7f ldr r3, [pc, #508] @ (800ab1c ) - 800a920: 681a ldr r2, [r3, #0] - 800a922: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a924: 68db ldr r3, [r3, #12] - 800a926: 685b ldr r3, [r3, #4] - 800a928: 1ad3 subs r3, r2, r3 + 800b2a2: 4b7f ldr r3, [pc, #508] @ (800b4a0 ) + 800b2a4: 681a ldr r2, [r3, #0] + 800b2a6: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b2a8: 68db ldr r3, [r3, #12] + 800b2aa: 685b ldr r3, [r3, #4] + 800b2ac: 1ad3 subs r3, r2, r3 if (next->next == NULL && - 800a92a: 2b00 cmp r3, #0 - 800a92c: f340 80bc ble.w 800aaa8 + 800b2ae: 2b00 cmp r3, #0 + 800b2b0: f340 80bc ble.w 800b42c if (TCPH_FLAGS(next->tcphdr) & TCP_FIN) { - 800a930: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a932: 68db ldr r3, [r3, #12] - 800a934: 899b ldrh r3, [r3, #12] - 800a936: b29b uxth r3, r3 - 800a938: 4618 mov r0, r3 - 800a93a: f7fa fd25 bl 8005388 - 800a93e: 4603 mov r3, r0 - 800a940: b2db uxtb r3, r3 - 800a942: f003 0301 and.w r3, r3, #1 - 800a946: 2b00 cmp r3, #0 - 800a948: f040 80be bne.w 800aac8 + 800b2b4: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b2b6: 68db ldr r3, [r3, #12] + 800b2b8: 899b ldrh r3, [r3, #12] + 800b2ba: b29b uxth r3, r3 + 800b2bc: 4618 mov r0, r3 + 800b2be: f7fa fd25 bl 8005d0c + 800b2c2: 4603 mov r3, r0 + 800b2c4: b2db uxtb r3, r3 + 800b2c6: f003 0301 and.w r3, r3, #1 + 800b2ca: 2b00 cmp r3, #0 + 800b2cc: f040 80be bne.w 800b44c /* segment "next" already contains all data */ break; } next->next = tcp_seg_copy(&inseg); - 800a94c: 4874 ldr r0, [pc, #464] @ (800ab20 ) - 800a94e: f7fd fb09 bl 8007f64 - 800a952: 4602 mov r2, r0 - 800a954: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a956: 601a str r2, [r3, #0] + 800b2d0: 4874 ldr r0, [pc, #464] @ (800b4a4 ) + 800b2d2: f7fd fb09 bl 80088e8 + 800b2d6: 4602 mov r2, r0 + 800b2d8: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b2da: 601a str r2, [r3, #0] if (next->next != NULL) { - 800a958: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a95a: 681b ldr r3, [r3, #0] - 800a95c: 2b00 cmp r3, #0 - 800a95e: f000 80b5 beq.w 800aacc + 800b2dc: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b2de: 681b ldr r3, [r3, #0] + 800b2e0: 2b00 cmp r3, #0 + 800b2e2: f000 80b5 beq.w 800b450 if (TCP_SEQ_GT(next->tcphdr->seqno + next->len, seqno)) { - 800a962: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a964: 68db ldr r3, [r3, #12] - 800a966: 685b ldr r3, [r3, #4] - 800a968: 6bba ldr r2, [r7, #56] @ 0x38 - 800a96a: 8912 ldrh r2, [r2, #8] - 800a96c: 441a add r2, r3 - 800a96e: 4b6b ldr r3, [pc, #428] @ (800ab1c ) - 800a970: 681b ldr r3, [r3, #0] - 800a972: 1ad3 subs r3, r2, r3 - 800a974: 2b00 cmp r3, #0 - 800a976: dd12 ble.n 800a99e + 800b2e6: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b2e8: 68db ldr r3, [r3, #12] + 800b2ea: 685b ldr r3, [r3, #4] + 800b2ec: 6bba ldr r2, [r7, #56] @ 0x38 + 800b2ee: 8912 ldrh r2, [r2, #8] + 800b2f0: 441a add r2, r3 + 800b2f2: 4b6b ldr r3, [pc, #428] @ (800b4a0 ) + 800b2f4: 681b ldr r3, [r3, #0] + 800b2f6: 1ad3 subs r3, r2, r3 + 800b2f8: 2b00 cmp r3, #0 + 800b2fa: dd12 ble.n 800b322 /* We need to trim the last segment. */ next->len = (u16_t)(seqno - next->tcphdr->seqno); - 800a978: 4b68 ldr r3, [pc, #416] @ (800ab1c ) - 800a97a: 681b ldr r3, [r3, #0] - 800a97c: b29a uxth r2, r3 - 800a97e: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a980: 68db ldr r3, [r3, #12] - 800a982: 685b ldr r3, [r3, #4] - 800a984: b29b uxth r3, r3 - 800a986: 1ad3 subs r3, r2, r3 - 800a988: b29a uxth r2, r3 - 800a98a: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a98c: 811a strh r2, [r3, #8] + 800b2fc: 4b68 ldr r3, [pc, #416] @ (800b4a0 ) + 800b2fe: 681b ldr r3, [r3, #0] + 800b300: b29a uxth r2, r3 + 800b302: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b304: 68db ldr r3, [r3, #12] + 800b306: 685b ldr r3, [r3, #4] + 800b308: b29b uxth r3, r3 + 800b30a: 1ad3 subs r3, r2, r3 + 800b30c: b29a uxth r2, r3 + 800b30e: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b310: 811a strh r2, [r3, #8] pbuf_realloc(next->p, next->len); - 800a98e: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a990: 685a ldr r2, [r3, #4] - 800a992: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a994: 891b ldrh r3, [r3, #8] - 800a996: 4619 mov r1, r3 - 800a998: 4610 mov r0, r2 - 800a99a: f7fb fec1 bl 8006720 + 800b312: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b314: 685a ldr r2, [r3, #4] + 800b316: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b318: 891b ldrh r3, [r3, #8] + 800b31a: 4619 mov r1, r3 + 800b31c: 4610 mov r0, r2 + 800b31e: f7fb fec1 bl 80070a4 } /* check if the remote side overruns our receive window */ if (TCP_SEQ_GT((u32_t)tcplen + seqno, pcb->rcv_nxt + (u32_t)pcb->rcv_wnd)) { - 800a99e: 4b61 ldr r3, [pc, #388] @ (800ab24 ) - 800a9a0: 881b ldrh r3, [r3, #0] - 800a9a2: 461a mov r2, r3 - 800a9a4: 4b5d ldr r3, [pc, #372] @ (800ab1c ) - 800a9a6: 681b ldr r3, [r3, #0] - 800a9a8: 441a add r2, r3 - 800a9aa: 687b ldr r3, [r7, #4] - 800a9ac: 6a5b ldr r3, [r3, #36] @ 0x24 - 800a9ae: 6879 ldr r1, [r7, #4] - 800a9b0: 8d09 ldrh r1, [r1, #40] @ 0x28 - 800a9b2: 440b add r3, r1 - 800a9b4: 1ad3 subs r3, r2, r3 - 800a9b6: 2b00 cmp r3, #0 - 800a9b8: f340 8088 ble.w 800aacc + 800b322: 4b61 ldr r3, [pc, #388] @ (800b4a8 ) + 800b324: 881b ldrh r3, [r3, #0] + 800b326: 461a mov r2, r3 + 800b328: 4b5d ldr r3, [pc, #372] @ (800b4a0 ) + 800b32a: 681b ldr r3, [r3, #0] + 800b32c: 441a add r2, r3 + 800b32e: 687b ldr r3, [r7, #4] + 800b330: 6a5b ldr r3, [r3, #36] @ 0x24 + 800b332: 6879 ldr r1, [r7, #4] + 800b334: 8d09 ldrh r1, [r1, #40] @ 0x28 + 800b336: 440b add r3, r1 + 800b338: 1ad3 subs r3, r2, r3 + 800b33a: 2b00 cmp r3, #0 + 800b33c: f340 8088 ble.w 800b450 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: other end overran receive window" "seqno %"U32_F" len %"U16_F" right edge %"U32_F"\n", seqno, tcplen, pcb->rcv_nxt + pcb->rcv_wnd)); if (TCPH_FLAGS(next->next->tcphdr) & TCP_FIN) { - 800a9bc: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a9be: 681b ldr r3, [r3, #0] - 800a9c0: 68db ldr r3, [r3, #12] - 800a9c2: 899b ldrh r3, [r3, #12] - 800a9c4: b29b uxth r3, r3 - 800a9c6: 4618 mov r0, r3 - 800a9c8: f7fa fcde bl 8005388 - 800a9cc: 4603 mov r3, r0 - 800a9ce: b2db uxtb r3, r3 - 800a9d0: f003 0301 and.w r3, r3, #1 - 800a9d4: 2b00 cmp r3, #0 - 800a9d6: d021 beq.n 800aa1c + 800b340: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b342: 681b ldr r3, [r3, #0] + 800b344: 68db ldr r3, [r3, #12] + 800b346: 899b ldrh r3, [r3, #12] + 800b348: b29b uxth r3, r3 + 800b34a: 4618 mov r0, r3 + 800b34c: f7fa fcde bl 8005d0c + 800b350: 4603 mov r3, r0 + 800b352: b2db uxtb r3, r3 + 800b354: f003 0301 and.w r3, r3, #1 + 800b358: 2b00 cmp r3, #0 + 800b35a: d021 beq.n 800b3a0 /* Must remove the FIN from the header as we're trimming * that byte of sequence-space from the packet */ TCPH_FLAGS_SET(next->next->tcphdr, TCPH_FLAGS(next->next->tcphdr) & ~TCP_FIN); - 800a9d8: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a9da: 681b ldr r3, [r3, #0] - 800a9dc: 68db ldr r3, [r3, #12] - 800a9de: 899b ldrh r3, [r3, #12] - 800a9e0: b29b uxth r3, r3 - 800a9e2: b21b sxth r3, r3 - 800a9e4: f423 537c bic.w r3, r3, #16128 @ 0x3f00 - 800a9e8: b21c sxth r4, r3 - 800a9ea: 6bbb ldr r3, [r7, #56] @ 0x38 - 800a9ec: 681b ldr r3, [r3, #0] - 800a9ee: 68db ldr r3, [r3, #12] - 800a9f0: 899b ldrh r3, [r3, #12] - 800a9f2: b29b uxth r3, r3 - 800a9f4: 4618 mov r0, r3 - 800a9f6: f7fa fcc7 bl 8005388 - 800a9fa: 4603 mov r3, r0 - 800a9fc: b2db uxtb r3, r3 - 800a9fe: f003 033e and.w r3, r3, #62 @ 0x3e - 800aa02: b29b uxth r3, r3 - 800aa04: 4618 mov r0, r3 - 800aa06: f7fa fcbf bl 8005388 - 800aa0a: 4603 mov r3, r0 - 800aa0c: b21b sxth r3, r3 - 800aa0e: 4323 orrs r3, r4 - 800aa10: b21a sxth r2, r3 - 800aa12: 6bbb ldr r3, [r7, #56] @ 0x38 - 800aa14: 681b ldr r3, [r3, #0] - 800aa16: 68db ldr r3, [r3, #12] - 800aa18: b292 uxth r2, r2 - 800aa1a: 819a strh r2, [r3, #12] + 800b35c: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b35e: 681b ldr r3, [r3, #0] + 800b360: 68db ldr r3, [r3, #12] + 800b362: 899b ldrh r3, [r3, #12] + 800b364: b29b uxth r3, r3 + 800b366: b21b sxth r3, r3 + 800b368: f423 537c bic.w r3, r3, #16128 @ 0x3f00 + 800b36c: b21c sxth r4, r3 + 800b36e: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b370: 681b ldr r3, [r3, #0] + 800b372: 68db ldr r3, [r3, #12] + 800b374: 899b ldrh r3, [r3, #12] + 800b376: b29b uxth r3, r3 + 800b378: 4618 mov r0, r3 + 800b37a: f7fa fcc7 bl 8005d0c + 800b37e: 4603 mov r3, r0 + 800b380: b2db uxtb r3, r3 + 800b382: f003 033e and.w r3, r3, #62 @ 0x3e + 800b386: b29b uxth r3, r3 + 800b388: 4618 mov r0, r3 + 800b38a: f7fa fcbf bl 8005d0c + 800b38e: 4603 mov r3, r0 + 800b390: b21b sxth r3, r3 + 800b392: 4323 orrs r3, r4 + 800b394: b21a sxth r2, r3 + 800b396: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b398: 681b ldr r3, [r3, #0] + 800b39a: 68db ldr r3, [r3, #12] + 800b39c: b292 uxth r2, r2 + 800b39e: 819a strh r2, [r3, #12] } /* Adjust length of segment to fit in the window. */ next->next->len = (u16_t)(pcb->rcv_nxt + pcb->rcv_wnd - seqno); - 800aa1c: 687b ldr r3, [r7, #4] - 800aa1e: 6a5b ldr r3, [r3, #36] @ 0x24 - 800aa20: b29a uxth r2, r3 - 800aa22: 687b ldr r3, [r7, #4] - 800aa24: 8d1b ldrh r3, [r3, #40] @ 0x28 - 800aa26: 4413 add r3, r2 - 800aa28: b299 uxth r1, r3 - 800aa2a: 4b3c ldr r3, [pc, #240] @ (800ab1c ) - 800aa2c: 681b ldr r3, [r3, #0] - 800aa2e: b29a uxth r2, r3 - 800aa30: 6bbb ldr r3, [r7, #56] @ 0x38 - 800aa32: 681b ldr r3, [r3, #0] - 800aa34: 1a8a subs r2, r1, r2 - 800aa36: b292 uxth r2, r2 - 800aa38: 811a strh r2, [r3, #8] + 800b3a0: 687b ldr r3, [r7, #4] + 800b3a2: 6a5b ldr r3, [r3, #36] @ 0x24 + 800b3a4: b29a uxth r2, r3 + 800b3a6: 687b ldr r3, [r7, #4] + 800b3a8: 8d1b ldrh r3, [r3, #40] @ 0x28 + 800b3aa: 4413 add r3, r2 + 800b3ac: b299 uxth r1, r3 + 800b3ae: 4b3c ldr r3, [pc, #240] @ (800b4a0 ) + 800b3b0: 681b ldr r3, [r3, #0] + 800b3b2: b29a uxth r2, r3 + 800b3b4: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b3b6: 681b ldr r3, [r3, #0] + 800b3b8: 1a8a subs r2, r1, r2 + 800b3ba: b292 uxth r2, r2 + 800b3bc: 811a strh r2, [r3, #8] pbuf_realloc(next->next->p, next->next->len); - 800aa3a: 6bbb ldr r3, [r7, #56] @ 0x38 - 800aa3c: 681b ldr r3, [r3, #0] - 800aa3e: 685a ldr r2, [r3, #4] - 800aa40: 6bbb ldr r3, [r7, #56] @ 0x38 - 800aa42: 681b ldr r3, [r3, #0] - 800aa44: 891b ldrh r3, [r3, #8] - 800aa46: 4619 mov r1, r3 - 800aa48: 4610 mov r0, r2 - 800aa4a: f7fb fe69 bl 8006720 + 800b3be: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b3c0: 681b ldr r3, [r3, #0] + 800b3c2: 685a ldr r2, [r3, #4] + 800b3c4: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b3c6: 681b ldr r3, [r3, #0] + 800b3c8: 891b ldrh r3, [r3, #8] + 800b3ca: 4619 mov r1, r3 + 800b3cc: 4610 mov r0, r2 + 800b3ce: f7fb fe69 bl 80070a4 tcplen = TCP_TCPLEN(next->next); - 800aa4e: 6bbb ldr r3, [r7, #56] @ 0x38 - 800aa50: 681b ldr r3, [r3, #0] - 800aa52: 891c ldrh r4, [r3, #8] - 800aa54: 6bbb ldr r3, [r7, #56] @ 0x38 - 800aa56: 681b ldr r3, [r3, #0] - 800aa58: 68db ldr r3, [r3, #12] - 800aa5a: 899b ldrh r3, [r3, #12] - 800aa5c: b29b uxth r3, r3 - 800aa5e: 4618 mov r0, r3 - 800aa60: f7fa fc92 bl 8005388 - 800aa64: 4603 mov r3, r0 - 800aa66: b2db uxtb r3, r3 - 800aa68: f003 0303 and.w r3, r3, #3 - 800aa6c: 2b00 cmp r3, #0 - 800aa6e: d001 beq.n 800aa74 - 800aa70: 2301 movs r3, #1 - 800aa72: e000 b.n 800aa76 - 800aa74: 2300 movs r3, #0 - 800aa76: 4423 add r3, r4 - 800aa78: b29a uxth r2, r3 - 800aa7a: 4b2a ldr r3, [pc, #168] @ (800ab24 ) - 800aa7c: 801a strh r2, [r3, #0] + 800b3d2: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b3d4: 681b ldr r3, [r3, #0] + 800b3d6: 891c ldrh r4, [r3, #8] + 800b3d8: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b3da: 681b ldr r3, [r3, #0] + 800b3dc: 68db ldr r3, [r3, #12] + 800b3de: 899b ldrh r3, [r3, #12] + 800b3e0: b29b uxth r3, r3 + 800b3e2: 4618 mov r0, r3 + 800b3e4: f7fa fc92 bl 8005d0c + 800b3e8: 4603 mov r3, r0 + 800b3ea: b2db uxtb r3, r3 + 800b3ec: f003 0303 and.w r3, r3, #3 + 800b3f0: 2b00 cmp r3, #0 + 800b3f2: d001 beq.n 800b3f8 + 800b3f4: 2301 movs r3, #1 + 800b3f6: e000 b.n 800b3fa + 800b3f8: 2300 movs r3, #0 + 800b3fa: 4423 add r3, r4 + 800b3fc: b29a uxth r2, r3 + 800b3fe: 4b2a ldr r3, [pc, #168] @ (800b4a8 ) + 800b400: 801a strh r2, [r3, #0] LWIP_ASSERT("tcp_receive: segment not trimmed correctly to rcv_wnd\n", - 800aa7e: 4b29 ldr r3, [pc, #164] @ (800ab24 ) - 800aa80: 881b ldrh r3, [r3, #0] - 800aa82: 461a mov r2, r3 - 800aa84: 4b25 ldr r3, [pc, #148] @ (800ab1c ) - 800aa86: 681b ldr r3, [r3, #0] - 800aa88: 441a add r2, r3 - 800aa8a: 687b ldr r3, [r7, #4] - 800aa8c: 6a5b ldr r3, [r3, #36] @ 0x24 - 800aa8e: 6879 ldr r1, [r7, #4] - 800aa90: 8d09 ldrh r1, [r1, #40] @ 0x28 - 800aa92: 440b add r3, r1 - 800aa94: 429a cmp r2, r3 - 800aa96: d019 beq.n 800aacc - 800aa98: 4b23 ldr r3, [pc, #140] @ (800ab28 ) - 800aa9a: f44f 62df mov.w r2, #1784 @ 0x6f8 - 800aa9e: 4923 ldr r1, [pc, #140] @ (800ab2c ) - 800aaa0: 4823 ldr r0, [pc, #140] @ (800ab30 ) - 800aaa2: f006 fda9 bl 80115f8 + 800b402: 4b29 ldr r3, [pc, #164] @ (800b4a8 ) + 800b404: 881b ldrh r3, [r3, #0] + 800b406: 461a mov r2, r3 + 800b408: 4b25 ldr r3, [pc, #148] @ (800b4a0 ) + 800b40a: 681b ldr r3, [r3, #0] + 800b40c: 441a add r2, r3 + 800b40e: 687b ldr r3, [r7, #4] + 800b410: 6a5b ldr r3, [r3, #36] @ 0x24 + 800b412: 6879 ldr r1, [r7, #4] + 800b414: 8d09 ldrh r1, [r1, #40] @ 0x28 + 800b416: 440b add r3, r1 + 800b418: 429a cmp r2, r3 + 800b41a: d019 beq.n 800b450 + 800b41c: 4b23 ldr r3, [pc, #140] @ (800b4ac ) + 800b41e: f44f 62df mov.w r2, #1784 @ 0x6f8 + 800b422: 4923 ldr r1, [pc, #140] @ (800b4b0 ) + 800b424: 4823 ldr r0, [pc, #140] @ (800b4b4 ) + 800b426: f006 fda9 bl 8011f7c (seqno + tcplen) == (pcb->rcv_nxt + pcb->rcv_wnd)); } } break; - 800aaa6: e011 b.n 800aacc + 800b42a: e011 b.n 800b450 for (next = pcb->ooseq; next != NULL; next = next->next) { - 800aaa8: 6bbb ldr r3, [r7, #56] @ 0x38 - 800aaaa: 681b ldr r3, [r3, #0] - 800aaac: 63bb str r3, [r7, #56] @ 0x38 - 800aaae: 6bbb ldr r3, [r7, #56] @ 0x38 - 800aab0: 2b00 cmp r3, #0 - 800aab2: f47f aea5 bne.w 800a800 - 800aab6: e00a b.n 800aace + 800b42c: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b42e: 681b ldr r3, [r3, #0] + 800b430: 63bb str r3, [r7, #56] @ 0x38 + 800b432: 6bbb ldr r3, [r7, #56] @ 0x38 + 800b434: 2b00 cmp r3, #0 + 800b436: f47f aea5 bne.w 800b184 + 800b43a: e00a b.n 800b452 break; - 800aab8: bf00 nop - 800aaba: e008 b.n 800aace + 800b43c: bf00 nop + 800b43e: e008 b.n 800b452 break; - 800aabc: bf00 nop - 800aabe: e006 b.n 800aace + 800b440: bf00 nop + 800b442: e006 b.n 800b452 break; - 800aac0: bf00 nop - 800aac2: e004 b.n 800aace + 800b444: bf00 nop + 800b446: e004 b.n 800b452 break; - 800aac4: bf00 nop - 800aac6: e002 b.n 800aace + 800b448: bf00 nop + 800b44a: e002 b.n 800b452 break; - 800aac8: bf00 nop - 800aaca: e000 b.n 800aace + 800b44c: bf00 nop + 800b44e: e000 b.n 800b452 break; - 800aacc: bf00 nop + 800b450: bf00 nop #endif /* TCP_OOSEQ_BYTES_LIMIT || TCP_OOSEQ_PBUFS_LIMIT */ #endif /* TCP_QUEUE_OOSEQ */ /* We send the ACK packet after we've (potentially) dealt with SACKs, so they can be included in the acknowledgment. */ tcp_send_empty_ack(pcb); - 800aace: 6878 ldr r0, [r7, #4] - 800aad0: f001 fa30 bl 800bf34 + 800b452: 6878 ldr r0, [r7, #4] + 800b454: f001 fa30 bl 800c8b8 if (pcb->rcv_nxt == seqno) { - 800aad4: e003 b.n 800aade + 800b458: e003 b.n 800b462 } } else { /* The incoming segment is not within the window. */ tcp_send_empty_ack(pcb); - 800aad6: 6878 ldr r0, [r7, #4] - 800aad8: f001 fa2c bl 800bf34 + 800b45a: 6878 ldr r0, [r7, #4] + 800b45c: f001 fa2c bl 800c8b8 if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, - 800aadc: e01a b.n 800ab14 - 800aade: e019 b.n 800ab14 + 800b460: e01a b.n 800b498 + 800b462: e019 b.n 800b498 } } else { /* Segments with length 0 is taken care of here. Segments that fall out of the window are ACKed. */ if (!TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, pcb->rcv_nxt + pcb->rcv_wnd - 1)) { - 800aae0: 4b0e ldr r3, [pc, #56] @ (800ab1c ) - 800aae2: 681a ldr r2, [r3, #0] - 800aae4: 687b ldr r3, [r7, #4] - 800aae6: 6a5b ldr r3, [r3, #36] @ 0x24 - 800aae8: 1ad3 subs r3, r2, r3 - 800aaea: 2b00 cmp r3, #0 - 800aaec: db0a blt.n 800ab04 - 800aaee: 4b0b ldr r3, [pc, #44] @ (800ab1c ) - 800aaf0: 681a ldr r2, [r3, #0] - 800aaf2: 687b ldr r3, [r7, #4] - 800aaf4: 6a5b ldr r3, [r3, #36] @ 0x24 - 800aaf6: 6879 ldr r1, [r7, #4] - 800aaf8: 8d09 ldrh r1, [r1, #40] @ 0x28 - 800aafa: 440b add r3, r1 - 800aafc: 1ad3 subs r3, r2, r3 - 800aafe: 3301 adds r3, #1 - 800ab00: 2b00 cmp r3, #0 - 800ab02: dd07 ble.n 800ab14 + 800b464: 4b0e ldr r3, [pc, #56] @ (800b4a0 ) + 800b466: 681a ldr r2, [r3, #0] + 800b468: 687b ldr r3, [r7, #4] + 800b46a: 6a5b ldr r3, [r3, #36] @ 0x24 + 800b46c: 1ad3 subs r3, r2, r3 + 800b46e: 2b00 cmp r3, #0 + 800b470: db0a blt.n 800b488 + 800b472: 4b0b ldr r3, [pc, #44] @ (800b4a0 ) + 800b474: 681a ldr r2, [r3, #0] + 800b476: 687b ldr r3, [r7, #4] + 800b478: 6a5b ldr r3, [r3, #36] @ 0x24 + 800b47a: 6879 ldr r1, [r7, #4] + 800b47c: 8d09 ldrh r1, [r1, #40] @ 0x28 + 800b47e: 440b add r3, r1 + 800b480: 1ad3 subs r3, r2, r3 + 800b482: 3301 adds r3, #1 + 800b484: 2b00 cmp r3, #0 + 800b486: dd07 ble.n 800b498 tcp_ack_now(pcb); - 800ab04: 687b ldr r3, [r7, #4] - 800ab06: 8b5b ldrh r3, [r3, #26] - 800ab08: f043 0302 orr.w r3, r3, #2 - 800ab0c: b29a uxth r2, r3 - 800ab0e: 687b ldr r3, [r7, #4] - 800ab10: 835a strh r2, [r3, #26] + 800b488: 687b ldr r3, [r7, #4] + 800b48a: 8b5b ldrh r3, [r3, #26] + 800b48c: f043 0302 orr.w r3, r3, #2 + 800b490: b29a uxth r2, r3 + 800b492: 687b ldr r3, [r7, #4] + 800b494: 835a strh r2, [r3, #26] } } } - 800ab12: e7ff b.n 800ab14 - 800ab14: bf00 nop - 800ab16: 3750 adds r7, #80 @ 0x50 - 800ab18: 46bd mov sp, r7 - 800ab1a: bdb0 pop {r4, r5, r7, pc} - 800ab1c: 200190dc .word 0x200190dc - 800ab20: 200190bc .word 0x200190bc - 800ab24: 200190e6 .word 0x200190e6 - 800ab28: 0801721c .word 0x0801721c - 800ab2c: 080175c4 .word 0x080175c4 - 800ab30: 08017268 .word 0x08017268 + 800b496: e7ff b.n 800b498 + 800b498: bf00 nop + 800b49a: 3750 adds r7, #80 @ 0x50 + 800b49c: 46bd mov sp, r7 + 800b49e: bdb0 pop {r4, r5, r7, pc} + 800b4a0: 20019110 .word 0x20019110 + 800b4a4: 200190f0 .word 0x200190f0 + 800b4a8: 2001911a .word 0x2001911a + 800b4ac: 08017b9c .word 0x08017b9c + 800b4b0: 08017f44 .word 0x08017f44 + 800b4b4: 08017be8 .word 0x08017be8 -0800ab34 : +0800b4b8 : static u8_t tcp_get_next_optbyte(void) { - 800ab34: b480 push {r7} - 800ab36: b083 sub sp, #12 - 800ab38: af00 add r7, sp, #0 + 800b4b8: b480 push {r7} + 800b4ba: b083 sub sp, #12 + 800b4bc: af00 add r7, sp, #0 u16_t optidx = tcp_optidx++; - 800ab3a: 4b15 ldr r3, [pc, #84] @ (800ab90 ) - 800ab3c: 881b ldrh r3, [r3, #0] - 800ab3e: 1c5a adds r2, r3, #1 - 800ab40: b291 uxth r1, r2 - 800ab42: 4a13 ldr r2, [pc, #76] @ (800ab90 ) - 800ab44: 8011 strh r1, [r2, #0] - 800ab46: 80fb strh r3, [r7, #6] + 800b4be: 4b15 ldr r3, [pc, #84] @ (800b514 ) + 800b4c0: 881b ldrh r3, [r3, #0] + 800b4c2: 1c5a adds r2, r3, #1 + 800b4c4: b291 uxth r1, r2 + 800b4c6: 4a13 ldr r2, [pc, #76] @ (800b514 ) + 800b4c8: 8011 strh r1, [r2, #0] + 800b4ca: 80fb strh r3, [r7, #6] if ((tcphdr_opt2 == NULL) || (optidx < tcphdr_opt1len)) { - 800ab48: 4b12 ldr r3, [pc, #72] @ (800ab94 ) - 800ab4a: 681b ldr r3, [r3, #0] - 800ab4c: 2b00 cmp r3, #0 - 800ab4e: d004 beq.n 800ab5a - 800ab50: 4b11 ldr r3, [pc, #68] @ (800ab98 ) - 800ab52: 881b ldrh r3, [r3, #0] - 800ab54: 88fa ldrh r2, [r7, #6] - 800ab56: 429a cmp r2, r3 - 800ab58: d208 bcs.n 800ab6c + 800b4cc: 4b12 ldr r3, [pc, #72] @ (800b518 ) + 800b4ce: 681b ldr r3, [r3, #0] + 800b4d0: 2b00 cmp r3, #0 + 800b4d2: d004 beq.n 800b4de + 800b4d4: 4b11 ldr r3, [pc, #68] @ (800b51c ) + 800b4d6: 881b ldrh r3, [r3, #0] + 800b4d8: 88fa ldrh r2, [r7, #6] + 800b4da: 429a cmp r2, r3 + 800b4dc: d208 bcs.n 800b4f0 u8_t *opts = (u8_t *)tcphdr + TCP_HLEN; - 800ab5a: 4b10 ldr r3, [pc, #64] @ (800ab9c ) - 800ab5c: 681b ldr r3, [r3, #0] - 800ab5e: 3314 adds r3, #20 - 800ab60: 603b str r3, [r7, #0] + 800b4de: 4b10 ldr r3, [pc, #64] @ (800b520 ) + 800b4e0: 681b ldr r3, [r3, #0] + 800b4e2: 3314 adds r3, #20 + 800b4e4: 603b str r3, [r7, #0] return opts[optidx]; - 800ab62: 88fb ldrh r3, [r7, #6] - 800ab64: 683a ldr r2, [r7, #0] - 800ab66: 4413 add r3, r2 - 800ab68: 781b ldrb r3, [r3, #0] - 800ab6a: e00b b.n 800ab84 + 800b4e6: 88fb ldrh r3, [r7, #6] + 800b4e8: 683a ldr r2, [r7, #0] + 800b4ea: 4413 add r3, r2 + 800b4ec: 781b ldrb r3, [r3, #0] + 800b4ee: e00b b.n 800b508 } else { u8_t idx = (u8_t)(optidx - tcphdr_opt1len); - 800ab6c: 88fb ldrh r3, [r7, #6] - 800ab6e: b2da uxtb r2, r3 - 800ab70: 4b09 ldr r3, [pc, #36] @ (800ab98 ) - 800ab72: 881b ldrh r3, [r3, #0] - 800ab74: b2db uxtb r3, r3 - 800ab76: 1ad3 subs r3, r2, r3 - 800ab78: 717b strb r3, [r7, #5] + 800b4f0: 88fb ldrh r3, [r7, #6] + 800b4f2: b2da uxtb r2, r3 + 800b4f4: 4b09 ldr r3, [pc, #36] @ (800b51c ) + 800b4f6: 881b ldrh r3, [r3, #0] + 800b4f8: b2db uxtb r3, r3 + 800b4fa: 1ad3 subs r3, r2, r3 + 800b4fc: 717b strb r3, [r7, #5] return tcphdr_opt2[idx]; - 800ab7a: 4b06 ldr r3, [pc, #24] @ (800ab94 ) - 800ab7c: 681a ldr r2, [r3, #0] - 800ab7e: 797b ldrb r3, [r7, #5] - 800ab80: 4413 add r3, r2 - 800ab82: 781b ldrb r3, [r3, #0] + 800b4fe: 4b06 ldr r3, [pc, #24] @ (800b518 ) + 800b500: 681a ldr r2, [r3, #0] + 800b502: 797b ldrb r3, [r7, #5] + 800b504: 4413 add r3, r2 + 800b506: 781b ldrb r3, [r3, #0] } } - 800ab84: 4618 mov r0, r3 - 800ab86: 370c adds r7, #12 - 800ab88: 46bd mov sp, r7 - 800ab8a: f85d 7b04 ldr.w r7, [sp], #4 - 800ab8e: 4770 bx lr - 800ab90: 200190d8 .word 0x200190d8 - 800ab94: 200190d4 .word 0x200190d4 - 800ab98: 200190d2 .word 0x200190d2 - 800ab9c: 200190cc .word 0x200190cc + 800b508: 4618 mov r0, r3 + 800b50a: 370c adds r7, #12 + 800b50c: 46bd mov sp, r7 + 800b50e: f85d 7b04 ldr.w r7, [sp], #4 + 800b512: 4770 bx lr + 800b514: 2001910c .word 0x2001910c + 800b518: 20019108 .word 0x20019108 + 800b51c: 20019106 .word 0x20019106 + 800b520: 20019100 .word 0x20019100 -0800aba0 : +0800b524 : * * @param pcb the tcp_pcb for which a segment arrived */ static void tcp_parseopt(struct tcp_pcb *pcb) { - 800aba0: b580 push {r7, lr} - 800aba2: b084 sub sp, #16 - 800aba4: af00 add r7, sp, #0 - 800aba6: 6078 str r0, [r7, #4] + 800b524: b580 push {r7, lr} + 800b526: b084 sub sp, #16 + 800b528: af00 add r7, sp, #0 + 800b52a: 6078 str r0, [r7, #4] u16_t mss; #if LWIP_TCP_TIMESTAMPS u32_t tsval; #endif LWIP_ASSERT("tcp_parseopt: invalid pcb", pcb != NULL); - 800aba8: 687b ldr r3, [r7, #4] - 800abaa: 2b00 cmp r3, #0 - 800abac: d106 bne.n 800abbc - 800abae: 4b32 ldr r3, [pc, #200] @ (800ac78 ) - 800abb0: f240 727d movw r2, #1917 @ 0x77d - 800abb4: 4931 ldr r1, [pc, #196] @ (800ac7c ) - 800abb6: 4832 ldr r0, [pc, #200] @ (800ac80 ) - 800abb8: f006 fd1e bl 80115f8 + 800b52c: 687b ldr r3, [r7, #4] + 800b52e: 2b00 cmp r3, #0 + 800b530: d106 bne.n 800b540 + 800b532: 4b32 ldr r3, [pc, #200] @ (800b5fc ) + 800b534: f240 727d movw r2, #1917 @ 0x77d + 800b538: 4931 ldr r1, [pc, #196] @ (800b600 ) + 800b53a: 4832 ldr r0, [pc, #200] @ (800b604 ) + 800b53c: f006 fd1e bl 8011f7c /* Parse the TCP MSS option, if present. */ if (tcphdr_optlen != 0) { - 800abbc: 4b31 ldr r3, [pc, #196] @ (800ac84 ) - 800abbe: 881b ldrh r3, [r3, #0] - 800abc0: 2b00 cmp r3, #0 - 800abc2: d056 beq.n 800ac72 + 800b540: 4b31 ldr r3, [pc, #196] @ (800b608 ) + 800b542: 881b ldrh r3, [r3, #0] + 800b544: 2b00 cmp r3, #0 + 800b546: d056 beq.n 800b5f6 for (tcp_optidx = 0; tcp_optidx < tcphdr_optlen; ) { - 800abc4: 4b30 ldr r3, [pc, #192] @ (800ac88 ) - 800abc6: 2200 movs r2, #0 - 800abc8: 801a strh r2, [r3, #0] - 800abca: e046 b.n 800ac5a + 800b548: 4b30 ldr r3, [pc, #192] @ (800b60c ) + 800b54a: 2200 movs r2, #0 + 800b54c: 801a strh r2, [r3, #0] + 800b54e: e046 b.n 800b5de u8_t opt = tcp_get_next_optbyte(); - 800abcc: f7ff ffb2 bl 800ab34 - 800abd0: 4603 mov r3, r0 - 800abd2: 73fb strb r3, [r7, #15] + 800b550: f7ff ffb2 bl 800b4b8 + 800b554: 4603 mov r3, r0 + 800b556: 73fb strb r3, [r7, #15] switch (opt) { - 800abd4: 7bfb ldrb r3, [r7, #15] - 800abd6: 2b02 cmp r3, #2 - 800abd8: d006 beq.n 800abe8 - 800abda: 2b02 cmp r3, #2 - 800abdc: dc2a bgt.n 800ac34 - 800abde: 2b00 cmp r3, #0 - 800abe0: d042 beq.n 800ac68 - 800abe2: 2b01 cmp r3, #1 - 800abe4: d038 beq.n 800ac58 - 800abe6: e025 b.n 800ac34 + 800b558: 7bfb ldrb r3, [r7, #15] + 800b55a: 2b02 cmp r3, #2 + 800b55c: d006 beq.n 800b56c + 800b55e: 2b02 cmp r3, #2 + 800b560: dc2a bgt.n 800b5b8 + 800b562: 2b00 cmp r3, #0 + 800b564: d042 beq.n 800b5ec + 800b566: 2b01 cmp r3, #1 + 800b568: d038 beq.n 800b5dc + 800b56a: e025 b.n 800b5b8 /* NOP option. */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_parseopt: NOP\n")); break; case LWIP_TCP_OPT_MSS: LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_parseopt: MSS\n")); if (tcp_get_next_optbyte() != LWIP_TCP_OPT_LEN_MSS || (tcp_optidx - 2 + LWIP_TCP_OPT_LEN_MSS) > tcphdr_optlen) { - 800abe8: f7ff ffa4 bl 800ab34 - 800abec: 4603 mov r3, r0 - 800abee: 2b04 cmp r3, #4 - 800abf0: d13c bne.n 800ac6c - 800abf2: 4b25 ldr r3, [pc, #148] @ (800ac88 ) - 800abf4: 881b ldrh r3, [r3, #0] - 800abf6: 3301 adds r3, #1 - 800abf8: 4a22 ldr r2, [pc, #136] @ (800ac84 ) - 800abfa: 8812 ldrh r2, [r2, #0] - 800abfc: 4293 cmp r3, r2 - 800abfe: da35 bge.n 800ac6c + 800b56c: f7ff ffa4 bl 800b4b8 + 800b570: 4603 mov r3, r0 + 800b572: 2b04 cmp r3, #4 + 800b574: d13c bne.n 800b5f0 + 800b576: 4b25 ldr r3, [pc, #148] @ (800b60c ) + 800b578: 881b ldrh r3, [r3, #0] + 800b57a: 3301 adds r3, #1 + 800b57c: 4a22 ldr r2, [pc, #136] @ (800b608 ) + 800b57e: 8812 ldrh r2, [r2, #0] + 800b580: 4293 cmp r3, r2 + 800b582: da35 bge.n 800b5f0 /* Bad length */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_parseopt: bad length\n")); return; } /* An MSS option with the right option length. */ mss = (u16_t)(tcp_get_next_optbyte() << 8); - 800ac00: f7ff ff98 bl 800ab34 - 800ac04: 4603 mov r3, r0 - 800ac06: 021b lsls r3, r3, #8 - 800ac08: 81bb strh r3, [r7, #12] + 800b584: f7ff ff98 bl 800b4b8 + 800b588: 4603 mov r3, r0 + 800b58a: 021b lsls r3, r3, #8 + 800b58c: 81bb strh r3, [r7, #12] mss |= tcp_get_next_optbyte(); - 800ac0a: f7ff ff93 bl 800ab34 - 800ac0e: 4603 mov r3, r0 - 800ac10: 461a mov r2, r3 - 800ac12: 89bb ldrh r3, [r7, #12] - 800ac14: 4313 orrs r3, r2 - 800ac16: 81bb strh r3, [r7, #12] + 800b58e: f7ff ff93 bl 800b4b8 + 800b592: 4603 mov r3, r0 + 800b594: 461a mov r2, r3 + 800b596: 89bb ldrh r3, [r7, #12] + 800b598: 4313 orrs r3, r2 + 800b59a: 81bb strh r3, [r7, #12] /* Limit the mss to the configured TCP_MSS and prevent division by zero */ pcb->mss = ((mss > TCP_MSS) || (mss == 0)) ? TCP_MSS : mss; - 800ac18: 89bb ldrh r3, [r7, #12] - 800ac1a: f5b3 7f06 cmp.w r3, #536 @ 0x218 - 800ac1e: d804 bhi.n 800ac2a - 800ac20: 89bb ldrh r3, [r7, #12] - 800ac22: 2b00 cmp r3, #0 - 800ac24: d001 beq.n 800ac2a - 800ac26: 89ba ldrh r2, [r7, #12] - 800ac28: e001 b.n 800ac2e - 800ac2a: f44f 7206 mov.w r2, #536 @ 0x218 - 800ac2e: 687b ldr r3, [r7, #4] - 800ac30: 865a strh r2, [r3, #50] @ 0x32 + 800b59c: 89bb ldrh r3, [r7, #12] + 800b59e: f5b3 7f06 cmp.w r3, #536 @ 0x218 + 800b5a2: d804 bhi.n 800b5ae + 800b5a4: 89bb ldrh r3, [r7, #12] + 800b5a6: 2b00 cmp r3, #0 + 800b5a8: d001 beq.n 800b5ae + 800b5aa: 89ba ldrh r2, [r7, #12] + 800b5ac: e001 b.n 800b5b2 + 800b5ae: f44f 7206 mov.w r2, #536 @ 0x218 + 800b5b2: 687b ldr r3, [r7, #4] + 800b5b4: 865a strh r2, [r3, #50] @ 0x32 break; - 800ac32: e012 b.n 800ac5a + 800b5b6: e012 b.n 800b5de } break; #endif /* LWIP_TCP_SACK_OUT */ default: LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_parseopt: other\n")); data = tcp_get_next_optbyte(); - 800ac34: f7ff ff7e bl 800ab34 - 800ac38: 4603 mov r3, r0 - 800ac3a: 72fb strb r3, [r7, #11] + 800b5b8: f7ff ff7e bl 800b4b8 + 800b5bc: 4603 mov r3, r0 + 800b5be: 72fb strb r3, [r7, #11] if (data < 2) { - 800ac3c: 7afb ldrb r3, [r7, #11] - 800ac3e: 2b01 cmp r3, #1 - 800ac40: d916 bls.n 800ac70 + 800b5c0: 7afb ldrb r3, [r7, #11] + 800b5c2: 2b01 cmp r3, #1 + 800b5c4: d916 bls.n 800b5f4 and we don't process them further. */ return; } /* All other options have a length field, so that we easily can skip past them. */ tcp_optidx += data - 2; - 800ac42: 7afb ldrb r3, [r7, #11] - 800ac44: b29a uxth r2, r3 - 800ac46: 4b10 ldr r3, [pc, #64] @ (800ac88 ) - 800ac48: 881b ldrh r3, [r3, #0] - 800ac4a: 4413 add r3, r2 - 800ac4c: b29b uxth r3, r3 - 800ac4e: 3b02 subs r3, #2 - 800ac50: b29a uxth r2, r3 - 800ac52: 4b0d ldr r3, [pc, #52] @ (800ac88 ) - 800ac54: 801a strh r2, [r3, #0] - 800ac56: e000 b.n 800ac5a + 800b5c6: 7afb ldrb r3, [r7, #11] + 800b5c8: b29a uxth r2, r3 + 800b5ca: 4b10 ldr r3, [pc, #64] @ (800b60c ) + 800b5cc: 881b ldrh r3, [r3, #0] + 800b5ce: 4413 add r3, r2 + 800b5d0: b29b uxth r3, r3 + 800b5d2: 3b02 subs r3, #2 + 800b5d4: b29a uxth r2, r3 + 800b5d6: 4b0d ldr r3, [pc, #52] @ (800b60c ) + 800b5d8: 801a strh r2, [r3, #0] + 800b5da: e000 b.n 800b5de break; - 800ac58: bf00 nop + 800b5dc: bf00 nop for (tcp_optidx = 0; tcp_optidx < tcphdr_optlen; ) { - 800ac5a: 4b0b ldr r3, [pc, #44] @ (800ac88 ) - 800ac5c: 881a ldrh r2, [r3, #0] - 800ac5e: 4b09 ldr r3, [pc, #36] @ (800ac84 ) - 800ac60: 881b ldrh r3, [r3, #0] - 800ac62: 429a cmp r2, r3 - 800ac64: d3b2 bcc.n 800abcc - 800ac66: e004 b.n 800ac72 + 800b5de: 4b0b ldr r3, [pc, #44] @ (800b60c ) + 800b5e0: 881a ldrh r2, [r3, #0] + 800b5e2: 4b09 ldr r3, [pc, #36] @ (800b608 ) + 800b5e4: 881b ldrh r3, [r3, #0] + 800b5e6: 429a cmp r2, r3 + 800b5e8: d3b2 bcc.n 800b550 + 800b5ea: e004 b.n 800b5f6 return; - 800ac68: bf00 nop - 800ac6a: e002 b.n 800ac72 + 800b5ec: bf00 nop + 800b5ee: e002 b.n 800b5f6 return; - 800ac6c: bf00 nop - 800ac6e: e000 b.n 800ac72 + 800b5f0: bf00 nop + 800b5f2: e000 b.n 800b5f6 return; - 800ac70: bf00 nop + 800b5f4: bf00 nop } } } } - 800ac72: 3710 adds r7, #16 - 800ac74: 46bd mov sp, r7 - 800ac76: bd80 pop {r7, pc} - 800ac78: 0801721c .word 0x0801721c - 800ac7c: 08017680 .word 0x08017680 - 800ac80: 08017268 .word 0x08017268 - 800ac84: 200190d0 .word 0x200190d0 - 800ac88: 200190d8 .word 0x200190d8 + 800b5f6: 3710 adds r7, #16 + 800b5f8: 46bd mov sp, r7 + 800b5fa: bd80 pop {r7, pc} + 800b5fc: 08017b9c .word 0x08017b9c + 800b600: 08018000 .word 0x08018000 + 800b604: 08017be8 .word 0x08017be8 + 800b608: 20019104 .word 0x20019104 + 800b60c: 2001910c .word 0x2001910c -0800ac8c : +0800b610 : void tcp_trigger_input_pcb_close(void) { - 800ac8c: b480 push {r7} - 800ac8e: af00 add r7, sp, #0 + 800b610: b480 push {r7} + 800b612: af00 add r7, sp, #0 recv_flags |= TF_CLOSED; - 800ac90: 4b05 ldr r3, [pc, #20] @ (800aca8 ) - 800ac92: 781b ldrb r3, [r3, #0] - 800ac94: f043 0310 orr.w r3, r3, #16 - 800ac98: b2da uxtb r2, r3 - 800ac9a: 4b03 ldr r3, [pc, #12] @ (800aca8 ) - 800ac9c: 701a strb r2, [r3, #0] + 800b614: 4b05 ldr r3, [pc, #20] @ (800b62c ) + 800b616: 781b ldrb r3, [r3, #0] + 800b618: f043 0310 orr.w r3, r3, #16 + 800b61c: b2da uxtb r2, r3 + 800b61e: 4b03 ldr r3, [pc, #12] @ (800b62c ) + 800b620: 701a strb r2, [r3, #0] } - 800ac9e: bf00 nop - 800aca0: 46bd mov sp, r7 - 800aca2: f85d 7b04 ldr.w r7, [sp], #4 - 800aca6: 4770 bx lr - 800aca8: 200190e9 .word 0x200190e9 + 800b622: bf00 nop + 800b624: 46bd mov sp, r7 + 800b626: f85d 7b04 ldr.w r7, [sp], #4 + 800b62a: 4770 bx lr + 800b62c: 2001911d .word 0x2001911d -0800acac : +0800b630 : static err_t tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb, struct netif *netif); /* tcp_route: common code that returns a fixed bound netif or calls ip_route */ static struct netif * tcp_route(const struct tcp_pcb *pcb, const ip_addr_t *src, const ip_addr_t *dst) { - 800acac: b580 push {r7, lr} - 800acae: b084 sub sp, #16 - 800acb0: af00 add r7, sp, #0 - 800acb2: 60f8 str r0, [r7, #12] - 800acb4: 60b9 str r1, [r7, #8] - 800acb6: 607a str r2, [r7, #4] + 800b630: b580 push {r7, lr} + 800b632: b084 sub sp, #16 + 800b634: af00 add r7, sp, #0 + 800b636: 60f8 str r0, [r7, #12] + 800b638: 60b9 str r1, [r7, #8] + 800b63a: 607a str r2, [r7, #4] LWIP_UNUSED_ARG(src); /* in case IPv4-only and source-based routing is disabled */ if ((pcb != NULL) && (pcb->netif_idx != NETIF_NO_INDEX)) { - 800acb8: 68fb ldr r3, [r7, #12] - 800acba: 2b00 cmp r3, #0 - 800acbc: d00a beq.n 800acd4 - 800acbe: 68fb ldr r3, [r7, #12] - 800acc0: 7a1b ldrb r3, [r3, #8] - 800acc2: 2b00 cmp r3, #0 - 800acc4: d006 beq.n 800acd4 + 800b63c: 68fb ldr r3, [r7, #12] + 800b63e: 2b00 cmp r3, #0 + 800b640: d00a beq.n 800b658 + 800b642: 68fb ldr r3, [r7, #12] + 800b644: 7a1b ldrb r3, [r3, #8] + 800b646: 2b00 cmp r3, #0 + 800b648: d006 beq.n 800b658 return netif_get_by_index(pcb->netif_idx); - 800acc6: 68fb ldr r3, [r7, #12] - 800acc8: 7a1b ldrb r3, [r3, #8] - 800acca: 4618 mov r0, r3 - 800accc: f7fb fb4e bl 800636c - 800acd0: 4603 mov r3, r0 - 800acd2: e003 b.n 800acdc + 800b64a: 68fb ldr r3, [r7, #12] + 800b64c: 7a1b ldrb r3, [r3, #8] + 800b64e: 4618 mov r0, r3 + 800b650: f7fb fb4e bl 8006cf0 + 800b654: 4603 mov r3, r0 + 800b656: e003 b.n 800b660 } else { return ip_route(src, dst); - 800acd4: 6878 ldr r0, [r7, #4] - 800acd6: f005 f869 bl 800fdac - 800acda: 4603 mov r3, r0 + 800b658: 6878 ldr r0, [r7, #4] + 800b65a: f005 f869 bl 8010730 + 800b65e: 4603 mov r3, r0 } } - 800acdc: 4618 mov r0, r3 - 800acde: 3710 adds r7, #16 - 800ace0: 46bd mov sp, r7 - 800ace2: bd80 pop {r7, pc} + 800b660: 4618 mov r0, r3 + 800b662: 3710 adds r7, #16 + 800b664: 46bd mov sp, r7 + 800b666: bd80 pop {r7, pc} -0800ace4 : +0800b668 : * The TCP header is filled in except ackno and wnd. * p is freed on failure. */ static struct tcp_seg * tcp_create_segment(const struct tcp_pcb *pcb, struct pbuf *p, u8_t hdrflags, u32_t seqno, u8_t optflags) { - 800ace4: b590 push {r4, r7, lr} - 800ace6: b087 sub sp, #28 - 800ace8: af00 add r7, sp, #0 - 800acea: 60f8 str r0, [r7, #12] - 800acec: 60b9 str r1, [r7, #8] - 800acee: 603b str r3, [r7, #0] - 800acf0: 4613 mov r3, r2 - 800acf2: 71fb strb r3, [r7, #7] + 800b668: b590 push {r4, r7, lr} + 800b66a: b087 sub sp, #28 + 800b66c: af00 add r7, sp, #0 + 800b66e: 60f8 str r0, [r7, #12] + 800b670: 60b9 str r1, [r7, #8] + 800b672: 603b str r3, [r7, #0] + 800b674: 4613 mov r3, r2 + 800b676: 71fb strb r3, [r7, #7] struct tcp_seg *seg; u8_t optlen; LWIP_ASSERT("tcp_create_segment: invalid pcb", pcb != NULL); - 800acf4: 68fb ldr r3, [r7, #12] - 800acf6: 2b00 cmp r3, #0 - 800acf8: d105 bne.n 800ad06 - 800acfa: 4b43 ldr r3, [pc, #268] @ (800ae08 ) - 800acfc: 22a3 movs r2, #163 @ 0xa3 - 800acfe: 4943 ldr r1, [pc, #268] @ (800ae0c ) - 800ad00: 4843 ldr r0, [pc, #268] @ (800ae10 ) - 800ad02: f006 fc79 bl 80115f8 + 800b678: 68fb ldr r3, [r7, #12] + 800b67a: 2b00 cmp r3, #0 + 800b67c: d105 bne.n 800b68a + 800b67e: 4b43 ldr r3, [pc, #268] @ (800b78c ) + 800b680: 22a3 movs r2, #163 @ 0xa3 + 800b682: 4943 ldr r1, [pc, #268] @ (800b790 ) + 800b684: 4843 ldr r0, [pc, #268] @ (800b794 ) + 800b686: f006 fc79 bl 8011f7c LWIP_ASSERT("tcp_create_segment: invalid pbuf", p != NULL); - 800ad06: 68bb ldr r3, [r7, #8] - 800ad08: 2b00 cmp r3, #0 - 800ad0a: d105 bne.n 800ad18 - 800ad0c: 4b3e ldr r3, [pc, #248] @ (800ae08 ) - 800ad0e: 22a4 movs r2, #164 @ 0xa4 - 800ad10: 4940 ldr r1, [pc, #256] @ (800ae14 ) - 800ad12: 483f ldr r0, [pc, #252] @ (800ae10 ) - 800ad14: f006 fc70 bl 80115f8 + 800b68a: 68bb ldr r3, [r7, #8] + 800b68c: 2b00 cmp r3, #0 + 800b68e: d105 bne.n 800b69c + 800b690: 4b3e ldr r3, [pc, #248] @ (800b78c ) + 800b692: 22a4 movs r2, #164 @ 0xa4 + 800b694: 4940 ldr r1, [pc, #256] @ (800b798 ) + 800b696: 483f ldr r0, [pc, #252] @ (800b794 ) + 800b698: f006 fc70 bl 8011f7c optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(optflags, pcb); - 800ad18: f897 3028 ldrb.w r3, [r7, #40] @ 0x28 - 800ad1c: 009b lsls r3, r3, #2 - 800ad1e: b2db uxtb r3, r3 - 800ad20: f003 0304 and.w r3, r3, #4 - 800ad24: 75fb strb r3, [r7, #23] + 800b69c: f897 3028 ldrb.w r3, [r7, #40] @ 0x28 + 800b6a0: 009b lsls r3, r3, #2 + 800b6a2: b2db uxtb r3, r3 + 800b6a4: f003 0304 and.w r3, r3, #4 + 800b6a8: 75fb strb r3, [r7, #23] if ((seg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG)) == NULL) { - 800ad26: 2003 movs r0, #3 - 800ad28: f7fa ff8e bl 8005c48 - 800ad2c: 6138 str r0, [r7, #16] - 800ad2e: 693b ldr r3, [r7, #16] - 800ad30: 2b00 cmp r3, #0 - 800ad32: d104 bne.n 800ad3e + 800b6aa: 2003 movs r0, #3 + 800b6ac: f7fa ff8e bl 80065cc + 800b6b0: 6138 str r0, [r7, #16] + 800b6b2: 693b ldr r3, [r7, #16] + 800b6b4: 2b00 cmp r3, #0 + 800b6b6: d104 bne.n 800b6c2 LWIP_DEBUGF(TCP_OUTPUT_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("tcp_create_segment: no memory.\n")); pbuf_free(p); - 800ad34: 68b8 ldr r0, [r7, #8] - 800ad36: f7fb fe77 bl 8006a28 + 800b6b8: 68b8 ldr r0, [r7, #8] + 800b6ba: f7fb fe77 bl 80073ac return NULL; - 800ad3a: 2300 movs r3, #0 - 800ad3c: e060 b.n 800ae00 + 800b6be: 2300 movs r3, #0 + 800b6c0: e060 b.n 800b784 } seg->flags = optflags; - 800ad3e: 693b ldr r3, [r7, #16] - 800ad40: f897 2028 ldrb.w r2, [r7, #40] @ 0x28 - 800ad44: 729a strb r2, [r3, #10] + 800b6c2: 693b ldr r3, [r7, #16] + 800b6c4: f897 2028 ldrb.w r2, [r7, #40] @ 0x28 + 800b6c8: 729a strb r2, [r3, #10] seg->next = NULL; - 800ad46: 693b ldr r3, [r7, #16] - 800ad48: 2200 movs r2, #0 - 800ad4a: 601a str r2, [r3, #0] + 800b6ca: 693b ldr r3, [r7, #16] + 800b6cc: 2200 movs r2, #0 + 800b6ce: 601a str r2, [r3, #0] seg->p = p; - 800ad4c: 693b ldr r3, [r7, #16] - 800ad4e: 68ba ldr r2, [r7, #8] - 800ad50: 605a str r2, [r3, #4] + 800b6d0: 693b ldr r3, [r7, #16] + 800b6d2: 68ba ldr r2, [r7, #8] + 800b6d4: 605a str r2, [r3, #4] LWIP_ASSERT("p->tot_len >= optlen", p->tot_len >= optlen); - 800ad52: 68bb ldr r3, [r7, #8] - 800ad54: 891a ldrh r2, [r3, #8] - 800ad56: 7dfb ldrb r3, [r7, #23] - 800ad58: b29b uxth r3, r3 - 800ad5a: 429a cmp r2, r3 - 800ad5c: d205 bcs.n 800ad6a - 800ad5e: 4b2a ldr r3, [pc, #168] @ (800ae08 ) - 800ad60: 22b0 movs r2, #176 @ 0xb0 - 800ad62: 492d ldr r1, [pc, #180] @ (800ae18 ) - 800ad64: 482a ldr r0, [pc, #168] @ (800ae10 ) - 800ad66: f006 fc47 bl 80115f8 + 800b6d6: 68bb ldr r3, [r7, #8] + 800b6d8: 891a ldrh r2, [r3, #8] + 800b6da: 7dfb ldrb r3, [r7, #23] + 800b6dc: b29b uxth r3, r3 + 800b6de: 429a cmp r2, r3 + 800b6e0: d205 bcs.n 800b6ee + 800b6e2: 4b2a ldr r3, [pc, #168] @ (800b78c ) + 800b6e4: 22b0 movs r2, #176 @ 0xb0 + 800b6e6: 492d ldr r1, [pc, #180] @ (800b79c ) + 800b6e8: 482a ldr r0, [pc, #168] @ (800b794 ) + 800b6ea: f006 fc47 bl 8011f7c seg->len = p->tot_len - optlen; - 800ad6a: 68bb ldr r3, [r7, #8] - 800ad6c: 891a ldrh r2, [r3, #8] - 800ad6e: 7dfb ldrb r3, [r7, #23] - 800ad70: b29b uxth r3, r3 - 800ad72: 1ad3 subs r3, r2, r3 - 800ad74: b29a uxth r2, r3 - 800ad76: 693b ldr r3, [r7, #16] - 800ad78: 811a strh r2, [r3, #8] + 800b6ee: 68bb ldr r3, [r7, #8] + 800b6f0: 891a ldrh r2, [r3, #8] + 800b6f2: 7dfb ldrb r3, [r7, #23] + 800b6f4: b29b uxth r3, r3 + 800b6f6: 1ad3 subs r3, r2, r3 + 800b6f8: b29a uxth r2, r3 + 800b6fa: 693b ldr r3, [r7, #16] + 800b6fc: 811a strh r2, [r3, #8] LWIP_ASSERT("invalid optflags passed: TF_SEG_DATA_CHECKSUMMED", (optflags & TF_SEG_DATA_CHECKSUMMED) == 0); #endif /* TCP_CHECKSUM_ON_COPY */ /* build TCP header */ if (pbuf_add_header(p, TCP_HLEN)) { - 800ad7a: 2114 movs r1, #20 - 800ad7c: 68b8 ldr r0, [r7, #8] - 800ad7e: f7fb fdbd bl 80068fc - 800ad82: 4603 mov r3, r0 - 800ad84: 2b00 cmp r3, #0 - 800ad86: d004 beq.n 800ad92 + 800b6fe: 2114 movs r1, #20 + 800b700: 68b8 ldr r0, [r7, #8] + 800b702: f7fb fdbd bl 8007280 + 800b706: 4603 mov r3, r0 + 800b708: 2b00 cmp r3, #0 + 800b70a: d004 beq.n 800b716 LWIP_DEBUGF(TCP_OUTPUT_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("tcp_create_segment: no room for TCP header in pbuf.\n")); TCP_STATS_INC(tcp.err); tcp_seg_free(seg); - 800ad88: 6938 ldr r0, [r7, #16] - 800ad8a: f7fd f8d2 bl 8007f32 + 800b70c: 6938 ldr r0, [r7, #16] + 800b70e: f7fd f8d2 bl 80088b6 return NULL; - 800ad8e: 2300 movs r3, #0 - 800ad90: e036 b.n 800ae00 + 800b712: 2300 movs r3, #0 + 800b714: e036 b.n 800b784 } seg->tcphdr = (struct tcp_hdr *)seg->p->payload; - 800ad92: 693b ldr r3, [r7, #16] - 800ad94: 685b ldr r3, [r3, #4] - 800ad96: 685a ldr r2, [r3, #4] - 800ad98: 693b ldr r3, [r7, #16] - 800ad9a: 60da str r2, [r3, #12] + 800b716: 693b ldr r3, [r7, #16] + 800b718: 685b ldr r3, [r3, #4] + 800b71a: 685a ldr r2, [r3, #4] + 800b71c: 693b ldr r3, [r7, #16] + 800b71e: 60da str r2, [r3, #12] seg->tcphdr->src = lwip_htons(pcb->local_port); - 800ad9c: 68fb ldr r3, [r7, #12] - 800ad9e: 8ada ldrh r2, [r3, #22] - 800ada0: 693b ldr r3, [r7, #16] - 800ada2: 68dc ldr r4, [r3, #12] - 800ada4: 4610 mov r0, r2 - 800ada6: f7fa faef bl 8005388 - 800adaa: 4603 mov r3, r0 - 800adac: 8023 strh r3, [r4, #0] + 800b720: 68fb ldr r3, [r7, #12] + 800b722: 8ada ldrh r2, [r3, #22] + 800b724: 693b ldr r3, [r7, #16] + 800b726: 68dc ldr r4, [r3, #12] + 800b728: 4610 mov r0, r2 + 800b72a: f7fa faef bl 8005d0c + 800b72e: 4603 mov r3, r0 + 800b730: 8023 strh r3, [r4, #0] seg->tcphdr->dest = lwip_htons(pcb->remote_port); - 800adae: 68fb ldr r3, [r7, #12] - 800adb0: 8b1a ldrh r2, [r3, #24] - 800adb2: 693b ldr r3, [r7, #16] - 800adb4: 68dc ldr r4, [r3, #12] - 800adb6: 4610 mov r0, r2 - 800adb8: f7fa fae6 bl 8005388 - 800adbc: 4603 mov r3, r0 - 800adbe: 8063 strh r3, [r4, #2] + 800b732: 68fb ldr r3, [r7, #12] + 800b734: 8b1a ldrh r2, [r3, #24] + 800b736: 693b ldr r3, [r7, #16] + 800b738: 68dc ldr r4, [r3, #12] + 800b73a: 4610 mov r0, r2 + 800b73c: f7fa fae6 bl 8005d0c + 800b740: 4603 mov r3, r0 + 800b742: 8063 strh r3, [r4, #2] seg->tcphdr->seqno = lwip_htonl(seqno); - 800adc0: 693b ldr r3, [r7, #16] - 800adc2: 68dc ldr r4, [r3, #12] - 800adc4: 6838 ldr r0, [r7, #0] - 800adc6: f7fa faf4 bl 80053b2 - 800adca: 4603 mov r3, r0 - 800adcc: 6063 str r3, [r4, #4] + 800b744: 693b ldr r3, [r7, #16] + 800b746: 68dc ldr r4, [r3, #12] + 800b748: 6838 ldr r0, [r7, #0] + 800b74a: f7fa faf4 bl 8005d36 + 800b74e: 4603 mov r3, r0 + 800b750: 6063 str r3, [r4, #4] /* ackno is set in tcp_output */ TCPH_HDRLEN_FLAGS_SET(seg->tcphdr, (5 + optlen / 4), hdrflags); - 800adce: 7dfb ldrb r3, [r7, #23] - 800add0: 089b lsrs r3, r3, #2 - 800add2: b2db uxtb r3, r3 - 800add4: 3305 adds r3, #5 - 800add6: b29b uxth r3, r3 - 800add8: 031b lsls r3, r3, #12 - 800adda: b29a uxth r2, r3 - 800addc: 79fb ldrb r3, [r7, #7] - 800adde: b29b uxth r3, r3 - 800ade0: 4313 orrs r3, r2 - 800ade2: b29a uxth r2, r3 - 800ade4: 693b ldr r3, [r7, #16] - 800ade6: 68dc ldr r4, [r3, #12] - 800ade8: 4610 mov r0, r2 - 800adea: f7fa facd bl 8005388 - 800adee: 4603 mov r3, r0 - 800adf0: 81a3 strh r3, [r4, #12] + 800b752: 7dfb ldrb r3, [r7, #23] + 800b754: 089b lsrs r3, r3, #2 + 800b756: b2db uxtb r3, r3 + 800b758: 3305 adds r3, #5 + 800b75a: b29b uxth r3, r3 + 800b75c: 031b lsls r3, r3, #12 + 800b75e: b29a uxth r2, r3 + 800b760: 79fb ldrb r3, [r7, #7] + 800b762: b29b uxth r3, r3 + 800b764: 4313 orrs r3, r2 + 800b766: b29a uxth r2, r3 + 800b768: 693b ldr r3, [r7, #16] + 800b76a: 68dc ldr r4, [r3, #12] + 800b76c: 4610 mov r0, r2 + 800b76e: f7fa facd bl 8005d0c + 800b772: 4603 mov r3, r0 + 800b774: 81a3 strh r3, [r4, #12] /* wnd and chksum are set in tcp_output */ seg->tcphdr->urgp = 0; - 800adf2: 693b ldr r3, [r7, #16] - 800adf4: 68db ldr r3, [r3, #12] - 800adf6: 2200 movs r2, #0 - 800adf8: 749a strb r2, [r3, #18] - 800adfa: 2200 movs r2, #0 - 800adfc: 74da strb r2, [r3, #19] + 800b776: 693b ldr r3, [r7, #16] + 800b778: 68db ldr r3, [r3, #12] + 800b77a: 2200 movs r2, #0 + 800b77c: 749a strb r2, [r3, #18] + 800b77e: 2200 movs r2, #0 + 800b780: 74da strb r2, [r3, #19] return seg; - 800adfe: 693b ldr r3, [r7, #16] + 800b782: 693b ldr r3, [r7, #16] } - 800ae00: 4618 mov r0, r3 - 800ae02: 371c adds r7, #28 - 800ae04: 46bd mov sp, r7 - 800ae06: bd90 pop {r4, r7, pc} - 800ae08: 0801769c .word 0x0801769c - 800ae0c: 080176d0 .word 0x080176d0 - 800ae10: 080176f0 .word 0x080176f0 - 800ae14: 08017718 .word 0x08017718 - 800ae18: 0801773c .word 0x0801773c + 800b784: 4618 mov r0, r3 + 800b786: 371c adds r7, #28 + 800b788: 46bd mov sp, r7 + 800b78a: bd90 pop {r4, r7, pc} + 800b78c: 0801801c .word 0x0801801c + 800b790: 08018050 .word 0x08018050 + 800b794: 08018070 .word 0x08018070 + 800b798: 08018098 .word 0x08018098 + 800b79c: 080180bc .word 0x080180bc -0800ae1c : +0800b7a0 : * @param pcb the tcp_pcb for which to split the unsent head * @param split the amount of payload to remain in the head */ err_t tcp_split_unsent_seg(struct tcp_pcb *pcb, u16_t split) { - 800ae1c: b590 push {r4, r7, lr} - 800ae1e: b08b sub sp, #44 @ 0x2c - 800ae20: af02 add r7, sp, #8 - 800ae22: 6078 str r0, [r7, #4] - 800ae24: 460b mov r3, r1 - 800ae26: 807b strh r3, [r7, #2] + 800b7a0: b590 push {r4, r7, lr} + 800b7a2: b08b sub sp, #44 @ 0x2c + 800b7a4: af02 add r7, sp, #8 + 800b7a6: 6078 str r0, [r7, #4] + 800b7a8: 460b mov r3, r1 + 800b7aa: 807b strh r3, [r7, #2] struct tcp_seg *seg = NULL, *useg = NULL; - 800ae28: 2300 movs r3, #0 - 800ae2a: 61fb str r3, [r7, #28] - 800ae2c: 2300 movs r3, #0 - 800ae2e: 617b str r3, [r7, #20] + 800b7ac: 2300 movs r3, #0 + 800b7ae: 61fb str r3, [r7, #28] + 800b7b0: 2300 movs r3, #0 + 800b7b2: 617b str r3, [r7, #20] struct pbuf *p = NULL; - 800ae30: 2300 movs r3, #0 - 800ae32: 613b str r3, [r7, #16] + 800b7b4: 2300 movs r3, #0 + 800b7b6: 613b str r3, [r7, #16] u16_t chksum = 0; u8_t chksum_swapped = 0; struct pbuf *q; #endif /* TCP_CHECKSUM_ON_COPY */ LWIP_ASSERT("tcp_split_unsent_seg: invalid pcb", pcb != NULL); - 800ae34: 687b ldr r3, [r7, #4] - 800ae36: 2b00 cmp r3, #0 - 800ae38: d106 bne.n 800ae48 - 800ae3a: 4b95 ldr r3, [pc, #596] @ (800b090 ) - 800ae3c: f240 324b movw r2, #843 @ 0x34b - 800ae40: 4994 ldr r1, [pc, #592] @ (800b094 ) - 800ae42: 4895 ldr r0, [pc, #596] @ (800b098 ) - 800ae44: f006 fbd8 bl 80115f8 + 800b7b8: 687b ldr r3, [r7, #4] + 800b7ba: 2b00 cmp r3, #0 + 800b7bc: d106 bne.n 800b7cc + 800b7be: 4b95 ldr r3, [pc, #596] @ (800ba14 ) + 800b7c0: f240 324b movw r2, #843 @ 0x34b + 800b7c4: 4994 ldr r1, [pc, #592] @ (800ba18 ) + 800b7c6: 4895 ldr r0, [pc, #596] @ (800ba1c ) + 800b7c8: f006 fbd8 bl 8011f7c useg = pcb->unsent; - 800ae48: 687b ldr r3, [r7, #4] - 800ae4a: 6edb ldr r3, [r3, #108] @ 0x6c - 800ae4c: 617b str r3, [r7, #20] + 800b7cc: 687b ldr r3, [r7, #4] + 800b7ce: 6edb ldr r3, [r3, #108] @ 0x6c + 800b7d0: 617b str r3, [r7, #20] if (useg == NULL) { - 800ae4e: 697b ldr r3, [r7, #20] - 800ae50: 2b00 cmp r3, #0 - 800ae52: d102 bne.n 800ae5a + 800b7d2: 697b ldr r3, [r7, #20] + 800b7d4: 2b00 cmp r3, #0 + 800b7d6: d102 bne.n 800b7de return ERR_MEM; - 800ae54: f04f 33ff mov.w r3, #4294967295 - 800ae58: e116 b.n 800b088 + 800b7d8: f04f 33ff mov.w r3, #4294967295 + 800b7dc: e116 b.n 800ba0c } if (split == 0) { - 800ae5a: 887b ldrh r3, [r7, #2] - 800ae5c: 2b00 cmp r3, #0 - 800ae5e: d109 bne.n 800ae74 + 800b7de: 887b ldrh r3, [r7, #2] + 800b7e0: 2b00 cmp r3, #0 + 800b7e2: d109 bne.n 800b7f8 LWIP_ASSERT("Can't split segment into length 0", 0); - 800ae60: 4b8b ldr r3, [pc, #556] @ (800b090 ) - 800ae62: f240 3253 movw r2, #851 @ 0x353 - 800ae66: 498d ldr r1, [pc, #564] @ (800b09c ) - 800ae68: 488b ldr r0, [pc, #556] @ (800b098 ) - 800ae6a: f006 fbc5 bl 80115f8 + 800b7e4: 4b8b ldr r3, [pc, #556] @ (800ba14 ) + 800b7e6: f240 3253 movw r2, #851 @ 0x353 + 800b7ea: 498d ldr r1, [pc, #564] @ (800ba20 ) + 800b7ec: 488b ldr r0, [pc, #556] @ (800ba1c ) + 800b7ee: f006 fbc5 bl 8011f7c return ERR_VAL; - 800ae6e: f06f 0305 mvn.w r3, #5 - 800ae72: e109 b.n 800b088 + 800b7f2: f06f 0305 mvn.w r3, #5 + 800b7f6: e109 b.n 800ba0c } if (useg->len <= split) { - 800ae74: 697b ldr r3, [r7, #20] - 800ae76: 891b ldrh r3, [r3, #8] - 800ae78: 887a ldrh r2, [r7, #2] - 800ae7a: 429a cmp r2, r3 - 800ae7c: d301 bcc.n 800ae82 + 800b7f8: 697b ldr r3, [r7, #20] + 800b7fa: 891b ldrh r3, [r3, #8] + 800b7fc: 887a ldrh r2, [r7, #2] + 800b7fe: 429a cmp r2, r3 + 800b800: d301 bcc.n 800b806 return ERR_OK; - 800ae7e: 2300 movs r3, #0 - 800ae80: e102 b.n 800b088 + 800b802: 2300 movs r3, #0 + 800b804: e102 b.n 800ba0c } LWIP_ASSERT("split <= mss", split <= pcb->mss); - 800ae82: 687b ldr r3, [r7, #4] - 800ae84: 8e5b ldrh r3, [r3, #50] @ 0x32 - 800ae86: 887a ldrh r2, [r7, #2] - 800ae88: 429a cmp r2, r3 - 800ae8a: d906 bls.n 800ae9a - 800ae8c: 4b80 ldr r3, [pc, #512] @ (800b090 ) - 800ae8e: f240 325b movw r2, #859 @ 0x35b - 800ae92: 4983 ldr r1, [pc, #524] @ (800b0a0 ) - 800ae94: 4880 ldr r0, [pc, #512] @ (800b098 ) - 800ae96: f006 fbaf bl 80115f8 + 800b806: 687b ldr r3, [r7, #4] + 800b808: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800b80a: 887a ldrh r2, [r7, #2] + 800b80c: 429a cmp r2, r3 + 800b80e: d906 bls.n 800b81e + 800b810: 4b80 ldr r3, [pc, #512] @ (800ba14 ) + 800b812: f240 325b movw r2, #859 @ 0x35b + 800b816: 4983 ldr r1, [pc, #524] @ (800ba24 ) + 800b818: 4880 ldr r0, [pc, #512] @ (800ba1c ) + 800b81a: f006 fbaf bl 8011f7c LWIP_ASSERT("useg->len > 0", useg->len > 0); - 800ae9a: 697b ldr r3, [r7, #20] - 800ae9c: 891b ldrh r3, [r3, #8] - 800ae9e: 2b00 cmp r3, #0 - 800aea0: d106 bne.n 800aeb0 - 800aea2: 4b7b ldr r3, [pc, #492] @ (800b090 ) - 800aea4: f44f 7257 mov.w r2, #860 @ 0x35c - 800aea8: 497e ldr r1, [pc, #504] @ (800b0a4 ) - 800aeaa: 487b ldr r0, [pc, #492] @ (800b098 ) - 800aeac: f006 fba4 bl 80115f8 + 800b81e: 697b ldr r3, [r7, #20] + 800b820: 891b ldrh r3, [r3, #8] + 800b822: 2b00 cmp r3, #0 + 800b824: d106 bne.n 800b834 + 800b826: 4b7b ldr r3, [pc, #492] @ (800ba14 ) + 800b828: f44f 7257 mov.w r2, #860 @ 0x35c + 800b82c: 497e ldr r1, [pc, #504] @ (800ba28 ) + 800b82e: 487b ldr r0, [pc, #492] @ (800ba1c ) + 800b830: f006 fba4 bl 8011f7c * to split this packet so we may actually exceed the max value by * one! */ LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_enqueue: split_unsent_seg: %u\n", (unsigned int)pcb->snd_queuelen)); optflags = useg->flags; - 800aeb0: 697b ldr r3, [r7, #20] - 800aeb2: 7a9b ldrb r3, [r3, #10] - 800aeb4: 73fb strb r3, [r7, #15] + 800b834: 697b ldr r3, [r7, #20] + 800b836: 7a9b ldrb r3, [r3, #10] + 800b838: 73fb strb r3, [r7, #15] #if TCP_CHECKSUM_ON_COPY /* Remove since checksum is not stored until after tcp_create_segment() */ optflags &= ~TF_SEG_DATA_CHECKSUMMED; #endif /* TCP_CHECKSUM_ON_COPY */ optlen = LWIP_TCP_OPT_LENGTH(optflags); - 800aeb6: 7bfb ldrb r3, [r7, #15] - 800aeb8: 009b lsls r3, r3, #2 - 800aeba: b2db uxtb r3, r3 - 800aebc: f003 0304 and.w r3, r3, #4 - 800aec0: 73bb strb r3, [r7, #14] + 800b83a: 7bfb ldrb r3, [r7, #15] + 800b83c: 009b lsls r3, r3, #2 + 800b83e: b2db uxtb r3, r3 + 800b840: f003 0304 and.w r3, r3, #4 + 800b844: 73bb strb r3, [r7, #14] remainder = useg->len - split; - 800aec2: 697b ldr r3, [r7, #20] - 800aec4: 891a ldrh r2, [r3, #8] - 800aec6: 887b ldrh r3, [r7, #2] - 800aec8: 1ad3 subs r3, r2, r3 - 800aeca: 81bb strh r3, [r7, #12] + 800b846: 697b ldr r3, [r7, #20] + 800b848: 891a ldrh r2, [r3, #8] + 800b84a: 887b ldrh r3, [r7, #2] + 800b84c: 1ad3 subs r3, r2, r3 + 800b84e: 81bb strh r3, [r7, #12] /* Create new pbuf for the remainder of the split */ p = pbuf_alloc(PBUF_TRANSPORT, remainder + optlen, PBUF_RAM); - 800aecc: 7bbb ldrb r3, [r7, #14] - 800aece: b29a uxth r2, r3 - 800aed0: 89bb ldrh r3, [r7, #12] - 800aed2: 4413 add r3, r2 - 800aed4: b29b uxth r3, r3 - 800aed6: f44f 7220 mov.w r2, #640 @ 0x280 - 800aeda: 4619 mov r1, r3 - 800aedc: 2036 movs r0, #54 @ 0x36 - 800aede: f7fb fac1 bl 8006464 - 800aee2: 6138 str r0, [r7, #16] + 800b850: 7bbb ldrb r3, [r7, #14] + 800b852: b29a uxth r2, r3 + 800b854: 89bb ldrh r3, [r7, #12] + 800b856: 4413 add r3, r2 + 800b858: b29b uxth r3, r3 + 800b85a: f44f 7220 mov.w r2, #640 @ 0x280 + 800b85e: 4619 mov r1, r3 + 800b860: 2036 movs r0, #54 @ 0x36 + 800b862: f7fb fac1 bl 8006de8 + 800b866: 6138 str r0, [r7, #16] if (p == NULL) { - 800aee4: 693b ldr r3, [r7, #16] - 800aee6: 2b00 cmp r3, #0 - 800aee8: f000 80b7 beq.w 800b05a + 800b868: 693b ldr r3, [r7, #16] + 800b86a: 2b00 cmp r3, #0 + 800b86c: f000 80b7 beq.w 800b9de ("tcp_split_unsent_seg: could not allocate memory for pbuf remainder %u\n", remainder)); goto memerr; } /* Offset into the original pbuf is past TCP/IP headers, options, and split amount */ offset = useg->p->tot_len - useg->len + split; - 800aeec: 697b ldr r3, [r7, #20] - 800aeee: 685b ldr r3, [r3, #4] - 800aef0: 891a ldrh r2, [r3, #8] - 800aef2: 697b ldr r3, [r7, #20] - 800aef4: 891b ldrh r3, [r3, #8] - 800aef6: 1ad3 subs r3, r2, r3 - 800aef8: b29a uxth r2, r3 - 800aefa: 887b ldrh r3, [r7, #2] - 800aefc: 4413 add r3, r2 - 800aefe: 817b strh r3, [r7, #10] + 800b870: 697b ldr r3, [r7, #20] + 800b872: 685b ldr r3, [r3, #4] + 800b874: 891a ldrh r2, [r3, #8] + 800b876: 697b ldr r3, [r7, #20] + 800b878: 891b ldrh r3, [r3, #8] + 800b87a: 1ad3 subs r3, r2, r3 + 800b87c: b29a uxth r2, r3 + 800b87e: 887b ldrh r3, [r7, #2] + 800b880: 4413 add r3, r2 + 800b882: 817b strh r3, [r7, #10] /* Copy remainder into new pbuf, headers and options will not be filled out */ if (pbuf_copy_partial(useg->p, (u8_t *)p->payload + optlen, remainder, offset ) != remainder) { - 800af00: 697b ldr r3, [r7, #20] - 800af02: 6858 ldr r0, [r3, #4] - 800af04: 693b ldr r3, [r7, #16] - 800af06: 685a ldr r2, [r3, #4] - 800af08: 7bbb ldrb r3, [r7, #14] - 800af0a: 18d1 adds r1, r2, r3 - 800af0c: 897b ldrh r3, [r7, #10] - 800af0e: 89ba ldrh r2, [r7, #12] - 800af10: f7fb ff84 bl 8006e1c - 800af14: 4603 mov r3, r0 - 800af16: 461a mov r2, r3 - 800af18: 89bb ldrh r3, [r7, #12] - 800af1a: 4293 cmp r3, r2 - 800af1c: f040 809f bne.w 800b05e + 800b884: 697b ldr r3, [r7, #20] + 800b886: 6858 ldr r0, [r3, #4] + 800b888: 693b ldr r3, [r7, #16] + 800b88a: 685a ldr r2, [r3, #4] + 800b88c: 7bbb ldrb r3, [r7, #14] + 800b88e: 18d1 adds r1, r2, r3 + 800b890: 897b ldrh r3, [r7, #10] + 800b892: 89ba ldrh r2, [r7, #12] + 800b894: f7fb ff84 bl 80077a0 + 800b898: 4603 mov r3, r0 + 800b89a: 461a mov r2, r3 + 800b89c: 89bb ldrh r3, [r7, #12] + 800b89e: 4293 cmp r3, r2 + 800b8a0: f040 809f bne.w 800b9e2 #endif /* TCP_CHECKSUM_ON_COPY */ /* Options are created when calling tcp_output() */ /* Migrate flags from original segment */ split_flags = TCPH_FLAGS(useg->tcphdr); - 800af20: 697b ldr r3, [r7, #20] - 800af22: 68db ldr r3, [r3, #12] - 800af24: 899b ldrh r3, [r3, #12] - 800af26: b29b uxth r3, r3 - 800af28: 4618 mov r0, r3 - 800af2a: f7fa fa2d bl 8005388 - 800af2e: 4603 mov r3, r0 - 800af30: b2db uxtb r3, r3 - 800af32: f003 033f and.w r3, r3, #63 @ 0x3f - 800af36: 76fb strb r3, [r7, #27] + 800b8a4: 697b ldr r3, [r7, #20] + 800b8a6: 68db ldr r3, [r3, #12] + 800b8a8: 899b ldrh r3, [r3, #12] + 800b8aa: b29b uxth r3, r3 + 800b8ac: 4618 mov r0, r3 + 800b8ae: f7fa fa2d bl 8005d0c + 800b8b2: 4603 mov r3, r0 + 800b8b4: b2db uxtb r3, r3 + 800b8b6: f003 033f and.w r3, r3, #63 @ 0x3f + 800b8ba: 76fb strb r3, [r7, #27] remainder_flags = 0; /* ACK added in tcp_output() */ - 800af38: 2300 movs r3, #0 - 800af3a: 76bb strb r3, [r7, #26] + 800b8bc: 2300 movs r3, #0 + 800b8be: 76bb strb r3, [r7, #26] if (split_flags & TCP_PSH) { - 800af3c: 7efb ldrb r3, [r7, #27] - 800af3e: f003 0308 and.w r3, r3, #8 - 800af42: 2b00 cmp r3, #0 - 800af44: d007 beq.n 800af56 + 800b8c0: 7efb ldrb r3, [r7, #27] + 800b8c2: f003 0308 and.w r3, r3, #8 + 800b8c6: 2b00 cmp r3, #0 + 800b8c8: d007 beq.n 800b8da split_flags &= ~TCP_PSH; - 800af46: 7efb ldrb r3, [r7, #27] - 800af48: f023 0308 bic.w r3, r3, #8 - 800af4c: 76fb strb r3, [r7, #27] + 800b8ca: 7efb ldrb r3, [r7, #27] + 800b8cc: f023 0308 bic.w r3, r3, #8 + 800b8d0: 76fb strb r3, [r7, #27] remainder_flags |= TCP_PSH; - 800af4e: 7ebb ldrb r3, [r7, #26] - 800af50: f043 0308 orr.w r3, r3, #8 - 800af54: 76bb strb r3, [r7, #26] + 800b8d2: 7ebb ldrb r3, [r7, #26] + 800b8d4: f043 0308 orr.w r3, r3, #8 + 800b8d8: 76bb strb r3, [r7, #26] } if (split_flags & TCP_FIN) { - 800af56: 7efb ldrb r3, [r7, #27] - 800af58: f003 0301 and.w r3, r3, #1 - 800af5c: 2b00 cmp r3, #0 - 800af5e: d007 beq.n 800af70 + 800b8da: 7efb ldrb r3, [r7, #27] + 800b8dc: f003 0301 and.w r3, r3, #1 + 800b8e0: 2b00 cmp r3, #0 + 800b8e2: d007 beq.n 800b8f4 split_flags &= ~TCP_FIN; - 800af60: 7efb ldrb r3, [r7, #27] - 800af62: f023 0301 bic.w r3, r3, #1 - 800af66: 76fb strb r3, [r7, #27] + 800b8e4: 7efb ldrb r3, [r7, #27] + 800b8e6: f023 0301 bic.w r3, r3, #1 + 800b8ea: 76fb strb r3, [r7, #27] remainder_flags |= TCP_FIN; - 800af68: 7ebb ldrb r3, [r7, #26] - 800af6a: f043 0301 orr.w r3, r3, #1 - 800af6e: 76bb strb r3, [r7, #26] + 800b8ec: 7ebb ldrb r3, [r7, #26] + 800b8ee: f043 0301 orr.w r3, r3, #1 + 800b8f2: 76bb strb r3, [r7, #26] } /* SYN should be left on split, RST should not be present with data */ seg = tcp_create_segment(pcb, p, remainder_flags, lwip_ntohl(useg->tcphdr->seqno) + split, optflags); - 800af70: 697b ldr r3, [r7, #20] - 800af72: 68db ldr r3, [r3, #12] - 800af74: 685b ldr r3, [r3, #4] - 800af76: 4618 mov r0, r3 - 800af78: f7fa fa1b bl 80053b2 - 800af7c: 4602 mov r2, r0 - 800af7e: 887b ldrh r3, [r7, #2] - 800af80: 18d1 adds r1, r2, r3 - 800af82: 7eba ldrb r2, [r7, #26] - 800af84: 7bfb ldrb r3, [r7, #15] - 800af86: 9300 str r3, [sp, #0] - 800af88: 460b mov r3, r1 - 800af8a: 6939 ldr r1, [r7, #16] - 800af8c: 6878 ldr r0, [r7, #4] - 800af8e: f7ff fea9 bl 800ace4 - 800af92: 61f8 str r0, [r7, #28] + 800b8f4: 697b ldr r3, [r7, #20] + 800b8f6: 68db ldr r3, [r3, #12] + 800b8f8: 685b ldr r3, [r3, #4] + 800b8fa: 4618 mov r0, r3 + 800b8fc: f7fa fa1b bl 8005d36 + 800b900: 4602 mov r2, r0 + 800b902: 887b ldrh r3, [r7, #2] + 800b904: 18d1 adds r1, r2, r3 + 800b906: 7eba ldrb r2, [r7, #26] + 800b908: 7bfb ldrb r3, [r7, #15] + 800b90a: 9300 str r3, [sp, #0] + 800b90c: 460b mov r3, r1 + 800b90e: 6939 ldr r1, [r7, #16] + 800b910: 6878 ldr r0, [r7, #4] + 800b912: f7ff fea9 bl 800b668 + 800b916: 61f8 str r0, [r7, #28] if (seg == NULL) { - 800af94: 69fb ldr r3, [r7, #28] - 800af96: 2b00 cmp r3, #0 - 800af98: d063 beq.n 800b062 + 800b918: 69fb ldr r3, [r7, #28] + 800b91a: 2b00 cmp r3, #0 + 800b91c: d063 beq.n 800b9e6 seg->chksum_swapped = chksum_swapped; seg->flags |= TF_SEG_DATA_CHECKSUMMED; #endif /* TCP_CHECKSUM_ON_COPY */ /* Remove this segment from the queue since trimming it may free pbufs */ pcb->snd_queuelen -= pbuf_clen(useg->p); - 800af9a: 697b ldr r3, [r7, #20] - 800af9c: 685b ldr r3, [r3, #4] - 800af9e: 4618 mov r0, r3 - 800afa0: f7fb fdca bl 8006b38 - 800afa4: 4603 mov r3, r0 - 800afa6: 461a mov r2, r3 - 800afa8: 687b ldr r3, [r7, #4] - 800afaa: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 - 800afae: 1a9b subs r3, r3, r2 - 800afb0: b29a uxth r2, r3 - 800afb2: 687b ldr r3, [r7, #4] - 800afb4: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 + 800b91e: 697b ldr r3, [r7, #20] + 800b920: 685b ldr r3, [r3, #4] + 800b922: 4618 mov r0, r3 + 800b924: f7fb fdca bl 80074bc + 800b928: 4603 mov r3, r0 + 800b92a: 461a mov r2, r3 + 800b92c: 687b ldr r3, [r7, #4] + 800b92e: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 + 800b932: 1a9b subs r3, r3, r2 + 800b934: b29a uxth r2, r3 + 800b936: 687b ldr r3, [r7, #4] + 800b938: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 /* Trim the original pbuf into our split size. At this point our remainder segment must be setup successfully because we are modifying the original segment */ pbuf_realloc(useg->p, useg->p->tot_len - remainder); - 800afb8: 697b ldr r3, [r7, #20] - 800afba: 6858 ldr r0, [r3, #4] - 800afbc: 697b ldr r3, [r7, #20] - 800afbe: 685b ldr r3, [r3, #4] - 800afc0: 891a ldrh r2, [r3, #8] - 800afc2: 89bb ldrh r3, [r7, #12] - 800afc4: 1ad3 subs r3, r2, r3 - 800afc6: b29b uxth r3, r3 - 800afc8: 4619 mov r1, r3 - 800afca: f7fb fba9 bl 8006720 + 800b93c: 697b ldr r3, [r7, #20] + 800b93e: 6858 ldr r0, [r3, #4] + 800b940: 697b ldr r3, [r7, #20] + 800b942: 685b ldr r3, [r3, #4] + 800b944: 891a ldrh r2, [r3, #8] + 800b946: 89bb ldrh r3, [r7, #12] + 800b948: 1ad3 subs r3, r2, r3 + 800b94a: b29b uxth r3, r3 + 800b94c: 4619 mov r1, r3 + 800b94e: f7fb fba9 bl 80070a4 useg->len -= remainder; - 800afce: 697b ldr r3, [r7, #20] - 800afd0: 891a ldrh r2, [r3, #8] - 800afd2: 89bb ldrh r3, [r7, #12] - 800afd4: 1ad3 subs r3, r2, r3 - 800afd6: b29a uxth r2, r3 - 800afd8: 697b ldr r3, [r7, #20] - 800afda: 811a strh r2, [r3, #8] + 800b952: 697b ldr r3, [r7, #20] + 800b954: 891a ldrh r2, [r3, #8] + 800b956: 89bb ldrh r3, [r7, #12] + 800b958: 1ad3 subs r3, r2, r3 + 800b95a: b29a uxth r2, r3 + 800b95c: 697b ldr r3, [r7, #20] + 800b95e: 811a strh r2, [r3, #8] TCPH_SET_FLAG(useg->tcphdr, split_flags); - 800afdc: 697b ldr r3, [r7, #20] - 800afde: 68db ldr r3, [r3, #12] - 800afe0: 899b ldrh r3, [r3, #12] - 800afe2: b29c uxth r4, r3 - 800afe4: 7efb ldrb r3, [r7, #27] - 800afe6: b29b uxth r3, r3 - 800afe8: 4618 mov r0, r3 - 800afea: f7fa f9cd bl 8005388 - 800afee: 4603 mov r3, r0 - 800aff0: 461a mov r2, r3 - 800aff2: 697b ldr r3, [r7, #20] - 800aff4: 68db ldr r3, [r3, #12] - 800aff6: 4322 orrs r2, r4 - 800aff8: b292 uxth r2, r2 - 800affa: 819a strh r2, [r3, #12] + 800b960: 697b ldr r3, [r7, #20] + 800b962: 68db ldr r3, [r3, #12] + 800b964: 899b ldrh r3, [r3, #12] + 800b966: b29c uxth r4, r3 + 800b968: 7efb ldrb r3, [r7, #27] + 800b96a: b29b uxth r3, r3 + 800b96c: 4618 mov r0, r3 + 800b96e: f7fa f9cd bl 8005d0c + 800b972: 4603 mov r3, r0 + 800b974: 461a mov r2, r3 + 800b976: 697b ldr r3, [r7, #20] + 800b978: 68db ldr r3, [r3, #12] + 800b97a: 4322 orrs r2, r4 + 800b97c: b292 uxth r2, r2 + 800b97e: 819a strh r2, [r3, #12] /* By trimming, realloc may have actually shrunk the pbuf, so clear oversize_left */ useg->oversize_left = 0; #endif /* TCP_OVERSIZE_DBGCHECK */ /* Add back to the queue with new trimmed pbuf */ pcb->snd_queuelen += pbuf_clen(useg->p); - 800affc: 697b ldr r3, [r7, #20] - 800affe: 685b ldr r3, [r3, #4] - 800b000: 4618 mov r0, r3 - 800b002: f7fb fd99 bl 8006b38 - 800b006: 4603 mov r3, r0 - 800b008: 461a mov r2, r3 - 800b00a: 687b ldr r3, [r7, #4] - 800b00c: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 - 800b010: 4413 add r3, r2 - 800b012: b29a uxth r2, r3 - 800b014: 687b ldr r3, [r7, #4] - 800b016: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 + 800b980: 697b ldr r3, [r7, #20] + 800b982: 685b ldr r3, [r3, #4] + 800b984: 4618 mov r0, r3 + 800b986: f7fb fd99 bl 80074bc + 800b98a: 4603 mov r3, r0 + 800b98c: 461a mov r2, r3 + 800b98e: 687b ldr r3, [r7, #4] + 800b990: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 + 800b994: 4413 add r3, r2 + 800b996: b29a uxth r2, r3 + 800b998: 687b ldr r3, [r7, #4] + 800b99a: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 #endif /* TCP_CHECKSUM_ON_COPY */ /* Update number of segments on the queues. Note that length now may * exceed TCP_SND_QUEUELEN! We don't have to touch pcb->snd_buf * because the total amount of data is constant when packet is split */ pcb->snd_queuelen += pbuf_clen(seg->p); - 800b01a: 69fb ldr r3, [r7, #28] - 800b01c: 685b ldr r3, [r3, #4] - 800b01e: 4618 mov r0, r3 - 800b020: f7fb fd8a bl 8006b38 - 800b024: 4603 mov r3, r0 - 800b026: 461a mov r2, r3 - 800b028: 687b ldr r3, [r7, #4] - 800b02a: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 - 800b02e: 4413 add r3, r2 - 800b030: b29a uxth r2, r3 - 800b032: 687b ldr r3, [r7, #4] - 800b034: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 + 800b99e: 69fb ldr r3, [r7, #28] + 800b9a0: 685b ldr r3, [r3, #4] + 800b9a2: 4618 mov r0, r3 + 800b9a4: f7fb fd8a bl 80074bc + 800b9a8: 4603 mov r3, r0 + 800b9aa: 461a mov r2, r3 + 800b9ac: 687b ldr r3, [r7, #4] + 800b9ae: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 + 800b9b2: 4413 add r3, r2 + 800b9b4: b29a uxth r2, r3 + 800b9b6: 687b ldr r3, [r7, #4] + 800b9b8: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 /* Finally insert remainder into queue after split (which stays head) */ seg->next = useg->next; - 800b038: 697b ldr r3, [r7, #20] - 800b03a: 681a ldr r2, [r3, #0] - 800b03c: 69fb ldr r3, [r7, #28] - 800b03e: 601a str r2, [r3, #0] + 800b9bc: 697b ldr r3, [r7, #20] + 800b9be: 681a ldr r2, [r3, #0] + 800b9c0: 69fb ldr r3, [r7, #28] + 800b9c2: 601a str r2, [r3, #0] useg->next = seg; - 800b040: 697b ldr r3, [r7, #20] - 800b042: 69fa ldr r2, [r7, #28] - 800b044: 601a str r2, [r3, #0] + 800b9c4: 697b ldr r3, [r7, #20] + 800b9c6: 69fa ldr r2, [r7, #28] + 800b9c8: 601a str r2, [r3, #0] #if TCP_OVERSIZE /* If remainder is last segment on the unsent, ensure we clear the oversize amount * because the remainder is always sized to the exact remaining amount */ if (seg->next == NULL) { - 800b046: 69fb ldr r3, [r7, #28] - 800b048: 681b ldr r3, [r3, #0] - 800b04a: 2b00 cmp r3, #0 - 800b04c: d103 bne.n 800b056 + 800b9ca: 69fb ldr r3, [r7, #28] + 800b9cc: 681b ldr r3, [r3, #0] + 800b9ce: 2b00 cmp r3, #0 + 800b9d0: d103 bne.n 800b9da pcb->unsent_oversize = 0; - 800b04e: 687b ldr r3, [r7, #4] - 800b050: 2200 movs r2, #0 - 800b052: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 + 800b9d2: 687b ldr r3, [r7, #4] + 800b9d4: 2200 movs r2, #0 + 800b9d6: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 } #endif /* TCP_OVERSIZE */ return ERR_OK; - 800b056: 2300 movs r3, #0 - 800b058: e016 b.n 800b088 + 800b9da: 2300 movs r3, #0 + 800b9dc: e016 b.n 800ba0c goto memerr; - 800b05a: bf00 nop - 800b05c: e002 b.n 800b064 + 800b9de: bf00 nop + 800b9e0: e002 b.n 800b9e8 goto memerr; - 800b05e: bf00 nop - 800b060: e000 b.n 800b064 + 800b9e2: bf00 nop + 800b9e4: e000 b.n 800b9e8 goto memerr; - 800b062: bf00 nop + 800b9e6: bf00 nop memerr: TCP_STATS_INC(tcp.memerr); LWIP_ASSERT("seg == NULL", seg == NULL); - 800b064: 69fb ldr r3, [r7, #28] - 800b066: 2b00 cmp r3, #0 - 800b068: d006 beq.n 800b078 - 800b06a: 4b09 ldr r3, [pc, #36] @ (800b090 ) - 800b06c: f44f 7276 mov.w r2, #984 @ 0x3d8 - 800b070: 490d ldr r1, [pc, #52] @ (800b0a8 ) - 800b072: 4809 ldr r0, [pc, #36] @ (800b098 ) - 800b074: f006 fac0 bl 80115f8 + 800b9e8: 69fb ldr r3, [r7, #28] + 800b9ea: 2b00 cmp r3, #0 + 800b9ec: d006 beq.n 800b9fc + 800b9ee: 4b09 ldr r3, [pc, #36] @ (800ba14 ) + 800b9f0: f44f 7276 mov.w r2, #984 @ 0x3d8 + 800b9f4: 490d ldr r1, [pc, #52] @ (800ba2c ) + 800b9f6: 4809 ldr r0, [pc, #36] @ (800ba1c ) + 800b9f8: f006 fac0 bl 8011f7c if (p != NULL) { - 800b078: 693b ldr r3, [r7, #16] - 800b07a: 2b00 cmp r3, #0 - 800b07c: d002 beq.n 800b084 + 800b9fc: 693b ldr r3, [r7, #16] + 800b9fe: 2b00 cmp r3, #0 + 800ba00: d002 beq.n 800ba08 pbuf_free(p); - 800b07e: 6938 ldr r0, [r7, #16] - 800b080: f7fb fcd2 bl 8006a28 + 800ba02: 6938 ldr r0, [r7, #16] + 800ba04: f7fb fcd2 bl 80073ac } return ERR_MEM; - 800b084: f04f 33ff mov.w r3, #4294967295 + 800ba08: f04f 33ff mov.w r3, #4294967295 } - 800b088: 4618 mov r0, r3 - 800b08a: 3724 adds r7, #36 @ 0x24 - 800b08c: 46bd mov sp, r7 - 800b08e: bd90 pop {r4, r7, pc} - 800b090: 0801769c .word 0x0801769c - 800b094: 08017a30 .word 0x08017a30 - 800b098: 080176f0 .word 0x080176f0 - 800b09c: 08017a54 .word 0x08017a54 - 800b0a0: 08017a78 .word 0x08017a78 - 800b0a4: 08017a88 .word 0x08017a88 - 800b0a8: 08017a98 .word 0x08017a98 + 800ba0c: 4618 mov r0, r3 + 800ba0e: 3724 adds r7, #36 @ 0x24 + 800ba10: 46bd mov sp, r7 + 800ba12: bd90 pop {r4, r7, pc} + 800ba14: 0801801c .word 0x0801801c + 800ba18: 080183b0 .word 0x080183b0 + 800ba1c: 08018070 .word 0x08018070 + 800ba20: 080183d4 .word 0x080183d4 + 800ba24: 080183f8 .word 0x080183f8 + 800ba28: 08018408 .word 0x08018408 + 800ba2c: 08018418 .word 0x08018418 -0800b0ac : +0800ba30 : * @param pcb the tcp_pcb over which to send a segment * @return ERR_OK if sent, another err_t otherwise */ err_t tcp_send_fin(struct tcp_pcb *pcb) { - 800b0ac: b590 push {r4, r7, lr} - 800b0ae: b085 sub sp, #20 - 800b0b0: af00 add r7, sp, #0 - 800b0b2: 6078 str r0, [r7, #4] + 800ba30: b590 push {r4, r7, lr} + 800ba32: b085 sub sp, #20 + 800ba34: af00 add r7, sp, #0 + 800ba36: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_send_fin: invalid pcb", pcb != NULL); - 800b0b4: 687b ldr r3, [r7, #4] - 800b0b6: 2b00 cmp r3, #0 - 800b0b8: d106 bne.n 800b0c8 - 800b0ba: 4b21 ldr r3, [pc, #132] @ (800b140 ) - 800b0bc: f240 32eb movw r2, #1003 @ 0x3eb - 800b0c0: 4920 ldr r1, [pc, #128] @ (800b144 ) - 800b0c2: 4821 ldr r0, [pc, #132] @ (800b148 ) - 800b0c4: f006 fa98 bl 80115f8 + 800ba38: 687b ldr r3, [r7, #4] + 800ba3a: 2b00 cmp r3, #0 + 800ba3c: d106 bne.n 800ba4c + 800ba3e: 4b21 ldr r3, [pc, #132] @ (800bac4 ) + 800ba40: f240 32eb movw r2, #1003 @ 0x3eb + 800ba44: 4920 ldr r1, [pc, #128] @ (800bac8 ) + 800ba46: 4821 ldr r0, [pc, #132] @ (800bacc ) + 800ba48: f006 fa98 bl 8011f7c /* first, try to add the fin to the last unsent segment */ if (pcb->unsent != NULL) { - 800b0c8: 687b ldr r3, [r7, #4] - 800b0ca: 6edb ldr r3, [r3, #108] @ 0x6c - 800b0cc: 2b00 cmp r3, #0 - 800b0ce: d02e beq.n 800b12e + 800ba4c: 687b ldr r3, [r7, #4] + 800ba4e: 6edb ldr r3, [r3, #108] @ 0x6c + 800ba50: 2b00 cmp r3, #0 + 800ba52: d02e beq.n 800bab2 struct tcp_seg *last_unsent; for (last_unsent = pcb->unsent; last_unsent->next != NULL; - 800b0d0: 687b ldr r3, [r7, #4] - 800b0d2: 6edb ldr r3, [r3, #108] @ 0x6c - 800b0d4: 60fb str r3, [r7, #12] - 800b0d6: e002 b.n 800b0de + 800ba54: 687b ldr r3, [r7, #4] + 800ba56: 6edb ldr r3, [r3, #108] @ 0x6c + 800ba58: 60fb str r3, [r7, #12] + 800ba5a: e002 b.n 800ba62 last_unsent = last_unsent->next); - 800b0d8: 68fb ldr r3, [r7, #12] - 800b0da: 681b ldr r3, [r3, #0] - 800b0dc: 60fb str r3, [r7, #12] + 800ba5c: 68fb ldr r3, [r7, #12] + 800ba5e: 681b ldr r3, [r3, #0] + 800ba60: 60fb str r3, [r7, #12] for (last_unsent = pcb->unsent; last_unsent->next != NULL; - 800b0de: 68fb ldr r3, [r7, #12] - 800b0e0: 681b ldr r3, [r3, #0] - 800b0e2: 2b00 cmp r3, #0 - 800b0e4: d1f8 bne.n 800b0d8 + 800ba62: 68fb ldr r3, [r7, #12] + 800ba64: 681b ldr r3, [r3, #0] + 800ba66: 2b00 cmp r3, #0 + 800ba68: d1f8 bne.n 800ba5c if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { - 800b0e6: 68fb ldr r3, [r7, #12] - 800b0e8: 68db ldr r3, [r3, #12] - 800b0ea: 899b ldrh r3, [r3, #12] - 800b0ec: b29b uxth r3, r3 - 800b0ee: 4618 mov r0, r3 - 800b0f0: f7fa f94a bl 8005388 - 800b0f4: 4603 mov r3, r0 - 800b0f6: b2db uxtb r3, r3 - 800b0f8: f003 0307 and.w r3, r3, #7 - 800b0fc: 2b00 cmp r3, #0 - 800b0fe: d116 bne.n 800b12e + 800ba6a: 68fb ldr r3, [r7, #12] + 800ba6c: 68db ldr r3, [r3, #12] + 800ba6e: 899b ldrh r3, [r3, #12] + 800ba70: b29b uxth r3, r3 + 800ba72: 4618 mov r0, r3 + 800ba74: f7fa f94a bl 8005d0c + 800ba78: 4603 mov r3, r0 + 800ba7a: b2db uxtb r3, r3 + 800ba7c: f003 0307 and.w r3, r3, #7 + 800ba80: 2b00 cmp r3, #0 + 800ba82: d116 bne.n 800bab2 /* no SYN/FIN/RST flag in the header, we can add the FIN flag */ TCPH_SET_FLAG(last_unsent->tcphdr, TCP_FIN); - 800b100: 68fb ldr r3, [r7, #12] - 800b102: 68db ldr r3, [r3, #12] - 800b104: 899b ldrh r3, [r3, #12] - 800b106: b29c uxth r4, r3 - 800b108: 2001 movs r0, #1 - 800b10a: f7fa f93d bl 8005388 - 800b10e: 4603 mov r3, r0 - 800b110: 461a mov r2, r3 - 800b112: 68fb ldr r3, [r7, #12] - 800b114: 68db ldr r3, [r3, #12] - 800b116: 4322 orrs r2, r4 - 800b118: b292 uxth r2, r2 - 800b11a: 819a strh r2, [r3, #12] + 800ba84: 68fb ldr r3, [r7, #12] + 800ba86: 68db ldr r3, [r3, #12] + 800ba88: 899b ldrh r3, [r3, #12] + 800ba8a: b29c uxth r4, r3 + 800ba8c: 2001 movs r0, #1 + 800ba8e: f7fa f93d bl 8005d0c + 800ba92: 4603 mov r3, r0 + 800ba94: 461a mov r2, r3 + 800ba96: 68fb ldr r3, [r7, #12] + 800ba98: 68db ldr r3, [r3, #12] + 800ba9a: 4322 orrs r2, r4 + 800ba9c: b292 uxth r2, r2 + 800ba9e: 819a strh r2, [r3, #12] tcp_set_flags(pcb, TF_FIN); - 800b11c: 687b ldr r3, [r7, #4] - 800b11e: 8b5b ldrh r3, [r3, #26] - 800b120: f043 0320 orr.w r3, r3, #32 - 800b124: b29a uxth r2, r3 - 800b126: 687b ldr r3, [r7, #4] - 800b128: 835a strh r2, [r3, #26] + 800baa0: 687b ldr r3, [r7, #4] + 800baa2: 8b5b ldrh r3, [r3, #26] + 800baa4: f043 0320 orr.w r3, r3, #32 + 800baa8: b29a uxth r2, r3 + 800baaa: 687b ldr r3, [r7, #4] + 800baac: 835a strh r2, [r3, #26] return ERR_OK; - 800b12a: 2300 movs r3, #0 - 800b12c: e004 b.n 800b138 + 800baae: 2300 movs r3, #0 + 800bab0: e004 b.n 800babc } } /* no data, no length, flags, copy=1, no optdata */ return tcp_enqueue_flags(pcb, TCP_FIN); - 800b12e: 2101 movs r1, #1 - 800b130: 6878 ldr r0, [r7, #4] - 800b132: f000 f80b bl 800b14c - 800b136: 4603 mov r3, r0 + 800bab2: 2101 movs r1, #1 + 800bab4: 6878 ldr r0, [r7, #4] + 800bab6: f000 f80b bl 800bad0 + 800baba: 4603 mov r3, r0 } - 800b138: 4618 mov r0, r3 - 800b13a: 3714 adds r7, #20 - 800b13c: 46bd mov sp, r7 - 800b13e: bd90 pop {r4, r7, pc} - 800b140: 0801769c .word 0x0801769c - 800b144: 08017aa4 .word 0x08017aa4 - 800b148: 080176f0 .word 0x080176f0 + 800babc: 4618 mov r0, r3 + 800babe: 3714 adds r7, #20 + 800bac0: 46bd mov sp, r7 + 800bac2: bd90 pop {r4, r7, pc} + 800bac4: 0801801c .word 0x0801801c + 800bac8: 08018424 .word 0x08018424 + 800bacc: 08018070 .word 0x08018070 -0800b14c : +0800bad0 : * @param pcb Protocol control block for the TCP connection. * @param flags TCP header flags to set in the outgoing segment. */ err_t tcp_enqueue_flags(struct tcp_pcb *pcb, u8_t flags) { - 800b14c: b580 push {r7, lr} - 800b14e: b08a sub sp, #40 @ 0x28 - 800b150: af02 add r7, sp, #8 - 800b152: 6078 str r0, [r7, #4] - 800b154: 460b mov r3, r1 - 800b156: 70fb strb r3, [r7, #3] + 800bad0: b580 push {r7, lr} + 800bad2: b08a sub sp, #40 @ 0x28 + 800bad4: af02 add r7, sp, #8 + 800bad6: 6078 str r0, [r7, #4] + 800bad8: 460b mov r3, r1 + 800bada: 70fb strb r3, [r7, #3] struct pbuf *p; struct tcp_seg *seg; u8_t optflags = 0; - 800b158: 2300 movs r3, #0 - 800b15a: 77fb strb r3, [r7, #31] + 800badc: 2300 movs r3, #0 + 800bade: 77fb strb r3, [r7, #31] u8_t optlen = 0; - 800b15c: 2300 movs r3, #0 - 800b15e: 75fb strb r3, [r7, #23] + 800bae0: 2300 movs r3, #0 + 800bae2: 75fb strb r3, [r7, #23] LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_enqueue_flags: queuelen: %"U16_F"\n", (u16_t)pcb->snd_queuelen)); LWIP_ASSERT("tcp_enqueue_flags: need either TCP_SYN or TCP_FIN in flags (programmer violates API)", - 800b160: 78fb ldrb r3, [r7, #3] - 800b162: f003 0303 and.w r3, r3, #3 - 800b166: 2b00 cmp r3, #0 - 800b168: d106 bne.n 800b178 - 800b16a: 4b67 ldr r3, [pc, #412] @ (800b308 ) - 800b16c: f240 4211 movw r2, #1041 @ 0x411 - 800b170: 4966 ldr r1, [pc, #408] @ (800b30c ) - 800b172: 4867 ldr r0, [pc, #412] @ (800b310 ) - 800b174: f006 fa40 bl 80115f8 + 800bae4: 78fb ldrb r3, [r7, #3] + 800bae6: f003 0303 and.w r3, r3, #3 + 800baea: 2b00 cmp r3, #0 + 800baec: d106 bne.n 800bafc + 800baee: 4b67 ldr r3, [pc, #412] @ (800bc8c ) + 800baf0: f240 4211 movw r2, #1041 @ 0x411 + 800baf4: 4966 ldr r1, [pc, #408] @ (800bc90 ) + 800baf6: 4867 ldr r0, [pc, #412] @ (800bc94 ) + 800baf8: f006 fa40 bl 8011f7c (flags & (TCP_SYN | TCP_FIN)) != 0); LWIP_ASSERT("tcp_enqueue_flags: invalid pcb", pcb != NULL); - 800b178: 687b ldr r3, [r7, #4] - 800b17a: 2b00 cmp r3, #0 - 800b17c: d106 bne.n 800b18c - 800b17e: 4b62 ldr r3, [pc, #392] @ (800b308 ) - 800b180: f240 4213 movw r2, #1043 @ 0x413 - 800b184: 4963 ldr r1, [pc, #396] @ (800b314 ) - 800b186: 4862 ldr r0, [pc, #392] @ (800b310 ) - 800b188: f006 fa36 bl 80115f8 + 800bafc: 687b ldr r3, [r7, #4] + 800bafe: 2b00 cmp r3, #0 + 800bb00: d106 bne.n 800bb10 + 800bb02: 4b62 ldr r3, [pc, #392] @ (800bc8c ) + 800bb04: f240 4213 movw r2, #1043 @ 0x413 + 800bb08: 4963 ldr r1, [pc, #396] @ (800bc98 ) + 800bb0a: 4862 ldr r0, [pc, #392] @ (800bc94 ) + 800bb0c: f006 fa36 bl 8011f7c /* No need to check pcb->snd_queuelen if only SYN or FIN are allowed! */ /* Get options for this segment. This is a special case since this is the only place where a SYN can be sent. */ if (flags & TCP_SYN) { - 800b18c: 78fb ldrb r3, [r7, #3] - 800b18e: f003 0302 and.w r3, r3, #2 - 800b192: 2b00 cmp r3, #0 - 800b194: d001 beq.n 800b19a + 800bb10: 78fb ldrb r3, [r7, #3] + 800bb12: f003 0302 and.w r3, r3, #2 + 800bb16: 2b00 cmp r3, #0 + 800bb18: d001 beq.n 800bb1e optflags = TF_SEG_OPTS_MSS; - 800b196: 2301 movs r3, #1 - 800b198: 77fb strb r3, [r7, #31] + 800bb1a: 2301 movs r3, #1 + 800bb1c: 77fb strb r3, [r7, #31] /* Make sure the timestamp option is only included in data segments if we agreed about it with the remote host (and in active open SYN segments). */ optflags |= TF_SEG_OPTS_TS; } #endif /* LWIP_TCP_TIMESTAMPS */ optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(optflags, pcb); - 800b19a: 7ffb ldrb r3, [r7, #31] - 800b19c: 009b lsls r3, r3, #2 - 800b19e: b2db uxtb r3, r3 - 800b1a0: f003 0304 and.w r3, r3, #4 - 800b1a4: 75fb strb r3, [r7, #23] + 800bb1e: 7ffb ldrb r3, [r7, #31] + 800bb20: 009b lsls r3, r3, #2 + 800bb22: b2db uxtb r3, r3 + 800bb24: f003 0304 and.w r3, r3, #4 + 800bb28: 75fb strb r3, [r7, #23] /* Allocate pbuf with room for TCP header + options */ if ((p = pbuf_alloc(PBUF_TRANSPORT, optlen, PBUF_RAM)) == NULL) { - 800b1a6: 7dfb ldrb r3, [r7, #23] - 800b1a8: b29b uxth r3, r3 - 800b1aa: f44f 7220 mov.w r2, #640 @ 0x280 - 800b1ae: 4619 mov r1, r3 - 800b1b0: 2036 movs r0, #54 @ 0x36 - 800b1b2: f7fb f957 bl 8006464 - 800b1b6: 6138 str r0, [r7, #16] - 800b1b8: 693b ldr r3, [r7, #16] - 800b1ba: 2b00 cmp r3, #0 - 800b1bc: d109 bne.n 800b1d2 + 800bb2a: 7dfb ldrb r3, [r7, #23] + 800bb2c: b29b uxth r3, r3 + 800bb2e: f44f 7220 mov.w r2, #640 @ 0x280 + 800bb32: 4619 mov r1, r3 + 800bb34: 2036 movs r0, #54 @ 0x36 + 800bb36: f7fb f957 bl 8006de8 + 800bb3a: 6138 str r0, [r7, #16] + 800bb3c: 693b ldr r3, [r7, #16] + 800bb3e: 2b00 cmp r3, #0 + 800bb40: d109 bne.n 800bb56 tcp_set_flags(pcb, TF_NAGLEMEMERR); - 800b1be: 687b ldr r3, [r7, #4] - 800b1c0: 8b5b ldrh r3, [r3, #26] - 800b1c2: f043 0380 orr.w r3, r3, #128 @ 0x80 - 800b1c6: b29a uxth r2, r3 - 800b1c8: 687b ldr r3, [r7, #4] - 800b1ca: 835a strh r2, [r3, #26] + 800bb42: 687b ldr r3, [r7, #4] + 800bb44: 8b5b ldrh r3, [r3, #26] + 800bb46: f043 0380 orr.w r3, r3, #128 @ 0x80 + 800bb4a: b29a uxth r2, r3 + 800bb4c: 687b ldr r3, [r7, #4] + 800bb4e: 835a strh r2, [r3, #26] TCP_STATS_INC(tcp.memerr); return ERR_MEM; - 800b1cc: f04f 33ff mov.w r3, #4294967295 - 800b1d0: e095 b.n 800b2fe + 800bb50: f04f 33ff mov.w r3, #4294967295 + 800bb54: e095 b.n 800bc82 } LWIP_ASSERT("tcp_enqueue_flags: check that first pbuf can hold optlen", - 800b1d2: 693b ldr r3, [r7, #16] - 800b1d4: 895a ldrh r2, [r3, #10] - 800b1d6: 7dfb ldrb r3, [r7, #23] - 800b1d8: b29b uxth r3, r3 - 800b1da: 429a cmp r2, r3 - 800b1dc: d206 bcs.n 800b1ec - 800b1de: 4b4a ldr r3, [pc, #296] @ (800b308 ) - 800b1e0: f240 4239 movw r2, #1081 @ 0x439 - 800b1e4: 494c ldr r1, [pc, #304] @ (800b318 ) - 800b1e6: 484a ldr r0, [pc, #296] @ (800b310 ) - 800b1e8: f006 fa06 bl 80115f8 + 800bb56: 693b ldr r3, [r7, #16] + 800bb58: 895a ldrh r2, [r3, #10] + 800bb5a: 7dfb ldrb r3, [r7, #23] + 800bb5c: b29b uxth r3, r3 + 800bb5e: 429a cmp r2, r3 + 800bb60: d206 bcs.n 800bb70 + 800bb62: 4b4a ldr r3, [pc, #296] @ (800bc8c ) + 800bb64: f240 4239 movw r2, #1081 @ 0x439 + 800bb68: 494c ldr r1, [pc, #304] @ (800bc9c ) + 800bb6a: 484a ldr r0, [pc, #296] @ (800bc94 ) + 800bb6c: f006 fa06 bl 8011f7c (p->len >= optlen)); /* Allocate memory for tcp_seg, and fill in fields. */ if ((seg = tcp_create_segment(pcb, p, flags, pcb->snd_lbb, optflags)) == NULL) { - 800b1ec: 687b ldr r3, [r7, #4] - 800b1ee: 6dd9 ldr r1, [r3, #92] @ 0x5c - 800b1f0: 78fa ldrb r2, [r7, #3] - 800b1f2: 7ffb ldrb r3, [r7, #31] - 800b1f4: 9300 str r3, [sp, #0] - 800b1f6: 460b mov r3, r1 - 800b1f8: 6939 ldr r1, [r7, #16] - 800b1fa: 6878 ldr r0, [r7, #4] - 800b1fc: f7ff fd72 bl 800ace4 - 800b200: 60f8 str r0, [r7, #12] - 800b202: 68fb ldr r3, [r7, #12] - 800b204: 2b00 cmp r3, #0 - 800b206: d109 bne.n 800b21c + 800bb70: 687b ldr r3, [r7, #4] + 800bb72: 6dd9 ldr r1, [r3, #92] @ 0x5c + 800bb74: 78fa ldrb r2, [r7, #3] + 800bb76: 7ffb ldrb r3, [r7, #31] + 800bb78: 9300 str r3, [sp, #0] + 800bb7a: 460b mov r3, r1 + 800bb7c: 6939 ldr r1, [r7, #16] + 800bb7e: 6878 ldr r0, [r7, #4] + 800bb80: f7ff fd72 bl 800b668 + 800bb84: 60f8 str r0, [r7, #12] + 800bb86: 68fb ldr r3, [r7, #12] + 800bb88: 2b00 cmp r3, #0 + 800bb8a: d109 bne.n 800bba0 tcp_set_flags(pcb, TF_NAGLEMEMERR); - 800b208: 687b ldr r3, [r7, #4] - 800b20a: 8b5b ldrh r3, [r3, #26] - 800b20c: f043 0380 orr.w r3, r3, #128 @ 0x80 - 800b210: b29a uxth r2, r3 - 800b212: 687b ldr r3, [r7, #4] - 800b214: 835a strh r2, [r3, #26] + 800bb8c: 687b ldr r3, [r7, #4] + 800bb8e: 8b5b ldrh r3, [r3, #26] + 800bb90: f043 0380 orr.w r3, r3, #128 @ 0x80 + 800bb94: b29a uxth r2, r3 + 800bb96: 687b ldr r3, [r7, #4] + 800bb98: 835a strh r2, [r3, #26] TCP_STATS_INC(tcp.memerr); return ERR_MEM; - 800b216: f04f 33ff mov.w r3, #4294967295 - 800b21a: e070 b.n 800b2fe + 800bb9a: f04f 33ff mov.w r3, #4294967295 + 800bb9e: e070 b.n 800bc82 } LWIP_ASSERT("seg->tcphdr not aligned", ((mem_ptr_t)seg->tcphdr % LWIP_MIN(MEM_ALIGNMENT, 4)) == 0); - 800b21c: 68fb ldr r3, [r7, #12] - 800b21e: 68db ldr r3, [r3, #12] - 800b220: f003 0303 and.w r3, r3, #3 - 800b224: 2b00 cmp r3, #0 - 800b226: d006 beq.n 800b236 - 800b228: 4b37 ldr r3, [pc, #220] @ (800b308 ) - 800b22a: f240 4242 movw r2, #1090 @ 0x442 - 800b22e: 493b ldr r1, [pc, #236] @ (800b31c ) - 800b230: 4837 ldr r0, [pc, #220] @ (800b310 ) - 800b232: f006 f9e1 bl 80115f8 + 800bba0: 68fb ldr r3, [r7, #12] + 800bba2: 68db ldr r3, [r3, #12] + 800bba4: f003 0303 and.w r3, r3, #3 + 800bba8: 2b00 cmp r3, #0 + 800bbaa: d006 beq.n 800bbba + 800bbac: 4b37 ldr r3, [pc, #220] @ (800bc8c ) + 800bbae: f240 4242 movw r2, #1090 @ 0x442 + 800bbb2: 493b ldr r1, [pc, #236] @ (800bca0 ) + 800bbb4: 4837 ldr r0, [pc, #220] @ (800bc94 ) + 800bbb6: f006 f9e1 bl 8011f7c LWIP_ASSERT("tcp_enqueue_flags: invalid segment length", seg->len == 0); - 800b236: 68fb ldr r3, [r7, #12] - 800b238: 891b ldrh r3, [r3, #8] - 800b23a: 2b00 cmp r3, #0 - 800b23c: d006 beq.n 800b24c - 800b23e: 4b32 ldr r3, [pc, #200] @ (800b308 ) - 800b240: f240 4243 movw r2, #1091 @ 0x443 - 800b244: 4936 ldr r1, [pc, #216] @ (800b320 ) - 800b246: 4832 ldr r0, [pc, #200] @ (800b310 ) - 800b248: f006 f9d6 bl 80115f8 + 800bbba: 68fb ldr r3, [r7, #12] + 800bbbc: 891b ldrh r3, [r3, #8] + 800bbbe: 2b00 cmp r3, #0 + 800bbc0: d006 beq.n 800bbd0 + 800bbc2: 4b32 ldr r3, [pc, #200] @ (800bc8c ) + 800bbc4: f240 4243 movw r2, #1091 @ 0x443 + 800bbc8: 4936 ldr r1, [pc, #216] @ (800bca4 ) + 800bbca: 4832 ldr r0, [pc, #200] @ (800bc94 ) + 800bbcc: f006 f9d6 bl 8011f7c lwip_ntohl(seg->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg), (u16_t)flags)); /* Now append seg to pcb->unsent queue */ if (pcb->unsent == NULL) { - 800b24c: 687b ldr r3, [r7, #4] - 800b24e: 6edb ldr r3, [r3, #108] @ 0x6c - 800b250: 2b00 cmp r3, #0 - 800b252: d103 bne.n 800b25c + 800bbd0: 687b ldr r3, [r7, #4] + 800bbd2: 6edb ldr r3, [r3, #108] @ 0x6c + 800bbd4: 2b00 cmp r3, #0 + 800bbd6: d103 bne.n 800bbe0 pcb->unsent = seg; - 800b254: 687b ldr r3, [r7, #4] - 800b256: 68fa ldr r2, [r7, #12] - 800b258: 66da str r2, [r3, #108] @ 0x6c - 800b25a: e00d b.n 800b278 + 800bbd8: 687b ldr r3, [r7, #4] + 800bbda: 68fa ldr r2, [r7, #12] + 800bbdc: 66da str r2, [r3, #108] @ 0x6c + 800bbde: e00d b.n 800bbfc } else { struct tcp_seg *useg; for (useg = pcb->unsent; useg->next != NULL; useg = useg->next); - 800b25c: 687b ldr r3, [r7, #4] - 800b25e: 6edb ldr r3, [r3, #108] @ 0x6c - 800b260: 61bb str r3, [r7, #24] - 800b262: e002 b.n 800b26a - 800b264: 69bb ldr r3, [r7, #24] - 800b266: 681b ldr r3, [r3, #0] - 800b268: 61bb str r3, [r7, #24] - 800b26a: 69bb ldr r3, [r7, #24] - 800b26c: 681b ldr r3, [r3, #0] - 800b26e: 2b00 cmp r3, #0 - 800b270: d1f8 bne.n 800b264 + 800bbe0: 687b ldr r3, [r7, #4] + 800bbe2: 6edb ldr r3, [r3, #108] @ 0x6c + 800bbe4: 61bb str r3, [r7, #24] + 800bbe6: e002 b.n 800bbee + 800bbe8: 69bb ldr r3, [r7, #24] + 800bbea: 681b ldr r3, [r3, #0] + 800bbec: 61bb str r3, [r7, #24] + 800bbee: 69bb ldr r3, [r7, #24] + 800bbf0: 681b ldr r3, [r3, #0] + 800bbf2: 2b00 cmp r3, #0 + 800bbf4: d1f8 bne.n 800bbe8 useg->next = seg; - 800b272: 69bb ldr r3, [r7, #24] - 800b274: 68fa ldr r2, [r7, #12] - 800b276: 601a str r2, [r3, #0] + 800bbf6: 69bb ldr r3, [r7, #24] + 800bbf8: 68fa ldr r2, [r7, #12] + 800bbfa: 601a str r2, [r3, #0] } #if TCP_OVERSIZE /* The new unsent tail has no space */ pcb->unsent_oversize = 0; - 800b278: 687b ldr r3, [r7, #4] - 800b27a: 2200 movs r2, #0 - 800b27c: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 + 800bbfc: 687b ldr r3, [r7, #4] + 800bbfe: 2200 movs r2, #0 + 800bc00: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 #endif /* TCP_OVERSIZE */ /* SYN and FIN bump the sequence number */ if ((flags & TCP_SYN) || (flags & TCP_FIN)) { - 800b280: 78fb ldrb r3, [r7, #3] - 800b282: f003 0302 and.w r3, r3, #2 - 800b286: 2b00 cmp r3, #0 - 800b288: d104 bne.n 800b294 - 800b28a: 78fb ldrb r3, [r7, #3] - 800b28c: f003 0301 and.w r3, r3, #1 - 800b290: 2b00 cmp r3, #0 - 800b292: d004 beq.n 800b29e + 800bc04: 78fb ldrb r3, [r7, #3] + 800bc06: f003 0302 and.w r3, r3, #2 + 800bc0a: 2b00 cmp r3, #0 + 800bc0c: d104 bne.n 800bc18 + 800bc0e: 78fb ldrb r3, [r7, #3] + 800bc10: f003 0301 and.w r3, r3, #1 + 800bc14: 2b00 cmp r3, #0 + 800bc16: d004 beq.n 800bc22 pcb->snd_lbb++; - 800b294: 687b ldr r3, [r7, #4] - 800b296: 6ddb ldr r3, [r3, #92] @ 0x5c - 800b298: 1c5a adds r2, r3, #1 - 800b29a: 687b ldr r3, [r7, #4] - 800b29c: 65da str r2, [r3, #92] @ 0x5c + 800bc18: 687b ldr r3, [r7, #4] + 800bc1a: 6ddb ldr r3, [r3, #92] @ 0x5c + 800bc1c: 1c5a adds r2, r3, #1 + 800bc1e: 687b ldr r3, [r7, #4] + 800bc20: 65da str r2, [r3, #92] @ 0x5c /* optlen does not influence snd_buf */ } if (flags & TCP_FIN) { - 800b29e: 78fb ldrb r3, [r7, #3] - 800b2a0: f003 0301 and.w r3, r3, #1 - 800b2a4: 2b00 cmp r3, #0 - 800b2a6: d006 beq.n 800b2b6 + 800bc22: 78fb ldrb r3, [r7, #3] + 800bc24: f003 0301 and.w r3, r3, #1 + 800bc28: 2b00 cmp r3, #0 + 800bc2a: d006 beq.n 800bc3a tcp_set_flags(pcb, TF_FIN); - 800b2a8: 687b ldr r3, [r7, #4] - 800b2aa: 8b5b ldrh r3, [r3, #26] - 800b2ac: f043 0320 orr.w r3, r3, #32 - 800b2b0: b29a uxth r2, r3 - 800b2b2: 687b ldr r3, [r7, #4] - 800b2b4: 835a strh r2, [r3, #26] + 800bc2c: 687b ldr r3, [r7, #4] + 800bc2e: 8b5b ldrh r3, [r3, #26] + 800bc30: f043 0320 orr.w r3, r3, #32 + 800bc34: b29a uxth r2, r3 + 800bc36: 687b ldr r3, [r7, #4] + 800bc38: 835a strh r2, [r3, #26] } /* update number of segments on the queues */ pcb->snd_queuelen += pbuf_clen(seg->p); - 800b2b6: 68fb ldr r3, [r7, #12] - 800b2b8: 685b ldr r3, [r3, #4] - 800b2ba: 4618 mov r0, r3 - 800b2bc: f7fb fc3c bl 8006b38 - 800b2c0: 4603 mov r3, r0 - 800b2c2: 461a mov r2, r3 - 800b2c4: 687b ldr r3, [r7, #4] - 800b2c6: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 - 800b2ca: 4413 add r3, r2 - 800b2cc: b29a uxth r2, r3 - 800b2ce: 687b ldr r3, [r7, #4] - 800b2d0: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 + 800bc3a: 68fb ldr r3, [r7, #12] + 800bc3c: 685b ldr r3, [r3, #4] + 800bc3e: 4618 mov r0, r3 + 800bc40: f7fb fc3c bl 80074bc + 800bc44: 4603 mov r3, r0 + 800bc46: 461a mov r2, r3 + 800bc48: 687b ldr r3, [r7, #4] + 800bc4a: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 + 800bc4e: 4413 add r3, r2 + 800bc50: b29a uxth r2, r3 + 800bc52: 687b ldr r3, [r7, #4] + 800bc54: f8a3 2066 strh.w r2, [r3, #102] @ 0x66 LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_enqueue_flags: %"S16_F" (after enqueued)\n", pcb->snd_queuelen)); if (pcb->snd_queuelen != 0) { - 800b2d4: 687b ldr r3, [r7, #4] - 800b2d6: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 - 800b2da: 2b00 cmp r3, #0 - 800b2dc: d00e beq.n 800b2fc + 800bc58: 687b ldr r3, [r7, #4] + 800bc5a: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 + 800bc5e: 2b00 cmp r3, #0 + 800bc60: d00e beq.n 800bc80 LWIP_ASSERT("tcp_enqueue_flags: invalid queue length", - 800b2de: 687b ldr r3, [r7, #4] - 800b2e0: 6f1b ldr r3, [r3, #112] @ 0x70 - 800b2e2: 2b00 cmp r3, #0 - 800b2e4: d10a bne.n 800b2fc - 800b2e6: 687b ldr r3, [r7, #4] - 800b2e8: 6edb ldr r3, [r3, #108] @ 0x6c - 800b2ea: 2b00 cmp r3, #0 - 800b2ec: d106 bne.n 800b2fc - 800b2ee: 4b06 ldr r3, [pc, #24] @ (800b308 ) - 800b2f0: f240 4265 movw r2, #1125 @ 0x465 - 800b2f4: 490b ldr r1, [pc, #44] @ (800b324 ) - 800b2f6: 4806 ldr r0, [pc, #24] @ (800b310 ) - 800b2f8: f006 f97e bl 80115f8 + 800bc62: 687b ldr r3, [r7, #4] + 800bc64: 6f1b ldr r3, [r3, #112] @ 0x70 + 800bc66: 2b00 cmp r3, #0 + 800bc68: d10a bne.n 800bc80 + 800bc6a: 687b ldr r3, [r7, #4] + 800bc6c: 6edb ldr r3, [r3, #108] @ 0x6c + 800bc6e: 2b00 cmp r3, #0 + 800bc70: d106 bne.n 800bc80 + 800bc72: 4b06 ldr r3, [pc, #24] @ (800bc8c ) + 800bc74: f240 4265 movw r2, #1125 @ 0x465 + 800bc78: 490b ldr r1, [pc, #44] @ (800bca8 ) + 800bc7a: 4806 ldr r0, [pc, #24] @ (800bc94 ) + 800bc7c: f006 f97e bl 8011f7c pcb->unacked != NULL || pcb->unsent != NULL); } return ERR_OK; - 800b2fc: 2300 movs r3, #0 + 800bc80: 2300 movs r3, #0 } - 800b2fe: 4618 mov r0, r3 - 800b300: 3720 adds r7, #32 - 800b302: 46bd mov sp, r7 - 800b304: bd80 pop {r7, pc} - 800b306: bf00 nop - 800b308: 0801769c .word 0x0801769c - 800b30c: 08017ac0 .word 0x08017ac0 - 800b310: 080176f0 .word 0x080176f0 - 800b314: 08017b18 .word 0x08017b18 - 800b318: 08017b38 .word 0x08017b38 - 800b31c: 08017b74 .word 0x08017b74 - 800b320: 08017b8c .word 0x08017b8c - 800b324: 08017bb8 .word 0x08017bb8 + 800bc82: 4618 mov r0, r3 + 800bc84: 3720 adds r7, #32 + 800bc86: 46bd mov sp, r7 + 800bc88: bd80 pop {r7, pc} + 800bc8a: bf00 nop + 800bc8c: 0801801c .word 0x0801801c + 800bc90: 08018440 .word 0x08018440 + 800bc94: 08018070 .word 0x08018070 + 800bc98: 08018498 .word 0x08018498 + 800bc9c: 080184b8 .word 0x080184b8 + 800bca0: 080184f4 .word 0x080184f4 + 800bca4: 0801850c .word 0x0801850c + 800bca8: 08018538 .word 0x08018538 -0800b328 : +0800bcac : * @return ERR_OK if data has been sent or nothing to send * another err_t on error */ err_t tcp_output(struct tcp_pcb *pcb) { - 800b328: b5b0 push {r4, r5, r7, lr} - 800b32a: b08a sub sp, #40 @ 0x28 - 800b32c: af00 add r7, sp, #0 - 800b32e: 6078 str r0, [r7, #4] + 800bcac: b5b0 push {r4, r5, r7, lr} + 800bcae: b08a sub sp, #40 @ 0x28 + 800bcb0: af00 add r7, sp, #0 + 800bcb2: 6078 str r0, [r7, #4] s16_t i = 0; #endif /* TCP_CWND_DEBUG */ LWIP_ASSERT_CORE_LOCKED(); LWIP_ASSERT("tcp_output: invalid pcb", pcb != NULL); - 800b330: 687b ldr r3, [r7, #4] - 800b332: 2b00 cmp r3, #0 - 800b334: d106 bne.n 800b344 - 800b336: 4b8a ldr r3, [pc, #552] @ (800b560 ) - 800b338: f240 42e1 movw r2, #1249 @ 0x4e1 - 800b33c: 4989 ldr r1, [pc, #548] @ (800b564 ) - 800b33e: 488a ldr r0, [pc, #552] @ (800b568 ) - 800b340: f006 f95a bl 80115f8 + 800bcb4: 687b ldr r3, [r7, #4] + 800bcb6: 2b00 cmp r3, #0 + 800bcb8: d106 bne.n 800bcc8 + 800bcba: 4b8a ldr r3, [pc, #552] @ (800bee4 ) + 800bcbc: f240 42e1 movw r2, #1249 @ 0x4e1 + 800bcc0: 4989 ldr r1, [pc, #548] @ (800bee8 ) + 800bcc2: 488a ldr r0, [pc, #552] @ (800beec ) + 800bcc4: f006 f95a bl 8011f7c /* pcb->state LISTEN not allowed here */ LWIP_ASSERT("don't call tcp_output for listen-pcbs", - 800b344: 687b ldr r3, [r7, #4] - 800b346: 7d1b ldrb r3, [r3, #20] - 800b348: 2b01 cmp r3, #1 - 800b34a: d106 bne.n 800b35a - 800b34c: 4b84 ldr r3, [pc, #528] @ (800b560 ) - 800b34e: f240 42e3 movw r2, #1251 @ 0x4e3 - 800b352: 4986 ldr r1, [pc, #536] @ (800b56c ) - 800b354: 4884 ldr r0, [pc, #528] @ (800b568 ) - 800b356: f006 f94f bl 80115f8 + 800bcc8: 687b ldr r3, [r7, #4] + 800bcca: 7d1b ldrb r3, [r3, #20] + 800bccc: 2b01 cmp r3, #1 + 800bcce: d106 bne.n 800bcde + 800bcd0: 4b84 ldr r3, [pc, #528] @ (800bee4 ) + 800bcd2: f240 42e3 movw r2, #1251 @ 0x4e3 + 800bcd6: 4986 ldr r1, [pc, #536] @ (800bef0 ) + 800bcd8: 4884 ldr r0, [pc, #528] @ (800beec ) + 800bcda: f006 f94f bl 8011f7c /* First, check if we are invoked by the TCP input processing code. If so, we do not output anything. Instead, we rely on the input processing code to call us when input processing is done with. */ if (tcp_input_pcb == pcb) { - 800b35a: 4b85 ldr r3, [pc, #532] @ (800b570 ) - 800b35c: 681b ldr r3, [r3, #0] - 800b35e: 687a ldr r2, [r7, #4] - 800b360: 429a cmp r2, r3 - 800b362: d101 bne.n 800b368 + 800bcde: 4b85 ldr r3, [pc, #532] @ (800bef4 ) + 800bce0: 681b ldr r3, [r3, #0] + 800bce2: 687a ldr r2, [r7, #4] + 800bce4: 429a cmp r2, r3 + 800bce6: d101 bne.n 800bcec return ERR_OK; - 800b364: 2300 movs r3, #0 - 800b366: e1ce b.n 800b706 + 800bce8: 2300 movs r3, #0 + 800bcea: e1ce b.n 800c08a } wnd = LWIP_MIN(pcb->snd_wnd, pcb->cwnd); - 800b368: 687b ldr r3, [r7, #4] - 800b36a: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 - 800b36e: 687b ldr r3, [r7, #4] - 800b370: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 - 800b374: 4293 cmp r3, r2 - 800b376: bf28 it cs - 800b378: 4613 movcs r3, r2 - 800b37a: b29b uxth r3, r3 - 800b37c: 61bb str r3, [r7, #24] + 800bcec: 687b ldr r3, [r7, #4] + 800bcee: f8b3 2048 ldrh.w r2, [r3, #72] @ 0x48 + 800bcf2: 687b ldr r3, [r7, #4] + 800bcf4: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 + 800bcf8: 4293 cmp r3, r2 + 800bcfa: bf28 it cs + 800bcfc: 4613 movcs r3, r2 + 800bcfe: b29b uxth r3, r3 + 800bd00: 61bb str r3, [r7, #24] seg = pcb->unsent; - 800b37e: 687b ldr r3, [r7, #4] - 800b380: 6edb ldr r3, [r3, #108] @ 0x6c - 800b382: 627b str r3, [r7, #36] @ 0x24 + 800bd02: 687b ldr r3, [r7, #4] + 800bd04: 6edb ldr r3, [r3, #108] @ 0x6c + 800bd06: 627b str r3, [r7, #36] @ 0x24 if (seg == NULL) { - 800b384: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b386: 2b00 cmp r3, #0 - 800b388: d10b bne.n 800b3a2 + 800bd08: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bd0a: 2b00 cmp r3, #0 + 800bd0c: d10b bne.n 800bd26 ", seg == NULL, ack %"U32_F"\n", pcb->snd_wnd, pcb->cwnd, wnd, pcb->lastack)); /* If the TF_ACK_NOW flag is set and the ->unsent queue is empty, construct * an empty ACK segment and send it. */ if (pcb->flags & TF_ACK_NOW) { - 800b38a: 687b ldr r3, [r7, #4] - 800b38c: 8b5b ldrh r3, [r3, #26] - 800b38e: f003 0302 and.w r3, r3, #2 - 800b392: 2b00 cmp r3, #0 - 800b394: f000 81aa beq.w 800b6ec + 800bd0e: 687b ldr r3, [r7, #4] + 800bd10: 8b5b ldrh r3, [r3, #26] + 800bd12: f003 0302 and.w r3, r3, #2 + 800bd16: 2b00 cmp r3, #0 + 800bd18: f000 81aa beq.w 800c070 return tcp_send_empty_ack(pcb); - 800b398: 6878 ldr r0, [r7, #4] - 800b39a: f000 fdcb bl 800bf34 - 800b39e: 4603 mov r3, r0 - 800b3a0: e1b1 b.n 800b706 + 800bd1c: 6878 ldr r0, [r7, #4] + 800bd1e: f000 fdcb bl 800c8b8 + 800bd22: 4603 mov r3, r0 + 800bd24: e1b1 b.n 800c08a pcb->snd_wnd, pcb->cwnd, wnd, lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len, lwip_ntohl(seg->tcphdr->seqno), pcb->lastack)); } netif = tcp_route(pcb, &pcb->local_ip, &pcb->remote_ip); - 800b3a2: 6879 ldr r1, [r7, #4] - 800b3a4: 687b ldr r3, [r7, #4] - 800b3a6: 3304 adds r3, #4 - 800b3a8: 461a mov r2, r3 - 800b3aa: 6878 ldr r0, [r7, #4] - 800b3ac: f7ff fc7e bl 800acac - 800b3b0: 6178 str r0, [r7, #20] + 800bd26: 6879 ldr r1, [r7, #4] + 800bd28: 687b ldr r3, [r7, #4] + 800bd2a: 3304 adds r3, #4 + 800bd2c: 461a mov r2, r3 + 800bd2e: 6878 ldr r0, [r7, #4] + 800bd30: f7ff fc7e bl 800b630 + 800bd34: 6178 str r0, [r7, #20] if (netif == NULL) { - 800b3b2: 697b ldr r3, [r7, #20] - 800b3b4: 2b00 cmp r3, #0 - 800b3b6: d102 bne.n 800b3be + 800bd36: 697b ldr r3, [r7, #20] + 800bd38: 2b00 cmp r3, #0 + 800bd3a: d102 bne.n 800bd42 return ERR_RTE; - 800b3b8: f06f 0303 mvn.w r3, #3 - 800b3bc: e1a3 b.n 800b706 + 800bd3c: f06f 0303 mvn.w r3, #3 + 800bd40: e1a3 b.n 800c08a } /* If we don't have a local IP address, we get one from netif */ if (ip_addr_isany(&pcb->local_ip)) { - 800b3be: 687b ldr r3, [r7, #4] - 800b3c0: 2b00 cmp r3, #0 - 800b3c2: d003 beq.n 800b3cc - 800b3c4: 687b ldr r3, [r7, #4] - 800b3c6: 681b ldr r3, [r3, #0] - 800b3c8: 2b00 cmp r3, #0 - 800b3ca: d111 bne.n 800b3f0 + 800bd42: 687b ldr r3, [r7, #4] + 800bd44: 2b00 cmp r3, #0 + 800bd46: d003 beq.n 800bd50 + 800bd48: 687b ldr r3, [r7, #4] + 800bd4a: 681b ldr r3, [r3, #0] + 800bd4c: 2b00 cmp r3, #0 + 800bd4e: d111 bne.n 800bd74 const ip_addr_t *local_ip = ip_netif_get_local_ip(netif, &pcb->remote_ip); - 800b3cc: 697b ldr r3, [r7, #20] - 800b3ce: 2b00 cmp r3, #0 - 800b3d0: d002 beq.n 800b3d8 - 800b3d2: 697b ldr r3, [r7, #20] - 800b3d4: 3304 adds r3, #4 - 800b3d6: e000 b.n 800b3da - 800b3d8: 2300 movs r3, #0 - 800b3da: 613b str r3, [r7, #16] + 800bd50: 697b ldr r3, [r7, #20] + 800bd52: 2b00 cmp r3, #0 + 800bd54: d002 beq.n 800bd5c + 800bd56: 697b ldr r3, [r7, #20] + 800bd58: 3304 adds r3, #4 + 800bd5a: e000 b.n 800bd5e + 800bd5c: 2300 movs r3, #0 + 800bd5e: 613b str r3, [r7, #16] if (local_ip == NULL) { - 800b3dc: 693b ldr r3, [r7, #16] - 800b3de: 2b00 cmp r3, #0 - 800b3e0: d102 bne.n 800b3e8 + 800bd60: 693b ldr r3, [r7, #16] + 800bd62: 2b00 cmp r3, #0 + 800bd64: d102 bne.n 800bd6c return ERR_RTE; - 800b3e2: f06f 0303 mvn.w r3, #3 - 800b3e6: e18e b.n 800b706 + 800bd66: f06f 0303 mvn.w r3, #3 + 800bd6a: e18e b.n 800c08a } ip_addr_copy(pcb->local_ip, *local_ip); - 800b3e8: 693b ldr r3, [r7, #16] - 800b3ea: 681a ldr r2, [r3, #0] - 800b3ec: 687b ldr r3, [r7, #4] - 800b3ee: 601a str r2, [r3, #0] + 800bd6c: 693b ldr r3, [r7, #16] + 800bd6e: 681a ldr r2, [r3, #0] + 800bd70: 687b ldr r3, [r7, #4] + 800bd72: 601a str r2, [r3, #0] } /* Handle the current segment not fitting within the window */ if (lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len > wnd) { - 800b3f0: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b3f2: 68db ldr r3, [r3, #12] - 800b3f4: 685b ldr r3, [r3, #4] - 800b3f6: 4618 mov r0, r3 - 800b3f8: f7f9 ffdb bl 80053b2 - 800b3fc: 4602 mov r2, r0 - 800b3fe: 687b ldr r3, [r7, #4] - 800b400: 6c5b ldr r3, [r3, #68] @ 0x44 - 800b402: 1ad3 subs r3, r2, r3 - 800b404: 6a7a ldr r2, [r7, #36] @ 0x24 - 800b406: 8912 ldrh r2, [r2, #8] - 800b408: 4413 add r3, r2 - 800b40a: 69ba ldr r2, [r7, #24] - 800b40c: 429a cmp r2, r3 - 800b40e: d227 bcs.n 800b460 + 800bd74: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bd76: 68db ldr r3, [r3, #12] + 800bd78: 685b ldr r3, [r3, #4] + 800bd7a: 4618 mov r0, r3 + 800bd7c: f7f9 ffdb bl 8005d36 + 800bd80: 4602 mov r2, r0 + 800bd82: 687b ldr r3, [r7, #4] + 800bd84: 6c5b ldr r3, [r3, #68] @ 0x44 + 800bd86: 1ad3 subs r3, r2, r3 + 800bd88: 6a7a ldr r2, [r7, #36] @ 0x24 + 800bd8a: 8912 ldrh r2, [r2, #8] + 800bd8c: 4413 add r3, r2 + 800bd8e: 69ba ldr r2, [r7, #24] + 800bd90: 429a cmp r2, r3 + 800bd92: d227 bcs.n 800bde4 * within the remaining (could be 0) send window and RTO timer is not running (we * have no in-flight data). If window is still too small after persist timer fires, * then we split the segment. We don't consider the congestion window since a cwnd * smaller than 1 SMSS implies in-flight data */ if (wnd == pcb->snd_wnd && pcb->unacked == NULL && pcb->persist_backoff == 0) { - 800b410: 687b ldr r3, [r7, #4] - 800b412: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 - 800b416: 461a mov r2, r3 - 800b418: 69bb ldr r3, [r7, #24] - 800b41a: 4293 cmp r3, r2 - 800b41c: d114 bne.n 800b448 - 800b41e: 687b ldr r3, [r7, #4] - 800b420: 6f1b ldr r3, [r3, #112] @ 0x70 - 800b422: 2b00 cmp r3, #0 - 800b424: d110 bne.n 800b448 - 800b426: 687b ldr r3, [r7, #4] - 800b428: f893 3099 ldrb.w r3, [r3, #153] @ 0x99 - 800b42c: 2b00 cmp r3, #0 - 800b42e: d10b bne.n 800b448 + 800bd94: 687b ldr r3, [r7, #4] + 800bd96: f8b3 3060 ldrh.w r3, [r3, #96] @ 0x60 + 800bd9a: 461a mov r2, r3 + 800bd9c: 69bb ldr r3, [r7, #24] + 800bd9e: 4293 cmp r3, r2 + 800bda0: d114 bne.n 800bdcc + 800bda2: 687b ldr r3, [r7, #4] + 800bda4: 6f1b ldr r3, [r3, #112] @ 0x70 + 800bda6: 2b00 cmp r3, #0 + 800bda8: d110 bne.n 800bdcc + 800bdaa: 687b ldr r3, [r7, #4] + 800bdac: f893 3099 ldrb.w r3, [r3, #153] @ 0x99 + 800bdb0: 2b00 cmp r3, #0 + 800bdb2: d10b bne.n 800bdcc pcb->persist_cnt = 0; - 800b430: 687b ldr r3, [r7, #4] - 800b432: 2200 movs r2, #0 - 800b434: f883 2098 strb.w r2, [r3, #152] @ 0x98 + 800bdb4: 687b ldr r3, [r7, #4] + 800bdb6: 2200 movs r2, #0 + 800bdb8: f883 2098 strb.w r2, [r3, #152] @ 0x98 pcb->persist_backoff = 1; - 800b438: 687b ldr r3, [r7, #4] - 800b43a: 2201 movs r2, #1 - 800b43c: f883 2099 strb.w r2, [r3, #153] @ 0x99 + 800bdbc: 687b ldr r3, [r7, #4] + 800bdbe: 2201 movs r2, #1 + 800bdc0: f883 2099 strb.w r2, [r3, #153] @ 0x99 pcb->persist_probe = 0; - 800b440: 687b ldr r3, [r7, #4] - 800b442: 2200 movs r2, #0 - 800b444: f883 209a strb.w r2, [r3, #154] @ 0x9a + 800bdc4: 687b ldr r3, [r7, #4] + 800bdc6: 2200 movs r2, #0 + 800bdc8: f883 209a strb.w r2, [r3, #154] @ 0x9a } /* We need an ACK, but can't send data now, so send an empty ACK */ if (pcb->flags & TF_ACK_NOW) { - 800b448: 687b ldr r3, [r7, #4] - 800b44a: 8b5b ldrh r3, [r3, #26] - 800b44c: f003 0302 and.w r3, r3, #2 - 800b450: 2b00 cmp r3, #0 - 800b452: f000 814d beq.w 800b6f0 + 800bdcc: 687b ldr r3, [r7, #4] + 800bdce: 8b5b ldrh r3, [r3, #26] + 800bdd0: f003 0302 and.w r3, r3, #2 + 800bdd4: 2b00 cmp r3, #0 + 800bdd6: f000 814d beq.w 800c074 return tcp_send_empty_ack(pcb); - 800b456: 6878 ldr r0, [r7, #4] - 800b458: f000 fd6c bl 800bf34 - 800b45c: 4603 mov r3, r0 - 800b45e: e152 b.n 800b706 + 800bdda: 6878 ldr r0, [r7, #4] + 800bddc: f000 fd6c bl 800c8b8 + 800bde0: 4603 mov r3, r0 + 800bde2: e152 b.n 800c08a } goto output_done; } /* Stop persist timer, above conditions are not active */ pcb->persist_backoff = 0; - 800b460: 687b ldr r3, [r7, #4] - 800b462: 2200 movs r2, #0 - 800b464: f883 2099 strb.w r2, [r3, #153] @ 0x99 + 800bde4: 687b ldr r3, [r7, #4] + 800bde6: 2200 movs r2, #0 + 800bde8: f883 2099 strb.w r2, [r3, #153] @ 0x99 /* useg should point to last segment on unacked queue */ useg = pcb->unacked; - 800b468: 687b ldr r3, [r7, #4] - 800b46a: 6f1b ldr r3, [r3, #112] @ 0x70 - 800b46c: 623b str r3, [r7, #32] + 800bdec: 687b ldr r3, [r7, #4] + 800bdee: 6f1b ldr r3, [r3, #112] @ 0x70 + 800bdf0: 623b str r3, [r7, #32] if (useg != NULL) { - 800b46e: 6a3b ldr r3, [r7, #32] - 800b470: 2b00 cmp r3, #0 - 800b472: f000 811c beq.w 800b6ae + 800bdf2: 6a3b ldr r3, [r7, #32] + 800bdf4: 2b00 cmp r3, #0 + 800bdf6: f000 811c beq.w 800c032 for (; useg->next != NULL; useg = useg->next); - 800b476: e002 b.n 800b47e - 800b478: 6a3b ldr r3, [r7, #32] - 800b47a: 681b ldr r3, [r3, #0] - 800b47c: 623b str r3, [r7, #32] - 800b47e: 6a3b ldr r3, [r7, #32] - 800b480: 681b ldr r3, [r3, #0] - 800b482: 2b00 cmp r3, #0 - 800b484: d1f8 bne.n 800b478 + 800bdfa: e002 b.n 800be02 + 800bdfc: 6a3b ldr r3, [r7, #32] + 800bdfe: 681b ldr r3, [r3, #0] + 800be00: 623b str r3, [r7, #32] + 800be02: 6a3b ldr r3, [r7, #32] + 800be04: 681b ldr r3, [r3, #0] + 800be06: 2b00 cmp r3, #0 + 800be08: d1f8 bne.n 800bdfc } /* data available and window allows it to be sent? */ while (seg != NULL && - 800b486: e112 b.n 800b6ae + 800be0a: e112 b.n 800c032 lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len <= wnd) { LWIP_ASSERT("RST not expected here!", - 800b488: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b48a: 68db ldr r3, [r3, #12] - 800b48c: 899b ldrh r3, [r3, #12] - 800b48e: b29b uxth r3, r3 - 800b490: 4618 mov r0, r3 - 800b492: f7f9 ff79 bl 8005388 - 800b496: 4603 mov r3, r0 - 800b498: b2db uxtb r3, r3 - 800b49a: f003 0304 and.w r3, r3, #4 - 800b49e: 2b00 cmp r3, #0 - 800b4a0: d006 beq.n 800b4b0 - 800b4a2: 4b2f ldr r3, [pc, #188] @ (800b560 ) - 800b4a4: f240 5236 movw r2, #1334 @ 0x536 - 800b4a8: 4932 ldr r1, [pc, #200] @ (800b574 ) - 800b4aa: 482f ldr r0, [pc, #188] @ (800b568 ) - 800b4ac: f006 f8a4 bl 80115f8 + 800be0c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800be0e: 68db ldr r3, [r3, #12] + 800be10: 899b ldrh r3, [r3, #12] + 800be12: b29b uxth r3, r3 + 800be14: 4618 mov r0, r3 + 800be16: f7f9 ff79 bl 8005d0c + 800be1a: 4603 mov r3, r0 + 800be1c: b2db uxtb r3, r3 + 800be1e: f003 0304 and.w r3, r3, #4 + 800be22: 2b00 cmp r3, #0 + 800be24: d006 beq.n 800be34 + 800be26: 4b2f ldr r3, [pc, #188] @ (800bee4 ) + 800be28: f240 5236 movw r2, #1334 @ 0x536 + 800be2c: 4932 ldr r1, [pc, #200] @ (800bef8 ) + 800be2e: 482f ldr r0, [pc, #188] @ (800beec ) + 800be30: f006 f8a4 bl 8011f7c * - if tcp_write had a memory error before (prevent delayed ACK timeout) or * - if FIN was already enqueued for this PCB (SYN is always alone in a segment - * either seg->next != NULL or pcb->unacked == NULL; * RST is no sent using tcp_write/tcp_output. */ if ((tcp_do_output_nagle(pcb) == 0) && - 800b4b0: 687b ldr r3, [r7, #4] - 800b4b2: 6f1b ldr r3, [r3, #112] @ 0x70 - 800b4b4: 2b00 cmp r3, #0 - 800b4b6: d01f beq.n 800b4f8 - 800b4b8: 687b ldr r3, [r7, #4] - 800b4ba: 8b5b ldrh r3, [r3, #26] - 800b4bc: f003 0344 and.w r3, r3, #68 @ 0x44 - 800b4c0: 2b00 cmp r3, #0 - 800b4c2: d119 bne.n 800b4f8 - 800b4c4: 687b ldr r3, [r7, #4] - 800b4c6: 6edb ldr r3, [r3, #108] @ 0x6c - 800b4c8: 2b00 cmp r3, #0 - 800b4ca: d00b beq.n 800b4e4 - 800b4cc: 687b ldr r3, [r7, #4] - 800b4ce: 6edb ldr r3, [r3, #108] @ 0x6c - 800b4d0: 681b ldr r3, [r3, #0] - 800b4d2: 2b00 cmp r3, #0 - 800b4d4: d110 bne.n 800b4f8 - 800b4d6: 687b ldr r3, [r7, #4] - 800b4d8: 6edb ldr r3, [r3, #108] @ 0x6c - 800b4da: 891a ldrh r2, [r3, #8] - 800b4dc: 687b ldr r3, [r7, #4] - 800b4de: 8e5b ldrh r3, [r3, #50] @ 0x32 - 800b4e0: 429a cmp r2, r3 - 800b4e2: d209 bcs.n 800b4f8 - 800b4e4: 687b ldr r3, [r7, #4] - 800b4e6: f8b3 3064 ldrh.w r3, [r3, #100] @ 0x64 - 800b4ea: 2b00 cmp r3, #0 - 800b4ec: d004 beq.n 800b4f8 - 800b4ee: 687b ldr r3, [r7, #4] - 800b4f0: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 - 800b4f4: 2b08 cmp r3, #8 - 800b4f6: d901 bls.n 800b4fc - 800b4f8: 2301 movs r3, #1 - 800b4fa: e000 b.n 800b4fe - 800b4fc: 2300 movs r3, #0 - 800b4fe: 2b00 cmp r3, #0 - 800b500: d106 bne.n 800b510 + 800be34: 687b ldr r3, [r7, #4] + 800be36: 6f1b ldr r3, [r3, #112] @ 0x70 + 800be38: 2b00 cmp r3, #0 + 800be3a: d01f beq.n 800be7c + 800be3c: 687b ldr r3, [r7, #4] + 800be3e: 8b5b ldrh r3, [r3, #26] + 800be40: f003 0344 and.w r3, r3, #68 @ 0x44 + 800be44: 2b00 cmp r3, #0 + 800be46: d119 bne.n 800be7c + 800be48: 687b ldr r3, [r7, #4] + 800be4a: 6edb ldr r3, [r3, #108] @ 0x6c + 800be4c: 2b00 cmp r3, #0 + 800be4e: d00b beq.n 800be68 + 800be50: 687b ldr r3, [r7, #4] + 800be52: 6edb ldr r3, [r3, #108] @ 0x6c + 800be54: 681b ldr r3, [r3, #0] + 800be56: 2b00 cmp r3, #0 + 800be58: d110 bne.n 800be7c + 800be5a: 687b ldr r3, [r7, #4] + 800be5c: 6edb ldr r3, [r3, #108] @ 0x6c + 800be5e: 891a ldrh r2, [r3, #8] + 800be60: 687b ldr r3, [r7, #4] + 800be62: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800be64: 429a cmp r2, r3 + 800be66: d209 bcs.n 800be7c + 800be68: 687b ldr r3, [r7, #4] + 800be6a: f8b3 3064 ldrh.w r3, [r3, #100] @ 0x64 + 800be6e: 2b00 cmp r3, #0 + 800be70: d004 beq.n 800be7c + 800be72: 687b ldr r3, [r7, #4] + 800be74: f8b3 3066 ldrh.w r3, [r3, #102] @ 0x66 + 800be78: 2b08 cmp r3, #8 + 800be7a: d901 bls.n 800be80 + 800be7c: 2301 movs r3, #1 + 800be7e: e000 b.n 800be82 + 800be80: 2300 movs r3, #0 + 800be82: 2b00 cmp r3, #0 + 800be84: d106 bne.n 800be94 ((pcb->flags & (TF_NAGLEMEMERR | TF_FIN)) == 0)) { - 800b502: 687b ldr r3, [r7, #4] - 800b504: 8b5b ldrh r3, [r3, #26] - 800b506: f003 03a0 and.w r3, r3, #160 @ 0xa0 + 800be86: 687b ldr r3, [r7, #4] + 800be88: 8b5b ldrh r3, [r3, #26] + 800be8a: f003 03a0 and.w r3, r3, #160 @ 0xa0 if ((tcp_do_output_nagle(pcb) == 0) && - 800b50a: 2b00 cmp r3, #0 - 800b50c: f000 80e4 beq.w 800b6d8 + 800be8e: 2b00 cmp r3, #0 + 800be90: f000 80e4 beq.w 800c05c pcb->lastack, lwip_ntohl(seg->tcphdr->seqno), pcb->lastack, i)); ++i; #endif /* TCP_CWND_DEBUG */ if (pcb->state != SYN_SENT) { - 800b510: 687b ldr r3, [r7, #4] - 800b512: 7d1b ldrb r3, [r3, #20] - 800b514: 2b02 cmp r3, #2 - 800b516: d00d beq.n 800b534 + 800be94: 687b ldr r3, [r7, #4] + 800be96: 7d1b ldrb r3, [r3, #20] + 800be98: 2b02 cmp r3, #2 + 800be9a: d00d beq.n 800beb8 TCPH_SET_FLAG(seg->tcphdr, TCP_ACK); - 800b518: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b51a: 68db ldr r3, [r3, #12] - 800b51c: 899b ldrh r3, [r3, #12] - 800b51e: b29c uxth r4, r3 - 800b520: 2010 movs r0, #16 - 800b522: f7f9 ff31 bl 8005388 - 800b526: 4603 mov r3, r0 - 800b528: 461a mov r2, r3 - 800b52a: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b52c: 68db ldr r3, [r3, #12] - 800b52e: 4322 orrs r2, r4 - 800b530: b292 uxth r2, r2 - 800b532: 819a strh r2, [r3, #12] + 800be9c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800be9e: 68db ldr r3, [r3, #12] + 800bea0: 899b ldrh r3, [r3, #12] + 800bea2: b29c uxth r4, r3 + 800bea4: 2010 movs r0, #16 + 800bea6: f7f9 ff31 bl 8005d0c + 800beaa: 4603 mov r3, r0 + 800beac: 461a mov r2, r3 + 800beae: 6a7b ldr r3, [r7, #36] @ 0x24 + 800beb0: 68db ldr r3, [r3, #12] + 800beb2: 4322 orrs r2, r4 + 800beb4: b292 uxth r2, r2 + 800beb6: 819a strh r2, [r3, #12] } err = tcp_output_segment(seg, pcb, netif); - 800b534: 697a ldr r2, [r7, #20] - 800b536: 6879 ldr r1, [r7, #4] - 800b538: 6a78 ldr r0, [r7, #36] @ 0x24 - 800b53a: f000 f909 bl 800b750 - 800b53e: 4603 mov r3, r0 - 800b540: 73fb strb r3, [r7, #15] + 800beb8: 697a ldr r2, [r7, #20] + 800beba: 6879 ldr r1, [r7, #4] + 800bebc: 6a78 ldr r0, [r7, #36] @ 0x24 + 800bebe: f000 f909 bl 800c0d4 + 800bec2: 4603 mov r3, r0 + 800bec4: 73fb strb r3, [r7, #15] if (err != ERR_OK) { - 800b542: f997 300f ldrsb.w r3, [r7, #15] - 800b546: 2b00 cmp r3, #0 - 800b548: d016 beq.n 800b578 + 800bec6: f997 300f ldrsb.w r3, [r7, #15] + 800beca: 2b00 cmp r3, #0 + 800becc: d016 beq.n 800befc /* segment could not be sent, for whatever reason */ tcp_set_flags(pcb, TF_NAGLEMEMERR); - 800b54a: 687b ldr r3, [r7, #4] - 800b54c: 8b5b ldrh r3, [r3, #26] - 800b54e: f043 0380 orr.w r3, r3, #128 @ 0x80 - 800b552: b29a uxth r2, r3 - 800b554: 687b ldr r3, [r7, #4] - 800b556: 835a strh r2, [r3, #26] + 800bece: 687b ldr r3, [r7, #4] + 800bed0: 8b5b ldrh r3, [r3, #26] + 800bed2: f043 0380 orr.w r3, r3, #128 @ 0x80 + 800bed6: b29a uxth r2, r3 + 800bed8: 687b ldr r3, [r7, #4] + 800beda: 835a strh r2, [r3, #26] return err; - 800b558: f997 300f ldrsb.w r3, [r7, #15] - 800b55c: e0d3 b.n 800b706 - 800b55e: bf00 nop - 800b560: 0801769c .word 0x0801769c - 800b564: 08017be0 .word 0x08017be0 - 800b568: 080176f0 .word 0x080176f0 - 800b56c: 08017bf8 .word 0x08017bf8 - 800b570: 200190f0 .word 0x200190f0 - 800b574: 08017c20 .word 0x08017c20 + 800bedc: f997 300f ldrsb.w r3, [r7, #15] + 800bee0: e0d3 b.n 800c08a + 800bee2: bf00 nop + 800bee4: 0801801c .word 0x0801801c + 800bee8: 08018560 .word 0x08018560 + 800beec: 08018070 .word 0x08018070 + 800bef0: 08018578 .word 0x08018578 + 800bef4: 20019124 .word 0x20019124 + 800bef8: 080185a0 .word 0x080185a0 } #if TCP_OVERSIZE_DBGCHECK seg->oversize_left = 0; #endif /* TCP_OVERSIZE_DBGCHECK */ pcb->unsent = seg->next; - 800b578: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b57a: 681a ldr r2, [r3, #0] - 800b57c: 687b ldr r3, [r7, #4] - 800b57e: 66da str r2, [r3, #108] @ 0x6c + 800befc: 6a7b ldr r3, [r7, #36] @ 0x24 + 800befe: 681a ldr r2, [r3, #0] + 800bf00: 687b ldr r3, [r7, #4] + 800bf02: 66da str r2, [r3, #108] @ 0x6c if (pcb->state != SYN_SENT) { - 800b580: 687b ldr r3, [r7, #4] - 800b582: 7d1b ldrb r3, [r3, #20] - 800b584: 2b02 cmp r3, #2 - 800b586: d006 beq.n 800b596 + 800bf04: 687b ldr r3, [r7, #4] + 800bf06: 7d1b ldrb r3, [r3, #20] + 800bf08: 2b02 cmp r3, #2 + 800bf0a: d006 beq.n 800bf1a tcp_clear_flags(pcb, TF_ACK_DELAY | TF_ACK_NOW); - 800b588: 687b ldr r3, [r7, #4] - 800b58a: 8b5b ldrh r3, [r3, #26] - 800b58c: f023 0303 bic.w r3, r3, #3 - 800b590: b29a uxth r2, r3 - 800b592: 687b ldr r3, [r7, #4] - 800b594: 835a strh r2, [r3, #26] + 800bf0c: 687b ldr r3, [r7, #4] + 800bf0e: 8b5b ldrh r3, [r3, #26] + 800bf10: f023 0303 bic.w r3, r3, #3 + 800bf14: b29a uxth r2, r3 + 800bf16: 687b ldr r3, [r7, #4] + 800bf18: 835a strh r2, [r3, #26] } snd_nxt = lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg); - 800b596: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b598: 68db ldr r3, [r3, #12] - 800b59a: 685b ldr r3, [r3, #4] - 800b59c: 4618 mov r0, r3 - 800b59e: f7f9 ff08 bl 80053b2 - 800b5a2: 4604 mov r4, r0 - 800b5a4: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b5a6: 891b ldrh r3, [r3, #8] - 800b5a8: 461d mov r5, r3 - 800b5aa: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b5ac: 68db ldr r3, [r3, #12] - 800b5ae: 899b ldrh r3, [r3, #12] - 800b5b0: b29b uxth r3, r3 - 800b5b2: 4618 mov r0, r3 - 800b5b4: f7f9 fee8 bl 8005388 - 800b5b8: 4603 mov r3, r0 - 800b5ba: b2db uxtb r3, r3 - 800b5bc: f003 0303 and.w r3, r3, #3 - 800b5c0: 2b00 cmp r3, #0 - 800b5c2: d001 beq.n 800b5c8 - 800b5c4: 2301 movs r3, #1 - 800b5c6: e000 b.n 800b5ca - 800b5c8: 2300 movs r3, #0 - 800b5ca: 442b add r3, r5 - 800b5cc: 4423 add r3, r4 - 800b5ce: 60bb str r3, [r7, #8] + 800bf1a: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bf1c: 68db ldr r3, [r3, #12] + 800bf1e: 685b ldr r3, [r3, #4] + 800bf20: 4618 mov r0, r3 + 800bf22: f7f9 ff08 bl 8005d36 + 800bf26: 4604 mov r4, r0 + 800bf28: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bf2a: 891b ldrh r3, [r3, #8] + 800bf2c: 461d mov r5, r3 + 800bf2e: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bf30: 68db ldr r3, [r3, #12] + 800bf32: 899b ldrh r3, [r3, #12] + 800bf34: b29b uxth r3, r3 + 800bf36: 4618 mov r0, r3 + 800bf38: f7f9 fee8 bl 8005d0c + 800bf3c: 4603 mov r3, r0 + 800bf3e: b2db uxtb r3, r3 + 800bf40: f003 0303 and.w r3, r3, #3 + 800bf44: 2b00 cmp r3, #0 + 800bf46: d001 beq.n 800bf4c + 800bf48: 2301 movs r3, #1 + 800bf4a: e000 b.n 800bf4e + 800bf4c: 2300 movs r3, #0 + 800bf4e: 442b add r3, r5 + 800bf50: 4423 add r3, r4 + 800bf52: 60bb str r3, [r7, #8] if (TCP_SEQ_LT(pcb->snd_nxt, snd_nxt)) { - 800b5d0: 687b ldr r3, [r7, #4] - 800b5d2: 6d1a ldr r2, [r3, #80] @ 0x50 - 800b5d4: 68bb ldr r3, [r7, #8] - 800b5d6: 1ad3 subs r3, r2, r3 - 800b5d8: 2b00 cmp r3, #0 - 800b5da: da02 bge.n 800b5e2 + 800bf54: 687b ldr r3, [r7, #4] + 800bf56: 6d1a ldr r2, [r3, #80] @ 0x50 + 800bf58: 68bb ldr r3, [r7, #8] + 800bf5a: 1ad3 subs r3, r2, r3 + 800bf5c: 2b00 cmp r3, #0 + 800bf5e: da02 bge.n 800bf66 pcb->snd_nxt = snd_nxt; - 800b5dc: 687b ldr r3, [r7, #4] - 800b5de: 68ba ldr r2, [r7, #8] - 800b5e0: 651a str r2, [r3, #80] @ 0x50 + 800bf60: 687b ldr r3, [r7, #4] + 800bf62: 68ba ldr r2, [r7, #8] + 800bf64: 651a str r2, [r3, #80] @ 0x50 } /* put segment on unacknowledged list if length > 0 */ if (TCP_TCPLEN(seg) > 0) { - 800b5e2: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b5e4: 891b ldrh r3, [r3, #8] - 800b5e6: 461c mov r4, r3 - 800b5e8: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b5ea: 68db ldr r3, [r3, #12] - 800b5ec: 899b ldrh r3, [r3, #12] - 800b5ee: b29b uxth r3, r3 - 800b5f0: 4618 mov r0, r3 - 800b5f2: f7f9 fec9 bl 8005388 - 800b5f6: 4603 mov r3, r0 - 800b5f8: b2db uxtb r3, r3 - 800b5fa: f003 0303 and.w r3, r3, #3 - 800b5fe: 2b00 cmp r3, #0 - 800b600: d001 beq.n 800b606 - 800b602: 2301 movs r3, #1 - 800b604: e000 b.n 800b608 - 800b606: 2300 movs r3, #0 - 800b608: 4423 add r3, r4 - 800b60a: 2b00 cmp r3, #0 - 800b60c: d049 beq.n 800b6a2 + 800bf66: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bf68: 891b ldrh r3, [r3, #8] + 800bf6a: 461c mov r4, r3 + 800bf6c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bf6e: 68db ldr r3, [r3, #12] + 800bf70: 899b ldrh r3, [r3, #12] + 800bf72: b29b uxth r3, r3 + 800bf74: 4618 mov r0, r3 + 800bf76: f7f9 fec9 bl 8005d0c + 800bf7a: 4603 mov r3, r0 + 800bf7c: b2db uxtb r3, r3 + 800bf7e: f003 0303 and.w r3, r3, #3 + 800bf82: 2b00 cmp r3, #0 + 800bf84: d001 beq.n 800bf8a + 800bf86: 2301 movs r3, #1 + 800bf88: e000 b.n 800bf8c + 800bf8a: 2300 movs r3, #0 + 800bf8c: 4423 add r3, r4 + 800bf8e: 2b00 cmp r3, #0 + 800bf90: d049 beq.n 800c026 seg->next = NULL; - 800b60e: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b610: 2200 movs r2, #0 - 800b612: 601a str r2, [r3, #0] + 800bf92: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bf94: 2200 movs r2, #0 + 800bf96: 601a str r2, [r3, #0] /* unacked list is empty? */ if (pcb->unacked == NULL) { - 800b614: 687b ldr r3, [r7, #4] - 800b616: 6f1b ldr r3, [r3, #112] @ 0x70 - 800b618: 2b00 cmp r3, #0 - 800b61a: d105 bne.n 800b628 + 800bf98: 687b ldr r3, [r7, #4] + 800bf9a: 6f1b ldr r3, [r3, #112] @ 0x70 + 800bf9c: 2b00 cmp r3, #0 + 800bf9e: d105 bne.n 800bfac pcb->unacked = seg; - 800b61c: 687b ldr r3, [r7, #4] - 800b61e: 6a7a ldr r2, [r7, #36] @ 0x24 - 800b620: 671a str r2, [r3, #112] @ 0x70 + 800bfa0: 687b ldr r3, [r7, #4] + 800bfa2: 6a7a ldr r2, [r7, #36] @ 0x24 + 800bfa4: 671a str r2, [r3, #112] @ 0x70 useg = seg; - 800b622: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b624: 623b str r3, [r7, #32] - 800b626: e03f b.n 800b6a8 + 800bfa6: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bfa8: 623b str r3, [r7, #32] + 800bfaa: e03f b.n 800c02c /* unacked list is not empty? */ } else { /* In the case of fast retransmit, the packet should not go to the tail * of the unacked queue, but rather somewhere before it. We need to check for * this case. -STJ Jul 27, 2004 */ if (TCP_SEQ_LT(lwip_ntohl(seg->tcphdr->seqno), lwip_ntohl(useg->tcphdr->seqno))) { - 800b628: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b62a: 68db ldr r3, [r3, #12] - 800b62c: 685b ldr r3, [r3, #4] - 800b62e: 4618 mov r0, r3 - 800b630: f7f9 febf bl 80053b2 - 800b634: 4604 mov r4, r0 - 800b636: 6a3b ldr r3, [r7, #32] - 800b638: 68db ldr r3, [r3, #12] - 800b63a: 685b ldr r3, [r3, #4] - 800b63c: 4618 mov r0, r3 - 800b63e: f7f9 feb8 bl 80053b2 - 800b642: 4603 mov r3, r0 - 800b644: 1ae3 subs r3, r4, r3 - 800b646: 2b00 cmp r3, #0 - 800b648: da24 bge.n 800b694 + 800bfac: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bfae: 68db ldr r3, [r3, #12] + 800bfb0: 685b ldr r3, [r3, #4] + 800bfb2: 4618 mov r0, r3 + 800bfb4: f7f9 febf bl 8005d36 + 800bfb8: 4604 mov r4, r0 + 800bfba: 6a3b ldr r3, [r7, #32] + 800bfbc: 68db ldr r3, [r3, #12] + 800bfbe: 685b ldr r3, [r3, #4] + 800bfc0: 4618 mov r0, r3 + 800bfc2: f7f9 feb8 bl 8005d36 + 800bfc6: 4603 mov r3, r0 + 800bfc8: 1ae3 subs r3, r4, r3 + 800bfca: 2b00 cmp r3, #0 + 800bfcc: da24 bge.n 800c018 /* add segment to before tail of unacked list, keeping the list sorted */ struct tcp_seg **cur_seg = &(pcb->unacked); - 800b64a: 687b ldr r3, [r7, #4] - 800b64c: 3370 adds r3, #112 @ 0x70 - 800b64e: 61fb str r3, [r7, #28] + 800bfce: 687b ldr r3, [r7, #4] + 800bfd0: 3370 adds r3, #112 @ 0x70 + 800bfd2: 61fb str r3, [r7, #28] while (*cur_seg && - 800b650: e002 b.n 800b658 + 800bfd4: e002 b.n 800bfdc TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { cur_seg = &((*cur_seg)->next ); - 800b652: 69fb ldr r3, [r7, #28] - 800b654: 681b ldr r3, [r3, #0] - 800b656: 61fb str r3, [r7, #28] + 800bfd6: 69fb ldr r3, [r7, #28] + 800bfd8: 681b ldr r3, [r3, #0] + 800bfda: 61fb str r3, [r7, #28] while (*cur_seg && - 800b658: 69fb ldr r3, [r7, #28] - 800b65a: 681b ldr r3, [r3, #0] - 800b65c: 2b00 cmp r3, #0 - 800b65e: d011 beq.n 800b684 + 800bfdc: 69fb ldr r3, [r7, #28] + 800bfde: 681b ldr r3, [r3, #0] + 800bfe0: 2b00 cmp r3, #0 + 800bfe2: d011 beq.n 800c008 TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { - 800b660: 69fb ldr r3, [r7, #28] - 800b662: 681b ldr r3, [r3, #0] - 800b664: 68db ldr r3, [r3, #12] - 800b666: 685b ldr r3, [r3, #4] - 800b668: 4618 mov r0, r3 - 800b66a: f7f9 fea2 bl 80053b2 - 800b66e: 4604 mov r4, r0 - 800b670: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b672: 68db ldr r3, [r3, #12] - 800b674: 685b ldr r3, [r3, #4] - 800b676: 4618 mov r0, r3 - 800b678: f7f9 fe9b bl 80053b2 - 800b67c: 4603 mov r3, r0 - 800b67e: 1ae3 subs r3, r4, r3 + 800bfe4: 69fb ldr r3, [r7, #28] + 800bfe6: 681b ldr r3, [r3, #0] + 800bfe8: 68db ldr r3, [r3, #12] + 800bfea: 685b ldr r3, [r3, #4] + 800bfec: 4618 mov r0, r3 + 800bfee: f7f9 fea2 bl 8005d36 + 800bff2: 4604 mov r4, r0 + 800bff4: 6a7b ldr r3, [r7, #36] @ 0x24 + 800bff6: 68db ldr r3, [r3, #12] + 800bff8: 685b ldr r3, [r3, #4] + 800bffa: 4618 mov r0, r3 + 800bffc: f7f9 fe9b bl 8005d36 + 800c000: 4603 mov r3, r0 + 800c002: 1ae3 subs r3, r4, r3 while (*cur_seg && - 800b680: 2b00 cmp r3, #0 - 800b682: dbe6 blt.n 800b652 + 800c004: 2b00 cmp r3, #0 + 800c006: dbe6 blt.n 800bfd6 } seg->next = (*cur_seg); - 800b684: 69fb ldr r3, [r7, #28] - 800b686: 681a ldr r2, [r3, #0] - 800b688: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b68a: 601a str r2, [r3, #0] + 800c008: 69fb ldr r3, [r7, #28] + 800c00a: 681a ldr r2, [r3, #0] + 800c00c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800c00e: 601a str r2, [r3, #0] (*cur_seg) = seg; - 800b68c: 69fb ldr r3, [r7, #28] - 800b68e: 6a7a ldr r2, [r7, #36] @ 0x24 - 800b690: 601a str r2, [r3, #0] - 800b692: e009 b.n 800b6a8 + 800c010: 69fb ldr r3, [r7, #28] + 800c012: 6a7a ldr r2, [r7, #36] @ 0x24 + 800c014: 601a str r2, [r3, #0] + 800c016: e009 b.n 800c02c } else { /* add segment to tail of unacked list */ useg->next = seg; - 800b694: 6a3b ldr r3, [r7, #32] - 800b696: 6a7a ldr r2, [r7, #36] @ 0x24 - 800b698: 601a str r2, [r3, #0] + 800c018: 6a3b ldr r3, [r7, #32] + 800c01a: 6a7a ldr r2, [r7, #36] @ 0x24 + 800c01c: 601a str r2, [r3, #0] useg = useg->next; - 800b69a: 6a3b ldr r3, [r7, #32] - 800b69c: 681b ldr r3, [r3, #0] - 800b69e: 623b str r3, [r7, #32] - 800b6a0: e002 b.n 800b6a8 + 800c01e: 6a3b ldr r3, [r7, #32] + 800c020: 681b ldr r3, [r3, #0] + 800c022: 623b str r3, [r7, #32] + 800c024: e002 b.n 800c02c } } /* do not queue empty segments on the unacked list */ } else { tcp_seg_free(seg); - 800b6a2: 6a78 ldr r0, [r7, #36] @ 0x24 - 800b6a4: f7fc fc45 bl 8007f32 + 800c026: 6a78 ldr r0, [r7, #36] @ 0x24 + 800c028: f7fc fc45 bl 80088b6 } seg = pcb->unsent; - 800b6a8: 687b ldr r3, [r7, #4] - 800b6aa: 6edb ldr r3, [r3, #108] @ 0x6c - 800b6ac: 627b str r3, [r7, #36] @ 0x24 + 800c02c: 687b ldr r3, [r7, #4] + 800c02e: 6edb ldr r3, [r3, #108] @ 0x6c + 800c030: 627b str r3, [r7, #36] @ 0x24 while (seg != NULL && - 800b6ae: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b6b0: 2b00 cmp r3, #0 - 800b6b2: d012 beq.n 800b6da + 800c032: 6a7b ldr r3, [r7, #36] @ 0x24 + 800c034: 2b00 cmp r3, #0 + 800c036: d012 beq.n 800c05e lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len <= wnd) { - 800b6b4: 6a7b ldr r3, [r7, #36] @ 0x24 - 800b6b6: 68db ldr r3, [r3, #12] - 800b6b8: 685b ldr r3, [r3, #4] - 800b6ba: 4618 mov r0, r3 - 800b6bc: f7f9 fe79 bl 80053b2 - 800b6c0: 4602 mov r2, r0 - 800b6c2: 687b ldr r3, [r7, #4] - 800b6c4: 6c5b ldr r3, [r3, #68] @ 0x44 - 800b6c6: 1ad3 subs r3, r2, r3 - 800b6c8: 6a7a ldr r2, [r7, #36] @ 0x24 - 800b6ca: 8912 ldrh r2, [r2, #8] - 800b6cc: 4413 add r3, r2 + 800c038: 6a7b ldr r3, [r7, #36] @ 0x24 + 800c03a: 68db ldr r3, [r3, #12] + 800c03c: 685b ldr r3, [r3, #4] + 800c03e: 4618 mov r0, r3 + 800c040: f7f9 fe79 bl 8005d36 + 800c044: 4602 mov r2, r0 + 800c046: 687b ldr r3, [r7, #4] + 800c048: 6c5b ldr r3, [r3, #68] @ 0x44 + 800c04a: 1ad3 subs r3, r2, r3 + 800c04c: 6a7a ldr r2, [r7, #36] @ 0x24 + 800c04e: 8912 ldrh r2, [r2, #8] + 800c050: 4413 add r3, r2 while (seg != NULL && - 800b6ce: 69ba ldr r2, [r7, #24] - 800b6d0: 429a cmp r2, r3 - 800b6d2: f4bf aed9 bcs.w 800b488 - 800b6d6: e000 b.n 800b6da + 800c052: 69ba ldr r2, [r7, #24] + 800c054: 429a cmp r2, r3 + 800c056: f4bf aed9 bcs.w 800be0c + 800c05a: e000 b.n 800c05e break; - 800b6d8: bf00 nop + 800c05c: bf00 nop } #if TCP_OVERSIZE if (pcb->unsent == NULL) { - 800b6da: 687b ldr r3, [r7, #4] - 800b6dc: 6edb ldr r3, [r3, #108] @ 0x6c - 800b6de: 2b00 cmp r3, #0 - 800b6e0: d108 bne.n 800b6f4 + 800c05e: 687b ldr r3, [r7, #4] + 800c060: 6edb ldr r3, [r3, #108] @ 0x6c + 800c062: 2b00 cmp r3, #0 + 800c064: d108 bne.n 800c078 /* last unsent has been removed, reset unsent_oversize */ pcb->unsent_oversize = 0; - 800b6e2: 687b ldr r3, [r7, #4] - 800b6e4: 2200 movs r2, #0 - 800b6e6: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 - 800b6ea: e004 b.n 800b6f6 + 800c066: 687b ldr r3, [r7, #4] + 800c068: 2200 movs r2, #0 + 800c06a: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 + 800c06e: e004 b.n 800c07a goto output_done; - 800b6ec: bf00 nop - 800b6ee: e002 b.n 800b6f6 + 800c070: bf00 nop + 800c072: e002 b.n 800c07a goto output_done; - 800b6f0: bf00 nop - 800b6f2: e000 b.n 800b6f6 + 800c074: bf00 nop + 800c076: e000 b.n 800c07a } #endif /* TCP_OVERSIZE */ output_done: - 800b6f4: bf00 nop + 800c078: bf00 nop tcp_clear_flags(pcb, TF_NAGLEMEMERR); - 800b6f6: 687b ldr r3, [r7, #4] - 800b6f8: 8b5b ldrh r3, [r3, #26] - 800b6fa: f023 0380 bic.w r3, r3, #128 @ 0x80 - 800b6fe: b29a uxth r2, r3 - 800b700: 687b ldr r3, [r7, #4] - 800b702: 835a strh r2, [r3, #26] + 800c07a: 687b ldr r3, [r7, #4] + 800c07c: 8b5b ldrh r3, [r3, #26] + 800c07e: f023 0380 bic.w r3, r3, #128 @ 0x80 + 800c082: b29a uxth r2, r3 + 800c084: 687b ldr r3, [r7, #4] + 800c086: 835a strh r2, [r3, #26] return ERR_OK; - 800b704: 2300 movs r3, #0 + 800c088: 2300 movs r3, #0 } - 800b706: 4618 mov r0, r3 - 800b708: 3728 adds r7, #40 @ 0x28 - 800b70a: 46bd mov sp, r7 - 800b70c: bdb0 pop {r4, r5, r7, pc} - 800b70e: bf00 nop + 800c08a: 4618 mov r0, r3 + 800c08c: 3728 adds r7, #40 @ 0x28 + 800c08e: 46bd mov sp, r7 + 800c090: bdb0 pop {r4, r5, r7, pc} + 800c092: bf00 nop -0800b710 : +0800c094 : * @arg seg the tcp segment to check * @return 1 if ref != 1, 0 if ref == 1 */ static int tcp_output_segment_busy(const struct tcp_seg *seg) { - 800b710: b580 push {r7, lr} - 800b712: b082 sub sp, #8 - 800b714: af00 add r7, sp, #0 - 800b716: 6078 str r0, [r7, #4] + 800c094: b580 push {r7, lr} + 800c096: b082 sub sp, #8 + 800c098: af00 add r7, sp, #0 + 800c09a: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_output_segment_busy: invalid seg", seg != NULL); - 800b718: 687b ldr r3, [r7, #4] - 800b71a: 2b00 cmp r3, #0 - 800b71c: d106 bne.n 800b72c - 800b71e: 4b09 ldr r3, [pc, #36] @ (800b744 ) - 800b720: f240 529a movw r2, #1434 @ 0x59a - 800b724: 4908 ldr r1, [pc, #32] @ (800b748 ) - 800b726: 4809 ldr r0, [pc, #36] @ (800b74c ) - 800b728: f005 ff66 bl 80115f8 + 800c09c: 687b ldr r3, [r7, #4] + 800c09e: 2b00 cmp r3, #0 + 800c0a0: d106 bne.n 800c0b0 + 800c0a2: 4b09 ldr r3, [pc, #36] @ (800c0c8 ) + 800c0a4: f240 529a movw r2, #1434 @ 0x59a + 800c0a8: 4908 ldr r1, [pc, #32] @ (800c0cc ) + 800c0aa: 4809 ldr r0, [pc, #36] @ (800c0d0 ) + 800c0ac: f005 ff66 bl 8011f7c /* We only need to check the first pbuf here: If a pbuf is queued for transmission, a driver calls pbuf_ref(), which only changes the ref count of the first pbuf */ if (seg->p->ref != 1) { - 800b72c: 687b ldr r3, [r7, #4] - 800b72e: 685b ldr r3, [r3, #4] - 800b730: 7b9b ldrb r3, [r3, #14] - 800b732: 2b01 cmp r3, #1 - 800b734: d001 beq.n 800b73a + 800c0b0: 687b ldr r3, [r7, #4] + 800c0b2: 685b ldr r3, [r3, #4] + 800c0b4: 7b9b ldrb r3, [r3, #14] + 800c0b6: 2b01 cmp r3, #1 + 800c0b8: d001 beq.n 800c0be /* other reference found */ return 1; - 800b736: 2301 movs r3, #1 - 800b738: e000 b.n 800b73c + 800c0ba: 2301 movs r3, #1 + 800c0bc: e000 b.n 800c0c0 } /* no other references found */ return 0; - 800b73a: 2300 movs r3, #0 + 800c0be: 2300 movs r3, #0 } - 800b73c: 4618 mov r0, r3 - 800b73e: 3708 adds r7, #8 - 800b740: 46bd mov sp, r7 - 800b742: bd80 pop {r7, pc} - 800b744: 0801769c .word 0x0801769c - 800b748: 08017c38 .word 0x08017c38 - 800b74c: 080176f0 .word 0x080176f0 + 800c0c0: 4618 mov r0, r3 + 800c0c2: 3708 adds r7, #8 + 800c0c4: 46bd mov sp, r7 + 800c0c6: bd80 pop {r7, pc} + 800c0c8: 0801801c .word 0x0801801c + 800c0cc: 080185b8 .word 0x080185b8 + 800c0d0: 08018070 .word 0x08018070 -0800b750 : +0800c0d4 : * @param pcb the tcp_pcb for the TCP connection used to send the segment * @param netif the netif used to send the segment */ static err_t tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb, struct netif *netif) { - 800b750: b5b0 push {r4, r5, r7, lr} - 800b752: b08c sub sp, #48 @ 0x30 - 800b754: af04 add r7, sp, #16 - 800b756: 60f8 str r0, [r7, #12] - 800b758: 60b9 str r1, [r7, #8] - 800b75a: 607a str r2, [r7, #4] + 800c0d4: b5b0 push {r4, r5, r7, lr} + 800c0d6: b08c sub sp, #48 @ 0x30 + 800c0d8: af04 add r7, sp, #16 + 800c0da: 60f8 str r0, [r7, #12] + 800c0dc: 60b9 str r1, [r7, #8] + 800c0de: 607a str r2, [r7, #4] u32_t *opts; #if TCP_CHECKSUM_ON_COPY int seg_chksum_was_swapped = 0; #endif LWIP_ASSERT("tcp_output_segment: invalid seg", seg != NULL); - 800b75c: 68fb ldr r3, [r7, #12] - 800b75e: 2b00 cmp r3, #0 - 800b760: d106 bne.n 800b770 - 800b762: 4b64 ldr r3, [pc, #400] @ (800b8f4 ) - 800b764: f44f 62b7 mov.w r2, #1464 @ 0x5b8 - 800b768: 4963 ldr r1, [pc, #396] @ (800b8f8 ) - 800b76a: 4864 ldr r0, [pc, #400] @ (800b8fc ) - 800b76c: f005 ff44 bl 80115f8 + 800c0e0: 68fb ldr r3, [r7, #12] + 800c0e2: 2b00 cmp r3, #0 + 800c0e4: d106 bne.n 800c0f4 + 800c0e6: 4b64 ldr r3, [pc, #400] @ (800c278 ) + 800c0e8: f44f 62b7 mov.w r2, #1464 @ 0x5b8 + 800c0ec: 4963 ldr r1, [pc, #396] @ (800c27c ) + 800c0ee: 4864 ldr r0, [pc, #400] @ (800c280 ) + 800c0f0: f005 ff44 bl 8011f7c LWIP_ASSERT("tcp_output_segment: invalid pcb", pcb != NULL); - 800b770: 68bb ldr r3, [r7, #8] - 800b772: 2b00 cmp r3, #0 - 800b774: d106 bne.n 800b784 - 800b776: 4b5f ldr r3, [pc, #380] @ (800b8f4 ) - 800b778: f240 52b9 movw r2, #1465 @ 0x5b9 - 800b77c: 4960 ldr r1, [pc, #384] @ (800b900 ) - 800b77e: 485f ldr r0, [pc, #380] @ (800b8fc ) - 800b780: f005 ff3a bl 80115f8 + 800c0f4: 68bb ldr r3, [r7, #8] + 800c0f6: 2b00 cmp r3, #0 + 800c0f8: d106 bne.n 800c108 + 800c0fa: 4b5f ldr r3, [pc, #380] @ (800c278 ) + 800c0fc: f240 52b9 movw r2, #1465 @ 0x5b9 + 800c100: 4960 ldr r1, [pc, #384] @ (800c284 ) + 800c102: 485f ldr r0, [pc, #380] @ (800c280 ) + 800c104: f005 ff3a bl 8011f7c LWIP_ASSERT("tcp_output_segment: invalid netif", netif != NULL); - 800b784: 687b ldr r3, [r7, #4] - 800b786: 2b00 cmp r3, #0 - 800b788: d106 bne.n 800b798 - 800b78a: 4b5a ldr r3, [pc, #360] @ (800b8f4 ) - 800b78c: f240 52ba movw r2, #1466 @ 0x5ba - 800b790: 495c ldr r1, [pc, #368] @ (800b904 ) - 800b792: 485a ldr r0, [pc, #360] @ (800b8fc ) - 800b794: f005 ff30 bl 80115f8 + 800c108: 687b ldr r3, [r7, #4] + 800c10a: 2b00 cmp r3, #0 + 800c10c: d106 bne.n 800c11c + 800c10e: 4b5a ldr r3, [pc, #360] @ (800c278 ) + 800c110: f240 52ba movw r2, #1466 @ 0x5ba + 800c114: 495c ldr r1, [pc, #368] @ (800c288 ) + 800c116: 485a ldr r0, [pc, #360] @ (800c280 ) + 800c118: f005 ff30 bl 8011f7c if (tcp_output_segment_busy(seg)) { - 800b798: 68f8 ldr r0, [r7, #12] - 800b79a: f7ff ffb9 bl 800b710 - 800b79e: 4603 mov r3, r0 - 800b7a0: 2b00 cmp r3, #0 - 800b7a2: d001 beq.n 800b7a8 + 800c11c: 68f8 ldr r0, [r7, #12] + 800c11e: f7ff ffb9 bl 800c094 + 800c122: 4603 mov r3, r0 + 800c124: 2b00 cmp r3, #0 + 800c126: d001 beq.n 800c12c /* This should not happen: rexmit functions should have checked this. However, since this function modifies p->len, we must not continue in this case. */ LWIP_DEBUGF(TCP_RTO_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("tcp_output_segment: segment busy\n")); return ERR_OK; - 800b7a4: 2300 movs r3, #0 - 800b7a6: e0a1 b.n 800b8ec + 800c128: 2300 movs r3, #0 + 800c12a: e0a1 b.n 800c270 } /* The TCP header has already been constructed, but the ackno and wnd fields remain. */ seg->tcphdr->ackno = lwip_htonl(pcb->rcv_nxt); - 800b7a8: 68bb ldr r3, [r7, #8] - 800b7aa: 6a5a ldr r2, [r3, #36] @ 0x24 - 800b7ac: 68fb ldr r3, [r7, #12] - 800b7ae: 68dc ldr r4, [r3, #12] - 800b7b0: 4610 mov r0, r2 - 800b7b2: f7f9 fdfe bl 80053b2 - 800b7b6: 4603 mov r3, r0 - 800b7b8: 60a3 str r3, [r4, #8] + 800c12c: 68bb ldr r3, [r7, #8] + 800c12e: 6a5a ldr r2, [r3, #36] @ 0x24 + 800c130: 68fb ldr r3, [r7, #12] + 800c132: 68dc ldr r4, [r3, #12] + 800c134: 4610 mov r0, r2 + 800c136: f7f9 fdfe bl 8005d36 + 800c13a: 4603 mov r3, r0 + 800c13c: 60a3 str r3, [r4, #8] the window scale option) is never scaled. */ seg->tcphdr->wnd = lwip_htons(TCPWND_MIN16(pcb->rcv_ann_wnd)); } else #endif /* LWIP_WND_SCALE */ { seg->tcphdr->wnd = lwip_htons(TCPWND_MIN16(RCV_WND_SCALE(pcb, pcb->rcv_ann_wnd))); - 800b7ba: 68bb ldr r3, [r7, #8] - 800b7bc: 8d5a ldrh r2, [r3, #42] @ 0x2a - 800b7be: 68fb ldr r3, [r7, #12] - 800b7c0: 68dc ldr r4, [r3, #12] - 800b7c2: 4610 mov r0, r2 - 800b7c4: f7f9 fde0 bl 8005388 - 800b7c8: 4603 mov r3, r0 - 800b7ca: 81e3 strh r3, [r4, #14] + 800c13e: 68bb ldr r3, [r7, #8] + 800c140: 8d5a ldrh r2, [r3, #42] @ 0x2a + 800c142: 68fb ldr r3, [r7, #12] + 800c144: 68dc ldr r4, [r3, #12] + 800c146: 4610 mov r0, r2 + 800c148: f7f9 fde0 bl 8005d0c + 800c14c: 4603 mov r3, r0 + 800c14e: 81e3 strh r3, [r4, #14] } pcb->rcv_ann_right_edge = pcb->rcv_nxt + pcb->rcv_ann_wnd; - 800b7cc: 68bb ldr r3, [r7, #8] - 800b7ce: 6a5b ldr r3, [r3, #36] @ 0x24 - 800b7d0: 68ba ldr r2, [r7, #8] - 800b7d2: 8d52 ldrh r2, [r2, #42] @ 0x2a - 800b7d4: 441a add r2, r3 - 800b7d6: 68bb ldr r3, [r7, #8] - 800b7d8: 62da str r2, [r3, #44] @ 0x2c + 800c150: 68bb ldr r3, [r7, #8] + 800c152: 6a5b ldr r3, [r3, #36] @ 0x24 + 800c154: 68ba ldr r2, [r7, #8] + 800c156: 8d52 ldrh r2, [r2, #42] @ 0x2a + 800c158: 441a add r2, r3 + 800c15a: 68bb ldr r3, [r7, #8] + 800c15c: 62da str r2, [r3, #44] @ 0x2c /* Add any requested options. NB MSS option is only set on SYN packets, so ignore it here */ /* cast through void* to get rid of alignment warnings */ opts = (u32_t *)(void *)(seg->tcphdr + 1); - 800b7da: 68fb ldr r3, [r7, #12] - 800b7dc: 68db ldr r3, [r3, #12] - 800b7de: 3314 adds r3, #20 - 800b7e0: 61fb str r3, [r7, #28] + 800c15e: 68fb ldr r3, [r7, #12] + 800c160: 68db ldr r3, [r3, #12] + 800c162: 3314 adds r3, #20 + 800c164: 61fb str r3, [r7, #28] if (seg->flags & TF_SEG_OPTS_MSS) { - 800b7e2: 68fb ldr r3, [r7, #12] - 800b7e4: 7a9b ldrb r3, [r3, #10] - 800b7e6: f003 0301 and.w r3, r3, #1 - 800b7ea: 2b00 cmp r3, #0 - 800b7ec: d015 beq.n 800b81a + 800c166: 68fb ldr r3, [r7, #12] + 800c168: 7a9b ldrb r3, [r3, #10] + 800c16a: f003 0301 and.w r3, r3, #1 + 800c16e: 2b00 cmp r3, #0 + 800c170: d015 beq.n 800c19e u16_t mss; #if TCP_CALCULATE_EFF_SEND_MSS mss = tcp_eff_send_mss_netif(TCP_MSS, netif, &pcb->remote_ip); - 800b7ee: 68bb ldr r3, [r7, #8] - 800b7f0: 3304 adds r3, #4 - 800b7f2: 461a mov r2, r3 - 800b7f4: 6879 ldr r1, [r7, #4] - 800b7f6: f44f 7006 mov.w r0, #536 @ 0x218 - 800b7fa: f7fc fe91 bl 8008520 - 800b7fe: 4603 mov r3, r0 - 800b800: 837b strh r3, [r7, #26] + 800c172: 68bb ldr r3, [r7, #8] + 800c174: 3304 adds r3, #4 + 800c176: 461a mov r2, r3 + 800c178: 6879 ldr r1, [r7, #4] + 800c17a: f44f 7006 mov.w r0, #536 @ 0x218 + 800c17e: f7fc fe91 bl 8008ea4 + 800c182: 4603 mov r3, r0 + 800c184: 837b strh r3, [r7, #26] #else /* TCP_CALCULATE_EFF_SEND_MSS */ mss = TCP_MSS; #endif /* TCP_CALCULATE_EFF_SEND_MSS */ *opts = TCP_BUILD_MSS_OPTION(mss); - 800b802: 8b7b ldrh r3, [r7, #26] - 800b804: f043 7301 orr.w r3, r3, #33816576 @ 0x2040000 - 800b808: 4618 mov r0, r3 - 800b80a: f7f9 fdd2 bl 80053b2 - 800b80e: 4602 mov r2, r0 - 800b810: 69fb ldr r3, [r7, #28] - 800b812: 601a str r2, [r3, #0] + 800c186: 8b7b ldrh r3, [r7, #26] + 800c188: f043 7301 orr.w r3, r3, #33816576 @ 0x2040000 + 800c18c: 4618 mov r0, r3 + 800c18e: f7f9 fdd2 bl 8005d36 + 800c192: 4602 mov r2, r0 + 800c194: 69fb ldr r3, [r7, #28] + 800c196: 601a str r2, [r3, #0] opts += 1; - 800b814: 69fb ldr r3, [r7, #28] - 800b816: 3304 adds r3, #4 - 800b818: 61fb str r3, [r7, #28] + 800c198: 69fb ldr r3, [r7, #28] + 800c19a: 3304 adds r3, #4 + 800c19c: 61fb str r3, [r7, #28] } #endif /* Set retransmission timer running if it is not currently enabled This must be set before checking the route. */ if (pcb->rtime < 0) { - 800b81a: 68bb ldr r3, [r7, #8] - 800b81c: f9b3 3030 ldrsh.w r3, [r3, #48] @ 0x30 - 800b820: 2b00 cmp r3, #0 - 800b822: da02 bge.n 800b82a + 800c19e: 68bb ldr r3, [r7, #8] + 800c1a0: f9b3 3030 ldrsh.w r3, [r3, #48] @ 0x30 + 800c1a4: 2b00 cmp r3, #0 + 800c1a6: da02 bge.n 800c1ae pcb->rtime = 0; - 800b824: 68bb ldr r3, [r7, #8] - 800b826: 2200 movs r2, #0 - 800b828: 861a strh r2, [r3, #48] @ 0x30 + 800c1a8: 68bb ldr r3, [r7, #8] + 800c1aa: 2200 movs r2, #0 + 800c1ac: 861a strh r2, [r3, #48] @ 0x30 } if (pcb->rttest == 0) { - 800b82a: 68bb ldr r3, [r7, #8] - 800b82c: 6b5b ldr r3, [r3, #52] @ 0x34 - 800b82e: 2b00 cmp r3, #0 - 800b830: d10c bne.n 800b84c + 800c1ae: 68bb ldr r3, [r7, #8] + 800c1b0: 6b5b ldr r3, [r3, #52] @ 0x34 + 800c1b2: 2b00 cmp r3, #0 + 800c1b4: d10c bne.n 800c1d0 pcb->rttest = tcp_ticks; - 800b832: 4b35 ldr r3, [pc, #212] @ (800b908 ) - 800b834: 681a ldr r2, [r3, #0] - 800b836: 68bb ldr r3, [r7, #8] - 800b838: 635a str r2, [r3, #52] @ 0x34 + 800c1b6: 4b35 ldr r3, [pc, #212] @ (800c28c ) + 800c1b8: 681a ldr r2, [r3, #0] + 800c1ba: 68bb ldr r3, [r7, #8] + 800c1bc: 635a str r2, [r3, #52] @ 0x34 pcb->rtseq = lwip_ntohl(seg->tcphdr->seqno); - 800b83a: 68fb ldr r3, [r7, #12] - 800b83c: 68db ldr r3, [r3, #12] - 800b83e: 685b ldr r3, [r3, #4] - 800b840: 4618 mov r0, r3 - 800b842: f7f9 fdb6 bl 80053b2 - 800b846: 4602 mov r2, r0 - 800b848: 68bb ldr r3, [r7, #8] - 800b84a: 639a str r2, [r3, #56] @ 0x38 + 800c1be: 68fb ldr r3, [r7, #12] + 800c1c0: 68db ldr r3, [r3, #12] + 800c1c2: 685b ldr r3, [r3, #4] + 800c1c4: 4618 mov r0, r3 + 800c1c6: f7f9 fdb6 bl 8005d36 + 800c1ca: 4602 mov r2, r0 + 800c1cc: 68bb ldr r3, [r7, #8] + 800c1ce: 639a str r2, [r3, #56] @ 0x38 } LWIP_DEBUGF(TCP_OUTPUT_DEBUG, ("tcp_output_segment: %"U32_F":%"U32_F"\n", lwip_htonl(seg->tcphdr->seqno), lwip_htonl(seg->tcphdr->seqno) + seg->len)); len = (u16_t)((u8_t *)seg->tcphdr - (u8_t *)seg->p->payload); - 800b84c: 68fb ldr r3, [r7, #12] - 800b84e: 68da ldr r2, [r3, #12] - 800b850: 68fb ldr r3, [r7, #12] - 800b852: 685b ldr r3, [r3, #4] - 800b854: 685b ldr r3, [r3, #4] - 800b856: 1ad3 subs r3, r2, r3 - 800b858: 833b strh r3, [r7, #24] + 800c1d0: 68fb ldr r3, [r7, #12] + 800c1d2: 68da ldr r2, [r3, #12] + 800c1d4: 68fb ldr r3, [r7, #12] + 800c1d6: 685b ldr r3, [r3, #4] + 800c1d8: 685b ldr r3, [r3, #4] + 800c1da: 1ad3 subs r3, r2, r3 + 800c1dc: 833b strh r3, [r7, #24] if (len == 0) { /** Exclude retransmitted segments from this count. */ MIB2_STATS_INC(mib2.tcpoutsegs); } seg->p->len -= len; - 800b85a: 68fb ldr r3, [r7, #12] - 800b85c: 685b ldr r3, [r3, #4] - 800b85e: 8959 ldrh r1, [r3, #10] - 800b860: 68fb ldr r3, [r7, #12] - 800b862: 685b ldr r3, [r3, #4] - 800b864: 8b3a ldrh r2, [r7, #24] - 800b866: 1a8a subs r2, r1, r2 - 800b868: b292 uxth r2, r2 - 800b86a: 815a strh r2, [r3, #10] + 800c1de: 68fb ldr r3, [r7, #12] + 800c1e0: 685b ldr r3, [r3, #4] + 800c1e2: 8959 ldrh r1, [r3, #10] + 800c1e4: 68fb ldr r3, [r7, #12] + 800c1e6: 685b ldr r3, [r3, #4] + 800c1e8: 8b3a ldrh r2, [r7, #24] + 800c1ea: 1a8a subs r2, r1, r2 + 800c1ec: b292 uxth r2, r2 + 800c1ee: 815a strh r2, [r3, #10] seg->p->tot_len -= len; - 800b86c: 68fb ldr r3, [r7, #12] - 800b86e: 685b ldr r3, [r3, #4] - 800b870: 8919 ldrh r1, [r3, #8] - 800b872: 68fb ldr r3, [r7, #12] - 800b874: 685b ldr r3, [r3, #4] - 800b876: 8b3a ldrh r2, [r7, #24] - 800b878: 1a8a subs r2, r1, r2 - 800b87a: b292 uxth r2, r2 - 800b87c: 811a strh r2, [r3, #8] + 800c1f0: 68fb ldr r3, [r7, #12] + 800c1f2: 685b ldr r3, [r3, #4] + 800c1f4: 8919 ldrh r1, [r3, #8] + 800c1f6: 68fb ldr r3, [r7, #12] + 800c1f8: 685b ldr r3, [r3, #4] + 800c1fa: 8b3a ldrh r2, [r7, #24] + 800c1fc: 1a8a subs r2, r1, r2 + 800c1fe: b292 uxth r2, r2 + 800c200: 811a strh r2, [r3, #8] seg->p->payload = seg->tcphdr; - 800b87e: 68fb ldr r3, [r7, #12] - 800b880: 685b ldr r3, [r3, #4] - 800b882: 68fa ldr r2, [r7, #12] - 800b884: 68d2 ldr r2, [r2, #12] - 800b886: 605a str r2, [r3, #4] + 800c202: 68fb ldr r3, [r7, #12] + 800c204: 685b ldr r3, [r3, #4] + 800c206: 68fa ldr r2, [r7, #12] + 800c208: 68d2 ldr r2, [r2, #12] + 800c20a: 605a str r2, [r3, #4] seg->tcphdr->chksum = 0; - 800b888: 68fb ldr r3, [r7, #12] - 800b88a: 68db ldr r3, [r3, #12] - 800b88c: 2200 movs r2, #0 - 800b88e: 741a strb r2, [r3, #16] - 800b890: 2200 movs r2, #0 - 800b892: 745a strb r2, [r3, #17] + 800c20c: 68fb ldr r3, [r7, #12] + 800c20e: 68db ldr r3, [r3, #12] + 800c210: 2200 movs r2, #0 + 800c212: 741a strb r2, [r3, #16] + 800c214: 2200 movs r2, #0 + 800c216: 745a strb r2, [r3, #17] #ifdef LWIP_HOOK_TCP_OUT_ADD_TCPOPTS opts = LWIP_HOOK_TCP_OUT_ADD_TCPOPTS(seg->p, seg->tcphdr, pcb, opts); #endif LWIP_ASSERT("options not filled", (u8_t *)opts == ((u8_t *)(seg->tcphdr + 1)) + LWIP_TCP_OPT_LENGTH_SEGMENT(seg->flags, pcb)); - 800b894: 68fb ldr r3, [r7, #12] - 800b896: 68da ldr r2, [r3, #12] - 800b898: 68fb ldr r3, [r7, #12] - 800b89a: 7a9b ldrb r3, [r3, #10] - 800b89c: f003 0301 and.w r3, r3, #1 - 800b8a0: 2b00 cmp r3, #0 - 800b8a2: d001 beq.n 800b8a8 - 800b8a4: 2318 movs r3, #24 - 800b8a6: e000 b.n 800b8aa - 800b8a8: 2314 movs r3, #20 - 800b8aa: 4413 add r3, r2 - 800b8ac: 69fa ldr r2, [r7, #28] - 800b8ae: 429a cmp r2, r3 - 800b8b0: d006 beq.n 800b8c0 - 800b8b2: 4b10 ldr r3, [pc, #64] @ (800b8f4 ) - 800b8b4: f240 621c movw r2, #1564 @ 0x61c - 800b8b8: 4914 ldr r1, [pc, #80] @ (800b90c ) - 800b8ba: 4810 ldr r0, [pc, #64] @ (800b8fc ) - 800b8bc: f005 fe9c bl 80115f8 + 800c218: 68fb ldr r3, [r7, #12] + 800c21a: 68da ldr r2, [r3, #12] + 800c21c: 68fb ldr r3, [r7, #12] + 800c21e: 7a9b ldrb r3, [r3, #10] + 800c220: f003 0301 and.w r3, r3, #1 + 800c224: 2b00 cmp r3, #0 + 800c226: d001 beq.n 800c22c + 800c228: 2318 movs r3, #24 + 800c22a: e000 b.n 800c22e + 800c22c: 2314 movs r3, #20 + 800c22e: 4413 add r3, r2 + 800c230: 69fa ldr r2, [r7, #28] + 800c232: 429a cmp r2, r3 + 800c234: d006 beq.n 800c244 + 800c236: 4b10 ldr r3, [pc, #64] @ (800c278 ) + 800c238: f240 621c movw r2, #1564 @ 0x61c + 800c23c: 4914 ldr r1, [pc, #80] @ (800c290 ) + 800c23e: 4810 ldr r0, [pc, #64] @ (800c280 ) + 800c240: f005 fe9c bl 8011f7c } #endif /* CHECKSUM_GEN_TCP */ TCP_STATS_INC(tcp.xmit); NETIF_SET_HINTS(netif, &(pcb->netif_hints)); err = ip_output_if(seg->p, &pcb->local_ip, &pcb->remote_ip, pcb->ttl, - 800b8c0: 68fb ldr r3, [r7, #12] - 800b8c2: 6858 ldr r0, [r3, #4] - 800b8c4: 68b9 ldr r1, [r7, #8] - 800b8c6: 68bb ldr r3, [r7, #8] - 800b8c8: 1d1c adds r4, r3, #4 - 800b8ca: 68bb ldr r3, [r7, #8] - 800b8cc: 7add ldrb r5, [r3, #11] - 800b8ce: 68bb ldr r3, [r7, #8] - 800b8d0: 7a9b ldrb r3, [r3, #10] - 800b8d2: 687a ldr r2, [r7, #4] - 800b8d4: 9202 str r2, [sp, #8] - 800b8d6: 2206 movs r2, #6 - 800b8d8: 9201 str r2, [sp, #4] - 800b8da: 9300 str r3, [sp, #0] - 800b8dc: 462b mov r3, r5 - 800b8de: 4622 mov r2, r4 - 800b8e0: f004 fc40 bl 8010164 - 800b8e4: 4603 mov r3, r0 - 800b8e6: 75fb strb r3, [r7, #23] + 800c244: 68fb ldr r3, [r7, #12] + 800c246: 6858 ldr r0, [r3, #4] + 800c248: 68b9 ldr r1, [r7, #8] + 800c24a: 68bb ldr r3, [r7, #8] + 800c24c: 1d1c adds r4, r3, #4 + 800c24e: 68bb ldr r3, [r7, #8] + 800c250: 7add ldrb r5, [r3, #11] + 800c252: 68bb ldr r3, [r7, #8] + 800c254: 7a9b ldrb r3, [r3, #10] + 800c256: 687a ldr r2, [r7, #4] + 800c258: 9202 str r2, [sp, #8] + 800c25a: 2206 movs r2, #6 + 800c25c: 9201 str r2, [sp, #4] + 800c25e: 9300 str r3, [sp, #0] + 800c260: 462b mov r3, r5 + 800c262: 4622 mov r2, r4 + 800c264: f004 fc40 bl 8010ae8 + 800c268: 4603 mov r3, r0 + 800c26a: 75fb strb r3, [r7, #23] seg->chksum = SWAP_BYTES_IN_WORD(seg->chksum); seg->chksum_swapped = 1; } #endif return err; - 800b8e8: f997 3017 ldrsb.w r3, [r7, #23] + 800c26c: f997 3017 ldrsb.w r3, [r7, #23] } - 800b8ec: 4618 mov r0, r3 - 800b8ee: 3720 adds r7, #32 - 800b8f0: 46bd mov sp, r7 - 800b8f2: bdb0 pop {r4, r5, r7, pc} - 800b8f4: 0801769c .word 0x0801769c - 800b8f8: 08017c60 .word 0x08017c60 - 800b8fc: 080176f0 .word 0x080176f0 - 800b900: 08017c80 .word 0x08017c80 - 800b904: 08017ca0 .word 0x08017ca0 - 800b908: 200190a4 .word 0x200190a4 - 800b90c: 08017cc4 .word 0x08017cc4 + 800c270: 4618 mov r0, r3 + 800c272: 3720 adds r7, #32 + 800c274: 46bd mov sp, r7 + 800c276: bdb0 pop {r4, r5, r7, pc} + 800c278: 0801801c .word 0x0801801c + 800c27c: 080185e0 .word 0x080185e0 + 800c280: 08018070 .word 0x08018070 + 800c284: 08018600 .word 0x08018600 + 800c288: 08018620 .word 0x08018620 + 800c28c: 200190d8 .word 0x200190d8 + 800c290: 08018644 .word 0x08018644 -0800b910 : +0800c294 : * * @param pcb the tcp_pcb for which to re-enqueue all unacked segments */ err_t tcp_rexmit_rto_prepare(struct tcp_pcb *pcb) { - 800b910: b5b0 push {r4, r5, r7, lr} - 800b912: b084 sub sp, #16 - 800b914: af00 add r7, sp, #0 - 800b916: 6078 str r0, [r7, #4] + 800c294: b5b0 push {r4, r5, r7, lr} + 800c296: b084 sub sp, #16 + 800c298: af00 add r7, sp, #0 + 800c29a: 6078 str r0, [r7, #4] struct tcp_seg *seg; LWIP_ASSERT("tcp_rexmit_rto_prepare: invalid pcb", pcb != NULL); - 800b918: 687b ldr r3, [r7, #4] - 800b91a: 2b00 cmp r3, #0 - 800b91c: d106 bne.n 800b92c - 800b91e: 4b31 ldr r3, [pc, #196] @ (800b9e4 ) - 800b920: f240 6263 movw r2, #1635 @ 0x663 - 800b924: 4930 ldr r1, [pc, #192] @ (800b9e8 ) - 800b926: 4831 ldr r0, [pc, #196] @ (800b9ec ) - 800b928: f005 fe66 bl 80115f8 + 800c29c: 687b ldr r3, [r7, #4] + 800c29e: 2b00 cmp r3, #0 + 800c2a0: d106 bne.n 800c2b0 + 800c2a2: 4b31 ldr r3, [pc, #196] @ (800c368 ) + 800c2a4: f240 6263 movw r2, #1635 @ 0x663 + 800c2a8: 4930 ldr r1, [pc, #192] @ (800c36c ) + 800c2aa: 4831 ldr r0, [pc, #196] @ (800c370 ) + 800c2ac: f005 fe66 bl 8011f7c if (pcb->unacked == NULL) { - 800b92c: 687b ldr r3, [r7, #4] - 800b92e: 6f1b ldr r3, [r3, #112] @ 0x70 - 800b930: 2b00 cmp r3, #0 - 800b932: d102 bne.n 800b93a + 800c2b0: 687b ldr r3, [r7, #4] + 800c2b2: 6f1b ldr r3, [r3, #112] @ 0x70 + 800c2b4: 2b00 cmp r3, #0 + 800c2b6: d102 bne.n 800c2be return ERR_VAL; - 800b934: f06f 0305 mvn.w r3, #5 - 800b938: e050 b.n 800b9dc + 800c2b8: f06f 0305 mvn.w r3, #5 + 800c2bc: e050 b.n 800c360 /* Move all unacked segments to the head of the unsent queue. However, give up if any of the unsent pbufs are still referenced by the netif driver due to deferred transmission. No point loading the link further if it is struggling to flush its buffered writes. */ for (seg = pcb->unacked; seg->next != NULL; seg = seg->next) { - 800b93a: 687b ldr r3, [r7, #4] - 800b93c: 6f1b ldr r3, [r3, #112] @ 0x70 - 800b93e: 60fb str r3, [r7, #12] - 800b940: e00b b.n 800b95a + 800c2be: 687b ldr r3, [r7, #4] + 800c2c0: 6f1b ldr r3, [r3, #112] @ 0x70 + 800c2c2: 60fb str r3, [r7, #12] + 800c2c4: e00b b.n 800c2de if (tcp_output_segment_busy(seg)) { - 800b942: 68f8 ldr r0, [r7, #12] - 800b944: f7ff fee4 bl 800b710 - 800b948: 4603 mov r3, r0 - 800b94a: 2b00 cmp r3, #0 - 800b94c: d002 beq.n 800b954 + 800c2c6: 68f8 ldr r0, [r7, #12] + 800c2c8: f7ff fee4 bl 800c094 + 800c2cc: 4603 mov r3, r0 + 800c2ce: 2b00 cmp r3, #0 + 800c2d0: d002 beq.n 800c2d8 LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_rexmit_rto: segment busy\n")); return ERR_VAL; - 800b94e: f06f 0305 mvn.w r3, #5 - 800b952: e043 b.n 800b9dc + 800c2d2: f06f 0305 mvn.w r3, #5 + 800c2d6: e043 b.n 800c360 for (seg = pcb->unacked; seg->next != NULL; seg = seg->next) { - 800b954: 68fb ldr r3, [r7, #12] - 800b956: 681b ldr r3, [r3, #0] - 800b958: 60fb str r3, [r7, #12] - 800b95a: 68fb ldr r3, [r7, #12] - 800b95c: 681b ldr r3, [r3, #0] - 800b95e: 2b00 cmp r3, #0 - 800b960: d1ef bne.n 800b942 + 800c2d8: 68fb ldr r3, [r7, #12] + 800c2da: 681b ldr r3, [r3, #0] + 800c2dc: 60fb str r3, [r7, #12] + 800c2de: 68fb ldr r3, [r7, #12] + 800c2e0: 681b ldr r3, [r3, #0] + 800c2e2: 2b00 cmp r3, #0 + 800c2e4: d1ef bne.n 800c2c6 } } if (tcp_output_segment_busy(seg)) { - 800b962: 68f8 ldr r0, [r7, #12] - 800b964: f7ff fed4 bl 800b710 - 800b968: 4603 mov r3, r0 - 800b96a: 2b00 cmp r3, #0 - 800b96c: d002 beq.n 800b974 + 800c2e6: 68f8 ldr r0, [r7, #12] + 800c2e8: f7ff fed4 bl 800c094 + 800c2ec: 4603 mov r3, r0 + 800c2ee: 2b00 cmp r3, #0 + 800c2f0: d002 beq.n 800c2f8 LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_rexmit_rto: segment busy\n")); return ERR_VAL; - 800b96e: f06f 0305 mvn.w r3, #5 - 800b972: e033 b.n 800b9dc + 800c2f2: f06f 0305 mvn.w r3, #5 + 800c2f6: e033 b.n 800c360 } /* concatenate unsent queue after unacked queue */ seg->next = pcb->unsent; - 800b974: 687b ldr r3, [r7, #4] - 800b976: 6eda ldr r2, [r3, #108] @ 0x6c - 800b978: 68fb ldr r3, [r7, #12] - 800b97a: 601a str r2, [r3, #0] + 800c2f8: 687b ldr r3, [r7, #4] + 800c2fa: 6eda ldr r2, [r3, #108] @ 0x6c + 800c2fc: 68fb ldr r3, [r7, #12] + 800c2fe: 601a str r2, [r3, #0] if (pcb->unsent == NULL) { pcb->unsent_oversize = seg->oversize_left; } #endif /* TCP_OVERSIZE_DBGCHECK */ /* unsent queue is the concatenated queue (of unacked, unsent) */ pcb->unsent = pcb->unacked; - 800b97c: 687b ldr r3, [r7, #4] - 800b97e: 6f1a ldr r2, [r3, #112] @ 0x70 - 800b980: 687b ldr r3, [r7, #4] - 800b982: 66da str r2, [r3, #108] @ 0x6c + 800c300: 687b ldr r3, [r7, #4] + 800c302: 6f1a ldr r2, [r3, #112] @ 0x70 + 800c304: 687b ldr r3, [r7, #4] + 800c306: 66da str r2, [r3, #108] @ 0x6c /* unacked queue is now empty */ pcb->unacked = NULL; - 800b984: 687b ldr r3, [r7, #4] - 800b986: 2200 movs r2, #0 - 800b988: 671a str r2, [r3, #112] @ 0x70 + 800c308: 687b ldr r3, [r7, #4] + 800c30a: 2200 movs r2, #0 + 800c30c: 671a str r2, [r3, #112] @ 0x70 /* Mark RTO in-progress */ tcp_set_flags(pcb, TF_RTO); - 800b98a: 687b ldr r3, [r7, #4] - 800b98c: 8b5b ldrh r3, [r3, #26] - 800b98e: f443 6300 orr.w r3, r3, #2048 @ 0x800 - 800b992: b29a uxth r2, r3 - 800b994: 687b ldr r3, [r7, #4] - 800b996: 835a strh r2, [r3, #26] + 800c30e: 687b ldr r3, [r7, #4] + 800c310: 8b5b ldrh r3, [r3, #26] + 800c312: f443 6300 orr.w r3, r3, #2048 @ 0x800 + 800c316: b29a uxth r2, r3 + 800c318: 687b ldr r3, [r7, #4] + 800c31a: 835a strh r2, [r3, #26] /* Record the next byte following retransmit */ pcb->rto_end = lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg); - 800b998: 68fb ldr r3, [r7, #12] - 800b99a: 68db ldr r3, [r3, #12] - 800b99c: 685b ldr r3, [r3, #4] - 800b99e: 4618 mov r0, r3 - 800b9a0: f7f9 fd07 bl 80053b2 - 800b9a4: 4604 mov r4, r0 - 800b9a6: 68fb ldr r3, [r7, #12] - 800b9a8: 891b ldrh r3, [r3, #8] - 800b9aa: 461d mov r5, r3 - 800b9ac: 68fb ldr r3, [r7, #12] - 800b9ae: 68db ldr r3, [r3, #12] - 800b9b0: 899b ldrh r3, [r3, #12] - 800b9b2: b29b uxth r3, r3 - 800b9b4: 4618 mov r0, r3 - 800b9b6: f7f9 fce7 bl 8005388 - 800b9ba: 4603 mov r3, r0 - 800b9bc: b2db uxtb r3, r3 - 800b9be: f003 0303 and.w r3, r3, #3 - 800b9c2: 2b00 cmp r3, #0 - 800b9c4: d001 beq.n 800b9ca - 800b9c6: 2301 movs r3, #1 - 800b9c8: e000 b.n 800b9cc - 800b9ca: 2300 movs r3, #0 - 800b9cc: 442b add r3, r5 - 800b9ce: 18e2 adds r2, r4, r3 - 800b9d0: 687b ldr r3, [r7, #4] - 800b9d2: 64da str r2, [r3, #76] @ 0x4c + 800c31c: 68fb ldr r3, [r7, #12] + 800c31e: 68db ldr r3, [r3, #12] + 800c320: 685b ldr r3, [r3, #4] + 800c322: 4618 mov r0, r3 + 800c324: f7f9 fd07 bl 8005d36 + 800c328: 4604 mov r4, r0 + 800c32a: 68fb ldr r3, [r7, #12] + 800c32c: 891b ldrh r3, [r3, #8] + 800c32e: 461d mov r5, r3 + 800c330: 68fb ldr r3, [r7, #12] + 800c332: 68db ldr r3, [r3, #12] + 800c334: 899b ldrh r3, [r3, #12] + 800c336: b29b uxth r3, r3 + 800c338: 4618 mov r0, r3 + 800c33a: f7f9 fce7 bl 8005d0c + 800c33e: 4603 mov r3, r0 + 800c340: b2db uxtb r3, r3 + 800c342: f003 0303 and.w r3, r3, #3 + 800c346: 2b00 cmp r3, #0 + 800c348: d001 beq.n 800c34e + 800c34a: 2301 movs r3, #1 + 800c34c: e000 b.n 800c350 + 800c34e: 2300 movs r3, #0 + 800c350: 442b add r3, r5 + 800c352: 18e2 adds r2, r4, r3 + 800c354: 687b ldr r3, [r7, #4] + 800c356: 64da str r2, [r3, #76] @ 0x4c /* Don't take any RTT measurements after retransmitting. */ pcb->rttest = 0; - 800b9d4: 687b ldr r3, [r7, #4] - 800b9d6: 2200 movs r2, #0 - 800b9d8: 635a str r2, [r3, #52] @ 0x34 + 800c358: 687b ldr r3, [r7, #4] + 800c35a: 2200 movs r2, #0 + 800c35c: 635a str r2, [r3, #52] @ 0x34 return ERR_OK; - 800b9da: 2300 movs r3, #0 + 800c35e: 2300 movs r3, #0 } - 800b9dc: 4618 mov r0, r3 - 800b9de: 3710 adds r7, #16 - 800b9e0: 46bd mov sp, r7 - 800b9e2: bdb0 pop {r4, r5, r7, pc} - 800b9e4: 0801769c .word 0x0801769c - 800b9e8: 08017cd8 .word 0x08017cd8 - 800b9ec: 080176f0 .word 0x080176f0 + 800c360: 4618 mov r0, r3 + 800c362: 3710 adds r7, #16 + 800c364: 46bd mov sp, r7 + 800c366: bdb0 pop {r4, r5, r7, pc} + 800c368: 0801801c .word 0x0801801c + 800c36c: 08018658 .word 0x08018658 + 800c370: 08018070 .word 0x08018070 -0800b9f0 : +0800c374 : * * @param pcb the tcp_pcb for which to re-enqueue all unacked segments */ void tcp_rexmit_rto_commit(struct tcp_pcb *pcb) { - 800b9f0: b580 push {r7, lr} - 800b9f2: b082 sub sp, #8 - 800b9f4: af00 add r7, sp, #0 - 800b9f6: 6078 str r0, [r7, #4] + 800c374: b580 push {r7, lr} + 800c376: b082 sub sp, #8 + 800c378: af00 add r7, sp, #0 + 800c37a: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_rexmit_rto_commit: invalid pcb", pcb != NULL); - 800b9f8: 687b ldr r3, [r7, #4] - 800b9fa: 2b00 cmp r3, #0 - 800b9fc: d106 bne.n 800ba0c - 800b9fe: 4b0d ldr r3, [pc, #52] @ (800ba34 ) - 800ba00: f44f 62d3 mov.w r2, #1688 @ 0x698 - 800ba04: 490c ldr r1, [pc, #48] @ (800ba38 ) - 800ba06: 480d ldr r0, [pc, #52] @ (800ba3c ) - 800ba08: f005 fdf6 bl 80115f8 + 800c37c: 687b ldr r3, [r7, #4] + 800c37e: 2b00 cmp r3, #0 + 800c380: d106 bne.n 800c390 + 800c382: 4b0d ldr r3, [pc, #52] @ (800c3b8 ) + 800c384: f44f 62d3 mov.w r2, #1688 @ 0x698 + 800c388: 490c ldr r1, [pc, #48] @ (800c3bc ) + 800c38a: 480d ldr r0, [pc, #52] @ (800c3c0 ) + 800c38c: f005 fdf6 bl 8011f7c /* increment number of retransmissions */ if (pcb->nrtx < 0xFF) { - 800ba0c: 687b ldr r3, [r7, #4] - 800ba0e: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 - 800ba12: 2bff cmp r3, #255 @ 0xff - 800ba14: d007 beq.n 800ba26 + 800c390: 687b ldr r3, [r7, #4] + 800c392: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 800c396: 2bff cmp r3, #255 @ 0xff + 800c398: d007 beq.n 800c3aa ++pcb->nrtx; - 800ba16: 687b ldr r3, [r7, #4] - 800ba18: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 - 800ba1c: 3301 adds r3, #1 - 800ba1e: b2da uxtb r2, r3 - 800ba20: 687b ldr r3, [r7, #4] - 800ba22: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 800c39a: 687b ldr r3, [r7, #4] + 800c39c: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 800c3a0: 3301 adds r3, #1 + 800c3a2: b2da uxtb r2, r3 + 800c3a4: 687b ldr r3, [r7, #4] + 800c3a6: f883 2042 strb.w r2, [r3, #66] @ 0x42 } /* Do the actual retransmission */ tcp_output(pcb); - 800ba26: 6878 ldr r0, [r7, #4] - 800ba28: f7ff fc7e bl 800b328 + 800c3aa: 6878 ldr r0, [r7, #4] + 800c3ac: f7ff fc7e bl 800bcac } - 800ba2c: bf00 nop - 800ba2e: 3708 adds r7, #8 - 800ba30: 46bd mov sp, r7 - 800ba32: bd80 pop {r7, pc} - 800ba34: 0801769c .word 0x0801769c - 800ba38: 08017cfc .word 0x08017cfc - 800ba3c: 080176f0 .word 0x080176f0 + 800c3b0: bf00 nop + 800c3b2: 3708 adds r7, #8 + 800c3b4: 46bd mov sp, r7 + 800c3b6: bd80 pop {r7, pc} + 800c3b8: 0801801c .word 0x0801801c + 800c3bc: 0801867c .word 0x0801867c + 800c3c0: 08018070 .word 0x08018070 -0800ba40 : +0800c3c4 : * * @param pcb the tcp_pcb for which to re-enqueue all unacked segments */ void tcp_rexmit_rto(struct tcp_pcb *pcb) { - 800ba40: b580 push {r7, lr} - 800ba42: b082 sub sp, #8 - 800ba44: af00 add r7, sp, #0 - 800ba46: 6078 str r0, [r7, #4] + 800c3c4: b580 push {r7, lr} + 800c3c6: b082 sub sp, #8 + 800c3c8: af00 add r7, sp, #0 + 800c3ca: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_rexmit_rto: invalid pcb", pcb != NULL); - 800ba48: 687b ldr r3, [r7, #4] - 800ba4a: 2b00 cmp r3, #0 - 800ba4c: d106 bne.n 800ba5c - 800ba4e: 4b0a ldr r3, [pc, #40] @ (800ba78 ) - 800ba50: f240 62ad movw r2, #1709 @ 0x6ad - 800ba54: 4909 ldr r1, [pc, #36] @ (800ba7c ) - 800ba56: 480a ldr r0, [pc, #40] @ (800ba80 ) - 800ba58: f005 fdce bl 80115f8 + 800c3cc: 687b ldr r3, [r7, #4] + 800c3ce: 2b00 cmp r3, #0 + 800c3d0: d106 bne.n 800c3e0 + 800c3d2: 4b0a ldr r3, [pc, #40] @ (800c3fc ) + 800c3d4: f240 62ad movw r2, #1709 @ 0x6ad + 800c3d8: 4909 ldr r1, [pc, #36] @ (800c400 ) + 800c3da: 480a ldr r0, [pc, #40] @ (800c404 ) + 800c3dc: f005 fdce bl 8011f7c if (tcp_rexmit_rto_prepare(pcb) == ERR_OK) { - 800ba5c: 6878 ldr r0, [r7, #4] - 800ba5e: f7ff ff57 bl 800b910 - 800ba62: 4603 mov r3, r0 - 800ba64: 2b00 cmp r3, #0 - 800ba66: d102 bne.n 800ba6e + 800c3e0: 6878 ldr r0, [r7, #4] + 800c3e2: f7ff ff57 bl 800c294 + 800c3e6: 4603 mov r3, r0 + 800c3e8: 2b00 cmp r3, #0 + 800c3ea: d102 bne.n 800c3f2 tcp_rexmit_rto_commit(pcb); - 800ba68: 6878 ldr r0, [r7, #4] - 800ba6a: f7ff ffc1 bl 800b9f0 + 800c3ec: 6878 ldr r0, [r7, #4] + 800c3ee: f7ff ffc1 bl 800c374 } } - 800ba6e: bf00 nop - 800ba70: 3708 adds r7, #8 - 800ba72: 46bd mov sp, r7 - 800ba74: bd80 pop {r7, pc} - 800ba76: bf00 nop - 800ba78: 0801769c .word 0x0801769c - 800ba7c: 08017d20 .word 0x08017d20 - 800ba80: 080176f0 .word 0x080176f0 + 800c3f2: bf00 nop + 800c3f4: 3708 adds r7, #8 + 800c3f6: 46bd mov sp, r7 + 800c3f8: bd80 pop {r7, pc} + 800c3fa: bf00 nop + 800c3fc: 0801801c .word 0x0801801c + 800c400: 080186a0 .word 0x080186a0 + 800c404: 08018070 .word 0x08018070 -0800ba84 : +0800c408 : * * @param pcb the tcp_pcb for which to retransmit the first unacked segment */ err_t tcp_rexmit(struct tcp_pcb *pcb) { - 800ba84: b590 push {r4, r7, lr} - 800ba86: b085 sub sp, #20 - 800ba88: af00 add r7, sp, #0 - 800ba8a: 6078 str r0, [r7, #4] + 800c408: b590 push {r4, r7, lr} + 800c40a: b085 sub sp, #20 + 800c40c: af00 add r7, sp, #0 + 800c40e: 6078 str r0, [r7, #4] struct tcp_seg *seg; struct tcp_seg **cur_seg; LWIP_ASSERT("tcp_rexmit: invalid pcb", pcb != NULL); - 800ba8c: 687b ldr r3, [r7, #4] - 800ba8e: 2b00 cmp r3, #0 - 800ba90: d106 bne.n 800baa0 - 800ba92: 4b2f ldr r3, [pc, #188] @ (800bb50 ) - 800ba94: f240 62c1 movw r2, #1729 @ 0x6c1 - 800ba98: 492e ldr r1, [pc, #184] @ (800bb54 ) - 800ba9a: 482f ldr r0, [pc, #188] @ (800bb58 ) - 800ba9c: f005 fdac bl 80115f8 + 800c410: 687b ldr r3, [r7, #4] + 800c412: 2b00 cmp r3, #0 + 800c414: d106 bne.n 800c424 + 800c416: 4b2f ldr r3, [pc, #188] @ (800c4d4 ) + 800c418: f240 62c1 movw r2, #1729 @ 0x6c1 + 800c41c: 492e ldr r1, [pc, #184] @ (800c4d8 ) + 800c41e: 482f ldr r0, [pc, #188] @ (800c4dc ) + 800c420: f005 fdac bl 8011f7c if (pcb->unacked == NULL) { - 800baa0: 687b ldr r3, [r7, #4] - 800baa2: 6f1b ldr r3, [r3, #112] @ 0x70 - 800baa4: 2b00 cmp r3, #0 - 800baa6: d102 bne.n 800baae + 800c424: 687b ldr r3, [r7, #4] + 800c426: 6f1b ldr r3, [r3, #112] @ 0x70 + 800c428: 2b00 cmp r3, #0 + 800c42a: d102 bne.n 800c432 return ERR_VAL; - 800baa8: f06f 0305 mvn.w r3, #5 - 800baac: e04c b.n 800bb48 + 800c42c: f06f 0305 mvn.w r3, #5 + 800c430: e04c b.n 800c4cc } seg = pcb->unacked; - 800baae: 687b ldr r3, [r7, #4] - 800bab0: 6f1b ldr r3, [r3, #112] @ 0x70 - 800bab2: 60bb str r3, [r7, #8] + 800c432: 687b ldr r3, [r7, #4] + 800c434: 6f1b ldr r3, [r3, #112] @ 0x70 + 800c436: 60bb str r3, [r7, #8] /* Give up if the segment is still referenced by the netif driver due to deferred transmission. */ if (tcp_output_segment_busy(seg)) { - 800bab4: 68b8 ldr r0, [r7, #8] - 800bab6: f7ff fe2b bl 800b710 - 800baba: 4603 mov r3, r0 - 800babc: 2b00 cmp r3, #0 - 800babe: d002 beq.n 800bac6 + 800c438: 68b8 ldr r0, [r7, #8] + 800c43a: f7ff fe2b bl 800c094 + 800c43e: 4603 mov r3, r0 + 800c440: 2b00 cmp r3, #0 + 800c442: d002 beq.n 800c44a LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_rexmit busy\n")); return ERR_VAL; - 800bac0: f06f 0305 mvn.w r3, #5 - 800bac4: e040 b.n 800bb48 + 800c444: f06f 0305 mvn.w r3, #5 + 800c448: e040 b.n 800c4cc } /* Move the first unacked segment to the unsent queue */ /* Keep the unsent queue sorted. */ pcb->unacked = seg->next; - 800bac6: 68bb ldr r3, [r7, #8] - 800bac8: 681a ldr r2, [r3, #0] - 800baca: 687b ldr r3, [r7, #4] - 800bacc: 671a str r2, [r3, #112] @ 0x70 + 800c44a: 68bb ldr r3, [r7, #8] + 800c44c: 681a ldr r2, [r3, #0] + 800c44e: 687b ldr r3, [r7, #4] + 800c450: 671a str r2, [r3, #112] @ 0x70 cur_seg = &(pcb->unsent); - 800bace: 687b ldr r3, [r7, #4] - 800bad0: 336c adds r3, #108 @ 0x6c - 800bad2: 60fb str r3, [r7, #12] + 800c452: 687b ldr r3, [r7, #4] + 800c454: 336c adds r3, #108 @ 0x6c + 800c456: 60fb str r3, [r7, #12] while (*cur_seg && - 800bad4: e002 b.n 800badc + 800c458: e002 b.n 800c460 TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { cur_seg = &((*cur_seg)->next ); - 800bad6: 68fb ldr r3, [r7, #12] - 800bad8: 681b ldr r3, [r3, #0] - 800bada: 60fb str r3, [r7, #12] + 800c45a: 68fb ldr r3, [r7, #12] + 800c45c: 681b ldr r3, [r3, #0] + 800c45e: 60fb str r3, [r7, #12] while (*cur_seg && - 800badc: 68fb ldr r3, [r7, #12] - 800bade: 681b ldr r3, [r3, #0] - 800bae0: 2b00 cmp r3, #0 - 800bae2: d011 beq.n 800bb08 + 800c460: 68fb ldr r3, [r7, #12] + 800c462: 681b ldr r3, [r3, #0] + 800c464: 2b00 cmp r3, #0 + 800c466: d011 beq.n 800c48c TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { - 800bae4: 68fb ldr r3, [r7, #12] - 800bae6: 681b ldr r3, [r3, #0] - 800bae8: 68db ldr r3, [r3, #12] - 800baea: 685b ldr r3, [r3, #4] - 800baec: 4618 mov r0, r3 - 800baee: f7f9 fc60 bl 80053b2 - 800baf2: 4604 mov r4, r0 - 800baf4: 68bb ldr r3, [r7, #8] - 800baf6: 68db ldr r3, [r3, #12] - 800baf8: 685b ldr r3, [r3, #4] - 800bafa: 4618 mov r0, r3 - 800bafc: f7f9 fc59 bl 80053b2 - 800bb00: 4603 mov r3, r0 - 800bb02: 1ae3 subs r3, r4, r3 + 800c468: 68fb ldr r3, [r7, #12] + 800c46a: 681b ldr r3, [r3, #0] + 800c46c: 68db ldr r3, [r3, #12] + 800c46e: 685b ldr r3, [r3, #4] + 800c470: 4618 mov r0, r3 + 800c472: f7f9 fc60 bl 8005d36 + 800c476: 4604 mov r4, r0 + 800c478: 68bb ldr r3, [r7, #8] + 800c47a: 68db ldr r3, [r3, #12] + 800c47c: 685b ldr r3, [r3, #4] + 800c47e: 4618 mov r0, r3 + 800c480: f7f9 fc59 bl 8005d36 + 800c484: 4603 mov r3, r0 + 800c486: 1ae3 subs r3, r4, r3 while (*cur_seg && - 800bb04: 2b00 cmp r3, #0 - 800bb06: dbe6 blt.n 800bad6 + 800c488: 2b00 cmp r3, #0 + 800c48a: dbe6 blt.n 800c45a } seg->next = *cur_seg; - 800bb08: 68fb ldr r3, [r7, #12] - 800bb0a: 681a ldr r2, [r3, #0] - 800bb0c: 68bb ldr r3, [r7, #8] - 800bb0e: 601a str r2, [r3, #0] + 800c48c: 68fb ldr r3, [r7, #12] + 800c48e: 681a ldr r2, [r3, #0] + 800c490: 68bb ldr r3, [r7, #8] + 800c492: 601a str r2, [r3, #0] *cur_seg = seg; - 800bb10: 68fb ldr r3, [r7, #12] - 800bb12: 68ba ldr r2, [r7, #8] - 800bb14: 601a str r2, [r3, #0] + 800c494: 68fb ldr r3, [r7, #12] + 800c496: 68ba ldr r2, [r7, #8] + 800c498: 601a str r2, [r3, #0] #if TCP_OVERSIZE if (seg->next == NULL) { - 800bb16: 68bb ldr r3, [r7, #8] - 800bb18: 681b ldr r3, [r3, #0] - 800bb1a: 2b00 cmp r3, #0 - 800bb1c: d103 bne.n 800bb26 + 800c49a: 68bb ldr r3, [r7, #8] + 800c49c: 681b ldr r3, [r3, #0] + 800c49e: 2b00 cmp r3, #0 + 800c4a0: d103 bne.n 800c4aa /* the retransmitted segment is last in unsent, so reset unsent_oversize */ pcb->unsent_oversize = 0; - 800bb1e: 687b ldr r3, [r7, #4] - 800bb20: 2200 movs r2, #0 - 800bb22: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 + 800c4a2: 687b ldr r3, [r7, #4] + 800c4a4: 2200 movs r2, #0 + 800c4a6: f8a3 2068 strh.w r2, [r3, #104] @ 0x68 } #endif /* TCP_OVERSIZE */ if (pcb->nrtx < 0xFF) { - 800bb26: 687b ldr r3, [r7, #4] - 800bb28: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 - 800bb2c: 2bff cmp r3, #255 @ 0xff - 800bb2e: d007 beq.n 800bb40 + 800c4aa: 687b ldr r3, [r7, #4] + 800c4ac: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 800c4b0: 2bff cmp r3, #255 @ 0xff + 800c4b2: d007 beq.n 800c4c4 ++pcb->nrtx; - 800bb30: 687b ldr r3, [r7, #4] - 800bb32: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 - 800bb36: 3301 adds r3, #1 - 800bb38: b2da uxtb r2, r3 - 800bb3a: 687b ldr r3, [r7, #4] - 800bb3c: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 800c4b4: 687b ldr r3, [r7, #4] + 800c4b6: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 800c4ba: 3301 adds r3, #1 + 800c4bc: b2da uxtb r2, r3 + 800c4be: 687b ldr r3, [r7, #4] + 800c4c0: f883 2042 strb.w r2, [r3, #66] @ 0x42 } /* Don't take any rtt measurements after retransmitting. */ pcb->rttest = 0; - 800bb40: 687b ldr r3, [r7, #4] - 800bb42: 2200 movs r2, #0 - 800bb44: 635a str r2, [r3, #52] @ 0x34 + 800c4c4: 687b ldr r3, [r7, #4] + 800c4c6: 2200 movs r2, #0 + 800c4c8: 635a str r2, [r3, #52] @ 0x34 /* Do the actual retransmission. */ MIB2_STATS_INC(mib2.tcpretranssegs); /* No need to call tcp_output: we are always called from tcp_input() and thus tcp_output directly returns. */ return ERR_OK; - 800bb46: 2300 movs r3, #0 + 800c4ca: 2300 movs r3, #0 } - 800bb48: 4618 mov r0, r3 - 800bb4a: 3714 adds r7, #20 - 800bb4c: 46bd mov sp, r7 - 800bb4e: bd90 pop {r4, r7, pc} - 800bb50: 0801769c .word 0x0801769c - 800bb54: 08017d3c .word 0x08017d3c - 800bb58: 080176f0 .word 0x080176f0 + 800c4cc: 4618 mov r0, r3 + 800c4ce: 3714 adds r7, #20 + 800c4d0: 46bd mov sp, r7 + 800c4d2: bd90 pop {r4, r7, pc} + 800c4d4: 0801801c .word 0x0801801c + 800c4d8: 080186bc .word 0x080186bc + 800c4dc: 08018070 .word 0x08018070 -0800bb5c : +0800c4e0 : * * @param pcb the tcp_pcb for which to retransmit the first unacked segment */ void tcp_rexmit_fast(struct tcp_pcb *pcb) { - 800bb5c: b580 push {r7, lr} - 800bb5e: b082 sub sp, #8 - 800bb60: af00 add r7, sp, #0 - 800bb62: 6078 str r0, [r7, #4] + 800c4e0: b580 push {r7, lr} + 800c4e2: b082 sub sp, #8 + 800c4e4: af00 add r7, sp, #0 + 800c4e6: 6078 str r0, [r7, #4] LWIP_ASSERT("tcp_rexmit_fast: invalid pcb", pcb != NULL); - 800bb64: 687b ldr r3, [r7, #4] - 800bb66: 2b00 cmp r3, #0 - 800bb68: d106 bne.n 800bb78 - 800bb6a: 4b2a ldr r3, [pc, #168] @ (800bc14 ) - 800bb6c: f240 62f9 movw r2, #1785 @ 0x6f9 - 800bb70: 4929 ldr r1, [pc, #164] @ (800bc18 ) - 800bb72: 482a ldr r0, [pc, #168] @ (800bc1c ) - 800bb74: f005 fd40 bl 80115f8 + 800c4e8: 687b ldr r3, [r7, #4] + 800c4ea: 2b00 cmp r3, #0 + 800c4ec: d106 bne.n 800c4fc + 800c4ee: 4b2a ldr r3, [pc, #168] @ (800c598 ) + 800c4f0: f240 62f9 movw r2, #1785 @ 0x6f9 + 800c4f4: 4929 ldr r1, [pc, #164] @ (800c59c ) + 800c4f6: 482a ldr r0, [pc, #168] @ (800c5a0 ) + 800c4f8: f005 fd40 bl 8011f7c if (pcb->unacked != NULL && !(pcb->flags & TF_INFR)) { - 800bb78: 687b ldr r3, [r7, #4] - 800bb7a: 6f1b ldr r3, [r3, #112] @ 0x70 - 800bb7c: 2b00 cmp r3, #0 - 800bb7e: d044 beq.n 800bc0a - 800bb80: 687b ldr r3, [r7, #4] - 800bb82: 8b5b ldrh r3, [r3, #26] - 800bb84: f003 0304 and.w r3, r3, #4 - 800bb88: 2b00 cmp r3, #0 - 800bb8a: d13e bne.n 800bc0a + 800c4fc: 687b ldr r3, [r7, #4] + 800c4fe: 6f1b ldr r3, [r3, #112] @ 0x70 + 800c500: 2b00 cmp r3, #0 + 800c502: d044 beq.n 800c58e + 800c504: 687b ldr r3, [r7, #4] + 800c506: 8b5b ldrh r3, [r3, #26] + 800c508: f003 0304 and.w r3, r3, #4 + 800c50c: 2b00 cmp r3, #0 + 800c50e: d13e bne.n 800c58e LWIP_DEBUGF(TCP_FR_DEBUG, ("tcp_receive: dupacks %"U16_F" (%"U32_F "), fast retransmit %"U32_F"\n", (u16_t)pcb->dupacks, pcb->lastack, lwip_ntohl(pcb->unacked->tcphdr->seqno))); if (tcp_rexmit(pcb) == ERR_OK) { - 800bb8c: 6878 ldr r0, [r7, #4] - 800bb8e: f7ff ff79 bl 800ba84 - 800bb92: 4603 mov r3, r0 - 800bb94: 2b00 cmp r3, #0 - 800bb96: d138 bne.n 800bc0a + 800c510: 6878 ldr r0, [r7, #4] + 800c512: f7ff ff79 bl 800c408 + 800c516: 4603 mov r3, r0 + 800c518: 2b00 cmp r3, #0 + 800c51a: d138 bne.n 800c58e /* Set ssthresh to half of the minimum of the current * cwnd and the advertised window */ pcb->ssthresh = LWIP_MIN(pcb->cwnd, pcb->snd_wnd) / 2; - 800bb98: 687b ldr r3, [r7, #4] - 800bb9a: f8b3 2060 ldrh.w r2, [r3, #96] @ 0x60 - 800bb9e: 687b ldr r3, [r7, #4] - 800bba0: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 - 800bba4: 4293 cmp r3, r2 - 800bba6: bf28 it cs - 800bba8: 4613 movcs r3, r2 - 800bbaa: b29b uxth r3, r3 - 800bbac: 0fda lsrs r2, r3, #31 - 800bbae: 4413 add r3, r2 - 800bbb0: 105b asrs r3, r3, #1 - 800bbb2: b29a uxth r2, r3 - 800bbb4: 687b ldr r3, [r7, #4] - 800bbb6: f8a3 204a strh.w r2, [r3, #74] @ 0x4a + 800c51c: 687b ldr r3, [r7, #4] + 800c51e: f8b3 2060 ldrh.w r2, [r3, #96] @ 0x60 + 800c522: 687b ldr r3, [r7, #4] + 800c524: f8b3 3048 ldrh.w r3, [r3, #72] @ 0x48 + 800c528: 4293 cmp r3, r2 + 800c52a: bf28 it cs + 800c52c: 4613 movcs r3, r2 + 800c52e: b29b uxth r3, r3 + 800c530: 0fda lsrs r2, r3, #31 + 800c532: 4413 add r3, r2 + 800c534: 105b asrs r3, r3, #1 + 800c536: b29a uxth r2, r3 + 800c538: 687b ldr r3, [r7, #4] + 800c53a: f8a3 204a strh.w r2, [r3, #74] @ 0x4a /* The minimum value for ssthresh should be 2 MSS */ if (pcb->ssthresh < (2U * pcb->mss)) { - 800bbba: 687b ldr r3, [r7, #4] - 800bbbc: f8b3 304a ldrh.w r3, [r3, #74] @ 0x4a - 800bbc0: 461a mov r2, r3 - 800bbc2: 687b ldr r3, [r7, #4] - 800bbc4: 8e5b ldrh r3, [r3, #50] @ 0x32 - 800bbc6: 005b lsls r3, r3, #1 - 800bbc8: 429a cmp r2, r3 - 800bbca: d206 bcs.n 800bbda + 800c53e: 687b ldr r3, [r7, #4] + 800c540: f8b3 304a ldrh.w r3, [r3, #74] @ 0x4a + 800c544: 461a mov r2, r3 + 800c546: 687b ldr r3, [r7, #4] + 800c548: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800c54a: 005b lsls r3, r3, #1 + 800c54c: 429a cmp r2, r3 + 800c54e: d206 bcs.n 800c55e LWIP_DEBUGF(TCP_FR_DEBUG, ("tcp_receive: The minimum value for ssthresh %"TCPWNDSIZE_F " should be min 2 mss %"U16_F"...\n", pcb->ssthresh, (u16_t)(2 * pcb->mss))); pcb->ssthresh = 2 * pcb->mss; - 800bbcc: 687b ldr r3, [r7, #4] - 800bbce: 8e5b ldrh r3, [r3, #50] @ 0x32 - 800bbd0: 005b lsls r3, r3, #1 - 800bbd2: b29a uxth r2, r3 - 800bbd4: 687b ldr r3, [r7, #4] - 800bbd6: f8a3 204a strh.w r2, [r3, #74] @ 0x4a + 800c550: 687b ldr r3, [r7, #4] + 800c552: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800c554: 005b lsls r3, r3, #1 + 800c556: b29a uxth r2, r3 + 800c558: 687b ldr r3, [r7, #4] + 800c55a: f8a3 204a strh.w r2, [r3, #74] @ 0x4a } pcb->cwnd = pcb->ssthresh + 3 * pcb->mss; - 800bbda: 687b ldr r3, [r7, #4] - 800bbdc: f8b3 204a ldrh.w r2, [r3, #74] @ 0x4a - 800bbe0: 687b ldr r3, [r7, #4] - 800bbe2: 8e5b ldrh r3, [r3, #50] @ 0x32 - 800bbe4: 4619 mov r1, r3 - 800bbe6: 0049 lsls r1, r1, #1 - 800bbe8: 440b add r3, r1 - 800bbea: b29b uxth r3, r3 - 800bbec: 4413 add r3, r2 - 800bbee: b29a uxth r2, r3 - 800bbf0: 687b ldr r3, [r7, #4] - 800bbf2: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 + 800c55e: 687b ldr r3, [r7, #4] + 800c560: f8b3 204a ldrh.w r2, [r3, #74] @ 0x4a + 800c564: 687b ldr r3, [r7, #4] + 800c566: 8e5b ldrh r3, [r3, #50] @ 0x32 + 800c568: 4619 mov r1, r3 + 800c56a: 0049 lsls r1, r1, #1 + 800c56c: 440b add r3, r1 + 800c56e: b29b uxth r3, r3 + 800c570: 4413 add r3, r2 + 800c572: b29a uxth r2, r3 + 800c574: 687b ldr r3, [r7, #4] + 800c576: f8a3 2048 strh.w r2, [r3, #72] @ 0x48 tcp_set_flags(pcb, TF_INFR); - 800bbf6: 687b ldr r3, [r7, #4] - 800bbf8: 8b5b ldrh r3, [r3, #26] - 800bbfa: f043 0304 orr.w r3, r3, #4 - 800bbfe: b29a uxth r2, r3 - 800bc00: 687b ldr r3, [r7, #4] - 800bc02: 835a strh r2, [r3, #26] + 800c57a: 687b ldr r3, [r7, #4] + 800c57c: 8b5b ldrh r3, [r3, #26] + 800c57e: f043 0304 orr.w r3, r3, #4 + 800c582: b29a uxth r2, r3 + 800c584: 687b ldr r3, [r7, #4] + 800c586: 835a strh r2, [r3, #26] /* Reset the retransmission timer to prevent immediate rto retransmissions */ pcb->rtime = 0; - 800bc04: 687b ldr r3, [r7, #4] - 800bc06: 2200 movs r2, #0 - 800bc08: 861a strh r2, [r3, #48] @ 0x30 + 800c588: 687b ldr r3, [r7, #4] + 800c58a: 2200 movs r2, #0 + 800c58c: 861a strh r2, [r3, #48] @ 0x30 } } } - 800bc0a: bf00 nop - 800bc0c: 3708 adds r7, #8 - 800bc0e: 46bd mov sp, r7 - 800bc10: bd80 pop {r7, pc} - 800bc12: bf00 nop - 800bc14: 0801769c .word 0x0801769c - 800bc18: 08017d54 .word 0x08017d54 - 800bc1c: 080176f0 .word 0x080176f0 + 800c58e: bf00 nop + 800c590: 3708 adds r7, #8 + 800c592: 46bd mov sp, r7 + 800c594: bd80 pop {r7, pc} + 800c596: bf00 nop + 800c598: 0801801c .word 0x0801801c + 800c59c: 080186d4 .word 0x080186d4 + 800c5a0: 08018070 .word 0x08018070 -0800bc20 : +0800c5a4 : static struct pbuf * tcp_output_alloc_header_common(u32_t ackno, u16_t optlen, u16_t datalen, u32_t seqno_be /* already in network byte order */, u16_t src_port, u16_t dst_port, u8_t flags, u16_t wnd) { - 800bc20: b580 push {r7, lr} - 800bc22: b086 sub sp, #24 - 800bc24: af00 add r7, sp, #0 - 800bc26: 60f8 str r0, [r7, #12] - 800bc28: 607b str r3, [r7, #4] - 800bc2a: 460b mov r3, r1 - 800bc2c: 817b strh r3, [r7, #10] - 800bc2e: 4613 mov r3, r2 - 800bc30: 813b strh r3, [r7, #8] + 800c5a4: b580 push {r7, lr} + 800c5a6: b086 sub sp, #24 + 800c5a8: af00 add r7, sp, #0 + 800c5aa: 60f8 str r0, [r7, #12] + 800c5ac: 607b str r3, [r7, #4] + 800c5ae: 460b mov r3, r1 + 800c5b0: 817b strh r3, [r7, #10] + 800c5b2: 4613 mov r3, r2 + 800c5b4: 813b strh r3, [r7, #8] struct tcp_hdr *tcphdr; struct pbuf *p; p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); - 800bc32: 897a ldrh r2, [r7, #10] - 800bc34: 893b ldrh r3, [r7, #8] - 800bc36: 4413 add r3, r2 - 800bc38: b29b uxth r3, r3 - 800bc3a: 3314 adds r3, #20 - 800bc3c: b29b uxth r3, r3 - 800bc3e: f44f 7220 mov.w r2, #640 @ 0x280 - 800bc42: 4619 mov r1, r3 - 800bc44: 2022 movs r0, #34 @ 0x22 - 800bc46: f7fa fc0d bl 8006464 - 800bc4a: 6178 str r0, [r7, #20] + 800c5b6: 897a ldrh r2, [r7, #10] + 800c5b8: 893b ldrh r3, [r7, #8] + 800c5ba: 4413 add r3, r2 + 800c5bc: b29b uxth r3, r3 + 800c5be: 3314 adds r3, #20 + 800c5c0: b29b uxth r3, r3 + 800c5c2: f44f 7220 mov.w r2, #640 @ 0x280 + 800c5c6: 4619 mov r1, r3 + 800c5c8: 2022 movs r0, #34 @ 0x22 + 800c5ca: f7fa fc0d bl 8006de8 + 800c5ce: 6178 str r0, [r7, #20] if (p != NULL) { - 800bc4c: 697b ldr r3, [r7, #20] - 800bc4e: 2b00 cmp r3, #0 - 800bc50: d04d beq.n 800bcee + 800c5d0: 697b ldr r3, [r7, #20] + 800c5d2: 2b00 cmp r3, #0 + 800c5d4: d04d beq.n 800c672 LWIP_ASSERT("check that first pbuf can hold struct tcp_hdr", - 800bc52: 897b ldrh r3, [r7, #10] - 800bc54: 3313 adds r3, #19 - 800bc56: 697a ldr r2, [r7, #20] - 800bc58: 8952 ldrh r2, [r2, #10] - 800bc5a: 4293 cmp r3, r2 - 800bc5c: db06 blt.n 800bc6c - 800bc5e: 4b26 ldr r3, [pc, #152] @ (800bcf8 ) - 800bc60: f240 7223 movw r2, #1827 @ 0x723 - 800bc64: 4925 ldr r1, [pc, #148] @ (800bcfc ) - 800bc66: 4826 ldr r0, [pc, #152] @ (800bd00 ) - 800bc68: f005 fcc6 bl 80115f8 + 800c5d6: 897b ldrh r3, [r7, #10] + 800c5d8: 3313 adds r3, #19 + 800c5da: 697a ldr r2, [r7, #20] + 800c5dc: 8952 ldrh r2, [r2, #10] + 800c5de: 4293 cmp r3, r2 + 800c5e0: db06 blt.n 800c5f0 + 800c5e2: 4b26 ldr r3, [pc, #152] @ (800c67c ) + 800c5e4: f240 7223 movw r2, #1827 @ 0x723 + 800c5e8: 4925 ldr r1, [pc, #148] @ (800c680 ) + 800c5ea: 4826 ldr r0, [pc, #152] @ (800c684 ) + 800c5ec: f005 fcc6 bl 8011f7c (p->len >= TCP_HLEN + optlen)); tcphdr = (struct tcp_hdr *)p->payload; - 800bc6c: 697b ldr r3, [r7, #20] - 800bc6e: 685b ldr r3, [r3, #4] - 800bc70: 613b str r3, [r7, #16] + 800c5f0: 697b ldr r3, [r7, #20] + 800c5f2: 685b ldr r3, [r3, #4] + 800c5f4: 613b str r3, [r7, #16] tcphdr->src = lwip_htons(src_port); - 800bc72: 8c3b ldrh r3, [r7, #32] - 800bc74: 4618 mov r0, r3 - 800bc76: f7f9 fb87 bl 8005388 - 800bc7a: 4603 mov r3, r0 - 800bc7c: 461a mov r2, r3 - 800bc7e: 693b ldr r3, [r7, #16] - 800bc80: 801a strh r2, [r3, #0] + 800c5f6: 8c3b ldrh r3, [r7, #32] + 800c5f8: 4618 mov r0, r3 + 800c5fa: f7f9 fb87 bl 8005d0c + 800c5fe: 4603 mov r3, r0 + 800c600: 461a mov r2, r3 + 800c602: 693b ldr r3, [r7, #16] + 800c604: 801a strh r2, [r3, #0] tcphdr->dest = lwip_htons(dst_port); - 800bc82: 8cbb ldrh r3, [r7, #36] @ 0x24 - 800bc84: 4618 mov r0, r3 - 800bc86: f7f9 fb7f bl 8005388 - 800bc8a: 4603 mov r3, r0 - 800bc8c: 461a mov r2, r3 - 800bc8e: 693b ldr r3, [r7, #16] - 800bc90: 805a strh r2, [r3, #2] + 800c606: 8cbb ldrh r3, [r7, #36] @ 0x24 + 800c608: 4618 mov r0, r3 + 800c60a: f7f9 fb7f bl 8005d0c + 800c60e: 4603 mov r3, r0 + 800c610: 461a mov r2, r3 + 800c612: 693b ldr r3, [r7, #16] + 800c614: 805a strh r2, [r3, #2] tcphdr->seqno = seqno_be; - 800bc92: 693b ldr r3, [r7, #16] - 800bc94: 687a ldr r2, [r7, #4] - 800bc96: 605a str r2, [r3, #4] + 800c616: 693b ldr r3, [r7, #16] + 800c618: 687a ldr r2, [r7, #4] + 800c61a: 605a str r2, [r3, #4] tcphdr->ackno = lwip_htonl(ackno); - 800bc98: 68f8 ldr r0, [r7, #12] - 800bc9a: f7f9 fb8a bl 80053b2 - 800bc9e: 4602 mov r2, r0 - 800bca0: 693b ldr r3, [r7, #16] - 800bca2: 609a str r2, [r3, #8] + 800c61c: 68f8 ldr r0, [r7, #12] + 800c61e: f7f9 fb8a bl 8005d36 + 800c622: 4602 mov r2, r0 + 800c624: 693b ldr r3, [r7, #16] + 800c626: 609a str r2, [r3, #8] TCPH_HDRLEN_FLAGS_SET(tcphdr, (5 + optlen / 4), flags); - 800bca4: 897b ldrh r3, [r7, #10] - 800bca6: 089b lsrs r3, r3, #2 - 800bca8: b29b uxth r3, r3 - 800bcaa: 3305 adds r3, #5 - 800bcac: b29b uxth r3, r3 - 800bcae: 031b lsls r3, r3, #12 - 800bcb0: b29a uxth r2, r3 - 800bcb2: f897 3028 ldrb.w r3, [r7, #40] @ 0x28 - 800bcb6: b29b uxth r3, r3 - 800bcb8: 4313 orrs r3, r2 - 800bcba: b29b uxth r3, r3 - 800bcbc: 4618 mov r0, r3 - 800bcbe: f7f9 fb63 bl 8005388 - 800bcc2: 4603 mov r3, r0 - 800bcc4: 461a mov r2, r3 - 800bcc6: 693b ldr r3, [r7, #16] - 800bcc8: 819a strh r2, [r3, #12] + 800c628: 897b ldrh r3, [r7, #10] + 800c62a: 089b lsrs r3, r3, #2 + 800c62c: b29b uxth r3, r3 + 800c62e: 3305 adds r3, #5 + 800c630: b29b uxth r3, r3 + 800c632: 031b lsls r3, r3, #12 + 800c634: b29a uxth r2, r3 + 800c636: f897 3028 ldrb.w r3, [r7, #40] @ 0x28 + 800c63a: b29b uxth r3, r3 + 800c63c: 4313 orrs r3, r2 + 800c63e: b29b uxth r3, r3 + 800c640: 4618 mov r0, r3 + 800c642: f7f9 fb63 bl 8005d0c + 800c646: 4603 mov r3, r0 + 800c648: 461a mov r2, r3 + 800c64a: 693b ldr r3, [r7, #16] + 800c64c: 819a strh r2, [r3, #12] tcphdr->wnd = lwip_htons(wnd); - 800bcca: 8dbb ldrh r3, [r7, #44] @ 0x2c - 800bccc: 4618 mov r0, r3 - 800bcce: f7f9 fb5b bl 8005388 - 800bcd2: 4603 mov r3, r0 - 800bcd4: 461a mov r2, r3 - 800bcd6: 693b ldr r3, [r7, #16] - 800bcd8: 81da strh r2, [r3, #14] + 800c64e: 8dbb ldrh r3, [r7, #44] @ 0x2c + 800c650: 4618 mov r0, r3 + 800c652: f7f9 fb5b bl 8005d0c + 800c656: 4603 mov r3, r0 + 800c658: 461a mov r2, r3 + 800c65a: 693b ldr r3, [r7, #16] + 800c65c: 81da strh r2, [r3, #14] tcphdr->chksum = 0; - 800bcda: 693b ldr r3, [r7, #16] - 800bcdc: 2200 movs r2, #0 - 800bcde: 741a strb r2, [r3, #16] - 800bce0: 2200 movs r2, #0 - 800bce2: 745a strb r2, [r3, #17] + 800c65e: 693b ldr r3, [r7, #16] + 800c660: 2200 movs r2, #0 + 800c662: 741a strb r2, [r3, #16] + 800c664: 2200 movs r2, #0 + 800c666: 745a strb r2, [r3, #17] tcphdr->urgp = 0; - 800bce4: 693b ldr r3, [r7, #16] - 800bce6: 2200 movs r2, #0 - 800bce8: 749a strb r2, [r3, #18] - 800bcea: 2200 movs r2, #0 - 800bcec: 74da strb r2, [r3, #19] + 800c668: 693b ldr r3, [r7, #16] + 800c66a: 2200 movs r2, #0 + 800c66c: 749a strb r2, [r3, #18] + 800c66e: 2200 movs r2, #0 + 800c670: 74da strb r2, [r3, #19] } return p; - 800bcee: 697b ldr r3, [r7, #20] + 800c672: 697b ldr r3, [r7, #20] } - 800bcf0: 4618 mov r0, r3 - 800bcf2: 3718 adds r7, #24 - 800bcf4: 46bd mov sp, r7 - 800bcf6: bd80 pop {r7, pc} - 800bcf8: 0801769c .word 0x0801769c - 800bcfc: 08017d74 .word 0x08017d74 - 800bd00: 080176f0 .word 0x080176f0 + 800c674: 4618 mov r0, r3 + 800c676: 3718 adds r7, #24 + 800c678: 46bd mov sp, r7 + 800c67a: bd80 pop {r7, pc} + 800c67c: 0801801c .word 0x0801801c + 800c680: 080186f4 .word 0x080186f4 + 800c684: 08018070 .word 0x08018070 -0800bd04 : +0800c688 : * @return pbuf with p->payload being the tcp_hdr */ static struct pbuf * tcp_output_alloc_header(struct tcp_pcb *pcb, u16_t optlen, u16_t datalen, u32_t seqno_be /* already in network byte order */) { - 800bd04: b5b0 push {r4, r5, r7, lr} - 800bd06: b08a sub sp, #40 @ 0x28 - 800bd08: af04 add r7, sp, #16 - 800bd0a: 60f8 str r0, [r7, #12] - 800bd0c: 607b str r3, [r7, #4] - 800bd0e: 460b mov r3, r1 - 800bd10: 817b strh r3, [r7, #10] - 800bd12: 4613 mov r3, r2 - 800bd14: 813b strh r3, [r7, #8] + 800c688: b5b0 push {r4, r5, r7, lr} + 800c68a: b08a sub sp, #40 @ 0x28 + 800c68c: af04 add r7, sp, #16 + 800c68e: 60f8 str r0, [r7, #12] + 800c690: 607b str r3, [r7, #4] + 800c692: 460b mov r3, r1 + 800c694: 817b strh r3, [r7, #10] + 800c696: 4613 mov r3, r2 + 800c698: 813b strh r3, [r7, #8] struct pbuf *p; LWIP_ASSERT("tcp_output_alloc_header: invalid pcb", pcb != NULL); - 800bd16: 68fb ldr r3, [r7, #12] - 800bd18: 2b00 cmp r3, #0 - 800bd1a: d106 bne.n 800bd2a - 800bd1c: 4b15 ldr r3, [pc, #84] @ (800bd74 ) - 800bd1e: f240 7242 movw r2, #1858 @ 0x742 - 800bd22: 4915 ldr r1, [pc, #84] @ (800bd78 ) - 800bd24: 4815 ldr r0, [pc, #84] @ (800bd7c ) - 800bd26: f005 fc67 bl 80115f8 + 800c69a: 68fb ldr r3, [r7, #12] + 800c69c: 2b00 cmp r3, #0 + 800c69e: d106 bne.n 800c6ae + 800c6a0: 4b15 ldr r3, [pc, #84] @ (800c6f8 ) + 800c6a2: f240 7242 movw r2, #1858 @ 0x742 + 800c6a6: 4915 ldr r1, [pc, #84] @ (800c6fc ) + 800c6a8: 4815 ldr r0, [pc, #84] @ (800c700 ) + 800c6aa: f005 fc67 bl 8011f7c p = tcp_output_alloc_header_common(pcb->rcv_nxt, optlen, datalen, - 800bd2a: 68fb ldr r3, [r7, #12] - 800bd2c: 6a58 ldr r0, [r3, #36] @ 0x24 - 800bd2e: 68fb ldr r3, [r7, #12] - 800bd30: 8adb ldrh r3, [r3, #22] - 800bd32: 68fa ldr r2, [r7, #12] - 800bd34: 8b12 ldrh r2, [r2, #24] - 800bd36: 68f9 ldr r1, [r7, #12] - 800bd38: 8d49 ldrh r1, [r1, #42] @ 0x2a - 800bd3a: 893d ldrh r5, [r7, #8] - 800bd3c: 897c ldrh r4, [r7, #10] - 800bd3e: 9103 str r1, [sp, #12] - 800bd40: 2110 movs r1, #16 - 800bd42: 9102 str r1, [sp, #8] - 800bd44: 9201 str r2, [sp, #4] - 800bd46: 9300 str r3, [sp, #0] - 800bd48: 687b ldr r3, [r7, #4] - 800bd4a: 462a mov r2, r5 - 800bd4c: 4621 mov r1, r4 - 800bd4e: f7ff ff67 bl 800bc20 - 800bd52: 6178 str r0, [r7, #20] + 800c6ae: 68fb ldr r3, [r7, #12] + 800c6b0: 6a58 ldr r0, [r3, #36] @ 0x24 + 800c6b2: 68fb ldr r3, [r7, #12] + 800c6b4: 8adb ldrh r3, [r3, #22] + 800c6b6: 68fa ldr r2, [r7, #12] + 800c6b8: 8b12 ldrh r2, [r2, #24] + 800c6ba: 68f9 ldr r1, [r7, #12] + 800c6bc: 8d49 ldrh r1, [r1, #42] @ 0x2a + 800c6be: 893d ldrh r5, [r7, #8] + 800c6c0: 897c ldrh r4, [r7, #10] + 800c6c2: 9103 str r1, [sp, #12] + 800c6c4: 2110 movs r1, #16 + 800c6c6: 9102 str r1, [sp, #8] + 800c6c8: 9201 str r2, [sp, #4] + 800c6ca: 9300 str r3, [sp, #0] + 800c6cc: 687b ldr r3, [r7, #4] + 800c6ce: 462a mov r2, r5 + 800c6d0: 4621 mov r1, r4 + 800c6d2: f7ff ff67 bl 800c5a4 + 800c6d6: 6178 str r0, [r7, #20] seqno_be, pcb->local_port, pcb->remote_port, TCP_ACK, TCPWND_MIN16(RCV_WND_SCALE(pcb, pcb->rcv_ann_wnd))); if (p != NULL) { - 800bd54: 697b ldr r3, [r7, #20] - 800bd56: 2b00 cmp r3, #0 - 800bd58: d006 beq.n 800bd68 + 800c6d8: 697b ldr r3, [r7, #20] + 800c6da: 2b00 cmp r3, #0 + 800c6dc: d006 beq.n 800c6ec /* If we're sending a packet, update the announced right window edge */ pcb->rcv_ann_right_edge = pcb->rcv_nxt + pcb->rcv_ann_wnd; - 800bd5a: 68fb ldr r3, [r7, #12] - 800bd5c: 6a5b ldr r3, [r3, #36] @ 0x24 - 800bd5e: 68fa ldr r2, [r7, #12] - 800bd60: 8d52 ldrh r2, [r2, #42] @ 0x2a - 800bd62: 441a add r2, r3 - 800bd64: 68fb ldr r3, [r7, #12] - 800bd66: 62da str r2, [r3, #44] @ 0x2c + 800c6de: 68fb ldr r3, [r7, #12] + 800c6e0: 6a5b ldr r3, [r3, #36] @ 0x24 + 800c6e2: 68fa ldr r2, [r7, #12] + 800c6e4: 8d52 ldrh r2, [r2, #42] @ 0x2a + 800c6e6: 441a add r2, r3 + 800c6e8: 68fb ldr r3, [r7, #12] + 800c6ea: 62da str r2, [r3, #44] @ 0x2c } return p; - 800bd68: 697b ldr r3, [r7, #20] + 800c6ec: 697b ldr r3, [r7, #20] } - 800bd6a: 4618 mov r0, r3 - 800bd6c: 3718 adds r7, #24 - 800bd6e: 46bd mov sp, r7 - 800bd70: bdb0 pop {r4, r5, r7, pc} - 800bd72: bf00 nop - 800bd74: 0801769c .word 0x0801769c - 800bd78: 08017da4 .word 0x08017da4 - 800bd7c: 080176f0 .word 0x080176f0 + 800c6ee: 4618 mov r0, r3 + 800c6f0: 3718 adds r7, #24 + 800c6f2: 46bd mov sp, r7 + 800c6f4: bdb0 pop {r4, r5, r7, pc} + 800c6f6: bf00 nop + 800c6f8: 0801801c .word 0x0801801c + 800c6fc: 08018724 .word 0x08018724 + 800c700: 08018070 .word 0x08018070 -0800bd80 : +0800c704 : /* Fill in options for control segments */ static void tcp_output_fill_options(const struct tcp_pcb *pcb, struct pbuf *p, u8_t optflags, u8_t num_sacks) { - 800bd80: b580 push {r7, lr} - 800bd82: b088 sub sp, #32 - 800bd84: af00 add r7, sp, #0 - 800bd86: 60f8 str r0, [r7, #12] - 800bd88: 60b9 str r1, [r7, #8] - 800bd8a: 4611 mov r1, r2 - 800bd8c: 461a mov r2, r3 - 800bd8e: 460b mov r3, r1 - 800bd90: 71fb strb r3, [r7, #7] - 800bd92: 4613 mov r3, r2 - 800bd94: 71bb strb r3, [r7, #6] + 800c704: b580 push {r7, lr} + 800c706: b088 sub sp, #32 + 800c708: af00 add r7, sp, #0 + 800c70a: 60f8 str r0, [r7, #12] + 800c70c: 60b9 str r1, [r7, #8] + 800c70e: 4611 mov r1, r2 + 800c710: 461a mov r2, r3 + 800c712: 460b mov r3, r1 + 800c714: 71fb strb r3, [r7, #7] + 800c716: 4613 mov r3, r2 + 800c718: 71bb strb r3, [r7, #6] struct tcp_hdr *tcphdr; u32_t *opts; u16_t sacks_len = 0; - 800bd96: 2300 movs r3, #0 - 800bd98: 83fb strh r3, [r7, #30] + 800c71a: 2300 movs r3, #0 + 800c71c: 83fb strh r3, [r7, #30] LWIP_ASSERT("tcp_output_fill_options: invalid pbuf", p != NULL); - 800bd9a: 68bb ldr r3, [r7, #8] - 800bd9c: 2b00 cmp r3, #0 - 800bd9e: d106 bne.n 800bdae - 800bda0: 4b12 ldr r3, [pc, #72] @ (800bdec ) - 800bda2: f240 7256 movw r2, #1878 @ 0x756 - 800bda6: 4912 ldr r1, [pc, #72] @ (800bdf0 ) - 800bda8: 4812 ldr r0, [pc, #72] @ (800bdf4 ) - 800bdaa: f005 fc25 bl 80115f8 + 800c71e: 68bb ldr r3, [r7, #8] + 800c720: 2b00 cmp r3, #0 + 800c722: d106 bne.n 800c732 + 800c724: 4b12 ldr r3, [pc, #72] @ (800c770 ) + 800c726: f240 7256 movw r2, #1878 @ 0x756 + 800c72a: 4912 ldr r1, [pc, #72] @ (800c774 ) + 800c72c: 4812 ldr r0, [pc, #72] @ (800c778 ) + 800c72e: f005 fc25 bl 8011f7c tcphdr = (struct tcp_hdr *)p->payload; - 800bdae: 68bb ldr r3, [r7, #8] - 800bdb0: 685b ldr r3, [r3, #4] - 800bdb2: 61bb str r3, [r7, #24] + 800c732: 68bb ldr r3, [r7, #8] + 800c734: 685b ldr r3, [r3, #4] + 800c736: 61bb str r3, [r7, #24] opts = (u32_t *)(void *)(tcphdr + 1); - 800bdb4: 69bb ldr r3, [r7, #24] - 800bdb6: 3314 adds r3, #20 - 800bdb8: 617b str r3, [r7, #20] + 800c738: 69bb ldr r3, [r7, #24] + 800c73a: 3314 adds r3, #20 + 800c73c: 617b str r3, [r7, #20] opts = LWIP_HOOK_TCP_OUT_ADD_TCPOPTS(p, tcphdr, pcb, opts); #endif LWIP_UNUSED_ARG(pcb); LWIP_UNUSED_ARG(sacks_len); LWIP_ASSERT("options not filled", (u8_t *)opts == ((u8_t *)(tcphdr + 1)) + sacks_len * 4 + LWIP_TCP_OPT_LENGTH_SEGMENT(optflags, pcb)); - 800bdba: 8bfb ldrh r3, [r7, #30] - 800bdbc: 009b lsls r3, r3, #2 - 800bdbe: 461a mov r2, r3 - 800bdc0: 79fb ldrb r3, [r7, #7] - 800bdc2: 009b lsls r3, r3, #2 - 800bdc4: f003 0304 and.w r3, r3, #4 - 800bdc8: 4413 add r3, r2 - 800bdca: 3314 adds r3, #20 - 800bdcc: 69ba ldr r2, [r7, #24] - 800bdce: 4413 add r3, r2 - 800bdd0: 697a ldr r2, [r7, #20] - 800bdd2: 429a cmp r2, r3 - 800bdd4: d006 beq.n 800bde4 - 800bdd6: 4b05 ldr r3, [pc, #20] @ (800bdec ) - 800bdd8: f240 7275 movw r2, #1909 @ 0x775 - 800bddc: 4906 ldr r1, [pc, #24] @ (800bdf8 ) - 800bdde: 4805 ldr r0, [pc, #20] @ (800bdf4 ) - 800bde0: f005 fc0a bl 80115f8 + 800c73e: 8bfb ldrh r3, [r7, #30] + 800c740: 009b lsls r3, r3, #2 + 800c742: 461a mov r2, r3 + 800c744: 79fb ldrb r3, [r7, #7] + 800c746: 009b lsls r3, r3, #2 + 800c748: f003 0304 and.w r3, r3, #4 + 800c74c: 4413 add r3, r2 + 800c74e: 3314 adds r3, #20 + 800c750: 69ba ldr r2, [r7, #24] + 800c752: 4413 add r3, r2 + 800c754: 697a ldr r2, [r7, #20] + 800c756: 429a cmp r2, r3 + 800c758: d006 beq.n 800c768 + 800c75a: 4b05 ldr r3, [pc, #20] @ (800c770 ) + 800c75c: f240 7275 movw r2, #1909 @ 0x775 + 800c760: 4906 ldr r1, [pc, #24] @ (800c77c ) + 800c762: 4805 ldr r0, [pc, #20] @ (800c778 ) + 800c764: f005 fc0a bl 8011f7c LWIP_UNUSED_ARG(optflags); /* for LWIP_NOASSERT */ LWIP_UNUSED_ARG(opts); /* for LWIP_NOASSERT */ } - 800bde4: bf00 nop - 800bde6: 3720 adds r7, #32 - 800bde8: 46bd mov sp, r7 - 800bdea: bd80 pop {r7, pc} - 800bdec: 0801769c .word 0x0801769c - 800bdf0: 08017dcc .word 0x08017dcc - 800bdf4: 080176f0 .word 0x080176f0 - 800bdf8: 08017cc4 .word 0x08017cc4 + 800c768: bf00 nop + 800c76a: 3720 adds r7, #32 + 800c76c: 46bd mov sp, r7 + 800c76e: bd80 pop {r7, pc} + 800c770: 0801801c .word 0x0801801c + 800c774: 0801874c .word 0x0801874c + 800c778: 08018070 .word 0x08018070 + 800c77c: 08018644 .word 0x08018644 -0800bdfc : +0800c780 : * header checksum and calling ip_output_if while handling netif hints and stats. */ static err_t tcp_output_control_segment(const struct tcp_pcb *pcb, struct pbuf *p, const ip_addr_t *src, const ip_addr_t *dst) { - 800bdfc: b580 push {r7, lr} - 800bdfe: b08a sub sp, #40 @ 0x28 - 800be00: af04 add r7, sp, #16 - 800be02: 60f8 str r0, [r7, #12] - 800be04: 60b9 str r1, [r7, #8] - 800be06: 607a str r2, [r7, #4] - 800be08: 603b str r3, [r7, #0] + 800c780: b580 push {r7, lr} + 800c782: b08a sub sp, #40 @ 0x28 + 800c784: af04 add r7, sp, #16 + 800c786: 60f8 str r0, [r7, #12] + 800c788: 60b9 str r1, [r7, #8] + 800c78a: 607a str r2, [r7, #4] + 800c78c: 603b str r3, [r7, #0] err_t err; struct netif *netif; LWIP_ASSERT("tcp_output_control_segment: invalid pbuf", p != NULL); - 800be0a: 68bb ldr r3, [r7, #8] - 800be0c: 2b00 cmp r3, #0 - 800be0e: d106 bne.n 800be1e - 800be10: 4b1c ldr r3, [pc, #112] @ (800be84 ) - 800be12: f240 7287 movw r2, #1927 @ 0x787 - 800be16: 491c ldr r1, [pc, #112] @ (800be88 ) - 800be18: 481c ldr r0, [pc, #112] @ (800be8c ) - 800be1a: f005 fbed bl 80115f8 + 800c78e: 68bb ldr r3, [r7, #8] + 800c790: 2b00 cmp r3, #0 + 800c792: d106 bne.n 800c7a2 + 800c794: 4b1c ldr r3, [pc, #112] @ (800c808 ) + 800c796: f240 7287 movw r2, #1927 @ 0x787 + 800c79a: 491c ldr r1, [pc, #112] @ (800c80c ) + 800c79c: 481c ldr r0, [pc, #112] @ (800c810 ) + 800c79e: f005 fbed bl 8011f7c netif = tcp_route(pcb, src, dst); - 800be1e: 683a ldr r2, [r7, #0] - 800be20: 6879 ldr r1, [r7, #4] - 800be22: 68f8 ldr r0, [r7, #12] - 800be24: f7fe ff42 bl 800acac - 800be28: 6138 str r0, [r7, #16] + 800c7a2: 683a ldr r2, [r7, #0] + 800c7a4: 6879 ldr r1, [r7, #4] + 800c7a6: 68f8 ldr r0, [r7, #12] + 800c7a8: f7fe ff42 bl 800b630 + 800c7ac: 6138 str r0, [r7, #16] if (netif == NULL) { - 800be2a: 693b ldr r3, [r7, #16] - 800be2c: 2b00 cmp r3, #0 - 800be2e: d102 bne.n 800be36 + 800c7ae: 693b ldr r3, [r7, #16] + 800c7b0: 2b00 cmp r3, #0 + 800c7b2: d102 bne.n 800c7ba err = ERR_RTE; - 800be30: 23fc movs r3, #252 @ 0xfc - 800be32: 75fb strb r3, [r7, #23] - 800be34: e01c b.n 800be70 + 800c7b4: 23fc movs r3, #252 @ 0xfc + 800c7b6: 75fb strb r3, [r7, #23] + 800c7b8: e01c b.n 800c7f4 struct tcp_hdr *tcphdr = (struct tcp_hdr *)p->payload; tcphdr->chksum = ip_chksum_pseudo(p, IP_PROTO_TCP, p->tot_len, src, dst); } #endif if (pcb != NULL) { - 800be36: 68fb ldr r3, [r7, #12] - 800be38: 2b00 cmp r3, #0 - 800be3a: d006 beq.n 800be4a + 800c7ba: 68fb ldr r3, [r7, #12] + 800c7bc: 2b00 cmp r3, #0 + 800c7be: d006 beq.n 800c7ce NETIF_SET_HINTS(netif, LWIP_CONST_CAST(struct netif_hint*, &(pcb->netif_hints))); ttl = pcb->ttl; - 800be3c: 68fb ldr r3, [r7, #12] - 800be3e: 7adb ldrb r3, [r3, #11] - 800be40: 75bb strb r3, [r7, #22] + 800c7c0: 68fb ldr r3, [r7, #12] + 800c7c2: 7adb ldrb r3, [r3, #11] + 800c7c4: 75bb strb r3, [r7, #22] tos = pcb->tos; - 800be42: 68fb ldr r3, [r7, #12] - 800be44: 7a9b ldrb r3, [r3, #10] - 800be46: 757b strb r3, [r7, #21] - 800be48: e003 b.n 800be52 + 800c7c6: 68fb ldr r3, [r7, #12] + 800c7c8: 7a9b ldrb r3, [r3, #10] + 800c7ca: 757b strb r3, [r7, #21] + 800c7cc: e003 b.n 800c7d6 } else { /* Send output with hardcoded TTL/HL since we have no access to the pcb */ ttl = TCP_TTL; - 800be4a: 23ff movs r3, #255 @ 0xff - 800be4c: 75bb strb r3, [r7, #22] + 800c7ce: 23ff movs r3, #255 @ 0xff + 800c7d0: 75bb strb r3, [r7, #22] tos = 0; - 800be4e: 2300 movs r3, #0 - 800be50: 757b strb r3, [r7, #21] + 800c7d2: 2300 movs r3, #0 + 800c7d4: 757b strb r3, [r7, #21] } TCP_STATS_INC(tcp.xmit); err = ip_output_if(p, src, dst, ttl, tos, IP_PROTO_TCP, netif); - 800be52: 7dba ldrb r2, [r7, #22] - 800be54: 693b ldr r3, [r7, #16] - 800be56: 9302 str r3, [sp, #8] - 800be58: 2306 movs r3, #6 - 800be5a: 9301 str r3, [sp, #4] - 800be5c: 7d7b ldrb r3, [r7, #21] - 800be5e: 9300 str r3, [sp, #0] - 800be60: 4613 mov r3, r2 - 800be62: 683a ldr r2, [r7, #0] - 800be64: 6879 ldr r1, [r7, #4] - 800be66: 68b8 ldr r0, [r7, #8] - 800be68: f004 f97c bl 8010164 - 800be6c: 4603 mov r3, r0 - 800be6e: 75fb strb r3, [r7, #23] + 800c7d6: 7dba ldrb r2, [r7, #22] + 800c7d8: 693b ldr r3, [r7, #16] + 800c7da: 9302 str r3, [sp, #8] + 800c7dc: 2306 movs r3, #6 + 800c7de: 9301 str r3, [sp, #4] + 800c7e0: 7d7b ldrb r3, [r7, #21] + 800c7e2: 9300 str r3, [sp, #0] + 800c7e4: 4613 mov r3, r2 + 800c7e6: 683a ldr r2, [r7, #0] + 800c7e8: 6879 ldr r1, [r7, #4] + 800c7ea: 68b8 ldr r0, [r7, #8] + 800c7ec: f004 f97c bl 8010ae8 + 800c7f0: 4603 mov r3, r0 + 800c7f2: 75fb strb r3, [r7, #23] NETIF_RESET_HINTS(netif); } pbuf_free(p); - 800be70: 68b8 ldr r0, [r7, #8] - 800be72: f7fa fdd9 bl 8006a28 + 800c7f4: 68b8 ldr r0, [r7, #8] + 800c7f6: f7fa fdd9 bl 80073ac return err; - 800be76: f997 3017 ldrsb.w r3, [r7, #23] + 800c7fa: f997 3017 ldrsb.w r3, [r7, #23] } - 800be7a: 4618 mov r0, r3 - 800be7c: 3718 adds r7, #24 - 800be7e: 46bd mov sp, r7 - 800be80: bd80 pop {r7, pc} - 800be82: bf00 nop - 800be84: 0801769c .word 0x0801769c - 800be88: 08017df4 .word 0x08017df4 - 800be8c: 080176f0 .word 0x080176f0 + 800c7fe: 4618 mov r0, r3 + 800c800: 3718 adds r7, #24 + 800c802: 46bd mov sp, r7 + 800c804: bd80 pop {r7, pc} + 800c806: bf00 nop + 800c808: 0801801c .word 0x0801801c + 800c80c: 08018774 .word 0x08018774 + 800c810: 08018070 .word 0x08018070 -0800be90 : +0800c814 : */ void tcp_rst(const struct tcp_pcb *pcb, u32_t seqno, u32_t ackno, const ip_addr_t *local_ip, const ip_addr_t *remote_ip, u16_t local_port, u16_t remote_port) { - 800be90: b590 push {r4, r7, lr} - 800be92: b08b sub sp, #44 @ 0x2c - 800be94: af04 add r7, sp, #16 - 800be96: 60f8 str r0, [r7, #12] - 800be98: 60b9 str r1, [r7, #8] - 800be9a: 607a str r2, [r7, #4] - 800be9c: 603b str r3, [r7, #0] + 800c814: b590 push {r4, r7, lr} + 800c816: b08b sub sp, #44 @ 0x2c + 800c818: af04 add r7, sp, #16 + 800c81a: 60f8 str r0, [r7, #12] + 800c81c: 60b9 str r1, [r7, #8] + 800c81e: 607a str r2, [r7, #4] + 800c820: 603b str r3, [r7, #0] struct pbuf *p; u16_t wnd; u8_t optlen; LWIP_ASSERT("tcp_rst: invalid local_ip", local_ip != NULL); - 800be9e: 683b ldr r3, [r7, #0] - 800bea0: 2b00 cmp r3, #0 - 800bea2: d106 bne.n 800beb2 - 800bea4: 4b1f ldr r3, [pc, #124] @ (800bf24 ) - 800bea6: f240 72c4 movw r2, #1988 @ 0x7c4 - 800beaa: 491f ldr r1, [pc, #124] @ (800bf28 ) - 800beac: 481f ldr r0, [pc, #124] @ (800bf2c ) - 800beae: f005 fba3 bl 80115f8 + 800c822: 683b ldr r3, [r7, #0] + 800c824: 2b00 cmp r3, #0 + 800c826: d106 bne.n 800c836 + 800c828: 4b1f ldr r3, [pc, #124] @ (800c8a8 ) + 800c82a: f240 72c4 movw r2, #1988 @ 0x7c4 + 800c82e: 491f ldr r1, [pc, #124] @ (800c8ac ) + 800c830: 481f ldr r0, [pc, #124] @ (800c8b0 ) + 800c832: f005 fba3 bl 8011f7c LWIP_ASSERT("tcp_rst: invalid remote_ip", remote_ip != NULL); - 800beb2: 6abb ldr r3, [r7, #40] @ 0x28 - 800beb4: 2b00 cmp r3, #0 - 800beb6: d106 bne.n 800bec6 - 800beb8: 4b1a ldr r3, [pc, #104] @ (800bf24 ) - 800beba: f240 72c5 movw r2, #1989 @ 0x7c5 - 800bebe: 491c ldr r1, [pc, #112] @ (800bf30 ) - 800bec0: 481a ldr r0, [pc, #104] @ (800bf2c ) - 800bec2: f005 fb99 bl 80115f8 + 800c836: 6abb ldr r3, [r7, #40] @ 0x28 + 800c838: 2b00 cmp r3, #0 + 800c83a: d106 bne.n 800c84a + 800c83c: 4b1a ldr r3, [pc, #104] @ (800c8a8 ) + 800c83e: f240 72c5 movw r2, #1989 @ 0x7c5 + 800c842: 491c ldr r1, [pc, #112] @ (800c8b4 ) + 800c844: 481a ldr r0, [pc, #104] @ (800c8b0 ) + 800c846: f005 fb99 bl 8011f7c optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(0, pcb); - 800bec6: 2300 movs r3, #0 - 800bec8: 75fb strb r3, [r7, #23] + 800c84a: 2300 movs r3, #0 + 800c84c: 75fb strb r3, [r7, #23] #if LWIP_WND_SCALE wnd = PP_HTONS(((TCP_WND >> TCP_RCV_SCALE) & 0xFFFF)); #else wnd = PP_HTONS(TCP_WND); - 800beca: f246 0308 movw r3, #24584 @ 0x6008 - 800bece: 82bb strh r3, [r7, #20] + 800c84e: f246 0308 movw r3, #24584 @ 0x6008 + 800c852: 82bb strh r3, [r7, #20] #endif p = tcp_output_alloc_header_common(ackno, optlen, 0, lwip_htonl(seqno), local_port, - 800bed0: 7dfb ldrb r3, [r7, #23] - 800bed2: b29c uxth r4, r3 - 800bed4: 68b8 ldr r0, [r7, #8] - 800bed6: f7f9 fa6c bl 80053b2 - 800beda: 4602 mov r2, r0 - 800bedc: 8abb ldrh r3, [r7, #20] - 800bede: 9303 str r3, [sp, #12] - 800bee0: 2314 movs r3, #20 - 800bee2: 9302 str r3, [sp, #8] - 800bee4: 8e3b ldrh r3, [r7, #48] @ 0x30 - 800bee6: 9301 str r3, [sp, #4] - 800bee8: 8dbb ldrh r3, [r7, #44] @ 0x2c - 800beea: 9300 str r3, [sp, #0] - 800beec: 4613 mov r3, r2 - 800beee: 2200 movs r2, #0 - 800bef0: 4621 mov r1, r4 - 800bef2: 6878 ldr r0, [r7, #4] - 800bef4: f7ff fe94 bl 800bc20 - 800bef8: 6138 str r0, [r7, #16] + 800c854: 7dfb ldrb r3, [r7, #23] + 800c856: b29c uxth r4, r3 + 800c858: 68b8 ldr r0, [r7, #8] + 800c85a: f7f9 fa6c bl 8005d36 + 800c85e: 4602 mov r2, r0 + 800c860: 8abb ldrh r3, [r7, #20] + 800c862: 9303 str r3, [sp, #12] + 800c864: 2314 movs r3, #20 + 800c866: 9302 str r3, [sp, #8] + 800c868: 8e3b ldrh r3, [r7, #48] @ 0x30 + 800c86a: 9301 str r3, [sp, #4] + 800c86c: 8dbb ldrh r3, [r7, #44] @ 0x2c + 800c86e: 9300 str r3, [sp, #0] + 800c870: 4613 mov r3, r2 + 800c872: 2200 movs r2, #0 + 800c874: 4621 mov r1, r4 + 800c876: 6878 ldr r0, [r7, #4] + 800c878: f7ff fe94 bl 800c5a4 + 800c87c: 6138 str r0, [r7, #16] remote_port, TCP_RST | TCP_ACK, wnd); if (p == NULL) { - 800befa: 693b ldr r3, [r7, #16] - 800befc: 2b00 cmp r3, #0 - 800befe: d00c beq.n 800bf1a + 800c87e: 693b ldr r3, [r7, #16] + 800c880: 2b00 cmp r3, #0 + 800c882: d00c beq.n 800c89e LWIP_DEBUGF(TCP_DEBUG, ("tcp_rst: could not allocate memory for pbuf\n")); return; } tcp_output_fill_options(pcb, p, 0, optlen); - 800bf00: 7dfb ldrb r3, [r7, #23] - 800bf02: 2200 movs r2, #0 - 800bf04: 6939 ldr r1, [r7, #16] - 800bf06: 68f8 ldr r0, [r7, #12] - 800bf08: f7ff ff3a bl 800bd80 + 800c884: 7dfb ldrb r3, [r7, #23] + 800c886: 2200 movs r2, #0 + 800c888: 6939 ldr r1, [r7, #16] + 800c88a: 68f8 ldr r0, [r7, #12] + 800c88c: f7ff ff3a bl 800c704 MIB2_STATS_INC(mib2.tcpoutrsts); tcp_output_control_segment(pcb, p, local_ip, remote_ip); - 800bf0c: 6abb ldr r3, [r7, #40] @ 0x28 - 800bf0e: 683a ldr r2, [r7, #0] - 800bf10: 6939 ldr r1, [r7, #16] - 800bf12: 68f8 ldr r0, [r7, #12] - 800bf14: f7ff ff72 bl 800bdfc - 800bf18: e000 b.n 800bf1c + 800c890: 6abb ldr r3, [r7, #40] @ 0x28 + 800c892: 683a ldr r2, [r7, #0] + 800c894: 6939 ldr r1, [r7, #16] + 800c896: 68f8 ldr r0, [r7, #12] + 800c898: f7ff ff72 bl 800c780 + 800c89c: e000 b.n 800c8a0 return; - 800bf1a: bf00 nop + 800c89e: bf00 nop LWIP_DEBUGF(TCP_RST_DEBUG, ("tcp_rst: seqno %"U32_F" ackno %"U32_F".\n", seqno, ackno)); } - 800bf1c: 371c adds r7, #28 - 800bf1e: 46bd mov sp, r7 - 800bf20: bd90 pop {r4, r7, pc} - 800bf22: bf00 nop - 800bf24: 0801769c .word 0x0801769c - 800bf28: 08017e20 .word 0x08017e20 - 800bf2c: 080176f0 .word 0x080176f0 - 800bf30: 08017e3c .word 0x08017e3c + 800c8a0: 371c adds r7, #28 + 800c8a2: 46bd mov sp, r7 + 800c8a4: bd90 pop {r4, r7, pc} + 800c8a6: bf00 nop + 800c8a8: 0801801c .word 0x0801801c + 800c8ac: 080187a0 .word 0x080187a0 + 800c8b0: 08018070 .word 0x08018070 + 800c8b4: 080187bc .word 0x080187bc -0800bf34 : +0800c8b8 : * * @param pcb Protocol control block for the TCP connection to send the ACK */ err_t tcp_send_empty_ack(struct tcp_pcb *pcb) { - 800bf34: b590 push {r4, r7, lr} - 800bf36: b087 sub sp, #28 - 800bf38: af00 add r7, sp, #0 - 800bf3a: 6078 str r0, [r7, #4] + 800c8b8: b590 push {r4, r7, lr} + 800c8ba: b087 sub sp, #28 + 800c8bc: af00 add r7, sp, #0 + 800c8be: 6078 str r0, [r7, #4] err_t err; struct pbuf *p; u8_t optlen, optflags = 0; - 800bf3c: 2300 movs r3, #0 - 800bf3e: 75fb strb r3, [r7, #23] + 800c8c0: 2300 movs r3, #0 + 800c8c2: 75fb strb r3, [r7, #23] u8_t num_sacks = 0; - 800bf40: 2300 movs r3, #0 - 800bf42: 75bb strb r3, [r7, #22] + 800c8c4: 2300 movs r3, #0 + 800c8c6: 75bb strb r3, [r7, #22] LWIP_ASSERT("tcp_send_empty_ack: invalid pcb", pcb != NULL); - 800bf44: 687b ldr r3, [r7, #4] - 800bf46: 2b00 cmp r3, #0 - 800bf48: d106 bne.n 800bf58 - 800bf4a: 4b28 ldr r3, [pc, #160] @ (800bfec ) - 800bf4c: f240 72ea movw r2, #2026 @ 0x7ea - 800bf50: 4927 ldr r1, [pc, #156] @ (800bff0 ) - 800bf52: 4828 ldr r0, [pc, #160] @ (800bff4 ) - 800bf54: f005 fb50 bl 80115f8 + 800c8c8: 687b ldr r3, [r7, #4] + 800c8ca: 2b00 cmp r3, #0 + 800c8cc: d106 bne.n 800c8dc + 800c8ce: 4b28 ldr r3, [pc, #160] @ (800c970 ) + 800c8d0: f240 72ea movw r2, #2026 @ 0x7ea + 800c8d4: 4927 ldr r1, [pc, #156] @ (800c974 ) + 800c8d6: 4828 ldr r0, [pc, #160] @ (800c978 ) + 800c8d8: f005 fb50 bl 8011f7c #if LWIP_TCP_TIMESTAMPS if (pcb->flags & TF_TIMESTAMP) { optflags = TF_SEG_OPTS_TS; } #endif optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(optflags, pcb); - 800bf58: 7dfb ldrb r3, [r7, #23] - 800bf5a: 009b lsls r3, r3, #2 - 800bf5c: b2db uxtb r3, r3 - 800bf5e: f003 0304 and.w r3, r3, #4 - 800bf62: 757b strb r3, [r7, #21] + 800c8dc: 7dfb ldrb r3, [r7, #23] + 800c8de: 009b lsls r3, r3, #2 + 800c8e0: b2db uxtb r3, r3 + 800c8e2: f003 0304 and.w r3, r3, #4 + 800c8e6: 757b strb r3, [r7, #21] if ((num_sacks = tcp_get_num_sacks(pcb, optlen)) > 0) { optlen += 4 + num_sacks * 8; /* 4 bytes for header (including 2*NOP), plus 8B for each SACK */ } #endif p = tcp_output_alloc_header(pcb, optlen, 0, lwip_htonl(pcb->snd_nxt)); - 800bf64: 7d7b ldrb r3, [r7, #21] - 800bf66: b29c uxth r4, r3 - 800bf68: 687b ldr r3, [r7, #4] - 800bf6a: 6d1b ldr r3, [r3, #80] @ 0x50 - 800bf6c: 4618 mov r0, r3 - 800bf6e: f7f9 fa20 bl 80053b2 - 800bf72: 4603 mov r3, r0 - 800bf74: 2200 movs r2, #0 - 800bf76: 4621 mov r1, r4 - 800bf78: 6878 ldr r0, [r7, #4] - 800bf7a: f7ff fec3 bl 800bd04 - 800bf7e: 6138 str r0, [r7, #16] + 800c8e8: 7d7b ldrb r3, [r7, #21] + 800c8ea: b29c uxth r4, r3 + 800c8ec: 687b ldr r3, [r7, #4] + 800c8ee: 6d1b ldr r3, [r3, #80] @ 0x50 + 800c8f0: 4618 mov r0, r3 + 800c8f2: f7f9 fa20 bl 8005d36 + 800c8f6: 4603 mov r3, r0 + 800c8f8: 2200 movs r2, #0 + 800c8fa: 4621 mov r1, r4 + 800c8fc: 6878 ldr r0, [r7, #4] + 800c8fe: f7ff fec3 bl 800c688 + 800c902: 6138 str r0, [r7, #16] if (p == NULL) { - 800bf80: 693b ldr r3, [r7, #16] - 800bf82: 2b00 cmp r3, #0 - 800bf84: d109 bne.n 800bf9a + 800c904: 693b ldr r3, [r7, #16] + 800c906: 2b00 cmp r3, #0 + 800c908: d109 bne.n 800c91e /* let tcp_fasttmr retry sending this ACK */ tcp_set_flags(pcb, TF_ACK_DELAY | TF_ACK_NOW); - 800bf86: 687b ldr r3, [r7, #4] - 800bf88: 8b5b ldrh r3, [r3, #26] - 800bf8a: f043 0303 orr.w r3, r3, #3 - 800bf8e: b29a uxth r2, r3 - 800bf90: 687b ldr r3, [r7, #4] - 800bf92: 835a strh r2, [r3, #26] + 800c90a: 687b ldr r3, [r7, #4] + 800c90c: 8b5b ldrh r3, [r3, #26] + 800c90e: f043 0303 orr.w r3, r3, #3 + 800c912: b29a uxth r2, r3 + 800c914: 687b ldr r3, [r7, #4] + 800c916: 835a strh r2, [r3, #26] LWIP_DEBUGF(TCP_OUTPUT_DEBUG, ("tcp_output: (ACK) could not allocate pbuf\n")); return ERR_BUF; - 800bf94: f06f 0301 mvn.w r3, #1 - 800bf98: e023 b.n 800bfe2 + 800c918: f06f 0301 mvn.w r3, #1 + 800c91c: e023 b.n 800c966 } tcp_output_fill_options(pcb, p, optflags, num_sacks); - 800bf9a: 7dbb ldrb r3, [r7, #22] - 800bf9c: 7dfa ldrb r2, [r7, #23] - 800bf9e: 6939 ldr r1, [r7, #16] - 800bfa0: 6878 ldr r0, [r7, #4] - 800bfa2: f7ff feed bl 800bd80 + 800c91e: 7dbb ldrb r3, [r7, #22] + 800c920: 7dfa ldrb r2, [r7, #23] + 800c922: 6939 ldr r1, [r7, #16] + 800c924: 6878 ldr r0, [r7, #4] + 800c926: f7ff feed bl 800c704 pcb->ts_lastacksent = pcb->rcv_nxt; #endif LWIP_DEBUGF(TCP_OUTPUT_DEBUG, ("tcp_output: sending ACK for %"U32_F"\n", pcb->rcv_nxt)); err = tcp_output_control_segment(pcb, p, &pcb->local_ip, &pcb->remote_ip); - 800bfa6: 687a ldr r2, [r7, #4] - 800bfa8: 687b ldr r3, [r7, #4] - 800bfaa: 3304 adds r3, #4 - 800bfac: 6939 ldr r1, [r7, #16] - 800bfae: 6878 ldr r0, [r7, #4] - 800bfb0: f7ff ff24 bl 800bdfc - 800bfb4: 4603 mov r3, r0 - 800bfb6: 73fb strb r3, [r7, #15] + 800c92a: 687a ldr r2, [r7, #4] + 800c92c: 687b ldr r3, [r7, #4] + 800c92e: 3304 adds r3, #4 + 800c930: 6939 ldr r1, [r7, #16] + 800c932: 6878 ldr r0, [r7, #4] + 800c934: f7ff ff24 bl 800c780 + 800c938: 4603 mov r3, r0 + 800c93a: 73fb strb r3, [r7, #15] if (err != ERR_OK) { - 800bfb8: f997 300f ldrsb.w r3, [r7, #15] - 800bfbc: 2b00 cmp r3, #0 - 800bfbe: d007 beq.n 800bfd0 + 800c93c: f997 300f ldrsb.w r3, [r7, #15] + 800c940: 2b00 cmp r3, #0 + 800c942: d007 beq.n 800c954 /* let tcp_fasttmr retry sending this ACK */ tcp_set_flags(pcb, TF_ACK_DELAY | TF_ACK_NOW); - 800bfc0: 687b ldr r3, [r7, #4] - 800bfc2: 8b5b ldrh r3, [r3, #26] - 800bfc4: f043 0303 orr.w r3, r3, #3 - 800bfc8: b29a uxth r2, r3 - 800bfca: 687b ldr r3, [r7, #4] - 800bfcc: 835a strh r2, [r3, #26] - 800bfce: e006 b.n 800bfde + 800c944: 687b ldr r3, [r7, #4] + 800c946: 8b5b ldrh r3, [r3, #26] + 800c948: f043 0303 orr.w r3, r3, #3 + 800c94c: b29a uxth r2, r3 + 800c94e: 687b ldr r3, [r7, #4] + 800c950: 835a strh r2, [r3, #26] + 800c952: e006 b.n 800c962 } else { /* remove ACK flags from the PCB, as we sent an empty ACK now */ tcp_clear_flags(pcb, TF_ACK_DELAY | TF_ACK_NOW); - 800bfd0: 687b ldr r3, [r7, #4] - 800bfd2: 8b5b ldrh r3, [r3, #26] - 800bfd4: f023 0303 bic.w r3, r3, #3 - 800bfd8: b29a uxth r2, r3 - 800bfda: 687b ldr r3, [r7, #4] - 800bfdc: 835a strh r2, [r3, #26] + 800c954: 687b ldr r3, [r7, #4] + 800c956: 8b5b ldrh r3, [r3, #26] + 800c958: f023 0303 bic.w r3, r3, #3 + 800c95c: b29a uxth r2, r3 + 800c95e: 687b ldr r3, [r7, #4] + 800c960: 835a strh r2, [r3, #26] } return err; - 800bfde: f997 300f ldrsb.w r3, [r7, #15] + 800c962: f997 300f ldrsb.w r3, [r7, #15] } - 800bfe2: 4618 mov r0, r3 - 800bfe4: 371c adds r7, #28 - 800bfe6: 46bd mov sp, r7 - 800bfe8: bd90 pop {r4, r7, pc} - 800bfea: bf00 nop - 800bfec: 0801769c .word 0x0801769c - 800bff0: 08017e58 .word 0x08017e58 - 800bff4: 080176f0 .word 0x080176f0 + 800c966: 4618 mov r0, r3 + 800c968: 371c adds r7, #28 + 800c96a: 46bd mov sp, r7 + 800c96c: bd90 pop {r4, r7, pc} + 800c96e: bf00 nop + 800c970: 0801801c .word 0x0801801c + 800c974: 080187d8 .word 0x080187d8 + 800c978: 08018070 .word 0x08018070 -0800bff8 : +0800c97c : * * @param pcb the tcp_pcb for which to send a keepalive packet */ err_t tcp_keepalive(struct tcp_pcb *pcb) { - 800bff8: b590 push {r4, r7, lr} - 800bffa: b087 sub sp, #28 - 800bffc: af00 add r7, sp, #0 - 800bffe: 6078 str r0, [r7, #4] + 800c97c: b590 push {r4, r7, lr} + 800c97e: b087 sub sp, #28 + 800c980: af00 add r7, sp, #0 + 800c982: 6078 str r0, [r7, #4] err_t err; struct pbuf *p; u8_t optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(0, pcb); - 800c000: 2300 movs r3, #0 - 800c002: 75fb strb r3, [r7, #23] + 800c984: 2300 movs r3, #0 + 800c986: 75fb strb r3, [r7, #23] LWIP_ASSERT("tcp_keepalive: invalid pcb", pcb != NULL); - 800c004: 687b ldr r3, [r7, #4] - 800c006: 2b00 cmp r3, #0 - 800c008: d106 bne.n 800c018 - 800c00a: 4b18 ldr r3, [pc, #96] @ (800c06c ) - 800c00c: f640 0224 movw r2, #2084 @ 0x824 - 800c010: 4917 ldr r1, [pc, #92] @ (800c070 ) - 800c012: 4818 ldr r0, [pc, #96] @ (800c074 ) - 800c014: f005 faf0 bl 80115f8 + 800c988: 687b ldr r3, [r7, #4] + 800c98a: 2b00 cmp r3, #0 + 800c98c: d106 bne.n 800c99c + 800c98e: 4b18 ldr r3, [pc, #96] @ (800c9f0 ) + 800c990: f640 0224 movw r2, #2084 @ 0x824 + 800c994: 4917 ldr r1, [pc, #92] @ (800c9f4 ) + 800c996: 4818 ldr r0, [pc, #96] @ (800c9f8 ) + 800c998: f005 faf0 bl 8011f7c LWIP_DEBUGF(TCP_DEBUG, ("\n")); LWIP_DEBUGF(TCP_DEBUG, ("tcp_keepalive: tcp_ticks %"U32_F" pcb->tmr %"U32_F" pcb->keep_cnt_sent %"U16_F"\n", tcp_ticks, pcb->tmr, (u16_t)pcb->keep_cnt_sent)); p = tcp_output_alloc_header(pcb, optlen, 0, lwip_htonl(pcb->snd_nxt - 1)); - 800c018: 7dfb ldrb r3, [r7, #23] - 800c01a: b29c uxth r4, r3 - 800c01c: 687b ldr r3, [r7, #4] - 800c01e: 6d1b ldr r3, [r3, #80] @ 0x50 - 800c020: 3b01 subs r3, #1 - 800c022: 4618 mov r0, r3 - 800c024: f7f9 f9c5 bl 80053b2 - 800c028: 4603 mov r3, r0 - 800c02a: 2200 movs r2, #0 - 800c02c: 4621 mov r1, r4 - 800c02e: 6878 ldr r0, [r7, #4] - 800c030: f7ff fe68 bl 800bd04 - 800c034: 6138 str r0, [r7, #16] + 800c99c: 7dfb ldrb r3, [r7, #23] + 800c99e: b29c uxth r4, r3 + 800c9a0: 687b ldr r3, [r7, #4] + 800c9a2: 6d1b ldr r3, [r3, #80] @ 0x50 + 800c9a4: 3b01 subs r3, #1 + 800c9a6: 4618 mov r0, r3 + 800c9a8: f7f9 f9c5 bl 8005d36 + 800c9ac: 4603 mov r3, r0 + 800c9ae: 2200 movs r2, #0 + 800c9b0: 4621 mov r1, r4 + 800c9b2: 6878 ldr r0, [r7, #4] + 800c9b4: f7ff fe68 bl 800c688 + 800c9b8: 6138 str r0, [r7, #16] if (p == NULL) { - 800c036: 693b ldr r3, [r7, #16] - 800c038: 2b00 cmp r3, #0 - 800c03a: d102 bne.n 800c042 + 800c9ba: 693b ldr r3, [r7, #16] + 800c9bc: 2b00 cmp r3, #0 + 800c9be: d102 bne.n 800c9c6 LWIP_DEBUGF(TCP_DEBUG, ("tcp_keepalive: could not allocate memory for pbuf\n")); return ERR_MEM; - 800c03c: f04f 33ff mov.w r3, #4294967295 - 800c040: e010 b.n 800c064 + 800c9c0: f04f 33ff mov.w r3, #4294967295 + 800c9c4: e010 b.n 800c9e8 } tcp_output_fill_options(pcb, p, 0, optlen); - 800c042: 7dfb ldrb r3, [r7, #23] - 800c044: 2200 movs r2, #0 - 800c046: 6939 ldr r1, [r7, #16] - 800c048: 6878 ldr r0, [r7, #4] - 800c04a: f7ff fe99 bl 800bd80 + 800c9c6: 7dfb ldrb r3, [r7, #23] + 800c9c8: 2200 movs r2, #0 + 800c9ca: 6939 ldr r1, [r7, #16] + 800c9cc: 6878 ldr r0, [r7, #4] + 800c9ce: f7ff fe99 bl 800c704 err = tcp_output_control_segment(pcb, p, &pcb->local_ip, &pcb->remote_ip); - 800c04e: 687a ldr r2, [r7, #4] - 800c050: 687b ldr r3, [r7, #4] - 800c052: 3304 adds r3, #4 - 800c054: 6939 ldr r1, [r7, #16] - 800c056: 6878 ldr r0, [r7, #4] - 800c058: f7ff fed0 bl 800bdfc - 800c05c: 4603 mov r3, r0 - 800c05e: 73fb strb r3, [r7, #15] + 800c9d2: 687a ldr r2, [r7, #4] + 800c9d4: 687b ldr r3, [r7, #4] + 800c9d6: 3304 adds r3, #4 + 800c9d8: 6939 ldr r1, [r7, #16] + 800c9da: 6878 ldr r0, [r7, #4] + 800c9dc: f7ff fed0 bl 800c780 + 800c9e0: 4603 mov r3, r0 + 800c9e2: 73fb strb r3, [r7, #15] LWIP_DEBUGF(TCP_DEBUG, ("tcp_keepalive: seqno %"U32_F" ackno %"U32_F" err %d.\n", pcb->snd_nxt - 1, pcb->rcv_nxt, (int)err)); return err; - 800c060: f997 300f ldrsb.w r3, [r7, #15] + 800c9e4: f997 300f ldrsb.w r3, [r7, #15] } - 800c064: 4618 mov r0, r3 - 800c066: 371c adds r7, #28 - 800c068: 46bd mov sp, r7 - 800c06a: bd90 pop {r4, r7, pc} - 800c06c: 0801769c .word 0x0801769c - 800c070: 08017e78 .word 0x08017e78 - 800c074: 080176f0 .word 0x080176f0 + 800c9e8: 4618 mov r0, r3 + 800c9ea: 371c adds r7, #28 + 800c9ec: 46bd mov sp, r7 + 800c9ee: bd90 pop {r4, r7, pc} + 800c9f0: 0801801c .word 0x0801801c + 800c9f4: 080187f8 .word 0x080187f8 + 800c9f8: 08018070 .word 0x08018070 -0800c078 : +0800c9fc : * * @param pcb the tcp_pcb for which to send a zero-window probe packet */ err_t tcp_zero_window_probe(struct tcp_pcb *pcb) { - 800c078: b590 push {r4, r7, lr} - 800c07a: b08b sub sp, #44 @ 0x2c - 800c07c: af00 add r7, sp, #0 - 800c07e: 6078 str r0, [r7, #4] + 800c9fc: b590 push {r4, r7, lr} + 800c9fe: b08b sub sp, #44 @ 0x2c + 800ca00: af00 add r7, sp, #0 + 800ca02: 6078 str r0, [r7, #4] struct tcp_hdr *tcphdr; struct tcp_seg *seg; u16_t len; u8_t is_fin; u32_t snd_nxt; u8_t optlen = LWIP_TCP_OPT_LENGTH_SEGMENT(0, pcb); - 800c080: 2300 movs r3, #0 - 800c082: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 800ca04: 2300 movs r3, #0 + 800ca06: f887 3027 strb.w r3, [r7, #39] @ 0x27 LWIP_ASSERT("tcp_zero_window_probe: invalid pcb", pcb != NULL); - 800c086: 687b ldr r3, [r7, #4] - 800c088: 2b00 cmp r3, #0 - 800c08a: d106 bne.n 800c09a - 800c08c: 4b4c ldr r3, [pc, #304] @ (800c1c0 ) - 800c08e: f640 024f movw r2, #2127 @ 0x84f - 800c092: 494c ldr r1, [pc, #304] @ (800c1c4 ) - 800c094: 484c ldr r0, [pc, #304] @ (800c1c8 ) - 800c096: f005 faaf bl 80115f8 + 800ca0a: 687b ldr r3, [r7, #4] + 800ca0c: 2b00 cmp r3, #0 + 800ca0e: d106 bne.n 800ca1e + 800ca10: 4b4c ldr r3, [pc, #304] @ (800cb44 ) + 800ca12: f640 024f movw r2, #2127 @ 0x84f + 800ca16: 494c ldr r1, [pc, #304] @ (800cb48 ) + 800ca18: 484c ldr r0, [pc, #304] @ (800cb4c ) + 800ca1a: f005 faaf bl 8011f7c ("tcp_zero_window_probe: tcp_ticks %"U32_F " pcb->tmr %"U32_F" pcb->keep_cnt_sent %"U16_F"\n", tcp_ticks, pcb->tmr, (u16_t)pcb->keep_cnt_sent)); /* Only consider unsent, persist timer should be off when there is data in-flight */ seg = pcb->unsent; - 800c09a: 687b ldr r3, [r7, #4] - 800c09c: 6edb ldr r3, [r3, #108] @ 0x6c - 800c09e: 623b str r3, [r7, #32] + 800ca1e: 687b ldr r3, [r7, #4] + 800ca20: 6edb ldr r3, [r3, #108] @ 0x6c + 800ca22: 623b str r3, [r7, #32] if (seg == NULL) { - 800c0a0: 6a3b ldr r3, [r7, #32] - 800c0a2: 2b00 cmp r3, #0 - 800c0a4: d101 bne.n 800c0aa + 800ca24: 6a3b ldr r3, [r7, #32] + 800ca26: 2b00 cmp r3, #0 + 800ca28: d101 bne.n 800ca2e /* Not expected, persist timer should be off when the send buffer is empty */ return ERR_OK; - 800c0a6: 2300 movs r3, #0 - 800c0a8: e086 b.n 800c1b8 + 800ca2a: 2300 movs r3, #0 + 800ca2c: e086 b.n 800cb3c /* increment probe count. NOTE: we record probe even if it fails to actually transmit due to an error. This ensures memory exhaustion/ routing problem doesn't leave a zero-window pcb as an indefinite zombie. RTO mechanism has similar behavior, see pcb->nrtx */ if (pcb->persist_probe < 0xFF) { - 800c0aa: 687b ldr r3, [r7, #4] - 800c0ac: f893 309a ldrb.w r3, [r3, #154] @ 0x9a - 800c0b0: 2bff cmp r3, #255 @ 0xff - 800c0b2: d007 beq.n 800c0c4 + 800ca2e: 687b ldr r3, [r7, #4] + 800ca30: f893 309a ldrb.w r3, [r3, #154] @ 0x9a + 800ca34: 2bff cmp r3, #255 @ 0xff + 800ca36: d007 beq.n 800ca48 ++pcb->persist_probe; - 800c0b4: 687b ldr r3, [r7, #4] - 800c0b6: f893 309a ldrb.w r3, [r3, #154] @ 0x9a - 800c0ba: 3301 adds r3, #1 - 800c0bc: b2da uxtb r2, r3 - 800c0be: 687b ldr r3, [r7, #4] - 800c0c0: f883 209a strb.w r2, [r3, #154] @ 0x9a + 800ca38: 687b ldr r3, [r7, #4] + 800ca3a: f893 309a ldrb.w r3, [r3, #154] @ 0x9a + 800ca3e: 3301 adds r3, #1 + 800ca40: b2da uxtb r2, r3 + 800ca42: 687b ldr r3, [r7, #4] + 800ca44: f883 209a strb.w r2, [r3, #154] @ 0x9a } is_fin = ((TCPH_FLAGS(seg->tcphdr) & TCP_FIN) != 0) && (seg->len == 0); - 800c0c4: 6a3b ldr r3, [r7, #32] - 800c0c6: 68db ldr r3, [r3, #12] - 800c0c8: 899b ldrh r3, [r3, #12] - 800c0ca: b29b uxth r3, r3 - 800c0cc: 4618 mov r0, r3 - 800c0ce: f7f9 f95b bl 8005388 - 800c0d2: 4603 mov r3, r0 - 800c0d4: b2db uxtb r3, r3 - 800c0d6: f003 0301 and.w r3, r3, #1 - 800c0da: 2b00 cmp r3, #0 - 800c0dc: d005 beq.n 800c0ea - 800c0de: 6a3b ldr r3, [r7, #32] - 800c0e0: 891b ldrh r3, [r3, #8] - 800c0e2: 2b00 cmp r3, #0 - 800c0e4: d101 bne.n 800c0ea - 800c0e6: 2301 movs r3, #1 - 800c0e8: e000 b.n 800c0ec - 800c0ea: 2300 movs r3, #0 - 800c0ec: 77fb strb r3, [r7, #31] + 800ca48: 6a3b ldr r3, [r7, #32] + 800ca4a: 68db ldr r3, [r3, #12] + 800ca4c: 899b ldrh r3, [r3, #12] + 800ca4e: b29b uxth r3, r3 + 800ca50: 4618 mov r0, r3 + 800ca52: f7f9 f95b bl 8005d0c + 800ca56: 4603 mov r3, r0 + 800ca58: b2db uxtb r3, r3 + 800ca5a: f003 0301 and.w r3, r3, #1 + 800ca5e: 2b00 cmp r3, #0 + 800ca60: d005 beq.n 800ca6e + 800ca62: 6a3b ldr r3, [r7, #32] + 800ca64: 891b ldrh r3, [r3, #8] + 800ca66: 2b00 cmp r3, #0 + 800ca68: d101 bne.n 800ca6e + 800ca6a: 2301 movs r3, #1 + 800ca6c: e000 b.n 800ca70 + 800ca6e: 2300 movs r3, #0 + 800ca70: 77fb strb r3, [r7, #31] /* we want to send one seqno: either FIN or data (no options) */ len = is_fin ? 0 : 1; - 800c0ee: 7ffb ldrb r3, [r7, #31] - 800c0f0: 2b00 cmp r3, #0 - 800c0f2: bf0c ite eq - 800c0f4: 2301 moveq r3, #1 - 800c0f6: 2300 movne r3, #0 - 800c0f8: b2db uxtb r3, r3 - 800c0fa: 83bb strh r3, [r7, #28] + 800ca72: 7ffb ldrb r3, [r7, #31] + 800ca74: 2b00 cmp r3, #0 + 800ca76: bf0c ite eq + 800ca78: 2301 moveq r3, #1 + 800ca7a: 2300 movne r3, #0 + 800ca7c: b2db uxtb r3, r3 + 800ca7e: 83bb strh r3, [r7, #28] p = tcp_output_alloc_header(pcb, optlen, len, seg->tcphdr->seqno); - 800c0fc: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800c100: b299 uxth r1, r3 - 800c102: 6a3b ldr r3, [r7, #32] - 800c104: 68db ldr r3, [r3, #12] - 800c106: 685b ldr r3, [r3, #4] - 800c108: 8bba ldrh r2, [r7, #28] - 800c10a: 6878 ldr r0, [r7, #4] - 800c10c: f7ff fdfa bl 800bd04 - 800c110: 61b8 str r0, [r7, #24] + 800ca80: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800ca84: b299 uxth r1, r3 + 800ca86: 6a3b ldr r3, [r7, #32] + 800ca88: 68db ldr r3, [r3, #12] + 800ca8a: 685b ldr r3, [r3, #4] + 800ca8c: 8bba ldrh r2, [r7, #28] + 800ca8e: 6878 ldr r0, [r7, #4] + 800ca90: f7ff fdfa bl 800c688 + 800ca94: 61b8 str r0, [r7, #24] if (p == NULL) { - 800c112: 69bb ldr r3, [r7, #24] - 800c114: 2b00 cmp r3, #0 - 800c116: d102 bne.n 800c11e + 800ca96: 69bb ldr r3, [r7, #24] + 800ca98: 2b00 cmp r3, #0 + 800ca9a: d102 bne.n 800caa2 LWIP_DEBUGF(TCP_DEBUG, ("tcp_zero_window_probe: no memory for pbuf\n")); return ERR_MEM; - 800c118: f04f 33ff mov.w r3, #4294967295 - 800c11c: e04c b.n 800c1b8 + 800ca9c: f04f 33ff mov.w r3, #4294967295 + 800caa0: e04c b.n 800cb3c } tcphdr = (struct tcp_hdr *)p->payload; - 800c11e: 69bb ldr r3, [r7, #24] - 800c120: 685b ldr r3, [r3, #4] - 800c122: 617b str r3, [r7, #20] + 800caa2: 69bb ldr r3, [r7, #24] + 800caa4: 685b ldr r3, [r3, #4] + 800caa6: 617b str r3, [r7, #20] if (is_fin) { - 800c124: 7ffb ldrb r3, [r7, #31] - 800c126: 2b00 cmp r3, #0 - 800c128: d011 beq.n 800c14e + 800caa8: 7ffb ldrb r3, [r7, #31] + 800caaa: 2b00 cmp r3, #0 + 800caac: d011 beq.n 800cad2 /* FIN segment, no data */ TCPH_FLAGS_SET(tcphdr, TCP_ACK | TCP_FIN); - 800c12a: 697b ldr r3, [r7, #20] - 800c12c: 899b ldrh r3, [r3, #12] - 800c12e: b29b uxth r3, r3 - 800c130: b21b sxth r3, r3 - 800c132: f423 537c bic.w r3, r3, #16128 @ 0x3f00 - 800c136: b21c sxth r4, r3 - 800c138: 2011 movs r0, #17 - 800c13a: f7f9 f925 bl 8005388 - 800c13e: 4603 mov r3, r0 - 800c140: b21b sxth r3, r3 - 800c142: 4323 orrs r3, r4 - 800c144: b21b sxth r3, r3 - 800c146: b29a uxth r2, r3 - 800c148: 697b ldr r3, [r7, #20] - 800c14a: 819a strh r2, [r3, #12] - 800c14c: e010 b.n 800c170 + 800caae: 697b ldr r3, [r7, #20] + 800cab0: 899b ldrh r3, [r3, #12] + 800cab2: b29b uxth r3, r3 + 800cab4: b21b sxth r3, r3 + 800cab6: f423 537c bic.w r3, r3, #16128 @ 0x3f00 + 800caba: b21c sxth r4, r3 + 800cabc: 2011 movs r0, #17 + 800cabe: f7f9 f925 bl 8005d0c + 800cac2: 4603 mov r3, r0 + 800cac4: b21b sxth r3, r3 + 800cac6: 4323 orrs r3, r4 + 800cac8: b21b sxth r3, r3 + 800caca: b29a uxth r2, r3 + 800cacc: 697b ldr r3, [r7, #20] + 800cace: 819a strh r2, [r3, #12] + 800cad0: e010 b.n 800caf4 } else { /* Data segment, copy in one byte from the head of the unacked queue */ char *d = ((char *)p->payload + TCP_HLEN); - 800c14e: 69bb ldr r3, [r7, #24] - 800c150: 685b ldr r3, [r3, #4] - 800c152: 3314 adds r3, #20 - 800c154: 613b str r3, [r7, #16] + 800cad2: 69bb ldr r3, [r7, #24] + 800cad4: 685b ldr r3, [r3, #4] + 800cad6: 3314 adds r3, #20 + 800cad8: 613b str r3, [r7, #16] /* Depending on whether the segment has already been sent (unacked) or not (unsent), seg->p->payload points to the IP header or TCP header. Ensure we copy the first TCP data byte: */ pbuf_copy_partial(seg->p, d, 1, seg->p->tot_len - seg->len); - 800c156: 6a3b ldr r3, [r7, #32] - 800c158: 6858 ldr r0, [r3, #4] - 800c15a: 6a3b ldr r3, [r7, #32] - 800c15c: 685b ldr r3, [r3, #4] - 800c15e: 891a ldrh r2, [r3, #8] - 800c160: 6a3b ldr r3, [r7, #32] - 800c162: 891b ldrh r3, [r3, #8] - 800c164: 1ad3 subs r3, r2, r3 - 800c166: b29b uxth r3, r3 - 800c168: 2201 movs r2, #1 - 800c16a: 6939 ldr r1, [r7, #16] - 800c16c: f7fa fe56 bl 8006e1c + 800cada: 6a3b ldr r3, [r7, #32] + 800cadc: 6858 ldr r0, [r3, #4] + 800cade: 6a3b ldr r3, [r7, #32] + 800cae0: 685b ldr r3, [r3, #4] + 800cae2: 891a ldrh r2, [r3, #8] + 800cae4: 6a3b ldr r3, [r7, #32] + 800cae6: 891b ldrh r3, [r3, #8] + 800cae8: 1ad3 subs r3, r2, r3 + 800caea: b29b uxth r3, r3 + 800caec: 2201 movs r2, #1 + 800caee: 6939 ldr r1, [r7, #16] + 800caf0: f7fa fe56 bl 80077a0 } /* The byte may be acknowledged without the window being opened. */ snd_nxt = lwip_ntohl(seg->tcphdr->seqno) + 1; - 800c170: 6a3b ldr r3, [r7, #32] - 800c172: 68db ldr r3, [r3, #12] - 800c174: 685b ldr r3, [r3, #4] - 800c176: 4618 mov r0, r3 - 800c178: f7f9 f91b bl 80053b2 - 800c17c: 4603 mov r3, r0 - 800c17e: 3301 adds r3, #1 - 800c180: 60fb str r3, [r7, #12] + 800caf4: 6a3b ldr r3, [r7, #32] + 800caf6: 68db ldr r3, [r3, #12] + 800caf8: 685b ldr r3, [r3, #4] + 800cafa: 4618 mov r0, r3 + 800cafc: f7f9 f91b bl 8005d36 + 800cb00: 4603 mov r3, r0 + 800cb02: 3301 adds r3, #1 + 800cb04: 60fb str r3, [r7, #12] if (TCP_SEQ_LT(pcb->snd_nxt, snd_nxt)) { - 800c182: 687b ldr r3, [r7, #4] - 800c184: 6d1a ldr r2, [r3, #80] @ 0x50 - 800c186: 68fb ldr r3, [r7, #12] - 800c188: 1ad3 subs r3, r2, r3 - 800c18a: 2b00 cmp r3, #0 - 800c18c: da02 bge.n 800c194 + 800cb06: 687b ldr r3, [r7, #4] + 800cb08: 6d1a ldr r2, [r3, #80] @ 0x50 + 800cb0a: 68fb ldr r3, [r7, #12] + 800cb0c: 1ad3 subs r3, r2, r3 + 800cb0e: 2b00 cmp r3, #0 + 800cb10: da02 bge.n 800cb18 pcb->snd_nxt = snd_nxt; - 800c18e: 687b ldr r3, [r7, #4] - 800c190: 68fa ldr r2, [r7, #12] - 800c192: 651a str r2, [r3, #80] @ 0x50 + 800cb12: 687b ldr r3, [r7, #4] + 800cb14: 68fa ldr r2, [r7, #12] + 800cb16: 651a str r2, [r3, #80] @ 0x50 } tcp_output_fill_options(pcb, p, 0, optlen); - 800c194: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800c198: 2200 movs r2, #0 - 800c19a: 69b9 ldr r1, [r7, #24] - 800c19c: 6878 ldr r0, [r7, #4] - 800c19e: f7ff fdef bl 800bd80 + 800cb18: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800cb1c: 2200 movs r2, #0 + 800cb1e: 69b9 ldr r1, [r7, #24] + 800cb20: 6878 ldr r0, [r7, #4] + 800cb22: f7ff fdef bl 800c704 err = tcp_output_control_segment(pcb, p, &pcb->local_ip, &pcb->remote_ip); - 800c1a2: 687a ldr r2, [r7, #4] - 800c1a4: 687b ldr r3, [r7, #4] - 800c1a6: 3304 adds r3, #4 - 800c1a8: 69b9 ldr r1, [r7, #24] - 800c1aa: 6878 ldr r0, [r7, #4] - 800c1ac: f7ff fe26 bl 800bdfc - 800c1b0: 4603 mov r3, r0 - 800c1b2: 72fb strb r3, [r7, #11] + 800cb26: 687a ldr r2, [r7, #4] + 800cb28: 687b ldr r3, [r7, #4] + 800cb2a: 3304 adds r3, #4 + 800cb2c: 69b9 ldr r1, [r7, #24] + 800cb2e: 6878 ldr r0, [r7, #4] + 800cb30: f7ff fe26 bl 800c780 + 800cb34: 4603 mov r3, r0 + 800cb36: 72fb strb r3, [r7, #11] LWIP_DEBUGF(TCP_DEBUG, ("tcp_zero_window_probe: seqno %"U32_F " ackno %"U32_F" err %d.\n", pcb->snd_nxt - 1, pcb->rcv_nxt, (int)err)); return err; - 800c1b4: f997 300b ldrsb.w r3, [r7, #11] + 800cb38: f997 300b ldrsb.w r3, [r7, #11] } - 800c1b8: 4618 mov r0, r3 - 800c1ba: 372c adds r7, #44 @ 0x2c - 800c1bc: 46bd mov sp, r7 - 800c1be: bd90 pop {r4, r7, pc} - 800c1c0: 0801769c .word 0x0801769c - 800c1c4: 08017e94 .word 0x08017e94 - 800c1c8: 080176f0 .word 0x080176f0 + 800cb3c: 4618 mov r0, r3 + 800cb3e: 372c adds r7, #44 @ 0x2c + 800cb40: 46bd mov sp, r7 + 800cb42: bd90 pop {r4, r7, pc} + 800cb44: 0801801c .word 0x0801801c + 800cb48: 08018814 .word 0x08018814 + 800cb4c: 08018070 .word 0x08018070 -0800c1cc : +0800cb50 : * * @param arg unused argument */ static void tcpip_tcp_timer(void *arg) { - 800c1cc: b580 push {r7, lr} - 800c1ce: b082 sub sp, #8 - 800c1d0: af00 add r7, sp, #0 - 800c1d2: 6078 str r0, [r7, #4] + 800cb50: b580 push {r7, lr} + 800cb52: b082 sub sp, #8 + 800cb54: af00 add r7, sp, #0 + 800cb56: 6078 str r0, [r7, #4] LWIP_UNUSED_ARG(arg); /* call TCP timer handler */ tcp_tmr(); - 800c1d4: f7fa ff10 bl 8006ff8 + 800cb58: f7fa ff10 bl 800797c /* timer still needed? */ if (tcp_active_pcbs || tcp_tw_pcbs) { - 800c1d8: 4b0a ldr r3, [pc, #40] @ (800c204 ) - 800c1da: 681b ldr r3, [r3, #0] - 800c1dc: 2b00 cmp r3, #0 - 800c1de: d103 bne.n 800c1e8 - 800c1e0: 4b09 ldr r3, [pc, #36] @ (800c208 ) - 800c1e2: 681b ldr r3, [r3, #0] - 800c1e4: 2b00 cmp r3, #0 - 800c1e6: d005 beq.n 800c1f4 + 800cb5c: 4b0a ldr r3, [pc, #40] @ (800cb88 ) + 800cb5e: 681b ldr r3, [r3, #0] + 800cb60: 2b00 cmp r3, #0 + 800cb62: d103 bne.n 800cb6c + 800cb64: 4b09 ldr r3, [pc, #36] @ (800cb8c ) + 800cb66: 681b ldr r3, [r3, #0] + 800cb68: 2b00 cmp r3, #0 + 800cb6a: d005 beq.n 800cb78 /* restart timer */ sys_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL); - 800c1e8: 2200 movs r2, #0 - 800c1ea: 4908 ldr r1, [pc, #32] @ (800c20c ) - 800c1ec: 20fa movs r0, #250 @ 0xfa - 800c1ee: f000 f8f3 bl 800c3d8 - 800c1f2: e003 b.n 800c1fc + 800cb6c: 2200 movs r2, #0 + 800cb6e: 4908 ldr r1, [pc, #32] @ (800cb90 ) + 800cb70: 20fa movs r0, #250 @ 0xfa + 800cb72: f000 f8f3 bl 800cd5c + 800cb76: e003 b.n 800cb80 } else { /* disable timer */ tcpip_tcp_timer_active = 0; - 800c1f4: 4b06 ldr r3, [pc, #24] @ (800c210 ) - 800c1f6: 2200 movs r2, #0 - 800c1f8: 601a str r2, [r3, #0] + 800cb78: 4b06 ldr r3, [pc, #24] @ (800cb94 ) + 800cb7a: 2200 movs r2, #0 + 800cb7c: 601a str r2, [r3, #0] } } - 800c1fa: bf00 nop - 800c1fc: bf00 nop - 800c1fe: 3708 adds r7, #8 - 800c200: 46bd mov sp, r7 - 800c202: bd80 pop {r7, pc} - 800c204: 200190b0 .word 0x200190b0 - 800c208: 200190b4 .word 0x200190b4 - 800c20c: 0800c1cd .word 0x0800c1cd - 800c210: 200190fc .word 0x200190fc + 800cb7e: bf00 nop + 800cb80: bf00 nop + 800cb82: 3708 adds r7, #8 + 800cb84: 46bd mov sp, r7 + 800cb86: bd80 pop {r7, pc} + 800cb88: 200190e4 .word 0x200190e4 + 800cb8c: 200190e8 .word 0x200190e8 + 800cb90: 0800cb51 .word 0x0800cb51 + 800cb94: 20019130 .word 0x20019130 -0800c214 : +0800cb98 : * the reason is to have the TCP timer only running when * there are active (or time-wait) PCBs. */ void tcp_timer_needed(void) { - 800c214: b580 push {r7, lr} - 800c216: af00 add r7, sp, #0 + 800cb98: b580 push {r7, lr} + 800cb9a: af00 add r7, sp, #0 LWIP_ASSERT_CORE_LOCKED(); /* timer is off but needed again? */ if (!tcpip_tcp_timer_active && (tcp_active_pcbs || tcp_tw_pcbs)) { - 800c218: 4b0a ldr r3, [pc, #40] @ (800c244 ) - 800c21a: 681b ldr r3, [r3, #0] - 800c21c: 2b00 cmp r3, #0 - 800c21e: d10f bne.n 800c240 - 800c220: 4b09 ldr r3, [pc, #36] @ (800c248 ) - 800c222: 681b ldr r3, [r3, #0] - 800c224: 2b00 cmp r3, #0 - 800c226: d103 bne.n 800c230 - 800c228: 4b08 ldr r3, [pc, #32] @ (800c24c ) - 800c22a: 681b ldr r3, [r3, #0] - 800c22c: 2b00 cmp r3, #0 - 800c22e: d007 beq.n 800c240 + 800cb9c: 4b0a ldr r3, [pc, #40] @ (800cbc8 ) + 800cb9e: 681b ldr r3, [r3, #0] + 800cba0: 2b00 cmp r3, #0 + 800cba2: d10f bne.n 800cbc4 + 800cba4: 4b09 ldr r3, [pc, #36] @ (800cbcc ) + 800cba6: 681b ldr r3, [r3, #0] + 800cba8: 2b00 cmp r3, #0 + 800cbaa: d103 bne.n 800cbb4 + 800cbac: 4b08 ldr r3, [pc, #32] @ (800cbd0 ) + 800cbae: 681b ldr r3, [r3, #0] + 800cbb0: 2b00 cmp r3, #0 + 800cbb2: d007 beq.n 800cbc4 /* enable and start timer */ tcpip_tcp_timer_active = 1; - 800c230: 4b04 ldr r3, [pc, #16] @ (800c244 ) - 800c232: 2201 movs r2, #1 - 800c234: 601a str r2, [r3, #0] + 800cbb4: 4b04 ldr r3, [pc, #16] @ (800cbc8 ) + 800cbb6: 2201 movs r2, #1 + 800cbb8: 601a str r2, [r3, #0] sys_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL); - 800c236: 2200 movs r2, #0 - 800c238: 4905 ldr r1, [pc, #20] @ (800c250 ) - 800c23a: 20fa movs r0, #250 @ 0xfa - 800c23c: f000 f8cc bl 800c3d8 + 800cbba: 2200 movs r2, #0 + 800cbbc: 4905 ldr r1, [pc, #20] @ (800cbd4 ) + 800cbbe: 20fa movs r0, #250 @ 0xfa + 800cbc0: f000 f8cc bl 800cd5c } } - 800c240: bf00 nop - 800c242: bd80 pop {r7, pc} - 800c244: 200190fc .word 0x200190fc - 800c248: 200190b0 .word 0x200190b0 - 800c24c: 200190b4 .word 0x200190b4 - 800c250: 0800c1cd .word 0x0800c1cd + 800cbc4: bf00 nop + 800cbc6: bd80 pop {r7, pc} + 800cbc8: 20019130 .word 0x20019130 + 800cbcc: 200190e4 .word 0x200190e4 + 800cbd0: 200190e8 .word 0x200190e8 + 800cbd4: 0800cb51 .word 0x0800cb51 -0800c254 : +0800cbd8 : #if LWIP_DEBUG_TIMERNAMES sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg, const char *handler_name) #else /* LWIP_DEBUG_TIMERNAMES */ sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg) #endif { - 800c254: b580 push {r7, lr} - 800c256: b086 sub sp, #24 - 800c258: af00 add r7, sp, #0 - 800c25a: 60f8 str r0, [r7, #12] - 800c25c: 60b9 str r1, [r7, #8] - 800c25e: 607a str r2, [r7, #4] + 800cbd8: b580 push {r7, lr} + 800cbda: b086 sub sp, #24 + 800cbdc: af00 add r7, sp, #0 + 800cbde: 60f8 str r0, [r7, #12] + 800cbe0: 60b9 str r1, [r7, #8] + 800cbe2: 607a str r2, [r7, #4] struct sys_timeo *timeout, *t; timeout = (struct sys_timeo *)memp_malloc(MEMP_SYS_TIMEOUT); - 800c260: 2006 movs r0, #6 - 800c262: f7f9 fcf1 bl 8005c48 - 800c266: 6138 str r0, [r7, #16] + 800cbe4: 2006 movs r0, #6 + 800cbe6: f7f9 fcf1 bl 80065cc + 800cbea: 6138 str r0, [r7, #16] if (timeout == NULL) { - 800c268: 693b ldr r3, [r7, #16] - 800c26a: 2b00 cmp r3, #0 - 800c26c: d109 bne.n 800c282 + 800cbec: 693b ldr r3, [r7, #16] + 800cbee: 2b00 cmp r3, #0 + 800cbf0: d109 bne.n 800cc06 LWIP_ASSERT("sys_timeout: timeout != NULL, pool MEMP_SYS_TIMEOUT is empty", timeout != NULL); - 800c26e: 693b ldr r3, [r7, #16] - 800c270: 2b00 cmp r3, #0 - 800c272: d151 bne.n 800c318 - 800c274: 4b2a ldr r3, [pc, #168] @ (800c320 ) - 800c276: 22be movs r2, #190 @ 0xbe - 800c278: 492a ldr r1, [pc, #168] @ (800c324 ) - 800c27a: 482b ldr r0, [pc, #172] @ (800c328 ) - 800c27c: f005 f9bc bl 80115f8 + 800cbf2: 693b ldr r3, [r7, #16] + 800cbf4: 2b00 cmp r3, #0 + 800cbf6: d151 bne.n 800cc9c + 800cbf8: 4b2a ldr r3, [pc, #168] @ (800cca4 ) + 800cbfa: 22be movs r2, #190 @ 0xbe + 800cbfc: 492a ldr r1, [pc, #168] @ (800cca8 ) + 800cbfe: 482b ldr r0, [pc, #172] @ (800ccac ) + 800cc00: f005 f9bc bl 8011f7c return; - 800c280: e04a b.n 800c318 + 800cc04: e04a b.n 800cc9c } timeout->next = NULL; - 800c282: 693b ldr r3, [r7, #16] - 800c284: 2200 movs r2, #0 - 800c286: 601a str r2, [r3, #0] + 800cc06: 693b ldr r3, [r7, #16] + 800cc08: 2200 movs r2, #0 + 800cc0a: 601a str r2, [r3, #0] timeout->h = handler; - 800c288: 693b ldr r3, [r7, #16] - 800c28a: 68ba ldr r2, [r7, #8] - 800c28c: 609a str r2, [r3, #8] + 800cc0c: 693b ldr r3, [r7, #16] + 800cc0e: 68ba ldr r2, [r7, #8] + 800cc10: 609a str r2, [r3, #8] timeout->arg = arg; - 800c28e: 693b ldr r3, [r7, #16] - 800c290: 687a ldr r2, [r7, #4] - 800c292: 60da str r2, [r3, #12] + 800cc12: 693b ldr r3, [r7, #16] + 800cc14: 687a ldr r2, [r7, #4] + 800cc16: 60da str r2, [r3, #12] timeout->time = abs_time; - 800c294: 693b ldr r3, [r7, #16] - 800c296: 68fa ldr r2, [r7, #12] - 800c298: 605a str r2, [r3, #4] + 800cc18: 693b ldr r3, [r7, #16] + 800cc1a: 68fa ldr r2, [r7, #12] + 800cc1c: 605a str r2, [r3, #4] timeout->handler_name = handler_name; LWIP_DEBUGF(TIMERS_DEBUG, ("sys_timeout: %p abs_time=%"U32_F" handler=%s arg=%p\n", (void *)timeout, abs_time, handler_name, (void *)arg)); #endif /* LWIP_DEBUG_TIMERNAMES */ if (next_timeout == NULL) { - 800c29a: 4b24 ldr r3, [pc, #144] @ (800c32c ) - 800c29c: 681b ldr r3, [r3, #0] - 800c29e: 2b00 cmp r3, #0 - 800c2a0: d103 bne.n 800c2aa + 800cc1e: 4b24 ldr r3, [pc, #144] @ (800ccb0 ) + 800cc20: 681b ldr r3, [r3, #0] + 800cc22: 2b00 cmp r3, #0 + 800cc24: d103 bne.n 800cc2e next_timeout = timeout; - 800c2a2: 4a22 ldr r2, [pc, #136] @ (800c32c ) - 800c2a4: 693b ldr r3, [r7, #16] - 800c2a6: 6013 str r3, [r2, #0] + 800cc26: 4a22 ldr r2, [pc, #136] @ (800ccb0 ) + 800cc28: 693b ldr r3, [r7, #16] + 800cc2a: 6013 str r3, [r2, #0] return; - 800c2a8: e037 b.n 800c31a + 800cc2c: e037 b.n 800cc9e } if (TIME_LESS_THAN(timeout->time, next_timeout->time)) { - 800c2aa: 693b ldr r3, [r7, #16] - 800c2ac: 685a ldr r2, [r3, #4] - 800c2ae: 4b1f ldr r3, [pc, #124] @ (800c32c ) - 800c2b0: 681b ldr r3, [r3, #0] - 800c2b2: 685b ldr r3, [r3, #4] - 800c2b4: 1ad3 subs r3, r2, r3 - 800c2b6: 0fdb lsrs r3, r3, #31 - 800c2b8: f003 0301 and.w r3, r3, #1 - 800c2bc: b2db uxtb r3, r3 - 800c2be: 2b00 cmp r3, #0 - 800c2c0: d007 beq.n 800c2d2 + 800cc2e: 693b ldr r3, [r7, #16] + 800cc30: 685a ldr r2, [r3, #4] + 800cc32: 4b1f ldr r3, [pc, #124] @ (800ccb0 ) + 800cc34: 681b ldr r3, [r3, #0] + 800cc36: 685b ldr r3, [r3, #4] + 800cc38: 1ad3 subs r3, r2, r3 + 800cc3a: 0fdb lsrs r3, r3, #31 + 800cc3c: f003 0301 and.w r3, r3, #1 + 800cc40: b2db uxtb r3, r3 + 800cc42: 2b00 cmp r3, #0 + 800cc44: d007 beq.n 800cc56 timeout->next = next_timeout; - 800c2c2: 4b1a ldr r3, [pc, #104] @ (800c32c ) - 800c2c4: 681a ldr r2, [r3, #0] - 800c2c6: 693b ldr r3, [r7, #16] - 800c2c8: 601a str r2, [r3, #0] + 800cc46: 4b1a ldr r3, [pc, #104] @ (800ccb0 ) + 800cc48: 681a ldr r2, [r3, #0] + 800cc4a: 693b ldr r3, [r7, #16] + 800cc4c: 601a str r2, [r3, #0] next_timeout = timeout; - 800c2ca: 4a18 ldr r2, [pc, #96] @ (800c32c ) - 800c2cc: 693b ldr r3, [r7, #16] - 800c2ce: 6013 str r3, [r2, #0] - 800c2d0: e023 b.n 800c31a + 800cc4e: 4a18 ldr r2, [pc, #96] @ (800ccb0 ) + 800cc50: 693b ldr r3, [r7, #16] + 800cc52: 6013 str r3, [r2, #0] + 800cc54: e023 b.n 800cc9e } else { for (t = next_timeout; t != NULL; t = t->next) { - 800c2d2: 4b16 ldr r3, [pc, #88] @ (800c32c ) - 800c2d4: 681b ldr r3, [r3, #0] - 800c2d6: 617b str r3, [r7, #20] - 800c2d8: e01a b.n 800c310 + 800cc56: 4b16 ldr r3, [pc, #88] @ (800ccb0 ) + 800cc58: 681b ldr r3, [r3, #0] + 800cc5a: 617b str r3, [r7, #20] + 800cc5c: e01a b.n 800cc94 if ((t->next == NULL) || TIME_LESS_THAN(timeout->time, t->next->time)) { - 800c2da: 697b ldr r3, [r7, #20] - 800c2dc: 681b ldr r3, [r3, #0] - 800c2de: 2b00 cmp r3, #0 - 800c2e0: d00b beq.n 800c2fa - 800c2e2: 693b ldr r3, [r7, #16] - 800c2e4: 685a ldr r2, [r3, #4] - 800c2e6: 697b ldr r3, [r7, #20] - 800c2e8: 681b ldr r3, [r3, #0] - 800c2ea: 685b ldr r3, [r3, #4] - 800c2ec: 1ad3 subs r3, r2, r3 - 800c2ee: 0fdb lsrs r3, r3, #31 - 800c2f0: f003 0301 and.w r3, r3, #1 - 800c2f4: b2db uxtb r3, r3 - 800c2f6: 2b00 cmp r3, #0 - 800c2f8: d007 beq.n 800c30a + 800cc5e: 697b ldr r3, [r7, #20] + 800cc60: 681b ldr r3, [r3, #0] + 800cc62: 2b00 cmp r3, #0 + 800cc64: d00b beq.n 800cc7e + 800cc66: 693b ldr r3, [r7, #16] + 800cc68: 685a ldr r2, [r3, #4] + 800cc6a: 697b ldr r3, [r7, #20] + 800cc6c: 681b ldr r3, [r3, #0] + 800cc6e: 685b ldr r3, [r3, #4] + 800cc70: 1ad3 subs r3, r2, r3 + 800cc72: 0fdb lsrs r3, r3, #31 + 800cc74: f003 0301 and.w r3, r3, #1 + 800cc78: b2db uxtb r3, r3 + 800cc7a: 2b00 cmp r3, #0 + 800cc7c: d007 beq.n 800cc8e timeout->next = t->next; - 800c2fa: 697b ldr r3, [r7, #20] - 800c2fc: 681a ldr r2, [r3, #0] - 800c2fe: 693b ldr r3, [r7, #16] - 800c300: 601a str r2, [r3, #0] + 800cc7e: 697b ldr r3, [r7, #20] + 800cc80: 681a ldr r2, [r3, #0] + 800cc82: 693b ldr r3, [r7, #16] + 800cc84: 601a str r2, [r3, #0] t->next = timeout; - 800c302: 697b ldr r3, [r7, #20] - 800c304: 693a ldr r2, [r7, #16] - 800c306: 601a str r2, [r3, #0] + 800cc86: 697b ldr r3, [r7, #20] + 800cc88: 693a ldr r2, [r7, #16] + 800cc8a: 601a str r2, [r3, #0] break; - 800c308: e007 b.n 800c31a + 800cc8c: e007 b.n 800cc9e for (t = next_timeout; t != NULL; t = t->next) { - 800c30a: 697b ldr r3, [r7, #20] - 800c30c: 681b ldr r3, [r3, #0] - 800c30e: 617b str r3, [r7, #20] - 800c310: 697b ldr r3, [r7, #20] - 800c312: 2b00 cmp r3, #0 - 800c314: d1e1 bne.n 800c2da - 800c316: e000 b.n 800c31a + 800cc8e: 697b ldr r3, [r7, #20] + 800cc90: 681b ldr r3, [r3, #0] + 800cc92: 617b str r3, [r7, #20] + 800cc94: 697b ldr r3, [r7, #20] + 800cc96: 2b00 cmp r3, #0 + 800cc98: d1e1 bne.n 800cc5e + 800cc9a: e000 b.n 800cc9e return; - 800c318: bf00 nop + 800cc9c: bf00 nop } } } } - 800c31a: 3718 adds r7, #24 - 800c31c: 46bd mov sp, r7 - 800c31e: bd80 pop {r7, pc} - 800c320: 08017eb8 .word 0x08017eb8 - 800c324: 08017eec .word 0x08017eec - 800c328: 08017f2c .word 0x08017f2c - 800c32c: 200190f4 .word 0x200190f4 + 800cc9e: 3718 adds r7, #24 + 800cca0: 46bd mov sp, r7 + 800cca2: bd80 pop {r7, pc} + 800cca4: 08018838 .word 0x08018838 + 800cca8: 0801886c .word 0x0801886c + 800ccac: 080188ac .word 0x080188ac + 800ccb0: 20019128 .word 0x20019128 -0800c330 : +0800ccb4 : #if !LWIP_TESTMODE static #endif void lwip_cyclic_timer(void *arg) { - 800c330: b580 push {r7, lr} - 800c332: b086 sub sp, #24 - 800c334: af00 add r7, sp, #0 - 800c336: 6078 str r0, [r7, #4] + 800ccb4: b580 push {r7, lr} + 800ccb6: b086 sub sp, #24 + 800ccb8: af00 add r7, sp, #0 + 800ccba: 6078 str r0, [r7, #4] u32_t now; u32_t next_timeout_time; const struct lwip_cyclic_timer *cyclic = (const struct lwip_cyclic_timer *)arg; - 800c338: 687b ldr r3, [r7, #4] - 800c33a: 617b str r3, [r7, #20] + 800ccbc: 687b ldr r3, [r7, #4] + 800ccbe: 617b str r3, [r7, #20] #if LWIP_DEBUG_TIMERNAMES LWIP_DEBUGF(TIMERS_DEBUG, ("tcpip: %s()\n", cyclic->handler_name)); #endif cyclic->handler(); - 800c33c: 697b ldr r3, [r7, #20] - 800c33e: 685b ldr r3, [r3, #4] - 800c340: 4798 blx r3 + 800ccc0: 697b ldr r3, [r7, #20] + 800ccc2: 685b ldr r3, [r3, #4] + 800ccc4: 4798 blx r3 now = sys_now(); - 800c342: f7f8 fe09 bl 8004f58 - 800c346: 6138 str r0, [r7, #16] + 800ccc6: f7f8 fe09 bl 80058dc + 800ccca: 6138 str r0, [r7, #16] next_timeout_time = (u32_t)(current_timeout_due_time + cyclic->interval_ms); /* overflow handled by TIME_LESS_THAN macro */ - 800c348: 697b ldr r3, [r7, #20] - 800c34a: 681a ldr r2, [r3, #0] - 800c34c: 4b0f ldr r3, [pc, #60] @ (800c38c ) - 800c34e: 681b ldr r3, [r3, #0] - 800c350: 4413 add r3, r2 - 800c352: 60fb str r3, [r7, #12] + 800cccc: 697b ldr r3, [r7, #20] + 800ccce: 681a ldr r2, [r3, #0] + 800ccd0: 4b0f ldr r3, [pc, #60] @ (800cd10 ) + 800ccd2: 681b ldr r3, [r3, #0] + 800ccd4: 4413 add r3, r2 + 800ccd6: 60fb str r3, [r7, #12] if (TIME_LESS_THAN(next_timeout_time, now)) { - 800c354: 68fa ldr r2, [r7, #12] - 800c356: 693b ldr r3, [r7, #16] - 800c358: 1ad3 subs r3, r2, r3 - 800c35a: 0fdb lsrs r3, r3, #31 - 800c35c: f003 0301 and.w r3, r3, #1 - 800c360: b2db uxtb r3, r3 - 800c362: 2b00 cmp r3, #0 - 800c364: d009 beq.n 800c37a + 800ccd8: 68fa ldr r2, [r7, #12] + 800ccda: 693b ldr r3, [r7, #16] + 800ccdc: 1ad3 subs r3, r2, r3 + 800ccde: 0fdb lsrs r3, r3, #31 + 800cce0: f003 0301 and.w r3, r3, #1 + 800cce4: b2db uxtb r3, r3 + 800cce6: 2b00 cmp r3, #0 + 800cce8: d009 beq.n 800ccfe /* timer would immediately expire again -> "overload" -> restart without any correction */ #if LWIP_DEBUG_TIMERNAMES sys_timeout_abs((u32_t)(now + cyclic->interval_ms), lwip_cyclic_timer, arg, cyclic->handler_name); #else sys_timeout_abs((u32_t)(now + cyclic->interval_ms), lwip_cyclic_timer, arg); - 800c366: 697b ldr r3, [r7, #20] - 800c368: 681a ldr r2, [r3, #0] - 800c36a: 693b ldr r3, [r7, #16] - 800c36c: 4413 add r3, r2 - 800c36e: 687a ldr r2, [r7, #4] - 800c370: 4907 ldr r1, [pc, #28] @ (800c390 ) - 800c372: 4618 mov r0, r3 - 800c374: f7ff ff6e bl 800c254 + 800ccea: 697b ldr r3, [r7, #20] + 800ccec: 681a ldr r2, [r3, #0] + 800ccee: 693b ldr r3, [r7, #16] + 800ccf0: 4413 add r3, r2 + 800ccf2: 687a ldr r2, [r7, #4] + 800ccf4: 4907 ldr r1, [pc, #28] @ (800cd14 ) + 800ccf6: 4618 mov r0, r3 + 800ccf8: f7ff ff6e bl 800cbd8 sys_timeout_abs(next_timeout_time, lwip_cyclic_timer, arg, cyclic->handler_name); #else sys_timeout_abs(next_timeout_time, lwip_cyclic_timer, arg); #endif } } - 800c378: e004 b.n 800c384 + 800ccfc: e004 b.n 800cd08 sys_timeout_abs(next_timeout_time, lwip_cyclic_timer, arg); - 800c37a: 687a ldr r2, [r7, #4] - 800c37c: 4904 ldr r1, [pc, #16] @ (800c390 ) - 800c37e: 68f8 ldr r0, [r7, #12] - 800c380: f7ff ff68 bl 800c254 + 800ccfe: 687a ldr r2, [r7, #4] + 800cd00: 4904 ldr r1, [pc, #16] @ (800cd14 ) + 800cd02: 68f8 ldr r0, [r7, #12] + 800cd04: f7ff ff68 bl 800cbd8 } - 800c384: bf00 nop - 800c386: 3718 adds r7, #24 - 800c388: 46bd mov sp, r7 - 800c38a: bd80 pop {r7, pc} - 800c38c: 200190f8 .word 0x200190f8 - 800c390: 0800c331 .word 0x0800c331 + 800cd08: bf00 nop + 800cd0a: 3718 adds r7, #24 + 800cd0c: 46bd mov sp, r7 + 800cd0e: bd80 pop {r7, pc} + 800cd10: 2001912c .word 0x2001912c + 800cd14: 0800ccb5 .word 0x0800ccb5 -0800c394 : +0800cd18 : /** Initialize this module */ void sys_timeouts_init(void) { - 800c394: b580 push {r7, lr} - 800c396: b082 sub sp, #8 - 800c398: af00 add r7, sp, #0 + 800cd18: b580 push {r7, lr} + 800cd1a: b082 sub sp, #8 + 800cd1c: af00 add r7, sp, #0 size_t i; /* tcp_tmr() at index 0 is started on demand */ for (i = (LWIP_TCP ? 1 : 0); i < LWIP_ARRAYSIZE(lwip_cyclic_timers); i++) { - 800c39a: 2301 movs r3, #1 - 800c39c: 607b str r3, [r7, #4] - 800c39e: e00e b.n 800c3be + 800cd1e: 2301 movs r3, #1 + 800cd20: 607b str r3, [r7, #4] + 800cd22: e00e b.n 800cd42 /* we have to cast via size_t to get rid of const warning (this is OK as cyclic_timer() casts back to const* */ sys_timeout(lwip_cyclic_timers[i].interval_ms, lwip_cyclic_timer, LWIP_CONST_CAST(void *, &lwip_cyclic_timers[i])); - 800c3a0: 4a0b ldr r2, [pc, #44] @ (800c3d0 ) - 800c3a2: 687b ldr r3, [r7, #4] - 800c3a4: f852 0033 ldr.w r0, [r2, r3, lsl #3] - 800c3a8: 687b ldr r3, [r7, #4] - 800c3aa: 00db lsls r3, r3, #3 - 800c3ac: 4a08 ldr r2, [pc, #32] @ (800c3d0 ) - 800c3ae: 4413 add r3, r2 - 800c3b0: 461a mov r2, r3 - 800c3b2: 4908 ldr r1, [pc, #32] @ (800c3d4 ) - 800c3b4: f000 f810 bl 800c3d8 + 800cd24: 4a0b ldr r2, [pc, #44] @ (800cd54 ) + 800cd26: 687b ldr r3, [r7, #4] + 800cd28: f852 0033 ldr.w r0, [r2, r3, lsl #3] + 800cd2c: 687b ldr r3, [r7, #4] + 800cd2e: 00db lsls r3, r3, #3 + 800cd30: 4a08 ldr r2, [pc, #32] @ (800cd54 ) + 800cd32: 4413 add r3, r2 + 800cd34: 461a mov r2, r3 + 800cd36: 4908 ldr r1, [pc, #32] @ (800cd58 ) + 800cd38: f000 f810 bl 800cd5c for (i = (LWIP_TCP ? 1 : 0); i < LWIP_ARRAYSIZE(lwip_cyclic_timers); i++) { - 800c3b8: 687b ldr r3, [r7, #4] - 800c3ba: 3301 adds r3, #1 - 800c3bc: 607b str r3, [r7, #4] - 800c3be: 687b ldr r3, [r7, #4] - 800c3c0: 2b04 cmp r3, #4 - 800c3c2: d9ed bls.n 800c3a0 + 800cd3c: 687b ldr r3, [r7, #4] + 800cd3e: 3301 adds r3, #1 + 800cd40: 607b str r3, [r7, #4] + 800cd42: 687b ldr r3, [r7, #4] + 800cd44: 2b04 cmp r3, #4 + 800cd46: d9ed bls.n 800cd24 } } - 800c3c4: bf00 nop - 800c3c6: bf00 nop - 800c3c8: 3708 adds r7, #8 - 800c3ca: 46bd mov sp, r7 - 800c3cc: bd80 pop {r7, pc} - 800c3ce: bf00 nop - 800c3d0: 08018eac .word 0x08018eac - 800c3d4: 0800c331 .word 0x0800c331 + 800cd48: bf00 nop + 800cd4a: bf00 nop + 800cd4c: 3708 adds r7, #8 + 800cd4e: 46bd mov sp, r7 + 800cd50: bd80 pop {r7, pc} + 800cd52: bf00 nop + 800cd54: 0801982c .word 0x0801982c + 800cd58: 0800ccb5 .word 0x0800ccb5 -0800c3d8 : +0800cd5c : sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char *handler_name) #else /* LWIP_DEBUG_TIMERNAMES */ void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg) #endif /* LWIP_DEBUG_TIMERNAMES */ { - 800c3d8: b580 push {r7, lr} - 800c3da: b086 sub sp, #24 - 800c3dc: af00 add r7, sp, #0 - 800c3de: 60f8 str r0, [r7, #12] - 800c3e0: 60b9 str r1, [r7, #8] - 800c3e2: 607a str r2, [r7, #4] + 800cd5c: b580 push {r7, lr} + 800cd5e: b086 sub sp, #24 + 800cd60: af00 add r7, sp, #0 + 800cd62: 60f8 str r0, [r7, #12] + 800cd64: 60b9 str r1, [r7, #8] + 800cd66: 607a str r2, [r7, #4] u32_t next_timeout_time; LWIP_ASSERT_CORE_LOCKED(); LWIP_ASSERT("Timeout time too long, max is LWIP_UINT32_MAX/4 msecs", msecs <= (LWIP_UINT32_MAX / 4)); - 800c3e4: 68fb ldr r3, [r7, #12] - 800c3e6: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 800c3ea: d306 bcc.n 800c3fa - 800c3ec: 4b0a ldr r3, [pc, #40] @ (800c418 ) - 800c3ee: f240 1229 movw r2, #297 @ 0x129 - 800c3f2: 490a ldr r1, [pc, #40] @ (800c41c ) - 800c3f4: 480a ldr r0, [pc, #40] @ (800c420 ) - 800c3f6: f005 f8ff bl 80115f8 + 800cd68: 68fb ldr r3, [r7, #12] + 800cd6a: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 800cd6e: d306 bcc.n 800cd7e + 800cd70: 4b0a ldr r3, [pc, #40] @ (800cd9c ) + 800cd72: f240 1229 movw r2, #297 @ 0x129 + 800cd76: 490a ldr r1, [pc, #40] @ (800cda0 ) + 800cd78: 480a ldr r0, [pc, #40] @ (800cda4 ) + 800cd7a: f005 f8ff bl 8011f7c next_timeout_time = (u32_t)(sys_now() + msecs); /* overflow handled by TIME_LESS_THAN macro */ - 800c3fa: f7f8 fdad bl 8004f58 - 800c3fe: 4602 mov r2, r0 - 800c400: 68fb ldr r3, [r7, #12] - 800c402: 4413 add r3, r2 - 800c404: 617b str r3, [r7, #20] + 800cd7e: f7f8 fdad bl 80058dc + 800cd82: 4602 mov r2, r0 + 800cd84: 68fb ldr r3, [r7, #12] + 800cd86: 4413 add r3, r2 + 800cd88: 617b str r3, [r7, #20] #if LWIP_DEBUG_TIMERNAMES sys_timeout_abs(next_timeout_time, handler, arg, handler_name); #else sys_timeout_abs(next_timeout_time, handler, arg); - 800c406: 687a ldr r2, [r7, #4] - 800c408: 68b9 ldr r1, [r7, #8] - 800c40a: 6978 ldr r0, [r7, #20] - 800c40c: f7ff ff22 bl 800c254 + 800cd8a: 687a ldr r2, [r7, #4] + 800cd8c: 68b9 ldr r1, [r7, #8] + 800cd8e: 6978 ldr r0, [r7, #20] + 800cd90: f7ff ff22 bl 800cbd8 #endif } - 800c410: bf00 nop - 800c412: 3718 adds r7, #24 - 800c414: 46bd mov sp, r7 - 800c416: bd80 pop {r7, pc} - 800c418: 08017eb8 .word 0x08017eb8 - 800c41c: 08017f54 .word 0x08017f54 - 800c420: 08017f2c .word 0x08017f2c + 800cd94: bf00 nop + 800cd96: 3718 adds r7, #24 + 800cd98: 46bd mov sp, r7 + 800cd9a: bd80 pop {r7, pc} + 800cd9c: 08018838 .word 0x08018838 + 800cda0: 080188d4 .word 0x080188d4 + 800cda4: 080188ac .word 0x080188ac -0800c424 : +0800cda8 : * * Must be called periodically from your main loop. */ void sys_check_timeouts(void) { - 800c424: b580 push {r7, lr} - 800c426: b084 sub sp, #16 - 800c428: af00 add r7, sp, #0 + 800cda8: b580 push {r7, lr} + 800cdaa: b084 sub sp, #16 + 800cdac: af00 add r7, sp, #0 u32_t now; LWIP_ASSERT_CORE_LOCKED(); /* Process only timers expired at the start of the function. */ now = sys_now(); - 800c42a: f7f8 fd95 bl 8004f58 - 800c42e: 60f8 str r0, [r7, #12] + 800cdae: f7f8 fd95 bl 80058dc + 800cdb2: 60f8 str r0, [r7, #12] do { struct sys_timeo *tmptimeout; sys_timeout_handler handler; void *arg; PBUF_CHECK_FREE_OOSEQ(); - 800c430: 4b1a ldr r3, [pc, #104] @ (800c49c ) - 800c432: 781b ldrb r3, [r3, #0] - 800c434: b2db uxtb r3, r3 - 800c436: 2b00 cmp r3, #0 - 800c438: d001 beq.n 800c43e - 800c43a: f7f9 ffbd bl 80063b8 + 800cdb4: 4b1a ldr r3, [pc, #104] @ (800ce20 ) + 800cdb6: 781b ldrb r3, [r3, #0] + 800cdb8: b2db uxtb r3, r3 + 800cdba: 2b00 cmp r3, #0 + 800cdbc: d001 beq.n 800cdc2 + 800cdbe: f7f9 ffbd bl 8006d3c tmptimeout = next_timeout; - 800c43e: 4b18 ldr r3, [pc, #96] @ (800c4a0 ) - 800c440: 681b ldr r3, [r3, #0] - 800c442: 60bb str r3, [r7, #8] + 800cdc2: 4b18 ldr r3, [pc, #96] @ (800ce24 ) + 800cdc4: 681b ldr r3, [r3, #0] + 800cdc6: 60bb str r3, [r7, #8] if (tmptimeout == NULL) { - 800c444: 68bb ldr r3, [r7, #8] - 800c446: 2b00 cmp r3, #0 - 800c448: d022 beq.n 800c490 + 800cdc8: 68bb ldr r3, [r7, #8] + 800cdca: 2b00 cmp r3, #0 + 800cdcc: d022 beq.n 800ce14 return; } if (TIME_LESS_THAN(now, tmptimeout->time)) { - 800c44a: 68bb ldr r3, [r7, #8] - 800c44c: 685b ldr r3, [r3, #4] - 800c44e: 68fa ldr r2, [r7, #12] - 800c450: 1ad3 subs r3, r2, r3 - 800c452: 0fdb lsrs r3, r3, #31 - 800c454: f003 0301 and.w r3, r3, #1 - 800c458: b2db uxtb r3, r3 - 800c45a: 2b00 cmp r3, #0 - 800c45c: d11a bne.n 800c494 + 800cdce: 68bb ldr r3, [r7, #8] + 800cdd0: 685b ldr r3, [r3, #4] + 800cdd2: 68fa ldr r2, [r7, #12] + 800cdd4: 1ad3 subs r3, r2, r3 + 800cdd6: 0fdb lsrs r3, r3, #31 + 800cdd8: f003 0301 and.w r3, r3, #1 + 800cddc: b2db uxtb r3, r3 + 800cdde: 2b00 cmp r3, #0 + 800cde0: d11a bne.n 800ce18 return; } /* Timeout has expired */ next_timeout = tmptimeout->next; - 800c45e: 68bb ldr r3, [r7, #8] - 800c460: 681b ldr r3, [r3, #0] - 800c462: 4a0f ldr r2, [pc, #60] @ (800c4a0 ) - 800c464: 6013 str r3, [r2, #0] + 800cde2: 68bb ldr r3, [r7, #8] + 800cde4: 681b ldr r3, [r3, #0] + 800cde6: 4a0f ldr r2, [pc, #60] @ (800ce24 ) + 800cde8: 6013 str r3, [r2, #0] handler = tmptimeout->h; - 800c466: 68bb ldr r3, [r7, #8] - 800c468: 689b ldr r3, [r3, #8] - 800c46a: 607b str r3, [r7, #4] + 800cdea: 68bb ldr r3, [r7, #8] + 800cdec: 689b ldr r3, [r3, #8] + 800cdee: 607b str r3, [r7, #4] arg = tmptimeout->arg; - 800c46c: 68bb ldr r3, [r7, #8] - 800c46e: 68db ldr r3, [r3, #12] - 800c470: 603b str r3, [r7, #0] + 800cdf0: 68bb ldr r3, [r7, #8] + 800cdf2: 68db ldr r3, [r3, #12] + 800cdf4: 603b str r3, [r7, #0] current_timeout_due_time = tmptimeout->time; - 800c472: 68bb ldr r3, [r7, #8] - 800c474: 685b ldr r3, [r3, #4] - 800c476: 4a0b ldr r2, [pc, #44] @ (800c4a4 ) - 800c478: 6013 str r3, [r2, #0] + 800cdf6: 68bb ldr r3, [r7, #8] + 800cdf8: 685b ldr r3, [r3, #4] + 800cdfa: 4a0b ldr r2, [pc, #44] @ (800ce28 ) + 800cdfc: 6013 str r3, [r2, #0] if (handler != NULL) { LWIP_DEBUGF(TIMERS_DEBUG, ("sct calling h=%s t=%"U32_F" arg=%p\n", tmptimeout->handler_name, sys_now() - tmptimeout->time, arg)); } #endif /* LWIP_DEBUG_TIMERNAMES */ memp_free(MEMP_SYS_TIMEOUT, tmptimeout); - 800c47a: 68b9 ldr r1, [r7, #8] - 800c47c: 2006 movs r0, #6 - 800c47e: f7f9 fc53 bl 8005d28 + 800cdfe: 68b9 ldr r1, [r7, #8] + 800ce00: 2006 movs r0, #6 + 800ce02: f7f9 fc53 bl 80066ac if (handler != NULL) { - 800c482: 687b ldr r3, [r7, #4] - 800c484: 2b00 cmp r3, #0 - 800c486: d0d3 beq.n 800c430 + 800ce06: 687b ldr r3, [r7, #4] + 800ce08: 2b00 cmp r3, #0 + 800ce0a: d0d3 beq.n 800cdb4 handler(arg); - 800c488: 687b ldr r3, [r7, #4] - 800c48a: 6838 ldr r0, [r7, #0] - 800c48c: 4798 blx r3 + 800ce0c: 687b ldr r3, [r7, #4] + 800ce0e: 6838 ldr r0, [r7, #0] + 800ce10: 4798 blx r3 do { - 800c48e: e7cf b.n 800c430 + 800ce12: e7cf b.n 800cdb4 return; - 800c490: bf00 nop - 800c492: e000 b.n 800c496 + 800ce14: bf00 nop + 800ce16: e000 b.n 800ce1a return; - 800c494: bf00 nop + 800ce18: bf00 nop } LWIP_TCPIP_THREAD_ALIVE(); /* Repeat until all expired timers have been called */ } while (1); } - 800c496: 3710 adds r7, #16 - 800c498: 46bd mov sp, r7 - 800c49a: bd80 pop {r7, pc} - 800c49c: 200190a1 .word 0x200190a1 - 800c4a0: 200190f4 .word 0x200190f4 - 800c4a4: 200190f8 .word 0x200190f8 + 800ce1a: 3710 adds r7, #16 + 800ce1c: 46bd mov sp, r7 + 800ce1e: bd80 pop {r7, pc} + 800ce20: 200190d5 .word 0x200190d5 + 800ce24: 20019128 .word 0x20019128 + 800ce28: 2001912c .word 0x2001912c -0800c4a8 : +0800ce2c : /** * Initialize this module. */ void udp_init(void) { - 800c4a8: b580 push {r7, lr} - 800c4aa: af00 add r7, sp, #0 + 800ce2c: b580 push {r7, lr} + 800ce2e: af00 add r7, sp, #0 #ifdef LWIP_RAND udp_port = UDP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); - 800c4ac: f004 ffc6 bl 801143c - 800c4b0: 4603 mov r3, r0 - 800c4b2: b29b uxth r3, r3 - 800c4b4: f3c3 030d ubfx r3, r3, #0, #14 - 800c4b8: b29b uxth r3, r3 - 800c4ba: f5a3 4380 sub.w r3, r3, #16384 @ 0x4000 - 800c4be: b29a uxth r2, r3 - 800c4c0: 4b01 ldr r3, [pc, #4] @ (800c4c8 ) - 800c4c2: 801a strh r2, [r3, #0] + 800ce30: f004 ffc6 bl 8011dc0 + 800ce34: 4603 mov r3, r0 + 800ce36: b29b uxth r3, r3 + 800ce38: f3c3 030d ubfx r3, r3, #0, #14 + 800ce3c: b29b uxth r3, r3 + 800ce3e: f5a3 4380 sub.w r3, r3, #16384 @ 0x4000 + 800ce42: b29a uxth r2, r3 + 800ce44: 4b01 ldr r3, [pc, #4] @ (800ce4c ) + 800ce46: 801a strh r2, [r3, #0] #endif /* LWIP_RAND */ } - 800c4c4: bf00 nop - 800c4c6: bd80 pop {r7, pc} - 800c4c8: 20000028 .word 0x20000028 + 800ce48: bf00 nop + 800ce4a: bd80 pop {r7, pc} + 800ce4c: 20000028 .word 0x20000028 -0800c4cc : +0800ce50 : * * @return a new (free) local UDP port number */ static u16_t udp_new_port(void) { - 800c4cc: b480 push {r7} - 800c4ce: b083 sub sp, #12 - 800c4d0: af00 add r7, sp, #0 + 800ce50: b480 push {r7} + 800ce52: b083 sub sp, #12 + 800ce54: af00 add r7, sp, #0 u16_t n = 0; - 800c4d2: 2300 movs r3, #0 - 800c4d4: 80fb strh r3, [r7, #6] + 800ce56: 2300 movs r3, #0 + 800ce58: 80fb strh r3, [r7, #6] struct udp_pcb *pcb; again: if (udp_port++ == UDP_LOCAL_PORT_RANGE_END) { - 800c4d6: 4b17 ldr r3, [pc, #92] @ (800c534 ) - 800c4d8: 881b ldrh r3, [r3, #0] - 800c4da: 1c5a adds r2, r3, #1 - 800c4dc: b291 uxth r1, r2 - 800c4de: 4a15 ldr r2, [pc, #84] @ (800c534 ) - 800c4e0: 8011 strh r1, [r2, #0] - 800c4e2: f64f 72ff movw r2, #65535 @ 0xffff - 800c4e6: 4293 cmp r3, r2 - 800c4e8: d103 bne.n 800c4f2 + 800ce5a: 4b17 ldr r3, [pc, #92] @ (800ceb8 ) + 800ce5c: 881b ldrh r3, [r3, #0] + 800ce5e: 1c5a adds r2, r3, #1 + 800ce60: b291 uxth r1, r2 + 800ce62: 4a15 ldr r2, [pc, #84] @ (800ceb8 ) + 800ce64: 8011 strh r1, [r2, #0] + 800ce66: f64f 72ff movw r2, #65535 @ 0xffff + 800ce6a: 4293 cmp r3, r2 + 800ce6c: d103 bne.n 800ce76 udp_port = UDP_LOCAL_PORT_RANGE_START; - 800c4ea: 4b12 ldr r3, [pc, #72] @ (800c534 ) - 800c4ec: f44f 4240 mov.w r2, #49152 @ 0xc000 - 800c4f0: 801a strh r2, [r3, #0] + 800ce6e: 4b12 ldr r3, [pc, #72] @ (800ceb8 ) + 800ce70: f44f 4240 mov.w r2, #49152 @ 0xc000 + 800ce74: 801a strh r2, [r3, #0] } /* Check all PCBs. */ for (pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) { - 800c4f2: 4b11 ldr r3, [pc, #68] @ (800c538 ) - 800c4f4: 681b ldr r3, [r3, #0] - 800c4f6: 603b str r3, [r7, #0] - 800c4f8: e011 b.n 800c51e + 800ce76: 4b11 ldr r3, [pc, #68] @ (800cebc ) + 800ce78: 681b ldr r3, [r3, #0] + 800ce7a: 603b str r3, [r7, #0] + 800ce7c: e011 b.n 800cea2 if (pcb->local_port == udp_port) { - 800c4fa: 683b ldr r3, [r7, #0] - 800c4fc: 8a5a ldrh r2, [r3, #18] - 800c4fe: 4b0d ldr r3, [pc, #52] @ (800c534 ) - 800c500: 881b ldrh r3, [r3, #0] - 800c502: 429a cmp r2, r3 - 800c504: d108 bne.n 800c518 + 800ce7e: 683b ldr r3, [r7, #0] + 800ce80: 8a5a ldrh r2, [r3, #18] + 800ce82: 4b0d ldr r3, [pc, #52] @ (800ceb8 ) + 800ce84: 881b ldrh r3, [r3, #0] + 800ce86: 429a cmp r2, r3 + 800ce88: d108 bne.n 800ce9c if (++n > (UDP_LOCAL_PORT_RANGE_END - UDP_LOCAL_PORT_RANGE_START)) { - 800c506: 88fb ldrh r3, [r7, #6] - 800c508: 3301 adds r3, #1 - 800c50a: 80fb strh r3, [r7, #6] - 800c50c: 88fb ldrh r3, [r7, #6] - 800c50e: f5b3 4f80 cmp.w r3, #16384 @ 0x4000 - 800c512: d3e0 bcc.n 800c4d6 + 800ce8a: 88fb ldrh r3, [r7, #6] + 800ce8c: 3301 adds r3, #1 + 800ce8e: 80fb strh r3, [r7, #6] + 800ce90: 88fb ldrh r3, [r7, #6] + 800ce92: f5b3 4f80 cmp.w r3, #16384 @ 0x4000 + 800ce96: d3e0 bcc.n 800ce5a return 0; - 800c514: 2300 movs r3, #0 - 800c516: e007 b.n 800c528 + 800ce98: 2300 movs r3, #0 + 800ce9a: e007 b.n 800ceac for (pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) { - 800c518: 683b ldr r3, [r7, #0] - 800c51a: 68db ldr r3, [r3, #12] - 800c51c: 603b str r3, [r7, #0] - 800c51e: 683b ldr r3, [r7, #0] - 800c520: 2b00 cmp r3, #0 - 800c522: d1ea bne.n 800c4fa + 800ce9c: 683b ldr r3, [r7, #0] + 800ce9e: 68db ldr r3, [r3, #12] + 800cea0: 603b str r3, [r7, #0] + 800cea2: 683b ldr r3, [r7, #0] + 800cea4: 2b00 cmp r3, #0 + 800cea6: d1ea bne.n 800ce7e } goto again; } } return udp_port; - 800c524: 4b03 ldr r3, [pc, #12] @ (800c534 ) - 800c526: 881b ldrh r3, [r3, #0] + 800cea8: 4b03 ldr r3, [pc, #12] @ (800ceb8 ) + 800ceaa: 881b ldrh r3, [r3, #0] } - 800c528: 4618 mov r0, r3 - 800c52a: 370c adds r7, #12 - 800c52c: 46bd mov sp, r7 - 800c52e: f85d 7b04 ldr.w r7, [sp], #4 - 800c532: 4770 bx lr - 800c534: 20000028 .word 0x20000028 - 800c538: 20019100 .word 0x20019100 + 800ceac: 4618 mov r0, r3 + 800ceae: 370c adds r7, #12 + 800ceb0: 46bd mov sp, r7 + 800ceb2: f85d 7b04 ldr.w r7, [sp], #4 + 800ceb6: 4770 bx lr + 800ceb8: 20000028 .word 0x20000028 + 800cebc: 20019134 .word 0x20019134 -0800c53c : +0800cec0 : * @param broadcast 1 if his is an IPv4 broadcast (global or subnet-only), 0 otherwise (only used for IPv4) * @return 1 on match, 0 otherwise */ static u8_t udp_input_local_match(struct udp_pcb *pcb, struct netif *inp, u8_t broadcast) { - 800c53c: b580 push {r7, lr} - 800c53e: b084 sub sp, #16 - 800c540: af00 add r7, sp, #0 - 800c542: 60f8 str r0, [r7, #12] - 800c544: 60b9 str r1, [r7, #8] - 800c546: 4613 mov r3, r2 - 800c548: 71fb strb r3, [r7, #7] + 800cec0: b580 push {r7, lr} + 800cec2: b084 sub sp, #16 + 800cec4: af00 add r7, sp, #0 + 800cec6: 60f8 str r0, [r7, #12] + 800cec8: 60b9 str r1, [r7, #8] + 800ceca: 4613 mov r3, r2 + 800cecc: 71fb strb r3, [r7, #7] LWIP_UNUSED_ARG(inp); /* in IPv6 only case */ LWIP_UNUSED_ARG(broadcast); /* in IPv6 only case */ LWIP_ASSERT("udp_input_local_match: invalid pcb", pcb != NULL); - 800c54a: 68fb ldr r3, [r7, #12] - 800c54c: 2b00 cmp r3, #0 - 800c54e: d105 bne.n 800c55c - 800c550: 4b27 ldr r3, [pc, #156] @ (800c5f0 ) - 800c552: 2287 movs r2, #135 @ 0x87 - 800c554: 4927 ldr r1, [pc, #156] @ (800c5f4 ) - 800c556: 4828 ldr r0, [pc, #160] @ (800c5f8 ) - 800c558: f005 f84e bl 80115f8 + 800cece: 68fb ldr r3, [r7, #12] + 800ced0: 2b00 cmp r3, #0 + 800ced2: d105 bne.n 800cee0 + 800ced4: 4b27 ldr r3, [pc, #156] @ (800cf74 ) + 800ced6: 2287 movs r2, #135 @ 0x87 + 800ced8: 4927 ldr r1, [pc, #156] @ (800cf78 ) + 800ceda: 4828 ldr r0, [pc, #160] @ (800cf7c ) + 800cedc: f005 f84e bl 8011f7c LWIP_ASSERT("udp_input_local_match: invalid netif", inp != NULL); - 800c55c: 68bb ldr r3, [r7, #8] - 800c55e: 2b00 cmp r3, #0 - 800c560: d105 bne.n 800c56e - 800c562: 4b23 ldr r3, [pc, #140] @ (800c5f0 ) - 800c564: 2288 movs r2, #136 @ 0x88 - 800c566: 4925 ldr r1, [pc, #148] @ (800c5fc ) - 800c568: 4823 ldr r0, [pc, #140] @ (800c5f8 ) - 800c56a: f005 f845 bl 80115f8 + 800cee0: 68bb ldr r3, [r7, #8] + 800cee2: 2b00 cmp r3, #0 + 800cee4: d105 bne.n 800cef2 + 800cee6: 4b23 ldr r3, [pc, #140] @ (800cf74 ) + 800cee8: 2288 movs r2, #136 @ 0x88 + 800ceea: 4925 ldr r1, [pc, #148] @ (800cf80 ) + 800ceec: 4823 ldr r0, [pc, #140] @ (800cf7c ) + 800ceee: f005 f845 bl 8011f7c /* check if PCB is bound to specific netif */ if ((pcb->netif_idx != NETIF_NO_INDEX) && - 800c56e: 68fb ldr r3, [r7, #12] - 800c570: 7a1b ldrb r3, [r3, #8] - 800c572: 2b00 cmp r3, #0 - 800c574: d00b beq.n 800c58e + 800cef2: 68fb ldr r3, [r7, #12] + 800cef4: 7a1b ldrb r3, [r3, #8] + 800cef6: 2b00 cmp r3, #0 + 800cef8: d00b beq.n 800cf12 (pcb->netif_idx != netif_get_index(ip_data.current_input_netif))) { - 800c576: 68fb ldr r3, [r7, #12] - 800c578: 7a1a ldrb r2, [r3, #8] - 800c57a: 4b21 ldr r3, [pc, #132] @ (800c600 ) - 800c57c: 685b ldr r3, [r3, #4] - 800c57e: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 800c582: 3301 adds r3, #1 - 800c584: b2db uxtb r3, r3 + 800cefa: 68fb ldr r3, [r7, #12] + 800cefc: 7a1a ldrb r2, [r3, #8] + 800cefe: 4b21 ldr r3, [pc, #132] @ (800cf84 ) + 800cf00: 685b ldr r3, [r3, #4] + 800cf02: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 800cf06: 3301 adds r3, #1 + 800cf08: b2db uxtb r3, r3 if ((pcb->netif_idx != NETIF_NO_INDEX) && - 800c586: 429a cmp r2, r3 - 800c588: d001 beq.n 800c58e + 800cf0a: 429a cmp r2, r3 + 800cf0c: d001 beq.n 800cf12 return 0; - 800c58a: 2300 movs r3, #0 - 800c58c: e02b b.n 800c5e6 + 800cf0e: 2300 movs r3, #0 + 800cf10: e02b b.n 800cf6a /* Only need to check PCB if incoming IP version matches PCB IP version */ if (IP_ADDR_PCB_VERSION_MATCH_EXACT(pcb, ip_current_dest_addr())) { #if LWIP_IPV4 /* Special case: IPv4 broadcast: all or broadcasts in my subnet * Note: broadcast variable can only be 1 if it is an IPv4 broadcast */ if (broadcast != 0) { - 800c58e: 79fb ldrb r3, [r7, #7] - 800c590: 2b00 cmp r3, #0 - 800c592: d018 beq.n 800c5c6 + 800cf12: 79fb ldrb r3, [r7, #7] + 800cf14: 2b00 cmp r3, #0 + 800cf16: d018 beq.n 800cf4a #if IP_SOF_BROADCAST_RECV if (ip_get_option(pcb, SOF_BROADCAST)) #endif /* IP_SOF_BROADCAST_RECV */ { if (ip4_addr_isany(ip_2_ip4(&pcb->local_ip)) || - 800c594: 68fb ldr r3, [r7, #12] - 800c596: 2b00 cmp r3, #0 - 800c598: d013 beq.n 800c5c2 - 800c59a: 68fb ldr r3, [r7, #12] - 800c59c: 681b ldr r3, [r3, #0] - 800c59e: 2b00 cmp r3, #0 - 800c5a0: d00f beq.n 800c5c2 + 800cf18: 68fb ldr r3, [r7, #12] + 800cf1a: 2b00 cmp r3, #0 + 800cf1c: d013 beq.n 800cf46 + 800cf1e: 68fb ldr r3, [r7, #12] + 800cf20: 681b ldr r3, [r3, #0] + 800cf22: 2b00 cmp r3, #0 + 800cf24: d00f beq.n 800cf46 ((ip4_current_dest_addr()->addr == IPADDR_BROADCAST)) || - 800c5a2: 4b17 ldr r3, [pc, #92] @ (800c600 ) - 800c5a4: 695b ldr r3, [r3, #20] + 800cf26: 4b17 ldr r3, [pc, #92] @ (800cf84 ) + 800cf28: 695b ldr r3, [r3, #20] if (ip4_addr_isany(ip_2_ip4(&pcb->local_ip)) || - 800c5a6: f1b3 3fff cmp.w r3, #4294967295 - 800c5aa: d00a beq.n 800c5c2 + 800cf2a: f1b3 3fff cmp.w r3, #4294967295 + 800cf2e: d00a beq.n 800cf46 ip4_addr_netcmp(ip_2_ip4(&pcb->local_ip), ip4_current_dest_addr(), netif_ip4_netmask(inp))) { - 800c5ac: 68fb ldr r3, [r7, #12] - 800c5ae: 681a ldr r2, [r3, #0] - 800c5b0: 4b13 ldr r3, [pc, #76] @ (800c600 ) - 800c5b2: 695b ldr r3, [r3, #20] - 800c5b4: 405a eors r2, r3 - 800c5b6: 68bb ldr r3, [r7, #8] - 800c5b8: 3308 adds r3, #8 - 800c5ba: 681b ldr r3, [r3, #0] - 800c5bc: 4013 ands r3, r2 + 800cf30: 68fb ldr r3, [r7, #12] + 800cf32: 681a ldr r2, [r3, #0] + 800cf34: 4b13 ldr r3, [pc, #76] @ (800cf84 ) + 800cf36: 695b ldr r3, [r3, #20] + 800cf38: 405a eors r2, r3 + 800cf3a: 68bb ldr r3, [r7, #8] + 800cf3c: 3308 adds r3, #8 + 800cf3e: 681b ldr r3, [r3, #0] + 800cf40: 4013 ands r3, r2 ((ip4_current_dest_addr()->addr == IPADDR_BROADCAST)) || - 800c5be: 2b00 cmp r3, #0 - 800c5c0: d110 bne.n 800c5e4 + 800cf42: 2b00 cmp r3, #0 + 800cf44: d110 bne.n 800cf68 return 1; - 800c5c2: 2301 movs r3, #1 - 800c5c4: e00f b.n 800c5e6 + 800cf46: 2301 movs r3, #1 + 800cf48: e00f b.n 800cf6a } } } else #endif /* LWIP_IPV4 */ /* Handle IPv4 and IPv6: all or exact match */ if (ip_addr_isany(&pcb->local_ip) || ip_addr_cmp(&pcb->local_ip, ip_current_dest_addr())) { - 800c5c6: 68fb ldr r3, [r7, #12] - 800c5c8: 2b00 cmp r3, #0 - 800c5ca: d009 beq.n 800c5e0 - 800c5cc: 68fb ldr r3, [r7, #12] - 800c5ce: 681b ldr r3, [r3, #0] - 800c5d0: 2b00 cmp r3, #0 - 800c5d2: d005 beq.n 800c5e0 - 800c5d4: 68fb ldr r3, [r7, #12] - 800c5d6: 681a ldr r2, [r3, #0] - 800c5d8: 4b09 ldr r3, [pc, #36] @ (800c600 ) - 800c5da: 695b ldr r3, [r3, #20] - 800c5dc: 429a cmp r2, r3 - 800c5de: d101 bne.n 800c5e4 + 800cf4a: 68fb ldr r3, [r7, #12] + 800cf4c: 2b00 cmp r3, #0 + 800cf4e: d009 beq.n 800cf64 + 800cf50: 68fb ldr r3, [r7, #12] + 800cf52: 681b ldr r3, [r3, #0] + 800cf54: 2b00 cmp r3, #0 + 800cf56: d005 beq.n 800cf64 + 800cf58: 68fb ldr r3, [r7, #12] + 800cf5a: 681a ldr r2, [r3, #0] + 800cf5c: 4b09 ldr r3, [pc, #36] @ (800cf84 ) + 800cf5e: 695b ldr r3, [r3, #20] + 800cf60: 429a cmp r2, r3 + 800cf62: d101 bne.n 800cf68 return 1; - 800c5e0: 2301 movs r3, #1 - 800c5e2: e000 b.n 800c5e6 + 800cf64: 2301 movs r3, #1 + 800cf66: e000 b.n 800cf6a } } return 0; - 800c5e4: 2300 movs r3, #0 + 800cf68: 2300 movs r3, #0 } - 800c5e6: 4618 mov r0, r3 - 800c5e8: 3710 adds r7, #16 - 800c5ea: 46bd mov sp, r7 - 800c5ec: bd80 pop {r7, pc} - 800c5ee: bf00 nop - 800c5f0: 08017fa0 .word 0x08017fa0 - 800c5f4: 08017fd0 .word 0x08017fd0 - 800c5f8: 08017ff4 .word 0x08017ff4 - 800c5fc: 0801801c .word 0x0801801c - 800c600: 2000614c .word 0x2000614c + 800cf6a: 4618 mov r0, r3 + 800cf6c: 3710 adds r7, #16 + 800cf6e: 46bd mov sp, r7 + 800cf70: bd80 pop {r7, pc} + 800cf72: bf00 nop + 800cf74: 08018920 .word 0x08018920 + 800cf78: 08018950 .word 0x08018950 + 800cf7c: 08018974 .word 0x08018974 + 800cf80: 0801899c .word 0x0801899c + 800cf84: 20006180 .word 0x20006180 -0800c604 : +0800cf88 : * @param inp network interface on which the datagram was received. * */ void udp_input(struct pbuf *p, struct netif *inp) { - 800c604: b590 push {r4, r7, lr} - 800c606: b08d sub sp, #52 @ 0x34 - 800c608: af02 add r7, sp, #8 - 800c60a: 6078 str r0, [r7, #4] - 800c60c: 6039 str r1, [r7, #0] + 800cf88: b590 push {r4, r7, lr} + 800cf8a: b08d sub sp, #52 @ 0x34 + 800cf8c: af02 add r7, sp, #8 + 800cf8e: 6078 str r0, [r7, #4] + 800cf90: 6039 str r1, [r7, #0] struct udp_hdr *udphdr; struct udp_pcb *pcb, *prev; struct udp_pcb *uncon_pcb; u16_t src, dest; u8_t broadcast; u8_t for_us = 0; - 800c60e: 2300 movs r3, #0 - 800c610: 76fb strb r3, [r7, #27] + 800cf92: 2300 movs r3, #0 + 800cf94: 76fb strb r3, [r7, #27] LWIP_UNUSED_ARG(inp); LWIP_ASSERT_CORE_LOCKED(); LWIP_ASSERT("udp_input: invalid pbuf", p != NULL); - 800c612: 687b ldr r3, [r7, #4] - 800c614: 2b00 cmp r3, #0 - 800c616: d105 bne.n 800c624 - 800c618: 4b7c ldr r3, [pc, #496] @ (800c80c ) - 800c61a: 22cf movs r2, #207 @ 0xcf - 800c61c: 497c ldr r1, [pc, #496] @ (800c810 ) - 800c61e: 487d ldr r0, [pc, #500] @ (800c814 ) - 800c620: f004 ffea bl 80115f8 + 800cf96: 687b ldr r3, [r7, #4] + 800cf98: 2b00 cmp r3, #0 + 800cf9a: d105 bne.n 800cfa8 + 800cf9c: 4b7c ldr r3, [pc, #496] @ (800d190 ) + 800cf9e: 22cf movs r2, #207 @ 0xcf + 800cfa0: 497c ldr r1, [pc, #496] @ (800d194 ) + 800cfa2: 487d ldr r0, [pc, #500] @ (800d198 ) + 800cfa4: f004 ffea bl 8011f7c LWIP_ASSERT("udp_input: invalid netif", inp != NULL); - 800c624: 683b ldr r3, [r7, #0] - 800c626: 2b00 cmp r3, #0 - 800c628: d105 bne.n 800c636 - 800c62a: 4b78 ldr r3, [pc, #480] @ (800c80c ) - 800c62c: 22d0 movs r2, #208 @ 0xd0 - 800c62e: 497a ldr r1, [pc, #488] @ (800c818 ) - 800c630: 4878 ldr r0, [pc, #480] @ (800c814 ) - 800c632: f004 ffe1 bl 80115f8 + 800cfa8: 683b ldr r3, [r7, #0] + 800cfaa: 2b00 cmp r3, #0 + 800cfac: d105 bne.n 800cfba + 800cfae: 4b78 ldr r3, [pc, #480] @ (800d190 ) + 800cfb0: 22d0 movs r2, #208 @ 0xd0 + 800cfb2: 497a ldr r1, [pc, #488] @ (800d19c ) + 800cfb4: 4878 ldr r0, [pc, #480] @ (800d198 ) + 800cfb6: f004 ffe1 bl 8011f7c PERF_START; UDP_STATS_INC(udp.recv); /* Check minimum length (UDP header) */ if (p->len < UDP_HLEN) { - 800c636: 687b ldr r3, [r7, #4] - 800c638: 895b ldrh r3, [r3, #10] - 800c63a: 2b07 cmp r3, #7 - 800c63c: d803 bhi.n 800c646 + 800cfba: 687b ldr r3, [r7, #4] + 800cfbc: 895b ldrh r3, [r3, #10] + 800cfbe: 2b07 cmp r3, #7 + 800cfc0: d803 bhi.n 800cfca LWIP_DEBUGF(UDP_DEBUG, ("udp_input: short UDP datagram (%"U16_F" bytes) discarded\n", p->tot_len)); UDP_STATS_INC(udp.lenerr); UDP_STATS_INC(udp.drop); MIB2_STATS_INC(mib2.udpinerrors); pbuf_free(p); - 800c63e: 6878 ldr r0, [r7, #4] - 800c640: f7fa f9f2 bl 8006a28 + 800cfc2: 6878 ldr r0, [r7, #4] + 800cfc4: f7fa f9f2 bl 80073ac goto end; - 800c644: e0de b.n 800c804 + 800cfc8: e0de b.n 800d188 } udphdr = (struct udp_hdr *)p->payload; - 800c646: 687b ldr r3, [r7, #4] - 800c648: 685b ldr r3, [r3, #4] - 800c64a: 617b str r3, [r7, #20] + 800cfca: 687b ldr r3, [r7, #4] + 800cfcc: 685b ldr r3, [r3, #4] + 800cfce: 617b str r3, [r7, #20] /* is broadcast packet ? */ broadcast = ip_addr_isbroadcast(ip_current_dest_addr(), ip_current_netif()); - 800c64c: 4b73 ldr r3, [pc, #460] @ (800c81c ) - 800c64e: 695b ldr r3, [r3, #20] - 800c650: 4a72 ldr r2, [pc, #456] @ (800c81c ) - 800c652: 6812 ldr r2, [r2, #0] - 800c654: 4611 mov r1, r2 - 800c656: 4618 mov r0, r3 - 800c658: f003 fe5c bl 8010314 - 800c65c: 4603 mov r3, r0 - 800c65e: 74fb strb r3, [r7, #19] + 800cfd0: 4b73 ldr r3, [pc, #460] @ (800d1a0 ) + 800cfd2: 695b ldr r3, [r3, #20] + 800cfd4: 4a72 ldr r2, [pc, #456] @ (800d1a0 ) + 800cfd6: 6812 ldr r2, [r2, #0] + 800cfd8: 4611 mov r1, r2 + 800cfda: 4618 mov r0, r3 + 800cfdc: f003 fe5c bl 8010c98 + 800cfe0: 4603 mov r3, r0 + 800cfe2: 74fb strb r3, [r7, #19] LWIP_DEBUGF(UDP_DEBUG, ("udp_input: received datagram of length %"U16_F"\n", p->tot_len)); /* convert src and dest ports to host byte order */ src = lwip_ntohs(udphdr->src); - 800c660: 697b ldr r3, [r7, #20] - 800c662: 881b ldrh r3, [r3, #0] - 800c664: b29b uxth r3, r3 - 800c666: 4618 mov r0, r3 - 800c668: f7f8 fe8e bl 8005388 - 800c66c: 4603 mov r3, r0 - 800c66e: 823b strh r3, [r7, #16] + 800cfe4: 697b ldr r3, [r7, #20] + 800cfe6: 881b ldrh r3, [r3, #0] + 800cfe8: b29b uxth r3, r3 + 800cfea: 4618 mov r0, r3 + 800cfec: f7f8 fe8e bl 8005d0c + 800cff0: 4603 mov r3, r0 + 800cff2: 823b strh r3, [r7, #16] dest = lwip_ntohs(udphdr->dest); - 800c670: 697b ldr r3, [r7, #20] - 800c672: 885b ldrh r3, [r3, #2] - 800c674: b29b uxth r3, r3 - 800c676: 4618 mov r0, r3 - 800c678: f7f8 fe86 bl 8005388 - 800c67c: 4603 mov r3, r0 - 800c67e: 81fb strh r3, [r7, #14] + 800cff4: 697b ldr r3, [r7, #20] + 800cff6: 885b ldrh r3, [r3, #2] + 800cff8: b29b uxth r3, r3 + 800cffa: 4618 mov r0, r3 + 800cffc: f7f8 fe86 bl 8005d0c + 800d000: 4603 mov r3, r0 + 800d002: 81fb strh r3, [r7, #14] ip_addr_debug_print_val(UDP_DEBUG, *ip_current_dest_addr()); LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F") <-- (", lwip_ntohs(udphdr->dest))); ip_addr_debug_print_val(UDP_DEBUG, *ip_current_src_addr()); LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F")\n", lwip_ntohs(udphdr->src))); pcb = NULL; - 800c680: 2300 movs r3, #0 - 800c682: 627b str r3, [r7, #36] @ 0x24 + 800d004: 2300 movs r3, #0 + 800d006: 627b str r3, [r7, #36] @ 0x24 prev = NULL; - 800c684: 2300 movs r3, #0 - 800c686: 623b str r3, [r7, #32] + 800d008: 2300 movs r3, #0 + 800d00a: 623b str r3, [r7, #32] uncon_pcb = NULL; - 800c688: 2300 movs r3, #0 - 800c68a: 61fb str r3, [r7, #28] + 800d00c: 2300 movs r3, #0 + 800d00e: 61fb str r3, [r7, #28] /* Iterate through the UDP pcb list for a matching pcb. * 'Perfect match' pcbs (connected to the remote port & ip address) are * preferred. If no perfect match is found, the first unconnected pcb that * matches the local port and ip address gets the datagram. */ for (pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) { - 800c68c: 4b64 ldr r3, [pc, #400] @ (800c820 ) - 800c68e: 681b ldr r3, [r3, #0] - 800c690: 627b str r3, [r7, #36] @ 0x24 - 800c692: e054 b.n 800c73e + 800d010: 4b64 ldr r3, [pc, #400] @ (800d1a4 ) + 800d012: 681b ldr r3, [r3, #0] + 800d014: 627b str r3, [r7, #36] @ 0x24 + 800d016: e054 b.n 800d0c2 LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F") <-- (", pcb->local_port)); ip_addr_debug_print_val(UDP_DEBUG, pcb->remote_ip); LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F")\n", pcb->remote_port)); /* compare PCB local addr+port to UDP destination addr+port */ if ((pcb->local_port == dest) && - 800c694: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c696: 8a5b ldrh r3, [r3, #18] - 800c698: 89fa ldrh r2, [r7, #14] - 800c69a: 429a cmp r2, r3 - 800c69c: d14a bne.n 800c734 + 800d018: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d01a: 8a5b ldrh r3, [r3, #18] + 800d01c: 89fa ldrh r2, [r7, #14] + 800d01e: 429a cmp r2, r3 + 800d020: d14a bne.n 800d0b8 (udp_input_local_match(pcb, inp, broadcast) != 0)) { - 800c69e: 7cfb ldrb r3, [r7, #19] - 800c6a0: 461a mov r2, r3 - 800c6a2: 6839 ldr r1, [r7, #0] - 800c6a4: 6a78 ldr r0, [r7, #36] @ 0x24 - 800c6a6: f7ff ff49 bl 800c53c - 800c6aa: 4603 mov r3, r0 + 800d022: 7cfb ldrb r3, [r7, #19] + 800d024: 461a mov r2, r3 + 800d026: 6839 ldr r1, [r7, #0] + 800d028: 6a78 ldr r0, [r7, #36] @ 0x24 + 800d02a: f7ff ff49 bl 800cec0 + 800d02e: 4603 mov r3, r0 if ((pcb->local_port == dest) && - 800c6ac: 2b00 cmp r3, #0 - 800c6ae: d041 beq.n 800c734 + 800d030: 2b00 cmp r3, #0 + 800d032: d041 beq.n 800d0b8 if ((pcb->flags & UDP_FLAGS_CONNECTED) == 0) { - 800c6b0: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c6b2: 7c1b ldrb r3, [r3, #16] - 800c6b4: f003 0304 and.w r3, r3, #4 - 800c6b8: 2b00 cmp r3, #0 - 800c6ba: d11d bne.n 800c6f8 + 800d034: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d036: 7c1b ldrb r3, [r3, #16] + 800d038: f003 0304 and.w r3, r3, #4 + 800d03c: 2b00 cmp r3, #0 + 800d03e: d11d bne.n 800d07c if (uncon_pcb == NULL) { - 800c6bc: 69fb ldr r3, [r7, #28] - 800c6be: 2b00 cmp r3, #0 - 800c6c0: d102 bne.n 800c6c8 + 800d040: 69fb ldr r3, [r7, #28] + 800d042: 2b00 cmp r3, #0 + 800d044: d102 bne.n 800d04c /* the first unconnected matching PCB */ uncon_pcb = pcb; - 800c6c2: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c6c4: 61fb str r3, [r7, #28] - 800c6c6: e017 b.n 800c6f8 + 800d046: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d048: 61fb str r3, [r7, #28] + 800d04a: e017 b.n 800d07c #if LWIP_IPV4 } else if (broadcast && ip4_current_dest_addr()->addr == IPADDR_BROADCAST) { - 800c6c8: 7cfb ldrb r3, [r7, #19] - 800c6ca: 2b00 cmp r3, #0 - 800c6cc: d014 beq.n 800c6f8 - 800c6ce: 4b53 ldr r3, [pc, #332] @ (800c81c ) - 800c6d0: 695b ldr r3, [r3, #20] - 800c6d2: f1b3 3fff cmp.w r3, #4294967295 - 800c6d6: d10f bne.n 800c6f8 + 800d04c: 7cfb ldrb r3, [r7, #19] + 800d04e: 2b00 cmp r3, #0 + 800d050: d014 beq.n 800d07c + 800d052: 4b53 ldr r3, [pc, #332] @ (800d1a0 ) + 800d054: 695b ldr r3, [r3, #20] + 800d056: f1b3 3fff cmp.w r3, #4294967295 + 800d05a: d10f bne.n 800d07c /* global broadcast address (only valid for IPv4; match was checked before) */ if (!IP_IS_V4_VAL(uncon_pcb->local_ip) || !ip4_addr_cmp(ip_2_ip4(&uncon_pcb->local_ip), netif_ip4_addr(inp))) { - 800c6d8: 69fb ldr r3, [r7, #28] - 800c6da: 681a ldr r2, [r3, #0] - 800c6dc: 683b ldr r3, [r7, #0] - 800c6de: 3304 adds r3, #4 - 800c6e0: 681b ldr r3, [r3, #0] - 800c6e2: 429a cmp r2, r3 - 800c6e4: d008 beq.n 800c6f8 + 800d05c: 69fb ldr r3, [r7, #28] + 800d05e: 681a ldr r2, [r3, #0] + 800d060: 683b ldr r3, [r7, #0] + 800d062: 3304 adds r3, #4 + 800d064: 681b ldr r3, [r3, #0] + 800d066: 429a cmp r2, r3 + 800d068: d008 beq.n 800d07c /* uncon_pcb does not match the input netif, check this pcb */ if (IP_IS_V4_VAL(pcb->local_ip) && ip4_addr_cmp(ip_2_ip4(&pcb->local_ip), netif_ip4_addr(inp))) { - 800c6e6: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c6e8: 681a ldr r2, [r3, #0] - 800c6ea: 683b ldr r3, [r7, #0] - 800c6ec: 3304 adds r3, #4 - 800c6ee: 681b ldr r3, [r3, #0] - 800c6f0: 429a cmp r2, r3 - 800c6f2: d101 bne.n 800c6f8 + 800d06a: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d06c: 681a ldr r2, [r3, #0] + 800d06e: 683b ldr r3, [r7, #0] + 800d070: 3304 adds r3, #4 + 800d072: 681b ldr r3, [r3, #0] + 800d074: 429a cmp r2, r3 + 800d076: d101 bne.n 800d07c /* better match */ uncon_pcb = pcb; - 800c6f4: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c6f6: 61fb str r3, [r7, #28] + 800d078: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d07a: 61fb str r3, [r7, #28] } #endif /* SO_REUSE */ } /* compare PCB remote addr+port to UDP source addr+port */ if ((pcb->remote_port == src) && - 800c6f8: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c6fa: 8a9b ldrh r3, [r3, #20] - 800c6fc: 8a3a ldrh r2, [r7, #16] - 800c6fe: 429a cmp r2, r3 - 800c700: d118 bne.n 800c734 + 800d07c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d07e: 8a9b ldrh r3, [r3, #20] + 800d080: 8a3a ldrh r2, [r7, #16] + 800d082: 429a cmp r2, r3 + 800d084: d118 bne.n 800d0b8 (ip_addr_isany_val(pcb->remote_ip) || - 800c702: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c704: 685b ldr r3, [r3, #4] + 800d086: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d088: 685b ldr r3, [r3, #4] if ((pcb->remote_port == src) && - 800c706: 2b00 cmp r3, #0 - 800c708: d005 beq.n 800c716 + 800d08a: 2b00 cmp r3, #0 + 800d08c: d005 beq.n 800d09a ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()))) { - 800c70a: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c70c: 685a ldr r2, [r3, #4] - 800c70e: 4b43 ldr r3, [pc, #268] @ (800c81c ) - 800c710: 691b ldr r3, [r3, #16] + 800d08e: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d090: 685a ldr r2, [r3, #4] + 800d092: 4b43 ldr r3, [pc, #268] @ (800d1a0 ) + 800d094: 691b ldr r3, [r3, #16] (ip_addr_isany_val(pcb->remote_ip) || - 800c712: 429a cmp r2, r3 - 800c714: d10e bne.n 800c734 + 800d096: 429a cmp r2, r3 + 800d098: d10e bne.n 800d0b8 /* the first fully matching PCB */ if (prev != NULL) { - 800c716: 6a3b ldr r3, [r7, #32] - 800c718: 2b00 cmp r3, #0 - 800c71a: d014 beq.n 800c746 + 800d09a: 6a3b ldr r3, [r7, #32] + 800d09c: 2b00 cmp r3, #0 + 800d09e: d014 beq.n 800d0ca /* move the pcb to the front of udp_pcbs so that is found faster next time */ prev->next = pcb->next; - 800c71c: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c71e: 68da ldr r2, [r3, #12] - 800c720: 6a3b ldr r3, [r7, #32] - 800c722: 60da str r2, [r3, #12] + 800d0a0: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d0a2: 68da ldr r2, [r3, #12] + 800d0a4: 6a3b ldr r3, [r7, #32] + 800d0a6: 60da str r2, [r3, #12] pcb->next = udp_pcbs; - 800c724: 4b3e ldr r3, [pc, #248] @ (800c820 ) - 800c726: 681a ldr r2, [r3, #0] - 800c728: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c72a: 60da str r2, [r3, #12] + 800d0a8: 4b3e ldr r3, [pc, #248] @ (800d1a4 ) + 800d0aa: 681a ldr r2, [r3, #0] + 800d0ac: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d0ae: 60da str r2, [r3, #12] udp_pcbs = pcb; - 800c72c: 4a3c ldr r2, [pc, #240] @ (800c820 ) - 800c72e: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c730: 6013 str r3, [r2, #0] + 800d0b0: 4a3c ldr r2, [pc, #240] @ (800d1a4 ) + 800d0b2: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d0b4: 6013 str r3, [r2, #0] } else { UDP_STATS_INC(udp.cachehit); } break; - 800c732: e008 b.n 800c746 + 800d0b6: e008 b.n 800d0ca } } prev = pcb; - 800c734: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c736: 623b str r3, [r7, #32] + 800d0b8: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d0ba: 623b str r3, [r7, #32] for (pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) { - 800c738: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c73a: 68db ldr r3, [r3, #12] - 800c73c: 627b str r3, [r7, #36] @ 0x24 - 800c73e: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c740: 2b00 cmp r3, #0 - 800c742: d1a7 bne.n 800c694 - 800c744: e000 b.n 800c748 + 800d0bc: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d0be: 68db ldr r3, [r3, #12] + 800d0c0: 627b str r3, [r7, #36] @ 0x24 + 800d0c2: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d0c4: 2b00 cmp r3, #0 + 800d0c6: d1a7 bne.n 800d018 + 800d0c8: e000 b.n 800d0cc break; - 800c746: bf00 nop + 800d0ca: bf00 nop } /* no fully matching pcb found? then look for an unconnected pcb */ if (pcb == NULL) { - 800c748: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c74a: 2b00 cmp r3, #0 - 800c74c: d101 bne.n 800c752 + 800d0cc: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d0ce: 2b00 cmp r3, #0 + 800d0d0: d101 bne.n 800d0d6 pcb = uncon_pcb; - 800c74e: 69fb ldr r3, [r7, #28] - 800c750: 627b str r3, [r7, #36] @ 0x24 + 800d0d2: 69fb ldr r3, [r7, #28] + 800d0d4: 627b str r3, [r7, #36] @ 0x24 } /* Check checksum if this is a match or if it was directed at us. */ if (pcb != NULL) { - 800c752: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c754: 2b00 cmp r3, #0 - 800c756: d002 beq.n 800c75e + 800d0d6: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d0d8: 2b00 cmp r3, #0 + 800d0da: d002 beq.n 800d0e2 for_us = 1; - 800c758: 2301 movs r3, #1 - 800c75a: 76fb strb r3, [r7, #27] - 800c75c: e00a b.n 800c774 + 800d0dc: 2301 movs r3, #1 + 800d0de: 76fb strb r3, [r7, #27] + 800d0e0: e00a b.n 800d0f8 for_us = netif_get_ip6_addr_match(inp, ip6_current_dest_addr()) >= 0; } #endif /* LWIP_IPV6 */ #if LWIP_IPV4 if (!ip_current_is_v6()) { for_us = ip4_addr_cmp(netif_ip4_addr(inp), ip4_current_dest_addr()); - 800c75e: 683b ldr r3, [r7, #0] - 800c760: 3304 adds r3, #4 - 800c762: 681a ldr r2, [r3, #0] - 800c764: 4b2d ldr r3, [pc, #180] @ (800c81c ) - 800c766: 695b ldr r3, [r3, #20] - 800c768: 429a cmp r2, r3 - 800c76a: bf0c ite eq - 800c76c: 2301 moveq r3, #1 - 800c76e: 2300 movne r3, #0 - 800c770: b2db uxtb r3, r3 - 800c772: 76fb strb r3, [r7, #27] + 800d0e2: 683b ldr r3, [r7, #0] + 800d0e4: 3304 adds r3, #4 + 800d0e6: 681a ldr r2, [r3, #0] + 800d0e8: 4b2d ldr r3, [pc, #180] @ (800d1a0 ) + 800d0ea: 695b ldr r3, [r3, #20] + 800d0ec: 429a cmp r2, r3 + 800d0ee: bf0c ite eq + 800d0f0: 2301 moveq r3, #1 + 800d0f2: 2300 movne r3, #0 + 800d0f4: b2db uxtb r3, r3 + 800d0f6: 76fb strb r3, [r7, #27] } #endif /* LWIP_IPV4 */ } if (for_us) { - 800c774: 7efb ldrb r3, [r7, #27] - 800c776: 2b00 cmp r3, #0 - 800c778: d041 beq.n 800c7fe + 800d0f8: 7efb ldrb r3, [r7, #27] + 800d0fa: 2b00 cmp r3, #0 + 800d0fc: d041 beq.n 800d182 } } } } #endif /* CHECKSUM_CHECK_UDP */ if (pbuf_remove_header(p, UDP_HLEN)) { - 800c77a: 2108 movs r1, #8 - 800c77c: 6878 ldr r0, [r7, #4] - 800c77e: f7fa f8cd bl 800691c - 800c782: 4603 mov r3, r0 - 800c784: 2b00 cmp r3, #0 - 800c786: d00a beq.n 800c79e + 800d0fe: 2108 movs r1, #8 + 800d100: 6878 ldr r0, [r7, #4] + 800d102: f7fa f8cd bl 80072a0 + 800d106: 4603 mov r3, r0 + 800d108: 2b00 cmp r3, #0 + 800d10a: d00a beq.n 800d122 /* Can we cope with this failing? Just assert for now */ LWIP_ASSERT("pbuf_remove_header failed\n", 0); - 800c788: 4b20 ldr r3, [pc, #128] @ (800c80c ) - 800c78a: f44f 72b8 mov.w r2, #368 @ 0x170 - 800c78e: 4925 ldr r1, [pc, #148] @ (800c824 ) - 800c790: 4820 ldr r0, [pc, #128] @ (800c814 ) - 800c792: f004 ff31 bl 80115f8 + 800d10c: 4b20 ldr r3, [pc, #128] @ (800d190 ) + 800d10e: f44f 72b8 mov.w r2, #368 @ 0x170 + 800d112: 4925 ldr r1, [pc, #148] @ (800d1a8 ) + 800d114: 4820 ldr r0, [pc, #128] @ (800d198 ) + 800d116: f004 ff31 bl 8011f7c UDP_STATS_INC(udp.drop); MIB2_STATS_INC(mib2.udpinerrors); pbuf_free(p); - 800c796: 6878 ldr r0, [r7, #4] - 800c798: f7fa f946 bl 8006a28 + 800d11a: 6878 ldr r0, [r7, #4] + 800d11c: f7fa f946 bl 80073ac goto end; - 800c79c: e032 b.n 800c804 + 800d120: e032 b.n 800d188 } if (pcb != NULL) { - 800c79e: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c7a0: 2b00 cmp r3, #0 - 800c7a2: d012 beq.n 800c7ca + 800d122: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d124: 2b00 cmp r3, #0 + 800d126: d012 beq.n 800d14e } } } #endif /* SO_REUSE && SO_REUSE_RXTOALL */ /* callback */ if (pcb->recv != NULL) { - 800c7a4: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c7a6: 699b ldr r3, [r3, #24] - 800c7a8: 2b00 cmp r3, #0 - 800c7aa: d00a beq.n 800c7c2 + 800d128: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d12a: 699b ldr r3, [r3, #24] + 800d12c: 2b00 cmp r3, #0 + 800d12e: d00a beq.n 800d146 /* now the recv function is responsible for freeing p */ pcb->recv(pcb->recv_arg, pcb, p, ip_current_src_addr(), src); - 800c7ac: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c7ae: 699c ldr r4, [r3, #24] - 800c7b0: 6a7b ldr r3, [r7, #36] @ 0x24 - 800c7b2: 69d8 ldr r0, [r3, #28] - 800c7b4: 8a3b ldrh r3, [r7, #16] - 800c7b6: 9300 str r3, [sp, #0] - 800c7b8: 4b1b ldr r3, [pc, #108] @ (800c828 ) - 800c7ba: 687a ldr r2, [r7, #4] - 800c7bc: 6a79 ldr r1, [r7, #36] @ 0x24 - 800c7be: 47a0 blx r4 + 800d130: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d132: 699c ldr r4, [r3, #24] + 800d134: 6a7b ldr r3, [r7, #36] @ 0x24 + 800d136: 69d8 ldr r0, [r3, #28] + 800d138: 8a3b ldrh r3, [r7, #16] + 800d13a: 9300 str r3, [sp, #0] + 800d13c: 4b1b ldr r3, [pc, #108] @ (800d1ac ) + 800d13e: 687a ldr r2, [r7, #4] + 800d140: 6a79 ldr r1, [r7, #36] @ 0x24 + 800d142: 47a0 blx r4 } else { pbuf_free(p); } end: PERF_STOP("udp_input"); return; - 800c7c0: e021 b.n 800c806 + 800d144: e021 b.n 800d18a pbuf_free(p); - 800c7c2: 6878 ldr r0, [r7, #4] - 800c7c4: f7fa f930 bl 8006a28 + 800d146: 6878 ldr r0, [r7, #4] + 800d148: f7fa f930 bl 80073ac goto end; - 800c7c8: e01c b.n 800c804 + 800d14c: e01c b.n 800d188 if (!broadcast && !ip_addr_ismulticast(ip_current_dest_addr())) { - 800c7ca: 7cfb ldrb r3, [r7, #19] - 800c7cc: 2b00 cmp r3, #0 - 800c7ce: d112 bne.n 800c7f6 - 800c7d0: 4b12 ldr r3, [pc, #72] @ (800c81c ) - 800c7d2: 695b ldr r3, [r3, #20] - 800c7d4: f003 03f0 and.w r3, r3, #240 @ 0xf0 - 800c7d8: 2be0 cmp r3, #224 @ 0xe0 - 800c7da: d00c beq.n 800c7f6 + 800d14e: 7cfb ldrb r3, [r7, #19] + 800d150: 2b00 cmp r3, #0 + 800d152: d112 bne.n 800d17a + 800d154: 4b12 ldr r3, [pc, #72] @ (800d1a0 ) + 800d156: 695b ldr r3, [r3, #20] + 800d158: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 800d15c: 2be0 cmp r3, #224 @ 0xe0 + 800d15e: d00c beq.n 800d17a pbuf_header_force(p, (s16_t)(ip_current_header_tot_len() + UDP_HLEN)); - 800c7dc: 4b0f ldr r3, [pc, #60] @ (800c81c ) - 800c7de: 899b ldrh r3, [r3, #12] - 800c7e0: 3308 adds r3, #8 - 800c7e2: b29b uxth r3, r3 - 800c7e4: b21b sxth r3, r3 - 800c7e6: 4619 mov r1, r3 - 800c7e8: 6878 ldr r0, [r7, #4] - 800c7ea: f7fa f90a bl 8006a02 + 800d160: 4b0f ldr r3, [pc, #60] @ (800d1a0 ) + 800d162: 899b ldrh r3, [r3, #12] + 800d164: 3308 adds r3, #8 + 800d166: b29b uxth r3, r3 + 800d168: b21b sxth r3, r3 + 800d16a: 4619 mov r1, r3 + 800d16c: 6878 ldr r0, [r7, #4] + 800d16e: f7fa f90a bl 8007386 icmp_port_unreach(ip_current_is_v6(), p); - 800c7ee: 2103 movs r1, #3 - 800c7f0: 6878 ldr r0, [r7, #4] - 800c7f2: f003 fa51 bl 800fc98 + 800d172: 2103 movs r1, #3 + 800d174: 6878 ldr r0, [r7, #4] + 800d176: f003 fa51 bl 801061c pbuf_free(p); - 800c7f6: 6878 ldr r0, [r7, #4] - 800c7f8: f7fa f916 bl 8006a28 + 800d17a: 6878 ldr r0, [r7, #4] + 800d17c: f7fa f916 bl 80073ac return; - 800c7fc: e003 b.n 800c806 + 800d180: e003 b.n 800d18a pbuf_free(p); - 800c7fe: 6878 ldr r0, [r7, #4] - 800c800: f7fa f912 bl 8006a28 + 800d182: 6878 ldr r0, [r7, #4] + 800d184: f7fa f912 bl 80073ac return; - 800c804: bf00 nop + 800d188: bf00 nop UDP_STATS_INC(udp.drop); MIB2_STATS_INC(mib2.udpinerrors); pbuf_free(p); PERF_STOP("udp_input"); #endif /* CHECKSUM_CHECK_UDP */ } - 800c806: 372c adds r7, #44 @ 0x2c - 800c808: 46bd mov sp, r7 - 800c80a: bd90 pop {r4, r7, pc} - 800c80c: 08017fa0 .word 0x08017fa0 - 800c810: 08018044 .word 0x08018044 - 800c814: 08017ff4 .word 0x08017ff4 - 800c818: 0801805c .word 0x0801805c - 800c81c: 2000614c .word 0x2000614c - 800c820: 20019100 .word 0x20019100 - 800c824: 08018078 .word 0x08018078 - 800c828: 2000615c .word 0x2000615c + 800d18a: 372c adds r7, #44 @ 0x2c + 800d18c: 46bd mov sp, r7 + 800d18e: bd90 pop {r4, r7, pc} + 800d190: 08018920 .word 0x08018920 + 800d194: 080189c4 .word 0x080189c4 + 800d198: 08018974 .word 0x08018974 + 800d19c: 080189dc .word 0x080189dc + 800d1a0: 20006180 .word 0x20006180 + 800d1a4: 20019134 .word 0x20019134 + 800d1a8: 080189f8 .word 0x080189f8 + 800d1ac: 20006190 .word 0x20006190 -0800c82c : +0800d1b0 : * @see udp_disconnect() udp_send() */ err_t udp_sendto(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, u16_t dst_port) { - 800c82c: b580 push {r7, lr} - 800c82e: b088 sub sp, #32 - 800c830: af02 add r7, sp, #8 - 800c832: 60f8 str r0, [r7, #12] - 800c834: 60b9 str r1, [r7, #8] - 800c836: 607a str r2, [r7, #4] - 800c838: 807b strh r3, [r7, #2] + 800d1b0: b580 push {r7, lr} + 800d1b2: b088 sub sp, #32 + 800d1b4: af02 add r7, sp, #8 + 800d1b6: 60f8 str r0, [r7, #12] + 800d1b8: 60b9 str r1, [r7, #8] + 800d1ba: 607a str r2, [r7, #4] + 800d1bc: 807b strh r3, [r7, #2] u16_t dst_port, u8_t have_chksum, u16_t chksum) { #endif /* LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP */ struct netif *netif; LWIP_ERROR("udp_sendto: invalid pcb", pcb != NULL, return ERR_ARG); - 800c83a: 68fb ldr r3, [r7, #12] - 800c83c: 2b00 cmp r3, #0 - 800c83e: d109 bne.n 800c854 - 800c840: 4b23 ldr r3, [pc, #140] @ (800c8d0 ) - 800c842: f44f 7206 mov.w r2, #536 @ 0x218 - 800c846: 4923 ldr r1, [pc, #140] @ (800c8d4 ) - 800c848: 4823 ldr r0, [pc, #140] @ (800c8d8 ) - 800c84a: f004 fed5 bl 80115f8 - 800c84e: f06f 030f mvn.w r3, #15 - 800c852: e038 b.n 800c8c6 + 800d1be: 68fb ldr r3, [r7, #12] + 800d1c0: 2b00 cmp r3, #0 + 800d1c2: d109 bne.n 800d1d8 + 800d1c4: 4b23 ldr r3, [pc, #140] @ (800d254 ) + 800d1c6: f44f 7206 mov.w r2, #536 @ 0x218 + 800d1ca: 4923 ldr r1, [pc, #140] @ (800d258 ) + 800d1cc: 4823 ldr r0, [pc, #140] @ (800d25c ) + 800d1ce: f004 fed5 bl 8011f7c + 800d1d2: f06f 030f mvn.w r3, #15 + 800d1d6: e038 b.n 800d24a LWIP_ERROR("udp_sendto: invalid pbuf", p != NULL, return ERR_ARG); - 800c854: 68bb ldr r3, [r7, #8] - 800c856: 2b00 cmp r3, #0 - 800c858: d109 bne.n 800c86e - 800c85a: 4b1d ldr r3, [pc, #116] @ (800c8d0 ) - 800c85c: f240 2219 movw r2, #537 @ 0x219 - 800c860: 491e ldr r1, [pc, #120] @ (800c8dc ) - 800c862: 481d ldr r0, [pc, #116] @ (800c8d8 ) - 800c864: f004 fec8 bl 80115f8 - 800c868: f06f 030f mvn.w r3, #15 - 800c86c: e02b b.n 800c8c6 + 800d1d8: 68bb ldr r3, [r7, #8] + 800d1da: 2b00 cmp r3, #0 + 800d1dc: d109 bne.n 800d1f2 + 800d1de: 4b1d ldr r3, [pc, #116] @ (800d254 ) + 800d1e0: f240 2219 movw r2, #537 @ 0x219 + 800d1e4: 491e ldr r1, [pc, #120] @ (800d260 ) + 800d1e6: 481d ldr r0, [pc, #116] @ (800d25c ) + 800d1e8: f004 fec8 bl 8011f7c + 800d1ec: f06f 030f mvn.w r3, #15 + 800d1f0: e02b b.n 800d24a LWIP_ERROR("udp_sendto: invalid dst_ip", dst_ip != NULL, return ERR_ARG); - 800c86e: 687b ldr r3, [r7, #4] - 800c870: 2b00 cmp r3, #0 - 800c872: d109 bne.n 800c888 - 800c874: 4b16 ldr r3, [pc, #88] @ (800c8d0 ) - 800c876: f240 221a movw r2, #538 @ 0x21a - 800c87a: 4919 ldr r1, [pc, #100] @ (800c8e0 ) - 800c87c: 4816 ldr r0, [pc, #88] @ (800c8d8 ) - 800c87e: f004 febb bl 80115f8 - 800c882: f06f 030f mvn.w r3, #15 - 800c886: e01e b.n 800c8c6 + 800d1f2: 687b ldr r3, [r7, #4] + 800d1f4: 2b00 cmp r3, #0 + 800d1f6: d109 bne.n 800d20c + 800d1f8: 4b16 ldr r3, [pc, #88] @ (800d254 ) + 800d1fa: f240 221a movw r2, #538 @ 0x21a + 800d1fe: 4919 ldr r1, [pc, #100] @ (800d264 ) + 800d200: 4816 ldr r0, [pc, #88] @ (800d25c ) + 800d202: f004 febb bl 8011f7c + 800d206: f06f 030f mvn.w r3, #15 + 800d20a: e01e b.n 800d24a return ERR_VAL; } LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE, ("udp_send\n")); if (pcb->netif_idx != NETIF_NO_INDEX) { - 800c888: 68fb ldr r3, [r7, #12] - 800c88a: 7a1b ldrb r3, [r3, #8] - 800c88c: 2b00 cmp r3, #0 - 800c88e: d006 beq.n 800c89e + 800d20c: 68fb ldr r3, [r7, #12] + 800d20e: 7a1b ldrb r3, [r3, #8] + 800d210: 2b00 cmp r3, #0 + 800d212: d006 beq.n 800d222 netif = netif_get_by_index(pcb->netif_idx); - 800c890: 68fb ldr r3, [r7, #12] - 800c892: 7a1b ldrb r3, [r3, #8] - 800c894: 4618 mov r0, r3 - 800c896: f7f9 fd69 bl 800636c - 800c89a: 6178 str r0, [r7, #20] - 800c89c: e003 b.n 800c8a6 + 800d214: 68fb ldr r3, [r7, #12] + 800d216: 7a1b ldrb r3, [r3, #8] + 800d218: 4618 mov r0, r3 + 800d21a: f7f9 fd69 bl 8006cf0 + 800d21e: 6178 str r0, [r7, #20] + 800d220: e003 b.n 800d22a if (netif == NULL) #endif /* LWIP_MULTICAST_TX_OPTIONS */ { /* find the outgoing network interface for this packet */ netif = ip_route(&pcb->local_ip, dst_ip); - 800c89e: 6878 ldr r0, [r7, #4] - 800c8a0: f003 fa84 bl 800fdac - 800c8a4: 6178 str r0, [r7, #20] + 800d222: 6878 ldr r0, [r7, #4] + 800d224: f003 fa84 bl 8010730 + 800d228: 6178 str r0, [r7, #20] } } /* no outgoing network interface could be found? */ if (netif == NULL) { - 800c8a6: 697b ldr r3, [r7, #20] - 800c8a8: 2b00 cmp r3, #0 - 800c8aa: d102 bne.n 800c8b2 + 800d22a: 697b ldr r3, [r7, #20] + 800d22c: 2b00 cmp r3, #0 + 800d22e: d102 bne.n 800d236 LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("udp_send: No route to ")); ip_addr_debug_print(UDP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, dst_ip); LWIP_DEBUGF(UDP_DEBUG, ("\n")); UDP_STATS_INC(udp.rterr); return ERR_RTE; - 800c8ac: f06f 0303 mvn.w r3, #3 - 800c8b0: e009 b.n 800c8c6 + 800d230: f06f 0303 mvn.w r3, #3 + 800d234: e009 b.n 800d24a } #if LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP return udp_sendto_if_chksum(pcb, p, dst_ip, dst_port, netif, have_chksum, chksum); #else /* LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP */ return udp_sendto_if(pcb, p, dst_ip, dst_port, netif); - 800c8b2: 887a ldrh r2, [r7, #2] - 800c8b4: 697b ldr r3, [r7, #20] - 800c8b6: 9300 str r3, [sp, #0] - 800c8b8: 4613 mov r3, r2 - 800c8ba: 687a ldr r2, [r7, #4] - 800c8bc: 68b9 ldr r1, [r7, #8] - 800c8be: 68f8 ldr r0, [r7, #12] - 800c8c0: f000 f810 bl 800c8e4 - 800c8c4: 4603 mov r3, r0 + 800d236: 887a ldrh r2, [r7, #2] + 800d238: 697b ldr r3, [r7, #20] + 800d23a: 9300 str r3, [sp, #0] + 800d23c: 4613 mov r3, r2 + 800d23e: 687a ldr r2, [r7, #4] + 800d240: 68b9 ldr r1, [r7, #8] + 800d242: 68f8 ldr r0, [r7, #12] + 800d244: f000 f810 bl 800d268 + 800d248: 4603 mov r3, r0 #endif /* LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP */ } - 800c8c6: 4618 mov r0, r3 - 800c8c8: 3718 adds r7, #24 - 800c8ca: 46bd mov sp, r7 - 800c8cc: bd80 pop {r7, pc} - 800c8ce: bf00 nop - 800c8d0: 08017fa0 .word 0x08017fa0 - 800c8d4: 080180c4 .word 0x080180c4 - 800c8d8: 08017ff4 .word 0x08017ff4 - 800c8dc: 080180dc .word 0x080180dc - 800c8e0: 080180f8 .word 0x080180f8 + 800d24a: 4618 mov r0, r3 + 800d24c: 3718 adds r7, #24 + 800d24e: 46bd mov sp, r7 + 800d250: bd80 pop {r7, pc} + 800d252: bf00 nop + 800d254: 08018920 .word 0x08018920 + 800d258: 08018a44 .word 0x08018a44 + 800d25c: 08018974 .word 0x08018974 + 800d260: 08018a5c .word 0x08018a5c + 800d264: 08018a78 .word 0x08018a78 -0800c8e4 : +0800d268 : * @see udp_disconnect() udp_send() */ err_t udp_sendto_if(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif) { - 800c8e4: b580 push {r7, lr} - 800c8e6: b088 sub sp, #32 - 800c8e8: af02 add r7, sp, #8 - 800c8ea: 60f8 str r0, [r7, #12] - 800c8ec: 60b9 str r1, [r7, #8] - 800c8ee: 607a str r2, [r7, #4] - 800c8f0: 807b strh r3, [r7, #2] + 800d268: b580 push {r7, lr} + 800d26a: b088 sub sp, #32 + 800d26c: af02 add r7, sp, #8 + 800d26e: 60f8 str r0, [r7, #12] + 800d270: 60b9 str r1, [r7, #8] + 800d272: 607a str r2, [r7, #4] + 800d274: 807b strh r3, [r7, #2] u16_t chksum) { #endif /* LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP */ const ip_addr_t *src_ip; LWIP_ERROR("udp_sendto_if: invalid pcb", pcb != NULL, return ERR_ARG); - 800c8f2: 68fb ldr r3, [r7, #12] - 800c8f4: 2b00 cmp r3, #0 - 800c8f6: d109 bne.n 800c90c - 800c8f8: 4b2e ldr r3, [pc, #184] @ (800c9b4 ) - 800c8fa: f44f 7220 mov.w r2, #640 @ 0x280 - 800c8fe: 492e ldr r1, [pc, #184] @ (800c9b8 ) - 800c900: 482e ldr r0, [pc, #184] @ (800c9bc ) - 800c902: f004 fe79 bl 80115f8 - 800c906: f06f 030f mvn.w r3, #15 - 800c90a: e04f b.n 800c9ac + 800d276: 68fb ldr r3, [r7, #12] + 800d278: 2b00 cmp r3, #0 + 800d27a: d109 bne.n 800d290 + 800d27c: 4b2e ldr r3, [pc, #184] @ (800d338 ) + 800d27e: f44f 7220 mov.w r2, #640 @ 0x280 + 800d282: 492e ldr r1, [pc, #184] @ (800d33c ) + 800d284: 482e ldr r0, [pc, #184] @ (800d340 ) + 800d286: f004 fe79 bl 8011f7c + 800d28a: f06f 030f mvn.w r3, #15 + 800d28e: e04f b.n 800d330 LWIP_ERROR("udp_sendto_if: invalid pbuf", p != NULL, return ERR_ARG); - 800c90c: 68bb ldr r3, [r7, #8] - 800c90e: 2b00 cmp r3, #0 - 800c910: d109 bne.n 800c926 - 800c912: 4b28 ldr r3, [pc, #160] @ (800c9b4 ) - 800c914: f240 2281 movw r2, #641 @ 0x281 - 800c918: 4929 ldr r1, [pc, #164] @ (800c9c0 ) - 800c91a: 4828 ldr r0, [pc, #160] @ (800c9bc ) - 800c91c: f004 fe6c bl 80115f8 - 800c920: f06f 030f mvn.w r3, #15 - 800c924: e042 b.n 800c9ac + 800d290: 68bb ldr r3, [r7, #8] + 800d292: 2b00 cmp r3, #0 + 800d294: d109 bne.n 800d2aa + 800d296: 4b28 ldr r3, [pc, #160] @ (800d338 ) + 800d298: f240 2281 movw r2, #641 @ 0x281 + 800d29c: 4929 ldr r1, [pc, #164] @ (800d344 ) + 800d29e: 4828 ldr r0, [pc, #160] @ (800d340 ) + 800d2a0: f004 fe6c bl 8011f7c + 800d2a4: f06f 030f mvn.w r3, #15 + 800d2a8: e042 b.n 800d330 LWIP_ERROR("udp_sendto_if: invalid dst_ip", dst_ip != NULL, return ERR_ARG); - 800c926: 687b ldr r3, [r7, #4] - 800c928: 2b00 cmp r3, #0 - 800c92a: d109 bne.n 800c940 - 800c92c: 4b21 ldr r3, [pc, #132] @ (800c9b4 ) - 800c92e: f240 2282 movw r2, #642 @ 0x282 - 800c932: 4924 ldr r1, [pc, #144] @ (800c9c4 ) - 800c934: 4821 ldr r0, [pc, #132] @ (800c9bc ) - 800c936: f004 fe5f bl 80115f8 - 800c93a: f06f 030f mvn.w r3, #15 - 800c93e: e035 b.n 800c9ac + 800d2aa: 687b ldr r3, [r7, #4] + 800d2ac: 2b00 cmp r3, #0 + 800d2ae: d109 bne.n 800d2c4 + 800d2b0: 4b21 ldr r3, [pc, #132] @ (800d338 ) + 800d2b2: f240 2282 movw r2, #642 @ 0x282 + 800d2b6: 4924 ldr r1, [pc, #144] @ (800d348 ) + 800d2b8: 4821 ldr r0, [pc, #132] @ (800d340 ) + 800d2ba: f004 fe5f bl 8011f7c + 800d2be: f06f 030f mvn.w r3, #15 + 800d2c2: e035 b.n 800d330 LWIP_ERROR("udp_sendto_if: invalid netif", netif != NULL, return ERR_ARG); - 800c940: 6a3b ldr r3, [r7, #32] - 800c942: 2b00 cmp r3, #0 - 800c944: d109 bne.n 800c95a - 800c946: 4b1b ldr r3, [pc, #108] @ (800c9b4 ) - 800c948: f240 2283 movw r2, #643 @ 0x283 - 800c94c: 491e ldr r1, [pc, #120] @ (800c9c8 ) - 800c94e: 481b ldr r0, [pc, #108] @ (800c9bc ) - 800c950: f004 fe52 bl 80115f8 - 800c954: f06f 030f mvn.w r3, #15 - 800c958: e028 b.n 800c9ac + 800d2c4: 6a3b ldr r3, [r7, #32] + 800d2c6: 2b00 cmp r3, #0 + 800d2c8: d109 bne.n 800d2de + 800d2ca: 4b1b ldr r3, [pc, #108] @ (800d338 ) + 800d2cc: f240 2283 movw r2, #643 @ 0x283 + 800d2d0: 491e ldr r1, [pc, #120] @ (800d34c ) + 800d2d2: 481b ldr r0, [pc, #108] @ (800d340 ) + 800d2d4: f004 fe52 bl 8011f7c + 800d2d8: f06f 030f mvn.w r3, #15 + 800d2dc: e028 b.n 800d330 #endif /* LWIP_IPV6 */ #if LWIP_IPV4 && LWIP_IPV6 else #endif /* LWIP_IPV4 && LWIP_IPV6 */ #if LWIP_IPV4 if (ip4_addr_isany(ip_2_ip4(&pcb->local_ip)) || - 800c95a: 68fb ldr r3, [r7, #12] - 800c95c: 2b00 cmp r3, #0 - 800c95e: d009 beq.n 800c974 - 800c960: 68fb ldr r3, [r7, #12] - 800c962: 681b ldr r3, [r3, #0] - 800c964: 2b00 cmp r3, #0 - 800c966: d005 beq.n 800c974 + 800d2de: 68fb ldr r3, [r7, #12] + 800d2e0: 2b00 cmp r3, #0 + 800d2e2: d009 beq.n 800d2f8 + 800d2e4: 68fb ldr r3, [r7, #12] + 800d2e6: 681b ldr r3, [r3, #0] + 800d2e8: 2b00 cmp r3, #0 + 800d2ea: d005 beq.n 800d2f8 ip4_addr_ismulticast(ip_2_ip4(&pcb->local_ip))) { - 800c968: 68fb ldr r3, [r7, #12] - 800c96a: 681b ldr r3, [r3, #0] - 800c96c: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 800d2ec: 68fb ldr r3, [r7, #12] + 800d2ee: 681b ldr r3, [r3, #0] + 800d2f0: f003 03f0 and.w r3, r3, #240 @ 0xf0 if (ip4_addr_isany(ip_2_ip4(&pcb->local_ip)) || - 800c970: 2be0 cmp r3, #224 @ 0xe0 - 800c972: d103 bne.n 800c97c + 800d2f4: 2be0 cmp r3, #224 @ 0xe0 + 800d2f6: d103 bne.n 800d300 /* if the local_ip is any or multicast * use the outgoing network interface IP address as source address */ src_ip = netif_ip_addr4(netif); - 800c974: 6a3b ldr r3, [r7, #32] - 800c976: 3304 adds r3, #4 - 800c978: 617b str r3, [r7, #20] - 800c97a: e00b b.n 800c994 + 800d2f8: 6a3b ldr r3, [r7, #32] + 800d2fa: 3304 adds r3, #4 + 800d2fc: 617b str r3, [r7, #20] + 800d2fe: e00b b.n 800d318 } else { /* check if UDP PCB local IP address is correct * this could be an old address if netif->ip_addr has changed */ if (!ip4_addr_cmp(ip_2_ip4(&(pcb->local_ip)), netif_ip4_addr(netif))) { - 800c97c: 68fb ldr r3, [r7, #12] - 800c97e: 681a ldr r2, [r3, #0] - 800c980: 6a3b ldr r3, [r7, #32] - 800c982: 3304 adds r3, #4 - 800c984: 681b ldr r3, [r3, #0] - 800c986: 429a cmp r2, r3 - 800c988: d002 beq.n 800c990 + 800d300: 68fb ldr r3, [r7, #12] + 800d302: 681a ldr r2, [r3, #0] + 800d304: 6a3b ldr r3, [r7, #32] + 800d306: 3304 adds r3, #4 + 800d308: 681b ldr r3, [r3, #0] + 800d30a: 429a cmp r2, r3 + 800d30c: d002 beq.n 800d314 /* local_ip doesn't match, drop the packet */ return ERR_RTE; - 800c98a: f06f 0303 mvn.w r3, #3 - 800c98e: e00d b.n 800c9ac + 800d30e: f06f 0303 mvn.w r3, #3 + 800d312: e00d b.n 800d330 } /* use UDP PCB local IP address as source address */ src_ip = &pcb->local_ip; - 800c990: 68fb ldr r3, [r7, #12] - 800c992: 617b str r3, [r7, #20] + 800d314: 68fb ldr r3, [r7, #12] + 800d316: 617b str r3, [r7, #20] } #endif /* LWIP_IPV4 */ #if LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP return udp_sendto_if_src_chksum(pcb, p, dst_ip, dst_port, netif, have_chksum, chksum, src_ip); #else /* LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP */ return udp_sendto_if_src(pcb, p, dst_ip, dst_port, netif, src_ip); - 800c994: 887a ldrh r2, [r7, #2] - 800c996: 697b ldr r3, [r7, #20] - 800c998: 9301 str r3, [sp, #4] - 800c99a: 6a3b ldr r3, [r7, #32] - 800c99c: 9300 str r3, [sp, #0] - 800c99e: 4613 mov r3, r2 - 800c9a0: 687a ldr r2, [r7, #4] - 800c9a2: 68b9 ldr r1, [r7, #8] - 800c9a4: 68f8 ldr r0, [r7, #12] - 800c9a6: f000 f811 bl 800c9cc - 800c9aa: 4603 mov r3, r0 + 800d318: 887a ldrh r2, [r7, #2] + 800d31a: 697b ldr r3, [r7, #20] + 800d31c: 9301 str r3, [sp, #4] + 800d31e: 6a3b ldr r3, [r7, #32] + 800d320: 9300 str r3, [sp, #0] + 800d322: 4613 mov r3, r2 + 800d324: 687a ldr r2, [r7, #4] + 800d326: 68b9 ldr r1, [r7, #8] + 800d328: 68f8 ldr r0, [r7, #12] + 800d32a: f000 f811 bl 800d350 + 800d32e: 4603 mov r3, r0 #endif /* LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_UDP */ } - 800c9ac: 4618 mov r0, r3 - 800c9ae: 3718 adds r7, #24 - 800c9b0: 46bd mov sp, r7 - 800c9b2: bd80 pop {r7, pc} - 800c9b4: 08017fa0 .word 0x08017fa0 - 800c9b8: 08018114 .word 0x08018114 - 800c9bc: 08017ff4 .word 0x08017ff4 - 800c9c0: 08018130 .word 0x08018130 - 800c9c4: 0801814c .word 0x0801814c - 800c9c8: 0801816c .word 0x0801816c + 800d330: 4618 mov r0, r3 + 800d332: 3718 adds r7, #24 + 800d334: 46bd mov sp, r7 + 800d336: bd80 pop {r7, pc} + 800d338: 08018920 .word 0x08018920 + 800d33c: 08018a94 .word 0x08018a94 + 800d340: 08018974 .word 0x08018974 + 800d344: 08018ab0 .word 0x08018ab0 + 800d348: 08018acc .word 0x08018acc + 800d34c: 08018aec .word 0x08018aec -0800c9cc : +0800d350 : /** @ingroup udp_raw * Same as @ref udp_sendto_if, but with source address */ err_t udp_sendto_if_src(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif, const ip_addr_t *src_ip) { - 800c9cc: b580 push {r7, lr} - 800c9ce: b08c sub sp, #48 @ 0x30 - 800c9d0: af04 add r7, sp, #16 - 800c9d2: 60f8 str r0, [r7, #12] - 800c9d4: 60b9 str r1, [r7, #8] - 800c9d6: 607a str r2, [r7, #4] - 800c9d8: 807b strh r3, [r7, #2] + 800d350: b580 push {r7, lr} + 800d352: b08c sub sp, #48 @ 0x30 + 800d354: af04 add r7, sp, #16 + 800d356: 60f8 str r0, [r7, #12] + 800d358: 60b9 str r1, [r7, #8] + 800d35a: 607a str r2, [r7, #4] + 800d35c: 807b strh r3, [r7, #2] u8_t ip_proto; u8_t ttl; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("udp_sendto_if_src: invalid pcb", pcb != NULL, return ERR_ARG); - 800c9da: 68fb ldr r3, [r7, #12] - 800c9dc: 2b00 cmp r3, #0 - 800c9de: d109 bne.n 800c9f4 - 800c9e0: 4b65 ldr r3, [pc, #404] @ (800cb78 ) - 800c9e2: f240 22d1 movw r2, #721 @ 0x2d1 - 800c9e6: 4965 ldr r1, [pc, #404] @ (800cb7c ) - 800c9e8: 4865 ldr r0, [pc, #404] @ (800cb80 ) - 800c9ea: f004 fe05 bl 80115f8 - 800c9ee: f06f 030f mvn.w r3, #15 - 800c9f2: e0bc b.n 800cb6e + 800d35e: 68fb ldr r3, [r7, #12] + 800d360: 2b00 cmp r3, #0 + 800d362: d109 bne.n 800d378 + 800d364: 4b65 ldr r3, [pc, #404] @ (800d4fc ) + 800d366: f240 22d1 movw r2, #721 @ 0x2d1 + 800d36a: 4965 ldr r1, [pc, #404] @ (800d500 ) + 800d36c: 4865 ldr r0, [pc, #404] @ (800d504 ) + 800d36e: f004 fe05 bl 8011f7c + 800d372: f06f 030f mvn.w r3, #15 + 800d376: e0bc b.n 800d4f2 LWIP_ERROR("udp_sendto_if_src: invalid pbuf", p != NULL, return ERR_ARG); - 800c9f4: 68bb ldr r3, [r7, #8] - 800c9f6: 2b00 cmp r3, #0 - 800c9f8: d109 bne.n 800ca0e - 800c9fa: 4b5f ldr r3, [pc, #380] @ (800cb78 ) - 800c9fc: f240 22d2 movw r2, #722 @ 0x2d2 - 800ca00: 4960 ldr r1, [pc, #384] @ (800cb84 ) - 800ca02: 485f ldr r0, [pc, #380] @ (800cb80 ) - 800ca04: f004 fdf8 bl 80115f8 - 800ca08: f06f 030f mvn.w r3, #15 - 800ca0c: e0af b.n 800cb6e + 800d378: 68bb ldr r3, [r7, #8] + 800d37a: 2b00 cmp r3, #0 + 800d37c: d109 bne.n 800d392 + 800d37e: 4b5f ldr r3, [pc, #380] @ (800d4fc ) + 800d380: f240 22d2 movw r2, #722 @ 0x2d2 + 800d384: 4960 ldr r1, [pc, #384] @ (800d508 ) + 800d386: 485f ldr r0, [pc, #380] @ (800d504 ) + 800d388: f004 fdf8 bl 8011f7c + 800d38c: f06f 030f mvn.w r3, #15 + 800d390: e0af b.n 800d4f2 LWIP_ERROR("udp_sendto_if_src: invalid dst_ip", dst_ip != NULL, return ERR_ARG); - 800ca0e: 687b ldr r3, [r7, #4] - 800ca10: 2b00 cmp r3, #0 - 800ca12: d109 bne.n 800ca28 - 800ca14: 4b58 ldr r3, [pc, #352] @ (800cb78 ) - 800ca16: f240 22d3 movw r2, #723 @ 0x2d3 - 800ca1a: 495b ldr r1, [pc, #364] @ (800cb88 ) - 800ca1c: 4858 ldr r0, [pc, #352] @ (800cb80 ) - 800ca1e: f004 fdeb bl 80115f8 - 800ca22: f06f 030f mvn.w r3, #15 - 800ca26: e0a2 b.n 800cb6e + 800d392: 687b ldr r3, [r7, #4] + 800d394: 2b00 cmp r3, #0 + 800d396: d109 bne.n 800d3ac + 800d398: 4b58 ldr r3, [pc, #352] @ (800d4fc ) + 800d39a: f240 22d3 movw r2, #723 @ 0x2d3 + 800d39e: 495b ldr r1, [pc, #364] @ (800d50c ) + 800d3a0: 4858 ldr r0, [pc, #352] @ (800d504 ) + 800d3a2: f004 fdeb bl 8011f7c + 800d3a6: f06f 030f mvn.w r3, #15 + 800d3aa: e0a2 b.n 800d4f2 LWIP_ERROR("udp_sendto_if_src: invalid src_ip", src_ip != NULL, return ERR_ARG); - 800ca28: 6afb ldr r3, [r7, #44] @ 0x2c - 800ca2a: 2b00 cmp r3, #0 - 800ca2c: d109 bne.n 800ca42 - 800ca2e: 4b52 ldr r3, [pc, #328] @ (800cb78 ) - 800ca30: f44f 7235 mov.w r2, #724 @ 0x2d4 - 800ca34: 4955 ldr r1, [pc, #340] @ (800cb8c ) - 800ca36: 4852 ldr r0, [pc, #328] @ (800cb80 ) - 800ca38: f004 fdde bl 80115f8 - 800ca3c: f06f 030f mvn.w r3, #15 - 800ca40: e095 b.n 800cb6e + 800d3ac: 6afb ldr r3, [r7, #44] @ 0x2c + 800d3ae: 2b00 cmp r3, #0 + 800d3b0: d109 bne.n 800d3c6 + 800d3b2: 4b52 ldr r3, [pc, #328] @ (800d4fc ) + 800d3b4: f44f 7235 mov.w r2, #724 @ 0x2d4 + 800d3b8: 4955 ldr r1, [pc, #340] @ (800d510 ) + 800d3ba: 4852 ldr r0, [pc, #328] @ (800d504 ) + 800d3bc: f004 fdde bl 8011f7c + 800d3c0: f06f 030f mvn.w r3, #15 + 800d3c4: e095 b.n 800d4f2 LWIP_ERROR("udp_sendto_if_src: invalid netif", netif != NULL, return ERR_ARG); - 800ca42: 6abb ldr r3, [r7, #40] @ 0x28 - 800ca44: 2b00 cmp r3, #0 - 800ca46: d109 bne.n 800ca5c - 800ca48: 4b4b ldr r3, [pc, #300] @ (800cb78 ) - 800ca4a: f240 22d5 movw r2, #725 @ 0x2d5 - 800ca4e: 4950 ldr r1, [pc, #320] @ (800cb90 ) - 800ca50: 484b ldr r0, [pc, #300] @ (800cb80 ) - 800ca52: f004 fdd1 bl 80115f8 - 800ca56: f06f 030f mvn.w r3, #15 - 800ca5a: e088 b.n 800cb6e + 800d3c6: 6abb ldr r3, [r7, #40] @ 0x28 + 800d3c8: 2b00 cmp r3, #0 + 800d3ca: d109 bne.n 800d3e0 + 800d3cc: 4b4b ldr r3, [pc, #300] @ (800d4fc ) + 800d3ce: f240 22d5 movw r2, #725 @ 0x2d5 + 800d3d2: 4950 ldr r1, [pc, #320] @ (800d514 ) + 800d3d4: 484b ldr r0, [pc, #300] @ (800d504 ) + 800d3d6: f004 fdd1 bl 8011f7c + 800d3da: f06f 030f mvn.w r3, #15 + 800d3de: e088 b.n 800d4f2 return ERR_VAL; } #endif /* LWIP_IPV4 && IP_SOF_BROADCAST */ /* if the PCB is not yet bound to a port, bind it here */ if (pcb->local_port == 0) { - 800ca5c: 68fb ldr r3, [r7, #12] - 800ca5e: 8a5b ldrh r3, [r3, #18] - 800ca60: 2b00 cmp r3, #0 - 800ca62: d10f bne.n 800ca84 + 800d3e0: 68fb ldr r3, [r7, #12] + 800d3e2: 8a5b ldrh r3, [r3, #18] + 800d3e4: 2b00 cmp r3, #0 + 800d3e6: d10f bne.n 800d408 LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE, ("udp_send: not yet bound to a port, binding now\n")); err = udp_bind(pcb, &pcb->local_ip, pcb->local_port); - 800ca64: 68f9 ldr r1, [r7, #12] - 800ca66: 68fb ldr r3, [r7, #12] - 800ca68: 8a5b ldrh r3, [r3, #18] - 800ca6a: 461a mov r2, r3 - 800ca6c: 68f8 ldr r0, [r7, #12] - 800ca6e: f000 f893 bl 800cb98 - 800ca72: 4603 mov r3, r0 - 800ca74: 76fb strb r3, [r7, #27] + 800d3e8: 68f9 ldr r1, [r7, #12] + 800d3ea: 68fb ldr r3, [r7, #12] + 800d3ec: 8a5b ldrh r3, [r3, #18] + 800d3ee: 461a mov r2, r3 + 800d3f0: 68f8 ldr r0, [r7, #12] + 800d3f2: f000 f893 bl 800d51c + 800d3f6: 4603 mov r3, r0 + 800d3f8: 76fb strb r3, [r7, #27] if (err != ERR_OK) { - 800ca76: f997 301b ldrsb.w r3, [r7, #27] - 800ca7a: 2b00 cmp r3, #0 - 800ca7c: d002 beq.n 800ca84 + 800d3fa: f997 301b ldrsb.w r3, [r7, #27] + 800d3fe: 2b00 cmp r3, #0 + 800d400: d002 beq.n 800d408 LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("udp_send: forced port bind failed\n")); return err; - 800ca7e: f997 301b ldrsb.w r3, [r7, #27] - 800ca82: e074 b.n 800cb6e + 800d402: f997 301b ldrsb.w r3, [r7, #27] + 800d406: e074 b.n 800d4f2 } } /* packet too large to add a UDP header without causing an overflow? */ if ((u16_t)(p->tot_len + UDP_HLEN) < p->tot_len) { - 800ca84: 68bb ldr r3, [r7, #8] - 800ca86: 891b ldrh r3, [r3, #8] - 800ca88: f64f 72f7 movw r2, #65527 @ 0xfff7 - 800ca8c: 4293 cmp r3, r2 - 800ca8e: d902 bls.n 800ca96 + 800d408: 68bb ldr r3, [r7, #8] + 800d40a: 891b ldrh r3, [r3, #8] + 800d40c: f64f 72f7 movw r2, #65527 @ 0xfff7 + 800d410: 4293 cmp r3, r2 + 800d412: d902 bls.n 800d41a return ERR_MEM; - 800ca90: f04f 33ff mov.w r3, #4294967295 - 800ca94: e06b b.n 800cb6e + 800d414: f04f 33ff mov.w r3, #4294967295 + 800d418: e06b b.n 800d4f2 } /* not enough space to add an UDP header to first pbuf in given p chain? */ if (pbuf_add_header(p, UDP_HLEN)) { - 800ca96: 2108 movs r1, #8 - 800ca98: 68b8 ldr r0, [r7, #8] - 800ca9a: f7f9 ff2f bl 80068fc - 800ca9e: 4603 mov r3, r0 - 800caa0: 2b00 cmp r3, #0 - 800caa2: d015 beq.n 800cad0 + 800d41a: 2108 movs r1, #8 + 800d41c: 68b8 ldr r0, [r7, #8] + 800d41e: f7f9 ff2f bl 8007280 + 800d422: 4603 mov r3, r0 + 800d424: 2b00 cmp r3, #0 + 800d426: d015 beq.n 800d454 /* allocate header in a separate new pbuf */ q = pbuf_alloc(PBUF_IP, UDP_HLEN, PBUF_RAM); - 800caa4: f44f 7220 mov.w r2, #640 @ 0x280 - 800caa8: 2108 movs r1, #8 - 800caaa: 2022 movs r0, #34 @ 0x22 - 800caac: f7f9 fcda bl 8006464 - 800cab0: 61f8 str r0, [r7, #28] + 800d428: f44f 7220 mov.w r2, #640 @ 0x280 + 800d42c: 2108 movs r1, #8 + 800d42e: 2022 movs r0, #34 @ 0x22 + 800d430: f7f9 fcda bl 8006de8 + 800d434: 61f8 str r0, [r7, #28] /* new header pbuf could not be allocated? */ if (q == NULL) { - 800cab2: 69fb ldr r3, [r7, #28] - 800cab4: 2b00 cmp r3, #0 - 800cab6: d102 bne.n 800cabe + 800d436: 69fb ldr r3, [r7, #28] + 800d438: 2b00 cmp r3, #0 + 800d43a: d102 bne.n 800d442 LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("udp_send: could not allocate header\n")); return ERR_MEM; - 800cab8: f04f 33ff mov.w r3, #4294967295 - 800cabc: e057 b.n 800cb6e + 800d43c: f04f 33ff mov.w r3, #4294967295 + 800d440: e057 b.n 800d4f2 } if (p->tot_len != 0) { - 800cabe: 68bb ldr r3, [r7, #8] - 800cac0: 891b ldrh r3, [r3, #8] - 800cac2: 2b00 cmp r3, #0 - 800cac4: d006 beq.n 800cad4 + 800d442: 68bb ldr r3, [r7, #8] + 800d444: 891b ldrh r3, [r3, #8] + 800d446: 2b00 cmp r3, #0 + 800d448: d006 beq.n 800d458 /* chain header q in front of given pbuf p (only if p contains data) */ pbuf_chain(q, p); - 800cac6: 68b9 ldr r1, [r7, #8] - 800cac8: 69f8 ldr r0, [r7, #28] - 800caca: f7fa f8c5 bl 8006c58 - 800cace: e001 b.n 800cad4 + 800d44a: 68b9 ldr r1, [r7, #8] + 800d44c: 69f8 ldr r0, [r7, #28] + 800d44e: f7fa f8c5 bl 80075dc + 800d452: e001 b.n 800d458 LWIP_DEBUGF(UDP_DEBUG, ("udp_send: added header pbuf %p before given pbuf %p\n", (void *)q, (void *)p)); } else { /* adding space for header within p succeeded */ /* first pbuf q equals given pbuf */ q = p; - 800cad0: 68bb ldr r3, [r7, #8] - 800cad2: 61fb str r3, [r7, #28] + 800d454: 68bb ldr r3, [r7, #8] + 800d456: 61fb str r3, [r7, #28] LWIP_DEBUGF(UDP_DEBUG, ("udp_send: added header in given pbuf %p\n", (void *)p)); } LWIP_ASSERT("check that first pbuf can hold struct udp_hdr", - 800cad4: 69fb ldr r3, [r7, #28] - 800cad6: 895b ldrh r3, [r3, #10] - 800cad8: 2b07 cmp r3, #7 - 800cada: d806 bhi.n 800caea - 800cadc: 4b26 ldr r3, [pc, #152] @ (800cb78 ) - 800cade: f240 320d movw r2, #781 @ 0x30d - 800cae2: 492c ldr r1, [pc, #176] @ (800cb94 ) - 800cae4: 4826 ldr r0, [pc, #152] @ (800cb80 ) - 800cae6: f004 fd87 bl 80115f8 + 800d458: 69fb ldr r3, [r7, #28] + 800d45a: 895b ldrh r3, [r3, #10] + 800d45c: 2b07 cmp r3, #7 + 800d45e: d806 bhi.n 800d46e + 800d460: 4b26 ldr r3, [pc, #152] @ (800d4fc ) + 800d462: f240 320d movw r2, #781 @ 0x30d + 800d466: 492c ldr r1, [pc, #176] @ (800d518 ) + 800d468: 4826 ldr r0, [pc, #152] @ (800d504 ) + 800d46a: f004 fd87 bl 8011f7c (q->len >= sizeof(struct udp_hdr))); /* q now represents the packet to be sent */ udphdr = (struct udp_hdr *)q->payload; - 800caea: 69fb ldr r3, [r7, #28] - 800caec: 685b ldr r3, [r3, #4] - 800caee: 617b str r3, [r7, #20] + 800d46e: 69fb ldr r3, [r7, #28] + 800d470: 685b ldr r3, [r3, #4] + 800d472: 617b str r3, [r7, #20] udphdr->src = lwip_htons(pcb->local_port); - 800caf0: 68fb ldr r3, [r7, #12] - 800caf2: 8a5b ldrh r3, [r3, #18] - 800caf4: 4618 mov r0, r3 - 800caf6: f7f8 fc47 bl 8005388 - 800cafa: 4603 mov r3, r0 - 800cafc: 461a mov r2, r3 - 800cafe: 697b ldr r3, [r7, #20] - 800cb00: 801a strh r2, [r3, #0] + 800d474: 68fb ldr r3, [r7, #12] + 800d476: 8a5b ldrh r3, [r3, #18] + 800d478: 4618 mov r0, r3 + 800d47a: f7f8 fc47 bl 8005d0c + 800d47e: 4603 mov r3, r0 + 800d480: 461a mov r2, r3 + 800d482: 697b ldr r3, [r7, #20] + 800d484: 801a strh r2, [r3, #0] udphdr->dest = lwip_htons(dst_port); - 800cb02: 887b ldrh r3, [r7, #2] - 800cb04: 4618 mov r0, r3 - 800cb06: f7f8 fc3f bl 8005388 - 800cb0a: 4603 mov r3, r0 - 800cb0c: 461a mov r2, r3 - 800cb0e: 697b ldr r3, [r7, #20] - 800cb10: 805a strh r2, [r3, #2] + 800d486: 887b ldrh r3, [r7, #2] + 800d488: 4618 mov r0, r3 + 800d48a: f7f8 fc3f bl 8005d0c + 800d48e: 4603 mov r3, r0 + 800d490: 461a mov r2, r3 + 800d492: 697b ldr r3, [r7, #20] + 800d494: 805a strh r2, [r3, #2] /* in UDP, 0 checksum means 'no checksum' */ udphdr->chksum = 0x0000; - 800cb12: 697b ldr r3, [r7, #20] - 800cb14: 2200 movs r2, #0 - 800cb16: 719a strb r2, [r3, #6] - 800cb18: 2200 movs r2, #0 - 800cb1a: 71da strb r2, [r3, #7] + 800d496: 697b ldr r3, [r7, #20] + 800d498: 2200 movs r2, #0 + 800d49a: 719a strb r2, [r3, #6] + 800d49c: 2200 movs r2, #0 + 800d49e: 71da strb r2, [r3, #7] ip_proto = IP_PROTO_UDPLITE; } else #endif /* LWIP_UDPLITE */ { /* UDP */ LWIP_DEBUGF(UDP_DEBUG, ("udp_send: UDP packet length %"U16_F"\n", q->tot_len)); udphdr->len = lwip_htons(q->tot_len); - 800cb1c: 69fb ldr r3, [r7, #28] - 800cb1e: 891b ldrh r3, [r3, #8] - 800cb20: 4618 mov r0, r3 - 800cb22: f7f8 fc31 bl 8005388 - 800cb26: 4603 mov r3, r0 - 800cb28: 461a mov r2, r3 - 800cb2a: 697b ldr r3, [r7, #20] - 800cb2c: 809a strh r2, [r3, #4] + 800d4a0: 69fb ldr r3, [r7, #28] + 800d4a2: 891b ldrh r3, [r3, #8] + 800d4a4: 4618 mov r0, r3 + 800d4a6: f7f8 fc31 bl 8005d0c + 800d4aa: 4603 mov r3, r0 + 800d4ac: 461a mov r2, r3 + 800d4ae: 697b ldr r3, [r7, #20] + 800d4b0: 809a strh r2, [r3, #4] } udphdr->chksum = udpchksum; } } #endif /* CHECKSUM_GEN_UDP */ ip_proto = IP_PROTO_UDP; - 800cb2e: 2311 movs r3, #17 - 800cb30: 74fb strb r3, [r7, #19] + 800d4b2: 2311 movs r3, #17 + 800d4b4: 74fb strb r3, [r7, #19] /* Determine TTL to use */ #if LWIP_MULTICAST_TX_OPTIONS ttl = (ip_addr_ismulticast(dst_ip) ? udp_get_multicast_ttl(pcb) : pcb->ttl); #else /* LWIP_MULTICAST_TX_OPTIONS */ ttl = pcb->ttl; - 800cb32: 68fb ldr r3, [r7, #12] - 800cb34: 7adb ldrb r3, [r3, #11] - 800cb36: 74bb strb r3, [r7, #18] + 800d4b6: 68fb ldr r3, [r7, #12] + 800d4b8: 7adb ldrb r3, [r3, #11] + 800d4ba: 74bb strb r3, [r7, #18] LWIP_DEBUGF(UDP_DEBUG, ("udp_send: UDP checksum 0x%04"X16_F"\n", udphdr->chksum)); LWIP_DEBUGF(UDP_DEBUG, ("udp_send: ip_output_if (,,,,0x%02"X16_F",)\n", (u16_t)ip_proto)); /* output to IP */ NETIF_SET_HINTS(netif, &(pcb->netif_hints)); err = ip_output_if_src(q, src_ip, dst_ip, ttl, pcb->tos, ip_proto, netif); - 800cb38: 68fb ldr r3, [r7, #12] - 800cb3a: 7a9b ldrb r3, [r3, #10] - 800cb3c: 7cb9 ldrb r1, [r7, #18] - 800cb3e: 6aba ldr r2, [r7, #40] @ 0x28 - 800cb40: 9202 str r2, [sp, #8] - 800cb42: 7cfa ldrb r2, [r7, #19] - 800cb44: 9201 str r2, [sp, #4] - 800cb46: 9300 str r3, [sp, #0] - 800cb48: 460b mov r3, r1 - 800cb4a: 687a ldr r2, [r7, #4] - 800cb4c: 6af9 ldr r1, [r7, #44] @ 0x2c - 800cb4e: 69f8 ldr r0, [r7, #28] - 800cb50: f003 fb32 bl 80101b8 - 800cb54: 4603 mov r3, r0 - 800cb56: 76fb strb r3, [r7, #27] + 800d4bc: 68fb ldr r3, [r7, #12] + 800d4be: 7a9b ldrb r3, [r3, #10] + 800d4c0: 7cb9 ldrb r1, [r7, #18] + 800d4c2: 6aba ldr r2, [r7, #40] @ 0x28 + 800d4c4: 9202 str r2, [sp, #8] + 800d4c6: 7cfa ldrb r2, [r7, #19] + 800d4c8: 9201 str r2, [sp, #4] + 800d4ca: 9300 str r3, [sp, #0] + 800d4cc: 460b mov r3, r1 + 800d4ce: 687a ldr r2, [r7, #4] + 800d4d0: 6af9 ldr r1, [r7, #44] @ 0x2c + 800d4d2: 69f8 ldr r0, [r7, #28] + 800d4d4: f003 fb32 bl 8010b3c + 800d4d8: 4603 mov r3, r0 + 800d4da: 76fb strb r3, [r7, #27] /* @todo: must this be increased even if error occurred? */ MIB2_STATS_INC(mib2.udpoutdatagrams); /* did we chain a separate header pbuf earlier? */ if (q != p) { - 800cb58: 69fa ldr r2, [r7, #28] - 800cb5a: 68bb ldr r3, [r7, #8] - 800cb5c: 429a cmp r2, r3 - 800cb5e: d004 beq.n 800cb6a + 800d4dc: 69fa ldr r2, [r7, #28] + 800d4de: 68bb ldr r3, [r7, #8] + 800d4e0: 429a cmp r2, r3 + 800d4e2: d004 beq.n 800d4ee /* free the header pbuf */ pbuf_free(q); - 800cb60: 69f8 ldr r0, [r7, #28] - 800cb62: f7f9 ff61 bl 8006a28 + 800d4e4: 69f8 ldr r0, [r7, #28] + 800d4e6: f7f9 ff61 bl 80073ac q = NULL; - 800cb66: 2300 movs r3, #0 - 800cb68: 61fb str r3, [r7, #28] + 800d4ea: 2300 movs r3, #0 + 800d4ec: 61fb str r3, [r7, #28] /* p is still referenced by the caller, and will live on */ } UDP_STATS_INC(udp.xmit); return err; - 800cb6a: f997 301b ldrsb.w r3, [r7, #27] + 800d4ee: f997 301b ldrsb.w r3, [r7, #27] } - 800cb6e: 4618 mov r0, r3 - 800cb70: 3720 adds r7, #32 - 800cb72: 46bd mov sp, r7 - 800cb74: bd80 pop {r7, pc} - 800cb76: bf00 nop - 800cb78: 08017fa0 .word 0x08017fa0 - 800cb7c: 0801818c .word 0x0801818c - 800cb80: 08017ff4 .word 0x08017ff4 - 800cb84: 080181ac .word 0x080181ac - 800cb88: 080181cc .word 0x080181cc - 800cb8c: 080181f0 .word 0x080181f0 - 800cb90: 08018214 .word 0x08018214 - 800cb94: 08018238 .word 0x08018238 + 800d4f2: 4618 mov r0, r3 + 800d4f4: 3720 adds r7, #32 + 800d4f6: 46bd mov sp, r7 + 800d4f8: bd80 pop {r7, pc} + 800d4fa: bf00 nop + 800d4fc: 08018920 .word 0x08018920 + 800d500: 08018b0c .word 0x08018b0c + 800d504: 08018974 .word 0x08018974 + 800d508: 08018b2c .word 0x08018b2c + 800d50c: 08018b4c .word 0x08018b4c + 800d510: 08018b70 .word 0x08018b70 + 800d514: 08018b94 .word 0x08018b94 + 800d518: 08018bb8 .word 0x08018bb8 -0800cb98 : +0800d51c : * * @see udp_disconnect() */ err_t udp_bind(struct udp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port) { - 800cb98: b580 push {r7, lr} - 800cb9a: b086 sub sp, #24 - 800cb9c: af00 add r7, sp, #0 - 800cb9e: 60f8 str r0, [r7, #12] - 800cba0: 60b9 str r1, [r7, #8] - 800cba2: 4613 mov r3, r2 - 800cba4: 80fb strh r3, [r7, #6] + 800d51c: b580 push {r7, lr} + 800d51e: b086 sub sp, #24 + 800d520: af00 add r7, sp, #0 + 800d522: 60f8 str r0, [r7, #12] + 800d524: 60b9 str r1, [r7, #8] + 800d526: 4613 mov r3, r2 + 800d528: 80fb strh r3, [r7, #6] LWIP_ASSERT_CORE_LOCKED(); #if LWIP_IPV4 /* Don't propagate NULL pointer (IPv4 ANY) to subsequent functions */ if (ipaddr == NULL) { - 800cba6: 68bb ldr r3, [r7, #8] - 800cba8: 2b00 cmp r3, #0 - 800cbaa: d101 bne.n 800cbb0 + 800d52a: 68bb ldr r3, [r7, #8] + 800d52c: 2b00 cmp r3, #0 + 800d52e: d101 bne.n 800d534 ipaddr = IP4_ADDR_ANY; - 800cbac: 4b39 ldr r3, [pc, #228] @ (800cc94 ) - 800cbae: 60bb str r3, [r7, #8] + 800d530: 4b39 ldr r3, [pc, #228] @ (800d618 ) + 800d532: 60bb str r3, [r7, #8] } #else /* LWIP_IPV4 */ LWIP_ERROR("udp_bind: invalid ipaddr", ipaddr != NULL, return ERR_ARG); #endif /* LWIP_IPV4 */ LWIP_ERROR("udp_bind: invalid pcb", pcb != NULL, return ERR_ARG); - 800cbb0: 68fb ldr r3, [r7, #12] - 800cbb2: 2b00 cmp r3, #0 - 800cbb4: d109 bne.n 800cbca - 800cbb6: 4b38 ldr r3, [pc, #224] @ (800cc98 ) - 800cbb8: f240 32b7 movw r2, #951 @ 0x3b7 - 800cbbc: 4937 ldr r1, [pc, #220] @ (800cc9c ) - 800cbbe: 4838 ldr r0, [pc, #224] @ (800cca0 ) - 800cbc0: f004 fd1a bl 80115f8 - 800cbc4: f06f 030f mvn.w r3, #15 - 800cbc8: e060 b.n 800cc8c + 800d534: 68fb ldr r3, [r7, #12] + 800d536: 2b00 cmp r3, #0 + 800d538: d109 bne.n 800d54e + 800d53a: 4b38 ldr r3, [pc, #224] @ (800d61c ) + 800d53c: f240 32b7 movw r2, #951 @ 0x3b7 + 800d540: 4937 ldr r1, [pc, #220] @ (800d620 ) + 800d542: 4838 ldr r0, [pc, #224] @ (800d624 ) + 800d544: f004 fd1a bl 8011f7c + 800d548: f06f 030f mvn.w r3, #15 + 800d54c: e060 b.n 800d610 LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE, ("udp_bind(ipaddr = ")); ip_addr_debug_print(UDP_DEBUG | LWIP_DBG_TRACE, ipaddr); LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE, (", port = %"U16_F")\n", port)); rebind = 0; - 800cbca: 2300 movs r3, #0 - 800cbcc: 74fb strb r3, [r7, #19] + 800d54e: 2300 movs r3, #0 + 800d550: 74fb strb r3, [r7, #19] /* Check for double bind and rebind of the same pcb */ for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 800cbce: 4b35 ldr r3, [pc, #212] @ (800cca4 ) - 800cbd0: 681b ldr r3, [r3, #0] - 800cbd2: 617b str r3, [r7, #20] - 800cbd4: e009 b.n 800cbea + 800d552: 4b35 ldr r3, [pc, #212] @ (800d628 ) + 800d554: 681b ldr r3, [r3, #0] + 800d556: 617b str r3, [r7, #20] + 800d558: e009 b.n 800d56e /* is this UDP PCB already on active list? */ if (pcb == ipcb) { - 800cbd6: 68fa ldr r2, [r7, #12] - 800cbd8: 697b ldr r3, [r7, #20] - 800cbda: 429a cmp r2, r3 - 800cbdc: d102 bne.n 800cbe4 + 800d55a: 68fa ldr r2, [r7, #12] + 800d55c: 697b ldr r3, [r7, #20] + 800d55e: 429a cmp r2, r3 + 800d560: d102 bne.n 800d568 rebind = 1; - 800cbde: 2301 movs r3, #1 - 800cbe0: 74fb strb r3, [r7, #19] + 800d562: 2301 movs r3, #1 + 800d564: 74fb strb r3, [r7, #19] break; - 800cbe2: e005 b.n 800cbf0 + 800d566: e005 b.n 800d574 for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 800cbe4: 697b ldr r3, [r7, #20] - 800cbe6: 68db ldr r3, [r3, #12] - 800cbe8: 617b str r3, [r7, #20] - 800cbea: 697b ldr r3, [r7, #20] - 800cbec: 2b00 cmp r3, #0 - 800cbee: d1f2 bne.n 800cbd6 + 800d568: 697b ldr r3, [r7, #20] + 800d56a: 68db ldr r3, [r3, #12] + 800d56c: 617b str r3, [r7, #20] + 800d56e: 697b ldr r3, [r7, #20] + 800d570: 2b00 cmp r3, #0 + 800d572: d1f2 bne.n 800d55a ipaddr = &zoned_ipaddr; } #endif /* LWIP_IPV6 && LWIP_IPV6_SCOPES */ /* no port specified? */ if (port == 0) { - 800cbf0: 88fb ldrh r3, [r7, #6] - 800cbf2: 2b00 cmp r3, #0 - 800cbf4: d109 bne.n 800cc0a + 800d574: 88fb ldrh r3, [r7, #6] + 800d576: 2b00 cmp r3, #0 + 800d578: d109 bne.n 800d58e port = udp_new_port(); - 800cbf6: f7ff fc69 bl 800c4cc - 800cbfa: 4603 mov r3, r0 - 800cbfc: 80fb strh r3, [r7, #6] + 800d57a: f7ff fc69 bl 800ce50 + 800d57e: 4603 mov r3, r0 + 800d580: 80fb strh r3, [r7, #6] if (port == 0) { - 800cbfe: 88fb ldrh r3, [r7, #6] - 800cc00: 2b00 cmp r3, #0 - 800cc02: d12c bne.n 800cc5e + 800d582: 88fb ldrh r3, [r7, #6] + 800d584: 2b00 cmp r3, #0 + 800d586: d12c bne.n 800d5e2 /* no more ports available in local range */ LWIP_DEBUGF(UDP_DEBUG, ("udp_bind: out of free UDP ports\n")); return ERR_USE; - 800cc04: f06f 0307 mvn.w r3, #7 - 800cc08: e040 b.n 800cc8c + 800d588: f06f 0307 mvn.w r3, #7 + 800d58c: e040 b.n 800d610 } } else { for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 800cc0a: 4b26 ldr r3, [pc, #152] @ (800cca4 ) - 800cc0c: 681b ldr r3, [r3, #0] - 800cc0e: 617b str r3, [r7, #20] - 800cc10: e022 b.n 800cc58 + 800d58e: 4b26 ldr r3, [pc, #152] @ (800d628 ) + 800d590: 681b ldr r3, [r3, #0] + 800d592: 617b str r3, [r7, #20] + 800d594: e022 b.n 800d5dc if (pcb != ipcb) { - 800cc12: 68fa ldr r2, [r7, #12] - 800cc14: 697b ldr r3, [r7, #20] - 800cc16: 429a cmp r2, r3 - 800cc18: d01b beq.n 800cc52 + 800d596: 68fa ldr r2, [r7, #12] + 800d598: 697b ldr r3, [r7, #20] + 800d59a: 429a cmp r2, r3 + 800d59c: d01b beq.n 800d5d6 if (!ip_get_option(pcb, SOF_REUSEADDR) || !ip_get_option(ipcb, SOF_REUSEADDR)) #endif /* SO_REUSE */ { /* port matches that of PCB in list and REUSEADDR not set -> reject */ if ((ipcb->local_port == port) && - 800cc1a: 697b ldr r3, [r7, #20] - 800cc1c: 8a5b ldrh r3, [r3, #18] - 800cc1e: 88fa ldrh r2, [r7, #6] - 800cc20: 429a cmp r2, r3 - 800cc22: d116 bne.n 800cc52 + 800d59e: 697b ldr r3, [r7, #20] + 800d5a0: 8a5b ldrh r3, [r3, #18] + 800d5a2: 88fa ldrh r2, [r7, #6] + 800d5a4: 429a cmp r2, r3 + 800d5a6: d116 bne.n 800d5d6 /* IP address matches or any IP used? */ (ip_addr_cmp(&ipcb->local_ip, ipaddr) || ip_addr_isany(ipaddr) || - 800cc24: 697b ldr r3, [r7, #20] - 800cc26: 681a ldr r2, [r3, #0] - 800cc28: 68bb ldr r3, [r7, #8] - 800cc2a: 681b ldr r3, [r3, #0] + 800d5a8: 697b ldr r3, [r7, #20] + 800d5aa: 681a ldr r2, [r3, #0] + 800d5ac: 68bb ldr r3, [r7, #8] + 800d5ae: 681b ldr r3, [r3, #0] if ((ipcb->local_port == port) && - 800cc2c: 429a cmp r2, r3 - 800cc2e: d00d beq.n 800cc4c + 800d5b0: 429a cmp r2, r3 + 800d5b2: d00d beq.n 800d5d0 (ip_addr_cmp(&ipcb->local_ip, ipaddr) || ip_addr_isany(ipaddr) || - 800cc30: 68bb ldr r3, [r7, #8] - 800cc32: 2b00 cmp r3, #0 - 800cc34: d00a beq.n 800cc4c - 800cc36: 68bb ldr r3, [r7, #8] - 800cc38: 681b ldr r3, [r3, #0] - 800cc3a: 2b00 cmp r3, #0 - 800cc3c: d006 beq.n 800cc4c + 800d5b4: 68bb ldr r3, [r7, #8] + 800d5b6: 2b00 cmp r3, #0 + 800d5b8: d00a beq.n 800d5d0 + 800d5ba: 68bb ldr r3, [r7, #8] + 800d5bc: 681b ldr r3, [r3, #0] + 800d5be: 2b00 cmp r3, #0 + 800d5c0: d006 beq.n 800d5d0 ip_addr_isany(&ipcb->local_ip))) { - 800cc3e: 697b ldr r3, [r7, #20] + 800d5c2: 697b ldr r3, [r7, #20] (ip_addr_cmp(&ipcb->local_ip, ipaddr) || ip_addr_isany(ipaddr) || - 800cc40: 2b00 cmp r3, #0 - 800cc42: d003 beq.n 800cc4c + 800d5c4: 2b00 cmp r3, #0 + 800d5c6: d003 beq.n 800d5d0 ip_addr_isany(&ipcb->local_ip))) { - 800cc44: 697b ldr r3, [r7, #20] - 800cc46: 681b ldr r3, [r3, #0] - 800cc48: 2b00 cmp r3, #0 - 800cc4a: d102 bne.n 800cc52 + 800d5c8: 697b ldr r3, [r7, #20] + 800d5ca: 681b ldr r3, [r3, #0] + 800d5cc: 2b00 cmp r3, #0 + 800d5ce: d102 bne.n 800d5d6 /* other PCB already binds to this local IP and port */ LWIP_DEBUGF(UDP_DEBUG, ("udp_bind: local port %"U16_F" already bound by another pcb\n", port)); return ERR_USE; - 800cc4c: f06f 0307 mvn.w r3, #7 - 800cc50: e01c b.n 800cc8c + 800d5d0: f06f 0307 mvn.w r3, #7 + 800d5d4: e01c b.n 800d610 for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 800cc52: 697b ldr r3, [r7, #20] - 800cc54: 68db ldr r3, [r3, #12] - 800cc56: 617b str r3, [r7, #20] - 800cc58: 697b ldr r3, [r7, #20] - 800cc5a: 2b00 cmp r3, #0 - 800cc5c: d1d9 bne.n 800cc12 + 800d5d6: 697b ldr r3, [r7, #20] + 800d5d8: 68db ldr r3, [r3, #12] + 800d5da: 617b str r3, [r7, #20] + 800d5dc: 697b ldr r3, [r7, #20] + 800d5de: 2b00 cmp r3, #0 + 800d5e0: d1d9 bne.n 800d596 } } } } ip_addr_set_ipaddr(&pcb->local_ip, ipaddr); - 800cc5e: 68bb ldr r3, [r7, #8] - 800cc60: 2b00 cmp r3, #0 - 800cc62: d002 beq.n 800cc6a - 800cc64: 68bb ldr r3, [r7, #8] - 800cc66: 681b ldr r3, [r3, #0] - 800cc68: e000 b.n 800cc6c - 800cc6a: 2300 movs r3, #0 - 800cc6c: 68fa ldr r2, [r7, #12] - 800cc6e: 6013 str r3, [r2, #0] + 800d5e2: 68bb ldr r3, [r7, #8] + 800d5e4: 2b00 cmp r3, #0 + 800d5e6: d002 beq.n 800d5ee + 800d5e8: 68bb ldr r3, [r7, #8] + 800d5ea: 681b ldr r3, [r3, #0] + 800d5ec: e000 b.n 800d5f0 + 800d5ee: 2300 movs r3, #0 + 800d5f0: 68fa ldr r2, [r7, #12] + 800d5f2: 6013 str r3, [r2, #0] pcb->local_port = port; - 800cc70: 68fb ldr r3, [r7, #12] - 800cc72: 88fa ldrh r2, [r7, #6] - 800cc74: 825a strh r2, [r3, #18] + 800d5f4: 68fb ldr r3, [r7, #12] + 800d5f6: 88fa ldrh r2, [r7, #6] + 800d5f8: 825a strh r2, [r3, #18] mib2_udp_bind(pcb); /* pcb not active yet? */ if (rebind == 0) { - 800cc76: 7cfb ldrb r3, [r7, #19] - 800cc78: 2b00 cmp r3, #0 - 800cc7a: d106 bne.n 800cc8a + 800d5fa: 7cfb ldrb r3, [r7, #19] + 800d5fc: 2b00 cmp r3, #0 + 800d5fe: d106 bne.n 800d60e /* place the PCB on the active list if not already there */ pcb->next = udp_pcbs; - 800cc7c: 4b09 ldr r3, [pc, #36] @ (800cca4 ) - 800cc7e: 681a ldr r2, [r3, #0] - 800cc80: 68fb ldr r3, [r7, #12] - 800cc82: 60da str r2, [r3, #12] + 800d600: 4b09 ldr r3, [pc, #36] @ (800d628 ) + 800d602: 681a ldr r2, [r3, #0] + 800d604: 68fb ldr r3, [r7, #12] + 800d606: 60da str r2, [r3, #12] udp_pcbs = pcb; - 800cc84: 4a07 ldr r2, [pc, #28] @ (800cca4 ) - 800cc86: 68fb ldr r3, [r7, #12] - 800cc88: 6013 str r3, [r2, #0] + 800d608: 4a07 ldr r2, [pc, #28] @ (800d628 ) + 800d60a: 68fb ldr r3, [r7, #12] + 800d60c: 6013 str r3, [r2, #0] } LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("udp_bind: bound to ")); ip_addr_debug_print_val(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, pcb->local_ip); LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, (", port %"U16_F")\n", pcb->local_port)); return ERR_OK; - 800cc8a: 2300 movs r3, #0 + 800d60e: 2300 movs r3, #0 } - 800cc8c: 4618 mov r0, r3 - 800cc8e: 3718 adds r7, #24 - 800cc90: 46bd mov sp, r7 - 800cc92: bd80 pop {r7, pc} - 800cc94: 08018ed4 .word 0x08018ed4 - 800cc98: 08017fa0 .word 0x08017fa0 - 800cc9c: 08018268 .word 0x08018268 - 800cca0: 08017ff4 .word 0x08017ff4 - 800cca4: 20019100 .word 0x20019100 + 800d610: 4618 mov r0, r3 + 800d612: 3718 adds r7, #24 + 800d614: 46bd mov sp, r7 + 800d616: bd80 pop {r7, pc} + 800d618: 08019854 .word 0x08019854 + 800d61c: 08018920 .word 0x08018920 + 800d620: 08018be8 .word 0x08018be8 + 800d624: 08018974 .word 0x08018974 + 800d628: 20019134 .word 0x20019134 -0800cca8 : +0800d62c : * * @see udp_disconnect() */ err_t udp_connect(struct udp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port) { - 800cca8: b580 push {r7, lr} - 800ccaa: b086 sub sp, #24 - 800ccac: af00 add r7, sp, #0 - 800ccae: 60f8 str r0, [r7, #12] - 800ccb0: 60b9 str r1, [r7, #8] - 800ccb2: 4613 mov r3, r2 - 800ccb4: 80fb strh r3, [r7, #6] + 800d62c: b580 push {r7, lr} + 800d62e: b086 sub sp, #24 + 800d630: af00 add r7, sp, #0 + 800d632: 60f8 str r0, [r7, #12] + 800d634: 60b9 str r1, [r7, #8] + 800d636: 4613 mov r3, r2 + 800d638: 80fb strh r3, [r7, #6] struct udp_pcb *ipcb; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("udp_connect: invalid pcb", pcb != NULL, return ERR_ARG); - 800ccb6: 68fb ldr r3, [r7, #12] - 800ccb8: 2b00 cmp r3, #0 - 800ccba: d109 bne.n 800ccd0 - 800ccbc: 4b2c ldr r3, [pc, #176] @ (800cd70 ) - 800ccbe: f240 4235 movw r2, #1077 @ 0x435 - 800ccc2: 492c ldr r1, [pc, #176] @ (800cd74 ) - 800ccc4: 482c ldr r0, [pc, #176] @ (800cd78 ) - 800ccc6: f004 fc97 bl 80115f8 - 800ccca: f06f 030f mvn.w r3, #15 - 800ccce: e04b b.n 800cd68 + 800d63a: 68fb ldr r3, [r7, #12] + 800d63c: 2b00 cmp r3, #0 + 800d63e: d109 bne.n 800d654 + 800d640: 4b2c ldr r3, [pc, #176] @ (800d6f4 ) + 800d642: f240 4235 movw r2, #1077 @ 0x435 + 800d646: 492c ldr r1, [pc, #176] @ (800d6f8 ) + 800d648: 482c ldr r0, [pc, #176] @ (800d6fc ) + 800d64a: f004 fc97 bl 8011f7c + 800d64e: f06f 030f mvn.w r3, #15 + 800d652: e04b b.n 800d6ec LWIP_ERROR("udp_connect: invalid ipaddr", ipaddr != NULL, return ERR_ARG); - 800ccd0: 68bb ldr r3, [r7, #8] - 800ccd2: 2b00 cmp r3, #0 - 800ccd4: d109 bne.n 800ccea - 800ccd6: 4b26 ldr r3, [pc, #152] @ (800cd70 ) - 800ccd8: f240 4236 movw r2, #1078 @ 0x436 - 800ccdc: 4927 ldr r1, [pc, #156] @ (800cd7c ) - 800ccde: 4826 ldr r0, [pc, #152] @ (800cd78 ) - 800cce0: f004 fc8a bl 80115f8 - 800cce4: f06f 030f mvn.w r3, #15 - 800cce8: e03e b.n 800cd68 + 800d654: 68bb ldr r3, [r7, #8] + 800d656: 2b00 cmp r3, #0 + 800d658: d109 bne.n 800d66e + 800d65a: 4b26 ldr r3, [pc, #152] @ (800d6f4 ) + 800d65c: f240 4236 movw r2, #1078 @ 0x436 + 800d660: 4927 ldr r1, [pc, #156] @ (800d700 ) + 800d662: 4826 ldr r0, [pc, #152] @ (800d6fc ) + 800d664: f004 fc8a bl 8011f7c + 800d668: f06f 030f mvn.w r3, #15 + 800d66c: e03e b.n 800d6ec if (pcb->local_port == 0) { - 800ccea: 68fb ldr r3, [r7, #12] - 800ccec: 8a5b ldrh r3, [r3, #18] - 800ccee: 2b00 cmp r3, #0 - 800ccf0: d10f bne.n 800cd12 + 800d66e: 68fb ldr r3, [r7, #12] + 800d670: 8a5b ldrh r3, [r3, #18] + 800d672: 2b00 cmp r3, #0 + 800d674: d10f bne.n 800d696 err_t err = udp_bind(pcb, &pcb->local_ip, pcb->local_port); - 800ccf2: 68f9 ldr r1, [r7, #12] - 800ccf4: 68fb ldr r3, [r7, #12] - 800ccf6: 8a5b ldrh r3, [r3, #18] - 800ccf8: 461a mov r2, r3 - 800ccfa: 68f8 ldr r0, [r7, #12] - 800ccfc: f7ff ff4c bl 800cb98 - 800cd00: 4603 mov r3, r0 - 800cd02: 74fb strb r3, [r7, #19] + 800d676: 68f9 ldr r1, [r7, #12] + 800d678: 68fb ldr r3, [r7, #12] + 800d67a: 8a5b ldrh r3, [r3, #18] + 800d67c: 461a mov r2, r3 + 800d67e: 68f8 ldr r0, [r7, #12] + 800d680: f7ff ff4c bl 800d51c + 800d684: 4603 mov r3, r0 + 800d686: 74fb strb r3, [r7, #19] if (err != ERR_OK) { - 800cd04: f997 3013 ldrsb.w r3, [r7, #19] - 800cd08: 2b00 cmp r3, #0 - 800cd0a: d002 beq.n 800cd12 + 800d688: f997 3013 ldrsb.w r3, [r7, #19] + 800d68c: 2b00 cmp r3, #0 + 800d68e: d002 beq.n 800d696 return err; - 800cd0c: f997 3013 ldrsb.w r3, [r7, #19] - 800cd10: e02a b.n 800cd68 + 800d690: f997 3013 ldrsb.w r3, [r7, #19] + 800d694: e02a b.n 800d6ec } } ip_addr_set_ipaddr(&pcb->remote_ip, ipaddr); - 800cd12: 68bb ldr r3, [r7, #8] - 800cd14: 2b00 cmp r3, #0 - 800cd16: d002 beq.n 800cd1e - 800cd18: 68bb ldr r3, [r7, #8] - 800cd1a: 681b ldr r3, [r3, #0] - 800cd1c: e000 b.n 800cd20 - 800cd1e: 2300 movs r3, #0 - 800cd20: 68fa ldr r2, [r7, #12] - 800cd22: 6053 str r3, [r2, #4] + 800d696: 68bb ldr r3, [r7, #8] + 800d698: 2b00 cmp r3, #0 + 800d69a: d002 beq.n 800d6a2 + 800d69c: 68bb ldr r3, [r7, #8] + 800d69e: 681b ldr r3, [r3, #0] + 800d6a0: e000 b.n 800d6a4 + 800d6a2: 2300 movs r3, #0 + 800d6a4: 68fa ldr r2, [r7, #12] + 800d6a6: 6053 str r3, [r2, #4] ip6_addr_lacks_zone(ip_2_ip6(&pcb->remote_ip), IP6_UNKNOWN)) { ip6_addr_select_zone(ip_2_ip6(&pcb->remote_ip), ip_2_ip6(&pcb->local_ip)); } #endif /* LWIP_IPV6 && LWIP_IPV6_SCOPES */ pcb->remote_port = port; - 800cd24: 68fb ldr r3, [r7, #12] - 800cd26: 88fa ldrh r2, [r7, #6] - 800cd28: 829a strh r2, [r3, #20] + 800d6a8: 68fb ldr r3, [r7, #12] + 800d6aa: 88fa ldrh r2, [r7, #6] + 800d6ac: 829a strh r2, [r3, #20] pcb->flags |= UDP_FLAGS_CONNECTED; - 800cd2a: 68fb ldr r3, [r7, #12] - 800cd2c: 7c1b ldrb r3, [r3, #16] - 800cd2e: f043 0304 orr.w r3, r3, #4 - 800cd32: b2da uxtb r2, r3 - 800cd34: 68fb ldr r3, [r7, #12] - 800cd36: 741a strb r2, [r3, #16] + 800d6ae: 68fb ldr r3, [r7, #12] + 800d6b0: 7c1b ldrb r3, [r3, #16] + 800d6b2: f043 0304 orr.w r3, r3, #4 + 800d6b6: b2da uxtb r2, r3 + 800d6b8: 68fb ldr r3, [r7, #12] + 800d6ba: 741a strb r2, [r3, #16] ip_addr_debug_print_val(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, pcb->remote_ip); LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, (", port %"U16_F")\n", pcb->remote_port)); /* Insert UDP PCB into the list of active UDP PCBs. */ for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 800cd38: 4b11 ldr r3, [pc, #68] @ (800cd80 ) - 800cd3a: 681b ldr r3, [r3, #0] - 800cd3c: 617b str r3, [r7, #20] - 800cd3e: e008 b.n 800cd52 + 800d6bc: 4b11 ldr r3, [pc, #68] @ (800d704 ) + 800d6be: 681b ldr r3, [r3, #0] + 800d6c0: 617b str r3, [r7, #20] + 800d6c2: e008 b.n 800d6d6 if (pcb == ipcb) { - 800cd40: 68fa ldr r2, [r7, #12] - 800cd42: 697b ldr r3, [r7, #20] - 800cd44: 429a cmp r2, r3 - 800cd46: d101 bne.n 800cd4c + 800d6c4: 68fa ldr r2, [r7, #12] + 800d6c6: 697b ldr r3, [r7, #20] + 800d6c8: 429a cmp r2, r3 + 800d6ca: d101 bne.n 800d6d0 /* already on the list, just return */ return ERR_OK; - 800cd48: 2300 movs r3, #0 - 800cd4a: e00d b.n 800cd68 + 800d6cc: 2300 movs r3, #0 + 800d6ce: e00d b.n 800d6ec for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) { - 800cd4c: 697b ldr r3, [r7, #20] - 800cd4e: 68db ldr r3, [r3, #12] - 800cd50: 617b str r3, [r7, #20] - 800cd52: 697b ldr r3, [r7, #20] - 800cd54: 2b00 cmp r3, #0 - 800cd56: d1f3 bne.n 800cd40 + 800d6d0: 697b ldr r3, [r7, #20] + 800d6d2: 68db ldr r3, [r3, #12] + 800d6d4: 617b str r3, [r7, #20] + 800d6d6: 697b ldr r3, [r7, #20] + 800d6d8: 2b00 cmp r3, #0 + 800d6da: d1f3 bne.n 800d6c4 } } /* PCB not yet on the list, add PCB now */ pcb->next = udp_pcbs; - 800cd58: 4b09 ldr r3, [pc, #36] @ (800cd80 ) - 800cd5a: 681a ldr r2, [r3, #0] - 800cd5c: 68fb ldr r3, [r7, #12] - 800cd5e: 60da str r2, [r3, #12] + 800d6dc: 4b09 ldr r3, [pc, #36] @ (800d704 ) + 800d6de: 681a ldr r2, [r3, #0] + 800d6e0: 68fb ldr r3, [r7, #12] + 800d6e2: 60da str r2, [r3, #12] udp_pcbs = pcb; - 800cd60: 4a07 ldr r2, [pc, #28] @ (800cd80 ) - 800cd62: 68fb ldr r3, [r7, #12] - 800cd64: 6013 str r3, [r2, #0] + 800d6e4: 4a07 ldr r2, [pc, #28] @ (800d704 ) + 800d6e6: 68fb ldr r3, [r7, #12] + 800d6e8: 6013 str r3, [r2, #0] return ERR_OK; - 800cd66: 2300 movs r3, #0 + 800d6ea: 2300 movs r3, #0 } - 800cd68: 4618 mov r0, r3 - 800cd6a: 3718 adds r7, #24 - 800cd6c: 46bd mov sp, r7 - 800cd6e: bd80 pop {r7, pc} - 800cd70: 08017fa0 .word 0x08017fa0 - 800cd74: 08018280 .word 0x08018280 - 800cd78: 08017ff4 .word 0x08017ff4 - 800cd7c: 0801829c .word 0x0801829c - 800cd80: 20019100 .word 0x20019100 + 800d6ec: 4618 mov r0, r3 + 800d6ee: 3718 adds r7, #24 + 800d6f0: 46bd mov sp, r7 + 800d6f2: bd80 pop {r7, pc} + 800d6f4: 08018920 .word 0x08018920 + 800d6f8: 08018c00 .word 0x08018c00 + 800d6fc: 08018974 .word 0x08018974 + 800d700: 08018c1c .word 0x08018c1c + 800d704: 20019134 .word 0x20019134 -0800cd84 : +0800d708 : * @param recv function pointer of the callback function * @param recv_arg additional argument to pass to the callback function */ void udp_recv(struct udp_pcb *pcb, udp_recv_fn recv, void *recv_arg) { - 800cd84: b580 push {r7, lr} - 800cd86: b084 sub sp, #16 - 800cd88: af00 add r7, sp, #0 - 800cd8a: 60f8 str r0, [r7, #12] - 800cd8c: 60b9 str r1, [r7, #8] - 800cd8e: 607a str r2, [r7, #4] + 800d708: b580 push {r7, lr} + 800d70a: b084 sub sp, #16 + 800d70c: af00 add r7, sp, #0 + 800d70e: 60f8 str r0, [r7, #12] + 800d710: 60b9 str r1, [r7, #8] + 800d712: 607a str r2, [r7, #4] LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("udp_recv: invalid pcb", pcb != NULL, return); - 800cd90: 68fb ldr r3, [r7, #12] - 800cd92: 2b00 cmp r3, #0 - 800cd94: d107 bne.n 800cda6 - 800cd96: 4b08 ldr r3, [pc, #32] @ (800cdb8 ) - 800cd98: f240 428a movw r2, #1162 @ 0x48a - 800cd9c: 4907 ldr r1, [pc, #28] @ (800cdbc ) - 800cd9e: 4808 ldr r0, [pc, #32] @ (800cdc0 ) - 800cda0: f004 fc2a bl 80115f8 - 800cda4: e005 b.n 800cdb2 + 800d714: 68fb ldr r3, [r7, #12] + 800d716: 2b00 cmp r3, #0 + 800d718: d107 bne.n 800d72a + 800d71a: 4b08 ldr r3, [pc, #32] @ (800d73c ) + 800d71c: f240 428a movw r2, #1162 @ 0x48a + 800d720: 4907 ldr r1, [pc, #28] @ (800d740 ) + 800d722: 4808 ldr r0, [pc, #32] @ (800d744 ) + 800d724: f004 fc2a bl 8011f7c + 800d728: e005 b.n 800d736 /* remember recv() callback and user data */ pcb->recv = recv; - 800cda6: 68fb ldr r3, [r7, #12] - 800cda8: 68ba ldr r2, [r7, #8] - 800cdaa: 619a str r2, [r3, #24] + 800d72a: 68fb ldr r3, [r7, #12] + 800d72c: 68ba ldr r2, [r7, #8] + 800d72e: 619a str r2, [r3, #24] pcb->recv_arg = recv_arg; - 800cdac: 68fb ldr r3, [r7, #12] - 800cdae: 687a ldr r2, [r7, #4] - 800cdb0: 61da str r2, [r3, #28] + 800d730: 68fb ldr r3, [r7, #12] + 800d732: 687a ldr r2, [r7, #4] + 800d734: 61da str r2, [r3, #28] } - 800cdb2: 3710 adds r7, #16 - 800cdb4: 46bd mov sp, r7 - 800cdb6: bd80 pop {r7, pc} - 800cdb8: 08017fa0 .word 0x08017fa0 - 800cdbc: 080182d4 .word 0x080182d4 - 800cdc0: 08017ff4 .word 0x08017ff4 + 800d736: 3710 adds r7, #16 + 800d738: 46bd mov sp, r7 + 800d73a: bd80 pop {r7, pc} + 800d73c: 08018920 .word 0x08018920 + 800d740: 08018c54 .word 0x08018c54 + 800d744: 08018974 .word 0x08018974 -0800cdc4 : +0800d748 : * * @see udp_new() */ void udp_remove(struct udp_pcb *pcb) { - 800cdc4: b580 push {r7, lr} - 800cdc6: b084 sub sp, #16 - 800cdc8: af00 add r7, sp, #0 - 800cdca: 6078 str r0, [r7, #4] + 800d748: b580 push {r7, lr} + 800d74a: b084 sub sp, #16 + 800d74c: af00 add r7, sp, #0 + 800d74e: 6078 str r0, [r7, #4] struct udp_pcb *pcb2; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("udp_remove: invalid pcb", pcb != NULL, return); - 800cdcc: 687b ldr r3, [r7, #4] - 800cdce: 2b00 cmp r3, #0 - 800cdd0: d107 bne.n 800cde2 - 800cdd2: 4b19 ldr r3, [pc, #100] @ (800ce38 ) - 800cdd4: f240 42a1 movw r2, #1185 @ 0x4a1 - 800cdd8: 4918 ldr r1, [pc, #96] @ (800ce3c ) - 800cdda: 4819 ldr r0, [pc, #100] @ (800ce40 ) - 800cddc: f004 fc0c bl 80115f8 - 800cde0: e026 b.n 800ce30 + 800d750: 687b ldr r3, [r7, #4] + 800d752: 2b00 cmp r3, #0 + 800d754: d107 bne.n 800d766 + 800d756: 4b19 ldr r3, [pc, #100] @ (800d7bc ) + 800d758: f240 42a1 movw r2, #1185 @ 0x4a1 + 800d75c: 4918 ldr r1, [pc, #96] @ (800d7c0 ) + 800d75e: 4819 ldr r0, [pc, #100] @ (800d7c4 ) + 800d760: f004 fc0c bl 8011f7c + 800d764: e026 b.n 800d7b4 mib2_udp_unbind(pcb); /* pcb to be removed is first in list? */ if (udp_pcbs == pcb) { - 800cde2: 4b18 ldr r3, [pc, #96] @ (800ce44 ) - 800cde4: 681b ldr r3, [r3, #0] - 800cde6: 687a ldr r2, [r7, #4] - 800cde8: 429a cmp r2, r3 - 800cdea: d105 bne.n 800cdf8 + 800d766: 4b18 ldr r3, [pc, #96] @ (800d7c8 ) + 800d768: 681b ldr r3, [r3, #0] + 800d76a: 687a ldr r2, [r7, #4] + 800d76c: 429a cmp r2, r3 + 800d76e: d105 bne.n 800d77c /* make list start at 2nd pcb */ udp_pcbs = udp_pcbs->next; - 800cdec: 4b15 ldr r3, [pc, #84] @ (800ce44 ) - 800cdee: 681b ldr r3, [r3, #0] - 800cdf0: 68db ldr r3, [r3, #12] - 800cdf2: 4a14 ldr r2, [pc, #80] @ (800ce44 ) - 800cdf4: 6013 str r3, [r2, #0] - 800cdf6: e017 b.n 800ce28 + 800d770: 4b15 ldr r3, [pc, #84] @ (800d7c8 ) + 800d772: 681b ldr r3, [r3, #0] + 800d774: 68db ldr r3, [r3, #12] + 800d776: 4a14 ldr r2, [pc, #80] @ (800d7c8 ) + 800d778: 6013 str r3, [r2, #0] + 800d77a: e017 b.n 800d7ac /* pcb not 1st in list */ } else { for (pcb2 = udp_pcbs; pcb2 != NULL; pcb2 = pcb2->next) { - 800cdf8: 4b12 ldr r3, [pc, #72] @ (800ce44 ) - 800cdfa: 681b ldr r3, [r3, #0] - 800cdfc: 60fb str r3, [r7, #12] - 800cdfe: e010 b.n 800ce22 + 800d77c: 4b12 ldr r3, [pc, #72] @ (800d7c8 ) + 800d77e: 681b ldr r3, [r3, #0] + 800d780: 60fb str r3, [r7, #12] + 800d782: e010 b.n 800d7a6 /* find pcb in udp_pcbs list */ if (pcb2->next != NULL && pcb2->next == pcb) { - 800ce00: 68fb ldr r3, [r7, #12] - 800ce02: 68db ldr r3, [r3, #12] - 800ce04: 2b00 cmp r3, #0 - 800ce06: d009 beq.n 800ce1c - 800ce08: 68fb ldr r3, [r7, #12] - 800ce0a: 68db ldr r3, [r3, #12] - 800ce0c: 687a ldr r2, [r7, #4] - 800ce0e: 429a cmp r2, r3 - 800ce10: d104 bne.n 800ce1c + 800d784: 68fb ldr r3, [r7, #12] + 800d786: 68db ldr r3, [r3, #12] + 800d788: 2b00 cmp r3, #0 + 800d78a: d009 beq.n 800d7a0 + 800d78c: 68fb ldr r3, [r7, #12] + 800d78e: 68db ldr r3, [r3, #12] + 800d790: 687a ldr r2, [r7, #4] + 800d792: 429a cmp r2, r3 + 800d794: d104 bne.n 800d7a0 /* remove pcb from list */ pcb2->next = pcb->next; - 800ce12: 687b ldr r3, [r7, #4] - 800ce14: 68da ldr r2, [r3, #12] - 800ce16: 68fb ldr r3, [r7, #12] - 800ce18: 60da str r2, [r3, #12] + 800d796: 687b ldr r3, [r7, #4] + 800d798: 68da ldr r2, [r3, #12] + 800d79a: 68fb ldr r3, [r7, #12] + 800d79c: 60da str r2, [r3, #12] break; - 800ce1a: e005 b.n 800ce28 + 800d79e: e005 b.n 800d7ac for (pcb2 = udp_pcbs; pcb2 != NULL; pcb2 = pcb2->next) { - 800ce1c: 68fb ldr r3, [r7, #12] - 800ce1e: 68db ldr r3, [r3, #12] - 800ce20: 60fb str r3, [r7, #12] - 800ce22: 68fb ldr r3, [r7, #12] - 800ce24: 2b00 cmp r3, #0 - 800ce26: d1eb bne.n 800ce00 + 800d7a0: 68fb ldr r3, [r7, #12] + 800d7a2: 68db ldr r3, [r3, #12] + 800d7a4: 60fb str r3, [r7, #12] + 800d7a6: 68fb ldr r3, [r7, #12] + 800d7a8: 2b00 cmp r3, #0 + 800d7aa: d1eb bne.n 800d784 } } } memp_free(MEMP_UDP_PCB, pcb); - 800ce28: 6879 ldr r1, [r7, #4] - 800ce2a: 2000 movs r0, #0 - 800ce2c: f7f8 ff7c bl 8005d28 + 800d7ac: 6879 ldr r1, [r7, #4] + 800d7ae: 2000 movs r0, #0 + 800d7b0: f7f8 ff7c bl 80066ac } - 800ce30: 3710 adds r7, #16 - 800ce32: 46bd mov sp, r7 - 800ce34: bd80 pop {r7, pc} - 800ce36: bf00 nop - 800ce38: 08017fa0 .word 0x08017fa0 - 800ce3c: 080182ec .word 0x080182ec - 800ce40: 08017ff4 .word 0x08017ff4 - 800ce44: 20019100 .word 0x20019100 + 800d7b4: 3710 adds r7, #16 + 800d7b6: 46bd mov sp, r7 + 800d7b8: bd80 pop {r7, pc} + 800d7ba: bf00 nop + 800d7bc: 08018920 .word 0x08018920 + 800d7c0: 08018c6c .word 0x08018c6c + 800d7c4: 08018974 .word 0x08018974 + 800d7c8: 20019134 .word 0x20019134 -0800ce48 : +0800d7cc : * * @see udp_remove() */ struct udp_pcb * udp_new(void) { - 800ce48: b580 push {r7, lr} - 800ce4a: b082 sub sp, #8 - 800ce4c: af00 add r7, sp, #0 + 800d7cc: b580 push {r7, lr} + 800d7ce: b082 sub sp, #8 + 800d7d0: af00 add r7, sp, #0 struct udp_pcb *pcb; LWIP_ASSERT_CORE_LOCKED(); pcb = (struct udp_pcb *)memp_malloc(MEMP_UDP_PCB); - 800ce4e: 2000 movs r0, #0 - 800ce50: f7f8 fefa bl 8005c48 - 800ce54: 6078 str r0, [r7, #4] + 800d7d2: 2000 movs r0, #0 + 800d7d4: f7f8 fefa bl 80065cc + 800d7d8: 6078 str r0, [r7, #4] /* could allocate UDP PCB? */ if (pcb != NULL) { - 800ce56: 687b ldr r3, [r7, #4] - 800ce58: 2b00 cmp r3, #0 - 800ce5a: d007 beq.n 800ce6c + 800d7da: 687b ldr r3, [r7, #4] + 800d7dc: 2b00 cmp r3, #0 + 800d7de: d007 beq.n 800d7f0 /* UDP Lite: by initializing to all zeroes, chksum_len is set to 0 * which means checksum is generated over the whole datagram per default * (recommended as default by RFC 3828). */ /* initialize PCB to all zeroes */ memset(pcb, 0, sizeof(struct udp_pcb)); - 800ce5c: 2220 movs r2, #32 - 800ce5e: 2100 movs r1, #0 - 800ce60: 6878 ldr r0, [r7, #4] - 800ce62: f004 fc48 bl 80116f6 + 800d7e0: 2220 movs r2, #32 + 800d7e2: 2100 movs r1, #0 + 800d7e4: 6878 ldr r0, [r7, #4] + 800d7e6: f004 fc48 bl 801207a pcb->ttl = UDP_TTL; - 800ce66: 687b ldr r3, [r7, #4] - 800ce68: 22ff movs r2, #255 @ 0xff - 800ce6a: 72da strb r2, [r3, #11] + 800d7ea: 687b ldr r3, [r7, #4] + 800d7ec: 22ff movs r2, #255 @ 0xff + 800d7ee: 72da strb r2, [r3, #11] #if LWIP_MULTICAST_TX_OPTIONS udp_set_multicast_ttl(pcb, UDP_TTL); #endif /* LWIP_MULTICAST_TX_OPTIONS */ } return pcb; - 800ce6c: 687b ldr r3, [r7, #4] + 800d7f0: 687b ldr r3, [r7, #4] } - 800ce6e: 4618 mov r0, r3 - 800ce70: 3708 adds r7, #8 - 800ce72: 46bd mov sp, r7 - 800ce74: bd80 pop {r7, pc} + 800d7f2: 4618 mov r0, r3 + 800d7f4: 3708 adds r7, #8 + 800d7f6: 46bd mov sp, r7 + 800d7f8: bd80 pop {r7, pc} ... -0800ce78 : +0800d7fc : * * @param old_addr IP address of the netif before change * @param new_addr IP address of the netif after change */ void udp_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) { - 800ce78: b480 push {r7} - 800ce7a: b085 sub sp, #20 - 800ce7c: af00 add r7, sp, #0 - 800ce7e: 6078 str r0, [r7, #4] - 800ce80: 6039 str r1, [r7, #0] + 800d7fc: b480 push {r7} + 800d7fe: b085 sub sp, #20 + 800d800: af00 add r7, sp, #0 + 800d802: 6078 str r0, [r7, #4] + 800d804: 6039 str r1, [r7, #0] struct udp_pcb *upcb; if (!ip_addr_isany(old_addr) && !ip_addr_isany(new_addr)) { - 800ce82: 687b ldr r3, [r7, #4] - 800ce84: 2b00 cmp r3, #0 - 800ce86: d01e beq.n 800cec6 - 800ce88: 687b ldr r3, [r7, #4] - 800ce8a: 681b ldr r3, [r3, #0] - 800ce8c: 2b00 cmp r3, #0 - 800ce8e: d01a beq.n 800cec6 - 800ce90: 683b ldr r3, [r7, #0] - 800ce92: 2b00 cmp r3, #0 - 800ce94: d017 beq.n 800cec6 - 800ce96: 683b ldr r3, [r7, #0] - 800ce98: 681b ldr r3, [r3, #0] - 800ce9a: 2b00 cmp r3, #0 - 800ce9c: d013 beq.n 800cec6 + 800d806: 687b ldr r3, [r7, #4] + 800d808: 2b00 cmp r3, #0 + 800d80a: d01e beq.n 800d84a + 800d80c: 687b ldr r3, [r7, #4] + 800d80e: 681b ldr r3, [r3, #0] + 800d810: 2b00 cmp r3, #0 + 800d812: d01a beq.n 800d84a + 800d814: 683b ldr r3, [r7, #0] + 800d816: 2b00 cmp r3, #0 + 800d818: d017 beq.n 800d84a + 800d81a: 683b ldr r3, [r7, #0] + 800d81c: 681b ldr r3, [r3, #0] + 800d81e: 2b00 cmp r3, #0 + 800d820: d013 beq.n 800d84a for (upcb = udp_pcbs; upcb != NULL; upcb = upcb->next) { - 800ce9e: 4b0d ldr r3, [pc, #52] @ (800ced4 ) - 800cea0: 681b ldr r3, [r3, #0] - 800cea2: 60fb str r3, [r7, #12] - 800cea4: e00c b.n 800cec0 + 800d822: 4b0d ldr r3, [pc, #52] @ (800d858 ) + 800d824: 681b ldr r3, [r3, #0] + 800d826: 60fb str r3, [r7, #12] + 800d828: e00c b.n 800d844 /* PCB bound to current local interface address? */ if (ip_addr_cmp(&upcb->local_ip, old_addr)) { - 800cea6: 68fb ldr r3, [r7, #12] - 800cea8: 681a ldr r2, [r3, #0] - 800ceaa: 687b ldr r3, [r7, #4] - 800ceac: 681b ldr r3, [r3, #0] - 800ceae: 429a cmp r2, r3 - 800ceb0: d103 bne.n 800ceba + 800d82a: 68fb ldr r3, [r7, #12] + 800d82c: 681a ldr r2, [r3, #0] + 800d82e: 687b ldr r3, [r7, #4] + 800d830: 681b ldr r3, [r3, #0] + 800d832: 429a cmp r2, r3 + 800d834: d103 bne.n 800d83e /* The PCB is bound to the old ipaddr and * is set to bound to the new one instead */ ip_addr_copy(upcb->local_ip, *new_addr); - 800ceb2: 683b ldr r3, [r7, #0] - 800ceb4: 681a ldr r2, [r3, #0] - 800ceb6: 68fb ldr r3, [r7, #12] - 800ceb8: 601a str r2, [r3, #0] + 800d836: 683b ldr r3, [r7, #0] + 800d838: 681a ldr r2, [r3, #0] + 800d83a: 68fb ldr r3, [r7, #12] + 800d83c: 601a str r2, [r3, #0] for (upcb = udp_pcbs; upcb != NULL; upcb = upcb->next) { - 800ceba: 68fb ldr r3, [r7, #12] - 800cebc: 68db ldr r3, [r3, #12] - 800cebe: 60fb str r3, [r7, #12] - 800cec0: 68fb ldr r3, [r7, #12] - 800cec2: 2b00 cmp r3, #0 - 800cec4: d1ef bne.n 800cea6 + 800d83e: 68fb ldr r3, [r7, #12] + 800d840: 68db ldr r3, [r3, #12] + 800d842: 60fb str r3, [r7, #12] + 800d844: 68fb ldr r3, [r7, #12] + 800d846: 2b00 cmp r3, #0 + 800d848: d1ef bne.n 800d82a } } } } - 800cec6: bf00 nop - 800cec8: 3714 adds r7, #20 - 800ceca: 46bd mov sp, r7 - 800cecc: f85d 7b04 ldr.w r7, [sp], #4 - 800ced0: 4770 bx lr - 800ced2: bf00 nop - 800ced4: 20019100 .word 0x20019100 + 800d84a: bf00 nop + 800d84c: 3714 adds r7, #20 + 800d84e: 46bd mov sp, r7 + 800d850: f85d 7b04 ldr.w r7, [sp], #4 + 800d854: 4770 bx lr + 800d856: bf00 nop + 800d858: 20019134 .word 0x20019134 -0800ced8 : +0800d85c : static void dhcp_option_trailer(u16_t options_out_len, u8_t *options, struct pbuf *p_out); /** Ensure DHCP PCB is allocated and bound */ static err_t dhcp_inc_pcb_refcount(void) { - 800ced8: b580 push {r7, lr} - 800ceda: af00 add r7, sp, #0 + 800d85c: b580 push {r7, lr} + 800d85e: af00 add r7, sp, #0 if (dhcp_pcb_refcount == 0) { - 800cedc: 4b20 ldr r3, [pc, #128] @ (800cf60 ) - 800cede: 781b ldrb r3, [r3, #0] - 800cee0: 2b00 cmp r3, #0 - 800cee2: d133 bne.n 800cf4c + 800d860: 4b20 ldr r3, [pc, #128] @ (800d8e4 ) + 800d862: 781b ldrb r3, [r3, #0] + 800d864: 2b00 cmp r3, #0 + 800d866: d133 bne.n 800d8d0 LWIP_ASSERT("dhcp_inc_pcb_refcount(): memory leak", dhcp_pcb == NULL); - 800cee4: 4b1f ldr r3, [pc, #124] @ (800cf64 ) - 800cee6: 681b ldr r3, [r3, #0] - 800cee8: 2b00 cmp r3, #0 - 800ceea: d005 beq.n 800cef8 - 800ceec: 4b1e ldr r3, [pc, #120] @ (800cf68 ) - 800ceee: 22e5 movs r2, #229 @ 0xe5 - 800cef0: 491e ldr r1, [pc, #120] @ (800cf6c ) - 800cef2: 481f ldr r0, [pc, #124] @ (800cf70 ) - 800cef4: f004 fb80 bl 80115f8 + 800d868: 4b1f ldr r3, [pc, #124] @ (800d8e8 ) + 800d86a: 681b ldr r3, [r3, #0] + 800d86c: 2b00 cmp r3, #0 + 800d86e: d005 beq.n 800d87c + 800d870: 4b1e ldr r3, [pc, #120] @ (800d8ec ) + 800d872: 22e5 movs r2, #229 @ 0xe5 + 800d874: 491e ldr r1, [pc, #120] @ (800d8f0 ) + 800d876: 481f ldr r0, [pc, #124] @ (800d8f4 ) + 800d878: f004 fb80 bl 8011f7c /* allocate UDP PCB */ dhcp_pcb = udp_new(); - 800cef8: f7ff ffa6 bl 800ce48 - 800cefc: 4603 mov r3, r0 - 800cefe: 4a19 ldr r2, [pc, #100] @ (800cf64 ) - 800cf00: 6013 str r3, [r2, #0] + 800d87c: f7ff ffa6 bl 800d7cc + 800d880: 4603 mov r3, r0 + 800d882: 4a19 ldr r2, [pc, #100] @ (800d8e8 ) + 800d884: 6013 str r3, [r2, #0] if (dhcp_pcb == NULL) { - 800cf02: 4b18 ldr r3, [pc, #96] @ (800cf64 ) - 800cf04: 681b ldr r3, [r3, #0] - 800cf06: 2b00 cmp r3, #0 - 800cf08: d102 bne.n 800cf10 + 800d886: 4b18 ldr r3, [pc, #96] @ (800d8e8 ) + 800d888: 681b ldr r3, [r3, #0] + 800d88a: 2b00 cmp r3, #0 + 800d88c: d102 bne.n 800d894 return ERR_MEM; - 800cf0a: f04f 33ff mov.w r3, #4294967295 - 800cf0e: e024 b.n 800cf5a + 800d88e: f04f 33ff mov.w r3, #4294967295 + 800d892: e024 b.n 800d8de } ip_set_option(dhcp_pcb, SOF_BROADCAST); - 800cf10: 4b14 ldr r3, [pc, #80] @ (800cf64 ) - 800cf12: 681b ldr r3, [r3, #0] - 800cf14: 7a5a ldrb r2, [r3, #9] - 800cf16: 4b13 ldr r3, [pc, #76] @ (800cf64 ) - 800cf18: 681b ldr r3, [r3, #0] - 800cf1a: f042 0220 orr.w r2, r2, #32 - 800cf1e: b2d2 uxtb r2, r2 - 800cf20: 725a strb r2, [r3, #9] + 800d894: 4b14 ldr r3, [pc, #80] @ (800d8e8 ) + 800d896: 681b ldr r3, [r3, #0] + 800d898: 7a5a ldrb r2, [r3, #9] + 800d89a: 4b13 ldr r3, [pc, #76] @ (800d8e8 ) + 800d89c: 681b ldr r3, [r3, #0] + 800d89e: f042 0220 orr.w r2, r2, #32 + 800d8a2: b2d2 uxtb r2, r2 + 800d8a4: 725a strb r2, [r3, #9] /* set up local and remote port for the pcb -> listen on all interfaces on all src/dest IPs */ udp_bind(dhcp_pcb, IP4_ADDR_ANY, LWIP_IANA_PORT_DHCP_CLIENT); - 800cf22: 4b10 ldr r3, [pc, #64] @ (800cf64 ) - 800cf24: 681b ldr r3, [r3, #0] - 800cf26: 2244 movs r2, #68 @ 0x44 - 800cf28: 4912 ldr r1, [pc, #72] @ (800cf74 ) - 800cf2a: 4618 mov r0, r3 - 800cf2c: f7ff fe34 bl 800cb98 + 800d8a6: 4b10 ldr r3, [pc, #64] @ (800d8e8 ) + 800d8a8: 681b ldr r3, [r3, #0] + 800d8aa: 2244 movs r2, #68 @ 0x44 + 800d8ac: 4912 ldr r1, [pc, #72] @ (800d8f8 ) + 800d8ae: 4618 mov r0, r3 + 800d8b0: f7ff fe34 bl 800d51c udp_connect(dhcp_pcb, IP4_ADDR_ANY, LWIP_IANA_PORT_DHCP_SERVER); - 800cf30: 4b0c ldr r3, [pc, #48] @ (800cf64 ) - 800cf32: 681b ldr r3, [r3, #0] - 800cf34: 2243 movs r2, #67 @ 0x43 - 800cf36: 490f ldr r1, [pc, #60] @ (800cf74 ) - 800cf38: 4618 mov r0, r3 - 800cf3a: f7ff feb5 bl 800cca8 + 800d8b4: 4b0c ldr r3, [pc, #48] @ (800d8e8 ) + 800d8b6: 681b ldr r3, [r3, #0] + 800d8b8: 2243 movs r2, #67 @ 0x43 + 800d8ba: 490f ldr r1, [pc, #60] @ (800d8f8 ) + 800d8bc: 4618 mov r0, r3 + 800d8be: f7ff feb5 bl 800d62c udp_recv(dhcp_pcb, dhcp_recv, NULL); - 800cf3e: 4b09 ldr r3, [pc, #36] @ (800cf64 ) - 800cf40: 681b ldr r3, [r3, #0] - 800cf42: 2200 movs r2, #0 - 800cf44: 490c ldr r1, [pc, #48] @ (800cf78 ) - 800cf46: 4618 mov r0, r3 - 800cf48: f7ff ff1c bl 800cd84 + 800d8c2: 4b09 ldr r3, [pc, #36] @ (800d8e8 ) + 800d8c4: 681b ldr r3, [r3, #0] + 800d8c6: 2200 movs r2, #0 + 800d8c8: 490c ldr r1, [pc, #48] @ (800d8fc ) + 800d8ca: 4618 mov r0, r3 + 800d8cc: f7ff ff1c bl 800d708 } dhcp_pcb_refcount++; - 800cf4c: 4b04 ldr r3, [pc, #16] @ (800cf60 ) - 800cf4e: 781b ldrb r3, [r3, #0] - 800cf50: 3301 adds r3, #1 - 800cf52: b2da uxtb r2, r3 - 800cf54: 4b02 ldr r3, [pc, #8] @ (800cf60 ) - 800cf56: 701a strb r2, [r3, #0] + 800d8d0: 4b04 ldr r3, [pc, #16] @ (800d8e4 ) + 800d8d2: 781b ldrb r3, [r3, #0] + 800d8d4: 3301 adds r3, #1 + 800d8d6: b2da uxtb r2, r3 + 800d8d8: 4b02 ldr r3, [pc, #8] @ (800d8e4 ) + 800d8da: 701a strb r2, [r3, #0] return ERR_OK; - 800cf58: 2300 movs r3, #0 + 800d8dc: 2300 movs r3, #0 } - 800cf5a: 4618 mov r0, r3 - 800cf5c: bd80 pop {r7, pc} - 800cf5e: bf00 nop - 800cf60: 20019130 .word 0x20019130 - 800cf64: 2001912c .word 0x2001912c - 800cf68: 08018304 .word 0x08018304 - 800cf6c: 0801833c .word 0x0801833c - 800cf70: 08018364 .word 0x08018364 - 800cf74: 08018ed4 .word 0x08018ed4 - 800cf78: 0800e801 .word 0x0800e801 + 800d8de: 4618 mov r0, r3 + 800d8e0: bd80 pop {r7, pc} + 800d8e2: bf00 nop + 800d8e4: 20019164 .word 0x20019164 + 800d8e8: 20019160 .word 0x20019160 + 800d8ec: 08018c84 .word 0x08018c84 + 800d8f0: 08018cbc .word 0x08018cbc + 800d8f4: 08018ce4 .word 0x08018ce4 + 800d8f8: 08019854 .word 0x08019854 + 800d8fc: 0800f185 .word 0x0800f185 -0800cf7c : +0800d900 : /** Free DHCP PCB if the last netif stops using it */ static void dhcp_dec_pcb_refcount(void) { - 800cf7c: b580 push {r7, lr} - 800cf7e: af00 add r7, sp, #0 + 800d900: b580 push {r7, lr} + 800d902: af00 add r7, sp, #0 LWIP_ASSERT("dhcp_pcb_refcount(): refcount error", (dhcp_pcb_refcount > 0)); - 800cf80: 4b0e ldr r3, [pc, #56] @ (800cfbc ) - 800cf82: 781b ldrb r3, [r3, #0] - 800cf84: 2b00 cmp r3, #0 - 800cf86: d105 bne.n 800cf94 - 800cf88: 4b0d ldr r3, [pc, #52] @ (800cfc0 ) - 800cf8a: 22ff movs r2, #255 @ 0xff - 800cf8c: 490d ldr r1, [pc, #52] @ (800cfc4 ) - 800cf8e: 480e ldr r0, [pc, #56] @ (800cfc8 ) - 800cf90: f004 fb32 bl 80115f8 + 800d904: 4b0e ldr r3, [pc, #56] @ (800d940 ) + 800d906: 781b ldrb r3, [r3, #0] + 800d908: 2b00 cmp r3, #0 + 800d90a: d105 bne.n 800d918 + 800d90c: 4b0d ldr r3, [pc, #52] @ (800d944 ) + 800d90e: 22ff movs r2, #255 @ 0xff + 800d910: 490d ldr r1, [pc, #52] @ (800d948 ) + 800d912: 480e ldr r0, [pc, #56] @ (800d94c ) + 800d914: f004 fb32 bl 8011f7c dhcp_pcb_refcount--; - 800cf94: 4b09 ldr r3, [pc, #36] @ (800cfbc ) - 800cf96: 781b ldrb r3, [r3, #0] - 800cf98: 3b01 subs r3, #1 - 800cf9a: b2da uxtb r2, r3 - 800cf9c: 4b07 ldr r3, [pc, #28] @ (800cfbc ) - 800cf9e: 701a strb r2, [r3, #0] + 800d918: 4b09 ldr r3, [pc, #36] @ (800d940 ) + 800d91a: 781b ldrb r3, [r3, #0] + 800d91c: 3b01 subs r3, #1 + 800d91e: b2da uxtb r2, r3 + 800d920: 4b07 ldr r3, [pc, #28] @ (800d940 ) + 800d922: 701a strb r2, [r3, #0] if (dhcp_pcb_refcount == 0) { - 800cfa0: 4b06 ldr r3, [pc, #24] @ (800cfbc ) - 800cfa2: 781b ldrb r3, [r3, #0] - 800cfa4: 2b00 cmp r3, #0 - 800cfa6: d107 bne.n 800cfb8 + 800d924: 4b06 ldr r3, [pc, #24] @ (800d940 ) + 800d926: 781b ldrb r3, [r3, #0] + 800d928: 2b00 cmp r3, #0 + 800d92a: d107 bne.n 800d93c udp_remove(dhcp_pcb); - 800cfa8: 4b08 ldr r3, [pc, #32] @ (800cfcc ) - 800cfaa: 681b ldr r3, [r3, #0] - 800cfac: 4618 mov r0, r3 - 800cfae: f7ff ff09 bl 800cdc4 + 800d92c: 4b08 ldr r3, [pc, #32] @ (800d950 ) + 800d92e: 681b ldr r3, [r3, #0] + 800d930: 4618 mov r0, r3 + 800d932: f7ff ff09 bl 800d748 dhcp_pcb = NULL; - 800cfb2: 4b06 ldr r3, [pc, #24] @ (800cfcc ) - 800cfb4: 2200 movs r2, #0 - 800cfb6: 601a str r2, [r3, #0] + 800d936: 4b06 ldr r3, [pc, #24] @ (800d950 ) + 800d938: 2200 movs r2, #0 + 800d93a: 601a str r2, [r3, #0] } } - 800cfb8: bf00 nop - 800cfba: bd80 pop {r7, pc} - 800cfbc: 20019130 .word 0x20019130 - 800cfc0: 08018304 .word 0x08018304 - 800cfc4: 0801838c .word 0x0801838c - 800cfc8: 08018364 .word 0x08018364 - 800cfcc: 2001912c .word 0x2001912c + 800d93c: bf00 nop + 800d93e: bd80 pop {r7, pc} + 800d940: 20019164 .word 0x20019164 + 800d944: 08018c84 .word 0x08018c84 + 800d948: 08018d0c .word 0x08018d0c + 800d94c: 08018ce4 .word 0x08018ce4 + 800d950: 20019160 .word 0x20019160 -0800cfd0 : +0800d954 : * * @param netif the netif under DHCP control */ static void dhcp_handle_nak(struct netif *netif) { - 800cfd0: b580 push {r7, lr} - 800cfd2: b084 sub sp, #16 - 800cfd4: af00 add r7, sp, #0 - 800cfd6: 6078 str r0, [r7, #4] + 800d954: b580 push {r7, lr} + 800d956: b084 sub sp, #16 + 800d958: af00 add r7, sp, #0 + 800d95a: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800cfd8: 687b ldr r3, [r7, #4] - 800cfda: 6a5b ldr r3, [r3, #36] @ 0x24 - 800cfdc: 60fb str r3, [r7, #12] + 800d95c: 687b ldr r3, [r7, #4] + 800d95e: 6a5b ldr r3, [r3, #36] @ 0x24 + 800d960: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_handle_nak(netif=%p) %c%c%"U16_F"\n", (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); /* Change to a defined state - set this before assigning the address to ensure the callback can use dhcp_supplied_address() */ dhcp_set_state(dhcp, DHCP_STATE_BACKING_OFF); - 800cfde: 210c movs r1, #12 - 800cfe0: 68f8 ldr r0, [r7, #12] - 800cfe2: f001 f84f bl 800e084 + 800d962: 210c movs r1, #12 + 800d964: 68f8 ldr r0, [r7, #12] + 800d966: f001 f84f bl 800ea08 /* remove IP address from interface (must no longer be used, as per RFC2131) */ netif_set_addr(netif, IP4_ADDR_ANY4, IP4_ADDR_ANY4, IP4_ADDR_ANY4); - 800cfe6: 4b06 ldr r3, [pc, #24] @ (800d000 ) - 800cfe8: 4a05 ldr r2, [pc, #20] @ (800d000 ) - 800cfea: 4905 ldr r1, [pc, #20] @ (800d000 ) - 800cfec: 6878 ldr r0, [r7, #4] - 800cfee: f7f9 f83d bl 800606c + 800d96a: 4b06 ldr r3, [pc, #24] @ (800d984 ) + 800d96c: 4a05 ldr r2, [pc, #20] @ (800d984 ) + 800d96e: 4905 ldr r1, [pc, #20] @ (800d984 ) + 800d970: 6878 ldr r0, [r7, #4] + 800d972: f7f9 f83d bl 80069f0 /* We can immediately restart discovery */ dhcp_discover(netif); - 800cff2: 6878 ldr r0, [r7, #4] - 800cff4: f000 fc48 bl 800d888 + 800d976: 6878 ldr r0, [r7, #4] + 800d978: f000 fc48 bl 800e20c } - 800cff8: bf00 nop - 800cffa: 3710 adds r7, #16 - 800cffc: 46bd mov sp, r7 - 800cffe: bd80 pop {r7, pc} - 800d000: 08018ed4 .word 0x08018ed4 + 800d97c: bf00 nop + 800d97e: 3710 adds r7, #16 + 800d980: 46bd mov sp, r7 + 800d982: bd80 pop {r7, pc} + 800d984: 08019854 .word 0x08019854 -0800d004 : +0800d988 : * * @param netif the netif under DHCP control */ static void dhcp_check(struct netif *netif) { - 800d004: b580 push {r7, lr} - 800d006: b084 sub sp, #16 - 800d008: af00 add r7, sp, #0 - 800d00a: 6078 str r0, [r7, #4] + 800d988: b580 push {r7, lr} + 800d98a: b084 sub sp, #16 + 800d98c: af00 add r7, sp, #0 + 800d98e: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800d00c: 687b ldr r3, [r7, #4] - 800d00e: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d010: 60fb str r3, [r7, #12] + 800d990: 687b ldr r3, [r7, #4] + 800d992: 6a5b ldr r3, [r3, #36] @ 0x24 + 800d994: 60fb str r3, [r7, #12] err_t result; u16_t msecs; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_check(netif=%p) %c%c\n", (void *)netif, (s16_t)netif->name[0], (s16_t)netif->name[1])); dhcp_set_state(dhcp, DHCP_STATE_CHECKING); - 800d012: 2108 movs r1, #8 - 800d014: 68f8 ldr r0, [r7, #12] - 800d016: f001 f835 bl 800e084 + 800d996: 2108 movs r1, #8 + 800d998: 68f8 ldr r0, [r7, #12] + 800d99a: f001 f835 bl 800ea08 /* create an ARP query for the offered IP address, expecting that no host responds, as the IP address should not be in use. */ result = etharp_query(netif, &dhcp->offered_ip_addr, NULL); - 800d01a: 68fb ldr r3, [r7, #12] - 800d01c: 331c adds r3, #28 - 800d01e: 2200 movs r2, #0 - 800d020: 4619 mov r1, r3 - 800d022: 6878 ldr r0, [r7, #4] - 800d024: f002 fb36 bl 800f694 - 800d028: 4603 mov r3, r0 - 800d02a: 72fb strb r3, [r7, #11] + 800d99e: 68fb ldr r3, [r7, #12] + 800d9a0: 331c adds r3, #28 + 800d9a2: 2200 movs r2, #0 + 800d9a4: 4619 mov r1, r3 + 800d9a6: 6878 ldr r0, [r7, #4] + 800d9a8: f002 fb36 bl 8010018 + 800d9ac: 4603 mov r3, r0 + 800d9ae: 72fb strb r3, [r7, #11] if (result != ERR_OK) { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("dhcp_check: could not perform ARP query\n")); } if (dhcp->tries < 255) { - 800d02c: 68fb ldr r3, [r7, #12] - 800d02e: 799b ldrb r3, [r3, #6] - 800d030: 2bff cmp r3, #255 @ 0xff - 800d032: d005 beq.n 800d040 + 800d9b0: 68fb ldr r3, [r7, #12] + 800d9b2: 799b ldrb r3, [r3, #6] + 800d9b4: 2bff cmp r3, #255 @ 0xff + 800d9b6: d005 beq.n 800d9c4 dhcp->tries++; - 800d034: 68fb ldr r3, [r7, #12] - 800d036: 799b ldrb r3, [r3, #6] - 800d038: 3301 adds r3, #1 - 800d03a: b2da uxtb r2, r3 - 800d03c: 68fb ldr r3, [r7, #12] - 800d03e: 719a strb r2, [r3, #6] + 800d9b8: 68fb ldr r3, [r7, #12] + 800d9ba: 799b ldrb r3, [r3, #6] + 800d9bc: 3301 adds r3, #1 + 800d9be: b2da uxtb r2, r3 + 800d9c0: 68fb ldr r3, [r7, #12] + 800d9c2: 719a strb r2, [r3, #6] } msecs = 500; - 800d040: f44f 73fa mov.w r3, #500 @ 0x1f4 - 800d044: 813b strh r3, [r7, #8] + 800d9c4: f44f 73fa mov.w r3, #500 @ 0x1f4 + 800d9c8: 813b strh r3, [r7, #8] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 800d046: 893b ldrh r3, [r7, #8] - 800d048: f203 13f3 addw r3, r3, #499 @ 0x1f3 - 800d04c: 4a06 ldr r2, [pc, #24] @ (800d068 ) - 800d04e: fb82 1203 smull r1, r2, r2, r3 - 800d052: 1152 asrs r2, r2, #5 - 800d054: 17db asrs r3, r3, #31 - 800d056: 1ad3 subs r3, r2, r3 - 800d058: b29a uxth r2, r3 - 800d05a: 68fb ldr r3, [r7, #12] - 800d05c: 811a strh r2, [r3, #8] + 800d9ca: 893b ldrh r3, [r7, #8] + 800d9cc: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 800d9d0: 4a06 ldr r2, [pc, #24] @ (800d9ec ) + 800d9d2: fb82 1203 smull r1, r2, r2, r3 + 800d9d6: 1152 asrs r2, r2, #5 + 800d9d8: 17db asrs r3, r3, #31 + 800d9da: 1ad3 subs r3, r2, r3 + 800d9dc: b29a uxth r2, r3 + 800d9de: 68fb ldr r3, [r7, #12] + 800d9e0: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_check(): set request timeout %"U16_F" msecs\n", msecs)); } - 800d05e: bf00 nop - 800d060: 3710 adds r7, #16 - 800d062: 46bd mov sp, r7 - 800d064: bd80 pop {r7, pc} - 800d066: bf00 nop - 800d068: 10624dd3 .word 0x10624dd3 + 800d9e2: bf00 nop + 800d9e4: 3710 adds r7, #16 + 800d9e6: 46bd mov sp, r7 + 800d9e8: bd80 pop {r7, pc} + 800d9ea: bf00 nop + 800d9ec: 10624dd3 .word 0x10624dd3 -0800d06c : +0800d9f0 : * * @param netif the netif under DHCP control */ static void dhcp_handle_offer(struct netif *netif, struct dhcp_msg *msg_in) { - 800d06c: b580 push {r7, lr} - 800d06e: b084 sub sp, #16 - 800d070: af00 add r7, sp, #0 - 800d072: 6078 str r0, [r7, #4] - 800d074: 6039 str r1, [r7, #0] + 800d9f0: b580 push {r7, lr} + 800d9f2: b084 sub sp, #16 + 800d9f4: af00 add r7, sp, #0 + 800d9f6: 6078 str r0, [r7, #4] + 800d9f8: 6039 str r1, [r7, #0] struct dhcp *dhcp = netif_dhcp_data(netif); - 800d076: 687b ldr r3, [r7, #4] - 800d078: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d07a: 60fb str r3, [r7, #12] + 800d9fa: 687b ldr r3, [r7, #4] + 800d9fc: 6a5b ldr r3, [r3, #36] @ 0x24 + 800d9fe: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_handle_offer(netif=%p) %c%c%"U16_F"\n", (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); /* obtain the server address */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_SERVER_ID)) { - 800d07c: 4b0c ldr r3, [pc, #48] @ (800d0b0 ) - 800d07e: 789b ldrb r3, [r3, #2] - 800d080: 2b00 cmp r3, #0 - 800d082: d011 beq.n 800d0a8 + 800da00: 4b0c ldr r3, [pc, #48] @ (800da34 ) + 800da02: 789b ldrb r3, [r3, #2] + 800da04: 2b00 cmp r3, #0 + 800da06: d011 beq.n 800da2c dhcp->request_timeout = 0; /* stop timer */ - 800d084: 68fb ldr r3, [r7, #12] - 800d086: 2200 movs r2, #0 - 800d088: 811a strh r2, [r3, #8] + 800da08: 68fb ldr r3, [r7, #12] + 800da0a: 2200 movs r2, #0 + 800da0c: 811a strh r2, [r3, #8] ip_addr_set_ip4_u32(&dhcp->server_ip_addr, lwip_htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_SERVER_ID))); - 800d08a: 4b0a ldr r3, [pc, #40] @ (800d0b4 ) - 800d08c: 689b ldr r3, [r3, #8] - 800d08e: 4618 mov r0, r3 - 800d090: f7f8 f98f bl 80053b2 - 800d094: 4602 mov r2, r0 - 800d096: 68fb ldr r3, [r7, #12] - 800d098: 619a str r2, [r3, #24] + 800da0e: 4b0a ldr r3, [pc, #40] @ (800da38 ) + 800da10: 689b ldr r3, [r3, #8] + 800da12: 4618 mov r0, r3 + 800da14: f7f8 f98f bl 8005d36 + 800da18: 4602 mov r2, r0 + 800da1a: 68fb ldr r3, [r7, #12] + 800da1c: 619a str r2, [r3, #24] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_handle_offer(): server 0x%08"X32_F"\n", ip4_addr_get_u32(ip_2_ip4(&dhcp->server_ip_addr)))); /* remember offered address */ ip4_addr_copy(dhcp->offered_ip_addr, msg_in->yiaddr); - 800d09a: 683b ldr r3, [r7, #0] - 800d09c: 691a ldr r2, [r3, #16] - 800d09e: 68fb ldr r3, [r7, #12] - 800d0a0: 61da str r2, [r3, #28] + 800da1e: 683b ldr r3, [r7, #0] + 800da20: 691a ldr r2, [r3, #16] + 800da22: 68fb ldr r3, [r7, #12] + 800da24: 61da str r2, [r3, #28] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_handle_offer(): offer for 0x%08"X32_F"\n", ip4_addr_get_u32(&dhcp->offered_ip_addr))); dhcp_select(netif); - 800d0a2: 6878 ldr r0, [r7, #4] - 800d0a4: f000 f808 bl 800d0b8 + 800da26: 6878 ldr r0, [r7, #4] + 800da28: f000 f808 bl 800da3c } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_handle_offer(netif=%p) did not get server ID!\n", (void *)netif)); } } - 800d0a8: bf00 nop - 800d0aa: 3710 adds r7, #16 - 800d0ac: 46bd mov sp, r7 - 800d0ae: bd80 pop {r7, pc} - 800d0b0: 20019124 .word 0x20019124 - 800d0b4: 20019104 .word 0x20019104 + 800da2c: bf00 nop + 800da2e: 3710 adds r7, #16 + 800da30: 46bd mov sp, r7 + 800da32: bd80 pop {r7, pc} + 800da34: 20019158 .word 0x20019158 + 800da38: 20019138 .word 0x20019138 -0800d0b8 : +0800da3c : * @param netif the netif under DHCP control * @return lwIP specific error (see error.h) */ static err_t dhcp_select(struct netif *netif) { - 800d0b8: b5b0 push {r4, r5, r7, lr} - 800d0ba: b08a sub sp, #40 @ 0x28 - 800d0bc: af02 add r7, sp, #8 - 800d0be: 6078 str r0, [r7, #4] + 800da3c: b5b0 push {r4, r5, r7, lr} + 800da3e: b08a sub sp, #40 @ 0x28 + 800da40: af02 add r7, sp, #8 + 800da42: 6078 str r0, [r7, #4] u16_t msecs; u8_t i; struct pbuf *p_out; u16_t options_out_len; LWIP_ERROR("dhcp_select: netif != NULL", (netif != NULL), return ERR_ARG;); - 800d0c0: 687b ldr r3, [r7, #4] - 800d0c2: 2b00 cmp r3, #0 - 800d0c4: d109 bne.n 800d0da - 800d0c6: 4b71 ldr r3, [pc, #452] @ (800d28c ) - 800d0c8: f240 1277 movw r2, #375 @ 0x177 - 800d0cc: 4970 ldr r1, [pc, #448] @ (800d290 ) - 800d0ce: 4871 ldr r0, [pc, #452] @ (800d294 ) - 800d0d0: f004 fa92 bl 80115f8 - 800d0d4: f06f 030f mvn.w r3, #15 - 800d0d8: e0d3 b.n 800d282 + 800da44: 687b ldr r3, [r7, #4] + 800da46: 2b00 cmp r3, #0 + 800da48: d109 bne.n 800da5e + 800da4a: 4b71 ldr r3, [pc, #452] @ (800dc10 ) + 800da4c: f240 1277 movw r2, #375 @ 0x177 + 800da50: 4970 ldr r1, [pc, #448] @ (800dc14 ) + 800da52: 4871 ldr r0, [pc, #452] @ (800dc18 ) + 800da54: f004 fa92 bl 8011f7c + 800da58: f06f 030f mvn.w r3, #15 + 800da5c: e0d3 b.n 800dc06 dhcp = netif_dhcp_data(netif); - 800d0da: 687b ldr r3, [r7, #4] - 800d0dc: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d0de: 61bb str r3, [r7, #24] + 800da5e: 687b ldr r3, [r7, #4] + 800da60: 6a5b ldr r3, [r3, #36] @ 0x24 + 800da62: 61bb str r3, [r7, #24] LWIP_ERROR("dhcp_select: dhcp != NULL", (dhcp != NULL), return ERR_VAL;); - 800d0e0: 69bb ldr r3, [r7, #24] - 800d0e2: 2b00 cmp r3, #0 - 800d0e4: d109 bne.n 800d0fa - 800d0e6: 4b69 ldr r3, [pc, #420] @ (800d28c ) - 800d0e8: f240 1279 movw r2, #377 @ 0x179 - 800d0ec: 496a ldr r1, [pc, #424] @ (800d298 ) - 800d0ee: 4869 ldr r0, [pc, #420] @ (800d294 ) - 800d0f0: f004 fa82 bl 80115f8 - 800d0f4: f06f 0305 mvn.w r3, #5 - 800d0f8: e0c3 b.n 800d282 + 800da64: 69bb ldr r3, [r7, #24] + 800da66: 2b00 cmp r3, #0 + 800da68: d109 bne.n 800da7e + 800da6a: 4b69 ldr r3, [pc, #420] @ (800dc10 ) + 800da6c: f240 1279 movw r2, #377 @ 0x179 + 800da70: 496a ldr r1, [pc, #424] @ (800dc1c ) + 800da72: 4869 ldr r0, [pc, #420] @ (800dc18 ) + 800da74: f004 fa82 bl 8011f7c + 800da78: f06f 0305 mvn.w r3, #5 + 800da7c: e0c3 b.n 800dc06 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_select(netif=%p) %c%c%"U16_F"\n", (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); dhcp_set_state(dhcp, DHCP_STATE_REQUESTING); - 800d0fa: 2101 movs r1, #1 - 800d0fc: 69b8 ldr r0, [r7, #24] - 800d0fe: f000 ffc1 bl 800e084 + 800da7e: 2101 movs r1, #1 + 800da80: 69b8 ldr r0, [r7, #24] + 800da82: f000 ffc1 bl 800ea08 /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_REQUEST, &options_out_len); - 800d102: f107 030c add.w r3, r7, #12 - 800d106: 2203 movs r2, #3 - 800d108: 69b9 ldr r1, [r7, #24] - 800d10a: 6878 ldr r0, [r7, #4] - 800d10c: f001 fc46 bl 800e99c - 800d110: 6178 str r0, [r7, #20] + 800da86: f107 030c add.w r3, r7, #12 + 800da8a: 2203 movs r2, #3 + 800da8c: 69b9 ldr r1, [r7, #24] + 800da8e: 6878 ldr r0, [r7, #4] + 800da90: f001 fc46 bl 800f320 + 800da94: 6178 str r0, [r7, #20] if (p_out != NULL) { - 800d112: 697b ldr r3, [r7, #20] - 800d114: 2b00 cmp r3, #0 - 800d116: f000 8085 beq.w 800d224 + 800da96: 697b ldr r3, [r7, #20] + 800da98: 2b00 cmp r3, #0 + 800da9a: f000 8085 beq.w 800dba8 struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 800d11a: 697b ldr r3, [r7, #20] - 800d11c: 685b ldr r3, [r3, #4] - 800d11e: 613b str r3, [r7, #16] + 800da9e: 697b ldr r3, [r7, #20] + 800daa0: 685b ldr r3, [r3, #4] + 800daa2: 613b str r3, [r7, #16] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OPTION_MAX_MSG_SIZE_LEN); - 800d120: 89b8 ldrh r0, [r7, #12] - 800d122: 693b ldr r3, [r7, #16] - 800d124: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d128: 2302 movs r3, #2 - 800d12a: 2239 movs r2, #57 @ 0x39 - 800d12c: f000 ffc4 bl 800e0b8 - 800d130: 4603 mov r3, r0 - 800d132: 81bb strh r3, [r7, #12] + 800daa4: 89b8 ldrh r0, [r7, #12] + 800daa6: 693b ldr r3, [r7, #16] + 800daa8: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800daac: 2302 movs r3, #2 + 800daae: 2239 movs r2, #57 @ 0x39 + 800dab0: f000 ffc4 bl 800ea3c + 800dab4: 4603 mov r3, r0 + 800dab6: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_short(options_out_len, msg_out->options, DHCP_MAX_MSG_LEN(netif)); - 800d134: 89b8 ldrh r0, [r7, #12] - 800d136: 693b ldr r3, [r7, #16] - 800d138: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d13c: 687b ldr r3, [r7, #4] - 800d13e: 8d1b ldrh r3, [r3, #40] @ 0x28 - 800d140: 461a mov r2, r3 - 800d142: f001 f813 bl 800e16c - 800d146: 4603 mov r3, r0 - 800d148: 81bb strh r3, [r7, #12] + 800dab8: 89b8 ldrh r0, [r7, #12] + 800daba: 693b ldr r3, [r7, #16] + 800dabc: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800dac0: 687b ldr r3, [r7, #4] + 800dac2: 8d1b ldrh r3, [r3, #40] @ 0x28 + 800dac4: 461a mov r2, r3 + 800dac6: f001 f813 bl 800eaf0 + 800daca: 4603 mov r3, r0 + 800dacc: 81bb strh r3, [r7, #12] /* MUST request the offered IP address */ options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_REQUESTED_IP, 4); - 800d14a: 89b8 ldrh r0, [r7, #12] - 800d14c: 693b ldr r3, [r7, #16] - 800d14e: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d152: 2304 movs r3, #4 - 800d154: 2232 movs r2, #50 @ 0x32 - 800d156: f000 ffaf bl 800e0b8 - 800d15a: 4603 mov r3, r0 - 800d15c: 81bb strh r3, [r7, #12] + 800dace: 89b8 ldrh r0, [r7, #12] + 800dad0: 693b ldr r3, [r7, #16] + 800dad2: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800dad6: 2304 movs r3, #4 + 800dad8: 2232 movs r2, #50 @ 0x32 + 800dada: f000 ffaf bl 800ea3c + 800dade: 4603 mov r3, r0 + 800dae0: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr))); - 800d15e: 89bc ldrh r4, [r7, #12] - 800d160: 693b ldr r3, [r7, #16] - 800d162: f103 05f0 add.w r5, r3, #240 @ 0xf0 - 800d166: 69bb ldr r3, [r7, #24] - 800d168: 69db ldr r3, [r3, #28] - 800d16a: 4618 mov r0, r3 - 800d16c: f7f8 f921 bl 80053b2 - 800d170: 4603 mov r3, r0 - 800d172: 461a mov r2, r3 - 800d174: 4629 mov r1, r5 - 800d176: 4620 mov r0, r4 - 800d178: f001 f82a bl 800e1d0 - 800d17c: 4603 mov r3, r0 - 800d17e: 81bb strh r3, [r7, #12] + 800dae2: 89bc ldrh r4, [r7, #12] + 800dae4: 693b ldr r3, [r7, #16] + 800dae6: f103 05f0 add.w r5, r3, #240 @ 0xf0 + 800daea: 69bb ldr r3, [r7, #24] + 800daec: 69db ldr r3, [r3, #28] + 800daee: 4618 mov r0, r3 + 800daf0: f7f8 f921 bl 8005d36 + 800daf4: 4603 mov r3, r0 + 800daf6: 461a mov r2, r3 + 800daf8: 4629 mov r1, r5 + 800dafa: 4620 mov r0, r4 + 800dafc: f001 f82a bl 800eb54 + 800db00: 4603 mov r3, r0 + 800db02: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_SERVER_ID, 4); - 800d180: 89b8 ldrh r0, [r7, #12] - 800d182: 693b ldr r3, [r7, #16] - 800d184: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d188: 2304 movs r3, #4 - 800d18a: 2236 movs r2, #54 @ 0x36 - 800d18c: f000 ff94 bl 800e0b8 - 800d190: 4603 mov r3, r0 - 800d192: 81bb strh r3, [r7, #12] + 800db04: 89b8 ldrh r0, [r7, #12] + 800db06: 693b ldr r3, [r7, #16] + 800db08: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800db0c: 2304 movs r3, #4 + 800db0e: 2236 movs r2, #54 @ 0x36 + 800db10: f000 ff94 bl 800ea3c + 800db14: 4603 mov r3, r0 + 800db16: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&dhcp->server_ip_addr)))); - 800d194: 89bc ldrh r4, [r7, #12] - 800d196: 693b ldr r3, [r7, #16] - 800d198: f103 05f0 add.w r5, r3, #240 @ 0xf0 - 800d19c: 69bb ldr r3, [r7, #24] - 800d19e: 699b ldr r3, [r3, #24] - 800d1a0: 4618 mov r0, r3 - 800d1a2: f7f8 f906 bl 80053b2 - 800d1a6: 4603 mov r3, r0 - 800d1a8: 461a mov r2, r3 - 800d1aa: 4629 mov r1, r5 - 800d1ac: 4620 mov r0, r4 - 800d1ae: f001 f80f bl 800e1d0 - 800d1b2: 4603 mov r3, r0 - 800d1b4: 81bb strh r3, [r7, #12] + 800db18: 89bc ldrh r4, [r7, #12] + 800db1a: 693b ldr r3, [r7, #16] + 800db1c: f103 05f0 add.w r5, r3, #240 @ 0xf0 + 800db20: 69bb ldr r3, [r7, #24] + 800db22: 699b ldr r3, [r3, #24] + 800db24: 4618 mov r0, r3 + 800db26: f7f8 f906 bl 8005d36 + 800db2a: 4603 mov r3, r0 + 800db2c: 461a mov r2, r3 + 800db2e: 4629 mov r1, r5 + 800db30: 4620 mov r0, r4 + 800db32: f001 f80f bl 800eb54 + 800db36: 4603 mov r3, r0 + 800db38: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_request_options)); - 800d1b6: 89b8 ldrh r0, [r7, #12] - 800d1b8: 693b ldr r3, [r7, #16] - 800d1ba: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d1be: 2303 movs r3, #3 - 800d1c0: 2237 movs r2, #55 @ 0x37 - 800d1c2: f000 ff79 bl 800e0b8 - 800d1c6: 4603 mov r3, r0 - 800d1c8: 81bb strh r3, [r7, #12] + 800db3a: 89b8 ldrh r0, [r7, #12] + 800db3c: 693b ldr r3, [r7, #16] + 800db3e: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800db42: 2303 movs r3, #3 + 800db44: 2237 movs r2, #55 @ 0x37 + 800db46: f000 ff79 bl 800ea3c + 800db4a: 4603 mov r3, r0 + 800db4c: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 800d1ca: 2300 movs r3, #0 - 800d1cc: 77bb strb r3, [r7, #30] - 800d1ce: e00e b.n 800d1ee + 800db4e: 2300 movs r3, #0 + 800db50: 77bb strb r3, [r7, #30] + 800db52: e00e b.n 800db72 options_out_len = dhcp_option_byte(options_out_len, msg_out->options, dhcp_discover_request_options[i]); - 800d1d0: 89b8 ldrh r0, [r7, #12] - 800d1d2: 693b ldr r3, [r7, #16] - 800d1d4: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d1d8: 7fbb ldrb r3, [r7, #30] - 800d1da: 4a30 ldr r2, [pc, #192] @ (800d29c ) - 800d1dc: 5cd3 ldrb r3, [r2, r3] - 800d1de: 461a mov r2, r3 - 800d1e0: f000 ff9e bl 800e120 - 800d1e4: 4603 mov r3, r0 - 800d1e6: 81bb strh r3, [r7, #12] + 800db54: 89b8 ldrh r0, [r7, #12] + 800db56: 693b ldr r3, [r7, #16] + 800db58: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800db5c: 7fbb ldrb r3, [r7, #30] + 800db5e: 4a30 ldr r2, [pc, #192] @ (800dc20 ) + 800db60: 5cd3 ldrb r3, [r2, r3] + 800db62: 461a mov r2, r3 + 800db64: f000 ff9e bl 800eaa4 + 800db68: 4603 mov r3, r0 + 800db6a: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 800d1e8: 7fbb ldrb r3, [r7, #30] - 800d1ea: 3301 adds r3, #1 - 800d1ec: 77bb strb r3, [r7, #30] - 800d1ee: 7fbb ldrb r3, [r7, #30] - 800d1f0: 2b02 cmp r3, #2 - 800d1f2: d9ed bls.n 800d1d0 + 800db6c: 7fbb ldrb r3, [r7, #30] + 800db6e: 3301 adds r3, #1 + 800db70: 77bb strb r3, [r7, #30] + 800db72: 7fbb ldrb r3, [r7, #30] + 800db74: 2b02 cmp r3, #2 + 800db76: d9ed bls.n 800db54 #if LWIP_NETIF_HOSTNAME options_out_len = dhcp_option_hostname(options_out_len, msg_out->options, netif); #endif /* LWIP_NETIF_HOSTNAME */ LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_REQUESTING, msg_out, DHCP_REQUEST, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 800d1f4: 89b8 ldrh r0, [r7, #12] - 800d1f6: 693b ldr r3, [r7, #16] - 800d1f8: 33f0 adds r3, #240 @ 0xf0 - 800d1fa: 697a ldr r2, [r7, #20] - 800d1fc: 4619 mov r1, r3 - 800d1fe: f001 fca3 bl 800eb48 + 800db78: 89b8 ldrh r0, [r7, #12] + 800db7a: 693b ldr r3, [r7, #16] + 800db7c: 33f0 adds r3, #240 @ 0xf0 + 800db7e: 697a ldr r2, [r7, #20] + 800db80: 4619 mov r1, r3 + 800db82: f001 fca3 bl 800f4cc /* send broadcast to any DHCP server */ result = udp_sendto_if_src(dhcp_pcb, p_out, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER, netif, IP4_ADDR_ANY); - 800d202: 4b27 ldr r3, [pc, #156] @ (800d2a0 ) - 800d204: 6818 ldr r0, [r3, #0] - 800d206: 4b27 ldr r3, [pc, #156] @ (800d2a4 ) - 800d208: 9301 str r3, [sp, #4] - 800d20a: 687b ldr r3, [r7, #4] - 800d20c: 9300 str r3, [sp, #0] - 800d20e: 2343 movs r3, #67 @ 0x43 - 800d210: 4a25 ldr r2, [pc, #148] @ (800d2a8 ) - 800d212: 6979 ldr r1, [r7, #20] - 800d214: f7ff fbda bl 800c9cc - 800d218: 4603 mov r3, r0 - 800d21a: 77fb strb r3, [r7, #31] + 800db86: 4b27 ldr r3, [pc, #156] @ (800dc24 ) + 800db88: 6818 ldr r0, [r3, #0] + 800db8a: 4b27 ldr r3, [pc, #156] @ (800dc28 ) + 800db8c: 9301 str r3, [sp, #4] + 800db8e: 687b ldr r3, [r7, #4] + 800db90: 9300 str r3, [sp, #0] + 800db92: 2343 movs r3, #67 @ 0x43 + 800db94: 4a25 ldr r2, [pc, #148] @ (800dc2c ) + 800db96: 6979 ldr r1, [r7, #20] + 800db98: f7ff fbda bl 800d350 + 800db9c: 4603 mov r3, r0 + 800db9e: 77fb strb r3, [r7, #31] pbuf_free(p_out); - 800d21c: 6978 ldr r0, [r7, #20] - 800d21e: f7f9 fc03 bl 8006a28 - 800d222: e001 b.n 800d228 + 800dba0: 6978 ldr r0, [r7, #20] + 800dba2: f7f9 fc03 bl 80073ac + 800dba6: e001 b.n 800dbac LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_select: REQUESTING\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("dhcp_select: could not allocate DHCP request\n")); result = ERR_MEM; - 800d224: 23ff movs r3, #255 @ 0xff - 800d226: 77fb strb r3, [r7, #31] + 800dba8: 23ff movs r3, #255 @ 0xff + 800dbaa: 77fb strb r3, [r7, #31] } if (dhcp->tries < 255) { - 800d228: 69bb ldr r3, [r7, #24] - 800d22a: 799b ldrb r3, [r3, #6] - 800d22c: 2bff cmp r3, #255 @ 0xff - 800d22e: d005 beq.n 800d23c + 800dbac: 69bb ldr r3, [r7, #24] + 800dbae: 799b ldrb r3, [r3, #6] + 800dbb0: 2bff cmp r3, #255 @ 0xff + 800dbb2: d005 beq.n 800dbc0 dhcp->tries++; - 800d230: 69bb ldr r3, [r7, #24] - 800d232: 799b ldrb r3, [r3, #6] - 800d234: 3301 adds r3, #1 - 800d236: b2da uxtb r2, r3 - 800d238: 69bb ldr r3, [r7, #24] - 800d23a: 719a strb r2, [r3, #6] + 800dbb4: 69bb ldr r3, [r7, #24] + 800dbb6: 799b ldrb r3, [r3, #6] + 800dbb8: 3301 adds r3, #1 + 800dbba: b2da uxtb r2, r3 + 800dbbc: 69bb ldr r3, [r7, #24] + 800dbbe: 719a strb r2, [r3, #6] } msecs = (u16_t)((dhcp->tries < 6 ? 1 << dhcp->tries : 60) * 1000); - 800d23c: 69bb ldr r3, [r7, #24] - 800d23e: 799b ldrb r3, [r3, #6] - 800d240: 2b05 cmp r3, #5 - 800d242: d80d bhi.n 800d260 - 800d244: 69bb ldr r3, [r7, #24] - 800d246: 799b ldrb r3, [r3, #6] - 800d248: 461a mov r2, r3 - 800d24a: 2301 movs r3, #1 - 800d24c: 4093 lsls r3, r2 - 800d24e: b29b uxth r3, r3 - 800d250: 461a mov r2, r3 - 800d252: 0152 lsls r2, r2, #5 - 800d254: 1ad2 subs r2, r2, r3 - 800d256: 0092 lsls r2, r2, #2 - 800d258: 4413 add r3, r2 - 800d25a: 00db lsls r3, r3, #3 - 800d25c: b29b uxth r3, r3 - 800d25e: e001 b.n 800d264 - 800d260: f64e 2360 movw r3, #60000 @ 0xea60 - 800d264: 81fb strh r3, [r7, #14] + 800dbc0: 69bb ldr r3, [r7, #24] + 800dbc2: 799b ldrb r3, [r3, #6] + 800dbc4: 2b05 cmp r3, #5 + 800dbc6: d80d bhi.n 800dbe4 + 800dbc8: 69bb ldr r3, [r7, #24] + 800dbca: 799b ldrb r3, [r3, #6] + 800dbcc: 461a mov r2, r3 + 800dbce: 2301 movs r3, #1 + 800dbd0: 4093 lsls r3, r2 + 800dbd2: b29b uxth r3, r3 + 800dbd4: 461a mov r2, r3 + 800dbd6: 0152 lsls r2, r2, #5 + 800dbd8: 1ad2 subs r2, r2, r3 + 800dbda: 0092 lsls r2, r2, #2 + 800dbdc: 4413 add r3, r2 + 800dbde: 00db lsls r3, r3, #3 + 800dbe0: b29b uxth r3, r3 + 800dbe2: e001 b.n 800dbe8 + 800dbe4: f64e 2360 movw r3, #60000 @ 0xea60 + 800dbe8: 81fb strh r3, [r7, #14] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 800d266: 89fb ldrh r3, [r7, #14] - 800d268: f203 13f3 addw r3, r3, #499 @ 0x1f3 - 800d26c: 4a0f ldr r2, [pc, #60] @ (800d2ac ) - 800d26e: fb82 1203 smull r1, r2, r2, r3 - 800d272: 1152 asrs r2, r2, #5 - 800d274: 17db asrs r3, r3, #31 - 800d276: 1ad3 subs r3, r2, r3 - 800d278: b29a uxth r2, r3 - 800d27a: 69bb ldr r3, [r7, #24] - 800d27c: 811a strh r2, [r3, #8] + 800dbea: 89fb ldrh r3, [r7, #14] + 800dbec: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 800dbf0: 4a0f ldr r2, [pc, #60] @ (800dc30 ) + 800dbf2: fb82 1203 smull r1, r2, r2, r3 + 800dbf6: 1152 asrs r2, r2, #5 + 800dbf8: 17db asrs r3, r3, #31 + 800dbfa: 1ad3 subs r3, r2, r3 + 800dbfc: b29a uxth r2, r3 + 800dbfe: 69bb ldr r3, [r7, #24] + 800dc00: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_select(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 800d27e: f997 301f ldrsb.w r3, [r7, #31] + 800dc02: f997 301f ldrsb.w r3, [r7, #31] } - 800d282: 4618 mov r0, r3 - 800d284: 3720 adds r7, #32 - 800d286: 46bd mov sp, r7 - 800d288: bdb0 pop {r4, r5, r7, pc} - 800d28a: bf00 nop - 800d28c: 08018304 .word 0x08018304 - 800d290: 080183b0 .word 0x080183b0 - 800d294: 08018364 .word 0x08018364 - 800d298: 080183cc .word 0x080183cc - 800d29c: 2000002c .word 0x2000002c - 800d2a0: 2001912c .word 0x2001912c - 800d2a4: 08018ed4 .word 0x08018ed4 - 800d2a8: 08018ed8 .word 0x08018ed8 - 800d2ac: 10624dd3 .word 0x10624dd3 + 800dc06: 4618 mov r0, r3 + 800dc08: 3720 adds r7, #32 + 800dc0a: 46bd mov sp, r7 + 800dc0c: bdb0 pop {r4, r5, r7, pc} + 800dc0e: bf00 nop + 800dc10: 08018c84 .word 0x08018c84 + 800dc14: 08018d30 .word 0x08018d30 + 800dc18: 08018ce4 .word 0x08018ce4 + 800dc1c: 08018d4c .word 0x08018d4c + 800dc20: 2000002c .word 0x2000002c + 800dc24: 20019160 .word 0x20019160 + 800dc28: 08019854 .word 0x08019854 + 800dc2c: 08019858 .word 0x08019858 + 800dc30: 10624dd3 .word 0x10624dd3 -0800d2b0 : +0800dc34 : * The DHCP timer that checks for lease renewal/rebind timeouts. * Must be called once a minute (see @ref DHCP_COARSE_TIMER_SECS). */ void dhcp_coarse_tmr(void) { - 800d2b0: b580 push {r7, lr} - 800d2b2: b082 sub sp, #8 - 800d2b4: af00 add r7, sp, #0 + 800dc34: b580 push {r7, lr} + 800dc36: b082 sub sp, #8 + 800dc38: af00 add r7, sp, #0 struct netif *netif; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_coarse_tmr()\n")); /* iterate through all network interfaces */ NETIF_FOREACH(netif) { - 800d2b6: 4b27 ldr r3, [pc, #156] @ (800d354 ) - 800d2b8: 681b ldr r3, [r3, #0] - 800d2ba: 607b str r3, [r7, #4] - 800d2bc: e042 b.n 800d344 + 800dc3a: 4b27 ldr r3, [pc, #156] @ (800dcd8 ) + 800dc3c: 681b ldr r3, [r3, #0] + 800dc3e: 607b str r3, [r7, #4] + 800dc40: e042 b.n 800dcc8 /* only act on DHCP configured interfaces */ struct dhcp *dhcp = netif_dhcp_data(netif); - 800d2be: 687b ldr r3, [r7, #4] - 800d2c0: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d2c2: 603b str r3, [r7, #0] + 800dc42: 687b ldr r3, [r7, #4] + 800dc44: 6a5b ldr r3, [r3, #36] @ 0x24 + 800dc46: 603b str r3, [r7, #0] if ((dhcp != NULL) && (dhcp->state != DHCP_STATE_OFF)) { - 800d2c4: 683b ldr r3, [r7, #0] - 800d2c6: 2b00 cmp r3, #0 - 800d2c8: d039 beq.n 800d33e - 800d2ca: 683b ldr r3, [r7, #0] - 800d2cc: 795b ldrb r3, [r3, #5] - 800d2ce: 2b00 cmp r3, #0 - 800d2d0: d035 beq.n 800d33e + 800dc48: 683b ldr r3, [r7, #0] + 800dc4a: 2b00 cmp r3, #0 + 800dc4c: d039 beq.n 800dcc2 + 800dc4e: 683b ldr r3, [r7, #0] + 800dc50: 795b ldrb r3, [r3, #5] + 800dc52: 2b00 cmp r3, #0 + 800dc54: d035 beq.n 800dcc2 /* compare lease time to expire timeout */ if (dhcp->t0_timeout && (++dhcp->lease_used == dhcp->t0_timeout)) { - 800d2d2: 683b ldr r3, [r7, #0] - 800d2d4: 8a9b ldrh r3, [r3, #20] - 800d2d6: 2b00 cmp r3, #0 - 800d2d8: d012 beq.n 800d300 - 800d2da: 683b ldr r3, [r7, #0] - 800d2dc: 8a5b ldrh r3, [r3, #18] - 800d2de: 3301 adds r3, #1 - 800d2e0: b29a uxth r2, r3 - 800d2e2: 683b ldr r3, [r7, #0] - 800d2e4: 825a strh r2, [r3, #18] - 800d2e6: 683b ldr r3, [r7, #0] - 800d2e8: 8a5a ldrh r2, [r3, #18] - 800d2ea: 683b ldr r3, [r7, #0] - 800d2ec: 8a9b ldrh r3, [r3, #20] - 800d2ee: 429a cmp r2, r3 - 800d2f0: d106 bne.n 800d300 + 800dc56: 683b ldr r3, [r7, #0] + 800dc58: 8a9b ldrh r3, [r3, #20] + 800dc5a: 2b00 cmp r3, #0 + 800dc5c: d012 beq.n 800dc84 + 800dc5e: 683b ldr r3, [r7, #0] + 800dc60: 8a5b ldrh r3, [r3, #18] + 800dc62: 3301 adds r3, #1 + 800dc64: b29a uxth r2, r3 + 800dc66: 683b ldr r3, [r7, #0] + 800dc68: 825a strh r2, [r3, #18] + 800dc6a: 683b ldr r3, [r7, #0] + 800dc6c: 8a5a ldrh r2, [r3, #18] + 800dc6e: 683b ldr r3, [r7, #0] + 800dc70: 8a9b ldrh r3, [r3, #20] + 800dc72: 429a cmp r2, r3 + 800dc74: d106 bne.n 800dc84 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_coarse_tmr(): t0 timeout\n")); /* this clients' lease time has expired */ dhcp_release_and_stop(netif); - 800d2f2: 6878 ldr r0, [r7, #4] - 800d2f4: f000 fe2c bl 800df50 + 800dc76: 6878 ldr r0, [r7, #4] + 800dc78: f000 fe2c bl 800e8d4 dhcp_start(netif); - 800d2f8: 6878 ldr r0, [r7, #4] - 800d2fa: f000 f969 bl 800d5d0 - 800d2fe: e01e b.n 800d33e + 800dc7c: 6878 ldr r0, [r7, #4] + 800dc7e: f000 f969 bl 800df54 + 800dc82: e01e b.n 800dcc2 /* timer is active (non zero), and triggers (zeroes) now? */ } else if (dhcp->t2_rebind_time && (dhcp->t2_rebind_time-- == 1)) { - 800d300: 683b ldr r3, [r7, #0] - 800d302: 8a1b ldrh r3, [r3, #16] - 800d304: 2b00 cmp r3, #0 - 800d306: d00b beq.n 800d320 - 800d308: 683b ldr r3, [r7, #0] - 800d30a: 8a1b ldrh r3, [r3, #16] - 800d30c: 1e5a subs r2, r3, #1 - 800d30e: b291 uxth r1, r2 - 800d310: 683a ldr r2, [r7, #0] - 800d312: 8211 strh r1, [r2, #16] - 800d314: 2b01 cmp r3, #1 - 800d316: d103 bne.n 800d320 + 800dc84: 683b ldr r3, [r7, #0] + 800dc86: 8a1b ldrh r3, [r3, #16] + 800dc88: 2b00 cmp r3, #0 + 800dc8a: d00b beq.n 800dca4 + 800dc8c: 683b ldr r3, [r7, #0] + 800dc8e: 8a1b ldrh r3, [r3, #16] + 800dc90: 1e5a subs r2, r3, #1 + 800dc92: b291 uxth r1, r2 + 800dc94: 683a ldr r2, [r7, #0] + 800dc96: 8211 strh r1, [r2, #16] + 800dc98: 2b01 cmp r3, #1 + 800dc9a: d103 bne.n 800dca4 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_coarse_tmr(): t2 timeout\n")); /* this clients' rebind timeout triggered */ dhcp_t2_timeout(netif); - 800d318: 6878 ldr r0, [r7, #4] - 800d31a: f000 f8c6 bl 800d4aa - 800d31e: e00e b.n 800d33e + 800dc9c: 6878 ldr r0, [r7, #4] + 800dc9e: f000 f8c6 bl 800de2e + 800dca2: e00e b.n 800dcc2 /* timer is active (non zero), and triggers (zeroes) now */ } else if (dhcp->t1_renew_time && (dhcp->t1_renew_time-- == 1)) { - 800d320: 683b ldr r3, [r7, #0] - 800d322: 89db ldrh r3, [r3, #14] - 800d324: 2b00 cmp r3, #0 - 800d326: d00a beq.n 800d33e - 800d328: 683b ldr r3, [r7, #0] - 800d32a: 89db ldrh r3, [r3, #14] - 800d32c: 1e5a subs r2, r3, #1 - 800d32e: b291 uxth r1, r2 - 800d330: 683a ldr r2, [r7, #0] - 800d332: 81d1 strh r1, [r2, #14] - 800d334: 2b01 cmp r3, #1 - 800d336: d102 bne.n 800d33e + 800dca4: 683b ldr r3, [r7, #0] + 800dca6: 89db ldrh r3, [r3, #14] + 800dca8: 2b00 cmp r3, #0 + 800dcaa: d00a beq.n 800dcc2 + 800dcac: 683b ldr r3, [r7, #0] + 800dcae: 89db ldrh r3, [r3, #14] + 800dcb0: 1e5a subs r2, r3, #1 + 800dcb2: b291 uxth r1, r2 + 800dcb4: 683a ldr r2, [r7, #0] + 800dcb6: 81d1 strh r1, [r2, #14] + 800dcb8: 2b01 cmp r3, #1 + 800dcba: d102 bne.n 800dcc2 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_coarse_tmr(): t1 timeout\n")); /* this clients' renewal timeout triggered */ dhcp_t1_timeout(netif); - 800d338: 6878 ldr r0, [r7, #4] - 800d33a: f000 f888 bl 800d44e + 800dcbc: 6878 ldr r0, [r7, #4] + 800dcbe: f000 f888 bl 800ddd2 NETIF_FOREACH(netif) { - 800d33e: 687b ldr r3, [r7, #4] - 800d340: 681b ldr r3, [r3, #0] - 800d342: 607b str r3, [r7, #4] - 800d344: 687b ldr r3, [r7, #4] - 800d346: 2b00 cmp r3, #0 - 800d348: d1b9 bne.n 800d2be + 800dcc2: 687b ldr r3, [r7, #4] + 800dcc4: 681b ldr r3, [r3, #0] + 800dcc6: 607b str r3, [r7, #4] + 800dcc8: 687b ldr r3, [r7, #4] + 800dcca: 2b00 cmp r3, #0 + 800dccc: d1b9 bne.n 800dc42 } } } } - 800d34a: bf00 nop - 800d34c: bf00 nop - 800d34e: 3708 adds r7, #8 - 800d350: 46bd mov sp, r7 - 800d352: bd80 pop {r7, pc} - 800d354: 20019098 .word 0x20019098 + 800dcce: bf00 nop + 800dcd0: bf00 nop + 800dcd2: 3708 adds r7, #8 + 800dcd4: 46bd mov sp, r7 + 800dcd6: bd80 pop {r7, pc} + 800dcd8: 200190cc .word 0x200190cc -0800d358 : +0800dcdc : * A DHCP server is expected to respond within a short period of time. * This timer checks whether an outstanding DHCP request is timed out. */ void dhcp_fine_tmr(void) { - 800d358: b580 push {r7, lr} - 800d35a: b082 sub sp, #8 - 800d35c: af00 add r7, sp, #0 + 800dcdc: b580 push {r7, lr} + 800dcde: b082 sub sp, #8 + 800dce0: af00 add r7, sp, #0 struct netif *netif; /* loop through netif's */ NETIF_FOREACH(netif) { - 800d35e: 4b16 ldr r3, [pc, #88] @ (800d3b8 ) - 800d360: 681b ldr r3, [r3, #0] - 800d362: 607b str r3, [r7, #4] - 800d364: e020 b.n 800d3a8 + 800dce2: 4b16 ldr r3, [pc, #88] @ (800dd3c ) + 800dce4: 681b ldr r3, [r3, #0] + 800dce6: 607b str r3, [r7, #4] + 800dce8: e020 b.n 800dd2c struct dhcp *dhcp = netif_dhcp_data(netif); - 800d366: 687b ldr r3, [r7, #4] - 800d368: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d36a: 603b str r3, [r7, #0] + 800dcea: 687b ldr r3, [r7, #4] + 800dcec: 6a5b ldr r3, [r3, #36] @ 0x24 + 800dcee: 603b str r3, [r7, #0] /* only act on DHCP configured interfaces */ if (dhcp != NULL) { - 800d36c: 683b ldr r3, [r7, #0] - 800d36e: 2b00 cmp r3, #0 - 800d370: d017 beq.n 800d3a2 + 800dcf0: 683b ldr r3, [r7, #0] + 800dcf2: 2b00 cmp r3, #0 + 800dcf4: d017 beq.n 800dd26 /* timer is active (non zero), and is about to trigger now */ if (dhcp->request_timeout > 1) { - 800d372: 683b ldr r3, [r7, #0] - 800d374: 891b ldrh r3, [r3, #8] - 800d376: 2b01 cmp r3, #1 - 800d378: d906 bls.n 800d388 + 800dcf6: 683b ldr r3, [r7, #0] + 800dcf8: 891b ldrh r3, [r3, #8] + 800dcfa: 2b01 cmp r3, #1 + 800dcfc: d906 bls.n 800dd0c dhcp->request_timeout--; - 800d37a: 683b ldr r3, [r7, #0] - 800d37c: 891b ldrh r3, [r3, #8] - 800d37e: 3b01 subs r3, #1 - 800d380: b29a uxth r2, r3 - 800d382: 683b ldr r3, [r7, #0] - 800d384: 811a strh r2, [r3, #8] - 800d386: e00c b.n 800d3a2 + 800dcfe: 683b ldr r3, [r7, #0] + 800dd00: 891b ldrh r3, [r3, #8] + 800dd02: 3b01 subs r3, #1 + 800dd04: b29a uxth r2, r3 + 800dd06: 683b ldr r3, [r7, #0] + 800dd08: 811a strh r2, [r3, #8] + 800dd0a: e00c b.n 800dd26 } else if (dhcp->request_timeout == 1) { - 800d388: 683b ldr r3, [r7, #0] - 800d38a: 891b ldrh r3, [r3, #8] - 800d38c: 2b01 cmp r3, #1 - 800d38e: d108 bne.n 800d3a2 + 800dd0c: 683b ldr r3, [r7, #0] + 800dd0e: 891b ldrh r3, [r3, #8] + 800dd10: 2b01 cmp r3, #1 + 800dd12: d108 bne.n 800dd26 dhcp->request_timeout--; - 800d390: 683b ldr r3, [r7, #0] - 800d392: 891b ldrh r3, [r3, #8] - 800d394: 3b01 subs r3, #1 - 800d396: b29a uxth r2, r3 - 800d398: 683b ldr r3, [r7, #0] - 800d39a: 811a strh r2, [r3, #8] + 800dd14: 683b ldr r3, [r7, #0] + 800dd16: 891b ldrh r3, [r3, #8] + 800dd18: 3b01 subs r3, #1 + 800dd1a: b29a uxth r2, r3 + 800dd1c: 683b ldr r3, [r7, #0] + 800dd1e: 811a strh r2, [r3, #8] /* { dhcp->request_timeout == 0 } */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_fine_tmr(): request timeout\n")); /* this client's request timeout triggered */ dhcp_timeout(netif); - 800d39c: 6878 ldr r0, [r7, #4] - 800d39e: f000 f80d bl 800d3bc + 800dd20: 6878 ldr r0, [r7, #4] + 800dd22: f000 f80d bl 800dd40 NETIF_FOREACH(netif) { - 800d3a2: 687b ldr r3, [r7, #4] - 800d3a4: 681b ldr r3, [r3, #0] - 800d3a6: 607b str r3, [r7, #4] - 800d3a8: 687b ldr r3, [r7, #4] - 800d3aa: 2b00 cmp r3, #0 - 800d3ac: d1db bne.n 800d366 + 800dd26: 687b ldr r3, [r7, #4] + 800dd28: 681b ldr r3, [r3, #0] + 800dd2a: 607b str r3, [r7, #4] + 800dd2c: 687b ldr r3, [r7, #4] + 800dd2e: 2b00 cmp r3, #0 + 800dd30: d1db bne.n 800dcea } } } } - 800d3ae: bf00 nop - 800d3b0: bf00 nop - 800d3b2: 3708 adds r7, #8 - 800d3b4: 46bd mov sp, r7 - 800d3b6: bd80 pop {r7, pc} - 800d3b8: 20019098 .word 0x20019098 + 800dd32: bf00 nop + 800dd34: bf00 nop + 800dd36: 3708 adds r7, #8 + 800dd38: 46bd mov sp, r7 + 800dd3a: bd80 pop {r7, pc} + 800dd3c: 200190cc .word 0x200190cc -0800d3bc : +0800dd40 : * * @param netif the netif under DHCP control */ static void dhcp_timeout(struct netif *netif) { - 800d3bc: b580 push {r7, lr} - 800d3be: b084 sub sp, #16 - 800d3c0: af00 add r7, sp, #0 - 800d3c2: 6078 str r0, [r7, #4] + 800dd40: b580 push {r7, lr} + 800dd42: b084 sub sp, #16 + 800dd44: af00 add r7, sp, #0 + 800dd46: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800d3c4: 687b ldr r3, [r7, #4] - 800d3c6: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d3c8: 60fb str r3, [r7, #12] + 800dd48: 687b ldr r3, [r7, #4] + 800dd4a: 6a5b ldr r3, [r3, #36] @ 0x24 + 800dd4c: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_timeout()\n")); /* back-off period has passed, or server selection timed out */ if ((dhcp->state == DHCP_STATE_BACKING_OFF) || (dhcp->state == DHCP_STATE_SELECTING)) { - 800d3ca: 68fb ldr r3, [r7, #12] - 800d3cc: 795b ldrb r3, [r3, #5] - 800d3ce: 2b0c cmp r3, #12 - 800d3d0: d003 beq.n 800d3da - 800d3d2: 68fb ldr r3, [r7, #12] - 800d3d4: 795b ldrb r3, [r3, #5] - 800d3d6: 2b06 cmp r3, #6 - 800d3d8: d103 bne.n 800d3e2 + 800dd4e: 68fb ldr r3, [r7, #12] + 800dd50: 795b ldrb r3, [r3, #5] + 800dd52: 2b0c cmp r3, #12 + 800dd54: d003 beq.n 800dd5e + 800dd56: 68fb ldr r3, [r7, #12] + 800dd58: 795b ldrb r3, [r3, #5] + 800dd5a: 2b06 cmp r3, #6 + 800dd5c: d103 bne.n 800dd66 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_timeout(): restarting discovery\n")); dhcp_discover(netif); - 800d3da: 6878 ldr r0, [r7, #4] - 800d3dc: f000 fa54 bl 800d888 + 800dd5e: 6878 ldr r0, [r7, #4] + 800dd60: f000 fa54 bl 800e20c dhcp_reboot(netif); } else { dhcp_discover(netif); } } } - 800d3e0: e031 b.n 800d446 + 800dd64: e031 b.n 800ddca } else if (dhcp->state == DHCP_STATE_REQUESTING) { - 800d3e2: 68fb ldr r3, [r7, #12] - 800d3e4: 795b ldrb r3, [r3, #5] - 800d3e6: 2b01 cmp r3, #1 - 800d3e8: d10e bne.n 800d408 + 800dd66: 68fb ldr r3, [r7, #12] + 800dd68: 795b ldrb r3, [r3, #5] + 800dd6a: 2b01 cmp r3, #1 + 800dd6c: d10e bne.n 800dd8c if (dhcp->tries <= 5) { - 800d3ea: 68fb ldr r3, [r7, #12] - 800d3ec: 799b ldrb r3, [r3, #6] - 800d3ee: 2b05 cmp r3, #5 - 800d3f0: d803 bhi.n 800d3fa + 800dd6e: 68fb ldr r3, [r7, #12] + 800dd70: 799b ldrb r3, [r3, #6] + 800dd72: 2b05 cmp r3, #5 + 800dd74: d803 bhi.n 800dd7e dhcp_select(netif); - 800d3f2: 6878 ldr r0, [r7, #4] - 800d3f4: f7ff fe60 bl 800d0b8 + 800dd76: 6878 ldr r0, [r7, #4] + 800dd78: f7ff fe60 bl 800da3c } - 800d3f8: e025 b.n 800d446 + 800dd7c: e025 b.n 800ddca dhcp_release_and_stop(netif); - 800d3fa: 6878 ldr r0, [r7, #4] - 800d3fc: f000 fda8 bl 800df50 + 800dd7e: 6878 ldr r0, [r7, #4] + 800dd80: f000 fda8 bl 800e8d4 dhcp_start(netif); - 800d400: 6878 ldr r0, [r7, #4] - 800d402: f000 f8e5 bl 800d5d0 + 800dd84: 6878 ldr r0, [r7, #4] + 800dd86: f000 f8e5 bl 800df54 } - 800d406: e01e b.n 800d446 + 800dd8a: e01e b.n 800ddca } else if (dhcp->state == DHCP_STATE_CHECKING) { - 800d408: 68fb ldr r3, [r7, #12] - 800d40a: 795b ldrb r3, [r3, #5] - 800d40c: 2b08 cmp r3, #8 - 800d40e: d10b bne.n 800d428 + 800dd8c: 68fb ldr r3, [r7, #12] + 800dd8e: 795b ldrb r3, [r3, #5] + 800dd90: 2b08 cmp r3, #8 + 800dd92: d10b bne.n 800ddac if (dhcp->tries <= 1) { - 800d410: 68fb ldr r3, [r7, #12] - 800d412: 799b ldrb r3, [r3, #6] - 800d414: 2b01 cmp r3, #1 - 800d416: d803 bhi.n 800d420 + 800dd94: 68fb ldr r3, [r7, #12] + 800dd96: 799b ldrb r3, [r3, #6] + 800dd98: 2b01 cmp r3, #1 + 800dd9a: d803 bhi.n 800dda4 dhcp_check(netif); - 800d418: 6878 ldr r0, [r7, #4] - 800d41a: f7ff fdf3 bl 800d004 + 800dd9c: 6878 ldr r0, [r7, #4] + 800dd9e: f7ff fdf3 bl 800d988 } - 800d41e: e012 b.n 800d446 + 800dda2: e012 b.n 800ddca dhcp_bind(netif); - 800d420: 6878 ldr r0, [r7, #4] - 800d422: f000 fad3 bl 800d9cc + 800dda4: 6878 ldr r0, [r7, #4] + 800dda6: f000 fad3 bl 800e350 } - 800d426: e00e b.n 800d446 + 800ddaa: e00e b.n 800ddca } else if (dhcp->state == DHCP_STATE_REBOOTING) { - 800d428: 68fb ldr r3, [r7, #12] - 800d42a: 795b ldrb r3, [r3, #5] - 800d42c: 2b03 cmp r3, #3 - 800d42e: d10a bne.n 800d446 + 800ddac: 68fb ldr r3, [r7, #12] + 800ddae: 795b ldrb r3, [r3, #5] + 800ddb0: 2b03 cmp r3, #3 + 800ddb2: d10a bne.n 800ddca if (dhcp->tries < REBOOT_TRIES) { - 800d430: 68fb ldr r3, [r7, #12] - 800d432: 799b ldrb r3, [r3, #6] - 800d434: 2b01 cmp r3, #1 - 800d436: d803 bhi.n 800d440 + 800ddb4: 68fb ldr r3, [r7, #12] + 800ddb6: 799b ldrb r3, [r3, #6] + 800ddb8: 2b01 cmp r3, #1 + 800ddba: d803 bhi.n 800ddc4 dhcp_reboot(netif); - 800d438: 6878 ldr r0, [r7, #4] - 800d43a: f000 fcd5 bl 800dde8 + 800ddbc: 6878 ldr r0, [r7, #4] + 800ddbe: f000 fcd5 bl 800e76c } - 800d43e: e002 b.n 800d446 + 800ddc2: e002 b.n 800ddca dhcp_discover(netif); - 800d440: 6878 ldr r0, [r7, #4] - 800d442: f000 fa21 bl 800d888 + 800ddc4: 6878 ldr r0, [r7, #4] + 800ddc6: f000 fa21 bl 800e20c } - 800d446: bf00 nop - 800d448: 3710 adds r7, #16 - 800d44a: 46bd mov sp, r7 - 800d44c: bd80 pop {r7, pc} + 800ddca: bf00 nop + 800ddcc: 3710 adds r7, #16 + 800ddce: 46bd mov sp, r7 + 800ddd0: bd80 pop {r7, pc} -0800d44e : +0800ddd2 : * * @param netif the netif under DHCP control */ static void dhcp_t1_timeout(struct netif *netif) { - 800d44e: b580 push {r7, lr} - 800d450: b084 sub sp, #16 - 800d452: af00 add r7, sp, #0 - 800d454: 6078 str r0, [r7, #4] + 800ddd2: b580 push {r7, lr} + 800ddd4: b084 sub sp, #16 + 800ddd6: af00 add r7, sp, #0 + 800ddd8: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800d456: 687b ldr r3, [r7, #4] - 800d458: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d45a: 60fb str r3, [r7, #12] + 800ddda: 687b ldr r3, [r7, #4] + 800dddc: 6a5b ldr r3, [r3, #36] @ 0x24 + 800ddde: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_t1_timeout()\n")); if ((dhcp->state == DHCP_STATE_REQUESTING) || (dhcp->state == DHCP_STATE_BOUND) || - 800d45c: 68fb ldr r3, [r7, #12] - 800d45e: 795b ldrb r3, [r3, #5] - 800d460: 2b01 cmp r3, #1 - 800d462: d007 beq.n 800d474 - 800d464: 68fb ldr r3, [r7, #12] - 800d466: 795b ldrb r3, [r3, #5] - 800d468: 2b0a cmp r3, #10 - 800d46a: d003 beq.n 800d474 + 800dde0: 68fb ldr r3, [r7, #12] + 800dde2: 795b ldrb r3, [r3, #5] + 800dde4: 2b01 cmp r3, #1 + 800dde6: d007 beq.n 800ddf8 + 800dde8: 68fb ldr r3, [r7, #12] + 800ddea: 795b ldrb r3, [r3, #5] + 800ddec: 2b0a cmp r3, #10 + 800ddee: d003 beq.n 800ddf8 (dhcp->state == DHCP_STATE_RENEWING)) { - 800d46c: 68fb ldr r3, [r7, #12] - 800d46e: 795b ldrb r3, [r3, #5] + 800ddf0: 68fb ldr r3, [r7, #12] + 800ddf2: 795b ldrb r3, [r3, #5] if ((dhcp->state == DHCP_STATE_REQUESTING) || (dhcp->state == DHCP_STATE_BOUND) || - 800d470: 2b05 cmp r3, #5 - 800d472: d116 bne.n 800d4a2 + 800ddf4: 2b05 cmp r3, #5 + 800ddf6: d116 bne.n 800de26 * eventually time-out if renew tries fail. */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_t1_timeout(): must renew\n")); /* This slightly different to RFC2131: DHCPREQUEST will be sent from state DHCP_STATE_RENEWING, not DHCP_STATE_BOUND */ dhcp_renew(netif); - 800d474: 6878 ldr r0, [r7, #4] - 800d476: f000 fb83 bl 800db80 + 800ddf8: 6878 ldr r0, [r7, #4] + 800ddfa: f000 fb83 bl 800e504 /* Calculate next timeout */ if (((dhcp->t2_timeout - dhcp->lease_used) / 2) >= ((60 + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS)) { - 800d47a: 68fb ldr r3, [r7, #12] - 800d47c: 899b ldrh r3, [r3, #12] - 800d47e: 461a mov r2, r3 - 800d480: 68fb ldr r3, [r7, #12] - 800d482: 8a5b ldrh r3, [r3, #18] - 800d484: 1ad3 subs r3, r2, r3 - 800d486: 2b01 cmp r3, #1 - 800d488: dd0b ble.n 800d4a2 + 800ddfe: 68fb ldr r3, [r7, #12] + 800de00: 899b ldrh r3, [r3, #12] + 800de02: 461a mov r2, r3 + 800de04: 68fb ldr r3, [r7, #12] + 800de06: 8a5b ldrh r3, [r3, #18] + 800de08: 1ad3 subs r3, r2, r3 + 800de0a: 2b01 cmp r3, #1 + 800de0c: dd0b ble.n 800de26 dhcp->t1_renew_time = (u16_t)((dhcp->t2_timeout - dhcp->lease_used) / 2); - 800d48a: 68fb ldr r3, [r7, #12] - 800d48c: 899b ldrh r3, [r3, #12] - 800d48e: 461a mov r2, r3 - 800d490: 68fb ldr r3, [r7, #12] - 800d492: 8a5b ldrh r3, [r3, #18] - 800d494: 1ad3 subs r3, r2, r3 - 800d496: 0fda lsrs r2, r3, #31 - 800d498: 4413 add r3, r2 - 800d49a: 105b asrs r3, r3, #1 - 800d49c: b29a uxth r2, r3 - 800d49e: 68fb ldr r3, [r7, #12] - 800d4a0: 81da strh r2, [r3, #14] + 800de0e: 68fb ldr r3, [r7, #12] + 800de10: 899b ldrh r3, [r3, #12] + 800de12: 461a mov r2, r3 + 800de14: 68fb ldr r3, [r7, #12] + 800de16: 8a5b ldrh r3, [r3, #18] + 800de18: 1ad3 subs r3, r2, r3 + 800de1a: 0fda lsrs r2, r3, #31 + 800de1c: 4413 add r3, r2 + 800de1e: 105b asrs r3, r3, #1 + 800de20: b29a uxth r2, r3 + 800de22: 68fb ldr r3, [r7, #12] + 800de24: 81da strh r2, [r3, #14] } } } - 800d4a2: bf00 nop - 800d4a4: 3710 adds r7, #16 - 800d4a6: 46bd mov sp, r7 - 800d4a8: bd80 pop {r7, pc} + 800de26: bf00 nop + 800de28: 3710 adds r7, #16 + 800de2a: 46bd mov sp, r7 + 800de2c: bd80 pop {r7, pc} -0800d4aa : +0800de2e : * * @param netif the netif under DHCP control */ static void dhcp_t2_timeout(struct netif *netif) { - 800d4aa: b580 push {r7, lr} - 800d4ac: b084 sub sp, #16 - 800d4ae: af00 add r7, sp, #0 - 800d4b0: 6078 str r0, [r7, #4] + 800de2e: b580 push {r7, lr} + 800de30: b084 sub sp, #16 + 800de32: af00 add r7, sp, #0 + 800de34: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800d4b2: 687b ldr r3, [r7, #4] - 800d4b4: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d4b6: 60fb str r3, [r7, #12] + 800de36: 687b ldr r3, [r7, #4] + 800de38: 6a5b ldr r3, [r3, #36] @ 0x24 + 800de3a: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_t2_timeout()\n")); if ((dhcp->state == DHCP_STATE_REQUESTING) || (dhcp->state == DHCP_STATE_BOUND) || - 800d4b8: 68fb ldr r3, [r7, #12] - 800d4ba: 795b ldrb r3, [r3, #5] - 800d4bc: 2b01 cmp r3, #1 - 800d4be: d00b beq.n 800d4d8 - 800d4c0: 68fb ldr r3, [r7, #12] - 800d4c2: 795b ldrb r3, [r3, #5] - 800d4c4: 2b0a cmp r3, #10 - 800d4c6: d007 beq.n 800d4d8 + 800de3c: 68fb ldr r3, [r7, #12] + 800de3e: 795b ldrb r3, [r3, #5] + 800de40: 2b01 cmp r3, #1 + 800de42: d00b beq.n 800de5c + 800de44: 68fb ldr r3, [r7, #12] + 800de46: 795b ldrb r3, [r3, #5] + 800de48: 2b0a cmp r3, #10 + 800de4a: d007 beq.n 800de5c (dhcp->state == DHCP_STATE_RENEWING) || (dhcp->state == DHCP_STATE_REBINDING)) { - 800d4c8: 68fb ldr r3, [r7, #12] - 800d4ca: 795b ldrb r3, [r3, #5] + 800de4c: 68fb ldr r3, [r7, #12] + 800de4e: 795b ldrb r3, [r3, #5] if ((dhcp->state == DHCP_STATE_REQUESTING) || (dhcp->state == DHCP_STATE_BOUND) || - 800d4cc: 2b05 cmp r3, #5 - 800d4ce: d003 beq.n 800d4d8 + 800de50: 2b05 cmp r3, #5 + 800de52: d003 beq.n 800de5c (dhcp->state == DHCP_STATE_RENEWING) || (dhcp->state == DHCP_STATE_REBINDING)) { - 800d4d0: 68fb ldr r3, [r7, #12] - 800d4d2: 795b ldrb r3, [r3, #5] - 800d4d4: 2b04 cmp r3, #4 - 800d4d6: d116 bne.n 800d506 + 800de54: 68fb ldr r3, [r7, #12] + 800de56: 795b ldrb r3, [r3, #5] + 800de58: 2b04 cmp r3, #4 + 800de5a: d116 bne.n 800de8a /* just retry to rebind */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_t2_timeout(): must rebind\n")); /* This slightly different to RFC2131: DHCPREQUEST will be sent from state DHCP_STATE_REBINDING, not DHCP_STATE_BOUND */ dhcp_rebind(netif); - 800d4d8: 6878 ldr r0, [r7, #4] - 800d4da: f000 fbeb bl 800dcb4 + 800de5c: 6878 ldr r0, [r7, #4] + 800de5e: f000 fbeb bl 800e638 /* Calculate next timeout */ if (((dhcp->t0_timeout - dhcp->lease_used) / 2) >= ((60 + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS)) { - 800d4de: 68fb ldr r3, [r7, #12] - 800d4e0: 8a9b ldrh r3, [r3, #20] - 800d4e2: 461a mov r2, r3 - 800d4e4: 68fb ldr r3, [r7, #12] - 800d4e6: 8a5b ldrh r3, [r3, #18] - 800d4e8: 1ad3 subs r3, r2, r3 - 800d4ea: 2b01 cmp r3, #1 - 800d4ec: dd0b ble.n 800d506 + 800de62: 68fb ldr r3, [r7, #12] + 800de64: 8a9b ldrh r3, [r3, #20] + 800de66: 461a mov r2, r3 + 800de68: 68fb ldr r3, [r7, #12] + 800de6a: 8a5b ldrh r3, [r3, #18] + 800de6c: 1ad3 subs r3, r2, r3 + 800de6e: 2b01 cmp r3, #1 + 800de70: dd0b ble.n 800de8a dhcp->t2_rebind_time = (u16_t)((dhcp->t0_timeout - dhcp->lease_used) / 2); - 800d4ee: 68fb ldr r3, [r7, #12] - 800d4f0: 8a9b ldrh r3, [r3, #20] - 800d4f2: 461a mov r2, r3 - 800d4f4: 68fb ldr r3, [r7, #12] - 800d4f6: 8a5b ldrh r3, [r3, #18] - 800d4f8: 1ad3 subs r3, r2, r3 - 800d4fa: 0fda lsrs r2, r3, #31 - 800d4fc: 4413 add r3, r2 - 800d4fe: 105b asrs r3, r3, #1 - 800d500: b29a uxth r2, r3 - 800d502: 68fb ldr r3, [r7, #12] - 800d504: 821a strh r2, [r3, #16] + 800de72: 68fb ldr r3, [r7, #12] + 800de74: 8a9b ldrh r3, [r3, #20] + 800de76: 461a mov r2, r3 + 800de78: 68fb ldr r3, [r7, #12] + 800de7a: 8a5b ldrh r3, [r3, #18] + 800de7c: 1ad3 subs r3, r2, r3 + 800de7e: 0fda lsrs r2, r3, #31 + 800de80: 4413 add r3, r2 + 800de82: 105b asrs r3, r3, #1 + 800de84: b29a uxth r2, r3 + 800de86: 68fb ldr r3, [r7, #12] + 800de88: 821a strh r2, [r3, #16] } } } - 800d506: bf00 nop - 800d508: 3710 adds r7, #16 - 800d50a: 46bd mov sp, r7 - 800d50c: bd80 pop {r7, pc} + 800de8a: bf00 nop + 800de8c: 3710 adds r7, #16 + 800de8e: 46bd mov sp, r7 + 800de90: bd80 pop {r7, pc} ... -0800d510 : +0800de94 : * * @param netif the netif under DHCP control */ static void dhcp_handle_ack(struct netif *netif, struct dhcp_msg *msg_in) { - 800d510: b580 push {r7, lr} - 800d512: b084 sub sp, #16 - 800d514: af00 add r7, sp, #0 - 800d516: 6078 str r0, [r7, #4] - 800d518: 6039 str r1, [r7, #0] + 800de94: b580 push {r7, lr} + 800de96: b084 sub sp, #16 + 800de98: af00 add r7, sp, #0 + 800de9a: 6078 str r0, [r7, #4] + 800de9c: 6039 str r1, [r7, #0] struct dhcp *dhcp = netif_dhcp_data(netif); - 800d51a: 687b ldr r3, [r7, #4] - 800d51c: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d51e: 60fb str r3, [r7, #12] + 800de9e: 687b ldr r3, [r7, #4] + 800dea0: 6a5b ldr r3, [r3, #36] @ 0x24 + 800dea2: 60fb str r3, [r7, #12] #if LWIP_DHCP_GET_NTP_SRV ip4_addr_t ntp_server_addrs[LWIP_DHCP_MAX_NTP_SERVERS]; #endif /* clear options we might not get from the ACK */ ip4_addr_set_zero(&dhcp->offered_sn_mask); - 800d520: 68fb ldr r3, [r7, #12] - 800d522: 2200 movs r2, #0 - 800d524: 621a str r2, [r3, #32] + 800dea4: 68fb ldr r3, [r7, #12] + 800dea6: 2200 movs r2, #0 + 800dea8: 621a str r2, [r3, #32] ip4_addr_set_zero(&dhcp->offered_gw_addr); - 800d526: 68fb ldr r3, [r7, #12] - 800d528: 2200 movs r2, #0 - 800d52a: 625a str r2, [r3, #36] @ 0x24 + 800deaa: 68fb ldr r3, [r7, #12] + 800deac: 2200 movs r2, #0 + 800deae: 625a str r2, [r3, #36] @ 0x24 #if LWIP_DHCP_BOOTP_FILE ip4_addr_set_zero(&dhcp->offered_si_addr); #endif /* LWIP_DHCP_BOOTP_FILE */ /* lease time given? */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_LEASE_TIME)) { - 800d52c: 4b26 ldr r3, [pc, #152] @ (800d5c8 ) - 800d52e: 78db ldrb r3, [r3, #3] - 800d530: 2b00 cmp r3, #0 - 800d532: d003 beq.n 800d53c + 800deb0: 4b26 ldr r3, [pc, #152] @ (800df4c ) + 800deb2: 78db ldrb r3, [r3, #3] + 800deb4: 2b00 cmp r3, #0 + 800deb6: d003 beq.n 800dec0 /* remember offered lease time */ dhcp->offered_t0_lease = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_LEASE_TIME); - 800d534: 4b25 ldr r3, [pc, #148] @ (800d5cc ) - 800d536: 68da ldr r2, [r3, #12] - 800d538: 68fb ldr r3, [r7, #12] - 800d53a: 629a str r2, [r3, #40] @ 0x28 + 800deb8: 4b25 ldr r3, [pc, #148] @ (800df50 ) + 800deba: 68da ldr r2, [r3, #12] + 800debc: 68fb ldr r3, [r7, #12] + 800debe: 629a str r2, [r3, #40] @ 0x28 } /* renewal period given? */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_T1)) { - 800d53c: 4b22 ldr r3, [pc, #136] @ (800d5c8 ) - 800d53e: 791b ldrb r3, [r3, #4] - 800d540: 2b00 cmp r3, #0 - 800d542: d004 beq.n 800d54e + 800dec0: 4b22 ldr r3, [pc, #136] @ (800df4c ) + 800dec2: 791b ldrb r3, [r3, #4] + 800dec4: 2b00 cmp r3, #0 + 800dec6: d004 beq.n 800ded2 /* remember given renewal period */ dhcp->offered_t1_renew = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_T1); - 800d544: 4b21 ldr r3, [pc, #132] @ (800d5cc ) - 800d546: 691a ldr r2, [r3, #16] - 800d548: 68fb ldr r3, [r7, #12] - 800d54a: 62da str r2, [r3, #44] @ 0x2c - 800d54c: e004 b.n 800d558 + 800dec8: 4b21 ldr r3, [pc, #132] @ (800df50 ) + 800deca: 691a ldr r2, [r3, #16] + 800decc: 68fb ldr r3, [r7, #12] + 800dece: 62da str r2, [r3, #44] @ 0x2c + 800ded0: e004 b.n 800dedc } else { /* calculate safe periods for renewal */ dhcp->offered_t1_renew = dhcp->offered_t0_lease / 2; - 800d54e: 68fb ldr r3, [r7, #12] - 800d550: 6a9b ldr r3, [r3, #40] @ 0x28 - 800d552: 085a lsrs r2, r3, #1 - 800d554: 68fb ldr r3, [r7, #12] - 800d556: 62da str r2, [r3, #44] @ 0x2c + 800ded2: 68fb ldr r3, [r7, #12] + 800ded4: 6a9b ldr r3, [r3, #40] @ 0x28 + 800ded6: 085a lsrs r2, r3, #1 + 800ded8: 68fb ldr r3, [r7, #12] + 800deda: 62da str r2, [r3, #44] @ 0x2c } /* renewal period given? */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_T2)) { - 800d558: 4b1b ldr r3, [pc, #108] @ (800d5c8 ) - 800d55a: 795b ldrb r3, [r3, #5] - 800d55c: 2b00 cmp r3, #0 - 800d55e: d004 beq.n 800d56a + 800dedc: 4b1b ldr r3, [pc, #108] @ (800df4c ) + 800dede: 795b ldrb r3, [r3, #5] + 800dee0: 2b00 cmp r3, #0 + 800dee2: d004 beq.n 800deee /* remember given rebind period */ dhcp->offered_t2_rebind = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_T2); - 800d560: 4b1a ldr r3, [pc, #104] @ (800d5cc ) - 800d562: 695a ldr r2, [r3, #20] - 800d564: 68fb ldr r3, [r7, #12] - 800d566: 631a str r2, [r3, #48] @ 0x30 - 800d568: e007 b.n 800d57a + 800dee4: 4b1a ldr r3, [pc, #104] @ (800df50 ) + 800dee6: 695a ldr r2, [r3, #20] + 800dee8: 68fb ldr r3, [r7, #12] + 800deea: 631a str r2, [r3, #48] @ 0x30 + 800deec: e007 b.n 800defe } else { /* calculate safe periods for rebinding (offered_t0_lease * 0.875 -> 87.5%)*/ dhcp->offered_t2_rebind = (dhcp->offered_t0_lease * 7U) / 8U; - 800d56a: 68fb ldr r3, [r7, #12] - 800d56c: 6a9a ldr r2, [r3, #40] @ 0x28 - 800d56e: 4613 mov r3, r2 - 800d570: 00db lsls r3, r3, #3 - 800d572: 1a9b subs r3, r3, r2 - 800d574: 08da lsrs r2, r3, #3 - 800d576: 68fb ldr r3, [r7, #12] - 800d578: 631a str r2, [r3, #48] @ 0x30 + 800deee: 68fb ldr r3, [r7, #12] + 800def0: 6a9a ldr r2, [r3, #40] @ 0x28 + 800def2: 4613 mov r3, r2 + 800def4: 00db lsls r3, r3, #3 + 800def6: 1a9b subs r3, r3, r2 + 800def8: 08da lsrs r2, r3, #3 + 800defa: 68fb ldr r3, [r7, #12] + 800defc: 631a str r2, [r3, #48] @ 0x30 } /* (y)our internet address */ ip4_addr_copy(dhcp->offered_ip_addr, msg_in->yiaddr); - 800d57a: 683b ldr r3, [r7, #0] - 800d57c: 691a ldr r2, [r3, #16] - 800d57e: 68fb ldr r3, [r7, #12] - 800d580: 61da str r2, [r3, #28] + 800defe: 683b ldr r3, [r7, #0] + 800df00: 691a ldr r2, [r3, #16] + 800df02: 68fb ldr r3, [r7, #12] + 800df04: 61da str r2, [r3, #28] boot file name copied in dhcp_parse_reply if not overloaded */ ip4_addr_copy(dhcp->offered_si_addr, msg_in->siaddr); #endif /* LWIP_DHCP_BOOTP_FILE */ /* subnet mask given? */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_SUBNET_MASK)) { - 800d582: 4b11 ldr r3, [pc, #68] @ (800d5c8 ) - 800d584: 799b ldrb r3, [r3, #6] - 800d586: 2b00 cmp r3, #0 - 800d588: d00b beq.n 800d5a2 + 800df06: 4b11 ldr r3, [pc, #68] @ (800df4c ) + 800df08: 799b ldrb r3, [r3, #6] + 800df0a: 2b00 cmp r3, #0 + 800df0c: d00b beq.n 800df26 /* remember given subnet mask */ ip4_addr_set_u32(&dhcp->offered_sn_mask, lwip_htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_SUBNET_MASK))); - 800d58a: 4b10 ldr r3, [pc, #64] @ (800d5cc ) - 800d58c: 699b ldr r3, [r3, #24] - 800d58e: 4618 mov r0, r3 - 800d590: f7f7 ff0f bl 80053b2 - 800d594: 4602 mov r2, r0 - 800d596: 68fb ldr r3, [r7, #12] - 800d598: 621a str r2, [r3, #32] + 800df0e: 4b10 ldr r3, [pc, #64] @ (800df50 ) + 800df10: 699b ldr r3, [r3, #24] + 800df12: 4618 mov r0, r3 + 800df14: f7f7 ff0f bl 8005d36 + 800df18: 4602 mov r2, r0 + 800df1a: 68fb ldr r3, [r7, #12] + 800df1c: 621a str r2, [r3, #32] dhcp->subnet_mask_given = 1; - 800d59a: 68fb ldr r3, [r7, #12] - 800d59c: 2201 movs r2, #1 - 800d59e: 71da strb r2, [r3, #7] - 800d5a0: e002 b.n 800d5a8 + 800df1e: 68fb ldr r3, [r7, #12] + 800df20: 2201 movs r2, #1 + 800df22: 71da strb r2, [r3, #7] + 800df24: e002 b.n 800df2c } else { dhcp->subnet_mask_given = 0; - 800d5a2: 68fb ldr r3, [r7, #12] - 800d5a4: 2200 movs r2, #0 - 800d5a6: 71da strb r2, [r3, #7] + 800df26: 68fb ldr r3, [r7, #12] + 800df28: 2200 movs r2, #0 + 800df2a: 71da strb r2, [r3, #7] } /* gateway router */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_ROUTER)) { - 800d5a8: 4b07 ldr r3, [pc, #28] @ (800d5c8 ) - 800d5aa: 79db ldrb r3, [r3, #7] - 800d5ac: 2b00 cmp r3, #0 - 800d5ae: d007 beq.n 800d5c0 + 800df2c: 4b07 ldr r3, [pc, #28] @ (800df4c ) + 800df2e: 79db ldrb r3, [r3, #7] + 800df30: 2b00 cmp r3, #0 + 800df32: d007 beq.n 800df44 ip4_addr_set_u32(&dhcp->offered_gw_addr, lwip_htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_ROUTER))); - 800d5b0: 4b06 ldr r3, [pc, #24] @ (800d5cc ) - 800d5b2: 69db ldr r3, [r3, #28] - 800d5b4: 4618 mov r0, r3 - 800d5b6: f7f7 fefc bl 80053b2 - 800d5ba: 4602 mov r2, r0 - 800d5bc: 68fb ldr r3, [r7, #12] - 800d5be: 625a str r2, [r3, #36] @ 0x24 + 800df34: 4b06 ldr r3, [pc, #24] @ (800df50 ) + 800df36: 69db ldr r3, [r3, #28] + 800df38: 4618 mov r0, r3 + 800df3a: f7f7 fefc bl 8005d36 + 800df3e: 4602 mov r2, r0 + 800df40: 68fb ldr r3, [r7, #12] + 800df42: 625a str r2, [r3, #36] @ 0x24 ip_addr_t dns_addr; ip_addr_set_ip4_u32_val(dns_addr, lwip_htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_DNS_SERVER + n))); dns_setserver(n, &dns_addr); } #endif /* LWIP_DHCP_PROVIDE_DNS_SERVERS */ } - 800d5c0: bf00 nop - 800d5c2: 3710 adds r7, #16 - 800d5c4: 46bd mov sp, r7 - 800d5c6: bd80 pop {r7, pc} - 800d5c8: 20019124 .word 0x20019124 - 800d5cc: 20019104 .word 0x20019104 + 800df44: bf00 nop + 800df46: 3710 adds r7, #16 + 800df48: 46bd mov sp, r7 + 800df4a: bd80 pop {r7, pc} + 800df4c: 20019158 .word 0x20019158 + 800df50: 20019138 .word 0x20019138 -0800d5d0 : +0800df54 : * - ERR_OK - No error * - ERR_MEM - Out of memory */ err_t dhcp_start(struct netif *netif) { - 800d5d0: b580 push {r7, lr} - 800d5d2: b084 sub sp, #16 - 800d5d4: af00 add r7, sp, #0 - 800d5d6: 6078 str r0, [r7, #4] + 800df54: b580 push {r7, lr} + 800df56: b084 sub sp, #16 + 800df58: af00 add r7, sp, #0 + 800df5a: 6078 str r0, [r7, #4] struct dhcp *dhcp; err_t result; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif != NULL", (netif != NULL), return ERR_ARG;); - 800d5d8: 687b ldr r3, [r7, #4] - 800d5da: 2b00 cmp r3, #0 - 800d5dc: d109 bne.n 800d5f2 - 800d5de: 4b37 ldr r3, [pc, #220] @ (800d6bc ) - 800d5e0: f240 22e7 movw r2, #743 @ 0x2e7 - 800d5e4: 4936 ldr r1, [pc, #216] @ (800d6c0 ) - 800d5e6: 4837 ldr r0, [pc, #220] @ (800d6c4 ) - 800d5e8: f004 f806 bl 80115f8 - 800d5ec: f06f 030f mvn.w r3, #15 - 800d5f0: e060 b.n 800d6b4 + 800df5c: 687b ldr r3, [r7, #4] + 800df5e: 2b00 cmp r3, #0 + 800df60: d109 bne.n 800df76 + 800df62: 4b37 ldr r3, [pc, #220] @ (800e040 ) + 800df64: f240 22e7 movw r2, #743 @ 0x2e7 + 800df68: 4936 ldr r1, [pc, #216] @ (800e044 ) + 800df6a: 4837 ldr r0, [pc, #220] @ (800e048 ) + 800df6c: f004 f806 bl 8011f7c + 800df70: f06f 030f mvn.w r3, #15 + 800df74: e060 b.n 800e038 LWIP_ERROR("netif is not up, old style port?", netif_is_up(netif), return ERR_ARG;); - 800d5f2: 687b ldr r3, [r7, #4] - 800d5f4: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800d5f8: f003 0301 and.w r3, r3, #1 - 800d5fc: 2b00 cmp r3, #0 - 800d5fe: d109 bne.n 800d614 - 800d600: 4b2e ldr r3, [pc, #184] @ (800d6bc ) - 800d602: f44f 723a mov.w r2, #744 @ 0x2e8 - 800d606: 4930 ldr r1, [pc, #192] @ (800d6c8 ) - 800d608: 482e ldr r0, [pc, #184] @ (800d6c4 ) - 800d60a: f003 fff5 bl 80115f8 - 800d60e: f06f 030f mvn.w r3, #15 - 800d612: e04f b.n 800d6b4 + 800df76: 687b ldr r3, [r7, #4] + 800df78: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 800df7c: f003 0301 and.w r3, r3, #1 + 800df80: 2b00 cmp r3, #0 + 800df82: d109 bne.n 800df98 + 800df84: 4b2e ldr r3, [pc, #184] @ (800e040 ) + 800df86: f44f 723a mov.w r2, #744 @ 0x2e8 + 800df8a: 4930 ldr r1, [pc, #192] @ (800e04c ) + 800df8c: 482e ldr r0, [pc, #184] @ (800e048 ) + 800df8e: f003 fff5 bl 8011f7c + 800df92: f06f 030f mvn.w r3, #15 + 800df96: e04f b.n 800e038 dhcp = netif_dhcp_data(netif); - 800d614: 687b ldr r3, [r7, #4] - 800d616: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d618: 60fb str r3, [r7, #12] + 800df98: 687b ldr r3, [r7, #4] + 800df9a: 6a5b ldr r3, [r3, #36] @ 0x24 + 800df9c: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_start(netif=%p) %c%c%"U16_F"\n", (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); /* check MTU of the netif */ if (netif->mtu < DHCP_MAX_MSG_LEN_MIN_REQUIRED) { - 800d61a: 687b ldr r3, [r7, #4] - 800d61c: 8d1b ldrh r3, [r3, #40] @ 0x28 - 800d61e: f5b3 7f10 cmp.w r3, #576 @ 0x240 - 800d622: d202 bcs.n 800d62a + 800df9e: 687b ldr r3, [r7, #4] + 800dfa0: 8d1b ldrh r3, [r3, #40] @ 0x28 + 800dfa2: f5b3 7f10 cmp.w r3, #576 @ 0x240 + 800dfa6: d202 bcs.n 800dfae LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): Cannot use this netif with DHCP: MTU is too small\n")); return ERR_MEM; - 800d624: f04f 33ff mov.w r3, #4294967295 - 800d628: e044 b.n 800d6b4 + 800dfa8: f04f 33ff mov.w r3, #4294967295 + 800dfac: e044 b.n 800e038 } /* no DHCP client attached yet? */ if (dhcp == NULL) { - 800d62a: 68fb ldr r3, [r7, #12] - 800d62c: 2b00 cmp r3, #0 - 800d62e: d10d bne.n 800d64c + 800dfae: 68fb ldr r3, [r7, #12] + 800dfb0: 2b00 cmp r3, #0 + 800dfb2: d10d bne.n 800dfd0 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): mallocing new DHCP client\n")); dhcp = (struct dhcp *)mem_malloc(sizeof(struct dhcp)); - 800d630: 2034 movs r0, #52 @ 0x34 - 800d632: f7f8 f983 bl 800593c - 800d636: 60f8 str r0, [r7, #12] + 800dfb4: 2034 movs r0, #52 @ 0x34 + 800dfb6: f7f8 f983 bl 80062c0 + 800dfba: 60f8 str r0, [r7, #12] if (dhcp == NULL) { - 800d638: 68fb ldr r3, [r7, #12] - 800d63a: 2b00 cmp r3, #0 - 800d63c: d102 bne.n 800d644 + 800dfbc: 68fb ldr r3, [r7, #12] + 800dfbe: 2b00 cmp r3, #0 + 800dfc0: d102 bne.n 800dfc8 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): could not allocate dhcp\n")); return ERR_MEM; - 800d63e: f04f 33ff mov.w r3, #4294967295 - 800d642: e037 b.n 800d6b4 + 800dfc2: f04f 33ff mov.w r3, #4294967295 + 800dfc6: e037 b.n 800e038 } /* store this dhcp client in the netif */ netif_set_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_DHCP, dhcp); - 800d644: 687b ldr r3, [r7, #4] - 800d646: 68fa ldr r2, [r7, #12] - 800d648: 625a str r2, [r3, #36] @ 0x24 - 800d64a: e005 b.n 800d658 + 800dfc8: 687b ldr r3, [r7, #4] + 800dfca: 68fa ldr r2, [r7, #12] + 800dfcc: 625a str r2, [r3, #36] @ 0x24 + 800dfce: e005 b.n 800dfdc LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): allocated dhcp")); /* already has DHCP client attached */ } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_start(): restarting DHCP configuration\n")); if (dhcp->pcb_allocated != 0) { - 800d64c: 68fb ldr r3, [r7, #12] - 800d64e: 791b ldrb r3, [r3, #4] - 800d650: 2b00 cmp r3, #0 - 800d652: d001 beq.n 800d658 + 800dfd0: 68fb ldr r3, [r7, #12] + 800dfd2: 791b ldrb r3, [r3, #4] + 800dfd4: 2b00 cmp r3, #0 + 800dfd6: d001 beq.n 800dfdc dhcp_dec_pcb_refcount(); /* free DHCP PCB if not needed any more */ - 800d654: f7ff fc92 bl 800cf7c + 800dfd8: f7ff fc92 bl 800d900 } /* dhcp is cleared below, no need to reset flag*/ } /* clear data structure */ memset(dhcp, 0, sizeof(struct dhcp)); - 800d658: 2234 movs r2, #52 @ 0x34 - 800d65a: 2100 movs r1, #0 - 800d65c: 68f8 ldr r0, [r7, #12] - 800d65e: f004 f84a bl 80116f6 + 800dfdc: 2234 movs r2, #52 @ 0x34 + 800dfde: 2100 movs r1, #0 + 800dfe0: 68f8 ldr r0, [r7, #12] + 800dfe2: f004 f84a bl 801207a /* dhcp_set_state(&dhcp, DHCP_STATE_OFF); */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): starting DHCP configuration\n")); if (dhcp_inc_pcb_refcount() != ERR_OK) { /* ensure DHCP PCB is allocated */ - 800d662: f7ff fc39 bl 800ced8 - 800d666: 4603 mov r3, r0 - 800d668: 2b00 cmp r3, #0 - 800d66a: d002 beq.n 800d672 + 800dfe6: f7ff fc39 bl 800d85c + 800dfea: 4603 mov r3, r0 + 800dfec: 2b00 cmp r3, #0 + 800dfee: d002 beq.n 800dff6 return ERR_MEM; - 800d66c: f04f 33ff mov.w r3, #4294967295 - 800d670: e020 b.n 800d6b4 + 800dff0: f04f 33ff mov.w r3, #4294967295 + 800dff4: e020 b.n 800e038 } dhcp->pcb_allocated = 1; - 800d672: 68fb ldr r3, [r7, #12] - 800d674: 2201 movs r2, #1 - 800d676: 711a strb r2, [r3, #4] + 800dff6: 68fb ldr r3, [r7, #12] + 800dff8: 2201 movs r2, #1 + 800dffa: 711a strb r2, [r3, #4] if (!netif_is_link_up(netif)) { - 800d678: 687b ldr r3, [r7, #4] - 800d67a: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800d67e: f003 0304 and.w r3, r3, #4 - 800d682: 2b00 cmp r3, #0 - 800d684: d105 bne.n 800d692 + 800dffc: 687b ldr r3, [r7, #4] + 800dffe: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 800e002: f003 0304 and.w r3, r3, #4 + 800e006: 2b00 cmp r3, #0 + 800e008: d105 bne.n 800e016 /* set state INIT and wait for dhcp_network_changed() to call dhcp_discover() */ dhcp_set_state(dhcp, DHCP_STATE_INIT); - 800d686: 2102 movs r1, #2 - 800d688: 68f8 ldr r0, [r7, #12] - 800d68a: f000 fcfb bl 800e084 + 800e00a: 2102 movs r1, #2 + 800e00c: 68f8 ldr r0, [r7, #12] + 800e00e: f000 fcfb bl 800ea08 return ERR_OK; - 800d68e: 2300 movs r3, #0 - 800d690: e010 b.n 800d6b4 + 800e012: 2300 movs r3, #0 + 800e014: e010 b.n 800e038 } /* (re)start the DHCP negotiation */ result = dhcp_discover(netif); - 800d692: 6878 ldr r0, [r7, #4] - 800d694: f000 f8f8 bl 800d888 - 800d698: 4603 mov r3, r0 - 800d69a: 72fb strb r3, [r7, #11] + 800e016: 6878 ldr r0, [r7, #4] + 800e018: f000 f8f8 bl 800e20c + 800e01c: 4603 mov r3, r0 + 800e01e: 72fb strb r3, [r7, #11] if (result != ERR_OK) { - 800d69c: f997 300b ldrsb.w r3, [r7, #11] - 800d6a0: 2b00 cmp r3, #0 - 800d6a2: d005 beq.n 800d6b0 + 800e020: f997 300b ldrsb.w r3, [r7, #11] + 800e024: 2b00 cmp r3, #0 + 800e026: d005 beq.n 800e034 /* free resources allocated above */ dhcp_release_and_stop(netif); - 800d6a4: 6878 ldr r0, [r7, #4] - 800d6a6: f000 fc53 bl 800df50 + 800e028: 6878 ldr r0, [r7, #4] + 800e02a: f000 fc53 bl 800e8d4 return ERR_MEM; - 800d6aa: f04f 33ff mov.w r3, #4294967295 - 800d6ae: e001 b.n 800d6b4 + 800e02e: f04f 33ff mov.w r3, #4294967295 + 800e032: e001 b.n 800e038 } return result; - 800d6b0: f997 300b ldrsb.w r3, [r7, #11] + 800e034: f997 300b ldrsb.w r3, [r7, #11] } - 800d6b4: 4618 mov r0, r3 - 800d6b6: 3710 adds r7, #16 - 800d6b8: 46bd mov sp, r7 - 800d6ba: bd80 pop {r7, pc} - 800d6bc: 08018304 .word 0x08018304 - 800d6c0: 080183e8 .word 0x080183e8 - 800d6c4: 08018364 .word 0x08018364 - 800d6c8: 0801842c .word 0x0801842c + 800e038: 4618 mov r0, r3 + 800e03a: 3710 adds r7, #16 + 800e03c: 46bd mov sp, r7 + 800e03e: bd80 pop {r7, pc} + 800e040: 08018c84 .word 0x08018c84 + 800e044: 08018d68 .word 0x08018d68 + 800e048: 08018ce4 .word 0x08018ce4 + 800e04c: 08018dac .word 0x08018dac -0800d6cc : +0800e050 : * This enters the REBOOTING state to verify that the currently bound * address is still valid. */ void dhcp_network_changed(struct netif *netif) { - 800d6cc: b580 push {r7, lr} - 800d6ce: b084 sub sp, #16 - 800d6d0: af00 add r7, sp, #0 - 800d6d2: 6078 str r0, [r7, #4] + 800e050: b580 push {r7, lr} + 800e052: b084 sub sp, #16 + 800e054: af00 add r7, sp, #0 + 800e056: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800d6d4: 687b ldr r3, [r7, #4] - 800d6d6: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d6d8: 60fb str r3, [r7, #12] + 800e058: 687b ldr r3, [r7, #4] + 800e05a: 6a5b ldr r3, [r3, #36] @ 0x24 + 800e05c: 60fb str r3, [r7, #12] if (!dhcp) { - 800d6da: 68fb ldr r3, [r7, #12] - 800d6dc: 2b00 cmp r3, #0 - 800d6de: d025 beq.n 800d72c + 800e05e: 68fb ldr r3, [r7, #12] + 800e060: 2b00 cmp r3, #0 + 800e062: d025 beq.n 800e0b0 return; } switch (dhcp->state) { - 800d6e0: 68fb ldr r3, [r7, #12] - 800d6e2: 795b ldrb r3, [r3, #5] - 800d6e4: 2b0a cmp r3, #10 - 800d6e6: d008 beq.n 800d6fa - 800d6e8: 2b0a cmp r3, #10 - 800d6ea: dc0d bgt.n 800d708 - 800d6ec: 2b00 cmp r3, #0 - 800d6ee: d01f beq.n 800d730 - 800d6f0: 2b00 cmp r3, #0 - 800d6f2: db09 blt.n 800d708 - 800d6f4: 3b03 subs r3, #3 - 800d6f6: 2b02 cmp r3, #2 - 800d6f8: d806 bhi.n 800d708 + 800e064: 68fb ldr r3, [r7, #12] + 800e066: 795b ldrb r3, [r3, #5] + 800e068: 2b0a cmp r3, #10 + 800e06a: d008 beq.n 800e07e + 800e06c: 2b0a cmp r3, #10 + 800e06e: dc0d bgt.n 800e08c + 800e070: 2b00 cmp r3, #0 + 800e072: d01f beq.n 800e0b4 + 800e074: 2b00 cmp r3, #0 + 800e076: db09 blt.n 800e08c + 800e078: 3b03 subs r3, #3 + 800e07a: 2b02 cmp r3, #2 + 800e07c: d806 bhi.n 800e08c case DHCP_STATE_REBINDING: case DHCP_STATE_RENEWING: case DHCP_STATE_BOUND: case DHCP_STATE_REBOOTING: dhcp->tries = 0; - 800d6fa: 68fb ldr r3, [r7, #12] - 800d6fc: 2200 movs r2, #0 - 800d6fe: 719a strb r2, [r3, #6] + 800e07e: 68fb ldr r3, [r7, #12] + 800e080: 2200 movs r2, #0 + 800e082: 719a strb r2, [r3, #6] dhcp_reboot(netif); - 800d700: 6878 ldr r0, [r7, #4] - 800d702: f000 fb71 bl 800dde8 + 800e084: 6878 ldr r0, [r7, #4] + 800e086: f000 fb71 bl 800e76c break; - 800d706: e014 b.n 800d732 + 800e08a: e014 b.n 800e0b6 case DHCP_STATE_OFF: /* stay off */ break; default: LWIP_ASSERT("invalid dhcp->state", dhcp->state <= DHCP_STATE_BACKING_OFF); - 800d708: 68fb ldr r3, [r7, #12] - 800d70a: 795b ldrb r3, [r3, #5] - 800d70c: 2b0c cmp r3, #12 - 800d70e: d906 bls.n 800d71e - 800d710: 4b09 ldr r3, [pc, #36] @ (800d738 ) - 800d712: f240 326d movw r2, #877 @ 0x36d - 800d716: 4909 ldr r1, [pc, #36] @ (800d73c ) - 800d718: 4809 ldr r0, [pc, #36] @ (800d740 ) - 800d71a: f003 ff6d bl 80115f8 + 800e08c: 68fb ldr r3, [r7, #12] + 800e08e: 795b ldrb r3, [r3, #5] + 800e090: 2b0c cmp r3, #12 + 800e092: d906 bls.n 800e0a2 + 800e094: 4b09 ldr r3, [pc, #36] @ (800e0bc ) + 800e096: f240 326d movw r2, #877 @ 0x36d + 800e09a: 4909 ldr r1, [pc, #36] @ (800e0c0 ) + 800e09c: 4809 ldr r0, [pc, #36] @ (800e0c4 ) + 800e09e: f003 ff6d bl 8011f7c autoip_stop(netif); dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_OFF; } #endif /* LWIP_DHCP_AUTOIP_COOP */ /* ensure we start with short timeouts, even if already discovering */ dhcp->tries = 0; - 800d71e: 68fb ldr r3, [r7, #12] - 800d720: 2200 movs r2, #0 - 800d722: 719a strb r2, [r3, #6] + 800e0a2: 68fb ldr r3, [r7, #12] + 800e0a4: 2200 movs r2, #0 + 800e0a6: 719a strb r2, [r3, #6] dhcp_discover(netif); - 800d724: 6878 ldr r0, [r7, #4] - 800d726: f000 f8af bl 800d888 + 800e0a8: 6878 ldr r0, [r7, #4] + 800e0aa: f000 f8af bl 800e20c break; - 800d72a: e002 b.n 800d732 + 800e0ae: e002 b.n 800e0b6 return; - 800d72c: bf00 nop - 800d72e: e000 b.n 800d732 + 800e0b0: bf00 nop + 800e0b2: e000 b.n 800e0b6 break; - 800d730: bf00 nop + 800e0b4: bf00 nop } } - 800d732: 3710 adds r7, #16 - 800d734: 46bd mov sp, r7 - 800d736: bd80 pop {r7, pc} - 800d738: 08018304 .word 0x08018304 - 800d73c: 08018450 .word 0x08018450 - 800d740: 08018364 .word 0x08018364 + 800e0b6: 3710 adds r7, #16 + 800e0b8: 46bd mov sp, r7 + 800e0ba: bd80 pop {r7, pc} + 800e0bc: 08018c84 .word 0x08018c84 + 800e0c0: 08018dd0 .word 0x08018dd0 + 800e0c4: 08018ce4 .word 0x08018ce4 -0800d744 : +0800e0c8 : * @param netif the network interface on which the reply was received * @param addr The IP address we received a reply from */ void dhcp_arp_reply(struct netif *netif, const ip4_addr_t *addr) { - 800d744: b580 push {r7, lr} - 800d746: b084 sub sp, #16 - 800d748: af00 add r7, sp, #0 - 800d74a: 6078 str r0, [r7, #4] - 800d74c: 6039 str r1, [r7, #0] + 800e0c8: b580 push {r7, lr} + 800e0ca: b084 sub sp, #16 + 800e0cc: af00 add r7, sp, #0 + 800e0ce: 6078 str r0, [r7, #4] + 800e0d0: 6039 str r1, [r7, #0] struct dhcp *dhcp; LWIP_ERROR("netif != NULL", (netif != NULL), return;); - 800d74e: 687b ldr r3, [r7, #4] - 800d750: 2b00 cmp r3, #0 - 800d752: d107 bne.n 800d764 - 800d754: 4b0e ldr r3, [pc, #56] @ (800d790 ) - 800d756: f240 328b movw r2, #907 @ 0x38b - 800d75a: 490e ldr r1, [pc, #56] @ (800d794 ) - 800d75c: 480e ldr r0, [pc, #56] @ (800d798 ) - 800d75e: f003 ff4b bl 80115f8 - 800d762: e012 b.n 800d78a + 800e0d2: 687b ldr r3, [r7, #4] + 800e0d4: 2b00 cmp r3, #0 + 800e0d6: d107 bne.n 800e0e8 + 800e0d8: 4b0e ldr r3, [pc, #56] @ (800e114 ) + 800e0da: f240 328b movw r2, #907 @ 0x38b + 800e0de: 490e ldr r1, [pc, #56] @ (800e118 ) + 800e0e0: 480e ldr r0, [pc, #56] @ (800e11c ) + 800e0e2: f003 ff4b bl 8011f7c + 800e0e6: e012 b.n 800e10e dhcp = netif_dhcp_data(netif); - 800d764: 687b ldr r3, [r7, #4] - 800d766: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d768: 60fb str r3, [r7, #12] + 800e0e8: 687b ldr r3, [r7, #4] + 800e0ea: 6a5b ldr r3, [r3, #36] @ 0x24 + 800e0ec: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_arp_reply()\n")); /* is a DHCP client doing an ARP check? */ if ((dhcp != NULL) && (dhcp->state == DHCP_STATE_CHECKING)) { - 800d76a: 68fb ldr r3, [r7, #12] - 800d76c: 2b00 cmp r3, #0 - 800d76e: d00c beq.n 800d78a - 800d770: 68fb ldr r3, [r7, #12] - 800d772: 795b ldrb r3, [r3, #5] - 800d774: 2b08 cmp r3, #8 - 800d776: d108 bne.n 800d78a + 800e0ee: 68fb ldr r3, [r7, #12] + 800e0f0: 2b00 cmp r3, #0 + 800e0f2: d00c beq.n 800e10e + 800e0f4: 68fb ldr r3, [r7, #12] + 800e0f6: 795b ldrb r3, [r3, #5] + 800e0f8: 2b08 cmp r3, #8 + 800e0fa: d108 bne.n 800e10e LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_arp_reply(): CHECKING, arp reply for 0x%08"X32_F"\n", ip4_addr_get_u32(addr))); /* did a host respond with the address we were offered by the DHCP server? */ if (ip4_addr_cmp(addr, &dhcp->offered_ip_addr)) { - 800d778: 683b ldr r3, [r7, #0] - 800d77a: 681a ldr r2, [r3, #0] - 800d77c: 68fb ldr r3, [r7, #12] - 800d77e: 69db ldr r3, [r3, #28] - 800d780: 429a cmp r2, r3 - 800d782: d102 bne.n 800d78a + 800e0fc: 683b ldr r3, [r7, #0] + 800e0fe: 681a ldr r2, [r3, #0] + 800e100: 68fb ldr r3, [r7, #12] + 800e102: 69db ldr r3, [r3, #28] + 800e104: 429a cmp r2, r3 + 800e106: d102 bne.n 800e10e /* we will not accept the offered address */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE | LWIP_DBG_LEVEL_WARNING, ("dhcp_arp_reply(): arp reply matched with offered address, declining\n")); dhcp_decline(netif); - 800d784: 6878 ldr r0, [r7, #4] - 800d786: f000 f809 bl 800d79c + 800e108: 6878 ldr r0, [r7, #4] + 800e10a: f000 f809 bl 800e120 } } } - 800d78a: 3710 adds r7, #16 - 800d78c: 46bd mov sp, r7 - 800d78e: bd80 pop {r7, pc} - 800d790: 08018304 .word 0x08018304 - 800d794: 080183e8 .word 0x080183e8 - 800d798: 08018364 .word 0x08018364 + 800e10e: 3710 adds r7, #16 + 800e110: 46bd mov sp, r7 + 800e112: bd80 pop {r7, pc} + 800e114: 08018c84 .word 0x08018c84 + 800e118: 08018d68 .word 0x08018d68 + 800e11c: 08018ce4 .word 0x08018ce4 -0800d79c : +0800e120 : * * @param netif the netif under DHCP control */ static err_t dhcp_decline(struct netif *netif) { - 800d79c: b5b0 push {r4, r5, r7, lr} - 800d79e: b08a sub sp, #40 @ 0x28 - 800d7a0: af02 add r7, sp, #8 - 800d7a2: 6078 str r0, [r7, #4] + 800e120: b5b0 push {r4, r5, r7, lr} + 800e122: b08a sub sp, #40 @ 0x28 + 800e124: af02 add r7, sp, #8 + 800e126: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800d7a4: 687b ldr r3, [r7, #4] - 800d7a6: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d7a8: 61bb str r3, [r7, #24] + 800e128: 687b ldr r3, [r7, #4] + 800e12a: 6a5b ldr r3, [r3, #36] @ 0x24 + 800e12c: 61bb str r3, [r7, #24] u16_t msecs; struct pbuf *p_out; u16_t options_out_len; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_decline()\n")); dhcp_set_state(dhcp, DHCP_STATE_BACKING_OFF); - 800d7aa: 210c movs r1, #12 - 800d7ac: 69b8 ldr r0, [r7, #24] - 800d7ae: f000 fc69 bl 800e084 + 800e12e: 210c movs r1, #12 + 800e130: 69b8 ldr r0, [r7, #24] + 800e132: f000 fc69 bl 800ea08 /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_DECLINE, &options_out_len); - 800d7b2: f107 030c add.w r3, r7, #12 - 800d7b6: 2204 movs r2, #4 - 800d7b8: 69b9 ldr r1, [r7, #24] - 800d7ba: 6878 ldr r0, [r7, #4] - 800d7bc: f001 f8ee bl 800e99c - 800d7c0: 6178 str r0, [r7, #20] + 800e136: f107 030c add.w r3, r7, #12 + 800e13a: 2204 movs r2, #4 + 800e13c: 69b9 ldr r1, [r7, #24] + 800e13e: 6878 ldr r0, [r7, #4] + 800e140: f001 f8ee bl 800f320 + 800e144: 6178 str r0, [r7, #20] if (p_out != NULL) { - 800d7c2: 697b ldr r3, [r7, #20] - 800d7c4: 2b00 cmp r3, #0 - 800d7c6: d035 beq.n 800d834 + 800e146: 697b ldr r3, [r7, #20] + 800e148: 2b00 cmp r3, #0 + 800e14a: d035 beq.n 800e1b8 struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 800d7c8: 697b ldr r3, [r7, #20] - 800d7ca: 685b ldr r3, [r3, #4] - 800d7cc: 613b str r3, [r7, #16] + 800e14c: 697b ldr r3, [r7, #20] + 800e14e: 685b ldr r3, [r3, #4] + 800e150: 613b str r3, [r7, #16] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_REQUESTED_IP, 4); - 800d7ce: 89b8 ldrh r0, [r7, #12] - 800d7d0: 693b ldr r3, [r7, #16] - 800d7d2: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d7d6: 2304 movs r3, #4 - 800d7d8: 2232 movs r2, #50 @ 0x32 - 800d7da: f000 fc6d bl 800e0b8 - 800d7de: 4603 mov r3, r0 - 800d7e0: 81bb strh r3, [r7, #12] + 800e152: 89b8 ldrh r0, [r7, #12] + 800e154: 693b ldr r3, [r7, #16] + 800e156: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e15a: 2304 movs r3, #4 + 800e15c: 2232 movs r2, #50 @ 0x32 + 800e15e: f000 fc6d bl 800ea3c + 800e162: 4603 mov r3, r0 + 800e164: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr))); - 800d7e2: 89bc ldrh r4, [r7, #12] - 800d7e4: 693b ldr r3, [r7, #16] - 800d7e6: f103 05f0 add.w r5, r3, #240 @ 0xf0 - 800d7ea: 69bb ldr r3, [r7, #24] - 800d7ec: 69db ldr r3, [r3, #28] - 800d7ee: 4618 mov r0, r3 - 800d7f0: f7f7 fddf bl 80053b2 - 800d7f4: 4603 mov r3, r0 - 800d7f6: 461a mov r2, r3 - 800d7f8: 4629 mov r1, r5 - 800d7fa: 4620 mov r0, r4 - 800d7fc: f000 fce8 bl 800e1d0 - 800d800: 4603 mov r3, r0 - 800d802: 81bb strh r3, [r7, #12] + 800e166: 89bc ldrh r4, [r7, #12] + 800e168: 693b ldr r3, [r7, #16] + 800e16a: f103 05f0 add.w r5, r3, #240 @ 0xf0 + 800e16e: 69bb ldr r3, [r7, #24] + 800e170: 69db ldr r3, [r3, #28] + 800e172: 4618 mov r0, r3 + 800e174: f7f7 fddf bl 8005d36 + 800e178: 4603 mov r3, r0 + 800e17a: 461a mov r2, r3 + 800e17c: 4629 mov r1, r5 + 800e17e: 4620 mov r0, r4 + 800e180: f000 fce8 bl 800eb54 + 800e184: 4603 mov r3, r0 + 800e186: 81bb strh r3, [r7, #12] LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_BACKING_OFF, msg_out, DHCP_DECLINE, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 800d804: 89b8 ldrh r0, [r7, #12] - 800d806: 693b ldr r3, [r7, #16] - 800d808: 33f0 adds r3, #240 @ 0xf0 - 800d80a: 697a ldr r2, [r7, #20] - 800d80c: 4619 mov r1, r3 - 800d80e: f001 f99b bl 800eb48 + 800e188: 89b8 ldrh r0, [r7, #12] + 800e18a: 693b ldr r3, [r7, #16] + 800e18c: 33f0 adds r3, #240 @ 0xf0 + 800e18e: 697a ldr r2, [r7, #20] + 800e190: 4619 mov r1, r3 + 800e192: f001 f99b bl 800f4cc /* per section 4.4.4, broadcast DECLINE messages */ result = udp_sendto_if_src(dhcp_pcb, p_out, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER, netif, IP4_ADDR_ANY); - 800d812: 4b19 ldr r3, [pc, #100] @ (800d878 ) - 800d814: 6818 ldr r0, [r3, #0] - 800d816: 4b19 ldr r3, [pc, #100] @ (800d87c ) - 800d818: 9301 str r3, [sp, #4] - 800d81a: 687b ldr r3, [r7, #4] - 800d81c: 9300 str r3, [sp, #0] - 800d81e: 2343 movs r3, #67 @ 0x43 - 800d820: 4a17 ldr r2, [pc, #92] @ (800d880 ) - 800d822: 6979 ldr r1, [r7, #20] - 800d824: f7ff f8d2 bl 800c9cc - 800d828: 4603 mov r3, r0 - 800d82a: 77fb strb r3, [r7, #31] + 800e196: 4b19 ldr r3, [pc, #100] @ (800e1fc ) + 800e198: 6818 ldr r0, [r3, #0] + 800e19a: 4b19 ldr r3, [pc, #100] @ (800e200 ) + 800e19c: 9301 str r3, [sp, #4] + 800e19e: 687b ldr r3, [r7, #4] + 800e1a0: 9300 str r3, [sp, #0] + 800e1a2: 2343 movs r3, #67 @ 0x43 + 800e1a4: 4a17 ldr r2, [pc, #92] @ (800e204 ) + 800e1a6: 6979 ldr r1, [r7, #20] + 800e1a8: f7ff f8d2 bl 800d350 + 800e1ac: 4603 mov r3, r0 + 800e1ae: 77fb strb r3, [r7, #31] pbuf_free(p_out); - 800d82c: 6978 ldr r0, [r7, #20] - 800d82e: f7f9 f8fb bl 8006a28 - 800d832: e001 b.n 800d838 + 800e1b0: 6978 ldr r0, [r7, #20] + 800e1b2: f7f9 f8fb bl 80073ac + 800e1b6: e001 b.n 800e1bc LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_decline: BACKING OFF\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_decline: could not allocate DHCP request\n")); result = ERR_MEM; - 800d834: 23ff movs r3, #255 @ 0xff - 800d836: 77fb strb r3, [r7, #31] + 800e1b8: 23ff movs r3, #255 @ 0xff + 800e1ba: 77fb strb r3, [r7, #31] } if (dhcp->tries < 255) { - 800d838: 69bb ldr r3, [r7, #24] - 800d83a: 799b ldrb r3, [r3, #6] - 800d83c: 2bff cmp r3, #255 @ 0xff - 800d83e: d005 beq.n 800d84c + 800e1bc: 69bb ldr r3, [r7, #24] + 800e1be: 799b ldrb r3, [r3, #6] + 800e1c0: 2bff cmp r3, #255 @ 0xff + 800e1c2: d005 beq.n 800e1d0 dhcp->tries++; - 800d840: 69bb ldr r3, [r7, #24] - 800d842: 799b ldrb r3, [r3, #6] - 800d844: 3301 adds r3, #1 - 800d846: b2da uxtb r2, r3 - 800d848: 69bb ldr r3, [r7, #24] - 800d84a: 719a strb r2, [r3, #6] + 800e1c4: 69bb ldr r3, [r7, #24] + 800e1c6: 799b ldrb r3, [r3, #6] + 800e1c8: 3301 adds r3, #1 + 800e1ca: b2da uxtb r2, r3 + 800e1cc: 69bb ldr r3, [r7, #24] + 800e1ce: 719a strb r2, [r3, #6] } msecs = 10 * 1000; - 800d84c: f242 7310 movw r3, #10000 @ 0x2710 - 800d850: 81fb strh r3, [r7, #14] + 800e1d0: f242 7310 movw r3, #10000 @ 0x2710 + 800e1d4: 81fb strh r3, [r7, #14] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 800d852: 89fb ldrh r3, [r7, #14] - 800d854: f203 13f3 addw r3, r3, #499 @ 0x1f3 - 800d858: 4a0a ldr r2, [pc, #40] @ (800d884 ) - 800d85a: fb82 1203 smull r1, r2, r2, r3 - 800d85e: 1152 asrs r2, r2, #5 - 800d860: 17db asrs r3, r3, #31 - 800d862: 1ad3 subs r3, r2, r3 - 800d864: b29a uxth r2, r3 - 800d866: 69bb ldr r3, [r7, #24] - 800d868: 811a strh r2, [r3, #8] + 800e1d6: 89fb ldrh r3, [r7, #14] + 800e1d8: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 800e1dc: 4a0a ldr r2, [pc, #40] @ (800e208 ) + 800e1de: fb82 1203 smull r1, r2, r2, r3 + 800e1e2: 1152 asrs r2, r2, #5 + 800e1e4: 17db asrs r3, r3, #31 + 800e1e6: 1ad3 subs r3, r2, r3 + 800e1e8: b29a uxth r2, r3 + 800e1ea: 69bb ldr r3, [r7, #24] + 800e1ec: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_decline(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 800d86a: f997 301f ldrsb.w r3, [r7, #31] + 800e1ee: f997 301f ldrsb.w r3, [r7, #31] } - 800d86e: 4618 mov r0, r3 - 800d870: 3720 adds r7, #32 - 800d872: 46bd mov sp, r7 - 800d874: bdb0 pop {r4, r5, r7, pc} - 800d876: bf00 nop - 800d878: 2001912c .word 0x2001912c - 800d87c: 08018ed4 .word 0x08018ed4 - 800d880: 08018ed8 .word 0x08018ed8 - 800d884: 10624dd3 .word 0x10624dd3 + 800e1f2: 4618 mov r0, r3 + 800e1f4: 3720 adds r7, #32 + 800e1f6: 46bd mov sp, r7 + 800e1f8: bdb0 pop {r4, r5, r7, pc} + 800e1fa: bf00 nop + 800e1fc: 20019160 .word 0x20019160 + 800e200: 08019854 .word 0x08019854 + 800e204: 08019858 .word 0x08019858 + 800e208: 10624dd3 .word 0x10624dd3 -0800d888 : +0800e20c : * * @param netif the netif under DHCP control */ static err_t dhcp_discover(struct netif *netif) { - 800d888: b580 push {r7, lr} - 800d88a: b08a sub sp, #40 @ 0x28 - 800d88c: af02 add r7, sp, #8 - 800d88e: 6078 str r0, [r7, #4] + 800e20c: b580 push {r7, lr} + 800e20e: b08a sub sp, #40 @ 0x28 + 800e210: af02 add r7, sp, #8 + 800e212: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800d890: 687b ldr r3, [r7, #4] - 800d892: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d894: 61bb str r3, [r7, #24] + 800e214: 687b ldr r3, [r7, #4] + 800e216: 6a5b ldr r3, [r3, #36] @ 0x24 + 800e218: 61bb str r3, [r7, #24] err_t result = ERR_OK; - 800d896: 2300 movs r3, #0 - 800d898: 75fb strb r3, [r7, #23] + 800e21a: 2300 movs r3, #0 + 800e21c: 75fb strb r3, [r7, #23] struct pbuf *p_out; u16_t options_out_len; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_discover()\n")); ip4_addr_set_any(&dhcp->offered_ip_addr); - 800d89a: 69bb ldr r3, [r7, #24] - 800d89c: 2200 movs r2, #0 - 800d89e: 61da str r2, [r3, #28] + 800e21e: 69bb ldr r3, [r7, #24] + 800e220: 2200 movs r2, #0 + 800e222: 61da str r2, [r3, #28] dhcp_set_state(dhcp, DHCP_STATE_SELECTING); - 800d8a0: 2106 movs r1, #6 - 800d8a2: 69b8 ldr r0, [r7, #24] - 800d8a4: f000 fbee bl 800e084 + 800e224: 2106 movs r1, #6 + 800e226: 69b8 ldr r0, [r7, #24] + 800e228: f000 fbee bl 800ea08 /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_DISCOVER, &options_out_len); - 800d8a8: f107 0308 add.w r3, r7, #8 - 800d8ac: 2201 movs r2, #1 - 800d8ae: 69b9 ldr r1, [r7, #24] - 800d8b0: 6878 ldr r0, [r7, #4] - 800d8b2: f001 f873 bl 800e99c - 800d8b6: 6138 str r0, [r7, #16] + 800e22c: f107 0308 add.w r3, r7, #8 + 800e230: 2201 movs r2, #1 + 800e232: 69b9 ldr r1, [r7, #24] + 800e234: 6878 ldr r0, [r7, #4] + 800e236: f001 f873 bl 800f320 + 800e23a: 6138 str r0, [r7, #16] if (p_out != NULL) { - 800d8b8: 693b ldr r3, [r7, #16] - 800d8ba: 2b00 cmp r3, #0 - 800d8bc: d04b beq.n 800d956 + 800e23c: 693b ldr r3, [r7, #16] + 800e23e: 2b00 cmp r3, #0 + 800e240: d04b beq.n 800e2da struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 800d8be: 693b ldr r3, [r7, #16] - 800d8c0: 685b ldr r3, [r3, #4] - 800d8c2: 60fb str r3, [r7, #12] + 800e242: 693b ldr r3, [r7, #16] + 800e244: 685b ldr r3, [r3, #4] + 800e246: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_discover: making request\n")); options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OPTION_MAX_MSG_SIZE_LEN); - 800d8c4: 8938 ldrh r0, [r7, #8] - 800d8c6: 68fb ldr r3, [r7, #12] - 800d8c8: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d8cc: 2302 movs r3, #2 - 800d8ce: 2239 movs r2, #57 @ 0x39 - 800d8d0: f000 fbf2 bl 800e0b8 - 800d8d4: 4603 mov r3, r0 - 800d8d6: 813b strh r3, [r7, #8] + 800e248: 8938 ldrh r0, [r7, #8] + 800e24a: 68fb ldr r3, [r7, #12] + 800e24c: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e250: 2302 movs r3, #2 + 800e252: 2239 movs r2, #57 @ 0x39 + 800e254: f000 fbf2 bl 800ea3c + 800e258: 4603 mov r3, r0 + 800e25a: 813b strh r3, [r7, #8] options_out_len = dhcp_option_short(options_out_len, msg_out->options, DHCP_MAX_MSG_LEN(netif)); - 800d8d8: 8938 ldrh r0, [r7, #8] - 800d8da: 68fb ldr r3, [r7, #12] - 800d8dc: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d8e0: 687b ldr r3, [r7, #4] - 800d8e2: 8d1b ldrh r3, [r3, #40] @ 0x28 - 800d8e4: 461a mov r2, r3 - 800d8e6: f000 fc41 bl 800e16c - 800d8ea: 4603 mov r3, r0 - 800d8ec: 813b strh r3, [r7, #8] + 800e25c: 8938 ldrh r0, [r7, #8] + 800e25e: 68fb ldr r3, [r7, #12] + 800e260: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e264: 687b ldr r3, [r7, #4] + 800e266: 8d1b ldrh r3, [r3, #40] @ 0x28 + 800e268: 461a mov r2, r3 + 800e26a: f000 fc41 bl 800eaf0 + 800e26e: 4603 mov r3, r0 + 800e270: 813b strh r3, [r7, #8] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_request_options)); - 800d8ee: 8938 ldrh r0, [r7, #8] - 800d8f0: 68fb ldr r3, [r7, #12] - 800d8f2: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d8f6: 2303 movs r3, #3 - 800d8f8: 2237 movs r2, #55 @ 0x37 - 800d8fa: f000 fbdd bl 800e0b8 - 800d8fe: 4603 mov r3, r0 - 800d900: 813b strh r3, [r7, #8] + 800e272: 8938 ldrh r0, [r7, #8] + 800e274: 68fb ldr r3, [r7, #12] + 800e276: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e27a: 2303 movs r3, #3 + 800e27c: 2237 movs r2, #55 @ 0x37 + 800e27e: f000 fbdd bl 800ea3c + 800e282: 4603 mov r3, r0 + 800e284: 813b strh r3, [r7, #8] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 800d902: 2300 movs r3, #0 - 800d904: 77fb strb r3, [r7, #31] - 800d906: e00e b.n 800d926 + 800e286: 2300 movs r3, #0 + 800e288: 77fb strb r3, [r7, #31] + 800e28a: e00e b.n 800e2aa options_out_len = dhcp_option_byte(options_out_len, msg_out->options, dhcp_discover_request_options[i]); - 800d908: 8938 ldrh r0, [r7, #8] - 800d90a: 68fb ldr r3, [r7, #12] - 800d90c: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800d910: 7ffb ldrb r3, [r7, #31] - 800d912: 4a29 ldr r2, [pc, #164] @ (800d9b8 ) - 800d914: 5cd3 ldrb r3, [r2, r3] - 800d916: 461a mov r2, r3 - 800d918: f000 fc02 bl 800e120 - 800d91c: 4603 mov r3, r0 - 800d91e: 813b strh r3, [r7, #8] + 800e28c: 8938 ldrh r0, [r7, #8] + 800e28e: 68fb ldr r3, [r7, #12] + 800e290: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e294: 7ffb ldrb r3, [r7, #31] + 800e296: 4a29 ldr r2, [pc, #164] @ (800e33c ) + 800e298: 5cd3 ldrb r3, [r2, r3] + 800e29a: 461a mov r2, r3 + 800e29c: f000 fc02 bl 800eaa4 + 800e2a0: 4603 mov r3, r0 + 800e2a2: 813b strh r3, [r7, #8] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 800d920: 7ffb ldrb r3, [r7, #31] - 800d922: 3301 adds r3, #1 - 800d924: 77fb strb r3, [r7, #31] - 800d926: 7ffb ldrb r3, [r7, #31] - 800d928: 2b02 cmp r3, #2 - 800d92a: d9ed bls.n 800d908 + 800e2a4: 7ffb ldrb r3, [r7, #31] + 800e2a6: 3301 adds r3, #1 + 800e2a8: 77fb strb r3, [r7, #31] + 800e2aa: 7ffb ldrb r3, [r7, #31] + 800e2ac: 2b02 cmp r3, #2 + 800e2ae: d9ed bls.n 800e28c } LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_SELECTING, msg_out, DHCP_DISCOVER, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 800d92c: 8938 ldrh r0, [r7, #8] - 800d92e: 68fb ldr r3, [r7, #12] - 800d930: 33f0 adds r3, #240 @ 0xf0 - 800d932: 693a ldr r2, [r7, #16] - 800d934: 4619 mov r1, r3 - 800d936: f001 f907 bl 800eb48 + 800e2b0: 8938 ldrh r0, [r7, #8] + 800e2b2: 68fb ldr r3, [r7, #12] + 800e2b4: 33f0 adds r3, #240 @ 0xf0 + 800e2b6: 693a ldr r2, [r7, #16] + 800e2b8: 4619 mov r1, r3 + 800e2ba: f001 f907 bl 800f4cc LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_discover: sendto(DISCOVER, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER)\n")); udp_sendto_if_src(dhcp_pcb, p_out, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER, netif, IP4_ADDR_ANY); - 800d93a: 4b20 ldr r3, [pc, #128] @ (800d9bc ) - 800d93c: 6818 ldr r0, [r3, #0] - 800d93e: 4b20 ldr r3, [pc, #128] @ (800d9c0 ) - 800d940: 9301 str r3, [sp, #4] - 800d942: 687b ldr r3, [r7, #4] - 800d944: 9300 str r3, [sp, #0] - 800d946: 2343 movs r3, #67 @ 0x43 - 800d948: 4a1e ldr r2, [pc, #120] @ (800d9c4 ) - 800d94a: 6939 ldr r1, [r7, #16] - 800d94c: f7ff f83e bl 800c9cc + 800e2be: 4b20 ldr r3, [pc, #128] @ (800e340 ) + 800e2c0: 6818 ldr r0, [r3, #0] + 800e2c2: 4b20 ldr r3, [pc, #128] @ (800e344 ) + 800e2c4: 9301 str r3, [sp, #4] + 800e2c6: 687b ldr r3, [r7, #4] + 800e2c8: 9300 str r3, [sp, #0] + 800e2ca: 2343 movs r3, #67 @ 0x43 + 800e2cc: 4a1e ldr r2, [pc, #120] @ (800e348 ) + 800e2ce: 6939 ldr r1, [r7, #16] + 800e2d0: f7ff f83e bl 800d350 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_discover: deleting()ing\n")); pbuf_free(p_out); - 800d950: 6938 ldr r0, [r7, #16] - 800d952: f7f9 f869 bl 8006a28 + 800e2d4: 6938 ldr r0, [r7, #16] + 800e2d6: f7f9 f869 bl 80073ac LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_discover: SELECTING\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_discover: could not allocate DHCP request\n")); } if (dhcp->tries < 255) { - 800d956: 69bb ldr r3, [r7, #24] - 800d958: 799b ldrb r3, [r3, #6] - 800d95a: 2bff cmp r3, #255 @ 0xff - 800d95c: d005 beq.n 800d96a + 800e2da: 69bb ldr r3, [r7, #24] + 800e2dc: 799b ldrb r3, [r3, #6] + 800e2de: 2bff cmp r3, #255 @ 0xff + 800e2e0: d005 beq.n 800e2ee dhcp->tries++; - 800d95e: 69bb ldr r3, [r7, #24] - 800d960: 799b ldrb r3, [r3, #6] - 800d962: 3301 adds r3, #1 - 800d964: b2da uxtb r2, r3 - 800d966: 69bb ldr r3, [r7, #24] - 800d968: 719a strb r2, [r3, #6] + 800e2e2: 69bb ldr r3, [r7, #24] + 800e2e4: 799b ldrb r3, [r3, #6] + 800e2e6: 3301 adds r3, #1 + 800e2e8: b2da uxtb r2, r3 + 800e2ea: 69bb ldr r3, [r7, #24] + 800e2ec: 719a strb r2, [r3, #6] if (dhcp->tries >= LWIP_DHCP_AUTOIP_COOP_TRIES && dhcp->autoip_coop_state == DHCP_AUTOIP_COOP_STATE_OFF) { dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_ON; autoip_start(netif); } #endif /* LWIP_DHCP_AUTOIP_COOP */ msecs = (u16_t)((dhcp->tries < 6 ? 1 << dhcp->tries : 60) * 1000); - 800d96a: 69bb ldr r3, [r7, #24] - 800d96c: 799b ldrb r3, [r3, #6] - 800d96e: 2b05 cmp r3, #5 - 800d970: d80d bhi.n 800d98e - 800d972: 69bb ldr r3, [r7, #24] - 800d974: 799b ldrb r3, [r3, #6] - 800d976: 461a mov r2, r3 - 800d978: 2301 movs r3, #1 - 800d97a: 4093 lsls r3, r2 - 800d97c: b29b uxth r3, r3 - 800d97e: 461a mov r2, r3 - 800d980: 0152 lsls r2, r2, #5 - 800d982: 1ad2 subs r2, r2, r3 - 800d984: 0092 lsls r2, r2, #2 - 800d986: 4413 add r3, r2 - 800d988: 00db lsls r3, r3, #3 - 800d98a: b29b uxth r3, r3 - 800d98c: e001 b.n 800d992 - 800d98e: f64e 2360 movw r3, #60000 @ 0xea60 - 800d992: 817b strh r3, [r7, #10] + 800e2ee: 69bb ldr r3, [r7, #24] + 800e2f0: 799b ldrb r3, [r3, #6] + 800e2f2: 2b05 cmp r3, #5 + 800e2f4: d80d bhi.n 800e312 + 800e2f6: 69bb ldr r3, [r7, #24] + 800e2f8: 799b ldrb r3, [r3, #6] + 800e2fa: 461a mov r2, r3 + 800e2fc: 2301 movs r3, #1 + 800e2fe: 4093 lsls r3, r2 + 800e300: b29b uxth r3, r3 + 800e302: 461a mov r2, r3 + 800e304: 0152 lsls r2, r2, #5 + 800e306: 1ad2 subs r2, r2, r3 + 800e308: 0092 lsls r2, r2, #2 + 800e30a: 4413 add r3, r2 + 800e30c: 00db lsls r3, r3, #3 + 800e30e: b29b uxth r3, r3 + 800e310: e001 b.n 800e316 + 800e312: f64e 2360 movw r3, #60000 @ 0xea60 + 800e316: 817b strh r3, [r7, #10] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 800d994: 897b ldrh r3, [r7, #10] - 800d996: f203 13f3 addw r3, r3, #499 @ 0x1f3 - 800d99a: 4a0b ldr r2, [pc, #44] @ (800d9c8 ) - 800d99c: fb82 1203 smull r1, r2, r2, r3 - 800d9a0: 1152 asrs r2, r2, #5 - 800d9a2: 17db asrs r3, r3, #31 - 800d9a4: 1ad3 subs r3, r2, r3 - 800d9a6: b29a uxth r2, r3 - 800d9a8: 69bb ldr r3, [r7, #24] - 800d9aa: 811a strh r2, [r3, #8] + 800e318: 897b ldrh r3, [r7, #10] + 800e31a: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 800e31e: 4a0b ldr r2, [pc, #44] @ (800e34c ) + 800e320: fb82 1203 smull r1, r2, r2, r3 + 800e324: 1152 asrs r2, r2, #5 + 800e326: 17db asrs r3, r3, #31 + 800e328: 1ad3 subs r3, r2, r3 + 800e32a: b29a uxth r2, r3 + 800e32c: 69bb ldr r3, [r7, #24] + 800e32e: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_discover(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 800d9ac: f997 3017 ldrsb.w r3, [r7, #23] + 800e330: f997 3017 ldrsb.w r3, [r7, #23] } - 800d9b0: 4618 mov r0, r3 - 800d9b2: 3720 adds r7, #32 - 800d9b4: 46bd mov sp, r7 - 800d9b6: bd80 pop {r7, pc} - 800d9b8: 2000002c .word 0x2000002c - 800d9bc: 2001912c .word 0x2001912c - 800d9c0: 08018ed4 .word 0x08018ed4 - 800d9c4: 08018ed8 .word 0x08018ed8 - 800d9c8: 10624dd3 .word 0x10624dd3 + 800e334: 4618 mov r0, r3 + 800e336: 3720 adds r7, #32 + 800e338: 46bd mov sp, r7 + 800e33a: bd80 pop {r7, pc} + 800e33c: 2000002c .word 0x2000002c + 800e340: 20019160 .word 0x20019160 + 800e344: 08019854 .word 0x08019854 + 800e348: 08019858 .word 0x08019858 + 800e34c: 10624dd3 .word 0x10624dd3 -0800d9cc : +0800e350 : * * @param netif network interface to bind to the offered address */ static void dhcp_bind(struct netif *netif) { - 800d9cc: b580 push {r7, lr} - 800d9ce: b088 sub sp, #32 - 800d9d0: af00 add r7, sp, #0 - 800d9d2: 6078 str r0, [r7, #4] + 800e350: b580 push {r7, lr} + 800e352: b088 sub sp, #32 + 800e354: af00 add r7, sp, #0 + 800e356: 6078 str r0, [r7, #4] u32_t timeout; struct dhcp *dhcp; ip4_addr_t sn_mask, gw_addr; LWIP_ERROR("dhcp_bind: netif != NULL", (netif != NULL), return;); - 800d9d4: 687b ldr r3, [r7, #4] - 800d9d6: 2b00 cmp r3, #0 - 800d9d8: d107 bne.n 800d9ea - 800d9da: 4b64 ldr r3, [pc, #400] @ (800db6c ) - 800d9dc: f240 4215 movw r2, #1045 @ 0x415 - 800d9e0: 4963 ldr r1, [pc, #396] @ (800db70 ) - 800d9e2: 4864 ldr r0, [pc, #400] @ (800db74 ) - 800d9e4: f003 fe08 bl 80115f8 - 800d9e8: e0bc b.n 800db64 + 800e358: 687b ldr r3, [r7, #4] + 800e35a: 2b00 cmp r3, #0 + 800e35c: d107 bne.n 800e36e + 800e35e: 4b64 ldr r3, [pc, #400] @ (800e4f0 ) + 800e360: f240 4215 movw r2, #1045 @ 0x415 + 800e364: 4963 ldr r1, [pc, #396] @ (800e4f4 ) + 800e366: 4864 ldr r0, [pc, #400] @ (800e4f8 ) + 800e368: f003 fe08 bl 8011f7c + 800e36c: e0bc b.n 800e4e8 dhcp = netif_dhcp_data(netif); - 800d9ea: 687b ldr r3, [r7, #4] - 800d9ec: 6a5b ldr r3, [r3, #36] @ 0x24 - 800d9ee: 61bb str r3, [r7, #24] + 800e36e: 687b ldr r3, [r7, #4] + 800e370: 6a5b ldr r3, [r3, #36] @ 0x24 + 800e372: 61bb str r3, [r7, #24] LWIP_ERROR("dhcp_bind: dhcp != NULL", (dhcp != NULL), return;); - 800d9f0: 69bb ldr r3, [r7, #24] - 800d9f2: 2b00 cmp r3, #0 - 800d9f4: d107 bne.n 800da06 - 800d9f6: 4b5d ldr r3, [pc, #372] @ (800db6c ) - 800d9f8: f240 4217 movw r2, #1047 @ 0x417 - 800d9fc: 495e ldr r1, [pc, #376] @ (800db78 ) - 800d9fe: 485d ldr r0, [pc, #372] @ (800db74 ) - 800da00: f003 fdfa bl 80115f8 - 800da04: e0ae b.n 800db64 + 800e374: 69bb ldr r3, [r7, #24] + 800e376: 2b00 cmp r3, #0 + 800e378: d107 bne.n 800e38a + 800e37a: 4b5d ldr r3, [pc, #372] @ (800e4f0 ) + 800e37c: f240 4217 movw r2, #1047 @ 0x417 + 800e380: 495e ldr r1, [pc, #376] @ (800e4fc ) + 800e382: 485d ldr r0, [pc, #372] @ (800e4f8 ) + 800e384: f003 fdfa bl 8011f7c + 800e388: e0ae b.n 800e4e8 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_bind(netif=%p) %c%c%"U16_F"\n", (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); /* reset time used of lease */ dhcp->lease_used = 0; - 800da06: 69bb ldr r3, [r7, #24] - 800da08: 2200 movs r2, #0 - 800da0a: 825a strh r2, [r3, #18] + 800e38a: 69bb ldr r3, [r7, #24] + 800e38c: 2200 movs r2, #0 + 800e38e: 825a strh r2, [r3, #18] if (dhcp->offered_t0_lease != 0xffffffffUL) { - 800da0c: 69bb ldr r3, [r7, #24] - 800da0e: 6a9b ldr r3, [r3, #40] @ 0x28 - 800da10: f1b3 3fff cmp.w r3, #4294967295 - 800da14: d019 beq.n 800da4a + 800e390: 69bb ldr r3, [r7, #24] + 800e392: 6a9b ldr r3, [r3, #40] @ 0x28 + 800e394: f1b3 3fff cmp.w r3, #4294967295 + 800e398: d019 beq.n 800e3ce /* set renewal period timer */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_bind(): t0 renewal timer %"U32_F" secs\n", dhcp->offered_t0_lease)); timeout = (dhcp->offered_t0_lease + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS; - 800da16: 69bb ldr r3, [r7, #24] - 800da18: 6a9b ldr r3, [r3, #40] @ 0x28 - 800da1a: 331e adds r3, #30 - 800da1c: 4a57 ldr r2, [pc, #348] @ (800db7c ) - 800da1e: fba2 2303 umull r2, r3, r2, r3 - 800da22: 095b lsrs r3, r3, #5 - 800da24: 61fb str r3, [r7, #28] + 800e39a: 69bb ldr r3, [r7, #24] + 800e39c: 6a9b ldr r3, [r3, #40] @ 0x28 + 800e39e: 331e adds r3, #30 + 800e3a0: 4a57 ldr r2, [pc, #348] @ (800e500 ) + 800e3a2: fba2 2303 umull r2, r3, r2, r3 + 800e3a6: 095b lsrs r3, r3, #5 + 800e3a8: 61fb str r3, [r7, #28] if (timeout > 0xffff) { - 800da26: 69fb ldr r3, [r7, #28] - 800da28: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 800da2c: d302 bcc.n 800da34 + 800e3aa: 69fb ldr r3, [r7, #28] + 800e3ac: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 800e3b0: d302 bcc.n 800e3b8 timeout = 0xffff; - 800da2e: f64f 73ff movw r3, #65535 @ 0xffff - 800da32: 61fb str r3, [r7, #28] + 800e3b2: f64f 73ff movw r3, #65535 @ 0xffff + 800e3b6: 61fb str r3, [r7, #28] } dhcp->t0_timeout = (u16_t)timeout; - 800da34: 69fb ldr r3, [r7, #28] - 800da36: b29a uxth r2, r3 - 800da38: 69bb ldr r3, [r7, #24] - 800da3a: 829a strh r2, [r3, #20] + 800e3b8: 69fb ldr r3, [r7, #28] + 800e3ba: b29a uxth r2, r3 + 800e3bc: 69bb ldr r3, [r7, #24] + 800e3be: 829a strh r2, [r3, #20] if (dhcp->t0_timeout == 0) { - 800da3c: 69bb ldr r3, [r7, #24] - 800da3e: 8a9b ldrh r3, [r3, #20] - 800da40: 2b00 cmp r3, #0 - 800da42: d102 bne.n 800da4a + 800e3c0: 69bb ldr r3, [r7, #24] + 800e3c2: 8a9b ldrh r3, [r3, #20] + 800e3c4: 2b00 cmp r3, #0 + 800e3c6: d102 bne.n 800e3ce dhcp->t0_timeout = 1; - 800da44: 69bb ldr r3, [r7, #24] - 800da46: 2201 movs r2, #1 - 800da48: 829a strh r2, [r3, #20] + 800e3c8: 69bb ldr r3, [r7, #24] + 800e3ca: 2201 movs r2, #1 + 800e3cc: 829a strh r2, [r3, #20] } LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_bind(): set request timeout %"U32_F" msecs\n", dhcp->offered_t0_lease * 1000)); } /* temporary DHCP lease? */ if (dhcp->offered_t1_renew != 0xffffffffUL) { - 800da4a: 69bb ldr r3, [r7, #24] - 800da4c: 6adb ldr r3, [r3, #44] @ 0x2c - 800da4e: f1b3 3fff cmp.w r3, #4294967295 - 800da52: d01d beq.n 800da90 + 800e3ce: 69bb ldr r3, [r7, #24] + 800e3d0: 6adb ldr r3, [r3, #44] @ 0x2c + 800e3d2: f1b3 3fff cmp.w r3, #4294967295 + 800e3d6: d01d beq.n 800e414 /* set renewal period timer */ LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_bind(): t1 renewal timer %"U32_F" secs\n", dhcp->offered_t1_renew)); timeout = (dhcp->offered_t1_renew + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS; - 800da54: 69bb ldr r3, [r7, #24] - 800da56: 6adb ldr r3, [r3, #44] @ 0x2c - 800da58: 331e adds r3, #30 - 800da5a: 4a48 ldr r2, [pc, #288] @ (800db7c ) - 800da5c: fba2 2303 umull r2, r3, r2, r3 - 800da60: 095b lsrs r3, r3, #5 - 800da62: 61fb str r3, [r7, #28] + 800e3d8: 69bb ldr r3, [r7, #24] + 800e3da: 6adb ldr r3, [r3, #44] @ 0x2c + 800e3dc: 331e adds r3, #30 + 800e3de: 4a48 ldr r2, [pc, #288] @ (800e500 ) + 800e3e0: fba2 2303 umull r2, r3, r2, r3 + 800e3e4: 095b lsrs r3, r3, #5 + 800e3e6: 61fb str r3, [r7, #28] if (timeout > 0xffff) { - 800da64: 69fb ldr r3, [r7, #28] - 800da66: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 800da6a: d302 bcc.n 800da72 + 800e3e8: 69fb ldr r3, [r7, #28] + 800e3ea: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 800e3ee: d302 bcc.n 800e3f6 timeout = 0xffff; - 800da6c: f64f 73ff movw r3, #65535 @ 0xffff - 800da70: 61fb str r3, [r7, #28] + 800e3f0: f64f 73ff movw r3, #65535 @ 0xffff + 800e3f4: 61fb str r3, [r7, #28] } dhcp->t1_timeout = (u16_t)timeout; - 800da72: 69fb ldr r3, [r7, #28] - 800da74: b29a uxth r2, r3 - 800da76: 69bb ldr r3, [r7, #24] - 800da78: 815a strh r2, [r3, #10] + 800e3f6: 69fb ldr r3, [r7, #28] + 800e3f8: b29a uxth r2, r3 + 800e3fa: 69bb ldr r3, [r7, #24] + 800e3fc: 815a strh r2, [r3, #10] if (dhcp->t1_timeout == 0) { - 800da7a: 69bb ldr r3, [r7, #24] - 800da7c: 895b ldrh r3, [r3, #10] - 800da7e: 2b00 cmp r3, #0 - 800da80: d102 bne.n 800da88 + 800e3fe: 69bb ldr r3, [r7, #24] + 800e400: 895b ldrh r3, [r3, #10] + 800e402: 2b00 cmp r3, #0 + 800e404: d102 bne.n 800e40c dhcp->t1_timeout = 1; - 800da82: 69bb ldr r3, [r7, #24] - 800da84: 2201 movs r2, #1 - 800da86: 815a strh r2, [r3, #10] + 800e406: 69bb ldr r3, [r7, #24] + 800e408: 2201 movs r2, #1 + 800e40a: 815a strh r2, [r3, #10] } LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_bind(): set request timeout %"U32_F" msecs\n", dhcp->offered_t1_renew * 1000)); dhcp->t1_renew_time = dhcp->t1_timeout; - 800da88: 69bb ldr r3, [r7, #24] - 800da8a: 895a ldrh r2, [r3, #10] - 800da8c: 69bb ldr r3, [r7, #24] - 800da8e: 81da strh r2, [r3, #14] + 800e40c: 69bb ldr r3, [r7, #24] + 800e40e: 895a ldrh r2, [r3, #10] + 800e410: 69bb ldr r3, [r7, #24] + 800e412: 81da strh r2, [r3, #14] } /* set renewal period timer */ if (dhcp->offered_t2_rebind != 0xffffffffUL) { - 800da90: 69bb ldr r3, [r7, #24] - 800da92: 6b1b ldr r3, [r3, #48] @ 0x30 - 800da94: f1b3 3fff cmp.w r3, #4294967295 - 800da98: d01d beq.n 800dad6 + 800e414: 69bb ldr r3, [r7, #24] + 800e416: 6b1b ldr r3, [r3, #48] @ 0x30 + 800e418: f1b3 3fff cmp.w r3, #4294967295 + 800e41c: d01d beq.n 800e45a LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_bind(): t2 rebind timer %"U32_F" secs\n", dhcp->offered_t2_rebind)); timeout = (dhcp->offered_t2_rebind + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS; - 800da9a: 69bb ldr r3, [r7, #24] - 800da9c: 6b1b ldr r3, [r3, #48] @ 0x30 - 800da9e: 331e adds r3, #30 - 800daa0: 4a36 ldr r2, [pc, #216] @ (800db7c ) - 800daa2: fba2 2303 umull r2, r3, r2, r3 - 800daa6: 095b lsrs r3, r3, #5 - 800daa8: 61fb str r3, [r7, #28] + 800e41e: 69bb ldr r3, [r7, #24] + 800e420: 6b1b ldr r3, [r3, #48] @ 0x30 + 800e422: 331e adds r3, #30 + 800e424: 4a36 ldr r2, [pc, #216] @ (800e500 ) + 800e426: fba2 2303 umull r2, r3, r2, r3 + 800e42a: 095b lsrs r3, r3, #5 + 800e42c: 61fb str r3, [r7, #28] if (timeout > 0xffff) { - 800daaa: 69fb ldr r3, [r7, #28] - 800daac: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 800dab0: d302 bcc.n 800dab8 + 800e42e: 69fb ldr r3, [r7, #28] + 800e430: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 800e434: d302 bcc.n 800e43c timeout = 0xffff; - 800dab2: f64f 73ff movw r3, #65535 @ 0xffff - 800dab6: 61fb str r3, [r7, #28] + 800e436: f64f 73ff movw r3, #65535 @ 0xffff + 800e43a: 61fb str r3, [r7, #28] } dhcp->t2_timeout = (u16_t)timeout; - 800dab8: 69fb ldr r3, [r7, #28] - 800daba: b29a uxth r2, r3 - 800dabc: 69bb ldr r3, [r7, #24] - 800dabe: 819a strh r2, [r3, #12] + 800e43c: 69fb ldr r3, [r7, #28] + 800e43e: b29a uxth r2, r3 + 800e440: 69bb ldr r3, [r7, #24] + 800e442: 819a strh r2, [r3, #12] if (dhcp->t2_timeout == 0) { - 800dac0: 69bb ldr r3, [r7, #24] - 800dac2: 899b ldrh r3, [r3, #12] - 800dac4: 2b00 cmp r3, #0 - 800dac6: d102 bne.n 800dace + 800e444: 69bb ldr r3, [r7, #24] + 800e446: 899b ldrh r3, [r3, #12] + 800e448: 2b00 cmp r3, #0 + 800e44a: d102 bne.n 800e452 dhcp->t2_timeout = 1; - 800dac8: 69bb ldr r3, [r7, #24] - 800daca: 2201 movs r2, #1 - 800dacc: 819a strh r2, [r3, #12] + 800e44c: 69bb ldr r3, [r7, #24] + 800e44e: 2201 movs r2, #1 + 800e450: 819a strh r2, [r3, #12] } LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_bind(): set request timeout %"U32_F" msecs\n", dhcp->offered_t2_rebind * 1000)); dhcp->t2_rebind_time = dhcp->t2_timeout; - 800dace: 69bb ldr r3, [r7, #24] - 800dad0: 899a ldrh r2, [r3, #12] - 800dad2: 69bb ldr r3, [r7, #24] - 800dad4: 821a strh r2, [r3, #16] + 800e452: 69bb ldr r3, [r7, #24] + 800e454: 899a ldrh r2, [r3, #12] + 800e456: 69bb ldr r3, [r7, #24] + 800e458: 821a strh r2, [r3, #16] } /* If we have sub 1 minute lease, t2 and t1 will kick in at the same time. */ if ((dhcp->t1_timeout >= dhcp->t2_timeout) && (dhcp->t2_timeout > 0)) { - 800dad6: 69bb ldr r3, [r7, #24] - 800dad8: 895a ldrh r2, [r3, #10] - 800dada: 69bb ldr r3, [r7, #24] - 800dadc: 899b ldrh r3, [r3, #12] - 800dade: 429a cmp r2, r3 - 800dae0: d306 bcc.n 800daf0 - 800dae2: 69bb ldr r3, [r7, #24] - 800dae4: 899b ldrh r3, [r3, #12] - 800dae6: 2b00 cmp r3, #0 - 800dae8: d002 beq.n 800daf0 + 800e45a: 69bb ldr r3, [r7, #24] + 800e45c: 895a ldrh r2, [r3, #10] + 800e45e: 69bb ldr r3, [r7, #24] + 800e460: 899b ldrh r3, [r3, #12] + 800e462: 429a cmp r2, r3 + 800e464: d306 bcc.n 800e474 + 800e466: 69bb ldr r3, [r7, #24] + 800e468: 899b ldrh r3, [r3, #12] + 800e46a: 2b00 cmp r3, #0 + 800e46c: d002 beq.n 800e474 dhcp->t1_timeout = 0; - 800daea: 69bb ldr r3, [r7, #24] - 800daec: 2200 movs r2, #0 - 800daee: 815a strh r2, [r3, #10] + 800e46e: 69bb ldr r3, [r7, #24] + 800e470: 2200 movs r2, #0 + 800e472: 815a strh r2, [r3, #10] } if (dhcp->subnet_mask_given) { - 800daf0: 69bb ldr r3, [r7, #24] - 800daf2: 79db ldrb r3, [r3, #7] - 800daf4: 2b00 cmp r3, #0 - 800daf6: d003 beq.n 800db00 + 800e474: 69bb ldr r3, [r7, #24] + 800e476: 79db ldrb r3, [r3, #7] + 800e478: 2b00 cmp r3, #0 + 800e47a: d003 beq.n 800e484 /* copy offered network mask */ ip4_addr_copy(sn_mask, dhcp->offered_sn_mask); - 800daf8: 69bb ldr r3, [r7, #24] - 800dafa: 6a1b ldr r3, [r3, #32] - 800dafc: 613b str r3, [r7, #16] - 800dafe: e014 b.n 800db2a + 800e47c: 69bb ldr r3, [r7, #24] + 800e47e: 6a1b ldr r3, [r3, #32] + 800e480: 613b str r3, [r7, #16] + 800e482: e014 b.n 800e4ae } else { /* subnet mask not given, choose a safe subnet mask given the network class */ u8_t first_octet = ip4_addr1(&dhcp->offered_ip_addr); - 800db00: 69bb ldr r3, [r7, #24] - 800db02: 331c adds r3, #28 - 800db04: 781b ldrb r3, [r3, #0] - 800db06: 75fb strb r3, [r7, #23] + 800e484: 69bb ldr r3, [r7, #24] + 800e486: 331c adds r3, #28 + 800e488: 781b ldrb r3, [r3, #0] + 800e48a: 75fb strb r3, [r7, #23] if (first_octet <= 127) { - 800db08: f997 3017 ldrsb.w r3, [r7, #23] - 800db0c: 2b00 cmp r3, #0 - 800db0e: db02 blt.n 800db16 + 800e48c: f997 3017 ldrsb.w r3, [r7, #23] + 800e490: 2b00 cmp r3, #0 + 800e492: db02 blt.n 800e49a ip4_addr_set_u32(&sn_mask, PP_HTONL(0xff000000UL)); - 800db10: 23ff movs r3, #255 @ 0xff - 800db12: 613b str r3, [r7, #16] - 800db14: e009 b.n 800db2a + 800e494: 23ff movs r3, #255 @ 0xff + 800e496: 613b str r3, [r7, #16] + 800e498: e009 b.n 800e4ae } else if (first_octet >= 192) { - 800db16: 7dfb ldrb r3, [r7, #23] - 800db18: 2bbf cmp r3, #191 @ 0xbf - 800db1a: d903 bls.n 800db24 + 800e49a: 7dfb ldrb r3, [r7, #23] + 800e49c: 2bbf cmp r3, #191 @ 0xbf + 800e49e: d903 bls.n 800e4a8 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffffff00UL)); - 800db1c: f06f 437f mvn.w r3, #4278190080 @ 0xff000000 - 800db20: 613b str r3, [r7, #16] - 800db22: e002 b.n 800db2a + 800e4a0: f06f 437f mvn.w r3, #4278190080 @ 0xff000000 + 800e4a4: 613b str r3, [r7, #16] + 800e4a6: e002 b.n 800e4ae } else { ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffff0000UL)); - 800db24: f64f 73ff movw r3, #65535 @ 0xffff - 800db28: 613b str r3, [r7, #16] + 800e4a8: f64f 73ff movw r3, #65535 @ 0xffff + 800e4ac: 613b str r3, [r7, #16] } } ip4_addr_copy(gw_addr, dhcp->offered_gw_addr); - 800db2a: 69bb ldr r3, [r7, #24] - 800db2c: 6a5b ldr r3, [r3, #36] @ 0x24 - 800db2e: 60fb str r3, [r7, #12] + 800e4ae: 69bb ldr r3, [r7, #24] + 800e4b0: 6a5b ldr r3, [r3, #36] @ 0x24 + 800e4b2: 60fb str r3, [r7, #12] /* gateway address not given? */ if (ip4_addr_isany_val(gw_addr)) { - 800db30: 68fb ldr r3, [r7, #12] - 800db32: 2b00 cmp r3, #0 - 800db34: d108 bne.n 800db48 + 800e4b4: 68fb ldr r3, [r7, #12] + 800e4b6: 2b00 cmp r3, #0 + 800e4b8: d108 bne.n 800e4cc /* copy network address */ ip4_addr_get_network(&gw_addr, &dhcp->offered_ip_addr, &sn_mask); - 800db36: 69bb ldr r3, [r7, #24] - 800db38: 69da ldr r2, [r3, #28] - 800db3a: 693b ldr r3, [r7, #16] - 800db3c: 4013 ands r3, r2 - 800db3e: 60fb str r3, [r7, #12] + 800e4ba: 69bb ldr r3, [r7, #24] + 800e4bc: 69da ldr r2, [r3, #28] + 800e4be: 693b ldr r3, [r7, #16] + 800e4c0: 4013 ands r3, r2 + 800e4c2: 60fb str r3, [r7, #12] /* use first host address on network as gateway */ ip4_addr_set_u32(&gw_addr, ip4_addr_get_u32(&gw_addr) | PP_HTONL(0x00000001UL)); - 800db40: 68fb ldr r3, [r7, #12] - 800db42: f043 7380 orr.w r3, r3, #16777216 @ 0x1000000 - 800db46: 60fb str r3, [r7, #12] + 800e4c4: 68fb ldr r3, [r7, #12] + 800e4c6: f043 7380 orr.w r3, r3, #16777216 @ 0x1000000 + 800e4ca: 60fb str r3, [r7, #12] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_bind(): IP: 0x%08"X32_F" SN: 0x%08"X32_F" GW: 0x%08"X32_F"\n", ip4_addr_get_u32(&dhcp->offered_ip_addr), ip4_addr_get_u32(&sn_mask), ip4_addr_get_u32(&gw_addr))); /* netif is now bound to DHCP leased address - set this before assigning the address to ensure the callback can use dhcp_supplied_address() */ dhcp_set_state(dhcp, DHCP_STATE_BOUND); - 800db48: 210a movs r1, #10 - 800db4a: 69b8 ldr r0, [r7, #24] - 800db4c: f000 fa9a bl 800e084 + 800e4cc: 210a movs r1, #10 + 800e4ce: 69b8 ldr r0, [r7, #24] + 800e4d0: f000 fa9a bl 800ea08 netif_set_addr(netif, &dhcp->offered_ip_addr, &sn_mask, &gw_addr); - 800db50: 69bb ldr r3, [r7, #24] - 800db52: f103 011c add.w r1, r3, #28 - 800db56: f107 030c add.w r3, r7, #12 - 800db5a: f107 0210 add.w r2, r7, #16 - 800db5e: 6878 ldr r0, [r7, #4] - 800db60: f7f8 fa84 bl 800606c + 800e4d4: 69bb ldr r3, [r7, #24] + 800e4d6: f103 011c add.w r1, r3, #28 + 800e4da: f107 030c add.w r3, r7, #12 + 800e4de: f107 0210 add.w r2, r7, #16 + 800e4e2: 6878 ldr r0, [r7, #4] + 800e4e4: f7f8 fa84 bl 80069f0 /* interface is used by routing now that an address is set */ } - 800db64: 3720 adds r7, #32 - 800db66: 46bd mov sp, r7 - 800db68: bd80 pop {r7, pc} - 800db6a: bf00 nop - 800db6c: 08018304 .word 0x08018304 - 800db70: 08018464 .word 0x08018464 - 800db74: 08018364 .word 0x08018364 - 800db78: 08018480 .word 0x08018480 - 800db7c: 88888889 .word 0x88888889 + 800e4e8: 3720 adds r7, #32 + 800e4ea: 46bd mov sp, r7 + 800e4ec: bd80 pop {r7, pc} + 800e4ee: bf00 nop + 800e4f0: 08018c84 .word 0x08018c84 + 800e4f4: 08018de4 .word 0x08018de4 + 800e4f8: 08018ce4 .word 0x08018ce4 + 800e4fc: 08018e00 .word 0x08018e00 + 800e500: 88888889 .word 0x88888889 -0800db80 : +0800e504 : * * @param netif network interface which must renew its lease */ err_t dhcp_renew(struct netif *netif) { - 800db80: b580 push {r7, lr} - 800db82: b08a sub sp, #40 @ 0x28 - 800db84: af02 add r7, sp, #8 - 800db86: 6078 str r0, [r7, #4] + 800e504: b580 push {r7, lr} + 800e506: b08a sub sp, #40 @ 0x28 + 800e508: af02 add r7, sp, #8 + 800e50a: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800db88: 687b ldr r3, [r7, #4] - 800db8a: 6a5b ldr r3, [r3, #36] @ 0x24 - 800db8c: 61bb str r3, [r7, #24] + 800e50c: 687b ldr r3, [r7, #4] + 800e50e: 6a5b ldr r3, [r3, #36] @ 0x24 + 800e510: 61bb str r3, [r7, #24] struct pbuf *p_out; u16_t options_out_len; LWIP_ASSERT_CORE_LOCKED(); LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_renew()\n")); dhcp_set_state(dhcp, DHCP_STATE_RENEWING); - 800db8e: 2105 movs r1, #5 - 800db90: 69b8 ldr r0, [r7, #24] - 800db92: f000 fa77 bl 800e084 + 800e512: 2105 movs r1, #5 + 800e514: 69b8 ldr r0, [r7, #24] + 800e516: f000 fa77 bl 800ea08 /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_REQUEST, &options_out_len); - 800db96: f107 030c add.w r3, r7, #12 - 800db9a: 2203 movs r2, #3 - 800db9c: 69b9 ldr r1, [r7, #24] - 800db9e: 6878 ldr r0, [r7, #4] - 800dba0: f000 fefc bl 800e99c - 800dba4: 6178 str r0, [r7, #20] + 800e51a: f107 030c add.w r3, r7, #12 + 800e51e: 2203 movs r2, #3 + 800e520: 69b9 ldr r1, [r7, #24] + 800e522: 6878 ldr r0, [r7, #4] + 800e524: f000 fefc bl 800f320 + 800e528: 6178 str r0, [r7, #20] if (p_out != NULL) { - 800dba6: 697b ldr r3, [r7, #20] - 800dba8: 2b00 cmp r3, #0 - 800dbaa: d04e beq.n 800dc4a + 800e52a: 697b ldr r3, [r7, #20] + 800e52c: 2b00 cmp r3, #0 + 800e52e: d04e beq.n 800e5ce struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 800dbac: 697b ldr r3, [r7, #20] - 800dbae: 685b ldr r3, [r3, #4] - 800dbb0: 613b str r3, [r7, #16] + 800e530: 697b ldr r3, [r7, #20] + 800e532: 685b ldr r3, [r3, #4] + 800e534: 613b str r3, [r7, #16] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OPTION_MAX_MSG_SIZE_LEN); - 800dbb2: 89b8 ldrh r0, [r7, #12] - 800dbb4: 693b ldr r3, [r7, #16] - 800dbb6: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800dbba: 2302 movs r3, #2 - 800dbbc: 2239 movs r2, #57 @ 0x39 - 800dbbe: f000 fa7b bl 800e0b8 - 800dbc2: 4603 mov r3, r0 - 800dbc4: 81bb strh r3, [r7, #12] + 800e536: 89b8 ldrh r0, [r7, #12] + 800e538: 693b ldr r3, [r7, #16] + 800e53a: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e53e: 2302 movs r3, #2 + 800e540: 2239 movs r2, #57 @ 0x39 + 800e542: f000 fa7b bl 800ea3c + 800e546: 4603 mov r3, r0 + 800e548: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_short(options_out_len, msg_out->options, DHCP_MAX_MSG_LEN(netif)); - 800dbc6: 89b8 ldrh r0, [r7, #12] - 800dbc8: 693b ldr r3, [r7, #16] - 800dbca: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800dbce: 687b ldr r3, [r7, #4] - 800dbd0: 8d1b ldrh r3, [r3, #40] @ 0x28 - 800dbd2: 461a mov r2, r3 - 800dbd4: f000 faca bl 800e16c - 800dbd8: 4603 mov r3, r0 - 800dbda: 81bb strh r3, [r7, #12] + 800e54a: 89b8 ldrh r0, [r7, #12] + 800e54c: 693b ldr r3, [r7, #16] + 800e54e: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e552: 687b ldr r3, [r7, #4] + 800e554: 8d1b ldrh r3, [r3, #40] @ 0x28 + 800e556: 461a mov r2, r3 + 800e558: f000 faca bl 800eaf0 + 800e55c: 4603 mov r3, r0 + 800e55e: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_request_options)); - 800dbdc: 89b8 ldrh r0, [r7, #12] - 800dbde: 693b ldr r3, [r7, #16] - 800dbe0: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800dbe4: 2303 movs r3, #3 - 800dbe6: 2237 movs r2, #55 @ 0x37 - 800dbe8: f000 fa66 bl 800e0b8 - 800dbec: 4603 mov r3, r0 - 800dbee: 81bb strh r3, [r7, #12] + 800e560: 89b8 ldrh r0, [r7, #12] + 800e562: 693b ldr r3, [r7, #16] + 800e564: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e568: 2303 movs r3, #3 + 800e56a: 2237 movs r2, #55 @ 0x37 + 800e56c: f000 fa66 bl 800ea3c + 800e570: 4603 mov r3, r0 + 800e572: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 800dbf0: 2300 movs r3, #0 - 800dbf2: 77bb strb r3, [r7, #30] - 800dbf4: e00e b.n 800dc14 + 800e574: 2300 movs r3, #0 + 800e576: 77bb strb r3, [r7, #30] + 800e578: e00e b.n 800e598 options_out_len = dhcp_option_byte(options_out_len, msg_out->options, dhcp_discover_request_options[i]); - 800dbf6: 89b8 ldrh r0, [r7, #12] - 800dbf8: 693b ldr r3, [r7, #16] - 800dbfa: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800dbfe: 7fbb ldrb r3, [r7, #30] - 800dc00: 4a29 ldr r2, [pc, #164] @ (800dca8 ) - 800dc02: 5cd3 ldrb r3, [r2, r3] - 800dc04: 461a mov r2, r3 - 800dc06: f000 fa8b bl 800e120 - 800dc0a: 4603 mov r3, r0 - 800dc0c: 81bb strh r3, [r7, #12] + 800e57a: 89b8 ldrh r0, [r7, #12] + 800e57c: 693b ldr r3, [r7, #16] + 800e57e: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e582: 7fbb ldrb r3, [r7, #30] + 800e584: 4a29 ldr r2, [pc, #164] @ (800e62c ) + 800e586: 5cd3 ldrb r3, [r2, r3] + 800e588: 461a mov r2, r3 + 800e58a: f000 fa8b bl 800eaa4 + 800e58e: 4603 mov r3, r0 + 800e590: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 800dc0e: 7fbb ldrb r3, [r7, #30] - 800dc10: 3301 adds r3, #1 - 800dc12: 77bb strb r3, [r7, #30] - 800dc14: 7fbb ldrb r3, [r7, #30] - 800dc16: 2b02 cmp r3, #2 - 800dc18: d9ed bls.n 800dbf6 + 800e592: 7fbb ldrb r3, [r7, #30] + 800e594: 3301 adds r3, #1 + 800e596: 77bb strb r3, [r7, #30] + 800e598: 7fbb ldrb r3, [r7, #30] + 800e59a: 2b02 cmp r3, #2 + 800e59c: d9ed bls.n 800e57a #if LWIP_NETIF_HOSTNAME options_out_len = dhcp_option_hostname(options_out_len, msg_out->options, netif); #endif /* LWIP_NETIF_HOSTNAME */ LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_RENEWING, msg_out, DHCP_REQUEST, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 800dc1a: 89b8 ldrh r0, [r7, #12] - 800dc1c: 693b ldr r3, [r7, #16] - 800dc1e: 33f0 adds r3, #240 @ 0xf0 - 800dc20: 697a ldr r2, [r7, #20] - 800dc22: 4619 mov r1, r3 - 800dc24: f000 ff90 bl 800eb48 + 800e59e: 89b8 ldrh r0, [r7, #12] + 800e5a0: 693b ldr r3, [r7, #16] + 800e5a2: 33f0 adds r3, #240 @ 0xf0 + 800e5a4: 697a ldr r2, [r7, #20] + 800e5a6: 4619 mov r1, r3 + 800e5a8: f000 ff90 bl 800f4cc result = udp_sendto_if(dhcp_pcb, p_out, &dhcp->server_ip_addr, LWIP_IANA_PORT_DHCP_SERVER, netif); - 800dc28: 4b20 ldr r3, [pc, #128] @ (800dcac ) - 800dc2a: 6818 ldr r0, [r3, #0] - 800dc2c: 69bb ldr r3, [r7, #24] - 800dc2e: f103 0218 add.w r2, r3, #24 - 800dc32: 687b ldr r3, [r7, #4] - 800dc34: 9300 str r3, [sp, #0] - 800dc36: 2343 movs r3, #67 @ 0x43 - 800dc38: 6979 ldr r1, [r7, #20] - 800dc3a: f7fe fe53 bl 800c8e4 - 800dc3e: 4603 mov r3, r0 - 800dc40: 77fb strb r3, [r7, #31] + 800e5ac: 4b20 ldr r3, [pc, #128] @ (800e630 ) + 800e5ae: 6818 ldr r0, [r3, #0] + 800e5b0: 69bb ldr r3, [r7, #24] + 800e5b2: f103 0218 add.w r2, r3, #24 + 800e5b6: 687b ldr r3, [r7, #4] + 800e5b8: 9300 str r3, [sp, #0] + 800e5ba: 2343 movs r3, #67 @ 0x43 + 800e5bc: 6979 ldr r1, [r7, #20] + 800e5be: f7fe fe53 bl 800d268 + 800e5c2: 4603 mov r3, r0 + 800e5c4: 77fb strb r3, [r7, #31] pbuf_free(p_out); - 800dc42: 6978 ldr r0, [r7, #20] - 800dc44: f7f8 fef0 bl 8006a28 - 800dc48: e001 b.n 800dc4e + 800e5c6: 6978 ldr r0, [r7, #20] + 800e5c8: f7f8 fef0 bl 80073ac + 800e5cc: e001 b.n 800e5d2 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_renew: RENEWING\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_renew: could not allocate DHCP request\n")); result = ERR_MEM; - 800dc4a: 23ff movs r3, #255 @ 0xff - 800dc4c: 77fb strb r3, [r7, #31] + 800e5ce: 23ff movs r3, #255 @ 0xff + 800e5d0: 77fb strb r3, [r7, #31] } if (dhcp->tries < 255) { - 800dc4e: 69bb ldr r3, [r7, #24] - 800dc50: 799b ldrb r3, [r3, #6] - 800dc52: 2bff cmp r3, #255 @ 0xff - 800dc54: d005 beq.n 800dc62 + 800e5d2: 69bb ldr r3, [r7, #24] + 800e5d4: 799b ldrb r3, [r3, #6] + 800e5d6: 2bff cmp r3, #255 @ 0xff + 800e5d8: d005 beq.n 800e5e6 dhcp->tries++; - 800dc56: 69bb ldr r3, [r7, #24] - 800dc58: 799b ldrb r3, [r3, #6] - 800dc5a: 3301 adds r3, #1 - 800dc5c: b2da uxtb r2, r3 - 800dc5e: 69bb ldr r3, [r7, #24] - 800dc60: 719a strb r2, [r3, #6] + 800e5da: 69bb ldr r3, [r7, #24] + 800e5dc: 799b ldrb r3, [r3, #6] + 800e5de: 3301 adds r3, #1 + 800e5e0: b2da uxtb r2, r3 + 800e5e2: 69bb ldr r3, [r7, #24] + 800e5e4: 719a strb r2, [r3, #6] } /* back-off on retries, but to a maximum of 20 seconds */ msecs = (u16_t)(dhcp->tries < 10 ? dhcp->tries * 2000 : 20 * 1000); - 800dc62: 69bb ldr r3, [r7, #24] - 800dc64: 799b ldrb r3, [r3, #6] - 800dc66: 2b09 cmp r3, #9 - 800dc68: d809 bhi.n 800dc7e - 800dc6a: 69bb ldr r3, [r7, #24] - 800dc6c: 799b ldrb r3, [r3, #6] - 800dc6e: 461a mov r2, r3 - 800dc70: 0152 lsls r2, r2, #5 - 800dc72: 1ad2 subs r2, r2, r3 - 800dc74: 0092 lsls r2, r2, #2 - 800dc76: 4413 add r3, r2 - 800dc78: 011b lsls r3, r3, #4 - 800dc7a: b29b uxth r3, r3 - 800dc7c: e001 b.n 800dc82 - 800dc7e: f644 6320 movw r3, #20000 @ 0x4e20 - 800dc82: 81fb strh r3, [r7, #14] + 800e5e6: 69bb ldr r3, [r7, #24] + 800e5e8: 799b ldrb r3, [r3, #6] + 800e5ea: 2b09 cmp r3, #9 + 800e5ec: d809 bhi.n 800e602 + 800e5ee: 69bb ldr r3, [r7, #24] + 800e5f0: 799b ldrb r3, [r3, #6] + 800e5f2: 461a mov r2, r3 + 800e5f4: 0152 lsls r2, r2, #5 + 800e5f6: 1ad2 subs r2, r2, r3 + 800e5f8: 0092 lsls r2, r2, #2 + 800e5fa: 4413 add r3, r2 + 800e5fc: 011b lsls r3, r3, #4 + 800e5fe: b29b uxth r3, r3 + 800e600: e001 b.n 800e606 + 800e602: f644 6320 movw r3, #20000 @ 0x4e20 + 800e606: 81fb strh r3, [r7, #14] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 800dc84: 89fb ldrh r3, [r7, #14] - 800dc86: f203 13f3 addw r3, r3, #499 @ 0x1f3 - 800dc8a: 4a09 ldr r2, [pc, #36] @ (800dcb0 ) - 800dc8c: fb82 1203 smull r1, r2, r2, r3 - 800dc90: 1152 asrs r2, r2, #5 - 800dc92: 17db asrs r3, r3, #31 - 800dc94: 1ad3 subs r3, r2, r3 - 800dc96: b29a uxth r2, r3 - 800dc98: 69bb ldr r3, [r7, #24] - 800dc9a: 811a strh r2, [r3, #8] + 800e608: 89fb ldrh r3, [r7, #14] + 800e60a: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 800e60e: 4a09 ldr r2, [pc, #36] @ (800e634 ) + 800e610: fb82 1203 smull r1, r2, r2, r3 + 800e614: 1152 asrs r2, r2, #5 + 800e616: 17db asrs r3, r3, #31 + 800e618: 1ad3 subs r3, r2, r3 + 800e61a: b29a uxth r2, r3 + 800e61c: 69bb ldr r3, [r7, #24] + 800e61e: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_renew(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 800dc9c: f997 301f ldrsb.w r3, [r7, #31] + 800e620: f997 301f ldrsb.w r3, [r7, #31] } - 800dca0: 4618 mov r0, r3 - 800dca2: 3720 adds r7, #32 - 800dca4: 46bd mov sp, r7 - 800dca6: bd80 pop {r7, pc} - 800dca8: 2000002c .word 0x2000002c - 800dcac: 2001912c .word 0x2001912c - 800dcb0: 10624dd3 .word 0x10624dd3 + 800e624: 4618 mov r0, r3 + 800e626: 3720 adds r7, #32 + 800e628: 46bd mov sp, r7 + 800e62a: bd80 pop {r7, pc} + 800e62c: 2000002c .word 0x2000002c + 800e630: 20019160 .word 0x20019160 + 800e634: 10624dd3 .word 0x10624dd3 -0800dcb4 : +0800e638 : * * @param netif network interface which must rebind with a DHCP server */ static err_t dhcp_rebind(struct netif *netif) { - 800dcb4: b580 push {r7, lr} - 800dcb6: b08a sub sp, #40 @ 0x28 - 800dcb8: af02 add r7, sp, #8 - 800dcba: 6078 str r0, [r7, #4] + 800e638: b580 push {r7, lr} + 800e63a: b08a sub sp, #40 @ 0x28 + 800e63c: af02 add r7, sp, #8 + 800e63e: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800dcbc: 687b ldr r3, [r7, #4] - 800dcbe: 6a5b ldr r3, [r3, #36] @ 0x24 - 800dcc0: 61bb str r3, [r7, #24] + 800e640: 687b ldr r3, [r7, #4] + 800e642: 6a5b ldr r3, [r3, #36] @ 0x24 + 800e644: 61bb str r3, [r7, #24] u8_t i; struct pbuf *p_out; u16_t options_out_len; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_rebind()\n")); dhcp_set_state(dhcp, DHCP_STATE_REBINDING); - 800dcc2: 2104 movs r1, #4 - 800dcc4: 69b8 ldr r0, [r7, #24] - 800dcc6: f000 f9dd bl 800e084 + 800e646: 2104 movs r1, #4 + 800e648: 69b8 ldr r0, [r7, #24] + 800e64a: f000 f9dd bl 800ea08 /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_REQUEST, &options_out_len); - 800dcca: f107 030c add.w r3, r7, #12 - 800dcce: 2203 movs r2, #3 - 800dcd0: 69b9 ldr r1, [r7, #24] - 800dcd2: 6878 ldr r0, [r7, #4] - 800dcd4: f000 fe62 bl 800e99c - 800dcd8: 6178 str r0, [r7, #20] + 800e64e: f107 030c add.w r3, r7, #12 + 800e652: 2203 movs r2, #3 + 800e654: 69b9 ldr r1, [r7, #24] + 800e656: 6878 ldr r0, [r7, #4] + 800e658: f000 fe62 bl 800f320 + 800e65c: 6178 str r0, [r7, #20] if (p_out != NULL) { - 800dcda: 697b ldr r3, [r7, #20] - 800dcdc: 2b00 cmp r3, #0 - 800dcde: d04c beq.n 800dd7a + 800e65e: 697b ldr r3, [r7, #20] + 800e660: 2b00 cmp r3, #0 + 800e662: d04c beq.n 800e6fe struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 800dce0: 697b ldr r3, [r7, #20] - 800dce2: 685b ldr r3, [r3, #4] - 800dce4: 613b str r3, [r7, #16] + 800e664: 697b ldr r3, [r7, #20] + 800e666: 685b ldr r3, [r3, #4] + 800e668: 613b str r3, [r7, #16] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OPTION_MAX_MSG_SIZE_LEN); - 800dce6: 89b8 ldrh r0, [r7, #12] - 800dce8: 693b ldr r3, [r7, #16] - 800dcea: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800dcee: 2302 movs r3, #2 - 800dcf0: 2239 movs r2, #57 @ 0x39 - 800dcf2: f000 f9e1 bl 800e0b8 - 800dcf6: 4603 mov r3, r0 - 800dcf8: 81bb strh r3, [r7, #12] + 800e66a: 89b8 ldrh r0, [r7, #12] + 800e66c: 693b ldr r3, [r7, #16] + 800e66e: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e672: 2302 movs r3, #2 + 800e674: 2239 movs r2, #57 @ 0x39 + 800e676: f000 f9e1 bl 800ea3c + 800e67a: 4603 mov r3, r0 + 800e67c: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_short(options_out_len, msg_out->options, DHCP_MAX_MSG_LEN(netif)); - 800dcfa: 89b8 ldrh r0, [r7, #12] - 800dcfc: 693b ldr r3, [r7, #16] - 800dcfe: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800dd02: 687b ldr r3, [r7, #4] - 800dd04: 8d1b ldrh r3, [r3, #40] @ 0x28 - 800dd06: 461a mov r2, r3 - 800dd08: f000 fa30 bl 800e16c - 800dd0c: 4603 mov r3, r0 - 800dd0e: 81bb strh r3, [r7, #12] + 800e67e: 89b8 ldrh r0, [r7, #12] + 800e680: 693b ldr r3, [r7, #16] + 800e682: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e686: 687b ldr r3, [r7, #4] + 800e688: 8d1b ldrh r3, [r3, #40] @ 0x28 + 800e68a: 461a mov r2, r3 + 800e68c: f000 fa30 bl 800eaf0 + 800e690: 4603 mov r3, r0 + 800e692: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_request_options)); - 800dd10: 89b8 ldrh r0, [r7, #12] - 800dd12: 693b ldr r3, [r7, #16] - 800dd14: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800dd18: 2303 movs r3, #3 - 800dd1a: 2237 movs r2, #55 @ 0x37 - 800dd1c: f000 f9cc bl 800e0b8 - 800dd20: 4603 mov r3, r0 - 800dd22: 81bb strh r3, [r7, #12] + 800e694: 89b8 ldrh r0, [r7, #12] + 800e696: 693b ldr r3, [r7, #16] + 800e698: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e69c: 2303 movs r3, #3 + 800e69e: 2237 movs r2, #55 @ 0x37 + 800e6a0: f000 f9cc bl 800ea3c + 800e6a4: 4603 mov r3, r0 + 800e6a6: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 800dd24: 2300 movs r3, #0 - 800dd26: 77bb strb r3, [r7, #30] - 800dd28: e00e b.n 800dd48 + 800e6a8: 2300 movs r3, #0 + 800e6aa: 77bb strb r3, [r7, #30] + 800e6ac: e00e b.n 800e6cc options_out_len = dhcp_option_byte(options_out_len, msg_out->options, dhcp_discover_request_options[i]); - 800dd2a: 89b8 ldrh r0, [r7, #12] - 800dd2c: 693b ldr r3, [r7, #16] - 800dd2e: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800dd32: 7fbb ldrb r3, [r7, #30] - 800dd34: 4a28 ldr r2, [pc, #160] @ (800ddd8 ) - 800dd36: 5cd3 ldrb r3, [r2, r3] - 800dd38: 461a mov r2, r3 - 800dd3a: f000 f9f1 bl 800e120 - 800dd3e: 4603 mov r3, r0 - 800dd40: 81bb strh r3, [r7, #12] + 800e6ae: 89b8 ldrh r0, [r7, #12] + 800e6b0: 693b ldr r3, [r7, #16] + 800e6b2: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e6b6: 7fbb ldrb r3, [r7, #30] + 800e6b8: 4a28 ldr r2, [pc, #160] @ (800e75c ) + 800e6ba: 5cd3 ldrb r3, [r2, r3] + 800e6bc: 461a mov r2, r3 + 800e6be: f000 f9f1 bl 800eaa4 + 800e6c2: 4603 mov r3, r0 + 800e6c4: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 800dd42: 7fbb ldrb r3, [r7, #30] - 800dd44: 3301 adds r3, #1 - 800dd46: 77bb strb r3, [r7, #30] - 800dd48: 7fbb ldrb r3, [r7, #30] - 800dd4a: 2b02 cmp r3, #2 - 800dd4c: d9ed bls.n 800dd2a + 800e6c6: 7fbb ldrb r3, [r7, #30] + 800e6c8: 3301 adds r3, #1 + 800e6ca: 77bb strb r3, [r7, #30] + 800e6cc: 7fbb ldrb r3, [r7, #30] + 800e6ce: 2b02 cmp r3, #2 + 800e6d0: d9ed bls.n 800e6ae #if LWIP_NETIF_HOSTNAME options_out_len = dhcp_option_hostname(options_out_len, msg_out->options, netif); #endif /* LWIP_NETIF_HOSTNAME */ LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_REBINDING, msg_out, DHCP_DISCOVER, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 800dd4e: 89b8 ldrh r0, [r7, #12] - 800dd50: 693b ldr r3, [r7, #16] - 800dd52: 33f0 adds r3, #240 @ 0xf0 - 800dd54: 697a ldr r2, [r7, #20] - 800dd56: 4619 mov r1, r3 - 800dd58: f000 fef6 bl 800eb48 + 800e6d2: 89b8 ldrh r0, [r7, #12] + 800e6d4: 693b ldr r3, [r7, #16] + 800e6d6: 33f0 adds r3, #240 @ 0xf0 + 800e6d8: 697a ldr r2, [r7, #20] + 800e6da: 4619 mov r1, r3 + 800e6dc: f000 fef6 bl 800f4cc /* broadcast to server */ result = udp_sendto_if(dhcp_pcb, p_out, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER, netif); - 800dd5c: 4b1f ldr r3, [pc, #124] @ (800dddc ) - 800dd5e: 6818 ldr r0, [r3, #0] - 800dd60: 687b ldr r3, [r7, #4] - 800dd62: 9300 str r3, [sp, #0] - 800dd64: 2343 movs r3, #67 @ 0x43 - 800dd66: 4a1e ldr r2, [pc, #120] @ (800dde0 ) - 800dd68: 6979 ldr r1, [r7, #20] - 800dd6a: f7fe fdbb bl 800c8e4 - 800dd6e: 4603 mov r3, r0 - 800dd70: 77fb strb r3, [r7, #31] + 800e6e0: 4b1f ldr r3, [pc, #124] @ (800e760 ) + 800e6e2: 6818 ldr r0, [r3, #0] + 800e6e4: 687b ldr r3, [r7, #4] + 800e6e6: 9300 str r3, [sp, #0] + 800e6e8: 2343 movs r3, #67 @ 0x43 + 800e6ea: 4a1e ldr r2, [pc, #120] @ (800e764 ) + 800e6ec: 6979 ldr r1, [r7, #20] + 800e6ee: f7fe fdbb bl 800d268 + 800e6f2: 4603 mov r3, r0 + 800e6f4: 77fb strb r3, [r7, #31] pbuf_free(p_out); - 800dd72: 6978 ldr r0, [r7, #20] - 800dd74: f7f8 fe58 bl 8006a28 - 800dd78: e001 b.n 800dd7e + 800e6f6: 6978 ldr r0, [r7, #20] + 800e6f8: f7f8 fe58 bl 80073ac + 800e6fc: e001 b.n 800e702 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_rebind: REBINDING\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_rebind: could not allocate DHCP request\n")); result = ERR_MEM; - 800dd7a: 23ff movs r3, #255 @ 0xff - 800dd7c: 77fb strb r3, [r7, #31] + 800e6fe: 23ff movs r3, #255 @ 0xff + 800e700: 77fb strb r3, [r7, #31] } if (dhcp->tries < 255) { - 800dd7e: 69bb ldr r3, [r7, #24] - 800dd80: 799b ldrb r3, [r3, #6] - 800dd82: 2bff cmp r3, #255 @ 0xff - 800dd84: d005 beq.n 800dd92 + 800e702: 69bb ldr r3, [r7, #24] + 800e704: 799b ldrb r3, [r3, #6] + 800e706: 2bff cmp r3, #255 @ 0xff + 800e708: d005 beq.n 800e716 dhcp->tries++; - 800dd86: 69bb ldr r3, [r7, #24] - 800dd88: 799b ldrb r3, [r3, #6] - 800dd8a: 3301 adds r3, #1 - 800dd8c: b2da uxtb r2, r3 - 800dd8e: 69bb ldr r3, [r7, #24] - 800dd90: 719a strb r2, [r3, #6] + 800e70a: 69bb ldr r3, [r7, #24] + 800e70c: 799b ldrb r3, [r3, #6] + 800e70e: 3301 adds r3, #1 + 800e710: b2da uxtb r2, r3 + 800e712: 69bb ldr r3, [r7, #24] + 800e714: 719a strb r2, [r3, #6] } msecs = (u16_t)(dhcp->tries < 10 ? dhcp->tries * 1000 : 10 * 1000); - 800dd92: 69bb ldr r3, [r7, #24] - 800dd94: 799b ldrb r3, [r3, #6] - 800dd96: 2b09 cmp r3, #9 - 800dd98: d809 bhi.n 800ddae - 800dd9a: 69bb ldr r3, [r7, #24] - 800dd9c: 799b ldrb r3, [r3, #6] - 800dd9e: 461a mov r2, r3 - 800dda0: 0152 lsls r2, r2, #5 - 800dda2: 1ad2 subs r2, r2, r3 - 800dda4: 0092 lsls r2, r2, #2 - 800dda6: 4413 add r3, r2 - 800dda8: 00db lsls r3, r3, #3 - 800ddaa: b29b uxth r3, r3 - 800ddac: e001 b.n 800ddb2 - 800ddae: f242 7310 movw r3, #10000 @ 0x2710 - 800ddb2: 81fb strh r3, [r7, #14] + 800e716: 69bb ldr r3, [r7, #24] + 800e718: 799b ldrb r3, [r3, #6] + 800e71a: 2b09 cmp r3, #9 + 800e71c: d809 bhi.n 800e732 + 800e71e: 69bb ldr r3, [r7, #24] + 800e720: 799b ldrb r3, [r3, #6] + 800e722: 461a mov r2, r3 + 800e724: 0152 lsls r2, r2, #5 + 800e726: 1ad2 subs r2, r2, r3 + 800e728: 0092 lsls r2, r2, #2 + 800e72a: 4413 add r3, r2 + 800e72c: 00db lsls r3, r3, #3 + 800e72e: b29b uxth r3, r3 + 800e730: e001 b.n 800e736 + 800e732: f242 7310 movw r3, #10000 @ 0x2710 + 800e736: 81fb strh r3, [r7, #14] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 800ddb4: 89fb ldrh r3, [r7, #14] - 800ddb6: f203 13f3 addw r3, r3, #499 @ 0x1f3 - 800ddba: 4a0a ldr r2, [pc, #40] @ (800dde4 ) - 800ddbc: fb82 1203 smull r1, r2, r2, r3 - 800ddc0: 1152 asrs r2, r2, #5 - 800ddc2: 17db asrs r3, r3, #31 - 800ddc4: 1ad3 subs r3, r2, r3 - 800ddc6: b29a uxth r2, r3 - 800ddc8: 69bb ldr r3, [r7, #24] - 800ddca: 811a strh r2, [r3, #8] + 800e738: 89fb ldrh r3, [r7, #14] + 800e73a: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 800e73e: 4a0a ldr r2, [pc, #40] @ (800e768 ) + 800e740: fb82 1203 smull r1, r2, r2, r3 + 800e744: 1152 asrs r2, r2, #5 + 800e746: 17db asrs r3, r3, #31 + 800e748: 1ad3 subs r3, r2, r3 + 800e74a: b29a uxth r2, r3 + 800e74c: 69bb ldr r3, [r7, #24] + 800e74e: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_rebind(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 800ddcc: f997 301f ldrsb.w r3, [r7, #31] + 800e750: f997 301f ldrsb.w r3, [r7, #31] } - 800ddd0: 4618 mov r0, r3 - 800ddd2: 3720 adds r7, #32 - 800ddd4: 46bd mov sp, r7 - 800ddd6: bd80 pop {r7, pc} - 800ddd8: 2000002c .word 0x2000002c - 800dddc: 2001912c .word 0x2001912c - 800dde0: 08018ed8 .word 0x08018ed8 - 800dde4: 10624dd3 .word 0x10624dd3 + 800e754: 4618 mov r0, r3 + 800e756: 3720 adds r7, #32 + 800e758: 46bd mov sp, r7 + 800e75a: bd80 pop {r7, pc} + 800e75c: 2000002c .word 0x2000002c + 800e760: 20019160 .word 0x20019160 + 800e764: 08019858 .word 0x08019858 + 800e768: 10624dd3 .word 0x10624dd3 -0800dde8 : +0800e76c : * * @param netif network interface which must reboot */ static err_t dhcp_reboot(struct netif *netif) { - 800dde8: b5b0 push {r4, r5, r7, lr} - 800ddea: b08a sub sp, #40 @ 0x28 - 800ddec: af02 add r7, sp, #8 - 800ddee: 6078 str r0, [r7, #4] + 800e76c: b5b0 push {r4, r5, r7, lr} + 800e76e: b08a sub sp, #40 @ 0x28 + 800e770: af02 add r7, sp, #8 + 800e772: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800ddf0: 687b ldr r3, [r7, #4] - 800ddf2: 6a5b ldr r3, [r3, #36] @ 0x24 - 800ddf4: 61bb str r3, [r7, #24] + 800e774: 687b ldr r3, [r7, #4] + 800e776: 6a5b ldr r3, [r3, #36] @ 0x24 + 800e778: 61bb str r3, [r7, #24] u8_t i; struct pbuf *p_out; u16_t options_out_len; LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_reboot()\n")); dhcp_set_state(dhcp, DHCP_STATE_REBOOTING); - 800ddf6: 2103 movs r1, #3 - 800ddf8: 69b8 ldr r0, [r7, #24] - 800ddfa: f000 f943 bl 800e084 + 800e77a: 2103 movs r1, #3 + 800e77c: 69b8 ldr r0, [r7, #24] + 800e77e: f000 f943 bl 800ea08 /* create and initialize the DHCP message header */ p_out = dhcp_create_msg(netif, dhcp, DHCP_REQUEST, &options_out_len); - 800ddfe: f107 030c add.w r3, r7, #12 - 800de02: 2203 movs r2, #3 - 800de04: 69b9 ldr r1, [r7, #24] - 800de06: 6878 ldr r0, [r7, #4] - 800de08: f000 fdc8 bl 800e99c - 800de0c: 6178 str r0, [r7, #20] + 800e782: f107 030c add.w r3, r7, #12 + 800e786: 2203 movs r2, #3 + 800e788: 69b9 ldr r1, [r7, #24] + 800e78a: 6878 ldr r0, [r7, #4] + 800e78c: f000 fdc8 bl 800f320 + 800e790: 6178 str r0, [r7, #20] if (p_out != NULL) { - 800de0e: 697b ldr r3, [r7, #20] - 800de10: 2b00 cmp r3, #0 - 800de12: d066 beq.n 800dee2 + 800e792: 697b ldr r3, [r7, #20] + 800e794: 2b00 cmp r3, #0 + 800e796: d066 beq.n 800e866 struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 800de14: 697b ldr r3, [r7, #20] - 800de16: 685b ldr r3, [r3, #4] - 800de18: 613b str r3, [r7, #16] + 800e798: 697b ldr r3, [r7, #20] + 800e79a: 685b ldr r3, [r3, #4] + 800e79c: 613b str r3, [r7, #16] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OPTION_MAX_MSG_SIZE_LEN); - 800de1a: 89b8 ldrh r0, [r7, #12] - 800de1c: 693b ldr r3, [r7, #16] - 800de1e: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800de22: 2302 movs r3, #2 - 800de24: 2239 movs r2, #57 @ 0x39 - 800de26: f000 f947 bl 800e0b8 - 800de2a: 4603 mov r3, r0 - 800de2c: 81bb strh r3, [r7, #12] + 800e79e: 89b8 ldrh r0, [r7, #12] + 800e7a0: 693b ldr r3, [r7, #16] + 800e7a2: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e7a6: 2302 movs r3, #2 + 800e7a8: 2239 movs r2, #57 @ 0x39 + 800e7aa: f000 f947 bl 800ea3c + 800e7ae: 4603 mov r3, r0 + 800e7b0: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_short(options_out_len, msg_out->options, DHCP_MAX_MSG_LEN_MIN_REQUIRED); - 800de2e: 89b8 ldrh r0, [r7, #12] - 800de30: 693b ldr r3, [r7, #16] - 800de32: 33f0 adds r3, #240 @ 0xf0 - 800de34: f44f 7210 mov.w r2, #576 @ 0x240 - 800de38: 4619 mov r1, r3 - 800de3a: f000 f997 bl 800e16c - 800de3e: 4603 mov r3, r0 - 800de40: 81bb strh r3, [r7, #12] + 800e7b2: 89b8 ldrh r0, [r7, #12] + 800e7b4: 693b ldr r3, [r7, #16] + 800e7b6: 33f0 adds r3, #240 @ 0xf0 + 800e7b8: f44f 7210 mov.w r2, #576 @ 0x240 + 800e7bc: 4619 mov r1, r3 + 800e7be: f000 f997 bl 800eaf0 + 800e7c2: 4603 mov r3, r0 + 800e7c4: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_REQUESTED_IP, 4); - 800de42: 89b8 ldrh r0, [r7, #12] - 800de44: 693b ldr r3, [r7, #16] - 800de46: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800de4a: 2304 movs r3, #4 - 800de4c: 2232 movs r2, #50 @ 0x32 - 800de4e: f000 f933 bl 800e0b8 - 800de52: 4603 mov r3, r0 - 800de54: 81bb strh r3, [r7, #12] + 800e7c6: 89b8 ldrh r0, [r7, #12] + 800e7c8: 693b ldr r3, [r7, #16] + 800e7ca: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e7ce: 2304 movs r3, #4 + 800e7d0: 2232 movs r2, #50 @ 0x32 + 800e7d2: f000 f933 bl 800ea3c + 800e7d6: 4603 mov r3, r0 + 800e7d8: 81bb strh r3, [r7, #12] options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr))); - 800de56: 89bc ldrh r4, [r7, #12] - 800de58: 693b ldr r3, [r7, #16] - 800de5a: f103 05f0 add.w r5, r3, #240 @ 0xf0 - 800de5e: 69bb ldr r3, [r7, #24] - 800de60: 69db ldr r3, [r3, #28] - 800de62: 4618 mov r0, r3 - 800de64: f7f7 faa5 bl 80053b2 - 800de68: 4603 mov r3, r0 - 800de6a: 461a mov r2, r3 - 800de6c: 4629 mov r1, r5 - 800de6e: 4620 mov r0, r4 - 800de70: f000 f9ae bl 800e1d0 - 800de74: 4603 mov r3, r0 - 800de76: 81bb strh r3, [r7, #12] + 800e7da: 89bc ldrh r4, [r7, #12] + 800e7dc: 693b ldr r3, [r7, #16] + 800e7de: f103 05f0 add.w r5, r3, #240 @ 0xf0 + 800e7e2: 69bb ldr r3, [r7, #24] + 800e7e4: 69db ldr r3, [r3, #28] + 800e7e6: 4618 mov r0, r3 + 800e7e8: f7f7 faa5 bl 8005d36 + 800e7ec: 4603 mov r3, r0 + 800e7ee: 461a mov r2, r3 + 800e7f0: 4629 mov r1, r5 + 800e7f2: 4620 mov r0, r4 + 800e7f4: f000 f9ae bl 800eb54 + 800e7f8: 4603 mov r3, r0 + 800e7fa: 81bb strh r3, [r7, #12] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_request_options)); - 800de78: 89b8 ldrh r0, [r7, #12] - 800de7a: 693b ldr r3, [r7, #16] - 800de7c: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800de80: 2303 movs r3, #3 - 800de82: 2237 movs r2, #55 @ 0x37 - 800de84: f000 f918 bl 800e0b8 - 800de88: 4603 mov r3, r0 - 800de8a: 81bb strh r3, [r7, #12] + 800e7fc: 89b8 ldrh r0, [r7, #12] + 800e7fe: 693b ldr r3, [r7, #16] + 800e800: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e804: 2303 movs r3, #3 + 800e806: 2237 movs r2, #55 @ 0x37 + 800e808: f000 f918 bl 800ea3c + 800e80c: 4603 mov r3, r0 + 800e80e: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 800de8c: 2300 movs r3, #0 - 800de8e: 77bb strb r3, [r7, #30] - 800de90: e00e b.n 800deb0 + 800e810: 2300 movs r3, #0 + 800e812: 77bb strb r3, [r7, #30] + 800e814: e00e b.n 800e834 options_out_len = dhcp_option_byte(options_out_len, msg_out->options, dhcp_discover_request_options[i]); - 800de92: 89b8 ldrh r0, [r7, #12] - 800de94: 693b ldr r3, [r7, #16] - 800de96: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800de9a: 7fbb ldrb r3, [r7, #30] - 800de9c: 4a28 ldr r2, [pc, #160] @ (800df40 ) - 800de9e: 5cd3 ldrb r3, [r2, r3] - 800dea0: 461a mov r2, r3 - 800dea2: f000 f93d bl 800e120 - 800dea6: 4603 mov r3, r0 - 800dea8: 81bb strh r3, [r7, #12] + 800e816: 89b8 ldrh r0, [r7, #12] + 800e818: 693b ldr r3, [r7, #16] + 800e81a: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e81e: 7fbb ldrb r3, [r7, #30] + 800e820: 4a28 ldr r2, [pc, #160] @ (800e8c4 ) + 800e822: 5cd3 ldrb r3, [r2, r3] + 800e824: 461a mov r2, r3 + 800e826: f000 f93d bl 800eaa4 + 800e82a: 4603 mov r3, r0 + 800e82c: 81bb strh r3, [r7, #12] for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { - 800deaa: 7fbb ldrb r3, [r7, #30] - 800deac: 3301 adds r3, #1 - 800deae: 77bb strb r3, [r7, #30] - 800deb0: 7fbb ldrb r3, [r7, #30] - 800deb2: 2b02 cmp r3, #2 - 800deb4: d9ed bls.n 800de92 + 800e82e: 7fbb ldrb r3, [r7, #30] + 800e830: 3301 adds r3, #1 + 800e832: 77bb strb r3, [r7, #30] + 800e834: 7fbb ldrb r3, [r7, #30] + 800e836: 2b02 cmp r3, #2 + 800e838: d9ed bls.n 800e816 #if LWIP_NETIF_HOSTNAME options_out_len = dhcp_option_hostname(options_out_len, msg_out->options, netif); #endif /* LWIP_NETIF_HOSTNAME */ LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, DHCP_STATE_REBOOTING, msg_out, DHCP_REQUEST, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 800deb6: 89b8 ldrh r0, [r7, #12] - 800deb8: 693b ldr r3, [r7, #16] - 800deba: 33f0 adds r3, #240 @ 0xf0 - 800debc: 697a ldr r2, [r7, #20] - 800debe: 4619 mov r1, r3 - 800dec0: f000 fe42 bl 800eb48 + 800e83a: 89b8 ldrh r0, [r7, #12] + 800e83c: 693b ldr r3, [r7, #16] + 800e83e: 33f0 adds r3, #240 @ 0xf0 + 800e840: 697a ldr r2, [r7, #20] + 800e842: 4619 mov r1, r3 + 800e844: f000 fe42 bl 800f4cc /* broadcast to server */ result = udp_sendto_if(dhcp_pcb, p_out, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER, netif); - 800dec4: 4b1f ldr r3, [pc, #124] @ (800df44 ) - 800dec6: 6818 ldr r0, [r3, #0] - 800dec8: 687b ldr r3, [r7, #4] - 800deca: 9300 str r3, [sp, #0] - 800decc: 2343 movs r3, #67 @ 0x43 - 800dece: 4a1e ldr r2, [pc, #120] @ (800df48 ) - 800ded0: 6979 ldr r1, [r7, #20] - 800ded2: f7fe fd07 bl 800c8e4 - 800ded6: 4603 mov r3, r0 - 800ded8: 77fb strb r3, [r7, #31] + 800e848: 4b1f ldr r3, [pc, #124] @ (800e8c8 ) + 800e84a: 6818 ldr r0, [r3, #0] + 800e84c: 687b ldr r3, [r7, #4] + 800e84e: 9300 str r3, [sp, #0] + 800e850: 2343 movs r3, #67 @ 0x43 + 800e852: 4a1e ldr r2, [pc, #120] @ (800e8cc ) + 800e854: 6979 ldr r1, [r7, #20] + 800e856: f7fe fd07 bl 800d268 + 800e85a: 4603 mov r3, r0 + 800e85c: 77fb strb r3, [r7, #31] pbuf_free(p_out); - 800deda: 6978 ldr r0, [r7, #20] - 800dedc: f7f8 fda4 bl 8006a28 - 800dee0: e001 b.n 800dee6 + 800e85e: 6978 ldr r0, [r7, #20] + 800e860: f7f8 fda4 bl 80073ac + 800e864: e001 b.n 800e86a LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_reboot: REBOOTING\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_reboot: could not allocate DHCP request\n")); result = ERR_MEM; - 800dee2: 23ff movs r3, #255 @ 0xff - 800dee4: 77fb strb r3, [r7, #31] + 800e866: 23ff movs r3, #255 @ 0xff + 800e868: 77fb strb r3, [r7, #31] } if (dhcp->tries < 255) { - 800dee6: 69bb ldr r3, [r7, #24] - 800dee8: 799b ldrb r3, [r3, #6] - 800deea: 2bff cmp r3, #255 @ 0xff - 800deec: d005 beq.n 800defa + 800e86a: 69bb ldr r3, [r7, #24] + 800e86c: 799b ldrb r3, [r3, #6] + 800e86e: 2bff cmp r3, #255 @ 0xff + 800e870: d005 beq.n 800e87e dhcp->tries++; - 800deee: 69bb ldr r3, [r7, #24] - 800def0: 799b ldrb r3, [r3, #6] - 800def2: 3301 adds r3, #1 - 800def4: b2da uxtb r2, r3 - 800def6: 69bb ldr r3, [r7, #24] - 800def8: 719a strb r2, [r3, #6] + 800e872: 69bb ldr r3, [r7, #24] + 800e874: 799b ldrb r3, [r3, #6] + 800e876: 3301 adds r3, #1 + 800e878: b2da uxtb r2, r3 + 800e87a: 69bb ldr r3, [r7, #24] + 800e87c: 719a strb r2, [r3, #6] } msecs = (u16_t)(dhcp->tries < 10 ? dhcp->tries * 1000 : 10 * 1000); - 800defa: 69bb ldr r3, [r7, #24] - 800defc: 799b ldrb r3, [r3, #6] - 800defe: 2b09 cmp r3, #9 - 800df00: d809 bhi.n 800df16 - 800df02: 69bb ldr r3, [r7, #24] - 800df04: 799b ldrb r3, [r3, #6] - 800df06: 461a mov r2, r3 - 800df08: 0152 lsls r2, r2, #5 - 800df0a: 1ad2 subs r2, r2, r3 - 800df0c: 0092 lsls r2, r2, #2 - 800df0e: 4413 add r3, r2 - 800df10: 00db lsls r3, r3, #3 - 800df12: b29b uxth r3, r3 - 800df14: e001 b.n 800df1a - 800df16: f242 7310 movw r3, #10000 @ 0x2710 - 800df1a: 81fb strh r3, [r7, #14] + 800e87e: 69bb ldr r3, [r7, #24] + 800e880: 799b ldrb r3, [r3, #6] + 800e882: 2b09 cmp r3, #9 + 800e884: d809 bhi.n 800e89a + 800e886: 69bb ldr r3, [r7, #24] + 800e888: 799b ldrb r3, [r3, #6] + 800e88a: 461a mov r2, r3 + 800e88c: 0152 lsls r2, r2, #5 + 800e88e: 1ad2 subs r2, r2, r3 + 800e890: 0092 lsls r2, r2, #2 + 800e892: 4413 add r3, r2 + 800e894: 00db lsls r3, r3, #3 + 800e896: b29b uxth r3, r3 + 800e898: e001 b.n 800e89e + 800e89a: f242 7310 movw r3, #10000 @ 0x2710 + 800e89e: 81fb strh r3, [r7, #14] dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); - 800df1c: 89fb ldrh r3, [r7, #14] - 800df1e: f203 13f3 addw r3, r3, #499 @ 0x1f3 - 800df22: 4a0a ldr r2, [pc, #40] @ (800df4c ) - 800df24: fb82 1203 smull r1, r2, r2, r3 - 800df28: 1152 asrs r2, r2, #5 - 800df2a: 17db asrs r3, r3, #31 - 800df2c: 1ad3 subs r3, r2, r3 - 800df2e: b29a uxth r2, r3 - 800df30: 69bb ldr r3, [r7, #24] - 800df32: 811a strh r2, [r3, #8] + 800e8a0: 89fb ldrh r3, [r7, #14] + 800e8a2: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 800e8a6: 4a0a ldr r2, [pc, #40] @ (800e8d0 ) + 800e8a8: fb82 1203 smull r1, r2, r2, r3 + 800e8ac: 1152 asrs r2, r2, #5 + 800e8ae: 17db asrs r3, r3, #31 + 800e8b0: 1ad3 subs r3, r2, r3 + 800e8b2: b29a uxth r2, r3 + 800e8b4: 69bb ldr r3, [r7, #24] + 800e8b6: 811a strh r2, [r3, #8] LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_reboot(): set request timeout %"U16_F" msecs\n", msecs)); return result; - 800df34: f997 301f ldrsb.w r3, [r7, #31] + 800e8b8: f997 301f ldrsb.w r3, [r7, #31] } - 800df38: 4618 mov r0, r3 - 800df3a: 3720 adds r7, #32 - 800df3c: 46bd mov sp, r7 - 800df3e: bdb0 pop {r4, r5, r7, pc} - 800df40: 2000002c .word 0x2000002c - 800df44: 2001912c .word 0x2001912c - 800df48: 08018ed8 .word 0x08018ed8 - 800df4c: 10624dd3 .word 0x10624dd3 + 800e8bc: 4618 mov r0, r3 + 800e8be: 3720 adds r7, #32 + 800e8c0: 46bd mov sp, r7 + 800e8c2: bdb0 pop {r4, r5, r7, pc} + 800e8c4: 2000002c .word 0x2000002c + 800e8c8: 20019160 .word 0x20019160 + 800e8cc: 08019858 .word 0x08019858 + 800e8d0: 10624dd3 .word 0x10624dd3 -0800df50 : +0800e8d4 : * * @param netif network interface */ void dhcp_release_and_stop(struct netif *netif) { - 800df50: b5b0 push {r4, r5, r7, lr} - 800df52: b08a sub sp, #40 @ 0x28 - 800df54: af02 add r7, sp, #8 - 800df56: 6078 str r0, [r7, #4] + 800e8d4: b5b0 push {r4, r5, r7, lr} + 800e8d6: b08a sub sp, #40 @ 0x28 + 800e8d8: af02 add r7, sp, #8 + 800e8da: 6078 str r0, [r7, #4] struct dhcp *dhcp = netif_dhcp_data(netif); - 800df58: 687b ldr r3, [r7, #4] - 800df5a: 6a5b ldr r3, [r3, #36] @ 0x24 - 800df5c: 61fb str r3, [r7, #28] + 800e8dc: 687b ldr r3, [r7, #4] + 800e8de: 6a5b ldr r3, [r3, #36] @ 0x24 + 800e8e0: 61fb str r3, [r7, #28] ip_addr_t server_ip_addr; LWIP_ASSERT_CORE_LOCKED(); LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_release_and_stop()\n")); if (dhcp == NULL) { - 800df5e: 69fb ldr r3, [r7, #28] - 800df60: 2b00 cmp r3, #0 - 800df62: f000 8084 beq.w 800e06e + 800e8e2: 69fb ldr r3, [r7, #28] + 800e8e4: 2b00 cmp r3, #0 + 800e8e6: f000 8084 beq.w 800e9f2 return; } /* already off? -> nothing to do */ if (dhcp->state == DHCP_STATE_OFF) { - 800df66: 69fb ldr r3, [r7, #28] - 800df68: 795b ldrb r3, [r3, #5] - 800df6a: 2b00 cmp r3, #0 - 800df6c: f000 8081 beq.w 800e072 + 800e8ea: 69fb ldr r3, [r7, #28] + 800e8ec: 795b ldrb r3, [r3, #5] + 800e8ee: 2b00 cmp r3, #0 + 800e8f0: f000 8081 beq.w 800e9f6 return; } ip_addr_copy(server_ip_addr, dhcp->server_ip_addr); - 800df70: 69fb ldr r3, [r7, #28] - 800df72: 699b ldr r3, [r3, #24] - 800df74: 613b str r3, [r7, #16] + 800e8f4: 69fb ldr r3, [r7, #28] + 800e8f6: 699b ldr r3, [r3, #24] + 800e8f8: 613b str r3, [r7, #16] /* clean old DHCP offer */ ip_addr_set_zero_ip4(&dhcp->server_ip_addr); - 800df76: 69fb ldr r3, [r7, #28] - 800df78: 2200 movs r2, #0 - 800df7a: 619a str r2, [r3, #24] + 800e8fa: 69fb ldr r3, [r7, #28] + 800e8fc: 2200 movs r2, #0 + 800e8fe: 619a str r2, [r3, #24] ip4_addr_set_zero(&dhcp->offered_ip_addr); - 800df7c: 69fb ldr r3, [r7, #28] - 800df7e: 2200 movs r2, #0 - 800df80: 61da str r2, [r3, #28] + 800e900: 69fb ldr r3, [r7, #28] + 800e902: 2200 movs r2, #0 + 800e904: 61da str r2, [r3, #28] ip4_addr_set_zero(&dhcp->offered_sn_mask); - 800df82: 69fb ldr r3, [r7, #28] - 800df84: 2200 movs r2, #0 - 800df86: 621a str r2, [r3, #32] + 800e906: 69fb ldr r3, [r7, #28] + 800e908: 2200 movs r2, #0 + 800e90a: 621a str r2, [r3, #32] ip4_addr_set_zero(&dhcp->offered_gw_addr); - 800df88: 69fb ldr r3, [r7, #28] - 800df8a: 2200 movs r2, #0 - 800df8c: 625a str r2, [r3, #36] @ 0x24 + 800e90c: 69fb ldr r3, [r7, #28] + 800e90e: 2200 movs r2, #0 + 800e910: 625a str r2, [r3, #36] @ 0x24 #if LWIP_DHCP_BOOTP_FILE ip4_addr_set_zero(&dhcp->offered_si_addr); #endif /* LWIP_DHCP_BOOTP_FILE */ dhcp->offered_t0_lease = dhcp->offered_t1_renew = dhcp->offered_t2_rebind = 0; - 800df8e: 69fb ldr r3, [r7, #28] - 800df90: 2200 movs r2, #0 - 800df92: 631a str r2, [r3, #48] @ 0x30 - 800df94: 69fb ldr r3, [r7, #28] - 800df96: 6b1a ldr r2, [r3, #48] @ 0x30 - 800df98: 69fb ldr r3, [r7, #28] - 800df9a: 62da str r2, [r3, #44] @ 0x2c - 800df9c: 69fb ldr r3, [r7, #28] - 800df9e: 6ada ldr r2, [r3, #44] @ 0x2c - 800dfa0: 69fb ldr r3, [r7, #28] - 800dfa2: 629a str r2, [r3, #40] @ 0x28 + 800e912: 69fb ldr r3, [r7, #28] + 800e914: 2200 movs r2, #0 + 800e916: 631a str r2, [r3, #48] @ 0x30 + 800e918: 69fb ldr r3, [r7, #28] + 800e91a: 6b1a ldr r2, [r3, #48] @ 0x30 + 800e91c: 69fb ldr r3, [r7, #28] + 800e91e: 62da str r2, [r3, #44] @ 0x2c + 800e920: 69fb ldr r3, [r7, #28] + 800e922: 6ada ldr r2, [r3, #44] @ 0x2c + 800e924: 69fb ldr r3, [r7, #28] + 800e926: 629a str r2, [r3, #40] @ 0x28 dhcp->t1_renew_time = dhcp->t2_rebind_time = dhcp->lease_used = dhcp->t0_timeout = 0; - 800dfa4: 69fb ldr r3, [r7, #28] - 800dfa6: 2200 movs r2, #0 - 800dfa8: 829a strh r2, [r3, #20] - 800dfaa: 69fb ldr r3, [r7, #28] - 800dfac: 8a9a ldrh r2, [r3, #20] - 800dfae: 69fb ldr r3, [r7, #28] - 800dfb0: 825a strh r2, [r3, #18] - 800dfb2: 69fb ldr r3, [r7, #28] - 800dfb4: 8a5a ldrh r2, [r3, #18] - 800dfb6: 69fb ldr r3, [r7, #28] - 800dfb8: 821a strh r2, [r3, #16] - 800dfba: 69fb ldr r3, [r7, #28] - 800dfbc: 8a1a ldrh r2, [r3, #16] - 800dfbe: 69fb ldr r3, [r7, #28] - 800dfc0: 81da strh r2, [r3, #14] + 800e928: 69fb ldr r3, [r7, #28] + 800e92a: 2200 movs r2, #0 + 800e92c: 829a strh r2, [r3, #20] + 800e92e: 69fb ldr r3, [r7, #28] + 800e930: 8a9a ldrh r2, [r3, #20] + 800e932: 69fb ldr r3, [r7, #28] + 800e934: 825a strh r2, [r3, #18] + 800e936: 69fb ldr r3, [r7, #28] + 800e938: 8a5a ldrh r2, [r3, #18] + 800e93a: 69fb ldr r3, [r7, #28] + 800e93c: 821a strh r2, [r3, #16] + 800e93e: 69fb ldr r3, [r7, #28] + 800e940: 8a1a ldrh r2, [r3, #16] + 800e942: 69fb ldr r3, [r7, #28] + 800e944: 81da strh r2, [r3, #14] /* send release message when current IP was assigned via DHCP */ if (dhcp_supplied_address(netif)) { - 800dfc2: 6878 ldr r0, [r7, #4] - 800dfc4: f000 fdee bl 800eba4 - 800dfc8: 4603 mov r3, r0 - 800dfca: 2b00 cmp r3, #0 - 800dfcc: d03b beq.n 800e046 + 800e946: 6878 ldr r0, [r7, #4] + 800e948: f000 fdee bl 800f528 + 800e94c: 4603 mov r3, r0 + 800e94e: 2b00 cmp r3, #0 + 800e950: d03b beq.n 800e9ca /* create and initialize the DHCP message header */ struct pbuf *p_out; u16_t options_out_len; p_out = dhcp_create_msg(netif, dhcp, DHCP_RELEASE, &options_out_len); - 800dfce: f107 030e add.w r3, r7, #14 - 800dfd2: 2207 movs r2, #7 - 800dfd4: 69f9 ldr r1, [r7, #28] - 800dfd6: 6878 ldr r0, [r7, #4] - 800dfd8: f000 fce0 bl 800e99c - 800dfdc: 61b8 str r0, [r7, #24] + 800e952: f107 030e add.w r3, r7, #14 + 800e956: 2207 movs r2, #7 + 800e958: 69f9 ldr r1, [r7, #28] + 800e95a: 6878 ldr r0, [r7, #4] + 800e95c: f000 fce0 bl 800f320 + 800e960: 61b8 str r0, [r7, #24] if (p_out != NULL) { - 800dfde: 69bb ldr r3, [r7, #24] - 800dfe0: 2b00 cmp r3, #0 - 800dfe2: d030 beq.n 800e046 + 800e962: 69bb ldr r3, [r7, #24] + 800e964: 2b00 cmp r3, #0 + 800e966: d030 beq.n 800e9ca struct dhcp_msg *msg_out = (struct dhcp_msg *)p_out->payload; - 800dfe4: 69bb ldr r3, [r7, #24] - 800dfe6: 685b ldr r3, [r3, #4] - 800dfe8: 617b str r3, [r7, #20] + 800e968: 69bb ldr r3, [r7, #24] + 800e96a: 685b ldr r3, [r3, #4] + 800e96c: 617b str r3, [r7, #20] options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_SERVER_ID, 4); - 800dfea: 89f8 ldrh r0, [r7, #14] - 800dfec: 697b ldr r3, [r7, #20] - 800dfee: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800dff2: 2304 movs r3, #4 - 800dff4: 2236 movs r2, #54 @ 0x36 - 800dff6: f000 f85f bl 800e0b8 - 800dffa: 4603 mov r3, r0 - 800dffc: 81fb strh r3, [r7, #14] + 800e96e: 89f8 ldrh r0, [r7, #14] + 800e970: 697b ldr r3, [r7, #20] + 800e972: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800e976: 2304 movs r3, #4 + 800e978: 2236 movs r2, #54 @ 0x36 + 800e97a: f000 f85f bl 800ea3c + 800e97e: 4603 mov r3, r0 + 800e980: 81fb strh r3, [r7, #14] options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&server_ip_addr)))); - 800dffe: 89fc ldrh r4, [r7, #14] - 800e000: 697b ldr r3, [r7, #20] - 800e002: f103 05f0 add.w r5, r3, #240 @ 0xf0 - 800e006: 693b ldr r3, [r7, #16] - 800e008: 4618 mov r0, r3 - 800e00a: f7f7 f9d2 bl 80053b2 - 800e00e: 4603 mov r3, r0 - 800e010: 461a mov r2, r3 - 800e012: 4629 mov r1, r5 - 800e014: 4620 mov r0, r4 - 800e016: f000 f8db bl 800e1d0 - 800e01a: 4603 mov r3, r0 - 800e01c: 81fb strh r3, [r7, #14] + 800e982: 89fc ldrh r4, [r7, #14] + 800e984: 697b ldr r3, [r7, #20] + 800e986: f103 05f0 add.w r5, r3, #240 @ 0xf0 + 800e98a: 693b ldr r3, [r7, #16] + 800e98c: 4618 mov r0, r3 + 800e98e: f7f7 f9d2 bl 8005d36 + 800e992: 4603 mov r3, r0 + 800e994: 461a mov r2, r3 + 800e996: 4629 mov r1, r5 + 800e998: 4620 mov r0, r4 + 800e99a: f000 f8db bl 800eb54 + 800e99e: 4603 mov r3, r0 + 800e9a0: 81fb strh r3, [r7, #14] LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, dhcp->state, msg_out, DHCP_RELEASE, &options_out_len); dhcp_option_trailer(options_out_len, msg_out->options, p_out); - 800e01e: 89f8 ldrh r0, [r7, #14] - 800e020: 697b ldr r3, [r7, #20] - 800e022: 33f0 adds r3, #240 @ 0xf0 - 800e024: 69ba ldr r2, [r7, #24] - 800e026: 4619 mov r1, r3 - 800e028: f000 fd8e bl 800eb48 + 800e9a2: 89f8 ldrh r0, [r7, #14] + 800e9a4: 697b ldr r3, [r7, #20] + 800e9a6: 33f0 adds r3, #240 @ 0xf0 + 800e9a8: 69ba ldr r2, [r7, #24] + 800e9aa: 4619 mov r1, r3 + 800e9ac: f000 fd8e bl 800f4cc udp_sendto_if(dhcp_pcb, p_out, &server_ip_addr, LWIP_IANA_PORT_DHCP_SERVER, netif); - 800e02c: 4b13 ldr r3, [pc, #76] @ (800e07c ) - 800e02e: 6818 ldr r0, [r3, #0] - 800e030: f107 0210 add.w r2, r7, #16 - 800e034: 687b ldr r3, [r7, #4] - 800e036: 9300 str r3, [sp, #0] - 800e038: 2343 movs r3, #67 @ 0x43 - 800e03a: 69b9 ldr r1, [r7, #24] - 800e03c: f7fe fc52 bl 800c8e4 + 800e9b0: 4b13 ldr r3, [pc, #76] @ (800ea00 ) + 800e9b2: 6818 ldr r0, [r3, #0] + 800e9b4: f107 0210 add.w r2, r7, #16 + 800e9b8: 687b ldr r3, [r7, #4] + 800e9ba: 9300 str r3, [sp, #0] + 800e9bc: 2343 movs r3, #67 @ 0x43 + 800e9be: 69b9 ldr r1, [r7, #24] + 800e9c0: f7fe fc52 bl 800d268 pbuf_free(p_out); - 800e040: 69b8 ldr r0, [r7, #24] - 800e042: f7f8 fcf1 bl 8006a28 + 800e9c4: 69b8 ldr r0, [r7, #24] + 800e9c6: f7f8 fcf1 bl 80073ac LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_release: could not allocate DHCP request\n")); } } /* remove IP address from interface (prevents routing from selecting this interface) */ netif_set_addr(netif, IP4_ADDR_ANY4, IP4_ADDR_ANY4, IP4_ADDR_ANY4); - 800e046: 4b0e ldr r3, [pc, #56] @ (800e080 ) - 800e048: 4a0d ldr r2, [pc, #52] @ (800e080 ) - 800e04a: 490d ldr r1, [pc, #52] @ (800e080 ) - 800e04c: 6878 ldr r0, [r7, #4] - 800e04e: f7f8 f80d bl 800606c + 800e9ca: 4b0e ldr r3, [pc, #56] @ (800ea04 ) + 800e9cc: 4a0d ldr r2, [pc, #52] @ (800ea04 ) + 800e9ce: 490d ldr r1, [pc, #52] @ (800ea04 ) + 800e9d0: 6878 ldr r0, [r7, #4] + 800e9d2: f7f8 f80d bl 80069f0 autoip_stop(netif); dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_OFF; } #endif /* LWIP_DHCP_AUTOIP_COOP */ dhcp_set_state(dhcp, DHCP_STATE_OFF); - 800e052: 2100 movs r1, #0 - 800e054: 69f8 ldr r0, [r7, #28] - 800e056: f000 f815 bl 800e084 + 800e9d6: 2100 movs r1, #0 + 800e9d8: 69f8 ldr r0, [r7, #28] + 800e9da: f000 f815 bl 800ea08 if (dhcp->pcb_allocated != 0) { - 800e05a: 69fb ldr r3, [r7, #28] - 800e05c: 791b ldrb r3, [r3, #4] - 800e05e: 2b00 cmp r3, #0 - 800e060: d008 beq.n 800e074 + 800e9de: 69fb ldr r3, [r7, #28] + 800e9e0: 791b ldrb r3, [r3, #4] + 800e9e2: 2b00 cmp r3, #0 + 800e9e4: d008 beq.n 800e9f8 dhcp_dec_pcb_refcount(); /* free DHCP PCB if not needed any more */ - 800e062: f7fe ff8b bl 800cf7c + 800e9e6: f7fe ff8b bl 800d900 dhcp->pcb_allocated = 0; - 800e066: 69fb ldr r3, [r7, #28] - 800e068: 2200 movs r2, #0 - 800e06a: 711a strb r2, [r3, #4] - 800e06c: e002 b.n 800e074 + 800e9ea: 69fb ldr r3, [r7, #28] + 800e9ec: 2200 movs r2, #0 + 800e9ee: 711a strb r2, [r3, #4] + 800e9f0: e002 b.n 800e9f8 return; - 800e06e: bf00 nop - 800e070: e000 b.n 800e074 + 800e9f2: bf00 nop + 800e9f4: e000 b.n 800e9f8 return; - 800e072: bf00 nop + 800e9f6: bf00 nop } } - 800e074: 3720 adds r7, #32 - 800e076: 46bd mov sp, r7 - 800e078: bdb0 pop {r4, r5, r7, pc} - 800e07a: bf00 nop - 800e07c: 2001912c .word 0x2001912c - 800e080: 08018ed4 .word 0x08018ed4 + 800e9f8: 3720 adds r7, #32 + 800e9fa: 46bd mov sp, r7 + 800e9fc: bdb0 pop {r4, r5, r7, pc} + 800e9fe: bf00 nop + 800ea00: 20019160 .word 0x20019160 + 800ea04: 08019854 .word 0x08019854 -0800e084 : +0800ea08 : * * If the state changed, reset the number of tries. */ static void dhcp_set_state(struct dhcp *dhcp, u8_t new_state) { - 800e084: b480 push {r7} - 800e086: b083 sub sp, #12 - 800e088: af00 add r7, sp, #0 - 800e08a: 6078 str r0, [r7, #4] - 800e08c: 460b mov r3, r1 - 800e08e: 70fb strb r3, [r7, #3] + 800ea08: b480 push {r7} + 800ea0a: b083 sub sp, #12 + 800ea0c: af00 add r7, sp, #0 + 800ea0e: 6078 str r0, [r7, #4] + 800ea10: 460b mov r3, r1 + 800ea12: 70fb strb r3, [r7, #3] if (new_state != dhcp->state) { - 800e090: 687b ldr r3, [r7, #4] - 800e092: 795b ldrb r3, [r3, #5] - 800e094: 78fa ldrb r2, [r7, #3] - 800e096: 429a cmp r2, r3 - 800e098: d008 beq.n 800e0ac + 800ea14: 687b ldr r3, [r7, #4] + 800ea16: 795b ldrb r3, [r3, #5] + 800ea18: 78fa ldrb r2, [r7, #3] + 800ea1a: 429a cmp r2, r3 + 800ea1c: d008 beq.n 800ea30 dhcp->state = new_state; - 800e09a: 687b ldr r3, [r7, #4] - 800e09c: 78fa ldrb r2, [r7, #3] - 800e09e: 715a strb r2, [r3, #5] + 800ea1e: 687b ldr r3, [r7, #4] + 800ea20: 78fa ldrb r2, [r7, #3] + 800ea22: 715a strb r2, [r3, #5] dhcp->tries = 0; - 800e0a0: 687b ldr r3, [r7, #4] - 800e0a2: 2200 movs r2, #0 - 800e0a4: 719a strb r2, [r3, #6] + 800ea24: 687b ldr r3, [r7, #4] + 800ea26: 2200 movs r2, #0 + 800ea28: 719a strb r2, [r3, #6] dhcp->request_timeout = 0; - 800e0a6: 687b ldr r3, [r7, #4] - 800e0a8: 2200 movs r2, #0 - 800e0aa: 811a strh r2, [r3, #8] + 800ea2a: 687b ldr r3, [r7, #4] + 800ea2c: 2200 movs r2, #0 + 800ea2e: 811a strh r2, [r3, #8] } } - 800e0ac: bf00 nop - 800e0ae: 370c adds r7, #12 - 800e0b0: 46bd mov sp, r7 - 800e0b2: f85d 7b04 ldr.w r7, [sp], #4 - 800e0b6: 4770 bx lr + 800ea30: bf00 nop + 800ea32: 370c adds r7, #12 + 800ea34: 46bd mov sp, r7 + 800ea36: f85d 7b04 ldr.w r7, [sp], #4 + 800ea3a: 4770 bx lr -0800e0b8 : +0800ea3c : * DHCP message. * */ static u16_t dhcp_option(u16_t options_out_len, u8_t *options, u8_t option_type, u8_t option_len) { - 800e0b8: b580 push {r7, lr} - 800e0ba: b082 sub sp, #8 - 800e0bc: af00 add r7, sp, #0 - 800e0be: 6039 str r1, [r7, #0] - 800e0c0: 4611 mov r1, r2 - 800e0c2: 461a mov r2, r3 - 800e0c4: 4603 mov r3, r0 - 800e0c6: 80fb strh r3, [r7, #6] - 800e0c8: 460b mov r3, r1 - 800e0ca: 717b strb r3, [r7, #5] - 800e0cc: 4613 mov r3, r2 - 800e0ce: 713b strb r3, [r7, #4] + 800ea3c: b580 push {r7, lr} + 800ea3e: b082 sub sp, #8 + 800ea40: af00 add r7, sp, #0 + 800ea42: 6039 str r1, [r7, #0] + 800ea44: 4611 mov r1, r2 + 800ea46: 461a mov r2, r3 + 800ea48: 4603 mov r3, r0 + 800ea4a: 80fb strh r3, [r7, #6] + 800ea4c: 460b mov r3, r1 + 800ea4e: 717b strb r3, [r7, #5] + 800ea50: 4613 mov r3, r2 + 800ea52: 713b strb r3, [r7, #4] LWIP_ASSERT("dhcp_option: options_out_len + 2 + option_len <= DHCP_OPTIONS_LEN", options_out_len + 2U + option_len <= DHCP_OPTIONS_LEN); - 800e0d0: 88fa ldrh r2, [r7, #6] - 800e0d2: 793b ldrb r3, [r7, #4] - 800e0d4: 4413 add r3, r2 - 800e0d6: 3302 adds r3, #2 - 800e0d8: 2b44 cmp r3, #68 @ 0x44 - 800e0da: d906 bls.n 800e0ea - 800e0dc: 4b0d ldr r3, [pc, #52] @ (800e114 ) - 800e0de: f240 529a movw r2, #1434 @ 0x59a - 800e0e2: 490d ldr r1, [pc, #52] @ (800e118 ) - 800e0e4: 480d ldr r0, [pc, #52] @ (800e11c ) - 800e0e6: f003 fa87 bl 80115f8 + 800ea54: 88fa ldrh r2, [r7, #6] + 800ea56: 793b ldrb r3, [r7, #4] + 800ea58: 4413 add r3, r2 + 800ea5a: 3302 adds r3, #2 + 800ea5c: 2b44 cmp r3, #68 @ 0x44 + 800ea5e: d906 bls.n 800ea6e + 800ea60: 4b0d ldr r3, [pc, #52] @ (800ea98 ) + 800ea62: f240 529a movw r2, #1434 @ 0x59a + 800ea66: 490d ldr r1, [pc, #52] @ (800ea9c ) + 800ea68: 480d ldr r0, [pc, #52] @ (800eaa0 ) + 800ea6a: f003 fa87 bl 8011f7c options[options_out_len++] = option_type; - 800e0ea: 88fb ldrh r3, [r7, #6] - 800e0ec: 1c5a adds r2, r3, #1 - 800e0ee: 80fa strh r2, [r7, #6] - 800e0f0: 461a mov r2, r3 - 800e0f2: 683b ldr r3, [r7, #0] - 800e0f4: 4413 add r3, r2 - 800e0f6: 797a ldrb r2, [r7, #5] - 800e0f8: 701a strb r2, [r3, #0] + 800ea6e: 88fb ldrh r3, [r7, #6] + 800ea70: 1c5a adds r2, r3, #1 + 800ea72: 80fa strh r2, [r7, #6] + 800ea74: 461a mov r2, r3 + 800ea76: 683b ldr r3, [r7, #0] + 800ea78: 4413 add r3, r2 + 800ea7a: 797a ldrb r2, [r7, #5] + 800ea7c: 701a strb r2, [r3, #0] options[options_out_len++] = option_len; - 800e0fa: 88fb ldrh r3, [r7, #6] - 800e0fc: 1c5a adds r2, r3, #1 - 800e0fe: 80fa strh r2, [r7, #6] - 800e100: 461a mov r2, r3 - 800e102: 683b ldr r3, [r7, #0] - 800e104: 4413 add r3, r2 - 800e106: 793a ldrb r2, [r7, #4] - 800e108: 701a strb r2, [r3, #0] + 800ea7e: 88fb ldrh r3, [r7, #6] + 800ea80: 1c5a adds r2, r3, #1 + 800ea82: 80fa strh r2, [r7, #6] + 800ea84: 461a mov r2, r3 + 800ea86: 683b ldr r3, [r7, #0] + 800ea88: 4413 add r3, r2 + 800ea8a: 793a ldrb r2, [r7, #4] + 800ea8c: 701a strb r2, [r3, #0] return options_out_len; - 800e10a: 88fb ldrh r3, [r7, #6] + 800ea8e: 88fb ldrh r3, [r7, #6] } - 800e10c: 4618 mov r0, r3 - 800e10e: 3708 adds r7, #8 - 800e110: 46bd mov sp, r7 - 800e112: bd80 pop {r7, pc} - 800e114: 08018304 .word 0x08018304 - 800e118: 08018498 .word 0x08018498 - 800e11c: 08018364 .word 0x08018364 + 800ea90: 4618 mov r0, r3 + 800ea92: 3708 adds r7, #8 + 800ea94: 46bd mov sp, r7 + 800ea96: bd80 pop {r7, pc} + 800ea98: 08018c84 .word 0x08018c84 + 800ea9c: 08018e18 .word 0x08018e18 + 800eaa0: 08018ce4 .word 0x08018ce4 -0800e120 : +0800eaa4 : * Concatenate a single byte to the outgoing DHCP message. * */ static u16_t dhcp_option_byte(u16_t options_out_len, u8_t *options, u8_t value) { - 800e120: b580 push {r7, lr} - 800e122: b082 sub sp, #8 - 800e124: af00 add r7, sp, #0 - 800e126: 4603 mov r3, r0 - 800e128: 6039 str r1, [r7, #0] - 800e12a: 80fb strh r3, [r7, #6] - 800e12c: 4613 mov r3, r2 - 800e12e: 717b strb r3, [r7, #5] + 800eaa4: b580 push {r7, lr} + 800eaa6: b082 sub sp, #8 + 800eaa8: af00 add r7, sp, #0 + 800eaaa: 4603 mov r3, r0 + 800eaac: 6039 str r1, [r7, #0] + 800eaae: 80fb strh r3, [r7, #6] + 800eab0: 4613 mov r3, r2 + 800eab2: 717b strb r3, [r7, #5] LWIP_ASSERT("dhcp_option_byte: options_out_len < DHCP_OPTIONS_LEN", options_out_len < DHCP_OPTIONS_LEN); - 800e130: 88fb ldrh r3, [r7, #6] - 800e132: 2b43 cmp r3, #67 @ 0x43 - 800e134: d906 bls.n 800e144 - 800e136: 4b0a ldr r3, [pc, #40] @ (800e160 ) - 800e138: f240 52a6 movw r2, #1446 @ 0x5a6 - 800e13c: 4909 ldr r1, [pc, #36] @ (800e164 ) - 800e13e: 480a ldr r0, [pc, #40] @ (800e168 ) - 800e140: f003 fa5a bl 80115f8 + 800eab4: 88fb ldrh r3, [r7, #6] + 800eab6: 2b43 cmp r3, #67 @ 0x43 + 800eab8: d906 bls.n 800eac8 + 800eaba: 4b0a ldr r3, [pc, #40] @ (800eae4 ) + 800eabc: f240 52a6 movw r2, #1446 @ 0x5a6 + 800eac0: 4909 ldr r1, [pc, #36] @ (800eae8 ) + 800eac2: 480a ldr r0, [pc, #40] @ (800eaec ) + 800eac4: f003 fa5a bl 8011f7c options[options_out_len++] = value; - 800e144: 88fb ldrh r3, [r7, #6] - 800e146: 1c5a adds r2, r3, #1 - 800e148: 80fa strh r2, [r7, #6] - 800e14a: 461a mov r2, r3 - 800e14c: 683b ldr r3, [r7, #0] - 800e14e: 4413 add r3, r2 - 800e150: 797a ldrb r2, [r7, #5] - 800e152: 701a strb r2, [r3, #0] + 800eac8: 88fb ldrh r3, [r7, #6] + 800eaca: 1c5a adds r2, r3, #1 + 800eacc: 80fa strh r2, [r7, #6] + 800eace: 461a mov r2, r3 + 800ead0: 683b ldr r3, [r7, #0] + 800ead2: 4413 add r3, r2 + 800ead4: 797a ldrb r2, [r7, #5] + 800ead6: 701a strb r2, [r3, #0] return options_out_len; - 800e154: 88fb ldrh r3, [r7, #6] + 800ead8: 88fb ldrh r3, [r7, #6] } - 800e156: 4618 mov r0, r3 - 800e158: 3708 adds r7, #8 - 800e15a: 46bd mov sp, r7 - 800e15c: bd80 pop {r7, pc} - 800e15e: bf00 nop - 800e160: 08018304 .word 0x08018304 - 800e164: 080184dc .word 0x080184dc - 800e168: 08018364 .word 0x08018364 + 800eada: 4618 mov r0, r3 + 800eadc: 3708 adds r7, #8 + 800eade: 46bd mov sp, r7 + 800eae0: bd80 pop {r7, pc} + 800eae2: bf00 nop + 800eae4: 08018c84 .word 0x08018c84 + 800eae8: 08018e5c .word 0x08018e5c + 800eaec: 08018ce4 .word 0x08018ce4 -0800e16c : +0800eaf0 : static u16_t dhcp_option_short(u16_t options_out_len, u8_t *options, u16_t value) { - 800e16c: b580 push {r7, lr} - 800e16e: b082 sub sp, #8 - 800e170: af00 add r7, sp, #0 - 800e172: 4603 mov r3, r0 - 800e174: 6039 str r1, [r7, #0] - 800e176: 80fb strh r3, [r7, #6] - 800e178: 4613 mov r3, r2 - 800e17a: 80bb strh r3, [r7, #4] + 800eaf0: b580 push {r7, lr} + 800eaf2: b082 sub sp, #8 + 800eaf4: af00 add r7, sp, #0 + 800eaf6: 4603 mov r3, r0 + 800eaf8: 6039 str r1, [r7, #0] + 800eafa: 80fb strh r3, [r7, #6] + 800eafc: 4613 mov r3, r2 + 800eafe: 80bb strh r3, [r7, #4] LWIP_ASSERT("dhcp_option_short: options_out_len + 2 <= DHCP_OPTIONS_LEN", options_out_len + 2U <= DHCP_OPTIONS_LEN); - 800e17c: 88fb ldrh r3, [r7, #6] - 800e17e: 3302 adds r3, #2 - 800e180: 2b44 cmp r3, #68 @ 0x44 - 800e182: d906 bls.n 800e192 - 800e184: 4b0f ldr r3, [pc, #60] @ (800e1c4 ) - 800e186: f240 52ae movw r2, #1454 @ 0x5ae - 800e18a: 490f ldr r1, [pc, #60] @ (800e1c8 ) - 800e18c: 480f ldr r0, [pc, #60] @ (800e1cc ) - 800e18e: f003 fa33 bl 80115f8 + 800eb00: 88fb ldrh r3, [r7, #6] + 800eb02: 3302 adds r3, #2 + 800eb04: 2b44 cmp r3, #68 @ 0x44 + 800eb06: d906 bls.n 800eb16 + 800eb08: 4b0f ldr r3, [pc, #60] @ (800eb48 ) + 800eb0a: f240 52ae movw r2, #1454 @ 0x5ae + 800eb0e: 490f ldr r1, [pc, #60] @ (800eb4c ) + 800eb10: 480f ldr r0, [pc, #60] @ (800eb50 ) + 800eb12: f003 fa33 bl 8011f7c options[options_out_len++] = (u8_t)((value & 0xff00U) >> 8); - 800e192: 88bb ldrh r3, [r7, #4] - 800e194: 0a1b lsrs r3, r3, #8 - 800e196: b29a uxth r2, r3 - 800e198: 88fb ldrh r3, [r7, #6] - 800e19a: 1c59 adds r1, r3, #1 - 800e19c: 80f9 strh r1, [r7, #6] - 800e19e: 4619 mov r1, r3 - 800e1a0: 683b ldr r3, [r7, #0] - 800e1a2: 440b add r3, r1 - 800e1a4: b2d2 uxtb r2, r2 - 800e1a6: 701a strb r2, [r3, #0] + 800eb16: 88bb ldrh r3, [r7, #4] + 800eb18: 0a1b lsrs r3, r3, #8 + 800eb1a: b29a uxth r2, r3 + 800eb1c: 88fb ldrh r3, [r7, #6] + 800eb1e: 1c59 adds r1, r3, #1 + 800eb20: 80f9 strh r1, [r7, #6] + 800eb22: 4619 mov r1, r3 + 800eb24: 683b ldr r3, [r7, #0] + 800eb26: 440b add r3, r1 + 800eb28: b2d2 uxtb r2, r2 + 800eb2a: 701a strb r2, [r3, #0] options[options_out_len++] = (u8_t) (value & 0x00ffU); - 800e1a8: 88fb ldrh r3, [r7, #6] - 800e1aa: 1c5a adds r2, r3, #1 - 800e1ac: 80fa strh r2, [r7, #6] - 800e1ae: 461a mov r2, r3 - 800e1b0: 683b ldr r3, [r7, #0] - 800e1b2: 4413 add r3, r2 - 800e1b4: 88ba ldrh r2, [r7, #4] - 800e1b6: b2d2 uxtb r2, r2 - 800e1b8: 701a strb r2, [r3, #0] + 800eb2c: 88fb ldrh r3, [r7, #6] + 800eb2e: 1c5a adds r2, r3, #1 + 800eb30: 80fa strh r2, [r7, #6] + 800eb32: 461a mov r2, r3 + 800eb34: 683b ldr r3, [r7, #0] + 800eb36: 4413 add r3, r2 + 800eb38: 88ba ldrh r2, [r7, #4] + 800eb3a: b2d2 uxtb r2, r2 + 800eb3c: 701a strb r2, [r3, #0] return options_out_len; - 800e1ba: 88fb ldrh r3, [r7, #6] + 800eb3e: 88fb ldrh r3, [r7, #6] } - 800e1bc: 4618 mov r0, r3 - 800e1be: 3708 adds r7, #8 - 800e1c0: 46bd mov sp, r7 - 800e1c2: bd80 pop {r7, pc} - 800e1c4: 08018304 .word 0x08018304 - 800e1c8: 08018514 .word 0x08018514 - 800e1cc: 08018364 .word 0x08018364 + 800eb40: 4618 mov r0, r3 + 800eb42: 3708 adds r7, #8 + 800eb44: 46bd mov sp, r7 + 800eb46: bd80 pop {r7, pc} + 800eb48: 08018c84 .word 0x08018c84 + 800eb4c: 08018e94 .word 0x08018e94 + 800eb50: 08018ce4 .word 0x08018ce4 -0800e1d0 : +0800eb54 : static u16_t dhcp_option_long(u16_t options_out_len, u8_t *options, u32_t value) { - 800e1d0: b580 push {r7, lr} - 800e1d2: b084 sub sp, #16 - 800e1d4: af00 add r7, sp, #0 - 800e1d6: 4603 mov r3, r0 - 800e1d8: 60b9 str r1, [r7, #8] - 800e1da: 607a str r2, [r7, #4] - 800e1dc: 81fb strh r3, [r7, #14] + 800eb54: b580 push {r7, lr} + 800eb56: b084 sub sp, #16 + 800eb58: af00 add r7, sp, #0 + 800eb5a: 4603 mov r3, r0 + 800eb5c: 60b9 str r1, [r7, #8] + 800eb5e: 607a str r2, [r7, #4] + 800eb60: 81fb strh r3, [r7, #14] LWIP_ASSERT("dhcp_option_long: options_out_len + 4 <= DHCP_OPTIONS_LEN", options_out_len + 4U <= DHCP_OPTIONS_LEN); - 800e1de: 89fb ldrh r3, [r7, #14] - 800e1e0: 3304 adds r3, #4 - 800e1e2: 2b44 cmp r3, #68 @ 0x44 - 800e1e4: d906 bls.n 800e1f4 - 800e1e6: 4b19 ldr r3, [pc, #100] @ (800e24c ) - 800e1e8: f240 52b7 movw r2, #1463 @ 0x5b7 - 800e1ec: 4918 ldr r1, [pc, #96] @ (800e250 ) - 800e1ee: 4819 ldr r0, [pc, #100] @ (800e254 ) - 800e1f0: f003 fa02 bl 80115f8 + 800eb62: 89fb ldrh r3, [r7, #14] + 800eb64: 3304 adds r3, #4 + 800eb66: 2b44 cmp r3, #68 @ 0x44 + 800eb68: d906 bls.n 800eb78 + 800eb6a: 4b19 ldr r3, [pc, #100] @ (800ebd0 ) + 800eb6c: f240 52b7 movw r2, #1463 @ 0x5b7 + 800eb70: 4918 ldr r1, [pc, #96] @ (800ebd4 ) + 800eb72: 4819 ldr r0, [pc, #100] @ (800ebd8 ) + 800eb74: f003 fa02 bl 8011f7c options[options_out_len++] = (u8_t)((value & 0xff000000UL) >> 24); - 800e1f4: 687b ldr r3, [r7, #4] - 800e1f6: 0e1a lsrs r2, r3, #24 - 800e1f8: 89fb ldrh r3, [r7, #14] - 800e1fa: 1c59 adds r1, r3, #1 - 800e1fc: 81f9 strh r1, [r7, #14] - 800e1fe: 4619 mov r1, r3 - 800e200: 68bb ldr r3, [r7, #8] - 800e202: 440b add r3, r1 - 800e204: b2d2 uxtb r2, r2 - 800e206: 701a strb r2, [r3, #0] + 800eb78: 687b ldr r3, [r7, #4] + 800eb7a: 0e1a lsrs r2, r3, #24 + 800eb7c: 89fb ldrh r3, [r7, #14] + 800eb7e: 1c59 adds r1, r3, #1 + 800eb80: 81f9 strh r1, [r7, #14] + 800eb82: 4619 mov r1, r3 + 800eb84: 68bb ldr r3, [r7, #8] + 800eb86: 440b add r3, r1 + 800eb88: b2d2 uxtb r2, r2 + 800eb8a: 701a strb r2, [r3, #0] options[options_out_len++] = (u8_t)((value & 0x00ff0000UL) >> 16); - 800e208: 687b ldr r3, [r7, #4] - 800e20a: 0c1a lsrs r2, r3, #16 - 800e20c: 89fb ldrh r3, [r7, #14] - 800e20e: 1c59 adds r1, r3, #1 - 800e210: 81f9 strh r1, [r7, #14] - 800e212: 4619 mov r1, r3 - 800e214: 68bb ldr r3, [r7, #8] - 800e216: 440b add r3, r1 - 800e218: b2d2 uxtb r2, r2 - 800e21a: 701a strb r2, [r3, #0] + 800eb8c: 687b ldr r3, [r7, #4] + 800eb8e: 0c1a lsrs r2, r3, #16 + 800eb90: 89fb ldrh r3, [r7, #14] + 800eb92: 1c59 adds r1, r3, #1 + 800eb94: 81f9 strh r1, [r7, #14] + 800eb96: 4619 mov r1, r3 + 800eb98: 68bb ldr r3, [r7, #8] + 800eb9a: 440b add r3, r1 + 800eb9c: b2d2 uxtb r2, r2 + 800eb9e: 701a strb r2, [r3, #0] options[options_out_len++] = (u8_t)((value & 0x0000ff00UL) >> 8); - 800e21c: 687b ldr r3, [r7, #4] - 800e21e: 0a1a lsrs r2, r3, #8 - 800e220: 89fb ldrh r3, [r7, #14] - 800e222: 1c59 adds r1, r3, #1 - 800e224: 81f9 strh r1, [r7, #14] - 800e226: 4619 mov r1, r3 - 800e228: 68bb ldr r3, [r7, #8] - 800e22a: 440b add r3, r1 - 800e22c: b2d2 uxtb r2, r2 - 800e22e: 701a strb r2, [r3, #0] + 800eba0: 687b ldr r3, [r7, #4] + 800eba2: 0a1a lsrs r2, r3, #8 + 800eba4: 89fb ldrh r3, [r7, #14] + 800eba6: 1c59 adds r1, r3, #1 + 800eba8: 81f9 strh r1, [r7, #14] + 800ebaa: 4619 mov r1, r3 + 800ebac: 68bb ldr r3, [r7, #8] + 800ebae: 440b add r3, r1 + 800ebb0: b2d2 uxtb r2, r2 + 800ebb2: 701a strb r2, [r3, #0] options[options_out_len++] = (u8_t)((value & 0x000000ffUL)); - 800e230: 89fb ldrh r3, [r7, #14] - 800e232: 1c5a adds r2, r3, #1 - 800e234: 81fa strh r2, [r7, #14] - 800e236: 461a mov r2, r3 - 800e238: 68bb ldr r3, [r7, #8] - 800e23a: 4413 add r3, r2 - 800e23c: 687a ldr r2, [r7, #4] - 800e23e: b2d2 uxtb r2, r2 - 800e240: 701a strb r2, [r3, #0] + 800ebb4: 89fb ldrh r3, [r7, #14] + 800ebb6: 1c5a adds r2, r3, #1 + 800ebb8: 81fa strh r2, [r7, #14] + 800ebba: 461a mov r2, r3 + 800ebbc: 68bb ldr r3, [r7, #8] + 800ebbe: 4413 add r3, r2 + 800ebc0: 687a ldr r2, [r7, #4] + 800ebc2: b2d2 uxtb r2, r2 + 800ebc4: 701a strb r2, [r3, #0] return options_out_len; - 800e242: 89fb ldrh r3, [r7, #14] + 800ebc6: 89fb ldrh r3, [r7, #14] } - 800e244: 4618 mov r0, r3 - 800e246: 3710 adds r7, #16 - 800e248: 46bd mov sp, r7 - 800e24a: bd80 pop {r7, pc} - 800e24c: 08018304 .word 0x08018304 - 800e250: 08018550 .word 0x08018550 - 800e254: 08018364 .word 0x08018364 + 800ebc8: 4618 mov r0, r3 + 800ebca: 3710 adds r7, #16 + 800ebcc: 46bd mov sp, r7 + 800ebce: bd80 pop {r7, pc} + 800ebd0: 08018c84 .word 0x08018c84 + 800ebd4: 08018ed0 .word 0x08018ed0 + 800ebd8: 08018ce4 .word 0x08018ce4 -0800e258 : +0800ebdc : * use that further on. * */ static err_t dhcp_parse_reply(struct pbuf *p, struct dhcp *dhcp) { - 800e258: b580 push {r7, lr} - 800e25a: b090 sub sp, #64 @ 0x40 - 800e25c: af00 add r7, sp, #0 - 800e25e: 6078 str r0, [r7, #4] - 800e260: 6039 str r1, [r7, #0] + 800ebdc: b580 push {r7, lr} + 800ebde: b090 sub sp, #64 @ 0x40 + 800ebe0: af00 add r7, sp, #0 + 800ebe2: 6078 str r0, [r7, #4] + 800ebe4: 6039 str r1, [r7, #0] u16_t offset; u16_t offset_max; u16_t options_idx; u16_t options_idx_max; struct pbuf *q; int parse_file_as_options = 0; - 800e262: 2300 movs r3, #0 - 800e264: 62fb str r3, [r7, #44] @ 0x2c + 800ebe6: 2300 movs r3, #0 + 800ebe8: 62fb str r3, [r7, #44] @ 0x2c int parse_sname_as_options = 0; - 800e266: 2300 movs r3, #0 - 800e268: 62bb str r3, [r7, #40] @ 0x28 + 800ebea: 2300 movs r3, #0 + 800ebec: 62bb str r3, [r7, #40] @ 0x28 #endif LWIP_UNUSED_ARG(dhcp); /* clear received options */ dhcp_clear_all_options(dhcp); - 800e26a: 2208 movs r2, #8 - 800e26c: 2100 movs r1, #0 - 800e26e: 48b5 ldr r0, [pc, #724] @ (800e544 ) - 800e270: f003 fa41 bl 80116f6 + 800ebee: 2208 movs r2, #8 + 800ebf0: 2100 movs r1, #0 + 800ebf2: 48b5 ldr r0, [pc, #724] @ (800eec8 ) + 800ebf4: f003 fa41 bl 801207a /* check that beginning of dhcp_msg (up to and including chaddr) is in first pbuf */ if (p->len < DHCP_SNAME_OFS) { - 800e274: 687b ldr r3, [r7, #4] - 800e276: 895b ldrh r3, [r3, #10] - 800e278: 2b2b cmp r3, #43 @ 0x2b - 800e27a: d802 bhi.n 800e282 + 800ebf8: 687b ldr r3, [r7, #4] + 800ebfa: 895b ldrh r3, [r3, #10] + 800ebfc: 2b2b cmp r3, #43 @ 0x2b + 800ebfe: d802 bhi.n 800ec06 return ERR_BUF; - 800e27c: f06f 0301 mvn.w r3, #1 - 800e280: e2a7 b.n 800e7d2 + 800ec00: f06f 0301 mvn.w r3, #1 + 800ec04: e2a7 b.n 800f156 } msg_in = (struct dhcp_msg *)p->payload; - 800e282: 687b ldr r3, [r7, #4] - 800e284: 685b ldr r3, [r3, #4] - 800e286: 61bb str r3, [r7, #24] + 800ec06: 687b ldr r3, [r7, #4] + 800ec08: 685b ldr r3, [r3, #4] + 800ec0a: 61bb str r3, [r7, #24] #endif /* LWIP_DHCP_BOOTP_FILE */ /* parse options */ /* start with options field */ options_idx = DHCP_OPTIONS_OFS; - 800e288: 23f0 movs r3, #240 @ 0xf0 - 800e28a: 86fb strh r3, [r7, #54] @ 0x36 + 800ec0c: 23f0 movs r3, #240 @ 0xf0 + 800ec0e: 86fb strh r3, [r7, #54] @ 0x36 /* parse options to the end of the received packet */ options_idx_max = p->tot_len; - 800e28c: 687b ldr r3, [r7, #4] - 800e28e: 891b ldrh r3, [r3, #8] - 800e290: 86bb strh r3, [r7, #52] @ 0x34 + 800ec10: 687b ldr r3, [r7, #4] + 800ec12: 891b ldrh r3, [r3, #8] + 800ec14: 86bb strh r3, [r7, #52] @ 0x34 again: q = p; - 800e292: 687b ldr r3, [r7, #4] - 800e294: 633b str r3, [r7, #48] @ 0x30 + 800ec16: 687b ldr r3, [r7, #4] + 800ec18: 633b str r3, [r7, #48] @ 0x30 while ((q != NULL) && (options_idx >= q->len)) { - 800e296: e00c b.n 800e2b2 + 800ec1a: e00c b.n 800ec36 options_idx = (u16_t)(options_idx - q->len); - 800e298: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e29a: 895b ldrh r3, [r3, #10] - 800e29c: 8efa ldrh r2, [r7, #54] @ 0x36 - 800e29e: 1ad3 subs r3, r2, r3 - 800e2a0: 86fb strh r3, [r7, #54] @ 0x36 + 800ec1c: 6b3b ldr r3, [r7, #48] @ 0x30 + 800ec1e: 895b ldrh r3, [r3, #10] + 800ec20: 8efa ldrh r2, [r7, #54] @ 0x36 + 800ec22: 1ad3 subs r3, r2, r3 + 800ec24: 86fb strh r3, [r7, #54] @ 0x36 options_idx_max = (u16_t)(options_idx_max - q->len); - 800e2a2: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e2a4: 895b ldrh r3, [r3, #10] - 800e2a6: 8eba ldrh r2, [r7, #52] @ 0x34 - 800e2a8: 1ad3 subs r3, r2, r3 - 800e2aa: 86bb strh r3, [r7, #52] @ 0x34 + 800ec26: 6b3b ldr r3, [r7, #48] @ 0x30 + 800ec28: 895b ldrh r3, [r3, #10] + 800ec2a: 8eba ldrh r2, [r7, #52] @ 0x34 + 800ec2c: 1ad3 subs r3, r2, r3 + 800ec2e: 86bb strh r3, [r7, #52] @ 0x34 q = q->next; - 800e2ac: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e2ae: 681b ldr r3, [r3, #0] - 800e2b0: 633b str r3, [r7, #48] @ 0x30 + 800ec30: 6b3b ldr r3, [r7, #48] @ 0x30 + 800ec32: 681b ldr r3, [r3, #0] + 800ec34: 633b str r3, [r7, #48] @ 0x30 while ((q != NULL) && (options_idx >= q->len)) { - 800e2b2: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e2b4: 2b00 cmp r3, #0 - 800e2b6: d004 beq.n 800e2c2 - 800e2b8: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e2ba: 895b ldrh r3, [r3, #10] - 800e2bc: 8efa ldrh r2, [r7, #54] @ 0x36 - 800e2be: 429a cmp r2, r3 - 800e2c0: d2ea bcs.n 800e298 + 800ec36: 6b3b ldr r3, [r7, #48] @ 0x30 + 800ec38: 2b00 cmp r3, #0 + 800ec3a: d004 beq.n 800ec46 + 800ec3c: 6b3b ldr r3, [r7, #48] @ 0x30 + 800ec3e: 895b ldrh r3, [r3, #10] + 800ec40: 8efa ldrh r2, [r7, #54] @ 0x36 + 800ec42: 429a cmp r2, r3 + 800ec44: d2ea bcs.n 800ec1c } if (q == NULL) { - 800e2c2: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e2c4: 2b00 cmp r3, #0 - 800e2c6: d102 bne.n 800e2ce + 800ec46: 6b3b ldr r3, [r7, #48] @ 0x30 + 800ec48: 2b00 cmp r3, #0 + 800ec4a: d102 bne.n 800ec52 return ERR_BUF; - 800e2c8: f06f 0301 mvn.w r3, #1 - 800e2cc: e281 b.n 800e7d2 + 800ec4c: f06f 0301 mvn.w r3, #1 + 800ec50: e281 b.n 800f156 } offset = options_idx; - 800e2ce: 8efb ldrh r3, [r7, #54] @ 0x36 - 800e2d0: 877b strh r3, [r7, #58] @ 0x3a + 800ec52: 8efb ldrh r3, [r7, #54] @ 0x36 + 800ec54: 877b strh r3, [r7, #58] @ 0x3a offset_max = options_idx_max; - 800e2d2: 8ebb ldrh r3, [r7, #52] @ 0x34 - 800e2d4: 873b strh r3, [r7, #56] @ 0x38 + 800ec56: 8ebb ldrh r3, [r7, #52] @ 0x34 + 800ec58: 873b strh r3, [r7, #56] @ 0x38 options = (u8_t *)q->payload; - 800e2d6: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e2d8: 685b ldr r3, [r3, #4] - 800e2da: 63fb str r3, [r7, #60] @ 0x3c + 800ec5a: 6b3b ldr r3, [r7, #48] @ 0x30 + 800ec5c: 685b ldr r3, [r3, #4] + 800ec5e: 63fb str r3, [r7, #60] @ 0x3c /* at least 1 byte to read and no end marker, then at least 3 bytes to read? */ while ((q != NULL) && (offset < offset_max) && (options[offset] != DHCP_OPTION_END)) { - 800e2dc: e239 b.n 800e752 + 800ec60: e239 b.n 800f0d6 u8_t op = options[offset]; - 800e2de: 8f7b ldrh r3, [r7, #58] @ 0x3a - 800e2e0: 6bfa ldr r2, [r7, #60] @ 0x3c - 800e2e2: 4413 add r3, r2 - 800e2e4: 781b ldrb r3, [r3, #0] - 800e2e6: 75fb strb r3, [r7, #23] + 800ec62: 8f7b ldrh r3, [r7, #58] @ 0x3a + 800ec64: 6bfa ldr r2, [r7, #60] @ 0x3c + 800ec66: 4413 add r3, r2 + 800ec68: 781b ldrb r3, [r3, #0] + 800ec6a: 75fb strb r3, [r7, #23] u8_t len; u8_t decode_len = 0; - 800e2e8: 2300 movs r3, #0 - 800e2ea: f887 3026 strb.w r3, [r7, #38] @ 0x26 + 800ec6c: 2300 movs r3, #0 + 800ec6e: f887 3026 strb.w r3, [r7, #38] @ 0x26 int decode_idx = -1; - 800e2ee: f04f 33ff mov.w r3, #4294967295 - 800e2f2: 623b str r3, [r7, #32] + 800ec72: f04f 33ff mov.w r3, #4294967295 + 800ec76: 623b str r3, [r7, #32] u16_t val_offset = (u16_t)(offset + 2); - 800e2f4: 8f7b ldrh r3, [r7, #58] @ 0x3a - 800e2f6: 3302 adds r3, #2 - 800e2f8: 83fb strh r3, [r7, #30] + 800ec78: 8f7b ldrh r3, [r7, #58] @ 0x3a + 800ec7a: 3302 adds r3, #2 + 800ec7c: 83fb strh r3, [r7, #30] if (val_offset < offset) { - 800e2fa: 8bfa ldrh r2, [r7, #30] - 800e2fc: 8f7b ldrh r3, [r7, #58] @ 0x3a - 800e2fe: 429a cmp r2, r3 - 800e300: d202 bcs.n 800e308 + 800ec7e: 8bfa ldrh r2, [r7, #30] + 800ec80: 8f7b ldrh r3, [r7, #58] @ 0x3a + 800ec82: 429a cmp r2, r3 + 800ec84: d202 bcs.n 800ec8c /* overflow */ return ERR_BUF; - 800e302: f06f 0301 mvn.w r3, #1 - 800e306: e264 b.n 800e7d2 + 800ec86: f06f 0301 mvn.w r3, #1 + 800ec8a: e264 b.n 800f156 } /* len byte might be in the next pbuf */ if ((offset + 1) < q->len) { - 800e308: 8f7b ldrh r3, [r7, #58] @ 0x3a - 800e30a: 3301 adds r3, #1 - 800e30c: 6b3a ldr r2, [r7, #48] @ 0x30 - 800e30e: 8952 ldrh r2, [r2, #10] - 800e310: 4293 cmp r3, r2 - 800e312: da07 bge.n 800e324 + 800ec8c: 8f7b ldrh r3, [r7, #58] @ 0x3a + 800ec8e: 3301 adds r3, #1 + 800ec90: 6b3a ldr r2, [r7, #48] @ 0x30 + 800ec92: 8952 ldrh r2, [r2, #10] + 800ec94: 4293 cmp r3, r2 + 800ec96: da07 bge.n 800eca8 len = options[offset + 1]; - 800e314: 8f7b ldrh r3, [r7, #58] @ 0x3a - 800e316: 3301 adds r3, #1 - 800e318: 6bfa ldr r2, [r7, #60] @ 0x3c - 800e31a: 4413 add r3, r2 - 800e31c: 781b ldrb r3, [r3, #0] - 800e31e: f887 3027 strb.w r3, [r7, #39] @ 0x27 - 800e322: e00b b.n 800e33c + 800ec98: 8f7b ldrh r3, [r7, #58] @ 0x3a + 800ec9a: 3301 adds r3, #1 + 800ec9c: 6bfa ldr r2, [r7, #60] @ 0x3c + 800ec9e: 4413 add r3, r2 + 800eca0: 781b ldrb r3, [r3, #0] + 800eca2: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 800eca6: e00b b.n 800ecc0 } else { len = (q->next != NULL ? ((u8_t *)q->next->payload)[0] : 0); - 800e324: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e326: 681b ldr r3, [r3, #0] - 800e328: 2b00 cmp r3, #0 - 800e32a: d004 beq.n 800e336 - 800e32c: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e32e: 681b ldr r3, [r3, #0] - 800e330: 685b ldr r3, [r3, #4] - 800e332: 781b ldrb r3, [r3, #0] - 800e334: e000 b.n 800e338 - 800e336: 2300 movs r3, #0 - 800e338: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 800eca8: 6b3b ldr r3, [r7, #48] @ 0x30 + 800ecaa: 681b ldr r3, [r3, #0] + 800ecac: 2b00 cmp r3, #0 + 800ecae: d004 beq.n 800ecba + 800ecb0: 6b3b ldr r3, [r7, #48] @ 0x30 + 800ecb2: 681b ldr r3, [r3, #0] + 800ecb4: 685b ldr r3, [r3, #4] + 800ecb6: 781b ldrb r3, [r3, #0] + 800ecb8: e000 b.n 800ecbc + 800ecba: 2300 movs r3, #0 + 800ecbc: f887 3027 strb.w r3, [r7, #39] @ 0x27 } /* LWIP_DEBUGF(DHCP_DEBUG, ("msg_offset=%"U16_F", q->len=%"U16_F, msg_offset, q->len)); */ decode_len = len; - 800e33c: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e340: f887 3026 strb.w r3, [r7, #38] @ 0x26 + 800ecc0: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800ecc4: f887 3026 strb.w r3, [r7, #38] @ 0x26 switch (op) { - 800e344: 7dfb ldrb r3, [r7, #23] - 800e346: 2b3b cmp r3, #59 @ 0x3b - 800e348: f200 812c bhi.w 800e5a4 - 800e34c: a201 add r2, pc, #4 @ (adr r2, 800e354 ) - 800e34e: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 800e352: bf00 nop - 800e354: 0800e445 .word 0x0800e445 - 800e358: 0800e455 .word 0x0800e455 - 800e35c: 0800e5a5 .word 0x0800e5a5 - 800e360: 0800e477 .word 0x0800e477 - 800e364: 0800e5a5 .word 0x0800e5a5 - 800e368: 0800e5a5 .word 0x0800e5a5 - 800e36c: 0800e5a5 .word 0x0800e5a5 - 800e370: 0800e5a5 .word 0x0800e5a5 - 800e374: 0800e5a5 .word 0x0800e5a5 - 800e378: 0800e5a5 .word 0x0800e5a5 - 800e37c: 0800e5a5 .word 0x0800e5a5 - 800e380: 0800e5a5 .word 0x0800e5a5 - 800e384: 0800e5a5 .word 0x0800e5a5 - 800e388: 0800e5a5 .word 0x0800e5a5 - 800e38c: 0800e5a5 .word 0x0800e5a5 - 800e390: 0800e5a5 .word 0x0800e5a5 - 800e394: 0800e5a5 .word 0x0800e5a5 - 800e398: 0800e5a5 .word 0x0800e5a5 - 800e39c: 0800e5a5 .word 0x0800e5a5 - 800e3a0: 0800e5a5 .word 0x0800e5a5 - 800e3a4: 0800e5a5 .word 0x0800e5a5 - 800e3a8: 0800e5a5 .word 0x0800e5a5 - 800e3ac: 0800e5a5 .word 0x0800e5a5 - 800e3b0: 0800e5a5 .word 0x0800e5a5 - 800e3b4: 0800e5a5 .word 0x0800e5a5 - 800e3b8: 0800e5a5 .word 0x0800e5a5 - 800e3bc: 0800e5a5 .word 0x0800e5a5 - 800e3c0: 0800e5a5 .word 0x0800e5a5 - 800e3c4: 0800e5a5 .word 0x0800e5a5 - 800e3c8: 0800e5a5 .word 0x0800e5a5 - 800e3cc: 0800e5a5 .word 0x0800e5a5 - 800e3d0: 0800e5a5 .word 0x0800e5a5 - 800e3d4: 0800e5a5 .word 0x0800e5a5 - 800e3d8: 0800e5a5 .word 0x0800e5a5 - 800e3dc: 0800e5a5 .word 0x0800e5a5 - 800e3e0: 0800e5a5 .word 0x0800e5a5 - 800e3e4: 0800e5a5 .word 0x0800e5a5 - 800e3e8: 0800e5a5 .word 0x0800e5a5 - 800e3ec: 0800e5a5 .word 0x0800e5a5 - 800e3f0: 0800e5a5 .word 0x0800e5a5 - 800e3f4: 0800e5a5 .word 0x0800e5a5 - 800e3f8: 0800e5a5 .word 0x0800e5a5 - 800e3fc: 0800e5a5 .word 0x0800e5a5 - 800e400: 0800e5a5 .word 0x0800e5a5 - 800e404: 0800e5a5 .word 0x0800e5a5 - 800e408: 0800e5a5 .word 0x0800e5a5 - 800e40c: 0800e5a5 .word 0x0800e5a5 - 800e410: 0800e5a5 .word 0x0800e5a5 - 800e414: 0800e5a5 .word 0x0800e5a5 - 800e418: 0800e5a5 .word 0x0800e5a5 - 800e41c: 0800e5a5 .word 0x0800e5a5 - 800e420: 0800e4a3 .word 0x0800e4a3 - 800e424: 0800e4c5 .word 0x0800e4c5 - 800e428: 0800e501 .word 0x0800e501 - 800e42c: 0800e523 .word 0x0800e523 - 800e430: 0800e5a5 .word 0x0800e5a5 - 800e434: 0800e5a5 .word 0x0800e5a5 - 800e438: 0800e5a5 .word 0x0800e5a5 - 800e43c: 0800e561 .word 0x0800e561 - 800e440: 0800e583 .word 0x0800e583 + 800ecc8: 7dfb ldrb r3, [r7, #23] + 800ecca: 2b3b cmp r3, #59 @ 0x3b + 800eccc: f200 812c bhi.w 800ef28 + 800ecd0: a201 add r2, pc, #4 @ (adr r2, 800ecd8 ) + 800ecd2: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 800ecd6: bf00 nop + 800ecd8: 0800edc9 .word 0x0800edc9 + 800ecdc: 0800edd9 .word 0x0800edd9 + 800ece0: 0800ef29 .word 0x0800ef29 + 800ece4: 0800edfb .word 0x0800edfb + 800ece8: 0800ef29 .word 0x0800ef29 + 800ecec: 0800ef29 .word 0x0800ef29 + 800ecf0: 0800ef29 .word 0x0800ef29 + 800ecf4: 0800ef29 .word 0x0800ef29 + 800ecf8: 0800ef29 .word 0x0800ef29 + 800ecfc: 0800ef29 .word 0x0800ef29 + 800ed00: 0800ef29 .word 0x0800ef29 + 800ed04: 0800ef29 .word 0x0800ef29 + 800ed08: 0800ef29 .word 0x0800ef29 + 800ed0c: 0800ef29 .word 0x0800ef29 + 800ed10: 0800ef29 .word 0x0800ef29 + 800ed14: 0800ef29 .word 0x0800ef29 + 800ed18: 0800ef29 .word 0x0800ef29 + 800ed1c: 0800ef29 .word 0x0800ef29 + 800ed20: 0800ef29 .word 0x0800ef29 + 800ed24: 0800ef29 .word 0x0800ef29 + 800ed28: 0800ef29 .word 0x0800ef29 + 800ed2c: 0800ef29 .word 0x0800ef29 + 800ed30: 0800ef29 .word 0x0800ef29 + 800ed34: 0800ef29 .word 0x0800ef29 + 800ed38: 0800ef29 .word 0x0800ef29 + 800ed3c: 0800ef29 .word 0x0800ef29 + 800ed40: 0800ef29 .word 0x0800ef29 + 800ed44: 0800ef29 .word 0x0800ef29 + 800ed48: 0800ef29 .word 0x0800ef29 + 800ed4c: 0800ef29 .word 0x0800ef29 + 800ed50: 0800ef29 .word 0x0800ef29 + 800ed54: 0800ef29 .word 0x0800ef29 + 800ed58: 0800ef29 .word 0x0800ef29 + 800ed5c: 0800ef29 .word 0x0800ef29 + 800ed60: 0800ef29 .word 0x0800ef29 + 800ed64: 0800ef29 .word 0x0800ef29 + 800ed68: 0800ef29 .word 0x0800ef29 + 800ed6c: 0800ef29 .word 0x0800ef29 + 800ed70: 0800ef29 .word 0x0800ef29 + 800ed74: 0800ef29 .word 0x0800ef29 + 800ed78: 0800ef29 .word 0x0800ef29 + 800ed7c: 0800ef29 .word 0x0800ef29 + 800ed80: 0800ef29 .word 0x0800ef29 + 800ed84: 0800ef29 .word 0x0800ef29 + 800ed88: 0800ef29 .word 0x0800ef29 + 800ed8c: 0800ef29 .word 0x0800ef29 + 800ed90: 0800ef29 .word 0x0800ef29 + 800ed94: 0800ef29 .word 0x0800ef29 + 800ed98: 0800ef29 .word 0x0800ef29 + 800ed9c: 0800ef29 .word 0x0800ef29 + 800eda0: 0800ef29 .word 0x0800ef29 + 800eda4: 0800ee27 .word 0x0800ee27 + 800eda8: 0800ee49 .word 0x0800ee49 + 800edac: 0800ee85 .word 0x0800ee85 + 800edb0: 0800eea7 .word 0x0800eea7 + 800edb4: 0800ef29 .word 0x0800ef29 + 800edb8: 0800ef29 .word 0x0800ef29 + 800edbc: 0800ef29 .word 0x0800ef29 + 800edc0: 0800eee5 .word 0x0800eee5 + 800edc4: 0800ef07 .word 0x0800ef07 /* case(DHCP_OPTION_END): handled above */ case (DHCP_OPTION_PAD): /* special option: no len encoded */ decode_len = len = 0; - 800e444: 2300 movs r3, #0 - 800e446: f887 3027 strb.w r3, [r7, #39] @ 0x27 - 800e44a: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e44e: f887 3026 strb.w r3, [r7, #38] @ 0x26 + 800edc8: 2300 movs r3, #0 + 800edca: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 800edce: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800edd2: f887 3026 strb.w r3, [r7, #38] @ 0x26 /* will be increased below */ break; - 800e452: e0ab b.n 800e5ac + 800edd6: e0ab b.n 800ef30 case (DHCP_OPTION_SUBNET_MASK): LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); - 800e454: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e458: 2b04 cmp r3, #4 - 800e45a: d009 beq.n 800e470 - 800e45c: 4b3a ldr r3, [pc, #232] @ (800e548 ) - 800e45e: f240 622e movw r2, #1582 @ 0x62e - 800e462: 493a ldr r1, [pc, #232] @ (800e54c ) - 800e464: 483a ldr r0, [pc, #232] @ (800e550 ) - 800e466: f003 f8c7 bl 80115f8 - 800e46a: f06f 0305 mvn.w r3, #5 - 800e46e: e1b0 b.n 800e7d2 + 800edd8: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800eddc: 2b04 cmp r3, #4 + 800edde: d009 beq.n 800edf4 + 800ede0: 4b3a ldr r3, [pc, #232] @ (800eecc ) + 800ede2: f240 622e movw r2, #1582 @ 0x62e + 800ede6: 493a ldr r1, [pc, #232] @ (800eed0 ) + 800ede8: 483a ldr r0, [pc, #232] @ (800eed4 ) + 800edea: f003 f8c7 bl 8011f7c + 800edee: f06f 0305 mvn.w r3, #5 + 800edf2: e1b0 b.n 800f156 decode_idx = DHCP_OPTION_IDX_SUBNET_MASK; - 800e470: 2306 movs r3, #6 - 800e472: 623b str r3, [r7, #32] + 800edf4: 2306 movs r3, #6 + 800edf6: 623b str r3, [r7, #32] break; - 800e474: e09a b.n 800e5ac + 800edf8: e09a b.n 800ef30 case (DHCP_OPTION_ROUTER): decode_len = 4; /* only copy the first given router */ - 800e476: 2304 movs r3, #4 - 800e478: f887 3026 strb.w r3, [r7, #38] @ 0x26 + 800edfa: 2304 movs r3, #4 + 800edfc: f887 3026 strb.w r3, [r7, #38] @ 0x26 LWIP_ERROR("len >= decode_len", len >= decode_len, return ERR_VAL;); - 800e47c: f897 2027 ldrb.w r2, [r7, #39] @ 0x27 - 800e480: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 800e484: 429a cmp r2, r3 - 800e486: d209 bcs.n 800e49c - 800e488: 4b2f ldr r3, [pc, #188] @ (800e548 ) - 800e48a: f240 6233 movw r2, #1587 @ 0x633 - 800e48e: 4931 ldr r1, [pc, #196] @ (800e554 ) - 800e490: 482f ldr r0, [pc, #188] @ (800e550 ) - 800e492: f003 f8b1 bl 80115f8 - 800e496: f06f 0305 mvn.w r3, #5 - 800e49a: e19a b.n 800e7d2 + 800ee00: f897 2027 ldrb.w r2, [r7, #39] @ 0x27 + 800ee04: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 800ee08: 429a cmp r2, r3 + 800ee0a: d209 bcs.n 800ee20 + 800ee0c: 4b2f ldr r3, [pc, #188] @ (800eecc ) + 800ee0e: f240 6233 movw r2, #1587 @ 0x633 + 800ee12: 4931 ldr r1, [pc, #196] @ (800eed8 ) + 800ee14: 482f ldr r0, [pc, #188] @ (800eed4 ) + 800ee16: f003 f8b1 bl 8011f7c + 800ee1a: f06f 0305 mvn.w r3, #5 + 800ee1e: e19a b.n 800f156 decode_idx = DHCP_OPTION_IDX_ROUTER; - 800e49c: 2307 movs r3, #7 - 800e49e: 623b str r3, [r7, #32] + 800ee20: 2307 movs r3, #7 + 800ee22: 623b str r3, [r7, #32] break; - 800e4a0: e084 b.n 800e5ac + 800ee24: e084 b.n 800ef30 LWIP_ERROR("len >= decode_len", len >= decode_len, return ERR_VAL;); decode_idx = DHCP_OPTION_IDX_DNS_SERVER; break; #endif /* LWIP_DHCP_PROVIDE_DNS_SERVERS */ case (DHCP_OPTION_LEASE_TIME): LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); - 800e4a2: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e4a6: 2b04 cmp r3, #4 - 800e4a8: d009 beq.n 800e4be - 800e4aa: 4b27 ldr r3, [pc, #156] @ (800e548 ) - 800e4ac: f240 6241 movw r2, #1601 @ 0x641 - 800e4b0: 4926 ldr r1, [pc, #152] @ (800e54c ) - 800e4b2: 4827 ldr r0, [pc, #156] @ (800e550 ) - 800e4b4: f003 f8a0 bl 80115f8 - 800e4b8: f06f 0305 mvn.w r3, #5 - 800e4bc: e189 b.n 800e7d2 + 800ee26: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800ee2a: 2b04 cmp r3, #4 + 800ee2c: d009 beq.n 800ee42 + 800ee2e: 4b27 ldr r3, [pc, #156] @ (800eecc ) + 800ee30: f240 6241 movw r2, #1601 @ 0x641 + 800ee34: 4926 ldr r1, [pc, #152] @ (800eed0 ) + 800ee36: 4827 ldr r0, [pc, #156] @ (800eed4 ) + 800ee38: f003 f8a0 bl 8011f7c + 800ee3c: f06f 0305 mvn.w r3, #5 + 800ee40: e189 b.n 800f156 decode_idx = DHCP_OPTION_IDX_LEASE_TIME; - 800e4be: 2303 movs r3, #3 - 800e4c0: 623b str r3, [r7, #32] + 800ee42: 2303 movs r3, #3 + 800ee44: 623b str r3, [r7, #32] break; - 800e4c2: e073 b.n 800e5ac + 800ee46: e073 b.n 800ef30 LWIP_ERROR("len >= decode_len", len >= decode_len, return ERR_VAL;); decode_idx = DHCP_OPTION_IDX_NTP_SERVER; break; #endif /* LWIP_DHCP_GET_NTP_SRV*/ case (DHCP_OPTION_OVERLOAD): LWIP_ERROR("len == 1", len == 1, return ERR_VAL;); - 800e4c4: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e4c8: 2b01 cmp r3, #1 - 800e4ca: d009 beq.n 800e4e0 - 800e4cc: 4b1e ldr r3, [pc, #120] @ (800e548 ) - 800e4ce: f240 624f movw r2, #1615 @ 0x64f - 800e4d2: 4921 ldr r1, [pc, #132] @ (800e558 ) - 800e4d4: 481e ldr r0, [pc, #120] @ (800e550 ) - 800e4d6: f003 f88f bl 80115f8 - 800e4da: f06f 0305 mvn.w r3, #5 - 800e4de: e178 b.n 800e7d2 + 800ee48: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800ee4c: 2b01 cmp r3, #1 + 800ee4e: d009 beq.n 800ee64 + 800ee50: 4b1e ldr r3, [pc, #120] @ (800eecc ) + 800ee52: f240 624f movw r2, #1615 @ 0x64f + 800ee56: 4921 ldr r1, [pc, #132] @ (800eedc ) + 800ee58: 481e ldr r0, [pc, #120] @ (800eed4 ) + 800ee5a: f003 f88f bl 8011f7c + 800ee5e: f06f 0305 mvn.w r3, #5 + 800ee62: e178 b.n 800f156 /* decode overload only in options, not in file/sname: invalid packet */ LWIP_ERROR("overload in file/sname", options_idx == DHCP_OPTIONS_OFS, return ERR_VAL;); - 800e4e0: 8efb ldrh r3, [r7, #54] @ 0x36 - 800e4e2: 2bf0 cmp r3, #240 @ 0xf0 - 800e4e4: d009 beq.n 800e4fa - 800e4e6: 4b18 ldr r3, [pc, #96] @ (800e548 ) - 800e4e8: f240 6251 movw r2, #1617 @ 0x651 - 800e4ec: 491b ldr r1, [pc, #108] @ (800e55c ) - 800e4ee: 4818 ldr r0, [pc, #96] @ (800e550 ) - 800e4f0: f003 f882 bl 80115f8 - 800e4f4: f06f 0305 mvn.w r3, #5 - 800e4f8: e16b b.n 800e7d2 + 800ee64: 8efb ldrh r3, [r7, #54] @ 0x36 + 800ee66: 2bf0 cmp r3, #240 @ 0xf0 + 800ee68: d009 beq.n 800ee7e + 800ee6a: 4b18 ldr r3, [pc, #96] @ (800eecc ) + 800ee6c: f240 6251 movw r2, #1617 @ 0x651 + 800ee70: 491b ldr r1, [pc, #108] @ (800eee0 ) + 800ee72: 4818 ldr r0, [pc, #96] @ (800eed4 ) + 800ee74: f003 f882 bl 8011f7c + 800ee78: f06f 0305 mvn.w r3, #5 + 800ee7c: e16b b.n 800f156 decode_idx = DHCP_OPTION_IDX_OVERLOAD; - 800e4fa: 2300 movs r3, #0 - 800e4fc: 623b str r3, [r7, #32] + 800ee7e: 2300 movs r3, #0 + 800ee80: 623b str r3, [r7, #32] break; - 800e4fe: e055 b.n 800e5ac + 800ee82: e055 b.n 800ef30 case (DHCP_OPTION_MESSAGE_TYPE): LWIP_ERROR("len == 1", len == 1, return ERR_VAL;); - 800e500: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e504: 2b01 cmp r3, #1 - 800e506: d009 beq.n 800e51c - 800e508: 4b0f ldr r3, [pc, #60] @ (800e548 ) - 800e50a: f240 6255 movw r2, #1621 @ 0x655 - 800e50e: 4912 ldr r1, [pc, #72] @ (800e558 ) - 800e510: 480f ldr r0, [pc, #60] @ (800e550 ) - 800e512: f003 f871 bl 80115f8 - 800e516: f06f 0305 mvn.w r3, #5 - 800e51a: e15a b.n 800e7d2 + 800ee84: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800ee88: 2b01 cmp r3, #1 + 800ee8a: d009 beq.n 800eea0 + 800ee8c: 4b0f ldr r3, [pc, #60] @ (800eecc ) + 800ee8e: f240 6255 movw r2, #1621 @ 0x655 + 800ee92: 4912 ldr r1, [pc, #72] @ (800eedc ) + 800ee94: 480f ldr r0, [pc, #60] @ (800eed4 ) + 800ee96: f003 f871 bl 8011f7c + 800ee9a: f06f 0305 mvn.w r3, #5 + 800ee9e: e15a b.n 800f156 decode_idx = DHCP_OPTION_IDX_MSG_TYPE; - 800e51c: 2301 movs r3, #1 - 800e51e: 623b str r3, [r7, #32] + 800eea0: 2301 movs r3, #1 + 800eea2: 623b str r3, [r7, #32] break; - 800e520: e044 b.n 800e5ac + 800eea4: e044 b.n 800ef30 case (DHCP_OPTION_SERVER_ID): LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); - 800e522: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e526: 2b04 cmp r3, #4 - 800e528: d009 beq.n 800e53e - 800e52a: 4b07 ldr r3, [pc, #28] @ (800e548 ) - 800e52c: f240 6259 movw r2, #1625 @ 0x659 - 800e530: 4906 ldr r1, [pc, #24] @ (800e54c ) - 800e532: 4807 ldr r0, [pc, #28] @ (800e550 ) - 800e534: f003 f860 bl 80115f8 - 800e538: f06f 0305 mvn.w r3, #5 - 800e53c: e149 b.n 800e7d2 + 800eea6: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800eeaa: 2b04 cmp r3, #4 + 800eeac: d009 beq.n 800eec2 + 800eeae: 4b07 ldr r3, [pc, #28] @ (800eecc ) + 800eeb0: f240 6259 movw r2, #1625 @ 0x659 + 800eeb4: 4906 ldr r1, [pc, #24] @ (800eed0 ) + 800eeb6: 4807 ldr r0, [pc, #28] @ (800eed4 ) + 800eeb8: f003 f860 bl 8011f7c + 800eebc: f06f 0305 mvn.w r3, #5 + 800eec0: e149 b.n 800f156 decode_idx = DHCP_OPTION_IDX_SERVER_ID; - 800e53e: 2302 movs r3, #2 - 800e540: 623b str r3, [r7, #32] + 800eec2: 2302 movs r3, #2 + 800eec4: 623b str r3, [r7, #32] break; - 800e542: e033 b.n 800e5ac - 800e544: 20019124 .word 0x20019124 - 800e548: 08018304 .word 0x08018304 - 800e54c: 0801858c .word 0x0801858c - 800e550: 08018364 .word 0x08018364 - 800e554: 08018598 .word 0x08018598 - 800e558: 080185ac .word 0x080185ac - 800e55c: 080185b8 .word 0x080185b8 + 800eec6: e033 b.n 800ef30 + 800eec8: 20019158 .word 0x20019158 + 800eecc: 08018c84 .word 0x08018c84 + 800eed0: 08018f0c .word 0x08018f0c + 800eed4: 08018ce4 .word 0x08018ce4 + 800eed8: 08018f18 .word 0x08018f18 + 800eedc: 08018f2c .word 0x08018f2c + 800eee0: 08018f38 .word 0x08018f38 case (DHCP_OPTION_T1): LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); - 800e560: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e564: 2b04 cmp r3, #4 - 800e566: d009 beq.n 800e57c - 800e568: 4b9c ldr r3, [pc, #624] @ (800e7dc ) - 800e56a: f240 625d movw r2, #1629 @ 0x65d - 800e56e: 499c ldr r1, [pc, #624] @ (800e7e0 ) - 800e570: 489c ldr r0, [pc, #624] @ (800e7e4 ) - 800e572: f003 f841 bl 80115f8 - 800e576: f06f 0305 mvn.w r3, #5 - 800e57a: e12a b.n 800e7d2 + 800eee4: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800eee8: 2b04 cmp r3, #4 + 800eeea: d009 beq.n 800ef00 + 800eeec: 4b9c ldr r3, [pc, #624] @ (800f160 ) + 800eeee: f240 625d movw r2, #1629 @ 0x65d + 800eef2: 499c ldr r1, [pc, #624] @ (800f164 ) + 800eef4: 489c ldr r0, [pc, #624] @ (800f168 ) + 800eef6: f003 f841 bl 8011f7c + 800eefa: f06f 0305 mvn.w r3, #5 + 800eefe: e12a b.n 800f156 decode_idx = DHCP_OPTION_IDX_T1; - 800e57c: 2304 movs r3, #4 - 800e57e: 623b str r3, [r7, #32] + 800ef00: 2304 movs r3, #4 + 800ef02: 623b str r3, [r7, #32] break; - 800e580: e014 b.n 800e5ac + 800ef04: e014 b.n 800ef30 case (DHCP_OPTION_T2): LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); - 800e582: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e586: 2b04 cmp r3, #4 - 800e588: d009 beq.n 800e59e - 800e58a: 4b94 ldr r3, [pc, #592] @ (800e7dc ) - 800e58c: f240 6261 movw r2, #1633 @ 0x661 - 800e590: 4993 ldr r1, [pc, #588] @ (800e7e0 ) - 800e592: 4894 ldr r0, [pc, #592] @ (800e7e4 ) - 800e594: f003 f830 bl 80115f8 - 800e598: f06f 0305 mvn.w r3, #5 - 800e59c: e119 b.n 800e7d2 + 800ef06: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800ef0a: 2b04 cmp r3, #4 + 800ef0c: d009 beq.n 800ef22 + 800ef0e: 4b94 ldr r3, [pc, #592] @ (800f160 ) + 800ef10: f240 6261 movw r2, #1633 @ 0x661 + 800ef14: 4993 ldr r1, [pc, #588] @ (800f164 ) + 800ef16: 4894 ldr r0, [pc, #592] @ (800f168 ) + 800ef18: f003 f830 bl 8011f7c + 800ef1c: f06f 0305 mvn.w r3, #5 + 800ef20: e119 b.n 800f156 decode_idx = DHCP_OPTION_IDX_T2; - 800e59e: 2305 movs r3, #5 - 800e5a0: 623b str r3, [r7, #32] + 800ef22: 2305 movs r3, #5 + 800ef24: 623b str r3, [r7, #32] break; - 800e5a2: e003 b.n 800e5ac + 800ef26: e003 b.n 800ef30 default: decode_len = 0; - 800e5a4: 2300 movs r3, #0 - 800e5a6: f887 3026 strb.w r3, [r7, #38] @ 0x26 + 800ef28: 2300 movs r3, #0 + 800ef2a: f887 3026 strb.w r3, [r7, #38] @ 0x26 LWIP_DEBUGF(DHCP_DEBUG, ("skipping option %"U16_F" in options\n", (u16_t)op)); LWIP_HOOK_DHCP_PARSE_OPTION(ip_current_netif(), dhcp, dhcp->state, msg_in, dhcp_option_given(dhcp, DHCP_OPTION_IDX_MSG_TYPE) ? (u8_t)dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_MSG_TYPE) : 0, op, len, q, val_offset); break; - 800e5aa: bf00 nop + 800ef2e: bf00 nop } if (op == DHCP_OPTION_PAD) { - 800e5ac: 7dfb ldrb r3, [r7, #23] - 800e5ae: 2b00 cmp r3, #0 - 800e5b0: d103 bne.n 800e5ba + 800ef30: 7dfb ldrb r3, [r7, #23] + 800ef32: 2b00 cmp r3, #0 + 800ef34: d103 bne.n 800ef3e offset++; - 800e5b2: 8f7b ldrh r3, [r7, #58] @ 0x3a - 800e5b4: 3301 adds r3, #1 - 800e5b6: 877b strh r3, [r7, #58] @ 0x3a - 800e5b8: e0a1 b.n 800e6fe + 800ef36: 8f7b ldrh r3, [r7, #58] @ 0x3a + 800ef38: 3301 adds r3, #1 + 800ef3a: 877b strh r3, [r7, #58] @ 0x3a + 800ef3c: e0a1 b.n 800f082 } else { if (offset + len + 2 > 0xFFFF) { - 800e5ba: 8f7a ldrh r2, [r7, #58] @ 0x3a - 800e5bc: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e5c0: 4413 add r3, r2 - 800e5c2: f64f 72fd movw r2, #65533 @ 0xfffd - 800e5c6: 4293 cmp r3, r2 - 800e5c8: dd02 ble.n 800e5d0 + 800ef3e: 8f7a ldrh r2, [r7, #58] @ 0x3a + 800ef40: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800ef44: 4413 add r3, r2 + 800ef46: f64f 72fd movw r2, #65533 @ 0xfffd + 800ef4a: 4293 cmp r3, r2 + 800ef4c: dd02 ble.n 800ef54 /* overflow */ return ERR_BUF; - 800e5ca: f06f 0301 mvn.w r3, #1 - 800e5ce: e100 b.n 800e7d2 + 800ef4e: f06f 0301 mvn.w r3, #1 + 800ef52: e100 b.n 800f156 } offset = (u16_t)(offset + len + 2); - 800e5d0: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e5d4: b29a uxth r2, r3 - 800e5d6: 8f7b ldrh r3, [r7, #58] @ 0x3a - 800e5d8: 4413 add r3, r2 - 800e5da: b29b uxth r3, r3 - 800e5dc: 3302 adds r3, #2 - 800e5de: 877b strh r3, [r7, #58] @ 0x3a + 800ef54: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800ef58: b29a uxth r2, r3 + 800ef5a: 8f7b ldrh r3, [r7, #58] @ 0x3a + 800ef5c: 4413 add r3, r2 + 800ef5e: b29b uxth r3, r3 + 800ef60: 3302 adds r3, #2 + 800ef62: 877b strh r3, [r7, #58] @ 0x3a if (decode_len > 0) { - 800e5e0: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 800e5e4: 2b00 cmp r3, #0 - 800e5e6: f000 808a beq.w 800e6fe + 800ef64: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 800ef68: 2b00 cmp r3, #0 + 800ef6a: f000 808a beq.w 800f082 u32_t value = 0; - 800e5ea: 2300 movs r3, #0 - 800e5ec: 60bb str r3, [r7, #8] + 800ef6e: 2300 movs r3, #0 + 800ef70: 60bb str r3, [r7, #8] u16_t copy_len; decode_next: LWIP_ASSERT("check decode_idx", decode_idx >= 0 && decode_idx < DHCP_OPTION_IDX_MAX); - 800e5ee: 6a3b ldr r3, [r7, #32] - 800e5f0: 2b00 cmp r3, #0 - 800e5f2: db02 blt.n 800e5fa - 800e5f4: 6a3b ldr r3, [r7, #32] - 800e5f6: 2b07 cmp r3, #7 - 800e5f8: dd06 ble.n 800e608 - 800e5fa: 4b78 ldr r3, [pc, #480] @ (800e7dc ) - 800e5fc: f44f 62cf mov.w r2, #1656 @ 0x678 - 800e600: 4979 ldr r1, [pc, #484] @ (800e7e8 ) - 800e602: 4878 ldr r0, [pc, #480] @ (800e7e4 ) - 800e604: f002 fff8 bl 80115f8 + 800ef72: 6a3b ldr r3, [r7, #32] + 800ef74: 2b00 cmp r3, #0 + 800ef76: db02 blt.n 800ef7e + 800ef78: 6a3b ldr r3, [r7, #32] + 800ef7a: 2b07 cmp r3, #7 + 800ef7c: dd06 ble.n 800ef8c + 800ef7e: 4b78 ldr r3, [pc, #480] @ (800f160 ) + 800ef80: f44f 62cf mov.w r2, #1656 @ 0x678 + 800ef84: 4979 ldr r1, [pc, #484] @ (800f16c ) + 800ef86: 4878 ldr r0, [pc, #480] @ (800f168 ) + 800ef88: f002 fff8 bl 8011f7c if (!dhcp_option_given(dhcp, decode_idx)) { - 800e608: 4a78 ldr r2, [pc, #480] @ (800e7ec ) - 800e60a: 6a3b ldr r3, [r7, #32] - 800e60c: 4413 add r3, r2 - 800e60e: 781b ldrb r3, [r3, #0] - 800e610: 2b00 cmp r3, #0 - 800e612: d174 bne.n 800e6fe + 800ef8c: 4a78 ldr r2, [pc, #480] @ (800f170 ) + 800ef8e: 6a3b ldr r3, [r7, #32] + 800ef90: 4413 add r3, r2 + 800ef92: 781b ldrb r3, [r3, #0] + 800ef94: 2b00 cmp r3, #0 + 800ef96: d174 bne.n 800f082 copy_len = LWIP_MIN(decode_len, 4); - 800e614: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 800e618: 2b04 cmp r3, #4 - 800e61a: bf28 it cs - 800e61c: 2304 movcs r3, #4 - 800e61e: b2db uxtb r3, r3 - 800e620: 82bb strh r3, [r7, #20] + 800ef98: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 800ef9c: 2b04 cmp r3, #4 + 800ef9e: bf28 it cs + 800efa0: 2304 movcs r3, #4 + 800efa2: b2db uxtb r3, r3 + 800efa4: 82bb strh r3, [r7, #20] if (pbuf_copy_partial(q, &value, copy_len, val_offset) != copy_len) { - 800e622: 8bfb ldrh r3, [r7, #30] - 800e624: 8aba ldrh r2, [r7, #20] - 800e626: f107 0108 add.w r1, r7, #8 - 800e62a: 6b38 ldr r0, [r7, #48] @ 0x30 - 800e62c: f7f8 fbf6 bl 8006e1c - 800e630: 4603 mov r3, r0 - 800e632: 461a mov r2, r3 - 800e634: 8abb ldrh r3, [r7, #20] - 800e636: 4293 cmp r3, r2 - 800e638: d002 beq.n 800e640 + 800efa6: 8bfb ldrh r3, [r7, #30] + 800efa8: 8aba ldrh r2, [r7, #20] + 800efaa: f107 0108 add.w r1, r7, #8 + 800efae: 6b38 ldr r0, [r7, #48] @ 0x30 + 800efb0: f7f8 fbf6 bl 80077a0 + 800efb4: 4603 mov r3, r0 + 800efb6: 461a mov r2, r3 + 800efb8: 8abb ldrh r3, [r7, #20] + 800efba: 4293 cmp r3, r2 + 800efbc: d002 beq.n 800efc4 return ERR_BUF; - 800e63a: f06f 0301 mvn.w r3, #1 - 800e63e: e0c8 b.n 800e7d2 + 800efbe: f06f 0301 mvn.w r3, #1 + 800efc2: e0c8 b.n 800f156 } if (decode_len > 4) { - 800e640: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 800e644: 2b04 cmp r3, #4 - 800e646: d933 bls.n 800e6b0 + 800efc4: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 800efc8: 2b04 cmp r3, #4 + 800efca: d933 bls.n 800f034 /* decode more than one u32_t */ u16_t next_val_offset; LWIP_ERROR("decode_len %% 4 == 0", decode_len % 4 == 0, return ERR_VAL;); - 800e648: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 800e64c: f003 0303 and.w r3, r3, #3 - 800e650: b2db uxtb r3, r3 - 800e652: 2b00 cmp r3, #0 - 800e654: d009 beq.n 800e66a - 800e656: 4b61 ldr r3, [pc, #388] @ (800e7dc ) - 800e658: f240 6281 movw r2, #1665 @ 0x681 - 800e65c: 4964 ldr r1, [pc, #400] @ (800e7f0 ) - 800e65e: 4861 ldr r0, [pc, #388] @ (800e7e4 ) - 800e660: f002 ffca bl 80115f8 - 800e664: f06f 0305 mvn.w r3, #5 - 800e668: e0b3 b.n 800e7d2 + 800efcc: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 800efd0: f003 0303 and.w r3, r3, #3 + 800efd4: b2db uxtb r3, r3 + 800efd6: 2b00 cmp r3, #0 + 800efd8: d009 beq.n 800efee + 800efda: 4b61 ldr r3, [pc, #388] @ (800f160 ) + 800efdc: f240 6281 movw r2, #1665 @ 0x681 + 800efe0: 4964 ldr r1, [pc, #400] @ (800f174 ) + 800efe2: 4861 ldr r0, [pc, #388] @ (800f168 ) + 800efe4: f002 ffca bl 8011f7c + 800efe8: f06f 0305 mvn.w r3, #5 + 800efec: e0b3 b.n 800f156 dhcp_got_option(dhcp, decode_idx); - 800e66a: 4a60 ldr r2, [pc, #384] @ (800e7ec ) - 800e66c: 6a3b ldr r3, [r7, #32] - 800e66e: 4413 add r3, r2 - 800e670: 2201 movs r2, #1 - 800e672: 701a strb r2, [r3, #0] + 800efee: 4a60 ldr r2, [pc, #384] @ (800f170 ) + 800eff0: 6a3b ldr r3, [r7, #32] + 800eff2: 4413 add r3, r2 + 800eff4: 2201 movs r2, #1 + 800eff6: 701a strb r2, [r3, #0] dhcp_set_option_value(dhcp, decode_idx, lwip_htonl(value)); - 800e674: 68bb ldr r3, [r7, #8] - 800e676: 4618 mov r0, r3 - 800e678: f7f6 fe9b bl 80053b2 - 800e67c: 4602 mov r2, r0 - 800e67e: 495d ldr r1, [pc, #372] @ (800e7f4 ) - 800e680: 6a3b ldr r3, [r7, #32] - 800e682: f841 2023 str.w r2, [r1, r3, lsl #2] + 800eff8: 68bb ldr r3, [r7, #8] + 800effa: 4618 mov r0, r3 + 800effc: f7f6 fe9b bl 8005d36 + 800f000: 4602 mov r2, r0 + 800f002: 495d ldr r1, [pc, #372] @ (800f178 ) + 800f004: 6a3b ldr r3, [r7, #32] + 800f006: f841 2023 str.w r2, [r1, r3, lsl #2] decode_len = (u8_t)(decode_len - 4); - 800e686: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 800e68a: 3b04 subs r3, #4 - 800e68c: f887 3026 strb.w r3, [r7, #38] @ 0x26 + 800f00a: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 800f00e: 3b04 subs r3, #4 + 800f010: f887 3026 strb.w r3, [r7, #38] @ 0x26 next_val_offset = (u16_t)(val_offset + 4); - 800e690: 8bfb ldrh r3, [r7, #30] - 800e692: 3304 adds r3, #4 - 800e694: 827b strh r3, [r7, #18] + 800f014: 8bfb ldrh r3, [r7, #30] + 800f016: 3304 adds r3, #4 + 800f018: 827b strh r3, [r7, #18] if (next_val_offset < val_offset) { - 800e696: 8a7a ldrh r2, [r7, #18] - 800e698: 8bfb ldrh r3, [r7, #30] - 800e69a: 429a cmp r2, r3 - 800e69c: d202 bcs.n 800e6a4 + 800f01a: 8a7a ldrh r2, [r7, #18] + 800f01c: 8bfb ldrh r3, [r7, #30] + 800f01e: 429a cmp r2, r3 + 800f020: d202 bcs.n 800f028 /* overflow */ return ERR_BUF; - 800e69e: f06f 0301 mvn.w r3, #1 - 800e6a2: e096 b.n 800e7d2 + 800f022: f06f 0301 mvn.w r3, #1 + 800f026: e096 b.n 800f156 } val_offset = next_val_offset; - 800e6a4: 8a7b ldrh r3, [r7, #18] - 800e6a6: 83fb strh r3, [r7, #30] + 800f028: 8a7b ldrh r3, [r7, #18] + 800f02a: 83fb strh r3, [r7, #30] decode_idx++; - 800e6a8: 6a3b ldr r3, [r7, #32] - 800e6aa: 3301 adds r3, #1 - 800e6ac: 623b str r3, [r7, #32] + 800f02c: 6a3b ldr r3, [r7, #32] + 800f02e: 3301 adds r3, #1 + 800f030: 623b str r3, [r7, #32] goto decode_next; - 800e6ae: e79e b.n 800e5ee + 800f032: e79e b.n 800ef72 } else if (decode_len == 4) { - 800e6b0: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 800e6b4: 2b04 cmp r3, #4 - 800e6b6: d106 bne.n 800e6c6 + 800f034: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 800f038: 2b04 cmp r3, #4 + 800f03a: d106 bne.n 800f04a value = lwip_ntohl(value); - 800e6b8: 68bb ldr r3, [r7, #8] - 800e6ba: 4618 mov r0, r3 - 800e6bc: f7f6 fe79 bl 80053b2 - 800e6c0: 4603 mov r3, r0 - 800e6c2: 60bb str r3, [r7, #8] - 800e6c4: e011 b.n 800e6ea + 800f03c: 68bb ldr r3, [r7, #8] + 800f03e: 4618 mov r0, r3 + 800f040: f7f6 fe79 bl 8005d36 + 800f044: 4603 mov r3, r0 + 800f046: 60bb str r3, [r7, #8] + 800f048: e011 b.n 800f06e } else { LWIP_ERROR("invalid decode_len", decode_len == 1, return ERR_VAL;); - 800e6c6: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 800e6ca: 2b01 cmp r3, #1 - 800e6cc: d009 beq.n 800e6e2 - 800e6ce: 4b43 ldr r3, [pc, #268] @ (800e7dc ) - 800e6d0: f44f 62d2 mov.w r2, #1680 @ 0x690 - 800e6d4: 4948 ldr r1, [pc, #288] @ (800e7f8 ) - 800e6d6: 4843 ldr r0, [pc, #268] @ (800e7e4 ) - 800e6d8: f002 ff8e bl 80115f8 - 800e6dc: f06f 0305 mvn.w r3, #5 - 800e6e0: e077 b.n 800e7d2 + 800f04a: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 800f04e: 2b01 cmp r3, #1 + 800f050: d009 beq.n 800f066 + 800f052: 4b43 ldr r3, [pc, #268] @ (800f160 ) + 800f054: f44f 62d2 mov.w r2, #1680 @ 0x690 + 800f058: 4948 ldr r1, [pc, #288] @ (800f17c ) + 800f05a: 4843 ldr r0, [pc, #268] @ (800f168 ) + 800f05c: f002 ff8e bl 8011f7c + 800f060: f06f 0305 mvn.w r3, #5 + 800f064: e077 b.n 800f156 value = ((u8_t *)&value)[0]; - 800e6e2: f107 0308 add.w r3, r7, #8 - 800e6e6: 781b ldrb r3, [r3, #0] - 800e6e8: 60bb str r3, [r7, #8] + 800f066: f107 0308 add.w r3, r7, #8 + 800f06a: 781b ldrb r3, [r3, #0] + 800f06c: 60bb str r3, [r7, #8] } dhcp_got_option(dhcp, decode_idx); - 800e6ea: 4a40 ldr r2, [pc, #256] @ (800e7ec ) - 800e6ec: 6a3b ldr r3, [r7, #32] - 800e6ee: 4413 add r3, r2 - 800e6f0: 2201 movs r2, #1 - 800e6f2: 701a strb r2, [r3, #0] + 800f06e: 4a40 ldr r2, [pc, #256] @ (800f170 ) + 800f070: 6a3b ldr r3, [r7, #32] + 800f072: 4413 add r3, r2 + 800f074: 2201 movs r2, #1 + 800f076: 701a strb r2, [r3, #0] dhcp_set_option_value(dhcp, decode_idx, value); - 800e6f4: 68ba ldr r2, [r7, #8] - 800e6f6: 493f ldr r1, [pc, #252] @ (800e7f4 ) - 800e6f8: 6a3b ldr r3, [r7, #32] - 800e6fa: f841 2023 str.w r2, [r1, r3, lsl #2] + 800f078: 68ba ldr r2, [r7, #8] + 800f07a: 493f ldr r1, [pc, #252] @ (800f178 ) + 800f07c: 6a3b ldr r3, [r7, #32] + 800f07e: f841 2023 str.w r2, [r1, r3, lsl #2] } } } if (offset >= q->len) { - 800e6fe: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e700: 895b ldrh r3, [r3, #10] - 800e702: 8f7a ldrh r2, [r7, #58] @ 0x3a - 800e704: 429a cmp r2, r3 - 800e706: d324 bcc.n 800e752 + 800f082: 6b3b ldr r3, [r7, #48] @ 0x30 + 800f084: 895b ldrh r3, [r3, #10] + 800f086: 8f7a ldrh r2, [r7, #58] @ 0x3a + 800f088: 429a cmp r2, r3 + 800f08a: d324 bcc.n 800f0d6 offset = (u16_t)(offset - q->len); - 800e708: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e70a: 895b ldrh r3, [r3, #10] - 800e70c: 8f7a ldrh r2, [r7, #58] @ 0x3a - 800e70e: 1ad3 subs r3, r2, r3 - 800e710: 877b strh r3, [r7, #58] @ 0x3a + 800f08c: 6b3b ldr r3, [r7, #48] @ 0x30 + 800f08e: 895b ldrh r3, [r3, #10] + 800f090: 8f7a ldrh r2, [r7, #58] @ 0x3a + 800f092: 1ad3 subs r3, r2, r3 + 800f094: 877b strh r3, [r7, #58] @ 0x3a offset_max = (u16_t)(offset_max - q->len); - 800e712: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e714: 895b ldrh r3, [r3, #10] - 800e716: 8f3a ldrh r2, [r7, #56] @ 0x38 - 800e718: 1ad3 subs r3, r2, r3 - 800e71a: 873b strh r3, [r7, #56] @ 0x38 + 800f096: 6b3b ldr r3, [r7, #48] @ 0x30 + 800f098: 895b ldrh r3, [r3, #10] + 800f09a: 8f3a ldrh r2, [r7, #56] @ 0x38 + 800f09c: 1ad3 subs r3, r2, r3 + 800f09e: 873b strh r3, [r7, #56] @ 0x38 if (offset < offset_max) { - 800e71c: 8f7a ldrh r2, [r7, #58] @ 0x3a - 800e71e: 8f3b ldrh r3, [r7, #56] @ 0x38 - 800e720: 429a cmp r2, r3 - 800e722: d213 bcs.n 800e74c + 800f0a0: 8f7a ldrh r2, [r7, #58] @ 0x3a + 800f0a2: 8f3b ldrh r3, [r7, #56] @ 0x38 + 800f0a4: 429a cmp r2, r3 + 800f0a6: d213 bcs.n 800f0d0 q = q->next; - 800e724: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e726: 681b ldr r3, [r3, #0] - 800e728: 633b str r3, [r7, #48] @ 0x30 + 800f0a8: 6b3b ldr r3, [r7, #48] @ 0x30 + 800f0aa: 681b ldr r3, [r3, #0] + 800f0ac: 633b str r3, [r7, #48] @ 0x30 LWIP_ERROR("next pbuf was null", q != NULL, return ERR_VAL;); - 800e72a: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e72c: 2b00 cmp r3, #0 - 800e72e: d109 bne.n 800e744 - 800e730: 4b2a ldr r3, [pc, #168] @ (800e7dc ) - 800e732: f240 629d movw r2, #1693 @ 0x69d - 800e736: 4931 ldr r1, [pc, #196] @ (800e7fc ) - 800e738: 482a ldr r0, [pc, #168] @ (800e7e4 ) - 800e73a: f002 ff5d bl 80115f8 - 800e73e: f06f 0305 mvn.w r3, #5 - 800e742: e046 b.n 800e7d2 + 800f0ae: 6b3b ldr r3, [r7, #48] @ 0x30 + 800f0b0: 2b00 cmp r3, #0 + 800f0b2: d109 bne.n 800f0c8 + 800f0b4: 4b2a ldr r3, [pc, #168] @ (800f160 ) + 800f0b6: f240 629d movw r2, #1693 @ 0x69d + 800f0ba: 4931 ldr r1, [pc, #196] @ (800f180 ) + 800f0bc: 482a ldr r0, [pc, #168] @ (800f168 ) + 800f0be: f002 ff5d bl 8011f7c + 800f0c2: f06f 0305 mvn.w r3, #5 + 800f0c6: e046 b.n 800f156 options = (u8_t *)q->payload; - 800e744: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e746: 685b ldr r3, [r3, #4] - 800e748: 63fb str r3, [r7, #60] @ 0x3c - 800e74a: e002 b.n 800e752 + 800f0c8: 6b3b ldr r3, [r7, #48] @ 0x30 + 800f0ca: 685b ldr r3, [r3, #4] + 800f0cc: 63fb str r3, [r7, #60] @ 0x3c + 800f0ce: e002 b.n 800f0d6 } else { /* We've run out of bytes, probably no end marker. Don't proceed. */ return ERR_BUF; - 800e74c: f06f 0301 mvn.w r3, #1 - 800e750: e03f b.n 800e7d2 + 800f0d0: f06f 0301 mvn.w r3, #1 + 800f0d4: e03f b.n 800f156 while ((q != NULL) && (offset < offset_max) && (options[offset] != DHCP_OPTION_END)) { - 800e752: 6b3b ldr r3, [r7, #48] @ 0x30 - 800e754: 2b00 cmp r3, #0 - 800e756: d00a beq.n 800e76e - 800e758: 8f7a ldrh r2, [r7, #58] @ 0x3a - 800e75a: 8f3b ldrh r3, [r7, #56] @ 0x38 - 800e75c: 429a cmp r2, r3 - 800e75e: d206 bcs.n 800e76e - 800e760: 8f7b ldrh r3, [r7, #58] @ 0x3a - 800e762: 6bfa ldr r2, [r7, #60] @ 0x3c - 800e764: 4413 add r3, r2 - 800e766: 781b ldrb r3, [r3, #0] - 800e768: 2bff cmp r3, #255 @ 0xff - 800e76a: f47f adb8 bne.w 800e2de + 800f0d6: 6b3b ldr r3, [r7, #48] @ 0x30 + 800f0d8: 2b00 cmp r3, #0 + 800f0da: d00a beq.n 800f0f2 + 800f0dc: 8f7a ldrh r2, [r7, #58] @ 0x3a + 800f0de: 8f3b ldrh r3, [r7, #56] @ 0x38 + 800f0e0: 429a cmp r2, r3 + 800f0e2: d206 bcs.n 800f0f2 + 800f0e4: 8f7b ldrh r3, [r7, #58] @ 0x3a + 800f0e6: 6bfa ldr r2, [r7, #60] @ 0x3c + 800f0e8: 4413 add r3, r2 + 800f0ea: 781b ldrb r3, [r3, #0] + 800f0ec: 2bff cmp r3, #255 @ 0xff + 800f0ee: f47f adb8 bne.w 800ec62 } } } /* is this an overloaded message? */ if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_OVERLOAD)) { - 800e76e: 4b1f ldr r3, [pc, #124] @ (800e7ec ) - 800e770: 781b ldrb r3, [r3, #0] - 800e772: 2b00 cmp r3, #0 - 800e774: d018 beq.n 800e7a8 + 800f0f2: 4b1f ldr r3, [pc, #124] @ (800f170 ) + 800f0f4: 781b ldrb r3, [r3, #0] + 800f0f6: 2b00 cmp r3, #0 + 800f0f8: d018 beq.n 800f12c u32_t overload = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_OVERLOAD); - 800e776: 4b1f ldr r3, [pc, #124] @ (800e7f4 ) - 800e778: 681b ldr r3, [r3, #0] - 800e77a: 60fb str r3, [r7, #12] + 800f0fa: 4b1f ldr r3, [pc, #124] @ (800f178 ) + 800f0fc: 681b ldr r3, [r3, #0] + 800f0fe: 60fb str r3, [r7, #12] dhcp_clear_option(dhcp, DHCP_OPTION_IDX_OVERLOAD); - 800e77c: 4b1b ldr r3, [pc, #108] @ (800e7ec ) - 800e77e: 2200 movs r2, #0 - 800e780: 701a strb r2, [r3, #0] + 800f100: 4b1b ldr r3, [pc, #108] @ (800f170 ) + 800f102: 2200 movs r2, #0 + 800f104: 701a strb r2, [r3, #0] if (overload == DHCP_OVERLOAD_FILE) { - 800e782: 68fb ldr r3, [r7, #12] - 800e784: 2b01 cmp r3, #1 - 800e786: d102 bne.n 800e78e + 800f106: 68fb ldr r3, [r7, #12] + 800f108: 2b01 cmp r3, #1 + 800f10a: d102 bne.n 800f112 parse_file_as_options = 1; - 800e788: 2301 movs r3, #1 - 800e78a: 62fb str r3, [r7, #44] @ 0x2c - 800e78c: e00c b.n 800e7a8 + 800f10c: 2301 movs r3, #1 + 800f10e: 62fb str r3, [r7, #44] @ 0x2c + 800f110: e00c b.n 800f12c LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("overloaded file field\n")); } else if (overload == DHCP_OVERLOAD_SNAME) { - 800e78e: 68fb ldr r3, [r7, #12] - 800e790: 2b02 cmp r3, #2 - 800e792: d102 bne.n 800e79a + 800f112: 68fb ldr r3, [r7, #12] + 800f114: 2b02 cmp r3, #2 + 800f116: d102 bne.n 800f11e parse_sname_as_options = 1; - 800e794: 2301 movs r3, #1 - 800e796: 62bb str r3, [r7, #40] @ 0x28 - 800e798: e006 b.n 800e7a8 + 800f118: 2301 movs r3, #1 + 800f11a: 62bb str r3, [r7, #40] @ 0x28 + 800f11c: e006 b.n 800f12c LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("overloaded sname field\n")); } else if (overload == DHCP_OVERLOAD_SNAME_FILE) { - 800e79a: 68fb ldr r3, [r7, #12] - 800e79c: 2b03 cmp r3, #3 - 800e79e: d103 bne.n 800e7a8 + 800f11e: 68fb ldr r3, [r7, #12] + 800f120: 2b03 cmp r3, #3 + 800f122: d103 bne.n 800f12c parse_sname_as_options = 1; - 800e7a0: 2301 movs r3, #1 - 800e7a2: 62bb str r3, [r7, #40] @ 0x28 + 800f124: 2301 movs r3, #1 + 800f126: 62bb str r3, [r7, #40] @ 0x28 parse_file_as_options = 1; - 800e7a4: 2301 movs r3, #1 - 800e7a6: 62fb str r3, [r7, #44] @ 0x2c + 800f128: 2301 movs r3, #1 + 800f12a: 62fb str r3, [r7, #44] @ 0x2c LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("overloaded sname and file field\n")); } else { LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("invalid overload option: %d\n", (int)overload)); } } if (parse_file_as_options) { - 800e7a8: 6afb ldr r3, [r7, #44] @ 0x2c - 800e7aa: 2b00 cmp r3, #0 - 800e7ac: d006 beq.n 800e7bc + 800f12c: 6afb ldr r3, [r7, #44] @ 0x2c + 800f12e: 2b00 cmp r3, #0 + 800f130: d006 beq.n 800f140 /* if both are overloaded, parse file first and then sname (RFC 2131 ch. 4.1) */ parse_file_as_options = 0; - 800e7ae: 2300 movs r3, #0 - 800e7b0: 62fb str r3, [r7, #44] @ 0x2c + 800f132: 2300 movs r3, #0 + 800f134: 62fb str r3, [r7, #44] @ 0x2c options_idx = DHCP_FILE_OFS; - 800e7b2: 236c movs r3, #108 @ 0x6c - 800e7b4: 86fb strh r3, [r7, #54] @ 0x36 + 800f136: 236c movs r3, #108 @ 0x6c + 800f138: 86fb strh r3, [r7, #54] @ 0x36 options_idx_max = DHCP_FILE_OFS + DHCP_FILE_LEN; - 800e7b6: 23ec movs r3, #236 @ 0xec - 800e7b8: 86bb strh r3, [r7, #52] @ 0x34 + 800f13a: 23ec movs r3, #236 @ 0xec + 800f13c: 86bb strh r3, [r7, #52] @ 0x34 #if LWIP_DHCP_BOOTP_FILE file_overloaded = 1; #endif goto again; - 800e7ba: e56a b.n 800e292 + 800f13e: e56a b.n 800ec16 } else if (parse_sname_as_options) { - 800e7bc: 6abb ldr r3, [r7, #40] @ 0x28 - 800e7be: 2b00 cmp r3, #0 - 800e7c0: d006 beq.n 800e7d0 + 800f140: 6abb ldr r3, [r7, #40] @ 0x28 + 800f142: 2b00 cmp r3, #0 + 800f144: d006 beq.n 800f154 parse_sname_as_options = 0; - 800e7c2: 2300 movs r3, #0 - 800e7c4: 62bb str r3, [r7, #40] @ 0x28 + 800f146: 2300 movs r3, #0 + 800f148: 62bb str r3, [r7, #40] @ 0x28 options_idx = DHCP_SNAME_OFS; - 800e7c6: 232c movs r3, #44 @ 0x2c - 800e7c8: 86fb strh r3, [r7, #54] @ 0x36 + 800f14a: 232c movs r3, #44 @ 0x2c + 800f14c: 86fb strh r3, [r7, #54] @ 0x36 options_idx_max = DHCP_SNAME_OFS + DHCP_SNAME_LEN; - 800e7ca: 236c movs r3, #108 @ 0x6c - 800e7cc: 86bb strh r3, [r7, #52] @ 0x34 + 800f14e: 236c movs r3, #108 @ 0x6c + 800f150: 86bb strh r3, [r7, #52] @ 0x34 goto again; - 800e7ce: e560 b.n 800e292 + 800f152: e560 b.n 800ec16 } /* make sure the string is really NULL-terminated */ dhcp->boot_file_name[DHCP_FILE_LEN-1] = 0; } #endif /* LWIP_DHCP_BOOTP_FILE */ return ERR_OK; - 800e7d0: 2300 movs r3, #0 + 800f154: 2300 movs r3, #0 } - 800e7d2: 4618 mov r0, r3 - 800e7d4: 3740 adds r7, #64 @ 0x40 - 800e7d6: 46bd mov sp, r7 - 800e7d8: bd80 pop {r7, pc} - 800e7da: bf00 nop - 800e7dc: 08018304 .word 0x08018304 - 800e7e0: 0801858c .word 0x0801858c - 800e7e4: 08018364 .word 0x08018364 - 800e7e8: 080185d0 .word 0x080185d0 - 800e7ec: 20019124 .word 0x20019124 - 800e7f0: 080185e4 .word 0x080185e4 - 800e7f4: 20019104 .word 0x20019104 - 800e7f8: 080185fc .word 0x080185fc - 800e7fc: 08018610 .word 0x08018610 + 800f156: 4618 mov r0, r3 + 800f158: 3740 adds r7, #64 @ 0x40 + 800f15a: 46bd mov sp, r7 + 800f15c: bd80 pop {r7, pc} + 800f15e: bf00 nop + 800f160: 08018c84 .word 0x08018c84 + 800f164: 08018f0c .word 0x08018f0c + 800f168: 08018ce4 .word 0x08018ce4 + 800f16c: 08018f50 .word 0x08018f50 + 800f170: 20019158 .word 0x20019158 + 800f174: 08018f64 .word 0x08018f64 + 800f178: 20019138 .word 0x20019138 + 800f17c: 08018f7c .word 0x08018f7c + 800f180: 08018f90 .word 0x08018f90 -0800e800 : +0800f184 : /** * If an incoming DHCP message is in response to us, then trigger the state machine */ static void dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) { - 800e800: b580 push {r7, lr} - 800e802: b08a sub sp, #40 @ 0x28 - 800e804: af00 add r7, sp, #0 - 800e806: 60f8 str r0, [r7, #12] - 800e808: 60b9 str r1, [r7, #8] - 800e80a: 607a str r2, [r7, #4] - 800e80c: 603b str r3, [r7, #0] + 800f184: b580 push {r7, lr} + 800f186: b08a sub sp, #40 @ 0x28 + 800f188: af00 add r7, sp, #0 + 800f18a: 60f8 str r0, [r7, #12] + 800f18c: 60b9 str r1, [r7, #8] + 800f18e: 607a str r2, [r7, #4] + 800f190: 603b str r3, [r7, #0] struct netif *netif = ip_current_input_netif(); - 800e80e: 4b60 ldr r3, [pc, #384] @ (800e990 ) - 800e810: 685b ldr r3, [r3, #4] - 800e812: 623b str r3, [r7, #32] + 800f192: 4b60 ldr r3, [pc, #384] @ (800f314 ) + 800f194: 685b ldr r3, [r3, #4] + 800f196: 623b str r3, [r7, #32] struct dhcp *dhcp = netif_dhcp_data(netif); - 800e814: 6a3b ldr r3, [r7, #32] - 800e816: 6a5b ldr r3, [r3, #36] @ 0x24 - 800e818: 61fb str r3, [r7, #28] + 800f198: 6a3b ldr r3, [r7, #32] + 800f19a: 6a5b ldr r3, [r3, #36] @ 0x24 + 800f19c: 61fb str r3, [r7, #28] struct dhcp_msg *reply_msg = (struct dhcp_msg *)p->payload; - 800e81a: 687b ldr r3, [r7, #4] - 800e81c: 685b ldr r3, [r3, #4] - 800e81e: 61bb str r3, [r7, #24] + 800f19e: 687b ldr r3, [r7, #4] + 800f1a0: 685b ldr r3, [r3, #4] + 800f1a2: 61bb str r3, [r7, #24] struct dhcp_msg *msg_in; LWIP_UNUSED_ARG(arg); /* Caught DHCP message from netif that does not have DHCP enabled? -> not interested */ if ((dhcp == NULL) || (dhcp->pcb_allocated == 0)) { - 800e820: 69fb ldr r3, [r7, #28] - 800e822: 2b00 cmp r3, #0 - 800e824: f000 809d beq.w 800e962 - 800e828: 69fb ldr r3, [r7, #28] - 800e82a: 791b ldrb r3, [r3, #4] - 800e82c: 2b00 cmp r3, #0 - 800e82e: f000 8098 beq.w 800e962 + 800f1a4: 69fb ldr r3, [r7, #28] + 800f1a6: 2b00 cmp r3, #0 + 800f1a8: f000 809d beq.w 800f2e6 + 800f1ac: 69fb ldr r3, [r7, #28] + 800f1ae: 791b ldrb r3, [r3, #4] + 800f1b0: 2b00 cmp r3, #0 + 800f1b2: f000 8098 beq.w 800f2e6 /* prevent warnings about unused arguments */ LWIP_UNUSED_ARG(pcb); LWIP_UNUSED_ARG(addr); LWIP_UNUSED_ARG(port); if (p->len < DHCP_MIN_REPLY_LEN) { - 800e832: 687b ldr r3, [r7, #4] - 800e834: 895b ldrh r3, [r3, #10] - 800e836: 2b2b cmp r3, #43 @ 0x2b - 800e838: f240 8095 bls.w 800e966 + 800f1b6: 687b ldr r3, [r7, #4] + 800f1b8: 895b ldrh r3, [r3, #10] + 800f1ba: 2b2b cmp r3, #43 @ 0x2b + 800f1bc: f240 8095 bls.w 800f2ea LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("DHCP reply message or pbuf too short\n")); goto free_pbuf_and_return; } if (reply_msg->op != DHCP_BOOTREPLY) { - 800e83c: 69bb ldr r3, [r7, #24] - 800e83e: 781b ldrb r3, [r3, #0] - 800e840: 2b02 cmp r3, #2 - 800e842: f040 8092 bne.w 800e96a + 800f1c0: 69bb ldr r3, [r7, #24] + 800f1c2: 781b ldrb r3, [r3, #0] + 800f1c4: 2b02 cmp r3, #2 + 800f1c6: f040 8092 bne.w 800f2ee LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("not a DHCP reply message, but type %"U16_F"\n", (u16_t)reply_msg->op)); goto free_pbuf_and_return; } /* iterate through hardware address and match against DHCP message */ for (i = 0; i < netif->hwaddr_len && i < LWIP_MIN(DHCP_CHADDR_LEN, NETIF_MAX_HWADDR_LEN); i++) { - 800e846: 2300 movs r3, #0 - 800e848: f887 3027 strb.w r3, [r7, #39] @ 0x27 - 800e84c: e012 b.n 800e874 + 800f1ca: 2300 movs r3, #0 + 800f1cc: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 800f1d0: e012 b.n 800f1f8 if (netif->hwaddr[i] != reply_msg->chaddr[i]) { - 800e84e: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e852: 6a3a ldr r2, [r7, #32] - 800e854: 4413 add r3, r2 - 800e856: f893 202a ldrb.w r2, [r3, #42] @ 0x2a - 800e85a: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e85e: 69b9 ldr r1, [r7, #24] - 800e860: 440b add r3, r1 - 800e862: 7f1b ldrb r3, [r3, #28] - 800e864: 429a cmp r2, r3 - 800e866: f040 8082 bne.w 800e96e + 800f1d2: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800f1d6: 6a3a ldr r2, [r7, #32] + 800f1d8: 4413 add r3, r2 + 800f1da: f893 202a ldrb.w r2, [r3, #42] @ 0x2a + 800f1de: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800f1e2: 69b9 ldr r1, [r7, #24] + 800f1e4: 440b add r3, r1 + 800f1e6: 7f1b ldrb r3, [r3, #28] + 800f1e8: 429a cmp r2, r3 + 800f1ea: f040 8082 bne.w 800f2f2 for (i = 0; i < netif->hwaddr_len && i < LWIP_MIN(DHCP_CHADDR_LEN, NETIF_MAX_HWADDR_LEN); i++) { - 800e86a: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e86e: 3301 adds r3, #1 - 800e870: f887 3027 strb.w r3, [r7, #39] @ 0x27 - 800e874: 6a3b ldr r3, [r7, #32] - 800e876: f893 3030 ldrb.w r3, [r3, #48] @ 0x30 - 800e87a: f897 2027 ldrb.w r2, [r7, #39] @ 0x27 - 800e87e: 429a cmp r2, r3 - 800e880: d203 bcs.n 800e88a - 800e882: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 800e886: 2b05 cmp r3, #5 - 800e888: d9e1 bls.n 800e84e + 800f1ee: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800f1f2: 3301 adds r3, #1 + 800f1f4: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 800f1f8: 6a3b ldr r3, [r7, #32] + 800f1fa: f893 3030 ldrb.w r3, [r3, #48] @ 0x30 + 800f1fe: f897 2027 ldrb.w r2, [r7, #39] @ 0x27 + 800f202: 429a cmp r2, r3 + 800f204: d203 bcs.n 800f20e + 800f206: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 800f20a: 2b05 cmp r3, #5 + 800f20c: d9e1 bls.n 800f1d2 (u16_t)i, (u16_t)netif->hwaddr[i], (u16_t)i, (u16_t)reply_msg->chaddr[i])); goto free_pbuf_and_return; } } /* match transaction ID against what we expected */ if (lwip_ntohl(reply_msg->xid) != dhcp->xid) { - 800e88a: 69bb ldr r3, [r7, #24] - 800e88c: 685b ldr r3, [r3, #4] - 800e88e: 4618 mov r0, r3 - 800e890: f7f6 fd8f bl 80053b2 - 800e894: 4602 mov r2, r0 - 800e896: 69fb ldr r3, [r7, #28] - 800e898: 681b ldr r3, [r3, #0] - 800e89a: 429a cmp r2, r3 - 800e89c: d169 bne.n 800e972 + 800f20e: 69bb ldr r3, [r7, #24] + 800f210: 685b ldr r3, [r3, #4] + 800f212: 4618 mov r0, r3 + 800f214: f7f6 fd8f bl 8005d36 + 800f218: 4602 mov r2, r0 + 800f21a: 69fb ldr r3, [r7, #28] + 800f21c: 681b ldr r3, [r3, #0] + 800f21e: 429a cmp r2, r3 + 800f220: d169 bne.n 800f2f6 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("transaction id mismatch reply_msg->xid(%"X32_F")!=dhcp->xid(%"X32_F")\n", lwip_ntohl(reply_msg->xid), dhcp->xid)); goto free_pbuf_and_return; } /* option fields could be unfold? */ if (dhcp_parse_reply(p, dhcp) != ERR_OK) { - 800e89e: 69f9 ldr r1, [r7, #28] - 800e8a0: 6878 ldr r0, [r7, #4] - 800e8a2: f7ff fcd9 bl 800e258 - 800e8a6: 4603 mov r3, r0 - 800e8a8: 2b00 cmp r3, #0 - 800e8aa: d164 bne.n 800e976 + 800f222: 69f9 ldr r1, [r7, #28] + 800f224: 6878 ldr r0, [r7, #4] + 800f226: f7ff fcd9 bl 800ebdc + 800f22a: 4603 mov r3, r0 + 800f22c: 2b00 cmp r3, #0 + 800f22e: d164 bne.n 800f2fa goto free_pbuf_and_return; } LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("searching DHCP_OPTION_MESSAGE_TYPE\n")); /* obtain pointer to DHCP message type */ if (!dhcp_option_given(dhcp, DHCP_OPTION_IDX_MSG_TYPE)) { - 800e8ac: 4b39 ldr r3, [pc, #228] @ (800e994 ) - 800e8ae: 785b ldrb r3, [r3, #1] - 800e8b0: 2b00 cmp r3, #0 - 800e8b2: d062 beq.n 800e97a + 800f230: 4b39 ldr r3, [pc, #228] @ (800f318 ) + 800f232: 785b ldrb r3, [r3, #1] + 800f234: 2b00 cmp r3, #0 + 800f236: d062 beq.n 800f2fe LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("DHCP_OPTION_MESSAGE_TYPE option not found\n")); goto free_pbuf_and_return; } msg_in = (struct dhcp_msg *)p->payload; - 800e8b4: 687b ldr r3, [r7, #4] - 800e8b6: 685b ldr r3, [r3, #4] - 800e8b8: 617b str r3, [r7, #20] + 800f238: 687b ldr r3, [r7, #4] + 800f23a: 685b ldr r3, [r3, #4] + 800f23c: 617b str r3, [r7, #20] /* read DHCP message type */ msg_type = (u8_t)dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_MSG_TYPE); - 800e8ba: 4b37 ldr r3, [pc, #220] @ (800e998 ) - 800e8bc: 685b ldr r3, [r3, #4] - 800e8be: 74fb strb r3, [r7, #19] + 800f23e: 4b37 ldr r3, [pc, #220] @ (800f31c ) + 800f240: 685b ldr r3, [r3, #4] + 800f242: 74fb strb r3, [r7, #19] /* message type is DHCP ACK? */ if (msg_type == DHCP_ACK) { - 800e8c0: 7cfb ldrb r3, [r7, #19] - 800e8c2: 2b05 cmp r3, #5 - 800e8c4: d12a bne.n 800e91c + 800f244: 7cfb ldrb r3, [r7, #19] + 800f246: 2b05 cmp r3, #5 + 800f248: d12a bne.n 800f2a0 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("DHCP_ACK received\n")); /* in requesting state? */ if (dhcp->state == DHCP_STATE_REQUESTING) { - 800e8c6: 69fb ldr r3, [r7, #28] - 800e8c8: 795b ldrb r3, [r3, #5] - 800e8ca: 2b01 cmp r3, #1 - 800e8cc: d112 bne.n 800e8f4 + 800f24a: 69fb ldr r3, [r7, #28] + 800f24c: 795b ldrb r3, [r3, #5] + 800f24e: 2b01 cmp r3, #1 + 800f250: d112 bne.n 800f278 dhcp_handle_ack(netif, msg_in); - 800e8ce: 6979 ldr r1, [r7, #20] - 800e8d0: 6a38 ldr r0, [r7, #32] - 800e8d2: f7fe fe1d bl 800d510 + 800f252: 6979 ldr r1, [r7, #20] + 800f254: 6a38 ldr r0, [r7, #32] + 800f256: f7fe fe1d bl 800de94 #if DHCP_DOES_ARP_CHECK if ((netif->flags & NETIF_FLAG_ETHARP) != 0) { - 800e8d6: 6a3b ldr r3, [r7, #32] - 800e8d8: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800e8dc: f003 0308 and.w r3, r3, #8 - 800e8e0: 2b00 cmp r3, #0 - 800e8e2: d003 beq.n 800e8ec + 800f25a: 6a3b ldr r3, [r7, #32] + 800f25c: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 800f260: f003 0308 and.w r3, r3, #8 + 800f264: 2b00 cmp r3, #0 + 800f266: d003 beq.n 800f270 /* check if the acknowledged lease address is already in use */ dhcp_check(netif); - 800e8e4: 6a38 ldr r0, [r7, #32] - 800e8e6: f7fe fb8d bl 800d004 - 800e8ea: e049 b.n 800e980 + 800f268: 6a38 ldr r0, [r7, #32] + 800f26a: f7fe fb8d bl 800d988 + 800f26e: e049 b.n 800f304 } else { /* bind interface to the acknowledged lease address */ dhcp_bind(netif); - 800e8ec: 6a38 ldr r0, [r7, #32] - 800e8ee: f7ff f86d bl 800d9cc - 800e8f2: e045 b.n 800e980 + 800f270: 6a38 ldr r0, [r7, #32] + 800f272: f7ff f86d bl 800e350 + 800f276: e045 b.n 800f304 /* bind interface to the acknowledged lease address */ dhcp_bind(netif); #endif } /* already bound to the given lease address? */ else if ((dhcp->state == DHCP_STATE_REBOOTING) || (dhcp->state == DHCP_STATE_REBINDING) || - 800e8f4: 69fb ldr r3, [r7, #28] - 800e8f6: 795b ldrb r3, [r3, #5] - 800e8f8: 2b03 cmp r3, #3 - 800e8fa: d007 beq.n 800e90c - 800e8fc: 69fb ldr r3, [r7, #28] - 800e8fe: 795b ldrb r3, [r3, #5] - 800e900: 2b04 cmp r3, #4 - 800e902: d003 beq.n 800e90c + 800f278: 69fb ldr r3, [r7, #28] + 800f27a: 795b ldrb r3, [r3, #5] + 800f27c: 2b03 cmp r3, #3 + 800f27e: d007 beq.n 800f290 + 800f280: 69fb ldr r3, [r7, #28] + 800f282: 795b ldrb r3, [r3, #5] + 800f284: 2b04 cmp r3, #4 + 800f286: d003 beq.n 800f290 (dhcp->state == DHCP_STATE_RENEWING)) { - 800e904: 69fb ldr r3, [r7, #28] - 800e906: 795b ldrb r3, [r3, #5] + 800f288: 69fb ldr r3, [r7, #28] + 800f28a: 795b ldrb r3, [r3, #5] else if ((dhcp->state == DHCP_STATE_REBOOTING) || (dhcp->state == DHCP_STATE_REBINDING) || - 800e908: 2b05 cmp r3, #5 - 800e90a: d139 bne.n 800e980 + 800f28c: 2b05 cmp r3, #5 + 800f28e: d139 bne.n 800f304 dhcp_handle_ack(netif, msg_in); - 800e90c: 6979 ldr r1, [r7, #20] - 800e90e: 6a38 ldr r0, [r7, #32] - 800e910: f7fe fdfe bl 800d510 + 800f290: 6979 ldr r1, [r7, #20] + 800f292: 6a38 ldr r0, [r7, #32] + 800f294: f7fe fdfe bl 800de94 dhcp_bind(netif); - 800e914: 6a38 ldr r0, [r7, #32] - 800e916: f7ff f859 bl 800d9cc - 800e91a: e031 b.n 800e980 + 800f298: 6a38 ldr r0, [r7, #32] + 800f29a: f7ff f859 bl 800e350 + 800f29e: e031 b.n 800f304 } } /* received a DHCP_NAK in appropriate state? */ else if ((msg_type == DHCP_NAK) && - 800e91c: 7cfb ldrb r3, [r7, #19] - 800e91e: 2b06 cmp r3, #6 - 800e920: d113 bne.n 800e94a + 800f2a0: 7cfb ldrb r3, [r7, #19] + 800f2a2: 2b06 cmp r3, #6 + 800f2a4: d113 bne.n 800f2ce ((dhcp->state == DHCP_STATE_REBOOTING) || (dhcp->state == DHCP_STATE_REQUESTING) || - 800e922: 69fb ldr r3, [r7, #28] - 800e924: 795b ldrb r3, [r3, #5] + 800f2a6: 69fb ldr r3, [r7, #28] + 800f2a8: 795b ldrb r3, [r3, #5] else if ((msg_type == DHCP_NAK) && - 800e926: 2b03 cmp r3, #3 - 800e928: d00b beq.n 800e942 + 800f2aa: 2b03 cmp r3, #3 + 800f2ac: d00b beq.n 800f2c6 ((dhcp->state == DHCP_STATE_REBOOTING) || (dhcp->state == DHCP_STATE_REQUESTING) || - 800e92a: 69fb ldr r3, [r7, #28] - 800e92c: 795b ldrb r3, [r3, #5] - 800e92e: 2b01 cmp r3, #1 - 800e930: d007 beq.n 800e942 + 800f2ae: 69fb ldr r3, [r7, #28] + 800f2b0: 795b ldrb r3, [r3, #5] + 800f2b2: 2b01 cmp r3, #1 + 800f2b4: d007 beq.n 800f2c6 (dhcp->state == DHCP_STATE_REBINDING) || (dhcp->state == DHCP_STATE_RENEWING ))) { - 800e932: 69fb ldr r3, [r7, #28] - 800e934: 795b ldrb r3, [r3, #5] + 800f2b6: 69fb ldr r3, [r7, #28] + 800f2b8: 795b ldrb r3, [r3, #5] ((dhcp->state == DHCP_STATE_REBOOTING) || (dhcp->state == DHCP_STATE_REQUESTING) || - 800e936: 2b04 cmp r3, #4 - 800e938: d003 beq.n 800e942 + 800f2ba: 2b04 cmp r3, #4 + 800f2bc: d003 beq.n 800f2c6 (dhcp->state == DHCP_STATE_REBINDING) || (dhcp->state == DHCP_STATE_RENEWING ))) { - 800e93a: 69fb ldr r3, [r7, #28] - 800e93c: 795b ldrb r3, [r3, #5] - 800e93e: 2b05 cmp r3, #5 - 800e940: d103 bne.n 800e94a + 800f2be: 69fb ldr r3, [r7, #28] + 800f2c0: 795b ldrb r3, [r3, #5] + 800f2c2: 2b05 cmp r3, #5 + 800f2c4: d103 bne.n 800f2ce LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("DHCP_NAK received\n")); dhcp_handle_nak(netif); - 800e942: 6a38 ldr r0, [r7, #32] - 800e944: f7fe fb44 bl 800cfd0 - 800e948: e01a b.n 800e980 + 800f2c6: 6a38 ldr r0, [r7, #32] + 800f2c8: f7fe fb44 bl 800d954 + 800f2cc: e01a b.n 800f304 } /* received a DHCP_OFFER in DHCP_STATE_SELECTING state? */ else if ((msg_type == DHCP_OFFER) && (dhcp->state == DHCP_STATE_SELECTING)) { - 800e94a: 7cfb ldrb r3, [r7, #19] - 800e94c: 2b02 cmp r3, #2 - 800e94e: d116 bne.n 800e97e - 800e950: 69fb ldr r3, [r7, #28] - 800e952: 795b ldrb r3, [r3, #5] - 800e954: 2b06 cmp r3, #6 - 800e956: d112 bne.n 800e97e + 800f2ce: 7cfb ldrb r3, [r7, #19] + 800f2d0: 2b02 cmp r3, #2 + 800f2d2: d116 bne.n 800f302 + 800f2d4: 69fb ldr r3, [r7, #28] + 800f2d6: 795b ldrb r3, [r3, #5] + 800f2d8: 2b06 cmp r3, #6 + 800f2da: d112 bne.n 800f302 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("DHCP_OFFER received in DHCP_STATE_SELECTING state\n")); /* remember offered lease */ dhcp_handle_offer(netif, msg_in); - 800e958: 6979 ldr r1, [r7, #20] - 800e95a: 6a38 ldr r0, [r7, #32] - 800e95c: f7fe fb86 bl 800d06c - 800e960: e00e b.n 800e980 + 800f2dc: 6979 ldr r1, [r7, #20] + 800f2de: 6a38 ldr r0, [r7, #32] + 800f2e0: f7fe fb86 bl 800d9f0 + 800f2e4: e00e b.n 800f304 goto free_pbuf_and_return; - 800e962: bf00 nop - 800e964: e00c b.n 800e980 + 800f2e6: bf00 nop + 800f2e8: e00c b.n 800f304 goto free_pbuf_and_return; - 800e966: bf00 nop - 800e968: e00a b.n 800e980 + 800f2ea: bf00 nop + 800f2ec: e00a b.n 800f304 goto free_pbuf_and_return; - 800e96a: bf00 nop - 800e96c: e008 b.n 800e980 + 800f2ee: bf00 nop + 800f2f0: e008 b.n 800f304 goto free_pbuf_and_return; - 800e96e: bf00 nop - 800e970: e006 b.n 800e980 + 800f2f2: bf00 nop + 800f2f4: e006 b.n 800f304 goto free_pbuf_and_return; - 800e972: bf00 nop - 800e974: e004 b.n 800e980 + 800f2f6: bf00 nop + 800f2f8: e004 b.n 800f304 goto free_pbuf_and_return; - 800e976: bf00 nop - 800e978: e002 b.n 800e980 + 800f2fa: bf00 nop + 800f2fc: e002 b.n 800f304 goto free_pbuf_and_return; - 800e97a: bf00 nop - 800e97c: e000 b.n 800e980 + 800f2fe: bf00 nop + 800f300: e000 b.n 800f304 } free_pbuf_and_return: - 800e97e: bf00 nop + 800f302: bf00 nop pbuf_free(p); - 800e980: 6878 ldr r0, [r7, #4] - 800e982: f7f8 f851 bl 8006a28 + 800f304: 6878 ldr r0, [r7, #4] + 800f306: f7f8 f851 bl 80073ac } - 800e986: bf00 nop - 800e988: 3728 adds r7, #40 @ 0x28 - 800e98a: 46bd mov sp, r7 - 800e98c: bd80 pop {r7, pc} - 800e98e: bf00 nop - 800e990: 2000614c .word 0x2000614c - 800e994: 20019124 .word 0x20019124 - 800e998: 20019104 .word 0x20019104 + 800f30a: bf00 nop + 800f30c: 3728 adds r7, #40 @ 0x28 + 800f30e: 46bd mov sp, r7 + 800f310: bd80 pop {r7, pc} + 800f312: bf00 nop + 800f314: 20006180 .word 0x20006180 + 800f318: 20019158 .word 0x20019158 + 800f31c: 20019138 .word 0x20019138 -0800e99c : +0800f320 : * @param dhcp dhcp control struct * @param message_type message type of the request */ static struct pbuf * dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type, u16_t *options_out_len) { - 800e99c: b580 push {r7, lr} - 800e99e: b088 sub sp, #32 - 800e9a0: af00 add r7, sp, #0 - 800e9a2: 60f8 str r0, [r7, #12] - 800e9a4: 60b9 str r1, [r7, #8] - 800e9a6: 603b str r3, [r7, #0] - 800e9a8: 4613 mov r3, r2 - 800e9aa: 71fb strb r3, [r7, #7] + 800f320: b580 push {r7, lr} + 800f322: b088 sub sp, #32 + 800f324: af00 add r7, sp, #0 + 800f326: 60f8 str r0, [r7, #12] + 800f328: 60b9 str r1, [r7, #8] + 800f32a: 603b str r3, [r7, #0] + 800f32c: 4613 mov r3, r2 + 800f32e: 71fb strb r3, [r7, #7] if (!xid_initialised) { xid = DHCP_GLOBAL_XID; xid_initialised = !xid_initialised; } #endif LWIP_ERROR("dhcp_create_msg: netif != NULL", (netif != NULL), return NULL;); - 800e9ac: 68fb ldr r3, [r7, #12] - 800e9ae: 2b00 cmp r3, #0 - 800e9b0: d108 bne.n 800e9c4 - 800e9b2: 4b5f ldr r3, [pc, #380] @ (800eb30 ) - 800e9b4: f240 7269 movw r2, #1897 @ 0x769 - 800e9b8: 495e ldr r1, [pc, #376] @ (800eb34 ) - 800e9ba: 485f ldr r0, [pc, #380] @ (800eb38 ) - 800e9bc: f002 fe1c bl 80115f8 - 800e9c0: 2300 movs r3, #0 - 800e9c2: e0b1 b.n 800eb28 + 800f330: 68fb ldr r3, [r7, #12] + 800f332: 2b00 cmp r3, #0 + 800f334: d108 bne.n 800f348 + 800f336: 4b5f ldr r3, [pc, #380] @ (800f4b4 ) + 800f338: f240 7269 movw r2, #1897 @ 0x769 + 800f33c: 495e ldr r1, [pc, #376] @ (800f4b8 ) + 800f33e: 485f ldr r0, [pc, #380] @ (800f4bc ) + 800f340: f002 fe1c bl 8011f7c + 800f344: 2300 movs r3, #0 + 800f346: e0b1 b.n 800f4ac LWIP_ERROR("dhcp_create_msg: dhcp != NULL", (dhcp != NULL), return NULL;); - 800e9c4: 68bb ldr r3, [r7, #8] - 800e9c6: 2b00 cmp r3, #0 - 800e9c8: d108 bne.n 800e9dc - 800e9ca: 4b59 ldr r3, [pc, #356] @ (800eb30 ) - 800e9cc: f240 726a movw r2, #1898 @ 0x76a - 800e9d0: 495a ldr r1, [pc, #360] @ (800eb3c ) - 800e9d2: 4859 ldr r0, [pc, #356] @ (800eb38 ) - 800e9d4: f002 fe10 bl 80115f8 - 800e9d8: 2300 movs r3, #0 - 800e9da: e0a5 b.n 800eb28 + 800f348: 68bb ldr r3, [r7, #8] + 800f34a: 2b00 cmp r3, #0 + 800f34c: d108 bne.n 800f360 + 800f34e: 4b59 ldr r3, [pc, #356] @ (800f4b4 ) + 800f350: f240 726a movw r2, #1898 @ 0x76a + 800f354: 495a ldr r1, [pc, #360] @ (800f4c0 ) + 800f356: 4859 ldr r0, [pc, #356] @ (800f4bc ) + 800f358: f002 fe10 bl 8011f7c + 800f35c: 2300 movs r3, #0 + 800f35e: e0a5 b.n 800f4ac p_out = pbuf_alloc(PBUF_TRANSPORT, sizeof(struct dhcp_msg), PBUF_RAM); - 800e9dc: f44f 7220 mov.w r2, #640 @ 0x280 - 800e9e0: f44f 719a mov.w r1, #308 @ 0x134 - 800e9e4: 2036 movs r0, #54 @ 0x36 - 800e9e6: f7f7 fd3d bl 8006464 - 800e9ea: 61b8 str r0, [r7, #24] + 800f360: f44f 7220 mov.w r2, #640 @ 0x280 + 800f364: f44f 719a mov.w r1, #308 @ 0x134 + 800f368: 2036 movs r0, #54 @ 0x36 + 800f36a: f7f7 fd3d bl 8006de8 + 800f36e: 61b8 str r0, [r7, #24] if (p_out == NULL) { - 800e9ec: 69bb ldr r3, [r7, #24] - 800e9ee: 2b00 cmp r3, #0 - 800e9f0: d101 bne.n 800e9f6 + 800f370: 69bb ldr r3, [r7, #24] + 800f372: 2b00 cmp r3, #0 + 800f374: d101 bne.n 800f37a LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("dhcp_create_msg(): could not allocate pbuf\n")); return NULL; - 800e9f2: 2300 movs r3, #0 - 800e9f4: e098 b.n 800eb28 + 800f376: 2300 movs r3, #0 + 800f378: e098 b.n 800f4ac } LWIP_ASSERT("dhcp_create_msg: check that first pbuf can hold struct dhcp_msg", - 800e9f6: 69bb ldr r3, [r7, #24] - 800e9f8: 895b ldrh r3, [r3, #10] - 800e9fa: f5b3 7f9a cmp.w r3, #308 @ 0x134 - 800e9fe: d206 bcs.n 800ea0e - 800ea00: 4b4b ldr r3, [pc, #300] @ (800eb30 ) - 800ea02: f240 7271 movw r2, #1905 @ 0x771 - 800ea06: 494e ldr r1, [pc, #312] @ (800eb40 ) - 800ea08: 484b ldr r0, [pc, #300] @ (800eb38 ) - 800ea0a: f002 fdf5 bl 80115f8 + 800f37a: 69bb ldr r3, [r7, #24] + 800f37c: 895b ldrh r3, [r3, #10] + 800f37e: f5b3 7f9a cmp.w r3, #308 @ 0x134 + 800f382: d206 bcs.n 800f392 + 800f384: 4b4b ldr r3, [pc, #300] @ (800f4b4 ) + 800f386: f240 7271 movw r2, #1905 @ 0x771 + 800f38a: 494e ldr r1, [pc, #312] @ (800f4c4 ) + 800f38c: 484b ldr r0, [pc, #300] @ (800f4bc ) + 800f38e: f002 fdf5 bl 8011f7c (p_out->len >= sizeof(struct dhcp_msg))); /* DHCP_REQUEST should reuse 'xid' from DHCPOFFER */ if ((message_type != DHCP_REQUEST) || (dhcp->state == DHCP_STATE_REBOOTING)) { - 800ea0e: 79fb ldrb r3, [r7, #7] - 800ea10: 2b03 cmp r3, #3 - 800ea12: d103 bne.n 800ea1c - 800ea14: 68bb ldr r3, [r7, #8] - 800ea16: 795b ldrb r3, [r3, #5] - 800ea18: 2b03 cmp r3, #3 - 800ea1a: d10d bne.n 800ea38 + 800f392: 79fb ldrb r3, [r7, #7] + 800f394: 2b03 cmp r3, #3 + 800f396: d103 bne.n 800f3a0 + 800f398: 68bb ldr r3, [r7, #8] + 800f39a: 795b ldrb r3, [r3, #5] + 800f39c: 2b03 cmp r3, #3 + 800f39e: d10d bne.n 800f3bc /* reuse transaction identifier in retransmissions */ if (dhcp->tries == 0) { - 800ea1c: 68bb ldr r3, [r7, #8] - 800ea1e: 799b ldrb r3, [r3, #6] - 800ea20: 2b00 cmp r3, #0 - 800ea22: d105 bne.n 800ea30 + 800f3a0: 68bb ldr r3, [r7, #8] + 800f3a2: 799b ldrb r3, [r3, #6] + 800f3a4: 2b00 cmp r3, #0 + 800f3a6: d105 bne.n 800f3b4 #if DHCP_CREATE_RAND_XID && defined(LWIP_RAND) xid = LWIP_RAND(); - 800ea24: f002 fd0a bl 801143c - 800ea28: 4603 mov r3, r0 - 800ea2a: 461a mov r2, r3 - 800ea2c: 4b45 ldr r3, [pc, #276] @ (800eb44 ) - 800ea2e: 601a str r2, [r3, #0] + 800f3a8: f002 fd0a bl 8011dc0 + 800f3ac: 4603 mov r3, r0 + 800f3ae: 461a mov r2, r3 + 800f3b0: 4b45 ldr r3, [pc, #276] @ (800f4c8 ) + 800f3b2: 601a str r2, [r3, #0] #else /* DHCP_CREATE_RAND_XID && defined(LWIP_RAND) */ xid++; #endif /* DHCP_CREATE_RAND_XID && defined(LWIP_RAND) */ } dhcp->xid = xid; - 800ea30: 4b44 ldr r3, [pc, #272] @ (800eb44 ) - 800ea32: 681a ldr r2, [r3, #0] - 800ea34: 68bb ldr r3, [r7, #8] - 800ea36: 601a str r2, [r3, #0] + 800f3b4: 4b44 ldr r3, [pc, #272] @ (800f4c8 ) + 800f3b6: 681a ldr r2, [r3, #0] + 800f3b8: 68bb ldr r3, [r7, #8] + 800f3ba: 601a str r2, [r3, #0] } LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("transaction id xid(%"X32_F")\n", xid)); msg_out = (struct dhcp_msg *)p_out->payload; - 800ea38: 69bb ldr r3, [r7, #24] - 800ea3a: 685b ldr r3, [r3, #4] - 800ea3c: 617b str r3, [r7, #20] + 800f3bc: 69bb ldr r3, [r7, #24] + 800f3be: 685b ldr r3, [r3, #4] + 800f3c0: 617b str r3, [r7, #20] memset(msg_out, 0, sizeof(struct dhcp_msg)); - 800ea3e: f44f 729a mov.w r2, #308 @ 0x134 - 800ea42: 2100 movs r1, #0 - 800ea44: 6978 ldr r0, [r7, #20] - 800ea46: f002 fe56 bl 80116f6 + 800f3c2: f44f 729a mov.w r2, #308 @ 0x134 + 800f3c6: 2100 movs r1, #0 + 800f3c8: 6978 ldr r0, [r7, #20] + 800f3ca: f002 fe56 bl 801207a msg_out->op = DHCP_BOOTREQUEST; - 800ea4a: 697b ldr r3, [r7, #20] - 800ea4c: 2201 movs r2, #1 - 800ea4e: 701a strb r2, [r3, #0] + 800f3ce: 697b ldr r3, [r7, #20] + 800f3d0: 2201 movs r2, #1 + 800f3d2: 701a strb r2, [r3, #0] /* @todo: make link layer independent */ msg_out->htype = LWIP_IANA_HWTYPE_ETHERNET; - 800ea50: 697b ldr r3, [r7, #20] - 800ea52: 2201 movs r2, #1 - 800ea54: 705a strb r2, [r3, #1] + 800f3d4: 697b ldr r3, [r7, #20] + 800f3d6: 2201 movs r2, #1 + 800f3d8: 705a strb r2, [r3, #1] msg_out->hlen = netif->hwaddr_len; - 800ea56: 68fb ldr r3, [r7, #12] - 800ea58: f893 2030 ldrb.w r2, [r3, #48] @ 0x30 - 800ea5c: 697b ldr r3, [r7, #20] - 800ea5e: 709a strb r2, [r3, #2] + 800f3da: 68fb ldr r3, [r7, #12] + 800f3dc: f893 2030 ldrb.w r2, [r3, #48] @ 0x30 + 800f3e0: 697b ldr r3, [r7, #20] + 800f3e2: 709a strb r2, [r3, #2] msg_out->xid = lwip_htonl(dhcp->xid); - 800ea60: 68bb ldr r3, [r7, #8] - 800ea62: 681b ldr r3, [r3, #0] - 800ea64: 4618 mov r0, r3 - 800ea66: f7f6 fca4 bl 80053b2 - 800ea6a: 4602 mov r2, r0 - 800ea6c: 697b ldr r3, [r7, #20] - 800ea6e: 605a str r2, [r3, #4] + 800f3e4: 68bb ldr r3, [r7, #8] + 800f3e6: 681b ldr r3, [r3, #0] + 800f3e8: 4618 mov r0, r3 + 800f3ea: f7f6 fca4 bl 8005d36 + 800f3ee: 4602 mov r2, r0 + 800f3f0: 697b ldr r3, [r7, #20] + 800f3f2: 605a str r2, [r3, #4] /* we don't need the broadcast flag since we can receive unicast traffic before being fully configured! */ /* set ciaddr to netif->ip_addr based on message_type and state */ if ((message_type == DHCP_INFORM) || (message_type == DHCP_DECLINE) || (message_type == DHCP_RELEASE) || - 800ea70: 79fb ldrb r3, [r7, #7] - 800ea72: 2b08 cmp r3, #8 - 800ea74: d010 beq.n 800ea98 - 800ea76: 79fb ldrb r3, [r7, #7] - 800ea78: 2b04 cmp r3, #4 - 800ea7a: d00d beq.n 800ea98 - 800ea7c: 79fb ldrb r3, [r7, #7] - 800ea7e: 2b07 cmp r3, #7 - 800ea80: d00a beq.n 800ea98 - 800ea82: 79fb ldrb r3, [r7, #7] - 800ea84: 2b03 cmp r3, #3 - 800ea86: d10c bne.n 800eaa2 + 800f3f4: 79fb ldrb r3, [r7, #7] + 800f3f6: 2b08 cmp r3, #8 + 800f3f8: d010 beq.n 800f41c + 800f3fa: 79fb ldrb r3, [r7, #7] + 800f3fc: 2b04 cmp r3, #4 + 800f3fe: d00d beq.n 800f41c + 800f400: 79fb ldrb r3, [r7, #7] + 800f402: 2b07 cmp r3, #7 + 800f404: d00a beq.n 800f41c + 800f406: 79fb ldrb r3, [r7, #7] + 800f408: 2b03 cmp r3, #3 + 800f40a: d10c bne.n 800f426 ((message_type == DHCP_REQUEST) && /* DHCP_STATE_BOUND not used for sending! */ ((dhcp->state == DHCP_STATE_RENEWING) || dhcp->state == DHCP_STATE_REBINDING))) { - 800ea88: 68bb ldr r3, [r7, #8] - 800ea8a: 795b ldrb r3, [r3, #5] + 800f40c: 68bb ldr r3, [r7, #8] + 800f40e: 795b ldrb r3, [r3, #5] ((message_type == DHCP_REQUEST) && /* DHCP_STATE_BOUND not used for sending! */ - 800ea8c: 2b05 cmp r3, #5 - 800ea8e: d003 beq.n 800ea98 + 800f410: 2b05 cmp r3, #5 + 800f412: d003 beq.n 800f41c ((dhcp->state == DHCP_STATE_RENEWING) || dhcp->state == DHCP_STATE_REBINDING))) { - 800ea90: 68bb ldr r3, [r7, #8] - 800ea92: 795b ldrb r3, [r3, #5] - 800ea94: 2b04 cmp r3, #4 - 800ea96: d104 bne.n 800eaa2 + 800f414: 68bb ldr r3, [r7, #8] + 800f416: 795b ldrb r3, [r3, #5] + 800f418: 2b04 cmp r3, #4 + 800f41a: d104 bne.n 800f426 ip4_addr_copy(msg_out->ciaddr, *netif_ip4_addr(netif)); - 800ea98: 68fb ldr r3, [r7, #12] - 800ea9a: 3304 adds r3, #4 - 800ea9c: 681a ldr r2, [r3, #0] - 800ea9e: 697b ldr r3, [r7, #20] - 800eaa0: 60da str r2, [r3, #12] + 800f41c: 68fb ldr r3, [r7, #12] + 800f41e: 3304 adds r3, #4 + 800f420: 681a ldr r2, [r3, #0] + 800f422: 697b ldr r3, [r7, #20] + 800f424: 60da str r2, [r3, #12] } for (i = 0; i < LWIP_MIN(DHCP_CHADDR_LEN, NETIF_MAX_HWADDR_LEN); i++) { - 800eaa2: 2300 movs r3, #0 - 800eaa4: 83fb strh r3, [r7, #30] - 800eaa6: e00c b.n 800eac2 + 800f426: 2300 movs r3, #0 + 800f428: 83fb strh r3, [r7, #30] + 800f42a: e00c b.n 800f446 /* copy netif hardware address (padded with zeroes through memset already) */ msg_out->chaddr[i] = netif->hwaddr[i]; - 800eaa8: 8bfa ldrh r2, [r7, #30] - 800eaaa: 8bfb ldrh r3, [r7, #30] - 800eaac: 68f9 ldr r1, [r7, #12] - 800eaae: 440a add r2, r1 - 800eab0: f892 102a ldrb.w r1, [r2, #42] @ 0x2a - 800eab4: 697a ldr r2, [r7, #20] - 800eab6: 4413 add r3, r2 - 800eab8: 460a mov r2, r1 - 800eaba: 771a strb r2, [r3, #28] + 800f42c: 8bfa ldrh r2, [r7, #30] + 800f42e: 8bfb ldrh r3, [r7, #30] + 800f430: 68f9 ldr r1, [r7, #12] + 800f432: 440a add r2, r1 + 800f434: f892 102a ldrb.w r1, [r2, #42] @ 0x2a + 800f438: 697a ldr r2, [r7, #20] + 800f43a: 4413 add r3, r2 + 800f43c: 460a mov r2, r1 + 800f43e: 771a strb r2, [r3, #28] for (i = 0; i < LWIP_MIN(DHCP_CHADDR_LEN, NETIF_MAX_HWADDR_LEN); i++) { - 800eabc: 8bfb ldrh r3, [r7, #30] - 800eabe: 3301 adds r3, #1 - 800eac0: 83fb strh r3, [r7, #30] - 800eac2: 8bfb ldrh r3, [r7, #30] - 800eac4: 2b05 cmp r3, #5 - 800eac6: d9ef bls.n 800eaa8 + 800f440: 8bfb ldrh r3, [r7, #30] + 800f442: 3301 adds r3, #1 + 800f444: 83fb strh r3, [r7, #30] + 800f446: 8bfb ldrh r3, [r7, #30] + 800f448: 2b05 cmp r3, #5 + 800f44a: d9ef bls.n 800f42c } msg_out->cookie = PP_HTONL(DHCP_MAGIC_COOKIE); - 800eac8: 697b ldr r3, [r7, #20] - 800eaca: 2200 movs r2, #0 - 800eacc: f042 0263 orr.w r2, r2, #99 @ 0x63 - 800ead0: f883 20ec strb.w r2, [r3, #236] @ 0xec - 800ead4: 2200 movs r2, #0 - 800ead6: f062 027d orn r2, r2, #125 @ 0x7d - 800eada: f883 20ed strb.w r2, [r3, #237] @ 0xed - 800eade: 2200 movs r2, #0 - 800eae0: f042 0253 orr.w r2, r2, #83 @ 0x53 - 800eae4: f883 20ee strb.w r2, [r3, #238] @ 0xee - 800eae8: 2200 movs r2, #0 - 800eaea: f042 0263 orr.w r2, r2, #99 @ 0x63 - 800eaee: f883 20ef strb.w r2, [r3, #239] @ 0xef + 800f44c: 697b ldr r3, [r7, #20] + 800f44e: 2200 movs r2, #0 + 800f450: f042 0263 orr.w r2, r2, #99 @ 0x63 + 800f454: f883 20ec strb.w r2, [r3, #236] @ 0xec + 800f458: 2200 movs r2, #0 + 800f45a: f062 027d orn r2, r2, #125 @ 0x7d + 800f45e: f883 20ed strb.w r2, [r3, #237] @ 0xed + 800f462: 2200 movs r2, #0 + 800f464: f042 0253 orr.w r2, r2, #83 @ 0x53 + 800f468: f883 20ee strb.w r2, [r3, #238] @ 0xee + 800f46c: 2200 movs r2, #0 + 800f46e: f042 0263 orr.w r2, r2, #99 @ 0x63 + 800f472: f883 20ef strb.w r2, [r3, #239] @ 0xef /* Add option MESSAGE_TYPE */ options_out_len_loc = dhcp_option(0, msg_out->options, DHCP_OPTION_MESSAGE_TYPE, DHCP_OPTION_MESSAGE_TYPE_LEN); - 800eaf2: 697b ldr r3, [r7, #20] - 800eaf4: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800eaf8: 2301 movs r3, #1 - 800eafa: 2235 movs r2, #53 @ 0x35 - 800eafc: 2000 movs r0, #0 - 800eafe: f7ff fadb bl 800e0b8 - 800eb02: 4603 mov r3, r0 - 800eb04: 827b strh r3, [r7, #18] + 800f476: 697b ldr r3, [r7, #20] + 800f478: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800f47c: 2301 movs r3, #1 + 800f47e: 2235 movs r2, #53 @ 0x35 + 800f480: 2000 movs r0, #0 + 800f482: f7ff fadb bl 800ea3c + 800f486: 4603 mov r3, r0 + 800f488: 827b strh r3, [r7, #18] options_out_len_loc = dhcp_option_byte(options_out_len_loc, msg_out->options, message_type); - 800eb06: 697b ldr r3, [r7, #20] - 800eb08: f103 01f0 add.w r1, r3, #240 @ 0xf0 - 800eb0c: 79fa ldrb r2, [r7, #7] - 800eb0e: 8a7b ldrh r3, [r7, #18] - 800eb10: 4618 mov r0, r3 - 800eb12: f7ff fb05 bl 800e120 - 800eb16: 4603 mov r3, r0 - 800eb18: 827b strh r3, [r7, #18] + 800f48a: 697b ldr r3, [r7, #20] + 800f48c: f103 01f0 add.w r1, r3, #240 @ 0xf0 + 800f490: 79fa ldrb r2, [r7, #7] + 800f492: 8a7b ldrh r3, [r7, #18] + 800f494: 4618 mov r0, r3 + 800f496: f7ff fb05 bl 800eaa4 + 800f49a: 4603 mov r3, r0 + 800f49c: 827b strh r3, [r7, #18] if (options_out_len) { - 800eb1a: 683b ldr r3, [r7, #0] - 800eb1c: 2b00 cmp r3, #0 - 800eb1e: d002 beq.n 800eb26 + 800f49e: 683b ldr r3, [r7, #0] + 800f4a0: 2b00 cmp r3, #0 + 800f4a2: d002 beq.n 800f4aa *options_out_len = options_out_len_loc; - 800eb20: 683b ldr r3, [r7, #0] - 800eb22: 8a7a ldrh r2, [r7, #18] - 800eb24: 801a strh r2, [r3, #0] + 800f4a4: 683b ldr r3, [r7, #0] + 800f4a6: 8a7a ldrh r2, [r7, #18] + 800f4a8: 801a strh r2, [r3, #0] } return p_out; - 800eb26: 69bb ldr r3, [r7, #24] + 800f4aa: 69bb ldr r3, [r7, #24] } - 800eb28: 4618 mov r0, r3 - 800eb2a: 3720 adds r7, #32 - 800eb2c: 46bd mov sp, r7 - 800eb2e: bd80 pop {r7, pc} - 800eb30: 08018304 .word 0x08018304 - 800eb34: 08018624 .word 0x08018624 - 800eb38: 08018364 .word 0x08018364 - 800eb3c: 08018644 .word 0x08018644 - 800eb40: 08018664 .word 0x08018664 - 800eb44: 20019134 .word 0x20019134 + 800f4ac: 4618 mov r0, r3 + 800f4ae: 3720 adds r7, #32 + 800f4b0: 46bd mov sp, r7 + 800f4b2: bd80 pop {r7, pc} + 800f4b4: 08018c84 .word 0x08018c84 + 800f4b8: 08018fa4 .word 0x08018fa4 + 800f4bc: 08018ce4 .word 0x08018ce4 + 800f4c0: 08018fc4 .word 0x08018fc4 + 800f4c4: 08018fe4 .word 0x08018fe4 + 800f4c8: 20019168 .word 0x20019168 -0800eb48 : +0800f4cc : * Adds the END option to the DHCP message, and if * necessary, up to three padding bytes. */ static void dhcp_option_trailer(u16_t options_out_len, u8_t *options, struct pbuf *p_out) { - 800eb48: b580 push {r7, lr} - 800eb4a: b084 sub sp, #16 - 800eb4c: af00 add r7, sp, #0 - 800eb4e: 4603 mov r3, r0 - 800eb50: 60b9 str r1, [r7, #8] - 800eb52: 607a str r2, [r7, #4] - 800eb54: 81fb strh r3, [r7, #14] + 800f4cc: b580 push {r7, lr} + 800f4ce: b084 sub sp, #16 + 800f4d0: af00 add r7, sp, #0 + 800f4d2: 4603 mov r3, r0 + 800f4d4: 60b9 str r1, [r7, #8] + 800f4d6: 607a str r2, [r7, #4] + 800f4d8: 81fb strh r3, [r7, #14] options[options_out_len++] = DHCP_OPTION_END; - 800eb56: 89fb ldrh r3, [r7, #14] - 800eb58: 1c5a adds r2, r3, #1 - 800eb5a: 81fa strh r2, [r7, #14] - 800eb5c: 461a mov r2, r3 - 800eb5e: 68bb ldr r3, [r7, #8] - 800eb60: 4413 add r3, r2 - 800eb62: 22ff movs r2, #255 @ 0xff - 800eb64: 701a strb r2, [r3, #0] + 800f4da: 89fb ldrh r3, [r7, #14] + 800f4dc: 1c5a adds r2, r3, #1 + 800f4de: 81fa strh r2, [r7, #14] + 800f4e0: 461a mov r2, r3 + 800f4e2: 68bb ldr r3, [r7, #8] + 800f4e4: 4413 add r3, r2 + 800f4e6: 22ff movs r2, #255 @ 0xff + 800f4e8: 701a strb r2, [r3, #0] /* packet is too small, or not 4 byte aligned? */ while (((options_out_len < DHCP_MIN_OPTIONS_LEN) || (options_out_len & 3)) && - 800eb66: e007 b.n 800eb78 + 800f4ea: e007 b.n 800f4fc (options_out_len < DHCP_OPTIONS_LEN)) { /* add a fill/padding byte */ options[options_out_len++] = 0; - 800eb68: 89fb ldrh r3, [r7, #14] - 800eb6a: 1c5a adds r2, r3, #1 - 800eb6c: 81fa strh r2, [r7, #14] - 800eb6e: 461a mov r2, r3 - 800eb70: 68bb ldr r3, [r7, #8] - 800eb72: 4413 add r3, r2 - 800eb74: 2200 movs r2, #0 - 800eb76: 701a strb r2, [r3, #0] + 800f4ec: 89fb ldrh r3, [r7, #14] + 800f4ee: 1c5a adds r2, r3, #1 + 800f4f0: 81fa strh r2, [r7, #14] + 800f4f2: 461a mov r2, r3 + 800f4f4: 68bb ldr r3, [r7, #8] + 800f4f6: 4413 add r3, r2 + 800f4f8: 2200 movs r2, #0 + 800f4fa: 701a strb r2, [r3, #0] while (((options_out_len < DHCP_MIN_OPTIONS_LEN) || (options_out_len & 3)) && - 800eb78: 89fb ldrh r3, [r7, #14] - 800eb7a: 2b43 cmp r3, #67 @ 0x43 - 800eb7c: d904 bls.n 800eb88 - 800eb7e: 89fb ldrh r3, [r7, #14] - 800eb80: f003 0303 and.w r3, r3, #3 - 800eb84: 2b00 cmp r3, #0 - 800eb86: d002 beq.n 800eb8e - 800eb88: 89fb ldrh r3, [r7, #14] - 800eb8a: 2b43 cmp r3, #67 @ 0x43 - 800eb8c: d9ec bls.n 800eb68 + 800f4fc: 89fb ldrh r3, [r7, #14] + 800f4fe: 2b43 cmp r3, #67 @ 0x43 + 800f500: d904 bls.n 800f50c + 800f502: 89fb ldrh r3, [r7, #14] + 800f504: f003 0303 and.w r3, r3, #3 + 800f508: 2b00 cmp r3, #0 + 800f50a: d002 beq.n 800f512 + 800f50c: 89fb ldrh r3, [r7, #14] + 800f50e: 2b43 cmp r3, #67 @ 0x43 + 800f510: d9ec bls.n 800f4ec } /* shrink the pbuf to the actual content length */ pbuf_realloc(p_out, (u16_t)(sizeof(struct dhcp_msg) - DHCP_OPTIONS_LEN + options_out_len)); - 800eb8e: 89fb ldrh r3, [r7, #14] - 800eb90: 33f0 adds r3, #240 @ 0xf0 - 800eb92: b29b uxth r3, r3 - 800eb94: 4619 mov r1, r3 - 800eb96: 6878 ldr r0, [r7, #4] - 800eb98: f7f7 fdc2 bl 8006720 + 800f512: 89fb ldrh r3, [r7, #14] + 800f514: 33f0 adds r3, #240 @ 0xf0 + 800f516: b29b uxth r3, r3 + 800f518: 4619 mov r1, r3 + 800f51a: 6878 ldr r0, [r7, #4] + 800f51c: f7f7 fdc2 bl 80070a4 } - 800eb9c: bf00 nop - 800eb9e: 3710 adds r7, #16 - 800eba0: 46bd mov sp, r7 - 800eba2: bd80 pop {r7, pc} + 800f520: bf00 nop + 800f522: 3710 adds r7, #16 + 800f524: 46bd mov sp, r7 + 800f526: bd80 pop {r7, pc} -0800eba4 : +0800f528 : * @return 1 if DHCP supplied netif->ip_addr (states BOUND or RENEWING), * 0 otherwise */ u8_t dhcp_supplied_address(const struct netif *netif) { - 800eba4: b480 push {r7} - 800eba6: b085 sub sp, #20 - 800eba8: af00 add r7, sp, #0 - 800ebaa: 6078 str r0, [r7, #4] + 800f528: b480 push {r7} + 800f52a: b085 sub sp, #20 + 800f52c: af00 add r7, sp, #0 + 800f52e: 6078 str r0, [r7, #4] if ((netif != NULL) && (netif_dhcp_data(netif) != NULL)) { - 800ebac: 687b ldr r3, [r7, #4] - 800ebae: 2b00 cmp r3, #0 - 800ebb0: d017 beq.n 800ebe2 - 800ebb2: 687b ldr r3, [r7, #4] - 800ebb4: 6a5b ldr r3, [r3, #36] @ 0x24 - 800ebb6: 2b00 cmp r3, #0 - 800ebb8: d013 beq.n 800ebe2 + 800f530: 687b ldr r3, [r7, #4] + 800f532: 2b00 cmp r3, #0 + 800f534: d017 beq.n 800f566 + 800f536: 687b ldr r3, [r7, #4] + 800f538: 6a5b ldr r3, [r3, #36] @ 0x24 + 800f53a: 2b00 cmp r3, #0 + 800f53c: d013 beq.n 800f566 struct dhcp *dhcp = netif_dhcp_data(netif); - 800ebba: 687b ldr r3, [r7, #4] - 800ebbc: 6a5b ldr r3, [r3, #36] @ 0x24 - 800ebbe: 60fb str r3, [r7, #12] + 800f53e: 687b ldr r3, [r7, #4] + 800f540: 6a5b ldr r3, [r3, #36] @ 0x24 + 800f542: 60fb str r3, [r7, #12] return (dhcp->state == DHCP_STATE_BOUND) || (dhcp->state == DHCP_STATE_RENEWING) || - 800ebc0: 68fb ldr r3, [r7, #12] - 800ebc2: 795b ldrb r3, [r3, #5] - 800ebc4: 2b0a cmp r3, #10 - 800ebc6: d007 beq.n 800ebd8 - 800ebc8: 68fb ldr r3, [r7, #12] - 800ebca: 795b ldrb r3, [r3, #5] - 800ebcc: 2b05 cmp r3, #5 - 800ebce: d003 beq.n 800ebd8 + 800f544: 68fb ldr r3, [r7, #12] + 800f546: 795b ldrb r3, [r3, #5] + 800f548: 2b0a cmp r3, #10 + 800f54a: d007 beq.n 800f55c + 800f54c: 68fb ldr r3, [r7, #12] + 800f54e: 795b ldrb r3, [r3, #5] + 800f550: 2b05 cmp r3, #5 + 800f552: d003 beq.n 800f55c (dhcp->state == DHCP_STATE_REBINDING); - 800ebd0: 68fb ldr r3, [r7, #12] - 800ebd2: 795b ldrb r3, [r3, #5] + 800f554: 68fb ldr r3, [r7, #12] + 800f556: 795b ldrb r3, [r3, #5] return (dhcp->state == DHCP_STATE_BOUND) || (dhcp->state == DHCP_STATE_RENEWING) || - 800ebd4: 2b04 cmp r3, #4 - 800ebd6: d101 bne.n 800ebdc - 800ebd8: 2301 movs r3, #1 - 800ebda: e000 b.n 800ebde - 800ebdc: 2300 movs r3, #0 - 800ebde: b2db uxtb r3, r3 - 800ebe0: e000 b.n 800ebe4 + 800f558: 2b04 cmp r3, #4 + 800f55a: d101 bne.n 800f560 + 800f55c: 2301 movs r3, #1 + 800f55e: e000 b.n 800f562 + 800f560: 2300 movs r3, #0 + 800f562: b2db uxtb r3, r3 + 800f564: e000 b.n 800f568 } return 0; - 800ebe2: 2300 movs r3, #0 + 800f566: 2300 movs r3, #0 } - 800ebe4: 4618 mov r0, r3 - 800ebe6: 3714 adds r7, #20 - 800ebe8: 46bd mov sp, r7 - 800ebea: f85d 7b04 ldr.w r7, [sp], #4 - 800ebee: 4770 bx lr + 800f568: 4618 mov r0, r3 + 800f56a: 3714 adds r7, #20 + 800f56c: 46bd mov sp, r7 + 800f56e: f85d 7b04 ldr.w r7, [sp], #4 + 800f572: 4770 bx lr -0800ebf0 : +0800f574 : #endif /* ARP_QUEUEING */ /** Clean up ARP table entries */ static void etharp_free_entry(int i) { - 800ebf0: b580 push {r7, lr} - 800ebf2: b082 sub sp, #8 - 800ebf4: af00 add r7, sp, #0 - 800ebf6: 6078 str r0, [r7, #4] + 800f574: b580 push {r7, lr} + 800f576: b082 sub sp, #8 + 800f578: af00 add r7, sp, #0 + 800f57a: 6078 str r0, [r7, #4] /* remove from SNMP ARP index tree */ mib2_remove_arp_entry(arp_table[i].netif, &arp_table[i].ipaddr); /* and empty packet queue */ if (arp_table[i].q != NULL) { - 800ebf8: 4915 ldr r1, [pc, #84] @ (800ec50 ) - 800ebfa: 687a ldr r2, [r7, #4] - 800ebfc: 4613 mov r3, r2 - 800ebfe: 005b lsls r3, r3, #1 - 800ec00: 4413 add r3, r2 - 800ec02: 00db lsls r3, r3, #3 - 800ec04: 440b add r3, r1 - 800ec06: 681b ldr r3, [r3, #0] - 800ec08: 2b00 cmp r3, #0 - 800ec0a: d013 beq.n 800ec34 + 800f57c: 4915 ldr r1, [pc, #84] @ (800f5d4 ) + 800f57e: 687a ldr r2, [r7, #4] + 800f580: 4613 mov r3, r2 + 800f582: 005b lsls r3, r3, #1 + 800f584: 4413 add r3, r2 + 800f586: 00db lsls r3, r3, #3 + 800f588: 440b add r3, r1 + 800f58a: 681b ldr r3, [r3, #0] + 800f58c: 2b00 cmp r3, #0 + 800f58e: d013 beq.n 800f5b8 /* remove all queued packets */ LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_free_entry: freeing entry %"U16_F", packet queue %p.\n", (u16_t)i, (void *)(arp_table[i].q))); free_etharp_q(arp_table[i].q); - 800ec0c: 4910 ldr r1, [pc, #64] @ (800ec50 ) - 800ec0e: 687a ldr r2, [r7, #4] - 800ec10: 4613 mov r3, r2 - 800ec12: 005b lsls r3, r3, #1 - 800ec14: 4413 add r3, r2 - 800ec16: 00db lsls r3, r3, #3 - 800ec18: 440b add r3, r1 - 800ec1a: 681b ldr r3, [r3, #0] - 800ec1c: 4618 mov r0, r3 - 800ec1e: f7f7 ff03 bl 8006a28 + 800f590: 4910 ldr r1, [pc, #64] @ (800f5d4 ) + 800f592: 687a ldr r2, [r7, #4] + 800f594: 4613 mov r3, r2 + 800f596: 005b lsls r3, r3, #1 + 800f598: 4413 add r3, r2 + 800f59a: 00db lsls r3, r3, #3 + 800f59c: 440b add r3, r1 + 800f59e: 681b ldr r3, [r3, #0] + 800f5a0: 4618 mov r0, r3 + 800f5a2: f7f7 ff03 bl 80073ac arp_table[i].q = NULL; - 800ec22: 490b ldr r1, [pc, #44] @ (800ec50 ) - 800ec24: 687a ldr r2, [r7, #4] - 800ec26: 4613 mov r3, r2 - 800ec28: 005b lsls r3, r3, #1 - 800ec2a: 4413 add r3, r2 - 800ec2c: 00db lsls r3, r3, #3 - 800ec2e: 440b add r3, r1 - 800ec30: 2200 movs r2, #0 - 800ec32: 601a str r2, [r3, #0] + 800f5a6: 490b ldr r1, [pc, #44] @ (800f5d4 ) + 800f5a8: 687a ldr r2, [r7, #4] + 800f5aa: 4613 mov r3, r2 + 800f5ac: 005b lsls r3, r3, #1 + 800f5ae: 4413 add r3, r2 + 800f5b0: 00db lsls r3, r3, #3 + 800f5b2: 440b add r3, r1 + 800f5b4: 2200 movs r2, #0 + 800f5b6: 601a str r2, [r3, #0] } /* recycle entry for re-use */ arp_table[i].state = ETHARP_STATE_EMPTY; - 800ec34: 4906 ldr r1, [pc, #24] @ (800ec50 ) - 800ec36: 687a ldr r2, [r7, #4] - 800ec38: 4613 mov r3, r2 - 800ec3a: 005b lsls r3, r3, #1 - 800ec3c: 4413 add r3, r2 - 800ec3e: 00db lsls r3, r3, #3 - 800ec40: 440b add r3, r1 - 800ec42: 3314 adds r3, #20 - 800ec44: 2200 movs r2, #0 - 800ec46: 701a strb r2, [r3, #0] + 800f5b8: 4906 ldr r1, [pc, #24] @ (800f5d4 ) + 800f5ba: 687a ldr r2, [r7, #4] + 800f5bc: 4613 mov r3, r2 + 800f5be: 005b lsls r3, r3, #1 + 800f5c0: 4413 add r3, r2 + 800f5c2: 00db lsls r3, r3, #3 + 800f5c4: 440b add r3, r1 + 800f5c6: 3314 adds r3, #20 + 800f5c8: 2200 movs r2, #0 + 800f5ca: 701a strb r2, [r3, #0] arp_table[i].ctime = 0; arp_table[i].netif = NULL; ip4_addr_set_zero(&arp_table[i].ipaddr); arp_table[i].ethaddr = ethzero; #endif /* LWIP_DEBUG */ } - 800ec48: bf00 nop - 800ec4a: 3708 adds r7, #8 - 800ec4c: 46bd mov sp, r7 - 800ec4e: bd80 pop {r7, pc} - 800ec50: 20019138 .word 0x20019138 + 800f5cc: bf00 nop + 800f5ce: 3708 adds r7, #8 + 800f5d0: 46bd mov sp, r7 + 800f5d2: bd80 pop {r7, pc} + 800f5d4: 2001916c .word 0x2001916c -0800ec54 : +0800f5d8 : * This function should be called every ARP_TMR_INTERVAL milliseconds (1 second), * in order to expire entries in the ARP table. */ void etharp_tmr(void) { - 800ec54: b580 push {r7, lr} - 800ec56: b082 sub sp, #8 - 800ec58: af00 add r7, sp, #0 + 800f5d8: b580 push {r7, lr} + 800f5da: b082 sub sp, #8 + 800f5dc: af00 add r7, sp, #0 int i; LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_timer\n")); /* remove expired entries from the ARP table */ for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 800ec5a: 2300 movs r3, #0 - 800ec5c: 607b str r3, [r7, #4] - 800ec5e: e096 b.n 800ed8e + 800f5de: 2300 movs r3, #0 + 800f5e0: 607b str r3, [r7, #4] + 800f5e2: e096 b.n 800f712 u8_t state = arp_table[i].state; - 800ec60: 494f ldr r1, [pc, #316] @ (800eda0 ) - 800ec62: 687a ldr r2, [r7, #4] - 800ec64: 4613 mov r3, r2 - 800ec66: 005b lsls r3, r3, #1 - 800ec68: 4413 add r3, r2 - 800ec6a: 00db lsls r3, r3, #3 - 800ec6c: 440b add r3, r1 - 800ec6e: 3314 adds r3, #20 - 800ec70: 781b ldrb r3, [r3, #0] - 800ec72: 70fb strb r3, [r7, #3] + 800f5e4: 494f ldr r1, [pc, #316] @ (800f724 ) + 800f5e6: 687a ldr r2, [r7, #4] + 800f5e8: 4613 mov r3, r2 + 800f5ea: 005b lsls r3, r3, #1 + 800f5ec: 4413 add r3, r2 + 800f5ee: 00db lsls r3, r3, #3 + 800f5f0: 440b add r3, r1 + 800f5f2: 3314 adds r3, #20 + 800f5f4: 781b ldrb r3, [r3, #0] + 800f5f6: 70fb strb r3, [r7, #3] if (state != ETHARP_STATE_EMPTY - 800ec74: 78fb ldrb r3, [r7, #3] - 800ec76: 2b00 cmp r3, #0 - 800ec78: f000 8086 beq.w 800ed88 + 800f5f8: 78fb ldrb r3, [r7, #3] + 800f5fa: 2b00 cmp r3, #0 + 800f5fc: f000 8086 beq.w 800f70c #if ETHARP_SUPPORT_STATIC_ENTRIES && (state != ETHARP_STATE_STATIC) #endif /* ETHARP_SUPPORT_STATIC_ENTRIES */ ) { arp_table[i].ctime++; - 800ec7c: 4948 ldr r1, [pc, #288] @ (800eda0 ) - 800ec7e: 687a ldr r2, [r7, #4] - 800ec80: 4613 mov r3, r2 - 800ec82: 005b lsls r3, r3, #1 - 800ec84: 4413 add r3, r2 - 800ec86: 00db lsls r3, r3, #3 - 800ec88: 440b add r3, r1 - 800ec8a: 3312 adds r3, #18 - 800ec8c: 881b ldrh r3, [r3, #0] - 800ec8e: 3301 adds r3, #1 - 800ec90: b298 uxth r0, r3 - 800ec92: 4943 ldr r1, [pc, #268] @ (800eda0 ) - 800ec94: 687a ldr r2, [r7, #4] - 800ec96: 4613 mov r3, r2 - 800ec98: 005b lsls r3, r3, #1 - 800ec9a: 4413 add r3, r2 - 800ec9c: 00db lsls r3, r3, #3 - 800ec9e: 440b add r3, r1 - 800eca0: 3312 adds r3, #18 - 800eca2: 4602 mov r2, r0 - 800eca4: 801a strh r2, [r3, #0] + 800f600: 4948 ldr r1, [pc, #288] @ (800f724 ) + 800f602: 687a ldr r2, [r7, #4] + 800f604: 4613 mov r3, r2 + 800f606: 005b lsls r3, r3, #1 + 800f608: 4413 add r3, r2 + 800f60a: 00db lsls r3, r3, #3 + 800f60c: 440b add r3, r1 + 800f60e: 3312 adds r3, #18 + 800f610: 881b ldrh r3, [r3, #0] + 800f612: 3301 adds r3, #1 + 800f614: b298 uxth r0, r3 + 800f616: 4943 ldr r1, [pc, #268] @ (800f724 ) + 800f618: 687a ldr r2, [r7, #4] + 800f61a: 4613 mov r3, r2 + 800f61c: 005b lsls r3, r3, #1 + 800f61e: 4413 add r3, r2 + 800f620: 00db lsls r3, r3, #3 + 800f622: 440b add r3, r1 + 800f624: 3312 adds r3, #18 + 800f626: 4602 mov r2, r0 + 800f628: 801a strh r2, [r3, #0] if ((arp_table[i].ctime >= ARP_MAXAGE) || - 800eca6: 493e ldr r1, [pc, #248] @ (800eda0 ) - 800eca8: 687a ldr r2, [r7, #4] - 800ecaa: 4613 mov r3, r2 - 800ecac: 005b lsls r3, r3, #1 - 800ecae: 4413 add r3, r2 - 800ecb0: 00db lsls r3, r3, #3 - 800ecb2: 440b add r3, r1 - 800ecb4: 3312 adds r3, #18 - 800ecb6: 881b ldrh r3, [r3, #0] - 800ecb8: f5b3 7f96 cmp.w r3, #300 @ 0x12c - 800ecbc: d215 bcs.n 800ecea + 800f62a: 493e ldr r1, [pc, #248] @ (800f724 ) + 800f62c: 687a ldr r2, [r7, #4] + 800f62e: 4613 mov r3, r2 + 800f630: 005b lsls r3, r3, #1 + 800f632: 4413 add r3, r2 + 800f634: 00db lsls r3, r3, #3 + 800f636: 440b add r3, r1 + 800f638: 3312 adds r3, #18 + 800f63a: 881b ldrh r3, [r3, #0] + 800f63c: f5b3 7f96 cmp.w r3, #300 @ 0x12c + 800f640: d215 bcs.n 800f66e ((arp_table[i].state == ETHARP_STATE_PENDING) && - 800ecbe: 4938 ldr r1, [pc, #224] @ (800eda0 ) - 800ecc0: 687a ldr r2, [r7, #4] - 800ecc2: 4613 mov r3, r2 - 800ecc4: 005b lsls r3, r3, #1 - 800ecc6: 4413 add r3, r2 - 800ecc8: 00db lsls r3, r3, #3 - 800ecca: 440b add r3, r1 - 800eccc: 3314 adds r3, #20 - 800ecce: 781b ldrb r3, [r3, #0] + 800f642: 4938 ldr r1, [pc, #224] @ (800f724 ) + 800f644: 687a ldr r2, [r7, #4] + 800f646: 4613 mov r3, r2 + 800f648: 005b lsls r3, r3, #1 + 800f64a: 4413 add r3, r2 + 800f64c: 00db lsls r3, r3, #3 + 800f64e: 440b add r3, r1 + 800f650: 3314 adds r3, #20 + 800f652: 781b ldrb r3, [r3, #0] if ((arp_table[i].ctime >= ARP_MAXAGE) || - 800ecd0: 2b01 cmp r3, #1 - 800ecd2: d10e bne.n 800ecf2 + 800f654: 2b01 cmp r3, #1 + 800f656: d10e bne.n 800f676 (arp_table[i].ctime >= ARP_MAXPENDING))) { - 800ecd4: 4932 ldr r1, [pc, #200] @ (800eda0 ) - 800ecd6: 687a ldr r2, [r7, #4] - 800ecd8: 4613 mov r3, r2 - 800ecda: 005b lsls r3, r3, #1 - 800ecdc: 4413 add r3, r2 - 800ecde: 00db lsls r3, r3, #3 - 800ece0: 440b add r3, r1 - 800ece2: 3312 adds r3, #18 - 800ece4: 881b ldrh r3, [r3, #0] + 800f658: 4932 ldr r1, [pc, #200] @ (800f724 ) + 800f65a: 687a ldr r2, [r7, #4] + 800f65c: 4613 mov r3, r2 + 800f65e: 005b lsls r3, r3, #1 + 800f660: 4413 add r3, r2 + 800f662: 00db lsls r3, r3, #3 + 800f664: 440b add r3, r1 + 800f666: 3312 adds r3, #18 + 800f668: 881b ldrh r3, [r3, #0] ((arp_table[i].state == ETHARP_STATE_PENDING) && - 800ece6: 2b04 cmp r3, #4 - 800ece8: d903 bls.n 800ecf2 + 800f66a: 2b04 cmp r3, #4 + 800f66c: d903 bls.n 800f676 /* pending or stable entry has become old! */ LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_timer: expired %s entry %d.\n", arp_table[i].state >= ETHARP_STATE_STABLE ? "stable" : "pending", i)); /* clean up entries that have just been expired */ etharp_free_entry(i); - 800ecea: 6878 ldr r0, [r7, #4] - 800ecec: f7ff ff80 bl 800ebf0 - 800ecf0: e04a b.n 800ed88 + 800f66e: 6878 ldr r0, [r7, #4] + 800f670: f7ff ff80 bl 800f574 + 800f674: e04a b.n 800f70c } else if (arp_table[i].state == ETHARP_STATE_STABLE_REREQUESTING_1) { - 800ecf2: 492b ldr r1, [pc, #172] @ (800eda0 ) - 800ecf4: 687a ldr r2, [r7, #4] - 800ecf6: 4613 mov r3, r2 - 800ecf8: 005b lsls r3, r3, #1 - 800ecfa: 4413 add r3, r2 - 800ecfc: 00db lsls r3, r3, #3 - 800ecfe: 440b add r3, r1 - 800ed00: 3314 adds r3, #20 - 800ed02: 781b ldrb r3, [r3, #0] - 800ed04: 2b03 cmp r3, #3 - 800ed06: d10a bne.n 800ed1e + 800f676: 492b ldr r1, [pc, #172] @ (800f724 ) + 800f678: 687a ldr r2, [r7, #4] + 800f67a: 4613 mov r3, r2 + 800f67c: 005b lsls r3, r3, #1 + 800f67e: 4413 add r3, r2 + 800f680: 00db lsls r3, r3, #3 + 800f682: 440b add r3, r1 + 800f684: 3314 adds r3, #20 + 800f686: 781b ldrb r3, [r3, #0] + 800f688: 2b03 cmp r3, #3 + 800f68a: d10a bne.n 800f6a2 /* Don't send more than one request every 2 seconds. */ arp_table[i].state = ETHARP_STATE_STABLE_REREQUESTING_2; - 800ed08: 4925 ldr r1, [pc, #148] @ (800eda0 ) - 800ed0a: 687a ldr r2, [r7, #4] - 800ed0c: 4613 mov r3, r2 - 800ed0e: 005b lsls r3, r3, #1 - 800ed10: 4413 add r3, r2 - 800ed12: 00db lsls r3, r3, #3 - 800ed14: 440b add r3, r1 - 800ed16: 3314 adds r3, #20 - 800ed18: 2204 movs r2, #4 - 800ed1a: 701a strb r2, [r3, #0] - 800ed1c: e034 b.n 800ed88 + 800f68c: 4925 ldr r1, [pc, #148] @ (800f724 ) + 800f68e: 687a ldr r2, [r7, #4] + 800f690: 4613 mov r3, r2 + 800f692: 005b lsls r3, r3, #1 + 800f694: 4413 add r3, r2 + 800f696: 00db lsls r3, r3, #3 + 800f698: 440b add r3, r1 + 800f69a: 3314 adds r3, #20 + 800f69c: 2204 movs r2, #4 + 800f69e: 701a strb r2, [r3, #0] + 800f6a0: e034 b.n 800f70c } else if (arp_table[i].state == ETHARP_STATE_STABLE_REREQUESTING_2) { - 800ed1e: 4920 ldr r1, [pc, #128] @ (800eda0 ) - 800ed20: 687a ldr r2, [r7, #4] - 800ed22: 4613 mov r3, r2 - 800ed24: 005b lsls r3, r3, #1 - 800ed26: 4413 add r3, r2 - 800ed28: 00db lsls r3, r3, #3 - 800ed2a: 440b add r3, r1 - 800ed2c: 3314 adds r3, #20 - 800ed2e: 781b ldrb r3, [r3, #0] - 800ed30: 2b04 cmp r3, #4 - 800ed32: d10a bne.n 800ed4a + 800f6a2: 4920 ldr r1, [pc, #128] @ (800f724 ) + 800f6a4: 687a ldr r2, [r7, #4] + 800f6a6: 4613 mov r3, r2 + 800f6a8: 005b lsls r3, r3, #1 + 800f6aa: 4413 add r3, r2 + 800f6ac: 00db lsls r3, r3, #3 + 800f6ae: 440b add r3, r1 + 800f6b0: 3314 adds r3, #20 + 800f6b2: 781b ldrb r3, [r3, #0] + 800f6b4: 2b04 cmp r3, #4 + 800f6b6: d10a bne.n 800f6ce /* Reset state to stable, so that the next transmitted packet will re-send an ARP request. */ arp_table[i].state = ETHARP_STATE_STABLE; - 800ed34: 491a ldr r1, [pc, #104] @ (800eda0 ) - 800ed36: 687a ldr r2, [r7, #4] - 800ed38: 4613 mov r3, r2 - 800ed3a: 005b lsls r3, r3, #1 - 800ed3c: 4413 add r3, r2 - 800ed3e: 00db lsls r3, r3, #3 - 800ed40: 440b add r3, r1 - 800ed42: 3314 adds r3, #20 - 800ed44: 2202 movs r2, #2 - 800ed46: 701a strb r2, [r3, #0] - 800ed48: e01e b.n 800ed88 + 800f6b8: 491a ldr r1, [pc, #104] @ (800f724 ) + 800f6ba: 687a ldr r2, [r7, #4] + 800f6bc: 4613 mov r3, r2 + 800f6be: 005b lsls r3, r3, #1 + 800f6c0: 4413 add r3, r2 + 800f6c2: 00db lsls r3, r3, #3 + 800f6c4: 440b add r3, r1 + 800f6c6: 3314 adds r3, #20 + 800f6c8: 2202 movs r2, #2 + 800f6ca: 701a strb r2, [r3, #0] + 800f6cc: e01e b.n 800f70c } else if (arp_table[i].state == ETHARP_STATE_PENDING) { - 800ed4a: 4915 ldr r1, [pc, #84] @ (800eda0 ) - 800ed4c: 687a ldr r2, [r7, #4] - 800ed4e: 4613 mov r3, r2 - 800ed50: 005b lsls r3, r3, #1 - 800ed52: 4413 add r3, r2 - 800ed54: 00db lsls r3, r3, #3 - 800ed56: 440b add r3, r1 - 800ed58: 3314 adds r3, #20 - 800ed5a: 781b ldrb r3, [r3, #0] - 800ed5c: 2b01 cmp r3, #1 - 800ed5e: d113 bne.n 800ed88 + 800f6ce: 4915 ldr r1, [pc, #84] @ (800f724 ) + 800f6d0: 687a ldr r2, [r7, #4] + 800f6d2: 4613 mov r3, r2 + 800f6d4: 005b lsls r3, r3, #1 + 800f6d6: 4413 add r3, r2 + 800f6d8: 00db lsls r3, r3, #3 + 800f6da: 440b add r3, r1 + 800f6dc: 3314 adds r3, #20 + 800f6de: 781b ldrb r3, [r3, #0] + 800f6e0: 2b01 cmp r3, #1 + 800f6e2: d113 bne.n 800f70c /* still pending, resend an ARP query */ etharp_request(arp_table[i].netif, &arp_table[i].ipaddr); - 800ed60: 490f ldr r1, [pc, #60] @ (800eda0 ) - 800ed62: 687a ldr r2, [r7, #4] - 800ed64: 4613 mov r3, r2 - 800ed66: 005b lsls r3, r3, #1 - 800ed68: 4413 add r3, r2 - 800ed6a: 00db lsls r3, r3, #3 - 800ed6c: 440b add r3, r1 - 800ed6e: 3308 adds r3, #8 - 800ed70: 6818 ldr r0, [r3, #0] - 800ed72: 687a ldr r2, [r7, #4] - 800ed74: 4613 mov r3, r2 - 800ed76: 005b lsls r3, r3, #1 - 800ed78: 4413 add r3, r2 - 800ed7a: 00db lsls r3, r3, #3 - 800ed7c: 4a08 ldr r2, [pc, #32] @ (800eda0 ) - 800ed7e: 4413 add r3, r2 - 800ed80: 3304 adds r3, #4 - 800ed82: 4619 mov r1, r3 - 800ed84: f000 fe72 bl 800fa6c + 800f6e4: 490f ldr r1, [pc, #60] @ (800f724 ) + 800f6e6: 687a ldr r2, [r7, #4] + 800f6e8: 4613 mov r3, r2 + 800f6ea: 005b lsls r3, r3, #1 + 800f6ec: 4413 add r3, r2 + 800f6ee: 00db lsls r3, r3, #3 + 800f6f0: 440b add r3, r1 + 800f6f2: 3308 adds r3, #8 + 800f6f4: 6818 ldr r0, [r3, #0] + 800f6f6: 687a ldr r2, [r7, #4] + 800f6f8: 4613 mov r3, r2 + 800f6fa: 005b lsls r3, r3, #1 + 800f6fc: 4413 add r3, r2 + 800f6fe: 00db lsls r3, r3, #3 + 800f700: 4a08 ldr r2, [pc, #32] @ (800f724 ) + 800f702: 4413 add r3, r2 + 800f704: 3304 adds r3, #4 + 800f706: 4619 mov r1, r3 + 800f708: f000 fe72 bl 80103f0 for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 800ed88: 687b ldr r3, [r7, #4] - 800ed8a: 3301 adds r3, #1 - 800ed8c: 607b str r3, [r7, #4] - 800ed8e: 687b ldr r3, [r7, #4] - 800ed90: 2b09 cmp r3, #9 - 800ed92: f77f af65 ble.w 800ec60 + 800f70c: 687b ldr r3, [r7, #4] + 800f70e: 3301 adds r3, #1 + 800f710: 607b str r3, [r7, #4] + 800f712: 687b ldr r3, [r7, #4] + 800f714: 2b09 cmp r3, #9 + 800f716: f77f af65 ble.w 800f5e4 } } } } - 800ed96: bf00 nop - 800ed98: bf00 nop - 800ed9a: 3708 adds r7, #8 - 800ed9c: 46bd mov sp, r7 - 800ed9e: bd80 pop {r7, pc} - 800eda0: 20019138 .word 0x20019138 + 800f71a: bf00 nop + 800f71c: bf00 nop + 800f71e: 3708 adds r7, #8 + 800f720: 46bd mov sp, r7 + 800f722: bd80 pop {r7, pc} + 800f724: 2001916c .word 0x2001916c -0800eda4 : +0800f728 : * @return The ARP entry index that matched or is created, ERR_MEM if no * entry is found or could be recycled. */ static s16_t etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif *netif) { - 800eda4: b580 push {r7, lr} - 800eda6: b08a sub sp, #40 @ 0x28 - 800eda8: af00 add r7, sp, #0 - 800edaa: 60f8 str r0, [r7, #12] - 800edac: 460b mov r3, r1 - 800edae: 607a str r2, [r7, #4] - 800edb0: 72fb strb r3, [r7, #11] + 800f728: b580 push {r7, lr} + 800f72a: b08a sub sp, #40 @ 0x28 + 800f72c: af00 add r7, sp, #0 + 800f72e: 60f8 str r0, [r7, #12] + 800f730: 460b mov r3, r1 + 800f732: 607a str r2, [r7, #4] + 800f734: 72fb strb r3, [r7, #11] s16_t old_pending = ARP_TABLE_SIZE, old_stable = ARP_TABLE_SIZE; - 800edb2: 230a movs r3, #10 - 800edb4: 84fb strh r3, [r7, #38] @ 0x26 - 800edb6: 230a movs r3, #10 - 800edb8: 84bb strh r3, [r7, #36] @ 0x24 + 800f736: 230a movs r3, #10 + 800f738: 84fb strh r3, [r7, #38] @ 0x26 + 800f73a: 230a movs r3, #10 + 800f73c: 84bb strh r3, [r7, #36] @ 0x24 s16_t empty = ARP_TABLE_SIZE; - 800edba: 230a movs r3, #10 - 800edbc: 847b strh r3, [r7, #34] @ 0x22 + 800f73e: 230a movs r3, #10 + 800f740: 847b strh r3, [r7, #34] @ 0x22 s16_t i = 0; - 800edbe: 2300 movs r3, #0 - 800edc0: 843b strh r3, [r7, #32] + 800f742: 2300 movs r3, #0 + 800f744: 843b strh r3, [r7, #32] /* oldest entry with packets on queue */ s16_t old_queue = ARP_TABLE_SIZE; - 800edc2: 230a movs r3, #10 - 800edc4: 83fb strh r3, [r7, #30] + 800f746: 230a movs r3, #10 + 800f748: 83fb strh r3, [r7, #30] /* its age */ u16_t age_queue = 0, age_pending = 0, age_stable = 0; - 800edc6: 2300 movs r3, #0 - 800edc8: 83bb strh r3, [r7, #28] - 800edca: 2300 movs r3, #0 - 800edcc: 837b strh r3, [r7, #26] - 800edce: 2300 movs r3, #0 - 800edd0: 833b strh r3, [r7, #24] + 800f74a: 2300 movs r3, #0 + 800f74c: 83bb strh r3, [r7, #28] + 800f74e: 2300 movs r3, #0 + 800f750: 837b strh r3, [r7, #26] + 800f752: 2300 movs r3, #0 + 800f754: 833b strh r3, [r7, #24] * 4) remember the oldest pending entry with queued packets (if any) * 5) search for a matching IP entry, either pending or stable * until 5 matches, or all entries are searched for. */ for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 800edd2: 2300 movs r3, #0 - 800edd4: 843b strh r3, [r7, #32] - 800edd6: e0ae b.n 800ef36 + 800f756: 2300 movs r3, #0 + 800f758: 843b strh r3, [r7, #32] + 800f75a: e0ae b.n 800f8ba u8_t state = arp_table[i].state; - 800edd8: f9b7 2020 ldrsh.w r2, [r7, #32] - 800eddc: 49a6 ldr r1, [pc, #664] @ (800f078 ) - 800edde: 4613 mov r3, r2 - 800ede0: 005b lsls r3, r3, #1 - 800ede2: 4413 add r3, r2 - 800ede4: 00db lsls r3, r3, #3 - 800ede6: 440b add r3, r1 - 800ede8: 3314 adds r3, #20 - 800edea: 781b ldrb r3, [r3, #0] - 800edec: 75fb strb r3, [r7, #23] + 800f75c: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f760: 49a6 ldr r1, [pc, #664] @ (800f9fc ) + 800f762: 4613 mov r3, r2 + 800f764: 005b lsls r3, r3, #1 + 800f766: 4413 add r3, r2 + 800f768: 00db lsls r3, r3, #3 + 800f76a: 440b add r3, r1 + 800f76c: 3314 adds r3, #20 + 800f76e: 781b ldrb r3, [r3, #0] + 800f770: 75fb strb r3, [r7, #23] /* no empty entry found yet and now we do find one? */ if ((empty == ARP_TABLE_SIZE) && (state == ETHARP_STATE_EMPTY)) { - 800edee: f9b7 3022 ldrsh.w r3, [r7, #34] @ 0x22 - 800edf2: 2b0a cmp r3, #10 - 800edf4: d105 bne.n 800ee02 - 800edf6: 7dfb ldrb r3, [r7, #23] - 800edf8: 2b00 cmp r3, #0 - 800edfa: d102 bne.n 800ee02 + 800f772: f9b7 3022 ldrsh.w r3, [r7, #34] @ 0x22 + 800f776: 2b0a cmp r3, #10 + 800f778: d105 bne.n 800f786 + 800f77a: 7dfb ldrb r3, [r7, #23] + 800f77c: 2b00 cmp r3, #0 + 800f77e: d102 bne.n 800f786 LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_find_entry: found empty entry %d\n", (int)i)); /* remember first empty entry */ empty = i; - 800edfc: 8c3b ldrh r3, [r7, #32] - 800edfe: 847b strh r3, [r7, #34] @ 0x22 - 800ee00: e095 b.n 800ef2e + 800f780: 8c3b ldrh r3, [r7, #32] + 800f782: 847b strh r3, [r7, #34] @ 0x22 + 800f784: e095 b.n 800f8b2 } else if (state != ETHARP_STATE_EMPTY) { - 800ee02: 7dfb ldrb r3, [r7, #23] - 800ee04: 2b00 cmp r3, #0 - 800ee06: f000 8092 beq.w 800ef2e + 800f786: 7dfb ldrb r3, [r7, #23] + 800f788: 2b00 cmp r3, #0 + 800f78a: f000 8092 beq.w 800f8b2 LWIP_ASSERT("state == ETHARP_STATE_PENDING || state >= ETHARP_STATE_STABLE", - 800ee0a: 7dfb ldrb r3, [r7, #23] - 800ee0c: 2b01 cmp r3, #1 - 800ee0e: d009 beq.n 800ee24 - 800ee10: 7dfb ldrb r3, [r7, #23] - 800ee12: 2b01 cmp r3, #1 - 800ee14: d806 bhi.n 800ee24 - 800ee16: 4b99 ldr r3, [pc, #612] @ (800f07c ) - 800ee18: f240 1223 movw r2, #291 @ 0x123 - 800ee1c: 4998 ldr r1, [pc, #608] @ (800f080 ) - 800ee1e: 4899 ldr r0, [pc, #612] @ (800f084 ) - 800ee20: f002 fbea bl 80115f8 + 800f78e: 7dfb ldrb r3, [r7, #23] + 800f790: 2b01 cmp r3, #1 + 800f792: d009 beq.n 800f7a8 + 800f794: 7dfb ldrb r3, [r7, #23] + 800f796: 2b01 cmp r3, #1 + 800f798: d806 bhi.n 800f7a8 + 800f79a: 4b99 ldr r3, [pc, #612] @ (800fa00 ) + 800f79c: f240 1223 movw r2, #291 @ 0x123 + 800f7a0: 4998 ldr r1, [pc, #608] @ (800fa04 ) + 800f7a2: 4899 ldr r0, [pc, #612] @ (800fa08 ) + 800f7a4: f002 fbea bl 8011f7c state == ETHARP_STATE_PENDING || state >= ETHARP_STATE_STABLE); /* if given, does IP address match IP address in ARP entry? */ if (ipaddr && ip4_addr_cmp(ipaddr, &arp_table[i].ipaddr) - 800ee24: 68fb ldr r3, [r7, #12] - 800ee26: 2b00 cmp r3, #0 - 800ee28: d020 beq.n 800ee6c - 800ee2a: 68fb ldr r3, [r7, #12] - 800ee2c: 6819 ldr r1, [r3, #0] - 800ee2e: f9b7 2020 ldrsh.w r2, [r7, #32] - 800ee32: 4891 ldr r0, [pc, #580] @ (800f078 ) - 800ee34: 4613 mov r3, r2 - 800ee36: 005b lsls r3, r3, #1 - 800ee38: 4413 add r3, r2 - 800ee3a: 00db lsls r3, r3, #3 - 800ee3c: 4403 add r3, r0 - 800ee3e: 3304 adds r3, #4 - 800ee40: 681b ldr r3, [r3, #0] - 800ee42: 4299 cmp r1, r3 - 800ee44: d112 bne.n 800ee6c + 800f7a8: 68fb ldr r3, [r7, #12] + 800f7aa: 2b00 cmp r3, #0 + 800f7ac: d020 beq.n 800f7f0 + 800f7ae: 68fb ldr r3, [r7, #12] + 800f7b0: 6819 ldr r1, [r3, #0] + 800f7b2: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f7b6: 4891 ldr r0, [pc, #580] @ (800f9fc ) + 800f7b8: 4613 mov r3, r2 + 800f7ba: 005b lsls r3, r3, #1 + 800f7bc: 4413 add r3, r2 + 800f7be: 00db lsls r3, r3, #3 + 800f7c0: 4403 add r3, r0 + 800f7c2: 3304 adds r3, #4 + 800f7c4: 681b ldr r3, [r3, #0] + 800f7c6: 4299 cmp r1, r3 + 800f7c8: d112 bne.n 800f7f0 #if ETHARP_TABLE_MATCH_NETIF && ((netif == NULL) || (netif == arp_table[i].netif)) - 800ee46: 687b ldr r3, [r7, #4] - 800ee48: 2b00 cmp r3, #0 - 800ee4a: d00c beq.n 800ee66 - 800ee4c: f9b7 2020 ldrsh.w r2, [r7, #32] - 800ee50: 4989 ldr r1, [pc, #548] @ (800f078 ) - 800ee52: 4613 mov r3, r2 - 800ee54: 005b lsls r3, r3, #1 - 800ee56: 4413 add r3, r2 - 800ee58: 00db lsls r3, r3, #3 - 800ee5a: 440b add r3, r1 - 800ee5c: 3308 adds r3, #8 - 800ee5e: 681b ldr r3, [r3, #0] - 800ee60: 687a ldr r2, [r7, #4] - 800ee62: 429a cmp r2, r3 - 800ee64: d102 bne.n 800ee6c + 800f7ca: 687b ldr r3, [r7, #4] + 800f7cc: 2b00 cmp r3, #0 + 800f7ce: d00c beq.n 800f7ea + 800f7d0: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f7d4: 4989 ldr r1, [pc, #548] @ (800f9fc ) + 800f7d6: 4613 mov r3, r2 + 800f7d8: 005b lsls r3, r3, #1 + 800f7da: 4413 add r3, r2 + 800f7dc: 00db lsls r3, r3, #3 + 800f7de: 440b add r3, r1 + 800f7e0: 3308 adds r3, #8 + 800f7e2: 681b ldr r3, [r3, #0] + 800f7e4: 687a ldr r2, [r7, #4] + 800f7e6: 429a cmp r2, r3 + 800f7e8: d102 bne.n 800f7f0 #endif /* ETHARP_TABLE_MATCH_NETIF */ ) { LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: found matching entry %d\n", (int)i)); /* found exact IP address match, simply bail out */ return i; - 800ee66: f9b7 3020 ldrsh.w r3, [r7, #32] - 800ee6a: e100 b.n 800f06e + 800f7ea: f9b7 3020 ldrsh.w r3, [r7, #32] + 800f7ee: e100 b.n 800f9f2 } /* pending entry? */ if (state == ETHARP_STATE_PENDING) { - 800ee6c: 7dfb ldrb r3, [r7, #23] - 800ee6e: 2b01 cmp r3, #1 - 800ee70: d140 bne.n 800eef4 + 800f7f0: 7dfb ldrb r3, [r7, #23] + 800f7f2: 2b01 cmp r3, #1 + 800f7f4: d140 bne.n 800f878 /* pending with queued packets? */ if (arp_table[i].q != NULL) { - 800ee72: f9b7 2020 ldrsh.w r2, [r7, #32] - 800ee76: 4980 ldr r1, [pc, #512] @ (800f078 ) - 800ee78: 4613 mov r3, r2 - 800ee7a: 005b lsls r3, r3, #1 - 800ee7c: 4413 add r3, r2 - 800ee7e: 00db lsls r3, r3, #3 - 800ee80: 440b add r3, r1 - 800ee82: 681b ldr r3, [r3, #0] - 800ee84: 2b00 cmp r3, #0 - 800ee86: d01a beq.n 800eebe + 800f7f6: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f7fa: 4980 ldr r1, [pc, #512] @ (800f9fc ) + 800f7fc: 4613 mov r3, r2 + 800f7fe: 005b lsls r3, r3, #1 + 800f800: 4413 add r3, r2 + 800f802: 00db lsls r3, r3, #3 + 800f804: 440b add r3, r1 + 800f806: 681b ldr r3, [r3, #0] + 800f808: 2b00 cmp r3, #0 + 800f80a: d01a beq.n 800f842 if (arp_table[i].ctime >= age_queue) { - 800ee88: f9b7 2020 ldrsh.w r2, [r7, #32] - 800ee8c: 497a ldr r1, [pc, #488] @ (800f078 ) - 800ee8e: 4613 mov r3, r2 - 800ee90: 005b lsls r3, r3, #1 - 800ee92: 4413 add r3, r2 - 800ee94: 00db lsls r3, r3, #3 - 800ee96: 440b add r3, r1 - 800ee98: 3312 adds r3, #18 - 800ee9a: 881b ldrh r3, [r3, #0] - 800ee9c: 8bba ldrh r2, [r7, #28] - 800ee9e: 429a cmp r2, r3 - 800eea0: d845 bhi.n 800ef2e + 800f80c: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f810: 497a ldr r1, [pc, #488] @ (800f9fc ) + 800f812: 4613 mov r3, r2 + 800f814: 005b lsls r3, r3, #1 + 800f816: 4413 add r3, r2 + 800f818: 00db lsls r3, r3, #3 + 800f81a: 440b add r3, r1 + 800f81c: 3312 adds r3, #18 + 800f81e: 881b ldrh r3, [r3, #0] + 800f820: 8bba ldrh r2, [r7, #28] + 800f822: 429a cmp r2, r3 + 800f824: d845 bhi.n 800f8b2 old_queue = i; - 800eea2: 8c3b ldrh r3, [r7, #32] - 800eea4: 83fb strh r3, [r7, #30] + 800f826: 8c3b ldrh r3, [r7, #32] + 800f828: 83fb strh r3, [r7, #30] age_queue = arp_table[i].ctime; - 800eea6: f9b7 2020 ldrsh.w r2, [r7, #32] - 800eeaa: 4973 ldr r1, [pc, #460] @ (800f078 ) - 800eeac: 4613 mov r3, r2 - 800eeae: 005b lsls r3, r3, #1 - 800eeb0: 4413 add r3, r2 - 800eeb2: 00db lsls r3, r3, #3 - 800eeb4: 440b add r3, r1 - 800eeb6: 3312 adds r3, #18 - 800eeb8: 881b ldrh r3, [r3, #0] - 800eeba: 83bb strh r3, [r7, #28] - 800eebc: e037 b.n 800ef2e + 800f82a: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f82e: 4973 ldr r1, [pc, #460] @ (800f9fc ) + 800f830: 4613 mov r3, r2 + 800f832: 005b lsls r3, r3, #1 + 800f834: 4413 add r3, r2 + 800f836: 00db lsls r3, r3, #3 + 800f838: 440b add r3, r1 + 800f83a: 3312 adds r3, #18 + 800f83c: 881b ldrh r3, [r3, #0] + 800f83e: 83bb strh r3, [r7, #28] + 800f840: e037 b.n 800f8b2 } } else /* pending without queued packets? */ { if (arp_table[i].ctime >= age_pending) { - 800eebe: f9b7 2020 ldrsh.w r2, [r7, #32] - 800eec2: 496d ldr r1, [pc, #436] @ (800f078 ) - 800eec4: 4613 mov r3, r2 - 800eec6: 005b lsls r3, r3, #1 - 800eec8: 4413 add r3, r2 - 800eeca: 00db lsls r3, r3, #3 - 800eecc: 440b add r3, r1 - 800eece: 3312 adds r3, #18 - 800eed0: 881b ldrh r3, [r3, #0] - 800eed2: 8b7a ldrh r2, [r7, #26] - 800eed4: 429a cmp r2, r3 - 800eed6: d82a bhi.n 800ef2e + 800f842: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f846: 496d ldr r1, [pc, #436] @ (800f9fc ) + 800f848: 4613 mov r3, r2 + 800f84a: 005b lsls r3, r3, #1 + 800f84c: 4413 add r3, r2 + 800f84e: 00db lsls r3, r3, #3 + 800f850: 440b add r3, r1 + 800f852: 3312 adds r3, #18 + 800f854: 881b ldrh r3, [r3, #0] + 800f856: 8b7a ldrh r2, [r7, #26] + 800f858: 429a cmp r2, r3 + 800f85a: d82a bhi.n 800f8b2 old_pending = i; - 800eed8: 8c3b ldrh r3, [r7, #32] - 800eeda: 84fb strh r3, [r7, #38] @ 0x26 + 800f85c: 8c3b ldrh r3, [r7, #32] + 800f85e: 84fb strh r3, [r7, #38] @ 0x26 age_pending = arp_table[i].ctime; - 800eedc: f9b7 2020 ldrsh.w r2, [r7, #32] - 800eee0: 4965 ldr r1, [pc, #404] @ (800f078 ) - 800eee2: 4613 mov r3, r2 - 800eee4: 005b lsls r3, r3, #1 - 800eee6: 4413 add r3, r2 - 800eee8: 00db lsls r3, r3, #3 - 800eeea: 440b add r3, r1 - 800eeec: 3312 adds r3, #18 - 800eeee: 881b ldrh r3, [r3, #0] - 800eef0: 837b strh r3, [r7, #26] - 800eef2: e01c b.n 800ef2e + 800f860: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f864: 4965 ldr r1, [pc, #404] @ (800f9fc ) + 800f866: 4613 mov r3, r2 + 800f868: 005b lsls r3, r3, #1 + 800f86a: 4413 add r3, r2 + 800f86c: 00db lsls r3, r3, #3 + 800f86e: 440b add r3, r1 + 800f870: 3312 adds r3, #18 + 800f872: 881b ldrh r3, [r3, #0] + 800f874: 837b strh r3, [r7, #26] + 800f876: e01c b.n 800f8b2 } } /* stable entry? */ } else if (state >= ETHARP_STATE_STABLE) { - 800eef4: 7dfb ldrb r3, [r7, #23] - 800eef6: 2b01 cmp r3, #1 - 800eef8: d919 bls.n 800ef2e + 800f878: 7dfb ldrb r3, [r7, #23] + 800f87a: 2b01 cmp r3, #1 + 800f87c: d919 bls.n 800f8b2 /* don't record old_stable for static entries since they never expire */ if (state < ETHARP_STATE_STATIC) #endif /* ETHARP_SUPPORT_STATIC_ENTRIES */ { /* remember entry with oldest stable entry in oldest, its age in maxtime */ if (arp_table[i].ctime >= age_stable) { - 800eefa: f9b7 2020 ldrsh.w r2, [r7, #32] - 800eefe: 495e ldr r1, [pc, #376] @ (800f078 ) - 800ef00: 4613 mov r3, r2 - 800ef02: 005b lsls r3, r3, #1 - 800ef04: 4413 add r3, r2 - 800ef06: 00db lsls r3, r3, #3 - 800ef08: 440b add r3, r1 - 800ef0a: 3312 adds r3, #18 - 800ef0c: 881b ldrh r3, [r3, #0] - 800ef0e: 8b3a ldrh r2, [r7, #24] - 800ef10: 429a cmp r2, r3 - 800ef12: d80c bhi.n 800ef2e + 800f87e: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f882: 495e ldr r1, [pc, #376] @ (800f9fc ) + 800f884: 4613 mov r3, r2 + 800f886: 005b lsls r3, r3, #1 + 800f888: 4413 add r3, r2 + 800f88a: 00db lsls r3, r3, #3 + 800f88c: 440b add r3, r1 + 800f88e: 3312 adds r3, #18 + 800f890: 881b ldrh r3, [r3, #0] + 800f892: 8b3a ldrh r2, [r7, #24] + 800f894: 429a cmp r2, r3 + 800f896: d80c bhi.n 800f8b2 old_stable = i; - 800ef14: 8c3b ldrh r3, [r7, #32] - 800ef16: 84bb strh r3, [r7, #36] @ 0x24 + 800f898: 8c3b ldrh r3, [r7, #32] + 800f89a: 84bb strh r3, [r7, #36] @ 0x24 age_stable = arp_table[i].ctime; - 800ef18: f9b7 2020 ldrsh.w r2, [r7, #32] - 800ef1c: 4956 ldr r1, [pc, #344] @ (800f078 ) - 800ef1e: 4613 mov r3, r2 - 800ef20: 005b lsls r3, r3, #1 - 800ef22: 4413 add r3, r2 - 800ef24: 00db lsls r3, r3, #3 - 800ef26: 440b add r3, r1 - 800ef28: 3312 adds r3, #18 - 800ef2a: 881b ldrh r3, [r3, #0] - 800ef2c: 833b strh r3, [r7, #24] + 800f89c: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f8a0: 4956 ldr r1, [pc, #344] @ (800f9fc ) + 800f8a2: 4613 mov r3, r2 + 800f8a4: 005b lsls r3, r3, #1 + 800f8a6: 4413 add r3, r2 + 800f8a8: 00db lsls r3, r3, #3 + 800f8aa: 440b add r3, r1 + 800f8ac: 3312 adds r3, #18 + 800f8ae: 881b ldrh r3, [r3, #0] + 800f8b0: 833b strh r3, [r7, #24] for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 800ef2e: 8c3b ldrh r3, [r7, #32] - 800ef30: 3301 adds r3, #1 - 800ef32: b29b uxth r3, r3 - 800ef34: 843b strh r3, [r7, #32] - 800ef36: f9b7 3020 ldrsh.w r3, [r7, #32] - 800ef3a: 2b09 cmp r3, #9 - 800ef3c: f77f af4c ble.w 800edd8 + 800f8b2: 8c3b ldrh r3, [r7, #32] + 800f8b4: 3301 adds r3, #1 + 800f8b6: b29b uxth r3, r3 + 800f8b8: 843b strh r3, [r7, #32] + 800f8ba: f9b7 3020 ldrsh.w r3, [r7, #32] + 800f8be: 2b09 cmp r3, #9 + 800f8c0: f77f af4c ble.w 800f75c } } /* { we have no match } => try to create a new entry */ /* don't create new entry, only search? */ if (((flags & ETHARP_FLAG_FIND_ONLY) != 0) || - 800ef40: 7afb ldrb r3, [r7, #11] - 800ef42: f003 0302 and.w r3, r3, #2 - 800ef46: 2b00 cmp r3, #0 - 800ef48: d108 bne.n 800ef5c - 800ef4a: f9b7 3022 ldrsh.w r3, [r7, #34] @ 0x22 - 800ef4e: 2b0a cmp r3, #10 - 800ef50: d107 bne.n 800ef62 + 800f8c4: 7afb ldrb r3, [r7, #11] + 800f8c6: f003 0302 and.w r3, r3, #2 + 800f8ca: 2b00 cmp r3, #0 + 800f8cc: d108 bne.n 800f8e0 + 800f8ce: f9b7 3022 ldrsh.w r3, [r7, #34] @ 0x22 + 800f8d2: 2b0a cmp r3, #10 + 800f8d4: d107 bne.n 800f8e6 /* or no empty entry found and not allowed to recycle? */ ((empty == ARP_TABLE_SIZE) && ((flags & ETHARP_FLAG_TRY_HARD) == 0))) { - 800ef52: 7afb ldrb r3, [r7, #11] - 800ef54: f003 0301 and.w r3, r3, #1 - 800ef58: 2b00 cmp r3, #0 - 800ef5a: d102 bne.n 800ef62 + 800f8d6: 7afb ldrb r3, [r7, #11] + 800f8d8: f003 0301 and.w r3, r3, #1 + 800f8dc: 2b00 cmp r3, #0 + 800f8de: d102 bne.n 800f8e6 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: no empty entry found and not allowed to recycle\n")); return (s16_t)ERR_MEM; - 800ef5c: f04f 33ff mov.w r3, #4294967295 - 800ef60: e085 b.n 800f06e + 800f8e0: f04f 33ff mov.w r3, #4294967295 + 800f8e4: e085 b.n 800f9f2 * * { ETHARP_FLAG_TRY_HARD is set at this point } */ /* 1) empty entry available? */ if (empty < ARP_TABLE_SIZE) { - 800ef62: f9b7 3022 ldrsh.w r3, [r7, #34] @ 0x22 - 800ef66: 2b09 cmp r3, #9 - 800ef68: dc02 bgt.n 800ef70 + 800f8e6: f9b7 3022 ldrsh.w r3, [r7, #34] @ 0x22 + 800f8ea: 2b09 cmp r3, #9 + 800f8ec: dc02 bgt.n 800f8f4 i = empty; - 800ef6a: 8c7b ldrh r3, [r7, #34] @ 0x22 - 800ef6c: 843b strh r3, [r7, #32] - 800ef6e: e039 b.n 800efe4 + 800f8ee: 8c7b ldrh r3, [r7, #34] @ 0x22 + 800f8f0: 843b strh r3, [r7, #32] + 800f8f2: e039 b.n 800f968 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: selecting empty entry %d\n", (int)i)); } else { /* 2) found recyclable stable entry? */ if (old_stable < ARP_TABLE_SIZE) { - 800ef70: f9b7 3024 ldrsh.w r3, [r7, #36] @ 0x24 - 800ef74: 2b09 cmp r3, #9 - 800ef76: dc14 bgt.n 800efa2 + 800f8f4: f9b7 3024 ldrsh.w r3, [r7, #36] @ 0x24 + 800f8f8: 2b09 cmp r3, #9 + 800f8fa: dc14 bgt.n 800f926 /* recycle oldest stable*/ i = old_stable; - 800ef78: 8cbb ldrh r3, [r7, #36] @ 0x24 - 800ef7a: 843b strh r3, [r7, #32] + 800f8fc: 8cbb ldrh r3, [r7, #36] @ 0x24 + 800f8fe: 843b strh r3, [r7, #32] LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: selecting oldest stable entry %d\n", (int)i)); /* no queued packets should exist on stable entries */ LWIP_ASSERT("arp_table[i].q == NULL", arp_table[i].q == NULL); - 800ef7c: f9b7 2020 ldrsh.w r2, [r7, #32] - 800ef80: 493d ldr r1, [pc, #244] @ (800f078 ) - 800ef82: 4613 mov r3, r2 - 800ef84: 005b lsls r3, r3, #1 - 800ef86: 4413 add r3, r2 - 800ef88: 00db lsls r3, r3, #3 - 800ef8a: 440b add r3, r1 - 800ef8c: 681b ldr r3, [r3, #0] - 800ef8e: 2b00 cmp r3, #0 - 800ef90: d018 beq.n 800efc4 - 800ef92: 4b3a ldr r3, [pc, #232] @ (800f07c ) - 800ef94: f240 126d movw r2, #365 @ 0x16d - 800ef98: 493b ldr r1, [pc, #236] @ (800f088 ) - 800ef9a: 483a ldr r0, [pc, #232] @ (800f084 ) - 800ef9c: f002 fb2c bl 80115f8 - 800efa0: e010 b.n 800efc4 + 800f900: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f904: 493d ldr r1, [pc, #244] @ (800f9fc ) + 800f906: 4613 mov r3, r2 + 800f908: 005b lsls r3, r3, #1 + 800f90a: 4413 add r3, r2 + 800f90c: 00db lsls r3, r3, #3 + 800f90e: 440b add r3, r1 + 800f910: 681b ldr r3, [r3, #0] + 800f912: 2b00 cmp r3, #0 + 800f914: d018 beq.n 800f948 + 800f916: 4b3a ldr r3, [pc, #232] @ (800fa00 ) + 800f918: f240 126d movw r2, #365 @ 0x16d + 800f91c: 493b ldr r1, [pc, #236] @ (800fa0c ) + 800f91e: 483a ldr r0, [pc, #232] @ (800fa08 ) + 800f920: f002 fb2c bl 8011f7c + 800f924: e010 b.n 800f948 /* 3) found recyclable pending entry without queued packets? */ } else if (old_pending < ARP_TABLE_SIZE) { - 800efa2: f9b7 3026 ldrsh.w r3, [r7, #38] @ 0x26 - 800efa6: 2b09 cmp r3, #9 - 800efa8: dc02 bgt.n 800efb0 + 800f926: f9b7 3026 ldrsh.w r3, [r7, #38] @ 0x26 + 800f92a: 2b09 cmp r3, #9 + 800f92c: dc02 bgt.n 800f934 /* recycle oldest pending */ i = old_pending; - 800efaa: 8cfb ldrh r3, [r7, #38] @ 0x26 - 800efac: 843b strh r3, [r7, #32] - 800efae: e009 b.n 800efc4 + 800f92e: 8cfb ldrh r3, [r7, #38] @ 0x26 + 800f930: 843b strh r3, [r7, #32] + 800f932: e009 b.n 800f948 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: selecting oldest pending entry %d (without queue)\n", (int)i)); /* 4) found recyclable pending entry with queued packets? */ } else if (old_queue < ARP_TABLE_SIZE) { - 800efb0: f9b7 301e ldrsh.w r3, [r7, #30] - 800efb4: 2b09 cmp r3, #9 - 800efb6: dc02 bgt.n 800efbe + 800f934: f9b7 301e ldrsh.w r3, [r7, #30] + 800f938: 2b09 cmp r3, #9 + 800f93a: dc02 bgt.n 800f942 /* recycle oldest pending (queued packets are free in etharp_free_entry) */ i = old_queue; - 800efb8: 8bfb ldrh r3, [r7, #30] - 800efba: 843b strh r3, [r7, #32] - 800efbc: e002 b.n 800efc4 + 800f93c: 8bfb ldrh r3, [r7, #30] + 800f93e: 843b strh r3, [r7, #32] + 800f940: e002 b.n 800f948 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: selecting oldest pending entry %d, freeing packet queue %p\n", (int)i, (void *)(arp_table[i].q))); /* no empty or recyclable entries found */ } else { LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_find_entry: no empty or recyclable entries found\n")); return (s16_t)ERR_MEM; - 800efbe: f04f 33ff mov.w r3, #4294967295 - 800efc2: e054 b.n 800f06e + 800f942: f04f 33ff mov.w r3, #4294967295 + 800f946: e054 b.n 800f9f2 } /* { empty or recyclable entry found } */ LWIP_ASSERT("i < ARP_TABLE_SIZE", i < ARP_TABLE_SIZE); - 800efc4: f9b7 3020 ldrsh.w r3, [r7, #32] - 800efc8: 2b09 cmp r3, #9 - 800efca: dd06 ble.n 800efda - 800efcc: 4b2b ldr r3, [pc, #172] @ (800f07c ) - 800efce: f240 127f movw r2, #383 @ 0x17f - 800efd2: 492e ldr r1, [pc, #184] @ (800f08c ) - 800efd4: 482b ldr r0, [pc, #172] @ (800f084 ) - 800efd6: f002 fb0f bl 80115f8 + 800f948: f9b7 3020 ldrsh.w r3, [r7, #32] + 800f94c: 2b09 cmp r3, #9 + 800f94e: dd06 ble.n 800f95e + 800f950: 4b2b ldr r3, [pc, #172] @ (800fa00 ) + 800f952: f240 127f movw r2, #383 @ 0x17f + 800f956: 492e ldr r1, [pc, #184] @ (800fa10 ) + 800f958: 482b ldr r0, [pc, #172] @ (800fa08 ) + 800f95a: f002 fb0f bl 8011f7c etharp_free_entry(i); - 800efda: f9b7 3020 ldrsh.w r3, [r7, #32] - 800efde: 4618 mov r0, r3 - 800efe0: f7ff fe06 bl 800ebf0 + 800f95e: f9b7 3020 ldrsh.w r3, [r7, #32] + 800f962: 4618 mov r0, r3 + 800f964: f7ff fe06 bl 800f574 } LWIP_ASSERT("i < ARP_TABLE_SIZE", i < ARP_TABLE_SIZE); - 800efe4: f9b7 3020 ldrsh.w r3, [r7, #32] - 800efe8: 2b09 cmp r3, #9 - 800efea: dd06 ble.n 800effa - 800efec: 4b23 ldr r3, [pc, #140] @ (800f07c ) - 800efee: f240 1283 movw r2, #387 @ 0x183 - 800eff2: 4926 ldr r1, [pc, #152] @ (800f08c ) - 800eff4: 4823 ldr r0, [pc, #140] @ (800f084 ) - 800eff6: f002 faff bl 80115f8 + 800f968: f9b7 3020 ldrsh.w r3, [r7, #32] + 800f96c: 2b09 cmp r3, #9 + 800f96e: dd06 ble.n 800f97e + 800f970: 4b23 ldr r3, [pc, #140] @ (800fa00 ) + 800f972: f240 1283 movw r2, #387 @ 0x183 + 800f976: 4926 ldr r1, [pc, #152] @ (800fa10 ) + 800f978: 4823 ldr r0, [pc, #140] @ (800fa08 ) + 800f97a: f002 faff bl 8011f7c LWIP_ASSERT("arp_table[i].state == ETHARP_STATE_EMPTY", - 800effa: f9b7 2020 ldrsh.w r2, [r7, #32] - 800effe: 491e ldr r1, [pc, #120] @ (800f078 ) - 800f000: 4613 mov r3, r2 - 800f002: 005b lsls r3, r3, #1 - 800f004: 4413 add r3, r2 - 800f006: 00db lsls r3, r3, #3 - 800f008: 440b add r3, r1 - 800f00a: 3314 adds r3, #20 - 800f00c: 781b ldrb r3, [r3, #0] - 800f00e: 2b00 cmp r3, #0 - 800f010: d006 beq.n 800f020 - 800f012: 4b1a ldr r3, [pc, #104] @ (800f07c ) - 800f014: f44f 72c2 mov.w r2, #388 @ 0x184 - 800f018: 491d ldr r1, [pc, #116] @ (800f090 ) - 800f01a: 481a ldr r0, [pc, #104] @ (800f084 ) - 800f01c: f002 faec bl 80115f8 + 800f97e: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f982: 491e ldr r1, [pc, #120] @ (800f9fc ) + 800f984: 4613 mov r3, r2 + 800f986: 005b lsls r3, r3, #1 + 800f988: 4413 add r3, r2 + 800f98a: 00db lsls r3, r3, #3 + 800f98c: 440b add r3, r1 + 800f98e: 3314 adds r3, #20 + 800f990: 781b ldrb r3, [r3, #0] + 800f992: 2b00 cmp r3, #0 + 800f994: d006 beq.n 800f9a4 + 800f996: 4b1a ldr r3, [pc, #104] @ (800fa00 ) + 800f998: f44f 72c2 mov.w r2, #388 @ 0x184 + 800f99c: 491d ldr r1, [pc, #116] @ (800fa14 ) + 800f99e: 481a ldr r0, [pc, #104] @ (800fa08 ) + 800f9a0: f002 faec bl 8011f7c arp_table[i].state == ETHARP_STATE_EMPTY); /* IP address given? */ if (ipaddr != NULL) { - 800f020: 68fb ldr r3, [r7, #12] - 800f022: 2b00 cmp r3, #0 - 800f024: d00b beq.n 800f03e + 800f9a4: 68fb ldr r3, [r7, #12] + 800f9a6: 2b00 cmp r3, #0 + 800f9a8: d00b beq.n 800f9c2 /* set IP address */ ip4_addr_copy(arp_table[i].ipaddr, *ipaddr); - 800f026: f9b7 2020 ldrsh.w r2, [r7, #32] - 800f02a: 68fb ldr r3, [r7, #12] - 800f02c: 6819 ldr r1, [r3, #0] - 800f02e: 4812 ldr r0, [pc, #72] @ (800f078 ) - 800f030: 4613 mov r3, r2 - 800f032: 005b lsls r3, r3, #1 - 800f034: 4413 add r3, r2 - 800f036: 00db lsls r3, r3, #3 - 800f038: 4403 add r3, r0 - 800f03a: 3304 adds r3, #4 - 800f03c: 6019 str r1, [r3, #0] + 800f9aa: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f9ae: 68fb ldr r3, [r7, #12] + 800f9b0: 6819 ldr r1, [r3, #0] + 800f9b2: 4812 ldr r0, [pc, #72] @ (800f9fc ) + 800f9b4: 4613 mov r3, r2 + 800f9b6: 005b lsls r3, r3, #1 + 800f9b8: 4413 add r3, r2 + 800f9ba: 00db lsls r3, r3, #3 + 800f9bc: 4403 add r3, r0 + 800f9be: 3304 adds r3, #4 + 800f9c0: 6019 str r1, [r3, #0] } arp_table[i].ctime = 0; - 800f03e: f9b7 2020 ldrsh.w r2, [r7, #32] - 800f042: 490d ldr r1, [pc, #52] @ (800f078 ) - 800f044: 4613 mov r3, r2 - 800f046: 005b lsls r3, r3, #1 - 800f048: 4413 add r3, r2 - 800f04a: 00db lsls r3, r3, #3 - 800f04c: 440b add r3, r1 - 800f04e: 3312 adds r3, #18 - 800f050: 2200 movs r2, #0 - 800f052: 801a strh r2, [r3, #0] + 800f9c2: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f9c6: 490d ldr r1, [pc, #52] @ (800f9fc ) + 800f9c8: 4613 mov r3, r2 + 800f9ca: 005b lsls r3, r3, #1 + 800f9cc: 4413 add r3, r2 + 800f9ce: 00db lsls r3, r3, #3 + 800f9d0: 440b add r3, r1 + 800f9d2: 3312 adds r3, #18 + 800f9d4: 2200 movs r2, #0 + 800f9d6: 801a strh r2, [r3, #0] #if ETHARP_TABLE_MATCH_NETIF arp_table[i].netif = netif; - 800f054: f9b7 2020 ldrsh.w r2, [r7, #32] - 800f058: 4907 ldr r1, [pc, #28] @ (800f078 ) - 800f05a: 4613 mov r3, r2 - 800f05c: 005b lsls r3, r3, #1 - 800f05e: 4413 add r3, r2 - 800f060: 00db lsls r3, r3, #3 - 800f062: 440b add r3, r1 - 800f064: 3308 adds r3, #8 - 800f066: 687a ldr r2, [r7, #4] - 800f068: 601a str r2, [r3, #0] + 800f9d8: f9b7 2020 ldrsh.w r2, [r7, #32] + 800f9dc: 4907 ldr r1, [pc, #28] @ (800f9fc ) + 800f9de: 4613 mov r3, r2 + 800f9e0: 005b lsls r3, r3, #1 + 800f9e2: 4413 add r3, r2 + 800f9e4: 00db lsls r3, r3, #3 + 800f9e6: 440b add r3, r1 + 800f9e8: 3308 adds r3, #8 + 800f9ea: 687a ldr r2, [r7, #4] + 800f9ec: 601a str r2, [r3, #0] #endif /* ETHARP_TABLE_MATCH_NETIF */ return (s16_t)i; - 800f06a: f9b7 3020 ldrsh.w r3, [r7, #32] + 800f9ee: f9b7 3020 ldrsh.w r3, [r7, #32] } - 800f06e: 4618 mov r0, r3 - 800f070: 3728 adds r7, #40 @ 0x28 - 800f072: 46bd mov sp, r7 - 800f074: bd80 pop {r7, pc} - 800f076: bf00 nop - 800f078: 20019138 .word 0x20019138 - 800f07c: 080186a4 .word 0x080186a4 - 800f080: 080186dc .word 0x080186dc - 800f084: 0801871c .word 0x0801871c - 800f088: 08018744 .word 0x08018744 - 800f08c: 0801875c .word 0x0801875c - 800f090: 08018770 .word 0x08018770 + 800f9f2: 4618 mov r0, r3 + 800f9f4: 3728 adds r7, #40 @ 0x28 + 800f9f6: 46bd mov sp, r7 + 800f9f8: bd80 pop {r7, pc} + 800f9fa: bf00 nop + 800f9fc: 2001916c .word 0x2001916c + 800fa00: 08019024 .word 0x08019024 + 800fa04: 0801905c .word 0x0801905c + 800fa08: 0801909c .word 0x0801909c + 800fa0c: 080190c4 .word 0x080190c4 + 800fa10: 080190dc .word 0x080190dc + 800fa14: 080190f0 .word 0x080190f0 -0800f094 : +0800fa18 : * * @see pbuf_free() */ static err_t etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags) { - 800f094: b580 push {r7, lr} - 800f096: b088 sub sp, #32 - 800f098: af02 add r7, sp, #8 - 800f09a: 60f8 str r0, [r7, #12] - 800f09c: 60b9 str r1, [r7, #8] - 800f09e: 607a str r2, [r7, #4] - 800f0a0: 70fb strb r3, [r7, #3] + 800fa18: b580 push {r7, lr} + 800fa1a: b088 sub sp, #32 + 800fa1c: af02 add r7, sp, #8 + 800fa1e: 60f8 str r0, [r7, #12] + 800fa20: 60b9 str r1, [r7, #8] + 800fa22: 607a str r2, [r7, #4] + 800fa24: 70fb strb r3, [r7, #3] s16_t i; LWIP_ASSERT("netif->hwaddr_len == ETH_HWADDR_LEN", netif->hwaddr_len == ETH_HWADDR_LEN); - 800f0a2: 68fb ldr r3, [r7, #12] - 800f0a4: f893 3030 ldrb.w r3, [r3, #48] @ 0x30 - 800f0a8: 2b06 cmp r3, #6 - 800f0aa: d006 beq.n 800f0ba - 800f0ac: 4b48 ldr r3, [pc, #288] @ (800f1d0 ) - 800f0ae: f240 12a9 movw r2, #425 @ 0x1a9 - 800f0b2: 4948 ldr r1, [pc, #288] @ (800f1d4 ) - 800f0b4: 4848 ldr r0, [pc, #288] @ (800f1d8 ) - 800f0b6: f002 fa9f bl 80115f8 + 800fa26: 68fb ldr r3, [r7, #12] + 800fa28: f893 3030 ldrb.w r3, [r3, #48] @ 0x30 + 800fa2c: 2b06 cmp r3, #6 + 800fa2e: d006 beq.n 800fa3e + 800fa30: 4b48 ldr r3, [pc, #288] @ (800fb54 ) + 800fa32: f240 12a9 movw r2, #425 @ 0x1a9 + 800fa36: 4948 ldr r1, [pc, #288] @ (800fb58 ) + 800fa38: 4848 ldr r0, [pc, #288] @ (800fb5c ) + 800fa3a: f002 fa9f bl 8011f7c LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_update_arp_entry: %"U16_F".%"U16_F".%"U16_F".%"U16_F" - %02"X16_F":%02"X16_F":%02"X16_F":%02"X16_F":%02"X16_F":%02"X16_F"\n", ip4_addr1_16(ipaddr), ip4_addr2_16(ipaddr), ip4_addr3_16(ipaddr), ip4_addr4_16(ipaddr), (u16_t)ethaddr->addr[0], (u16_t)ethaddr->addr[1], (u16_t)ethaddr->addr[2], (u16_t)ethaddr->addr[3], (u16_t)ethaddr->addr[4], (u16_t)ethaddr->addr[5])); /* non-unicast address? */ if (ip4_addr_isany(ipaddr) || - 800f0ba: 68bb ldr r3, [r7, #8] - 800f0bc: 2b00 cmp r3, #0 - 800f0be: d012 beq.n 800f0e6 - 800f0c0: 68bb ldr r3, [r7, #8] - 800f0c2: 681b ldr r3, [r3, #0] - 800f0c4: 2b00 cmp r3, #0 - 800f0c6: d00e beq.n 800f0e6 + 800fa3e: 68bb ldr r3, [r7, #8] + 800fa40: 2b00 cmp r3, #0 + 800fa42: d012 beq.n 800fa6a + 800fa44: 68bb ldr r3, [r7, #8] + 800fa46: 681b ldr r3, [r3, #0] + 800fa48: 2b00 cmp r3, #0 + 800fa4a: d00e beq.n 800fa6a ip4_addr_isbroadcast(ipaddr, netif) || - 800f0c8: 68bb ldr r3, [r7, #8] - 800f0ca: 681b ldr r3, [r3, #0] - 800f0cc: 68f9 ldr r1, [r7, #12] - 800f0ce: 4618 mov r0, r3 - 800f0d0: f001 f920 bl 8010314 - 800f0d4: 4603 mov r3, r0 + 800fa4c: 68bb ldr r3, [r7, #8] + 800fa4e: 681b ldr r3, [r3, #0] + 800fa50: 68f9 ldr r1, [r7, #12] + 800fa52: 4618 mov r0, r3 + 800fa54: f001 f920 bl 8010c98 + 800fa58: 4603 mov r3, r0 if (ip4_addr_isany(ipaddr) || - 800f0d6: 2b00 cmp r3, #0 - 800f0d8: d105 bne.n 800f0e6 + 800fa5a: 2b00 cmp r3, #0 + 800fa5c: d105 bne.n 800fa6a ip4_addr_ismulticast(ipaddr)) { - 800f0da: 68bb ldr r3, [r7, #8] - 800f0dc: 681b ldr r3, [r3, #0] - 800f0de: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 800fa5e: 68bb ldr r3, [r7, #8] + 800fa60: 681b ldr r3, [r3, #0] + 800fa62: f003 03f0 and.w r3, r3, #240 @ 0xf0 ip4_addr_isbroadcast(ipaddr, netif) || - 800f0e2: 2be0 cmp r3, #224 @ 0xe0 - 800f0e4: d102 bne.n 800f0ec + 800fa66: 2be0 cmp r3, #224 @ 0xe0 + 800fa68: d102 bne.n 800fa70 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_update_arp_entry: will not add non-unicast IP address to ARP cache\n")); return ERR_ARG; - 800f0e6: f06f 030f mvn.w r3, #15 - 800f0ea: e06c b.n 800f1c6 + 800fa6a: f06f 030f mvn.w r3, #15 + 800fa6e: e06c b.n 800fb4a } /* find or create ARP entry */ i = etharp_find_entry(ipaddr, flags, netif); - 800f0ec: 78fb ldrb r3, [r7, #3] - 800f0ee: 68fa ldr r2, [r7, #12] - 800f0f0: 4619 mov r1, r3 - 800f0f2: 68b8 ldr r0, [r7, #8] - 800f0f4: f7ff fe56 bl 800eda4 - 800f0f8: 4603 mov r3, r0 - 800f0fa: 82fb strh r3, [r7, #22] + 800fa70: 78fb ldrb r3, [r7, #3] + 800fa72: 68fa ldr r2, [r7, #12] + 800fa74: 4619 mov r1, r3 + 800fa76: 68b8 ldr r0, [r7, #8] + 800fa78: f7ff fe56 bl 800f728 + 800fa7c: 4603 mov r3, r0 + 800fa7e: 82fb strh r3, [r7, #22] /* bail out if no entry could be found */ if (i < 0) { - 800f0fc: f9b7 3016 ldrsh.w r3, [r7, #22] - 800f100: 2b00 cmp r3, #0 - 800f102: da02 bge.n 800f10a + 800fa80: f9b7 3016 ldrsh.w r3, [r7, #22] + 800fa84: 2b00 cmp r3, #0 + 800fa86: da02 bge.n 800fa8e return (err_t)i; - 800f104: 8afb ldrh r3, [r7, #22] - 800f106: b25b sxtb r3, r3 - 800f108: e05d b.n 800f1c6 + 800fa88: 8afb ldrh r3, [r7, #22] + 800fa8a: b25b sxtb r3, r3 + 800fa8c: e05d b.n 800fb4a return ERR_VAL; } else #endif /* ETHARP_SUPPORT_STATIC_ENTRIES */ { /* mark it stable */ arp_table[i].state = ETHARP_STATE_STABLE; - 800f10a: f9b7 2016 ldrsh.w r2, [r7, #22] - 800f10e: 4933 ldr r1, [pc, #204] @ (800f1dc ) - 800f110: 4613 mov r3, r2 - 800f112: 005b lsls r3, r3, #1 - 800f114: 4413 add r3, r2 - 800f116: 00db lsls r3, r3, #3 - 800f118: 440b add r3, r1 - 800f11a: 3314 adds r3, #20 - 800f11c: 2202 movs r2, #2 - 800f11e: 701a strb r2, [r3, #0] + 800fa8e: f9b7 2016 ldrsh.w r2, [r7, #22] + 800fa92: 4933 ldr r1, [pc, #204] @ (800fb60 ) + 800fa94: 4613 mov r3, r2 + 800fa96: 005b lsls r3, r3, #1 + 800fa98: 4413 add r3, r2 + 800fa9a: 00db lsls r3, r3, #3 + 800fa9c: 440b add r3, r1 + 800fa9e: 3314 adds r3, #20 + 800faa0: 2202 movs r2, #2 + 800faa2: 701a strb r2, [r3, #0] } /* record network interface */ arp_table[i].netif = netif; - 800f120: f9b7 2016 ldrsh.w r2, [r7, #22] - 800f124: 492d ldr r1, [pc, #180] @ (800f1dc ) - 800f126: 4613 mov r3, r2 - 800f128: 005b lsls r3, r3, #1 - 800f12a: 4413 add r3, r2 - 800f12c: 00db lsls r3, r3, #3 - 800f12e: 440b add r3, r1 - 800f130: 3308 adds r3, #8 - 800f132: 68fa ldr r2, [r7, #12] - 800f134: 601a str r2, [r3, #0] + 800faa4: f9b7 2016 ldrsh.w r2, [r7, #22] + 800faa8: 492d ldr r1, [pc, #180] @ (800fb60 ) + 800faaa: 4613 mov r3, r2 + 800faac: 005b lsls r3, r3, #1 + 800faae: 4413 add r3, r2 + 800fab0: 00db lsls r3, r3, #3 + 800fab2: 440b add r3, r1 + 800fab4: 3308 adds r3, #8 + 800fab6: 68fa ldr r2, [r7, #12] + 800fab8: 601a str r2, [r3, #0] /* insert in SNMP ARP index tree */ mib2_add_arp_entry(netif, &arp_table[i].ipaddr); LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_update_arp_entry: updating stable entry %"S16_F"\n", i)); /* update address */ SMEMCPY(&arp_table[i].ethaddr, ethaddr, ETH_HWADDR_LEN); - 800f136: f9b7 2016 ldrsh.w r2, [r7, #22] - 800f13a: 4613 mov r3, r2 - 800f13c: 005b lsls r3, r3, #1 - 800f13e: 4413 add r3, r2 - 800f140: 00db lsls r3, r3, #3 - 800f142: 3308 adds r3, #8 - 800f144: 4a25 ldr r2, [pc, #148] @ (800f1dc ) - 800f146: 4413 add r3, r2 - 800f148: 3304 adds r3, #4 - 800f14a: 2206 movs r2, #6 - 800f14c: 6879 ldr r1, [r7, #4] - 800f14e: 4618 mov r0, r3 - 800f150: f002 fb4e bl 80117f0 + 800faba: f9b7 2016 ldrsh.w r2, [r7, #22] + 800fabe: 4613 mov r3, r2 + 800fac0: 005b lsls r3, r3, #1 + 800fac2: 4413 add r3, r2 + 800fac4: 00db lsls r3, r3, #3 + 800fac6: 3308 adds r3, #8 + 800fac8: 4a25 ldr r2, [pc, #148] @ (800fb60 ) + 800faca: 4413 add r3, r2 + 800facc: 3304 adds r3, #4 + 800face: 2206 movs r2, #6 + 800fad0: 6879 ldr r1, [r7, #4] + 800fad2: 4618 mov r0, r3 + 800fad4: f002 fb4e bl 8012174 /* reset time stamp */ arp_table[i].ctime = 0; - 800f154: f9b7 2016 ldrsh.w r2, [r7, #22] - 800f158: 4920 ldr r1, [pc, #128] @ (800f1dc ) - 800f15a: 4613 mov r3, r2 - 800f15c: 005b lsls r3, r3, #1 - 800f15e: 4413 add r3, r2 - 800f160: 00db lsls r3, r3, #3 - 800f162: 440b add r3, r1 - 800f164: 3312 adds r3, #18 - 800f166: 2200 movs r2, #0 - 800f168: 801a strh r2, [r3, #0] + 800fad8: f9b7 2016 ldrsh.w r2, [r7, #22] + 800fadc: 4920 ldr r1, [pc, #128] @ (800fb60 ) + 800fade: 4613 mov r3, r2 + 800fae0: 005b lsls r3, r3, #1 + 800fae2: 4413 add r3, r2 + 800fae4: 00db lsls r3, r3, #3 + 800fae6: 440b add r3, r1 + 800fae8: 3312 adds r3, #18 + 800faea: 2200 movs r2, #0 + 800faec: 801a strh r2, [r3, #0] /* get the packet pointer */ p = q->p; /* now queue entry can be freed */ memp_free(MEMP_ARP_QUEUE, q); #else /* ARP_QUEUEING */ if (arp_table[i].q != NULL) { - 800f16a: f9b7 2016 ldrsh.w r2, [r7, #22] - 800f16e: 491b ldr r1, [pc, #108] @ (800f1dc ) - 800f170: 4613 mov r3, r2 - 800f172: 005b lsls r3, r3, #1 - 800f174: 4413 add r3, r2 - 800f176: 00db lsls r3, r3, #3 - 800f178: 440b add r3, r1 - 800f17a: 681b ldr r3, [r3, #0] - 800f17c: 2b00 cmp r3, #0 - 800f17e: d021 beq.n 800f1c4 + 800faee: f9b7 2016 ldrsh.w r2, [r7, #22] + 800faf2: 491b ldr r1, [pc, #108] @ (800fb60 ) + 800faf4: 4613 mov r3, r2 + 800faf6: 005b lsls r3, r3, #1 + 800faf8: 4413 add r3, r2 + 800fafa: 00db lsls r3, r3, #3 + 800fafc: 440b add r3, r1 + 800fafe: 681b ldr r3, [r3, #0] + 800fb00: 2b00 cmp r3, #0 + 800fb02: d021 beq.n 800fb48 struct pbuf *p = arp_table[i].q; - 800f180: f9b7 2016 ldrsh.w r2, [r7, #22] - 800f184: 4915 ldr r1, [pc, #84] @ (800f1dc ) - 800f186: 4613 mov r3, r2 - 800f188: 005b lsls r3, r3, #1 - 800f18a: 4413 add r3, r2 - 800f18c: 00db lsls r3, r3, #3 - 800f18e: 440b add r3, r1 - 800f190: 681b ldr r3, [r3, #0] - 800f192: 613b str r3, [r7, #16] + 800fb04: f9b7 2016 ldrsh.w r2, [r7, #22] + 800fb08: 4915 ldr r1, [pc, #84] @ (800fb60 ) + 800fb0a: 4613 mov r3, r2 + 800fb0c: 005b lsls r3, r3, #1 + 800fb0e: 4413 add r3, r2 + 800fb10: 00db lsls r3, r3, #3 + 800fb12: 440b add r3, r1 + 800fb14: 681b ldr r3, [r3, #0] + 800fb16: 613b str r3, [r7, #16] arp_table[i].q = NULL; - 800f194: f9b7 2016 ldrsh.w r2, [r7, #22] - 800f198: 4910 ldr r1, [pc, #64] @ (800f1dc ) - 800f19a: 4613 mov r3, r2 - 800f19c: 005b lsls r3, r3, #1 - 800f19e: 4413 add r3, r2 - 800f1a0: 00db lsls r3, r3, #3 - 800f1a2: 440b add r3, r1 - 800f1a4: 2200 movs r2, #0 - 800f1a6: 601a str r2, [r3, #0] + 800fb18: f9b7 2016 ldrsh.w r2, [r7, #22] + 800fb1c: 4910 ldr r1, [pc, #64] @ (800fb60 ) + 800fb1e: 4613 mov r3, r2 + 800fb20: 005b lsls r3, r3, #1 + 800fb22: 4413 add r3, r2 + 800fb24: 00db lsls r3, r3, #3 + 800fb26: 440b add r3, r1 + 800fb28: 2200 movs r2, #0 + 800fb2a: 601a str r2, [r3, #0] #endif /* ARP_QUEUEING */ /* send the queued IP packet */ ethernet_output(netif, p, (struct eth_addr *)(netif->hwaddr), ethaddr, ETHTYPE_IP); - 800f1a8: 68fb ldr r3, [r7, #12] - 800f1aa: f103 022a add.w r2, r3, #42 @ 0x2a - 800f1ae: f44f 6300 mov.w r3, #2048 @ 0x800 - 800f1b2: 9300 str r3, [sp, #0] - 800f1b4: 687b ldr r3, [r7, #4] - 800f1b6: 6939 ldr r1, [r7, #16] - 800f1b8: 68f8 ldr r0, [r7, #12] - 800f1ba: f002 f8f7 bl 80113ac + 800fb2c: 68fb ldr r3, [r7, #12] + 800fb2e: f103 022a add.w r2, r3, #42 @ 0x2a + 800fb32: f44f 6300 mov.w r3, #2048 @ 0x800 + 800fb36: 9300 str r3, [sp, #0] + 800fb38: 687b ldr r3, [r7, #4] + 800fb3a: 6939 ldr r1, [r7, #16] + 800fb3c: 68f8 ldr r0, [r7, #12] + 800fb3e: f002 f8f7 bl 8011d30 /* free the queued IP packet */ pbuf_free(p); - 800f1be: 6938 ldr r0, [r7, #16] - 800f1c0: f7f7 fc32 bl 8006a28 + 800fb42: 6938 ldr r0, [r7, #16] + 800fb44: f7f7 fc32 bl 80073ac } return ERR_OK; - 800f1c4: 2300 movs r3, #0 + 800fb48: 2300 movs r3, #0 } - 800f1c6: 4618 mov r0, r3 - 800f1c8: 3718 adds r7, #24 - 800f1ca: 46bd mov sp, r7 - 800f1cc: bd80 pop {r7, pc} - 800f1ce: bf00 nop - 800f1d0: 080186a4 .word 0x080186a4 - 800f1d4: 0801879c .word 0x0801879c - 800f1d8: 0801871c .word 0x0801871c - 800f1dc: 20019138 .word 0x20019138 + 800fb4a: 4618 mov r0, r3 + 800fb4c: 3718 adds r7, #24 + 800fb4e: 46bd mov sp, r7 + 800fb50: bd80 pop {r7, pc} + 800fb52: bf00 nop + 800fb54: 08019024 .word 0x08019024 + 800fb58: 0801911c .word 0x0801911c + 800fb5c: 0801909c .word 0x0801909c + 800fb60: 2001916c .word 0x2001916c -0800f1e0 : +0800fb64 : * * @param netif points to a network interface */ void etharp_cleanup_netif(struct netif *netif) { - 800f1e0: b580 push {r7, lr} - 800f1e2: b084 sub sp, #16 - 800f1e4: af00 add r7, sp, #0 - 800f1e6: 6078 str r0, [r7, #4] + 800fb64: b580 push {r7, lr} + 800fb66: b084 sub sp, #16 + 800fb68: af00 add r7, sp, #0 + 800fb6a: 6078 str r0, [r7, #4] int i; for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 800f1e8: 2300 movs r3, #0 - 800f1ea: 60fb str r3, [r7, #12] - 800f1ec: e01e b.n 800f22c + 800fb6c: 2300 movs r3, #0 + 800fb6e: 60fb str r3, [r7, #12] + 800fb70: e01e b.n 800fbb0 u8_t state = arp_table[i].state; - 800f1ee: 4913 ldr r1, [pc, #76] @ (800f23c ) - 800f1f0: 68fa ldr r2, [r7, #12] - 800f1f2: 4613 mov r3, r2 - 800f1f4: 005b lsls r3, r3, #1 - 800f1f6: 4413 add r3, r2 - 800f1f8: 00db lsls r3, r3, #3 - 800f1fa: 440b add r3, r1 - 800f1fc: 3314 adds r3, #20 - 800f1fe: 781b ldrb r3, [r3, #0] - 800f200: 72fb strb r3, [r7, #11] + 800fb72: 4913 ldr r1, [pc, #76] @ (800fbc0 ) + 800fb74: 68fa ldr r2, [r7, #12] + 800fb76: 4613 mov r3, r2 + 800fb78: 005b lsls r3, r3, #1 + 800fb7a: 4413 add r3, r2 + 800fb7c: 00db lsls r3, r3, #3 + 800fb7e: 440b add r3, r1 + 800fb80: 3314 adds r3, #20 + 800fb82: 781b ldrb r3, [r3, #0] + 800fb84: 72fb strb r3, [r7, #11] if ((state != ETHARP_STATE_EMPTY) && (arp_table[i].netif == netif)) { - 800f202: 7afb ldrb r3, [r7, #11] - 800f204: 2b00 cmp r3, #0 - 800f206: d00e beq.n 800f226 - 800f208: 490c ldr r1, [pc, #48] @ (800f23c ) - 800f20a: 68fa ldr r2, [r7, #12] - 800f20c: 4613 mov r3, r2 - 800f20e: 005b lsls r3, r3, #1 - 800f210: 4413 add r3, r2 - 800f212: 00db lsls r3, r3, #3 - 800f214: 440b add r3, r1 - 800f216: 3308 adds r3, #8 - 800f218: 681b ldr r3, [r3, #0] - 800f21a: 687a ldr r2, [r7, #4] - 800f21c: 429a cmp r2, r3 - 800f21e: d102 bne.n 800f226 + 800fb86: 7afb ldrb r3, [r7, #11] + 800fb88: 2b00 cmp r3, #0 + 800fb8a: d00e beq.n 800fbaa + 800fb8c: 490c ldr r1, [pc, #48] @ (800fbc0 ) + 800fb8e: 68fa ldr r2, [r7, #12] + 800fb90: 4613 mov r3, r2 + 800fb92: 005b lsls r3, r3, #1 + 800fb94: 4413 add r3, r2 + 800fb96: 00db lsls r3, r3, #3 + 800fb98: 440b add r3, r1 + 800fb9a: 3308 adds r3, #8 + 800fb9c: 681b ldr r3, [r3, #0] + 800fb9e: 687a ldr r2, [r7, #4] + 800fba0: 429a cmp r2, r3 + 800fba2: d102 bne.n 800fbaa etharp_free_entry(i); - 800f220: 68f8 ldr r0, [r7, #12] - 800f222: f7ff fce5 bl 800ebf0 + 800fba4: 68f8 ldr r0, [r7, #12] + 800fba6: f7ff fce5 bl 800f574 for (i = 0; i < ARP_TABLE_SIZE; ++i) { - 800f226: 68fb ldr r3, [r7, #12] - 800f228: 3301 adds r3, #1 - 800f22a: 60fb str r3, [r7, #12] - 800f22c: 68fb ldr r3, [r7, #12] - 800f22e: 2b09 cmp r3, #9 - 800f230: dddd ble.n 800f1ee + 800fbaa: 68fb ldr r3, [r7, #12] + 800fbac: 3301 adds r3, #1 + 800fbae: 60fb str r3, [r7, #12] + 800fbb0: 68fb ldr r3, [r7, #12] + 800fbb2: 2b09 cmp r3, #9 + 800fbb4: dddd ble.n 800fb72 } } } - 800f232: bf00 nop - 800f234: bf00 nop - 800f236: 3710 adds r7, #16 - 800f238: 46bd mov sp, r7 - 800f23a: bd80 pop {r7, pc} - 800f23c: 20019138 .word 0x20019138 + 800fbb6: bf00 nop + 800fbb8: bf00 nop + 800fbba: 3710 adds r7, #16 + 800fbbc: 46bd mov sp, r7 + 800fbbe: bd80 pop {r7, pc} + 800fbc0: 2001916c .word 0x2001916c -0800f240 : +0800fbc4 : * * @see pbuf_free() */ void etharp_input(struct pbuf *p, struct netif *netif) { - 800f240: b5b0 push {r4, r5, r7, lr} - 800f242: b08a sub sp, #40 @ 0x28 - 800f244: af04 add r7, sp, #16 - 800f246: 6078 str r0, [r7, #4] - 800f248: 6039 str r1, [r7, #0] + 800fbc4: b5b0 push {r4, r5, r7, lr} + 800fbc6: b08a sub sp, #40 @ 0x28 + 800fbc8: af04 add r7, sp, #16 + 800fbca: 6078 str r0, [r7, #4] + 800fbcc: 6039 str r1, [r7, #0] ip4_addr_t sipaddr, dipaddr; u8_t for_us; LWIP_ASSERT_CORE_LOCKED(); LWIP_ERROR("netif != NULL", (netif != NULL), return;); - 800f24a: 683b ldr r3, [r7, #0] - 800f24c: 2b00 cmp r3, #0 - 800f24e: d107 bne.n 800f260 - 800f250: 4b3f ldr r3, [pc, #252] @ (800f350 ) - 800f252: f240 228a movw r2, #650 @ 0x28a - 800f256: 493f ldr r1, [pc, #252] @ (800f354 ) - 800f258: 483f ldr r0, [pc, #252] @ (800f358 ) - 800f25a: f002 f9cd bl 80115f8 - 800f25e: e074 b.n 800f34a + 800fbce: 683b ldr r3, [r7, #0] + 800fbd0: 2b00 cmp r3, #0 + 800fbd2: d107 bne.n 800fbe4 + 800fbd4: 4b3f ldr r3, [pc, #252] @ (800fcd4 ) + 800fbd6: f240 228a movw r2, #650 @ 0x28a + 800fbda: 493f ldr r1, [pc, #252] @ (800fcd8 ) + 800fbdc: 483f ldr r0, [pc, #252] @ (800fcdc ) + 800fbde: f002 f9cd bl 8011f7c + 800fbe2: e074 b.n 800fcce hdr = (struct etharp_hdr *)p->payload; - 800f260: 687b ldr r3, [r7, #4] - 800f262: 685b ldr r3, [r3, #4] - 800f264: 613b str r3, [r7, #16] + 800fbe4: 687b ldr r3, [r7, #4] + 800fbe6: 685b ldr r3, [r3, #4] + 800fbe8: 613b str r3, [r7, #16] /* RFC 826 "Packet Reception": */ if ((hdr->hwtype != PP_HTONS(LWIP_IANA_HWTYPE_ETHERNET)) || - 800f266: 693b ldr r3, [r7, #16] - 800f268: 881b ldrh r3, [r3, #0] - 800f26a: b29b uxth r3, r3 - 800f26c: f5b3 7f80 cmp.w r3, #256 @ 0x100 - 800f270: d10c bne.n 800f28c + 800fbea: 693b ldr r3, [r7, #16] + 800fbec: 881b ldrh r3, [r3, #0] + 800fbee: b29b uxth r3, r3 + 800fbf0: f5b3 7f80 cmp.w r3, #256 @ 0x100 + 800fbf4: d10c bne.n 800fc10 (hdr->hwlen != ETH_HWADDR_LEN) || - 800f272: 693b ldr r3, [r7, #16] - 800f274: 791b ldrb r3, [r3, #4] + 800fbf6: 693b ldr r3, [r7, #16] + 800fbf8: 791b ldrb r3, [r3, #4] if ((hdr->hwtype != PP_HTONS(LWIP_IANA_HWTYPE_ETHERNET)) || - 800f276: 2b06 cmp r3, #6 - 800f278: d108 bne.n 800f28c + 800fbfa: 2b06 cmp r3, #6 + 800fbfc: d108 bne.n 800fc10 (hdr->protolen != sizeof(ip4_addr_t)) || - 800f27a: 693b ldr r3, [r7, #16] - 800f27c: 795b ldrb r3, [r3, #5] + 800fbfe: 693b ldr r3, [r7, #16] + 800fc00: 795b ldrb r3, [r3, #5] (hdr->hwlen != ETH_HWADDR_LEN) || - 800f27e: 2b04 cmp r3, #4 - 800f280: d104 bne.n 800f28c + 800fc02: 2b04 cmp r3, #4 + 800fc04: d104 bne.n 800fc10 (hdr->proto != PP_HTONS(ETHTYPE_IP))) { - 800f282: 693b ldr r3, [r7, #16] - 800f284: 885b ldrh r3, [r3, #2] - 800f286: b29b uxth r3, r3 + 800fc06: 693b ldr r3, [r7, #16] + 800fc08: 885b ldrh r3, [r3, #2] + 800fc0a: b29b uxth r3, r3 (hdr->protolen != sizeof(ip4_addr_t)) || - 800f288: 2b08 cmp r3, #8 - 800f28a: d003 beq.n 800f294 + 800fc0c: 2b08 cmp r3, #8 + 800fc0e: d003 beq.n 800fc18 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("etharp_input: packet dropped, wrong hw type, hwlen, proto, protolen or ethernet type (%"U16_F"/%"U16_F"/%"U16_F"/%"U16_F")\n", hdr->hwtype, (u16_t)hdr->hwlen, hdr->proto, (u16_t)hdr->protolen)); ETHARP_STATS_INC(etharp.proterr); ETHARP_STATS_INC(etharp.drop); pbuf_free(p); - 800f28c: 6878 ldr r0, [r7, #4] - 800f28e: f7f7 fbcb bl 8006a28 + 800fc10: 6878 ldr r0, [r7, #4] + 800fc12: f7f7 fbcb bl 80073ac return; - 800f292: e05a b.n 800f34a + 800fc16: e05a b.n 800fcce autoip_arp_reply(netif, hdr); #endif /* LWIP_AUTOIP */ /* Copy struct ip4_addr_wordaligned to aligned ip4_addr, to support compilers without * structure packing (not using structure copy which breaks strict-aliasing rules). */ IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(&sipaddr, &hdr->sipaddr); - 800f294: 693b ldr r3, [r7, #16] - 800f296: 330e adds r3, #14 - 800f298: 681b ldr r3, [r3, #0] - 800f29a: 60fb str r3, [r7, #12] + 800fc18: 693b ldr r3, [r7, #16] + 800fc1a: 330e adds r3, #14 + 800fc1c: 681b ldr r3, [r3, #0] + 800fc1e: 60fb str r3, [r7, #12] IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(&dipaddr, &hdr->dipaddr); - 800f29c: 693b ldr r3, [r7, #16] - 800f29e: 3318 adds r3, #24 - 800f2a0: 681b ldr r3, [r3, #0] - 800f2a2: 60bb str r3, [r7, #8] + 800fc20: 693b ldr r3, [r7, #16] + 800fc22: 3318 adds r3, #24 + 800fc24: 681b ldr r3, [r3, #0] + 800fc26: 60bb str r3, [r7, #8] /* this interface is not configured? */ if (ip4_addr_isany_val(*netif_ip4_addr(netif))) { - 800f2a4: 683b ldr r3, [r7, #0] - 800f2a6: 3304 adds r3, #4 - 800f2a8: 681b ldr r3, [r3, #0] - 800f2aa: 2b00 cmp r3, #0 - 800f2ac: d102 bne.n 800f2b4 + 800fc28: 683b ldr r3, [r7, #0] + 800fc2a: 3304 adds r3, #4 + 800fc2c: 681b ldr r3, [r3, #0] + 800fc2e: 2b00 cmp r3, #0 + 800fc30: d102 bne.n 800fc38 for_us = 0; - 800f2ae: 2300 movs r3, #0 - 800f2b0: 75fb strb r3, [r7, #23] - 800f2b2: e009 b.n 800f2c8 + 800fc32: 2300 movs r3, #0 + 800fc34: 75fb strb r3, [r7, #23] + 800fc36: e009 b.n 800fc4c } else { /* ARP packet directed to us? */ for_us = (u8_t)ip4_addr_cmp(&dipaddr, netif_ip4_addr(netif)); - 800f2b4: 68ba ldr r2, [r7, #8] - 800f2b6: 683b ldr r3, [r7, #0] - 800f2b8: 3304 adds r3, #4 - 800f2ba: 681b ldr r3, [r3, #0] - 800f2bc: 429a cmp r2, r3 - 800f2be: bf0c ite eq - 800f2c0: 2301 moveq r3, #1 - 800f2c2: 2300 movne r3, #0 - 800f2c4: b2db uxtb r3, r3 - 800f2c6: 75fb strb r3, [r7, #23] + 800fc38: 68ba ldr r2, [r7, #8] + 800fc3a: 683b ldr r3, [r7, #0] + 800fc3c: 3304 adds r3, #4 + 800fc3e: 681b ldr r3, [r3, #0] + 800fc40: 429a cmp r2, r3 + 800fc42: bf0c ite eq + 800fc44: 2301 moveq r3, #1 + 800fc46: 2300 movne r3, #0 + 800fc48: b2db uxtb r3, r3 + 800fc4a: 75fb strb r3, [r7, #23] /* ARP message directed to us? -> add IP address in ARP cache; assume requester wants to talk to us, can result in directly sending the queued packets for this host. ARP message not directed to us? -> update the source IP address in the cache, if present */ etharp_update_arp_entry(netif, &sipaddr, &(hdr->shwaddr), - 800f2c8: 693b ldr r3, [r7, #16] - 800f2ca: f103 0208 add.w r2, r3, #8 - 800f2ce: 7dfb ldrb r3, [r7, #23] - 800f2d0: 2b00 cmp r3, #0 - 800f2d2: d001 beq.n 800f2d8 - 800f2d4: 2301 movs r3, #1 - 800f2d6: e000 b.n 800f2da - 800f2d8: 2302 movs r3, #2 - 800f2da: f107 010c add.w r1, r7, #12 - 800f2de: 6838 ldr r0, [r7, #0] - 800f2e0: f7ff fed8 bl 800f094 + 800fc4c: 693b ldr r3, [r7, #16] + 800fc4e: f103 0208 add.w r2, r3, #8 + 800fc52: 7dfb ldrb r3, [r7, #23] + 800fc54: 2b00 cmp r3, #0 + 800fc56: d001 beq.n 800fc5c + 800fc58: 2301 movs r3, #1 + 800fc5a: e000 b.n 800fc5e + 800fc5c: 2302 movs r3, #2 + 800fc5e: f107 010c add.w r1, r7, #12 + 800fc62: 6838 ldr r0, [r7, #0] + 800fc64: f7ff fed8 bl 800fa18 for_us ? ETHARP_FLAG_TRY_HARD : ETHARP_FLAG_FIND_ONLY); /* now act on the message itself */ switch (hdr->opcode) { - 800f2e4: 693b ldr r3, [r7, #16] - 800f2e6: 88db ldrh r3, [r3, #6] - 800f2e8: b29b uxth r3, r3 - 800f2ea: f5b3 7f80 cmp.w r3, #256 @ 0x100 - 800f2ee: d003 beq.n 800f2f8 - 800f2f0: f5b3 7f00 cmp.w r3, #512 @ 0x200 - 800f2f4: d01e beq.n 800f334 + 800fc68: 693b ldr r3, [r7, #16] + 800fc6a: 88db ldrh r3, [r3, #6] + 800fc6c: b29b uxth r3, r3 + 800fc6e: f5b3 7f80 cmp.w r3, #256 @ 0x100 + 800fc72: d003 beq.n 800fc7c + 800fc74: f5b3 7f00 cmp.w r3, #512 @ 0x200 + 800fc78: d01e beq.n 800fcb8 #endif /* (LWIP_DHCP && DHCP_DOES_ARP_CHECK) */ break; default: LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_input: ARP unknown opcode type %"S16_F"\n", lwip_htons(hdr->opcode))); ETHARP_STATS_INC(etharp.err); break; - 800f2f6: e025 b.n 800f344 + 800fc7a: e025 b.n 800fcc8 if (for_us) { - 800f2f8: 7dfb ldrb r3, [r7, #23] - 800f2fa: 2b00 cmp r3, #0 - 800f2fc: d021 beq.n 800f342 + 800fc7c: 7dfb ldrb r3, [r7, #23] + 800fc7e: 2b00 cmp r3, #0 + 800fc80: d021 beq.n 800fcc6 (struct eth_addr *)netif->hwaddr, &hdr->shwaddr, - 800f2fe: 683b ldr r3, [r7, #0] - 800f300: f103 002a add.w r0, r3, #42 @ 0x2a - 800f304: 693b ldr r3, [r7, #16] - 800f306: f103 0408 add.w r4, r3, #8 + 800fc82: 683b ldr r3, [r7, #0] + 800fc84: f103 002a add.w r0, r3, #42 @ 0x2a + 800fc88: 693b ldr r3, [r7, #16] + 800fc8a: f103 0408 add.w r4, r3, #8 (struct eth_addr *)netif->hwaddr, netif_ip4_addr(netif), - 800f30a: 683b ldr r3, [r7, #0] - 800f30c: f103 052a add.w r5, r3, #42 @ 0x2a - 800f310: 683b ldr r3, [r7, #0] - 800f312: 3304 adds r3, #4 + 800fc8e: 683b ldr r3, [r7, #0] + 800fc90: f103 052a add.w r5, r3, #42 @ 0x2a + 800fc94: 683b ldr r3, [r7, #0] + 800fc96: 3304 adds r3, #4 &hdr->shwaddr, &sipaddr, - 800f314: 693a ldr r2, [r7, #16] - 800f316: 3208 adds r2, #8 + 800fc98: 693a ldr r2, [r7, #16] + 800fc9a: 3208 adds r2, #8 etharp_raw(netif, - 800f318: 2102 movs r1, #2 - 800f31a: 9103 str r1, [sp, #12] - 800f31c: f107 010c add.w r1, r7, #12 - 800f320: 9102 str r1, [sp, #8] - 800f322: 9201 str r2, [sp, #4] - 800f324: 9300 str r3, [sp, #0] - 800f326: 462b mov r3, r5 - 800f328: 4622 mov r2, r4 - 800f32a: 4601 mov r1, r0 - 800f32c: 6838 ldr r0, [r7, #0] - 800f32e: f000 faef bl 800f910 + 800fc9c: 2102 movs r1, #2 + 800fc9e: 9103 str r1, [sp, #12] + 800fca0: f107 010c add.w r1, r7, #12 + 800fca4: 9102 str r1, [sp, #8] + 800fca6: 9201 str r2, [sp, #4] + 800fca8: 9300 str r3, [sp, #0] + 800fcaa: 462b mov r3, r5 + 800fcac: 4622 mov r2, r4 + 800fcae: 4601 mov r1, r0 + 800fcb0: 6838 ldr r0, [r7, #0] + 800fcb2: f000 faef bl 8010294 break; - 800f332: e006 b.n 800f342 + 800fcb6: e006 b.n 800fcc6 dhcp_arp_reply(netif, &sipaddr); - 800f334: f107 030c add.w r3, r7, #12 - 800f338: 4619 mov r1, r3 - 800f33a: 6838 ldr r0, [r7, #0] - 800f33c: f7fe fa02 bl 800d744 + 800fcb8: f107 030c add.w r3, r7, #12 + 800fcbc: 4619 mov r1, r3 + 800fcbe: 6838 ldr r0, [r7, #0] + 800fcc0: f7fe fa02 bl 800e0c8 break; - 800f340: e000 b.n 800f344 + 800fcc4: e000 b.n 800fcc8 break; - 800f342: bf00 nop + 800fcc6: bf00 nop } /* free ARP packet */ pbuf_free(p); - 800f344: 6878 ldr r0, [r7, #4] - 800f346: f7f7 fb6f bl 8006a28 + 800fcc8: 6878 ldr r0, [r7, #4] + 800fcca: f7f7 fb6f bl 80073ac } - 800f34a: 3718 adds r7, #24 - 800f34c: 46bd mov sp, r7 - 800f34e: bdb0 pop {r4, r5, r7, pc} - 800f350: 080186a4 .word 0x080186a4 - 800f354: 080187f4 .word 0x080187f4 - 800f358: 0801871c .word 0x0801871c + 800fcce: 3718 adds r7, #24 + 800fcd0: 46bd mov sp, r7 + 800fcd2: bdb0 pop {r4, r5, r7, pc} + 800fcd4: 08019024 .word 0x08019024 + 800fcd8: 08019174 .word 0x08019174 + 800fcdc: 0801909c .word 0x0801909c -0800f35c : +0800fce0 : /** Just a small helper function that sends a pbuf to an ethernet address * in the arp_table specified by the index 'arp_idx'. */ static err_t etharp_output_to_arp_index(struct netif *netif, struct pbuf *q, netif_addr_idx_t arp_idx) { - 800f35c: b580 push {r7, lr} - 800f35e: b086 sub sp, #24 - 800f360: af02 add r7, sp, #8 - 800f362: 60f8 str r0, [r7, #12] - 800f364: 60b9 str r1, [r7, #8] - 800f366: 4613 mov r3, r2 - 800f368: 71fb strb r3, [r7, #7] + 800fce0: b580 push {r7, lr} + 800fce2: b086 sub sp, #24 + 800fce4: af02 add r7, sp, #8 + 800fce6: 60f8 str r0, [r7, #12] + 800fce8: 60b9 str r1, [r7, #8] + 800fcea: 4613 mov r3, r2 + 800fcec: 71fb strb r3, [r7, #7] LWIP_ASSERT("arp_table[arp_idx].state >= ETHARP_STATE_STABLE", - 800f36a: 79fa ldrb r2, [r7, #7] - 800f36c: 4944 ldr r1, [pc, #272] @ (800f480 ) - 800f36e: 4613 mov r3, r2 - 800f370: 005b lsls r3, r3, #1 - 800f372: 4413 add r3, r2 - 800f374: 00db lsls r3, r3, #3 - 800f376: 440b add r3, r1 - 800f378: 3314 adds r3, #20 - 800f37a: 781b ldrb r3, [r3, #0] - 800f37c: 2b01 cmp r3, #1 - 800f37e: d806 bhi.n 800f38e - 800f380: 4b40 ldr r3, [pc, #256] @ (800f484 ) - 800f382: f240 22ee movw r2, #750 @ 0x2ee - 800f386: 4940 ldr r1, [pc, #256] @ (800f488 ) - 800f388: 4840 ldr r0, [pc, #256] @ (800f48c ) - 800f38a: f002 f935 bl 80115f8 + 800fcee: 79fa ldrb r2, [r7, #7] + 800fcf0: 4944 ldr r1, [pc, #272] @ (800fe04 ) + 800fcf2: 4613 mov r3, r2 + 800fcf4: 005b lsls r3, r3, #1 + 800fcf6: 4413 add r3, r2 + 800fcf8: 00db lsls r3, r3, #3 + 800fcfa: 440b add r3, r1 + 800fcfc: 3314 adds r3, #20 + 800fcfe: 781b ldrb r3, [r3, #0] + 800fd00: 2b01 cmp r3, #1 + 800fd02: d806 bhi.n 800fd12 + 800fd04: 4b40 ldr r3, [pc, #256] @ (800fe08 ) + 800fd06: f240 22ee movw r2, #750 @ 0x2ee + 800fd0a: 4940 ldr r1, [pc, #256] @ (800fe0c ) + 800fd0c: 4840 ldr r0, [pc, #256] @ (800fe10 ) + 800fd0e: f002 f935 bl 8011f7c arp_table[arp_idx].state >= ETHARP_STATE_STABLE); /* if arp table entry is about to expire: re-request it, but only if its state is ETHARP_STATE_STABLE to prevent flooding the network with ARP requests if this address is used frequently. */ if (arp_table[arp_idx].state == ETHARP_STATE_STABLE) { - 800f38e: 79fa ldrb r2, [r7, #7] - 800f390: 493b ldr r1, [pc, #236] @ (800f480 ) - 800f392: 4613 mov r3, r2 - 800f394: 005b lsls r3, r3, #1 - 800f396: 4413 add r3, r2 - 800f398: 00db lsls r3, r3, #3 - 800f39a: 440b add r3, r1 - 800f39c: 3314 adds r3, #20 - 800f39e: 781b ldrb r3, [r3, #0] - 800f3a0: 2b02 cmp r3, #2 - 800f3a2: d153 bne.n 800f44c + 800fd12: 79fa ldrb r2, [r7, #7] + 800fd14: 493b ldr r1, [pc, #236] @ (800fe04 ) + 800fd16: 4613 mov r3, r2 + 800fd18: 005b lsls r3, r3, #1 + 800fd1a: 4413 add r3, r2 + 800fd1c: 00db lsls r3, r3, #3 + 800fd1e: 440b add r3, r1 + 800fd20: 3314 adds r3, #20 + 800fd22: 781b ldrb r3, [r3, #0] + 800fd24: 2b02 cmp r3, #2 + 800fd26: d153 bne.n 800fdd0 if (arp_table[arp_idx].ctime >= ARP_AGE_REREQUEST_USED_BROADCAST) { - 800f3a4: 79fa ldrb r2, [r7, #7] - 800f3a6: 4936 ldr r1, [pc, #216] @ (800f480 ) - 800f3a8: 4613 mov r3, r2 - 800f3aa: 005b lsls r3, r3, #1 - 800f3ac: 4413 add r3, r2 - 800f3ae: 00db lsls r3, r3, #3 - 800f3b0: 440b add r3, r1 - 800f3b2: 3312 adds r3, #18 - 800f3b4: 881b ldrh r3, [r3, #0] - 800f3b6: f5b3 7f8e cmp.w r3, #284 @ 0x11c - 800f3ba: d919 bls.n 800f3f0 + 800fd28: 79fa ldrb r2, [r7, #7] + 800fd2a: 4936 ldr r1, [pc, #216] @ (800fe04 ) + 800fd2c: 4613 mov r3, r2 + 800fd2e: 005b lsls r3, r3, #1 + 800fd30: 4413 add r3, r2 + 800fd32: 00db lsls r3, r3, #3 + 800fd34: 440b add r3, r1 + 800fd36: 3312 adds r3, #18 + 800fd38: 881b ldrh r3, [r3, #0] + 800fd3a: f5b3 7f8e cmp.w r3, #284 @ 0x11c + 800fd3e: d919 bls.n 800fd74 /* issue a standard request using broadcast */ if (etharp_request(netif, &arp_table[arp_idx].ipaddr) == ERR_OK) { - 800f3bc: 79fa ldrb r2, [r7, #7] - 800f3be: 4613 mov r3, r2 - 800f3c0: 005b lsls r3, r3, #1 - 800f3c2: 4413 add r3, r2 - 800f3c4: 00db lsls r3, r3, #3 - 800f3c6: 4a2e ldr r2, [pc, #184] @ (800f480 ) - 800f3c8: 4413 add r3, r2 - 800f3ca: 3304 adds r3, #4 - 800f3cc: 4619 mov r1, r3 - 800f3ce: 68f8 ldr r0, [r7, #12] - 800f3d0: f000 fb4c bl 800fa6c - 800f3d4: 4603 mov r3, r0 - 800f3d6: 2b00 cmp r3, #0 - 800f3d8: d138 bne.n 800f44c + 800fd40: 79fa ldrb r2, [r7, #7] + 800fd42: 4613 mov r3, r2 + 800fd44: 005b lsls r3, r3, #1 + 800fd46: 4413 add r3, r2 + 800fd48: 00db lsls r3, r3, #3 + 800fd4a: 4a2e ldr r2, [pc, #184] @ (800fe04 ) + 800fd4c: 4413 add r3, r2 + 800fd4e: 3304 adds r3, #4 + 800fd50: 4619 mov r1, r3 + 800fd52: 68f8 ldr r0, [r7, #12] + 800fd54: f000 fb4c bl 80103f0 + 800fd58: 4603 mov r3, r0 + 800fd5a: 2b00 cmp r3, #0 + 800fd5c: d138 bne.n 800fdd0 arp_table[arp_idx].state = ETHARP_STATE_STABLE_REREQUESTING_1; - 800f3da: 79fa ldrb r2, [r7, #7] - 800f3dc: 4928 ldr r1, [pc, #160] @ (800f480 ) - 800f3de: 4613 mov r3, r2 - 800f3e0: 005b lsls r3, r3, #1 - 800f3e2: 4413 add r3, r2 - 800f3e4: 00db lsls r3, r3, #3 - 800f3e6: 440b add r3, r1 - 800f3e8: 3314 adds r3, #20 - 800f3ea: 2203 movs r2, #3 - 800f3ec: 701a strb r2, [r3, #0] - 800f3ee: e02d b.n 800f44c + 800fd5e: 79fa ldrb r2, [r7, #7] + 800fd60: 4928 ldr r1, [pc, #160] @ (800fe04 ) + 800fd62: 4613 mov r3, r2 + 800fd64: 005b lsls r3, r3, #1 + 800fd66: 4413 add r3, r2 + 800fd68: 00db lsls r3, r3, #3 + 800fd6a: 440b add r3, r1 + 800fd6c: 3314 adds r3, #20 + 800fd6e: 2203 movs r2, #3 + 800fd70: 701a strb r2, [r3, #0] + 800fd72: e02d b.n 800fdd0 } } else if (arp_table[arp_idx].ctime >= ARP_AGE_REREQUEST_USED_UNICAST) { - 800f3f0: 79fa ldrb r2, [r7, #7] - 800f3f2: 4923 ldr r1, [pc, #140] @ (800f480 ) - 800f3f4: 4613 mov r3, r2 - 800f3f6: 005b lsls r3, r3, #1 - 800f3f8: 4413 add r3, r2 - 800f3fa: 00db lsls r3, r3, #3 - 800f3fc: 440b add r3, r1 - 800f3fe: 3312 adds r3, #18 - 800f400: 881b ldrh r3, [r3, #0] - 800f402: f5b3 7f87 cmp.w r3, #270 @ 0x10e - 800f406: d321 bcc.n 800f44c + 800fd74: 79fa ldrb r2, [r7, #7] + 800fd76: 4923 ldr r1, [pc, #140] @ (800fe04 ) + 800fd78: 4613 mov r3, r2 + 800fd7a: 005b lsls r3, r3, #1 + 800fd7c: 4413 add r3, r2 + 800fd7e: 00db lsls r3, r3, #3 + 800fd80: 440b add r3, r1 + 800fd82: 3312 adds r3, #18 + 800fd84: 881b ldrh r3, [r3, #0] + 800fd86: f5b3 7f87 cmp.w r3, #270 @ 0x10e + 800fd8a: d321 bcc.n 800fdd0 /* issue a unicast request (for 15 seconds) to prevent unnecessary broadcast */ if (etharp_request_dst(netif, &arp_table[arp_idx].ipaddr, &arp_table[arp_idx].ethaddr) == ERR_OK) { - 800f408: 79fa ldrb r2, [r7, #7] - 800f40a: 4613 mov r3, r2 - 800f40c: 005b lsls r3, r3, #1 - 800f40e: 4413 add r3, r2 - 800f410: 00db lsls r3, r3, #3 - 800f412: 4a1b ldr r2, [pc, #108] @ (800f480 ) - 800f414: 4413 add r3, r2 - 800f416: 1d19 adds r1, r3, #4 - 800f418: 79fa ldrb r2, [r7, #7] - 800f41a: 4613 mov r3, r2 - 800f41c: 005b lsls r3, r3, #1 - 800f41e: 4413 add r3, r2 - 800f420: 00db lsls r3, r3, #3 - 800f422: 3308 adds r3, #8 - 800f424: 4a16 ldr r2, [pc, #88] @ (800f480 ) - 800f426: 4413 add r3, r2 - 800f428: 3304 adds r3, #4 - 800f42a: 461a mov r2, r3 - 800f42c: 68f8 ldr r0, [r7, #12] - 800f42e: f000 fafb bl 800fa28 - 800f432: 4603 mov r3, r0 - 800f434: 2b00 cmp r3, #0 - 800f436: d109 bne.n 800f44c + 800fd8c: 79fa ldrb r2, [r7, #7] + 800fd8e: 4613 mov r3, r2 + 800fd90: 005b lsls r3, r3, #1 + 800fd92: 4413 add r3, r2 + 800fd94: 00db lsls r3, r3, #3 + 800fd96: 4a1b ldr r2, [pc, #108] @ (800fe04 ) + 800fd98: 4413 add r3, r2 + 800fd9a: 1d19 adds r1, r3, #4 + 800fd9c: 79fa ldrb r2, [r7, #7] + 800fd9e: 4613 mov r3, r2 + 800fda0: 005b lsls r3, r3, #1 + 800fda2: 4413 add r3, r2 + 800fda4: 00db lsls r3, r3, #3 + 800fda6: 3308 adds r3, #8 + 800fda8: 4a16 ldr r2, [pc, #88] @ (800fe04 ) + 800fdaa: 4413 add r3, r2 + 800fdac: 3304 adds r3, #4 + 800fdae: 461a mov r2, r3 + 800fdb0: 68f8 ldr r0, [r7, #12] + 800fdb2: f000 fafb bl 80103ac + 800fdb6: 4603 mov r3, r0 + 800fdb8: 2b00 cmp r3, #0 + 800fdba: d109 bne.n 800fdd0 arp_table[arp_idx].state = ETHARP_STATE_STABLE_REREQUESTING_1; - 800f438: 79fa ldrb r2, [r7, #7] - 800f43a: 4911 ldr r1, [pc, #68] @ (800f480 ) - 800f43c: 4613 mov r3, r2 - 800f43e: 005b lsls r3, r3, #1 - 800f440: 4413 add r3, r2 - 800f442: 00db lsls r3, r3, #3 - 800f444: 440b add r3, r1 - 800f446: 3314 adds r3, #20 - 800f448: 2203 movs r2, #3 - 800f44a: 701a strb r2, [r3, #0] + 800fdbc: 79fa ldrb r2, [r7, #7] + 800fdbe: 4911 ldr r1, [pc, #68] @ (800fe04 ) + 800fdc0: 4613 mov r3, r2 + 800fdc2: 005b lsls r3, r3, #1 + 800fdc4: 4413 add r3, r2 + 800fdc6: 00db lsls r3, r3, #3 + 800fdc8: 440b add r3, r1 + 800fdca: 3314 adds r3, #20 + 800fdcc: 2203 movs r2, #3 + 800fdce: 701a strb r2, [r3, #0] } } } return ethernet_output(netif, q, (struct eth_addr *)(netif->hwaddr), &arp_table[arp_idx].ethaddr, ETHTYPE_IP); - 800f44c: 68fb ldr r3, [r7, #12] - 800f44e: f103 012a add.w r1, r3, #42 @ 0x2a - 800f452: 79fa ldrb r2, [r7, #7] - 800f454: 4613 mov r3, r2 - 800f456: 005b lsls r3, r3, #1 - 800f458: 4413 add r3, r2 - 800f45a: 00db lsls r3, r3, #3 - 800f45c: 3308 adds r3, #8 - 800f45e: 4a08 ldr r2, [pc, #32] @ (800f480 ) - 800f460: 4413 add r3, r2 - 800f462: 3304 adds r3, #4 - 800f464: f44f 6200 mov.w r2, #2048 @ 0x800 - 800f468: 9200 str r2, [sp, #0] - 800f46a: 460a mov r2, r1 - 800f46c: 68b9 ldr r1, [r7, #8] - 800f46e: 68f8 ldr r0, [r7, #12] - 800f470: f001 ff9c bl 80113ac - 800f474: 4603 mov r3, r0 + 800fdd0: 68fb ldr r3, [r7, #12] + 800fdd2: f103 012a add.w r1, r3, #42 @ 0x2a + 800fdd6: 79fa ldrb r2, [r7, #7] + 800fdd8: 4613 mov r3, r2 + 800fdda: 005b lsls r3, r3, #1 + 800fddc: 4413 add r3, r2 + 800fdde: 00db lsls r3, r3, #3 + 800fde0: 3308 adds r3, #8 + 800fde2: 4a08 ldr r2, [pc, #32] @ (800fe04 ) + 800fde4: 4413 add r3, r2 + 800fde6: 3304 adds r3, #4 + 800fde8: f44f 6200 mov.w r2, #2048 @ 0x800 + 800fdec: 9200 str r2, [sp, #0] + 800fdee: 460a mov r2, r1 + 800fdf0: 68b9 ldr r1, [r7, #8] + 800fdf2: 68f8 ldr r0, [r7, #12] + 800fdf4: f001 ff9c bl 8011d30 + 800fdf8: 4603 mov r3, r0 } - 800f476: 4618 mov r0, r3 - 800f478: 3710 adds r7, #16 - 800f47a: 46bd mov sp, r7 - 800f47c: bd80 pop {r7, pc} - 800f47e: bf00 nop - 800f480: 20019138 .word 0x20019138 - 800f484: 080186a4 .word 0x080186a4 - 800f488: 08018814 .word 0x08018814 - 800f48c: 0801871c .word 0x0801871c + 800fdfa: 4618 mov r0, r3 + 800fdfc: 3710 adds r7, #16 + 800fdfe: 46bd mov sp, r7 + 800fe00: bd80 pop {r7, pc} + 800fe02: bf00 nop + 800fe04: 2001916c .word 0x2001916c + 800fe08: 08019024 .word 0x08019024 + 800fe0c: 08019194 .word 0x08019194 + 800fe10: 0801909c .word 0x0801909c -0800f490 : +0800fe14 : * - ERR_RTE No route to destination (no gateway to external networks), * or the return type of either etharp_query() or ethernet_output(). */ err_t etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr) { - 800f490: b580 push {r7, lr} - 800f492: b08a sub sp, #40 @ 0x28 - 800f494: af02 add r7, sp, #8 - 800f496: 60f8 str r0, [r7, #12] - 800f498: 60b9 str r1, [r7, #8] - 800f49a: 607a str r2, [r7, #4] + 800fe14: b580 push {r7, lr} + 800fe16: b08a sub sp, #40 @ 0x28 + 800fe18: af02 add r7, sp, #8 + 800fe1a: 60f8 str r0, [r7, #12] + 800fe1c: 60b9 str r1, [r7, #8] + 800fe1e: 607a str r2, [r7, #4] const struct eth_addr *dest; struct eth_addr mcastaddr; const ip4_addr_t *dst_addr = ipaddr; - 800f49c: 687b ldr r3, [r7, #4] - 800f49e: 61bb str r3, [r7, #24] + 800fe20: 687b ldr r3, [r7, #4] + 800fe22: 61bb str r3, [r7, #24] LWIP_ASSERT_CORE_LOCKED(); LWIP_ASSERT("netif != NULL", netif != NULL); - 800f4a0: 68fb ldr r3, [r7, #12] - 800f4a2: 2b00 cmp r3, #0 - 800f4a4: d106 bne.n 800f4b4 - 800f4a6: 4b73 ldr r3, [pc, #460] @ (800f674 ) - 800f4a8: f240 321e movw r2, #798 @ 0x31e - 800f4ac: 4972 ldr r1, [pc, #456] @ (800f678 ) - 800f4ae: 4873 ldr r0, [pc, #460] @ (800f67c ) - 800f4b0: f002 f8a2 bl 80115f8 + 800fe24: 68fb ldr r3, [r7, #12] + 800fe26: 2b00 cmp r3, #0 + 800fe28: d106 bne.n 800fe38 + 800fe2a: 4b73 ldr r3, [pc, #460] @ (800fff8 ) + 800fe2c: f240 321e movw r2, #798 @ 0x31e + 800fe30: 4972 ldr r1, [pc, #456] @ (800fffc ) + 800fe32: 4873 ldr r0, [pc, #460] @ (8010000 ) + 800fe34: f002 f8a2 bl 8011f7c LWIP_ASSERT("q != NULL", q != NULL); - 800f4b4: 68bb ldr r3, [r7, #8] - 800f4b6: 2b00 cmp r3, #0 - 800f4b8: d106 bne.n 800f4c8 - 800f4ba: 4b6e ldr r3, [pc, #440] @ (800f674 ) - 800f4bc: f240 321f movw r2, #799 @ 0x31f - 800f4c0: 496f ldr r1, [pc, #444] @ (800f680 ) - 800f4c2: 486e ldr r0, [pc, #440] @ (800f67c ) - 800f4c4: f002 f898 bl 80115f8 + 800fe38: 68bb ldr r3, [r7, #8] + 800fe3a: 2b00 cmp r3, #0 + 800fe3c: d106 bne.n 800fe4c + 800fe3e: 4b6e ldr r3, [pc, #440] @ (800fff8 ) + 800fe40: f240 321f movw r2, #799 @ 0x31f + 800fe44: 496f ldr r1, [pc, #444] @ (8010004 ) + 800fe46: 486e ldr r0, [pc, #440] @ (8010000 ) + 800fe48: f002 f898 bl 8011f7c LWIP_ASSERT("ipaddr != NULL", ipaddr != NULL); - 800f4c8: 687b ldr r3, [r7, #4] - 800f4ca: 2b00 cmp r3, #0 - 800f4cc: d106 bne.n 800f4dc - 800f4ce: 4b69 ldr r3, [pc, #420] @ (800f674 ) - 800f4d0: f44f 7248 mov.w r2, #800 @ 0x320 - 800f4d4: 496b ldr r1, [pc, #428] @ (800f684 ) - 800f4d6: 4869 ldr r0, [pc, #420] @ (800f67c ) - 800f4d8: f002 f88e bl 80115f8 + 800fe4c: 687b ldr r3, [r7, #4] + 800fe4e: 2b00 cmp r3, #0 + 800fe50: d106 bne.n 800fe60 + 800fe52: 4b69 ldr r3, [pc, #420] @ (800fff8 ) + 800fe54: f44f 7248 mov.w r2, #800 @ 0x320 + 800fe58: 496b ldr r1, [pc, #428] @ (8010008 ) + 800fe5a: 4869 ldr r0, [pc, #420] @ (8010000 ) + 800fe5c: f002 f88e bl 8011f7c /* Determine on destination hardware address. Broadcasts and multicasts * are special, other IP addresses are looked up in the ARP table. */ /* broadcast destination IP address? */ if (ip4_addr_isbroadcast(ipaddr, netif)) { - 800f4dc: 687b ldr r3, [r7, #4] - 800f4de: 681b ldr r3, [r3, #0] - 800f4e0: 68f9 ldr r1, [r7, #12] - 800f4e2: 4618 mov r0, r3 - 800f4e4: f000 ff16 bl 8010314 - 800f4e8: 4603 mov r3, r0 - 800f4ea: 2b00 cmp r3, #0 - 800f4ec: d002 beq.n 800f4f4 + 800fe60: 687b ldr r3, [r7, #4] + 800fe62: 681b ldr r3, [r3, #0] + 800fe64: 68f9 ldr r1, [r7, #12] + 800fe66: 4618 mov r0, r3 + 800fe68: f000 ff16 bl 8010c98 + 800fe6c: 4603 mov r3, r0 + 800fe6e: 2b00 cmp r3, #0 + 800fe70: d002 beq.n 800fe78 /* broadcast on Ethernet also */ dest = (const struct eth_addr *)ðbroadcast; - 800f4ee: 4b66 ldr r3, [pc, #408] @ (800f688 ) - 800f4f0: 61fb str r3, [r7, #28] - 800f4f2: e0af b.n 800f654 + 800fe72: 4b66 ldr r3, [pc, #408] @ (801000c ) + 800fe74: 61fb str r3, [r7, #28] + 800fe76: e0af b.n 800ffd8 /* multicast destination IP address? */ } else if (ip4_addr_ismulticast(ipaddr)) { - 800f4f4: 687b ldr r3, [r7, #4] - 800f4f6: 681b ldr r3, [r3, #0] - 800f4f8: f003 03f0 and.w r3, r3, #240 @ 0xf0 - 800f4fc: 2be0 cmp r3, #224 @ 0xe0 - 800f4fe: d118 bne.n 800f532 + 800fe78: 687b ldr r3, [r7, #4] + 800fe7a: 681b ldr r3, [r3, #0] + 800fe7c: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 800fe80: 2be0 cmp r3, #224 @ 0xe0 + 800fe82: d118 bne.n 800feb6 /* Hash IP multicast address to MAC address.*/ mcastaddr.addr[0] = LL_IP4_MULTICAST_ADDR_0; - 800f500: 2301 movs r3, #1 - 800f502: 743b strb r3, [r7, #16] + 800fe84: 2301 movs r3, #1 + 800fe86: 743b strb r3, [r7, #16] mcastaddr.addr[1] = LL_IP4_MULTICAST_ADDR_1; - 800f504: 2300 movs r3, #0 - 800f506: 747b strb r3, [r7, #17] + 800fe88: 2300 movs r3, #0 + 800fe8a: 747b strb r3, [r7, #17] mcastaddr.addr[2] = LL_IP4_MULTICAST_ADDR_2; - 800f508: 235e movs r3, #94 @ 0x5e - 800f50a: 74bb strb r3, [r7, #18] + 800fe8c: 235e movs r3, #94 @ 0x5e + 800fe8e: 74bb strb r3, [r7, #18] mcastaddr.addr[3] = ip4_addr2(ipaddr) & 0x7f; - 800f50c: 687b ldr r3, [r7, #4] - 800f50e: 3301 adds r3, #1 - 800f510: 781b ldrb r3, [r3, #0] - 800f512: f003 037f and.w r3, r3, #127 @ 0x7f - 800f516: b2db uxtb r3, r3 - 800f518: 74fb strb r3, [r7, #19] + 800fe90: 687b ldr r3, [r7, #4] + 800fe92: 3301 adds r3, #1 + 800fe94: 781b ldrb r3, [r3, #0] + 800fe96: f003 037f and.w r3, r3, #127 @ 0x7f + 800fe9a: b2db uxtb r3, r3 + 800fe9c: 74fb strb r3, [r7, #19] mcastaddr.addr[4] = ip4_addr3(ipaddr); - 800f51a: 687b ldr r3, [r7, #4] - 800f51c: 3302 adds r3, #2 - 800f51e: 781b ldrb r3, [r3, #0] - 800f520: 753b strb r3, [r7, #20] + 800fe9e: 687b ldr r3, [r7, #4] + 800fea0: 3302 adds r3, #2 + 800fea2: 781b ldrb r3, [r3, #0] + 800fea4: 753b strb r3, [r7, #20] mcastaddr.addr[5] = ip4_addr4(ipaddr); - 800f522: 687b ldr r3, [r7, #4] - 800f524: 3303 adds r3, #3 - 800f526: 781b ldrb r3, [r3, #0] - 800f528: 757b strb r3, [r7, #21] + 800fea6: 687b ldr r3, [r7, #4] + 800fea8: 3303 adds r3, #3 + 800feaa: 781b ldrb r3, [r3, #0] + 800feac: 757b strb r3, [r7, #21] /* destination Ethernet address is multicast */ dest = &mcastaddr; - 800f52a: f107 0310 add.w r3, r7, #16 - 800f52e: 61fb str r3, [r7, #28] - 800f530: e090 b.n 800f654 + 800feae: f107 0310 add.w r3, r7, #16 + 800feb2: 61fb str r3, [r7, #28] + 800feb4: e090 b.n 800ffd8 /* unicast destination IP address? */ } else { netif_addr_idx_t i; /* outside local network? if so, this can neither be a global broadcast nor a subnet broadcast. */ if (!ip4_addr_netcmp(ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(netif)) && - 800f532: 687b ldr r3, [r7, #4] - 800f534: 681a ldr r2, [r3, #0] - 800f536: 68fb ldr r3, [r7, #12] - 800f538: 3304 adds r3, #4 - 800f53a: 681b ldr r3, [r3, #0] - 800f53c: 405a eors r2, r3 - 800f53e: 68fb ldr r3, [r7, #12] - 800f540: 3308 adds r3, #8 - 800f542: 681b ldr r3, [r3, #0] - 800f544: 4013 ands r3, r2 - 800f546: 2b00 cmp r3, #0 - 800f548: d012 beq.n 800f570 + 800feb6: 687b ldr r3, [r7, #4] + 800feb8: 681a ldr r2, [r3, #0] + 800feba: 68fb ldr r3, [r7, #12] + 800febc: 3304 adds r3, #4 + 800febe: 681b ldr r3, [r3, #0] + 800fec0: 405a eors r2, r3 + 800fec2: 68fb ldr r3, [r7, #12] + 800fec4: 3308 adds r3, #8 + 800fec6: 681b ldr r3, [r3, #0] + 800fec8: 4013 ands r3, r2 + 800feca: 2b00 cmp r3, #0 + 800fecc: d012 beq.n 800fef4 !ip4_addr_islinklocal(ipaddr)) { - 800f54a: 687b ldr r3, [r7, #4] - 800f54c: 681b ldr r3, [r3, #0] - 800f54e: b29b uxth r3, r3 + 800fece: 687b ldr r3, [r7, #4] + 800fed0: 681b ldr r3, [r3, #0] + 800fed2: b29b uxth r3, r3 if (!ip4_addr_netcmp(ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(netif)) && - 800f550: f64f 62a9 movw r2, #65193 @ 0xfea9 - 800f554: 4293 cmp r3, r2 - 800f556: d00b beq.n 800f570 + 800fed4: f64f 62a9 movw r2, #65193 @ 0xfea9 + 800fed8: 4293 cmp r3, r2 + 800feda: d00b beq.n 800fef4 dst_addr = LWIP_HOOK_ETHARP_GET_GW(netif, ipaddr); if (dst_addr == NULL) #endif /* LWIP_HOOK_ETHARP_GET_GW */ { /* interface has default gateway? */ if (!ip4_addr_isany_val(*netif_ip4_gw(netif))) { - 800f558: 68fb ldr r3, [r7, #12] - 800f55a: 330c adds r3, #12 - 800f55c: 681b ldr r3, [r3, #0] - 800f55e: 2b00 cmp r3, #0 - 800f560: d003 beq.n 800f56a + 800fedc: 68fb ldr r3, [r7, #12] + 800fede: 330c adds r3, #12 + 800fee0: 681b ldr r3, [r3, #0] + 800fee2: 2b00 cmp r3, #0 + 800fee4: d003 beq.n 800feee /* send to hardware address of default gateway IP address */ dst_addr = netif_ip4_gw(netif); - 800f562: 68fb ldr r3, [r7, #12] - 800f564: 330c adds r3, #12 - 800f566: 61bb str r3, [r7, #24] - 800f568: e002 b.n 800f570 + 800fee6: 68fb ldr r3, [r7, #12] + 800fee8: 330c adds r3, #12 + 800feea: 61bb str r3, [r7, #24] + 800feec: e002 b.n 800fef4 /* no default gateway available */ } else { /* no route to destination error (default gateway missing) */ return ERR_RTE; - 800f56a: f06f 0303 mvn.w r3, #3 - 800f56e: e07d b.n 800f66c + 800feee: f06f 0303 mvn.w r3, #3 + 800fef2: e07d b.n 800fff0 if (netif->hints != NULL) { /* per-pcb cached entry was given */ netif_addr_idx_t etharp_cached_entry = netif->hints->addr_hint; if (etharp_cached_entry < ARP_TABLE_SIZE) { #endif /* LWIP_NETIF_HWADDRHINT */ if ((arp_table[etharp_cached_entry].state >= ETHARP_STATE_STABLE) && - 800f570: 4b46 ldr r3, [pc, #280] @ (800f68c ) - 800f572: 781b ldrb r3, [r3, #0] - 800f574: 4619 mov r1, r3 - 800f576: 4a46 ldr r2, [pc, #280] @ (800f690 ) - 800f578: 460b mov r3, r1 - 800f57a: 005b lsls r3, r3, #1 - 800f57c: 440b add r3, r1 - 800f57e: 00db lsls r3, r3, #3 - 800f580: 4413 add r3, r2 - 800f582: 3314 adds r3, #20 - 800f584: 781b ldrb r3, [r3, #0] - 800f586: 2b01 cmp r3, #1 - 800f588: d925 bls.n 800f5d6 + 800fef4: 4b46 ldr r3, [pc, #280] @ (8010010 ) + 800fef6: 781b ldrb r3, [r3, #0] + 800fef8: 4619 mov r1, r3 + 800fefa: 4a46 ldr r2, [pc, #280] @ (8010014 ) + 800fefc: 460b mov r3, r1 + 800fefe: 005b lsls r3, r3, #1 + 800ff00: 440b add r3, r1 + 800ff02: 00db lsls r3, r3, #3 + 800ff04: 4413 add r3, r2 + 800ff06: 3314 adds r3, #20 + 800ff08: 781b ldrb r3, [r3, #0] + 800ff0a: 2b01 cmp r3, #1 + 800ff0c: d925 bls.n 800ff5a #if ETHARP_TABLE_MATCH_NETIF (arp_table[etharp_cached_entry].netif == netif) && - 800f58a: 4b40 ldr r3, [pc, #256] @ (800f68c ) - 800f58c: 781b ldrb r3, [r3, #0] - 800f58e: 4619 mov r1, r3 - 800f590: 4a3f ldr r2, [pc, #252] @ (800f690 ) - 800f592: 460b mov r3, r1 - 800f594: 005b lsls r3, r3, #1 - 800f596: 440b add r3, r1 - 800f598: 00db lsls r3, r3, #3 - 800f59a: 4413 add r3, r2 - 800f59c: 3308 adds r3, #8 - 800f59e: 681b ldr r3, [r3, #0] + 800ff0e: 4b40 ldr r3, [pc, #256] @ (8010010 ) + 800ff10: 781b ldrb r3, [r3, #0] + 800ff12: 4619 mov r1, r3 + 800ff14: 4a3f ldr r2, [pc, #252] @ (8010014 ) + 800ff16: 460b mov r3, r1 + 800ff18: 005b lsls r3, r3, #1 + 800ff1a: 440b add r3, r1 + 800ff1c: 00db lsls r3, r3, #3 + 800ff1e: 4413 add r3, r2 + 800ff20: 3308 adds r3, #8 + 800ff22: 681b ldr r3, [r3, #0] if ((arp_table[etharp_cached_entry].state >= ETHARP_STATE_STABLE) && - 800f5a0: 68fa ldr r2, [r7, #12] - 800f5a2: 429a cmp r2, r3 - 800f5a4: d117 bne.n 800f5d6 + 800ff24: 68fa ldr r2, [r7, #12] + 800ff26: 429a cmp r2, r3 + 800ff28: d117 bne.n 800ff5a #endif (ip4_addr_cmp(dst_addr, &arp_table[etharp_cached_entry].ipaddr))) { - 800f5a6: 69bb ldr r3, [r7, #24] - 800f5a8: 681a ldr r2, [r3, #0] - 800f5aa: 4b38 ldr r3, [pc, #224] @ (800f68c ) - 800f5ac: 781b ldrb r3, [r3, #0] - 800f5ae: 4618 mov r0, r3 - 800f5b0: 4937 ldr r1, [pc, #220] @ (800f690 ) - 800f5b2: 4603 mov r3, r0 - 800f5b4: 005b lsls r3, r3, #1 - 800f5b6: 4403 add r3, r0 - 800f5b8: 00db lsls r3, r3, #3 - 800f5ba: 440b add r3, r1 - 800f5bc: 3304 adds r3, #4 - 800f5be: 681b ldr r3, [r3, #0] + 800ff2a: 69bb ldr r3, [r7, #24] + 800ff2c: 681a ldr r2, [r3, #0] + 800ff2e: 4b38 ldr r3, [pc, #224] @ (8010010 ) + 800ff30: 781b ldrb r3, [r3, #0] + 800ff32: 4618 mov r0, r3 + 800ff34: 4937 ldr r1, [pc, #220] @ (8010014 ) + 800ff36: 4603 mov r3, r0 + 800ff38: 005b lsls r3, r3, #1 + 800ff3a: 4403 add r3, r0 + 800ff3c: 00db lsls r3, r3, #3 + 800ff3e: 440b add r3, r1 + 800ff40: 3304 adds r3, #4 + 800ff42: 681b ldr r3, [r3, #0] (arp_table[etharp_cached_entry].netif == netif) && - 800f5c0: 429a cmp r2, r3 - 800f5c2: d108 bne.n 800f5d6 + 800ff44: 429a cmp r2, r3 + 800ff46: d108 bne.n 800ff5a /* the per-pcb-cached entry is stable and the right one! */ ETHARP_STATS_INC(etharp.cachehit); return etharp_output_to_arp_index(netif, q, etharp_cached_entry); - 800f5c4: 4b31 ldr r3, [pc, #196] @ (800f68c ) - 800f5c6: 781b ldrb r3, [r3, #0] - 800f5c8: 461a mov r2, r3 - 800f5ca: 68b9 ldr r1, [r7, #8] - 800f5cc: 68f8 ldr r0, [r7, #12] - 800f5ce: f7ff fec5 bl 800f35c - 800f5d2: 4603 mov r3, r0 - 800f5d4: e04a b.n 800f66c + 800ff48: 4b31 ldr r3, [pc, #196] @ (8010010 ) + 800ff4a: 781b ldrb r3, [r3, #0] + 800ff4c: 461a mov r2, r3 + 800ff4e: 68b9 ldr r1, [r7, #8] + 800ff50: 68f8 ldr r0, [r7, #12] + 800ff52: f7ff fec5 bl 800fce0 + 800ff56: 4603 mov r3, r0 + 800ff58: e04a b.n 800fff0 } #endif /* LWIP_NETIF_HWADDRHINT */ /* find stable entry: do this here since this is a critical path for throughput and etharp_find_entry() is kind of slow */ for (i = 0; i < ARP_TABLE_SIZE; i++) { - 800f5d6: 2300 movs r3, #0 - 800f5d8: 75fb strb r3, [r7, #23] - 800f5da: e031 b.n 800f640 + 800ff5a: 2300 movs r3, #0 + 800ff5c: 75fb strb r3, [r7, #23] + 800ff5e: e031 b.n 800ffc4 if ((arp_table[i].state >= ETHARP_STATE_STABLE) && - 800f5dc: 7dfa ldrb r2, [r7, #23] - 800f5de: 492c ldr r1, [pc, #176] @ (800f690 ) - 800f5e0: 4613 mov r3, r2 - 800f5e2: 005b lsls r3, r3, #1 - 800f5e4: 4413 add r3, r2 - 800f5e6: 00db lsls r3, r3, #3 - 800f5e8: 440b add r3, r1 - 800f5ea: 3314 adds r3, #20 - 800f5ec: 781b ldrb r3, [r3, #0] - 800f5ee: 2b01 cmp r3, #1 - 800f5f0: d923 bls.n 800f63a + 800ff60: 7dfa ldrb r2, [r7, #23] + 800ff62: 492c ldr r1, [pc, #176] @ (8010014 ) + 800ff64: 4613 mov r3, r2 + 800ff66: 005b lsls r3, r3, #1 + 800ff68: 4413 add r3, r2 + 800ff6a: 00db lsls r3, r3, #3 + 800ff6c: 440b add r3, r1 + 800ff6e: 3314 adds r3, #20 + 800ff70: 781b ldrb r3, [r3, #0] + 800ff72: 2b01 cmp r3, #1 + 800ff74: d923 bls.n 800ffbe #if ETHARP_TABLE_MATCH_NETIF (arp_table[i].netif == netif) && - 800f5f2: 7dfa ldrb r2, [r7, #23] - 800f5f4: 4926 ldr r1, [pc, #152] @ (800f690 ) - 800f5f6: 4613 mov r3, r2 - 800f5f8: 005b lsls r3, r3, #1 - 800f5fa: 4413 add r3, r2 - 800f5fc: 00db lsls r3, r3, #3 - 800f5fe: 440b add r3, r1 - 800f600: 3308 adds r3, #8 - 800f602: 681b ldr r3, [r3, #0] + 800ff76: 7dfa ldrb r2, [r7, #23] + 800ff78: 4926 ldr r1, [pc, #152] @ (8010014 ) + 800ff7a: 4613 mov r3, r2 + 800ff7c: 005b lsls r3, r3, #1 + 800ff7e: 4413 add r3, r2 + 800ff80: 00db lsls r3, r3, #3 + 800ff82: 440b add r3, r1 + 800ff84: 3308 adds r3, #8 + 800ff86: 681b ldr r3, [r3, #0] if ((arp_table[i].state >= ETHARP_STATE_STABLE) && - 800f604: 68fa ldr r2, [r7, #12] - 800f606: 429a cmp r2, r3 - 800f608: d117 bne.n 800f63a + 800ff88: 68fa ldr r2, [r7, #12] + 800ff8a: 429a cmp r2, r3 + 800ff8c: d117 bne.n 800ffbe #endif (ip4_addr_cmp(dst_addr, &arp_table[i].ipaddr))) { - 800f60a: 69bb ldr r3, [r7, #24] - 800f60c: 6819 ldr r1, [r3, #0] - 800f60e: 7dfa ldrb r2, [r7, #23] - 800f610: 481f ldr r0, [pc, #124] @ (800f690 ) - 800f612: 4613 mov r3, r2 - 800f614: 005b lsls r3, r3, #1 - 800f616: 4413 add r3, r2 - 800f618: 00db lsls r3, r3, #3 - 800f61a: 4403 add r3, r0 - 800f61c: 3304 adds r3, #4 - 800f61e: 681b ldr r3, [r3, #0] + 800ff8e: 69bb ldr r3, [r7, #24] + 800ff90: 6819 ldr r1, [r3, #0] + 800ff92: 7dfa ldrb r2, [r7, #23] + 800ff94: 481f ldr r0, [pc, #124] @ (8010014 ) + 800ff96: 4613 mov r3, r2 + 800ff98: 005b lsls r3, r3, #1 + 800ff9a: 4413 add r3, r2 + 800ff9c: 00db lsls r3, r3, #3 + 800ff9e: 4403 add r3, r0 + 800ffa0: 3304 adds r3, #4 + 800ffa2: 681b ldr r3, [r3, #0] (arp_table[i].netif == netif) && - 800f620: 4299 cmp r1, r3 - 800f622: d10a bne.n 800f63a + 800ffa4: 4299 cmp r1, r3 + 800ffa6: d10a bne.n 800ffbe /* found an existing, stable entry */ ETHARP_SET_ADDRHINT(netif, i); - 800f624: 4a19 ldr r2, [pc, #100] @ (800f68c ) - 800f626: 7dfb ldrb r3, [r7, #23] - 800f628: 7013 strb r3, [r2, #0] + 800ffa8: 4a19 ldr r2, [pc, #100] @ (8010010 ) + 800ffaa: 7dfb ldrb r3, [r7, #23] + 800ffac: 7013 strb r3, [r2, #0] return etharp_output_to_arp_index(netif, q, i); - 800f62a: 7dfb ldrb r3, [r7, #23] - 800f62c: 461a mov r2, r3 - 800f62e: 68b9 ldr r1, [r7, #8] - 800f630: 68f8 ldr r0, [r7, #12] - 800f632: f7ff fe93 bl 800f35c - 800f636: 4603 mov r3, r0 - 800f638: e018 b.n 800f66c + 800ffae: 7dfb ldrb r3, [r7, #23] + 800ffb0: 461a mov r2, r3 + 800ffb2: 68b9 ldr r1, [r7, #8] + 800ffb4: 68f8 ldr r0, [r7, #12] + 800ffb6: f7ff fe93 bl 800fce0 + 800ffba: 4603 mov r3, r0 + 800ffbc: e018 b.n 800fff0 for (i = 0; i < ARP_TABLE_SIZE; i++) { - 800f63a: 7dfb ldrb r3, [r7, #23] - 800f63c: 3301 adds r3, #1 - 800f63e: 75fb strb r3, [r7, #23] - 800f640: 7dfb ldrb r3, [r7, #23] - 800f642: 2b09 cmp r3, #9 - 800f644: d9ca bls.n 800f5dc + 800ffbe: 7dfb ldrb r3, [r7, #23] + 800ffc0: 3301 adds r3, #1 + 800ffc2: 75fb strb r3, [r7, #23] + 800ffc4: 7dfb ldrb r3, [r7, #23] + 800ffc6: 2b09 cmp r3, #9 + 800ffc8: d9ca bls.n 800ff60 } } /* no stable entry found, use the (slower) query function: queue on destination Ethernet address belonging to ipaddr */ return etharp_query(netif, dst_addr, q); - 800f646: 68ba ldr r2, [r7, #8] - 800f648: 69b9 ldr r1, [r7, #24] - 800f64a: 68f8 ldr r0, [r7, #12] - 800f64c: f000 f822 bl 800f694 - 800f650: 4603 mov r3, r0 - 800f652: e00b b.n 800f66c + 800ffca: 68ba ldr r2, [r7, #8] + 800ffcc: 69b9 ldr r1, [r7, #24] + 800ffce: 68f8 ldr r0, [r7, #12] + 800ffd0: f000 f822 bl 8010018 + 800ffd4: 4603 mov r3, r0 + 800ffd6: e00b b.n 800fff0 } /* continuation for multicast/broadcast destinations */ /* obtain source Ethernet address of the given interface */ /* send packet directly on the link */ return ethernet_output(netif, q, (struct eth_addr *)(netif->hwaddr), dest, ETHTYPE_IP); - 800f654: 68fb ldr r3, [r7, #12] - 800f656: f103 022a add.w r2, r3, #42 @ 0x2a - 800f65a: f44f 6300 mov.w r3, #2048 @ 0x800 - 800f65e: 9300 str r3, [sp, #0] - 800f660: 69fb ldr r3, [r7, #28] - 800f662: 68b9 ldr r1, [r7, #8] - 800f664: 68f8 ldr r0, [r7, #12] - 800f666: f001 fea1 bl 80113ac - 800f66a: 4603 mov r3, r0 + 800ffd8: 68fb ldr r3, [r7, #12] + 800ffda: f103 022a add.w r2, r3, #42 @ 0x2a + 800ffde: f44f 6300 mov.w r3, #2048 @ 0x800 + 800ffe2: 9300 str r3, [sp, #0] + 800ffe4: 69fb ldr r3, [r7, #28] + 800ffe6: 68b9 ldr r1, [r7, #8] + 800ffe8: 68f8 ldr r0, [r7, #12] + 800ffea: f001 fea1 bl 8011d30 + 800ffee: 4603 mov r3, r0 } - 800f66c: 4618 mov r0, r3 - 800f66e: 3720 adds r7, #32 - 800f670: 46bd mov sp, r7 - 800f672: bd80 pop {r7, pc} - 800f674: 080186a4 .word 0x080186a4 - 800f678: 080187f4 .word 0x080187f4 - 800f67c: 0801871c .word 0x0801871c - 800f680: 08018844 .word 0x08018844 - 800f684: 080187e4 .word 0x080187e4 - 800f688: 08018edc .word 0x08018edc - 800f68c: 20019228 .word 0x20019228 - 800f690: 20019138 .word 0x20019138 + 800fff0: 4618 mov r0, r3 + 800fff2: 3720 adds r7, #32 + 800fff4: 46bd mov sp, r7 + 800fff6: bd80 pop {r7, pc} + 800fff8: 08019024 .word 0x08019024 + 800fffc: 08019174 .word 0x08019174 + 8010000: 0801909c .word 0x0801909c + 8010004: 080191c4 .word 0x080191c4 + 8010008: 08019164 .word 0x08019164 + 801000c: 0801985c .word 0x0801985c + 8010010: 2001925c .word 0x2001925c + 8010014: 2001916c .word 0x2001916c -0800f694 : +08010018 : * - ERR_ARG Non-unicast address given, those will not appear in ARP cache. * */ err_t etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q) { - 800f694: b580 push {r7, lr} - 800f696: b08c sub sp, #48 @ 0x30 - 800f698: af02 add r7, sp, #8 - 800f69a: 60f8 str r0, [r7, #12] - 800f69c: 60b9 str r1, [r7, #8] - 800f69e: 607a str r2, [r7, #4] + 8010018: b580 push {r7, lr} + 801001a: b08c sub sp, #48 @ 0x30 + 801001c: af02 add r7, sp, #8 + 801001e: 60f8 str r0, [r7, #12] + 8010020: 60b9 str r1, [r7, #8] + 8010022: 607a str r2, [r7, #4] struct eth_addr *srcaddr = (struct eth_addr *)netif->hwaddr; - 800f6a0: 68fb ldr r3, [r7, #12] - 800f6a2: 332a adds r3, #42 @ 0x2a - 800f6a4: 617b str r3, [r7, #20] + 8010024: 68fb ldr r3, [r7, #12] + 8010026: 332a adds r3, #42 @ 0x2a + 8010028: 617b str r3, [r7, #20] err_t result = ERR_MEM; - 800f6a6: 23ff movs r3, #255 @ 0xff - 800f6a8: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 801002a: 23ff movs r3, #255 @ 0xff + 801002c: f887 3027 strb.w r3, [r7, #39] @ 0x27 int is_new_entry = 0; - 800f6ac: 2300 movs r3, #0 - 800f6ae: 623b str r3, [r7, #32] + 8010030: 2300 movs r3, #0 + 8010032: 623b str r3, [r7, #32] s16_t i_err; netif_addr_idx_t i; /* non-unicast address? */ if (ip4_addr_isbroadcast(ipaddr, netif) || - 800f6b0: 68bb ldr r3, [r7, #8] - 800f6b2: 681b ldr r3, [r3, #0] - 800f6b4: 68f9 ldr r1, [r7, #12] - 800f6b6: 4618 mov r0, r3 - 800f6b8: f000 fe2c bl 8010314 - 800f6bc: 4603 mov r3, r0 - 800f6be: 2b00 cmp r3, #0 - 800f6c0: d10c bne.n 800f6dc + 8010034: 68bb ldr r3, [r7, #8] + 8010036: 681b ldr r3, [r3, #0] + 8010038: 68f9 ldr r1, [r7, #12] + 801003a: 4618 mov r0, r3 + 801003c: f000 fe2c bl 8010c98 + 8010040: 4603 mov r3, r0 + 8010042: 2b00 cmp r3, #0 + 8010044: d10c bne.n 8010060 ip4_addr_ismulticast(ipaddr) || - 800f6c2: 68bb ldr r3, [r7, #8] - 800f6c4: 681b ldr r3, [r3, #0] - 800f6c6: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 8010046: 68bb ldr r3, [r7, #8] + 8010048: 681b ldr r3, [r3, #0] + 801004a: f003 03f0 and.w r3, r3, #240 @ 0xf0 if (ip4_addr_isbroadcast(ipaddr, netif) || - 800f6ca: 2be0 cmp r3, #224 @ 0xe0 - 800f6cc: d006 beq.n 800f6dc + 801004e: 2be0 cmp r3, #224 @ 0xe0 + 8010050: d006 beq.n 8010060 ip4_addr_ismulticast(ipaddr) || - 800f6ce: 68bb ldr r3, [r7, #8] - 800f6d0: 2b00 cmp r3, #0 - 800f6d2: d003 beq.n 800f6dc + 8010052: 68bb ldr r3, [r7, #8] + 8010054: 2b00 cmp r3, #0 + 8010056: d003 beq.n 8010060 ip4_addr_isany(ipaddr)) { - 800f6d4: 68bb ldr r3, [r7, #8] - 800f6d6: 681b ldr r3, [r3, #0] - 800f6d8: 2b00 cmp r3, #0 - 800f6da: d102 bne.n 800f6e2 + 8010058: 68bb ldr r3, [r7, #8] + 801005a: 681b ldr r3, [r3, #0] + 801005c: 2b00 cmp r3, #0 + 801005e: d102 bne.n 8010066 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: will not add non-unicast IP address to ARP cache\n")); return ERR_ARG; - 800f6dc: f06f 030f mvn.w r3, #15 - 800f6e0: e101 b.n 800f8e6 + 8010060: f06f 030f mvn.w r3, #15 + 8010064: e101 b.n 801026a } /* find entry in ARP cache, ask to create entry if queueing packet */ i_err = etharp_find_entry(ipaddr, ETHARP_FLAG_TRY_HARD, netif); - 800f6e2: 68fa ldr r2, [r7, #12] - 800f6e4: 2101 movs r1, #1 - 800f6e6: 68b8 ldr r0, [r7, #8] - 800f6e8: f7ff fb5c bl 800eda4 - 800f6ec: 4603 mov r3, r0 - 800f6ee: 827b strh r3, [r7, #18] + 8010066: 68fa ldr r2, [r7, #12] + 8010068: 2101 movs r1, #1 + 801006a: 68b8 ldr r0, [r7, #8] + 801006c: f7ff fb5c bl 800f728 + 8010070: 4603 mov r3, r0 + 8010072: 827b strh r3, [r7, #18] /* could not find or create entry? */ if (i_err < 0) { - 800f6f0: f9b7 3012 ldrsh.w r3, [r7, #18] - 800f6f4: 2b00 cmp r3, #0 - 800f6f6: da02 bge.n 800f6fe + 8010074: f9b7 3012 ldrsh.w r3, [r7, #18] + 8010078: 2b00 cmp r3, #0 + 801007a: da02 bge.n 8010082 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: could not create ARP entry\n")); if (q) { LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: packet dropped\n")); ETHARP_STATS_INC(etharp.memerr); } return (err_t)i_err; - 800f6f8: 8a7b ldrh r3, [r7, #18] - 800f6fa: b25b sxtb r3, r3 - 800f6fc: e0f3 b.n 800f8e6 + 801007c: 8a7b ldrh r3, [r7, #18] + 801007e: b25b sxtb r3, r3 + 8010080: e0f3 b.n 801026a } LWIP_ASSERT("type overflow", (size_t)i_err < NETIF_ADDR_IDX_MAX); - 800f6fe: 8a7b ldrh r3, [r7, #18] - 800f700: 2b7e cmp r3, #126 @ 0x7e - 800f702: d906 bls.n 800f712 - 800f704: 4b7a ldr r3, [pc, #488] @ (800f8f0 ) - 800f706: f240 32c1 movw r2, #961 @ 0x3c1 - 800f70a: 497a ldr r1, [pc, #488] @ (800f8f4 ) - 800f70c: 487a ldr r0, [pc, #488] @ (800f8f8 ) - 800f70e: f001 ff73 bl 80115f8 + 8010082: 8a7b ldrh r3, [r7, #18] + 8010084: 2b7e cmp r3, #126 @ 0x7e + 8010086: d906 bls.n 8010096 + 8010088: 4b7a ldr r3, [pc, #488] @ (8010274 ) + 801008a: f240 32c1 movw r2, #961 @ 0x3c1 + 801008e: 497a ldr r1, [pc, #488] @ (8010278 ) + 8010090: 487a ldr r0, [pc, #488] @ (801027c ) + 8010092: f001 ff73 bl 8011f7c i = (netif_addr_idx_t)i_err; - 800f712: 8a7b ldrh r3, [r7, #18] - 800f714: 747b strb r3, [r7, #17] + 8010096: 8a7b ldrh r3, [r7, #18] + 8010098: 747b strb r3, [r7, #17] /* mark a fresh entry as pending (we just sent a request) */ if (arp_table[i].state == ETHARP_STATE_EMPTY) { - 800f716: 7c7a ldrb r2, [r7, #17] - 800f718: 4978 ldr r1, [pc, #480] @ (800f8fc ) - 800f71a: 4613 mov r3, r2 - 800f71c: 005b lsls r3, r3, #1 - 800f71e: 4413 add r3, r2 - 800f720: 00db lsls r3, r3, #3 - 800f722: 440b add r3, r1 - 800f724: 3314 adds r3, #20 - 800f726: 781b ldrb r3, [r3, #0] - 800f728: 2b00 cmp r3, #0 - 800f72a: d115 bne.n 800f758 + 801009a: 7c7a ldrb r2, [r7, #17] + 801009c: 4978 ldr r1, [pc, #480] @ (8010280 ) + 801009e: 4613 mov r3, r2 + 80100a0: 005b lsls r3, r3, #1 + 80100a2: 4413 add r3, r2 + 80100a4: 00db lsls r3, r3, #3 + 80100a6: 440b add r3, r1 + 80100a8: 3314 adds r3, #20 + 80100aa: 781b ldrb r3, [r3, #0] + 80100ac: 2b00 cmp r3, #0 + 80100ae: d115 bne.n 80100dc is_new_entry = 1; - 800f72c: 2301 movs r3, #1 - 800f72e: 623b str r3, [r7, #32] + 80100b0: 2301 movs r3, #1 + 80100b2: 623b str r3, [r7, #32] arp_table[i].state = ETHARP_STATE_PENDING; - 800f730: 7c7a ldrb r2, [r7, #17] - 800f732: 4972 ldr r1, [pc, #456] @ (800f8fc ) - 800f734: 4613 mov r3, r2 - 800f736: 005b lsls r3, r3, #1 - 800f738: 4413 add r3, r2 - 800f73a: 00db lsls r3, r3, #3 - 800f73c: 440b add r3, r1 - 800f73e: 3314 adds r3, #20 - 800f740: 2201 movs r2, #1 - 800f742: 701a strb r2, [r3, #0] + 80100b4: 7c7a ldrb r2, [r7, #17] + 80100b6: 4972 ldr r1, [pc, #456] @ (8010280 ) + 80100b8: 4613 mov r3, r2 + 80100ba: 005b lsls r3, r3, #1 + 80100bc: 4413 add r3, r2 + 80100be: 00db lsls r3, r3, #3 + 80100c0: 440b add r3, r1 + 80100c2: 3314 adds r3, #20 + 80100c4: 2201 movs r2, #1 + 80100c6: 701a strb r2, [r3, #0] /* record network interface for re-sending arp request in etharp_tmr */ arp_table[i].netif = netif; - 800f744: 7c7a ldrb r2, [r7, #17] - 800f746: 496d ldr r1, [pc, #436] @ (800f8fc ) - 800f748: 4613 mov r3, r2 - 800f74a: 005b lsls r3, r3, #1 - 800f74c: 4413 add r3, r2 - 800f74e: 00db lsls r3, r3, #3 - 800f750: 440b add r3, r1 - 800f752: 3308 adds r3, #8 - 800f754: 68fa ldr r2, [r7, #12] - 800f756: 601a str r2, [r3, #0] + 80100c8: 7c7a ldrb r2, [r7, #17] + 80100ca: 496d ldr r1, [pc, #436] @ (8010280 ) + 80100cc: 4613 mov r3, r2 + 80100ce: 005b lsls r3, r3, #1 + 80100d0: 4413 add r3, r2 + 80100d2: 00db lsls r3, r3, #3 + 80100d4: 440b add r3, r1 + 80100d6: 3308 adds r3, #8 + 80100d8: 68fa ldr r2, [r7, #12] + 80100da: 601a str r2, [r3, #0] } /* { i is either a STABLE or (new or existing) PENDING entry } */ LWIP_ASSERT("arp_table[i].state == PENDING or STABLE", - 800f758: 7c7a ldrb r2, [r7, #17] - 800f75a: 4968 ldr r1, [pc, #416] @ (800f8fc ) - 800f75c: 4613 mov r3, r2 - 800f75e: 005b lsls r3, r3, #1 - 800f760: 4413 add r3, r2 - 800f762: 00db lsls r3, r3, #3 - 800f764: 440b add r3, r1 - 800f766: 3314 adds r3, #20 - 800f768: 781b ldrb r3, [r3, #0] - 800f76a: 2b01 cmp r3, #1 - 800f76c: d011 beq.n 800f792 - 800f76e: 7c7a ldrb r2, [r7, #17] - 800f770: 4962 ldr r1, [pc, #392] @ (800f8fc ) - 800f772: 4613 mov r3, r2 - 800f774: 005b lsls r3, r3, #1 - 800f776: 4413 add r3, r2 - 800f778: 00db lsls r3, r3, #3 - 800f77a: 440b add r3, r1 - 800f77c: 3314 adds r3, #20 - 800f77e: 781b ldrb r3, [r3, #0] - 800f780: 2b01 cmp r3, #1 - 800f782: d806 bhi.n 800f792 - 800f784: 4b5a ldr r3, [pc, #360] @ (800f8f0 ) - 800f786: f240 32cd movw r2, #973 @ 0x3cd - 800f78a: 495d ldr r1, [pc, #372] @ (800f900 ) - 800f78c: 485a ldr r0, [pc, #360] @ (800f8f8 ) - 800f78e: f001 ff33 bl 80115f8 + 80100dc: 7c7a ldrb r2, [r7, #17] + 80100de: 4968 ldr r1, [pc, #416] @ (8010280 ) + 80100e0: 4613 mov r3, r2 + 80100e2: 005b lsls r3, r3, #1 + 80100e4: 4413 add r3, r2 + 80100e6: 00db lsls r3, r3, #3 + 80100e8: 440b add r3, r1 + 80100ea: 3314 adds r3, #20 + 80100ec: 781b ldrb r3, [r3, #0] + 80100ee: 2b01 cmp r3, #1 + 80100f0: d011 beq.n 8010116 + 80100f2: 7c7a ldrb r2, [r7, #17] + 80100f4: 4962 ldr r1, [pc, #392] @ (8010280 ) + 80100f6: 4613 mov r3, r2 + 80100f8: 005b lsls r3, r3, #1 + 80100fa: 4413 add r3, r2 + 80100fc: 00db lsls r3, r3, #3 + 80100fe: 440b add r3, r1 + 8010100: 3314 adds r3, #20 + 8010102: 781b ldrb r3, [r3, #0] + 8010104: 2b01 cmp r3, #1 + 8010106: d806 bhi.n 8010116 + 8010108: 4b5a ldr r3, [pc, #360] @ (8010274 ) + 801010a: f240 32cd movw r2, #973 @ 0x3cd + 801010e: 495d ldr r1, [pc, #372] @ (8010284 ) + 8010110: 485a ldr r0, [pc, #360] @ (801027c ) + 8010112: f001 ff33 bl 8011f7c ((arp_table[i].state == ETHARP_STATE_PENDING) || (arp_table[i].state >= ETHARP_STATE_STABLE))); /* do we have a new entry? or an implicit query request? */ if (is_new_entry || (q == NULL)) { - 800f792: 6a3b ldr r3, [r7, #32] - 800f794: 2b00 cmp r3, #0 - 800f796: d102 bne.n 800f79e - 800f798: 687b ldr r3, [r7, #4] - 800f79a: 2b00 cmp r3, #0 - 800f79c: d10c bne.n 800f7b8 + 8010116: 6a3b ldr r3, [r7, #32] + 8010118: 2b00 cmp r3, #0 + 801011a: d102 bne.n 8010122 + 801011c: 687b ldr r3, [r7, #4] + 801011e: 2b00 cmp r3, #0 + 8010120: d10c bne.n 801013c /* try to resolve it; send out ARP request */ result = etharp_request(netif, ipaddr); - 800f79e: 68b9 ldr r1, [r7, #8] - 800f7a0: 68f8 ldr r0, [r7, #12] - 800f7a2: f000 f963 bl 800fa6c - 800f7a6: 4603 mov r3, r0 - 800f7a8: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 8010122: 68b9 ldr r1, [r7, #8] + 8010124: 68f8 ldr r0, [r7, #12] + 8010126: f000 f963 bl 80103f0 + 801012a: 4603 mov r3, r0 + 801012c: f887 3027 strb.w r3, [r7, #39] @ 0x27 /* ARP request couldn't be sent */ /* We don't re-send arp request in etharp_tmr, but we still queue packets, since this failure could be temporary, and the next packet calling etharp_query again could lead to sending the queued packets. */ } if (q == NULL) { - 800f7ac: 687b ldr r3, [r7, #4] - 800f7ae: 2b00 cmp r3, #0 - 800f7b0: d102 bne.n 800f7b8 + 8010130: 687b ldr r3, [r7, #4] + 8010132: 2b00 cmp r3, #0 + 8010134: d102 bne.n 801013c return result; - 800f7b2: f997 3027 ldrsb.w r3, [r7, #39] @ 0x27 - 800f7b6: e096 b.n 800f8e6 + 8010136: f997 3027 ldrsb.w r3, [r7, #39] @ 0x27 + 801013a: e096 b.n 801026a } } /* packet given? */ LWIP_ASSERT("q != NULL", q != NULL); - 800f7b8: 687b ldr r3, [r7, #4] - 800f7ba: 2b00 cmp r3, #0 - 800f7bc: d106 bne.n 800f7cc - 800f7be: 4b4c ldr r3, [pc, #304] @ (800f8f0 ) - 800f7c0: f240 32e1 movw r2, #993 @ 0x3e1 - 800f7c4: 494f ldr r1, [pc, #316] @ (800f904 ) - 800f7c6: 484c ldr r0, [pc, #304] @ (800f8f8 ) - 800f7c8: f001 ff16 bl 80115f8 + 801013c: 687b ldr r3, [r7, #4] + 801013e: 2b00 cmp r3, #0 + 8010140: d106 bne.n 8010150 + 8010142: 4b4c ldr r3, [pc, #304] @ (8010274 ) + 8010144: f240 32e1 movw r2, #993 @ 0x3e1 + 8010148: 494f ldr r1, [pc, #316] @ (8010288 ) + 801014a: 484c ldr r0, [pc, #304] @ (801027c ) + 801014c: f001 ff16 bl 8011f7c /* stable entry? */ if (arp_table[i].state >= ETHARP_STATE_STABLE) { - 800f7cc: 7c7a ldrb r2, [r7, #17] - 800f7ce: 494b ldr r1, [pc, #300] @ (800f8fc ) - 800f7d0: 4613 mov r3, r2 - 800f7d2: 005b lsls r3, r3, #1 - 800f7d4: 4413 add r3, r2 - 800f7d6: 00db lsls r3, r3, #3 - 800f7d8: 440b add r3, r1 - 800f7da: 3314 adds r3, #20 - 800f7dc: 781b ldrb r3, [r3, #0] - 800f7de: 2b01 cmp r3, #1 - 800f7e0: d917 bls.n 800f812 + 8010150: 7c7a ldrb r2, [r7, #17] + 8010152: 494b ldr r1, [pc, #300] @ (8010280 ) + 8010154: 4613 mov r3, r2 + 8010156: 005b lsls r3, r3, #1 + 8010158: 4413 add r3, r2 + 801015a: 00db lsls r3, r3, #3 + 801015c: 440b add r3, r1 + 801015e: 3314 adds r3, #20 + 8010160: 781b ldrb r3, [r3, #0] + 8010162: 2b01 cmp r3, #1 + 8010164: d917 bls.n 8010196 /* we have a valid IP->Ethernet address mapping */ ETHARP_SET_ADDRHINT(netif, i); - 800f7e2: 4a49 ldr r2, [pc, #292] @ (800f908 ) - 800f7e4: 7c7b ldrb r3, [r7, #17] - 800f7e6: 7013 strb r3, [r2, #0] + 8010166: 4a49 ldr r2, [pc, #292] @ (801028c ) + 8010168: 7c7b ldrb r3, [r7, #17] + 801016a: 7013 strb r3, [r2, #0] /* send the packet */ result = ethernet_output(netif, q, srcaddr, &(arp_table[i].ethaddr), ETHTYPE_IP); - 800f7e8: 7c7a ldrb r2, [r7, #17] - 800f7ea: 4613 mov r3, r2 - 800f7ec: 005b lsls r3, r3, #1 - 800f7ee: 4413 add r3, r2 - 800f7f0: 00db lsls r3, r3, #3 - 800f7f2: 3308 adds r3, #8 - 800f7f4: 4a41 ldr r2, [pc, #260] @ (800f8fc ) - 800f7f6: 4413 add r3, r2 - 800f7f8: 3304 adds r3, #4 - 800f7fa: f44f 6200 mov.w r2, #2048 @ 0x800 - 800f7fe: 9200 str r2, [sp, #0] - 800f800: 697a ldr r2, [r7, #20] - 800f802: 6879 ldr r1, [r7, #4] - 800f804: 68f8 ldr r0, [r7, #12] - 800f806: f001 fdd1 bl 80113ac - 800f80a: 4603 mov r3, r0 - 800f80c: f887 3027 strb.w r3, [r7, #39] @ 0x27 - 800f810: e067 b.n 800f8e2 + 801016c: 7c7a ldrb r2, [r7, #17] + 801016e: 4613 mov r3, r2 + 8010170: 005b lsls r3, r3, #1 + 8010172: 4413 add r3, r2 + 8010174: 00db lsls r3, r3, #3 + 8010176: 3308 adds r3, #8 + 8010178: 4a41 ldr r2, [pc, #260] @ (8010280 ) + 801017a: 4413 add r3, r2 + 801017c: 3304 adds r3, #4 + 801017e: f44f 6200 mov.w r2, #2048 @ 0x800 + 8010182: 9200 str r2, [sp, #0] + 8010184: 697a ldr r2, [r7, #20] + 8010186: 6879 ldr r1, [r7, #4] + 8010188: 68f8 ldr r0, [r7, #12] + 801018a: f001 fdd1 bl 8011d30 + 801018e: 4603 mov r3, r0 + 8010190: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 8010194: e067 b.n 8010266 /* pending entry? (either just created or already pending */ } else if (arp_table[i].state == ETHARP_STATE_PENDING) { - 800f812: 7c7a ldrb r2, [r7, #17] - 800f814: 4939 ldr r1, [pc, #228] @ (800f8fc ) - 800f816: 4613 mov r3, r2 - 800f818: 005b lsls r3, r3, #1 - 800f81a: 4413 add r3, r2 - 800f81c: 00db lsls r3, r3, #3 - 800f81e: 440b add r3, r1 - 800f820: 3314 adds r3, #20 - 800f822: 781b ldrb r3, [r3, #0] - 800f824: 2b01 cmp r3, #1 - 800f826: d15c bne.n 800f8e2 + 8010196: 7c7a ldrb r2, [r7, #17] + 8010198: 4939 ldr r1, [pc, #228] @ (8010280 ) + 801019a: 4613 mov r3, r2 + 801019c: 005b lsls r3, r3, #1 + 801019e: 4413 add r3, r2 + 80101a0: 00db lsls r3, r3, #3 + 80101a2: 440b add r3, r1 + 80101a4: 3314 adds r3, #20 + 80101a6: 781b ldrb r3, [r3, #0] + 80101a8: 2b01 cmp r3, #1 + 80101aa: d15c bne.n 8010266 /* entry is still pending, queue the given packet 'q' */ struct pbuf *p; int copy_needed = 0; - 800f828: 2300 movs r3, #0 - 800f82a: 61bb str r3, [r7, #24] + 80101ac: 2300 movs r3, #0 + 80101ae: 61bb str r3, [r7, #24] /* IF q includes a pbuf that must be copied, copy the whole chain into a * new PBUF_RAM. See the definition of PBUF_NEEDS_COPY for details. */ p = q; - 800f82c: 687b ldr r3, [r7, #4] - 800f82e: 61fb str r3, [r7, #28] + 80101b0: 687b ldr r3, [r7, #4] + 80101b2: 61fb str r3, [r7, #28] while (p) { - 800f830: e01c b.n 800f86c + 80101b4: e01c b.n 80101f0 LWIP_ASSERT("no packet queues allowed!", (p->len != p->tot_len) || (p->next == 0)); - 800f832: 69fb ldr r3, [r7, #28] - 800f834: 895a ldrh r2, [r3, #10] - 800f836: 69fb ldr r3, [r7, #28] - 800f838: 891b ldrh r3, [r3, #8] - 800f83a: 429a cmp r2, r3 - 800f83c: d10a bne.n 800f854 - 800f83e: 69fb ldr r3, [r7, #28] - 800f840: 681b ldr r3, [r3, #0] - 800f842: 2b00 cmp r3, #0 - 800f844: d006 beq.n 800f854 - 800f846: 4b2a ldr r3, [pc, #168] @ (800f8f0 ) - 800f848: f240 32f1 movw r2, #1009 @ 0x3f1 - 800f84c: 492f ldr r1, [pc, #188] @ (800f90c ) - 800f84e: 482a ldr r0, [pc, #168] @ (800f8f8 ) - 800f850: f001 fed2 bl 80115f8 + 80101b6: 69fb ldr r3, [r7, #28] + 80101b8: 895a ldrh r2, [r3, #10] + 80101ba: 69fb ldr r3, [r7, #28] + 80101bc: 891b ldrh r3, [r3, #8] + 80101be: 429a cmp r2, r3 + 80101c0: d10a bne.n 80101d8 + 80101c2: 69fb ldr r3, [r7, #28] + 80101c4: 681b ldr r3, [r3, #0] + 80101c6: 2b00 cmp r3, #0 + 80101c8: d006 beq.n 80101d8 + 80101ca: 4b2a ldr r3, [pc, #168] @ (8010274 ) + 80101cc: f240 32f1 movw r2, #1009 @ 0x3f1 + 80101d0: 492f ldr r1, [pc, #188] @ (8010290 ) + 80101d2: 482a ldr r0, [pc, #168] @ (801027c ) + 80101d4: f001 fed2 bl 8011f7c if (PBUF_NEEDS_COPY(p)) { - 800f854: 69fb ldr r3, [r7, #28] - 800f856: 7b1b ldrb r3, [r3, #12] - 800f858: f003 0340 and.w r3, r3, #64 @ 0x40 - 800f85c: 2b00 cmp r3, #0 - 800f85e: d002 beq.n 800f866 + 80101d8: 69fb ldr r3, [r7, #28] + 80101da: 7b1b ldrb r3, [r3, #12] + 80101dc: f003 0340 and.w r3, r3, #64 @ 0x40 + 80101e0: 2b00 cmp r3, #0 + 80101e2: d002 beq.n 80101ea copy_needed = 1; - 800f860: 2301 movs r3, #1 - 800f862: 61bb str r3, [r7, #24] + 80101e4: 2301 movs r3, #1 + 80101e6: 61bb str r3, [r7, #24] break; - 800f864: e005 b.n 800f872 + 80101e8: e005 b.n 80101f6 } p = p->next; - 800f866: 69fb ldr r3, [r7, #28] - 800f868: 681b ldr r3, [r3, #0] - 800f86a: 61fb str r3, [r7, #28] + 80101ea: 69fb ldr r3, [r7, #28] + 80101ec: 681b ldr r3, [r3, #0] + 80101ee: 61fb str r3, [r7, #28] while (p) { - 800f86c: 69fb ldr r3, [r7, #28] - 800f86e: 2b00 cmp r3, #0 - 800f870: d1df bne.n 800f832 + 80101f0: 69fb ldr r3, [r7, #28] + 80101f2: 2b00 cmp r3, #0 + 80101f4: d1df bne.n 80101b6 } if (copy_needed) { - 800f872: 69bb ldr r3, [r7, #24] - 800f874: 2b00 cmp r3, #0 - 800f876: d007 beq.n 800f888 + 80101f6: 69bb ldr r3, [r7, #24] + 80101f8: 2b00 cmp r3, #0 + 80101fa: d007 beq.n 801020c /* copy the whole packet into new pbufs */ p = pbuf_clone(PBUF_LINK, PBUF_RAM, q); - 800f878: 687a ldr r2, [r7, #4] - 800f87a: f44f 7120 mov.w r1, #640 @ 0x280 - 800f87e: 200e movs r0, #14 - 800f880: f7f7 fb3e bl 8006f00 - 800f884: 61f8 str r0, [r7, #28] - 800f886: e004 b.n 800f892 + 80101fc: 687a ldr r2, [r7, #4] + 80101fe: f44f 7120 mov.w r1, #640 @ 0x280 + 8010202: 200e movs r0, #14 + 8010204: f7f7 fb3e bl 8007884 + 8010208: 61f8 str r0, [r7, #28] + 801020a: e004 b.n 8010216 } else { /* referencing the old pbuf is enough */ p = q; - 800f888: 687b ldr r3, [r7, #4] - 800f88a: 61fb str r3, [r7, #28] + 801020c: 687b ldr r3, [r7, #4] + 801020e: 61fb str r3, [r7, #28] pbuf_ref(p); - 800f88c: 69f8 ldr r0, [r7, #28] - 800f88e: f7f7 f96b bl 8006b68 + 8010210: 69f8 ldr r0, [r7, #28] + 8010212: f7f7 f96b bl 80074ec } /* packet could be taken over? */ if (p != NULL) { - 800f892: 69fb ldr r3, [r7, #28] - 800f894: 2b00 cmp r3, #0 - 800f896: d021 beq.n 800f8dc + 8010216: 69fb ldr r3, [r7, #28] + 8010218: 2b00 cmp r3, #0 + 801021a: d021 beq.n 8010260 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: could not queue a copy of PBUF_REF packet %p (out of memory)\n", (void *)q)); result = ERR_MEM; } #else /* ARP_QUEUEING */ /* always queue one packet per ARP request only, freeing a previously queued packet */ if (arp_table[i].q != NULL) { - 800f898: 7c7a ldrb r2, [r7, #17] - 800f89a: 4918 ldr r1, [pc, #96] @ (800f8fc ) - 800f89c: 4613 mov r3, r2 - 800f89e: 005b lsls r3, r3, #1 - 800f8a0: 4413 add r3, r2 - 800f8a2: 00db lsls r3, r3, #3 - 800f8a4: 440b add r3, r1 - 800f8a6: 681b ldr r3, [r3, #0] - 800f8a8: 2b00 cmp r3, #0 - 800f8aa: d00a beq.n 800f8c2 + 801021c: 7c7a ldrb r2, [r7, #17] + 801021e: 4918 ldr r1, [pc, #96] @ (8010280 ) + 8010220: 4613 mov r3, r2 + 8010222: 005b lsls r3, r3, #1 + 8010224: 4413 add r3, r2 + 8010226: 00db lsls r3, r3, #3 + 8010228: 440b add r3, r1 + 801022a: 681b ldr r3, [r3, #0] + 801022c: 2b00 cmp r3, #0 + 801022e: d00a beq.n 8010246 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: dropped previously queued packet %p for ARP entry %"U16_F"\n", (void *)q, (u16_t)i)); pbuf_free(arp_table[i].q); - 800f8ac: 7c7a ldrb r2, [r7, #17] - 800f8ae: 4913 ldr r1, [pc, #76] @ (800f8fc ) - 800f8b0: 4613 mov r3, r2 - 800f8b2: 005b lsls r3, r3, #1 - 800f8b4: 4413 add r3, r2 - 800f8b6: 00db lsls r3, r3, #3 - 800f8b8: 440b add r3, r1 - 800f8ba: 681b ldr r3, [r3, #0] - 800f8bc: 4618 mov r0, r3 - 800f8be: f7f7 f8b3 bl 8006a28 + 8010230: 7c7a ldrb r2, [r7, #17] + 8010232: 4913 ldr r1, [pc, #76] @ (8010280 ) + 8010234: 4613 mov r3, r2 + 8010236: 005b lsls r3, r3, #1 + 8010238: 4413 add r3, r2 + 801023a: 00db lsls r3, r3, #3 + 801023c: 440b add r3, r1 + 801023e: 681b ldr r3, [r3, #0] + 8010240: 4618 mov r0, r3 + 8010242: f7f7 f8b3 bl 80073ac } arp_table[i].q = p; - 800f8c2: 7c7a ldrb r2, [r7, #17] - 800f8c4: 490d ldr r1, [pc, #52] @ (800f8fc ) - 800f8c6: 4613 mov r3, r2 - 800f8c8: 005b lsls r3, r3, #1 - 800f8ca: 4413 add r3, r2 - 800f8cc: 00db lsls r3, r3, #3 - 800f8ce: 440b add r3, r1 - 800f8d0: 69fa ldr r2, [r7, #28] - 800f8d2: 601a str r2, [r3, #0] + 8010246: 7c7a ldrb r2, [r7, #17] + 8010248: 490d ldr r1, [pc, #52] @ (8010280 ) + 801024a: 4613 mov r3, r2 + 801024c: 005b lsls r3, r3, #1 + 801024e: 4413 add r3, r2 + 8010250: 00db lsls r3, r3, #3 + 8010252: 440b add r3, r1 + 8010254: 69fa ldr r2, [r7, #28] + 8010256: 601a str r2, [r3, #0] result = ERR_OK; - 800f8d4: 2300 movs r3, #0 - 800f8d6: f887 3027 strb.w r3, [r7, #39] @ 0x27 - 800f8da: e002 b.n 800f8e2 + 8010258: 2300 movs r3, #0 + 801025a: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 801025e: e002 b.n 8010266 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: queued packet %p on ARP entry %"U16_F"\n", (void *)q, (u16_t)i)); #endif /* ARP_QUEUEING */ } else { ETHARP_STATS_INC(etharp.memerr); LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: could not queue a copy of PBUF_REF packet %p (out of memory)\n", (void *)q)); result = ERR_MEM; - 800f8dc: 23ff movs r3, #255 @ 0xff - 800f8de: f887 3027 strb.w r3, [r7, #39] @ 0x27 + 8010260: 23ff movs r3, #255 @ 0xff + 8010262: f887 3027 strb.w r3, [r7, #39] @ 0x27 } } return result; - 800f8e2: f997 3027 ldrsb.w r3, [r7, #39] @ 0x27 + 8010266: f997 3027 ldrsb.w r3, [r7, #39] @ 0x27 } - 800f8e6: 4618 mov r0, r3 - 800f8e8: 3728 adds r7, #40 @ 0x28 - 800f8ea: 46bd mov sp, r7 - 800f8ec: bd80 pop {r7, pc} - 800f8ee: bf00 nop - 800f8f0: 080186a4 .word 0x080186a4 - 800f8f4: 08018850 .word 0x08018850 - 800f8f8: 0801871c .word 0x0801871c - 800f8fc: 20019138 .word 0x20019138 - 800f900: 08018860 .word 0x08018860 - 800f904: 08018844 .word 0x08018844 - 800f908: 20019228 .word 0x20019228 - 800f90c: 08018888 .word 0x08018888 + 801026a: 4618 mov r0, r3 + 801026c: 3728 adds r7, #40 @ 0x28 + 801026e: 46bd mov sp, r7 + 8010270: bd80 pop {r7, pc} + 8010272: bf00 nop + 8010274: 08019024 .word 0x08019024 + 8010278: 080191d0 .word 0x080191d0 + 801027c: 0801909c .word 0x0801909c + 8010280: 2001916c .word 0x2001916c + 8010284: 080191e0 .word 0x080191e0 + 8010288: 080191c4 .word 0x080191c4 + 801028c: 2001925c .word 0x2001925c + 8010290: 08019208 .word 0x08019208 -0800f910 : +08010294 : etharp_raw(struct netif *netif, const struct eth_addr *ethsrc_addr, const struct eth_addr *ethdst_addr, const struct eth_addr *hwsrc_addr, const ip4_addr_t *ipsrc_addr, const struct eth_addr *hwdst_addr, const ip4_addr_t *ipdst_addr, const u16_t opcode) { - 800f910: b580 push {r7, lr} - 800f912: b08a sub sp, #40 @ 0x28 - 800f914: af02 add r7, sp, #8 - 800f916: 60f8 str r0, [r7, #12] - 800f918: 60b9 str r1, [r7, #8] - 800f91a: 607a str r2, [r7, #4] - 800f91c: 603b str r3, [r7, #0] + 8010294: b580 push {r7, lr} + 8010296: b08a sub sp, #40 @ 0x28 + 8010298: af02 add r7, sp, #8 + 801029a: 60f8 str r0, [r7, #12] + 801029c: 60b9 str r1, [r7, #8] + 801029e: 607a str r2, [r7, #4] + 80102a0: 603b str r3, [r7, #0] struct pbuf *p; err_t result = ERR_OK; - 800f91e: 2300 movs r3, #0 - 800f920: 77fb strb r3, [r7, #31] + 80102a2: 2300 movs r3, #0 + 80102a4: 77fb strb r3, [r7, #31] struct etharp_hdr *hdr; LWIP_ASSERT("netif != NULL", netif != NULL); - 800f922: 68fb ldr r3, [r7, #12] - 800f924: 2b00 cmp r3, #0 - 800f926: d106 bne.n 800f936 - 800f928: 4b3a ldr r3, [pc, #232] @ (800fa14 ) - 800f92a: f240 4257 movw r2, #1111 @ 0x457 - 800f92e: 493a ldr r1, [pc, #232] @ (800fa18 ) - 800f930: 483a ldr r0, [pc, #232] @ (800fa1c ) - 800f932: f001 fe61 bl 80115f8 + 80102a6: 68fb ldr r3, [r7, #12] + 80102a8: 2b00 cmp r3, #0 + 80102aa: d106 bne.n 80102ba + 80102ac: 4b3a ldr r3, [pc, #232] @ (8010398 ) + 80102ae: f240 4257 movw r2, #1111 @ 0x457 + 80102b2: 493a ldr r1, [pc, #232] @ (801039c ) + 80102b4: 483a ldr r0, [pc, #232] @ (80103a0 ) + 80102b6: f001 fe61 bl 8011f7c /* allocate a pbuf for the outgoing ARP request packet */ p = pbuf_alloc(PBUF_LINK, SIZEOF_ETHARP_HDR, PBUF_RAM); - 800f936: f44f 7220 mov.w r2, #640 @ 0x280 - 800f93a: 211c movs r1, #28 - 800f93c: 200e movs r0, #14 - 800f93e: f7f6 fd91 bl 8006464 - 800f942: 61b8 str r0, [r7, #24] + 80102ba: f44f 7220 mov.w r2, #640 @ 0x280 + 80102be: 211c movs r1, #28 + 80102c0: 200e movs r0, #14 + 80102c2: f7f6 fd91 bl 8006de8 + 80102c6: 61b8 str r0, [r7, #24] /* could allocate a pbuf for an ARP request? */ if (p == NULL) { - 800f944: 69bb ldr r3, [r7, #24] - 800f946: 2b00 cmp r3, #0 - 800f948: d102 bne.n 800f950 + 80102c8: 69bb ldr r3, [r7, #24] + 80102ca: 2b00 cmp r3, #0 + 80102cc: d102 bne.n 80102d4 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("etharp_raw: could not allocate pbuf for ARP request.\n")); ETHARP_STATS_INC(etharp.memerr); return ERR_MEM; - 800f94a: f04f 33ff mov.w r3, #4294967295 - 800f94e: e05d b.n 800fa0c + 80102ce: f04f 33ff mov.w r3, #4294967295 + 80102d2: e05d b.n 8010390 } LWIP_ASSERT("check that first pbuf can hold struct etharp_hdr", - 800f950: 69bb ldr r3, [r7, #24] - 800f952: 895b ldrh r3, [r3, #10] - 800f954: 2b1b cmp r3, #27 - 800f956: d806 bhi.n 800f966 - 800f958: 4b2e ldr r3, [pc, #184] @ (800fa14 ) - 800f95a: f240 4262 movw r2, #1122 @ 0x462 - 800f95e: 4930 ldr r1, [pc, #192] @ (800fa20 ) - 800f960: 482e ldr r0, [pc, #184] @ (800fa1c ) - 800f962: f001 fe49 bl 80115f8 + 80102d4: 69bb ldr r3, [r7, #24] + 80102d6: 895b ldrh r3, [r3, #10] + 80102d8: 2b1b cmp r3, #27 + 80102da: d806 bhi.n 80102ea + 80102dc: 4b2e ldr r3, [pc, #184] @ (8010398 ) + 80102de: f240 4262 movw r2, #1122 @ 0x462 + 80102e2: 4930 ldr r1, [pc, #192] @ (80103a4 ) + 80102e4: 482e ldr r0, [pc, #184] @ (80103a0 ) + 80102e6: f001 fe49 bl 8011f7c (p->len >= SIZEOF_ETHARP_HDR)); hdr = (struct etharp_hdr *)p->payload; - 800f966: 69bb ldr r3, [r7, #24] - 800f968: 685b ldr r3, [r3, #4] - 800f96a: 617b str r3, [r7, #20] + 80102ea: 69bb ldr r3, [r7, #24] + 80102ec: 685b ldr r3, [r3, #4] + 80102ee: 617b str r3, [r7, #20] LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_raw: sending raw ARP packet.\n")); hdr->opcode = lwip_htons(opcode); - 800f96c: 8ebb ldrh r3, [r7, #52] @ 0x34 - 800f96e: 4618 mov r0, r3 - 800f970: f7f5 fd0a bl 8005388 - 800f974: 4603 mov r3, r0 - 800f976: 461a mov r2, r3 - 800f978: 697b ldr r3, [r7, #20] - 800f97a: 80da strh r2, [r3, #6] + 80102f0: 8ebb ldrh r3, [r7, #52] @ 0x34 + 80102f2: 4618 mov r0, r3 + 80102f4: f7f5 fd0a bl 8005d0c + 80102f8: 4603 mov r3, r0 + 80102fa: 461a mov r2, r3 + 80102fc: 697b ldr r3, [r7, #20] + 80102fe: 80da strh r2, [r3, #6] LWIP_ASSERT("netif->hwaddr_len must be the same as ETH_HWADDR_LEN for etharp!", - 800f97c: 68fb ldr r3, [r7, #12] - 800f97e: f893 3030 ldrb.w r3, [r3, #48] @ 0x30 - 800f982: 2b06 cmp r3, #6 - 800f984: d006 beq.n 800f994 - 800f986: 4b23 ldr r3, [pc, #140] @ (800fa14 ) - 800f988: f240 4269 movw r2, #1129 @ 0x469 - 800f98c: 4925 ldr r1, [pc, #148] @ (800fa24 ) - 800f98e: 4823 ldr r0, [pc, #140] @ (800fa1c ) - 800f990: f001 fe32 bl 80115f8 + 8010300: 68fb ldr r3, [r7, #12] + 8010302: f893 3030 ldrb.w r3, [r3, #48] @ 0x30 + 8010306: 2b06 cmp r3, #6 + 8010308: d006 beq.n 8010318 + 801030a: 4b23 ldr r3, [pc, #140] @ (8010398 ) + 801030c: f240 4269 movw r2, #1129 @ 0x469 + 8010310: 4925 ldr r1, [pc, #148] @ (80103a8 ) + 8010312: 4823 ldr r0, [pc, #140] @ (80103a0 ) + 8010314: f001 fe32 bl 8011f7c (netif->hwaddr_len == ETH_HWADDR_LEN)); /* Write the ARP MAC-Addresses */ SMEMCPY(&hdr->shwaddr, hwsrc_addr, ETH_HWADDR_LEN); - 800f994: 697b ldr r3, [r7, #20] - 800f996: 3308 adds r3, #8 - 800f998: 2206 movs r2, #6 - 800f99a: 6839 ldr r1, [r7, #0] - 800f99c: 4618 mov r0, r3 - 800f99e: f001 ff27 bl 80117f0 + 8010318: 697b ldr r3, [r7, #20] + 801031a: 3308 adds r3, #8 + 801031c: 2206 movs r2, #6 + 801031e: 6839 ldr r1, [r7, #0] + 8010320: 4618 mov r0, r3 + 8010322: f001 ff27 bl 8012174 SMEMCPY(&hdr->dhwaddr, hwdst_addr, ETH_HWADDR_LEN); - 800f9a2: 697b ldr r3, [r7, #20] - 800f9a4: 3312 adds r3, #18 - 800f9a6: 2206 movs r2, #6 - 800f9a8: 6af9 ldr r1, [r7, #44] @ 0x2c - 800f9aa: 4618 mov r0, r3 - 800f9ac: f001 ff20 bl 80117f0 + 8010326: 697b ldr r3, [r7, #20] + 8010328: 3312 adds r3, #18 + 801032a: 2206 movs r2, #6 + 801032c: 6af9 ldr r1, [r7, #44] @ 0x2c + 801032e: 4618 mov r0, r3 + 8010330: f001 ff20 bl 8012174 /* Copy struct ip4_addr_wordaligned to aligned ip4_addr, to support compilers without * structure packing. */ IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T(&hdr->sipaddr, ipsrc_addr); - 800f9b0: 697b ldr r3, [r7, #20] - 800f9b2: 330e adds r3, #14 - 800f9b4: 6aba ldr r2, [r7, #40] @ 0x28 - 800f9b6: 6812 ldr r2, [r2, #0] - 800f9b8: 601a str r2, [r3, #0] + 8010334: 697b ldr r3, [r7, #20] + 8010336: 330e adds r3, #14 + 8010338: 6aba ldr r2, [r7, #40] @ 0x28 + 801033a: 6812 ldr r2, [r2, #0] + 801033c: 601a str r2, [r3, #0] IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T(&hdr->dipaddr, ipdst_addr); - 800f9ba: 697b ldr r3, [r7, #20] - 800f9bc: 3318 adds r3, #24 - 800f9be: 6b3a ldr r2, [r7, #48] @ 0x30 - 800f9c0: 6812 ldr r2, [r2, #0] - 800f9c2: 601a str r2, [r3, #0] + 801033e: 697b ldr r3, [r7, #20] + 8010340: 3318 adds r3, #24 + 8010342: 6b3a ldr r2, [r7, #48] @ 0x30 + 8010344: 6812 ldr r2, [r2, #0] + 8010346: 601a str r2, [r3, #0] hdr->hwtype = PP_HTONS(LWIP_IANA_HWTYPE_ETHERNET); - 800f9c4: 697b ldr r3, [r7, #20] - 800f9c6: 2200 movs r2, #0 - 800f9c8: 701a strb r2, [r3, #0] - 800f9ca: 2200 movs r2, #0 - 800f9cc: f042 0201 orr.w r2, r2, #1 - 800f9d0: 705a strb r2, [r3, #1] + 8010348: 697b ldr r3, [r7, #20] + 801034a: 2200 movs r2, #0 + 801034c: 701a strb r2, [r3, #0] + 801034e: 2200 movs r2, #0 + 8010350: f042 0201 orr.w r2, r2, #1 + 8010354: 705a strb r2, [r3, #1] hdr->proto = PP_HTONS(ETHTYPE_IP); - 800f9d2: 697b ldr r3, [r7, #20] - 800f9d4: 2200 movs r2, #0 - 800f9d6: f042 0208 orr.w r2, r2, #8 - 800f9da: 709a strb r2, [r3, #2] - 800f9dc: 2200 movs r2, #0 - 800f9de: 70da strb r2, [r3, #3] + 8010356: 697b ldr r3, [r7, #20] + 8010358: 2200 movs r2, #0 + 801035a: f042 0208 orr.w r2, r2, #8 + 801035e: 709a strb r2, [r3, #2] + 8010360: 2200 movs r2, #0 + 8010362: 70da strb r2, [r3, #3] /* set hwlen and protolen */ hdr->hwlen = ETH_HWADDR_LEN; - 800f9e0: 697b ldr r3, [r7, #20] - 800f9e2: 2206 movs r2, #6 - 800f9e4: 711a strb r2, [r3, #4] + 8010364: 697b ldr r3, [r7, #20] + 8010366: 2206 movs r2, #6 + 8010368: 711a strb r2, [r3, #4] hdr->protolen = sizeof(ip4_addr_t); - 800f9e6: 697b ldr r3, [r7, #20] - 800f9e8: 2204 movs r2, #4 - 800f9ea: 715a strb r2, [r3, #5] + 801036a: 697b ldr r3, [r7, #20] + 801036c: 2204 movs r2, #4 + 801036e: 715a strb r2, [r3, #5] if (ip4_addr_islinklocal(ipsrc_addr)) { ethernet_output(netif, p, ethsrc_addr, ðbroadcast, ETHTYPE_ARP); } else #endif /* LWIP_AUTOIP */ { ethernet_output(netif, p, ethsrc_addr, ethdst_addr, ETHTYPE_ARP); - 800f9ec: f640 0306 movw r3, #2054 @ 0x806 - 800f9f0: 9300 str r3, [sp, #0] - 800f9f2: 687b ldr r3, [r7, #4] - 800f9f4: 68ba ldr r2, [r7, #8] - 800f9f6: 69b9 ldr r1, [r7, #24] - 800f9f8: 68f8 ldr r0, [r7, #12] - 800f9fa: f001 fcd7 bl 80113ac + 8010370: f640 0306 movw r3, #2054 @ 0x806 + 8010374: 9300 str r3, [sp, #0] + 8010376: 687b ldr r3, [r7, #4] + 8010378: 68ba ldr r2, [r7, #8] + 801037a: 69b9 ldr r1, [r7, #24] + 801037c: 68f8 ldr r0, [r7, #12] + 801037e: f001 fcd7 bl 8011d30 } ETHARP_STATS_INC(etharp.xmit); /* free ARP query packet */ pbuf_free(p); - 800f9fe: 69b8 ldr r0, [r7, #24] - 800fa00: f7f7 f812 bl 8006a28 + 8010382: 69b8 ldr r0, [r7, #24] + 8010384: f7f7 f812 bl 80073ac p = NULL; - 800fa04: 2300 movs r3, #0 - 800fa06: 61bb str r3, [r7, #24] + 8010388: 2300 movs r3, #0 + 801038a: 61bb str r3, [r7, #24] /* could not allocate pbuf for ARP request */ return result; - 800fa08: f997 301f ldrsb.w r3, [r7, #31] + 801038c: f997 301f ldrsb.w r3, [r7, #31] } - 800fa0c: 4618 mov r0, r3 - 800fa0e: 3720 adds r7, #32 - 800fa10: 46bd mov sp, r7 - 800fa12: bd80 pop {r7, pc} - 800fa14: 080186a4 .word 0x080186a4 - 800fa18: 080187f4 .word 0x080187f4 - 800fa1c: 0801871c .word 0x0801871c - 800fa20: 080188a4 .word 0x080188a4 - 800fa24: 080188d8 .word 0x080188d8 + 8010390: 4618 mov r0, r3 + 8010392: 3720 adds r7, #32 + 8010394: 46bd mov sp, r7 + 8010396: bd80 pop {r7, pc} + 8010398: 08019024 .word 0x08019024 + 801039c: 08019174 .word 0x08019174 + 80103a0: 0801909c .word 0x0801909c + 80103a4: 08019224 .word 0x08019224 + 80103a8: 08019258 .word 0x08019258 -0800fa28 : +080103ac : * ERR_MEM if the ARP packet couldn't be allocated * any other err_t on failure */ static err_t etharp_request_dst(struct netif *netif, const ip4_addr_t *ipaddr, const struct eth_addr *hw_dst_addr) { - 800fa28: b580 push {r7, lr} - 800fa2a: b088 sub sp, #32 - 800fa2c: af04 add r7, sp, #16 - 800fa2e: 60f8 str r0, [r7, #12] - 800fa30: 60b9 str r1, [r7, #8] - 800fa32: 607a str r2, [r7, #4] + 80103ac: b580 push {r7, lr} + 80103ae: b088 sub sp, #32 + 80103b0: af04 add r7, sp, #16 + 80103b2: 60f8 str r0, [r7, #12] + 80103b4: 60b9 str r1, [r7, #8] + 80103b6: 607a str r2, [r7, #4] return etharp_raw(netif, (struct eth_addr *)netif->hwaddr, hw_dst_addr, - 800fa34: 68fb ldr r3, [r7, #12] - 800fa36: f103 012a add.w r1, r3, #42 @ 0x2a + 80103b8: 68fb ldr r3, [r7, #12] + 80103ba: f103 012a add.w r1, r3, #42 @ 0x2a (struct eth_addr *)netif->hwaddr, netif_ip4_addr(netif), ðzero, - 800fa3a: 68fb ldr r3, [r7, #12] - 800fa3c: f103 002a add.w r0, r3, #42 @ 0x2a - 800fa40: 68fb ldr r3, [r7, #12] - 800fa42: 3304 adds r3, #4 + 80103be: 68fb ldr r3, [r7, #12] + 80103c0: f103 002a add.w r0, r3, #42 @ 0x2a + 80103c4: 68fb ldr r3, [r7, #12] + 80103c6: 3304 adds r3, #4 return etharp_raw(netif, (struct eth_addr *)netif->hwaddr, hw_dst_addr, - 800fa44: 2201 movs r2, #1 - 800fa46: 9203 str r2, [sp, #12] - 800fa48: 68ba ldr r2, [r7, #8] - 800fa4a: 9202 str r2, [sp, #8] - 800fa4c: 4a06 ldr r2, [pc, #24] @ (800fa68 ) - 800fa4e: 9201 str r2, [sp, #4] - 800fa50: 9300 str r3, [sp, #0] - 800fa52: 4603 mov r3, r0 - 800fa54: 687a ldr r2, [r7, #4] - 800fa56: 68f8 ldr r0, [r7, #12] - 800fa58: f7ff ff5a bl 800f910 - 800fa5c: 4603 mov r3, r0 + 80103c8: 2201 movs r2, #1 + 80103ca: 9203 str r2, [sp, #12] + 80103cc: 68ba ldr r2, [r7, #8] + 80103ce: 9202 str r2, [sp, #8] + 80103d0: 4a06 ldr r2, [pc, #24] @ (80103ec ) + 80103d2: 9201 str r2, [sp, #4] + 80103d4: 9300 str r3, [sp, #0] + 80103d6: 4603 mov r3, r0 + 80103d8: 687a ldr r2, [r7, #4] + 80103da: 68f8 ldr r0, [r7, #12] + 80103dc: f7ff ff5a bl 8010294 + 80103e0: 4603 mov r3, r0 ipaddr, ARP_REQUEST); } - 800fa5e: 4618 mov r0, r3 - 800fa60: 3710 adds r7, #16 - 800fa62: 46bd mov sp, r7 - 800fa64: bd80 pop {r7, pc} - 800fa66: bf00 nop - 800fa68: 08018ee4 .word 0x08018ee4 + 80103e2: 4618 mov r0, r3 + 80103e4: 3710 adds r7, #16 + 80103e6: 46bd mov sp, r7 + 80103e8: bd80 pop {r7, pc} + 80103ea: bf00 nop + 80103ec: 08019864 .word 0x08019864 -0800fa6c : +080103f0 : * ERR_MEM if the ARP packet couldn't be allocated * any other err_t on failure */ err_t etharp_request(struct netif *netif, const ip4_addr_t *ipaddr) { - 800fa6c: b580 push {r7, lr} - 800fa6e: b082 sub sp, #8 - 800fa70: af00 add r7, sp, #0 - 800fa72: 6078 str r0, [r7, #4] - 800fa74: 6039 str r1, [r7, #0] + 80103f0: b580 push {r7, lr} + 80103f2: b082 sub sp, #8 + 80103f4: af00 add r7, sp, #0 + 80103f6: 6078 str r0, [r7, #4] + 80103f8: 6039 str r1, [r7, #0] LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_request: sending ARP request.\n")); return etharp_request_dst(netif, ipaddr, ðbroadcast); - 800fa76: 4a05 ldr r2, [pc, #20] @ (800fa8c ) - 800fa78: 6839 ldr r1, [r7, #0] - 800fa7a: 6878 ldr r0, [r7, #4] - 800fa7c: f7ff ffd4 bl 800fa28 - 800fa80: 4603 mov r3, r0 + 80103fa: 4a05 ldr r2, [pc, #20] @ (8010410 ) + 80103fc: 6839 ldr r1, [r7, #0] + 80103fe: 6878 ldr r0, [r7, #4] + 8010400: f7ff ffd4 bl 80103ac + 8010404: 4603 mov r3, r0 } - 800fa82: 4618 mov r0, r3 - 800fa84: 3708 adds r7, #8 - 800fa86: 46bd mov sp, r7 - 800fa88: bd80 pop {r7, pc} - 800fa8a: bf00 nop - 800fa8c: 08018edc .word 0x08018edc + 8010406: 4618 mov r0, r3 + 8010408: 3708 adds r7, #8 + 801040a: 46bd mov sp, r7 + 801040c: bd80 pop {r7, pc} + 801040e: bf00 nop + 8010410: 0801985c .word 0x0801985c -0800fa90 : +08010414 : * @param p the icmp echo request packet, p->payload pointing to the icmp header * @param inp the netif on which this packet was received */ void icmp_input(struct pbuf *p, struct netif *inp) { - 800fa90: b580 push {r7, lr} - 800fa92: b08e sub sp, #56 @ 0x38 - 800fa94: af04 add r7, sp, #16 - 800fa96: 6078 str r0, [r7, #4] - 800fa98: 6039 str r1, [r7, #0] + 8010414: b580 push {r7, lr} + 8010416: b08e sub sp, #56 @ 0x38 + 8010418: af04 add r7, sp, #16 + 801041a: 6078 str r0, [r7, #4] + 801041c: 6039 str r1, [r7, #0] const ip4_addr_t *src; ICMP_STATS_INC(icmp.recv); MIB2_STATS_INC(mib2.icmpinmsgs); iphdr_in = ip4_current_header(); - 800fa9a: 4b79 ldr r3, [pc, #484] @ (800fc80 ) - 800fa9c: 689b ldr r3, [r3, #8] - 800fa9e: 627b str r3, [r7, #36] @ 0x24 + 801041e: 4b79 ldr r3, [pc, #484] @ (8010604 ) + 8010420: 689b ldr r3, [r3, #8] + 8010422: 627b str r3, [r7, #36] @ 0x24 hlen = IPH_HL_BYTES(iphdr_in); - 800faa0: 6a7b ldr r3, [r7, #36] @ 0x24 - 800faa2: 781b ldrb r3, [r3, #0] - 800faa4: f003 030f and.w r3, r3, #15 - 800faa8: b2db uxtb r3, r3 - 800faaa: 009b lsls r3, r3, #2 - 800faac: b2db uxtb r3, r3 - 800faae: 847b strh r3, [r7, #34] @ 0x22 + 8010424: 6a7b ldr r3, [r7, #36] @ 0x24 + 8010426: 781b ldrb r3, [r3, #0] + 8010428: f003 030f and.w r3, r3, #15 + 801042c: b2db uxtb r3, r3 + 801042e: 009b lsls r3, r3, #2 + 8010430: b2db uxtb r3, r3 + 8010432: 847b strh r3, [r7, #34] @ 0x22 if (hlen < IP_HLEN) { - 800fab0: 8c7b ldrh r3, [r7, #34] @ 0x22 - 800fab2: 2b13 cmp r3, #19 - 800fab4: f240 80cd bls.w 800fc52 + 8010434: 8c7b ldrh r3, [r7, #34] @ 0x22 + 8010436: 2b13 cmp r3, #19 + 8010438: f240 80cd bls.w 80105d6 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: short IP header (%"S16_F" bytes) received\n", hlen)); goto lenerr; } if (p->len < sizeof(u16_t) * 2) { - 800fab8: 687b ldr r3, [r7, #4] - 800faba: 895b ldrh r3, [r3, #10] - 800fabc: 2b03 cmp r3, #3 - 800fabe: f240 80ca bls.w 800fc56 + 801043c: 687b ldr r3, [r7, #4] + 801043e: 895b ldrh r3, [r3, #10] + 8010440: 2b03 cmp r3, #3 + 8010442: f240 80ca bls.w 80105da LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: short ICMP (%"U16_F" bytes) received\n", p->tot_len)); goto lenerr; } type = *((u8_t *)p->payload); - 800fac2: 687b ldr r3, [r7, #4] - 800fac4: 685b ldr r3, [r3, #4] - 800fac6: 781b ldrb r3, [r3, #0] - 800fac8: f887 3021 strb.w r3, [r7, #33] @ 0x21 + 8010446: 687b ldr r3, [r7, #4] + 8010448: 685b ldr r3, [r3, #4] + 801044a: 781b ldrb r3, [r3, #0] + 801044c: f887 3021 strb.w r3, [r7, #33] @ 0x21 #ifdef LWIP_DEBUG code = *(((u8_t *)p->payload) + 1); /* if debug is enabled but debug statement below is somehow disabled: */ LWIP_UNUSED_ARG(code); #endif /* LWIP_DEBUG */ switch (type) { - 800facc: f897 3021 ldrb.w r3, [r7, #33] @ 0x21 - 800fad0: 2b00 cmp r3, #0 - 800fad2: f000 80b7 beq.w 800fc44 - 800fad6: 2b08 cmp r3, #8 - 800fad8: f040 80b7 bne.w 800fc4a + 8010450: f897 3021 ldrb.w r3, [r7, #33] @ 0x21 + 8010454: 2b00 cmp r3, #0 + 8010456: f000 80b7 beq.w 80105c8 + 801045a: 2b08 cmp r3, #8 + 801045c: f040 80b7 bne.w 80105ce (as obviously, an echo request has been sent, too). */ MIB2_STATS_INC(mib2.icmpinechoreps); break; case ICMP_ECHO: MIB2_STATS_INC(mib2.icmpinechos); src = ip4_current_dest_addr(); - 800fadc: 4b69 ldr r3, [pc, #420] @ (800fc84 ) - 800fade: 61fb str r3, [r7, #28] + 8010460: 4b69 ldr r3, [pc, #420] @ (8010608 ) + 8010462: 61fb str r3, [r7, #28] /* multicast destination address? */ if (ip4_addr_ismulticast(ip4_current_dest_addr())) { - 800fae0: 4b67 ldr r3, [pc, #412] @ (800fc80 ) - 800fae2: 695b ldr r3, [r3, #20] - 800fae4: f003 03f0 and.w r3, r3, #240 @ 0xf0 - 800fae8: 2be0 cmp r3, #224 @ 0xe0 - 800faea: f000 80bb beq.w 800fc64 + 8010464: 4b67 ldr r3, [pc, #412] @ (8010604 ) + 8010466: 695b ldr r3, [r3, #20] + 8010468: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 801046c: 2be0 cmp r3, #224 @ 0xe0 + 801046e: f000 80bb beq.w 80105e8 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: Not echoing to multicast pings\n")); goto icmperr; #endif /* LWIP_MULTICAST_PING */ } /* broadcast destination address? */ if (ip4_addr_isbroadcast(ip4_current_dest_addr(), ip_current_netif())) { - 800faee: 4b64 ldr r3, [pc, #400] @ (800fc80 ) - 800faf0: 695b ldr r3, [r3, #20] - 800faf2: 4a63 ldr r2, [pc, #396] @ (800fc80 ) - 800faf4: 6812 ldr r2, [r2, #0] - 800faf6: 4611 mov r1, r2 - 800faf8: 4618 mov r0, r3 - 800fafa: f000 fc0b bl 8010314 - 800fafe: 4603 mov r3, r0 - 800fb00: 2b00 cmp r3, #0 - 800fb02: f040 80b1 bne.w 800fc68 + 8010472: 4b64 ldr r3, [pc, #400] @ (8010604 ) + 8010474: 695b ldr r3, [r3, #20] + 8010476: 4a63 ldr r2, [pc, #396] @ (8010604 ) + 8010478: 6812 ldr r2, [r2, #0] + 801047a: 4611 mov r1, r2 + 801047c: 4618 mov r0, r3 + 801047e: f000 fc0b bl 8010c98 + 8010482: 4603 mov r3, r0 + 8010484: 2b00 cmp r3, #0 + 8010486: f040 80b1 bne.w 80105ec LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: Not echoing to broadcast pings\n")); goto icmperr; #endif /* LWIP_BROADCAST_PING */ } LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: ping\n")); if (p->tot_len < sizeof(struct icmp_echo_hdr)) { - 800fb06: 687b ldr r3, [r7, #4] - 800fb08: 891b ldrh r3, [r3, #8] - 800fb0a: 2b07 cmp r3, #7 - 800fb0c: f240 80a5 bls.w 800fc5a + 801048a: 687b ldr r3, [r7, #4] + 801048c: 891b ldrh r3, [r3, #8] + 801048e: 2b07 cmp r3, #7 + 8010490: f240 80a5 bls.w 80105de return; } } #endif #if LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN if (pbuf_add_header(p, hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN)) { - 800fb10: 8c7b ldrh r3, [r7, #34] @ 0x22 - 800fb12: 330e adds r3, #14 - 800fb14: 4619 mov r1, r3 - 800fb16: 6878 ldr r0, [r7, #4] - 800fb18: f7f6 fef0 bl 80068fc - 800fb1c: 4603 mov r3, r0 - 800fb1e: 2b00 cmp r3, #0 - 800fb20: d04b beq.n 800fbba + 8010494: 8c7b ldrh r3, [r7, #34] @ 0x22 + 8010496: 330e adds r3, #14 + 8010498: 4619 mov r1, r3 + 801049a: 6878 ldr r0, [r7, #4] + 801049c: f7f6 fef0 bl 8007280 + 80104a0: 4603 mov r3, r0 + 80104a2: 2b00 cmp r3, #0 + 80104a4: d04b beq.n 801053e /* p is not big enough to contain link headers * allocate a new one and copy p into it */ struct pbuf *r; u16_t alloc_len = (u16_t)(p->tot_len + hlen); - 800fb22: 687b ldr r3, [r7, #4] - 800fb24: 891a ldrh r2, [r3, #8] - 800fb26: 8c7b ldrh r3, [r7, #34] @ 0x22 - 800fb28: 4413 add r3, r2 - 800fb2a: 837b strh r3, [r7, #26] + 80104a6: 687b ldr r3, [r7, #4] + 80104a8: 891a ldrh r2, [r3, #8] + 80104aa: 8c7b ldrh r3, [r7, #34] @ 0x22 + 80104ac: 4413 add r3, r2 + 80104ae: 837b strh r3, [r7, #26] if (alloc_len < p->tot_len) { - 800fb2c: 687b ldr r3, [r7, #4] - 800fb2e: 891b ldrh r3, [r3, #8] - 800fb30: 8b7a ldrh r2, [r7, #26] - 800fb32: 429a cmp r2, r3 - 800fb34: f0c0 809a bcc.w 800fc6c + 80104b0: 687b ldr r3, [r7, #4] + 80104b2: 891b ldrh r3, [r3, #8] + 80104b4: 8b7a ldrh r2, [r7, #26] + 80104b6: 429a cmp r2, r3 + 80104b8: f0c0 809a bcc.w 80105f0 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: allocating new pbuf failed (tot_len overflow)\n")); goto icmperr; } /* allocate new packet buffer with space for link headers */ r = pbuf_alloc(PBUF_LINK, alloc_len, PBUF_RAM); - 800fb38: 8b7b ldrh r3, [r7, #26] - 800fb3a: f44f 7220 mov.w r2, #640 @ 0x280 - 800fb3e: 4619 mov r1, r3 - 800fb40: 200e movs r0, #14 - 800fb42: f7f6 fc8f bl 8006464 - 800fb46: 6178 str r0, [r7, #20] + 80104bc: 8b7b ldrh r3, [r7, #26] + 80104be: f44f 7220 mov.w r2, #640 @ 0x280 + 80104c2: 4619 mov r1, r3 + 80104c4: 200e movs r0, #14 + 80104c6: f7f6 fc8f bl 8006de8 + 80104ca: 6178 str r0, [r7, #20] if (r == NULL) { - 800fb48: 697b ldr r3, [r7, #20] - 800fb4a: 2b00 cmp r3, #0 - 800fb4c: f000 8090 beq.w 800fc70 + 80104cc: 697b ldr r3, [r7, #20] + 80104ce: 2b00 cmp r3, #0 + 80104d0: f000 8090 beq.w 80105f4 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: allocating new pbuf failed\n")); goto icmperr; } if (r->len < hlen + sizeof(struct icmp_echo_hdr)) { - 800fb50: 697b ldr r3, [r7, #20] - 800fb52: 895b ldrh r3, [r3, #10] - 800fb54: 461a mov r2, r3 - 800fb56: 8c7b ldrh r3, [r7, #34] @ 0x22 - 800fb58: 3308 adds r3, #8 - 800fb5a: 429a cmp r2, r3 - 800fb5c: d203 bcs.n 800fb66 + 80104d4: 697b ldr r3, [r7, #20] + 80104d6: 895b ldrh r3, [r3, #10] + 80104d8: 461a mov r2, r3 + 80104da: 8c7b ldrh r3, [r7, #34] @ 0x22 + 80104dc: 3308 adds r3, #8 + 80104de: 429a cmp r2, r3 + 80104e0: d203 bcs.n 80104ea LWIP_DEBUGF(ICMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("first pbuf cannot hold the ICMP header")); pbuf_free(r); - 800fb5e: 6978 ldr r0, [r7, #20] - 800fb60: f7f6 ff62 bl 8006a28 + 80104e2: 6978 ldr r0, [r7, #20] + 80104e4: f7f6 ff62 bl 80073ac goto icmperr; - 800fb64: e085 b.n 800fc72 + 80104e8: e085 b.n 80105f6 } /* copy the ip header */ MEMCPY(r->payload, iphdr_in, hlen); - 800fb66: 697b ldr r3, [r7, #20] - 800fb68: 685b ldr r3, [r3, #4] - 800fb6a: 8c7a ldrh r2, [r7, #34] @ 0x22 - 800fb6c: 6a79 ldr r1, [r7, #36] @ 0x24 - 800fb6e: 4618 mov r0, r3 - 800fb70: f001 fe3e bl 80117f0 + 80104ea: 697b ldr r3, [r7, #20] + 80104ec: 685b ldr r3, [r3, #4] + 80104ee: 8c7a ldrh r2, [r7, #34] @ 0x22 + 80104f0: 6a79 ldr r1, [r7, #36] @ 0x24 + 80104f2: 4618 mov r0, r3 + 80104f4: f001 fe3e bl 8012174 /* switch r->payload back to icmp header (cannot fail) */ if (pbuf_remove_header(r, hlen)) { - 800fb74: 8c7b ldrh r3, [r7, #34] @ 0x22 - 800fb76: 4619 mov r1, r3 - 800fb78: 6978 ldr r0, [r7, #20] - 800fb7a: f7f6 fecf bl 800691c - 800fb7e: 4603 mov r3, r0 - 800fb80: 2b00 cmp r3, #0 - 800fb82: d009 beq.n 800fb98 + 80104f8: 8c7b ldrh r3, [r7, #34] @ 0x22 + 80104fa: 4619 mov r1, r3 + 80104fc: 6978 ldr r0, [r7, #20] + 80104fe: f7f6 fecf bl 80072a0 + 8010502: 4603 mov r3, r0 + 8010504: 2b00 cmp r3, #0 + 8010506: d009 beq.n 801051c LWIP_ASSERT("icmp_input: moving r->payload to icmp header failed\n", 0); - 800fb84: 4b40 ldr r3, [pc, #256] @ (800fc88 ) - 800fb86: 22b6 movs r2, #182 @ 0xb6 - 800fb88: 4940 ldr r1, [pc, #256] @ (800fc8c ) - 800fb8a: 4841 ldr r0, [pc, #260] @ (800fc90 ) - 800fb8c: f001 fd34 bl 80115f8 + 8010508: 4b40 ldr r3, [pc, #256] @ (801060c ) + 801050a: 22b6 movs r2, #182 @ 0xb6 + 801050c: 4940 ldr r1, [pc, #256] @ (8010610 ) + 801050e: 4841 ldr r0, [pc, #260] @ (8010614 ) + 8010510: f001 fd34 bl 8011f7c pbuf_free(r); - 800fb90: 6978 ldr r0, [r7, #20] - 800fb92: f7f6 ff49 bl 8006a28 + 8010514: 6978 ldr r0, [r7, #20] + 8010516: f7f6 ff49 bl 80073ac goto icmperr; - 800fb96: e06c b.n 800fc72 + 801051a: e06c b.n 80105f6 } /* copy the rest of the packet without ip header */ if (pbuf_copy(r, p) != ERR_OK) { - 800fb98: 6879 ldr r1, [r7, #4] - 800fb9a: 6978 ldr r0, [r7, #20] - 800fb9c: f7f7 f86c bl 8006c78 - 800fba0: 4603 mov r3, r0 - 800fba2: 2b00 cmp r3, #0 - 800fba4: d003 beq.n 800fbae + 801051c: 6879 ldr r1, [r7, #4] + 801051e: 6978 ldr r0, [r7, #20] + 8010520: f7f7 f86c bl 80075fc + 8010524: 4603 mov r3, r0 + 8010526: 2b00 cmp r3, #0 + 8010528: d003 beq.n 8010532 LWIP_DEBUGF(ICMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("icmp_input: copying to new pbuf failed")); pbuf_free(r); - 800fba6: 6978 ldr r0, [r7, #20] - 800fba8: f7f6 ff3e bl 8006a28 + 801052a: 6978 ldr r0, [r7, #20] + 801052c: f7f6 ff3e bl 80073ac goto icmperr; - 800fbac: e061 b.n 800fc72 + 8010530: e061 b.n 80105f6 } /* free the original p */ pbuf_free(p); - 800fbae: 6878 ldr r0, [r7, #4] - 800fbb0: f7f6 ff3a bl 8006a28 + 8010532: 6878 ldr r0, [r7, #4] + 8010534: f7f6 ff3a bl 80073ac /* we now have an identical copy of p that has room for link headers */ p = r; - 800fbb4: 697b ldr r3, [r7, #20] - 800fbb6: 607b str r3, [r7, #4] - 800fbb8: e00f b.n 800fbda + 8010538: 697b ldr r3, [r7, #20] + 801053a: 607b str r3, [r7, #4] + 801053c: e00f b.n 801055e } else { /* restore p->payload to point to icmp header (cannot fail) */ if (pbuf_remove_header(p, hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN)) { - 800fbba: 8c7b ldrh r3, [r7, #34] @ 0x22 - 800fbbc: 330e adds r3, #14 - 800fbbe: 4619 mov r1, r3 - 800fbc0: 6878 ldr r0, [r7, #4] - 800fbc2: f7f6 feab bl 800691c - 800fbc6: 4603 mov r3, r0 - 800fbc8: 2b00 cmp r3, #0 - 800fbca: d006 beq.n 800fbda + 801053e: 8c7b ldrh r3, [r7, #34] @ 0x22 + 8010540: 330e adds r3, #14 + 8010542: 4619 mov r1, r3 + 8010544: 6878 ldr r0, [r7, #4] + 8010546: f7f6 feab bl 80072a0 + 801054a: 4603 mov r3, r0 + 801054c: 2b00 cmp r3, #0 + 801054e: d006 beq.n 801055e LWIP_ASSERT("icmp_input: restoring original p->payload failed\n", 0); - 800fbcc: 4b2e ldr r3, [pc, #184] @ (800fc88 ) - 800fbce: 22c7 movs r2, #199 @ 0xc7 - 800fbd0: 4930 ldr r1, [pc, #192] @ (800fc94 ) - 800fbd2: 482f ldr r0, [pc, #188] @ (800fc90 ) - 800fbd4: f001 fd10 bl 80115f8 + 8010550: 4b2e ldr r3, [pc, #184] @ (801060c ) + 8010552: 22c7 movs r2, #199 @ 0xc7 + 8010554: 4930 ldr r1, [pc, #192] @ (8010618 ) + 8010556: 482f ldr r0, [pc, #188] @ (8010614 ) + 8010558: f001 fd10 bl 8011f7c goto icmperr; - 800fbd8: e04b b.n 800fc72 + 801055c: e04b b.n 80105f6 } #endif /* LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN */ /* At this point, all checks are OK. */ /* We generate an answer by switching the dest and src ip addresses, * setting the icmp type to ECHO_RESPONSE and updating the checksum. */ iecho = (struct icmp_echo_hdr *)p->payload; - 800fbda: 687b ldr r3, [r7, #4] - 800fbdc: 685b ldr r3, [r3, #4] - 800fbde: 613b str r3, [r7, #16] + 801055e: 687b ldr r3, [r7, #4] + 8010560: 685b ldr r3, [r3, #4] + 8010562: 613b str r3, [r7, #16] if (pbuf_add_header(p, hlen)) { - 800fbe0: 8c7b ldrh r3, [r7, #34] @ 0x22 - 800fbe2: 4619 mov r1, r3 - 800fbe4: 6878 ldr r0, [r7, #4] - 800fbe6: f7f6 fe89 bl 80068fc - 800fbea: 4603 mov r3, r0 - 800fbec: 2b00 cmp r3, #0 - 800fbee: d12b bne.n 800fc48 + 8010564: 8c7b ldrh r3, [r7, #34] @ 0x22 + 8010566: 4619 mov r1, r3 + 8010568: 6878 ldr r0, [r7, #4] + 801056a: f7f6 fe89 bl 8007280 + 801056e: 4603 mov r3, r0 + 8010570: 2b00 cmp r3, #0 + 8010572: d12b bne.n 80105cc LWIP_DEBUGF(ICMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("Can't move over header in packet")); } else { err_t ret; struct ip_hdr *iphdr = (struct ip_hdr *)p->payload; - 800fbf0: 687b ldr r3, [r7, #4] - 800fbf2: 685b ldr r3, [r3, #4] - 800fbf4: 60fb str r3, [r7, #12] + 8010574: 687b ldr r3, [r7, #4] + 8010576: 685b ldr r3, [r3, #4] + 8010578: 60fb str r3, [r7, #12] ip4_addr_copy(iphdr->src, *src); - 800fbf6: 69fb ldr r3, [r7, #28] - 800fbf8: 681a ldr r2, [r3, #0] - 800fbfa: 68fb ldr r3, [r7, #12] - 800fbfc: 60da str r2, [r3, #12] + 801057a: 69fb ldr r3, [r7, #28] + 801057c: 681a ldr r2, [r3, #0] + 801057e: 68fb ldr r3, [r7, #12] + 8010580: 60da str r2, [r3, #12] ip4_addr_copy(iphdr->dest, *ip4_current_src_addr()); - 800fbfe: 4b20 ldr r3, [pc, #128] @ (800fc80 ) - 800fc00: 691a ldr r2, [r3, #16] - 800fc02: 68fb ldr r3, [r7, #12] - 800fc04: 611a str r2, [r3, #16] + 8010582: 4b20 ldr r3, [pc, #128] @ (8010604 ) + 8010584: 691a ldr r2, [r3, #16] + 8010586: 68fb ldr r3, [r7, #12] + 8010588: 611a str r2, [r3, #16] ICMPH_TYPE_SET(iecho, ICMP_ER); - 800fc06: 693b ldr r3, [r7, #16] - 800fc08: 2200 movs r2, #0 - 800fc0a: 701a strb r2, [r3, #0] + 801058a: 693b ldr r3, [r7, #16] + 801058c: 2200 movs r2, #0 + 801058e: 701a strb r2, [r3, #0] else { iecho->chksum = 0; } #endif /* LWIP_CHECKSUM_CTRL_PER_NETIF */ #else /* CHECKSUM_GEN_ICMP */ iecho->chksum = 0; - 800fc0c: 693b ldr r3, [r7, #16] - 800fc0e: 2200 movs r2, #0 - 800fc10: 709a strb r2, [r3, #2] - 800fc12: 2200 movs r2, #0 - 800fc14: 70da strb r2, [r3, #3] + 8010590: 693b ldr r3, [r7, #16] + 8010592: 2200 movs r2, #0 + 8010594: 709a strb r2, [r3, #2] + 8010596: 2200 movs r2, #0 + 8010598: 70da strb r2, [r3, #3] #endif /* CHECKSUM_GEN_ICMP */ /* Set the correct TTL and recalculate the header checksum. */ IPH_TTL_SET(iphdr, ICMP_TTL); - 800fc16: 68fb ldr r3, [r7, #12] - 800fc18: 22ff movs r2, #255 @ 0xff - 800fc1a: 721a strb r2, [r3, #8] + 801059a: 68fb ldr r3, [r7, #12] + 801059c: 22ff movs r2, #255 @ 0xff + 801059e: 721a strb r2, [r3, #8] IPH_CHKSUM_SET(iphdr, 0); - 800fc1c: 68fb ldr r3, [r7, #12] - 800fc1e: 2200 movs r2, #0 - 800fc20: 729a strb r2, [r3, #10] - 800fc22: 2200 movs r2, #0 - 800fc24: 72da strb r2, [r3, #11] + 80105a0: 68fb ldr r3, [r7, #12] + 80105a2: 2200 movs r2, #0 + 80105a4: 729a strb r2, [r3, #10] + 80105a6: 2200 movs r2, #0 + 80105a8: 72da strb r2, [r3, #11] MIB2_STATS_INC(mib2.icmpoutmsgs); /* increase number of echo replies attempted to send */ MIB2_STATS_INC(mib2.icmpoutechoreps); /* send an ICMP packet */ ret = ip4_output_if(p, src, LWIP_IP_HDRINCL, - 800fc26: 683b ldr r3, [r7, #0] - 800fc28: 9302 str r3, [sp, #8] - 800fc2a: 2301 movs r3, #1 - 800fc2c: 9301 str r3, [sp, #4] - 800fc2e: 2300 movs r3, #0 - 800fc30: 9300 str r3, [sp, #0] - 800fc32: 23ff movs r3, #255 @ 0xff - 800fc34: 2200 movs r2, #0 - 800fc36: 69f9 ldr r1, [r7, #28] - 800fc38: 6878 ldr r0, [r7, #4] - 800fc3a: f000 fa93 bl 8010164 - 800fc3e: 4603 mov r3, r0 - 800fc40: 72fb strb r3, [r7, #11] + 80105aa: 683b ldr r3, [r7, #0] + 80105ac: 9302 str r3, [sp, #8] + 80105ae: 2301 movs r3, #1 + 80105b0: 9301 str r3, [sp, #4] + 80105b2: 2300 movs r3, #0 + 80105b4: 9300 str r3, [sp, #0] + 80105b6: 23ff movs r3, #255 @ 0xff + 80105b8: 2200 movs r2, #0 + 80105ba: 69f9 ldr r1, [r7, #28] + 80105bc: 6878 ldr r0, [r7, #4] + 80105be: f000 fa93 bl 8010ae8 + 80105c2: 4603 mov r3, r0 + 80105c4: 72fb strb r3, [r7, #11] ICMP_TTL, 0, IP_PROTO_ICMP, inp); if (ret != ERR_OK) { LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: ip_output_if returned an error: %s\n", lwip_strerr(ret))); } } break; - 800fc42: e001 b.n 800fc48 + 80105c6: e001 b.n 80105cc break; - 800fc44: bf00 nop - 800fc46: e000 b.n 800fc4a + 80105c8: bf00 nop + 80105ca: e000 b.n 80105ce break; - 800fc48: bf00 nop + 80105cc: bf00 nop LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: ICMP type %"S16_F" code %"S16_F" not supported.\n", (s16_t)type, (s16_t)code)); ICMP_STATS_INC(icmp.proterr); ICMP_STATS_INC(icmp.drop); } pbuf_free(p); - 800fc4a: 6878 ldr r0, [r7, #4] - 800fc4c: f7f6 feec bl 8006a28 + 80105ce: 6878 ldr r0, [r7, #4] + 80105d0: f7f6 feec bl 80073ac return; - 800fc50: e013 b.n 800fc7a + 80105d4: e013 b.n 80105fe goto lenerr; - 800fc52: bf00 nop - 800fc54: e002 b.n 800fc5c + 80105d6: bf00 nop + 80105d8: e002 b.n 80105e0 goto lenerr; - 800fc56: bf00 nop - 800fc58: e000 b.n 800fc5c + 80105da: bf00 nop + 80105dc: e000 b.n 80105e0 goto lenerr; - 800fc5a: bf00 nop + 80105de: bf00 nop lenerr: pbuf_free(p); - 800fc5c: 6878 ldr r0, [r7, #4] - 800fc5e: f7f6 fee3 bl 8006a28 + 80105e0: 6878 ldr r0, [r7, #4] + 80105e2: f7f6 fee3 bl 80073ac ICMP_STATS_INC(icmp.lenerr); MIB2_STATS_INC(mib2.icmpinerrors); return; - 800fc62: e00a b.n 800fc7a + 80105e6: e00a b.n 80105fe goto icmperr; - 800fc64: bf00 nop - 800fc66: e004 b.n 800fc72 + 80105e8: bf00 nop + 80105ea: e004 b.n 80105f6 goto icmperr; - 800fc68: bf00 nop - 800fc6a: e002 b.n 800fc72 + 80105ec: bf00 nop + 80105ee: e002 b.n 80105f6 goto icmperr; - 800fc6c: bf00 nop - 800fc6e: e000 b.n 800fc72 + 80105f0: bf00 nop + 80105f2: e000 b.n 80105f6 goto icmperr; - 800fc70: bf00 nop + 80105f4: bf00 nop #if LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN || !LWIP_MULTICAST_PING || !LWIP_BROADCAST_PING icmperr: pbuf_free(p); - 800fc72: 6878 ldr r0, [r7, #4] - 800fc74: f7f6 fed8 bl 8006a28 + 80105f6: 6878 ldr r0, [r7, #4] + 80105f8: f7f6 fed8 bl 80073ac ICMP_STATS_INC(icmp.err); MIB2_STATS_INC(mib2.icmpinerrors); return; - 800fc78: bf00 nop + 80105fc: bf00 nop #endif /* LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN || !LWIP_MULTICAST_PING || !LWIP_BROADCAST_PING */ } - 800fc7a: 3728 adds r7, #40 @ 0x28 - 800fc7c: 46bd mov sp, r7 - 800fc7e: bd80 pop {r7, pc} - 800fc80: 2000614c .word 0x2000614c - 800fc84: 20006160 .word 0x20006160 - 800fc88: 0801891c .word 0x0801891c - 800fc8c: 08018954 .word 0x08018954 - 800fc90: 0801898c .word 0x0801898c - 800fc94: 080189b4 .word 0x080189b4 + 80105fe: 3728 adds r7, #40 @ 0x28 + 8010600: 46bd mov sp, r7 + 8010602: bd80 pop {r7, pc} + 8010604: 20006180 .word 0x20006180 + 8010608: 20006194 .word 0x20006194 + 801060c: 0801929c .word 0x0801929c + 8010610: 080192d4 .word 0x080192d4 + 8010614: 0801930c .word 0x0801930c + 8010618: 08019334 .word 0x08019334 -0800fc98 : +0801061c : * p->payload pointing to the IP header * @param t type of the 'unreachable' packet */ void icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t) { - 800fc98: b580 push {r7, lr} - 800fc9a: b082 sub sp, #8 - 800fc9c: af00 add r7, sp, #0 - 800fc9e: 6078 str r0, [r7, #4] - 800fca0: 460b mov r3, r1 - 800fca2: 70fb strb r3, [r7, #3] + 801061c: b580 push {r7, lr} + 801061e: b082 sub sp, #8 + 8010620: af00 add r7, sp, #0 + 8010622: 6078 str r0, [r7, #4] + 8010624: 460b mov r3, r1 + 8010626: 70fb strb r3, [r7, #3] MIB2_STATS_INC(mib2.icmpoutdestunreachs); icmp_send_response(p, ICMP_DUR, t); - 800fca4: 78fb ldrb r3, [r7, #3] - 800fca6: 461a mov r2, r3 - 800fca8: 2103 movs r1, #3 - 800fcaa: 6878 ldr r0, [r7, #4] - 800fcac: f000 f814 bl 800fcd8 + 8010628: 78fb ldrb r3, [r7, #3] + 801062a: 461a mov r2, r3 + 801062c: 2103 movs r1, #3 + 801062e: 6878 ldr r0, [r7, #4] + 8010630: f000 f814 bl 801065c } - 800fcb0: bf00 nop - 800fcb2: 3708 adds r7, #8 - 800fcb4: 46bd mov sp, r7 - 800fcb6: bd80 pop {r7, pc} + 8010634: bf00 nop + 8010636: 3708 adds r7, #8 + 8010638: 46bd mov sp, r7 + 801063a: bd80 pop {r7, pc} -0800fcb8 : +0801063c : * p->payload pointing to the IP header * @param t type of the 'time exceeded' packet */ void icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t) { - 800fcb8: b580 push {r7, lr} - 800fcba: b082 sub sp, #8 - 800fcbc: af00 add r7, sp, #0 - 800fcbe: 6078 str r0, [r7, #4] - 800fcc0: 460b mov r3, r1 - 800fcc2: 70fb strb r3, [r7, #3] + 801063c: b580 push {r7, lr} + 801063e: b082 sub sp, #8 + 8010640: af00 add r7, sp, #0 + 8010642: 6078 str r0, [r7, #4] + 8010644: 460b mov r3, r1 + 8010646: 70fb strb r3, [r7, #3] MIB2_STATS_INC(mib2.icmpouttimeexcds); icmp_send_response(p, ICMP_TE, t); - 800fcc4: 78fb ldrb r3, [r7, #3] - 800fcc6: 461a mov r2, r3 - 800fcc8: 210b movs r1, #11 - 800fcca: 6878 ldr r0, [r7, #4] - 800fccc: f000 f804 bl 800fcd8 + 8010648: 78fb ldrb r3, [r7, #3] + 801064a: 461a mov r2, r3 + 801064c: 210b movs r1, #11 + 801064e: 6878 ldr r0, [r7, #4] + 8010650: f000 f804 bl 801065c } - 800fcd0: bf00 nop - 800fcd2: 3708 adds r7, #8 - 800fcd4: 46bd mov sp, r7 - 800fcd6: bd80 pop {r7, pc} + 8010654: bf00 nop + 8010656: 3708 adds r7, #8 + 8010658: 46bd mov sp, r7 + 801065a: bd80 pop {r7, pc} -0800fcd8 : +0801065c : * @param type Type of the ICMP header * @param code Code of the ICMP header */ static void icmp_send_response(struct pbuf *p, u8_t type, u8_t code) { - 800fcd8: b580 push {r7, lr} - 800fcda: b08c sub sp, #48 @ 0x30 - 800fcdc: af04 add r7, sp, #16 - 800fcde: 6078 str r0, [r7, #4] - 800fce0: 460b mov r3, r1 - 800fce2: 70fb strb r3, [r7, #3] - 800fce4: 4613 mov r3, r2 - 800fce6: 70bb strb r3, [r7, #2] + 801065c: b580 push {r7, lr} + 801065e: b08c sub sp, #48 @ 0x30 + 8010660: af04 add r7, sp, #16 + 8010662: 6078 str r0, [r7, #4] + 8010664: 460b mov r3, r1 + 8010666: 70fb strb r3, [r7, #3] + 8010668: 4613 mov r3, r2 + 801066a: 70bb strb r3, [r7, #2] /* increase number of messages attempted to send */ MIB2_STATS_INC(mib2.icmpoutmsgs); /* ICMP header + IP header + 8 bytes of data */ q = pbuf_alloc(PBUF_IP, sizeof(struct icmp_echo_hdr) + IP_HLEN + ICMP_DEST_UNREACH_DATASIZE, - 800fce8: f44f 7220 mov.w r2, #640 @ 0x280 - 800fcec: 2124 movs r1, #36 @ 0x24 - 800fcee: 2022 movs r0, #34 @ 0x22 - 800fcf0: f7f6 fbb8 bl 8006464 - 800fcf4: 61f8 str r0, [r7, #28] + 801066c: f44f 7220 mov.w r2, #640 @ 0x280 + 8010670: 2124 movs r1, #36 @ 0x24 + 8010672: 2022 movs r0, #34 @ 0x22 + 8010674: f7f6 fbb8 bl 8006de8 + 8010678: 61f8 str r0, [r7, #28] PBUF_RAM); if (q == NULL) { - 800fcf6: 69fb ldr r3, [r7, #28] - 800fcf8: 2b00 cmp r3, #0 - 800fcfa: d04c beq.n 800fd96 + 801067a: 69fb ldr r3, [r7, #28] + 801067c: 2b00 cmp r3, #0 + 801067e: d04c beq.n 801071a LWIP_DEBUGF(ICMP_DEBUG, ("icmp_time_exceeded: failed to allocate pbuf for ICMP packet.\n")); MIB2_STATS_INC(mib2.icmpouterrors); return; } LWIP_ASSERT("check that first pbuf can hold icmp message", - 800fcfc: 69fb ldr r3, [r7, #28] - 800fcfe: 895b ldrh r3, [r3, #10] - 800fd00: 2b23 cmp r3, #35 @ 0x23 - 800fd02: d806 bhi.n 800fd12 - 800fd04: 4b26 ldr r3, [pc, #152] @ (800fda0 ) - 800fd06: f44f 72b4 mov.w r2, #360 @ 0x168 - 800fd0a: 4926 ldr r1, [pc, #152] @ (800fda4 ) - 800fd0c: 4826 ldr r0, [pc, #152] @ (800fda8 ) - 800fd0e: f001 fc73 bl 80115f8 + 8010680: 69fb ldr r3, [r7, #28] + 8010682: 895b ldrh r3, [r3, #10] + 8010684: 2b23 cmp r3, #35 @ 0x23 + 8010686: d806 bhi.n 8010696 + 8010688: 4b26 ldr r3, [pc, #152] @ (8010724 ) + 801068a: f44f 72b4 mov.w r2, #360 @ 0x168 + 801068e: 4926 ldr r1, [pc, #152] @ (8010728 ) + 8010690: 4826 ldr r0, [pc, #152] @ (801072c ) + 8010692: f001 fc73 bl 8011f7c (q->len >= (sizeof(struct icmp_echo_hdr) + IP_HLEN + ICMP_DEST_UNREACH_DATASIZE))); iphdr = (struct ip_hdr *)p->payload; - 800fd12: 687b ldr r3, [r7, #4] - 800fd14: 685b ldr r3, [r3, #4] - 800fd16: 61bb str r3, [r7, #24] + 8010696: 687b ldr r3, [r7, #4] + 8010698: 685b ldr r3, [r3, #4] + 801069a: 61bb str r3, [r7, #24] ip4_addr_debug_print_val(ICMP_DEBUG, iphdr->src); LWIP_DEBUGF(ICMP_DEBUG, (" to ")); ip4_addr_debug_print_val(ICMP_DEBUG, iphdr->dest); LWIP_DEBUGF(ICMP_DEBUG, ("\n")); icmphdr = (struct icmp_echo_hdr *)q->payload; - 800fd18: 69fb ldr r3, [r7, #28] - 800fd1a: 685b ldr r3, [r3, #4] - 800fd1c: 617b str r3, [r7, #20] + 801069c: 69fb ldr r3, [r7, #28] + 801069e: 685b ldr r3, [r3, #4] + 80106a0: 617b str r3, [r7, #20] icmphdr->type = type; - 800fd1e: 697b ldr r3, [r7, #20] - 800fd20: 78fa ldrb r2, [r7, #3] - 800fd22: 701a strb r2, [r3, #0] + 80106a2: 697b ldr r3, [r7, #20] + 80106a4: 78fa ldrb r2, [r7, #3] + 80106a6: 701a strb r2, [r3, #0] icmphdr->code = code; - 800fd24: 697b ldr r3, [r7, #20] - 800fd26: 78ba ldrb r2, [r7, #2] - 800fd28: 705a strb r2, [r3, #1] + 80106a8: 697b ldr r3, [r7, #20] + 80106aa: 78ba ldrb r2, [r7, #2] + 80106ac: 705a strb r2, [r3, #1] icmphdr->id = 0; - 800fd2a: 697b ldr r3, [r7, #20] - 800fd2c: 2200 movs r2, #0 - 800fd2e: 711a strb r2, [r3, #4] - 800fd30: 2200 movs r2, #0 - 800fd32: 715a strb r2, [r3, #5] + 80106ae: 697b ldr r3, [r7, #20] + 80106b0: 2200 movs r2, #0 + 80106b2: 711a strb r2, [r3, #4] + 80106b4: 2200 movs r2, #0 + 80106b6: 715a strb r2, [r3, #5] icmphdr->seqno = 0; - 800fd34: 697b ldr r3, [r7, #20] - 800fd36: 2200 movs r2, #0 - 800fd38: 719a strb r2, [r3, #6] - 800fd3a: 2200 movs r2, #0 - 800fd3c: 71da strb r2, [r3, #7] + 80106b8: 697b ldr r3, [r7, #20] + 80106ba: 2200 movs r2, #0 + 80106bc: 719a strb r2, [r3, #6] + 80106be: 2200 movs r2, #0 + 80106c0: 71da strb r2, [r3, #7] /* copy fields from original packet */ SMEMCPY((u8_t *)q->payload + sizeof(struct icmp_echo_hdr), (u8_t *)p->payload, - 800fd3e: 69fb ldr r3, [r7, #28] - 800fd40: 685b ldr r3, [r3, #4] - 800fd42: f103 0008 add.w r0, r3, #8 - 800fd46: 687b ldr r3, [r7, #4] - 800fd48: 685b ldr r3, [r3, #4] - 800fd4a: 221c movs r2, #28 - 800fd4c: 4619 mov r1, r3 - 800fd4e: f001 fd4f bl 80117f0 + 80106c2: 69fb ldr r3, [r7, #28] + 80106c4: 685b ldr r3, [r3, #4] + 80106c6: f103 0008 add.w r0, r3, #8 + 80106ca: 687b ldr r3, [r7, #4] + 80106cc: 685b ldr r3, [r3, #4] + 80106ce: 221c movs r2, #28 + 80106d0: 4619 mov r1, r3 + 80106d2: f001 fd4f bl 8012174 IP_HLEN + ICMP_DEST_UNREACH_DATASIZE); ip4_addr_copy(iphdr_src, iphdr->src); - 800fd52: 69bb ldr r3, [r7, #24] - 800fd54: 68db ldr r3, [r3, #12] - 800fd56: 60fb str r3, [r7, #12] + 80106d6: 69bb ldr r3, [r7, #24] + 80106d8: 68db ldr r3, [r3, #12] + 80106da: 60fb str r3, [r7, #12] ip4_addr_t iphdr_dst; ip4_addr_copy(iphdr_dst, iphdr->dest); netif = ip4_route_src(&iphdr_dst, &iphdr_src); } #else netif = ip4_route(&iphdr_src); - 800fd58: f107 030c add.w r3, r7, #12 - 800fd5c: 4618 mov r0, r3 - 800fd5e: f000 f825 bl 800fdac - 800fd62: 6138 str r0, [r7, #16] + 80106dc: f107 030c add.w r3, r7, #12 + 80106e0: 4618 mov r0, r3 + 80106e2: f000 f825 bl 8010730 + 80106e6: 6138 str r0, [r7, #16] #endif if (netif != NULL) { - 800fd64: 693b ldr r3, [r7, #16] - 800fd66: 2b00 cmp r3, #0 - 800fd68: d011 beq.n 800fd8e + 80106e8: 693b ldr r3, [r7, #16] + 80106ea: 2b00 cmp r3, #0 + 80106ec: d011 beq.n 8010712 /* calculate checksum */ icmphdr->chksum = 0; - 800fd6a: 697b ldr r3, [r7, #20] - 800fd6c: 2200 movs r2, #0 - 800fd6e: 709a strb r2, [r3, #2] - 800fd70: 2200 movs r2, #0 - 800fd72: 70da strb r2, [r3, #3] + 80106ee: 697b ldr r3, [r7, #20] + 80106f0: 2200 movs r2, #0 + 80106f2: 709a strb r2, [r3, #2] + 80106f4: 2200 movs r2, #0 + 80106f6: 70da strb r2, [r3, #3] IF__NETIF_CHECKSUM_ENABLED(netif, NETIF_CHECKSUM_GEN_ICMP) { icmphdr->chksum = inet_chksum(icmphdr, q->len); } #endif ICMP_STATS_INC(icmp.xmit); ip4_output_if(q, NULL, &iphdr_src, ICMP_TTL, 0, IP_PROTO_ICMP, netif); - 800fd74: f107 020c add.w r2, r7, #12 - 800fd78: 693b ldr r3, [r7, #16] - 800fd7a: 9302 str r3, [sp, #8] - 800fd7c: 2301 movs r3, #1 - 800fd7e: 9301 str r3, [sp, #4] - 800fd80: 2300 movs r3, #0 - 800fd82: 9300 str r3, [sp, #0] - 800fd84: 23ff movs r3, #255 @ 0xff - 800fd86: 2100 movs r1, #0 - 800fd88: 69f8 ldr r0, [r7, #28] - 800fd8a: f000 f9eb bl 8010164 + 80106f8: f107 020c add.w r2, r7, #12 + 80106fc: 693b ldr r3, [r7, #16] + 80106fe: 9302 str r3, [sp, #8] + 8010700: 2301 movs r3, #1 + 8010702: 9301 str r3, [sp, #4] + 8010704: 2300 movs r3, #0 + 8010706: 9300 str r3, [sp, #0] + 8010708: 23ff movs r3, #255 @ 0xff + 801070a: 2100 movs r1, #0 + 801070c: 69f8 ldr r0, [r7, #28] + 801070e: f000 f9eb bl 8010ae8 } pbuf_free(q); - 800fd8e: 69f8 ldr r0, [r7, #28] - 800fd90: f7f6 fe4a bl 8006a28 - 800fd94: e000 b.n 800fd98 + 8010712: 69f8 ldr r0, [r7, #28] + 8010714: f7f6 fe4a bl 80073ac + 8010718: e000 b.n 801071c return; - 800fd96: bf00 nop + 801071a: bf00 nop } - 800fd98: 3720 adds r7, #32 - 800fd9a: 46bd mov sp, r7 - 800fd9c: bd80 pop {r7, pc} - 800fd9e: bf00 nop - 800fda0: 0801891c .word 0x0801891c - 800fda4: 080189e8 .word 0x080189e8 - 800fda8: 0801898c .word 0x0801898c + 801071c: 3720 adds r7, #32 + 801071e: 46bd mov sp, r7 + 8010720: bd80 pop {r7, pc} + 8010722: bf00 nop + 8010724: 0801929c .word 0x0801929c + 8010728: 08019368 .word 0x08019368 + 801072c: 0801930c .word 0x0801930c -0800fdac : +08010730 : * @param dest the destination IP address for which to find the route * @return the netif on which to send to reach dest */ struct netif * ip4_route(const ip4_addr_t *dest) { - 800fdac: b480 push {r7} - 800fdae: b085 sub sp, #20 - 800fdb0: af00 add r7, sp, #0 - 800fdb2: 6078 str r0, [r7, #4] + 8010730: b480 push {r7} + 8010732: b085 sub sp, #20 + 8010734: af00 add r7, sp, #0 + 8010736: 6078 str r0, [r7, #4] /* bug #54569: in case LWIP_SINGLE_NETIF=1 and LWIP_DEBUGF() disabled, the following loop is optimized away */ LWIP_UNUSED_ARG(dest); /* iterate through netifs */ NETIF_FOREACH(netif) { - 800fdb4: 4b33 ldr r3, [pc, #204] @ (800fe84 ) - 800fdb6: 681b ldr r3, [r3, #0] - 800fdb8: 60fb str r3, [r7, #12] - 800fdba: e036 b.n 800fe2a + 8010738: 4b33 ldr r3, [pc, #204] @ (8010808 ) + 801073a: 681b ldr r3, [r3, #0] + 801073c: 60fb str r3, [r7, #12] + 801073e: e036 b.n 80107ae /* is the netif up, does it have a link and a valid address? */ if (netif_is_up(netif) && netif_is_link_up(netif) && !ip4_addr_isany_val(*netif_ip4_addr(netif))) { - 800fdbc: 68fb ldr r3, [r7, #12] - 800fdbe: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800fdc2: f003 0301 and.w r3, r3, #1 - 800fdc6: b2db uxtb r3, r3 - 800fdc8: 2b00 cmp r3, #0 - 800fdca: d02b beq.n 800fe24 - 800fdcc: 68fb ldr r3, [r7, #12] - 800fdce: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800fdd2: 089b lsrs r3, r3, #2 - 800fdd4: f003 0301 and.w r3, r3, #1 - 800fdd8: b2db uxtb r3, r3 - 800fdda: 2b00 cmp r3, #0 - 800fddc: d022 beq.n 800fe24 - 800fdde: 68fb ldr r3, [r7, #12] - 800fde0: 3304 adds r3, #4 - 800fde2: 681b ldr r3, [r3, #0] - 800fde4: 2b00 cmp r3, #0 - 800fde6: d01d beq.n 800fe24 + 8010740: 68fb ldr r3, [r7, #12] + 8010742: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8010746: f003 0301 and.w r3, r3, #1 + 801074a: b2db uxtb r3, r3 + 801074c: 2b00 cmp r3, #0 + 801074e: d02b beq.n 80107a8 + 8010750: 68fb ldr r3, [r7, #12] + 8010752: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8010756: 089b lsrs r3, r3, #2 + 8010758: f003 0301 and.w r3, r3, #1 + 801075c: b2db uxtb r3, r3 + 801075e: 2b00 cmp r3, #0 + 8010760: d022 beq.n 80107a8 + 8010762: 68fb ldr r3, [r7, #12] + 8010764: 3304 adds r3, #4 + 8010766: 681b ldr r3, [r3, #0] + 8010768: 2b00 cmp r3, #0 + 801076a: d01d beq.n 80107a8 /* network mask matches? */ if (ip4_addr_netcmp(dest, netif_ip4_addr(netif), netif_ip4_netmask(netif))) { - 800fde8: 687b ldr r3, [r7, #4] - 800fdea: 681a ldr r2, [r3, #0] - 800fdec: 68fb ldr r3, [r7, #12] - 800fdee: 3304 adds r3, #4 - 800fdf0: 681b ldr r3, [r3, #0] - 800fdf2: 405a eors r2, r3 - 800fdf4: 68fb ldr r3, [r7, #12] - 800fdf6: 3308 adds r3, #8 - 800fdf8: 681b ldr r3, [r3, #0] - 800fdfa: 4013 ands r3, r2 - 800fdfc: 2b00 cmp r3, #0 - 800fdfe: d101 bne.n 800fe04 + 801076c: 687b ldr r3, [r7, #4] + 801076e: 681a ldr r2, [r3, #0] + 8010770: 68fb ldr r3, [r7, #12] + 8010772: 3304 adds r3, #4 + 8010774: 681b ldr r3, [r3, #0] + 8010776: 405a eors r2, r3 + 8010778: 68fb ldr r3, [r7, #12] + 801077a: 3308 adds r3, #8 + 801077c: 681b ldr r3, [r3, #0] + 801077e: 4013 ands r3, r2 + 8010780: 2b00 cmp r3, #0 + 8010782: d101 bne.n 8010788 /* return netif on which to forward IP packet */ return netif; - 800fe00: 68fb ldr r3, [r7, #12] - 800fe02: e038 b.n 800fe76 + 8010784: 68fb ldr r3, [r7, #12] + 8010786: e038 b.n 80107fa } /* gateway matches on a non broadcast interface? (i.e. peer in a point to point interface) */ if (((netif->flags & NETIF_FLAG_BROADCAST) == 0) && ip4_addr_cmp(dest, netif_ip4_gw(netif))) { - 800fe04: 68fb ldr r3, [r7, #12] - 800fe06: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800fe0a: f003 0302 and.w r3, r3, #2 - 800fe0e: 2b00 cmp r3, #0 - 800fe10: d108 bne.n 800fe24 - 800fe12: 687b ldr r3, [r7, #4] - 800fe14: 681a ldr r2, [r3, #0] - 800fe16: 68fb ldr r3, [r7, #12] - 800fe18: 330c adds r3, #12 - 800fe1a: 681b ldr r3, [r3, #0] - 800fe1c: 429a cmp r2, r3 - 800fe1e: d101 bne.n 800fe24 + 8010788: 68fb ldr r3, [r7, #12] + 801078a: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 801078e: f003 0302 and.w r3, r3, #2 + 8010792: 2b00 cmp r3, #0 + 8010794: d108 bne.n 80107a8 + 8010796: 687b ldr r3, [r7, #4] + 8010798: 681a ldr r2, [r3, #0] + 801079a: 68fb ldr r3, [r7, #12] + 801079c: 330c adds r3, #12 + 801079e: 681b ldr r3, [r3, #0] + 80107a0: 429a cmp r2, r3 + 80107a2: d101 bne.n 80107a8 /* return netif on which to forward IP packet */ return netif; - 800fe20: 68fb ldr r3, [r7, #12] - 800fe22: e028 b.n 800fe76 + 80107a4: 68fb ldr r3, [r7, #12] + 80107a6: e028 b.n 80107fa NETIF_FOREACH(netif) { - 800fe24: 68fb ldr r3, [r7, #12] - 800fe26: 681b ldr r3, [r3, #0] - 800fe28: 60fb str r3, [r7, #12] - 800fe2a: 68fb ldr r3, [r7, #12] - 800fe2c: 2b00 cmp r3, #0 - 800fe2e: d1c5 bne.n 800fdbc + 80107a8: 68fb ldr r3, [r7, #12] + 80107aa: 681b ldr r3, [r3, #0] + 80107ac: 60fb str r3, [r7, #12] + 80107ae: 68fb ldr r3, [r7, #12] + 80107b0: 2b00 cmp r3, #0 + 80107b2: d1c5 bne.n 8010740 return netif; } #endif #endif /* !LWIP_SINGLE_NETIF */ if ((netif_default == NULL) || !netif_is_up(netif_default) || !netif_is_link_up(netif_default) || - 800fe30: 4b15 ldr r3, [pc, #84] @ (800fe88 ) - 800fe32: 681b ldr r3, [r3, #0] - 800fe34: 2b00 cmp r3, #0 - 800fe36: d01a beq.n 800fe6e - 800fe38: 4b13 ldr r3, [pc, #76] @ (800fe88 ) - 800fe3a: 681b ldr r3, [r3, #0] - 800fe3c: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800fe40: f003 0301 and.w r3, r3, #1 - 800fe44: 2b00 cmp r3, #0 - 800fe46: d012 beq.n 800fe6e - 800fe48: 4b0f ldr r3, [pc, #60] @ (800fe88 ) - 800fe4a: 681b ldr r3, [r3, #0] - 800fe4c: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800fe50: f003 0304 and.w r3, r3, #4 - 800fe54: 2b00 cmp r3, #0 - 800fe56: d00a beq.n 800fe6e + 80107b4: 4b15 ldr r3, [pc, #84] @ (801080c ) + 80107b6: 681b ldr r3, [r3, #0] + 80107b8: 2b00 cmp r3, #0 + 80107ba: d01a beq.n 80107f2 + 80107bc: 4b13 ldr r3, [pc, #76] @ (801080c ) + 80107be: 681b ldr r3, [r3, #0] + 80107c0: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 80107c4: f003 0301 and.w r3, r3, #1 + 80107c8: 2b00 cmp r3, #0 + 80107ca: d012 beq.n 80107f2 + 80107cc: 4b0f ldr r3, [pc, #60] @ (801080c ) + 80107ce: 681b ldr r3, [r3, #0] + 80107d0: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 80107d4: f003 0304 and.w r3, r3, #4 + 80107d8: 2b00 cmp r3, #0 + 80107da: d00a beq.n 80107f2 ip4_addr_isany_val(*netif_ip4_addr(netif_default)) || ip4_addr_isloopback(dest)) { - 800fe58: 4b0b ldr r3, [pc, #44] @ (800fe88 ) - 800fe5a: 681b ldr r3, [r3, #0] - 800fe5c: 3304 adds r3, #4 - 800fe5e: 681b ldr r3, [r3, #0] + 80107dc: 4b0b ldr r3, [pc, #44] @ (801080c ) + 80107de: 681b ldr r3, [r3, #0] + 80107e0: 3304 adds r3, #4 + 80107e2: 681b ldr r3, [r3, #0] if ((netif_default == NULL) || !netif_is_up(netif_default) || !netif_is_link_up(netif_default) || - 800fe60: 2b00 cmp r3, #0 - 800fe62: d004 beq.n 800fe6e + 80107e4: 2b00 cmp r3, #0 + 80107e6: d004 beq.n 80107f2 ip4_addr_isany_val(*netif_ip4_addr(netif_default)) || ip4_addr_isloopback(dest)) { - 800fe64: 687b ldr r3, [r7, #4] - 800fe66: 681b ldr r3, [r3, #0] - 800fe68: b2db uxtb r3, r3 - 800fe6a: 2b7f cmp r3, #127 @ 0x7f - 800fe6c: d101 bne.n 800fe72 + 80107e8: 687b ldr r3, [r7, #4] + 80107ea: 681b ldr r3, [r3, #0] + 80107ec: b2db uxtb r3, r3 + 80107ee: 2b7f cmp r3, #127 @ 0x7f + 80107f0: d101 bne.n 80107f6 If this is not good enough for you, use LWIP_HOOK_IP4_ROUTE() */ LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("ip4_route: No route to %"U16_F".%"U16_F".%"U16_F".%"U16_F"\n", ip4_addr1_16(dest), ip4_addr2_16(dest), ip4_addr3_16(dest), ip4_addr4_16(dest))); IP_STATS_INC(ip.rterr); MIB2_STATS_INC(mib2.ipoutnoroutes); return NULL; - 800fe6e: 2300 movs r3, #0 - 800fe70: e001 b.n 800fe76 + 80107f2: 2300 movs r3, #0 + 80107f4: e001 b.n 80107fa } return netif_default; - 800fe72: 4b05 ldr r3, [pc, #20] @ (800fe88 ) - 800fe74: 681b ldr r3, [r3, #0] + 80107f6: 4b05 ldr r3, [pc, #20] @ (801080c ) + 80107f8: 681b ldr r3, [r3, #0] } - 800fe76: 4618 mov r0, r3 - 800fe78: 3714 adds r7, #20 - 800fe7a: 46bd mov sp, r7 - 800fe7c: f85d 7b04 ldr.w r7, [sp], #4 - 800fe80: 4770 bx lr - 800fe82: bf00 nop - 800fe84: 20019098 .word 0x20019098 - 800fe88: 2001909c .word 0x2001909c + 80107fa: 4618 mov r0, r3 + 80107fc: 3714 adds r7, #20 + 80107fe: 46bd mov sp, r7 + 8010800: f85d 7b04 ldr.w r7, [sp], #4 + 8010804: 4770 bx lr + 8010806: bf00 nop + 8010808: 200190cc .word 0x200190cc + 801080c: 200190d0 .word 0x200190d0 -0800fe8c : +08010810 : #endif /* IP_FORWARD */ /** Return true if the current input packet should be accepted on this netif */ static int ip4_input_accept(struct netif *netif) { - 800fe8c: b580 push {r7, lr} - 800fe8e: b082 sub sp, #8 - 800fe90: af00 add r7, sp, #0 - 800fe92: 6078 str r0, [r7, #4] + 8010810: b580 push {r7, lr} + 8010812: b082 sub sp, #8 + 8010814: af00 add r7, sp, #0 + 8010816: 6078 str r0, [r7, #4] ip4_addr_get_u32(ip4_current_dest_addr()) & ip4_addr_get_u32(netif_ip4_netmask(netif)), ip4_addr_get_u32(netif_ip4_addr(netif)) & ip4_addr_get_u32(netif_ip4_netmask(netif)), ip4_addr_get_u32(ip4_current_dest_addr()) & ~ip4_addr_get_u32(netif_ip4_netmask(netif)))); /* interface is up and configured? */ if ((netif_is_up(netif)) && (!ip4_addr_isany_val(*netif_ip4_addr(netif)))) { - 800fe94: 687b ldr r3, [r7, #4] - 800fe96: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800fe9a: f003 0301 and.w r3, r3, #1 - 800fe9e: b2db uxtb r3, r3 - 800fea0: 2b00 cmp r3, #0 - 800fea2: d016 beq.n 800fed2 - 800fea4: 687b ldr r3, [r7, #4] - 800fea6: 3304 adds r3, #4 - 800fea8: 681b ldr r3, [r3, #0] - 800feaa: 2b00 cmp r3, #0 - 800feac: d011 beq.n 800fed2 + 8010818: 687b ldr r3, [r7, #4] + 801081a: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 801081e: f003 0301 and.w r3, r3, #1 + 8010822: b2db uxtb r3, r3 + 8010824: 2b00 cmp r3, #0 + 8010826: d016 beq.n 8010856 + 8010828: 687b ldr r3, [r7, #4] + 801082a: 3304 adds r3, #4 + 801082c: 681b ldr r3, [r3, #0] + 801082e: 2b00 cmp r3, #0 + 8010830: d011 beq.n 8010856 /* unicast to this interface address? */ if (ip4_addr_cmp(ip4_current_dest_addr(), netif_ip4_addr(netif)) || - 800feae: 4b0b ldr r3, [pc, #44] @ (800fedc ) - 800feb0: 695a ldr r2, [r3, #20] - 800feb2: 687b ldr r3, [r7, #4] - 800feb4: 3304 adds r3, #4 - 800feb6: 681b ldr r3, [r3, #0] - 800feb8: 429a cmp r2, r3 - 800feba: d008 beq.n 800fece + 8010832: 4b0b ldr r3, [pc, #44] @ (8010860 ) + 8010834: 695a ldr r2, [r3, #20] + 8010836: 687b ldr r3, [r7, #4] + 8010838: 3304 adds r3, #4 + 801083a: 681b ldr r3, [r3, #0] + 801083c: 429a cmp r2, r3 + 801083e: d008 beq.n 8010852 /* or broadcast on this interface network address? */ ip4_addr_isbroadcast(ip4_current_dest_addr(), netif) - 800febc: 4b07 ldr r3, [pc, #28] @ (800fedc ) - 800febe: 695b ldr r3, [r3, #20] - 800fec0: 6879 ldr r1, [r7, #4] - 800fec2: 4618 mov r0, r3 - 800fec4: f000 fa26 bl 8010314 - 800fec8: 4603 mov r3, r0 + 8010840: 4b07 ldr r3, [pc, #28] @ (8010860 ) + 8010842: 695b ldr r3, [r3, #20] + 8010844: 6879 ldr r1, [r7, #4] + 8010846: 4618 mov r0, r3 + 8010848: f000 fa26 bl 8010c98 + 801084c: 4603 mov r3, r0 if (ip4_addr_cmp(ip4_current_dest_addr(), netif_ip4_addr(netif)) || - 800feca: 2b00 cmp r3, #0 - 800fecc: d001 beq.n 800fed2 + 801084e: 2b00 cmp r3, #0 + 8010850: d001 beq.n 8010856 #endif /* LWIP_NETIF_LOOPBACK && !LWIP_HAVE_LOOPIF */ ) { LWIP_DEBUGF(IP_DEBUG, ("ip4_input: packet accepted on interface %c%c\n", netif->name[0], netif->name[1])); /* accept on this netif */ return 1; - 800fece: 2301 movs r3, #1 - 800fed0: e000 b.n 800fed4 + 8010852: 2301 movs r3, #1 + 8010854: e000 b.n 8010858 /* accept on this netif */ return 1; } #endif /* LWIP_AUTOIP */ } return 0; - 800fed2: 2300 movs r3, #0 + 8010856: 2300 movs r3, #0 } - 800fed4: 4618 mov r0, r3 - 800fed6: 3708 adds r7, #8 - 800fed8: 46bd mov sp, r7 - 800feda: bd80 pop {r7, pc} - 800fedc: 2000614c .word 0x2000614c + 8010858: 4618 mov r0, r3 + 801085a: 3708 adds r7, #8 + 801085c: 46bd mov sp, r7 + 801085e: bd80 pop {r7, pc} + 8010860: 20006180 .word 0x20006180 -0800fee0 : +08010864 : * @return ERR_OK if the packet was processed (could return ERR_* if it wasn't * processed, but currently always returns ERR_OK) */ err_t ip4_input(struct pbuf *p, struct netif *inp) { - 800fee0: b580 push {r7, lr} - 800fee2: b088 sub sp, #32 - 800fee4: af00 add r7, sp, #0 - 800fee6: 6078 str r0, [r7, #4] - 800fee8: 6039 str r1, [r7, #0] + 8010864: b580 push {r7, lr} + 8010866: b088 sub sp, #32 + 8010868: af00 add r7, sp, #0 + 801086a: 6078 str r0, [r7, #4] + 801086c: 6039 str r1, [r7, #0] const struct ip_hdr *iphdr; struct netif *netif; u16_t iphdr_hlen; u16_t iphdr_len; #if IP_ACCEPT_LINK_LAYER_ADDRESSING || LWIP_IGMP int check_ip_src = 1; - 800feea: 2301 movs r3, #1 - 800feec: 617b str r3, [r7, #20] + 801086e: 2301 movs r3, #1 + 8010870: 617b str r3, [r7, #20] IP_STATS_INC(ip.recv); MIB2_STATS_INC(mib2.ipinreceives); /* identify the IP header */ iphdr = (struct ip_hdr *)p->payload; - 800feee: 687b ldr r3, [r7, #4] - 800fef0: 685b ldr r3, [r3, #4] - 800fef2: 61fb str r3, [r7, #28] + 8010872: 687b ldr r3, [r7, #4] + 8010874: 685b ldr r3, [r3, #4] + 8010876: 61fb str r3, [r7, #28] if (IPH_V(iphdr) != 4) { - 800fef4: 69fb ldr r3, [r7, #28] - 800fef6: 781b ldrb r3, [r3, #0] - 800fef8: 091b lsrs r3, r3, #4 - 800fefa: b2db uxtb r3, r3 - 800fefc: 2b04 cmp r3, #4 - 800fefe: d004 beq.n 800ff0a + 8010878: 69fb ldr r3, [r7, #28] + 801087a: 781b ldrb r3, [r3, #0] + 801087c: 091b lsrs r3, r3, #4 + 801087e: b2db uxtb r3, r3 + 8010880: 2b04 cmp r3, #4 + 8010882: d004 beq.n 801088e LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_LEVEL_WARNING, ("IP packet dropped due to bad version number %"U16_F"\n", (u16_t)IPH_V(iphdr))); ip4_debug_print(p); pbuf_free(p); - 800ff00: 6878 ldr r0, [r7, #4] - 800ff02: f7f6 fd91 bl 8006a28 + 8010884: 6878 ldr r0, [r7, #4] + 8010886: f7f6 fd91 bl 80073ac IP_STATS_INC(ip.err); IP_STATS_INC(ip.drop); MIB2_STATS_INC(mib2.ipinhdrerrors); return ERR_OK; - 800ff06: 2300 movs r3, #0 - 800ff08: e123 b.n 8010152 + 801088a: 2300 movs r3, #0 + 801088c: e123 b.n 8010ad6 return ERR_OK; } #endif /* obtain IP header length in bytes */ iphdr_hlen = IPH_HL_BYTES(iphdr); - 800ff0a: 69fb ldr r3, [r7, #28] - 800ff0c: 781b ldrb r3, [r3, #0] - 800ff0e: f003 030f and.w r3, r3, #15 - 800ff12: b2db uxtb r3, r3 - 800ff14: 009b lsls r3, r3, #2 - 800ff16: b2db uxtb r3, r3 - 800ff18: 827b strh r3, [r7, #18] + 801088e: 69fb ldr r3, [r7, #28] + 8010890: 781b ldrb r3, [r3, #0] + 8010892: f003 030f and.w r3, r3, #15 + 8010896: b2db uxtb r3, r3 + 8010898: 009b lsls r3, r3, #2 + 801089a: b2db uxtb r3, r3 + 801089c: 827b strh r3, [r7, #18] /* obtain ip length in bytes */ iphdr_len = lwip_ntohs(IPH_LEN(iphdr)); - 800ff1a: 69fb ldr r3, [r7, #28] - 800ff1c: 885b ldrh r3, [r3, #2] - 800ff1e: b29b uxth r3, r3 - 800ff20: 4618 mov r0, r3 - 800ff22: f7f5 fa31 bl 8005388 - 800ff26: 4603 mov r3, r0 - 800ff28: 823b strh r3, [r7, #16] + 801089e: 69fb ldr r3, [r7, #28] + 80108a0: 885b ldrh r3, [r3, #2] + 80108a2: b29b uxth r3, r3 + 80108a4: 4618 mov r0, r3 + 80108a6: f7f5 fa31 bl 8005d0c + 80108aa: 4603 mov r3, r0 + 80108ac: 823b strh r3, [r7, #16] /* Trim pbuf. This is especially required for packets < 60 bytes. */ if (iphdr_len < p->tot_len) { - 800ff2a: 687b ldr r3, [r7, #4] - 800ff2c: 891b ldrh r3, [r3, #8] - 800ff2e: 8a3a ldrh r2, [r7, #16] - 800ff30: 429a cmp r2, r3 - 800ff32: d204 bcs.n 800ff3e + 80108ae: 687b ldr r3, [r7, #4] + 80108b0: 891b ldrh r3, [r3, #8] + 80108b2: 8a3a ldrh r2, [r7, #16] + 80108b4: 429a cmp r2, r3 + 80108b6: d204 bcs.n 80108c2 pbuf_realloc(p, iphdr_len); - 800ff34: 8a3b ldrh r3, [r7, #16] - 800ff36: 4619 mov r1, r3 - 800ff38: 6878 ldr r0, [r7, #4] - 800ff3a: f7f6 fbf1 bl 8006720 + 80108b8: 8a3b ldrh r3, [r7, #16] + 80108ba: 4619 mov r1, r3 + 80108bc: 6878 ldr r0, [r7, #4] + 80108be: f7f6 fbf1 bl 80070a4 } /* header length exceeds first pbuf length, or ip length exceeds total pbuf length? */ if ((iphdr_hlen > p->len) || (iphdr_len > p->tot_len) || (iphdr_hlen < IP_HLEN)) { - 800ff3e: 687b ldr r3, [r7, #4] - 800ff40: 895b ldrh r3, [r3, #10] - 800ff42: 8a7a ldrh r2, [r7, #18] - 800ff44: 429a cmp r2, r3 - 800ff46: d807 bhi.n 800ff58 - 800ff48: 687b ldr r3, [r7, #4] - 800ff4a: 891b ldrh r3, [r3, #8] - 800ff4c: 8a3a ldrh r2, [r7, #16] - 800ff4e: 429a cmp r2, r3 - 800ff50: d802 bhi.n 800ff58 - 800ff52: 8a7b ldrh r3, [r7, #18] - 800ff54: 2b13 cmp r3, #19 - 800ff56: d804 bhi.n 800ff62 + 80108c2: 687b ldr r3, [r7, #4] + 80108c4: 895b ldrh r3, [r3, #10] + 80108c6: 8a7a ldrh r2, [r7, #18] + 80108c8: 429a cmp r2, r3 + 80108ca: d807 bhi.n 80108dc + 80108cc: 687b ldr r3, [r7, #4] + 80108ce: 891b ldrh r3, [r3, #8] + 80108d0: 8a3a ldrh r2, [r7, #16] + 80108d2: 429a cmp r2, r3 + 80108d4: d802 bhi.n 80108dc + 80108d6: 8a7b ldrh r3, [r7, #18] + 80108d8: 2b13 cmp r3, #19 + 80108da: d804 bhi.n 80108e6 LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("IP (len %"U16_F") is longer than pbuf (len %"U16_F"), IP packet dropped.\n", iphdr_len, p->tot_len)); } /* free (drop) packet pbufs */ pbuf_free(p); - 800ff58: 6878 ldr r0, [r7, #4] - 800ff5a: f7f6 fd65 bl 8006a28 + 80108dc: 6878 ldr r0, [r7, #4] + 80108de: f7f6 fd65 bl 80073ac IP_STATS_INC(ip.lenerr); IP_STATS_INC(ip.drop); MIB2_STATS_INC(mib2.ipindiscards); return ERR_OK; - 800ff5e: 2300 movs r3, #0 - 800ff60: e0f7 b.n 8010152 + 80108e2: 2300 movs r3, #0 + 80108e4: e0f7 b.n 8010ad6 } } #endif /* copy IP addresses to aligned ip_addr_t */ ip_addr_copy_from_ip4(ip_data.current_iphdr_dest, iphdr->dest); - 800ff62: 69fb ldr r3, [r7, #28] - 800ff64: 691b ldr r3, [r3, #16] - 800ff66: 4a7d ldr r2, [pc, #500] @ (801015c ) - 800ff68: 6153 str r3, [r2, #20] + 80108e6: 69fb ldr r3, [r7, #28] + 80108e8: 691b ldr r3, [r3, #16] + 80108ea: 4a7d ldr r2, [pc, #500] @ (8010ae0 ) + 80108ec: 6153 str r3, [r2, #20] ip_addr_copy_from_ip4(ip_data.current_iphdr_src, iphdr->src); - 800ff6a: 69fb ldr r3, [r7, #28] - 800ff6c: 68db ldr r3, [r3, #12] - 800ff6e: 4a7b ldr r2, [pc, #492] @ (801015c ) - 800ff70: 6113 str r3, [r2, #16] + 80108ee: 69fb ldr r3, [r7, #28] + 80108f0: 68db ldr r3, [r3, #12] + 80108f2: 4a7b ldr r2, [pc, #492] @ (8010ae0 ) + 80108f4: 6113 str r3, [r2, #16] /* match packet against an interface, i.e. is this packet for us? */ if (ip4_addr_ismulticast(ip4_current_dest_addr())) { - 800ff72: 4b7a ldr r3, [pc, #488] @ (801015c ) - 800ff74: 695b ldr r3, [r3, #20] - 800ff76: f003 03f0 and.w r3, r3, #240 @ 0xf0 - 800ff7a: 2be0 cmp r3, #224 @ 0xe0 - 800ff7c: d112 bne.n 800ffa4 + 80108f6: 4b7a ldr r3, [pc, #488] @ (8010ae0 ) + 80108f8: 695b ldr r3, [r3, #20] + 80108fa: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 80108fe: 2be0 cmp r3, #224 @ 0xe0 + 8010900: d112 bne.n 8010928 netif = inp; } else { netif = NULL; } #else /* LWIP_IGMP */ if ((netif_is_up(inp)) && (!ip4_addr_isany_val(*netif_ip4_addr(inp)))) { - 800ff7e: 683b ldr r3, [r7, #0] - 800ff80: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 800ff84: f003 0301 and.w r3, r3, #1 - 800ff88: b2db uxtb r3, r3 - 800ff8a: 2b00 cmp r3, #0 - 800ff8c: d007 beq.n 800ff9e - 800ff8e: 683b ldr r3, [r7, #0] - 800ff90: 3304 adds r3, #4 - 800ff92: 681b ldr r3, [r3, #0] - 800ff94: 2b00 cmp r3, #0 - 800ff96: d002 beq.n 800ff9e + 8010902: 683b ldr r3, [r7, #0] + 8010904: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8010908: f003 0301 and.w r3, r3, #1 + 801090c: b2db uxtb r3, r3 + 801090e: 2b00 cmp r3, #0 + 8010910: d007 beq.n 8010922 + 8010912: 683b ldr r3, [r7, #0] + 8010914: 3304 adds r3, #4 + 8010916: 681b ldr r3, [r3, #0] + 8010918: 2b00 cmp r3, #0 + 801091a: d002 beq.n 8010922 netif = inp; - 800ff98: 683b ldr r3, [r7, #0] - 800ff9a: 61bb str r3, [r7, #24] - 800ff9c: e02a b.n 800fff4 + 801091c: 683b ldr r3, [r7, #0] + 801091e: 61bb str r3, [r7, #24] + 8010920: e02a b.n 8010978 } else { netif = NULL; - 800ff9e: 2300 movs r3, #0 - 800ffa0: 61bb str r3, [r7, #24] - 800ffa2: e027 b.n 800fff4 + 8010922: 2300 movs r3, #0 + 8010924: 61bb str r3, [r7, #24] + 8010926: e027 b.n 8010978 } #endif /* LWIP_IGMP */ } else { /* start trying with inp. if that's not acceptable, start walking the list of configured netifs. */ if (ip4_input_accept(inp)) { - 800ffa4: 6838 ldr r0, [r7, #0] - 800ffa6: f7ff ff71 bl 800fe8c - 800ffaa: 4603 mov r3, r0 - 800ffac: 2b00 cmp r3, #0 - 800ffae: d002 beq.n 800ffb6 + 8010928: 6838 ldr r0, [r7, #0] + 801092a: f7ff ff71 bl 8010810 + 801092e: 4603 mov r3, r0 + 8010930: 2b00 cmp r3, #0 + 8010932: d002 beq.n 801093a netif = inp; - 800ffb0: 683b ldr r3, [r7, #0] - 800ffb2: 61bb str r3, [r7, #24] - 800ffb4: e01e b.n 800fff4 + 8010934: 683b ldr r3, [r7, #0] + 8010936: 61bb str r3, [r7, #24] + 8010938: e01e b.n 8010978 } else { netif = NULL; - 800ffb6: 2300 movs r3, #0 - 800ffb8: 61bb str r3, [r7, #24] + 801093a: 2300 movs r3, #0 + 801093c: 61bb str r3, [r7, #24] #if !LWIP_NETIF_LOOPBACK || LWIP_HAVE_LOOPIF /* Packets sent to the loopback address must not be accepted on an * interface that does not have the loopback address assigned to it, * unless a non-loopback interface is used for loopback traffic. */ if (!ip4_addr_isloopback(ip4_current_dest_addr())) - 800ffba: 4b68 ldr r3, [pc, #416] @ (801015c ) - 800ffbc: 695b ldr r3, [r3, #20] - 800ffbe: b2db uxtb r3, r3 - 800ffc0: 2b7f cmp r3, #127 @ 0x7f - 800ffc2: d017 beq.n 800fff4 + 801093e: 4b68 ldr r3, [pc, #416] @ (8010ae0 ) + 8010940: 695b ldr r3, [r3, #20] + 8010942: b2db uxtb r3, r3 + 8010944: 2b7f cmp r3, #127 @ 0x7f + 8010946: d017 beq.n 8010978 #endif /* !LWIP_NETIF_LOOPBACK || LWIP_HAVE_LOOPIF */ { #if !LWIP_SINGLE_NETIF NETIF_FOREACH(netif) { - 800ffc4: 4b66 ldr r3, [pc, #408] @ (8010160 ) - 800ffc6: 681b ldr r3, [r3, #0] - 800ffc8: 61bb str r3, [r7, #24] - 800ffca: e00e b.n 800ffea + 8010948: 4b66 ldr r3, [pc, #408] @ (8010ae4 ) + 801094a: 681b ldr r3, [r3, #0] + 801094c: 61bb str r3, [r7, #24] + 801094e: e00e b.n 801096e if (netif == inp) { - 800ffcc: 69ba ldr r2, [r7, #24] - 800ffce: 683b ldr r3, [r7, #0] - 800ffd0: 429a cmp r2, r3 - 800ffd2: d006 beq.n 800ffe2 + 8010950: 69ba ldr r2, [r7, #24] + 8010952: 683b ldr r3, [r7, #0] + 8010954: 429a cmp r2, r3 + 8010956: d006 beq.n 8010966 /* we checked that before already */ continue; } if (ip4_input_accept(netif)) { - 800ffd4: 69b8 ldr r0, [r7, #24] - 800ffd6: f7ff ff59 bl 800fe8c - 800ffda: 4603 mov r3, r0 - 800ffdc: 2b00 cmp r3, #0 - 800ffde: d108 bne.n 800fff2 - 800ffe0: e000 b.n 800ffe4 + 8010958: 69b8 ldr r0, [r7, #24] + 801095a: f7ff ff59 bl 8010810 + 801095e: 4603 mov r3, r0 + 8010960: 2b00 cmp r3, #0 + 8010962: d108 bne.n 8010976 + 8010964: e000 b.n 8010968 continue; - 800ffe2: bf00 nop + 8010966: bf00 nop NETIF_FOREACH(netif) { - 800ffe4: 69bb ldr r3, [r7, #24] - 800ffe6: 681b ldr r3, [r3, #0] - 800ffe8: 61bb str r3, [r7, #24] - 800ffea: 69bb ldr r3, [r7, #24] - 800ffec: 2b00 cmp r3, #0 - 800ffee: d1ed bne.n 800ffcc - 800fff0: e000 b.n 800fff4 + 8010968: 69bb ldr r3, [r7, #24] + 801096a: 681b ldr r3, [r3, #0] + 801096c: 61bb str r3, [r7, #24] + 801096e: 69bb ldr r3, [r7, #24] + 8010970: 2b00 cmp r3, #0 + 8010972: d1ed bne.n 8010950 + 8010974: e000 b.n 8010978 break; - 800fff2: bf00 nop + 8010976: bf00 nop * If you want to accept private broadcast communication while a netif is down, * define LWIP_IP_ACCEPT_UDP_PORT(dst_port), e.g.: * * #define LWIP_IP_ACCEPT_UDP_PORT(dst_port) ((dst_port) == PP_NTOHS(12345)) */ if (netif == NULL) { - 800fff4: 69bb ldr r3, [r7, #24] - 800fff6: 2b00 cmp r3, #0 - 800fff8: d111 bne.n 801001e + 8010978: 69bb ldr r3, [r7, #24] + 801097a: 2b00 cmp r3, #0 + 801097c: d111 bne.n 80109a2 /* remote port is DHCP server? */ if (IPH_PROTO(iphdr) == IP_PROTO_UDP) { - 800fffa: 69fb ldr r3, [r7, #28] - 800fffc: 7a5b ldrb r3, [r3, #9] - 800fffe: 2b11 cmp r3, #17 - 8010000: d10d bne.n 801001e + 801097e: 69fb ldr r3, [r7, #28] + 8010980: 7a5b ldrb r3, [r3, #9] + 8010982: 2b11 cmp r3, #17 + 8010984: d10d bne.n 80109a2 const struct udp_hdr *udphdr = (const struct udp_hdr *)((const u8_t *)iphdr + iphdr_hlen); - 8010002: 8a7b ldrh r3, [r7, #18] - 8010004: 69fa ldr r2, [r7, #28] - 8010006: 4413 add r3, r2 - 8010008: 60fb str r3, [r7, #12] + 8010986: 8a7b ldrh r3, [r7, #18] + 8010988: 69fa ldr r2, [r7, #28] + 801098a: 4413 add r3, r2 + 801098c: 60fb str r3, [r7, #12] LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_TRACE, ("ip4_input: UDP packet to DHCP client port %"U16_F"\n", lwip_ntohs(udphdr->dest))); if (IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(udphdr->dest)) { - 801000a: 68fb ldr r3, [r7, #12] - 801000c: 885b ldrh r3, [r3, #2] - 801000e: b29b uxth r3, r3 - 8010010: f5b3 4f88 cmp.w r3, #17408 @ 0x4400 - 8010014: d103 bne.n 801001e + 801098e: 68fb ldr r3, [r7, #12] + 8010990: 885b ldrh r3, [r3, #2] + 8010992: b29b uxth r3, r3 + 8010994: f5b3 4f88 cmp.w r3, #17408 @ 0x4400 + 8010998: d103 bne.n 80109a2 LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_TRACE, ("ip4_input: DHCP packet accepted.\n")); netif = inp; - 8010016: 683b ldr r3, [r7, #0] - 8010018: 61bb str r3, [r7, #24] + 801099a: 683b ldr r3, [r7, #0] + 801099c: 61bb str r3, [r7, #24] check_ip_src = 0; - 801001a: 2300 movs r3, #0 - 801001c: 617b str r3, [r7, #20] + 801099e: 2300 movs r3, #0 + 80109a0: 617b str r3, [r7, #20] } #endif /* IP_ACCEPT_LINK_LAYER_ADDRESSING */ /* broadcast or multicast packet source address? Compliant with RFC 1122: 3.2.1.3 */ #if LWIP_IGMP || IP_ACCEPT_LINK_LAYER_ADDRESSING if (check_ip_src - 801001e: 697b ldr r3, [r7, #20] - 8010020: 2b00 cmp r3, #0 - 8010022: d017 beq.n 8010054 + 80109a2: 697b ldr r3, [r7, #20] + 80109a4: 2b00 cmp r3, #0 + 80109a6: d017 beq.n 80109d8 #if IP_ACCEPT_LINK_LAYER_ADDRESSING /* DHCP servers need 0.0.0.0 to be allowed as source address (RFC 1.1.2.2: 3.2.1.3/a) */ && !ip4_addr_isany_val(*ip4_current_src_addr()) - 8010024: 4b4d ldr r3, [pc, #308] @ (801015c ) - 8010026: 691b ldr r3, [r3, #16] - 8010028: 2b00 cmp r3, #0 - 801002a: d013 beq.n 8010054 + 80109a8: 4b4d ldr r3, [pc, #308] @ (8010ae0 ) + 80109aa: 691b ldr r3, [r3, #16] + 80109ac: 2b00 cmp r3, #0 + 80109ae: d013 beq.n 80109d8 #endif /* IP_ACCEPT_LINK_LAYER_ADDRESSING */ ) #endif /* LWIP_IGMP || IP_ACCEPT_LINK_LAYER_ADDRESSING */ { if ((ip4_addr_isbroadcast(ip4_current_src_addr(), inp)) || - 801002c: 4b4b ldr r3, [pc, #300] @ (801015c ) - 801002e: 691b ldr r3, [r3, #16] - 8010030: 6839 ldr r1, [r7, #0] - 8010032: 4618 mov r0, r3 - 8010034: f000 f96e bl 8010314 - 8010038: 4603 mov r3, r0 - 801003a: 2b00 cmp r3, #0 - 801003c: d105 bne.n 801004a + 80109b0: 4b4b ldr r3, [pc, #300] @ (8010ae0 ) + 80109b2: 691b ldr r3, [r3, #16] + 80109b4: 6839 ldr r1, [r7, #0] + 80109b6: 4618 mov r0, r3 + 80109b8: f000 f96e bl 8010c98 + 80109bc: 4603 mov r3, r0 + 80109be: 2b00 cmp r3, #0 + 80109c0: d105 bne.n 80109ce (ip4_addr_ismulticast(ip4_current_src_addr()))) { - 801003e: 4b47 ldr r3, [pc, #284] @ (801015c ) - 8010040: 691b ldr r3, [r3, #16] - 8010042: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 80109c2: 4b47 ldr r3, [pc, #284] @ (8010ae0 ) + 80109c4: 691b ldr r3, [r3, #16] + 80109c6: f003 03f0 and.w r3, r3, #240 @ 0xf0 if ((ip4_addr_isbroadcast(ip4_current_src_addr(), inp)) || - 8010046: 2be0 cmp r3, #224 @ 0xe0 - 8010048: d104 bne.n 8010054 + 80109ca: 2be0 cmp r3, #224 @ 0xe0 + 80109cc: d104 bne.n 80109d8 /* packet source is not valid */ LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("ip4_input: packet source is not valid.\n")); /* free (drop) packet pbufs */ pbuf_free(p); - 801004a: 6878 ldr r0, [r7, #4] - 801004c: f7f6 fcec bl 8006a28 + 80109ce: 6878 ldr r0, [r7, #4] + 80109d0: f7f6 fcec bl 80073ac IP_STATS_INC(ip.drop); MIB2_STATS_INC(mib2.ipinaddrerrors); MIB2_STATS_INC(mib2.ipindiscards); return ERR_OK; - 8010050: 2300 movs r3, #0 - 8010052: e07e b.n 8010152 + 80109d4: 2300 movs r3, #0 + 80109d6: e07e b.n 8010ad6 } } /* packet not for us? */ if (netif == NULL) { - 8010054: 69bb ldr r3, [r7, #24] - 8010056: 2b00 cmp r3, #0 - 8010058: d104 bne.n 8010064 + 80109d8: 69bb ldr r3, [r7, #24] + 80109da: 2b00 cmp r3, #0 + 80109dc: d104 bne.n 80109e8 { IP_STATS_INC(ip.drop); MIB2_STATS_INC(mib2.ipinaddrerrors); MIB2_STATS_INC(mib2.ipindiscards); } pbuf_free(p); - 801005a: 6878 ldr r0, [r7, #4] - 801005c: f7f6 fce4 bl 8006a28 + 80109de: 6878 ldr r0, [r7, #4] + 80109e0: f7f6 fce4 bl 80073ac return ERR_OK; - 8010060: 2300 movs r3, #0 - 8010062: e076 b.n 8010152 + 80109e4: 2300 movs r3, #0 + 80109e6: e076 b.n 8010ad6 } /* packet consists of multiple fragments? */ if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) { - 8010064: 69fb ldr r3, [r7, #28] - 8010066: 88db ldrh r3, [r3, #6] - 8010068: b29b uxth r3, r3 - 801006a: 461a mov r2, r3 - 801006c: f64f 733f movw r3, #65343 @ 0xff3f - 8010070: 4013 ands r3, r2 - 8010072: 2b00 cmp r3, #0 - 8010074: d00b beq.n 801008e + 80109e8: 69fb ldr r3, [r7, #28] + 80109ea: 88db ldrh r3, [r3, #6] + 80109ec: b29b uxth r3, r3 + 80109ee: 461a mov r2, r3 + 80109f0: f64f 733f movw r3, #65343 @ 0xff3f + 80109f4: 4013 ands r3, r2 + 80109f6: 2b00 cmp r3, #0 + 80109f8: d00b beq.n 8010a12 #if IP_REASSEMBLY /* packet fragment reassembly code present? */ LWIP_DEBUGF(IP_DEBUG, ("IP packet is a fragment (id=0x%04"X16_F" tot_len=%"U16_F" len=%"U16_F" MF=%"U16_F" offset=%"U16_F"), calling ip4_reass()\n", lwip_ntohs(IPH_ID(iphdr)), p->tot_len, lwip_ntohs(IPH_LEN(iphdr)), (u16_t)!!(IPH_OFFSET(iphdr) & PP_HTONS(IP_MF)), (u16_t)((lwip_ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK) * 8))); /* reassemble the packet*/ p = ip4_reass(p); - 8010076: 6878 ldr r0, [r7, #4] - 8010078: f000 fdd0 bl 8010c1c - 801007c: 6078 str r0, [r7, #4] + 80109fa: 6878 ldr r0, [r7, #4] + 80109fc: f000 fdd0 bl 80115a0 + 8010a00: 6078 str r0, [r7, #4] /* packet not fully reassembled yet? */ if (p == NULL) { - 801007e: 687b ldr r3, [r7, #4] - 8010080: 2b00 cmp r3, #0 - 8010082: d101 bne.n 8010088 + 8010a02: 687b ldr r3, [r7, #4] + 8010a04: 2b00 cmp r3, #0 + 8010a06: d101 bne.n 8010a0c return ERR_OK; - 8010084: 2300 movs r3, #0 - 8010086: e064 b.n 8010152 + 8010a08: 2300 movs r3, #0 + 8010a0a: e064 b.n 8010ad6 } iphdr = (const struct ip_hdr *)p->payload; - 8010088: 687b ldr r3, [r7, #4] - 801008a: 685b ldr r3, [r3, #4] - 801008c: 61fb str r3, [r7, #28] + 8010a0c: 687b ldr r3, [r7, #4] + 8010a0e: 685b ldr r3, [r3, #4] + 8010a10: 61fb str r3, [r7, #28] /* send to upper layers */ LWIP_DEBUGF(IP_DEBUG, ("ip4_input: \n")); ip4_debug_print(p); LWIP_DEBUGF(IP_DEBUG, ("ip4_input: p->len %"U16_F" p->tot_len %"U16_F"\n", p->len, p->tot_len)); ip_data.current_netif = netif; - 801008e: 4a33 ldr r2, [pc, #204] @ (801015c ) - 8010090: 69bb ldr r3, [r7, #24] - 8010092: 6013 str r3, [r2, #0] + 8010a12: 4a33 ldr r2, [pc, #204] @ (8010ae0 ) + 8010a14: 69bb ldr r3, [r7, #24] + 8010a16: 6013 str r3, [r2, #0] ip_data.current_input_netif = inp; - 8010094: 4a31 ldr r2, [pc, #196] @ (801015c ) - 8010096: 683b ldr r3, [r7, #0] - 8010098: 6053 str r3, [r2, #4] + 8010a18: 4a31 ldr r2, [pc, #196] @ (8010ae0 ) + 8010a1a: 683b ldr r3, [r7, #0] + 8010a1c: 6053 str r3, [r2, #4] ip_data.current_ip4_header = iphdr; - 801009a: 4a30 ldr r2, [pc, #192] @ (801015c ) - 801009c: 69fb ldr r3, [r7, #28] - 801009e: 6093 str r3, [r2, #8] + 8010a1e: 4a30 ldr r2, [pc, #192] @ (8010ae0 ) + 8010a20: 69fb ldr r3, [r7, #28] + 8010a22: 6093 str r3, [r2, #8] ip_data.current_ip_header_tot_len = IPH_HL_BYTES(iphdr); - 80100a0: 69fb ldr r3, [r7, #28] - 80100a2: 781b ldrb r3, [r3, #0] - 80100a4: f003 030f and.w r3, r3, #15 - 80100a8: b2db uxtb r3, r3 - 80100aa: 009b lsls r3, r3, #2 - 80100ac: b2db uxtb r3, r3 - 80100ae: 461a mov r2, r3 - 80100b0: 4b2a ldr r3, [pc, #168] @ (801015c ) - 80100b2: 819a strh r2, [r3, #12] + 8010a24: 69fb ldr r3, [r7, #28] + 8010a26: 781b ldrb r3, [r3, #0] + 8010a28: f003 030f and.w r3, r3, #15 + 8010a2c: b2db uxtb r3, r3 + 8010a2e: 009b lsls r3, r3, #2 + 8010a30: b2db uxtb r3, r3 + 8010a32: 461a mov r2, r3 + 8010a34: 4b2a ldr r3, [pc, #168] @ (8010ae0 ) + 8010a36: 819a strh r2, [r3, #12] /* raw input did not eat the packet? */ raw_status = raw_input(p, inp); if (raw_status != RAW_INPUT_EATEN) #endif /* LWIP_RAW */ { pbuf_remove_header(p, iphdr_hlen); /* Move to payload, no check necessary. */ - 80100b4: 8a7b ldrh r3, [r7, #18] - 80100b6: 4619 mov r1, r3 - 80100b8: 6878 ldr r0, [r7, #4] - 80100ba: f7f6 fc2f bl 800691c + 8010a38: 8a7b ldrh r3, [r7, #18] + 8010a3a: 4619 mov r1, r3 + 8010a3c: 6878 ldr r0, [r7, #4] + 8010a3e: f7f6 fc2f bl 80072a0 switch (IPH_PROTO(iphdr)) { - 80100be: 69fb ldr r3, [r7, #28] - 80100c0: 7a5b ldrb r3, [r3, #9] - 80100c2: 2b11 cmp r3, #17 - 80100c4: d006 beq.n 80100d4 - 80100c6: 2b11 cmp r3, #17 - 80100c8: dc13 bgt.n 80100f2 - 80100ca: 2b01 cmp r3, #1 - 80100cc: d00c beq.n 80100e8 - 80100ce: 2b06 cmp r3, #6 - 80100d0: d005 beq.n 80100de - 80100d2: e00e b.n 80100f2 + 8010a42: 69fb ldr r3, [r7, #28] + 8010a44: 7a5b ldrb r3, [r3, #9] + 8010a46: 2b11 cmp r3, #17 + 8010a48: d006 beq.n 8010a58 + 8010a4a: 2b11 cmp r3, #17 + 8010a4c: dc13 bgt.n 8010a76 + 8010a4e: 2b01 cmp r3, #1 + 8010a50: d00c beq.n 8010a6c + 8010a52: 2b06 cmp r3, #6 + 8010a54: d005 beq.n 8010a62 + 8010a56: e00e b.n 8010a76 case IP_PROTO_UDP: #if LWIP_UDPLITE case IP_PROTO_UDPLITE: #endif /* LWIP_UDPLITE */ MIB2_STATS_INC(mib2.ipindelivers); udp_input(p, inp); - 80100d4: 6839 ldr r1, [r7, #0] - 80100d6: 6878 ldr r0, [r7, #4] - 80100d8: f7fc fa94 bl 800c604 + 8010a58: 6839 ldr r1, [r7, #0] + 8010a5a: 6878 ldr r0, [r7, #4] + 8010a5c: f7fc fa94 bl 800cf88 break; - 80100dc: e026 b.n 801012c + 8010a60: e026 b.n 8010ab0 #endif /* LWIP_UDP */ #if LWIP_TCP case IP_PROTO_TCP: MIB2_STATS_INC(mib2.ipindelivers); tcp_input(p, inp); - 80100de: 6839 ldr r1, [r7, #0] - 80100e0: 6878 ldr r0, [r7, #4] - 80100e2: f7f8 fadb bl 800869c + 8010a62: 6839 ldr r1, [r7, #0] + 8010a64: 6878 ldr r0, [r7, #4] + 8010a66: f7f8 fadb bl 8009020 break; - 80100e6: e021 b.n 801012c + 8010a6a: e021 b.n 8010ab0 #endif /* LWIP_TCP */ #if LWIP_ICMP case IP_PROTO_ICMP: MIB2_STATS_INC(mib2.ipindelivers); icmp_input(p, inp); - 80100e8: 6839 ldr r1, [r7, #0] - 80100ea: 6878 ldr r0, [r7, #4] - 80100ec: f7ff fcd0 bl 800fa90 + 8010a6c: 6839 ldr r1, [r7, #0] + 8010a6e: 6878 ldr r0, [r7, #4] + 8010a70: f7ff fcd0 bl 8010414 break; - 80100f0: e01c b.n 801012c + 8010a74: e01c b.n 8010ab0 } else #endif /* LWIP_RAW */ { #if LWIP_ICMP /* send ICMP destination protocol unreachable unless is was a broadcast */ if (!ip4_addr_isbroadcast(ip4_current_dest_addr(), netif) && - 80100f2: 4b1a ldr r3, [pc, #104] @ (801015c ) - 80100f4: 695b ldr r3, [r3, #20] - 80100f6: 69b9 ldr r1, [r7, #24] - 80100f8: 4618 mov r0, r3 - 80100fa: f000 f90b bl 8010314 - 80100fe: 4603 mov r3, r0 - 8010100: 2b00 cmp r3, #0 - 8010102: d10f bne.n 8010124 + 8010a76: 4b1a ldr r3, [pc, #104] @ (8010ae0 ) + 8010a78: 695b ldr r3, [r3, #20] + 8010a7a: 69b9 ldr r1, [r7, #24] + 8010a7c: 4618 mov r0, r3 + 8010a7e: f000 f90b bl 8010c98 + 8010a82: 4603 mov r3, r0 + 8010a84: 2b00 cmp r3, #0 + 8010a86: d10f bne.n 8010aa8 !ip4_addr_ismulticast(ip4_current_dest_addr())) { - 8010104: 4b15 ldr r3, [pc, #84] @ (801015c ) - 8010106: 695b ldr r3, [r3, #20] - 8010108: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 8010a88: 4b15 ldr r3, [pc, #84] @ (8010ae0 ) + 8010a8a: 695b ldr r3, [r3, #20] + 8010a8c: f003 03f0 and.w r3, r3, #240 @ 0xf0 if (!ip4_addr_isbroadcast(ip4_current_dest_addr(), netif) && - 801010c: 2be0 cmp r3, #224 @ 0xe0 - 801010e: d009 beq.n 8010124 + 8010a90: 2be0 cmp r3, #224 @ 0xe0 + 8010a92: d009 beq.n 8010aa8 pbuf_header_force(p, (s16_t)iphdr_hlen); /* Move to ip header, no check necessary. */ - 8010110: f9b7 3012 ldrsh.w r3, [r7, #18] - 8010114: 4619 mov r1, r3 - 8010116: 6878 ldr r0, [r7, #4] - 8010118: f7f6 fc73 bl 8006a02 + 8010a94: f9b7 3012 ldrsh.w r3, [r7, #18] + 8010a98: 4619 mov r1, r3 + 8010a9a: 6878 ldr r0, [r7, #4] + 8010a9c: f7f6 fc73 bl 8007386 icmp_dest_unreach(p, ICMP_DUR_PROTO); - 801011c: 2102 movs r1, #2 - 801011e: 6878 ldr r0, [r7, #4] - 8010120: f7ff fdba bl 800fc98 + 8010aa0: 2102 movs r1, #2 + 8010aa2: 6878 ldr r0, [r7, #4] + 8010aa4: f7ff fdba bl 801061c IP_STATS_INC(ip.proterr); IP_STATS_INC(ip.drop); MIB2_STATS_INC(mib2.ipinunknownprotos); } pbuf_free(p); - 8010124: 6878 ldr r0, [r7, #4] - 8010126: f7f6 fc7f bl 8006a28 + 8010aa8: 6878 ldr r0, [r7, #4] + 8010aaa: f7f6 fc7f bl 80073ac break; - 801012a: bf00 nop + 8010aae: bf00 nop } } /* @todo: this is not really necessary... */ ip_data.current_netif = NULL; - 801012c: 4b0b ldr r3, [pc, #44] @ (801015c ) - 801012e: 2200 movs r2, #0 - 8010130: 601a str r2, [r3, #0] + 8010ab0: 4b0b ldr r3, [pc, #44] @ (8010ae0 ) + 8010ab2: 2200 movs r2, #0 + 8010ab4: 601a str r2, [r3, #0] ip_data.current_input_netif = NULL; - 8010132: 4b0a ldr r3, [pc, #40] @ (801015c ) - 8010134: 2200 movs r2, #0 - 8010136: 605a str r2, [r3, #4] + 8010ab6: 4b0a ldr r3, [pc, #40] @ (8010ae0 ) + 8010ab8: 2200 movs r2, #0 + 8010aba: 605a str r2, [r3, #4] ip_data.current_ip4_header = NULL; - 8010138: 4b08 ldr r3, [pc, #32] @ (801015c ) - 801013a: 2200 movs r2, #0 - 801013c: 609a str r2, [r3, #8] + 8010abc: 4b08 ldr r3, [pc, #32] @ (8010ae0 ) + 8010abe: 2200 movs r2, #0 + 8010ac0: 609a str r2, [r3, #8] ip_data.current_ip_header_tot_len = 0; - 801013e: 4b07 ldr r3, [pc, #28] @ (801015c ) - 8010140: 2200 movs r2, #0 - 8010142: 819a strh r2, [r3, #12] + 8010ac2: 4b07 ldr r3, [pc, #28] @ (8010ae0 ) + 8010ac4: 2200 movs r2, #0 + 8010ac6: 819a strh r2, [r3, #12] ip4_addr_set_any(ip4_current_src_addr()); - 8010144: 4b05 ldr r3, [pc, #20] @ (801015c ) - 8010146: 2200 movs r2, #0 - 8010148: 611a str r2, [r3, #16] + 8010ac8: 4b05 ldr r3, [pc, #20] @ (8010ae0 ) + 8010aca: 2200 movs r2, #0 + 8010acc: 611a str r2, [r3, #16] ip4_addr_set_any(ip4_current_dest_addr()); - 801014a: 4b04 ldr r3, [pc, #16] @ (801015c ) - 801014c: 2200 movs r2, #0 - 801014e: 615a str r2, [r3, #20] + 8010ace: 4b04 ldr r3, [pc, #16] @ (8010ae0 ) + 8010ad0: 2200 movs r2, #0 + 8010ad2: 615a str r2, [r3, #20] return ERR_OK; - 8010150: 2300 movs r3, #0 + 8010ad4: 2300 movs r3, #0 } - 8010152: 4618 mov r0, r3 - 8010154: 3720 adds r7, #32 - 8010156: 46bd mov sp, r7 - 8010158: bd80 pop {r7, pc} - 801015a: bf00 nop - 801015c: 2000614c .word 0x2000614c - 8010160: 20019098 .word 0x20019098 + 8010ad6: 4618 mov r0, r3 + 8010ad8: 3720 adds r7, #32 + 8010ada: 46bd mov sp, r7 + 8010adc: bd80 pop {r7, pc} + 8010ade: bf00 nop + 8010ae0: 20006180 .word 0x20006180 + 8010ae4: 200190cc .word 0x200190cc -08010164 : +08010ae8 : */ err_t ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) { - 8010164: b580 push {r7, lr} - 8010166: b08a sub sp, #40 @ 0x28 - 8010168: af04 add r7, sp, #16 - 801016a: 60f8 str r0, [r7, #12] - 801016c: 60b9 str r1, [r7, #8] - 801016e: 607a str r2, [r7, #4] - 8010170: 70fb strb r3, [r7, #3] + 8010ae8: b580 push {r7, lr} + 8010aea: b08a sub sp, #40 @ 0x28 + 8010aec: af04 add r7, sp, #16 + 8010aee: 60f8 str r0, [r7, #12] + 8010af0: 60b9 str r1, [r7, #8] + 8010af2: 607a str r2, [r7, #4] + 8010af4: 70fb strb r3, [r7, #3] ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) { #endif /* IP_OPTIONS_SEND */ const ip4_addr_t *src_used = src; - 8010172: 68bb ldr r3, [r7, #8] - 8010174: 617b str r3, [r7, #20] + 8010af6: 68bb ldr r3, [r7, #8] + 8010af8: 617b str r3, [r7, #20] if (dest != LWIP_IP_HDRINCL) { - 8010176: 687b ldr r3, [r7, #4] - 8010178: 2b00 cmp r3, #0 - 801017a: d009 beq.n 8010190 + 8010afa: 687b ldr r3, [r7, #4] + 8010afc: 2b00 cmp r3, #0 + 8010afe: d009 beq.n 8010b14 if (ip4_addr_isany(src)) { - 801017c: 68bb ldr r3, [r7, #8] - 801017e: 2b00 cmp r3, #0 - 8010180: d003 beq.n 801018a - 8010182: 68bb ldr r3, [r7, #8] - 8010184: 681b ldr r3, [r3, #0] - 8010186: 2b00 cmp r3, #0 - 8010188: d102 bne.n 8010190 + 8010b00: 68bb ldr r3, [r7, #8] + 8010b02: 2b00 cmp r3, #0 + 8010b04: d003 beq.n 8010b0e + 8010b06: 68bb ldr r3, [r7, #8] + 8010b08: 681b ldr r3, [r3, #0] + 8010b0a: 2b00 cmp r3, #0 + 8010b0c: d102 bne.n 8010b14 src_used = netif_ip4_addr(netif); - 801018a: 6abb ldr r3, [r7, #40] @ 0x28 - 801018c: 3304 adds r3, #4 - 801018e: 617b str r3, [r7, #20] + 8010b0e: 6abb ldr r3, [r7, #40] @ 0x28 + 8010b10: 3304 adds r3, #4 + 8010b12: 617b str r3, [r7, #20] #if IP_OPTIONS_SEND return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif, ip_options, optlen); #else /* IP_OPTIONS_SEND */ return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif); - 8010190: 78fa ldrb r2, [r7, #3] - 8010192: 6abb ldr r3, [r7, #40] @ 0x28 - 8010194: 9302 str r3, [sp, #8] - 8010196: f897 3024 ldrb.w r3, [r7, #36] @ 0x24 - 801019a: 9301 str r3, [sp, #4] - 801019c: f897 3020 ldrb.w r3, [r7, #32] - 80101a0: 9300 str r3, [sp, #0] - 80101a2: 4613 mov r3, r2 - 80101a4: 687a ldr r2, [r7, #4] - 80101a6: 6979 ldr r1, [r7, #20] - 80101a8: 68f8 ldr r0, [r7, #12] - 80101aa: f000 f805 bl 80101b8 - 80101ae: 4603 mov r3, r0 + 8010b14: 78fa ldrb r2, [r7, #3] + 8010b16: 6abb ldr r3, [r7, #40] @ 0x28 + 8010b18: 9302 str r3, [sp, #8] + 8010b1a: f897 3024 ldrb.w r3, [r7, #36] @ 0x24 + 8010b1e: 9301 str r3, [sp, #4] + 8010b20: f897 3020 ldrb.w r3, [r7, #32] + 8010b24: 9300 str r3, [sp, #0] + 8010b26: 4613 mov r3, r2 + 8010b28: 687a ldr r2, [r7, #4] + 8010b2a: 6979 ldr r1, [r7, #20] + 8010b2c: 68f8 ldr r0, [r7, #12] + 8010b2e: f000 f805 bl 8010b3c + 8010b32: 4603 mov r3, r0 #endif /* IP_OPTIONS_SEND */ } - 80101b0: 4618 mov r0, r3 - 80101b2: 3718 adds r7, #24 - 80101b4: 46bd mov sp, r7 - 80101b6: bd80 pop {r7, pc} + 8010b34: 4618 mov r0, r3 + 8010b36: 3718 adds r7, #24 + 8010b38: 46bd mov sp, r7 + 8010b3a: bd80 pop {r7, pc} -080101b8 : +08010b3c : */ err_t ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) { - 80101b8: b580 push {r7, lr} - 80101ba: b088 sub sp, #32 - 80101bc: af00 add r7, sp, #0 - 80101be: 60f8 str r0, [r7, #12] - 80101c0: 60b9 str r1, [r7, #8] - 80101c2: 607a str r2, [r7, #4] - 80101c4: 70fb strb r3, [r7, #3] + 8010b3c: b580 push {r7, lr} + 8010b3e: b088 sub sp, #32 + 8010b40: af00 add r7, sp, #0 + 8010b42: 60f8 str r0, [r7, #12] + 8010b44: 60b9 str r1, [r7, #8] + 8010b46: 607a str r2, [r7, #4] + 8010b48: 70fb strb r3, [r7, #3] #if CHECKSUM_GEN_IP_INLINE u32_t chk_sum = 0; #endif /* CHECKSUM_GEN_IP_INLINE */ LWIP_ASSERT_CORE_LOCKED(); LWIP_IP_CHECK_PBUF_REF_COUNT_FOR_TX(p); - 80101c6: 68fb ldr r3, [r7, #12] - 80101c8: 7b9b ldrb r3, [r3, #14] - 80101ca: 2b01 cmp r3, #1 - 80101cc: d006 beq.n 80101dc - 80101ce: 4b4b ldr r3, [pc, #300] @ (80102fc ) - 80101d0: f44f 7255 mov.w r2, #852 @ 0x354 - 80101d4: 494a ldr r1, [pc, #296] @ (8010300 ) - 80101d6: 484b ldr r0, [pc, #300] @ (8010304 ) - 80101d8: f001 fa0e bl 80115f8 + 8010b4a: 68fb ldr r3, [r7, #12] + 8010b4c: 7b9b ldrb r3, [r3, #14] + 8010b4e: 2b01 cmp r3, #1 + 8010b50: d006 beq.n 8010b60 + 8010b52: 4b4b ldr r3, [pc, #300] @ (8010c80 ) + 8010b54: f44f 7255 mov.w r2, #852 @ 0x354 + 8010b58: 494a ldr r1, [pc, #296] @ (8010c84 ) + 8010b5a: 484b ldr r0, [pc, #300] @ (8010c88 ) + 8010b5c: f001 fa0e bl 8011f7c MIB2_STATS_INC(mib2.ipoutrequests); /* Should the IP header be generated or is it already included in p? */ if (dest != LWIP_IP_HDRINCL) { - 80101dc: 687b ldr r3, [r7, #4] - 80101de: 2b00 cmp r3, #0 - 80101e0: d060 beq.n 80102a4 + 8010b60: 687b ldr r3, [r7, #4] + 8010b62: 2b00 cmp r3, #0 + 8010b64: d060 beq.n 8010c28 u16_t ip_hlen = IP_HLEN; - 80101e2: 2314 movs r3, #20 - 80101e4: 837b strh r3, [r7, #26] + 8010b66: 2314 movs r3, #20 + 8010b68: 837b strh r3, [r7, #26] } #endif /* CHECKSUM_GEN_IP_INLINE */ } #endif /* IP_OPTIONS_SEND */ /* generate IP header */ if (pbuf_add_header(p, IP_HLEN)) { - 80101e6: 2114 movs r1, #20 - 80101e8: 68f8 ldr r0, [r7, #12] - 80101ea: f7f6 fb87 bl 80068fc - 80101ee: 4603 mov r3, r0 - 80101f0: 2b00 cmp r3, #0 - 80101f2: d002 beq.n 80101fa + 8010b6a: 2114 movs r1, #20 + 8010b6c: 68f8 ldr r0, [r7, #12] + 8010b6e: f7f6 fb87 bl 8007280 + 8010b72: 4603 mov r3, r0 + 8010b74: 2b00 cmp r3, #0 + 8010b76: d002 beq.n 8010b7e LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("ip4_output: not enough room for IP header in pbuf\n")); IP_STATS_INC(ip.err); MIB2_STATS_INC(mib2.ipoutdiscards); return ERR_BUF; - 80101f4: f06f 0301 mvn.w r3, #1 - 80101f8: e07c b.n 80102f4 + 8010b78: f06f 0301 mvn.w r3, #1 + 8010b7c: e07c b.n 8010c78 } iphdr = (struct ip_hdr *)p->payload; - 80101fa: 68fb ldr r3, [r7, #12] - 80101fc: 685b ldr r3, [r3, #4] - 80101fe: 61fb str r3, [r7, #28] + 8010b7e: 68fb ldr r3, [r7, #12] + 8010b80: 685b ldr r3, [r3, #4] + 8010b82: 61fb str r3, [r7, #28] LWIP_ASSERT("check that first pbuf can hold struct ip_hdr", - 8010200: 68fb ldr r3, [r7, #12] - 8010202: 895b ldrh r3, [r3, #10] - 8010204: 2b13 cmp r3, #19 - 8010206: d806 bhi.n 8010216 - 8010208: 4b3c ldr r3, [pc, #240] @ (80102fc ) - 801020a: f44f 7262 mov.w r2, #904 @ 0x388 - 801020e: 493e ldr r1, [pc, #248] @ (8010308 ) - 8010210: 483c ldr r0, [pc, #240] @ (8010304 ) - 8010212: f001 f9f1 bl 80115f8 + 8010b84: 68fb ldr r3, [r7, #12] + 8010b86: 895b ldrh r3, [r3, #10] + 8010b88: 2b13 cmp r3, #19 + 8010b8a: d806 bhi.n 8010b9a + 8010b8c: 4b3c ldr r3, [pc, #240] @ (8010c80 ) + 8010b8e: f44f 7262 mov.w r2, #904 @ 0x388 + 8010b92: 493e ldr r1, [pc, #248] @ (8010c8c ) + 8010b94: 483c ldr r0, [pc, #240] @ (8010c88 ) + 8010b96: f001 f9f1 bl 8011f7c (p->len >= sizeof(struct ip_hdr))); IPH_TTL_SET(iphdr, ttl); - 8010216: 69fb ldr r3, [r7, #28] - 8010218: 78fa ldrb r2, [r7, #3] - 801021a: 721a strb r2, [r3, #8] + 8010b9a: 69fb ldr r3, [r7, #28] + 8010b9c: 78fa ldrb r2, [r7, #3] + 8010b9e: 721a strb r2, [r3, #8] IPH_PROTO_SET(iphdr, proto); - 801021c: 69fb ldr r3, [r7, #28] - 801021e: f897 202c ldrb.w r2, [r7, #44] @ 0x2c - 8010222: 725a strb r2, [r3, #9] + 8010ba0: 69fb ldr r3, [r7, #28] + 8010ba2: f897 202c ldrb.w r2, [r7, #44] @ 0x2c + 8010ba6: 725a strb r2, [r3, #9] #if CHECKSUM_GEN_IP_INLINE chk_sum += PP_NTOHS(proto | (ttl << 8)); #endif /* CHECKSUM_GEN_IP_INLINE */ /* dest cannot be NULL here */ ip4_addr_copy(iphdr->dest, *dest); - 8010224: 687b ldr r3, [r7, #4] - 8010226: 681a ldr r2, [r3, #0] - 8010228: 69fb ldr r3, [r7, #28] - 801022a: 611a str r2, [r3, #16] + 8010ba8: 687b ldr r3, [r7, #4] + 8010baa: 681a ldr r2, [r3, #0] + 8010bac: 69fb ldr r3, [r7, #28] + 8010bae: 611a str r2, [r3, #16] #if CHECKSUM_GEN_IP_INLINE chk_sum += ip4_addr_get_u32(&iphdr->dest) & 0xFFFF; chk_sum += ip4_addr_get_u32(&iphdr->dest) >> 16; #endif /* CHECKSUM_GEN_IP_INLINE */ IPH_VHL_SET(iphdr, 4, ip_hlen / 4); - 801022c: 8b7b ldrh r3, [r7, #26] - 801022e: 089b lsrs r3, r3, #2 - 8010230: b29b uxth r3, r3 - 8010232: b2db uxtb r3, r3 - 8010234: f043 0340 orr.w r3, r3, #64 @ 0x40 - 8010238: b2da uxtb r2, r3 - 801023a: 69fb ldr r3, [r7, #28] - 801023c: 701a strb r2, [r3, #0] + 8010bb0: 8b7b ldrh r3, [r7, #26] + 8010bb2: 089b lsrs r3, r3, #2 + 8010bb4: b29b uxth r3, r3 + 8010bb6: b2db uxtb r3, r3 + 8010bb8: f043 0340 orr.w r3, r3, #64 @ 0x40 + 8010bbc: b2da uxtb r2, r3 + 8010bbe: 69fb ldr r3, [r7, #28] + 8010bc0: 701a strb r2, [r3, #0] IPH_TOS_SET(iphdr, tos); - 801023e: 69fb ldr r3, [r7, #28] - 8010240: f897 2028 ldrb.w r2, [r7, #40] @ 0x28 - 8010244: 705a strb r2, [r3, #1] + 8010bc2: 69fb ldr r3, [r7, #28] + 8010bc4: f897 2028 ldrb.w r2, [r7, #40] @ 0x28 + 8010bc8: 705a strb r2, [r3, #1] #if CHECKSUM_GEN_IP_INLINE chk_sum += PP_NTOHS(tos | (iphdr->_v_hl << 8)); #endif /* CHECKSUM_GEN_IP_INLINE */ IPH_LEN_SET(iphdr, lwip_htons(p->tot_len)); - 8010246: 68fb ldr r3, [r7, #12] - 8010248: 891b ldrh r3, [r3, #8] - 801024a: 4618 mov r0, r3 - 801024c: f7f5 f89c bl 8005388 - 8010250: 4603 mov r3, r0 - 8010252: 461a mov r2, r3 - 8010254: 69fb ldr r3, [r7, #28] - 8010256: 805a strh r2, [r3, #2] + 8010bca: 68fb ldr r3, [r7, #12] + 8010bcc: 891b ldrh r3, [r3, #8] + 8010bce: 4618 mov r0, r3 + 8010bd0: f7f5 f89c bl 8005d0c + 8010bd4: 4603 mov r3, r0 + 8010bd6: 461a mov r2, r3 + 8010bd8: 69fb ldr r3, [r7, #28] + 8010bda: 805a strh r2, [r3, #2] #if CHECKSUM_GEN_IP_INLINE chk_sum += iphdr->_len; #endif /* CHECKSUM_GEN_IP_INLINE */ IPH_OFFSET_SET(iphdr, 0); - 8010258: 69fb ldr r3, [r7, #28] - 801025a: 2200 movs r2, #0 - 801025c: 719a strb r2, [r3, #6] - 801025e: 2200 movs r2, #0 - 8010260: 71da strb r2, [r3, #7] + 8010bdc: 69fb ldr r3, [r7, #28] + 8010bde: 2200 movs r2, #0 + 8010be0: 719a strb r2, [r3, #6] + 8010be2: 2200 movs r2, #0 + 8010be4: 71da strb r2, [r3, #7] IPH_ID_SET(iphdr, lwip_htons(ip_id)); - 8010262: 4b2a ldr r3, [pc, #168] @ (801030c ) - 8010264: 881b ldrh r3, [r3, #0] - 8010266: 4618 mov r0, r3 - 8010268: f7f5 f88e bl 8005388 - 801026c: 4603 mov r3, r0 - 801026e: 461a mov r2, r3 - 8010270: 69fb ldr r3, [r7, #28] - 8010272: 809a strh r2, [r3, #4] + 8010be6: 4b2a ldr r3, [pc, #168] @ (8010c90 ) + 8010be8: 881b ldrh r3, [r3, #0] + 8010bea: 4618 mov r0, r3 + 8010bec: f7f5 f88e bl 8005d0c + 8010bf0: 4603 mov r3, r0 + 8010bf2: 461a mov r2, r3 + 8010bf4: 69fb ldr r3, [r7, #28] + 8010bf6: 809a strh r2, [r3, #4] #if CHECKSUM_GEN_IP_INLINE chk_sum += iphdr->_id; #endif /* CHECKSUM_GEN_IP_INLINE */ ++ip_id; - 8010274: 4b25 ldr r3, [pc, #148] @ (801030c ) - 8010276: 881b ldrh r3, [r3, #0] - 8010278: 3301 adds r3, #1 - 801027a: b29a uxth r2, r3 - 801027c: 4b23 ldr r3, [pc, #140] @ (801030c ) - 801027e: 801a strh r2, [r3, #0] + 8010bf8: 4b25 ldr r3, [pc, #148] @ (8010c90 ) + 8010bfa: 881b ldrh r3, [r3, #0] + 8010bfc: 3301 adds r3, #1 + 8010bfe: b29a uxth r2, r3 + 8010c00: 4b23 ldr r3, [pc, #140] @ (8010c90 ) + 8010c02: 801a strh r2, [r3, #0] if (src == NULL) { - 8010280: 68bb ldr r3, [r7, #8] - 8010282: 2b00 cmp r3, #0 - 8010284: d104 bne.n 8010290 + 8010c04: 68bb ldr r3, [r7, #8] + 8010c06: 2b00 cmp r3, #0 + 8010c08: d104 bne.n 8010c14 ip4_addr_copy(iphdr->src, *IP4_ADDR_ANY4); - 8010286: 4b22 ldr r3, [pc, #136] @ (8010310 ) - 8010288: 681a ldr r2, [r3, #0] - 801028a: 69fb ldr r3, [r7, #28] - 801028c: 60da str r2, [r3, #12] - 801028e: e003 b.n 8010298 + 8010c0a: 4b22 ldr r3, [pc, #136] @ (8010c94 ) + 8010c0c: 681a ldr r2, [r3, #0] + 8010c0e: 69fb ldr r3, [r7, #28] + 8010c10: 60da str r2, [r3, #12] + 8010c12: e003 b.n 8010c1c } else { /* src cannot be NULL here */ ip4_addr_copy(iphdr->src, *src); - 8010290: 68bb ldr r3, [r7, #8] - 8010292: 681a ldr r2, [r3, #0] - 8010294: 69fb ldr r3, [r7, #28] - 8010296: 60da str r2, [r3, #12] + 8010c14: 68bb ldr r3, [r7, #8] + 8010c16: 681a ldr r2, [r3, #0] + 8010c18: 69fb ldr r3, [r7, #28] + 8010c1a: 60da str r2, [r3, #12] else { IPH_CHKSUM_SET(iphdr, 0); } #endif /* LWIP_CHECKSUM_CTRL_PER_NETIF*/ #else /* CHECKSUM_GEN_IP_INLINE */ IPH_CHKSUM_SET(iphdr, 0); - 8010298: 69fb ldr r3, [r7, #28] - 801029a: 2200 movs r2, #0 - 801029c: 729a strb r2, [r3, #10] - 801029e: 2200 movs r2, #0 - 80102a0: 72da strb r2, [r3, #11] - 80102a2: e00f b.n 80102c4 + 8010c1c: 69fb ldr r3, [r7, #28] + 8010c1e: 2200 movs r2, #0 + 8010c20: 729a strb r2, [r3, #10] + 8010c22: 2200 movs r2, #0 + 8010c24: 72da strb r2, [r3, #11] + 8010c26: e00f b.n 8010c48 } #endif /* CHECKSUM_GEN_IP */ #endif /* CHECKSUM_GEN_IP_INLINE */ } else { /* IP header already included in p */ if (p->len < IP_HLEN) { - 80102a4: 68fb ldr r3, [r7, #12] - 80102a6: 895b ldrh r3, [r3, #10] - 80102a8: 2b13 cmp r3, #19 - 80102aa: d802 bhi.n 80102b2 + 8010c28: 68fb ldr r3, [r7, #12] + 8010c2a: 895b ldrh r3, [r3, #10] + 8010c2c: 2b13 cmp r3, #19 + 8010c2e: d802 bhi.n 8010c36 LWIP_DEBUGF(IP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("ip4_output: LWIP_IP_HDRINCL but pbuf is too short\n")); IP_STATS_INC(ip.err); MIB2_STATS_INC(mib2.ipoutdiscards); return ERR_BUF; - 80102ac: f06f 0301 mvn.w r3, #1 - 80102b0: e020 b.n 80102f4 + 8010c30: f06f 0301 mvn.w r3, #1 + 8010c34: e020 b.n 8010c78 } iphdr = (struct ip_hdr *)p->payload; - 80102b2: 68fb ldr r3, [r7, #12] - 80102b4: 685b ldr r3, [r3, #4] - 80102b6: 61fb str r3, [r7, #28] + 8010c36: 68fb ldr r3, [r7, #12] + 8010c38: 685b ldr r3, [r3, #4] + 8010c3a: 61fb str r3, [r7, #28] ip4_addr_copy(dest_addr, iphdr->dest); - 80102b8: 69fb ldr r3, [r7, #28] - 80102ba: 691b ldr r3, [r3, #16] - 80102bc: 617b str r3, [r7, #20] + 8010c3c: 69fb ldr r3, [r7, #28] + 8010c3e: 691b ldr r3, [r3, #16] + 8010c40: 617b str r3, [r7, #20] dest = &dest_addr; - 80102be: f107 0314 add.w r3, r7, #20 - 80102c2: 607b str r3, [r7, #4] + 8010c42: f107 0314 add.w r3, r7, #20 + 8010c46: 607b str r3, [r7, #4] } #endif /* LWIP_MULTICAST_TX_OPTIONS */ #endif /* ENABLE_LOOPBACK */ #if IP_FRAG /* don't fragment if interface has mtu set to 0 [loopif] */ if (netif->mtu && (p->tot_len > netif->mtu)) { - 80102c4: 6b3b ldr r3, [r7, #48] @ 0x30 - 80102c6: 8d1b ldrh r3, [r3, #40] @ 0x28 - 80102c8: 2b00 cmp r3, #0 - 80102ca: d00c beq.n 80102e6 - 80102cc: 68fb ldr r3, [r7, #12] - 80102ce: 891a ldrh r2, [r3, #8] - 80102d0: 6b3b ldr r3, [r7, #48] @ 0x30 - 80102d2: 8d1b ldrh r3, [r3, #40] @ 0x28 - 80102d4: 429a cmp r2, r3 - 80102d6: d906 bls.n 80102e6 + 8010c48: 6b3b ldr r3, [r7, #48] @ 0x30 + 8010c4a: 8d1b ldrh r3, [r3, #40] @ 0x28 + 8010c4c: 2b00 cmp r3, #0 + 8010c4e: d00c beq.n 8010c6a + 8010c50: 68fb ldr r3, [r7, #12] + 8010c52: 891a ldrh r2, [r3, #8] + 8010c54: 6b3b ldr r3, [r7, #48] @ 0x30 + 8010c56: 8d1b ldrh r3, [r3, #40] @ 0x28 + 8010c58: 429a cmp r2, r3 + 8010c5a: d906 bls.n 8010c6a return ip4_frag(p, netif, dest); - 80102d8: 687a ldr r2, [r7, #4] - 80102da: 6b39 ldr r1, [r7, #48] @ 0x30 - 80102dc: 68f8 ldr r0, [r7, #12] - 80102de: f000 fe91 bl 8011004 - 80102e2: 4603 mov r3, r0 - 80102e4: e006 b.n 80102f4 + 8010c5c: 687a ldr r2, [r7, #4] + 8010c5e: 6b39 ldr r1, [r7, #48] @ 0x30 + 8010c60: 68f8 ldr r0, [r7, #12] + 8010c62: f000 fe91 bl 8011988 + 8010c66: 4603 mov r3, r0 + 8010c68: e006 b.n 8010c78 } #endif /* IP_FRAG */ LWIP_DEBUGF(IP_DEBUG, ("ip4_output_if: call netif->output()\n")); return netif->output(netif, p, dest); - 80102e6: 6b3b ldr r3, [r7, #48] @ 0x30 - 80102e8: 695b ldr r3, [r3, #20] - 80102ea: 687a ldr r2, [r7, #4] - 80102ec: 68f9 ldr r1, [r7, #12] - 80102ee: 6b38 ldr r0, [r7, #48] @ 0x30 - 80102f0: 4798 blx r3 - 80102f2: 4603 mov r3, r0 + 8010c6a: 6b3b ldr r3, [r7, #48] @ 0x30 + 8010c6c: 695b ldr r3, [r3, #20] + 8010c6e: 687a ldr r2, [r7, #4] + 8010c70: 68f9 ldr r1, [r7, #12] + 8010c72: 6b38 ldr r0, [r7, #48] @ 0x30 + 8010c74: 4798 blx r3 + 8010c76: 4603 mov r3, r0 } - 80102f4: 4618 mov r0, r3 - 80102f6: 3720 adds r7, #32 - 80102f8: 46bd mov sp, r7 - 80102fa: bd80 pop {r7, pc} - 80102fc: 08018a14 .word 0x08018a14 - 8010300: 08018a48 .word 0x08018a48 - 8010304: 08018a54 .word 0x08018a54 - 8010308: 08018a7c .word 0x08018a7c - 801030c: 2001922a .word 0x2001922a - 8010310: 08018ed4 .word 0x08018ed4 + 8010c78: 4618 mov r0, r3 + 8010c7a: 3720 adds r7, #32 + 8010c7c: 46bd mov sp, r7 + 8010c7e: bd80 pop {r7, pc} + 8010c80: 08019394 .word 0x08019394 + 8010c84: 080193c8 .word 0x080193c8 + 8010c88: 080193d4 .word 0x080193d4 + 8010c8c: 080193fc .word 0x080193fc + 8010c90: 2001925e .word 0x2001925e + 8010c94: 08019854 .word 0x08019854 -08010314 : +08010c98 : * @param netif the network interface against which the address is checked * @return returns non-zero if the address is a broadcast address */ u8_t ip4_addr_isbroadcast_u32(u32_t addr, const struct netif *netif) { - 8010314: b480 push {r7} - 8010316: b085 sub sp, #20 - 8010318: af00 add r7, sp, #0 - 801031a: 6078 str r0, [r7, #4] - 801031c: 6039 str r1, [r7, #0] + 8010c98: b480 push {r7} + 8010c9a: b085 sub sp, #20 + 8010c9c: af00 add r7, sp, #0 + 8010c9e: 6078 str r0, [r7, #4] + 8010ca0: 6039 str r1, [r7, #0] ip4_addr_t ipaddr; ip4_addr_set_u32(&ipaddr, addr); - 801031e: 687b ldr r3, [r7, #4] - 8010320: 60fb str r3, [r7, #12] + 8010ca2: 687b ldr r3, [r7, #4] + 8010ca4: 60fb str r3, [r7, #12] /* all ones (broadcast) or all zeroes (old skool broadcast) */ if ((~addr == IPADDR_ANY) || - 8010322: 687b ldr r3, [r7, #4] - 8010324: f1b3 3fff cmp.w r3, #4294967295 - 8010328: d002 beq.n 8010330 - 801032a: 687b ldr r3, [r7, #4] - 801032c: 2b00 cmp r3, #0 - 801032e: d101 bne.n 8010334 + 8010ca6: 687b ldr r3, [r7, #4] + 8010ca8: f1b3 3fff cmp.w r3, #4294967295 + 8010cac: d002 beq.n 8010cb4 + 8010cae: 687b ldr r3, [r7, #4] + 8010cb0: 2b00 cmp r3, #0 + 8010cb2: d101 bne.n 8010cb8 (addr == IPADDR_ANY)) { return 1; - 8010330: 2301 movs r3, #1 - 8010332: e02a b.n 801038a + 8010cb4: 2301 movs r3, #1 + 8010cb6: e02a b.n 8010d0e /* no broadcast support on this network interface? */ } else if ((netif->flags & NETIF_FLAG_BROADCAST) == 0) { - 8010334: 683b ldr r3, [r7, #0] - 8010336: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 801033a: f003 0302 and.w r3, r3, #2 - 801033e: 2b00 cmp r3, #0 - 8010340: d101 bne.n 8010346 + 8010cb8: 683b ldr r3, [r7, #0] + 8010cba: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8010cbe: f003 0302 and.w r3, r3, #2 + 8010cc2: 2b00 cmp r3, #0 + 8010cc4: d101 bne.n 8010cca /* the given address cannot be a broadcast address * nor can we check against any broadcast addresses */ return 0; - 8010342: 2300 movs r3, #0 - 8010344: e021 b.n 801038a + 8010cc6: 2300 movs r3, #0 + 8010cc8: e021 b.n 8010d0e /* address matches network interface address exactly? => no broadcast */ } else if (addr == ip4_addr_get_u32(netif_ip4_addr(netif))) { - 8010346: 683b ldr r3, [r7, #0] - 8010348: 3304 adds r3, #4 - 801034a: 681b ldr r3, [r3, #0] - 801034c: 687a ldr r2, [r7, #4] - 801034e: 429a cmp r2, r3 - 8010350: d101 bne.n 8010356 + 8010cca: 683b ldr r3, [r7, #0] + 8010ccc: 3304 adds r3, #4 + 8010cce: 681b ldr r3, [r3, #0] + 8010cd0: 687a ldr r2, [r7, #4] + 8010cd2: 429a cmp r2, r3 + 8010cd4: d101 bne.n 8010cda return 0; - 8010352: 2300 movs r3, #0 - 8010354: e019 b.n 801038a + 8010cd6: 2300 movs r3, #0 + 8010cd8: e019 b.n 8010d0e /* on the same (sub) network... */ } else if (ip4_addr_netcmp(&ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(netif)) - 8010356: 68fa ldr r2, [r7, #12] - 8010358: 683b ldr r3, [r7, #0] - 801035a: 3304 adds r3, #4 - 801035c: 681b ldr r3, [r3, #0] - 801035e: 405a eors r2, r3 - 8010360: 683b ldr r3, [r7, #0] - 8010362: 3308 adds r3, #8 - 8010364: 681b ldr r3, [r3, #0] - 8010366: 4013 ands r3, r2 - 8010368: 2b00 cmp r3, #0 - 801036a: d10d bne.n 8010388 + 8010cda: 68fa ldr r2, [r7, #12] + 8010cdc: 683b ldr r3, [r7, #0] + 8010cde: 3304 adds r3, #4 + 8010ce0: 681b ldr r3, [r3, #0] + 8010ce2: 405a eors r2, r3 + 8010ce4: 683b ldr r3, [r7, #0] + 8010ce6: 3308 adds r3, #8 + 8010ce8: 681b ldr r3, [r3, #0] + 8010cea: 4013 ands r3, r2 + 8010cec: 2b00 cmp r3, #0 + 8010cee: d10d bne.n 8010d0c /* ...and host identifier bits are all ones? =>... */ && ((addr & ~ip4_addr_get_u32(netif_ip4_netmask(netif))) == - 801036c: 683b ldr r3, [r7, #0] - 801036e: 3308 adds r3, #8 - 8010370: 681b ldr r3, [r3, #0] - 8010372: 43da mvns r2, r3 - 8010374: 687b ldr r3, [r7, #4] - 8010376: 401a ands r2, r3 + 8010cf0: 683b ldr r3, [r7, #0] + 8010cf2: 3308 adds r3, #8 + 8010cf4: 681b ldr r3, [r3, #0] + 8010cf6: 43da mvns r2, r3 + 8010cf8: 687b ldr r3, [r7, #4] + 8010cfa: 401a ands r2, r3 (IPADDR_BROADCAST & ~ip4_addr_get_u32(netif_ip4_netmask(netif))))) { - 8010378: 683b ldr r3, [r7, #0] - 801037a: 3308 adds r3, #8 - 801037c: 681b ldr r3, [r3, #0] - 801037e: 43db mvns r3, r3 + 8010cfc: 683b ldr r3, [r7, #0] + 8010cfe: 3308 adds r3, #8 + 8010d00: 681b ldr r3, [r3, #0] + 8010d02: 43db mvns r3, r3 && ((addr & ~ip4_addr_get_u32(netif_ip4_netmask(netif))) == - 8010380: 429a cmp r2, r3 - 8010382: d101 bne.n 8010388 + 8010d04: 429a cmp r2, r3 + 8010d06: d101 bne.n 8010d0c /* => network broadcast address */ return 1; - 8010384: 2301 movs r3, #1 - 8010386: e000 b.n 801038a + 8010d08: 2301 movs r3, #1 + 8010d0a: e000 b.n 8010d0e } else { return 0; - 8010388: 2300 movs r3, #0 + 8010d0c: 2300 movs r3, #0 } } - 801038a: 4618 mov r0, r3 - 801038c: 3714 adds r7, #20 - 801038e: 46bd mov sp, r7 - 8010390: f85d 7b04 ldr.w r7, [sp], #4 - 8010394: 4770 bx lr + 8010d0e: 4618 mov r0, r3 + 8010d10: 3714 adds r7, #20 + 8010d12: 46bd mov sp, r7 + 8010d14: f85d 7b04 ldr.w r7, [sp], #4 + 8010d18: 4770 bx lr -08010396 : +08010d1a : * @param cp IP address in ascii representation (e.g. "127.0.0.1") * @return ip address in network order */ u32_t ipaddr_addr(const char *cp) { - 8010396: b580 push {r7, lr} - 8010398: b084 sub sp, #16 - 801039a: af00 add r7, sp, #0 - 801039c: 6078 str r0, [r7, #4] + 8010d1a: b580 push {r7, lr} + 8010d1c: b084 sub sp, #16 + 8010d1e: af00 add r7, sp, #0 + 8010d20: 6078 str r0, [r7, #4] ip4_addr_t val; if (ip4addr_aton(cp, &val)) { - 801039e: f107 030c add.w r3, r7, #12 - 80103a2: 4619 mov r1, r3 - 80103a4: 6878 ldr r0, [r7, #4] - 80103a6: f000 f80b bl 80103c0 - 80103aa: 4603 mov r3, r0 - 80103ac: 2b00 cmp r3, #0 - 80103ae: d001 beq.n 80103b4 + 8010d22: f107 030c add.w r3, r7, #12 + 8010d26: 4619 mov r1, r3 + 8010d28: 6878 ldr r0, [r7, #4] + 8010d2a: f000 f80b bl 8010d44 + 8010d2e: 4603 mov r3, r0 + 8010d30: 2b00 cmp r3, #0 + 8010d32: d001 beq.n 8010d38 return ip4_addr_get_u32(&val); - 80103b0: 68fb ldr r3, [r7, #12] - 80103b2: e001 b.n 80103b8 + 8010d34: 68fb ldr r3, [r7, #12] + 8010d36: e001 b.n 8010d3c } return (IPADDR_NONE); - 80103b4: f04f 33ff mov.w r3, #4294967295 + 8010d38: f04f 33ff mov.w r3, #4294967295 } - 80103b8: 4618 mov r0, r3 - 80103ba: 3710 adds r7, #16 - 80103bc: 46bd mov sp, r7 - 80103be: bd80 pop {r7, pc} + 8010d3c: 4618 mov r0, r3 + 8010d3e: 3710 adds r7, #16 + 8010d40: 46bd mov sp, r7 + 8010d42: bd80 pop {r7, pc} -080103c0 : +08010d44 : * @param addr pointer to which to save the ip address in network order * @return 1 if cp could be converted to addr, 0 on failure */ int ip4addr_aton(const char *cp, ip4_addr_t *addr) { - 80103c0: b580 push {r7, lr} - 80103c2: b08a sub sp, #40 @ 0x28 - 80103c4: af00 add r7, sp, #0 - 80103c6: 6078 str r0, [r7, #4] - 80103c8: 6039 str r1, [r7, #0] + 8010d44: b580 push {r7, lr} + 8010d46: b08a sub sp, #40 @ 0x28 + 8010d48: af00 add r7, sp, #0 + 8010d4a: 6078 str r0, [r7, #4] + 8010d4c: 6039 str r1, [r7, #0] u32_t val; u8_t base; char c; u32_t parts[4]; u32_t *pp = parts; - 80103ca: f107 030c add.w r3, r7, #12 - 80103ce: 61fb str r3, [r7, #28] + 8010d4e: f107 030c add.w r3, r7, #12 + 8010d52: 61fb str r3, [r7, #28] c = *cp; - 80103d0: 687b ldr r3, [r7, #4] - 80103d2: 781b ldrb r3, [r3, #0] - 80103d4: f887 3022 strb.w r3, [r7, #34] @ 0x22 + 8010d54: 687b ldr r3, [r7, #4] + 8010d56: 781b ldrb r3, [r3, #0] + 8010d58: f887 3022 strb.w r3, [r7, #34] @ 0x22 /* * Collect number up to ``.''. * Values are specified as for C: * 0x=hex, 0=octal, 1-9=decimal. */ if (!lwip_isdigit(c)) { - 80103d8: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 - 80103dc: 3301 adds r3, #1 - 80103de: 4a89 ldr r2, [pc, #548] @ (8010604 ) - 80103e0: 4413 add r3, r2 - 80103e2: 781b ldrb r3, [r3, #0] - 80103e4: f003 0304 and.w r3, r3, #4 - 80103e8: 2b00 cmp r3, #0 - 80103ea: d101 bne.n 80103f0 + 8010d5c: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 + 8010d60: 3301 adds r3, #1 + 8010d62: 4a89 ldr r2, [pc, #548] @ (8010f88 ) + 8010d64: 4413 add r3, r2 + 8010d66: 781b ldrb r3, [r3, #0] + 8010d68: f003 0304 and.w r3, r3, #4 + 8010d6c: 2b00 cmp r3, #0 + 8010d6e: d101 bne.n 8010d74 return 0; - 80103ec: 2300 movs r3, #0 - 80103ee: e105 b.n 80105fc + 8010d70: 2300 movs r3, #0 + 8010d72: e105 b.n 8010f80 } val = 0; - 80103f0: 2300 movs r3, #0 - 80103f2: 627b str r3, [r7, #36] @ 0x24 + 8010d74: 2300 movs r3, #0 + 8010d76: 627b str r3, [r7, #36] @ 0x24 base = 10; - 80103f4: 230a movs r3, #10 - 80103f6: f887 3023 strb.w r3, [r7, #35] @ 0x23 + 8010d78: 230a movs r3, #10 + 8010d7a: f887 3023 strb.w r3, [r7, #35] @ 0x23 if (c == '0') { - 80103fa: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 - 80103fe: 2b30 cmp r3, #48 @ 0x30 - 8010400: d11c bne.n 801043c + 8010d7e: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 + 8010d82: 2b30 cmp r3, #48 @ 0x30 + 8010d84: d11c bne.n 8010dc0 c = *++cp; - 8010402: 687b ldr r3, [r7, #4] - 8010404: 3301 adds r3, #1 - 8010406: 607b str r3, [r7, #4] - 8010408: 687b ldr r3, [r7, #4] - 801040a: 781b ldrb r3, [r3, #0] - 801040c: f887 3022 strb.w r3, [r7, #34] @ 0x22 + 8010d86: 687b ldr r3, [r7, #4] + 8010d88: 3301 adds r3, #1 + 8010d8a: 607b str r3, [r7, #4] + 8010d8c: 687b ldr r3, [r7, #4] + 8010d8e: 781b ldrb r3, [r3, #0] + 8010d90: f887 3022 strb.w r3, [r7, #34] @ 0x22 if (c == 'x' || c == 'X') { - 8010410: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 - 8010414: 2b78 cmp r3, #120 @ 0x78 - 8010416: d003 beq.n 8010420 - 8010418: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 - 801041c: 2b58 cmp r3, #88 @ 0x58 - 801041e: d10a bne.n 8010436 + 8010d94: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 + 8010d98: 2b78 cmp r3, #120 @ 0x78 + 8010d9a: d003 beq.n 8010da4 + 8010d9c: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 + 8010da0: 2b58 cmp r3, #88 @ 0x58 + 8010da2: d10a bne.n 8010dba base = 16; - 8010420: 2310 movs r3, #16 - 8010422: f887 3023 strb.w r3, [r7, #35] @ 0x23 + 8010da4: 2310 movs r3, #16 + 8010da6: f887 3023 strb.w r3, [r7, #35] @ 0x23 c = *++cp; - 8010426: 687b ldr r3, [r7, #4] - 8010428: 3301 adds r3, #1 - 801042a: 607b str r3, [r7, #4] - 801042c: 687b ldr r3, [r7, #4] - 801042e: 781b ldrb r3, [r3, #0] - 8010430: f887 3022 strb.w r3, [r7, #34] @ 0x22 - 8010434: e002 b.n 801043c + 8010daa: 687b ldr r3, [r7, #4] + 8010dac: 3301 adds r3, #1 + 8010dae: 607b str r3, [r7, #4] + 8010db0: 687b ldr r3, [r7, #4] + 8010db2: 781b ldrb r3, [r3, #0] + 8010db4: f887 3022 strb.w r3, [r7, #34] @ 0x22 + 8010db8: e002 b.n 8010dc0 } else { base = 8; - 8010436: 2308 movs r3, #8 - 8010438: f887 3023 strb.w r3, [r7, #35] @ 0x23 + 8010dba: 2308 movs r3, #8 + 8010dbc: f887 3023 strb.w r3, [r7, #35] @ 0x23 } } for (;;) { if (lwip_isdigit(c)) { - 801043c: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 - 8010440: 3301 adds r3, #1 - 8010442: 4a70 ldr r2, [pc, #448] @ (8010604 ) - 8010444: 4413 add r3, r2 - 8010446: 781b ldrb r3, [r3, #0] - 8010448: f003 0304 and.w r3, r3, #4 - 801044c: 2b00 cmp r3, #0 - 801044e: d011 beq.n 8010474 + 8010dc0: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 + 8010dc4: 3301 adds r3, #1 + 8010dc6: 4a70 ldr r2, [pc, #448] @ (8010f88 ) + 8010dc8: 4413 add r3, r2 + 8010dca: 781b ldrb r3, [r3, #0] + 8010dcc: f003 0304 and.w r3, r3, #4 + 8010dd0: 2b00 cmp r3, #0 + 8010dd2: d011 beq.n 8010df8 val = (val * base) + (u32_t)(c - '0'); - 8010450: f897 3023 ldrb.w r3, [r7, #35] @ 0x23 - 8010454: 6a7a ldr r2, [r7, #36] @ 0x24 - 8010456: fb03 f202 mul.w r2, r3, r2 - 801045a: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 - 801045e: 4413 add r3, r2 - 8010460: 3b30 subs r3, #48 @ 0x30 - 8010462: 627b str r3, [r7, #36] @ 0x24 + 8010dd4: f897 3023 ldrb.w r3, [r7, #35] @ 0x23 + 8010dd8: 6a7a ldr r2, [r7, #36] @ 0x24 + 8010dda: fb03 f202 mul.w r2, r3, r2 + 8010dde: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 + 8010de2: 4413 add r3, r2 + 8010de4: 3b30 subs r3, #48 @ 0x30 + 8010de6: 627b str r3, [r7, #36] @ 0x24 c = *++cp; - 8010464: 687b ldr r3, [r7, #4] - 8010466: 3301 adds r3, #1 - 8010468: 607b str r3, [r7, #4] - 801046a: 687b ldr r3, [r7, #4] - 801046c: 781b ldrb r3, [r3, #0] - 801046e: f887 3022 strb.w r3, [r7, #34] @ 0x22 - 8010472: e7e3 b.n 801043c + 8010de8: 687b ldr r3, [r7, #4] + 8010dea: 3301 adds r3, #1 + 8010dec: 607b str r3, [r7, #4] + 8010dee: 687b ldr r3, [r7, #4] + 8010df0: 781b ldrb r3, [r3, #0] + 8010df2: f887 3022 strb.w r3, [r7, #34] @ 0x22 + 8010df6: e7e3 b.n 8010dc0 } else if (base == 16 && lwip_isxdigit(c)) { - 8010474: f897 3023 ldrb.w r3, [r7, #35] @ 0x23 - 8010478: 2b10 cmp r3, #16 - 801047a: d127 bne.n 80104cc - 801047c: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 - 8010480: 3301 adds r3, #1 - 8010482: 4a60 ldr r2, [pc, #384] @ (8010604 ) - 8010484: 4413 add r3, r2 - 8010486: 781b ldrb r3, [r3, #0] - 8010488: f003 0344 and.w r3, r3, #68 @ 0x44 - 801048c: 2b00 cmp r3, #0 - 801048e: d01d beq.n 80104cc + 8010df8: f897 3023 ldrb.w r3, [r7, #35] @ 0x23 + 8010dfc: 2b10 cmp r3, #16 + 8010dfe: d127 bne.n 8010e50 + 8010e00: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 + 8010e04: 3301 adds r3, #1 + 8010e06: 4a60 ldr r2, [pc, #384] @ (8010f88 ) + 8010e08: 4413 add r3, r2 + 8010e0a: 781b ldrb r3, [r3, #0] + 8010e0c: f003 0344 and.w r3, r3, #68 @ 0x44 + 8010e10: 2b00 cmp r3, #0 + 8010e12: d01d beq.n 8010e50 val = (val << 4) | (u32_t)(c + 10 - (lwip_islower(c) ? 'a' : 'A')); - 8010490: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010492: 011b lsls r3, r3, #4 - 8010494: f897 2022 ldrb.w r2, [r7, #34] @ 0x22 - 8010498: f102 010a add.w r1, r2, #10 - 801049c: f897 2022 ldrb.w r2, [r7, #34] @ 0x22 - 80104a0: 3201 adds r2, #1 - 80104a2: 4858 ldr r0, [pc, #352] @ (8010604 ) - 80104a4: 4402 add r2, r0 - 80104a6: 7812 ldrb r2, [r2, #0] - 80104a8: f002 0203 and.w r2, r2, #3 - 80104ac: 2a02 cmp r2, #2 - 80104ae: d101 bne.n 80104b4 - 80104b0: 2261 movs r2, #97 @ 0x61 - 80104b2: e000 b.n 80104b6 - 80104b4: 2241 movs r2, #65 @ 0x41 - 80104b6: 1a8a subs r2, r1, r2 - 80104b8: 4313 orrs r3, r2 - 80104ba: 627b str r3, [r7, #36] @ 0x24 + 8010e14: 6a7b ldr r3, [r7, #36] @ 0x24 + 8010e16: 011b lsls r3, r3, #4 + 8010e18: f897 2022 ldrb.w r2, [r7, #34] @ 0x22 + 8010e1c: f102 010a add.w r1, r2, #10 + 8010e20: f897 2022 ldrb.w r2, [r7, #34] @ 0x22 + 8010e24: 3201 adds r2, #1 + 8010e26: 4858 ldr r0, [pc, #352] @ (8010f88 ) + 8010e28: 4402 add r2, r0 + 8010e2a: 7812 ldrb r2, [r2, #0] + 8010e2c: f002 0203 and.w r2, r2, #3 + 8010e30: 2a02 cmp r2, #2 + 8010e32: d101 bne.n 8010e38 + 8010e34: 2261 movs r2, #97 @ 0x61 + 8010e36: e000 b.n 8010e3a + 8010e38: 2241 movs r2, #65 @ 0x41 + 8010e3a: 1a8a subs r2, r1, r2 + 8010e3c: 4313 orrs r3, r2 + 8010e3e: 627b str r3, [r7, #36] @ 0x24 c = *++cp; - 80104bc: 687b ldr r3, [r7, #4] - 80104be: 3301 adds r3, #1 - 80104c0: 607b str r3, [r7, #4] - 80104c2: 687b ldr r3, [r7, #4] - 80104c4: 781b ldrb r3, [r3, #0] - 80104c6: f887 3022 strb.w r3, [r7, #34] @ 0x22 + 8010e40: 687b ldr r3, [r7, #4] + 8010e42: 3301 adds r3, #1 + 8010e44: 607b str r3, [r7, #4] + 8010e46: 687b ldr r3, [r7, #4] + 8010e48: 781b ldrb r3, [r3, #0] + 8010e4a: f887 3022 strb.w r3, [r7, #34] @ 0x22 if (lwip_isdigit(c)) { - 80104ca: e7b7 b.n 801043c + 8010e4e: e7b7 b.n 8010dc0 } else { break; } } if (c == '.') { - 80104cc: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 - 80104d0: 2b2e cmp r3, #46 @ 0x2e - 80104d2: d114 bne.n 80104fe + 8010e50: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 + 8010e54: 2b2e cmp r3, #46 @ 0x2e + 8010e56: d114 bne.n 8010e82 * Internet format: * a.b.c.d * a.b.c (with c treated as 16 bits) * a.b (with b treated as 24 bits) */ if (pp >= parts + 3) { - 80104d4: f107 030c add.w r3, r7, #12 - 80104d8: 330c adds r3, #12 - 80104da: 69fa ldr r2, [r7, #28] - 80104dc: 429a cmp r2, r3 - 80104de: d301 bcc.n 80104e4 + 8010e58: f107 030c add.w r3, r7, #12 + 8010e5c: 330c adds r3, #12 + 8010e5e: 69fa ldr r2, [r7, #28] + 8010e60: 429a cmp r2, r3 + 8010e62: d301 bcc.n 8010e68 return 0; - 80104e0: 2300 movs r3, #0 - 80104e2: e08b b.n 80105fc + 8010e64: 2300 movs r3, #0 + 8010e66: e08b b.n 8010f80 } *pp++ = val; - 80104e4: 69fb ldr r3, [r7, #28] - 80104e6: 1d1a adds r2, r3, #4 - 80104e8: 61fa str r2, [r7, #28] - 80104ea: 6a7a ldr r2, [r7, #36] @ 0x24 - 80104ec: 601a str r2, [r3, #0] + 8010e68: 69fb ldr r3, [r7, #28] + 8010e6a: 1d1a adds r2, r3, #4 + 8010e6c: 61fa str r2, [r7, #28] + 8010e6e: 6a7a ldr r2, [r7, #36] @ 0x24 + 8010e70: 601a str r2, [r3, #0] c = *++cp; - 80104ee: 687b ldr r3, [r7, #4] - 80104f0: 3301 adds r3, #1 - 80104f2: 607b str r3, [r7, #4] - 80104f4: 687b ldr r3, [r7, #4] - 80104f6: 781b ldrb r3, [r3, #0] - 80104f8: f887 3022 strb.w r3, [r7, #34] @ 0x22 + 8010e72: 687b ldr r3, [r7, #4] + 8010e74: 3301 adds r3, #1 + 8010e76: 607b str r3, [r7, #4] + 8010e78: 687b ldr r3, [r7, #4] + 8010e7a: 781b ldrb r3, [r3, #0] + 8010e7c: f887 3022 strb.w r3, [r7, #34] @ 0x22 if (!lwip_isdigit(c)) { - 80104fc: e76c b.n 80103d8 + 8010e80: e76c b.n 8010d5c } else { break; - 80104fe: bf00 nop + 8010e82: bf00 nop } } /* * Check for trailing characters. */ if (c != '\0' && !lwip_isspace(c)) { - 8010500: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 - 8010504: 2b00 cmp r3, #0 - 8010506: d00b beq.n 8010520 - 8010508: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 - 801050c: 3301 adds r3, #1 - 801050e: 4a3d ldr r2, [pc, #244] @ (8010604 ) - 8010510: 4413 add r3, r2 - 8010512: 781b ldrb r3, [r3, #0] - 8010514: f003 0308 and.w r3, r3, #8 - 8010518: 2b00 cmp r3, #0 - 801051a: d101 bne.n 8010520 + 8010e84: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 + 8010e88: 2b00 cmp r3, #0 + 8010e8a: d00b beq.n 8010ea4 + 8010e8c: f897 3022 ldrb.w r3, [r7, #34] @ 0x22 + 8010e90: 3301 adds r3, #1 + 8010e92: 4a3d ldr r2, [pc, #244] @ (8010f88 ) + 8010e94: 4413 add r3, r2 + 8010e96: 781b ldrb r3, [r3, #0] + 8010e98: f003 0308 and.w r3, r3, #8 + 8010e9c: 2b00 cmp r3, #0 + 8010e9e: d101 bne.n 8010ea4 return 0; - 801051c: 2300 movs r3, #0 - 801051e: e06d b.n 80105fc + 8010ea0: 2300 movs r3, #0 + 8010ea2: e06d b.n 8010f80 } /* * Concoct the address according to * the number of parts specified. */ switch (pp - parts + 1) { - 8010520: f107 030c add.w r3, r7, #12 - 8010524: 69fa ldr r2, [r7, #28] - 8010526: 1ad3 subs r3, r2, r3 - 8010528: 109b asrs r3, r3, #2 - 801052a: 3301 adds r3, #1 - 801052c: 2b04 cmp r3, #4 - 801052e: d853 bhi.n 80105d8 - 8010530: a201 add r2, pc, #4 @ (adr r2, 8010538 ) - 8010532: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8010536: bf00 nop - 8010538: 0801054d .word 0x0801054d - 801053c: 080105e7 .word 0x080105e7 - 8010540: 08010551 .word 0x08010551 - 8010544: 08010573 .word 0x08010573 - 8010548: 080105a1 .word 0x080105a1 + 8010ea4: f107 030c add.w r3, r7, #12 + 8010ea8: 69fa ldr r2, [r7, #28] + 8010eaa: 1ad3 subs r3, r2, r3 + 8010eac: 109b asrs r3, r3, #2 + 8010eae: 3301 adds r3, #1 + 8010eb0: 2b04 cmp r3, #4 + 8010eb2: d853 bhi.n 8010f5c + 8010eb4: a201 add r2, pc, #4 @ (adr r2, 8010ebc ) + 8010eb6: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8010eba: bf00 nop + 8010ebc: 08010ed1 .word 0x08010ed1 + 8010ec0: 08010f6b .word 0x08010f6b + 8010ec4: 08010ed5 .word 0x08010ed5 + 8010ec8: 08010ef7 .word 0x08010ef7 + 8010ecc: 08010f25 .word 0x08010f25 case 0: return 0; /* initial nondigit */ - 801054c: 2300 movs r3, #0 - 801054e: e055 b.n 80105fc + 8010ed0: 2300 movs r3, #0 + 8010ed2: e055 b.n 8010f80 case 1: /* a -- 32 bits */ break; case 2: /* a.b -- 8.24 bits */ if (val > 0xffffffUL) { - 8010550: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010552: f1b3 7f80 cmp.w r3, #16777216 @ 0x1000000 - 8010556: d301 bcc.n 801055c + 8010ed4: 6a7b ldr r3, [r7, #36] @ 0x24 + 8010ed6: f1b3 7f80 cmp.w r3, #16777216 @ 0x1000000 + 8010eda: d301 bcc.n 8010ee0 return 0; - 8010558: 2300 movs r3, #0 - 801055a: e04f b.n 80105fc + 8010edc: 2300 movs r3, #0 + 8010ede: e04f b.n 8010f80 } if (parts[0] > 0xff) { - 801055c: 68fb ldr r3, [r7, #12] - 801055e: 2bff cmp r3, #255 @ 0xff - 8010560: d901 bls.n 8010566 + 8010ee0: 68fb ldr r3, [r7, #12] + 8010ee2: 2bff cmp r3, #255 @ 0xff + 8010ee4: d901 bls.n 8010eea return 0; - 8010562: 2300 movs r3, #0 - 8010564: e04a b.n 80105fc + 8010ee6: 2300 movs r3, #0 + 8010ee8: e04a b.n 8010f80 } val |= parts[0] << 24; - 8010566: 68fb ldr r3, [r7, #12] - 8010568: 061b lsls r3, r3, #24 - 801056a: 6a7a ldr r2, [r7, #36] @ 0x24 - 801056c: 4313 orrs r3, r2 - 801056e: 627b str r3, [r7, #36] @ 0x24 + 8010eea: 68fb ldr r3, [r7, #12] + 8010eec: 061b lsls r3, r3, #24 + 8010eee: 6a7a ldr r2, [r7, #36] @ 0x24 + 8010ef0: 4313 orrs r3, r2 + 8010ef2: 627b str r3, [r7, #36] @ 0x24 break; - 8010570: e03a b.n 80105e8 + 8010ef4: e03a b.n 8010f6c case 3: /* a.b.c -- 8.8.16 bits */ if (val > 0xffff) { - 8010572: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010574: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8010578: d301 bcc.n 801057e + 8010ef6: 6a7b ldr r3, [r7, #36] @ 0x24 + 8010ef8: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8010efc: d301 bcc.n 8010f02 return 0; - 801057a: 2300 movs r3, #0 - 801057c: e03e b.n 80105fc + 8010efe: 2300 movs r3, #0 + 8010f00: e03e b.n 8010f80 } if ((parts[0] > 0xff) || (parts[1] > 0xff)) { - 801057e: 68fb ldr r3, [r7, #12] - 8010580: 2bff cmp r3, #255 @ 0xff - 8010582: d802 bhi.n 801058a - 8010584: 693b ldr r3, [r7, #16] - 8010586: 2bff cmp r3, #255 @ 0xff - 8010588: d901 bls.n 801058e + 8010f02: 68fb ldr r3, [r7, #12] + 8010f04: 2bff cmp r3, #255 @ 0xff + 8010f06: d802 bhi.n 8010f0e + 8010f08: 693b ldr r3, [r7, #16] + 8010f0a: 2bff cmp r3, #255 @ 0xff + 8010f0c: d901 bls.n 8010f12 return 0; - 801058a: 2300 movs r3, #0 - 801058c: e036 b.n 80105fc + 8010f0e: 2300 movs r3, #0 + 8010f10: e036 b.n 8010f80 } val |= (parts[0] << 24) | (parts[1] << 16); - 801058e: 68fb ldr r3, [r7, #12] - 8010590: 061a lsls r2, r3, #24 - 8010592: 693b ldr r3, [r7, #16] - 8010594: 041b lsls r3, r3, #16 - 8010596: 4313 orrs r3, r2 - 8010598: 6a7a ldr r2, [r7, #36] @ 0x24 - 801059a: 4313 orrs r3, r2 - 801059c: 627b str r3, [r7, #36] @ 0x24 + 8010f12: 68fb ldr r3, [r7, #12] + 8010f14: 061a lsls r2, r3, #24 + 8010f16: 693b ldr r3, [r7, #16] + 8010f18: 041b lsls r3, r3, #16 + 8010f1a: 4313 orrs r3, r2 + 8010f1c: 6a7a ldr r2, [r7, #36] @ 0x24 + 8010f1e: 4313 orrs r3, r2 + 8010f20: 627b str r3, [r7, #36] @ 0x24 break; - 801059e: e023 b.n 80105e8 + 8010f22: e023 b.n 8010f6c case 4: /* a.b.c.d -- 8.8.8.8 bits */ if (val > 0xff) { - 80105a0: 6a7b ldr r3, [r7, #36] @ 0x24 - 80105a2: 2bff cmp r3, #255 @ 0xff - 80105a4: d901 bls.n 80105aa + 8010f24: 6a7b ldr r3, [r7, #36] @ 0x24 + 8010f26: 2bff cmp r3, #255 @ 0xff + 8010f28: d901 bls.n 8010f2e return 0; - 80105a6: 2300 movs r3, #0 - 80105a8: e028 b.n 80105fc + 8010f2a: 2300 movs r3, #0 + 8010f2c: e028 b.n 8010f80 } if ((parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff)) { - 80105aa: 68fb ldr r3, [r7, #12] - 80105ac: 2bff cmp r3, #255 @ 0xff - 80105ae: d805 bhi.n 80105bc - 80105b0: 693b ldr r3, [r7, #16] - 80105b2: 2bff cmp r3, #255 @ 0xff - 80105b4: d802 bhi.n 80105bc - 80105b6: 697b ldr r3, [r7, #20] - 80105b8: 2bff cmp r3, #255 @ 0xff - 80105ba: d901 bls.n 80105c0 + 8010f2e: 68fb ldr r3, [r7, #12] + 8010f30: 2bff cmp r3, #255 @ 0xff + 8010f32: d805 bhi.n 8010f40 + 8010f34: 693b ldr r3, [r7, #16] + 8010f36: 2bff cmp r3, #255 @ 0xff + 8010f38: d802 bhi.n 8010f40 + 8010f3a: 697b ldr r3, [r7, #20] + 8010f3c: 2bff cmp r3, #255 @ 0xff + 8010f3e: d901 bls.n 8010f44 return 0; - 80105bc: 2300 movs r3, #0 - 80105be: e01d b.n 80105fc + 8010f40: 2300 movs r3, #0 + 8010f42: e01d b.n 8010f80 } val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); - 80105c0: 68fb ldr r3, [r7, #12] - 80105c2: 061a lsls r2, r3, #24 - 80105c4: 693b ldr r3, [r7, #16] - 80105c6: 041b lsls r3, r3, #16 - 80105c8: 431a orrs r2, r3 - 80105ca: 697b ldr r3, [r7, #20] - 80105cc: 021b lsls r3, r3, #8 - 80105ce: 4313 orrs r3, r2 - 80105d0: 6a7a ldr r2, [r7, #36] @ 0x24 - 80105d2: 4313 orrs r3, r2 - 80105d4: 627b str r3, [r7, #36] @ 0x24 + 8010f44: 68fb ldr r3, [r7, #12] + 8010f46: 061a lsls r2, r3, #24 + 8010f48: 693b ldr r3, [r7, #16] + 8010f4a: 041b lsls r3, r3, #16 + 8010f4c: 431a orrs r2, r3 + 8010f4e: 697b ldr r3, [r7, #20] + 8010f50: 021b lsls r3, r3, #8 + 8010f52: 4313 orrs r3, r2 + 8010f54: 6a7a ldr r2, [r7, #36] @ 0x24 + 8010f56: 4313 orrs r3, r2 + 8010f58: 627b str r3, [r7, #36] @ 0x24 break; - 80105d6: e007 b.n 80105e8 + 8010f5a: e007 b.n 8010f6c default: LWIP_ASSERT("unhandled", 0); - 80105d8: 4b0b ldr r3, [pc, #44] @ (8010608 ) - 80105da: 22f9 movs r2, #249 @ 0xf9 - 80105dc: 490b ldr r1, [pc, #44] @ (801060c ) - 80105de: 480c ldr r0, [pc, #48] @ (8010610 ) - 80105e0: f001 f80a bl 80115f8 + 8010f5c: 4b0b ldr r3, [pc, #44] @ (8010f8c ) + 8010f5e: 22f9 movs r2, #249 @ 0xf9 + 8010f60: 490b ldr r1, [pc, #44] @ (8010f90 ) + 8010f62: 480c ldr r0, [pc, #48] @ (8010f94 ) + 8010f64: f001 f80a bl 8011f7c break; - 80105e4: e000 b.n 80105e8 + 8010f68: e000 b.n 8010f6c break; - 80105e6: bf00 nop + 8010f6a: bf00 nop } if (addr) { - 80105e8: 683b ldr r3, [r7, #0] - 80105ea: 2b00 cmp r3, #0 - 80105ec: d005 beq.n 80105fa + 8010f6c: 683b ldr r3, [r7, #0] + 8010f6e: 2b00 cmp r3, #0 + 8010f70: d005 beq.n 8010f7e ip4_addr_set_u32(addr, lwip_htonl(val)); - 80105ee: 6a78 ldr r0, [r7, #36] @ 0x24 - 80105f0: f7f4 fedf bl 80053b2 - 80105f4: 4602 mov r2, r0 - 80105f6: 683b ldr r3, [r7, #0] - 80105f8: 601a str r2, [r3, #0] + 8010f72: 6a78 ldr r0, [r7, #36] @ 0x24 + 8010f74: f7f4 fedf bl 8005d36 + 8010f78: 4602 mov r2, r0 + 8010f7a: 683b ldr r3, [r7, #0] + 8010f7c: 601a str r2, [r3, #0] } return 1; - 80105fa: 2301 movs r3, #1 + 8010f7e: 2301 movs r3, #1 } - 80105fc: 4618 mov r0, r3 - 80105fe: 3728 adds r7, #40 @ 0x28 - 8010600: 46bd mov sp, r7 - 8010602: bd80 pop {r7, pc} - 8010604: 08018eea .word 0x08018eea - 8010608: 08018aac .word 0x08018aac - 801060c: 08018ae8 .word 0x08018ae8 - 8010610: 08018af4 .word 0x08018af4 + 8010f80: 4618 mov r0, r3 + 8010f82: 3728 adds r7, #40 @ 0x28 + 8010f84: 46bd mov sp, r7 + 8010f86: bd80 pop {r7, pc} + 8010f88: 0801986a .word 0x0801986a + 8010f8c: 0801942c .word 0x0801942c + 8010f90: 08019468 .word 0x08019468 + 8010f94: 08019474 .word 0x08019474 -08010614 : +08010f98 : * * Should be called every 1000 msec (defined by IP_TMR_INTERVAL). */ void ip_reass_tmr(void) { - 8010614: b580 push {r7, lr} - 8010616: b084 sub sp, #16 - 8010618: af00 add r7, sp, #0 + 8010f98: b580 push {r7, lr} + 8010f9a: b084 sub sp, #16 + 8010f9c: af00 add r7, sp, #0 struct ip_reassdata *r, *prev = NULL; - 801061a: 2300 movs r3, #0 - 801061c: 60bb str r3, [r7, #8] + 8010f9e: 2300 movs r3, #0 + 8010fa0: 60bb str r3, [r7, #8] r = reassdatagrams; - 801061e: 4b12 ldr r3, [pc, #72] @ (8010668 ) - 8010620: 681b ldr r3, [r3, #0] - 8010622: 60fb str r3, [r7, #12] + 8010fa2: 4b12 ldr r3, [pc, #72] @ (8010fec ) + 8010fa4: 681b ldr r3, [r3, #0] + 8010fa6: 60fb str r3, [r7, #12] while (r != NULL) { - 8010624: e018 b.n 8010658 + 8010fa8: e018 b.n 8010fdc /* Decrement the timer. Once it reaches 0, * clean up the incomplete fragment assembly */ if (r->timer > 0) { - 8010626: 68fb ldr r3, [r7, #12] - 8010628: 7fdb ldrb r3, [r3, #31] - 801062a: 2b00 cmp r3, #0 - 801062c: d00b beq.n 8010646 + 8010faa: 68fb ldr r3, [r7, #12] + 8010fac: 7fdb ldrb r3, [r3, #31] + 8010fae: 2b00 cmp r3, #0 + 8010fb0: d00b beq.n 8010fca r->timer--; - 801062e: 68fb ldr r3, [r7, #12] - 8010630: 7fdb ldrb r3, [r3, #31] - 8010632: 3b01 subs r3, #1 - 8010634: b2da uxtb r2, r3 - 8010636: 68fb ldr r3, [r7, #12] - 8010638: 77da strb r2, [r3, #31] + 8010fb2: 68fb ldr r3, [r7, #12] + 8010fb4: 7fdb ldrb r3, [r3, #31] + 8010fb6: 3b01 subs r3, #1 + 8010fb8: b2da uxtb r2, r3 + 8010fba: 68fb ldr r3, [r7, #12] + 8010fbc: 77da strb r2, [r3, #31] LWIP_DEBUGF(IP_REASS_DEBUG, ("ip_reass_tmr: timer dec %"U16_F"\n", (u16_t)r->timer)); prev = r; - 801063a: 68fb ldr r3, [r7, #12] - 801063c: 60bb str r3, [r7, #8] + 8010fbe: 68fb ldr r3, [r7, #12] + 8010fc0: 60bb str r3, [r7, #8] r = r->next; - 801063e: 68fb ldr r3, [r7, #12] - 8010640: 681b ldr r3, [r3, #0] - 8010642: 60fb str r3, [r7, #12] - 8010644: e008 b.n 8010658 + 8010fc2: 68fb ldr r3, [r7, #12] + 8010fc4: 681b ldr r3, [r3, #0] + 8010fc6: 60fb str r3, [r7, #12] + 8010fc8: e008 b.n 8010fdc } else { /* reassembly timed out */ struct ip_reassdata *tmp; LWIP_DEBUGF(IP_REASS_DEBUG, ("ip_reass_tmr: timer timed out\n")); tmp = r; - 8010646: 68fb ldr r3, [r7, #12] - 8010648: 607b str r3, [r7, #4] + 8010fca: 68fb ldr r3, [r7, #12] + 8010fcc: 607b str r3, [r7, #4] /* get the next pointer before freeing */ r = r->next; - 801064a: 68fb ldr r3, [r7, #12] - 801064c: 681b ldr r3, [r3, #0] - 801064e: 60fb str r3, [r7, #12] + 8010fce: 68fb ldr r3, [r7, #12] + 8010fd0: 681b ldr r3, [r3, #0] + 8010fd2: 60fb str r3, [r7, #12] /* free the helper struct and all enqueued pbufs */ ip_reass_free_complete_datagram(tmp, prev); - 8010650: 68b9 ldr r1, [r7, #8] - 8010652: 6878 ldr r0, [r7, #4] - 8010654: f000 f80a bl 801066c + 8010fd4: 68b9 ldr r1, [r7, #8] + 8010fd6: 6878 ldr r0, [r7, #4] + 8010fd8: f000 f80a bl 8010ff0 while (r != NULL) { - 8010658: 68fb ldr r3, [r7, #12] - 801065a: 2b00 cmp r3, #0 - 801065c: d1e3 bne.n 8010626 + 8010fdc: 68fb ldr r3, [r7, #12] + 8010fde: 2b00 cmp r3, #0 + 8010fe0: d1e3 bne.n 8010faa } } } - 801065e: bf00 nop - 8010660: bf00 nop - 8010662: 3710 adds r7, #16 - 8010664: 46bd mov sp, r7 - 8010666: bd80 pop {r7, pc} - 8010668: 2001922c .word 0x2001922c + 8010fe2: bf00 nop + 8010fe4: bf00 nop + 8010fe6: 3710 adds r7, #16 + 8010fe8: 46bd mov sp, r7 + 8010fea: bd80 pop {r7, pc} + 8010fec: 20019260 .word 0x20019260 -0801066c : +08010ff0 : * @param prev the previous datagram in the linked list * @return the number of pbufs freed */ static int ip_reass_free_complete_datagram(struct ip_reassdata *ipr, struct ip_reassdata *prev) { - 801066c: b580 push {r7, lr} - 801066e: b088 sub sp, #32 - 8010670: af00 add r7, sp, #0 - 8010672: 6078 str r0, [r7, #4] - 8010674: 6039 str r1, [r7, #0] + 8010ff0: b580 push {r7, lr} + 8010ff2: b088 sub sp, #32 + 8010ff4: af00 add r7, sp, #0 + 8010ff6: 6078 str r0, [r7, #4] + 8010ff8: 6039 str r1, [r7, #0] u16_t pbufs_freed = 0; - 8010676: 2300 movs r3, #0 - 8010678: 83fb strh r3, [r7, #30] + 8010ffa: 2300 movs r3, #0 + 8010ffc: 83fb strh r3, [r7, #30] u16_t clen; struct pbuf *p; struct ip_reass_helper *iprh; LWIP_ASSERT("prev != ipr", prev != ipr); - 801067a: 683a ldr r2, [r7, #0] - 801067c: 687b ldr r3, [r7, #4] - 801067e: 429a cmp r2, r3 - 8010680: d105 bne.n 801068e - 8010682: 4b45 ldr r3, [pc, #276] @ (8010798 ) - 8010684: 22ab movs r2, #171 @ 0xab - 8010686: 4945 ldr r1, [pc, #276] @ (801079c ) - 8010688: 4845 ldr r0, [pc, #276] @ (80107a0 ) - 801068a: f000 ffb5 bl 80115f8 + 8010ffe: 683a ldr r2, [r7, #0] + 8011000: 687b ldr r3, [r7, #4] + 8011002: 429a cmp r2, r3 + 8011004: d105 bne.n 8011012 + 8011006: 4b45 ldr r3, [pc, #276] @ (801111c ) + 8011008: 22ab movs r2, #171 @ 0xab + 801100a: 4945 ldr r1, [pc, #276] @ (8011120 ) + 801100c: 4845 ldr r0, [pc, #276] @ (8011124 ) + 801100e: f000 ffb5 bl 8011f7c if (prev != NULL) { - 801068e: 683b ldr r3, [r7, #0] - 8010690: 2b00 cmp r3, #0 - 8010692: d00a beq.n 80106aa + 8011012: 683b ldr r3, [r7, #0] + 8011014: 2b00 cmp r3, #0 + 8011016: d00a beq.n 801102e LWIP_ASSERT("prev->next == ipr", prev->next == ipr); - 8010694: 683b ldr r3, [r7, #0] - 8010696: 681b ldr r3, [r3, #0] - 8010698: 687a ldr r2, [r7, #4] - 801069a: 429a cmp r2, r3 - 801069c: d005 beq.n 80106aa - 801069e: 4b3e ldr r3, [pc, #248] @ (8010798 ) - 80106a0: 22ad movs r2, #173 @ 0xad - 80106a2: 4940 ldr r1, [pc, #256] @ (80107a4 ) - 80106a4: 483e ldr r0, [pc, #248] @ (80107a0 ) - 80106a6: f000 ffa7 bl 80115f8 + 8011018: 683b ldr r3, [r7, #0] + 801101a: 681b ldr r3, [r3, #0] + 801101c: 687a ldr r2, [r7, #4] + 801101e: 429a cmp r2, r3 + 8011020: d005 beq.n 801102e + 8011022: 4b3e ldr r3, [pc, #248] @ (801111c ) + 8011024: 22ad movs r2, #173 @ 0xad + 8011026: 4940 ldr r1, [pc, #256] @ (8011128 ) + 8011028: 483e ldr r0, [pc, #248] @ (8011124 ) + 801102a: f000 ffa7 bl 8011f7c } MIB2_STATS_INC(mib2.ipreasmfails); #if LWIP_ICMP iprh = (struct ip_reass_helper *)ipr->p->payload; - 80106aa: 687b ldr r3, [r7, #4] - 80106ac: 685b ldr r3, [r3, #4] - 80106ae: 685b ldr r3, [r3, #4] - 80106b0: 617b str r3, [r7, #20] + 801102e: 687b ldr r3, [r7, #4] + 8011030: 685b ldr r3, [r3, #4] + 8011032: 685b ldr r3, [r3, #4] + 8011034: 617b str r3, [r7, #20] if (iprh->start == 0) { - 80106b2: 697b ldr r3, [r7, #20] - 80106b4: 889b ldrh r3, [r3, #4] - 80106b6: b29b uxth r3, r3 - 80106b8: 2b00 cmp r3, #0 - 80106ba: d12a bne.n 8010712 + 8011036: 697b ldr r3, [r7, #20] + 8011038: 889b ldrh r3, [r3, #4] + 801103a: b29b uxth r3, r3 + 801103c: 2b00 cmp r3, #0 + 801103e: d12a bne.n 8011096 /* The first fragment was received, send ICMP time exceeded. */ /* First, de-queue the first pbuf from r->p. */ p = ipr->p; - 80106bc: 687b ldr r3, [r7, #4] - 80106be: 685b ldr r3, [r3, #4] - 80106c0: 61bb str r3, [r7, #24] + 8011040: 687b ldr r3, [r7, #4] + 8011042: 685b ldr r3, [r3, #4] + 8011044: 61bb str r3, [r7, #24] ipr->p = iprh->next_pbuf; - 80106c2: 697b ldr r3, [r7, #20] - 80106c4: 681a ldr r2, [r3, #0] - 80106c6: 687b ldr r3, [r7, #4] - 80106c8: 605a str r2, [r3, #4] + 8011046: 697b ldr r3, [r7, #20] + 8011048: 681a ldr r2, [r3, #0] + 801104a: 687b ldr r3, [r7, #4] + 801104c: 605a str r2, [r3, #4] /* Then, copy the original header into it. */ SMEMCPY(p->payload, &ipr->iphdr, IP_HLEN); - 80106ca: 69bb ldr r3, [r7, #24] - 80106cc: 6858 ldr r0, [r3, #4] - 80106ce: 687b ldr r3, [r7, #4] - 80106d0: 3308 adds r3, #8 - 80106d2: 2214 movs r2, #20 - 80106d4: 4619 mov r1, r3 - 80106d6: f001 f88b bl 80117f0 + 801104e: 69bb ldr r3, [r7, #24] + 8011050: 6858 ldr r0, [r3, #4] + 8011052: 687b ldr r3, [r7, #4] + 8011054: 3308 adds r3, #8 + 8011056: 2214 movs r2, #20 + 8011058: 4619 mov r1, r3 + 801105a: f001 f88b bl 8012174 icmp_time_exceeded(p, ICMP_TE_FRAG); - 80106da: 2101 movs r1, #1 - 80106dc: 69b8 ldr r0, [r7, #24] - 80106de: f7ff faeb bl 800fcb8 + 801105e: 2101 movs r1, #1 + 8011060: 69b8 ldr r0, [r7, #24] + 8011062: f7ff faeb bl 801063c clen = pbuf_clen(p); - 80106e2: 69b8 ldr r0, [r7, #24] - 80106e4: f7f6 fa28 bl 8006b38 - 80106e8: 4603 mov r3, r0 - 80106ea: 827b strh r3, [r7, #18] + 8011066: 69b8 ldr r0, [r7, #24] + 8011068: f7f6 fa28 bl 80074bc + 801106c: 4603 mov r3, r0 + 801106e: 827b strh r3, [r7, #18] LWIP_ASSERT("pbufs_freed + clen <= 0xffff", pbufs_freed + clen <= 0xffff); - 80106ec: 8bfa ldrh r2, [r7, #30] - 80106ee: 8a7b ldrh r3, [r7, #18] - 80106f0: 4413 add r3, r2 - 80106f2: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 80106f6: db05 blt.n 8010704 - 80106f8: 4b27 ldr r3, [pc, #156] @ (8010798 ) - 80106fa: 22bc movs r2, #188 @ 0xbc - 80106fc: 492a ldr r1, [pc, #168] @ (80107a8 ) - 80106fe: 4828 ldr r0, [pc, #160] @ (80107a0 ) - 8010700: f000 ff7a bl 80115f8 + 8011070: 8bfa ldrh r2, [r7, #30] + 8011072: 8a7b ldrh r3, [r7, #18] + 8011074: 4413 add r3, r2 + 8011076: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 801107a: db05 blt.n 8011088 + 801107c: 4b27 ldr r3, [pc, #156] @ (801111c ) + 801107e: 22bc movs r2, #188 @ 0xbc + 8011080: 492a ldr r1, [pc, #168] @ (801112c ) + 8011082: 4828 ldr r0, [pc, #160] @ (8011124 ) + 8011084: f000 ff7a bl 8011f7c pbufs_freed = (u16_t)(pbufs_freed + clen); - 8010704: 8bfa ldrh r2, [r7, #30] - 8010706: 8a7b ldrh r3, [r7, #18] - 8010708: 4413 add r3, r2 - 801070a: 83fb strh r3, [r7, #30] + 8011088: 8bfa ldrh r2, [r7, #30] + 801108a: 8a7b ldrh r3, [r7, #18] + 801108c: 4413 add r3, r2 + 801108e: 83fb strh r3, [r7, #30] pbuf_free(p); - 801070c: 69b8 ldr r0, [r7, #24] - 801070e: f7f6 f98b bl 8006a28 + 8011090: 69b8 ldr r0, [r7, #24] + 8011092: f7f6 f98b bl 80073ac } #endif /* LWIP_ICMP */ /* First, free all received pbufs. The individual pbufs need to be released separately as they have not yet been chained */ p = ipr->p; - 8010712: 687b ldr r3, [r7, #4] - 8010714: 685b ldr r3, [r3, #4] - 8010716: 61bb str r3, [r7, #24] + 8011096: 687b ldr r3, [r7, #4] + 8011098: 685b ldr r3, [r3, #4] + 801109a: 61bb str r3, [r7, #24] while (p != NULL) { - 8010718: e01f b.n 801075a + 801109c: e01f b.n 80110de struct pbuf *pcur; iprh = (struct ip_reass_helper *)p->payload; - 801071a: 69bb ldr r3, [r7, #24] - 801071c: 685b ldr r3, [r3, #4] - 801071e: 617b str r3, [r7, #20] + 801109e: 69bb ldr r3, [r7, #24] + 80110a0: 685b ldr r3, [r3, #4] + 80110a2: 617b str r3, [r7, #20] pcur = p; - 8010720: 69bb ldr r3, [r7, #24] - 8010722: 60fb str r3, [r7, #12] + 80110a4: 69bb ldr r3, [r7, #24] + 80110a6: 60fb str r3, [r7, #12] /* get the next pointer before freeing */ p = iprh->next_pbuf; - 8010724: 697b ldr r3, [r7, #20] - 8010726: 681b ldr r3, [r3, #0] - 8010728: 61bb str r3, [r7, #24] + 80110a8: 697b ldr r3, [r7, #20] + 80110aa: 681b ldr r3, [r3, #0] + 80110ac: 61bb str r3, [r7, #24] clen = pbuf_clen(pcur); - 801072a: 68f8 ldr r0, [r7, #12] - 801072c: f7f6 fa04 bl 8006b38 - 8010730: 4603 mov r3, r0 - 8010732: 827b strh r3, [r7, #18] + 80110ae: 68f8 ldr r0, [r7, #12] + 80110b0: f7f6 fa04 bl 80074bc + 80110b4: 4603 mov r3, r0 + 80110b6: 827b strh r3, [r7, #18] LWIP_ASSERT("pbufs_freed + clen <= 0xffff", pbufs_freed + clen <= 0xffff); - 8010734: 8bfa ldrh r2, [r7, #30] - 8010736: 8a7b ldrh r3, [r7, #18] - 8010738: 4413 add r3, r2 - 801073a: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 801073e: db05 blt.n 801074c - 8010740: 4b15 ldr r3, [pc, #84] @ (8010798 ) - 8010742: 22cc movs r2, #204 @ 0xcc - 8010744: 4918 ldr r1, [pc, #96] @ (80107a8 ) - 8010746: 4816 ldr r0, [pc, #88] @ (80107a0 ) - 8010748: f000 ff56 bl 80115f8 + 80110b8: 8bfa ldrh r2, [r7, #30] + 80110ba: 8a7b ldrh r3, [r7, #18] + 80110bc: 4413 add r3, r2 + 80110be: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 80110c2: db05 blt.n 80110d0 + 80110c4: 4b15 ldr r3, [pc, #84] @ (801111c ) + 80110c6: 22cc movs r2, #204 @ 0xcc + 80110c8: 4918 ldr r1, [pc, #96] @ (801112c ) + 80110ca: 4816 ldr r0, [pc, #88] @ (8011124 ) + 80110cc: f000 ff56 bl 8011f7c pbufs_freed = (u16_t)(pbufs_freed + clen); - 801074c: 8bfa ldrh r2, [r7, #30] - 801074e: 8a7b ldrh r3, [r7, #18] - 8010750: 4413 add r3, r2 - 8010752: 83fb strh r3, [r7, #30] + 80110d0: 8bfa ldrh r2, [r7, #30] + 80110d2: 8a7b ldrh r3, [r7, #18] + 80110d4: 4413 add r3, r2 + 80110d6: 83fb strh r3, [r7, #30] pbuf_free(pcur); - 8010754: 68f8 ldr r0, [r7, #12] - 8010756: f7f6 f967 bl 8006a28 + 80110d8: 68f8 ldr r0, [r7, #12] + 80110da: f7f6 f967 bl 80073ac while (p != NULL) { - 801075a: 69bb ldr r3, [r7, #24] - 801075c: 2b00 cmp r3, #0 - 801075e: d1dc bne.n 801071a + 80110de: 69bb ldr r3, [r7, #24] + 80110e0: 2b00 cmp r3, #0 + 80110e2: d1dc bne.n 801109e } /* Then, unchain the struct ip_reassdata from the list and free it. */ ip_reass_dequeue_datagram(ipr, prev); - 8010760: 6839 ldr r1, [r7, #0] - 8010762: 6878 ldr r0, [r7, #4] - 8010764: f000 f8c2 bl 80108ec + 80110e4: 6839 ldr r1, [r7, #0] + 80110e6: 6878 ldr r0, [r7, #4] + 80110e8: f000 f8c2 bl 8011270 LWIP_ASSERT("ip_reass_pbufcount >= pbufs_freed", ip_reass_pbufcount >= pbufs_freed); - 8010768: 4b10 ldr r3, [pc, #64] @ (80107ac ) - 801076a: 881b ldrh r3, [r3, #0] - 801076c: 8bfa ldrh r2, [r7, #30] - 801076e: 429a cmp r2, r3 - 8010770: d905 bls.n 801077e - 8010772: 4b09 ldr r3, [pc, #36] @ (8010798 ) - 8010774: 22d2 movs r2, #210 @ 0xd2 - 8010776: 490e ldr r1, [pc, #56] @ (80107b0 ) - 8010778: 4809 ldr r0, [pc, #36] @ (80107a0 ) - 801077a: f000 ff3d bl 80115f8 + 80110ec: 4b10 ldr r3, [pc, #64] @ (8011130 ) + 80110ee: 881b ldrh r3, [r3, #0] + 80110f0: 8bfa ldrh r2, [r7, #30] + 80110f2: 429a cmp r2, r3 + 80110f4: d905 bls.n 8011102 + 80110f6: 4b09 ldr r3, [pc, #36] @ (801111c ) + 80110f8: 22d2 movs r2, #210 @ 0xd2 + 80110fa: 490e ldr r1, [pc, #56] @ (8011134 ) + 80110fc: 4809 ldr r0, [pc, #36] @ (8011124 ) + 80110fe: f000 ff3d bl 8011f7c ip_reass_pbufcount = (u16_t)(ip_reass_pbufcount - pbufs_freed); - 801077e: 4b0b ldr r3, [pc, #44] @ (80107ac ) - 8010780: 881a ldrh r2, [r3, #0] - 8010782: 8bfb ldrh r3, [r7, #30] - 8010784: 1ad3 subs r3, r2, r3 - 8010786: b29a uxth r2, r3 - 8010788: 4b08 ldr r3, [pc, #32] @ (80107ac ) - 801078a: 801a strh r2, [r3, #0] + 8011102: 4b0b ldr r3, [pc, #44] @ (8011130 ) + 8011104: 881a ldrh r2, [r3, #0] + 8011106: 8bfb ldrh r3, [r7, #30] + 8011108: 1ad3 subs r3, r2, r3 + 801110a: b29a uxth r2, r3 + 801110c: 4b08 ldr r3, [pc, #32] @ (8011130 ) + 801110e: 801a strh r2, [r3, #0] return pbufs_freed; - 801078c: 8bfb ldrh r3, [r7, #30] + 8011110: 8bfb ldrh r3, [r7, #30] } - 801078e: 4618 mov r0, r3 - 8010790: 3720 adds r7, #32 - 8010792: 46bd mov sp, r7 - 8010794: bd80 pop {r7, pc} - 8010796: bf00 nop - 8010798: 08018b1c .word 0x08018b1c - 801079c: 08018b58 .word 0x08018b58 - 80107a0: 08018b64 .word 0x08018b64 - 80107a4: 08018b8c .word 0x08018b8c - 80107a8: 08018ba0 .word 0x08018ba0 - 80107ac: 20019230 .word 0x20019230 - 80107b0: 08018bc0 .word 0x08018bc0 + 8011112: 4618 mov r0, r3 + 8011114: 3720 adds r7, #32 + 8011116: 46bd mov sp, r7 + 8011118: bd80 pop {r7, pc} + 801111a: bf00 nop + 801111c: 0801949c .word 0x0801949c + 8011120: 080194d8 .word 0x080194d8 + 8011124: 080194e4 .word 0x080194e4 + 8011128: 0801950c .word 0x0801950c + 801112c: 08019520 .word 0x08019520 + 8011130: 20019264 .word 0x20019264 + 8011134: 08019540 .word 0x08019540 -080107b4 : +08011138 : * (used for freeing other datagrams if not enough space) * @return the number of pbufs freed */ static int ip_reass_remove_oldest_datagram(struct ip_hdr *fraghdr, int pbufs_needed) { - 80107b4: b580 push {r7, lr} - 80107b6: b08a sub sp, #40 @ 0x28 - 80107b8: af00 add r7, sp, #0 - 80107ba: 6078 str r0, [r7, #4] - 80107bc: 6039 str r1, [r7, #0] + 8011138: b580 push {r7, lr} + 801113a: b08a sub sp, #40 @ 0x28 + 801113c: af00 add r7, sp, #0 + 801113e: 6078 str r0, [r7, #4] + 8011140: 6039 str r1, [r7, #0] /* @todo Can't we simply remove the last datagram in the * linked list behind reassdatagrams? */ struct ip_reassdata *r, *oldest, *prev, *oldest_prev; int pbufs_freed = 0, pbufs_freed_current; - 80107be: 2300 movs r3, #0 - 80107c0: 617b str r3, [r7, #20] + 8011142: 2300 movs r3, #0 + 8011144: 617b str r3, [r7, #20] int other_datagrams; /* Free datagrams until being allowed to enqueue 'pbufs_needed' pbufs, * but don't free the datagram that 'fraghdr' belongs to! */ do { oldest = NULL; - 80107c2: 2300 movs r3, #0 - 80107c4: 623b str r3, [r7, #32] + 8011146: 2300 movs r3, #0 + 8011148: 623b str r3, [r7, #32] prev = NULL; - 80107c6: 2300 movs r3, #0 - 80107c8: 61fb str r3, [r7, #28] + 801114a: 2300 movs r3, #0 + 801114c: 61fb str r3, [r7, #28] oldest_prev = NULL; - 80107ca: 2300 movs r3, #0 - 80107cc: 61bb str r3, [r7, #24] + 801114e: 2300 movs r3, #0 + 8011150: 61bb str r3, [r7, #24] other_datagrams = 0; - 80107ce: 2300 movs r3, #0 - 80107d0: 613b str r3, [r7, #16] + 8011152: 2300 movs r3, #0 + 8011154: 613b str r3, [r7, #16] r = reassdatagrams; - 80107d2: 4b28 ldr r3, [pc, #160] @ (8010874 ) - 80107d4: 681b ldr r3, [r3, #0] - 80107d6: 627b str r3, [r7, #36] @ 0x24 + 8011156: 4b28 ldr r3, [pc, #160] @ (80111f8 ) + 8011158: 681b ldr r3, [r3, #0] + 801115a: 627b str r3, [r7, #36] @ 0x24 while (r != NULL) { - 80107d8: e030 b.n 801083c + 801115c: e030 b.n 80111c0 if (!IP_ADDRESSES_AND_ID_MATCH(&r->iphdr, fraghdr)) { - 80107da: 6a7b ldr r3, [r7, #36] @ 0x24 - 80107dc: 695a ldr r2, [r3, #20] - 80107de: 687b ldr r3, [r7, #4] - 80107e0: 68db ldr r3, [r3, #12] - 80107e2: 429a cmp r2, r3 - 80107e4: d10c bne.n 8010800 - 80107e6: 6a7b ldr r3, [r7, #36] @ 0x24 - 80107e8: 699a ldr r2, [r3, #24] - 80107ea: 687b ldr r3, [r7, #4] - 80107ec: 691b ldr r3, [r3, #16] - 80107ee: 429a cmp r2, r3 - 80107f0: d106 bne.n 8010800 - 80107f2: 6a7b ldr r3, [r7, #36] @ 0x24 - 80107f4: 899a ldrh r2, [r3, #12] - 80107f6: 687b ldr r3, [r7, #4] - 80107f8: 889b ldrh r3, [r3, #4] - 80107fa: b29b uxth r3, r3 - 80107fc: 429a cmp r2, r3 - 80107fe: d014 beq.n 801082a + 801115e: 6a7b ldr r3, [r7, #36] @ 0x24 + 8011160: 695a ldr r2, [r3, #20] + 8011162: 687b ldr r3, [r7, #4] + 8011164: 68db ldr r3, [r3, #12] + 8011166: 429a cmp r2, r3 + 8011168: d10c bne.n 8011184 + 801116a: 6a7b ldr r3, [r7, #36] @ 0x24 + 801116c: 699a ldr r2, [r3, #24] + 801116e: 687b ldr r3, [r7, #4] + 8011170: 691b ldr r3, [r3, #16] + 8011172: 429a cmp r2, r3 + 8011174: d106 bne.n 8011184 + 8011176: 6a7b ldr r3, [r7, #36] @ 0x24 + 8011178: 899a ldrh r2, [r3, #12] + 801117a: 687b ldr r3, [r7, #4] + 801117c: 889b ldrh r3, [r3, #4] + 801117e: b29b uxth r3, r3 + 8011180: 429a cmp r2, r3 + 8011182: d014 beq.n 80111ae /* Not the same datagram as fraghdr */ other_datagrams++; - 8010800: 693b ldr r3, [r7, #16] - 8010802: 3301 adds r3, #1 - 8010804: 613b str r3, [r7, #16] + 8011184: 693b ldr r3, [r7, #16] + 8011186: 3301 adds r3, #1 + 8011188: 613b str r3, [r7, #16] if (oldest == NULL) { - 8010806: 6a3b ldr r3, [r7, #32] - 8010808: 2b00 cmp r3, #0 - 801080a: d104 bne.n 8010816 + 801118a: 6a3b ldr r3, [r7, #32] + 801118c: 2b00 cmp r3, #0 + 801118e: d104 bne.n 801119a oldest = r; - 801080c: 6a7b ldr r3, [r7, #36] @ 0x24 - 801080e: 623b str r3, [r7, #32] + 8011190: 6a7b ldr r3, [r7, #36] @ 0x24 + 8011192: 623b str r3, [r7, #32] oldest_prev = prev; - 8010810: 69fb ldr r3, [r7, #28] - 8010812: 61bb str r3, [r7, #24] - 8010814: e009 b.n 801082a + 8011194: 69fb ldr r3, [r7, #28] + 8011196: 61bb str r3, [r7, #24] + 8011198: e009 b.n 80111ae } else if (r->timer <= oldest->timer) { - 8010816: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010818: 7fda ldrb r2, [r3, #31] - 801081a: 6a3b ldr r3, [r7, #32] - 801081c: 7fdb ldrb r3, [r3, #31] - 801081e: 429a cmp r2, r3 - 8010820: d803 bhi.n 801082a + 801119a: 6a7b ldr r3, [r7, #36] @ 0x24 + 801119c: 7fda ldrb r2, [r3, #31] + 801119e: 6a3b ldr r3, [r7, #32] + 80111a0: 7fdb ldrb r3, [r3, #31] + 80111a2: 429a cmp r2, r3 + 80111a4: d803 bhi.n 80111ae /* older than the previous oldest */ oldest = r; - 8010822: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010824: 623b str r3, [r7, #32] + 80111a6: 6a7b ldr r3, [r7, #36] @ 0x24 + 80111a8: 623b str r3, [r7, #32] oldest_prev = prev; - 8010826: 69fb ldr r3, [r7, #28] - 8010828: 61bb str r3, [r7, #24] + 80111aa: 69fb ldr r3, [r7, #28] + 80111ac: 61bb str r3, [r7, #24] } } if (r->next != NULL) { - 801082a: 6a7b ldr r3, [r7, #36] @ 0x24 - 801082c: 681b ldr r3, [r3, #0] - 801082e: 2b00 cmp r3, #0 - 8010830: d001 beq.n 8010836 + 80111ae: 6a7b ldr r3, [r7, #36] @ 0x24 + 80111b0: 681b ldr r3, [r3, #0] + 80111b2: 2b00 cmp r3, #0 + 80111b4: d001 beq.n 80111ba prev = r; - 8010832: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010834: 61fb str r3, [r7, #28] + 80111b6: 6a7b ldr r3, [r7, #36] @ 0x24 + 80111b8: 61fb str r3, [r7, #28] } r = r->next; - 8010836: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010838: 681b ldr r3, [r3, #0] - 801083a: 627b str r3, [r7, #36] @ 0x24 + 80111ba: 6a7b ldr r3, [r7, #36] @ 0x24 + 80111bc: 681b ldr r3, [r3, #0] + 80111be: 627b str r3, [r7, #36] @ 0x24 while (r != NULL) { - 801083c: 6a7b ldr r3, [r7, #36] @ 0x24 - 801083e: 2b00 cmp r3, #0 - 8010840: d1cb bne.n 80107da + 80111c0: 6a7b ldr r3, [r7, #36] @ 0x24 + 80111c2: 2b00 cmp r3, #0 + 80111c4: d1cb bne.n 801115e } if (oldest != NULL) { - 8010842: 6a3b ldr r3, [r7, #32] - 8010844: 2b00 cmp r3, #0 - 8010846: d008 beq.n 801085a + 80111c6: 6a3b ldr r3, [r7, #32] + 80111c8: 2b00 cmp r3, #0 + 80111ca: d008 beq.n 80111de pbufs_freed_current = ip_reass_free_complete_datagram(oldest, oldest_prev); - 8010848: 69b9 ldr r1, [r7, #24] - 801084a: 6a38 ldr r0, [r7, #32] - 801084c: f7ff ff0e bl 801066c - 8010850: 60f8 str r0, [r7, #12] + 80111cc: 69b9 ldr r1, [r7, #24] + 80111ce: 6a38 ldr r0, [r7, #32] + 80111d0: f7ff ff0e bl 8010ff0 + 80111d4: 60f8 str r0, [r7, #12] pbufs_freed += pbufs_freed_current; - 8010852: 697a ldr r2, [r7, #20] - 8010854: 68fb ldr r3, [r7, #12] - 8010856: 4413 add r3, r2 - 8010858: 617b str r3, [r7, #20] + 80111d6: 697a ldr r2, [r7, #20] + 80111d8: 68fb ldr r3, [r7, #12] + 80111da: 4413 add r3, r2 + 80111dc: 617b str r3, [r7, #20] } } while ((pbufs_freed < pbufs_needed) && (other_datagrams > 1)); - 801085a: 697a ldr r2, [r7, #20] - 801085c: 683b ldr r3, [r7, #0] - 801085e: 429a cmp r2, r3 - 8010860: da02 bge.n 8010868 - 8010862: 693b ldr r3, [r7, #16] - 8010864: 2b01 cmp r3, #1 - 8010866: dcac bgt.n 80107c2 + 80111de: 697a ldr r2, [r7, #20] + 80111e0: 683b ldr r3, [r7, #0] + 80111e2: 429a cmp r2, r3 + 80111e4: da02 bge.n 80111ec + 80111e6: 693b ldr r3, [r7, #16] + 80111e8: 2b01 cmp r3, #1 + 80111ea: dcac bgt.n 8011146 return pbufs_freed; - 8010868: 697b ldr r3, [r7, #20] + 80111ec: 697b ldr r3, [r7, #20] } - 801086a: 4618 mov r0, r3 - 801086c: 3728 adds r7, #40 @ 0x28 - 801086e: 46bd mov sp, r7 - 8010870: bd80 pop {r7, pc} - 8010872: bf00 nop - 8010874: 2001922c .word 0x2001922c + 80111ee: 4618 mov r0, r3 + 80111f0: 3728 adds r7, #40 @ 0x28 + 80111f2: 46bd mov sp, r7 + 80111f4: bd80 pop {r7, pc} + 80111f6: bf00 nop + 80111f8: 20019260 .word 0x20019260 -08010878 : +080111fc : * @param clen number of pbufs needed to enqueue (used for freeing other datagrams if not enough space) * @return A pointer to the queue location into which the fragment was enqueued */ static struct ip_reassdata * ip_reass_enqueue_new_datagram(struct ip_hdr *fraghdr, int clen) { - 8010878: b580 push {r7, lr} - 801087a: b084 sub sp, #16 - 801087c: af00 add r7, sp, #0 - 801087e: 6078 str r0, [r7, #4] - 8010880: 6039 str r1, [r7, #0] + 80111fc: b580 push {r7, lr} + 80111fe: b084 sub sp, #16 + 8011200: af00 add r7, sp, #0 + 8011202: 6078 str r0, [r7, #4] + 8011204: 6039 str r1, [r7, #0] #if ! IP_REASS_FREE_OLDEST LWIP_UNUSED_ARG(clen); #endif /* No matching previous fragment found, allocate a new reassdata struct */ ipr = (struct ip_reassdata *)memp_malloc(MEMP_REASSDATA); - 8010882: 2004 movs r0, #4 - 8010884: f7f5 f9e0 bl 8005c48 - 8010888: 60f8 str r0, [r7, #12] + 8011206: 2004 movs r0, #4 + 8011208: f7f5 f9e0 bl 80065cc + 801120c: 60f8 str r0, [r7, #12] if (ipr == NULL) { - 801088a: 68fb ldr r3, [r7, #12] - 801088c: 2b00 cmp r3, #0 - 801088e: d110 bne.n 80108b2 + 801120e: 68fb ldr r3, [r7, #12] + 8011210: 2b00 cmp r3, #0 + 8011212: d110 bne.n 8011236 #if IP_REASS_FREE_OLDEST if (ip_reass_remove_oldest_datagram(fraghdr, clen) >= clen) { - 8010890: 6839 ldr r1, [r7, #0] - 8010892: 6878 ldr r0, [r7, #4] - 8010894: f7ff ff8e bl 80107b4 - 8010898: 4602 mov r2, r0 - 801089a: 683b ldr r3, [r7, #0] - 801089c: 4293 cmp r3, r2 - 801089e: dc03 bgt.n 80108a8 + 8011214: 6839 ldr r1, [r7, #0] + 8011216: 6878 ldr r0, [r7, #4] + 8011218: f7ff ff8e bl 8011138 + 801121c: 4602 mov r2, r0 + 801121e: 683b ldr r3, [r7, #0] + 8011220: 4293 cmp r3, r2 + 8011222: dc03 bgt.n 801122c ipr = (struct ip_reassdata *)memp_malloc(MEMP_REASSDATA); - 80108a0: 2004 movs r0, #4 - 80108a2: f7f5 f9d1 bl 8005c48 - 80108a6: 60f8 str r0, [r7, #12] + 8011224: 2004 movs r0, #4 + 8011226: f7f5 f9d1 bl 80065cc + 801122a: 60f8 str r0, [r7, #12] } if (ipr == NULL) - 80108a8: 68fb ldr r3, [r7, #12] - 80108aa: 2b00 cmp r3, #0 - 80108ac: d101 bne.n 80108b2 + 801122c: 68fb ldr r3, [r7, #12] + 801122e: 2b00 cmp r3, #0 + 8011230: d101 bne.n 8011236 #endif /* IP_REASS_FREE_OLDEST */ { IPFRAG_STATS_INC(ip_frag.memerr); LWIP_DEBUGF(IP_REASS_DEBUG, ("Failed to alloc reassdata struct\n")); return NULL; - 80108ae: 2300 movs r3, #0 - 80108b0: e016 b.n 80108e0 + 8011232: 2300 movs r3, #0 + 8011234: e016 b.n 8011264 } } memset(ipr, 0, sizeof(struct ip_reassdata)); - 80108b2: 2220 movs r2, #32 - 80108b4: 2100 movs r1, #0 - 80108b6: 68f8 ldr r0, [r7, #12] - 80108b8: f000 ff1d bl 80116f6 + 8011236: 2220 movs r2, #32 + 8011238: 2100 movs r1, #0 + 801123a: 68f8 ldr r0, [r7, #12] + 801123c: f000 ff1d bl 801207a ipr->timer = IP_REASS_MAXAGE; - 80108bc: 68fb ldr r3, [r7, #12] - 80108be: 220f movs r2, #15 - 80108c0: 77da strb r2, [r3, #31] + 8011240: 68fb ldr r3, [r7, #12] + 8011242: 220f movs r2, #15 + 8011244: 77da strb r2, [r3, #31] /* enqueue the new structure to the front of the list */ ipr->next = reassdatagrams; - 80108c2: 4b09 ldr r3, [pc, #36] @ (80108e8 ) - 80108c4: 681a ldr r2, [r3, #0] - 80108c6: 68fb ldr r3, [r7, #12] - 80108c8: 601a str r2, [r3, #0] + 8011246: 4b09 ldr r3, [pc, #36] @ (801126c ) + 8011248: 681a ldr r2, [r3, #0] + 801124a: 68fb ldr r3, [r7, #12] + 801124c: 601a str r2, [r3, #0] reassdatagrams = ipr; - 80108ca: 4a07 ldr r2, [pc, #28] @ (80108e8 ) - 80108cc: 68fb ldr r3, [r7, #12] - 80108ce: 6013 str r3, [r2, #0] + 801124e: 4a07 ldr r2, [pc, #28] @ (801126c ) + 8011250: 68fb ldr r3, [r7, #12] + 8011252: 6013 str r3, [r2, #0] /* copy the ip header for later tests and input */ /* @todo: no ip options supported? */ SMEMCPY(&(ipr->iphdr), fraghdr, IP_HLEN); - 80108d0: 68fb ldr r3, [r7, #12] - 80108d2: 3308 adds r3, #8 - 80108d4: 2214 movs r2, #20 - 80108d6: 6879 ldr r1, [r7, #4] - 80108d8: 4618 mov r0, r3 - 80108da: f000 ff89 bl 80117f0 + 8011254: 68fb ldr r3, [r7, #12] + 8011256: 3308 adds r3, #8 + 8011258: 2214 movs r2, #20 + 801125a: 6879 ldr r1, [r7, #4] + 801125c: 4618 mov r0, r3 + 801125e: f000 ff89 bl 8012174 return ipr; - 80108de: 68fb ldr r3, [r7, #12] + 8011262: 68fb ldr r3, [r7, #12] } - 80108e0: 4618 mov r0, r3 - 80108e2: 3710 adds r7, #16 - 80108e4: 46bd mov sp, r7 - 80108e6: bd80 pop {r7, pc} - 80108e8: 2001922c .word 0x2001922c + 8011264: 4618 mov r0, r3 + 8011266: 3710 adds r7, #16 + 8011268: 46bd mov sp, r7 + 801126a: bd80 pop {r7, pc} + 801126c: 20019260 .word 0x20019260 -080108ec : +08011270 : * Dequeues a datagram from the datagram queue. Doesn't deallocate the pbufs. * @param ipr points to the queue entry to dequeue */ static void ip_reass_dequeue_datagram(struct ip_reassdata *ipr, struct ip_reassdata *prev) { - 80108ec: b580 push {r7, lr} - 80108ee: b082 sub sp, #8 - 80108f0: af00 add r7, sp, #0 - 80108f2: 6078 str r0, [r7, #4] - 80108f4: 6039 str r1, [r7, #0] + 8011270: b580 push {r7, lr} + 8011272: b082 sub sp, #8 + 8011274: af00 add r7, sp, #0 + 8011276: 6078 str r0, [r7, #4] + 8011278: 6039 str r1, [r7, #0] /* dequeue the reass struct */ if (reassdatagrams == ipr) { - 80108f6: 4b10 ldr r3, [pc, #64] @ (8010938 ) - 80108f8: 681b ldr r3, [r3, #0] - 80108fa: 687a ldr r2, [r7, #4] - 80108fc: 429a cmp r2, r3 - 80108fe: d104 bne.n 801090a + 801127a: 4b10 ldr r3, [pc, #64] @ (80112bc ) + 801127c: 681b ldr r3, [r3, #0] + 801127e: 687a ldr r2, [r7, #4] + 8011280: 429a cmp r2, r3 + 8011282: d104 bne.n 801128e /* it was the first in the list */ reassdatagrams = ipr->next; - 8010900: 687b ldr r3, [r7, #4] - 8010902: 681b ldr r3, [r3, #0] - 8010904: 4a0c ldr r2, [pc, #48] @ (8010938 ) - 8010906: 6013 str r3, [r2, #0] - 8010908: e00d b.n 8010926 + 8011284: 687b ldr r3, [r7, #4] + 8011286: 681b ldr r3, [r3, #0] + 8011288: 4a0c ldr r2, [pc, #48] @ (80112bc ) + 801128a: 6013 str r3, [r2, #0] + 801128c: e00d b.n 80112aa } else { /* it wasn't the first, so it must have a valid 'prev' */ LWIP_ASSERT("sanity check linked list", prev != NULL); - 801090a: 683b ldr r3, [r7, #0] - 801090c: 2b00 cmp r3, #0 - 801090e: d106 bne.n 801091e - 8010910: 4b0a ldr r3, [pc, #40] @ (801093c ) - 8010912: f240 1245 movw r2, #325 @ 0x145 - 8010916: 490a ldr r1, [pc, #40] @ (8010940 ) - 8010918: 480a ldr r0, [pc, #40] @ (8010944 ) - 801091a: f000 fe6d bl 80115f8 + 801128e: 683b ldr r3, [r7, #0] + 8011290: 2b00 cmp r3, #0 + 8011292: d106 bne.n 80112a2 + 8011294: 4b0a ldr r3, [pc, #40] @ (80112c0 ) + 8011296: f240 1245 movw r2, #325 @ 0x145 + 801129a: 490a ldr r1, [pc, #40] @ (80112c4 ) + 801129c: 480a ldr r0, [pc, #40] @ (80112c8 ) + 801129e: f000 fe6d bl 8011f7c prev->next = ipr->next; - 801091e: 687b ldr r3, [r7, #4] - 8010920: 681a ldr r2, [r3, #0] - 8010922: 683b ldr r3, [r7, #0] - 8010924: 601a str r2, [r3, #0] + 80112a2: 687b ldr r3, [r7, #4] + 80112a4: 681a ldr r2, [r3, #0] + 80112a6: 683b ldr r3, [r7, #0] + 80112a8: 601a str r2, [r3, #0] } /* now we can free the ip_reassdata struct */ memp_free(MEMP_REASSDATA, ipr); - 8010926: 6879 ldr r1, [r7, #4] - 8010928: 2004 movs r0, #4 - 801092a: f7f5 f9fd bl 8005d28 + 80112aa: 6879 ldr r1, [r7, #4] + 80112ac: 2004 movs r0, #4 + 80112ae: f7f5 f9fd bl 80066ac } - 801092e: bf00 nop - 8010930: 3708 adds r7, #8 - 8010932: 46bd mov sp, r7 - 8010934: bd80 pop {r7, pc} - 8010936: bf00 nop - 8010938: 2001922c .word 0x2001922c - 801093c: 08018b1c .word 0x08018b1c - 8010940: 08018be4 .word 0x08018be4 - 8010944: 08018b64 .word 0x08018b64 + 80112b2: bf00 nop + 80112b4: 3708 adds r7, #8 + 80112b6: 46bd mov sp, r7 + 80112b8: bd80 pop {r7, pc} + 80112ba: bf00 nop + 80112bc: 20019260 .word 0x20019260 + 80112c0: 0801949c .word 0x0801949c + 80112c4: 08019564 .word 0x08019564 + 80112c8: 080194e4 .word 0x080194e4 -08010948 : +080112cc : * @param is_last is 1 if this pbuf has MF==0 (ipr->flags not updated yet) * @return see IP_REASS_VALIDATE_* defines */ static int ip_reass_chain_frag_into_datagram_and_validate(struct ip_reassdata *ipr, struct pbuf *new_p, int is_last) { - 8010948: b580 push {r7, lr} - 801094a: b08c sub sp, #48 @ 0x30 - 801094c: af00 add r7, sp, #0 - 801094e: 60f8 str r0, [r7, #12] - 8010950: 60b9 str r1, [r7, #8] - 8010952: 607a str r2, [r7, #4] + 80112cc: b580 push {r7, lr} + 80112ce: b08c sub sp, #48 @ 0x30 + 80112d0: af00 add r7, sp, #0 + 80112d2: 60f8 str r0, [r7, #12] + 80112d4: 60b9 str r1, [r7, #8] + 80112d6: 607a str r2, [r7, #4] struct ip_reass_helper *iprh, *iprh_tmp, *iprh_prev = NULL; - 8010954: 2300 movs r3, #0 - 8010956: 62bb str r3, [r7, #40] @ 0x28 + 80112d8: 2300 movs r3, #0 + 80112da: 62bb str r3, [r7, #40] @ 0x28 struct pbuf *q; u16_t offset, len; u8_t hlen; struct ip_hdr *fraghdr; int valid = 1; - 8010958: 2301 movs r3, #1 - 801095a: 623b str r3, [r7, #32] + 80112dc: 2301 movs r3, #1 + 80112de: 623b str r3, [r7, #32] /* Extract length and fragment offset from current fragment */ fraghdr = (struct ip_hdr *)new_p->payload; - 801095c: 68bb ldr r3, [r7, #8] - 801095e: 685b ldr r3, [r3, #4] - 8010960: 61fb str r3, [r7, #28] + 80112e0: 68bb ldr r3, [r7, #8] + 80112e2: 685b ldr r3, [r3, #4] + 80112e4: 61fb str r3, [r7, #28] len = lwip_ntohs(IPH_LEN(fraghdr)); - 8010962: 69fb ldr r3, [r7, #28] - 8010964: 885b ldrh r3, [r3, #2] - 8010966: b29b uxth r3, r3 - 8010968: 4618 mov r0, r3 - 801096a: f7f4 fd0d bl 8005388 - 801096e: 4603 mov r3, r0 - 8010970: 837b strh r3, [r7, #26] + 80112e6: 69fb ldr r3, [r7, #28] + 80112e8: 885b ldrh r3, [r3, #2] + 80112ea: b29b uxth r3, r3 + 80112ec: 4618 mov r0, r3 + 80112ee: f7f4 fd0d bl 8005d0c + 80112f2: 4603 mov r3, r0 + 80112f4: 837b strh r3, [r7, #26] hlen = IPH_HL_BYTES(fraghdr); - 8010972: 69fb ldr r3, [r7, #28] - 8010974: 781b ldrb r3, [r3, #0] - 8010976: f003 030f and.w r3, r3, #15 - 801097a: b2db uxtb r3, r3 - 801097c: 009b lsls r3, r3, #2 - 801097e: 767b strb r3, [r7, #25] + 80112f6: 69fb ldr r3, [r7, #28] + 80112f8: 781b ldrb r3, [r3, #0] + 80112fa: f003 030f and.w r3, r3, #15 + 80112fe: b2db uxtb r3, r3 + 8011300: 009b lsls r3, r3, #2 + 8011302: 767b strb r3, [r7, #25] if (hlen > len) { - 8010980: 7e7b ldrb r3, [r7, #25] - 8010982: b29b uxth r3, r3 - 8010984: 8b7a ldrh r2, [r7, #26] - 8010986: 429a cmp r2, r3 - 8010988: d202 bcs.n 8010990 + 8011304: 7e7b ldrb r3, [r7, #25] + 8011306: b29b uxth r3, r3 + 8011308: 8b7a ldrh r2, [r7, #26] + 801130a: 429a cmp r2, r3 + 801130c: d202 bcs.n 8011314 /* invalid datagram */ return IP_REASS_VALIDATE_PBUF_DROPPED; - 801098a: f04f 33ff mov.w r3, #4294967295 - 801098e: e135 b.n 8010bfc + 801130e: f04f 33ff mov.w r3, #4294967295 + 8011312: e135 b.n 8011580 } len = (u16_t)(len - hlen); - 8010990: 7e7b ldrb r3, [r7, #25] - 8010992: b29b uxth r3, r3 - 8010994: 8b7a ldrh r2, [r7, #26] - 8010996: 1ad3 subs r3, r2, r3 - 8010998: 837b strh r3, [r7, #26] + 8011314: 7e7b ldrb r3, [r7, #25] + 8011316: b29b uxth r3, r3 + 8011318: 8b7a ldrh r2, [r7, #26] + 801131a: 1ad3 subs r3, r2, r3 + 801131c: 837b strh r3, [r7, #26] offset = IPH_OFFSET_BYTES(fraghdr); - 801099a: 69fb ldr r3, [r7, #28] - 801099c: 88db ldrh r3, [r3, #6] - 801099e: b29b uxth r3, r3 - 80109a0: 4618 mov r0, r3 - 80109a2: f7f4 fcf1 bl 8005388 - 80109a6: 4603 mov r3, r0 - 80109a8: f3c3 030c ubfx r3, r3, #0, #13 - 80109ac: b29b uxth r3, r3 - 80109ae: 00db lsls r3, r3, #3 - 80109b0: 82fb strh r3, [r7, #22] + 801131e: 69fb ldr r3, [r7, #28] + 8011320: 88db ldrh r3, [r3, #6] + 8011322: b29b uxth r3, r3 + 8011324: 4618 mov r0, r3 + 8011326: f7f4 fcf1 bl 8005d0c + 801132a: 4603 mov r3, r0 + 801132c: f3c3 030c ubfx r3, r3, #0, #13 + 8011330: b29b uxth r3, r3 + 8011332: 00db lsls r3, r3, #3 + 8011334: 82fb strh r3, [r7, #22] /* overwrite the fragment's ip header from the pbuf with our helper struct, * and setup the embedded helper structure. */ /* make sure the struct ip_reass_helper fits into the IP header */ LWIP_ASSERT("sizeof(struct ip_reass_helper) <= IP_HLEN", sizeof(struct ip_reass_helper) <= IP_HLEN); iprh = (struct ip_reass_helper *)new_p->payload; - 80109b2: 68bb ldr r3, [r7, #8] - 80109b4: 685b ldr r3, [r3, #4] - 80109b6: 62fb str r3, [r7, #44] @ 0x2c + 8011336: 68bb ldr r3, [r7, #8] + 8011338: 685b ldr r3, [r3, #4] + 801133a: 62fb str r3, [r7, #44] @ 0x2c iprh->next_pbuf = NULL; - 80109b8: 6afb ldr r3, [r7, #44] @ 0x2c - 80109ba: 2200 movs r2, #0 - 80109bc: 701a strb r2, [r3, #0] - 80109be: 2200 movs r2, #0 - 80109c0: 705a strb r2, [r3, #1] - 80109c2: 2200 movs r2, #0 - 80109c4: 709a strb r2, [r3, #2] - 80109c6: 2200 movs r2, #0 - 80109c8: 70da strb r2, [r3, #3] + 801133c: 6afb ldr r3, [r7, #44] @ 0x2c + 801133e: 2200 movs r2, #0 + 8011340: 701a strb r2, [r3, #0] + 8011342: 2200 movs r2, #0 + 8011344: 705a strb r2, [r3, #1] + 8011346: 2200 movs r2, #0 + 8011348: 709a strb r2, [r3, #2] + 801134a: 2200 movs r2, #0 + 801134c: 70da strb r2, [r3, #3] iprh->start = offset; - 80109ca: 6afb ldr r3, [r7, #44] @ 0x2c - 80109cc: 8afa ldrh r2, [r7, #22] - 80109ce: 809a strh r2, [r3, #4] + 801134e: 6afb ldr r3, [r7, #44] @ 0x2c + 8011350: 8afa ldrh r2, [r7, #22] + 8011352: 809a strh r2, [r3, #4] iprh->end = (u16_t)(offset + len); - 80109d0: 8afa ldrh r2, [r7, #22] - 80109d2: 8b7b ldrh r3, [r7, #26] - 80109d4: 4413 add r3, r2 - 80109d6: b29a uxth r2, r3 - 80109d8: 6afb ldr r3, [r7, #44] @ 0x2c - 80109da: 80da strh r2, [r3, #6] + 8011354: 8afa ldrh r2, [r7, #22] + 8011356: 8b7b ldrh r3, [r7, #26] + 8011358: 4413 add r3, r2 + 801135a: b29a uxth r2, r3 + 801135c: 6afb ldr r3, [r7, #44] @ 0x2c + 801135e: 80da strh r2, [r3, #6] if (iprh->end < offset) { - 80109dc: 6afb ldr r3, [r7, #44] @ 0x2c - 80109de: 88db ldrh r3, [r3, #6] - 80109e0: b29b uxth r3, r3 - 80109e2: 8afa ldrh r2, [r7, #22] - 80109e4: 429a cmp r2, r3 - 80109e6: d902 bls.n 80109ee + 8011360: 6afb ldr r3, [r7, #44] @ 0x2c + 8011362: 88db ldrh r3, [r3, #6] + 8011364: b29b uxth r3, r3 + 8011366: 8afa ldrh r2, [r7, #22] + 8011368: 429a cmp r2, r3 + 801136a: d902 bls.n 8011372 /* u16_t overflow, cannot handle this */ return IP_REASS_VALIDATE_PBUF_DROPPED; - 80109e8: f04f 33ff mov.w r3, #4294967295 - 80109ec: e106 b.n 8010bfc + 801136c: f04f 33ff mov.w r3, #4294967295 + 8011370: e106 b.n 8011580 } /* Iterate through until we either get to the end of the list (append), * or we find one with a larger offset (insert). */ for (q = ipr->p; q != NULL;) { - 80109ee: 68fb ldr r3, [r7, #12] - 80109f0: 685b ldr r3, [r3, #4] - 80109f2: 627b str r3, [r7, #36] @ 0x24 - 80109f4: e068 b.n 8010ac8 + 8011372: 68fb ldr r3, [r7, #12] + 8011374: 685b ldr r3, [r3, #4] + 8011376: 627b str r3, [r7, #36] @ 0x24 + 8011378: e068 b.n 801144c iprh_tmp = (struct ip_reass_helper *)q->payload; - 80109f6: 6a7b ldr r3, [r7, #36] @ 0x24 - 80109f8: 685b ldr r3, [r3, #4] - 80109fa: 613b str r3, [r7, #16] + 801137a: 6a7b ldr r3, [r7, #36] @ 0x24 + 801137c: 685b ldr r3, [r3, #4] + 801137e: 613b str r3, [r7, #16] if (iprh->start < iprh_tmp->start) { - 80109fc: 6afb ldr r3, [r7, #44] @ 0x2c - 80109fe: 889b ldrh r3, [r3, #4] - 8010a00: b29a uxth r2, r3 - 8010a02: 693b ldr r3, [r7, #16] - 8010a04: 889b ldrh r3, [r3, #4] - 8010a06: b29b uxth r3, r3 - 8010a08: 429a cmp r2, r3 - 8010a0a: d235 bcs.n 8010a78 + 8011380: 6afb ldr r3, [r7, #44] @ 0x2c + 8011382: 889b ldrh r3, [r3, #4] + 8011384: b29a uxth r2, r3 + 8011386: 693b ldr r3, [r7, #16] + 8011388: 889b ldrh r3, [r3, #4] + 801138a: b29b uxth r3, r3 + 801138c: 429a cmp r2, r3 + 801138e: d235 bcs.n 80113fc /* the new pbuf should be inserted before this */ iprh->next_pbuf = q; - 8010a0c: 6afb ldr r3, [r7, #44] @ 0x2c - 8010a0e: 6a7a ldr r2, [r7, #36] @ 0x24 - 8010a10: 601a str r2, [r3, #0] + 8011390: 6afb ldr r3, [r7, #44] @ 0x2c + 8011392: 6a7a ldr r2, [r7, #36] @ 0x24 + 8011394: 601a str r2, [r3, #0] if (iprh_prev != NULL) { - 8010a12: 6abb ldr r3, [r7, #40] @ 0x28 - 8010a14: 2b00 cmp r3, #0 - 8010a16: d020 beq.n 8010a5a + 8011396: 6abb ldr r3, [r7, #40] @ 0x28 + 8011398: 2b00 cmp r3, #0 + 801139a: d020 beq.n 80113de /* not the fragment with the lowest offset */ #if IP_REASS_CHECK_OVERLAP if ((iprh->start < iprh_prev->end) || (iprh->end > iprh_tmp->start)) { - 8010a18: 6afb ldr r3, [r7, #44] @ 0x2c - 8010a1a: 889b ldrh r3, [r3, #4] - 8010a1c: b29a uxth r2, r3 - 8010a1e: 6abb ldr r3, [r7, #40] @ 0x28 - 8010a20: 88db ldrh r3, [r3, #6] - 8010a22: b29b uxth r3, r3 - 8010a24: 429a cmp r2, r3 - 8010a26: d307 bcc.n 8010a38 - 8010a28: 6afb ldr r3, [r7, #44] @ 0x2c - 8010a2a: 88db ldrh r3, [r3, #6] - 8010a2c: b29a uxth r2, r3 - 8010a2e: 693b ldr r3, [r7, #16] - 8010a30: 889b ldrh r3, [r3, #4] - 8010a32: b29b uxth r3, r3 - 8010a34: 429a cmp r2, r3 - 8010a36: d902 bls.n 8010a3e + 801139c: 6afb ldr r3, [r7, #44] @ 0x2c + 801139e: 889b ldrh r3, [r3, #4] + 80113a0: b29a uxth r2, r3 + 80113a2: 6abb ldr r3, [r7, #40] @ 0x28 + 80113a4: 88db ldrh r3, [r3, #6] + 80113a6: b29b uxth r3, r3 + 80113a8: 429a cmp r2, r3 + 80113aa: d307 bcc.n 80113bc + 80113ac: 6afb ldr r3, [r7, #44] @ 0x2c + 80113ae: 88db ldrh r3, [r3, #6] + 80113b0: b29a uxth r2, r3 + 80113b2: 693b ldr r3, [r7, #16] + 80113b4: 889b ldrh r3, [r3, #4] + 80113b6: b29b uxth r3, r3 + 80113b8: 429a cmp r2, r3 + 80113ba: d902 bls.n 80113c2 /* fragment overlaps with previous or following, throw away */ return IP_REASS_VALIDATE_PBUF_DROPPED; - 8010a38: f04f 33ff mov.w r3, #4294967295 - 8010a3c: e0de b.n 8010bfc + 80113bc: f04f 33ff mov.w r3, #4294967295 + 80113c0: e0de b.n 8011580 } #endif /* IP_REASS_CHECK_OVERLAP */ iprh_prev->next_pbuf = new_p; - 8010a3e: 6abb ldr r3, [r7, #40] @ 0x28 - 8010a40: 68ba ldr r2, [r7, #8] - 8010a42: 601a str r2, [r3, #0] + 80113c2: 6abb ldr r3, [r7, #40] @ 0x28 + 80113c4: 68ba ldr r2, [r7, #8] + 80113c6: 601a str r2, [r3, #0] if (iprh_prev->end != iprh->start) { - 8010a44: 6abb ldr r3, [r7, #40] @ 0x28 - 8010a46: 88db ldrh r3, [r3, #6] - 8010a48: b29a uxth r2, r3 - 8010a4a: 6afb ldr r3, [r7, #44] @ 0x2c - 8010a4c: 889b ldrh r3, [r3, #4] - 8010a4e: b29b uxth r3, r3 - 8010a50: 429a cmp r2, r3 - 8010a52: d03d beq.n 8010ad0 + 80113c8: 6abb ldr r3, [r7, #40] @ 0x28 + 80113ca: 88db ldrh r3, [r3, #6] + 80113cc: b29a uxth r2, r3 + 80113ce: 6afb ldr r3, [r7, #44] @ 0x2c + 80113d0: 889b ldrh r3, [r3, #4] + 80113d2: b29b uxth r3, r3 + 80113d4: 429a cmp r2, r3 + 80113d6: d03d beq.n 8011454 /* There is a fragment missing between the current * and the previous fragment */ valid = 0; - 8010a54: 2300 movs r3, #0 - 8010a56: 623b str r3, [r7, #32] + 80113d8: 2300 movs r3, #0 + 80113da: 623b str r3, [r7, #32] } #endif /* IP_REASS_CHECK_OVERLAP */ /* fragment with the lowest offset */ ipr->p = new_p; } break; - 8010a58: e03a b.n 8010ad0 + 80113dc: e03a b.n 8011454 if (iprh->end > iprh_tmp->start) { - 8010a5a: 6afb ldr r3, [r7, #44] @ 0x2c - 8010a5c: 88db ldrh r3, [r3, #6] - 8010a5e: b29a uxth r2, r3 - 8010a60: 693b ldr r3, [r7, #16] - 8010a62: 889b ldrh r3, [r3, #4] - 8010a64: b29b uxth r3, r3 - 8010a66: 429a cmp r2, r3 - 8010a68: d902 bls.n 8010a70 + 80113de: 6afb ldr r3, [r7, #44] @ 0x2c + 80113e0: 88db ldrh r3, [r3, #6] + 80113e2: b29a uxth r2, r3 + 80113e4: 693b ldr r3, [r7, #16] + 80113e6: 889b ldrh r3, [r3, #4] + 80113e8: b29b uxth r3, r3 + 80113ea: 429a cmp r2, r3 + 80113ec: d902 bls.n 80113f4 return IP_REASS_VALIDATE_PBUF_DROPPED; - 8010a6a: f04f 33ff mov.w r3, #4294967295 - 8010a6e: e0c5 b.n 8010bfc + 80113ee: f04f 33ff mov.w r3, #4294967295 + 80113f2: e0c5 b.n 8011580 ipr->p = new_p; - 8010a70: 68fb ldr r3, [r7, #12] - 8010a72: 68ba ldr r2, [r7, #8] - 8010a74: 605a str r2, [r3, #4] + 80113f4: 68fb ldr r3, [r7, #12] + 80113f6: 68ba ldr r2, [r7, #8] + 80113f8: 605a str r2, [r3, #4] break; - 8010a76: e02b b.n 8010ad0 + 80113fa: e02b b.n 8011454 } else if (iprh->start == iprh_tmp->start) { - 8010a78: 6afb ldr r3, [r7, #44] @ 0x2c - 8010a7a: 889b ldrh r3, [r3, #4] - 8010a7c: b29a uxth r2, r3 - 8010a7e: 693b ldr r3, [r7, #16] - 8010a80: 889b ldrh r3, [r3, #4] - 8010a82: b29b uxth r3, r3 - 8010a84: 429a cmp r2, r3 - 8010a86: d102 bne.n 8010a8e + 80113fc: 6afb ldr r3, [r7, #44] @ 0x2c + 80113fe: 889b ldrh r3, [r3, #4] + 8011400: b29a uxth r2, r3 + 8011402: 693b ldr r3, [r7, #16] + 8011404: 889b ldrh r3, [r3, #4] + 8011406: b29b uxth r3, r3 + 8011408: 429a cmp r2, r3 + 801140a: d102 bne.n 8011412 /* received the same datagram twice: no need to keep the datagram */ return IP_REASS_VALIDATE_PBUF_DROPPED; - 8010a88: f04f 33ff mov.w r3, #4294967295 - 8010a8c: e0b6 b.n 8010bfc + 801140c: f04f 33ff mov.w r3, #4294967295 + 8011410: e0b6 b.n 8011580 #if IP_REASS_CHECK_OVERLAP } else if (iprh->start < iprh_tmp->end) { - 8010a8e: 6afb ldr r3, [r7, #44] @ 0x2c - 8010a90: 889b ldrh r3, [r3, #4] - 8010a92: b29a uxth r2, r3 - 8010a94: 693b ldr r3, [r7, #16] - 8010a96: 88db ldrh r3, [r3, #6] - 8010a98: b29b uxth r3, r3 - 8010a9a: 429a cmp r2, r3 - 8010a9c: d202 bcs.n 8010aa4 + 8011412: 6afb ldr r3, [r7, #44] @ 0x2c + 8011414: 889b ldrh r3, [r3, #4] + 8011416: b29a uxth r2, r3 + 8011418: 693b ldr r3, [r7, #16] + 801141a: 88db ldrh r3, [r3, #6] + 801141c: b29b uxth r3, r3 + 801141e: 429a cmp r2, r3 + 8011420: d202 bcs.n 8011428 /* overlap: no need to keep the new datagram */ return IP_REASS_VALIDATE_PBUF_DROPPED; - 8010a9e: f04f 33ff mov.w r3, #4294967295 - 8010aa2: e0ab b.n 8010bfc + 8011422: f04f 33ff mov.w r3, #4294967295 + 8011426: e0ab b.n 8011580 #endif /* IP_REASS_CHECK_OVERLAP */ } else { /* Check if the fragments received so far have no holes. */ if (iprh_prev != NULL) { - 8010aa4: 6abb ldr r3, [r7, #40] @ 0x28 - 8010aa6: 2b00 cmp r3, #0 - 8010aa8: d009 beq.n 8010abe + 8011428: 6abb ldr r3, [r7, #40] @ 0x28 + 801142a: 2b00 cmp r3, #0 + 801142c: d009 beq.n 8011442 if (iprh_prev->end != iprh_tmp->start) { - 8010aaa: 6abb ldr r3, [r7, #40] @ 0x28 - 8010aac: 88db ldrh r3, [r3, #6] - 8010aae: b29a uxth r2, r3 - 8010ab0: 693b ldr r3, [r7, #16] - 8010ab2: 889b ldrh r3, [r3, #4] - 8010ab4: b29b uxth r3, r3 - 8010ab6: 429a cmp r2, r3 - 8010ab8: d001 beq.n 8010abe + 801142e: 6abb ldr r3, [r7, #40] @ 0x28 + 8011430: 88db ldrh r3, [r3, #6] + 8011432: b29a uxth r2, r3 + 8011434: 693b ldr r3, [r7, #16] + 8011436: 889b ldrh r3, [r3, #4] + 8011438: b29b uxth r3, r3 + 801143a: 429a cmp r2, r3 + 801143c: d001 beq.n 8011442 /* There is a fragment missing between the current * and the previous fragment */ valid = 0; - 8010aba: 2300 movs r3, #0 - 8010abc: 623b str r3, [r7, #32] + 801143e: 2300 movs r3, #0 + 8011440: 623b str r3, [r7, #32] } } } q = iprh_tmp->next_pbuf; - 8010abe: 693b ldr r3, [r7, #16] - 8010ac0: 681b ldr r3, [r3, #0] - 8010ac2: 627b str r3, [r7, #36] @ 0x24 + 8011442: 693b ldr r3, [r7, #16] + 8011444: 681b ldr r3, [r3, #0] + 8011446: 627b str r3, [r7, #36] @ 0x24 iprh_prev = iprh_tmp; - 8010ac4: 693b ldr r3, [r7, #16] - 8010ac6: 62bb str r3, [r7, #40] @ 0x28 + 8011448: 693b ldr r3, [r7, #16] + 801144a: 62bb str r3, [r7, #40] @ 0x28 for (q = ipr->p; q != NULL;) { - 8010ac8: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010aca: 2b00 cmp r3, #0 - 8010acc: d193 bne.n 80109f6 - 8010ace: e000 b.n 8010ad2 + 801144c: 6a7b ldr r3, [r7, #36] @ 0x24 + 801144e: 2b00 cmp r3, #0 + 8011450: d193 bne.n 801137a + 8011452: e000 b.n 8011456 break; - 8010ad0: bf00 nop + 8011454: bf00 nop } /* If q is NULL, then we made it to the end of the list. Determine what to do now */ if (q == NULL) { - 8010ad2: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010ad4: 2b00 cmp r3, #0 - 8010ad6: d12d bne.n 8010b34 + 8011456: 6a7b ldr r3, [r7, #36] @ 0x24 + 8011458: 2b00 cmp r3, #0 + 801145a: d12d bne.n 80114b8 if (iprh_prev != NULL) { - 8010ad8: 6abb ldr r3, [r7, #40] @ 0x28 - 8010ada: 2b00 cmp r3, #0 - 8010adc: d01c beq.n 8010b18 + 801145c: 6abb ldr r3, [r7, #40] @ 0x28 + 801145e: 2b00 cmp r3, #0 + 8011460: d01c beq.n 801149c /* this is (for now), the fragment with the highest offset: * chain it to the last fragment */ #if IP_REASS_CHECK_OVERLAP LWIP_ASSERT("check fragments don't overlap", iprh_prev->end <= iprh->start); - 8010ade: 6abb ldr r3, [r7, #40] @ 0x28 - 8010ae0: 88db ldrh r3, [r3, #6] - 8010ae2: b29a uxth r2, r3 - 8010ae4: 6afb ldr r3, [r7, #44] @ 0x2c - 8010ae6: 889b ldrh r3, [r3, #4] - 8010ae8: b29b uxth r3, r3 - 8010aea: 429a cmp r2, r3 - 8010aec: d906 bls.n 8010afc - 8010aee: 4b45 ldr r3, [pc, #276] @ (8010c04 ) - 8010af0: f44f 72db mov.w r2, #438 @ 0x1b6 - 8010af4: 4944 ldr r1, [pc, #272] @ (8010c08 ) - 8010af6: 4845 ldr r0, [pc, #276] @ (8010c0c ) - 8010af8: f000 fd7e bl 80115f8 + 8011462: 6abb ldr r3, [r7, #40] @ 0x28 + 8011464: 88db ldrh r3, [r3, #6] + 8011466: b29a uxth r2, r3 + 8011468: 6afb ldr r3, [r7, #44] @ 0x2c + 801146a: 889b ldrh r3, [r3, #4] + 801146c: b29b uxth r3, r3 + 801146e: 429a cmp r2, r3 + 8011470: d906 bls.n 8011480 + 8011472: 4b45 ldr r3, [pc, #276] @ (8011588 ) + 8011474: f44f 72db mov.w r2, #438 @ 0x1b6 + 8011478: 4944 ldr r1, [pc, #272] @ (801158c ) + 801147a: 4845 ldr r0, [pc, #276] @ (8011590 ) + 801147c: f000 fd7e bl 8011f7c #endif /* IP_REASS_CHECK_OVERLAP */ iprh_prev->next_pbuf = new_p; - 8010afc: 6abb ldr r3, [r7, #40] @ 0x28 - 8010afe: 68ba ldr r2, [r7, #8] - 8010b00: 601a str r2, [r3, #0] + 8011480: 6abb ldr r3, [r7, #40] @ 0x28 + 8011482: 68ba ldr r2, [r7, #8] + 8011484: 601a str r2, [r3, #0] if (iprh_prev->end != iprh->start) { - 8010b02: 6abb ldr r3, [r7, #40] @ 0x28 - 8010b04: 88db ldrh r3, [r3, #6] - 8010b06: b29a uxth r2, r3 - 8010b08: 6afb ldr r3, [r7, #44] @ 0x2c - 8010b0a: 889b ldrh r3, [r3, #4] - 8010b0c: b29b uxth r3, r3 - 8010b0e: 429a cmp r2, r3 - 8010b10: d010 beq.n 8010b34 + 8011486: 6abb ldr r3, [r7, #40] @ 0x28 + 8011488: 88db ldrh r3, [r3, #6] + 801148a: b29a uxth r2, r3 + 801148c: 6afb ldr r3, [r7, #44] @ 0x2c + 801148e: 889b ldrh r3, [r3, #4] + 8011490: b29b uxth r3, r3 + 8011492: 429a cmp r2, r3 + 8011494: d010 beq.n 80114b8 valid = 0; - 8010b12: 2300 movs r3, #0 - 8010b14: 623b str r3, [r7, #32] - 8010b16: e00d b.n 8010b34 + 8011496: 2300 movs r3, #0 + 8011498: 623b str r3, [r7, #32] + 801149a: e00d b.n 80114b8 } } else { #if IP_REASS_CHECK_OVERLAP LWIP_ASSERT("no previous fragment, this must be the first fragment!", - 8010b18: 68fb ldr r3, [r7, #12] - 8010b1a: 685b ldr r3, [r3, #4] - 8010b1c: 2b00 cmp r3, #0 - 8010b1e: d006 beq.n 8010b2e - 8010b20: 4b38 ldr r3, [pc, #224] @ (8010c04 ) - 8010b22: f44f 72df mov.w r2, #446 @ 0x1be - 8010b26: 493a ldr r1, [pc, #232] @ (8010c10 ) - 8010b28: 4838 ldr r0, [pc, #224] @ (8010c0c ) - 8010b2a: f000 fd65 bl 80115f8 + 801149c: 68fb ldr r3, [r7, #12] + 801149e: 685b ldr r3, [r3, #4] + 80114a0: 2b00 cmp r3, #0 + 80114a2: d006 beq.n 80114b2 + 80114a4: 4b38 ldr r3, [pc, #224] @ (8011588 ) + 80114a6: f44f 72df mov.w r2, #446 @ 0x1be + 80114aa: 493a ldr r1, [pc, #232] @ (8011594 ) + 80114ac: 4838 ldr r0, [pc, #224] @ (8011590 ) + 80114ae: f000 fd65 bl 8011f7c ipr->p == NULL); #endif /* IP_REASS_CHECK_OVERLAP */ /* this is the first fragment we ever received for this ip datagram */ ipr->p = new_p; - 8010b2e: 68fb ldr r3, [r7, #12] - 8010b30: 68ba ldr r2, [r7, #8] - 8010b32: 605a str r2, [r3, #4] + 80114b2: 68fb ldr r3, [r7, #12] + 80114b4: 68ba ldr r2, [r7, #8] + 80114b6: 605a str r2, [r3, #4] } } /* At this point, the validation part begins: */ /* If we already received the last fragment */ if (is_last || ((ipr->flags & IP_REASS_FLAG_LASTFRAG) != 0)) { - 8010b34: 687b ldr r3, [r7, #4] - 8010b36: 2b00 cmp r3, #0 - 8010b38: d105 bne.n 8010b46 - 8010b3a: 68fb ldr r3, [r7, #12] - 8010b3c: 7f9b ldrb r3, [r3, #30] - 8010b3e: f003 0301 and.w r3, r3, #1 - 8010b42: 2b00 cmp r3, #0 - 8010b44: d059 beq.n 8010bfa + 80114b8: 687b ldr r3, [r7, #4] + 80114ba: 2b00 cmp r3, #0 + 80114bc: d105 bne.n 80114ca + 80114be: 68fb ldr r3, [r7, #12] + 80114c0: 7f9b ldrb r3, [r3, #30] + 80114c2: f003 0301 and.w r3, r3, #1 + 80114c6: 2b00 cmp r3, #0 + 80114c8: d059 beq.n 801157e /* and had no holes so far */ if (valid) { - 8010b46: 6a3b ldr r3, [r7, #32] - 8010b48: 2b00 cmp r3, #0 - 8010b4a: d04f beq.n 8010bec + 80114ca: 6a3b ldr r3, [r7, #32] + 80114cc: 2b00 cmp r3, #0 + 80114ce: d04f beq.n 8011570 /* then check if the rest of the fragments is here */ /* Check if the queue starts with the first datagram */ if ((ipr->p == NULL) || (((struct ip_reass_helper *)ipr->p->payload)->start != 0)) { - 8010b4c: 68fb ldr r3, [r7, #12] - 8010b4e: 685b ldr r3, [r3, #4] - 8010b50: 2b00 cmp r3, #0 - 8010b52: d006 beq.n 8010b62 - 8010b54: 68fb ldr r3, [r7, #12] - 8010b56: 685b ldr r3, [r3, #4] - 8010b58: 685b ldr r3, [r3, #4] - 8010b5a: 889b ldrh r3, [r3, #4] - 8010b5c: b29b uxth r3, r3 - 8010b5e: 2b00 cmp r3, #0 - 8010b60: d002 beq.n 8010b68 + 80114d0: 68fb ldr r3, [r7, #12] + 80114d2: 685b ldr r3, [r3, #4] + 80114d4: 2b00 cmp r3, #0 + 80114d6: d006 beq.n 80114e6 + 80114d8: 68fb ldr r3, [r7, #12] + 80114da: 685b ldr r3, [r3, #4] + 80114dc: 685b ldr r3, [r3, #4] + 80114de: 889b ldrh r3, [r3, #4] + 80114e0: b29b uxth r3, r3 + 80114e2: 2b00 cmp r3, #0 + 80114e4: d002 beq.n 80114ec valid = 0; - 8010b62: 2300 movs r3, #0 - 8010b64: 623b str r3, [r7, #32] - 8010b66: e041 b.n 8010bec + 80114e6: 2300 movs r3, #0 + 80114e8: 623b str r3, [r7, #32] + 80114ea: e041 b.n 8011570 } else { /* and check that there are no holes after this datagram */ iprh_prev = iprh; - 8010b68: 6afb ldr r3, [r7, #44] @ 0x2c - 8010b6a: 62bb str r3, [r7, #40] @ 0x28 + 80114ec: 6afb ldr r3, [r7, #44] @ 0x2c + 80114ee: 62bb str r3, [r7, #40] @ 0x28 q = iprh->next_pbuf; - 8010b6c: 6afb ldr r3, [r7, #44] @ 0x2c - 8010b6e: 681b ldr r3, [r3, #0] - 8010b70: 627b str r3, [r7, #36] @ 0x24 + 80114f0: 6afb ldr r3, [r7, #44] @ 0x2c + 80114f2: 681b ldr r3, [r3, #0] + 80114f4: 627b str r3, [r7, #36] @ 0x24 while (q != NULL) { - 8010b72: e012 b.n 8010b9a + 80114f6: e012 b.n 801151e iprh = (struct ip_reass_helper *)q->payload; - 8010b74: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010b76: 685b ldr r3, [r3, #4] - 8010b78: 62fb str r3, [r7, #44] @ 0x2c + 80114f8: 6a7b ldr r3, [r7, #36] @ 0x24 + 80114fa: 685b ldr r3, [r3, #4] + 80114fc: 62fb str r3, [r7, #44] @ 0x2c if (iprh_prev->end != iprh->start) { - 8010b7a: 6abb ldr r3, [r7, #40] @ 0x28 - 8010b7c: 88db ldrh r3, [r3, #6] - 8010b7e: b29a uxth r2, r3 - 8010b80: 6afb ldr r3, [r7, #44] @ 0x2c - 8010b82: 889b ldrh r3, [r3, #4] - 8010b84: b29b uxth r3, r3 - 8010b86: 429a cmp r2, r3 - 8010b88: d002 beq.n 8010b90 + 80114fe: 6abb ldr r3, [r7, #40] @ 0x28 + 8011500: 88db ldrh r3, [r3, #6] + 8011502: b29a uxth r2, r3 + 8011504: 6afb ldr r3, [r7, #44] @ 0x2c + 8011506: 889b ldrh r3, [r3, #4] + 8011508: b29b uxth r3, r3 + 801150a: 429a cmp r2, r3 + 801150c: d002 beq.n 8011514 valid = 0; - 8010b8a: 2300 movs r3, #0 - 8010b8c: 623b str r3, [r7, #32] + 801150e: 2300 movs r3, #0 + 8011510: 623b str r3, [r7, #32] break; - 8010b8e: e007 b.n 8010ba0 + 8011512: e007 b.n 8011524 } iprh_prev = iprh; - 8010b90: 6afb ldr r3, [r7, #44] @ 0x2c - 8010b92: 62bb str r3, [r7, #40] @ 0x28 + 8011514: 6afb ldr r3, [r7, #44] @ 0x2c + 8011516: 62bb str r3, [r7, #40] @ 0x28 q = iprh->next_pbuf; - 8010b94: 6afb ldr r3, [r7, #44] @ 0x2c - 8010b96: 681b ldr r3, [r3, #0] - 8010b98: 627b str r3, [r7, #36] @ 0x24 + 8011518: 6afb ldr r3, [r7, #44] @ 0x2c + 801151a: 681b ldr r3, [r3, #0] + 801151c: 627b str r3, [r7, #36] @ 0x24 while (q != NULL) { - 8010b9a: 6a7b ldr r3, [r7, #36] @ 0x24 - 8010b9c: 2b00 cmp r3, #0 - 8010b9e: d1e9 bne.n 8010b74 + 801151e: 6a7b ldr r3, [r7, #36] @ 0x24 + 8011520: 2b00 cmp r3, #0 + 8011522: d1e9 bne.n 80114f8 } /* if still valid, all fragments are received * (because to the MF==0 already arrived */ if (valid) { - 8010ba0: 6a3b ldr r3, [r7, #32] - 8010ba2: 2b00 cmp r3, #0 - 8010ba4: d022 beq.n 8010bec + 8011524: 6a3b ldr r3, [r7, #32] + 8011526: 2b00 cmp r3, #0 + 8011528: d022 beq.n 8011570 LWIP_ASSERT("sanity check", ipr->p != NULL); - 8010ba6: 68fb ldr r3, [r7, #12] - 8010ba8: 685b ldr r3, [r3, #4] - 8010baa: 2b00 cmp r3, #0 - 8010bac: d106 bne.n 8010bbc - 8010bae: 4b15 ldr r3, [pc, #84] @ (8010c04 ) - 8010bb0: f240 12df movw r2, #479 @ 0x1df - 8010bb4: 4917 ldr r1, [pc, #92] @ (8010c14 ) - 8010bb6: 4815 ldr r0, [pc, #84] @ (8010c0c ) - 8010bb8: f000 fd1e bl 80115f8 + 801152a: 68fb ldr r3, [r7, #12] + 801152c: 685b ldr r3, [r3, #4] + 801152e: 2b00 cmp r3, #0 + 8011530: d106 bne.n 8011540 + 8011532: 4b15 ldr r3, [pc, #84] @ (8011588 ) + 8011534: f240 12df movw r2, #479 @ 0x1df + 8011538: 4917 ldr r1, [pc, #92] @ (8011598 ) + 801153a: 4815 ldr r0, [pc, #84] @ (8011590 ) + 801153c: f000 fd1e bl 8011f7c LWIP_ASSERT("sanity check", - 8010bbc: 68fb ldr r3, [r7, #12] - 8010bbe: 685b ldr r3, [r3, #4] - 8010bc0: 685b ldr r3, [r3, #4] - 8010bc2: 6afa ldr r2, [r7, #44] @ 0x2c - 8010bc4: 429a cmp r2, r3 - 8010bc6: d106 bne.n 8010bd6 - 8010bc8: 4b0e ldr r3, [pc, #56] @ (8010c04 ) - 8010bca: f44f 72f0 mov.w r2, #480 @ 0x1e0 - 8010bce: 4911 ldr r1, [pc, #68] @ (8010c14 ) - 8010bd0: 480e ldr r0, [pc, #56] @ (8010c0c ) - 8010bd2: f000 fd11 bl 80115f8 + 8011540: 68fb ldr r3, [r7, #12] + 8011542: 685b ldr r3, [r3, #4] + 8011544: 685b ldr r3, [r3, #4] + 8011546: 6afa ldr r2, [r7, #44] @ 0x2c + 8011548: 429a cmp r2, r3 + 801154a: d106 bne.n 801155a + 801154c: 4b0e ldr r3, [pc, #56] @ (8011588 ) + 801154e: f44f 72f0 mov.w r2, #480 @ 0x1e0 + 8011552: 4911 ldr r1, [pc, #68] @ (8011598 ) + 8011554: 480e ldr r0, [pc, #56] @ (8011590 ) + 8011556: f000 fd11 bl 8011f7c ((struct ip_reass_helper *)ipr->p->payload) != iprh); LWIP_ASSERT("validate_datagram:next_pbuf!=NULL", - 8010bd6: 6afb ldr r3, [r7, #44] @ 0x2c - 8010bd8: 681b ldr r3, [r3, #0] - 8010bda: 2b00 cmp r3, #0 - 8010bdc: d006 beq.n 8010bec - 8010bde: 4b09 ldr r3, [pc, #36] @ (8010c04 ) - 8010be0: f44f 72f1 mov.w r2, #482 @ 0x1e2 - 8010be4: 490c ldr r1, [pc, #48] @ (8010c18 ) - 8010be6: 4809 ldr r0, [pc, #36] @ (8010c0c ) - 8010be8: f000 fd06 bl 80115f8 + 801155a: 6afb ldr r3, [r7, #44] @ 0x2c + 801155c: 681b ldr r3, [r3, #0] + 801155e: 2b00 cmp r3, #0 + 8011560: d006 beq.n 8011570 + 8011562: 4b09 ldr r3, [pc, #36] @ (8011588 ) + 8011564: f44f 72f1 mov.w r2, #482 @ 0x1e2 + 8011568: 490c ldr r1, [pc, #48] @ (801159c ) + 801156a: 4809 ldr r0, [pc, #36] @ (8011590 ) + 801156c: f000 fd06 bl 8011f7c } } /* If valid is 0 here, there are some fragments missing in the middle * (since MF == 0 has already arrived). Such datagrams simply time out if * no more fragments are received... */ return valid ? IP_REASS_VALIDATE_TELEGRAM_FINISHED : IP_REASS_VALIDATE_PBUF_QUEUED; - 8010bec: 6a3b ldr r3, [r7, #32] - 8010bee: 2b00 cmp r3, #0 - 8010bf0: bf14 ite ne - 8010bf2: 2301 movne r3, #1 - 8010bf4: 2300 moveq r3, #0 - 8010bf6: b2db uxtb r3, r3 - 8010bf8: e000 b.n 8010bfc + 8011570: 6a3b ldr r3, [r7, #32] + 8011572: 2b00 cmp r3, #0 + 8011574: bf14 ite ne + 8011576: 2301 movne r3, #1 + 8011578: 2300 moveq r3, #0 + 801157a: b2db uxtb r3, r3 + 801157c: e000 b.n 8011580 } /* If we come here, not all fragments were received, yet! */ return IP_REASS_VALIDATE_PBUF_QUEUED; /* not yet valid! */ - 8010bfa: 2300 movs r3, #0 + 801157e: 2300 movs r3, #0 } - 8010bfc: 4618 mov r0, r3 - 8010bfe: 3730 adds r7, #48 @ 0x30 - 8010c00: 46bd mov sp, r7 - 8010c02: bd80 pop {r7, pc} - 8010c04: 08018b1c .word 0x08018b1c - 8010c08: 08018c00 .word 0x08018c00 - 8010c0c: 08018b64 .word 0x08018b64 - 8010c10: 08018c20 .word 0x08018c20 - 8010c14: 08018c58 .word 0x08018c58 - 8010c18: 08018c68 .word 0x08018c68 + 8011580: 4618 mov r0, r3 + 8011582: 3730 adds r7, #48 @ 0x30 + 8011584: 46bd mov sp, r7 + 8011586: bd80 pop {r7, pc} + 8011588: 0801949c .word 0x0801949c + 801158c: 08019580 .word 0x08019580 + 8011590: 080194e4 .word 0x080194e4 + 8011594: 080195a0 .word 0x080195a0 + 8011598: 080195d8 .word 0x080195d8 + 801159c: 080195e8 .word 0x080195e8 -08010c1c : +080115a0 : * @param p points to a pbuf chain of the fragment * @return NULL if reassembly is incomplete, ? otherwise */ struct pbuf * ip4_reass(struct pbuf *p) { - 8010c1c: b580 push {r7, lr} - 8010c1e: b08e sub sp, #56 @ 0x38 - 8010c20: af00 add r7, sp, #0 - 8010c22: 6078 str r0, [r7, #4] + 80115a0: b580 push {r7, lr} + 80115a2: b08e sub sp, #56 @ 0x38 + 80115a4: af00 add r7, sp, #0 + 80115a6: 6078 str r0, [r7, #4] int is_last; IPFRAG_STATS_INC(ip_frag.recv); MIB2_STATS_INC(mib2.ipreasmreqds); fraghdr = (struct ip_hdr *)p->payload; - 8010c24: 687b ldr r3, [r7, #4] - 8010c26: 685b ldr r3, [r3, #4] - 8010c28: 62bb str r3, [r7, #40] @ 0x28 + 80115a8: 687b ldr r3, [r7, #4] + 80115aa: 685b ldr r3, [r3, #4] + 80115ac: 62bb str r3, [r7, #40] @ 0x28 if (IPH_HL_BYTES(fraghdr) != IP_HLEN) { - 8010c2a: 6abb ldr r3, [r7, #40] @ 0x28 - 8010c2c: 781b ldrb r3, [r3, #0] - 8010c2e: f003 030f and.w r3, r3, #15 - 8010c32: b2db uxtb r3, r3 - 8010c34: 009b lsls r3, r3, #2 - 8010c36: b2db uxtb r3, r3 - 8010c38: 2b14 cmp r3, #20 - 8010c3a: f040 8171 bne.w 8010f20 + 80115ae: 6abb ldr r3, [r7, #40] @ 0x28 + 80115b0: 781b ldrb r3, [r3, #0] + 80115b2: f003 030f and.w r3, r3, #15 + 80115b6: b2db uxtb r3, r3 + 80115b8: 009b lsls r3, r3, #2 + 80115ba: b2db uxtb r3, r3 + 80115bc: 2b14 cmp r3, #20 + 80115be: f040 8171 bne.w 80118a4 LWIP_DEBUGF(IP_REASS_DEBUG, ("ip4_reass: IP options currently not supported!\n")); IPFRAG_STATS_INC(ip_frag.err); goto nullreturn; } offset = IPH_OFFSET_BYTES(fraghdr); - 8010c3e: 6abb ldr r3, [r7, #40] @ 0x28 - 8010c40: 88db ldrh r3, [r3, #6] - 8010c42: b29b uxth r3, r3 - 8010c44: 4618 mov r0, r3 - 8010c46: f7f4 fb9f bl 8005388 - 8010c4a: 4603 mov r3, r0 - 8010c4c: f3c3 030c ubfx r3, r3, #0, #13 - 8010c50: b29b uxth r3, r3 - 8010c52: 00db lsls r3, r3, #3 - 8010c54: 84fb strh r3, [r7, #38] @ 0x26 + 80115c2: 6abb ldr r3, [r7, #40] @ 0x28 + 80115c4: 88db ldrh r3, [r3, #6] + 80115c6: b29b uxth r3, r3 + 80115c8: 4618 mov r0, r3 + 80115ca: f7f4 fb9f bl 8005d0c + 80115ce: 4603 mov r3, r0 + 80115d0: f3c3 030c ubfx r3, r3, #0, #13 + 80115d4: b29b uxth r3, r3 + 80115d6: 00db lsls r3, r3, #3 + 80115d8: 84fb strh r3, [r7, #38] @ 0x26 len = lwip_ntohs(IPH_LEN(fraghdr)); - 8010c56: 6abb ldr r3, [r7, #40] @ 0x28 - 8010c58: 885b ldrh r3, [r3, #2] - 8010c5a: b29b uxth r3, r3 - 8010c5c: 4618 mov r0, r3 - 8010c5e: f7f4 fb93 bl 8005388 - 8010c62: 4603 mov r3, r0 - 8010c64: 84bb strh r3, [r7, #36] @ 0x24 + 80115da: 6abb ldr r3, [r7, #40] @ 0x28 + 80115dc: 885b ldrh r3, [r3, #2] + 80115de: b29b uxth r3, r3 + 80115e0: 4618 mov r0, r3 + 80115e2: f7f4 fb93 bl 8005d0c + 80115e6: 4603 mov r3, r0 + 80115e8: 84bb strh r3, [r7, #36] @ 0x24 hlen = IPH_HL_BYTES(fraghdr); - 8010c66: 6abb ldr r3, [r7, #40] @ 0x28 - 8010c68: 781b ldrb r3, [r3, #0] - 8010c6a: f003 030f and.w r3, r3, #15 - 8010c6e: b2db uxtb r3, r3 - 8010c70: 009b lsls r3, r3, #2 - 8010c72: f887 3023 strb.w r3, [r7, #35] @ 0x23 + 80115ea: 6abb ldr r3, [r7, #40] @ 0x28 + 80115ec: 781b ldrb r3, [r3, #0] + 80115ee: f003 030f and.w r3, r3, #15 + 80115f2: b2db uxtb r3, r3 + 80115f4: 009b lsls r3, r3, #2 + 80115f6: f887 3023 strb.w r3, [r7, #35] @ 0x23 if (hlen > len) { - 8010c76: f897 3023 ldrb.w r3, [r7, #35] @ 0x23 - 8010c7a: b29b uxth r3, r3 - 8010c7c: 8cba ldrh r2, [r7, #36] @ 0x24 - 8010c7e: 429a cmp r2, r3 - 8010c80: f0c0 8150 bcc.w 8010f24 + 80115fa: f897 3023 ldrb.w r3, [r7, #35] @ 0x23 + 80115fe: b29b uxth r3, r3 + 8011600: 8cba ldrh r2, [r7, #36] @ 0x24 + 8011602: 429a cmp r2, r3 + 8011604: f0c0 8150 bcc.w 80118a8 /* invalid datagram */ goto nullreturn; } len = (u16_t)(len - hlen); - 8010c84: f897 3023 ldrb.w r3, [r7, #35] @ 0x23 - 8010c88: b29b uxth r3, r3 - 8010c8a: 8cba ldrh r2, [r7, #36] @ 0x24 - 8010c8c: 1ad3 subs r3, r2, r3 - 8010c8e: 84bb strh r3, [r7, #36] @ 0x24 + 8011608: f897 3023 ldrb.w r3, [r7, #35] @ 0x23 + 801160c: b29b uxth r3, r3 + 801160e: 8cba ldrh r2, [r7, #36] @ 0x24 + 8011610: 1ad3 subs r3, r2, r3 + 8011612: 84bb strh r3, [r7, #36] @ 0x24 /* Check if we are allowed to enqueue more datagrams. */ clen = pbuf_clen(p); - 8010c90: 6878 ldr r0, [r7, #4] - 8010c92: f7f5 ff51 bl 8006b38 - 8010c96: 4603 mov r3, r0 - 8010c98: 843b strh r3, [r7, #32] + 8011614: 6878 ldr r0, [r7, #4] + 8011616: f7f5 ff51 bl 80074bc + 801161a: 4603 mov r3, r0 + 801161c: 843b strh r3, [r7, #32] if ((ip_reass_pbufcount + clen) > IP_REASS_MAX_PBUFS) { - 8010c9a: 4b8c ldr r3, [pc, #560] @ (8010ecc ) - 8010c9c: 881b ldrh r3, [r3, #0] - 8010c9e: 461a mov r2, r3 - 8010ca0: 8c3b ldrh r3, [r7, #32] - 8010ca2: 4413 add r3, r2 - 8010ca4: 2b0a cmp r3, #10 - 8010ca6: dd10 ble.n 8010cca + 801161e: 4b8c ldr r3, [pc, #560] @ (8011850 ) + 8011620: 881b ldrh r3, [r3, #0] + 8011622: 461a mov r2, r3 + 8011624: 8c3b ldrh r3, [r7, #32] + 8011626: 4413 add r3, r2 + 8011628: 2b0a cmp r3, #10 + 801162a: dd10 ble.n 801164e #if IP_REASS_FREE_OLDEST if (!ip_reass_remove_oldest_datagram(fraghdr, clen) || - 8010ca8: 8c3b ldrh r3, [r7, #32] - 8010caa: 4619 mov r1, r3 - 8010cac: 6ab8 ldr r0, [r7, #40] @ 0x28 - 8010cae: f7ff fd81 bl 80107b4 - 8010cb2: 4603 mov r3, r0 - 8010cb4: 2b00 cmp r3, #0 - 8010cb6: f000 8137 beq.w 8010f28 + 801162c: 8c3b ldrh r3, [r7, #32] + 801162e: 4619 mov r1, r3 + 8011630: 6ab8 ldr r0, [r7, #40] @ 0x28 + 8011632: f7ff fd81 bl 8011138 + 8011636: 4603 mov r3, r0 + 8011638: 2b00 cmp r3, #0 + 801163a: f000 8137 beq.w 80118ac ((ip_reass_pbufcount + clen) > IP_REASS_MAX_PBUFS)) - 8010cba: 4b84 ldr r3, [pc, #528] @ (8010ecc ) - 8010cbc: 881b ldrh r3, [r3, #0] - 8010cbe: 461a mov r2, r3 - 8010cc0: 8c3b ldrh r3, [r7, #32] - 8010cc2: 4413 add r3, r2 + 801163e: 4b84 ldr r3, [pc, #528] @ (8011850 ) + 8011640: 881b ldrh r3, [r3, #0] + 8011642: 461a mov r2, r3 + 8011644: 8c3b ldrh r3, [r7, #32] + 8011646: 4413 add r3, r2 if (!ip_reass_remove_oldest_datagram(fraghdr, clen) || - 8010cc4: 2b0a cmp r3, #10 - 8010cc6: f300 812f bgt.w 8010f28 + 8011648: 2b0a cmp r3, #10 + 801164a: f300 812f bgt.w 80118ac } } /* Look for the datagram the fragment belongs to in the current datagram queue, * remembering the previous in the queue for later dequeueing. */ for (ipr = reassdatagrams; ipr != NULL; ipr = ipr->next) { - 8010cca: 4b81 ldr r3, [pc, #516] @ (8010ed0 ) - 8010ccc: 681b ldr r3, [r3, #0] - 8010cce: 633b str r3, [r7, #48] @ 0x30 - 8010cd0: e015 b.n 8010cfe + 801164e: 4b81 ldr r3, [pc, #516] @ (8011854 ) + 8011650: 681b ldr r3, [r3, #0] + 8011652: 633b str r3, [r7, #48] @ 0x30 + 8011654: e015 b.n 8011682 /* Check if the incoming fragment matches the one currently present in the reassembly buffer. If so, we proceed with copying the fragment into the buffer. */ if (IP_ADDRESSES_AND_ID_MATCH(&ipr->iphdr, fraghdr)) { - 8010cd2: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010cd4: 695a ldr r2, [r3, #20] - 8010cd6: 6abb ldr r3, [r7, #40] @ 0x28 - 8010cd8: 68db ldr r3, [r3, #12] - 8010cda: 429a cmp r2, r3 - 8010cdc: d10c bne.n 8010cf8 - 8010cde: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010ce0: 699a ldr r2, [r3, #24] - 8010ce2: 6abb ldr r3, [r7, #40] @ 0x28 - 8010ce4: 691b ldr r3, [r3, #16] - 8010ce6: 429a cmp r2, r3 - 8010ce8: d106 bne.n 8010cf8 - 8010cea: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010cec: 899a ldrh r2, [r3, #12] - 8010cee: 6abb ldr r3, [r7, #40] @ 0x28 - 8010cf0: 889b ldrh r3, [r3, #4] - 8010cf2: b29b uxth r3, r3 - 8010cf4: 429a cmp r2, r3 - 8010cf6: d006 beq.n 8010d06 + 8011656: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011658: 695a ldr r2, [r3, #20] + 801165a: 6abb ldr r3, [r7, #40] @ 0x28 + 801165c: 68db ldr r3, [r3, #12] + 801165e: 429a cmp r2, r3 + 8011660: d10c bne.n 801167c + 8011662: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011664: 699a ldr r2, [r3, #24] + 8011666: 6abb ldr r3, [r7, #40] @ 0x28 + 8011668: 691b ldr r3, [r3, #16] + 801166a: 429a cmp r2, r3 + 801166c: d106 bne.n 801167c + 801166e: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011670: 899a ldrh r2, [r3, #12] + 8011672: 6abb ldr r3, [r7, #40] @ 0x28 + 8011674: 889b ldrh r3, [r3, #4] + 8011676: b29b uxth r3, r3 + 8011678: 429a cmp r2, r3 + 801167a: d006 beq.n 801168a for (ipr = reassdatagrams; ipr != NULL; ipr = ipr->next) { - 8010cf8: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010cfa: 681b ldr r3, [r3, #0] - 8010cfc: 633b str r3, [r7, #48] @ 0x30 - 8010cfe: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010d00: 2b00 cmp r3, #0 - 8010d02: d1e6 bne.n 8010cd2 - 8010d04: e000 b.n 8010d08 + 801167c: 6b3b ldr r3, [r7, #48] @ 0x30 + 801167e: 681b ldr r3, [r3, #0] + 8011680: 633b str r3, [r7, #48] @ 0x30 + 8011682: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011684: 2b00 cmp r3, #0 + 8011686: d1e6 bne.n 8011656 + 8011688: e000 b.n 801168c LWIP_DEBUGF(IP_REASS_DEBUG, ("ip4_reass: matching previous fragment ID=%"X16_F"\n", lwip_ntohs(IPH_ID(fraghdr)))); IPFRAG_STATS_INC(ip_frag.cachehit); break; - 8010d06: bf00 nop + 801168a: bf00 nop } } if (ipr == NULL) { - 8010d08: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010d0a: 2b00 cmp r3, #0 - 8010d0c: d109 bne.n 8010d22 + 801168c: 6b3b ldr r3, [r7, #48] @ 0x30 + 801168e: 2b00 cmp r3, #0 + 8011690: d109 bne.n 80116a6 /* Enqueue a new datagram into the datagram queue */ ipr = ip_reass_enqueue_new_datagram(fraghdr, clen); - 8010d0e: 8c3b ldrh r3, [r7, #32] - 8010d10: 4619 mov r1, r3 - 8010d12: 6ab8 ldr r0, [r7, #40] @ 0x28 - 8010d14: f7ff fdb0 bl 8010878 - 8010d18: 6338 str r0, [r7, #48] @ 0x30 + 8011692: 8c3b ldrh r3, [r7, #32] + 8011694: 4619 mov r1, r3 + 8011696: 6ab8 ldr r0, [r7, #40] @ 0x28 + 8011698: f7ff fdb0 bl 80111fc + 801169c: 6338 str r0, [r7, #48] @ 0x30 /* Bail if unable to enqueue */ if (ipr == NULL) { - 8010d1a: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010d1c: 2b00 cmp r3, #0 - 8010d1e: d11c bne.n 8010d5a + 801169e: 6b3b ldr r3, [r7, #48] @ 0x30 + 80116a0: 2b00 cmp r3, #0 + 80116a2: d11c bne.n 80116de goto nullreturn; - 8010d20: e105 b.n 8010f2e + 80116a4: e105 b.n 80118b2 } } else { if (((lwip_ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) == 0) && - 8010d22: 6abb ldr r3, [r7, #40] @ 0x28 - 8010d24: 88db ldrh r3, [r3, #6] - 8010d26: b29b uxth r3, r3 - 8010d28: 4618 mov r0, r3 - 8010d2a: f7f4 fb2d bl 8005388 - 8010d2e: 4603 mov r3, r0 - 8010d30: f3c3 030c ubfx r3, r3, #0, #13 - 8010d34: 2b00 cmp r3, #0 - 8010d36: d110 bne.n 8010d5a + 80116a6: 6abb ldr r3, [r7, #40] @ 0x28 + 80116a8: 88db ldrh r3, [r3, #6] + 80116aa: b29b uxth r3, r3 + 80116ac: 4618 mov r0, r3 + 80116ae: f7f4 fb2d bl 8005d0c + 80116b2: 4603 mov r3, r0 + 80116b4: f3c3 030c ubfx r3, r3, #0, #13 + 80116b8: 2b00 cmp r3, #0 + 80116ba: d110 bne.n 80116de ((lwip_ntohs(IPH_OFFSET(&ipr->iphdr)) & IP_OFFMASK) != 0)) { - 8010d38: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010d3a: 89db ldrh r3, [r3, #14] - 8010d3c: 4618 mov r0, r3 - 8010d3e: f7f4 fb23 bl 8005388 - 8010d42: 4603 mov r3, r0 - 8010d44: f3c3 030c ubfx r3, r3, #0, #13 + 80116bc: 6b3b ldr r3, [r7, #48] @ 0x30 + 80116be: 89db ldrh r3, [r3, #14] + 80116c0: 4618 mov r0, r3 + 80116c2: f7f4 fb23 bl 8005d0c + 80116c6: 4603 mov r3, r0 + 80116c8: f3c3 030c ubfx r3, r3, #0, #13 if (((lwip_ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) == 0) && - 8010d48: 2b00 cmp r3, #0 - 8010d4a: d006 beq.n 8010d5a + 80116cc: 2b00 cmp r3, #0 + 80116ce: d006 beq.n 80116de /* ipr->iphdr is not the header from the first fragment, but fraghdr is * -> copy fraghdr into ipr->iphdr since we want to have the header * of the first fragment (for ICMP time exceeded and later, for copying * all options, if supported)*/ SMEMCPY(&ipr->iphdr, fraghdr, IP_HLEN); - 8010d4c: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010d4e: 3308 adds r3, #8 - 8010d50: 2214 movs r2, #20 - 8010d52: 6ab9 ldr r1, [r7, #40] @ 0x28 - 8010d54: 4618 mov r0, r3 - 8010d56: f000 fd4b bl 80117f0 + 80116d0: 6b3b ldr r3, [r7, #48] @ 0x30 + 80116d2: 3308 adds r3, #8 + 80116d4: 2214 movs r2, #20 + 80116d6: 6ab9 ldr r1, [r7, #40] @ 0x28 + 80116d8: 4618 mov r0, r3 + 80116da: f000 fd4b bl 8012174 /* At this point, we have either created a new entry or pointing * to an existing one */ /* check for 'no more fragments', and update queue entry*/ is_last = (IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0; - 8010d5a: 6abb ldr r3, [r7, #40] @ 0x28 - 8010d5c: 88db ldrh r3, [r3, #6] - 8010d5e: b29b uxth r3, r3 - 8010d60: f003 0320 and.w r3, r3, #32 - 8010d64: 2b00 cmp r3, #0 - 8010d66: bf0c ite eq - 8010d68: 2301 moveq r3, #1 - 8010d6a: 2300 movne r3, #0 - 8010d6c: b2db uxtb r3, r3 - 8010d6e: 61fb str r3, [r7, #28] + 80116de: 6abb ldr r3, [r7, #40] @ 0x28 + 80116e0: 88db ldrh r3, [r3, #6] + 80116e2: b29b uxth r3, r3 + 80116e4: f003 0320 and.w r3, r3, #32 + 80116e8: 2b00 cmp r3, #0 + 80116ea: bf0c ite eq + 80116ec: 2301 moveq r3, #1 + 80116ee: 2300 movne r3, #0 + 80116f0: b2db uxtb r3, r3 + 80116f2: 61fb str r3, [r7, #28] if (is_last) { - 8010d70: 69fb ldr r3, [r7, #28] - 8010d72: 2b00 cmp r3, #0 - 8010d74: d00e beq.n 8010d94 + 80116f4: 69fb ldr r3, [r7, #28] + 80116f6: 2b00 cmp r3, #0 + 80116f8: d00e beq.n 8011718 u16_t datagram_len = (u16_t)(offset + len); - 8010d76: 8cfa ldrh r2, [r7, #38] @ 0x26 - 8010d78: 8cbb ldrh r3, [r7, #36] @ 0x24 - 8010d7a: 4413 add r3, r2 - 8010d7c: 837b strh r3, [r7, #26] + 80116fa: 8cfa ldrh r2, [r7, #38] @ 0x26 + 80116fc: 8cbb ldrh r3, [r7, #36] @ 0x24 + 80116fe: 4413 add r3, r2 + 8011700: 837b strh r3, [r7, #26] if ((datagram_len < offset) || (datagram_len > (0xFFFF - IP_HLEN))) { - 8010d7e: 8b7a ldrh r2, [r7, #26] - 8010d80: 8cfb ldrh r3, [r7, #38] @ 0x26 - 8010d82: 429a cmp r2, r3 - 8010d84: f0c0 80a0 bcc.w 8010ec8 - 8010d88: 8b7b ldrh r3, [r7, #26] - 8010d8a: f64f 72eb movw r2, #65515 @ 0xffeb - 8010d8e: 4293 cmp r3, r2 - 8010d90: f200 809a bhi.w 8010ec8 + 8011702: 8b7a ldrh r2, [r7, #26] + 8011704: 8cfb ldrh r3, [r7, #38] @ 0x26 + 8011706: 429a cmp r2, r3 + 8011708: f0c0 80a0 bcc.w 801184c + 801170c: 8b7b ldrh r3, [r7, #26] + 801170e: f64f 72eb movw r2, #65515 @ 0xffeb + 8011712: 4293 cmp r3, r2 + 8011714: f200 809a bhi.w 801184c goto nullreturn_ipr; } } /* find the right place to insert this pbuf */ /* @todo: trim pbufs if fragments are overlapping */ valid = ip_reass_chain_frag_into_datagram_and_validate(ipr, p, is_last); - 8010d94: 69fa ldr r2, [r7, #28] - 8010d96: 6879 ldr r1, [r7, #4] - 8010d98: 6b38 ldr r0, [r7, #48] @ 0x30 - 8010d9a: f7ff fdd5 bl 8010948 - 8010d9e: 6178 str r0, [r7, #20] + 8011718: 69fa ldr r2, [r7, #28] + 801171a: 6879 ldr r1, [r7, #4] + 801171c: 6b38 ldr r0, [r7, #48] @ 0x30 + 801171e: f7ff fdd5 bl 80112cc + 8011722: 6178 str r0, [r7, #20] if (valid == IP_REASS_VALIDATE_PBUF_DROPPED) { - 8010da0: 697b ldr r3, [r7, #20] - 8010da2: f1b3 3fff cmp.w r3, #4294967295 - 8010da6: f000 809b beq.w 8010ee0 + 8011724: 697b ldr r3, [r7, #20] + 8011726: f1b3 3fff cmp.w r3, #4294967295 + 801172a: f000 809b beq.w 8011864 /* if we come here, the pbuf has been enqueued */ /* Track the current number of pbufs current 'in-flight', in order to limit the number of fragments that may be enqueued at any one time (overflow checked by testing against IP_REASS_MAX_PBUFS) */ ip_reass_pbufcount = (u16_t)(ip_reass_pbufcount + clen); - 8010daa: 4b48 ldr r3, [pc, #288] @ (8010ecc ) - 8010dac: 881a ldrh r2, [r3, #0] - 8010dae: 8c3b ldrh r3, [r7, #32] - 8010db0: 4413 add r3, r2 - 8010db2: b29a uxth r2, r3 - 8010db4: 4b45 ldr r3, [pc, #276] @ (8010ecc ) - 8010db6: 801a strh r2, [r3, #0] + 801172e: 4b48 ldr r3, [pc, #288] @ (8011850 ) + 8011730: 881a ldrh r2, [r3, #0] + 8011732: 8c3b ldrh r3, [r7, #32] + 8011734: 4413 add r3, r2 + 8011736: b29a uxth r2, r3 + 8011738: 4b45 ldr r3, [pc, #276] @ (8011850 ) + 801173a: 801a strh r2, [r3, #0] if (is_last) { - 8010db8: 69fb ldr r3, [r7, #28] - 8010dba: 2b00 cmp r3, #0 - 8010dbc: d00d beq.n 8010dda + 801173c: 69fb ldr r3, [r7, #28] + 801173e: 2b00 cmp r3, #0 + 8011740: d00d beq.n 801175e u16_t datagram_len = (u16_t)(offset + len); - 8010dbe: 8cfa ldrh r2, [r7, #38] @ 0x26 - 8010dc0: 8cbb ldrh r3, [r7, #36] @ 0x24 - 8010dc2: 4413 add r3, r2 - 8010dc4: 827b strh r3, [r7, #18] + 8011742: 8cfa ldrh r2, [r7, #38] @ 0x26 + 8011744: 8cbb ldrh r3, [r7, #36] @ 0x24 + 8011746: 4413 add r3, r2 + 8011748: 827b strh r3, [r7, #18] ipr->datagram_len = datagram_len; - 8010dc6: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010dc8: 8a7a ldrh r2, [r7, #18] - 8010dca: 839a strh r2, [r3, #28] + 801174a: 6b3b ldr r3, [r7, #48] @ 0x30 + 801174c: 8a7a ldrh r2, [r7, #18] + 801174e: 839a strh r2, [r3, #28] ipr->flags |= IP_REASS_FLAG_LASTFRAG; - 8010dcc: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010dce: 7f9b ldrb r3, [r3, #30] - 8010dd0: f043 0301 orr.w r3, r3, #1 - 8010dd4: b2da uxtb r2, r3 - 8010dd6: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010dd8: 779a strb r2, [r3, #30] + 8011750: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011752: 7f9b ldrb r3, [r3, #30] + 8011754: f043 0301 orr.w r3, r3, #1 + 8011758: b2da uxtb r2, r3 + 801175a: 6b3b ldr r3, [r7, #48] @ 0x30 + 801175c: 779a strb r2, [r3, #30] LWIP_DEBUGF(IP_REASS_DEBUG, ("ip4_reass: last fragment seen, total len %"S16_F"\n", ipr->datagram_len)); } if (valid == IP_REASS_VALIDATE_TELEGRAM_FINISHED) { - 8010dda: 697b ldr r3, [r7, #20] - 8010ddc: 2b01 cmp r3, #1 - 8010dde: d171 bne.n 8010ec4 + 801175e: 697b ldr r3, [r7, #20] + 8011760: 2b01 cmp r3, #1 + 8011762: d171 bne.n 8011848 struct ip_reassdata *ipr_prev; /* the totally last fragment (flag more fragments = 0) was received at least * once AND all fragments are received */ u16_t datagram_len = (u16_t)(ipr->datagram_len + IP_HLEN); - 8010de0: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010de2: 8b9b ldrh r3, [r3, #28] - 8010de4: 3314 adds r3, #20 - 8010de6: 823b strh r3, [r7, #16] + 8011764: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011766: 8b9b ldrh r3, [r3, #28] + 8011768: 3314 adds r3, #20 + 801176a: 823b strh r3, [r7, #16] /* save the second pbuf before copying the header over the pointer */ r = ((struct ip_reass_helper *)ipr->p->payload)->next_pbuf; - 8010de8: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010dea: 685b ldr r3, [r3, #4] - 8010dec: 685b ldr r3, [r3, #4] - 8010dee: 681b ldr r3, [r3, #0] - 8010df0: 637b str r3, [r7, #52] @ 0x34 + 801176c: 6b3b ldr r3, [r7, #48] @ 0x30 + 801176e: 685b ldr r3, [r3, #4] + 8011770: 685b ldr r3, [r3, #4] + 8011772: 681b ldr r3, [r3, #0] + 8011774: 637b str r3, [r7, #52] @ 0x34 /* copy the original ip header back to the first pbuf */ fraghdr = (struct ip_hdr *)(ipr->p->payload); - 8010df2: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010df4: 685b ldr r3, [r3, #4] - 8010df6: 685b ldr r3, [r3, #4] - 8010df8: 62bb str r3, [r7, #40] @ 0x28 + 8011776: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011778: 685b ldr r3, [r3, #4] + 801177a: 685b ldr r3, [r3, #4] + 801177c: 62bb str r3, [r7, #40] @ 0x28 SMEMCPY(fraghdr, &ipr->iphdr, IP_HLEN); - 8010dfa: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010dfc: 3308 adds r3, #8 - 8010dfe: 2214 movs r2, #20 - 8010e00: 4619 mov r1, r3 - 8010e02: 6ab8 ldr r0, [r7, #40] @ 0x28 - 8010e04: f000 fcf4 bl 80117f0 + 801177e: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011780: 3308 adds r3, #8 + 8011782: 2214 movs r2, #20 + 8011784: 4619 mov r1, r3 + 8011786: 6ab8 ldr r0, [r7, #40] @ 0x28 + 8011788: f000 fcf4 bl 8012174 IPH_LEN_SET(fraghdr, lwip_htons(datagram_len)); - 8010e08: 8a3b ldrh r3, [r7, #16] - 8010e0a: 4618 mov r0, r3 - 8010e0c: f7f4 fabc bl 8005388 - 8010e10: 4603 mov r3, r0 - 8010e12: 461a mov r2, r3 - 8010e14: 6abb ldr r3, [r7, #40] @ 0x28 - 8010e16: 805a strh r2, [r3, #2] + 801178c: 8a3b ldrh r3, [r7, #16] + 801178e: 4618 mov r0, r3 + 8011790: f7f4 fabc bl 8005d0c + 8011794: 4603 mov r3, r0 + 8011796: 461a mov r2, r3 + 8011798: 6abb ldr r3, [r7, #40] @ 0x28 + 801179a: 805a strh r2, [r3, #2] IPH_OFFSET_SET(fraghdr, 0); - 8010e18: 6abb ldr r3, [r7, #40] @ 0x28 - 8010e1a: 2200 movs r2, #0 - 8010e1c: 719a strb r2, [r3, #6] - 8010e1e: 2200 movs r2, #0 - 8010e20: 71da strb r2, [r3, #7] + 801179c: 6abb ldr r3, [r7, #40] @ 0x28 + 801179e: 2200 movs r2, #0 + 80117a0: 719a strb r2, [r3, #6] + 80117a2: 2200 movs r2, #0 + 80117a4: 71da strb r2, [r3, #7] IPH_CHKSUM_SET(fraghdr, 0); - 8010e22: 6abb ldr r3, [r7, #40] @ 0x28 - 8010e24: 2200 movs r2, #0 - 8010e26: 729a strb r2, [r3, #10] - 8010e28: 2200 movs r2, #0 - 8010e2a: 72da strb r2, [r3, #11] + 80117a6: 6abb ldr r3, [r7, #40] @ 0x28 + 80117a8: 2200 movs r2, #0 + 80117aa: 729a strb r2, [r3, #10] + 80117ac: 2200 movs r2, #0 + 80117ae: 72da strb r2, [r3, #11] IF__NETIF_CHECKSUM_ENABLED(ip_current_input_netif(), NETIF_CHECKSUM_GEN_IP) { IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); } #endif /* CHECKSUM_GEN_IP */ p = ipr->p; - 8010e2c: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010e2e: 685b ldr r3, [r3, #4] - 8010e30: 607b str r3, [r7, #4] + 80117b0: 6b3b ldr r3, [r7, #48] @ 0x30 + 80117b2: 685b ldr r3, [r3, #4] + 80117b4: 607b str r3, [r7, #4] /* chain together the pbufs contained within the reass_data list. */ while (r != NULL) { - 8010e32: e00d b.n 8010e50 + 80117b6: e00d b.n 80117d4 iprh = (struct ip_reass_helper *)r->payload; - 8010e34: 6b7b ldr r3, [r7, #52] @ 0x34 - 8010e36: 685b ldr r3, [r3, #4] - 8010e38: 60fb str r3, [r7, #12] + 80117b8: 6b7b ldr r3, [r7, #52] @ 0x34 + 80117ba: 685b ldr r3, [r3, #4] + 80117bc: 60fb str r3, [r7, #12] /* hide the ip header for every succeeding fragment */ pbuf_remove_header(r, IP_HLEN); - 8010e3a: 2114 movs r1, #20 - 8010e3c: 6b78 ldr r0, [r7, #52] @ 0x34 - 8010e3e: f7f5 fd6d bl 800691c + 80117be: 2114 movs r1, #20 + 80117c0: 6b78 ldr r0, [r7, #52] @ 0x34 + 80117c2: f7f5 fd6d bl 80072a0 pbuf_cat(p, r); - 8010e42: 6b79 ldr r1, [r7, #52] @ 0x34 - 8010e44: 6878 ldr r0, [r7, #4] - 8010e46: f7f5 feb1 bl 8006bac + 80117c6: 6b79 ldr r1, [r7, #52] @ 0x34 + 80117c8: 6878 ldr r0, [r7, #4] + 80117ca: f7f5 feb1 bl 8007530 r = iprh->next_pbuf; - 8010e4a: 68fb ldr r3, [r7, #12] - 8010e4c: 681b ldr r3, [r3, #0] - 8010e4e: 637b str r3, [r7, #52] @ 0x34 + 80117ce: 68fb ldr r3, [r7, #12] + 80117d0: 681b ldr r3, [r3, #0] + 80117d2: 637b str r3, [r7, #52] @ 0x34 while (r != NULL) { - 8010e50: 6b7b ldr r3, [r7, #52] @ 0x34 - 8010e52: 2b00 cmp r3, #0 - 8010e54: d1ee bne.n 8010e34 + 80117d4: 6b7b ldr r3, [r7, #52] @ 0x34 + 80117d6: 2b00 cmp r3, #0 + 80117d8: d1ee bne.n 80117b8 } /* find the previous entry in the linked list */ if (ipr == reassdatagrams) { - 8010e56: 4b1e ldr r3, [pc, #120] @ (8010ed0 ) - 8010e58: 681b ldr r3, [r3, #0] - 8010e5a: 6b3a ldr r2, [r7, #48] @ 0x30 - 8010e5c: 429a cmp r2, r3 - 8010e5e: d102 bne.n 8010e66 + 80117da: 4b1e ldr r3, [pc, #120] @ (8011854 ) + 80117dc: 681b ldr r3, [r3, #0] + 80117de: 6b3a ldr r2, [r7, #48] @ 0x30 + 80117e0: 429a cmp r2, r3 + 80117e2: d102 bne.n 80117ea ipr_prev = NULL; - 8010e60: 2300 movs r3, #0 - 8010e62: 62fb str r3, [r7, #44] @ 0x2c - 8010e64: e010 b.n 8010e88 + 80117e4: 2300 movs r3, #0 + 80117e6: 62fb str r3, [r7, #44] @ 0x2c + 80117e8: e010 b.n 801180c } else { for (ipr_prev = reassdatagrams; ipr_prev != NULL; ipr_prev = ipr_prev->next) { - 8010e66: 4b1a ldr r3, [pc, #104] @ (8010ed0 ) - 8010e68: 681b ldr r3, [r3, #0] - 8010e6a: 62fb str r3, [r7, #44] @ 0x2c - 8010e6c: e007 b.n 8010e7e + 80117ea: 4b1a ldr r3, [pc, #104] @ (8011854 ) + 80117ec: 681b ldr r3, [r3, #0] + 80117ee: 62fb str r3, [r7, #44] @ 0x2c + 80117f0: e007 b.n 8011802 if (ipr_prev->next == ipr) { - 8010e6e: 6afb ldr r3, [r7, #44] @ 0x2c - 8010e70: 681b ldr r3, [r3, #0] - 8010e72: 6b3a ldr r2, [r7, #48] @ 0x30 - 8010e74: 429a cmp r2, r3 - 8010e76: d006 beq.n 8010e86 + 80117f2: 6afb ldr r3, [r7, #44] @ 0x2c + 80117f4: 681b ldr r3, [r3, #0] + 80117f6: 6b3a ldr r2, [r7, #48] @ 0x30 + 80117f8: 429a cmp r2, r3 + 80117fa: d006 beq.n 801180a for (ipr_prev = reassdatagrams; ipr_prev != NULL; ipr_prev = ipr_prev->next) { - 8010e78: 6afb ldr r3, [r7, #44] @ 0x2c - 8010e7a: 681b ldr r3, [r3, #0] - 8010e7c: 62fb str r3, [r7, #44] @ 0x2c - 8010e7e: 6afb ldr r3, [r7, #44] @ 0x2c - 8010e80: 2b00 cmp r3, #0 - 8010e82: d1f4 bne.n 8010e6e - 8010e84: e000 b.n 8010e88 + 80117fc: 6afb ldr r3, [r7, #44] @ 0x2c + 80117fe: 681b ldr r3, [r3, #0] + 8011800: 62fb str r3, [r7, #44] @ 0x2c + 8011802: 6afb ldr r3, [r7, #44] @ 0x2c + 8011804: 2b00 cmp r3, #0 + 8011806: d1f4 bne.n 80117f2 + 8011808: e000 b.n 801180c break; - 8010e86: bf00 nop + 801180a: bf00 nop } } } /* release the sources allocate for the fragment queue entry */ ip_reass_dequeue_datagram(ipr, ipr_prev); - 8010e88: 6af9 ldr r1, [r7, #44] @ 0x2c - 8010e8a: 6b38 ldr r0, [r7, #48] @ 0x30 - 8010e8c: f7ff fd2e bl 80108ec + 801180c: 6af9 ldr r1, [r7, #44] @ 0x2c + 801180e: 6b38 ldr r0, [r7, #48] @ 0x30 + 8011810: f7ff fd2e bl 8011270 /* and adjust the number of pbufs currently queued for reassembly. */ clen = pbuf_clen(p); - 8010e90: 6878 ldr r0, [r7, #4] - 8010e92: f7f5 fe51 bl 8006b38 - 8010e96: 4603 mov r3, r0 - 8010e98: 843b strh r3, [r7, #32] + 8011814: 6878 ldr r0, [r7, #4] + 8011816: f7f5 fe51 bl 80074bc + 801181a: 4603 mov r3, r0 + 801181c: 843b strh r3, [r7, #32] LWIP_ASSERT("ip_reass_pbufcount >= clen", ip_reass_pbufcount >= clen); - 8010e9a: 4b0c ldr r3, [pc, #48] @ (8010ecc ) - 8010e9c: 881b ldrh r3, [r3, #0] - 8010e9e: 8c3a ldrh r2, [r7, #32] - 8010ea0: 429a cmp r2, r3 - 8010ea2: d906 bls.n 8010eb2 - 8010ea4: 4b0b ldr r3, [pc, #44] @ (8010ed4 ) - 8010ea6: f240 229b movw r2, #667 @ 0x29b - 8010eaa: 490b ldr r1, [pc, #44] @ (8010ed8 ) - 8010eac: 480b ldr r0, [pc, #44] @ (8010edc ) - 8010eae: f000 fba3 bl 80115f8 + 801181e: 4b0c ldr r3, [pc, #48] @ (8011850 ) + 8011820: 881b ldrh r3, [r3, #0] + 8011822: 8c3a ldrh r2, [r7, #32] + 8011824: 429a cmp r2, r3 + 8011826: d906 bls.n 8011836 + 8011828: 4b0b ldr r3, [pc, #44] @ (8011858 ) + 801182a: f240 229b movw r2, #667 @ 0x29b + 801182e: 490b ldr r1, [pc, #44] @ (801185c ) + 8011830: 480b ldr r0, [pc, #44] @ (8011860 ) + 8011832: f000 fba3 bl 8011f7c ip_reass_pbufcount = (u16_t)(ip_reass_pbufcount - clen); - 8010eb2: 4b06 ldr r3, [pc, #24] @ (8010ecc ) - 8010eb4: 881a ldrh r2, [r3, #0] - 8010eb6: 8c3b ldrh r3, [r7, #32] - 8010eb8: 1ad3 subs r3, r2, r3 - 8010eba: b29a uxth r2, r3 - 8010ebc: 4b03 ldr r3, [pc, #12] @ (8010ecc ) - 8010ebe: 801a strh r2, [r3, #0] + 8011836: 4b06 ldr r3, [pc, #24] @ (8011850 ) + 8011838: 881a ldrh r2, [r3, #0] + 801183a: 8c3b ldrh r3, [r7, #32] + 801183c: 1ad3 subs r3, r2, r3 + 801183e: b29a uxth r2, r3 + 8011840: 4b03 ldr r3, [pc, #12] @ (8011850 ) + 8011842: 801a strh r2, [r3, #0] MIB2_STATS_INC(mib2.ipreasmoks); /* Return the pbuf chain */ return p; - 8010ec0: 687b ldr r3, [r7, #4] - 8010ec2: e038 b.n 8010f36 + 8011844: 687b ldr r3, [r7, #4] + 8011846: e038 b.n 80118ba } /* the datagram is not (yet?) reassembled completely */ LWIP_DEBUGF(IP_REASS_DEBUG, ("ip_reass_pbufcount: %d out\n", ip_reass_pbufcount)); return NULL; - 8010ec4: 2300 movs r3, #0 - 8010ec6: e036 b.n 8010f36 + 8011848: 2300 movs r3, #0 + 801184a: e036 b.n 80118ba goto nullreturn_ipr; - 8010ec8: bf00 nop - 8010eca: e00a b.n 8010ee2 - 8010ecc: 20019230 .word 0x20019230 - 8010ed0: 2001922c .word 0x2001922c - 8010ed4: 08018b1c .word 0x08018b1c - 8010ed8: 08018c8c .word 0x08018c8c - 8010edc: 08018b64 .word 0x08018b64 + 801184c: bf00 nop + 801184e: e00a b.n 8011866 + 8011850: 20019264 .word 0x20019264 + 8011854: 20019260 .word 0x20019260 + 8011858: 0801949c .word 0x0801949c + 801185c: 0801960c .word 0x0801960c + 8011860: 080194e4 .word 0x080194e4 goto nullreturn_ipr; - 8010ee0: bf00 nop + 8011864: bf00 nop nullreturn_ipr: LWIP_ASSERT("ipr != NULL", ipr != NULL); - 8010ee2: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010ee4: 2b00 cmp r3, #0 - 8010ee6: d106 bne.n 8010ef6 - 8010ee8: 4b15 ldr r3, [pc, #84] @ (8010f40 ) - 8010eea: f44f 722a mov.w r2, #680 @ 0x2a8 - 8010eee: 4915 ldr r1, [pc, #84] @ (8010f44 ) - 8010ef0: 4815 ldr r0, [pc, #84] @ (8010f48 ) - 8010ef2: f000 fb81 bl 80115f8 + 8011866: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011868: 2b00 cmp r3, #0 + 801186a: d106 bne.n 801187a + 801186c: 4b15 ldr r3, [pc, #84] @ (80118c4 ) + 801186e: f44f 722a mov.w r2, #680 @ 0x2a8 + 8011872: 4915 ldr r1, [pc, #84] @ (80118c8 ) + 8011874: 4815 ldr r0, [pc, #84] @ (80118cc ) + 8011876: f000 fb81 bl 8011f7c if (ipr->p == NULL) { - 8010ef6: 6b3b ldr r3, [r7, #48] @ 0x30 - 8010ef8: 685b ldr r3, [r3, #4] - 8010efa: 2b00 cmp r3, #0 - 8010efc: d116 bne.n 8010f2c + 801187a: 6b3b ldr r3, [r7, #48] @ 0x30 + 801187c: 685b ldr r3, [r3, #4] + 801187e: 2b00 cmp r3, #0 + 8011880: d116 bne.n 80118b0 /* dropped pbuf after creating a new datagram entry: remove the entry, too */ LWIP_ASSERT("not firstalthough just enqueued", ipr == reassdatagrams); - 8010efe: 4b13 ldr r3, [pc, #76] @ (8010f4c ) - 8010f00: 681b ldr r3, [r3, #0] - 8010f02: 6b3a ldr r2, [r7, #48] @ 0x30 - 8010f04: 429a cmp r2, r3 - 8010f06: d006 beq.n 8010f16 - 8010f08: 4b0d ldr r3, [pc, #52] @ (8010f40 ) - 8010f0a: f240 22ab movw r2, #683 @ 0x2ab - 8010f0e: 4910 ldr r1, [pc, #64] @ (8010f50 ) - 8010f10: 480d ldr r0, [pc, #52] @ (8010f48 ) - 8010f12: f000 fb71 bl 80115f8 + 8011882: 4b13 ldr r3, [pc, #76] @ (80118d0 ) + 8011884: 681b ldr r3, [r3, #0] + 8011886: 6b3a ldr r2, [r7, #48] @ 0x30 + 8011888: 429a cmp r2, r3 + 801188a: d006 beq.n 801189a + 801188c: 4b0d ldr r3, [pc, #52] @ (80118c4 ) + 801188e: f240 22ab movw r2, #683 @ 0x2ab + 8011892: 4910 ldr r1, [pc, #64] @ (80118d4 ) + 8011894: 480d ldr r0, [pc, #52] @ (80118cc ) + 8011896: f000 fb71 bl 8011f7c ip_reass_dequeue_datagram(ipr, NULL); - 8010f16: 2100 movs r1, #0 - 8010f18: 6b38 ldr r0, [r7, #48] @ 0x30 - 8010f1a: f7ff fce7 bl 80108ec - 8010f1e: e006 b.n 8010f2e + 801189a: 2100 movs r1, #0 + 801189c: 6b38 ldr r0, [r7, #48] @ 0x30 + 801189e: f7ff fce7 bl 8011270 + 80118a2: e006 b.n 80118b2 goto nullreturn; - 8010f20: bf00 nop - 8010f22: e004 b.n 8010f2e + 80118a4: bf00 nop + 80118a6: e004 b.n 80118b2 goto nullreturn; - 8010f24: bf00 nop - 8010f26: e002 b.n 8010f2e + 80118a8: bf00 nop + 80118aa: e002 b.n 80118b2 goto nullreturn; - 8010f28: bf00 nop - 8010f2a: e000 b.n 8010f2e + 80118ac: bf00 nop + 80118ae: e000 b.n 80118b2 } nullreturn: - 8010f2c: bf00 nop + 80118b0: bf00 nop LWIP_DEBUGF(IP_REASS_DEBUG, ("ip4_reass: nullreturn\n")); IPFRAG_STATS_INC(ip_frag.drop); pbuf_free(p); - 8010f2e: 6878 ldr r0, [r7, #4] - 8010f30: f7f5 fd7a bl 8006a28 + 80118b2: 6878 ldr r0, [r7, #4] + 80118b4: f7f5 fd7a bl 80073ac return NULL; - 8010f34: 2300 movs r3, #0 + 80118b8: 2300 movs r3, #0 } - 8010f36: 4618 mov r0, r3 - 8010f38: 3738 adds r7, #56 @ 0x38 - 8010f3a: 46bd mov sp, r7 - 8010f3c: bd80 pop {r7, pc} - 8010f3e: bf00 nop - 8010f40: 08018b1c .word 0x08018b1c - 8010f44: 08018ca8 .word 0x08018ca8 - 8010f48: 08018b64 .word 0x08018b64 - 8010f4c: 2001922c .word 0x2001922c - 8010f50: 08018cb4 .word 0x08018cb4 + 80118ba: 4618 mov r0, r3 + 80118bc: 3738 adds r7, #56 @ 0x38 + 80118be: 46bd mov sp, r7 + 80118c0: bd80 pop {r7, pc} + 80118c2: bf00 nop + 80118c4: 0801949c .word 0x0801949c + 80118c8: 08019628 .word 0x08019628 + 80118cc: 080194e4 .word 0x080194e4 + 80118d0: 20019260 .word 0x20019260 + 80118d4: 08019634 .word 0x08019634 -08010f54 : +080118d8 : #if IP_FRAG #if !LWIP_NETIF_TX_SINGLE_PBUF /** Allocate a new struct pbuf_custom_ref */ static struct pbuf_custom_ref * ip_frag_alloc_pbuf_custom_ref(void) { - 8010f54: b580 push {r7, lr} - 8010f56: af00 add r7, sp, #0 + 80118d8: b580 push {r7, lr} + 80118da: af00 add r7, sp, #0 return (struct pbuf_custom_ref *)memp_malloc(MEMP_FRAG_PBUF); - 8010f58: 2005 movs r0, #5 - 8010f5a: f7f4 fe75 bl 8005c48 - 8010f5e: 4603 mov r3, r0 + 80118dc: 2005 movs r0, #5 + 80118de: f7f4 fe75 bl 80065cc + 80118e2: 4603 mov r3, r0 } - 8010f60: 4618 mov r0, r3 - 8010f62: bd80 pop {r7, pc} + 80118e4: 4618 mov r0, r3 + 80118e6: bd80 pop {r7, pc} -08010f64 : +080118e8 : /** Free a struct pbuf_custom_ref */ static void ip_frag_free_pbuf_custom_ref(struct pbuf_custom_ref *p) { - 8010f64: b580 push {r7, lr} - 8010f66: b082 sub sp, #8 - 8010f68: af00 add r7, sp, #0 - 8010f6a: 6078 str r0, [r7, #4] + 80118e8: b580 push {r7, lr} + 80118ea: b082 sub sp, #8 + 80118ec: af00 add r7, sp, #0 + 80118ee: 6078 str r0, [r7, #4] LWIP_ASSERT("p != NULL", p != NULL); - 8010f6c: 687b ldr r3, [r7, #4] - 8010f6e: 2b00 cmp r3, #0 - 8010f70: d106 bne.n 8010f80 - 8010f72: 4b07 ldr r3, [pc, #28] @ (8010f90 ) - 8010f74: f44f 7231 mov.w r2, #708 @ 0x2c4 - 8010f78: 4906 ldr r1, [pc, #24] @ (8010f94 ) - 8010f7a: 4807 ldr r0, [pc, #28] @ (8010f98 ) - 8010f7c: f000 fb3c bl 80115f8 + 80118f0: 687b ldr r3, [r7, #4] + 80118f2: 2b00 cmp r3, #0 + 80118f4: d106 bne.n 8011904 + 80118f6: 4b07 ldr r3, [pc, #28] @ (8011914 ) + 80118f8: f44f 7231 mov.w r2, #708 @ 0x2c4 + 80118fc: 4906 ldr r1, [pc, #24] @ (8011918 ) + 80118fe: 4807 ldr r0, [pc, #28] @ (801191c ) + 8011900: f000 fb3c bl 8011f7c memp_free(MEMP_FRAG_PBUF, p); - 8010f80: 6879 ldr r1, [r7, #4] - 8010f82: 2005 movs r0, #5 - 8010f84: f7f4 fed0 bl 8005d28 + 8011904: 6879 ldr r1, [r7, #4] + 8011906: 2005 movs r0, #5 + 8011908: f7f4 fed0 bl 80066ac } - 8010f88: bf00 nop - 8010f8a: 3708 adds r7, #8 - 8010f8c: 46bd mov sp, r7 - 8010f8e: bd80 pop {r7, pc} - 8010f90: 08018b1c .word 0x08018b1c - 8010f94: 08018cd4 .word 0x08018cd4 - 8010f98: 08018b64 .word 0x08018b64 + 801190c: bf00 nop + 801190e: 3708 adds r7, #8 + 8011910: 46bd mov sp, r7 + 8011912: bd80 pop {r7, pc} + 8011914: 0801949c .word 0x0801949c + 8011918: 08019654 .word 0x08019654 + 801191c: 080194e4 .word 0x080194e4 -08010f9c : +08011920 : /** Free-callback function to free a 'struct pbuf_custom_ref', called by * pbuf_free. */ static void ipfrag_free_pbuf_custom(struct pbuf *p) { - 8010f9c: b580 push {r7, lr} - 8010f9e: b084 sub sp, #16 - 8010fa0: af00 add r7, sp, #0 - 8010fa2: 6078 str r0, [r7, #4] + 8011920: b580 push {r7, lr} + 8011922: b084 sub sp, #16 + 8011924: af00 add r7, sp, #0 + 8011926: 6078 str r0, [r7, #4] struct pbuf_custom_ref *pcr = (struct pbuf_custom_ref *)p; - 8010fa4: 687b ldr r3, [r7, #4] - 8010fa6: 60fb str r3, [r7, #12] + 8011928: 687b ldr r3, [r7, #4] + 801192a: 60fb str r3, [r7, #12] LWIP_ASSERT("pcr != NULL", pcr != NULL); - 8010fa8: 68fb ldr r3, [r7, #12] - 8010faa: 2b00 cmp r3, #0 - 8010fac: d106 bne.n 8010fbc - 8010fae: 4b11 ldr r3, [pc, #68] @ (8010ff4 ) - 8010fb0: f240 22ce movw r2, #718 @ 0x2ce - 8010fb4: 4910 ldr r1, [pc, #64] @ (8010ff8 ) - 8010fb6: 4811 ldr r0, [pc, #68] @ (8010ffc ) - 8010fb8: f000 fb1e bl 80115f8 + 801192c: 68fb ldr r3, [r7, #12] + 801192e: 2b00 cmp r3, #0 + 8011930: d106 bne.n 8011940 + 8011932: 4b11 ldr r3, [pc, #68] @ (8011978 ) + 8011934: f240 22ce movw r2, #718 @ 0x2ce + 8011938: 4910 ldr r1, [pc, #64] @ (801197c ) + 801193a: 4811 ldr r0, [pc, #68] @ (8011980 ) + 801193c: f000 fb1e bl 8011f7c LWIP_ASSERT("pcr == p", (void *)pcr == (void *)p); - 8010fbc: 68fa ldr r2, [r7, #12] - 8010fbe: 687b ldr r3, [r7, #4] - 8010fc0: 429a cmp r2, r3 - 8010fc2: d006 beq.n 8010fd2 - 8010fc4: 4b0b ldr r3, [pc, #44] @ (8010ff4 ) - 8010fc6: f240 22cf movw r2, #719 @ 0x2cf - 8010fca: 490d ldr r1, [pc, #52] @ (8011000 ) - 8010fcc: 480b ldr r0, [pc, #44] @ (8010ffc ) - 8010fce: f000 fb13 bl 80115f8 + 8011940: 68fa ldr r2, [r7, #12] + 8011942: 687b ldr r3, [r7, #4] + 8011944: 429a cmp r2, r3 + 8011946: d006 beq.n 8011956 + 8011948: 4b0b ldr r3, [pc, #44] @ (8011978 ) + 801194a: f240 22cf movw r2, #719 @ 0x2cf + 801194e: 490d ldr r1, [pc, #52] @ (8011984 ) + 8011950: 480b ldr r0, [pc, #44] @ (8011980 ) + 8011952: f000 fb13 bl 8011f7c if (pcr->original != NULL) { - 8010fd2: 68fb ldr r3, [r7, #12] - 8010fd4: 695b ldr r3, [r3, #20] - 8010fd6: 2b00 cmp r3, #0 - 8010fd8: d004 beq.n 8010fe4 + 8011956: 68fb ldr r3, [r7, #12] + 8011958: 695b ldr r3, [r3, #20] + 801195a: 2b00 cmp r3, #0 + 801195c: d004 beq.n 8011968 pbuf_free(pcr->original); - 8010fda: 68fb ldr r3, [r7, #12] - 8010fdc: 695b ldr r3, [r3, #20] - 8010fde: 4618 mov r0, r3 - 8010fe0: f7f5 fd22 bl 8006a28 + 801195e: 68fb ldr r3, [r7, #12] + 8011960: 695b ldr r3, [r3, #20] + 8011962: 4618 mov r0, r3 + 8011964: f7f5 fd22 bl 80073ac } ip_frag_free_pbuf_custom_ref(pcr); - 8010fe4: 68f8 ldr r0, [r7, #12] - 8010fe6: f7ff ffbd bl 8010f64 + 8011968: 68f8 ldr r0, [r7, #12] + 801196a: f7ff ffbd bl 80118e8 } - 8010fea: bf00 nop - 8010fec: 3710 adds r7, #16 - 8010fee: 46bd mov sp, r7 - 8010ff0: bd80 pop {r7, pc} - 8010ff2: bf00 nop - 8010ff4: 08018b1c .word 0x08018b1c - 8010ff8: 08018ce0 .word 0x08018ce0 - 8010ffc: 08018b64 .word 0x08018b64 - 8011000: 08018cec .word 0x08018cec + 801196e: bf00 nop + 8011970: 3710 adds r7, #16 + 8011972: 46bd mov sp, r7 + 8011974: bd80 pop {r7, pc} + 8011976: bf00 nop + 8011978: 0801949c .word 0x0801949c + 801197c: 08019660 .word 0x08019660 + 8011980: 080194e4 .word 0x080194e4 + 8011984: 0801966c .word 0x0801966c -08011004 : +08011988 : * * @return ERR_OK if sent successfully, err_t otherwise */ err_t ip4_frag(struct pbuf *p, struct netif *netif, const ip4_addr_t *dest) { - 8011004: b580 push {r7, lr} - 8011006: b094 sub sp, #80 @ 0x50 - 8011008: af02 add r7, sp, #8 - 801100a: 60f8 str r0, [r7, #12] - 801100c: 60b9 str r1, [r7, #8] - 801100e: 607a str r2, [r7, #4] + 8011988: b580 push {r7, lr} + 801198a: b094 sub sp, #80 @ 0x50 + 801198c: af02 add r7, sp, #8 + 801198e: 60f8 str r0, [r7, #12] + 8011990: 60b9 str r1, [r7, #8] + 8011992: 607a str r2, [r7, #4] struct pbuf *rambuf; #if !LWIP_NETIF_TX_SINGLE_PBUF struct pbuf *newpbuf; u16_t newpbuflen = 0; - 8011010: 2300 movs r3, #0 - 8011012: f8a7 3046 strh.w r3, [r7, #70] @ 0x46 + 8011994: 2300 movs r3, #0 + 8011996: f8a7 3046 strh.w r3, [r7, #70] @ 0x46 u16_t left_to_copy; #endif struct ip_hdr *original_iphdr; struct ip_hdr *iphdr; const u16_t nfb = (u16_t)((netif->mtu - IP_HLEN) / 8); - 8011016: 68bb ldr r3, [r7, #8] - 8011018: 8d1b ldrh r3, [r3, #40] @ 0x28 - 801101a: 3b14 subs r3, #20 - 801101c: 2b00 cmp r3, #0 - 801101e: da00 bge.n 8011022 - 8011020: 3307 adds r3, #7 - 8011022: 10db asrs r3, r3, #3 - 8011024: 877b strh r3, [r7, #58] @ 0x3a + 801199a: 68bb ldr r3, [r7, #8] + 801199c: 8d1b ldrh r3, [r3, #40] @ 0x28 + 801199e: 3b14 subs r3, #20 + 80119a0: 2b00 cmp r3, #0 + 80119a2: da00 bge.n 80119a6 + 80119a4: 3307 adds r3, #7 + 80119a6: 10db asrs r3, r3, #3 + 80119a8: 877b strh r3, [r7, #58] @ 0x3a u16_t left, fragsize; u16_t ofo; int last; u16_t poff = IP_HLEN; - 8011026: 2314 movs r3, #20 - 8011028: 87fb strh r3, [r7, #62] @ 0x3e + 80119aa: 2314 movs r3, #20 + 80119ac: 87fb strh r3, [r7, #62] @ 0x3e u16_t tmp; int mf_set; original_iphdr = (struct ip_hdr *)p->payload; - 801102a: 68fb ldr r3, [r7, #12] - 801102c: 685b ldr r3, [r3, #4] - 801102e: 637b str r3, [r7, #52] @ 0x34 + 80119ae: 68fb ldr r3, [r7, #12] + 80119b0: 685b ldr r3, [r3, #4] + 80119b2: 637b str r3, [r7, #52] @ 0x34 iphdr = original_iphdr; - 8011030: 6b7b ldr r3, [r7, #52] @ 0x34 - 8011032: 633b str r3, [r7, #48] @ 0x30 + 80119b4: 6b7b ldr r3, [r7, #52] @ 0x34 + 80119b6: 633b str r3, [r7, #48] @ 0x30 if (IPH_HL_BYTES(iphdr) != IP_HLEN) { - 8011034: 6b3b ldr r3, [r7, #48] @ 0x30 - 8011036: 781b ldrb r3, [r3, #0] - 8011038: f003 030f and.w r3, r3, #15 - 801103c: b2db uxtb r3, r3 - 801103e: 009b lsls r3, r3, #2 - 8011040: b2db uxtb r3, r3 - 8011042: 2b14 cmp r3, #20 - 8011044: d002 beq.n 801104c + 80119b8: 6b3b ldr r3, [r7, #48] @ 0x30 + 80119ba: 781b ldrb r3, [r3, #0] + 80119bc: f003 030f and.w r3, r3, #15 + 80119c0: b2db uxtb r3, r3 + 80119c2: 009b lsls r3, r3, #2 + 80119c4: b2db uxtb r3, r3 + 80119c6: 2b14 cmp r3, #20 + 80119c8: d002 beq.n 80119d0 /* ip4_frag() does not support IP options */ return ERR_VAL; - 8011046: f06f 0305 mvn.w r3, #5 - 801104a: e110 b.n 801126e + 80119ca: f06f 0305 mvn.w r3, #5 + 80119ce: e110 b.n 8011bf2 } LWIP_ERROR("ip4_frag(): pbuf too short", p->len >= IP_HLEN, return ERR_VAL); - 801104c: 68fb ldr r3, [r7, #12] - 801104e: 895b ldrh r3, [r3, #10] - 8011050: 2b13 cmp r3, #19 - 8011052: d809 bhi.n 8011068 - 8011054: 4b88 ldr r3, [pc, #544] @ (8011278 ) - 8011056: f44f 723f mov.w r2, #764 @ 0x2fc - 801105a: 4988 ldr r1, [pc, #544] @ (801127c ) - 801105c: 4888 ldr r0, [pc, #544] @ (8011280 ) - 801105e: f000 facb bl 80115f8 - 8011062: f06f 0305 mvn.w r3, #5 - 8011066: e102 b.n 801126e + 80119d0: 68fb ldr r3, [r7, #12] + 80119d2: 895b ldrh r3, [r3, #10] + 80119d4: 2b13 cmp r3, #19 + 80119d6: d809 bhi.n 80119ec + 80119d8: 4b88 ldr r3, [pc, #544] @ (8011bfc ) + 80119da: f44f 723f mov.w r2, #764 @ 0x2fc + 80119de: 4988 ldr r1, [pc, #544] @ (8011c00 ) + 80119e0: 4888 ldr r0, [pc, #544] @ (8011c04 ) + 80119e2: f000 facb bl 8011f7c + 80119e6: f06f 0305 mvn.w r3, #5 + 80119ea: e102 b.n 8011bf2 /* Save original offset */ tmp = lwip_ntohs(IPH_OFFSET(iphdr)); - 8011068: 6b3b ldr r3, [r7, #48] @ 0x30 - 801106a: 88db ldrh r3, [r3, #6] - 801106c: b29b uxth r3, r3 - 801106e: 4618 mov r0, r3 - 8011070: f7f4 f98a bl 8005388 - 8011074: 4603 mov r3, r0 - 8011076: 87bb strh r3, [r7, #60] @ 0x3c + 80119ec: 6b3b ldr r3, [r7, #48] @ 0x30 + 80119ee: 88db ldrh r3, [r3, #6] + 80119f0: b29b uxth r3, r3 + 80119f2: 4618 mov r0, r3 + 80119f4: f7f4 f98a bl 8005d0c + 80119f8: 4603 mov r3, r0 + 80119fa: 87bb strh r3, [r7, #60] @ 0x3c ofo = tmp & IP_OFFMASK; - 8011078: 8fbb ldrh r3, [r7, #60] @ 0x3c - 801107a: f3c3 030c ubfx r3, r3, #0, #13 - 801107e: f8a7 3040 strh.w r3, [r7, #64] @ 0x40 + 80119fc: 8fbb ldrh r3, [r7, #60] @ 0x3c + 80119fe: f3c3 030c ubfx r3, r3, #0, #13 + 8011a02: f8a7 3040 strh.w r3, [r7, #64] @ 0x40 /* already fragmented? if so, the last fragment we create must have MF, too */ mf_set = tmp & IP_MF; - 8011082: 8fbb ldrh r3, [r7, #60] @ 0x3c - 8011084: f403 5300 and.w r3, r3, #8192 @ 0x2000 - 8011088: 62fb str r3, [r7, #44] @ 0x2c + 8011a06: 8fbb ldrh r3, [r7, #60] @ 0x3c + 8011a08: f403 5300 and.w r3, r3, #8192 @ 0x2000 + 8011a0c: 62fb str r3, [r7, #44] @ 0x2c left = (u16_t)(p->tot_len - IP_HLEN); - 801108a: 68fb ldr r3, [r7, #12] - 801108c: 891b ldrh r3, [r3, #8] - 801108e: 3b14 subs r3, #20 - 8011090: f8a7 3042 strh.w r3, [r7, #66] @ 0x42 + 8011a0e: 68fb ldr r3, [r7, #12] + 8011a10: 891b ldrh r3, [r3, #8] + 8011a12: 3b14 subs r3, #20 + 8011a14: f8a7 3042 strh.w r3, [r7, #66] @ 0x42 while (left) { - 8011094: e0e1 b.n 801125a + 8011a18: e0e1 b.n 8011bde /* Fill this fragment */ fragsize = LWIP_MIN(left, (u16_t)(nfb * 8)); - 8011096: 8f7b ldrh r3, [r7, #58] @ 0x3a - 8011098: 00db lsls r3, r3, #3 - 801109a: b29b uxth r3, r3 - 801109c: f8b7 2042 ldrh.w r2, [r7, #66] @ 0x42 - 80110a0: 4293 cmp r3, r2 - 80110a2: bf28 it cs - 80110a4: 4613 movcs r3, r2 - 80110a6: 857b strh r3, [r7, #42] @ 0x2a + 8011a1a: 8f7b ldrh r3, [r7, #58] @ 0x3a + 8011a1c: 00db lsls r3, r3, #3 + 8011a1e: b29b uxth r3, r3 + 8011a20: f8b7 2042 ldrh.w r2, [r7, #66] @ 0x42 + 8011a24: 4293 cmp r3, r2 + 8011a26: bf28 it cs + 8011a28: 4613 movcs r3, r2 + 8011a2a: 857b strh r3, [r7, #42] @ 0x2a /* When not using a static buffer, create a chain of pbufs. * The first will be a PBUF_RAM holding the link and IP header. * The rest will be PBUF_REFs mirroring the pbuf chain to be fragged, * but limited to the size of an mtu. */ rambuf = pbuf_alloc(PBUF_LINK, IP_HLEN, PBUF_RAM); - 80110a8: f44f 7220 mov.w r2, #640 @ 0x280 - 80110ac: 2114 movs r1, #20 - 80110ae: 200e movs r0, #14 - 80110b0: f7f5 f9d8 bl 8006464 - 80110b4: 6278 str r0, [r7, #36] @ 0x24 + 8011a2c: f44f 7220 mov.w r2, #640 @ 0x280 + 8011a30: 2114 movs r1, #20 + 8011a32: 200e movs r0, #14 + 8011a34: f7f5 f9d8 bl 8006de8 + 8011a38: 6278 str r0, [r7, #36] @ 0x24 if (rambuf == NULL) { - 80110b6: 6a7b ldr r3, [r7, #36] @ 0x24 - 80110b8: 2b00 cmp r3, #0 - 80110ba: f000 80d5 beq.w 8011268 + 8011a3a: 6a7b ldr r3, [r7, #36] @ 0x24 + 8011a3c: 2b00 cmp r3, #0 + 8011a3e: f000 80d5 beq.w 8011bec goto memerr; } LWIP_ASSERT("this needs a pbuf in one piece!", - 80110be: 6a7b ldr r3, [r7, #36] @ 0x24 - 80110c0: 895b ldrh r3, [r3, #10] - 80110c2: 2b13 cmp r3, #19 - 80110c4: d806 bhi.n 80110d4 - 80110c6: 4b6c ldr r3, [pc, #432] @ (8011278 ) - 80110c8: f44f 7249 mov.w r2, #804 @ 0x324 - 80110cc: 496d ldr r1, [pc, #436] @ (8011284 ) - 80110ce: 486c ldr r0, [pc, #432] @ (8011280 ) - 80110d0: f000 fa92 bl 80115f8 + 8011a42: 6a7b ldr r3, [r7, #36] @ 0x24 + 8011a44: 895b ldrh r3, [r3, #10] + 8011a46: 2b13 cmp r3, #19 + 8011a48: d806 bhi.n 8011a58 + 8011a4a: 4b6c ldr r3, [pc, #432] @ (8011bfc ) + 8011a4c: f44f 7249 mov.w r2, #804 @ 0x324 + 8011a50: 496d ldr r1, [pc, #436] @ (8011c08 ) + 8011a52: 486c ldr r0, [pc, #432] @ (8011c04 ) + 8011a54: f000 fa92 bl 8011f7c (rambuf->len >= (IP_HLEN))); SMEMCPY(rambuf->payload, original_iphdr, IP_HLEN); - 80110d4: 6a7b ldr r3, [r7, #36] @ 0x24 - 80110d6: 685b ldr r3, [r3, #4] - 80110d8: 2214 movs r2, #20 - 80110da: 6b79 ldr r1, [r7, #52] @ 0x34 - 80110dc: 4618 mov r0, r3 - 80110de: f000 fb87 bl 80117f0 + 8011a58: 6a7b ldr r3, [r7, #36] @ 0x24 + 8011a5a: 685b ldr r3, [r3, #4] + 8011a5c: 2214 movs r2, #20 + 8011a5e: 6b79 ldr r1, [r7, #52] @ 0x34 + 8011a60: 4618 mov r0, r3 + 8011a62: f000 fb87 bl 8012174 iphdr = (struct ip_hdr *)rambuf->payload; - 80110e2: 6a7b ldr r3, [r7, #36] @ 0x24 - 80110e4: 685b ldr r3, [r3, #4] - 80110e6: 633b str r3, [r7, #48] @ 0x30 + 8011a66: 6a7b ldr r3, [r7, #36] @ 0x24 + 8011a68: 685b ldr r3, [r3, #4] + 8011a6a: 633b str r3, [r7, #48] @ 0x30 left_to_copy = fragsize; - 80110e8: 8d7b ldrh r3, [r7, #42] @ 0x2a - 80110ea: f8a7 3044 strh.w r3, [r7, #68] @ 0x44 + 8011a6c: 8d7b ldrh r3, [r7, #42] @ 0x2a + 8011a6e: f8a7 3044 strh.w r3, [r7, #68] @ 0x44 while (left_to_copy) { - 80110ee: e064 b.n 80111ba + 8011a72: e064 b.n 8011b3e struct pbuf_custom_ref *pcr; u16_t plen = (u16_t)(p->len - poff); - 80110f0: 68fb ldr r3, [r7, #12] - 80110f2: 895a ldrh r2, [r3, #10] - 80110f4: 8ffb ldrh r3, [r7, #62] @ 0x3e - 80110f6: 1ad3 subs r3, r2, r3 - 80110f8: 83fb strh r3, [r7, #30] + 8011a74: 68fb ldr r3, [r7, #12] + 8011a76: 895a ldrh r2, [r3, #10] + 8011a78: 8ffb ldrh r3, [r7, #62] @ 0x3e + 8011a7a: 1ad3 subs r3, r2, r3 + 8011a7c: 83fb strh r3, [r7, #30] LWIP_ASSERT("p->len >= poff", p->len >= poff); - 80110fa: 68fb ldr r3, [r7, #12] - 80110fc: 895b ldrh r3, [r3, #10] - 80110fe: 8ffa ldrh r2, [r7, #62] @ 0x3e - 8011100: 429a cmp r2, r3 - 8011102: d906 bls.n 8011112 - 8011104: 4b5c ldr r3, [pc, #368] @ (8011278 ) - 8011106: f240 322d movw r2, #813 @ 0x32d - 801110a: 495f ldr r1, [pc, #380] @ (8011288 ) - 801110c: 485c ldr r0, [pc, #368] @ (8011280 ) - 801110e: f000 fa73 bl 80115f8 + 8011a7e: 68fb ldr r3, [r7, #12] + 8011a80: 895b ldrh r3, [r3, #10] + 8011a82: 8ffa ldrh r2, [r7, #62] @ 0x3e + 8011a84: 429a cmp r2, r3 + 8011a86: d906 bls.n 8011a96 + 8011a88: 4b5c ldr r3, [pc, #368] @ (8011bfc ) + 8011a8a: f240 322d movw r2, #813 @ 0x32d + 8011a8e: 495f ldr r1, [pc, #380] @ (8011c0c ) + 8011a90: 485c ldr r0, [pc, #368] @ (8011c04 ) + 8011a92: f000 fa73 bl 8011f7c newpbuflen = LWIP_MIN(left_to_copy, plen); - 8011112: 8bfa ldrh r2, [r7, #30] - 8011114: f8b7 3044 ldrh.w r3, [r7, #68] @ 0x44 - 8011118: 4293 cmp r3, r2 - 801111a: bf28 it cs - 801111c: 4613 movcs r3, r2 - 801111e: f8a7 3046 strh.w r3, [r7, #70] @ 0x46 + 8011a96: 8bfa ldrh r2, [r7, #30] + 8011a98: f8b7 3044 ldrh.w r3, [r7, #68] @ 0x44 + 8011a9c: 4293 cmp r3, r2 + 8011a9e: bf28 it cs + 8011aa0: 4613 movcs r3, r2 + 8011aa2: f8a7 3046 strh.w r3, [r7, #70] @ 0x46 /* Is this pbuf already empty? */ if (!newpbuflen) { - 8011122: f8b7 3046 ldrh.w r3, [r7, #70] @ 0x46 - 8011126: 2b00 cmp r3, #0 - 8011128: d105 bne.n 8011136 + 8011aa6: f8b7 3046 ldrh.w r3, [r7, #70] @ 0x46 + 8011aaa: 2b00 cmp r3, #0 + 8011aac: d105 bne.n 8011aba poff = 0; - 801112a: 2300 movs r3, #0 - 801112c: 87fb strh r3, [r7, #62] @ 0x3e + 8011aae: 2300 movs r3, #0 + 8011ab0: 87fb strh r3, [r7, #62] @ 0x3e p = p->next; - 801112e: 68fb ldr r3, [r7, #12] - 8011130: 681b ldr r3, [r3, #0] - 8011132: 60fb str r3, [r7, #12] + 8011ab2: 68fb ldr r3, [r7, #12] + 8011ab4: 681b ldr r3, [r3, #0] + 8011ab6: 60fb str r3, [r7, #12] continue; - 8011134: e041 b.n 80111ba + 8011ab8: e041 b.n 8011b3e } pcr = ip_frag_alloc_pbuf_custom_ref(); - 8011136: f7ff ff0d bl 8010f54 - 801113a: 61b8 str r0, [r7, #24] + 8011aba: f7ff ff0d bl 80118d8 + 8011abe: 61b8 str r0, [r7, #24] if (pcr == NULL) { - 801113c: 69bb ldr r3, [r7, #24] - 801113e: 2b00 cmp r3, #0 - 8011140: d103 bne.n 801114a + 8011ac0: 69bb ldr r3, [r7, #24] + 8011ac2: 2b00 cmp r3, #0 + 8011ac4: d103 bne.n 8011ace pbuf_free(rambuf); - 8011142: 6a78 ldr r0, [r7, #36] @ 0x24 - 8011144: f7f5 fc70 bl 8006a28 + 8011ac6: 6a78 ldr r0, [r7, #36] @ 0x24 + 8011ac8: f7f5 fc70 bl 80073ac goto memerr; - 8011148: e08f b.n 801126a + 8011acc: e08f b.n 8011bee } /* Mirror this pbuf, although we might not need all of it. */ newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc, - 801114a: 69b8 ldr r0, [r7, #24] + 8011ace: 69b8 ldr r0, [r7, #24] (u8_t *)p->payload + poff, newpbuflen); - 801114c: 68fb ldr r3, [r7, #12] - 801114e: 685a ldr r2, [r3, #4] + 8011ad0: 68fb ldr r3, [r7, #12] + 8011ad2: 685a ldr r2, [r3, #4] newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc, - 8011150: 8ffb ldrh r3, [r7, #62] @ 0x3e - 8011152: 4413 add r3, r2 - 8011154: f8b7 1046 ldrh.w r1, [r7, #70] @ 0x46 - 8011158: f8b7 2046 ldrh.w r2, [r7, #70] @ 0x46 - 801115c: 9201 str r2, [sp, #4] - 801115e: 9300 str r3, [sp, #0] - 8011160: 4603 mov r3, r0 - 8011162: 2241 movs r2, #65 @ 0x41 - 8011164: 2000 movs r0, #0 - 8011166: f7f5 faa7 bl 80066b8 - 801116a: 6178 str r0, [r7, #20] + 8011ad4: 8ffb ldrh r3, [r7, #62] @ 0x3e + 8011ad6: 4413 add r3, r2 + 8011ad8: f8b7 1046 ldrh.w r1, [r7, #70] @ 0x46 + 8011adc: f8b7 2046 ldrh.w r2, [r7, #70] @ 0x46 + 8011ae0: 9201 str r2, [sp, #4] + 8011ae2: 9300 str r3, [sp, #0] + 8011ae4: 4603 mov r3, r0 + 8011ae6: 2241 movs r2, #65 @ 0x41 + 8011ae8: 2000 movs r0, #0 + 8011aea: f7f5 faa7 bl 800703c + 8011aee: 6178 str r0, [r7, #20] if (newpbuf == NULL) { - 801116c: 697b ldr r3, [r7, #20] - 801116e: 2b00 cmp r3, #0 - 8011170: d106 bne.n 8011180 + 8011af0: 697b ldr r3, [r7, #20] + 8011af2: 2b00 cmp r3, #0 + 8011af4: d106 bne.n 8011b04 ip_frag_free_pbuf_custom_ref(pcr); - 8011172: 69b8 ldr r0, [r7, #24] - 8011174: f7ff fef6 bl 8010f64 + 8011af6: 69b8 ldr r0, [r7, #24] + 8011af8: f7ff fef6 bl 80118e8 pbuf_free(rambuf); - 8011178: 6a78 ldr r0, [r7, #36] @ 0x24 - 801117a: f7f5 fc55 bl 8006a28 + 8011afc: 6a78 ldr r0, [r7, #36] @ 0x24 + 8011afe: f7f5 fc55 bl 80073ac goto memerr; - 801117e: e074 b.n 801126a + 8011b02: e074 b.n 8011bee } pbuf_ref(p); - 8011180: 68f8 ldr r0, [r7, #12] - 8011182: f7f5 fcf1 bl 8006b68 + 8011b04: 68f8 ldr r0, [r7, #12] + 8011b06: f7f5 fcf1 bl 80074ec pcr->original = p; - 8011186: 69bb ldr r3, [r7, #24] - 8011188: 68fa ldr r2, [r7, #12] - 801118a: 615a str r2, [r3, #20] + 8011b0a: 69bb ldr r3, [r7, #24] + 8011b0c: 68fa ldr r2, [r7, #12] + 8011b0e: 615a str r2, [r3, #20] pcr->pc.custom_free_function = ipfrag_free_pbuf_custom; - 801118c: 69bb ldr r3, [r7, #24] - 801118e: 4a3f ldr r2, [pc, #252] @ (801128c ) - 8011190: 611a str r2, [r3, #16] + 8011b10: 69bb ldr r3, [r7, #24] + 8011b12: 4a3f ldr r2, [pc, #252] @ (8011c10 ) + 8011b14: 611a str r2, [r3, #16] /* Add it to end of rambuf's chain, but using pbuf_cat, not pbuf_chain * so that it is removed when pbuf_dechain is later called on rambuf. */ pbuf_cat(rambuf, newpbuf); - 8011192: 6979 ldr r1, [r7, #20] - 8011194: 6a78 ldr r0, [r7, #36] @ 0x24 - 8011196: f7f5 fd09 bl 8006bac + 8011b16: 6979 ldr r1, [r7, #20] + 8011b18: 6a78 ldr r0, [r7, #36] @ 0x24 + 8011b1a: f7f5 fd09 bl 8007530 left_to_copy = (u16_t)(left_to_copy - newpbuflen); - 801119a: f8b7 2044 ldrh.w r2, [r7, #68] @ 0x44 - 801119e: f8b7 3046 ldrh.w r3, [r7, #70] @ 0x46 - 80111a2: 1ad3 subs r3, r2, r3 - 80111a4: f8a7 3044 strh.w r3, [r7, #68] @ 0x44 + 8011b1e: f8b7 2044 ldrh.w r2, [r7, #68] @ 0x44 + 8011b22: f8b7 3046 ldrh.w r3, [r7, #70] @ 0x46 + 8011b26: 1ad3 subs r3, r2, r3 + 8011b28: f8a7 3044 strh.w r3, [r7, #68] @ 0x44 if (left_to_copy) { - 80111a8: f8b7 3044 ldrh.w r3, [r7, #68] @ 0x44 - 80111ac: 2b00 cmp r3, #0 - 80111ae: d004 beq.n 80111ba + 8011b2c: f8b7 3044 ldrh.w r3, [r7, #68] @ 0x44 + 8011b30: 2b00 cmp r3, #0 + 8011b32: d004 beq.n 8011b3e poff = 0; - 80111b0: 2300 movs r3, #0 - 80111b2: 87fb strh r3, [r7, #62] @ 0x3e + 8011b34: 2300 movs r3, #0 + 8011b36: 87fb strh r3, [r7, #62] @ 0x3e p = p->next; - 80111b4: 68fb ldr r3, [r7, #12] - 80111b6: 681b ldr r3, [r3, #0] - 80111b8: 60fb str r3, [r7, #12] + 8011b38: 68fb ldr r3, [r7, #12] + 8011b3a: 681b ldr r3, [r3, #0] + 8011b3c: 60fb str r3, [r7, #12] while (left_to_copy) { - 80111ba: f8b7 3044 ldrh.w r3, [r7, #68] @ 0x44 - 80111be: 2b00 cmp r3, #0 - 80111c0: d196 bne.n 80110f0 + 8011b3e: f8b7 3044 ldrh.w r3, [r7, #68] @ 0x44 + 8011b42: 2b00 cmp r3, #0 + 8011b44: d196 bne.n 8011a74 } } poff = (u16_t)(poff + newpbuflen); - 80111c2: 8ffa ldrh r2, [r7, #62] @ 0x3e - 80111c4: f8b7 3046 ldrh.w r3, [r7, #70] @ 0x46 - 80111c8: 4413 add r3, r2 - 80111ca: 87fb strh r3, [r7, #62] @ 0x3e + 8011b46: 8ffa ldrh r2, [r7, #62] @ 0x3e + 8011b48: f8b7 3046 ldrh.w r3, [r7, #70] @ 0x46 + 8011b4c: 4413 add r3, r2 + 8011b4e: 87fb strh r3, [r7, #62] @ 0x3e #endif /* LWIP_NETIF_TX_SINGLE_PBUF */ /* Correct header */ last = (left <= netif->mtu - IP_HLEN); - 80111cc: 68bb ldr r3, [r7, #8] - 80111ce: 8d1b ldrh r3, [r3, #40] @ 0x28 - 80111d0: f1a3 0213 sub.w r2, r3, #19 - 80111d4: f8b7 3042 ldrh.w r3, [r7, #66] @ 0x42 - 80111d8: 429a cmp r2, r3 - 80111da: bfcc ite gt - 80111dc: 2301 movgt r3, #1 - 80111de: 2300 movle r3, #0 - 80111e0: b2db uxtb r3, r3 - 80111e2: 623b str r3, [r7, #32] + 8011b50: 68bb ldr r3, [r7, #8] + 8011b52: 8d1b ldrh r3, [r3, #40] @ 0x28 + 8011b54: f1a3 0213 sub.w r2, r3, #19 + 8011b58: f8b7 3042 ldrh.w r3, [r7, #66] @ 0x42 + 8011b5c: 429a cmp r2, r3 + 8011b5e: bfcc ite gt + 8011b60: 2301 movgt r3, #1 + 8011b62: 2300 movle r3, #0 + 8011b64: b2db uxtb r3, r3 + 8011b66: 623b str r3, [r7, #32] /* Set new offset and MF flag */ tmp = (IP_OFFMASK & (ofo)); - 80111e4: f8b7 3040 ldrh.w r3, [r7, #64] @ 0x40 - 80111e8: f3c3 030c ubfx r3, r3, #0, #13 - 80111ec: 87bb strh r3, [r7, #60] @ 0x3c + 8011b68: f8b7 3040 ldrh.w r3, [r7, #64] @ 0x40 + 8011b6c: f3c3 030c ubfx r3, r3, #0, #13 + 8011b70: 87bb strh r3, [r7, #60] @ 0x3c if (!last || mf_set) { - 80111ee: 6a3b ldr r3, [r7, #32] - 80111f0: 2b00 cmp r3, #0 - 80111f2: d002 beq.n 80111fa - 80111f4: 6afb ldr r3, [r7, #44] @ 0x2c - 80111f6: 2b00 cmp r3, #0 - 80111f8: d003 beq.n 8011202 + 8011b72: 6a3b ldr r3, [r7, #32] + 8011b74: 2b00 cmp r3, #0 + 8011b76: d002 beq.n 8011b7e + 8011b78: 6afb ldr r3, [r7, #44] @ 0x2c + 8011b7a: 2b00 cmp r3, #0 + 8011b7c: d003 beq.n 8011b86 /* the last fragment has MF set if the input frame had it */ tmp = tmp | IP_MF; - 80111fa: 8fbb ldrh r3, [r7, #60] @ 0x3c - 80111fc: f443 5300 orr.w r3, r3, #8192 @ 0x2000 - 8011200: 87bb strh r3, [r7, #60] @ 0x3c + 8011b7e: 8fbb ldrh r3, [r7, #60] @ 0x3c + 8011b80: f443 5300 orr.w r3, r3, #8192 @ 0x2000 + 8011b84: 87bb strh r3, [r7, #60] @ 0x3c } IPH_OFFSET_SET(iphdr, lwip_htons(tmp)); - 8011202: 8fbb ldrh r3, [r7, #60] @ 0x3c - 8011204: 4618 mov r0, r3 - 8011206: f7f4 f8bf bl 8005388 - 801120a: 4603 mov r3, r0 - 801120c: 461a mov r2, r3 - 801120e: 6b3b ldr r3, [r7, #48] @ 0x30 - 8011210: 80da strh r2, [r3, #6] + 8011b86: 8fbb ldrh r3, [r7, #60] @ 0x3c + 8011b88: 4618 mov r0, r3 + 8011b8a: f7f4 f8bf bl 8005d0c + 8011b8e: 4603 mov r3, r0 + 8011b90: 461a mov r2, r3 + 8011b92: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011b94: 80da strh r2, [r3, #6] IPH_LEN_SET(iphdr, lwip_htons((u16_t)(fragsize + IP_HLEN))); - 8011212: 8d7b ldrh r3, [r7, #42] @ 0x2a - 8011214: 3314 adds r3, #20 - 8011216: b29b uxth r3, r3 - 8011218: 4618 mov r0, r3 - 801121a: f7f4 f8b5 bl 8005388 - 801121e: 4603 mov r3, r0 - 8011220: 461a mov r2, r3 - 8011222: 6b3b ldr r3, [r7, #48] @ 0x30 - 8011224: 805a strh r2, [r3, #2] + 8011b96: 8d7b ldrh r3, [r7, #42] @ 0x2a + 8011b98: 3314 adds r3, #20 + 8011b9a: b29b uxth r3, r3 + 8011b9c: 4618 mov r0, r3 + 8011b9e: f7f4 f8b5 bl 8005d0c + 8011ba2: 4603 mov r3, r0 + 8011ba4: 461a mov r2, r3 + 8011ba6: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011ba8: 805a strh r2, [r3, #2] IPH_CHKSUM_SET(iphdr, 0); - 8011226: 6b3b ldr r3, [r7, #48] @ 0x30 - 8011228: 2200 movs r2, #0 - 801122a: 729a strb r2, [r3, #10] - 801122c: 2200 movs r2, #0 - 801122e: 72da strb r2, [r3, #11] + 8011baa: 6b3b ldr r3, [r7, #48] @ 0x30 + 8011bac: 2200 movs r2, #0 + 8011bae: 729a strb r2, [r3, #10] + 8011bb0: 2200 movs r2, #0 + 8011bb2: 72da strb r2, [r3, #11] #endif /* CHECKSUM_GEN_IP */ /* No need for separate header pbuf - we allowed room for it in rambuf * when allocated. */ netif->output(netif, rambuf, dest); - 8011230: 68bb ldr r3, [r7, #8] - 8011232: 695b ldr r3, [r3, #20] - 8011234: 687a ldr r2, [r7, #4] - 8011236: 6a79 ldr r1, [r7, #36] @ 0x24 - 8011238: 68b8 ldr r0, [r7, #8] - 801123a: 4798 blx r3 + 8011bb4: 68bb ldr r3, [r7, #8] + 8011bb6: 695b ldr r3, [r3, #20] + 8011bb8: 687a ldr r2, [r7, #4] + 8011bba: 6a79 ldr r1, [r7, #36] @ 0x24 + 8011bbc: 68b8 ldr r0, [r7, #8] + 8011bbe: 4798 blx r3 * recreate it next time round the loop. If we're lucky the hardware * will have already sent the packet, the free will really free, and * there will be zero memory penalty. */ pbuf_free(rambuf); - 801123c: 6a78 ldr r0, [r7, #36] @ 0x24 - 801123e: f7f5 fbf3 bl 8006a28 + 8011bc0: 6a78 ldr r0, [r7, #36] @ 0x24 + 8011bc2: f7f5 fbf3 bl 80073ac left = (u16_t)(left - fragsize); - 8011242: f8b7 2042 ldrh.w r2, [r7, #66] @ 0x42 - 8011246: 8d7b ldrh r3, [r7, #42] @ 0x2a - 8011248: 1ad3 subs r3, r2, r3 - 801124a: f8a7 3042 strh.w r3, [r7, #66] @ 0x42 + 8011bc6: f8b7 2042 ldrh.w r2, [r7, #66] @ 0x42 + 8011bca: 8d7b ldrh r3, [r7, #42] @ 0x2a + 8011bcc: 1ad3 subs r3, r2, r3 + 8011bce: f8a7 3042 strh.w r3, [r7, #66] @ 0x42 ofo = (u16_t)(ofo + nfb); - 801124e: f8b7 2040 ldrh.w r2, [r7, #64] @ 0x40 - 8011252: 8f7b ldrh r3, [r7, #58] @ 0x3a - 8011254: 4413 add r3, r2 - 8011256: f8a7 3040 strh.w r3, [r7, #64] @ 0x40 + 8011bd2: f8b7 2040 ldrh.w r2, [r7, #64] @ 0x40 + 8011bd6: 8f7b ldrh r3, [r7, #58] @ 0x3a + 8011bd8: 4413 add r3, r2 + 8011bda: f8a7 3040 strh.w r3, [r7, #64] @ 0x40 while (left) { - 801125a: f8b7 3042 ldrh.w r3, [r7, #66] @ 0x42 - 801125e: 2b00 cmp r3, #0 - 8011260: f47f af19 bne.w 8011096 + 8011bde: f8b7 3042 ldrh.w r3, [r7, #66] @ 0x42 + 8011be2: 2b00 cmp r3, #0 + 8011be4: f47f af19 bne.w 8011a1a } MIB2_STATS_INC(mib2.ipfragoks); return ERR_OK; - 8011264: 2300 movs r3, #0 - 8011266: e002 b.n 801126e + 8011be8: 2300 movs r3, #0 + 8011bea: e002 b.n 8011bf2 goto memerr; - 8011268: bf00 nop + 8011bec: bf00 nop memerr: MIB2_STATS_INC(mib2.ipfragfails); return ERR_MEM; - 801126a: f04f 33ff mov.w r3, #4294967295 + 8011bee: f04f 33ff mov.w r3, #4294967295 } - 801126e: 4618 mov r0, r3 - 8011270: 3748 adds r7, #72 @ 0x48 - 8011272: 46bd mov sp, r7 - 8011274: bd80 pop {r7, pc} - 8011276: bf00 nop - 8011278: 08018b1c .word 0x08018b1c - 801127c: 08018cf8 .word 0x08018cf8 - 8011280: 08018b64 .word 0x08018b64 - 8011284: 08018d14 .word 0x08018d14 - 8011288: 08018d34 .word 0x08018d34 - 801128c: 08010f9d .word 0x08010f9d + 8011bf2: 4618 mov r0, r3 + 8011bf4: 3748 adds r7, #72 @ 0x48 + 8011bf6: 46bd mov sp, r7 + 8011bf8: bd80 pop {r7, pc} + 8011bfa: bf00 nop + 8011bfc: 0801949c .word 0x0801949c + 8011c00: 08019678 .word 0x08019678 + 8011c04: 080194e4 .word 0x080194e4 + 8011c08: 08019694 .word 0x08019694 + 8011c0c: 080196b4 .word 0x080196b4 + 8011c10: 08011921 .word 0x08011921 -08011290 : +08011c14 : * @see ETHARP_SUPPORT_VLAN * @see LWIP_HOOK_VLAN_CHECK */ err_t ethernet_input(struct pbuf *p, struct netif *netif) { - 8011290: b580 push {r7, lr} - 8011292: b086 sub sp, #24 - 8011294: af00 add r7, sp, #0 - 8011296: 6078 str r0, [r7, #4] - 8011298: 6039 str r1, [r7, #0] + 8011c14: b580 push {r7, lr} + 8011c16: b086 sub sp, #24 + 8011c18: af00 add r7, sp, #0 + 8011c1a: 6078 str r0, [r7, #4] + 8011c1c: 6039 str r1, [r7, #0] struct eth_hdr *ethhdr; u16_t type; #if LWIP_ARP || ETHARP_SUPPORT_VLAN || LWIP_IPV6 u16_t next_hdr_offset = SIZEOF_ETH_HDR; - 801129a: 230e movs r3, #14 - 801129c: 82fb strh r3, [r7, #22] + 8011c1e: 230e movs r3, #14 + 8011c20: 82fb strh r3, [r7, #22] #endif /* LWIP_ARP || ETHARP_SUPPORT_VLAN */ LWIP_ASSERT_CORE_LOCKED(); if (p->len <= SIZEOF_ETH_HDR) { - 801129e: 687b ldr r3, [r7, #4] - 80112a0: 895b ldrh r3, [r3, #10] - 80112a2: 2b0e cmp r3, #14 - 80112a4: d96e bls.n 8011384 + 8011c22: 687b ldr r3, [r7, #4] + 8011c24: 895b ldrh r3, [r3, #10] + 8011c26: 2b0e cmp r3, #14 + 8011c28: d96e bls.n 8011d08 ETHARP_STATS_INC(etharp.drop); MIB2_STATS_NETIF_INC(netif, ifinerrors); goto free_and_return; } if (p->if_idx == NETIF_NO_INDEX) { - 80112a6: 687b ldr r3, [r7, #4] - 80112a8: 7bdb ldrb r3, [r3, #15] - 80112aa: 2b00 cmp r3, #0 - 80112ac: d106 bne.n 80112bc + 8011c2a: 687b ldr r3, [r7, #4] + 8011c2c: 7bdb ldrb r3, [r3, #15] + 8011c2e: 2b00 cmp r3, #0 + 8011c30: d106 bne.n 8011c40 p->if_idx = netif_get_index(netif); - 80112ae: 683b ldr r3, [r7, #0] - 80112b0: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 80112b4: 3301 adds r3, #1 - 80112b6: b2da uxtb r2, r3 - 80112b8: 687b ldr r3, [r7, #4] - 80112ba: 73da strb r2, [r3, #15] + 8011c32: 683b ldr r3, [r7, #0] + 8011c34: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 8011c38: 3301 adds r3, #1 + 8011c3a: b2da uxtb r2, r3 + 8011c3c: 687b ldr r3, [r7, #4] + 8011c3e: 73da strb r2, [r3, #15] } /* points to packet payload, which starts with an Ethernet header */ ethhdr = (struct eth_hdr *)p->payload; - 80112bc: 687b ldr r3, [r7, #4] - 80112be: 685b ldr r3, [r3, #4] - 80112c0: 613b str r3, [r7, #16] + 8011c40: 687b ldr r3, [r7, #4] + 8011c42: 685b ldr r3, [r3, #4] + 8011c44: 613b str r3, [r7, #16] (unsigned char)ethhdr->dest.addr[3], (unsigned char)ethhdr->dest.addr[4], (unsigned char)ethhdr->dest.addr[5], (unsigned char)ethhdr->src.addr[0], (unsigned char)ethhdr->src.addr[1], (unsigned char)ethhdr->src.addr[2], (unsigned char)ethhdr->src.addr[3], (unsigned char)ethhdr->src.addr[4], (unsigned char)ethhdr->src.addr[5], lwip_htons(ethhdr->type))); type = ethhdr->type; - 80112c2: 693b ldr r3, [r7, #16] - 80112c4: 7b1a ldrb r2, [r3, #12] - 80112c6: 7b5b ldrb r3, [r3, #13] - 80112c8: 021b lsls r3, r3, #8 - 80112ca: 4313 orrs r3, r2 - 80112cc: 81fb strh r3, [r7, #14] + 8011c46: 693b ldr r3, [r7, #16] + 8011c48: 7b1a ldrb r2, [r3, #12] + 8011c4a: 7b5b ldrb r3, [r3, #13] + 8011c4c: 021b lsls r3, r3, #8 + 8011c4e: 4313 orrs r3, r2 + 8011c50: 81fb strh r3, [r7, #14] #if LWIP_ARP_FILTER_NETIF netif = LWIP_ARP_FILTER_NETIF_FN(p, netif, lwip_htons(type)); #endif /* LWIP_ARP_FILTER_NETIF*/ if (ethhdr->dest.addr[0] & 1) { - 80112ce: 693b ldr r3, [r7, #16] - 80112d0: 781b ldrb r3, [r3, #0] - 80112d2: f003 0301 and.w r3, r3, #1 - 80112d6: 2b00 cmp r3, #0 - 80112d8: d023 beq.n 8011322 + 8011c52: 693b ldr r3, [r7, #16] + 8011c54: 781b ldrb r3, [r3, #0] + 8011c56: f003 0301 and.w r3, r3, #1 + 8011c5a: 2b00 cmp r3, #0 + 8011c5c: d023 beq.n 8011ca6 /* this might be a multicast or broadcast packet */ if (ethhdr->dest.addr[0] == LL_IP4_MULTICAST_ADDR_0) { - 80112da: 693b ldr r3, [r7, #16] - 80112dc: 781b ldrb r3, [r3, #0] - 80112de: 2b01 cmp r3, #1 - 80112e0: d10f bne.n 8011302 + 8011c5e: 693b ldr r3, [r7, #16] + 8011c60: 781b ldrb r3, [r3, #0] + 8011c62: 2b01 cmp r3, #1 + 8011c64: d10f bne.n 8011c86 #if LWIP_IPV4 if ((ethhdr->dest.addr[1] == LL_IP4_MULTICAST_ADDR_1) && - 80112e2: 693b ldr r3, [r7, #16] - 80112e4: 785b ldrb r3, [r3, #1] - 80112e6: 2b00 cmp r3, #0 - 80112e8: d11b bne.n 8011322 + 8011c66: 693b ldr r3, [r7, #16] + 8011c68: 785b ldrb r3, [r3, #1] + 8011c6a: 2b00 cmp r3, #0 + 8011c6c: d11b bne.n 8011ca6 (ethhdr->dest.addr[2] == LL_IP4_MULTICAST_ADDR_2)) { - 80112ea: 693b ldr r3, [r7, #16] - 80112ec: 789b ldrb r3, [r3, #2] + 8011c6e: 693b ldr r3, [r7, #16] + 8011c70: 789b ldrb r3, [r3, #2] if ((ethhdr->dest.addr[1] == LL_IP4_MULTICAST_ADDR_1) && - 80112ee: 2b5e cmp r3, #94 @ 0x5e - 80112f0: d117 bne.n 8011322 + 8011c72: 2b5e cmp r3, #94 @ 0x5e + 8011c74: d117 bne.n 8011ca6 /* mark the pbuf as link-layer multicast */ p->flags |= PBUF_FLAG_LLMCAST; - 80112f2: 687b ldr r3, [r7, #4] - 80112f4: 7b5b ldrb r3, [r3, #13] - 80112f6: f043 0310 orr.w r3, r3, #16 - 80112fa: b2da uxtb r2, r3 - 80112fc: 687b ldr r3, [r7, #4] - 80112fe: 735a strb r2, [r3, #13] - 8011300: e00f b.n 8011322 + 8011c76: 687b ldr r3, [r7, #4] + 8011c78: 7b5b ldrb r3, [r3, #13] + 8011c7a: f043 0310 orr.w r3, r3, #16 + 8011c7e: b2da uxtb r2, r3 + 8011c80: 687b ldr r3, [r7, #4] + 8011c82: 735a strb r2, [r3, #13] + 8011c84: e00f b.n 8011ca6 (ethhdr->dest.addr[1] == LL_IP6_MULTICAST_ADDR_1)) { /* mark the pbuf as link-layer multicast */ p->flags |= PBUF_FLAG_LLMCAST; } #endif /* LWIP_IPV6 */ else if (eth_addr_cmp(ðhdr->dest, ðbroadcast)) { - 8011302: 693b ldr r3, [r7, #16] - 8011304: 2206 movs r2, #6 - 8011306: 4928 ldr r1, [pc, #160] @ (80113a8 ) - 8011308: 4618 mov r0, r3 - 801130a: f000 f9ca bl 80116a2 - 801130e: 4603 mov r3, r0 - 8011310: 2b00 cmp r3, #0 - 8011312: d106 bne.n 8011322 + 8011c86: 693b ldr r3, [r7, #16] + 8011c88: 2206 movs r2, #6 + 8011c8a: 4928 ldr r1, [pc, #160] @ (8011d2c ) + 8011c8c: 4618 mov r0, r3 + 8011c8e: f000 f9ca bl 8012026 + 8011c92: 4603 mov r3, r0 + 8011c94: 2b00 cmp r3, #0 + 8011c96: d106 bne.n 8011ca6 /* mark the pbuf as link-layer broadcast */ p->flags |= PBUF_FLAG_LLBCAST; - 8011314: 687b ldr r3, [r7, #4] - 8011316: 7b5b ldrb r3, [r3, #13] - 8011318: f043 0308 orr.w r3, r3, #8 - 801131c: b2da uxtb r2, r3 - 801131e: 687b ldr r3, [r7, #4] - 8011320: 735a strb r2, [r3, #13] + 8011c98: 687b ldr r3, [r7, #4] + 8011c9a: 7b5b ldrb r3, [r3, #13] + 8011c9c: f043 0308 orr.w r3, r3, #8 + 8011ca0: b2da uxtb r2, r3 + 8011ca2: 687b ldr r3, [r7, #4] + 8011ca4: 735a strb r2, [r3, #13] } } switch (type) { - 8011322: 89fb ldrh r3, [r7, #14] - 8011324: 2b08 cmp r3, #8 - 8011326: d003 beq.n 8011330 - 8011328: f5b3 6fc1 cmp.w r3, #1544 @ 0x608 - 801132c: d014 beq.n 8011358 + 8011ca6: 89fb ldrh r3, [r7, #14] + 8011ca8: 2b08 cmp r3, #8 + 8011caa: d003 beq.n 8011cb4 + 8011cac: f5b3 6fc1 cmp.w r3, #1544 @ 0x608 + 8011cb0: d014 beq.n 8011cdc } #endif ETHARP_STATS_INC(etharp.proterr); ETHARP_STATS_INC(etharp.drop); MIB2_STATS_NETIF_INC(netif, ifinunknownprotos); goto free_and_return; - 801132e: e032 b.n 8011396 + 8011cb2: e032 b.n 8011d1a if (!(netif->flags & NETIF_FLAG_ETHARP)) { - 8011330: 683b ldr r3, [r7, #0] - 8011332: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 8011336: f003 0308 and.w r3, r3, #8 - 801133a: 2b00 cmp r3, #0 - 801133c: d024 beq.n 8011388 + 8011cb4: 683b ldr r3, [r7, #0] + 8011cb6: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8011cba: f003 0308 and.w r3, r3, #8 + 8011cbe: 2b00 cmp r3, #0 + 8011cc0: d024 beq.n 8011d0c if (pbuf_remove_header(p, next_hdr_offset)) { - 801133e: 8afb ldrh r3, [r7, #22] - 8011340: 4619 mov r1, r3 - 8011342: 6878 ldr r0, [r7, #4] - 8011344: f7f5 faea bl 800691c - 8011348: 4603 mov r3, r0 - 801134a: 2b00 cmp r3, #0 - 801134c: d11e bne.n 801138c + 8011cc2: 8afb ldrh r3, [r7, #22] + 8011cc4: 4619 mov r1, r3 + 8011cc6: 6878 ldr r0, [r7, #4] + 8011cc8: f7f5 faea bl 80072a0 + 8011ccc: 4603 mov r3, r0 + 8011cce: 2b00 cmp r3, #0 + 8011cd0: d11e bne.n 8011d10 ip4_input(p, netif); - 801134e: 6839 ldr r1, [r7, #0] - 8011350: 6878 ldr r0, [r7, #4] - 8011352: f7fe fdc5 bl 800fee0 + 8011cd2: 6839 ldr r1, [r7, #0] + 8011cd4: 6878 ldr r0, [r7, #4] + 8011cd6: f7fe fdc5 bl 8010864 break; - 8011356: e013 b.n 8011380 + 8011cda: e013 b.n 8011d04 if (!(netif->flags & NETIF_FLAG_ETHARP)) { - 8011358: 683b ldr r3, [r7, #0] - 801135a: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 - 801135e: f003 0308 and.w r3, r3, #8 - 8011362: 2b00 cmp r3, #0 - 8011364: d014 beq.n 8011390 + 8011cdc: 683b ldr r3, [r7, #0] + 8011cde: f893 3031 ldrb.w r3, [r3, #49] @ 0x31 + 8011ce2: f003 0308 and.w r3, r3, #8 + 8011ce6: 2b00 cmp r3, #0 + 8011ce8: d014 beq.n 8011d14 if (pbuf_remove_header(p, next_hdr_offset)) { - 8011366: 8afb ldrh r3, [r7, #22] - 8011368: 4619 mov r1, r3 - 801136a: 6878 ldr r0, [r7, #4] - 801136c: f7f5 fad6 bl 800691c - 8011370: 4603 mov r3, r0 - 8011372: 2b00 cmp r3, #0 - 8011374: d10e bne.n 8011394 + 8011cea: 8afb ldrh r3, [r7, #22] + 8011cec: 4619 mov r1, r3 + 8011cee: 6878 ldr r0, [r7, #4] + 8011cf0: f7f5 fad6 bl 80072a0 + 8011cf4: 4603 mov r3, r0 + 8011cf6: 2b00 cmp r3, #0 + 8011cf8: d10e bne.n 8011d18 etharp_input(p, netif); - 8011376: 6839 ldr r1, [r7, #0] - 8011378: 6878 ldr r0, [r7, #4] - 801137a: f7fd ff61 bl 800f240 + 8011cfa: 6839 ldr r1, [r7, #0] + 8011cfc: 6878 ldr r0, [r7, #4] + 8011cfe: f7fd ff61 bl 800fbc4 break; - 801137e: bf00 nop + 8011d02: bf00 nop } /* This means the pbuf is freed or consumed, so the caller doesn't have to free it again */ return ERR_OK; - 8011380: 2300 movs r3, #0 - 8011382: e00c b.n 801139e + 8011d04: 2300 movs r3, #0 + 8011d06: e00c b.n 8011d22 goto free_and_return; - 8011384: bf00 nop - 8011386: e006 b.n 8011396 + 8011d08: bf00 nop + 8011d0a: e006 b.n 8011d1a goto free_and_return; - 8011388: bf00 nop - 801138a: e004 b.n 8011396 + 8011d0c: bf00 nop + 8011d0e: e004 b.n 8011d1a goto free_and_return; - 801138c: bf00 nop - 801138e: e002 b.n 8011396 + 8011d10: bf00 nop + 8011d12: e002 b.n 8011d1a goto free_and_return; - 8011390: bf00 nop - 8011392: e000 b.n 8011396 + 8011d14: bf00 nop + 8011d16: e000 b.n 8011d1a goto free_and_return; - 8011394: bf00 nop + 8011d18: bf00 nop free_and_return: pbuf_free(p); - 8011396: 6878 ldr r0, [r7, #4] - 8011398: f7f5 fb46 bl 8006a28 + 8011d1a: 6878 ldr r0, [r7, #4] + 8011d1c: f7f5 fb46 bl 80073ac return ERR_OK; - 801139c: 2300 movs r3, #0 + 8011d20: 2300 movs r3, #0 } - 801139e: 4618 mov r0, r3 - 80113a0: 3718 adds r7, #24 - 80113a2: 46bd mov sp, r7 - 80113a4: bd80 pop {r7, pc} - 80113a6: bf00 nop - 80113a8: 08018edc .word 0x08018edc + 8011d22: 4618 mov r0, r3 + 8011d24: 3718 adds r7, #24 + 8011d26: 46bd mov sp, r7 + 8011d28: bd80 pop {r7, pc} + 8011d2a: bf00 nop + 8011d2c: 0801985c .word 0x0801985c -080113ac : +08011d30 : * @return ERR_OK if the packet was sent, any other err_t on failure */ err_t ethernet_output(struct netif * netif, struct pbuf * p, const struct eth_addr * src, const struct eth_addr * dst, u16_t eth_type) { - 80113ac: b580 push {r7, lr} - 80113ae: b086 sub sp, #24 - 80113b0: af00 add r7, sp, #0 - 80113b2: 60f8 str r0, [r7, #12] - 80113b4: 60b9 str r1, [r7, #8] - 80113b6: 607a str r2, [r7, #4] - 80113b8: 603b str r3, [r7, #0] + 8011d30: b580 push {r7, lr} + 8011d32: b086 sub sp, #24 + 8011d34: af00 add r7, sp, #0 + 8011d36: 60f8 str r0, [r7, #12] + 8011d38: 60b9 str r1, [r7, #8] + 8011d3a: 607a str r2, [r7, #4] + 8011d3c: 603b str r3, [r7, #0] struct eth_hdr *ethhdr; u16_t eth_type_be = lwip_htons(eth_type); - 80113ba: 8c3b ldrh r3, [r7, #32] - 80113bc: 4618 mov r0, r3 - 80113be: f7f3 ffe3 bl 8005388 - 80113c2: 4603 mov r3, r0 - 80113c4: 82fb strh r3, [r7, #22] + 8011d3e: 8c3b ldrh r3, [r7, #32] + 8011d40: 4618 mov r0, r3 + 8011d42: f7f3 ffe3 bl 8005d0c + 8011d46: 4603 mov r3, r0 + 8011d48: 82fb strh r3, [r7, #22] eth_type_be = PP_HTONS(ETHTYPE_VLAN); } else #endif /* ETHARP_SUPPORT_VLAN && defined(LWIP_HOOK_VLAN_SET) */ { if (pbuf_add_header(p, SIZEOF_ETH_HDR) != 0) { - 80113c6: 210e movs r1, #14 - 80113c8: 68b8 ldr r0, [r7, #8] - 80113ca: f7f5 fa97 bl 80068fc - 80113ce: 4603 mov r3, r0 - 80113d0: 2b00 cmp r3, #0 - 80113d2: d125 bne.n 8011420 + 8011d4a: 210e movs r1, #14 + 8011d4c: 68b8 ldr r0, [r7, #8] + 8011d4e: f7f5 fa97 bl 8007280 + 8011d52: 4603 mov r3, r0 + 8011d54: 2b00 cmp r3, #0 + 8011d56: d125 bne.n 8011da4 } } LWIP_ASSERT_CORE_LOCKED(); ethhdr = (struct eth_hdr *)p->payload; - 80113d4: 68bb ldr r3, [r7, #8] - 80113d6: 685b ldr r3, [r3, #4] - 80113d8: 613b str r3, [r7, #16] + 8011d58: 68bb ldr r3, [r7, #8] + 8011d5a: 685b ldr r3, [r3, #4] + 8011d5c: 613b str r3, [r7, #16] ethhdr->type = eth_type_be; - 80113da: 693b ldr r3, [r7, #16] - 80113dc: 8afa ldrh r2, [r7, #22] - 80113de: 819a strh r2, [r3, #12] + 8011d5e: 693b ldr r3, [r7, #16] + 8011d60: 8afa ldrh r2, [r7, #22] + 8011d62: 819a strh r2, [r3, #12] SMEMCPY(ðhdr->dest, dst, ETH_HWADDR_LEN); - 80113e0: 693b ldr r3, [r7, #16] - 80113e2: 2206 movs r2, #6 - 80113e4: 6839 ldr r1, [r7, #0] - 80113e6: 4618 mov r0, r3 - 80113e8: f000 fa02 bl 80117f0 + 8011d64: 693b ldr r3, [r7, #16] + 8011d66: 2206 movs r2, #6 + 8011d68: 6839 ldr r1, [r7, #0] + 8011d6a: 4618 mov r0, r3 + 8011d6c: f000 fa02 bl 8012174 SMEMCPY(ðhdr->src, src, ETH_HWADDR_LEN); - 80113ec: 693b ldr r3, [r7, #16] - 80113ee: 3306 adds r3, #6 - 80113f0: 2206 movs r2, #6 - 80113f2: 6879 ldr r1, [r7, #4] - 80113f4: 4618 mov r0, r3 - 80113f6: f000 f9fb bl 80117f0 + 8011d70: 693b ldr r3, [r7, #16] + 8011d72: 3306 adds r3, #6 + 8011d74: 2206 movs r2, #6 + 8011d76: 6879 ldr r1, [r7, #4] + 8011d78: 4618 mov r0, r3 + 8011d7a: f000 f9fb bl 8012174 LWIP_ASSERT("netif->hwaddr_len must be 6 for ethernet_output!", - 80113fa: 68fb ldr r3, [r7, #12] - 80113fc: f893 3030 ldrb.w r3, [r3, #48] @ 0x30 - 8011400: 2b06 cmp r3, #6 - 8011402: d006 beq.n 8011412 - 8011404: 4b0a ldr r3, [pc, #40] @ (8011430 ) - 8011406: f44f 7299 mov.w r2, #306 @ 0x132 - 801140a: 490a ldr r1, [pc, #40] @ (8011434 ) - 801140c: 480a ldr r0, [pc, #40] @ (8011438 ) - 801140e: f000 f8f3 bl 80115f8 + 8011d7e: 68fb ldr r3, [r7, #12] + 8011d80: f893 3030 ldrb.w r3, [r3, #48] @ 0x30 + 8011d84: 2b06 cmp r3, #6 + 8011d86: d006 beq.n 8011d96 + 8011d88: 4b0a ldr r3, [pc, #40] @ (8011db4 ) + 8011d8a: f44f 7299 mov.w r2, #306 @ 0x132 + 8011d8e: 490a ldr r1, [pc, #40] @ (8011db8 ) + 8011d90: 480a ldr r0, [pc, #40] @ (8011dbc ) + 8011d92: f000 f8f3 bl 8011f7c (netif->hwaddr_len == ETH_HWADDR_LEN)); LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("ethernet_output: sending packet %p\n", (void *)p)); /* send the packet */ return netif->linkoutput(netif, p); - 8011412: 68fb ldr r3, [r7, #12] - 8011414: 699b ldr r3, [r3, #24] - 8011416: 68b9 ldr r1, [r7, #8] - 8011418: 68f8 ldr r0, [r7, #12] - 801141a: 4798 blx r3 - 801141c: 4603 mov r3, r0 - 801141e: e002 b.n 8011426 + 8011d96: 68fb ldr r3, [r7, #12] + 8011d98: 699b ldr r3, [r3, #24] + 8011d9a: 68b9 ldr r1, [r7, #8] + 8011d9c: 68f8 ldr r0, [r7, #12] + 8011d9e: 4798 blx r3 + 8011da0: 4603 mov r3, r0 + 8011da2: e002 b.n 8011daa goto pbuf_header_failed; - 8011420: bf00 nop + 8011da4: bf00 nop pbuf_header_failed: LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_SERIOUS, ("ethernet_output: could not allocate room for header.\n")); LINK_STATS_INC(link.lenerr); return ERR_BUF; - 8011422: f06f 0301 mvn.w r3, #1 + 8011da6: f06f 0301 mvn.w r3, #1 } - 8011426: 4618 mov r0, r3 - 8011428: 3718 adds r7, #24 - 801142a: 46bd mov sp, r7 - 801142c: bd80 pop {r7, pc} - 801142e: bf00 nop - 8011430: 08018d44 .word 0x08018d44 - 8011434: 08018d7c .word 0x08018d7c - 8011438: 08018db0 .word 0x08018db0 + 8011daa: 4618 mov r0, r3 + 8011dac: 3718 adds r7, #24 + 8011dae: 46bd mov sp, r7 + 8011db0: bd80 pop {r7, pc} + 8011db2: bf00 nop + 8011db4: 080196c4 .word 0x080196c4 + 8011db8: 080196fc .word 0x080196fc + 8011dbc: 08019730 .word 0x08019730 -0801143c : - 801143c: 4b0a ldr r3, [pc, #40] @ (8011468 ) - 801143e: 480b ldr r0, [pc, #44] @ (801146c ) - 8011440: 6819 ldr r1, [r3, #0] - 8011442: 4a0b ldr r2, [pc, #44] @ (8011470 ) - 8011444: f8d1 3098 ldr.w r3, [r1, #152] @ 0x98 - 8011448: b510 push {r4, lr} - 801144a: f8d1 409c ldr.w r4, [r1, #156] @ 0x9c - 801144e: 4358 muls r0, r3 - 8011450: fb02 0004 mla r0, r2, r4, r0 - 8011454: fba3 3202 umull r3, r2, r3, r2 - 8011458: 3301 adds r3, #1 - 801145a: eb40 0002 adc.w r0, r0, r2 - 801145e: e9c1 3026 strd r3, r0, [r1, #152] @ 0x98 - 8011462: f020 4000 bic.w r0, r0, #2147483648 @ 0x80000000 - 8011466: bd10 pop {r4, pc} - 8011468: 2000003c .word 0x2000003c - 801146c: 5851f42d .word 0x5851f42d - 8011470: 4c957f2d .word 0x4c957f2d +08011dc0 : + 8011dc0: 4b0a ldr r3, [pc, #40] @ (8011dec ) + 8011dc2: 480b ldr r0, [pc, #44] @ (8011df0 ) + 8011dc4: 6819 ldr r1, [r3, #0] + 8011dc6: 4a0b ldr r2, [pc, #44] @ (8011df4 ) + 8011dc8: f8d1 3098 ldr.w r3, [r1, #152] @ 0x98 + 8011dcc: b510 push {r4, lr} + 8011dce: f8d1 409c ldr.w r4, [r1, #156] @ 0x9c + 8011dd2: 4358 muls r0, r3 + 8011dd4: fb02 0004 mla r0, r2, r4, r0 + 8011dd8: fba3 3202 umull r3, r2, r3, r2 + 8011ddc: 3301 adds r3, #1 + 8011dde: eb40 0002 adc.w r0, r0, r2 + 8011de2: e9c1 3026 strd r3, r0, [r1, #152] @ 0x98 + 8011de6: f020 4000 bic.w r0, r0, #2147483648 @ 0x80000000 + 8011dea: bd10 pop {r4, pc} + 8011dec: 2000003c .word 0x2000003c + 8011df0: 5851f42d .word 0x5851f42d + 8011df4: 4c957f2d .word 0x4c957f2d -08011474 : - 8011474: 2300 movs r3, #0 - 8011476: b510 push {r4, lr} - 8011478: 4604 mov r4, r0 - 801147a: e9c0 3300 strd r3, r3, [r0] - 801147e: e9c0 3304 strd r3, r3, [r0, #16] - 8011482: 6083 str r3, [r0, #8] - 8011484: 8181 strh r1, [r0, #12] - 8011486: 6643 str r3, [r0, #100] @ 0x64 - 8011488: 81c2 strh r2, [r0, #14] - 801148a: 6183 str r3, [r0, #24] - 801148c: 4619 mov r1, r3 - 801148e: 2208 movs r2, #8 - 8011490: 305c adds r0, #92 @ 0x5c - 8011492: f000 f930 bl 80116f6 - 8011496: 4b0d ldr r3, [pc, #52] @ (80114cc ) - 8011498: 6223 str r3, [r4, #32] - 801149a: 4b0d ldr r3, [pc, #52] @ (80114d0 ) - 801149c: 6263 str r3, [r4, #36] @ 0x24 - 801149e: 4b0d ldr r3, [pc, #52] @ (80114d4 ) - 80114a0: 62a3 str r3, [r4, #40] @ 0x28 - 80114a2: 4b0d ldr r3, [pc, #52] @ (80114d8 ) - 80114a4: 62e3 str r3, [r4, #44] @ 0x2c - 80114a6: 4b0d ldr r3, [pc, #52] @ (80114dc ) - 80114a8: 61e4 str r4, [r4, #28] - 80114aa: 429c cmp r4, r3 - 80114ac: d006 beq.n 80114bc - 80114ae: f103 0268 add.w r2, r3, #104 @ 0x68 - 80114b2: 4294 cmp r4, r2 - 80114b4: d002 beq.n 80114bc - 80114b6: 33d0 adds r3, #208 @ 0xd0 - 80114b8: 429c cmp r4, r3 - 80114ba: d105 bne.n 80114c8 - 80114bc: f104 0058 add.w r0, r4, #88 @ 0x58 - 80114c0: e8bd 4010 ldmia.w sp!, {r4, lr} - 80114c4: f000 b990 b.w 80117e8 <__retarget_lock_init_recursive> - 80114c8: bd10 pop {r4, pc} - 80114ca: bf00 nop - 80114cc: 0801161d .word 0x0801161d - 80114d0: 0801163f .word 0x0801163f - 80114d4: 08011677 .word 0x08011677 - 80114d8: 0801169b .word 0x0801169b - 80114dc: 20019234 .word 0x20019234 +08011df8 : + 8011df8: 2300 movs r3, #0 + 8011dfa: b510 push {r4, lr} + 8011dfc: 4604 mov r4, r0 + 8011dfe: e9c0 3300 strd r3, r3, [r0] + 8011e02: e9c0 3304 strd r3, r3, [r0, #16] + 8011e06: 6083 str r3, [r0, #8] + 8011e08: 8181 strh r1, [r0, #12] + 8011e0a: 6643 str r3, [r0, #100] @ 0x64 + 8011e0c: 81c2 strh r2, [r0, #14] + 8011e0e: 6183 str r3, [r0, #24] + 8011e10: 4619 mov r1, r3 + 8011e12: 2208 movs r2, #8 + 8011e14: 305c adds r0, #92 @ 0x5c + 8011e16: f000 f930 bl 801207a + 8011e1a: 4b0d ldr r3, [pc, #52] @ (8011e50 ) + 8011e1c: 6223 str r3, [r4, #32] + 8011e1e: 4b0d ldr r3, [pc, #52] @ (8011e54 ) + 8011e20: 6263 str r3, [r4, #36] @ 0x24 + 8011e22: 4b0d ldr r3, [pc, #52] @ (8011e58 ) + 8011e24: 62a3 str r3, [r4, #40] @ 0x28 + 8011e26: 4b0d ldr r3, [pc, #52] @ (8011e5c ) + 8011e28: 62e3 str r3, [r4, #44] @ 0x2c + 8011e2a: 4b0d ldr r3, [pc, #52] @ (8011e60 ) + 8011e2c: 61e4 str r4, [r4, #28] + 8011e2e: 429c cmp r4, r3 + 8011e30: d006 beq.n 8011e40 + 8011e32: f103 0268 add.w r2, r3, #104 @ 0x68 + 8011e36: 4294 cmp r4, r2 + 8011e38: d002 beq.n 8011e40 + 8011e3a: 33d0 adds r3, #208 @ 0xd0 + 8011e3c: 429c cmp r4, r3 + 8011e3e: d105 bne.n 8011e4c + 8011e40: f104 0058 add.w r0, r4, #88 @ 0x58 + 8011e44: e8bd 4010 ldmia.w sp!, {r4, lr} + 8011e48: f000 b990 b.w 801216c <__retarget_lock_init_recursive> + 8011e4c: bd10 pop {r4, pc} + 8011e4e: bf00 nop + 8011e50: 08011fa1 .word 0x08011fa1 + 8011e54: 08011fc3 .word 0x08011fc3 + 8011e58: 08011ffb .word 0x08011ffb + 8011e5c: 0801201f .word 0x0801201f + 8011e60: 20019268 .word 0x20019268 -080114e0 : - 80114e0: 4a02 ldr r2, [pc, #8] @ (80114ec ) - 80114e2: 4903 ldr r1, [pc, #12] @ (80114f0 ) - 80114e4: 4803 ldr r0, [pc, #12] @ (80114f4 ) - 80114e6: f000 b869 b.w 80115bc <_fwalk_sglue> - 80114ea: bf00 nop - 80114ec: 20000030 .word 0x20000030 - 80114f0: 08013db5 .word 0x08013db5 - 80114f4: 20000040 .word 0x20000040 +08011e64 : + 8011e64: 4a02 ldr r2, [pc, #8] @ (8011e70 ) + 8011e66: 4903 ldr r1, [pc, #12] @ (8011e74 ) + 8011e68: 4803 ldr r0, [pc, #12] @ (8011e78 ) + 8011e6a: f000 b869 b.w 8011f40 <_fwalk_sglue> + 8011e6e: bf00 nop + 8011e70: 20000030 .word 0x20000030 + 8011e74: 08014735 .word 0x08014735 + 8011e78: 20000040 .word 0x20000040 -080114f8 : - 80114f8: 6841 ldr r1, [r0, #4] - 80114fa: 4b0c ldr r3, [pc, #48] @ (801152c ) - 80114fc: 4299 cmp r1, r3 - 80114fe: b510 push {r4, lr} - 8011500: 4604 mov r4, r0 - 8011502: d001 beq.n 8011508 - 8011504: f002 fc56 bl 8013db4 <_fclose_r> - 8011508: 68a1 ldr r1, [r4, #8] - 801150a: 4b09 ldr r3, [pc, #36] @ (8011530 ) - 801150c: 4299 cmp r1, r3 - 801150e: d002 beq.n 8011516 - 8011510: 4620 mov r0, r4 - 8011512: f002 fc4f bl 8013db4 <_fclose_r> - 8011516: 68e1 ldr r1, [r4, #12] - 8011518: 4b06 ldr r3, [pc, #24] @ (8011534 ) - 801151a: 4299 cmp r1, r3 - 801151c: d004 beq.n 8011528 - 801151e: 4620 mov r0, r4 - 8011520: e8bd 4010 ldmia.w sp!, {r4, lr} - 8011524: f002 bc46 b.w 8013db4 <_fclose_r> - 8011528: bd10 pop {r4, pc} - 801152a: bf00 nop - 801152c: 20019234 .word 0x20019234 - 8011530: 2001929c .word 0x2001929c - 8011534: 20019304 .word 0x20019304 +08011e7c : + 8011e7c: 6841 ldr r1, [r0, #4] + 8011e7e: 4b0c ldr r3, [pc, #48] @ (8011eb0 ) + 8011e80: 4299 cmp r1, r3 + 8011e82: b510 push {r4, lr} + 8011e84: 4604 mov r4, r0 + 8011e86: d001 beq.n 8011e8c + 8011e88: f002 fc54 bl 8014734 <_fclose_r> + 8011e8c: 68a1 ldr r1, [r4, #8] + 8011e8e: 4b09 ldr r3, [pc, #36] @ (8011eb4 ) + 8011e90: 4299 cmp r1, r3 + 8011e92: d002 beq.n 8011e9a + 8011e94: 4620 mov r0, r4 + 8011e96: f002 fc4d bl 8014734 <_fclose_r> + 8011e9a: 68e1 ldr r1, [r4, #12] + 8011e9c: 4b06 ldr r3, [pc, #24] @ (8011eb8 ) + 8011e9e: 4299 cmp r1, r3 + 8011ea0: d004 beq.n 8011eac + 8011ea2: 4620 mov r0, r4 + 8011ea4: e8bd 4010 ldmia.w sp!, {r4, lr} + 8011ea8: f002 bc44 b.w 8014734 <_fclose_r> + 8011eac: bd10 pop {r4, pc} + 8011eae: bf00 nop + 8011eb0: 20019268 .word 0x20019268 + 8011eb4: 200192d0 .word 0x200192d0 + 8011eb8: 20019338 .word 0x20019338 -08011538 : - 8011538: b510 push {r4, lr} - 801153a: 4b0b ldr r3, [pc, #44] @ (8011568 ) - 801153c: 4c0b ldr r4, [pc, #44] @ (801156c ) - 801153e: 4a0c ldr r2, [pc, #48] @ (8011570 ) - 8011540: 601a str r2, [r3, #0] - 8011542: 4620 mov r0, r4 - 8011544: 2200 movs r2, #0 - 8011546: 2104 movs r1, #4 - 8011548: f7ff ff94 bl 8011474 - 801154c: f104 0068 add.w r0, r4, #104 @ 0x68 - 8011550: 2201 movs r2, #1 - 8011552: 2109 movs r1, #9 - 8011554: f7ff ff8e bl 8011474 - 8011558: f104 00d0 add.w r0, r4, #208 @ 0xd0 - 801155c: 2202 movs r2, #2 - 801155e: e8bd 4010 ldmia.w sp!, {r4, lr} - 8011562: 2112 movs r1, #18 - 8011564: f7ff bf86 b.w 8011474 - 8011568: 2001936c .word 0x2001936c - 801156c: 20019234 .word 0x20019234 - 8011570: 080114e1 .word 0x080114e1 +08011ebc : + 8011ebc: b510 push {r4, lr} + 8011ebe: 4b0b ldr r3, [pc, #44] @ (8011eec ) + 8011ec0: 4c0b ldr r4, [pc, #44] @ (8011ef0 ) + 8011ec2: 4a0c ldr r2, [pc, #48] @ (8011ef4 ) + 8011ec4: 601a str r2, [r3, #0] + 8011ec6: 4620 mov r0, r4 + 8011ec8: 2200 movs r2, #0 + 8011eca: 2104 movs r1, #4 + 8011ecc: f7ff ff94 bl 8011df8 + 8011ed0: f104 0068 add.w r0, r4, #104 @ 0x68 + 8011ed4: 2201 movs r2, #1 + 8011ed6: 2109 movs r1, #9 + 8011ed8: f7ff ff8e bl 8011df8 + 8011edc: f104 00d0 add.w r0, r4, #208 @ 0xd0 + 8011ee0: 2202 movs r2, #2 + 8011ee2: e8bd 4010 ldmia.w sp!, {r4, lr} + 8011ee6: 2112 movs r1, #18 + 8011ee8: f7ff bf86 b.w 8011df8 + 8011eec: 200193a0 .word 0x200193a0 + 8011ef0: 20019268 .word 0x20019268 + 8011ef4: 08011e65 .word 0x08011e65 -08011574 <__sfp_lock_acquire>: - 8011574: 4801 ldr r0, [pc, #4] @ (801157c <__sfp_lock_acquire+0x8>) - 8011576: f000 b939 b.w 80117ec <__retarget_lock_acquire_recursive> - 801157a: bf00 nop - 801157c: 20019376 .word 0x20019376 +08011ef8 <__sfp_lock_acquire>: + 8011ef8: 4801 ldr r0, [pc, #4] @ (8011f00 <__sfp_lock_acquire+0x8>) + 8011efa: f000 b939 b.w 8012170 <__retarget_lock_acquire_recursive> + 8011efe: bf00 nop + 8011f00: 200193aa .word 0x200193aa -08011580 <__sfp_lock_release>: - 8011580: 4801 ldr r0, [pc, #4] @ (8011588 <__sfp_lock_release+0x8>) - 8011582: f000 b934 b.w 80117ee <__retarget_lock_release_recursive> - 8011586: bf00 nop - 8011588: 20019376 .word 0x20019376 +08011f04 <__sfp_lock_release>: + 8011f04: 4801 ldr r0, [pc, #4] @ (8011f0c <__sfp_lock_release+0x8>) + 8011f06: f000 b934 b.w 8012172 <__retarget_lock_release_recursive> + 8011f0a: bf00 nop + 8011f0c: 200193aa .word 0x200193aa -0801158c <__sinit>: - 801158c: b510 push {r4, lr} - 801158e: 4604 mov r4, r0 - 8011590: f7ff fff0 bl 8011574 <__sfp_lock_acquire> - 8011594: 6b63 ldr r3, [r4, #52] @ 0x34 - 8011596: b11b cbz r3, 80115a0 <__sinit+0x14> - 8011598: e8bd 4010 ldmia.w sp!, {r4, lr} - 801159c: f7ff bff0 b.w 8011580 <__sfp_lock_release> - 80115a0: 4b04 ldr r3, [pc, #16] @ (80115b4 <__sinit+0x28>) - 80115a2: 6363 str r3, [r4, #52] @ 0x34 - 80115a4: 4b04 ldr r3, [pc, #16] @ (80115b8 <__sinit+0x2c>) - 80115a6: 681b ldr r3, [r3, #0] - 80115a8: 2b00 cmp r3, #0 - 80115aa: d1f5 bne.n 8011598 <__sinit+0xc> - 80115ac: f7ff ffc4 bl 8011538 - 80115b0: e7f2 b.n 8011598 <__sinit+0xc> - 80115b2: bf00 nop - 80115b4: 080114f9 .word 0x080114f9 - 80115b8: 2001936c .word 0x2001936c +08011f10 <__sinit>: + 8011f10: b510 push {r4, lr} + 8011f12: 4604 mov r4, r0 + 8011f14: f7ff fff0 bl 8011ef8 <__sfp_lock_acquire> + 8011f18: 6b63 ldr r3, [r4, #52] @ 0x34 + 8011f1a: b11b cbz r3, 8011f24 <__sinit+0x14> + 8011f1c: e8bd 4010 ldmia.w sp!, {r4, lr} + 8011f20: f7ff bff0 b.w 8011f04 <__sfp_lock_release> + 8011f24: 4b04 ldr r3, [pc, #16] @ (8011f38 <__sinit+0x28>) + 8011f26: 6363 str r3, [r4, #52] @ 0x34 + 8011f28: 4b04 ldr r3, [pc, #16] @ (8011f3c <__sinit+0x2c>) + 8011f2a: 681b ldr r3, [r3, #0] + 8011f2c: 2b00 cmp r3, #0 + 8011f2e: d1f5 bne.n 8011f1c <__sinit+0xc> + 8011f30: f7ff ffc4 bl 8011ebc + 8011f34: e7f2 b.n 8011f1c <__sinit+0xc> + 8011f36: bf00 nop + 8011f38: 08011e7d .word 0x08011e7d + 8011f3c: 200193a0 .word 0x200193a0 -080115bc <_fwalk_sglue>: - 80115bc: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 80115c0: 4607 mov r7, r0 - 80115c2: 4688 mov r8, r1 - 80115c4: 4614 mov r4, r2 - 80115c6: 2600 movs r6, #0 - 80115c8: e9d4 9501 ldrd r9, r5, [r4, #4] - 80115cc: f1b9 0901 subs.w r9, r9, #1 - 80115d0: d505 bpl.n 80115de <_fwalk_sglue+0x22> - 80115d2: 6824 ldr r4, [r4, #0] - 80115d4: 2c00 cmp r4, #0 - 80115d6: d1f7 bne.n 80115c8 <_fwalk_sglue+0xc> - 80115d8: 4630 mov r0, r6 - 80115da: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 80115de: 89ab ldrh r3, [r5, #12] - 80115e0: 2b01 cmp r3, #1 - 80115e2: d907 bls.n 80115f4 <_fwalk_sglue+0x38> - 80115e4: f9b5 300e ldrsh.w r3, [r5, #14] - 80115e8: 3301 adds r3, #1 - 80115ea: d003 beq.n 80115f4 <_fwalk_sglue+0x38> - 80115ec: 4629 mov r1, r5 - 80115ee: 4638 mov r0, r7 - 80115f0: 47c0 blx r8 - 80115f2: 4306 orrs r6, r0 - 80115f4: 3568 adds r5, #104 @ 0x68 - 80115f6: e7e9 b.n 80115cc <_fwalk_sglue+0x10> +08011f40 <_fwalk_sglue>: + 8011f40: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8011f44: 4607 mov r7, r0 + 8011f46: 4688 mov r8, r1 + 8011f48: 4614 mov r4, r2 + 8011f4a: 2600 movs r6, #0 + 8011f4c: e9d4 9501 ldrd r9, r5, [r4, #4] + 8011f50: f1b9 0901 subs.w r9, r9, #1 + 8011f54: d505 bpl.n 8011f62 <_fwalk_sglue+0x22> + 8011f56: 6824 ldr r4, [r4, #0] + 8011f58: 2c00 cmp r4, #0 + 8011f5a: d1f7 bne.n 8011f4c <_fwalk_sglue+0xc> + 8011f5c: 4630 mov r0, r6 + 8011f5e: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 8011f62: 89ab ldrh r3, [r5, #12] + 8011f64: 2b01 cmp r3, #1 + 8011f66: d907 bls.n 8011f78 <_fwalk_sglue+0x38> + 8011f68: f9b5 300e ldrsh.w r3, [r5, #14] + 8011f6c: 3301 adds r3, #1 + 8011f6e: d003 beq.n 8011f78 <_fwalk_sglue+0x38> + 8011f70: 4629 mov r1, r5 + 8011f72: 4638 mov r0, r7 + 8011f74: 47c0 blx r8 + 8011f76: 4306 orrs r6, r0 + 8011f78: 3568 adds r5, #104 @ 0x68 + 8011f7a: e7e9 b.n 8011f50 <_fwalk_sglue+0x10> -080115f8 : - 80115f8: b40f push {r0, r1, r2, r3} - 80115fa: b507 push {r0, r1, r2, lr} - 80115fc: 4906 ldr r1, [pc, #24] @ (8011618 ) - 80115fe: ab04 add r3, sp, #16 - 8011600: 6808 ldr r0, [r1, #0] - 8011602: f853 2b04 ldr.w r2, [r3], #4 - 8011606: 6881 ldr r1, [r0, #8] - 8011608: 9301 str r3, [sp, #4] - 801160a: f000 fc6d bl 8011ee8 <_vfprintf_r> - 801160e: b003 add sp, #12 - 8011610: f85d eb04 ldr.w lr, [sp], #4 - 8011614: b004 add sp, #16 - 8011616: 4770 bx lr - 8011618: 2000003c .word 0x2000003c +08011f7c : + 8011f7c: b40f push {r0, r1, r2, r3} + 8011f7e: b507 push {r0, r1, r2, lr} + 8011f80: 4906 ldr r1, [pc, #24] @ (8011f9c ) + 8011f82: ab04 add r3, sp, #16 + 8011f84: 6808 ldr r0, [r1, #0] + 8011f86: f853 2b04 ldr.w r2, [r3], #4 + 8011f8a: 6881 ldr r1, [r0, #8] + 8011f8c: 9301 str r3, [sp, #4] + 8011f8e: f000 fc6b bl 8012868 <_vfprintf_r> + 8011f92: b003 add sp, #12 + 8011f94: f85d eb04 ldr.w lr, [sp], #4 + 8011f98: b004 add sp, #16 + 8011f9a: 4770 bx lr + 8011f9c: 2000003c .word 0x2000003c -0801161c <__sread>: - 801161c: b510 push {r4, lr} - 801161e: 460c mov r4, r1 - 8011620: f9b1 100e ldrsh.w r1, [r1, #14] - 8011624: f000 f892 bl 801174c <_read_r> - 8011628: 2800 cmp r0, #0 - 801162a: bfab itete ge - 801162c: 6d23 ldrge r3, [r4, #80] @ 0x50 - 801162e: 89a3 ldrhlt r3, [r4, #12] - 8011630: 181b addge r3, r3, r0 - 8011632: f423 5380 biclt.w r3, r3, #4096 @ 0x1000 - 8011636: bfac ite ge - 8011638: 6523 strge r3, [r4, #80] @ 0x50 - 801163a: 81a3 strhlt r3, [r4, #12] - 801163c: bd10 pop {r4, pc} +08011fa0 <__sread>: + 8011fa0: b510 push {r4, lr} + 8011fa2: 460c mov r4, r1 + 8011fa4: f9b1 100e ldrsh.w r1, [r1, #14] + 8011fa8: f000 f892 bl 80120d0 <_read_r> + 8011fac: 2800 cmp r0, #0 + 8011fae: bfab itete ge + 8011fb0: 6d23 ldrge r3, [r4, #80] @ 0x50 + 8011fb2: 89a3 ldrhlt r3, [r4, #12] + 8011fb4: 181b addge r3, r3, r0 + 8011fb6: f423 5380 biclt.w r3, r3, #4096 @ 0x1000 + 8011fba: bfac ite ge + 8011fbc: 6523 strge r3, [r4, #80] @ 0x50 + 8011fbe: 81a3 strhlt r3, [r4, #12] + 8011fc0: bd10 pop {r4, pc} -0801163e <__swrite>: - 801163e: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8011642: 461f mov r7, r3 - 8011644: 898b ldrh r3, [r1, #12] - 8011646: 05db lsls r3, r3, #23 - 8011648: 4605 mov r5, r0 - 801164a: 460c mov r4, r1 - 801164c: 4616 mov r6, r2 - 801164e: d505 bpl.n 801165c <__swrite+0x1e> - 8011650: f9b1 100e ldrsh.w r1, [r1, #14] - 8011654: 2302 movs r3, #2 - 8011656: 2200 movs r2, #0 - 8011658: f000 f866 bl 8011728 <_lseek_r> - 801165c: 89a3 ldrh r3, [r4, #12] - 801165e: f9b4 100e ldrsh.w r1, [r4, #14] - 8011662: f423 5380 bic.w r3, r3, #4096 @ 0x1000 - 8011666: 81a3 strh r3, [r4, #12] - 8011668: 4632 mov r2, r6 - 801166a: 463b mov r3, r7 - 801166c: 4628 mov r0, r5 - 801166e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8011672: f000 b87d b.w 8011770 <_write_r> +08011fc2 <__swrite>: + 8011fc2: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8011fc6: 461f mov r7, r3 + 8011fc8: 898b ldrh r3, [r1, #12] + 8011fca: 05db lsls r3, r3, #23 + 8011fcc: 4605 mov r5, r0 + 8011fce: 460c mov r4, r1 + 8011fd0: 4616 mov r6, r2 + 8011fd2: d505 bpl.n 8011fe0 <__swrite+0x1e> + 8011fd4: f9b1 100e ldrsh.w r1, [r1, #14] + 8011fd8: 2302 movs r3, #2 + 8011fda: 2200 movs r2, #0 + 8011fdc: f000 f866 bl 80120ac <_lseek_r> + 8011fe0: 89a3 ldrh r3, [r4, #12] + 8011fe2: f9b4 100e ldrsh.w r1, [r4, #14] + 8011fe6: f423 5380 bic.w r3, r3, #4096 @ 0x1000 + 8011fea: 81a3 strh r3, [r4, #12] + 8011fec: 4632 mov r2, r6 + 8011fee: 463b mov r3, r7 + 8011ff0: 4628 mov r0, r5 + 8011ff2: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8011ff6: f000 b87d b.w 80120f4 <_write_r> -08011676 <__sseek>: - 8011676: b510 push {r4, lr} - 8011678: 460c mov r4, r1 - 801167a: f9b1 100e ldrsh.w r1, [r1, #14] - 801167e: f000 f853 bl 8011728 <_lseek_r> - 8011682: 1c43 adds r3, r0, #1 - 8011684: 89a3 ldrh r3, [r4, #12] - 8011686: bf15 itete ne - 8011688: 6520 strne r0, [r4, #80] @ 0x50 - 801168a: f423 5380 biceq.w r3, r3, #4096 @ 0x1000 - 801168e: f443 5380 orrne.w r3, r3, #4096 @ 0x1000 - 8011692: 81a3 strheq r3, [r4, #12] - 8011694: bf18 it ne - 8011696: 81a3 strhne r3, [r4, #12] - 8011698: bd10 pop {r4, pc} +08011ffa <__sseek>: + 8011ffa: b510 push {r4, lr} + 8011ffc: 460c mov r4, r1 + 8011ffe: f9b1 100e ldrsh.w r1, [r1, #14] + 8012002: f000 f853 bl 80120ac <_lseek_r> + 8012006: 1c43 adds r3, r0, #1 + 8012008: 89a3 ldrh r3, [r4, #12] + 801200a: bf15 itete ne + 801200c: 6520 strne r0, [r4, #80] @ 0x50 + 801200e: f423 5380 biceq.w r3, r3, #4096 @ 0x1000 + 8012012: f443 5380 orrne.w r3, r3, #4096 @ 0x1000 + 8012016: 81a3 strheq r3, [r4, #12] + 8012018: bf18 it ne + 801201a: 81a3 strhne r3, [r4, #12] + 801201c: bd10 pop {r4, pc} -0801169a <__sclose>: - 801169a: f9b1 100e ldrsh.w r1, [r1, #14] - 801169e: f000 b833 b.w 8011708 <_close_r> +0801201e <__sclose>: + 801201e: f9b1 100e ldrsh.w r1, [r1, #14] + 8012022: f000 b833 b.w 801208c <_close_r> -080116a2 : - 80116a2: b510 push {r4, lr} - 80116a4: 3901 subs r1, #1 - 80116a6: 4402 add r2, r0 - 80116a8: 4290 cmp r0, r2 - 80116aa: d101 bne.n 80116b0 - 80116ac: 2000 movs r0, #0 - 80116ae: e005 b.n 80116bc - 80116b0: 7803 ldrb r3, [r0, #0] - 80116b2: f811 4f01 ldrb.w r4, [r1, #1]! - 80116b6: 42a3 cmp r3, r4 - 80116b8: d001 beq.n 80116be - 80116ba: 1b18 subs r0, r3, r4 - 80116bc: bd10 pop {r4, pc} - 80116be: 3001 adds r0, #1 - 80116c0: e7f2 b.n 80116a8 +08012026 : + 8012026: b510 push {r4, lr} + 8012028: 3901 subs r1, #1 + 801202a: 4402 add r2, r0 + 801202c: 4290 cmp r0, r2 + 801202e: d101 bne.n 8012034 + 8012030: 2000 movs r0, #0 + 8012032: e005 b.n 8012040 + 8012034: 7803 ldrb r3, [r0, #0] + 8012036: f811 4f01 ldrb.w r4, [r1, #1]! + 801203a: 42a3 cmp r3, r4 + 801203c: d001 beq.n 8012042 + 801203e: 1b18 subs r0, r3, r4 + 8012040: bd10 pop {r4, pc} + 8012042: 3001 adds r0, #1 + 8012044: e7f2 b.n 801202c -080116c2 : - 80116c2: 4288 cmp r0, r1 - 80116c4: b510 push {r4, lr} - 80116c6: eb01 0402 add.w r4, r1, r2 - 80116ca: d902 bls.n 80116d2 - 80116cc: 4284 cmp r4, r0 - 80116ce: 4623 mov r3, r4 - 80116d0: d807 bhi.n 80116e2 - 80116d2: 1e43 subs r3, r0, #1 - 80116d4: 42a1 cmp r1, r4 - 80116d6: d008 beq.n 80116ea - 80116d8: f811 2b01 ldrb.w r2, [r1], #1 - 80116dc: f803 2f01 strb.w r2, [r3, #1]! - 80116e0: e7f8 b.n 80116d4 - 80116e2: 4402 add r2, r0 - 80116e4: 4601 mov r1, r0 - 80116e6: 428a cmp r2, r1 - 80116e8: d100 bne.n 80116ec - 80116ea: bd10 pop {r4, pc} - 80116ec: f813 4d01 ldrb.w r4, [r3, #-1]! - 80116f0: f802 4d01 strb.w r4, [r2, #-1]! - 80116f4: e7f7 b.n 80116e6 +08012046 : + 8012046: 4288 cmp r0, r1 + 8012048: b510 push {r4, lr} + 801204a: eb01 0402 add.w r4, r1, r2 + 801204e: d902 bls.n 8012056 + 8012050: 4284 cmp r4, r0 + 8012052: 4623 mov r3, r4 + 8012054: d807 bhi.n 8012066 + 8012056: 1e43 subs r3, r0, #1 + 8012058: 42a1 cmp r1, r4 + 801205a: d008 beq.n 801206e + 801205c: f811 2b01 ldrb.w r2, [r1], #1 + 8012060: f803 2f01 strb.w r2, [r3, #1]! + 8012064: e7f8 b.n 8012058 + 8012066: 4402 add r2, r0 + 8012068: 4601 mov r1, r0 + 801206a: 428a cmp r2, r1 + 801206c: d100 bne.n 8012070 + 801206e: bd10 pop {r4, pc} + 8012070: f813 4d01 ldrb.w r4, [r3, #-1]! + 8012074: f802 4d01 strb.w r4, [r2, #-1]! + 8012078: e7f7 b.n 801206a -080116f6 : - 80116f6: 4402 add r2, r0 - 80116f8: 4603 mov r3, r0 - 80116fa: 4293 cmp r3, r2 - 80116fc: d100 bne.n 8011700 - 80116fe: 4770 bx lr - 8011700: f803 1b01 strb.w r1, [r3], #1 - 8011704: e7f9 b.n 80116fa +0801207a : + 801207a: 4402 add r2, r0 + 801207c: 4603 mov r3, r0 + 801207e: 4293 cmp r3, r2 + 8012080: d100 bne.n 8012084 + 8012082: 4770 bx lr + 8012084: f803 1b01 strb.w r1, [r3], #1 + 8012088: e7f9 b.n 801207e ... -08011708 <_close_r>: - 8011708: b538 push {r3, r4, r5, lr} - 801170a: 4d06 ldr r5, [pc, #24] @ (8011724 <_close_r+0x1c>) - 801170c: 2300 movs r3, #0 - 801170e: 4604 mov r4, r0 - 8011710: 4608 mov r0, r1 - 8011712: 602b str r3, [r5, #0] - 8011714: f004 fbec bl 8015ef0 <_close> - 8011718: 1c43 adds r3, r0, #1 - 801171a: d102 bne.n 8011722 <_close_r+0x1a> - 801171c: 682b ldr r3, [r5, #0] - 801171e: b103 cbz r3, 8011722 <_close_r+0x1a> - 8011720: 6023 str r3, [r4, #0] - 8011722: bd38 pop {r3, r4, r5, pc} - 8011724: 20019370 .word 0x20019370 +0801208c <_close_r>: + 801208c: b538 push {r3, r4, r5, lr} + 801208e: 4d06 ldr r5, [pc, #24] @ (80120a8 <_close_r+0x1c>) + 8012090: 2300 movs r3, #0 + 8012092: 4604 mov r4, r0 + 8012094: 4608 mov r0, r1 + 8012096: 602b str r3, [r5, #0] + 8012098: f004 fbea bl 8016870 <_close> + 801209c: 1c43 adds r3, r0, #1 + 801209e: d102 bne.n 80120a6 <_close_r+0x1a> + 80120a0: 682b ldr r3, [r5, #0] + 80120a2: b103 cbz r3, 80120a6 <_close_r+0x1a> + 80120a4: 6023 str r3, [r4, #0] + 80120a6: bd38 pop {r3, r4, r5, pc} + 80120a8: 200193a4 .word 0x200193a4 -08011728 <_lseek_r>: - 8011728: b538 push {r3, r4, r5, lr} - 801172a: 4d07 ldr r5, [pc, #28] @ (8011748 <_lseek_r+0x20>) - 801172c: 4604 mov r4, r0 - 801172e: 4608 mov r0, r1 - 8011730: 4611 mov r1, r2 - 8011732: 2200 movs r2, #0 - 8011734: 602a str r2, [r5, #0] - 8011736: 461a mov r2, r3 - 8011738: f004 fc02 bl 8015f40 <_lseek> - 801173c: 1c43 adds r3, r0, #1 - 801173e: d102 bne.n 8011746 <_lseek_r+0x1e> - 8011740: 682b ldr r3, [r5, #0] - 8011742: b103 cbz r3, 8011746 <_lseek_r+0x1e> - 8011744: 6023 str r3, [r4, #0] - 8011746: bd38 pop {r3, r4, r5, pc} - 8011748: 20019370 .word 0x20019370 +080120ac <_lseek_r>: + 80120ac: b538 push {r3, r4, r5, lr} + 80120ae: 4d07 ldr r5, [pc, #28] @ (80120cc <_lseek_r+0x20>) + 80120b0: 4604 mov r4, r0 + 80120b2: 4608 mov r0, r1 + 80120b4: 4611 mov r1, r2 + 80120b6: 2200 movs r2, #0 + 80120b8: 602a str r2, [r5, #0] + 80120ba: 461a mov r2, r3 + 80120bc: f004 fc00 bl 80168c0 <_lseek> + 80120c0: 1c43 adds r3, r0, #1 + 80120c2: d102 bne.n 80120ca <_lseek_r+0x1e> + 80120c4: 682b ldr r3, [r5, #0] + 80120c6: b103 cbz r3, 80120ca <_lseek_r+0x1e> + 80120c8: 6023 str r3, [r4, #0] + 80120ca: bd38 pop {r3, r4, r5, pc} + 80120cc: 200193a4 .word 0x200193a4 -0801174c <_read_r>: - 801174c: b538 push {r3, r4, r5, lr} - 801174e: 4d07 ldr r5, [pc, #28] @ (801176c <_read_r+0x20>) - 8011750: 4604 mov r4, r0 - 8011752: 4608 mov r0, r1 - 8011754: 4611 mov r1, r2 - 8011756: 2200 movs r2, #0 - 8011758: 602a str r2, [r5, #0] - 801175a: 461a mov r2, r3 - 801175c: f004 fbf8 bl 8015f50 <_read> - 8011760: 1c43 adds r3, r0, #1 - 8011762: d102 bne.n 801176a <_read_r+0x1e> - 8011764: 682b ldr r3, [r5, #0] - 8011766: b103 cbz r3, 801176a <_read_r+0x1e> - 8011768: 6023 str r3, [r4, #0] - 801176a: bd38 pop {r3, r4, r5, pc} - 801176c: 20019370 .word 0x20019370 +080120d0 <_read_r>: + 80120d0: b538 push {r3, r4, r5, lr} + 80120d2: 4d07 ldr r5, [pc, #28] @ (80120f0 <_read_r+0x20>) + 80120d4: 4604 mov r4, r0 + 80120d6: 4608 mov r0, r1 + 80120d8: 4611 mov r1, r2 + 80120da: 2200 movs r2, #0 + 80120dc: 602a str r2, [r5, #0] + 80120de: 461a mov r2, r3 + 80120e0: f004 fbf6 bl 80168d0 <_read> + 80120e4: 1c43 adds r3, r0, #1 + 80120e6: d102 bne.n 80120ee <_read_r+0x1e> + 80120e8: 682b ldr r3, [r5, #0] + 80120ea: b103 cbz r3, 80120ee <_read_r+0x1e> + 80120ec: 6023 str r3, [r4, #0] + 80120ee: bd38 pop {r3, r4, r5, pc} + 80120f0: 200193a4 .word 0x200193a4 -08011770 <_write_r>: - 8011770: b538 push {r3, r4, r5, lr} - 8011772: 4d07 ldr r5, [pc, #28] @ (8011790 <_write_r+0x20>) - 8011774: 4604 mov r4, r0 - 8011776: 4608 mov r0, r1 - 8011778: 4611 mov r1, r2 - 801177a: 2200 movs r2, #0 - 801177c: 602a str r2, [r5, #0] - 801177e: 461a mov r2, r3 - 8011780: f004 fbfc bl 8015f7c <_write> - 8011784: 1c43 adds r3, r0, #1 - 8011786: d102 bne.n 801178e <_write_r+0x1e> - 8011788: 682b ldr r3, [r5, #0] - 801178a: b103 cbz r3, 801178e <_write_r+0x1e> - 801178c: 6023 str r3, [r4, #0] - 801178e: bd38 pop {r3, r4, r5, pc} - 8011790: 20019370 .word 0x20019370 +080120f4 <_write_r>: + 80120f4: b538 push {r3, r4, r5, lr} + 80120f6: 4d07 ldr r5, [pc, #28] @ (8012114 <_write_r+0x20>) + 80120f8: 4604 mov r4, r0 + 80120fa: 4608 mov r0, r1 + 80120fc: 4611 mov r1, r2 + 80120fe: 2200 movs r2, #0 + 8012100: 602a str r2, [r5, #0] + 8012102: 461a mov r2, r3 + 8012104: f004 fbfa bl 80168fc <_write> + 8012108: 1c43 adds r3, r0, #1 + 801210a: d102 bne.n 8012112 <_write_r+0x1e> + 801210c: 682b ldr r3, [r5, #0] + 801210e: b103 cbz r3, 8012112 <_write_r+0x1e> + 8012110: 6023 str r3, [r4, #0] + 8012112: bd38 pop {r3, r4, r5, pc} + 8012114: 200193a4 .word 0x200193a4 -08011794 <__errno>: - 8011794: 4b01 ldr r3, [pc, #4] @ (801179c <__errno+0x8>) - 8011796: 6818 ldr r0, [r3, #0] - 8011798: 4770 bx lr - 801179a: bf00 nop - 801179c: 2000003c .word 0x2000003c +08012118 <__errno>: + 8012118: 4b01 ldr r3, [pc, #4] @ (8012120 <__errno+0x8>) + 801211a: 6818 ldr r0, [r3, #0] + 801211c: 4770 bx lr + 801211e: bf00 nop + 8012120: 2000003c .word 0x2000003c -080117a0 <__libc_init_array>: - 80117a0: b570 push {r4, r5, r6, lr} - 80117a2: 4d0d ldr r5, [pc, #52] @ (80117d8 <__libc_init_array+0x38>) - 80117a4: 4c0d ldr r4, [pc, #52] @ (80117dc <__libc_init_array+0x3c>) - 80117a6: 1b64 subs r4, r4, r5 - 80117a8: 10a4 asrs r4, r4, #2 - 80117aa: 2600 movs r6, #0 - 80117ac: 42a6 cmp r6, r4 - 80117ae: d109 bne.n 80117c4 <__libc_init_array+0x24> - 80117b0: 4d0b ldr r5, [pc, #44] @ (80117e0 <__libc_init_array+0x40>) - 80117b2: 4c0c ldr r4, [pc, #48] @ (80117e4 <__libc_init_array+0x44>) - 80117b4: f004 fbec bl 8015f90 <_init> - 80117b8: 1b64 subs r4, r4, r5 - 80117ba: 10a4 asrs r4, r4, #2 - 80117bc: 2600 movs r6, #0 - 80117be: 42a6 cmp r6, r4 - 80117c0: d105 bne.n 80117ce <__libc_init_array+0x2e> - 80117c2: bd70 pop {r4, r5, r6, pc} - 80117c4: f855 3b04 ldr.w r3, [r5], #4 - 80117c8: 4798 blx r3 - 80117ca: 3601 adds r6, #1 - 80117cc: e7ee b.n 80117ac <__libc_init_array+0xc> - 80117ce: f855 3b04 ldr.w r3, [r5], #4 - 80117d2: 4798 blx r3 - 80117d4: 3601 adds r6, #1 - 80117d6: e7f2 b.n 80117be <__libc_init_array+0x1e> - 80117d8: 0801927c .word 0x0801927c - 80117dc: 0801927c .word 0x0801927c - 80117e0: 0801927c .word 0x0801927c - 80117e4: 08019284 .word 0x08019284 +08012124 <__libc_init_array>: + 8012124: b570 push {r4, r5, r6, lr} + 8012126: 4d0d ldr r5, [pc, #52] @ (801215c <__libc_init_array+0x38>) + 8012128: 4c0d ldr r4, [pc, #52] @ (8012160 <__libc_init_array+0x3c>) + 801212a: 1b64 subs r4, r4, r5 + 801212c: 10a4 asrs r4, r4, #2 + 801212e: 2600 movs r6, #0 + 8012130: 42a6 cmp r6, r4 + 8012132: d109 bne.n 8012148 <__libc_init_array+0x24> + 8012134: 4d0b ldr r5, [pc, #44] @ (8012164 <__libc_init_array+0x40>) + 8012136: 4c0c ldr r4, [pc, #48] @ (8012168 <__libc_init_array+0x44>) + 8012138: f004 fbea bl 8016910 <_init> + 801213c: 1b64 subs r4, r4, r5 + 801213e: 10a4 asrs r4, r4, #2 + 8012140: 2600 movs r6, #0 + 8012142: 42a6 cmp r6, r4 + 8012144: d105 bne.n 8012152 <__libc_init_array+0x2e> + 8012146: bd70 pop {r4, r5, r6, pc} + 8012148: f855 3b04 ldr.w r3, [r5], #4 + 801214c: 4798 blx r3 + 801214e: 3601 adds r6, #1 + 8012150: e7ee b.n 8012130 <__libc_init_array+0xc> + 8012152: f855 3b04 ldr.w r3, [r5], #4 + 8012156: 4798 blx r3 + 8012158: 3601 adds r6, #1 + 801215a: e7f2 b.n 8012142 <__libc_init_array+0x1e> + 801215c: 08019bfc .word 0x08019bfc + 8012160: 08019bfc .word 0x08019bfc + 8012164: 08019bfc .word 0x08019bfc + 8012168: 08019c04 .word 0x08019c04 -080117e8 <__retarget_lock_init_recursive>: - 80117e8: 4770 bx lr +0801216c <__retarget_lock_init_recursive>: + 801216c: 4770 bx lr -080117ea <__retarget_lock_close_recursive>: - 80117ea: 4770 bx lr +0801216e <__retarget_lock_close_recursive>: + 801216e: 4770 bx lr -080117ec <__retarget_lock_acquire_recursive>: - 80117ec: 4770 bx lr +08012170 <__retarget_lock_acquire_recursive>: + 8012170: 4770 bx lr -080117ee <__retarget_lock_release_recursive>: - 80117ee: 4770 bx lr +08012172 <__retarget_lock_release_recursive>: + 8012172: 4770 bx lr -080117f0 : - 80117f0: 440a add r2, r1 - 80117f2: 4291 cmp r1, r2 - 80117f4: f100 33ff add.w r3, r0, #4294967295 - 80117f8: d100 bne.n 80117fc - 80117fa: 4770 bx lr - 80117fc: b510 push {r4, lr} - 80117fe: f811 4b01 ldrb.w r4, [r1], #1 - 8011802: f803 4f01 strb.w r4, [r3, #1]! - 8011806: 4291 cmp r1, r2 - 8011808: d1f9 bne.n 80117fe - 801180a: bd10 pop {r4, pc} +08012174 : + 8012174: 440a add r2, r1 + 8012176: 4291 cmp r1, r2 + 8012178: f100 33ff add.w r3, r0, #4294967295 + 801217c: d100 bne.n 8012180 + 801217e: 4770 bx lr + 8012180: b510 push {r4, lr} + 8012182: f811 4b01 ldrb.w r4, [r1], #1 + 8012186: f803 4f01 strb.w r4, [r3, #1]! + 801218a: 4291 cmp r1, r2 + 801218c: d1f9 bne.n 8012182 + 801218e: bd10 pop {r4, pc} -0801180c : - 801180c: 4b02 ldr r3, [pc, #8] @ (8011818 ) - 801180e: b113 cbz r3, 8011816 - 8011810: 4802 ldr r0, [pc, #8] @ (801181c ) - 8011812: f000 b805 b.w 8011820 - 8011816: 4770 bx lr - 8011818: 00000000 .word 0x00000000 - 801181c: 08014431 .word 0x08014431 +08012190 : + 8012190: 4b02 ldr r3, [pc, #8] @ (801219c ) + 8012192: b113 cbz r3, 801219a + 8012194: 4802 ldr r0, [pc, #8] @ (80121a0 ) + 8012196: f000 b805 b.w 80121a4 + 801219a: 4770 bx lr + 801219c: 00000000 .word 0x00000000 + 80121a0: 08014db1 .word 0x08014db1 -08011820 : - 8011820: 2300 movs r3, #0 - 8011822: 4601 mov r1, r0 - 8011824: 461a mov r2, r3 - 8011826: 4618 mov r0, r3 - 8011828: f002 be58 b.w 80144dc <__register_exitproc> +080121a4 : + 80121a4: 2300 movs r3, #0 + 80121a6: 4601 mov r1, r0 + 80121a8: 461a mov r2, r3 + 80121aa: 4618 mov r0, r3 + 80121ac: f002 be56 b.w 8014e5c <__register_exitproc> -0801182c <_malloc_trim_r>: - 801182c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 8011830: 4606 mov r6, r0 - 8011832: 2008 movs r0, #8 - 8011834: 4689 mov r9, r1 - 8011836: f002 fe0f bl 8014458 - 801183a: 4f24 ldr r7, [pc, #144] @ (80118cc <_malloc_trim_r+0xa0>) - 801183c: 4680 mov r8, r0 - 801183e: 4630 mov r0, r6 - 8011840: f000 fb44 bl 8011ecc <__malloc_lock> - 8011844: 68bb ldr r3, [r7, #8] - 8011846: 685d ldr r5, [r3, #4] - 8011848: f025 0503 bic.w r5, r5, #3 - 801184c: f1a5 0411 sub.w r4, r5, #17 - 8011850: eba4 0409 sub.w r4, r4, r9 - 8011854: 4444 add r4, r8 - 8011856: fbb4 f4f8 udiv r4, r4, r8 - 801185a: 3c01 subs r4, #1 - 801185c: fb08 f404 mul.w r4, r8, r4 - 8011860: 45a0 cmp r8, r4 - 8011862: dd05 ble.n 8011870 <_malloc_trim_r+0x44> - 8011864: 4630 mov r0, r6 - 8011866: f000 fb37 bl 8011ed8 <__malloc_unlock> - 801186a: 2000 movs r0, #0 - 801186c: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 8011870: 2100 movs r1, #0 - 8011872: 4630 mov r0, r6 - 8011874: f002 fdcc bl 8014410 <_sbrk_r> - 8011878: 68bb ldr r3, [r7, #8] - 801187a: 442b add r3, r5 - 801187c: 4298 cmp r0, r3 - 801187e: d1f1 bne.n 8011864 <_malloc_trim_r+0x38> - 8011880: 4261 negs r1, r4 - 8011882: 4630 mov r0, r6 - 8011884: f002 fdc4 bl 8014410 <_sbrk_r> - 8011888: 3001 adds r0, #1 - 801188a: d110 bne.n 80118ae <_malloc_trim_r+0x82> - 801188c: 2100 movs r1, #0 - 801188e: 4630 mov r0, r6 - 8011890: f002 fdbe bl 8014410 <_sbrk_r> - 8011894: 68ba ldr r2, [r7, #8] - 8011896: 1a83 subs r3, r0, r2 - 8011898: 2b0f cmp r3, #15 - 801189a: dde3 ble.n 8011864 <_malloc_trim_r+0x38> - 801189c: 490c ldr r1, [pc, #48] @ (80118d0 <_malloc_trim_r+0xa4>) - 801189e: 6809 ldr r1, [r1, #0] - 80118a0: 1a40 subs r0, r0, r1 - 80118a2: 490c ldr r1, [pc, #48] @ (80118d4 <_malloc_trim_r+0xa8>) - 80118a4: f043 0301 orr.w r3, r3, #1 - 80118a8: 6008 str r0, [r1, #0] - 80118aa: 6053 str r3, [r2, #4] - 80118ac: e7da b.n 8011864 <_malloc_trim_r+0x38> - 80118ae: 68bb ldr r3, [r7, #8] - 80118b0: 4a08 ldr r2, [pc, #32] @ (80118d4 <_malloc_trim_r+0xa8>) - 80118b2: 1b2d subs r5, r5, r4 - 80118b4: f045 0501 orr.w r5, r5, #1 - 80118b8: 605d str r5, [r3, #4] - 80118ba: 6813 ldr r3, [r2, #0] - 80118bc: 4630 mov r0, r6 - 80118be: 1b1b subs r3, r3, r4 - 80118c0: 6013 str r3, [r2, #0] - 80118c2: f000 fb09 bl 8011ed8 <__malloc_unlock> - 80118c6: 2001 movs r0, #1 - 80118c8: e7d0 b.n 801186c <_malloc_trim_r+0x40> - 80118ca: bf00 nop - 80118cc: 2000016c .word 0x2000016c - 80118d0: 20000164 .word 0x20000164 - 80118d4: 2001937c .word 0x2001937c +080121b0 <_malloc_trim_r>: + 80121b0: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 80121b4: 4606 mov r6, r0 + 80121b6: 2008 movs r0, #8 + 80121b8: 4689 mov r9, r1 + 80121ba: f002 fe0d bl 8014dd8 + 80121be: 4f24 ldr r7, [pc, #144] @ (8012250 <_malloc_trim_r+0xa0>) + 80121c0: 4680 mov r8, r0 + 80121c2: 4630 mov r0, r6 + 80121c4: f000 fb44 bl 8012850 <__malloc_lock> + 80121c8: 68bb ldr r3, [r7, #8] + 80121ca: 685d ldr r5, [r3, #4] + 80121cc: f025 0503 bic.w r5, r5, #3 + 80121d0: f1a5 0411 sub.w r4, r5, #17 + 80121d4: eba4 0409 sub.w r4, r4, r9 + 80121d8: 4444 add r4, r8 + 80121da: fbb4 f4f8 udiv r4, r4, r8 + 80121de: 3c01 subs r4, #1 + 80121e0: fb08 f404 mul.w r4, r8, r4 + 80121e4: 45a0 cmp r8, r4 + 80121e6: dd05 ble.n 80121f4 <_malloc_trim_r+0x44> + 80121e8: 4630 mov r0, r6 + 80121ea: f000 fb37 bl 801285c <__malloc_unlock> + 80121ee: 2000 movs r0, #0 + 80121f0: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 80121f4: 2100 movs r1, #0 + 80121f6: 4630 mov r0, r6 + 80121f8: f002 fdca bl 8014d90 <_sbrk_r> + 80121fc: 68bb ldr r3, [r7, #8] + 80121fe: 442b add r3, r5 + 8012200: 4298 cmp r0, r3 + 8012202: d1f1 bne.n 80121e8 <_malloc_trim_r+0x38> + 8012204: 4261 negs r1, r4 + 8012206: 4630 mov r0, r6 + 8012208: f002 fdc2 bl 8014d90 <_sbrk_r> + 801220c: 3001 adds r0, #1 + 801220e: d110 bne.n 8012232 <_malloc_trim_r+0x82> + 8012210: 2100 movs r1, #0 + 8012212: 4630 mov r0, r6 + 8012214: f002 fdbc bl 8014d90 <_sbrk_r> + 8012218: 68ba ldr r2, [r7, #8] + 801221a: 1a83 subs r3, r0, r2 + 801221c: 2b0f cmp r3, #15 + 801221e: dde3 ble.n 80121e8 <_malloc_trim_r+0x38> + 8012220: 490c ldr r1, [pc, #48] @ (8012254 <_malloc_trim_r+0xa4>) + 8012222: 6809 ldr r1, [r1, #0] + 8012224: 1a40 subs r0, r0, r1 + 8012226: 490c ldr r1, [pc, #48] @ (8012258 <_malloc_trim_r+0xa8>) + 8012228: f043 0301 orr.w r3, r3, #1 + 801222c: 6008 str r0, [r1, #0] + 801222e: 6053 str r3, [r2, #4] + 8012230: e7da b.n 80121e8 <_malloc_trim_r+0x38> + 8012232: 68bb ldr r3, [r7, #8] + 8012234: 4a08 ldr r2, [pc, #32] @ (8012258 <_malloc_trim_r+0xa8>) + 8012236: 1b2d subs r5, r5, r4 + 8012238: f045 0501 orr.w r5, r5, #1 + 801223c: 605d str r5, [r3, #4] + 801223e: 6813 ldr r3, [r2, #0] + 8012240: 4630 mov r0, r6 + 8012242: 1b1b subs r3, r3, r4 + 8012244: 6013 str r3, [r2, #0] + 8012246: f000 fb09 bl 801285c <__malloc_unlock> + 801224a: 2001 movs r0, #1 + 801224c: e7d0 b.n 80121f0 <_malloc_trim_r+0x40> + 801224e: bf00 nop + 8012250: 2000016c .word 0x2000016c + 8012254: 20000164 .word 0x20000164 + 8012258: 200193b0 .word 0x200193b0 -080118d8 <_free_r>: - 80118d8: b5f8 push {r3, r4, r5, r6, r7, lr} - 80118da: 4604 mov r4, r0 - 80118dc: 460f mov r7, r1 - 80118de: 2900 cmp r1, #0 - 80118e0: f000 80b1 beq.w 8011a46 <_free_r+0x16e> - 80118e4: f000 faf2 bl 8011ecc <__malloc_lock> - 80118e8: f857 2c04 ldr.w r2, [r7, #-4] - 80118ec: 4d56 ldr r5, [pc, #344] @ (8011a48 <_free_r+0x170>) - 80118ee: f022 0001 bic.w r0, r2, #1 - 80118f2: f1a7 0308 sub.w r3, r7, #8 - 80118f6: eb03 0c00 add.w ip, r3, r0 - 80118fa: 68a9 ldr r1, [r5, #8] - 80118fc: f8dc 6004 ldr.w r6, [ip, #4] - 8011900: 4561 cmp r1, ip - 8011902: f026 0603 bic.w r6, r6, #3 - 8011906: f002 0201 and.w r2, r2, #1 - 801190a: d11b bne.n 8011944 <_free_r+0x6c> - 801190c: 4406 add r6, r0 - 801190e: b93a cbnz r2, 8011920 <_free_r+0x48> - 8011910: f857 2c08 ldr.w r2, [r7, #-8] - 8011914: 1a9b subs r3, r3, r2 - 8011916: 4416 add r6, r2 - 8011918: e9d3 1202 ldrd r1, r2, [r3, #8] - 801191c: 60ca str r2, [r1, #12] - 801191e: 6091 str r1, [r2, #8] - 8011920: f046 0201 orr.w r2, r6, #1 - 8011924: 605a str r2, [r3, #4] - 8011926: 60ab str r3, [r5, #8] - 8011928: 4b48 ldr r3, [pc, #288] @ (8011a4c <_free_r+0x174>) - 801192a: 681b ldr r3, [r3, #0] - 801192c: 42b3 cmp r3, r6 - 801192e: d804 bhi.n 801193a <_free_r+0x62> - 8011930: 4b47 ldr r3, [pc, #284] @ (8011a50 <_free_r+0x178>) - 8011932: 4620 mov r0, r4 - 8011934: 6819 ldr r1, [r3, #0] - 8011936: f7ff ff79 bl 801182c <_malloc_trim_r> - 801193a: 4620 mov r0, r4 - 801193c: e8bd 40f8 ldmia.w sp!, {r3, r4, r5, r6, r7, lr} - 8011940: f000 baca b.w 8011ed8 <__malloc_unlock> - 8011944: f8cc 6004 str.w r6, [ip, #4] - 8011948: 2a00 cmp r2, #0 - 801194a: d138 bne.n 80119be <_free_r+0xe6> - 801194c: f857 1c08 ldr.w r1, [r7, #-8] - 8011950: 1a5b subs r3, r3, r1 - 8011952: 4408 add r0, r1 - 8011954: 6899 ldr r1, [r3, #8] - 8011956: f105 0708 add.w r7, r5, #8 - 801195a: 42b9 cmp r1, r7 - 801195c: d031 beq.n 80119c2 <_free_r+0xea> - 801195e: 68df ldr r7, [r3, #12] - 8011960: 60cf str r7, [r1, #12] - 8011962: 60b9 str r1, [r7, #8] - 8011964: eb0c 0106 add.w r1, ip, r6 - 8011968: 6849 ldr r1, [r1, #4] - 801196a: 07c9 lsls r1, r1, #31 - 801196c: d40b bmi.n 8011986 <_free_r+0xae> - 801196e: f8dc 1008 ldr.w r1, [ip, #8] - 8011972: 4430 add r0, r6 - 8011974: bb3a cbnz r2, 80119c6 <_free_r+0xee> - 8011976: 4e37 ldr r6, [pc, #220] @ (8011a54 <_free_r+0x17c>) - 8011978: 42b1 cmp r1, r6 - 801197a: d124 bne.n 80119c6 <_free_r+0xee> - 801197c: e9c5 3304 strd r3, r3, [r5, #16] - 8011980: e9c3 1102 strd r1, r1, [r3, #8] - 8011984: 2201 movs r2, #1 - 8011986: f040 0101 orr.w r1, r0, #1 - 801198a: 6059 str r1, [r3, #4] - 801198c: 5018 str r0, [r3, r0] - 801198e: 2a00 cmp r2, #0 - 8011990: d1d3 bne.n 801193a <_free_r+0x62> - 8011992: f5b0 7f00 cmp.w r0, #512 @ 0x200 - 8011996: d21b bcs.n 80119d0 <_free_r+0xf8> - 8011998: 08c2 lsrs r2, r0, #3 - 801199a: 2101 movs r1, #1 - 801199c: 0940 lsrs r0, r0, #5 - 801199e: 4081 lsls r1, r0 - 80119a0: 6868 ldr r0, [r5, #4] - 80119a2: 3201 adds r2, #1 - 80119a4: 4301 orrs r1, r0 - 80119a6: 6069 str r1, [r5, #4] - 80119a8: f855 0032 ldr.w r0, [r5, r2, lsl #3] - 80119ac: eb05 01c2 add.w r1, r5, r2, lsl #3 - 80119b0: 3908 subs r1, #8 - 80119b2: e9c3 0102 strd r0, r1, [r3, #8] - 80119b6: f845 3032 str.w r3, [r5, r2, lsl #3] - 80119ba: 60c3 str r3, [r0, #12] - 80119bc: e7bd b.n 801193a <_free_r+0x62> - 80119be: 2200 movs r2, #0 - 80119c0: e7d0 b.n 8011964 <_free_r+0x8c> - 80119c2: 2201 movs r2, #1 - 80119c4: e7ce b.n 8011964 <_free_r+0x8c> - 80119c6: f8dc 600c ldr.w r6, [ip, #12] - 80119ca: 60ce str r6, [r1, #12] - 80119cc: 60b1 str r1, [r6, #8] - 80119ce: e7da b.n 8011986 <_free_r+0xae> - 80119d0: f5b0 6f20 cmp.w r0, #2560 @ 0xa00 - 80119d4: ea4f 2250 mov.w r2, r0, lsr #9 - 80119d8: d214 bcs.n 8011a04 <_free_r+0x12c> - 80119da: 0982 lsrs r2, r0, #6 - 80119dc: 3238 adds r2, #56 @ 0x38 - 80119de: 1c51 adds r1, r2, #1 - 80119e0: eb05 06c2 add.w r6, r5, r2, lsl #3 - 80119e4: f855 1031 ldr.w r1, [r5, r1, lsl #3] - 80119e8: 428e cmp r6, r1 - 80119ea: d125 bne.n 8011a38 <_free_r+0x160> - 80119ec: 2001 movs r0, #1 - 80119ee: 1092 asrs r2, r2, #2 - 80119f0: fa00 f202 lsl.w r2, r0, r2 - 80119f4: 6868 ldr r0, [r5, #4] - 80119f6: 4302 orrs r2, r0 - 80119f8: 606a str r2, [r5, #4] - 80119fa: e9c3 1602 strd r1, r6, [r3, #8] - 80119fe: 60b3 str r3, [r6, #8] - 8011a00: 60cb str r3, [r1, #12] - 8011a02: e79a b.n 801193a <_free_r+0x62> - 8011a04: 2a14 cmp r2, #20 - 8011a06: d801 bhi.n 8011a0c <_free_r+0x134> - 8011a08: 325b adds r2, #91 @ 0x5b - 8011a0a: e7e8 b.n 80119de <_free_r+0x106> - 8011a0c: 2a54 cmp r2, #84 @ 0x54 - 8011a0e: d802 bhi.n 8011a16 <_free_r+0x13e> - 8011a10: 0b02 lsrs r2, r0, #12 - 8011a12: 326e adds r2, #110 @ 0x6e - 8011a14: e7e3 b.n 80119de <_free_r+0x106> - 8011a16: f5b2 7faa cmp.w r2, #340 @ 0x154 - 8011a1a: d802 bhi.n 8011a22 <_free_r+0x14a> - 8011a1c: 0bc2 lsrs r2, r0, #15 - 8011a1e: 3277 adds r2, #119 @ 0x77 - 8011a20: e7dd b.n 80119de <_free_r+0x106> - 8011a22: f240 5154 movw r1, #1364 @ 0x554 - 8011a26: 428a cmp r2, r1 - 8011a28: bf9a itte ls - 8011a2a: 0c82 lsrls r2, r0, #18 - 8011a2c: 327c addls r2, #124 @ 0x7c - 8011a2e: 227e movhi r2, #126 @ 0x7e - 8011a30: e7d5 b.n 80119de <_free_r+0x106> - 8011a32: 6889 ldr r1, [r1, #8] - 8011a34: 428e cmp r6, r1 - 8011a36: d004 beq.n 8011a42 <_free_r+0x16a> - 8011a38: 684a ldr r2, [r1, #4] - 8011a3a: f022 0203 bic.w r2, r2, #3 - 8011a3e: 4282 cmp r2, r0 - 8011a40: d8f7 bhi.n 8011a32 <_free_r+0x15a> - 8011a42: 68ce ldr r6, [r1, #12] - 8011a44: e7d9 b.n 80119fa <_free_r+0x122> - 8011a46: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8011a48: 2000016c .word 0x2000016c - 8011a4c: 20000168 .word 0x20000168 - 8011a50: 200193ac .word 0x200193ac - 8011a54: 20000174 .word 0x20000174 +0801225c <_free_r>: + 801225c: b5f8 push {r3, r4, r5, r6, r7, lr} + 801225e: 4604 mov r4, r0 + 8012260: 460f mov r7, r1 + 8012262: 2900 cmp r1, #0 + 8012264: f000 80b1 beq.w 80123ca <_free_r+0x16e> + 8012268: f000 faf2 bl 8012850 <__malloc_lock> + 801226c: f857 2c04 ldr.w r2, [r7, #-4] + 8012270: 4d56 ldr r5, [pc, #344] @ (80123cc <_free_r+0x170>) + 8012272: f022 0001 bic.w r0, r2, #1 + 8012276: f1a7 0308 sub.w r3, r7, #8 + 801227a: eb03 0c00 add.w ip, r3, r0 + 801227e: 68a9 ldr r1, [r5, #8] + 8012280: f8dc 6004 ldr.w r6, [ip, #4] + 8012284: 4561 cmp r1, ip + 8012286: f026 0603 bic.w r6, r6, #3 + 801228a: f002 0201 and.w r2, r2, #1 + 801228e: d11b bne.n 80122c8 <_free_r+0x6c> + 8012290: 4406 add r6, r0 + 8012292: b93a cbnz r2, 80122a4 <_free_r+0x48> + 8012294: f857 2c08 ldr.w r2, [r7, #-8] + 8012298: 1a9b subs r3, r3, r2 + 801229a: 4416 add r6, r2 + 801229c: e9d3 1202 ldrd r1, r2, [r3, #8] + 80122a0: 60ca str r2, [r1, #12] + 80122a2: 6091 str r1, [r2, #8] + 80122a4: f046 0201 orr.w r2, r6, #1 + 80122a8: 605a str r2, [r3, #4] + 80122aa: 60ab str r3, [r5, #8] + 80122ac: 4b48 ldr r3, [pc, #288] @ (80123d0 <_free_r+0x174>) + 80122ae: 681b ldr r3, [r3, #0] + 80122b0: 42b3 cmp r3, r6 + 80122b2: d804 bhi.n 80122be <_free_r+0x62> + 80122b4: 4b47 ldr r3, [pc, #284] @ (80123d4 <_free_r+0x178>) + 80122b6: 4620 mov r0, r4 + 80122b8: 6819 ldr r1, [r3, #0] + 80122ba: f7ff ff79 bl 80121b0 <_malloc_trim_r> + 80122be: 4620 mov r0, r4 + 80122c0: e8bd 40f8 ldmia.w sp!, {r3, r4, r5, r6, r7, lr} + 80122c4: f000 baca b.w 801285c <__malloc_unlock> + 80122c8: f8cc 6004 str.w r6, [ip, #4] + 80122cc: 2a00 cmp r2, #0 + 80122ce: d138 bne.n 8012342 <_free_r+0xe6> + 80122d0: f857 1c08 ldr.w r1, [r7, #-8] + 80122d4: 1a5b subs r3, r3, r1 + 80122d6: 4408 add r0, r1 + 80122d8: 6899 ldr r1, [r3, #8] + 80122da: f105 0708 add.w r7, r5, #8 + 80122de: 42b9 cmp r1, r7 + 80122e0: d031 beq.n 8012346 <_free_r+0xea> + 80122e2: 68df ldr r7, [r3, #12] + 80122e4: 60cf str r7, [r1, #12] + 80122e6: 60b9 str r1, [r7, #8] + 80122e8: eb0c 0106 add.w r1, ip, r6 + 80122ec: 6849 ldr r1, [r1, #4] + 80122ee: 07c9 lsls r1, r1, #31 + 80122f0: d40b bmi.n 801230a <_free_r+0xae> + 80122f2: f8dc 1008 ldr.w r1, [ip, #8] + 80122f6: 4430 add r0, r6 + 80122f8: bb3a cbnz r2, 801234a <_free_r+0xee> + 80122fa: 4e37 ldr r6, [pc, #220] @ (80123d8 <_free_r+0x17c>) + 80122fc: 42b1 cmp r1, r6 + 80122fe: d124 bne.n 801234a <_free_r+0xee> + 8012300: e9c5 3304 strd r3, r3, [r5, #16] + 8012304: e9c3 1102 strd r1, r1, [r3, #8] + 8012308: 2201 movs r2, #1 + 801230a: f040 0101 orr.w r1, r0, #1 + 801230e: 6059 str r1, [r3, #4] + 8012310: 5018 str r0, [r3, r0] + 8012312: 2a00 cmp r2, #0 + 8012314: d1d3 bne.n 80122be <_free_r+0x62> + 8012316: f5b0 7f00 cmp.w r0, #512 @ 0x200 + 801231a: d21b bcs.n 8012354 <_free_r+0xf8> + 801231c: 08c2 lsrs r2, r0, #3 + 801231e: 2101 movs r1, #1 + 8012320: 0940 lsrs r0, r0, #5 + 8012322: 4081 lsls r1, r0 + 8012324: 6868 ldr r0, [r5, #4] + 8012326: 3201 adds r2, #1 + 8012328: 4301 orrs r1, r0 + 801232a: 6069 str r1, [r5, #4] + 801232c: f855 0032 ldr.w r0, [r5, r2, lsl #3] + 8012330: eb05 01c2 add.w r1, r5, r2, lsl #3 + 8012334: 3908 subs r1, #8 + 8012336: e9c3 0102 strd r0, r1, [r3, #8] + 801233a: f845 3032 str.w r3, [r5, r2, lsl #3] + 801233e: 60c3 str r3, [r0, #12] + 8012340: e7bd b.n 80122be <_free_r+0x62> + 8012342: 2200 movs r2, #0 + 8012344: e7d0 b.n 80122e8 <_free_r+0x8c> + 8012346: 2201 movs r2, #1 + 8012348: e7ce b.n 80122e8 <_free_r+0x8c> + 801234a: f8dc 600c ldr.w r6, [ip, #12] + 801234e: 60ce str r6, [r1, #12] + 8012350: 60b1 str r1, [r6, #8] + 8012352: e7da b.n 801230a <_free_r+0xae> + 8012354: f5b0 6f20 cmp.w r0, #2560 @ 0xa00 + 8012358: ea4f 2250 mov.w r2, r0, lsr #9 + 801235c: d214 bcs.n 8012388 <_free_r+0x12c> + 801235e: 0982 lsrs r2, r0, #6 + 8012360: 3238 adds r2, #56 @ 0x38 + 8012362: 1c51 adds r1, r2, #1 + 8012364: eb05 06c2 add.w r6, r5, r2, lsl #3 + 8012368: f855 1031 ldr.w r1, [r5, r1, lsl #3] + 801236c: 428e cmp r6, r1 + 801236e: d125 bne.n 80123bc <_free_r+0x160> + 8012370: 2001 movs r0, #1 + 8012372: 1092 asrs r2, r2, #2 + 8012374: fa00 f202 lsl.w r2, r0, r2 + 8012378: 6868 ldr r0, [r5, #4] + 801237a: 4302 orrs r2, r0 + 801237c: 606a str r2, [r5, #4] + 801237e: e9c3 1602 strd r1, r6, [r3, #8] + 8012382: 60b3 str r3, [r6, #8] + 8012384: 60cb str r3, [r1, #12] + 8012386: e79a b.n 80122be <_free_r+0x62> + 8012388: 2a14 cmp r2, #20 + 801238a: d801 bhi.n 8012390 <_free_r+0x134> + 801238c: 325b adds r2, #91 @ 0x5b + 801238e: e7e8 b.n 8012362 <_free_r+0x106> + 8012390: 2a54 cmp r2, #84 @ 0x54 + 8012392: d802 bhi.n 801239a <_free_r+0x13e> + 8012394: 0b02 lsrs r2, r0, #12 + 8012396: 326e adds r2, #110 @ 0x6e + 8012398: e7e3 b.n 8012362 <_free_r+0x106> + 801239a: f5b2 7faa cmp.w r2, #340 @ 0x154 + 801239e: d802 bhi.n 80123a6 <_free_r+0x14a> + 80123a0: 0bc2 lsrs r2, r0, #15 + 80123a2: 3277 adds r2, #119 @ 0x77 + 80123a4: e7dd b.n 8012362 <_free_r+0x106> + 80123a6: f240 5154 movw r1, #1364 @ 0x554 + 80123aa: 428a cmp r2, r1 + 80123ac: bf9a itte ls + 80123ae: 0c82 lsrls r2, r0, #18 + 80123b0: 327c addls r2, #124 @ 0x7c + 80123b2: 227e movhi r2, #126 @ 0x7e + 80123b4: e7d5 b.n 8012362 <_free_r+0x106> + 80123b6: 6889 ldr r1, [r1, #8] + 80123b8: 428e cmp r6, r1 + 80123ba: d004 beq.n 80123c6 <_free_r+0x16a> + 80123bc: 684a ldr r2, [r1, #4] + 80123be: f022 0203 bic.w r2, r2, #3 + 80123c2: 4282 cmp r2, r0 + 80123c4: d8f7 bhi.n 80123b6 <_free_r+0x15a> + 80123c6: 68ce ldr r6, [r1, #12] + 80123c8: e7d9 b.n 801237e <_free_r+0x122> + 80123ca: bdf8 pop {r3, r4, r5, r6, r7, pc} + 80123cc: 2000016c .word 0x2000016c + 80123d0: 20000168 .word 0x20000168 + 80123d4: 200193e0 .word 0x200193e0 + 80123d8: 20000174 .word 0x20000174 -08011a58 <_malloc_r>: - 8011a58: f101 030b add.w r3, r1, #11 - 8011a5c: 2b16 cmp r3, #22 - 8011a5e: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8011a62: 4605 mov r5, r0 - 8011a64: d906 bls.n 8011a74 <_malloc_r+0x1c> - 8011a66: f033 0707 bics.w r7, r3, #7 - 8011a6a: d504 bpl.n 8011a76 <_malloc_r+0x1e> - 8011a6c: 230c movs r3, #12 - 8011a6e: 602b str r3, [r5, #0] - 8011a70: 2400 movs r4, #0 - 8011a72: e1a3 b.n 8011dbc <_malloc_r+0x364> - 8011a74: 2710 movs r7, #16 - 8011a76: 42b9 cmp r1, r7 - 8011a78: d8f8 bhi.n 8011a6c <_malloc_r+0x14> - 8011a7a: 4628 mov r0, r5 - 8011a7c: f000 fa26 bl 8011ecc <__malloc_lock> - 8011a80: f5b7 7ffc cmp.w r7, #504 @ 0x1f8 - 8011a84: 4eaf ldr r6, [pc, #700] @ (8011d44 <_malloc_r+0x2ec>) - 8011a86: d237 bcs.n 8011af8 <_malloc_r+0xa0> - 8011a88: f107 0208 add.w r2, r7, #8 - 8011a8c: 4432 add r2, r6 - 8011a8e: f1a2 0108 sub.w r1, r2, #8 - 8011a92: 6854 ldr r4, [r2, #4] - 8011a94: 428c cmp r4, r1 - 8011a96: ea4f 03d7 mov.w r3, r7, lsr #3 - 8011a9a: d102 bne.n 8011aa2 <_malloc_r+0x4a> - 8011a9c: 68d4 ldr r4, [r2, #12] - 8011a9e: 42a2 cmp r2, r4 - 8011aa0: d010 beq.n 8011ac4 <_malloc_r+0x6c> - 8011aa2: 6863 ldr r3, [r4, #4] - 8011aa4: e9d4 1202 ldrd r1, r2, [r4, #8] - 8011aa8: f023 0303 bic.w r3, r3, #3 - 8011aac: 60ca str r2, [r1, #12] - 8011aae: 4423 add r3, r4 - 8011ab0: 6091 str r1, [r2, #8] - 8011ab2: 685a ldr r2, [r3, #4] - 8011ab4: f042 0201 orr.w r2, r2, #1 - 8011ab8: 605a str r2, [r3, #4] - 8011aba: 4628 mov r0, r5 - 8011abc: f000 fa0c bl 8011ed8 <__malloc_unlock> - 8011ac0: 3408 adds r4, #8 - 8011ac2: e17b b.n 8011dbc <_malloc_r+0x364> - 8011ac4: 3302 adds r3, #2 - 8011ac6: 6934 ldr r4, [r6, #16] - 8011ac8: 499f ldr r1, [pc, #636] @ (8011d48 <_malloc_r+0x2f0>) - 8011aca: 428c cmp r4, r1 - 8011acc: d077 beq.n 8011bbe <_malloc_r+0x166> - 8011ace: 6862 ldr r2, [r4, #4] - 8011ad0: f022 0c03 bic.w ip, r2, #3 - 8011ad4: ebac 0007 sub.w r0, ip, r7 - 8011ad8: 280f cmp r0, #15 - 8011ada: dd48 ble.n 8011b6e <_malloc_r+0x116> - 8011adc: 19e2 adds r2, r4, r7 - 8011ade: f040 0301 orr.w r3, r0, #1 - 8011ae2: f047 0701 orr.w r7, r7, #1 - 8011ae6: 6067 str r7, [r4, #4] - 8011ae8: e9c6 2204 strd r2, r2, [r6, #16] - 8011aec: e9c2 1102 strd r1, r1, [r2, #8] - 8011af0: 6053 str r3, [r2, #4] - 8011af2: f844 000c str.w r0, [r4, ip] - 8011af6: e7e0 b.n 8011aba <_malloc_r+0x62> - 8011af8: 0a7b lsrs r3, r7, #9 - 8011afa: d02a beq.n 8011b52 <_malloc_r+0xfa> - 8011afc: 2b04 cmp r3, #4 - 8011afe: d812 bhi.n 8011b26 <_malloc_r+0xce> - 8011b00: 09bb lsrs r3, r7, #6 - 8011b02: 3338 adds r3, #56 @ 0x38 - 8011b04: 1c5a adds r2, r3, #1 - 8011b06: eb06 02c2 add.w r2, r6, r2, lsl #3 - 8011b0a: f1a2 0c08 sub.w ip, r2, #8 - 8011b0e: 6854 ldr r4, [r2, #4] - 8011b10: 4564 cmp r4, ip - 8011b12: d006 beq.n 8011b22 <_malloc_r+0xca> - 8011b14: 6862 ldr r2, [r4, #4] - 8011b16: f022 0203 bic.w r2, r2, #3 - 8011b1a: 1bd0 subs r0, r2, r7 - 8011b1c: 280f cmp r0, #15 - 8011b1e: dd1c ble.n 8011b5a <_malloc_r+0x102> - 8011b20: 3b01 subs r3, #1 - 8011b22: 3301 adds r3, #1 - 8011b24: e7cf b.n 8011ac6 <_malloc_r+0x6e> - 8011b26: 2b14 cmp r3, #20 - 8011b28: d801 bhi.n 8011b2e <_malloc_r+0xd6> - 8011b2a: 335b adds r3, #91 @ 0x5b - 8011b2c: e7ea b.n 8011b04 <_malloc_r+0xac> - 8011b2e: 2b54 cmp r3, #84 @ 0x54 - 8011b30: d802 bhi.n 8011b38 <_malloc_r+0xe0> - 8011b32: 0b3b lsrs r3, r7, #12 - 8011b34: 336e adds r3, #110 @ 0x6e - 8011b36: e7e5 b.n 8011b04 <_malloc_r+0xac> - 8011b38: f5b3 7faa cmp.w r3, #340 @ 0x154 - 8011b3c: d802 bhi.n 8011b44 <_malloc_r+0xec> - 8011b3e: 0bfb lsrs r3, r7, #15 - 8011b40: 3377 adds r3, #119 @ 0x77 - 8011b42: e7df b.n 8011b04 <_malloc_r+0xac> - 8011b44: f240 5254 movw r2, #1364 @ 0x554 - 8011b48: 4293 cmp r3, r2 - 8011b4a: d804 bhi.n 8011b56 <_malloc_r+0xfe> - 8011b4c: 0cbb lsrs r3, r7, #18 - 8011b4e: 337c adds r3, #124 @ 0x7c - 8011b50: e7d8 b.n 8011b04 <_malloc_r+0xac> - 8011b52: 233f movs r3, #63 @ 0x3f - 8011b54: e7d6 b.n 8011b04 <_malloc_r+0xac> - 8011b56: 237e movs r3, #126 @ 0x7e - 8011b58: e7d4 b.n 8011b04 <_malloc_r+0xac> - 8011b5a: 2800 cmp r0, #0 - 8011b5c: 68e1 ldr r1, [r4, #12] - 8011b5e: db04 blt.n 8011b6a <_malloc_r+0x112> - 8011b60: 68a3 ldr r3, [r4, #8] - 8011b62: 60d9 str r1, [r3, #12] - 8011b64: 608b str r3, [r1, #8] - 8011b66: 18a3 adds r3, r4, r2 - 8011b68: e7a3 b.n 8011ab2 <_malloc_r+0x5a> - 8011b6a: 460c mov r4, r1 - 8011b6c: e7d0 b.n 8011b10 <_malloc_r+0xb8> - 8011b6e: 2800 cmp r0, #0 - 8011b70: e9c6 1104 strd r1, r1, [r6, #16] - 8011b74: db07 blt.n 8011b86 <_malloc_r+0x12e> - 8011b76: 44a4 add ip, r4 - 8011b78: f8dc 3004 ldr.w r3, [ip, #4] - 8011b7c: f043 0301 orr.w r3, r3, #1 - 8011b80: f8cc 3004 str.w r3, [ip, #4] - 8011b84: e799 b.n 8011aba <_malloc_r+0x62> - 8011b86: f5bc 7f00 cmp.w ip, #512 @ 0x200 - 8011b8a: 6870 ldr r0, [r6, #4] - 8011b8c: f080 8095 bcs.w 8011cba <_malloc_r+0x262> - 8011b90: ea4f 02dc mov.w r2, ip, lsr #3 - 8011b94: ea4f 1e5c mov.w lr, ip, lsr #5 - 8011b98: f04f 0c01 mov.w ip, #1 - 8011b9c: 3201 adds r2, #1 - 8011b9e: fa0c fc0e lsl.w ip, ip, lr - 8011ba2: ea4c 0000 orr.w r0, ip, r0 - 8011ba6: 6070 str r0, [r6, #4] - 8011ba8: f856 c032 ldr.w ip, [r6, r2, lsl #3] - 8011bac: eb06 00c2 add.w r0, r6, r2, lsl #3 - 8011bb0: 3808 subs r0, #8 - 8011bb2: e9c4 c002 strd ip, r0, [r4, #8] - 8011bb6: f846 4032 str.w r4, [r6, r2, lsl #3] - 8011bba: f8cc 400c str.w r4, [ip, #12] - 8011bbe: 1098 asrs r0, r3, #2 - 8011bc0: 2201 movs r2, #1 - 8011bc2: 4082 lsls r2, r0 - 8011bc4: 6870 ldr r0, [r6, #4] - 8011bc6: 4290 cmp r0, r2 - 8011bc8: d326 bcc.n 8011c18 <_malloc_r+0x1c0> - 8011bca: 4210 tst r0, r2 - 8011bcc: d106 bne.n 8011bdc <_malloc_r+0x184> - 8011bce: f023 0303 bic.w r3, r3, #3 - 8011bd2: 0052 lsls r2, r2, #1 - 8011bd4: 4210 tst r0, r2 - 8011bd6: f103 0304 add.w r3, r3, #4 - 8011bda: d0fa beq.n 8011bd2 <_malloc_r+0x17a> - 8011bdc: eb06 08c3 add.w r8, r6, r3, lsl #3 - 8011be0: 46c1 mov r9, r8 - 8011be2: 469e mov lr, r3 - 8011be4: f8d9 400c ldr.w r4, [r9, #12] - 8011be8: 454c cmp r4, r9 - 8011bea: f040 80b9 bne.w 8011d60 <_malloc_r+0x308> - 8011bee: f10e 0e01 add.w lr, lr, #1 - 8011bf2: f01e 0f03 tst.w lr, #3 - 8011bf6: f109 0908 add.w r9, r9, #8 - 8011bfa: d1f3 bne.n 8011be4 <_malloc_r+0x18c> - 8011bfc: 0798 lsls r0, r3, #30 - 8011bfe: f040 80e3 bne.w 8011dc8 <_malloc_r+0x370> - 8011c02: 6873 ldr r3, [r6, #4] - 8011c04: ea23 0302 bic.w r3, r3, r2 - 8011c08: 6073 str r3, [r6, #4] - 8011c0a: 6870 ldr r0, [r6, #4] - 8011c0c: 0052 lsls r2, r2, #1 - 8011c0e: 4290 cmp r0, r2 - 8011c10: d302 bcc.n 8011c18 <_malloc_r+0x1c0> - 8011c12: 2a00 cmp r2, #0 - 8011c14: f040 80e5 bne.w 8011de2 <_malloc_r+0x38a> - 8011c18: f8d6 a008 ldr.w sl, [r6, #8] - 8011c1c: f8da 3004 ldr.w r3, [sl, #4] - 8011c20: f023 0903 bic.w r9, r3, #3 - 8011c24: 45b9 cmp r9, r7 - 8011c26: d304 bcc.n 8011c32 <_malloc_r+0x1da> - 8011c28: eba9 0207 sub.w r2, r9, r7 - 8011c2c: 2a0f cmp r2, #15 - 8011c2e: f300 8141 bgt.w 8011eb4 <_malloc_r+0x45c> - 8011c32: 4b46 ldr r3, [pc, #280] @ (8011d4c <_malloc_r+0x2f4>) - 8011c34: 6819 ldr r1, [r3, #0] - 8011c36: 3110 adds r1, #16 - 8011c38: 4439 add r1, r7 - 8011c3a: 2008 movs r0, #8 - 8011c3c: 9101 str r1, [sp, #4] - 8011c3e: f002 fc0b bl 8014458 - 8011c42: 4a43 ldr r2, [pc, #268] @ (8011d50 <_malloc_r+0x2f8>) - 8011c44: 9901 ldr r1, [sp, #4] - 8011c46: 6813 ldr r3, [r2, #0] - 8011c48: 3301 adds r3, #1 - 8011c4a: bf1f itttt ne - 8011c4c: f101 31ff addne.w r1, r1, #4294967295 - 8011c50: 1809 addne r1, r1, r0 - 8011c52: 4243 negne r3, r0 - 8011c54: 4019 andne r1, r3 - 8011c56: 4680 mov r8, r0 - 8011c58: 4628 mov r0, r5 - 8011c5a: 9101 str r1, [sp, #4] - 8011c5c: f002 fbd8 bl 8014410 <_sbrk_r> - 8011c60: 1c42 adds r2, r0, #1 - 8011c62: eb0a 0b09 add.w fp, sl, r9 - 8011c66: 4604 mov r4, r0 - 8011c68: f000 80f7 beq.w 8011e5a <_malloc_r+0x402> - 8011c6c: 4583 cmp fp, r0 - 8011c6e: 9901 ldr r1, [sp, #4] - 8011c70: 4a37 ldr r2, [pc, #220] @ (8011d50 <_malloc_r+0x2f8>) - 8011c72: d902 bls.n 8011c7a <_malloc_r+0x222> - 8011c74: 45b2 cmp sl, r6 - 8011c76: f040 80f0 bne.w 8011e5a <_malloc_r+0x402> - 8011c7a: 4b36 ldr r3, [pc, #216] @ (8011d54 <_malloc_r+0x2fc>) - 8011c7c: 6818 ldr r0, [r3, #0] - 8011c7e: 45a3 cmp fp, r4 - 8011c80: eb00 0e01 add.w lr, r0, r1 - 8011c84: f8c3 e000 str.w lr, [r3] - 8011c88: f108 3cff add.w ip, r8, #4294967295 - 8011c8c: f040 80ab bne.w 8011de6 <_malloc_r+0x38e> - 8011c90: ea1b 0f0c tst.w fp, ip - 8011c94: f040 80a7 bne.w 8011de6 <_malloc_r+0x38e> - 8011c98: 68b2 ldr r2, [r6, #8] - 8011c9a: 4449 add r1, r9 - 8011c9c: f041 0101 orr.w r1, r1, #1 - 8011ca0: 6051 str r1, [r2, #4] - 8011ca2: 4a2d ldr r2, [pc, #180] @ (8011d58 <_malloc_r+0x300>) - 8011ca4: 681b ldr r3, [r3, #0] - 8011ca6: 6811 ldr r1, [r2, #0] - 8011ca8: 428b cmp r3, r1 - 8011caa: bf88 it hi - 8011cac: 6013 strhi r3, [r2, #0] - 8011cae: 4a2b ldr r2, [pc, #172] @ (8011d5c <_malloc_r+0x304>) - 8011cb0: 6811 ldr r1, [r2, #0] - 8011cb2: 428b cmp r3, r1 - 8011cb4: bf88 it hi - 8011cb6: 6013 strhi r3, [r2, #0] - 8011cb8: e0cf b.n 8011e5a <_malloc_r+0x402> - 8011cba: f5bc 6f20 cmp.w ip, #2560 @ 0xa00 - 8011cbe: ea4f 225c mov.w r2, ip, lsr #9 - 8011cc2: d218 bcs.n 8011cf6 <_malloc_r+0x29e> - 8011cc4: ea4f 129c mov.w r2, ip, lsr #6 - 8011cc8: 3238 adds r2, #56 @ 0x38 - 8011cca: f102 0e01 add.w lr, r2, #1 - 8011cce: eb06 08c2 add.w r8, r6, r2, lsl #3 - 8011cd2: f856 e03e ldr.w lr, [r6, lr, lsl #3] - 8011cd6: 45f0 cmp r8, lr - 8011cd8: d12b bne.n 8011d32 <_malloc_r+0x2da> - 8011cda: 1092 asrs r2, r2, #2 - 8011cdc: f04f 0c01 mov.w ip, #1 - 8011ce0: fa0c f202 lsl.w r2, ip, r2 - 8011ce4: 4302 orrs r2, r0 - 8011ce6: 6072 str r2, [r6, #4] - 8011ce8: e9c4 e802 strd lr, r8, [r4, #8] - 8011cec: f8c8 4008 str.w r4, [r8, #8] - 8011cf0: f8ce 400c str.w r4, [lr, #12] - 8011cf4: e763 b.n 8011bbe <_malloc_r+0x166> - 8011cf6: 2a14 cmp r2, #20 - 8011cf8: d801 bhi.n 8011cfe <_malloc_r+0x2a6> - 8011cfa: 325b adds r2, #91 @ 0x5b - 8011cfc: e7e5 b.n 8011cca <_malloc_r+0x272> - 8011cfe: 2a54 cmp r2, #84 @ 0x54 - 8011d00: d803 bhi.n 8011d0a <_malloc_r+0x2b2> - 8011d02: ea4f 321c mov.w r2, ip, lsr #12 - 8011d06: 326e adds r2, #110 @ 0x6e - 8011d08: e7df b.n 8011cca <_malloc_r+0x272> - 8011d0a: f5b2 7faa cmp.w r2, #340 @ 0x154 - 8011d0e: d803 bhi.n 8011d18 <_malloc_r+0x2c0> - 8011d10: ea4f 32dc mov.w r2, ip, lsr #15 - 8011d14: 3277 adds r2, #119 @ 0x77 - 8011d16: e7d8 b.n 8011cca <_malloc_r+0x272> - 8011d18: f240 5e54 movw lr, #1364 @ 0x554 - 8011d1c: 4572 cmp r2, lr - 8011d1e: bf9a itte ls - 8011d20: ea4f 429c movls.w r2, ip, lsr #18 - 8011d24: 327c addls r2, #124 @ 0x7c - 8011d26: 227e movhi r2, #126 @ 0x7e - 8011d28: e7cf b.n 8011cca <_malloc_r+0x272> - 8011d2a: f8de e008 ldr.w lr, [lr, #8] - 8011d2e: 45f0 cmp r8, lr - 8011d30: d005 beq.n 8011d3e <_malloc_r+0x2e6> - 8011d32: f8de 2004 ldr.w r2, [lr, #4] - 8011d36: f022 0203 bic.w r2, r2, #3 - 8011d3a: 4562 cmp r2, ip - 8011d3c: d8f5 bhi.n 8011d2a <_malloc_r+0x2d2> - 8011d3e: f8de 800c ldr.w r8, [lr, #12] - 8011d42: e7d1 b.n 8011ce8 <_malloc_r+0x290> - 8011d44: 2000016c .word 0x2000016c - 8011d48: 20000174 .word 0x20000174 - 8011d4c: 200193ac .word 0x200193ac - 8011d50: 20000164 .word 0x20000164 - 8011d54: 2001937c .word 0x2001937c - 8011d58: 200193a8 .word 0x200193a8 - 8011d5c: 200193a4 .word 0x200193a4 - 8011d60: 6860 ldr r0, [r4, #4] - 8011d62: f8d4 c00c ldr.w ip, [r4, #12] - 8011d66: f020 0003 bic.w r0, r0, #3 - 8011d6a: eba0 0a07 sub.w sl, r0, r7 - 8011d6e: f1ba 0f0f cmp.w sl, #15 - 8011d72: dd12 ble.n 8011d9a <_malloc_r+0x342> - 8011d74: 68a3 ldr r3, [r4, #8] - 8011d76: 19e2 adds r2, r4, r7 - 8011d78: f047 0701 orr.w r7, r7, #1 - 8011d7c: 6067 str r7, [r4, #4] - 8011d7e: f8c3 c00c str.w ip, [r3, #12] - 8011d82: f8cc 3008 str.w r3, [ip, #8] - 8011d86: f04a 0301 orr.w r3, sl, #1 - 8011d8a: e9c6 2204 strd r2, r2, [r6, #16] - 8011d8e: e9c2 1102 strd r1, r1, [r2, #8] - 8011d92: 6053 str r3, [r2, #4] - 8011d94: f844 a000 str.w sl, [r4, r0] - 8011d98: e68f b.n 8011aba <_malloc_r+0x62> - 8011d9a: f1ba 0f00 cmp.w sl, #0 - 8011d9e: db11 blt.n 8011dc4 <_malloc_r+0x36c> - 8011da0: 4420 add r0, r4 - 8011da2: 6843 ldr r3, [r0, #4] - 8011da4: f043 0301 orr.w r3, r3, #1 - 8011da8: 6043 str r3, [r0, #4] - 8011daa: f854 3f08 ldr.w r3, [r4, #8]! - 8011dae: 4628 mov r0, r5 - 8011db0: f8c3 c00c str.w ip, [r3, #12] - 8011db4: f8cc 3008 str.w r3, [ip, #8] - 8011db8: f000 f88e bl 8011ed8 <__malloc_unlock> - 8011dbc: 4620 mov r0, r4 - 8011dbe: b003 add sp, #12 - 8011dc0: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8011dc4: 4664 mov r4, ip - 8011dc6: e70f b.n 8011be8 <_malloc_r+0x190> - 8011dc8: f858 0908 ldr.w r0, [r8], #-8 - 8011dcc: 4540 cmp r0, r8 - 8011dce: f103 33ff add.w r3, r3, #4294967295 - 8011dd2: f43f af13 beq.w 8011bfc <_malloc_r+0x1a4> - 8011dd6: e718 b.n 8011c0a <_malloc_r+0x1b2> - 8011dd8: 3304 adds r3, #4 - 8011dda: 0052 lsls r2, r2, #1 - 8011ddc: 4210 tst r0, r2 - 8011dde: d0fb beq.n 8011dd8 <_malloc_r+0x380> - 8011de0: e6fc b.n 8011bdc <_malloc_r+0x184> - 8011de2: 4673 mov r3, lr - 8011de4: e7fa b.n 8011ddc <_malloc_r+0x384> - 8011de6: 6810 ldr r0, [r2, #0] - 8011de8: 3001 adds r0, #1 - 8011dea: bf1b ittet ne - 8011dec: eba4 0b0b subne.w fp, r4, fp - 8011df0: eb0b 020e addne.w r2, fp, lr - 8011df4: 6014 streq r4, [r2, #0] - 8011df6: 601a strne r2, [r3, #0] - 8011df8: f014 0b07 ands.w fp, r4, #7 - 8011dfc: bf1a itte ne - 8011dfe: f1cb 0008 rsbne r0, fp, #8 - 8011e02: 1824 addne r4, r4, r0 - 8011e04: 4658 moveq r0, fp - 8011e06: 1862 adds r2, r4, r1 - 8011e08: ea02 010c and.w r1, r2, ip - 8011e0c: 4480 add r8, r0 - 8011e0e: eba8 0801 sub.w r8, r8, r1 - 8011e12: ea08 080c and.w r8, r8, ip - 8011e16: 4641 mov r1, r8 - 8011e18: 4628 mov r0, r5 - 8011e1a: 9201 str r2, [sp, #4] - 8011e1c: f002 faf8 bl 8014410 <_sbrk_r> - 8011e20: 1c43 adds r3, r0, #1 - 8011e22: 9a01 ldr r2, [sp, #4] - 8011e24: 4b28 ldr r3, [pc, #160] @ (8011ec8 <_malloc_r+0x470>) - 8011e26: d107 bne.n 8011e38 <_malloc_r+0x3e0> - 8011e28: f1bb 0f00 cmp.w fp, #0 - 8011e2c: d023 beq.n 8011e76 <_malloc_r+0x41e> - 8011e2e: f1ab 0008 sub.w r0, fp, #8 - 8011e32: 4410 add r0, r2 - 8011e34: f04f 0800 mov.w r8, #0 - 8011e38: 681a ldr r2, [r3, #0] - 8011e3a: 60b4 str r4, [r6, #8] - 8011e3c: 1b00 subs r0, r0, r4 - 8011e3e: 4440 add r0, r8 - 8011e40: 4442 add r2, r8 - 8011e42: f040 0001 orr.w r0, r0, #1 - 8011e46: 45b2 cmp sl, r6 - 8011e48: 601a str r2, [r3, #0] - 8011e4a: 6060 str r0, [r4, #4] - 8011e4c: f43f af29 beq.w 8011ca2 <_malloc_r+0x24a> - 8011e50: f1b9 0f0f cmp.w r9, #15 - 8011e54: d812 bhi.n 8011e7c <_malloc_r+0x424> - 8011e56: 2301 movs r3, #1 - 8011e58: 6063 str r3, [r4, #4] - 8011e5a: 68b3 ldr r3, [r6, #8] - 8011e5c: 685b ldr r3, [r3, #4] - 8011e5e: f023 0303 bic.w r3, r3, #3 - 8011e62: 42bb cmp r3, r7 - 8011e64: eba3 0207 sub.w r2, r3, r7 - 8011e68: d301 bcc.n 8011e6e <_malloc_r+0x416> - 8011e6a: 2a0f cmp r2, #15 - 8011e6c: dc22 bgt.n 8011eb4 <_malloc_r+0x45c> - 8011e6e: 4628 mov r0, r5 - 8011e70: f000 f832 bl 8011ed8 <__malloc_unlock> - 8011e74: e5fc b.n 8011a70 <_malloc_r+0x18> - 8011e76: 4610 mov r0, r2 - 8011e78: 46d8 mov r8, fp - 8011e7a: e7dd b.n 8011e38 <_malloc_r+0x3e0> - 8011e7c: f8da 2004 ldr.w r2, [sl, #4] - 8011e80: f1a9 090c sub.w r9, r9, #12 - 8011e84: f029 0907 bic.w r9, r9, #7 - 8011e88: f002 0201 and.w r2, r2, #1 - 8011e8c: ea42 0209 orr.w r2, r2, r9 - 8011e90: f8ca 2004 str.w r2, [sl, #4] - 8011e94: 2105 movs r1, #5 - 8011e96: eb0a 0209 add.w r2, sl, r9 - 8011e9a: f1b9 0f0f cmp.w r9, #15 - 8011e9e: e9c2 1101 strd r1, r1, [r2, #4] - 8011ea2: f67f aefe bls.w 8011ca2 <_malloc_r+0x24a> - 8011ea6: f10a 0108 add.w r1, sl, #8 - 8011eaa: 4628 mov r0, r5 - 8011eac: f7ff fd14 bl 80118d8 <_free_r> - 8011eb0: 4b05 ldr r3, [pc, #20] @ (8011ec8 <_malloc_r+0x470>) - 8011eb2: e6f6 b.n 8011ca2 <_malloc_r+0x24a> - 8011eb4: 68b4 ldr r4, [r6, #8] - 8011eb6: f047 0301 orr.w r3, r7, #1 - 8011eba: 4427 add r7, r4 - 8011ebc: f042 0201 orr.w r2, r2, #1 - 8011ec0: 6063 str r3, [r4, #4] - 8011ec2: 60b7 str r7, [r6, #8] - 8011ec4: 607a str r2, [r7, #4] - 8011ec6: e5f8 b.n 8011aba <_malloc_r+0x62> - 8011ec8: 2001937c .word 0x2001937c +080123dc <_malloc_r>: + 80123dc: f101 030b add.w r3, r1, #11 + 80123e0: 2b16 cmp r3, #22 + 80123e2: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80123e6: 4605 mov r5, r0 + 80123e8: d906 bls.n 80123f8 <_malloc_r+0x1c> + 80123ea: f033 0707 bics.w r7, r3, #7 + 80123ee: d504 bpl.n 80123fa <_malloc_r+0x1e> + 80123f0: 230c movs r3, #12 + 80123f2: 602b str r3, [r5, #0] + 80123f4: 2400 movs r4, #0 + 80123f6: e1a3 b.n 8012740 <_malloc_r+0x364> + 80123f8: 2710 movs r7, #16 + 80123fa: 42b9 cmp r1, r7 + 80123fc: d8f8 bhi.n 80123f0 <_malloc_r+0x14> + 80123fe: 4628 mov r0, r5 + 8012400: f000 fa26 bl 8012850 <__malloc_lock> + 8012404: f5b7 7ffc cmp.w r7, #504 @ 0x1f8 + 8012408: 4eaf ldr r6, [pc, #700] @ (80126c8 <_malloc_r+0x2ec>) + 801240a: d237 bcs.n 801247c <_malloc_r+0xa0> + 801240c: f107 0208 add.w r2, r7, #8 + 8012410: 4432 add r2, r6 + 8012412: f1a2 0108 sub.w r1, r2, #8 + 8012416: 6854 ldr r4, [r2, #4] + 8012418: 428c cmp r4, r1 + 801241a: ea4f 03d7 mov.w r3, r7, lsr #3 + 801241e: d102 bne.n 8012426 <_malloc_r+0x4a> + 8012420: 68d4 ldr r4, [r2, #12] + 8012422: 42a2 cmp r2, r4 + 8012424: d010 beq.n 8012448 <_malloc_r+0x6c> + 8012426: 6863 ldr r3, [r4, #4] + 8012428: e9d4 1202 ldrd r1, r2, [r4, #8] + 801242c: f023 0303 bic.w r3, r3, #3 + 8012430: 60ca str r2, [r1, #12] + 8012432: 4423 add r3, r4 + 8012434: 6091 str r1, [r2, #8] + 8012436: 685a ldr r2, [r3, #4] + 8012438: f042 0201 orr.w r2, r2, #1 + 801243c: 605a str r2, [r3, #4] + 801243e: 4628 mov r0, r5 + 8012440: f000 fa0c bl 801285c <__malloc_unlock> + 8012444: 3408 adds r4, #8 + 8012446: e17b b.n 8012740 <_malloc_r+0x364> + 8012448: 3302 adds r3, #2 + 801244a: 6934 ldr r4, [r6, #16] + 801244c: 499f ldr r1, [pc, #636] @ (80126cc <_malloc_r+0x2f0>) + 801244e: 428c cmp r4, r1 + 8012450: d077 beq.n 8012542 <_malloc_r+0x166> + 8012452: 6862 ldr r2, [r4, #4] + 8012454: f022 0c03 bic.w ip, r2, #3 + 8012458: ebac 0007 sub.w r0, ip, r7 + 801245c: 280f cmp r0, #15 + 801245e: dd48 ble.n 80124f2 <_malloc_r+0x116> + 8012460: 19e2 adds r2, r4, r7 + 8012462: f040 0301 orr.w r3, r0, #1 + 8012466: f047 0701 orr.w r7, r7, #1 + 801246a: 6067 str r7, [r4, #4] + 801246c: e9c6 2204 strd r2, r2, [r6, #16] + 8012470: e9c2 1102 strd r1, r1, [r2, #8] + 8012474: 6053 str r3, [r2, #4] + 8012476: f844 000c str.w r0, [r4, ip] + 801247a: e7e0 b.n 801243e <_malloc_r+0x62> + 801247c: 0a7b lsrs r3, r7, #9 + 801247e: d02a beq.n 80124d6 <_malloc_r+0xfa> + 8012480: 2b04 cmp r3, #4 + 8012482: d812 bhi.n 80124aa <_malloc_r+0xce> + 8012484: 09bb lsrs r3, r7, #6 + 8012486: 3338 adds r3, #56 @ 0x38 + 8012488: 1c5a adds r2, r3, #1 + 801248a: eb06 02c2 add.w r2, r6, r2, lsl #3 + 801248e: f1a2 0c08 sub.w ip, r2, #8 + 8012492: 6854 ldr r4, [r2, #4] + 8012494: 4564 cmp r4, ip + 8012496: d006 beq.n 80124a6 <_malloc_r+0xca> + 8012498: 6862 ldr r2, [r4, #4] + 801249a: f022 0203 bic.w r2, r2, #3 + 801249e: 1bd0 subs r0, r2, r7 + 80124a0: 280f cmp r0, #15 + 80124a2: dd1c ble.n 80124de <_malloc_r+0x102> + 80124a4: 3b01 subs r3, #1 + 80124a6: 3301 adds r3, #1 + 80124a8: e7cf b.n 801244a <_malloc_r+0x6e> + 80124aa: 2b14 cmp r3, #20 + 80124ac: d801 bhi.n 80124b2 <_malloc_r+0xd6> + 80124ae: 335b adds r3, #91 @ 0x5b + 80124b0: e7ea b.n 8012488 <_malloc_r+0xac> + 80124b2: 2b54 cmp r3, #84 @ 0x54 + 80124b4: d802 bhi.n 80124bc <_malloc_r+0xe0> + 80124b6: 0b3b lsrs r3, r7, #12 + 80124b8: 336e adds r3, #110 @ 0x6e + 80124ba: e7e5 b.n 8012488 <_malloc_r+0xac> + 80124bc: f5b3 7faa cmp.w r3, #340 @ 0x154 + 80124c0: d802 bhi.n 80124c8 <_malloc_r+0xec> + 80124c2: 0bfb lsrs r3, r7, #15 + 80124c4: 3377 adds r3, #119 @ 0x77 + 80124c6: e7df b.n 8012488 <_malloc_r+0xac> + 80124c8: f240 5254 movw r2, #1364 @ 0x554 + 80124cc: 4293 cmp r3, r2 + 80124ce: d804 bhi.n 80124da <_malloc_r+0xfe> + 80124d0: 0cbb lsrs r3, r7, #18 + 80124d2: 337c adds r3, #124 @ 0x7c + 80124d4: e7d8 b.n 8012488 <_malloc_r+0xac> + 80124d6: 233f movs r3, #63 @ 0x3f + 80124d8: e7d6 b.n 8012488 <_malloc_r+0xac> + 80124da: 237e movs r3, #126 @ 0x7e + 80124dc: e7d4 b.n 8012488 <_malloc_r+0xac> + 80124de: 2800 cmp r0, #0 + 80124e0: 68e1 ldr r1, [r4, #12] + 80124e2: db04 blt.n 80124ee <_malloc_r+0x112> + 80124e4: 68a3 ldr r3, [r4, #8] + 80124e6: 60d9 str r1, [r3, #12] + 80124e8: 608b str r3, [r1, #8] + 80124ea: 18a3 adds r3, r4, r2 + 80124ec: e7a3 b.n 8012436 <_malloc_r+0x5a> + 80124ee: 460c mov r4, r1 + 80124f0: e7d0 b.n 8012494 <_malloc_r+0xb8> + 80124f2: 2800 cmp r0, #0 + 80124f4: e9c6 1104 strd r1, r1, [r6, #16] + 80124f8: db07 blt.n 801250a <_malloc_r+0x12e> + 80124fa: 44a4 add ip, r4 + 80124fc: f8dc 3004 ldr.w r3, [ip, #4] + 8012500: f043 0301 orr.w r3, r3, #1 + 8012504: f8cc 3004 str.w r3, [ip, #4] + 8012508: e799 b.n 801243e <_malloc_r+0x62> + 801250a: f5bc 7f00 cmp.w ip, #512 @ 0x200 + 801250e: 6870 ldr r0, [r6, #4] + 8012510: f080 8095 bcs.w 801263e <_malloc_r+0x262> + 8012514: ea4f 02dc mov.w r2, ip, lsr #3 + 8012518: ea4f 1e5c mov.w lr, ip, lsr #5 + 801251c: f04f 0c01 mov.w ip, #1 + 8012520: 3201 adds r2, #1 + 8012522: fa0c fc0e lsl.w ip, ip, lr + 8012526: ea4c 0000 orr.w r0, ip, r0 + 801252a: 6070 str r0, [r6, #4] + 801252c: f856 c032 ldr.w ip, [r6, r2, lsl #3] + 8012530: eb06 00c2 add.w r0, r6, r2, lsl #3 + 8012534: 3808 subs r0, #8 + 8012536: e9c4 c002 strd ip, r0, [r4, #8] + 801253a: f846 4032 str.w r4, [r6, r2, lsl #3] + 801253e: f8cc 400c str.w r4, [ip, #12] + 8012542: 1098 asrs r0, r3, #2 + 8012544: 2201 movs r2, #1 + 8012546: 4082 lsls r2, r0 + 8012548: 6870 ldr r0, [r6, #4] + 801254a: 4290 cmp r0, r2 + 801254c: d326 bcc.n 801259c <_malloc_r+0x1c0> + 801254e: 4210 tst r0, r2 + 8012550: d106 bne.n 8012560 <_malloc_r+0x184> + 8012552: f023 0303 bic.w r3, r3, #3 + 8012556: 0052 lsls r2, r2, #1 + 8012558: 4210 tst r0, r2 + 801255a: f103 0304 add.w r3, r3, #4 + 801255e: d0fa beq.n 8012556 <_malloc_r+0x17a> + 8012560: eb06 08c3 add.w r8, r6, r3, lsl #3 + 8012564: 46c1 mov r9, r8 + 8012566: 469e mov lr, r3 + 8012568: f8d9 400c ldr.w r4, [r9, #12] + 801256c: 454c cmp r4, r9 + 801256e: f040 80b9 bne.w 80126e4 <_malloc_r+0x308> + 8012572: f10e 0e01 add.w lr, lr, #1 + 8012576: f01e 0f03 tst.w lr, #3 + 801257a: f109 0908 add.w r9, r9, #8 + 801257e: d1f3 bne.n 8012568 <_malloc_r+0x18c> + 8012580: 0798 lsls r0, r3, #30 + 8012582: f040 80e3 bne.w 801274c <_malloc_r+0x370> + 8012586: 6873 ldr r3, [r6, #4] + 8012588: ea23 0302 bic.w r3, r3, r2 + 801258c: 6073 str r3, [r6, #4] + 801258e: 6870 ldr r0, [r6, #4] + 8012590: 0052 lsls r2, r2, #1 + 8012592: 4290 cmp r0, r2 + 8012594: d302 bcc.n 801259c <_malloc_r+0x1c0> + 8012596: 2a00 cmp r2, #0 + 8012598: f040 80e5 bne.w 8012766 <_malloc_r+0x38a> + 801259c: f8d6 a008 ldr.w sl, [r6, #8] + 80125a0: f8da 3004 ldr.w r3, [sl, #4] + 80125a4: f023 0903 bic.w r9, r3, #3 + 80125a8: 45b9 cmp r9, r7 + 80125aa: d304 bcc.n 80125b6 <_malloc_r+0x1da> + 80125ac: eba9 0207 sub.w r2, r9, r7 + 80125b0: 2a0f cmp r2, #15 + 80125b2: f300 8141 bgt.w 8012838 <_malloc_r+0x45c> + 80125b6: 4b46 ldr r3, [pc, #280] @ (80126d0 <_malloc_r+0x2f4>) + 80125b8: 6819 ldr r1, [r3, #0] + 80125ba: 3110 adds r1, #16 + 80125bc: 4439 add r1, r7 + 80125be: 2008 movs r0, #8 + 80125c0: 9101 str r1, [sp, #4] + 80125c2: f002 fc09 bl 8014dd8 + 80125c6: 4a43 ldr r2, [pc, #268] @ (80126d4 <_malloc_r+0x2f8>) + 80125c8: 9901 ldr r1, [sp, #4] + 80125ca: 6813 ldr r3, [r2, #0] + 80125cc: 3301 adds r3, #1 + 80125ce: bf1f itttt ne + 80125d0: f101 31ff addne.w r1, r1, #4294967295 + 80125d4: 1809 addne r1, r1, r0 + 80125d6: 4243 negne r3, r0 + 80125d8: 4019 andne r1, r3 + 80125da: 4680 mov r8, r0 + 80125dc: 4628 mov r0, r5 + 80125de: 9101 str r1, [sp, #4] + 80125e0: f002 fbd6 bl 8014d90 <_sbrk_r> + 80125e4: 1c42 adds r2, r0, #1 + 80125e6: eb0a 0b09 add.w fp, sl, r9 + 80125ea: 4604 mov r4, r0 + 80125ec: f000 80f7 beq.w 80127de <_malloc_r+0x402> + 80125f0: 4583 cmp fp, r0 + 80125f2: 9901 ldr r1, [sp, #4] + 80125f4: 4a37 ldr r2, [pc, #220] @ (80126d4 <_malloc_r+0x2f8>) + 80125f6: d902 bls.n 80125fe <_malloc_r+0x222> + 80125f8: 45b2 cmp sl, r6 + 80125fa: f040 80f0 bne.w 80127de <_malloc_r+0x402> + 80125fe: 4b36 ldr r3, [pc, #216] @ (80126d8 <_malloc_r+0x2fc>) + 8012600: 6818 ldr r0, [r3, #0] + 8012602: 45a3 cmp fp, r4 + 8012604: eb00 0e01 add.w lr, r0, r1 + 8012608: f8c3 e000 str.w lr, [r3] + 801260c: f108 3cff add.w ip, r8, #4294967295 + 8012610: f040 80ab bne.w 801276a <_malloc_r+0x38e> + 8012614: ea1b 0f0c tst.w fp, ip + 8012618: f040 80a7 bne.w 801276a <_malloc_r+0x38e> + 801261c: 68b2 ldr r2, [r6, #8] + 801261e: 4449 add r1, r9 + 8012620: f041 0101 orr.w r1, r1, #1 + 8012624: 6051 str r1, [r2, #4] + 8012626: 4a2d ldr r2, [pc, #180] @ (80126dc <_malloc_r+0x300>) + 8012628: 681b ldr r3, [r3, #0] + 801262a: 6811 ldr r1, [r2, #0] + 801262c: 428b cmp r3, r1 + 801262e: bf88 it hi + 8012630: 6013 strhi r3, [r2, #0] + 8012632: 4a2b ldr r2, [pc, #172] @ (80126e0 <_malloc_r+0x304>) + 8012634: 6811 ldr r1, [r2, #0] + 8012636: 428b cmp r3, r1 + 8012638: bf88 it hi + 801263a: 6013 strhi r3, [r2, #0] + 801263c: e0cf b.n 80127de <_malloc_r+0x402> + 801263e: f5bc 6f20 cmp.w ip, #2560 @ 0xa00 + 8012642: ea4f 225c mov.w r2, ip, lsr #9 + 8012646: d218 bcs.n 801267a <_malloc_r+0x29e> + 8012648: ea4f 129c mov.w r2, ip, lsr #6 + 801264c: 3238 adds r2, #56 @ 0x38 + 801264e: f102 0e01 add.w lr, r2, #1 + 8012652: eb06 08c2 add.w r8, r6, r2, lsl #3 + 8012656: f856 e03e ldr.w lr, [r6, lr, lsl #3] + 801265a: 45f0 cmp r8, lr + 801265c: d12b bne.n 80126b6 <_malloc_r+0x2da> + 801265e: 1092 asrs r2, r2, #2 + 8012660: f04f 0c01 mov.w ip, #1 + 8012664: fa0c f202 lsl.w r2, ip, r2 + 8012668: 4302 orrs r2, r0 + 801266a: 6072 str r2, [r6, #4] + 801266c: e9c4 e802 strd lr, r8, [r4, #8] + 8012670: f8c8 4008 str.w r4, [r8, #8] + 8012674: f8ce 400c str.w r4, [lr, #12] + 8012678: e763 b.n 8012542 <_malloc_r+0x166> + 801267a: 2a14 cmp r2, #20 + 801267c: d801 bhi.n 8012682 <_malloc_r+0x2a6> + 801267e: 325b adds r2, #91 @ 0x5b + 8012680: e7e5 b.n 801264e <_malloc_r+0x272> + 8012682: 2a54 cmp r2, #84 @ 0x54 + 8012684: d803 bhi.n 801268e <_malloc_r+0x2b2> + 8012686: ea4f 321c mov.w r2, ip, lsr #12 + 801268a: 326e adds r2, #110 @ 0x6e + 801268c: e7df b.n 801264e <_malloc_r+0x272> + 801268e: f5b2 7faa cmp.w r2, #340 @ 0x154 + 8012692: d803 bhi.n 801269c <_malloc_r+0x2c0> + 8012694: ea4f 32dc mov.w r2, ip, lsr #15 + 8012698: 3277 adds r2, #119 @ 0x77 + 801269a: e7d8 b.n 801264e <_malloc_r+0x272> + 801269c: f240 5e54 movw lr, #1364 @ 0x554 + 80126a0: 4572 cmp r2, lr + 80126a2: bf9a itte ls + 80126a4: ea4f 429c movls.w r2, ip, lsr #18 + 80126a8: 327c addls r2, #124 @ 0x7c + 80126aa: 227e movhi r2, #126 @ 0x7e + 80126ac: e7cf b.n 801264e <_malloc_r+0x272> + 80126ae: f8de e008 ldr.w lr, [lr, #8] + 80126b2: 45f0 cmp r8, lr + 80126b4: d005 beq.n 80126c2 <_malloc_r+0x2e6> + 80126b6: f8de 2004 ldr.w r2, [lr, #4] + 80126ba: f022 0203 bic.w r2, r2, #3 + 80126be: 4562 cmp r2, ip + 80126c0: d8f5 bhi.n 80126ae <_malloc_r+0x2d2> + 80126c2: f8de 800c ldr.w r8, [lr, #12] + 80126c6: e7d1 b.n 801266c <_malloc_r+0x290> + 80126c8: 2000016c .word 0x2000016c + 80126cc: 20000174 .word 0x20000174 + 80126d0: 200193e0 .word 0x200193e0 + 80126d4: 20000164 .word 0x20000164 + 80126d8: 200193b0 .word 0x200193b0 + 80126dc: 200193dc .word 0x200193dc + 80126e0: 200193d8 .word 0x200193d8 + 80126e4: 6860 ldr r0, [r4, #4] + 80126e6: f8d4 c00c ldr.w ip, [r4, #12] + 80126ea: f020 0003 bic.w r0, r0, #3 + 80126ee: eba0 0a07 sub.w sl, r0, r7 + 80126f2: f1ba 0f0f cmp.w sl, #15 + 80126f6: dd12 ble.n 801271e <_malloc_r+0x342> + 80126f8: 68a3 ldr r3, [r4, #8] + 80126fa: 19e2 adds r2, r4, r7 + 80126fc: f047 0701 orr.w r7, r7, #1 + 8012700: 6067 str r7, [r4, #4] + 8012702: f8c3 c00c str.w ip, [r3, #12] + 8012706: f8cc 3008 str.w r3, [ip, #8] + 801270a: f04a 0301 orr.w r3, sl, #1 + 801270e: e9c6 2204 strd r2, r2, [r6, #16] + 8012712: e9c2 1102 strd r1, r1, [r2, #8] + 8012716: 6053 str r3, [r2, #4] + 8012718: f844 a000 str.w sl, [r4, r0] + 801271c: e68f b.n 801243e <_malloc_r+0x62> + 801271e: f1ba 0f00 cmp.w sl, #0 + 8012722: db11 blt.n 8012748 <_malloc_r+0x36c> + 8012724: 4420 add r0, r4 + 8012726: 6843 ldr r3, [r0, #4] + 8012728: f043 0301 orr.w r3, r3, #1 + 801272c: 6043 str r3, [r0, #4] + 801272e: f854 3f08 ldr.w r3, [r4, #8]! + 8012732: 4628 mov r0, r5 + 8012734: f8c3 c00c str.w ip, [r3, #12] + 8012738: f8cc 3008 str.w r3, [ip, #8] + 801273c: f000 f88e bl 801285c <__malloc_unlock> + 8012740: 4620 mov r0, r4 + 8012742: b003 add sp, #12 + 8012744: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8012748: 4664 mov r4, ip + 801274a: e70f b.n 801256c <_malloc_r+0x190> + 801274c: f858 0908 ldr.w r0, [r8], #-8 + 8012750: 4540 cmp r0, r8 + 8012752: f103 33ff add.w r3, r3, #4294967295 + 8012756: f43f af13 beq.w 8012580 <_malloc_r+0x1a4> + 801275a: e718 b.n 801258e <_malloc_r+0x1b2> + 801275c: 3304 adds r3, #4 + 801275e: 0052 lsls r2, r2, #1 + 8012760: 4210 tst r0, r2 + 8012762: d0fb beq.n 801275c <_malloc_r+0x380> + 8012764: e6fc b.n 8012560 <_malloc_r+0x184> + 8012766: 4673 mov r3, lr + 8012768: e7fa b.n 8012760 <_malloc_r+0x384> + 801276a: 6810 ldr r0, [r2, #0] + 801276c: 3001 adds r0, #1 + 801276e: bf1b ittet ne + 8012770: eba4 0b0b subne.w fp, r4, fp + 8012774: eb0b 020e addne.w r2, fp, lr + 8012778: 6014 streq r4, [r2, #0] + 801277a: 601a strne r2, [r3, #0] + 801277c: f014 0b07 ands.w fp, r4, #7 + 8012780: bf1a itte ne + 8012782: f1cb 0008 rsbne r0, fp, #8 + 8012786: 1824 addne r4, r4, r0 + 8012788: 4658 moveq r0, fp + 801278a: 1862 adds r2, r4, r1 + 801278c: ea02 010c and.w r1, r2, ip + 8012790: 4480 add r8, r0 + 8012792: eba8 0801 sub.w r8, r8, r1 + 8012796: ea08 080c and.w r8, r8, ip + 801279a: 4641 mov r1, r8 + 801279c: 4628 mov r0, r5 + 801279e: 9201 str r2, [sp, #4] + 80127a0: f002 faf6 bl 8014d90 <_sbrk_r> + 80127a4: 1c43 adds r3, r0, #1 + 80127a6: 9a01 ldr r2, [sp, #4] + 80127a8: 4b28 ldr r3, [pc, #160] @ (801284c <_malloc_r+0x470>) + 80127aa: d107 bne.n 80127bc <_malloc_r+0x3e0> + 80127ac: f1bb 0f00 cmp.w fp, #0 + 80127b0: d023 beq.n 80127fa <_malloc_r+0x41e> + 80127b2: f1ab 0008 sub.w r0, fp, #8 + 80127b6: 4410 add r0, r2 + 80127b8: f04f 0800 mov.w r8, #0 + 80127bc: 681a ldr r2, [r3, #0] + 80127be: 60b4 str r4, [r6, #8] + 80127c0: 1b00 subs r0, r0, r4 + 80127c2: 4440 add r0, r8 + 80127c4: 4442 add r2, r8 + 80127c6: f040 0001 orr.w r0, r0, #1 + 80127ca: 45b2 cmp sl, r6 + 80127cc: 601a str r2, [r3, #0] + 80127ce: 6060 str r0, [r4, #4] + 80127d0: f43f af29 beq.w 8012626 <_malloc_r+0x24a> + 80127d4: f1b9 0f0f cmp.w r9, #15 + 80127d8: d812 bhi.n 8012800 <_malloc_r+0x424> + 80127da: 2301 movs r3, #1 + 80127dc: 6063 str r3, [r4, #4] + 80127de: 68b3 ldr r3, [r6, #8] + 80127e0: 685b ldr r3, [r3, #4] + 80127e2: f023 0303 bic.w r3, r3, #3 + 80127e6: 42bb cmp r3, r7 + 80127e8: eba3 0207 sub.w r2, r3, r7 + 80127ec: d301 bcc.n 80127f2 <_malloc_r+0x416> + 80127ee: 2a0f cmp r2, #15 + 80127f0: dc22 bgt.n 8012838 <_malloc_r+0x45c> + 80127f2: 4628 mov r0, r5 + 80127f4: f000 f832 bl 801285c <__malloc_unlock> + 80127f8: e5fc b.n 80123f4 <_malloc_r+0x18> + 80127fa: 4610 mov r0, r2 + 80127fc: 46d8 mov r8, fp + 80127fe: e7dd b.n 80127bc <_malloc_r+0x3e0> + 8012800: f8da 2004 ldr.w r2, [sl, #4] + 8012804: f1a9 090c sub.w r9, r9, #12 + 8012808: f029 0907 bic.w r9, r9, #7 + 801280c: f002 0201 and.w r2, r2, #1 + 8012810: ea42 0209 orr.w r2, r2, r9 + 8012814: f8ca 2004 str.w r2, [sl, #4] + 8012818: 2105 movs r1, #5 + 801281a: eb0a 0209 add.w r2, sl, r9 + 801281e: f1b9 0f0f cmp.w r9, #15 + 8012822: e9c2 1101 strd r1, r1, [r2, #4] + 8012826: f67f aefe bls.w 8012626 <_malloc_r+0x24a> + 801282a: f10a 0108 add.w r1, sl, #8 + 801282e: 4628 mov r0, r5 + 8012830: f7ff fd14 bl 801225c <_free_r> + 8012834: 4b05 ldr r3, [pc, #20] @ (801284c <_malloc_r+0x470>) + 8012836: e6f6 b.n 8012626 <_malloc_r+0x24a> + 8012838: 68b4 ldr r4, [r6, #8] + 801283a: f047 0301 orr.w r3, r7, #1 + 801283e: 4427 add r7, r4 + 8012840: f042 0201 orr.w r2, r2, #1 + 8012844: 6063 str r3, [r4, #4] + 8012846: 60b7 str r7, [r6, #8] + 8012848: 607a str r2, [r7, #4] + 801284a: e5f8 b.n 801243e <_malloc_r+0x62> + 801284c: 200193b0 .word 0x200193b0 -08011ecc <__malloc_lock>: - 8011ecc: 4801 ldr r0, [pc, #4] @ (8011ed4 <__malloc_lock+0x8>) - 8011ece: f7ff bc8d b.w 80117ec <__retarget_lock_acquire_recursive> - 8011ed2: bf00 nop - 8011ed4: 20019374 .word 0x20019374 +08012850 <__malloc_lock>: + 8012850: 4801 ldr r0, [pc, #4] @ (8012858 <__malloc_lock+0x8>) + 8012852: f7ff bc8d b.w 8012170 <__retarget_lock_acquire_recursive> + 8012856: bf00 nop + 8012858: 200193a8 .word 0x200193a8 -08011ed8 <__malloc_unlock>: - 8011ed8: 4801 ldr r0, [pc, #4] @ (8011ee0 <__malloc_unlock+0x8>) - 8011eda: f7ff bc88 b.w 80117ee <__retarget_lock_release_recursive> - 8011ede: bf00 nop - 8011ee0: 20019374 .word 0x20019374 - 8011ee4: 00000000 .word 0x00000000 +0801285c <__malloc_unlock>: + 801285c: 4801 ldr r0, [pc, #4] @ (8012864 <__malloc_unlock+0x8>) + 801285e: f7ff bc88 b.w 8012172 <__retarget_lock_release_recursive> + 8012862: bf00 nop + 8012864: 200193a8 .word 0x200193a8 -08011ee8 <_vfprintf_r>: - 8011ee8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8011eec: b0d3 sub sp, #332 @ 0x14c - 8011eee: 468b mov fp, r1 - 8011ef0: 4690 mov r8, r2 - 8011ef2: 461c mov r4, r3 - 8011ef4: 461e mov r6, r3 - 8011ef6: 9003 str r0, [sp, #12] - 8011ef8: f002 fa86 bl 8014408 <_localeconv_r> - 8011efc: 6803 ldr r3, [r0, #0] - 8011efe: 9316 str r3, [sp, #88] @ 0x58 - 8011f00: 4618 mov r0, r3 - 8011f02: f7ee f975 bl 80001f0 - 8011f06: 9b03 ldr r3, [sp, #12] - 8011f08: 900d str r0, [sp, #52] @ 0x34 - 8011f0a: b123 cbz r3, 8011f16 <_vfprintf_r+0x2e> - 8011f0c: 6b5b ldr r3, [r3, #52] @ 0x34 - 8011f0e: b913 cbnz r3, 8011f16 <_vfprintf_r+0x2e> - 8011f10: 9803 ldr r0, [sp, #12] - 8011f12: f7ff fb3b bl 801158c <__sinit> - 8011f16: f8db 3064 ldr.w r3, [fp, #100] @ 0x64 - 8011f1a: 07da lsls r2, r3, #31 - 8011f1c: d407 bmi.n 8011f2e <_vfprintf_r+0x46> - 8011f1e: f8bb 300c ldrh.w r3, [fp, #12] - 8011f22: 059b lsls r3, r3, #22 - 8011f24: d403 bmi.n 8011f2e <_vfprintf_r+0x46> - 8011f26: f8db 0058 ldr.w r0, [fp, #88] @ 0x58 - 8011f2a: f7ff fc5f bl 80117ec <__retarget_lock_acquire_recursive> - 8011f2e: f9bb 300c ldrsh.w r3, [fp, #12] - 8011f32: 049f lsls r7, r3, #18 - 8011f34: d409 bmi.n 8011f4a <_vfprintf_r+0x62> - 8011f36: f443 5300 orr.w r3, r3, #8192 @ 0x2000 - 8011f3a: f8ab 300c strh.w r3, [fp, #12] - 8011f3e: f8db 3064 ldr.w r3, [fp, #100] @ 0x64 - 8011f42: f423 5300 bic.w r3, r3, #8192 @ 0x2000 - 8011f46: f8cb 3064 str.w r3, [fp, #100] @ 0x64 - 8011f4a: f8bb 300c ldrh.w r3, [fp, #12] - 8011f4e: 071d lsls r5, r3, #28 - 8011f50: d502 bpl.n 8011f58 <_vfprintf_r+0x70> - 8011f52: f8db 3010 ldr.w r3, [fp, #16] - 8011f56: b9c3 cbnz r3, 8011f8a <_vfprintf_r+0xa2> - 8011f58: 9803 ldr r0, [sp, #12] - 8011f5a: 4659 mov r1, fp - 8011f5c: f002 f97a bl 8014254 <__swsetup_r> - 8011f60: b198 cbz r0, 8011f8a <_vfprintf_r+0xa2> - 8011f62: f8db 3064 ldr.w r3, [fp, #100] @ 0x64 - 8011f66: 07d8 lsls r0, r3, #31 - 8011f68: d506 bpl.n 8011f78 <_vfprintf_r+0x90> - 8011f6a: f04f 33ff mov.w r3, #4294967295 - 8011f6e: 930f str r3, [sp, #60] @ 0x3c - 8011f70: 980f ldr r0, [sp, #60] @ 0x3c - 8011f72: b053 add sp, #332 @ 0x14c - 8011f74: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8011f78: f8bb 300c ldrh.w r3, [fp, #12] - 8011f7c: 0599 lsls r1, r3, #22 - 8011f7e: d4f4 bmi.n 8011f6a <_vfprintf_r+0x82> - 8011f80: f8db 0058 ldr.w r0, [fp, #88] @ 0x58 - 8011f84: f7ff fc33 bl 80117ee <__retarget_lock_release_recursive> - 8011f88: e7ef b.n 8011f6a <_vfprintf_r+0x82> - 8011f8a: f9bb 300c ldrsh.w r3, [fp, #12] - 8011f8e: f003 021a and.w r2, r3, #26 - 8011f92: 2a0a cmp r2, #10 - 8011f94: d116 bne.n 8011fc4 <_vfprintf_r+0xdc> - 8011f96: f9bb 200e ldrsh.w r2, [fp, #14] - 8011f9a: 2a00 cmp r2, #0 - 8011f9c: db12 blt.n 8011fc4 <_vfprintf_r+0xdc> - 8011f9e: f8db 2064 ldr.w r2, [fp, #100] @ 0x64 - 8011fa2: 07d2 lsls r2, r2, #31 - 8011fa4: d405 bmi.n 8011fb2 <_vfprintf_r+0xca> - 8011fa6: 059b lsls r3, r3, #22 - 8011fa8: d403 bmi.n 8011fb2 <_vfprintf_r+0xca> - 8011faa: f8db 0058 ldr.w r0, [fp, #88] @ 0x58 - 8011fae: f7ff fc1e bl 80117ee <__retarget_lock_release_recursive> - 8011fb2: 9803 ldr r0, [sp, #12] - 8011fb4: 4623 mov r3, r4 - 8011fb6: 4642 mov r2, r8 - 8011fb8: 4659 mov r1, fp - 8011fba: b053 add sp, #332 @ 0x14c - 8011fbc: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8011fc0: f001 b9be b.w 8013340 <__sbprintf> - 8011fc4: ed9f 7b92 vldr d7, [pc, #584] @ 8012210 <_vfprintf_r+0x328> - 8011fc8: 2300 movs r3, #0 - 8011fca: e9cd 3327 strd r3, r3, [sp, #156] @ 0x9c - 8011fce: ed8d 7b0a vstr d7, [sp, #40] @ 0x28 - 8011fd2: e9cd 3318 strd r3, r3, [sp, #96] @ 0x60 - 8011fd6: ac29 add r4, sp, #164 @ 0xa4 - 8011fd8: 9426 str r4, [sp, #152] @ 0x98 - 8011fda: 9304 str r3, [sp, #16] - 8011fdc: 9309 str r3, [sp, #36] @ 0x24 - 8011fde: 9312 str r3, [sp, #72] @ 0x48 - 8011fe0: 9317 str r3, [sp, #92] @ 0x5c - 8011fe2: 930f str r3, [sp, #60] @ 0x3c - 8011fe4: 4643 mov r3, r8 - 8011fe6: 461d mov r5, r3 - 8011fe8: f813 2b01 ldrb.w r2, [r3], #1 - 8011fec: b10a cbz r2, 8011ff2 <_vfprintf_r+0x10a> - 8011fee: 2a25 cmp r2, #37 @ 0x25 - 8011ff0: d1f9 bne.n 8011fe6 <_vfprintf_r+0xfe> - 8011ff2: ebb5 0708 subs.w r7, r5, r8 - 8011ff6: d00d beq.n 8012014 <_vfprintf_r+0x12c> - 8011ff8: 9b28 ldr r3, [sp, #160] @ 0xa0 - 8011ffa: 443b add r3, r7 - 8011ffc: 9328 str r3, [sp, #160] @ 0xa0 - 8011ffe: 9b27 ldr r3, [sp, #156] @ 0x9c - 8012000: 3301 adds r3, #1 - 8012002: 2b07 cmp r3, #7 - 8012004: e9c4 8700 strd r8, r7, [r4] - 8012008: 9327 str r3, [sp, #156] @ 0x9c - 801200a: dc75 bgt.n 80120f8 <_vfprintf_r+0x210> - 801200c: 3408 adds r4, #8 - 801200e: 9b0f ldr r3, [sp, #60] @ 0x3c - 8012010: 443b add r3, r7 - 8012012: 930f str r3, [sp, #60] @ 0x3c - 8012014: 782b ldrb r3, [r5, #0] - 8012016: 2b00 cmp r3, #0 - 8012018: f001 814f beq.w 80132ba <_vfprintf_r+0x13d2> - 801201c: 2200 movs r2, #0 - 801201e: 1c6b adds r3, r5, #1 - 8012020: f88d 207b strb.w r2, [sp, #123] @ 0x7b - 8012024: f04f 39ff mov.w r9, #4294967295 - 8012028: 920e str r2, [sp, #56] @ 0x38 - 801202a: 4615 mov r5, r2 - 801202c: f813 2b01 ldrb.w r2, [r3], #1 - 8012030: 9206 str r2, [sp, #24] - 8012032: 930c str r3, [sp, #48] @ 0x30 - 8012034: 9b06 ldr r3, [sp, #24] - 8012036: 3b20 subs r3, #32 - 8012038: 2b5a cmp r3, #90 @ 0x5a - 801203a: f200 85aa bhi.w 8012b92 <_vfprintf_r+0xcaa> - 801203e: e8df f013 tbh [pc, r3, lsl #1] - 8012042: 009d .short 0x009d - 8012044: 05a805a8 .word 0x05a805a8 - 8012048: 05a800a5 .word 0x05a800a5 - 801204c: 05a805a8 .word 0x05a805a8 - 8012050: 05a80085 .word 0x05a80085 - 8012054: 00a805a8 .word 0x00a805a8 - 8012058: 05a800b2 .word 0x05a800b2 - 801205c: 00b400af .word 0x00b400af - 8012060: 00ce05a8 .word 0x00ce05a8 - 8012064: 00d100d1 .word 0x00d100d1 - 8012068: 00d100d1 .word 0x00d100d1 - 801206c: 00d100d1 .word 0x00d100d1 - 8012070: 00d100d1 .word 0x00d100d1 - 8012074: 05a800d1 .word 0x05a800d1 - 8012078: 05a805a8 .word 0x05a805a8 - 801207c: 05a805a8 .word 0x05a805a8 - 8012080: 05a805a8 .word 0x05a805a8 - 8012084: 05a80146 .word 0x05a80146 - 8012088: 011a0107 .word 0x011a0107 - 801208c: 01460146 .word 0x01460146 - 8012090: 05a80146 .word 0x05a80146 - 8012094: 05a805a8 .word 0x05a805a8 - 8012098: 00e205a8 .word 0x00e205a8 - 801209c: 05a805a8 .word 0x05a805a8 - 80120a0: 05a804a3 .word 0x05a804a3 - 80120a4: 05a805a8 .word 0x05a805a8 - 80120a8: 05a804ed .word 0x05a804ed - 80120ac: 05a8050e .word 0x05a8050e - 80120b0: 053005a8 .word 0x053005a8 - 80120b4: 05a805a8 .word 0x05a805a8 - 80120b8: 05a805a8 .word 0x05a805a8 - 80120bc: 05a805a8 .word 0x05a805a8 - 80120c0: 05a805a8 .word 0x05a805a8 - 80120c4: 05a80146 .word 0x05a80146 - 80120c8: 011c0107 .word 0x011c0107 - 80120cc: 01460146 .word 0x01460146 - 80120d0: 00ed0146 .word 0x00ed0146 - 80120d4: 0101011c .word 0x0101011c - 80120d8: 00fa05a8 .word 0x00fa05a8 - 80120dc: 048705a8 .word 0x048705a8 - 80120e0: 04dc04a5 .word 0x04dc04a5 - 80120e4: 05a80101 .word 0x05a80101 - 80120e8: 009b04ed .word 0x009b04ed - 80120ec: 05a80510 .word 0x05a80510 - 80120f0: 006505a8 .word 0x006505a8 - 80120f4: 009b05a8 .word 0x009b05a8 - 80120f8: 9803 ldr r0, [sp, #12] - 80120fa: aa26 add r2, sp, #152 @ 0x98 - 80120fc: 4659 mov r1, fp - 80120fe: f001 f95f bl 80133c0 <__sprint_r> - 8012102: 2800 cmp r0, #0 - 8012104: f040 814d bne.w 80123a2 <_vfprintf_r+0x4ba> - 8012108: ac29 add r4, sp, #164 @ 0xa4 - 801210a: e780 b.n 801200e <_vfprintf_r+0x126> - 801210c: 4b42 ldr r3, [pc, #264] @ (8012218 <_vfprintf_r+0x330>) - 801210e: 9319 str r3, [sp, #100] @ 0x64 - 8012110: f015 0320 ands.w r3, r5, #32 - 8012114: f000 84c8 beq.w 8012aa8 <_vfprintf_r+0xbc0> - 8012118: 3607 adds r6, #7 - 801211a: f026 0307 bic.w r3, r6, #7 - 801211e: 461a mov r2, r3 - 8012120: 685f ldr r7, [r3, #4] - 8012122: f852 6b08 ldr.w r6, [r2], #8 - 8012126: 9207 str r2, [sp, #28] - 8012128: 07eb lsls r3, r5, #31 - 801212a: d50a bpl.n 8012142 <_vfprintf_r+0x25a> - 801212c: ea56 0307 orrs.w r3, r6, r7 - 8012130: d007 beq.n 8012142 <_vfprintf_r+0x25a> - 8012132: 2330 movs r3, #48 @ 0x30 - 8012134: f88d 307c strb.w r3, [sp, #124] @ 0x7c - 8012138: 9b06 ldr r3, [sp, #24] - 801213a: f88d 307d strb.w r3, [sp, #125] @ 0x7d - 801213e: f045 0502 orr.w r5, r5, #2 - 8012142: f425 6580 bic.w r5, r5, #1024 @ 0x400 - 8012146: 2302 movs r3, #2 - 8012148: f000 bc2e b.w 80129a8 <_vfprintf_r+0xac0> - 801214c: 9803 ldr r0, [sp, #12] - 801214e: f002 f95b bl 8014408 <_localeconv_r> - 8012152: 6843 ldr r3, [r0, #4] - 8012154: 9317 str r3, [sp, #92] @ 0x5c - 8012156: 4618 mov r0, r3 - 8012158: f7ee f84a bl 80001f0 - 801215c: 9012 str r0, [sp, #72] @ 0x48 - 801215e: 9803 ldr r0, [sp, #12] - 8012160: f002 f952 bl 8014408 <_localeconv_r> - 8012164: 6883 ldr r3, [r0, #8] - 8012166: 9309 str r3, [sp, #36] @ 0x24 - 8012168: 9b12 ldr r3, [sp, #72] @ 0x48 - 801216a: b12b cbz r3, 8012178 <_vfprintf_r+0x290> - 801216c: 9b09 ldr r3, [sp, #36] @ 0x24 - 801216e: b11b cbz r3, 8012178 <_vfprintf_r+0x290> - 8012170: 781b ldrb r3, [r3, #0] - 8012172: b10b cbz r3, 8012178 <_vfprintf_r+0x290> - 8012174: f445 6580 orr.w r5, r5, #1024 @ 0x400 - 8012178: 9b0c ldr r3, [sp, #48] @ 0x30 - 801217a: e757 b.n 801202c <_vfprintf_r+0x144> - 801217c: f89d 307b ldrb.w r3, [sp, #123] @ 0x7b - 8012180: 2b00 cmp r3, #0 - 8012182: d1f9 bne.n 8012178 <_vfprintf_r+0x290> - 8012184: 2320 movs r3, #32 - 8012186: f88d 307b strb.w r3, [sp, #123] @ 0x7b - 801218a: e7f5 b.n 8012178 <_vfprintf_r+0x290> - 801218c: f045 0501 orr.w r5, r5, #1 - 8012190: e7f2 b.n 8012178 <_vfprintf_r+0x290> - 8012192: f856 3b04 ldr.w r3, [r6], #4 - 8012196: 930e str r3, [sp, #56] @ 0x38 - 8012198: 2b00 cmp r3, #0 - 801219a: daed bge.n 8012178 <_vfprintf_r+0x290> - 801219c: 425b negs r3, r3 - 801219e: 930e str r3, [sp, #56] @ 0x38 - 80121a0: f045 0504 orr.w r5, r5, #4 - 80121a4: e7e8 b.n 8012178 <_vfprintf_r+0x290> - 80121a6: 232b movs r3, #43 @ 0x2b - 80121a8: e7ed b.n 8012186 <_vfprintf_r+0x29e> - 80121aa: 9b0c ldr r3, [sp, #48] @ 0x30 - 80121ac: f813 2b01 ldrb.w r2, [r3], #1 - 80121b0: 9206 str r2, [sp, #24] - 80121b2: 2a2a cmp r2, #42 @ 0x2a - 80121b4: d10f bne.n 80121d6 <_vfprintf_r+0x2ee> - 80121b6: f856 2b04 ldr.w r2, [r6], #4 - 80121ba: 930c str r3, [sp, #48] @ 0x30 - 80121bc: ea42 79e2 orr.w r9, r2, r2, asr #31 - 80121c0: e7da b.n 8012178 <_vfprintf_r+0x290> - 80121c2: fb01 2909 mla r9, r1, r9, r2 - 80121c6: f813 2b01 ldrb.w r2, [r3], #1 - 80121ca: 9206 str r2, [sp, #24] - 80121cc: 9a06 ldr r2, [sp, #24] - 80121ce: 3a30 subs r2, #48 @ 0x30 - 80121d0: 2a09 cmp r2, #9 - 80121d2: d9f6 bls.n 80121c2 <_vfprintf_r+0x2da> - 80121d4: e72d b.n 8012032 <_vfprintf_r+0x14a> - 80121d6: f04f 0900 mov.w r9, #0 - 80121da: 210a movs r1, #10 - 80121dc: e7f6 b.n 80121cc <_vfprintf_r+0x2e4> - 80121de: f045 0580 orr.w r5, r5, #128 @ 0x80 - 80121e2: e7c9 b.n 8012178 <_vfprintf_r+0x290> - 80121e4: 2200 movs r2, #0 - 80121e6: 9b0c ldr r3, [sp, #48] @ 0x30 - 80121e8: 920e str r2, [sp, #56] @ 0x38 - 80121ea: 210a movs r1, #10 - 80121ec: 9a06 ldr r2, [sp, #24] - 80121ee: 980e ldr r0, [sp, #56] @ 0x38 - 80121f0: 3a30 subs r2, #48 @ 0x30 - 80121f2: fb01 2200 mla r2, r1, r0, r2 - 80121f6: 920e str r2, [sp, #56] @ 0x38 - 80121f8: f813 2b01 ldrb.w r2, [r3], #1 - 80121fc: 9206 str r2, [sp, #24] - 80121fe: 3a30 subs r2, #48 @ 0x30 - 8012200: 2a09 cmp r2, #9 - 8012202: d9f3 bls.n 80121ec <_vfprintf_r+0x304> - 8012204: e715 b.n 8012032 <_vfprintf_r+0x14a> - 8012206: f045 0508 orr.w r5, r5, #8 - 801220a: e7b5 b.n 8012178 <_vfprintf_r+0x290> - 801220c: f3af 8000 nop.w +08012868 <_vfprintf_r>: + 8012868: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 801286c: b0d3 sub sp, #332 @ 0x14c + 801286e: 468b mov fp, r1 + 8012870: 4690 mov r8, r2 + 8012872: 461c mov r4, r3 + 8012874: 461e mov r6, r3 + 8012876: 9003 str r0, [sp, #12] + 8012878: f002 fa86 bl 8014d88 <_localeconv_r> + 801287c: 6803 ldr r3, [r0, #0] + 801287e: 9316 str r3, [sp, #88] @ 0x58 + 8012880: 4618 mov r0, r3 + 8012882: f7ed fcb5 bl 80001f0 + 8012886: 9b03 ldr r3, [sp, #12] + 8012888: 900d str r0, [sp, #52] @ 0x34 + 801288a: b123 cbz r3, 8012896 <_vfprintf_r+0x2e> + 801288c: 6b5b ldr r3, [r3, #52] @ 0x34 + 801288e: b913 cbnz r3, 8012896 <_vfprintf_r+0x2e> + 8012890: 9803 ldr r0, [sp, #12] + 8012892: f7ff fb3d bl 8011f10 <__sinit> + 8012896: f8db 3064 ldr.w r3, [fp, #100] @ 0x64 + 801289a: 07da lsls r2, r3, #31 + 801289c: d407 bmi.n 80128ae <_vfprintf_r+0x46> + 801289e: f8bb 300c ldrh.w r3, [fp, #12] + 80128a2: 059b lsls r3, r3, #22 + 80128a4: d403 bmi.n 80128ae <_vfprintf_r+0x46> + 80128a6: f8db 0058 ldr.w r0, [fp, #88] @ 0x58 + 80128aa: f7ff fc61 bl 8012170 <__retarget_lock_acquire_recursive> + 80128ae: f9bb 300c ldrsh.w r3, [fp, #12] + 80128b2: 049f lsls r7, r3, #18 + 80128b4: d409 bmi.n 80128ca <_vfprintf_r+0x62> + 80128b6: f443 5300 orr.w r3, r3, #8192 @ 0x2000 + 80128ba: f8ab 300c strh.w r3, [fp, #12] + 80128be: f8db 3064 ldr.w r3, [fp, #100] @ 0x64 + 80128c2: f423 5300 bic.w r3, r3, #8192 @ 0x2000 + 80128c6: f8cb 3064 str.w r3, [fp, #100] @ 0x64 + 80128ca: f8bb 300c ldrh.w r3, [fp, #12] + 80128ce: 071d lsls r5, r3, #28 + 80128d0: d502 bpl.n 80128d8 <_vfprintf_r+0x70> + 80128d2: f8db 3010 ldr.w r3, [fp, #16] + 80128d6: b9c3 cbnz r3, 801290a <_vfprintf_r+0xa2> + 80128d8: 9803 ldr r0, [sp, #12] + 80128da: 4659 mov r1, fp + 80128dc: f002 f97a bl 8014bd4 <__swsetup_r> + 80128e0: b198 cbz r0, 801290a <_vfprintf_r+0xa2> + 80128e2: f8db 3064 ldr.w r3, [fp, #100] @ 0x64 + 80128e6: 07d8 lsls r0, r3, #31 + 80128e8: d506 bpl.n 80128f8 <_vfprintf_r+0x90> + 80128ea: f04f 33ff mov.w r3, #4294967295 + 80128ee: 930f str r3, [sp, #60] @ 0x3c + 80128f0: 980f ldr r0, [sp, #60] @ 0x3c + 80128f2: b053 add sp, #332 @ 0x14c + 80128f4: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80128f8: f8bb 300c ldrh.w r3, [fp, #12] + 80128fc: 0599 lsls r1, r3, #22 + 80128fe: d4f4 bmi.n 80128ea <_vfprintf_r+0x82> + 8012900: f8db 0058 ldr.w r0, [fp, #88] @ 0x58 + 8012904: f7ff fc35 bl 8012172 <__retarget_lock_release_recursive> + 8012908: e7ef b.n 80128ea <_vfprintf_r+0x82> + 801290a: f9bb 300c ldrsh.w r3, [fp, #12] + 801290e: f003 021a and.w r2, r3, #26 + 8012912: 2a0a cmp r2, #10 + 8012914: d116 bne.n 8012944 <_vfprintf_r+0xdc> + 8012916: f9bb 200e ldrsh.w r2, [fp, #14] + 801291a: 2a00 cmp r2, #0 + 801291c: db12 blt.n 8012944 <_vfprintf_r+0xdc> + 801291e: f8db 2064 ldr.w r2, [fp, #100] @ 0x64 + 8012922: 07d2 lsls r2, r2, #31 + 8012924: d405 bmi.n 8012932 <_vfprintf_r+0xca> + 8012926: 059b lsls r3, r3, #22 + 8012928: d403 bmi.n 8012932 <_vfprintf_r+0xca> + 801292a: f8db 0058 ldr.w r0, [fp, #88] @ 0x58 + 801292e: f7ff fc20 bl 8012172 <__retarget_lock_release_recursive> + 8012932: 9803 ldr r0, [sp, #12] + 8012934: 4623 mov r3, r4 + 8012936: 4642 mov r2, r8 + 8012938: 4659 mov r1, fp + 801293a: b053 add sp, #332 @ 0x14c + 801293c: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8012940: f001 b9be b.w 8013cc0 <__sbprintf> + 8012944: ed9f 7b92 vldr d7, [pc, #584] @ 8012b90 <_vfprintf_r+0x328> + 8012948: 2300 movs r3, #0 + 801294a: e9cd 3327 strd r3, r3, [sp, #156] @ 0x9c + 801294e: ed8d 7b0a vstr d7, [sp, #40] @ 0x28 + 8012952: e9cd 3318 strd r3, r3, [sp, #96] @ 0x60 + 8012956: ac29 add r4, sp, #164 @ 0xa4 + 8012958: 9426 str r4, [sp, #152] @ 0x98 + 801295a: 9304 str r3, [sp, #16] + 801295c: 9309 str r3, [sp, #36] @ 0x24 + 801295e: 9312 str r3, [sp, #72] @ 0x48 + 8012960: 9317 str r3, [sp, #92] @ 0x5c + 8012962: 930f str r3, [sp, #60] @ 0x3c + 8012964: 4643 mov r3, r8 + 8012966: 461d mov r5, r3 + 8012968: f813 2b01 ldrb.w r2, [r3], #1 + 801296c: b10a cbz r2, 8012972 <_vfprintf_r+0x10a> + 801296e: 2a25 cmp r2, #37 @ 0x25 + 8012970: d1f9 bne.n 8012966 <_vfprintf_r+0xfe> + 8012972: ebb5 0708 subs.w r7, r5, r8 + 8012976: d00d beq.n 8012994 <_vfprintf_r+0x12c> + 8012978: 9b28 ldr r3, [sp, #160] @ 0xa0 + 801297a: 443b add r3, r7 + 801297c: 9328 str r3, [sp, #160] @ 0xa0 + 801297e: 9b27 ldr r3, [sp, #156] @ 0x9c + 8012980: 3301 adds r3, #1 + 8012982: 2b07 cmp r3, #7 + 8012984: e9c4 8700 strd r8, r7, [r4] + 8012988: 9327 str r3, [sp, #156] @ 0x9c + 801298a: dc75 bgt.n 8012a78 <_vfprintf_r+0x210> + 801298c: 3408 adds r4, #8 + 801298e: 9b0f ldr r3, [sp, #60] @ 0x3c + 8012990: 443b add r3, r7 + 8012992: 930f str r3, [sp, #60] @ 0x3c + 8012994: 782b ldrb r3, [r5, #0] + 8012996: 2b00 cmp r3, #0 + 8012998: f001 814f beq.w 8013c3a <_vfprintf_r+0x13d2> + 801299c: 2200 movs r2, #0 + 801299e: 1c6b adds r3, r5, #1 + 80129a0: f88d 207b strb.w r2, [sp, #123] @ 0x7b + 80129a4: f04f 39ff mov.w r9, #4294967295 + 80129a8: 920e str r2, [sp, #56] @ 0x38 + 80129aa: 4615 mov r5, r2 + 80129ac: f813 2b01 ldrb.w r2, [r3], #1 + 80129b0: 9206 str r2, [sp, #24] + 80129b2: 930c str r3, [sp, #48] @ 0x30 + 80129b4: 9b06 ldr r3, [sp, #24] + 80129b6: 3b20 subs r3, #32 + 80129b8: 2b5a cmp r3, #90 @ 0x5a + 80129ba: f200 85aa bhi.w 8013512 <_vfprintf_r+0xcaa> + 80129be: e8df f013 tbh [pc, r3, lsl #1] + 80129c2: 009d .short 0x009d + 80129c4: 05a805a8 .word 0x05a805a8 + 80129c8: 05a800a5 .word 0x05a800a5 + 80129cc: 05a805a8 .word 0x05a805a8 + 80129d0: 05a80085 .word 0x05a80085 + 80129d4: 00a805a8 .word 0x00a805a8 + 80129d8: 05a800b2 .word 0x05a800b2 + 80129dc: 00b400af .word 0x00b400af + 80129e0: 00ce05a8 .word 0x00ce05a8 + 80129e4: 00d100d1 .word 0x00d100d1 + 80129e8: 00d100d1 .word 0x00d100d1 + 80129ec: 00d100d1 .word 0x00d100d1 + 80129f0: 00d100d1 .word 0x00d100d1 + 80129f4: 05a800d1 .word 0x05a800d1 + 80129f8: 05a805a8 .word 0x05a805a8 + 80129fc: 05a805a8 .word 0x05a805a8 + 8012a00: 05a805a8 .word 0x05a805a8 + 8012a04: 05a80146 .word 0x05a80146 + 8012a08: 011a0107 .word 0x011a0107 + 8012a0c: 01460146 .word 0x01460146 + 8012a10: 05a80146 .word 0x05a80146 + 8012a14: 05a805a8 .word 0x05a805a8 + 8012a18: 00e205a8 .word 0x00e205a8 + 8012a1c: 05a805a8 .word 0x05a805a8 + 8012a20: 05a804a3 .word 0x05a804a3 + 8012a24: 05a805a8 .word 0x05a805a8 + 8012a28: 05a804ed .word 0x05a804ed + 8012a2c: 05a8050e .word 0x05a8050e + 8012a30: 053005a8 .word 0x053005a8 + 8012a34: 05a805a8 .word 0x05a805a8 + 8012a38: 05a805a8 .word 0x05a805a8 + 8012a3c: 05a805a8 .word 0x05a805a8 + 8012a40: 05a805a8 .word 0x05a805a8 + 8012a44: 05a80146 .word 0x05a80146 + 8012a48: 011c0107 .word 0x011c0107 + 8012a4c: 01460146 .word 0x01460146 + 8012a50: 00ed0146 .word 0x00ed0146 + 8012a54: 0101011c .word 0x0101011c + 8012a58: 00fa05a8 .word 0x00fa05a8 + 8012a5c: 048705a8 .word 0x048705a8 + 8012a60: 04dc04a5 .word 0x04dc04a5 + 8012a64: 05a80101 .word 0x05a80101 + 8012a68: 009b04ed .word 0x009b04ed + 8012a6c: 05a80510 .word 0x05a80510 + 8012a70: 006505a8 .word 0x006505a8 + 8012a74: 009b05a8 .word 0x009b05a8 + 8012a78: 9803 ldr r0, [sp, #12] + 8012a7a: aa26 add r2, sp, #152 @ 0x98 + 8012a7c: 4659 mov r1, fp + 8012a7e: f001 f95f bl 8013d40 <__sprint_r> + 8012a82: 2800 cmp r0, #0 + 8012a84: f040 814d bne.w 8012d22 <_vfprintf_r+0x4ba> + 8012a88: ac29 add r4, sp, #164 @ 0xa4 + 8012a8a: e780 b.n 801298e <_vfprintf_r+0x126> + 8012a8c: 4b42 ldr r3, [pc, #264] @ (8012b98 <_vfprintf_r+0x330>) + 8012a8e: 9319 str r3, [sp, #100] @ 0x64 + 8012a90: f015 0320 ands.w r3, r5, #32 + 8012a94: f000 84c8 beq.w 8013428 <_vfprintf_r+0xbc0> + 8012a98: 3607 adds r6, #7 + 8012a9a: f026 0307 bic.w r3, r6, #7 + 8012a9e: 461a mov r2, r3 + 8012aa0: 685f ldr r7, [r3, #4] + 8012aa2: f852 6b08 ldr.w r6, [r2], #8 + 8012aa6: 9207 str r2, [sp, #28] + 8012aa8: 07eb lsls r3, r5, #31 + 8012aaa: d50a bpl.n 8012ac2 <_vfprintf_r+0x25a> + 8012aac: ea56 0307 orrs.w r3, r6, r7 + 8012ab0: d007 beq.n 8012ac2 <_vfprintf_r+0x25a> + 8012ab2: 2330 movs r3, #48 @ 0x30 + 8012ab4: f88d 307c strb.w r3, [sp, #124] @ 0x7c + 8012ab8: 9b06 ldr r3, [sp, #24] + 8012aba: f88d 307d strb.w r3, [sp, #125] @ 0x7d + 8012abe: f045 0502 orr.w r5, r5, #2 + 8012ac2: f425 6580 bic.w r5, r5, #1024 @ 0x400 + 8012ac6: 2302 movs r3, #2 + 8012ac8: f000 bc2e b.w 8013328 <_vfprintf_r+0xac0> + 8012acc: 9803 ldr r0, [sp, #12] + 8012ace: f002 f95b bl 8014d88 <_localeconv_r> + 8012ad2: 6843 ldr r3, [r0, #4] + 8012ad4: 9317 str r3, [sp, #92] @ 0x5c + 8012ad6: 4618 mov r0, r3 + 8012ad8: f7ed fb8a bl 80001f0 + 8012adc: 9012 str r0, [sp, #72] @ 0x48 + 8012ade: 9803 ldr r0, [sp, #12] + 8012ae0: f002 f952 bl 8014d88 <_localeconv_r> + 8012ae4: 6883 ldr r3, [r0, #8] + 8012ae6: 9309 str r3, [sp, #36] @ 0x24 + 8012ae8: 9b12 ldr r3, [sp, #72] @ 0x48 + 8012aea: b12b cbz r3, 8012af8 <_vfprintf_r+0x290> + 8012aec: 9b09 ldr r3, [sp, #36] @ 0x24 + 8012aee: b11b cbz r3, 8012af8 <_vfprintf_r+0x290> + 8012af0: 781b ldrb r3, [r3, #0] + 8012af2: b10b cbz r3, 8012af8 <_vfprintf_r+0x290> + 8012af4: f445 6580 orr.w r5, r5, #1024 @ 0x400 + 8012af8: 9b0c ldr r3, [sp, #48] @ 0x30 + 8012afa: e757 b.n 80129ac <_vfprintf_r+0x144> + 8012afc: f89d 307b ldrb.w r3, [sp, #123] @ 0x7b + 8012b00: 2b00 cmp r3, #0 + 8012b02: d1f9 bne.n 8012af8 <_vfprintf_r+0x290> + 8012b04: 2320 movs r3, #32 + 8012b06: f88d 307b strb.w r3, [sp, #123] @ 0x7b + 8012b0a: e7f5 b.n 8012af8 <_vfprintf_r+0x290> + 8012b0c: f045 0501 orr.w r5, r5, #1 + 8012b10: e7f2 b.n 8012af8 <_vfprintf_r+0x290> + 8012b12: f856 3b04 ldr.w r3, [r6], #4 + 8012b16: 930e str r3, [sp, #56] @ 0x38 + 8012b18: 2b00 cmp r3, #0 + 8012b1a: daed bge.n 8012af8 <_vfprintf_r+0x290> + 8012b1c: 425b negs r3, r3 + 8012b1e: 930e str r3, [sp, #56] @ 0x38 + 8012b20: f045 0504 orr.w r5, r5, #4 + 8012b24: e7e8 b.n 8012af8 <_vfprintf_r+0x290> + 8012b26: 232b movs r3, #43 @ 0x2b + 8012b28: e7ed b.n 8012b06 <_vfprintf_r+0x29e> + 8012b2a: 9b0c ldr r3, [sp, #48] @ 0x30 + 8012b2c: f813 2b01 ldrb.w r2, [r3], #1 + 8012b30: 9206 str r2, [sp, #24] + 8012b32: 2a2a cmp r2, #42 @ 0x2a + 8012b34: d10f bne.n 8012b56 <_vfprintf_r+0x2ee> + 8012b36: f856 2b04 ldr.w r2, [r6], #4 + 8012b3a: 930c str r3, [sp, #48] @ 0x30 + 8012b3c: ea42 79e2 orr.w r9, r2, r2, asr #31 + 8012b40: e7da b.n 8012af8 <_vfprintf_r+0x290> + 8012b42: fb01 2909 mla r9, r1, r9, r2 + 8012b46: f813 2b01 ldrb.w r2, [r3], #1 + 8012b4a: 9206 str r2, [sp, #24] + 8012b4c: 9a06 ldr r2, [sp, #24] + 8012b4e: 3a30 subs r2, #48 @ 0x30 + 8012b50: 2a09 cmp r2, #9 + 8012b52: d9f6 bls.n 8012b42 <_vfprintf_r+0x2da> + 8012b54: e72d b.n 80129b2 <_vfprintf_r+0x14a> + 8012b56: f04f 0900 mov.w r9, #0 + 8012b5a: 210a movs r1, #10 + 8012b5c: e7f6 b.n 8012b4c <_vfprintf_r+0x2e4> + 8012b5e: f045 0580 orr.w r5, r5, #128 @ 0x80 + 8012b62: e7c9 b.n 8012af8 <_vfprintf_r+0x290> + 8012b64: 2200 movs r2, #0 + 8012b66: 9b0c ldr r3, [sp, #48] @ 0x30 + 8012b68: 920e str r2, [sp, #56] @ 0x38 + 8012b6a: 210a movs r1, #10 + 8012b6c: 9a06 ldr r2, [sp, #24] + 8012b6e: 980e ldr r0, [sp, #56] @ 0x38 + 8012b70: 3a30 subs r2, #48 @ 0x30 + 8012b72: fb01 2200 mla r2, r1, r0, r2 + 8012b76: 920e str r2, [sp, #56] @ 0x38 + 8012b78: f813 2b01 ldrb.w r2, [r3], #1 + 8012b7c: 9206 str r2, [sp, #24] + 8012b7e: 3a30 subs r2, #48 @ 0x30 + 8012b80: 2a09 cmp r2, #9 + 8012b82: d9f3 bls.n 8012b6c <_vfprintf_r+0x304> + 8012b84: e715 b.n 80129b2 <_vfprintf_r+0x14a> + 8012b86: f045 0508 orr.w r5, r5, #8 + 8012b8a: e7b5 b.n 8012af8 <_vfprintf_r+0x290> + 8012b8c: f3af 8000 nop.w ... - 8012218: 08018ffb .word 0x08018ffb - 801221c: 9b0c ldr r3, [sp, #48] @ 0x30 - 801221e: 781b ldrb r3, [r3, #0] - 8012220: 2b68 cmp r3, #104 @ 0x68 - 8012222: bf01 itttt eq - 8012224: 9b0c ldreq r3, [sp, #48] @ 0x30 - 8012226: 3301 addeq r3, #1 - 8012228: 930c streq r3, [sp, #48] @ 0x30 - 801222a: f445 7500 orreq.w r5, r5, #512 @ 0x200 - 801222e: bf18 it ne - 8012230: f045 0540 orrne.w r5, r5, #64 @ 0x40 - 8012234: e7a0 b.n 8012178 <_vfprintf_r+0x290> - 8012236: 9b0c ldr r3, [sp, #48] @ 0x30 - 8012238: 781b ldrb r3, [r3, #0] - 801223a: 2b6c cmp r3, #108 @ 0x6c - 801223c: d105 bne.n 801224a <_vfprintf_r+0x362> - 801223e: 9b0c ldr r3, [sp, #48] @ 0x30 - 8012240: 3301 adds r3, #1 - 8012242: 930c str r3, [sp, #48] @ 0x30 - 8012244: f045 0520 orr.w r5, r5, #32 - 8012248: e796 b.n 8012178 <_vfprintf_r+0x290> - 801224a: f045 0510 orr.w r5, r5, #16 - 801224e: e793 b.n 8012178 <_vfprintf_r+0x290> - 8012250: 4632 mov r2, r6 - 8012252: f852 3b04 ldr.w r3, [r2], #4 - 8012256: f88d 30e4 strb.w r3, [sp, #228] @ 0xe4 - 801225a: 2300 movs r3, #0 - 801225c: 9207 str r2, [sp, #28] - 801225e: f88d 307b strb.w r3, [sp, #123] @ 0x7b - 8012262: 469a mov sl, r3 - 8012264: f04f 0901 mov.w r9, #1 - 8012268: 9310 str r3, [sp, #64] @ 0x40 - 801226a: 461f mov r7, r3 - 801226c: 9308 str r3, [sp, #32] - 801226e: 461e mov r6, r3 - 8012270: f10d 08e4 add.w r8, sp, #228 @ 0xe4 - 8012274: e1da b.n 801262c <_vfprintf_r+0x744> - 8012276: f045 0510 orr.w r5, r5, #16 - 801227a: 06af lsls r7, r5, #26 - 801227c: d512 bpl.n 80122a4 <_vfprintf_r+0x3bc> - 801227e: 3607 adds r6, #7 - 8012280: f026 0307 bic.w r3, r6, #7 - 8012284: 461a mov r2, r3 - 8012286: 685f ldr r7, [r3, #4] - 8012288: f852 6b08 ldr.w r6, [r2], #8 - 801228c: 9207 str r2, [sp, #28] - 801228e: 2f00 cmp r7, #0 - 8012290: da06 bge.n 80122a0 <_vfprintf_r+0x3b8> - 8012292: 4276 negs r6, r6 - 8012294: f04f 032d mov.w r3, #45 @ 0x2d - 8012298: eb67 0747 sbc.w r7, r7, r7, lsl #1 - 801229c: f88d 307b strb.w r3, [sp, #123] @ 0x7b - 80122a0: 2301 movs r3, #1 - 80122a2: e384 b.n 80129ae <_vfprintf_r+0xac6> - 80122a4: 4633 mov r3, r6 - 80122a6: 06ee lsls r6, r5, #27 - 80122a8: f853 7b04 ldr.w r7, [r3], #4 - 80122ac: 9307 str r3, [sp, #28] - 80122ae: d502 bpl.n 80122b6 <_vfprintf_r+0x3ce> - 80122b0: 463e mov r6, r7 - 80122b2: 17ff asrs r7, r7, #31 - 80122b4: e7eb b.n 801228e <_vfprintf_r+0x3a6> - 80122b6: 0668 lsls r0, r5, #25 - 80122b8: d503 bpl.n 80122c2 <_vfprintf_r+0x3da> - 80122ba: b23e sxth r6, r7 - 80122bc: f347 37c0 sbfx r7, r7, #15, #1 - 80122c0: e7e5 b.n 801228e <_vfprintf_r+0x3a6> - 80122c2: 05a9 lsls r1, r5, #22 - 80122c4: d5f4 bpl.n 80122b0 <_vfprintf_r+0x3c8> - 80122c6: b27e sxtb r6, r7 - 80122c8: f347 17c0 sbfx r7, r7, #7, #1 - 80122cc: e7df b.n 801228e <_vfprintf_r+0x3a6> - 80122ce: 3607 adds r6, #7 - 80122d0: f026 0307 bic.w r3, r6, #7 - 80122d4: ecb3 7b02 vldmia r3!, {d7} - 80122d8: ed8d 7b0a vstr d7, [sp, #40] @ 0x28 - 80122dc: 9307 str r3, [sp, #28] - 80122de: 9b0a ldr r3, [sp, #40] @ 0x28 - 80122e0: 931a str r3, [sp, #104] @ 0x68 - 80122e2: 9b0b ldr r3, [sp, #44] @ 0x2c - 80122e4: f023 4300 bic.w r3, r3, #2147483648 @ 0x80000000 - 80122e8: 931b str r3, [sp, #108] @ 0x6c - 80122ea: e9dd 011a ldrd r0, r1, [sp, #104] @ 0x68 - 80122ee: 4b85 ldr r3, [pc, #532] @ (8012504 <_vfprintf_r+0x61c>) - 80122f0: f04f 32ff mov.w r2, #4294967295 - 80122f4: f7ee fc2a bl 8000b4c <__aeabi_dcmpun> - 80122f8: bb10 cbnz r0, 8012340 <_vfprintf_r+0x458> - 80122fa: e9dd 011a ldrd r0, r1, [sp, #104] @ 0x68 - 80122fe: 4b81 ldr r3, [pc, #516] @ (8012504 <_vfprintf_r+0x61c>) - 8012300: f04f 32ff mov.w r2, #4294967295 - 8012304: f7ee fc04 bl 8000b10 <__aeabi_dcmple> - 8012308: b9d0 cbnz r0, 8012340 <_vfprintf_r+0x458> - 801230a: e9dd 010a ldrd r0, r1, [sp, #40] @ 0x28 - 801230e: 2200 movs r2, #0 - 8012310: 2300 movs r3, #0 - 8012312: f7ee fbf3 bl 8000afc <__aeabi_dcmplt> - 8012316: b110 cbz r0, 801231e <_vfprintf_r+0x436> - 8012318: 232d movs r3, #45 @ 0x2d - 801231a: f88d 307b strb.w r3, [sp, #123] @ 0x7b - 801231e: 4a7a ldr r2, [pc, #488] @ (8012508 <_vfprintf_r+0x620>) - 8012320: 4b7a ldr r3, [pc, #488] @ (801250c <_vfprintf_r+0x624>) - 8012322: 9906 ldr r1, [sp, #24] - 8012324: f025 0580 bic.w r5, r5, #128 @ 0x80 - 8012328: 2947 cmp r1, #71 @ 0x47 - 801232a: bfd4 ite le - 801232c: 4690 movle r8, r2 - 801232e: 4698 movgt r8, r3 - 8012330: f04f 0a00 mov.w sl, #0 - 8012334: f04f 0903 mov.w r9, #3 - 8012338: f8cd a040 str.w sl, [sp, #64] @ 0x40 - 801233c: f000 bff8 b.w 8013330 <_vfprintf_r+0x1448> - 8012340: e9dd 230a ldrd r2, r3, [sp, #40] @ 0x28 - 8012344: 4610 mov r0, r2 - 8012346: 4619 mov r1, r3 - 8012348: f7ee fc00 bl 8000b4c <__aeabi_dcmpun> - 801234c: 4682 mov sl, r0 - 801234e: b140 cbz r0, 8012362 <_vfprintf_r+0x47a> - 8012350: 9b0b ldr r3, [sp, #44] @ 0x2c - 8012352: 4a6f ldr r2, [pc, #444] @ (8012510 <_vfprintf_r+0x628>) - 8012354: 2b00 cmp r3, #0 - 8012356: bfbc itt lt - 8012358: 232d movlt r3, #45 @ 0x2d - 801235a: f88d 307b strblt.w r3, [sp, #123] @ 0x7b - 801235e: 4b6d ldr r3, [pc, #436] @ (8012514 <_vfprintf_r+0x62c>) - 8012360: e7df b.n 8012322 <_vfprintf_r+0x43a> - 8012362: 9b06 ldr r3, [sp, #24] - 8012364: 2b61 cmp r3, #97 @ 0x61 - 8012366: d02e beq.n 80123c6 <_vfprintf_r+0x4de> - 8012368: 2b41 cmp r3, #65 @ 0x41 - 801236a: d12e bne.n 80123ca <_vfprintf_r+0x4e2> - 801236c: 2358 movs r3, #88 @ 0x58 - 801236e: 2230 movs r2, #48 @ 0x30 - 8012370: f1b9 0f63 cmp.w r9, #99 @ 0x63 - 8012374: f88d 207c strb.w r2, [sp, #124] @ 0x7c - 8012378: f88d 307d strb.w r3, [sp, #125] @ 0x7d - 801237c: f045 0502 orr.w r5, r5, #2 - 8012380: f340 80ae ble.w 80124e0 <_vfprintf_r+0x5f8> - 8012384: 9803 ldr r0, [sp, #12] - 8012386: f109 0101 add.w r1, r9, #1 - 801238a: f7ff fb65 bl 8011a58 <_malloc_r> - 801238e: 4680 mov r8, r0 - 8012390: 2800 cmp r0, #0 - 8012392: f040 80aa bne.w 80124ea <_vfprintf_r+0x602> - 8012396: f8bb 300c ldrh.w r3, [fp, #12] - 801239a: f043 0340 orr.w r3, r3, #64 @ 0x40 - 801239e: f8ab 300c strh.w r3, [fp, #12] - 80123a2: f8db 3064 ldr.w r3, [fp, #100] @ 0x64 - 80123a6: 07d9 lsls r1, r3, #31 - 80123a8: d407 bmi.n 80123ba <_vfprintf_r+0x4d2> - 80123aa: f8bb 300c ldrh.w r3, [fp, #12] - 80123ae: 059a lsls r2, r3, #22 - 80123b0: d403 bmi.n 80123ba <_vfprintf_r+0x4d2> - 80123b2: f8db 0058 ldr.w r0, [fp, #88] @ 0x58 - 80123b6: f7ff fa1a bl 80117ee <__retarget_lock_release_recursive> - 80123ba: f8bb 300c ldrh.w r3, [fp, #12] - 80123be: 065b lsls r3, r3, #25 - 80123c0: f57f add6 bpl.w 8011f70 <_vfprintf_r+0x88> - 80123c4: e5d1 b.n 8011f6a <_vfprintf_r+0x82> - 80123c6: 2378 movs r3, #120 @ 0x78 - 80123c8: e7d1 b.n 801236e <_vfprintf_r+0x486> - 80123ca: f1b9 3fff cmp.w r9, #4294967295 - 80123ce: f000 808e beq.w 80124ee <_vfprintf_r+0x606> - 80123d2: 9b06 ldr r3, [sp, #24] - 80123d4: f023 0320 bic.w r3, r3, #32 - 80123d8: 2b47 cmp r3, #71 @ 0x47 - 80123da: d105 bne.n 80123e8 <_vfprintf_r+0x500> - 80123dc: f1b9 0f00 cmp.w r9, #0 - 80123e0: d102 bne.n 80123e8 <_vfprintf_r+0x500> - 80123e2: 46ca mov sl, r9 - 80123e4: f04f 0901 mov.w r9, #1 - 80123e8: f445 7380 orr.w r3, r5, #256 @ 0x100 - 80123ec: 9311 str r3, [sp, #68] @ 0x44 - 80123ee: 9b0b ldr r3, [sp, #44] @ 0x2c - 80123f0: 2b00 cmp r3, #0 - 80123f2: da7f bge.n 80124f4 <_vfprintf_r+0x60c> - 80123f4: 9b0a ldr r3, [sp, #40] @ 0x28 - 80123f6: 9314 str r3, [sp, #80] @ 0x50 - 80123f8: 9b0b ldr r3, [sp, #44] @ 0x2c - 80123fa: f103 4300 add.w r3, r3, #2147483648 @ 0x80000000 - 80123fe: 9315 str r3, [sp, #84] @ 0x54 - 8012400: 232d movs r3, #45 @ 0x2d - 8012402: 931c str r3, [sp, #112] @ 0x70 - 8012404: 9b06 ldr r3, [sp, #24] - 8012406: f023 0320 bic.w r3, r3, #32 - 801240a: 2b41 cmp r3, #65 @ 0x41 - 801240c: 9308 str r3, [sp, #32] - 801240e: f040 81e7 bne.w 80127e0 <_vfprintf_r+0x8f8> - 8012412: a820 add r0, sp, #128 @ 0x80 - 8012414: ed9d 0b14 vldr d0, [sp, #80] @ 0x50 - 8012418: f002 f82a bl 8014470 - 801241c: 2200 movs r2, #0 - 801241e: f04f 537f mov.w r3, #1069547520 @ 0x3fc00000 - 8012422: ec51 0b10 vmov r0, r1, d0 - 8012426: f7ee f8f7 bl 8000618 <__aeabi_dmul> - 801242a: 4602 mov r2, r0 - 801242c: 460b mov r3, r1 - 801242e: e9cd 2304 strd r2, r3, [sp, #16] - 8012432: 2200 movs r2, #0 - 8012434: 2300 movs r3, #0 - 8012436: f7ee fb57 bl 8000ae8 <__aeabi_dcmpeq> - 801243a: b108 cbz r0, 8012440 <_vfprintf_r+0x558> - 801243c: 2301 movs r3, #1 - 801243e: 9320 str r3, [sp, #128] @ 0x80 - 8012440: 4a35 ldr r2, [pc, #212] @ (8012518 <_vfprintf_r+0x630>) - 8012442: 4b36 ldr r3, [pc, #216] @ (801251c <_vfprintf_r+0x634>) - 8012444: 9906 ldr r1, [sp, #24] - 8012446: 2961 cmp r1, #97 @ 0x61 - 8012448: bf18 it ne - 801244a: 461a movne r2, r3 - 801244c: 9210 str r2, [sp, #64] @ 0x40 - 801244e: f109 37ff add.w r7, r9, #4294967295 - 8012452: 4646 mov r6, r8 - 8012454: e9dd 0104 ldrd r0, r1, [sp, #16] - 8012458: 4b31 ldr r3, [pc, #196] @ (8012520 <_vfprintf_r+0x638>) - 801245a: 2200 movs r2, #0 - 801245c: f7ee f8dc bl 8000618 <__aeabi_dmul> - 8012460: 4602 mov r2, r0 - 8012462: 460b mov r3, r1 - 8012464: e9cd 2304 strd r2, r3, [sp, #16] - 8012468: f7ee fb86 bl 8000b78 <__aeabi_d2iz> - 801246c: 9013 str r0, [sp, #76] @ 0x4c - 801246e: f7ee f869 bl 8000544 <__aeabi_i2d> - 8012472: 4602 mov r2, r0 - 8012474: 460b mov r3, r1 - 8012476: e9dd 0104 ldrd r0, r1, [sp, #16] - 801247a: f7ed ff15 bl 80002a8 <__aeabi_dsub> - 801247e: 4602 mov r2, r0 - 8012480: 460b mov r3, r1 - 8012482: e9cd 2304 strd r2, r3, [sp, #16] - 8012486: 9a13 ldr r2, [sp, #76] @ 0x4c - 8012488: 9b10 ldr r3, [sp, #64] @ 0x40 - 801248a: 5c9b ldrb r3, [r3, r2] - 801248c: f806 3b01 strb.w r3, [r6], #1 - 8012490: 1c7a adds r2, r7, #1 - 8012492: d006 beq.n 80124a2 <_vfprintf_r+0x5ba> - 8012494: 1e7b subs r3, r7, #1 - 8012496: 931d str r3, [sp, #116] @ 0x74 - 8012498: 2200 movs r2, #0 - 801249a: 2300 movs r3, #0 - 801249c: f7ee fb24 bl 8000ae8 <__aeabi_dcmpeq> - 80124a0: b370 cbz r0, 8012500 <_vfprintf_r+0x618> - 80124a2: e9dd 0104 ldrd r0, r1, [sp, #16] - 80124a6: 4b1f ldr r3, [pc, #124] @ (8012524 <_vfprintf_r+0x63c>) - 80124a8: 2200 movs r2, #0 - 80124aa: f7ee fb45 bl 8000b38 <__aeabi_dcmpgt> - 80124ae: 2800 cmp r0, #0 - 80124b0: d13a bne.n 8012528 <_vfprintf_r+0x640> - 80124b2: e9dd 0104 ldrd r0, r1, [sp, #16] - 80124b6: 4b1b ldr r3, [pc, #108] @ (8012524 <_vfprintf_r+0x63c>) - 80124b8: 2200 movs r2, #0 - 80124ba: f7ee fb15 bl 8000ae8 <__aeabi_dcmpeq> - 80124be: b110 cbz r0, 80124c6 <_vfprintf_r+0x5de> - 80124c0: 9b13 ldr r3, [sp, #76] @ 0x4c - 80124c2: 07db lsls r3, r3, #31 - 80124c4: d430 bmi.n 8012528 <_vfprintf_r+0x640> - 80124c6: 4633 mov r3, r6 - 80124c8: 19f1 adds r1, r6, r7 - 80124ca: 2030 movs r0, #48 @ 0x30 - 80124cc: 1aca subs r2, r1, r3 - 80124ce: 2a00 cmp r2, #0 - 80124d0: f280 8183 bge.w 80127da <_vfprintf_r+0x8f2> - 80124d4: 1c7b adds r3, r7, #1 - 80124d6: 3701 adds r7, #1 - 80124d8: bfb8 it lt - 80124da: 2300 movlt r3, #0 - 80124dc: 441e add r6, r3 - 80124de: e037 b.n 8012550 <_vfprintf_r+0x668> - 80124e0: f04f 0a00 mov.w sl, #0 - 80124e4: f10d 08e4 add.w r8, sp, #228 @ 0xe4 - 80124e8: e77e b.n 80123e8 <_vfprintf_r+0x500> - 80124ea: 4682 mov sl, r0 - 80124ec: e77c b.n 80123e8 <_vfprintf_r+0x500> - 80124ee: f04f 0906 mov.w r9, #6 - 80124f2: e779 b.n 80123e8 <_vfprintf_r+0x500> - 80124f4: ed9d 7b0a vldr d7, [sp, #40] @ 0x28 - 80124f8: 2300 movs r3, #0 - 80124fa: ed8d 7b14 vstr d7, [sp, #80] @ 0x50 - 80124fe: e780 b.n 8012402 <_vfprintf_r+0x51a> - 8012500: 9f1d ldr r7, [sp, #116] @ 0x74 - 8012502: e7a7 b.n 8012454 <_vfprintf_r+0x56c> - 8012504: 7fefffff .word 0x7fefffff - 8012508: 08018feb .word 0x08018feb - 801250c: 08018fef .word 0x08018fef - 8012510: 08018ff3 .word 0x08018ff3 - 8012514: 08018ff7 .word 0x08018ff7 - 8012518: 08018ffb .word 0x08018ffb - 801251c: 0801900c .word 0x0801900c - 8012520: 40300000 .word 0x40300000 - 8012524: 3fe00000 .word 0x3fe00000 - 8012528: 9b10 ldr r3, [sp, #64] @ 0x40 - 801252a: 9624 str r6, [sp, #144] @ 0x90 - 801252c: 7bd9 ldrb r1, [r3, #15] - 801252e: 2030 movs r0, #48 @ 0x30 - 8012530: 9a24 ldr r2, [sp, #144] @ 0x90 - 8012532: 1e53 subs r3, r2, #1 - 8012534: 9324 str r3, [sp, #144] @ 0x90 - 8012536: f812 3c01 ldrb.w r3, [r2, #-1] - 801253a: 428b cmp r3, r1 - 801253c: f000 814a beq.w 80127d4 <_vfprintf_r+0x8ec> - 8012540: 2b39 cmp r3, #57 @ 0x39 - 8012542: bf0b itete eq - 8012544: 9b10 ldreq r3, [sp, #64] @ 0x40 - 8012546: 3301 addne r3, #1 - 8012548: 7a9b ldrbeq r3, [r3, #10] - 801254a: b2db uxtbne r3, r3 - 801254c: f802 3c01 strb.w r3, [r2, #-1] - 8012550: eba6 0308 sub.w r3, r6, r8 - 8012554: 9304 str r3, [sp, #16] - 8012556: 9b08 ldr r3, [sp, #32] - 8012558: 9e20 ldr r6, [sp, #128] @ 0x80 - 801255a: 2b47 cmp r3, #71 @ 0x47 - 801255c: f040 8189 bne.w 8012872 <_vfprintf_r+0x98a> - 8012560: 1cf1 adds r1, r6, #3 - 8012562: db02 blt.n 801256a <_vfprintf_r+0x682> - 8012564: 45b1 cmp r9, r6 - 8012566: f280 81a7 bge.w 80128b8 <_vfprintf_r+0x9d0> - 801256a: 9b06 ldr r3, [sp, #24] - 801256c: 3b02 subs r3, #2 - 801256e: 9306 str r3, [sp, #24] - 8012570: 9906 ldr r1, [sp, #24] - 8012572: f89d 2018 ldrb.w r2, [sp, #24] - 8012576: f021 0120 bic.w r1, r1, #32 - 801257a: 2941 cmp r1, #65 @ 0x41 - 801257c: bf08 it eq - 801257e: 320f addeq r2, #15 - 8012580: f106 33ff add.w r3, r6, #4294967295 - 8012584: bf06 itte eq - 8012586: b2d2 uxtbeq r2, r2 - 8012588: 2101 moveq r1, #1 - 801258a: 2100 movne r1, #0 - 801258c: 2b00 cmp r3, #0 - 801258e: 9320 str r3, [sp, #128] @ 0x80 - 8012590: bfb8 it lt - 8012592: f1c6 0301 rsblt r3, r6, #1 - 8012596: f88d 2088 strb.w r2, [sp, #136] @ 0x88 - 801259a: bfb4 ite lt - 801259c: 222d movlt r2, #45 @ 0x2d - 801259e: 222b movge r2, #43 @ 0x2b - 80125a0: 2b09 cmp r3, #9 - 80125a2: f88d 2089 strb.w r2, [sp, #137] @ 0x89 - 80125a6: f340 817a ble.w 801289e <_vfprintf_r+0x9b6> - 80125aa: f10d 0097 add.w r0, sp, #151 @ 0x97 - 80125ae: 270a movs r7, #10 - 80125b0: 4602 mov r2, r0 - 80125b2: fbb3 f6f7 udiv r6, r3, r7 - 80125b6: fb07 3116 mls r1, r7, r6, r3 - 80125ba: 3130 adds r1, #48 @ 0x30 - 80125bc: f802 1c01 strb.w r1, [r2, #-1] - 80125c0: 4619 mov r1, r3 - 80125c2: 2963 cmp r1, #99 @ 0x63 - 80125c4: f100 30ff add.w r0, r0, #4294967295 - 80125c8: 4633 mov r3, r6 - 80125ca: dcf1 bgt.n 80125b0 <_vfprintf_r+0x6c8> - 80125cc: 3330 adds r3, #48 @ 0x30 - 80125ce: 1e91 subs r1, r2, #2 - 80125d0: f800 3c01 strb.w r3, [r0, #-1] - 80125d4: f10d 0689 add.w r6, sp, #137 @ 0x89 - 80125d8: 460b mov r3, r1 - 80125da: f10d 0097 add.w r0, sp, #151 @ 0x97 - 80125de: 4283 cmp r3, r0 - 80125e0: f0c0 8158 bcc.w 8012894 <_vfprintf_r+0x9ac> - 80125e4: f10d 0399 add.w r3, sp, #153 @ 0x99 - 80125e8: 1a9b subs r3, r3, r2 - 80125ea: 4281 cmp r1, r0 - 80125ec: bf88 it hi - 80125ee: 2300 movhi r3, #0 - 80125f0: f10d 028a add.w r2, sp, #138 @ 0x8a - 80125f4: 441a add r2, r3 - 80125f6: ab22 add r3, sp, #136 @ 0x88 - 80125f8: 1ad3 subs r3, r2, r3 - 80125fa: 9a04 ldr r2, [sp, #16] - 80125fc: 9318 str r3, [sp, #96] @ 0x60 - 80125fe: 2a01 cmp r2, #1 - 8012600: eb03 0902 add.w r9, r3, r2 - 8012604: dc01 bgt.n 801260a <_vfprintf_r+0x722> - 8012606: 07ea lsls r2, r5, #31 - 8012608: d501 bpl.n 801260e <_vfprintf_r+0x726> - 801260a: 9b0d ldr r3, [sp, #52] @ 0x34 - 801260c: 4499 add r9, r3 - 801260e: f425 6580 bic.w r5, r5, #1024 @ 0x400 - 8012612: 2700 movs r7, #0 - 8012614: f445 7380 orr.w r3, r5, #256 @ 0x100 - 8012618: 9311 str r3, [sp, #68] @ 0x44 - 801261a: 9708 str r7, [sp, #32] - 801261c: 463e mov r6, r7 - 801261e: 9b1c ldr r3, [sp, #112] @ 0x70 - 8012620: 2b00 cmp r3, #0 - 8012622: f040 8191 bne.w 8012948 <_vfprintf_r+0xa60> - 8012626: 2300 movs r3, #0 - 8012628: 9d11 ldr r5, [sp, #68] @ 0x44 - 801262a: 9310 str r3, [sp, #64] @ 0x40 - 801262c: 9b10 ldr r3, [sp, #64] @ 0x40 - 801262e: 454b cmp r3, r9 - 8012630: bfb8 it lt - 8012632: 464b movlt r3, r9 - 8012634: 9311 str r3, [sp, #68] @ 0x44 - 8012636: f89d 307b ldrb.w r3, [sp, #123] @ 0x7b - 801263a: b113 cbz r3, 8012642 <_vfprintf_r+0x75a> - 801263c: 9b11 ldr r3, [sp, #68] @ 0x44 - 801263e: 3301 adds r3, #1 - 8012640: 9311 str r3, [sp, #68] @ 0x44 - 8012642: f015 0302 ands.w r3, r5, #2 - 8012646: 931c str r3, [sp, #112] @ 0x70 - 8012648: bf1e ittt ne - 801264a: 9b11 ldrne r3, [sp, #68] @ 0x44 - 801264c: 3302 addne r3, #2 - 801264e: 9311 strne r3, [sp, #68] @ 0x44 - 8012650: f015 0384 ands.w r3, r5, #132 @ 0x84 - 8012654: 931d str r3, [sp, #116] @ 0x74 - 8012656: d122 bne.n 801269e <_vfprintf_r+0x7b6> - 8012658: 9b0e ldr r3, [sp, #56] @ 0x38 - 801265a: 9a11 ldr r2, [sp, #68] @ 0x44 - 801265c: 1a9b subs r3, r3, r2 - 801265e: 2b00 cmp r3, #0 - 8012660: 9313 str r3, [sp, #76] @ 0x4c - 8012662: dd1c ble.n 801269e <_vfprintf_r+0x7b6> - 8012664: 9813 ldr r0, [sp, #76] @ 0x4c - 8012666: e9dd 2327 ldrd r2, r3, [sp, #156] @ 0x9c - 801266a: 2810 cmp r0, #16 - 801266c: 489f ldr r0, [pc, #636] @ (80128ec <_vfprintf_r+0xa04>) - 801266e: 6020 str r0, [r4, #0] - 8012670: f102 0201 add.w r2, r2, #1 - 8012674: f104 0108 add.w r1, r4, #8 - 8012678: f300 8297 bgt.w 8012baa <_vfprintf_r+0xcc2> - 801267c: 9813 ldr r0, [sp, #76] @ 0x4c - 801267e: 6060 str r0, [r4, #4] - 8012680: 4403 add r3, r0 - 8012682: 2a07 cmp r2, #7 - 8012684: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c - 8012688: f340 82a4 ble.w 8012bd4 <_vfprintf_r+0xcec> - 801268c: 9803 ldr r0, [sp, #12] - 801268e: aa26 add r2, sp, #152 @ 0x98 - 8012690: 4659 mov r1, fp - 8012692: f000 fe95 bl 80133c0 <__sprint_r> - 8012696: 2800 cmp r0, #0 - 8012698: f040 85ed bne.w 8013276 <_vfprintf_r+0x138e> - 801269c: ac29 add r4, sp, #164 @ 0xa4 - 801269e: f89d 207b ldrb.w r2, [sp, #123] @ 0x7b - 80126a2: 9b28 ldr r3, [sp, #160] @ 0xa0 - 80126a4: b16a cbz r2, 80126c2 <_vfprintf_r+0x7da> - 80126a6: f10d 027b add.w r2, sp, #123 @ 0x7b - 80126aa: 6022 str r2, [r4, #0] - 80126ac: 2201 movs r2, #1 - 80126ae: 4413 add r3, r2 - 80126b0: 9328 str r3, [sp, #160] @ 0xa0 - 80126b2: 9b27 ldr r3, [sp, #156] @ 0x9c - 80126b4: 6062 str r2, [r4, #4] - 80126b6: 4413 add r3, r2 - 80126b8: 2b07 cmp r3, #7 - 80126ba: 9327 str r3, [sp, #156] @ 0x9c - 80126bc: f300 828c bgt.w 8012bd8 <_vfprintf_r+0xcf0> - 80126c0: 3408 adds r4, #8 - 80126c2: 9a1c ldr r2, [sp, #112] @ 0x70 - 80126c4: 9b28 ldr r3, [sp, #160] @ 0xa0 - 80126c6: b162 cbz r2, 80126e2 <_vfprintf_r+0x7fa> - 80126c8: aa1f add r2, sp, #124 @ 0x7c - 80126ca: 6022 str r2, [r4, #0] - 80126cc: 2202 movs r2, #2 - 80126ce: 4413 add r3, r2 - 80126d0: 9328 str r3, [sp, #160] @ 0xa0 - 80126d2: 9b27 ldr r3, [sp, #156] @ 0x9c - 80126d4: 6062 str r2, [r4, #4] - 80126d6: 3301 adds r3, #1 - 80126d8: 2b07 cmp r3, #7 - 80126da: 9327 str r3, [sp, #156] @ 0x9c - 80126dc: f300 8286 bgt.w 8012bec <_vfprintf_r+0xd04> - 80126e0: 3408 adds r4, #8 - 80126e2: 9b1d ldr r3, [sp, #116] @ 0x74 - 80126e4: 2b80 cmp r3, #128 @ 0x80 - 80126e6: d122 bne.n 801272e <_vfprintf_r+0x846> - 80126e8: 9b0e ldr r3, [sp, #56] @ 0x38 - 80126ea: 9a11 ldr r2, [sp, #68] @ 0x44 - 80126ec: 1a9b subs r3, r3, r2 - 80126ee: 2b00 cmp r3, #0 - 80126f0: 9313 str r3, [sp, #76] @ 0x4c - 80126f2: dd1c ble.n 801272e <_vfprintf_r+0x846> - 80126f4: 9813 ldr r0, [sp, #76] @ 0x4c - 80126f6: e9dd 2327 ldrd r2, r3, [sp, #156] @ 0x9c - 80126fa: 2810 cmp r0, #16 - 80126fc: 487c ldr r0, [pc, #496] @ (80128f0 <_vfprintf_r+0xa08>) - 80126fe: 6020 str r0, [r4, #0] - 8012700: f102 0201 add.w r2, r2, #1 - 8012704: f104 0108 add.w r1, r4, #8 - 8012708: f300 827a bgt.w 8012c00 <_vfprintf_r+0xd18> - 801270c: 9813 ldr r0, [sp, #76] @ 0x4c - 801270e: 6060 str r0, [r4, #4] - 8012710: 4403 add r3, r0 - 8012712: 2a07 cmp r2, #7 - 8012714: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c - 8012718: f340 8287 ble.w 8012c2a <_vfprintf_r+0xd42> - 801271c: 9803 ldr r0, [sp, #12] - 801271e: aa26 add r2, sp, #152 @ 0x98 - 8012720: 4659 mov r1, fp - 8012722: f000 fe4d bl 80133c0 <__sprint_r> - 8012726: 2800 cmp r0, #0 - 8012728: f040 85a5 bne.w 8013276 <_vfprintf_r+0x138e> - 801272c: ac29 add r4, sp, #164 @ 0xa4 - 801272e: 9b10 ldr r3, [sp, #64] @ 0x40 - 8012730: eba3 0309 sub.w r3, r3, r9 - 8012734: 2b00 cmp r3, #0 - 8012736: 9310 str r3, [sp, #64] @ 0x40 - 8012738: dd1c ble.n 8012774 <_vfprintf_r+0x88c> - 801273a: 9810 ldr r0, [sp, #64] @ 0x40 - 801273c: e9dd 2327 ldrd r2, r3, [sp, #156] @ 0x9c - 8012740: 2810 cmp r0, #16 - 8012742: 486b ldr r0, [pc, #428] @ (80128f0 <_vfprintf_r+0xa08>) - 8012744: 6020 str r0, [r4, #0] - 8012746: f102 0201 add.w r2, r2, #1 - 801274a: f104 0108 add.w r1, r4, #8 - 801274e: f300 826e bgt.w 8012c2e <_vfprintf_r+0xd46> - 8012752: 9810 ldr r0, [sp, #64] @ 0x40 - 8012754: 6060 str r0, [r4, #4] - 8012756: 4403 add r3, r0 - 8012758: 2a07 cmp r2, #7 - 801275a: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c - 801275e: f340 827b ble.w 8012c58 <_vfprintf_r+0xd70> - 8012762: 9803 ldr r0, [sp, #12] - 8012764: aa26 add r2, sp, #152 @ 0x98 - 8012766: 4659 mov r1, fp - 8012768: f000 fe2a bl 80133c0 <__sprint_r> - 801276c: 2800 cmp r0, #0 - 801276e: f040 8582 bne.w 8013276 <_vfprintf_r+0x138e> - 8012772: ac29 add r4, sp, #164 @ 0xa4 - 8012774: 9b28 ldr r3, [sp, #160] @ 0xa0 - 8012776: 9310 str r3, [sp, #64] @ 0x40 - 8012778: 05e8 lsls r0, r5, #23 - 801277a: f100 8273 bmi.w 8012c64 <_vfprintf_r+0xd7c> - 801277e: 444b add r3, r9 - 8012780: 9328 str r3, [sp, #160] @ 0xa0 - 8012782: 9b27 ldr r3, [sp, #156] @ 0x9c - 8012784: 3301 adds r3, #1 - 8012786: 2b07 cmp r3, #7 - 8012788: e9c4 8900 strd r8, r9, [r4] - 801278c: 9327 str r3, [sp, #156] @ 0x9c - 801278e: f300 82af bgt.w 8012cf0 <_vfprintf_r+0xe08> - 8012792: 3408 adds r4, #8 - 8012794: 0768 lsls r0, r5, #29 - 8012796: f100 8550 bmi.w 801323a <_vfprintf_r+0x1352> - 801279a: e9dd 230e ldrd r2, r3, [sp, #56] @ 0x38 - 801279e: 9911 ldr r1, [sp, #68] @ 0x44 - 80127a0: 428a cmp r2, r1 - 80127a2: bfac ite ge - 80127a4: 189b addge r3, r3, r2 - 80127a6: 185b addlt r3, r3, r1 - 80127a8: 930f str r3, [sp, #60] @ 0x3c - 80127aa: 9b28 ldr r3, [sp, #160] @ 0xa0 - 80127ac: b13b cbz r3, 80127be <_vfprintf_r+0x8d6> - 80127ae: 9803 ldr r0, [sp, #12] - 80127b0: aa26 add r2, sp, #152 @ 0x98 - 80127b2: 4659 mov r1, fp - 80127b4: f000 fe04 bl 80133c0 <__sprint_r> - 80127b8: 2800 cmp r0, #0 - 80127ba: f040 855c bne.w 8013276 <_vfprintf_r+0x138e> - 80127be: 2300 movs r3, #0 - 80127c0: 9327 str r3, [sp, #156] @ 0x9c - 80127c2: f1ba 0f00 cmp.w sl, #0 - 80127c6: f040 8572 bne.w 80132ae <_vfprintf_r+0x13c6> - 80127ca: 9e07 ldr r6, [sp, #28] - 80127cc: ac29 add r4, sp, #164 @ 0xa4 - 80127ce: f8dd 8030 ldr.w r8, [sp, #48] @ 0x30 - 80127d2: e407 b.n 8011fe4 <_vfprintf_r+0xfc> - 80127d4: f802 0c01 strb.w r0, [r2, #-1] - 80127d8: e6aa b.n 8012530 <_vfprintf_r+0x648> - 80127da: f803 0b01 strb.w r0, [r3], #1 - 80127de: e675 b.n 80124cc <_vfprintf_r+0x5e4> - 80127e0: 9b08 ldr r3, [sp, #32] - 80127e2: 2b46 cmp r3, #70 @ 0x46 - 80127e4: d005 beq.n 80127f2 <_vfprintf_r+0x90a> - 80127e6: 2b45 cmp r3, #69 @ 0x45 - 80127e8: d11a bne.n 8012820 <_vfprintf_r+0x938> - 80127ea: f109 0601 add.w r6, r9, #1 - 80127ee: 2102 movs r1, #2 - 80127f0: e001 b.n 80127f6 <_vfprintf_r+0x90e> - 80127f2: 464e mov r6, r9 - 80127f4: 2103 movs r1, #3 - 80127f6: ab24 add r3, sp, #144 @ 0x90 - 80127f8: 9301 str r3, [sp, #4] - 80127fa: ab21 add r3, sp, #132 @ 0x84 - 80127fc: 9300 str r3, [sp, #0] - 80127fe: ed9d 0b14 vldr d0, [sp, #80] @ 0x50 - 8012802: ab20 add r3, sp, #128 @ 0x80 - 8012804: 9803 ldr r0, [sp, #12] - 8012806: 4632 mov r2, r6 - 8012808: f001 ff32 bl 8014670 <_dtoa_r> - 801280c: 9b08 ldr r3, [sp, #32] - 801280e: 2b47 cmp r3, #71 @ 0x47 - 8012810: 4680 mov r8, r0 - 8012812: d119 bne.n 8012848 <_vfprintf_r+0x960> - 8012814: 07e8 lsls r0, r5, #31 - 8012816: d405 bmi.n 8012824 <_vfprintf_r+0x93c> - 8012818: 9b24 ldr r3, [sp, #144] @ 0x90 - 801281a: eba3 0308 sub.w r3, r3, r8 - 801281e: e699 b.n 8012554 <_vfprintf_r+0x66c> - 8012820: 464e mov r6, r9 - 8012822: e7e4 b.n 80127ee <_vfprintf_r+0x906> - 8012824: eb08 0706 add.w r7, r8, r6 - 8012828: e9dd 0114 ldrd r0, r1, [sp, #80] @ 0x50 - 801282c: 2200 movs r2, #0 - 801282e: 2300 movs r3, #0 - 8012830: f7ee f95a bl 8000ae8 <__aeabi_dcmpeq> - 8012834: b100 cbz r0, 8012838 <_vfprintf_r+0x950> - 8012836: 9724 str r7, [sp, #144] @ 0x90 - 8012838: 2230 movs r2, #48 @ 0x30 - 801283a: 9b24 ldr r3, [sp, #144] @ 0x90 - 801283c: 429f cmp r7, r3 - 801283e: d9eb bls.n 8012818 <_vfprintf_r+0x930> - 8012840: 1c59 adds r1, r3, #1 - 8012842: 9124 str r1, [sp, #144] @ 0x90 - 8012844: 701a strb r2, [r3, #0] - 8012846: e7f8 b.n 801283a <_vfprintf_r+0x952> - 8012848: 9b08 ldr r3, [sp, #32] - 801284a: 2b46 cmp r3, #70 @ 0x46 - 801284c: eb00 0706 add.w r7, r0, r6 - 8012850: d1ea bne.n 8012828 <_vfprintf_r+0x940> - 8012852: 7803 ldrb r3, [r0, #0] - 8012854: 2b30 cmp r3, #48 @ 0x30 - 8012856: d109 bne.n 801286c <_vfprintf_r+0x984> - 8012858: e9dd 0114 ldrd r0, r1, [sp, #80] @ 0x50 - 801285c: 2200 movs r2, #0 - 801285e: 2300 movs r3, #0 - 8012860: f7ee f942 bl 8000ae8 <__aeabi_dcmpeq> - 8012864: b910 cbnz r0, 801286c <_vfprintf_r+0x984> - 8012866: f1c6 0601 rsb r6, r6, #1 - 801286a: 9620 str r6, [sp, #128] @ 0x80 - 801286c: 9b20 ldr r3, [sp, #128] @ 0x80 - 801286e: 441f add r7, r3 - 8012870: e7da b.n 8012828 <_vfprintf_r+0x940> - 8012872: 9b08 ldr r3, [sp, #32] - 8012874: 2b46 cmp r3, #70 @ 0x46 - 8012876: f47f ae7b bne.w 8012570 <_vfprintf_r+0x688> - 801287a: f005 0301 and.w r3, r5, #1 - 801287e: 2e00 cmp r6, #0 - 8012880: ea43 0309 orr.w r3, r3, r9 - 8012884: dd25 ble.n 80128d2 <_vfprintf_r+0x9ea> - 8012886: b37b cbz r3, 80128e8 <_vfprintf_r+0xa00> - 8012888: 9b0d ldr r3, [sp, #52] @ 0x34 - 801288a: 18f3 adds r3, r6, r3 - 801288c: 4499 add r9, r3 - 801288e: 2366 movs r3, #102 @ 0x66 - 8012890: 9306 str r3, [sp, #24] - 8012892: e033 b.n 80128fc <_vfprintf_r+0xa14> - 8012894: f813 7b01 ldrb.w r7, [r3], #1 - 8012898: f806 7f01 strb.w r7, [r6, #1]! - 801289c: e69f b.n 80125de <_vfprintf_r+0x6f6> - 801289e: b941 cbnz r1, 80128b2 <_vfprintf_r+0x9ca> - 80128a0: 2230 movs r2, #48 @ 0x30 - 80128a2: f88d 208a strb.w r2, [sp, #138] @ 0x8a - 80128a6: f10d 028b add.w r2, sp, #139 @ 0x8b - 80128aa: 3330 adds r3, #48 @ 0x30 - 80128ac: f802 3b01 strb.w r3, [r2], #1 - 80128b0: e6a1 b.n 80125f6 <_vfprintf_r+0x70e> - 80128b2: f10d 028a add.w r2, sp, #138 @ 0x8a - 80128b6: e7f8 b.n 80128aa <_vfprintf_r+0x9c2> - 80128b8: 9b04 ldr r3, [sp, #16] - 80128ba: 42b3 cmp r3, r6 - 80128bc: dd0d ble.n 80128da <_vfprintf_r+0x9f2> - 80128be: 9b04 ldr r3, [sp, #16] - 80128c0: 9a0d ldr r2, [sp, #52] @ 0x34 - 80128c2: 2e00 cmp r6, #0 - 80128c4: eb03 0902 add.w r9, r3, r2 - 80128c8: dc0c bgt.n 80128e4 <_vfprintf_r+0x9fc> - 80128ca: f1c6 0301 rsb r3, r6, #1 - 80128ce: 4499 add r9, r3 - 80128d0: e008 b.n 80128e4 <_vfprintf_r+0x9fc> - 80128d2: b17b cbz r3, 80128f4 <_vfprintf_r+0xa0c> - 80128d4: 9b0d ldr r3, [sp, #52] @ 0x34 - 80128d6: 3301 adds r3, #1 - 80128d8: e7d8 b.n 801288c <_vfprintf_r+0x9a4> - 80128da: 07eb lsls r3, r5, #31 - 80128dc: d521 bpl.n 8012922 <_vfprintf_r+0xa3a> - 80128de: 9b0d ldr r3, [sp, #52] @ 0x34 - 80128e0: eb06 0903 add.w r9, r6, r3 - 80128e4: 2367 movs r3, #103 @ 0x67 - 80128e6: e7d3 b.n 8012890 <_vfprintf_r+0x9a8> - 80128e8: 46b1 mov r9, r6 - 80128ea: e7d0 b.n 801288e <_vfprintf_r+0x9a6> - 80128ec: 0801902f .word 0x0801902f - 80128f0: 0801901f .word 0x0801901f - 80128f4: 2366 movs r3, #102 @ 0x66 - 80128f6: 9306 str r3, [sp, #24] - 80128f8: f04f 0901 mov.w r9, #1 - 80128fc: f415 6380 ands.w r3, r5, #1024 @ 0x400 - 8012900: 9308 str r3, [sp, #32] - 8012902: d01f beq.n 8012944 <_vfprintf_r+0xa5c> - 8012904: 2700 movs r7, #0 - 8012906: 2e00 cmp r6, #0 - 8012908: 9708 str r7, [sp, #32] - 801290a: f77f ae88 ble.w 801261e <_vfprintf_r+0x736> - 801290e: 9b09 ldr r3, [sp, #36] @ 0x24 - 8012910: 781b ldrb r3, [r3, #0] - 8012912: 2bff cmp r3, #255 @ 0xff - 8012914: d107 bne.n 8012926 <_vfprintf_r+0xa3e> - 8012916: 9b08 ldr r3, [sp, #32] - 8012918: 9a12 ldr r2, [sp, #72] @ 0x48 - 801291a: 443b add r3, r7 - 801291c: fb02 9903 mla r9, r2, r3, r9 - 8012920: e67d b.n 801261e <_vfprintf_r+0x736> - 8012922: 46b1 mov r9, r6 - 8012924: e7de b.n 80128e4 <_vfprintf_r+0x9fc> - 8012926: 42b3 cmp r3, r6 - 8012928: daf5 bge.n 8012916 <_vfprintf_r+0xa2e> - 801292a: 1af6 subs r6, r6, r3 - 801292c: 9b09 ldr r3, [sp, #36] @ 0x24 - 801292e: 785b ldrb r3, [r3, #1] - 8012930: b133 cbz r3, 8012940 <_vfprintf_r+0xa58> - 8012932: 9b08 ldr r3, [sp, #32] - 8012934: 3301 adds r3, #1 - 8012936: 9308 str r3, [sp, #32] - 8012938: 9b09 ldr r3, [sp, #36] @ 0x24 - 801293a: 3301 adds r3, #1 - 801293c: 9309 str r3, [sp, #36] @ 0x24 - 801293e: e7e6 b.n 801290e <_vfprintf_r+0xa26> - 8012940: 3701 adds r7, #1 - 8012942: e7e4 b.n 801290e <_vfprintf_r+0xa26> - 8012944: 9f08 ldr r7, [sp, #32] - 8012946: e66a b.n 801261e <_vfprintf_r+0x736> - 8012948: 232d movs r3, #45 @ 0x2d - 801294a: f88d 307b strb.w r3, [sp, #123] @ 0x7b - 801294e: e66a b.n 8012626 <_vfprintf_r+0x73e> - 8012950: 06af lsls r7, r5, #26 - 8012952: d507 bpl.n 8012964 <_vfprintf_r+0xa7c> - 8012954: 9a0f ldr r2, [sp, #60] @ 0x3c - 8012956: 6833 ldr r3, [r6, #0] - 8012958: 990f ldr r1, [sp, #60] @ 0x3c - 801295a: 17d2 asrs r2, r2, #31 - 801295c: e9c3 1200 strd r1, r2, [r3] - 8012960: 3604 adds r6, #4 - 8012962: e734 b.n 80127ce <_vfprintf_r+0x8e6> - 8012964: 06e8 lsls r0, r5, #27 - 8012966: d503 bpl.n 8012970 <_vfprintf_r+0xa88> - 8012968: 6833 ldr r3, [r6, #0] - 801296a: 9a0f ldr r2, [sp, #60] @ 0x3c - 801296c: 601a str r2, [r3, #0] - 801296e: e7f7 b.n 8012960 <_vfprintf_r+0xa78> - 8012970: 0669 lsls r1, r5, #25 - 8012972: d503 bpl.n 801297c <_vfprintf_r+0xa94> - 8012974: 6833 ldr r3, [r6, #0] - 8012976: 9a0f ldr r2, [sp, #60] @ 0x3c - 8012978: 801a strh r2, [r3, #0] - 801297a: e7f1 b.n 8012960 <_vfprintf_r+0xa78> - 801297c: 05aa lsls r2, r5, #22 - 801297e: d5f3 bpl.n 8012968 <_vfprintf_r+0xa80> - 8012980: 6833 ldr r3, [r6, #0] - 8012982: 9a0f ldr r2, [sp, #60] @ 0x3c - 8012984: 701a strb r2, [r3, #0] - 8012986: e7eb b.n 8012960 <_vfprintf_r+0xa78> - 8012988: f045 0510 orr.w r5, r5, #16 - 801298c: f015 0320 ands.w r3, r5, #32 - 8012990: d020 beq.n 80129d4 <_vfprintf_r+0xaec> - 8012992: 3607 adds r6, #7 - 8012994: f026 0307 bic.w r3, r6, #7 - 8012998: 461a mov r2, r3 - 801299a: 685f ldr r7, [r3, #4] - 801299c: f852 6b08 ldr.w r6, [r2], #8 - 80129a0: 9207 str r2, [sp, #28] - 80129a2: f425 6580 bic.w r5, r5, #1024 @ 0x400 - 80129a6: 2300 movs r3, #0 - 80129a8: 2200 movs r2, #0 - 80129aa: f88d 207b strb.w r2, [sp, #123] @ 0x7b - 80129ae: f1b9 3fff cmp.w r9, #4294967295 - 80129b2: f000 8491 beq.w 80132d8 <_vfprintf_r+0x13f0> - 80129b6: f025 0280 bic.w r2, r5, #128 @ 0x80 - 80129ba: 9208 str r2, [sp, #32] - 80129bc: ea56 0207 orrs.w r2, r6, r7 - 80129c0: f040 848f bne.w 80132e2 <_vfprintf_r+0x13fa> - 80129c4: f1b9 0f00 cmp.w r9, #0 - 80129c8: f000 80db beq.w 8012b82 <_vfprintf_r+0xc9a> - 80129cc: 2b01 cmp r3, #1 - 80129ce: f040 848b bne.w 80132e8 <_vfprintf_r+0x1400> - 80129d2: e083 b.n 8012adc <_vfprintf_r+0xbf4> - 80129d4: 4632 mov r2, r6 - 80129d6: f015 0710 ands.w r7, r5, #16 - 80129da: f852 6b04 ldr.w r6, [r2], #4 - 80129de: 9207 str r2, [sp, #28] - 80129e0: d001 beq.n 80129e6 <_vfprintf_r+0xafe> - 80129e2: 461f mov r7, r3 - 80129e4: e7dd b.n 80129a2 <_vfprintf_r+0xaba> - 80129e6: f015 0340 ands.w r3, r5, #64 @ 0x40 - 80129ea: d001 beq.n 80129f0 <_vfprintf_r+0xb08> - 80129ec: b2b6 uxth r6, r6 - 80129ee: e7d8 b.n 80129a2 <_vfprintf_r+0xaba> - 80129f0: f415 7700 ands.w r7, r5, #512 @ 0x200 - 80129f4: d0d5 beq.n 80129a2 <_vfprintf_r+0xaba> - 80129f6: b2f6 uxtb r6, r6 - 80129f8: e7f3 b.n 80129e2 <_vfprintf_r+0xafa> - 80129fa: 4633 mov r3, r6 - 80129fc: 2278 movs r2, #120 @ 0x78 - 80129fe: f853 6b04 ldr.w r6, [r3], #4 - 8012a02: 9307 str r3, [sp, #28] - 8012a04: f647 0330 movw r3, #30768 @ 0x7830 - 8012a08: f8ad 307c strh.w r3, [sp, #124] @ 0x7c - 8012a0c: 4b93 ldr r3, [pc, #588] @ (8012c5c <_vfprintf_r+0xd74>) - 8012a0e: 9319 str r3, [sp, #100] @ 0x64 - 8012a10: 2700 movs r7, #0 - 8012a12: f045 0502 orr.w r5, r5, #2 - 8012a16: 2302 movs r3, #2 - 8012a18: 9206 str r2, [sp, #24] - 8012a1a: e7c5 b.n 80129a8 <_vfprintf_r+0xac0> - 8012a1c: 4633 mov r3, r6 - 8012a1e: f1b9 3fff cmp.w r9, #4294967295 - 8012a22: f853 8b04 ldr.w r8, [r3], #4 - 8012a26: 9307 str r3, [sp, #28] - 8012a28: f04f 0600 mov.w r6, #0 - 8012a2c: f88d 607b strb.w r6, [sp, #123] @ 0x7b - 8012a30: d00f beq.n 8012a52 <_vfprintf_r+0xb6a> - 8012a32: 464a mov r2, r9 - 8012a34: 4631 mov r1, r6 - 8012a36: 4640 mov r0, r8 - 8012a38: f7ed fbe2 bl 8000200 - 8012a3c: 4682 mov sl, r0 - 8012a3e: 2800 cmp r0, #0 - 8012a40: f43f ac7a beq.w 8012338 <_vfprintf_r+0x450> - 8012a44: eba0 0908 sub.w r9, r0, r8 - 8012a48: 46b2 mov sl, r6 - 8012a4a: 9610 str r6, [sp, #64] @ 0x40 - 8012a4c: 4637 mov r7, r6 - 8012a4e: 9608 str r6, [sp, #32] - 8012a50: e5ec b.n 801262c <_vfprintf_r+0x744> - 8012a52: 4640 mov r0, r8 - 8012a54: f7ed fbcc bl 80001f0 - 8012a58: 46b2 mov sl, r6 - 8012a5a: 4681 mov r9, r0 - 8012a5c: e46c b.n 8012338 <_vfprintf_r+0x450> - 8012a5e: f045 0510 orr.w r5, r5, #16 - 8012a62: f015 0320 ands.w r3, r5, #32 - 8012a66: d009 beq.n 8012a7c <_vfprintf_r+0xb94> - 8012a68: 3607 adds r6, #7 - 8012a6a: f026 0307 bic.w r3, r6, #7 - 8012a6e: 461a mov r2, r3 - 8012a70: 685f ldr r7, [r3, #4] - 8012a72: f852 6b08 ldr.w r6, [r2], #8 - 8012a76: 9207 str r2, [sp, #28] - 8012a78: 2301 movs r3, #1 - 8012a7a: e795 b.n 80129a8 <_vfprintf_r+0xac0> - 8012a7c: 4632 mov r2, r6 - 8012a7e: f015 0710 ands.w r7, r5, #16 - 8012a82: f852 6b04 ldr.w r6, [r2], #4 - 8012a86: 9207 str r2, [sp, #28] - 8012a88: d001 beq.n 8012a8e <_vfprintf_r+0xba6> - 8012a8a: 461f mov r7, r3 - 8012a8c: e7f4 b.n 8012a78 <_vfprintf_r+0xb90> - 8012a8e: f015 0340 ands.w r3, r5, #64 @ 0x40 - 8012a92: d001 beq.n 8012a98 <_vfprintf_r+0xbb0> - 8012a94: b2b6 uxth r6, r6 - 8012a96: e7ef b.n 8012a78 <_vfprintf_r+0xb90> - 8012a98: f415 7700 ands.w r7, r5, #512 @ 0x200 - 8012a9c: d0ec beq.n 8012a78 <_vfprintf_r+0xb90> - 8012a9e: b2f6 uxtb r6, r6 - 8012aa0: e7f3 b.n 8012a8a <_vfprintf_r+0xba2> - 8012aa2: 4b6f ldr r3, [pc, #444] @ (8012c60 <_vfprintf_r+0xd78>) - 8012aa4: f7ff bb33 b.w 801210e <_vfprintf_r+0x226> - 8012aa8: 4632 mov r2, r6 - 8012aaa: f015 0710 ands.w r7, r5, #16 - 8012aae: f852 6b04 ldr.w r6, [r2], #4 - 8012ab2: 9207 str r2, [sp, #28] - 8012ab4: d002 beq.n 8012abc <_vfprintf_r+0xbd4> - 8012ab6: 461f mov r7, r3 - 8012ab8: f7ff bb36 b.w 8012128 <_vfprintf_r+0x240> - 8012abc: f015 0340 ands.w r3, r5, #64 @ 0x40 - 8012ac0: d002 beq.n 8012ac8 <_vfprintf_r+0xbe0> - 8012ac2: b2b6 uxth r6, r6 - 8012ac4: f7ff bb30 b.w 8012128 <_vfprintf_r+0x240> - 8012ac8: f415 7700 ands.w r7, r5, #512 @ 0x200 - 8012acc: f43f ab2c beq.w 8012128 <_vfprintf_r+0x240> - 8012ad0: b2f6 uxtb r6, r6 - 8012ad2: e7f0 b.n 8012ab6 <_vfprintf_r+0xbce> - 8012ad4: 2e0a cmp r6, #10 - 8012ad6: f177 0300 sbcs.w r3, r7, #0 - 8012ada: d207 bcs.n 8012aec <_vfprintf_r+0xc04> - 8012adc: 3630 adds r6, #48 @ 0x30 - 8012ade: b2f6 uxtb r6, r6 - 8012ae0: f88d 6147 strb.w r6, [sp, #327] @ 0x147 - 8012ae4: f20d 1847 addw r8, sp, #327 @ 0x147 - 8012ae8: f000 bc1a b.w 8013320 <_vfprintf_r+0x1438> - 8012aec: 2300 movs r3, #0 - 8012aee: 9304 str r3, [sp, #16] - 8012af0: 9b08 ldr r3, [sp, #32] - 8012af2: f403 6380 and.w r3, r3, #1024 @ 0x400 - 8012af6: ad52 add r5, sp, #328 @ 0x148 - 8012af8: 9310 str r3, [sp, #64] @ 0x40 - 8012afa: 220a movs r2, #10 - 8012afc: 2300 movs r3, #0 - 8012afe: 4630 mov r0, r6 - 8012b00: 4639 mov r1, r7 - 8012b02: f7ee f861 bl 8000bc8 <__aeabi_uldivmod> - 8012b06: 9b04 ldr r3, [sp, #16] - 8012b08: 9011 str r0, [sp, #68] @ 0x44 - 8012b0a: 3301 adds r3, #1 - 8012b0c: 9304 str r3, [sp, #16] - 8012b0e: 9b10 ldr r3, [sp, #64] @ 0x40 - 8012b10: 3230 adds r2, #48 @ 0x30 - 8012b12: 468a mov sl, r1 - 8012b14: f105 38ff add.w r8, r5, #4294967295 - 8012b18: f805 2c01 strb.w r2, [r5, #-1] - 8012b1c: b1d3 cbz r3, 8012b54 <_vfprintf_r+0xc6c> - 8012b1e: 9b09 ldr r3, [sp, #36] @ 0x24 - 8012b20: 9a04 ldr r2, [sp, #16] - 8012b22: 781b ldrb r3, [r3, #0] - 8012b24: 429a cmp r2, r3 - 8012b26: d115 bne.n 8012b54 <_vfprintf_r+0xc6c> - 8012b28: 2aff cmp r2, #255 @ 0xff - 8012b2a: d013 beq.n 8012b54 <_vfprintf_r+0xc6c> - 8012b2c: 2e0a cmp r6, #10 - 8012b2e: f177 0300 sbcs.w r3, r7, #0 - 8012b32: d30f bcc.n 8012b54 <_vfprintf_r+0xc6c> - 8012b34: 9b12 ldr r3, [sp, #72] @ 0x48 - 8012b36: 9917 ldr r1, [sp, #92] @ 0x5c - 8012b38: eba8 0803 sub.w r8, r8, r3 - 8012b3c: 461a mov r2, r3 - 8012b3e: 4640 mov r0, r8 - 8012b40: f001 fc48 bl 80143d4 - 8012b44: 9b09 ldr r3, [sp, #36] @ 0x24 - 8012b46: 785b ldrb r3, [r3, #1] - 8012b48: b11b cbz r3, 8012b52 <_vfprintf_r+0xc6a> - 8012b4a: 9b09 ldr r3, [sp, #36] @ 0x24 - 8012b4c: 3301 adds r3, #1 - 8012b4e: 9309 str r3, [sp, #36] @ 0x24 - 8012b50: 2300 movs r3, #0 - 8012b52: 9304 str r3, [sp, #16] - 8012b54: 2e0a cmp r6, #10 - 8012b56: f177 0700 sbcs.w r7, r7, #0 - 8012b5a: f0c0 83e1 bcc.w 8013320 <_vfprintf_r+0x1438> - 8012b5e: 9e11 ldr r6, [sp, #68] @ 0x44 - 8012b60: 4657 mov r7, sl - 8012b62: 4645 mov r5, r8 - 8012b64: e7c9 b.n 8012afa <_vfprintf_r+0xc12> - 8012b66: f006 030f and.w r3, r6, #15 - 8012b6a: 9a19 ldr r2, [sp, #100] @ 0x64 - 8012b6c: 0936 lsrs r6, r6, #4 - 8012b6e: 5cd3 ldrb r3, [r2, r3] - 8012b70: f808 3d01 strb.w r3, [r8, #-1]! - 8012b74: ea46 7607 orr.w r6, r6, r7, lsl #28 - 8012b78: 093f lsrs r7, r7, #4 - 8012b7a: ea56 0307 orrs.w r3, r6, r7 - 8012b7e: d1f2 bne.n 8012b66 <_vfprintf_r+0xc7e> - 8012b80: e3ce b.n 8013320 <_vfprintf_r+0x1438> - 8012b82: b91b cbnz r3, 8012b8c <_vfprintf_r+0xca4> - 8012b84: 07ed lsls r5, r5, #31 - 8012b86: d501 bpl.n 8012b8c <_vfprintf_r+0xca4> - 8012b88: 2630 movs r6, #48 @ 0x30 - 8012b8a: e7a9 b.n 8012ae0 <_vfprintf_r+0xbf8> - 8012b8c: f50d 78a4 add.w r8, sp, #328 @ 0x148 - 8012b90: e3c6 b.n 8013320 <_vfprintf_r+0x1438> - 8012b92: 9b06 ldr r3, [sp, #24] - 8012b94: 2b00 cmp r3, #0 - 8012b96: f000 8390 beq.w 80132ba <_vfprintf_r+0x13d2> - 8012b9a: f88d 30e4 strb.w r3, [sp, #228] @ 0xe4 - 8012b9e: 2300 movs r3, #0 - 8012ba0: f88d 307b strb.w r3, [sp, #123] @ 0x7b - 8012ba4: 9607 str r6, [sp, #28] - 8012ba6: f7ff bb5c b.w 8012262 <_vfprintf_r+0x37a> - 8012baa: 2010 movs r0, #16 - 8012bac: 4403 add r3, r0 - 8012bae: 2a07 cmp r2, #7 - 8012bb0: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c - 8012bb4: 6060 str r0, [r4, #4] - 8012bb6: dd08 ble.n 8012bca <_vfprintf_r+0xce2> - 8012bb8: 9803 ldr r0, [sp, #12] - 8012bba: aa26 add r2, sp, #152 @ 0x98 - 8012bbc: 4659 mov r1, fp - 8012bbe: f000 fbff bl 80133c0 <__sprint_r> - 8012bc2: 2800 cmp r0, #0 - 8012bc4: f040 8357 bne.w 8013276 <_vfprintf_r+0x138e> - 8012bc8: a929 add r1, sp, #164 @ 0xa4 - 8012bca: 9b13 ldr r3, [sp, #76] @ 0x4c - 8012bcc: 3b10 subs r3, #16 - 8012bce: 9313 str r3, [sp, #76] @ 0x4c - 8012bd0: 460c mov r4, r1 - 8012bd2: e547 b.n 8012664 <_vfprintf_r+0x77c> - 8012bd4: 460c mov r4, r1 - 8012bd6: e562 b.n 801269e <_vfprintf_r+0x7b6> - 8012bd8: 9803 ldr r0, [sp, #12] - 8012bda: aa26 add r2, sp, #152 @ 0x98 - 8012bdc: 4659 mov r1, fp - 8012bde: f000 fbef bl 80133c0 <__sprint_r> - 8012be2: 2800 cmp r0, #0 - 8012be4: f040 8347 bne.w 8013276 <_vfprintf_r+0x138e> - 8012be8: ac29 add r4, sp, #164 @ 0xa4 - 8012bea: e56a b.n 80126c2 <_vfprintf_r+0x7da> - 8012bec: 9803 ldr r0, [sp, #12] - 8012bee: aa26 add r2, sp, #152 @ 0x98 - 8012bf0: 4659 mov r1, fp - 8012bf2: f000 fbe5 bl 80133c0 <__sprint_r> - 8012bf6: 2800 cmp r0, #0 - 8012bf8: f040 833d bne.w 8013276 <_vfprintf_r+0x138e> - 8012bfc: ac29 add r4, sp, #164 @ 0xa4 - 8012bfe: e570 b.n 80126e2 <_vfprintf_r+0x7fa> - 8012c00: 2010 movs r0, #16 - 8012c02: 4403 add r3, r0 - 8012c04: 2a07 cmp r2, #7 - 8012c06: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c - 8012c0a: 6060 str r0, [r4, #4] - 8012c0c: dd08 ble.n 8012c20 <_vfprintf_r+0xd38> - 8012c0e: 9803 ldr r0, [sp, #12] - 8012c10: aa26 add r2, sp, #152 @ 0x98 - 8012c12: 4659 mov r1, fp - 8012c14: f000 fbd4 bl 80133c0 <__sprint_r> - 8012c18: 2800 cmp r0, #0 - 8012c1a: f040 832c bne.w 8013276 <_vfprintf_r+0x138e> - 8012c1e: a929 add r1, sp, #164 @ 0xa4 - 8012c20: 9b13 ldr r3, [sp, #76] @ 0x4c - 8012c22: 3b10 subs r3, #16 - 8012c24: 9313 str r3, [sp, #76] @ 0x4c - 8012c26: 460c mov r4, r1 - 8012c28: e564 b.n 80126f4 <_vfprintf_r+0x80c> - 8012c2a: 460c mov r4, r1 - 8012c2c: e57f b.n 801272e <_vfprintf_r+0x846> - 8012c2e: 2010 movs r0, #16 - 8012c30: 4403 add r3, r0 - 8012c32: 2a07 cmp r2, #7 - 8012c34: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c - 8012c38: 6060 str r0, [r4, #4] - 8012c3a: dd08 ble.n 8012c4e <_vfprintf_r+0xd66> - 8012c3c: 9803 ldr r0, [sp, #12] - 8012c3e: aa26 add r2, sp, #152 @ 0x98 - 8012c40: 4659 mov r1, fp - 8012c42: f000 fbbd bl 80133c0 <__sprint_r> - 8012c46: 2800 cmp r0, #0 - 8012c48: f040 8315 bne.w 8013276 <_vfprintf_r+0x138e> - 8012c4c: a929 add r1, sp, #164 @ 0xa4 - 8012c4e: 9b10 ldr r3, [sp, #64] @ 0x40 - 8012c50: 3b10 subs r3, #16 - 8012c52: 9310 str r3, [sp, #64] @ 0x40 - 8012c54: 460c mov r4, r1 - 8012c56: e570 b.n 801273a <_vfprintf_r+0x852> - 8012c58: 460c mov r4, r1 - 8012c5a: e58b b.n 8012774 <_vfprintf_r+0x88c> - 8012c5c: 08018ffb .word 0x08018ffb - 8012c60: 0801900c .word 0x0801900c - 8012c64: 9b06 ldr r3, [sp, #24] - 8012c66: 2b65 cmp r3, #101 @ 0x65 - 8012c68: f340 8245 ble.w 80130f6 <_vfprintf_r+0x120e> - 8012c6c: e9dd 010a ldrd r0, r1, [sp, #40] @ 0x28 - 8012c70: 2200 movs r2, #0 - 8012c72: 2300 movs r3, #0 - 8012c74: f7ed ff38 bl 8000ae8 <__aeabi_dcmpeq> - 8012c78: 2800 cmp r0, #0 - 8012c7a: d06a beq.n 8012d52 <_vfprintf_r+0xe6a> - 8012c7c: 4b73 ldr r3, [pc, #460] @ (8012e4c <_vfprintf_r+0xf64>) - 8012c7e: 6023 str r3, [r4, #0] - 8012c80: 2301 movs r3, #1 - 8012c82: 6063 str r3, [r4, #4] - 8012c84: 9b10 ldr r3, [sp, #64] @ 0x40 - 8012c86: 3301 adds r3, #1 - 8012c88: 9328 str r3, [sp, #160] @ 0xa0 - 8012c8a: 9b27 ldr r3, [sp, #156] @ 0x9c - 8012c8c: 3301 adds r3, #1 - 8012c8e: 2b07 cmp r3, #7 - 8012c90: 9327 str r3, [sp, #156] @ 0x9c - 8012c92: dc37 bgt.n 8012d04 <_vfprintf_r+0xe1c> - 8012c94: 3408 adds r4, #8 - 8012c96: 9b20 ldr r3, [sp, #128] @ 0x80 - 8012c98: 9a04 ldr r2, [sp, #16] - 8012c9a: 4293 cmp r3, r2 - 8012c9c: db02 blt.n 8012ca4 <_vfprintf_r+0xdbc> - 8012c9e: 07e9 lsls r1, r5, #31 - 8012ca0: f57f ad78 bpl.w 8012794 <_vfprintf_r+0x8ac> - 8012ca4: 9b16 ldr r3, [sp, #88] @ 0x58 - 8012ca6: 6023 str r3, [r4, #0] - 8012ca8: 9b0d ldr r3, [sp, #52] @ 0x34 - 8012caa: 9a0d ldr r2, [sp, #52] @ 0x34 - 8012cac: 6063 str r3, [r4, #4] - 8012cae: 9b28 ldr r3, [sp, #160] @ 0xa0 - 8012cb0: 4413 add r3, r2 - 8012cb2: 9328 str r3, [sp, #160] @ 0xa0 - 8012cb4: 9b27 ldr r3, [sp, #156] @ 0x9c - 8012cb6: 3301 adds r3, #1 - 8012cb8: 2b07 cmp r3, #7 - 8012cba: 9327 str r3, [sp, #156] @ 0x9c - 8012cbc: dc2c bgt.n 8012d18 <_vfprintf_r+0xe30> - 8012cbe: 3408 adds r4, #8 - 8012cc0: 9b04 ldr r3, [sp, #16] - 8012cc2: 1e5e subs r6, r3, #1 - 8012cc4: 2e00 cmp r6, #0 - 8012cc6: f77f ad65 ble.w 8012794 <_vfprintf_r+0x8ac> - 8012cca: 4f61 ldr r7, [pc, #388] @ (8012e50 <_vfprintf_r+0xf68>) - 8012ccc: f04f 0810 mov.w r8, #16 - 8012cd0: e9dd 3227 ldrd r3, r2, [sp, #156] @ 0x9c - 8012cd4: 2e10 cmp r6, #16 - 8012cd6: f103 0301 add.w r3, r3, #1 - 8012cda: f104 0108 add.w r1, r4, #8 - 8012cde: 6027 str r7, [r4, #0] - 8012ce0: dc24 bgt.n 8012d2c <_vfprintf_r+0xe44> - 8012ce2: 6066 str r6, [r4, #4] - 8012ce4: 2b07 cmp r3, #7 - 8012ce6: 4416 add r6, r2 - 8012ce8: e9cd 3627 strd r3, r6, [sp, #156] @ 0x9c - 8012cec: f340 82a2 ble.w 8013234 <_vfprintf_r+0x134c> - 8012cf0: 9803 ldr r0, [sp, #12] - 8012cf2: aa26 add r2, sp, #152 @ 0x98 - 8012cf4: 4659 mov r1, fp - 8012cf6: f000 fb63 bl 80133c0 <__sprint_r> - 8012cfa: 2800 cmp r0, #0 - 8012cfc: f040 82bb bne.w 8013276 <_vfprintf_r+0x138e> - 8012d00: ac29 add r4, sp, #164 @ 0xa4 - 8012d02: e547 b.n 8012794 <_vfprintf_r+0x8ac> + 8012b98: 0801997b .word 0x0801997b + 8012b9c: 9b0c ldr r3, [sp, #48] @ 0x30 + 8012b9e: 781b ldrb r3, [r3, #0] + 8012ba0: 2b68 cmp r3, #104 @ 0x68 + 8012ba2: bf01 itttt eq + 8012ba4: 9b0c ldreq r3, [sp, #48] @ 0x30 + 8012ba6: 3301 addeq r3, #1 + 8012ba8: 930c streq r3, [sp, #48] @ 0x30 + 8012baa: f445 7500 orreq.w r5, r5, #512 @ 0x200 + 8012bae: bf18 it ne + 8012bb0: f045 0540 orrne.w r5, r5, #64 @ 0x40 + 8012bb4: e7a0 b.n 8012af8 <_vfprintf_r+0x290> + 8012bb6: 9b0c ldr r3, [sp, #48] @ 0x30 + 8012bb8: 781b ldrb r3, [r3, #0] + 8012bba: 2b6c cmp r3, #108 @ 0x6c + 8012bbc: d105 bne.n 8012bca <_vfprintf_r+0x362> + 8012bbe: 9b0c ldr r3, [sp, #48] @ 0x30 + 8012bc0: 3301 adds r3, #1 + 8012bc2: 930c str r3, [sp, #48] @ 0x30 + 8012bc4: f045 0520 orr.w r5, r5, #32 + 8012bc8: e796 b.n 8012af8 <_vfprintf_r+0x290> + 8012bca: f045 0510 orr.w r5, r5, #16 + 8012bce: e793 b.n 8012af8 <_vfprintf_r+0x290> + 8012bd0: 4632 mov r2, r6 + 8012bd2: f852 3b04 ldr.w r3, [r2], #4 + 8012bd6: f88d 30e4 strb.w r3, [sp, #228] @ 0xe4 + 8012bda: 2300 movs r3, #0 + 8012bdc: 9207 str r2, [sp, #28] + 8012bde: f88d 307b strb.w r3, [sp, #123] @ 0x7b + 8012be2: 469a mov sl, r3 + 8012be4: f04f 0901 mov.w r9, #1 + 8012be8: 9310 str r3, [sp, #64] @ 0x40 + 8012bea: 461f mov r7, r3 + 8012bec: 9308 str r3, [sp, #32] + 8012bee: 461e mov r6, r3 + 8012bf0: f10d 08e4 add.w r8, sp, #228 @ 0xe4 + 8012bf4: e1da b.n 8012fac <_vfprintf_r+0x744> + 8012bf6: f045 0510 orr.w r5, r5, #16 + 8012bfa: 06af lsls r7, r5, #26 + 8012bfc: d512 bpl.n 8012c24 <_vfprintf_r+0x3bc> + 8012bfe: 3607 adds r6, #7 + 8012c00: f026 0307 bic.w r3, r6, #7 + 8012c04: 461a mov r2, r3 + 8012c06: 685f ldr r7, [r3, #4] + 8012c08: f852 6b08 ldr.w r6, [r2], #8 + 8012c0c: 9207 str r2, [sp, #28] + 8012c0e: 2f00 cmp r7, #0 + 8012c10: da06 bge.n 8012c20 <_vfprintf_r+0x3b8> + 8012c12: 4276 negs r6, r6 + 8012c14: f04f 032d mov.w r3, #45 @ 0x2d + 8012c18: eb67 0747 sbc.w r7, r7, r7, lsl #1 + 8012c1c: f88d 307b strb.w r3, [sp, #123] @ 0x7b + 8012c20: 2301 movs r3, #1 + 8012c22: e384 b.n 801332e <_vfprintf_r+0xac6> + 8012c24: 4633 mov r3, r6 + 8012c26: 06ee lsls r6, r5, #27 + 8012c28: f853 7b04 ldr.w r7, [r3], #4 + 8012c2c: 9307 str r3, [sp, #28] + 8012c2e: d502 bpl.n 8012c36 <_vfprintf_r+0x3ce> + 8012c30: 463e mov r6, r7 + 8012c32: 17ff asrs r7, r7, #31 + 8012c34: e7eb b.n 8012c0e <_vfprintf_r+0x3a6> + 8012c36: 0668 lsls r0, r5, #25 + 8012c38: d503 bpl.n 8012c42 <_vfprintf_r+0x3da> + 8012c3a: b23e sxth r6, r7 + 8012c3c: f347 37c0 sbfx r7, r7, #15, #1 + 8012c40: e7e5 b.n 8012c0e <_vfprintf_r+0x3a6> + 8012c42: 05a9 lsls r1, r5, #22 + 8012c44: d5f4 bpl.n 8012c30 <_vfprintf_r+0x3c8> + 8012c46: b27e sxtb r6, r7 + 8012c48: f347 17c0 sbfx r7, r7, #7, #1 + 8012c4c: e7df b.n 8012c0e <_vfprintf_r+0x3a6> + 8012c4e: 3607 adds r6, #7 + 8012c50: f026 0307 bic.w r3, r6, #7 + 8012c54: ecb3 7b02 vldmia r3!, {d7} + 8012c58: ed8d 7b0a vstr d7, [sp, #40] @ 0x28 + 8012c5c: 9307 str r3, [sp, #28] + 8012c5e: 9b0a ldr r3, [sp, #40] @ 0x28 + 8012c60: 931a str r3, [sp, #104] @ 0x68 + 8012c62: 9b0b ldr r3, [sp, #44] @ 0x2c + 8012c64: f023 4300 bic.w r3, r3, #2147483648 @ 0x80000000 + 8012c68: 931b str r3, [sp, #108] @ 0x6c + 8012c6a: e9dd 011a ldrd r0, r1, [sp, #104] @ 0x68 + 8012c6e: 4b85 ldr r3, [pc, #532] @ (8012e84 <_vfprintf_r+0x61c>) + 8012c70: f04f 32ff mov.w r2, #4294967295 + 8012c74: f7ed ff6a bl 8000b4c <__aeabi_dcmpun> + 8012c78: bb10 cbnz r0, 8012cc0 <_vfprintf_r+0x458> + 8012c7a: e9dd 011a ldrd r0, r1, [sp, #104] @ 0x68 + 8012c7e: 4b81 ldr r3, [pc, #516] @ (8012e84 <_vfprintf_r+0x61c>) + 8012c80: f04f 32ff mov.w r2, #4294967295 + 8012c84: f7ed ff44 bl 8000b10 <__aeabi_dcmple> + 8012c88: b9d0 cbnz r0, 8012cc0 <_vfprintf_r+0x458> + 8012c8a: e9dd 010a ldrd r0, r1, [sp, #40] @ 0x28 + 8012c8e: 2200 movs r2, #0 + 8012c90: 2300 movs r3, #0 + 8012c92: f7ed ff33 bl 8000afc <__aeabi_dcmplt> + 8012c96: b110 cbz r0, 8012c9e <_vfprintf_r+0x436> + 8012c98: 232d movs r3, #45 @ 0x2d + 8012c9a: f88d 307b strb.w r3, [sp, #123] @ 0x7b + 8012c9e: 4a7a ldr r2, [pc, #488] @ (8012e88 <_vfprintf_r+0x620>) + 8012ca0: 4b7a ldr r3, [pc, #488] @ (8012e8c <_vfprintf_r+0x624>) + 8012ca2: 9906 ldr r1, [sp, #24] + 8012ca4: f025 0580 bic.w r5, r5, #128 @ 0x80 + 8012ca8: 2947 cmp r1, #71 @ 0x47 + 8012caa: bfd4 ite le + 8012cac: 4690 movle r8, r2 + 8012cae: 4698 movgt r8, r3 + 8012cb0: f04f 0a00 mov.w sl, #0 + 8012cb4: f04f 0903 mov.w r9, #3 + 8012cb8: f8cd a040 str.w sl, [sp, #64] @ 0x40 + 8012cbc: f000 bff8 b.w 8013cb0 <_vfprintf_r+0x1448> + 8012cc0: e9dd 230a ldrd r2, r3, [sp, #40] @ 0x28 + 8012cc4: 4610 mov r0, r2 + 8012cc6: 4619 mov r1, r3 + 8012cc8: f7ed ff40 bl 8000b4c <__aeabi_dcmpun> + 8012ccc: 4682 mov sl, r0 + 8012cce: b140 cbz r0, 8012ce2 <_vfprintf_r+0x47a> + 8012cd0: 9b0b ldr r3, [sp, #44] @ 0x2c + 8012cd2: 4a6f ldr r2, [pc, #444] @ (8012e90 <_vfprintf_r+0x628>) + 8012cd4: 2b00 cmp r3, #0 + 8012cd6: bfbc itt lt + 8012cd8: 232d movlt r3, #45 @ 0x2d + 8012cda: f88d 307b strblt.w r3, [sp, #123] @ 0x7b + 8012cde: 4b6d ldr r3, [pc, #436] @ (8012e94 <_vfprintf_r+0x62c>) + 8012ce0: e7df b.n 8012ca2 <_vfprintf_r+0x43a> + 8012ce2: 9b06 ldr r3, [sp, #24] + 8012ce4: 2b61 cmp r3, #97 @ 0x61 + 8012ce6: d02e beq.n 8012d46 <_vfprintf_r+0x4de> + 8012ce8: 2b41 cmp r3, #65 @ 0x41 + 8012cea: d12e bne.n 8012d4a <_vfprintf_r+0x4e2> + 8012cec: 2358 movs r3, #88 @ 0x58 + 8012cee: 2230 movs r2, #48 @ 0x30 + 8012cf0: f1b9 0f63 cmp.w r9, #99 @ 0x63 + 8012cf4: f88d 207c strb.w r2, [sp, #124] @ 0x7c + 8012cf8: f88d 307d strb.w r3, [sp, #125] @ 0x7d + 8012cfc: f045 0502 orr.w r5, r5, #2 + 8012d00: f340 80ae ble.w 8012e60 <_vfprintf_r+0x5f8> 8012d04: 9803 ldr r0, [sp, #12] - 8012d06: aa26 add r2, sp, #152 @ 0x98 - 8012d08: 4659 mov r1, fp - 8012d0a: f000 fb59 bl 80133c0 <__sprint_r> - 8012d0e: 2800 cmp r0, #0 - 8012d10: f040 82b1 bne.w 8013276 <_vfprintf_r+0x138e> - 8012d14: ac29 add r4, sp, #164 @ 0xa4 - 8012d16: e7be b.n 8012c96 <_vfprintf_r+0xdae> - 8012d18: 9803 ldr r0, [sp, #12] - 8012d1a: aa26 add r2, sp, #152 @ 0x98 - 8012d1c: 4659 mov r1, fp - 8012d1e: f000 fb4f bl 80133c0 <__sprint_r> - 8012d22: 2800 cmp r0, #0 - 8012d24: f040 82a7 bne.w 8013276 <_vfprintf_r+0x138e> - 8012d28: ac29 add r4, sp, #164 @ 0xa4 - 8012d2a: e7c9 b.n 8012cc0 <_vfprintf_r+0xdd8> - 8012d2c: 3210 adds r2, #16 - 8012d2e: 2b07 cmp r3, #7 - 8012d30: e9cd 3227 strd r3, r2, [sp, #156] @ 0x9c - 8012d34: f8c4 8004 str.w r8, [r4, #4] - 8012d38: dd08 ble.n 8012d4c <_vfprintf_r+0xe64> - 8012d3a: 9803 ldr r0, [sp, #12] - 8012d3c: aa26 add r2, sp, #152 @ 0x98 - 8012d3e: 4659 mov r1, fp - 8012d40: f000 fb3e bl 80133c0 <__sprint_r> - 8012d44: 2800 cmp r0, #0 - 8012d46: f040 8296 bne.w 8013276 <_vfprintf_r+0x138e> - 8012d4a: a929 add r1, sp, #164 @ 0xa4 - 8012d4c: 3e10 subs r6, #16 - 8012d4e: 460c mov r4, r1 - 8012d50: e7be b.n 8012cd0 <_vfprintf_r+0xde8> - 8012d52: 9b20 ldr r3, [sp, #128] @ 0x80 - 8012d54: 2b00 cmp r3, #0 - 8012d56: dc7d bgt.n 8012e54 <_vfprintf_r+0xf6c> - 8012d58: 4b3c ldr r3, [pc, #240] @ (8012e4c <_vfprintf_r+0xf64>) - 8012d5a: 6023 str r3, [r4, #0] - 8012d5c: 2301 movs r3, #1 - 8012d5e: 6063 str r3, [r4, #4] - 8012d60: 9b10 ldr r3, [sp, #64] @ 0x40 - 8012d62: 3301 adds r3, #1 - 8012d64: 9328 str r3, [sp, #160] @ 0xa0 - 8012d66: 9b27 ldr r3, [sp, #156] @ 0x9c - 8012d68: 3301 adds r3, #1 - 8012d6a: 2b07 cmp r3, #7 - 8012d6c: 9327 str r3, [sp, #156] @ 0x9c - 8012d6e: dc46 bgt.n 8012dfe <_vfprintf_r+0xf16> - 8012d70: 3408 adds r4, #8 - 8012d72: 9904 ldr r1, [sp, #16] - 8012d74: 9b20 ldr r3, [sp, #128] @ 0x80 - 8012d76: 9a28 ldr r2, [sp, #160] @ 0xa0 - 8012d78: 430b orrs r3, r1 - 8012d7a: f005 0101 and.w r1, r5, #1 - 8012d7e: 430b orrs r3, r1 - 8012d80: f43f ad08 beq.w 8012794 <_vfprintf_r+0x8ac> - 8012d84: 9b16 ldr r3, [sp, #88] @ 0x58 - 8012d86: 6023 str r3, [r4, #0] - 8012d88: 9b0d ldr r3, [sp, #52] @ 0x34 - 8012d8a: 6063 str r3, [r4, #4] - 8012d8c: 441a add r2, r3 - 8012d8e: 9b27 ldr r3, [sp, #156] @ 0x9c - 8012d90: 9228 str r2, [sp, #160] @ 0xa0 - 8012d92: 3301 adds r3, #1 - 8012d94: 2b07 cmp r3, #7 - 8012d96: 9327 str r3, [sp, #156] @ 0x9c - 8012d98: dc3b bgt.n 8012e12 <_vfprintf_r+0xf2a> - 8012d9a: f104 0308 add.w r3, r4, #8 - 8012d9e: 9e20 ldr r6, [sp, #128] @ 0x80 - 8012da0: 2e00 cmp r6, #0 - 8012da2: da1b bge.n 8012ddc <_vfprintf_r+0xef4> - 8012da4: 4f2a ldr r7, [pc, #168] @ (8012e50 <_vfprintf_r+0xf68>) - 8012da6: 4276 negs r6, r6 - 8012da8: 461a mov r2, r3 - 8012daa: 2410 movs r4, #16 - 8012dac: e9dd 1027 ldrd r1, r0, [sp, #156] @ 0x9c - 8012db0: 2e10 cmp r6, #16 - 8012db2: f101 0101 add.w r1, r1, #1 - 8012db6: f103 0308 add.w r3, r3, #8 - 8012dba: 6017 str r7, [r2, #0] - 8012dbc: dc33 bgt.n 8012e26 <_vfprintf_r+0xf3e> - 8012dbe: 6056 str r6, [r2, #4] - 8012dc0: 2907 cmp r1, #7 - 8012dc2: 4406 add r6, r0 - 8012dc4: e9cd 1627 strd r1, r6, [sp, #156] @ 0x9c - 8012dc8: dd08 ble.n 8012ddc <_vfprintf_r+0xef4> - 8012dca: 9803 ldr r0, [sp, #12] - 8012dcc: aa26 add r2, sp, #152 @ 0x98 - 8012dce: 4659 mov r1, fp - 8012dd0: f000 faf6 bl 80133c0 <__sprint_r> - 8012dd4: 2800 cmp r0, #0 - 8012dd6: f040 824e bne.w 8013276 <_vfprintf_r+0x138e> - 8012dda: ab29 add r3, sp, #164 @ 0xa4 - 8012ddc: 9a04 ldr r2, [sp, #16] - 8012dde: 9904 ldr r1, [sp, #16] - 8012de0: 605a str r2, [r3, #4] - 8012de2: 9a28 ldr r2, [sp, #160] @ 0xa0 - 8012de4: f8c3 8000 str.w r8, [r3] - 8012de8: 440a add r2, r1 - 8012dea: 9228 str r2, [sp, #160] @ 0xa0 - 8012dec: 9a27 ldr r2, [sp, #156] @ 0x9c - 8012dee: 3201 adds r2, #1 - 8012df0: 2a07 cmp r2, #7 - 8012df2: 9227 str r2, [sp, #156] @ 0x9c - 8012df4: f73f af7c bgt.w 8012cf0 <_vfprintf_r+0xe08> - 8012df8: f103 0408 add.w r4, r3, #8 - 8012dfc: e4ca b.n 8012794 <_vfprintf_r+0x8ac> - 8012dfe: 9803 ldr r0, [sp, #12] - 8012e00: aa26 add r2, sp, #152 @ 0x98 - 8012e02: 4659 mov r1, fp - 8012e04: f000 fadc bl 80133c0 <__sprint_r> - 8012e08: 2800 cmp r0, #0 - 8012e0a: f040 8234 bne.w 8013276 <_vfprintf_r+0x138e> - 8012e0e: ac29 add r4, sp, #164 @ 0xa4 - 8012e10: e7af b.n 8012d72 <_vfprintf_r+0xe8a> - 8012e12: 9803 ldr r0, [sp, #12] - 8012e14: aa26 add r2, sp, #152 @ 0x98 - 8012e16: 4659 mov r1, fp - 8012e18: f000 fad2 bl 80133c0 <__sprint_r> - 8012e1c: 2800 cmp r0, #0 - 8012e1e: f040 822a bne.w 8013276 <_vfprintf_r+0x138e> - 8012e22: ab29 add r3, sp, #164 @ 0xa4 - 8012e24: e7bb b.n 8012d9e <_vfprintf_r+0xeb6> - 8012e26: 3010 adds r0, #16 - 8012e28: 2907 cmp r1, #7 - 8012e2a: e9cd 1027 strd r1, r0, [sp, #156] @ 0x9c - 8012e2e: 6054 str r4, [r2, #4] - 8012e30: dd08 ble.n 8012e44 <_vfprintf_r+0xf5c> - 8012e32: 9803 ldr r0, [sp, #12] - 8012e34: aa26 add r2, sp, #152 @ 0x98 - 8012e36: 4659 mov r1, fp - 8012e38: f000 fac2 bl 80133c0 <__sprint_r> - 8012e3c: 2800 cmp r0, #0 - 8012e3e: f040 821a bne.w 8013276 <_vfprintf_r+0x138e> - 8012e42: ab29 add r3, sp, #164 @ 0xa4 - 8012e44: 3e10 subs r6, #16 - 8012e46: 461a mov r2, r3 - 8012e48: e7b0 b.n 8012dac <_vfprintf_r+0xec4> - 8012e4a: bf00 nop - 8012e4c: 0801901d .word 0x0801901d - 8012e50: 0801901f .word 0x0801901f - 8012e54: 9b04 ldr r3, [sp, #16] - 8012e56: 4443 add r3, r8 - 8012e58: 9313 str r3, [sp, #76] @ 0x4c - 8012e5a: 9b04 ldr r3, [sp, #16] - 8012e5c: 42b3 cmp r3, r6 - 8012e5e: bfa8 it ge - 8012e60: 4633 movge r3, r6 - 8012e62: 2b00 cmp r3, #0 - 8012e64: 4699 mov r9, r3 - 8012e66: dd0b ble.n 8012e80 <_vfprintf_r+0xf98> - 8012e68: e9c4 8300 strd r8, r3, [r4] - 8012e6c: 9b10 ldr r3, [sp, #64] @ 0x40 - 8012e6e: 444b add r3, r9 - 8012e70: 9328 str r3, [sp, #160] @ 0xa0 - 8012e72: 9b27 ldr r3, [sp, #156] @ 0x9c - 8012e74: 3301 adds r3, #1 - 8012e76: 2b07 cmp r3, #7 - 8012e78: 9327 str r3, [sp, #156] @ 0x9c - 8012e7a: f300 8089 bgt.w 8012f90 <_vfprintf_r+0x10a8> - 8012e7e: 3408 adds r4, #8 - 8012e80: f1b9 0f00 cmp.w r9, #0 - 8012e84: bfac ite ge - 8012e86: eba6 0309 subge.w r3, r6, r9 - 8012e8a: 4633 movlt r3, r6 - 8012e8c: 2b00 cmp r3, #0 - 8012e8e: 9306 str r3, [sp, #24] - 8012e90: dd1c ble.n 8012ecc <_vfprintf_r+0xfe4> - 8012e92: f8df 9364 ldr.w r9, [pc, #868] @ 80131f8 <_vfprintf_r+0x1310> - 8012e96: 9806 ldr r0, [sp, #24] - 8012e98: f8c4 9000 str.w r9, [r4] - 8012e9c: e9dd 2327 ldrd r2, r3, [sp, #156] @ 0x9c - 8012ea0: 2810 cmp r0, #16 - 8012ea2: f102 0201 add.w r2, r2, #1 - 8012ea6: f104 0108 add.w r1, r4, #8 - 8012eaa: dc7b bgt.n 8012fa4 <_vfprintf_r+0x10bc> - 8012eac: 4403 add r3, r0 - 8012eae: 2a07 cmp r2, #7 - 8012eb0: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c - 8012eb4: 6060 str r0, [r4, #4] - 8012eb6: f340 808a ble.w 8012fce <_vfprintf_r+0x10e6> - 8012eba: 9803 ldr r0, [sp, #12] - 8012ebc: aa26 add r2, sp, #152 @ 0x98 - 8012ebe: 4659 mov r1, fp - 8012ec0: f000 fa7e bl 80133c0 <__sprint_r> - 8012ec4: 2800 cmp r0, #0 - 8012ec6: f040 81d6 bne.w 8013276 <_vfprintf_r+0x138e> - 8012eca: ac29 add r4, sp, #164 @ 0xa4 - 8012ecc: 056a lsls r2, r5, #21 - 8012ece: 44b0 add r8, r6 - 8012ed0: d508 bpl.n 8012ee4 <_vfprintf_r+0xffc> - 8012ed2: 9b08 ldr r3, [sp, #32] - 8012ed4: 2b00 cmp r3, #0 - 8012ed6: d17c bne.n 8012fd2 <_vfprintf_r+0x10ea> - 8012ed8: 2f00 cmp r7, #0 - 8012eda: d17c bne.n 8012fd6 <_vfprintf_r+0x10ee> - 8012edc: 9b13 ldr r3, [sp, #76] @ 0x4c - 8012ede: 4598 cmp r8, r3 - 8012ee0: bf28 it cs - 8012ee2: 4698 movcs r8, r3 - 8012ee4: 9b20 ldr r3, [sp, #128] @ 0x80 - 8012ee6: 9a04 ldr r2, [sp, #16] - 8012ee8: 4293 cmp r3, r2 - 8012eea: db01 blt.n 8012ef0 <_vfprintf_r+0x1008> - 8012eec: 07eb lsls r3, r5, #31 - 8012eee: d50e bpl.n 8012f0e <_vfprintf_r+0x1026> - 8012ef0: 9b16 ldr r3, [sp, #88] @ 0x58 - 8012ef2: 6023 str r3, [r4, #0] - 8012ef4: 9b0d ldr r3, [sp, #52] @ 0x34 - 8012ef6: 9a0d ldr r2, [sp, #52] @ 0x34 - 8012ef8: 6063 str r3, [r4, #4] - 8012efa: 9b28 ldr r3, [sp, #160] @ 0xa0 - 8012efc: 4413 add r3, r2 - 8012efe: 9328 str r3, [sp, #160] @ 0xa0 - 8012f00: 9b27 ldr r3, [sp, #156] @ 0x9c - 8012f02: 3301 adds r3, #1 - 8012f04: 2b07 cmp r3, #7 - 8012f06: 9327 str r3, [sp, #156] @ 0x9c - 8012f08: f300 80e1 bgt.w 80130ce <_vfprintf_r+0x11e6> - 8012f0c: 3408 adds r4, #8 - 8012f0e: 9b04 ldr r3, [sp, #16] - 8012f10: 9f20 ldr r7, [sp, #128] @ 0x80 - 8012f12: 1bdf subs r7, r3, r7 - 8012f14: 9b13 ldr r3, [sp, #76] @ 0x4c - 8012f16: eba3 0308 sub.w r3, r3, r8 - 8012f1a: 429f cmp r7, r3 - 8012f1c: bfa8 it ge - 8012f1e: 461f movge r7, r3 - 8012f20: 2f00 cmp r7, #0 - 8012f22: 9b28 ldr r3, [sp, #160] @ 0xa0 - 8012f24: dd0a ble.n 8012f3c <_vfprintf_r+0x1054> - 8012f26: 443b add r3, r7 - 8012f28: 9328 str r3, [sp, #160] @ 0xa0 - 8012f2a: 9b27 ldr r3, [sp, #156] @ 0x9c - 8012f2c: 3301 adds r3, #1 - 8012f2e: 2b07 cmp r3, #7 - 8012f30: e9c4 8700 strd r8, r7, [r4] - 8012f34: 9327 str r3, [sp, #156] @ 0x9c - 8012f36: f300 80d4 bgt.w 80130e2 <_vfprintf_r+0x11fa> - 8012f3a: 3408 adds r4, #8 - 8012f3c: 9e20 ldr r6, [sp, #128] @ 0x80 - 8012f3e: 9b04 ldr r3, [sp, #16] - 8012f40: 2f00 cmp r7, #0 - 8012f42: eba3 0606 sub.w r6, r3, r6 - 8012f46: bfa8 it ge - 8012f48: 1bf6 subge r6, r6, r7 - 8012f4a: 2e00 cmp r6, #0 - 8012f4c: f77f ac22 ble.w 8012794 <_vfprintf_r+0x8ac> - 8012f50: 4fa9 ldr r7, [pc, #676] @ (80131f8 <_vfprintf_r+0x1310>) - 8012f52: f04f 0810 mov.w r8, #16 - 8012f56: e9dd 3227 ldrd r3, r2, [sp, #156] @ 0x9c - 8012f5a: 2e10 cmp r6, #16 - 8012f5c: f103 0301 add.w r3, r3, #1 - 8012f60: f104 0108 add.w r1, r4, #8 - 8012f64: 6027 str r7, [r4, #0] - 8012f66: f77f aebc ble.w 8012ce2 <_vfprintf_r+0xdfa> - 8012f6a: 3210 adds r2, #16 - 8012f6c: 2b07 cmp r3, #7 - 8012f6e: e9cd 3227 strd r3, r2, [sp, #156] @ 0x9c - 8012f72: f8c4 8004 str.w r8, [r4, #4] - 8012f76: dd08 ble.n 8012f8a <_vfprintf_r+0x10a2> - 8012f78: 9803 ldr r0, [sp, #12] - 8012f7a: aa26 add r2, sp, #152 @ 0x98 - 8012f7c: 4659 mov r1, fp - 8012f7e: f000 fa1f bl 80133c0 <__sprint_r> - 8012f82: 2800 cmp r0, #0 - 8012f84: f040 8177 bne.w 8013276 <_vfprintf_r+0x138e> - 8012f88: a929 add r1, sp, #164 @ 0xa4 - 8012f8a: 3e10 subs r6, #16 - 8012f8c: 460c mov r4, r1 - 8012f8e: e7e2 b.n 8012f56 <_vfprintf_r+0x106e> - 8012f90: 9803 ldr r0, [sp, #12] - 8012f92: aa26 add r2, sp, #152 @ 0x98 - 8012f94: 4659 mov r1, fp - 8012f96: f000 fa13 bl 80133c0 <__sprint_r> - 8012f9a: 2800 cmp r0, #0 - 8012f9c: f040 816b bne.w 8013276 <_vfprintf_r+0x138e> - 8012fa0: ac29 add r4, sp, #164 @ 0xa4 - 8012fa2: e76d b.n 8012e80 <_vfprintf_r+0xf98> - 8012fa4: 2010 movs r0, #16 - 8012fa6: 4403 add r3, r0 - 8012fa8: 2a07 cmp r2, #7 - 8012faa: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c - 8012fae: 6060 str r0, [r4, #4] - 8012fb0: dd08 ble.n 8012fc4 <_vfprintf_r+0x10dc> - 8012fb2: 9803 ldr r0, [sp, #12] - 8012fb4: aa26 add r2, sp, #152 @ 0x98 - 8012fb6: 4659 mov r1, fp - 8012fb8: f000 fa02 bl 80133c0 <__sprint_r> - 8012fbc: 2800 cmp r0, #0 - 8012fbe: f040 815a bne.w 8013276 <_vfprintf_r+0x138e> - 8012fc2: a929 add r1, sp, #164 @ 0xa4 - 8012fc4: 9b06 ldr r3, [sp, #24] - 8012fc6: 3b10 subs r3, #16 - 8012fc8: 9306 str r3, [sp, #24] - 8012fca: 460c mov r4, r1 - 8012fcc: e763 b.n 8012e96 <_vfprintf_r+0xfae> - 8012fce: 460c mov r4, r1 - 8012fd0: e77c b.n 8012ecc <_vfprintf_r+0xfe4> - 8012fd2: 2f00 cmp r7, #0 - 8012fd4: d04b beq.n 801306e <_vfprintf_r+0x1186> - 8012fd6: 3f01 subs r7, #1 - 8012fd8: 9b17 ldr r3, [sp, #92] @ 0x5c - 8012fda: 6023 str r3, [r4, #0] - 8012fdc: 9b12 ldr r3, [sp, #72] @ 0x48 - 8012fde: 9a12 ldr r2, [sp, #72] @ 0x48 - 8012fe0: 6063 str r3, [r4, #4] - 8012fe2: 9b28 ldr r3, [sp, #160] @ 0xa0 - 8012fe4: 4413 add r3, r2 - 8012fe6: 9328 str r3, [sp, #160] @ 0xa0 - 8012fe8: 9b27 ldr r3, [sp, #156] @ 0x9c - 8012fea: 3301 adds r3, #1 - 8012fec: 2b07 cmp r3, #7 - 8012fee: 9327 str r3, [sp, #156] @ 0x9c - 8012ff0: dc44 bgt.n 801307c <_vfprintf_r+0x1194> - 8012ff2: 3408 adds r4, #8 - 8012ff4: 9b09 ldr r3, [sp, #36] @ 0x24 - 8012ff6: f893 9000 ldrb.w r9, [r3] - 8012ffa: 9b13 ldr r3, [sp, #76] @ 0x4c - 8012ffc: eba3 0308 sub.w r3, r3, r8 - 8013000: 4599 cmp r9, r3 - 8013002: bfa8 it ge - 8013004: 4699 movge r9, r3 - 8013006: f1b9 0f00 cmp.w r9, #0 - 801300a: 9b28 ldr r3, [sp, #160] @ 0xa0 - 801300c: dd09 ble.n 8013022 <_vfprintf_r+0x113a> - 801300e: 444b add r3, r9 - 8013010: 9328 str r3, [sp, #160] @ 0xa0 - 8013012: 9b27 ldr r3, [sp, #156] @ 0x9c - 8013014: 3301 adds r3, #1 - 8013016: 2b07 cmp r3, #7 - 8013018: e9c4 8900 strd r8, r9, [r4] - 801301c: 9327 str r3, [sp, #156] @ 0x9c - 801301e: dc37 bgt.n 8013090 <_vfprintf_r+0x11a8> - 8013020: 3408 adds r4, #8 - 8013022: 9b09 ldr r3, [sp, #36] @ 0x24 - 8013024: 781e ldrb r6, [r3, #0] - 8013026: f1b9 0f00 cmp.w r9, #0 - 801302a: bfa8 it ge - 801302c: eba6 0609 subge.w r6, r6, r9 - 8013030: 2e00 cmp r6, #0 - 8013032: dd18 ble.n 8013066 <_vfprintf_r+0x117e> - 8013034: e9dd 3227 ldrd r3, r2, [sp, #156] @ 0x9c - 8013038: 486f ldr r0, [pc, #444] @ (80131f8 <_vfprintf_r+0x1310>) - 801303a: 6020 str r0, [r4, #0] - 801303c: 2e10 cmp r6, #16 - 801303e: f103 0301 add.w r3, r3, #1 - 8013042: f104 0108 add.w r1, r4, #8 - 8013046: dc2d bgt.n 80130a4 <_vfprintf_r+0x11bc> - 8013048: 6066 str r6, [r4, #4] - 801304a: 2b07 cmp r3, #7 - 801304c: 4416 add r6, r2 - 801304e: e9cd 3627 strd r3, r6, [sp, #156] @ 0x9c - 8013052: dd3a ble.n 80130ca <_vfprintf_r+0x11e2> - 8013054: 9803 ldr r0, [sp, #12] - 8013056: aa26 add r2, sp, #152 @ 0x98 - 8013058: 4659 mov r1, fp - 801305a: f000 f9b1 bl 80133c0 <__sprint_r> - 801305e: 2800 cmp r0, #0 - 8013060: f040 8109 bne.w 8013276 <_vfprintf_r+0x138e> - 8013064: ac29 add r4, sp, #164 @ 0xa4 - 8013066: 9b09 ldr r3, [sp, #36] @ 0x24 - 8013068: 781b ldrb r3, [r3, #0] - 801306a: 4498 add r8, r3 - 801306c: e731 b.n 8012ed2 <_vfprintf_r+0xfea> - 801306e: 9b09 ldr r3, [sp, #36] @ 0x24 - 8013070: 3b01 subs r3, #1 - 8013072: 9309 str r3, [sp, #36] @ 0x24 - 8013074: 9b08 ldr r3, [sp, #32] - 8013076: 3b01 subs r3, #1 - 8013078: 9308 str r3, [sp, #32] - 801307a: e7ad b.n 8012fd8 <_vfprintf_r+0x10f0> - 801307c: 9803 ldr r0, [sp, #12] - 801307e: aa26 add r2, sp, #152 @ 0x98 - 8013080: 4659 mov r1, fp - 8013082: f000 f99d bl 80133c0 <__sprint_r> - 8013086: 2800 cmp r0, #0 - 8013088: f040 80f5 bne.w 8013276 <_vfprintf_r+0x138e> - 801308c: ac29 add r4, sp, #164 @ 0xa4 - 801308e: e7b1 b.n 8012ff4 <_vfprintf_r+0x110c> - 8013090: 9803 ldr r0, [sp, #12] - 8013092: aa26 add r2, sp, #152 @ 0x98 - 8013094: 4659 mov r1, fp - 8013096: f000 f993 bl 80133c0 <__sprint_r> - 801309a: 2800 cmp r0, #0 - 801309c: f040 80eb bne.w 8013276 <_vfprintf_r+0x138e> - 80130a0: ac29 add r4, sp, #164 @ 0xa4 - 80130a2: e7be b.n 8013022 <_vfprintf_r+0x113a> - 80130a4: 2010 movs r0, #16 - 80130a6: 4402 add r2, r0 - 80130a8: 2b07 cmp r3, #7 - 80130aa: e9cd 3227 strd r3, r2, [sp, #156] @ 0x9c - 80130ae: 6060 str r0, [r4, #4] - 80130b0: dd08 ble.n 80130c4 <_vfprintf_r+0x11dc> - 80130b2: 9803 ldr r0, [sp, #12] - 80130b4: aa26 add r2, sp, #152 @ 0x98 - 80130b6: 4659 mov r1, fp - 80130b8: f000 f982 bl 80133c0 <__sprint_r> - 80130bc: 2800 cmp r0, #0 - 80130be: f040 80da bne.w 8013276 <_vfprintf_r+0x138e> - 80130c2: a929 add r1, sp, #164 @ 0xa4 - 80130c4: 3e10 subs r6, #16 - 80130c6: 460c mov r4, r1 - 80130c8: e7b4 b.n 8013034 <_vfprintf_r+0x114c> - 80130ca: 460c mov r4, r1 - 80130cc: e7cb b.n 8013066 <_vfprintf_r+0x117e> - 80130ce: 9803 ldr r0, [sp, #12] - 80130d0: aa26 add r2, sp, #152 @ 0x98 - 80130d2: 4659 mov r1, fp - 80130d4: f000 f974 bl 80133c0 <__sprint_r> - 80130d8: 2800 cmp r0, #0 - 80130da: f040 80cc bne.w 8013276 <_vfprintf_r+0x138e> - 80130de: ac29 add r4, sp, #164 @ 0xa4 - 80130e0: e715 b.n 8012f0e <_vfprintf_r+0x1026> + 8012d06: f109 0101 add.w r1, r9, #1 + 8012d0a: f7ff fb67 bl 80123dc <_malloc_r> + 8012d0e: 4680 mov r8, r0 + 8012d10: 2800 cmp r0, #0 + 8012d12: f040 80aa bne.w 8012e6a <_vfprintf_r+0x602> + 8012d16: f8bb 300c ldrh.w r3, [fp, #12] + 8012d1a: f043 0340 orr.w r3, r3, #64 @ 0x40 + 8012d1e: f8ab 300c strh.w r3, [fp, #12] + 8012d22: f8db 3064 ldr.w r3, [fp, #100] @ 0x64 + 8012d26: 07d9 lsls r1, r3, #31 + 8012d28: d407 bmi.n 8012d3a <_vfprintf_r+0x4d2> + 8012d2a: f8bb 300c ldrh.w r3, [fp, #12] + 8012d2e: 059a lsls r2, r3, #22 + 8012d30: d403 bmi.n 8012d3a <_vfprintf_r+0x4d2> + 8012d32: f8db 0058 ldr.w r0, [fp, #88] @ 0x58 + 8012d36: f7ff fa1c bl 8012172 <__retarget_lock_release_recursive> + 8012d3a: f8bb 300c ldrh.w r3, [fp, #12] + 8012d3e: 065b lsls r3, r3, #25 + 8012d40: f57f add6 bpl.w 80128f0 <_vfprintf_r+0x88> + 8012d44: e5d1 b.n 80128ea <_vfprintf_r+0x82> + 8012d46: 2378 movs r3, #120 @ 0x78 + 8012d48: e7d1 b.n 8012cee <_vfprintf_r+0x486> + 8012d4a: f1b9 3fff cmp.w r9, #4294967295 + 8012d4e: f000 808e beq.w 8012e6e <_vfprintf_r+0x606> + 8012d52: 9b06 ldr r3, [sp, #24] + 8012d54: f023 0320 bic.w r3, r3, #32 + 8012d58: 2b47 cmp r3, #71 @ 0x47 + 8012d5a: d105 bne.n 8012d68 <_vfprintf_r+0x500> + 8012d5c: f1b9 0f00 cmp.w r9, #0 + 8012d60: d102 bne.n 8012d68 <_vfprintf_r+0x500> + 8012d62: 46ca mov sl, r9 + 8012d64: f04f 0901 mov.w r9, #1 + 8012d68: f445 7380 orr.w r3, r5, #256 @ 0x100 + 8012d6c: 9311 str r3, [sp, #68] @ 0x44 + 8012d6e: 9b0b ldr r3, [sp, #44] @ 0x2c + 8012d70: 2b00 cmp r3, #0 + 8012d72: da7f bge.n 8012e74 <_vfprintf_r+0x60c> + 8012d74: 9b0a ldr r3, [sp, #40] @ 0x28 + 8012d76: 9314 str r3, [sp, #80] @ 0x50 + 8012d78: 9b0b ldr r3, [sp, #44] @ 0x2c + 8012d7a: f103 4300 add.w r3, r3, #2147483648 @ 0x80000000 + 8012d7e: 9315 str r3, [sp, #84] @ 0x54 + 8012d80: 232d movs r3, #45 @ 0x2d + 8012d82: 931c str r3, [sp, #112] @ 0x70 + 8012d84: 9b06 ldr r3, [sp, #24] + 8012d86: f023 0320 bic.w r3, r3, #32 + 8012d8a: 2b41 cmp r3, #65 @ 0x41 + 8012d8c: 9308 str r3, [sp, #32] + 8012d8e: f040 81e7 bne.w 8013160 <_vfprintf_r+0x8f8> + 8012d92: a820 add r0, sp, #128 @ 0x80 + 8012d94: ed9d 0b14 vldr d0, [sp, #80] @ 0x50 + 8012d98: f002 f82a bl 8014df0 + 8012d9c: 2200 movs r2, #0 + 8012d9e: f04f 537f mov.w r3, #1069547520 @ 0x3fc00000 + 8012da2: ec51 0b10 vmov r0, r1, d0 + 8012da6: f7ed fc37 bl 8000618 <__aeabi_dmul> + 8012daa: 4602 mov r2, r0 + 8012dac: 460b mov r3, r1 + 8012dae: e9cd 2304 strd r2, r3, [sp, #16] + 8012db2: 2200 movs r2, #0 + 8012db4: 2300 movs r3, #0 + 8012db6: f7ed fe97 bl 8000ae8 <__aeabi_dcmpeq> + 8012dba: b108 cbz r0, 8012dc0 <_vfprintf_r+0x558> + 8012dbc: 2301 movs r3, #1 + 8012dbe: 9320 str r3, [sp, #128] @ 0x80 + 8012dc0: 4a35 ldr r2, [pc, #212] @ (8012e98 <_vfprintf_r+0x630>) + 8012dc2: 4b36 ldr r3, [pc, #216] @ (8012e9c <_vfprintf_r+0x634>) + 8012dc4: 9906 ldr r1, [sp, #24] + 8012dc6: 2961 cmp r1, #97 @ 0x61 + 8012dc8: bf18 it ne + 8012dca: 461a movne r2, r3 + 8012dcc: 9210 str r2, [sp, #64] @ 0x40 + 8012dce: f109 37ff add.w r7, r9, #4294967295 + 8012dd2: 4646 mov r6, r8 + 8012dd4: e9dd 0104 ldrd r0, r1, [sp, #16] + 8012dd8: 4b31 ldr r3, [pc, #196] @ (8012ea0 <_vfprintf_r+0x638>) + 8012dda: 2200 movs r2, #0 + 8012ddc: f7ed fc1c bl 8000618 <__aeabi_dmul> + 8012de0: 4602 mov r2, r0 + 8012de2: 460b mov r3, r1 + 8012de4: e9cd 2304 strd r2, r3, [sp, #16] + 8012de8: f7ed fec6 bl 8000b78 <__aeabi_d2iz> + 8012dec: 9013 str r0, [sp, #76] @ 0x4c + 8012dee: f7ed fba9 bl 8000544 <__aeabi_i2d> + 8012df2: 4602 mov r2, r0 + 8012df4: 460b mov r3, r1 + 8012df6: e9dd 0104 ldrd r0, r1, [sp, #16] + 8012dfa: f7ed fa55 bl 80002a8 <__aeabi_dsub> + 8012dfe: 4602 mov r2, r0 + 8012e00: 460b mov r3, r1 + 8012e02: e9cd 2304 strd r2, r3, [sp, #16] + 8012e06: 9a13 ldr r2, [sp, #76] @ 0x4c + 8012e08: 9b10 ldr r3, [sp, #64] @ 0x40 + 8012e0a: 5c9b ldrb r3, [r3, r2] + 8012e0c: f806 3b01 strb.w r3, [r6], #1 + 8012e10: 1c7a adds r2, r7, #1 + 8012e12: d006 beq.n 8012e22 <_vfprintf_r+0x5ba> + 8012e14: 1e7b subs r3, r7, #1 + 8012e16: 931d str r3, [sp, #116] @ 0x74 + 8012e18: 2200 movs r2, #0 + 8012e1a: 2300 movs r3, #0 + 8012e1c: f7ed fe64 bl 8000ae8 <__aeabi_dcmpeq> + 8012e20: b370 cbz r0, 8012e80 <_vfprintf_r+0x618> + 8012e22: e9dd 0104 ldrd r0, r1, [sp, #16] + 8012e26: 4b1f ldr r3, [pc, #124] @ (8012ea4 <_vfprintf_r+0x63c>) + 8012e28: 2200 movs r2, #0 + 8012e2a: f7ed fe85 bl 8000b38 <__aeabi_dcmpgt> + 8012e2e: 2800 cmp r0, #0 + 8012e30: d13a bne.n 8012ea8 <_vfprintf_r+0x640> + 8012e32: e9dd 0104 ldrd r0, r1, [sp, #16] + 8012e36: 4b1b ldr r3, [pc, #108] @ (8012ea4 <_vfprintf_r+0x63c>) + 8012e38: 2200 movs r2, #0 + 8012e3a: f7ed fe55 bl 8000ae8 <__aeabi_dcmpeq> + 8012e3e: b110 cbz r0, 8012e46 <_vfprintf_r+0x5de> + 8012e40: 9b13 ldr r3, [sp, #76] @ 0x4c + 8012e42: 07db lsls r3, r3, #31 + 8012e44: d430 bmi.n 8012ea8 <_vfprintf_r+0x640> + 8012e46: 4633 mov r3, r6 + 8012e48: 19f1 adds r1, r6, r7 + 8012e4a: 2030 movs r0, #48 @ 0x30 + 8012e4c: 1aca subs r2, r1, r3 + 8012e4e: 2a00 cmp r2, #0 + 8012e50: f280 8183 bge.w 801315a <_vfprintf_r+0x8f2> + 8012e54: 1c7b adds r3, r7, #1 + 8012e56: 3701 adds r7, #1 + 8012e58: bfb8 it lt + 8012e5a: 2300 movlt r3, #0 + 8012e5c: 441e add r6, r3 + 8012e5e: e037 b.n 8012ed0 <_vfprintf_r+0x668> + 8012e60: f04f 0a00 mov.w sl, #0 + 8012e64: f10d 08e4 add.w r8, sp, #228 @ 0xe4 + 8012e68: e77e b.n 8012d68 <_vfprintf_r+0x500> + 8012e6a: 4682 mov sl, r0 + 8012e6c: e77c b.n 8012d68 <_vfprintf_r+0x500> + 8012e6e: f04f 0906 mov.w r9, #6 + 8012e72: e779 b.n 8012d68 <_vfprintf_r+0x500> + 8012e74: ed9d 7b0a vldr d7, [sp, #40] @ 0x28 + 8012e78: 2300 movs r3, #0 + 8012e7a: ed8d 7b14 vstr d7, [sp, #80] @ 0x50 + 8012e7e: e780 b.n 8012d82 <_vfprintf_r+0x51a> + 8012e80: 9f1d ldr r7, [sp, #116] @ 0x74 + 8012e82: e7a7 b.n 8012dd4 <_vfprintf_r+0x56c> + 8012e84: 7fefffff .word 0x7fefffff + 8012e88: 0801996b .word 0x0801996b + 8012e8c: 0801996f .word 0x0801996f + 8012e90: 08019973 .word 0x08019973 + 8012e94: 08019977 .word 0x08019977 + 8012e98: 0801997b .word 0x0801997b + 8012e9c: 0801998c .word 0x0801998c + 8012ea0: 40300000 .word 0x40300000 + 8012ea4: 3fe00000 .word 0x3fe00000 + 8012ea8: 9b10 ldr r3, [sp, #64] @ 0x40 + 8012eaa: 9624 str r6, [sp, #144] @ 0x90 + 8012eac: 7bd9 ldrb r1, [r3, #15] + 8012eae: 2030 movs r0, #48 @ 0x30 + 8012eb0: 9a24 ldr r2, [sp, #144] @ 0x90 + 8012eb2: 1e53 subs r3, r2, #1 + 8012eb4: 9324 str r3, [sp, #144] @ 0x90 + 8012eb6: f812 3c01 ldrb.w r3, [r2, #-1] + 8012eba: 428b cmp r3, r1 + 8012ebc: f000 814a beq.w 8013154 <_vfprintf_r+0x8ec> + 8012ec0: 2b39 cmp r3, #57 @ 0x39 + 8012ec2: bf0b itete eq + 8012ec4: 9b10 ldreq r3, [sp, #64] @ 0x40 + 8012ec6: 3301 addne r3, #1 + 8012ec8: 7a9b ldrbeq r3, [r3, #10] + 8012eca: b2db uxtbne r3, r3 + 8012ecc: f802 3c01 strb.w r3, [r2, #-1] + 8012ed0: eba6 0308 sub.w r3, r6, r8 + 8012ed4: 9304 str r3, [sp, #16] + 8012ed6: 9b08 ldr r3, [sp, #32] + 8012ed8: 9e20 ldr r6, [sp, #128] @ 0x80 + 8012eda: 2b47 cmp r3, #71 @ 0x47 + 8012edc: f040 8189 bne.w 80131f2 <_vfprintf_r+0x98a> + 8012ee0: 1cf1 adds r1, r6, #3 + 8012ee2: db02 blt.n 8012eea <_vfprintf_r+0x682> + 8012ee4: 45b1 cmp r9, r6 + 8012ee6: f280 81a7 bge.w 8013238 <_vfprintf_r+0x9d0> + 8012eea: 9b06 ldr r3, [sp, #24] + 8012eec: 3b02 subs r3, #2 + 8012eee: 9306 str r3, [sp, #24] + 8012ef0: 9906 ldr r1, [sp, #24] + 8012ef2: f89d 2018 ldrb.w r2, [sp, #24] + 8012ef6: f021 0120 bic.w r1, r1, #32 + 8012efa: 2941 cmp r1, #65 @ 0x41 + 8012efc: bf08 it eq + 8012efe: 320f addeq r2, #15 + 8012f00: f106 33ff add.w r3, r6, #4294967295 + 8012f04: bf06 itte eq + 8012f06: b2d2 uxtbeq r2, r2 + 8012f08: 2101 moveq r1, #1 + 8012f0a: 2100 movne r1, #0 + 8012f0c: 2b00 cmp r3, #0 + 8012f0e: 9320 str r3, [sp, #128] @ 0x80 + 8012f10: bfb8 it lt + 8012f12: f1c6 0301 rsblt r3, r6, #1 + 8012f16: f88d 2088 strb.w r2, [sp, #136] @ 0x88 + 8012f1a: bfb4 ite lt + 8012f1c: 222d movlt r2, #45 @ 0x2d + 8012f1e: 222b movge r2, #43 @ 0x2b + 8012f20: 2b09 cmp r3, #9 + 8012f22: f88d 2089 strb.w r2, [sp, #137] @ 0x89 + 8012f26: f340 817a ble.w 801321e <_vfprintf_r+0x9b6> + 8012f2a: f10d 0097 add.w r0, sp, #151 @ 0x97 + 8012f2e: 270a movs r7, #10 + 8012f30: 4602 mov r2, r0 + 8012f32: fbb3 f6f7 udiv r6, r3, r7 + 8012f36: fb07 3116 mls r1, r7, r6, r3 + 8012f3a: 3130 adds r1, #48 @ 0x30 + 8012f3c: f802 1c01 strb.w r1, [r2, #-1] + 8012f40: 4619 mov r1, r3 + 8012f42: 2963 cmp r1, #99 @ 0x63 + 8012f44: f100 30ff add.w r0, r0, #4294967295 + 8012f48: 4633 mov r3, r6 + 8012f4a: dcf1 bgt.n 8012f30 <_vfprintf_r+0x6c8> + 8012f4c: 3330 adds r3, #48 @ 0x30 + 8012f4e: 1e91 subs r1, r2, #2 + 8012f50: f800 3c01 strb.w r3, [r0, #-1] + 8012f54: f10d 0689 add.w r6, sp, #137 @ 0x89 + 8012f58: 460b mov r3, r1 + 8012f5a: f10d 0097 add.w r0, sp, #151 @ 0x97 + 8012f5e: 4283 cmp r3, r0 + 8012f60: f0c0 8158 bcc.w 8013214 <_vfprintf_r+0x9ac> + 8012f64: f10d 0399 add.w r3, sp, #153 @ 0x99 + 8012f68: 1a9b subs r3, r3, r2 + 8012f6a: 4281 cmp r1, r0 + 8012f6c: bf88 it hi + 8012f6e: 2300 movhi r3, #0 + 8012f70: f10d 028a add.w r2, sp, #138 @ 0x8a + 8012f74: 441a add r2, r3 + 8012f76: ab22 add r3, sp, #136 @ 0x88 + 8012f78: 1ad3 subs r3, r2, r3 + 8012f7a: 9a04 ldr r2, [sp, #16] + 8012f7c: 9318 str r3, [sp, #96] @ 0x60 + 8012f7e: 2a01 cmp r2, #1 + 8012f80: eb03 0902 add.w r9, r3, r2 + 8012f84: dc01 bgt.n 8012f8a <_vfprintf_r+0x722> + 8012f86: 07ea lsls r2, r5, #31 + 8012f88: d501 bpl.n 8012f8e <_vfprintf_r+0x726> + 8012f8a: 9b0d ldr r3, [sp, #52] @ 0x34 + 8012f8c: 4499 add r9, r3 + 8012f8e: f425 6580 bic.w r5, r5, #1024 @ 0x400 + 8012f92: 2700 movs r7, #0 + 8012f94: f445 7380 orr.w r3, r5, #256 @ 0x100 + 8012f98: 9311 str r3, [sp, #68] @ 0x44 + 8012f9a: 9708 str r7, [sp, #32] + 8012f9c: 463e mov r6, r7 + 8012f9e: 9b1c ldr r3, [sp, #112] @ 0x70 + 8012fa0: 2b00 cmp r3, #0 + 8012fa2: f040 8191 bne.w 80132c8 <_vfprintf_r+0xa60> + 8012fa6: 2300 movs r3, #0 + 8012fa8: 9d11 ldr r5, [sp, #68] @ 0x44 + 8012faa: 9310 str r3, [sp, #64] @ 0x40 + 8012fac: 9b10 ldr r3, [sp, #64] @ 0x40 + 8012fae: 454b cmp r3, r9 + 8012fb0: bfb8 it lt + 8012fb2: 464b movlt r3, r9 + 8012fb4: 9311 str r3, [sp, #68] @ 0x44 + 8012fb6: f89d 307b ldrb.w r3, [sp, #123] @ 0x7b + 8012fba: b113 cbz r3, 8012fc2 <_vfprintf_r+0x75a> + 8012fbc: 9b11 ldr r3, [sp, #68] @ 0x44 + 8012fbe: 3301 adds r3, #1 + 8012fc0: 9311 str r3, [sp, #68] @ 0x44 + 8012fc2: f015 0302 ands.w r3, r5, #2 + 8012fc6: 931c str r3, [sp, #112] @ 0x70 + 8012fc8: bf1e ittt ne + 8012fca: 9b11 ldrne r3, [sp, #68] @ 0x44 + 8012fcc: 3302 addne r3, #2 + 8012fce: 9311 strne r3, [sp, #68] @ 0x44 + 8012fd0: f015 0384 ands.w r3, r5, #132 @ 0x84 + 8012fd4: 931d str r3, [sp, #116] @ 0x74 + 8012fd6: d122 bne.n 801301e <_vfprintf_r+0x7b6> + 8012fd8: 9b0e ldr r3, [sp, #56] @ 0x38 + 8012fda: 9a11 ldr r2, [sp, #68] @ 0x44 + 8012fdc: 1a9b subs r3, r3, r2 + 8012fde: 2b00 cmp r3, #0 + 8012fe0: 9313 str r3, [sp, #76] @ 0x4c + 8012fe2: dd1c ble.n 801301e <_vfprintf_r+0x7b6> + 8012fe4: 9813 ldr r0, [sp, #76] @ 0x4c + 8012fe6: e9dd 2327 ldrd r2, r3, [sp, #156] @ 0x9c + 8012fea: 2810 cmp r0, #16 + 8012fec: 489f ldr r0, [pc, #636] @ (801326c <_vfprintf_r+0xa04>) + 8012fee: 6020 str r0, [r4, #0] + 8012ff0: f102 0201 add.w r2, r2, #1 + 8012ff4: f104 0108 add.w r1, r4, #8 + 8012ff8: f300 8297 bgt.w 801352a <_vfprintf_r+0xcc2> + 8012ffc: 9813 ldr r0, [sp, #76] @ 0x4c + 8012ffe: 6060 str r0, [r4, #4] + 8013000: 4403 add r3, r0 + 8013002: 2a07 cmp r2, #7 + 8013004: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c + 8013008: f340 82a4 ble.w 8013554 <_vfprintf_r+0xcec> + 801300c: 9803 ldr r0, [sp, #12] + 801300e: aa26 add r2, sp, #152 @ 0x98 + 8013010: 4659 mov r1, fp + 8013012: f000 fe95 bl 8013d40 <__sprint_r> + 8013016: 2800 cmp r0, #0 + 8013018: f040 85ed bne.w 8013bf6 <_vfprintf_r+0x138e> + 801301c: ac29 add r4, sp, #164 @ 0xa4 + 801301e: f89d 207b ldrb.w r2, [sp, #123] @ 0x7b + 8013022: 9b28 ldr r3, [sp, #160] @ 0xa0 + 8013024: b16a cbz r2, 8013042 <_vfprintf_r+0x7da> + 8013026: f10d 027b add.w r2, sp, #123 @ 0x7b + 801302a: 6022 str r2, [r4, #0] + 801302c: 2201 movs r2, #1 + 801302e: 4413 add r3, r2 + 8013030: 9328 str r3, [sp, #160] @ 0xa0 + 8013032: 9b27 ldr r3, [sp, #156] @ 0x9c + 8013034: 6062 str r2, [r4, #4] + 8013036: 4413 add r3, r2 + 8013038: 2b07 cmp r3, #7 + 801303a: 9327 str r3, [sp, #156] @ 0x9c + 801303c: f300 828c bgt.w 8013558 <_vfprintf_r+0xcf0> + 8013040: 3408 adds r4, #8 + 8013042: 9a1c ldr r2, [sp, #112] @ 0x70 + 8013044: 9b28 ldr r3, [sp, #160] @ 0xa0 + 8013046: b162 cbz r2, 8013062 <_vfprintf_r+0x7fa> + 8013048: aa1f add r2, sp, #124 @ 0x7c + 801304a: 6022 str r2, [r4, #0] + 801304c: 2202 movs r2, #2 + 801304e: 4413 add r3, r2 + 8013050: 9328 str r3, [sp, #160] @ 0xa0 + 8013052: 9b27 ldr r3, [sp, #156] @ 0x9c + 8013054: 6062 str r2, [r4, #4] + 8013056: 3301 adds r3, #1 + 8013058: 2b07 cmp r3, #7 + 801305a: 9327 str r3, [sp, #156] @ 0x9c + 801305c: f300 8286 bgt.w 801356c <_vfprintf_r+0xd04> + 8013060: 3408 adds r4, #8 + 8013062: 9b1d ldr r3, [sp, #116] @ 0x74 + 8013064: 2b80 cmp r3, #128 @ 0x80 + 8013066: d122 bne.n 80130ae <_vfprintf_r+0x846> + 8013068: 9b0e ldr r3, [sp, #56] @ 0x38 + 801306a: 9a11 ldr r2, [sp, #68] @ 0x44 + 801306c: 1a9b subs r3, r3, r2 + 801306e: 2b00 cmp r3, #0 + 8013070: 9313 str r3, [sp, #76] @ 0x4c + 8013072: dd1c ble.n 80130ae <_vfprintf_r+0x846> + 8013074: 9813 ldr r0, [sp, #76] @ 0x4c + 8013076: e9dd 2327 ldrd r2, r3, [sp, #156] @ 0x9c + 801307a: 2810 cmp r0, #16 + 801307c: 487c ldr r0, [pc, #496] @ (8013270 <_vfprintf_r+0xa08>) + 801307e: 6020 str r0, [r4, #0] + 8013080: f102 0201 add.w r2, r2, #1 + 8013084: f104 0108 add.w r1, r4, #8 + 8013088: f300 827a bgt.w 8013580 <_vfprintf_r+0xd18> + 801308c: 9813 ldr r0, [sp, #76] @ 0x4c + 801308e: 6060 str r0, [r4, #4] + 8013090: 4403 add r3, r0 + 8013092: 2a07 cmp r2, #7 + 8013094: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c + 8013098: f340 8287 ble.w 80135aa <_vfprintf_r+0xd42> + 801309c: 9803 ldr r0, [sp, #12] + 801309e: aa26 add r2, sp, #152 @ 0x98 + 80130a0: 4659 mov r1, fp + 80130a2: f000 fe4d bl 8013d40 <__sprint_r> + 80130a6: 2800 cmp r0, #0 + 80130a8: f040 85a5 bne.w 8013bf6 <_vfprintf_r+0x138e> + 80130ac: ac29 add r4, sp, #164 @ 0xa4 + 80130ae: 9b10 ldr r3, [sp, #64] @ 0x40 + 80130b0: eba3 0309 sub.w r3, r3, r9 + 80130b4: 2b00 cmp r3, #0 + 80130b6: 9310 str r3, [sp, #64] @ 0x40 + 80130b8: dd1c ble.n 80130f4 <_vfprintf_r+0x88c> + 80130ba: 9810 ldr r0, [sp, #64] @ 0x40 + 80130bc: e9dd 2327 ldrd r2, r3, [sp, #156] @ 0x9c + 80130c0: 2810 cmp r0, #16 + 80130c2: 486b ldr r0, [pc, #428] @ (8013270 <_vfprintf_r+0xa08>) + 80130c4: 6020 str r0, [r4, #0] + 80130c6: f102 0201 add.w r2, r2, #1 + 80130ca: f104 0108 add.w r1, r4, #8 + 80130ce: f300 826e bgt.w 80135ae <_vfprintf_r+0xd46> + 80130d2: 9810 ldr r0, [sp, #64] @ 0x40 + 80130d4: 6060 str r0, [r4, #4] + 80130d6: 4403 add r3, r0 + 80130d8: 2a07 cmp r2, #7 + 80130da: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c + 80130de: f340 827b ble.w 80135d8 <_vfprintf_r+0xd70> 80130e2: 9803 ldr r0, [sp, #12] 80130e4: aa26 add r2, sp, #152 @ 0x98 80130e6: 4659 mov r1, fp - 80130e8: f000 f96a bl 80133c0 <__sprint_r> + 80130e8: f000 fe2a bl 8013d40 <__sprint_r> 80130ec: 2800 cmp r0, #0 - 80130ee: f040 80c2 bne.w 8013276 <_vfprintf_r+0x138e> + 80130ee: f040 8582 bne.w 8013bf6 <_vfprintf_r+0x138e> 80130f2: ac29 add r4, sp, #164 @ 0xa4 - 80130f4: e722 b.n 8012f3c <_vfprintf_r+0x1054> - 80130f6: 9904 ldr r1, [sp, #16] - 80130f8: 9b10 ldr r3, [sp, #64] @ 0x40 - 80130fa: 9a27 ldr r2, [sp, #156] @ 0x9c - 80130fc: 2901 cmp r1, #1 - 80130fe: f103 0301 add.w r3, r3, #1 - 8013102: f102 0201 add.w r2, r2, #1 - 8013106: f104 0608 add.w r6, r4, #8 - 801310a: dc02 bgt.n 8013112 <_vfprintf_r+0x122a> - 801310c: 07ef lsls r7, r5, #31 - 801310e: f140 8086 bpl.w 801321e <_vfprintf_r+0x1336> - 8013112: 2101 movs r1, #1 - 8013114: 2a07 cmp r2, #7 - 8013116: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c - 801311a: f8c4 8000 str.w r8, [r4] - 801311e: 6061 str r1, [r4, #4] - 8013120: dd08 ble.n 8013134 <_vfprintf_r+0x124c> - 8013122: 9803 ldr r0, [sp, #12] - 8013124: aa26 add r2, sp, #152 @ 0x98 - 8013126: 4659 mov r1, fp - 8013128: f000 f94a bl 80133c0 <__sprint_r> - 801312c: 2800 cmp r0, #0 - 801312e: f040 80a2 bne.w 8013276 <_vfprintf_r+0x138e> - 8013132: ae29 add r6, sp, #164 @ 0xa4 - 8013134: 9b16 ldr r3, [sp, #88] @ 0x58 - 8013136: 6033 str r3, [r6, #0] - 8013138: 9b0d ldr r3, [sp, #52] @ 0x34 - 801313a: 9a0d ldr r2, [sp, #52] @ 0x34 - 801313c: 6073 str r3, [r6, #4] - 801313e: 9b28 ldr r3, [sp, #160] @ 0xa0 - 8013140: 4413 add r3, r2 - 8013142: 9328 str r3, [sp, #160] @ 0xa0 - 8013144: 9b27 ldr r3, [sp, #156] @ 0x9c - 8013146: 3301 adds r3, #1 - 8013148: 2b07 cmp r3, #7 - 801314a: 9327 str r3, [sp, #156] @ 0x9c - 801314c: dc33 bgt.n 80131b6 <_vfprintf_r+0x12ce> - 801314e: 3608 adds r6, #8 - 8013150: 9b04 ldr r3, [sp, #16] - 8013152: e9dd 010a ldrd r0, r1, [sp, #40] @ 0x28 - 8013156: 1e5c subs r4, r3, #1 - 8013158: 2200 movs r2, #0 - 801315a: 2300 movs r3, #0 - 801315c: e9dd 9727 ldrd r9, r7, [sp, #156] @ 0x9c - 8013160: f7ed fcc2 bl 8000ae8 <__aeabi_dcmpeq> - 8013164: 2800 cmp r0, #0 - 8013166: d12f bne.n 80131c8 <_vfprintf_r+0x12e0> - 8013168: f108 0201 add.w r2, r8, #1 - 801316c: e9c6 2400 strd r2, r4, [r6] - 8013170: 9a04 ldr r2, [sp, #16] - 8013172: f109 0301 add.w r3, r9, #1 - 8013176: 3f01 subs r7, #1 - 8013178: 4417 add r7, r2 - 801317a: 2b07 cmp r3, #7 - 801317c: e9cd 3727 strd r3, r7, [sp, #156] @ 0x9c - 8013180: dd56 ble.n 8013230 <_vfprintf_r+0x1348> - 8013182: 9803 ldr r0, [sp, #12] - 8013184: aa26 add r2, sp, #152 @ 0x98 - 8013186: 4659 mov r1, fp - 8013188: f000 f91a bl 80133c0 <__sprint_r> - 801318c: 2800 cmp r0, #0 - 801318e: d172 bne.n 8013276 <_vfprintf_r+0x138e> - 8013190: ae29 add r6, sp, #164 @ 0xa4 - 8013192: ab22 add r3, sp, #136 @ 0x88 - 8013194: 6033 str r3, [r6, #0] - 8013196: 9b18 ldr r3, [sp, #96] @ 0x60 - 8013198: 9a18 ldr r2, [sp, #96] @ 0x60 - 801319a: 6073 str r3, [r6, #4] - 801319c: 9b28 ldr r3, [sp, #160] @ 0xa0 - 801319e: 4413 add r3, r2 - 80131a0: 9328 str r3, [sp, #160] @ 0xa0 - 80131a2: 9b27 ldr r3, [sp, #156] @ 0x9c - 80131a4: 3301 adds r3, #1 - 80131a6: 2b07 cmp r3, #7 - 80131a8: 9327 str r3, [sp, #156] @ 0x9c - 80131aa: f73f ada1 bgt.w 8012cf0 <_vfprintf_r+0xe08> - 80131ae: f106 0408 add.w r4, r6, #8 - 80131b2: f7ff baef b.w 8012794 <_vfprintf_r+0x8ac> - 80131b6: 9803 ldr r0, [sp, #12] - 80131b8: aa26 add r2, sp, #152 @ 0x98 - 80131ba: 4659 mov r1, fp - 80131bc: f000 f900 bl 80133c0 <__sprint_r> - 80131c0: 2800 cmp r0, #0 - 80131c2: d158 bne.n 8013276 <_vfprintf_r+0x138e> - 80131c4: ae29 add r6, sp, #164 @ 0xa4 - 80131c6: e7c3 b.n 8013150 <_vfprintf_r+0x1268> - 80131c8: 9b04 ldr r3, [sp, #16] - 80131ca: 2b01 cmp r3, #1 - 80131cc: dde1 ble.n 8013192 <_vfprintf_r+0x12aa> - 80131ce: 4f0a ldr r7, [pc, #40] @ (80131f8 <_vfprintf_r+0x1310>) - 80131d0: f04f 0810 mov.w r8, #16 - 80131d4: e9dd 3227 ldrd r3, r2, [sp, #156] @ 0x9c - 80131d8: 2c10 cmp r4, #16 - 80131da: f103 0301 add.w r3, r3, #1 - 80131de: f106 0108 add.w r1, r6, #8 - 80131e2: 6037 str r7, [r6, #0] - 80131e4: dc0a bgt.n 80131fc <_vfprintf_r+0x1314> - 80131e6: 6074 str r4, [r6, #4] - 80131e8: 2b07 cmp r3, #7 - 80131ea: 4414 add r4, r2 - 80131ec: e9cd 3427 strd r3, r4, [sp, #156] @ 0x9c - 80131f0: dcc7 bgt.n 8013182 <_vfprintf_r+0x129a> - 80131f2: 460e mov r6, r1 - 80131f4: e7cd b.n 8013192 <_vfprintf_r+0x12aa> - 80131f6: bf00 nop - 80131f8: 0801901f .word 0x0801901f - 80131fc: 3210 adds r2, #16 - 80131fe: 2b07 cmp r3, #7 - 8013200: e9cd 3227 strd r3, r2, [sp, #156] @ 0x9c - 8013204: f8c6 8004 str.w r8, [r6, #4] - 8013208: dd06 ble.n 8013218 <_vfprintf_r+0x1330> - 801320a: 9803 ldr r0, [sp, #12] - 801320c: aa26 add r2, sp, #152 @ 0x98 - 801320e: 4659 mov r1, fp - 8013210: f000 f8d6 bl 80133c0 <__sprint_r> - 8013214: bb78 cbnz r0, 8013276 <_vfprintf_r+0x138e> - 8013216: a929 add r1, sp, #164 @ 0xa4 - 8013218: 3c10 subs r4, #16 - 801321a: 460e mov r6, r1 - 801321c: e7da b.n 80131d4 <_vfprintf_r+0x12ec> - 801321e: 2101 movs r1, #1 - 8013220: 2a07 cmp r2, #7 - 8013222: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c - 8013226: f8c4 8000 str.w r8, [r4] - 801322a: 6061 str r1, [r4, #4] - 801322c: ddb1 ble.n 8013192 <_vfprintf_r+0x12aa> - 801322e: e7a8 b.n 8013182 <_vfprintf_r+0x129a> - 8013230: 3608 adds r6, #8 - 8013232: e7ae b.n 8013192 <_vfprintf_r+0x12aa> - 8013234: 460c mov r4, r1 - 8013236: f7ff baad b.w 8012794 <_vfprintf_r+0x8ac> - 801323a: 9b0e ldr r3, [sp, #56] @ 0x38 - 801323c: 9a11 ldr r2, [sp, #68] @ 0x44 - 801323e: 1a9d subs r5, r3, r2 - 8013240: 2d00 cmp r5, #0 - 8013242: f77f aaaa ble.w 801279a <_vfprintf_r+0x8b2> - 8013246: 4e3d ldr r6, [pc, #244] @ (801333c <_vfprintf_r+0x1454>) - 8013248: 2710 movs r7, #16 - 801324a: e9dd 3227 ldrd r3, r2, [sp, #156] @ 0x9c - 801324e: 2d10 cmp r5, #16 - 8013250: f103 0301 add.w r3, r3, #1 - 8013254: 6026 str r6, [r4, #0] - 8013256: dc18 bgt.n 801328a <_vfprintf_r+0x13a2> - 8013258: 6065 str r5, [r4, #4] - 801325a: 2b07 cmp r3, #7 - 801325c: 4415 add r5, r2 - 801325e: e9cd 3527 strd r3, r5, [sp, #156] @ 0x9c - 8013262: f77f aa9a ble.w 801279a <_vfprintf_r+0x8b2> - 8013266: 9803 ldr r0, [sp, #12] - 8013268: aa26 add r2, sp, #152 @ 0x98 - 801326a: 4659 mov r1, fp - 801326c: f000 f8a8 bl 80133c0 <__sprint_r> - 8013270: 2800 cmp r0, #0 - 8013272: f43f aa92 beq.w 801279a <_vfprintf_r+0x8b2> - 8013276: f1ba 0f00 cmp.w sl, #0 - 801327a: f43f a892 beq.w 80123a2 <_vfprintf_r+0x4ba> - 801327e: 9803 ldr r0, [sp, #12] - 8013280: 4651 mov r1, sl - 8013282: f7fe fb29 bl 80118d8 <_free_r> - 8013286: f7ff b88c b.w 80123a2 <_vfprintf_r+0x4ba> - 801328a: 3210 adds r2, #16 - 801328c: 2b07 cmp r3, #7 - 801328e: e9cd 3227 strd r3, r2, [sp, #156] @ 0x9c - 8013292: 6067 str r7, [r4, #4] - 8013294: dc02 bgt.n 801329c <_vfprintf_r+0x13b4> - 8013296: 3408 adds r4, #8 - 8013298: 3d10 subs r5, #16 - 801329a: e7d6 b.n 801324a <_vfprintf_r+0x1362> - 801329c: 9803 ldr r0, [sp, #12] - 801329e: aa26 add r2, sp, #152 @ 0x98 - 80132a0: 4659 mov r1, fp - 80132a2: f000 f88d bl 80133c0 <__sprint_r> - 80132a6: 2800 cmp r0, #0 - 80132a8: d1e5 bne.n 8013276 <_vfprintf_r+0x138e> - 80132aa: ac29 add r4, sp, #164 @ 0xa4 - 80132ac: e7f4 b.n 8013298 <_vfprintf_r+0x13b0> - 80132ae: 9803 ldr r0, [sp, #12] - 80132b0: 4651 mov r1, sl - 80132b2: f7fe fb11 bl 80118d8 <_free_r> - 80132b6: f7ff ba88 b.w 80127ca <_vfprintf_r+0x8e2> - 80132ba: 9b28 ldr r3, [sp, #160] @ 0xa0 - 80132bc: b91b cbnz r3, 80132c6 <_vfprintf_r+0x13de> - 80132be: 2300 movs r3, #0 - 80132c0: 9327 str r3, [sp, #156] @ 0x9c - 80132c2: f7ff b86e b.w 80123a2 <_vfprintf_r+0x4ba> - 80132c6: 9803 ldr r0, [sp, #12] - 80132c8: aa26 add r2, sp, #152 @ 0x98 - 80132ca: 4659 mov r1, fp - 80132cc: f000 f878 bl 80133c0 <__sprint_r> - 80132d0: 2800 cmp r0, #0 - 80132d2: d0f4 beq.n 80132be <_vfprintf_r+0x13d6> - 80132d4: f7ff b865 b.w 80123a2 <_vfprintf_r+0x4ba> - 80132d8: ea56 0207 orrs.w r2, r6, r7 - 80132dc: 9508 str r5, [sp, #32] - 80132de: f43f ab75 beq.w 80129cc <_vfprintf_r+0xae4> - 80132e2: 2b01 cmp r3, #1 - 80132e4: f43f abf6 beq.w 8012ad4 <_vfprintf_r+0xbec> - 80132e8: 2b02 cmp r3, #2 - 80132ea: f50d 78a4 add.w r8, sp, #328 @ 0x148 - 80132ee: f43f ac3a beq.w 8012b66 <_vfprintf_r+0xc7e> - 80132f2: f006 0307 and.w r3, r6, #7 - 80132f6: 08f6 lsrs r6, r6, #3 - 80132f8: ea46 7647 orr.w r6, r6, r7, lsl #29 - 80132fc: 08ff lsrs r7, r7, #3 - 80132fe: 3330 adds r3, #48 @ 0x30 - 8013300: ea56 0107 orrs.w r1, r6, r7 - 8013304: 4642 mov r2, r8 - 8013306: f808 3d01 strb.w r3, [r8, #-1]! - 801330a: d1f2 bne.n 80132f2 <_vfprintf_r+0x140a> - 801330c: 9908 ldr r1, [sp, #32] - 801330e: 07ce lsls r6, r1, #31 - 8013310: d506 bpl.n 8013320 <_vfprintf_r+0x1438> - 8013312: 2b30 cmp r3, #48 @ 0x30 - 8013314: d004 beq.n 8013320 <_vfprintf_r+0x1438> - 8013316: 2330 movs r3, #48 @ 0x30 - 8013318: f808 3c01 strb.w r3, [r8, #-1] - 801331c: f1a2 0802 sub.w r8, r2, #2 - 8013320: ab52 add r3, sp, #328 @ 0x148 - 8013322: 9d08 ldr r5, [sp, #32] - 8013324: f8cd 9040 str.w r9, [sp, #64] @ 0x40 - 8013328: f04f 0a00 mov.w sl, #0 - 801332c: eba3 0908 sub.w r9, r3, r8 - 8013330: 4657 mov r7, sl - 8013332: f8cd a020 str.w sl, [sp, #32] - 8013336: 4656 mov r6, sl - 8013338: f7ff b978 b.w 801262c <_vfprintf_r+0x744> - 801333c: 0801902f .word 0x0801902f - -08013340 <__sbprintf>: - 8013340: b5f0 push {r4, r5, r6, r7, lr} - 8013342: 461f mov r7, r3 - 8013344: 898b ldrh r3, [r1, #12] - 8013346: f2ad 4d6c subw sp, sp, #1132 @ 0x46c - 801334a: f023 0302 bic.w r3, r3, #2 - 801334e: f8ad 300c strh.w r3, [sp, #12] - 8013352: 6e4b ldr r3, [r1, #100] @ 0x64 - 8013354: 9319 str r3, [sp, #100] @ 0x64 - 8013356: 89cb ldrh r3, [r1, #14] - 8013358: f8ad 300e strh.w r3, [sp, #14] - 801335c: 69cb ldr r3, [r1, #28] - 801335e: 9307 str r3, [sp, #28] - 8013360: 6a4b ldr r3, [r1, #36] @ 0x24 - 8013362: 9309 str r3, [sp, #36] @ 0x24 - 8013364: ab1a add r3, sp, #104 @ 0x68 - 8013366: 9300 str r3, [sp, #0] - 8013368: 9304 str r3, [sp, #16] - 801336a: f44f 6380 mov.w r3, #1024 @ 0x400 - 801336e: 4615 mov r5, r2 - 8013370: 4606 mov r6, r0 - 8013372: 9302 str r3, [sp, #8] - 8013374: 9305 str r3, [sp, #20] - 8013376: a816 add r0, sp, #88 @ 0x58 - 8013378: 2300 movs r3, #0 - 801337a: 460c mov r4, r1 - 801337c: 9306 str r3, [sp, #24] - 801337e: f7fe fa33 bl 80117e8 <__retarget_lock_init_recursive> - 8013382: 462a mov r2, r5 - 8013384: 463b mov r3, r7 - 8013386: 4669 mov r1, sp - 8013388: 4630 mov r0, r6 - 801338a: f7fe fdad bl 8011ee8 <_vfprintf_r> - 801338e: 1e05 subs r5, r0, #0 - 8013390: db07 blt.n 80133a2 <__sbprintf+0x62> - 8013392: 4669 mov r1, sp - 8013394: 4630 mov r0, r6 - 8013396: f000 fdeb bl 8013f70 <_fflush_r> - 801339a: 2800 cmp r0, #0 - 801339c: bf18 it ne - 801339e: f04f 35ff movne.w r5, #4294967295 - 80133a2: f8bd 300c ldrh.w r3, [sp, #12] - 80133a6: 9816 ldr r0, [sp, #88] @ 0x58 - 80133a8: 065b lsls r3, r3, #25 - 80133aa: bf42 ittt mi - 80133ac: 89a3 ldrhmi r3, [r4, #12] - 80133ae: f043 0340 orrmi.w r3, r3, #64 @ 0x40 - 80133b2: 81a3 strhmi r3, [r4, #12] - 80133b4: f7fe fa19 bl 80117ea <__retarget_lock_close_recursive> - 80133b8: 4628 mov r0, r5 - 80133ba: f20d 4d6c addw sp, sp, #1132 @ 0x46c - 80133be: bdf0 pop {r4, r5, r6, r7, pc} - -080133c0 <__sprint_r>: - 80133c0: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80133c4: 6893 ldr r3, [r2, #8] - 80133c6: 4680 mov r8, r0 - 80133c8: 460e mov r6, r1 - 80133ca: 4614 mov r4, r2 - 80133cc: b343 cbz r3, 8013420 <__sprint_r+0x60> - 80133ce: 6e4b ldr r3, [r1, #100] @ 0x64 - 80133d0: 049d lsls r5, r3, #18 - 80133d2: d522 bpl.n 801341a <__sprint_r+0x5a> - 80133d4: 6815 ldr r5, [r2, #0] - 80133d6: 68a0 ldr r0, [r4, #8] - 80133d8: 3508 adds r5, #8 - 80133da: b928 cbnz r0, 80133e8 <__sprint_r+0x28> - 80133dc: 2300 movs r3, #0 - 80133de: 60a3 str r3, [r4, #8] - 80133e0: 2300 movs r3, #0 - 80133e2: 6063 str r3, [r4, #4] - 80133e4: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80133e8: e955 b702 ldrd fp, r7, [r5, #-8] - 80133ec: f04f 0900 mov.w r9, #0 - 80133f0: ea4f 0a97 mov.w sl, r7, lsr #2 - 80133f4: 45ca cmp sl, r9 - 80133f6: dc05 bgt.n 8013404 <__sprint_r+0x44> - 80133f8: 68a3 ldr r3, [r4, #8] - 80133fa: f027 0703 bic.w r7, r7, #3 - 80133fe: 1bdb subs r3, r3, r7 - 8013400: 60a3 str r3, [r4, #8] - 8013402: e7e8 b.n 80133d6 <__sprint_r+0x16> - 8013404: f85b 1029 ldr.w r1, [fp, r9, lsl #2] - 8013408: 4632 mov r2, r6 - 801340a: 4640 mov r0, r8 - 801340c: f000 ffb9 bl 8014382 <_fputwc_r> - 8013410: 1c43 adds r3, r0, #1 - 8013412: d0e3 beq.n 80133dc <__sprint_r+0x1c> - 8013414: f109 0901 add.w r9, r9, #1 - 8013418: e7ec b.n 80133f4 <__sprint_r+0x34> - 801341a: f000 fdcf bl 8013fbc <__sfvwrite_r> - 801341e: e7dd b.n 80133dc <__sprint_r+0x1c> - 8013420: 4618 mov r0, r3 - 8013422: e7dd b.n 80133e0 <__sprint_r+0x20> - -08013424 <_vfiprintf_r>: - 8013424: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8013428: b0bb sub sp, #236 @ 0xec - 801342a: 460f mov r7, r1 - 801342c: 4693 mov fp, r2 - 801342e: 461c mov r4, r3 - 8013430: 461d mov r5, r3 - 8013432: 9000 str r0, [sp, #0] - 8013434: b118 cbz r0, 801343e <_vfiprintf_r+0x1a> - 8013436: 6b43 ldr r3, [r0, #52] @ 0x34 - 8013438: b90b cbnz r3, 801343e <_vfiprintf_r+0x1a> - 801343a: f7fe f8a7 bl 801158c <__sinit> - 801343e: 6e7b ldr r3, [r7, #100] @ 0x64 - 8013440: 07db lsls r3, r3, #31 - 8013442: d405 bmi.n 8013450 <_vfiprintf_r+0x2c> - 8013444: 89bb ldrh r3, [r7, #12] - 8013446: 059e lsls r6, r3, #22 - 8013448: d402 bmi.n 8013450 <_vfiprintf_r+0x2c> - 801344a: 6db8 ldr r0, [r7, #88] @ 0x58 - 801344c: f7fe f9ce bl 80117ec <__retarget_lock_acquire_recursive> - 8013450: f9b7 300c ldrsh.w r3, [r7, #12] - 8013454: 0498 lsls r0, r3, #18 - 8013456: d406 bmi.n 8013466 <_vfiprintf_r+0x42> - 8013458: f443 5300 orr.w r3, r3, #8192 @ 0x2000 - 801345c: 81bb strh r3, [r7, #12] - 801345e: 6e7b ldr r3, [r7, #100] @ 0x64 - 8013460: f423 5300 bic.w r3, r3, #8192 @ 0x2000 - 8013464: 667b str r3, [r7, #100] @ 0x64 - 8013466: 89bb ldrh r3, [r7, #12] - 8013468: 0719 lsls r1, r3, #28 - 801346a: d501 bpl.n 8013470 <_vfiprintf_r+0x4c> - 801346c: 693b ldr r3, [r7, #16] - 801346e: b9ab cbnz r3, 801349c <_vfiprintf_r+0x78> - 8013470: 9800 ldr r0, [sp, #0] - 8013472: 4639 mov r1, r7 - 8013474: f000 feee bl 8014254 <__swsetup_r> - 8013478: b180 cbz r0, 801349c <_vfiprintf_r+0x78> - 801347a: 6e7b ldr r3, [r7, #100] @ 0x64 - 801347c: 07da lsls r2, r3, #31 - 801347e: d506 bpl.n 801348e <_vfiprintf_r+0x6a> - 8013480: f04f 33ff mov.w r3, #4294967295 - 8013484: 9303 str r3, [sp, #12] - 8013486: 9803 ldr r0, [sp, #12] - 8013488: b03b add sp, #236 @ 0xec - 801348a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 801348e: 89bb ldrh r3, [r7, #12] - 8013490: 059b lsls r3, r3, #22 - 8013492: d4f5 bmi.n 8013480 <_vfiprintf_r+0x5c> - 8013494: 6db8 ldr r0, [r7, #88] @ 0x58 - 8013496: f7fe f9aa bl 80117ee <__retarget_lock_release_recursive> - 801349a: e7f1 b.n 8013480 <_vfiprintf_r+0x5c> - 801349c: f9b7 300c ldrsh.w r3, [r7, #12] - 80134a0: f003 021a and.w r2, r3, #26 - 80134a4: 2a0a cmp r2, #10 - 80134a6: d114 bne.n 80134d2 <_vfiprintf_r+0xae> - 80134a8: f9b7 200e ldrsh.w r2, [r7, #14] - 80134ac: 2a00 cmp r2, #0 - 80134ae: db10 blt.n 80134d2 <_vfiprintf_r+0xae> - 80134b0: 6e7a ldr r2, [r7, #100] @ 0x64 - 80134b2: 07d6 lsls r6, r2, #31 - 80134b4: d404 bmi.n 80134c0 <_vfiprintf_r+0x9c> - 80134b6: 059d lsls r5, r3, #22 - 80134b8: d402 bmi.n 80134c0 <_vfiprintf_r+0x9c> - 80134ba: 6db8 ldr r0, [r7, #88] @ 0x58 - 80134bc: f7fe f997 bl 80117ee <__retarget_lock_release_recursive> - 80134c0: 9800 ldr r0, [sp, #0] - 80134c2: 4623 mov r3, r4 - 80134c4: 465a mov r2, fp - 80134c6: 4639 mov r1, r7 - 80134c8: b03b add sp, #236 @ 0xec - 80134ca: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80134ce: f000 bc31 b.w 8013d34 <__sbprintf> - 80134d2: 2300 movs r3, #0 - 80134d4: e9cd 330f strd r3, r3, [sp, #60] @ 0x3c - 80134d8: e9cd 3305 strd r3, r3, [sp, #20] - 80134dc: ae11 add r6, sp, #68 @ 0x44 - 80134de: 960e str r6, [sp, #56] @ 0x38 - 80134e0: 9307 str r3, [sp, #28] - 80134e2: 9309 str r3, [sp, #36] @ 0x24 - 80134e4: 9303 str r3, [sp, #12] - 80134e6: 465b mov r3, fp - 80134e8: 461c mov r4, r3 - 80134ea: f813 2b01 ldrb.w r2, [r3], #1 - 80134ee: b10a cbz r2, 80134f4 <_vfiprintf_r+0xd0> - 80134f0: 2a25 cmp r2, #37 @ 0x25 - 80134f2: d1f9 bne.n 80134e8 <_vfiprintf_r+0xc4> - 80134f4: ebb4 080b subs.w r8, r4, fp - 80134f8: d00d beq.n 8013516 <_vfiprintf_r+0xf2> - 80134fa: 9b10 ldr r3, [sp, #64] @ 0x40 - 80134fc: 4443 add r3, r8 - 80134fe: 9310 str r3, [sp, #64] @ 0x40 - 8013500: 9b0f ldr r3, [sp, #60] @ 0x3c - 8013502: 3301 adds r3, #1 - 8013504: 2b07 cmp r3, #7 - 8013506: e9c6 b800 strd fp, r8, [r6] - 801350a: 930f str r3, [sp, #60] @ 0x3c - 801350c: dc75 bgt.n 80135fa <_vfiprintf_r+0x1d6> - 801350e: 3608 adds r6, #8 - 8013510: 9b03 ldr r3, [sp, #12] - 8013512: 4443 add r3, r8 - 8013514: 9303 str r3, [sp, #12] - 8013516: 7823 ldrb r3, [r4, #0] - 8013518: 2b00 cmp r3, #0 - 801351a: f000 83cd beq.w 8013cb8 <_vfiprintf_r+0x894> + 80130f4: 9b28 ldr r3, [sp, #160] @ 0xa0 + 80130f6: 9310 str r3, [sp, #64] @ 0x40 + 80130f8: 05e8 lsls r0, r5, #23 + 80130fa: f100 8273 bmi.w 80135e4 <_vfprintf_r+0xd7c> + 80130fe: 444b add r3, r9 + 8013100: 9328 str r3, [sp, #160] @ 0xa0 + 8013102: 9b27 ldr r3, [sp, #156] @ 0x9c + 8013104: 3301 adds r3, #1 + 8013106: 2b07 cmp r3, #7 + 8013108: e9c4 8900 strd r8, r9, [r4] + 801310c: 9327 str r3, [sp, #156] @ 0x9c + 801310e: f300 82af bgt.w 8013670 <_vfprintf_r+0xe08> + 8013112: 3408 adds r4, #8 + 8013114: 0768 lsls r0, r5, #29 + 8013116: f100 8550 bmi.w 8013bba <_vfprintf_r+0x1352> + 801311a: e9dd 230e ldrd r2, r3, [sp, #56] @ 0x38 + 801311e: 9911 ldr r1, [sp, #68] @ 0x44 + 8013120: 428a cmp r2, r1 + 8013122: bfac ite ge + 8013124: 189b addge r3, r3, r2 + 8013126: 185b addlt r3, r3, r1 + 8013128: 930f str r3, [sp, #60] @ 0x3c + 801312a: 9b28 ldr r3, [sp, #160] @ 0xa0 + 801312c: b13b cbz r3, 801313e <_vfprintf_r+0x8d6> + 801312e: 9803 ldr r0, [sp, #12] + 8013130: aa26 add r2, sp, #152 @ 0x98 + 8013132: 4659 mov r1, fp + 8013134: f000 fe04 bl 8013d40 <__sprint_r> + 8013138: 2800 cmp r0, #0 + 801313a: f040 855c bne.w 8013bf6 <_vfprintf_r+0x138e> + 801313e: 2300 movs r3, #0 + 8013140: 9327 str r3, [sp, #156] @ 0x9c + 8013142: f1ba 0f00 cmp.w sl, #0 + 8013146: f040 8572 bne.w 8013c2e <_vfprintf_r+0x13c6> + 801314a: 9e07 ldr r6, [sp, #28] + 801314c: ac29 add r4, sp, #164 @ 0xa4 + 801314e: f8dd 8030 ldr.w r8, [sp, #48] @ 0x30 + 8013152: e407 b.n 8012964 <_vfprintf_r+0xfc> + 8013154: f802 0c01 strb.w r0, [r2, #-1] + 8013158: e6aa b.n 8012eb0 <_vfprintf_r+0x648> + 801315a: f803 0b01 strb.w r0, [r3], #1 + 801315e: e675 b.n 8012e4c <_vfprintf_r+0x5e4> + 8013160: 9b08 ldr r3, [sp, #32] + 8013162: 2b46 cmp r3, #70 @ 0x46 + 8013164: d005 beq.n 8013172 <_vfprintf_r+0x90a> + 8013166: 2b45 cmp r3, #69 @ 0x45 + 8013168: d11a bne.n 80131a0 <_vfprintf_r+0x938> + 801316a: f109 0601 add.w r6, r9, #1 + 801316e: 2102 movs r1, #2 + 8013170: e001 b.n 8013176 <_vfprintf_r+0x90e> + 8013172: 464e mov r6, r9 + 8013174: 2103 movs r1, #3 + 8013176: ab24 add r3, sp, #144 @ 0x90 + 8013178: 9301 str r3, [sp, #4] + 801317a: ab21 add r3, sp, #132 @ 0x84 + 801317c: 9300 str r3, [sp, #0] + 801317e: ed9d 0b14 vldr d0, [sp, #80] @ 0x50 + 8013182: ab20 add r3, sp, #128 @ 0x80 + 8013184: 9803 ldr r0, [sp, #12] + 8013186: 4632 mov r2, r6 + 8013188: f001 ff32 bl 8014ff0 <_dtoa_r> + 801318c: 9b08 ldr r3, [sp, #32] + 801318e: 2b47 cmp r3, #71 @ 0x47 + 8013190: 4680 mov r8, r0 + 8013192: d119 bne.n 80131c8 <_vfprintf_r+0x960> + 8013194: 07e8 lsls r0, r5, #31 + 8013196: d405 bmi.n 80131a4 <_vfprintf_r+0x93c> + 8013198: 9b24 ldr r3, [sp, #144] @ 0x90 + 801319a: eba3 0308 sub.w r3, r3, r8 + 801319e: e699 b.n 8012ed4 <_vfprintf_r+0x66c> + 80131a0: 464e mov r6, r9 + 80131a2: e7e4 b.n 801316e <_vfprintf_r+0x906> + 80131a4: eb08 0706 add.w r7, r8, r6 + 80131a8: e9dd 0114 ldrd r0, r1, [sp, #80] @ 0x50 + 80131ac: 2200 movs r2, #0 + 80131ae: 2300 movs r3, #0 + 80131b0: f7ed fc9a bl 8000ae8 <__aeabi_dcmpeq> + 80131b4: b100 cbz r0, 80131b8 <_vfprintf_r+0x950> + 80131b6: 9724 str r7, [sp, #144] @ 0x90 + 80131b8: 2230 movs r2, #48 @ 0x30 + 80131ba: 9b24 ldr r3, [sp, #144] @ 0x90 + 80131bc: 429f cmp r7, r3 + 80131be: d9eb bls.n 8013198 <_vfprintf_r+0x930> + 80131c0: 1c59 adds r1, r3, #1 + 80131c2: 9124 str r1, [sp, #144] @ 0x90 + 80131c4: 701a strb r2, [r3, #0] + 80131c6: e7f8 b.n 80131ba <_vfprintf_r+0x952> + 80131c8: 9b08 ldr r3, [sp, #32] + 80131ca: 2b46 cmp r3, #70 @ 0x46 + 80131cc: eb00 0706 add.w r7, r0, r6 + 80131d0: d1ea bne.n 80131a8 <_vfprintf_r+0x940> + 80131d2: 7803 ldrb r3, [r0, #0] + 80131d4: 2b30 cmp r3, #48 @ 0x30 + 80131d6: d109 bne.n 80131ec <_vfprintf_r+0x984> + 80131d8: e9dd 0114 ldrd r0, r1, [sp, #80] @ 0x50 + 80131dc: 2200 movs r2, #0 + 80131de: 2300 movs r3, #0 + 80131e0: f7ed fc82 bl 8000ae8 <__aeabi_dcmpeq> + 80131e4: b910 cbnz r0, 80131ec <_vfprintf_r+0x984> + 80131e6: f1c6 0601 rsb r6, r6, #1 + 80131ea: 9620 str r6, [sp, #128] @ 0x80 + 80131ec: 9b20 ldr r3, [sp, #128] @ 0x80 + 80131ee: 441f add r7, r3 + 80131f0: e7da b.n 80131a8 <_vfprintf_r+0x940> + 80131f2: 9b08 ldr r3, [sp, #32] + 80131f4: 2b46 cmp r3, #70 @ 0x46 + 80131f6: f47f ae7b bne.w 8012ef0 <_vfprintf_r+0x688> + 80131fa: f005 0301 and.w r3, r5, #1 + 80131fe: 2e00 cmp r6, #0 + 8013200: ea43 0309 orr.w r3, r3, r9 + 8013204: dd25 ble.n 8013252 <_vfprintf_r+0x9ea> + 8013206: b37b cbz r3, 8013268 <_vfprintf_r+0xa00> + 8013208: 9b0d ldr r3, [sp, #52] @ 0x34 + 801320a: 18f3 adds r3, r6, r3 + 801320c: 4499 add r9, r3 + 801320e: 2366 movs r3, #102 @ 0x66 + 8013210: 9306 str r3, [sp, #24] + 8013212: e033 b.n 801327c <_vfprintf_r+0xa14> + 8013214: f813 7b01 ldrb.w r7, [r3], #1 + 8013218: f806 7f01 strb.w r7, [r6, #1]! + 801321c: e69f b.n 8012f5e <_vfprintf_r+0x6f6> + 801321e: b941 cbnz r1, 8013232 <_vfprintf_r+0x9ca> + 8013220: 2230 movs r2, #48 @ 0x30 + 8013222: f88d 208a strb.w r2, [sp, #138] @ 0x8a + 8013226: f10d 028b add.w r2, sp, #139 @ 0x8b + 801322a: 3330 adds r3, #48 @ 0x30 + 801322c: f802 3b01 strb.w r3, [r2], #1 + 8013230: e6a1 b.n 8012f76 <_vfprintf_r+0x70e> + 8013232: f10d 028a add.w r2, sp, #138 @ 0x8a + 8013236: e7f8 b.n 801322a <_vfprintf_r+0x9c2> + 8013238: 9b04 ldr r3, [sp, #16] + 801323a: 42b3 cmp r3, r6 + 801323c: dd0d ble.n 801325a <_vfprintf_r+0x9f2> + 801323e: 9b04 ldr r3, [sp, #16] + 8013240: 9a0d ldr r2, [sp, #52] @ 0x34 + 8013242: 2e00 cmp r6, #0 + 8013244: eb03 0902 add.w r9, r3, r2 + 8013248: dc0c bgt.n 8013264 <_vfprintf_r+0x9fc> + 801324a: f1c6 0301 rsb r3, r6, #1 + 801324e: 4499 add r9, r3 + 8013250: e008 b.n 8013264 <_vfprintf_r+0x9fc> + 8013252: b17b cbz r3, 8013274 <_vfprintf_r+0xa0c> + 8013254: 9b0d ldr r3, [sp, #52] @ 0x34 + 8013256: 3301 adds r3, #1 + 8013258: e7d8 b.n 801320c <_vfprintf_r+0x9a4> + 801325a: 07eb lsls r3, r5, #31 + 801325c: d521 bpl.n 80132a2 <_vfprintf_r+0xa3a> + 801325e: 9b0d ldr r3, [sp, #52] @ 0x34 + 8013260: eb06 0903 add.w r9, r6, r3 + 8013264: 2367 movs r3, #103 @ 0x67 + 8013266: e7d3 b.n 8013210 <_vfprintf_r+0x9a8> + 8013268: 46b1 mov r9, r6 + 801326a: e7d0 b.n 801320e <_vfprintf_r+0x9a6> + 801326c: 080199af .word 0x080199af + 8013270: 0801999f .word 0x0801999f + 8013274: 2366 movs r3, #102 @ 0x66 + 8013276: 9306 str r3, [sp, #24] + 8013278: f04f 0901 mov.w r9, #1 + 801327c: f415 6380 ands.w r3, r5, #1024 @ 0x400 + 8013280: 9308 str r3, [sp, #32] + 8013282: d01f beq.n 80132c4 <_vfprintf_r+0xa5c> + 8013284: 2700 movs r7, #0 + 8013286: 2e00 cmp r6, #0 + 8013288: 9708 str r7, [sp, #32] + 801328a: f77f ae88 ble.w 8012f9e <_vfprintf_r+0x736> + 801328e: 9b09 ldr r3, [sp, #36] @ 0x24 + 8013290: 781b ldrb r3, [r3, #0] + 8013292: 2bff cmp r3, #255 @ 0xff + 8013294: d107 bne.n 80132a6 <_vfprintf_r+0xa3e> + 8013296: 9b08 ldr r3, [sp, #32] + 8013298: 9a12 ldr r2, [sp, #72] @ 0x48 + 801329a: 443b add r3, r7 + 801329c: fb02 9903 mla r9, r2, r3, r9 + 80132a0: e67d b.n 8012f9e <_vfprintf_r+0x736> + 80132a2: 46b1 mov r9, r6 + 80132a4: e7de b.n 8013264 <_vfprintf_r+0x9fc> + 80132a6: 42b3 cmp r3, r6 + 80132a8: daf5 bge.n 8013296 <_vfprintf_r+0xa2e> + 80132aa: 1af6 subs r6, r6, r3 + 80132ac: 9b09 ldr r3, [sp, #36] @ 0x24 + 80132ae: 785b ldrb r3, [r3, #1] + 80132b0: b133 cbz r3, 80132c0 <_vfprintf_r+0xa58> + 80132b2: 9b08 ldr r3, [sp, #32] + 80132b4: 3301 adds r3, #1 + 80132b6: 9308 str r3, [sp, #32] + 80132b8: 9b09 ldr r3, [sp, #36] @ 0x24 + 80132ba: 3301 adds r3, #1 + 80132bc: 9309 str r3, [sp, #36] @ 0x24 + 80132be: e7e6 b.n 801328e <_vfprintf_r+0xa26> + 80132c0: 3701 adds r7, #1 + 80132c2: e7e4 b.n 801328e <_vfprintf_r+0xa26> + 80132c4: 9f08 ldr r7, [sp, #32] + 80132c6: e66a b.n 8012f9e <_vfprintf_r+0x736> + 80132c8: 232d movs r3, #45 @ 0x2d + 80132ca: f88d 307b strb.w r3, [sp, #123] @ 0x7b + 80132ce: e66a b.n 8012fa6 <_vfprintf_r+0x73e> + 80132d0: 06af lsls r7, r5, #26 + 80132d2: d507 bpl.n 80132e4 <_vfprintf_r+0xa7c> + 80132d4: 9a0f ldr r2, [sp, #60] @ 0x3c + 80132d6: 6833 ldr r3, [r6, #0] + 80132d8: 990f ldr r1, [sp, #60] @ 0x3c + 80132da: 17d2 asrs r2, r2, #31 + 80132dc: e9c3 1200 strd r1, r2, [r3] + 80132e0: 3604 adds r6, #4 + 80132e2: e734 b.n 801314e <_vfprintf_r+0x8e6> + 80132e4: 06e8 lsls r0, r5, #27 + 80132e6: d503 bpl.n 80132f0 <_vfprintf_r+0xa88> + 80132e8: 6833 ldr r3, [r6, #0] + 80132ea: 9a0f ldr r2, [sp, #60] @ 0x3c + 80132ec: 601a str r2, [r3, #0] + 80132ee: e7f7 b.n 80132e0 <_vfprintf_r+0xa78> + 80132f0: 0669 lsls r1, r5, #25 + 80132f2: d503 bpl.n 80132fc <_vfprintf_r+0xa94> + 80132f4: 6833 ldr r3, [r6, #0] + 80132f6: 9a0f ldr r2, [sp, #60] @ 0x3c + 80132f8: 801a strh r2, [r3, #0] + 80132fa: e7f1 b.n 80132e0 <_vfprintf_r+0xa78> + 80132fc: 05aa lsls r2, r5, #22 + 80132fe: d5f3 bpl.n 80132e8 <_vfprintf_r+0xa80> + 8013300: 6833 ldr r3, [r6, #0] + 8013302: 9a0f ldr r2, [sp, #60] @ 0x3c + 8013304: 701a strb r2, [r3, #0] + 8013306: e7eb b.n 80132e0 <_vfprintf_r+0xa78> + 8013308: f045 0510 orr.w r5, r5, #16 + 801330c: f015 0320 ands.w r3, r5, #32 + 8013310: d020 beq.n 8013354 <_vfprintf_r+0xaec> + 8013312: 3607 adds r6, #7 + 8013314: f026 0307 bic.w r3, r6, #7 + 8013318: 461a mov r2, r3 + 801331a: 685f ldr r7, [r3, #4] + 801331c: f852 6b08 ldr.w r6, [r2], #8 + 8013320: 9207 str r2, [sp, #28] + 8013322: f425 6580 bic.w r5, r5, #1024 @ 0x400 + 8013326: 2300 movs r3, #0 + 8013328: 2200 movs r2, #0 + 801332a: f88d 207b strb.w r2, [sp, #123] @ 0x7b + 801332e: f1b9 3fff cmp.w r9, #4294967295 + 8013332: f000 8491 beq.w 8013c58 <_vfprintf_r+0x13f0> + 8013336: f025 0280 bic.w r2, r5, #128 @ 0x80 + 801333a: 9208 str r2, [sp, #32] + 801333c: ea56 0207 orrs.w r2, r6, r7 + 8013340: f040 848f bne.w 8013c62 <_vfprintf_r+0x13fa> + 8013344: f1b9 0f00 cmp.w r9, #0 + 8013348: f000 80db beq.w 8013502 <_vfprintf_r+0xc9a> + 801334c: 2b01 cmp r3, #1 + 801334e: f040 848b bne.w 8013c68 <_vfprintf_r+0x1400> + 8013352: e083 b.n 801345c <_vfprintf_r+0xbf4> + 8013354: 4632 mov r2, r6 + 8013356: f015 0710 ands.w r7, r5, #16 + 801335a: f852 6b04 ldr.w r6, [r2], #4 + 801335e: 9207 str r2, [sp, #28] + 8013360: d001 beq.n 8013366 <_vfprintf_r+0xafe> + 8013362: 461f mov r7, r3 + 8013364: e7dd b.n 8013322 <_vfprintf_r+0xaba> + 8013366: f015 0340 ands.w r3, r5, #64 @ 0x40 + 801336a: d001 beq.n 8013370 <_vfprintf_r+0xb08> + 801336c: b2b6 uxth r6, r6 + 801336e: e7d8 b.n 8013322 <_vfprintf_r+0xaba> + 8013370: f415 7700 ands.w r7, r5, #512 @ 0x200 + 8013374: d0d5 beq.n 8013322 <_vfprintf_r+0xaba> + 8013376: b2f6 uxtb r6, r6 + 8013378: e7f3 b.n 8013362 <_vfprintf_r+0xafa> + 801337a: 4633 mov r3, r6 + 801337c: 2278 movs r2, #120 @ 0x78 + 801337e: f853 6b04 ldr.w r6, [r3], #4 + 8013382: 9307 str r3, [sp, #28] + 8013384: f647 0330 movw r3, #30768 @ 0x7830 + 8013388: f8ad 307c strh.w r3, [sp, #124] @ 0x7c + 801338c: 4b93 ldr r3, [pc, #588] @ (80135dc <_vfprintf_r+0xd74>) + 801338e: 9319 str r3, [sp, #100] @ 0x64 + 8013390: 2700 movs r7, #0 + 8013392: f045 0502 orr.w r5, r5, #2 + 8013396: 2302 movs r3, #2 + 8013398: 9206 str r2, [sp, #24] + 801339a: e7c5 b.n 8013328 <_vfprintf_r+0xac0> + 801339c: 4633 mov r3, r6 + 801339e: f1b9 3fff cmp.w r9, #4294967295 + 80133a2: f853 8b04 ldr.w r8, [r3], #4 + 80133a6: 9307 str r3, [sp, #28] + 80133a8: f04f 0600 mov.w r6, #0 + 80133ac: f88d 607b strb.w r6, [sp, #123] @ 0x7b + 80133b0: d00f beq.n 80133d2 <_vfprintf_r+0xb6a> + 80133b2: 464a mov r2, r9 + 80133b4: 4631 mov r1, r6 + 80133b6: 4640 mov r0, r8 + 80133b8: f7ec ff22 bl 8000200 + 80133bc: 4682 mov sl, r0 + 80133be: 2800 cmp r0, #0 + 80133c0: f43f ac7a beq.w 8012cb8 <_vfprintf_r+0x450> + 80133c4: eba0 0908 sub.w r9, r0, r8 + 80133c8: 46b2 mov sl, r6 + 80133ca: 9610 str r6, [sp, #64] @ 0x40 + 80133cc: 4637 mov r7, r6 + 80133ce: 9608 str r6, [sp, #32] + 80133d0: e5ec b.n 8012fac <_vfprintf_r+0x744> + 80133d2: 4640 mov r0, r8 + 80133d4: f7ec ff0c bl 80001f0 + 80133d8: 46b2 mov sl, r6 + 80133da: 4681 mov r9, r0 + 80133dc: e46c b.n 8012cb8 <_vfprintf_r+0x450> + 80133de: f045 0510 orr.w r5, r5, #16 + 80133e2: f015 0320 ands.w r3, r5, #32 + 80133e6: d009 beq.n 80133fc <_vfprintf_r+0xb94> + 80133e8: 3607 adds r6, #7 + 80133ea: f026 0307 bic.w r3, r6, #7 + 80133ee: 461a mov r2, r3 + 80133f0: 685f ldr r7, [r3, #4] + 80133f2: f852 6b08 ldr.w r6, [r2], #8 + 80133f6: 9207 str r2, [sp, #28] + 80133f8: 2301 movs r3, #1 + 80133fa: e795 b.n 8013328 <_vfprintf_r+0xac0> + 80133fc: 4632 mov r2, r6 + 80133fe: f015 0710 ands.w r7, r5, #16 + 8013402: f852 6b04 ldr.w r6, [r2], #4 + 8013406: 9207 str r2, [sp, #28] + 8013408: d001 beq.n 801340e <_vfprintf_r+0xba6> + 801340a: 461f mov r7, r3 + 801340c: e7f4 b.n 80133f8 <_vfprintf_r+0xb90> + 801340e: f015 0340 ands.w r3, r5, #64 @ 0x40 + 8013412: d001 beq.n 8013418 <_vfprintf_r+0xbb0> + 8013414: b2b6 uxth r6, r6 + 8013416: e7ef b.n 80133f8 <_vfprintf_r+0xb90> + 8013418: f415 7700 ands.w r7, r5, #512 @ 0x200 + 801341c: d0ec beq.n 80133f8 <_vfprintf_r+0xb90> + 801341e: b2f6 uxtb r6, r6 + 8013420: e7f3 b.n 801340a <_vfprintf_r+0xba2> + 8013422: 4b6f ldr r3, [pc, #444] @ (80135e0 <_vfprintf_r+0xd78>) + 8013424: f7ff bb33 b.w 8012a8e <_vfprintf_r+0x226> + 8013428: 4632 mov r2, r6 + 801342a: f015 0710 ands.w r7, r5, #16 + 801342e: f852 6b04 ldr.w r6, [r2], #4 + 8013432: 9207 str r2, [sp, #28] + 8013434: d002 beq.n 801343c <_vfprintf_r+0xbd4> + 8013436: 461f mov r7, r3 + 8013438: f7ff bb36 b.w 8012aa8 <_vfprintf_r+0x240> + 801343c: f015 0340 ands.w r3, r5, #64 @ 0x40 + 8013440: d002 beq.n 8013448 <_vfprintf_r+0xbe0> + 8013442: b2b6 uxth r6, r6 + 8013444: f7ff bb30 b.w 8012aa8 <_vfprintf_r+0x240> + 8013448: f415 7700 ands.w r7, r5, #512 @ 0x200 + 801344c: f43f ab2c beq.w 8012aa8 <_vfprintf_r+0x240> + 8013450: b2f6 uxtb r6, r6 + 8013452: e7f0 b.n 8013436 <_vfprintf_r+0xbce> + 8013454: 2e0a cmp r6, #10 + 8013456: f177 0300 sbcs.w r3, r7, #0 + 801345a: d207 bcs.n 801346c <_vfprintf_r+0xc04> + 801345c: 3630 adds r6, #48 @ 0x30 + 801345e: b2f6 uxtb r6, r6 + 8013460: f88d 6147 strb.w r6, [sp, #327] @ 0x147 + 8013464: f20d 1847 addw r8, sp, #327 @ 0x147 + 8013468: f000 bc1a b.w 8013ca0 <_vfprintf_r+0x1438> + 801346c: 2300 movs r3, #0 + 801346e: 9304 str r3, [sp, #16] + 8013470: 9b08 ldr r3, [sp, #32] + 8013472: f403 6380 and.w r3, r3, #1024 @ 0x400 + 8013476: ad52 add r5, sp, #328 @ 0x148 + 8013478: 9310 str r3, [sp, #64] @ 0x40 + 801347a: 220a movs r2, #10 + 801347c: 2300 movs r3, #0 + 801347e: 4630 mov r0, r6 + 8013480: 4639 mov r1, r7 + 8013482: f7ed fba1 bl 8000bc8 <__aeabi_uldivmod> + 8013486: 9b04 ldr r3, [sp, #16] + 8013488: 9011 str r0, [sp, #68] @ 0x44 + 801348a: 3301 adds r3, #1 + 801348c: 9304 str r3, [sp, #16] + 801348e: 9b10 ldr r3, [sp, #64] @ 0x40 + 8013490: 3230 adds r2, #48 @ 0x30 + 8013492: 468a mov sl, r1 + 8013494: f105 38ff add.w r8, r5, #4294967295 + 8013498: f805 2c01 strb.w r2, [r5, #-1] + 801349c: b1d3 cbz r3, 80134d4 <_vfprintf_r+0xc6c> + 801349e: 9b09 ldr r3, [sp, #36] @ 0x24 + 80134a0: 9a04 ldr r2, [sp, #16] + 80134a2: 781b ldrb r3, [r3, #0] + 80134a4: 429a cmp r2, r3 + 80134a6: d115 bne.n 80134d4 <_vfprintf_r+0xc6c> + 80134a8: 2aff cmp r2, #255 @ 0xff + 80134aa: d013 beq.n 80134d4 <_vfprintf_r+0xc6c> + 80134ac: 2e0a cmp r6, #10 + 80134ae: f177 0300 sbcs.w r3, r7, #0 + 80134b2: d30f bcc.n 80134d4 <_vfprintf_r+0xc6c> + 80134b4: 9b12 ldr r3, [sp, #72] @ 0x48 + 80134b6: 9917 ldr r1, [sp, #92] @ 0x5c + 80134b8: eba8 0803 sub.w r8, r8, r3 + 80134bc: 461a mov r2, r3 + 80134be: 4640 mov r0, r8 + 80134c0: f001 fc48 bl 8014d54 + 80134c4: 9b09 ldr r3, [sp, #36] @ 0x24 + 80134c6: 785b ldrb r3, [r3, #1] + 80134c8: b11b cbz r3, 80134d2 <_vfprintf_r+0xc6a> + 80134ca: 9b09 ldr r3, [sp, #36] @ 0x24 + 80134cc: 3301 adds r3, #1 + 80134ce: 9309 str r3, [sp, #36] @ 0x24 + 80134d0: 2300 movs r3, #0 + 80134d2: 9304 str r3, [sp, #16] + 80134d4: 2e0a cmp r6, #10 + 80134d6: f177 0700 sbcs.w r7, r7, #0 + 80134da: f0c0 83e1 bcc.w 8013ca0 <_vfprintf_r+0x1438> + 80134de: 9e11 ldr r6, [sp, #68] @ 0x44 + 80134e0: 4657 mov r7, sl + 80134e2: 4645 mov r5, r8 + 80134e4: e7c9 b.n 801347a <_vfprintf_r+0xc12> + 80134e6: f006 030f and.w r3, r6, #15 + 80134ea: 9a19 ldr r2, [sp, #100] @ 0x64 + 80134ec: 0936 lsrs r6, r6, #4 + 80134ee: 5cd3 ldrb r3, [r2, r3] + 80134f0: f808 3d01 strb.w r3, [r8, #-1]! + 80134f4: ea46 7607 orr.w r6, r6, r7, lsl #28 + 80134f8: 093f lsrs r7, r7, #4 + 80134fa: ea56 0307 orrs.w r3, r6, r7 + 80134fe: d1f2 bne.n 80134e6 <_vfprintf_r+0xc7e> + 8013500: e3ce b.n 8013ca0 <_vfprintf_r+0x1438> + 8013502: b91b cbnz r3, 801350c <_vfprintf_r+0xca4> + 8013504: 07ed lsls r5, r5, #31 + 8013506: d501 bpl.n 801350c <_vfprintf_r+0xca4> + 8013508: 2630 movs r6, #48 @ 0x30 + 801350a: e7a9 b.n 8013460 <_vfprintf_r+0xbf8> + 801350c: f50d 78a4 add.w r8, sp, #328 @ 0x148 + 8013510: e3c6 b.n 8013ca0 <_vfprintf_r+0x1438> + 8013512: 9b06 ldr r3, [sp, #24] + 8013514: 2b00 cmp r3, #0 + 8013516: f000 8390 beq.w 8013c3a <_vfprintf_r+0x13d2> + 801351a: f88d 30e4 strb.w r3, [sp, #228] @ 0xe4 801351e: 2300 movs r3, #0 - 8013520: f04f 32ff mov.w r2, #4294967295 - 8013524: e9cd 2301 strd r2, r3, [sp, #4] - 8013528: 3401 adds r4, #1 - 801352a: f88d 3033 strb.w r3, [sp, #51] @ 0x33 - 801352e: 469a mov sl, r3 - 8013530: 46a3 mov fp, r4 - 8013532: f81b 3b01 ldrb.w r3, [fp], #1 - 8013536: f1a3 0220 sub.w r2, r3, #32 - 801353a: 2a5a cmp r2, #90 @ 0x5a - 801353c: f200 8316 bhi.w 8013b6c <_vfiprintf_r+0x748> - 8013540: e8df f012 tbh [pc, r2, lsl #1] - 8013544: 0314009a .word 0x0314009a - 8013548: 00a20314 .word 0x00a20314 - 801354c: 03140314 .word 0x03140314 - 8013550: 00820314 .word 0x00820314 - 8013554: 03140314 .word 0x03140314 - 8013558: 00af00a5 .word 0x00af00a5 - 801355c: 00ac0314 .word 0x00ac0314 - 8013560: 031400b1 .word 0x031400b1 - 8013564: 00d000cd .word 0x00d000cd - 8013568: 00d000d0 .word 0x00d000d0 - 801356c: 00d000d0 .word 0x00d000d0 - 8013570: 00d000d0 .word 0x00d000d0 - 8013574: 00d000d0 .word 0x00d000d0 - 8013578: 03140314 .word 0x03140314 - 801357c: 03140314 .word 0x03140314 - 8013580: 03140314 .word 0x03140314 - 8013584: 03140314 .word 0x03140314 - 8013588: 00f70314 .word 0x00f70314 - 801358c: 03140104 .word 0x03140104 - 8013590: 03140314 .word 0x03140314 - 8013594: 03140314 .word 0x03140314 - 8013598: 03140314 .word 0x03140314 - 801359c: 03140314 .word 0x03140314 - 80135a0: 01520314 .word 0x01520314 - 80135a4: 03140314 .word 0x03140314 - 80135a8: 019a0314 .word 0x019a0314 - 80135ac: 027a0314 .word 0x027a0314 - 80135b0: 03140314 .word 0x03140314 - 80135b4: 0314029a .word 0x0314029a - 80135b8: 03140314 .word 0x03140314 - 80135bc: 03140314 .word 0x03140314 - 80135c0: 03140314 .word 0x03140314 - 80135c4: 03140314 .word 0x03140314 - 80135c8: 00f70314 .word 0x00f70314 - 80135cc: 03140106 .word 0x03140106 - 80135d0: 03140314 .word 0x03140314 - 80135d4: 010600e0 .word 0x010600e0 - 80135d8: 031400f1 .word 0x031400f1 - 80135dc: 031400eb .word 0x031400eb - 80135e0: 01540132 .word 0x01540132 - 80135e4: 00f10189 .word 0x00f10189 - 80135e8: 019a0314 .word 0x019a0314 - 80135ec: 027c0098 .word 0x027c0098 - 80135f0: 03140314 .word 0x03140314 - 80135f4: 03140065 .word 0x03140065 - 80135f8: 0098 .short 0x0098 - 80135fa: 9800 ldr r0, [sp, #0] - 80135fc: aa0e add r2, sp, #56 @ 0x38 - 80135fe: 4639 mov r1, r7 - 8013600: f7ff fede bl 80133c0 <__sprint_r> - 8013604: 2800 cmp r0, #0 - 8013606: f040 8336 bne.w 8013c76 <_vfiprintf_r+0x852> - 801360a: ae11 add r6, sp, #68 @ 0x44 - 801360c: e780 b.n 8013510 <_vfiprintf_r+0xec> - 801360e: 4a99 ldr r2, [pc, #612] @ (8013874 <_vfiprintf_r+0x450>) - 8013610: 9205 str r2, [sp, #20] - 8013612: f01a 0220 ands.w r2, sl, #32 - 8013616: f000 8231 beq.w 8013a7c <_vfiprintf_r+0x658> - 801361a: 3507 adds r5, #7 - 801361c: f025 0507 bic.w r5, r5, #7 - 8013620: 46a8 mov r8, r5 - 8013622: 686d ldr r5, [r5, #4] - 8013624: f858 4b08 ldr.w r4, [r8], #8 - 8013628: f01a 0f01 tst.w sl, #1 - 801362c: d009 beq.n 8013642 <_vfiprintf_r+0x21e> - 801362e: ea54 0205 orrs.w r2, r4, r5 - 8013632: bf1f itttt ne - 8013634: 2230 movne r2, #48 @ 0x30 - 8013636: f88d 2034 strbne.w r2, [sp, #52] @ 0x34 - 801363a: f88d 3035 strbne.w r3, [sp, #53] @ 0x35 - 801363e: f04a 0a02 orrne.w sl, sl, #2 - 8013642: f42a 6a80 bic.w sl, sl, #1024 @ 0x400 - 8013646: e112 b.n 801386e <_vfiprintf_r+0x44a> - 8013648: 9800 ldr r0, [sp, #0] - 801364a: f000 fedd bl 8014408 <_localeconv_r> - 801364e: 6843 ldr r3, [r0, #4] - 8013650: 9309 str r3, [sp, #36] @ 0x24 - 8013652: 4618 mov r0, r3 - 8013654: f7ec fdcc bl 80001f0 - 8013658: 9007 str r0, [sp, #28] - 801365a: 9800 ldr r0, [sp, #0] - 801365c: f000 fed4 bl 8014408 <_localeconv_r> - 8013660: 6883 ldr r3, [r0, #8] - 8013662: 9306 str r3, [sp, #24] - 8013664: 9b07 ldr r3, [sp, #28] - 8013666: b12b cbz r3, 8013674 <_vfiprintf_r+0x250> - 8013668: 9b06 ldr r3, [sp, #24] - 801366a: b11b cbz r3, 8013674 <_vfiprintf_r+0x250> - 801366c: 781b ldrb r3, [r3, #0] - 801366e: b10b cbz r3, 8013674 <_vfiprintf_r+0x250> - 8013670: f44a 6a80 orr.w sl, sl, #1024 @ 0x400 - 8013674: 465c mov r4, fp - 8013676: e75b b.n 8013530 <_vfiprintf_r+0x10c> - 8013678: f89d 3033 ldrb.w r3, [sp, #51] @ 0x33 - 801367c: 2b00 cmp r3, #0 - 801367e: d1f9 bne.n 8013674 <_vfiprintf_r+0x250> - 8013680: 2320 movs r3, #32 - 8013682: f88d 3033 strb.w r3, [sp, #51] @ 0x33 - 8013686: e7f5 b.n 8013674 <_vfiprintf_r+0x250> - 8013688: f04a 0a01 orr.w sl, sl, #1 - 801368c: e7f2 b.n 8013674 <_vfiprintf_r+0x250> - 801368e: f855 3b04 ldr.w r3, [r5], #4 - 8013692: 9302 str r3, [sp, #8] - 8013694: 2b00 cmp r3, #0 - 8013696: daed bge.n 8013674 <_vfiprintf_r+0x250> - 8013698: 425b negs r3, r3 - 801369a: 9302 str r3, [sp, #8] - 801369c: f04a 0a04 orr.w sl, sl, #4 - 80136a0: e7e8 b.n 8013674 <_vfiprintf_r+0x250> - 80136a2: 232b movs r3, #43 @ 0x2b - 80136a4: e7ed b.n 8013682 <_vfiprintf_r+0x25e> - 80136a6: 465a mov r2, fp - 80136a8: f812 3b01 ldrb.w r3, [r2], #1 - 80136ac: 2b2a cmp r3, #42 @ 0x2a - 80136ae: d112 bne.n 80136d6 <_vfiprintf_r+0x2b2> - 80136b0: f855 3b04 ldr.w r3, [r5], #4 - 80136b4: ea43 73e3 orr.w r3, r3, r3, asr #31 - 80136b8: 9301 str r3, [sp, #4] - 80136ba: 4693 mov fp, r2 - 80136bc: e7da b.n 8013674 <_vfiprintf_r+0x250> - 80136be: 9b01 ldr r3, [sp, #4] - 80136c0: fb00 1303 mla r3, r0, r3, r1 - 80136c4: 9301 str r3, [sp, #4] - 80136c6: f812 3b01 ldrb.w r3, [r2], #1 - 80136ca: f1a3 0130 sub.w r1, r3, #48 @ 0x30 - 80136ce: 2909 cmp r1, #9 - 80136d0: d9f5 bls.n 80136be <_vfiprintf_r+0x29a> - 80136d2: 4693 mov fp, r2 - 80136d4: e72f b.n 8013536 <_vfiprintf_r+0x112> - 80136d6: 2100 movs r1, #0 - 80136d8: 9101 str r1, [sp, #4] - 80136da: 200a movs r0, #10 - 80136dc: e7f5 b.n 80136ca <_vfiprintf_r+0x2a6> - 80136de: f04a 0a80 orr.w sl, sl, #128 @ 0x80 - 80136e2: e7c7 b.n 8013674 <_vfiprintf_r+0x250> - 80136e4: 2100 movs r1, #0 - 80136e6: 465a mov r2, fp - 80136e8: 9102 str r1, [sp, #8] - 80136ea: 200a movs r0, #10 - 80136ec: 9902 ldr r1, [sp, #8] - 80136ee: 3b30 subs r3, #48 @ 0x30 - 80136f0: fb00 3301 mla r3, r0, r1, r3 - 80136f4: 9302 str r3, [sp, #8] - 80136f6: f812 3b01 ldrb.w r3, [r2], #1 - 80136fa: f1a3 0130 sub.w r1, r3, #48 @ 0x30 - 80136fe: 2909 cmp r1, #9 - 8013700: d9f4 bls.n 80136ec <_vfiprintf_r+0x2c8> - 8013702: e7e6 b.n 80136d2 <_vfiprintf_r+0x2ae> - 8013704: f89b 3000 ldrb.w r3, [fp] - 8013708: 2b68 cmp r3, #104 @ 0x68 - 801370a: bf06 itte eq - 801370c: f10b 0b01 addeq.w fp, fp, #1 - 8013710: f44a 7a00 orreq.w sl, sl, #512 @ 0x200 - 8013714: f04a 0a40 orrne.w sl, sl, #64 @ 0x40 - 8013718: e7ac b.n 8013674 <_vfiprintf_r+0x250> - 801371a: f89b 3000 ldrb.w r3, [fp] - 801371e: 2b6c cmp r3, #108 @ 0x6c - 8013720: d104 bne.n 801372c <_vfiprintf_r+0x308> - 8013722: f10b 0b01 add.w fp, fp, #1 - 8013726: f04a 0a20 orr.w sl, sl, #32 - 801372a: e7a3 b.n 8013674 <_vfiprintf_r+0x250> - 801372c: f04a 0a10 orr.w sl, sl, #16 - 8013730: e7a0 b.n 8013674 <_vfiprintf_r+0x250> - 8013732: 46a8 mov r8, r5 - 8013734: 2400 movs r4, #0 - 8013736: f858 3b04 ldr.w r3, [r8], #4 - 801373a: f88d 3084 strb.w r3, [sp, #132] @ 0x84 - 801373e: f88d 4033 strb.w r4, [sp, #51] @ 0x33 - 8013742: 2301 movs r3, #1 - 8013744: 9301 str r3, [sp, #4] - 8013746: f10d 0984 add.w r9, sp, #132 @ 0x84 - 801374a: e0ab b.n 80138a4 <_vfiprintf_r+0x480> - 801374c: f04a 0a10 orr.w sl, sl, #16 - 8013750: f01a 0f20 tst.w sl, #32 - 8013754: d011 beq.n 801377a <_vfiprintf_r+0x356> - 8013756: 3507 adds r5, #7 - 8013758: f025 0507 bic.w r5, r5, #7 - 801375c: 46a8 mov r8, r5 - 801375e: 686d ldr r5, [r5, #4] - 8013760: f858 4b08 ldr.w r4, [r8], #8 - 8013764: 2d00 cmp r5, #0 - 8013766: da06 bge.n 8013776 <_vfiprintf_r+0x352> - 8013768: 4264 negs r4, r4 - 801376a: f04f 032d mov.w r3, #45 @ 0x2d - 801376e: eb65 0545 sbc.w r5, r5, r5, lsl #1 - 8013772: f88d 3033 strb.w r3, [sp, #51] @ 0x33 - 8013776: 2301 movs r3, #1 - 8013778: e048 b.n 801380c <_vfiprintf_r+0x3e8> - 801377a: 46a8 mov r8, r5 - 801377c: f01a 0f10 tst.w sl, #16 - 8013780: f858 5b04 ldr.w r5, [r8], #4 - 8013784: d002 beq.n 801378c <_vfiprintf_r+0x368> - 8013786: 462c mov r4, r5 - 8013788: 17ed asrs r5, r5, #31 - 801378a: e7eb b.n 8013764 <_vfiprintf_r+0x340> - 801378c: f01a 0f40 tst.w sl, #64 @ 0x40 - 8013790: d003 beq.n 801379a <_vfiprintf_r+0x376> - 8013792: b22c sxth r4, r5 - 8013794: f345 35c0 sbfx r5, r5, #15, #1 - 8013798: e7e4 b.n 8013764 <_vfiprintf_r+0x340> - 801379a: f41a 7f00 tst.w sl, #512 @ 0x200 - 801379e: d0f2 beq.n 8013786 <_vfiprintf_r+0x362> - 80137a0: b26c sxtb r4, r5 - 80137a2: f345 15c0 sbfx r5, r5, #7, #1 - 80137a6: e7dd b.n 8013764 <_vfiprintf_r+0x340> - 80137a8: f01a 0f20 tst.w sl, #32 - 80137ac: d007 beq.n 80137be <_vfiprintf_r+0x39a> - 80137ae: 9a03 ldr r2, [sp, #12] - 80137b0: 682b ldr r3, [r5, #0] - 80137b2: 9903 ldr r1, [sp, #12] - 80137b4: 17d2 asrs r2, r2, #31 - 80137b6: e9c3 1200 strd r1, r2, [r3] - 80137ba: 3504 adds r5, #4 - 80137bc: e693 b.n 80134e6 <_vfiprintf_r+0xc2> - 80137be: f01a 0f10 tst.w sl, #16 - 80137c2: d003 beq.n 80137cc <_vfiprintf_r+0x3a8> - 80137c4: 682b ldr r3, [r5, #0] - 80137c6: 9a03 ldr r2, [sp, #12] - 80137c8: 601a str r2, [r3, #0] - 80137ca: e7f6 b.n 80137ba <_vfiprintf_r+0x396> - 80137cc: f01a 0f40 tst.w sl, #64 @ 0x40 - 80137d0: d003 beq.n 80137da <_vfiprintf_r+0x3b6> - 80137d2: 682b ldr r3, [r5, #0] - 80137d4: 9a03 ldr r2, [sp, #12] - 80137d6: 801a strh r2, [r3, #0] - 80137d8: e7ef b.n 80137ba <_vfiprintf_r+0x396> - 80137da: f41a 7f00 tst.w sl, #512 @ 0x200 - 80137de: d0f1 beq.n 80137c4 <_vfiprintf_r+0x3a0> - 80137e0: 682b ldr r3, [r5, #0] - 80137e2: 9a03 ldr r2, [sp, #12] - 80137e4: 701a strb r2, [r3, #0] - 80137e6: e7e8 b.n 80137ba <_vfiprintf_r+0x396> - 80137e8: f04a 0a10 orr.w sl, sl, #16 - 80137ec: f01a 0320 ands.w r3, sl, #32 - 80137f0: d01f beq.n 8013832 <_vfiprintf_r+0x40e> - 80137f2: 3507 adds r5, #7 - 80137f4: f025 0507 bic.w r5, r5, #7 - 80137f8: 46a8 mov r8, r5 - 80137fa: 686d ldr r5, [r5, #4] - 80137fc: f858 4b08 ldr.w r4, [r8], #8 - 8013800: f42a 6a80 bic.w sl, sl, #1024 @ 0x400 - 8013804: 2300 movs r3, #0 - 8013806: 2200 movs r2, #0 - 8013808: f88d 2033 strb.w r2, [sp, #51] @ 0x33 - 801380c: 9a01 ldr r2, [sp, #4] - 801380e: 3201 adds r2, #1 - 8013810: f000 825f beq.w 8013cd2 <_vfiprintf_r+0x8ae> - 8013814: f02a 0280 bic.w r2, sl, #128 @ 0x80 - 8013818: 9204 str r2, [sp, #16] - 801381a: ea54 0205 orrs.w r2, r4, r5 - 801381e: f040 825e bne.w 8013cde <_vfiprintf_r+0x8ba> - 8013822: 9a01 ldr r2, [sp, #4] - 8013824: 2a00 cmp r2, #0 - 8013826: f000 8198 beq.w 8013b5a <_vfiprintf_r+0x736> - 801382a: 2b01 cmp r3, #1 - 801382c: f040 825a bne.w 8013ce4 <_vfiprintf_r+0x8c0> - 8013830: e13b b.n 8013aaa <_vfiprintf_r+0x686> - 8013832: 46a8 mov r8, r5 - 8013834: f01a 0510 ands.w r5, sl, #16 - 8013838: f858 4b04 ldr.w r4, [r8], #4 - 801383c: d001 beq.n 8013842 <_vfiprintf_r+0x41e> - 801383e: 461d mov r5, r3 - 8013840: e7de b.n 8013800 <_vfiprintf_r+0x3dc> - 8013842: f01a 0340 ands.w r3, sl, #64 @ 0x40 - 8013846: d001 beq.n 801384c <_vfiprintf_r+0x428> - 8013848: b2a4 uxth r4, r4 - 801384a: e7d9 b.n 8013800 <_vfiprintf_r+0x3dc> - 801384c: f41a 7500 ands.w r5, sl, #512 @ 0x200 - 8013850: d0d6 beq.n 8013800 <_vfiprintf_r+0x3dc> - 8013852: b2e4 uxtb r4, r4 - 8013854: e7f3 b.n 801383e <_vfiprintf_r+0x41a> - 8013856: 46a8 mov r8, r5 - 8013858: f647 0330 movw r3, #30768 @ 0x7830 - 801385c: f8ad 3034 strh.w r3, [sp, #52] @ 0x34 - 8013860: f858 4b04 ldr.w r4, [r8], #4 - 8013864: 4b03 ldr r3, [pc, #12] @ (8013874 <_vfiprintf_r+0x450>) - 8013866: 9305 str r3, [sp, #20] - 8013868: 2500 movs r5, #0 - 801386a: f04a 0a02 orr.w sl, sl, #2 - 801386e: 2302 movs r3, #2 - 8013870: e7c9 b.n 8013806 <_vfiprintf_r+0x3e2> - 8013872: bf00 nop - 8013874: 08018ffb .word 0x08018ffb - 8013878: 9b01 ldr r3, [sp, #4] - 801387a: 46a8 mov r8, r5 - 801387c: 1c5c adds r4, r3, #1 - 801387e: f04f 0500 mov.w r5, #0 - 8013882: f858 9b04 ldr.w r9, [r8], #4 - 8013886: f88d 5033 strb.w r5, [sp, #51] @ 0x33 - 801388a: f000 80d0 beq.w 8013a2e <_vfiprintf_r+0x60a> - 801388e: 461a mov r2, r3 - 8013890: 4629 mov r1, r5 - 8013892: 4648 mov r0, r9 - 8013894: f7ec fcb4 bl 8000200 - 8013898: 4604 mov r4, r0 - 801389a: b118 cbz r0, 80138a4 <_vfiprintf_r+0x480> - 801389c: eba0 0309 sub.w r3, r0, r9 - 80138a0: 9301 str r3, [sp, #4] - 80138a2: 462c mov r4, r5 - 80138a4: 9b01 ldr r3, [sp, #4] - 80138a6: 42a3 cmp r3, r4 - 80138a8: bfb8 it lt - 80138aa: 4623 movlt r3, r4 - 80138ac: 9304 str r3, [sp, #16] - 80138ae: f89d 3033 ldrb.w r3, [sp, #51] @ 0x33 - 80138b2: b113 cbz r3, 80138ba <_vfiprintf_r+0x496> - 80138b4: 9b04 ldr r3, [sp, #16] - 80138b6: 3301 adds r3, #1 - 80138b8: 9304 str r3, [sp, #16] - 80138ba: f01a 0302 ands.w r3, sl, #2 - 80138be: 9308 str r3, [sp, #32] - 80138c0: bf1e ittt ne - 80138c2: 9b04 ldrne r3, [sp, #16] - 80138c4: 3302 addne r3, #2 - 80138c6: 9304 strne r3, [sp, #16] - 80138c8: f01a 0384 ands.w r3, sl, #132 @ 0x84 - 80138cc: 930a str r3, [sp, #40] @ 0x28 - 80138ce: d11f bne.n 8013910 <_vfiprintf_r+0x4ec> - 80138d0: 9b02 ldr r3, [sp, #8] - 80138d2: 9a04 ldr r2, [sp, #16] - 80138d4: 1a9d subs r5, r3, r2 - 80138d6: 2d00 cmp r5, #0 - 80138d8: dd1a ble.n 8013910 <_vfiprintf_r+0x4ec> - 80138da: 4ba9 ldr r3, [pc, #676] @ (8013b80 <_vfiprintf_r+0x75c>) - 80138dc: 6033 str r3, [r6, #0] - 80138de: e9dd 2c0f ldrd r2, ip, [sp, #60] @ 0x3c - 80138e2: 2d10 cmp r5, #16 - 80138e4: f102 0201 add.w r2, r2, #1 - 80138e8: f106 0008 add.w r0, r6, #8 - 80138ec: f300 814e bgt.w 8013b8c <_vfiprintf_r+0x768> - 80138f0: 6075 str r5, [r6, #4] - 80138f2: 2a07 cmp r2, #7 - 80138f4: 4465 add r5, ip - 80138f6: e9cd 250f strd r2, r5, [sp, #60] @ 0x3c - 80138fa: f340 815a ble.w 8013bb2 <_vfiprintf_r+0x78e> - 80138fe: 9800 ldr r0, [sp, #0] - 8013900: aa0e add r2, sp, #56 @ 0x38 - 8013902: 4639 mov r1, r7 - 8013904: f7ff fd5c bl 80133c0 <__sprint_r> - 8013908: 2800 cmp r0, #0 - 801390a: f040 81b4 bne.w 8013c76 <_vfiprintf_r+0x852> - 801390e: ae11 add r6, sp, #68 @ 0x44 - 8013910: f89d 1033 ldrb.w r1, [sp, #51] @ 0x33 - 8013914: e9dd 320f ldrd r3, r2, [sp, #60] @ 0x3c - 8013918: b161 cbz r1, 8013934 <_vfiprintf_r+0x510> - 801391a: f10d 0133 add.w r1, sp, #51 @ 0x33 - 801391e: 3301 adds r3, #1 - 8013920: 6031 str r1, [r6, #0] - 8013922: 2101 movs r1, #1 - 8013924: 440a add r2, r1 - 8013926: 2b07 cmp r3, #7 - 8013928: e9cd 320f strd r3, r2, [sp, #60] @ 0x3c - 801392c: 6071 str r1, [r6, #4] - 801392e: f300 8142 bgt.w 8013bb6 <_vfiprintf_r+0x792> - 8013932: 3608 adds r6, #8 - 8013934: 9908 ldr r1, [sp, #32] - 8013936: e9dd 320f ldrd r3, r2, [sp, #60] @ 0x3c - 801393a: b159 cbz r1, 8013954 <_vfiprintf_r+0x530> - 801393c: a90d add r1, sp, #52 @ 0x34 - 801393e: 3301 adds r3, #1 - 8013940: 6031 str r1, [r6, #0] - 8013942: 2102 movs r1, #2 - 8013944: 440a add r2, r1 - 8013946: 2b07 cmp r3, #7 - 8013948: e9cd 320f strd r3, r2, [sp, #60] @ 0x3c - 801394c: 6071 str r1, [r6, #4] - 801394e: f300 813b bgt.w 8013bc8 <_vfiprintf_r+0x7a4> - 8013952: 3608 adds r6, #8 - 8013954: 9b0a ldr r3, [sp, #40] @ 0x28 - 8013956: 2b80 cmp r3, #128 @ 0x80 - 8013958: d11f bne.n 801399a <_vfiprintf_r+0x576> - 801395a: 9b02 ldr r3, [sp, #8] - 801395c: 9a04 ldr r2, [sp, #16] - 801395e: 1a9d subs r5, r3, r2 - 8013960: 2d00 cmp r5, #0 - 8013962: dd1a ble.n 801399a <_vfiprintf_r+0x576> - 8013964: 4b87 ldr r3, [pc, #540] @ (8013b84 <_vfiprintf_r+0x760>) - 8013966: 6033 str r3, [r6, #0] - 8013968: e9dd 2c0f ldrd r2, ip, [sp, #60] @ 0x3c - 801396c: 2d10 cmp r5, #16 - 801396e: f102 0201 add.w r2, r2, #1 - 8013972: f106 0008 add.w r0, r6, #8 - 8013976: f300 8130 bgt.w 8013bda <_vfiprintf_r+0x7b6> - 801397a: 6075 str r5, [r6, #4] - 801397c: 2a07 cmp r2, #7 - 801397e: 4465 add r5, ip - 8013980: e9cd 250f strd r2, r5, [sp, #60] @ 0x3c - 8013984: f340 813c ble.w 8013c00 <_vfiprintf_r+0x7dc> - 8013988: 9800 ldr r0, [sp, #0] - 801398a: aa0e add r2, sp, #56 @ 0x38 - 801398c: 4639 mov r1, r7 - 801398e: f7ff fd17 bl 80133c0 <__sprint_r> - 8013992: 2800 cmp r0, #0 - 8013994: f040 816f bne.w 8013c76 <_vfiprintf_r+0x852> - 8013998: ae11 add r6, sp, #68 @ 0x44 - 801399a: 9b01 ldr r3, [sp, #4] - 801399c: 1ae4 subs r4, r4, r3 - 801399e: 2c00 cmp r4, #0 - 80139a0: dd1a ble.n 80139d8 <_vfiprintf_r+0x5b4> - 80139a2: e9dd 320f ldrd r3, r2, [sp, #60] @ 0x3c - 80139a6: 4877 ldr r0, [pc, #476] @ (8013b84 <_vfiprintf_r+0x760>) - 80139a8: 6030 str r0, [r6, #0] - 80139aa: 2c10 cmp r4, #16 - 80139ac: f103 0301 add.w r3, r3, #1 - 80139b0: f106 0108 add.w r1, r6, #8 - 80139b4: f300 8126 bgt.w 8013c04 <_vfiprintf_r+0x7e0> - 80139b8: 6074 str r4, [r6, #4] - 80139ba: 2b07 cmp r3, #7 - 80139bc: 4414 add r4, r2 - 80139be: e9cd 340f strd r3, r4, [sp, #60] @ 0x3c - 80139c2: f340 8130 ble.w 8013c26 <_vfiprintf_r+0x802> - 80139c6: 9800 ldr r0, [sp, #0] - 80139c8: aa0e add r2, sp, #56 @ 0x38 - 80139ca: 4639 mov r1, r7 - 80139cc: f7ff fcf8 bl 80133c0 <__sprint_r> - 80139d0: 2800 cmp r0, #0 - 80139d2: f040 8150 bne.w 8013c76 <_vfiprintf_r+0x852> - 80139d6: ae11 add r6, sp, #68 @ 0x44 - 80139d8: 9b01 ldr r3, [sp, #4] - 80139da: 9a01 ldr r2, [sp, #4] - 80139dc: 6073 str r3, [r6, #4] - 80139de: 9b10 ldr r3, [sp, #64] @ 0x40 - 80139e0: f8c6 9000 str.w r9, [r6] - 80139e4: 4413 add r3, r2 - 80139e6: 9310 str r3, [sp, #64] @ 0x40 - 80139e8: 9b0f ldr r3, [sp, #60] @ 0x3c - 80139ea: 3301 adds r3, #1 - 80139ec: 2b07 cmp r3, #7 - 80139ee: 930f str r3, [sp, #60] @ 0x3c - 80139f0: f300 811b bgt.w 8013c2a <_vfiprintf_r+0x806> - 80139f4: f106 0308 add.w r3, r6, #8 - 80139f8: f01a 0f04 tst.w sl, #4 - 80139fc: f040 811d bne.w 8013c3a <_vfiprintf_r+0x816> - 8013a00: e9dd 2302 ldrd r2, r3, [sp, #8] - 8013a04: 9904 ldr r1, [sp, #16] - 8013a06: 428a cmp r2, r1 - 8013a08: bfac ite ge - 8013a0a: 189b addge r3, r3, r2 - 8013a0c: 185b addlt r3, r3, r1 - 8013a0e: 9303 str r3, [sp, #12] - 8013a10: 9b10 ldr r3, [sp, #64] @ 0x40 - 8013a12: b13b cbz r3, 8013a24 <_vfiprintf_r+0x600> - 8013a14: 9800 ldr r0, [sp, #0] - 8013a16: aa0e add r2, sp, #56 @ 0x38 - 8013a18: 4639 mov r1, r7 - 8013a1a: f7ff fcd1 bl 80133c0 <__sprint_r> - 8013a1e: 2800 cmp r0, #0 - 8013a20: f040 8129 bne.w 8013c76 <_vfiprintf_r+0x852> - 8013a24: 2300 movs r3, #0 - 8013a26: 930f str r3, [sp, #60] @ 0x3c - 8013a28: 4645 mov r5, r8 - 8013a2a: ae11 add r6, sp, #68 @ 0x44 - 8013a2c: e55b b.n 80134e6 <_vfiprintf_r+0xc2> - 8013a2e: 4648 mov r0, r9 - 8013a30: f7ec fbde bl 80001f0 - 8013a34: 9001 str r0, [sp, #4] - 8013a36: e734 b.n 80138a2 <_vfiprintf_r+0x47e> - 8013a38: f04a 0a10 orr.w sl, sl, #16 - 8013a3c: f01a 0320 ands.w r3, sl, #32 - 8013a40: d008 beq.n 8013a54 <_vfiprintf_r+0x630> - 8013a42: 3507 adds r5, #7 - 8013a44: f025 0507 bic.w r5, r5, #7 - 8013a48: 46a8 mov r8, r5 - 8013a4a: 686d ldr r5, [r5, #4] - 8013a4c: f858 4b08 ldr.w r4, [r8], #8 - 8013a50: 2301 movs r3, #1 - 8013a52: e6d8 b.n 8013806 <_vfiprintf_r+0x3e2> - 8013a54: 46a8 mov r8, r5 - 8013a56: f01a 0510 ands.w r5, sl, #16 - 8013a5a: f858 4b04 ldr.w r4, [r8], #4 - 8013a5e: d001 beq.n 8013a64 <_vfiprintf_r+0x640> - 8013a60: 461d mov r5, r3 - 8013a62: e7f5 b.n 8013a50 <_vfiprintf_r+0x62c> - 8013a64: f01a 0340 ands.w r3, sl, #64 @ 0x40 - 8013a68: d001 beq.n 8013a6e <_vfiprintf_r+0x64a> - 8013a6a: b2a4 uxth r4, r4 - 8013a6c: e7f0 b.n 8013a50 <_vfiprintf_r+0x62c> - 8013a6e: f41a 7500 ands.w r5, sl, #512 @ 0x200 - 8013a72: d0ed beq.n 8013a50 <_vfiprintf_r+0x62c> - 8013a74: b2e4 uxtb r4, r4 - 8013a76: e7f3 b.n 8013a60 <_vfiprintf_r+0x63c> - 8013a78: 4a43 ldr r2, [pc, #268] @ (8013b88 <_vfiprintf_r+0x764>) - 8013a7a: e5c9 b.n 8013610 <_vfiprintf_r+0x1ec> - 8013a7c: 46a8 mov r8, r5 - 8013a7e: f01a 0510 ands.w r5, sl, #16 - 8013a82: f858 4b04 ldr.w r4, [r8], #4 - 8013a86: d001 beq.n 8013a8c <_vfiprintf_r+0x668> - 8013a88: 4615 mov r5, r2 - 8013a8a: e5cd b.n 8013628 <_vfiprintf_r+0x204> - 8013a8c: f01a 0240 ands.w r2, sl, #64 @ 0x40 - 8013a90: d001 beq.n 8013a96 <_vfiprintf_r+0x672> - 8013a92: b2a4 uxth r4, r4 - 8013a94: e5c8 b.n 8013628 <_vfiprintf_r+0x204> - 8013a96: f41a 7500 ands.w r5, sl, #512 @ 0x200 - 8013a9a: f43f adc5 beq.w 8013628 <_vfiprintf_r+0x204> - 8013a9e: b2e4 uxtb r4, r4 - 8013aa0: e7f2 b.n 8013a88 <_vfiprintf_r+0x664> - 8013aa2: 2c0a cmp r4, #10 - 8013aa4: f175 0300 sbcs.w r3, r5, #0 - 8013aa8: d206 bcs.n 8013ab8 <_vfiprintf_r+0x694> - 8013aaa: 3430 adds r4, #48 @ 0x30 - 8013aac: b2e4 uxtb r4, r4 - 8013aae: f88d 40e7 strb.w r4, [sp, #231] @ 0xe7 - 8013ab2: f10d 09e7 add.w r9, sp, #231 @ 0xe7 - 8013ab6: e131 b.n 8013d1c <_vfiprintf_r+0x8f8> - 8013ab8: ab3a add r3, sp, #232 @ 0xe8 - 8013aba: 9308 str r3, [sp, #32] - 8013abc: 9b04 ldr r3, [sp, #16] - 8013abe: f403 6380 and.w r3, r3, #1024 @ 0x400 - 8013ac2: f04f 0a00 mov.w sl, #0 - 8013ac6: 930a str r3, [sp, #40] @ 0x28 - 8013ac8: 220a movs r2, #10 - 8013aca: 2300 movs r3, #0 - 8013acc: 4620 mov r0, r4 - 8013ace: 4629 mov r1, r5 - 8013ad0: f7ed f87a bl 8000bc8 <__aeabi_uldivmod> - 8013ad4: 460b mov r3, r1 - 8013ad6: 9908 ldr r1, [sp, #32] - 8013ad8: 900b str r0, [sp, #44] @ 0x2c - 8013ada: 3230 adds r2, #48 @ 0x30 - 8013adc: f801 2c01 strb.w r2, [r1, #-1] - 8013ae0: 9a0a ldr r2, [sp, #40] @ 0x28 - 8013ae2: f101 39ff add.w r9, r1, #4294967295 - 8013ae6: f10a 0a01 add.w sl, sl, #1 - 8013aea: b1e2 cbz r2, 8013b26 <_vfiprintf_r+0x702> - 8013aec: 9a06 ldr r2, [sp, #24] - 8013aee: 7812 ldrb r2, [r2, #0] - 8013af0: 4552 cmp r2, sl - 8013af2: d118 bne.n 8013b26 <_vfiprintf_r+0x702> - 8013af4: f1ba 0fff cmp.w sl, #255 @ 0xff - 8013af8: d015 beq.n 8013b26 <_vfiprintf_r+0x702> - 8013afa: 2c0a cmp r4, #10 - 8013afc: f175 0200 sbcs.w r2, r5, #0 - 8013b00: d311 bcc.n 8013b26 <_vfiprintf_r+0x702> - 8013b02: 9308 str r3, [sp, #32] - 8013b04: 9b07 ldr r3, [sp, #28] - 8013b06: 9909 ldr r1, [sp, #36] @ 0x24 - 8013b08: eba9 0903 sub.w r9, r9, r3 - 8013b0c: 461a mov r2, r3 - 8013b0e: 4648 mov r0, r9 - 8013b10: f000 fc60 bl 80143d4 - 8013b14: 9b06 ldr r3, [sp, #24] - 8013b16: 785a ldrb r2, [r3, #1] - 8013b18: 9b08 ldr r3, [sp, #32] - 8013b1a: b172 cbz r2, 8013b3a <_vfiprintf_r+0x716> - 8013b1c: 9a06 ldr r2, [sp, #24] - 8013b1e: 3201 adds r2, #1 - 8013b20: 9206 str r2, [sp, #24] - 8013b22: f04f 0a00 mov.w sl, #0 - 8013b26: 2c0a cmp r4, #10 - 8013b28: f175 0500 sbcs.w r5, r5, #0 - 8013b2c: f0c0 80f6 bcc.w 8013d1c <_vfiprintf_r+0x8f8> - 8013b30: 9c0b ldr r4, [sp, #44] @ 0x2c - 8013b32: f8cd 9020 str.w r9, [sp, #32] - 8013b36: 461d mov r5, r3 - 8013b38: e7c6 b.n 8013ac8 <_vfiprintf_r+0x6a4> - 8013b3a: 4692 mov sl, r2 - 8013b3c: e7f3 b.n 8013b26 <_vfiprintf_r+0x702> - 8013b3e: f004 030f and.w r3, r4, #15 - 8013b42: 9a05 ldr r2, [sp, #20] - 8013b44: 0924 lsrs r4, r4, #4 - 8013b46: 5cd3 ldrb r3, [r2, r3] - 8013b48: f809 3d01 strb.w r3, [r9, #-1]! - 8013b4c: ea44 7405 orr.w r4, r4, r5, lsl #28 - 8013b50: 092d lsrs r5, r5, #4 - 8013b52: ea54 0305 orrs.w r3, r4, r5 - 8013b56: d1f2 bne.n 8013b3e <_vfiprintf_r+0x71a> - 8013b58: e0e0 b.n 8013d1c <_vfiprintf_r+0x8f8> - 8013b5a: b923 cbnz r3, 8013b66 <_vfiprintf_r+0x742> - 8013b5c: f01a 0f01 tst.w sl, #1 - 8013b60: d001 beq.n 8013b66 <_vfiprintf_r+0x742> - 8013b62: 2430 movs r4, #48 @ 0x30 - 8013b64: e7a3 b.n 8013aae <_vfiprintf_r+0x68a> - 8013b66: f10d 09e8 add.w r9, sp, #232 @ 0xe8 - 8013b6a: e0d7 b.n 8013d1c <_vfiprintf_r+0x8f8> - 8013b6c: 2b00 cmp r3, #0 - 8013b6e: f000 80a3 beq.w 8013cb8 <_vfiprintf_r+0x894> - 8013b72: 2400 movs r4, #0 - 8013b74: f88d 3084 strb.w r3, [sp, #132] @ 0x84 - 8013b78: f88d 4033 strb.w r4, [sp, #51] @ 0x33 - 8013b7c: 46a8 mov r8, r5 - 8013b7e: e5e0 b.n 8013742 <_vfiprintf_r+0x31e> - 8013b80: 0801904f .word 0x0801904f - 8013b84: 0801903f .word 0x0801903f - 8013b88: 0801900c .word 0x0801900c - 8013b8c: 2110 movs r1, #16 - 8013b8e: 6071 str r1, [r6, #4] - 8013b90: 2a07 cmp r2, #7 - 8013b92: 4461 add r1, ip - 8013b94: e9cd 210f strd r2, r1, [sp, #60] @ 0x3c - 8013b98: dd08 ble.n 8013bac <_vfiprintf_r+0x788> - 8013b9a: 9800 ldr r0, [sp, #0] - 8013b9c: aa0e add r2, sp, #56 @ 0x38 - 8013b9e: 4639 mov r1, r7 - 8013ba0: f7ff fc0e bl 80133c0 <__sprint_r> - 8013ba4: 2800 cmp r0, #0 - 8013ba6: d166 bne.n 8013c76 <_vfiprintf_r+0x852> - 8013ba8: 4b60 ldr r3, [pc, #384] @ (8013d2c <_vfiprintf_r+0x908>) - 8013baa: a811 add r0, sp, #68 @ 0x44 - 8013bac: 3d10 subs r5, #16 - 8013bae: 4606 mov r6, r0 - 8013bb0: e694 b.n 80138dc <_vfiprintf_r+0x4b8> - 8013bb2: 4606 mov r6, r0 - 8013bb4: e6ac b.n 8013910 <_vfiprintf_r+0x4ec> - 8013bb6: 9800 ldr r0, [sp, #0] - 8013bb8: aa0e add r2, sp, #56 @ 0x38 - 8013bba: 4639 mov r1, r7 - 8013bbc: f7ff fc00 bl 80133c0 <__sprint_r> - 8013bc0: 2800 cmp r0, #0 - 8013bc2: d158 bne.n 8013c76 <_vfiprintf_r+0x852> - 8013bc4: ae11 add r6, sp, #68 @ 0x44 - 8013bc6: e6b5 b.n 8013934 <_vfiprintf_r+0x510> - 8013bc8: 9800 ldr r0, [sp, #0] - 8013bca: aa0e add r2, sp, #56 @ 0x38 - 8013bcc: 4639 mov r1, r7 - 8013bce: f7ff fbf7 bl 80133c0 <__sprint_r> - 8013bd2: 2800 cmp r0, #0 - 8013bd4: d14f bne.n 8013c76 <_vfiprintf_r+0x852> - 8013bd6: ae11 add r6, sp, #68 @ 0x44 - 8013bd8: e6bc b.n 8013954 <_vfiprintf_r+0x530> - 8013bda: 2110 movs r1, #16 - 8013bdc: 6071 str r1, [r6, #4] - 8013bde: 2a07 cmp r2, #7 - 8013be0: 4461 add r1, ip - 8013be2: e9cd 210f strd r2, r1, [sp, #60] @ 0x3c - 8013be6: dd08 ble.n 8013bfa <_vfiprintf_r+0x7d6> - 8013be8: 9800 ldr r0, [sp, #0] - 8013bea: aa0e add r2, sp, #56 @ 0x38 - 8013bec: 4639 mov r1, r7 - 8013bee: f7ff fbe7 bl 80133c0 <__sprint_r> - 8013bf2: 2800 cmp r0, #0 - 8013bf4: d13f bne.n 8013c76 <_vfiprintf_r+0x852> - 8013bf6: 4b4e ldr r3, [pc, #312] @ (8013d30 <_vfiprintf_r+0x90c>) - 8013bf8: a811 add r0, sp, #68 @ 0x44 - 8013bfa: 3d10 subs r5, #16 - 8013bfc: 4606 mov r6, r0 - 8013bfe: e6b2 b.n 8013966 <_vfiprintf_r+0x542> - 8013c00: 4606 mov r6, r0 - 8013c02: e6ca b.n 801399a <_vfiprintf_r+0x576> - 8013c04: 2010 movs r0, #16 - 8013c06: 4402 add r2, r0 - 8013c08: 2b07 cmp r3, #7 - 8013c0a: e9cd 320f strd r3, r2, [sp, #60] @ 0x3c - 8013c0e: 6070 str r0, [r6, #4] - 8013c10: dd06 ble.n 8013c20 <_vfiprintf_r+0x7fc> - 8013c12: 9800 ldr r0, [sp, #0] - 8013c14: aa0e add r2, sp, #56 @ 0x38 - 8013c16: 4639 mov r1, r7 - 8013c18: f7ff fbd2 bl 80133c0 <__sprint_r> - 8013c1c: bb58 cbnz r0, 8013c76 <_vfiprintf_r+0x852> - 8013c1e: a911 add r1, sp, #68 @ 0x44 - 8013c20: 3c10 subs r4, #16 - 8013c22: 460e mov r6, r1 - 8013c24: e6bd b.n 80139a2 <_vfiprintf_r+0x57e> - 8013c26: 460e mov r6, r1 - 8013c28: e6d6 b.n 80139d8 <_vfiprintf_r+0x5b4> - 8013c2a: 9800 ldr r0, [sp, #0] - 8013c2c: aa0e add r2, sp, #56 @ 0x38 - 8013c2e: 4639 mov r1, r7 - 8013c30: f7ff fbc6 bl 80133c0 <__sprint_r> - 8013c34: b9f8 cbnz r0, 8013c76 <_vfiprintf_r+0x852> - 8013c36: ab11 add r3, sp, #68 @ 0x44 - 8013c38: e6de b.n 80139f8 <_vfiprintf_r+0x5d4> - 8013c3a: 9a02 ldr r2, [sp, #8] - 8013c3c: 9904 ldr r1, [sp, #16] - 8013c3e: 1a54 subs r4, r2, r1 - 8013c40: 2c00 cmp r4, #0 - 8013c42: f77f aedd ble.w 8013a00 <_vfiprintf_r+0x5dc> - 8013c46: 4d39 ldr r5, [pc, #228] @ (8013d2c <_vfiprintf_r+0x908>) - 8013c48: 2610 movs r6, #16 - 8013c4a: e9dd 210f ldrd r2, r1, [sp, #60] @ 0x3c - 8013c4e: 2c10 cmp r4, #16 - 8013c50: f102 0201 add.w r2, r2, #1 - 8013c54: 601d str r5, [r3, #0] - 8013c56: dc1d bgt.n 8013c94 <_vfiprintf_r+0x870> - 8013c58: 605c str r4, [r3, #4] - 8013c5a: 2a07 cmp r2, #7 - 8013c5c: 440c add r4, r1 - 8013c5e: e9cd 240f strd r2, r4, [sp, #60] @ 0x3c - 8013c62: f77f aecd ble.w 8013a00 <_vfiprintf_r+0x5dc> - 8013c66: 9800 ldr r0, [sp, #0] - 8013c68: aa0e add r2, sp, #56 @ 0x38 - 8013c6a: 4639 mov r1, r7 - 8013c6c: f7ff fba8 bl 80133c0 <__sprint_r> - 8013c70: 2800 cmp r0, #0 - 8013c72: f43f aec5 beq.w 8013a00 <_vfiprintf_r+0x5dc> - 8013c76: 6e7b ldr r3, [r7, #100] @ 0x64 - 8013c78: 07d9 lsls r1, r3, #31 - 8013c7a: d405 bmi.n 8013c88 <_vfiprintf_r+0x864> - 8013c7c: 89bb ldrh r3, [r7, #12] - 8013c7e: 059a lsls r2, r3, #22 - 8013c80: d402 bmi.n 8013c88 <_vfiprintf_r+0x864> - 8013c82: 6db8 ldr r0, [r7, #88] @ 0x58 - 8013c84: f7fd fdb3 bl 80117ee <__retarget_lock_release_recursive> - 8013c88: 89bb ldrh r3, [r7, #12] - 8013c8a: 065b lsls r3, r3, #25 - 8013c8c: f57f abfb bpl.w 8013486 <_vfiprintf_r+0x62> - 8013c90: f7ff bbf6 b.w 8013480 <_vfiprintf_r+0x5c> - 8013c94: 3110 adds r1, #16 - 8013c96: 2a07 cmp r2, #7 - 8013c98: e9cd 210f strd r2, r1, [sp, #60] @ 0x3c - 8013c9c: 605e str r6, [r3, #4] - 8013c9e: dc02 bgt.n 8013ca6 <_vfiprintf_r+0x882> - 8013ca0: 3308 adds r3, #8 - 8013ca2: 3c10 subs r4, #16 - 8013ca4: e7d1 b.n 8013c4a <_vfiprintf_r+0x826> - 8013ca6: 9800 ldr r0, [sp, #0] - 8013ca8: aa0e add r2, sp, #56 @ 0x38 - 8013caa: 4639 mov r1, r7 - 8013cac: f7ff fb88 bl 80133c0 <__sprint_r> - 8013cb0: 2800 cmp r0, #0 - 8013cb2: d1e0 bne.n 8013c76 <_vfiprintf_r+0x852> - 8013cb4: ab11 add r3, sp, #68 @ 0x44 - 8013cb6: e7f4 b.n 8013ca2 <_vfiprintf_r+0x87e> - 8013cb8: 9b10 ldr r3, [sp, #64] @ 0x40 - 8013cba: b913 cbnz r3, 8013cc2 <_vfiprintf_r+0x89e> - 8013cbc: 2300 movs r3, #0 - 8013cbe: 930f str r3, [sp, #60] @ 0x3c - 8013cc0: e7d9 b.n 8013c76 <_vfiprintf_r+0x852> - 8013cc2: 9800 ldr r0, [sp, #0] - 8013cc4: aa0e add r2, sp, #56 @ 0x38 - 8013cc6: 4639 mov r1, r7 - 8013cc8: f7ff fb7a bl 80133c0 <__sprint_r> - 8013ccc: 2800 cmp r0, #0 - 8013cce: d0f5 beq.n 8013cbc <_vfiprintf_r+0x898> - 8013cd0: e7d1 b.n 8013c76 <_vfiprintf_r+0x852> - 8013cd2: ea54 0205 orrs.w r2, r4, r5 - 8013cd6: f8cd a010 str.w sl, [sp, #16] - 8013cda: f43f ada6 beq.w 801382a <_vfiprintf_r+0x406> - 8013cde: 2b01 cmp r3, #1 - 8013ce0: f43f aedf beq.w 8013aa2 <_vfiprintf_r+0x67e> - 8013ce4: 2b02 cmp r3, #2 - 8013ce6: f10d 09e8 add.w r9, sp, #232 @ 0xe8 - 8013cea: f43f af28 beq.w 8013b3e <_vfiprintf_r+0x71a> - 8013cee: f004 0307 and.w r3, r4, #7 - 8013cf2: 08e4 lsrs r4, r4, #3 - 8013cf4: ea44 7445 orr.w r4, r4, r5, lsl #29 - 8013cf8: 08ed lsrs r5, r5, #3 - 8013cfa: 3330 adds r3, #48 @ 0x30 - 8013cfc: ea54 0105 orrs.w r1, r4, r5 - 8013d00: 464a mov r2, r9 - 8013d02: f809 3d01 strb.w r3, [r9, #-1]! - 8013d06: d1f2 bne.n 8013cee <_vfiprintf_r+0x8ca> - 8013d08: 9904 ldr r1, [sp, #16] - 8013d0a: 07c8 lsls r0, r1, #31 - 8013d0c: d506 bpl.n 8013d1c <_vfiprintf_r+0x8f8> - 8013d0e: 2b30 cmp r3, #48 @ 0x30 - 8013d10: d004 beq.n 8013d1c <_vfiprintf_r+0x8f8> - 8013d12: 2330 movs r3, #48 @ 0x30 - 8013d14: f809 3c01 strb.w r3, [r9, #-1] - 8013d18: f1a2 0902 sub.w r9, r2, #2 - 8013d1c: ab3a add r3, sp, #232 @ 0xe8 - 8013d1e: eba3 0309 sub.w r3, r3, r9 - 8013d22: 9c01 ldr r4, [sp, #4] - 8013d24: f8dd a010 ldr.w sl, [sp, #16] - 8013d28: 9301 str r3, [sp, #4] - 8013d2a: e5bb b.n 80138a4 <_vfiprintf_r+0x480> - 8013d2c: 0801904f .word 0x0801904f - 8013d30: 0801903f .word 0x0801903f + 8013520: f88d 307b strb.w r3, [sp, #123] @ 0x7b + 8013524: 9607 str r6, [sp, #28] + 8013526: f7ff bb5c b.w 8012be2 <_vfprintf_r+0x37a> + 801352a: 2010 movs r0, #16 + 801352c: 4403 add r3, r0 + 801352e: 2a07 cmp r2, #7 + 8013530: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c + 8013534: 6060 str r0, [r4, #4] + 8013536: dd08 ble.n 801354a <_vfprintf_r+0xce2> + 8013538: 9803 ldr r0, [sp, #12] + 801353a: aa26 add r2, sp, #152 @ 0x98 + 801353c: 4659 mov r1, fp + 801353e: f000 fbff bl 8013d40 <__sprint_r> + 8013542: 2800 cmp r0, #0 + 8013544: f040 8357 bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013548: a929 add r1, sp, #164 @ 0xa4 + 801354a: 9b13 ldr r3, [sp, #76] @ 0x4c + 801354c: 3b10 subs r3, #16 + 801354e: 9313 str r3, [sp, #76] @ 0x4c + 8013550: 460c mov r4, r1 + 8013552: e547 b.n 8012fe4 <_vfprintf_r+0x77c> + 8013554: 460c mov r4, r1 + 8013556: e562 b.n 801301e <_vfprintf_r+0x7b6> + 8013558: 9803 ldr r0, [sp, #12] + 801355a: aa26 add r2, sp, #152 @ 0x98 + 801355c: 4659 mov r1, fp + 801355e: f000 fbef bl 8013d40 <__sprint_r> + 8013562: 2800 cmp r0, #0 + 8013564: f040 8347 bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013568: ac29 add r4, sp, #164 @ 0xa4 + 801356a: e56a b.n 8013042 <_vfprintf_r+0x7da> + 801356c: 9803 ldr r0, [sp, #12] + 801356e: aa26 add r2, sp, #152 @ 0x98 + 8013570: 4659 mov r1, fp + 8013572: f000 fbe5 bl 8013d40 <__sprint_r> + 8013576: 2800 cmp r0, #0 + 8013578: f040 833d bne.w 8013bf6 <_vfprintf_r+0x138e> + 801357c: ac29 add r4, sp, #164 @ 0xa4 + 801357e: e570 b.n 8013062 <_vfprintf_r+0x7fa> + 8013580: 2010 movs r0, #16 + 8013582: 4403 add r3, r0 + 8013584: 2a07 cmp r2, #7 + 8013586: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c + 801358a: 6060 str r0, [r4, #4] + 801358c: dd08 ble.n 80135a0 <_vfprintf_r+0xd38> + 801358e: 9803 ldr r0, [sp, #12] + 8013590: aa26 add r2, sp, #152 @ 0x98 + 8013592: 4659 mov r1, fp + 8013594: f000 fbd4 bl 8013d40 <__sprint_r> + 8013598: 2800 cmp r0, #0 + 801359a: f040 832c bne.w 8013bf6 <_vfprintf_r+0x138e> + 801359e: a929 add r1, sp, #164 @ 0xa4 + 80135a0: 9b13 ldr r3, [sp, #76] @ 0x4c + 80135a2: 3b10 subs r3, #16 + 80135a4: 9313 str r3, [sp, #76] @ 0x4c + 80135a6: 460c mov r4, r1 + 80135a8: e564 b.n 8013074 <_vfprintf_r+0x80c> + 80135aa: 460c mov r4, r1 + 80135ac: e57f b.n 80130ae <_vfprintf_r+0x846> + 80135ae: 2010 movs r0, #16 + 80135b0: 4403 add r3, r0 + 80135b2: 2a07 cmp r2, #7 + 80135b4: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c + 80135b8: 6060 str r0, [r4, #4] + 80135ba: dd08 ble.n 80135ce <_vfprintf_r+0xd66> + 80135bc: 9803 ldr r0, [sp, #12] + 80135be: aa26 add r2, sp, #152 @ 0x98 + 80135c0: 4659 mov r1, fp + 80135c2: f000 fbbd bl 8013d40 <__sprint_r> + 80135c6: 2800 cmp r0, #0 + 80135c8: f040 8315 bne.w 8013bf6 <_vfprintf_r+0x138e> + 80135cc: a929 add r1, sp, #164 @ 0xa4 + 80135ce: 9b10 ldr r3, [sp, #64] @ 0x40 + 80135d0: 3b10 subs r3, #16 + 80135d2: 9310 str r3, [sp, #64] @ 0x40 + 80135d4: 460c mov r4, r1 + 80135d6: e570 b.n 80130ba <_vfprintf_r+0x852> + 80135d8: 460c mov r4, r1 + 80135da: e58b b.n 80130f4 <_vfprintf_r+0x88c> + 80135dc: 0801997b .word 0x0801997b + 80135e0: 0801998c .word 0x0801998c + 80135e4: 9b06 ldr r3, [sp, #24] + 80135e6: 2b65 cmp r3, #101 @ 0x65 + 80135e8: f340 8245 ble.w 8013a76 <_vfprintf_r+0x120e> + 80135ec: e9dd 010a ldrd r0, r1, [sp, #40] @ 0x28 + 80135f0: 2200 movs r2, #0 + 80135f2: 2300 movs r3, #0 + 80135f4: f7ed fa78 bl 8000ae8 <__aeabi_dcmpeq> + 80135f8: 2800 cmp r0, #0 + 80135fa: d06a beq.n 80136d2 <_vfprintf_r+0xe6a> + 80135fc: 4b73 ldr r3, [pc, #460] @ (80137cc <_vfprintf_r+0xf64>) + 80135fe: 6023 str r3, [r4, #0] + 8013600: 2301 movs r3, #1 + 8013602: 6063 str r3, [r4, #4] + 8013604: 9b10 ldr r3, [sp, #64] @ 0x40 + 8013606: 3301 adds r3, #1 + 8013608: 9328 str r3, [sp, #160] @ 0xa0 + 801360a: 9b27 ldr r3, [sp, #156] @ 0x9c + 801360c: 3301 adds r3, #1 + 801360e: 2b07 cmp r3, #7 + 8013610: 9327 str r3, [sp, #156] @ 0x9c + 8013612: dc37 bgt.n 8013684 <_vfprintf_r+0xe1c> + 8013614: 3408 adds r4, #8 + 8013616: 9b20 ldr r3, [sp, #128] @ 0x80 + 8013618: 9a04 ldr r2, [sp, #16] + 801361a: 4293 cmp r3, r2 + 801361c: db02 blt.n 8013624 <_vfprintf_r+0xdbc> + 801361e: 07e9 lsls r1, r5, #31 + 8013620: f57f ad78 bpl.w 8013114 <_vfprintf_r+0x8ac> + 8013624: 9b16 ldr r3, [sp, #88] @ 0x58 + 8013626: 6023 str r3, [r4, #0] + 8013628: 9b0d ldr r3, [sp, #52] @ 0x34 + 801362a: 9a0d ldr r2, [sp, #52] @ 0x34 + 801362c: 6063 str r3, [r4, #4] + 801362e: 9b28 ldr r3, [sp, #160] @ 0xa0 + 8013630: 4413 add r3, r2 + 8013632: 9328 str r3, [sp, #160] @ 0xa0 + 8013634: 9b27 ldr r3, [sp, #156] @ 0x9c + 8013636: 3301 adds r3, #1 + 8013638: 2b07 cmp r3, #7 + 801363a: 9327 str r3, [sp, #156] @ 0x9c + 801363c: dc2c bgt.n 8013698 <_vfprintf_r+0xe30> + 801363e: 3408 adds r4, #8 + 8013640: 9b04 ldr r3, [sp, #16] + 8013642: 1e5e subs r6, r3, #1 + 8013644: 2e00 cmp r6, #0 + 8013646: f77f ad65 ble.w 8013114 <_vfprintf_r+0x8ac> + 801364a: 4f61 ldr r7, [pc, #388] @ (80137d0 <_vfprintf_r+0xf68>) + 801364c: f04f 0810 mov.w r8, #16 + 8013650: e9dd 3227 ldrd r3, r2, [sp, #156] @ 0x9c + 8013654: 2e10 cmp r6, #16 + 8013656: f103 0301 add.w r3, r3, #1 + 801365a: f104 0108 add.w r1, r4, #8 + 801365e: 6027 str r7, [r4, #0] + 8013660: dc24 bgt.n 80136ac <_vfprintf_r+0xe44> + 8013662: 6066 str r6, [r4, #4] + 8013664: 2b07 cmp r3, #7 + 8013666: 4416 add r6, r2 + 8013668: e9cd 3627 strd r3, r6, [sp, #156] @ 0x9c + 801366c: f340 82a2 ble.w 8013bb4 <_vfprintf_r+0x134c> + 8013670: 9803 ldr r0, [sp, #12] + 8013672: aa26 add r2, sp, #152 @ 0x98 + 8013674: 4659 mov r1, fp + 8013676: f000 fb63 bl 8013d40 <__sprint_r> + 801367a: 2800 cmp r0, #0 + 801367c: f040 82bb bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013680: ac29 add r4, sp, #164 @ 0xa4 + 8013682: e547 b.n 8013114 <_vfprintf_r+0x8ac> + 8013684: 9803 ldr r0, [sp, #12] + 8013686: aa26 add r2, sp, #152 @ 0x98 + 8013688: 4659 mov r1, fp + 801368a: f000 fb59 bl 8013d40 <__sprint_r> + 801368e: 2800 cmp r0, #0 + 8013690: f040 82b1 bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013694: ac29 add r4, sp, #164 @ 0xa4 + 8013696: e7be b.n 8013616 <_vfprintf_r+0xdae> + 8013698: 9803 ldr r0, [sp, #12] + 801369a: aa26 add r2, sp, #152 @ 0x98 + 801369c: 4659 mov r1, fp + 801369e: f000 fb4f bl 8013d40 <__sprint_r> + 80136a2: 2800 cmp r0, #0 + 80136a4: f040 82a7 bne.w 8013bf6 <_vfprintf_r+0x138e> + 80136a8: ac29 add r4, sp, #164 @ 0xa4 + 80136aa: e7c9 b.n 8013640 <_vfprintf_r+0xdd8> + 80136ac: 3210 adds r2, #16 + 80136ae: 2b07 cmp r3, #7 + 80136b0: e9cd 3227 strd r3, r2, [sp, #156] @ 0x9c + 80136b4: f8c4 8004 str.w r8, [r4, #4] + 80136b8: dd08 ble.n 80136cc <_vfprintf_r+0xe64> + 80136ba: 9803 ldr r0, [sp, #12] + 80136bc: aa26 add r2, sp, #152 @ 0x98 + 80136be: 4659 mov r1, fp + 80136c0: f000 fb3e bl 8013d40 <__sprint_r> + 80136c4: 2800 cmp r0, #0 + 80136c6: f040 8296 bne.w 8013bf6 <_vfprintf_r+0x138e> + 80136ca: a929 add r1, sp, #164 @ 0xa4 + 80136cc: 3e10 subs r6, #16 + 80136ce: 460c mov r4, r1 + 80136d0: e7be b.n 8013650 <_vfprintf_r+0xde8> + 80136d2: 9b20 ldr r3, [sp, #128] @ 0x80 + 80136d4: 2b00 cmp r3, #0 + 80136d6: dc7d bgt.n 80137d4 <_vfprintf_r+0xf6c> + 80136d8: 4b3c ldr r3, [pc, #240] @ (80137cc <_vfprintf_r+0xf64>) + 80136da: 6023 str r3, [r4, #0] + 80136dc: 2301 movs r3, #1 + 80136de: 6063 str r3, [r4, #4] + 80136e0: 9b10 ldr r3, [sp, #64] @ 0x40 + 80136e2: 3301 adds r3, #1 + 80136e4: 9328 str r3, [sp, #160] @ 0xa0 + 80136e6: 9b27 ldr r3, [sp, #156] @ 0x9c + 80136e8: 3301 adds r3, #1 + 80136ea: 2b07 cmp r3, #7 + 80136ec: 9327 str r3, [sp, #156] @ 0x9c + 80136ee: dc46 bgt.n 801377e <_vfprintf_r+0xf16> + 80136f0: 3408 adds r4, #8 + 80136f2: 9904 ldr r1, [sp, #16] + 80136f4: 9b20 ldr r3, [sp, #128] @ 0x80 + 80136f6: 9a28 ldr r2, [sp, #160] @ 0xa0 + 80136f8: 430b orrs r3, r1 + 80136fa: f005 0101 and.w r1, r5, #1 + 80136fe: 430b orrs r3, r1 + 8013700: f43f ad08 beq.w 8013114 <_vfprintf_r+0x8ac> + 8013704: 9b16 ldr r3, [sp, #88] @ 0x58 + 8013706: 6023 str r3, [r4, #0] + 8013708: 9b0d ldr r3, [sp, #52] @ 0x34 + 801370a: 6063 str r3, [r4, #4] + 801370c: 441a add r2, r3 + 801370e: 9b27 ldr r3, [sp, #156] @ 0x9c + 8013710: 9228 str r2, [sp, #160] @ 0xa0 + 8013712: 3301 adds r3, #1 + 8013714: 2b07 cmp r3, #7 + 8013716: 9327 str r3, [sp, #156] @ 0x9c + 8013718: dc3b bgt.n 8013792 <_vfprintf_r+0xf2a> + 801371a: f104 0308 add.w r3, r4, #8 + 801371e: 9e20 ldr r6, [sp, #128] @ 0x80 + 8013720: 2e00 cmp r6, #0 + 8013722: da1b bge.n 801375c <_vfprintf_r+0xef4> + 8013724: 4f2a ldr r7, [pc, #168] @ (80137d0 <_vfprintf_r+0xf68>) + 8013726: 4276 negs r6, r6 + 8013728: 461a mov r2, r3 + 801372a: 2410 movs r4, #16 + 801372c: e9dd 1027 ldrd r1, r0, [sp, #156] @ 0x9c + 8013730: 2e10 cmp r6, #16 + 8013732: f101 0101 add.w r1, r1, #1 + 8013736: f103 0308 add.w r3, r3, #8 + 801373a: 6017 str r7, [r2, #0] + 801373c: dc33 bgt.n 80137a6 <_vfprintf_r+0xf3e> + 801373e: 6056 str r6, [r2, #4] + 8013740: 2907 cmp r1, #7 + 8013742: 4406 add r6, r0 + 8013744: e9cd 1627 strd r1, r6, [sp, #156] @ 0x9c + 8013748: dd08 ble.n 801375c <_vfprintf_r+0xef4> + 801374a: 9803 ldr r0, [sp, #12] + 801374c: aa26 add r2, sp, #152 @ 0x98 + 801374e: 4659 mov r1, fp + 8013750: f000 faf6 bl 8013d40 <__sprint_r> + 8013754: 2800 cmp r0, #0 + 8013756: f040 824e bne.w 8013bf6 <_vfprintf_r+0x138e> + 801375a: ab29 add r3, sp, #164 @ 0xa4 + 801375c: 9a04 ldr r2, [sp, #16] + 801375e: 9904 ldr r1, [sp, #16] + 8013760: 605a str r2, [r3, #4] + 8013762: 9a28 ldr r2, [sp, #160] @ 0xa0 + 8013764: f8c3 8000 str.w r8, [r3] + 8013768: 440a add r2, r1 + 801376a: 9228 str r2, [sp, #160] @ 0xa0 + 801376c: 9a27 ldr r2, [sp, #156] @ 0x9c + 801376e: 3201 adds r2, #1 + 8013770: 2a07 cmp r2, #7 + 8013772: 9227 str r2, [sp, #156] @ 0x9c + 8013774: f73f af7c bgt.w 8013670 <_vfprintf_r+0xe08> + 8013778: f103 0408 add.w r4, r3, #8 + 801377c: e4ca b.n 8013114 <_vfprintf_r+0x8ac> + 801377e: 9803 ldr r0, [sp, #12] + 8013780: aa26 add r2, sp, #152 @ 0x98 + 8013782: 4659 mov r1, fp + 8013784: f000 fadc bl 8013d40 <__sprint_r> + 8013788: 2800 cmp r0, #0 + 801378a: f040 8234 bne.w 8013bf6 <_vfprintf_r+0x138e> + 801378e: ac29 add r4, sp, #164 @ 0xa4 + 8013790: e7af b.n 80136f2 <_vfprintf_r+0xe8a> + 8013792: 9803 ldr r0, [sp, #12] + 8013794: aa26 add r2, sp, #152 @ 0x98 + 8013796: 4659 mov r1, fp + 8013798: f000 fad2 bl 8013d40 <__sprint_r> + 801379c: 2800 cmp r0, #0 + 801379e: f040 822a bne.w 8013bf6 <_vfprintf_r+0x138e> + 80137a2: ab29 add r3, sp, #164 @ 0xa4 + 80137a4: e7bb b.n 801371e <_vfprintf_r+0xeb6> + 80137a6: 3010 adds r0, #16 + 80137a8: 2907 cmp r1, #7 + 80137aa: e9cd 1027 strd r1, r0, [sp, #156] @ 0x9c + 80137ae: 6054 str r4, [r2, #4] + 80137b0: dd08 ble.n 80137c4 <_vfprintf_r+0xf5c> + 80137b2: 9803 ldr r0, [sp, #12] + 80137b4: aa26 add r2, sp, #152 @ 0x98 + 80137b6: 4659 mov r1, fp + 80137b8: f000 fac2 bl 8013d40 <__sprint_r> + 80137bc: 2800 cmp r0, #0 + 80137be: f040 821a bne.w 8013bf6 <_vfprintf_r+0x138e> + 80137c2: ab29 add r3, sp, #164 @ 0xa4 + 80137c4: 3e10 subs r6, #16 + 80137c6: 461a mov r2, r3 + 80137c8: e7b0 b.n 801372c <_vfprintf_r+0xec4> + 80137ca: bf00 nop + 80137cc: 0801999d .word 0x0801999d + 80137d0: 0801999f .word 0x0801999f + 80137d4: 9b04 ldr r3, [sp, #16] + 80137d6: 4443 add r3, r8 + 80137d8: 9313 str r3, [sp, #76] @ 0x4c + 80137da: 9b04 ldr r3, [sp, #16] + 80137dc: 42b3 cmp r3, r6 + 80137de: bfa8 it ge + 80137e0: 4633 movge r3, r6 + 80137e2: 2b00 cmp r3, #0 + 80137e4: 4699 mov r9, r3 + 80137e6: dd0b ble.n 8013800 <_vfprintf_r+0xf98> + 80137e8: e9c4 8300 strd r8, r3, [r4] + 80137ec: 9b10 ldr r3, [sp, #64] @ 0x40 + 80137ee: 444b add r3, r9 + 80137f0: 9328 str r3, [sp, #160] @ 0xa0 + 80137f2: 9b27 ldr r3, [sp, #156] @ 0x9c + 80137f4: 3301 adds r3, #1 + 80137f6: 2b07 cmp r3, #7 + 80137f8: 9327 str r3, [sp, #156] @ 0x9c + 80137fa: f300 8089 bgt.w 8013910 <_vfprintf_r+0x10a8> + 80137fe: 3408 adds r4, #8 + 8013800: f1b9 0f00 cmp.w r9, #0 + 8013804: bfac ite ge + 8013806: eba6 0309 subge.w r3, r6, r9 + 801380a: 4633 movlt r3, r6 + 801380c: 2b00 cmp r3, #0 + 801380e: 9306 str r3, [sp, #24] + 8013810: dd1c ble.n 801384c <_vfprintf_r+0xfe4> + 8013812: f8df 9364 ldr.w r9, [pc, #868] @ 8013b78 <_vfprintf_r+0x1310> + 8013816: 9806 ldr r0, [sp, #24] + 8013818: f8c4 9000 str.w r9, [r4] + 801381c: e9dd 2327 ldrd r2, r3, [sp, #156] @ 0x9c + 8013820: 2810 cmp r0, #16 + 8013822: f102 0201 add.w r2, r2, #1 + 8013826: f104 0108 add.w r1, r4, #8 + 801382a: dc7b bgt.n 8013924 <_vfprintf_r+0x10bc> + 801382c: 4403 add r3, r0 + 801382e: 2a07 cmp r2, #7 + 8013830: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c + 8013834: 6060 str r0, [r4, #4] + 8013836: f340 808a ble.w 801394e <_vfprintf_r+0x10e6> + 801383a: 9803 ldr r0, [sp, #12] + 801383c: aa26 add r2, sp, #152 @ 0x98 + 801383e: 4659 mov r1, fp + 8013840: f000 fa7e bl 8013d40 <__sprint_r> + 8013844: 2800 cmp r0, #0 + 8013846: f040 81d6 bne.w 8013bf6 <_vfprintf_r+0x138e> + 801384a: ac29 add r4, sp, #164 @ 0xa4 + 801384c: 056a lsls r2, r5, #21 + 801384e: 44b0 add r8, r6 + 8013850: d508 bpl.n 8013864 <_vfprintf_r+0xffc> + 8013852: 9b08 ldr r3, [sp, #32] + 8013854: 2b00 cmp r3, #0 + 8013856: d17c bne.n 8013952 <_vfprintf_r+0x10ea> + 8013858: 2f00 cmp r7, #0 + 801385a: d17c bne.n 8013956 <_vfprintf_r+0x10ee> + 801385c: 9b13 ldr r3, [sp, #76] @ 0x4c + 801385e: 4598 cmp r8, r3 + 8013860: bf28 it cs + 8013862: 4698 movcs r8, r3 + 8013864: 9b20 ldr r3, [sp, #128] @ 0x80 + 8013866: 9a04 ldr r2, [sp, #16] + 8013868: 4293 cmp r3, r2 + 801386a: db01 blt.n 8013870 <_vfprintf_r+0x1008> + 801386c: 07eb lsls r3, r5, #31 + 801386e: d50e bpl.n 801388e <_vfprintf_r+0x1026> + 8013870: 9b16 ldr r3, [sp, #88] @ 0x58 + 8013872: 6023 str r3, [r4, #0] + 8013874: 9b0d ldr r3, [sp, #52] @ 0x34 + 8013876: 9a0d ldr r2, [sp, #52] @ 0x34 + 8013878: 6063 str r3, [r4, #4] + 801387a: 9b28 ldr r3, [sp, #160] @ 0xa0 + 801387c: 4413 add r3, r2 + 801387e: 9328 str r3, [sp, #160] @ 0xa0 + 8013880: 9b27 ldr r3, [sp, #156] @ 0x9c + 8013882: 3301 adds r3, #1 + 8013884: 2b07 cmp r3, #7 + 8013886: 9327 str r3, [sp, #156] @ 0x9c + 8013888: f300 80e1 bgt.w 8013a4e <_vfprintf_r+0x11e6> + 801388c: 3408 adds r4, #8 + 801388e: 9b04 ldr r3, [sp, #16] + 8013890: 9f20 ldr r7, [sp, #128] @ 0x80 + 8013892: 1bdf subs r7, r3, r7 + 8013894: 9b13 ldr r3, [sp, #76] @ 0x4c + 8013896: eba3 0308 sub.w r3, r3, r8 + 801389a: 429f cmp r7, r3 + 801389c: bfa8 it ge + 801389e: 461f movge r7, r3 + 80138a0: 2f00 cmp r7, #0 + 80138a2: 9b28 ldr r3, [sp, #160] @ 0xa0 + 80138a4: dd0a ble.n 80138bc <_vfprintf_r+0x1054> + 80138a6: 443b add r3, r7 + 80138a8: 9328 str r3, [sp, #160] @ 0xa0 + 80138aa: 9b27 ldr r3, [sp, #156] @ 0x9c + 80138ac: 3301 adds r3, #1 + 80138ae: 2b07 cmp r3, #7 + 80138b0: e9c4 8700 strd r8, r7, [r4] + 80138b4: 9327 str r3, [sp, #156] @ 0x9c + 80138b6: f300 80d4 bgt.w 8013a62 <_vfprintf_r+0x11fa> + 80138ba: 3408 adds r4, #8 + 80138bc: 9e20 ldr r6, [sp, #128] @ 0x80 + 80138be: 9b04 ldr r3, [sp, #16] + 80138c0: 2f00 cmp r7, #0 + 80138c2: eba3 0606 sub.w r6, r3, r6 + 80138c6: bfa8 it ge + 80138c8: 1bf6 subge r6, r6, r7 + 80138ca: 2e00 cmp r6, #0 + 80138cc: f77f ac22 ble.w 8013114 <_vfprintf_r+0x8ac> + 80138d0: 4fa9 ldr r7, [pc, #676] @ (8013b78 <_vfprintf_r+0x1310>) + 80138d2: f04f 0810 mov.w r8, #16 + 80138d6: e9dd 3227 ldrd r3, r2, [sp, #156] @ 0x9c + 80138da: 2e10 cmp r6, #16 + 80138dc: f103 0301 add.w r3, r3, #1 + 80138e0: f104 0108 add.w r1, r4, #8 + 80138e4: 6027 str r7, [r4, #0] + 80138e6: f77f aebc ble.w 8013662 <_vfprintf_r+0xdfa> + 80138ea: 3210 adds r2, #16 + 80138ec: 2b07 cmp r3, #7 + 80138ee: e9cd 3227 strd r3, r2, [sp, #156] @ 0x9c + 80138f2: f8c4 8004 str.w r8, [r4, #4] + 80138f6: dd08 ble.n 801390a <_vfprintf_r+0x10a2> + 80138f8: 9803 ldr r0, [sp, #12] + 80138fa: aa26 add r2, sp, #152 @ 0x98 + 80138fc: 4659 mov r1, fp + 80138fe: f000 fa1f bl 8013d40 <__sprint_r> + 8013902: 2800 cmp r0, #0 + 8013904: f040 8177 bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013908: a929 add r1, sp, #164 @ 0xa4 + 801390a: 3e10 subs r6, #16 + 801390c: 460c mov r4, r1 + 801390e: e7e2 b.n 80138d6 <_vfprintf_r+0x106e> + 8013910: 9803 ldr r0, [sp, #12] + 8013912: aa26 add r2, sp, #152 @ 0x98 + 8013914: 4659 mov r1, fp + 8013916: f000 fa13 bl 8013d40 <__sprint_r> + 801391a: 2800 cmp r0, #0 + 801391c: f040 816b bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013920: ac29 add r4, sp, #164 @ 0xa4 + 8013922: e76d b.n 8013800 <_vfprintf_r+0xf98> + 8013924: 2010 movs r0, #16 + 8013926: 4403 add r3, r0 + 8013928: 2a07 cmp r2, #7 + 801392a: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c + 801392e: 6060 str r0, [r4, #4] + 8013930: dd08 ble.n 8013944 <_vfprintf_r+0x10dc> + 8013932: 9803 ldr r0, [sp, #12] + 8013934: aa26 add r2, sp, #152 @ 0x98 + 8013936: 4659 mov r1, fp + 8013938: f000 fa02 bl 8013d40 <__sprint_r> + 801393c: 2800 cmp r0, #0 + 801393e: f040 815a bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013942: a929 add r1, sp, #164 @ 0xa4 + 8013944: 9b06 ldr r3, [sp, #24] + 8013946: 3b10 subs r3, #16 + 8013948: 9306 str r3, [sp, #24] + 801394a: 460c mov r4, r1 + 801394c: e763 b.n 8013816 <_vfprintf_r+0xfae> + 801394e: 460c mov r4, r1 + 8013950: e77c b.n 801384c <_vfprintf_r+0xfe4> + 8013952: 2f00 cmp r7, #0 + 8013954: d04b beq.n 80139ee <_vfprintf_r+0x1186> + 8013956: 3f01 subs r7, #1 + 8013958: 9b17 ldr r3, [sp, #92] @ 0x5c + 801395a: 6023 str r3, [r4, #0] + 801395c: 9b12 ldr r3, [sp, #72] @ 0x48 + 801395e: 9a12 ldr r2, [sp, #72] @ 0x48 + 8013960: 6063 str r3, [r4, #4] + 8013962: 9b28 ldr r3, [sp, #160] @ 0xa0 + 8013964: 4413 add r3, r2 + 8013966: 9328 str r3, [sp, #160] @ 0xa0 + 8013968: 9b27 ldr r3, [sp, #156] @ 0x9c + 801396a: 3301 adds r3, #1 + 801396c: 2b07 cmp r3, #7 + 801396e: 9327 str r3, [sp, #156] @ 0x9c + 8013970: dc44 bgt.n 80139fc <_vfprintf_r+0x1194> + 8013972: 3408 adds r4, #8 + 8013974: 9b09 ldr r3, [sp, #36] @ 0x24 + 8013976: f893 9000 ldrb.w r9, [r3] + 801397a: 9b13 ldr r3, [sp, #76] @ 0x4c + 801397c: eba3 0308 sub.w r3, r3, r8 + 8013980: 4599 cmp r9, r3 + 8013982: bfa8 it ge + 8013984: 4699 movge r9, r3 + 8013986: f1b9 0f00 cmp.w r9, #0 + 801398a: 9b28 ldr r3, [sp, #160] @ 0xa0 + 801398c: dd09 ble.n 80139a2 <_vfprintf_r+0x113a> + 801398e: 444b add r3, r9 + 8013990: 9328 str r3, [sp, #160] @ 0xa0 + 8013992: 9b27 ldr r3, [sp, #156] @ 0x9c + 8013994: 3301 adds r3, #1 + 8013996: 2b07 cmp r3, #7 + 8013998: e9c4 8900 strd r8, r9, [r4] + 801399c: 9327 str r3, [sp, #156] @ 0x9c + 801399e: dc37 bgt.n 8013a10 <_vfprintf_r+0x11a8> + 80139a0: 3408 adds r4, #8 + 80139a2: 9b09 ldr r3, [sp, #36] @ 0x24 + 80139a4: 781e ldrb r6, [r3, #0] + 80139a6: f1b9 0f00 cmp.w r9, #0 + 80139aa: bfa8 it ge + 80139ac: eba6 0609 subge.w r6, r6, r9 + 80139b0: 2e00 cmp r6, #0 + 80139b2: dd18 ble.n 80139e6 <_vfprintf_r+0x117e> + 80139b4: e9dd 3227 ldrd r3, r2, [sp, #156] @ 0x9c + 80139b8: 486f ldr r0, [pc, #444] @ (8013b78 <_vfprintf_r+0x1310>) + 80139ba: 6020 str r0, [r4, #0] + 80139bc: 2e10 cmp r6, #16 + 80139be: f103 0301 add.w r3, r3, #1 + 80139c2: f104 0108 add.w r1, r4, #8 + 80139c6: dc2d bgt.n 8013a24 <_vfprintf_r+0x11bc> + 80139c8: 6066 str r6, [r4, #4] + 80139ca: 2b07 cmp r3, #7 + 80139cc: 4416 add r6, r2 + 80139ce: e9cd 3627 strd r3, r6, [sp, #156] @ 0x9c + 80139d2: dd3a ble.n 8013a4a <_vfprintf_r+0x11e2> + 80139d4: 9803 ldr r0, [sp, #12] + 80139d6: aa26 add r2, sp, #152 @ 0x98 + 80139d8: 4659 mov r1, fp + 80139da: f000 f9b1 bl 8013d40 <__sprint_r> + 80139de: 2800 cmp r0, #0 + 80139e0: f040 8109 bne.w 8013bf6 <_vfprintf_r+0x138e> + 80139e4: ac29 add r4, sp, #164 @ 0xa4 + 80139e6: 9b09 ldr r3, [sp, #36] @ 0x24 + 80139e8: 781b ldrb r3, [r3, #0] + 80139ea: 4498 add r8, r3 + 80139ec: e731 b.n 8013852 <_vfprintf_r+0xfea> + 80139ee: 9b09 ldr r3, [sp, #36] @ 0x24 + 80139f0: 3b01 subs r3, #1 + 80139f2: 9309 str r3, [sp, #36] @ 0x24 + 80139f4: 9b08 ldr r3, [sp, #32] + 80139f6: 3b01 subs r3, #1 + 80139f8: 9308 str r3, [sp, #32] + 80139fa: e7ad b.n 8013958 <_vfprintf_r+0x10f0> + 80139fc: 9803 ldr r0, [sp, #12] + 80139fe: aa26 add r2, sp, #152 @ 0x98 + 8013a00: 4659 mov r1, fp + 8013a02: f000 f99d bl 8013d40 <__sprint_r> + 8013a06: 2800 cmp r0, #0 + 8013a08: f040 80f5 bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013a0c: ac29 add r4, sp, #164 @ 0xa4 + 8013a0e: e7b1 b.n 8013974 <_vfprintf_r+0x110c> + 8013a10: 9803 ldr r0, [sp, #12] + 8013a12: aa26 add r2, sp, #152 @ 0x98 + 8013a14: 4659 mov r1, fp + 8013a16: f000 f993 bl 8013d40 <__sprint_r> + 8013a1a: 2800 cmp r0, #0 + 8013a1c: f040 80eb bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013a20: ac29 add r4, sp, #164 @ 0xa4 + 8013a22: e7be b.n 80139a2 <_vfprintf_r+0x113a> + 8013a24: 2010 movs r0, #16 + 8013a26: 4402 add r2, r0 + 8013a28: 2b07 cmp r3, #7 + 8013a2a: e9cd 3227 strd r3, r2, [sp, #156] @ 0x9c + 8013a2e: 6060 str r0, [r4, #4] + 8013a30: dd08 ble.n 8013a44 <_vfprintf_r+0x11dc> + 8013a32: 9803 ldr r0, [sp, #12] + 8013a34: aa26 add r2, sp, #152 @ 0x98 + 8013a36: 4659 mov r1, fp + 8013a38: f000 f982 bl 8013d40 <__sprint_r> + 8013a3c: 2800 cmp r0, #0 + 8013a3e: f040 80da bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013a42: a929 add r1, sp, #164 @ 0xa4 + 8013a44: 3e10 subs r6, #16 + 8013a46: 460c mov r4, r1 + 8013a48: e7b4 b.n 80139b4 <_vfprintf_r+0x114c> + 8013a4a: 460c mov r4, r1 + 8013a4c: e7cb b.n 80139e6 <_vfprintf_r+0x117e> + 8013a4e: 9803 ldr r0, [sp, #12] + 8013a50: aa26 add r2, sp, #152 @ 0x98 + 8013a52: 4659 mov r1, fp + 8013a54: f000 f974 bl 8013d40 <__sprint_r> + 8013a58: 2800 cmp r0, #0 + 8013a5a: f040 80cc bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013a5e: ac29 add r4, sp, #164 @ 0xa4 + 8013a60: e715 b.n 801388e <_vfprintf_r+0x1026> + 8013a62: 9803 ldr r0, [sp, #12] + 8013a64: aa26 add r2, sp, #152 @ 0x98 + 8013a66: 4659 mov r1, fp + 8013a68: f000 f96a bl 8013d40 <__sprint_r> + 8013a6c: 2800 cmp r0, #0 + 8013a6e: f040 80c2 bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013a72: ac29 add r4, sp, #164 @ 0xa4 + 8013a74: e722 b.n 80138bc <_vfprintf_r+0x1054> + 8013a76: 9904 ldr r1, [sp, #16] + 8013a78: 9b10 ldr r3, [sp, #64] @ 0x40 + 8013a7a: 9a27 ldr r2, [sp, #156] @ 0x9c + 8013a7c: 2901 cmp r1, #1 + 8013a7e: f103 0301 add.w r3, r3, #1 + 8013a82: f102 0201 add.w r2, r2, #1 + 8013a86: f104 0608 add.w r6, r4, #8 + 8013a8a: dc02 bgt.n 8013a92 <_vfprintf_r+0x122a> + 8013a8c: 07ef lsls r7, r5, #31 + 8013a8e: f140 8086 bpl.w 8013b9e <_vfprintf_r+0x1336> + 8013a92: 2101 movs r1, #1 + 8013a94: 2a07 cmp r2, #7 + 8013a96: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c + 8013a9a: f8c4 8000 str.w r8, [r4] + 8013a9e: 6061 str r1, [r4, #4] + 8013aa0: dd08 ble.n 8013ab4 <_vfprintf_r+0x124c> + 8013aa2: 9803 ldr r0, [sp, #12] + 8013aa4: aa26 add r2, sp, #152 @ 0x98 + 8013aa6: 4659 mov r1, fp + 8013aa8: f000 f94a bl 8013d40 <__sprint_r> + 8013aac: 2800 cmp r0, #0 + 8013aae: f040 80a2 bne.w 8013bf6 <_vfprintf_r+0x138e> + 8013ab2: ae29 add r6, sp, #164 @ 0xa4 + 8013ab4: 9b16 ldr r3, [sp, #88] @ 0x58 + 8013ab6: 6033 str r3, [r6, #0] + 8013ab8: 9b0d ldr r3, [sp, #52] @ 0x34 + 8013aba: 9a0d ldr r2, [sp, #52] @ 0x34 + 8013abc: 6073 str r3, [r6, #4] + 8013abe: 9b28 ldr r3, [sp, #160] @ 0xa0 + 8013ac0: 4413 add r3, r2 + 8013ac2: 9328 str r3, [sp, #160] @ 0xa0 + 8013ac4: 9b27 ldr r3, [sp, #156] @ 0x9c + 8013ac6: 3301 adds r3, #1 + 8013ac8: 2b07 cmp r3, #7 + 8013aca: 9327 str r3, [sp, #156] @ 0x9c + 8013acc: dc33 bgt.n 8013b36 <_vfprintf_r+0x12ce> + 8013ace: 3608 adds r6, #8 + 8013ad0: 9b04 ldr r3, [sp, #16] + 8013ad2: e9dd 010a ldrd r0, r1, [sp, #40] @ 0x28 + 8013ad6: 1e5c subs r4, r3, #1 + 8013ad8: 2200 movs r2, #0 + 8013ada: 2300 movs r3, #0 + 8013adc: e9dd 9727 ldrd r9, r7, [sp, #156] @ 0x9c + 8013ae0: f7ed f802 bl 8000ae8 <__aeabi_dcmpeq> + 8013ae4: 2800 cmp r0, #0 + 8013ae6: d12f bne.n 8013b48 <_vfprintf_r+0x12e0> + 8013ae8: f108 0201 add.w r2, r8, #1 + 8013aec: e9c6 2400 strd r2, r4, [r6] + 8013af0: 9a04 ldr r2, [sp, #16] + 8013af2: f109 0301 add.w r3, r9, #1 + 8013af6: 3f01 subs r7, #1 + 8013af8: 4417 add r7, r2 + 8013afa: 2b07 cmp r3, #7 + 8013afc: e9cd 3727 strd r3, r7, [sp, #156] @ 0x9c + 8013b00: dd56 ble.n 8013bb0 <_vfprintf_r+0x1348> + 8013b02: 9803 ldr r0, [sp, #12] + 8013b04: aa26 add r2, sp, #152 @ 0x98 + 8013b06: 4659 mov r1, fp + 8013b08: f000 f91a bl 8013d40 <__sprint_r> + 8013b0c: 2800 cmp r0, #0 + 8013b0e: d172 bne.n 8013bf6 <_vfprintf_r+0x138e> + 8013b10: ae29 add r6, sp, #164 @ 0xa4 + 8013b12: ab22 add r3, sp, #136 @ 0x88 + 8013b14: 6033 str r3, [r6, #0] + 8013b16: 9b18 ldr r3, [sp, #96] @ 0x60 + 8013b18: 9a18 ldr r2, [sp, #96] @ 0x60 + 8013b1a: 6073 str r3, [r6, #4] + 8013b1c: 9b28 ldr r3, [sp, #160] @ 0xa0 + 8013b1e: 4413 add r3, r2 + 8013b20: 9328 str r3, [sp, #160] @ 0xa0 + 8013b22: 9b27 ldr r3, [sp, #156] @ 0x9c + 8013b24: 3301 adds r3, #1 + 8013b26: 2b07 cmp r3, #7 + 8013b28: 9327 str r3, [sp, #156] @ 0x9c + 8013b2a: f73f ada1 bgt.w 8013670 <_vfprintf_r+0xe08> + 8013b2e: f106 0408 add.w r4, r6, #8 + 8013b32: f7ff baef b.w 8013114 <_vfprintf_r+0x8ac> + 8013b36: 9803 ldr r0, [sp, #12] + 8013b38: aa26 add r2, sp, #152 @ 0x98 + 8013b3a: 4659 mov r1, fp + 8013b3c: f000 f900 bl 8013d40 <__sprint_r> + 8013b40: 2800 cmp r0, #0 + 8013b42: d158 bne.n 8013bf6 <_vfprintf_r+0x138e> + 8013b44: ae29 add r6, sp, #164 @ 0xa4 + 8013b46: e7c3 b.n 8013ad0 <_vfprintf_r+0x1268> + 8013b48: 9b04 ldr r3, [sp, #16] + 8013b4a: 2b01 cmp r3, #1 + 8013b4c: dde1 ble.n 8013b12 <_vfprintf_r+0x12aa> + 8013b4e: 4f0a ldr r7, [pc, #40] @ (8013b78 <_vfprintf_r+0x1310>) + 8013b50: f04f 0810 mov.w r8, #16 + 8013b54: e9dd 3227 ldrd r3, r2, [sp, #156] @ 0x9c + 8013b58: 2c10 cmp r4, #16 + 8013b5a: f103 0301 add.w r3, r3, #1 + 8013b5e: f106 0108 add.w r1, r6, #8 + 8013b62: 6037 str r7, [r6, #0] + 8013b64: dc0a bgt.n 8013b7c <_vfprintf_r+0x1314> + 8013b66: 6074 str r4, [r6, #4] + 8013b68: 2b07 cmp r3, #7 + 8013b6a: 4414 add r4, r2 + 8013b6c: e9cd 3427 strd r3, r4, [sp, #156] @ 0x9c + 8013b70: dcc7 bgt.n 8013b02 <_vfprintf_r+0x129a> + 8013b72: 460e mov r6, r1 + 8013b74: e7cd b.n 8013b12 <_vfprintf_r+0x12aa> + 8013b76: bf00 nop + 8013b78: 0801999f .word 0x0801999f + 8013b7c: 3210 adds r2, #16 + 8013b7e: 2b07 cmp r3, #7 + 8013b80: e9cd 3227 strd r3, r2, [sp, #156] @ 0x9c + 8013b84: f8c6 8004 str.w r8, [r6, #4] + 8013b88: dd06 ble.n 8013b98 <_vfprintf_r+0x1330> + 8013b8a: 9803 ldr r0, [sp, #12] + 8013b8c: aa26 add r2, sp, #152 @ 0x98 + 8013b8e: 4659 mov r1, fp + 8013b90: f000 f8d6 bl 8013d40 <__sprint_r> + 8013b94: bb78 cbnz r0, 8013bf6 <_vfprintf_r+0x138e> + 8013b96: a929 add r1, sp, #164 @ 0xa4 + 8013b98: 3c10 subs r4, #16 + 8013b9a: 460e mov r6, r1 + 8013b9c: e7da b.n 8013b54 <_vfprintf_r+0x12ec> + 8013b9e: 2101 movs r1, #1 + 8013ba0: 2a07 cmp r2, #7 + 8013ba2: e9cd 2327 strd r2, r3, [sp, #156] @ 0x9c + 8013ba6: f8c4 8000 str.w r8, [r4] + 8013baa: 6061 str r1, [r4, #4] + 8013bac: ddb1 ble.n 8013b12 <_vfprintf_r+0x12aa> + 8013bae: e7a8 b.n 8013b02 <_vfprintf_r+0x129a> + 8013bb0: 3608 adds r6, #8 + 8013bb2: e7ae b.n 8013b12 <_vfprintf_r+0x12aa> + 8013bb4: 460c mov r4, r1 + 8013bb6: f7ff baad b.w 8013114 <_vfprintf_r+0x8ac> + 8013bba: 9b0e ldr r3, [sp, #56] @ 0x38 + 8013bbc: 9a11 ldr r2, [sp, #68] @ 0x44 + 8013bbe: 1a9d subs r5, r3, r2 + 8013bc0: 2d00 cmp r5, #0 + 8013bc2: f77f aaaa ble.w 801311a <_vfprintf_r+0x8b2> + 8013bc6: 4e3d ldr r6, [pc, #244] @ (8013cbc <_vfprintf_r+0x1454>) + 8013bc8: 2710 movs r7, #16 + 8013bca: e9dd 3227 ldrd r3, r2, [sp, #156] @ 0x9c + 8013bce: 2d10 cmp r5, #16 + 8013bd0: f103 0301 add.w r3, r3, #1 + 8013bd4: 6026 str r6, [r4, #0] + 8013bd6: dc18 bgt.n 8013c0a <_vfprintf_r+0x13a2> + 8013bd8: 6065 str r5, [r4, #4] + 8013bda: 2b07 cmp r3, #7 + 8013bdc: 4415 add r5, r2 + 8013bde: e9cd 3527 strd r3, r5, [sp, #156] @ 0x9c + 8013be2: f77f aa9a ble.w 801311a <_vfprintf_r+0x8b2> + 8013be6: 9803 ldr r0, [sp, #12] + 8013be8: aa26 add r2, sp, #152 @ 0x98 + 8013bea: 4659 mov r1, fp + 8013bec: f000 f8a8 bl 8013d40 <__sprint_r> + 8013bf0: 2800 cmp r0, #0 + 8013bf2: f43f aa92 beq.w 801311a <_vfprintf_r+0x8b2> + 8013bf6: f1ba 0f00 cmp.w sl, #0 + 8013bfa: f43f a892 beq.w 8012d22 <_vfprintf_r+0x4ba> + 8013bfe: 9803 ldr r0, [sp, #12] + 8013c00: 4651 mov r1, sl + 8013c02: f7fe fb2b bl 801225c <_free_r> + 8013c06: f7ff b88c b.w 8012d22 <_vfprintf_r+0x4ba> + 8013c0a: 3210 adds r2, #16 + 8013c0c: 2b07 cmp r3, #7 + 8013c0e: e9cd 3227 strd r3, r2, [sp, #156] @ 0x9c + 8013c12: 6067 str r7, [r4, #4] + 8013c14: dc02 bgt.n 8013c1c <_vfprintf_r+0x13b4> + 8013c16: 3408 adds r4, #8 + 8013c18: 3d10 subs r5, #16 + 8013c1a: e7d6 b.n 8013bca <_vfprintf_r+0x1362> + 8013c1c: 9803 ldr r0, [sp, #12] + 8013c1e: aa26 add r2, sp, #152 @ 0x98 + 8013c20: 4659 mov r1, fp + 8013c22: f000 f88d bl 8013d40 <__sprint_r> + 8013c26: 2800 cmp r0, #0 + 8013c28: d1e5 bne.n 8013bf6 <_vfprintf_r+0x138e> + 8013c2a: ac29 add r4, sp, #164 @ 0xa4 + 8013c2c: e7f4 b.n 8013c18 <_vfprintf_r+0x13b0> + 8013c2e: 9803 ldr r0, [sp, #12] + 8013c30: 4651 mov r1, sl + 8013c32: f7fe fb13 bl 801225c <_free_r> + 8013c36: f7ff ba88 b.w 801314a <_vfprintf_r+0x8e2> + 8013c3a: 9b28 ldr r3, [sp, #160] @ 0xa0 + 8013c3c: b91b cbnz r3, 8013c46 <_vfprintf_r+0x13de> + 8013c3e: 2300 movs r3, #0 + 8013c40: 9327 str r3, [sp, #156] @ 0x9c + 8013c42: f7ff b86e b.w 8012d22 <_vfprintf_r+0x4ba> + 8013c46: 9803 ldr r0, [sp, #12] + 8013c48: aa26 add r2, sp, #152 @ 0x98 + 8013c4a: 4659 mov r1, fp + 8013c4c: f000 f878 bl 8013d40 <__sprint_r> + 8013c50: 2800 cmp r0, #0 + 8013c52: d0f4 beq.n 8013c3e <_vfprintf_r+0x13d6> + 8013c54: f7ff b865 b.w 8012d22 <_vfprintf_r+0x4ba> + 8013c58: ea56 0207 orrs.w r2, r6, r7 + 8013c5c: 9508 str r5, [sp, #32] + 8013c5e: f43f ab75 beq.w 801334c <_vfprintf_r+0xae4> + 8013c62: 2b01 cmp r3, #1 + 8013c64: f43f abf6 beq.w 8013454 <_vfprintf_r+0xbec> + 8013c68: 2b02 cmp r3, #2 + 8013c6a: f50d 78a4 add.w r8, sp, #328 @ 0x148 + 8013c6e: f43f ac3a beq.w 80134e6 <_vfprintf_r+0xc7e> + 8013c72: f006 0307 and.w r3, r6, #7 + 8013c76: 08f6 lsrs r6, r6, #3 + 8013c78: ea46 7647 orr.w r6, r6, r7, lsl #29 + 8013c7c: 08ff lsrs r7, r7, #3 + 8013c7e: 3330 adds r3, #48 @ 0x30 + 8013c80: ea56 0107 orrs.w r1, r6, r7 + 8013c84: 4642 mov r2, r8 + 8013c86: f808 3d01 strb.w r3, [r8, #-1]! + 8013c8a: d1f2 bne.n 8013c72 <_vfprintf_r+0x140a> + 8013c8c: 9908 ldr r1, [sp, #32] + 8013c8e: 07ce lsls r6, r1, #31 + 8013c90: d506 bpl.n 8013ca0 <_vfprintf_r+0x1438> + 8013c92: 2b30 cmp r3, #48 @ 0x30 + 8013c94: d004 beq.n 8013ca0 <_vfprintf_r+0x1438> + 8013c96: 2330 movs r3, #48 @ 0x30 + 8013c98: f808 3c01 strb.w r3, [r8, #-1] + 8013c9c: f1a2 0802 sub.w r8, r2, #2 + 8013ca0: ab52 add r3, sp, #328 @ 0x148 + 8013ca2: 9d08 ldr r5, [sp, #32] + 8013ca4: f8cd 9040 str.w r9, [sp, #64] @ 0x40 + 8013ca8: f04f 0a00 mov.w sl, #0 + 8013cac: eba3 0908 sub.w r9, r3, r8 + 8013cb0: 4657 mov r7, sl + 8013cb2: f8cd a020 str.w sl, [sp, #32] + 8013cb6: 4656 mov r6, sl + 8013cb8: f7ff b978 b.w 8012fac <_vfprintf_r+0x744> + 8013cbc: 080199af .word 0x080199af -08013d34 <__sbprintf>: - 8013d34: b5f0 push {r4, r5, r6, r7, lr} - 8013d36: 461f mov r7, r3 - 8013d38: 898b ldrh r3, [r1, #12] - 8013d3a: f2ad 4d6c subw sp, sp, #1132 @ 0x46c - 8013d3e: f023 0302 bic.w r3, r3, #2 - 8013d42: f8ad 300c strh.w r3, [sp, #12] - 8013d46: 6e4b ldr r3, [r1, #100] @ 0x64 - 8013d48: 9319 str r3, [sp, #100] @ 0x64 - 8013d4a: 89cb ldrh r3, [r1, #14] - 8013d4c: f8ad 300e strh.w r3, [sp, #14] - 8013d50: 69cb ldr r3, [r1, #28] - 8013d52: 9307 str r3, [sp, #28] - 8013d54: 6a4b ldr r3, [r1, #36] @ 0x24 - 8013d56: 9309 str r3, [sp, #36] @ 0x24 - 8013d58: ab1a add r3, sp, #104 @ 0x68 - 8013d5a: 9300 str r3, [sp, #0] - 8013d5c: 9304 str r3, [sp, #16] - 8013d5e: f44f 6380 mov.w r3, #1024 @ 0x400 - 8013d62: 4615 mov r5, r2 - 8013d64: 4606 mov r6, r0 - 8013d66: 9302 str r3, [sp, #8] - 8013d68: 9305 str r3, [sp, #20] - 8013d6a: a816 add r0, sp, #88 @ 0x58 - 8013d6c: 2300 movs r3, #0 - 8013d6e: 460c mov r4, r1 - 8013d70: 9306 str r3, [sp, #24] - 8013d72: f7fd fd39 bl 80117e8 <__retarget_lock_init_recursive> - 8013d76: 462a mov r2, r5 - 8013d78: 463b mov r3, r7 - 8013d7a: 4669 mov r1, sp - 8013d7c: 4630 mov r0, r6 - 8013d7e: f7ff fb51 bl 8013424 <_vfiprintf_r> - 8013d82: 1e05 subs r5, r0, #0 - 8013d84: db07 blt.n 8013d96 <__sbprintf+0x62> - 8013d86: 4669 mov r1, sp - 8013d88: 4630 mov r0, r6 - 8013d8a: f000 f8f1 bl 8013f70 <_fflush_r> - 8013d8e: 2800 cmp r0, #0 - 8013d90: bf18 it ne - 8013d92: f04f 35ff movne.w r5, #4294967295 - 8013d96: f8bd 300c ldrh.w r3, [sp, #12] - 8013d9a: 9816 ldr r0, [sp, #88] @ 0x58 - 8013d9c: 065b lsls r3, r3, #25 - 8013d9e: bf42 ittt mi - 8013da0: 89a3 ldrhmi r3, [r4, #12] - 8013da2: f043 0340 orrmi.w r3, r3, #64 @ 0x40 - 8013da6: 81a3 strhmi r3, [r4, #12] - 8013da8: f7fd fd1f bl 80117ea <__retarget_lock_close_recursive> - 8013dac: 4628 mov r0, r5 - 8013dae: f20d 4d6c addw sp, sp, #1132 @ 0x46c - 8013db2: bdf0 pop {r4, r5, r6, r7, pc} +08013cc0 <__sbprintf>: + 8013cc0: b5f0 push {r4, r5, r6, r7, lr} + 8013cc2: 461f mov r7, r3 + 8013cc4: 898b ldrh r3, [r1, #12] + 8013cc6: f2ad 4d6c subw sp, sp, #1132 @ 0x46c + 8013cca: f023 0302 bic.w r3, r3, #2 + 8013cce: f8ad 300c strh.w r3, [sp, #12] + 8013cd2: 6e4b ldr r3, [r1, #100] @ 0x64 + 8013cd4: 9319 str r3, [sp, #100] @ 0x64 + 8013cd6: 89cb ldrh r3, [r1, #14] + 8013cd8: f8ad 300e strh.w r3, [sp, #14] + 8013cdc: 69cb ldr r3, [r1, #28] + 8013cde: 9307 str r3, [sp, #28] + 8013ce0: 6a4b ldr r3, [r1, #36] @ 0x24 + 8013ce2: 9309 str r3, [sp, #36] @ 0x24 + 8013ce4: ab1a add r3, sp, #104 @ 0x68 + 8013ce6: 9300 str r3, [sp, #0] + 8013ce8: 9304 str r3, [sp, #16] + 8013cea: f44f 6380 mov.w r3, #1024 @ 0x400 + 8013cee: 4615 mov r5, r2 + 8013cf0: 4606 mov r6, r0 + 8013cf2: 9302 str r3, [sp, #8] + 8013cf4: 9305 str r3, [sp, #20] + 8013cf6: a816 add r0, sp, #88 @ 0x58 + 8013cf8: 2300 movs r3, #0 + 8013cfa: 460c mov r4, r1 + 8013cfc: 9306 str r3, [sp, #24] + 8013cfe: f7fe fa35 bl 801216c <__retarget_lock_init_recursive> + 8013d02: 462a mov r2, r5 + 8013d04: 463b mov r3, r7 + 8013d06: 4669 mov r1, sp + 8013d08: 4630 mov r0, r6 + 8013d0a: f7fe fdad bl 8012868 <_vfprintf_r> + 8013d0e: 1e05 subs r5, r0, #0 + 8013d10: db07 blt.n 8013d22 <__sbprintf+0x62> + 8013d12: 4669 mov r1, sp + 8013d14: 4630 mov r0, r6 + 8013d16: f000 fdeb bl 80148f0 <_fflush_r> + 8013d1a: 2800 cmp r0, #0 + 8013d1c: bf18 it ne + 8013d1e: f04f 35ff movne.w r5, #4294967295 + 8013d22: f8bd 300c ldrh.w r3, [sp, #12] + 8013d26: 9816 ldr r0, [sp, #88] @ 0x58 + 8013d28: 065b lsls r3, r3, #25 + 8013d2a: bf42 ittt mi + 8013d2c: 89a3 ldrhmi r3, [r4, #12] + 8013d2e: f043 0340 orrmi.w r3, r3, #64 @ 0x40 + 8013d32: 81a3 strhmi r3, [r4, #12] + 8013d34: f7fe fa1b bl 801216e <__retarget_lock_close_recursive> + 8013d38: 4628 mov r0, r5 + 8013d3a: f20d 4d6c addw sp, sp, #1132 @ 0x46c + 8013d3e: bdf0 pop {r4, r5, r6, r7, pc} -08013db4 <_fclose_r>: - 8013db4: b570 push {r4, r5, r6, lr} - 8013db6: 4605 mov r5, r0 - 8013db8: 460c mov r4, r1 - 8013dba: b1b1 cbz r1, 8013dea <_fclose_r+0x36> - 8013dbc: b118 cbz r0, 8013dc6 <_fclose_r+0x12> - 8013dbe: 6b43 ldr r3, [r0, #52] @ 0x34 - 8013dc0: b90b cbnz r3, 8013dc6 <_fclose_r+0x12> - 8013dc2: f7fd fbe3 bl 801158c <__sinit> - 8013dc6: 6e63 ldr r3, [r4, #100] @ 0x64 - 8013dc8: 07de lsls r6, r3, #31 - 8013dca: d405 bmi.n 8013dd8 <_fclose_r+0x24> - 8013dcc: 89a3 ldrh r3, [r4, #12] - 8013dce: 0598 lsls r0, r3, #22 - 8013dd0: d402 bmi.n 8013dd8 <_fclose_r+0x24> - 8013dd2: 6da0 ldr r0, [r4, #88] @ 0x58 - 8013dd4: f7fd fd0a bl 80117ec <__retarget_lock_acquire_recursive> - 8013dd8: f9b4 300c ldrsh.w r3, [r4, #12] - 8013ddc: b943 cbnz r3, 8013df0 <_fclose_r+0x3c> - 8013dde: 6e63 ldr r3, [r4, #100] @ 0x64 - 8013de0: 07d9 lsls r1, r3, #31 - 8013de2: d402 bmi.n 8013dea <_fclose_r+0x36> - 8013de4: 6da0 ldr r0, [r4, #88] @ 0x58 - 8013de6: f7fd fd02 bl 80117ee <__retarget_lock_release_recursive> - 8013dea: 2600 movs r6, #0 - 8013dec: 4630 mov r0, r6 - 8013dee: bd70 pop {r4, r5, r6, pc} - 8013df0: 4621 mov r1, r4 - 8013df2: 4628 mov r0, r5 - 8013df4: f000 f834 bl 8013e60 <__sflush_r> - 8013df8: 6ae3 ldr r3, [r4, #44] @ 0x2c - 8013dfa: 4606 mov r6, r0 - 8013dfc: b133 cbz r3, 8013e0c <_fclose_r+0x58> - 8013dfe: 69e1 ldr r1, [r4, #28] - 8013e00: 4628 mov r0, r5 - 8013e02: 4798 blx r3 - 8013e04: 2800 cmp r0, #0 - 8013e06: bfb8 it lt - 8013e08: f04f 36ff movlt.w r6, #4294967295 - 8013e0c: 89a3 ldrh r3, [r4, #12] - 8013e0e: 061a lsls r2, r3, #24 - 8013e10: d503 bpl.n 8013e1a <_fclose_r+0x66> - 8013e12: 6921 ldr r1, [r4, #16] - 8013e14: 4628 mov r0, r5 - 8013e16: f7fd fd5f bl 80118d8 <_free_r> - 8013e1a: 6b21 ldr r1, [r4, #48] @ 0x30 - 8013e1c: b141 cbz r1, 8013e30 <_fclose_r+0x7c> - 8013e1e: f104 0340 add.w r3, r4, #64 @ 0x40 - 8013e22: 4299 cmp r1, r3 - 8013e24: d002 beq.n 8013e2c <_fclose_r+0x78> - 8013e26: 4628 mov r0, r5 - 8013e28: f7fd fd56 bl 80118d8 <_free_r> - 8013e2c: 2300 movs r3, #0 - 8013e2e: 6323 str r3, [r4, #48] @ 0x30 - 8013e30: 6c61 ldr r1, [r4, #68] @ 0x44 - 8013e32: b121 cbz r1, 8013e3e <_fclose_r+0x8a> - 8013e34: 4628 mov r0, r5 - 8013e36: f7fd fd4f bl 80118d8 <_free_r> - 8013e3a: 2300 movs r3, #0 - 8013e3c: 6463 str r3, [r4, #68] @ 0x44 - 8013e3e: f7fd fb99 bl 8011574 <__sfp_lock_acquire> - 8013e42: 2300 movs r3, #0 - 8013e44: 81a3 strh r3, [r4, #12] - 8013e46: 6e63 ldr r3, [r4, #100] @ 0x64 - 8013e48: 07db lsls r3, r3, #31 - 8013e4a: d402 bmi.n 8013e52 <_fclose_r+0x9e> - 8013e4c: 6da0 ldr r0, [r4, #88] @ 0x58 - 8013e4e: f7fd fcce bl 80117ee <__retarget_lock_release_recursive> - 8013e52: 6da0 ldr r0, [r4, #88] @ 0x58 - 8013e54: f7fd fcc9 bl 80117ea <__retarget_lock_close_recursive> - 8013e58: f7fd fb92 bl 8011580 <__sfp_lock_release> - 8013e5c: e7c6 b.n 8013dec <_fclose_r+0x38> +08013d40 <__sprint_r>: + 8013d40: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8013d44: 6893 ldr r3, [r2, #8] + 8013d46: 4680 mov r8, r0 + 8013d48: 460e mov r6, r1 + 8013d4a: 4614 mov r4, r2 + 8013d4c: b343 cbz r3, 8013da0 <__sprint_r+0x60> + 8013d4e: 6e4b ldr r3, [r1, #100] @ 0x64 + 8013d50: 049d lsls r5, r3, #18 + 8013d52: d522 bpl.n 8013d9a <__sprint_r+0x5a> + 8013d54: 6815 ldr r5, [r2, #0] + 8013d56: 68a0 ldr r0, [r4, #8] + 8013d58: 3508 adds r5, #8 + 8013d5a: b928 cbnz r0, 8013d68 <__sprint_r+0x28> + 8013d5c: 2300 movs r3, #0 + 8013d5e: 60a3 str r3, [r4, #8] + 8013d60: 2300 movs r3, #0 + 8013d62: 6063 str r3, [r4, #4] + 8013d64: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8013d68: e955 b702 ldrd fp, r7, [r5, #-8] + 8013d6c: f04f 0900 mov.w r9, #0 + 8013d70: ea4f 0a97 mov.w sl, r7, lsr #2 + 8013d74: 45ca cmp sl, r9 + 8013d76: dc05 bgt.n 8013d84 <__sprint_r+0x44> + 8013d78: 68a3 ldr r3, [r4, #8] + 8013d7a: f027 0703 bic.w r7, r7, #3 + 8013d7e: 1bdb subs r3, r3, r7 + 8013d80: 60a3 str r3, [r4, #8] + 8013d82: e7e8 b.n 8013d56 <__sprint_r+0x16> + 8013d84: f85b 1029 ldr.w r1, [fp, r9, lsl #2] + 8013d88: 4632 mov r2, r6 + 8013d8a: 4640 mov r0, r8 + 8013d8c: f000 ffb9 bl 8014d02 <_fputwc_r> + 8013d90: 1c43 adds r3, r0, #1 + 8013d92: d0e3 beq.n 8013d5c <__sprint_r+0x1c> + 8013d94: f109 0901 add.w r9, r9, #1 + 8013d98: e7ec b.n 8013d74 <__sprint_r+0x34> + 8013d9a: f000 fdcf bl 801493c <__sfvwrite_r> + 8013d9e: e7dd b.n 8013d5c <__sprint_r+0x1c> + 8013da0: 4618 mov r0, r3 + 8013da2: e7dd b.n 8013d60 <__sprint_r+0x20> + +08013da4 <_vfiprintf_r>: + 8013da4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8013da8: b0bb sub sp, #236 @ 0xec + 8013daa: 460f mov r7, r1 + 8013dac: 4693 mov fp, r2 + 8013dae: 461c mov r4, r3 + 8013db0: 461d mov r5, r3 + 8013db2: 9000 str r0, [sp, #0] + 8013db4: b118 cbz r0, 8013dbe <_vfiprintf_r+0x1a> + 8013db6: 6b43 ldr r3, [r0, #52] @ 0x34 + 8013db8: b90b cbnz r3, 8013dbe <_vfiprintf_r+0x1a> + 8013dba: f7fe f8a9 bl 8011f10 <__sinit> + 8013dbe: 6e7b ldr r3, [r7, #100] @ 0x64 + 8013dc0: 07db lsls r3, r3, #31 + 8013dc2: d405 bmi.n 8013dd0 <_vfiprintf_r+0x2c> + 8013dc4: 89bb ldrh r3, [r7, #12] + 8013dc6: 059e lsls r6, r3, #22 + 8013dc8: d402 bmi.n 8013dd0 <_vfiprintf_r+0x2c> + 8013dca: 6db8 ldr r0, [r7, #88] @ 0x58 + 8013dcc: f7fe f9d0 bl 8012170 <__retarget_lock_acquire_recursive> + 8013dd0: f9b7 300c ldrsh.w r3, [r7, #12] + 8013dd4: 0498 lsls r0, r3, #18 + 8013dd6: d406 bmi.n 8013de6 <_vfiprintf_r+0x42> + 8013dd8: f443 5300 orr.w r3, r3, #8192 @ 0x2000 + 8013ddc: 81bb strh r3, [r7, #12] + 8013dde: 6e7b ldr r3, [r7, #100] @ 0x64 + 8013de0: f423 5300 bic.w r3, r3, #8192 @ 0x2000 + 8013de4: 667b str r3, [r7, #100] @ 0x64 + 8013de6: 89bb ldrh r3, [r7, #12] + 8013de8: 0719 lsls r1, r3, #28 + 8013dea: d501 bpl.n 8013df0 <_vfiprintf_r+0x4c> + 8013dec: 693b ldr r3, [r7, #16] + 8013dee: b9ab cbnz r3, 8013e1c <_vfiprintf_r+0x78> + 8013df0: 9800 ldr r0, [sp, #0] + 8013df2: 4639 mov r1, r7 + 8013df4: f000 feee bl 8014bd4 <__swsetup_r> + 8013df8: b180 cbz r0, 8013e1c <_vfiprintf_r+0x78> + 8013dfa: 6e7b ldr r3, [r7, #100] @ 0x64 + 8013dfc: 07da lsls r2, r3, #31 + 8013dfe: d506 bpl.n 8013e0e <_vfiprintf_r+0x6a> + 8013e00: f04f 33ff mov.w r3, #4294967295 + 8013e04: 9303 str r3, [sp, #12] + 8013e06: 9803 ldr r0, [sp, #12] + 8013e08: b03b add sp, #236 @ 0xec + 8013e0a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8013e0e: 89bb ldrh r3, [r7, #12] + 8013e10: 059b lsls r3, r3, #22 + 8013e12: d4f5 bmi.n 8013e00 <_vfiprintf_r+0x5c> + 8013e14: 6db8 ldr r0, [r7, #88] @ 0x58 + 8013e16: f7fe f9ac bl 8012172 <__retarget_lock_release_recursive> + 8013e1a: e7f1 b.n 8013e00 <_vfiprintf_r+0x5c> + 8013e1c: f9b7 300c ldrsh.w r3, [r7, #12] + 8013e20: f003 021a and.w r2, r3, #26 + 8013e24: 2a0a cmp r2, #10 + 8013e26: d114 bne.n 8013e52 <_vfiprintf_r+0xae> + 8013e28: f9b7 200e ldrsh.w r2, [r7, #14] + 8013e2c: 2a00 cmp r2, #0 + 8013e2e: db10 blt.n 8013e52 <_vfiprintf_r+0xae> + 8013e30: 6e7a ldr r2, [r7, #100] @ 0x64 + 8013e32: 07d6 lsls r6, r2, #31 + 8013e34: d404 bmi.n 8013e40 <_vfiprintf_r+0x9c> + 8013e36: 059d lsls r5, r3, #22 + 8013e38: d402 bmi.n 8013e40 <_vfiprintf_r+0x9c> + 8013e3a: 6db8 ldr r0, [r7, #88] @ 0x58 + 8013e3c: f7fe f999 bl 8012172 <__retarget_lock_release_recursive> + 8013e40: 9800 ldr r0, [sp, #0] + 8013e42: 4623 mov r3, r4 + 8013e44: 465a mov r2, fp + 8013e46: 4639 mov r1, r7 + 8013e48: b03b add sp, #236 @ 0xec + 8013e4a: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8013e4e: f000 bc31 b.w 80146b4 <__sbprintf> + 8013e52: 2300 movs r3, #0 + 8013e54: e9cd 330f strd r3, r3, [sp, #60] @ 0x3c + 8013e58: e9cd 3305 strd r3, r3, [sp, #20] + 8013e5c: ae11 add r6, sp, #68 @ 0x44 + 8013e5e: 960e str r6, [sp, #56] @ 0x38 + 8013e60: 9307 str r3, [sp, #28] + 8013e62: 9309 str r3, [sp, #36] @ 0x24 + 8013e64: 9303 str r3, [sp, #12] + 8013e66: 465b mov r3, fp + 8013e68: 461c mov r4, r3 + 8013e6a: f813 2b01 ldrb.w r2, [r3], #1 + 8013e6e: b10a cbz r2, 8013e74 <_vfiprintf_r+0xd0> + 8013e70: 2a25 cmp r2, #37 @ 0x25 + 8013e72: d1f9 bne.n 8013e68 <_vfiprintf_r+0xc4> + 8013e74: ebb4 080b subs.w r8, r4, fp + 8013e78: d00d beq.n 8013e96 <_vfiprintf_r+0xf2> + 8013e7a: 9b10 ldr r3, [sp, #64] @ 0x40 + 8013e7c: 4443 add r3, r8 + 8013e7e: 9310 str r3, [sp, #64] @ 0x40 + 8013e80: 9b0f ldr r3, [sp, #60] @ 0x3c + 8013e82: 3301 adds r3, #1 + 8013e84: 2b07 cmp r3, #7 + 8013e86: e9c6 b800 strd fp, r8, [r6] + 8013e8a: 930f str r3, [sp, #60] @ 0x3c + 8013e8c: dc75 bgt.n 8013f7a <_vfiprintf_r+0x1d6> + 8013e8e: 3608 adds r6, #8 + 8013e90: 9b03 ldr r3, [sp, #12] + 8013e92: 4443 add r3, r8 + 8013e94: 9303 str r3, [sp, #12] + 8013e96: 7823 ldrb r3, [r4, #0] + 8013e98: 2b00 cmp r3, #0 + 8013e9a: f000 83cd beq.w 8014638 <_vfiprintf_r+0x894> + 8013e9e: 2300 movs r3, #0 + 8013ea0: f04f 32ff mov.w r2, #4294967295 + 8013ea4: e9cd 2301 strd r2, r3, [sp, #4] + 8013ea8: 3401 adds r4, #1 + 8013eaa: f88d 3033 strb.w r3, [sp, #51] @ 0x33 + 8013eae: 469a mov sl, r3 + 8013eb0: 46a3 mov fp, r4 + 8013eb2: f81b 3b01 ldrb.w r3, [fp], #1 + 8013eb6: f1a3 0220 sub.w r2, r3, #32 + 8013eba: 2a5a cmp r2, #90 @ 0x5a + 8013ebc: f200 8316 bhi.w 80144ec <_vfiprintf_r+0x748> + 8013ec0: e8df f012 tbh [pc, r2, lsl #1] + 8013ec4: 0314009a .word 0x0314009a + 8013ec8: 00a20314 .word 0x00a20314 + 8013ecc: 03140314 .word 0x03140314 + 8013ed0: 00820314 .word 0x00820314 + 8013ed4: 03140314 .word 0x03140314 + 8013ed8: 00af00a5 .word 0x00af00a5 + 8013edc: 00ac0314 .word 0x00ac0314 + 8013ee0: 031400b1 .word 0x031400b1 + 8013ee4: 00d000cd .word 0x00d000cd + 8013ee8: 00d000d0 .word 0x00d000d0 + 8013eec: 00d000d0 .word 0x00d000d0 + 8013ef0: 00d000d0 .word 0x00d000d0 + 8013ef4: 00d000d0 .word 0x00d000d0 + 8013ef8: 03140314 .word 0x03140314 + 8013efc: 03140314 .word 0x03140314 + 8013f00: 03140314 .word 0x03140314 + 8013f04: 03140314 .word 0x03140314 + 8013f08: 00f70314 .word 0x00f70314 + 8013f0c: 03140104 .word 0x03140104 + 8013f10: 03140314 .word 0x03140314 + 8013f14: 03140314 .word 0x03140314 + 8013f18: 03140314 .word 0x03140314 + 8013f1c: 03140314 .word 0x03140314 + 8013f20: 01520314 .word 0x01520314 + 8013f24: 03140314 .word 0x03140314 + 8013f28: 019a0314 .word 0x019a0314 + 8013f2c: 027a0314 .word 0x027a0314 + 8013f30: 03140314 .word 0x03140314 + 8013f34: 0314029a .word 0x0314029a + 8013f38: 03140314 .word 0x03140314 + 8013f3c: 03140314 .word 0x03140314 + 8013f40: 03140314 .word 0x03140314 + 8013f44: 03140314 .word 0x03140314 + 8013f48: 00f70314 .word 0x00f70314 + 8013f4c: 03140106 .word 0x03140106 + 8013f50: 03140314 .word 0x03140314 + 8013f54: 010600e0 .word 0x010600e0 + 8013f58: 031400f1 .word 0x031400f1 + 8013f5c: 031400eb .word 0x031400eb + 8013f60: 01540132 .word 0x01540132 + 8013f64: 00f10189 .word 0x00f10189 + 8013f68: 019a0314 .word 0x019a0314 + 8013f6c: 027c0098 .word 0x027c0098 + 8013f70: 03140314 .word 0x03140314 + 8013f74: 03140065 .word 0x03140065 + 8013f78: 0098 .short 0x0098 + 8013f7a: 9800 ldr r0, [sp, #0] + 8013f7c: aa0e add r2, sp, #56 @ 0x38 + 8013f7e: 4639 mov r1, r7 + 8013f80: f7ff fede bl 8013d40 <__sprint_r> + 8013f84: 2800 cmp r0, #0 + 8013f86: f040 8336 bne.w 80145f6 <_vfiprintf_r+0x852> + 8013f8a: ae11 add r6, sp, #68 @ 0x44 + 8013f8c: e780 b.n 8013e90 <_vfiprintf_r+0xec> + 8013f8e: 4a99 ldr r2, [pc, #612] @ (80141f4 <_vfiprintf_r+0x450>) + 8013f90: 9205 str r2, [sp, #20] + 8013f92: f01a 0220 ands.w r2, sl, #32 + 8013f96: f000 8231 beq.w 80143fc <_vfiprintf_r+0x658> + 8013f9a: 3507 adds r5, #7 + 8013f9c: f025 0507 bic.w r5, r5, #7 + 8013fa0: 46a8 mov r8, r5 + 8013fa2: 686d ldr r5, [r5, #4] + 8013fa4: f858 4b08 ldr.w r4, [r8], #8 + 8013fa8: f01a 0f01 tst.w sl, #1 + 8013fac: d009 beq.n 8013fc2 <_vfiprintf_r+0x21e> + 8013fae: ea54 0205 orrs.w r2, r4, r5 + 8013fb2: bf1f itttt ne + 8013fb4: 2230 movne r2, #48 @ 0x30 + 8013fb6: f88d 2034 strbne.w r2, [sp, #52] @ 0x34 + 8013fba: f88d 3035 strbne.w r3, [sp, #53] @ 0x35 + 8013fbe: f04a 0a02 orrne.w sl, sl, #2 + 8013fc2: f42a 6a80 bic.w sl, sl, #1024 @ 0x400 + 8013fc6: e112 b.n 80141ee <_vfiprintf_r+0x44a> + 8013fc8: 9800 ldr r0, [sp, #0] + 8013fca: f000 fedd bl 8014d88 <_localeconv_r> + 8013fce: 6843 ldr r3, [r0, #4] + 8013fd0: 9309 str r3, [sp, #36] @ 0x24 + 8013fd2: 4618 mov r0, r3 + 8013fd4: f7ec f90c bl 80001f0 + 8013fd8: 9007 str r0, [sp, #28] + 8013fda: 9800 ldr r0, [sp, #0] + 8013fdc: f000 fed4 bl 8014d88 <_localeconv_r> + 8013fe0: 6883 ldr r3, [r0, #8] + 8013fe2: 9306 str r3, [sp, #24] + 8013fe4: 9b07 ldr r3, [sp, #28] + 8013fe6: b12b cbz r3, 8013ff4 <_vfiprintf_r+0x250> + 8013fe8: 9b06 ldr r3, [sp, #24] + 8013fea: b11b cbz r3, 8013ff4 <_vfiprintf_r+0x250> + 8013fec: 781b ldrb r3, [r3, #0] + 8013fee: b10b cbz r3, 8013ff4 <_vfiprintf_r+0x250> + 8013ff0: f44a 6a80 orr.w sl, sl, #1024 @ 0x400 + 8013ff4: 465c mov r4, fp + 8013ff6: e75b b.n 8013eb0 <_vfiprintf_r+0x10c> + 8013ff8: f89d 3033 ldrb.w r3, [sp, #51] @ 0x33 + 8013ffc: 2b00 cmp r3, #0 + 8013ffe: d1f9 bne.n 8013ff4 <_vfiprintf_r+0x250> + 8014000: 2320 movs r3, #32 + 8014002: f88d 3033 strb.w r3, [sp, #51] @ 0x33 + 8014006: e7f5 b.n 8013ff4 <_vfiprintf_r+0x250> + 8014008: f04a 0a01 orr.w sl, sl, #1 + 801400c: e7f2 b.n 8013ff4 <_vfiprintf_r+0x250> + 801400e: f855 3b04 ldr.w r3, [r5], #4 + 8014012: 9302 str r3, [sp, #8] + 8014014: 2b00 cmp r3, #0 + 8014016: daed bge.n 8013ff4 <_vfiprintf_r+0x250> + 8014018: 425b negs r3, r3 + 801401a: 9302 str r3, [sp, #8] + 801401c: f04a 0a04 orr.w sl, sl, #4 + 8014020: e7e8 b.n 8013ff4 <_vfiprintf_r+0x250> + 8014022: 232b movs r3, #43 @ 0x2b + 8014024: e7ed b.n 8014002 <_vfiprintf_r+0x25e> + 8014026: 465a mov r2, fp + 8014028: f812 3b01 ldrb.w r3, [r2], #1 + 801402c: 2b2a cmp r3, #42 @ 0x2a + 801402e: d112 bne.n 8014056 <_vfiprintf_r+0x2b2> + 8014030: f855 3b04 ldr.w r3, [r5], #4 + 8014034: ea43 73e3 orr.w r3, r3, r3, asr #31 + 8014038: 9301 str r3, [sp, #4] + 801403a: 4693 mov fp, r2 + 801403c: e7da b.n 8013ff4 <_vfiprintf_r+0x250> + 801403e: 9b01 ldr r3, [sp, #4] + 8014040: fb00 1303 mla r3, r0, r3, r1 + 8014044: 9301 str r3, [sp, #4] + 8014046: f812 3b01 ldrb.w r3, [r2], #1 + 801404a: f1a3 0130 sub.w r1, r3, #48 @ 0x30 + 801404e: 2909 cmp r1, #9 + 8014050: d9f5 bls.n 801403e <_vfiprintf_r+0x29a> + 8014052: 4693 mov fp, r2 + 8014054: e72f b.n 8013eb6 <_vfiprintf_r+0x112> + 8014056: 2100 movs r1, #0 + 8014058: 9101 str r1, [sp, #4] + 801405a: 200a movs r0, #10 + 801405c: e7f5 b.n 801404a <_vfiprintf_r+0x2a6> + 801405e: f04a 0a80 orr.w sl, sl, #128 @ 0x80 + 8014062: e7c7 b.n 8013ff4 <_vfiprintf_r+0x250> + 8014064: 2100 movs r1, #0 + 8014066: 465a mov r2, fp + 8014068: 9102 str r1, [sp, #8] + 801406a: 200a movs r0, #10 + 801406c: 9902 ldr r1, [sp, #8] + 801406e: 3b30 subs r3, #48 @ 0x30 + 8014070: fb00 3301 mla r3, r0, r1, r3 + 8014074: 9302 str r3, [sp, #8] + 8014076: f812 3b01 ldrb.w r3, [r2], #1 + 801407a: f1a3 0130 sub.w r1, r3, #48 @ 0x30 + 801407e: 2909 cmp r1, #9 + 8014080: d9f4 bls.n 801406c <_vfiprintf_r+0x2c8> + 8014082: e7e6 b.n 8014052 <_vfiprintf_r+0x2ae> + 8014084: f89b 3000 ldrb.w r3, [fp] + 8014088: 2b68 cmp r3, #104 @ 0x68 + 801408a: bf06 itte eq + 801408c: f10b 0b01 addeq.w fp, fp, #1 + 8014090: f44a 7a00 orreq.w sl, sl, #512 @ 0x200 + 8014094: f04a 0a40 orrne.w sl, sl, #64 @ 0x40 + 8014098: e7ac b.n 8013ff4 <_vfiprintf_r+0x250> + 801409a: f89b 3000 ldrb.w r3, [fp] + 801409e: 2b6c cmp r3, #108 @ 0x6c + 80140a0: d104 bne.n 80140ac <_vfiprintf_r+0x308> + 80140a2: f10b 0b01 add.w fp, fp, #1 + 80140a6: f04a 0a20 orr.w sl, sl, #32 + 80140aa: e7a3 b.n 8013ff4 <_vfiprintf_r+0x250> + 80140ac: f04a 0a10 orr.w sl, sl, #16 + 80140b0: e7a0 b.n 8013ff4 <_vfiprintf_r+0x250> + 80140b2: 46a8 mov r8, r5 + 80140b4: 2400 movs r4, #0 + 80140b6: f858 3b04 ldr.w r3, [r8], #4 + 80140ba: f88d 3084 strb.w r3, [sp, #132] @ 0x84 + 80140be: f88d 4033 strb.w r4, [sp, #51] @ 0x33 + 80140c2: 2301 movs r3, #1 + 80140c4: 9301 str r3, [sp, #4] + 80140c6: f10d 0984 add.w r9, sp, #132 @ 0x84 + 80140ca: e0ab b.n 8014224 <_vfiprintf_r+0x480> + 80140cc: f04a 0a10 orr.w sl, sl, #16 + 80140d0: f01a 0f20 tst.w sl, #32 + 80140d4: d011 beq.n 80140fa <_vfiprintf_r+0x356> + 80140d6: 3507 adds r5, #7 + 80140d8: f025 0507 bic.w r5, r5, #7 + 80140dc: 46a8 mov r8, r5 + 80140de: 686d ldr r5, [r5, #4] + 80140e0: f858 4b08 ldr.w r4, [r8], #8 + 80140e4: 2d00 cmp r5, #0 + 80140e6: da06 bge.n 80140f6 <_vfiprintf_r+0x352> + 80140e8: 4264 negs r4, r4 + 80140ea: f04f 032d mov.w r3, #45 @ 0x2d + 80140ee: eb65 0545 sbc.w r5, r5, r5, lsl #1 + 80140f2: f88d 3033 strb.w r3, [sp, #51] @ 0x33 + 80140f6: 2301 movs r3, #1 + 80140f8: e048 b.n 801418c <_vfiprintf_r+0x3e8> + 80140fa: 46a8 mov r8, r5 + 80140fc: f01a 0f10 tst.w sl, #16 + 8014100: f858 5b04 ldr.w r5, [r8], #4 + 8014104: d002 beq.n 801410c <_vfiprintf_r+0x368> + 8014106: 462c mov r4, r5 + 8014108: 17ed asrs r5, r5, #31 + 801410a: e7eb b.n 80140e4 <_vfiprintf_r+0x340> + 801410c: f01a 0f40 tst.w sl, #64 @ 0x40 + 8014110: d003 beq.n 801411a <_vfiprintf_r+0x376> + 8014112: b22c sxth r4, r5 + 8014114: f345 35c0 sbfx r5, r5, #15, #1 + 8014118: e7e4 b.n 80140e4 <_vfiprintf_r+0x340> + 801411a: f41a 7f00 tst.w sl, #512 @ 0x200 + 801411e: d0f2 beq.n 8014106 <_vfiprintf_r+0x362> + 8014120: b26c sxtb r4, r5 + 8014122: f345 15c0 sbfx r5, r5, #7, #1 + 8014126: e7dd b.n 80140e4 <_vfiprintf_r+0x340> + 8014128: f01a 0f20 tst.w sl, #32 + 801412c: d007 beq.n 801413e <_vfiprintf_r+0x39a> + 801412e: 9a03 ldr r2, [sp, #12] + 8014130: 682b ldr r3, [r5, #0] + 8014132: 9903 ldr r1, [sp, #12] + 8014134: 17d2 asrs r2, r2, #31 + 8014136: e9c3 1200 strd r1, r2, [r3] + 801413a: 3504 adds r5, #4 + 801413c: e693 b.n 8013e66 <_vfiprintf_r+0xc2> + 801413e: f01a 0f10 tst.w sl, #16 + 8014142: d003 beq.n 801414c <_vfiprintf_r+0x3a8> + 8014144: 682b ldr r3, [r5, #0] + 8014146: 9a03 ldr r2, [sp, #12] + 8014148: 601a str r2, [r3, #0] + 801414a: e7f6 b.n 801413a <_vfiprintf_r+0x396> + 801414c: f01a 0f40 tst.w sl, #64 @ 0x40 + 8014150: d003 beq.n 801415a <_vfiprintf_r+0x3b6> + 8014152: 682b ldr r3, [r5, #0] + 8014154: 9a03 ldr r2, [sp, #12] + 8014156: 801a strh r2, [r3, #0] + 8014158: e7ef b.n 801413a <_vfiprintf_r+0x396> + 801415a: f41a 7f00 tst.w sl, #512 @ 0x200 + 801415e: d0f1 beq.n 8014144 <_vfiprintf_r+0x3a0> + 8014160: 682b ldr r3, [r5, #0] + 8014162: 9a03 ldr r2, [sp, #12] + 8014164: 701a strb r2, [r3, #0] + 8014166: e7e8 b.n 801413a <_vfiprintf_r+0x396> + 8014168: f04a 0a10 orr.w sl, sl, #16 + 801416c: f01a 0320 ands.w r3, sl, #32 + 8014170: d01f beq.n 80141b2 <_vfiprintf_r+0x40e> + 8014172: 3507 adds r5, #7 + 8014174: f025 0507 bic.w r5, r5, #7 + 8014178: 46a8 mov r8, r5 + 801417a: 686d ldr r5, [r5, #4] + 801417c: f858 4b08 ldr.w r4, [r8], #8 + 8014180: f42a 6a80 bic.w sl, sl, #1024 @ 0x400 + 8014184: 2300 movs r3, #0 + 8014186: 2200 movs r2, #0 + 8014188: f88d 2033 strb.w r2, [sp, #51] @ 0x33 + 801418c: 9a01 ldr r2, [sp, #4] + 801418e: 3201 adds r2, #1 + 8014190: f000 825f beq.w 8014652 <_vfiprintf_r+0x8ae> + 8014194: f02a 0280 bic.w r2, sl, #128 @ 0x80 + 8014198: 9204 str r2, [sp, #16] + 801419a: ea54 0205 orrs.w r2, r4, r5 + 801419e: f040 825e bne.w 801465e <_vfiprintf_r+0x8ba> + 80141a2: 9a01 ldr r2, [sp, #4] + 80141a4: 2a00 cmp r2, #0 + 80141a6: f000 8198 beq.w 80144da <_vfiprintf_r+0x736> + 80141aa: 2b01 cmp r3, #1 + 80141ac: f040 825a bne.w 8014664 <_vfiprintf_r+0x8c0> + 80141b0: e13b b.n 801442a <_vfiprintf_r+0x686> + 80141b2: 46a8 mov r8, r5 + 80141b4: f01a 0510 ands.w r5, sl, #16 + 80141b8: f858 4b04 ldr.w r4, [r8], #4 + 80141bc: d001 beq.n 80141c2 <_vfiprintf_r+0x41e> + 80141be: 461d mov r5, r3 + 80141c0: e7de b.n 8014180 <_vfiprintf_r+0x3dc> + 80141c2: f01a 0340 ands.w r3, sl, #64 @ 0x40 + 80141c6: d001 beq.n 80141cc <_vfiprintf_r+0x428> + 80141c8: b2a4 uxth r4, r4 + 80141ca: e7d9 b.n 8014180 <_vfiprintf_r+0x3dc> + 80141cc: f41a 7500 ands.w r5, sl, #512 @ 0x200 + 80141d0: d0d6 beq.n 8014180 <_vfiprintf_r+0x3dc> + 80141d2: b2e4 uxtb r4, r4 + 80141d4: e7f3 b.n 80141be <_vfiprintf_r+0x41a> + 80141d6: 46a8 mov r8, r5 + 80141d8: f647 0330 movw r3, #30768 @ 0x7830 + 80141dc: f8ad 3034 strh.w r3, [sp, #52] @ 0x34 + 80141e0: f858 4b04 ldr.w r4, [r8], #4 + 80141e4: 4b03 ldr r3, [pc, #12] @ (80141f4 <_vfiprintf_r+0x450>) + 80141e6: 9305 str r3, [sp, #20] + 80141e8: 2500 movs r5, #0 + 80141ea: f04a 0a02 orr.w sl, sl, #2 + 80141ee: 2302 movs r3, #2 + 80141f0: e7c9 b.n 8014186 <_vfiprintf_r+0x3e2> + 80141f2: bf00 nop + 80141f4: 0801997b .word 0x0801997b + 80141f8: 9b01 ldr r3, [sp, #4] + 80141fa: 46a8 mov r8, r5 + 80141fc: 1c5c adds r4, r3, #1 + 80141fe: f04f 0500 mov.w r5, #0 + 8014202: f858 9b04 ldr.w r9, [r8], #4 + 8014206: f88d 5033 strb.w r5, [sp, #51] @ 0x33 + 801420a: f000 80d0 beq.w 80143ae <_vfiprintf_r+0x60a> + 801420e: 461a mov r2, r3 + 8014210: 4629 mov r1, r5 + 8014212: 4648 mov r0, r9 + 8014214: f7eb fff4 bl 8000200 + 8014218: 4604 mov r4, r0 + 801421a: b118 cbz r0, 8014224 <_vfiprintf_r+0x480> + 801421c: eba0 0309 sub.w r3, r0, r9 + 8014220: 9301 str r3, [sp, #4] + 8014222: 462c mov r4, r5 + 8014224: 9b01 ldr r3, [sp, #4] + 8014226: 42a3 cmp r3, r4 + 8014228: bfb8 it lt + 801422a: 4623 movlt r3, r4 + 801422c: 9304 str r3, [sp, #16] + 801422e: f89d 3033 ldrb.w r3, [sp, #51] @ 0x33 + 8014232: b113 cbz r3, 801423a <_vfiprintf_r+0x496> + 8014234: 9b04 ldr r3, [sp, #16] + 8014236: 3301 adds r3, #1 + 8014238: 9304 str r3, [sp, #16] + 801423a: f01a 0302 ands.w r3, sl, #2 + 801423e: 9308 str r3, [sp, #32] + 8014240: bf1e ittt ne + 8014242: 9b04 ldrne r3, [sp, #16] + 8014244: 3302 addne r3, #2 + 8014246: 9304 strne r3, [sp, #16] + 8014248: f01a 0384 ands.w r3, sl, #132 @ 0x84 + 801424c: 930a str r3, [sp, #40] @ 0x28 + 801424e: d11f bne.n 8014290 <_vfiprintf_r+0x4ec> + 8014250: 9b02 ldr r3, [sp, #8] + 8014252: 9a04 ldr r2, [sp, #16] + 8014254: 1a9d subs r5, r3, r2 + 8014256: 2d00 cmp r5, #0 + 8014258: dd1a ble.n 8014290 <_vfiprintf_r+0x4ec> + 801425a: 4ba9 ldr r3, [pc, #676] @ (8014500 <_vfiprintf_r+0x75c>) + 801425c: 6033 str r3, [r6, #0] + 801425e: e9dd 2c0f ldrd r2, ip, [sp, #60] @ 0x3c + 8014262: 2d10 cmp r5, #16 + 8014264: f102 0201 add.w r2, r2, #1 + 8014268: f106 0008 add.w r0, r6, #8 + 801426c: f300 814e bgt.w 801450c <_vfiprintf_r+0x768> + 8014270: 6075 str r5, [r6, #4] + 8014272: 2a07 cmp r2, #7 + 8014274: 4465 add r5, ip + 8014276: e9cd 250f strd r2, r5, [sp, #60] @ 0x3c + 801427a: f340 815a ble.w 8014532 <_vfiprintf_r+0x78e> + 801427e: 9800 ldr r0, [sp, #0] + 8014280: aa0e add r2, sp, #56 @ 0x38 + 8014282: 4639 mov r1, r7 + 8014284: f7ff fd5c bl 8013d40 <__sprint_r> + 8014288: 2800 cmp r0, #0 + 801428a: f040 81b4 bne.w 80145f6 <_vfiprintf_r+0x852> + 801428e: ae11 add r6, sp, #68 @ 0x44 + 8014290: f89d 1033 ldrb.w r1, [sp, #51] @ 0x33 + 8014294: e9dd 320f ldrd r3, r2, [sp, #60] @ 0x3c + 8014298: b161 cbz r1, 80142b4 <_vfiprintf_r+0x510> + 801429a: f10d 0133 add.w r1, sp, #51 @ 0x33 + 801429e: 3301 adds r3, #1 + 80142a0: 6031 str r1, [r6, #0] + 80142a2: 2101 movs r1, #1 + 80142a4: 440a add r2, r1 + 80142a6: 2b07 cmp r3, #7 + 80142a8: e9cd 320f strd r3, r2, [sp, #60] @ 0x3c + 80142ac: 6071 str r1, [r6, #4] + 80142ae: f300 8142 bgt.w 8014536 <_vfiprintf_r+0x792> + 80142b2: 3608 adds r6, #8 + 80142b4: 9908 ldr r1, [sp, #32] + 80142b6: e9dd 320f ldrd r3, r2, [sp, #60] @ 0x3c + 80142ba: b159 cbz r1, 80142d4 <_vfiprintf_r+0x530> + 80142bc: a90d add r1, sp, #52 @ 0x34 + 80142be: 3301 adds r3, #1 + 80142c0: 6031 str r1, [r6, #0] + 80142c2: 2102 movs r1, #2 + 80142c4: 440a add r2, r1 + 80142c6: 2b07 cmp r3, #7 + 80142c8: e9cd 320f strd r3, r2, [sp, #60] @ 0x3c + 80142cc: 6071 str r1, [r6, #4] + 80142ce: f300 813b bgt.w 8014548 <_vfiprintf_r+0x7a4> + 80142d2: 3608 adds r6, #8 + 80142d4: 9b0a ldr r3, [sp, #40] @ 0x28 + 80142d6: 2b80 cmp r3, #128 @ 0x80 + 80142d8: d11f bne.n 801431a <_vfiprintf_r+0x576> + 80142da: 9b02 ldr r3, [sp, #8] + 80142dc: 9a04 ldr r2, [sp, #16] + 80142de: 1a9d subs r5, r3, r2 + 80142e0: 2d00 cmp r5, #0 + 80142e2: dd1a ble.n 801431a <_vfiprintf_r+0x576> + 80142e4: 4b87 ldr r3, [pc, #540] @ (8014504 <_vfiprintf_r+0x760>) + 80142e6: 6033 str r3, [r6, #0] + 80142e8: e9dd 2c0f ldrd r2, ip, [sp, #60] @ 0x3c + 80142ec: 2d10 cmp r5, #16 + 80142ee: f102 0201 add.w r2, r2, #1 + 80142f2: f106 0008 add.w r0, r6, #8 + 80142f6: f300 8130 bgt.w 801455a <_vfiprintf_r+0x7b6> + 80142fa: 6075 str r5, [r6, #4] + 80142fc: 2a07 cmp r2, #7 + 80142fe: 4465 add r5, ip + 8014300: e9cd 250f strd r2, r5, [sp, #60] @ 0x3c + 8014304: f340 813c ble.w 8014580 <_vfiprintf_r+0x7dc> + 8014308: 9800 ldr r0, [sp, #0] + 801430a: aa0e add r2, sp, #56 @ 0x38 + 801430c: 4639 mov r1, r7 + 801430e: f7ff fd17 bl 8013d40 <__sprint_r> + 8014312: 2800 cmp r0, #0 + 8014314: f040 816f bne.w 80145f6 <_vfiprintf_r+0x852> + 8014318: ae11 add r6, sp, #68 @ 0x44 + 801431a: 9b01 ldr r3, [sp, #4] + 801431c: 1ae4 subs r4, r4, r3 + 801431e: 2c00 cmp r4, #0 + 8014320: dd1a ble.n 8014358 <_vfiprintf_r+0x5b4> + 8014322: e9dd 320f ldrd r3, r2, [sp, #60] @ 0x3c + 8014326: 4877 ldr r0, [pc, #476] @ (8014504 <_vfiprintf_r+0x760>) + 8014328: 6030 str r0, [r6, #0] + 801432a: 2c10 cmp r4, #16 + 801432c: f103 0301 add.w r3, r3, #1 + 8014330: f106 0108 add.w r1, r6, #8 + 8014334: f300 8126 bgt.w 8014584 <_vfiprintf_r+0x7e0> + 8014338: 6074 str r4, [r6, #4] + 801433a: 2b07 cmp r3, #7 + 801433c: 4414 add r4, r2 + 801433e: e9cd 340f strd r3, r4, [sp, #60] @ 0x3c + 8014342: f340 8130 ble.w 80145a6 <_vfiprintf_r+0x802> + 8014346: 9800 ldr r0, [sp, #0] + 8014348: aa0e add r2, sp, #56 @ 0x38 + 801434a: 4639 mov r1, r7 + 801434c: f7ff fcf8 bl 8013d40 <__sprint_r> + 8014350: 2800 cmp r0, #0 + 8014352: f040 8150 bne.w 80145f6 <_vfiprintf_r+0x852> + 8014356: ae11 add r6, sp, #68 @ 0x44 + 8014358: 9b01 ldr r3, [sp, #4] + 801435a: 9a01 ldr r2, [sp, #4] + 801435c: 6073 str r3, [r6, #4] + 801435e: 9b10 ldr r3, [sp, #64] @ 0x40 + 8014360: f8c6 9000 str.w r9, [r6] + 8014364: 4413 add r3, r2 + 8014366: 9310 str r3, [sp, #64] @ 0x40 + 8014368: 9b0f ldr r3, [sp, #60] @ 0x3c + 801436a: 3301 adds r3, #1 + 801436c: 2b07 cmp r3, #7 + 801436e: 930f str r3, [sp, #60] @ 0x3c + 8014370: f300 811b bgt.w 80145aa <_vfiprintf_r+0x806> + 8014374: f106 0308 add.w r3, r6, #8 + 8014378: f01a 0f04 tst.w sl, #4 + 801437c: f040 811d bne.w 80145ba <_vfiprintf_r+0x816> + 8014380: e9dd 2302 ldrd r2, r3, [sp, #8] + 8014384: 9904 ldr r1, [sp, #16] + 8014386: 428a cmp r2, r1 + 8014388: bfac ite ge + 801438a: 189b addge r3, r3, r2 + 801438c: 185b addlt r3, r3, r1 + 801438e: 9303 str r3, [sp, #12] + 8014390: 9b10 ldr r3, [sp, #64] @ 0x40 + 8014392: b13b cbz r3, 80143a4 <_vfiprintf_r+0x600> + 8014394: 9800 ldr r0, [sp, #0] + 8014396: aa0e add r2, sp, #56 @ 0x38 + 8014398: 4639 mov r1, r7 + 801439a: f7ff fcd1 bl 8013d40 <__sprint_r> + 801439e: 2800 cmp r0, #0 + 80143a0: f040 8129 bne.w 80145f6 <_vfiprintf_r+0x852> + 80143a4: 2300 movs r3, #0 + 80143a6: 930f str r3, [sp, #60] @ 0x3c + 80143a8: 4645 mov r5, r8 + 80143aa: ae11 add r6, sp, #68 @ 0x44 + 80143ac: e55b b.n 8013e66 <_vfiprintf_r+0xc2> + 80143ae: 4648 mov r0, r9 + 80143b0: f7eb ff1e bl 80001f0 + 80143b4: 9001 str r0, [sp, #4] + 80143b6: e734 b.n 8014222 <_vfiprintf_r+0x47e> + 80143b8: f04a 0a10 orr.w sl, sl, #16 + 80143bc: f01a 0320 ands.w r3, sl, #32 + 80143c0: d008 beq.n 80143d4 <_vfiprintf_r+0x630> + 80143c2: 3507 adds r5, #7 + 80143c4: f025 0507 bic.w r5, r5, #7 + 80143c8: 46a8 mov r8, r5 + 80143ca: 686d ldr r5, [r5, #4] + 80143cc: f858 4b08 ldr.w r4, [r8], #8 + 80143d0: 2301 movs r3, #1 + 80143d2: e6d8 b.n 8014186 <_vfiprintf_r+0x3e2> + 80143d4: 46a8 mov r8, r5 + 80143d6: f01a 0510 ands.w r5, sl, #16 + 80143da: f858 4b04 ldr.w r4, [r8], #4 + 80143de: d001 beq.n 80143e4 <_vfiprintf_r+0x640> + 80143e0: 461d mov r5, r3 + 80143e2: e7f5 b.n 80143d0 <_vfiprintf_r+0x62c> + 80143e4: f01a 0340 ands.w r3, sl, #64 @ 0x40 + 80143e8: d001 beq.n 80143ee <_vfiprintf_r+0x64a> + 80143ea: b2a4 uxth r4, r4 + 80143ec: e7f0 b.n 80143d0 <_vfiprintf_r+0x62c> + 80143ee: f41a 7500 ands.w r5, sl, #512 @ 0x200 + 80143f2: d0ed beq.n 80143d0 <_vfiprintf_r+0x62c> + 80143f4: b2e4 uxtb r4, r4 + 80143f6: e7f3 b.n 80143e0 <_vfiprintf_r+0x63c> + 80143f8: 4a43 ldr r2, [pc, #268] @ (8014508 <_vfiprintf_r+0x764>) + 80143fa: e5c9 b.n 8013f90 <_vfiprintf_r+0x1ec> + 80143fc: 46a8 mov r8, r5 + 80143fe: f01a 0510 ands.w r5, sl, #16 + 8014402: f858 4b04 ldr.w r4, [r8], #4 + 8014406: d001 beq.n 801440c <_vfiprintf_r+0x668> + 8014408: 4615 mov r5, r2 + 801440a: e5cd b.n 8013fa8 <_vfiprintf_r+0x204> + 801440c: f01a 0240 ands.w r2, sl, #64 @ 0x40 + 8014410: d001 beq.n 8014416 <_vfiprintf_r+0x672> + 8014412: b2a4 uxth r4, r4 + 8014414: e5c8 b.n 8013fa8 <_vfiprintf_r+0x204> + 8014416: f41a 7500 ands.w r5, sl, #512 @ 0x200 + 801441a: f43f adc5 beq.w 8013fa8 <_vfiprintf_r+0x204> + 801441e: b2e4 uxtb r4, r4 + 8014420: e7f2 b.n 8014408 <_vfiprintf_r+0x664> + 8014422: 2c0a cmp r4, #10 + 8014424: f175 0300 sbcs.w r3, r5, #0 + 8014428: d206 bcs.n 8014438 <_vfiprintf_r+0x694> + 801442a: 3430 adds r4, #48 @ 0x30 + 801442c: b2e4 uxtb r4, r4 + 801442e: f88d 40e7 strb.w r4, [sp, #231] @ 0xe7 + 8014432: f10d 09e7 add.w r9, sp, #231 @ 0xe7 + 8014436: e131 b.n 801469c <_vfiprintf_r+0x8f8> + 8014438: ab3a add r3, sp, #232 @ 0xe8 + 801443a: 9308 str r3, [sp, #32] + 801443c: 9b04 ldr r3, [sp, #16] + 801443e: f403 6380 and.w r3, r3, #1024 @ 0x400 + 8014442: f04f 0a00 mov.w sl, #0 + 8014446: 930a str r3, [sp, #40] @ 0x28 + 8014448: 220a movs r2, #10 + 801444a: 2300 movs r3, #0 + 801444c: 4620 mov r0, r4 + 801444e: 4629 mov r1, r5 + 8014450: f7ec fbba bl 8000bc8 <__aeabi_uldivmod> + 8014454: 460b mov r3, r1 + 8014456: 9908 ldr r1, [sp, #32] + 8014458: 900b str r0, [sp, #44] @ 0x2c + 801445a: 3230 adds r2, #48 @ 0x30 + 801445c: f801 2c01 strb.w r2, [r1, #-1] + 8014460: 9a0a ldr r2, [sp, #40] @ 0x28 + 8014462: f101 39ff add.w r9, r1, #4294967295 + 8014466: f10a 0a01 add.w sl, sl, #1 + 801446a: b1e2 cbz r2, 80144a6 <_vfiprintf_r+0x702> + 801446c: 9a06 ldr r2, [sp, #24] + 801446e: 7812 ldrb r2, [r2, #0] + 8014470: 4552 cmp r2, sl + 8014472: d118 bne.n 80144a6 <_vfiprintf_r+0x702> + 8014474: f1ba 0fff cmp.w sl, #255 @ 0xff + 8014478: d015 beq.n 80144a6 <_vfiprintf_r+0x702> + 801447a: 2c0a cmp r4, #10 + 801447c: f175 0200 sbcs.w r2, r5, #0 + 8014480: d311 bcc.n 80144a6 <_vfiprintf_r+0x702> + 8014482: 9308 str r3, [sp, #32] + 8014484: 9b07 ldr r3, [sp, #28] + 8014486: 9909 ldr r1, [sp, #36] @ 0x24 + 8014488: eba9 0903 sub.w r9, r9, r3 + 801448c: 461a mov r2, r3 + 801448e: 4648 mov r0, r9 + 8014490: f000 fc60 bl 8014d54 + 8014494: 9b06 ldr r3, [sp, #24] + 8014496: 785a ldrb r2, [r3, #1] + 8014498: 9b08 ldr r3, [sp, #32] + 801449a: b172 cbz r2, 80144ba <_vfiprintf_r+0x716> + 801449c: 9a06 ldr r2, [sp, #24] + 801449e: 3201 adds r2, #1 + 80144a0: 9206 str r2, [sp, #24] + 80144a2: f04f 0a00 mov.w sl, #0 + 80144a6: 2c0a cmp r4, #10 + 80144a8: f175 0500 sbcs.w r5, r5, #0 + 80144ac: f0c0 80f6 bcc.w 801469c <_vfiprintf_r+0x8f8> + 80144b0: 9c0b ldr r4, [sp, #44] @ 0x2c + 80144b2: f8cd 9020 str.w r9, [sp, #32] + 80144b6: 461d mov r5, r3 + 80144b8: e7c6 b.n 8014448 <_vfiprintf_r+0x6a4> + 80144ba: 4692 mov sl, r2 + 80144bc: e7f3 b.n 80144a6 <_vfiprintf_r+0x702> + 80144be: f004 030f and.w r3, r4, #15 + 80144c2: 9a05 ldr r2, [sp, #20] + 80144c4: 0924 lsrs r4, r4, #4 + 80144c6: 5cd3 ldrb r3, [r2, r3] + 80144c8: f809 3d01 strb.w r3, [r9, #-1]! + 80144cc: ea44 7405 orr.w r4, r4, r5, lsl #28 + 80144d0: 092d lsrs r5, r5, #4 + 80144d2: ea54 0305 orrs.w r3, r4, r5 + 80144d6: d1f2 bne.n 80144be <_vfiprintf_r+0x71a> + 80144d8: e0e0 b.n 801469c <_vfiprintf_r+0x8f8> + 80144da: b923 cbnz r3, 80144e6 <_vfiprintf_r+0x742> + 80144dc: f01a 0f01 tst.w sl, #1 + 80144e0: d001 beq.n 80144e6 <_vfiprintf_r+0x742> + 80144e2: 2430 movs r4, #48 @ 0x30 + 80144e4: e7a3 b.n 801442e <_vfiprintf_r+0x68a> + 80144e6: f10d 09e8 add.w r9, sp, #232 @ 0xe8 + 80144ea: e0d7 b.n 801469c <_vfiprintf_r+0x8f8> + 80144ec: 2b00 cmp r3, #0 + 80144ee: f000 80a3 beq.w 8014638 <_vfiprintf_r+0x894> + 80144f2: 2400 movs r4, #0 + 80144f4: f88d 3084 strb.w r3, [sp, #132] @ 0x84 + 80144f8: f88d 4033 strb.w r4, [sp, #51] @ 0x33 + 80144fc: 46a8 mov r8, r5 + 80144fe: e5e0 b.n 80140c2 <_vfiprintf_r+0x31e> + 8014500: 080199cf .word 0x080199cf + 8014504: 080199bf .word 0x080199bf + 8014508: 0801998c .word 0x0801998c + 801450c: 2110 movs r1, #16 + 801450e: 6071 str r1, [r6, #4] + 8014510: 2a07 cmp r2, #7 + 8014512: 4461 add r1, ip + 8014514: e9cd 210f strd r2, r1, [sp, #60] @ 0x3c + 8014518: dd08 ble.n 801452c <_vfiprintf_r+0x788> + 801451a: 9800 ldr r0, [sp, #0] + 801451c: aa0e add r2, sp, #56 @ 0x38 + 801451e: 4639 mov r1, r7 + 8014520: f7ff fc0e bl 8013d40 <__sprint_r> + 8014524: 2800 cmp r0, #0 + 8014526: d166 bne.n 80145f6 <_vfiprintf_r+0x852> + 8014528: 4b60 ldr r3, [pc, #384] @ (80146ac <_vfiprintf_r+0x908>) + 801452a: a811 add r0, sp, #68 @ 0x44 + 801452c: 3d10 subs r5, #16 + 801452e: 4606 mov r6, r0 + 8014530: e694 b.n 801425c <_vfiprintf_r+0x4b8> + 8014532: 4606 mov r6, r0 + 8014534: e6ac b.n 8014290 <_vfiprintf_r+0x4ec> + 8014536: 9800 ldr r0, [sp, #0] + 8014538: aa0e add r2, sp, #56 @ 0x38 + 801453a: 4639 mov r1, r7 + 801453c: f7ff fc00 bl 8013d40 <__sprint_r> + 8014540: 2800 cmp r0, #0 + 8014542: d158 bne.n 80145f6 <_vfiprintf_r+0x852> + 8014544: ae11 add r6, sp, #68 @ 0x44 + 8014546: e6b5 b.n 80142b4 <_vfiprintf_r+0x510> + 8014548: 9800 ldr r0, [sp, #0] + 801454a: aa0e add r2, sp, #56 @ 0x38 + 801454c: 4639 mov r1, r7 + 801454e: f7ff fbf7 bl 8013d40 <__sprint_r> + 8014552: 2800 cmp r0, #0 + 8014554: d14f bne.n 80145f6 <_vfiprintf_r+0x852> + 8014556: ae11 add r6, sp, #68 @ 0x44 + 8014558: e6bc b.n 80142d4 <_vfiprintf_r+0x530> + 801455a: 2110 movs r1, #16 + 801455c: 6071 str r1, [r6, #4] + 801455e: 2a07 cmp r2, #7 + 8014560: 4461 add r1, ip + 8014562: e9cd 210f strd r2, r1, [sp, #60] @ 0x3c + 8014566: dd08 ble.n 801457a <_vfiprintf_r+0x7d6> + 8014568: 9800 ldr r0, [sp, #0] + 801456a: aa0e add r2, sp, #56 @ 0x38 + 801456c: 4639 mov r1, r7 + 801456e: f7ff fbe7 bl 8013d40 <__sprint_r> + 8014572: 2800 cmp r0, #0 + 8014574: d13f bne.n 80145f6 <_vfiprintf_r+0x852> + 8014576: 4b4e ldr r3, [pc, #312] @ (80146b0 <_vfiprintf_r+0x90c>) + 8014578: a811 add r0, sp, #68 @ 0x44 + 801457a: 3d10 subs r5, #16 + 801457c: 4606 mov r6, r0 + 801457e: e6b2 b.n 80142e6 <_vfiprintf_r+0x542> + 8014580: 4606 mov r6, r0 + 8014582: e6ca b.n 801431a <_vfiprintf_r+0x576> + 8014584: 2010 movs r0, #16 + 8014586: 4402 add r2, r0 + 8014588: 2b07 cmp r3, #7 + 801458a: e9cd 320f strd r3, r2, [sp, #60] @ 0x3c + 801458e: 6070 str r0, [r6, #4] + 8014590: dd06 ble.n 80145a0 <_vfiprintf_r+0x7fc> + 8014592: 9800 ldr r0, [sp, #0] + 8014594: aa0e add r2, sp, #56 @ 0x38 + 8014596: 4639 mov r1, r7 + 8014598: f7ff fbd2 bl 8013d40 <__sprint_r> + 801459c: bb58 cbnz r0, 80145f6 <_vfiprintf_r+0x852> + 801459e: a911 add r1, sp, #68 @ 0x44 + 80145a0: 3c10 subs r4, #16 + 80145a2: 460e mov r6, r1 + 80145a4: e6bd b.n 8014322 <_vfiprintf_r+0x57e> + 80145a6: 460e mov r6, r1 + 80145a8: e6d6 b.n 8014358 <_vfiprintf_r+0x5b4> + 80145aa: 9800 ldr r0, [sp, #0] + 80145ac: aa0e add r2, sp, #56 @ 0x38 + 80145ae: 4639 mov r1, r7 + 80145b0: f7ff fbc6 bl 8013d40 <__sprint_r> + 80145b4: b9f8 cbnz r0, 80145f6 <_vfiprintf_r+0x852> + 80145b6: ab11 add r3, sp, #68 @ 0x44 + 80145b8: e6de b.n 8014378 <_vfiprintf_r+0x5d4> + 80145ba: 9a02 ldr r2, [sp, #8] + 80145bc: 9904 ldr r1, [sp, #16] + 80145be: 1a54 subs r4, r2, r1 + 80145c0: 2c00 cmp r4, #0 + 80145c2: f77f aedd ble.w 8014380 <_vfiprintf_r+0x5dc> + 80145c6: 4d39 ldr r5, [pc, #228] @ (80146ac <_vfiprintf_r+0x908>) + 80145c8: 2610 movs r6, #16 + 80145ca: e9dd 210f ldrd r2, r1, [sp, #60] @ 0x3c + 80145ce: 2c10 cmp r4, #16 + 80145d0: f102 0201 add.w r2, r2, #1 + 80145d4: 601d str r5, [r3, #0] + 80145d6: dc1d bgt.n 8014614 <_vfiprintf_r+0x870> + 80145d8: 605c str r4, [r3, #4] + 80145da: 2a07 cmp r2, #7 + 80145dc: 440c add r4, r1 + 80145de: e9cd 240f strd r2, r4, [sp, #60] @ 0x3c + 80145e2: f77f aecd ble.w 8014380 <_vfiprintf_r+0x5dc> + 80145e6: 9800 ldr r0, [sp, #0] + 80145e8: aa0e add r2, sp, #56 @ 0x38 + 80145ea: 4639 mov r1, r7 + 80145ec: f7ff fba8 bl 8013d40 <__sprint_r> + 80145f0: 2800 cmp r0, #0 + 80145f2: f43f aec5 beq.w 8014380 <_vfiprintf_r+0x5dc> + 80145f6: 6e7b ldr r3, [r7, #100] @ 0x64 + 80145f8: 07d9 lsls r1, r3, #31 + 80145fa: d405 bmi.n 8014608 <_vfiprintf_r+0x864> + 80145fc: 89bb ldrh r3, [r7, #12] + 80145fe: 059a lsls r2, r3, #22 + 8014600: d402 bmi.n 8014608 <_vfiprintf_r+0x864> + 8014602: 6db8 ldr r0, [r7, #88] @ 0x58 + 8014604: f7fd fdb5 bl 8012172 <__retarget_lock_release_recursive> + 8014608: 89bb ldrh r3, [r7, #12] + 801460a: 065b lsls r3, r3, #25 + 801460c: f57f abfb bpl.w 8013e06 <_vfiprintf_r+0x62> + 8014610: f7ff bbf6 b.w 8013e00 <_vfiprintf_r+0x5c> + 8014614: 3110 adds r1, #16 + 8014616: 2a07 cmp r2, #7 + 8014618: e9cd 210f strd r2, r1, [sp, #60] @ 0x3c + 801461c: 605e str r6, [r3, #4] + 801461e: dc02 bgt.n 8014626 <_vfiprintf_r+0x882> + 8014620: 3308 adds r3, #8 + 8014622: 3c10 subs r4, #16 + 8014624: e7d1 b.n 80145ca <_vfiprintf_r+0x826> + 8014626: 9800 ldr r0, [sp, #0] + 8014628: aa0e add r2, sp, #56 @ 0x38 + 801462a: 4639 mov r1, r7 + 801462c: f7ff fb88 bl 8013d40 <__sprint_r> + 8014630: 2800 cmp r0, #0 + 8014632: d1e0 bne.n 80145f6 <_vfiprintf_r+0x852> + 8014634: ab11 add r3, sp, #68 @ 0x44 + 8014636: e7f4 b.n 8014622 <_vfiprintf_r+0x87e> + 8014638: 9b10 ldr r3, [sp, #64] @ 0x40 + 801463a: b913 cbnz r3, 8014642 <_vfiprintf_r+0x89e> + 801463c: 2300 movs r3, #0 + 801463e: 930f str r3, [sp, #60] @ 0x3c + 8014640: e7d9 b.n 80145f6 <_vfiprintf_r+0x852> + 8014642: 9800 ldr r0, [sp, #0] + 8014644: aa0e add r2, sp, #56 @ 0x38 + 8014646: 4639 mov r1, r7 + 8014648: f7ff fb7a bl 8013d40 <__sprint_r> + 801464c: 2800 cmp r0, #0 + 801464e: d0f5 beq.n 801463c <_vfiprintf_r+0x898> + 8014650: e7d1 b.n 80145f6 <_vfiprintf_r+0x852> + 8014652: ea54 0205 orrs.w r2, r4, r5 + 8014656: f8cd a010 str.w sl, [sp, #16] + 801465a: f43f ada6 beq.w 80141aa <_vfiprintf_r+0x406> + 801465e: 2b01 cmp r3, #1 + 8014660: f43f aedf beq.w 8014422 <_vfiprintf_r+0x67e> + 8014664: 2b02 cmp r3, #2 + 8014666: f10d 09e8 add.w r9, sp, #232 @ 0xe8 + 801466a: f43f af28 beq.w 80144be <_vfiprintf_r+0x71a> + 801466e: f004 0307 and.w r3, r4, #7 + 8014672: 08e4 lsrs r4, r4, #3 + 8014674: ea44 7445 orr.w r4, r4, r5, lsl #29 + 8014678: 08ed lsrs r5, r5, #3 + 801467a: 3330 adds r3, #48 @ 0x30 + 801467c: ea54 0105 orrs.w r1, r4, r5 + 8014680: 464a mov r2, r9 + 8014682: f809 3d01 strb.w r3, [r9, #-1]! + 8014686: d1f2 bne.n 801466e <_vfiprintf_r+0x8ca> + 8014688: 9904 ldr r1, [sp, #16] + 801468a: 07c8 lsls r0, r1, #31 + 801468c: d506 bpl.n 801469c <_vfiprintf_r+0x8f8> + 801468e: 2b30 cmp r3, #48 @ 0x30 + 8014690: d004 beq.n 801469c <_vfiprintf_r+0x8f8> + 8014692: 2330 movs r3, #48 @ 0x30 + 8014694: f809 3c01 strb.w r3, [r9, #-1] + 8014698: f1a2 0902 sub.w r9, r2, #2 + 801469c: ab3a add r3, sp, #232 @ 0xe8 + 801469e: eba3 0309 sub.w r3, r3, r9 + 80146a2: 9c01 ldr r4, [sp, #4] + 80146a4: f8dd a010 ldr.w sl, [sp, #16] + 80146a8: 9301 str r3, [sp, #4] + 80146aa: e5bb b.n 8014224 <_vfiprintf_r+0x480> + 80146ac: 080199cf .word 0x080199cf + 80146b0: 080199bf .word 0x080199bf + +080146b4 <__sbprintf>: + 80146b4: b5f0 push {r4, r5, r6, r7, lr} + 80146b6: 461f mov r7, r3 + 80146b8: 898b ldrh r3, [r1, #12] + 80146ba: f2ad 4d6c subw sp, sp, #1132 @ 0x46c + 80146be: f023 0302 bic.w r3, r3, #2 + 80146c2: f8ad 300c strh.w r3, [sp, #12] + 80146c6: 6e4b ldr r3, [r1, #100] @ 0x64 + 80146c8: 9319 str r3, [sp, #100] @ 0x64 + 80146ca: 89cb ldrh r3, [r1, #14] + 80146cc: f8ad 300e strh.w r3, [sp, #14] + 80146d0: 69cb ldr r3, [r1, #28] + 80146d2: 9307 str r3, [sp, #28] + 80146d4: 6a4b ldr r3, [r1, #36] @ 0x24 + 80146d6: 9309 str r3, [sp, #36] @ 0x24 + 80146d8: ab1a add r3, sp, #104 @ 0x68 + 80146da: 9300 str r3, [sp, #0] + 80146dc: 9304 str r3, [sp, #16] + 80146de: f44f 6380 mov.w r3, #1024 @ 0x400 + 80146e2: 4615 mov r5, r2 + 80146e4: 4606 mov r6, r0 + 80146e6: 9302 str r3, [sp, #8] + 80146e8: 9305 str r3, [sp, #20] + 80146ea: a816 add r0, sp, #88 @ 0x58 + 80146ec: 2300 movs r3, #0 + 80146ee: 460c mov r4, r1 + 80146f0: 9306 str r3, [sp, #24] + 80146f2: f7fd fd3b bl 801216c <__retarget_lock_init_recursive> + 80146f6: 462a mov r2, r5 + 80146f8: 463b mov r3, r7 + 80146fa: 4669 mov r1, sp + 80146fc: 4630 mov r0, r6 + 80146fe: f7ff fb51 bl 8013da4 <_vfiprintf_r> + 8014702: 1e05 subs r5, r0, #0 + 8014704: db07 blt.n 8014716 <__sbprintf+0x62> + 8014706: 4669 mov r1, sp + 8014708: 4630 mov r0, r6 + 801470a: f000 f8f1 bl 80148f0 <_fflush_r> + 801470e: 2800 cmp r0, #0 + 8014710: bf18 it ne + 8014712: f04f 35ff movne.w r5, #4294967295 + 8014716: f8bd 300c ldrh.w r3, [sp, #12] + 801471a: 9816 ldr r0, [sp, #88] @ 0x58 + 801471c: 065b lsls r3, r3, #25 + 801471e: bf42 ittt mi + 8014720: 89a3 ldrhmi r3, [r4, #12] + 8014722: f043 0340 orrmi.w r3, r3, #64 @ 0x40 + 8014726: 81a3 strhmi r3, [r4, #12] + 8014728: f7fd fd21 bl 801216e <__retarget_lock_close_recursive> + 801472c: 4628 mov r0, r5 + 801472e: f20d 4d6c addw sp, sp, #1132 @ 0x46c + 8014732: bdf0 pop {r4, r5, r6, r7, pc} + +08014734 <_fclose_r>: + 8014734: b570 push {r4, r5, r6, lr} + 8014736: 4605 mov r5, r0 + 8014738: 460c mov r4, r1 + 801473a: b1b1 cbz r1, 801476a <_fclose_r+0x36> + 801473c: b118 cbz r0, 8014746 <_fclose_r+0x12> + 801473e: 6b43 ldr r3, [r0, #52] @ 0x34 + 8014740: b90b cbnz r3, 8014746 <_fclose_r+0x12> + 8014742: f7fd fbe5 bl 8011f10 <__sinit> + 8014746: 6e63 ldr r3, [r4, #100] @ 0x64 + 8014748: 07de lsls r6, r3, #31 + 801474a: d405 bmi.n 8014758 <_fclose_r+0x24> + 801474c: 89a3 ldrh r3, [r4, #12] + 801474e: 0598 lsls r0, r3, #22 + 8014750: d402 bmi.n 8014758 <_fclose_r+0x24> + 8014752: 6da0 ldr r0, [r4, #88] @ 0x58 + 8014754: f7fd fd0c bl 8012170 <__retarget_lock_acquire_recursive> + 8014758: f9b4 300c ldrsh.w r3, [r4, #12] + 801475c: b943 cbnz r3, 8014770 <_fclose_r+0x3c> + 801475e: 6e63 ldr r3, [r4, #100] @ 0x64 + 8014760: 07d9 lsls r1, r3, #31 + 8014762: d402 bmi.n 801476a <_fclose_r+0x36> + 8014764: 6da0 ldr r0, [r4, #88] @ 0x58 + 8014766: f7fd fd04 bl 8012172 <__retarget_lock_release_recursive> + 801476a: 2600 movs r6, #0 + 801476c: 4630 mov r0, r6 + 801476e: bd70 pop {r4, r5, r6, pc} + 8014770: 4621 mov r1, r4 + 8014772: 4628 mov r0, r5 + 8014774: f000 f834 bl 80147e0 <__sflush_r> + 8014778: 6ae3 ldr r3, [r4, #44] @ 0x2c + 801477a: 4606 mov r6, r0 + 801477c: b133 cbz r3, 801478c <_fclose_r+0x58> + 801477e: 69e1 ldr r1, [r4, #28] + 8014780: 4628 mov r0, r5 + 8014782: 4798 blx r3 + 8014784: 2800 cmp r0, #0 + 8014786: bfb8 it lt + 8014788: f04f 36ff movlt.w r6, #4294967295 + 801478c: 89a3 ldrh r3, [r4, #12] + 801478e: 061a lsls r2, r3, #24 + 8014790: d503 bpl.n 801479a <_fclose_r+0x66> + 8014792: 6921 ldr r1, [r4, #16] + 8014794: 4628 mov r0, r5 + 8014796: f7fd fd61 bl 801225c <_free_r> + 801479a: 6b21 ldr r1, [r4, #48] @ 0x30 + 801479c: b141 cbz r1, 80147b0 <_fclose_r+0x7c> + 801479e: f104 0340 add.w r3, r4, #64 @ 0x40 + 80147a2: 4299 cmp r1, r3 + 80147a4: d002 beq.n 80147ac <_fclose_r+0x78> + 80147a6: 4628 mov r0, r5 + 80147a8: f7fd fd58 bl 801225c <_free_r> + 80147ac: 2300 movs r3, #0 + 80147ae: 6323 str r3, [r4, #48] @ 0x30 + 80147b0: 6c61 ldr r1, [r4, #68] @ 0x44 + 80147b2: b121 cbz r1, 80147be <_fclose_r+0x8a> + 80147b4: 4628 mov r0, r5 + 80147b6: f7fd fd51 bl 801225c <_free_r> + 80147ba: 2300 movs r3, #0 + 80147bc: 6463 str r3, [r4, #68] @ 0x44 + 80147be: f7fd fb9b bl 8011ef8 <__sfp_lock_acquire> + 80147c2: 2300 movs r3, #0 + 80147c4: 81a3 strh r3, [r4, #12] + 80147c6: 6e63 ldr r3, [r4, #100] @ 0x64 + 80147c8: 07db lsls r3, r3, #31 + 80147ca: d402 bmi.n 80147d2 <_fclose_r+0x9e> + 80147cc: 6da0 ldr r0, [r4, #88] @ 0x58 + 80147ce: f7fd fcd0 bl 8012172 <__retarget_lock_release_recursive> + 80147d2: 6da0 ldr r0, [r4, #88] @ 0x58 + 80147d4: f7fd fccb bl 801216e <__retarget_lock_close_recursive> + 80147d8: f7fd fb94 bl 8011f04 <__sfp_lock_release> + 80147dc: e7c6 b.n 801476c <_fclose_r+0x38> ... -08013e60 <__sflush_r>: - 8013e60: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8013e64: 4605 mov r5, r0 - 8013e66: f9b1 000c ldrsh.w r0, [r1, #12] - 8013e6a: 0706 lsls r6, r0, #28 - 8013e6c: 460c mov r4, r1 - 8013e6e: d457 bmi.n 8013f20 <__sflush_r+0xc0> - 8013e70: f440 6300 orr.w r3, r0, #2048 @ 0x800 - 8013e74: 818b strh r3, [r1, #12] - 8013e76: 684b ldr r3, [r1, #4] - 8013e78: 2b00 cmp r3, #0 - 8013e7a: dc02 bgt.n 8013e82 <__sflush_r+0x22> - 8013e7c: 6bcb ldr r3, [r1, #60] @ 0x3c - 8013e7e: 2b00 cmp r3, #0 - 8013e80: dd4c ble.n 8013f1c <__sflush_r+0xbc> - 8013e82: 6aa6 ldr r6, [r4, #40] @ 0x28 - 8013e84: 2e00 cmp r6, #0 - 8013e86: d049 beq.n 8013f1c <__sflush_r+0xbc> - 8013e88: 2300 movs r3, #0 - 8013e8a: f410 5280 ands.w r2, r0, #4096 @ 0x1000 - 8013e8e: 682f ldr r7, [r5, #0] - 8013e90: 69e1 ldr r1, [r4, #28] - 8013e92: 602b str r3, [r5, #0] - 8013e94: d034 beq.n 8013f00 <__sflush_r+0xa0> - 8013e96: 6d22 ldr r2, [r4, #80] @ 0x50 - 8013e98: 89a3 ldrh r3, [r4, #12] - 8013e9a: 0759 lsls r1, r3, #29 - 8013e9c: d505 bpl.n 8013eaa <__sflush_r+0x4a> - 8013e9e: 6863 ldr r3, [r4, #4] - 8013ea0: 1ad2 subs r2, r2, r3 - 8013ea2: 6b23 ldr r3, [r4, #48] @ 0x30 - 8013ea4: b10b cbz r3, 8013eaa <__sflush_r+0x4a> - 8013ea6: 6be3 ldr r3, [r4, #60] @ 0x3c - 8013ea8: 1ad2 subs r2, r2, r3 - 8013eaa: 2300 movs r3, #0 - 8013eac: 6aa6 ldr r6, [r4, #40] @ 0x28 - 8013eae: 69e1 ldr r1, [r4, #28] - 8013eb0: 4628 mov r0, r5 - 8013eb2: 47b0 blx r6 - 8013eb4: 1c43 adds r3, r0, #1 - 8013eb6: d106 bne.n 8013ec6 <__sflush_r+0x66> - 8013eb8: 682a ldr r2, [r5, #0] - 8013eba: 2a1d cmp r2, #29 - 8013ebc: d848 bhi.n 8013f50 <__sflush_r+0xf0> - 8013ebe: 4b2b ldr r3, [pc, #172] @ (8013f6c <__sflush_r+0x10c>) - 8013ec0: 4113 asrs r3, r2 - 8013ec2: 07de lsls r6, r3, #31 - 8013ec4: d444 bmi.n 8013f50 <__sflush_r+0xf0> - 8013ec6: f9b4 300c ldrsh.w r3, [r4, #12] - 8013eca: f423 6200 bic.w r2, r3, #2048 @ 0x800 - 8013ece: 81a2 strh r2, [r4, #12] - 8013ed0: 2200 movs r2, #0 - 8013ed2: 6062 str r2, [r4, #4] - 8013ed4: 04d9 lsls r1, r3, #19 - 8013ed6: 6922 ldr r2, [r4, #16] - 8013ed8: 6022 str r2, [r4, #0] - 8013eda: d504 bpl.n 8013ee6 <__sflush_r+0x86> - 8013edc: 1c42 adds r2, r0, #1 - 8013ede: d101 bne.n 8013ee4 <__sflush_r+0x84> - 8013ee0: 682b ldr r3, [r5, #0] - 8013ee2: b903 cbnz r3, 8013ee6 <__sflush_r+0x86> - 8013ee4: 6520 str r0, [r4, #80] @ 0x50 - 8013ee6: 6b21 ldr r1, [r4, #48] @ 0x30 - 8013ee8: 602f str r7, [r5, #0] - 8013eea: b1b9 cbz r1, 8013f1c <__sflush_r+0xbc> - 8013eec: f104 0340 add.w r3, r4, #64 @ 0x40 - 8013ef0: 4299 cmp r1, r3 - 8013ef2: d002 beq.n 8013efa <__sflush_r+0x9a> - 8013ef4: 4628 mov r0, r5 - 8013ef6: f7fd fcef bl 80118d8 <_free_r> - 8013efa: 2300 movs r3, #0 - 8013efc: 6323 str r3, [r4, #48] @ 0x30 - 8013efe: e00d b.n 8013f1c <__sflush_r+0xbc> - 8013f00: 2301 movs r3, #1 - 8013f02: 4628 mov r0, r5 - 8013f04: 47b0 blx r6 - 8013f06: 4602 mov r2, r0 - 8013f08: 1c50 adds r0, r2, #1 - 8013f0a: d1c5 bne.n 8013e98 <__sflush_r+0x38> - 8013f0c: 682b ldr r3, [r5, #0] - 8013f0e: 2b00 cmp r3, #0 - 8013f10: d0c2 beq.n 8013e98 <__sflush_r+0x38> - 8013f12: 2b1d cmp r3, #29 - 8013f14: d001 beq.n 8013f1a <__sflush_r+0xba> - 8013f16: 2b16 cmp r3, #22 - 8013f18: d11a bne.n 8013f50 <__sflush_r+0xf0> - 8013f1a: 602f str r7, [r5, #0] - 8013f1c: 2000 movs r0, #0 - 8013f1e: e01e b.n 8013f5e <__sflush_r+0xfe> - 8013f20: 690f ldr r7, [r1, #16] - 8013f22: 2f00 cmp r7, #0 - 8013f24: d0fa beq.n 8013f1c <__sflush_r+0xbc> - 8013f26: 0783 lsls r3, r0, #30 - 8013f28: 680e ldr r6, [r1, #0] - 8013f2a: bf08 it eq - 8013f2c: 694b ldreq r3, [r1, #20] - 8013f2e: 600f str r7, [r1, #0] - 8013f30: bf18 it ne - 8013f32: 2300 movne r3, #0 - 8013f34: eba6 0807 sub.w r8, r6, r7 - 8013f38: 608b str r3, [r1, #8] - 8013f3a: f1b8 0f00 cmp.w r8, #0 - 8013f3e: dded ble.n 8013f1c <__sflush_r+0xbc> - 8013f40: 69e1 ldr r1, [r4, #28] - 8013f42: 6a66 ldr r6, [r4, #36] @ 0x24 - 8013f44: 4643 mov r3, r8 - 8013f46: 463a mov r2, r7 - 8013f48: 4628 mov r0, r5 - 8013f4a: 47b0 blx r6 - 8013f4c: 2800 cmp r0, #0 - 8013f4e: dc08 bgt.n 8013f62 <__sflush_r+0x102> - 8013f50: f9b4 300c ldrsh.w r3, [r4, #12] - 8013f54: f043 0340 orr.w r3, r3, #64 @ 0x40 - 8013f58: 81a3 strh r3, [r4, #12] - 8013f5a: f04f 30ff mov.w r0, #4294967295 - 8013f5e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8013f62: 4407 add r7, r0 - 8013f64: eba8 0800 sub.w r8, r8, r0 - 8013f68: e7e7 b.n 8013f3a <__sflush_r+0xda> - 8013f6a: bf00 nop - 8013f6c: dfbffffe .word 0xdfbffffe +080147e0 <__sflush_r>: + 80147e0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80147e4: 4605 mov r5, r0 + 80147e6: f9b1 000c ldrsh.w r0, [r1, #12] + 80147ea: 0706 lsls r6, r0, #28 + 80147ec: 460c mov r4, r1 + 80147ee: d457 bmi.n 80148a0 <__sflush_r+0xc0> + 80147f0: f440 6300 orr.w r3, r0, #2048 @ 0x800 + 80147f4: 818b strh r3, [r1, #12] + 80147f6: 684b ldr r3, [r1, #4] + 80147f8: 2b00 cmp r3, #0 + 80147fa: dc02 bgt.n 8014802 <__sflush_r+0x22> + 80147fc: 6bcb ldr r3, [r1, #60] @ 0x3c + 80147fe: 2b00 cmp r3, #0 + 8014800: dd4c ble.n 801489c <__sflush_r+0xbc> + 8014802: 6aa6 ldr r6, [r4, #40] @ 0x28 + 8014804: 2e00 cmp r6, #0 + 8014806: d049 beq.n 801489c <__sflush_r+0xbc> + 8014808: 2300 movs r3, #0 + 801480a: f410 5280 ands.w r2, r0, #4096 @ 0x1000 + 801480e: 682f ldr r7, [r5, #0] + 8014810: 69e1 ldr r1, [r4, #28] + 8014812: 602b str r3, [r5, #0] + 8014814: d034 beq.n 8014880 <__sflush_r+0xa0> + 8014816: 6d22 ldr r2, [r4, #80] @ 0x50 + 8014818: 89a3 ldrh r3, [r4, #12] + 801481a: 0759 lsls r1, r3, #29 + 801481c: d505 bpl.n 801482a <__sflush_r+0x4a> + 801481e: 6863 ldr r3, [r4, #4] + 8014820: 1ad2 subs r2, r2, r3 + 8014822: 6b23 ldr r3, [r4, #48] @ 0x30 + 8014824: b10b cbz r3, 801482a <__sflush_r+0x4a> + 8014826: 6be3 ldr r3, [r4, #60] @ 0x3c + 8014828: 1ad2 subs r2, r2, r3 + 801482a: 2300 movs r3, #0 + 801482c: 6aa6 ldr r6, [r4, #40] @ 0x28 + 801482e: 69e1 ldr r1, [r4, #28] + 8014830: 4628 mov r0, r5 + 8014832: 47b0 blx r6 + 8014834: 1c43 adds r3, r0, #1 + 8014836: d106 bne.n 8014846 <__sflush_r+0x66> + 8014838: 682a ldr r2, [r5, #0] + 801483a: 2a1d cmp r2, #29 + 801483c: d848 bhi.n 80148d0 <__sflush_r+0xf0> + 801483e: 4b2b ldr r3, [pc, #172] @ (80148ec <__sflush_r+0x10c>) + 8014840: 4113 asrs r3, r2 + 8014842: 07de lsls r6, r3, #31 + 8014844: d444 bmi.n 80148d0 <__sflush_r+0xf0> + 8014846: f9b4 300c ldrsh.w r3, [r4, #12] + 801484a: f423 6200 bic.w r2, r3, #2048 @ 0x800 + 801484e: 81a2 strh r2, [r4, #12] + 8014850: 2200 movs r2, #0 + 8014852: 6062 str r2, [r4, #4] + 8014854: 04d9 lsls r1, r3, #19 + 8014856: 6922 ldr r2, [r4, #16] + 8014858: 6022 str r2, [r4, #0] + 801485a: d504 bpl.n 8014866 <__sflush_r+0x86> + 801485c: 1c42 adds r2, r0, #1 + 801485e: d101 bne.n 8014864 <__sflush_r+0x84> + 8014860: 682b ldr r3, [r5, #0] + 8014862: b903 cbnz r3, 8014866 <__sflush_r+0x86> + 8014864: 6520 str r0, [r4, #80] @ 0x50 + 8014866: 6b21 ldr r1, [r4, #48] @ 0x30 + 8014868: 602f str r7, [r5, #0] + 801486a: b1b9 cbz r1, 801489c <__sflush_r+0xbc> + 801486c: f104 0340 add.w r3, r4, #64 @ 0x40 + 8014870: 4299 cmp r1, r3 + 8014872: d002 beq.n 801487a <__sflush_r+0x9a> + 8014874: 4628 mov r0, r5 + 8014876: f7fd fcf1 bl 801225c <_free_r> + 801487a: 2300 movs r3, #0 + 801487c: 6323 str r3, [r4, #48] @ 0x30 + 801487e: e00d b.n 801489c <__sflush_r+0xbc> + 8014880: 2301 movs r3, #1 + 8014882: 4628 mov r0, r5 + 8014884: 47b0 blx r6 + 8014886: 4602 mov r2, r0 + 8014888: 1c50 adds r0, r2, #1 + 801488a: d1c5 bne.n 8014818 <__sflush_r+0x38> + 801488c: 682b ldr r3, [r5, #0] + 801488e: 2b00 cmp r3, #0 + 8014890: d0c2 beq.n 8014818 <__sflush_r+0x38> + 8014892: 2b1d cmp r3, #29 + 8014894: d001 beq.n 801489a <__sflush_r+0xba> + 8014896: 2b16 cmp r3, #22 + 8014898: d11a bne.n 80148d0 <__sflush_r+0xf0> + 801489a: 602f str r7, [r5, #0] + 801489c: 2000 movs r0, #0 + 801489e: e01e b.n 80148de <__sflush_r+0xfe> + 80148a0: 690f ldr r7, [r1, #16] + 80148a2: 2f00 cmp r7, #0 + 80148a4: d0fa beq.n 801489c <__sflush_r+0xbc> + 80148a6: 0783 lsls r3, r0, #30 + 80148a8: 680e ldr r6, [r1, #0] + 80148aa: bf08 it eq + 80148ac: 694b ldreq r3, [r1, #20] + 80148ae: 600f str r7, [r1, #0] + 80148b0: bf18 it ne + 80148b2: 2300 movne r3, #0 + 80148b4: eba6 0807 sub.w r8, r6, r7 + 80148b8: 608b str r3, [r1, #8] + 80148ba: f1b8 0f00 cmp.w r8, #0 + 80148be: dded ble.n 801489c <__sflush_r+0xbc> + 80148c0: 69e1 ldr r1, [r4, #28] + 80148c2: 6a66 ldr r6, [r4, #36] @ 0x24 + 80148c4: 4643 mov r3, r8 + 80148c6: 463a mov r2, r7 + 80148c8: 4628 mov r0, r5 + 80148ca: 47b0 blx r6 + 80148cc: 2800 cmp r0, #0 + 80148ce: dc08 bgt.n 80148e2 <__sflush_r+0x102> + 80148d0: f9b4 300c ldrsh.w r3, [r4, #12] + 80148d4: f043 0340 orr.w r3, r3, #64 @ 0x40 + 80148d8: 81a3 strh r3, [r4, #12] + 80148da: f04f 30ff mov.w r0, #4294967295 + 80148de: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80148e2: 4407 add r7, r0 + 80148e4: eba8 0800 sub.w r8, r8, r0 + 80148e8: e7e7 b.n 80148ba <__sflush_r+0xda> + 80148ea: bf00 nop + 80148ec: dfbffffe .word 0xdfbffffe -08013f70 <_fflush_r>: - 8013f70: b538 push {r3, r4, r5, lr} - 8013f72: 460c mov r4, r1 - 8013f74: 4605 mov r5, r0 - 8013f76: b118 cbz r0, 8013f80 <_fflush_r+0x10> - 8013f78: 6b43 ldr r3, [r0, #52] @ 0x34 - 8013f7a: b90b cbnz r3, 8013f80 <_fflush_r+0x10> - 8013f7c: f7fd fb06 bl 801158c <__sinit> - 8013f80: f9b4 000c ldrsh.w r0, [r4, #12] - 8013f84: b1b8 cbz r0, 8013fb6 <_fflush_r+0x46> - 8013f86: 6e63 ldr r3, [r4, #100] @ 0x64 - 8013f88: 07db lsls r3, r3, #31 - 8013f8a: d404 bmi.n 8013f96 <_fflush_r+0x26> - 8013f8c: 0581 lsls r1, r0, #22 - 8013f8e: d402 bmi.n 8013f96 <_fflush_r+0x26> - 8013f90: 6da0 ldr r0, [r4, #88] @ 0x58 - 8013f92: f7fd fc2b bl 80117ec <__retarget_lock_acquire_recursive> - 8013f96: 4628 mov r0, r5 - 8013f98: 4621 mov r1, r4 - 8013f9a: f7ff ff61 bl 8013e60 <__sflush_r> - 8013f9e: 6e63 ldr r3, [r4, #100] @ 0x64 - 8013fa0: 07da lsls r2, r3, #31 - 8013fa2: 4605 mov r5, r0 - 8013fa4: d405 bmi.n 8013fb2 <_fflush_r+0x42> - 8013fa6: 89a3 ldrh r3, [r4, #12] - 8013fa8: 059b lsls r3, r3, #22 - 8013faa: d402 bmi.n 8013fb2 <_fflush_r+0x42> - 8013fac: 6da0 ldr r0, [r4, #88] @ 0x58 - 8013fae: f7fd fc1e bl 80117ee <__retarget_lock_release_recursive> - 8013fb2: 4628 mov r0, r5 - 8013fb4: bd38 pop {r3, r4, r5, pc} - 8013fb6: 4605 mov r5, r0 - 8013fb8: e7fb b.n 8013fb2 <_fflush_r+0x42> +080148f0 <_fflush_r>: + 80148f0: b538 push {r3, r4, r5, lr} + 80148f2: 460c mov r4, r1 + 80148f4: 4605 mov r5, r0 + 80148f6: b118 cbz r0, 8014900 <_fflush_r+0x10> + 80148f8: 6b43 ldr r3, [r0, #52] @ 0x34 + 80148fa: b90b cbnz r3, 8014900 <_fflush_r+0x10> + 80148fc: f7fd fb08 bl 8011f10 <__sinit> + 8014900: f9b4 000c ldrsh.w r0, [r4, #12] + 8014904: b1b8 cbz r0, 8014936 <_fflush_r+0x46> + 8014906: 6e63 ldr r3, [r4, #100] @ 0x64 + 8014908: 07db lsls r3, r3, #31 + 801490a: d404 bmi.n 8014916 <_fflush_r+0x26> + 801490c: 0581 lsls r1, r0, #22 + 801490e: d402 bmi.n 8014916 <_fflush_r+0x26> + 8014910: 6da0 ldr r0, [r4, #88] @ 0x58 + 8014912: f7fd fc2d bl 8012170 <__retarget_lock_acquire_recursive> + 8014916: 4628 mov r0, r5 + 8014918: 4621 mov r1, r4 + 801491a: f7ff ff61 bl 80147e0 <__sflush_r> + 801491e: 6e63 ldr r3, [r4, #100] @ 0x64 + 8014920: 07da lsls r2, r3, #31 + 8014922: 4605 mov r5, r0 + 8014924: d405 bmi.n 8014932 <_fflush_r+0x42> + 8014926: 89a3 ldrh r3, [r4, #12] + 8014928: 059b lsls r3, r3, #22 + 801492a: d402 bmi.n 8014932 <_fflush_r+0x42> + 801492c: 6da0 ldr r0, [r4, #88] @ 0x58 + 801492e: f7fd fc20 bl 8012172 <__retarget_lock_release_recursive> + 8014932: 4628 mov r0, r5 + 8014934: bd38 pop {r3, r4, r5, pc} + 8014936: 4605 mov r5, r0 + 8014938: e7fb b.n 8014932 <_fflush_r+0x42> ... -08013fbc <__sfvwrite_r>: - 8013fbc: 6893 ldr r3, [r2, #8] - 8013fbe: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8013fc2: 4606 mov r6, r0 - 8013fc4: 460c mov r4, r1 - 8013fc6: 4691 mov r9, r2 - 8013fc8: b91b cbnz r3, 8013fd2 <__sfvwrite_r+0x16> - 8013fca: 2000 movs r0, #0 - 8013fcc: b003 add sp, #12 - 8013fce: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8013fd2: 898b ldrh r3, [r1, #12] - 8013fd4: 0718 lsls r0, r3, #28 - 8013fd6: d550 bpl.n 801407a <__sfvwrite_r+0xbe> - 8013fd8: 690b ldr r3, [r1, #16] - 8013fda: 2b00 cmp r3, #0 - 8013fdc: d04d beq.n 801407a <__sfvwrite_r+0xbe> - 8013fde: f9b4 300c ldrsh.w r3, [r4, #12] - 8013fe2: f8d9 8000 ldr.w r8, [r9] - 8013fe6: f013 0702 ands.w r7, r3, #2 - 8013fea: d16b bne.n 80140c4 <__sfvwrite_r+0x108> - 8013fec: f013 0301 ands.w r3, r3, #1 - 8013ff0: f000 809c beq.w 801412c <__sfvwrite_r+0x170> - 8013ff4: 4638 mov r0, r7 - 8013ff6: 46ba mov sl, r7 - 8013ff8: 46bb mov fp, r7 - 8013ffa: f1bb 0f00 cmp.w fp, #0 - 8013ffe: f000 8103 beq.w 8014208 <__sfvwrite_r+0x24c> - 8014002: b950 cbnz r0, 801401a <__sfvwrite_r+0x5e> - 8014004: 465a mov r2, fp - 8014006: 210a movs r1, #10 - 8014008: 4650 mov r0, sl - 801400a: f7ec f8f9 bl 8000200 - 801400e: 2800 cmp r0, #0 - 8014010: f000 8100 beq.w 8014214 <__sfvwrite_r+0x258> - 8014014: 3001 adds r0, #1 - 8014016: eba0 070a sub.w r7, r0, sl - 801401a: 6820 ldr r0, [r4, #0] - 801401c: 6921 ldr r1, [r4, #16] - 801401e: 68a5 ldr r5, [r4, #8] - 8014020: 6963 ldr r3, [r4, #20] - 8014022: 455f cmp r7, fp - 8014024: 463a mov r2, r7 - 8014026: bf28 it cs - 8014028: 465a movcs r2, fp - 801402a: 4288 cmp r0, r1 - 801402c: f240 80f5 bls.w 801421a <__sfvwrite_r+0x25e> - 8014030: 441d add r5, r3 - 8014032: 42aa cmp r2, r5 - 8014034: f340 80f1 ble.w 801421a <__sfvwrite_r+0x25e> - 8014038: 4651 mov r1, sl - 801403a: 462a mov r2, r5 - 801403c: f7fd fb41 bl 80116c2 - 8014040: 6823 ldr r3, [r4, #0] - 8014042: 442b add r3, r5 - 8014044: 6023 str r3, [r4, #0] - 8014046: 4621 mov r1, r4 - 8014048: 4630 mov r0, r6 - 801404a: f7ff ff91 bl 8013f70 <_fflush_r> - 801404e: 2800 cmp r0, #0 - 8014050: d167 bne.n 8014122 <__sfvwrite_r+0x166> - 8014052: 1b7f subs r7, r7, r5 - 8014054: f040 80f9 bne.w 801424a <__sfvwrite_r+0x28e> - 8014058: 4621 mov r1, r4 - 801405a: 4630 mov r0, r6 - 801405c: f7ff ff88 bl 8013f70 <_fflush_r> - 8014060: 2800 cmp r0, #0 - 8014062: d15e bne.n 8014122 <__sfvwrite_r+0x166> - 8014064: f8d9 3008 ldr.w r3, [r9, #8] - 8014068: 1b5b subs r3, r3, r5 - 801406a: 44aa add sl, r5 - 801406c: ebab 0b05 sub.w fp, fp, r5 - 8014070: f8c9 3008 str.w r3, [r9, #8] - 8014074: 2b00 cmp r3, #0 - 8014076: d1c0 bne.n 8013ffa <__sfvwrite_r+0x3e> - 8014078: e7a7 b.n 8013fca <__sfvwrite_r+0xe> - 801407a: 4621 mov r1, r4 - 801407c: 4630 mov r0, r6 - 801407e: f000 f8e9 bl 8014254 <__swsetup_r> - 8014082: 2800 cmp r0, #0 - 8014084: d0ab beq.n 8013fde <__sfvwrite_r+0x22> - 8014086: f04f 30ff mov.w r0, #4294967295 - 801408a: e79f b.n 8013fcc <__sfvwrite_r+0x10> - 801408c: e9d8 a500 ldrd sl, r5, [r8] - 8014090: f108 0808 add.w r8, r8, #8 - 8014094: f8d4 b024 ldr.w fp, [r4, #36] @ 0x24 - 8014098: 69e1 ldr r1, [r4, #28] - 801409a: 2d00 cmp r5, #0 - 801409c: d0f6 beq.n 801408c <__sfvwrite_r+0xd0> - 801409e: 42bd cmp r5, r7 - 80140a0: 462b mov r3, r5 - 80140a2: 4652 mov r2, sl - 80140a4: bf28 it cs - 80140a6: 463b movcs r3, r7 - 80140a8: 4630 mov r0, r6 - 80140aa: 47d8 blx fp - 80140ac: 2800 cmp r0, #0 - 80140ae: dd38 ble.n 8014122 <__sfvwrite_r+0x166> - 80140b0: f8d9 3008 ldr.w r3, [r9, #8] - 80140b4: 1a1b subs r3, r3, r0 - 80140b6: 4482 add sl, r0 - 80140b8: 1a2d subs r5, r5, r0 - 80140ba: f8c9 3008 str.w r3, [r9, #8] - 80140be: 2b00 cmp r3, #0 - 80140c0: d1e8 bne.n 8014094 <__sfvwrite_r+0xd8> - 80140c2: e782 b.n 8013fca <__sfvwrite_r+0xe> - 80140c4: f04f 0a00 mov.w sl, #0 - 80140c8: 4f61 ldr r7, [pc, #388] @ (8014250 <__sfvwrite_r+0x294>) - 80140ca: 4655 mov r5, sl - 80140cc: e7e2 b.n 8014094 <__sfvwrite_r+0xd8> - 80140ce: e9d8 7a00 ldrd r7, sl, [r8] - 80140d2: f108 0808 add.w r8, r8, #8 - 80140d6: f9b4 300c ldrsh.w r3, [r4, #12] - 80140da: 6820 ldr r0, [r4, #0] - 80140dc: 68a2 ldr r2, [r4, #8] - 80140de: f1ba 0f00 cmp.w sl, #0 - 80140e2: d0f4 beq.n 80140ce <__sfvwrite_r+0x112> - 80140e4: 0599 lsls r1, r3, #22 - 80140e6: d563 bpl.n 80141b0 <__sfvwrite_r+0x1f4> - 80140e8: 4552 cmp r2, sl - 80140ea: d836 bhi.n 801415a <__sfvwrite_r+0x19e> - 80140ec: f413 6f90 tst.w r3, #1152 @ 0x480 - 80140f0: d033 beq.n 801415a <__sfvwrite_r+0x19e> - 80140f2: 6921 ldr r1, [r4, #16] - 80140f4: 6965 ldr r5, [r4, #20] - 80140f6: eba0 0b01 sub.w fp, r0, r1 - 80140fa: eb05 0545 add.w r5, r5, r5, lsl #1 - 80140fe: eb05 75d5 add.w r5, r5, r5, lsr #31 - 8014102: f10b 0201 add.w r2, fp, #1 - 8014106: 106d asrs r5, r5, #1 - 8014108: 4452 add r2, sl - 801410a: 4295 cmp r5, r2 - 801410c: bf38 it cc - 801410e: 4615 movcc r5, r2 - 8014110: 055b lsls r3, r3, #21 - 8014112: d53d bpl.n 8014190 <__sfvwrite_r+0x1d4> - 8014114: 4629 mov r1, r5 - 8014116: 4630 mov r0, r6 - 8014118: f7fd fc9e bl 8011a58 <_malloc_r> - 801411c: b948 cbnz r0, 8014132 <__sfvwrite_r+0x176> - 801411e: 230c movs r3, #12 - 8014120: 6033 str r3, [r6, #0] - 8014122: 89a3 ldrh r3, [r4, #12] - 8014124: f043 0340 orr.w r3, r3, #64 @ 0x40 - 8014128: 81a3 strh r3, [r4, #12] - 801412a: e7ac b.n 8014086 <__sfvwrite_r+0xca> - 801412c: 461f mov r7, r3 - 801412e: 469a mov sl, r3 - 8014130: e7d1 b.n 80140d6 <__sfvwrite_r+0x11a> - 8014132: 465a mov r2, fp - 8014134: 6921 ldr r1, [r4, #16] - 8014136: 9001 str r0, [sp, #4] - 8014138: f7fd fb5a bl 80117f0 - 801413c: 89a2 ldrh r2, [r4, #12] - 801413e: 9b01 ldr r3, [sp, #4] - 8014140: f422 6290 bic.w r2, r2, #1152 @ 0x480 - 8014144: f042 0280 orr.w r2, r2, #128 @ 0x80 - 8014148: 81a2 strh r2, [r4, #12] - 801414a: 6123 str r3, [r4, #16] - 801414c: 6165 str r5, [r4, #20] - 801414e: 445b add r3, fp - 8014150: eba5 050b sub.w r5, r5, fp - 8014154: 6023 str r3, [r4, #0] - 8014156: 4652 mov r2, sl - 8014158: 60a5 str r5, [r4, #8] - 801415a: 4552 cmp r2, sl - 801415c: bf28 it cs - 801415e: 4652 movcs r2, sl - 8014160: 6820 ldr r0, [r4, #0] - 8014162: 9201 str r2, [sp, #4] - 8014164: 4639 mov r1, r7 - 8014166: f7fd faac bl 80116c2 - 801416a: 68a3 ldr r3, [r4, #8] - 801416c: 9a01 ldr r2, [sp, #4] - 801416e: 1a9b subs r3, r3, r2 - 8014170: 60a3 str r3, [r4, #8] - 8014172: 6823 ldr r3, [r4, #0] - 8014174: 4413 add r3, r2 - 8014176: 4655 mov r5, sl - 8014178: 6023 str r3, [r4, #0] - 801417a: f8d9 3008 ldr.w r3, [r9, #8] - 801417e: 1b5b subs r3, r3, r5 - 8014180: 442f add r7, r5 - 8014182: ebaa 0a05 sub.w sl, sl, r5 - 8014186: f8c9 3008 str.w r3, [r9, #8] - 801418a: 2b00 cmp r3, #0 - 801418c: d1a3 bne.n 80140d6 <__sfvwrite_r+0x11a> - 801418e: e71c b.n 8013fca <__sfvwrite_r+0xe> - 8014190: 462a mov r2, r5 - 8014192: 4630 mov r0, r6 - 8014194: f001 fb5e bl 8015854 <_realloc_r> - 8014198: 4603 mov r3, r0 - 801419a: 2800 cmp r0, #0 - 801419c: d1d5 bne.n 801414a <__sfvwrite_r+0x18e> - 801419e: 6921 ldr r1, [r4, #16] - 80141a0: 4630 mov r0, r6 - 80141a2: f7fd fb99 bl 80118d8 <_free_r> - 80141a6: 89a3 ldrh r3, [r4, #12] - 80141a8: f023 0380 bic.w r3, r3, #128 @ 0x80 - 80141ac: 81a3 strh r3, [r4, #12] - 80141ae: e7b6 b.n 801411e <__sfvwrite_r+0x162> - 80141b0: 6923 ldr r3, [r4, #16] - 80141b2: 4283 cmp r3, r0 - 80141b4: d302 bcc.n 80141bc <__sfvwrite_r+0x200> - 80141b6: 6961 ldr r1, [r4, #20] - 80141b8: 4551 cmp r1, sl - 80141ba: d915 bls.n 80141e8 <__sfvwrite_r+0x22c> - 80141bc: 4552 cmp r2, sl - 80141be: bf28 it cs - 80141c0: 4652 movcs r2, sl - 80141c2: 4639 mov r1, r7 - 80141c4: 4615 mov r5, r2 - 80141c6: f7fd fa7c bl 80116c2 - 80141ca: 68a3 ldr r3, [r4, #8] - 80141cc: 6822 ldr r2, [r4, #0] - 80141ce: 1b5b subs r3, r3, r5 - 80141d0: 442a add r2, r5 - 80141d2: 60a3 str r3, [r4, #8] - 80141d4: 6022 str r2, [r4, #0] - 80141d6: 2b00 cmp r3, #0 - 80141d8: d1cf bne.n 801417a <__sfvwrite_r+0x1be> - 80141da: 4621 mov r1, r4 - 80141dc: 4630 mov r0, r6 - 80141de: f7ff fec7 bl 8013f70 <_fflush_r> - 80141e2: 2800 cmp r0, #0 - 80141e4: d0c9 beq.n 801417a <__sfvwrite_r+0x1be> - 80141e6: e79c b.n 8014122 <__sfvwrite_r+0x166> - 80141e8: f06f 4300 mvn.w r3, #2147483648 @ 0x80000000 - 80141ec: 4553 cmp r3, sl - 80141ee: bf28 it cs - 80141f0: 4653 movcs r3, sl - 80141f2: 6a65 ldr r5, [r4, #36] @ 0x24 - 80141f4: fb93 f3f1 sdiv r3, r3, r1 - 80141f8: 463a mov r2, r7 - 80141fa: 434b muls r3, r1 - 80141fc: 4630 mov r0, r6 - 80141fe: 69e1 ldr r1, [r4, #28] - 8014200: 47a8 blx r5 - 8014202: 1e05 subs r5, r0, #0 - 8014204: dcb9 bgt.n 801417a <__sfvwrite_r+0x1be> - 8014206: e78c b.n 8014122 <__sfvwrite_r+0x166> - 8014208: e9d8 ab00 ldrd sl, fp, [r8] - 801420c: 2000 movs r0, #0 - 801420e: f108 0808 add.w r8, r8, #8 - 8014212: e6f2 b.n 8013ffa <__sfvwrite_r+0x3e> - 8014214: f10b 0701 add.w r7, fp, #1 - 8014218: e6ff b.n 801401a <__sfvwrite_r+0x5e> - 801421a: 4293 cmp r3, r2 - 801421c: dc08 bgt.n 8014230 <__sfvwrite_r+0x274> - 801421e: 6a65 ldr r5, [r4, #36] @ 0x24 - 8014220: 69e1 ldr r1, [r4, #28] - 8014222: 4652 mov r2, sl - 8014224: 4630 mov r0, r6 - 8014226: 47a8 blx r5 - 8014228: 1e05 subs r5, r0, #0 - 801422a: f73f af12 bgt.w 8014052 <__sfvwrite_r+0x96> - 801422e: e778 b.n 8014122 <__sfvwrite_r+0x166> - 8014230: 4651 mov r1, sl - 8014232: 9201 str r2, [sp, #4] - 8014234: f7fd fa45 bl 80116c2 - 8014238: 9a01 ldr r2, [sp, #4] - 801423a: 68a3 ldr r3, [r4, #8] - 801423c: 1a9b subs r3, r3, r2 - 801423e: 60a3 str r3, [r4, #8] - 8014240: 6823 ldr r3, [r4, #0] - 8014242: 4413 add r3, r2 - 8014244: 6023 str r3, [r4, #0] - 8014246: 4615 mov r5, r2 - 8014248: e703 b.n 8014052 <__sfvwrite_r+0x96> - 801424a: 2001 movs r0, #1 - 801424c: e70a b.n 8014064 <__sfvwrite_r+0xa8> - 801424e: bf00 nop - 8014250: 7ffffc00 .word 0x7ffffc00 +0801493c <__sfvwrite_r>: + 801493c: 6893 ldr r3, [r2, #8] + 801493e: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8014942: 4606 mov r6, r0 + 8014944: 460c mov r4, r1 + 8014946: 4691 mov r9, r2 + 8014948: b91b cbnz r3, 8014952 <__sfvwrite_r+0x16> + 801494a: 2000 movs r0, #0 + 801494c: b003 add sp, #12 + 801494e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8014952: 898b ldrh r3, [r1, #12] + 8014954: 0718 lsls r0, r3, #28 + 8014956: d550 bpl.n 80149fa <__sfvwrite_r+0xbe> + 8014958: 690b ldr r3, [r1, #16] + 801495a: 2b00 cmp r3, #0 + 801495c: d04d beq.n 80149fa <__sfvwrite_r+0xbe> + 801495e: f9b4 300c ldrsh.w r3, [r4, #12] + 8014962: f8d9 8000 ldr.w r8, [r9] + 8014966: f013 0702 ands.w r7, r3, #2 + 801496a: d16b bne.n 8014a44 <__sfvwrite_r+0x108> + 801496c: f013 0301 ands.w r3, r3, #1 + 8014970: f000 809c beq.w 8014aac <__sfvwrite_r+0x170> + 8014974: 4638 mov r0, r7 + 8014976: 46ba mov sl, r7 + 8014978: 46bb mov fp, r7 + 801497a: f1bb 0f00 cmp.w fp, #0 + 801497e: f000 8103 beq.w 8014b88 <__sfvwrite_r+0x24c> + 8014982: b950 cbnz r0, 801499a <__sfvwrite_r+0x5e> + 8014984: 465a mov r2, fp + 8014986: 210a movs r1, #10 + 8014988: 4650 mov r0, sl + 801498a: f7eb fc39 bl 8000200 + 801498e: 2800 cmp r0, #0 + 8014990: f000 8100 beq.w 8014b94 <__sfvwrite_r+0x258> + 8014994: 3001 adds r0, #1 + 8014996: eba0 070a sub.w r7, r0, sl + 801499a: 6820 ldr r0, [r4, #0] + 801499c: 6921 ldr r1, [r4, #16] + 801499e: 68a5 ldr r5, [r4, #8] + 80149a0: 6963 ldr r3, [r4, #20] + 80149a2: 455f cmp r7, fp + 80149a4: 463a mov r2, r7 + 80149a6: bf28 it cs + 80149a8: 465a movcs r2, fp + 80149aa: 4288 cmp r0, r1 + 80149ac: f240 80f5 bls.w 8014b9a <__sfvwrite_r+0x25e> + 80149b0: 441d add r5, r3 + 80149b2: 42aa cmp r2, r5 + 80149b4: f340 80f1 ble.w 8014b9a <__sfvwrite_r+0x25e> + 80149b8: 4651 mov r1, sl + 80149ba: 462a mov r2, r5 + 80149bc: f7fd fb43 bl 8012046 + 80149c0: 6823 ldr r3, [r4, #0] + 80149c2: 442b add r3, r5 + 80149c4: 6023 str r3, [r4, #0] + 80149c6: 4621 mov r1, r4 + 80149c8: 4630 mov r0, r6 + 80149ca: f7ff ff91 bl 80148f0 <_fflush_r> + 80149ce: 2800 cmp r0, #0 + 80149d0: d167 bne.n 8014aa2 <__sfvwrite_r+0x166> + 80149d2: 1b7f subs r7, r7, r5 + 80149d4: f040 80f9 bne.w 8014bca <__sfvwrite_r+0x28e> + 80149d8: 4621 mov r1, r4 + 80149da: 4630 mov r0, r6 + 80149dc: f7ff ff88 bl 80148f0 <_fflush_r> + 80149e0: 2800 cmp r0, #0 + 80149e2: d15e bne.n 8014aa2 <__sfvwrite_r+0x166> + 80149e4: f8d9 3008 ldr.w r3, [r9, #8] + 80149e8: 1b5b subs r3, r3, r5 + 80149ea: 44aa add sl, r5 + 80149ec: ebab 0b05 sub.w fp, fp, r5 + 80149f0: f8c9 3008 str.w r3, [r9, #8] + 80149f4: 2b00 cmp r3, #0 + 80149f6: d1c0 bne.n 801497a <__sfvwrite_r+0x3e> + 80149f8: e7a7 b.n 801494a <__sfvwrite_r+0xe> + 80149fa: 4621 mov r1, r4 + 80149fc: 4630 mov r0, r6 + 80149fe: f000 f8e9 bl 8014bd4 <__swsetup_r> + 8014a02: 2800 cmp r0, #0 + 8014a04: d0ab beq.n 801495e <__sfvwrite_r+0x22> + 8014a06: f04f 30ff mov.w r0, #4294967295 + 8014a0a: e79f b.n 801494c <__sfvwrite_r+0x10> + 8014a0c: e9d8 a500 ldrd sl, r5, [r8] + 8014a10: f108 0808 add.w r8, r8, #8 + 8014a14: f8d4 b024 ldr.w fp, [r4, #36] @ 0x24 + 8014a18: 69e1 ldr r1, [r4, #28] + 8014a1a: 2d00 cmp r5, #0 + 8014a1c: d0f6 beq.n 8014a0c <__sfvwrite_r+0xd0> + 8014a1e: 42bd cmp r5, r7 + 8014a20: 462b mov r3, r5 + 8014a22: 4652 mov r2, sl + 8014a24: bf28 it cs + 8014a26: 463b movcs r3, r7 + 8014a28: 4630 mov r0, r6 + 8014a2a: 47d8 blx fp + 8014a2c: 2800 cmp r0, #0 + 8014a2e: dd38 ble.n 8014aa2 <__sfvwrite_r+0x166> + 8014a30: f8d9 3008 ldr.w r3, [r9, #8] + 8014a34: 1a1b subs r3, r3, r0 + 8014a36: 4482 add sl, r0 + 8014a38: 1a2d subs r5, r5, r0 + 8014a3a: f8c9 3008 str.w r3, [r9, #8] + 8014a3e: 2b00 cmp r3, #0 + 8014a40: d1e8 bne.n 8014a14 <__sfvwrite_r+0xd8> + 8014a42: e782 b.n 801494a <__sfvwrite_r+0xe> + 8014a44: f04f 0a00 mov.w sl, #0 + 8014a48: 4f61 ldr r7, [pc, #388] @ (8014bd0 <__sfvwrite_r+0x294>) + 8014a4a: 4655 mov r5, sl + 8014a4c: e7e2 b.n 8014a14 <__sfvwrite_r+0xd8> + 8014a4e: e9d8 7a00 ldrd r7, sl, [r8] + 8014a52: f108 0808 add.w r8, r8, #8 + 8014a56: f9b4 300c ldrsh.w r3, [r4, #12] + 8014a5a: 6820 ldr r0, [r4, #0] + 8014a5c: 68a2 ldr r2, [r4, #8] + 8014a5e: f1ba 0f00 cmp.w sl, #0 + 8014a62: d0f4 beq.n 8014a4e <__sfvwrite_r+0x112> + 8014a64: 0599 lsls r1, r3, #22 + 8014a66: d563 bpl.n 8014b30 <__sfvwrite_r+0x1f4> + 8014a68: 4552 cmp r2, sl + 8014a6a: d836 bhi.n 8014ada <__sfvwrite_r+0x19e> + 8014a6c: f413 6f90 tst.w r3, #1152 @ 0x480 + 8014a70: d033 beq.n 8014ada <__sfvwrite_r+0x19e> + 8014a72: 6921 ldr r1, [r4, #16] + 8014a74: 6965 ldr r5, [r4, #20] + 8014a76: eba0 0b01 sub.w fp, r0, r1 + 8014a7a: eb05 0545 add.w r5, r5, r5, lsl #1 + 8014a7e: eb05 75d5 add.w r5, r5, r5, lsr #31 + 8014a82: f10b 0201 add.w r2, fp, #1 + 8014a86: 106d asrs r5, r5, #1 + 8014a88: 4452 add r2, sl + 8014a8a: 4295 cmp r5, r2 + 8014a8c: bf38 it cc + 8014a8e: 4615 movcc r5, r2 + 8014a90: 055b lsls r3, r3, #21 + 8014a92: d53d bpl.n 8014b10 <__sfvwrite_r+0x1d4> + 8014a94: 4629 mov r1, r5 + 8014a96: 4630 mov r0, r6 + 8014a98: f7fd fca0 bl 80123dc <_malloc_r> + 8014a9c: b948 cbnz r0, 8014ab2 <__sfvwrite_r+0x176> + 8014a9e: 230c movs r3, #12 + 8014aa0: 6033 str r3, [r6, #0] + 8014aa2: 89a3 ldrh r3, [r4, #12] + 8014aa4: f043 0340 orr.w r3, r3, #64 @ 0x40 + 8014aa8: 81a3 strh r3, [r4, #12] + 8014aaa: e7ac b.n 8014a06 <__sfvwrite_r+0xca> + 8014aac: 461f mov r7, r3 + 8014aae: 469a mov sl, r3 + 8014ab0: e7d1 b.n 8014a56 <__sfvwrite_r+0x11a> + 8014ab2: 465a mov r2, fp + 8014ab4: 6921 ldr r1, [r4, #16] + 8014ab6: 9001 str r0, [sp, #4] + 8014ab8: f7fd fb5c bl 8012174 + 8014abc: 89a2 ldrh r2, [r4, #12] + 8014abe: 9b01 ldr r3, [sp, #4] + 8014ac0: f422 6290 bic.w r2, r2, #1152 @ 0x480 + 8014ac4: f042 0280 orr.w r2, r2, #128 @ 0x80 + 8014ac8: 81a2 strh r2, [r4, #12] + 8014aca: 6123 str r3, [r4, #16] + 8014acc: 6165 str r5, [r4, #20] + 8014ace: 445b add r3, fp + 8014ad0: eba5 050b sub.w r5, r5, fp + 8014ad4: 6023 str r3, [r4, #0] + 8014ad6: 4652 mov r2, sl + 8014ad8: 60a5 str r5, [r4, #8] + 8014ada: 4552 cmp r2, sl + 8014adc: bf28 it cs + 8014ade: 4652 movcs r2, sl + 8014ae0: 6820 ldr r0, [r4, #0] + 8014ae2: 9201 str r2, [sp, #4] + 8014ae4: 4639 mov r1, r7 + 8014ae6: f7fd faae bl 8012046 + 8014aea: 68a3 ldr r3, [r4, #8] + 8014aec: 9a01 ldr r2, [sp, #4] + 8014aee: 1a9b subs r3, r3, r2 + 8014af0: 60a3 str r3, [r4, #8] + 8014af2: 6823 ldr r3, [r4, #0] + 8014af4: 4413 add r3, r2 + 8014af6: 4655 mov r5, sl + 8014af8: 6023 str r3, [r4, #0] + 8014afa: f8d9 3008 ldr.w r3, [r9, #8] + 8014afe: 1b5b subs r3, r3, r5 + 8014b00: 442f add r7, r5 + 8014b02: ebaa 0a05 sub.w sl, sl, r5 + 8014b06: f8c9 3008 str.w r3, [r9, #8] + 8014b0a: 2b00 cmp r3, #0 + 8014b0c: d1a3 bne.n 8014a56 <__sfvwrite_r+0x11a> + 8014b0e: e71c b.n 801494a <__sfvwrite_r+0xe> + 8014b10: 462a mov r2, r5 + 8014b12: 4630 mov r0, r6 + 8014b14: f001 fb5e bl 80161d4 <_realloc_r> + 8014b18: 4603 mov r3, r0 + 8014b1a: 2800 cmp r0, #0 + 8014b1c: d1d5 bne.n 8014aca <__sfvwrite_r+0x18e> + 8014b1e: 6921 ldr r1, [r4, #16] + 8014b20: 4630 mov r0, r6 + 8014b22: f7fd fb9b bl 801225c <_free_r> + 8014b26: 89a3 ldrh r3, [r4, #12] + 8014b28: f023 0380 bic.w r3, r3, #128 @ 0x80 + 8014b2c: 81a3 strh r3, [r4, #12] + 8014b2e: e7b6 b.n 8014a9e <__sfvwrite_r+0x162> + 8014b30: 6923 ldr r3, [r4, #16] + 8014b32: 4283 cmp r3, r0 + 8014b34: d302 bcc.n 8014b3c <__sfvwrite_r+0x200> + 8014b36: 6961 ldr r1, [r4, #20] + 8014b38: 4551 cmp r1, sl + 8014b3a: d915 bls.n 8014b68 <__sfvwrite_r+0x22c> + 8014b3c: 4552 cmp r2, sl + 8014b3e: bf28 it cs + 8014b40: 4652 movcs r2, sl + 8014b42: 4639 mov r1, r7 + 8014b44: 4615 mov r5, r2 + 8014b46: f7fd fa7e bl 8012046 + 8014b4a: 68a3 ldr r3, [r4, #8] + 8014b4c: 6822 ldr r2, [r4, #0] + 8014b4e: 1b5b subs r3, r3, r5 + 8014b50: 442a add r2, r5 + 8014b52: 60a3 str r3, [r4, #8] + 8014b54: 6022 str r2, [r4, #0] + 8014b56: 2b00 cmp r3, #0 + 8014b58: d1cf bne.n 8014afa <__sfvwrite_r+0x1be> + 8014b5a: 4621 mov r1, r4 + 8014b5c: 4630 mov r0, r6 + 8014b5e: f7ff fec7 bl 80148f0 <_fflush_r> + 8014b62: 2800 cmp r0, #0 + 8014b64: d0c9 beq.n 8014afa <__sfvwrite_r+0x1be> + 8014b66: e79c b.n 8014aa2 <__sfvwrite_r+0x166> + 8014b68: f06f 4300 mvn.w r3, #2147483648 @ 0x80000000 + 8014b6c: 4553 cmp r3, sl + 8014b6e: bf28 it cs + 8014b70: 4653 movcs r3, sl + 8014b72: 6a65 ldr r5, [r4, #36] @ 0x24 + 8014b74: fb93 f3f1 sdiv r3, r3, r1 + 8014b78: 463a mov r2, r7 + 8014b7a: 434b muls r3, r1 + 8014b7c: 4630 mov r0, r6 + 8014b7e: 69e1 ldr r1, [r4, #28] + 8014b80: 47a8 blx r5 + 8014b82: 1e05 subs r5, r0, #0 + 8014b84: dcb9 bgt.n 8014afa <__sfvwrite_r+0x1be> + 8014b86: e78c b.n 8014aa2 <__sfvwrite_r+0x166> + 8014b88: e9d8 ab00 ldrd sl, fp, [r8] + 8014b8c: 2000 movs r0, #0 + 8014b8e: f108 0808 add.w r8, r8, #8 + 8014b92: e6f2 b.n 801497a <__sfvwrite_r+0x3e> + 8014b94: f10b 0701 add.w r7, fp, #1 + 8014b98: e6ff b.n 801499a <__sfvwrite_r+0x5e> + 8014b9a: 4293 cmp r3, r2 + 8014b9c: dc08 bgt.n 8014bb0 <__sfvwrite_r+0x274> + 8014b9e: 6a65 ldr r5, [r4, #36] @ 0x24 + 8014ba0: 69e1 ldr r1, [r4, #28] + 8014ba2: 4652 mov r2, sl + 8014ba4: 4630 mov r0, r6 + 8014ba6: 47a8 blx r5 + 8014ba8: 1e05 subs r5, r0, #0 + 8014baa: f73f af12 bgt.w 80149d2 <__sfvwrite_r+0x96> + 8014bae: e778 b.n 8014aa2 <__sfvwrite_r+0x166> + 8014bb0: 4651 mov r1, sl + 8014bb2: 9201 str r2, [sp, #4] + 8014bb4: f7fd fa47 bl 8012046 + 8014bb8: 9a01 ldr r2, [sp, #4] + 8014bba: 68a3 ldr r3, [r4, #8] + 8014bbc: 1a9b subs r3, r3, r2 + 8014bbe: 60a3 str r3, [r4, #8] + 8014bc0: 6823 ldr r3, [r4, #0] + 8014bc2: 4413 add r3, r2 + 8014bc4: 6023 str r3, [r4, #0] + 8014bc6: 4615 mov r5, r2 + 8014bc8: e703 b.n 80149d2 <__sfvwrite_r+0x96> + 8014bca: 2001 movs r0, #1 + 8014bcc: e70a b.n 80149e4 <__sfvwrite_r+0xa8> + 8014bce: bf00 nop + 8014bd0: 7ffffc00 .word 0x7ffffc00 -08014254 <__swsetup_r>: - 8014254: b538 push {r3, r4, r5, lr} - 8014256: 4b29 ldr r3, [pc, #164] @ (80142fc <__swsetup_r+0xa8>) - 8014258: 4605 mov r5, r0 - 801425a: 6818 ldr r0, [r3, #0] - 801425c: 460c mov r4, r1 - 801425e: b118 cbz r0, 8014268 <__swsetup_r+0x14> - 8014260: 6b43 ldr r3, [r0, #52] @ 0x34 - 8014262: b90b cbnz r3, 8014268 <__swsetup_r+0x14> - 8014264: f7fd f992 bl 801158c <__sinit> - 8014268: f9b4 300c ldrsh.w r3, [r4, #12] - 801426c: 0719 lsls r1, r3, #28 - 801426e: d422 bmi.n 80142b6 <__swsetup_r+0x62> - 8014270: 06da lsls r2, r3, #27 - 8014272: d407 bmi.n 8014284 <__swsetup_r+0x30> - 8014274: 2209 movs r2, #9 - 8014276: 602a str r2, [r5, #0] - 8014278: f043 0340 orr.w r3, r3, #64 @ 0x40 - 801427c: 81a3 strh r3, [r4, #12] - 801427e: f04f 30ff mov.w r0, #4294967295 - 8014282: e033 b.n 80142ec <__swsetup_r+0x98> - 8014284: 0758 lsls r0, r3, #29 - 8014286: d512 bpl.n 80142ae <__swsetup_r+0x5a> - 8014288: 6b21 ldr r1, [r4, #48] @ 0x30 - 801428a: b141 cbz r1, 801429e <__swsetup_r+0x4a> - 801428c: f104 0340 add.w r3, r4, #64 @ 0x40 - 8014290: 4299 cmp r1, r3 - 8014292: d002 beq.n 801429a <__swsetup_r+0x46> - 8014294: 4628 mov r0, r5 - 8014296: f7fd fb1f bl 80118d8 <_free_r> - 801429a: 2300 movs r3, #0 - 801429c: 6323 str r3, [r4, #48] @ 0x30 - 801429e: 89a3 ldrh r3, [r4, #12] - 80142a0: f023 0324 bic.w r3, r3, #36 @ 0x24 - 80142a4: 81a3 strh r3, [r4, #12] - 80142a6: 2300 movs r3, #0 - 80142a8: 6063 str r3, [r4, #4] - 80142aa: 6923 ldr r3, [r4, #16] - 80142ac: 6023 str r3, [r4, #0] - 80142ae: 89a3 ldrh r3, [r4, #12] - 80142b0: f043 0308 orr.w r3, r3, #8 - 80142b4: 81a3 strh r3, [r4, #12] - 80142b6: 6923 ldr r3, [r4, #16] - 80142b8: b94b cbnz r3, 80142ce <__swsetup_r+0x7a> - 80142ba: 89a3 ldrh r3, [r4, #12] - 80142bc: f403 7320 and.w r3, r3, #640 @ 0x280 - 80142c0: f5b3 7f00 cmp.w r3, #512 @ 0x200 - 80142c4: d003 beq.n 80142ce <__swsetup_r+0x7a> - 80142c6: 4621 mov r1, r4 - 80142c8: 4628 mov r0, r5 - 80142ca: f001 fcb7 bl 8015c3c <__smakebuf_r> - 80142ce: f9b4 300c ldrsh.w r3, [r4, #12] - 80142d2: f013 0201 ands.w r2, r3, #1 - 80142d6: d00a beq.n 80142ee <__swsetup_r+0x9a> - 80142d8: 2200 movs r2, #0 - 80142da: 60a2 str r2, [r4, #8] - 80142dc: 6962 ldr r2, [r4, #20] - 80142de: 4252 negs r2, r2 - 80142e0: 61a2 str r2, [r4, #24] - 80142e2: 6922 ldr r2, [r4, #16] - 80142e4: b942 cbnz r2, 80142f8 <__swsetup_r+0xa4> - 80142e6: f013 0080 ands.w r0, r3, #128 @ 0x80 - 80142ea: d1c5 bne.n 8014278 <__swsetup_r+0x24> - 80142ec: bd38 pop {r3, r4, r5, pc} - 80142ee: 0799 lsls r1, r3, #30 - 80142f0: bf58 it pl - 80142f2: 6962 ldrpl r2, [r4, #20] - 80142f4: 60a2 str r2, [r4, #8] - 80142f6: e7f4 b.n 80142e2 <__swsetup_r+0x8e> - 80142f8: 2000 movs r0, #0 - 80142fa: e7f7 b.n 80142ec <__swsetup_r+0x98> - 80142fc: 2000003c .word 0x2000003c +08014bd4 <__swsetup_r>: + 8014bd4: b538 push {r3, r4, r5, lr} + 8014bd6: 4b29 ldr r3, [pc, #164] @ (8014c7c <__swsetup_r+0xa8>) + 8014bd8: 4605 mov r5, r0 + 8014bda: 6818 ldr r0, [r3, #0] + 8014bdc: 460c mov r4, r1 + 8014bde: b118 cbz r0, 8014be8 <__swsetup_r+0x14> + 8014be0: 6b43 ldr r3, [r0, #52] @ 0x34 + 8014be2: b90b cbnz r3, 8014be8 <__swsetup_r+0x14> + 8014be4: f7fd f994 bl 8011f10 <__sinit> + 8014be8: f9b4 300c ldrsh.w r3, [r4, #12] + 8014bec: 0719 lsls r1, r3, #28 + 8014bee: d422 bmi.n 8014c36 <__swsetup_r+0x62> + 8014bf0: 06da lsls r2, r3, #27 + 8014bf2: d407 bmi.n 8014c04 <__swsetup_r+0x30> + 8014bf4: 2209 movs r2, #9 + 8014bf6: 602a str r2, [r5, #0] + 8014bf8: f043 0340 orr.w r3, r3, #64 @ 0x40 + 8014bfc: 81a3 strh r3, [r4, #12] + 8014bfe: f04f 30ff mov.w r0, #4294967295 + 8014c02: e033 b.n 8014c6c <__swsetup_r+0x98> + 8014c04: 0758 lsls r0, r3, #29 + 8014c06: d512 bpl.n 8014c2e <__swsetup_r+0x5a> + 8014c08: 6b21 ldr r1, [r4, #48] @ 0x30 + 8014c0a: b141 cbz r1, 8014c1e <__swsetup_r+0x4a> + 8014c0c: f104 0340 add.w r3, r4, #64 @ 0x40 + 8014c10: 4299 cmp r1, r3 + 8014c12: d002 beq.n 8014c1a <__swsetup_r+0x46> + 8014c14: 4628 mov r0, r5 + 8014c16: f7fd fb21 bl 801225c <_free_r> + 8014c1a: 2300 movs r3, #0 + 8014c1c: 6323 str r3, [r4, #48] @ 0x30 + 8014c1e: 89a3 ldrh r3, [r4, #12] + 8014c20: f023 0324 bic.w r3, r3, #36 @ 0x24 + 8014c24: 81a3 strh r3, [r4, #12] + 8014c26: 2300 movs r3, #0 + 8014c28: 6063 str r3, [r4, #4] + 8014c2a: 6923 ldr r3, [r4, #16] + 8014c2c: 6023 str r3, [r4, #0] + 8014c2e: 89a3 ldrh r3, [r4, #12] + 8014c30: f043 0308 orr.w r3, r3, #8 + 8014c34: 81a3 strh r3, [r4, #12] + 8014c36: 6923 ldr r3, [r4, #16] + 8014c38: b94b cbnz r3, 8014c4e <__swsetup_r+0x7a> + 8014c3a: 89a3 ldrh r3, [r4, #12] + 8014c3c: f403 7320 and.w r3, r3, #640 @ 0x280 + 8014c40: f5b3 7f00 cmp.w r3, #512 @ 0x200 + 8014c44: d003 beq.n 8014c4e <__swsetup_r+0x7a> + 8014c46: 4621 mov r1, r4 + 8014c48: 4628 mov r0, r5 + 8014c4a: f001 fcb7 bl 80165bc <__smakebuf_r> + 8014c4e: f9b4 300c ldrsh.w r3, [r4, #12] + 8014c52: f013 0201 ands.w r2, r3, #1 + 8014c56: d00a beq.n 8014c6e <__swsetup_r+0x9a> + 8014c58: 2200 movs r2, #0 + 8014c5a: 60a2 str r2, [r4, #8] + 8014c5c: 6962 ldr r2, [r4, #20] + 8014c5e: 4252 negs r2, r2 + 8014c60: 61a2 str r2, [r4, #24] + 8014c62: 6922 ldr r2, [r4, #16] + 8014c64: b942 cbnz r2, 8014c78 <__swsetup_r+0xa4> + 8014c66: f013 0080 ands.w r0, r3, #128 @ 0x80 + 8014c6a: d1c5 bne.n 8014bf8 <__swsetup_r+0x24> + 8014c6c: bd38 pop {r3, r4, r5, pc} + 8014c6e: 0799 lsls r1, r3, #30 + 8014c70: bf58 it pl + 8014c72: 6962 ldrpl r2, [r4, #20] + 8014c74: 60a2 str r2, [r4, #8] + 8014c76: e7f4 b.n 8014c62 <__swsetup_r+0x8e> + 8014c78: 2000 movs r0, #0 + 8014c7a: e7f7 b.n 8014c6c <__swsetup_r+0x98> + 8014c7c: 2000003c .word 0x2000003c -08014300 <__fputwc>: - 8014300: e92d 43f7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, lr} - 8014304: 4680 mov r8, r0 - 8014306: 460f mov r7, r1 - 8014308: 4614 mov r4, r2 - 801430a: f000 f877 bl 80143fc <__locale_mb_cur_max> - 801430e: 2801 cmp r0, #1 - 8014310: 4605 mov r5, r0 - 8014312: d11b bne.n 801434c <__fputwc+0x4c> - 8014314: 1e7b subs r3, r7, #1 - 8014316: 2bfe cmp r3, #254 @ 0xfe - 8014318: d818 bhi.n 801434c <__fputwc+0x4c> - 801431a: f88d 7004 strb.w r7, [sp, #4] - 801431e: 2600 movs r6, #0 - 8014320: f10d 0904 add.w r9, sp, #4 - 8014324: 42ae cmp r6, r5 - 8014326: d021 beq.n 801436c <__fputwc+0x6c> - 8014328: 68a3 ldr r3, [r4, #8] - 801432a: f816 1009 ldrb.w r1, [r6, r9] - 801432e: 3b01 subs r3, #1 - 8014330: 2b00 cmp r3, #0 - 8014332: 60a3 str r3, [r4, #8] - 8014334: da04 bge.n 8014340 <__fputwc+0x40> - 8014336: 69a2 ldr r2, [r4, #24] - 8014338: 4293 cmp r3, r2 - 801433a: db1b blt.n 8014374 <__fputwc+0x74> - 801433c: 290a cmp r1, #10 - 801433e: d019 beq.n 8014374 <__fputwc+0x74> - 8014340: 6823 ldr r3, [r4, #0] - 8014342: 1c5a adds r2, r3, #1 - 8014344: 6022 str r2, [r4, #0] - 8014346: 7019 strb r1, [r3, #0] - 8014348: 3601 adds r6, #1 - 801434a: e7eb b.n 8014324 <__fputwc+0x24> - 801434c: f104 035c add.w r3, r4, #92 @ 0x5c - 8014350: 463a mov r2, r7 - 8014352: a901 add r1, sp, #4 - 8014354: 4640 mov r0, r8 - 8014356: f001 fc33 bl 8015bc0 <_wcrtomb_r> - 801435a: 1c43 adds r3, r0, #1 - 801435c: 4605 mov r5, r0 - 801435e: d1de bne.n 801431e <__fputwc+0x1e> - 8014360: 89a3 ldrh r3, [r4, #12] - 8014362: f043 0340 orr.w r3, r3, #64 @ 0x40 - 8014366: 81a3 strh r3, [r4, #12] - 8014368: f04f 37ff mov.w r7, #4294967295 - 801436c: 4638 mov r0, r7 - 801436e: b003 add sp, #12 - 8014370: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 8014374: 4622 mov r2, r4 - 8014376: 4640 mov r0, r8 - 8014378: f001 fc9c bl 8015cb4 <__swbuf_r> - 801437c: 3001 adds r0, #1 - 801437e: d1e3 bne.n 8014348 <__fputwc+0x48> - 8014380: e7f2 b.n 8014368 <__fputwc+0x68> +08014c80 <__fputwc>: + 8014c80: e92d 43f7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, lr} + 8014c84: 4680 mov r8, r0 + 8014c86: 460f mov r7, r1 + 8014c88: 4614 mov r4, r2 + 8014c8a: f000 f877 bl 8014d7c <__locale_mb_cur_max> + 8014c8e: 2801 cmp r0, #1 + 8014c90: 4605 mov r5, r0 + 8014c92: d11b bne.n 8014ccc <__fputwc+0x4c> + 8014c94: 1e7b subs r3, r7, #1 + 8014c96: 2bfe cmp r3, #254 @ 0xfe + 8014c98: d818 bhi.n 8014ccc <__fputwc+0x4c> + 8014c9a: f88d 7004 strb.w r7, [sp, #4] + 8014c9e: 2600 movs r6, #0 + 8014ca0: f10d 0904 add.w r9, sp, #4 + 8014ca4: 42ae cmp r6, r5 + 8014ca6: d021 beq.n 8014cec <__fputwc+0x6c> + 8014ca8: 68a3 ldr r3, [r4, #8] + 8014caa: f816 1009 ldrb.w r1, [r6, r9] + 8014cae: 3b01 subs r3, #1 + 8014cb0: 2b00 cmp r3, #0 + 8014cb2: 60a3 str r3, [r4, #8] + 8014cb4: da04 bge.n 8014cc0 <__fputwc+0x40> + 8014cb6: 69a2 ldr r2, [r4, #24] + 8014cb8: 4293 cmp r3, r2 + 8014cba: db1b blt.n 8014cf4 <__fputwc+0x74> + 8014cbc: 290a cmp r1, #10 + 8014cbe: d019 beq.n 8014cf4 <__fputwc+0x74> + 8014cc0: 6823 ldr r3, [r4, #0] + 8014cc2: 1c5a adds r2, r3, #1 + 8014cc4: 6022 str r2, [r4, #0] + 8014cc6: 7019 strb r1, [r3, #0] + 8014cc8: 3601 adds r6, #1 + 8014cca: e7eb b.n 8014ca4 <__fputwc+0x24> + 8014ccc: f104 035c add.w r3, r4, #92 @ 0x5c + 8014cd0: 463a mov r2, r7 + 8014cd2: a901 add r1, sp, #4 + 8014cd4: 4640 mov r0, r8 + 8014cd6: f001 fc33 bl 8016540 <_wcrtomb_r> + 8014cda: 1c43 adds r3, r0, #1 + 8014cdc: 4605 mov r5, r0 + 8014cde: d1de bne.n 8014c9e <__fputwc+0x1e> + 8014ce0: 89a3 ldrh r3, [r4, #12] + 8014ce2: f043 0340 orr.w r3, r3, #64 @ 0x40 + 8014ce6: 81a3 strh r3, [r4, #12] + 8014ce8: f04f 37ff mov.w r7, #4294967295 + 8014cec: 4638 mov r0, r7 + 8014cee: b003 add sp, #12 + 8014cf0: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 8014cf4: 4622 mov r2, r4 + 8014cf6: 4640 mov r0, r8 + 8014cf8: f001 fc9c bl 8016634 <__swbuf_r> + 8014cfc: 3001 adds r0, #1 + 8014cfe: d1e3 bne.n 8014cc8 <__fputwc+0x48> + 8014d00: e7f2 b.n 8014ce8 <__fputwc+0x68> -08014382 <_fputwc_r>: - 8014382: 6e53 ldr r3, [r2, #100] @ 0x64 - 8014384: 07db lsls r3, r3, #31 - 8014386: b570 push {r4, r5, r6, lr} - 8014388: 4605 mov r5, r0 - 801438a: 460e mov r6, r1 - 801438c: 4614 mov r4, r2 - 801438e: d405 bmi.n 801439c <_fputwc_r+0x1a> - 8014390: 8993 ldrh r3, [r2, #12] - 8014392: 0598 lsls r0, r3, #22 - 8014394: d402 bmi.n 801439c <_fputwc_r+0x1a> - 8014396: 6d90 ldr r0, [r2, #88] @ 0x58 - 8014398: f7fd fa28 bl 80117ec <__retarget_lock_acquire_recursive> - 801439c: f9b4 300c ldrsh.w r3, [r4, #12] - 80143a0: 0499 lsls r1, r3, #18 - 80143a2: d406 bmi.n 80143b2 <_fputwc_r+0x30> - 80143a4: f443 5300 orr.w r3, r3, #8192 @ 0x2000 - 80143a8: 81a3 strh r3, [r4, #12] - 80143aa: 6e63 ldr r3, [r4, #100] @ 0x64 - 80143ac: f443 5300 orr.w r3, r3, #8192 @ 0x2000 - 80143b0: 6663 str r3, [r4, #100] @ 0x64 - 80143b2: 4622 mov r2, r4 - 80143b4: 4628 mov r0, r5 - 80143b6: 4631 mov r1, r6 - 80143b8: f7ff ffa2 bl 8014300 <__fputwc> - 80143bc: 6e63 ldr r3, [r4, #100] @ 0x64 - 80143be: 07da lsls r2, r3, #31 - 80143c0: 4605 mov r5, r0 - 80143c2: d405 bmi.n 80143d0 <_fputwc_r+0x4e> - 80143c4: 89a3 ldrh r3, [r4, #12] - 80143c6: 059b lsls r3, r3, #22 - 80143c8: d402 bmi.n 80143d0 <_fputwc_r+0x4e> - 80143ca: 6da0 ldr r0, [r4, #88] @ 0x58 - 80143cc: f7fd fa0f bl 80117ee <__retarget_lock_release_recursive> - 80143d0: 4628 mov r0, r5 - 80143d2: bd70 pop {r4, r5, r6, pc} +08014d02 <_fputwc_r>: + 8014d02: 6e53 ldr r3, [r2, #100] @ 0x64 + 8014d04: 07db lsls r3, r3, #31 + 8014d06: b570 push {r4, r5, r6, lr} + 8014d08: 4605 mov r5, r0 + 8014d0a: 460e mov r6, r1 + 8014d0c: 4614 mov r4, r2 + 8014d0e: d405 bmi.n 8014d1c <_fputwc_r+0x1a> + 8014d10: 8993 ldrh r3, [r2, #12] + 8014d12: 0598 lsls r0, r3, #22 + 8014d14: d402 bmi.n 8014d1c <_fputwc_r+0x1a> + 8014d16: 6d90 ldr r0, [r2, #88] @ 0x58 + 8014d18: f7fd fa2a bl 8012170 <__retarget_lock_acquire_recursive> + 8014d1c: f9b4 300c ldrsh.w r3, [r4, #12] + 8014d20: 0499 lsls r1, r3, #18 + 8014d22: d406 bmi.n 8014d32 <_fputwc_r+0x30> + 8014d24: f443 5300 orr.w r3, r3, #8192 @ 0x2000 + 8014d28: 81a3 strh r3, [r4, #12] + 8014d2a: 6e63 ldr r3, [r4, #100] @ 0x64 + 8014d2c: f443 5300 orr.w r3, r3, #8192 @ 0x2000 + 8014d30: 6663 str r3, [r4, #100] @ 0x64 + 8014d32: 4622 mov r2, r4 + 8014d34: 4628 mov r0, r5 + 8014d36: 4631 mov r1, r6 + 8014d38: f7ff ffa2 bl 8014c80 <__fputwc> + 8014d3c: 6e63 ldr r3, [r4, #100] @ 0x64 + 8014d3e: 07da lsls r2, r3, #31 + 8014d40: 4605 mov r5, r0 + 8014d42: d405 bmi.n 8014d50 <_fputwc_r+0x4e> + 8014d44: 89a3 ldrh r3, [r4, #12] + 8014d46: 059b lsls r3, r3, #22 + 8014d48: d402 bmi.n 8014d50 <_fputwc_r+0x4e> + 8014d4a: 6da0 ldr r0, [r4, #88] @ 0x58 + 8014d4c: f7fd fa11 bl 8012172 <__retarget_lock_release_recursive> + 8014d50: 4628 mov r0, r5 + 8014d52: bd70 pop {r4, r5, r6, pc} -080143d4 : - 80143d4: b510 push {r4, lr} - 80143d6: 3901 subs r1, #1 - 80143d8: 4603 mov r3, r0 - 80143da: b132 cbz r2, 80143ea - 80143dc: f811 4f01 ldrb.w r4, [r1, #1]! - 80143e0: f803 4b01 strb.w r4, [r3], #1 - 80143e4: 3a01 subs r2, #1 - 80143e6: 2c00 cmp r4, #0 - 80143e8: d1f7 bne.n 80143da - 80143ea: 441a add r2, r3 - 80143ec: 2100 movs r1, #0 - 80143ee: 4293 cmp r3, r2 - 80143f0: d100 bne.n 80143f4 - 80143f2: bd10 pop {r4, pc} - 80143f4: f803 1b01 strb.w r1, [r3], #1 - 80143f8: e7f9 b.n 80143ee +08014d54 : + 8014d54: b510 push {r4, lr} + 8014d56: 3901 subs r1, #1 + 8014d58: 4603 mov r3, r0 + 8014d5a: b132 cbz r2, 8014d6a + 8014d5c: f811 4f01 ldrb.w r4, [r1, #1]! + 8014d60: f803 4b01 strb.w r4, [r3], #1 + 8014d64: 3a01 subs r2, #1 + 8014d66: 2c00 cmp r4, #0 + 8014d68: d1f7 bne.n 8014d5a + 8014d6a: 441a add r2, r3 + 8014d6c: 2100 movs r1, #0 + 8014d6e: 4293 cmp r3, r2 + 8014d70: d100 bne.n 8014d74 + 8014d72: bd10 pop {r4, pc} + 8014d74: f803 1b01 strb.w r1, [r3], #1 + 8014d78: e7f9 b.n 8014d6e ... -080143fc <__locale_mb_cur_max>: - 80143fc: 4b01 ldr r3, [pc, #4] @ (8014404 <__locale_mb_cur_max+0x8>) - 80143fe: f893 0128 ldrb.w r0, [r3, #296] @ 0x128 - 8014402: 4770 bx lr - 8014404: 20000574 .word 0x20000574 +08014d7c <__locale_mb_cur_max>: + 8014d7c: 4b01 ldr r3, [pc, #4] @ (8014d84 <__locale_mb_cur_max+0x8>) + 8014d7e: f893 0128 ldrb.w r0, [r3, #296] @ 0x128 + 8014d82: 4770 bx lr + 8014d84: 20000574 .word 0x20000574 -08014408 <_localeconv_r>: - 8014408: 4800 ldr r0, [pc, #0] @ (801440c <_localeconv_r+0x4>) - 801440a: 4770 bx lr - 801440c: 20000664 .word 0x20000664 +08014d88 <_localeconv_r>: + 8014d88: 4800 ldr r0, [pc, #0] @ (8014d8c <_localeconv_r+0x4>) + 8014d8a: 4770 bx lr + 8014d8c: 20000664 .word 0x20000664 -08014410 <_sbrk_r>: - 8014410: b538 push {r3, r4, r5, lr} - 8014412: 4d06 ldr r5, [pc, #24] @ (801442c <_sbrk_r+0x1c>) - 8014414: 2300 movs r3, #0 - 8014416: 4604 mov r4, r0 - 8014418: 4608 mov r0, r1 - 801441a: 602b str r3, [r5, #0] - 801441c: f001 fda0 bl 8015f60 <_sbrk> - 8014420: 1c43 adds r3, r0, #1 - 8014422: d102 bne.n 801442a <_sbrk_r+0x1a> - 8014424: 682b ldr r3, [r5, #0] - 8014426: b103 cbz r3, 801442a <_sbrk_r+0x1a> - 8014428: 6023 str r3, [r4, #0] - 801442a: bd38 pop {r3, r4, r5, pc} - 801442c: 20019370 .word 0x20019370 +08014d90 <_sbrk_r>: + 8014d90: b538 push {r3, r4, r5, lr} + 8014d92: 4d06 ldr r5, [pc, #24] @ (8014dac <_sbrk_r+0x1c>) + 8014d94: 2300 movs r3, #0 + 8014d96: 4604 mov r4, r0 + 8014d98: 4608 mov r0, r1 + 8014d9a: 602b str r3, [r5, #0] + 8014d9c: f001 fda0 bl 80168e0 <_sbrk> + 8014da0: 1c43 adds r3, r0, #1 + 8014da2: d102 bne.n 8014daa <_sbrk_r+0x1a> + 8014da4: 682b ldr r3, [r5, #0] + 8014da6: b103 cbz r3, 8014daa <_sbrk_r+0x1a> + 8014da8: 6023 str r3, [r4, #0] + 8014daa: bd38 pop {r3, r4, r5, pc} + 8014dac: 200193a4 .word 0x200193a4 -08014430 <__libc_fini_array>: - 8014430: b538 push {r3, r4, r5, lr} - 8014432: 4d07 ldr r5, [pc, #28] @ (8014450 <__libc_fini_array+0x20>) - 8014434: 4c07 ldr r4, [pc, #28] @ (8014454 <__libc_fini_array+0x24>) - 8014436: 1b64 subs r4, r4, r5 - 8014438: 10a4 asrs r4, r4, #2 - 801443a: b91c cbnz r4, 8014444 <__libc_fini_array+0x14> - 801443c: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 8014440: f001 bdac b.w 8015f9c <_fini> - 8014444: 3c01 subs r4, #1 - 8014446: f855 3024 ldr.w r3, [r5, r4, lsl #2] - 801444a: 4798 blx r3 - 801444c: e7f5 b.n 801443a <__libc_fini_array+0xa> - 801444e: bf00 nop - 8014450: 08019284 .word 0x08019284 - 8014454: 08019288 .word 0x08019288 +08014db0 <__libc_fini_array>: + 8014db0: b538 push {r3, r4, r5, lr} + 8014db2: 4d07 ldr r5, [pc, #28] @ (8014dd0 <__libc_fini_array+0x20>) + 8014db4: 4c07 ldr r4, [pc, #28] @ (8014dd4 <__libc_fini_array+0x24>) + 8014db6: 1b64 subs r4, r4, r5 + 8014db8: 10a4 asrs r4, r4, #2 + 8014dba: b91c cbnz r4, 8014dc4 <__libc_fini_array+0x14> + 8014dbc: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 8014dc0: f001 bdac b.w 801691c <_fini> + 8014dc4: 3c01 subs r4, #1 + 8014dc6: f855 3024 ldr.w r3, [r5, r4, lsl #2] + 8014dca: 4798 blx r3 + 8014dcc: e7f5 b.n 8014dba <__libc_fini_array+0xa> + 8014dce: bf00 nop + 8014dd0: 08019c04 .word 0x08019c04 + 8014dd4: 08019c08 .word 0x08019c08 -08014458 : - 8014458: 2808 cmp r0, #8 - 801445a: b508 push {r3, lr} - 801445c: d006 beq.n 801446c - 801445e: f7fd f999 bl 8011794 <__errno> - 8014462: 2316 movs r3, #22 - 8014464: 6003 str r3, [r0, #0] - 8014466: f04f 30ff mov.w r0, #4294967295 - 801446a: bd08 pop {r3, pc} - 801446c: 2080 movs r0, #128 @ 0x80 - 801446e: e7fc b.n 801446a +08014dd8 : + 8014dd8: 2808 cmp r0, #8 + 8014dda: b508 push {r3, lr} + 8014ddc: d006 beq.n 8014dec + 8014dde: f7fd f99b bl 8012118 <__errno> + 8014de2: 2316 movs r3, #22 + 8014de4: 6003 str r3, [r0, #0] + 8014de6: f04f 30ff mov.w r0, #4294967295 + 8014dea: bd08 pop {r3, pc} + 8014dec: 2080 movs r0, #128 @ 0x80 + 8014dee: e7fc b.n 8014dea -08014470 : - 8014470: b570 push {r4, r5, r6, lr} - 8014472: 2100 movs r1, #0 - 8014474: ec55 4b10 vmov r4, r5, d0 - 8014478: 6001 str r1, [r0, #0] - 801447a: 4915 ldr r1, [pc, #84] @ (80144d0 ) - 801447c: f025 4200 bic.w r2, r5, #2147483648 @ 0x80000000 - 8014480: 428a cmp r2, r1 - 8014482: 4606 mov r6, r0 - 8014484: 462b mov r3, r5 - 8014486: d820 bhi.n 80144ca - 8014488: 4621 mov r1, r4 - 801448a: 4311 orrs r1, r2 - 801448c: d01d beq.n 80144ca - 801448e: 4911 ldr r1, [pc, #68] @ (80144d4 ) - 8014490: 4029 ands r1, r5 - 8014492: b961 cbnz r1, 80144ae - 8014494: 4b10 ldr r3, [pc, #64] @ (80144d8 ) - 8014496: 2200 movs r2, #0 - 8014498: 4620 mov r0, r4 - 801449a: 4629 mov r1, r5 - 801449c: f7ec f8bc bl 8000618 <__aeabi_dmul> - 80144a0: 460b mov r3, r1 - 80144a2: f021 4200 bic.w r2, r1, #2147483648 @ 0x80000000 - 80144a6: f06f 0135 mvn.w r1, #53 @ 0x35 - 80144aa: 4604 mov r4, r0 - 80144ac: 6031 str r1, [r6, #0] - 80144ae: 6831 ldr r1, [r6, #0] - 80144b0: 1512 asrs r2, r2, #20 - 80144b2: f023 43ff bic.w r3, r3, #2139095040 @ 0x7f800000 - 80144b6: f2a2 32fe subw r2, r2, #1022 @ 0x3fe - 80144ba: f423 03e0 bic.w r3, r3, #7340032 @ 0x700000 - 80144be: 4411 add r1, r2 - 80144c0: f043 557f orr.w r5, r3, #1069547520 @ 0x3fc00000 - 80144c4: 6031 str r1, [r6, #0] - 80144c6: f445 1500 orr.w r5, r5, #2097152 @ 0x200000 - 80144ca: ec45 4b10 vmov d0, r4, r5 - 80144ce: bd70 pop {r4, r5, r6, pc} - 80144d0: 7fefffff .word 0x7fefffff - 80144d4: 7ff00000 .word 0x7ff00000 - 80144d8: 43500000 .word 0x43500000 +08014df0 : + 8014df0: b570 push {r4, r5, r6, lr} + 8014df2: 2100 movs r1, #0 + 8014df4: ec55 4b10 vmov r4, r5, d0 + 8014df8: 6001 str r1, [r0, #0] + 8014dfa: 4915 ldr r1, [pc, #84] @ (8014e50 ) + 8014dfc: f025 4200 bic.w r2, r5, #2147483648 @ 0x80000000 + 8014e00: 428a cmp r2, r1 + 8014e02: 4606 mov r6, r0 + 8014e04: 462b mov r3, r5 + 8014e06: d820 bhi.n 8014e4a + 8014e08: 4621 mov r1, r4 + 8014e0a: 4311 orrs r1, r2 + 8014e0c: d01d beq.n 8014e4a + 8014e0e: 4911 ldr r1, [pc, #68] @ (8014e54 ) + 8014e10: 4029 ands r1, r5 + 8014e12: b961 cbnz r1, 8014e2e + 8014e14: 4b10 ldr r3, [pc, #64] @ (8014e58 ) + 8014e16: 2200 movs r2, #0 + 8014e18: 4620 mov r0, r4 + 8014e1a: 4629 mov r1, r5 + 8014e1c: f7eb fbfc bl 8000618 <__aeabi_dmul> + 8014e20: 460b mov r3, r1 + 8014e22: f021 4200 bic.w r2, r1, #2147483648 @ 0x80000000 + 8014e26: f06f 0135 mvn.w r1, #53 @ 0x35 + 8014e2a: 4604 mov r4, r0 + 8014e2c: 6031 str r1, [r6, #0] + 8014e2e: 6831 ldr r1, [r6, #0] + 8014e30: 1512 asrs r2, r2, #20 + 8014e32: f023 43ff bic.w r3, r3, #2139095040 @ 0x7f800000 + 8014e36: f2a2 32fe subw r2, r2, #1022 @ 0x3fe + 8014e3a: f423 03e0 bic.w r3, r3, #7340032 @ 0x700000 + 8014e3e: 4411 add r1, r2 + 8014e40: f043 557f orr.w r5, r3, #1069547520 @ 0x3fc00000 + 8014e44: 6031 str r1, [r6, #0] + 8014e46: f445 1500 orr.w r5, r5, #2097152 @ 0x200000 + 8014e4a: ec45 4b10 vmov d0, r4, r5 + 8014e4e: bd70 pop {r4, r5, r6, pc} + 8014e50: 7fefffff .word 0x7fefffff + 8014e54: 7ff00000 .word 0x7ff00000 + 8014e58: 43500000 .word 0x43500000 -080144dc <__register_exitproc>: - 80144dc: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 80144e0: f8df a074 ldr.w sl, [pc, #116] @ 8014558 <__register_exitproc+0x7c> - 80144e4: 4606 mov r6, r0 - 80144e6: f8da 0000 ldr.w r0, [sl] - 80144ea: 4698 mov r8, r3 - 80144ec: 460f mov r7, r1 - 80144ee: 4691 mov r9, r2 - 80144f0: f7fd f97c bl 80117ec <__retarget_lock_acquire_recursive> - 80144f4: 4b16 ldr r3, [pc, #88] @ (8014550 <__register_exitproc+0x74>) - 80144f6: 681c ldr r4, [r3, #0] - 80144f8: b90c cbnz r4, 80144fe <__register_exitproc+0x22> - 80144fa: 4c16 ldr r4, [pc, #88] @ (8014554 <__register_exitproc+0x78>) - 80144fc: 601c str r4, [r3, #0] - 80144fe: 6865 ldr r5, [r4, #4] - 8014500: f8da 0000 ldr.w r0, [sl] - 8014504: 2d1f cmp r5, #31 - 8014506: dd05 ble.n 8014514 <__register_exitproc+0x38> - 8014508: f7fd f971 bl 80117ee <__retarget_lock_release_recursive> - 801450c: f04f 30ff mov.w r0, #4294967295 - 8014510: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8014514: b19e cbz r6, 801453e <__register_exitproc+0x62> - 8014516: eb04 0185 add.w r1, r4, r5, lsl #2 - 801451a: 2201 movs r2, #1 - 801451c: f8c1 9088 str.w r9, [r1, #136] @ 0x88 - 8014520: f8d4 3188 ldr.w r3, [r4, #392] @ 0x188 - 8014524: 40aa lsls r2, r5 - 8014526: 4313 orrs r3, r2 - 8014528: f8c4 3188 str.w r3, [r4, #392] @ 0x188 - 801452c: 2e02 cmp r6, #2 - 801452e: f8c1 8108 str.w r8, [r1, #264] @ 0x108 - 8014532: bf02 ittt eq - 8014534: f8d4 318c ldreq.w r3, [r4, #396] @ 0x18c - 8014538: 4313 orreq r3, r2 - 801453a: f8c4 318c streq.w r3, [r4, #396] @ 0x18c - 801453e: 1c6b adds r3, r5, #1 - 8014540: 3502 adds r5, #2 - 8014542: 6063 str r3, [r4, #4] - 8014544: f844 7025 str.w r7, [r4, r5, lsl #2] - 8014548: f7fd f951 bl 80117ee <__retarget_lock_release_recursive> - 801454c: 2000 movs r0, #0 - 801454e: e7df b.n 8014510 <__register_exitproc+0x34> - 8014550: 20019378 .word 0x20019378 - 8014554: 200193b0 .word 0x200193b0 - 8014558: 20000160 .word 0x20000160 +08014e5c <__register_exitproc>: + 8014e5c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8014e60: f8df a074 ldr.w sl, [pc, #116] @ 8014ed8 <__register_exitproc+0x7c> + 8014e64: 4606 mov r6, r0 + 8014e66: f8da 0000 ldr.w r0, [sl] + 8014e6a: 4698 mov r8, r3 + 8014e6c: 460f mov r7, r1 + 8014e6e: 4691 mov r9, r2 + 8014e70: f7fd f97e bl 8012170 <__retarget_lock_acquire_recursive> + 8014e74: 4b16 ldr r3, [pc, #88] @ (8014ed0 <__register_exitproc+0x74>) + 8014e76: 681c ldr r4, [r3, #0] + 8014e78: b90c cbnz r4, 8014e7e <__register_exitproc+0x22> + 8014e7a: 4c16 ldr r4, [pc, #88] @ (8014ed4 <__register_exitproc+0x78>) + 8014e7c: 601c str r4, [r3, #0] + 8014e7e: 6865 ldr r5, [r4, #4] + 8014e80: f8da 0000 ldr.w r0, [sl] + 8014e84: 2d1f cmp r5, #31 + 8014e86: dd05 ble.n 8014e94 <__register_exitproc+0x38> + 8014e88: f7fd f973 bl 8012172 <__retarget_lock_release_recursive> + 8014e8c: f04f 30ff mov.w r0, #4294967295 + 8014e90: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8014e94: b19e cbz r6, 8014ebe <__register_exitproc+0x62> + 8014e96: eb04 0185 add.w r1, r4, r5, lsl #2 + 8014e9a: 2201 movs r2, #1 + 8014e9c: f8c1 9088 str.w r9, [r1, #136] @ 0x88 + 8014ea0: f8d4 3188 ldr.w r3, [r4, #392] @ 0x188 + 8014ea4: 40aa lsls r2, r5 + 8014ea6: 4313 orrs r3, r2 + 8014ea8: f8c4 3188 str.w r3, [r4, #392] @ 0x188 + 8014eac: 2e02 cmp r6, #2 + 8014eae: f8c1 8108 str.w r8, [r1, #264] @ 0x108 + 8014eb2: bf02 ittt eq + 8014eb4: f8d4 318c ldreq.w r3, [r4, #396] @ 0x18c + 8014eb8: 4313 orreq r3, r2 + 8014eba: f8c4 318c streq.w r3, [r4, #396] @ 0x18c + 8014ebe: 1c6b adds r3, r5, #1 + 8014ec0: 3502 adds r5, #2 + 8014ec2: 6063 str r3, [r4, #4] + 8014ec4: f844 7025 str.w r7, [r4, r5, lsl #2] + 8014ec8: f7fd f953 bl 8012172 <__retarget_lock_release_recursive> + 8014ecc: 2000 movs r0, #0 + 8014ece: e7df b.n 8014e90 <__register_exitproc+0x34> + 8014ed0: 200193ac .word 0x200193ac + 8014ed4: 200193e4 .word 0x200193e4 + 8014ed8: 20000160 .word 0x20000160 -0801455c : - 801455c: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8014560: 6903 ldr r3, [r0, #16] - 8014562: 690c ldr r4, [r1, #16] - 8014564: 42a3 cmp r3, r4 - 8014566: 4607 mov r7, r0 - 8014568: db7e blt.n 8014668 - 801456a: 3c01 subs r4, #1 - 801456c: f101 0814 add.w r8, r1, #20 - 8014570: 00a3 lsls r3, r4, #2 - 8014572: f100 0514 add.w r5, r0, #20 - 8014576: 9300 str r3, [sp, #0] - 8014578: eb05 0384 add.w r3, r5, r4, lsl #2 - 801457c: 9301 str r3, [sp, #4] - 801457e: f858 3024 ldr.w r3, [r8, r4, lsl #2] - 8014582: f855 2024 ldr.w r2, [r5, r4, lsl #2] - 8014586: 3301 adds r3, #1 - 8014588: 429a cmp r2, r3 - 801458a: eb08 0984 add.w r9, r8, r4, lsl #2 - 801458e: fbb2 f6f3 udiv r6, r2, r3 - 8014592: d32e bcc.n 80145f2 - 8014594: f04f 0a00 mov.w sl, #0 - 8014598: 46c4 mov ip, r8 - 801459a: 46ae mov lr, r5 - 801459c: 46d3 mov fp, sl - 801459e: f85c 3b04 ldr.w r3, [ip], #4 - 80145a2: b298 uxth r0, r3 - 80145a4: fb06 a000 mla r0, r6, r0, sl - 80145a8: 0c02 lsrs r2, r0, #16 - 80145aa: 0c1b lsrs r3, r3, #16 - 80145ac: fb06 2303 mla r3, r6, r3, r2 - 80145b0: f8de 2000 ldr.w r2, [lr] - 80145b4: b280 uxth r0, r0 - 80145b6: b292 uxth r2, r2 - 80145b8: 1a12 subs r2, r2, r0 - 80145ba: 445a add r2, fp - 80145bc: f8de 0000 ldr.w r0, [lr] - 80145c0: ea4f 4a13 mov.w sl, r3, lsr #16 - 80145c4: b29b uxth r3, r3 - 80145c6: ebc3 4322 rsb r3, r3, r2, asr #16 - 80145ca: eb03 4310 add.w r3, r3, r0, lsr #16 - 80145ce: b292 uxth r2, r2 - 80145d0: ea42 4203 orr.w r2, r2, r3, lsl #16 - 80145d4: 45e1 cmp r9, ip - 80145d6: f84e 2b04 str.w r2, [lr], #4 - 80145da: ea4f 4b23 mov.w fp, r3, asr #16 - 80145de: d2de bcs.n 801459e - 80145e0: 9b00 ldr r3, [sp, #0] - 80145e2: 58eb ldr r3, [r5, r3] - 80145e4: b92b cbnz r3, 80145f2 - 80145e6: 9b01 ldr r3, [sp, #4] - 80145e8: 3b04 subs r3, #4 - 80145ea: 429d cmp r5, r3 - 80145ec: 461a mov r2, r3 - 80145ee: d32f bcc.n 8014650 - 80145f0: 613c str r4, [r7, #16] - 80145f2: 4638 mov r0, r7 - 80145f4: f001 f826 bl 8015644 <__mcmp> - 80145f8: 2800 cmp r0, #0 - 80145fa: db25 blt.n 8014648 - 80145fc: 4629 mov r1, r5 - 80145fe: 2000 movs r0, #0 - 8014600: f858 2b04 ldr.w r2, [r8], #4 - 8014604: f8d1 c000 ldr.w ip, [r1] - 8014608: fa1f fe82 uxth.w lr, r2 - 801460c: fa1f f38c uxth.w r3, ip - 8014610: eba3 030e sub.w r3, r3, lr - 8014614: 4403 add r3, r0 - 8014616: 0c12 lsrs r2, r2, #16 - 8014618: ebc2 4223 rsb r2, r2, r3, asr #16 - 801461c: eb02 421c add.w r2, r2, ip, lsr #16 - 8014620: b29b uxth r3, r3 - 8014622: ea43 4302 orr.w r3, r3, r2, lsl #16 - 8014626: 45c1 cmp r9, r8 - 8014628: f841 3b04 str.w r3, [r1], #4 - 801462c: ea4f 4022 mov.w r0, r2, asr #16 - 8014630: d2e6 bcs.n 8014600 - 8014632: f855 2024 ldr.w r2, [r5, r4, lsl #2] - 8014636: eb05 0384 add.w r3, r5, r4, lsl #2 - 801463a: b922 cbnz r2, 8014646 - 801463c: 3b04 subs r3, #4 - 801463e: 429d cmp r5, r3 - 8014640: 461a mov r2, r3 - 8014642: d30b bcc.n 801465c - 8014644: 613c str r4, [r7, #16] - 8014646: 3601 adds r6, #1 - 8014648: 4630 mov r0, r6 - 801464a: b003 add sp, #12 - 801464c: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8014650: 6812 ldr r2, [r2, #0] - 8014652: 3b04 subs r3, #4 - 8014654: 2a00 cmp r2, #0 - 8014656: d1cb bne.n 80145f0 - 8014658: 3c01 subs r4, #1 - 801465a: e7c6 b.n 80145ea - 801465c: 6812 ldr r2, [r2, #0] - 801465e: 3b04 subs r3, #4 - 8014660: 2a00 cmp r2, #0 - 8014662: d1ef bne.n 8014644 - 8014664: 3c01 subs r4, #1 - 8014666: e7ea b.n 801463e - 8014668: 2000 movs r0, #0 - 801466a: e7ee b.n 801464a - 801466c: 0000 movs r0, r0 +08014edc : + 8014edc: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8014ee0: 6903 ldr r3, [r0, #16] + 8014ee2: 690c ldr r4, [r1, #16] + 8014ee4: 42a3 cmp r3, r4 + 8014ee6: 4607 mov r7, r0 + 8014ee8: db7e blt.n 8014fe8 + 8014eea: 3c01 subs r4, #1 + 8014eec: f101 0814 add.w r8, r1, #20 + 8014ef0: 00a3 lsls r3, r4, #2 + 8014ef2: f100 0514 add.w r5, r0, #20 + 8014ef6: 9300 str r3, [sp, #0] + 8014ef8: eb05 0384 add.w r3, r5, r4, lsl #2 + 8014efc: 9301 str r3, [sp, #4] + 8014efe: f858 3024 ldr.w r3, [r8, r4, lsl #2] + 8014f02: f855 2024 ldr.w r2, [r5, r4, lsl #2] + 8014f06: 3301 adds r3, #1 + 8014f08: 429a cmp r2, r3 + 8014f0a: eb08 0984 add.w r9, r8, r4, lsl #2 + 8014f0e: fbb2 f6f3 udiv r6, r2, r3 + 8014f12: d32e bcc.n 8014f72 + 8014f14: f04f 0a00 mov.w sl, #0 + 8014f18: 46c4 mov ip, r8 + 8014f1a: 46ae mov lr, r5 + 8014f1c: 46d3 mov fp, sl + 8014f1e: f85c 3b04 ldr.w r3, [ip], #4 + 8014f22: b298 uxth r0, r3 + 8014f24: fb06 a000 mla r0, r6, r0, sl + 8014f28: 0c02 lsrs r2, r0, #16 + 8014f2a: 0c1b lsrs r3, r3, #16 + 8014f2c: fb06 2303 mla r3, r6, r3, r2 + 8014f30: f8de 2000 ldr.w r2, [lr] + 8014f34: b280 uxth r0, r0 + 8014f36: b292 uxth r2, r2 + 8014f38: 1a12 subs r2, r2, r0 + 8014f3a: 445a add r2, fp + 8014f3c: f8de 0000 ldr.w r0, [lr] + 8014f40: ea4f 4a13 mov.w sl, r3, lsr #16 + 8014f44: b29b uxth r3, r3 + 8014f46: ebc3 4322 rsb r3, r3, r2, asr #16 + 8014f4a: eb03 4310 add.w r3, r3, r0, lsr #16 + 8014f4e: b292 uxth r2, r2 + 8014f50: ea42 4203 orr.w r2, r2, r3, lsl #16 + 8014f54: 45e1 cmp r9, ip + 8014f56: f84e 2b04 str.w r2, [lr], #4 + 8014f5a: ea4f 4b23 mov.w fp, r3, asr #16 + 8014f5e: d2de bcs.n 8014f1e + 8014f60: 9b00 ldr r3, [sp, #0] + 8014f62: 58eb ldr r3, [r5, r3] + 8014f64: b92b cbnz r3, 8014f72 + 8014f66: 9b01 ldr r3, [sp, #4] + 8014f68: 3b04 subs r3, #4 + 8014f6a: 429d cmp r5, r3 + 8014f6c: 461a mov r2, r3 + 8014f6e: d32f bcc.n 8014fd0 + 8014f70: 613c str r4, [r7, #16] + 8014f72: 4638 mov r0, r7 + 8014f74: f001 f826 bl 8015fc4 <__mcmp> + 8014f78: 2800 cmp r0, #0 + 8014f7a: db25 blt.n 8014fc8 + 8014f7c: 4629 mov r1, r5 + 8014f7e: 2000 movs r0, #0 + 8014f80: f858 2b04 ldr.w r2, [r8], #4 + 8014f84: f8d1 c000 ldr.w ip, [r1] + 8014f88: fa1f fe82 uxth.w lr, r2 + 8014f8c: fa1f f38c uxth.w r3, ip + 8014f90: eba3 030e sub.w r3, r3, lr + 8014f94: 4403 add r3, r0 + 8014f96: 0c12 lsrs r2, r2, #16 + 8014f98: ebc2 4223 rsb r2, r2, r3, asr #16 + 8014f9c: eb02 421c add.w r2, r2, ip, lsr #16 + 8014fa0: b29b uxth r3, r3 + 8014fa2: ea43 4302 orr.w r3, r3, r2, lsl #16 + 8014fa6: 45c1 cmp r9, r8 + 8014fa8: f841 3b04 str.w r3, [r1], #4 + 8014fac: ea4f 4022 mov.w r0, r2, asr #16 + 8014fb0: d2e6 bcs.n 8014f80 + 8014fb2: f855 2024 ldr.w r2, [r5, r4, lsl #2] + 8014fb6: eb05 0384 add.w r3, r5, r4, lsl #2 + 8014fba: b922 cbnz r2, 8014fc6 + 8014fbc: 3b04 subs r3, #4 + 8014fbe: 429d cmp r5, r3 + 8014fc0: 461a mov r2, r3 + 8014fc2: d30b bcc.n 8014fdc + 8014fc4: 613c str r4, [r7, #16] + 8014fc6: 3601 adds r6, #1 + 8014fc8: 4630 mov r0, r6 + 8014fca: b003 add sp, #12 + 8014fcc: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8014fd0: 6812 ldr r2, [r2, #0] + 8014fd2: 3b04 subs r3, #4 + 8014fd4: 2a00 cmp r2, #0 + 8014fd6: d1cb bne.n 8014f70 + 8014fd8: 3c01 subs r4, #1 + 8014fda: e7c6 b.n 8014f6a + 8014fdc: 6812 ldr r2, [r2, #0] + 8014fde: 3b04 subs r3, #4 + 8014fe0: 2a00 cmp r2, #0 + 8014fe2: d1ef bne.n 8014fc4 + 8014fe4: 3c01 subs r4, #1 + 8014fe6: e7ea b.n 8014fbe + 8014fe8: 2000 movs r0, #0 + 8014fea: e7ee b.n 8014fca + 8014fec: 0000 movs r0, r0 ... -08014670 <_dtoa_r>: - 8014670: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8014674: b099 sub sp, #100 @ 0x64 - 8014676: ed8d 0b02 vstr d0, [sp, #8] - 801467a: 9109 str r1, [sp, #36] @ 0x24 - 801467c: 6b81 ldr r1, [r0, #56] @ 0x38 - 801467e: 9e22 ldr r6, [sp, #136] @ 0x88 - 8014680: 920e str r2, [sp, #56] @ 0x38 - 8014682: ec55 4b10 vmov r4, r5, d0 - 8014686: 4683 mov fp, r0 - 8014688: 9313 str r3, [sp, #76] @ 0x4c - 801468a: b149 cbz r1, 80146a0 <_dtoa_r+0x30> - 801468c: 6bc2 ldr r2, [r0, #60] @ 0x3c - 801468e: 604a str r2, [r1, #4] - 8014690: 2301 movs r3, #1 - 8014692: 4093 lsls r3, r2 - 8014694: 608b str r3, [r1, #8] - 8014696: f000 fdce bl 8015236 <_Bfree> - 801469a: 2300 movs r3, #0 - 801469c: f8cb 3038 str.w r3, [fp, #56] @ 0x38 - 80146a0: 1e2b subs r3, r5, #0 - 80146a2: bfb9 ittee lt - 80146a4: f023 4300 biclt.w r3, r3, #2147483648 @ 0x80000000 - 80146a8: 9303 strlt r3, [sp, #12] - 80146aa: 2300 movge r3, #0 - 80146ac: 6033 strge r3, [r6, #0] - 80146ae: 9f03 ldr r7, [sp, #12] - 80146b0: 4b97 ldr r3, [pc, #604] @ (8014910 <_dtoa_r+0x2a0>) - 80146b2: bfbc itt lt - 80146b4: 2201 movlt r2, #1 - 80146b6: 6032 strlt r2, [r6, #0] - 80146b8: 43bb bics r3, r7 - 80146ba: d114 bne.n 80146e6 <_dtoa_r+0x76> - 80146bc: 9a13 ldr r2, [sp, #76] @ 0x4c - 80146be: f242 730f movw r3, #9999 @ 0x270f - 80146c2: 6013 str r3, [r2, #0] - 80146c4: f3c7 0313 ubfx r3, r7, #0, #20 - 80146c8: 4323 orrs r3, r4 - 80146ca: f000 854c beq.w 8015166 <_dtoa_r+0xaf6> - 80146ce: 9b23 ldr r3, [sp, #140] @ 0x8c - 80146d0: f8df a254 ldr.w sl, [pc, #596] @ 8014928 <_dtoa_r+0x2b8> - 80146d4: b11b cbz r3, 80146de <_dtoa_r+0x6e> - 80146d6: f10a 0303 add.w r3, sl, #3 - 80146da: 9a23 ldr r2, [sp, #140] @ 0x8c - 80146dc: 6013 str r3, [r2, #0] - 80146de: 4650 mov r0, sl - 80146e0: b019 add sp, #100 @ 0x64 - 80146e2: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80146e6: ed9d 7b02 vldr d7, [sp, #8] - 80146ea: 2200 movs r2, #0 - 80146ec: ec51 0b17 vmov r0, r1, d7 - 80146f0: 2300 movs r3, #0 - 80146f2: ed8d 7b0c vstr d7, [sp, #48] @ 0x30 - 80146f6: f7ec f9f7 bl 8000ae8 <__aeabi_dcmpeq> - 80146fa: 4680 mov r8, r0 - 80146fc: b150 cbz r0, 8014714 <_dtoa_r+0xa4> - 80146fe: 9a13 ldr r2, [sp, #76] @ 0x4c - 8014700: 2301 movs r3, #1 - 8014702: 6013 str r3, [r2, #0] - 8014704: 9b23 ldr r3, [sp, #140] @ 0x8c - 8014706: b113 cbz r3, 801470e <_dtoa_r+0x9e> - 8014708: 9a23 ldr r2, [sp, #140] @ 0x8c - 801470a: 4b82 ldr r3, [pc, #520] @ (8014914 <_dtoa_r+0x2a4>) - 801470c: 6013 str r3, [r2, #0] - 801470e: f8df a21c ldr.w sl, [pc, #540] @ 801492c <_dtoa_r+0x2bc> - 8014712: e7e4 b.n 80146de <_dtoa_r+0x6e> - 8014714: ed9d 0b0c vldr d0, [sp, #48] @ 0x30 - 8014718: aa16 add r2, sp, #88 @ 0x58 - 801471a: a917 add r1, sp, #92 @ 0x5c - 801471c: 4658 mov r0, fp - 801471e: f001 f841 bl 80157a4 <__d2b> - 8014722: f3c7 560a ubfx r6, r7, #20, #11 - 8014726: 4681 mov r9, r0 - 8014728: 2e00 cmp r6, #0 - 801472a: d077 beq.n 801481c <_dtoa_r+0x1ac> - 801472c: 9b0d ldr r3, [sp, #52] @ 0x34 - 801472e: f8cd 8050 str.w r8, [sp, #80] @ 0x50 - 8014732: f3c3 0313 ubfx r3, r3, #0, #20 - 8014736: e9dd 010c ldrd r0, r1, [sp, #48] @ 0x30 - 801473a: f043 537f orr.w r3, r3, #1069547520 @ 0x3fc00000 - 801473e: f443 1340 orr.w r3, r3, #3145728 @ 0x300000 - 8014742: f2a6 36ff subw r6, r6, #1023 @ 0x3ff - 8014746: 4619 mov r1, r3 - 8014748: 2200 movs r2, #0 - 801474a: 4b73 ldr r3, [pc, #460] @ (8014918 <_dtoa_r+0x2a8>) - 801474c: f7eb fdac bl 80002a8 <__aeabi_dsub> - 8014750: a369 add r3, pc, #420 @ (adr r3, 80148f8 <_dtoa_r+0x288>) - 8014752: e9d3 2300 ldrd r2, r3, [r3] - 8014756: f7eb ff5f bl 8000618 <__aeabi_dmul> - 801475a: a369 add r3, pc, #420 @ (adr r3, 8014900 <_dtoa_r+0x290>) - 801475c: e9d3 2300 ldrd r2, r3, [r3] - 8014760: f7eb fda4 bl 80002ac <__adddf3> - 8014764: 4604 mov r4, r0 - 8014766: 4630 mov r0, r6 - 8014768: 460d mov r5, r1 - 801476a: f7eb feeb bl 8000544 <__aeabi_i2d> - 801476e: a366 add r3, pc, #408 @ (adr r3, 8014908 <_dtoa_r+0x298>) - 8014770: e9d3 2300 ldrd r2, r3, [r3] - 8014774: f7eb ff50 bl 8000618 <__aeabi_dmul> - 8014778: 4602 mov r2, r0 - 801477a: 460b mov r3, r1 - 801477c: 4620 mov r0, r4 - 801477e: 4629 mov r1, r5 - 8014780: f7eb fd94 bl 80002ac <__adddf3> - 8014784: 4604 mov r4, r0 - 8014786: 460d mov r5, r1 - 8014788: f7ec f9f6 bl 8000b78 <__aeabi_d2iz> - 801478c: 2200 movs r2, #0 - 801478e: 4607 mov r7, r0 - 8014790: 2300 movs r3, #0 - 8014792: 4620 mov r0, r4 - 8014794: 4629 mov r1, r5 - 8014796: f7ec f9b1 bl 8000afc <__aeabi_dcmplt> - 801479a: b140 cbz r0, 80147ae <_dtoa_r+0x13e> - 801479c: 4638 mov r0, r7 - 801479e: f7eb fed1 bl 8000544 <__aeabi_i2d> - 80147a2: 4622 mov r2, r4 - 80147a4: 462b mov r3, r5 - 80147a6: f7ec f99f bl 8000ae8 <__aeabi_dcmpeq> - 80147aa: b900 cbnz r0, 80147ae <_dtoa_r+0x13e> - 80147ac: 3f01 subs r7, #1 - 80147ae: 2f16 cmp r7, #22 - 80147b0: d851 bhi.n 8014856 <_dtoa_r+0x1e6> - 80147b2: 4b5a ldr r3, [pc, #360] @ (801491c <_dtoa_r+0x2ac>) - 80147b4: eb03 03c7 add.w r3, r3, r7, lsl #3 - 80147b8: e9d3 2300 ldrd r2, r3, [r3] - 80147bc: e9dd 010c ldrd r0, r1, [sp, #48] @ 0x30 - 80147c0: f7ec f99c bl 8000afc <__aeabi_dcmplt> - 80147c4: 2800 cmp r0, #0 - 80147c6: d048 beq.n 801485a <_dtoa_r+0x1ea> - 80147c8: 3f01 subs r7, #1 - 80147ca: 2300 movs r3, #0 - 80147cc: 9312 str r3, [sp, #72] @ 0x48 - 80147ce: 9b16 ldr r3, [sp, #88] @ 0x58 - 80147d0: 1b9b subs r3, r3, r6 - 80147d2: 1e5a subs r2, r3, #1 - 80147d4: bf44 itt mi - 80147d6: f1c3 0801 rsbmi r8, r3, #1 - 80147da: 2300 movmi r3, #0 - 80147dc: 9208 str r2, [sp, #32] - 80147de: bf54 ite pl - 80147e0: f04f 0800 movpl.w r8, #0 - 80147e4: 9308 strmi r3, [sp, #32] - 80147e6: 2f00 cmp r7, #0 - 80147e8: db39 blt.n 801485e <_dtoa_r+0x1ee> - 80147ea: 9b08 ldr r3, [sp, #32] - 80147ec: 970f str r7, [sp, #60] @ 0x3c - 80147ee: 443b add r3, r7 - 80147f0: 9308 str r3, [sp, #32] - 80147f2: 2300 movs r3, #0 - 80147f4: 930a str r3, [sp, #40] @ 0x28 - 80147f6: 9b09 ldr r3, [sp, #36] @ 0x24 - 80147f8: 2b09 cmp r3, #9 - 80147fa: d865 bhi.n 80148c8 <_dtoa_r+0x258> - 80147fc: 2b05 cmp r3, #5 - 80147fe: bfc4 itt gt - 8014800: 3b04 subgt r3, #4 - 8014802: 9309 strgt r3, [sp, #36] @ 0x24 - 8014804: 9b09 ldr r3, [sp, #36] @ 0x24 - 8014806: f1a3 0302 sub.w r3, r3, #2 - 801480a: bfcc ite gt - 801480c: 2400 movgt r4, #0 - 801480e: 2401 movle r4, #1 - 8014810: 2b03 cmp r3, #3 - 8014812: d864 bhi.n 80148de <_dtoa_r+0x26e> - 8014814: e8df f003 tbb [pc, r3] - 8014818: 5635372a .word 0x5635372a - 801481c: e9dd 6316 ldrd r6, r3, [sp, #88] @ 0x58 - 8014820: 441e add r6, r3 - 8014822: f206 4332 addw r3, r6, #1074 @ 0x432 - 8014826: 2b20 cmp r3, #32 - 8014828: bfc1 itttt gt - 801482a: f1c3 0340 rsbgt r3, r3, #64 @ 0x40 - 801482e: 409f lslgt r7, r3 - 8014830: f206 4312 addwgt r3, r6, #1042 @ 0x412 - 8014834: fa24 f303 lsrgt.w r3, r4, r3 - 8014838: bfd6 itet le - 801483a: f1c3 0320 rsble r3, r3, #32 - 801483e: ea47 0003 orrgt.w r0, r7, r3 - 8014842: fa04 f003 lslle.w r0, r4, r3 - 8014846: f7eb fe6d bl 8000524 <__aeabi_ui2d> - 801484a: 2201 movs r2, #1 - 801484c: f1a1 73f8 sub.w r3, r1, #32505856 @ 0x1f00000 - 8014850: 3e01 subs r6, #1 - 8014852: 9214 str r2, [sp, #80] @ 0x50 - 8014854: e777 b.n 8014746 <_dtoa_r+0xd6> - 8014856: 2301 movs r3, #1 - 8014858: e7b8 b.n 80147cc <_dtoa_r+0x15c> - 801485a: 9012 str r0, [sp, #72] @ 0x48 - 801485c: e7b7 b.n 80147ce <_dtoa_r+0x15e> - 801485e: 427b negs r3, r7 - 8014860: 930a str r3, [sp, #40] @ 0x28 - 8014862: 2300 movs r3, #0 - 8014864: eba8 0807 sub.w r8, r8, r7 - 8014868: 930f str r3, [sp, #60] @ 0x3c - 801486a: e7c4 b.n 80147f6 <_dtoa_r+0x186> - 801486c: 2300 movs r3, #0 - 801486e: 930b str r3, [sp, #44] @ 0x2c - 8014870: 9b0e ldr r3, [sp, #56] @ 0x38 - 8014872: 2b00 cmp r3, #0 - 8014874: dc36 bgt.n 80148e4 <_dtoa_r+0x274> - 8014876: 2301 movs r3, #1 - 8014878: 9300 str r3, [sp, #0] - 801487a: 9307 str r3, [sp, #28] - 801487c: 461a mov r2, r3 - 801487e: 920e str r2, [sp, #56] @ 0x38 - 8014880: e00b b.n 801489a <_dtoa_r+0x22a> - 8014882: 2301 movs r3, #1 - 8014884: e7f3 b.n 801486e <_dtoa_r+0x1fe> - 8014886: 2300 movs r3, #0 - 8014888: 930b str r3, [sp, #44] @ 0x2c - 801488a: 9b0e ldr r3, [sp, #56] @ 0x38 - 801488c: 18fb adds r3, r7, r3 - 801488e: 9300 str r3, [sp, #0] - 8014890: 3301 adds r3, #1 - 8014892: 2b01 cmp r3, #1 - 8014894: 9307 str r3, [sp, #28] - 8014896: bfb8 it lt - 8014898: 2301 movlt r3, #1 - 801489a: 2100 movs r1, #0 - 801489c: 2204 movs r2, #4 - 801489e: f102 0014 add.w r0, r2, #20 - 80148a2: 4298 cmp r0, r3 - 80148a4: d922 bls.n 80148ec <_dtoa_r+0x27c> - 80148a6: f8cb 103c str.w r1, [fp, #60] @ 0x3c - 80148aa: 4658 mov r0, fp - 80148ac: f000 fc9e bl 80151ec <_Balloc> - 80148b0: 4682 mov sl, r0 - 80148b2: 2800 cmp r0, #0 - 80148b4: d13c bne.n 8014930 <_dtoa_r+0x2c0> - 80148b6: 4b1a ldr r3, [pc, #104] @ (8014920 <_dtoa_r+0x2b0>) - 80148b8: 4602 mov r2, r0 - 80148ba: f240 11af movw r1, #431 @ 0x1af - 80148be: 4819 ldr r0, [pc, #100] @ (8014924 <_dtoa_r+0x2b4>) - 80148c0: f001 fa64 bl 8015d8c <__assert_func> - 80148c4: 2301 movs r3, #1 - 80148c6: e7df b.n 8014888 <_dtoa_r+0x218> - 80148c8: 2401 movs r4, #1 - 80148ca: 2300 movs r3, #0 - 80148cc: 9309 str r3, [sp, #36] @ 0x24 - 80148ce: 940b str r4, [sp, #44] @ 0x2c - 80148d0: f04f 33ff mov.w r3, #4294967295 - 80148d4: 9300 str r3, [sp, #0] - 80148d6: 9307 str r3, [sp, #28] - 80148d8: 2200 movs r2, #0 - 80148da: 2312 movs r3, #18 - 80148dc: e7cf b.n 801487e <_dtoa_r+0x20e> - 80148de: 2301 movs r3, #1 - 80148e0: 930b str r3, [sp, #44] @ 0x2c - 80148e2: e7f5 b.n 80148d0 <_dtoa_r+0x260> - 80148e4: 9b0e ldr r3, [sp, #56] @ 0x38 - 80148e6: 9300 str r3, [sp, #0] - 80148e8: 9307 str r3, [sp, #28] - 80148ea: e7d6 b.n 801489a <_dtoa_r+0x22a> - 80148ec: 3101 adds r1, #1 - 80148ee: 0052 lsls r2, r2, #1 - 80148f0: e7d5 b.n 801489e <_dtoa_r+0x22e> - 80148f2: bf00 nop - 80148f4: f3af 8000 nop.w - 80148f8: 636f4361 .word 0x636f4361 - 80148fc: 3fd287a7 .word 0x3fd287a7 - 8014900: 8b60c8b3 .word 0x8b60c8b3 - 8014904: 3fc68a28 .word 0x3fc68a28 - 8014908: 509f79fb .word 0x509f79fb - 801490c: 3fd34413 .word 0x3fd34413 - 8014910: 7ff00000 .word 0x7ff00000 - 8014914: 0801901e .word 0x0801901e - 8014918: 3ff80000 .word 0x3ff80000 - 801491c: 08019170 .word 0x08019170 - 8014920: 08019076 .word 0x08019076 - 8014924: 08019087 .word 0x08019087 - 8014928: 08019072 .word 0x08019072 - 801492c: 0801901d .word 0x0801901d - 8014930: 9b07 ldr r3, [sp, #28] - 8014932: f8cb 0038 str.w r0, [fp, #56] @ 0x38 - 8014936: 2b0e cmp r3, #14 - 8014938: f200 80a4 bhi.w 8014a84 <_dtoa_r+0x414> - 801493c: 2c00 cmp r4, #0 - 801493e: f000 80a1 beq.w 8014a84 <_dtoa_r+0x414> - 8014942: 2f00 cmp r7, #0 - 8014944: dd33 ble.n 80149ae <_dtoa_r+0x33e> - 8014946: 4bae ldr r3, [pc, #696] @ (8014c00 <_dtoa_r+0x590>) - 8014948: f007 020f and.w r2, r7, #15 - 801494c: eb03 03c2 add.w r3, r3, r2, lsl #3 - 8014950: ed93 7b00 vldr d7, [r3] - 8014954: 05f8 lsls r0, r7, #23 - 8014956: ed8d 7b04 vstr d7, [sp, #16] - 801495a: ea4f 1427 mov.w r4, r7, asr #4 - 801495e: d516 bpl.n 801498e <_dtoa_r+0x31e> - 8014960: 4ba8 ldr r3, [pc, #672] @ (8014c04 <_dtoa_r+0x594>) - 8014962: e9dd 010c ldrd r0, r1, [sp, #48] @ 0x30 - 8014966: e9d3 2308 ldrd r2, r3, [r3, #32] - 801496a: f7eb ff7f bl 800086c <__aeabi_ddiv> - 801496e: e9cd 0102 strd r0, r1, [sp, #8] - 8014972: f004 040f and.w r4, r4, #15 - 8014976: 2603 movs r6, #3 - 8014978: 4da2 ldr r5, [pc, #648] @ (8014c04 <_dtoa_r+0x594>) - 801497a: b954 cbnz r4, 8014992 <_dtoa_r+0x322> - 801497c: e9dd 2304 ldrd r2, r3, [sp, #16] - 8014980: e9dd 0102 ldrd r0, r1, [sp, #8] - 8014984: f7eb ff72 bl 800086c <__aeabi_ddiv> - 8014988: e9cd 0102 strd r0, r1, [sp, #8] - 801498c: e028 b.n 80149e0 <_dtoa_r+0x370> - 801498e: 2602 movs r6, #2 - 8014990: e7f2 b.n 8014978 <_dtoa_r+0x308> - 8014992: 07e1 lsls r1, r4, #31 - 8014994: d508 bpl.n 80149a8 <_dtoa_r+0x338> - 8014996: e9dd 0104 ldrd r0, r1, [sp, #16] - 801499a: e9d5 2300 ldrd r2, r3, [r5] - 801499e: f7eb fe3b bl 8000618 <__aeabi_dmul> - 80149a2: e9cd 0104 strd r0, r1, [sp, #16] - 80149a6: 3601 adds r6, #1 - 80149a8: 1064 asrs r4, r4, #1 - 80149aa: 3508 adds r5, #8 - 80149ac: e7e5 b.n 801497a <_dtoa_r+0x30a> - 80149ae: f000 80d2 beq.w 8014b56 <_dtoa_r+0x4e6> - 80149b2: 427c negs r4, r7 - 80149b4: 4b92 ldr r3, [pc, #584] @ (8014c00 <_dtoa_r+0x590>) - 80149b6: 4d93 ldr r5, [pc, #588] @ (8014c04 <_dtoa_r+0x594>) - 80149b8: f004 020f and.w r2, r4, #15 - 80149bc: eb03 03c2 add.w r3, r3, r2, lsl #3 - 80149c0: e9d3 2300 ldrd r2, r3, [r3] - 80149c4: e9dd 010c ldrd r0, r1, [sp, #48] @ 0x30 - 80149c8: f7eb fe26 bl 8000618 <__aeabi_dmul> - 80149cc: e9cd 0102 strd r0, r1, [sp, #8] - 80149d0: 1124 asrs r4, r4, #4 - 80149d2: 2300 movs r3, #0 - 80149d4: 2602 movs r6, #2 - 80149d6: 2c00 cmp r4, #0 - 80149d8: f040 80b2 bne.w 8014b40 <_dtoa_r+0x4d0> - 80149dc: 2b00 cmp r3, #0 - 80149de: d1d3 bne.n 8014988 <_dtoa_r+0x318> - 80149e0: 9b12 ldr r3, [sp, #72] @ 0x48 - 80149e2: e9dd 4502 ldrd r4, r5, [sp, #8] - 80149e6: 2b00 cmp r3, #0 - 80149e8: f000 80b7 beq.w 8014b5a <_dtoa_r+0x4ea> - 80149ec: 4b86 ldr r3, [pc, #536] @ (8014c08 <_dtoa_r+0x598>) - 80149ee: 2200 movs r2, #0 - 80149f0: 4620 mov r0, r4 - 80149f2: 4629 mov r1, r5 - 80149f4: f7ec f882 bl 8000afc <__aeabi_dcmplt> - 80149f8: 2800 cmp r0, #0 - 80149fa: f000 80ae beq.w 8014b5a <_dtoa_r+0x4ea> - 80149fe: 9b07 ldr r3, [sp, #28] - 8014a00: 2b00 cmp r3, #0 - 8014a02: f000 80aa beq.w 8014b5a <_dtoa_r+0x4ea> - 8014a06: 9b00 ldr r3, [sp, #0] - 8014a08: 2b00 cmp r3, #0 - 8014a0a: dd37 ble.n 8014a7c <_dtoa_r+0x40c> - 8014a0c: 1e7b subs r3, r7, #1 - 8014a0e: 9304 str r3, [sp, #16] - 8014a10: 4620 mov r0, r4 - 8014a12: 4b7e ldr r3, [pc, #504] @ (8014c0c <_dtoa_r+0x59c>) - 8014a14: 2200 movs r2, #0 - 8014a16: 4629 mov r1, r5 - 8014a18: f7eb fdfe bl 8000618 <__aeabi_dmul> - 8014a1c: e9cd 0102 strd r0, r1, [sp, #8] - 8014a20: 9c00 ldr r4, [sp, #0] - 8014a22: 3601 adds r6, #1 - 8014a24: 4630 mov r0, r6 - 8014a26: f7eb fd8d bl 8000544 <__aeabi_i2d> - 8014a2a: e9dd 2302 ldrd r2, r3, [sp, #8] - 8014a2e: f7eb fdf3 bl 8000618 <__aeabi_dmul> - 8014a32: 4b77 ldr r3, [pc, #476] @ (8014c10 <_dtoa_r+0x5a0>) - 8014a34: 2200 movs r2, #0 - 8014a36: f7eb fc39 bl 80002ac <__adddf3> - 8014a3a: 4605 mov r5, r0 - 8014a3c: f1a1 7650 sub.w r6, r1, #54525952 @ 0x3400000 - 8014a40: 2c00 cmp r4, #0 - 8014a42: f040 808d bne.w 8014b60 <_dtoa_r+0x4f0> - 8014a46: e9dd 0102 ldrd r0, r1, [sp, #8] - 8014a4a: 4b72 ldr r3, [pc, #456] @ (8014c14 <_dtoa_r+0x5a4>) - 8014a4c: 2200 movs r2, #0 - 8014a4e: f7eb fc2b bl 80002a8 <__aeabi_dsub> - 8014a52: 4602 mov r2, r0 - 8014a54: 460b mov r3, r1 - 8014a56: e9cd 2302 strd r2, r3, [sp, #8] - 8014a5a: 462a mov r2, r5 - 8014a5c: 4633 mov r3, r6 - 8014a5e: f7ec f86b bl 8000b38 <__aeabi_dcmpgt> - 8014a62: 2800 cmp r0, #0 - 8014a64: f040 828c bne.w 8014f80 <_dtoa_r+0x910> - 8014a68: e9dd 0102 ldrd r0, r1, [sp, #8] - 8014a6c: 462a mov r2, r5 - 8014a6e: f106 4300 add.w r3, r6, #2147483648 @ 0x80000000 - 8014a72: f7ec f843 bl 8000afc <__aeabi_dcmplt> - 8014a76: 2800 cmp r0, #0 - 8014a78: f040 8129 bne.w 8014cce <_dtoa_r+0x65e> - 8014a7c: e9dd 340c ldrd r3, r4, [sp, #48] @ 0x30 - 8014a80: e9cd 3402 strd r3, r4, [sp, #8] - 8014a84: 9b17 ldr r3, [sp, #92] @ 0x5c - 8014a86: 2b00 cmp r3, #0 - 8014a88: f2c0 815b blt.w 8014d42 <_dtoa_r+0x6d2> - 8014a8c: 2f0e cmp r7, #14 - 8014a8e: f300 8158 bgt.w 8014d42 <_dtoa_r+0x6d2> - 8014a92: 4b5b ldr r3, [pc, #364] @ (8014c00 <_dtoa_r+0x590>) - 8014a94: eb03 03c7 add.w r3, r3, r7, lsl #3 - 8014a98: ed93 7b00 vldr d7, [r3] - 8014a9c: 9b0e ldr r3, [sp, #56] @ 0x38 - 8014a9e: 2b00 cmp r3, #0 - 8014aa0: ed8d 7b00 vstr d7, [sp] - 8014aa4: da03 bge.n 8014aae <_dtoa_r+0x43e> - 8014aa6: 9b07 ldr r3, [sp, #28] - 8014aa8: 2b00 cmp r3, #0 - 8014aaa: f340 8102 ble.w 8014cb2 <_dtoa_r+0x642> - 8014aae: e9dd 4502 ldrd r4, r5, [sp, #8] - 8014ab2: 4656 mov r6, sl - 8014ab4: e9dd 2300 ldrd r2, r3, [sp] - 8014ab8: 4620 mov r0, r4 - 8014aba: 4629 mov r1, r5 - 8014abc: f7eb fed6 bl 800086c <__aeabi_ddiv> - 8014ac0: f7ec f85a bl 8000b78 <__aeabi_d2iz> - 8014ac4: 4680 mov r8, r0 - 8014ac6: f7eb fd3d bl 8000544 <__aeabi_i2d> - 8014aca: e9dd 2300 ldrd r2, r3, [sp] - 8014ace: f7eb fda3 bl 8000618 <__aeabi_dmul> - 8014ad2: 4602 mov r2, r0 - 8014ad4: 460b mov r3, r1 - 8014ad6: 4620 mov r0, r4 - 8014ad8: 4629 mov r1, r5 - 8014ada: f108 0430 add.w r4, r8, #48 @ 0x30 - 8014ade: f7eb fbe3 bl 80002a8 <__aeabi_dsub> - 8014ae2: f806 4b01 strb.w r4, [r6], #1 - 8014ae6: 9d07 ldr r5, [sp, #28] - 8014ae8: eba6 040a sub.w r4, r6, sl - 8014aec: 42a5 cmp r5, r4 - 8014aee: 4602 mov r2, r0 - 8014af0: 460b mov r3, r1 - 8014af2: f040 8118 bne.w 8014d26 <_dtoa_r+0x6b6> - 8014af6: f7eb fbd9 bl 80002ac <__adddf3> - 8014afa: e9dd 2300 ldrd r2, r3, [sp] - 8014afe: 4604 mov r4, r0 - 8014b00: 460d mov r5, r1 - 8014b02: f7ec f819 bl 8000b38 <__aeabi_dcmpgt> - 8014b06: 2800 cmp r0, #0 - 8014b08: f040 80fa bne.w 8014d00 <_dtoa_r+0x690> - 8014b0c: e9dd 2300 ldrd r2, r3, [sp] - 8014b10: 4620 mov r0, r4 - 8014b12: 4629 mov r1, r5 - 8014b14: f7eb ffe8 bl 8000ae8 <__aeabi_dcmpeq> - 8014b18: b118 cbz r0, 8014b22 <_dtoa_r+0x4b2> - 8014b1a: f018 0f01 tst.w r8, #1 - 8014b1e: f040 80ef bne.w 8014d00 <_dtoa_r+0x690> - 8014b22: 4649 mov r1, r9 - 8014b24: 4658 mov r0, fp - 8014b26: f000 fb86 bl 8015236 <_Bfree> - 8014b2a: 2300 movs r3, #0 - 8014b2c: 7033 strb r3, [r6, #0] - 8014b2e: 9b13 ldr r3, [sp, #76] @ 0x4c - 8014b30: 3701 adds r7, #1 - 8014b32: 601f str r7, [r3, #0] - 8014b34: 9b23 ldr r3, [sp, #140] @ 0x8c - 8014b36: 2b00 cmp r3, #0 - 8014b38: f43f add1 beq.w 80146de <_dtoa_r+0x6e> - 8014b3c: 601e str r6, [r3, #0] - 8014b3e: e5ce b.n 80146de <_dtoa_r+0x6e> - 8014b40: 07e2 lsls r2, r4, #31 - 8014b42: d505 bpl.n 8014b50 <_dtoa_r+0x4e0> - 8014b44: e9d5 2300 ldrd r2, r3, [r5] - 8014b48: f7eb fd66 bl 8000618 <__aeabi_dmul> - 8014b4c: 3601 adds r6, #1 - 8014b4e: 2301 movs r3, #1 - 8014b50: 1064 asrs r4, r4, #1 - 8014b52: 3508 adds r5, #8 - 8014b54: e73f b.n 80149d6 <_dtoa_r+0x366> - 8014b56: 2602 movs r6, #2 - 8014b58: e742 b.n 80149e0 <_dtoa_r+0x370> - 8014b5a: 9c07 ldr r4, [sp, #28] - 8014b5c: 9704 str r7, [sp, #16] - 8014b5e: e761 b.n 8014a24 <_dtoa_r+0x3b4> - 8014b60: 4b27 ldr r3, [pc, #156] @ (8014c00 <_dtoa_r+0x590>) - 8014b62: 990b ldr r1, [sp, #44] @ 0x2c - 8014b64: eb03 03c4 add.w r3, r3, r4, lsl #3 - 8014b68: e953 2302 ldrd r2, r3, [r3, #-8] - 8014b6c: 4454 add r4, sl - 8014b6e: 2900 cmp r1, #0 - 8014b70: d054 beq.n 8014c1c <_dtoa_r+0x5ac> - 8014b72: 4929 ldr r1, [pc, #164] @ (8014c18 <_dtoa_r+0x5a8>) - 8014b74: 2000 movs r0, #0 - 8014b76: f7eb fe79 bl 800086c <__aeabi_ddiv> - 8014b7a: 4633 mov r3, r6 - 8014b7c: 462a mov r2, r5 - 8014b7e: f7eb fb93 bl 80002a8 <__aeabi_dsub> - 8014b82: e9cd 0110 strd r0, r1, [sp, #64] @ 0x40 - 8014b86: 4656 mov r6, sl - 8014b88: e9dd 0102 ldrd r0, r1, [sp, #8] - 8014b8c: f7eb fff4 bl 8000b78 <__aeabi_d2iz> - 8014b90: 4605 mov r5, r0 - 8014b92: f7eb fcd7 bl 8000544 <__aeabi_i2d> - 8014b96: 4602 mov r2, r0 - 8014b98: 460b mov r3, r1 - 8014b9a: e9dd 0102 ldrd r0, r1, [sp, #8] - 8014b9e: f7eb fb83 bl 80002a8 <__aeabi_dsub> - 8014ba2: 3530 adds r5, #48 @ 0x30 - 8014ba4: 4602 mov r2, r0 - 8014ba6: 460b mov r3, r1 - 8014ba8: e9cd 2302 strd r2, r3, [sp, #8] - 8014bac: f806 5b01 strb.w r5, [r6], #1 - 8014bb0: e9dd 2310 ldrd r2, r3, [sp, #64] @ 0x40 - 8014bb4: f7eb ffa2 bl 8000afc <__aeabi_dcmplt> - 8014bb8: 2800 cmp r0, #0 - 8014bba: d172 bne.n 8014ca2 <_dtoa_r+0x632> - 8014bbc: e9dd 2302 ldrd r2, r3, [sp, #8] - 8014bc0: 4911 ldr r1, [pc, #68] @ (8014c08 <_dtoa_r+0x598>) - 8014bc2: 2000 movs r0, #0 - 8014bc4: f7eb fb70 bl 80002a8 <__aeabi_dsub> - 8014bc8: e9dd 2310 ldrd r2, r3, [sp, #64] @ 0x40 - 8014bcc: f7eb ff96 bl 8000afc <__aeabi_dcmplt> - 8014bd0: 2800 cmp r0, #0 - 8014bd2: f040 8096 bne.w 8014d02 <_dtoa_r+0x692> - 8014bd6: 42a6 cmp r6, r4 - 8014bd8: f43f af50 beq.w 8014a7c <_dtoa_r+0x40c> - 8014bdc: e9dd 0110 ldrd r0, r1, [sp, #64] @ 0x40 - 8014be0: 4b0a ldr r3, [pc, #40] @ (8014c0c <_dtoa_r+0x59c>) - 8014be2: 2200 movs r2, #0 - 8014be4: f7eb fd18 bl 8000618 <__aeabi_dmul> - 8014be8: 4b08 ldr r3, [pc, #32] @ (8014c0c <_dtoa_r+0x59c>) - 8014bea: e9cd 0110 strd r0, r1, [sp, #64] @ 0x40 - 8014bee: 2200 movs r2, #0 - 8014bf0: e9dd 0102 ldrd r0, r1, [sp, #8] - 8014bf4: f7eb fd10 bl 8000618 <__aeabi_dmul> - 8014bf8: e9cd 0102 strd r0, r1, [sp, #8] - 8014bfc: e7c4 b.n 8014b88 <_dtoa_r+0x518> - 8014bfe: bf00 nop - 8014c00: 08019170 .word 0x08019170 - 8014c04: 08019148 .word 0x08019148 - 8014c08: 3ff00000 .word 0x3ff00000 - 8014c0c: 40240000 .word 0x40240000 - 8014c10: 401c0000 .word 0x401c0000 - 8014c14: 40140000 .word 0x40140000 - 8014c18: 3fe00000 .word 0x3fe00000 - 8014c1c: 4631 mov r1, r6 - 8014c1e: 4628 mov r0, r5 - 8014c20: f7eb fcfa bl 8000618 <__aeabi_dmul> - 8014c24: e9cd 0110 strd r0, r1, [sp, #64] @ 0x40 - 8014c28: 9415 str r4, [sp, #84] @ 0x54 - 8014c2a: 4656 mov r6, sl - 8014c2c: e9dd 0102 ldrd r0, r1, [sp, #8] - 8014c30: f7eb ffa2 bl 8000b78 <__aeabi_d2iz> - 8014c34: 4605 mov r5, r0 - 8014c36: f7eb fc85 bl 8000544 <__aeabi_i2d> - 8014c3a: 4602 mov r2, r0 - 8014c3c: 460b mov r3, r1 - 8014c3e: e9dd 0102 ldrd r0, r1, [sp, #8] - 8014c42: f7eb fb31 bl 80002a8 <__aeabi_dsub> - 8014c46: 3530 adds r5, #48 @ 0x30 - 8014c48: f806 5b01 strb.w r5, [r6], #1 - 8014c4c: 4602 mov r2, r0 - 8014c4e: 460b mov r3, r1 - 8014c50: 42a6 cmp r6, r4 - 8014c52: e9cd 2302 strd r2, r3, [sp, #8] - 8014c56: f04f 0200 mov.w r2, #0 - 8014c5a: d124 bne.n 8014ca6 <_dtoa_r+0x636> - 8014c5c: 4bac ldr r3, [pc, #688] @ (8014f10 <_dtoa_r+0x8a0>) - 8014c5e: e9dd 0110 ldrd r0, r1, [sp, #64] @ 0x40 - 8014c62: f7eb fb23 bl 80002ac <__adddf3> - 8014c66: 4602 mov r2, r0 - 8014c68: 460b mov r3, r1 - 8014c6a: e9dd 0102 ldrd r0, r1, [sp, #8] - 8014c6e: f7eb ff63 bl 8000b38 <__aeabi_dcmpgt> - 8014c72: 2800 cmp r0, #0 - 8014c74: d145 bne.n 8014d02 <_dtoa_r+0x692> - 8014c76: e9dd 2310 ldrd r2, r3, [sp, #64] @ 0x40 - 8014c7a: 49a5 ldr r1, [pc, #660] @ (8014f10 <_dtoa_r+0x8a0>) - 8014c7c: 2000 movs r0, #0 - 8014c7e: f7eb fb13 bl 80002a8 <__aeabi_dsub> - 8014c82: 4602 mov r2, r0 - 8014c84: 460b mov r3, r1 - 8014c86: e9dd 0102 ldrd r0, r1, [sp, #8] - 8014c8a: f7eb ff37 bl 8000afc <__aeabi_dcmplt> - 8014c8e: 2800 cmp r0, #0 - 8014c90: f43f aef4 beq.w 8014a7c <_dtoa_r+0x40c> - 8014c94: 9e15 ldr r6, [sp, #84] @ 0x54 - 8014c96: 1e73 subs r3, r6, #1 - 8014c98: 9315 str r3, [sp, #84] @ 0x54 - 8014c9a: f816 3c01 ldrb.w r3, [r6, #-1] - 8014c9e: 2b30 cmp r3, #48 @ 0x30 - 8014ca0: d0f8 beq.n 8014c94 <_dtoa_r+0x624> - 8014ca2: 9f04 ldr r7, [sp, #16] - 8014ca4: e73d b.n 8014b22 <_dtoa_r+0x4b2> - 8014ca6: 4b9b ldr r3, [pc, #620] @ (8014f14 <_dtoa_r+0x8a4>) - 8014ca8: f7eb fcb6 bl 8000618 <__aeabi_dmul> - 8014cac: e9cd 0102 strd r0, r1, [sp, #8] - 8014cb0: e7bc b.n 8014c2c <_dtoa_r+0x5bc> - 8014cb2: d10c bne.n 8014cce <_dtoa_r+0x65e> - 8014cb4: 4b98 ldr r3, [pc, #608] @ (8014f18 <_dtoa_r+0x8a8>) - 8014cb6: 2200 movs r2, #0 - 8014cb8: e9dd 0100 ldrd r0, r1, [sp] - 8014cbc: f7eb fcac bl 8000618 <__aeabi_dmul> - 8014cc0: e9dd 2302 ldrd r2, r3, [sp, #8] - 8014cc4: f7eb ff2e bl 8000b24 <__aeabi_dcmpge> - 8014cc8: 2800 cmp r0, #0 - 8014cca: f000 8157 beq.w 8014f7c <_dtoa_r+0x90c> - 8014cce: 2400 movs r4, #0 - 8014cd0: 4625 mov r5, r4 - 8014cd2: 9b0e ldr r3, [sp, #56] @ 0x38 - 8014cd4: 43db mvns r3, r3 - 8014cd6: 9304 str r3, [sp, #16] - 8014cd8: 4656 mov r6, sl - 8014cda: 2700 movs r7, #0 - 8014cdc: 4621 mov r1, r4 - 8014cde: 4658 mov r0, fp - 8014ce0: f000 faa9 bl 8015236 <_Bfree> - 8014ce4: 2d00 cmp r5, #0 - 8014ce6: d0dc beq.n 8014ca2 <_dtoa_r+0x632> - 8014ce8: b12f cbz r7, 8014cf6 <_dtoa_r+0x686> - 8014cea: 42af cmp r7, r5 - 8014cec: d003 beq.n 8014cf6 <_dtoa_r+0x686> - 8014cee: 4639 mov r1, r7 - 8014cf0: 4658 mov r0, fp - 8014cf2: f000 faa0 bl 8015236 <_Bfree> - 8014cf6: 4629 mov r1, r5 - 8014cf8: 4658 mov r0, fp - 8014cfa: f000 fa9c bl 8015236 <_Bfree> - 8014cfe: e7d0 b.n 8014ca2 <_dtoa_r+0x632> - 8014d00: 9704 str r7, [sp, #16] - 8014d02: 4633 mov r3, r6 - 8014d04: 461e mov r6, r3 - 8014d06: f813 2d01 ldrb.w r2, [r3, #-1]! - 8014d0a: 2a39 cmp r2, #57 @ 0x39 - 8014d0c: d107 bne.n 8014d1e <_dtoa_r+0x6ae> - 8014d0e: 459a cmp sl, r3 - 8014d10: d1f8 bne.n 8014d04 <_dtoa_r+0x694> - 8014d12: 9a04 ldr r2, [sp, #16] - 8014d14: 3201 adds r2, #1 - 8014d16: 9204 str r2, [sp, #16] - 8014d18: 2230 movs r2, #48 @ 0x30 - 8014d1a: f88a 2000 strb.w r2, [sl] - 8014d1e: 781a ldrb r2, [r3, #0] - 8014d20: 3201 adds r2, #1 - 8014d22: 701a strb r2, [r3, #0] - 8014d24: e7bd b.n 8014ca2 <_dtoa_r+0x632> - 8014d26: 4b7b ldr r3, [pc, #492] @ (8014f14 <_dtoa_r+0x8a4>) - 8014d28: 2200 movs r2, #0 - 8014d2a: f7eb fc75 bl 8000618 <__aeabi_dmul> - 8014d2e: 2200 movs r2, #0 - 8014d30: 2300 movs r3, #0 - 8014d32: 4604 mov r4, r0 - 8014d34: 460d mov r5, r1 - 8014d36: f7eb fed7 bl 8000ae8 <__aeabi_dcmpeq> - 8014d3a: 2800 cmp r0, #0 - 8014d3c: f43f aeba beq.w 8014ab4 <_dtoa_r+0x444> - 8014d40: e6ef b.n 8014b22 <_dtoa_r+0x4b2> - 8014d42: 9a0b ldr r2, [sp, #44] @ 0x2c - 8014d44: 2a00 cmp r2, #0 - 8014d46: f000 80db beq.w 8014f00 <_dtoa_r+0x890> - 8014d4a: 9a09 ldr r2, [sp, #36] @ 0x24 - 8014d4c: 2a01 cmp r2, #1 - 8014d4e: f300 80bf bgt.w 8014ed0 <_dtoa_r+0x860> - 8014d52: 9a14 ldr r2, [sp, #80] @ 0x50 - 8014d54: 2a00 cmp r2, #0 - 8014d56: f000 80b7 beq.w 8014ec8 <_dtoa_r+0x858> - 8014d5a: f203 4333 addw r3, r3, #1075 @ 0x433 - 8014d5e: 9c0a ldr r4, [sp, #40] @ 0x28 - 8014d60: 4646 mov r6, r8 - 8014d62: 9a08 ldr r2, [sp, #32] - 8014d64: 2101 movs r1, #1 - 8014d66: 441a add r2, r3 - 8014d68: 4658 mov r0, fp - 8014d6a: 4498 add r8, r3 - 8014d6c: 9208 str r2, [sp, #32] - 8014d6e: f000 fafd bl 801536c <__i2b> - 8014d72: 4605 mov r5, r0 - 8014d74: b15e cbz r6, 8014d8e <_dtoa_r+0x71e> - 8014d76: 9b08 ldr r3, [sp, #32] - 8014d78: 2b00 cmp r3, #0 - 8014d7a: dd08 ble.n 8014d8e <_dtoa_r+0x71e> - 8014d7c: 42b3 cmp r3, r6 - 8014d7e: 9a08 ldr r2, [sp, #32] - 8014d80: bfa8 it ge - 8014d82: 4633 movge r3, r6 - 8014d84: eba8 0803 sub.w r8, r8, r3 - 8014d88: 1af6 subs r6, r6, r3 - 8014d8a: 1ad3 subs r3, r2, r3 - 8014d8c: 9308 str r3, [sp, #32] - 8014d8e: 9b0a ldr r3, [sp, #40] @ 0x28 - 8014d90: b1f3 cbz r3, 8014dd0 <_dtoa_r+0x760> - 8014d92: 9b0b ldr r3, [sp, #44] @ 0x2c - 8014d94: 2b00 cmp r3, #0 - 8014d96: f000 80b7 beq.w 8014f08 <_dtoa_r+0x898> - 8014d9a: b18c cbz r4, 8014dc0 <_dtoa_r+0x750> - 8014d9c: 4629 mov r1, r5 - 8014d9e: 4622 mov r2, r4 - 8014da0: 4658 mov r0, fp - 8014da2: f000 fba3 bl 80154ec <__pow5mult> - 8014da6: 464a mov r2, r9 - 8014da8: 4601 mov r1, r0 - 8014daa: 4605 mov r5, r0 - 8014dac: 4658 mov r0, fp - 8014dae: f000 faf3 bl 8015398 <__multiply> - 8014db2: 4649 mov r1, r9 - 8014db4: 9004 str r0, [sp, #16] - 8014db6: 4658 mov r0, fp - 8014db8: f000 fa3d bl 8015236 <_Bfree> - 8014dbc: 9b04 ldr r3, [sp, #16] - 8014dbe: 4699 mov r9, r3 - 8014dc0: 9b0a ldr r3, [sp, #40] @ 0x28 - 8014dc2: 1b1a subs r2, r3, r4 - 8014dc4: d004 beq.n 8014dd0 <_dtoa_r+0x760> - 8014dc6: 4649 mov r1, r9 - 8014dc8: 4658 mov r0, fp - 8014dca: f000 fb8f bl 80154ec <__pow5mult> - 8014dce: 4681 mov r9, r0 - 8014dd0: 2101 movs r1, #1 - 8014dd2: 4658 mov r0, fp - 8014dd4: f000 faca bl 801536c <__i2b> - 8014dd8: 9b0f ldr r3, [sp, #60] @ 0x3c - 8014dda: 4604 mov r4, r0 - 8014ddc: 2b00 cmp r3, #0 - 8014dde: f000 81cc beq.w 801517a <_dtoa_r+0xb0a> - 8014de2: 461a mov r2, r3 - 8014de4: 4601 mov r1, r0 - 8014de6: 4658 mov r0, fp - 8014de8: f000 fb80 bl 80154ec <__pow5mult> - 8014dec: 9b09 ldr r3, [sp, #36] @ 0x24 - 8014dee: 2b01 cmp r3, #1 - 8014df0: 4604 mov r4, r0 - 8014df2: f300 8095 bgt.w 8014f20 <_dtoa_r+0x8b0> - 8014df6: 9b02 ldr r3, [sp, #8] - 8014df8: 2b00 cmp r3, #0 - 8014dfa: f040 8087 bne.w 8014f0c <_dtoa_r+0x89c> - 8014dfe: 9b03 ldr r3, [sp, #12] - 8014e00: f3c3 0313 ubfx r3, r3, #0, #20 - 8014e04: 2b00 cmp r3, #0 - 8014e06: f040 8089 bne.w 8014f1c <_dtoa_r+0x8ac> - 8014e0a: 9b03 ldr r3, [sp, #12] - 8014e0c: f023 4300 bic.w r3, r3, #2147483648 @ 0x80000000 - 8014e10: 0d1b lsrs r3, r3, #20 - 8014e12: 051b lsls r3, r3, #20 - 8014e14: b12b cbz r3, 8014e22 <_dtoa_r+0x7b2> - 8014e16: 9b08 ldr r3, [sp, #32] - 8014e18: 3301 adds r3, #1 - 8014e1a: 9308 str r3, [sp, #32] - 8014e1c: f108 0801 add.w r8, r8, #1 - 8014e20: 2301 movs r3, #1 - 8014e22: 930a str r3, [sp, #40] @ 0x28 - 8014e24: 9b0f ldr r3, [sp, #60] @ 0x3c - 8014e26: 2b00 cmp r3, #0 - 8014e28: f000 81ad beq.w 8015186 <_dtoa_r+0xb16> - 8014e2c: 6923 ldr r3, [r4, #16] - 8014e2e: eb04 0383 add.w r3, r4, r3, lsl #2 - 8014e32: 6918 ldr r0, [r3, #16] - 8014e34: f000 fa4e bl 80152d4 <__hi0bits> - 8014e38: f1c0 0020 rsb r0, r0, #32 - 8014e3c: 9b08 ldr r3, [sp, #32] - 8014e3e: 4418 add r0, r3 - 8014e40: f010 001f ands.w r0, r0, #31 - 8014e44: d077 beq.n 8014f36 <_dtoa_r+0x8c6> - 8014e46: f1c0 0320 rsb r3, r0, #32 - 8014e4a: 2b04 cmp r3, #4 - 8014e4c: dd6b ble.n 8014f26 <_dtoa_r+0x8b6> - 8014e4e: 9b08 ldr r3, [sp, #32] - 8014e50: f1c0 001c rsb r0, r0, #28 - 8014e54: 4403 add r3, r0 - 8014e56: 4480 add r8, r0 - 8014e58: 4406 add r6, r0 - 8014e5a: 9308 str r3, [sp, #32] - 8014e5c: f1b8 0f00 cmp.w r8, #0 - 8014e60: dd05 ble.n 8014e6e <_dtoa_r+0x7fe> - 8014e62: 4649 mov r1, r9 - 8014e64: 4642 mov r2, r8 - 8014e66: 4658 mov r0, fp - 8014e68: f000 fb80 bl 801556c <__lshift> - 8014e6c: 4681 mov r9, r0 - 8014e6e: 9b08 ldr r3, [sp, #32] - 8014e70: 2b00 cmp r3, #0 - 8014e72: dd05 ble.n 8014e80 <_dtoa_r+0x810> - 8014e74: 4621 mov r1, r4 - 8014e76: 461a mov r2, r3 - 8014e78: 4658 mov r0, fp - 8014e7a: f000 fb77 bl 801556c <__lshift> - 8014e7e: 4604 mov r4, r0 - 8014e80: 9b12 ldr r3, [sp, #72] @ 0x48 - 8014e82: 2b00 cmp r3, #0 - 8014e84: d059 beq.n 8014f3a <_dtoa_r+0x8ca> - 8014e86: 4621 mov r1, r4 - 8014e88: 4648 mov r0, r9 - 8014e8a: f000 fbdb bl 8015644 <__mcmp> - 8014e8e: 2800 cmp r0, #0 - 8014e90: da53 bge.n 8014f3a <_dtoa_r+0x8ca> - 8014e92: 1e7b subs r3, r7, #1 - 8014e94: 9304 str r3, [sp, #16] - 8014e96: 4649 mov r1, r9 - 8014e98: 2300 movs r3, #0 - 8014e9a: 220a movs r2, #10 - 8014e9c: 4658 mov r0, fp - 8014e9e: f000 f9d3 bl 8015248 <__multadd> - 8014ea2: 9b0b ldr r3, [sp, #44] @ 0x2c - 8014ea4: 4681 mov r9, r0 - 8014ea6: 2b00 cmp r3, #0 - 8014ea8: f000 816f beq.w 801518a <_dtoa_r+0xb1a> - 8014eac: 2300 movs r3, #0 - 8014eae: 4629 mov r1, r5 - 8014eb0: 220a movs r2, #10 - 8014eb2: 4658 mov r0, fp - 8014eb4: f000 f9c8 bl 8015248 <__multadd> - 8014eb8: 9b00 ldr r3, [sp, #0] - 8014eba: 2b00 cmp r3, #0 - 8014ebc: 4605 mov r5, r0 - 8014ebe: dc67 bgt.n 8014f90 <_dtoa_r+0x920> - 8014ec0: 9b09 ldr r3, [sp, #36] @ 0x24 - 8014ec2: 2b02 cmp r3, #2 - 8014ec4: dc41 bgt.n 8014f4a <_dtoa_r+0x8da> - 8014ec6: e063 b.n 8014f90 <_dtoa_r+0x920> - 8014ec8: 9b16 ldr r3, [sp, #88] @ 0x58 - 8014eca: f1c3 0336 rsb r3, r3, #54 @ 0x36 - 8014ece: e746 b.n 8014d5e <_dtoa_r+0x6ee> - 8014ed0: 9b07 ldr r3, [sp, #28] - 8014ed2: 1e5c subs r4, r3, #1 - 8014ed4: 9b0a ldr r3, [sp, #40] @ 0x28 - 8014ed6: 42a3 cmp r3, r4 - 8014ed8: bfbf itttt lt - 8014eda: 9b0a ldrlt r3, [sp, #40] @ 0x28 - 8014edc: 9a0f ldrlt r2, [sp, #60] @ 0x3c - 8014ede: 940a strlt r4, [sp, #40] @ 0x28 - 8014ee0: 1ae3 sublt r3, r4, r3 - 8014ee2: bfb4 ite lt - 8014ee4: 18d2 addlt r2, r2, r3 - 8014ee6: 1b1c subge r4, r3, r4 - 8014ee8: 9b07 ldr r3, [sp, #28] - 8014eea: bfbc itt lt - 8014eec: 920f strlt r2, [sp, #60] @ 0x3c - 8014eee: 2400 movlt r4, #0 - 8014ef0: 2b00 cmp r3, #0 - 8014ef2: bfb5 itete lt - 8014ef4: eba8 0603 sublt.w r6, r8, r3 - 8014ef8: 9b07 ldrge r3, [sp, #28] - 8014efa: 2300 movlt r3, #0 - 8014efc: 4646 movge r6, r8 - 8014efe: e730 b.n 8014d62 <_dtoa_r+0x6f2> - 8014f00: 9c0a ldr r4, [sp, #40] @ 0x28 - 8014f02: 9d0b ldr r5, [sp, #44] @ 0x2c - 8014f04: 4646 mov r6, r8 - 8014f06: e735 b.n 8014d74 <_dtoa_r+0x704> - 8014f08: 9a0a ldr r2, [sp, #40] @ 0x28 - 8014f0a: e75c b.n 8014dc6 <_dtoa_r+0x756> - 8014f0c: 2300 movs r3, #0 - 8014f0e: e788 b.n 8014e22 <_dtoa_r+0x7b2> - 8014f10: 3fe00000 .word 0x3fe00000 - 8014f14: 40240000 .word 0x40240000 - 8014f18: 40140000 .word 0x40140000 - 8014f1c: 9b02 ldr r3, [sp, #8] - 8014f1e: e780 b.n 8014e22 <_dtoa_r+0x7b2> - 8014f20: 2300 movs r3, #0 - 8014f22: 930a str r3, [sp, #40] @ 0x28 - 8014f24: e782 b.n 8014e2c <_dtoa_r+0x7bc> - 8014f26: d099 beq.n 8014e5c <_dtoa_r+0x7ec> - 8014f28: 9a08 ldr r2, [sp, #32] - 8014f2a: 331c adds r3, #28 - 8014f2c: 441a add r2, r3 - 8014f2e: 4498 add r8, r3 - 8014f30: 441e add r6, r3 - 8014f32: 9208 str r2, [sp, #32] - 8014f34: e792 b.n 8014e5c <_dtoa_r+0x7ec> - 8014f36: 4603 mov r3, r0 - 8014f38: e7f6 b.n 8014f28 <_dtoa_r+0x8b8> - 8014f3a: 9b07 ldr r3, [sp, #28] - 8014f3c: 9704 str r7, [sp, #16] - 8014f3e: 2b00 cmp r3, #0 - 8014f40: dc20 bgt.n 8014f84 <_dtoa_r+0x914> - 8014f42: 9300 str r3, [sp, #0] - 8014f44: 9b09 ldr r3, [sp, #36] @ 0x24 - 8014f46: 2b02 cmp r3, #2 - 8014f48: dd1e ble.n 8014f88 <_dtoa_r+0x918> - 8014f4a: 9b00 ldr r3, [sp, #0] - 8014f4c: 2b00 cmp r3, #0 - 8014f4e: f47f aec0 bne.w 8014cd2 <_dtoa_r+0x662> - 8014f52: 4621 mov r1, r4 - 8014f54: 2205 movs r2, #5 - 8014f56: 4658 mov r0, fp - 8014f58: f000 f976 bl 8015248 <__multadd> - 8014f5c: 4601 mov r1, r0 - 8014f5e: 4604 mov r4, r0 - 8014f60: 4648 mov r0, r9 - 8014f62: f000 fb6f bl 8015644 <__mcmp> - 8014f66: 2800 cmp r0, #0 - 8014f68: f77f aeb3 ble.w 8014cd2 <_dtoa_r+0x662> - 8014f6c: 4656 mov r6, sl - 8014f6e: 2331 movs r3, #49 @ 0x31 - 8014f70: f806 3b01 strb.w r3, [r6], #1 - 8014f74: 9b04 ldr r3, [sp, #16] - 8014f76: 3301 adds r3, #1 - 8014f78: 9304 str r3, [sp, #16] - 8014f7a: e6ae b.n 8014cda <_dtoa_r+0x66a> - 8014f7c: 9c07 ldr r4, [sp, #28] - 8014f7e: 9704 str r7, [sp, #16] - 8014f80: 4625 mov r5, r4 - 8014f82: e7f3 b.n 8014f6c <_dtoa_r+0x8fc> - 8014f84: 9b07 ldr r3, [sp, #28] - 8014f86: 9300 str r3, [sp, #0] - 8014f88: 9b0b ldr r3, [sp, #44] @ 0x2c - 8014f8a: 2b00 cmp r3, #0 - 8014f8c: f000 8101 beq.w 8015192 <_dtoa_r+0xb22> - 8014f90: 2e00 cmp r6, #0 - 8014f92: dd05 ble.n 8014fa0 <_dtoa_r+0x930> - 8014f94: 4629 mov r1, r5 - 8014f96: 4632 mov r2, r6 - 8014f98: 4658 mov r0, fp - 8014f9a: f000 fae7 bl 801556c <__lshift> - 8014f9e: 4605 mov r5, r0 - 8014fa0: 9b0a ldr r3, [sp, #40] @ 0x28 - 8014fa2: 2b00 cmp r3, #0 - 8014fa4: d059 beq.n 801505a <_dtoa_r+0x9ea> - 8014fa6: 6869 ldr r1, [r5, #4] - 8014fa8: 4658 mov r0, fp - 8014faa: f000 f91f bl 80151ec <_Balloc> - 8014fae: 4606 mov r6, r0 - 8014fb0: b920 cbnz r0, 8014fbc <_dtoa_r+0x94c> - 8014fb2: 4b83 ldr r3, [pc, #524] @ (80151c0 <_dtoa_r+0xb50>) - 8014fb4: 4602 mov r2, r0 - 8014fb6: f240 21ef movw r1, #751 @ 0x2ef - 8014fba: e480 b.n 80148be <_dtoa_r+0x24e> - 8014fbc: 692a ldr r2, [r5, #16] - 8014fbe: 3202 adds r2, #2 - 8014fc0: 0092 lsls r2, r2, #2 - 8014fc2: f105 010c add.w r1, r5, #12 - 8014fc6: 300c adds r0, #12 - 8014fc8: f7fc fc12 bl 80117f0 - 8014fcc: 2201 movs r2, #1 - 8014fce: 4631 mov r1, r6 - 8014fd0: 4658 mov r0, fp - 8014fd2: f000 facb bl 801556c <__lshift> - 8014fd6: f10a 0301 add.w r3, sl, #1 - 8014fda: 9307 str r3, [sp, #28] - 8014fdc: 9b00 ldr r3, [sp, #0] - 8014fde: 4453 add r3, sl - 8014fe0: 930b str r3, [sp, #44] @ 0x2c - 8014fe2: 9b02 ldr r3, [sp, #8] - 8014fe4: f003 0301 and.w r3, r3, #1 - 8014fe8: 462f mov r7, r5 - 8014fea: 930a str r3, [sp, #40] @ 0x28 - 8014fec: 4605 mov r5, r0 - 8014fee: 9b07 ldr r3, [sp, #28] - 8014ff0: 4621 mov r1, r4 - 8014ff2: 3b01 subs r3, #1 - 8014ff4: 4648 mov r0, r9 - 8014ff6: 9300 str r3, [sp, #0] - 8014ff8: f7ff fab0 bl 801455c - 8014ffc: 4639 mov r1, r7 - 8014ffe: 9002 str r0, [sp, #8] - 8015000: f100 0830 add.w r8, r0, #48 @ 0x30 - 8015004: 4648 mov r0, r9 - 8015006: f000 fb1d bl 8015644 <__mcmp> - 801500a: 462a mov r2, r5 - 801500c: 9008 str r0, [sp, #32] - 801500e: 4621 mov r1, r4 - 8015010: 4658 mov r0, fp - 8015012: f000 fb33 bl 801567c <__mdiff> - 8015016: 68c2 ldr r2, [r0, #12] - 8015018: 4606 mov r6, r0 - 801501a: bb02 cbnz r2, 801505e <_dtoa_r+0x9ee> - 801501c: 4601 mov r1, r0 - 801501e: 4648 mov r0, r9 - 8015020: f000 fb10 bl 8015644 <__mcmp> - 8015024: 4602 mov r2, r0 - 8015026: 4631 mov r1, r6 - 8015028: 4658 mov r0, fp - 801502a: 920e str r2, [sp, #56] @ 0x38 - 801502c: f000 f903 bl 8015236 <_Bfree> - 8015030: 9b09 ldr r3, [sp, #36] @ 0x24 - 8015032: 9a0e ldr r2, [sp, #56] @ 0x38 - 8015034: 9e07 ldr r6, [sp, #28] - 8015036: ea43 0102 orr.w r1, r3, r2 - 801503a: 9b0a ldr r3, [sp, #40] @ 0x28 - 801503c: 4319 orrs r1, r3 - 801503e: d110 bne.n 8015062 <_dtoa_r+0x9f2> - 8015040: f1b8 0f39 cmp.w r8, #57 @ 0x39 - 8015044: d029 beq.n 801509a <_dtoa_r+0xa2a> - 8015046: 9b08 ldr r3, [sp, #32] - 8015048: 2b00 cmp r3, #0 - 801504a: dd02 ble.n 8015052 <_dtoa_r+0x9e2> - 801504c: 9b02 ldr r3, [sp, #8] - 801504e: f103 0831 add.w r8, r3, #49 @ 0x31 - 8015052: 9b00 ldr r3, [sp, #0] - 8015054: f883 8000 strb.w r8, [r3] - 8015058: e640 b.n 8014cdc <_dtoa_r+0x66c> - 801505a: 4628 mov r0, r5 - 801505c: e7bb b.n 8014fd6 <_dtoa_r+0x966> - 801505e: 2201 movs r2, #1 - 8015060: e7e1 b.n 8015026 <_dtoa_r+0x9b6> - 8015062: 9b08 ldr r3, [sp, #32] - 8015064: 2b00 cmp r3, #0 - 8015066: db04 blt.n 8015072 <_dtoa_r+0xa02> - 8015068: 9909 ldr r1, [sp, #36] @ 0x24 - 801506a: 430b orrs r3, r1 - 801506c: 990a ldr r1, [sp, #40] @ 0x28 - 801506e: 430b orrs r3, r1 - 8015070: d120 bne.n 80150b4 <_dtoa_r+0xa44> - 8015072: 2a00 cmp r2, #0 - 8015074: dded ble.n 8015052 <_dtoa_r+0x9e2> - 8015076: 4649 mov r1, r9 - 8015078: 2201 movs r2, #1 - 801507a: 4658 mov r0, fp - 801507c: f000 fa76 bl 801556c <__lshift> - 8015080: 4621 mov r1, r4 - 8015082: 4681 mov r9, r0 - 8015084: f000 fade bl 8015644 <__mcmp> - 8015088: 2800 cmp r0, #0 - 801508a: dc03 bgt.n 8015094 <_dtoa_r+0xa24> - 801508c: d1e1 bne.n 8015052 <_dtoa_r+0x9e2> - 801508e: f018 0f01 tst.w r8, #1 - 8015092: d0de beq.n 8015052 <_dtoa_r+0x9e2> - 8015094: f1b8 0f39 cmp.w r8, #57 @ 0x39 - 8015098: d1d8 bne.n 801504c <_dtoa_r+0x9dc> - 801509a: 9a00 ldr r2, [sp, #0] - 801509c: 2339 movs r3, #57 @ 0x39 - 801509e: 7013 strb r3, [r2, #0] - 80150a0: 4633 mov r3, r6 - 80150a2: 461e mov r6, r3 - 80150a4: 3b01 subs r3, #1 - 80150a6: f816 2c01 ldrb.w r2, [r6, #-1] - 80150aa: 2a39 cmp r2, #57 @ 0x39 - 80150ac: d052 beq.n 8015154 <_dtoa_r+0xae4> - 80150ae: 3201 adds r2, #1 - 80150b0: 701a strb r2, [r3, #0] - 80150b2: e613 b.n 8014cdc <_dtoa_r+0x66c> - 80150b4: 2a00 cmp r2, #0 - 80150b6: dd07 ble.n 80150c8 <_dtoa_r+0xa58> - 80150b8: f1b8 0f39 cmp.w r8, #57 @ 0x39 - 80150bc: d0ed beq.n 801509a <_dtoa_r+0xa2a> - 80150be: 9a00 ldr r2, [sp, #0] - 80150c0: f108 0301 add.w r3, r8, #1 - 80150c4: 7013 strb r3, [r2, #0] - 80150c6: e609 b.n 8014cdc <_dtoa_r+0x66c> - 80150c8: 9b07 ldr r3, [sp, #28] - 80150ca: 9a07 ldr r2, [sp, #28] - 80150cc: f803 8c01 strb.w r8, [r3, #-1] - 80150d0: 9b0b ldr r3, [sp, #44] @ 0x2c - 80150d2: 4293 cmp r3, r2 - 80150d4: d028 beq.n 8015128 <_dtoa_r+0xab8> - 80150d6: 4649 mov r1, r9 - 80150d8: 2300 movs r3, #0 - 80150da: 220a movs r2, #10 - 80150dc: 4658 mov r0, fp - 80150de: f000 f8b3 bl 8015248 <__multadd> - 80150e2: 42af cmp r7, r5 - 80150e4: 4681 mov r9, r0 - 80150e6: f04f 0300 mov.w r3, #0 - 80150ea: f04f 020a mov.w r2, #10 - 80150ee: 4639 mov r1, r7 - 80150f0: 4658 mov r0, fp - 80150f2: d107 bne.n 8015104 <_dtoa_r+0xa94> - 80150f4: f000 f8a8 bl 8015248 <__multadd> - 80150f8: 4607 mov r7, r0 - 80150fa: 4605 mov r5, r0 - 80150fc: 9b07 ldr r3, [sp, #28] - 80150fe: 3301 adds r3, #1 - 8015100: 9307 str r3, [sp, #28] - 8015102: e774 b.n 8014fee <_dtoa_r+0x97e> - 8015104: f000 f8a0 bl 8015248 <__multadd> - 8015108: 4629 mov r1, r5 - 801510a: 4607 mov r7, r0 - 801510c: 2300 movs r3, #0 - 801510e: 220a movs r2, #10 - 8015110: 4658 mov r0, fp - 8015112: f000 f899 bl 8015248 <__multadd> - 8015116: 4605 mov r5, r0 - 8015118: e7f0 b.n 80150fc <_dtoa_r+0xa8c> - 801511a: 9b00 ldr r3, [sp, #0] - 801511c: 2b00 cmp r3, #0 - 801511e: bfcc ite gt - 8015120: 461e movgt r6, r3 - 8015122: 2601 movle r6, #1 - 8015124: 4456 add r6, sl - 8015126: 2700 movs r7, #0 - 8015128: 4649 mov r1, r9 - 801512a: 2201 movs r2, #1 - 801512c: 4658 mov r0, fp - 801512e: f000 fa1d bl 801556c <__lshift> - 8015132: 4621 mov r1, r4 - 8015134: 4681 mov r9, r0 - 8015136: f000 fa85 bl 8015644 <__mcmp> - 801513a: 2800 cmp r0, #0 - 801513c: dcb0 bgt.n 80150a0 <_dtoa_r+0xa30> - 801513e: d102 bne.n 8015146 <_dtoa_r+0xad6> - 8015140: f018 0f01 tst.w r8, #1 - 8015144: d1ac bne.n 80150a0 <_dtoa_r+0xa30> - 8015146: 4633 mov r3, r6 - 8015148: 461e mov r6, r3 - 801514a: f813 2d01 ldrb.w r2, [r3, #-1]! - 801514e: 2a30 cmp r2, #48 @ 0x30 - 8015150: d0fa beq.n 8015148 <_dtoa_r+0xad8> - 8015152: e5c3 b.n 8014cdc <_dtoa_r+0x66c> - 8015154: 459a cmp sl, r3 - 8015156: d1a4 bne.n 80150a2 <_dtoa_r+0xa32> - 8015158: 9b04 ldr r3, [sp, #16] - 801515a: 3301 adds r3, #1 - 801515c: 9304 str r3, [sp, #16] - 801515e: 2331 movs r3, #49 @ 0x31 - 8015160: f88a 3000 strb.w r3, [sl] - 8015164: e5ba b.n 8014cdc <_dtoa_r+0x66c> - 8015166: 9b23 ldr r3, [sp, #140] @ 0x8c - 8015168: f8df a058 ldr.w sl, [pc, #88] @ 80151c4 <_dtoa_r+0xb54> - 801516c: 2b00 cmp r3, #0 - 801516e: f43f aab6 beq.w 80146de <_dtoa_r+0x6e> - 8015172: f10a 0308 add.w r3, sl, #8 - 8015176: f7ff bab0 b.w 80146da <_dtoa_r+0x6a> - 801517a: 9b09 ldr r3, [sp, #36] @ 0x24 - 801517c: 2b01 cmp r3, #1 - 801517e: f77f ae3a ble.w 8014df6 <_dtoa_r+0x786> - 8015182: 9b0f ldr r3, [sp, #60] @ 0x3c - 8015184: 930a str r3, [sp, #40] @ 0x28 - 8015186: 2001 movs r0, #1 - 8015188: e658 b.n 8014e3c <_dtoa_r+0x7cc> - 801518a: 9b00 ldr r3, [sp, #0] - 801518c: 2b00 cmp r3, #0 - 801518e: f77f aed9 ble.w 8014f44 <_dtoa_r+0x8d4> - 8015192: 4656 mov r6, sl - 8015194: 4621 mov r1, r4 - 8015196: 4648 mov r0, r9 - 8015198: f7ff f9e0 bl 801455c - 801519c: f100 0830 add.w r8, r0, #48 @ 0x30 - 80151a0: f806 8b01 strb.w r8, [r6], #1 - 80151a4: 9b00 ldr r3, [sp, #0] - 80151a6: eba6 020a sub.w r2, r6, sl - 80151aa: 4293 cmp r3, r2 - 80151ac: ddb5 ble.n 801511a <_dtoa_r+0xaaa> - 80151ae: 4649 mov r1, r9 - 80151b0: 2300 movs r3, #0 - 80151b2: 220a movs r2, #10 - 80151b4: 4658 mov r0, fp - 80151b6: f000 f847 bl 8015248 <__multadd> - 80151ba: 4681 mov r9, r0 - 80151bc: e7ea b.n 8015194 <_dtoa_r+0xb24> - 80151be: bf00 nop - 80151c0: 08019076 .word 0x08019076 - 80151c4: 08019069 .word 0x08019069 +08014ff0 <_dtoa_r>: + 8014ff0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8014ff4: b099 sub sp, #100 @ 0x64 + 8014ff6: ed8d 0b02 vstr d0, [sp, #8] + 8014ffa: 9109 str r1, [sp, #36] @ 0x24 + 8014ffc: 6b81 ldr r1, [r0, #56] @ 0x38 + 8014ffe: 9e22 ldr r6, [sp, #136] @ 0x88 + 8015000: 920e str r2, [sp, #56] @ 0x38 + 8015002: ec55 4b10 vmov r4, r5, d0 + 8015006: 4683 mov fp, r0 + 8015008: 9313 str r3, [sp, #76] @ 0x4c + 801500a: b149 cbz r1, 8015020 <_dtoa_r+0x30> + 801500c: 6bc2 ldr r2, [r0, #60] @ 0x3c + 801500e: 604a str r2, [r1, #4] + 8015010: 2301 movs r3, #1 + 8015012: 4093 lsls r3, r2 + 8015014: 608b str r3, [r1, #8] + 8015016: f000 fdce bl 8015bb6 <_Bfree> + 801501a: 2300 movs r3, #0 + 801501c: f8cb 3038 str.w r3, [fp, #56] @ 0x38 + 8015020: 1e2b subs r3, r5, #0 + 8015022: bfb9 ittee lt + 8015024: f023 4300 biclt.w r3, r3, #2147483648 @ 0x80000000 + 8015028: 9303 strlt r3, [sp, #12] + 801502a: 2300 movge r3, #0 + 801502c: 6033 strge r3, [r6, #0] + 801502e: 9f03 ldr r7, [sp, #12] + 8015030: 4b97 ldr r3, [pc, #604] @ (8015290 <_dtoa_r+0x2a0>) + 8015032: bfbc itt lt + 8015034: 2201 movlt r2, #1 + 8015036: 6032 strlt r2, [r6, #0] + 8015038: 43bb bics r3, r7 + 801503a: d114 bne.n 8015066 <_dtoa_r+0x76> + 801503c: 9a13 ldr r2, [sp, #76] @ 0x4c + 801503e: f242 730f movw r3, #9999 @ 0x270f + 8015042: 6013 str r3, [r2, #0] + 8015044: f3c7 0313 ubfx r3, r7, #0, #20 + 8015048: 4323 orrs r3, r4 + 801504a: f000 854c beq.w 8015ae6 <_dtoa_r+0xaf6> + 801504e: 9b23 ldr r3, [sp, #140] @ 0x8c + 8015050: f8df a254 ldr.w sl, [pc, #596] @ 80152a8 <_dtoa_r+0x2b8> + 8015054: b11b cbz r3, 801505e <_dtoa_r+0x6e> + 8015056: f10a 0303 add.w r3, sl, #3 + 801505a: 9a23 ldr r2, [sp, #140] @ 0x8c + 801505c: 6013 str r3, [r2, #0] + 801505e: 4650 mov r0, sl + 8015060: b019 add sp, #100 @ 0x64 + 8015062: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8015066: ed9d 7b02 vldr d7, [sp, #8] + 801506a: 2200 movs r2, #0 + 801506c: ec51 0b17 vmov r0, r1, d7 + 8015070: 2300 movs r3, #0 + 8015072: ed8d 7b0c vstr d7, [sp, #48] @ 0x30 + 8015076: f7eb fd37 bl 8000ae8 <__aeabi_dcmpeq> + 801507a: 4680 mov r8, r0 + 801507c: b150 cbz r0, 8015094 <_dtoa_r+0xa4> + 801507e: 9a13 ldr r2, [sp, #76] @ 0x4c + 8015080: 2301 movs r3, #1 + 8015082: 6013 str r3, [r2, #0] + 8015084: 9b23 ldr r3, [sp, #140] @ 0x8c + 8015086: b113 cbz r3, 801508e <_dtoa_r+0x9e> + 8015088: 9a23 ldr r2, [sp, #140] @ 0x8c + 801508a: 4b82 ldr r3, [pc, #520] @ (8015294 <_dtoa_r+0x2a4>) + 801508c: 6013 str r3, [r2, #0] + 801508e: f8df a21c ldr.w sl, [pc, #540] @ 80152ac <_dtoa_r+0x2bc> + 8015092: e7e4 b.n 801505e <_dtoa_r+0x6e> + 8015094: ed9d 0b0c vldr d0, [sp, #48] @ 0x30 + 8015098: aa16 add r2, sp, #88 @ 0x58 + 801509a: a917 add r1, sp, #92 @ 0x5c + 801509c: 4658 mov r0, fp + 801509e: f001 f841 bl 8016124 <__d2b> + 80150a2: f3c7 560a ubfx r6, r7, #20, #11 + 80150a6: 4681 mov r9, r0 + 80150a8: 2e00 cmp r6, #0 + 80150aa: d077 beq.n 801519c <_dtoa_r+0x1ac> + 80150ac: 9b0d ldr r3, [sp, #52] @ 0x34 + 80150ae: f8cd 8050 str.w r8, [sp, #80] @ 0x50 + 80150b2: f3c3 0313 ubfx r3, r3, #0, #20 + 80150b6: e9dd 010c ldrd r0, r1, [sp, #48] @ 0x30 + 80150ba: f043 537f orr.w r3, r3, #1069547520 @ 0x3fc00000 + 80150be: f443 1340 orr.w r3, r3, #3145728 @ 0x300000 + 80150c2: f2a6 36ff subw r6, r6, #1023 @ 0x3ff + 80150c6: 4619 mov r1, r3 + 80150c8: 2200 movs r2, #0 + 80150ca: 4b73 ldr r3, [pc, #460] @ (8015298 <_dtoa_r+0x2a8>) + 80150cc: f7eb f8ec bl 80002a8 <__aeabi_dsub> + 80150d0: a369 add r3, pc, #420 @ (adr r3, 8015278 <_dtoa_r+0x288>) + 80150d2: e9d3 2300 ldrd r2, r3, [r3] + 80150d6: f7eb fa9f bl 8000618 <__aeabi_dmul> + 80150da: a369 add r3, pc, #420 @ (adr r3, 8015280 <_dtoa_r+0x290>) + 80150dc: e9d3 2300 ldrd r2, r3, [r3] + 80150e0: f7eb f8e4 bl 80002ac <__adddf3> + 80150e4: 4604 mov r4, r0 + 80150e6: 4630 mov r0, r6 + 80150e8: 460d mov r5, r1 + 80150ea: f7eb fa2b bl 8000544 <__aeabi_i2d> + 80150ee: a366 add r3, pc, #408 @ (adr r3, 8015288 <_dtoa_r+0x298>) + 80150f0: e9d3 2300 ldrd r2, r3, [r3] + 80150f4: f7eb fa90 bl 8000618 <__aeabi_dmul> + 80150f8: 4602 mov r2, r0 + 80150fa: 460b mov r3, r1 + 80150fc: 4620 mov r0, r4 + 80150fe: 4629 mov r1, r5 + 8015100: f7eb f8d4 bl 80002ac <__adddf3> + 8015104: 4604 mov r4, r0 + 8015106: 460d mov r5, r1 + 8015108: f7eb fd36 bl 8000b78 <__aeabi_d2iz> + 801510c: 2200 movs r2, #0 + 801510e: 4607 mov r7, r0 + 8015110: 2300 movs r3, #0 + 8015112: 4620 mov r0, r4 + 8015114: 4629 mov r1, r5 + 8015116: f7eb fcf1 bl 8000afc <__aeabi_dcmplt> + 801511a: b140 cbz r0, 801512e <_dtoa_r+0x13e> + 801511c: 4638 mov r0, r7 + 801511e: f7eb fa11 bl 8000544 <__aeabi_i2d> + 8015122: 4622 mov r2, r4 + 8015124: 462b mov r3, r5 + 8015126: f7eb fcdf bl 8000ae8 <__aeabi_dcmpeq> + 801512a: b900 cbnz r0, 801512e <_dtoa_r+0x13e> + 801512c: 3f01 subs r7, #1 + 801512e: 2f16 cmp r7, #22 + 8015130: d851 bhi.n 80151d6 <_dtoa_r+0x1e6> + 8015132: 4b5a ldr r3, [pc, #360] @ (801529c <_dtoa_r+0x2ac>) + 8015134: eb03 03c7 add.w r3, r3, r7, lsl #3 + 8015138: e9d3 2300 ldrd r2, r3, [r3] + 801513c: e9dd 010c ldrd r0, r1, [sp, #48] @ 0x30 + 8015140: f7eb fcdc bl 8000afc <__aeabi_dcmplt> + 8015144: 2800 cmp r0, #0 + 8015146: d048 beq.n 80151da <_dtoa_r+0x1ea> + 8015148: 3f01 subs r7, #1 + 801514a: 2300 movs r3, #0 + 801514c: 9312 str r3, [sp, #72] @ 0x48 + 801514e: 9b16 ldr r3, [sp, #88] @ 0x58 + 8015150: 1b9b subs r3, r3, r6 + 8015152: 1e5a subs r2, r3, #1 + 8015154: bf44 itt mi + 8015156: f1c3 0801 rsbmi r8, r3, #1 + 801515a: 2300 movmi r3, #0 + 801515c: 9208 str r2, [sp, #32] + 801515e: bf54 ite pl + 8015160: f04f 0800 movpl.w r8, #0 + 8015164: 9308 strmi r3, [sp, #32] + 8015166: 2f00 cmp r7, #0 + 8015168: db39 blt.n 80151de <_dtoa_r+0x1ee> + 801516a: 9b08 ldr r3, [sp, #32] + 801516c: 970f str r7, [sp, #60] @ 0x3c + 801516e: 443b add r3, r7 + 8015170: 9308 str r3, [sp, #32] + 8015172: 2300 movs r3, #0 + 8015174: 930a str r3, [sp, #40] @ 0x28 + 8015176: 9b09 ldr r3, [sp, #36] @ 0x24 + 8015178: 2b09 cmp r3, #9 + 801517a: d865 bhi.n 8015248 <_dtoa_r+0x258> + 801517c: 2b05 cmp r3, #5 + 801517e: bfc4 itt gt + 8015180: 3b04 subgt r3, #4 + 8015182: 9309 strgt r3, [sp, #36] @ 0x24 + 8015184: 9b09 ldr r3, [sp, #36] @ 0x24 + 8015186: f1a3 0302 sub.w r3, r3, #2 + 801518a: bfcc ite gt + 801518c: 2400 movgt r4, #0 + 801518e: 2401 movle r4, #1 + 8015190: 2b03 cmp r3, #3 + 8015192: d864 bhi.n 801525e <_dtoa_r+0x26e> + 8015194: e8df f003 tbb [pc, r3] + 8015198: 5635372a .word 0x5635372a + 801519c: e9dd 6316 ldrd r6, r3, [sp, #88] @ 0x58 + 80151a0: 441e add r6, r3 + 80151a2: f206 4332 addw r3, r6, #1074 @ 0x432 + 80151a6: 2b20 cmp r3, #32 + 80151a8: bfc1 itttt gt + 80151aa: f1c3 0340 rsbgt r3, r3, #64 @ 0x40 + 80151ae: 409f lslgt r7, r3 + 80151b0: f206 4312 addwgt r3, r6, #1042 @ 0x412 + 80151b4: fa24 f303 lsrgt.w r3, r4, r3 + 80151b8: bfd6 itet le + 80151ba: f1c3 0320 rsble r3, r3, #32 + 80151be: ea47 0003 orrgt.w r0, r7, r3 + 80151c2: fa04 f003 lslle.w r0, r4, r3 + 80151c6: f7eb f9ad bl 8000524 <__aeabi_ui2d> + 80151ca: 2201 movs r2, #1 + 80151cc: f1a1 73f8 sub.w r3, r1, #32505856 @ 0x1f00000 + 80151d0: 3e01 subs r6, #1 + 80151d2: 9214 str r2, [sp, #80] @ 0x50 + 80151d4: e777 b.n 80150c6 <_dtoa_r+0xd6> + 80151d6: 2301 movs r3, #1 + 80151d8: e7b8 b.n 801514c <_dtoa_r+0x15c> + 80151da: 9012 str r0, [sp, #72] @ 0x48 + 80151dc: e7b7 b.n 801514e <_dtoa_r+0x15e> + 80151de: 427b negs r3, r7 + 80151e0: 930a str r3, [sp, #40] @ 0x28 + 80151e2: 2300 movs r3, #0 + 80151e4: eba8 0807 sub.w r8, r8, r7 + 80151e8: 930f str r3, [sp, #60] @ 0x3c + 80151ea: e7c4 b.n 8015176 <_dtoa_r+0x186> + 80151ec: 2300 movs r3, #0 + 80151ee: 930b str r3, [sp, #44] @ 0x2c + 80151f0: 9b0e ldr r3, [sp, #56] @ 0x38 + 80151f2: 2b00 cmp r3, #0 + 80151f4: dc36 bgt.n 8015264 <_dtoa_r+0x274> + 80151f6: 2301 movs r3, #1 + 80151f8: 9300 str r3, [sp, #0] + 80151fa: 9307 str r3, [sp, #28] + 80151fc: 461a mov r2, r3 + 80151fe: 920e str r2, [sp, #56] @ 0x38 + 8015200: e00b b.n 801521a <_dtoa_r+0x22a> + 8015202: 2301 movs r3, #1 + 8015204: e7f3 b.n 80151ee <_dtoa_r+0x1fe> + 8015206: 2300 movs r3, #0 + 8015208: 930b str r3, [sp, #44] @ 0x2c + 801520a: 9b0e ldr r3, [sp, #56] @ 0x38 + 801520c: 18fb adds r3, r7, r3 + 801520e: 9300 str r3, [sp, #0] + 8015210: 3301 adds r3, #1 + 8015212: 2b01 cmp r3, #1 + 8015214: 9307 str r3, [sp, #28] + 8015216: bfb8 it lt + 8015218: 2301 movlt r3, #1 + 801521a: 2100 movs r1, #0 + 801521c: 2204 movs r2, #4 + 801521e: f102 0014 add.w r0, r2, #20 + 8015222: 4298 cmp r0, r3 + 8015224: d922 bls.n 801526c <_dtoa_r+0x27c> + 8015226: f8cb 103c str.w r1, [fp, #60] @ 0x3c + 801522a: 4658 mov r0, fp + 801522c: f000 fc9e bl 8015b6c <_Balloc> + 8015230: 4682 mov sl, r0 + 8015232: 2800 cmp r0, #0 + 8015234: d13c bne.n 80152b0 <_dtoa_r+0x2c0> + 8015236: 4b1a ldr r3, [pc, #104] @ (80152a0 <_dtoa_r+0x2b0>) + 8015238: 4602 mov r2, r0 + 801523a: f240 11af movw r1, #431 @ 0x1af + 801523e: 4819 ldr r0, [pc, #100] @ (80152a4 <_dtoa_r+0x2b4>) + 8015240: f001 fa64 bl 801670c <__assert_func> + 8015244: 2301 movs r3, #1 + 8015246: e7df b.n 8015208 <_dtoa_r+0x218> + 8015248: 2401 movs r4, #1 + 801524a: 2300 movs r3, #0 + 801524c: 9309 str r3, [sp, #36] @ 0x24 + 801524e: 940b str r4, [sp, #44] @ 0x2c + 8015250: f04f 33ff mov.w r3, #4294967295 + 8015254: 9300 str r3, [sp, #0] + 8015256: 9307 str r3, [sp, #28] + 8015258: 2200 movs r2, #0 + 801525a: 2312 movs r3, #18 + 801525c: e7cf b.n 80151fe <_dtoa_r+0x20e> + 801525e: 2301 movs r3, #1 + 8015260: 930b str r3, [sp, #44] @ 0x2c + 8015262: e7f5 b.n 8015250 <_dtoa_r+0x260> + 8015264: 9b0e ldr r3, [sp, #56] @ 0x38 + 8015266: 9300 str r3, [sp, #0] + 8015268: 9307 str r3, [sp, #28] + 801526a: e7d6 b.n 801521a <_dtoa_r+0x22a> + 801526c: 3101 adds r1, #1 + 801526e: 0052 lsls r2, r2, #1 + 8015270: e7d5 b.n 801521e <_dtoa_r+0x22e> + 8015272: bf00 nop + 8015274: f3af 8000 nop.w + 8015278: 636f4361 .word 0x636f4361 + 801527c: 3fd287a7 .word 0x3fd287a7 + 8015280: 8b60c8b3 .word 0x8b60c8b3 + 8015284: 3fc68a28 .word 0x3fc68a28 + 8015288: 509f79fb .word 0x509f79fb + 801528c: 3fd34413 .word 0x3fd34413 + 8015290: 7ff00000 .word 0x7ff00000 + 8015294: 0801999e .word 0x0801999e + 8015298: 3ff80000 .word 0x3ff80000 + 801529c: 08019af0 .word 0x08019af0 + 80152a0: 080199f6 .word 0x080199f6 + 80152a4: 08019a07 .word 0x08019a07 + 80152a8: 080199f2 .word 0x080199f2 + 80152ac: 0801999d .word 0x0801999d + 80152b0: 9b07 ldr r3, [sp, #28] + 80152b2: f8cb 0038 str.w r0, [fp, #56] @ 0x38 + 80152b6: 2b0e cmp r3, #14 + 80152b8: f200 80a4 bhi.w 8015404 <_dtoa_r+0x414> + 80152bc: 2c00 cmp r4, #0 + 80152be: f000 80a1 beq.w 8015404 <_dtoa_r+0x414> + 80152c2: 2f00 cmp r7, #0 + 80152c4: dd33 ble.n 801532e <_dtoa_r+0x33e> + 80152c6: 4bae ldr r3, [pc, #696] @ (8015580 <_dtoa_r+0x590>) + 80152c8: f007 020f and.w r2, r7, #15 + 80152cc: eb03 03c2 add.w r3, r3, r2, lsl #3 + 80152d0: ed93 7b00 vldr d7, [r3] + 80152d4: 05f8 lsls r0, r7, #23 + 80152d6: ed8d 7b04 vstr d7, [sp, #16] + 80152da: ea4f 1427 mov.w r4, r7, asr #4 + 80152de: d516 bpl.n 801530e <_dtoa_r+0x31e> + 80152e0: 4ba8 ldr r3, [pc, #672] @ (8015584 <_dtoa_r+0x594>) + 80152e2: e9dd 010c ldrd r0, r1, [sp, #48] @ 0x30 + 80152e6: e9d3 2308 ldrd r2, r3, [r3, #32] + 80152ea: f7eb fabf bl 800086c <__aeabi_ddiv> + 80152ee: e9cd 0102 strd r0, r1, [sp, #8] + 80152f2: f004 040f and.w r4, r4, #15 + 80152f6: 2603 movs r6, #3 + 80152f8: 4da2 ldr r5, [pc, #648] @ (8015584 <_dtoa_r+0x594>) + 80152fa: b954 cbnz r4, 8015312 <_dtoa_r+0x322> + 80152fc: e9dd 2304 ldrd r2, r3, [sp, #16] + 8015300: e9dd 0102 ldrd r0, r1, [sp, #8] + 8015304: f7eb fab2 bl 800086c <__aeabi_ddiv> + 8015308: e9cd 0102 strd r0, r1, [sp, #8] + 801530c: e028 b.n 8015360 <_dtoa_r+0x370> + 801530e: 2602 movs r6, #2 + 8015310: e7f2 b.n 80152f8 <_dtoa_r+0x308> + 8015312: 07e1 lsls r1, r4, #31 + 8015314: d508 bpl.n 8015328 <_dtoa_r+0x338> + 8015316: e9dd 0104 ldrd r0, r1, [sp, #16] + 801531a: e9d5 2300 ldrd r2, r3, [r5] + 801531e: f7eb f97b bl 8000618 <__aeabi_dmul> + 8015322: e9cd 0104 strd r0, r1, [sp, #16] + 8015326: 3601 adds r6, #1 + 8015328: 1064 asrs r4, r4, #1 + 801532a: 3508 adds r5, #8 + 801532c: e7e5 b.n 80152fa <_dtoa_r+0x30a> + 801532e: f000 80d2 beq.w 80154d6 <_dtoa_r+0x4e6> + 8015332: 427c negs r4, r7 + 8015334: 4b92 ldr r3, [pc, #584] @ (8015580 <_dtoa_r+0x590>) + 8015336: 4d93 ldr r5, [pc, #588] @ (8015584 <_dtoa_r+0x594>) + 8015338: f004 020f and.w r2, r4, #15 + 801533c: eb03 03c2 add.w r3, r3, r2, lsl #3 + 8015340: e9d3 2300 ldrd r2, r3, [r3] + 8015344: e9dd 010c ldrd r0, r1, [sp, #48] @ 0x30 + 8015348: f7eb f966 bl 8000618 <__aeabi_dmul> + 801534c: e9cd 0102 strd r0, r1, [sp, #8] + 8015350: 1124 asrs r4, r4, #4 + 8015352: 2300 movs r3, #0 + 8015354: 2602 movs r6, #2 + 8015356: 2c00 cmp r4, #0 + 8015358: f040 80b2 bne.w 80154c0 <_dtoa_r+0x4d0> + 801535c: 2b00 cmp r3, #0 + 801535e: d1d3 bne.n 8015308 <_dtoa_r+0x318> + 8015360: 9b12 ldr r3, [sp, #72] @ 0x48 + 8015362: e9dd 4502 ldrd r4, r5, [sp, #8] + 8015366: 2b00 cmp r3, #0 + 8015368: f000 80b7 beq.w 80154da <_dtoa_r+0x4ea> + 801536c: 4b86 ldr r3, [pc, #536] @ (8015588 <_dtoa_r+0x598>) + 801536e: 2200 movs r2, #0 + 8015370: 4620 mov r0, r4 + 8015372: 4629 mov r1, r5 + 8015374: f7eb fbc2 bl 8000afc <__aeabi_dcmplt> + 8015378: 2800 cmp r0, #0 + 801537a: f000 80ae beq.w 80154da <_dtoa_r+0x4ea> + 801537e: 9b07 ldr r3, [sp, #28] + 8015380: 2b00 cmp r3, #0 + 8015382: f000 80aa beq.w 80154da <_dtoa_r+0x4ea> + 8015386: 9b00 ldr r3, [sp, #0] + 8015388: 2b00 cmp r3, #0 + 801538a: dd37 ble.n 80153fc <_dtoa_r+0x40c> + 801538c: 1e7b subs r3, r7, #1 + 801538e: 9304 str r3, [sp, #16] + 8015390: 4620 mov r0, r4 + 8015392: 4b7e ldr r3, [pc, #504] @ (801558c <_dtoa_r+0x59c>) + 8015394: 2200 movs r2, #0 + 8015396: 4629 mov r1, r5 + 8015398: f7eb f93e bl 8000618 <__aeabi_dmul> + 801539c: e9cd 0102 strd r0, r1, [sp, #8] + 80153a0: 9c00 ldr r4, [sp, #0] + 80153a2: 3601 adds r6, #1 + 80153a4: 4630 mov r0, r6 + 80153a6: f7eb f8cd bl 8000544 <__aeabi_i2d> + 80153aa: e9dd 2302 ldrd r2, r3, [sp, #8] + 80153ae: f7eb f933 bl 8000618 <__aeabi_dmul> + 80153b2: 4b77 ldr r3, [pc, #476] @ (8015590 <_dtoa_r+0x5a0>) + 80153b4: 2200 movs r2, #0 + 80153b6: f7ea ff79 bl 80002ac <__adddf3> + 80153ba: 4605 mov r5, r0 + 80153bc: f1a1 7650 sub.w r6, r1, #54525952 @ 0x3400000 + 80153c0: 2c00 cmp r4, #0 + 80153c2: f040 808d bne.w 80154e0 <_dtoa_r+0x4f0> + 80153c6: e9dd 0102 ldrd r0, r1, [sp, #8] + 80153ca: 4b72 ldr r3, [pc, #456] @ (8015594 <_dtoa_r+0x5a4>) + 80153cc: 2200 movs r2, #0 + 80153ce: f7ea ff6b bl 80002a8 <__aeabi_dsub> + 80153d2: 4602 mov r2, r0 + 80153d4: 460b mov r3, r1 + 80153d6: e9cd 2302 strd r2, r3, [sp, #8] + 80153da: 462a mov r2, r5 + 80153dc: 4633 mov r3, r6 + 80153de: f7eb fbab bl 8000b38 <__aeabi_dcmpgt> + 80153e2: 2800 cmp r0, #0 + 80153e4: f040 828c bne.w 8015900 <_dtoa_r+0x910> + 80153e8: e9dd 0102 ldrd r0, r1, [sp, #8] + 80153ec: 462a mov r2, r5 + 80153ee: f106 4300 add.w r3, r6, #2147483648 @ 0x80000000 + 80153f2: f7eb fb83 bl 8000afc <__aeabi_dcmplt> + 80153f6: 2800 cmp r0, #0 + 80153f8: f040 8129 bne.w 801564e <_dtoa_r+0x65e> + 80153fc: e9dd 340c ldrd r3, r4, [sp, #48] @ 0x30 + 8015400: e9cd 3402 strd r3, r4, [sp, #8] + 8015404: 9b17 ldr r3, [sp, #92] @ 0x5c + 8015406: 2b00 cmp r3, #0 + 8015408: f2c0 815b blt.w 80156c2 <_dtoa_r+0x6d2> + 801540c: 2f0e cmp r7, #14 + 801540e: f300 8158 bgt.w 80156c2 <_dtoa_r+0x6d2> + 8015412: 4b5b ldr r3, [pc, #364] @ (8015580 <_dtoa_r+0x590>) + 8015414: eb03 03c7 add.w r3, r3, r7, lsl #3 + 8015418: ed93 7b00 vldr d7, [r3] + 801541c: 9b0e ldr r3, [sp, #56] @ 0x38 + 801541e: 2b00 cmp r3, #0 + 8015420: ed8d 7b00 vstr d7, [sp] + 8015424: da03 bge.n 801542e <_dtoa_r+0x43e> + 8015426: 9b07 ldr r3, [sp, #28] + 8015428: 2b00 cmp r3, #0 + 801542a: f340 8102 ble.w 8015632 <_dtoa_r+0x642> + 801542e: e9dd 4502 ldrd r4, r5, [sp, #8] + 8015432: 4656 mov r6, sl + 8015434: e9dd 2300 ldrd r2, r3, [sp] + 8015438: 4620 mov r0, r4 + 801543a: 4629 mov r1, r5 + 801543c: f7eb fa16 bl 800086c <__aeabi_ddiv> + 8015440: f7eb fb9a bl 8000b78 <__aeabi_d2iz> + 8015444: 4680 mov r8, r0 + 8015446: f7eb f87d bl 8000544 <__aeabi_i2d> + 801544a: e9dd 2300 ldrd r2, r3, [sp] + 801544e: f7eb f8e3 bl 8000618 <__aeabi_dmul> + 8015452: 4602 mov r2, r0 + 8015454: 460b mov r3, r1 + 8015456: 4620 mov r0, r4 + 8015458: 4629 mov r1, r5 + 801545a: f108 0430 add.w r4, r8, #48 @ 0x30 + 801545e: f7ea ff23 bl 80002a8 <__aeabi_dsub> + 8015462: f806 4b01 strb.w r4, [r6], #1 + 8015466: 9d07 ldr r5, [sp, #28] + 8015468: eba6 040a sub.w r4, r6, sl + 801546c: 42a5 cmp r5, r4 + 801546e: 4602 mov r2, r0 + 8015470: 460b mov r3, r1 + 8015472: f040 8118 bne.w 80156a6 <_dtoa_r+0x6b6> + 8015476: f7ea ff19 bl 80002ac <__adddf3> + 801547a: e9dd 2300 ldrd r2, r3, [sp] + 801547e: 4604 mov r4, r0 + 8015480: 460d mov r5, r1 + 8015482: f7eb fb59 bl 8000b38 <__aeabi_dcmpgt> + 8015486: 2800 cmp r0, #0 + 8015488: f040 80fa bne.w 8015680 <_dtoa_r+0x690> + 801548c: e9dd 2300 ldrd r2, r3, [sp] + 8015490: 4620 mov r0, r4 + 8015492: 4629 mov r1, r5 + 8015494: f7eb fb28 bl 8000ae8 <__aeabi_dcmpeq> + 8015498: b118 cbz r0, 80154a2 <_dtoa_r+0x4b2> + 801549a: f018 0f01 tst.w r8, #1 + 801549e: f040 80ef bne.w 8015680 <_dtoa_r+0x690> + 80154a2: 4649 mov r1, r9 + 80154a4: 4658 mov r0, fp + 80154a6: f000 fb86 bl 8015bb6 <_Bfree> + 80154aa: 2300 movs r3, #0 + 80154ac: 7033 strb r3, [r6, #0] + 80154ae: 9b13 ldr r3, [sp, #76] @ 0x4c + 80154b0: 3701 adds r7, #1 + 80154b2: 601f str r7, [r3, #0] + 80154b4: 9b23 ldr r3, [sp, #140] @ 0x8c + 80154b6: 2b00 cmp r3, #0 + 80154b8: f43f add1 beq.w 801505e <_dtoa_r+0x6e> + 80154bc: 601e str r6, [r3, #0] + 80154be: e5ce b.n 801505e <_dtoa_r+0x6e> + 80154c0: 07e2 lsls r2, r4, #31 + 80154c2: d505 bpl.n 80154d0 <_dtoa_r+0x4e0> + 80154c4: e9d5 2300 ldrd r2, r3, [r5] + 80154c8: f7eb f8a6 bl 8000618 <__aeabi_dmul> + 80154cc: 3601 adds r6, #1 + 80154ce: 2301 movs r3, #1 + 80154d0: 1064 asrs r4, r4, #1 + 80154d2: 3508 adds r5, #8 + 80154d4: e73f b.n 8015356 <_dtoa_r+0x366> + 80154d6: 2602 movs r6, #2 + 80154d8: e742 b.n 8015360 <_dtoa_r+0x370> + 80154da: 9c07 ldr r4, [sp, #28] + 80154dc: 9704 str r7, [sp, #16] + 80154de: e761 b.n 80153a4 <_dtoa_r+0x3b4> + 80154e0: 4b27 ldr r3, [pc, #156] @ (8015580 <_dtoa_r+0x590>) + 80154e2: 990b ldr r1, [sp, #44] @ 0x2c + 80154e4: eb03 03c4 add.w r3, r3, r4, lsl #3 + 80154e8: e953 2302 ldrd r2, r3, [r3, #-8] + 80154ec: 4454 add r4, sl + 80154ee: 2900 cmp r1, #0 + 80154f0: d054 beq.n 801559c <_dtoa_r+0x5ac> + 80154f2: 4929 ldr r1, [pc, #164] @ (8015598 <_dtoa_r+0x5a8>) + 80154f4: 2000 movs r0, #0 + 80154f6: f7eb f9b9 bl 800086c <__aeabi_ddiv> + 80154fa: 4633 mov r3, r6 + 80154fc: 462a mov r2, r5 + 80154fe: f7ea fed3 bl 80002a8 <__aeabi_dsub> + 8015502: e9cd 0110 strd r0, r1, [sp, #64] @ 0x40 + 8015506: 4656 mov r6, sl + 8015508: e9dd 0102 ldrd r0, r1, [sp, #8] + 801550c: f7eb fb34 bl 8000b78 <__aeabi_d2iz> + 8015510: 4605 mov r5, r0 + 8015512: f7eb f817 bl 8000544 <__aeabi_i2d> + 8015516: 4602 mov r2, r0 + 8015518: 460b mov r3, r1 + 801551a: e9dd 0102 ldrd r0, r1, [sp, #8] + 801551e: f7ea fec3 bl 80002a8 <__aeabi_dsub> + 8015522: 3530 adds r5, #48 @ 0x30 + 8015524: 4602 mov r2, r0 + 8015526: 460b mov r3, r1 + 8015528: e9cd 2302 strd r2, r3, [sp, #8] + 801552c: f806 5b01 strb.w r5, [r6], #1 + 8015530: e9dd 2310 ldrd r2, r3, [sp, #64] @ 0x40 + 8015534: f7eb fae2 bl 8000afc <__aeabi_dcmplt> + 8015538: 2800 cmp r0, #0 + 801553a: d172 bne.n 8015622 <_dtoa_r+0x632> + 801553c: e9dd 2302 ldrd r2, r3, [sp, #8] + 8015540: 4911 ldr r1, [pc, #68] @ (8015588 <_dtoa_r+0x598>) + 8015542: 2000 movs r0, #0 + 8015544: f7ea feb0 bl 80002a8 <__aeabi_dsub> + 8015548: e9dd 2310 ldrd r2, r3, [sp, #64] @ 0x40 + 801554c: f7eb fad6 bl 8000afc <__aeabi_dcmplt> + 8015550: 2800 cmp r0, #0 + 8015552: f040 8096 bne.w 8015682 <_dtoa_r+0x692> + 8015556: 42a6 cmp r6, r4 + 8015558: f43f af50 beq.w 80153fc <_dtoa_r+0x40c> + 801555c: e9dd 0110 ldrd r0, r1, [sp, #64] @ 0x40 + 8015560: 4b0a ldr r3, [pc, #40] @ (801558c <_dtoa_r+0x59c>) + 8015562: 2200 movs r2, #0 + 8015564: f7eb f858 bl 8000618 <__aeabi_dmul> + 8015568: 4b08 ldr r3, [pc, #32] @ (801558c <_dtoa_r+0x59c>) + 801556a: e9cd 0110 strd r0, r1, [sp, #64] @ 0x40 + 801556e: 2200 movs r2, #0 + 8015570: e9dd 0102 ldrd r0, r1, [sp, #8] + 8015574: f7eb f850 bl 8000618 <__aeabi_dmul> + 8015578: e9cd 0102 strd r0, r1, [sp, #8] + 801557c: e7c4 b.n 8015508 <_dtoa_r+0x518> + 801557e: bf00 nop + 8015580: 08019af0 .word 0x08019af0 + 8015584: 08019ac8 .word 0x08019ac8 + 8015588: 3ff00000 .word 0x3ff00000 + 801558c: 40240000 .word 0x40240000 + 8015590: 401c0000 .word 0x401c0000 + 8015594: 40140000 .word 0x40140000 + 8015598: 3fe00000 .word 0x3fe00000 + 801559c: 4631 mov r1, r6 + 801559e: 4628 mov r0, r5 + 80155a0: f7eb f83a bl 8000618 <__aeabi_dmul> + 80155a4: e9cd 0110 strd r0, r1, [sp, #64] @ 0x40 + 80155a8: 9415 str r4, [sp, #84] @ 0x54 + 80155aa: 4656 mov r6, sl + 80155ac: e9dd 0102 ldrd r0, r1, [sp, #8] + 80155b0: f7eb fae2 bl 8000b78 <__aeabi_d2iz> + 80155b4: 4605 mov r5, r0 + 80155b6: f7ea ffc5 bl 8000544 <__aeabi_i2d> + 80155ba: 4602 mov r2, r0 + 80155bc: 460b mov r3, r1 + 80155be: e9dd 0102 ldrd r0, r1, [sp, #8] + 80155c2: f7ea fe71 bl 80002a8 <__aeabi_dsub> + 80155c6: 3530 adds r5, #48 @ 0x30 + 80155c8: f806 5b01 strb.w r5, [r6], #1 + 80155cc: 4602 mov r2, r0 + 80155ce: 460b mov r3, r1 + 80155d0: 42a6 cmp r6, r4 + 80155d2: e9cd 2302 strd r2, r3, [sp, #8] + 80155d6: f04f 0200 mov.w r2, #0 + 80155da: d124 bne.n 8015626 <_dtoa_r+0x636> + 80155dc: 4bac ldr r3, [pc, #688] @ (8015890 <_dtoa_r+0x8a0>) + 80155de: e9dd 0110 ldrd r0, r1, [sp, #64] @ 0x40 + 80155e2: f7ea fe63 bl 80002ac <__adddf3> + 80155e6: 4602 mov r2, r0 + 80155e8: 460b mov r3, r1 + 80155ea: e9dd 0102 ldrd r0, r1, [sp, #8] + 80155ee: f7eb faa3 bl 8000b38 <__aeabi_dcmpgt> + 80155f2: 2800 cmp r0, #0 + 80155f4: d145 bne.n 8015682 <_dtoa_r+0x692> + 80155f6: e9dd 2310 ldrd r2, r3, [sp, #64] @ 0x40 + 80155fa: 49a5 ldr r1, [pc, #660] @ (8015890 <_dtoa_r+0x8a0>) + 80155fc: 2000 movs r0, #0 + 80155fe: f7ea fe53 bl 80002a8 <__aeabi_dsub> + 8015602: 4602 mov r2, r0 + 8015604: 460b mov r3, r1 + 8015606: e9dd 0102 ldrd r0, r1, [sp, #8] + 801560a: f7eb fa77 bl 8000afc <__aeabi_dcmplt> + 801560e: 2800 cmp r0, #0 + 8015610: f43f aef4 beq.w 80153fc <_dtoa_r+0x40c> + 8015614: 9e15 ldr r6, [sp, #84] @ 0x54 + 8015616: 1e73 subs r3, r6, #1 + 8015618: 9315 str r3, [sp, #84] @ 0x54 + 801561a: f816 3c01 ldrb.w r3, [r6, #-1] + 801561e: 2b30 cmp r3, #48 @ 0x30 + 8015620: d0f8 beq.n 8015614 <_dtoa_r+0x624> + 8015622: 9f04 ldr r7, [sp, #16] + 8015624: e73d b.n 80154a2 <_dtoa_r+0x4b2> + 8015626: 4b9b ldr r3, [pc, #620] @ (8015894 <_dtoa_r+0x8a4>) + 8015628: f7ea fff6 bl 8000618 <__aeabi_dmul> + 801562c: e9cd 0102 strd r0, r1, [sp, #8] + 8015630: e7bc b.n 80155ac <_dtoa_r+0x5bc> + 8015632: d10c bne.n 801564e <_dtoa_r+0x65e> + 8015634: 4b98 ldr r3, [pc, #608] @ (8015898 <_dtoa_r+0x8a8>) + 8015636: 2200 movs r2, #0 + 8015638: e9dd 0100 ldrd r0, r1, [sp] + 801563c: f7ea ffec bl 8000618 <__aeabi_dmul> + 8015640: e9dd 2302 ldrd r2, r3, [sp, #8] + 8015644: f7eb fa6e bl 8000b24 <__aeabi_dcmpge> + 8015648: 2800 cmp r0, #0 + 801564a: f000 8157 beq.w 80158fc <_dtoa_r+0x90c> + 801564e: 2400 movs r4, #0 + 8015650: 4625 mov r5, r4 + 8015652: 9b0e ldr r3, [sp, #56] @ 0x38 + 8015654: 43db mvns r3, r3 + 8015656: 9304 str r3, [sp, #16] + 8015658: 4656 mov r6, sl + 801565a: 2700 movs r7, #0 + 801565c: 4621 mov r1, r4 + 801565e: 4658 mov r0, fp + 8015660: f000 faa9 bl 8015bb6 <_Bfree> + 8015664: 2d00 cmp r5, #0 + 8015666: d0dc beq.n 8015622 <_dtoa_r+0x632> + 8015668: b12f cbz r7, 8015676 <_dtoa_r+0x686> + 801566a: 42af cmp r7, r5 + 801566c: d003 beq.n 8015676 <_dtoa_r+0x686> + 801566e: 4639 mov r1, r7 + 8015670: 4658 mov r0, fp + 8015672: f000 faa0 bl 8015bb6 <_Bfree> + 8015676: 4629 mov r1, r5 + 8015678: 4658 mov r0, fp + 801567a: f000 fa9c bl 8015bb6 <_Bfree> + 801567e: e7d0 b.n 8015622 <_dtoa_r+0x632> + 8015680: 9704 str r7, [sp, #16] + 8015682: 4633 mov r3, r6 + 8015684: 461e mov r6, r3 + 8015686: f813 2d01 ldrb.w r2, [r3, #-1]! + 801568a: 2a39 cmp r2, #57 @ 0x39 + 801568c: d107 bne.n 801569e <_dtoa_r+0x6ae> + 801568e: 459a cmp sl, r3 + 8015690: d1f8 bne.n 8015684 <_dtoa_r+0x694> + 8015692: 9a04 ldr r2, [sp, #16] + 8015694: 3201 adds r2, #1 + 8015696: 9204 str r2, [sp, #16] + 8015698: 2230 movs r2, #48 @ 0x30 + 801569a: f88a 2000 strb.w r2, [sl] + 801569e: 781a ldrb r2, [r3, #0] + 80156a0: 3201 adds r2, #1 + 80156a2: 701a strb r2, [r3, #0] + 80156a4: e7bd b.n 8015622 <_dtoa_r+0x632> + 80156a6: 4b7b ldr r3, [pc, #492] @ (8015894 <_dtoa_r+0x8a4>) + 80156a8: 2200 movs r2, #0 + 80156aa: f7ea ffb5 bl 8000618 <__aeabi_dmul> + 80156ae: 2200 movs r2, #0 + 80156b0: 2300 movs r3, #0 + 80156b2: 4604 mov r4, r0 + 80156b4: 460d mov r5, r1 + 80156b6: f7eb fa17 bl 8000ae8 <__aeabi_dcmpeq> + 80156ba: 2800 cmp r0, #0 + 80156bc: f43f aeba beq.w 8015434 <_dtoa_r+0x444> + 80156c0: e6ef b.n 80154a2 <_dtoa_r+0x4b2> + 80156c2: 9a0b ldr r2, [sp, #44] @ 0x2c + 80156c4: 2a00 cmp r2, #0 + 80156c6: f000 80db beq.w 8015880 <_dtoa_r+0x890> + 80156ca: 9a09 ldr r2, [sp, #36] @ 0x24 + 80156cc: 2a01 cmp r2, #1 + 80156ce: f300 80bf bgt.w 8015850 <_dtoa_r+0x860> + 80156d2: 9a14 ldr r2, [sp, #80] @ 0x50 + 80156d4: 2a00 cmp r2, #0 + 80156d6: f000 80b7 beq.w 8015848 <_dtoa_r+0x858> + 80156da: f203 4333 addw r3, r3, #1075 @ 0x433 + 80156de: 9c0a ldr r4, [sp, #40] @ 0x28 + 80156e0: 4646 mov r6, r8 + 80156e2: 9a08 ldr r2, [sp, #32] + 80156e4: 2101 movs r1, #1 + 80156e6: 441a add r2, r3 + 80156e8: 4658 mov r0, fp + 80156ea: 4498 add r8, r3 + 80156ec: 9208 str r2, [sp, #32] + 80156ee: f000 fafd bl 8015cec <__i2b> + 80156f2: 4605 mov r5, r0 + 80156f4: b15e cbz r6, 801570e <_dtoa_r+0x71e> + 80156f6: 9b08 ldr r3, [sp, #32] + 80156f8: 2b00 cmp r3, #0 + 80156fa: dd08 ble.n 801570e <_dtoa_r+0x71e> + 80156fc: 42b3 cmp r3, r6 + 80156fe: 9a08 ldr r2, [sp, #32] + 8015700: bfa8 it ge + 8015702: 4633 movge r3, r6 + 8015704: eba8 0803 sub.w r8, r8, r3 + 8015708: 1af6 subs r6, r6, r3 + 801570a: 1ad3 subs r3, r2, r3 + 801570c: 9308 str r3, [sp, #32] + 801570e: 9b0a ldr r3, [sp, #40] @ 0x28 + 8015710: b1f3 cbz r3, 8015750 <_dtoa_r+0x760> + 8015712: 9b0b ldr r3, [sp, #44] @ 0x2c + 8015714: 2b00 cmp r3, #0 + 8015716: f000 80b7 beq.w 8015888 <_dtoa_r+0x898> + 801571a: b18c cbz r4, 8015740 <_dtoa_r+0x750> + 801571c: 4629 mov r1, r5 + 801571e: 4622 mov r2, r4 + 8015720: 4658 mov r0, fp + 8015722: f000 fba3 bl 8015e6c <__pow5mult> + 8015726: 464a mov r2, r9 + 8015728: 4601 mov r1, r0 + 801572a: 4605 mov r5, r0 + 801572c: 4658 mov r0, fp + 801572e: f000 faf3 bl 8015d18 <__multiply> + 8015732: 4649 mov r1, r9 + 8015734: 9004 str r0, [sp, #16] + 8015736: 4658 mov r0, fp + 8015738: f000 fa3d bl 8015bb6 <_Bfree> + 801573c: 9b04 ldr r3, [sp, #16] + 801573e: 4699 mov r9, r3 + 8015740: 9b0a ldr r3, [sp, #40] @ 0x28 + 8015742: 1b1a subs r2, r3, r4 + 8015744: d004 beq.n 8015750 <_dtoa_r+0x760> + 8015746: 4649 mov r1, r9 + 8015748: 4658 mov r0, fp + 801574a: f000 fb8f bl 8015e6c <__pow5mult> + 801574e: 4681 mov r9, r0 + 8015750: 2101 movs r1, #1 + 8015752: 4658 mov r0, fp + 8015754: f000 faca bl 8015cec <__i2b> + 8015758: 9b0f ldr r3, [sp, #60] @ 0x3c + 801575a: 4604 mov r4, r0 + 801575c: 2b00 cmp r3, #0 + 801575e: f000 81cc beq.w 8015afa <_dtoa_r+0xb0a> + 8015762: 461a mov r2, r3 + 8015764: 4601 mov r1, r0 + 8015766: 4658 mov r0, fp + 8015768: f000 fb80 bl 8015e6c <__pow5mult> + 801576c: 9b09 ldr r3, [sp, #36] @ 0x24 + 801576e: 2b01 cmp r3, #1 + 8015770: 4604 mov r4, r0 + 8015772: f300 8095 bgt.w 80158a0 <_dtoa_r+0x8b0> + 8015776: 9b02 ldr r3, [sp, #8] + 8015778: 2b00 cmp r3, #0 + 801577a: f040 8087 bne.w 801588c <_dtoa_r+0x89c> + 801577e: 9b03 ldr r3, [sp, #12] + 8015780: f3c3 0313 ubfx r3, r3, #0, #20 + 8015784: 2b00 cmp r3, #0 + 8015786: f040 8089 bne.w 801589c <_dtoa_r+0x8ac> + 801578a: 9b03 ldr r3, [sp, #12] + 801578c: f023 4300 bic.w r3, r3, #2147483648 @ 0x80000000 + 8015790: 0d1b lsrs r3, r3, #20 + 8015792: 051b lsls r3, r3, #20 + 8015794: b12b cbz r3, 80157a2 <_dtoa_r+0x7b2> + 8015796: 9b08 ldr r3, [sp, #32] + 8015798: 3301 adds r3, #1 + 801579a: 9308 str r3, [sp, #32] + 801579c: f108 0801 add.w r8, r8, #1 + 80157a0: 2301 movs r3, #1 + 80157a2: 930a str r3, [sp, #40] @ 0x28 + 80157a4: 9b0f ldr r3, [sp, #60] @ 0x3c + 80157a6: 2b00 cmp r3, #0 + 80157a8: f000 81ad beq.w 8015b06 <_dtoa_r+0xb16> + 80157ac: 6923 ldr r3, [r4, #16] + 80157ae: eb04 0383 add.w r3, r4, r3, lsl #2 + 80157b2: 6918 ldr r0, [r3, #16] + 80157b4: f000 fa4e bl 8015c54 <__hi0bits> + 80157b8: f1c0 0020 rsb r0, r0, #32 + 80157bc: 9b08 ldr r3, [sp, #32] + 80157be: 4418 add r0, r3 + 80157c0: f010 001f ands.w r0, r0, #31 + 80157c4: d077 beq.n 80158b6 <_dtoa_r+0x8c6> + 80157c6: f1c0 0320 rsb r3, r0, #32 + 80157ca: 2b04 cmp r3, #4 + 80157cc: dd6b ble.n 80158a6 <_dtoa_r+0x8b6> + 80157ce: 9b08 ldr r3, [sp, #32] + 80157d0: f1c0 001c rsb r0, r0, #28 + 80157d4: 4403 add r3, r0 + 80157d6: 4480 add r8, r0 + 80157d8: 4406 add r6, r0 + 80157da: 9308 str r3, [sp, #32] + 80157dc: f1b8 0f00 cmp.w r8, #0 + 80157e0: dd05 ble.n 80157ee <_dtoa_r+0x7fe> + 80157e2: 4649 mov r1, r9 + 80157e4: 4642 mov r2, r8 + 80157e6: 4658 mov r0, fp + 80157e8: f000 fb80 bl 8015eec <__lshift> + 80157ec: 4681 mov r9, r0 + 80157ee: 9b08 ldr r3, [sp, #32] + 80157f0: 2b00 cmp r3, #0 + 80157f2: dd05 ble.n 8015800 <_dtoa_r+0x810> + 80157f4: 4621 mov r1, r4 + 80157f6: 461a mov r2, r3 + 80157f8: 4658 mov r0, fp + 80157fa: f000 fb77 bl 8015eec <__lshift> + 80157fe: 4604 mov r4, r0 + 8015800: 9b12 ldr r3, [sp, #72] @ 0x48 + 8015802: 2b00 cmp r3, #0 + 8015804: d059 beq.n 80158ba <_dtoa_r+0x8ca> + 8015806: 4621 mov r1, r4 + 8015808: 4648 mov r0, r9 + 801580a: f000 fbdb bl 8015fc4 <__mcmp> + 801580e: 2800 cmp r0, #0 + 8015810: da53 bge.n 80158ba <_dtoa_r+0x8ca> + 8015812: 1e7b subs r3, r7, #1 + 8015814: 9304 str r3, [sp, #16] + 8015816: 4649 mov r1, r9 + 8015818: 2300 movs r3, #0 + 801581a: 220a movs r2, #10 + 801581c: 4658 mov r0, fp + 801581e: f000 f9d3 bl 8015bc8 <__multadd> + 8015822: 9b0b ldr r3, [sp, #44] @ 0x2c + 8015824: 4681 mov r9, r0 + 8015826: 2b00 cmp r3, #0 + 8015828: f000 816f beq.w 8015b0a <_dtoa_r+0xb1a> + 801582c: 2300 movs r3, #0 + 801582e: 4629 mov r1, r5 + 8015830: 220a movs r2, #10 + 8015832: 4658 mov r0, fp + 8015834: f000 f9c8 bl 8015bc8 <__multadd> + 8015838: 9b00 ldr r3, [sp, #0] + 801583a: 2b00 cmp r3, #0 + 801583c: 4605 mov r5, r0 + 801583e: dc67 bgt.n 8015910 <_dtoa_r+0x920> + 8015840: 9b09 ldr r3, [sp, #36] @ 0x24 + 8015842: 2b02 cmp r3, #2 + 8015844: dc41 bgt.n 80158ca <_dtoa_r+0x8da> + 8015846: e063 b.n 8015910 <_dtoa_r+0x920> + 8015848: 9b16 ldr r3, [sp, #88] @ 0x58 + 801584a: f1c3 0336 rsb r3, r3, #54 @ 0x36 + 801584e: e746 b.n 80156de <_dtoa_r+0x6ee> + 8015850: 9b07 ldr r3, [sp, #28] + 8015852: 1e5c subs r4, r3, #1 + 8015854: 9b0a ldr r3, [sp, #40] @ 0x28 + 8015856: 42a3 cmp r3, r4 + 8015858: bfbf itttt lt + 801585a: 9b0a ldrlt r3, [sp, #40] @ 0x28 + 801585c: 9a0f ldrlt r2, [sp, #60] @ 0x3c + 801585e: 940a strlt r4, [sp, #40] @ 0x28 + 8015860: 1ae3 sublt r3, r4, r3 + 8015862: bfb4 ite lt + 8015864: 18d2 addlt r2, r2, r3 + 8015866: 1b1c subge r4, r3, r4 + 8015868: 9b07 ldr r3, [sp, #28] + 801586a: bfbc itt lt + 801586c: 920f strlt r2, [sp, #60] @ 0x3c + 801586e: 2400 movlt r4, #0 + 8015870: 2b00 cmp r3, #0 + 8015872: bfb5 itete lt + 8015874: eba8 0603 sublt.w r6, r8, r3 + 8015878: 9b07 ldrge r3, [sp, #28] + 801587a: 2300 movlt r3, #0 + 801587c: 4646 movge r6, r8 + 801587e: e730 b.n 80156e2 <_dtoa_r+0x6f2> + 8015880: 9c0a ldr r4, [sp, #40] @ 0x28 + 8015882: 9d0b ldr r5, [sp, #44] @ 0x2c + 8015884: 4646 mov r6, r8 + 8015886: e735 b.n 80156f4 <_dtoa_r+0x704> + 8015888: 9a0a ldr r2, [sp, #40] @ 0x28 + 801588a: e75c b.n 8015746 <_dtoa_r+0x756> + 801588c: 2300 movs r3, #0 + 801588e: e788 b.n 80157a2 <_dtoa_r+0x7b2> + 8015890: 3fe00000 .word 0x3fe00000 + 8015894: 40240000 .word 0x40240000 + 8015898: 40140000 .word 0x40140000 + 801589c: 9b02 ldr r3, [sp, #8] + 801589e: e780 b.n 80157a2 <_dtoa_r+0x7b2> + 80158a0: 2300 movs r3, #0 + 80158a2: 930a str r3, [sp, #40] @ 0x28 + 80158a4: e782 b.n 80157ac <_dtoa_r+0x7bc> + 80158a6: d099 beq.n 80157dc <_dtoa_r+0x7ec> + 80158a8: 9a08 ldr r2, [sp, #32] + 80158aa: 331c adds r3, #28 + 80158ac: 441a add r2, r3 + 80158ae: 4498 add r8, r3 + 80158b0: 441e add r6, r3 + 80158b2: 9208 str r2, [sp, #32] + 80158b4: e792 b.n 80157dc <_dtoa_r+0x7ec> + 80158b6: 4603 mov r3, r0 + 80158b8: e7f6 b.n 80158a8 <_dtoa_r+0x8b8> + 80158ba: 9b07 ldr r3, [sp, #28] + 80158bc: 9704 str r7, [sp, #16] + 80158be: 2b00 cmp r3, #0 + 80158c0: dc20 bgt.n 8015904 <_dtoa_r+0x914> + 80158c2: 9300 str r3, [sp, #0] + 80158c4: 9b09 ldr r3, [sp, #36] @ 0x24 + 80158c6: 2b02 cmp r3, #2 + 80158c8: dd1e ble.n 8015908 <_dtoa_r+0x918> + 80158ca: 9b00 ldr r3, [sp, #0] + 80158cc: 2b00 cmp r3, #0 + 80158ce: f47f aec0 bne.w 8015652 <_dtoa_r+0x662> + 80158d2: 4621 mov r1, r4 + 80158d4: 2205 movs r2, #5 + 80158d6: 4658 mov r0, fp + 80158d8: f000 f976 bl 8015bc8 <__multadd> + 80158dc: 4601 mov r1, r0 + 80158de: 4604 mov r4, r0 + 80158e0: 4648 mov r0, r9 + 80158e2: f000 fb6f bl 8015fc4 <__mcmp> + 80158e6: 2800 cmp r0, #0 + 80158e8: f77f aeb3 ble.w 8015652 <_dtoa_r+0x662> + 80158ec: 4656 mov r6, sl + 80158ee: 2331 movs r3, #49 @ 0x31 + 80158f0: f806 3b01 strb.w r3, [r6], #1 + 80158f4: 9b04 ldr r3, [sp, #16] + 80158f6: 3301 adds r3, #1 + 80158f8: 9304 str r3, [sp, #16] + 80158fa: e6ae b.n 801565a <_dtoa_r+0x66a> + 80158fc: 9c07 ldr r4, [sp, #28] + 80158fe: 9704 str r7, [sp, #16] + 8015900: 4625 mov r5, r4 + 8015902: e7f3 b.n 80158ec <_dtoa_r+0x8fc> + 8015904: 9b07 ldr r3, [sp, #28] + 8015906: 9300 str r3, [sp, #0] + 8015908: 9b0b ldr r3, [sp, #44] @ 0x2c + 801590a: 2b00 cmp r3, #0 + 801590c: f000 8101 beq.w 8015b12 <_dtoa_r+0xb22> + 8015910: 2e00 cmp r6, #0 + 8015912: dd05 ble.n 8015920 <_dtoa_r+0x930> + 8015914: 4629 mov r1, r5 + 8015916: 4632 mov r2, r6 + 8015918: 4658 mov r0, fp + 801591a: f000 fae7 bl 8015eec <__lshift> + 801591e: 4605 mov r5, r0 + 8015920: 9b0a ldr r3, [sp, #40] @ 0x28 + 8015922: 2b00 cmp r3, #0 + 8015924: d059 beq.n 80159da <_dtoa_r+0x9ea> + 8015926: 6869 ldr r1, [r5, #4] + 8015928: 4658 mov r0, fp + 801592a: f000 f91f bl 8015b6c <_Balloc> + 801592e: 4606 mov r6, r0 + 8015930: b920 cbnz r0, 801593c <_dtoa_r+0x94c> + 8015932: 4b83 ldr r3, [pc, #524] @ (8015b40 <_dtoa_r+0xb50>) + 8015934: 4602 mov r2, r0 + 8015936: f240 21ef movw r1, #751 @ 0x2ef + 801593a: e480 b.n 801523e <_dtoa_r+0x24e> + 801593c: 692a ldr r2, [r5, #16] + 801593e: 3202 adds r2, #2 + 8015940: 0092 lsls r2, r2, #2 + 8015942: f105 010c add.w r1, r5, #12 + 8015946: 300c adds r0, #12 + 8015948: f7fc fc14 bl 8012174 + 801594c: 2201 movs r2, #1 + 801594e: 4631 mov r1, r6 + 8015950: 4658 mov r0, fp + 8015952: f000 facb bl 8015eec <__lshift> + 8015956: f10a 0301 add.w r3, sl, #1 + 801595a: 9307 str r3, [sp, #28] + 801595c: 9b00 ldr r3, [sp, #0] + 801595e: 4453 add r3, sl + 8015960: 930b str r3, [sp, #44] @ 0x2c + 8015962: 9b02 ldr r3, [sp, #8] + 8015964: f003 0301 and.w r3, r3, #1 + 8015968: 462f mov r7, r5 + 801596a: 930a str r3, [sp, #40] @ 0x28 + 801596c: 4605 mov r5, r0 + 801596e: 9b07 ldr r3, [sp, #28] + 8015970: 4621 mov r1, r4 + 8015972: 3b01 subs r3, #1 + 8015974: 4648 mov r0, r9 + 8015976: 9300 str r3, [sp, #0] + 8015978: f7ff fab0 bl 8014edc + 801597c: 4639 mov r1, r7 + 801597e: 9002 str r0, [sp, #8] + 8015980: f100 0830 add.w r8, r0, #48 @ 0x30 + 8015984: 4648 mov r0, r9 + 8015986: f000 fb1d bl 8015fc4 <__mcmp> + 801598a: 462a mov r2, r5 + 801598c: 9008 str r0, [sp, #32] + 801598e: 4621 mov r1, r4 + 8015990: 4658 mov r0, fp + 8015992: f000 fb33 bl 8015ffc <__mdiff> + 8015996: 68c2 ldr r2, [r0, #12] + 8015998: 4606 mov r6, r0 + 801599a: bb02 cbnz r2, 80159de <_dtoa_r+0x9ee> + 801599c: 4601 mov r1, r0 + 801599e: 4648 mov r0, r9 + 80159a0: f000 fb10 bl 8015fc4 <__mcmp> + 80159a4: 4602 mov r2, r0 + 80159a6: 4631 mov r1, r6 + 80159a8: 4658 mov r0, fp + 80159aa: 920e str r2, [sp, #56] @ 0x38 + 80159ac: f000 f903 bl 8015bb6 <_Bfree> + 80159b0: 9b09 ldr r3, [sp, #36] @ 0x24 + 80159b2: 9a0e ldr r2, [sp, #56] @ 0x38 + 80159b4: 9e07 ldr r6, [sp, #28] + 80159b6: ea43 0102 orr.w r1, r3, r2 + 80159ba: 9b0a ldr r3, [sp, #40] @ 0x28 + 80159bc: 4319 orrs r1, r3 + 80159be: d110 bne.n 80159e2 <_dtoa_r+0x9f2> + 80159c0: f1b8 0f39 cmp.w r8, #57 @ 0x39 + 80159c4: d029 beq.n 8015a1a <_dtoa_r+0xa2a> + 80159c6: 9b08 ldr r3, [sp, #32] + 80159c8: 2b00 cmp r3, #0 + 80159ca: dd02 ble.n 80159d2 <_dtoa_r+0x9e2> + 80159cc: 9b02 ldr r3, [sp, #8] + 80159ce: f103 0831 add.w r8, r3, #49 @ 0x31 + 80159d2: 9b00 ldr r3, [sp, #0] + 80159d4: f883 8000 strb.w r8, [r3] + 80159d8: e640 b.n 801565c <_dtoa_r+0x66c> + 80159da: 4628 mov r0, r5 + 80159dc: e7bb b.n 8015956 <_dtoa_r+0x966> + 80159de: 2201 movs r2, #1 + 80159e0: e7e1 b.n 80159a6 <_dtoa_r+0x9b6> + 80159e2: 9b08 ldr r3, [sp, #32] + 80159e4: 2b00 cmp r3, #0 + 80159e6: db04 blt.n 80159f2 <_dtoa_r+0xa02> + 80159e8: 9909 ldr r1, [sp, #36] @ 0x24 + 80159ea: 430b orrs r3, r1 + 80159ec: 990a ldr r1, [sp, #40] @ 0x28 + 80159ee: 430b orrs r3, r1 + 80159f0: d120 bne.n 8015a34 <_dtoa_r+0xa44> + 80159f2: 2a00 cmp r2, #0 + 80159f4: dded ble.n 80159d2 <_dtoa_r+0x9e2> + 80159f6: 4649 mov r1, r9 + 80159f8: 2201 movs r2, #1 + 80159fa: 4658 mov r0, fp + 80159fc: f000 fa76 bl 8015eec <__lshift> + 8015a00: 4621 mov r1, r4 + 8015a02: 4681 mov r9, r0 + 8015a04: f000 fade bl 8015fc4 <__mcmp> + 8015a08: 2800 cmp r0, #0 + 8015a0a: dc03 bgt.n 8015a14 <_dtoa_r+0xa24> + 8015a0c: d1e1 bne.n 80159d2 <_dtoa_r+0x9e2> + 8015a0e: f018 0f01 tst.w r8, #1 + 8015a12: d0de beq.n 80159d2 <_dtoa_r+0x9e2> + 8015a14: f1b8 0f39 cmp.w r8, #57 @ 0x39 + 8015a18: d1d8 bne.n 80159cc <_dtoa_r+0x9dc> + 8015a1a: 9a00 ldr r2, [sp, #0] + 8015a1c: 2339 movs r3, #57 @ 0x39 + 8015a1e: 7013 strb r3, [r2, #0] + 8015a20: 4633 mov r3, r6 + 8015a22: 461e mov r6, r3 + 8015a24: 3b01 subs r3, #1 + 8015a26: f816 2c01 ldrb.w r2, [r6, #-1] + 8015a2a: 2a39 cmp r2, #57 @ 0x39 + 8015a2c: d052 beq.n 8015ad4 <_dtoa_r+0xae4> + 8015a2e: 3201 adds r2, #1 + 8015a30: 701a strb r2, [r3, #0] + 8015a32: e613 b.n 801565c <_dtoa_r+0x66c> + 8015a34: 2a00 cmp r2, #0 + 8015a36: dd07 ble.n 8015a48 <_dtoa_r+0xa58> + 8015a38: f1b8 0f39 cmp.w r8, #57 @ 0x39 + 8015a3c: d0ed beq.n 8015a1a <_dtoa_r+0xa2a> + 8015a3e: 9a00 ldr r2, [sp, #0] + 8015a40: f108 0301 add.w r3, r8, #1 + 8015a44: 7013 strb r3, [r2, #0] + 8015a46: e609 b.n 801565c <_dtoa_r+0x66c> + 8015a48: 9b07 ldr r3, [sp, #28] + 8015a4a: 9a07 ldr r2, [sp, #28] + 8015a4c: f803 8c01 strb.w r8, [r3, #-1] + 8015a50: 9b0b ldr r3, [sp, #44] @ 0x2c + 8015a52: 4293 cmp r3, r2 + 8015a54: d028 beq.n 8015aa8 <_dtoa_r+0xab8> + 8015a56: 4649 mov r1, r9 + 8015a58: 2300 movs r3, #0 + 8015a5a: 220a movs r2, #10 + 8015a5c: 4658 mov r0, fp + 8015a5e: f000 f8b3 bl 8015bc8 <__multadd> + 8015a62: 42af cmp r7, r5 + 8015a64: 4681 mov r9, r0 + 8015a66: f04f 0300 mov.w r3, #0 + 8015a6a: f04f 020a mov.w r2, #10 + 8015a6e: 4639 mov r1, r7 + 8015a70: 4658 mov r0, fp + 8015a72: d107 bne.n 8015a84 <_dtoa_r+0xa94> + 8015a74: f000 f8a8 bl 8015bc8 <__multadd> + 8015a78: 4607 mov r7, r0 + 8015a7a: 4605 mov r5, r0 + 8015a7c: 9b07 ldr r3, [sp, #28] + 8015a7e: 3301 adds r3, #1 + 8015a80: 9307 str r3, [sp, #28] + 8015a82: e774 b.n 801596e <_dtoa_r+0x97e> + 8015a84: f000 f8a0 bl 8015bc8 <__multadd> + 8015a88: 4629 mov r1, r5 + 8015a8a: 4607 mov r7, r0 + 8015a8c: 2300 movs r3, #0 + 8015a8e: 220a movs r2, #10 + 8015a90: 4658 mov r0, fp + 8015a92: f000 f899 bl 8015bc8 <__multadd> + 8015a96: 4605 mov r5, r0 + 8015a98: e7f0 b.n 8015a7c <_dtoa_r+0xa8c> + 8015a9a: 9b00 ldr r3, [sp, #0] + 8015a9c: 2b00 cmp r3, #0 + 8015a9e: bfcc ite gt + 8015aa0: 461e movgt r6, r3 + 8015aa2: 2601 movle r6, #1 + 8015aa4: 4456 add r6, sl + 8015aa6: 2700 movs r7, #0 + 8015aa8: 4649 mov r1, r9 + 8015aaa: 2201 movs r2, #1 + 8015aac: 4658 mov r0, fp + 8015aae: f000 fa1d bl 8015eec <__lshift> + 8015ab2: 4621 mov r1, r4 + 8015ab4: 4681 mov r9, r0 + 8015ab6: f000 fa85 bl 8015fc4 <__mcmp> + 8015aba: 2800 cmp r0, #0 + 8015abc: dcb0 bgt.n 8015a20 <_dtoa_r+0xa30> + 8015abe: d102 bne.n 8015ac6 <_dtoa_r+0xad6> + 8015ac0: f018 0f01 tst.w r8, #1 + 8015ac4: d1ac bne.n 8015a20 <_dtoa_r+0xa30> + 8015ac6: 4633 mov r3, r6 + 8015ac8: 461e mov r6, r3 + 8015aca: f813 2d01 ldrb.w r2, [r3, #-1]! + 8015ace: 2a30 cmp r2, #48 @ 0x30 + 8015ad0: d0fa beq.n 8015ac8 <_dtoa_r+0xad8> + 8015ad2: e5c3 b.n 801565c <_dtoa_r+0x66c> + 8015ad4: 459a cmp sl, r3 + 8015ad6: d1a4 bne.n 8015a22 <_dtoa_r+0xa32> + 8015ad8: 9b04 ldr r3, [sp, #16] + 8015ada: 3301 adds r3, #1 + 8015adc: 9304 str r3, [sp, #16] + 8015ade: 2331 movs r3, #49 @ 0x31 + 8015ae0: f88a 3000 strb.w r3, [sl] + 8015ae4: e5ba b.n 801565c <_dtoa_r+0x66c> + 8015ae6: 9b23 ldr r3, [sp, #140] @ 0x8c + 8015ae8: f8df a058 ldr.w sl, [pc, #88] @ 8015b44 <_dtoa_r+0xb54> + 8015aec: 2b00 cmp r3, #0 + 8015aee: f43f aab6 beq.w 801505e <_dtoa_r+0x6e> + 8015af2: f10a 0308 add.w r3, sl, #8 + 8015af6: f7ff bab0 b.w 801505a <_dtoa_r+0x6a> + 8015afa: 9b09 ldr r3, [sp, #36] @ 0x24 + 8015afc: 2b01 cmp r3, #1 + 8015afe: f77f ae3a ble.w 8015776 <_dtoa_r+0x786> + 8015b02: 9b0f ldr r3, [sp, #60] @ 0x3c + 8015b04: 930a str r3, [sp, #40] @ 0x28 + 8015b06: 2001 movs r0, #1 + 8015b08: e658 b.n 80157bc <_dtoa_r+0x7cc> + 8015b0a: 9b00 ldr r3, [sp, #0] + 8015b0c: 2b00 cmp r3, #0 + 8015b0e: f77f aed9 ble.w 80158c4 <_dtoa_r+0x8d4> + 8015b12: 4656 mov r6, sl + 8015b14: 4621 mov r1, r4 + 8015b16: 4648 mov r0, r9 + 8015b18: f7ff f9e0 bl 8014edc + 8015b1c: f100 0830 add.w r8, r0, #48 @ 0x30 + 8015b20: f806 8b01 strb.w r8, [r6], #1 + 8015b24: 9b00 ldr r3, [sp, #0] + 8015b26: eba6 020a sub.w r2, r6, sl + 8015b2a: 4293 cmp r3, r2 + 8015b2c: ddb5 ble.n 8015a9a <_dtoa_r+0xaaa> + 8015b2e: 4649 mov r1, r9 + 8015b30: 2300 movs r3, #0 + 8015b32: 220a movs r2, #10 + 8015b34: 4658 mov r0, fp + 8015b36: f000 f847 bl 8015bc8 <__multadd> + 8015b3a: 4681 mov r9, r0 + 8015b3c: e7ea b.n 8015b14 <_dtoa_r+0xb24> + 8015b3e: bf00 nop + 8015b40: 080199f6 .word 0x080199f6 + 8015b44: 080199e9 .word 0x080199e9 -080151c8 <__ascii_mbtowc>: - 80151c8: b082 sub sp, #8 - 80151ca: b901 cbnz r1, 80151ce <__ascii_mbtowc+0x6> - 80151cc: a901 add r1, sp, #4 - 80151ce: b142 cbz r2, 80151e2 <__ascii_mbtowc+0x1a> - 80151d0: b14b cbz r3, 80151e6 <__ascii_mbtowc+0x1e> - 80151d2: 7813 ldrb r3, [r2, #0] - 80151d4: 600b str r3, [r1, #0] - 80151d6: 7812 ldrb r2, [r2, #0] - 80151d8: 1e10 subs r0, r2, #0 - 80151da: bf18 it ne - 80151dc: 2001 movne r0, #1 - 80151de: b002 add sp, #8 - 80151e0: 4770 bx lr - 80151e2: 4610 mov r0, r2 - 80151e4: e7fb b.n 80151de <__ascii_mbtowc+0x16> - 80151e6: f06f 0001 mvn.w r0, #1 - 80151ea: e7f8 b.n 80151de <__ascii_mbtowc+0x16> +08015b48 <__ascii_mbtowc>: + 8015b48: b082 sub sp, #8 + 8015b4a: b901 cbnz r1, 8015b4e <__ascii_mbtowc+0x6> + 8015b4c: a901 add r1, sp, #4 + 8015b4e: b142 cbz r2, 8015b62 <__ascii_mbtowc+0x1a> + 8015b50: b14b cbz r3, 8015b66 <__ascii_mbtowc+0x1e> + 8015b52: 7813 ldrb r3, [r2, #0] + 8015b54: 600b str r3, [r1, #0] + 8015b56: 7812 ldrb r2, [r2, #0] + 8015b58: 1e10 subs r0, r2, #0 + 8015b5a: bf18 it ne + 8015b5c: 2001 movne r0, #1 + 8015b5e: b002 add sp, #8 + 8015b60: 4770 bx lr + 8015b62: 4610 mov r0, r2 + 8015b64: e7fb b.n 8015b5e <__ascii_mbtowc+0x16> + 8015b66: f06f 0001 mvn.w r0, #1 + 8015b6a: e7f8 b.n 8015b5e <__ascii_mbtowc+0x16> -080151ec <_Balloc>: - 80151ec: 6c43 ldr r3, [r0, #68] @ 0x44 - 80151ee: b570 push {r4, r5, r6, lr} - 80151f0: 4605 mov r5, r0 - 80151f2: 460c mov r4, r1 - 80151f4: b17b cbz r3, 8015216 <_Balloc+0x2a> - 80151f6: 6c6b ldr r3, [r5, #68] @ 0x44 - 80151f8: f853 0024 ldr.w r0, [r3, r4, lsl #2] - 80151fc: b9a0 cbnz r0, 8015228 <_Balloc+0x3c> - 80151fe: 2101 movs r1, #1 - 8015200: fa01 f604 lsl.w r6, r1, r4 - 8015204: 1d72 adds r2, r6, #5 - 8015206: 0092 lsls r2, r2, #2 - 8015208: 4628 mov r0, r5 - 801520a: f000 fddd bl 8015dc8 <_calloc_r> - 801520e: b148 cbz r0, 8015224 <_Balloc+0x38> - 8015210: e9c0 4601 strd r4, r6, [r0, #4] - 8015214: e00b b.n 801522e <_Balloc+0x42> - 8015216: 2221 movs r2, #33 @ 0x21 - 8015218: 2104 movs r1, #4 - 801521a: f000 fdd5 bl 8015dc8 <_calloc_r> - 801521e: 6468 str r0, [r5, #68] @ 0x44 - 8015220: 2800 cmp r0, #0 - 8015222: d1e8 bne.n 80151f6 <_Balloc+0xa> - 8015224: 2000 movs r0, #0 - 8015226: bd70 pop {r4, r5, r6, pc} - 8015228: 6802 ldr r2, [r0, #0] - 801522a: f843 2024 str.w r2, [r3, r4, lsl #2] - 801522e: 2300 movs r3, #0 - 8015230: e9c0 3303 strd r3, r3, [r0, #12] - 8015234: e7f7 b.n 8015226 <_Balloc+0x3a> +08015b6c <_Balloc>: + 8015b6c: 6c43 ldr r3, [r0, #68] @ 0x44 + 8015b6e: b570 push {r4, r5, r6, lr} + 8015b70: 4605 mov r5, r0 + 8015b72: 460c mov r4, r1 + 8015b74: b17b cbz r3, 8015b96 <_Balloc+0x2a> + 8015b76: 6c6b ldr r3, [r5, #68] @ 0x44 + 8015b78: f853 0024 ldr.w r0, [r3, r4, lsl #2] + 8015b7c: b9a0 cbnz r0, 8015ba8 <_Balloc+0x3c> + 8015b7e: 2101 movs r1, #1 + 8015b80: fa01 f604 lsl.w r6, r1, r4 + 8015b84: 1d72 adds r2, r6, #5 + 8015b86: 0092 lsls r2, r2, #2 + 8015b88: 4628 mov r0, r5 + 8015b8a: f000 fddd bl 8016748 <_calloc_r> + 8015b8e: b148 cbz r0, 8015ba4 <_Balloc+0x38> + 8015b90: e9c0 4601 strd r4, r6, [r0, #4] + 8015b94: e00b b.n 8015bae <_Balloc+0x42> + 8015b96: 2221 movs r2, #33 @ 0x21 + 8015b98: 2104 movs r1, #4 + 8015b9a: f000 fdd5 bl 8016748 <_calloc_r> + 8015b9e: 6468 str r0, [r5, #68] @ 0x44 + 8015ba0: 2800 cmp r0, #0 + 8015ba2: d1e8 bne.n 8015b76 <_Balloc+0xa> + 8015ba4: 2000 movs r0, #0 + 8015ba6: bd70 pop {r4, r5, r6, pc} + 8015ba8: 6802 ldr r2, [r0, #0] + 8015baa: f843 2024 str.w r2, [r3, r4, lsl #2] + 8015bae: 2300 movs r3, #0 + 8015bb0: e9c0 3303 strd r3, r3, [r0, #12] + 8015bb4: e7f7 b.n 8015ba6 <_Balloc+0x3a> -08015236 <_Bfree>: - 8015236: b131 cbz r1, 8015246 <_Bfree+0x10> - 8015238: 6c43 ldr r3, [r0, #68] @ 0x44 - 801523a: 684a ldr r2, [r1, #4] - 801523c: f853 0022 ldr.w r0, [r3, r2, lsl #2] - 8015240: 6008 str r0, [r1, #0] - 8015242: f843 1022 str.w r1, [r3, r2, lsl #2] - 8015246: 4770 bx lr +08015bb6 <_Bfree>: + 8015bb6: b131 cbz r1, 8015bc6 <_Bfree+0x10> + 8015bb8: 6c43 ldr r3, [r0, #68] @ 0x44 + 8015bba: 684a ldr r2, [r1, #4] + 8015bbc: f853 0022 ldr.w r0, [r3, r2, lsl #2] + 8015bc0: 6008 str r0, [r1, #0] + 8015bc2: f843 1022 str.w r1, [r3, r2, lsl #2] + 8015bc6: 4770 bx lr -08015248 <__multadd>: - 8015248: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 801524c: 690d ldr r5, [r1, #16] - 801524e: 4607 mov r7, r0 - 8015250: 460c mov r4, r1 - 8015252: 461e mov r6, r3 - 8015254: f101 0c14 add.w ip, r1, #20 - 8015258: 2000 movs r0, #0 - 801525a: f8dc 3000 ldr.w r3, [ip] - 801525e: b299 uxth r1, r3 - 8015260: fb02 6101 mla r1, r2, r1, r6 - 8015264: 0c1e lsrs r6, r3, #16 - 8015266: 0c0b lsrs r3, r1, #16 - 8015268: fb02 3306 mla r3, r2, r6, r3 - 801526c: b289 uxth r1, r1 - 801526e: 3001 adds r0, #1 - 8015270: eb01 4103 add.w r1, r1, r3, lsl #16 - 8015274: 4285 cmp r5, r0 - 8015276: f84c 1b04 str.w r1, [ip], #4 - 801527a: ea4f 4613 mov.w r6, r3, lsr #16 - 801527e: dcec bgt.n 801525a <__multadd+0x12> - 8015280: b30e cbz r6, 80152c6 <__multadd+0x7e> - 8015282: 68a3 ldr r3, [r4, #8] - 8015284: 42ab cmp r3, r5 - 8015286: dc19 bgt.n 80152bc <__multadd+0x74> - 8015288: 6861 ldr r1, [r4, #4] - 801528a: 4638 mov r0, r7 - 801528c: 3101 adds r1, #1 - 801528e: f7ff ffad bl 80151ec <_Balloc> - 8015292: 4680 mov r8, r0 - 8015294: b928 cbnz r0, 80152a2 <__multadd+0x5a> - 8015296: 4602 mov r2, r0 - 8015298: 4b0c ldr r3, [pc, #48] @ (80152cc <__multadd+0x84>) - 801529a: 480d ldr r0, [pc, #52] @ (80152d0 <__multadd+0x88>) - 801529c: 21ba movs r1, #186 @ 0xba - 801529e: f000 fd75 bl 8015d8c <__assert_func> - 80152a2: 6922 ldr r2, [r4, #16] - 80152a4: 3202 adds r2, #2 - 80152a6: f104 010c add.w r1, r4, #12 - 80152aa: 0092 lsls r2, r2, #2 - 80152ac: 300c adds r0, #12 - 80152ae: f7fc fa9f bl 80117f0 - 80152b2: 4621 mov r1, r4 - 80152b4: 4638 mov r0, r7 - 80152b6: f7ff ffbe bl 8015236 <_Bfree> - 80152ba: 4644 mov r4, r8 - 80152bc: eb04 0385 add.w r3, r4, r5, lsl #2 - 80152c0: 3501 adds r5, #1 - 80152c2: 615e str r6, [r3, #20] - 80152c4: 6125 str r5, [r4, #16] - 80152c6: 4620 mov r0, r4 - 80152c8: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80152cc: 08019076 .word 0x08019076 - 80152d0: 080190df .word 0x080190df +08015bc8 <__multadd>: + 8015bc8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8015bcc: 690d ldr r5, [r1, #16] + 8015bce: 4607 mov r7, r0 + 8015bd0: 460c mov r4, r1 + 8015bd2: 461e mov r6, r3 + 8015bd4: f101 0c14 add.w ip, r1, #20 + 8015bd8: 2000 movs r0, #0 + 8015bda: f8dc 3000 ldr.w r3, [ip] + 8015bde: b299 uxth r1, r3 + 8015be0: fb02 6101 mla r1, r2, r1, r6 + 8015be4: 0c1e lsrs r6, r3, #16 + 8015be6: 0c0b lsrs r3, r1, #16 + 8015be8: fb02 3306 mla r3, r2, r6, r3 + 8015bec: b289 uxth r1, r1 + 8015bee: 3001 adds r0, #1 + 8015bf0: eb01 4103 add.w r1, r1, r3, lsl #16 + 8015bf4: 4285 cmp r5, r0 + 8015bf6: f84c 1b04 str.w r1, [ip], #4 + 8015bfa: ea4f 4613 mov.w r6, r3, lsr #16 + 8015bfe: dcec bgt.n 8015bda <__multadd+0x12> + 8015c00: b30e cbz r6, 8015c46 <__multadd+0x7e> + 8015c02: 68a3 ldr r3, [r4, #8] + 8015c04: 42ab cmp r3, r5 + 8015c06: dc19 bgt.n 8015c3c <__multadd+0x74> + 8015c08: 6861 ldr r1, [r4, #4] + 8015c0a: 4638 mov r0, r7 + 8015c0c: 3101 adds r1, #1 + 8015c0e: f7ff ffad bl 8015b6c <_Balloc> + 8015c12: 4680 mov r8, r0 + 8015c14: b928 cbnz r0, 8015c22 <__multadd+0x5a> + 8015c16: 4602 mov r2, r0 + 8015c18: 4b0c ldr r3, [pc, #48] @ (8015c4c <__multadd+0x84>) + 8015c1a: 480d ldr r0, [pc, #52] @ (8015c50 <__multadd+0x88>) + 8015c1c: 21ba movs r1, #186 @ 0xba + 8015c1e: f000 fd75 bl 801670c <__assert_func> + 8015c22: 6922 ldr r2, [r4, #16] + 8015c24: 3202 adds r2, #2 + 8015c26: f104 010c add.w r1, r4, #12 + 8015c2a: 0092 lsls r2, r2, #2 + 8015c2c: 300c adds r0, #12 + 8015c2e: f7fc faa1 bl 8012174 + 8015c32: 4621 mov r1, r4 + 8015c34: 4638 mov r0, r7 + 8015c36: f7ff ffbe bl 8015bb6 <_Bfree> + 8015c3a: 4644 mov r4, r8 + 8015c3c: eb04 0385 add.w r3, r4, r5, lsl #2 + 8015c40: 3501 adds r5, #1 + 8015c42: 615e str r6, [r3, #20] + 8015c44: 6125 str r5, [r4, #16] + 8015c46: 4620 mov r0, r4 + 8015c48: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8015c4c: 080199f6 .word 0x080199f6 + 8015c50: 08019a5f .word 0x08019a5f -080152d4 <__hi0bits>: - 80152d4: f5b0 3f80 cmp.w r0, #65536 @ 0x10000 - 80152d8: 4603 mov r3, r0 - 80152da: bf36 itet cc - 80152dc: 0403 lslcc r3, r0, #16 - 80152de: 2000 movcs r0, #0 - 80152e0: 2010 movcc r0, #16 - 80152e2: f1b3 7f80 cmp.w r3, #16777216 @ 0x1000000 - 80152e6: bf3c itt cc - 80152e8: 021b lslcc r3, r3, #8 - 80152ea: 3008 addcc r0, #8 - 80152ec: f1b3 5f80 cmp.w r3, #268435456 @ 0x10000000 - 80152f0: bf3c itt cc - 80152f2: 011b lslcc r3, r3, #4 - 80152f4: 3004 addcc r0, #4 - 80152f6: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 80152fa: bf3c itt cc - 80152fc: 009b lslcc r3, r3, #2 - 80152fe: 3002 addcc r0, #2 - 8015300: 2b00 cmp r3, #0 - 8015302: db05 blt.n 8015310 <__hi0bits+0x3c> - 8015304: f013 4f80 tst.w r3, #1073741824 @ 0x40000000 - 8015308: f100 0001 add.w r0, r0, #1 - 801530c: bf08 it eq - 801530e: 2020 moveq r0, #32 - 8015310: 4770 bx lr +08015c54 <__hi0bits>: + 8015c54: f5b0 3f80 cmp.w r0, #65536 @ 0x10000 + 8015c58: 4603 mov r3, r0 + 8015c5a: bf36 itet cc + 8015c5c: 0403 lslcc r3, r0, #16 + 8015c5e: 2000 movcs r0, #0 + 8015c60: 2010 movcc r0, #16 + 8015c62: f1b3 7f80 cmp.w r3, #16777216 @ 0x1000000 + 8015c66: bf3c itt cc + 8015c68: 021b lslcc r3, r3, #8 + 8015c6a: 3008 addcc r0, #8 + 8015c6c: f1b3 5f80 cmp.w r3, #268435456 @ 0x10000000 + 8015c70: bf3c itt cc + 8015c72: 011b lslcc r3, r3, #4 + 8015c74: 3004 addcc r0, #4 + 8015c76: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 8015c7a: bf3c itt cc + 8015c7c: 009b lslcc r3, r3, #2 + 8015c7e: 3002 addcc r0, #2 + 8015c80: 2b00 cmp r3, #0 + 8015c82: db05 blt.n 8015c90 <__hi0bits+0x3c> + 8015c84: f013 4f80 tst.w r3, #1073741824 @ 0x40000000 + 8015c88: f100 0001 add.w r0, r0, #1 + 8015c8c: bf08 it eq + 8015c8e: 2020 moveq r0, #32 + 8015c90: 4770 bx lr -08015312 <__lo0bits>: - 8015312: 6803 ldr r3, [r0, #0] - 8015314: 4602 mov r2, r0 - 8015316: f013 0007 ands.w r0, r3, #7 - 801531a: d00b beq.n 8015334 <__lo0bits+0x22> - 801531c: 07d9 lsls r1, r3, #31 - 801531e: d421 bmi.n 8015364 <__lo0bits+0x52> - 8015320: 0798 lsls r0, r3, #30 - 8015322: bf49 itett mi - 8015324: 085b lsrmi r3, r3, #1 - 8015326: 089b lsrpl r3, r3, #2 - 8015328: 2001 movmi r0, #1 - 801532a: 6013 strmi r3, [r2, #0] - 801532c: bf5c itt pl - 801532e: 6013 strpl r3, [r2, #0] - 8015330: 2002 movpl r0, #2 - 8015332: 4770 bx lr - 8015334: b299 uxth r1, r3 - 8015336: b909 cbnz r1, 801533c <__lo0bits+0x2a> - 8015338: 0c1b lsrs r3, r3, #16 - 801533a: 2010 movs r0, #16 - 801533c: b2d9 uxtb r1, r3 - 801533e: b909 cbnz r1, 8015344 <__lo0bits+0x32> - 8015340: 3008 adds r0, #8 - 8015342: 0a1b lsrs r3, r3, #8 - 8015344: 0719 lsls r1, r3, #28 - 8015346: bf04 itt eq - 8015348: 091b lsreq r3, r3, #4 - 801534a: 3004 addeq r0, #4 - 801534c: 0799 lsls r1, r3, #30 - 801534e: bf04 itt eq - 8015350: 089b lsreq r3, r3, #2 - 8015352: 3002 addeq r0, #2 - 8015354: 07d9 lsls r1, r3, #31 - 8015356: d403 bmi.n 8015360 <__lo0bits+0x4e> - 8015358: 085b lsrs r3, r3, #1 - 801535a: f100 0001 add.w r0, r0, #1 - 801535e: d003 beq.n 8015368 <__lo0bits+0x56> - 8015360: 6013 str r3, [r2, #0] - 8015362: 4770 bx lr - 8015364: 2000 movs r0, #0 - 8015366: 4770 bx lr - 8015368: 2020 movs r0, #32 - 801536a: 4770 bx lr +08015c92 <__lo0bits>: + 8015c92: 6803 ldr r3, [r0, #0] + 8015c94: 4602 mov r2, r0 + 8015c96: f013 0007 ands.w r0, r3, #7 + 8015c9a: d00b beq.n 8015cb4 <__lo0bits+0x22> + 8015c9c: 07d9 lsls r1, r3, #31 + 8015c9e: d421 bmi.n 8015ce4 <__lo0bits+0x52> + 8015ca0: 0798 lsls r0, r3, #30 + 8015ca2: bf49 itett mi + 8015ca4: 085b lsrmi r3, r3, #1 + 8015ca6: 089b lsrpl r3, r3, #2 + 8015ca8: 2001 movmi r0, #1 + 8015caa: 6013 strmi r3, [r2, #0] + 8015cac: bf5c itt pl + 8015cae: 6013 strpl r3, [r2, #0] + 8015cb0: 2002 movpl r0, #2 + 8015cb2: 4770 bx lr + 8015cb4: b299 uxth r1, r3 + 8015cb6: b909 cbnz r1, 8015cbc <__lo0bits+0x2a> + 8015cb8: 0c1b lsrs r3, r3, #16 + 8015cba: 2010 movs r0, #16 + 8015cbc: b2d9 uxtb r1, r3 + 8015cbe: b909 cbnz r1, 8015cc4 <__lo0bits+0x32> + 8015cc0: 3008 adds r0, #8 + 8015cc2: 0a1b lsrs r3, r3, #8 + 8015cc4: 0719 lsls r1, r3, #28 + 8015cc6: bf04 itt eq + 8015cc8: 091b lsreq r3, r3, #4 + 8015cca: 3004 addeq r0, #4 + 8015ccc: 0799 lsls r1, r3, #30 + 8015cce: bf04 itt eq + 8015cd0: 089b lsreq r3, r3, #2 + 8015cd2: 3002 addeq r0, #2 + 8015cd4: 07d9 lsls r1, r3, #31 + 8015cd6: d403 bmi.n 8015ce0 <__lo0bits+0x4e> + 8015cd8: 085b lsrs r3, r3, #1 + 8015cda: f100 0001 add.w r0, r0, #1 + 8015cde: d003 beq.n 8015ce8 <__lo0bits+0x56> + 8015ce0: 6013 str r3, [r2, #0] + 8015ce2: 4770 bx lr + 8015ce4: 2000 movs r0, #0 + 8015ce6: 4770 bx lr + 8015ce8: 2020 movs r0, #32 + 8015cea: 4770 bx lr -0801536c <__i2b>: - 801536c: b510 push {r4, lr} - 801536e: 460c mov r4, r1 - 8015370: 2101 movs r1, #1 - 8015372: f7ff ff3b bl 80151ec <_Balloc> - 8015376: 4602 mov r2, r0 - 8015378: b928 cbnz r0, 8015386 <__i2b+0x1a> - 801537a: 4b05 ldr r3, [pc, #20] @ (8015390 <__i2b+0x24>) - 801537c: 4805 ldr r0, [pc, #20] @ (8015394 <__i2b+0x28>) - 801537e: f240 1145 movw r1, #325 @ 0x145 - 8015382: f000 fd03 bl 8015d8c <__assert_func> - 8015386: 2301 movs r3, #1 - 8015388: 6144 str r4, [r0, #20] - 801538a: 6103 str r3, [r0, #16] - 801538c: bd10 pop {r4, pc} - 801538e: bf00 nop - 8015390: 08019076 .word 0x08019076 - 8015394: 080190df .word 0x080190df +08015cec <__i2b>: + 8015cec: b510 push {r4, lr} + 8015cee: 460c mov r4, r1 + 8015cf0: 2101 movs r1, #1 + 8015cf2: f7ff ff3b bl 8015b6c <_Balloc> + 8015cf6: 4602 mov r2, r0 + 8015cf8: b928 cbnz r0, 8015d06 <__i2b+0x1a> + 8015cfa: 4b05 ldr r3, [pc, #20] @ (8015d10 <__i2b+0x24>) + 8015cfc: 4805 ldr r0, [pc, #20] @ (8015d14 <__i2b+0x28>) + 8015cfe: f240 1145 movw r1, #325 @ 0x145 + 8015d02: f000 fd03 bl 801670c <__assert_func> + 8015d06: 2301 movs r3, #1 + 8015d08: 6144 str r4, [r0, #20] + 8015d0a: 6103 str r3, [r0, #16] + 8015d0c: bd10 pop {r4, pc} + 8015d0e: bf00 nop + 8015d10: 080199f6 .word 0x080199f6 + 8015d14: 08019a5f .word 0x08019a5f -08015398 <__multiply>: - 8015398: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 801539c: 4614 mov r4, r2 - 801539e: 690a ldr r2, [r1, #16] - 80153a0: 6923 ldr r3, [r4, #16] - 80153a2: 429a cmp r2, r3 - 80153a4: bfa8 it ge - 80153a6: 4623 movge r3, r4 - 80153a8: 460f mov r7, r1 - 80153aa: bfa4 itt ge - 80153ac: 460c movge r4, r1 - 80153ae: 461f movge r7, r3 - 80153b0: f8d4 a010 ldr.w sl, [r4, #16] - 80153b4: f8d7 9010 ldr.w r9, [r7, #16] - 80153b8: 68a3 ldr r3, [r4, #8] - 80153ba: 6861 ldr r1, [r4, #4] - 80153bc: eb0a 0609 add.w r6, sl, r9 - 80153c0: 42b3 cmp r3, r6 - 80153c2: b085 sub sp, #20 - 80153c4: bfb8 it lt - 80153c6: 3101 addlt r1, #1 - 80153c8: f7ff ff10 bl 80151ec <_Balloc> - 80153cc: b930 cbnz r0, 80153dc <__multiply+0x44> - 80153ce: 4602 mov r2, r0 - 80153d0: 4b44 ldr r3, [pc, #272] @ (80154e4 <__multiply+0x14c>) - 80153d2: 4845 ldr r0, [pc, #276] @ (80154e8 <__multiply+0x150>) - 80153d4: f44f 71b1 mov.w r1, #354 @ 0x162 - 80153d8: f000 fcd8 bl 8015d8c <__assert_func> - 80153dc: f100 0514 add.w r5, r0, #20 - 80153e0: eb05 0886 add.w r8, r5, r6, lsl #2 - 80153e4: 462b mov r3, r5 - 80153e6: 2200 movs r2, #0 - 80153e8: 4543 cmp r3, r8 - 80153ea: d321 bcc.n 8015430 <__multiply+0x98> - 80153ec: f107 0114 add.w r1, r7, #20 - 80153f0: f104 0214 add.w r2, r4, #20 - 80153f4: eb02 028a add.w r2, r2, sl, lsl #2 - 80153f8: eb01 0389 add.w r3, r1, r9, lsl #2 - 80153fc: 9302 str r3, [sp, #8] - 80153fe: 1b13 subs r3, r2, r4 - 8015400: 3b15 subs r3, #21 - 8015402: f023 0303 bic.w r3, r3, #3 - 8015406: 3304 adds r3, #4 - 8015408: f104 0715 add.w r7, r4, #21 - 801540c: 42ba cmp r2, r7 - 801540e: bf38 it cc - 8015410: 2304 movcc r3, #4 - 8015412: 9301 str r3, [sp, #4] - 8015414: 9b02 ldr r3, [sp, #8] - 8015416: 9103 str r1, [sp, #12] - 8015418: 428b cmp r3, r1 - 801541a: d80c bhi.n 8015436 <__multiply+0x9e> - 801541c: 2e00 cmp r6, #0 - 801541e: dd03 ble.n 8015428 <__multiply+0x90> - 8015420: f858 3d04 ldr.w r3, [r8, #-4]! - 8015424: 2b00 cmp r3, #0 - 8015426: d05b beq.n 80154e0 <__multiply+0x148> - 8015428: 6106 str r6, [r0, #16] - 801542a: b005 add sp, #20 - 801542c: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8015430: f843 2b04 str.w r2, [r3], #4 - 8015434: e7d8 b.n 80153e8 <__multiply+0x50> - 8015436: f8b1 a000 ldrh.w sl, [r1] - 801543a: f1ba 0f00 cmp.w sl, #0 - 801543e: d024 beq.n 801548a <__multiply+0xf2> - 8015440: f104 0e14 add.w lr, r4, #20 - 8015444: 46a9 mov r9, r5 - 8015446: f04f 0c00 mov.w ip, #0 - 801544a: f85e 7b04 ldr.w r7, [lr], #4 - 801544e: f8d9 3000 ldr.w r3, [r9] - 8015452: fa1f fb87 uxth.w fp, r7 - 8015456: b29b uxth r3, r3 - 8015458: fb0a 330b mla r3, sl, fp, r3 - 801545c: ea4f 4b17 mov.w fp, r7, lsr #16 - 8015460: f8d9 7000 ldr.w r7, [r9] - 8015464: 4463 add r3, ip - 8015466: ea4f 4c17 mov.w ip, r7, lsr #16 - 801546a: fb0a c70b mla r7, sl, fp, ip - 801546e: eb07 4713 add.w r7, r7, r3, lsr #16 - 8015472: b29b uxth r3, r3 - 8015474: ea43 4307 orr.w r3, r3, r7, lsl #16 - 8015478: 4572 cmp r2, lr - 801547a: f849 3b04 str.w r3, [r9], #4 - 801547e: ea4f 4c17 mov.w ip, r7, lsr #16 - 8015482: d8e2 bhi.n 801544a <__multiply+0xb2> - 8015484: 9b01 ldr r3, [sp, #4] - 8015486: f845 c003 str.w ip, [r5, r3] - 801548a: 9b03 ldr r3, [sp, #12] - 801548c: f8b3 9002 ldrh.w r9, [r3, #2] - 8015490: 3104 adds r1, #4 - 8015492: f1b9 0f00 cmp.w r9, #0 - 8015496: d021 beq.n 80154dc <__multiply+0x144> - 8015498: 682b ldr r3, [r5, #0] - 801549a: f104 0c14 add.w ip, r4, #20 - 801549e: 46ae mov lr, r5 - 80154a0: f04f 0a00 mov.w sl, #0 - 80154a4: f8bc b000 ldrh.w fp, [ip] - 80154a8: f8be 7002 ldrh.w r7, [lr, #2] - 80154ac: fb09 770b mla r7, r9, fp, r7 - 80154b0: 4457 add r7, sl - 80154b2: b29b uxth r3, r3 - 80154b4: ea43 4307 orr.w r3, r3, r7, lsl #16 - 80154b8: f84e 3b04 str.w r3, [lr], #4 - 80154bc: f85c 3b04 ldr.w r3, [ip], #4 - 80154c0: ea4f 4a13 mov.w sl, r3, lsr #16 - 80154c4: f8be 3000 ldrh.w r3, [lr] - 80154c8: fb09 330a mla r3, r9, sl, r3 - 80154cc: eb03 4317 add.w r3, r3, r7, lsr #16 - 80154d0: 4562 cmp r2, ip - 80154d2: ea4f 4a13 mov.w sl, r3, lsr #16 - 80154d6: d8e5 bhi.n 80154a4 <__multiply+0x10c> - 80154d8: 9f01 ldr r7, [sp, #4] - 80154da: 51eb str r3, [r5, r7] - 80154dc: 3504 adds r5, #4 - 80154de: e799 b.n 8015414 <__multiply+0x7c> - 80154e0: 3e01 subs r6, #1 - 80154e2: e79b b.n 801541c <__multiply+0x84> - 80154e4: 08019076 .word 0x08019076 - 80154e8: 080190df .word 0x080190df +08015d18 <__multiply>: + 8015d18: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8015d1c: 4614 mov r4, r2 + 8015d1e: 690a ldr r2, [r1, #16] + 8015d20: 6923 ldr r3, [r4, #16] + 8015d22: 429a cmp r2, r3 + 8015d24: bfa8 it ge + 8015d26: 4623 movge r3, r4 + 8015d28: 460f mov r7, r1 + 8015d2a: bfa4 itt ge + 8015d2c: 460c movge r4, r1 + 8015d2e: 461f movge r7, r3 + 8015d30: f8d4 a010 ldr.w sl, [r4, #16] + 8015d34: f8d7 9010 ldr.w r9, [r7, #16] + 8015d38: 68a3 ldr r3, [r4, #8] + 8015d3a: 6861 ldr r1, [r4, #4] + 8015d3c: eb0a 0609 add.w r6, sl, r9 + 8015d40: 42b3 cmp r3, r6 + 8015d42: b085 sub sp, #20 + 8015d44: bfb8 it lt + 8015d46: 3101 addlt r1, #1 + 8015d48: f7ff ff10 bl 8015b6c <_Balloc> + 8015d4c: b930 cbnz r0, 8015d5c <__multiply+0x44> + 8015d4e: 4602 mov r2, r0 + 8015d50: 4b44 ldr r3, [pc, #272] @ (8015e64 <__multiply+0x14c>) + 8015d52: 4845 ldr r0, [pc, #276] @ (8015e68 <__multiply+0x150>) + 8015d54: f44f 71b1 mov.w r1, #354 @ 0x162 + 8015d58: f000 fcd8 bl 801670c <__assert_func> + 8015d5c: f100 0514 add.w r5, r0, #20 + 8015d60: eb05 0886 add.w r8, r5, r6, lsl #2 + 8015d64: 462b mov r3, r5 + 8015d66: 2200 movs r2, #0 + 8015d68: 4543 cmp r3, r8 + 8015d6a: d321 bcc.n 8015db0 <__multiply+0x98> + 8015d6c: f107 0114 add.w r1, r7, #20 + 8015d70: f104 0214 add.w r2, r4, #20 + 8015d74: eb02 028a add.w r2, r2, sl, lsl #2 + 8015d78: eb01 0389 add.w r3, r1, r9, lsl #2 + 8015d7c: 9302 str r3, [sp, #8] + 8015d7e: 1b13 subs r3, r2, r4 + 8015d80: 3b15 subs r3, #21 + 8015d82: f023 0303 bic.w r3, r3, #3 + 8015d86: 3304 adds r3, #4 + 8015d88: f104 0715 add.w r7, r4, #21 + 8015d8c: 42ba cmp r2, r7 + 8015d8e: bf38 it cc + 8015d90: 2304 movcc r3, #4 + 8015d92: 9301 str r3, [sp, #4] + 8015d94: 9b02 ldr r3, [sp, #8] + 8015d96: 9103 str r1, [sp, #12] + 8015d98: 428b cmp r3, r1 + 8015d9a: d80c bhi.n 8015db6 <__multiply+0x9e> + 8015d9c: 2e00 cmp r6, #0 + 8015d9e: dd03 ble.n 8015da8 <__multiply+0x90> + 8015da0: f858 3d04 ldr.w r3, [r8, #-4]! + 8015da4: 2b00 cmp r3, #0 + 8015da6: d05b beq.n 8015e60 <__multiply+0x148> + 8015da8: 6106 str r6, [r0, #16] + 8015daa: b005 add sp, #20 + 8015dac: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8015db0: f843 2b04 str.w r2, [r3], #4 + 8015db4: e7d8 b.n 8015d68 <__multiply+0x50> + 8015db6: f8b1 a000 ldrh.w sl, [r1] + 8015dba: f1ba 0f00 cmp.w sl, #0 + 8015dbe: d024 beq.n 8015e0a <__multiply+0xf2> + 8015dc0: f104 0e14 add.w lr, r4, #20 + 8015dc4: 46a9 mov r9, r5 + 8015dc6: f04f 0c00 mov.w ip, #0 + 8015dca: f85e 7b04 ldr.w r7, [lr], #4 + 8015dce: f8d9 3000 ldr.w r3, [r9] + 8015dd2: fa1f fb87 uxth.w fp, r7 + 8015dd6: b29b uxth r3, r3 + 8015dd8: fb0a 330b mla r3, sl, fp, r3 + 8015ddc: ea4f 4b17 mov.w fp, r7, lsr #16 + 8015de0: f8d9 7000 ldr.w r7, [r9] + 8015de4: 4463 add r3, ip + 8015de6: ea4f 4c17 mov.w ip, r7, lsr #16 + 8015dea: fb0a c70b mla r7, sl, fp, ip + 8015dee: eb07 4713 add.w r7, r7, r3, lsr #16 + 8015df2: b29b uxth r3, r3 + 8015df4: ea43 4307 orr.w r3, r3, r7, lsl #16 + 8015df8: 4572 cmp r2, lr + 8015dfa: f849 3b04 str.w r3, [r9], #4 + 8015dfe: ea4f 4c17 mov.w ip, r7, lsr #16 + 8015e02: d8e2 bhi.n 8015dca <__multiply+0xb2> + 8015e04: 9b01 ldr r3, [sp, #4] + 8015e06: f845 c003 str.w ip, [r5, r3] + 8015e0a: 9b03 ldr r3, [sp, #12] + 8015e0c: f8b3 9002 ldrh.w r9, [r3, #2] + 8015e10: 3104 adds r1, #4 + 8015e12: f1b9 0f00 cmp.w r9, #0 + 8015e16: d021 beq.n 8015e5c <__multiply+0x144> + 8015e18: 682b ldr r3, [r5, #0] + 8015e1a: f104 0c14 add.w ip, r4, #20 + 8015e1e: 46ae mov lr, r5 + 8015e20: f04f 0a00 mov.w sl, #0 + 8015e24: f8bc b000 ldrh.w fp, [ip] + 8015e28: f8be 7002 ldrh.w r7, [lr, #2] + 8015e2c: fb09 770b mla r7, r9, fp, r7 + 8015e30: 4457 add r7, sl + 8015e32: b29b uxth r3, r3 + 8015e34: ea43 4307 orr.w r3, r3, r7, lsl #16 + 8015e38: f84e 3b04 str.w r3, [lr], #4 + 8015e3c: f85c 3b04 ldr.w r3, [ip], #4 + 8015e40: ea4f 4a13 mov.w sl, r3, lsr #16 + 8015e44: f8be 3000 ldrh.w r3, [lr] + 8015e48: fb09 330a mla r3, r9, sl, r3 + 8015e4c: eb03 4317 add.w r3, r3, r7, lsr #16 + 8015e50: 4562 cmp r2, ip + 8015e52: ea4f 4a13 mov.w sl, r3, lsr #16 + 8015e56: d8e5 bhi.n 8015e24 <__multiply+0x10c> + 8015e58: 9f01 ldr r7, [sp, #4] + 8015e5a: 51eb str r3, [r5, r7] + 8015e5c: 3504 adds r5, #4 + 8015e5e: e799 b.n 8015d94 <__multiply+0x7c> + 8015e60: 3e01 subs r6, #1 + 8015e62: e79b b.n 8015d9c <__multiply+0x84> + 8015e64: 080199f6 .word 0x080199f6 + 8015e68: 08019a5f .word 0x08019a5f -080154ec <__pow5mult>: - 80154ec: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 80154f0: 4615 mov r5, r2 - 80154f2: f012 0203 ands.w r2, r2, #3 - 80154f6: 4607 mov r7, r0 - 80154f8: 460e mov r6, r1 - 80154fa: d007 beq.n 801550c <__pow5mult+0x20> - 80154fc: 4c1a ldr r4, [pc, #104] @ (8015568 <__pow5mult+0x7c>) - 80154fe: 3a01 subs r2, #1 - 8015500: 2300 movs r3, #0 - 8015502: f854 2022 ldr.w r2, [r4, r2, lsl #2] - 8015506: f7ff fe9f bl 8015248 <__multadd> - 801550a: 4606 mov r6, r0 - 801550c: 10ad asrs r5, r5, #2 - 801550e: d027 beq.n 8015560 <__pow5mult+0x74> - 8015510: 6c3c ldr r4, [r7, #64] @ 0x40 - 8015512: b944 cbnz r4, 8015526 <__pow5mult+0x3a> - 8015514: f240 2171 movw r1, #625 @ 0x271 - 8015518: 4638 mov r0, r7 - 801551a: f7ff ff27 bl 801536c <__i2b> - 801551e: 2300 movs r3, #0 - 8015520: 6438 str r0, [r7, #64] @ 0x40 - 8015522: 4604 mov r4, r0 - 8015524: 6003 str r3, [r0, #0] - 8015526: f04f 0900 mov.w r9, #0 - 801552a: 07eb lsls r3, r5, #31 - 801552c: d50a bpl.n 8015544 <__pow5mult+0x58> - 801552e: 4631 mov r1, r6 - 8015530: 4622 mov r2, r4 - 8015532: 4638 mov r0, r7 - 8015534: f7ff ff30 bl 8015398 <__multiply> - 8015538: 4631 mov r1, r6 - 801553a: 4680 mov r8, r0 - 801553c: 4638 mov r0, r7 - 801553e: f7ff fe7a bl 8015236 <_Bfree> - 8015542: 4646 mov r6, r8 - 8015544: 106d asrs r5, r5, #1 - 8015546: d00b beq.n 8015560 <__pow5mult+0x74> - 8015548: 6820 ldr r0, [r4, #0] - 801554a: b938 cbnz r0, 801555c <__pow5mult+0x70> - 801554c: 4622 mov r2, r4 - 801554e: 4621 mov r1, r4 - 8015550: 4638 mov r0, r7 - 8015552: f7ff ff21 bl 8015398 <__multiply> - 8015556: 6020 str r0, [r4, #0] - 8015558: f8c0 9000 str.w r9, [r0] - 801555c: 4604 mov r4, r0 - 801555e: e7e4 b.n 801552a <__pow5mult+0x3e> - 8015560: 4630 mov r0, r6 - 8015562: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 8015566: bf00 nop - 8015568: 08019138 .word 0x08019138 - -0801556c <__lshift>: - 801556c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8015570: 460c mov r4, r1 - 8015572: 6849 ldr r1, [r1, #4] - 8015574: 6923 ldr r3, [r4, #16] - 8015576: eb03 1862 add.w r8, r3, r2, asr #5 - 801557a: 68a3 ldr r3, [r4, #8] - 801557c: 4607 mov r7, r0 - 801557e: 4691 mov r9, r2 - 8015580: ea4f 1a62 mov.w sl, r2, asr #5 - 8015584: f108 0601 add.w r6, r8, #1 - 8015588: 42b3 cmp r3, r6 - 801558a: db0b blt.n 80155a4 <__lshift+0x38> - 801558c: 4638 mov r0, r7 - 801558e: f7ff fe2d bl 80151ec <_Balloc> - 8015592: 4605 mov r5, r0 - 8015594: b948 cbnz r0, 80155aa <__lshift+0x3e> - 8015596: 4602 mov r2, r0 - 8015598: 4b28 ldr r3, [pc, #160] @ (801563c <__lshift+0xd0>) - 801559a: 4829 ldr r0, [pc, #164] @ (8015640 <__lshift+0xd4>) - 801559c: f44f 71ef mov.w r1, #478 @ 0x1de - 80155a0: f000 fbf4 bl 8015d8c <__assert_func> - 80155a4: 3101 adds r1, #1 - 80155a6: 005b lsls r3, r3, #1 - 80155a8: e7ee b.n 8015588 <__lshift+0x1c> - 80155aa: 2300 movs r3, #0 - 80155ac: f100 0114 add.w r1, r0, #20 - 80155b0: f100 0210 add.w r2, r0, #16 - 80155b4: 4618 mov r0, r3 - 80155b6: 4553 cmp r3, sl - 80155b8: db33 blt.n 8015622 <__lshift+0xb6> - 80155ba: 6920 ldr r0, [r4, #16] - 80155bc: ea2a 7aea bic.w sl, sl, sl, asr #31 - 80155c0: f104 0314 add.w r3, r4, #20 - 80155c4: f019 091f ands.w r9, r9, #31 - 80155c8: eb01 018a add.w r1, r1, sl, lsl #2 - 80155cc: eb03 0c80 add.w ip, r3, r0, lsl #2 - 80155d0: d02b beq.n 801562a <__lshift+0xbe> - 80155d2: f1c9 0e20 rsb lr, r9, #32 - 80155d6: 468a mov sl, r1 - 80155d8: 2200 movs r2, #0 - 80155da: 6818 ldr r0, [r3, #0] - 80155dc: fa00 f009 lsl.w r0, r0, r9 - 80155e0: 4310 orrs r0, r2 - 80155e2: f84a 0b04 str.w r0, [sl], #4 - 80155e6: f853 2b04 ldr.w r2, [r3], #4 - 80155ea: 459c cmp ip, r3 - 80155ec: fa22 f20e lsr.w r2, r2, lr - 80155f0: d8f3 bhi.n 80155da <__lshift+0x6e> - 80155f2: ebac 0304 sub.w r3, ip, r4 - 80155f6: 3b15 subs r3, #21 - 80155f8: f023 0303 bic.w r3, r3, #3 - 80155fc: 3304 adds r3, #4 - 80155fe: f104 0015 add.w r0, r4, #21 - 8015602: 4584 cmp ip, r0 - 8015604: bf38 it cc - 8015606: 2304 movcc r3, #4 - 8015608: 50ca str r2, [r1, r3] - 801560a: b10a cbz r2, 8015610 <__lshift+0xa4> - 801560c: f108 0602 add.w r6, r8, #2 - 8015610: 3e01 subs r6, #1 - 8015612: 4638 mov r0, r7 - 8015614: 612e str r6, [r5, #16] - 8015616: 4621 mov r1, r4 - 8015618: f7ff fe0d bl 8015236 <_Bfree> - 801561c: 4628 mov r0, r5 - 801561e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8015622: f842 0f04 str.w r0, [r2, #4]! - 8015626: 3301 adds r3, #1 - 8015628: e7c5 b.n 80155b6 <__lshift+0x4a> - 801562a: 3904 subs r1, #4 - 801562c: f853 2b04 ldr.w r2, [r3], #4 - 8015630: f841 2f04 str.w r2, [r1, #4]! - 8015634: 459c cmp ip, r3 - 8015636: d8f9 bhi.n 801562c <__lshift+0xc0> - 8015638: e7ea b.n 8015610 <__lshift+0xa4> - 801563a: bf00 nop - 801563c: 08019076 .word 0x08019076 - 8015640: 080190df .word 0x080190df - -08015644 <__mcmp>: - 8015644: 690a ldr r2, [r1, #16] - 8015646: 4603 mov r3, r0 - 8015648: 6900 ldr r0, [r0, #16] - 801564a: 1a80 subs r0, r0, r2 - 801564c: b530 push {r4, r5, lr} - 801564e: d10e bne.n 801566e <__mcmp+0x2a> - 8015650: 3314 adds r3, #20 - 8015652: 3114 adds r1, #20 - 8015654: eb03 0482 add.w r4, r3, r2, lsl #2 - 8015658: eb01 0182 add.w r1, r1, r2, lsl #2 - 801565c: f854 5d04 ldr.w r5, [r4, #-4]! - 8015660: f851 2d04 ldr.w r2, [r1, #-4]! - 8015664: 4295 cmp r5, r2 - 8015666: d003 beq.n 8015670 <__mcmp+0x2c> - 8015668: d205 bcs.n 8015676 <__mcmp+0x32> - 801566a: f04f 30ff mov.w r0, #4294967295 - 801566e: bd30 pop {r4, r5, pc} - 8015670: 42a3 cmp r3, r4 - 8015672: d3f3 bcc.n 801565c <__mcmp+0x18> - 8015674: e7fb b.n 801566e <__mcmp+0x2a> - 8015676: 2001 movs r0, #1 - 8015678: e7f9 b.n 801566e <__mcmp+0x2a> - ... - -0801567c <__mdiff>: - 801567c: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8015680: 4689 mov r9, r1 - 8015682: 4606 mov r6, r0 - 8015684: 4611 mov r1, r2 - 8015686: 4648 mov r0, r9 - 8015688: 4614 mov r4, r2 - 801568a: f7ff ffdb bl 8015644 <__mcmp> - 801568e: 1e05 subs r5, r0, #0 - 8015690: d112 bne.n 80156b8 <__mdiff+0x3c> - 8015692: 4629 mov r1, r5 - 8015694: 4630 mov r0, r6 - 8015696: f7ff fda9 bl 80151ec <_Balloc> - 801569a: 4602 mov r2, r0 - 801569c: b928 cbnz r0, 80156aa <__mdiff+0x2e> - 801569e: 4b3f ldr r3, [pc, #252] @ (801579c <__mdiff+0x120>) - 80156a0: f240 2137 movw r1, #567 @ 0x237 - 80156a4: 483e ldr r0, [pc, #248] @ (80157a0 <__mdiff+0x124>) - 80156a6: f000 fb71 bl 8015d8c <__assert_func> - 80156aa: 2301 movs r3, #1 - 80156ac: e9c0 3504 strd r3, r5, [r0, #16] - 80156b0: 4610 mov r0, r2 - 80156b2: b003 add sp, #12 - 80156b4: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80156b8: bfbc itt lt - 80156ba: 464b movlt r3, r9 - 80156bc: 46a1 movlt r9, r4 - 80156be: 4630 mov r0, r6 - 80156c0: f8d9 1004 ldr.w r1, [r9, #4] - 80156c4: bfba itte lt - 80156c6: 461c movlt r4, r3 - 80156c8: 2501 movlt r5, #1 - 80156ca: 2500 movge r5, #0 - 80156cc: f7ff fd8e bl 80151ec <_Balloc> - 80156d0: 4602 mov r2, r0 - 80156d2: b918 cbnz r0, 80156dc <__mdiff+0x60> - 80156d4: 4b31 ldr r3, [pc, #196] @ (801579c <__mdiff+0x120>) - 80156d6: f240 2145 movw r1, #581 @ 0x245 - 80156da: e7e3 b.n 80156a4 <__mdiff+0x28> - 80156dc: f8d9 7010 ldr.w r7, [r9, #16] - 80156e0: 6926 ldr r6, [r4, #16] - 80156e2: 60c5 str r5, [r0, #12] - 80156e4: f109 0310 add.w r3, r9, #16 - 80156e8: f109 0514 add.w r5, r9, #20 - 80156ec: f104 0e14 add.w lr, r4, #20 - 80156f0: f100 0b14 add.w fp, r0, #20 - 80156f4: eb05 0887 add.w r8, r5, r7, lsl #2 - 80156f8: eb0e 0686 add.w r6, lr, r6, lsl #2 - 80156fc: 9301 str r3, [sp, #4] - 80156fe: 46d9 mov r9, fp - 8015700: f04f 0c00 mov.w ip, #0 - 8015704: 9b01 ldr r3, [sp, #4] - 8015706: f85e 0b04 ldr.w r0, [lr], #4 - 801570a: f853 af04 ldr.w sl, [r3, #4]! - 801570e: 9301 str r3, [sp, #4] - 8015710: fa1f f38a uxth.w r3, sl - 8015714: 4619 mov r1, r3 - 8015716: b283 uxth r3, r0 - 8015718: 1acb subs r3, r1, r3 - 801571a: 0c00 lsrs r0, r0, #16 - 801571c: 4463 add r3, ip - 801571e: ebc0 401a rsb r0, r0, sl, lsr #16 - 8015722: eb00 4023 add.w r0, r0, r3, asr #16 - 8015726: b29b uxth r3, r3 - 8015728: ea43 4300 orr.w r3, r3, r0, lsl #16 - 801572c: 4576 cmp r6, lr - 801572e: f849 3b04 str.w r3, [r9], #4 - 8015732: ea4f 4c20 mov.w ip, r0, asr #16 - 8015736: d8e5 bhi.n 8015704 <__mdiff+0x88> - 8015738: 1b33 subs r3, r6, r4 - 801573a: 3b15 subs r3, #21 - 801573c: f023 0303 bic.w r3, r3, #3 - 8015740: 3415 adds r4, #21 - 8015742: 3304 adds r3, #4 - 8015744: 42a6 cmp r6, r4 - 8015746: bf38 it cc - 8015748: 2304 movcc r3, #4 - 801574a: 441d add r5, r3 - 801574c: 445b add r3, fp - 801574e: 461e mov r6, r3 - 8015750: 462c mov r4, r5 - 8015752: 4544 cmp r4, r8 - 8015754: d30e bcc.n 8015774 <__mdiff+0xf8> - 8015756: f108 0103 add.w r1, r8, #3 - 801575a: 1b49 subs r1, r1, r5 - 801575c: f021 0103 bic.w r1, r1, #3 - 8015760: 3d03 subs r5, #3 - 8015762: 45a8 cmp r8, r5 - 8015764: bf38 it cc - 8015766: 2100 movcc r1, #0 - 8015768: 440b add r3, r1 - 801576a: f853 1d04 ldr.w r1, [r3, #-4]! - 801576e: b191 cbz r1, 8015796 <__mdiff+0x11a> - 8015770: 6117 str r7, [r2, #16] - 8015772: e79d b.n 80156b0 <__mdiff+0x34> - 8015774: f854 1b04 ldr.w r1, [r4], #4 - 8015778: 46e6 mov lr, ip - 801577a: 0c08 lsrs r0, r1, #16 - 801577c: fa1c fc81 uxtah ip, ip, r1 - 8015780: 4471 add r1, lr - 8015782: eb00 402c add.w r0, r0, ip, asr #16 - 8015786: b289 uxth r1, r1 - 8015788: ea41 4100 orr.w r1, r1, r0, lsl #16 - 801578c: f846 1b04 str.w r1, [r6], #4 - 8015790: ea4f 4c20 mov.w ip, r0, asr #16 - 8015794: e7dd b.n 8015752 <__mdiff+0xd6> - 8015796: 3f01 subs r7, #1 - 8015798: e7e7 b.n 801576a <__mdiff+0xee> - 801579a: bf00 nop - 801579c: 08019076 .word 0x08019076 - 80157a0: 080190df .word 0x080190df - -080157a4 <__d2b>: - 80157a4: e92d 43f7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, lr} - 80157a8: 460f mov r7, r1 - 80157aa: 2101 movs r1, #1 - 80157ac: ec59 8b10 vmov r8, r9, d0 - 80157b0: 4616 mov r6, r2 - 80157b2: f7ff fd1b bl 80151ec <_Balloc> - 80157b6: 4604 mov r4, r0 - 80157b8: b930 cbnz r0, 80157c8 <__d2b+0x24> - 80157ba: 4602 mov r2, r0 - 80157bc: 4b23 ldr r3, [pc, #140] @ (801584c <__d2b+0xa8>) - 80157be: 4824 ldr r0, [pc, #144] @ (8015850 <__d2b+0xac>) - 80157c0: f240 310f movw r1, #783 @ 0x30f - 80157c4: f000 fae2 bl 8015d8c <__assert_func> - 80157c8: f3c9 550a ubfx r5, r9, #20, #11 - 80157cc: f3c9 0313 ubfx r3, r9, #0, #20 - 80157d0: b10d cbz r5, 80157d6 <__d2b+0x32> - 80157d2: f443 1380 orr.w r3, r3, #1048576 @ 0x100000 - 80157d6: 9301 str r3, [sp, #4] - 80157d8: f1b8 0300 subs.w r3, r8, #0 - 80157dc: d023 beq.n 8015826 <__d2b+0x82> - 80157de: 4668 mov r0, sp - 80157e0: 9300 str r3, [sp, #0] - 80157e2: f7ff fd96 bl 8015312 <__lo0bits> - 80157e6: e9dd 1200 ldrd r1, r2, [sp] - 80157ea: b1d0 cbz r0, 8015822 <__d2b+0x7e> - 80157ec: f1c0 0320 rsb r3, r0, #32 - 80157f0: fa02 f303 lsl.w r3, r2, r3 - 80157f4: 430b orrs r3, r1 - 80157f6: 40c2 lsrs r2, r0 - 80157f8: 6163 str r3, [r4, #20] - 80157fa: 9201 str r2, [sp, #4] - 80157fc: 9b01 ldr r3, [sp, #4] - 80157fe: 61a3 str r3, [r4, #24] - 8015800: 2b00 cmp r3, #0 - 8015802: bf0c ite eq - 8015804: 2201 moveq r2, #1 - 8015806: 2202 movne r2, #2 - 8015808: 6122 str r2, [r4, #16] - 801580a: b1a5 cbz r5, 8015836 <__d2b+0x92> - 801580c: f2a5 4533 subw r5, r5, #1075 @ 0x433 - 8015810: 4405 add r5, r0 - 8015812: 603d str r5, [r7, #0] - 8015814: f1c0 0035 rsb r0, r0, #53 @ 0x35 - 8015818: 6030 str r0, [r6, #0] - 801581a: 4620 mov r0, r4 - 801581c: b003 add sp, #12 - 801581e: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 8015822: 6161 str r1, [r4, #20] - 8015824: e7ea b.n 80157fc <__d2b+0x58> - 8015826: a801 add r0, sp, #4 - 8015828: f7ff fd73 bl 8015312 <__lo0bits> - 801582c: 9b01 ldr r3, [sp, #4] - 801582e: 6163 str r3, [r4, #20] - 8015830: 3020 adds r0, #32 - 8015832: 2201 movs r2, #1 - 8015834: e7e8 b.n 8015808 <__d2b+0x64> - 8015836: eb04 0382 add.w r3, r4, r2, lsl #2 - 801583a: f2a0 4032 subw r0, r0, #1074 @ 0x432 - 801583e: 6038 str r0, [r7, #0] - 8015840: 6918 ldr r0, [r3, #16] - 8015842: f7ff fd47 bl 80152d4 <__hi0bits> - 8015846: ebc0 1042 rsb r0, r0, r2, lsl #5 - 801584a: e7e5 b.n 8015818 <__d2b+0x74> - 801584c: 08019076 .word 0x08019076 - 8015850: 080190df .word 0x080190df - -08015854 <_realloc_r>: - 8015854: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8015858: 4682 mov sl, r0 - 801585a: 4693 mov fp, r2 - 801585c: 460c mov r4, r1 - 801585e: b929 cbnz r1, 801586c <_realloc_r+0x18> - 8015860: 4611 mov r1, r2 - 8015862: b003 add sp, #12 - 8015864: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8015868: f7fc b8f6 b.w 8011a58 <_malloc_r> - 801586c: f7fc fb2e bl 8011ecc <__malloc_lock> - 8015870: f10b 080b add.w r8, fp, #11 - 8015874: f854 5c04 ldr.w r5, [r4, #-4] - 8015878: f1b8 0f16 cmp.w r8, #22 - 801587c: f1a4 0908 sub.w r9, r4, #8 - 8015880: f025 0603 bic.w r6, r5, #3 - 8015884: d908 bls.n 8015898 <_realloc_r+0x44> - 8015886: f038 0807 bics.w r8, r8, #7 - 801588a: d507 bpl.n 801589c <_realloc_r+0x48> - 801588c: 230c movs r3, #12 - 801588e: f8ca 3000 str.w r3, [sl] - 8015892: f04f 0b00 mov.w fp, #0 - 8015896: e032 b.n 80158fe <_realloc_r+0xaa> - 8015898: f04f 0810 mov.w r8, #16 - 801589c: 45c3 cmp fp, r8 - 801589e: d8f5 bhi.n 801588c <_realloc_r+0x38> - 80158a0: 4546 cmp r6, r8 - 80158a2: f280 8174 bge.w 8015b8e <_realloc_r+0x33a> - 80158a6: 4b9e ldr r3, [pc, #632] @ (8015b20 <_realloc_r+0x2cc>) - 80158a8: f8d3 c008 ldr.w ip, [r3, #8] - 80158ac: eb09 0106 add.w r1, r9, r6 - 80158b0: 458c cmp ip, r1 - 80158b2: 6848 ldr r0, [r1, #4] - 80158b4: d005 beq.n 80158c2 <_realloc_r+0x6e> - 80158b6: f020 0201 bic.w r2, r0, #1 - 80158ba: 440a add r2, r1 - 80158bc: 6852 ldr r2, [r2, #4] - 80158be: 07d7 lsls r7, r2, #31 - 80158c0: d449 bmi.n 8015956 <_realloc_r+0x102> - 80158c2: f020 0003 bic.w r0, r0, #3 - 80158c6: 458c cmp ip, r1 - 80158c8: eb06 0700 add.w r7, r6, r0 - 80158cc: d11b bne.n 8015906 <_realloc_r+0xb2> - 80158ce: f108 0210 add.w r2, r8, #16 - 80158d2: 42ba cmp r2, r7 - 80158d4: dc41 bgt.n 801595a <_realloc_r+0x106> - 80158d6: eb09 0208 add.w r2, r9, r8 - 80158da: eba7 0708 sub.w r7, r7, r8 - 80158de: f047 0701 orr.w r7, r7, #1 - 80158e2: 609a str r2, [r3, #8] - 80158e4: 6057 str r7, [r2, #4] - 80158e6: f854 3c04 ldr.w r3, [r4, #-4] - 80158ea: f003 0301 and.w r3, r3, #1 - 80158ee: ea43 0308 orr.w r3, r3, r8 - 80158f2: f844 3c04 str.w r3, [r4, #-4] - 80158f6: 4650 mov r0, sl - 80158f8: f7fc faee bl 8011ed8 <__malloc_unlock> - 80158fc: 46a3 mov fp, r4 - 80158fe: 4658 mov r0, fp - 8015900: b003 add sp, #12 - 8015902: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8015906: 45b8 cmp r8, r7 - 8015908: dc27 bgt.n 801595a <_realloc_r+0x106> - 801590a: e9d1 2302 ldrd r2, r3, [r1, #8] - 801590e: 60d3 str r3, [r2, #12] - 8015910: 609a str r2, [r3, #8] - 8015912: f8d9 3004 ldr.w r3, [r9, #4] - 8015916: eba7 0008 sub.w r0, r7, r8 - 801591a: 280f cmp r0, #15 - 801591c: f003 0301 and.w r3, r3, #1 - 8015920: eb09 0207 add.w r2, r9, r7 - 8015924: f240 8135 bls.w 8015b92 <_realloc_r+0x33e> - 8015928: eb09 0108 add.w r1, r9, r8 - 801592c: ea48 0303 orr.w r3, r8, r3 - 8015930: f040 0001 orr.w r0, r0, #1 - 8015934: f8c9 3004 str.w r3, [r9, #4] - 8015938: 6048 str r0, [r1, #4] - 801593a: 6853 ldr r3, [r2, #4] - 801593c: f043 0301 orr.w r3, r3, #1 - 8015940: 6053 str r3, [r2, #4] - 8015942: 3108 adds r1, #8 - 8015944: 4650 mov r0, sl - 8015946: f7fb ffc7 bl 80118d8 <_free_r> - 801594a: 4650 mov r0, sl - 801594c: f7fc fac4 bl 8011ed8 <__malloc_unlock> - 8015950: f109 0b08 add.w fp, r9, #8 - 8015954: e7d3 b.n 80158fe <_realloc_r+0xaa> - 8015956: 2000 movs r0, #0 - 8015958: 4601 mov r1, r0 - 801595a: 07ea lsls r2, r5, #31 - 801595c: f100 80c7 bmi.w 8015aee <_realloc_r+0x29a> - 8015960: f854 5c08 ldr.w r5, [r4, #-8] - 8015964: eba9 0505 sub.w r5, r9, r5 - 8015968: 686a ldr r2, [r5, #4] - 801596a: f022 0203 bic.w r2, r2, #3 - 801596e: 4432 add r2, r6 - 8015970: 9201 str r2, [sp, #4] - 8015972: 2900 cmp r1, #0 - 8015974: f000 8086 beq.w 8015a84 <_realloc_r+0x230> - 8015978: 458c cmp ip, r1 - 801597a: eb00 0702 add.w r7, r0, r2 - 801597e: d149 bne.n 8015a14 <_realloc_r+0x1c0> - 8015980: f108 0210 add.w r2, r8, #16 - 8015984: 42ba cmp r2, r7 - 8015986: dc7d bgt.n 8015a84 <_realloc_r+0x230> - 8015988: 46ab mov fp, r5 - 801598a: 68ea ldr r2, [r5, #12] - 801598c: f85b 1f08 ldr.w r1, [fp, #8]! - 8015990: 60ca str r2, [r1, #12] - 8015992: 6091 str r1, [r2, #8] - 8015994: 1f32 subs r2, r6, #4 - 8015996: 2a24 cmp r2, #36 @ 0x24 - 8015998: d836 bhi.n 8015a08 <_realloc_r+0x1b4> - 801599a: 2a13 cmp r2, #19 - 801599c: d932 bls.n 8015a04 <_realloc_r+0x1b0> - 801599e: 6821 ldr r1, [r4, #0] - 80159a0: 60a9 str r1, [r5, #8] - 80159a2: 6861 ldr r1, [r4, #4] - 80159a4: 60e9 str r1, [r5, #12] - 80159a6: 2a1b cmp r2, #27 - 80159a8: d81a bhi.n 80159e0 <_realloc_r+0x18c> - 80159aa: 3408 adds r4, #8 - 80159ac: f105 0210 add.w r2, r5, #16 - 80159b0: 6821 ldr r1, [r4, #0] - 80159b2: 6011 str r1, [r2, #0] - 80159b4: 6861 ldr r1, [r4, #4] - 80159b6: 6051 str r1, [r2, #4] - 80159b8: 68a1 ldr r1, [r4, #8] - 80159ba: 6091 str r1, [r2, #8] - 80159bc: eb05 0208 add.w r2, r5, r8 - 80159c0: eba7 0708 sub.w r7, r7, r8 - 80159c4: f047 0701 orr.w r7, r7, #1 - 80159c8: 609a str r2, [r3, #8] - 80159ca: 6057 str r7, [r2, #4] - 80159cc: 686b ldr r3, [r5, #4] - 80159ce: f003 0301 and.w r3, r3, #1 - 80159d2: ea43 0308 orr.w r3, r3, r8 - 80159d6: 606b str r3, [r5, #4] - 80159d8: 4650 mov r0, sl - 80159da: f7fc fa7d bl 8011ed8 <__malloc_unlock> - 80159de: e78e b.n 80158fe <_realloc_r+0xaa> - 80159e0: 68a1 ldr r1, [r4, #8] - 80159e2: 6129 str r1, [r5, #16] - 80159e4: 68e1 ldr r1, [r4, #12] - 80159e6: 6169 str r1, [r5, #20] - 80159e8: 2a24 cmp r2, #36 @ 0x24 - 80159ea: bf01 itttt eq - 80159ec: 6922 ldreq r2, [r4, #16] - 80159ee: 61aa streq r2, [r5, #24] - 80159f0: 6961 ldreq r1, [r4, #20] - 80159f2: 61e9 streq r1, [r5, #28] - 80159f4: bf19 ittee ne - 80159f6: 3410 addne r4, #16 - 80159f8: f105 0218 addne.w r2, r5, #24 - 80159fc: f105 0220 addeq.w r2, r5, #32 - 8015a00: 3418 addeq r4, #24 - 8015a02: e7d5 b.n 80159b0 <_realloc_r+0x15c> - 8015a04: 465a mov r2, fp - 8015a06: e7d3 b.n 80159b0 <_realloc_r+0x15c> - 8015a08: 4621 mov r1, r4 - 8015a0a: 4658 mov r0, fp - 8015a0c: f7fb fe59 bl 80116c2 - 8015a10: 4b43 ldr r3, [pc, #268] @ (8015b20 <_realloc_r+0x2cc>) - 8015a12: e7d3 b.n 80159bc <_realloc_r+0x168> - 8015a14: 45b8 cmp r8, r7 - 8015a16: dc35 bgt.n 8015a84 <_realloc_r+0x230> - 8015a18: e9d1 2302 ldrd r2, r3, [r1, #8] - 8015a1c: 4628 mov r0, r5 - 8015a1e: 60d3 str r3, [r2, #12] - 8015a20: 609a str r2, [r3, #8] - 8015a22: f850 2f08 ldr.w r2, [r0, #8]! - 8015a26: 68eb ldr r3, [r5, #12] - 8015a28: 60d3 str r3, [r2, #12] - 8015a2a: 609a str r2, [r3, #8] - 8015a2c: 1f32 subs r2, r6, #4 - 8015a2e: 2a24 cmp r2, #36 @ 0x24 - 8015a30: d824 bhi.n 8015a7c <_realloc_r+0x228> - 8015a32: 2a13 cmp r2, #19 - 8015a34: d908 bls.n 8015a48 <_realloc_r+0x1f4> - 8015a36: 6823 ldr r3, [r4, #0] - 8015a38: 60ab str r3, [r5, #8] - 8015a3a: 6863 ldr r3, [r4, #4] - 8015a3c: 60eb str r3, [r5, #12] - 8015a3e: 2a1b cmp r2, #27 - 8015a40: d80a bhi.n 8015a58 <_realloc_r+0x204> - 8015a42: 3408 adds r4, #8 - 8015a44: f105 0010 add.w r0, r5, #16 - 8015a48: 6823 ldr r3, [r4, #0] - 8015a4a: 6003 str r3, [r0, #0] - 8015a4c: 6863 ldr r3, [r4, #4] - 8015a4e: 6043 str r3, [r0, #4] - 8015a50: 68a3 ldr r3, [r4, #8] - 8015a52: 6083 str r3, [r0, #8] - 8015a54: 46a9 mov r9, r5 - 8015a56: e75c b.n 8015912 <_realloc_r+0xbe> - 8015a58: 68a3 ldr r3, [r4, #8] - 8015a5a: 612b str r3, [r5, #16] - 8015a5c: 68e3 ldr r3, [r4, #12] - 8015a5e: 616b str r3, [r5, #20] - 8015a60: 2a24 cmp r2, #36 @ 0x24 - 8015a62: bf01 itttt eq - 8015a64: 6923 ldreq r3, [r4, #16] - 8015a66: 61ab streq r3, [r5, #24] - 8015a68: 6963 ldreq r3, [r4, #20] - 8015a6a: 61eb streq r3, [r5, #28] - 8015a6c: bf19 ittee ne - 8015a6e: 3410 addne r4, #16 - 8015a70: f105 0018 addne.w r0, r5, #24 - 8015a74: f105 0020 addeq.w r0, r5, #32 - 8015a78: 3418 addeq r4, #24 - 8015a7a: e7e5 b.n 8015a48 <_realloc_r+0x1f4> - 8015a7c: 4621 mov r1, r4 - 8015a7e: f7fb fe20 bl 80116c2 - 8015a82: e7e7 b.n 8015a54 <_realloc_r+0x200> - 8015a84: 9b01 ldr r3, [sp, #4] - 8015a86: 4598 cmp r8, r3 - 8015a88: dc31 bgt.n 8015aee <_realloc_r+0x29a> - 8015a8a: 4628 mov r0, r5 - 8015a8c: 68eb ldr r3, [r5, #12] - 8015a8e: f850 2f08 ldr.w r2, [r0, #8]! - 8015a92: 60d3 str r3, [r2, #12] - 8015a94: 609a str r2, [r3, #8] - 8015a96: 1f32 subs r2, r6, #4 - 8015a98: 2a24 cmp r2, #36 @ 0x24 - 8015a9a: d824 bhi.n 8015ae6 <_realloc_r+0x292> - 8015a9c: 2a13 cmp r2, #19 - 8015a9e: d908 bls.n 8015ab2 <_realloc_r+0x25e> - 8015aa0: 6823 ldr r3, [r4, #0] - 8015aa2: 60ab str r3, [r5, #8] - 8015aa4: 6863 ldr r3, [r4, #4] - 8015aa6: 60eb str r3, [r5, #12] - 8015aa8: 2a1b cmp r2, #27 - 8015aaa: d80a bhi.n 8015ac2 <_realloc_r+0x26e> - 8015aac: 3408 adds r4, #8 - 8015aae: f105 0010 add.w r0, r5, #16 - 8015ab2: 6823 ldr r3, [r4, #0] - 8015ab4: 6003 str r3, [r0, #0] - 8015ab6: 6863 ldr r3, [r4, #4] - 8015ab8: 6043 str r3, [r0, #4] - 8015aba: 68a3 ldr r3, [r4, #8] - 8015abc: 6083 str r3, [r0, #8] - 8015abe: 9f01 ldr r7, [sp, #4] - 8015ac0: e7c8 b.n 8015a54 <_realloc_r+0x200> - 8015ac2: 68a3 ldr r3, [r4, #8] - 8015ac4: 612b str r3, [r5, #16] - 8015ac6: 68e3 ldr r3, [r4, #12] - 8015ac8: 616b str r3, [r5, #20] - 8015aca: 2a24 cmp r2, #36 @ 0x24 - 8015acc: bf01 itttt eq - 8015ace: 6923 ldreq r3, [r4, #16] - 8015ad0: 61ab streq r3, [r5, #24] - 8015ad2: 6963 ldreq r3, [r4, #20] - 8015ad4: 61eb streq r3, [r5, #28] - 8015ad6: bf19 ittee ne - 8015ad8: 3410 addne r4, #16 - 8015ada: f105 0018 addne.w r0, r5, #24 - 8015ade: f105 0020 addeq.w r0, r5, #32 - 8015ae2: 3418 addeq r4, #24 - 8015ae4: e7e5 b.n 8015ab2 <_realloc_r+0x25e> - 8015ae6: 4621 mov r1, r4 - 8015ae8: f7fb fdeb bl 80116c2 - 8015aec: e7e7 b.n 8015abe <_realloc_r+0x26a> - 8015aee: 4659 mov r1, fp - 8015af0: 4650 mov r0, sl - 8015af2: f7fb ffb1 bl 8011a58 <_malloc_r> - 8015af6: 4683 mov fp, r0 - 8015af8: b918 cbnz r0, 8015b02 <_realloc_r+0x2ae> - 8015afa: 4650 mov r0, sl - 8015afc: f7fc f9ec bl 8011ed8 <__malloc_unlock> - 8015b00: e6c7 b.n 8015892 <_realloc_r+0x3e> - 8015b02: f854 3c04 ldr.w r3, [r4, #-4] - 8015b06: f023 0301 bic.w r3, r3, #1 - 8015b0a: 444b add r3, r9 - 8015b0c: f1a0 0208 sub.w r2, r0, #8 - 8015b10: 4293 cmp r3, r2 - 8015b12: d107 bne.n 8015b24 <_realloc_r+0x2d0> - 8015b14: f850 7c04 ldr.w r7, [r0, #-4] - 8015b18: f027 0703 bic.w r7, r7, #3 - 8015b1c: 4437 add r7, r6 - 8015b1e: e6f8 b.n 8015912 <_realloc_r+0xbe> - 8015b20: 2000016c .word 0x2000016c - 8015b24: 1f32 subs r2, r6, #4 - 8015b26: 2a24 cmp r2, #36 @ 0x24 - 8015b28: d82d bhi.n 8015b86 <_realloc_r+0x332> - 8015b2a: 2a13 cmp r2, #19 - 8015b2c: d928 bls.n 8015b80 <_realloc_r+0x32c> - 8015b2e: 6823 ldr r3, [r4, #0] - 8015b30: 6003 str r3, [r0, #0] - 8015b32: 6863 ldr r3, [r4, #4] - 8015b34: 6043 str r3, [r0, #4] - 8015b36: 2a1b cmp r2, #27 - 8015b38: d80e bhi.n 8015b58 <_realloc_r+0x304> - 8015b3a: f104 0208 add.w r2, r4, #8 - 8015b3e: f100 0308 add.w r3, r0, #8 - 8015b42: 6811 ldr r1, [r2, #0] - 8015b44: 6019 str r1, [r3, #0] - 8015b46: 6851 ldr r1, [r2, #4] - 8015b48: 6059 str r1, [r3, #4] - 8015b4a: 6892 ldr r2, [r2, #8] - 8015b4c: 609a str r2, [r3, #8] - 8015b4e: 4621 mov r1, r4 - 8015b50: 4650 mov r0, sl - 8015b52: f7fb fec1 bl 80118d8 <_free_r> - 8015b56: e73f b.n 80159d8 <_realloc_r+0x184> - 8015b58: 68a3 ldr r3, [r4, #8] - 8015b5a: 6083 str r3, [r0, #8] - 8015b5c: 68e3 ldr r3, [r4, #12] - 8015b5e: 60c3 str r3, [r0, #12] - 8015b60: 2a24 cmp r2, #36 @ 0x24 - 8015b62: bf01 itttt eq - 8015b64: 6923 ldreq r3, [r4, #16] - 8015b66: 6103 streq r3, [r0, #16] - 8015b68: 6961 ldreq r1, [r4, #20] - 8015b6a: 6141 streq r1, [r0, #20] - 8015b6c: bf19 ittee ne - 8015b6e: f104 0210 addne.w r2, r4, #16 - 8015b72: f100 0310 addne.w r3, r0, #16 - 8015b76: f104 0218 addeq.w r2, r4, #24 - 8015b7a: f100 0318 addeq.w r3, r0, #24 - 8015b7e: e7e0 b.n 8015b42 <_realloc_r+0x2ee> - 8015b80: 4603 mov r3, r0 - 8015b82: 4622 mov r2, r4 - 8015b84: e7dd b.n 8015b42 <_realloc_r+0x2ee> - 8015b86: 4621 mov r1, r4 - 8015b88: f7fb fd9b bl 80116c2 - 8015b8c: e7df b.n 8015b4e <_realloc_r+0x2fa> - 8015b8e: 4637 mov r7, r6 - 8015b90: e6bf b.n 8015912 <_realloc_r+0xbe> - 8015b92: 431f orrs r7, r3 - 8015b94: f8c9 7004 str.w r7, [r9, #4] - 8015b98: 6853 ldr r3, [r2, #4] - 8015b9a: f043 0301 orr.w r3, r3, #1 - 8015b9e: 6053 str r3, [r2, #4] - 8015ba0: e6d3 b.n 801594a <_realloc_r+0xf6> - 8015ba2: bf00 nop - -08015ba4 <__ascii_wctomb>: - 8015ba4: 4603 mov r3, r0 - 8015ba6: 4608 mov r0, r1 - 8015ba8: b141 cbz r1, 8015bbc <__ascii_wctomb+0x18> - 8015baa: 2aff cmp r2, #255 @ 0xff - 8015bac: d904 bls.n 8015bb8 <__ascii_wctomb+0x14> - 8015bae: 228a movs r2, #138 @ 0x8a - 8015bb0: 601a str r2, [r3, #0] - 8015bb2: f04f 30ff mov.w r0, #4294967295 - 8015bb6: 4770 bx lr - 8015bb8: 700a strb r2, [r1, #0] - 8015bba: 2001 movs r0, #1 - 8015bbc: 4770 bx lr - ... - -08015bc0 <_wcrtomb_r>: - 8015bc0: b5f0 push {r4, r5, r6, r7, lr} - 8015bc2: 4c09 ldr r4, [pc, #36] @ (8015be8 <_wcrtomb_r+0x28>) - 8015bc4: b085 sub sp, #20 - 8015bc6: f8d4 70e0 ldr.w r7, [r4, #224] @ 0xe0 - 8015bca: 4605 mov r5, r0 - 8015bcc: 461e mov r6, r3 - 8015bce: b909 cbnz r1, 8015bd4 <_wcrtomb_r+0x14> - 8015bd0: 460a mov r2, r1 - 8015bd2: a901 add r1, sp, #4 - 8015bd4: 47b8 blx r7 - 8015bd6: 1c43 adds r3, r0, #1 - 8015bd8: bf01 itttt eq - 8015bda: 2300 moveq r3, #0 - 8015bdc: 6033 streq r3, [r6, #0] - 8015bde: 238a moveq r3, #138 @ 0x8a - 8015be0: 602b streq r3, [r5, #0] - 8015be2: b005 add sp, #20 - 8015be4: bdf0 pop {r4, r5, r6, r7, pc} - 8015be6: bf00 nop - 8015be8: 20000574 .word 0x20000574 - -08015bec <__swhatbuf_r>: - 8015bec: b570 push {r4, r5, r6, lr} - 8015bee: 460c mov r4, r1 - 8015bf0: f9b1 100e ldrsh.w r1, [r1, #14] - 8015bf4: 2900 cmp r1, #0 - 8015bf6: b096 sub sp, #88 @ 0x58 - 8015bf8: 4615 mov r5, r2 - 8015bfa: 461e mov r6, r3 - 8015bfc: da07 bge.n 8015c0e <__swhatbuf_r+0x22> - 8015bfe: 89a1 ldrh r1, [r4, #12] - 8015c00: f011 0180 ands.w r1, r1, #128 @ 0x80 - 8015c04: d117 bne.n 8015c36 <__swhatbuf_r+0x4a> - 8015c06: f44f 6380 mov.w r3, #1024 @ 0x400 - 8015c0a: 4608 mov r0, r1 - 8015c0c: e00f b.n 8015c2e <__swhatbuf_r+0x42> - 8015c0e: 466a mov r2, sp - 8015c10: f000 f89a bl 8015d48 <_fstat_r> - 8015c14: 2800 cmp r0, #0 - 8015c16: dbf2 blt.n 8015bfe <__swhatbuf_r+0x12> - 8015c18: 9901 ldr r1, [sp, #4] - 8015c1a: f401 4170 and.w r1, r1, #61440 @ 0xf000 - 8015c1e: f5a1 5300 sub.w r3, r1, #8192 @ 0x2000 - 8015c22: 4259 negs r1, r3 - 8015c24: 4159 adcs r1, r3 - 8015c26: f44f 6000 mov.w r0, #2048 @ 0x800 - 8015c2a: f44f 6380 mov.w r3, #1024 @ 0x400 - 8015c2e: 6031 str r1, [r6, #0] - 8015c30: 602b str r3, [r5, #0] - 8015c32: b016 add sp, #88 @ 0x58 - 8015c34: bd70 pop {r4, r5, r6, pc} - 8015c36: 2100 movs r1, #0 - 8015c38: 2340 movs r3, #64 @ 0x40 - 8015c3a: e7e6 b.n 8015c0a <__swhatbuf_r+0x1e> - -08015c3c <__smakebuf_r>: - 8015c3c: 898b ldrh r3, [r1, #12] - 8015c3e: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 8015c40: 079d lsls r5, r3, #30 - 8015c42: 4606 mov r6, r0 - 8015c44: 460c mov r4, r1 - 8015c46: d507 bpl.n 8015c58 <__smakebuf_r+0x1c> - 8015c48: f104 0343 add.w r3, r4, #67 @ 0x43 - 8015c4c: 6023 str r3, [r4, #0] - 8015c4e: 6123 str r3, [r4, #16] - 8015c50: 2301 movs r3, #1 - 8015c52: 6163 str r3, [r4, #20] - 8015c54: b003 add sp, #12 - 8015c56: bdf0 pop {r4, r5, r6, r7, pc} - 8015c58: ab01 add r3, sp, #4 - 8015c5a: 466a mov r2, sp - 8015c5c: f7ff ffc6 bl 8015bec <__swhatbuf_r> - 8015c60: 9f00 ldr r7, [sp, #0] - 8015c62: 4605 mov r5, r0 - 8015c64: 4639 mov r1, r7 - 8015c66: 4630 mov r0, r6 - 8015c68: f7fb fef6 bl 8011a58 <_malloc_r> - 8015c6c: b948 cbnz r0, 8015c82 <__smakebuf_r+0x46> - 8015c6e: f9b4 300c ldrsh.w r3, [r4, #12] - 8015c72: 059a lsls r2, r3, #22 - 8015c74: d4ee bmi.n 8015c54 <__smakebuf_r+0x18> - 8015c76: f023 0303 bic.w r3, r3, #3 - 8015c7a: f043 0302 orr.w r3, r3, #2 - 8015c7e: 81a3 strh r3, [r4, #12] - 8015c80: e7e2 b.n 8015c48 <__smakebuf_r+0xc> - 8015c82: 89a3 ldrh r3, [r4, #12] - 8015c84: 6020 str r0, [r4, #0] - 8015c86: f043 0380 orr.w r3, r3, #128 @ 0x80 - 8015c8a: 81a3 strh r3, [r4, #12] - 8015c8c: 9b01 ldr r3, [sp, #4] - 8015c8e: e9c4 0704 strd r0, r7, [r4, #16] - 8015c92: b15b cbz r3, 8015cac <__smakebuf_r+0x70> - 8015c94: f9b4 100e ldrsh.w r1, [r4, #14] - 8015c98: 4630 mov r0, r6 - 8015c9a: f000 f867 bl 8015d6c <_isatty_r> - 8015c9e: b128 cbz r0, 8015cac <__smakebuf_r+0x70> - 8015ca0: 89a3 ldrh r3, [r4, #12] - 8015ca2: f023 0303 bic.w r3, r3, #3 - 8015ca6: f043 0301 orr.w r3, r3, #1 - 8015caa: 81a3 strh r3, [r4, #12] - 8015cac: 89a3 ldrh r3, [r4, #12] - 8015cae: 431d orrs r5, r3 - 8015cb0: 81a5 strh r5, [r4, #12] - 8015cb2: e7cf b.n 8015c54 <__smakebuf_r+0x18> - -08015cb4 <__swbuf_r>: - 8015cb4: b5f8 push {r3, r4, r5, r6, r7, lr} - 8015cb6: 460e mov r6, r1 - 8015cb8: 4614 mov r4, r2 - 8015cba: 4605 mov r5, r0 - 8015cbc: b118 cbz r0, 8015cc6 <__swbuf_r+0x12> - 8015cbe: 6b43 ldr r3, [r0, #52] @ 0x34 - 8015cc0: b90b cbnz r3, 8015cc6 <__swbuf_r+0x12> - 8015cc2: f7fb fc63 bl 801158c <__sinit> - 8015cc6: 69a3 ldr r3, [r4, #24] - 8015cc8: 60a3 str r3, [r4, #8] - 8015cca: 89a3 ldrh r3, [r4, #12] - 8015ccc: 0719 lsls r1, r3, #28 - 8015cce: d501 bpl.n 8015cd4 <__swbuf_r+0x20> - 8015cd0: 6923 ldr r3, [r4, #16] - 8015cd2: b943 cbnz r3, 8015ce6 <__swbuf_r+0x32> - 8015cd4: 4621 mov r1, r4 - 8015cd6: 4628 mov r0, r5 - 8015cd8: f7fe fabc bl 8014254 <__swsetup_r> - 8015cdc: b118 cbz r0, 8015ce6 <__swbuf_r+0x32> - 8015cde: f04f 37ff mov.w r7, #4294967295 - 8015ce2: 4638 mov r0, r7 - 8015ce4: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8015ce6: f9b4 300c ldrsh.w r3, [r4, #12] - 8015cea: b2f6 uxtb r6, r6 - 8015cec: 049a lsls r2, r3, #18 - 8015cee: 4637 mov r7, r6 - 8015cf0: d406 bmi.n 8015d00 <__swbuf_r+0x4c> - 8015cf2: f443 5300 orr.w r3, r3, #8192 @ 0x2000 - 8015cf6: 81a3 strh r3, [r4, #12] - 8015cf8: 6e63 ldr r3, [r4, #100] @ 0x64 - 8015cfa: f423 5300 bic.w r3, r3, #8192 @ 0x2000 - 8015cfe: 6663 str r3, [r4, #100] @ 0x64 - 8015d00: 6823 ldr r3, [r4, #0] - 8015d02: 6922 ldr r2, [r4, #16] - 8015d04: 1a98 subs r0, r3, r2 - 8015d06: 6963 ldr r3, [r4, #20] - 8015d08: 4283 cmp r3, r0 - 8015d0a: dc05 bgt.n 8015d18 <__swbuf_r+0x64> - 8015d0c: 4621 mov r1, r4 - 8015d0e: 4628 mov r0, r5 - 8015d10: f7fe f92e bl 8013f70 <_fflush_r> - 8015d14: 2800 cmp r0, #0 - 8015d16: d1e2 bne.n 8015cde <__swbuf_r+0x2a> - 8015d18: 68a3 ldr r3, [r4, #8] - 8015d1a: 3b01 subs r3, #1 - 8015d1c: 60a3 str r3, [r4, #8] - 8015d1e: 6823 ldr r3, [r4, #0] - 8015d20: 1c5a adds r2, r3, #1 - 8015d22: 6022 str r2, [r4, #0] - 8015d24: 701e strb r6, [r3, #0] - 8015d26: 6962 ldr r2, [r4, #20] - 8015d28: 1c43 adds r3, r0, #1 - 8015d2a: 429a cmp r2, r3 - 8015d2c: d004 beq.n 8015d38 <__swbuf_r+0x84> - 8015d2e: 89a3 ldrh r3, [r4, #12] - 8015d30: 07db lsls r3, r3, #31 - 8015d32: d5d6 bpl.n 8015ce2 <__swbuf_r+0x2e> - 8015d34: 2e0a cmp r6, #10 - 8015d36: d1d4 bne.n 8015ce2 <__swbuf_r+0x2e> - 8015d38: 4621 mov r1, r4 - 8015d3a: 4628 mov r0, r5 - 8015d3c: f7fe f918 bl 8013f70 <_fflush_r> - 8015d40: 2800 cmp r0, #0 - 8015d42: d0ce beq.n 8015ce2 <__swbuf_r+0x2e> - 8015d44: e7cb b.n 8015cde <__swbuf_r+0x2a> - ... - -08015d48 <_fstat_r>: - 8015d48: b538 push {r3, r4, r5, lr} - 8015d4a: 4d07 ldr r5, [pc, #28] @ (8015d68 <_fstat_r+0x20>) - 8015d4c: 2300 movs r3, #0 - 8015d4e: 4604 mov r4, r0 - 8015d50: 4608 mov r0, r1 - 8015d52: 4611 mov r1, r2 - 8015d54: 602b str r3, [r5, #0] - 8015d56: f000 f8d3 bl 8015f00 <_fstat> - 8015d5a: 1c43 adds r3, r0, #1 - 8015d5c: d102 bne.n 8015d64 <_fstat_r+0x1c> - 8015d5e: 682b ldr r3, [r5, #0] - 8015d60: b103 cbz r3, 8015d64 <_fstat_r+0x1c> - 8015d62: 6023 str r3, [r4, #0] - 8015d64: bd38 pop {r3, r4, r5, pc} - 8015d66: bf00 nop - 8015d68: 20019370 .word 0x20019370 - -08015d6c <_isatty_r>: - 8015d6c: b538 push {r3, r4, r5, lr} - 8015d6e: 4d06 ldr r5, [pc, #24] @ (8015d88 <_isatty_r+0x1c>) - 8015d70: 2300 movs r3, #0 - 8015d72: 4604 mov r4, r0 - 8015d74: 4608 mov r0, r1 - 8015d76: 602b str r3, [r5, #0] - 8015d78: f000 f8d2 bl 8015f20 <_isatty> - 8015d7c: 1c43 adds r3, r0, #1 - 8015d7e: d102 bne.n 8015d86 <_isatty_r+0x1a> - 8015d80: 682b ldr r3, [r5, #0] - 8015d82: b103 cbz r3, 8015d86 <_isatty_r+0x1a> - 8015d84: 6023 str r3, [r4, #0] - 8015d86: bd38 pop {r3, r4, r5, pc} - 8015d88: 20019370 .word 0x20019370 - -08015d8c <__assert_func>: - 8015d8c: b51f push {r0, r1, r2, r3, r4, lr} - 8015d8e: 4614 mov r4, r2 - 8015d90: 461a mov r2, r3 - 8015d92: 4b09 ldr r3, [pc, #36] @ (8015db8 <__assert_func+0x2c>) - 8015d94: 681b ldr r3, [r3, #0] - 8015d96: 4605 mov r5, r0 - 8015d98: 68d8 ldr r0, [r3, #12] - 8015d9a: b954 cbnz r4, 8015db2 <__assert_func+0x26> - 8015d9c: 4b07 ldr r3, [pc, #28] @ (8015dbc <__assert_func+0x30>) - 8015d9e: 461c mov r4, r3 - 8015da0: e9cd 3401 strd r3, r4, [sp, #4] - 8015da4: 9100 str r1, [sp, #0] - 8015da6: 462b mov r3, r5 - 8015da8: 4905 ldr r1, [pc, #20] @ (8015dc0 <__assert_func+0x34>) - 8015daa: f000 f843 bl 8015e34 - 8015dae: f000 f853 bl 8015e58 - 8015db2: 4b04 ldr r3, [pc, #16] @ (8015dc4 <__assert_func+0x38>) - 8015db4: e7f4 b.n 8015da0 <__assert_func+0x14> - 8015db6: bf00 nop - 8015db8: 2000003c .word 0x2000003c - 8015dbc: 08019273 .word 0x08019273 - 8015dc0: 08019245 .word 0x08019245 - 8015dc4: 08019238 .word 0x08019238 - -08015dc8 <_calloc_r>: - 8015dc8: b538 push {r3, r4, r5, lr} - 8015dca: fba1 1502 umull r1, r5, r1, r2 - 8015dce: b935 cbnz r5, 8015dde <_calloc_r+0x16> - 8015dd0: f7fb fe42 bl 8011a58 <_malloc_r> - 8015dd4: 4604 mov r4, r0 - 8015dd6: b938 cbnz r0, 8015de8 <_calloc_r+0x20> - 8015dd8: 2400 movs r4, #0 - 8015dda: 4620 mov r0, r4 - 8015ddc: bd38 pop {r3, r4, r5, pc} - 8015dde: f7fb fcd9 bl 8011794 <__errno> - 8015de2: 230c movs r3, #12 - 8015de4: 6003 str r3, [r0, #0] - 8015de6: e7f7 b.n 8015dd8 <_calloc_r+0x10> - 8015de8: f850 2c04 ldr.w r2, [r0, #-4] - 8015dec: f022 0203 bic.w r2, r2, #3 - 8015df0: 3a04 subs r2, #4 - 8015df2: 2a24 cmp r2, #36 @ 0x24 - 8015df4: d819 bhi.n 8015e2a <_calloc_r+0x62> - 8015df6: 2a13 cmp r2, #19 - 8015df8: d915 bls.n 8015e26 <_calloc_r+0x5e> - 8015dfa: 2a1b cmp r2, #27 - 8015dfc: e9c0 5500 strd r5, r5, [r0] - 8015e00: d806 bhi.n 8015e10 <_calloc_r+0x48> - 8015e02: f100 0308 add.w r3, r0, #8 - 8015e06: 2200 movs r2, #0 - 8015e08: e9c3 2200 strd r2, r2, [r3] - 8015e0c: 609a str r2, [r3, #8] - 8015e0e: e7e4 b.n 8015dda <_calloc_r+0x12> - 8015e10: 2a24 cmp r2, #36 @ 0x24 - 8015e12: e9c0 5502 strd r5, r5, [r0, #8] - 8015e16: bf11 iteee ne - 8015e18: f100 0310 addne.w r3, r0, #16 - 8015e1c: 6105 streq r5, [r0, #16] - 8015e1e: f100 0318 addeq.w r3, r0, #24 - 8015e22: 6145 streq r5, [r0, #20] - 8015e24: e7ef b.n 8015e06 <_calloc_r+0x3e> - 8015e26: 4603 mov r3, r0 - 8015e28: e7ed b.n 8015e06 <_calloc_r+0x3e> - 8015e2a: 4629 mov r1, r5 - 8015e2c: f7fb fc63 bl 80116f6 - 8015e30: e7d3 b.n 8015dda <_calloc_r+0x12> - ... - -08015e34 : - 8015e34: b40e push {r1, r2, r3} - 8015e36: b503 push {r0, r1, lr} - 8015e38: 4601 mov r1, r0 - 8015e3a: ab03 add r3, sp, #12 - 8015e3c: 4805 ldr r0, [pc, #20] @ (8015e54 ) - 8015e3e: f853 2b04 ldr.w r2, [r3], #4 - 8015e42: 6800 ldr r0, [r0, #0] - 8015e44: 9301 str r3, [sp, #4] - 8015e46: f7fd faed bl 8013424 <_vfiprintf_r> - 8015e4a: b002 add sp, #8 - 8015e4c: f85d eb04 ldr.w lr, [sp], #4 - 8015e50: b003 add sp, #12 - 8015e52: 4770 bx lr - 8015e54: 2000003c .word 0x2000003c - -08015e58 : - 8015e58: b508 push {r3, lr} - 8015e5a: 2006 movs r0, #6 - 8015e5c: f000 f82c bl 8015eb8 - 8015e60: 2001 movs r0, #1 - 8015e62: f000 f893 bl 8015f8c <_exit> - -08015e66 <_raise_r>: - 8015e66: 291f cmp r1, #31 - 8015e68: b538 push {r3, r4, r5, lr} - 8015e6a: 4605 mov r5, r0 - 8015e6c: 460c mov r4, r1 - 8015e6e: d904 bls.n 8015e7a <_raise_r+0x14> - 8015e70: 2316 movs r3, #22 - 8015e72: 6003 str r3, [r0, #0] - 8015e74: f04f 30ff mov.w r0, #4294967295 - 8015e78: bd38 pop {r3, r4, r5, pc} - 8015e7a: f8d0 2118 ldr.w r2, [r0, #280] @ 0x118 - 8015e7e: b112 cbz r2, 8015e86 <_raise_r+0x20> - 8015e80: f852 3021 ldr.w r3, [r2, r1, lsl #2] - 8015e84: b94b cbnz r3, 8015e9a <_raise_r+0x34> - 8015e86: 4628 mov r0, r5 - 8015e88: f000 f830 bl 8015eec <_getpid_r> - 8015e8c: 4622 mov r2, r4 - 8015e8e: 4601 mov r1, r0 - 8015e90: 4628 mov r0, r5 - 8015e92: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 8015e96: f000 b817 b.w 8015ec8 <_kill_r> - 8015e9a: 2b01 cmp r3, #1 - 8015e9c: d00a beq.n 8015eb4 <_raise_r+0x4e> - 8015e9e: 1c59 adds r1, r3, #1 - 8015ea0: d103 bne.n 8015eaa <_raise_r+0x44> - 8015ea2: 2316 movs r3, #22 +08015e6c <__pow5mult>: + 8015e6c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8015e70: 4615 mov r5, r2 + 8015e72: f012 0203 ands.w r2, r2, #3 + 8015e76: 4607 mov r7, r0 + 8015e78: 460e mov r6, r1 + 8015e7a: d007 beq.n 8015e8c <__pow5mult+0x20> + 8015e7c: 4c1a ldr r4, [pc, #104] @ (8015ee8 <__pow5mult+0x7c>) + 8015e7e: 3a01 subs r2, #1 + 8015e80: 2300 movs r3, #0 + 8015e82: f854 2022 ldr.w r2, [r4, r2, lsl #2] + 8015e86: f7ff fe9f bl 8015bc8 <__multadd> + 8015e8a: 4606 mov r6, r0 + 8015e8c: 10ad asrs r5, r5, #2 + 8015e8e: d027 beq.n 8015ee0 <__pow5mult+0x74> + 8015e90: 6c3c ldr r4, [r7, #64] @ 0x40 + 8015e92: b944 cbnz r4, 8015ea6 <__pow5mult+0x3a> + 8015e94: f240 2171 movw r1, #625 @ 0x271 + 8015e98: 4638 mov r0, r7 + 8015e9a: f7ff ff27 bl 8015cec <__i2b> + 8015e9e: 2300 movs r3, #0 + 8015ea0: 6438 str r0, [r7, #64] @ 0x40 + 8015ea2: 4604 mov r4, r0 8015ea4: 6003 str r3, [r0, #0] - 8015ea6: 2001 movs r0, #1 - 8015ea8: e7e6 b.n 8015e78 <_raise_r+0x12> - 8015eaa: 2100 movs r1, #0 - 8015eac: f842 1024 str.w r1, [r2, r4, lsl #2] - 8015eb0: 4620 mov r0, r4 - 8015eb2: 4798 blx r3 - 8015eb4: 2000 movs r0, #0 - 8015eb6: e7df b.n 8015e78 <_raise_r+0x12> - -08015eb8 : - 8015eb8: 4b02 ldr r3, [pc, #8] @ (8015ec4 ) - 8015eba: 4601 mov r1, r0 - 8015ebc: 6818 ldr r0, [r3, #0] - 8015ebe: f7ff bfd2 b.w 8015e66 <_raise_r> - 8015ec2: bf00 nop - 8015ec4: 2000003c .word 0x2000003c - -08015ec8 <_kill_r>: - 8015ec8: b538 push {r3, r4, r5, lr} - 8015eca: 4d07 ldr r5, [pc, #28] @ (8015ee8 <_kill_r+0x20>) - 8015ecc: 2300 movs r3, #0 - 8015ece: 4604 mov r4, r0 - 8015ed0: 4608 mov r0, r1 - 8015ed2: 4611 mov r1, r2 - 8015ed4: 602b str r3, [r5, #0] - 8015ed6: f000 f82b bl 8015f30 <_kill> - 8015eda: 1c43 adds r3, r0, #1 - 8015edc: d102 bne.n 8015ee4 <_kill_r+0x1c> - 8015ede: 682b ldr r3, [r5, #0] - 8015ee0: b103 cbz r3, 8015ee4 <_kill_r+0x1c> - 8015ee2: 6023 str r3, [r4, #0] - 8015ee4: bd38 pop {r3, r4, r5, pc} + 8015ea6: f04f 0900 mov.w r9, #0 + 8015eaa: 07eb lsls r3, r5, #31 + 8015eac: d50a bpl.n 8015ec4 <__pow5mult+0x58> + 8015eae: 4631 mov r1, r6 + 8015eb0: 4622 mov r2, r4 + 8015eb2: 4638 mov r0, r7 + 8015eb4: f7ff ff30 bl 8015d18 <__multiply> + 8015eb8: 4631 mov r1, r6 + 8015eba: 4680 mov r8, r0 + 8015ebc: 4638 mov r0, r7 + 8015ebe: f7ff fe7a bl 8015bb6 <_Bfree> + 8015ec2: 4646 mov r6, r8 + 8015ec4: 106d asrs r5, r5, #1 + 8015ec6: d00b beq.n 8015ee0 <__pow5mult+0x74> + 8015ec8: 6820 ldr r0, [r4, #0] + 8015eca: b938 cbnz r0, 8015edc <__pow5mult+0x70> + 8015ecc: 4622 mov r2, r4 + 8015ece: 4621 mov r1, r4 + 8015ed0: 4638 mov r0, r7 + 8015ed2: f7ff ff21 bl 8015d18 <__multiply> + 8015ed6: 6020 str r0, [r4, #0] + 8015ed8: f8c0 9000 str.w r9, [r0] + 8015edc: 4604 mov r4, r0 + 8015ede: e7e4 b.n 8015eaa <__pow5mult+0x3e> + 8015ee0: 4630 mov r0, r6 + 8015ee2: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} 8015ee6: bf00 nop - 8015ee8: 20019370 .word 0x20019370 + 8015ee8: 08019ab8 .word 0x08019ab8 -08015eec <_getpid_r>: - 8015eec: f000 b810 b.w 8015f10 <_getpid> +08015eec <__lshift>: + 8015eec: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8015ef0: 460c mov r4, r1 + 8015ef2: 6849 ldr r1, [r1, #4] + 8015ef4: 6923 ldr r3, [r4, #16] + 8015ef6: eb03 1862 add.w r8, r3, r2, asr #5 + 8015efa: 68a3 ldr r3, [r4, #8] + 8015efc: 4607 mov r7, r0 + 8015efe: 4691 mov r9, r2 + 8015f00: ea4f 1a62 mov.w sl, r2, asr #5 + 8015f04: f108 0601 add.w r6, r8, #1 + 8015f08: 42b3 cmp r3, r6 + 8015f0a: db0b blt.n 8015f24 <__lshift+0x38> + 8015f0c: 4638 mov r0, r7 + 8015f0e: f7ff fe2d bl 8015b6c <_Balloc> + 8015f12: 4605 mov r5, r0 + 8015f14: b948 cbnz r0, 8015f2a <__lshift+0x3e> + 8015f16: 4602 mov r2, r0 + 8015f18: 4b28 ldr r3, [pc, #160] @ (8015fbc <__lshift+0xd0>) + 8015f1a: 4829 ldr r0, [pc, #164] @ (8015fc0 <__lshift+0xd4>) + 8015f1c: f44f 71ef mov.w r1, #478 @ 0x1de + 8015f20: f000 fbf4 bl 801670c <__assert_func> + 8015f24: 3101 adds r1, #1 + 8015f26: 005b lsls r3, r3, #1 + 8015f28: e7ee b.n 8015f08 <__lshift+0x1c> + 8015f2a: 2300 movs r3, #0 + 8015f2c: f100 0114 add.w r1, r0, #20 + 8015f30: f100 0210 add.w r2, r0, #16 + 8015f34: 4618 mov r0, r3 + 8015f36: 4553 cmp r3, sl + 8015f38: db33 blt.n 8015fa2 <__lshift+0xb6> + 8015f3a: 6920 ldr r0, [r4, #16] + 8015f3c: ea2a 7aea bic.w sl, sl, sl, asr #31 + 8015f40: f104 0314 add.w r3, r4, #20 + 8015f44: f019 091f ands.w r9, r9, #31 + 8015f48: eb01 018a add.w r1, r1, sl, lsl #2 + 8015f4c: eb03 0c80 add.w ip, r3, r0, lsl #2 + 8015f50: d02b beq.n 8015faa <__lshift+0xbe> + 8015f52: f1c9 0e20 rsb lr, r9, #32 + 8015f56: 468a mov sl, r1 + 8015f58: 2200 movs r2, #0 + 8015f5a: 6818 ldr r0, [r3, #0] + 8015f5c: fa00 f009 lsl.w r0, r0, r9 + 8015f60: 4310 orrs r0, r2 + 8015f62: f84a 0b04 str.w r0, [sl], #4 + 8015f66: f853 2b04 ldr.w r2, [r3], #4 + 8015f6a: 459c cmp ip, r3 + 8015f6c: fa22 f20e lsr.w r2, r2, lr + 8015f70: d8f3 bhi.n 8015f5a <__lshift+0x6e> + 8015f72: ebac 0304 sub.w r3, ip, r4 + 8015f76: 3b15 subs r3, #21 + 8015f78: f023 0303 bic.w r3, r3, #3 + 8015f7c: 3304 adds r3, #4 + 8015f7e: f104 0015 add.w r0, r4, #21 + 8015f82: 4584 cmp ip, r0 + 8015f84: bf38 it cc + 8015f86: 2304 movcc r3, #4 + 8015f88: 50ca str r2, [r1, r3] + 8015f8a: b10a cbz r2, 8015f90 <__lshift+0xa4> + 8015f8c: f108 0602 add.w r6, r8, #2 + 8015f90: 3e01 subs r6, #1 + 8015f92: 4638 mov r0, r7 + 8015f94: 612e str r6, [r5, #16] + 8015f96: 4621 mov r1, r4 + 8015f98: f7ff fe0d bl 8015bb6 <_Bfree> + 8015f9c: 4628 mov r0, r5 + 8015f9e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8015fa2: f842 0f04 str.w r0, [r2, #4]! + 8015fa6: 3301 adds r3, #1 + 8015fa8: e7c5 b.n 8015f36 <__lshift+0x4a> + 8015faa: 3904 subs r1, #4 + 8015fac: f853 2b04 ldr.w r2, [r3], #4 + 8015fb0: f841 2f04 str.w r2, [r1, #4]! + 8015fb4: 459c cmp ip, r3 + 8015fb6: d8f9 bhi.n 8015fac <__lshift+0xc0> + 8015fb8: e7ea b.n 8015f90 <__lshift+0xa4> + 8015fba: bf00 nop + 8015fbc: 080199f6 .word 0x080199f6 + 8015fc0: 08019a5f .word 0x08019a5f -08015ef0 <_close>: - 8015ef0: 4b02 ldr r3, [pc, #8] @ (8015efc <_close+0xc>) - 8015ef2: 2258 movs r2, #88 @ 0x58 - 8015ef4: 601a str r2, [r3, #0] - 8015ef6: f04f 30ff mov.w r0, #4294967295 - 8015efa: 4770 bx lr - 8015efc: 20019370 .word 0x20019370 - -08015f00 <_fstat>: - 8015f00: 4b02 ldr r3, [pc, #8] @ (8015f0c <_fstat+0xc>) - 8015f02: 2258 movs r2, #88 @ 0x58 - 8015f04: 601a str r2, [r3, #0] - 8015f06: f04f 30ff mov.w r0, #4294967295 - 8015f0a: 4770 bx lr - 8015f0c: 20019370 .word 0x20019370 - -08015f10 <_getpid>: - 8015f10: 4b02 ldr r3, [pc, #8] @ (8015f1c <_getpid+0xc>) - 8015f12: 2258 movs r2, #88 @ 0x58 - 8015f14: 601a str r2, [r3, #0] - 8015f16: f04f 30ff mov.w r0, #4294967295 - 8015f1a: 4770 bx lr - 8015f1c: 20019370 .word 0x20019370 - -08015f20 <_isatty>: - 8015f20: 4b02 ldr r3, [pc, #8] @ (8015f2c <_isatty+0xc>) - 8015f22: 2258 movs r2, #88 @ 0x58 - 8015f24: 601a str r2, [r3, #0] - 8015f26: 2000 movs r0, #0 - 8015f28: 4770 bx lr - 8015f2a: bf00 nop - 8015f2c: 20019370 .word 0x20019370 - -08015f30 <_kill>: - 8015f30: 4b02 ldr r3, [pc, #8] @ (8015f3c <_kill+0xc>) - 8015f32: 2258 movs r2, #88 @ 0x58 - 8015f34: 601a str r2, [r3, #0] - 8015f36: f04f 30ff mov.w r0, #4294967295 - 8015f3a: 4770 bx lr - 8015f3c: 20019370 .word 0x20019370 - -08015f40 <_lseek>: - 8015f40: 4b02 ldr r3, [pc, #8] @ (8015f4c <_lseek+0xc>) - 8015f42: 2258 movs r2, #88 @ 0x58 - 8015f44: 601a str r2, [r3, #0] - 8015f46: f04f 30ff mov.w r0, #4294967295 - 8015f4a: 4770 bx lr - 8015f4c: 20019370 .word 0x20019370 - -08015f50 <_read>: - 8015f50: 4b02 ldr r3, [pc, #8] @ (8015f5c <_read+0xc>) - 8015f52: 2258 movs r2, #88 @ 0x58 - 8015f54: 601a str r2, [r3, #0] - 8015f56: f04f 30ff mov.w r0, #4294967295 - 8015f5a: 4770 bx lr - 8015f5c: 20019370 .word 0x20019370 - -08015f60 <_sbrk>: - 8015f60: 4a04 ldr r2, [pc, #16] @ (8015f74 <_sbrk+0x14>) - 8015f62: 6811 ldr r1, [r2, #0] - 8015f64: 4603 mov r3, r0 - 8015f66: b909 cbnz r1, 8015f6c <_sbrk+0xc> - 8015f68: 4903 ldr r1, [pc, #12] @ (8015f78 <_sbrk+0x18>) - 8015f6a: 6011 str r1, [r2, #0] - 8015f6c: 6810 ldr r0, [r2, #0] - 8015f6e: 4403 add r3, r0 - 8015f70: 6013 str r3, [r2, #0] - 8015f72: 4770 bx lr - 8015f74: 20019540 .word 0x20019540 - 8015f78: 20019548 .word 0x20019548 - -08015f7c <_write>: - 8015f7c: 4b02 ldr r3, [pc, #8] @ (8015f88 <_write+0xc>) - 8015f7e: 2258 movs r2, #88 @ 0x58 - 8015f80: 601a str r2, [r3, #0] - 8015f82: f04f 30ff mov.w r0, #4294967295 - 8015f86: 4770 bx lr - 8015f88: 20019370 .word 0x20019370 - -08015f8c <_exit>: - 8015f8c: e7fe b.n 8015f8c <_exit> +08015fc4 <__mcmp>: + 8015fc4: 690a ldr r2, [r1, #16] + 8015fc6: 4603 mov r3, r0 + 8015fc8: 6900 ldr r0, [r0, #16] + 8015fca: 1a80 subs r0, r0, r2 + 8015fcc: b530 push {r4, r5, lr} + 8015fce: d10e bne.n 8015fee <__mcmp+0x2a> + 8015fd0: 3314 adds r3, #20 + 8015fd2: 3114 adds r1, #20 + 8015fd4: eb03 0482 add.w r4, r3, r2, lsl #2 + 8015fd8: eb01 0182 add.w r1, r1, r2, lsl #2 + 8015fdc: f854 5d04 ldr.w r5, [r4, #-4]! + 8015fe0: f851 2d04 ldr.w r2, [r1, #-4]! + 8015fe4: 4295 cmp r5, r2 + 8015fe6: d003 beq.n 8015ff0 <__mcmp+0x2c> + 8015fe8: d205 bcs.n 8015ff6 <__mcmp+0x32> + 8015fea: f04f 30ff mov.w r0, #4294967295 + 8015fee: bd30 pop {r4, r5, pc} + 8015ff0: 42a3 cmp r3, r4 + 8015ff2: d3f3 bcc.n 8015fdc <__mcmp+0x18> + 8015ff4: e7fb b.n 8015fee <__mcmp+0x2a> + 8015ff6: 2001 movs r0, #1 + 8015ff8: e7f9 b.n 8015fee <__mcmp+0x2a> ... -08015f90 <_init>: - 8015f90: b5f8 push {r3, r4, r5, r6, r7, lr} - 8015f92: bf00 nop - 8015f94: bcf8 pop {r3, r4, r5, r6, r7} - 8015f96: bc08 pop {r3} - 8015f98: 469e mov lr, r3 - 8015f9a: 4770 bx lr +08015ffc <__mdiff>: + 8015ffc: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8016000: 4689 mov r9, r1 + 8016002: 4606 mov r6, r0 + 8016004: 4611 mov r1, r2 + 8016006: 4648 mov r0, r9 + 8016008: 4614 mov r4, r2 + 801600a: f7ff ffdb bl 8015fc4 <__mcmp> + 801600e: 1e05 subs r5, r0, #0 + 8016010: d112 bne.n 8016038 <__mdiff+0x3c> + 8016012: 4629 mov r1, r5 + 8016014: 4630 mov r0, r6 + 8016016: f7ff fda9 bl 8015b6c <_Balloc> + 801601a: 4602 mov r2, r0 + 801601c: b928 cbnz r0, 801602a <__mdiff+0x2e> + 801601e: 4b3f ldr r3, [pc, #252] @ (801611c <__mdiff+0x120>) + 8016020: f240 2137 movw r1, #567 @ 0x237 + 8016024: 483e ldr r0, [pc, #248] @ (8016120 <__mdiff+0x124>) + 8016026: f000 fb71 bl 801670c <__assert_func> + 801602a: 2301 movs r3, #1 + 801602c: e9c0 3504 strd r3, r5, [r0, #16] + 8016030: 4610 mov r0, r2 + 8016032: b003 add sp, #12 + 8016034: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8016038: bfbc itt lt + 801603a: 464b movlt r3, r9 + 801603c: 46a1 movlt r9, r4 + 801603e: 4630 mov r0, r6 + 8016040: f8d9 1004 ldr.w r1, [r9, #4] + 8016044: bfba itte lt + 8016046: 461c movlt r4, r3 + 8016048: 2501 movlt r5, #1 + 801604a: 2500 movge r5, #0 + 801604c: f7ff fd8e bl 8015b6c <_Balloc> + 8016050: 4602 mov r2, r0 + 8016052: b918 cbnz r0, 801605c <__mdiff+0x60> + 8016054: 4b31 ldr r3, [pc, #196] @ (801611c <__mdiff+0x120>) + 8016056: f240 2145 movw r1, #581 @ 0x245 + 801605a: e7e3 b.n 8016024 <__mdiff+0x28> + 801605c: f8d9 7010 ldr.w r7, [r9, #16] + 8016060: 6926 ldr r6, [r4, #16] + 8016062: 60c5 str r5, [r0, #12] + 8016064: f109 0310 add.w r3, r9, #16 + 8016068: f109 0514 add.w r5, r9, #20 + 801606c: f104 0e14 add.w lr, r4, #20 + 8016070: f100 0b14 add.w fp, r0, #20 + 8016074: eb05 0887 add.w r8, r5, r7, lsl #2 + 8016078: eb0e 0686 add.w r6, lr, r6, lsl #2 + 801607c: 9301 str r3, [sp, #4] + 801607e: 46d9 mov r9, fp + 8016080: f04f 0c00 mov.w ip, #0 + 8016084: 9b01 ldr r3, [sp, #4] + 8016086: f85e 0b04 ldr.w r0, [lr], #4 + 801608a: f853 af04 ldr.w sl, [r3, #4]! + 801608e: 9301 str r3, [sp, #4] + 8016090: fa1f f38a uxth.w r3, sl + 8016094: 4619 mov r1, r3 + 8016096: b283 uxth r3, r0 + 8016098: 1acb subs r3, r1, r3 + 801609a: 0c00 lsrs r0, r0, #16 + 801609c: 4463 add r3, ip + 801609e: ebc0 401a rsb r0, r0, sl, lsr #16 + 80160a2: eb00 4023 add.w r0, r0, r3, asr #16 + 80160a6: b29b uxth r3, r3 + 80160a8: ea43 4300 orr.w r3, r3, r0, lsl #16 + 80160ac: 4576 cmp r6, lr + 80160ae: f849 3b04 str.w r3, [r9], #4 + 80160b2: ea4f 4c20 mov.w ip, r0, asr #16 + 80160b6: d8e5 bhi.n 8016084 <__mdiff+0x88> + 80160b8: 1b33 subs r3, r6, r4 + 80160ba: 3b15 subs r3, #21 + 80160bc: f023 0303 bic.w r3, r3, #3 + 80160c0: 3415 adds r4, #21 + 80160c2: 3304 adds r3, #4 + 80160c4: 42a6 cmp r6, r4 + 80160c6: bf38 it cc + 80160c8: 2304 movcc r3, #4 + 80160ca: 441d add r5, r3 + 80160cc: 445b add r3, fp + 80160ce: 461e mov r6, r3 + 80160d0: 462c mov r4, r5 + 80160d2: 4544 cmp r4, r8 + 80160d4: d30e bcc.n 80160f4 <__mdiff+0xf8> + 80160d6: f108 0103 add.w r1, r8, #3 + 80160da: 1b49 subs r1, r1, r5 + 80160dc: f021 0103 bic.w r1, r1, #3 + 80160e0: 3d03 subs r5, #3 + 80160e2: 45a8 cmp r8, r5 + 80160e4: bf38 it cc + 80160e6: 2100 movcc r1, #0 + 80160e8: 440b add r3, r1 + 80160ea: f853 1d04 ldr.w r1, [r3, #-4]! + 80160ee: b191 cbz r1, 8016116 <__mdiff+0x11a> + 80160f0: 6117 str r7, [r2, #16] + 80160f2: e79d b.n 8016030 <__mdiff+0x34> + 80160f4: f854 1b04 ldr.w r1, [r4], #4 + 80160f8: 46e6 mov lr, ip + 80160fa: 0c08 lsrs r0, r1, #16 + 80160fc: fa1c fc81 uxtah ip, ip, r1 + 8016100: 4471 add r1, lr + 8016102: eb00 402c add.w r0, r0, ip, asr #16 + 8016106: b289 uxth r1, r1 + 8016108: ea41 4100 orr.w r1, r1, r0, lsl #16 + 801610c: f846 1b04 str.w r1, [r6], #4 + 8016110: ea4f 4c20 mov.w ip, r0, asr #16 + 8016114: e7dd b.n 80160d2 <__mdiff+0xd6> + 8016116: 3f01 subs r7, #1 + 8016118: e7e7 b.n 80160ea <__mdiff+0xee> + 801611a: bf00 nop + 801611c: 080199f6 .word 0x080199f6 + 8016120: 08019a5f .word 0x08019a5f -08015f9c <_fini>: - 8015f9c: b5f8 push {r3, r4, r5, r6, r7, lr} - 8015f9e: bf00 nop - 8015fa0: bcf8 pop {r3, r4, r5, r6, r7} - 8015fa2: bc08 pop {r3} - 8015fa4: 469e mov lr, r3 - 8015fa6: 4770 bx lr +08016124 <__d2b>: + 8016124: e92d 43f7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, lr} + 8016128: 460f mov r7, r1 + 801612a: 2101 movs r1, #1 + 801612c: ec59 8b10 vmov r8, r9, d0 + 8016130: 4616 mov r6, r2 + 8016132: f7ff fd1b bl 8015b6c <_Balloc> + 8016136: 4604 mov r4, r0 + 8016138: b930 cbnz r0, 8016148 <__d2b+0x24> + 801613a: 4602 mov r2, r0 + 801613c: 4b23 ldr r3, [pc, #140] @ (80161cc <__d2b+0xa8>) + 801613e: 4824 ldr r0, [pc, #144] @ (80161d0 <__d2b+0xac>) + 8016140: f240 310f movw r1, #783 @ 0x30f + 8016144: f000 fae2 bl 801670c <__assert_func> + 8016148: f3c9 550a ubfx r5, r9, #20, #11 + 801614c: f3c9 0313 ubfx r3, r9, #0, #20 + 8016150: b10d cbz r5, 8016156 <__d2b+0x32> + 8016152: f443 1380 orr.w r3, r3, #1048576 @ 0x100000 + 8016156: 9301 str r3, [sp, #4] + 8016158: f1b8 0300 subs.w r3, r8, #0 + 801615c: d023 beq.n 80161a6 <__d2b+0x82> + 801615e: 4668 mov r0, sp + 8016160: 9300 str r3, [sp, #0] + 8016162: f7ff fd96 bl 8015c92 <__lo0bits> + 8016166: e9dd 1200 ldrd r1, r2, [sp] + 801616a: b1d0 cbz r0, 80161a2 <__d2b+0x7e> + 801616c: f1c0 0320 rsb r3, r0, #32 + 8016170: fa02 f303 lsl.w r3, r2, r3 + 8016174: 430b orrs r3, r1 + 8016176: 40c2 lsrs r2, r0 + 8016178: 6163 str r3, [r4, #20] + 801617a: 9201 str r2, [sp, #4] + 801617c: 9b01 ldr r3, [sp, #4] + 801617e: 61a3 str r3, [r4, #24] + 8016180: 2b00 cmp r3, #0 + 8016182: bf0c ite eq + 8016184: 2201 moveq r2, #1 + 8016186: 2202 movne r2, #2 + 8016188: 6122 str r2, [r4, #16] + 801618a: b1a5 cbz r5, 80161b6 <__d2b+0x92> + 801618c: f2a5 4533 subw r5, r5, #1075 @ 0x433 + 8016190: 4405 add r5, r0 + 8016192: 603d str r5, [r7, #0] + 8016194: f1c0 0035 rsb r0, r0, #53 @ 0x35 + 8016198: 6030 str r0, [r6, #0] + 801619a: 4620 mov r0, r4 + 801619c: b003 add sp, #12 + 801619e: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 80161a2: 6161 str r1, [r4, #20] + 80161a4: e7ea b.n 801617c <__d2b+0x58> + 80161a6: a801 add r0, sp, #4 + 80161a8: f7ff fd73 bl 8015c92 <__lo0bits> + 80161ac: 9b01 ldr r3, [sp, #4] + 80161ae: 6163 str r3, [r4, #20] + 80161b0: 3020 adds r0, #32 + 80161b2: 2201 movs r2, #1 + 80161b4: e7e8 b.n 8016188 <__d2b+0x64> + 80161b6: eb04 0382 add.w r3, r4, r2, lsl #2 + 80161ba: f2a0 4032 subw r0, r0, #1074 @ 0x432 + 80161be: 6038 str r0, [r7, #0] + 80161c0: 6918 ldr r0, [r3, #16] + 80161c2: f7ff fd47 bl 8015c54 <__hi0bits> + 80161c6: ebc0 1042 rsb r0, r0, r2, lsl #5 + 80161ca: e7e5 b.n 8016198 <__d2b+0x74> + 80161cc: 080199f6 .word 0x080199f6 + 80161d0: 08019a5f .word 0x08019a5f + +080161d4 <_realloc_r>: + 80161d4: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80161d8: 4682 mov sl, r0 + 80161da: 4693 mov fp, r2 + 80161dc: 460c mov r4, r1 + 80161de: b929 cbnz r1, 80161ec <_realloc_r+0x18> + 80161e0: 4611 mov r1, r2 + 80161e2: b003 add sp, #12 + 80161e4: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80161e8: f7fc b8f8 b.w 80123dc <_malloc_r> + 80161ec: f7fc fb30 bl 8012850 <__malloc_lock> + 80161f0: f10b 080b add.w r8, fp, #11 + 80161f4: f854 5c04 ldr.w r5, [r4, #-4] + 80161f8: f1b8 0f16 cmp.w r8, #22 + 80161fc: f1a4 0908 sub.w r9, r4, #8 + 8016200: f025 0603 bic.w r6, r5, #3 + 8016204: d908 bls.n 8016218 <_realloc_r+0x44> + 8016206: f038 0807 bics.w r8, r8, #7 + 801620a: d507 bpl.n 801621c <_realloc_r+0x48> + 801620c: 230c movs r3, #12 + 801620e: f8ca 3000 str.w r3, [sl] + 8016212: f04f 0b00 mov.w fp, #0 + 8016216: e032 b.n 801627e <_realloc_r+0xaa> + 8016218: f04f 0810 mov.w r8, #16 + 801621c: 45c3 cmp fp, r8 + 801621e: d8f5 bhi.n 801620c <_realloc_r+0x38> + 8016220: 4546 cmp r6, r8 + 8016222: f280 8174 bge.w 801650e <_realloc_r+0x33a> + 8016226: 4b9e ldr r3, [pc, #632] @ (80164a0 <_realloc_r+0x2cc>) + 8016228: f8d3 c008 ldr.w ip, [r3, #8] + 801622c: eb09 0106 add.w r1, r9, r6 + 8016230: 458c cmp ip, r1 + 8016232: 6848 ldr r0, [r1, #4] + 8016234: d005 beq.n 8016242 <_realloc_r+0x6e> + 8016236: f020 0201 bic.w r2, r0, #1 + 801623a: 440a add r2, r1 + 801623c: 6852 ldr r2, [r2, #4] + 801623e: 07d7 lsls r7, r2, #31 + 8016240: d449 bmi.n 80162d6 <_realloc_r+0x102> + 8016242: f020 0003 bic.w r0, r0, #3 + 8016246: 458c cmp ip, r1 + 8016248: eb06 0700 add.w r7, r6, r0 + 801624c: d11b bne.n 8016286 <_realloc_r+0xb2> + 801624e: f108 0210 add.w r2, r8, #16 + 8016252: 42ba cmp r2, r7 + 8016254: dc41 bgt.n 80162da <_realloc_r+0x106> + 8016256: eb09 0208 add.w r2, r9, r8 + 801625a: eba7 0708 sub.w r7, r7, r8 + 801625e: f047 0701 orr.w r7, r7, #1 + 8016262: 609a str r2, [r3, #8] + 8016264: 6057 str r7, [r2, #4] + 8016266: f854 3c04 ldr.w r3, [r4, #-4] + 801626a: f003 0301 and.w r3, r3, #1 + 801626e: ea43 0308 orr.w r3, r3, r8 + 8016272: f844 3c04 str.w r3, [r4, #-4] + 8016276: 4650 mov r0, sl + 8016278: f7fc faf0 bl 801285c <__malloc_unlock> + 801627c: 46a3 mov fp, r4 + 801627e: 4658 mov r0, fp + 8016280: b003 add sp, #12 + 8016282: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8016286: 45b8 cmp r8, r7 + 8016288: dc27 bgt.n 80162da <_realloc_r+0x106> + 801628a: e9d1 2302 ldrd r2, r3, [r1, #8] + 801628e: 60d3 str r3, [r2, #12] + 8016290: 609a str r2, [r3, #8] + 8016292: f8d9 3004 ldr.w r3, [r9, #4] + 8016296: eba7 0008 sub.w r0, r7, r8 + 801629a: 280f cmp r0, #15 + 801629c: f003 0301 and.w r3, r3, #1 + 80162a0: eb09 0207 add.w r2, r9, r7 + 80162a4: f240 8135 bls.w 8016512 <_realloc_r+0x33e> + 80162a8: eb09 0108 add.w r1, r9, r8 + 80162ac: ea48 0303 orr.w r3, r8, r3 + 80162b0: f040 0001 orr.w r0, r0, #1 + 80162b4: f8c9 3004 str.w r3, [r9, #4] + 80162b8: 6048 str r0, [r1, #4] + 80162ba: 6853 ldr r3, [r2, #4] + 80162bc: f043 0301 orr.w r3, r3, #1 + 80162c0: 6053 str r3, [r2, #4] + 80162c2: 3108 adds r1, #8 + 80162c4: 4650 mov r0, sl + 80162c6: f7fb ffc9 bl 801225c <_free_r> + 80162ca: 4650 mov r0, sl + 80162cc: f7fc fac6 bl 801285c <__malloc_unlock> + 80162d0: f109 0b08 add.w fp, r9, #8 + 80162d4: e7d3 b.n 801627e <_realloc_r+0xaa> + 80162d6: 2000 movs r0, #0 + 80162d8: 4601 mov r1, r0 + 80162da: 07ea lsls r2, r5, #31 + 80162dc: f100 80c7 bmi.w 801646e <_realloc_r+0x29a> + 80162e0: f854 5c08 ldr.w r5, [r4, #-8] + 80162e4: eba9 0505 sub.w r5, r9, r5 + 80162e8: 686a ldr r2, [r5, #4] + 80162ea: f022 0203 bic.w r2, r2, #3 + 80162ee: 4432 add r2, r6 + 80162f0: 9201 str r2, [sp, #4] + 80162f2: 2900 cmp r1, #0 + 80162f4: f000 8086 beq.w 8016404 <_realloc_r+0x230> + 80162f8: 458c cmp ip, r1 + 80162fa: eb00 0702 add.w r7, r0, r2 + 80162fe: d149 bne.n 8016394 <_realloc_r+0x1c0> + 8016300: f108 0210 add.w r2, r8, #16 + 8016304: 42ba cmp r2, r7 + 8016306: dc7d bgt.n 8016404 <_realloc_r+0x230> + 8016308: 46ab mov fp, r5 + 801630a: 68ea ldr r2, [r5, #12] + 801630c: f85b 1f08 ldr.w r1, [fp, #8]! + 8016310: 60ca str r2, [r1, #12] + 8016312: 6091 str r1, [r2, #8] + 8016314: 1f32 subs r2, r6, #4 + 8016316: 2a24 cmp r2, #36 @ 0x24 + 8016318: d836 bhi.n 8016388 <_realloc_r+0x1b4> + 801631a: 2a13 cmp r2, #19 + 801631c: d932 bls.n 8016384 <_realloc_r+0x1b0> + 801631e: 6821 ldr r1, [r4, #0] + 8016320: 60a9 str r1, [r5, #8] + 8016322: 6861 ldr r1, [r4, #4] + 8016324: 60e9 str r1, [r5, #12] + 8016326: 2a1b cmp r2, #27 + 8016328: d81a bhi.n 8016360 <_realloc_r+0x18c> + 801632a: 3408 adds r4, #8 + 801632c: f105 0210 add.w r2, r5, #16 + 8016330: 6821 ldr r1, [r4, #0] + 8016332: 6011 str r1, [r2, #0] + 8016334: 6861 ldr r1, [r4, #4] + 8016336: 6051 str r1, [r2, #4] + 8016338: 68a1 ldr r1, [r4, #8] + 801633a: 6091 str r1, [r2, #8] + 801633c: eb05 0208 add.w r2, r5, r8 + 8016340: eba7 0708 sub.w r7, r7, r8 + 8016344: f047 0701 orr.w r7, r7, #1 + 8016348: 609a str r2, [r3, #8] + 801634a: 6057 str r7, [r2, #4] + 801634c: 686b ldr r3, [r5, #4] + 801634e: f003 0301 and.w r3, r3, #1 + 8016352: ea43 0308 orr.w r3, r3, r8 + 8016356: 606b str r3, [r5, #4] + 8016358: 4650 mov r0, sl + 801635a: f7fc fa7f bl 801285c <__malloc_unlock> + 801635e: e78e b.n 801627e <_realloc_r+0xaa> + 8016360: 68a1 ldr r1, [r4, #8] + 8016362: 6129 str r1, [r5, #16] + 8016364: 68e1 ldr r1, [r4, #12] + 8016366: 6169 str r1, [r5, #20] + 8016368: 2a24 cmp r2, #36 @ 0x24 + 801636a: bf01 itttt eq + 801636c: 6922 ldreq r2, [r4, #16] + 801636e: 61aa streq r2, [r5, #24] + 8016370: 6961 ldreq r1, [r4, #20] + 8016372: 61e9 streq r1, [r5, #28] + 8016374: bf19 ittee ne + 8016376: 3410 addne r4, #16 + 8016378: f105 0218 addne.w r2, r5, #24 + 801637c: f105 0220 addeq.w r2, r5, #32 + 8016380: 3418 addeq r4, #24 + 8016382: e7d5 b.n 8016330 <_realloc_r+0x15c> + 8016384: 465a mov r2, fp + 8016386: e7d3 b.n 8016330 <_realloc_r+0x15c> + 8016388: 4621 mov r1, r4 + 801638a: 4658 mov r0, fp + 801638c: f7fb fe5b bl 8012046 + 8016390: 4b43 ldr r3, [pc, #268] @ (80164a0 <_realloc_r+0x2cc>) + 8016392: e7d3 b.n 801633c <_realloc_r+0x168> + 8016394: 45b8 cmp r8, r7 + 8016396: dc35 bgt.n 8016404 <_realloc_r+0x230> + 8016398: e9d1 2302 ldrd r2, r3, [r1, #8] + 801639c: 4628 mov r0, r5 + 801639e: 60d3 str r3, [r2, #12] + 80163a0: 609a str r2, [r3, #8] + 80163a2: f850 2f08 ldr.w r2, [r0, #8]! + 80163a6: 68eb ldr r3, [r5, #12] + 80163a8: 60d3 str r3, [r2, #12] + 80163aa: 609a str r2, [r3, #8] + 80163ac: 1f32 subs r2, r6, #4 + 80163ae: 2a24 cmp r2, #36 @ 0x24 + 80163b0: d824 bhi.n 80163fc <_realloc_r+0x228> + 80163b2: 2a13 cmp r2, #19 + 80163b4: d908 bls.n 80163c8 <_realloc_r+0x1f4> + 80163b6: 6823 ldr r3, [r4, #0] + 80163b8: 60ab str r3, [r5, #8] + 80163ba: 6863 ldr r3, [r4, #4] + 80163bc: 60eb str r3, [r5, #12] + 80163be: 2a1b cmp r2, #27 + 80163c0: d80a bhi.n 80163d8 <_realloc_r+0x204> + 80163c2: 3408 adds r4, #8 + 80163c4: f105 0010 add.w r0, r5, #16 + 80163c8: 6823 ldr r3, [r4, #0] + 80163ca: 6003 str r3, [r0, #0] + 80163cc: 6863 ldr r3, [r4, #4] + 80163ce: 6043 str r3, [r0, #4] + 80163d0: 68a3 ldr r3, [r4, #8] + 80163d2: 6083 str r3, [r0, #8] + 80163d4: 46a9 mov r9, r5 + 80163d6: e75c b.n 8016292 <_realloc_r+0xbe> + 80163d8: 68a3 ldr r3, [r4, #8] + 80163da: 612b str r3, [r5, #16] + 80163dc: 68e3 ldr r3, [r4, #12] + 80163de: 616b str r3, [r5, #20] + 80163e0: 2a24 cmp r2, #36 @ 0x24 + 80163e2: bf01 itttt eq + 80163e4: 6923 ldreq r3, [r4, #16] + 80163e6: 61ab streq r3, [r5, #24] + 80163e8: 6963 ldreq r3, [r4, #20] + 80163ea: 61eb streq r3, [r5, #28] + 80163ec: bf19 ittee ne + 80163ee: 3410 addne r4, #16 + 80163f0: f105 0018 addne.w r0, r5, #24 + 80163f4: f105 0020 addeq.w r0, r5, #32 + 80163f8: 3418 addeq r4, #24 + 80163fa: e7e5 b.n 80163c8 <_realloc_r+0x1f4> + 80163fc: 4621 mov r1, r4 + 80163fe: f7fb fe22 bl 8012046 + 8016402: e7e7 b.n 80163d4 <_realloc_r+0x200> + 8016404: 9b01 ldr r3, [sp, #4] + 8016406: 4598 cmp r8, r3 + 8016408: dc31 bgt.n 801646e <_realloc_r+0x29a> + 801640a: 4628 mov r0, r5 + 801640c: 68eb ldr r3, [r5, #12] + 801640e: f850 2f08 ldr.w r2, [r0, #8]! + 8016412: 60d3 str r3, [r2, #12] + 8016414: 609a str r2, [r3, #8] + 8016416: 1f32 subs r2, r6, #4 + 8016418: 2a24 cmp r2, #36 @ 0x24 + 801641a: d824 bhi.n 8016466 <_realloc_r+0x292> + 801641c: 2a13 cmp r2, #19 + 801641e: d908 bls.n 8016432 <_realloc_r+0x25e> + 8016420: 6823 ldr r3, [r4, #0] + 8016422: 60ab str r3, [r5, #8] + 8016424: 6863 ldr r3, [r4, #4] + 8016426: 60eb str r3, [r5, #12] + 8016428: 2a1b cmp r2, #27 + 801642a: d80a bhi.n 8016442 <_realloc_r+0x26e> + 801642c: 3408 adds r4, #8 + 801642e: f105 0010 add.w r0, r5, #16 + 8016432: 6823 ldr r3, [r4, #0] + 8016434: 6003 str r3, [r0, #0] + 8016436: 6863 ldr r3, [r4, #4] + 8016438: 6043 str r3, [r0, #4] + 801643a: 68a3 ldr r3, [r4, #8] + 801643c: 6083 str r3, [r0, #8] + 801643e: 9f01 ldr r7, [sp, #4] + 8016440: e7c8 b.n 80163d4 <_realloc_r+0x200> + 8016442: 68a3 ldr r3, [r4, #8] + 8016444: 612b str r3, [r5, #16] + 8016446: 68e3 ldr r3, [r4, #12] + 8016448: 616b str r3, [r5, #20] + 801644a: 2a24 cmp r2, #36 @ 0x24 + 801644c: bf01 itttt eq + 801644e: 6923 ldreq r3, [r4, #16] + 8016450: 61ab streq r3, [r5, #24] + 8016452: 6963 ldreq r3, [r4, #20] + 8016454: 61eb streq r3, [r5, #28] + 8016456: bf19 ittee ne + 8016458: 3410 addne r4, #16 + 801645a: f105 0018 addne.w r0, r5, #24 + 801645e: f105 0020 addeq.w r0, r5, #32 + 8016462: 3418 addeq r4, #24 + 8016464: e7e5 b.n 8016432 <_realloc_r+0x25e> + 8016466: 4621 mov r1, r4 + 8016468: f7fb fded bl 8012046 + 801646c: e7e7 b.n 801643e <_realloc_r+0x26a> + 801646e: 4659 mov r1, fp + 8016470: 4650 mov r0, sl + 8016472: f7fb ffb3 bl 80123dc <_malloc_r> + 8016476: 4683 mov fp, r0 + 8016478: b918 cbnz r0, 8016482 <_realloc_r+0x2ae> + 801647a: 4650 mov r0, sl + 801647c: f7fc f9ee bl 801285c <__malloc_unlock> + 8016480: e6c7 b.n 8016212 <_realloc_r+0x3e> + 8016482: f854 3c04 ldr.w r3, [r4, #-4] + 8016486: f023 0301 bic.w r3, r3, #1 + 801648a: 444b add r3, r9 + 801648c: f1a0 0208 sub.w r2, r0, #8 + 8016490: 4293 cmp r3, r2 + 8016492: d107 bne.n 80164a4 <_realloc_r+0x2d0> + 8016494: f850 7c04 ldr.w r7, [r0, #-4] + 8016498: f027 0703 bic.w r7, r7, #3 + 801649c: 4437 add r7, r6 + 801649e: e6f8 b.n 8016292 <_realloc_r+0xbe> + 80164a0: 2000016c .word 0x2000016c + 80164a4: 1f32 subs r2, r6, #4 + 80164a6: 2a24 cmp r2, #36 @ 0x24 + 80164a8: d82d bhi.n 8016506 <_realloc_r+0x332> + 80164aa: 2a13 cmp r2, #19 + 80164ac: d928 bls.n 8016500 <_realloc_r+0x32c> + 80164ae: 6823 ldr r3, [r4, #0] + 80164b0: 6003 str r3, [r0, #0] + 80164b2: 6863 ldr r3, [r4, #4] + 80164b4: 6043 str r3, [r0, #4] + 80164b6: 2a1b cmp r2, #27 + 80164b8: d80e bhi.n 80164d8 <_realloc_r+0x304> + 80164ba: f104 0208 add.w r2, r4, #8 + 80164be: f100 0308 add.w r3, r0, #8 + 80164c2: 6811 ldr r1, [r2, #0] + 80164c4: 6019 str r1, [r3, #0] + 80164c6: 6851 ldr r1, [r2, #4] + 80164c8: 6059 str r1, [r3, #4] + 80164ca: 6892 ldr r2, [r2, #8] + 80164cc: 609a str r2, [r3, #8] + 80164ce: 4621 mov r1, r4 + 80164d0: 4650 mov r0, sl + 80164d2: f7fb fec3 bl 801225c <_free_r> + 80164d6: e73f b.n 8016358 <_realloc_r+0x184> + 80164d8: 68a3 ldr r3, [r4, #8] + 80164da: 6083 str r3, [r0, #8] + 80164dc: 68e3 ldr r3, [r4, #12] + 80164de: 60c3 str r3, [r0, #12] + 80164e0: 2a24 cmp r2, #36 @ 0x24 + 80164e2: bf01 itttt eq + 80164e4: 6923 ldreq r3, [r4, #16] + 80164e6: 6103 streq r3, [r0, #16] + 80164e8: 6961 ldreq r1, [r4, #20] + 80164ea: 6141 streq r1, [r0, #20] + 80164ec: bf19 ittee ne + 80164ee: f104 0210 addne.w r2, r4, #16 + 80164f2: f100 0310 addne.w r3, r0, #16 + 80164f6: f104 0218 addeq.w r2, r4, #24 + 80164fa: f100 0318 addeq.w r3, r0, #24 + 80164fe: e7e0 b.n 80164c2 <_realloc_r+0x2ee> + 8016500: 4603 mov r3, r0 + 8016502: 4622 mov r2, r4 + 8016504: e7dd b.n 80164c2 <_realloc_r+0x2ee> + 8016506: 4621 mov r1, r4 + 8016508: f7fb fd9d bl 8012046 + 801650c: e7df b.n 80164ce <_realloc_r+0x2fa> + 801650e: 4637 mov r7, r6 + 8016510: e6bf b.n 8016292 <_realloc_r+0xbe> + 8016512: 431f orrs r7, r3 + 8016514: f8c9 7004 str.w r7, [r9, #4] + 8016518: 6853 ldr r3, [r2, #4] + 801651a: f043 0301 orr.w r3, r3, #1 + 801651e: 6053 str r3, [r2, #4] + 8016520: e6d3 b.n 80162ca <_realloc_r+0xf6> + 8016522: bf00 nop + +08016524 <__ascii_wctomb>: + 8016524: 4603 mov r3, r0 + 8016526: 4608 mov r0, r1 + 8016528: b141 cbz r1, 801653c <__ascii_wctomb+0x18> + 801652a: 2aff cmp r2, #255 @ 0xff + 801652c: d904 bls.n 8016538 <__ascii_wctomb+0x14> + 801652e: 228a movs r2, #138 @ 0x8a + 8016530: 601a str r2, [r3, #0] + 8016532: f04f 30ff mov.w r0, #4294967295 + 8016536: 4770 bx lr + 8016538: 700a strb r2, [r1, #0] + 801653a: 2001 movs r0, #1 + 801653c: 4770 bx lr + ... + +08016540 <_wcrtomb_r>: + 8016540: b5f0 push {r4, r5, r6, r7, lr} + 8016542: 4c09 ldr r4, [pc, #36] @ (8016568 <_wcrtomb_r+0x28>) + 8016544: b085 sub sp, #20 + 8016546: f8d4 70e0 ldr.w r7, [r4, #224] @ 0xe0 + 801654a: 4605 mov r5, r0 + 801654c: 461e mov r6, r3 + 801654e: b909 cbnz r1, 8016554 <_wcrtomb_r+0x14> + 8016550: 460a mov r2, r1 + 8016552: a901 add r1, sp, #4 + 8016554: 47b8 blx r7 + 8016556: 1c43 adds r3, r0, #1 + 8016558: bf01 itttt eq + 801655a: 2300 moveq r3, #0 + 801655c: 6033 streq r3, [r6, #0] + 801655e: 238a moveq r3, #138 @ 0x8a + 8016560: 602b streq r3, [r5, #0] + 8016562: b005 add sp, #20 + 8016564: bdf0 pop {r4, r5, r6, r7, pc} + 8016566: bf00 nop + 8016568: 20000574 .word 0x20000574 + +0801656c <__swhatbuf_r>: + 801656c: b570 push {r4, r5, r6, lr} + 801656e: 460c mov r4, r1 + 8016570: f9b1 100e ldrsh.w r1, [r1, #14] + 8016574: 2900 cmp r1, #0 + 8016576: b096 sub sp, #88 @ 0x58 + 8016578: 4615 mov r5, r2 + 801657a: 461e mov r6, r3 + 801657c: da07 bge.n 801658e <__swhatbuf_r+0x22> + 801657e: 89a1 ldrh r1, [r4, #12] + 8016580: f011 0180 ands.w r1, r1, #128 @ 0x80 + 8016584: d117 bne.n 80165b6 <__swhatbuf_r+0x4a> + 8016586: f44f 6380 mov.w r3, #1024 @ 0x400 + 801658a: 4608 mov r0, r1 + 801658c: e00f b.n 80165ae <__swhatbuf_r+0x42> + 801658e: 466a mov r2, sp + 8016590: f000 f89a bl 80166c8 <_fstat_r> + 8016594: 2800 cmp r0, #0 + 8016596: dbf2 blt.n 801657e <__swhatbuf_r+0x12> + 8016598: 9901 ldr r1, [sp, #4] + 801659a: f401 4170 and.w r1, r1, #61440 @ 0xf000 + 801659e: f5a1 5300 sub.w r3, r1, #8192 @ 0x2000 + 80165a2: 4259 negs r1, r3 + 80165a4: 4159 adcs r1, r3 + 80165a6: f44f 6000 mov.w r0, #2048 @ 0x800 + 80165aa: f44f 6380 mov.w r3, #1024 @ 0x400 + 80165ae: 6031 str r1, [r6, #0] + 80165b0: 602b str r3, [r5, #0] + 80165b2: b016 add sp, #88 @ 0x58 + 80165b4: bd70 pop {r4, r5, r6, pc} + 80165b6: 2100 movs r1, #0 + 80165b8: 2340 movs r3, #64 @ 0x40 + 80165ba: e7e6 b.n 801658a <__swhatbuf_r+0x1e> + +080165bc <__smakebuf_r>: + 80165bc: 898b ldrh r3, [r1, #12] + 80165be: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 80165c0: 079d lsls r5, r3, #30 + 80165c2: 4606 mov r6, r0 + 80165c4: 460c mov r4, r1 + 80165c6: d507 bpl.n 80165d8 <__smakebuf_r+0x1c> + 80165c8: f104 0343 add.w r3, r4, #67 @ 0x43 + 80165cc: 6023 str r3, [r4, #0] + 80165ce: 6123 str r3, [r4, #16] + 80165d0: 2301 movs r3, #1 + 80165d2: 6163 str r3, [r4, #20] + 80165d4: b003 add sp, #12 + 80165d6: bdf0 pop {r4, r5, r6, r7, pc} + 80165d8: ab01 add r3, sp, #4 + 80165da: 466a mov r2, sp + 80165dc: f7ff ffc6 bl 801656c <__swhatbuf_r> + 80165e0: 9f00 ldr r7, [sp, #0] + 80165e2: 4605 mov r5, r0 + 80165e4: 4639 mov r1, r7 + 80165e6: 4630 mov r0, r6 + 80165e8: f7fb fef8 bl 80123dc <_malloc_r> + 80165ec: b948 cbnz r0, 8016602 <__smakebuf_r+0x46> + 80165ee: f9b4 300c ldrsh.w r3, [r4, #12] + 80165f2: 059a lsls r2, r3, #22 + 80165f4: d4ee bmi.n 80165d4 <__smakebuf_r+0x18> + 80165f6: f023 0303 bic.w r3, r3, #3 + 80165fa: f043 0302 orr.w r3, r3, #2 + 80165fe: 81a3 strh r3, [r4, #12] + 8016600: e7e2 b.n 80165c8 <__smakebuf_r+0xc> + 8016602: 89a3 ldrh r3, [r4, #12] + 8016604: 6020 str r0, [r4, #0] + 8016606: f043 0380 orr.w r3, r3, #128 @ 0x80 + 801660a: 81a3 strh r3, [r4, #12] + 801660c: 9b01 ldr r3, [sp, #4] + 801660e: e9c4 0704 strd r0, r7, [r4, #16] + 8016612: b15b cbz r3, 801662c <__smakebuf_r+0x70> + 8016614: f9b4 100e ldrsh.w r1, [r4, #14] + 8016618: 4630 mov r0, r6 + 801661a: f000 f867 bl 80166ec <_isatty_r> + 801661e: b128 cbz r0, 801662c <__smakebuf_r+0x70> + 8016620: 89a3 ldrh r3, [r4, #12] + 8016622: f023 0303 bic.w r3, r3, #3 + 8016626: f043 0301 orr.w r3, r3, #1 + 801662a: 81a3 strh r3, [r4, #12] + 801662c: 89a3 ldrh r3, [r4, #12] + 801662e: 431d orrs r5, r3 + 8016630: 81a5 strh r5, [r4, #12] + 8016632: e7cf b.n 80165d4 <__smakebuf_r+0x18> + +08016634 <__swbuf_r>: + 8016634: b5f8 push {r3, r4, r5, r6, r7, lr} + 8016636: 460e mov r6, r1 + 8016638: 4614 mov r4, r2 + 801663a: 4605 mov r5, r0 + 801663c: b118 cbz r0, 8016646 <__swbuf_r+0x12> + 801663e: 6b43 ldr r3, [r0, #52] @ 0x34 + 8016640: b90b cbnz r3, 8016646 <__swbuf_r+0x12> + 8016642: f7fb fc65 bl 8011f10 <__sinit> + 8016646: 69a3 ldr r3, [r4, #24] + 8016648: 60a3 str r3, [r4, #8] + 801664a: 89a3 ldrh r3, [r4, #12] + 801664c: 0719 lsls r1, r3, #28 + 801664e: d501 bpl.n 8016654 <__swbuf_r+0x20> + 8016650: 6923 ldr r3, [r4, #16] + 8016652: b943 cbnz r3, 8016666 <__swbuf_r+0x32> + 8016654: 4621 mov r1, r4 + 8016656: 4628 mov r0, r5 + 8016658: f7fe fabc bl 8014bd4 <__swsetup_r> + 801665c: b118 cbz r0, 8016666 <__swbuf_r+0x32> + 801665e: f04f 37ff mov.w r7, #4294967295 + 8016662: 4638 mov r0, r7 + 8016664: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8016666: f9b4 300c ldrsh.w r3, [r4, #12] + 801666a: b2f6 uxtb r6, r6 + 801666c: 049a lsls r2, r3, #18 + 801666e: 4637 mov r7, r6 + 8016670: d406 bmi.n 8016680 <__swbuf_r+0x4c> + 8016672: f443 5300 orr.w r3, r3, #8192 @ 0x2000 + 8016676: 81a3 strh r3, [r4, #12] + 8016678: 6e63 ldr r3, [r4, #100] @ 0x64 + 801667a: f423 5300 bic.w r3, r3, #8192 @ 0x2000 + 801667e: 6663 str r3, [r4, #100] @ 0x64 + 8016680: 6823 ldr r3, [r4, #0] + 8016682: 6922 ldr r2, [r4, #16] + 8016684: 1a98 subs r0, r3, r2 + 8016686: 6963 ldr r3, [r4, #20] + 8016688: 4283 cmp r3, r0 + 801668a: dc05 bgt.n 8016698 <__swbuf_r+0x64> + 801668c: 4621 mov r1, r4 + 801668e: 4628 mov r0, r5 + 8016690: f7fe f92e bl 80148f0 <_fflush_r> + 8016694: 2800 cmp r0, #0 + 8016696: d1e2 bne.n 801665e <__swbuf_r+0x2a> + 8016698: 68a3 ldr r3, [r4, #8] + 801669a: 3b01 subs r3, #1 + 801669c: 60a3 str r3, [r4, #8] + 801669e: 6823 ldr r3, [r4, #0] + 80166a0: 1c5a adds r2, r3, #1 + 80166a2: 6022 str r2, [r4, #0] + 80166a4: 701e strb r6, [r3, #0] + 80166a6: 6962 ldr r2, [r4, #20] + 80166a8: 1c43 adds r3, r0, #1 + 80166aa: 429a cmp r2, r3 + 80166ac: d004 beq.n 80166b8 <__swbuf_r+0x84> + 80166ae: 89a3 ldrh r3, [r4, #12] + 80166b0: 07db lsls r3, r3, #31 + 80166b2: d5d6 bpl.n 8016662 <__swbuf_r+0x2e> + 80166b4: 2e0a cmp r6, #10 + 80166b6: d1d4 bne.n 8016662 <__swbuf_r+0x2e> + 80166b8: 4621 mov r1, r4 + 80166ba: 4628 mov r0, r5 + 80166bc: f7fe f918 bl 80148f0 <_fflush_r> + 80166c0: 2800 cmp r0, #0 + 80166c2: d0ce beq.n 8016662 <__swbuf_r+0x2e> + 80166c4: e7cb b.n 801665e <__swbuf_r+0x2a> + ... + +080166c8 <_fstat_r>: + 80166c8: b538 push {r3, r4, r5, lr} + 80166ca: 4d07 ldr r5, [pc, #28] @ (80166e8 <_fstat_r+0x20>) + 80166cc: 2300 movs r3, #0 + 80166ce: 4604 mov r4, r0 + 80166d0: 4608 mov r0, r1 + 80166d2: 4611 mov r1, r2 + 80166d4: 602b str r3, [r5, #0] + 80166d6: f000 f8d3 bl 8016880 <_fstat> + 80166da: 1c43 adds r3, r0, #1 + 80166dc: d102 bne.n 80166e4 <_fstat_r+0x1c> + 80166de: 682b ldr r3, [r5, #0] + 80166e0: b103 cbz r3, 80166e4 <_fstat_r+0x1c> + 80166e2: 6023 str r3, [r4, #0] + 80166e4: bd38 pop {r3, r4, r5, pc} + 80166e6: bf00 nop + 80166e8: 200193a4 .word 0x200193a4 + +080166ec <_isatty_r>: + 80166ec: b538 push {r3, r4, r5, lr} + 80166ee: 4d06 ldr r5, [pc, #24] @ (8016708 <_isatty_r+0x1c>) + 80166f0: 2300 movs r3, #0 + 80166f2: 4604 mov r4, r0 + 80166f4: 4608 mov r0, r1 + 80166f6: 602b str r3, [r5, #0] + 80166f8: f000 f8d2 bl 80168a0 <_isatty> + 80166fc: 1c43 adds r3, r0, #1 + 80166fe: d102 bne.n 8016706 <_isatty_r+0x1a> + 8016700: 682b ldr r3, [r5, #0] + 8016702: b103 cbz r3, 8016706 <_isatty_r+0x1a> + 8016704: 6023 str r3, [r4, #0] + 8016706: bd38 pop {r3, r4, r5, pc} + 8016708: 200193a4 .word 0x200193a4 + +0801670c <__assert_func>: + 801670c: b51f push {r0, r1, r2, r3, r4, lr} + 801670e: 4614 mov r4, r2 + 8016710: 461a mov r2, r3 + 8016712: 4b09 ldr r3, [pc, #36] @ (8016738 <__assert_func+0x2c>) + 8016714: 681b ldr r3, [r3, #0] + 8016716: 4605 mov r5, r0 + 8016718: 68d8 ldr r0, [r3, #12] + 801671a: b954 cbnz r4, 8016732 <__assert_func+0x26> + 801671c: 4b07 ldr r3, [pc, #28] @ (801673c <__assert_func+0x30>) + 801671e: 461c mov r4, r3 + 8016720: e9cd 3401 strd r3, r4, [sp, #4] + 8016724: 9100 str r1, [sp, #0] + 8016726: 462b mov r3, r5 + 8016728: 4905 ldr r1, [pc, #20] @ (8016740 <__assert_func+0x34>) + 801672a: f000 f843 bl 80167b4 + 801672e: f000 f853 bl 80167d8 + 8016732: 4b04 ldr r3, [pc, #16] @ (8016744 <__assert_func+0x38>) + 8016734: e7f4 b.n 8016720 <__assert_func+0x14> + 8016736: bf00 nop + 8016738: 2000003c .word 0x2000003c + 801673c: 08019bf3 .word 0x08019bf3 + 8016740: 08019bc5 .word 0x08019bc5 + 8016744: 08019bb8 .word 0x08019bb8 + +08016748 <_calloc_r>: + 8016748: b538 push {r3, r4, r5, lr} + 801674a: fba1 1502 umull r1, r5, r1, r2 + 801674e: b935 cbnz r5, 801675e <_calloc_r+0x16> + 8016750: f7fb fe44 bl 80123dc <_malloc_r> + 8016754: 4604 mov r4, r0 + 8016756: b938 cbnz r0, 8016768 <_calloc_r+0x20> + 8016758: 2400 movs r4, #0 + 801675a: 4620 mov r0, r4 + 801675c: bd38 pop {r3, r4, r5, pc} + 801675e: f7fb fcdb bl 8012118 <__errno> + 8016762: 230c movs r3, #12 + 8016764: 6003 str r3, [r0, #0] + 8016766: e7f7 b.n 8016758 <_calloc_r+0x10> + 8016768: f850 2c04 ldr.w r2, [r0, #-4] + 801676c: f022 0203 bic.w r2, r2, #3 + 8016770: 3a04 subs r2, #4 + 8016772: 2a24 cmp r2, #36 @ 0x24 + 8016774: d819 bhi.n 80167aa <_calloc_r+0x62> + 8016776: 2a13 cmp r2, #19 + 8016778: d915 bls.n 80167a6 <_calloc_r+0x5e> + 801677a: 2a1b cmp r2, #27 + 801677c: e9c0 5500 strd r5, r5, [r0] + 8016780: d806 bhi.n 8016790 <_calloc_r+0x48> + 8016782: f100 0308 add.w r3, r0, #8 + 8016786: 2200 movs r2, #0 + 8016788: e9c3 2200 strd r2, r2, [r3] + 801678c: 609a str r2, [r3, #8] + 801678e: e7e4 b.n 801675a <_calloc_r+0x12> + 8016790: 2a24 cmp r2, #36 @ 0x24 + 8016792: e9c0 5502 strd r5, r5, [r0, #8] + 8016796: bf11 iteee ne + 8016798: f100 0310 addne.w r3, r0, #16 + 801679c: 6105 streq r5, [r0, #16] + 801679e: f100 0318 addeq.w r3, r0, #24 + 80167a2: 6145 streq r5, [r0, #20] + 80167a4: e7ef b.n 8016786 <_calloc_r+0x3e> + 80167a6: 4603 mov r3, r0 + 80167a8: e7ed b.n 8016786 <_calloc_r+0x3e> + 80167aa: 4629 mov r1, r5 + 80167ac: f7fb fc65 bl 801207a + 80167b0: e7d3 b.n 801675a <_calloc_r+0x12> + ... + +080167b4 : + 80167b4: b40e push {r1, r2, r3} + 80167b6: b503 push {r0, r1, lr} + 80167b8: 4601 mov r1, r0 + 80167ba: ab03 add r3, sp, #12 + 80167bc: 4805 ldr r0, [pc, #20] @ (80167d4 ) + 80167be: f853 2b04 ldr.w r2, [r3], #4 + 80167c2: 6800 ldr r0, [r0, #0] + 80167c4: 9301 str r3, [sp, #4] + 80167c6: f7fd faed bl 8013da4 <_vfiprintf_r> + 80167ca: b002 add sp, #8 + 80167cc: f85d eb04 ldr.w lr, [sp], #4 + 80167d0: b003 add sp, #12 + 80167d2: 4770 bx lr + 80167d4: 2000003c .word 0x2000003c + +080167d8 : + 80167d8: b508 push {r3, lr} + 80167da: 2006 movs r0, #6 + 80167dc: f000 f82c bl 8016838 + 80167e0: 2001 movs r0, #1 + 80167e2: f000 f893 bl 801690c <_exit> + +080167e6 <_raise_r>: + 80167e6: 291f cmp r1, #31 + 80167e8: b538 push {r3, r4, r5, lr} + 80167ea: 4605 mov r5, r0 + 80167ec: 460c mov r4, r1 + 80167ee: d904 bls.n 80167fa <_raise_r+0x14> + 80167f0: 2316 movs r3, #22 + 80167f2: 6003 str r3, [r0, #0] + 80167f4: f04f 30ff mov.w r0, #4294967295 + 80167f8: bd38 pop {r3, r4, r5, pc} + 80167fa: f8d0 2118 ldr.w r2, [r0, #280] @ 0x118 + 80167fe: b112 cbz r2, 8016806 <_raise_r+0x20> + 8016800: f852 3021 ldr.w r3, [r2, r1, lsl #2] + 8016804: b94b cbnz r3, 801681a <_raise_r+0x34> + 8016806: 4628 mov r0, r5 + 8016808: f000 f830 bl 801686c <_getpid_r> + 801680c: 4622 mov r2, r4 + 801680e: 4601 mov r1, r0 + 8016810: 4628 mov r0, r5 + 8016812: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 8016816: f000 b817 b.w 8016848 <_kill_r> + 801681a: 2b01 cmp r3, #1 + 801681c: d00a beq.n 8016834 <_raise_r+0x4e> + 801681e: 1c59 adds r1, r3, #1 + 8016820: d103 bne.n 801682a <_raise_r+0x44> + 8016822: 2316 movs r3, #22 + 8016824: 6003 str r3, [r0, #0] + 8016826: 2001 movs r0, #1 + 8016828: e7e6 b.n 80167f8 <_raise_r+0x12> + 801682a: 2100 movs r1, #0 + 801682c: f842 1024 str.w r1, [r2, r4, lsl #2] + 8016830: 4620 mov r0, r4 + 8016832: 4798 blx r3 + 8016834: 2000 movs r0, #0 + 8016836: e7df b.n 80167f8 <_raise_r+0x12> + +08016838 : + 8016838: 4b02 ldr r3, [pc, #8] @ (8016844 ) + 801683a: 4601 mov r1, r0 + 801683c: 6818 ldr r0, [r3, #0] + 801683e: f7ff bfd2 b.w 80167e6 <_raise_r> + 8016842: bf00 nop + 8016844: 2000003c .word 0x2000003c + +08016848 <_kill_r>: + 8016848: b538 push {r3, r4, r5, lr} + 801684a: 4d07 ldr r5, [pc, #28] @ (8016868 <_kill_r+0x20>) + 801684c: 2300 movs r3, #0 + 801684e: 4604 mov r4, r0 + 8016850: 4608 mov r0, r1 + 8016852: 4611 mov r1, r2 + 8016854: 602b str r3, [r5, #0] + 8016856: f000 f82b bl 80168b0 <_kill> + 801685a: 1c43 adds r3, r0, #1 + 801685c: d102 bne.n 8016864 <_kill_r+0x1c> + 801685e: 682b ldr r3, [r5, #0] + 8016860: b103 cbz r3, 8016864 <_kill_r+0x1c> + 8016862: 6023 str r3, [r4, #0] + 8016864: bd38 pop {r3, r4, r5, pc} + 8016866: bf00 nop + 8016868: 200193a4 .word 0x200193a4 + +0801686c <_getpid_r>: + 801686c: f000 b810 b.w 8016890 <_getpid> + +08016870 <_close>: + 8016870: 4b02 ldr r3, [pc, #8] @ (801687c <_close+0xc>) + 8016872: 2258 movs r2, #88 @ 0x58 + 8016874: 601a str r2, [r3, #0] + 8016876: f04f 30ff mov.w r0, #4294967295 + 801687a: 4770 bx lr + 801687c: 200193a4 .word 0x200193a4 + +08016880 <_fstat>: + 8016880: 4b02 ldr r3, [pc, #8] @ (801688c <_fstat+0xc>) + 8016882: 2258 movs r2, #88 @ 0x58 + 8016884: 601a str r2, [r3, #0] + 8016886: f04f 30ff mov.w r0, #4294967295 + 801688a: 4770 bx lr + 801688c: 200193a4 .word 0x200193a4 + +08016890 <_getpid>: + 8016890: 4b02 ldr r3, [pc, #8] @ (801689c <_getpid+0xc>) + 8016892: 2258 movs r2, #88 @ 0x58 + 8016894: 601a str r2, [r3, #0] + 8016896: f04f 30ff mov.w r0, #4294967295 + 801689a: 4770 bx lr + 801689c: 200193a4 .word 0x200193a4 + +080168a0 <_isatty>: + 80168a0: 4b02 ldr r3, [pc, #8] @ (80168ac <_isatty+0xc>) + 80168a2: 2258 movs r2, #88 @ 0x58 + 80168a4: 601a str r2, [r3, #0] + 80168a6: 2000 movs r0, #0 + 80168a8: 4770 bx lr + 80168aa: bf00 nop + 80168ac: 200193a4 .word 0x200193a4 + +080168b0 <_kill>: + 80168b0: 4b02 ldr r3, [pc, #8] @ (80168bc <_kill+0xc>) + 80168b2: 2258 movs r2, #88 @ 0x58 + 80168b4: 601a str r2, [r3, #0] + 80168b6: f04f 30ff mov.w r0, #4294967295 + 80168ba: 4770 bx lr + 80168bc: 200193a4 .word 0x200193a4 + +080168c0 <_lseek>: + 80168c0: 4b02 ldr r3, [pc, #8] @ (80168cc <_lseek+0xc>) + 80168c2: 2258 movs r2, #88 @ 0x58 + 80168c4: 601a str r2, [r3, #0] + 80168c6: f04f 30ff mov.w r0, #4294967295 + 80168ca: 4770 bx lr + 80168cc: 200193a4 .word 0x200193a4 + +080168d0 <_read>: + 80168d0: 4b02 ldr r3, [pc, #8] @ (80168dc <_read+0xc>) + 80168d2: 2258 movs r2, #88 @ 0x58 + 80168d4: 601a str r2, [r3, #0] + 80168d6: f04f 30ff mov.w r0, #4294967295 + 80168da: 4770 bx lr + 80168dc: 200193a4 .word 0x200193a4 + +080168e0 <_sbrk>: + 80168e0: 4a04 ldr r2, [pc, #16] @ (80168f4 <_sbrk+0x14>) + 80168e2: 6811 ldr r1, [r2, #0] + 80168e4: 4603 mov r3, r0 + 80168e6: b909 cbnz r1, 80168ec <_sbrk+0xc> + 80168e8: 4903 ldr r1, [pc, #12] @ (80168f8 <_sbrk+0x18>) + 80168ea: 6011 str r1, [r2, #0] + 80168ec: 6810 ldr r0, [r2, #0] + 80168ee: 4403 add r3, r0 + 80168f0: 6013 str r3, [r2, #0] + 80168f2: 4770 bx lr + 80168f4: 20019574 .word 0x20019574 + 80168f8: 20019578 .word 0x20019578 + +080168fc <_write>: + 80168fc: 4b02 ldr r3, [pc, #8] @ (8016908 <_write+0xc>) + 80168fe: 2258 movs r2, #88 @ 0x58 + 8016900: 601a str r2, [r3, #0] + 8016902: f04f 30ff mov.w r0, #4294967295 + 8016906: 4770 bx lr + 8016908: 200193a4 .word 0x200193a4 + +0801690c <_exit>: + 801690c: e7fe b.n 801690c <_exit> + ... + +08016910 <_init>: + 8016910: b5f8 push {r3, r4, r5, r6, r7, lr} + 8016912: bf00 nop + 8016914: bcf8 pop {r3, r4, r5, r6, r7} + 8016916: bc08 pop {r3} + 8016918: 469e mov lr, r3 + 801691a: 4770 bx lr + +0801691c <_fini>: + 801691c: b5f8 push {r3, r4, r5, r6, r7, lr} + 801691e: bf00 nop + 8016920: bcf8 pop {r3, r4, r5, r6, r7} + 8016922: bc08 pop {r3} + 8016924: 469e mov lr, r3 + 8016926: 4770 bx lr diff --git a/LWIP/App/lwip.c b/LWIP/App/lwip.c index 3b07044..eb3b4e2 100644 --- a/LWIP/App/lwip.c +++ b/LWIP/App/lwip.c @@ -148,6 +148,7 @@ void MX_LWIP_Process(void) Ethernet_Link_Periodic_Handle(&gnetif); + /* USER CODE BEGIN 4_3 */ /* USER CODE END 4_3 */ } diff --git a/Release/Core/Src/subdir.mk b/Release/Core/Src/subdir.mk index f297fc7..02acbde 100644 --- a/Release/Core/Src/subdir.mk +++ b/Release/Core/Src/subdir.mk @@ -1,36 +1,42 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables C_SRCS += \ +../Core/Src/FLASH_SECTOR_F4.c \ ../Core/Src/main.c \ +../Core/Src/pribors.c \ ../Core/Src/stm32f4xx_hal_msp.c \ ../Core/Src/stm32f4xx_it.c \ ../Core/Src/system_stm32f4xx.c OBJS += \ +./Core/Src/FLASH_SECTOR_F4.o \ ./Core/Src/main.o \ +./Core/Src/pribors.o \ ./Core/Src/stm32f4xx_hal_msp.o \ ./Core/Src/stm32f4xx_it.o \ ./Core/Src/system_stm32f4xx.o C_DEPS += \ +./Core/Src/FLASH_SECTOR_F4.d \ ./Core/Src/main.d \ +./Core/Src/pribors.d \ ./Core/Src/stm32f4xx_hal_msp.d \ ./Core/Src/stm32f4xx_it.d \ ./Core/Src/system_stm32f4xx.d # Each subdirectory must supply rules for building sources it contributes -Core/Src/%.o Core/Src/%.su: ../Core/Src/%.c Core/Src/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +Core/Src/%.o Core/Src/%.su Core/Src/%.cyclo: ../Core/Src/%.c Core/Src/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-Core-2f-Src clean-Core-2f-Src: - -$(RM) ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32f4xx_hal_msp.d ./Core/Src/stm32f4xx_hal_msp.o ./Core/Src/stm32f4xx_hal_msp.su ./Core/Src/stm32f4xx_it.d ./Core/Src/stm32f4xx_it.o ./Core/Src/stm32f4xx_it.su ./Core/Src/system_stm32f4xx.d ./Core/Src/system_stm32f4xx.o ./Core/Src/system_stm32f4xx.su + -$(RM) ./Core/Src/FLASH_SECTOR_F4.cyclo ./Core/Src/FLASH_SECTOR_F4.d ./Core/Src/FLASH_SECTOR_F4.o ./Core/Src/FLASH_SECTOR_F4.su ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/pribors.cyclo ./Core/Src/pribors.d ./Core/Src/pribors.o ./Core/Src/pribors.su ./Core/Src/stm32f4xx_hal_msp.cyclo ./Core/Src/stm32f4xx_hal_msp.d ./Core/Src/stm32f4xx_hal_msp.o ./Core/Src/stm32f4xx_hal_msp.su ./Core/Src/stm32f4xx_it.cyclo ./Core/Src/stm32f4xx_it.d ./Core/Src/stm32f4xx_it.o ./Core/Src/stm32f4xx_it.su ./Core/Src/system_stm32f4xx.cyclo ./Core/Src/system_stm32f4xx.d ./Core/Src/system_stm32f4xx.o ./Core/Src/system_stm32f4xx.su .PHONY: clean-Core-2f-Src diff --git a/Release/Core/Startup/subdir.mk b/Release/Core/Startup/subdir.mk index 9c79be7..d213218 100644 --- a/Release/Core/Startup/subdir.mk +++ b/Release/Core/Startup/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables diff --git a/Release/Drivers/BSP/Components/dp83848/subdir.mk b/Release/Drivers/BSP/Components/dp83848/subdir.mk index b596f1a..ae1d490 100644 --- a/Release/Drivers/BSP/Components/dp83848/subdir.mk +++ b/Release/Drivers/BSP/Components/dp83848/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -15,13 +15,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -Drivers/BSP/Components/dp83848/%.o Drivers/BSP/Components/dp83848/%.su: ../Drivers/BSP/Components/dp83848/%.c Drivers/BSP/Components/dp83848/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +Drivers/BSP/Components/dp83848/%.o Drivers/BSP/Components/dp83848/%.su Drivers/BSP/Components/dp83848/%.cyclo: ../Drivers/BSP/Components/dp83848/%.c Drivers/BSP/Components/dp83848/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-Drivers-2f-BSP-2f-Components-2f-dp83848 clean-Drivers-2f-BSP-2f-Components-2f-dp83848: - -$(RM) ./Drivers/BSP/Components/dp83848/dp83848.d ./Drivers/BSP/Components/dp83848/dp83848.o ./Drivers/BSP/Components/dp83848/dp83848.su + -$(RM) ./Drivers/BSP/Components/dp83848/dp83848.cyclo ./Drivers/BSP/Components/dp83848/dp83848.d ./Drivers/BSP/Components/dp83848/dp83848.o ./Drivers/BSP/Components/dp83848/dp83848.su .PHONY: clean-Drivers-2f-BSP-2f-Components-2f-dp83848 diff --git a/Release/Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk b/Release/Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk index 46dcf49..4cc4bab 100644 --- a/Release/Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk +++ b/Release/Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -66,13 +66,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -Drivers/STM32F4xx_HAL_Driver/Src/%.o Drivers/STM32F4xx_HAL_Driver/Src/%.su: ../Drivers/STM32F4xx_HAL_Driver/Src/%.c Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +Drivers/STM32F4xx_HAL_Driver/Src/%.o Drivers/STM32F4xx_HAL_Driver/Src/%.su Drivers/STM32F4xx_HAL_Driver/Src/%.cyclo: ../Drivers/STM32F4xx_HAL_Driver/Src/%.c Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src: - -$(RM) ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.su + -$(RM) ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.su .PHONY: clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src diff --git a/Release/LWIP/App/subdir.mk b/Release/LWIP/App/subdir.mk index e4b9e3d..a16ac50 100644 --- a/Release/LWIP/App/subdir.mk +++ b/Release/LWIP/App/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -15,13 +15,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -LWIP/App/%.o LWIP/App/%.su: ../LWIP/App/%.c LWIP/App/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +LWIP/App/%.o LWIP/App/%.su LWIP/App/%.cyclo: ../LWIP/App/%.c LWIP/App/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-LWIP-2f-App clean-LWIP-2f-App: - -$(RM) ./LWIP/App/lwip.d ./LWIP/App/lwip.o ./LWIP/App/lwip.su + -$(RM) ./LWIP/App/lwip.cyclo ./LWIP/App/lwip.d ./LWIP/App/lwip.o ./LWIP/App/lwip.su .PHONY: clean-LWIP-2f-App diff --git a/Release/LWIP/Target/subdir.mk b/Release/LWIP/Target/subdir.mk index 1e72965..3cb4ee2 100644 --- a/Release/LWIP/Target/subdir.mk +++ b/Release/LWIP/Target/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -15,13 +15,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -LWIP/Target/%.o LWIP/Target/%.su: ../LWIP/Target/%.c LWIP/Target/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +LWIP/Target/%.o LWIP/Target/%.su LWIP/Target/%.cyclo: ../LWIP/Target/%.c LWIP/Target/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-LWIP-2f-Target clean-LWIP-2f-Target: - -$(RM) ./LWIP/Target/ethernetif.d ./LWIP/Target/ethernetif.o ./LWIP/Target/ethernetif.su + -$(RM) ./LWIP/Target/ethernetif.cyclo ./LWIP/Target/ethernetif.d ./LWIP/Target/ethernetif.o ./LWIP/Target/ethernetif.su .PHONY: clean-LWIP-2f-Target diff --git a/Release/Middlewares/Third_Party/LwIP/src/api/subdir.mk b/Release/Middlewares/Third_Party/LwIP/src/api/subdir.mk index 4603725..b255094 100644 --- a/Release/Middlewares/Third_Party/LwIP/src/api/subdir.mk +++ b/Release/Middlewares/Third_Party/LwIP/src/api/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -39,13 +39,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -Middlewares/Third_Party/LwIP/src/api/%.o Middlewares/Third_Party/LwIP/src/api/%.su: ../Middlewares/Third_Party/LwIP/src/api/%.c Middlewares/Third_Party/LwIP/src/api/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +Middlewares/Third_Party/LwIP/src/api/%.o Middlewares/Third_Party/LwIP/src/api/%.su Middlewares/Third_Party/LwIP/src/api/%.cyclo: ../Middlewares/Third_Party/LwIP/src/api/%.c Middlewares/Third_Party/LwIP/src/api/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-api clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-api: - -$(RM) ./Middlewares/Third_Party/LwIP/src/api/api_lib.d ./Middlewares/Third_Party/LwIP/src/api/api_lib.o ./Middlewares/Third_Party/LwIP/src/api/api_lib.su ./Middlewares/Third_Party/LwIP/src/api/api_msg.d ./Middlewares/Third_Party/LwIP/src/api/api_msg.o ./Middlewares/Third_Party/LwIP/src/api/api_msg.su ./Middlewares/Third_Party/LwIP/src/api/err.d ./Middlewares/Third_Party/LwIP/src/api/err.o ./Middlewares/Third_Party/LwIP/src/api/err.su ./Middlewares/Third_Party/LwIP/src/api/if_api.d ./Middlewares/Third_Party/LwIP/src/api/if_api.o ./Middlewares/Third_Party/LwIP/src/api/if_api.su ./Middlewares/Third_Party/LwIP/src/api/netbuf.d ./Middlewares/Third_Party/LwIP/src/api/netbuf.o ./Middlewares/Third_Party/LwIP/src/api/netbuf.su ./Middlewares/Third_Party/LwIP/src/api/netdb.d ./Middlewares/Third_Party/LwIP/src/api/netdb.o ./Middlewares/Third_Party/LwIP/src/api/netdb.su ./Middlewares/Third_Party/LwIP/src/api/netifapi.d ./Middlewares/Third_Party/LwIP/src/api/netifapi.o ./Middlewares/Third_Party/LwIP/src/api/netifapi.su ./Middlewares/Third_Party/LwIP/src/api/sockets.d ./Middlewares/Third_Party/LwIP/src/api/sockets.o ./Middlewares/Third_Party/LwIP/src/api/sockets.su ./Middlewares/Third_Party/LwIP/src/api/tcpip.d ./Middlewares/Third_Party/LwIP/src/api/tcpip.o ./Middlewares/Third_Party/LwIP/src/api/tcpip.su + -$(RM) ./Middlewares/Third_Party/LwIP/src/api/api_lib.cyclo ./Middlewares/Third_Party/LwIP/src/api/api_lib.d ./Middlewares/Third_Party/LwIP/src/api/api_lib.o ./Middlewares/Third_Party/LwIP/src/api/api_lib.su ./Middlewares/Third_Party/LwIP/src/api/api_msg.cyclo ./Middlewares/Third_Party/LwIP/src/api/api_msg.d ./Middlewares/Third_Party/LwIP/src/api/api_msg.o ./Middlewares/Third_Party/LwIP/src/api/api_msg.su ./Middlewares/Third_Party/LwIP/src/api/err.cyclo ./Middlewares/Third_Party/LwIP/src/api/err.d ./Middlewares/Third_Party/LwIP/src/api/err.o ./Middlewares/Third_Party/LwIP/src/api/err.su ./Middlewares/Third_Party/LwIP/src/api/if_api.cyclo ./Middlewares/Third_Party/LwIP/src/api/if_api.d ./Middlewares/Third_Party/LwIP/src/api/if_api.o ./Middlewares/Third_Party/LwIP/src/api/if_api.su ./Middlewares/Third_Party/LwIP/src/api/netbuf.cyclo ./Middlewares/Third_Party/LwIP/src/api/netbuf.d ./Middlewares/Third_Party/LwIP/src/api/netbuf.o ./Middlewares/Third_Party/LwIP/src/api/netbuf.su ./Middlewares/Third_Party/LwIP/src/api/netdb.cyclo ./Middlewares/Third_Party/LwIP/src/api/netdb.d ./Middlewares/Third_Party/LwIP/src/api/netdb.o ./Middlewares/Third_Party/LwIP/src/api/netdb.su ./Middlewares/Third_Party/LwIP/src/api/netifapi.cyclo ./Middlewares/Third_Party/LwIP/src/api/netifapi.d ./Middlewares/Third_Party/LwIP/src/api/netifapi.o ./Middlewares/Third_Party/LwIP/src/api/netifapi.su ./Middlewares/Third_Party/LwIP/src/api/sockets.cyclo ./Middlewares/Third_Party/LwIP/src/api/sockets.d ./Middlewares/Third_Party/LwIP/src/api/sockets.o ./Middlewares/Third_Party/LwIP/src/api/sockets.su ./Middlewares/Third_Party/LwIP/src/api/tcpip.cyclo ./Middlewares/Third_Party/LwIP/src/api/tcpip.d ./Middlewares/Third_Party/LwIP/src/api/tcpip.o ./Middlewares/Third_Party/LwIP/src/api/tcpip.su .PHONY: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-api diff --git a/Release/Middlewares/Third_Party/LwIP/src/apps/mqtt/subdir.mk b/Release/Middlewares/Third_Party/LwIP/src/apps/mqtt/subdir.mk index 4cdb4ed..f609698 100644 --- a/Release/Middlewares/Third_Party/LwIP/src/apps/mqtt/subdir.mk +++ b/Release/Middlewares/Third_Party/LwIP/src/apps/mqtt/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -15,13 +15,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -Middlewares/Third_Party/LwIP/src/apps/mqtt/%.o Middlewares/Third_Party/LwIP/src/apps/mqtt/%.su: ../Middlewares/Third_Party/LwIP/src/apps/mqtt/%.c Middlewares/Third_Party/LwIP/src/apps/mqtt/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +Middlewares/Third_Party/LwIP/src/apps/mqtt/%.o Middlewares/Third_Party/LwIP/src/apps/mqtt/%.su Middlewares/Third_Party/LwIP/src/apps/mqtt/%.cyclo: ../Middlewares/Third_Party/LwIP/src/apps/mqtt/%.c Middlewares/Third_Party/LwIP/src/apps/mqtt/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-apps-2f-mqtt clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-apps-2f-mqtt: - -$(RM) ./Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.d ./Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o ./Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.su + -$(RM) ./Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.cyclo ./Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.d ./Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.o ./Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.su .PHONY: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-apps-2f-mqtt diff --git a/Release/Middlewares/Third_Party/LwIP/src/core/ipv4/subdir.mk b/Release/Middlewares/Third_Party/LwIP/src/core/ipv4/subdir.mk index e8ed255..fffe8b9 100644 --- a/Release/Middlewares/Third_Party/LwIP/src/core/ipv4/subdir.mk +++ b/Release/Middlewares/Third_Party/LwIP/src/core/ipv4/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -36,13 +36,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -Middlewares/Third_Party/LwIP/src/core/ipv4/%.o Middlewares/Third_Party/LwIP/src/core/ipv4/%.su: ../Middlewares/Third_Party/LwIP/src/core/ipv4/%.c Middlewares/Third_Party/LwIP/src/core/ipv4/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +Middlewares/Third_Party/LwIP/src/core/ipv4/%.o Middlewares/Third_Party/LwIP/src/core/ipv4/%.su Middlewares/Third_Party/LwIP/src/core/ipv4/%.cyclo: ../Middlewares/Third_Party/LwIP/src/core/ipv4/%.c Middlewares/Third_Party/LwIP/src/core/ipv4/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-core-2f-ipv4 clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-core-2f-ipv4: - -$(RM) ./Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.su + -$(RM) ./Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/autoip.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/dhcp.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/etharp.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/icmp.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/igmp.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_addr.su ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.d ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.o ./Middlewares/Third_Party/LwIP/src/core/ipv4/ip4_frag.su .PHONY: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-core-2f-ipv4 diff --git a/Release/Middlewares/Third_Party/LwIP/src/core/ipv6/subdir.mk b/Release/Middlewares/Third_Party/LwIP/src/core/ipv6/subdir.mk index 99c2950..70a839f 100644 --- a/Release/Middlewares/Third_Party/LwIP/src/core/ipv6/subdir.mk +++ b/Release/Middlewares/Third_Party/LwIP/src/core/ipv6/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -39,13 +39,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -Middlewares/Third_Party/LwIP/src/core/ipv6/%.o Middlewares/Third_Party/LwIP/src/core/ipv6/%.su: ../Middlewares/Third_Party/LwIP/src/core/ipv6/%.c Middlewares/Third_Party/LwIP/src/core/ipv6/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +Middlewares/Third_Party/LwIP/src/core/ipv6/%.o Middlewares/Third_Party/LwIP/src/core/ipv6/%.su Middlewares/Third_Party/LwIP/src/core/ipv6/%.cyclo: ../Middlewares/Third_Party/LwIP/src/core/ipv6/%.c Middlewares/Third_Party/LwIP/src/core/ipv6/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-core-2f-ipv6 clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-core-2f-ipv6: - -$(RM) ./Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.su + -$(RM) ./Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/ethip6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/icmp6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/inet6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_addr.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/ip6_frag.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/mld6.su ./Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.cyclo ./Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.d ./Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.o ./Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.su .PHONY: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-core-2f-ipv6 diff --git a/Release/Middlewares/Third_Party/LwIP/src/core/subdir.mk b/Release/Middlewares/Third_Party/LwIP/src/core/subdir.mk index 3e484bf..ebf49fc 100644 --- a/Release/Middlewares/Third_Party/LwIP/src/core/subdir.mk +++ b/Release/Middlewares/Third_Party/LwIP/src/core/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -72,13 +72,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -Middlewares/Third_Party/LwIP/src/core/%.o Middlewares/Third_Party/LwIP/src/core/%.su: ../Middlewares/Third_Party/LwIP/src/core/%.c Middlewares/Third_Party/LwIP/src/core/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +Middlewares/Third_Party/LwIP/src/core/%.o Middlewares/Third_Party/LwIP/src/core/%.su Middlewares/Third_Party/LwIP/src/core/%.cyclo: ../Middlewares/Third_Party/LwIP/src/core/%.c Middlewares/Third_Party/LwIP/src/core/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-core clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-core: - -$(RM) ./Middlewares/Third_Party/LwIP/src/core/altcp.d ./Middlewares/Third_Party/LwIP/src/core/altcp.o ./Middlewares/Third_Party/LwIP/src/core/altcp.su ./Middlewares/Third_Party/LwIP/src/core/altcp_alloc.d ./Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o ./Middlewares/Third_Party/LwIP/src/core/altcp_alloc.su ./Middlewares/Third_Party/LwIP/src/core/altcp_tcp.d ./Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o ./Middlewares/Third_Party/LwIP/src/core/altcp_tcp.su ./Middlewares/Third_Party/LwIP/src/core/def.d ./Middlewares/Third_Party/LwIP/src/core/def.o ./Middlewares/Third_Party/LwIP/src/core/def.su ./Middlewares/Third_Party/LwIP/src/core/dns.d ./Middlewares/Third_Party/LwIP/src/core/dns.o ./Middlewares/Third_Party/LwIP/src/core/dns.su ./Middlewares/Third_Party/LwIP/src/core/inet_chksum.d ./Middlewares/Third_Party/LwIP/src/core/inet_chksum.o ./Middlewares/Third_Party/LwIP/src/core/inet_chksum.su ./Middlewares/Third_Party/LwIP/src/core/init.d ./Middlewares/Third_Party/LwIP/src/core/init.o ./Middlewares/Third_Party/LwIP/src/core/init.su ./Middlewares/Third_Party/LwIP/src/core/ip.d ./Middlewares/Third_Party/LwIP/src/core/ip.o ./Middlewares/Third_Party/LwIP/src/core/ip.su ./Middlewares/Third_Party/LwIP/src/core/mem.d ./Middlewares/Third_Party/LwIP/src/core/mem.o ./Middlewares/Third_Party/LwIP/src/core/mem.su ./Middlewares/Third_Party/LwIP/src/core/memp.d ./Middlewares/Third_Party/LwIP/src/core/memp.o ./Middlewares/Third_Party/LwIP/src/core/memp.su ./Middlewares/Third_Party/LwIP/src/core/netif.d ./Middlewares/Third_Party/LwIP/src/core/netif.o ./Middlewares/Third_Party/LwIP/src/core/netif.su ./Middlewares/Third_Party/LwIP/src/core/pbuf.d ./Middlewares/Third_Party/LwIP/src/core/pbuf.o ./Middlewares/Third_Party/LwIP/src/core/pbuf.su ./Middlewares/Third_Party/LwIP/src/core/raw.d ./Middlewares/Third_Party/LwIP/src/core/raw.o ./Middlewares/Third_Party/LwIP/src/core/raw.su ./Middlewares/Third_Party/LwIP/src/core/stats.d ./Middlewares/Third_Party/LwIP/src/core/stats.o ./Middlewares/Third_Party/LwIP/src/core/stats.su ./Middlewares/Third_Party/LwIP/src/core/sys.d ./Middlewares/Third_Party/LwIP/src/core/sys.o ./Middlewares/Third_Party/LwIP/src/core/sys.su ./Middlewares/Third_Party/LwIP/src/core/tcp.d ./Middlewares/Third_Party/LwIP/src/core/tcp.o ./Middlewares/Third_Party/LwIP/src/core/tcp.su ./Middlewares/Third_Party/LwIP/src/core/tcp_in.d ./Middlewares/Third_Party/LwIP/src/core/tcp_in.o ./Middlewares/Third_Party/LwIP/src/core/tcp_in.su ./Middlewares/Third_Party/LwIP/src/core/tcp_out.d ./Middlewares/Third_Party/LwIP/src/core/tcp_out.o ./Middlewares/Third_Party/LwIP/src/core/tcp_out.su ./Middlewares/Third_Party/LwIP/src/core/timeouts.d ./Middlewares/Third_Party/LwIP/src/core/timeouts.o ./Middlewares/Third_Party/LwIP/src/core/timeouts.su ./Middlewares/Third_Party/LwIP/src/core/udp.d ./Middlewares/Third_Party/LwIP/src/core/udp.o ./Middlewares/Third_Party/LwIP/src/core/udp.su + -$(RM) ./Middlewares/Third_Party/LwIP/src/core/altcp.cyclo ./Middlewares/Third_Party/LwIP/src/core/altcp.d ./Middlewares/Third_Party/LwIP/src/core/altcp.o ./Middlewares/Third_Party/LwIP/src/core/altcp.su ./Middlewares/Third_Party/LwIP/src/core/altcp_alloc.cyclo ./Middlewares/Third_Party/LwIP/src/core/altcp_alloc.d ./Middlewares/Third_Party/LwIP/src/core/altcp_alloc.o ./Middlewares/Third_Party/LwIP/src/core/altcp_alloc.su ./Middlewares/Third_Party/LwIP/src/core/altcp_tcp.cyclo ./Middlewares/Third_Party/LwIP/src/core/altcp_tcp.d ./Middlewares/Third_Party/LwIP/src/core/altcp_tcp.o ./Middlewares/Third_Party/LwIP/src/core/altcp_tcp.su ./Middlewares/Third_Party/LwIP/src/core/def.cyclo ./Middlewares/Third_Party/LwIP/src/core/def.d ./Middlewares/Third_Party/LwIP/src/core/def.o ./Middlewares/Third_Party/LwIP/src/core/def.su ./Middlewares/Third_Party/LwIP/src/core/dns.cyclo ./Middlewares/Third_Party/LwIP/src/core/dns.d ./Middlewares/Third_Party/LwIP/src/core/dns.o ./Middlewares/Third_Party/LwIP/src/core/dns.su ./Middlewares/Third_Party/LwIP/src/core/inet_chksum.cyclo ./Middlewares/Third_Party/LwIP/src/core/inet_chksum.d ./Middlewares/Third_Party/LwIP/src/core/inet_chksum.o ./Middlewares/Third_Party/LwIP/src/core/inet_chksum.su ./Middlewares/Third_Party/LwIP/src/core/init.cyclo ./Middlewares/Third_Party/LwIP/src/core/init.d ./Middlewares/Third_Party/LwIP/src/core/init.o ./Middlewares/Third_Party/LwIP/src/core/init.su ./Middlewares/Third_Party/LwIP/src/core/ip.cyclo ./Middlewares/Third_Party/LwIP/src/core/ip.d ./Middlewares/Third_Party/LwIP/src/core/ip.o ./Middlewares/Third_Party/LwIP/src/core/ip.su ./Middlewares/Third_Party/LwIP/src/core/mem.cyclo ./Middlewares/Third_Party/LwIP/src/core/mem.d ./Middlewares/Third_Party/LwIP/src/core/mem.o ./Middlewares/Third_Party/LwIP/src/core/mem.su ./Middlewares/Third_Party/LwIP/src/core/memp.cyclo ./Middlewares/Third_Party/LwIP/src/core/memp.d ./Middlewares/Third_Party/LwIP/src/core/memp.o ./Middlewares/Third_Party/LwIP/src/core/memp.su ./Middlewares/Third_Party/LwIP/src/core/netif.cyclo ./Middlewares/Third_Party/LwIP/src/core/netif.d ./Middlewares/Third_Party/LwIP/src/core/netif.o ./Middlewares/Third_Party/LwIP/src/core/netif.su ./Middlewares/Third_Party/LwIP/src/core/pbuf.cyclo ./Middlewares/Third_Party/LwIP/src/core/pbuf.d ./Middlewares/Third_Party/LwIP/src/core/pbuf.o ./Middlewares/Third_Party/LwIP/src/core/pbuf.su ./Middlewares/Third_Party/LwIP/src/core/raw.cyclo ./Middlewares/Third_Party/LwIP/src/core/raw.d ./Middlewares/Third_Party/LwIP/src/core/raw.o ./Middlewares/Third_Party/LwIP/src/core/raw.su ./Middlewares/Third_Party/LwIP/src/core/stats.cyclo ./Middlewares/Third_Party/LwIP/src/core/stats.d ./Middlewares/Third_Party/LwIP/src/core/stats.o ./Middlewares/Third_Party/LwIP/src/core/stats.su ./Middlewares/Third_Party/LwIP/src/core/sys.cyclo ./Middlewares/Third_Party/LwIP/src/core/sys.d ./Middlewares/Third_Party/LwIP/src/core/sys.o ./Middlewares/Third_Party/LwIP/src/core/sys.su ./Middlewares/Third_Party/LwIP/src/core/tcp.cyclo ./Middlewares/Third_Party/LwIP/src/core/tcp.d ./Middlewares/Third_Party/LwIP/src/core/tcp.o ./Middlewares/Third_Party/LwIP/src/core/tcp.su ./Middlewares/Third_Party/LwIP/src/core/tcp_in.cyclo ./Middlewares/Third_Party/LwIP/src/core/tcp_in.d ./Middlewares/Third_Party/LwIP/src/core/tcp_in.o ./Middlewares/Third_Party/LwIP/src/core/tcp_in.su ./Middlewares/Third_Party/LwIP/src/core/tcp_out.cyclo ./Middlewares/Third_Party/LwIP/src/core/tcp_out.d ./Middlewares/Third_Party/LwIP/src/core/tcp_out.o ./Middlewares/Third_Party/LwIP/src/core/tcp_out.su ./Middlewares/Third_Party/LwIP/src/core/timeouts.cyclo ./Middlewares/Third_Party/LwIP/src/core/timeouts.d ./Middlewares/Third_Party/LwIP/src/core/timeouts.o ./Middlewares/Third_Party/LwIP/src/core/timeouts.su ./Middlewares/Third_Party/LwIP/src/core/udp.cyclo ./Middlewares/Third_Party/LwIP/src/core/udp.d ./Middlewares/Third_Party/LwIP/src/core/udp.o ./Middlewares/Third_Party/LwIP/src/core/udp.su .PHONY: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-core diff --git a/Release/Middlewares/Third_Party/LwIP/src/netif/ppp/subdir.mk b/Release/Middlewares/Third_Party/LwIP/src/netif/ppp/subdir.mk index 5ee9563..30ba85d 100644 --- a/Release/Middlewares/Third_Party/LwIP/src/netif/ppp/subdir.mk +++ b/Release/Middlewares/Third_Party/LwIP/src/netif/ppp/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -87,13 +87,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -Middlewares/Third_Party/LwIP/src/netif/ppp/%.o Middlewares/Third_Party/LwIP/src/netif/ppp/%.su: ../Middlewares/Third_Party/LwIP/src/netif/ppp/%.c Middlewares/Third_Party/LwIP/src/netif/ppp/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +Middlewares/Third_Party/LwIP/src/netif/ppp/%.o Middlewares/Third_Party/LwIP/src/netif/ppp/%.su Middlewares/Third_Party/LwIP/src/netif/ppp/%.cyclo: ../Middlewares/Third_Party/LwIP/src/netif/ppp/%.c Middlewares/Third_Party/LwIP/src/netif/ppp/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-netif-2f-ppp clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-netif-2f-ppp: - -$(RM) ./Middlewares/Third_Party/LwIP/src/netif/ppp/auth.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/auth.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/demand.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/demand.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/eap.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/eap.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/magic.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/magic.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/upap.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/upap.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/utils.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/utils.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/vj.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/vj.su + -$(RM) ./Middlewares/Third_Party/LwIP/src/netif/ppp/auth.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/auth.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/auth.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-md5.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap-new.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/demand.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/demand.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/demand.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/demand.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/eap.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/eap.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/eap.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/eap.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/ecp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/eui64.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/fsm.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipcp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/ipv6cp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/lcp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/magic.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/magic.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/magic.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/magic.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/mppe.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/multilink.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/ppp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppapi.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppcrypt.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppoe.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppol2tp.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/pppos.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/upap.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/upap.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/upap.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/upap.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/utils.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/utils.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/utils.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/utils.su ./Middlewares/Third_Party/LwIP/src/netif/ppp/vj.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ppp/vj.d ./Middlewares/Third_Party/LwIP/src/netif/ppp/vj.o ./Middlewares/Third_Party/LwIP/src/netif/ppp/vj.su .PHONY: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-netif-2f-ppp diff --git a/Release/Middlewares/Third_Party/LwIP/src/netif/subdir.mk b/Release/Middlewares/Third_Party/LwIP/src/netif/subdir.mk index f1a928e..b64c3de 100644 --- a/Release/Middlewares/Third_Party/LwIP/src/netif/subdir.mk +++ b/Release/Middlewares/Third_Party/LwIP/src/netif/subdir.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ # Add inputs and outputs from these tool invocations to the build variables @@ -36,13 +36,13 @@ C_DEPS += \ # Each subdirectory must supply rules for building sources it contributes -Middlewares/Third_Party/LwIP/src/netif/%.o Middlewares/Third_Party/LwIP/src/netif/%.su: ../Middlewares/Third_Party/LwIP/src/netif/%.c Middlewares/Third_Party/LwIP/src/netif/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" +Middlewares/Third_Party/LwIP/src/netif/%.o Middlewares/Third_Party/LwIP/src/netif/%.su Middlewares/Third_Party/LwIP/src/netif/%.cyclo: ../Middlewares/Third_Party/LwIP/src/netif/%.c Middlewares/Third_Party/LwIP/src/netif/subdir.mk + arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../LWIP/App -I../LWIP/Target -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/BSP/Components/dp83848 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" clean: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-netif clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-netif: - -$(RM) ./Middlewares/Third_Party/LwIP/src/netif/bridgeif.d ./Middlewares/Third_Party/LwIP/src/netif/bridgeif.o ./Middlewares/Third_Party/LwIP/src/netif/bridgeif.su ./Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.d ./Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o ./Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.su ./Middlewares/Third_Party/LwIP/src/netif/ethernet.d ./Middlewares/Third_Party/LwIP/src/netif/ethernet.o ./Middlewares/Third_Party/LwIP/src/netif/ethernet.su ./Middlewares/Third_Party/LwIP/src/netif/lowpan6.d ./Middlewares/Third_Party/LwIP/src/netif/lowpan6.o ./Middlewares/Third_Party/LwIP/src/netif/lowpan6.su ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.d ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.su ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.d ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.su ./Middlewares/Third_Party/LwIP/src/netif/slipif.d ./Middlewares/Third_Party/LwIP/src/netif/slipif.o ./Middlewares/Third_Party/LwIP/src/netif/slipif.su ./Middlewares/Third_Party/LwIP/src/netif/zepif.d ./Middlewares/Third_Party/LwIP/src/netif/zepif.o ./Middlewares/Third_Party/LwIP/src/netif/zepif.su + -$(RM) ./Middlewares/Third_Party/LwIP/src/netif/bridgeif.cyclo ./Middlewares/Third_Party/LwIP/src/netif/bridgeif.d ./Middlewares/Third_Party/LwIP/src/netif/bridgeif.o ./Middlewares/Third_Party/LwIP/src/netif/bridgeif.su ./Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.cyclo ./Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.d ./Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.o ./Middlewares/Third_Party/LwIP/src/netif/bridgeif_fdb.su ./Middlewares/Third_Party/LwIP/src/netif/ethernet.cyclo ./Middlewares/Third_Party/LwIP/src/netif/ethernet.d ./Middlewares/Third_Party/LwIP/src/netif/ethernet.o ./Middlewares/Third_Party/LwIP/src/netif/ethernet.su ./Middlewares/Third_Party/LwIP/src/netif/lowpan6.cyclo ./Middlewares/Third_Party/LwIP/src/netif/lowpan6.d ./Middlewares/Third_Party/LwIP/src/netif/lowpan6.o ./Middlewares/Third_Party/LwIP/src/netif/lowpan6.su ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.cyclo ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.d ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.o ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_ble.su ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.cyclo ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.d ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.o ./Middlewares/Third_Party/LwIP/src/netif/lowpan6_common.su ./Middlewares/Third_Party/LwIP/src/netif/slipif.cyclo ./Middlewares/Third_Party/LwIP/src/netif/slipif.d ./Middlewares/Third_Party/LwIP/src/netif/slipif.o ./Middlewares/Third_Party/LwIP/src/netif/slipif.su ./Middlewares/Third_Party/LwIP/src/netif/zepif.cyclo ./Middlewares/Third_Party/LwIP/src/netif/zepif.d ./Middlewares/Third_Party/LwIP/src/netif/zepif.o ./Middlewares/Third_Party/LwIP/src/netif/zepif.su .PHONY: clean-Middlewares-2f-Third_Party-2f-LwIP-2f-src-2f-netif diff --git a/Release/makefile b/Release/makefile index 67d3d82..aa71b19 100644 --- a/Release/makefile +++ b/Release/makefile @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ -include ../makefile.init diff --git a/Release/objects.list b/Release/objects.list index 87ca6e6..cea01d7 100644 --- a/Release/objects.list +++ b/Release/objects.list @@ -1,4 +1,6 @@ +"./Core/Src/FLASH_SECTOR_F4.o" "./Core/Src/main.o" +"./Core/Src/pribors.o" "./Core/Src/stm32f4xx_hal_msp.o" "./Core/Src/stm32f4xx_it.o" "./Core/Src/system_stm32f4xx.o" diff --git a/Release/objects.mk b/Release/objects.mk index e423e31..94e86f7 100644 --- a/Release/objects.mk +++ b/Release/objects.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ USER_OBJS := diff --git a/Release/sources.mk b/Release/sources.mk index 9810347..182aa5f 100644 --- a/Release/sources.mk +++ b/Release/sources.mk @@ -1,6 +1,6 @@ ################################################################################ # Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (10.3-2021.10) +# Toolchain: GNU Tools for STM32 (12.3.rel1) ################################################################################ ELF_SRCS := @@ -9,6 +9,7 @@ S_SRCS := C_SRCS := S_UPPER_SRCS := O_SRCS := +CYCLO_FILES := SIZE_OUTPUT := OBJDUMP_LIST := SU_FILES := diff --git a/Release/yau-07b.list b/Release/yau-07b.list index bc3dcff..1f6a428 100644 --- a/Release/yau-07b.list +++ b/Release/yau-07b.list @@ -3,73 +3,69 @@ yau-07b.elf: file format elf32-littlearm Sections: Idx Name Size VMA LMA File off Algn - 0 .isr_vector 000001ac 08000000 08000000 00010000 2**0 + 0 .isr_vector 000001ac 08000000 08000000 00001000 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA - 1 .text 0000a350 080001b0 080001b0 000101b0 2**4 + 1 .text 0000ae94 080001b0 080001b0 000011b0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE - 2 .rodata 0000228c 0800a500 0800a500 0001a500 2**2 + 2 .rodata 00002228 0800b044 0800b044 0000c044 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 3 .ARM.extab 00000000 0800c78c 0800c78c 0002008c 2**0 + 3 .ARM.extab 00000000 0800d26c 0800d26c 0000f084 2**0 CONTENTS - 4 .ARM 00000008 0800c78c 0800c78c 0001c78c 2**2 + 4 .ARM 00000008 0800d26c 0800d26c 0000e26c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 5 .preinit_array 00000000 0800c794 0800c794 0002008c 2**0 + 5 .preinit_array 00000000 0800d274 0800d274 0000f084 2**0 CONTENTS, ALLOC, LOAD, DATA - 6 .init_array 00000004 0800c794 0800c794 0001c794 2**2 + 6 .init_array 00000004 0800d274 0800d274 0000e274 2**2 CONTENTS, ALLOC, LOAD, DATA - 7 .fini_array 00000004 0800c798 0800c798 0001c798 2**2 + 7 .fini_array 00000004 0800d278 0800d278 0000e278 2**2 CONTENTS, ALLOC, LOAD, DATA - 8 .data 0000008c 20000000 0800c79c 00020000 2**2 + 8 .data 00000084 20000000 0800d27c 0000f000 2**2 CONTENTS, ALLOC, LOAD, DATA - 9 .ccmram 00000000 10000000 10000000 0002008c 2**0 + 9 .ccmram 00000000 10000000 10000000 0000f084 2**0 CONTENTS - 10 .bss 000083c8 2000008c 2000008c 0002008c 2**2 + 10 .bss 00018cd4 20000084 20000084 0000f084 2**2 ALLOC - 11 ._user_heap_stack 00000604 20008454 20008454 0002008c 2**0 + 11 ._user_heap_stack 00000600 20018d58 20018d58 0000f084 2**0 ALLOC - 12 .ARM.attributes 00000030 00000000 00000000 0002008c 2**0 + 12 .ARM.attributes 00000030 00000000 00000000 0000f084 2**0 CONTENTS, READONLY - 13 .comment 00000050 00000000 00000000 000200bc 2**0 + 13 .comment 00000043 00000000 00000000 0000f0b4 2**0 CONTENTS, READONLY - 14 .debug_frame 00000c40 00000000 00000000 0002010c 2**2 + 14 .debug_frame 00000bec 00000000 00000000 0000f0f8 2**2 CONTENTS, READONLY, DEBUGGING, OCTETS - 15 .stab 000000cc 00000000 00000000 00020d4c 2**2 - CONTENTS, READONLY, DEBUGGING - 16 .stabstr 000001b9 00000000 00000000 00020e18 2**0 - CONTENTS, READONLY, DEBUGGING Disassembly of section .text: 080001b0 <__do_global_dtors_aux>: 80001b0: b510 push {r4, lr} - 80001b2: 4c05 ldr r4, [pc, #20] ; (80001c8 <__do_global_dtors_aux+0x18>) + 80001b2: 4c05 ldr r4, [pc, #20] @ (80001c8 <__do_global_dtors_aux+0x18>) 80001b4: 7823 ldrb r3, [r4, #0] 80001b6: b933 cbnz r3, 80001c6 <__do_global_dtors_aux+0x16> - 80001b8: 4b04 ldr r3, [pc, #16] ; (80001cc <__do_global_dtors_aux+0x1c>) + 80001b8: 4b04 ldr r3, [pc, #16] @ (80001cc <__do_global_dtors_aux+0x1c>) 80001ba: b113 cbz r3, 80001c2 <__do_global_dtors_aux+0x12> - 80001bc: 4804 ldr r0, [pc, #16] ; (80001d0 <__do_global_dtors_aux+0x20>) + 80001bc: 4804 ldr r0, [pc, #16] @ (80001d0 <__do_global_dtors_aux+0x20>) 80001be: f3af 8000 nop.w 80001c2: 2301 movs r3, #1 80001c4: 7023 strb r3, [r4, #0] 80001c6: bd10 pop {r4, pc} - 80001c8: 2000008c .word 0x2000008c + 80001c8: 20000084 .word 0x20000084 80001cc: 00000000 .word 0x00000000 - 80001d0: 0800a4e8 .word 0x0800a4e8 + 80001d0: 0800b02c .word 0x0800b02c 080001d4 : 80001d4: b508 push {r3, lr} - 80001d6: 4b03 ldr r3, [pc, #12] ; (80001e4 ) + 80001d6: 4b03 ldr r3, [pc, #12] @ (80001e4 ) 80001d8: b11b cbz r3, 80001e2 - 80001da: 4903 ldr r1, [pc, #12] ; (80001e8 ) - 80001dc: 4803 ldr r0, [pc, #12] ; (80001ec ) + 80001da: 4903 ldr r1, [pc, #12] @ (80001e8 ) + 80001dc: 4803 ldr r0, [pc, #12] @ (80001ec ) 80001de: f3af 8000 nop.w 80001e2: bd08 pop {r3, pc} 80001e4: 00000000 .word 0x00000000 - 80001e8: 20000090 .word 0x20000090 - 80001ec: 0800a4e8 .word 0x0800a4e8 + 80001e8: 20000088 .word 0x20000088 + 80001ec: 0800b02c .word 0x0800b02c 080001f0 : - 80001f0: f001 01ff and.w r1, r1, #255 ; 0xff + 80001f0: f001 01ff and.w r1, r1, #255 @ 0xff 80001f4: 2a10 cmp r2, #16 80001f6: db2b blt.n 8000250 80001f8: f010 0f07 tst.w r0, #7 @@ -98,7 +94,7 @@ Disassembly of section .text: 8000242: b98e cbnz r6, 8000268 8000244: d1ee bne.n 8000224 8000246: bcf0 pop {r4, r5, r6, r7} - 8000248: f001 01ff and.w r1, r1, #255 ; 0xff + 8000248: f001 01ff and.w r1, r1, #255 @ 0xff 800024c: f002 0207 and.w r2, r2, #7 8000250: b132 cbz r2, 8000260 8000252: f810 3b01 ldrb.w r3, [r0], #1 @@ -118,10 +114,10 @@ Disassembly of section .text: 8000272: f015 0f01 tst.w r5, #1 8000276: d107 bne.n 8000288 8000278: 3001 adds r0, #1 - 800027a: f415 7f80 tst.w r5, #256 ; 0x100 + 800027a: f415 7f80 tst.w r5, #256 @ 0x100 800027e: bf02 ittt eq 8000280: 3001 addeq r0, #1 - 8000282: f415 3fc0 tsteq.w r5, #98304 ; 0x18000 + 8000282: f415 3fc0 tsteq.w r5, #98304 @ 0x18000 8000286: 3001 addeq r0, #1 8000288: bcf0 pop {r4, r5, r6, r7} 800028a: 3801 subs r0, #1 @@ -137,7 +133,7 @@ Disassembly of section .text: 800029a: bf1c itt ne 800029c: f04f 31ff movne.w r1, #4294967295 80002a0: f04f 30ff movne.w r0, #4294967295 - 80002a4: f000 b974 b.w 8000590 <__aeabi_idiv0> + 80002a4: f000 b96a b.w 800057c <__aeabi_idiv0> 80002a8: f1ad 0c08 sub.w ip, sp, #8 80002ac: e96d ce04 strd ip, lr, [sp, #-16]! 80002b0: f000 f806 bl 80002c0 <__udivmoddi4> @@ -149,16702 +145,17892 @@ Disassembly of section .text: 080002c0 <__udivmoddi4>: 80002c0: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} 80002c4: 9d08 ldr r5, [sp, #32] - 80002c6: 4604 mov r4, r0 - 80002c8: 468e mov lr, r1 - 80002ca: 2b00 cmp r3, #0 - 80002cc: d14d bne.n 800036a <__udivmoddi4+0xaa> - 80002ce: 428a cmp r2, r1 - 80002d0: 4694 mov ip, r2 - 80002d2: d969 bls.n 80003a8 <__udivmoddi4+0xe8> - 80002d4: fab2 f282 clz r2, r2 - 80002d8: b152 cbz r2, 80002f0 <__udivmoddi4+0x30> - 80002da: fa01 f302 lsl.w r3, r1, r2 - 80002de: f1c2 0120 rsb r1, r2, #32 - 80002e2: fa20 f101 lsr.w r1, r0, r1 - 80002e6: fa0c fc02 lsl.w ip, ip, r2 - 80002ea: ea41 0e03 orr.w lr, r1, r3 - 80002ee: 4094 lsls r4, r2 - 80002f0: ea4f 481c mov.w r8, ip, lsr #16 - 80002f4: 0c21 lsrs r1, r4, #16 - 80002f6: fbbe f6f8 udiv r6, lr, r8 - 80002fa: fa1f f78c uxth.w r7, ip - 80002fe: fb08 e316 mls r3, r8, r6, lr - 8000302: ea41 4303 orr.w r3, r1, r3, lsl #16 - 8000306: fb06 f107 mul.w r1, r6, r7 + 80002c6: 460c mov r4, r1 + 80002c8: 2b00 cmp r3, #0 + 80002ca: d14e bne.n 800036a <__udivmoddi4+0xaa> + 80002cc: 4694 mov ip, r2 + 80002ce: 458c cmp ip, r1 + 80002d0: 4686 mov lr, r0 + 80002d2: fab2 f282 clz r2, r2 + 80002d6: d962 bls.n 800039e <__udivmoddi4+0xde> + 80002d8: b14a cbz r2, 80002ee <__udivmoddi4+0x2e> + 80002da: f1c2 0320 rsb r3, r2, #32 + 80002de: 4091 lsls r1, r2 + 80002e0: fa20 f303 lsr.w r3, r0, r3 + 80002e4: fa0c fc02 lsl.w ip, ip, r2 + 80002e8: 4319 orrs r1, r3 + 80002ea: fa00 fe02 lsl.w lr, r0, r2 + 80002ee: ea4f 471c mov.w r7, ip, lsr #16 + 80002f2: fa1f f68c uxth.w r6, ip + 80002f6: fbb1 f4f7 udiv r4, r1, r7 + 80002fa: ea4f 431e mov.w r3, lr, lsr #16 + 80002fe: fb07 1114 mls r1, r7, r4, r1 + 8000302: ea43 4301 orr.w r3, r3, r1, lsl #16 + 8000306: fb04 f106 mul.w r1, r4, r6 800030a: 4299 cmp r1, r3 800030c: d90a bls.n 8000324 <__udivmoddi4+0x64> 800030e: eb1c 0303 adds.w r3, ip, r3 - 8000312: f106 30ff add.w r0, r6, #4294967295 - 8000316: f080 811f bcs.w 8000558 <__udivmoddi4+0x298> + 8000312: f104 30ff add.w r0, r4, #4294967295 + 8000316: f080 8112 bcs.w 800053e <__udivmoddi4+0x27e> 800031a: 4299 cmp r1, r3 - 800031c: f240 811c bls.w 8000558 <__udivmoddi4+0x298> - 8000320: 3e02 subs r6, #2 + 800031c: f240 810f bls.w 800053e <__udivmoddi4+0x27e> + 8000320: 3c02 subs r4, #2 8000322: 4463 add r3, ip - 8000324: 1a5b subs r3, r3, r1 - 8000326: b2a4 uxth r4, r4 - 8000328: fbb3 f0f8 udiv r0, r3, r8 - 800032c: fb08 3310 mls r3, r8, r0, r3 - 8000330: ea44 4403 orr.w r4, r4, r3, lsl #16 - 8000334: fb00 f707 mul.w r7, r0, r7 - 8000338: 42a7 cmp r7, r4 - 800033a: d90a bls.n 8000352 <__udivmoddi4+0x92> - 800033c: eb1c 0404 adds.w r4, ip, r4 - 8000340: f100 33ff add.w r3, r0, #4294967295 - 8000344: f080 810a bcs.w 800055c <__udivmoddi4+0x29c> - 8000348: 42a7 cmp r7, r4 - 800034a: f240 8107 bls.w 800055c <__udivmoddi4+0x29c> - 800034e: 4464 add r4, ip - 8000350: 3802 subs r0, #2 - 8000352: ea40 4006 orr.w r0, r0, r6, lsl #16 - 8000356: 1be4 subs r4, r4, r7 - 8000358: 2600 movs r6, #0 - 800035a: b11d cbz r5, 8000364 <__udivmoddi4+0xa4> - 800035c: 40d4 lsrs r4, r2 - 800035e: 2300 movs r3, #0 - 8000360: e9c5 4300 strd r4, r3, [r5] - 8000364: 4631 mov r1, r6 + 8000324: 1a59 subs r1, r3, r1 + 8000326: fa1f f38e uxth.w r3, lr + 800032a: fbb1 f0f7 udiv r0, r1, r7 + 800032e: fb07 1110 mls r1, r7, r0, r1 + 8000332: ea43 4301 orr.w r3, r3, r1, lsl #16 + 8000336: fb00 f606 mul.w r6, r0, r6 + 800033a: 429e cmp r6, r3 + 800033c: d90a bls.n 8000354 <__udivmoddi4+0x94> + 800033e: eb1c 0303 adds.w r3, ip, r3 + 8000342: f100 31ff add.w r1, r0, #4294967295 + 8000346: f080 80fc bcs.w 8000542 <__udivmoddi4+0x282> + 800034a: 429e cmp r6, r3 + 800034c: f240 80f9 bls.w 8000542 <__udivmoddi4+0x282> + 8000350: 4463 add r3, ip + 8000352: 3802 subs r0, #2 + 8000354: 1b9b subs r3, r3, r6 + 8000356: ea40 4004 orr.w r0, r0, r4, lsl #16 + 800035a: 2100 movs r1, #0 + 800035c: b11d cbz r5, 8000366 <__udivmoddi4+0xa6> + 800035e: 40d3 lsrs r3, r2 + 8000360: 2200 movs r2, #0 + 8000362: e9c5 3200 strd r3, r2, [r5] 8000366: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} 800036a: 428b cmp r3, r1 - 800036c: d909 bls.n 8000382 <__udivmoddi4+0xc2> - 800036e: 2d00 cmp r5, #0 - 8000370: f000 80ef beq.w 8000552 <__udivmoddi4+0x292> - 8000374: 2600 movs r6, #0 - 8000376: e9c5 0100 strd r0, r1, [r5] - 800037a: 4630 mov r0, r6 - 800037c: 4631 mov r1, r6 - 800037e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8000382: fab3 f683 clz r6, r3 - 8000386: 2e00 cmp r6, #0 - 8000388: d14a bne.n 8000420 <__udivmoddi4+0x160> - 800038a: 428b cmp r3, r1 - 800038c: d302 bcc.n 8000394 <__udivmoddi4+0xd4> - 800038e: 4282 cmp r2, r0 - 8000390: f200 80f9 bhi.w 8000586 <__udivmoddi4+0x2c6> - 8000394: 1a84 subs r4, r0, r2 - 8000396: eb61 0303 sbc.w r3, r1, r3 - 800039a: 2001 movs r0, #1 - 800039c: 469e mov lr, r3 - 800039e: 2d00 cmp r5, #0 - 80003a0: d0e0 beq.n 8000364 <__udivmoddi4+0xa4> - 80003a2: e9c5 4e00 strd r4, lr, [r5] - 80003a6: e7dd b.n 8000364 <__udivmoddi4+0xa4> - 80003a8: b902 cbnz r2, 80003ac <__udivmoddi4+0xec> - 80003aa: deff udf #255 ; 0xff - 80003ac: fab2 f282 clz r2, r2 - 80003b0: 2a00 cmp r2, #0 - 80003b2: f040 8092 bne.w 80004da <__udivmoddi4+0x21a> - 80003b6: eba1 010c sub.w r1, r1, ip - 80003ba: ea4f 471c mov.w r7, ip, lsr #16 - 80003be: fa1f fe8c uxth.w lr, ip - 80003c2: 2601 movs r6, #1 - 80003c4: 0c20 lsrs r0, r4, #16 - 80003c6: fbb1 f3f7 udiv r3, r1, r7 - 80003ca: fb07 1113 mls r1, r7, r3, r1 - 80003ce: ea40 4101 orr.w r1, r0, r1, lsl #16 - 80003d2: fb0e f003 mul.w r0, lr, r3 - 80003d6: 4288 cmp r0, r1 - 80003d8: d908 bls.n 80003ec <__udivmoddi4+0x12c> - 80003da: eb1c 0101 adds.w r1, ip, r1 - 80003de: f103 38ff add.w r8, r3, #4294967295 - 80003e2: d202 bcs.n 80003ea <__udivmoddi4+0x12a> - 80003e4: 4288 cmp r0, r1 - 80003e6: f200 80cb bhi.w 8000580 <__udivmoddi4+0x2c0> - 80003ea: 4643 mov r3, r8 - 80003ec: 1a09 subs r1, r1, r0 - 80003ee: b2a4 uxth r4, r4 - 80003f0: fbb1 f0f7 udiv r0, r1, r7 - 80003f4: fb07 1110 mls r1, r7, r0, r1 - 80003f8: ea44 4401 orr.w r4, r4, r1, lsl #16 - 80003fc: fb0e fe00 mul.w lr, lr, r0 - 8000400: 45a6 cmp lr, r4 - 8000402: d908 bls.n 8000416 <__udivmoddi4+0x156> - 8000404: eb1c 0404 adds.w r4, ip, r4 - 8000408: f100 31ff add.w r1, r0, #4294967295 - 800040c: d202 bcs.n 8000414 <__udivmoddi4+0x154> - 800040e: 45a6 cmp lr, r4 - 8000410: f200 80bb bhi.w 800058a <__udivmoddi4+0x2ca> - 8000414: 4608 mov r0, r1 - 8000416: eba4 040e sub.w r4, r4, lr - 800041a: ea40 4003 orr.w r0, r0, r3, lsl #16 - 800041e: e79c b.n 800035a <__udivmoddi4+0x9a> - 8000420: f1c6 0720 rsb r7, r6, #32 - 8000424: 40b3 lsls r3, r6 - 8000426: fa22 fc07 lsr.w ip, r2, r7 - 800042a: ea4c 0c03 orr.w ip, ip, r3 - 800042e: fa20 f407 lsr.w r4, r0, r7 - 8000432: fa01 f306 lsl.w r3, r1, r6 - 8000436: 431c orrs r4, r3 - 8000438: 40f9 lsrs r1, r7 - 800043a: ea4f 491c mov.w r9, ip, lsr #16 - 800043e: fa00 f306 lsl.w r3, r0, r6 - 8000442: fbb1 f8f9 udiv r8, r1, r9 - 8000446: 0c20 lsrs r0, r4, #16 - 8000448: fa1f fe8c uxth.w lr, ip - 800044c: fb09 1118 mls r1, r9, r8, r1 - 8000450: ea40 4101 orr.w r1, r0, r1, lsl #16 - 8000454: fb08 f00e mul.w r0, r8, lr - 8000458: 4288 cmp r0, r1 - 800045a: fa02 f206 lsl.w r2, r2, r6 - 800045e: d90b bls.n 8000478 <__udivmoddi4+0x1b8> - 8000460: eb1c 0101 adds.w r1, ip, r1 - 8000464: f108 3aff add.w sl, r8, #4294967295 - 8000468: f080 8088 bcs.w 800057c <__udivmoddi4+0x2bc> - 800046c: 4288 cmp r0, r1 - 800046e: f240 8085 bls.w 800057c <__udivmoddi4+0x2bc> - 8000472: f1a8 0802 sub.w r8, r8, #2 - 8000476: 4461 add r1, ip - 8000478: 1a09 subs r1, r1, r0 - 800047a: b2a4 uxth r4, r4 - 800047c: fbb1 f0f9 udiv r0, r1, r9 - 8000480: fb09 1110 mls r1, r9, r0, r1 - 8000484: ea44 4101 orr.w r1, r4, r1, lsl #16 - 8000488: fb00 fe0e mul.w lr, r0, lr - 800048c: 458e cmp lr, r1 - 800048e: d908 bls.n 80004a2 <__udivmoddi4+0x1e2> - 8000490: eb1c 0101 adds.w r1, ip, r1 - 8000494: f100 34ff add.w r4, r0, #4294967295 - 8000498: d26c bcs.n 8000574 <__udivmoddi4+0x2b4> - 800049a: 458e cmp lr, r1 - 800049c: d96a bls.n 8000574 <__udivmoddi4+0x2b4> - 800049e: 3802 subs r0, #2 - 80004a0: 4461 add r1, ip - 80004a2: ea40 4008 orr.w r0, r0, r8, lsl #16 - 80004a6: fba0 9402 umull r9, r4, r0, r2 - 80004aa: eba1 010e sub.w r1, r1, lr - 80004ae: 42a1 cmp r1, r4 - 80004b0: 46c8 mov r8, r9 - 80004b2: 46a6 mov lr, r4 - 80004b4: d356 bcc.n 8000564 <__udivmoddi4+0x2a4> - 80004b6: d053 beq.n 8000560 <__udivmoddi4+0x2a0> - 80004b8: b15d cbz r5, 80004d2 <__udivmoddi4+0x212> - 80004ba: ebb3 0208 subs.w r2, r3, r8 - 80004be: eb61 010e sbc.w r1, r1, lr - 80004c2: fa01 f707 lsl.w r7, r1, r7 - 80004c6: fa22 f306 lsr.w r3, r2, r6 - 80004ca: 40f1 lsrs r1, r6 - 80004cc: 431f orrs r7, r3 - 80004ce: e9c5 7100 strd r7, r1, [r5] - 80004d2: 2600 movs r6, #0 - 80004d4: 4631 mov r1, r6 - 80004d6: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 80004da: f1c2 0320 rsb r3, r2, #32 - 80004de: 40d8 lsrs r0, r3 - 80004e0: fa0c fc02 lsl.w ip, ip, r2 - 80004e4: fa21 f303 lsr.w r3, r1, r3 - 80004e8: 4091 lsls r1, r2 - 80004ea: 4301 orrs r1, r0 - 80004ec: ea4f 471c mov.w r7, ip, lsr #16 - 80004f0: fa1f fe8c uxth.w lr, ip - 80004f4: fbb3 f0f7 udiv r0, r3, r7 - 80004f8: fb07 3610 mls r6, r7, r0, r3 - 80004fc: 0c0b lsrs r3, r1, #16 - 80004fe: ea43 4306 orr.w r3, r3, r6, lsl #16 - 8000502: fb00 f60e mul.w r6, r0, lr - 8000506: 429e cmp r6, r3 - 8000508: fa04 f402 lsl.w r4, r4, r2 - 800050c: d908 bls.n 8000520 <__udivmoddi4+0x260> - 800050e: eb1c 0303 adds.w r3, ip, r3 - 8000512: f100 38ff add.w r8, r0, #4294967295 - 8000516: d22f bcs.n 8000578 <__udivmoddi4+0x2b8> - 8000518: 429e cmp r6, r3 - 800051a: d92d bls.n 8000578 <__udivmoddi4+0x2b8> - 800051c: 3802 subs r0, #2 - 800051e: 4463 add r3, ip - 8000520: 1b9b subs r3, r3, r6 - 8000522: b289 uxth r1, r1 - 8000524: fbb3 f6f7 udiv r6, r3, r7 - 8000528: fb07 3316 mls r3, r7, r6, r3 - 800052c: ea41 4103 orr.w r1, r1, r3, lsl #16 - 8000530: fb06 f30e mul.w r3, r6, lr - 8000534: 428b cmp r3, r1 - 8000536: d908 bls.n 800054a <__udivmoddi4+0x28a> - 8000538: eb1c 0101 adds.w r1, ip, r1 - 800053c: f106 38ff add.w r8, r6, #4294967295 - 8000540: d216 bcs.n 8000570 <__udivmoddi4+0x2b0> - 8000542: 428b cmp r3, r1 - 8000544: d914 bls.n 8000570 <__udivmoddi4+0x2b0> - 8000546: 3e02 subs r6, #2 - 8000548: 4461 add r1, ip - 800054a: 1ac9 subs r1, r1, r3 - 800054c: ea46 4600 orr.w r6, r6, r0, lsl #16 - 8000550: e738 b.n 80003c4 <__udivmoddi4+0x104> - 8000552: 462e mov r6, r5 - 8000554: 4628 mov r0, r5 - 8000556: e705 b.n 8000364 <__udivmoddi4+0xa4> - 8000558: 4606 mov r6, r0 - 800055a: e6e3 b.n 8000324 <__udivmoddi4+0x64> - 800055c: 4618 mov r0, r3 - 800055e: e6f8 b.n 8000352 <__udivmoddi4+0x92> - 8000560: 454b cmp r3, r9 - 8000562: d2a9 bcs.n 80004b8 <__udivmoddi4+0x1f8> - 8000564: ebb9 0802 subs.w r8, r9, r2 - 8000568: eb64 0e0c sbc.w lr, r4, ip - 800056c: 3801 subs r0, #1 - 800056e: e7a3 b.n 80004b8 <__udivmoddi4+0x1f8> - 8000570: 4646 mov r6, r8 - 8000572: e7ea b.n 800054a <__udivmoddi4+0x28a> - 8000574: 4620 mov r0, r4 - 8000576: e794 b.n 80004a2 <__udivmoddi4+0x1e2> - 8000578: 4640 mov r0, r8 - 800057a: e7d1 b.n 8000520 <__udivmoddi4+0x260> - 800057c: 46d0 mov r8, sl - 800057e: e77b b.n 8000478 <__udivmoddi4+0x1b8> - 8000580: 3b02 subs r3, #2 - 8000582: 4461 add r1, ip - 8000584: e732 b.n 80003ec <__udivmoddi4+0x12c> - 8000586: 4630 mov r0, r6 - 8000588: e709 b.n 800039e <__udivmoddi4+0xde> - 800058a: 4464 add r4, ip - 800058c: 3802 subs r0, #2 - 800058e: e742 b.n 8000416 <__udivmoddi4+0x156> + 800036c: d905 bls.n 800037a <__udivmoddi4+0xba> + 800036e: b10d cbz r5, 8000374 <__udivmoddi4+0xb4> + 8000370: e9c5 0100 strd r0, r1, [r5] + 8000374: 2100 movs r1, #0 + 8000376: 4608 mov r0, r1 + 8000378: e7f5 b.n 8000366 <__udivmoddi4+0xa6> + 800037a: fab3 f183 clz r1, r3 + 800037e: 2900 cmp r1, #0 + 8000380: d146 bne.n 8000410 <__udivmoddi4+0x150> + 8000382: 42a3 cmp r3, r4 + 8000384: d302 bcc.n 800038c <__udivmoddi4+0xcc> + 8000386: 4290 cmp r0, r2 + 8000388: f0c0 80f0 bcc.w 800056c <__udivmoddi4+0x2ac> + 800038c: 1a86 subs r6, r0, r2 + 800038e: eb64 0303 sbc.w r3, r4, r3 + 8000392: 2001 movs r0, #1 + 8000394: 2d00 cmp r5, #0 + 8000396: d0e6 beq.n 8000366 <__udivmoddi4+0xa6> + 8000398: e9c5 6300 strd r6, r3, [r5] + 800039c: e7e3 b.n 8000366 <__udivmoddi4+0xa6> + 800039e: 2a00 cmp r2, #0 + 80003a0: f040 8090 bne.w 80004c4 <__udivmoddi4+0x204> + 80003a4: eba1 040c sub.w r4, r1, ip + 80003a8: ea4f 481c mov.w r8, ip, lsr #16 + 80003ac: fa1f f78c uxth.w r7, ip + 80003b0: 2101 movs r1, #1 + 80003b2: fbb4 f6f8 udiv r6, r4, r8 + 80003b6: ea4f 431e mov.w r3, lr, lsr #16 + 80003ba: fb08 4416 mls r4, r8, r6, r4 + 80003be: ea43 4304 orr.w r3, r3, r4, lsl #16 + 80003c2: fb07 f006 mul.w r0, r7, r6 + 80003c6: 4298 cmp r0, r3 + 80003c8: d908 bls.n 80003dc <__udivmoddi4+0x11c> + 80003ca: eb1c 0303 adds.w r3, ip, r3 + 80003ce: f106 34ff add.w r4, r6, #4294967295 + 80003d2: d202 bcs.n 80003da <__udivmoddi4+0x11a> + 80003d4: 4298 cmp r0, r3 + 80003d6: f200 80cd bhi.w 8000574 <__udivmoddi4+0x2b4> + 80003da: 4626 mov r6, r4 + 80003dc: 1a1c subs r4, r3, r0 + 80003de: fa1f f38e uxth.w r3, lr + 80003e2: fbb4 f0f8 udiv r0, r4, r8 + 80003e6: fb08 4410 mls r4, r8, r0, r4 + 80003ea: ea43 4304 orr.w r3, r3, r4, lsl #16 + 80003ee: fb00 f707 mul.w r7, r0, r7 + 80003f2: 429f cmp r7, r3 + 80003f4: d908 bls.n 8000408 <__udivmoddi4+0x148> + 80003f6: eb1c 0303 adds.w r3, ip, r3 + 80003fa: f100 34ff add.w r4, r0, #4294967295 + 80003fe: d202 bcs.n 8000406 <__udivmoddi4+0x146> + 8000400: 429f cmp r7, r3 + 8000402: f200 80b0 bhi.w 8000566 <__udivmoddi4+0x2a6> + 8000406: 4620 mov r0, r4 + 8000408: 1bdb subs r3, r3, r7 + 800040a: ea40 4006 orr.w r0, r0, r6, lsl #16 + 800040e: e7a5 b.n 800035c <__udivmoddi4+0x9c> + 8000410: f1c1 0620 rsb r6, r1, #32 + 8000414: 408b lsls r3, r1 + 8000416: fa22 f706 lsr.w r7, r2, r6 + 800041a: 431f orrs r7, r3 + 800041c: fa20 fc06 lsr.w ip, r0, r6 + 8000420: fa04 f301 lsl.w r3, r4, r1 + 8000424: ea43 030c orr.w r3, r3, ip + 8000428: 40f4 lsrs r4, r6 + 800042a: fa00 f801 lsl.w r8, r0, r1 + 800042e: 0c38 lsrs r0, r7, #16 + 8000430: ea4f 4913 mov.w r9, r3, lsr #16 + 8000434: fbb4 fef0 udiv lr, r4, r0 + 8000438: fa1f fc87 uxth.w ip, r7 + 800043c: fb00 441e mls r4, r0, lr, r4 + 8000440: ea49 4404 orr.w r4, r9, r4, lsl #16 + 8000444: fb0e f90c mul.w r9, lr, ip + 8000448: 45a1 cmp r9, r4 + 800044a: fa02 f201 lsl.w r2, r2, r1 + 800044e: d90a bls.n 8000466 <__udivmoddi4+0x1a6> + 8000450: 193c adds r4, r7, r4 + 8000452: f10e 3aff add.w sl, lr, #4294967295 + 8000456: f080 8084 bcs.w 8000562 <__udivmoddi4+0x2a2> + 800045a: 45a1 cmp r9, r4 + 800045c: f240 8081 bls.w 8000562 <__udivmoddi4+0x2a2> + 8000460: f1ae 0e02 sub.w lr, lr, #2 + 8000464: 443c add r4, r7 + 8000466: eba4 0409 sub.w r4, r4, r9 + 800046a: fa1f f983 uxth.w r9, r3 + 800046e: fbb4 f3f0 udiv r3, r4, r0 + 8000472: fb00 4413 mls r4, r0, r3, r4 + 8000476: ea49 4404 orr.w r4, r9, r4, lsl #16 + 800047a: fb03 fc0c mul.w ip, r3, ip + 800047e: 45a4 cmp ip, r4 + 8000480: d907 bls.n 8000492 <__udivmoddi4+0x1d2> + 8000482: 193c adds r4, r7, r4 + 8000484: f103 30ff add.w r0, r3, #4294967295 + 8000488: d267 bcs.n 800055a <__udivmoddi4+0x29a> + 800048a: 45a4 cmp ip, r4 + 800048c: d965 bls.n 800055a <__udivmoddi4+0x29a> + 800048e: 3b02 subs r3, #2 + 8000490: 443c add r4, r7 + 8000492: ea43 400e orr.w r0, r3, lr, lsl #16 + 8000496: fba0 9302 umull r9, r3, r0, r2 + 800049a: eba4 040c sub.w r4, r4, ip + 800049e: 429c cmp r4, r3 + 80004a0: 46ce mov lr, r9 + 80004a2: 469c mov ip, r3 + 80004a4: d351 bcc.n 800054a <__udivmoddi4+0x28a> + 80004a6: d04e beq.n 8000546 <__udivmoddi4+0x286> + 80004a8: b155 cbz r5, 80004c0 <__udivmoddi4+0x200> + 80004aa: ebb8 030e subs.w r3, r8, lr + 80004ae: eb64 040c sbc.w r4, r4, ip + 80004b2: fa04 f606 lsl.w r6, r4, r6 + 80004b6: 40cb lsrs r3, r1 + 80004b8: 431e orrs r6, r3 + 80004ba: 40cc lsrs r4, r1 + 80004bc: e9c5 6400 strd r6, r4, [r5] + 80004c0: 2100 movs r1, #0 + 80004c2: e750 b.n 8000366 <__udivmoddi4+0xa6> + 80004c4: f1c2 0320 rsb r3, r2, #32 + 80004c8: fa20 f103 lsr.w r1, r0, r3 + 80004cc: fa0c fc02 lsl.w ip, ip, r2 + 80004d0: fa24 f303 lsr.w r3, r4, r3 + 80004d4: 4094 lsls r4, r2 + 80004d6: 430c orrs r4, r1 + 80004d8: ea4f 481c mov.w r8, ip, lsr #16 + 80004dc: fa00 fe02 lsl.w lr, r0, r2 + 80004e0: fa1f f78c uxth.w r7, ip + 80004e4: fbb3 f0f8 udiv r0, r3, r8 + 80004e8: fb08 3110 mls r1, r8, r0, r3 + 80004ec: 0c23 lsrs r3, r4, #16 + 80004ee: ea43 4301 orr.w r3, r3, r1, lsl #16 + 80004f2: fb00 f107 mul.w r1, r0, r7 + 80004f6: 4299 cmp r1, r3 + 80004f8: d908 bls.n 800050c <__udivmoddi4+0x24c> + 80004fa: eb1c 0303 adds.w r3, ip, r3 + 80004fe: f100 36ff add.w r6, r0, #4294967295 + 8000502: d22c bcs.n 800055e <__udivmoddi4+0x29e> + 8000504: 4299 cmp r1, r3 + 8000506: d92a bls.n 800055e <__udivmoddi4+0x29e> + 8000508: 3802 subs r0, #2 + 800050a: 4463 add r3, ip + 800050c: 1a5b subs r3, r3, r1 + 800050e: b2a4 uxth r4, r4 + 8000510: fbb3 f1f8 udiv r1, r3, r8 + 8000514: fb08 3311 mls r3, r8, r1, r3 + 8000518: ea44 4403 orr.w r4, r4, r3, lsl #16 + 800051c: fb01 f307 mul.w r3, r1, r7 + 8000520: 42a3 cmp r3, r4 + 8000522: d908 bls.n 8000536 <__udivmoddi4+0x276> + 8000524: eb1c 0404 adds.w r4, ip, r4 + 8000528: f101 36ff add.w r6, r1, #4294967295 + 800052c: d213 bcs.n 8000556 <__udivmoddi4+0x296> + 800052e: 42a3 cmp r3, r4 + 8000530: d911 bls.n 8000556 <__udivmoddi4+0x296> + 8000532: 3902 subs r1, #2 + 8000534: 4464 add r4, ip + 8000536: 1ae4 subs r4, r4, r3 + 8000538: ea41 4100 orr.w r1, r1, r0, lsl #16 + 800053c: e739 b.n 80003b2 <__udivmoddi4+0xf2> + 800053e: 4604 mov r4, r0 + 8000540: e6f0 b.n 8000324 <__udivmoddi4+0x64> + 8000542: 4608 mov r0, r1 + 8000544: e706 b.n 8000354 <__udivmoddi4+0x94> + 8000546: 45c8 cmp r8, r9 + 8000548: d2ae bcs.n 80004a8 <__udivmoddi4+0x1e8> + 800054a: ebb9 0e02 subs.w lr, r9, r2 + 800054e: eb63 0c07 sbc.w ip, r3, r7 + 8000552: 3801 subs r0, #1 + 8000554: e7a8 b.n 80004a8 <__udivmoddi4+0x1e8> + 8000556: 4631 mov r1, r6 + 8000558: e7ed b.n 8000536 <__udivmoddi4+0x276> + 800055a: 4603 mov r3, r0 + 800055c: e799 b.n 8000492 <__udivmoddi4+0x1d2> + 800055e: 4630 mov r0, r6 + 8000560: e7d4 b.n 800050c <__udivmoddi4+0x24c> + 8000562: 46d6 mov lr, sl + 8000564: e77f b.n 8000466 <__udivmoddi4+0x1a6> + 8000566: 4463 add r3, ip + 8000568: 3802 subs r0, #2 + 800056a: e74d b.n 8000408 <__udivmoddi4+0x148> + 800056c: 4606 mov r6, r0 + 800056e: 4623 mov r3, r4 + 8000570: 4608 mov r0, r1 + 8000572: e70f b.n 8000394 <__udivmoddi4+0xd4> + 8000574: 3e02 subs r6, #2 + 8000576: 4463 add r3, ip + 8000578: e730 b.n 80003dc <__udivmoddi4+0x11c> + 800057a: bf00 nop -08000590 <__aeabi_idiv0>: - 8000590: 4770 bx lr - 8000592: bf00 nop +0800057c <__aeabi_idiv0>: + 800057c: 4770 bx lr + 800057e: bf00 nop -08000594 : - 8000594: b510 push {r4, lr} - 8000596: b094 sub sp, #80 ; 0x50 - 8000598: 2214 movs r2, #20 - 800059a: 2100 movs r1, #0 - 800059c: a809 add r0, sp, #36 ; 0x24 - 800059e: f008 fefb bl 8009398 - 80005a2: 2214 movs r2, #20 - 80005a4: 2100 movs r1, #0 - 80005a6: a803 add r0, sp, #12 - 80005a8: f008 fef6 bl 8009398 - 80005ac: 4b20 ldr r3, [pc, #128] ; (8000630 ) - 80005ae: 2200 movs r2, #0 - 80005b0: 9201 str r2, [sp, #4] - 80005b2: 6c19 ldr r1, [r3, #64] ; 0x40 - 80005b4: f041 5180 orr.w r1, r1, #268435456 ; 0x10000000 - 80005b8: 6419 str r1, [r3, #64] ; 0x40 - 80005ba: 6c1b ldr r3, [r3, #64] ; 0x40 - 80005bc: 491d ldr r1, [pc, #116] ; (8000634 ) - 80005be: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 80005c2: 9301 str r3, [sp, #4] - 80005c4: 9b01 ldr r3, [sp, #4] - 80005c6: 9202 str r2, [sp, #8] - 80005c8: 680b ldr r3, [r1, #0] - 80005ca: f423 4340 bic.w r3, r3, #49152 ; 0xc000 - 80005ce: f443 4380 orr.w r3, r3, #16384 ; 0x4000 - 80005d2: 600b str r3, [r1, #0] - 80005d4: 680b ldr r3, [r1, #0] - 80005d6: f403 4340 and.w r3, r3, #49152 ; 0xc000 - 80005da: 9302 str r3, [sp, #8] - 80005dc: 9b02 ldr r3, [sp, #8] - 80005de: 2101 movs r1, #1 - 80005e0: 2310 movs r3, #16 - 80005e2: 2008 movs r0, #8 - 80005e4: e9cd 130b strd r1, r3, [sp, #44] ; 0x2c - 80005e8: 2364 movs r3, #100 ; 0x64 - 80005ea: 2402 movs r4, #2 - 80005ec: e9cd 0310 strd r0, r3, [sp, #64] ; 0x40 - 80005f0: 2304 movs r3, #4 - 80005f2: a808 add r0, sp, #32 - 80005f4: e9cd 420e strd r4, r2, [sp, #56] ; 0x38 - 80005f8: 9408 str r4, [sp, #32] - 80005fa: 9412 str r4, [sp, #72] ; 0x48 - 80005fc: 9313 str r3, [sp, #76] ; 0x4c - 80005fe: f001 f8cd bl 800179c - 8000602: b108 cbz r0, 8000608 - 8000604: b672 cpsid i - 8000606: e7fe b.n 8000606 - 8000608: 230f movs r3, #15 - 800060a: e9cd 3403 strd r3, r4, [sp, #12] - 800060e: 9005 str r0, [sp, #20] - 8000610: f44f 52a0 mov.w r2, #5120 ; 0x1400 - 8000614: f44f 5380 mov.w r3, #4096 ; 0x1000 - 8000618: 2103 movs r1, #3 - 800061a: a803 add r0, sp, #12 - 800061c: e9cd 2306 strd r2, r3, [sp, #24] - 8000620: f001 fa9a bl 8001b58 - 8000624: b108 cbz r0, 800062a - 8000626: b672 cpsid i - 8000628: e7fe b.n 8000628 - 800062a: b014 add sp, #80 ; 0x50 - 800062c: bd10 pop {r4, pc} - 800062e: bf00 nop - 8000630: 40023800 .word 0x40023800 - 8000634: 40007000 .word 0x40007000 - -08000638
: - 8000638: b500 push {lr} - 800063a: b097 sub sp, #92 ; 0x5c - 800063c: f000 fa2a bl 8000a94 - 8000640: f7ff ffa8 bl 8000594 - 8000644: 2214 movs r2, #20 - 8000646: 2100 movs r1, #0 - 8000648: a80f add r0, sp, #60 ; 0x3c - 800064a: f008 fea5 bl 8009398 - 800064e: 2400 movs r4, #0 - 8000650: 4b46 ldr r3, [pc, #280] ; (800076c ) - 8000652: 9401 str r4, [sp, #4] - 8000654: 6b1a ldr r2, [r3, #48] ; 0x30 - 8000656: 4846 ldr r0, [pc, #280] ; (8000770 ) - 8000658: f042 0210 orr.w r2, r2, #16 - 800065c: 631a str r2, [r3, #48] ; 0x30 - 800065e: 6b1a ldr r2, [r3, #48] ; 0x30 - 8000660: f002 0210 and.w r2, r2, #16 - 8000664: 9201 str r2, [sp, #4] - 8000666: 9a01 ldr r2, [sp, #4] - 8000668: 9402 str r4, [sp, #8] - 800066a: 6b1a ldr r2, [r3, #48] ; 0x30 - 800066c: f042 0204 orr.w r2, r2, #4 - 8000670: 631a str r2, [r3, #48] ; 0x30 - 8000672: 6b1a ldr r2, [r3, #48] ; 0x30 - 8000674: f002 0204 and.w r2, r2, #4 - 8000678: 9202 str r2, [sp, #8] - 800067a: 9a02 ldr r2, [sp, #8] - 800067c: 9403 str r4, [sp, #12] - 800067e: 6b1a ldr r2, [r3, #48] ; 0x30 - 8000680: f042 0220 orr.w r2, r2, #32 - 8000684: 631a str r2, [r3, #48] ; 0x30 - 8000686: 6b1a ldr r2, [r3, #48] ; 0x30 - 8000688: f002 0220 and.w r2, r2, #32 - 800068c: 9203 str r2, [sp, #12] - 800068e: 9a03 ldr r2, [sp, #12] - 8000690: 9404 str r4, [sp, #16] - 8000692: 6b1a ldr r2, [r3, #48] ; 0x30 - 8000694: f042 0201 orr.w r2, r2, #1 - 8000698: 631a str r2, [r3, #48] ; 0x30 - 800069a: 6b1a ldr r2, [r3, #48] ; 0x30 - 800069c: f002 0201 and.w r2, r2, #1 - 80006a0: 9204 str r2, [sp, #16] - 80006a2: 9a04 ldr r2, [sp, #16] - 80006a4: 9405 str r4, [sp, #20] - 80006a6: 6b1a ldr r2, [r3, #48] ; 0x30 - 80006a8: f042 0240 orr.w r2, r2, #64 ; 0x40 - 80006ac: 631a str r2, [r3, #48] ; 0x30 - 80006ae: 6b1a ldr r2, [r3, #48] ; 0x30 - 80006b0: f002 0240 and.w r2, r2, #64 ; 0x40 - 80006b4: 9205 str r2, [sp, #20] - 80006b6: 9a05 ldr r2, [sp, #20] - 80006b8: 9406 str r4, [sp, #24] - 80006ba: 6b1a ldr r2, [r3, #48] ; 0x30 - 80006bc: f042 0202 orr.w r2, r2, #2 - 80006c0: 631a str r2, [r3, #48] ; 0x30 - 80006c2: 6b1a ldr r2, [r3, #48] ; 0x30 - 80006c4: f002 0202 and.w r2, r2, #2 - 80006c8: 9206 str r2, [sp, #24] - 80006ca: 9a06 ldr r2, [sp, #24] - 80006cc: 9407 str r4, [sp, #28] - 80006ce: 6b1a ldr r2, [r3, #48] ; 0x30 - 80006d0: f042 0208 orr.w r2, r2, #8 - 80006d4: 631a str r2, [r3, #48] ; 0x30 - 80006d6: 6b1b ldr r3, [r3, #48] ; 0x30 - 80006d8: f003 0308 and.w r3, r3, #8 - 80006dc: 4622 mov r2, r4 - 80006de: 9307 str r3, [sp, #28] - 80006e0: f44f 4180 mov.w r1, #16384 ; 0x4000 - 80006e4: 9b07 ldr r3, [sp, #28] - 80006e6: f44f 4580 mov.w r5, #16384 ; 0x4000 - 80006ea: f001 f851 bl 8001790 - 80006ee: 2301 movs r3, #1 - 80006f0: 481f ldr r0, [pc, #124] ; (8000770 ) - 80006f2: a90f add r1, sp, #60 ; 0x3c - 80006f4: e9cd 530f strd r5, r3, [sp, #60] ; 0x3c - 80006f8: e9cd 4411 strd r4, r4, [sp, #68] ; 0x44 - 80006fc: f000 ff62 bl 80015c4 - 8000700: f001 fb90 bl 8001e24 - 8000704: 481b ldr r0, [pc, #108] ; (8000774 ) - 8000706: 940e str r4, [sp, #56] ; 0x38 - 8000708: f04f 4320 mov.w r3, #2684354560 ; 0xa0000000 - 800070c: 6003 str r3, [r0, #0] - 800070e: f503 7382 add.w r3, r3, #260 ; 0x104 - 8000712: 2210 movs r2, #16 - 8000714: 2111 movs r1, #17 - 8000716: e9c0 3401 strd r3, r4, [r0, #4] - 800071a: f44f 5380 mov.w r3, #4096 ; 0x1000 - 800071e: e9c0 2405 strd r2, r4, [r0, #20] - 8000722: e9c0 340a strd r3, r4, [r0, #40] ; 0x28 - 8000726: e9cd 2113 strd r2, r1, [sp, #76] ; 0x4c - 800072a: 230f movs r3, #15 - 800072c: e9c0 4403 strd r4, r4, [r0, #12] - 8000730: e9c0 4407 strd r4, r4, [r0, #28] - 8000734: e9c0 540c strd r5, r4, [r0, #48] ; 0x30 - 8000738: e9c0 440e strd r4, r4, [r0, #56] ; 0x38 - 800073c: 9415 str r4, [sp, #84] ; 0x54 - 800073e: 6244 str r4, [r0, #36] ; 0x24 - 8000740: 6444 str r4, [r0, #68] ; 0x44 - 8000742: 920c str r2, [sp, #48] ; 0x30 - 8000744: 24ff movs r4, #255 ; 0xff - 8000746: 910d str r1, [sp, #52] ; 0x34 - 8000748: aa0f add r2, sp, #60 ; 0x3c - 800074a: a908 add r1, sp, #32 - 800074c: e9cd 3308 strd r3, r3, [sp, #32] - 8000750: e9cd 430a strd r4, r3, [sp, #40] ; 0x28 - 8000754: e9cd 330f strd r3, r3, [sp, #60] ; 0x3c - 8000758: e9cd 4311 strd r4, r3, [sp, #68] ; 0x44 - 800075c: f001 fa9e bl 8001c9c - 8000760: b108 cbz r0, 8000766 - 8000762: b672 cpsid i - 8000764: e7fe b.n 8000764 - 8000766: f001 fba7 bl 8001eb8 - 800076a: e7fc b.n 8000766 - 800076c: 40023800 .word 0x40023800 - 8000770: 40020800 .word 0x40020800 - 8000774: 200000a8 .word 0x200000a8 - -08000778 : - 8000778: b672 cpsid i - 800077a: e7fe b.n 800077a - -0800077c : - 800077c: b082 sub sp, #8 - 800077e: 4b0c ldr r3, [pc, #48] ; (80007b0 ) - 8000780: 2100 movs r1, #0 - 8000782: 9100 str r1, [sp, #0] - 8000784: 6c5a ldr r2, [r3, #68] ; 0x44 - 8000786: f442 4280 orr.w r2, r2, #16384 ; 0x4000 - 800078a: 645a str r2, [r3, #68] ; 0x44 - 800078c: 6c5a ldr r2, [r3, #68] ; 0x44 - 800078e: f402 4280 and.w r2, r2, #16384 ; 0x4000 - 8000792: 9200 str r2, [sp, #0] - 8000794: 9a00 ldr r2, [sp, #0] - 8000796: 9101 str r1, [sp, #4] - 8000798: 6c1a ldr r2, [r3, #64] ; 0x40 - 800079a: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 - 800079e: 641a str r2, [r3, #64] ; 0x40 - 80007a0: 6c1b ldr r3, [r3, #64] ; 0x40 - 80007a2: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 80007a6: 9301 str r3, [sp, #4] - 80007a8: 9b01 ldr r3, [sp, #4] - 80007aa: b002 add sp, #8 - 80007ac: 4770 bx lr - 80007ae: bf00 nop - 80007b0: 40023800 .word 0x40023800 - -080007b4 : - 80007b4: b5f0 push {r4, r5, r6, r7, lr} - 80007b6: b087 sub sp, #28 - 80007b8: 2300 movs r3, #0 - 80007ba: 9303 str r3, [sp, #12] - 80007bc: 4b1f ldr r3, [pc, #124] ; (800083c ) - 80007be: 681c ldr r4, [r3, #0] - 80007c0: 2c00 cmp r4, #0 - 80007c2: d139 bne.n 8000838 - 80007c4: 2201 movs r2, #1 - 80007c6: 601a str r2, [r3, #0] - 80007c8: 4b1d ldr r3, [pc, #116] ; (8000840 ) - 80007ca: 9400 str r4, [sp, #0] - 80007cc: 6b9a ldr r2, [r3, #56] ; 0x38 - 80007ce: 481d ldr r0, [pc, #116] ; (8000844 ) - 80007d0: f042 0201 orr.w r2, r2, #1 - 80007d4: 639a str r2, [r3, #56] ; 0x38 - 80007d6: 6b9b ldr r3, [r3, #56] ; 0x38 - 80007d8: f003 0301 and.w r3, r3, #1 - 80007dc: 9300 str r3, [sp, #0] - 80007de: 2702 movs r7, #2 - 80007e0: 2603 movs r6, #3 - 80007e2: 250c movs r5, #12 - 80007e4: 9b00 ldr r3, [sp, #0] - 80007e6: a901 add r1, sp, #4 - 80007e8: f64f 73f8 movw r3, #65528 ; 0xfff8 - 80007ec: e9cd 3701 strd r3, r7, [sp, #4] - 80007f0: e9cd 6504 strd r6, r5, [sp, #16] - 80007f4: f000 fee6 bl 80015c4 - 80007f8: f24f 033f movw r3, #61503 ; 0xf03f - 80007fc: 4812 ldr r0, [pc, #72] ; (8000848 ) - 80007fe: 9505 str r5, [sp, #20] - 8000800: a901 add r1, sp, #4 - 8000802: e9cd 3701 strd r3, r7, [sp, #4] - 8000806: e9cd 4603 strd r4, r6, [sp, #12] - 800080a: f000 fedb bl 80015c4 - 800080e: 233f movs r3, #63 ; 0x3f - 8000810: 480e ldr r0, [pc, #56] ; (800084c ) - 8000812: 9505 str r5, [sp, #20] - 8000814: a901 add r1, sp, #4 - 8000816: e9cd 3701 strd r3, r7, [sp, #4] - 800081a: e9cd 4603 strd r4, r6, [sp, #12] - 800081e: f000 fed1 bl 80015c4 - 8000822: f64f 73b3 movw r3, #65459 ; 0xffb3 - 8000826: 480a ldr r0, [pc, #40] ; (8000850 ) - 8000828: 9505 str r5, [sp, #20] - 800082a: a901 add r1, sp, #4 - 800082c: e9cd 3701 strd r3, r7, [sp, #4] - 8000830: e9cd 4603 strd r4, r6, [sp, #12] - 8000834: f000 fec6 bl 80015c4 - 8000838: b007 add sp, #28 - 800083a: bdf0 pop {r4, r5, r6, r7, pc} - 800083c: 200000f8 .word 0x200000f8 - 8000840: 40023800 .word 0x40023800 - 8000844: 40021000 .word 0x40021000 - 8000848: 40021400 .word 0x40021400 - 800084c: 40021800 .word 0x40021800 - 8000850: 40020c00 .word 0x40020c00 - -08000854 : - 8000854: e7fe b.n 8000854 - -08000856 : - 8000856: e7fe b.n 8000856 - -08000858 : - 8000858: e7fe b.n 8000858 - -0800085a : - 800085a: e7fe b.n 800085a - -0800085c : - 800085c: e7fe b.n 800085c - -0800085e : - 800085e: 4770 bx lr - -08000860 : - 8000860: 4770 bx lr - -08000862 : - 8000862: 4770 bx lr - -08000864 : - 8000864: f000 b930 b.w 8000ac8 - -08000868 : - 8000868: 4a03 ldr r2, [pc, #12] ; (8000878 ) - 800086a: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 800086e: f443 0370 orr.w r3, r3, #15728640 ; 0xf00000 - 8000872: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 8000876: 4770 bx lr - 8000878: e000ed00 .word 0xe000ed00 - -0800087c : - 800087c: 480d ldr r0, [pc, #52] ; (80008b4 ) - 800087e: 4685 mov sp, r0 - 8000880: f7ff fff2 bl 8000868 - 8000884: 480c ldr r0, [pc, #48] ; (80008b8 ) - 8000886: 490d ldr r1, [pc, #52] ; (80008bc ) - 8000888: 4a0d ldr r2, [pc, #52] ; (80008c0 ) - 800088a: 2300 movs r3, #0 - 800088c: e002 b.n 8000894 - -0800088e : - 800088e: 58d4 ldr r4, [r2, r3] - 8000890: 50c4 str r4, [r0, r3] - 8000892: 3304 adds r3, #4 - -08000894 : - 8000894: 18c4 adds r4, r0, r3 - 8000896: 428c cmp r4, r1 - 8000898: d3f9 bcc.n 800088e - 800089a: 4a0a ldr r2, [pc, #40] ; (80008c4 ) - 800089c: 4c0a ldr r4, [pc, #40] ; (80008c8 ) - 800089e: 2300 movs r3, #0 - 80008a0: e001 b.n 80008a6 - -080008a2 : - 80008a2: 6013 str r3, [r2, #0] - 80008a4: 3204 adds r2, #4 - -080008a6 : - 80008a6: 42a2 cmp r2, r4 - 80008a8: d3fb bcc.n 80008a2 - 80008aa: f008 fd33 bl 8009314 <__libc_init_array> - 80008ae: f7ff fec3 bl 8000638
- -080008b2 : - 80008b2: e7fe b.n 80008b2 - 80008b4: 20030000 .word 0x20030000 - 80008b8: 20000000 .word 0x20000000 - 80008bc: 2000008c .word 0x2000008c - 80008c0: 0800c79c .word 0x0800c79c - 80008c4: 2000008c .word 0x2000008c - 80008c8: 20008454 .word 0x20008454 - -080008cc : - 80008cc: e7fe b.n 80008cc - -080008ce : - 80008ce: b530 push {r4, r5, lr} - 80008d0: b170 cbz r0, 80008f0 - 80008d2: 68cc ldr r4, [r1, #12] - 80008d4: b164 cbz r4, 80008f0 - 80008d6: 688a ldr r2, [r1, #8] - 80008d8: b152 cbz r2, 80008f0 - 80008da: 690b ldr r3, [r1, #16] - 80008dc: b143 cbz r3, 80008f0 - 80008de: 680d ldr r5, [r1, #0] - 80008e0: 6849 ldr r1, [r1, #4] - 80008e2: 6085 str r5, [r0, #8] - 80008e4: e9c0 2404 strd r2, r4, [r0, #16] - 80008e8: 60c1 str r1, [r0, #12] - 80008ea: 6183 str r3, [r0, #24] - 80008ec: 2000 movs r0, #0 - 80008ee: bd30 pop {r4, r5, pc} - 80008f0: f04f 30ff mov.w r0, #4294967295 - 80008f4: e7fb b.n 80008ee - -080008f6 : - 80008f6: b573 push {r0, r1, r4, r5, r6, lr} - 80008f8: 6846 ldr r6, [r0, #4] - 80008fa: 2300 movs r3, #0 - 80008fc: 4604 mov r4, r0 - 80008fe: 9301 str r3, [sp, #4] - 8000900: b166 cbz r6, 800091c - 8000902: 69a3 ldr r3, [r4, #24] - 8000904: 4798 blx r3 - 8000906: 4605 mov r5, r0 - 8000908: 69a3 ldr r3, [r4, #24] - 800090a: 4798 blx r3 - 800090c: 1b43 subs r3, r0, r5 - 800090e: f5b3 6ffa cmp.w r3, #2000 ; 0x7d0 - 8000912: d9f9 bls.n 8000908 - 8000914: 2301 movs r3, #1 - 8000916: 6063 str r3, [r4, #4] - 8000918: 2500 movs r5, #0 - 800091a: e027 b.n 800096c - 800091c: 6883 ldr r3, [r0, #8] - 800091e: b103 cbz r3, 8000922 - 8000920: 4798 blx r3 - 8000922: 2320 movs r3, #32 - 8000924: 6023 str r3, [r4, #0] - 8000926: 2500 movs r5, #0 - 8000928: 6963 ldr r3, [r4, #20] - 800092a: aa01 add r2, sp, #4 - 800092c: 2119 movs r1, #25 - 800092e: 4630 mov r0, r6 - 8000930: 4798 blx r3 - 8000932: 2800 cmp r0, #0 - 8000934: db1d blt.n 8000972 - 8000936: 9b01 ldr r3, [sp, #4] - 8000938: f003 031f and.w r3, r3, #31 - 800093c: 42b3 cmp r3, r6 - 800093e: d11a bne.n 8000976 - 8000940: 6026 str r6, [r4, #0] - 8000942: 2500 movs r5, #0 - 8000944: 6820 ldr r0, [r4, #0] - 8000946: 281f cmp r0, #31 - 8000948: d82d bhi.n 80009a6 - 800094a: b97d cbnz r5, 800096c - 800094c: 6923 ldr r3, [r4, #16] - 800094e: f44f 4200 mov.w r2, #32768 ; 0x8000 - 8000952: 4629 mov r1, r5 - 8000954: 4798 blx r3 - 8000956: 2800 cmp r0, #0 - 8000958: db28 blt.n 80009ac - 800095a: 6963 ldr r3, [r4, #20] - 800095c: 6820 ldr r0, [r4, #0] - 800095e: aa01 add r2, sp, #4 - 8000960: 4629 mov r1, r5 - 8000962: 4798 blx r3 - 8000964: 2800 cmp r0, #0 - 8000966: da0a bge.n 800097e - 8000968: f06f 0504 mvn.w r5, #4 - 800096c: 4628 mov r0, r5 - 800096e: b002 add sp, #8 - 8000970: bd70 pop {r4, r5, r6, pc} - 8000972: f06f 0504 mvn.w r5, #4 - 8000976: 3601 adds r6, #1 - 8000978: 2e20 cmp r6, #32 - 800097a: d1d5 bne.n 8000928 - 800097c: e7e2 b.n 8000944 - 800097e: 69a3 ldr r3, [r4, #24] - 8000980: 4798 blx r3 - 8000982: 4605 mov r5, r0 - 8000984: 9b01 ldr r3, [sp, #4] - 8000986: 69a2 ldr r2, [r4, #24] - 8000988: 041b lsls r3, r3, #16 - 800098a: d5ba bpl.n 8000902 - 800098c: 4790 blx r2 - 800098e: 1b40 subs r0, r0, r5 - 8000990: f5b0 7ffa cmp.w r0, #500 ; 0x1f4 - 8000994: d80d bhi.n 80009b2 - 8000996: 6963 ldr r3, [r4, #20] - 8000998: 6820 ldr r0, [r4, #0] - 800099a: aa01 add r2, sp, #4 - 800099c: 2100 movs r1, #0 - 800099e: 4798 blx r3 - 80009a0: 2800 cmp r0, #0 - 80009a2: daef bge.n 8000984 - 80009a4: e7e0 b.n 8000968 - 80009a6: f06f 0502 mvn.w r5, #2 - 80009aa: e7df b.n 800096c - 80009ac: f06f 0503 mvn.w r5, #3 - 80009b0: e7dc b.n 800096c - 80009b2: f06f 0501 mvn.w r5, #1 - 80009b6: e7d9 b.n 800096c - -080009b8 : - 80009b8: b537 push {r0, r1, r2, r4, r5, lr} - 80009ba: 2500 movs r5, #0 - 80009bc: 6943 ldr r3, [r0, #20] - 80009be: 9501 str r5, [sp, #4] - 80009c0: 4604 mov r4, r0 - 80009c2: aa01 add r2, sp, #4 - 80009c4: 6800 ldr r0, [r0, #0] - 80009c6: 2101 movs r1, #1 - 80009c8: 4798 blx r3 - 80009ca: 42a8 cmp r0, r5 - 80009cc: da03 bge.n 80009d6 - 80009ce: f06f 0004 mvn.w r0, #4 - 80009d2: b003 add sp, #12 - 80009d4: bd30 pop {r4, r5, pc} - 80009d6: 6963 ldr r3, [r4, #20] - 80009d8: 6820 ldr r0, [r4, #0] - 80009da: aa01 add r2, sp, #4 - 80009dc: 2101 movs r1, #1 - 80009de: 4798 blx r3 - 80009e0: 2800 cmp r0, #0 - 80009e2: dbf4 blt.n 80009ce - 80009e4: 9b01 ldr r3, [sp, #4] - 80009e6: 075b lsls r3, r3, #29 - 80009e8: d52c bpl.n 8000a44 - 80009ea: 6963 ldr r3, [r4, #20] - 80009ec: 6820 ldr r0, [r4, #0] - 80009ee: aa01 add r2, sp, #4 - 80009f0: 4629 mov r1, r5 - 80009f2: 4798 blx r3 - 80009f4: 2800 cmp r0, #0 - 80009f6: dbea blt.n 80009ce - 80009f8: 9b01 ldr r3, [sp, #4] - 80009fa: 04dd lsls r5, r3, #19 - 80009fc: d40e bmi.n 8000a1c - 80009fe: f403 5204 and.w r2, r3, #8448 ; 0x2100 - 8000a02: f5b2 5f04 cmp.w r2, #8448 ; 0x2100 - 8000a06: d101 bne.n 8000a0c - 8000a08: 2002 movs r0, #2 - 8000a0a: e7e2 b.n 80009d2 - 8000a0c: 0498 lsls r0, r3, #18 - 8000a0e: d501 bpl.n 8000a14 - 8000a10: 2003 movs r0, #3 - 8000a12: e7de b.n 80009d2 - 8000a14: 05d9 lsls r1, r3, #23 - 8000a16: d513 bpl.n 8000a40 - 8000a18: 2004 movs r0, #4 - 8000a1a: e7da b.n 80009d2 - 8000a1c: 6963 ldr r3, [r4, #20] - 8000a1e: 6820 ldr r0, [r4, #0] - 8000a20: aa01 add r2, sp, #4 - 8000a22: 2110 movs r1, #16 - 8000a24: 4798 blx r3 - 8000a26: 2800 cmp r0, #0 - 8000a28: dbd1 blt.n 80009ce - 8000a2a: 9b01 ldr r3, [sp, #4] - 8000a2c: 05da lsls r2, r3, #23 - 8000a2e: d50b bpl.n 8000a48 - 8000a30: f003 0306 and.w r3, r3, #6 - 8000a34: 2b04 cmp r3, #4 - 8000a36: d0e7 beq.n 8000a08 - 8000a38: 2b00 cmp r3, #0 - 8000a3a: d0e9 beq.n 8000a10 - 8000a3c: 2b06 cmp r3, #6 - 8000a3e: d0eb beq.n 8000a18 - 8000a40: 2005 movs r0, #5 - 8000a42: e7c6 b.n 80009d2 - 8000a44: 2001 movs r0, #1 - 8000a46: e7c4 b.n 80009d2 - 8000a48: 2006 movs r0, #6 - 8000a4a: e7c2 b.n 80009d2 - -08000a4c : - 8000a4c: b538 push {r3, r4, r5, lr} - 8000a4e: 4a0e ldr r2, [pc, #56] ; (8000a88 ) - 8000a50: 4b0e ldr r3, [pc, #56] ; (8000a8c ) - 8000a52: 4605 mov r5, r0 - 8000a54: 7818 ldrb r0, [r3, #0] - 8000a56: f44f 737a mov.w r3, #1000 ; 0x3e8 - 8000a5a: fbb3 f3f0 udiv r3, r3, r0 - 8000a5e: 6810 ldr r0, [r2, #0] - 8000a60: fbb0 f0f3 udiv r0, r0, r3 - 8000a64: f000 f89a bl 8000b9c - 8000a68: 4604 mov r4, r0 - 8000a6a: b958 cbnz r0, 8000a84 - 8000a6c: 2d0f cmp r5, #15 - 8000a6e: d809 bhi.n 8000a84 - 8000a70: 4602 mov r2, r0 - 8000a72: 4629 mov r1, r5 - 8000a74: f04f 30ff mov.w r0, #4294967295 - 8000a78: f000 f85e bl 8000b38 - 8000a7c: 4b04 ldr r3, [pc, #16] ; (8000a90 ) - 8000a7e: 4620 mov r0, r4 - 8000a80: 601d str r5, [r3, #0] - 8000a82: bd38 pop {r3, r4, r5, pc} - 8000a84: 2001 movs r0, #1 - 8000a86: e7fc b.n 8000a82 - 8000a88: 20000000 .word 0x20000000 - 8000a8c: 20000004 .word 0x20000004 - 8000a90: 20000008 .word 0x20000008 - -08000a94 : - 8000a94: b508 push {r3, lr} - 8000a96: 4b0b ldr r3, [pc, #44] ; (8000ac4 ) - 8000a98: 681a ldr r2, [r3, #0] - 8000a9a: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8000a9e: 601a str r2, [r3, #0] - 8000aa0: 681a ldr r2, [r3, #0] - 8000aa2: f442 6280 orr.w r2, r2, #1024 ; 0x400 - 8000aa6: 601a str r2, [r3, #0] - 8000aa8: 681a ldr r2, [r3, #0] - 8000aaa: f442 7280 orr.w r2, r2, #256 ; 0x100 - 8000aae: 601a str r2, [r3, #0] - 8000ab0: 2003 movs r0, #3 - 8000ab2: f000 f82f bl 8000b14 - 8000ab6: 200f movs r0, #15 - 8000ab8: f7ff ffc8 bl 8000a4c - 8000abc: f7ff fe5e bl 800077c - 8000ac0: 2000 movs r0, #0 - 8000ac2: bd08 pop {r3, pc} - 8000ac4: 40023c00 .word 0x40023c00 - -08000ac8 : - 8000ac8: 4a03 ldr r2, [pc, #12] ; (8000ad8 ) - 8000aca: 4b04 ldr r3, [pc, #16] ; (8000adc ) - 8000acc: 6811 ldr r1, [r2, #0] - 8000ace: 781b ldrb r3, [r3, #0] - 8000ad0: 440b add r3, r1 - 8000ad2: 6013 str r3, [r2, #0] - 8000ad4: 4770 bx lr - 8000ad6: bf00 nop - 8000ad8: 200000fc .word 0x200000fc - 8000adc: 20000004 .word 0x20000004 - -08000ae0 : - 8000ae0: 4b01 ldr r3, [pc, #4] ; (8000ae8 ) - 8000ae2: 6818 ldr r0, [r3, #0] - 8000ae4: 4770 bx lr - 8000ae6: bf00 nop - 8000ae8: 200000fc .word 0x200000fc - -08000aec : - 8000aec: b538 push {r3, r4, r5, lr} - 8000aee: 4604 mov r4, r0 - 8000af0: f7ff fff6 bl 8000ae0 - 8000af4: 1c63 adds r3, r4, #1 - 8000af6: bf1c itt ne - 8000af8: 4b05 ldrne r3, [pc, #20] ; (8000b10 ) - 8000afa: 781b ldrbne r3, [r3, #0] - 8000afc: 4605 mov r5, r0 - 8000afe: bf18 it ne - 8000b00: 18e4 addne r4, r4, r3 - 8000b02: f7ff ffed bl 8000ae0 - 8000b06: 1b43 subs r3, r0, r5 - 8000b08: 42a3 cmp r3, r4 - 8000b0a: d3fa bcc.n 8000b02 - 8000b0c: bd38 pop {r3, r4, r5, pc} - 8000b0e: bf00 nop - 8000b10: 20000004 .word 0x20000004 - -08000b14 : - 8000b14: 4907 ldr r1, [pc, #28] ; (8000b34 ) - 8000b16: 68ca ldr r2, [r1, #12] - 8000b18: f422 62e0 bic.w r2, r2, #1792 ; 0x700 - 8000b1c: 0203 lsls r3, r0, #8 - 8000b1e: 0412 lsls r2, r2, #16 - 8000b20: f403 63e0 and.w r3, r3, #1792 ; 0x700 - 8000b24: 0c12 lsrs r2, r2, #16 - 8000b26: 4313 orrs r3, r2 - 8000b28: f043 63bf orr.w r3, r3, #100139008 ; 0x5f80000 - 8000b2c: f443 3300 orr.w r3, r3, #131072 ; 0x20000 - 8000b30: 60cb str r3, [r1, #12] - 8000b32: 4770 bx lr - 8000b34: e000ed00 .word 0xe000ed00 - -08000b38 : - 8000b38: 4b16 ldr r3, [pc, #88] ; (8000b94 ) - 8000b3a: b530 push {r4, r5, lr} - 8000b3c: 68dc ldr r4, [r3, #12] - 8000b3e: f3c4 2402 ubfx r4, r4, #8, #3 - 8000b42: f1c4 0507 rsb r5, r4, #7 - 8000b46: 1d23 adds r3, r4, #4 - 8000b48: 2d04 cmp r5, #4 - 8000b4a: bf28 it cs - 8000b4c: 2504 movcs r5, #4 - 8000b4e: 2b06 cmp r3, #6 - 8000b50: f04f 33ff mov.w r3, #4294967295 - 8000b54: bf8c ite hi - 8000b56: 3c03 subhi r4, #3 - 8000b58: 2400 movls r4, #0 - 8000b5a: fa03 f505 lsl.w r5, r3, r5 - 8000b5e: ea21 0105 bic.w r1, r1, r5 - 8000b62: 40a3 lsls r3, r4 - 8000b64: ea22 0203 bic.w r2, r2, r3 - 8000b68: 40a1 lsls r1, r4 - 8000b6a: 2800 cmp r0, #0 - 8000b6c: ea41 0302 orr.w r3, r1, r2 - 8000b70: bfac ite ge - 8000b72: f100 4060 addge.w r0, r0, #3758096384 ; 0xe0000000 - 8000b76: 4a08 ldrlt r2, [pc, #32] ; (8000b98 ) - 8000b78: ea4f 1303 mov.w r3, r3, lsl #4 - 8000b7c: bfb8 it lt - 8000b7e: f000 000f andlt.w r0, r0, #15 - 8000b82: b2db uxtb r3, r3 - 8000b84: bfaa itet ge - 8000b86: f500 4061 addge.w r0, r0, #57600 ; 0xe100 - 8000b8a: 5413 strblt r3, [r2, r0] - 8000b8c: f880 3300 strbge.w r3, [r0, #768] ; 0x300 - 8000b90: bd30 pop {r4, r5, pc} - 8000b92: bf00 nop - 8000b94: e000ed00 .word 0xe000ed00 - 8000b98: e000ed14 .word 0xe000ed14 - -08000b9c : - 8000b9c: 3801 subs r0, #1 - 8000b9e: f1b0 7f80 cmp.w r0, #16777216 ; 0x1000000 - 8000ba2: d20b bcs.n 8000bbc - 8000ba4: f04f 23e0 mov.w r3, #3758153728 ; 0xe000e000 - 8000ba8: 4a05 ldr r2, [pc, #20] ; (8000bc0 ) - 8000baa: 6158 str r0, [r3, #20] - 8000bac: 21f0 movs r1, #240 ; 0xf0 - 8000bae: f882 1023 strb.w r1, [r2, #35] ; 0x23 - 8000bb2: 2000 movs r0, #0 - 8000bb4: 2207 movs r2, #7 - 8000bb6: 6198 str r0, [r3, #24] - 8000bb8: 611a str r2, [r3, #16] - 8000bba: 4770 bx lr - 8000bbc: 2001 movs r0, #1 - 8000bbe: 4770 bx lr - 8000bc0: e000ed00 .word 0xe000ed00 - -08000bc4 : - 8000bc4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8000bc8: 6a86 ldr r6, [r0, #40] ; 0x28 - 8000bca: eb00 0c86 add.w ip, r0, r6, lsl #2 - 8000bce: f8dc 3018 ldr.w r3, [ip, #24] - 8000bd2: 681c ldr r4, [r3, #0] - 8000bd4: 2c00 cmp r4, #0 - 8000bd6: da02 bge.n 8000bde - 8000bd8: 2002 movs r0, #2 - 8000bda: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8000bde: f8dc 402c ldr.w r4, [ip, #44] ; 0x2c - 8000be2: 2c00 cmp r4, #0 - 8000be4: d1f8 bne.n 8000bd8 - 8000be6: 688c ldr r4, [r1, #8] - 8000be8: f8d1 e000 ldr.w lr, [r1] - 8000bec: 6825 ldr r5, [r4, #0] - 8000bee: 609d str r5, [r3, #8] - 8000bf0: 685d ldr r5, [r3, #4] - 8000bf2: 6867 ldr r7, [r4, #4] - 8000bf4: f425 55ff bic.w r5, r5, #8160 ; 0x1fe0 - 8000bf8: f025 051f bic.w r5, r5, #31 - 8000bfc: 433d orrs r5, r7 - 8000bfe: f01e 0f01 tst.w lr, #1 - 8000c02: 605d str r5, [r3, #4] - 8000c04: d005 beq.n 8000c12 - 8000c06: 681f ldr r7, [r3, #0] - 8000c08: 694d ldr r5, [r1, #20] - 8000c0a: f427 0740 bic.w r7, r7, #12582912 ; 0xc00000 - 8000c0e: 433d orrs r5, r7 - 8000c10: 601d str r5, [r3, #0] - 8000c12: f01e 0f20 tst.w lr, #32 - 8000c16: d005 beq.n 8000c24 - 8000c18: 681d ldr r5, [r3, #0] - 8000c1a: 6909 ldr r1, [r1, #16] - 8000c1c: f025 6540 bic.w r5, r5, #201326592 ; 0xc000000 - 8000c20: 4329 orrs r1, r5 - 8000c22: 6019 str r1, [r3, #0] - 8000c24: f01e 0f04 tst.w lr, #4 - 8000c28: bf1e ittt ne - 8000c2a: 6819 ldrne r1, [r3, #0] - 8000c2c: f041 0180 orrne.w r1, r1, #128 ; 0x80 - 8000c30: 6019 strne r1, [r3, #0] - 8000c32: 6819 ldr r1, [r3, #0] - 8000c34: f041 5180 orr.w r1, r1, #268435456 ; 0x10000000 - 8000c38: 6019 str r1, [r3, #0] - 8000c3a: f3bf 8f5f dmb sy - 8000c3e: 6819 ldr r1, [r3, #0] - 8000c40: f8df 80d0 ldr.w r8, [pc, #208] ; 8000d14 - 8000c44: f041 4100 orr.w r1, r1, #2147483648 ; 0x80000000 - 8000c48: 6019 str r1, [r3, #0] - 8000c4a: 2500 movs r5, #0 - 8000c4c: 4631 mov r1, r6 - 8000c4e: 68a4 ldr r4, [r4, #8] - 8000c50: f105 0e01 add.w lr, r5, #1 - 8000c54: b9b4 cbnz r4, 8000c84 - 8000c56: 2a00 cmp r2, #0 - 8000c58: d057 beq.n 8000d0a - 8000c5a: 681a ldr r2, [r3, #0] - 8000c5c: f042 4280 orr.w r2, r2, #1073741824 ; 0x40000000 - 8000c60: 601a str r2, [r3, #0] - 8000c62: 681a ldr r2, [r3, #0] - 8000c64: f042 5200 orr.w r2, r2, #536870912 ; 0x20000000 - 8000c68: 601a str r2, [r3, #0] - 8000c6a: eb00 0381 add.w r3, r0, r1, lsl #2 - 8000c6e: 6bc2 ldr r2, [r0, #60] ; 0x3c - 8000c70: 62da str r2, [r3, #44] ; 0x2c - 8000c72: 6281 str r1, [r0, #40] ; 0x28 - 8000c74: b672 cpsid i - 8000c76: 6c03 ldr r3, [r0, #64] ; 0x40 - 8000c78: 3301 adds r3, #1 - 8000c7a: 442b add r3, r5 - 8000c7c: 6403 str r3, [r0, #64] ; 0x40 - 8000c7e: b662 cpsie i - 8000c80: 2000 movs r0, #0 - 8000c82: e7aa b.n 8000bda - 8000c84: 681d ldr r5, [r3, #0] - 8000c86: f025 5500 bic.w r5, r5, #536870912 ; 0x20000000 - 8000c8a: 601d str r5, [r3, #0] - 8000c8c: 681d ldr r5, [r3, #0] - 8000c8e: b32a cbz r2, 8000cdc - 8000c90: f045 4580 orr.w r5, r5, #1073741824 ; 0x40000000 - 8000c94: 1c4f adds r7, r1, #1 - 8000c96: 2f03 cmp r7, #3 - 8000c98: bf88 it hi - 8000c9a: 1ecf subhi r7, r1, #3 - 8000c9c: 601d str r5, [r3, #0] - 8000c9e: eb00 0587 add.w r5, r0, r7, lsl #2 - 8000ca2: 69ab ldr r3, [r5, #24] - 8000ca4: 6819 ldr r1, [r3, #0] - 8000ca6: f021 5180 bic.w r1, r1, #268435456 ; 0x10000000 - 8000caa: 6019 str r1, [r3, #0] - 8000cac: 6819 ldr r1, [r3, #0] - 8000cae: 2900 cmp r1, #0 - 8000cb0: da17 bge.n 8000ce2 - 8000cb2: f8dc 1018 ldr.w r1, [ip, #24] - 8000cb6: 2200 movs r2, #0 - 8000cb8: 4572 cmp r2, lr - 8000cba: d08d beq.n 8000bd8 - 8000cbc: f3bf 8f5f dmb sy - 8000cc0: 680b ldr r3, [r1, #0] - 8000cc2: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8000cc6: 600b str r3, [r1, #0] - 8000cc8: 1c73 adds r3, r6, #1 - 8000cca: 2b03 cmp r3, #3 - 8000ccc: bf88 it hi - 8000cce: 1ef3 subhi r3, r6, #3 - 8000cd0: eb00 0183 add.w r1, r0, r3, lsl #2 - 8000cd4: 3201 adds r2, #1 - 8000cd6: 6989 ldr r1, [r1, #24] - 8000cd8: 461e mov r6, r3 - 8000cda: e7ed b.n 8000cb8 - 8000cdc: f025 4580 bic.w r5, r5, #1073741824 ; 0x40000000 - 8000ce0: e7d8 b.n 8000c94 - 8000ce2: 6ae9 ldr r1, [r5, #44] ; 0x2c - 8000ce4: 2900 cmp r1, #0 - 8000ce6: d1e4 bne.n 8000cb2 - 8000ce8: 6821 ldr r1, [r4, #0] - 8000cea: 6099 str r1, [r3, #8] - 8000cec: 6859 ldr r1, [r3, #4] - 8000cee: 6865 ldr r5, [r4, #4] - 8000cf0: ea01 0108 and.w r1, r1, r8 - 8000cf4: 4329 orrs r1, r5 - 8000cf6: 6059 str r1, [r3, #4] - 8000cf8: f3bf 8f5f dmb sy - 8000cfc: 6819 ldr r1, [r3, #0] - 8000cfe: f041 4100 orr.w r1, r1, #2147483648 ; 0x80000000 - 8000d02: 6019 str r1, [r3, #0] - 8000d04: 4675 mov r5, lr - 8000d06: 4639 mov r1, r7 - 8000d08: e7a1 b.n 8000c4e - 8000d0a: 681a ldr r2, [r3, #0] - 8000d0c: f022 4280 bic.w r2, r2, #1073741824 ; 0x40000000 - 8000d10: e7a6 b.n 8000c60 - 8000d12: bf00 nop - 8000d14: ffffe000 .word 0xffffe000 - -08000d18 : - 8000d18: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8000d1c: 6802 ldr r2, [r0, #0] - 8000d1e: f8df c0fc ldr.w ip, [pc, #252] ; 8000e1c - 8000d22: 6813 ldr r3, [r2, #0] - 8000d24: f891 801f ldrb.w r8, [r1, #31] - 8000d28: ea03 0c0c and.w ip, r3, ip - 8000d2c: 7c0b ldrb r3, [r1, #16] - 8000d2e: 2b00 cmp r3, #0 - 8000d30: 7c4b ldrb r3, [r1, #17] - 8000d32: 460d mov r5, r1 - 8000d34: bf0c ite eq - 8000d36: f44f 0700 moveq.w r7, #8388608 ; 0x800000 - 8000d3a: 2700 movne r7, #0 - 8000d3c: 2b00 cmp r3, #0 - 8000d3e: 688b ldr r3, [r1, #8] - 8000d40: 6949 ldr r1, [r1, #20] - 8000d42: f895 901c ldrb.w r9, [r5, #28] - 8000d46: f895 e004 ldrb.w lr, [r5, #4] - 8000d4a: ea43 0301 orr.w r3, r3, r1 - 8000d4e: 7fa9 ldrb r1, [r5, #30] - 8000d50: bf0c ite eq - 8000d52: f44f 0680 moveq.w r6, #4194304 ; 0x400000 - 8000d56: 2600 movne r6, #0 - 8000d58: 2900 cmp r1, #0 - 8000d5a: 69a9 ldr r1, [r5, #24] - 8000d5c: ea43 0301 orr.w r3, r3, r1 - 8000d60: f895 1020 ldrb.w r1, [r5, #32] - 8000d64: 4604 mov r4, r0 - 8000d66: bf0c ite eq - 8000d68: f44f 5000 moveq.w r0, #8192 ; 0x2000 - 8000d6c: 2000 movne r0, #0 - 8000d6e: 2900 cmp r1, #0 - 8000d70: 6a69 ldr r1, [r5, #36] ; 0x24 - 8000d72: ea43 0301 orr.w r3, r3, r1 - 8000d76: ea43 4308 orr.w r3, r3, r8, lsl #16 - 8000d7a: ea43 3309 orr.w r3, r3, r9, lsl #12 - 8000d7e: ea43 238e orr.w r3, r3, lr, lsl #10 - 8000d82: f895 e00f ldrb.w lr, [r5, #15] - 8000d86: ea43 13ce orr.w r3, r3, lr, lsl #7 - 8000d8a: f895 e028 ldrb.w lr, [r5, #40] ; 0x28 - 8000d8e: ea43 130e orr.w r3, r3, lr, lsl #4 - 8000d92: ea43 030c orr.w r3, r3, ip - 8000d96: ea43 0307 orr.w r3, r3, r7 - 8000d9a: ea43 0306 orr.w r3, r3, r6 - 8000d9e: bf0c ite eq - 8000da0: f44f 7a00 moveq.w sl, #512 ; 0x200 - 8000da4: f04f 0a00 movne.w sl, #0 - 8000da8: 4303 orrs r3, r0 - 8000daa: ea43 030a orr.w r3, r3, sl - 8000dae: 6013 str r3, [r2, #0] - 8000db0: 2001 movs r0, #1 - 8000db2: 6816 ldr r6, [r2, #0] - 8000db4: f7ff fe9a bl 8000aec - 8000db8: 6821 ldr r1, [r4, #0] - 8000dba: 6d2a ldr r2, [r5, #80] ; 0x50 - 8000dbc: 600e str r6, [r1, #0] - 8000dbe: 6988 ldr r0, [r1, #24] - 8000dc0: 6cae ldr r6, [r5, #72] ; 0x48 - 8000dc2: f895 304c ldrb.w r3, [r5, #76] ; 0x4c - 8000dc6: f020 00be bic.w r0, r0, #190 ; 0xbe - 8000dca: 0400 lsls r0, r0, #16 - 8000dcc: 0c00 lsrs r0, r0, #16 - 8000dce: ea42 4206 orr.w r2, r2, r6, lsl #16 - 8000dd2: 4302 orrs r2, r0 - 8000dd4: f895 0055 ldrb.w r0, [r5, #85] ; 0x55 - 8000dd8: 2b00 cmp r3, #0 - 8000dda: bf0c ite eq - 8000ddc: 2380 moveq r3, #128 ; 0x80 - 8000dde: 2300 movne r3, #0 - 8000de0: 2801 cmp r0, #1 - 8000de2: bf0c ite eq - 8000de4: 2008 moveq r0, #8 - 8000de6: 2000 movne r0, #0 - 8000de8: 431a orrs r2, r3 - 8000dea: f895 3056 ldrb.w r3, [r5, #86] ; 0x56 - 8000dee: 4302 orrs r2, r0 - 8000df0: f895 0054 ldrb.w r0, [r5, #84] ; 0x54 - 8000df4: 2b01 cmp r3, #1 - 8000df6: bf0c ite eq - 8000df8: 2304 moveq r3, #4 - 8000dfa: 2300 movne r3, #0 - 8000dfc: 2801 cmp r0, #1 - 8000dfe: bf0c ite eq - 8000e00: 2002 moveq r0, #2 - 8000e02: 2000 movne r0, #0 - 8000e04: 4313 orrs r3, r2 - 8000e06: 4303 orrs r3, r0 - 8000e08: 618b str r3, [r1, #24] - 8000e0a: 2001 movs r0, #1 - 8000e0c: 698d ldr r5, [r1, #24] - 8000e0e: f7ff fe6d bl 8000aec - 8000e12: 6823 ldr r3, [r4, #0] - 8000e14: 619d str r5, [r3, #24] - 8000e16: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8000e1a: bf00 nop - 8000e1c: ff20810f .word 0xff20810f - -08000e20 : - 8000e20: 6802 ldr r2, [r0, #0] - 8000e22: b5f8 push {r3, r4, r5, r6, r7, lr} - 8000e24: f502 5280 add.w r2, r2, #4096 ; 0x1000 - 8000e28: 4605 mov r5, r0 - 8000e2a: 6993 ldr r3, [r2, #24] - 8000e2c: 4826 ldr r0, [pc, #152] ; (8000ec8 ) - 8000e2e: f891 c00d ldrb.w ip, [r1, #13] - 8000e32: 4018 ands r0, r3 - 8000e34: 7b0b ldrb r3, [r1, #12] - 8000e36: 460c mov r4, r1 - 8000e38: 2b00 cmp r3, #0 - 8000e3a: 7f4b ldrb r3, [r1, #29] - 8000e3c: 6a27 ldr r7, [r4, #32] - 8000e3e: bf0c ite eq - 8000e40: f04f 6680 moveq.w r6, #67108864 ; 0x4000000 - 8000e44: 2600 movne r6, #0 - 8000e46: 2b00 cmp r3, #0 - 8000e48: 6963 ldr r3, [r4, #20] - 8000e4a: ea43 0307 orr.w r3, r3, r7 - 8000e4e: 7ba7 ldrb r7, [r4, #14] - 8000e50: ea43 634c orr.w r3, r3, ip, lsl #25 - 8000e54: ea43 5347 orr.w r3, r3, r7, lsl #21 - 8000e58: 7f27 ldrb r7, [r4, #28] - 8000e5a: ea43 13c7 orr.w r3, r3, r7, lsl #7 - 8000e5e: 7fa7 ldrb r7, [r4, #30] - 8000e60: ea43 1387 orr.w r3, r3, r7, lsl #6 - 8000e64: f894 7024 ldrb.w r7, [r4, #36] ; 0x24 - 8000e68: ea43 0387 orr.w r3, r3, r7, lsl #2 - 8000e6c: ea43 0300 orr.w r3, r3, r0 - 8000e70: bf0c ite eq - 8000e72: f44f 1180 moveq.w r1, #1048576 ; 0x100000 - 8000e76: 2100 movne r1, #0 - 8000e78: 4333 orrs r3, r6 - 8000e7a: 430b orrs r3, r1 - 8000e7c: 6193 str r3, [r2, #24] - 8000e7e: 2001 movs r0, #1 - 8000e80: 6996 ldr r6, [r2, #24] - 8000e82: f7ff fe33 bl 8000aec - 8000e86: 682a ldr r2, [r5, #0] - 8000e88: 69a1 ldr r1, [r4, #24] - 8000e8a: 68a3 ldr r3, [r4, #8] - 8000e8c: f502 5280 add.w r2, r2, #4096 ; 0x1000 - 8000e90: 430b orrs r3, r1 - 8000e92: 6196 str r6, [r2, #24] - 8000e94: f894 1025 ldrb.w r1, [r4, #37] ; 0x25 - 8000e98: ea43 13c1 orr.w r3, r3, r1, lsl #7 - 8000e9c: 6921 ldr r1, [r4, #16] - 8000e9e: 430b orrs r3, r1 - 8000ea0: 6821 ldr r1, [r4, #0] - 8000ea2: 430b orrs r3, r1 - 8000ea4: 6aa1 ldr r1, [r4, #40] ; 0x28 - 8000ea6: ea43 0381 orr.w r3, r3, r1, lsl #2 - 8000eaa: 7921 ldrb r1, [r4, #4] - 8000eac: ea43 6341 orr.w r3, r3, r1, lsl #25 - 8000eb0: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 - 8000eb4: 6013 str r3, [r2, #0] - 8000eb6: 2001 movs r0, #1 - 8000eb8: 6814 ldr r4, [r2, #0] - 8000eba: f7ff fe17 bl 8000aec - 8000ebe: 682b ldr r3, [r5, #0] - 8000ec0: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 8000ec4: 601c str r4, [r3, #0] - 8000ec6: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8000ec8: f8de3f23 .word 0xf8de3f23 - -08000ecc : - 8000ecc: b513 push {r0, r1, r4, lr} - 8000ece: 2300 movs r3, #0 - 8000ed0: 9301 str r3, [sp, #4] - 8000ed2: 6803 ldr r3, [r0, #0] - 8000ed4: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 8000ed8: 4604 mov r4, r0 - 8000eda: 699a ldr r2, [r3, #24] - 8000edc: f442 1280 orr.w r2, r2, #1048576 ; 0x100000 - 8000ee0: 619a str r2, [r3, #24] - 8000ee2: 699b ldr r3, [r3, #24] - 8000ee4: 9301 str r3, [sp, #4] - 8000ee6: 2001 movs r0, #1 - 8000ee8: f7ff fe00 bl 8000aec - 8000eec: 6823 ldr r3, [r4, #0] - 8000eee: 9a01 ldr r2, [sp, #4] - 8000ef0: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 8000ef4: 619a str r2, [r3, #24] - 8000ef6: b002 add sp, #8 - 8000ef8: bd10 pop {r4, pc} +08000580 : + 8000580: f100 4378 add.w r3, r0, #4160749568 @ 0xf8000000 + 8000584: f643 72fe movw r2, #16382 @ 0x3ffe + 8000588: 4293 cmp r3, r2 + 800058a: d924 bls.n 80005d6 + 800058c: f5a3 4180 sub.w r1, r3, #16384 @ 0x4000 + 8000590: 4291 cmp r1, r2 + 8000592: d922 bls.n 80005da + 8000594: f5a3 4100 sub.w r1, r3, #32768 @ 0x8000 + 8000598: 4291 cmp r1, r2 + 800059a: d920 bls.n 80005de + 800059c: f5a3 4340 sub.w r3, r3, #49152 @ 0xc000 + 80005a0: 4293 cmp r3, r2 + 80005a2: d91e bls.n 80005e2 + 80005a4: f100 4077 add.w r0, r0, #4143972352 @ 0xf7000000 + 80005a8: f500 027f add.w r2, r0, #16711680 @ 0xff0000 + 80005ac: f64f 73fe movw r3, #65534 @ 0xfffe + 80005b0: 429a cmp r2, r3 + 80005b2: d918 bls.n 80005e6 + 80005b4: f500 027e add.w r2, r0, #16646144 @ 0xfe0000 + 80005b8: f503 3380 add.w r3, r3, #65536 @ 0x10000 + 80005bc: 429a cmp r2, r3 + 80005be: d914 bls.n 80005ea + 80005c0: f500 027c add.w r2, r0, #16515072 @ 0xfc0000 + 80005c4: 429a cmp r2, r3 + 80005c6: d912 bls.n 80005ee + 80005c8: f500 007a add.w r0, r0, #16384000 @ 0xfa0000 + 80005cc: 4298 cmp r0, r3 + 80005ce: bf94 ite ls + 80005d0: 2007 movls r0, #7 + 80005d2: 2000 movhi r0, #0 + 80005d4: 4770 bx lr + 80005d6: 2000 movs r0, #0 + 80005d8: 4770 bx lr + 80005da: 2001 movs r0, #1 + 80005dc: 4770 bx lr + 80005de: 2002 movs r0, #2 + 80005e0: 4770 bx lr + 80005e2: 2003 movs r0, #3 + 80005e4: 4770 bx lr + 80005e6: 2004 movs r0, #4 + 80005e8: 4770 bx lr + 80005ea: 2005 movs r0, #5 + 80005ec: 4770 bx lr + 80005ee: 2006 movs r0, #6 + 80005f0: 4770 bx lr ... -08000efc : - 8000efc: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} - 8000f00: 6e87 ldr r7, [r0, #104] ; 0x68 - 8000f02: 6ec6 ldr r6, [r0, #108] ; 0x6c - 8000f04: f8df a080 ldr.w sl, [pc, #128] ; 8000f88 - 8000f08: 2300 movs r3, #0 - 8000f0a: 9301 str r3, [sp, #4] - 8000f0c: f107 0312 add.w r3, r7, #18 - 8000f10: 4604 mov r4, r0 - 8000f12: f850 5023 ldr.w r5, [r0, r3, lsl #2] - 8000f16: f04f 0801 mov.w r8, #1 - 8000f1a: f244 59f8 movw r9, #17912 ; 0x45f8 - 8000f1e: b116 cbz r6, 8000f26 - 8000f20: f1b8 0f00 cmp.w r8, #0 - 8000f24: d10c bne.n 8000f40 - 8000f26: 6ee3 ldr r3, [r4, #108] ; 0x6c - 8000f28: 42b3 cmp r3, r6 - 8000f2a: d006 beq.n 8000f3a - 8000f2c: 6823 ldr r3, [r4, #0] - 8000f2e: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 8000f32: 2200 movs r2, #0 - 8000f34: 609a str r2, [r3, #8] - 8000f36: e9c4 761a strd r7, r6, [r4, #104] ; 0x68 - 8000f3a: b002 add sp, #8 - 8000f3c: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8000f40: 6a2b ldr r3, [r5, #32] - 8000f42: b933 cbnz r3, 8000f52 - 8000f44: a801 add r0, sp, #4 - 8000f46: f001 f9bf bl 80022c8 - 8000f4a: 9b01 ldr r3, [sp, #4] - 8000f4c: b1cb cbz r3, 8000f82 - 8000f4e: 622b str r3, [r5, #32] - 8000f50: 60ab str r3, [r5, #8] - 8000f52: 6da3 ldr r3, [r4, #88] ; 0x58 - 8000f54: b993 cbnz r3, 8000f7c - 8000f56: f8c5 a004 str.w sl, [r5, #4] - 8000f5a: f3bf 8f5f dmb sy - 8000f5e: 682b ldr r3, [r5, #0] - 8000f60: f043 4300 orr.w r3, r3, #2147483648 ; 0x80000000 - 8000f64: 602b str r3, [r5, #0] - 8000f66: 1c7b adds r3, r7, #1 - 8000f68: 2b03 cmp r3, #3 - 8000f6a: bf88 it hi - 8000f6c: 1efb subhi r3, r7, #3 - 8000f6e: f103 0212 add.w r2, r3, #18 - 8000f72: 3e01 subs r6, #1 - 8000f74: f854 5022 ldr.w r5, [r4, r2, lsl #2] - 8000f78: 461f mov r7, r3 - 8000f7a: e7d0 b.n 8000f1e - 8000f7c: f8c5 9004 str.w r9, [r5, #4] - 8000f80: e7eb b.n 8000f5a - 8000f82: 4698 mov r8, r3 - 8000f84: e7cb b.n 8000f1e - 8000f86: bf00 nop - 8000f88: 800045f8 .word 0x800045f8 +080005f4 : + 80005f4: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 80005f6: 4605 mov r5, r0 + 80005f8: 4616 mov r6, r2 + 80005fa: 460f mov r7, r1 + 80005fc: f001 fb02 bl 8001c04 + 8000600: 4628 mov r0, r5 + 8000602: f7ff ffbd bl 8000580 + 8000606: 4604 mov r4, r0 + 8000608: eb05 0086 add.w r0, r5, r6, lsl #2 + 800060c: f7ff ffb8 bl 8000580 + 8000610: 4b11 ldr r3, [pc, #68] @ (8000658 ) + 8000612: 2200 movs r2, #0 + 8000614: 601a str r2, [r3, #0] + 8000616: 2202 movs r2, #2 + 8000618: 611a str r2, [r3, #16] + 800061a: 1c42 adds r2, r0, #1 + 800061c: 1b12 subs r2, r2, r4 + 800061e: a901 add r1, sp, #4 + 8000620: 4618 mov r0, r3 + 8000622: 609c str r4, [r3, #8] + 8000624: 60da str r2, [r3, #12] + 8000626: f001 fbe7 bl 8001df8 + 800062a: 4604 mov r4, r0 + 800062c: b160 cbz r0, 8000648 + 800062e: f001 fb05 bl 8001c3c + 8000632: b003 add sp, #12 + 8000634: bdf0 pop {r4, r5, r6, r7, pc} + 8000636: f857 2024 ldr.w r2, [r7, r4, lsl #2] + 800063a: 2300 movs r3, #0 + 800063c: 2002 movs r0, #2 + 800063e: f001 fb2b bl 8001c98 + 8000642: 2800 cmp r0, #0 + 8000644: d1f3 bne.n 800062e + 8000646: 3401 adds r4, #1 + 8000648: 42a6 cmp r6, r4 + 800064a: eb05 0184 add.w r1, r5, r4, lsl #2 + 800064e: dcf2 bgt.n 8000636 + 8000650: f001 faea bl 8001c28 + 8000654: 2000 movs r0, #0 + 8000656: e7ec b.n 8000632 + 8000658: 200000a0 .word 0x200000a0 -08000f8c : - 8000f8c: b5f0 push {r4, r5, r6, r7, lr} - 8000f8e: 4604 mov r4, r0 - 8000f90: b0a7 sub sp, #156 ; 0x9c - 8000f92: 2800 cmp r0, #0 - 8000f94: f000 80dc beq.w 8001150 - 8000f98: f8d0 3084 ldr.w r3, [r0, #132] ; 0x84 - 8000f9c: b923 cbnz r3, 8000fa8 - 8000f9e: 2323 movs r3, #35 ; 0x23 - 8000fa0: f8c0 3084 str.w r3, [r0, #132] ; 0x84 - 8000fa4: f001 f82e bl 8002004 - 8000fa8: 2300 movs r3, #0 - 8000faa: 9301 str r3, [sp, #4] - 8000fac: 4b69 ldr r3, [pc, #420] ; (8001154 ) - 8000fae: 68a1 ldr r1, [r4, #8] - 8000fb0: 6c5a ldr r2, [r3, #68] ; 0x44 - 8000fb2: f442 4280 orr.w r2, r2, #16384 ; 0x4000 - 8000fb6: 645a str r2, [r3, #68] ; 0x44 - 8000fb8: 6c5b ldr r3, [r3, #68] ; 0x44 - 8000fba: f403 4380 and.w r3, r3, #16384 ; 0x4000 - 8000fbe: 9301 str r3, [sp, #4] - 8000fc0: 9b01 ldr r3, [sp, #4] - 8000fc2: 4b65 ldr r3, [pc, #404] ; (8001158 ) - 8000fc4: 685a ldr r2, [r3, #4] - 8000fc6: f422 0200 bic.w r2, r2, #8388608 ; 0x800000 - 8000fca: 605a str r2, [r3, #4] - 8000fcc: 685a ldr r2, [r3, #4] - 8000fce: 430a orrs r2, r1 - 8000fd0: 605a str r2, [r3, #4] - 8000fd2: 685b ldr r3, [r3, #4] - 8000fd4: 6823 ldr r3, [r4, #0] - 8000fd6: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 8000fda: 681a ldr r2, [r3, #0] - 8000fdc: f042 0201 orr.w r2, r2, #1 - 8000fe0: 601a str r2, [r3, #0] - 8000fe2: f7ff fd7d bl 8000ae0 - 8000fe6: 4606 mov r6, r0 - 8000fe8: 6823 ldr r3, [r4, #0] - 8000fea: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 8000fee: 681d ldr r5, [r3, #0] - 8000ff0: f015 0501 ands.w r5, r5, #1 - 8000ff4: f040 809f bne.w 8001136 - 8000ff8: 2601 movs r6, #1 - 8000ffa: f44f 4280 mov.w r2, #16384 ; 0x4000 - 8000ffe: f240 1701 movw r7, #257 ; 0x101 - 8001002: f44f 6300 mov.w r3, #2048 ; 0x800 - 8001006: a90d add r1, sp, #52 ; 0x34 - 8001008: 4620 mov r0, r4 - 800100a: e9cd 2312 strd r2, r3, [sp, #72] ; 0x48 - 800100e: f88d 6038 strb.w r6, [sp, #56] ; 0x38 - 8001012: f8ad 6052 strh.w r6, [sp, #82] ; 0x52 - 8001016: 950f str r5, [sp, #60] ; 0x3c - 8001018: f88d 5050 strb.w r5, [sp, #80] ; 0x50 - 800101c: f88d 5054 strb.w r5, [sp, #84] ; 0x54 - 8001020: f88d 5043 strb.w r5, [sp, #67] ; 0x43 - 8001024: f8ad 7044 strh.w r7, [sp, #68] ; 0x44 - 8001028: 9516 str r5, [sp, #88] ; 0x58 - 800102a: f88d 505c strb.w r5, [sp, #92] ; 0x5c - 800102e: 951f str r5, [sp, #124] ; 0x7c - 8001030: f88d 5080 strb.w r5, [sp, #128] ; 0x80 - 8001034: 9521 str r5, [sp, #132] ; 0x84 - 8001036: f8ad 5088 strh.w r5, [sp, #136] ; 0x88 - 800103a: f88d 508a strb.w r5, [sp, #138] ; 0x8a - 800103e: f7ff fe6b bl 8000d18 - 8001042: f44f 3380 mov.w r3, #65536 ; 0x10000 - 8001046: 9304 str r3, [sp, #16] - 8001048: f44f 5300 mov.w r3, #8192 ; 0x2000 - 800104c: e9cd 3506 strd r3, r5, [sp, #24] - 8001050: f44f 0380 mov.w r3, #4194304 ; 0x400000 - 8001054: 9308 str r3, [sp, #32] - 8001056: 4620 mov r0, r4 - 8001058: f44f 7380 mov.w r3, #256 ; 0x100 - 800105c: a902 add r1, sp, #8 - 800105e: f88d 600c strb.w r6, [sp, #12] - 8001062: f88d 6016 strb.w r6, [sp, #22] - 8001066: f8ad 3024 strh.w r3, [sp, #36] ; 0x24 - 800106a: f8ad 7014 strh.w r7, [sp, #20] - 800106e: f88d 5026 strb.w r5, [sp, #38] ; 0x26 - 8001072: 950a str r5, [sp, #40] ; 0x28 - 8001074: f8ad 702c strh.w r7, [sp, #44] ; 0x2c - 8001078: 950c str r5, [sp, #48] ; 0x30 - 800107a: 9502 str r5, [sp, #8] - 800107c: f7ff fed0 bl 8000e20 - 8001080: 68e6 ldr r6, [r4, #12] - 8001082: f104 0c18 add.w ip, r4, #24 - 8001086: 4633 mov r3, r6 - 8001088: 462a mov r2, r5 - 800108a: 4628 mov r0, r5 - 800108c: 6018 str r0, [r3, #0] - 800108e: 6058 str r0, [r3, #4] - 8001090: 6098 str r0, [r3, #8] - 8001092: 60d8 str r0, [r3, #12] - 8001094: f84c 3b04 str.w r3, [ip], #4 - 8001098: 681f ldr r7, [r3, #0] - 800109a: 4619 mov r1, r3 - 800109c: f447 1780 orr.w r7, r7, #1048576 ; 0x100000 - 80010a0: f841 7b28 str.w r7, [r1], #40 - 80010a4: 2a03 cmp r2, #3 - 80010a6: bf14 ite ne - 80010a8: 60d9 strne r1, [r3, #12] - 80010aa: 60de streq r6, [r3, #12] - 80010ac: 681f ldr r7, [r3, #0] - 80010ae: 3201 adds r2, #1 - 80010b0: f447 0740 orr.w r7, r7, #12582912 ; 0xc00000 - 80010b4: 2a04 cmp r2, #4 - 80010b6: 601f str r7, [r3, #0] - 80010b8: 460b mov r3, r1 - 80010ba: d1e7 bne.n 800108c - 80010bc: 6821 ldr r1, [r4, #0] - 80010be: f501 5180 add.w r1, r1, #4096 ; 0x1000 - 80010c2: 2200 movs r2, #0 - 80010c4: 62a2 str r2, [r4, #40] ; 0x28 - 80010c6: 610e str r6, [r1, #16] - 80010c8: 6926 ldr r6, [r4, #16] - 80010ca: f104 0748 add.w r7, r4, #72 ; 0x48 - 80010ce: 4633 mov r3, r6 - 80010d0: f04f 4c00 mov.w ip, #2147483648 ; 0x80000000 - 80010d4: f244 5ef8 movw lr, #17912 ; 0x45f8 - 80010d8: 601a str r2, [r3, #0] - 80010da: 605a str r2, [r3, #4] - 80010dc: 609a str r2, [r3, #8] - 80010de: 60da str r2, [r3, #12] - 80010e0: f8c3 c000 str.w ip, [r3] - 80010e4: f8c3 e004 str.w lr, [r3, #4] - 80010e8: 6858 ldr r0, [r3, #4] - 80010ea: f020 4000 bic.w r0, r0, #2147483648 ; 0x80000000 - 80010ee: 6058 str r0, [r3, #4] - 80010f0: 2d03 cmp r5, #3 - 80010f2: f103 0028 add.w r0, r3, #40 ; 0x28 - 80010f6: f105 0501 add.w r5, r5, #1 - 80010fa: e9c3 2208 strd r2, r2, [r3, #32] - 80010fe: f847 3b04 str.w r3, [r7], #4 - 8001102: bf14 ite ne - 8001104: 60d8 strne r0, [r3, #12] - 8001106: 60de streq r6, [r3, #12] - 8001108: 2d04 cmp r5, #4 - 800110a: 4603 mov r3, r0 - 800110c: d1e4 bne.n 80010d8 - 800110e: 2000 movs r0, #0 - 8001110: e9c4 0017 strd r0, r0, [r4, #92] ; 0x5c - 8001114: e9c4 001a strd r0, r0, [r4, #104] ; 0x68 - 8001118: 6862 ldr r2, [r4, #4] - 800111a: 65a0 str r0, [r4, #88] ; 0x58 - 800111c: 4b0f ldr r3, [pc, #60] ; (800115c ) - 800111e: 60ce str r6, [r1, #12] - 8001120: 8891 ldrh r1, [r2, #4] - 8001122: 6419 str r1, [r3, #64] ; 0x40 - 8001124: 6812 ldr r2, [r2, #0] - 8001126: 645a str r2, [r3, #68] ; 0x44 - 8001128: 2310 movs r3, #16 - 800112a: f8c4 0088 str.w r0, [r4, #136] ; 0x88 - 800112e: f8c4 3084 str.w r3, [r4, #132] ; 0x84 - 8001132: b027 add sp, #156 ; 0x9c - 8001134: bdf0 pop {r4, r5, r6, r7, pc} - 8001136: f7ff fcd3 bl 8000ae0 - 800113a: 1b80 subs r0, r0, r6 - 800113c: f5b0 7ffa cmp.w r0, #500 ; 0x1f4 - 8001140: f67f af52 bls.w 8000fe8 - 8001144: 2304 movs r3, #4 - 8001146: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 800114a: 23e0 movs r3, #224 ; 0xe0 - 800114c: f8c4 3084 str.w r3, [r4, #132] ; 0x84 - 8001150: 2001 movs r0, #1 - 8001152: e7ee b.n 8001132 - 8001154: 40023800 .word 0x40023800 - 8001158: 40013800 .word 0x40013800 - 800115c: 40028000 .word 0x40028000 +0800065c : + 800065c: b510 push {r4, lr} + 800065e: 1a40 subs r0, r0, r1 + 8000660: f64f 73ff movw r3, #65535 @ 0xffff + 8000664: 3a01 subs r2, #1 + 8000666: b292 uxth r2, r2 + 8000668: 580c ldr r4, [r1, r0] + 800066a: f841 4b04 str.w r4, [r1], #4 + 800066e: 429a cmp r2, r3 + 8000670: d1f8 bne.n 8000664 + 8000672: bd10 pop {r4, pc} -08001160 : - 8001160: f8d0 3084 ldr.w r3, [r0, #132] ; 0x84 - 8001164: 2b10 cmp r3, #16 - 8001166: b570 push {r4, r5, r6, lr} - 8001168: 4604 mov r4, r0 - 800116a: d12d bne.n 80011c8 - 800116c: 2304 movs r3, #4 - 800116e: 2523 movs r5, #35 ; 0x23 - 8001170: 66c3 str r3, [r0, #108] ; 0x6c - 8001172: f8c0 5084 str.w r5, [r0, #132] ; 0x84 - 8001176: f7ff fec1 bl 8000efc - 800117a: 6823 ldr r3, [r4, #0] - 800117c: 681a ldr r2, [r3, #0] - 800117e: f042 0208 orr.w r2, r2, #8 - 8001182: 601a str r2, [r3, #0] - 8001184: 2001 movs r0, #1 - 8001186: 681e ldr r6, [r3, #0] - 8001188: f7ff fcb0 bl 8000aec - 800118c: 6823 ldr r3, [r4, #0] - 800118e: 601e str r6, [r3, #0] - 8001190: 681a ldr r2, [r3, #0] - 8001192: f042 0204 orr.w r2, r2, #4 - 8001196: 601a str r2, [r3, #0] - 8001198: 2001 movs r0, #1 - 800119a: 681e ldr r6, [r3, #0] - 800119c: f7ff fca6 bl 8000aec - 80011a0: 6823 ldr r3, [r4, #0] - 80011a2: 4620 mov r0, r4 - 80011a4: 601e str r6, [r3, #0] - 80011a6: f7ff fe91 bl 8000ecc - 80011aa: 6823 ldr r3, [r4, #0] - 80011ac: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 80011b0: 2000 movs r0, #0 - 80011b2: 699a ldr r2, [r3, #24] - 80011b4: f442 5200 orr.w r2, r2, #8192 ; 0x2000 - 80011b8: 619a str r2, [r3, #24] - 80011ba: 699a ldr r2, [r3, #24] - 80011bc: f042 0202 orr.w r2, r2, #2 - 80011c0: 619a str r2, [r3, #24] - 80011c2: f8c4 5084 str.w r5, [r4, #132] ; 0x84 - 80011c6: bd70 pop {r4, r5, r6, pc} - 80011c8: 2001 movs r0, #1 - 80011ca: e7fc b.n 80011c6 +08000674 : + 8000674: b510 push {r4, lr} + 8000676: b094 sub sp, #80 @ 0x50 + 8000678: 2214 movs r2, #20 + 800067a: 2100 movs r1, #0 + 800067c: a809 add r0, sp, #36 @ 0x24 + 800067e: f009 fde0 bl 800a242 + 8000682: 2214 movs r2, #20 + 8000684: 2100 movs r1, #0 + 8000686: a803 add r0, sp, #12 + 8000688: f009 fddb bl 800a242 + 800068c: 4b20 ldr r3, [pc, #128] @ (8000710 ) + 800068e: 2200 movs r2, #0 + 8000690: 9201 str r2, [sp, #4] + 8000692: 6c19 ldr r1, [r3, #64] @ 0x40 + 8000694: f041 5180 orr.w r1, r1, #268435456 @ 0x10000000 + 8000698: 6419 str r1, [r3, #64] @ 0x40 + 800069a: 6c1b ldr r3, [r3, #64] @ 0x40 + 800069c: 491d ldr r1, [pc, #116] @ (8000714 ) + 800069e: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 80006a2: 9301 str r3, [sp, #4] + 80006a4: 9b01 ldr r3, [sp, #4] + 80006a6: 9202 str r2, [sp, #8] + 80006a8: 680b ldr r3, [r1, #0] + 80006aa: f423 4340 bic.w r3, r3, #49152 @ 0xc000 + 80006ae: f443 4380 orr.w r3, r3, #16384 @ 0x4000 + 80006b2: 600b str r3, [r1, #0] + 80006b4: 680b ldr r3, [r1, #0] + 80006b6: f403 4340 and.w r3, r3, #49152 @ 0xc000 + 80006ba: 9302 str r3, [sp, #8] + 80006bc: 9b02 ldr r3, [sp, #8] + 80006be: 2101 movs r1, #1 + 80006c0: 2310 movs r3, #16 + 80006c2: 2008 movs r0, #8 + 80006c4: e9cd 130b strd r1, r3, [sp, #44] @ 0x2c + 80006c8: 2364 movs r3, #100 @ 0x64 + 80006ca: 2402 movs r4, #2 + 80006cc: e9cd 0310 strd r0, r3, [sp, #64] @ 0x40 + 80006d0: 2304 movs r3, #4 + 80006d2: a808 add r0, sp, #32 + 80006d4: e9cd 420e strd r4, r2, [sp, #56] @ 0x38 + 80006d8: 9408 str r4, [sp, #32] + 80006da: 9412 str r4, [sp, #72] @ 0x48 + 80006dc: 9313 str r3, [sp, #76] @ 0x4c + 80006de: f001 fcc9 bl 8002074 + 80006e2: b108 cbz r0, 80006e8 + 80006e4: b672 cpsid i + 80006e6: e7fe b.n 80006e6 + 80006e8: 230f movs r3, #15 + 80006ea: e9cd 3403 strd r3, r4, [sp, #12] + 80006ee: 9005 str r0, [sp, #20] + 80006f0: f44f 52a0 mov.w r2, #5120 @ 0x1400 + 80006f4: f44f 5380 mov.w r3, #4096 @ 0x1000 + 80006f8: 2103 movs r1, #3 + 80006fa: a803 add r0, sp, #12 + 80006fc: e9cd 2306 strd r2, r3, [sp, #24] + 8000700: f001 fe94 bl 800242c + 8000704: b108 cbz r0, 800070a + 8000706: b672 cpsid i + 8000708: e7fe b.n 8000708 + 800070a: b014 add sp, #80 @ 0x50 + 800070c: bd10 pop {r4, pc} + 800070e: bf00 nop + 8000710: 40023800 .word 0x40023800 + 8000714: 40007000 .word 0x40007000 -080011cc : - 80011cc: b538 push {r3, r4, r5, lr} - 80011ce: f8d0 3084 ldr.w r3, [r0, #132] ; 0x84 - 80011d2: 2b23 cmp r3, #35 ; 0x23 - 80011d4: 4604 mov r4, r0 - 80011d6: d129 bne.n 800122c - 80011d8: f8c0 3084 str.w r3, [r0, #132] ; 0x84 - 80011dc: 6803 ldr r3, [r0, #0] - 80011de: f503 5280 add.w r2, r3, #4096 ; 0x1000 - 80011e2: 2001 movs r0, #1 - 80011e4: 6991 ldr r1, [r2, #24] - 80011e6: f421 5100 bic.w r1, r1, #8192 ; 0x2000 - 80011ea: 6191 str r1, [r2, #24] - 80011ec: 6991 ldr r1, [r2, #24] - 80011ee: f021 0102 bic.w r1, r1, #2 - 80011f2: 6191 str r1, [r2, #24] - 80011f4: 681a ldr r2, [r3, #0] - 80011f6: f022 0204 bic.w r2, r2, #4 - 80011fa: 601a str r2, [r3, #0] - 80011fc: 681d ldr r5, [r3, #0] - 80011fe: f7ff fc75 bl 8000aec - 8001202: 6823 ldr r3, [r4, #0] - 8001204: 4620 mov r0, r4 - 8001206: 601d str r5, [r3, #0] - 8001208: f7ff fe60 bl 8000ecc - 800120c: 6823 ldr r3, [r4, #0] - 800120e: 681a ldr r2, [r3, #0] - 8001210: f022 0208 bic.w r2, r2, #8 - 8001214: 601a str r2, [r3, #0] - 8001216: 2001 movs r0, #1 - 8001218: 681d ldr r5, [r3, #0] - 800121a: f7ff fc67 bl 8000aec - 800121e: 6823 ldr r3, [r4, #0] - 8001220: 601d str r5, [r3, #0] - 8001222: 2310 movs r3, #16 - 8001224: f8c4 3084 str.w r3, [r4, #132] ; 0x84 - 8001228: 2000 movs r0, #0 - 800122a: bd38 pop {r3, r4, r5, pc} - 800122c: 2001 movs r0, #1 - 800122e: e7fc b.n 800122a +08000718 : + 8000718: b510 push {r4, lr} + 800071a: 4a09 ldr r2, [pc, #36] @ (8000740 ) + 800071c: 4c09 ldr r4, [pc, #36] @ (8000744 ) + 800071e: 7a51 ldrb r1, [r2, #9] + 8000720: 7a92 ldrb r2, [r2, #10] + 8000722: 70a1 strb r1, [r4, #2] + 8000724: 2300 movs r3, #0 + 8000726: 4620 mov r0, r4 + 8000728: 8023 strh r3, [r4, #0] + 800072a: 70e2 strb r2, [r4, #3] + 800072c: 7163 strb r3, [r4, #5] + 800072e: 71a3 strb r3, [r4, #6] + 8000730: f000 fa9a bl 8000c68 + 8000734: 3006 adds r0, #6 + 8000736: b280 uxth r0, r0 + 8000738: f8a4 0578 strh.w r0, [r4, #1400] @ 0x578 + 800073c: bd10 pop {r4, pc} + 800073e: bf00 nop + 8000740: 20000634 .word 0x20000634 + 8000744: 200000b6 .word 0x200000b6 -08001230 : - 8001230: b5f8 push {r3, r4, r5, r6, r7, lr} - 8001232: 4604 mov r4, r0 - 8001234: 4615 mov r5, r2 - 8001236: b939 cbnz r1, 8001248 - 8001238: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 - 800123c: f043 0301 orr.w r3, r3, #1 - 8001240: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8001244: 2001 movs r0, #1 - 8001246: e027 b.n 8001298 - 8001248: f8d0 3084 ldr.w r3, [r0, #132] ; 0x84 - 800124c: 2b23 cmp r3, #35 ; 0x23 - 800124e: d1f9 bne.n 8001244 - 8001250: 2200 movs r2, #0 - 8001252: f7ff fcb7 bl 8000bc4 - 8001256: b120 cbz r0, 8001262 - 8001258: f8d4 3088 ldr.w r3, [r4, #136] ; 0x88 - 800125c: f043 0302 orr.w r3, r3, #2 - 8001260: e7ee b.n 8001240 - 8001262: f3bf 8f4f dsb sy - 8001266: 6aa3 ldr r3, [r4, #40] ; 0x28 - 8001268: 1d9a adds r2, r3, #6 - 800126a: f854 7022 ldr.w r7, [r4, r2, lsl #2] - 800126e: 1c5a adds r2, r3, #1 - 8001270: 2a03 cmp r2, #3 - 8001272: bf86 itte hi - 8001274: 3b03 subhi r3, #3 - 8001276: 62a3 strhi r3, [r4, #40] ; 0x28 - 8001278: 62a2 strls r2, [r4, #40] ; 0x28 - 800127a: 6aa2 ldr r2, [r4, #40] ; 0x28 - 800127c: 6823 ldr r3, [r4, #0] - 800127e: 3206 adds r2, #6 - 8001280: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 8001284: f854 2022 ldr.w r2, [r4, r2, lsl #2] - 8001288: 605a str r2, [r3, #4] - 800128a: f7ff fc29 bl 8000ae0 - 800128e: 4606 mov r6, r0 - 8001290: 683b ldr r3, [r7, #0] - 8001292: 2b00 cmp r3, #0 - 8001294: db01 blt.n 800129a - 8001296: 2000 movs r0, #0 - 8001298: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800129a: 6823 ldr r3, [r4, #0] - 800129c: f503 5380 add.w r3, r3, #4096 ; 0x1000 - 80012a0: 695a ldr r2, [r3, #20] - 80012a2: 0492 lsls r2, r2, #18 - 80012a4: d509 bpl.n 80012ba - 80012a6: f8d4 2088 ldr.w r2, [r4, #136] ; 0x88 - 80012aa: f042 0208 orr.w r2, r2, #8 - 80012ae: f8c4 2088 str.w r2, [r4, #136] ; 0x88 - 80012b2: 695b ldr r3, [r3, #20] - 80012b4: f8c4 308c str.w r3, [r4, #140] ; 0x8c - 80012b8: e7c4 b.n 8001244 - 80012ba: 1c6b adds r3, r5, #1 - 80012bc: d0e8 beq.n 8001290 - 80012be: f7ff fc0f bl 8000ae0 - 80012c2: 1b80 subs r0, r0, r6 - 80012c4: 42a8 cmp r0, r5 - 80012c6: d801 bhi.n 80012cc - 80012c8: 2d00 cmp r5, #0 - 80012ca: d1e1 bne.n 8001290 - 80012cc: f8d4 3088 ldr.w r3, [r4, #136] ; 0x88 - 80012d0: f043 0304 orr.w r3, r3, #4 - 80012d4: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 80012d8: f04f 5340 mov.w r3, #805306368 ; 0x30000000 - 80012dc: 603b str r3, [r7, #0] - 80012de: e7b1 b.n 8001244 +08000748 : + 8000748: 8141 strh r1, [r0, #10] + 800074a: 8101 strh r1, [r0, #8] + 800074c: 460a mov r2, r1 + 800074e: 6840 ldr r0, [r0, #4] + 8000750: 4901 ldr r1, [pc, #4] @ (8000758 ) + 8000752: f009 bdec b.w 800a32e + 8000756: bf00 nop + 8000758: 200000b6 .word 0x200000b6 -080012e0 : - 80012e0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80012e4: 4604 mov r4, r0 - 80012e6: b085 sub sp, #20 - 80012e8: 468a mov sl, r1 - 80012ea: b949 cbnz r1, 8001300 - 80012ec: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 - 80012f0: f043 0301 orr.w r3, r3, #1 - 80012f4: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 80012f8: 2001 movs r0, #1 - 80012fa: b005 add sp, #20 - 80012fc: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8001300: f8d0 3084 ldr.w r3, [r0, #132] ; 0x84 - 8001304: 2b23 cmp r3, #35 ; 0x23 - 8001306: d1f7 bne.n 80012f8 - 8001308: f8d0 905c ldr.w r9, [r0, #92] ; 0x5c - 800130c: f109 0312 add.w r3, r9, #18 - 8001310: f04f 0800 mov.w r8, #0 - 8001314: f850 5023 ldr.w r5, [r0, r3, lsl #2] - 8001318: 6ec3 ldr r3, [r0, #108] ; 0x6c - 800131a: f1c3 0304 rsb r3, r3, #4 - 800131e: f100 0180 add.w r1, r0, #128 ; 0x80 - 8001322: 9301 str r3, [sp, #4] - 8001324: 4646 mov r6, r8 - 8001326: 307c adds r0, #124 ; 0x7c - 8001328: 46c3 mov fp, r8 - 800132a: 682b ldr r3, [r5, #0] - 800132c: 2b00 cmp r3, #0 - 800132e: db05 blt.n 800133c - 8001330: 9b01 ldr r3, [sp, #4] - 8001332: 429e cmp r6, r3 - 8001334: d002 beq.n 800133c - 8001336: f1b8 0f00 cmp.w r8, #0 - 800133a: d011 beq.n 8001360 - 800133c: 6ee3 ldr r3, [r4, #108] ; 0x6c - 800133e: 441e add r6, r3 - 8001340: 66e6 str r6, [r4, #108] ; 0x6c - 8001342: b116 cbz r6, 800134a - 8001344: 4620 mov r0, r4 - 8001346: f7ff fdd9 bl 8000efc - 800134a: f8c4 905c str.w r9, [r4, #92] ; 0x5c - 800134e: f1b8 0f00 cmp.w r8, #0 - 8001352: d0d1 beq.n 80012f8 - 8001354: 6fe3 ldr r3, [r4, #124] ; 0x7c - 8001356: f8ca 3000 str.w r3, [sl] - 800135a: 2000 movs r0, #0 - 800135c: 67e0 str r0, [r4, #124] ; 0x7c - 800135e: e7cc b.n 80012fa - 8001360: 682b ldr r3, [r5, #0] - 8001362: 05db lsls r3, r3, #23 - 8001364: bf41 itttt mi - 8001366: 69ab ldrmi r3, [r5, #24] - 8001368: 67a3 strmi r3, [r4, #120] ; 0x78 - 800136a: 69eb ldrmi r3, [r5, #28] - 800136c: 6763 strmi r3, [r4, #116] ; 0x74 - 800136e: 682b ldr r3, [r5, #0] - 8001370: 059f lsls r7, r3, #22 - 8001372: d401 bmi.n 8001378 - 8001374: 6fe3 ldr r3, [r4, #124] ; 0x7c - 8001376: b31b cbz r3, 80013c0 - 8001378: 682b ldr r3, [r5, #0] - 800137a: 059a lsls r2, r3, #22 - 800137c: 682b ldr r3, [r5, #0] - 800137e: bf48 it mi - 8001380: e9c4 bb18 strdmi fp, fp, [r4, #96] ; 0x60 - 8001384: 05db lsls r3, r3, #23 - 8001386: bf4a itet mi - 8001388: 682f ldrmi r7, [r5, #0] - 800138a: 6967 ldrpl r7, [r4, #20] - 800138c: 682b ldrmi r3, [r5, #0] - 800138e: 68aa ldr r2, [r5, #8] - 8001390: bf42 ittt mi - 8001392: 6723 strmi r3, [r4, #112] ; 0x70 - 8001394: f3c7 470d ubfxmi r7, r7, #16, #14 - 8001398: 3f04 submi r7, #4 - 800139a: b2bb uxth r3, r7 - 800139c: 622a str r2, [r5, #32] - 800139e: e9cd 0102 strd r0, r1, [sp, #8] - 80013a2: bf48 it mi - 80013a4: f04f 0801 movmi.w r8, #1 - 80013a8: f000 ffb0 bl 800230c - 80013ac: 6e23 ldr r3, [r4, #96] ; 0x60 - 80013ae: 3301 adds r3, #1 - 80013b0: 6623 str r3, [r4, #96] ; 0x60 - 80013b2: 6e63 ldr r3, [r4, #100] ; 0x64 - 80013b4: e9dd 0102 ldrd r0, r1, [sp, #8] - 80013b8: 443b add r3, r7 - 80013ba: 6663 str r3, [r4, #100] ; 0x64 - 80013bc: f8c5 b020 str.w fp, [r5, #32] - 80013c0: f109 0301 add.w r3, r9, #1 - 80013c4: 2b03 cmp r3, #3 - 80013c6: bf88 it hi - 80013c8: f1a9 0303 subhi.w r3, r9, #3 - 80013cc: f103 0212 add.w r2, r3, #18 - 80013d0: 3601 adds r6, #1 - 80013d2: f854 5022 ldr.w r5, [r4, r2, lsl #2] - 80013d6: 4699 mov r9, r3 - 80013d8: e7a7 b.n 800132a +0800075c : + 800075c: b513 push {r0, r1, r4, lr} + 800075e: 4604 mov r4, r0 + 8000760: f000 fa58 bl 8000c14 + 8000764: 9001 str r0, [sp, #4] + 8000766: f000 fa6b bl 8000c40 + 800076a: a901 add r1, sp, #4 + 800076c: 4602 mov r2, r0 + 800076e: 4620 mov r0, r4 + 8000770: f006 fe1a bl 80073a8 + 8000774: 4620 mov r0, r4 + 8000776: 490c ldr r1, [pc, #48] @ (80007a8 ) + 8000778: 2200 movs r2, #0 + 800077a: f006 ffcf bl 800771c + 800077e: 480b ldr r0, [pc, #44] @ (80007ac ) + 8000780: 4b0b ldr r3, [pc, #44] @ (80007b0 ) + 8000782: 2100 movs r1, #0 + 8000784: 8001 strh r1, [r0, #0] + 8000786: 8041 strh r1, [r0, #2] + 8000788: 8081 strh r1, [r0, #4] + 800078a: 7181 strb r1, [r0, #6] + 800078c: f8a0 1808 strh.w r1, [r0, #2056] @ 0x808 + 8000790: f44f 6200 mov.w r2, #2048 @ 0x800 + 8000794: 3007 adds r0, #7 + 8000796: f8a3 1578 strh.w r1, [r3, #1400] @ 0x578 + 800079a: f8a3 157c strh.w r1, [r3, #1404] @ 0x57c + 800079e: b002 add sp, #8 + 80007a0: e8bd 4010 ldmia.w sp!, {r4, lr} + 80007a4: f009 bd4d b.w 800a242 + 80007a8: 08000b8d .word 0x08000b8d + 80007ac: 20000634 .word 0x20000634 + 80007b0: 200000b6 .word 0x200000b6 -080013da : - 80013da: b5f8 push {r3, r4, r5, r6, r7, lr} - 80013dc: 4605 mov r5, r0 - 80013de: 6800 ldr r0, [r0, #0] - 80013e0: 461e mov r6, r3 - 80013e2: 6903 ldr r3, [r0, #16] - 80013e4: 0192 lsls r2, r2, #6 - 80013e6: f402 64f8 and.w r4, r2, #1984 ; 0x7c0 - 80013ea: f003 021c and.w r2, r3, #28 - 80013ee: 4322 orrs r2, r4 - 80013f0: 02cc lsls r4, r1, #11 - 80013f2: b2a4 uxth r4, r4 - 80013f4: 4314 orrs r4, r2 - 80013f6: f044 0401 orr.w r4, r4, #1 - 80013fa: 6104 str r4, [r0, #16] - 80013fc: f7ff fb70 bl 8000ae0 - 8001400: 4607 mov r7, r0 - 8001402: f014 0401 ands.w r4, r4, #1 - 8001406: d105 bne.n 8001414 - 8001408: 682b ldr r3, [r5, #0] - 800140a: 695b ldr r3, [r3, #20] - 800140c: b29b uxth r3, r3 - 800140e: 6033 str r3, [r6, #0] - 8001410: 4620 mov r0, r4 - 8001412: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8001414: f7ff fb64 bl 8000ae0 - 8001418: 1bc0 subs r0, r0, r7 - 800141a: f5b0 3f80 cmp.w r0, #65536 ; 0x10000 - 800141e: d202 bcs.n 8001426 - 8001420: 682b ldr r3, [r5, #0] - 8001422: 691c ldr r4, [r3, #16] - 8001424: e7ed b.n 8001402 - 8001426: 2001 movs r0, #1 - 8001428: e7f3 b.n 8001412 +080007b4
: + 80007b4: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 80007b8: b091 sub sp, #68 @ 0x44 + 80007ba: f000 fc23 bl 8001004 + 80007be: f7ff ff59 bl 8000674 + 80007c2: 2214 movs r2, #20 + 80007c4: 2100 movs r1, #0 + 80007c6: a809 add r0, sp, #36 @ 0x24 + 80007c8: f009 fd3b bl 800a242 + 80007cc: 2400 movs r4, #0 + 80007ce: 4b89 ldr r3, [pc, #548] @ (80009f4 ) + 80007d0: 9400 str r4, [sp, #0] + 80007d2: 6b1a ldr r2, [r3, #48] @ 0x30 + 80007d4: 4888 ldr r0, [pc, #544] @ (80009f8 ) + 80007d6: f042 0210 orr.w r2, r2, #16 + 80007da: 631a str r2, [r3, #48] @ 0x30 + 80007dc: 6b1a ldr r2, [r3, #48] @ 0x30 + 80007de: f002 0210 and.w r2, r2, #16 + 80007e2: 9200 str r2, [sp, #0] + 80007e4: 9a00 ldr r2, [sp, #0] + 80007e6: 9401 str r4, [sp, #4] + 80007e8: 6b1a ldr r2, [r3, #48] @ 0x30 + 80007ea: f042 0204 orr.w r2, r2, #4 + 80007ee: 631a str r2, [r3, #48] @ 0x30 + 80007f0: 6b1a ldr r2, [r3, #48] @ 0x30 + 80007f2: f002 0204 and.w r2, r2, #4 + 80007f6: 9201 str r2, [sp, #4] + 80007f8: 9a01 ldr r2, [sp, #4] + 80007fa: 9402 str r4, [sp, #8] + 80007fc: 6b1a ldr r2, [r3, #48] @ 0x30 + 80007fe: f042 0220 orr.w r2, r2, #32 + 8000802: 631a str r2, [r3, #48] @ 0x30 + 8000804: 6b1a ldr r2, [r3, #48] @ 0x30 + 8000806: f002 0220 and.w r2, r2, #32 + 800080a: 9202 str r2, [sp, #8] + 800080c: 9a02 ldr r2, [sp, #8] + 800080e: 9403 str r4, [sp, #12] + 8000810: 6b1a ldr r2, [r3, #48] @ 0x30 + 8000812: f042 0201 orr.w r2, r2, #1 + 8000816: 631a str r2, [r3, #48] @ 0x30 + 8000818: 6b1a ldr r2, [r3, #48] @ 0x30 + 800081a: f002 0201 and.w r2, r2, #1 + 800081e: 9203 str r2, [sp, #12] + 8000820: 9a03 ldr r2, [sp, #12] + 8000822: 9404 str r4, [sp, #16] + 8000824: 6b1a ldr r2, [r3, #48] @ 0x30 + 8000826: f042 0240 orr.w r2, r2, #64 @ 0x40 + 800082a: 631a str r2, [r3, #48] @ 0x30 + 800082c: 6b1a ldr r2, [r3, #48] @ 0x30 + 800082e: f002 0240 and.w r2, r2, #64 @ 0x40 + 8000832: 9204 str r2, [sp, #16] + 8000834: 9a04 ldr r2, [sp, #16] + 8000836: 9405 str r4, [sp, #20] + 8000838: 6b1a ldr r2, [r3, #48] @ 0x30 + 800083a: f042 0202 orr.w r2, r2, #2 + 800083e: 631a str r2, [r3, #48] @ 0x30 + 8000840: 6b1a ldr r2, [r3, #48] @ 0x30 + 8000842: f002 0202 and.w r2, r2, #2 + 8000846: 9205 str r2, [sp, #20] + 8000848: 9a05 ldr r2, [sp, #20] + 800084a: 9406 str r4, [sp, #24] + 800084c: 6b1a ldr r2, [r3, #48] @ 0x30 + 800084e: f042 0208 orr.w r2, r2, #8 + 8000852: 631a str r2, [r3, #48] @ 0x30 + 8000854: 6b1b ldr r3, [r3, #48] @ 0x30 + 8000856: f003 0308 and.w r3, r3, #8 + 800085a: 4622 mov r2, r4 + 800085c: 9306 str r3, [sp, #24] + 800085e: f44f 4180 mov.w r1, #16384 @ 0x4000 + 8000862: 9b06 ldr r3, [sp, #24] + 8000864: f001 fc00 bl 8002068 + 8000868: f44f 5347 mov.w r3, #12736 @ 0x31c0 + 800086c: 4862 ldr r0, [pc, #392] @ (80009f8 ) + 800086e: 940b str r4, [sp, #44] @ 0x2c + 8000870: a909 add r1, sp, #36 @ 0x24 + 8000872: e9cd 3409 strd r3, r4, [sp, #36] @ 0x24 + 8000876: f001 fb13 bl 8001ea0 + 800087a: 2301 movs r3, #1 + 800087c: f44f 4180 mov.w r1, #16384 @ 0x4000 + 8000880: e9cd 1309 strd r1, r3, [sp, #36] @ 0x24 + 8000884: 485c ldr r0, [pc, #368] @ (80009f8 ) + 8000886: a909 add r1, sp, #36 @ 0x24 + 8000888: e9cd 440b strd r4, r4, [sp, #44] @ 0x2c + 800088c: f001 fb08 bl 8001ea0 + 8000890: 2064 movs r0, #100 @ 0x64 + 8000892: f000 fbe3 bl 800105c + 8000896: f002 f977 bl 8002b88 + 800089a: 4858 ldr r0, [pc, #352] @ (80009fc ) + 800089c: 940f str r4, [sp, #60] @ 0x3c + 800089e: f04f 4320 mov.w r3, #2684354560 @ 0xa0000000 + 80008a2: 6003 str r3, [r0, #0] + 80008a4: f503 7382 add.w r3, r3, #260 @ 0x104 + 80008a8: e9c0 3401 strd r3, r4, [r0, #4] + 80008ac: 220f movs r2, #15 + 80008ae: 230a movs r3, #10 + 80008b0: e9cd 230b strd r2, r3, [sp, #44] @ 0x2c + 80008b4: 2710 movs r7, #16 + 80008b6: f44f 5680 mov.w r6, #4096 @ 0x1000 + 80008ba: 4622 mov r2, r4 + 80008bc: a909 add r1, sp, #36 @ 0x24 + 80008be: e9c0 4403 strd r4, r4, [r0, #12] + 80008c2: e9c0 7405 strd r7, r4, [r0, #20] + 80008c6: e9c0 4407 strd r4, r4, [r0, #28] + 80008ca: e9c0 640a strd r6, r4, [r0, #40] @ 0x28 + 80008ce: e9c0 440c strd r4, r4, [r0, #48] @ 0x30 + 80008d2: e9c0 440e strd r4, r4, [r0, #56] @ 0x38 + 80008d6: e9cd 3309 strd r3, r3, [sp, #36] @ 0x24 + 80008da: e9cd 330d strd r3, r3, [sp, #52] @ 0x34 + 80008de: 6244 str r4, [r0, #36] @ 0x24 + 80008e0: 6444 str r4, [r0, #68] @ 0x44 + 80008e2: f001 fe43 bl 800256c + 80008e6: 4605 mov r5, r0 + 80008e8: b108 cbz r0, 80008ee + 80008ea: b672 cpsid i + 80008ec: e7fe b.n 80008ec + 80008ee: 463a mov r2, r7 + 80008f0: 4601 mov r1, r0 + 80008f2: a809 add r0, sp, #36 @ 0x24 + 80008f4: f009 fca5 bl 800a242 + 80008f8: 4c41 ldr r4, [pc, #260] @ (8000a00 ) + 80008fa: 4a42 ldr r2, [pc, #264] @ (8000a04 ) + 80008fc: 60a5 str r5, [r4, #8] + 80008fe: 2316 movs r3, #22 + 8000900: e9c4 2300 strd r2, r3, [r4] + 8000904: 4620 mov r0, r4 + 8000906: f640 037a movw r3, #2170 @ 0x87a + 800090a: e9cd 5507 strd r5, r5, [sp, #28] + 800090e: e9c4 3503 strd r3, r5, [r4, #12] + 8000912: 61a5 str r5, [r4, #24] + 8000914: f001 ffa0 bl 8002858 + 8000918: b108 cbz r0, 800091e + 800091a: b672 cpsid i + 800091c: e7fe b.n 800091c + 800091e: a909 add r1, sp, #36 @ 0x24 + 8000920: 4620 mov r0, r4 + 8000922: 9609 str r6, [sp, #36] @ 0x24 + 8000924: f001 ffce bl 80028c4 + 8000928: b108 cbz r0, 800092e + 800092a: b672 cpsid i + 800092c: e7fe b.n 800092c + 800092e: e9cd 0007 strd r0, r0, [sp, #28] + 8000932: a907 add r1, sp, #28 + 8000934: 4620 mov r0, r4 + 8000936: f002 f85f bl 80029f8 + 800093a: 4605 mov r5, r0 + 800093c: b108 cbz r0, 8000942 + 800093e: b672 cpsid i + 8000940: e7fe b.n 8000940 + 8000942: f006 ff23 bl 800778c + 8000946: 4606 mov r6, r0 + 8000948: f7ff ff08 bl 800075c + 800094c: 4629 mov r1, r5 + 800094e: f44f 62af mov.w r2, #1400 @ 0x578 + 8000952: 482d ldr r0, [pc, #180] @ (8000a08 ) + 8000954: f009 fc75 bl 800a242 + 8000958: f44f 7220 mov.w r2, #640 @ 0x280 + 800095c: f44f 61af mov.w r1, #1400 @ 0x578 + 8000960: 4628 mov r0, r5 + 8000962: f003 f911 bl 8003b88 + 8000966: 4605 mov r5, r0 + 8000968: 4828 ldr r0, [pc, #160] @ (8000a0c ) + 800096a: f008 feb5 bl 80096d8 + 800096e: 9009 str r0, [sp, #36] @ 0x24 + 8000970: 4620 mov r0, r4 + 8000972: f001 fe29 bl 80025c8 + 8000976: bb40 cbnz r0, 80009ca + 8000978: f8df 80a0 ldr.w r8, [pc, #160] @ 8000a1c + 800097c: 4c24 ldr r4, [pc, #144] @ (8000a10 ) + 800097e: 4f25 ldr r7, [pc, #148] @ (8000a14 ) + 8000980: f002 f948 bl 8002c14 + 8000984: f898 9000 ldrb.w r9, [r8] + 8000988: f1b9 0f00 cmp.w r9, #0 + 800098c: d01f beq.n 80009ce + 800098e: 4b1e ldr r3, [pc, #120] @ (8000a08 ) + 8000990: f8b3 1578 ldrh.w r1, [r3, #1400] @ 0x578 + 8000994: f8b3 357c ldrh.w r3, [r3, #1404] @ 0x57c + 8000998: 4419 add r1, r3 + 800099a: f04f 0900 mov.w r9, #0 + 800099e: b289 uxth r1, r1 + 80009a0: 4628 mov r0, r5 + 80009a2: f888 9000 strb.w r9, [r8] + 80009a6: f7ff fecf bl 8000748 + 80009aa: 8823 ldrh r3, [r4, #0] + 80009ac: 4a1a ldr r2, [pc, #104] @ (8000a18 ) + 80009ae: 4629 mov r1, r5 + 80009b0: 4630 mov r0, r6 + 80009b2: f006 fe3d bl 8007630 + 80009b6: f8c7 9000 str.w r9, [r7] + 80009ba: f8b4 380a ldrh.w r3, [r4, #2058] @ 0x80a + 80009be: f5b3 6ffa cmp.w r3, #2000 @ 0x7d0 + 80009c2: d3dd bcc.n 8000980 + 80009c4: 2300 movs r3, #0 + 80009c6: 71a3 strb r3, [r4, #6] + 80009c8: e7da b.n 8000980 + 80009ca: b672 cpsid i + 80009cc: e7fe b.n 80009cc + 80009ce: 683b ldr r3, [r7, #0] + 80009d0: 2b63 cmp r3, #99 @ 0x63 + 80009d2: d9f2 bls.n 80009ba + 80009d4: f7ff fea0 bl 8000718 + 80009d8: f7ff fe9e bl 8000718 + 80009dc: 4b0a ldr r3, [pc, #40] @ (8000a08 ) + 80009de: f8b3 357c ldrh.w r3, [r3, #1404] @ 0x57c + 80009e2: 18c1 adds r1, r0, r3 + 80009e4: b289 uxth r1, r1 + 80009e6: 4628 mov r0, r5 + 80009e8: f7ff feae bl 8000748 + 80009ec: f24c 3350 movw r3, #50000 @ 0xc350 + 80009f0: aa09 add r2, sp, #36 @ 0x24 + 80009f2: e7dc b.n 80009ae + 80009f4: 40023800 .word 0x40023800 + 80009f8: 40020800 .word 0x40020800 + 80009fc: 20000e48 .word 0x20000e48 + 8000a00: 20000e98 .word 0x20000e98 + 8000a04: 40000400 .word 0x40000400 + 8000a08: 200000b6 .word 0x200000b6 + 8000a0c: 0800b044 .word 0x0800b044 + 8000a10: 20000634 .word 0x20000634 + 8000a14: 20000e44 .word 0x20000e44 + 8000a18: 20000e40 .word 0x20000e40 + 8000a1c: 200000b4 .word 0x200000b4 -0800142a : - 800142a: b570 push {r4, r5, r6, lr} - 800142c: 4605 mov r5, r0 - 800142e: 6800 ldr r0, [r0, #0] - 8001430: 6906 ldr r6, [r0, #16] - 8001432: 0192 lsls r2, r2, #6 - 8001434: f402 64f8 and.w r4, r2, #1984 ; 0x7c0 - 8001438: f006 021c and.w r2, r6, #28 - 800143c: 4322 orrs r2, r4 - 800143e: 02cc lsls r4, r1, #11 - 8001440: b2a4 uxth r4, r4 - 8001442: 4314 orrs r4, r2 - 8001444: b29b uxth r3, r3 - 8001446: f044 0403 orr.w r4, r4, #3 - 800144a: 6143 str r3, [r0, #20] - 800144c: 6104 str r4, [r0, #16] - 800144e: f7ff fb47 bl 8000ae0 - 8001452: 4606 mov r6, r0 - 8001454: f014 0401 ands.w r4, r4, #1 - 8001458: d101 bne.n 800145e - 800145a: 4620 mov r0, r4 - 800145c: bd70 pop {r4, r5, r6, pc} - 800145e: f7ff fb3f bl 8000ae0 - 8001462: 1b80 subs r0, r0, r6 - 8001464: f5b0 3f80 cmp.w r0, #65536 ; 0x10000 - 8001468: d202 bcs.n 8001470 - 800146a: 682b ldr r3, [r5, #0] - 800146c: 691c ldr r4, [r3, #16] - 800146e: e7f1 b.n 8001454 - 8001470: 2001 movs r0, #1 - 8001472: e7f3 b.n 800145c +08000a20 : + 8000a20: b5f8 push {r3, r4, r5, r6, r7, lr} + 8000a22: 4d57 ldr r5, [pc, #348] @ (8000b80 ) + 8000a24: 4c57 ldr r4, [pc, #348] @ (8000b84 ) + 8000a26: f8b5 3009 ldrh.w r3, [r5, #9] + 8000a2a: 806b strh r3, [r5, #2] + 8000a2c: 7b6b ldrb r3, [r5, #13] + 8000a2e: 80ab strh r3, [r5, #4] + 8000a30: f7ff fe72 bl 8000718 + 8000a34: 88aa ldrh r2, [r5, #4] + 8000a36: f8a4 0578 strh.w r0, [r4, #1400] @ 0x578 + 8000a3a: 2a33 cmp r2, #51 @ 0x33 + 8000a3c: eb00 0304 add.w r3, r0, r4 + 8000a40: d079 beq.n 8000b36 + 8000a42: d806 bhi.n 8000a52 + 8000a44: b322 cbz r2, 8000a90 + 8000a46: 2a01 cmp r2, #1 + 8000a48: d04d beq.n 8000ae6 + 8000a4a: 4b4f ldr r3, [pc, #316] @ (8000b88 ) + 8000a4c: 2201 movs r2, #1 + 8000a4e: 701a strb r2, [r3, #0] + 8000a50: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8000a52: 2a37 cmp r2, #55 @ 0x37 + 8000a54: d1f9 bne.n 8000a4a + 8000a56: 5422 strb r2, [r4, r0] + 8000a58: 8a2a ldrh r2, [r5, #16] + 8000a5a: f8b5 1808 ldrh.w r1, [r5, #2056] @ 0x808 + 8000a5e: f102 0009 add.w r0, r2, #9 + 8000a62: 4288 cmp r0, r1 + 8000a64: da1c bge.n 8000aa0 + 8000a66: 2101 movs r1, #1 + 8000a68: 89e8 ldrh r0, [r5, #14] + 8000a6a: 7059 strb r1, [r3, #1] + 8000a6c: f012 0303 ands.w r3, r2, #3 + 8000a70: bf18 it ne + 8000a72: 460b movne r3, r1 + 8000a74: f100 6000 add.w r0, r0, #134217728 @ 0x8000000 + 8000a78: eb03 0292 add.w r2, r3, r2, lsr #2 + 8000a7c: f105 0112 add.w r1, r5, #18 + 8000a80: f500 20c0 add.w r0, r0, #393216 @ 0x60000 + 8000a84: f7ff fdb6 bl 80005f4 + 8000a88: 2302 movs r3, #2 + 8000a8a: f8a4 357c strh.w r3, [r4, #1404] @ 0x57c + 8000a8e: e7dc b.n 8000a4a + 8000a90: 5422 strb r2, [r4, r0] + 8000a92: 7ba8 ldrb r0, [r5, #14] + 8000a94: f8b5 2808 ldrh.w r2, [r5, #2056] @ 0x808 + 8000a98: 1d01 adds r1, r0, #4 + 8000a9a: ebb2 0f41 cmp.w r2, r1, lsl #1 + 8000a9e: da04 bge.n 8000aaa + 8000aa0: 2202 movs r2, #2 + 8000aa2: 705a strb r2, [r3, #1] + 8000aa4: f8a4 257c strh.w r2, [r4, #1404] @ 0x57c + 8000aa8: e7cf b.n 8000a4a + 8000aaa: 2201 movs r2, #1 + 8000aac: 705a strb r2, [r3, #1] + 8000aae: 7098 strb r0, [r3, #2] + 8000ab0: eb03 0680 add.w r6, r3, r0, lsl #2 + 8000ab4: 429e cmp r6, r3 + 8000ab6: f105 0502 add.w r5, r5, #2 + 8000aba: d104 bne.n 8000ac6 + 8000abc: 0080 lsls r0, r0, #2 + 8000abe: 3003 adds r0, #3 + 8000ac0: f8a4 057c strh.w r0, [r4, #1404] @ 0x57c + 8000ac4: e7c1 b.n 8000a4a + 8000ac6: 7b6a ldrb r2, [r5, #13] + 8000ac8: 7ba9 ldrb r1, [r5, #14] + 8000aca: 70da strb r2, [r3, #3] + 8000acc: eb02 2201 add.w r2, r2, r1, lsl #8 + 8000ad0: b292 uxth r2, r2 + 8000ad2: 0052 lsls r2, r2, #1 + 8000ad4: f102 42c0 add.w r2, r2, #1610612736 @ 0x60000000 + 8000ad8: 7119 strb r1, [r3, #4] + 8000ada: 8812 ldrh r2, [r2, #0] + 8000adc: 715a strb r2, [r3, #5] + 8000ade: 0a12 lsrs r2, r2, #8 + 8000ae0: 719a strb r2, [r3, #6] + 8000ae2: 3304 adds r3, #4 + 8000ae4: e7e6 b.n 8000ab4 + 8000ae6: 5422 strb r2, [r4, r0] + 8000ae8: 7ba8 ldrb r0, [r5, #14] + 8000aea: f8b5 1808 ldrh.w r1, [r5, #2056] @ 0x808 + 8000aee: 1c86 adds r6, r0, #2 + 8000af0: ebb1 0f86 cmp.w r1, r6, lsl #2 + 8000af4: dbd4 blt.n 8000aa0 + 8000af6: 705a strb r2, [r3, #1] + 8000af8: 7098 strb r0, [r3, #2] + 8000afa: eb03 0680 add.w r6, r3, r0, lsl #2 + 8000afe: 42b3 cmp r3, r6 + 8000b00: f105 0504 add.w r5, r5, #4 + 8000b04: d0da beq.n 8000abc + 8000b06: 7b2f ldrb r7, [r5, #12] + 8000b08: 7aea ldrb r2, [r5, #11] + 8000b0a: 70da strb r2, [r3, #3] + 8000b0c: eb02 2207 add.w r2, r2, r7, lsl #8 + 8000b10: b292 uxth r2, r2 + 8000b12: 0052 lsls r2, r2, #1 + 8000b14: f895 c00e ldrb.w ip, [r5, #14] + 8000b18: 7b69 ldrb r1, [r5, #13] + 8000b1a: 711f strb r7, [r3, #4] + 8000b1c: f102 42c0 add.w r2, r2, #1610612736 @ 0x60000000 + 8000b20: f502 0780 add.w r7, r2, #4194304 @ 0x400000 + 8000b24: eb01 210c add.w r1, r1, ip, lsl #8 + 8000b28: 8039 strh r1, [r7, #0] + 8000b2a: 8812 ldrh r2, [r2, #0] + 8000b2c: 715a strb r2, [r3, #5] + 8000b2e: 0a12 lsrs r2, r2, #8 + 8000b30: 719a strb r2, [r3, #6] + 8000b32: 3304 adds r3, #4 + 8000b34: e7e3 b.n 8000afe + 8000b36: 5422 strb r2, [r4, r0] + 8000b38: f8b5 2808 ldrh.w r2, [r5, #2056] @ 0x808 + 8000b3c: 8a2e ldrh r6, [r5, #16] + 8000b3e: 7c29 ldrb r1, [r5, #16] + 8000b40: 2a07 cmp r2, #7 + 8000b42: d9ad bls.n 8000aa0 + 8000b44: 7ba8 ldrb r0, [r5, #14] + 8000b46: 7119 strb r1, [r3, #4] + 8000b48: 7be9 ldrb r1, [r5, #15] + 8000b4a: 7098 strb r0, [r3, #2] + 8000b4c: 2201 movs r2, #1 + 8000b4e: 705a strb r2, [r3, #1] + 8000b50: eb00 2001 add.w r0, r0, r1, lsl #8 + 8000b54: 2200 movs r2, #0 + 8000b56: 70da strb r2, [r3, #3] + 8000b58: 715a strb r2, [r3, #5] + 8000b5a: b280 uxth r0, r0 + 8000b5c: f016 0203 ands.w r2, r6, #3 + 8000b60: bf18 it ne + 8000b62: 2201 movne r2, #1 + 8000b64: f100 6000 add.w r0, r0, #134217728 @ 0x8000000 + 8000b68: eb02 0296 add.w r2, r2, r6, lsr #2 + 8000b6c: 1d99 adds r1, r3, #6 + 8000b6e: f500 20c0 add.w r0, r0, #393216 @ 0x60000 + 8000b72: 3606 adds r6, #6 + 8000b74: f7ff fd72 bl 800065c + 8000b78: f8a4 657c strh.w r6, [r4, #1404] @ 0x57c + 8000b7c: e765 b.n 8000a4a + 8000b7e: bf00 nop + 8000b80: 20000634 .word 0x20000634 + 8000b84: 200000b6 .word 0x200000b6 + 8000b88: 200000b4 .word 0x200000b4 -08001474 : - 8001474: 2900 cmp r1, #0 - 8001476: d05d beq.n 8001534 - 8001478: 6803 ldr r3, [r0, #0] - 800147a: 681a ldr r2, [r3, #0] - 800147c: f3c2 1200 ubfx r2, r2, #4, #1 - 8001480: f881 2028 strb.w r2, [r1, #40] ; 0x28 - 8001484: 681a ldr r2, [r3, #0] - 8001486: f002 0260 and.w r2, r2, #96 ; 0x60 - 800148a: 624a str r2, [r1, #36] ; 0x24 - 800148c: 681a ldr r2, [r3, #0] - 800148e: f482 7200 eor.w r2, r2, #512 ; 0x200 - 8001492: f3c2 2240 ubfx r2, r2, #9, #1 - 8001496: f881 2020 strb.w r2, [r1, #32] - 800149a: 681a ldr r2, [r3, #0] - 800149c: f3c2 4200 ubfx r2, r2, #16, #1 - 80014a0: 77ca strb r2, [r1, #31] - 80014a2: 681a ldr r2, [r3, #0] - 80014a4: f482 5200 eor.w r2, r2, #8192 ; 0x2000 - 80014a8: f3c2 3240 ubfx r2, r2, #13, #1 - 80014ac: 778a strb r2, [r1, #30] - 80014ae: 681a ldr r2, [r3, #0] - 80014b0: f3c2 3200 ubfx r2, r2, #12, #1 - 80014b4: 770a strb r2, [r1, #28] - 80014b6: 681a ldr r2, [r3, #0] - 80014b8: f402 6200 and.w r2, r2, #2048 ; 0x800 - 80014bc: 618a str r2, [r1, #24] - 80014be: 681a ldr r2, [r3, #0] - 80014c0: f402 4280 and.w r2, r2, #16384 ; 0x4000 - 80014c4: 614a str r2, [r1, #20] - 80014c6: 681a ldr r2, [r3, #0] - 80014c8: f482 0280 eor.w r2, r2, #4194304 ; 0x400000 - 80014cc: f3c2 5280 ubfx r2, r2, #22, #1 - 80014d0: 744a strb r2, [r1, #17] - 80014d2: 681a ldr r2, [r3, #0] - 80014d4: f482 0200 eor.w r2, r2, #8388608 ; 0x800000 - 80014d8: f3c2 52c0 ubfx r2, r2, #23, #1 - 80014dc: 740a strb r2, [r1, #16] - 80014de: 681a ldr r2, [r3, #0] - 80014e0: f3c2 12c0 ubfx r2, r2, #7, #1 - 80014e4: 73ca strb r2, [r1, #15] - 80014e6: 681a ldr r2, [r3, #0] - 80014e8: f402 2260 and.w r2, r2, #917504 ; 0xe0000 - 80014ec: 608a str r2, [r1, #8] - 80014ee: 681a ldr r2, [r3, #0] - 80014f0: f3c2 2280 ubfx r2, r2, #10, #1 - 80014f4: 710a strb r2, [r1, #4] - 80014f6: 699a ldr r2, [r3, #24] - 80014f8: f3c2 0240 ubfx r2, r2, #1, #1 - 80014fc: f881 2054 strb.w r2, [r1, #84] ; 0x54 - 8001500: 699a ldr r2, [r3, #24] - 8001502: f082 0280 eor.w r2, r2, #128 ; 0x80 - 8001506: f3c2 12c0 ubfx r2, r2, #7, #1 - 800150a: f881 204c strb.w r2, [r1, #76] ; 0x4c - 800150e: 699a ldr r2, [r3, #24] - 8001510: f002 0230 and.w r2, r2, #48 ; 0x30 - 8001514: 650a str r2, [r1, #80] ; 0x50 - 8001516: 699a ldr r2, [r3, #24] - 8001518: 0c12 lsrs r2, r2, #16 - 800151a: 648a str r2, [r1, #72] ; 0x48 - 800151c: 699a ldr r2, [r3, #24] - 800151e: f3c2 0280 ubfx r2, r2, #2, #1 - 8001522: f881 2056 strb.w r2, [r1, #86] ; 0x56 - 8001526: 699b ldr r3, [r3, #24] - 8001528: f3c3 03c0 ubfx r3, r3, #3, #1 - 800152c: f881 3055 strb.w r3, [r1, #85] ; 0x55 - 8001530: 2000 movs r0, #0 - 8001532: 4770 bx lr - 8001534: 2001 movs r0, #1 - 8001536: 4770 bx lr +08000b8c : + 8000b8c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8000b90: 461f mov r7, r3 + 8000b92: f8bd 8018 ldrh.w r8, [sp, #24] + 8000b96: 4614 mov r4, r2 + 8000b98: b39a cbz r2, 8000c02 + 8000b9a: 8912 ldrh r2, [r2, #8] + 8000b9c: f5b2 6f00 cmp.w r2, #2048 @ 0x800 + 8000ba0: d224 bcs.n 8000bec + 8000ba2: 2a05 cmp r2, #5 + 8000ba4: d92d bls.n 8000c02 + 8000ba6: 4e18 ldr r6, [pc, #96] @ (8000c08 ) + 8000ba8: 6861 ldr r1, [r4, #4] + 8000baa: 4630 mov r0, r6 + 8000bac: f009 fbbf bl 800a32e + 8000bb0: f816 3c01 ldrb.w r3, [r6, #-1] + 8000bb4: 1ff5 subs r5, r6, #7 + 8000bb6: b1f3 cbz r3, 8000bf6 + 8000bb8: 4814 ldr r0, [pc, #80] @ (8000c0c ) + 8000bba: 2204 movs r2, #4 + 8000bbc: 4639 mov r1, r7 + 8000bbe: f009 fb30 bl 800a222 + 8000bc2: b9f0 cbnz r0, 8000c02 + 8000bc4: f836 3c07 ldrh.w r3, [r6, #-7] + 8000bc8: 4543 cmp r3, r8 + 8000bca: d11a bne.n 8000c02 + 8000bcc: 886b ldrh r3, [r5, #2] + 8000bce: f8b5 2009 ldrh.w r2, [r5, #9] + 8000bd2: 3301 adds r3, #1 + 8000bd4: 429a cmp r2, r3 + 8000bd6: d114 bne.n 8000c02 + 8000bd8: 2300 movs r3, #0 + 8000bda: f8a5 380a strh.w r3, [r5, #2058] @ 0x80a + 8000bde: 2301 movs r3, #1 + 8000be0: 71ab strb r3, [r5, #6] + 8000be2: 8923 ldrh r3, [r4, #8] + 8000be4: f8a5 3808 strh.w r3, [r5, #2056] @ 0x808 + 8000be8: f7ff ff1a bl 8000a20 + 8000bec: 4620 mov r0, r4 + 8000bee: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8000bf2: f002 bf65 b.w 8003ac0 + 8000bf6: 4b05 ldr r3, [pc, #20] @ (8000c0c ) + 8000bf8: 683a ldr r2, [r7, #0] + 8000bfa: 601a str r2, [r3, #0] + 8000bfc: f826 8c07 strh.w r8, [r6, #-7] + 8000c00: e7ea b.n 8000bd8 + 8000c02: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8000c06: bf00 nop + 8000c08: 2000063b .word 0x2000063b + 8000c0c: 20000e40 .word 0x20000e40 -08001538 : - 8001538: b508 push {r3, lr} - 800153a: b139 cbz r1, 800154c - 800153c: f8d0 3084 ldr.w r3, [r0, #132] ; 0x84 - 8001540: 2b10 cmp r3, #16 - 8001542: d103 bne.n 800154c - 8001544: f7ff fbe8 bl 8000d18 - 8001548: 2000 movs r0, #0 - 800154a: bd08 pop {r3, pc} - 800154c: 2001 movs r0, #1 - 800154e: e7fc b.n 800154a +08000c10 : + 8000c10: b672 cpsid i + 8000c12: e7fe b.n 8000c12 -08001550 : - 8001550: b538 push {r3, r4, r5, lr} - 8001552: 6803 ldr r3, [r0, #0] - 8001554: 4605 mov r5, r0 - 8001556: 691c ldr r4, [r3, #16] - 8001558: f000 fb9a bl 8001c90 - 800155c: 4b11 ldr r3, [pc, #68] ; (80015a4 ) - 800155e: 4a12 ldr r2, [pc, #72] ; (80015a8 ) - 8001560: 4403 add r3, r0 - 8001562: 4293 cmp r3, r2 - 8001564: f024 041c bic.w r4, r4, #28 - 8001568: d204 bcs.n 8001574 - 800156a: f044 0408 orr.w r4, r4, #8 - 800156e: 682b ldr r3, [r5, #0] - 8001570: 611c str r4, [r3, #16] - 8001572: bd38 pop {r3, r4, r5, pc} - 8001574: 4b0d ldr r3, [pc, #52] ; (80015ac ) - 8001576: 4a0e ldr r2, [pc, #56] ; (80015b0 ) - 8001578: 4403 add r3, r0 - 800157a: 4293 cmp r3, r2 - 800157c: d802 bhi.n 8001584 - 800157e: f044 040c orr.w r4, r4, #12 - 8001582: e7f4 b.n 800156e - 8001584: 4b0b ldr r3, [pc, #44] ; (80015b4 ) - 8001586: 4a0c ldr r2, [pc, #48] ; (80015b8 ) - 8001588: 4403 add r3, r0 - 800158a: 4293 cmp r3, r2 - 800158c: d3ef bcc.n 800156e - 800158e: 4b0b ldr r3, [pc, #44] ; (80015bc ) - 8001590: 4a0b ldr r2, [pc, #44] ; (80015c0 ) - 8001592: 4403 add r3, r0 - 8001594: 4293 cmp r3, r2 - 8001596: bf94 ite ls - 8001598: f044 0404 orrls.w r4, r4, #4 - 800159c: f044 0410 orrhi.w r4, r4, #16 - 80015a0: e7e5 b.n 800156e - 80015a2: bf00 nop - 80015a4: feced300 .word 0xfeced300 - 80015a8: 00e4e1c0 .word 0x00e4e1c0 - 80015ac: fde9f140 .word 0xfde9f140 - 80015b0: 017d783f .word 0x017d783f - 80015b4: fc6c7900 .word 0xfc6c7900 - 80015b8: 02625a00 .word 0x02625a00 - 80015bc: fa0a1f00 .word 0xfa0a1f00 - 80015c0: 02faf07f .word 0x02faf07f +08000c14 : + 8000c14: 4a07 ldr r2, [pc, #28] @ (8000c34 ) + 8000c16: 6913 ldr r3, [r2, #16] + 8000c18: 6912 ldr r2, [r2, #16] + 8000c1a: 0a52 lsrs r2, r2, #9 + 8000c1c: f3c3 1382 ubfx r3, r3, #6, #3 + 8000c20: f002 0218 and.w r2, r2, #24 + 8000c24: 4313 orrs r3, r2 + 8000c26: 2b1b cmp r3, #27 + 8000c28: bf0c ite eq + 8000c2a: 4803 ldreq r0, [pc, #12] @ (8000c38 ) + 8000c2c: 4803 ldrne r0, [pc, #12] @ (8000c3c ) + 8000c2e: f008 bd53 b.w 80096d8 + 8000c32: bf00 nop + 8000c34: 40020800 .word 0x40020800 + 8000c38: 0800b04f .word 0x0800b04f + 8000c3c: 0800b059 .word 0x0800b059 -080015c4 : - 80015c4: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80015c8: f8df 91c0 ldr.w r9, [pc, #448] ; 800178c - 80015cc: 4a6d ldr r2, [pc, #436] ; (8001784 ) - 80015ce: 2300 movs r3, #0 - 80015d0: 680d ldr r5, [r1, #0] - 80015d2: 2401 movs r4, #1 - 80015d4: 409c lsls r4, r3 - 80015d6: ea04 0c05 and.w ip, r4, r5 - 80015da: 43ac bics r4, r5 - 80015dc: f040 80b9 bne.w 8001752 - 80015e0: 684d ldr r5, [r1, #4] - 80015e2: f005 0403 and.w r4, r5, #3 - 80015e6: ea4f 0843 mov.w r8, r3, lsl #1 - 80015ea: 2603 movs r6, #3 - 80015ec: 1e67 subs r7, r4, #1 - 80015ee: fa06 f608 lsl.w r6, r6, r8 - 80015f2: 2f01 cmp r7, #1 - 80015f4: ea6f 0606 mvn.w r6, r6 - 80015f8: d834 bhi.n 8001664 - 80015fa: 6887 ldr r7, [r0, #8] - 80015fc: ea07 0e06 and.w lr, r7, r6 - 8001600: 68cf ldr r7, [r1, #12] - 8001602: fa07 f708 lsl.w r7, r7, r8 - 8001606: ea47 070e orr.w r7, r7, lr - 800160a: 6087 str r7, [r0, #8] - 800160c: 6847 ldr r7, [r0, #4] - 800160e: ea27 0e0c bic.w lr, r7, ip - 8001612: f3c5 1700 ubfx r7, r5, #4, #1 - 8001616: 409f lsls r7, r3 - 8001618: ea47 070e orr.w r7, r7, lr - 800161c: 6047 str r7, [r0, #4] - 800161e: 68c7 ldr r7, [r0, #12] - 8001620: ea07 0e06 and.w lr, r7, r6 - 8001624: 688f ldr r7, [r1, #8] - 8001626: fa07 f708 lsl.w r7, r7, r8 - 800162a: ea47 070e orr.w r7, r7, lr - 800162e: 2c02 cmp r4, #2 - 8001630: 60c7 str r7, [r0, #12] - 8001632: d119 bne.n 8001668 - 8001634: ea4f 0ad3 mov.w sl, r3, lsr #3 - 8001638: eb00 0a8a add.w sl, r0, sl, lsl #2 - 800163c: f003 0b07 and.w fp, r3, #7 - 8001640: f8da 7020 ldr.w r7, [sl, #32] - 8001644: ea4f 0b8b mov.w fp, fp, lsl #2 - 8001648: f04f 0e0f mov.w lr, #15 - 800164c: fa0e fe0b lsl.w lr, lr, fp - 8001650: ea27 0e0e bic.w lr, r7, lr - 8001654: 690f ldr r7, [r1, #16] - 8001656: fa07 f70b lsl.w r7, r7, fp - 800165a: ea47 070e orr.w r7, r7, lr - 800165e: f8ca 7020 str.w r7, [sl, #32] - 8001662: e001 b.n 8001668 - 8001664: 2c03 cmp r4, #3 - 8001666: d1da bne.n 800161e - 8001668: 6807 ldr r7, [r0, #0] - 800166a: fa04 f408 lsl.w r4, r4, r8 - 800166e: 403e ands r6, r7 - 8001670: 4326 orrs r6, r4 - 8001672: f415 3f40 tst.w r5, #196608 ; 0x30000 - 8001676: 6006 str r6, [r0, #0] - 8001678: d06b beq.n 8001752 - 800167a: f04f 0a00 mov.w sl, #0 - 800167e: f8cd a004 str.w sl, [sp, #4] - 8001682: f8d9 6044 ldr.w r6, [r9, #68] ; 0x44 - 8001686: 4c40 ldr r4, [pc, #256] ; (8001788 ) - 8001688: f446 4680 orr.w r6, r6, #16384 ; 0x4000 - 800168c: f8c9 6044 str.w r6, [r9, #68] ; 0x44 - 8001690: f8d9 6044 ldr.w r6, [r9, #68] ; 0x44 - 8001694: f406 4680 and.w r6, r6, #16384 ; 0x4000 - 8001698: 9601 str r6, [sp, #4] - 800169a: 9e01 ldr r6, [sp, #4] - 800169c: f023 0603 bic.w r6, r3, #3 - 80016a0: f106 4680 add.w r6, r6, #1073741824 ; 0x40000000 - 80016a4: f506 369c add.w r6, r6, #79872 ; 0x13800 - 80016a8: f003 0e03 and.w lr, r3, #3 - 80016ac: f8d6 8008 ldr.w r8, [r6, #8] - 80016b0: ea4f 0e8e mov.w lr, lr, lsl #2 - 80016b4: 270f movs r7, #15 - 80016b6: fa07 f70e lsl.w r7, r7, lr - 80016ba: 42a0 cmp r0, r4 - 80016bc: ea28 0707 bic.w r7, r8, r7 - 80016c0: d04e beq.n 8001760 - 80016c2: f504 6480 add.w r4, r4, #1024 ; 0x400 - 80016c6: 42a0 cmp r0, r4 - 80016c8: d04c beq.n 8001764 - 80016ca: f504 6480 add.w r4, r4, #1024 ; 0x400 - 80016ce: 42a0 cmp r0, r4 - 80016d0: d04a beq.n 8001768 - 80016d2: f504 6480 add.w r4, r4, #1024 ; 0x400 - 80016d6: 42a0 cmp r0, r4 - 80016d8: d048 beq.n 800176c - 80016da: f504 6480 add.w r4, r4, #1024 ; 0x400 - 80016de: 42a0 cmp r0, r4 - 80016e0: d046 beq.n 8001770 - 80016e2: f504 6480 add.w r4, r4, #1024 ; 0x400 - 80016e6: 42a0 cmp r0, r4 - 80016e8: d044 beq.n 8001774 - 80016ea: f504 6480 add.w r4, r4, #1024 ; 0x400 - 80016ee: 42a0 cmp r0, r4 - 80016f0: d042 beq.n 8001778 - 80016f2: f504 6480 add.w r4, r4, #1024 ; 0x400 - 80016f6: 42a0 cmp r0, r4 - 80016f8: d040 beq.n 800177c - 80016fa: f504 6480 add.w r4, r4, #1024 ; 0x400 - 80016fe: 42a0 cmp r0, r4 - 8001700: d03e beq.n 8001780 - 8001702: f504 6480 add.w r4, r4, #1024 ; 0x400 - 8001706: 42a0 cmp r0, r4 - 8001708: bf0c ite eq - 800170a: 2409 moveq r4, #9 - 800170c: 240a movne r4, #10 - 800170e: fa04 f40e lsl.w r4, r4, lr - 8001712: 433c orrs r4, r7 - 8001714: 60b4 str r4, [r6, #8] - 8001716: 6894 ldr r4, [r2, #8] - 8001718: ea6f 060c mvn.w r6, ip - 800171c: 02ef lsls r7, r5, #11 - 800171e: bf54 ite pl - 8001720: 4034 andpl r4, r6 - 8001722: ea4c 0404 orrmi.w r4, ip, r4 - 8001726: 6094 str r4, [r2, #8] - 8001728: 68d4 ldr r4, [r2, #12] - 800172a: 02af lsls r7, r5, #10 - 800172c: bf54 ite pl - 800172e: 4034 andpl r4, r6 - 8001730: ea4c 0404 orrmi.w r4, ip, r4 - 8001734: 60d4 str r4, [r2, #12] - 8001736: 6854 ldr r4, [r2, #4] - 8001738: 03af lsls r7, r5, #14 - 800173a: bf54 ite pl - 800173c: 4034 andpl r4, r6 - 800173e: ea4c 0404 orrmi.w r4, ip, r4 - 8001742: 6054 str r4, [r2, #4] - 8001744: 6814 ldr r4, [r2, #0] - 8001746: 03ed lsls r5, r5, #15 - 8001748: bf54 ite pl - 800174a: 4034 andpl r4, r6 - 800174c: ea4c 0404 orrmi.w r4, ip, r4 - 8001750: 6014 str r4, [r2, #0] - 8001752: 3301 adds r3, #1 - 8001754: 2b10 cmp r3, #16 - 8001756: f47f af3b bne.w 80015d0 - 800175a: b003 add sp, #12 - 800175c: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8001760: 4654 mov r4, sl - 8001762: e7d4 b.n 800170e - 8001764: 2401 movs r4, #1 - 8001766: e7d2 b.n 800170e - 8001768: 2402 movs r4, #2 - 800176a: e7d0 b.n 800170e - 800176c: 2403 movs r4, #3 - 800176e: e7ce b.n 800170e - 8001770: 2404 movs r4, #4 - 8001772: e7cc b.n 800170e - 8001774: 2405 movs r4, #5 - 8001776: e7ca b.n 800170e - 8001778: 2406 movs r4, #6 - 800177a: e7c8 b.n 800170e - 800177c: 2407 movs r4, #7 - 800177e: e7c6 b.n 800170e - 8001780: 2408 movs r4, #8 - 8001782: e7c4 b.n 800170e - 8001784: 40013c00 .word 0x40013c00 - 8001788: 40020000 .word 0x40020000 - 800178c: 40023800 .word 0x40023800 +08000c40 : + 8000c40: 4a08 ldr r2, [pc, #32] @ (8000c64 ) + 8000c42: 6913 ldr r3, [r2, #16] + 8000c44: 6912 ldr r2, [r2, #16] + 8000c46: 0a52 lsrs r2, r2, #9 + 8000c48: f002 0218 and.w r2, r2, #24 + 8000c4c: f3c3 1382 ubfx r3, r3, #6, #3 + 8000c50: 4313 orrs r3, r2 + 8000c52: f24c 3084 movw r0, #50052 @ 0xc384 + 8000c56: f24c 3295 movw r2, #50069 @ 0xc395 + 8000c5a: 2b1b cmp r3, #27 + 8000c5c: bf18 it ne + 8000c5e: 4610 movne r0, r2 + 8000c60: 4770 bx lr + 8000c62: bf00 nop + 8000c64: 40020800 .word 0x40020800 -08001790 : - 8001790: b10a cbz r2, 8001796 - 8001792: 6181 str r1, [r0, #24] - 8001794: 4770 bx lr - 8001796: 0409 lsls r1, r1, #16 - 8001798: e7fb b.n 8001792 +08000c68 : + 8000c68: 2200 movs r2, #0 + 8000c6a: 2302 movs r3, #2 + 8000c6c: 71c2 strb r2, [r0, #7] + 8000c6e: 2201 movs r2, #1 + 8000c70: 7183 strb r3, [r0, #6] + 8000c72: 7202 strb r2, [r0, #8] + 8000c74: 7243 strb r3, [r0, #9] + 8000c76: 2004 movs r0, #4 + 8000c78: 4770 bx lr ... -0800179c : - 800179c: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} - 80017a0: 4604 mov r4, r0 - 80017a2: b340 cbz r0, 80017f6 - 80017a4: 6803 ldr r3, [r0, #0] - 80017a6: 07dd lsls r5, r3, #31 - 80017a8: d410 bmi.n 80017cc - 80017aa: 6823 ldr r3, [r4, #0] - 80017ac: 0798 lsls r0, r3, #30 - 80017ae: d45e bmi.n 800186e - 80017b0: 6823 ldr r3, [r4, #0] - 80017b2: 071a lsls r2, r3, #28 - 80017b4: f100 80a0 bmi.w 80018f8 - 80017b8: 6823 ldr r3, [r4, #0] - 80017ba: 075b lsls r3, r3, #29 - 80017bc: f100 80c0 bmi.w 8001940 - 80017c0: 69a0 ldr r0, [r4, #24] - 80017c2: 2800 cmp r0, #0 - 80017c4: f040 8128 bne.w 8001a18 - 80017c8: 2000 movs r0, #0 - 80017ca: e02b b.n 8001824 - 80017cc: 4b8f ldr r3, [pc, #572] ; (8001a0c ) - 80017ce: 689a ldr r2, [r3, #8] - 80017d0: f002 020c and.w r2, r2, #12 - 80017d4: 2a04 cmp r2, #4 - 80017d6: d007 beq.n 80017e8 - 80017d8: 689a ldr r2, [r3, #8] - 80017da: f002 020c and.w r2, r2, #12 - 80017de: 2a08 cmp r2, #8 - 80017e0: d10b bne.n 80017fa - 80017e2: 685a ldr r2, [r3, #4] - 80017e4: 0251 lsls r1, r2, #9 - 80017e6: d508 bpl.n 80017fa - 80017e8: 4b88 ldr r3, [pc, #544] ; (8001a0c ) - 80017ea: 681b ldr r3, [r3, #0] - 80017ec: 039a lsls r2, r3, #14 - 80017ee: d5dc bpl.n 80017aa - 80017f0: 6863 ldr r3, [r4, #4] - 80017f2: 2b00 cmp r3, #0 - 80017f4: d1d9 bne.n 80017aa - 80017f6: 2001 movs r0, #1 - 80017f8: e014 b.n 8001824 - 80017fa: 6862 ldr r2, [r4, #4] - 80017fc: f5b2 3f80 cmp.w r2, #65536 ; 0x10000 - 8001800: d113 bne.n 800182a - 8001802: 681a ldr r2, [r3, #0] - 8001804: f442 3280 orr.w r2, r2, #65536 ; 0x10000 - 8001808: 601a str r2, [r3, #0] - 800180a: f7ff f969 bl 8000ae0 - 800180e: 4e7f ldr r6, [pc, #508] ; (8001a0c ) - 8001810: 4605 mov r5, r0 - 8001812: 6833 ldr r3, [r6, #0] - 8001814: 039b lsls r3, r3, #14 - 8001816: d4c8 bmi.n 80017aa - 8001818: f7ff f962 bl 8000ae0 - 800181c: 1b40 subs r0, r0, r5 - 800181e: 2864 cmp r0, #100 ; 0x64 - 8001820: d9f7 bls.n 8001812 - 8001822: 2003 movs r0, #3 - 8001824: b002 add sp, #8 - 8001826: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800182a: 4d78 ldr r5, [pc, #480] ; (8001a0c ) - 800182c: f5b2 2fa0 cmp.w r2, #327680 ; 0x50000 - 8001830: 682b ldr r3, [r5, #0] - 8001832: d107 bne.n 8001844 - 8001834: f443 2380 orr.w r3, r3, #262144 ; 0x40000 - 8001838: 602b str r3, [r5, #0] - 800183a: 682b ldr r3, [r5, #0] - 800183c: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8001840: 602b str r3, [r5, #0] - 8001842: e7e2 b.n 800180a - 8001844: f423 3380 bic.w r3, r3, #65536 ; 0x10000 - 8001848: 602b str r3, [r5, #0] - 800184a: 682b ldr r3, [r5, #0] - 800184c: f423 2380 bic.w r3, r3, #262144 ; 0x40000 - 8001850: 602b str r3, [r5, #0] - 8001852: 2a00 cmp r2, #0 - 8001854: d1d9 bne.n 800180a - 8001856: f7ff f943 bl 8000ae0 - 800185a: 4606 mov r6, r0 - 800185c: 682b ldr r3, [r5, #0] - 800185e: 039f lsls r7, r3, #14 - 8001860: d5a3 bpl.n 80017aa - 8001862: f7ff f93d bl 8000ae0 - 8001866: 1b80 subs r0, r0, r6 - 8001868: 2864 cmp r0, #100 ; 0x64 - 800186a: d9f7 bls.n 800185c - 800186c: e7d9 b.n 8001822 - 800186e: 4b67 ldr r3, [pc, #412] ; (8001a0c ) - 8001870: 689a ldr r2, [r3, #8] - 8001872: f012 0f0c tst.w r2, #12 - 8001876: d007 beq.n 8001888 - 8001878: 689a ldr r2, [r3, #8] - 800187a: f002 020c and.w r2, r2, #12 - 800187e: 2a08 cmp r2, #8 - 8001880: d111 bne.n 80018a6 - 8001882: 685b ldr r3, [r3, #4] - 8001884: 025e lsls r6, r3, #9 - 8001886: d40e bmi.n 80018a6 - 8001888: 4a60 ldr r2, [pc, #384] ; (8001a0c ) - 800188a: 6813 ldr r3, [r2, #0] - 800188c: 079d lsls r5, r3, #30 - 800188e: d502 bpl.n 8001896 - 8001890: 68e3 ldr r3, [r4, #12] - 8001892: 2b01 cmp r3, #1 - 8001894: d1af bne.n 80017f6 - 8001896: 6813 ldr r3, [r2, #0] - 8001898: 6921 ldr r1, [r4, #16] - 800189a: f023 03f8 bic.w r3, r3, #248 ; 0xf8 - 800189e: ea43 03c1 orr.w r3, r3, r1, lsl #3 - 80018a2: 6013 str r3, [r2, #0] - 80018a4: e784 b.n 80017b0 - 80018a6: 68e2 ldr r2, [r4, #12] - 80018a8: 4b59 ldr r3, [pc, #356] ; (8001a10 ) - 80018aa: b1b2 cbz r2, 80018da - 80018ac: 2201 movs r2, #1 - 80018ae: 601a str r2, [r3, #0] - 80018b0: f7ff f916 bl 8000ae0 - 80018b4: 4d55 ldr r5, [pc, #340] ; (8001a0c ) - 80018b6: 4606 mov r6, r0 - 80018b8: 682b ldr r3, [r5, #0] - 80018ba: 0798 lsls r0, r3, #30 - 80018bc: d507 bpl.n 80018ce - 80018be: 682b ldr r3, [r5, #0] - 80018c0: 6922 ldr r2, [r4, #16] - 80018c2: f023 03f8 bic.w r3, r3, #248 ; 0xf8 - 80018c6: ea43 03c2 orr.w r3, r3, r2, lsl #3 - 80018ca: 602b str r3, [r5, #0] - 80018cc: e770 b.n 80017b0 - 80018ce: f7ff f907 bl 8000ae0 - 80018d2: 1b80 subs r0, r0, r6 - 80018d4: 2802 cmp r0, #2 - 80018d6: d9ef bls.n 80018b8 - 80018d8: e7a3 b.n 8001822 - 80018da: 601a str r2, [r3, #0] - 80018dc: f7ff f900 bl 8000ae0 - 80018e0: 4e4a ldr r6, [pc, #296] ; (8001a0c ) - 80018e2: 4605 mov r5, r0 - 80018e4: 6833 ldr r3, [r6, #0] - 80018e6: 0799 lsls r1, r3, #30 - 80018e8: f57f af62 bpl.w 80017b0 - 80018ec: f7ff f8f8 bl 8000ae0 - 80018f0: 1b40 subs r0, r0, r5 - 80018f2: 2802 cmp r0, #2 - 80018f4: d9f6 bls.n 80018e4 - 80018f6: e794 b.n 8001822 - 80018f8: 6962 ldr r2, [r4, #20] - 80018fa: 4b45 ldr r3, [pc, #276] ; (8001a10 ) - 80018fc: b182 cbz r2, 8001920 - 80018fe: 2201 movs r2, #1 - 8001900: f8c3 2e80 str.w r2, [r3, #3712] ; 0xe80 - 8001904: f7ff f8ec bl 8000ae0 - 8001908: 4e40 ldr r6, [pc, #256] ; (8001a0c ) - 800190a: 4605 mov r5, r0 - 800190c: 6f73 ldr r3, [r6, #116] ; 0x74 - 800190e: 079f lsls r7, r3, #30 - 8001910: f53f af52 bmi.w 80017b8 - 8001914: f7ff f8e4 bl 8000ae0 - 8001918: 1b40 subs r0, r0, r5 - 800191a: 2802 cmp r0, #2 - 800191c: d9f6 bls.n 800190c - 800191e: e780 b.n 8001822 - 8001920: f8c3 2e80 str.w r2, [r3, #3712] ; 0xe80 - 8001924: f7ff f8dc bl 8000ae0 - 8001928: 4e38 ldr r6, [pc, #224] ; (8001a0c ) - 800192a: 4605 mov r5, r0 - 800192c: 6f73 ldr r3, [r6, #116] ; 0x74 - 800192e: 0798 lsls r0, r3, #30 - 8001930: f57f af42 bpl.w 80017b8 - 8001934: f7ff f8d4 bl 8000ae0 - 8001938: 1b40 subs r0, r0, r5 - 800193a: 2802 cmp r0, #2 - 800193c: d9f6 bls.n 800192c - 800193e: e770 b.n 8001822 - 8001940: 4b32 ldr r3, [pc, #200] ; (8001a0c ) - 8001942: 6c1a ldr r2, [r3, #64] ; 0x40 - 8001944: f012 5280 ands.w r2, r2, #268435456 ; 0x10000000 - 8001948: d128 bne.n 800199c - 800194a: 9201 str r2, [sp, #4] - 800194c: 6c1a ldr r2, [r3, #64] ; 0x40 - 800194e: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 - 8001952: 641a str r2, [r3, #64] ; 0x40 - 8001954: 6c1b ldr r3, [r3, #64] ; 0x40 - 8001956: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 800195a: 9301 str r3, [sp, #4] - 800195c: 9b01 ldr r3, [sp, #4] - 800195e: 2701 movs r7, #1 - 8001960: 4d2c ldr r5, [pc, #176] ; (8001a14 ) +08000c7c : + 8000c7c: b082 sub sp, #8 + 8000c7e: 4b0c ldr r3, [pc, #48] @ (8000cb0 ) + 8000c80: 2100 movs r1, #0 + 8000c82: 9100 str r1, [sp, #0] + 8000c84: 6c5a ldr r2, [r3, #68] @ 0x44 + 8000c86: f442 4280 orr.w r2, r2, #16384 @ 0x4000 + 8000c8a: 645a str r2, [r3, #68] @ 0x44 + 8000c8c: 6c5a ldr r2, [r3, #68] @ 0x44 + 8000c8e: f402 4280 and.w r2, r2, #16384 @ 0x4000 + 8000c92: 9200 str r2, [sp, #0] + 8000c94: 9a00 ldr r2, [sp, #0] + 8000c96: 9101 str r1, [sp, #4] + 8000c98: 6c1a ldr r2, [r3, #64] @ 0x40 + 8000c9a: f042 5280 orr.w r2, r2, #268435456 @ 0x10000000 + 8000c9e: 641a str r2, [r3, #64] @ 0x40 + 8000ca0: 6c1b ldr r3, [r3, #64] @ 0x40 + 8000ca2: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 8000ca6: 9301 str r3, [sp, #4] + 8000ca8: 9b01 ldr r3, [sp, #4] + 8000caa: b002 add sp, #8 + 8000cac: 4770 bx lr + 8000cae: bf00 nop + 8000cb0: 40023800 .word 0x40023800 + +08000cb4 : + 8000cb4: b507 push {r0, r1, r2, lr} + 8000cb6: 4b0f ldr r3, [pc, #60] @ (8000cf4 ) + 8000cb8: 6802 ldr r2, [r0, #0] + 8000cba: 429a cmp r2, r3 + 8000cbc: d116 bne.n 8000cec + 8000cbe: 2200 movs r2, #0 + 8000cc0: f503 330d add.w r3, r3, #144384 @ 0x23400 + 8000cc4: 9201 str r2, [sp, #4] + 8000cc6: 6c19 ldr r1, [r3, #64] @ 0x40 + 8000cc8: f041 0102 orr.w r1, r1, #2 + 8000ccc: 6419 str r1, [r3, #64] @ 0x40 + 8000cce: 6c1b ldr r3, [r3, #64] @ 0x40 + 8000cd0: f003 0302 and.w r3, r3, #2 + 8000cd4: 9301 str r3, [sp, #4] + 8000cd6: 4611 mov r1, r2 + 8000cd8: 201d movs r0, #29 + 8000cda: 9b01 ldr r3, [sp, #4] + 8000cdc: f000 f9e4 bl 80010a8 + 8000ce0: 201d movs r0, #29 + 8000ce2: b003 add sp, #12 + 8000ce4: f85d eb04 ldr.w lr, [sp], #4 + 8000ce8: f000 ba10 b.w 800110c + 8000cec: b003 add sp, #12 + 8000cee: f85d fb04 ldr.w pc, [sp], #4 + 8000cf2: bf00 nop + 8000cf4: 40000400 .word 0x40000400 + +08000cf8 : + 8000cf8: b5f0 push {r4, r5, r6, r7, lr} + 8000cfa: b087 sub sp, #28 + 8000cfc: 2300 movs r3, #0 + 8000cfe: 9303 str r3, [sp, #12] + 8000d00: 4b1f ldr r3, [pc, #124] @ (8000d80 ) + 8000d02: 681c ldr r4, [r3, #0] + 8000d04: 2c00 cmp r4, #0 + 8000d06: d139 bne.n 8000d7c + 8000d08: 2201 movs r2, #1 + 8000d0a: 601a str r2, [r3, #0] + 8000d0c: 4b1d ldr r3, [pc, #116] @ (8000d84 ) + 8000d0e: 9400 str r4, [sp, #0] + 8000d10: 6b9a ldr r2, [r3, #56] @ 0x38 + 8000d12: 481d ldr r0, [pc, #116] @ (8000d88 ) + 8000d14: f042 0201 orr.w r2, r2, #1 + 8000d18: 639a str r2, [r3, #56] @ 0x38 + 8000d1a: 6b9b ldr r3, [r3, #56] @ 0x38 + 8000d1c: f003 0301 and.w r3, r3, #1 + 8000d20: 9300 str r3, [sp, #0] + 8000d22: 2702 movs r7, #2 + 8000d24: 2603 movs r6, #3 + 8000d26: 250c movs r5, #12 + 8000d28: 9b00 ldr r3, [sp, #0] + 8000d2a: a901 add r1, sp, #4 + 8000d2c: f64f 73fb movw r3, #65531 @ 0xfffb + 8000d30: e9cd 3701 strd r3, r7, [sp, #4] + 8000d34: e9cd 6504 strd r6, r5, [sp, #16] + 8000d38: f001 f8b2 bl 8001ea0 + 8000d3c: f24f 033f movw r3, #61503 @ 0xf03f + 8000d40: 4812 ldr r0, [pc, #72] @ (8000d8c ) + 8000d42: 9505 str r5, [sp, #20] + 8000d44: a901 add r1, sp, #4 + 8000d46: e9cd 3701 strd r3, r7, [sp, #4] + 8000d4a: e9cd 4603 strd r4, r6, [sp, #12] + 8000d4e: f001 f8a7 bl 8001ea0 + 8000d52: 233f movs r3, #63 @ 0x3f + 8000d54: 480e ldr r0, [pc, #56] @ (8000d90 ) + 8000d56: 9505 str r5, [sp, #20] + 8000d58: a901 add r1, sp, #4 + 8000d5a: e9cd 3701 strd r3, r7, [sp, #4] + 8000d5e: e9cd 4603 strd r4, r6, [sp, #12] + 8000d62: f001 f89d bl 8001ea0 + 8000d66: f64f 73b3 movw r3, #65459 @ 0xffb3 + 8000d6a: 480a ldr r0, [pc, #40] @ (8000d94 ) + 8000d6c: 9505 str r5, [sp, #20] + 8000d6e: a901 add r1, sp, #4 + 8000d70: e9cd 3701 strd r3, r7, [sp, #4] + 8000d74: e9cd 4603 strd r4, r6, [sp, #12] + 8000d78: f001 f892 bl 8001ea0 + 8000d7c: b007 add sp, #28 + 8000d7e: bdf0 pop {r4, r5, r6, r7, pc} + 8000d80: 20000ee0 .word 0x20000ee0 + 8000d84: 40023800 .word 0x40023800 + 8000d88: 40021000 .word 0x40021000 + 8000d8c: 40021400 .word 0x40021400 + 8000d90: 40021800 .word 0x40021800 + 8000d94: 40020c00 .word 0x40020c00 + +08000d98 : + 8000d98: e7fe b.n 8000d98 + +08000d9a : + 8000d9a: e7fe b.n 8000d9a + +08000d9c : + 8000d9c: e7fe b.n 8000d9c + +08000d9e : + 8000d9e: e7fe b.n 8000d9e + +08000da0 : + 8000da0: e7fe b.n 8000da0 + +08000da2 : + 8000da2: 4770 bx lr + +08000da4 : + 8000da4: 4770 bx lr + +08000da6 : + 8000da6: 4770 bx lr + +08000da8 : + 8000da8: f000 b946 b.w 8001038 + +08000dac : + 8000dac: b508 push {r3, lr} + 8000dae: 4807 ldr r0, [pc, #28] @ (8000dcc ) + 8000db0: f001 fc49 bl 8002646 + 8000db4: 4a06 ldr r2, [pc, #24] @ (8000dd0 ) + 8000db6: 6813 ldr r3, [r2, #0] + 8000db8: 3301 adds r3, #1 + 8000dba: 6013 str r3, [r2, #0] + 8000dbc: 4a05 ldr r2, [pc, #20] @ (8000dd4 ) + 8000dbe: f8b2 380a ldrh.w r3, [r2, #2058] @ 0x80a + 8000dc2: 3301 adds r3, #1 + 8000dc4: f8a2 380a strh.w r3, [r2, #2058] @ 0x80a + 8000dc8: bd08 pop {r3, pc} + 8000dca: bf00 nop + 8000dcc: 20000e98 .word 0x20000e98 + 8000dd0: 20000e44 .word 0x20000e44 + 8000dd4: 20000634 .word 0x20000634 + +08000dd8 : + 8000dd8: 4a03 ldr r2, [pc, #12] @ (8000de8 ) + 8000dda: f8d2 3088 ldr.w r3, [r2, #136] @ 0x88 + 8000dde: f443 0370 orr.w r3, r3, #15728640 @ 0xf00000 + 8000de2: f8c2 3088 str.w r3, [r2, #136] @ 0x88 + 8000de6: 4770 bx lr + 8000de8: e000ed00 .word 0xe000ed00 + +08000dec : + 8000dec: 480d ldr r0, [pc, #52] @ (8000e24 ) + 8000dee: 4685 mov sp, r0 + 8000df0: f7ff fff2 bl 8000dd8 + 8000df4: 480c ldr r0, [pc, #48] @ (8000e28 ) + 8000df6: 490d ldr r1, [pc, #52] @ (8000e2c ) + 8000df8: 4a0d ldr r2, [pc, #52] @ (8000e30 ) + 8000dfa: 2300 movs r3, #0 + 8000dfc: e002 b.n 8000e04 + +08000dfe : + 8000dfe: 58d4 ldr r4, [r2, r3] + 8000e00: 50c4 str r4, [r0, r3] + 8000e02: 3304 adds r3, #4 + +08000e04 : + 8000e04: 18c4 adds r4, r0, r3 + 8000e06: 428c cmp r4, r1 + 8000e08: d3f9 bcc.n 8000dfe + 8000e0a: 4a0a ldr r2, [pc, #40] @ (8000e34 ) + 8000e0c: 4c0a ldr r4, [pc, #40] @ (8000e38 ) + 8000e0e: 2300 movs r3, #0 + 8000e10: e001 b.n 8000e16 + +08000e12 : + 8000e12: 6013 str r3, [r2, #0] + 8000e14: 3204 adds r2, #4 + +08000e16 : + 8000e16: 42a2 cmp r2, r4 + 8000e18: d3fb bcc.n 8000e12 + 8000e1a: f009 fa61 bl 800a2e0 <__libc_init_array> + 8000e1e: f7ff fcc9 bl 80007b4
+ +08000e22 : + 8000e22: e7fe b.n 8000e22 + 8000e24: 20030000 .word 0x20030000 + 8000e28: 20000000 .word 0x20000000 + 8000e2c: 20000084 .word 0x20000084 + 8000e30: 0800d27c .word 0x0800d27c + 8000e34: 20000084 .word 0x20000084 + 8000e38: 20018d58 .word 0x20018d58 + +08000e3c : + 8000e3c: e7fe b.n 8000e3c + +08000e3e : + 8000e3e: b530 push {r4, r5, lr} + 8000e40: b170 cbz r0, 8000e60 + 8000e42: 68cc ldr r4, [r1, #12] + 8000e44: b164 cbz r4, 8000e60 + 8000e46: 688a ldr r2, [r1, #8] + 8000e48: b152 cbz r2, 8000e60 + 8000e4a: 690b ldr r3, [r1, #16] + 8000e4c: b143 cbz r3, 8000e60 + 8000e4e: 680d ldr r5, [r1, #0] + 8000e50: 6849 ldr r1, [r1, #4] + 8000e52: 6085 str r5, [r0, #8] + 8000e54: e9c0 2404 strd r2, r4, [r0, #16] + 8000e58: 60c1 str r1, [r0, #12] + 8000e5a: 6183 str r3, [r0, #24] + 8000e5c: 2000 movs r0, #0 + 8000e5e: bd30 pop {r4, r5, pc} + 8000e60: f04f 30ff mov.w r0, #4294967295 + 8000e64: e7fb b.n 8000e5e + +08000e66 : + 8000e66: b573 push {r0, r1, r4, r5, r6, lr} + 8000e68: 6846 ldr r6, [r0, #4] + 8000e6a: 2300 movs r3, #0 + 8000e6c: 4604 mov r4, r0 + 8000e6e: 9301 str r3, [sp, #4] + 8000e70: b176 cbz r6, 8000e90 + 8000e72: 69a3 ldr r3, [r4, #24] + 8000e74: 4798 blx r3 + 8000e76: 4605 mov r5, r0 + 8000e78: 69a3 ldr r3, [r4, #24] + 8000e7a: 4798 blx r3 + 8000e7c: 1b43 subs r3, r0, r5 + 8000e7e: f5b3 6ffa cmp.w r3, #2000 @ 0x7d0 + 8000e82: d9f9 bls.n 8000e78 + 8000e84: 2301 movs r3, #1 + 8000e86: 6063 str r3, [r4, #4] + 8000e88: 2500 movs r5, #0 + 8000e8a: 4628 mov r0, r5 + 8000e8c: b002 add sp, #8 + 8000e8e: bd70 pop {r4, r5, r6, pc} + 8000e90: 6883 ldr r3, [r0, #8] + 8000e92: b103 cbz r3, 8000e96 + 8000e94: 4798 blx r3 + 8000e96: 2320 movs r3, #32 + 8000e98: 6023 str r3, [r4, #0] + 8000e9a: 2500 movs r5, #0 + 8000e9c: 6963 ldr r3, [r4, #20] + 8000e9e: aa01 add r2, sp, #4 + 8000ea0: 2119 movs r1, #25 + 8000ea2: 4630 mov r0, r6 + 8000ea4: 4798 blx r3 + 8000ea6: 2800 cmp r0, #0 + 8000ea8: db2f blt.n 8000f0a + 8000eaa: 9b01 ldr r3, [sp, #4] + 8000eac: f003 031f and.w r3, r3, #31 + 8000eb0: 42b3 cmp r3, r6 + 8000eb2: d12c bne.n 8000f0e + 8000eb4: 6026 str r6, [r4, #0] + 8000eb6: 2500 movs r5, #0 + 8000eb8: 6820 ldr r0, [r4, #0] + 8000eba: 281f cmp r0, #31 + 8000ebc: d82b bhi.n 8000f16 + 8000ebe: 2d00 cmp r5, #0 + 8000ec0: d1e3 bne.n 8000e8a + 8000ec2: 6923 ldr r3, [r4, #16] + 8000ec4: f44f 4200 mov.w r2, #32768 @ 0x8000 + 8000ec8: 4629 mov r1, r5 + 8000eca: 4798 blx r3 + 8000ecc: 2800 cmp r0, #0 + 8000ece: db25 blt.n 8000f1c + 8000ed0: 6963 ldr r3, [r4, #20] + 8000ed2: 6820 ldr r0, [r4, #0] + 8000ed4: aa01 add r2, sp, #4 + 8000ed6: 4629 mov r1, r5 + 8000ed8: 4798 blx r3 + 8000eda: 2800 cmp r0, #0 + 8000edc: db12 blt.n 8000f04 + 8000ede: 69a3 ldr r3, [r4, #24] + 8000ee0: 4798 blx r3 + 8000ee2: 4605 mov r5, r0 + 8000ee4: 9b01 ldr r3, [sp, #4] + 8000ee6: 041b lsls r3, r3, #16 + 8000ee8: d5c3 bpl.n 8000e72 + 8000eea: 69a3 ldr r3, [r4, #24] + 8000eec: 4798 blx r3 + 8000eee: 1b40 subs r0, r0, r5 + 8000ef0: f5b0 7ffa cmp.w r0, #500 @ 0x1f4 + 8000ef4: d815 bhi.n 8000f22 + 8000ef6: 6963 ldr r3, [r4, #20] + 8000ef8: 6820 ldr r0, [r4, #0] + 8000efa: aa01 add r2, sp, #4 + 8000efc: 2100 movs r1, #0 + 8000efe: 4798 blx r3 + 8000f00: 2800 cmp r0, #0 + 8000f02: daef bge.n 8000ee4 + 8000f04: f06f 0504 mvn.w r5, #4 + 8000f08: e7bf b.n 8000e8a + 8000f0a: f06f 0504 mvn.w r5, #4 + 8000f0e: 3601 adds r6, #1 + 8000f10: 2e20 cmp r6, #32 + 8000f12: d1c3 bne.n 8000e9c + 8000f14: e7d0 b.n 8000eb8 + 8000f16: f06f 0502 mvn.w r5, #2 + 8000f1a: e7b6 b.n 8000e8a + 8000f1c: f06f 0503 mvn.w r5, #3 + 8000f20: e7b3 b.n 8000e8a + 8000f22: f06f 0501 mvn.w r5, #1 + 8000f26: e7b0 b.n 8000e8a + +08000f28 : + 8000f28: b537 push {r0, r1, r2, r4, r5, lr} + 8000f2a: 2500 movs r5, #0 + 8000f2c: 6943 ldr r3, [r0, #20] + 8000f2e: 9501 str r5, [sp, #4] + 8000f30: 4604 mov r4, r0 + 8000f32: aa01 add r2, sp, #4 + 8000f34: 6800 ldr r0, [r0, #0] + 8000f36: 2101 movs r1, #1 + 8000f38: 4798 blx r3 + 8000f3a: 42a8 cmp r0, r5 + 8000f3c: da03 bge.n 8000f46 + 8000f3e: f06f 0004 mvn.w r0, #4 + 8000f42: b003 add sp, #12 + 8000f44: bd30 pop {r4, r5, pc} + 8000f46: 6963 ldr r3, [r4, #20] + 8000f48: 6820 ldr r0, [r4, #0] + 8000f4a: aa01 add r2, sp, #4 + 8000f4c: 2101 movs r1, #1 + 8000f4e: 4798 blx r3 + 8000f50: 2800 cmp r0, #0 + 8000f52: dbf4 blt.n 8000f3e + 8000f54: 9b01 ldr r3, [sp, #4] + 8000f56: 075b lsls r3, r3, #29 + 8000f58: d52c bpl.n 8000fb4 + 8000f5a: 6963 ldr r3, [r4, #20] + 8000f5c: 6820 ldr r0, [r4, #0] + 8000f5e: aa01 add r2, sp, #4 + 8000f60: 4629 mov r1, r5 + 8000f62: 4798 blx r3 + 8000f64: 2800 cmp r0, #0 + 8000f66: dbea blt.n 8000f3e + 8000f68: 9b01 ldr r3, [sp, #4] + 8000f6a: 04dd lsls r5, r3, #19 + 8000f6c: d40e bmi.n 8000f8c + 8000f6e: f403 5204 and.w r2, r3, #8448 @ 0x2100 + 8000f72: f5b2 5f04 cmp.w r2, #8448 @ 0x2100 + 8000f76: d101 bne.n 8000f7c + 8000f78: 2002 movs r0, #2 + 8000f7a: e7e2 b.n 8000f42 + 8000f7c: 0498 lsls r0, r3, #18 + 8000f7e: d501 bpl.n 8000f84 + 8000f80: 2003 movs r0, #3 + 8000f82: e7de b.n 8000f42 + 8000f84: 05d9 lsls r1, r3, #23 + 8000f86: d413 bmi.n 8000fb0 + 8000f88: 2005 movs r0, #5 + 8000f8a: e7da b.n 8000f42 + 8000f8c: 6963 ldr r3, [r4, #20] + 8000f8e: 6820 ldr r0, [r4, #0] + 8000f90: aa01 add r2, sp, #4 + 8000f92: 2110 movs r1, #16 + 8000f94: 4798 blx r3 + 8000f96: 2800 cmp r0, #0 + 8000f98: dbd1 blt.n 8000f3e + 8000f9a: 9b01 ldr r3, [sp, #4] + 8000f9c: 05da lsls r2, r3, #23 + 8000f9e: d50b bpl.n 8000fb8 + 8000fa0: f003 0306 and.w r3, r3, #6 + 8000fa4: 2b04 cmp r3, #4 + 8000fa6: d0e7 beq.n 8000f78 + 8000fa8: 2b00 cmp r3, #0 + 8000faa: d0e9 beq.n 8000f80 + 8000fac: 2b06 cmp r3, #6 + 8000fae: d1eb bne.n 8000f88 + 8000fb0: 2004 movs r0, #4 + 8000fb2: e7c6 b.n 8000f42 + 8000fb4: 2001 movs r0, #1 + 8000fb6: e7c4 b.n 8000f42 + 8000fb8: 2006 movs r0, #6 + 8000fba: e7c2 b.n 8000f42 + +08000fbc : + 8000fbc: b538 push {r3, r4, r5, lr} + 8000fbe: 4b0e ldr r3, [pc, #56] @ (8000ff8 ) + 8000fc0: 781a ldrb r2, [r3, #0] + 8000fc2: f44f 737a mov.w r3, #1000 @ 0x3e8 + 8000fc6: fbb3 f3f2 udiv r3, r3, r2 + 8000fca: 4a0c ldr r2, [pc, #48] @ (8000ffc ) + 8000fcc: 4605 mov r5, r0 + 8000fce: 6810 ldr r0, [r2, #0] + 8000fd0: fbb0 f0f3 udiv r0, r0, r3 + 8000fd4: f000 f8a8 bl 8001128 + 8000fd8: 4604 mov r4, r0 + 8000fda: b958 cbnz r0, 8000ff4 + 8000fdc: 2d0f cmp r5, #15 + 8000fde: d809 bhi.n 8000ff4 + 8000fe0: 4602 mov r2, r0 + 8000fe2: 4629 mov r1, r5 + 8000fe4: f04f 30ff mov.w r0, #4294967295 + 8000fe8: f000 f85e bl 80010a8 + 8000fec: 4b04 ldr r3, [pc, #16] @ (8001000 ) + 8000fee: 4620 mov r0, r4 + 8000ff0: 601d str r5, [r3, #0] + 8000ff2: bd38 pop {r3, r4, r5, pc} + 8000ff4: 2001 movs r0, #1 + 8000ff6: e7fc b.n 8000ff2 + 8000ff8: 20000004 .word 0x20000004 + 8000ffc: 20000000 .word 0x20000000 + 8001000: 20000008 .word 0x20000008 + +08001004 : + 8001004: b508 push {r3, lr} + 8001006: 4b0b ldr r3, [pc, #44] @ (8001034 ) + 8001008: 681a ldr r2, [r3, #0] + 800100a: f442 7200 orr.w r2, r2, #512 @ 0x200 + 800100e: 601a str r2, [r3, #0] + 8001010: 681a ldr r2, [r3, #0] + 8001012: f442 6280 orr.w r2, r2, #1024 @ 0x400 + 8001016: 601a str r2, [r3, #0] + 8001018: 681a ldr r2, [r3, #0] + 800101a: f442 7280 orr.w r2, r2, #256 @ 0x100 + 800101e: 601a str r2, [r3, #0] + 8001020: 2003 movs r0, #3 + 8001022: f000 f82f bl 8001084 + 8001026: 200f movs r0, #15 + 8001028: f7ff ffc8 bl 8000fbc + 800102c: f7ff fe26 bl 8000c7c + 8001030: 2000 movs r0, #0 + 8001032: bd08 pop {r3, pc} + 8001034: 40023c00 .word 0x40023c00 + +08001038 : + 8001038: 4a03 ldr r2, [pc, #12] @ (8001048 ) + 800103a: 4b04 ldr r3, [pc, #16] @ (800104c ) + 800103c: 6811 ldr r1, [r2, #0] + 800103e: 781b ldrb r3, [r3, #0] + 8001040: 440b add r3, r1 + 8001042: 6013 str r3, [r2, #0] + 8001044: 4770 bx lr + 8001046: bf00 nop + 8001048: 20000ee4 .word 0x20000ee4 + 800104c: 20000004 .word 0x20000004 + +08001050 : + 8001050: 4b01 ldr r3, [pc, #4] @ (8001058 ) + 8001052: 6818 ldr r0, [r3, #0] + 8001054: 4770 bx lr + 8001056: bf00 nop + 8001058: 20000ee4 .word 0x20000ee4 + +0800105c : + 800105c: b538 push {r3, r4, r5, lr} + 800105e: 4604 mov r4, r0 + 8001060: f7ff fff6 bl 8001050 + 8001064: 1c63 adds r3, r4, #1 + 8001066: bf1c itt ne + 8001068: 4b05 ldrne r3, [pc, #20] @ (8001080 ) + 800106a: 781b ldrbne r3, [r3, #0] + 800106c: 4605 mov r5, r0 + 800106e: bf18 it ne + 8001070: 18e4 addne r4, r4, r3 + 8001072: f7ff ffed bl 8001050 + 8001076: 1b43 subs r3, r0, r5 + 8001078: 42a3 cmp r3, r4 + 800107a: d3fa bcc.n 8001072 + 800107c: bd38 pop {r3, r4, r5, pc} + 800107e: bf00 nop + 8001080: 20000004 .word 0x20000004 + +08001084 : + 8001084: 4907 ldr r1, [pc, #28] @ (80010a4 ) + 8001086: 68ca ldr r2, [r1, #12] + 8001088: f422 62e0 bic.w r2, r2, #1792 @ 0x700 + 800108c: 0203 lsls r3, r0, #8 + 800108e: 0412 lsls r2, r2, #16 + 8001090: f403 63e0 and.w r3, r3, #1792 @ 0x700 + 8001094: 0c12 lsrs r2, r2, #16 + 8001096: 4313 orrs r3, r2 + 8001098: f043 63bf orr.w r3, r3, #100139008 @ 0x5f80000 + 800109c: f443 3300 orr.w r3, r3, #131072 @ 0x20000 + 80010a0: 60cb str r3, [r1, #12] + 80010a2: 4770 bx lr + 80010a4: e000ed00 .word 0xe000ed00 + +080010a8 : + 80010a8: 4b16 ldr r3, [pc, #88] @ (8001104 ) + 80010aa: b530 push {r4, r5, lr} + 80010ac: 68dc ldr r4, [r3, #12] + 80010ae: f3c4 2402 ubfx r4, r4, #8, #3 + 80010b2: f1c4 0307 rsb r3, r4, #7 + 80010b6: 1d25 adds r5, r4, #4 + 80010b8: 2b04 cmp r3, #4 + 80010ba: bf28 it cs + 80010bc: 2304 movcs r3, #4 + 80010be: 2d06 cmp r5, #6 + 80010c0: f04f 35ff mov.w r5, #4294967295 + 80010c4: bf8c ite hi + 80010c6: 3c03 subhi r4, #3 + 80010c8: 2400 movls r4, #0 + 80010ca: fa05 f303 lsl.w r3, r5, r3 + 80010ce: ea21 0303 bic.w r3, r1, r3 + 80010d2: 40a5 lsls r5, r4 + 80010d4: ea22 0205 bic.w r2, r2, r5 + 80010d8: 40a3 lsls r3, r4 + 80010da: 2800 cmp r0, #0 + 80010dc: ea43 0302 orr.w r3, r3, r2 + 80010e0: bfac ite ge + 80010e2: f100 4060 addge.w r0, r0, #3758096384 @ 0xe0000000 + 80010e6: 4a08 ldrlt r2, [pc, #32] @ (8001108 ) + 80010e8: ea4f 1303 mov.w r3, r3, lsl #4 + 80010ec: bfb8 it lt + 80010ee: f000 000f andlt.w r0, r0, #15 + 80010f2: b2db uxtb r3, r3 + 80010f4: bfaa itet ge + 80010f6: f500 4061 addge.w r0, r0, #57600 @ 0xe100 + 80010fa: 5413 strblt r3, [r2, r0] + 80010fc: f880 3300 strbge.w r3, [r0, #768] @ 0x300 + 8001100: bd30 pop {r4, r5, pc} + 8001102: bf00 nop + 8001104: e000ed00 .word 0xe000ed00 + 8001108: e000ed14 .word 0xe000ed14 + +0800110c : + 800110c: 2800 cmp r0, #0 + 800110e: db07 blt.n 8001120 + 8001110: 0941 lsrs r1, r0, #5 + 8001112: 4a04 ldr r2, [pc, #16] @ (8001124 ) + 8001114: f000 001f and.w r0, r0, #31 + 8001118: 2301 movs r3, #1 + 800111a: 4083 lsls r3, r0 + 800111c: f842 3021 str.w r3, [r2, r1, lsl #2] + 8001120: 4770 bx lr + 8001122: bf00 nop + 8001124: e000e100 .word 0xe000e100 + +08001128 : + 8001128: 3801 subs r0, #1 + 800112a: f1b0 7f80 cmp.w r0, #16777216 @ 0x1000000 + 800112e: d20b bcs.n 8001148 + 8001130: f04f 23e0 mov.w r3, #3758153728 @ 0xe000e000 + 8001134: 4a05 ldr r2, [pc, #20] @ (800114c ) + 8001136: 6158 str r0, [r3, #20] + 8001138: 21f0 movs r1, #240 @ 0xf0 + 800113a: f882 1023 strb.w r1, [r2, #35] @ 0x23 + 800113e: 2000 movs r0, #0 + 8001140: 2207 movs r2, #7 + 8001142: 6198 str r0, [r3, #24] + 8001144: 611a str r2, [r3, #16] + 8001146: 4770 bx lr + 8001148: 2001 movs r0, #1 + 800114a: 4770 bx lr + 800114c: e000ed00 .word 0xe000ed00 + +08001150 : + 8001150: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 8001154: 6a86 ldr r6, [r0, #40] @ 0x28 + 8001156: 688c ldr r4, [r1, #8] + 8001158: eb00 0c86 add.w ip, r0, r6, lsl #2 + 800115c: 4691 mov r9, r2 + 800115e: f8dc 3018 ldr.w r3, [ip, #24] + 8001162: 681d ldr r5, [r3, #0] + 8001164: 2d00 cmp r5, #0 + 8001166: da02 bge.n 800116e + 8001168: 2002 movs r0, #2 + 800116a: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800116e: f8dc 502c ldr.w r5, [ip, #44] @ 0x2c + 8001172: 2d00 cmp r5, #0 + 8001174: d1f8 bne.n 8001168 + 8001176: 6825 ldr r5, [r4, #0] + 8001178: 609d str r5, [r3, #8] + 800117a: 685d ldr r5, [r3, #4] + 800117c: 6867 ldr r7, [r4, #4] + 800117e: f425 55ff bic.w r5, r5, #8160 @ 0x1fe0 + 8001182: f025 051f bic.w r5, r5, #31 + 8001186: 433d orrs r5, r7 + 8001188: 680f ldr r7, [r1, #0] + 800118a: 605d str r5, [r3, #4] + 800118c: 07fa lsls r2, r7, #31 + 800118e: d505 bpl.n 800119c + 8001190: 681d ldr r5, [r3, #0] + 8001192: 694a ldr r2, [r1, #20] + 8001194: f425 0540 bic.w r5, r5, #12582912 @ 0xc00000 + 8001198: 4315 orrs r5, r2 + 800119a: 601d str r5, [r3, #0] + 800119c: 06bd lsls r5, r7, #26 + 800119e: d505 bpl.n 80011ac + 80011a0: 681d ldr r5, [r3, #0] + 80011a2: 6909 ldr r1, [r1, #16] + 80011a4: f025 6540 bic.w r5, r5, #201326592 @ 0xc000000 + 80011a8: 4329 orrs r1, r5 + 80011aa: 6019 str r1, [r3, #0] + 80011ac: 077a lsls r2, r7, #29 + 80011ae: bf42 ittt mi + 80011b0: 6819 ldrmi r1, [r3, #0] + 80011b2: f041 0180 orrmi.w r1, r1, #128 @ 0x80 + 80011b6: 6019 strmi r1, [r3, #0] + 80011b8: 6819 ldr r1, [r3, #0] + 80011ba: f041 5180 orr.w r1, r1, #268435456 @ 0x10000000 + 80011be: 6019 str r1, [r3, #0] + 80011c0: f3bf 8f5f dmb sy + 80011c4: 6819 ldr r1, [r3, #0] + 80011c6: f8df 80d4 ldr.w r8, [pc, #212] @ 800129c + 80011ca: f041 4100 orr.w r1, r1, #2147483648 @ 0x80000000 + 80011ce: 6019 str r1, [r3, #0] + 80011d0: 2500 movs r5, #0 + 80011d2: 4631 mov r1, r6 + 80011d4: 68a4 ldr r4, [r4, #8] + 80011d6: f105 0e01 add.w lr, r5, #1 + 80011da: b9bc cbnz r4, 800120c + 80011dc: 681a ldr r2, [r3, #0] + 80011de: f1b9 0f00 cmp.w r9, #0 + 80011e2: d058 beq.n 8001296 + 80011e4: f042 4280 orr.w r2, r2, #1073741824 @ 0x40000000 + 80011e8: 601a str r2, [r3, #0] + 80011ea: 681a ldr r2, [r3, #0] + 80011ec: f042 5200 orr.w r2, r2, #536870912 @ 0x20000000 + 80011f0: 601a str r2, [r3, #0] + 80011f2: eb00 0381 add.w r3, r0, r1, lsl #2 + 80011f6: 6bc2 ldr r2, [r0, #60] @ 0x3c + 80011f8: 62da str r2, [r3, #44] @ 0x2c + 80011fa: 6281 str r1, [r0, #40] @ 0x28 + 80011fc: b672 cpsid i + 80011fe: 6c03 ldr r3, [r0, #64] @ 0x40 + 8001200: 3301 adds r3, #1 + 8001202: 442b add r3, r5 + 8001204: 6403 str r3, [r0, #64] @ 0x40 + 8001206: b662 cpsie i + 8001208: 2000 movs r0, #0 + 800120a: e7ae b.n 800116a + 800120c: 681d ldr r5, [r3, #0] + 800120e: f025 5500 bic.w r5, r5, #536870912 @ 0x20000000 + 8001212: 601d str r5, [r3, #0] + 8001214: 681d ldr r5, [r3, #0] + 8001216: f1b9 0f00 cmp.w r9, #0 + 800121a: d025 beq.n 8001268 + 800121c: f045 4580 orr.w r5, r5, #1073741824 @ 0x40000000 + 8001220: 1c4f adds r7, r1, #1 + 8001222: 2f03 cmp r7, #3 + 8001224: bf88 it hi + 8001226: 1ecf subhi r7, r1, #3 + 8001228: 601d str r5, [r3, #0] + 800122a: eb00 0587 add.w r5, r0, r7, lsl #2 + 800122e: 69ab ldr r3, [r5, #24] + 8001230: 6819 ldr r1, [r3, #0] + 8001232: f021 5180 bic.w r1, r1, #268435456 @ 0x10000000 + 8001236: 6019 str r1, [r3, #0] + 8001238: 6819 ldr r1, [r3, #0] + 800123a: 2900 cmp r1, #0 + 800123c: da17 bge.n 800126e + 800123e: f8dc 1018 ldr.w r1, [ip, #24] + 8001242: 2200 movs r2, #0 + 8001244: 4572 cmp r2, lr + 8001246: d08f beq.n 8001168 + 8001248: f3bf 8f5f dmb sy + 800124c: 680b ldr r3, [r1, #0] + 800124e: f023 4300 bic.w r3, r3, #2147483648 @ 0x80000000 + 8001252: 600b str r3, [r1, #0] + 8001254: 1c73 adds r3, r6, #1 + 8001256: 2b03 cmp r3, #3 + 8001258: bf88 it hi + 800125a: 1ef3 subhi r3, r6, #3 + 800125c: eb00 0183 add.w r1, r0, r3, lsl #2 + 8001260: 3201 adds r2, #1 + 8001262: 6989 ldr r1, [r1, #24] + 8001264: 461e mov r6, r3 + 8001266: e7ed b.n 8001244 + 8001268: f025 4580 bic.w r5, r5, #1073741824 @ 0x40000000 + 800126c: e7d8 b.n 8001220 + 800126e: 6ae9 ldr r1, [r5, #44] @ 0x2c + 8001270: 2900 cmp r1, #0 + 8001272: d1e4 bne.n 800123e + 8001274: 6821 ldr r1, [r4, #0] + 8001276: 6099 str r1, [r3, #8] + 8001278: 6859 ldr r1, [r3, #4] + 800127a: 6865 ldr r5, [r4, #4] + 800127c: ea01 0108 and.w r1, r1, r8 + 8001280: 4329 orrs r1, r5 + 8001282: 6059 str r1, [r3, #4] + 8001284: f3bf 8f5f dmb sy + 8001288: 6819 ldr r1, [r3, #0] + 800128a: f041 4100 orr.w r1, r1, #2147483648 @ 0x80000000 + 800128e: 6019 str r1, [r3, #0] + 8001290: 4675 mov r5, lr + 8001292: 4639 mov r1, r7 + 8001294: e79e b.n 80011d4 + 8001296: f022 4280 bic.w r2, r2, #1073741824 @ 0x40000000 + 800129a: e7a5 b.n 80011e8 + 800129c: ffffe000 .word 0xffffe000 + +080012a0 : + 80012a0: b570 push {r4, r5, r6, lr} + 80012a2: 688b ldr r3, [r1, #8] + 80012a4: 6802 ldr r2, [r0, #0] + 80012a6: 460d mov r5, r1 + 80012a8: 6949 ldr r1, [r1, #20] + 80012aa: 430b orrs r3, r1 + 80012ac: 69a9 ldr r1, [r5, #24] + 80012ae: 430b orrs r3, r1 + 80012b0: 6a69 ldr r1, [r5, #36] @ 0x24 + 80012b2: 430b orrs r3, r1 + 80012b4: 7fe9 ldrb r1, [r5, #31] + 80012b6: ea43 4301 orr.w r3, r3, r1, lsl #16 + 80012ba: 7f29 ldrb r1, [r5, #28] + 80012bc: ea43 3301 orr.w r3, r3, r1, lsl #12 + 80012c0: 7929 ldrb r1, [r5, #4] + 80012c2: ea43 2381 orr.w r3, r3, r1, lsl #10 + 80012c6: 7be9 ldrb r1, [r5, #15] + 80012c8: ea43 13c1 orr.w r3, r3, r1, lsl #7 + 80012cc: f895 1028 ldrb.w r1, [r5, #40] @ 0x28 + 80012d0: 4604 mov r4, r0 + 80012d2: ea43 1301 orr.w r3, r3, r1, lsl #4 + 80012d6: 6810 ldr r0, [r2, #0] + 80012d8: 4929 ldr r1, [pc, #164] @ (8001380 ) + 80012da: 4001 ands r1, r0 + 80012dc: 430b orrs r3, r1 + 80012de: 7c29 ldrb r1, [r5, #16] + 80012e0: fab1 f181 clz r1, r1 + 80012e4: 0949 lsrs r1, r1, #5 + 80012e6: ea43 53c1 orr.w r3, r3, r1, lsl #23 + 80012ea: 7c69 ldrb r1, [r5, #17] + 80012ec: fab1 f181 clz r1, r1 + 80012f0: 0949 lsrs r1, r1, #5 + 80012f2: ea43 5381 orr.w r3, r3, r1, lsl #22 + 80012f6: 7fa9 ldrb r1, [r5, #30] + 80012f8: fab1 f181 clz r1, r1 + 80012fc: 0949 lsrs r1, r1, #5 + 80012fe: ea43 3341 orr.w r3, r3, r1, lsl #13 + 8001302: f895 1020 ldrb.w r1, [r5, #32] + 8001306: fab1 f181 clz r1, r1 + 800130a: 0949 lsrs r1, r1, #5 + 800130c: ea43 2341 orr.w r3, r3, r1, lsl #9 + 8001310: 6013 str r3, [r2, #0] + 8001312: 2001 movs r0, #1 + 8001314: 6816 ldr r6, [r2, #0] + 8001316: f7ff fea1 bl 800105c + 800131a: 6821 ldr r1, [r4, #0] + 800131c: 6ca8 ldr r0, [r5, #72] @ 0x48 + 800131e: 600e str r6, [r1, #0] + 8001320: 698a ldr r2, [r1, #24] + 8001322: 6d2b ldr r3, [r5, #80] @ 0x50 + 8001324: f022 02be bic.w r2, r2, #190 @ 0xbe + 8001328: 0412 lsls r2, r2, #16 + 800132a: ea43 4300 orr.w r3, r3, r0, lsl #16 + 800132e: 0c12 lsrs r2, r2, #16 + 8001330: 4313 orrs r3, r2 + 8001332: f895 204c ldrb.w r2, [r5, #76] @ 0x4c + 8001336: fab2 f282 clz r2, r2 + 800133a: 0952 lsrs r2, r2, #5 + 800133c: ea43 13c2 orr.w r3, r3, r2, lsl #7 + 8001340: f895 2055 ldrb.w r2, [r5, #85] @ 0x55 + 8001344: 1e50 subs r0, r2, #1 + 8001346: 4242 negs r2, r0 + 8001348: 4142 adcs r2, r0 + 800134a: ea43 03c2 orr.w r3, r3, r2, lsl #3 + 800134e: f895 2056 ldrb.w r2, [r5, #86] @ 0x56 + 8001352: 1e56 subs r6, r2, #1 + 8001354: 4272 negs r2, r6 + 8001356: 4172 adcs r2, r6 + 8001358: ea43 0382 orr.w r3, r3, r2, lsl #2 + 800135c: f895 2054 ldrb.w r2, [r5, #84] @ 0x54 + 8001360: f102 3cff add.w ip, r2, #4294967295 + 8001364: f1dc 0200 rsbs r2, ip, #0 + 8001368: eb42 020c adc.w r2, r2, ip + 800136c: ea43 0342 orr.w r3, r3, r2, lsl #1 + 8001370: 618b str r3, [r1, #24] + 8001372: 2001 movs r0, #1 + 8001374: 698d ldr r5, [r1, #24] + 8001376: f7ff fe71 bl 800105c + 800137a: 6823 ldr r3, [r4, #0] + 800137c: 619d str r5, [r3, #24] + 800137e: bd70 pop {r4, r5, r6, pc} + 8001380: ff20810f .word 0xff20810f + +08001384 : + 8001384: b570 push {r4, r5, r6, lr} + 8001386: 694b ldr r3, [r1, #20] + 8001388: 6802 ldr r2, [r0, #0] + 800138a: 460d mov r5, r1 + 800138c: 6a09 ldr r1, [r1, #32] + 800138e: 430b orrs r3, r1 + 8001390: 7b69 ldrb r1, [r5, #13] + 8001392: ea43 6341 orr.w r3, r3, r1, lsl #25 + 8001396: 7ba9 ldrb r1, [r5, #14] + 8001398: ea43 5341 orr.w r3, r3, r1, lsl #21 + 800139c: 7f29 ldrb r1, [r5, #28] + 800139e: ea43 13c1 orr.w r3, r3, r1, lsl #7 + 80013a2: 7fa9 ldrb r1, [r5, #30] + 80013a4: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 80013a8: ea43 1381 orr.w r3, r3, r1, lsl #6 + 80013ac: f895 1024 ldrb.w r1, [r5, #36] @ 0x24 + 80013b0: 4604 mov r4, r0 + 80013b2: ea43 0381 orr.w r3, r3, r1, lsl #2 + 80013b6: 6990 ldr r0, [r2, #24] + 80013b8: 491a ldr r1, [pc, #104] @ (8001424 ) + 80013ba: 4001 ands r1, r0 + 80013bc: 430b orrs r3, r1 + 80013be: 7b29 ldrb r1, [r5, #12] + 80013c0: fab1 f181 clz r1, r1 + 80013c4: 0949 lsrs r1, r1, #5 + 80013c6: ea43 6381 orr.w r3, r3, r1, lsl #26 + 80013ca: 7f69 ldrb r1, [r5, #29] + 80013cc: fab1 f181 clz r1, r1 + 80013d0: 0949 lsrs r1, r1, #5 + 80013d2: ea43 5301 orr.w r3, r3, r1, lsl #20 + 80013d6: 6193 str r3, [r2, #24] + 80013d8: 2001 movs r0, #1 + 80013da: 6996 ldr r6, [r2, #24] + 80013dc: f7ff fe3e bl 800105c + 80013e0: 6822 ldr r2, [r4, #0] + 80013e2: 69a9 ldr r1, [r5, #24] + 80013e4: 68ab ldr r3, [r5, #8] + 80013e6: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 80013ea: 430b orrs r3, r1 + 80013ec: 6196 str r6, [r2, #24] + 80013ee: f895 1025 ldrb.w r1, [r5, #37] @ 0x25 + 80013f2: ea43 13c1 orr.w r3, r3, r1, lsl #7 + 80013f6: 6929 ldr r1, [r5, #16] + 80013f8: 430b orrs r3, r1 + 80013fa: 6829 ldr r1, [r5, #0] + 80013fc: 430b orrs r3, r1 + 80013fe: 6aa9 ldr r1, [r5, #40] @ 0x28 + 8001400: ea43 0381 orr.w r3, r3, r1, lsl #2 + 8001404: 7929 ldrb r1, [r5, #4] + 8001406: ea43 6341 orr.w r3, r3, r1, lsl #25 + 800140a: f443 0300 orr.w r3, r3, #8388608 @ 0x800000 + 800140e: 6013 str r3, [r2, #0] + 8001410: 2001 movs r0, #1 + 8001412: 6815 ldr r5, [r2, #0] + 8001414: f7ff fe22 bl 800105c + 8001418: 6823 ldr r3, [r4, #0] + 800141a: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 800141e: 601d str r5, [r3, #0] + 8001420: bd70 pop {r4, r5, r6, pc} + 8001422: bf00 nop + 8001424: f8de3f23 .word 0xf8de3f23 + +08001428 : + 8001428: b513 push {r0, r1, r4, lr} + 800142a: 2300 movs r3, #0 + 800142c: 9301 str r3, [sp, #4] + 800142e: 6803 ldr r3, [r0, #0] + 8001430: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8001434: 4604 mov r4, r0 + 8001436: 699a ldr r2, [r3, #24] + 8001438: f442 1280 orr.w r2, r2, #1048576 @ 0x100000 + 800143c: 619a str r2, [r3, #24] + 800143e: 699b ldr r3, [r3, #24] + 8001440: 9301 str r3, [sp, #4] + 8001442: 2001 movs r0, #1 + 8001444: f7ff fe0a bl 800105c + 8001448: 6823 ldr r3, [r4, #0] + 800144a: 9a01 ldr r2, [sp, #4] + 800144c: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8001450: 619a str r2, [r3, #24] + 8001452: b002 add sp, #8 + 8001454: bd10 pop {r4, pc} + ... + +08001458 : + 8001458: e92d 43f7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, lr} + 800145c: 6e87 ldr r7, [r0, #104] @ 0x68 + 800145e: 6ec6 ldr r6, [r0, #108] @ 0x6c + 8001460: f8df 9070 ldr.w r9, [pc, #112] @ 80014d4 + 8001464: 2300 movs r3, #0 + 8001466: 9301 str r3, [sp, #4] + 8001468: f107 0312 add.w r3, r7, #18 + 800146c: 4604 mov r4, r0 + 800146e: f850 5023 ldr.w r5, [r0, r3, lsl #2] + 8001472: f244 58f8 movw r8, #17912 @ 0x45f8 + 8001476: b136 cbz r6, 8001486 + 8001478: 6a2b ldr r3, [r5, #32] + 800147a: b99b cbnz r3, 80014a4 + 800147c: a801 add r0, sp, #4 + 800147e: f001 fdc7 bl 8003010 + 8001482: 9b01 ldr r3, [sp, #4] + 8001484: b963 cbnz r3, 80014a0 + 8001486: 6ee3 ldr r3, [r4, #108] @ 0x6c + 8001488: 42b3 cmp r3, r6 + 800148a: d006 beq.n 800149a + 800148c: 6823 ldr r3, [r4, #0] + 800148e: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8001492: 2200 movs r2, #0 + 8001494: 609a str r2, [r3, #8] + 8001496: e9c4 761a strd r7, r6, [r4, #104] @ 0x68 + 800149a: b003 add sp, #12 + 800149c: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 80014a0: 622b str r3, [r5, #32] + 80014a2: 60ab str r3, [r5, #8] + 80014a4: 6da3 ldr r3, [r4, #88] @ 0x58 + 80014a6: b993 cbnz r3, 80014ce + 80014a8: f8c5 9004 str.w r9, [r5, #4] + 80014ac: f3bf 8f5f dmb sy + 80014b0: 682b ldr r3, [r5, #0] + 80014b2: f043 4300 orr.w r3, r3, #2147483648 @ 0x80000000 + 80014b6: 602b str r3, [r5, #0] + 80014b8: 1c7b adds r3, r7, #1 + 80014ba: 2b03 cmp r3, #3 + 80014bc: bf88 it hi + 80014be: 1efb subhi r3, r7, #3 + 80014c0: f103 0212 add.w r2, r3, #18 + 80014c4: 3e01 subs r6, #1 + 80014c6: f854 5022 ldr.w r5, [r4, r2, lsl #2] + 80014ca: 461f mov r7, r3 + 80014cc: e7d3 b.n 8001476 + 80014ce: f8c5 8004 str.w r8, [r5, #4] + 80014d2: e7eb b.n 80014ac + 80014d4: 800045f8 .word 0x800045f8 + +080014d8 : + 80014d8: b5f0 push {r4, r5, r6, r7, lr} + 80014da: 4604 mov r4, r0 + 80014dc: b0a7 sub sp, #156 @ 0x9c + 80014de: 2800 cmp r0, #0 + 80014e0: f000 80db beq.w 800169a + 80014e4: f8d0 3084 ldr.w r3, [r0, #132] @ 0x84 + 80014e8: b923 cbnz r3, 80014f4 + 80014ea: 2323 movs r3, #35 @ 0x23 + 80014ec: f8c0 3084 str.w r3, [r0, #132] @ 0x84 + 80014f0: f001 fc36 bl 8002d60 + 80014f4: 2300 movs r3, #0 + 80014f6: 9301 str r3, [sp, #4] + 80014f8: 4b69 ldr r3, [pc, #420] @ (80016a0 ) + 80014fa: 68a1 ldr r1, [r4, #8] + 80014fc: 6c5a ldr r2, [r3, #68] @ 0x44 + 80014fe: f442 4280 orr.w r2, r2, #16384 @ 0x4000 + 8001502: 645a str r2, [r3, #68] @ 0x44 + 8001504: 6c5b ldr r3, [r3, #68] @ 0x44 + 8001506: f403 4380 and.w r3, r3, #16384 @ 0x4000 + 800150a: 9301 str r3, [sp, #4] + 800150c: 9b01 ldr r3, [sp, #4] + 800150e: 4b65 ldr r3, [pc, #404] @ (80016a4 ) + 8001510: 685a ldr r2, [r3, #4] + 8001512: f422 0200 bic.w r2, r2, #8388608 @ 0x800000 + 8001516: 605a str r2, [r3, #4] + 8001518: 685a ldr r2, [r3, #4] + 800151a: 430a orrs r2, r1 + 800151c: 605a str r2, [r3, #4] + 800151e: 685b ldr r3, [r3, #4] + 8001520: 6823 ldr r3, [r4, #0] + 8001522: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8001526: 681a ldr r2, [r3, #0] + 8001528: f042 0201 orr.w r2, r2, #1 + 800152c: 601a str r2, [r3, #0] + 800152e: f7ff fd8f bl 8001050 + 8001532: 4606 mov r6, r0 + 8001534: 6823 ldr r3, [r4, #0] + 8001536: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 800153a: 681d ldr r5, [r3, #0] + 800153c: f015 0501 ands.w r5, r5, #1 + 8001540: f040 809e bne.w 8001680 + 8001544: 2601 movs r6, #1 + 8001546: f44f 4280 mov.w r2, #16384 @ 0x4000 + 800154a: f240 1701 movw r7, #257 @ 0x101 + 800154e: f44f 6300 mov.w r3, #2048 @ 0x800 + 8001552: a90d add r1, sp, #52 @ 0x34 + 8001554: 4620 mov r0, r4 + 8001556: e9cd 2312 strd r2, r3, [sp, #72] @ 0x48 + 800155a: f88d 6038 strb.w r6, [sp, #56] @ 0x38 + 800155e: f8ad 6052 strh.w r6, [sp, #82] @ 0x52 + 8001562: 950f str r5, [sp, #60] @ 0x3c + 8001564: f88d 5050 strb.w r5, [sp, #80] @ 0x50 + 8001568: f88d 5054 strb.w r5, [sp, #84] @ 0x54 + 800156c: f88d 5043 strb.w r5, [sp, #67] @ 0x43 + 8001570: f8ad 7044 strh.w r7, [sp, #68] @ 0x44 + 8001574: 9516 str r5, [sp, #88] @ 0x58 + 8001576: f88d 505c strb.w r5, [sp, #92] @ 0x5c + 800157a: 951f str r5, [sp, #124] @ 0x7c + 800157c: f88d 5080 strb.w r5, [sp, #128] @ 0x80 + 8001580: 9521 str r5, [sp, #132] @ 0x84 + 8001582: f8ad 5088 strh.w r5, [sp, #136] @ 0x88 + 8001586: f88d 508a strb.w r5, [sp, #138] @ 0x8a + 800158a: f7ff fe89 bl 80012a0 + 800158e: f44f 3380 mov.w r3, #65536 @ 0x10000 + 8001592: 9304 str r3, [sp, #16] + 8001594: f44f 5300 mov.w r3, #8192 @ 0x2000 + 8001598: e9cd 3506 strd r3, r5, [sp, #24] + 800159c: f44f 0380 mov.w r3, #4194304 @ 0x400000 + 80015a0: 9308 str r3, [sp, #32] + 80015a2: 4620 mov r0, r4 + 80015a4: f44f 7380 mov.w r3, #256 @ 0x100 + 80015a8: a902 add r1, sp, #8 + 80015aa: f88d 600c strb.w r6, [sp, #12] + 80015ae: f88d 6016 strb.w r6, [sp, #22] + 80015b2: f8ad 3024 strh.w r3, [sp, #36] @ 0x24 + 80015b6: f8ad 7014 strh.w r7, [sp, #20] + 80015ba: f88d 5026 strb.w r5, [sp, #38] @ 0x26 + 80015be: 950a str r5, [sp, #40] @ 0x28 + 80015c0: f8ad 702c strh.w r7, [sp, #44] @ 0x2c + 80015c4: 950c str r5, [sp, #48] @ 0x30 + 80015c6: 9502 str r5, [sp, #8] + 80015c8: f7ff fedc bl 8001384 + 80015cc: 68e6 ldr r6, [r4, #12] + 80015ce: f104 0c14 add.w ip, r4, #20 + 80015d2: 4633 mov r3, r6 + 80015d4: 462a mov r2, r5 + 80015d6: 4628 mov r0, r5 + 80015d8: 6018 str r0, [r3, #0] + 80015da: 6058 str r0, [r3, #4] + 80015dc: 6098 str r0, [r3, #8] + 80015de: 60d8 str r0, [r3, #12] + 80015e0: f84c 3f04 str.w r3, [ip, #4]! + 80015e4: 681f ldr r7, [r3, #0] + 80015e6: 4619 mov r1, r3 + 80015e8: f447 1780 orr.w r7, r7, #1048576 @ 0x100000 + 80015ec: f841 7b28 str.w r7, [r1], #40 + 80015f0: 2a03 cmp r2, #3 + 80015f2: bf14 ite ne + 80015f4: 60d9 strne r1, [r3, #12] + 80015f6: 60de streq r6, [r3, #12] + 80015f8: 681f ldr r7, [r3, #0] + 80015fa: 3201 adds r2, #1 + 80015fc: f447 0740 orr.w r7, r7, #12582912 @ 0xc00000 + 8001600: 2a04 cmp r2, #4 + 8001602: 601f str r7, [r3, #0] + 8001604: 460b mov r3, r1 + 8001606: d1e7 bne.n 80015d8 + 8001608: 6821 ldr r1, [r4, #0] + 800160a: f501 5180 add.w r1, r1, #4096 @ 0x1000 + 800160e: 2200 movs r2, #0 + 8001610: 62a2 str r2, [r4, #40] @ 0x28 + 8001612: 610e str r6, [r1, #16] + 8001614: 6926 ldr r6, [r4, #16] + 8001616: f104 0744 add.w r7, r4, #68 @ 0x44 + 800161a: 4633 mov r3, r6 + 800161c: f04f 4c00 mov.w ip, #2147483648 @ 0x80000000 + 8001620: f244 5ef8 movw lr, #17912 @ 0x45f8 + 8001624: 601a str r2, [r3, #0] + 8001626: 605a str r2, [r3, #4] + 8001628: 609a str r2, [r3, #8] + 800162a: 60da str r2, [r3, #12] + 800162c: f8c3 c000 str.w ip, [r3] + 8001630: f8c3 e004 str.w lr, [r3, #4] + 8001634: 6858 ldr r0, [r3, #4] + 8001636: f020 4000 bic.w r0, r0, #2147483648 @ 0x80000000 + 800163a: 6058 str r0, [r3, #4] + 800163c: 2d03 cmp r5, #3 + 800163e: f103 0028 add.w r0, r3, #40 @ 0x28 + 8001642: f105 0501 add.w r5, r5, #1 + 8001646: e9c3 2208 strd r2, r2, [r3, #32] + 800164a: f847 3f04 str.w r3, [r7, #4]! + 800164e: bf14 ite ne + 8001650: 60d8 strne r0, [r3, #12] + 8001652: 60de streq r6, [r3, #12] + 8001654: 2d04 cmp r5, #4 + 8001656: 4603 mov r3, r0 + 8001658: d1e4 bne.n 8001624 + 800165a: 2000 movs r0, #0 + 800165c: e9c4 0017 strd r0, r0, [r4, #92] @ 0x5c + 8001660: e9c4 001a strd r0, r0, [r4, #104] @ 0x68 + 8001664: 6862 ldr r2, [r4, #4] + 8001666: 65a0 str r0, [r4, #88] @ 0x58 + 8001668: 4b0f ldr r3, [pc, #60] @ (80016a8 ) + 800166a: 60ce str r6, [r1, #12] + 800166c: 8891 ldrh r1, [r2, #4] + 800166e: 6419 str r1, [r3, #64] @ 0x40 + 8001670: 6812 ldr r2, [r2, #0] + 8001672: 645a str r2, [r3, #68] @ 0x44 + 8001674: 2310 movs r3, #16 + 8001676: f8c4 0088 str.w r0, [r4, #136] @ 0x88 + 800167a: f8c4 3084 str.w r3, [r4, #132] @ 0x84 + 800167e: e00d b.n 800169c + 8001680: f7ff fce6 bl 8001050 + 8001684: 1b80 subs r0, r0, r6 + 8001686: f5b0 7ffa cmp.w r0, #500 @ 0x1f4 + 800168a: f67f af53 bls.w 8001534 + 800168e: 2304 movs r3, #4 + 8001690: f8c4 3088 str.w r3, [r4, #136] @ 0x88 + 8001694: 23e0 movs r3, #224 @ 0xe0 + 8001696: f8c4 3084 str.w r3, [r4, #132] @ 0x84 + 800169a: 2001 movs r0, #1 + 800169c: b027 add sp, #156 @ 0x9c + 800169e: bdf0 pop {r4, r5, r6, r7, pc} + 80016a0: 40023800 .word 0x40023800 + 80016a4: 40013800 .word 0x40013800 + 80016a8: 40028000 .word 0x40028000 + +080016ac : + 80016ac: f8d0 3084 ldr.w r3, [r0, #132] @ 0x84 + 80016b0: 2b10 cmp r3, #16 + 80016b2: b570 push {r4, r5, r6, lr} + 80016b4: 4604 mov r4, r0 + 80016b6: d12d bne.n 8001714 + 80016b8: 2304 movs r3, #4 + 80016ba: 2523 movs r5, #35 @ 0x23 + 80016bc: 66c3 str r3, [r0, #108] @ 0x6c + 80016be: f8c0 5084 str.w r5, [r0, #132] @ 0x84 + 80016c2: f7ff fec9 bl 8001458 + 80016c6: 6823 ldr r3, [r4, #0] + 80016c8: 681a ldr r2, [r3, #0] + 80016ca: f042 0208 orr.w r2, r2, #8 + 80016ce: 601a str r2, [r3, #0] + 80016d0: 2001 movs r0, #1 + 80016d2: 681e ldr r6, [r3, #0] + 80016d4: f7ff fcc2 bl 800105c + 80016d8: 6823 ldr r3, [r4, #0] + 80016da: 601e str r6, [r3, #0] + 80016dc: 681a ldr r2, [r3, #0] + 80016de: f042 0204 orr.w r2, r2, #4 + 80016e2: 601a str r2, [r3, #0] + 80016e4: 2001 movs r0, #1 + 80016e6: 681e ldr r6, [r3, #0] + 80016e8: f7ff fcb8 bl 800105c + 80016ec: 6823 ldr r3, [r4, #0] + 80016ee: 4620 mov r0, r4 + 80016f0: 601e str r6, [r3, #0] + 80016f2: f7ff fe99 bl 8001428 + 80016f6: 6823 ldr r3, [r4, #0] + 80016f8: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 80016fc: 2000 movs r0, #0 + 80016fe: 699a ldr r2, [r3, #24] + 8001700: f442 5200 orr.w r2, r2, #8192 @ 0x2000 + 8001704: 619a str r2, [r3, #24] + 8001706: 699a ldr r2, [r3, #24] + 8001708: f042 0202 orr.w r2, r2, #2 + 800170c: 619a str r2, [r3, #24] + 800170e: f8c4 5084 str.w r5, [r4, #132] @ 0x84 + 8001712: bd70 pop {r4, r5, r6, pc} + 8001714: 2001 movs r0, #1 + 8001716: e7fc b.n 8001712 + +08001718 : + 8001718: b538 push {r3, r4, r5, lr} + 800171a: f8d0 3084 ldr.w r3, [r0, #132] @ 0x84 + 800171e: 2b23 cmp r3, #35 @ 0x23 + 8001720: 4604 mov r4, r0 + 8001722: d129 bne.n 8001778 + 8001724: f8c0 3084 str.w r3, [r0, #132] @ 0x84 + 8001728: 6803 ldr r3, [r0, #0] + 800172a: f503 5280 add.w r2, r3, #4096 @ 0x1000 + 800172e: 2001 movs r0, #1 + 8001730: 6991 ldr r1, [r2, #24] + 8001732: f421 5100 bic.w r1, r1, #8192 @ 0x2000 + 8001736: 6191 str r1, [r2, #24] + 8001738: 6991 ldr r1, [r2, #24] + 800173a: f021 0102 bic.w r1, r1, #2 + 800173e: 6191 str r1, [r2, #24] + 8001740: 681a ldr r2, [r3, #0] + 8001742: f022 0204 bic.w r2, r2, #4 + 8001746: 601a str r2, [r3, #0] + 8001748: 681d ldr r5, [r3, #0] + 800174a: f7ff fc87 bl 800105c + 800174e: 6823 ldr r3, [r4, #0] + 8001750: 4620 mov r0, r4 + 8001752: 601d str r5, [r3, #0] + 8001754: f7ff fe68 bl 8001428 + 8001758: 6823 ldr r3, [r4, #0] + 800175a: 681a ldr r2, [r3, #0] + 800175c: f022 0208 bic.w r2, r2, #8 + 8001760: 601a str r2, [r3, #0] + 8001762: 2001 movs r0, #1 + 8001764: 681d ldr r5, [r3, #0] + 8001766: f7ff fc79 bl 800105c + 800176a: 6823 ldr r3, [r4, #0] + 800176c: 601d str r5, [r3, #0] + 800176e: 2310 movs r3, #16 + 8001770: f8c4 3084 str.w r3, [r4, #132] @ 0x84 + 8001774: 2000 movs r0, #0 + 8001776: bd38 pop {r3, r4, r5, pc} + 8001778: 2001 movs r0, #1 + 800177a: e7fc b.n 8001776 + +0800177c : + 800177c: b5f8 push {r3, r4, r5, r6, r7, lr} + 800177e: 4604 mov r4, r0 + 8001780: 4615 mov r5, r2 + 8001782: b939 cbnz r1, 8001794 + 8001784: f8d0 3088 ldr.w r3, [r0, #136] @ 0x88 + 8001788: f043 0301 orr.w r3, r3, #1 + 800178c: f8c4 3088 str.w r3, [r4, #136] @ 0x88 + 8001790: 2001 movs r0, #1 + 8001792: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8001794: f8d0 3084 ldr.w r3, [r0, #132] @ 0x84 + 8001798: 2b23 cmp r3, #35 @ 0x23 + 800179a: d1f9 bne.n 8001790 + 800179c: 2200 movs r2, #0 + 800179e: f7ff fcd7 bl 8001150 + 80017a2: b120 cbz r0, 80017ae + 80017a4: f8d4 3088 ldr.w r3, [r4, #136] @ 0x88 + 80017a8: f043 0302 orr.w r3, r3, #2 + 80017ac: e7ee b.n 800178c + 80017ae: f3bf 8f4f dsb sy + 80017b2: 6aa2 ldr r2, [r4, #40] @ 0x28 + 80017b4: 1d93 adds r3, r2, #6 + 80017b6: f854 7023 ldr.w r7, [r4, r3, lsl #2] + 80017ba: 1c53 adds r3, r2, #1 + 80017bc: 2b03 cmp r3, #3 + 80017be: bf88 it hi + 80017c0: 1ed3 subhi r3, r2, #3 + 80017c2: 6822 ldr r2, [r4, #0] + 80017c4: 62a3 str r3, [r4, #40] @ 0x28 + 80017c6: 3306 adds r3, #6 + 80017c8: f502 5280 add.w r2, r2, #4096 @ 0x1000 + 80017cc: f854 3023 ldr.w r3, [r4, r3, lsl #2] + 80017d0: 6053 str r3, [r2, #4] + 80017d2: f7ff fc3d bl 8001050 + 80017d6: 4606 mov r6, r0 + 80017d8: 683b ldr r3, [r7, #0] + 80017da: 2b00 cmp r3, #0 + 80017dc: db01 blt.n 80017e2 + 80017de: 2000 movs r0, #0 + 80017e0: e7d7 b.n 8001792 + 80017e2: 6823 ldr r3, [r4, #0] + 80017e4: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 80017e8: 695a ldr r2, [r3, #20] + 80017ea: 0492 lsls r2, r2, #18 + 80017ec: d509 bpl.n 8001802 + 80017ee: f8d4 2088 ldr.w r2, [r4, #136] @ 0x88 + 80017f2: f042 0208 orr.w r2, r2, #8 + 80017f6: f8c4 2088 str.w r2, [r4, #136] @ 0x88 + 80017fa: 695b ldr r3, [r3, #20] + 80017fc: f8c4 308c str.w r3, [r4, #140] @ 0x8c + 8001800: e7c6 b.n 8001790 + 8001802: 1c6b adds r3, r5, #1 + 8001804: d0e8 beq.n 80017d8 + 8001806: f7ff fc23 bl 8001050 + 800180a: 1b80 subs r0, r0, r6 + 800180c: 42a8 cmp r0, r5 + 800180e: d801 bhi.n 8001814 + 8001810: 2d00 cmp r5, #0 + 8001812: d1e1 bne.n 80017d8 + 8001814: f8d4 3088 ldr.w r3, [r4, #136] @ 0x88 + 8001818: f043 0304 orr.w r3, r3, #4 + 800181c: f8c4 3088 str.w r3, [r4, #136] @ 0x88 + 8001820: f04f 5340 mov.w r3, #805306368 @ 0x30000000 + 8001824: 603b str r3, [r7, #0] + 8001826: e7b3 b.n 8001790 + +08001828 : + 8001828: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800182c: 4604 mov r4, r0 + 800182e: b085 sub sp, #20 + 8001830: 468a mov sl, r1 + 8001832: b949 cbnz r1, 8001848 + 8001834: f8d0 3088 ldr.w r3, [r0, #136] @ 0x88 + 8001838: f043 0301 orr.w r3, r3, #1 + 800183c: f8c0 3088 str.w r3, [r0, #136] @ 0x88 + 8001840: 2001 movs r0, #1 + 8001842: b005 add sp, #20 + 8001844: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8001848: f8d0 3084 ldr.w r3, [r0, #132] @ 0x84 + 800184c: 2b23 cmp r3, #35 @ 0x23 + 800184e: d1f7 bne.n 8001840 + 8001850: f8d0 905c ldr.w r9, [r0, #92] @ 0x5c + 8001854: f109 0312 add.w r3, r9, #18 + 8001858: f04f 0800 mov.w r8, #0 + 800185c: f850 5023 ldr.w r5, [r0, r3, lsl #2] + 8001860: 6ec3 ldr r3, [r0, #108] @ 0x6c + 8001862: f1c3 0304 rsb r3, r3, #4 + 8001866: f100 0180 add.w r1, r0, #128 @ 0x80 + 800186a: 9301 str r3, [sp, #4] + 800186c: 4646 mov r6, r8 + 800186e: 307c adds r0, #124 @ 0x7c + 8001870: 46c3 mov fp, r8 + 8001872: 682b ldr r3, [r5, #0] + 8001874: 2b00 cmp r3, #0 + 8001876: db05 blt.n 8001884 + 8001878: 9b01 ldr r3, [sp, #4] + 800187a: 429e cmp r6, r3 + 800187c: d002 beq.n 8001884 + 800187e: f1b8 0f00 cmp.w r8, #0 + 8001882: d011 beq.n 80018a8 + 8001884: 6ee3 ldr r3, [r4, #108] @ 0x6c + 8001886: 441e add r6, r3 + 8001888: 66e6 str r6, [r4, #108] @ 0x6c + 800188a: b116 cbz r6, 8001892 + 800188c: 4620 mov r0, r4 + 800188e: f7ff fde3 bl 8001458 + 8001892: f8c4 905c str.w r9, [r4, #92] @ 0x5c + 8001896: f1b8 0f00 cmp.w r8, #0 + 800189a: d0d1 beq.n 8001840 + 800189c: 6fe3 ldr r3, [r4, #124] @ 0x7c + 800189e: f8ca 3000 str.w r3, [sl] + 80018a2: 2000 movs r0, #0 + 80018a4: 67e0 str r0, [r4, #124] @ 0x7c + 80018a6: e7cc b.n 8001842 + 80018a8: 682b ldr r3, [r5, #0] + 80018aa: 05db lsls r3, r3, #23 + 80018ac: bf41 itttt mi + 80018ae: 69ab ldrmi r3, [r5, #24] + 80018b0: 67a3 strmi r3, [r4, #120] @ 0x78 + 80018b2: 69eb ldrmi r3, [r5, #28] + 80018b4: 6763 strmi r3, [r4, #116] @ 0x74 + 80018b6: 682b ldr r3, [r5, #0] + 80018b8: 059f lsls r7, r3, #22 + 80018ba: d401 bmi.n 80018c0 + 80018bc: 6fe3 ldr r3, [r4, #124] @ 0x7c + 80018be: b30b cbz r3, 8001904 + 80018c0: 682b ldr r3, [r5, #0] + 80018c2: 6967 ldr r7, [r4, #20] + 80018c4: 059a lsls r2, r3, #22 + 80018c6: 682b ldr r3, [r5, #0] + 80018c8: bf48 it mi + 80018ca: e9c4 bb18 strdmi fp, fp, [r4, #96] @ 0x60 + 80018ce: 05db lsls r3, r3, #23 + 80018d0: d507 bpl.n 80018e2 + 80018d2: 682f ldr r7, [r5, #0] + 80018d4: 682b ldr r3, [r5, #0] + 80018d6: 6723 str r3, [r4, #112] @ 0x70 + 80018d8: f3c7 470d ubfx r7, r7, #16, #14 + 80018dc: 3f04 subs r7, #4 + 80018de: f04f 0801 mov.w r8, #1 + 80018e2: 68aa ldr r2, [r5, #8] + 80018e4: 622a str r2, [r5, #32] + 80018e6: b2bb uxth r3, r7 + 80018e8: e9cd 0102 strd r0, r1, [sp, #8] + 80018ec: f001 fbb2 bl 8003054 + 80018f0: 6e23 ldr r3, [r4, #96] @ 0x60 + 80018f2: 3301 adds r3, #1 + 80018f4: 6623 str r3, [r4, #96] @ 0x60 + 80018f6: 6e63 ldr r3, [r4, #100] @ 0x64 + 80018f8: e9dd 0102 ldrd r0, r1, [sp, #8] + 80018fc: 443b add r3, r7 + 80018fe: 6663 str r3, [r4, #100] @ 0x64 + 8001900: f8c5 b020 str.w fp, [r5, #32] + 8001904: f109 0301 add.w r3, r9, #1 + 8001908: 2b03 cmp r3, #3 + 800190a: bf88 it hi + 800190c: f1a9 0303 subhi.w r3, r9, #3 + 8001910: f103 0212 add.w r2, r3, #18 + 8001914: 3601 adds r6, #1 + 8001916: f854 5022 ldr.w r5, [r4, r2, lsl #2] + 800191a: 4699 mov r9, r3 + 800191c: e7a9 b.n 8001872 + +0800191e : + 800191e: b5f8 push {r3, r4, r5, r6, r7, lr} + 8001920: 4605 mov r5, r0 + 8001922: 6800 ldr r0, [r0, #0] + 8001924: 461e mov r6, r3 + 8001926: 6903 ldr r3, [r0, #16] + 8001928: 0192 lsls r2, r2, #6 + 800192a: f003 031c and.w r3, r3, #28 + 800192e: 02cc lsls r4, r1, #11 + 8001930: f402 62f8 and.w r2, r2, #1984 @ 0x7c0 + 8001934: 431a orrs r2, r3 + 8001936: b2a4 uxth r4, r4 + 8001938: 4314 orrs r4, r2 + 800193a: f044 0401 orr.w r4, r4, #1 + 800193e: 6104 str r4, [r0, #16] + 8001940: f7ff fb86 bl 8001050 + 8001944: 4607 mov r7, r0 + 8001946: f014 0001 ands.w r0, r4, #1 + 800194a: d104 bne.n 8001956 + 800194c: 682b ldr r3, [r5, #0] + 800194e: 695b ldr r3, [r3, #20] + 8001950: b29b uxth r3, r3 + 8001952: 6033 str r3, [r6, #0] + 8001954: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8001956: f7ff fb7b bl 8001050 + 800195a: 1bc0 subs r0, r0, r7 + 800195c: f5b0 3f80 cmp.w r0, #65536 @ 0x10000 + 8001960: d202 bcs.n 8001968 8001962: 682b ldr r3, [r5, #0] - 8001964: 05d9 lsls r1, r3, #23 - 8001966: d51b bpl.n 80019a0 - 8001968: 68a3 ldr r3, [r4, #8] - 800196a: 4d28 ldr r5, [pc, #160] ; (8001a0c ) - 800196c: 2b01 cmp r3, #1 - 800196e: d127 bne.n 80019c0 - 8001970: 6f2b ldr r3, [r5, #112] ; 0x70 - 8001972: f043 0301 orr.w r3, r3, #1 - 8001976: 672b str r3, [r5, #112] ; 0x70 - 8001978: f7ff f8b2 bl 8000ae0 - 800197c: 4e23 ldr r6, [pc, #140] ; (8001a0c ) - 800197e: 4605 mov r5, r0 - 8001980: f241 3888 movw r8, #5000 ; 0x1388 - 8001984: 6f33 ldr r3, [r6, #112] ; 0x70 - 8001986: 079b lsls r3, r3, #30 - 8001988: d539 bpl.n 80019fe - 800198a: 2f00 cmp r7, #0 - 800198c: f43f af18 beq.w 80017c0 - 8001990: 4a1e ldr r2, [pc, #120] ; (8001a0c ) - 8001992: 6c13 ldr r3, [r2, #64] ; 0x40 - 8001994: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 - 8001998: 6413 str r3, [r2, #64] ; 0x40 - 800199a: e711 b.n 80017c0 - 800199c: 2700 movs r7, #0 - 800199e: e7df b.n 8001960 - 80019a0: 682b ldr r3, [r5, #0] - 80019a2: f443 7380 orr.w r3, r3, #256 ; 0x100 - 80019a6: 602b str r3, [r5, #0] - 80019a8: f7ff f89a bl 8000ae0 - 80019ac: 4606 mov r6, r0 - 80019ae: 682b ldr r3, [r5, #0] - 80019b0: 05da lsls r2, r3, #23 - 80019b2: d4d9 bmi.n 8001968 - 80019b4: f7ff f894 bl 8000ae0 - 80019b8: 1b80 subs r0, r0, r6 - 80019ba: 2802 cmp r0, #2 - 80019bc: d9f7 bls.n 80019ae - 80019be: e730 b.n 8001822 - 80019c0: 2b05 cmp r3, #5 - 80019c2: d104 bne.n 80019ce - 80019c4: 6f2b ldr r3, [r5, #112] ; 0x70 - 80019c6: f043 0304 orr.w r3, r3, #4 - 80019ca: 672b str r3, [r5, #112] ; 0x70 - 80019cc: e7d0 b.n 8001970 - 80019ce: 6f2a ldr r2, [r5, #112] ; 0x70 - 80019d0: f022 0201 bic.w r2, r2, #1 - 80019d4: 672a str r2, [r5, #112] ; 0x70 - 80019d6: 6f2a ldr r2, [r5, #112] ; 0x70 - 80019d8: f022 0204 bic.w r2, r2, #4 - 80019dc: 672a str r2, [r5, #112] ; 0x70 - 80019de: 2b00 cmp r3, #0 - 80019e0: d1ca bne.n 8001978 - 80019e2: f7ff f87d bl 8000ae0 - 80019e6: f241 3888 movw r8, #5000 ; 0x1388 - 80019ea: 4606 mov r6, r0 - 80019ec: 6f2b ldr r3, [r5, #112] ; 0x70 - 80019ee: 0798 lsls r0, r3, #30 - 80019f0: d5cb bpl.n 800198a - 80019f2: f7ff f875 bl 8000ae0 - 80019f6: 1b80 subs r0, r0, r6 - 80019f8: 4540 cmp r0, r8 - 80019fa: d9f7 bls.n 80019ec - 80019fc: e711 b.n 8001822 - 80019fe: f7ff f86f bl 8000ae0 - 8001a02: 1b40 subs r0, r0, r5 - 8001a04: 4540 cmp r0, r8 - 8001a06: d9bd bls.n 8001984 - 8001a08: e70b b.n 8001822 - 8001a0a: bf00 nop - 8001a0c: 40023800 .word 0x40023800 - 8001a10: 42470000 .word 0x42470000 - 8001a14: 40007000 .word 0x40007000 - 8001a18: 4d36 ldr r5, [pc, #216] ; (8001af4 ) - 8001a1a: 68ab ldr r3, [r5, #8] - 8001a1c: f003 030c and.w r3, r3, #12 - 8001a20: 2b08 cmp r3, #8 - 8001a22: d03d beq.n 8001aa0 - 8001a24: 4b34 ldr r3, [pc, #208] ; (8001af8 ) - 8001a26: 2200 movs r2, #0 - 8001a28: 2802 cmp r0, #2 - 8001a2a: 661a str r2, [r3, #96] ; 0x60 - 8001a2c: d12b bne.n 8001a86 - 8001a2e: f7ff f857 bl 8000ae0 - 8001a32: 4606 mov r6, r0 - 8001a34: 682b ldr r3, [r5, #0] - 8001a36: 0199 lsls r1, r3, #6 - 8001a38: d41f bmi.n 8001a7a - 8001a3a: e9d4 3207 ldrd r3, r2, [r4, #28] - 8001a3e: 4313 orrs r3, r2 - 8001a40: 6a62 ldr r2, [r4, #36] ; 0x24 - 8001a42: ea43 1382 orr.w r3, r3, r2, lsl #6 - 8001a46: 6ae2 ldr r2, [r4, #44] ; 0x2c - 8001a48: ea43 6302 orr.w r3, r3, r2, lsl #24 - 8001a4c: 6aa2 ldr r2, [r4, #40] ; 0x28 - 8001a4e: 0852 lsrs r2, r2, #1 - 8001a50: 3a01 subs r2, #1 - 8001a52: ea43 4302 orr.w r3, r3, r2, lsl #16 - 8001a56: 606b str r3, [r5, #4] - 8001a58: 4b27 ldr r3, [pc, #156] ; (8001af8 ) - 8001a5a: 4d26 ldr r5, [pc, #152] ; (8001af4 ) - 8001a5c: 2201 movs r2, #1 - 8001a5e: 661a str r2, [r3, #96] ; 0x60 - 8001a60: f7ff f83e bl 8000ae0 - 8001a64: 4604 mov r4, r0 - 8001a66: 682b ldr r3, [r5, #0] - 8001a68: 019a lsls r2, r3, #6 - 8001a6a: f53f aead bmi.w 80017c8 - 8001a6e: f7ff f837 bl 8000ae0 - 8001a72: 1b00 subs r0, r0, r4 - 8001a74: 2802 cmp r0, #2 - 8001a76: d9f6 bls.n 8001a66 - 8001a78: e6d3 b.n 8001822 - 8001a7a: f7ff f831 bl 8000ae0 - 8001a7e: 1b80 subs r0, r0, r6 - 8001a80: 2802 cmp r0, #2 - 8001a82: d9d7 bls.n 8001a34 - 8001a84: e6cd b.n 8001822 - 8001a86: f7ff f82b bl 8000ae0 - 8001a8a: 4604 mov r4, r0 - 8001a8c: 682b ldr r3, [r5, #0] - 8001a8e: 019b lsls r3, r3, #6 - 8001a90: f57f ae9a bpl.w 80017c8 - 8001a94: f7ff f824 bl 8000ae0 - 8001a98: 1b00 subs r0, r0, r4 - 8001a9a: 2802 cmp r0, #2 - 8001a9c: d9f6 bls.n 8001a8c - 8001a9e: e6c0 b.n 8001822 - 8001aa0: 2801 cmp r0, #1 - 8001aa2: f43f aebf beq.w 8001824 - 8001aa6: 686b ldr r3, [r5, #4] - 8001aa8: 69e2 ldr r2, [r4, #28] - 8001aaa: f403 0180 and.w r1, r3, #4194304 ; 0x400000 - 8001aae: 4291 cmp r1, r2 - 8001ab0: f47f aea1 bne.w 80017f6 - 8001ab4: 6a21 ldr r1, [r4, #32] - 8001ab6: f003 023f and.w r2, r3, #63 ; 0x3f - 8001aba: 428a cmp r2, r1 - 8001abc: f47f ae9b bne.w 80017f6 - 8001ac0: 6a61 ldr r1, [r4, #36] ; 0x24 - 8001ac2: f647 72c0 movw r2, #32704 ; 0x7fc0 - 8001ac6: 401a ands r2, r3 - 8001ac8: ebb2 1f81 cmp.w r2, r1, lsl #6 - 8001acc: f47f ae93 bne.w 80017f6 - 8001ad0: 6aa2 ldr r2, [r4, #40] ; 0x28 - 8001ad2: 0852 lsrs r2, r2, #1 - 8001ad4: f403 3140 and.w r1, r3, #196608 ; 0x30000 - 8001ad8: 3a01 subs r2, #1 - 8001ada: ebb1 4f02 cmp.w r1, r2, lsl #16 - 8001ade: f47f ae8a bne.w 80017f6 - 8001ae2: 6ae2 ldr r2, [r4, #44] ; 0x2c - 8001ae4: f003 6370 and.w r3, r3, #251658240 ; 0xf000000 - 8001ae8: ebb3 6f02 cmp.w r3, r2, lsl #24 - 8001aec: f43f ae6c beq.w 80017c8 - 8001af0: e681 b.n 80017f6 - 8001af2: bf00 nop - 8001af4: 40023800 .word 0x40023800 - 8001af8: 42470000 .word 0x42470000 + 8001964: 691c ldr r4, [r3, #16] + 8001966: e7ee b.n 8001946 + 8001968: 2001 movs r0, #1 + 800196a: e7f3 b.n 8001954 -08001afc : - 8001afc: 4913 ldr r1, [pc, #76] ; (8001b4c ) - 8001afe: b508 push {r3, lr} - 8001b00: 688b ldr r3, [r1, #8] - 8001b02: f003 030c and.w r3, r3, #12 - 8001b06: 2b04 cmp r3, #4 - 8001b08: d01c beq.n 8001b44 - 8001b0a: 2b08 cmp r3, #8 - 8001b0c: d11c bne.n 8001b48 - 8001b0e: 684a ldr r2, [r1, #4] - 8001b10: 684b ldr r3, [r1, #4] - 8001b12: 6849 ldr r1, [r1, #4] - 8001b14: f413 0380 ands.w r3, r3, #4194304 ; 0x400000 - 8001b18: bf14 ite ne - 8001b1a: 480d ldrne r0, [pc, #52] ; (8001b50 ) - 8001b1c: 480d ldreq r0, [pc, #52] ; (8001b54 ) - 8001b1e: f3c1 1188 ubfx r1, r1, #6, #9 - 8001b22: bf18 it ne - 8001b24: 2300 movne r3, #0 - 8001b26: f002 023f and.w r2, r2, #63 ; 0x3f - 8001b2a: fba1 0100 umull r0, r1, r1, r0 - 8001b2e: f7fe fbaf bl 8000290 <__aeabi_uldivmod> - 8001b32: 4b06 ldr r3, [pc, #24] ; (8001b4c ) - 8001b34: 685b ldr r3, [r3, #4] - 8001b36: f3c3 4301 ubfx r3, r3, #16, #2 - 8001b3a: 3301 adds r3, #1 - 8001b3c: 005b lsls r3, r3, #1 - 8001b3e: fbb0 f0f3 udiv r0, r0, r3 - 8001b42: bd08 pop {r3, pc} - 8001b44: 4802 ldr r0, [pc, #8] ; (8001b50 ) - 8001b46: e7fc b.n 8001b42 - 8001b48: 4802 ldr r0, [pc, #8] ; (8001b54 ) - 8001b4a: e7fa b.n 8001b42 - 8001b4c: 40023800 .word 0x40023800 - 8001b50: 017d7840 .word 0x017d7840 - 8001b54: 00f42400 .word 0x00f42400 +0800196c : + 800196c: b570 push {r4, r5, r6, lr} + 800196e: 4605 mov r5, r0 + 8001970: 6800 ldr r0, [r0, #0] + 8001972: 6904 ldr r4, [r0, #16] + 8001974: 0192 lsls r2, r2, #6 + 8001976: f004 041c and.w r4, r4, #28 + 800197a: f402 62f8 and.w r2, r2, #1984 @ 0x7c0 + 800197e: 4322 orrs r2, r4 + 8001980: 02cc lsls r4, r1, #11 + 8001982: b2a4 uxth r4, r4 + 8001984: 4314 orrs r4, r2 + 8001986: b29b uxth r3, r3 + 8001988: f044 0403 orr.w r4, r4, #3 + 800198c: 6143 str r3, [r0, #20] + 800198e: 6104 str r4, [r0, #16] + 8001990: f7ff fb5e bl 8001050 + 8001994: 4606 mov r6, r0 + 8001996: f014 0001 ands.w r0, r4, #1 + 800199a: d100 bne.n 800199e + 800199c: bd70 pop {r4, r5, r6, pc} + 800199e: f7ff fb57 bl 8001050 + 80019a2: 1b80 subs r0, r0, r6 + 80019a4: f5b0 3f80 cmp.w r0, #65536 @ 0x10000 + 80019a8: d202 bcs.n 80019b0 + 80019aa: 682b ldr r3, [r5, #0] + 80019ac: 691c ldr r4, [r3, #16] + 80019ae: e7f2 b.n 8001996 + 80019b0: 2001 movs r0, #1 + 80019b2: e7f3 b.n 800199c -08001b58 : - 8001b58: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8001b5c: 460d mov r5, r1 - 8001b5e: 4604 mov r4, r0 - 8001b60: b910 cbnz r0, 8001b68 - 8001b62: 2001 movs r0, #1 - 8001b64: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8001b68: 4b44 ldr r3, [pc, #272] ; (8001c7c ) - 8001b6a: 681a ldr r2, [r3, #0] - 8001b6c: f002 020f and.w r2, r2, #15 - 8001b70: 428a cmp r2, r1 - 8001b72: d328 bcc.n 8001bc6 - 8001b74: 6822 ldr r2, [r4, #0] - 8001b76: 0797 lsls r7, r2, #30 - 8001b78: d42d bmi.n 8001bd6 - 8001b7a: 07d0 lsls r0, r2, #31 - 8001b7c: d441 bmi.n 8001c02 - 8001b7e: 4b3f ldr r3, [pc, #252] ; (8001c7c ) - 8001b80: 681a ldr r2, [r3, #0] - 8001b82: f002 020f and.w r2, r2, #15 - 8001b86: 42aa cmp r2, r5 - 8001b88: d866 bhi.n 8001c58 - 8001b8a: 6822 ldr r2, [r4, #0] - 8001b8c: 0751 lsls r1, r2, #29 - 8001b8e: d46c bmi.n 8001c6a - 8001b90: 0713 lsls r3, r2, #28 - 8001b92: d507 bpl.n 8001ba4 - 8001b94: 4a3a ldr r2, [pc, #232] ; (8001c80 ) - 8001b96: 6921 ldr r1, [r4, #16] - 8001b98: 6893 ldr r3, [r2, #8] - 8001b9a: f423 4360 bic.w r3, r3, #57344 ; 0xe000 - 8001b9e: ea43 03c1 orr.w r3, r3, r1, lsl #3 - 8001ba2: 6093 str r3, [r2, #8] - 8001ba4: f7ff ffaa bl 8001afc - 8001ba8: 4b35 ldr r3, [pc, #212] ; (8001c80 ) - 8001baa: 4a36 ldr r2, [pc, #216] ; (8001c84 ) - 8001bac: 689b ldr r3, [r3, #8] - 8001bae: f3c3 1303 ubfx r3, r3, #4, #4 - 8001bb2: 5cd3 ldrb r3, [r2, r3] - 8001bb4: 40d8 lsrs r0, r3 - 8001bb6: 4b34 ldr r3, [pc, #208] ; (8001c88 ) - 8001bb8: 6018 str r0, [r3, #0] - 8001bba: 4b34 ldr r3, [pc, #208] ; (8001c8c ) - 8001bbc: 6818 ldr r0, [r3, #0] - 8001bbe: f7fe ff45 bl 8000a4c - 8001bc2: 2000 movs r0, #0 - 8001bc4: e7ce b.n 8001b64 - 8001bc6: b2ca uxtb r2, r1 - 8001bc8: 701a strb r2, [r3, #0] - 8001bca: 681b ldr r3, [r3, #0] - 8001bcc: f003 030f and.w r3, r3, #15 - 8001bd0: 428b cmp r3, r1 - 8001bd2: d1c6 bne.n 8001b62 - 8001bd4: e7ce b.n 8001b74 - 8001bd6: 4b2a ldr r3, [pc, #168] ; (8001c80 ) - 8001bd8: f012 0f04 tst.w r2, #4 - 8001bdc: bf1e ittt ne - 8001bde: 6899 ldrne r1, [r3, #8] - 8001be0: f441 51e0 orrne.w r1, r1, #7168 ; 0x1c00 - 8001be4: 6099 strne r1, [r3, #8] - 8001be6: 0716 lsls r6, r2, #28 - 8001be8: bf42 ittt mi - 8001bea: 6899 ldrmi r1, [r3, #8] - 8001bec: f441 4160 orrmi.w r1, r1, #57344 ; 0xe000 - 8001bf0: 6099 strmi r1, [r3, #8] - 8001bf2: 4923 ldr r1, [pc, #140] ; (8001c80 ) - 8001bf4: 68a0 ldr r0, [r4, #8] - 8001bf6: 688b ldr r3, [r1, #8] - 8001bf8: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 8001bfc: 4303 orrs r3, r0 - 8001bfe: 608b str r3, [r1, #8] - 8001c00: e7bb b.n 8001b7a - 8001c02: 6862 ldr r2, [r4, #4] - 8001c04: 4b1e ldr r3, [pc, #120] ; (8001c80 ) - 8001c06: 2a01 cmp r2, #1 - 8001c08: d11c bne.n 8001c44 - 8001c0a: 681b ldr r3, [r3, #0] - 8001c0c: f413 3f00 tst.w r3, #131072 ; 0x20000 - 8001c10: d0a7 beq.n 8001b62 - 8001c12: 4e1b ldr r6, [pc, #108] ; (8001c80 ) - 8001c14: 68b3 ldr r3, [r6, #8] - 8001c16: f023 0303 bic.w r3, r3, #3 - 8001c1a: 4313 orrs r3, r2 - 8001c1c: 60b3 str r3, [r6, #8] - 8001c1e: f7fe ff5f bl 8000ae0 - 8001c22: f241 3888 movw r8, #5000 ; 0x1388 - 8001c26: 4607 mov r7, r0 - 8001c28: 68b3 ldr r3, [r6, #8] - 8001c2a: 6862 ldr r2, [r4, #4] - 8001c2c: f003 030c and.w r3, r3, #12 - 8001c30: ebb3 0f82 cmp.w r3, r2, lsl #2 - 8001c34: d0a3 beq.n 8001b7e - 8001c36: f7fe ff53 bl 8000ae0 - 8001c3a: 1bc0 subs r0, r0, r7 - 8001c3c: 4540 cmp r0, r8 - 8001c3e: d9f3 bls.n 8001c28 - 8001c40: 2003 movs r0, #3 - 8001c42: e78f b.n 8001b64 - 8001c44: 1e91 subs r1, r2, #2 - 8001c46: 2901 cmp r1, #1 - 8001c48: 681b ldr r3, [r3, #0] - 8001c4a: d802 bhi.n 8001c52 - 8001c4c: f013 7f00 tst.w r3, #33554432 ; 0x2000000 - 8001c50: e7de b.n 8001c10 - 8001c52: f013 0f02 tst.w r3, #2 - 8001c56: e7db b.n 8001c10 - 8001c58: b2ea uxtb r2, r5 - 8001c5a: 701a strb r2, [r3, #0] - 8001c5c: 681b ldr r3, [r3, #0] - 8001c5e: f003 030f and.w r3, r3, #15 - 8001c62: 42ab cmp r3, r5 - 8001c64: f47f af7d bne.w 8001b62 - 8001c68: e78f b.n 8001b8a - 8001c6a: 4905 ldr r1, [pc, #20] ; (8001c80 ) - 8001c6c: 68e0 ldr r0, [r4, #12] - 8001c6e: 688b ldr r3, [r1, #8] - 8001c70: f423 53e0 bic.w r3, r3, #7168 ; 0x1c00 - 8001c74: 4303 orrs r3, r0 - 8001c76: 608b str r3, [r1, #8] - 8001c78: e78a b.n 8001b90 - 8001c7a: bf00 nop - 8001c7c: 40023c00 .word 0x40023c00 - 8001c80: 40023800 .word 0x40023800 - 8001c84: 0800a500 .word 0x0800a500 - 8001c88: 20000000 .word 0x20000000 - 8001c8c: 20000008 .word 0x20000008 +080019b4 : + 80019b4: 2900 cmp r1, #0 + 80019b6: d05d beq.n 8001a74 + 80019b8: 6803 ldr r3, [r0, #0] + 80019ba: 681a ldr r2, [r3, #0] + 80019bc: f3c2 1200 ubfx r2, r2, #4, #1 + 80019c0: f881 2028 strb.w r2, [r1, #40] @ 0x28 + 80019c4: 681a ldr r2, [r3, #0] + 80019c6: f002 0260 and.w r2, r2, #96 @ 0x60 + 80019ca: 624a str r2, [r1, #36] @ 0x24 + 80019cc: 681a ldr r2, [r3, #0] + 80019ce: f482 7200 eor.w r2, r2, #512 @ 0x200 + 80019d2: f3c2 2240 ubfx r2, r2, #9, #1 + 80019d6: f881 2020 strb.w r2, [r1, #32] + 80019da: 681a ldr r2, [r3, #0] + 80019dc: f3c2 4200 ubfx r2, r2, #16, #1 + 80019e0: 77ca strb r2, [r1, #31] + 80019e2: 681a ldr r2, [r3, #0] + 80019e4: f482 5200 eor.w r2, r2, #8192 @ 0x2000 + 80019e8: f3c2 3240 ubfx r2, r2, #13, #1 + 80019ec: 778a strb r2, [r1, #30] + 80019ee: 681a ldr r2, [r3, #0] + 80019f0: f3c2 3200 ubfx r2, r2, #12, #1 + 80019f4: 770a strb r2, [r1, #28] + 80019f6: 681a ldr r2, [r3, #0] + 80019f8: f402 6200 and.w r2, r2, #2048 @ 0x800 + 80019fc: 618a str r2, [r1, #24] + 80019fe: 681a ldr r2, [r3, #0] + 8001a00: f402 4280 and.w r2, r2, #16384 @ 0x4000 + 8001a04: 614a str r2, [r1, #20] + 8001a06: 681a ldr r2, [r3, #0] + 8001a08: f482 0280 eor.w r2, r2, #4194304 @ 0x400000 + 8001a0c: f3c2 5280 ubfx r2, r2, #22, #1 + 8001a10: 744a strb r2, [r1, #17] + 8001a12: 681a ldr r2, [r3, #0] + 8001a14: f482 0200 eor.w r2, r2, #8388608 @ 0x800000 + 8001a18: f3c2 52c0 ubfx r2, r2, #23, #1 + 8001a1c: 740a strb r2, [r1, #16] + 8001a1e: 681a ldr r2, [r3, #0] + 8001a20: f3c2 12c0 ubfx r2, r2, #7, #1 + 8001a24: 73ca strb r2, [r1, #15] + 8001a26: 681a ldr r2, [r3, #0] + 8001a28: f402 2260 and.w r2, r2, #917504 @ 0xe0000 + 8001a2c: 608a str r2, [r1, #8] + 8001a2e: 681a ldr r2, [r3, #0] + 8001a30: f3c2 2280 ubfx r2, r2, #10, #1 + 8001a34: 710a strb r2, [r1, #4] + 8001a36: 699a ldr r2, [r3, #24] + 8001a38: f3c2 0240 ubfx r2, r2, #1, #1 + 8001a3c: f881 2054 strb.w r2, [r1, #84] @ 0x54 + 8001a40: 699a ldr r2, [r3, #24] + 8001a42: f082 0280 eor.w r2, r2, #128 @ 0x80 + 8001a46: f3c2 12c0 ubfx r2, r2, #7, #1 + 8001a4a: f881 204c strb.w r2, [r1, #76] @ 0x4c + 8001a4e: 699a ldr r2, [r3, #24] + 8001a50: f002 0230 and.w r2, r2, #48 @ 0x30 + 8001a54: 650a str r2, [r1, #80] @ 0x50 + 8001a56: 699a ldr r2, [r3, #24] + 8001a58: 0c12 lsrs r2, r2, #16 + 8001a5a: 648a str r2, [r1, #72] @ 0x48 + 8001a5c: 699a ldr r2, [r3, #24] + 8001a5e: f3c2 0280 ubfx r2, r2, #2, #1 + 8001a62: f881 2056 strb.w r2, [r1, #86] @ 0x56 + 8001a66: 699b ldr r3, [r3, #24] + 8001a68: f3c3 03c0 ubfx r3, r3, #3, #1 + 8001a6c: f881 3055 strb.w r3, [r1, #85] @ 0x55 + 8001a70: 2000 movs r0, #0 + 8001a72: 4770 bx lr + 8001a74: 2001 movs r0, #1 + 8001a76: 4770 bx lr -08001c90 : - 8001c90: 4b01 ldr r3, [pc, #4] ; (8001c98 ) - 8001c92: 6818 ldr r0, [r3, #0] - 8001c94: 4770 bx lr - 8001c96: bf00 nop - 8001c98: 20000000 .word 0x20000000 +08001a78 : + 8001a78: b508 push {r3, lr} + 8001a7a: b139 cbz r1, 8001a8c + 8001a7c: f8d0 3084 ldr.w r3, [r0, #132] @ 0x84 + 8001a80: 2b10 cmp r3, #16 + 8001a82: d103 bne.n 8001a8c + 8001a84: f7ff fc0c bl 80012a0 + 8001a88: 2000 movs r0, #0 + 8001a8a: bd08 pop {r3, pc} + 8001a8c: 2001 movs r0, #1 + 8001a8e: e7fc b.n 8001a8a -08001c9c : - 8001c9c: b570 push {r4, r5, r6, lr} - 8001c9e: 460e mov r6, r1 - 8001ca0: 4615 mov r5, r2 - 8001ca2: 4604 mov r4, r0 - 8001ca4: b328 cbz r0, 8001cf2 - 8001ca6: f890 3049 ldrb.w r3, [r0, #73] ; 0x49 - 8001caa: f003 02ff and.w r2, r3, #255 ; 0xff - 8001cae: b91b cbnz r3, 8001cb8 - 8001cb0: f880 2048 strb.w r2, [r0, #72] ; 0x48 - 8001cb4: f7fe fd7e bl 80007b4 - 8001cb8: f104 0108 add.w r1, r4, #8 - 8001cbc: 6820 ldr r0, [r4, #0] - 8001cbe: f000 f81b bl 8001cf8 - 8001cc2: 68a2 ldr r2, [r4, #8] - 8001cc4: 6820 ldr r0, [r4, #0] - 8001cc6: 4631 mov r1, r6 - 8001cc8: f000 f860 bl 8001d8c - 8001ccc: 6b23 ldr r3, [r4, #48] ; 0x30 - 8001cce: 68a2 ldr r2, [r4, #8] - 8001cd0: 6860 ldr r0, [r4, #4] - 8001cd2: 4629 mov r1, r5 - 8001cd4: f000 f886 bl 8001de4 - 8001cd8: 6822 ldr r2, [r4, #0] - 8001cda: 68a1 ldr r1, [r4, #8] - 8001cdc: f852 3021 ldr.w r3, [r2, r1, lsl #2] - 8001ce0: f043 0301 orr.w r3, r3, #1 - 8001ce4: f842 3021 str.w r3, [r2, r1, lsl #2] - 8001ce8: 2301 movs r3, #1 - 8001cea: f884 3049 strb.w r3, [r4, #73] ; 0x49 - 8001cee: 2000 movs r0, #0 - 8001cf0: bd70 pop {r4, r5, r6, pc} - 8001cf2: 2001 movs r0, #1 - 8001cf4: e7fc b.n 8001cf0 +08001a90 : + 8001a90: b538 push {r3, r4, r5, lr} + 8001a92: 6803 ldr r3, [r0, #0] + 8001a94: 4605 mov r5, r0 + 8001a96: 691c ldr r4, [r3, #16] + 8001a98: f000 fd62 bl 8002560 + 8001a9c: 4b11 ldr r3, [pc, #68] @ (8001ae4 ) + 8001a9e: 4a12 ldr r2, [pc, #72] @ (8001ae8 ) + 8001aa0: 4403 add r3, r0 + 8001aa2: 4293 cmp r3, r2 + 8001aa4: f024 041c bic.w r4, r4, #28 + 8001aa8: d204 bcs.n 8001ab4 + 8001aaa: f044 0408 orr.w r4, r4, #8 + 8001aae: 682b ldr r3, [r5, #0] + 8001ab0: 611c str r4, [r3, #16] + 8001ab2: bd38 pop {r3, r4, r5, pc} + 8001ab4: 4b0d ldr r3, [pc, #52] @ (8001aec ) + 8001ab6: 4a0e ldr r2, [pc, #56] @ (8001af0 ) + 8001ab8: 4403 add r3, r0 + 8001aba: 4293 cmp r3, r2 + 8001abc: d802 bhi.n 8001ac4 + 8001abe: f044 040c orr.w r4, r4, #12 + 8001ac2: e7f4 b.n 8001aae + 8001ac4: 4b0b ldr r3, [pc, #44] @ (8001af4 ) + 8001ac6: 4a0c ldr r2, [pc, #48] @ (8001af8 ) + 8001ac8: 4403 add r3, r0 + 8001aca: 4293 cmp r3, r2 + 8001acc: d3ef bcc.n 8001aae + 8001ace: 4b0b ldr r3, [pc, #44] @ (8001afc ) + 8001ad0: 4a0b ldr r2, [pc, #44] @ (8001b00 ) + 8001ad2: 4403 add r3, r0 + 8001ad4: 4293 cmp r3, r2 + 8001ad6: bf94 ite ls + 8001ad8: f044 0404 orrls.w r4, r4, #4 + 8001adc: f044 0410 orrhi.w r4, r4, #16 + 8001ae0: e7e5 b.n 8001aae + 8001ae2: bf00 nop + 8001ae4: feced300 .word 0xfeced300 + 8001ae8: 00e4e1c0 .word 0x00e4e1c0 + 8001aec: fde9f140 .word 0xfde9f140 + 8001af0: 017d783f .word 0x017d783f + 8001af4: fc6c7900 .word 0xfc6c7900 + 8001af8: 02625a00 .word 0x02625a00 + 8001afc: fa0a1f00 .word 0xfa0a1f00 + 8001b00: 02faf07f .word 0x02faf07f + +08001b04 : + 8001b04: 4909 ldr r1, [pc, #36] @ (8001b2c ) + 8001b06: b510 push {r4, lr} + 8001b08: 690c ldr r4, [r1, #16] + 8001b0a: f424 7440 bic.w r4, r4, #768 @ 0x300 + 8001b0e: 610c str r4, [r1, #16] + 8001b10: 690c ldr r4, [r1, #16] + 8001b12: f444 7440 orr.w r4, r4, #768 @ 0x300 + 8001b16: 610c str r4, [r1, #16] + 8001b18: 690c ldr r4, [r1, #16] + 8001b1a: f044 0401 orr.w r4, r4, #1 + 8001b1e: 610c str r4, [r1, #16] + 8001b20: 6002 str r2, [r0, #0] + 8001b22: f3bf 8f6f isb sy + 8001b26: 6043 str r3, [r0, #4] + 8001b28: bd10 pop {r4, pc} + 8001b2a: bf00 nop + 8001b2c: 40023c00 .word 0x40023c00 + +08001b30 : + 8001b30: 4b07 ldr r3, [pc, #28] @ (8001b50 ) + 8001b32: 691a ldr r2, [r3, #16] + 8001b34: f422 7240 bic.w r2, r2, #768 @ 0x300 + 8001b38: 611a str r2, [r3, #16] + 8001b3a: 691a ldr r2, [r3, #16] + 8001b3c: f442 7200 orr.w r2, r2, #512 @ 0x200 + 8001b40: 611a str r2, [r3, #16] + 8001b42: 691a ldr r2, [r3, #16] + 8001b44: f042 0201 orr.w r2, r2, #1 + 8001b48: 611a str r2, [r3, #16] + 8001b4a: 6001 str r1, [r0, #0] + 8001b4c: 4770 bx lr + 8001b4e: bf00 nop + 8001b50: 40023c00 .word 0x40023c00 + +08001b54 : + 8001b54: 4b07 ldr r3, [pc, #28] @ (8001b74 ) + 8001b56: 691a ldr r2, [r3, #16] + 8001b58: f422 7240 bic.w r2, r2, #768 @ 0x300 + 8001b5c: 611a str r2, [r3, #16] + 8001b5e: 691a ldr r2, [r3, #16] + 8001b60: f442 7280 orr.w r2, r2, #256 @ 0x100 + 8001b64: 611a str r2, [r3, #16] + 8001b66: 691a ldr r2, [r3, #16] + 8001b68: f042 0201 orr.w r2, r2, #1 + 8001b6c: 611a str r2, [r3, #16] + 8001b6e: 8001 strh r1, [r0, #0] + 8001b70: 4770 bx lr + 8001b72: bf00 nop + 8001b74: 40023c00 .word 0x40023c00 + +08001b78 : + 8001b78: 4b20 ldr r3, [pc, #128] @ (8001bfc ) + 8001b7a: 68da ldr r2, [r3, #12] + 8001b7c: 06d0 lsls r0, r2, #27 + 8001b7e: d506 bpl.n 8001b8e + 8001b80: 491f ldr r1, [pc, #124] @ (8001c00 ) + 8001b82: 69ca ldr r2, [r1, #28] + 8001b84: f042 0210 orr.w r2, r2, #16 + 8001b88: 61ca str r2, [r1, #28] + 8001b8a: 2210 movs r2, #16 + 8001b8c: 60da str r2, [r3, #12] + 8001b8e: 68da ldr r2, [r3, #12] + 8001b90: 0691 lsls r1, r2, #26 + 8001b92: d506 bpl.n 8001ba2 + 8001b94: 491a ldr r1, [pc, #104] @ (8001c00 ) + 8001b96: 69ca ldr r2, [r1, #28] + 8001b98: f042 0208 orr.w r2, r2, #8 + 8001b9c: 61ca str r2, [r1, #28] + 8001b9e: 2220 movs r2, #32 + 8001ba0: 60da str r2, [r3, #12] + 8001ba2: 4b16 ldr r3, [pc, #88] @ (8001bfc ) + 8001ba4: 68da ldr r2, [r3, #12] + 8001ba6: 0652 lsls r2, r2, #25 + 8001ba8: d506 bpl.n 8001bb8 + 8001baa: 4915 ldr r1, [pc, #84] @ (8001c00 ) + 8001bac: 69ca ldr r2, [r1, #28] + 8001bae: f042 0204 orr.w r2, r2, #4 + 8001bb2: 61ca str r2, [r1, #28] + 8001bb4: 2240 movs r2, #64 @ 0x40 + 8001bb6: 60da str r2, [r3, #12] + 8001bb8: 68da ldr r2, [r3, #12] + 8001bba: 0610 lsls r0, r2, #24 + 8001bbc: d506 bpl.n 8001bcc + 8001bbe: 4910 ldr r1, [pc, #64] @ (8001c00 ) + 8001bc0: 69ca ldr r2, [r1, #28] + 8001bc2: f042 0202 orr.w r2, r2, #2 + 8001bc6: 61ca str r2, [r1, #28] + 8001bc8: 2280 movs r2, #128 @ 0x80 + 8001bca: 60da str r2, [r3, #12] + 8001bcc: 4b0b ldr r3, [pc, #44] @ (8001bfc ) + 8001bce: 68da ldr r2, [r3, #12] + 8001bd0: 05d1 lsls r1, r2, #23 + 8001bd2: d507 bpl.n 8001be4 + 8001bd4: 490a ldr r1, [pc, #40] @ (8001c00 ) + 8001bd6: 69ca ldr r2, [r1, #28] + 8001bd8: f042 0201 orr.w r2, r2, #1 + 8001bdc: 61ca str r2, [r1, #28] + 8001bde: f44f 7280 mov.w r2, #256 @ 0x100 + 8001be2: 60da str r2, [r3, #12] + 8001be4: 68da ldr r2, [r3, #12] + 8001be6: 0792 lsls r2, r2, #30 + 8001be8: d506 bpl.n 8001bf8 + 8001bea: 4905 ldr r1, [pc, #20] @ (8001c00 ) + 8001bec: 69ca ldr r2, [r1, #28] + 8001bee: f042 0220 orr.w r2, r2, #32 + 8001bf2: 61ca str r2, [r1, #28] + 8001bf4: 2202 movs r2, #2 + 8001bf6: 60da str r2, [r3, #12] + 8001bf8: 4770 bx lr + 8001bfa: bf00 nop + 8001bfc: 40023c00 .word 0x40023c00 + 8001c00: 20000ee8 .word 0x20000ee8 + +08001c04 : + 8001c04: 4b06 ldr r3, [pc, #24] @ (8001c20 ) + 8001c06: 691a ldr r2, [r3, #16] + 8001c08: 2a00 cmp r2, #0 + 8001c0a: bfbf itttt lt + 8001c0c: 4a05 ldrlt r2, [pc, #20] @ (8001c24 ) + 8001c0e: 605a strlt r2, [r3, #4] + 8001c10: f102 3288 addlt.w r2, r2, #2290649224 @ 0x88888888 + 8001c14: 605a strlt r2, [r3, #4] + 8001c16: bfba itte lt + 8001c18: 6918 ldrlt r0, [r3, #16] + 8001c1a: 0fc0 lsrlt r0, r0, #31 + 8001c1c: 2000 movge r0, #0 + 8001c1e: 4770 bx lr + 8001c20: 40023c00 .word 0x40023c00 + 8001c24: 45670123 .word 0x45670123 + +08001c28 : + 8001c28: 4a03 ldr r2, [pc, #12] @ (8001c38 ) + 8001c2a: 6913 ldr r3, [r2, #16] + 8001c2c: f043 4300 orr.w r3, r3, #2147483648 @ 0x80000000 + 8001c30: 6113 str r3, [r2, #16] + 8001c32: 2000 movs r0, #0 + 8001c34: 4770 bx lr + 8001c36: bf00 nop + 8001c38: 40023c00 .word 0x40023c00 + +08001c3c : + 8001c3c: 4b01 ldr r3, [pc, #4] @ (8001c44 ) + 8001c3e: 69d8 ldr r0, [r3, #28] + 8001c40: 4770 bx lr + 8001c42: bf00 nop + 8001c44: 20000ee8 .word 0x20000ee8 + +08001c48 : + 8001c48: 4b11 ldr r3, [pc, #68] @ (8001c90 ) + 8001c4a: b570 push {r4, r5, r6, lr} + 8001c4c: 2200 movs r2, #0 + 8001c4e: 4604 mov r4, r0 + 8001c50: 61da str r2, [r3, #28] + 8001c52: f7ff f9fd bl 8001050 + 8001c56: 4d0f ldr r5, [pc, #60] @ (8001c94 ) + 8001c58: 4606 mov r6, r0 + 8001c5a: 68eb ldr r3, [r5, #12] + 8001c5c: 03da lsls r2, r3, #15 + 8001c5e: d40c bmi.n 8001c7a + 8001c60: 68eb ldr r3, [r5, #12] + 8001c62: 07db lsls r3, r3, #31 + 8001c64: bf44 itt mi + 8001c66: 2301 movmi r3, #1 + 8001c68: 60eb strmi r3, [r5, #12] + 8001c6a: 68e8 ldr r0, [r5, #12] + 8001c6c: f410 70f9 ands.w r0, r0, #498 @ 0x1f2 + 8001c70: d007 beq.n 8001c82 + 8001c72: f7ff ff81 bl 8001b78 + 8001c76: 2001 movs r0, #1 + 8001c78: e003 b.n 8001c82 + 8001c7a: 1c61 adds r1, r4, #1 + 8001c7c: d0ed beq.n 8001c5a + 8001c7e: b90c cbnz r4, 8001c84 + 8001c80: 2003 movs r0, #3 + 8001c82: bd70 pop {r4, r5, r6, pc} + 8001c84: f7ff f9e4 bl 8001050 + 8001c88: 1b80 subs r0, r0, r6 + 8001c8a: 42a0 cmp r0, r4 + 8001c8c: d9e5 bls.n 8001c5a + 8001c8e: e7f7 b.n 8001c80 + 8001c90: 20000ee8 .word 0x20000ee8 + 8001c94: 40023c00 .word 0x40023c00 + +08001c98 : + 8001c98: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8001c9c: 4e1f ldr r6, [pc, #124] @ (8001d1c ) + 8001c9e: 4698 mov r8, r3 + 8001ca0: 7e33 ldrb r3, [r6, #24] + 8001ca2: 2b01 cmp r3, #1 + 8001ca4: 4607 mov r7, r0 + 8001ca6: 460d mov r5, r1 + 8001ca8: 4614 mov r4, r2 + 8001caa: d035 beq.n 8001d18 + 8001cac: 2301 movs r3, #1 + 8001cae: f24c 3050 movw r0, #50000 @ 0xc350 + 8001cb2: 7633 strb r3, [r6, #24] + 8001cb4: f7ff ffc8 bl 8001c48 + 8001cb8: b9b0 cbnz r0, 8001ce8 + 8001cba: b9cf cbnz r7, 8001cf0 + 8001cbc: 4b18 ldr r3, [pc, #96] @ (8001d20 ) + 8001cbe: 691a ldr r2, [r3, #16] + 8001cc0: f422 7240 bic.w r2, r2, #768 @ 0x300 + 8001cc4: 611a str r2, [r3, #16] + 8001cc6: 691a ldr r2, [r3, #16] + 8001cc8: 611a str r2, [r3, #16] + 8001cca: 691a ldr r2, [r3, #16] + 8001ccc: b2e4 uxtb r4, r4 + 8001cce: f042 0201 orr.w r2, r2, #1 + 8001cd2: 611a str r2, [r3, #16] + 8001cd4: 702c strb r4, [r5, #0] + 8001cd6: f24c 3050 movw r0, #50000 @ 0xc350 + 8001cda: f7ff ffb5 bl 8001c48 + 8001cde: 4a10 ldr r2, [pc, #64] @ (8001d20 ) + 8001ce0: 6913 ldr r3, [r2, #16] + 8001ce2: f023 0301 bic.w r3, r3, #1 + 8001ce6: 6113 str r3, [r2, #16] + 8001ce8: 2300 movs r3, #0 + 8001cea: 7633 strb r3, [r6, #24] + 8001cec: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8001cf0: 2f01 cmp r7, #1 + 8001cf2: d104 bne.n 8001cfe + 8001cf4: b2a1 uxth r1, r4 + 8001cf6: 4628 mov r0, r5 + 8001cf8: f7ff ff2c bl 8001b54 + 8001cfc: e7eb b.n 8001cd6 + 8001cfe: 2f02 cmp r7, #2 + 8001d00: d104 bne.n 8001d0c + 8001d02: 4621 mov r1, r4 + 8001d04: 4628 mov r0, r5 + 8001d06: f7ff ff13 bl 8001b30 + 8001d0a: e7e4 b.n 8001cd6 + 8001d0c: 4622 mov r2, r4 + 8001d0e: 4643 mov r3, r8 + 8001d10: 4628 mov r0, r5 + 8001d12: f7ff fef7 bl 8001b04 + 8001d16: e7de b.n 8001cd6 + 8001d18: 2002 movs r0, #2 + 8001d1a: e7e7 b.n 8001cec + 8001d1c: 20000ee8 .word 0x20000ee8 + 8001d20: 40023c00 .word 0x40023c00 + +08001d24 : + 8001d24: 4b0c ldr r3, [pc, #48] @ (8001d58 ) + 8001d26: 691a ldr r2, [r3, #16] + 8001d28: f422 7240 bic.w r2, r2, #768 @ 0x300 + 8001d2c: 611a str r2, [r3, #16] + 8001d2e: 2903 cmp r1, #3 + 8001d30: 691a ldr r2, [r3, #16] + 8001d32: d10b bne.n 8001d4c + 8001d34: f442 4200 orr.w r2, r2, #32768 @ 0x8000 + 8001d38: f042 0204 orr.w r2, r2, #4 + 8001d3c: 611a str r2, [r3, #16] + 8001d3e: 691a ldr r2, [r3, #16] + 8001d40: ea42 2000 orr.w r0, r2, r0, lsl #8 + 8001d44: f440 3080 orr.w r0, r0, #65536 @ 0x10000 + 8001d48: 6118 str r0, [r3, #16] + 8001d4a: 4770 bx lr + 8001d4c: 2901 cmp r1, #1 + 8001d4e: d0f3 beq.n 8001d38 + 8001d50: f442 4200 orr.w r2, r2, #32768 @ 0x8000 + 8001d54: e7f2 b.n 8001d3c + 8001d56: bf00 nop + 8001d58: 40023c00 .word 0x40023c00 + +08001d5c : + 8001d5c: 4b0f ldr r3, [pc, #60] @ (8001d9c ) + 8001d5e: 691a ldr r2, [r3, #16] + 8001d60: f422 7240 bic.w r2, r2, #768 @ 0x300 + 8001d64: 611a str r2, [r3, #16] + 8001d66: 691a ldr r2, [r3, #16] + 8001d68: 2902 cmp r1, #2 + 8001d6a: bf94 ite ls + 8001d6c: 0209 lslls r1, r1, #8 + 8001d6e: f44f 7140 movhi.w r1, #768 @ 0x300 + 8001d72: 430a orrs r2, r1 + 8001d74: 611a str r2, [r3, #16] + 8001d76: 691a ldr r2, [r3, #16] + 8001d78: f022 02f8 bic.w r2, r2, #248 @ 0xf8 + 8001d7c: 611a str r2, [r3, #16] + 8001d7e: 691a ldr r2, [r3, #16] + 8001d80: 280b cmp r0, #11 + 8001d82: bf88 it hi + 8001d84: 3004 addhi r0, #4 + 8001d86: ea42 02c0 orr.w r2, r2, r0, lsl #3 + 8001d8a: f042 0202 orr.w r2, r2, #2 + 8001d8e: 611a str r2, [r3, #16] + 8001d90: 691a ldr r2, [r3, #16] + 8001d92: f442 3280 orr.w r2, r2, #65536 @ 0x10000 + 8001d96: 611a str r2, [r3, #16] + 8001d98: 4770 bx lr + 8001d9a: bf00 nop + 8001d9c: 40023c00 .word 0x40023c00 + +08001da0 : + 8001da0: 4b14 ldr r3, [pc, #80] @ (8001df4 ) + 8001da2: 681a ldr r2, [r3, #0] + 8001da4: 0591 lsls r1, r2, #22 + 8001da6: d50f bpl.n 8001dc8 + 8001da8: 681a ldr r2, [r3, #0] + 8001daa: f422 7200 bic.w r2, r2, #512 @ 0x200 + 8001dae: 601a str r2, [r3, #0] + 8001db0: 681a ldr r2, [r3, #0] + 8001db2: f442 6200 orr.w r2, r2, #2048 @ 0x800 + 8001db6: 601a str r2, [r3, #0] + 8001db8: 681a ldr r2, [r3, #0] + 8001dba: f422 6200 bic.w r2, r2, #2048 @ 0x800 + 8001dbe: 601a str r2, [r3, #0] + 8001dc0: 681a ldr r2, [r3, #0] + 8001dc2: f442 7200 orr.w r2, r2, #512 @ 0x200 + 8001dc6: 601a str r2, [r3, #0] + 8001dc8: 4b0a ldr r3, [pc, #40] @ (8001df4 ) + 8001dca: 681a ldr r2, [r3, #0] + 8001dcc: 0552 lsls r2, r2, #21 + 8001dce: d50f bpl.n 8001df0 + 8001dd0: 681a ldr r2, [r3, #0] + 8001dd2: f422 6280 bic.w r2, r2, #1024 @ 0x400 + 8001dd6: 601a str r2, [r3, #0] + 8001dd8: 681a ldr r2, [r3, #0] + 8001dda: f442 5280 orr.w r2, r2, #4096 @ 0x1000 + 8001dde: 601a str r2, [r3, #0] + 8001de0: 681a ldr r2, [r3, #0] + 8001de2: f422 5280 bic.w r2, r2, #4096 @ 0x1000 + 8001de6: 601a str r2, [r3, #0] + 8001de8: 681a ldr r2, [r3, #0] + 8001dea: f442 6280 orr.w r2, r2, #1024 @ 0x400 + 8001dee: 601a str r2, [r3, #0] + 8001df0: 4770 bx lr + 8001df2: bf00 nop + 8001df4: 40023c00 .word 0x40023c00 + +08001df8 : + 8001df8: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8001dfc: f8df 809c ldr.w r8, [pc, #156] @ 8001e9c + 8001e00: f898 3018 ldrb.w r3, [r8, #24] + 8001e04: 2b01 cmp r3, #1 + 8001e06: 4605 mov r5, r0 + 8001e08: 460f mov r7, r1 + 8001e0a: d042 beq.n 8001e92 + 8001e0c: 2301 movs r3, #1 + 8001e0e: f24c 3050 movw r0, #50000 @ 0xc350 + 8001e12: f888 3018 strb.w r3, [r8, #24] + 8001e16: f7ff ff17 bl 8001c48 + 8001e1a: 4604 mov r4, r0 + 8001e1c: b9b8 cbnz r0, 8001e4e + 8001e1e: f04f 33ff mov.w r3, #4294967295 + 8001e22: 603b str r3, [r7, #0] + 8001e24: 682b ldr r3, [r5, #0] + 8001e26: 2b01 cmp r3, #1 + 8001e28: d117 bne.n 8001e5a + 8001e2a: 6869 ldr r1, [r5, #4] + 8001e2c: 7c28 ldrb r0, [r5, #16] + 8001e2e: f7ff ff79 bl 8001d24 + 8001e32: f24c 3050 movw r0, #50000 @ 0xc350 + 8001e36: f7ff ff07 bl 8001c48 + 8001e3a: 4a17 ldr r2, [pc, #92] @ (8001e98 ) + 8001e3c: 6913 ldr r3, [r2, #16] + 8001e3e: f423 4300 bic.w r3, r3, #32768 @ 0x8000 + 8001e42: f023 0304 bic.w r3, r3, #4 + 8001e46: 4604 mov r4, r0 + 8001e48: 6113 str r3, [r2, #16] + 8001e4a: f7ff ffa9 bl 8001da0 + 8001e4e: 2300 movs r3, #0 + 8001e50: f888 3018 strb.w r3, [r8, #24] + 8001e54: 4620 mov r0, r4 + 8001e56: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 8001e5a: 68ae ldr r6, [r5, #8] + 8001e5c: f8df 9038 ldr.w r9, [pc, #56] @ 8001e98 + 8001e60: e9d5 2302 ldrd r2, r3, [r5, #8] + 8001e64: 4413 add r3, r2 + 8001e66: 42b3 cmp r3, r6 + 8001e68: d9ef bls.n 8001e4a + 8001e6a: 7c29 ldrb r1, [r5, #16] + 8001e6c: 4630 mov r0, r6 + 8001e6e: f7ff ff75 bl 8001d5c + 8001e72: f24c 3050 movw r0, #50000 @ 0xc350 + 8001e76: f7ff fee7 bl 8001c48 + 8001e7a: f8d9 3010 ldr.w r3, [r9, #16] + 8001e7e: f023 03fa bic.w r3, r3, #250 @ 0xfa + 8001e82: f8c9 3010 str.w r3, [r9, #16] + 8001e86: b110 cbz r0, 8001e8e + 8001e88: 603e str r6, [r7, #0] + 8001e8a: 4604 mov r4, r0 + 8001e8c: e7dd b.n 8001e4a + 8001e8e: 3601 adds r6, #1 + 8001e90: e7e6 b.n 8001e60 + 8001e92: 2402 movs r4, #2 + 8001e94: e7de b.n 8001e54 + 8001e96: bf00 nop + 8001e98: 40023c00 .word 0x40023c00 + 8001e9c: 20000ee8 .word 0x20000ee8 + +08001ea0 : + 8001ea0: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8001ea4: f8df 91bc ldr.w r9, [pc, #444] @ 8002064 + 8001ea8: 4a6c ldr r2, [pc, #432] @ (800205c ) + 8001eaa: 2300 movs r3, #0 + 8001eac: 680d ldr r5, [r1, #0] + 8001eae: 2401 movs r4, #1 + 8001eb0: 409c lsls r4, r3 + 8001eb2: ea04 0605 and.w r6, r4, r5 + 8001eb6: 43ac bics r4, r5 + 8001eb8: f040 80b7 bne.w 800202a + 8001ebc: 684d ldr r5, [r1, #4] + 8001ebe: 2703 movs r7, #3 + 8001ec0: f005 0403 and.w r4, r5, #3 + 8001ec4: ea4f 0843 mov.w r8, r3, lsl #1 + 8001ec8: fa07 fc08 lsl.w ip, r7, r8 + 8001ecc: 1e67 subs r7, r4, #1 + 8001ece: 2f01 cmp r7, #1 + 8001ed0: ea6f 0c0c mvn.w ip, ip + 8001ed4: d834 bhi.n 8001f40 + 8001ed6: 6887 ldr r7, [r0, #8] + 8001ed8: ea07 0e0c and.w lr, r7, ip + 8001edc: 68cf ldr r7, [r1, #12] + 8001ede: fa07 f708 lsl.w r7, r7, r8 + 8001ee2: ea47 070e orr.w r7, r7, lr + 8001ee6: 6087 str r7, [r0, #8] + 8001ee8: 6847 ldr r7, [r0, #4] + 8001eea: ea27 0e06 bic.w lr, r7, r6 + 8001eee: f3c5 1700 ubfx r7, r5, #4, #1 + 8001ef2: 409f lsls r7, r3 + 8001ef4: ea47 070e orr.w r7, r7, lr + 8001ef8: 6047 str r7, [r0, #4] + 8001efa: 68c7 ldr r7, [r0, #12] + 8001efc: ea07 0e0c and.w lr, r7, ip + 8001f00: 688f ldr r7, [r1, #8] + 8001f02: fa07 f708 lsl.w r7, r7, r8 + 8001f06: ea47 070e orr.w r7, r7, lr + 8001f0a: 2c02 cmp r4, #2 + 8001f0c: 60c7 str r7, [r0, #12] + 8001f0e: d119 bne.n 8001f44 + 8001f10: ea4f 0ad3 mov.w sl, r3, lsr #3 + 8001f14: eb00 0a8a add.w sl, r0, sl, lsl #2 + 8001f18: f003 0b07 and.w fp, r3, #7 + 8001f1c: f8da 7020 ldr.w r7, [sl, #32] + 8001f20: ea4f 0b8b mov.w fp, fp, lsl #2 + 8001f24: f04f 0e0f mov.w lr, #15 + 8001f28: fa0e fe0b lsl.w lr, lr, fp + 8001f2c: ea27 0e0e bic.w lr, r7, lr + 8001f30: 690f ldr r7, [r1, #16] + 8001f32: fa07 f70b lsl.w r7, r7, fp + 8001f36: ea47 070e orr.w r7, r7, lr + 8001f3a: f8ca 7020 str.w r7, [sl, #32] + 8001f3e: e001 b.n 8001f44 + 8001f40: 2c03 cmp r4, #3 + 8001f42: d1da bne.n 8001efa + 8001f44: 6807 ldr r7, [r0, #0] + 8001f46: fa04 f408 lsl.w r4, r4, r8 + 8001f4a: ea07 070c and.w r7, r7, ip + 8001f4e: 433c orrs r4, r7 + 8001f50: f415 3f40 tst.w r5, #196608 @ 0x30000 + 8001f54: 6004 str r4, [r0, #0] + 8001f56: d068 beq.n 800202a + 8001f58: 2400 movs r4, #0 + 8001f5a: 9401 str r4, [sp, #4] + 8001f5c: f8d9 4044 ldr.w r4, [r9, #68] @ 0x44 + 8001f60: f444 4480 orr.w r4, r4, #16384 @ 0x4000 + 8001f64: f8c9 4044 str.w r4, [r9, #68] @ 0x44 + 8001f68: f8d9 4044 ldr.w r4, [r9, #68] @ 0x44 + 8001f6c: f023 0703 bic.w r7, r3, #3 + 8001f70: f107 4780 add.w r7, r7, #1073741824 @ 0x40000000 + 8001f74: f404 4480 and.w r4, r4, #16384 @ 0x4000 + 8001f78: f507 379c add.w r7, r7, #79872 @ 0x13800 + 8001f7c: 9401 str r4, [sp, #4] + 8001f7e: f003 0c03 and.w ip, r3, #3 + 8001f82: 9c01 ldr r4, [sp, #4] + 8001f84: f8d7 e008 ldr.w lr, [r7, #8] + 8001f88: ea4f 0c8c mov.w ip, ip, lsl #2 + 8001f8c: 240f movs r4, #15 + 8001f8e: fa04 f40c lsl.w r4, r4, ip + 8001f92: ea2e 0e04 bic.w lr, lr, r4 + 8001f96: 4c32 ldr r4, [pc, #200] @ (8002060 ) + 8001f98: 42a0 cmp r0, r4 + 8001f9a: d04d beq.n 8002038 + 8001f9c: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8001fa0: 42a0 cmp r0, r4 + 8001fa2: d04b beq.n 800203c + 8001fa4: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8001fa8: 42a0 cmp r0, r4 + 8001faa: d049 beq.n 8002040 + 8001fac: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8001fb0: 42a0 cmp r0, r4 + 8001fb2: d047 beq.n 8002044 + 8001fb4: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8001fb8: 42a0 cmp r0, r4 + 8001fba: d045 beq.n 8002048 + 8001fbc: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8001fc0: 42a0 cmp r0, r4 + 8001fc2: d043 beq.n 800204c + 8001fc4: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8001fc8: 42a0 cmp r0, r4 + 8001fca: d041 beq.n 8002050 + 8001fcc: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8001fd0: 42a0 cmp r0, r4 + 8001fd2: d03f beq.n 8002054 + 8001fd4: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8001fd8: 42a0 cmp r0, r4 + 8001fda: d03d beq.n 8002058 + 8001fdc: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8001fe0: 42a0 cmp r0, r4 + 8001fe2: bf14 ite ne + 8001fe4: 240a movne r4, #10 + 8001fe6: 2409 moveq r4, #9 + 8001fe8: fa04 f40c lsl.w r4, r4, ip + 8001fec: ea44 040e orr.w r4, r4, lr + 8001ff0: 60bc str r4, [r7, #8] + 8001ff2: 6894 ldr r4, [r2, #8] + 8001ff4: 43f7 mvns r7, r6 + 8001ff6: f415 1f80 tst.w r5, #1048576 @ 0x100000 + 8001ffa: bf0c ite eq + 8001ffc: 403c andeq r4, r7 + 8001ffe: 4334 orrne r4, r6 + 8002000: 6094 str r4, [r2, #8] + 8002002: 68d4 ldr r4, [r2, #12] + 8002004: f415 1f00 tst.w r5, #2097152 @ 0x200000 + 8002008: bf0c ite eq + 800200a: 403c andeq r4, r7 + 800200c: 4334 orrne r4, r6 + 800200e: 60d4 str r4, [r2, #12] + 8002010: 6854 ldr r4, [r2, #4] + 8002012: f415 3f00 tst.w r5, #131072 @ 0x20000 + 8002016: bf0c ite eq + 8002018: 403c andeq r4, r7 + 800201a: 4334 orrne r4, r6 + 800201c: 6054 str r4, [r2, #4] + 800201e: 6814 ldr r4, [r2, #0] + 8002020: 03ed lsls r5, r5, #15 + 8002022: bf54 ite pl + 8002024: 403c andpl r4, r7 + 8002026: 4334 orrmi r4, r6 + 8002028: 6014 str r4, [r2, #0] + 800202a: 3301 adds r3, #1 + 800202c: 2b10 cmp r3, #16 + 800202e: f47f af3d bne.w 8001eac + 8002032: b003 add sp, #12 + 8002034: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8002038: 2400 movs r4, #0 + 800203a: e7d5 b.n 8001fe8 + 800203c: 2401 movs r4, #1 + 800203e: e7d3 b.n 8001fe8 + 8002040: 2402 movs r4, #2 + 8002042: e7d1 b.n 8001fe8 + 8002044: 2403 movs r4, #3 + 8002046: e7cf b.n 8001fe8 + 8002048: 2404 movs r4, #4 + 800204a: e7cd b.n 8001fe8 + 800204c: 2405 movs r4, #5 + 800204e: e7cb b.n 8001fe8 + 8002050: 2406 movs r4, #6 + 8002052: e7c9 b.n 8001fe8 + 8002054: 2407 movs r4, #7 + 8002056: e7c7 b.n 8001fe8 + 8002058: 2408 movs r4, #8 + 800205a: e7c5 b.n 8001fe8 + 800205c: 40013c00 .word 0x40013c00 + 8002060: 40020000 .word 0x40020000 + 8002064: 40023800 .word 0x40023800 + +08002068 : + 8002068: b10a cbz r2, 800206e + 800206a: 6181 str r1, [r0, #24] + 800206c: 4770 bx lr + 800206e: 0409 lsls r1, r1, #16 + 8002070: e7fb b.n 800206a ... -08001cf8 : - 8001cf8: 680a ldr r2, [r1, #0] - 8001cfa: f850 3022 ldr.w r3, [r0, r2, lsl #2] - 8001cfe: f023 0301 bic.w r3, r3, #1 - 8001d02: b5f0 push {r4, r5, r6, r7, lr} - 8001d04: 684f ldr r7, [r1, #4] - 8001d06: f840 3022 str.w r3, [r0, r2, lsl #2] - 8001d0a: 688b ldr r3, [r1, #8] - 8001d0c: 6b4c ldr r4, [r1, #52] ; 0x34 - 8001d0e: f850 6022 ldr.w r6, [r0, r2, lsl #2] - 8001d12: 2b08 cmp r3, #8 - 8001d14: ea43 0307 orr.w r3, r3, r7 - 8001d18: 68cf ldr r7, [r1, #12] - 8001d1a: ea43 0307 orr.w r3, r3, r7 - 8001d1e: 690f ldr r7, [r1, #16] - 8001d20: ea43 0307 orr.w r3, r3, r7 - 8001d24: 694f ldr r7, [r1, #20] - 8001d26: ea43 0307 orr.w r3, r3, r7 - 8001d2a: 69cf ldr r7, [r1, #28] - 8001d2c: ea43 0307 orr.w r3, r3, r7 - 8001d30: 6a0f ldr r7, [r1, #32] - 8001d32: ea43 0307 orr.w r3, r3, r7 - 8001d36: 6a4f ldr r7, [r1, #36] ; 0x24 - 8001d38: ea43 0307 orr.w r3, r3, r7 - 8001d3c: 6a8f ldr r7, [r1, #40] ; 0x28 - 8001d3e: ea43 0307 orr.w r3, r3, r7 - 8001d42: 6acf ldr r7, [r1, #44] ; 0x2c - 8001d44: ea43 0307 orr.w r3, r3, r7 - 8001d48: 6b0f ldr r7, [r1, #48] ; 0x30 - 8001d4a: ea43 0307 orr.w r3, r3, r7 - 8001d4e: 698f ldr r7, [r1, #24] - 8001d50: 6bc9 ldr r1, [r1, #60] ; 0x3c - 8001d52: ea43 0307 orr.w r3, r3, r7 - 8001d56: ea43 0304 orr.w r3, r3, r4 - 8001d5a: ea43 0301 orr.w r3, r3, r1 - 8001d5e: 490a ldr r1, [pc, #40] ; (8001d88 ) - 8001d60: ea01 0106 and.w r1, r1, r6 - 8001d64: bf0c ite eq - 8001d66: 2540 moveq r5, #64 ; 0x40 - 8001d68: 2500 movne r5, #0 - 8001d6a: 430b orrs r3, r1 - 8001d6c: 432b orrs r3, r5 - 8001d6e: f5b4 1f80 cmp.w r4, #1048576 ; 0x100000 - 8001d72: f840 3022 str.w r3, [r0, r2, lsl #2] - 8001d76: d104 bne.n 8001d82 - 8001d78: b11a cbz r2, 8001d82 - 8001d7a: 6803 ldr r3, [r0, #0] - 8001d7c: f443 1380 orr.w r3, r3, #1048576 ; 0x100000 - 8001d80: 6003 str r3, [r0, #0] - 8001d82: 2000 movs r0, #0 - 8001d84: bdf0 pop {r4, r5, r6, r7, pc} - 8001d86: bf00 nop - 8001d88: ffe00080 .word 0xffe00080 +08002074 : + 8002074: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} + 8002078: 4604 mov r4, r0 + 800207a: b340 cbz r0, 80020ce + 800207c: 6803 ldr r3, [r0, #0] + 800207e: 07de lsls r6, r3, #31 + 8002080: d410 bmi.n 80020a4 + 8002082: 6823 ldr r3, [r4, #0] + 8002084: 079d lsls r5, r3, #30 + 8002086: d45b bmi.n 8002140 + 8002088: 6823 ldr r3, [r4, #0] + 800208a: 0719 lsls r1, r3, #28 + 800208c: f100 809d bmi.w 80021ca + 8002090: 6823 ldr r3, [r4, #0] + 8002092: 075a lsls r2, r3, #29 + 8002094: f100 80bd bmi.w 8002212 + 8002098: 69a3 ldr r3, [r4, #24] + 800209a: 2b00 cmp r3, #0 + 800209c: f040 8124 bne.w 80022e8 + 80020a0: 2000 movs r0, #0 + 80020a2: e02c b.n 80020fe + 80020a4: 4b8d ldr r3, [pc, #564] @ (80022dc ) + 80020a6: 689a ldr r2, [r3, #8] + 80020a8: f002 020c and.w r2, r2, #12 + 80020ac: 2a04 cmp r2, #4 + 80020ae: d007 beq.n 80020c0 + 80020b0: 689a ldr r2, [r3, #8] + 80020b2: f002 020c and.w r2, r2, #12 + 80020b6: 2a08 cmp r2, #8 + 80020b8: d10b bne.n 80020d2 + 80020ba: 685b ldr r3, [r3, #4] + 80020bc: 0259 lsls r1, r3, #9 + 80020be: d508 bpl.n 80020d2 + 80020c0: 4b86 ldr r3, [pc, #536] @ (80022dc ) + 80020c2: 681b ldr r3, [r3, #0] + 80020c4: 039a lsls r2, r3, #14 + 80020c6: d5dc bpl.n 8002082 + 80020c8: 6863 ldr r3, [r4, #4] + 80020ca: 2b00 cmp r3, #0 + 80020cc: d1d9 bne.n 8002082 + 80020ce: 2001 movs r0, #1 + 80020d0: e015 b.n 80020fe + 80020d2: 6863 ldr r3, [r4, #4] + 80020d4: 4d81 ldr r5, [pc, #516] @ (80022dc ) + 80020d6: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 80020da: d113 bne.n 8002104 + 80020dc: 682b ldr r3, [r5, #0] + 80020de: f443 3380 orr.w r3, r3, #65536 @ 0x10000 + 80020e2: 602b str r3, [r5, #0] + 80020e4: f7fe ffb4 bl 8001050 + 80020e8: 4e7c ldr r6, [pc, #496] @ (80022dc ) + 80020ea: 4605 mov r5, r0 + 80020ec: 6833 ldr r3, [r6, #0] + 80020ee: 039b lsls r3, r3, #14 + 80020f0: d4c7 bmi.n 8002082 + 80020f2: f7fe ffad bl 8001050 + 80020f6: 1b40 subs r0, r0, r5 + 80020f8: 2864 cmp r0, #100 @ 0x64 + 80020fa: d9f7 bls.n 80020ec + 80020fc: 2003 movs r0, #3 + 80020fe: b002 add sp, #8 + 8002100: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8002104: f5b3 2fa0 cmp.w r3, #327680 @ 0x50000 + 8002108: d104 bne.n 8002114 + 800210a: 682b ldr r3, [r5, #0] + 800210c: f443 2380 orr.w r3, r3, #262144 @ 0x40000 + 8002110: 602b str r3, [r5, #0] + 8002112: e7e3 b.n 80020dc + 8002114: 682a ldr r2, [r5, #0] + 8002116: f422 3280 bic.w r2, r2, #65536 @ 0x10000 + 800211a: 602a str r2, [r5, #0] + 800211c: 682a ldr r2, [r5, #0] + 800211e: f422 2280 bic.w r2, r2, #262144 @ 0x40000 + 8002122: 602a str r2, [r5, #0] + 8002124: 2b00 cmp r3, #0 + 8002126: d1dd bne.n 80020e4 + 8002128: f7fe ff92 bl 8001050 + 800212c: 4606 mov r6, r0 + 800212e: 682b ldr r3, [r5, #0] + 8002130: 039f lsls r7, r3, #14 + 8002132: d5a6 bpl.n 8002082 + 8002134: f7fe ff8c bl 8001050 + 8002138: 1b80 subs r0, r0, r6 + 800213a: 2864 cmp r0, #100 @ 0x64 + 800213c: d9f7 bls.n 800212e + 800213e: e7dd b.n 80020fc + 8002140: 4b66 ldr r3, [pc, #408] @ (80022dc ) + 8002142: 689a ldr r2, [r3, #8] + 8002144: f012 0f0c tst.w r2, #12 + 8002148: d007 beq.n 800215a + 800214a: 689a ldr r2, [r3, #8] + 800214c: f002 020c and.w r2, r2, #12 + 8002150: 2a08 cmp r2, #8 + 8002152: d111 bne.n 8002178 + 8002154: 685b ldr r3, [r3, #4] + 8002156: 025d lsls r5, r3, #9 + 8002158: d40e bmi.n 8002178 + 800215a: 4a60 ldr r2, [pc, #384] @ (80022dc ) + 800215c: 6813 ldr r3, [r2, #0] + 800215e: 0799 lsls r1, r3, #30 + 8002160: d502 bpl.n 8002168 + 8002162: 68e3 ldr r3, [r4, #12] + 8002164: 2b01 cmp r3, #1 + 8002166: d1b2 bne.n 80020ce + 8002168: 6813 ldr r3, [r2, #0] + 800216a: 6921 ldr r1, [r4, #16] + 800216c: f023 03f8 bic.w r3, r3, #248 @ 0xf8 + 8002170: ea43 03c1 orr.w r3, r3, r1, lsl #3 + 8002174: 6013 str r3, [r2, #0] + 8002176: e787 b.n 8002088 + 8002178: 68e2 ldr r2, [r4, #12] + 800217a: 4b59 ldr r3, [pc, #356] @ (80022e0 ) + 800217c: b1b2 cbz r2, 80021ac + 800217e: 2201 movs r2, #1 + 8002180: 601a str r2, [r3, #0] + 8002182: f7fe ff65 bl 8001050 + 8002186: 4d55 ldr r5, [pc, #340] @ (80022dc ) + 8002188: 4606 mov r6, r0 + 800218a: 682b ldr r3, [r5, #0] + 800218c: 079b lsls r3, r3, #30 + 800218e: d507 bpl.n 80021a0 + 8002190: 682b ldr r3, [r5, #0] + 8002192: 6922 ldr r2, [r4, #16] + 8002194: f023 03f8 bic.w r3, r3, #248 @ 0xf8 + 8002198: ea43 03c2 orr.w r3, r3, r2, lsl #3 + 800219c: 602b str r3, [r5, #0] + 800219e: e773 b.n 8002088 + 80021a0: f7fe ff56 bl 8001050 + 80021a4: 1b80 subs r0, r0, r6 + 80021a6: 2802 cmp r0, #2 + 80021a8: d9ef bls.n 800218a + 80021aa: e7a7 b.n 80020fc + 80021ac: 601a str r2, [r3, #0] + 80021ae: f7fe ff4f bl 8001050 + 80021b2: 4e4a ldr r6, [pc, #296] @ (80022dc ) + 80021b4: 4605 mov r5, r0 + 80021b6: 6833 ldr r3, [r6, #0] + 80021b8: 079f lsls r7, r3, #30 + 80021ba: f57f af65 bpl.w 8002088 + 80021be: f7fe ff47 bl 8001050 + 80021c2: 1b40 subs r0, r0, r5 + 80021c4: 2802 cmp r0, #2 + 80021c6: d9f6 bls.n 80021b6 + 80021c8: e798 b.n 80020fc + 80021ca: 6962 ldr r2, [r4, #20] + 80021cc: 4b44 ldr r3, [pc, #272] @ (80022e0 ) + 80021ce: b182 cbz r2, 80021f2 + 80021d0: 2201 movs r2, #1 + 80021d2: f8c3 2e80 str.w r2, [r3, #3712] @ 0xe80 + 80021d6: f7fe ff3b bl 8001050 + 80021da: 4e40 ldr r6, [pc, #256] @ (80022dc ) + 80021dc: 4605 mov r5, r0 + 80021de: 6f73 ldr r3, [r6, #116] @ 0x74 + 80021e0: 079b lsls r3, r3, #30 + 80021e2: f53f af55 bmi.w 8002090 + 80021e6: f7fe ff33 bl 8001050 + 80021ea: 1b40 subs r0, r0, r5 + 80021ec: 2802 cmp r0, #2 + 80021ee: d9f6 bls.n 80021de + 80021f0: e784 b.n 80020fc + 80021f2: f8c3 2e80 str.w r2, [r3, #3712] @ 0xe80 + 80021f6: f7fe ff2b bl 8001050 + 80021fa: 4e38 ldr r6, [pc, #224] @ (80022dc ) + 80021fc: 4605 mov r5, r0 + 80021fe: 6f73 ldr r3, [r6, #116] @ 0x74 + 8002200: 079f lsls r7, r3, #30 + 8002202: f57f af45 bpl.w 8002090 + 8002206: f7fe ff23 bl 8001050 + 800220a: 1b40 subs r0, r0, r5 + 800220c: 2802 cmp r0, #2 + 800220e: d9f6 bls.n 80021fe + 8002210: e774 b.n 80020fc + 8002212: 4b32 ldr r3, [pc, #200] @ (80022dc ) + 8002214: 6c1a ldr r2, [r3, #64] @ 0x40 + 8002216: f012 5280 ands.w r2, r2, #268435456 @ 0x10000000 + 800221a: d128 bne.n 800226e + 800221c: 9201 str r2, [sp, #4] + 800221e: 6c1a ldr r2, [r3, #64] @ 0x40 + 8002220: f042 5280 orr.w r2, r2, #268435456 @ 0x10000000 + 8002224: 641a str r2, [r3, #64] @ 0x40 + 8002226: 6c1b ldr r3, [r3, #64] @ 0x40 + 8002228: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 800222c: 9301 str r3, [sp, #4] + 800222e: 9b01 ldr r3, [sp, #4] + 8002230: 2701 movs r7, #1 + 8002232: 4d2c ldr r5, [pc, #176] @ (80022e4 ) + 8002234: 682b ldr r3, [r5, #0] + 8002236: 05d8 lsls r0, r3, #23 + 8002238: d51b bpl.n 8002272 + 800223a: 68a3 ldr r3, [r4, #8] + 800223c: 4d27 ldr r5, [pc, #156] @ (80022dc ) + 800223e: 2b01 cmp r3, #1 + 8002240: d127 bne.n 8002292 + 8002242: 6f2b ldr r3, [r5, #112] @ 0x70 + 8002244: f043 0301 orr.w r3, r3, #1 + 8002248: 672b str r3, [r5, #112] @ 0x70 + 800224a: f7fe ff01 bl 8001050 + 800224e: 4e23 ldr r6, [pc, #140] @ (80022dc ) + 8002250: 4605 mov r5, r0 + 8002252: f241 3888 movw r8, #5000 @ 0x1388 + 8002256: 6f33 ldr r3, [r6, #112] @ 0x70 + 8002258: 079a lsls r2, r3, #30 + 800225a: d539 bpl.n 80022d0 + 800225c: 2f00 cmp r7, #0 + 800225e: f43f af1b beq.w 8002098 + 8002262: 4a1e ldr r2, [pc, #120] @ (80022dc ) + 8002264: 6c13 ldr r3, [r2, #64] @ 0x40 + 8002266: f023 5380 bic.w r3, r3, #268435456 @ 0x10000000 + 800226a: 6413 str r3, [r2, #64] @ 0x40 + 800226c: e714 b.n 8002098 + 800226e: 2700 movs r7, #0 + 8002270: e7df b.n 8002232 + 8002272: 682b ldr r3, [r5, #0] + 8002274: f443 7380 orr.w r3, r3, #256 @ 0x100 + 8002278: 602b str r3, [r5, #0] + 800227a: f7fe fee9 bl 8001050 + 800227e: 4606 mov r6, r0 + 8002280: 682b ldr r3, [r5, #0] + 8002282: 05d9 lsls r1, r3, #23 + 8002284: d4d9 bmi.n 800223a + 8002286: f7fe fee3 bl 8001050 + 800228a: 1b80 subs r0, r0, r6 + 800228c: 2802 cmp r0, #2 + 800228e: d9f7 bls.n 8002280 + 8002290: e734 b.n 80020fc + 8002292: 2b05 cmp r3, #5 + 8002294: d104 bne.n 80022a0 + 8002296: 6f2b ldr r3, [r5, #112] @ 0x70 + 8002298: f043 0304 orr.w r3, r3, #4 + 800229c: 672b str r3, [r5, #112] @ 0x70 + 800229e: e7d0 b.n 8002242 + 80022a0: 6f2a ldr r2, [r5, #112] @ 0x70 + 80022a2: f022 0201 bic.w r2, r2, #1 + 80022a6: 672a str r2, [r5, #112] @ 0x70 + 80022a8: 6f2a ldr r2, [r5, #112] @ 0x70 + 80022aa: f022 0204 bic.w r2, r2, #4 + 80022ae: 672a str r2, [r5, #112] @ 0x70 + 80022b0: 2b00 cmp r3, #0 + 80022b2: d1ca bne.n 800224a + 80022b4: f7fe fecc bl 8001050 + 80022b8: f241 3888 movw r8, #5000 @ 0x1388 + 80022bc: 4606 mov r6, r0 + 80022be: 6f2b ldr r3, [r5, #112] @ 0x70 + 80022c0: 079b lsls r3, r3, #30 + 80022c2: d5cb bpl.n 800225c + 80022c4: f7fe fec4 bl 8001050 + 80022c8: 1b80 subs r0, r0, r6 + 80022ca: 4540 cmp r0, r8 + 80022cc: d9f7 bls.n 80022be + 80022ce: e715 b.n 80020fc + 80022d0: f7fe febe bl 8001050 + 80022d4: 1b40 subs r0, r0, r5 + 80022d6: 4540 cmp r0, r8 + 80022d8: d9bd bls.n 8002256 + 80022da: e70f b.n 80020fc + 80022dc: 40023800 .word 0x40023800 + 80022e0: 42470000 .word 0x42470000 + 80022e4: 40007000 .word 0x40007000 + 80022e8: 4d37 ldr r5, [pc, #220] @ (80023c8 ) + 80022ea: 68aa ldr r2, [r5, #8] + 80022ec: f002 020c and.w r2, r2, #12 + 80022f0: 2a08 cmp r2, #8 + 80022f2: d03e beq.n 8002372 + 80022f4: 2b02 cmp r3, #2 + 80022f6: 4b35 ldr r3, [pc, #212] @ (80023cc ) + 80022f8: f04f 0200 mov.w r2, #0 + 80022fc: 661a str r2, [r3, #96] @ 0x60 + 80022fe: d12b bne.n 8002358 + 8002300: f7fe fea6 bl 8001050 + 8002304: 4606 mov r6, r0 + 8002306: 682b ldr r3, [r5, #0] + 8002308: 0199 lsls r1, r3, #6 + 800230a: d41f bmi.n 800234c + 800230c: e9d4 3207 ldrd r3, r2, [r4, #28] + 8002310: 4313 orrs r3, r2 + 8002312: 6a62 ldr r2, [r4, #36] @ 0x24 + 8002314: ea43 1382 orr.w r3, r3, r2, lsl #6 + 8002318: 6ae2 ldr r2, [r4, #44] @ 0x2c + 800231a: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800231e: 6aa2 ldr r2, [r4, #40] @ 0x28 + 8002320: 0852 lsrs r2, r2, #1 + 8002322: 3a01 subs r2, #1 + 8002324: ea43 4302 orr.w r3, r3, r2, lsl #16 + 8002328: 606b str r3, [r5, #4] + 800232a: 4b28 ldr r3, [pc, #160] @ (80023cc ) + 800232c: 4d26 ldr r5, [pc, #152] @ (80023c8 ) + 800232e: 2201 movs r2, #1 + 8002330: 661a str r2, [r3, #96] @ 0x60 + 8002332: f7fe fe8d bl 8001050 + 8002336: 4604 mov r4, r0 + 8002338: 682b ldr r3, [r5, #0] + 800233a: 019a lsls r2, r3, #6 + 800233c: f53f aeb0 bmi.w 80020a0 + 8002340: f7fe fe86 bl 8001050 + 8002344: 1b00 subs r0, r0, r4 + 8002346: 2802 cmp r0, #2 + 8002348: d9f6 bls.n 8002338 + 800234a: e6d7 b.n 80020fc + 800234c: f7fe fe80 bl 8001050 + 8002350: 1b80 subs r0, r0, r6 + 8002352: 2802 cmp r0, #2 + 8002354: d9d7 bls.n 8002306 + 8002356: e6d1 b.n 80020fc + 8002358: f7fe fe7a bl 8001050 + 800235c: 4604 mov r4, r0 + 800235e: 682b ldr r3, [r5, #0] + 8002360: 019b lsls r3, r3, #6 + 8002362: f57f ae9d bpl.w 80020a0 + 8002366: f7fe fe73 bl 8001050 + 800236a: 1b00 subs r0, r0, r4 + 800236c: 2802 cmp r0, #2 + 800236e: d9f6 bls.n 800235e + 8002370: e6c4 b.n 80020fc + 8002372: 2b01 cmp r3, #1 + 8002374: f43f aeab beq.w 80020ce + 8002378: 686b ldr r3, [r5, #4] + 800237a: 69e2 ldr r2, [r4, #28] + 800237c: f403 0180 and.w r1, r3, #4194304 @ 0x400000 + 8002380: 4291 cmp r1, r2 + 8002382: f47f aea4 bne.w 80020ce + 8002386: 6a21 ldr r1, [r4, #32] + 8002388: f003 023f and.w r2, r3, #63 @ 0x3f + 800238c: 428a cmp r2, r1 + 800238e: f47f ae9e bne.w 80020ce + 8002392: 6a61 ldr r1, [r4, #36] @ 0x24 + 8002394: f647 72c0 movw r2, #32704 @ 0x7fc0 + 8002398: 401a ands r2, r3 + 800239a: ebb2 1f81 cmp.w r2, r1, lsl #6 + 800239e: f47f ae96 bne.w 80020ce + 80023a2: 6aa2 ldr r2, [r4, #40] @ 0x28 + 80023a4: 0852 lsrs r2, r2, #1 + 80023a6: f403 3140 and.w r1, r3, #196608 @ 0x30000 + 80023aa: 3a01 subs r2, #1 + 80023ac: ebb1 4f02 cmp.w r1, r2, lsl #16 + 80023b0: f47f ae8d bne.w 80020ce + 80023b4: 6ae2 ldr r2, [r4, #44] @ 0x2c + 80023b6: f003 6370 and.w r3, r3, #251658240 @ 0xf000000 + 80023ba: ebb3 6f02 cmp.w r3, r2, lsl #24 + 80023be: bf14 ite ne + 80023c0: 2001 movne r0, #1 + 80023c2: 2000 moveq r0, #0 + 80023c4: e69b b.n 80020fe + 80023c6: bf00 nop + 80023c8: 40023800 .word 0x40023800 + 80023cc: 42470000 .word 0x42470000 -08001d8c : - 8001d8c: 690b ldr r3, [r1, #16] - 8001d8e: b5f0 push {r4, r5, r6, r7, lr} - 8001d90: 698f ldr r7, [r1, #24] - 8001d92: 1e5d subs r5, r3, #1 - 8001d94: 680b ldr r3, [r1, #0] - 8001d96: 433b orrs r3, r7 - 8001d98: 684f ldr r7, [r1, #4] - 8001d9a: ea43 1307 orr.w r3, r3, r7, lsl #4 - 8001d9e: 688f ldr r7, [r1, #8] - 8001da0: eb00 0282 add.w r2, r0, r2, lsl #2 - 8001da4: ea43 2307 orr.w r3, r3, r7, lsl #8 - 8001da8: 68cf ldr r7, [r1, #12] - 8001daa: 6949 ldr r1, [r1, #20] - 8001dac: 6856 ldr r6, [r2, #4] - 8001dae: ea43 4307 orr.w r3, r3, r7, lsl #16 - 8001db2: 3902 subs r1, #2 - 8001db4: ea43 5305 orr.w r3, r3, r5, lsl #20 - 8001db8: ea43 6301 orr.w r3, r3, r1, lsl #24 - 8001dbc: f006 4140 and.w r1, r6, #3221225472 ; 0xc0000000 - 8001dc0: 430b orrs r3, r1 - 8001dc2: 6053 str r3, [r2, #4] - 8001dc4: 6803 ldr r3, [r0, #0] - 8001dc6: 02db lsls r3, r3, #11 - 8001dc8: ea4f 5405 mov.w r4, r5, lsl #20 - 8001dcc: d508 bpl.n 8001de0 - 8001dce: 6842 ldr r2, [r0, #4] - 8001dd0: 6843 ldr r3, [r0, #4] - 8001dd2: f422 0270 bic.w r2, r2, #15728640 ; 0xf00000 - 8001dd6: f423 0370 bic.w r3, r3, #15728640 ; 0xf00000 - 8001dda: 4314 orrs r4, r2 - 8001ddc: 4323 orrs r3, r4 - 8001dde: 6043 str r3, [r0, #4] - 8001de0: 2000 movs r0, #0 - 8001de2: bdf0 pop {r4, r5, r6, r7, pc} +080023d0 : + 80023d0: 4913 ldr r1, [pc, #76] @ (8002420 ) + 80023d2: b508 push {r3, lr} + 80023d4: 688b ldr r3, [r1, #8] + 80023d6: f003 030c and.w r3, r3, #12 + 80023da: 2b04 cmp r3, #4 + 80023dc: d01c beq.n 8002418 + 80023de: 2b08 cmp r3, #8 + 80023e0: d11c bne.n 800241c + 80023e2: 684a ldr r2, [r1, #4] + 80023e4: 684b ldr r3, [r1, #4] + 80023e6: 6849 ldr r1, [r1, #4] + 80023e8: f413 0380 ands.w r3, r3, #4194304 @ 0x400000 + 80023ec: bf14 ite ne + 80023ee: 480d ldrne r0, [pc, #52] @ (8002424 ) + 80023f0: 480d ldreq r0, [pc, #52] @ (8002428 ) + 80023f2: f3c1 1188 ubfx r1, r1, #6, #9 + 80023f6: bf18 it ne + 80023f8: 2300 movne r3, #0 + 80023fa: f002 023f and.w r2, r2, #63 @ 0x3f + 80023fe: fba1 0100 umull r0, r1, r1, r0 + 8002402: f7fd ff45 bl 8000290 <__aeabi_uldivmod> + 8002406: 4b06 ldr r3, [pc, #24] @ (8002420 ) + 8002408: 685b ldr r3, [r3, #4] + 800240a: f3c3 4301 ubfx r3, r3, #16, #2 + 800240e: 3301 adds r3, #1 + 8002410: 005b lsls r3, r3, #1 + 8002412: fbb0 f0f3 udiv r0, r0, r3 + 8002416: bd08 pop {r3, pc} + 8002418: 4802 ldr r0, [pc, #8] @ (8002424 ) + 800241a: e7fc b.n 8002416 + 800241c: 4802 ldr r0, [pc, #8] @ (8002428 ) + 800241e: e7fa b.n 8002416 + 8002420: 40023800 .word 0x40023800 + 8002424: 017d7840 .word 0x017d7840 + 8002428: 00f42400 .word 0x00f42400 -08001de4 : - 8001de4: f5b3 4f80 cmp.w r3, #16384 ; 0x4000 - 8001de8: b530 push {r4, r5, lr} - 8001dea: d114 bne.n 8001e16 - 8001dec: 698d ldr r5, [r1, #24] - 8001dee: 680b ldr r3, [r1, #0] - 8001df0: f850 4022 ldr.w r4, [r0, r2, lsl #2] - 8001df4: 432b orrs r3, r5 - 8001df6: 684d ldr r5, [r1, #4] - 8001df8: ea43 1305 orr.w r3, r3, r5, lsl #4 - 8001dfc: 688d ldr r5, [r1, #8] - 8001dfe: 68c9 ldr r1, [r1, #12] - 8001e00: ea43 2305 orr.w r3, r3, r5, lsl #8 - 8001e04: ea43 4301 orr.w r3, r3, r1, lsl #16 - 8001e08: 4904 ldr r1, [pc, #16] ; (8001e1c ) - 8001e0a: 4021 ands r1, r4 - 8001e0c: 430b orrs r3, r1 - 8001e0e: f840 3022 str.w r3, [r0, r2, lsl #2] - 8001e12: 2000 movs r0, #0 - 8001e14: bd30 pop {r4, r5, pc} - 8001e16: f06f 4370 mvn.w r3, #4026531840 ; 0xf0000000 - 8001e1a: e7f8 b.n 8001e0e - 8001e1c: cff00000 .word 0xcff00000 +0800242c : + 800242c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8002430: 460d mov r5, r1 + 8002432: 4604 mov r4, r0 + 8002434: b910 cbnz r0, 800243c + 8002436: 2001 movs r0, #1 + 8002438: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800243c: 4b43 ldr r3, [pc, #268] @ (800254c ) + 800243e: 681a ldr r2, [r3, #0] + 8002440: f002 020f and.w r2, r2, #15 + 8002444: 428a cmp r2, r1 + 8002446: d328 bcc.n 800249a + 8002448: 6821 ldr r1, [r4, #0] + 800244a: 078f lsls r7, r1, #30 + 800244c: d42d bmi.n 80024aa + 800244e: 07c8 lsls r0, r1, #31 + 8002450: d440 bmi.n 80024d4 + 8002452: 4b3e ldr r3, [pc, #248] @ (800254c ) + 8002454: 681a ldr r2, [r3, #0] + 8002456: f002 020f and.w r2, r2, #15 + 800245a: 42aa cmp r2, r5 + 800245c: d865 bhi.n 800252a + 800245e: 6822 ldr r2, [r4, #0] + 8002460: 0751 lsls r1, r2, #29 + 8002462: d46b bmi.n 800253c + 8002464: 0713 lsls r3, r2, #28 + 8002466: d507 bpl.n 8002478 + 8002468: 4a39 ldr r2, [pc, #228] @ (8002550 ) + 800246a: 6921 ldr r1, [r4, #16] + 800246c: 6893 ldr r3, [r2, #8] + 800246e: f423 4360 bic.w r3, r3, #57344 @ 0xe000 + 8002472: ea43 03c1 orr.w r3, r3, r1, lsl #3 + 8002476: 6093 str r3, [r2, #8] + 8002478: f7ff ffaa bl 80023d0 + 800247c: 4b34 ldr r3, [pc, #208] @ (8002550 ) + 800247e: 4a35 ldr r2, [pc, #212] @ (8002554 ) + 8002480: 689b ldr r3, [r3, #8] + 8002482: f3c3 1303 ubfx r3, r3, #4, #4 + 8002486: 5cd3 ldrb r3, [r2, r3] + 8002488: 40d8 lsrs r0, r3 + 800248a: 4b33 ldr r3, [pc, #204] @ (8002558 ) + 800248c: 6018 str r0, [r3, #0] + 800248e: 4b33 ldr r3, [pc, #204] @ (800255c ) + 8002490: 6818 ldr r0, [r3, #0] + 8002492: f7fe fd93 bl 8000fbc + 8002496: 2000 movs r0, #0 + 8002498: e7ce b.n 8002438 + 800249a: b2ca uxtb r2, r1 + 800249c: 701a strb r2, [r3, #0] + 800249e: 681b ldr r3, [r3, #0] + 80024a0: f003 030f and.w r3, r3, #15 + 80024a4: 428b cmp r3, r1 + 80024a6: d1c6 bne.n 8002436 + 80024a8: e7ce b.n 8002448 + 80024aa: 4b29 ldr r3, [pc, #164] @ (8002550 ) + 80024ac: f011 0f04 tst.w r1, #4 + 80024b0: bf1e ittt ne + 80024b2: 689a ldrne r2, [r3, #8] + 80024b4: f442 52e0 orrne.w r2, r2, #7168 @ 0x1c00 + 80024b8: 609a strne r2, [r3, #8] + 80024ba: 070e lsls r6, r1, #28 + 80024bc: bf42 ittt mi + 80024be: 689a ldrmi r2, [r3, #8] + 80024c0: f442 4260 orrmi.w r2, r2, #57344 @ 0xe000 + 80024c4: 609a strmi r2, [r3, #8] + 80024c6: 689a ldr r2, [r3, #8] + 80024c8: 68a0 ldr r0, [r4, #8] + 80024ca: f022 02f0 bic.w r2, r2, #240 @ 0xf0 + 80024ce: 4302 orrs r2, r0 + 80024d0: 609a str r2, [r3, #8] + 80024d2: e7bc b.n 800244e + 80024d4: 6862 ldr r2, [r4, #4] + 80024d6: 4b1e ldr r3, [pc, #120] @ (8002550 ) + 80024d8: 2a01 cmp r2, #1 + 80024da: d11c bne.n 8002516 + 80024dc: 681b ldr r3, [r3, #0] + 80024de: f413 3f00 tst.w r3, #131072 @ 0x20000 + 80024e2: d0a8 beq.n 8002436 + 80024e4: 4e1a ldr r6, [pc, #104] @ (8002550 ) + 80024e6: 68b3 ldr r3, [r6, #8] + 80024e8: f023 0303 bic.w r3, r3, #3 + 80024ec: 4313 orrs r3, r2 + 80024ee: 60b3 str r3, [r6, #8] + 80024f0: f7fe fdae bl 8001050 + 80024f4: f241 3888 movw r8, #5000 @ 0x1388 + 80024f8: 4607 mov r7, r0 + 80024fa: 68b3 ldr r3, [r6, #8] + 80024fc: 6862 ldr r2, [r4, #4] + 80024fe: f003 030c and.w r3, r3, #12 + 8002502: ebb3 0f82 cmp.w r3, r2, lsl #2 + 8002506: d0a4 beq.n 8002452 + 8002508: f7fe fda2 bl 8001050 + 800250c: 1bc0 subs r0, r0, r7 + 800250e: 4540 cmp r0, r8 + 8002510: d9f3 bls.n 80024fa + 8002512: 2003 movs r0, #3 + 8002514: e790 b.n 8002438 + 8002516: 1e91 subs r1, r2, #2 + 8002518: 2901 cmp r1, #1 + 800251a: 681b ldr r3, [r3, #0] + 800251c: d802 bhi.n 8002524 + 800251e: f013 7f00 tst.w r3, #33554432 @ 0x2000000 + 8002522: e7de b.n 80024e2 + 8002524: f013 0f02 tst.w r3, #2 + 8002528: e7db b.n 80024e2 + 800252a: b2ea uxtb r2, r5 + 800252c: 701a strb r2, [r3, #0] + 800252e: 681b ldr r3, [r3, #0] + 8002530: f003 030f and.w r3, r3, #15 + 8002534: 42ab cmp r3, r5 + 8002536: f47f af7e bne.w 8002436 + 800253a: e790 b.n 800245e + 800253c: 4904 ldr r1, [pc, #16] @ (8002550 ) + 800253e: 68e0 ldr r0, [r4, #12] + 8002540: 688b ldr r3, [r1, #8] + 8002542: f423 53e0 bic.w r3, r3, #7168 @ 0x1c00 + 8002546: 4303 orrs r3, r0 + 8002548: 608b str r3, [r1, #8] + 800254a: e78b b.n 8002464 + 800254c: 40023c00 .word 0x40023c00 + 8002550: 40023800 .word 0x40023800 + 8002554: 0800b063 .word 0x0800b063 + 8002558: 20000000 .word 0x20000000 + 800255c: 20000008 .word 0x20000008 -08001e20 : - 8001e20: 4770 bx lr +08002560 : + 8002560: 4b01 ldr r3, [pc, #4] @ (8002568 ) + 8002562: 6818 ldr r0, [r3, #0] + 8002564: 4770 bx lr + 8002566: bf00 nop + 8002568: 20000000 .word 0x20000000 + +0800256c : + 800256c: b570 push {r4, r5, r6, lr} + 800256e: 460e mov r6, r1 + 8002570: 4615 mov r5, r2 + 8002572: 4604 mov r4, r0 + 8002574: b328 cbz r0, 80025c2 + 8002576: f890 3049 ldrb.w r3, [r0, #73] @ 0x49 + 800257a: f003 02ff and.w r2, r3, #255 @ 0xff + 800257e: b91b cbnz r3, 8002588 + 8002580: f880 2048 strb.w r2, [r0, #72] @ 0x48 + 8002584: f7fe fbb8 bl 8000cf8 + 8002588: f104 0108 add.w r1, r4, #8 + 800258c: 6820 ldr r0, [r4, #0] + 800258e: f000 fa73 bl 8002a78 + 8002592: 68a2 ldr r2, [r4, #8] + 8002594: 6820 ldr r0, [r4, #0] + 8002596: 4631 mov r1, r6 + 8002598: f000 faaa bl 8002af0 + 800259c: 6b23 ldr r3, [r4, #48] @ 0x30 + 800259e: 68a2 ldr r2, [r4, #8] + 80025a0: 6860 ldr r0, [r4, #4] + 80025a2: 4629 mov r1, r5 + 80025a4: f000 fad0 bl 8002b48 + 80025a8: 6822 ldr r2, [r4, #0] + 80025aa: 68a1 ldr r1, [r4, #8] + 80025ac: f852 3021 ldr.w r3, [r2, r1, lsl #2] + 80025b0: f043 0301 orr.w r3, r3, #1 + 80025b4: f842 3021 str.w r3, [r2, r1, lsl #2] + 80025b8: 2301 movs r3, #1 + 80025ba: f884 3049 strb.w r3, [r4, #73] @ 0x49 + 80025be: 2000 movs r0, #0 + 80025c0: bd70 pop {r4, r5, r6, pc} + 80025c2: 2001 movs r0, #1 + 80025c4: e7fc b.n 80025c0 ... -08001e24 : - 8001e24: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 8001e26: f000 fa8f bl 8002348 - 8001e2a: 4819 ldr r0, [pc, #100] ; (8001e90 ) - 8001e2c: 4d19 ldr r5, [pc, #100] ; (8001e94 ) - 8001e2e: 4e1a ldr r6, [pc, #104] ; (8001e98 ) - 8001e30: 4c1a ldr r4, [pc, #104] ; (8001e9c ) - 8001e32: f006 fdfd bl 8008a30 - 8001e36: 6028 str r0, [r5, #0] - 8001e38: 4819 ldr r0, [pc, #100] ; (8001ea0 ) - 8001e3a: f006 fdf9 bl 8008a30 - 8001e3e: 6030 str r0, [r6, #0] - 8001e40: 4818 ldr r0, [pc, #96] ; (8001ea4 ) - 8001e42: f006 fdf5 bl 8008a30 - 8001e46: 4b18 ldr r3, [pc, #96] ; (8001ea8 ) - 8001e48: 4a18 ldr r2, [pc, #96] ; (8001eac ) - 8001e4a: 6018 str r0, [r3, #0] - 8001e4c: 9202 str r2, [sp, #8] - 8001e4e: 4a18 ldr r2, [pc, #96] ; (8001eb0 ) - 8001e50: 9201 str r2, [sp, #4] - 8001e52: 2200 movs r2, #0 - 8001e54: 9200 str r2, [sp, #0] - 8001e56: 4629 mov r1, r5 - 8001e58: 4632 mov r2, r6 - 8001e5a: 4620 mov r0, r4 - 8001e5c: f000 fdd6 bl 8002a0c - 8001e60: 4620 mov r0, r4 - 8001e62: f000 fe69 bl 8002b38 - 8001e66: f894 3031 ldrb.w r3, [r4, #49] ; 0x31 - 8001e6a: 075b lsls r3, r3, #29 - 8001e6c: 4620 mov r0, r4 - 8001e6e: d50b bpl.n 8001e88 - 8001e70: f000 fe68 bl 8002b44 - 8001e74: 490f ldr r1, [pc, #60] ; (8001eb4 ) - 8001e76: 4809 ldr r0, [pc, #36] ; (8001e9c ) - 8001e78: f000 fedc bl 8002c34 - 8001e7c: 4807 ldr r0, [pc, #28] ; (8001e9c ) - 8001e7e: b004 add sp, #16 - 8001e80: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 8001e84: f005 bda8 b.w 80079d8 - 8001e88: f000 fe76 bl 8002b78 - 8001e8c: e7f2 b.n 8001e74 - 8001e8e: bf00 nop - 8001e90: 0800a510 .word 0x0800a510 - 8001e94: 20000140 .word 0x20000140 - 8001e98: 20000144 .word 0x20000144 - 8001e9c: 20000104 .word 0x20000104 - 8001ea0: 0800a51a .word 0x0800a51a - 8001ea4: 0800a528 .word 0x0800a528 - 8001ea8: 2000013c .word 0x2000013c - 8001eac: 08009205 .word 0x08009205 - 8001eb0: 080021ad .word 0x080021ad - 8001eb4: 08001e21 .word 0x08001e21 +080025c8 : + 80025c8: f890 303d ldrb.w r3, [r0, #61] @ 0x3d + 80025cc: 2b01 cmp r3, #1 + 80025ce: d130 bne.n 8002632 + 80025d0: 2302 movs r3, #2 + 80025d2: f880 303d strb.w r3, [r0, #61] @ 0x3d + 80025d6: 6803 ldr r3, [r0, #0] + 80025d8: 68da ldr r2, [r3, #12] + 80025da: f042 0201 orr.w r2, r2, #1 + 80025de: 60da str r2, [r3, #12] + 80025e0: 4a15 ldr r2, [pc, #84] @ (8002638 ) + 80025e2: 4293 cmp r3, r2 + 80025e4: d01a beq.n 800261c + 80025e6: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 80025ea: d017 beq.n 800261c + 80025ec: f5a2 427c sub.w r2, r2, #64512 @ 0xfc00 + 80025f0: 4293 cmp r3, r2 + 80025f2: d013 beq.n 800261c + 80025f4: f502 6280 add.w r2, r2, #1024 @ 0x400 + 80025f8: 4293 cmp r3, r2 + 80025fa: d00f beq.n 800261c + 80025fc: f502 6280 add.w r2, r2, #1024 @ 0x400 + 8002600: 4293 cmp r3, r2 + 8002602: d00b beq.n 800261c + 8002604: f502 4278 add.w r2, r2, #63488 @ 0xf800 + 8002608: 4293 cmp r3, r2 + 800260a: d007 beq.n 800261c + 800260c: f502 5270 add.w r2, r2, #15360 @ 0x3c00 + 8002610: 4293 cmp r3, r2 + 8002612: d003 beq.n 800261c + 8002614: f5a2 3294 sub.w r2, r2, #75776 @ 0x12800 + 8002618: 4293 cmp r3, r2 + 800261a: d104 bne.n 8002626 + 800261c: 689a ldr r2, [r3, #8] + 800261e: f002 0207 and.w r2, r2, #7 + 8002622: 2a06 cmp r2, #6 + 8002624: d003 beq.n 800262e + 8002626: 681a ldr r2, [r3, #0] + 8002628: f042 0201 orr.w r2, r2, #1 + 800262c: 601a str r2, [r3, #0] + 800262e: 2000 movs r0, #0 + 8002630: 4770 bx lr + 8002632: 2001 movs r0, #1 + 8002634: 4770 bx lr + 8002636: bf00 nop + 8002638: 40010000 .word 0x40010000 -08001eb8 : - 8001eb8: b510 push {r4, lr} - 8001eba: 480a ldr r0, [pc, #40] ; (8001ee4 ) - 8001ebc: 4c0a ldr r4, [pc, #40] ; (8001ee8 ) - 8001ebe: f000 f87d bl 8001fbc - 8001ec2: f004 fb19 bl 80064f8 - 8001ec6: f7fe fe0b bl 8000ae0 - 8001eca: 6823 ldr r3, [r4, #0] - 8001ecc: 1ac0 subs r0, r0, r3 - 8001ece: 2863 cmp r0, #99 ; 0x63 - 8001ed0: d907 bls.n 8001ee2 - 8001ed2: f7fe fe05 bl 8000ae0 - 8001ed6: 6020 str r0, [r4, #0] - 8001ed8: e8bd 4010 ldmia.w sp!, {r4, lr} - 8001edc: 4801 ldr r0, [pc, #4] ; (8001ee4 ) - 8001ede: f000 b91f b.w 8002120 - 8001ee2: bd10 pop {r4, pc} - 8001ee4: 20000104 .word 0x20000104 - 8001ee8: 20000100 .word 0x20000100 +0800263c : + 800263c: 4770 bx lr -08001eec : - 8001eec: 2000 movs r0, #0 - 8001eee: 4770 bx lr +0800263e : + 800263e: 4770 bx lr -08001ef0 : - 8001ef0: b530 push {r4, r5, lr} - 8001ef2: b08d sub sp, #52 ; 0x34 - 8001ef4: 460d mov r5, r1 - 8001ef6: 2230 movs r2, #48 ; 0x30 - 8001ef8: 2100 movs r1, #0 - 8001efa: 4668 mov r0, sp - 8001efc: f007 fa4c bl 8009398 - 8001f00: 462c mov r4, r5 - 8001f02: 466b mov r3, sp - 8001f04: 2200 movs r2, #0 - 8001f06: b964 cbnz r4, 8001f22 - 8001f08: 490f ldr r1, [pc, #60] ; (8001f48 ) - 8001f0a: 892b ldrh r3, [r5, #8] - 8001f0c: 480f ldr r0, [pc, #60] ; (8001f4c ) - 8001f0e: 604b str r3, [r1, #4] - 8001f10: 2214 movs r2, #20 - 8001f12: f8c1 d008 str.w sp, [r1, #8] - 8001f16: 634d str r5, [r1, #52] ; 0x34 - 8001f18: f7ff f98a bl 8001230 - 8001f1c: 4620 mov r0, r4 - 8001f1e: b00d add sp, #52 ; 0x34 - 8001f20: bd30 pop {r4, r5, pc} - 8001f22: 2a04 cmp r2, #4 - 8001f24: d00c beq.n 8001f40 - 8001f26: 6861 ldr r1, [r4, #4] - 8001f28: 6019 str r1, [r3, #0] - 8001f2a: 8961 ldrh r1, [r4, #10] - 8001f2c: 6059 str r1, [r3, #4] - 8001f2e: b10a cbz r2, 8001f34 - 8001f30: f843 3c04 str.w r3, [r3, #-4] - 8001f34: 6824 ldr r4, [r4, #0] - 8001f36: b904 cbnz r4, 8001f3a - 8001f38: 609c str r4, [r3, #8] - 8001f3a: 3201 adds r2, #1 - 8001f3c: 330c adds r3, #12 - 8001f3e: e7e2 b.n 8001f06 - 8001f40: f06f 000b mvn.w r0, #11 - 8001f44: e7eb b.n 8001f1e - 8001f46: bf00 nop - 8001f48: 200002ac .word 0x200002ac - 8001f4c: 200002e4 .word 0x200002e4 +08002640 : + 8002640: 4770 bx lr -08001f50 : - 8001f50: b508 push {r3, lr} - 8001f52: 4601 mov r1, r0 - 8001f54: 4804 ldr r0, [pc, #16] ; (8001f68 ) - 8001f56: f000 fcb1 bl 80028bc - 8001f5a: 4b04 ldr r3, [pc, #16] ; (8001f6c ) - 8001f5c: 781a ldrb r2, [r3, #0] - 8001f5e: 2a01 cmp r2, #1 - 8001f60: bf04 itt eq - 8001f62: 2200 moveq r2, #0 - 8001f64: 701a strbeq r2, [r3, #0] - 8001f66: bd08 pop {r3, pc} - 8001f68: 0800a588 .word 0x0800a588 - 8001f6c: 200002a8 .word 0x200002a8 +08002642 : + 8002642: 4770 bx lr -08001f70 : - 8001f70: f7fe bdb6 b.w 8000ae0 +08002644 : + 8002644: 4770 bx lr -08001f74 : - 8001f74: b508 push {r3, lr} - 8001f76: 4802 ldr r0, [pc, #8] ; (8001f80 ) - 8001f78: f7ff faea bl 8001550 - 8001f7c: 2000 movs r0, #0 - 8001f7e: bd08 pop {r3, pc} - 8001f80: 200002e4 .word 0x200002e4 - -08001f84 : - 8001f84: b508 push {r3, lr} - 8001f86: 4613 mov r3, r2 - 8001f88: 460a mov r2, r1 - 8001f8a: 4601 mov r1, r0 - 8001f8c: 4803 ldr r0, [pc, #12] ; (8001f9c ) - 8001f8e: f7ff fa24 bl 80013da - 8001f92: 3800 subs r0, #0 - 8001f94: bf18 it ne - 8001f96: 2001 movne r0, #1 - 8001f98: 4240 negs r0, r0 - 8001f9a: bd08 pop {r3, pc} - 8001f9c: 200002e4 .word 0x200002e4 - -08001fa0 : - 8001fa0: b508 push {r3, lr} - 8001fa2: 4613 mov r3, r2 - 8001fa4: 460a mov r2, r1 - 8001fa6: 4601 mov r1, r0 - 8001fa8: 4803 ldr r0, [pc, #12] ; (8001fb8 ) - 8001faa: f7ff fa3e bl 800142a - 8001fae: 3800 subs r0, #0 - 8001fb0: bf18 it ne - 8001fb2: 2001 movne r0, #1 - 8001fb4: 4240 negs r0, r0 - 8001fb6: bd08 pop {r3, pc} - 8001fb8: 200002e4 .word 0x200002e4 - -08001fbc : - 8001fbc: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} - 8001fc0: 4f0d ldr r7, [pc, #52] ; (8001ff8 ) - 8001fc2: f8df 8038 ldr.w r8, [pc, #56] ; 8001ffc - 8001fc6: 4604 mov r4, r0 - 8001fc8: 2600 movs r6, #0 - 8001fca: 783b ldrb r3, [r7, #0] - 8001fcc: 9601 str r6, [sp, #4] - 8001fce: b91b cbnz r3, 8001fd8 - 8001fd0: a901 add r1, sp, #4 - 8001fd2: 4640 mov r0, r8 - 8001fd4: f7ff f984 bl 80012e0 - 8001fd8: 9d01 ldr r5, [sp, #4] - 8001fda: b14d cbz r5, 8001ff0 - 8001fdc: 6923 ldr r3, [r4, #16] - 8001fde: 4621 mov r1, r4 - 8001fe0: 4628 mov r0, r5 - 8001fe2: 4798 blx r3 - 8001fe4: 2800 cmp r0, #0 - 8001fe6: d0f0 beq.n 8001fca - 8001fe8: 4628 mov r0, r5 - 8001fea: f000 fef3 bl 8002dd4 - 8001fee: e7ec b.n 8001fca - 8001ff0: b002 add sp, #8 - 8001ff2: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8001ff6: bf00 nop - 8001ff8: 200002a8 .word 0x200002a8 - 8001ffc: 200002e4 .word 0x200002e4 - -08002000 : - 8002000: f7fe bd6e b.w 8000ae0 - -08002004 : - 8002004: b5f0 push {r4, r5, r6, r7, lr} - 8002006: 4604 mov r4, r0 - 8002008: b08d sub sp, #52 ; 0x34 - 800200a: 2214 movs r2, #20 - 800200c: 2100 movs r1, #0 - 800200e: a807 add r0, sp, #28 - 8002010: f007 f9c2 bl 8009398 - 8002014: 6822 ldr r2, [r4, #0] - 8002016: 4b3d ldr r3, [pc, #244] ; (800210c ) - 8002018: 429a cmp r2, r3 - 800201a: d174 bne.n 8002106 - 800201c: f5a3 4390 sub.w r3, r3, #18432 ; 0x4800 - 8002020: 2400 movs r4, #0 - 8002022: 9400 str r4, [sp, #0] - 8002024: 6b1a ldr r2, [r3, #48] ; 0x30 - 8002026: 483a ldr r0, [pc, #232] ; (8002110 ) - 8002028: f042 7200 orr.w r2, r2, #33554432 ; 0x2000000 - 800202c: 631a str r2, [r3, #48] ; 0x30 - 800202e: 6b1a ldr r2, [r3, #48] ; 0x30 - 8002030: f002 7200 and.w r2, r2, #33554432 ; 0x2000000 - 8002034: 9200 str r2, [sp, #0] - 8002036: 9a00 ldr r2, [sp, #0] - 8002038: 9401 str r4, [sp, #4] - 800203a: 6b1a ldr r2, [r3, #48] ; 0x30 - 800203c: f042 6280 orr.w r2, r2, #67108864 ; 0x4000000 - 8002040: 631a str r2, [r3, #48] ; 0x30 - 8002042: 6b1a ldr r2, [r3, #48] ; 0x30 - 8002044: f002 6280 and.w r2, r2, #67108864 ; 0x4000000 - 8002048: 9201 str r2, [sp, #4] - 800204a: 9a01 ldr r2, [sp, #4] - 800204c: 9402 str r4, [sp, #8] - 800204e: 6b1a ldr r2, [r3, #48] ; 0x30 - 8002050: f042 6200 orr.w r2, r2, #134217728 ; 0x8000000 - 8002054: 631a str r2, [r3, #48] ; 0x30 - 8002056: 6b1a ldr r2, [r3, #48] ; 0x30 - 8002058: f002 6200 and.w r2, r2, #134217728 ; 0x8000000 - 800205c: 9202 str r2, [sp, #8] - 800205e: 9a02 ldr r2, [sp, #8] - 8002060: 9403 str r4, [sp, #12] - 8002062: 6b1a ldr r2, [r3, #48] ; 0x30 - 8002064: f042 0204 orr.w r2, r2, #4 - 8002068: 631a str r2, [r3, #48] ; 0x30 - 800206a: 6b1a ldr r2, [r3, #48] ; 0x30 - 800206c: f002 0204 and.w r2, r2, #4 - 8002070: 9203 str r2, [sp, #12] - 8002072: 9a03 ldr r2, [sp, #12] - 8002074: 9404 str r4, [sp, #16] - 8002076: 6b1a ldr r2, [r3, #48] ; 0x30 - 8002078: f042 0201 orr.w r2, r2, #1 - 800207c: 631a str r2, [r3, #48] ; 0x30 - 800207e: 6b1a ldr r2, [r3, #48] ; 0x30 - 8002080: f002 0201 and.w r2, r2, #1 - 8002084: 9204 str r2, [sp, #16] - 8002086: 9a04 ldr r2, [sp, #16] - 8002088: 9405 str r4, [sp, #20] - 800208a: 6b1a ldr r2, [r3, #48] ; 0x30 - 800208c: f042 0202 orr.w r2, r2, #2 - 8002090: 631a str r2, [r3, #48] ; 0x30 - 8002092: 6b1a ldr r2, [r3, #48] ; 0x30 - 8002094: f002 0202 and.w r2, r2, #2 - 8002098: 9205 str r2, [sp, #20] - 800209a: 9a05 ldr r2, [sp, #20] - 800209c: 9406 str r4, [sp, #24] - 800209e: 6b1a ldr r2, [r3, #48] ; 0x30 - 80020a0: f042 0240 orr.w r2, r2, #64 ; 0x40 - 80020a4: 631a str r2, [r3, #48] ; 0x30 - 80020a6: 6b1b ldr r3, [r3, #48] ; 0x30 - 80020a8: f003 0340 and.w r3, r3, #64 ; 0x40 - 80020ac: 9306 str r3, [sp, #24] - 80020ae: 2702 movs r7, #2 - 80020b0: 2603 movs r6, #3 - 80020b2: 250b movs r5, #11 - 80020b4: 9b06 ldr r3, [sp, #24] - 80020b6: a907 add r1, sp, #28 - 80020b8: 2332 movs r3, #50 ; 0x32 - 80020ba: e9cd 3707 strd r3, r7, [sp, #28] - 80020be: e9cd 650a strd r6, r5, [sp, #40] ; 0x28 - 80020c2: f7ff fa7f bl 80015c4 - 80020c6: 2386 movs r3, #134 ; 0x86 - 80020c8: 4812 ldr r0, [pc, #72] ; (8002114 ) - 80020ca: 950b str r5, [sp, #44] ; 0x2c - 80020cc: a907 add r1, sp, #28 - 80020ce: e9cd 3707 strd r3, r7, [sp, #28] - 80020d2: e9cd 4609 strd r4, r6, [sp, #36] ; 0x24 - 80020d6: f7ff fa75 bl 80015c4 - 80020da: f44f 53c0 mov.w r3, #6144 ; 0x1800 - 80020de: 480e ldr r0, [pc, #56] ; (8002118 ) - 80020e0: 950b str r5, [sp, #44] ; 0x2c - 80020e2: a907 add r1, sp, #28 - 80020e4: e9cd 3707 strd r3, r7, [sp, #28] - 80020e8: e9cd 4609 strd r4, r6, [sp, #36] ; 0x24 - 80020ec: f7ff fa6a bl 80015c4 - 80020f0: f44f 4380 mov.w r3, #16384 ; 0x4000 - 80020f4: 4809 ldr r0, [pc, #36] ; (800211c ) - 80020f6: 950b str r5, [sp, #44] ; 0x2c - 80020f8: a907 add r1, sp, #28 - 80020fa: e9cd 3707 strd r3, r7, [sp, #28] - 80020fe: e9cd 4609 strd r4, r6, [sp, #36] ; 0x24 - 8002102: f7ff fa5f bl 80015c4 - 8002106: b00d add sp, #52 ; 0x34 - 8002108: bdf0 pop {r4, r5, r6, r7, pc} - 800210a: bf00 nop - 800210c: 40028000 .word 0x40028000 - 8002110: 40020800 .word 0x40020800 - 8002114: 40020000 .word 0x40020000 - 8002118: 40020400 .word 0x40020400 - 800211c: 40021800 .word 0x40021800 - -08002120 : - 8002120: b570 push {r4, r5, r6, lr} - 8002122: b09a sub sp, #104 ; 0x68 - 8002124: 2264 movs r2, #100 ; 0x64 - 8002126: 2100 movs r1, #0 - 8002128: 4604 mov r4, r0 - 800212a: a801 add r0, sp, #4 - 800212c: f007 f934 bl 8009398 - 8002130: 481a ldr r0, [pc, #104] ; (800219c ) - 8002132: f7fe fc41 bl 80009b8 - 8002136: f894 2031 ldrb.w r2, [r4, #49] ; 0x31 - 800213a: 0751 lsls r1, r2, #29 - 800213c: 4603 mov r3, r0 - 800213e: d50e bpl.n 800215e - 8002140: 2801 cmp r0, #1 - 8002142: dc0a bgt.n 800215a - 8002144: 4816 ldr r0, [pc, #88] ; (80021a0 ) - 8002146: f7ff f841 bl 80011cc - 800214a: 4620 mov r0, r4 - 800214c: f000 fd14 bl 8002b78 - 8002150: 4620 mov r0, r4 - 8002152: f000 fd55 bl 8002c00 - 8002156: b01a add sp, #104 ; 0x68 - 8002158: bd70 pop {r4, r5, r6, pc} - 800215a: 0752 lsls r2, r2, #29 - 800215c: d4fb bmi.n 8002156 - 800215e: 2b01 cmp r3, #1 - 8002160: ddf9 ble.n 8002156 - 8002162: 3b02 subs r3, #2 - 8002164: 2b03 cmp r3, #3 - 8002166: d8f6 bhi.n 8002156 - 8002168: 4a0e ldr r2, [pc, #56] ; (80021a4 ) - 800216a: 480d ldr r0, [pc, #52] ; (80021a0 ) - 800216c: f832 5013 ldrh.w r5, [r2, r3, lsl #1] - 8002170: 4a0d ldr r2, [pc, #52] ; (80021a8 ) - 8002172: a901 add r1, sp, #4 - 8002174: f832 6013 ldrh.w r6, [r2, r3, lsl #1] - 8002178: f7ff f97c bl 8001474 - 800217c: a901 add r1, sp, #4 - 800217e: 4808 ldr r0, [pc, #32] ; (80021a0 ) - 8002180: e9cd 5606 strd r5, r6, [sp, #24] - 8002184: f7ff f9d8 bl 8001538 - 8002188: 4805 ldr r0, [pc, #20] ; (80021a0 ) - 800218a: f7fe ffe9 bl 8001160 - 800218e: 4620 mov r0, r4 - 8002190: f000 fcd8 bl 8002b44 - 8002194: 4620 mov r0, r4 - 8002196: f000 fd0b bl 8002bb0 - 800219a: e7dc b.n 8002156 - 800219c: 20000288 .word 0x20000288 - 80021a0: 200002e4 .word 0x200002e4 - 80021a4: 0800a576 .word 0x0800a576 - 80021a8: 0800a57e .word 0x0800a57e - -080021ac : - 80021ac: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 80021ae: 4604 mov r4, r0 - 80021b0: b930 cbnz r0, 80021c0 - 80021b2: 4b38 ldr r3, [pc, #224] ; (8002294 ) - 80021b4: 4938 ldr r1, [pc, #224] ; (8002298 ) - 80021b6: 4839 ldr r0, [pc, #228] ; (800229c ) - 80021b8: f240 126b movw r2, #363 ; 0x16b - 80021bc: f007 f8f4 bl 80093a8 - 80021c0: f247 4373 movw r3, #29811 ; 0x7473 - 80021c4: 8663 strh r3, [r4, #50] ; 0x32 - 80021c6: 4b36 ldr r3, [pc, #216] ; (80022a0 ) - 80021c8: 4d36 ldr r5, [pc, #216] ; (80022a4 ) - 80021ca: 6163 str r3, [r4, #20] - 80021cc: 4b36 ldr r3, [pc, #216] ; (80022a8 ) - 80021ce: 61a3 str r3, [r4, #24] - 80021d0: 4b36 ldr r3, [pc, #216] ; (80022ac ) - 80021d2: 602b str r3, [r5, #0] - 80021d4: 23fb movs r3, #251 ; 0xfb - 80021d6: f88d 3000 strb.w r3, [sp] - 80021da: 2380 movs r3, #128 ; 0x80 - 80021dc: f88d 3001 strb.w r3, [sp, #1] - 80021e0: 23e1 movs r3, #225 ; 0xe1 - 80021e2: f88d 3002 strb.w r3, [sp, #2] - 80021e6: 2315 movs r3, #21 - 80021e8: f88d 3003 strb.w r3, [sp, #3] - 80021ec: 2385 movs r3, #133 ; 0x85 - 80021ee: f88d 3004 strb.w r3, [sp, #4] - 80021f2: 23a3 movs r3, #163 ; 0xa3 - 80021f4: f88d 3005 strb.w r3, [sp, #5] - 80021f8: f44f 0300 mov.w r3, #8388608 ; 0x800000 - 80021fc: 60ab str r3, [r5, #8] - 80021fe: 4b2c ldr r3, [pc, #176] ; (80022b0 ) - 8002200: 60eb str r3, [r5, #12] - 8002202: 4b2c ldr r3, [pc, #176] ; (80022b4 ) - 8002204: 612b str r3, [r5, #16] - 8002206: 4628 mov r0, r5 - 8002208: f44f 63c0 mov.w r3, #1536 ; 0x600 - 800220c: 616b str r3, [r5, #20] - 800220e: f8c5 d004 str.w sp, [r5, #4] - 8002212: f7fe febb bl 8000f8c - 8002216: 4f28 ldr r7, [pc, #160] ; (80022b8 ) - 8002218: 2234 movs r2, #52 ; 0x34 - 800221a: 2100 movs r1, #0 - 800221c: 4606 mov r6, r0 - 800221e: 1d38 adds r0, r7, #4 - 8002220: f007 f8ba bl 8009398 - 8002224: 2321 movs r3, #33 ; 0x21 - 8002226: 4825 ldr r0, [pc, #148] ; (80022bc ) - 8002228: 603b str r3, [r7, #0] - 800222a: f44f 0340 mov.w r3, #12582912 ; 0xc00000 - 800222e: 617b str r3, [r7, #20] - 8002230: f000 faee bl 8002810 - 8002234: 2306 movs r3, #6 - 8002236: f884 3030 strb.w r3, [r4, #48] ; 0x30 - 800223a: 686b ldr r3, [r5, #4] - 800223c: 4920 ldr r1, [pc, #128] ; (80022c0 ) - 800223e: 781a ldrb r2, [r3, #0] - 8002240: f884 202a strb.w r2, [r4, #42] ; 0x2a - 8002244: 785a ldrb r2, [r3, #1] - 8002246: f884 202b strb.w r2, [r4, #43] ; 0x2b - 800224a: 789a ldrb r2, [r3, #2] - 800224c: f884 202c strb.w r2, [r4, #44] ; 0x2c - 8002250: 78da ldrb r2, [r3, #3] - 8002252: f884 202d strb.w r2, [r4, #45] ; 0x2d - 8002256: 791a ldrb r2, [r3, #4] - 8002258: f884 202e strb.w r2, [r4, #46] ; 0x2e - 800225c: 795b ldrb r3, [r3, #5] - 800225e: f884 302f strb.w r3, [r4, #47] ; 0x2f - 8002262: f240 53dc movw r3, #1500 ; 0x5dc - 8002266: 8523 strh r3, [r4, #40] ; 0x28 - 8002268: f894 3031 ldrb.w r3, [r4, #49] ; 0x31 - 800226c: 4815 ldr r0, [pc, #84] ; (80022c4 ) - 800226e: f043 030a orr.w r3, r3, #10 - 8002272: f884 3031 strb.w r3, [r4, #49] ; 0x31 - 8002276: f7fe fb2a bl 80008ce - 800227a: 4812 ldr r0, [pc, #72] ; (80022c4 ) - 800227c: f7fe fb3b bl 80008f6 - 8002280: b92e cbnz r6, 800228e - 8002282: 4620 mov r0, r4 - 8002284: f7ff ff4c bl 8002120 - 8002288: 2000 movs r0, #0 - 800228a: b003 add sp, #12 - 800228c: bdf0 pop {r4, r5, r6, r7, pc} - 800228e: f7fe fa73 bl 8000778 - 8002292: e7f9 b.n 8002288 - 8002294: 0800a531 .word 0x0800a531 - 8002298: 0800be96 .word 0x0800be96 - 800229c: 0800a54d .word 0x0800a54d - 80022a0: 08008281 .word 0x08008281 - 80022a4: 200002e4 .word 0x200002e4 - 80022a8: 08001ef1 .word 0x08001ef1 - 80022ac: 40028000 .word 0x40028000 - 80022b0: 200001e8 .word 0x200001e8 - 80022b4: 20000148 .word 0x20000148 - 80022b8: 200002ac .word 0x200002ac - 80022bc: 0800a588 .word 0x0800a588 - 80022c0: 2000000c .word 0x2000000c - 80022c4: 20000288 .word 0x20000288 - -080022c8 : - 80022c8: b513 push {r0, r1, r4, lr} - 80022ca: 4604 mov r4, r0 - 80022cc: 480c ldr r0, [pc, #48] ; (8002300 ) - 80022ce: f000 fac1 bl 8002854 - 80022d2: 4603 mov r3, r0 - 80022d4: b178 cbz r0, 80022f6 - 80022d6: f100 0220 add.w r2, r0, #32 - 80022da: 490a ldr r1, [pc, #40] ; (8002304 ) - 80022dc: 6022 str r2, [r4, #0] - 80022de: 6101 str r1, [r0, #16] - 80022e0: f44f 61c0 mov.w r1, #1536 ; 0x600 - 80022e4: e9cd 2100 strd r2, r1, [sp] - 80022e8: 2100 movs r1, #0 - 80022ea: 2241 movs r2, #65 ; 0x41 - 80022ec: 4608 mov r0, r1 - 80022ee: f000 fd1f bl 8002d30 - 80022f2: b002 add sp, #8 - 80022f4: bd10 pop {r4, pc} - 80022f6: 4a04 ldr r2, [pc, #16] ; (8002308 ) - 80022f8: 6020 str r0, [r4, #0] - 80022fa: 2101 movs r1, #1 - 80022fc: 7011 strb r1, [r2, #0] - 80022fe: e7f8 b.n 80022f2 - 8002300: 0800a588 .word 0x0800a588 - 8002304: 08001f51 .word 0x08001f51 - 8002308: 200002a8 .word 0x200002a8 - -0800230c : - 800230c: b530 push {r4, r5, lr} - 800230e: 2500 movs r5, #0 - 8002310: f842 5c20 str.w r5, [r2, #-32] - 8002314: f1a2 0420 sub.w r4, r2, #32 - 8002318: f822 5c18 strh.w r5, [r2, #-24] - 800231c: f822 3c16 strh.w r3, [r2, #-22] - 8002320: 6802 ldr r2, [r0, #0] - 8002322: b922 cbnz r2, 800232e - 8002324: 6004 str r4, [r0, #0] - 8002326: 600c str r4, [r1, #0] - 8002328: 6802 ldr r2, [r0, #0] - 800232a: b91a cbnz r2, 8002334 - 800232c: bd30 pop {r4, r5, pc} - 800232e: 680a ldr r2, [r1, #0] - 8002330: 6014 str r4, [r2, #0] - 8002332: e7f8 b.n 8002326 - 8002334: 8911 ldrh r1, [r2, #8] - 8002336: 4419 add r1, r3 - 8002338: 8111 strh r1, [r2, #8] - 800233a: 6812 ldr r2, [r2, #0] - 800233c: e7f5 b.n 800232a - -0800233e : - 800233e: ba40 rev16 r0, r0 - 8002340: b280 uxth r0, r0 - 8002342: 4770 bx lr - -08002344 : - 8002344: ba00 rev r0, r0 - 8002346: 4770 bx lr - -08002348 : - 8002348: b508 push {r3, lr} - 800234a: f000 f80d bl 8002368 - 800234e: f000 fa73 bl 8002838 - 8002352: f000 fb2d bl 80029b0 - 8002356: f004 f8fb bl 8006550 - 800235a: f000 ffeb bl 8003334 - 800235e: e8bd 4008 ldmia.w sp!, {r3, lr} - 8002362: f004 b8b7 b.w 80064d4 +08002646 : + 8002646: 6803 ldr r3, [r0, #0] + 8002648: 691a ldr r2, [r3, #16] + 800264a: 0791 lsls r1, r2, #30 + 800264c: b510 push {r4, lr} + 800264e: 4604 mov r4, r0 + 8002650: d50e bpl.n 8002670 + 8002652: 68da ldr r2, [r3, #12] + 8002654: 0792 lsls r2, r2, #30 + 8002656: d50b bpl.n 8002670 + 8002658: f06f 0202 mvn.w r2, #2 + 800265c: 611a str r2, [r3, #16] + 800265e: 2201 movs r2, #1 + 8002660: 7702 strb r2, [r0, #28] + 8002662: 699b ldr r3, [r3, #24] + 8002664: 079b lsls r3, r3, #30 + 8002666: d077 beq.n 8002758 + 8002668: f7ff ffea bl 8002640 + 800266c: 2300 movs r3, #0 + 800266e: 7723 strb r3, [r4, #28] + 8002670: 6823 ldr r3, [r4, #0] + 8002672: 691a ldr r2, [r3, #16] + 8002674: 0750 lsls r0, r2, #29 + 8002676: d510 bpl.n 800269a + 8002678: 68da ldr r2, [r3, #12] + 800267a: 0751 lsls r1, r2, #29 + 800267c: d50d bpl.n 800269a + 800267e: f06f 0204 mvn.w r2, #4 + 8002682: 611a str r2, [r3, #16] + 8002684: 2202 movs r2, #2 + 8002686: 7722 strb r2, [r4, #28] + 8002688: 699b ldr r3, [r3, #24] + 800268a: f413 7f40 tst.w r3, #768 @ 0x300 + 800268e: 4620 mov r0, r4 + 8002690: d068 beq.n 8002764 + 8002692: f7ff ffd5 bl 8002640 + 8002696: 2300 movs r3, #0 + 8002698: 7723 strb r3, [r4, #28] + 800269a: 6823 ldr r3, [r4, #0] + 800269c: 691a ldr r2, [r3, #16] + 800269e: 0712 lsls r2, r2, #28 + 80026a0: d50f bpl.n 80026c2 + 80026a2: 68da ldr r2, [r3, #12] + 80026a4: 0710 lsls r0, r2, #28 + 80026a6: d50c bpl.n 80026c2 + 80026a8: f06f 0208 mvn.w r2, #8 + 80026ac: 611a str r2, [r3, #16] + 80026ae: 2204 movs r2, #4 + 80026b0: 7722 strb r2, [r4, #28] + 80026b2: 69db ldr r3, [r3, #28] + 80026b4: 0799 lsls r1, r3, #30 + 80026b6: 4620 mov r0, r4 + 80026b8: d05a beq.n 8002770 + 80026ba: f7ff ffc1 bl 8002640 + 80026be: 2300 movs r3, #0 + 80026c0: 7723 strb r3, [r4, #28] + 80026c2: 6823 ldr r3, [r4, #0] + 80026c4: 691a ldr r2, [r3, #16] + 80026c6: 06d2 lsls r2, r2, #27 + 80026c8: d510 bpl.n 80026ec + 80026ca: 68da ldr r2, [r3, #12] + 80026cc: 06d0 lsls r0, r2, #27 + 80026ce: d50d bpl.n 80026ec + 80026d0: f06f 0210 mvn.w r2, #16 + 80026d4: 611a str r2, [r3, #16] + 80026d6: 2208 movs r2, #8 + 80026d8: 7722 strb r2, [r4, #28] + 80026da: 69db ldr r3, [r3, #28] + 80026dc: f413 7f40 tst.w r3, #768 @ 0x300 + 80026e0: 4620 mov r0, r4 + 80026e2: d04b beq.n 800277c + 80026e4: f7ff ffac bl 8002640 + 80026e8: 2300 movs r3, #0 + 80026ea: 7723 strb r3, [r4, #28] + 80026ec: 6823 ldr r3, [r4, #0] + 80026ee: 691a ldr r2, [r3, #16] + 80026f0: 07d1 lsls r1, r2, #31 + 80026f2: d508 bpl.n 8002706 + 80026f4: 68da ldr r2, [r3, #12] + 80026f6: 07d2 lsls r2, r2, #31 + 80026f8: d505 bpl.n 8002706 + 80026fa: f06f 0201 mvn.w r2, #1 + 80026fe: 611a str r2, [r3, #16] + 8002700: 4620 mov r0, r4 + 8002702: f7ff ff9b bl 800263c + 8002706: 6823 ldr r3, [r4, #0] + 8002708: 691a ldr r2, [r3, #16] + 800270a: 0610 lsls r0, r2, #24 + 800270c: d508 bpl.n 8002720 + 800270e: 68da ldr r2, [r3, #12] + 8002710: 0611 lsls r1, r2, #24 + 8002712: d505 bpl.n 8002720 + 8002714: f06f 0280 mvn.w r2, #128 @ 0x80 + 8002718: 611a str r2, [r3, #16] + 800271a: 4620 mov r0, r4 + 800271c: f000 f9ab bl 8002a76 + 8002720: 6823 ldr r3, [r4, #0] + 8002722: 691a ldr r2, [r3, #16] + 8002724: 0652 lsls r2, r2, #25 + 8002726: d508 bpl.n 800273a + 8002728: 68da ldr r2, [r3, #12] + 800272a: 0650 lsls r0, r2, #25 + 800272c: d505 bpl.n 800273a + 800272e: f06f 0240 mvn.w r2, #64 @ 0x40 + 8002732: 611a str r2, [r3, #16] + 8002734: 4620 mov r0, r4 + 8002736: f7ff ff85 bl 8002644 + 800273a: 6823 ldr r3, [r4, #0] + 800273c: 691a ldr r2, [r3, #16] + 800273e: 0691 lsls r1, r2, #26 + 8002740: d522 bpl.n 8002788 + 8002742: 68da ldr r2, [r3, #12] + 8002744: 0692 lsls r2, r2, #26 + 8002746: d51f bpl.n 8002788 + 8002748: f06f 0220 mvn.w r2, #32 + 800274c: 4620 mov r0, r4 + 800274e: 611a str r2, [r3, #16] + 8002750: e8bd 4010 ldmia.w sp!, {r4, lr} + 8002754: f000 b98e b.w 8002a74 + 8002758: f7ff ff71 bl 800263e + 800275c: 4620 mov r0, r4 + 800275e: f7ff ff70 bl 8002642 + 8002762: e783 b.n 800266c + 8002764: f7ff ff6b bl 800263e + 8002768: 4620 mov r0, r4 + 800276a: f7ff ff6a bl 8002642 + 800276e: e792 b.n 8002696 + 8002770: f7ff ff65 bl 800263e + 8002774: 4620 mov r0, r4 + 8002776: f7ff ff64 bl 8002642 + 800277a: e7a0 b.n 80026be + 800277c: f7ff ff5f bl 800263e + 8002780: 4620 mov r0, r4 + 8002782: f7ff ff5e bl 8002642 + 8002786: e7af b.n 80026e8 + 8002788: bd10 pop {r4, pc} ... -08002368 : - 8002368: 4b0b ldr r3, [pc, #44] ; (8002398 ) - 800236a: 4a0c ldr r2, [pc, #48] ; (800239c ) - 800236c: f023 0303 bic.w r3, r3, #3 - 8002370: 6013 str r3, [r2, #0] - 8002372: f44f 62c8 mov.w r2, #1600 ; 0x640 - 8002376: 601a str r2, [r3, #0] - 8002378: 2200 movs r2, #0 - 800237a: 711a strb r2, [r3, #4] - 800237c: 4a08 ldr r2, [pc, #32] ; (80023a0 ) - 800237e: f503 61c8 add.w r1, r3, #1600 ; 0x640 - 8002382: 6011 str r1, [r2, #0] - 8002384: 4a07 ldr r2, [pc, #28] ; (80023a4 ) - 8002386: f8c3 2640 str.w r2, [r3, #1600] ; 0x640 - 800238a: 2201 movs r2, #1 - 800238c: f883 2644 strb.w r2, [r3, #1604] ; 0x644 - 8002390: 4a05 ldr r2, [pc, #20] ; (80023a8 ) - 8002392: 6013 str r3, [r2, #0] - 8002394: 4770 bx lr - 8002396: bf00 nop - 8002398: 20004d43 .word 0x20004d43 - 800239c: 20004d38 .word 0x20004d38 - 80023a0: 20004d3c .word 0x20004d3c - 80023a4: 06400640 .word 0x06400640 - 80023a8: 20004d34 .word 0x20004d34 +0800278c : + 800278c: 4a30 ldr r2, [pc, #192] @ (8002850 ) + 800278e: 6803 ldr r3, [r0, #0] + 8002790: 4290 cmp r0, r2 + 8002792: d012 beq.n 80027ba + 8002794: f1b0 4f80 cmp.w r0, #1073741824 @ 0x40000000 + 8002798: d00f beq.n 80027ba + 800279a: f5a2 427c sub.w r2, r2, #64512 @ 0xfc00 + 800279e: 4290 cmp r0, r2 + 80027a0: d00b beq.n 80027ba + 80027a2: f502 6280 add.w r2, r2, #1024 @ 0x400 + 80027a6: 4290 cmp r0, r2 + 80027a8: d007 beq.n 80027ba + 80027aa: f502 6280 add.w r2, r2, #1024 @ 0x400 + 80027ae: 4290 cmp r0, r2 + 80027b0: d003 beq.n 80027ba + 80027b2: f502 4278 add.w r2, r2, #63488 @ 0xf800 + 80027b6: 4290 cmp r0, r2 + 80027b8: d119 bne.n 80027ee + 80027ba: 684a ldr r2, [r1, #4] + 80027bc: f023 0370 bic.w r3, r3, #112 @ 0x70 + 80027c0: 4313 orrs r3, r2 + 80027c2: 4a23 ldr r2, [pc, #140] @ (8002850 ) + 80027c4: 4290 cmp r0, r2 + 80027c6: d029 beq.n 800281c + 80027c8: f1b0 4f80 cmp.w r0, #1073741824 @ 0x40000000 + 80027cc: d026 beq.n 800281c + 80027ce: f5a2 427c sub.w r2, r2, #64512 @ 0xfc00 + 80027d2: 4290 cmp r0, r2 + 80027d4: d022 beq.n 800281c + 80027d6: f502 6280 add.w r2, r2, #1024 @ 0x400 + 80027da: 4290 cmp r0, r2 + 80027dc: d01e beq.n 800281c + 80027de: f502 6280 add.w r2, r2, #1024 @ 0x400 + 80027e2: 4290 cmp r0, r2 + 80027e4: d01a beq.n 800281c + 80027e6: f502 4278 add.w r2, r2, #63488 @ 0xf800 + 80027ea: 4290 cmp r0, r2 + 80027ec: d016 beq.n 800281c + 80027ee: 4a19 ldr r2, [pc, #100] @ (8002854 ) + 80027f0: 4290 cmp r0, r2 + 80027f2: d013 beq.n 800281c + 80027f4: f502 6280 add.w r2, r2, #1024 @ 0x400 + 80027f8: 4290 cmp r0, r2 + 80027fa: d00f beq.n 800281c + 80027fc: f502 6280 add.w r2, r2, #1024 @ 0x400 + 8002800: 4290 cmp r0, r2 + 8002802: d00b beq.n 800281c + 8002804: f5a2 3298 sub.w r2, r2, #77824 @ 0x13000 + 8002808: 4290 cmp r0, r2 + 800280a: d007 beq.n 800281c + 800280c: f502 6280 add.w r2, r2, #1024 @ 0x400 + 8002810: 4290 cmp r0, r2 + 8002812: d003 beq.n 800281c + 8002814: f502 6280 add.w r2, r2, #1024 @ 0x400 + 8002818: 4290 cmp r0, r2 + 800281a: d103 bne.n 8002824 + 800281c: 68ca ldr r2, [r1, #12] + 800281e: f423 7340 bic.w r3, r3, #768 @ 0x300 + 8002822: 4313 orrs r3, r2 + 8002824: 694a ldr r2, [r1, #20] + 8002826: f023 0380 bic.w r3, r3, #128 @ 0x80 + 800282a: 4313 orrs r3, r2 + 800282c: 6003 str r3, [r0, #0] + 800282e: 688b ldr r3, [r1, #8] + 8002830: 62c3 str r3, [r0, #44] @ 0x2c + 8002832: 680b ldr r3, [r1, #0] + 8002834: 6283 str r3, [r0, #40] @ 0x28 + 8002836: 4b06 ldr r3, [pc, #24] @ (8002850 ) + 8002838: 4298 cmp r0, r3 + 800283a: d003 beq.n 8002844 + 800283c: f503 6380 add.w r3, r3, #1024 @ 0x400 + 8002840: 4298 cmp r0, r3 + 8002842: d101 bne.n 8002848 + 8002844: 690b ldr r3, [r1, #16] + 8002846: 6303 str r3, [r0, #48] @ 0x30 + 8002848: 2301 movs r3, #1 + 800284a: 6143 str r3, [r0, #20] + 800284c: 4770 bx lr + 800284e: bf00 nop + 8002850: 40010000 .word 0x40010000 + 8002854: 40014000 .word 0x40014000 -080023ac : - 80023ac: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80023b0: 4604 mov r4, r0 - 80023b2: 2800 cmp r0, #0 - 80023b4: f000 8098 beq.w 80024e8 - 80023b8: 0783 lsls r3, r0, #30 - 80023ba: d008 beq.n 80023ce - 80023bc: 4b4b ldr r3, [pc, #300] ; (80024ec ) - 80023be: 494c ldr r1, [pc, #304] ; (80024f0 ) - 80023c0: f240 2273 movw r2, #627 ; 0x273 - 80023c4: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 80023c8: 484a ldr r0, [pc, #296] ; (80024f4 ) - 80023ca: f006 bfed b.w 80093a8 - 80023ce: f8df 8148 ldr.w r8, [pc, #328] ; 8002518 - 80023d2: f8d8 3000 ldr.w r3, [r8] - 80023d6: f1a0 0508 sub.w r5, r0, #8 - 80023da: 42ab cmp r3, r5 - 80023dc: d805 bhi.n 80023ea - 80023de: 4f46 ldr r7, [pc, #280] ; (80024f8 ) - 80023e0: 6839 ldr r1, [r7, #0] - 80023e2: f100 020c add.w r2, r0, #12 - 80023e6: 4291 cmp r1, r2 - 80023e8: d204 bcs.n 80023f4 - 80023ea: 4b40 ldr r3, [pc, #256] ; (80024ec ) - 80023ec: 4943 ldr r1, [pc, #268] ; (80024fc ) - 80023ee: f240 227f movw r2, #639 ; 0x27f - 80023f2: e7e7 b.n 80023c4 - 80023f4: f810 2c04 ldrb.w r2, [r0, #-4] - 80023f8: b922 cbnz r2, 8002404 - 80023fa: 4b3c ldr r3, [pc, #240] ; (80024ec ) - 80023fc: 4940 ldr r1, [pc, #256] ; (8002500 ) - 80023fe: f44f 7223 mov.w r2, #652 ; 0x28c - 8002402: e7df b.n 80023c4 - 8002404: f830 6c08 ldrh.w r6, [r0, #-8] - 8002408: f5b6 6fc8 cmp.w r6, #1600 ; 0x640 - 800240c: d811 bhi.n 8002432 - 800240e: f830 0c06 ldrh.w r0, [r0, #-6] - 8002412: f5b0 6fc8 cmp.w r0, #1600 ; 0x640 - 8002416: d80c bhi.n 8002432 - 8002418: 1aea subs r2, r5, r3 - 800241a: b292 uxth r2, r2 - 800241c: 4282 cmp r2, r0 - 800241e: d002 beq.n 8002426 - 8002420: 5a18 ldrh r0, [r3, r0] - 8002422: 4290 cmp r0, r2 - 8002424: d105 bne.n 8002432 - 8002426: 4433 add r3, r6 - 8002428: 4299 cmp r1, r3 - 800242a: d007 beq.n 800243c - 800242c: 885b ldrh r3, [r3, #2] - 800242e: 4293 cmp r3, r2 - 8002430: d004 beq.n 800243c - 8002432: 4b2e ldr r3, [pc, #184] ; (80024ec ) - 8002434: 4933 ldr r1, [pc, #204] ; (8002504 ) - 8002436: f240 2295 movw r2, #661 ; 0x295 - 800243a: e7c3 b.n 80023c4 - 800243c: 4e32 ldr r6, [pc, #200] ; (8002508 ) - 800243e: 2300 movs r3, #0 - 8002440: f804 3c04 strb.w r3, [r4, #-4] - 8002444: 6833 ldr r3, [r6, #0] - 8002446: 42ab cmp r3, r5 - 8002448: bf88 it hi - 800244a: 6035 strhi r5, [r6, #0] - 800244c: 42a9 cmp r1, r5 - 800244e: d81c bhi.n 800248a - 8002450: 4b26 ldr r3, [pc, #152] ; (80024ec ) - 8002452: 492e ldr r1, [pc, #184] ; (800250c ) - 8002454: 4827 ldr r0, [pc, #156] ; (80024f4 ) - 8002456: f44f 72f0 mov.w r2, #480 ; 0x1e0 - 800245a: f006 ffa5 bl 80093a8 - 800245e: f814 3c04 ldrb.w r3, [r4, #-4] - 8002462: b133 cbz r3, 8002472 - 8002464: 4b21 ldr r3, [pc, #132] ; (80024ec ) - 8002466: 492a ldr r1, [pc, #168] ; (8002510 ) - 8002468: 4822 ldr r0, [pc, #136] ; (80024f4 ) - 800246a: f240 12e1 movw r2, #481 ; 0x1e1 - 800246e: f006 ff9b bl 80093a8 - 8002472: f834 3c08 ldrh.w r3, [r4, #-8] - 8002476: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800247a: d906 bls.n 800248a - 800247c: 4b1b ldr r3, [pc, #108] ; (80024ec ) - 800247e: 4925 ldr r1, [pc, #148] ; (8002514 ) - 8002480: 481c ldr r0, [pc, #112] ; (80024f4 ) - 8002482: f44f 72f2 mov.w r2, #484 ; 0x1e4 - 8002486: f006 ff8f bl 80093a8 - 800248a: f8d8 3000 ldr.w r3, [r8] - 800248e: f834 1c08 ldrh.w r1, [r4, #-8] - 8002492: 185a adds r2, r3, r1 - 8002494: 4295 cmp r5, r2 - 8002496: d012 beq.n 80024be - 8002498: 7910 ldrb r0, [r2, #4] - 800249a: b980 cbnz r0, 80024be - 800249c: 6838 ldr r0, [r7, #0] - 800249e: 4282 cmp r2, r0 - 80024a0: d00d beq.n 80024be - 80024a2: 6830 ldr r0, [r6, #0] - 80024a4: 4282 cmp r2, r0 - 80024a6: 5a5a ldrh r2, [r3, r1] - 80024a8: f824 2c08 strh.w r2, [r4, #-8] - 80024ac: 5a5a ldrh r2, [r3, r1] - 80024ae: bf08 it eq - 80024b0: 6035 streq r5, [r6, #0] - 80024b2: f5b2 6fc8 cmp.w r2, #1600 ; 0x640 - 80024b6: bf1e ittt ne - 80024b8: 18d2 addne r2, r2, r3 - 80024ba: 1ae9 subne r1, r5, r3 - 80024bc: 8051 strhne r1, [r2, #2] - 80024be: f834 2c06 ldrh.w r2, [r4, #-6] - 80024c2: 1899 adds r1, r3, r2 - 80024c4: 428d cmp r5, r1 - 80024c6: d00f beq.n 80024e8 - 80024c8: 7908 ldrb r0, [r1, #4] - 80024ca: b968 cbnz r0, 80024e8 - 80024cc: 6830 ldr r0, [r6, #0] - 80024ce: 4285 cmp r5, r0 - 80024d0: bf08 it eq - 80024d2: 6031 streq r1, [r6, #0] - 80024d4: f834 1c08 ldrh.w r1, [r4, #-8] - 80024d8: 5299 strh r1, [r3, r2] - 80024da: f834 1c08 ldrh.w r1, [r4, #-8] - 80024de: f5b1 6fc8 cmp.w r1, #1600 ; 0x640 - 80024e2: bf1c itt ne - 80024e4: 185b addne r3, r3, r1 - 80024e6: 805a strhne r2, [r3, #2] - 80024e8: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80024ec: 0800a594 .word 0x0800a594 - 80024f0: 0800a5c3 .word 0x0800a5c3 - 80024f4: 0800a54d .word 0x0800a54d - 80024f8: 20004d3c .word 0x20004d3c - 80024fc: 0800a5e4 .word 0x0800a5e4 - 8002500: 0800a5fd .word 0x0800a5fd - 8002504: 0800a623 .word 0x0800a623 - 8002508: 20004d34 .word 0x20004d34 - 800250c: 0800a655 .word 0x0800a655 - 8002510: 0800a66f .word 0x0800a66f - 8002514: 0800a68a .word 0x0800a68a - 8002518: 20004d38 .word 0x20004d38 +08002858 : + 8002858: b510 push {r4, lr} + 800285a: 4604 mov r4, r0 + 800285c: b330 cbz r0, 80028ac + 800285e: f890 303d ldrb.w r3, [r0, #61] @ 0x3d + 8002862: f003 02ff and.w r2, r3, #255 @ 0xff + 8002866: b91b cbnz r3, 8002870 + 8002868: f880 203c strb.w r2, [r0, #60] @ 0x3c + 800286c: f7fe fa22 bl 8000cb4 + 8002870: 2302 movs r3, #2 + 8002872: 6820 ldr r0, [r4, #0] + 8002874: f884 303d strb.w r3, [r4, #61] @ 0x3d + 8002878: 1d21 adds r1, r4, #4 + 800287a: f7ff ff87 bl 800278c + 800287e: 2301 movs r3, #1 + 8002880: f884 3046 strb.w r3, [r4, #70] @ 0x46 + 8002884: 2000 movs r0, #0 + 8002886: f884 303e strb.w r3, [r4, #62] @ 0x3e + 800288a: f884 303f strb.w r3, [r4, #63] @ 0x3f + 800288e: f884 3040 strb.w r3, [r4, #64] @ 0x40 + 8002892: f884 3041 strb.w r3, [r4, #65] @ 0x41 + 8002896: f884 3042 strb.w r3, [r4, #66] @ 0x42 + 800289a: f884 3043 strb.w r3, [r4, #67] @ 0x43 + 800289e: f884 3044 strb.w r3, [r4, #68] @ 0x44 + 80028a2: f884 3045 strb.w r3, [r4, #69] @ 0x45 + 80028a6: f884 303d strb.w r3, [r4, #61] @ 0x3d + 80028aa: bd10 pop {r4, pc} + 80028ac: 2001 movs r0, #1 + 80028ae: e7fc b.n 80028aa -0800251c : - 800251c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8002520: 1ccc adds r4, r1, #3 - 8002522: f024 0403 bic.w r4, r4, #3 - 8002526: b2a4 uxth r4, r4 - 8002528: 2c0b cmp r4, #11 - 800252a: 4605 mov r5, r0 - 800252c: d904 bls.n 8002538 - 800252e: f5b4 6fc8 cmp.w r4, #1600 ; 0x640 - 8002532: d902 bls.n 800253a - 8002534: 2500 movs r5, #0 - 8002536: e059 b.n 80025ec - 8002538: 240c movs r4, #12 - 800253a: 42a1 cmp r1, r4 - 800253c: d8fa bhi.n 8002534 - 800253e: 4f41 ldr r7, [pc, #260] ; (8002644 ) - 8002540: 683b ldr r3, [r7, #0] - 8002542: 42ab cmp r3, r5 - 8002544: d803 bhi.n 800254e - 8002546: 4b40 ldr r3, [pc, #256] ; (8002648 ) - 8002548: 681b ldr r3, [r3, #0] - 800254a: 42ab cmp r3, r5 - 800254c: d806 bhi.n 800255c - 800254e: 4b3f ldr r3, [pc, #252] ; (800264c ) - 8002550: 493f ldr r1, [pc, #252] ; (8002650 ) - 8002552: 4840 ldr r0, [pc, #256] ; (8002654 ) - 8002554: f240 22d1 movw r2, #721 ; 0x2d1 - 8002558: f006 ff26 bl 80093a8 - 800255c: f8d7 a000 ldr.w sl, [r7] - 8002560: 45aa cmp sl, r5 - 8002562: d843 bhi.n 80025ec - 8002564: 4b38 ldr r3, [pc, #224] ; (8002648 ) - 8002566: 681b ldr r3, [r3, #0] - 8002568: 42ab cmp r3, r5 - 800256a: d93f bls.n 80025ec - 800256c: f835 9c08 ldrh.w r9, [r5, #-8] - 8002570: f1a5 0608 sub.w r6, r5, #8 - 8002574: eba6 060a sub.w r6, r6, sl - 8002578: b2b6 uxth r6, r6 - 800257a: f1a9 0308 sub.w r3, r9, #8 - 800257e: 1b9b subs r3, r3, r6 - 8002580: b29b uxth r3, r3 - 8002582: 42a3 cmp r3, r4 - 8002584: d207 bcs.n 8002596 - 8002586: 4b31 ldr r3, [pc, #196] ; (800264c ) - 8002588: 4933 ldr r1, [pc, #204] ; (8002658 ) - 800258a: 4832 ldr r0, [pc, #200] ; (8002654 ) - 800258c: f44f 7239 mov.w r2, #740 ; 0x2e4 - 8002590: f006 ff0a bl 80093a8 - 8002594: e7ce b.n 8002534 - 8002596: d029 beq.n 80025ec - 8002598: eb0a 0809 add.w r8, sl, r9 - 800259c: f898 2004 ldrb.w r2, [r8, #4] - 80025a0: bb3a cbnz r2, 80025f2 - 80025a2: f5b9 6fc8 cmp.w r9, #1600 ; 0x640 - 80025a6: d106 bne.n 80025b6 - 80025a8: 4b28 ldr r3, [pc, #160] ; (800264c ) - 80025aa: 492c ldr r1, [pc, #176] ; (800265c ) - 80025ac: 4829 ldr r0, [pc, #164] ; (8002654 ) - 80025ae: f240 22f5 movw r2, #757 ; 0x2f5 - 80025b2: f006 fef9 bl 80093a8 - 80025b6: 492a ldr r1, [pc, #168] ; (8002660 ) - 80025b8: f83a c009 ldrh.w ip, [sl, r9] - 80025bc: 6808 ldr r0, [r1, #0] - 80025be: f106 0308 add.w r3, r6, #8 - 80025c2: 441c add r4, r3 - 80025c4: 683b ldr r3, [r7, #0] - 80025c6: b2a2 uxth r2, r4 - 80025c8: 4540 cmp r0, r8 - 80025ca: fa13 f484 uxtah r4, r3, r4 - 80025ce: bf08 it eq - 80025d0: 600c streq r4, [r1, #0] - 80025d2: 2100 movs r1, #0 - 80025d4: 7121 strb r1, [r4, #4] - 80025d6: f823 c002 strh.w ip, [r3, r2] - 80025da: 8066 strh r6, [r4, #2] - 80025dc: f825 2c08 strh.w r2, [r5, #-8] - 80025e0: 5a99 ldrh r1, [r3, r2] - 80025e2: f5b1 6fc8 cmp.w r1, #1600 ; 0x640 - 80025e6: d001 beq.n 80025ec - 80025e8: 440b add r3, r1 - 80025ea: 805a strh r2, [r3, #2] - 80025ec: 4628 mov r0, r5 - 80025ee: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 80025f2: f104 0214 add.w r2, r4, #20 - 80025f6: b292 uxth r2, r2 - 80025f8: 429a cmp r2, r3 - 80025fa: d8f7 bhi.n 80025ec - 80025fc: f106 0308 add.w r3, r6, #8 - 8002600: 441c add r4, r3 - 8002602: f5b9 6fc8 cmp.w r9, #1600 ; 0x640 - 8002606: b2a4 uxth r4, r4 - 8002608: d106 bne.n 8002618 - 800260a: 4b10 ldr r3, [pc, #64] ; (800264c ) - 800260c: 4913 ldr r1, [pc, #76] ; (800265c ) - 800260e: 4811 ldr r0, [pc, #68] ; (8002654 ) - 8002610: f240 3216 movw r2, #790 ; 0x316 - 8002614: f006 fec8 bl 80093a8 - 8002618: 4911 ldr r1, [pc, #68] ; (8002660 ) - 800261a: 683b ldr r3, [r7, #0] - 800261c: 6808 ldr r0, [r1, #0] - 800261e: 191a adds r2, r3, r4 - 8002620: 4290 cmp r0, r2 - 8002622: bf88 it hi - 8002624: 600a strhi r2, [r1, #0] - 8002626: 2100 movs r1, #0 - 8002628: 7111 strb r1, [r2, #4] - 800262a: f835 1c08 ldrh.w r1, [r5, #-8] - 800262e: 5319 strh r1, [r3, r4] - 8002630: 8056 strh r6, [r2, #2] - 8002632: f825 4c08 strh.w r4, [r5, #-8] - 8002636: 5b1a ldrh r2, [r3, r4] - 8002638: f5b2 6fc8 cmp.w r2, #1600 ; 0x640 - 800263c: d0d6 beq.n 80025ec - 800263e: 4413 add r3, r2 - 8002640: 805c strh r4, [r3, #2] - 8002642: e7d3 b.n 80025ec - 8002644: 20004d38 .word 0x20004d38 - 8002648: 20004d3c .word 0x20004d3c - 800264c: 0800a594 .word 0x0800a594 - 8002650: 0800a6b4 .word 0x0800a6b4 - 8002654: 0800a54d .word 0x0800a54d - 8002658: 0800a6cb .word 0x0800a6cb - 800265c: 0800a6eb .word 0x0800a6eb - 8002660: 20004d34 .word 0x20004d34 +080028b0 : + 80028b0: b510 push {r4, lr} + 80028b2: 6884 ldr r4, [r0, #8] + 80028b4: 430a orrs r2, r1 + 80028b6: f424 447f bic.w r4, r4, #65280 @ 0xff00 + 80028ba: ea42 2203 orr.w r2, r2, r3, lsl #8 + 80028be: 4322 orrs r2, r4 + 80028c0: 6082 str r2, [r0, #8] + 80028c2: bd10 pop {r4, pc} -08002664 : - 8002664: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 8002668: 2800 cmp r0, #0 - 800266a: f000 8084 beq.w 8002776 - 800266e: 1cc3 adds r3, r0, #3 - 8002670: f023 0303 bic.w r3, r3, #3 - 8002674: b29b uxth r3, r3 - 8002676: 2b0b cmp r3, #11 - 8002678: d904 bls.n 8002684 - 800267a: f5b3 6fc8 cmp.w r3, #1600 ; 0x640 - 800267e: d902 bls.n 8002686 - 8002680: 2000 movs r0, #0 - 8002682: e078 b.n 8002776 - 8002684: 230c movs r3, #12 - 8002686: 4298 cmp r0, r3 - 8002688: d8fa bhi.n 8002680 - 800268a: f8df 8124 ldr.w r8, [pc, #292] ; 80027b0 - 800268e: 4f3f ldr r7, [pc, #252] ; (800278c ) - 8002690: f8d8 1000 ldr.w r1, [r8] - 8002694: 683d ldr r5, [r7, #0] - 8002696: 1a6d subs r5, r5, r1 - 8002698: b2ad uxth r5, r5 - 800269a: f5c3 66c8 rsb r6, r3, #1600 ; 0x640 - 800269e: f06f 0c07 mvn.w ip, #7 - 80026a2: 42b5 cmp r5, r6 - 80026a4: d2ec bcs.n 8002680 - 80026a6: 194c adds r4, r1, r5 - 80026a8: 5b48 ldrh r0, [r1, r5] - 80026aa: 7922 ldrb r2, [r4, #4] - 80026ac: 2a00 cmp r2, #0 - 80026ae: d16a bne.n 8002786 - 80026b0: ebac 0205 sub.w r2, ip, r5 - 80026b4: 4402 add r2, r0 - 80026b6: 429a cmp r2, r3 - 80026b8: d365 bcc.n 8002786 - 80026ba: f103 0608 add.w r6, r3, #8 - 80026be: 3314 adds r3, #20 - 80026c0: b29b uxth r3, r3 - 80026c2: 429a cmp r2, r3 - 80026c4: b2b6 uxth r6, r6 - 80026c6: d358 bcc.n 800277a - 80026c8: eb06 0905 add.w r9, r6, r5 - 80026cc: fa1f f989 uxth.w r9, r9 - 80026d0: f5b9 6fc8 cmp.w r9, #1600 ; 0x640 - 80026d4: d106 bne.n 80026e4 - 80026d6: 4b2e ldr r3, [pc, #184] ; (8002790 ) - 80026d8: 492e ldr r1, [pc, #184] ; (8002794 ) - 80026da: 482f ldr r0, [pc, #188] ; (8002798 ) - 80026dc: f240 3287 movw r2, #903 ; 0x387 - 80026e0: f006 fe62 bl 80093a8 - 80026e4: f8d8 3000 ldr.w r3, [r8] - 80026e8: eb03 0209 add.w r2, r3, r9 - 80026ec: 2100 movs r1, #0 - 80026ee: 7111 strb r1, [r2, #4] - 80026f0: 8821 ldrh r1, [r4, #0] - 80026f2: f823 1009 strh.w r1, [r3, r9] - 80026f6: 8055 strh r5, [r2, #2] - 80026f8: 2201 movs r2, #1 - 80026fa: f8a4 9000 strh.w r9, [r4] - 80026fe: 7122 strb r2, [r4, #4] - 8002700: f833 2009 ldrh.w r2, [r3, r9] - 8002704: f5b2 6fc8 cmp.w r2, #1600 ; 0x640 - 8002708: d002 beq.n 8002710 - 800270a: 4413 add r3, r2 - 800270c: f8a3 9002 strh.w r9, [r3, #2] - 8002710: 683b ldr r3, [r7, #0] - 8002712: 4d22 ldr r5, [pc, #136] ; (800279c ) - 8002714: 42a3 cmp r3, r4 - 8002716: d111 bne.n 800273c - 8002718: 6829 ldr r1, [r5, #0] - 800271a: f8d8 0000 ldr.w r0, [r8] - 800271e: 791a ldrb r2, [r3, #4] - 8002720: b10a cbz r2, 8002726 - 8002722: 428b cmp r3, r1 - 8002724: d12c bne.n 8002780 - 8002726: 428b cmp r3, r1 - 8002728: 603b str r3, [r7, #0] - 800272a: d007 beq.n 800273c - 800272c: b132 cbz r2, 800273c - 800272e: 4b18 ldr r3, [pc, #96] ; (8002790 ) - 8002730: 491b ldr r1, [pc, #108] ; (80027a0 ) - 8002732: 4819 ldr r0, [pc, #100] ; (8002798 ) - 8002734: f240 32b5 movw r2, #949 ; 0x3b5 - 8002738: f006 fe36 bl 80093a8 - 800273c: 682b ldr r3, [r5, #0] - 800273e: 4426 add r6, r4 - 8002740: 42b3 cmp r3, r6 - 8002742: d206 bcs.n 8002752 - 8002744: 4b12 ldr r3, [pc, #72] ; (8002790 ) - 8002746: 4917 ldr r1, [pc, #92] ; (80027a4 ) - 8002748: 4813 ldr r0, [pc, #76] ; (8002798 ) - 800274a: f240 32b9 movw r2, #953 ; 0x3b9 - 800274e: f006 fe2b bl 80093a8 - 8002752: 07a3 lsls r3, r4, #30 - 8002754: d00d beq.n 8002772 - 8002756: 4b0e ldr r3, [pc, #56] ; (8002790 ) - 8002758: 4913 ldr r1, [pc, #76] ; (80027a8 ) - 800275a: 480f ldr r0, [pc, #60] ; (8002798 ) - 800275c: f240 32bb movw r2, #955 ; 0x3bb - 8002760: f006 fe22 bl 80093a8 - 8002764: 4b0a ldr r3, [pc, #40] ; (8002790 ) - 8002766: 4911 ldr r1, [pc, #68] ; (80027ac ) - 8002768: 480b ldr r0, [pc, #44] ; (8002798 ) - 800276a: f240 32bd movw r2, #957 ; 0x3bd - 800276e: f006 fe1b bl 80093a8 - 8002772: f104 0008 add.w r0, r4, #8 - 8002776: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 800277a: 2301 movs r3, #1 - 800277c: 7123 strb r3, [r4, #4] - 800277e: e7c7 b.n 8002710 - 8002780: 881b ldrh r3, [r3, #0] - 8002782: 4403 add r3, r0 - 8002784: e7cb b.n 800271e - 8002786: 4605 mov r5, r0 - 8002788: e78b b.n 80026a2 - 800278a: bf00 nop - 800278c: 20004d34 .word 0x20004d34 - 8002790: 0800a594 .word 0x0800a594 - 8002794: 0800a6eb .word 0x0800a6eb - 8002798: 0800a54d .word 0x0800a54d - 800279c: 20004d3c .word 0x20004d3c - 80027a0: 0800a6fc .word 0x0800a6fc - 80027a4: 0800a715 .word 0x0800a715 - 80027a8: 0800a745 .word 0x0800a745 - 80027ac: 0800a774 .word 0x0800a774 - 80027b0: 20004d38 .word 0x20004d38 - -080027b4 : - 80027b4: b538 push {r3, r4, r5, lr} - 80027b6: 078b lsls r3, r1, #30 - 80027b8: 4605 mov r5, r0 - 80027ba: 460c mov r4, r1 - 80027bc: d006 beq.n 80027cc - 80027be: 4b06 ldr r3, [pc, #24] ; (80027d8 ) - 80027c0: 4906 ldr r1, [pc, #24] ; (80027dc ) - 80027c2: 4807 ldr r0, [pc, #28] ; (80027e0 ) - 80027c4: f44f 72b6 mov.w r2, #364 ; 0x16c - 80027c8: f006 fdee bl 80093a8 - 80027cc: 68ab ldr r3, [r5, #8] - 80027ce: 681a ldr r2, [r3, #0] - 80027d0: 6022 str r2, [r4, #0] - 80027d2: 601c str r4, [r3, #0] - 80027d4: bd38 pop {r3, r4, r5, pc} - 80027d6: bf00 nop - 80027d8: 0800a797 .word 0x0800a797 - 80027dc: 0800a7c7 .word 0x0800a7c7 - 80027e0: 0800a54d .word 0x0800a54d - -080027e4 : - 80027e4: b510 push {r4, lr} - 80027e6: 6804 ldr r4, [r0, #0] - 80027e8: b154 cbz r4, 8002800 - 80027ea: 6823 ldr r3, [r4, #0] - 80027ec: 6003 str r3, [r0, #0] - 80027ee: 07a3 lsls r3, r4, #30 - 80027f0: d006 beq.n 8002800 - 80027f2: 4b04 ldr r3, [pc, #16] ; (8002804 ) - 80027f4: 4904 ldr r1, [pc, #16] ; (8002808 ) - 80027f6: 4805 ldr r0, [pc, #20] ; (800280c ) - 80027f8: f44f 728c mov.w r2, #280 ; 0x118 - 80027fc: f006 fdd4 bl 80093a8 - 8002800: 4620 mov r0, r4 - 8002802: bd10 pop {r4, pc} - 8002804: 0800a797 .word 0x0800a797 - 8002808: 0800a7e7 .word 0x0800a7e7 - 800280c: 0800a54d .word 0x0800a54d - -08002810 : - 8002810: 6843 ldr r3, [r0, #4] - 8002812: 6881 ldr r1, [r0, #8] - 8002814: b530 push {r4, r5, lr} - 8002816: 2200 movs r2, #0 - 8002818: 3303 adds r3, #3 - 800281a: 8844 ldrh r4, [r0, #2] - 800281c: 600a str r2, [r1, #0] - 800281e: f023 0303 bic.w r3, r3, #3 - 8002822: 4294 cmp r4, r2 - 8002824: dc00 bgt.n 8002828 - 8002826: bd30 pop {r4, r5, pc} - 8002828: 680d ldr r5, [r1, #0] - 800282a: 601d str r5, [r3, #0] - 800282c: 8805 ldrh r5, [r0, #0] - 800282e: 600b str r3, [r1, #0] - 8002830: 3201 adds r2, #1 - 8002832: 442b add r3, r5 - 8002834: e7f5 b.n 8002822 +080028c4 : + 80028c4: b538 push {r3, r4, r5, lr} + 80028c6: f890 303c ldrb.w r3, [r0, #60] @ 0x3c + 80028ca: 2b01 cmp r3, #1 + 80028cc: 4604 mov r4, r0 + 80028ce: f04f 0002 mov.w r0, #2 + 80028d2: f000 808e beq.w 80029f2 + 80028d6: f884 003d strb.w r0, [r4, #61] @ 0x3d + 80028da: 2201 movs r2, #1 + 80028dc: 6820 ldr r0, [r4, #0] + 80028de: f884 203c strb.w r2, [r4, #60] @ 0x3c + 80028e2: 6883 ldr r3, [r0, #8] + 80028e4: f423 437f bic.w r3, r3, #65280 @ 0xff00 + 80028e8: f023 0377 bic.w r3, r3, #119 @ 0x77 + 80028ec: 6083 str r3, [r0, #8] + 80028ee: 680b ldr r3, [r1, #0] + 80028f0: 2b60 cmp r3, #96 @ 0x60 + 80028f2: d04f beq.n 8002994 + 80028f4: d832 bhi.n 800295c + 80028f6: 2b40 cmp r3, #64 @ 0x40 + 80028f8: d064 beq.n 80029c4 + 80028fa: d816 bhi.n 800292a + 80028fc: 2b20 cmp r3, #32 + 80028fe: d00d beq.n 800291c + 8002900: d80a bhi.n 8002918 + 8002902: f033 0110 bics.w r1, r3, #16 + 8002906: d009 beq.n 800291c + 8002908: 2301 movs r3, #1 + 800290a: f884 303d strb.w r3, [r4, #61] @ 0x3d + 800290e: 2300 movs r3, #0 + 8002910: f884 303c strb.w r3, [r4, #60] @ 0x3c + 8002914: 4610 mov r0, r2 + 8002916: bd38 pop {r3, r4, r5, pc} + 8002918: 2b30 cmp r3, #48 @ 0x30 + 800291a: d1f5 bne.n 8002908 + 800291c: 6882 ldr r2, [r0, #8] + 800291e: f022 0270 bic.w r2, r2, #112 @ 0x70 + 8002922: 4313 orrs r3, r2 + 8002924: f043 0307 orr.w r3, r3, #7 + 8002928: e028 b.n 800297c + 800292a: 2b50 cmp r3, #80 @ 0x50 + 800292c: d1ec bne.n 8002908 + 800292e: 684a ldr r2, [r1, #4] + 8002930: 68cd ldr r5, [r1, #12] + 8002932: 6a01 ldr r1, [r0, #32] + 8002934: 6a03 ldr r3, [r0, #32] + 8002936: f023 0301 bic.w r3, r3, #1 + 800293a: 6203 str r3, [r0, #32] + 800293c: 6983 ldr r3, [r0, #24] + 800293e: f021 010a bic.w r1, r1, #10 + 8002942: f023 03f0 bic.w r3, r3, #240 @ 0xf0 + 8002946: ea43 1305 orr.w r3, r3, r5, lsl #4 + 800294a: 430a orrs r2, r1 + 800294c: 6183 str r3, [r0, #24] + 800294e: 6202 str r2, [r0, #32] + 8002950: 6883 ldr r3, [r0, #8] + 8002952: f023 0370 bic.w r3, r3, #112 @ 0x70 + 8002956: f043 0357 orr.w r3, r3, #87 @ 0x57 + 800295a: e00f b.n 800297c + 800295c: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 + 8002960: d00d beq.n 800297e + 8002962: f5b3 5f00 cmp.w r3, #8192 @ 0x2000 + 8002966: d00c beq.n 8002982 + 8002968: 2b70 cmp r3, #112 @ 0x70 + 800296a: d1cd bne.n 8002908 + 800296c: 68cb ldr r3, [r1, #12] + 800296e: e9d1 2101 ldrd r2, r1, [r1, #4] + 8002972: f7ff ff9d bl 80028b0 + 8002976: 6883 ldr r3, [r0, #8] + 8002978: f043 0377 orr.w r3, r3, #119 @ 0x77 + 800297c: 6083 str r3, [r0, #8] + 800297e: 2200 movs r2, #0 + 8002980: e7c2 b.n 8002908 + 8002982: 68cb ldr r3, [r1, #12] + 8002984: e9d1 2101 ldrd r2, r1, [r1, #4] + 8002988: f7ff ff92 bl 80028b0 + 800298c: 6883 ldr r3, [r0, #8] + 800298e: f443 4380 orr.w r3, r3, #16384 @ 0x4000 + 8002992: e7f3 b.n 800297c + 8002994: 6a03 ldr r3, [r0, #32] + 8002996: 684d ldr r5, [r1, #4] + 8002998: 68c9 ldr r1, [r1, #12] + 800299a: f023 0310 bic.w r3, r3, #16 + 800299e: 6203 str r3, [r0, #32] + 80029a0: 6982 ldr r2, [r0, #24] + 80029a2: 6a03 ldr r3, [r0, #32] + 80029a4: f422 4270 bic.w r2, r2, #61440 @ 0xf000 + 80029a8: f023 03a0 bic.w r3, r3, #160 @ 0xa0 + 80029ac: ea43 1305 orr.w r3, r3, r5, lsl #4 + 80029b0: ea42 3201 orr.w r2, r2, r1, lsl #12 + 80029b4: 6182 str r2, [r0, #24] + 80029b6: 6203 str r3, [r0, #32] + 80029b8: 6883 ldr r3, [r0, #8] + 80029ba: f023 0370 bic.w r3, r3, #112 @ 0x70 + 80029be: f043 0367 orr.w r3, r3, #103 @ 0x67 + 80029c2: e7db b.n 800297c + 80029c4: 684a ldr r2, [r1, #4] + 80029c6: 68cd ldr r5, [r1, #12] + 80029c8: 6a01 ldr r1, [r0, #32] + 80029ca: 6a03 ldr r3, [r0, #32] + 80029cc: f023 0301 bic.w r3, r3, #1 + 80029d0: 6203 str r3, [r0, #32] + 80029d2: 6983 ldr r3, [r0, #24] + 80029d4: f021 010a bic.w r1, r1, #10 + 80029d8: f023 03f0 bic.w r3, r3, #240 @ 0xf0 + 80029dc: ea43 1305 orr.w r3, r3, r5, lsl #4 + 80029e0: 430a orrs r2, r1 + 80029e2: 6183 str r3, [r0, #24] + 80029e4: 6202 str r2, [r0, #32] + 80029e6: 6883 ldr r3, [r0, #8] + 80029e8: f023 0370 bic.w r3, r3, #112 @ 0x70 + 80029ec: f043 0347 orr.w r3, r3, #71 @ 0x47 + 80029f0: e7c4 b.n 800297c + 80029f2: 4602 mov r2, r0 + 80029f4: e78e b.n 8002914 ... -08002838 : - 8002838: b538 push {r3, r4, r5, lr} - 800283a: 4d05 ldr r5, [pc, #20] ; (8002850 ) - 800283c: 2409 movs r4, #9 - 800283e: 3c01 subs r4, #1 - 8002840: f855 0b04 ldr.w r0, [r5], #4 - 8002844: b2a4 uxth r4, r4 - 8002846: f7ff ffe3 bl 8002810 - 800284a: 2c00 cmp r4, #0 - 800284c: d1f7 bne.n 800283e - 800284e: bd38 pop {r3, r4, r5, pc} - 8002850: 0800a8c0 .word 0x0800a8c0 +080029f8 : + 80029f8: b530 push {r4, r5, lr} + 80029fa: f890 303c ldrb.w r3, [r0, #60] @ 0x3c + 80029fe: 2b01 cmp r3, #1 + 8002a00: 4602 mov r2, r0 + 8002a02: f04f 0002 mov.w r0, #2 + 8002a06: d032 beq.n 8002a6e + 8002a08: 6813 ldr r3, [r2, #0] + 8002a0a: f882 003d strb.w r0, [r2, #61] @ 0x3d + 8002a0e: 685c ldr r4, [r3, #4] + 8002a10: 680d ldr r5, [r1, #0] + 8002a12: 6898 ldr r0, [r3, #8] + 8002a14: f024 0470 bic.w r4, r4, #112 @ 0x70 + 8002a18: 432c orrs r4, r5 + 8002a1a: 605c str r4, [r3, #4] + 8002a1c: 4c14 ldr r4, [pc, #80] @ (8002a70 ) + 8002a1e: 42a3 cmp r3, r4 + 8002a20: d01a beq.n 8002a58 + 8002a22: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 8002a26: d017 beq.n 8002a58 + 8002a28: f5a4 447c sub.w r4, r4, #64512 @ 0xfc00 + 8002a2c: 42a3 cmp r3, r4 + 8002a2e: d013 beq.n 8002a58 + 8002a30: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8002a34: 42a3 cmp r3, r4 + 8002a36: d00f beq.n 8002a58 + 8002a38: f504 6480 add.w r4, r4, #1024 @ 0x400 + 8002a3c: 42a3 cmp r3, r4 + 8002a3e: d00b beq.n 8002a58 + 8002a40: f504 4478 add.w r4, r4, #63488 @ 0xf800 + 8002a44: 42a3 cmp r3, r4 + 8002a46: d007 beq.n 8002a58 + 8002a48: f504 5470 add.w r4, r4, #15360 @ 0x3c00 + 8002a4c: 42a3 cmp r3, r4 + 8002a4e: d003 beq.n 8002a58 + 8002a50: f5a4 3494 sub.w r4, r4, #75776 @ 0x12800 + 8002a54: 42a3 cmp r3, r4 + 8002a56: d104 bne.n 8002a62 + 8002a58: 6849 ldr r1, [r1, #4] + 8002a5a: f020 0080 bic.w r0, r0, #128 @ 0x80 + 8002a5e: 4301 orrs r1, r0 + 8002a60: 6099 str r1, [r3, #8] + 8002a62: 2301 movs r3, #1 + 8002a64: 2000 movs r0, #0 + 8002a66: f882 303d strb.w r3, [r2, #61] @ 0x3d + 8002a6a: f882 003c strb.w r0, [r2, #60] @ 0x3c + 8002a6e: bd30 pop {r4, r5, pc} + 8002a70: 40010000 .word 0x40010000 -08002854 : - 8002854: b510 push {r4, lr} - 8002856: 4604 mov r4, r0 - 8002858: b120 cbz r0, 8002864 - 800285a: e8bd 4010 ldmia.w sp!, {r4, lr} - 800285e: 6880 ldr r0, [r0, #8] - 8002860: f7ff bfc0 b.w 80027e4 - 8002864: 4b04 ldr r3, [pc, #16] ; (8002878 ) - 8002866: 4905 ldr r1, [pc, #20] ; (800287c ) - 8002868: 4805 ldr r0, [pc, #20] ; (8002880 ) - 800286a: f44f 729e mov.w r2, #316 ; 0x13c - 800286e: f006 fd9b bl 80093a8 - 8002872: 4620 mov r0, r4 - 8002874: bd10 pop {r4, pc} - 8002876: bf00 nop - 8002878: 0800a797 .word 0x0800a797 - 800287c: 0800a80a .word 0x0800a80a - 8002880: 0800a54d .word 0x0800a54d +08002a74 : + 8002a74: 4770 bx lr -08002884 : - 8002884: 2808 cmp r0, #8 - 8002886: b508 push {r3, lr} - 8002888: d807 bhi.n 800289a - 800288a: 4b08 ldr r3, [pc, #32] ; (80028ac ) - 800288c: f853 3020 ldr.w r3, [r3, r0, lsl #2] - 8002890: 6898 ldr r0, [r3, #8] - 8002892: e8bd 4008 ldmia.w sp!, {r3, lr} - 8002896: f7ff bfa5 b.w 80027e4 - 800289a: 4b05 ldr r3, [pc, #20] ; (80028b0 ) - 800289c: 4905 ldr r1, [pc, #20] ; (80028b4 ) - 800289e: 4806 ldr r0, [pc, #24] ; (80028b8 ) - 80028a0: f240 1257 movw r2, #343 ; 0x157 - 80028a4: f006 fd80 bl 80093a8 - 80028a8: 2000 movs r0, #0 - 80028aa: bd08 pop {r3, pc} - 80028ac: 0800a8c0 .word 0x0800a8c0 - 80028b0: 0800a797 .word 0x0800a797 - 80028b4: 0800a81c .word 0x0800a81c - 80028b8: 0800a54d .word 0x0800a54d +08002a76 : + 8002a76: 4770 bx lr -080028bc : - 80028bc: b940 cbnz r0, 80028d0 - 80028be: 4b06 ldr r3, [pc, #24] ; (80028d8 ) - 80028c0: 4906 ldr r1, [pc, #24] ; (80028dc ) - 80028c2: 4807 ldr r0, [pc, #28] ; (80028e0 ) - 80028c4: f240 1295 movw r2, #405 ; 0x195 - 80028c8: f006 bd6e b.w 80093a8 - 80028cc: f7ff bf72 b.w 80027b4 - 80028d0: 2900 cmp r1, #0 - 80028d2: d1fb bne.n 80028cc - 80028d4: 4770 bx lr - 80028d6: bf00 nop - 80028d8: 0800a797 .word 0x0800a797 - 80028dc: 0800a80a .word 0x0800a80a - 80028e0: 0800a54d .word 0x0800a54d +08002a78 : + 8002a78: 680a ldr r2, [r1, #0] + 8002a7a: f850 3022 ldr.w r3, [r0, r2, lsl #2] + 8002a7e: f023 0301 bic.w r3, r3, #1 + 8002a82: b5f0 push {r4, r5, r6, r7, lr} + 8002a84: 688d ldr r5, [r1, #8] + 8002a86: f840 3022 str.w r3, [r0, r2, lsl #2] + 8002a8a: 684b ldr r3, [r1, #4] + 8002a8c: 68cf ldr r7, [r1, #12] + 8002a8e: 6b4c ldr r4, [r1, #52] @ 0x34 + 8002a90: f850 6022 ldr.w r6, [r0, r2, lsl #2] + 8002a94: 432b orrs r3, r5 + 8002a96: 433b orrs r3, r7 + 8002a98: 690f ldr r7, [r1, #16] + 8002a9a: 433b orrs r3, r7 + 8002a9c: 694f ldr r7, [r1, #20] + 8002a9e: 433b orrs r3, r7 + 8002aa0: 69cf ldr r7, [r1, #28] + 8002aa2: 433b orrs r3, r7 + 8002aa4: 6a0f ldr r7, [r1, #32] + 8002aa6: 433b orrs r3, r7 + 8002aa8: 6a4f ldr r7, [r1, #36] @ 0x24 + 8002aaa: 433b orrs r3, r7 + 8002aac: 6a8f ldr r7, [r1, #40] @ 0x28 + 8002aae: 433b orrs r3, r7 + 8002ab0: 6acf ldr r7, [r1, #44] @ 0x2c + 8002ab2: 433b orrs r3, r7 + 8002ab4: 6b0f ldr r7, [r1, #48] @ 0x30 + 8002ab6: 433b orrs r3, r7 + 8002ab8: 698f ldr r7, [r1, #24] + 8002aba: 6bc9 ldr r1, [r1, #60] @ 0x3c + 8002abc: 433b orrs r3, r7 + 8002abe: 4323 orrs r3, r4 + 8002ac0: 430b orrs r3, r1 + 8002ac2: 490a ldr r1, [pc, #40] @ (8002aec ) + 8002ac4: 4031 ands r1, r6 + 8002ac6: 430b orrs r3, r1 + 8002ac8: f1a5 0108 sub.w r1, r5, #8 + 8002acc: 424d negs r5, r1 + 8002ace: 414d adcs r5, r1 + 8002ad0: ea43 1385 orr.w r3, r3, r5, lsl #6 + 8002ad4: f5b4 1f80 cmp.w r4, #1048576 @ 0x100000 + 8002ad8: f840 3022 str.w r3, [r0, r2, lsl #2] + 8002adc: d104 bne.n 8002ae8 + 8002ade: b11a cbz r2, 8002ae8 + 8002ae0: 6803 ldr r3, [r0, #0] + 8002ae2: f443 1380 orr.w r3, r3, #1048576 @ 0x100000 + 8002ae6: 6003 str r3, [r0, #0] + 8002ae8: 2000 movs r0, #0 + 8002aea: bdf0 pop {r4, r5, r6, r7, pc} + 8002aec: ffe00080 .word 0xffe00080 -080028e4 : - 80028e4: 2808 cmp r0, #8 - 80028e6: d906 bls.n 80028f6 - 80028e8: 4b06 ldr r3, [pc, #24] ; (8002904 ) - 80028ea: 4907 ldr r1, [pc, #28] ; (8002908 ) - 80028ec: 4807 ldr r0, [pc, #28] ; (800290c ) - 80028ee: f44f 72d5 mov.w r2, #426 ; 0x1aa - 80028f2: f006 bd59 b.w 80093a8 - 80028f6: b121 cbz r1, 8002902 - 80028f8: 4b05 ldr r3, [pc, #20] ; (8002910 ) - 80028fa: f853 0020 ldr.w r0, [r3, r0, lsl #2] - 80028fe: f7ff bf59 b.w 80027b4 - 8002902: 4770 bx lr - 8002904: 0800a797 .word 0x0800a797 - 8002908: 0800a839 .word 0x0800a839 - 800290c: 0800a54d .word 0x0800a54d - 8002910: 0800a8c0 .word 0x0800a8c0 +08002af0 : + 8002af0: b5f0 push {r4, r5, r6, r7, lr} + 8002af2: 680b ldr r3, [r1, #0] + 8002af4: 698f ldr r7, [r1, #24] + 8002af6: 690d ldr r5, [r1, #16] + 8002af8: 433b orrs r3, r7 + 8002afa: 684f ldr r7, [r1, #4] + 8002afc: ea43 1307 orr.w r3, r3, r7, lsl #4 + 8002b00: 688f ldr r7, [r1, #8] + 8002b02: eb00 0282 add.w r2, r0, r2, lsl #2 + 8002b06: ea43 2307 orr.w r3, r3, r7, lsl #8 + 8002b0a: 68cf ldr r7, [r1, #12] + 8002b0c: 6949 ldr r1, [r1, #20] + 8002b0e: 6856 ldr r6, [r2, #4] + 8002b10: 3d01 subs r5, #1 + 8002b12: ea43 4307 orr.w r3, r3, r7, lsl #16 + 8002b16: 3902 subs r1, #2 + 8002b18: ea43 5305 orr.w r3, r3, r5, lsl #20 + 8002b1c: ea43 6301 orr.w r3, r3, r1, lsl #24 + 8002b20: f006 4140 and.w r1, r6, #3221225472 @ 0xc0000000 + 8002b24: 430b orrs r3, r1 + 8002b26: 6053 str r3, [r2, #4] + 8002b28: 6803 ldr r3, [r0, #0] + 8002b2a: 02db lsls r3, r3, #11 + 8002b2c: ea4f 5405 mov.w r4, r5, lsl #20 + 8002b30: d508 bpl.n 8002b44 + 8002b32: 6842 ldr r2, [r0, #4] + 8002b34: 6843 ldr r3, [r0, #4] + 8002b36: f422 0270 bic.w r2, r2, #15728640 @ 0xf00000 + 8002b3a: f423 0370 bic.w r3, r3, #15728640 @ 0xf00000 + 8002b3e: 4314 orrs r4, r2 + 8002b40: 4323 orrs r3, r4 + 8002b42: 6043 str r3, [r0, #4] + 8002b44: 2000 movs r0, #0 + 8002b46: bdf0 pop {r4, r5, r6, r7, pc} -08002914 : - 8002914: f06f 000b mvn.w r0, #11 - 8002918: 4770 bx lr +08002b48 : + 8002b48: f5b3 4f80 cmp.w r3, #16384 @ 0x4000 + 8002b4c: b530 push {r4, r5, lr} + 8002b4e: d114 bne.n 8002b7a + 8002b50: 698d ldr r5, [r1, #24] + 8002b52: 680b ldr r3, [r1, #0] + 8002b54: f850 4022 ldr.w r4, [r0, r2, lsl #2] + 8002b58: 432b orrs r3, r5 + 8002b5a: 684d ldr r5, [r1, #4] + 8002b5c: ea43 1305 orr.w r3, r3, r5, lsl #4 + 8002b60: 688d ldr r5, [r1, #8] + 8002b62: 68c9 ldr r1, [r1, #12] + 8002b64: ea43 2305 orr.w r3, r3, r5, lsl #8 + 8002b68: ea43 4301 orr.w r3, r3, r1, lsl #16 + 8002b6c: 4904 ldr r1, [pc, #16] @ (8002b80 ) + 8002b6e: 4021 ands r1, r4 + 8002b70: 430b orrs r3, r1 + 8002b72: f840 3022 str.w r3, [r0, r2, lsl #2] + 8002b76: 2000 movs r0, #0 + 8002b78: bd30 pop {r4, r5, pc} + 8002b7a: f06f 4370 mvn.w r3, #4026531840 @ 0xf0000000 + 8002b7e: e7f8 b.n 8002b72 + 8002b80: cff00000 .word 0xcff00000 + +08002b84 : + 8002b84: 4770 bx lr ... -0800291c : - 800291c: b510 push {r4, lr} - 800291e: 4604 mov r4, r0 - 8002920: b930 cbnz r0, 8002930 - 8002922: 4b0c ldr r3, [pc, #48] ; (8002954 ) - 8002924: 490c ldr r1, [pc, #48] ; (8002958 ) - 8002926: 480d ldr r0, [pc, #52] ; (800295c ) - 8002928: f240 326d movw r2, #877 ; 0x36d - 800292c: f006 fd3c bl 80093a8 - 8002930: f894 3031 ldrb.w r3, [r4, #49] ; 0x31 - 8002934: f003 0205 and.w r2, r3, #5 - 8002938: 2a05 cmp r2, #5 - 800293a: d109 bne.n 8002950 - 800293c: 6862 ldr r2, [r4, #4] - 800293e: b13a cbz r2, 8002950 - 8002940: 071b lsls r3, r3, #28 - 8002942: d505 bpl.n 8002950 - 8002944: 1d21 adds r1, r4, #4 - 8002946: 4620 mov r0, r4 - 8002948: e8bd 4010 ldmia.w sp!, {r4, lr} - 800294c: f005 bb6a b.w 8008024 - 8002950: bd10 pop {r4, pc} - 8002952: bf00 nop - 8002954: 0800a8e4 .word 0x0800a8e4 - 8002958: 0800a915 .word 0x0800a915 - 800295c: 0800a54d .word 0x0800a54d +08002b88 : + 8002b88: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 8002b8a: f000 fa81 bl 8003090 + 8002b8e: f7fe f841 bl 8000c14 + 8002b92: 4d17 ldr r5, [pc, #92] @ (8002bf0 ) + 8002b94: 4e17 ldr r6, [pc, #92] @ (8002bf4 ) + 8002b96: 6028 str r0, [r5, #0] + 8002b98: 4817 ldr r0, [pc, #92] @ (8002bf8 ) + 8002b9a: 4c18 ldr r4, [pc, #96] @ (8002bfc ) + 8002b9c: f006 fd9c bl 80096d8 + 8002ba0: 6030 str r0, [r6, #0] + 8002ba2: 4817 ldr r0, [pc, #92] @ (8002c00 ) + 8002ba4: f006 fd98 bl 80096d8 + 8002ba8: 4b16 ldr r3, [pc, #88] @ (8002c04 ) + 8002baa: 4a17 ldr r2, [pc, #92] @ (8002c08 ) + 8002bac: 6018 str r0, [r3, #0] + 8002bae: 9202 str r2, [sp, #8] + 8002bb0: 4a16 ldr r2, [pc, #88] @ (8002c0c ) + 8002bb2: 9201 str r2, [sp, #4] + 8002bb4: 2200 movs r2, #0 + 8002bb6: 9200 str r2, [sp, #0] + 8002bb8: 4629 mov r1, r5 + 8002bba: 4632 mov r2, r6 + 8002bbc: 4620 mov r0, r4 + 8002bbe: f000 fda1 bl 8003704 + 8002bc2: 4620 mov r0, r4 + 8002bc4: f000 fe2c bl 8003820 + 8002bc8: f894 3031 ldrb.w r3, [r4, #49] @ 0x31 + 8002bcc: 075b lsls r3, r3, #29 + 8002bce: 4620 mov r0, r4 + 8002bd0: d50b bpl.n 8002bea + 8002bd2: f000 fe2b bl 800382c + 8002bd6: 490e ldr r1, [pc, #56] @ (8002c10 ) + 8002bd8: 4808 ldr r0, [pc, #32] @ (8002bfc ) + 8002bda: f000 fe9f bl 800391c + 8002bde: 4807 ldr r0, [pc, #28] @ (8002bfc ) + 8002be0: b004 add sp, #16 + 8002be2: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 8002be6: f005 bd4b b.w 8008680 + 8002bea: f000 fe39 bl 8003860 + 8002bee: e7f2 b.n 8002bd6 + 8002bf0: 20000f10 .word 0x20000f10 + 8002bf4: 20000f0c .word 0x20000f0c + 8002bf8: 0800b073 .word 0x0800b073 + 8002bfc: 20000f14 .word 0x20000f14 + 8002c00: 0800b081 .word 0x0800b081 + 8002c04: 20000f08 .word 0x20000f08 + 8002c08: 08009e69 .word 0x08009e69 + 8002c0c: 08002f09 .word 0x08002f09 + 8002c10: 08002b85 .word 0x08002b85 -08002960 : - 8002960: b573 push {r0, r1, r4, r5, r6, lr} - 8002962: 4605 mov r5, r0 - 8002964: 4616 mov r6, r2 - 8002966: 460c mov r4, r1 - 8002968: b931 cbnz r1, 8002978 - 800296a: 4b0e ldr r3, [pc, #56] ; (80029a4 ) - 800296c: 490e ldr r1, [pc, #56] ; (80029a8 ) - 800296e: 480f ldr r0, [pc, #60] ; (80029ac ) - 8002970: f240 12cb movw r2, #459 ; 0x1cb - 8002974: f006 fd18 bl 80093a8 - 8002978: 686b ldr r3, [r5, #4] - 800297a: 6822 ldr r2, [r4, #0] - 800297c: 429a cmp r2, r3 - 800297e: d00f beq.n 80029a0 - 8002980: 6033 str r3, [r6, #0] - 8002982: a901 add r1, sp, #4 - 8002984: 4630 mov r0, r6 - 8002986: 9201 str r2, [sp, #4] - 8002988: f000 ff24 bl 80037d4 - 800298c: a901 add r1, sp, #4 - 800298e: 4630 mov r0, r6 - 8002990: f004 f882 bl 8006a98 - 8002994: 6823 ldr r3, [r4, #0] - 8002996: 606b str r3, [r5, #4] - 8002998: 2101 movs r1, #1 - 800299a: 4628 mov r0, r5 - 800299c: f7ff ffbe bl 800291c - 80029a0: b002 add sp, #8 - 80029a2: bd70 pop {r4, r5, r6, pc} - 80029a4: 0800a8e4 .word 0x0800a8e4 - 80029a8: 0800a938 .word 0x0800a938 - 80029ac: 0800a54d .word 0x0800a54d +08002c14 : + 8002c14: b510 push {r4, lr} + 8002c16: 480a ldr r0, [pc, #40] @ (8002c40 ) + 8002c18: 4c0a ldr r4, [pc, #40] @ (8002c44 ) + 8002c1a: f000 f87d bl 8002d18 + 8002c1e: f004 fab5 bl 800718c + 8002c22: f7fe fa15 bl 8001050 + 8002c26: 6823 ldr r3, [r4, #0] + 8002c28: 1ac0 subs r0, r0, r3 + 8002c2a: 2863 cmp r0, #99 @ 0x63 + 8002c2c: d907 bls.n 8002c3e + 8002c2e: f7fe fa0f bl 8001050 + 8002c32: 6020 str r0, [r4, #0] + 8002c34: e8bd 4010 ldmia.w sp!, {r4, lr} + 8002c38: 4801 ldr r0, [pc, #4] @ (8002c40 ) + 8002c3a: f000 b91f b.w 8002e7c + 8002c3e: bd10 pop {r4, pc} + 8002c40: 20000f14 .word 0x20000f14 + 8002c44: 20000f4c .word 0x20000f4c -080029b0 : - 80029b0: 4770 bx lr +08002c48 : + 8002c48: 2000 movs r0, #0 + 8002c4a: 4770 bx lr + +08002c4c : + 8002c4c: b530 push {r4, r5, lr} + 8002c4e: b08d sub sp, #52 @ 0x34 + 8002c50: 460d mov r5, r1 + 8002c52: 2230 movs r2, #48 @ 0x30 + 8002c54: 2100 movs r1, #0 + 8002c56: 4668 mov r0, sp + 8002c58: f007 faf3 bl 800a242 + 8002c5c: 462c mov r4, r5 + 8002c5e: 466b mov r3, sp + 8002c60: 2200 movs r2, #0 + 8002c62: b964 cbnz r4, 8002c7e + 8002c64: 490f ldr r1, [pc, #60] @ (8002ca4 ) + 8002c66: 892b ldrh r3, [r5, #8] + 8002c68: 480f ldr r0, [pc, #60] @ (8002ca8 ) + 8002c6a: 604b str r3, [r1, #4] + 8002c6c: 2214 movs r2, #20 + 8002c6e: f8c1 d008 str.w sp, [r1, #8] + 8002c72: 634d str r5, [r1, #52] @ 0x34 + 8002c74: f7fe fd82 bl 800177c + 8002c78: 4620 mov r0, r4 + 8002c7a: b00d add sp, #52 @ 0x34 + 8002c7c: bd30 pop {r4, r5, pc} + 8002c7e: 2a04 cmp r2, #4 + 8002c80: d00c beq.n 8002c9c + 8002c82: 6861 ldr r1, [r4, #4] + 8002c84: 6019 str r1, [r3, #0] + 8002c86: 8961 ldrh r1, [r4, #10] + 8002c88: 6059 str r1, [r3, #4] + 8002c8a: b10a cbz r2, 8002c90 + 8002c8c: f843 3c04 str.w r3, [r3, #-4] + 8002c90: 6824 ldr r4, [r4, #0] + 8002c92: b904 cbnz r4, 8002c96 + 8002c94: 609c str r4, [r3, #8] + 8002c96: 3201 adds r2, #1 + 8002c98: 330c adds r3, #12 + 8002c9a: e7e2 b.n 8002c62 + 8002c9c: f06f 000b mvn.w r0, #11 + 8002ca0: e7eb b.n 8002c7a + 8002ca2: bf00 nop + 8002ca4: 20000f70 .word 0x20000f70 + 8002ca8: 20000fa8 .word 0x20000fa8 + +08002cac : + 8002cac: b508 push {r3, lr} + 8002cae: 4601 mov r1, r0 + 8002cb0: 4804 ldr r0, [pc, #16] @ (8002cc4 ) + 8002cb2: f000 fc8f bl 80035d4 + 8002cb6: 4b04 ldr r3, [pc, #16] @ (8002cc8 ) + 8002cb8: 781a ldrb r2, [r3, #0] + 8002cba: 2a01 cmp r2, #1 + 8002cbc: bf04 itt eq + 8002cbe: 2200 moveq r2, #0 + 8002cc0: 701a strbeq r2, [r3, #0] + 8002cc2: bd08 pop {r3, pc} + 8002cc4: 0800b0e0 .word 0x0800b0e0 + 8002cc8: 20001198 .word 0x20001198 + +08002ccc : + 8002ccc: f7fe b9c0 b.w 8001050 + +08002cd0 : + 8002cd0: b508 push {r3, lr} + 8002cd2: 4802 ldr r0, [pc, #8] @ (8002cdc ) + 8002cd4: f7fe fedc bl 8001a90 + 8002cd8: 2000 movs r0, #0 + 8002cda: bd08 pop {r3, pc} + 8002cdc: 20000fa8 .word 0x20000fa8 + +08002ce0 : + 8002ce0: b508 push {r3, lr} + 8002ce2: 4613 mov r3, r2 + 8002ce4: 460a mov r2, r1 + 8002ce6: 4601 mov r1, r0 + 8002ce8: 4803 ldr r0, [pc, #12] @ (8002cf8 ) + 8002cea: f7fe fe18 bl 800191e + 8002cee: 3800 subs r0, #0 + 8002cf0: bf18 it ne + 8002cf2: 2001 movne r0, #1 + 8002cf4: 4240 negs r0, r0 + 8002cf6: bd08 pop {r3, pc} + 8002cf8: 20000fa8 .word 0x20000fa8 + +08002cfc : + 8002cfc: b508 push {r3, lr} + 8002cfe: 4613 mov r3, r2 + 8002d00: 460a mov r2, r1 + 8002d02: 4601 mov r1, r0 + 8002d04: 4803 ldr r0, [pc, #12] @ (8002d14 ) + 8002d06: f7fe fe31 bl 800196c + 8002d0a: 3800 subs r0, #0 + 8002d0c: bf18 it ne + 8002d0e: 2001 movne r0, #1 + 8002d10: 4240 negs r0, r0 + 8002d12: bd08 pop {r3, pc} + 8002d14: 20000fa8 .word 0x20000fa8 + +08002d18 : + 8002d18: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} + 8002d1c: 4f0d ldr r7, [pc, #52] @ (8002d54 ) + 8002d1e: f8df 8038 ldr.w r8, [pc, #56] @ 8002d58 + 8002d22: 4604 mov r4, r0 + 8002d24: 2600 movs r6, #0 + 8002d26: 783b ldrb r3, [r7, #0] + 8002d28: 9601 str r6, [sp, #4] + 8002d2a: b91b cbnz r3, 8002d34 + 8002d2c: a901 add r1, sp, #4 + 8002d2e: 4640 mov r0, r8 + 8002d30: f7fe fd7a bl 8001828 + 8002d34: 9d01 ldr r5, [sp, #4] + 8002d36: b14d cbz r5, 8002d4c + 8002d38: 6923 ldr r3, [r4, #16] + 8002d3a: 4621 mov r1, r4 + 8002d3c: 4628 mov r0, r5 + 8002d3e: 4798 blx r3 + 8002d40: 2800 cmp r0, #0 + 8002d42: d0f0 beq.n 8002d26 + 8002d44: 4628 mov r0, r5 + 8002d46: f000 febb bl 8003ac0 + 8002d4a: e7ec b.n 8002d26 + 8002d4c: b002 add sp, #8 + 8002d4e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8002d52: bf00 nop + 8002d54: 20001198 .word 0x20001198 + 8002d58: 20000fa8 .word 0x20000fa8 + +08002d5c : + 8002d5c: f7fe b978 b.w 8001050 + +08002d60 : + 8002d60: b5f0 push {r4, r5, r6, r7, lr} + 8002d62: 4604 mov r4, r0 + 8002d64: b08d sub sp, #52 @ 0x34 + 8002d66: 2214 movs r2, #20 + 8002d68: 2100 movs r1, #0 + 8002d6a: a807 add r0, sp, #28 + 8002d6c: f007 fa69 bl 800a242 + 8002d70: 6822 ldr r2, [r4, #0] + 8002d72: 4b3d ldr r3, [pc, #244] @ (8002e68 ) + 8002d74: 429a cmp r2, r3 + 8002d76: d174 bne.n 8002e62 + 8002d78: f5a3 4390 sub.w r3, r3, #18432 @ 0x4800 + 8002d7c: 2400 movs r4, #0 + 8002d7e: 9400 str r4, [sp, #0] + 8002d80: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002d82: 483a ldr r0, [pc, #232] @ (8002e6c ) + 8002d84: f042 7200 orr.w r2, r2, #33554432 @ 0x2000000 + 8002d88: 631a str r2, [r3, #48] @ 0x30 + 8002d8a: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002d8c: f002 7200 and.w r2, r2, #33554432 @ 0x2000000 + 8002d90: 9200 str r2, [sp, #0] + 8002d92: 9a00 ldr r2, [sp, #0] + 8002d94: 9401 str r4, [sp, #4] + 8002d96: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002d98: f042 6280 orr.w r2, r2, #67108864 @ 0x4000000 + 8002d9c: 631a str r2, [r3, #48] @ 0x30 + 8002d9e: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002da0: f002 6280 and.w r2, r2, #67108864 @ 0x4000000 + 8002da4: 9201 str r2, [sp, #4] + 8002da6: 9a01 ldr r2, [sp, #4] + 8002da8: 9402 str r4, [sp, #8] + 8002daa: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002dac: f042 6200 orr.w r2, r2, #134217728 @ 0x8000000 + 8002db0: 631a str r2, [r3, #48] @ 0x30 + 8002db2: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002db4: f002 6200 and.w r2, r2, #134217728 @ 0x8000000 + 8002db8: 9202 str r2, [sp, #8] + 8002dba: 9a02 ldr r2, [sp, #8] + 8002dbc: 9403 str r4, [sp, #12] + 8002dbe: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002dc0: f042 0204 orr.w r2, r2, #4 + 8002dc4: 631a str r2, [r3, #48] @ 0x30 + 8002dc6: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002dc8: f002 0204 and.w r2, r2, #4 + 8002dcc: 9203 str r2, [sp, #12] + 8002dce: 9a03 ldr r2, [sp, #12] + 8002dd0: 9404 str r4, [sp, #16] + 8002dd2: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002dd4: f042 0201 orr.w r2, r2, #1 + 8002dd8: 631a str r2, [r3, #48] @ 0x30 + 8002dda: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002ddc: f002 0201 and.w r2, r2, #1 + 8002de0: 9204 str r2, [sp, #16] + 8002de2: 9a04 ldr r2, [sp, #16] + 8002de4: 9405 str r4, [sp, #20] + 8002de6: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002de8: f042 0202 orr.w r2, r2, #2 + 8002dec: 631a str r2, [r3, #48] @ 0x30 + 8002dee: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002df0: f002 0202 and.w r2, r2, #2 + 8002df4: 9205 str r2, [sp, #20] + 8002df6: 9a05 ldr r2, [sp, #20] + 8002df8: 9406 str r4, [sp, #24] + 8002dfa: 6b1a ldr r2, [r3, #48] @ 0x30 + 8002dfc: f042 0240 orr.w r2, r2, #64 @ 0x40 + 8002e00: 631a str r2, [r3, #48] @ 0x30 + 8002e02: 6b1b ldr r3, [r3, #48] @ 0x30 + 8002e04: f003 0340 and.w r3, r3, #64 @ 0x40 + 8002e08: 9306 str r3, [sp, #24] + 8002e0a: 2702 movs r7, #2 + 8002e0c: 2603 movs r6, #3 + 8002e0e: 250b movs r5, #11 + 8002e10: 9b06 ldr r3, [sp, #24] + 8002e12: a907 add r1, sp, #28 + 8002e14: 2332 movs r3, #50 @ 0x32 + 8002e16: e9cd 3707 strd r3, r7, [sp, #28] + 8002e1a: e9cd 650a strd r6, r5, [sp, #40] @ 0x28 + 8002e1e: f7ff f83f bl 8001ea0 + 8002e22: 2386 movs r3, #134 @ 0x86 + 8002e24: 4812 ldr r0, [pc, #72] @ (8002e70 ) + 8002e26: 950b str r5, [sp, #44] @ 0x2c + 8002e28: a907 add r1, sp, #28 + 8002e2a: e9cd 3707 strd r3, r7, [sp, #28] + 8002e2e: e9cd 4609 strd r4, r6, [sp, #36] @ 0x24 + 8002e32: f7ff f835 bl 8001ea0 + 8002e36: f44f 53c0 mov.w r3, #6144 @ 0x1800 + 8002e3a: 480e ldr r0, [pc, #56] @ (8002e74 ) + 8002e3c: 950b str r5, [sp, #44] @ 0x2c + 8002e3e: a907 add r1, sp, #28 + 8002e40: e9cd 3707 strd r3, r7, [sp, #28] + 8002e44: e9cd 4609 strd r4, r6, [sp, #36] @ 0x24 + 8002e48: f7ff f82a bl 8001ea0 + 8002e4c: f44f 4380 mov.w r3, #16384 @ 0x4000 + 8002e50: 4809 ldr r0, [pc, #36] @ (8002e78 ) + 8002e52: 950b str r5, [sp, #44] @ 0x2c + 8002e54: a907 add r1, sp, #28 + 8002e56: e9cd 3707 strd r3, r7, [sp, #28] + 8002e5a: e9cd 4609 strd r4, r6, [sp, #36] @ 0x24 + 8002e5e: f7ff f81f bl 8001ea0 + 8002e62: b00d add sp, #52 @ 0x34 + 8002e64: bdf0 pop {r4, r5, r6, r7, pc} + 8002e66: bf00 nop + 8002e68: 40028000 .word 0x40028000 + 8002e6c: 40020800 .word 0x40020800 + 8002e70: 40020000 .word 0x40020000 + 8002e74: 40020400 .word 0x40020400 + 8002e78: 40021800 .word 0x40021800 + +08002e7c : + 8002e7c: b570 push {r4, r5, r6, lr} + 8002e7e: b09a sub sp, #104 @ 0x68 + 8002e80: 2264 movs r2, #100 @ 0x64 + 8002e82: 4604 mov r4, r0 + 8002e84: 2100 movs r1, #0 + 8002e86: a801 add r0, sp, #4 + 8002e88: f007 f9db bl 800a242 + 8002e8c: 481a ldr r0, [pc, #104] @ (8002ef8 ) + 8002e8e: f7fe f84b bl 8000f28 + 8002e92: f894 3031 ldrb.w r3, [r4, #49] @ 0x31 + 8002e96: 075a lsls r2, r3, #29 + 8002e98: d50e bpl.n 8002eb8 + 8002e9a: 2801 cmp r0, #1 + 8002e9c: dc0a bgt.n 8002eb4 + 8002e9e: 4817 ldr r0, [pc, #92] @ (8002efc ) + 8002ea0: f7fe fc3a bl 8001718 + 8002ea4: 4620 mov r0, r4 + 8002ea6: f000 fcdb bl 8003860 + 8002eaa: 4620 mov r0, r4 + 8002eac: f000 fd1c bl 80038e8 + 8002eb0: b01a add sp, #104 @ 0x68 + 8002eb2: bd70 pop {r4, r5, r6, pc} + 8002eb4: 075b lsls r3, r3, #29 + 8002eb6: d4fb bmi.n 8002eb0 + 8002eb8: 2801 cmp r0, #1 + 8002eba: ddf9 ble.n 8002eb0 + 8002ebc: 1e83 subs r3, r0, #2 + 8002ebe: 2b03 cmp r3, #3 + 8002ec0: d8f6 bhi.n 8002eb0 + 8002ec2: 4a0f ldr r2, [pc, #60] @ (8002f00 ) + 8002ec4: 480d ldr r0, [pc, #52] @ (8002efc ) + 8002ec6: f832 5013 ldrh.w r5, [r2, r3, lsl #1] + 8002eca: 4a0e ldr r2, [pc, #56] @ (8002f04 ) + 8002ecc: a901 add r1, sp, #4 + 8002ece: f832 6013 ldrh.w r6, [r2, r3, lsl #1] + 8002ed2: f7fe fd6f bl 80019b4 + 8002ed6: a901 add r1, sp, #4 + 8002ed8: 4808 ldr r0, [pc, #32] @ (8002efc ) + 8002eda: e9cd 5606 strd r5, r6, [sp, #24] + 8002ede: f7fe fdcb bl 8001a78 + 8002ee2: 4806 ldr r0, [pc, #24] @ (8002efc ) + 8002ee4: f7fe fbe2 bl 80016ac + 8002ee8: 4620 mov r0, r4 + 8002eea: f000 fc9f bl 800382c + 8002eee: 4620 mov r0, r4 + 8002ef0: f000 fcd2 bl 8003898 + 8002ef4: e7dc b.n 8002eb0 + 8002ef6: bf00 nop + 8002ef8: 20000f50 .word 0x20000f50 + 8002efc: 20000fa8 .word 0x20000fa8 + 8002f00: 0800b0d6 .word 0x0800b0d6 + 8002f04: 0800b0ce .word 0x0800b0ce + +08002f08 : + 8002f08: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 8002f0a: 4604 mov r4, r0 + 8002f0c: b930 cbnz r0, 8002f1c + 8002f0e: 4b32 ldr r3, [pc, #200] @ (8002fd8 ) + 8002f10: 4932 ldr r1, [pc, #200] @ (8002fdc ) + 8002f12: 4833 ldr r0, [pc, #204] @ (8002fe0 ) + 8002f14: f240 126b movw r2, #363 @ 0x16b + 8002f18: f007 f92e bl 800a178 + 8002f1c: f247 4373 movw r3, #29811 @ 0x7473 + 8002f20: 8663 strh r3, [r4, #50] @ 0x32 + 8002f22: 4b30 ldr r3, [pc, #192] @ (8002fe4 ) + 8002f24: 4d30 ldr r5, [pc, #192] @ (8002fe8 ) + 8002f26: 6163 str r3, [r4, #20] + 8002f28: 4b30 ldr r3, [pc, #192] @ (8002fec ) + 8002f2a: 61a3 str r3, [r4, #24] + 8002f2c: 4b30 ldr r3, [pc, #192] @ (8002ff0 ) + 8002f2e: 602b str r3, [r5, #0] + 8002f30: 4b30 ldr r3, [pc, #192] @ (8002ff4 ) + 8002f32: 9300 str r3, [sp, #0] + 8002f34: f44f 0300 mov.w r3, #8388608 @ 0x800000 + 8002f38: 60ab str r3, [r5, #8] + 8002f3a: 4b2f ldr r3, [pc, #188] @ (8002ff8 ) + 8002f3c: 60eb str r3, [r5, #12] + 8002f3e: 4b2f ldr r3, [pc, #188] @ (8002ffc ) + 8002f40: 612b str r3, [r5, #16] + 8002f42: 2700 movs r7, #0 + 8002f44: f44f 63c0 mov.w r3, #1536 @ 0x600 + 8002f48: 4628 mov r0, r5 + 8002f4a: 616b str r3, [r5, #20] + 8002f4c: f8ad 7004 strh.w r7, [sp, #4] + 8002f50: f8c5 d004 str.w sp, [r5, #4] + 8002f54: f7fe fac0 bl 80014d8 + 8002f58: 4b29 ldr r3, [pc, #164] @ (8003000 ) + 8002f5a: 4639 mov r1, r7 + 8002f5c: 4606 mov r6, r0 + 8002f5e: 2234 movs r2, #52 @ 0x34 + 8002f60: 4618 mov r0, r3 + 8002f62: f007 f96e bl 800a242 + 8002f66: 2221 movs r2, #33 @ 0x21 + 8002f68: f840 2c04 str.w r2, [r0, #-4] + 8002f6c: f44f 0240 mov.w r2, #12582912 @ 0xc00000 + 8002f70: 6102 str r2, [r0, #16] + 8002f72: 4824 ldr r0, [pc, #144] @ (8003004 ) + 8002f74: f000 fad8 bl 8003528 + 8002f78: 2306 movs r3, #6 + 8002f7a: f884 3030 strb.w r3, [r4, #48] @ 0x30 + 8002f7e: 686b ldr r3, [r5, #4] + 8002f80: 4921 ldr r1, [pc, #132] @ (8003008 ) + 8002f82: 781a ldrb r2, [r3, #0] + 8002f84: f884 202a strb.w r2, [r4, #42] @ 0x2a + 8002f88: 785a ldrb r2, [r3, #1] + 8002f8a: f884 202b strb.w r2, [r4, #43] @ 0x2b + 8002f8e: 789a ldrb r2, [r3, #2] + 8002f90: f884 202c strb.w r2, [r4, #44] @ 0x2c + 8002f94: 78da ldrb r2, [r3, #3] + 8002f96: f884 202d strb.w r2, [r4, #45] @ 0x2d + 8002f9a: 791a ldrb r2, [r3, #4] + 8002f9c: f884 202e strb.w r2, [r4, #46] @ 0x2e + 8002fa0: 795b ldrb r3, [r3, #5] + 8002fa2: f884 302f strb.w r3, [r4, #47] @ 0x2f + 8002fa6: f240 53dc movw r3, #1500 @ 0x5dc + 8002faa: 8523 strh r3, [r4, #40] @ 0x28 + 8002fac: f894 3031 ldrb.w r3, [r4, #49] @ 0x31 + 8002fb0: 4816 ldr r0, [pc, #88] @ (800300c ) + 8002fb2: f043 030a orr.w r3, r3, #10 + 8002fb6: f884 3031 strb.w r3, [r4, #49] @ 0x31 + 8002fba: f7fd ff40 bl 8000e3e + 8002fbe: 4813 ldr r0, [pc, #76] @ (800300c ) + 8002fc0: f7fd ff51 bl 8000e66 + 8002fc4: b92e cbnz r6, 8002fd2 + 8002fc6: 4620 mov r0, r4 + 8002fc8: f7ff ff58 bl 8002e7c + 8002fcc: 2000 movs r0, #0 + 8002fce: b003 add sp, #12 + 8002fd0: bdf0 pop {r4, r5, r6, r7, pc} + 8002fd2: f7fd fe1d bl 8000c10 + 8002fd6: e7f9 b.n 8002fcc + 8002fd8: 0800b08a .word 0x0800b08a + 8002fdc: 0800c9ee .word 0x0800c9ee + 8002fe0: 0800b0a6 .word 0x0800b0a6 + 8002fe4: 08008f41 .word 0x08008f41 + 8002fe8: 20000fa8 .word 0x20000fa8 + 8002fec: 08002c4d .word 0x08002c4d + 8002ff0: 40028000 .word 0x40028000 + 8002ff4: 00e18000 .word 0x00e18000 + 8002ff8: 20001058 .word 0x20001058 + 8002ffc: 200010f8 .word 0x200010f8 + 8003000: 20000f74 .word 0x20000f74 + 8003004: 0800b0e0 .word 0x0800b0e0 + 8003008: 2000000c .word 0x2000000c + 800300c: 20000f50 .word 0x20000f50 + +08003010 : + 8003010: b513 push {r0, r1, r4, lr} + 8003012: 4604 mov r4, r0 + 8003014: 480c ldr r0, [pc, #48] @ (8003048 ) + 8003016: f000 faa9 bl 800356c + 800301a: 4603 mov r3, r0 + 800301c: b178 cbz r0, 800303e + 800301e: f100 0220 add.w r2, r0, #32 + 8003022: 490a ldr r1, [pc, #40] @ (800304c ) + 8003024: 6022 str r2, [r4, #0] + 8003026: 6101 str r1, [r0, #16] + 8003028: f44f 61c0 mov.w r1, #1536 @ 0x600 + 800302c: e9cd 2100 strd r2, r1, [sp] + 8003030: 2100 movs r1, #0 + 8003032: 2241 movs r2, #65 @ 0x41 + 8003034: 4608 mov r0, r1 + 8003036: f000 fcf1 bl 8003a1c + 800303a: b002 add sp, #8 + 800303c: bd10 pop {r4, pc} + 800303e: 4a04 ldr r2, [pc, #16] @ (8003050 ) + 8003040: 6020 str r0, [r4, #0] + 8003042: 2101 movs r1, #1 + 8003044: 7011 strb r1, [r2, #0] + 8003046: e7f8 b.n 800303a + 8003048: 0800b0e0 .word 0x0800b0e0 + 800304c: 08002cad .word 0x08002cad + 8003050: 20001198 .word 0x20001198 + +08003054 : + 8003054: b530 push {r4, r5, lr} + 8003056: 2500 movs r5, #0 + 8003058: f842 5c20 str.w r5, [r2, #-32] + 800305c: f1a2 0420 sub.w r4, r2, #32 + 8003060: f822 5c18 strh.w r5, [r2, #-24] + 8003064: f822 3c16 strh.w r3, [r2, #-22] + 8003068: 6802 ldr r2, [r0, #0] + 800306a: b922 cbnz r2, 8003076 + 800306c: 6004 str r4, [r0, #0] + 800306e: 600c str r4, [r1, #0] + 8003070: 6802 ldr r2, [r0, #0] + 8003072: b91a cbnz r2, 800307c + 8003074: bd30 pop {r4, r5, pc} + 8003076: 680a ldr r2, [r1, #0] + 8003078: 6014 str r4, [r2, #0] + 800307a: e7f8 b.n 800306e + 800307c: 8911 ldrh r1, [r2, #8] + 800307e: 4419 add r1, r3 + 8003080: 8111 strh r1, [r2, #8] + 8003082: 6812 ldr r2, [r2, #0] + 8003084: e7f5 b.n 8003072 + +08003086 : + 8003086: ba40 rev16 r0, r0 + 8003088: b280 uxth r0, r0 + 800308a: 4770 bx lr + +0800308c : + 800308c: ba00 rev r0, r0 + 800308e: 4770 bx lr + +08003090 : + 8003090: b508 push {r3, lr} + 8003092: f000 f80d bl 80030b0 + 8003096: f000 fa5b bl 8003550 + 800309a: f000 fb05 bl 80036a8 + 800309e: f004 f8a1 bl 80071e4 + 80030a2: f000 ffb3 bl 800400c + 80030a6: e8bd 4008 ldmia.w sp!, {r3, lr} + 80030aa: f004 b85d b.w 8007168 ... -080029b4 : - 80029b4: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 80029b6: 4d14 ldr r5, [pc, #80] ; (8002a08 ) - 80029b8: 2900 cmp r1, #0 - 80029ba: bf14 ite ne - 80029bc: 460e movne r6, r1 - 80029be: 462e moveq r6, r5 - 80029c0: 2a00 cmp r2, #0 - 80029c2: bf14 ite ne - 80029c4: 4617 movne r7, r2 - 80029c6: 462f moveq r7, r5 - 80029c8: 2b00 cmp r3, #0 - 80029ca: bf18 it ne - 80029cc: 461d movne r5, r3 - 80029ce: 6833 ldr r3, [r6, #0] - 80029d0: 4604 mov r4, r0 - 80029d2: b9b3 cbnz r3, 8002a02 - 80029d4: aa01 add r2, sp, #4 - 80029d6: 4631 mov r1, r6 - 80029d8: f7ff ffc2 bl 8002960 - 80029dc: 2301 movs r3, #1 - 80029de: 683a ldr r2, [r7, #0] - 80029e0: 68a1 ldr r1, [r4, #8] - 80029e2: 428a cmp r2, r1 - 80029e4: bf18 it ne - 80029e6: 60a2 strne r2, [r4, #8] - 80029e8: 682a ldr r2, [r5, #0] - 80029ea: 68e1 ldr r1, [r4, #12] - 80029ec: 428a cmp r2, r1 - 80029ee: bf18 it ne - 80029f0: 60e2 strne r2, [r4, #12] - 80029f2: b923 cbnz r3, 80029fe - 80029f4: aa01 add r2, sp, #4 - 80029f6: 4631 mov r1, r6 - 80029f8: 4620 mov r0, r4 - 80029fa: f7ff ffb1 bl 8002960 - 80029fe: b003 add sp, #12 - 8002a00: bdf0 pop {r4, r5, r6, r7, pc} - 8002a02: 2300 movs r3, #0 - 8002a04: e7eb b.n 80029de - 8002a06: bf00 nop - 8002a08: 0800c304 .word 0x0800c304 +080030b0 : + 80030b0: 4b0a ldr r3, [pc, #40] @ (80030dc ) + 80030b2: 4a0b ldr r2, [pc, #44] @ (80030e0 ) + 80030b4: 480b ldr r0, [pc, #44] @ (80030e4 ) + 80030b6: f023 0303 bic.w r3, r3, #3 + 80030ba: 6013 str r3, [r2, #0] + 80030bc: f44f 3180 mov.w r1, #65536 @ 0x10000 + 80030c0: 2200 movs r2, #0 + 80030c2: e9c3 1200 strd r1, r2, [r3] + 80030c6: 721a strb r2, [r3, #8] + 80030c8: 185a adds r2, r3, r1 + 80030ca: 6002 str r2, [r0, #0] + 80030cc: 2001 movs r0, #1 + 80030ce: e9c2 1100 strd r1, r1, [r2] + 80030d2: 7210 strb r0, [r2, #8] + 80030d4: 4a04 ldr r2, [pc, #16] @ (80030e8 ) + 80030d6: 6013 str r3, [r2, #0] + 80030d8: 4770 bx lr + 80030da: bf00 nop + 80030dc: 20005b4b .word 0x20005b4b + 80030e0: 20005b44 .word 0x20005b44 + 80030e4: 20005b40 .word 0x20005b40 + 80030e8: 20005b3c .word 0x20005b3c -08002a0c : - 8002a0c: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8002a10: f8dd 802c ldr.w r8, [sp, #44] ; 0x2c - 8002a14: 4604 mov r4, r0 - 8002a16: b948 cbnz r0, 8002a2c - 8002a18: 4b3d ldr r3, [pc, #244] ; (8002b10 ) - 8002a1a: 493e ldr r1, [pc, #248] ; (8002b14 ) - 8002a1c: 483e ldr r0, [pc, #248] ; (8002b18 ) - 8002a1e: f240 1227 movw r2, #295 ; 0x127 - 8002a22: f006 fcc1 bl 80093a8 - 8002a26: 4620 mov r0, r4 - 8002a28: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8002a2c: f1b8 0f00 cmp.w r8, #0 - 8002a30: d108 bne.n 8002a44 - 8002a32: 4b37 ldr r3, [pc, #220] ; (8002b10 ) - 8002a34: 4939 ldr r1, [pc, #228] ; (8002b1c ) - 8002a36: 4838 ldr r0, [pc, #224] ; (8002b18 ) - 8002a38: f44f 7294 mov.w r2, #296 ; 0x128 - 8002a3c: f006 fcb4 bl 80093a8 - 8002a40: 4644 mov r4, r8 - 8002a42: e7f0 b.n 8002a26 - 8002a44: 4e36 ldr r6, [pc, #216] ; (8002b20 ) - 8002a46: 6146 str r6, [r0, #20] - 8002a48: 9e0a ldr r6, [sp, #40] ; 0x28 - 8002a4a: 6206 str r6, [r0, #32] - 8002a4c: 4e35 ldr r6, [pc, #212] ; (8002b24 ) - 8002a4e: f8df c0e0 ldr.w ip, [pc, #224] ; 8002b30 - 8002a52: 7837 ldrb r7, [r6, #0] - 8002a54: f880 7034 strb.w r7, [r0, #52] ; 0x34 - 8002a58: 2500 movs r5, #0 - 8002a5a: 9f0c ldr r7, [sp, #48] ; 0x30 - 8002a5c: 60c5 str r5, [r0, #12] - 8002a5e: e9c0 5501 strd r5, r5, [r0, #4] - 8002a62: 8505 strh r5, [r0, #40] ; 0x28 - 8002a64: f880 5031 strb.w r5, [r0, #49] ; 0x31 - 8002a68: 6245 str r5, [r0, #36] ; 0x24 - 8002a6a: 61c5 str r5, [r0, #28] - 8002a6c: 6107 str r7, [r0, #16] - 8002a6e: 42ab cmp r3, r5 - 8002a70: bf08 it eq - 8002a72: 4663 moveq r3, ip - 8002a74: 42aa cmp r2, r5 - 8002a76: bf08 it eq - 8002a78: 4662 moveq r2, ip - 8002a7a: 42a9 cmp r1, r5 - 8002a7c: bf08 it eq - 8002a7e: 4661 moveq r1, ip - 8002a80: f7ff ff98 bl 80029b4 - 8002a84: 4620 mov r0, r4 - 8002a86: 47c0 blx r8 - 8002a88: 2800 cmp r0, #0 - 8002a8a: d13f bne.n 8002b0c - 8002a8c: 4f26 ldr r7, [pc, #152] ; (8002b28 ) - 8002a8e: f8df b080 ldr.w fp, [pc, #128] ; 8002b10 - 8002a92: f894 3034 ldrb.w r3, [r4, #52] ; 0x34 - 8002a96: 683d ldr r5, [r7, #0] - 8002a98: f8df a098 ldr.w sl, [pc, #152] ; 8002b34 - 8002a9c: f8df 9078 ldr.w r9, [pc, #120] ; 8002b18 - 8002aa0: 2bff cmp r3, #255 ; 0xff - 8002aa2: bf04 itt eq - 8002aa4: 2300 moveq r3, #0 - 8002aa6: f884 3034 strbeq.w r3, [r4, #52] ; 0x34 - 8002aaa: f04f 0800 mov.w r8, #0 - 8002aae: b92d cbnz r5, 8002abc - 8002ab0: f894 3034 ldrb.w r3, [r4, #52] ; 0x34 - 8002ab4: 2bfe cmp r3, #254 ; 0xfe - 8002ab6: d122 bne.n 8002afe - 8002ab8: 462b mov r3, r5 - 8002aba: e022 b.n 8002b02 - 8002abc: 42a5 cmp r5, r4 - 8002abe: d106 bne.n 8002ace - 8002ac0: 465b mov r3, fp - 8002ac2: f240 128b movw r2, #395 ; 0x18b - 8002ac6: 4651 mov r1, sl - 8002ac8: 4648 mov r0, r9 - 8002aca: f006 fc6d bl 80093a8 - 8002ace: f108 0801 add.w r8, r8, #1 - 8002ad2: f1b8 0fff cmp.w r8, #255 ; 0xff - 8002ad6: dd06 ble.n 8002ae6 - 8002ad8: 4914 ldr r1, [pc, #80] ; (8002b2c ) - 8002ada: 465b mov r3, fp - 8002adc: f240 128d movw r2, #397 ; 0x18d - 8002ae0: 4648 mov r0, r9 - 8002ae2: f006 fc61 bl 80093a8 - 8002ae6: f894 3034 ldrb.w r3, [r4, #52] ; 0x34 - 8002aea: f895 2034 ldrb.w r2, [r5, #52] ; 0x34 - 8002aee: 429a cmp r2, r3 - 8002af0: d103 bne.n 8002afa - 8002af2: 3201 adds r2, #1 - 8002af4: f884 2034 strb.w r2, [r4, #52] ; 0x34 - 8002af8: e7cb b.n 8002a92 - 8002afa: 682d ldr r5, [r5, #0] - 8002afc: e7d7 b.n 8002aae - 8002afe: 3301 adds r3, #1 - 8002b00: b2db uxtb r3, r3 - 8002b02: 7033 strb r3, [r6, #0] - 8002b04: 683b ldr r3, [r7, #0] - 8002b06: 6023 str r3, [r4, #0] - 8002b08: 603c str r4, [r7, #0] - 8002b0a: e78c b.n 8002a26 - 8002b0c: 462c mov r4, r5 - 8002b0e: e78a b.n 8002a26 - 8002b10: 0800a8e4 .word 0x0800a8e4 - 8002b14: 0800a948 .word 0x0800a948 - 8002b18: 0800a54d .word 0x0800a54d - 8002b1c: 0800a961 .word 0x0800a961 - 8002b20: 08002915 .word 0x08002915 - 8002b24: 200082a0 .word 0x200082a0 - 8002b28: 2000829c .word 0x2000829c - 8002b2c: 0800a997 .word 0x0800a997 - 8002b30: 0800c304 .word 0x0800c304 - 8002b34: 0800a983 .word 0x0800a983 +080030ec : + 80030ec: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80030f0: 4604 mov r4, r0 + 80030f2: 2800 cmp r0, #0 + 80030f4: f000 8092 beq.w 800321c + 80030f8: 0783 lsls r3, r0, #30 + 80030fa: d008 beq.n 800310e + 80030fc: 4b48 ldr r3, [pc, #288] @ (8003220 ) + 80030fe: 4949 ldr r1, [pc, #292] @ (8003224 ) + 8003100: f240 2273 movw r2, #627 @ 0x273 + 8003104: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8003108: 4847 ldr r0, [pc, #284] @ (8003228 ) + 800310a: f007 b835 b.w 800a178 + 800310e: f8df 813c ldr.w r8, [pc, #316] @ 800324c + 8003112: f8d8 3000 ldr.w r3, [r8] + 8003116: f1a0 050c sub.w r5, r0, #12 + 800311a: 42ab cmp r3, r5 + 800311c: d805 bhi.n 800312a + 800311e: 4f43 ldr r7, [pc, #268] @ (800322c ) + 8003120: 683a ldr r2, [r7, #0] + 8003122: f100 010c add.w r1, r0, #12 + 8003126: 428a cmp r2, r1 + 8003128: d204 bcs.n 8003134 + 800312a: 4b3d ldr r3, [pc, #244] @ (8003220 ) + 800312c: 4940 ldr r1, [pc, #256] @ (8003230 ) + 800312e: f240 227f movw r2, #639 @ 0x27f + 8003132: e7e7 b.n 8003104 + 8003134: f810 1c04 ldrb.w r1, [r0, #-4] + 8003138: b921 cbnz r1, 8003144 + 800313a: 4b39 ldr r3, [pc, #228] @ (8003220 ) + 800313c: 493d ldr r1, [pc, #244] @ (8003234 ) + 800313e: f44f 7223 mov.w r2, #652 @ 0x28c + 8003142: e7df b.n 8003104 + 8003144: e950 6003 ldrd r6, r0, [r0, #-12] + 8003148: f5b6 3f80 cmp.w r6, #65536 @ 0x10000 + 800314c: d80e bhi.n 800316c + 800314e: f5b0 3f80 cmp.w r0, #65536 @ 0x10000 + 8003152: d80b bhi.n 800316c + 8003154: 1ae9 subs r1, r5, r3 + 8003156: 4281 cmp r1, r0 + 8003158: d002 beq.n 8003160 + 800315a: 5818 ldr r0, [r3, r0] + 800315c: 4281 cmp r1, r0 + 800315e: d105 bne.n 800316c + 8003160: 4433 add r3, r6 + 8003162: 429a cmp r2, r3 + 8003164: d007 beq.n 8003176 + 8003166: 685b ldr r3, [r3, #4] + 8003168: 4299 cmp r1, r3 + 800316a: d004 beq.n 8003176 + 800316c: 4b2c ldr r3, [pc, #176] @ (8003220 ) + 800316e: 4932 ldr r1, [pc, #200] @ (8003238 ) + 8003170: f240 2295 movw r2, #661 @ 0x295 + 8003174: e7c6 b.n 8003104 + 8003176: 4e31 ldr r6, [pc, #196] @ (800323c ) + 8003178: 2300 movs r3, #0 + 800317a: f804 3c04 strb.w r3, [r4, #-4] + 800317e: 6833 ldr r3, [r6, #0] + 8003180: 42ab cmp r3, r5 + 8003182: bf88 it hi + 8003184: 6035 strhi r5, [r6, #0] + 8003186: 42aa cmp r2, r5 + 8003188: d81c bhi.n 80031c4 + 800318a: 4b25 ldr r3, [pc, #148] @ (8003220 ) + 800318c: 492c ldr r1, [pc, #176] @ (8003240 ) + 800318e: 4826 ldr r0, [pc, #152] @ (8003228 ) + 8003190: f44f 72f0 mov.w r2, #480 @ 0x1e0 + 8003194: f006 fff0 bl 800a178 + 8003198: f814 3c04 ldrb.w r3, [r4, #-4] + 800319c: b133 cbz r3, 80031ac + 800319e: 4b20 ldr r3, [pc, #128] @ (8003220 ) + 80031a0: 4928 ldr r1, [pc, #160] @ (8003244 ) + 80031a2: 4821 ldr r0, [pc, #132] @ (8003228 ) + 80031a4: f240 12e1 movw r2, #481 @ 0x1e1 + 80031a8: f006 ffe6 bl 800a178 + 80031ac: f854 3c0c ldr.w r3, [r4, #-12] + 80031b0: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 80031b4: d906 bls.n 80031c4 + 80031b6: 4b1a ldr r3, [pc, #104] @ (8003220 ) + 80031b8: 4923 ldr r1, [pc, #140] @ (8003248 ) + 80031ba: 481b ldr r0, [pc, #108] @ (8003228 ) + 80031bc: f44f 72f2 mov.w r2, #484 @ 0x1e4 + 80031c0: f006 ffda bl 800a178 + 80031c4: f8d8 3000 ldr.w r3, [r8] + 80031c8: f854 1c0c ldr.w r1, [r4, #-12] + 80031cc: 185a adds r2, r3, r1 + 80031ce: 4295 cmp r5, r2 + 80031d0: d011 beq.n 80031f6 + 80031d2: 7a10 ldrb r0, [r2, #8] + 80031d4: b978 cbnz r0, 80031f6 + 80031d6: 6838 ldr r0, [r7, #0] + 80031d8: 4282 cmp r2, r0 + 80031da: d00c beq.n 80031f6 + 80031dc: 6830 ldr r0, [r6, #0] + 80031de: 4282 cmp r2, r0 + 80031e0: 585a ldr r2, [r3, r1] + 80031e2: bf08 it eq + 80031e4: 6035 streq r5, [r6, #0] + 80031e6: f5b2 3f80 cmp.w r2, #65536 @ 0x10000 + 80031ea: f844 2c0c str.w r2, [r4, #-12] + 80031ee: bf1e ittt ne + 80031f0: 18d2 addne r2, r2, r3 + 80031f2: 1ae9 subne r1, r5, r3 + 80031f4: 6051 strne r1, [r2, #4] + 80031f6: f854 2c08 ldr.w r2, [r4, #-8] + 80031fa: 1899 adds r1, r3, r2 + 80031fc: 428d cmp r5, r1 + 80031fe: d00d beq.n 800321c + 8003200: 7a08 ldrb r0, [r1, #8] + 8003202: b958 cbnz r0, 800321c + 8003204: 6830 ldr r0, [r6, #0] + 8003206: 4285 cmp r5, r0 + 8003208: bf08 it eq + 800320a: 6031 streq r1, [r6, #0] + 800320c: f854 1c0c ldr.w r1, [r4, #-12] + 8003210: 5099 str r1, [r3, r2] + 8003212: f5b1 3f80 cmp.w r1, #65536 @ 0x10000 + 8003216: bf1c itt ne + 8003218: 185b addne r3, r3, r1 + 800321a: 605a strne r2, [r3, #4] + 800321c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8003220: 0800b0ec .word 0x0800b0ec + 8003224: 0800b11b .word 0x0800b11b + 8003228: 0800b0a6 .word 0x0800b0a6 + 800322c: 20005b40 .word 0x20005b40 + 8003230: 0800b13c .word 0x0800b13c + 8003234: 0800b155 .word 0x0800b155 + 8003238: 0800b17b .word 0x0800b17b + 800323c: 20005b3c .word 0x20005b3c + 8003240: 0800b1ad .word 0x0800b1ad + 8003244: 0800b1c7 .word 0x0800b1c7 + 8003248: 0800b1e2 .word 0x0800b1e2 + 800324c: 20005b44 .word 0x20005b44 -08002b38 : - 8002b38: 4b01 ldr r3, [pc, #4] ; (8002b40 ) - 8002b3a: 6018 str r0, [r3, #0] - 8002b3c: 4770 bx lr - 8002b3e: bf00 nop - 8002b40: 20008298 .word 0x20008298 +08003250 : + 8003250: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8003254: 1ccd adds r5, r1, #3 + 8003256: f025 0503 bic.w r5, r5, #3 + 800325a: 2d0b cmp r5, #11 + 800325c: 4604 mov r4, r0 + 800325e: d906 bls.n 800326e + 8003260: f5b5 3f80 cmp.w r5, #65536 @ 0x10000 + 8003264: d904 bls.n 8003270 + 8003266: 2400 movs r4, #0 + 8003268: 4620 mov r0, r4 + 800326a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800326e: 250c movs r5, #12 + 8003270: 42a9 cmp r1, r5 + 8003272: d8f8 bhi.n 8003266 + 8003274: 4f3d ldr r7, [pc, #244] @ (800336c ) + 8003276: 683b ldr r3, [r7, #0] + 8003278: 42a3 cmp r3, r4 + 800327a: d803 bhi.n 8003284 + 800327c: 4b3c ldr r3, [pc, #240] @ (8003370 ) + 800327e: 681b ldr r3, [r3, #0] + 8003280: 42a3 cmp r3, r4 + 8003282: d806 bhi.n 8003292 + 8003284: 4b3b ldr r3, [pc, #236] @ (8003374 ) + 8003286: 493c ldr r1, [pc, #240] @ (8003378 ) + 8003288: 483c ldr r0, [pc, #240] @ (800337c ) + 800328a: f240 22d1 movw r2, #721 @ 0x2d1 + 800328e: f006 ff73 bl 800a178 + 8003292: f8d7 a000 ldr.w sl, [r7] + 8003296: 45a2 cmp sl, r4 + 8003298: d8e6 bhi.n 8003268 + 800329a: 4b35 ldr r3, [pc, #212] @ (8003370 ) + 800329c: 681b ldr r3, [r3, #0] + 800329e: 42a3 cmp r3, r4 + 80032a0: d9e2 bls.n 8003268 + 80032a2: f854 9c0c ldr.w r9, [r4, #-12] + 80032a6: f1a4 060c sub.w r6, r4, #12 + 80032aa: eba6 060a sub.w r6, r6, sl + 80032ae: f1a9 030c sub.w r3, r9, #12 + 80032b2: 1b9b subs r3, r3, r6 + 80032b4: 42ab cmp r3, r5 + 80032b6: d207 bcs.n 80032c8 + 80032b8: 4b2e ldr r3, [pc, #184] @ (8003374 ) + 80032ba: 4931 ldr r1, [pc, #196] @ (8003380 ) + 80032bc: 482f ldr r0, [pc, #188] @ (800337c ) + 80032be: f44f 7239 mov.w r2, #740 @ 0x2e4 + 80032c2: f006 ff59 bl 800a178 + 80032c6: e7ce b.n 8003266 + 80032c8: d0ce beq.n 8003268 + 80032ca: eb0a 0809 add.w r8, sl, r9 + 80032ce: f898 2008 ldrb.w r2, [r8, #8] + 80032d2: bb1a cbnz r2, 800331c + 80032d4: f5b9 3f80 cmp.w r9, #65536 @ 0x10000 + 80032d8: d106 bne.n 80032e8 + 80032da: 4b26 ldr r3, [pc, #152] @ (8003374 ) + 80032dc: 4929 ldr r1, [pc, #164] @ (8003384 ) + 80032de: 4827 ldr r0, [pc, #156] @ (800337c ) + 80032e0: f240 22f5 movw r2, #757 @ 0x2f5 + 80032e4: f006 ff48 bl 800a178 + 80032e8: 4827 ldr r0, [pc, #156] @ (8003388 ) + 80032ea: 683a ldr r2, [r7, #0] + 80032ec: f85a c009 ldr.w ip, [sl, r9] + 80032f0: f106 030c add.w r3, r6, #12 + 80032f4: 442b add r3, r5 + 80032f6: 6805 ldr r5, [r0, #0] + 80032f8: 18d1 adds r1, r2, r3 + 80032fa: 4545 cmp r5, r8 + 80032fc: bf08 it eq + 80032fe: 6001 streq r1, [r0, #0] + 8003300: 2000 movs r0, #0 + 8003302: 7208 strb r0, [r1, #8] + 8003304: f842 c003 str.w ip, [r2, r3] + 8003308: 604e str r6, [r1, #4] + 800330a: f844 3c0c str.w r3, [r4, #-12] + 800330e: 58d1 ldr r1, [r2, r3] + 8003310: f5b1 3f80 cmp.w r1, #65536 @ 0x10000 + 8003314: d0a8 beq.n 8003268 + 8003316: 440a add r2, r1 + 8003318: 6053 str r3, [r2, #4] + 800331a: e7a5 b.n 8003268 + 800331c: f105 0218 add.w r2, r5, #24 + 8003320: 429a cmp r2, r3 + 8003322: d8a1 bhi.n 8003268 + 8003324: f106 030c add.w r3, r6, #12 + 8003328: f5b9 3f80 cmp.w r9, #65536 @ 0x10000 + 800332c: 441d add r5, r3 + 800332e: d106 bne.n 800333e + 8003330: 4b10 ldr r3, [pc, #64] @ (8003374 ) + 8003332: 4914 ldr r1, [pc, #80] @ (8003384 ) + 8003334: 4811 ldr r0, [pc, #68] @ (800337c ) + 8003336: f240 3216 movw r2, #790 @ 0x316 + 800333a: f006 ff1d bl 800a178 + 800333e: 4912 ldr r1, [pc, #72] @ (8003388 ) + 8003340: 683b ldr r3, [r7, #0] + 8003342: 6808 ldr r0, [r1, #0] + 8003344: 195a adds r2, r3, r5 + 8003346: 4290 cmp r0, r2 + 8003348: bf88 it hi + 800334a: 600a strhi r2, [r1, #0] + 800334c: 2100 movs r1, #0 + 800334e: 7211 strb r1, [r2, #8] + 8003350: f854 1c0c ldr.w r1, [r4, #-12] + 8003354: 5159 str r1, [r3, r5] + 8003356: 6056 str r6, [r2, #4] + 8003358: f844 5c0c str.w r5, [r4, #-12] + 800335c: 595a ldr r2, [r3, r5] + 800335e: f5b2 3f80 cmp.w r2, #65536 @ 0x10000 + 8003362: bf1c itt ne + 8003364: 189b addne r3, r3, r2 + 8003366: 605d strne r5, [r3, #4] + 8003368: e77e b.n 8003268 + 800336a: bf00 nop + 800336c: 20005b44 .word 0x20005b44 + 8003370: 20005b40 .word 0x20005b40 + 8003374: 0800b0ec .word 0x0800b0ec + 8003378: 0800b20c .word 0x0800b20c + 800337c: 0800b0a6 .word 0x0800b0a6 + 8003380: 0800b223 .word 0x0800b223 + 8003384: 0800b243 .word 0x0800b243 + 8003388: 20005b3c .word 0x20005b3c -08002b44 : - 8002b44: b930 cbnz r0, 8002b54 - 8002b46: 4b09 ldr r3, [pc, #36] ; (8002b6c ) - 8002b48: 4909 ldr r1, [pc, #36] ; (8002b70 ) - 8002b4a: 480a ldr r0, [pc, #40] ; (8002b74 ) - 8002b4c: f44f 7254 mov.w r2, #848 ; 0x350 - 8002b50: f006 bc2a b.w 80093a8 - 8002b54: f890 2031 ldrb.w r2, [r0, #49] ; 0x31 - 8002b58: 07d1 lsls r1, r2, #31 - 8002b5a: d406 bmi.n 8002b6a - 8002b5c: f042 0201 orr.w r2, r2, #1 - 8002b60: f880 2031 strb.w r2, [r0, #49] ; 0x31 - 8002b64: 2103 movs r1, #3 - 8002b66: f7ff bed9 b.w 800291c - 8002b6a: 4770 bx lr - 8002b6c: 0800a8e4 .word 0x0800a8e4 - 8002b70: 0800a9c5 .word 0x0800a9c5 - 8002b74: 0800a54d .word 0x0800a54d +0800338c : + 800338c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8003390: 2800 cmp r0, #0 + 8003392: d07d beq.n 8003490 + 8003394: 1cc3 adds r3, r0, #3 + 8003396: f023 0303 bic.w r3, r3, #3 + 800339a: 2b0b cmp r3, #11 + 800339c: d904 bls.n 80033a8 + 800339e: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 80033a2: d902 bls.n 80033aa + 80033a4: 2000 movs r0, #0 + 80033a6: e073 b.n 8003490 + 80033a8: 230c movs r3, #12 + 80033aa: 4298 cmp r0, r3 + 80033ac: d8fa bhi.n 80033a4 + 80033ae: f8df 8118 ldr.w r8, [pc, #280] @ 80034c8 + 80033b2: 4f3c ldr r7, [pc, #240] @ (80034a4 ) + 80033b4: f8d8 1000 ldr.w r1, [r8] + 80033b8: 683d ldr r5, [r7, #0] + 80033ba: f5c3 3680 rsb r6, r3, #65536 @ 0x10000 + 80033be: 1a6d subs r5, r5, r1 + 80033c0: f06f 0c0b mvn.w ip, #11 + 80033c4: 42ae cmp r6, r5 + 80033c6: d9ed bls.n 80033a4 + 80033c8: 194c adds r4, r1, r5 + 80033ca: 5948 ldr r0, [r1, r5] + 80033cc: 7a22 ldrb r2, [r4, #8] + 80033ce: 2a00 cmp r2, #0 + 80033d0: d166 bne.n 80034a0 + 80033d2: ebac 0205 sub.w r2, ip, r5 + 80033d6: 4402 add r2, r0 + 80033d8: 429a cmp r2, r3 + 80033da: d361 bcc.n 80034a0 + 80033dc: f103 060c add.w r6, r3, #12 + 80033e0: 3318 adds r3, #24 + 80033e2: 429a cmp r2, r3 + 80033e4: d356 bcc.n 8003494 + 80033e6: eb06 0905 add.w r9, r6, r5 + 80033ea: f5b9 3f80 cmp.w r9, #65536 @ 0x10000 + 80033ee: d106 bne.n 80033fe + 80033f0: 4b2d ldr r3, [pc, #180] @ (80034a8 ) + 80033f2: 492e ldr r1, [pc, #184] @ (80034ac ) + 80033f4: 482e ldr r0, [pc, #184] @ (80034b0 ) + 80033f6: f240 3287 movw r2, #903 @ 0x387 + 80033fa: f006 febd bl 800a178 + 80033fe: f8d8 3000 ldr.w r3, [r8] + 8003402: eb03 0209 add.w r2, r3, r9 + 8003406: 2100 movs r1, #0 + 8003408: 7211 strb r1, [r2, #8] + 800340a: 6821 ldr r1, [r4, #0] + 800340c: f843 1009 str.w r1, [r3, r9] + 8003410: 6055 str r5, [r2, #4] + 8003412: 2201 movs r2, #1 + 8003414: f8c4 9000 str.w r9, [r4] + 8003418: 7222 strb r2, [r4, #8] + 800341a: f853 2009 ldr.w r2, [r3, r9] + 800341e: f5b2 3f80 cmp.w r2, #65536 @ 0x10000 + 8003422: d002 beq.n 800342a + 8003424: 4413 add r3, r2 + 8003426: f8c3 9004 str.w r9, [r3, #4] + 800342a: 683b ldr r3, [r7, #0] + 800342c: 4d21 ldr r5, [pc, #132] @ (80034b4 ) + 800342e: 42a3 cmp r3, r4 + 8003430: 6829 ldr r1, [r5, #0] + 8003432: d110 bne.n 8003456 + 8003434: f8d8 0000 ldr.w r0, [r8] + 8003438: 7a1a ldrb r2, [r3, #8] + 800343a: b10a cbz r2, 8003440 + 800343c: 4299 cmp r1, r3 + 800343e: d12c bne.n 800349a + 8003440: 4299 cmp r1, r3 + 8003442: 603b str r3, [r7, #0] + 8003444: d007 beq.n 8003456 + 8003446: b132 cbz r2, 8003456 + 8003448: 4b17 ldr r3, [pc, #92] @ (80034a8 ) + 800344a: 491b ldr r1, [pc, #108] @ (80034b8 ) + 800344c: 4818 ldr r0, [pc, #96] @ (80034b0 ) + 800344e: f240 32b5 movw r2, #949 @ 0x3b5 + 8003452: f006 fe91 bl 800a178 + 8003456: 682b ldr r3, [r5, #0] + 8003458: 4426 add r6, r4 + 800345a: 42b3 cmp r3, r6 + 800345c: d206 bcs.n 800346c + 800345e: 4b12 ldr r3, [pc, #72] @ (80034a8 ) + 8003460: 4916 ldr r1, [pc, #88] @ (80034bc ) + 8003462: 4813 ldr r0, [pc, #76] @ (80034b0 ) + 8003464: f240 32b9 movw r2, #953 @ 0x3b9 + 8003468: f006 fe86 bl 800a178 + 800346c: 07a3 lsls r3, r4, #30 + 800346e: d00d beq.n 800348c + 8003470: 4b0d ldr r3, [pc, #52] @ (80034a8 ) + 8003472: 4913 ldr r1, [pc, #76] @ (80034c0 ) + 8003474: 480e ldr r0, [pc, #56] @ (80034b0 ) + 8003476: f240 32bb movw r2, #955 @ 0x3bb + 800347a: f006 fe7d bl 800a178 + 800347e: 4b0a ldr r3, [pc, #40] @ (80034a8 ) + 8003480: 4910 ldr r1, [pc, #64] @ (80034c4 ) + 8003482: 480b ldr r0, [pc, #44] @ (80034b0 ) + 8003484: f240 32bd movw r2, #957 @ 0x3bd + 8003488: f006 fe76 bl 800a178 + 800348c: f104 000c add.w r0, r4, #12 + 8003490: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 8003494: 2301 movs r3, #1 + 8003496: 7223 strb r3, [r4, #8] + 8003498: e7c7 b.n 800342a + 800349a: 681b ldr r3, [r3, #0] + 800349c: 4403 add r3, r0 + 800349e: e7cb b.n 8003438 + 80034a0: 4605 mov r5, r0 + 80034a2: e78f b.n 80033c4 + 80034a4: 20005b3c .word 0x20005b3c + 80034a8: 0800b0ec .word 0x0800b0ec + 80034ac: 0800b243 .word 0x0800b243 + 80034b0: 0800b0a6 .word 0x0800b0a6 + 80034b4: 20005b40 .word 0x20005b40 + 80034b8: 0800b254 .word 0x0800b254 + 80034bc: 0800b26d .word 0x0800b26d + 80034c0: 0800b29d .word 0x0800b29d + 80034c4: 0800b2cc .word 0x0800b2cc + 80034c8: 20005b44 .word 0x20005b44 -08002b78 : - 8002b78: b930 cbnz r0, 8002b88 - 8002b7a: 4b0a ldr r3, [pc, #40] ; (8002ba4 ) - 8002b7c: 490a ldr r1, [pc, #40] ; (8002ba8 ) - 8002b7e: 480b ldr r0, [pc, #44] ; (8002bac ) - 8002b80: f240 329b movw r2, #923 ; 0x39b - 8002b84: f006 bc10 b.w 80093a8 - 8002b88: f890 2031 ldrb.w r2, [r0, #49] ; 0x31 - 8002b8c: 07d1 lsls r1, r2, #31 - 8002b8e: d507 bpl.n 8002ba0 - 8002b90: f022 0101 bic.w r1, r2, #1 - 8002b94: 0713 lsls r3, r2, #28 - 8002b96: f880 1031 strb.w r1, [r0, #49] ; 0x31 - 8002b9a: d501 bpl.n 8002ba0 - 8002b9c: f005 b97e b.w 8007e9c - 8002ba0: 4770 bx lr - 8002ba2: bf00 nop - 8002ba4: 0800a8e4 .word 0x0800a8e4 - 8002ba8: 0800a9e1 .word 0x0800a9e1 - 8002bac: 0800a54d .word 0x0800a54d +080034cc : + 80034cc: b538 push {r3, r4, r5, lr} + 80034ce: 078b lsls r3, r1, #30 + 80034d0: 4605 mov r5, r0 + 80034d2: 460c mov r4, r1 + 80034d4: d006 beq.n 80034e4 + 80034d6: 4b06 ldr r3, [pc, #24] @ (80034f0 ) + 80034d8: 4906 ldr r1, [pc, #24] @ (80034f4 ) + 80034da: 4807 ldr r0, [pc, #28] @ (80034f8 ) + 80034dc: f44f 72b6 mov.w r2, #364 @ 0x16c + 80034e0: f006 fe4a bl 800a178 + 80034e4: 68ab ldr r3, [r5, #8] + 80034e6: 681a ldr r2, [r3, #0] + 80034e8: 6022 str r2, [r4, #0] + 80034ea: 601c str r4, [r3, #0] + 80034ec: bd38 pop {r3, r4, r5, pc} + 80034ee: bf00 nop + 80034f0: 0800b2ef .word 0x0800b2ef + 80034f4: 0800b31f .word 0x0800b31f + 80034f8: 0800b0a6 .word 0x0800b0a6 -08002bb0 : - 8002bb0: b510 push {r4, lr} - 8002bb2: 4604 mov r4, r0 - 8002bb4: b940 cbnz r0, 8002bc8 - 8002bb6: e8bd 4010 ldmia.w sp!, {r4, lr} - 8002bba: 4b0e ldr r3, [pc, #56] ; (8002bf4 ) - 8002bbc: 490e ldr r1, [pc, #56] ; (8002bf8 ) - 8002bbe: 480f ldr r0, [pc, #60] ; (8002bfc ) - 8002bc0: f44f 7278 mov.w r2, #992 ; 0x3e0 - 8002bc4: f006 bbf0 b.w 80093a8 - 8002bc8: f890 3031 ldrb.w r3, [r0, #49] ; 0x31 - 8002bcc: 075a lsls r2, r3, #29 - 8002bce: d40f bmi.n 8002bf0 - 8002bd0: f043 0304 orr.w r3, r3, #4 - 8002bd4: f880 3031 strb.w r3, [r0, #49] ; 0x31 - 8002bd8: f004 fd90 bl 80076fc - 8002bdc: 2103 movs r1, #3 - 8002bde: 4620 mov r0, r4 - 8002be0: f7ff fe9c bl 800291c - 8002be4: 69e3 ldr r3, [r4, #28] - 8002be6: b11b cbz r3, 8002bf0 - 8002be8: 4620 mov r0, r4 - 8002bea: e8bd 4010 ldmia.w sp!, {r4, lr} - 8002bee: 4718 bx r3 - 8002bf0: bd10 pop {r4, pc} - 8002bf2: bf00 nop - 8002bf4: 0800a8e4 .word 0x0800a8e4 - 8002bf8: 0800a9ff .word 0x0800a9ff - 8002bfc: 0800a54d .word 0x0800a54d +080034fc : + 80034fc: b510 push {r4, lr} + 80034fe: 6804 ldr r4, [r0, #0] + 8003500: b154 cbz r4, 8003518 + 8003502: 6823 ldr r3, [r4, #0] + 8003504: 6003 str r3, [r0, #0] + 8003506: 07a3 lsls r3, r4, #30 + 8003508: d006 beq.n 8003518 + 800350a: 4b04 ldr r3, [pc, #16] @ (800351c ) + 800350c: 4904 ldr r1, [pc, #16] @ (8003520 ) + 800350e: 4805 ldr r0, [pc, #20] @ (8003524 ) + 8003510: f44f 728c mov.w r2, #280 @ 0x118 + 8003514: f006 fe30 bl 800a178 + 8003518: 4620 mov r0, r4 + 800351a: bd10 pop {r4, pc} + 800351c: 0800b2ef .word 0x0800b2ef + 8003520: 0800b33f .word 0x0800b33f + 8003524: 0800b0a6 .word 0x0800b0a6 -08002c00 : - 8002c00: b930 cbnz r0, 8002c10 - 8002c02: 4b09 ldr r3, [pc, #36] ; (8002c28 ) - 8002c04: 4909 ldr r1, [pc, #36] ; (8002c2c ) - 8002c06: 480a ldr r0, [pc, #40] ; (8002c30 ) - 8002c08: f240 4206 movw r2, #1030 ; 0x406 - 8002c0c: f006 bbcc b.w 80093a8 - 8002c10: f890 2031 ldrb.w r2, [r0, #49] ; 0x31 - 8002c14: 0751 lsls r1, r2, #29 - 8002c16: d506 bpl.n 8002c26 - 8002c18: 69c3 ldr r3, [r0, #28] - 8002c1a: f022 0204 bic.w r2, r2, #4 - 8002c1e: f880 2031 strb.w r2, [r0, #49] ; 0x31 - 8002c22: b103 cbz r3, 8002c26 - 8002c24: 4718 bx r3 - 8002c26: 4770 bx lr - 8002c28: 0800a8e4 .word 0x0800a8e4 - 8002c2c: 0800aa20 .word 0x0800aa20 - 8002c30: 0800a54d .word 0x0800a54d - -08002c34 : - 8002c34: b100 cbz r0, 8002c38 - 8002c36: 61c1 str r1, [r0, #28] - 8002c38: 4770 bx lr +08003528 : + 8003528: 6843 ldr r3, [r0, #4] + 800352a: 6881 ldr r1, [r0, #8] + 800352c: b530 push {r4, r5, lr} + 800352e: 2200 movs r2, #0 + 8003530: 3303 adds r3, #3 + 8003532: 8844 ldrh r4, [r0, #2] + 8003534: 600a str r2, [r1, #0] + 8003536: f023 0303 bic.w r3, r3, #3 + 800353a: 4294 cmp r4, r2 + 800353c: dc00 bgt.n 8003540 + 800353e: bd30 pop {r4, r5, pc} + 8003540: 680d ldr r5, [r1, #0] + 8003542: 601d str r5, [r3, #0] + 8003544: 8805 ldrh r5, [r0, #0] + 8003546: 600b str r3, [r1, #0] + 8003548: 3201 adds r2, #1 + 800354a: 442b add r3, r5 + 800354c: e7f5 b.n 800353a ... -08002c3c : - 8002c3c: 4603 mov r3, r0 - 8002c3e: b158 cbz r0, 8002c58 - 8002c40: 4a06 ldr r2, [pc, #24] ; (8002c5c ) - 8002c42: 6810 ldr r0, [r2, #0] - 8002c44: b900 cbnz r0, 8002c48 - 8002c46: 4770 bx lr - 8002c48: f890 2034 ldrb.w r2, [r0, #52] ; 0x34 - 8002c4c: 3201 adds r2, #1 - 8002c4e: b2d2 uxtb r2, r2 - 8002c50: 429a cmp r2, r3 - 8002c52: d001 beq.n 8002c58 - 8002c54: 6800 ldr r0, [r0, #0] - 8002c56: e7f5 b.n 8002c44 - 8002c58: 4770 bx lr - 8002c5a: bf00 nop - 8002c5c: 2000829c .word 0x2000829c +08003550 : + 8003550: b538 push {r3, r4, r5, lr} + 8003552: 4d05 ldr r5, [pc, #20] @ (8003568 ) + 8003554: 2400 movs r4, #0 + 8003556: 3401 adds r4, #1 + 8003558: f855 0b04 ldr.w r0, [r5], #4 + 800355c: b2a4 uxth r4, r4 + 800355e: f7ff ffe3 bl 8003528 + 8003562: 2c09 cmp r4, #9 + 8003564: d1f7 bne.n 8003556 + 8003566: bd38 pop {r3, r4, r5, pc} + 8003568: 0800b3ac .word 0x0800b3ac -08002c60 : - 8002c60: b538 push {r3, r4, r5, lr} - 8002c62: b968 cbnz r0, 8002c80 - 8002c64: 4b14 ldr r3, [pc, #80] ; (8002cb8 ) - 8002c66: 4915 ldr r1, [pc, #84] ; (8002cbc ) - 8002c68: 4815 ldr r0, [pc, #84] ; (8002cc0 ) - 8002c6a: f240 12df movw r2, #479 ; 0x1df - 8002c6e: f006 fb9b bl 80093a8 - 8002c72: 2001 movs r0, #1 - 8002c74: e01f b.n 8002cb6 - 8002c76: 2a00 cmp r2, #0 - 8002c78: d0fb beq.n 8002c72 - 8002c7a: 6842 ldr r2, [r0, #4] - 8002c7c: 1a51 subs r1, r2, r1 - 8002c7e: e014 b.n 8002caa - 8002c80: f5b1 3f80 cmp.w r1, #65536 ; 0x10000 - 8002c84: d2f5 bcs.n 8002c72 - 8002c86: b1a9 cbz r1, 8002cb4 - 8002c88: 8903 ldrh r3, [r0, #8] - 8002c8a: fa13 f381 uxtah r3, r3, r1 - 8002c8e: b28c uxth r4, r1 - 8002c90: b29b uxth r3, r3 - 8002c92: 429c cmp r4, r3 - 8002c94: d8ed bhi.n 8002c72 - 8002c96: f990 500c ldrsb.w r5, [r0, #12] - 8002c9a: 2d00 cmp r5, #0 - 8002c9c: daeb bge.n 8002c76 - 8002c9e: 6842 ldr r2, [r0, #4] - 8002ca0: 1a51 subs r1, r2, r1 - 8002ca2: f100 0210 add.w r2, r0, #16 - 8002ca6: 4291 cmp r1, r2 - 8002ca8: d3e3 bcc.n 8002c72 - 8002caa: 8942 ldrh r2, [r0, #10] - 8002cac: 6041 str r1, [r0, #4] - 8002cae: 4414 add r4, r2 - 8002cb0: 8144 strh r4, [r0, #10] - 8002cb2: 8103 strh r3, [r0, #8] - 8002cb4: 2000 movs r0, #0 - 8002cb6: bd38 pop {r3, r4, r5, pc} - 8002cb8: 0800aa43 .word 0x0800aa43 - 8002cbc: 0800ab15 .word 0x0800ab15 - 8002cc0: 0800a54d .word 0x0800a54d +0800356c : + 800356c: b510 push {r4, lr} + 800356e: 4604 mov r4, r0 + 8003570: b120 cbz r0, 800357c + 8003572: e8bd 4010 ldmia.w sp!, {r4, lr} + 8003576: 6880 ldr r0, [r0, #8] + 8003578: f7ff bfc0 b.w 80034fc + 800357c: 4b04 ldr r3, [pc, #16] @ (8003590 ) + 800357e: 4905 ldr r1, [pc, #20] @ (8003594 ) + 8003580: 4805 ldr r0, [pc, #20] @ (8003598 ) + 8003582: f44f 729e mov.w r2, #316 @ 0x13c + 8003586: f006 fdf7 bl 800a178 + 800358a: 4620 mov r0, r4 + 800358c: bd10 pop {r4, pc} + 800358e: bf00 nop + 8003590: 0800b2ef .word 0x0800b2ef + 8003594: 0800b362 .word 0x0800b362 + 8003598: 0800b0a6 .word 0x0800b0a6 -08002cc4 : - 8002cc4: 4b06 ldr r3, [pc, #24] ; (8002ce0 ) - 8002cc6: 2200 movs r2, #0 - 8002cc8: 701a strb r2, [r3, #0] - 8002cca: 4b06 ldr r3, [pc, #24] ; (8002ce4 ) - 8002ccc: 6818 ldr r0, [r3, #0] - 8002cce: b900 cbnz r0, 8002cd2 - 8002cd0: 4770 bx lr - 8002cd2: 6f43 ldr r3, [r0, #116] ; 0x74 - 8002cd4: b10b cbz r3, 8002cda - 8002cd6: f000 bc37 b.w 8003548 - 8002cda: 68c0 ldr r0, [r0, #12] - 8002cdc: e7f7 b.n 8002cce - 8002cde: bf00 nop - 8002ce0: 200082a1 .word 0x200082a1 - 8002ce4: 200082a4 .word 0x200082a4 +0800359c : + 800359c: 2808 cmp r0, #8 + 800359e: b508 push {r3, lr} + 80035a0: d807 bhi.n 80035b2 + 80035a2: 4b08 ldr r3, [pc, #32] @ (80035c4 ) + 80035a4: f853 3020 ldr.w r3, [r3, r0, lsl #2] + 80035a8: 6898 ldr r0, [r3, #8] + 80035aa: e8bd 4008 ldmia.w sp!, {r3, lr} + 80035ae: f7ff bfa5 b.w 80034fc + 80035b2: 4b05 ldr r3, [pc, #20] @ (80035c8 ) + 80035b4: 4905 ldr r1, [pc, #20] @ (80035cc ) + 80035b6: 4806 ldr r0, [pc, #24] @ (80035d0 ) + 80035b8: f240 1257 movw r2, #343 @ 0x157 + 80035bc: f006 fddc bl 800a178 + 80035c0: 2000 movs r0, #0 + 80035c2: bd08 pop {r3, pc} + 80035c4: 0800b3ac .word 0x0800b3ac + 80035c8: 0800b2ef .word 0x0800b2ef + 80035cc: 0800b374 .word 0x0800b374 + 80035d0: 0800b0a6 .word 0x0800b0a6 -08002ce8 : - 8002ce8: f022 0340 bic.w r3, r2, #64 ; 0x40 - 8002cec: 2b01 cmp r3, #1 - 8002cee: b570 push {r4, r5, r6, lr} - 8002cf0: 4606 mov r6, r0 - 8002cf2: 460d mov r5, r1 - 8002cf4: 4614 mov r4, r2 - 8002cf6: d006 beq.n 8002d06 - 8002cf8: 4b0a ldr r3, [pc, #40] ; (8002d24 ) - 8002cfa: 490b ldr r1, [pc, #44] ; (8002d28 ) - 8002cfc: 480b ldr r0, [pc, #44] ; (8002d2c ) - 8002cfe: f44f 72a5 mov.w r2, #330 ; 0x14a - 8002d02: f006 fb51 bl 80093a8 - 8002d06: 2007 movs r0, #7 - 8002d08: f7ff fdbc bl 8002884 - 8002d0c: b140 cbz r0, 8002d20 - 8002d0e: 2300 movs r3, #0 - 8002d10: e9c0 3600 strd r3, r6, [r0] - 8002d14: 7343 strb r3, [r0, #13] - 8002d16: 2301 movs r3, #1 - 8002d18: 8105 strh r5, [r0, #8] - 8002d1a: 8145 strh r5, [r0, #10] - 8002d1c: 7304 strb r4, [r0, #12] - 8002d1e: 81c3 strh r3, [r0, #14] - 8002d20: bd70 pop {r4, r5, r6, pc} - 8002d22: bf00 nop - 8002d24: 0800aa43 .word 0x0800aa43 - 8002d28: 0800aa73 .word 0x0800aa73 - 8002d2c: 0800a54d .word 0x0800a54d +080035d4 : + 80035d4: b108 cbz r0, 80035da + 80035d6: b939 cbnz r1, 80035e8 + 80035d8: 4770 bx lr + 80035da: 4b04 ldr r3, [pc, #16] @ (80035ec ) + 80035dc: 4904 ldr r1, [pc, #16] @ (80035f0 ) + 80035de: 4805 ldr r0, [pc, #20] @ (80035f4 ) + 80035e0: f240 1295 movw r2, #405 @ 0x195 + 80035e4: f006 bdc8 b.w 800a178 + 80035e8: f7ff bf70 b.w 80034cc + 80035ec: 0800b2ef .word 0x0800b2ef + 80035f0: 0800b362 .word 0x0800b362 + 80035f4: 0800b0a6 .word 0x0800b0a6 -08002d30 : - 8002d30: b570 push {r4, r5, r6, lr} - 8002d32: 3003 adds r0, #3 - 8002d34: f8bd 5014 ldrh.w r5, [sp, #20] - 8002d38: 9c04 ldr r4, [sp, #16] - 8002d3a: f020 0003 bic.w r0, r0, #3 - 8002d3e: 180e adds r6, r1, r0 - 8002d40: 42ae cmp r6, r5 - 8002d42: d80d bhi.n 8002d60 - 8002d44: b104 cbz r4, 8002d48 - 8002d46: 4404 add r4, r0 - 8002d48: 4618 mov r0, r3 - 8002d4a: 2300 movs r3, #0 - 8002d4c: e9c0 3400 strd r3, r4, [r0] - 8002d50: 2302 movs r3, #2 - 8002d52: 7343 strb r3, [r0, #13] - 8002d54: 2301 movs r3, #1 - 8002d56: 8101 strh r1, [r0, #8] - 8002d58: 8141 strh r1, [r0, #10] - 8002d5a: 7302 strb r2, [r0, #12] - 8002d5c: 81c3 strh r3, [r0, #14] - 8002d5e: bd70 pop {r4, r5, r6, pc} - 8002d60: 2000 movs r0, #0 - 8002d62: e7fc b.n 8002d5e +080035f8 : + 80035f8: 2808 cmp r0, #8 + 80035fa: d906 bls.n 800360a + 80035fc: 4b06 ldr r3, [pc, #24] @ (8003618 ) + 80035fe: 4907 ldr r1, [pc, #28] @ (800361c ) + 8003600: 4807 ldr r0, [pc, #28] @ (8003620 ) + 8003602: f44f 72d5 mov.w r2, #426 @ 0x1aa + 8003606: f006 bdb7 b.w 800a178 + 800360a: b121 cbz r1, 8003616 + 800360c: 4b05 ldr r3, [pc, #20] @ (8003624 ) + 800360e: f853 0020 ldr.w r0, [r3, r0, lsl #2] + 8003612: f7ff bf5b b.w 80034cc + 8003616: 4770 bx lr + 8003618: 0800b2ef .word 0x0800b2ef + 800361c: 0800b391 .word 0x0800b391 + 8003620: 0800b0a6 .word 0x0800b0a6 + 8003624: 0800b3ac .word 0x0800b3ac -08002d64 : - 8002d64: 2200 movs r2, #0 - 8002d66: f7ff bf7b b.w 8002c60 +08003628 : + 8003628: f06f 000b mvn.w r0, #11 + 800362c: 4770 bx lr ... -08002d6c : - 8002d6c: b510 push {r4, lr} - 8002d6e: b990 cbnz r0, 8002d96 - 8002d70: 4b10 ldr r3, [pc, #64] ; (8002db4 ) - 8002d72: 4911 ldr r1, [pc, #68] ; (8002db8 ) - 8002d74: f240 224b movw r2, #587 ; 0x24b - 8002d78: 4810 ldr r0, [pc, #64] ; (8002dbc ) - 8002d7a: f006 fb15 bl 80093a8 - 8002d7e: 2001 movs r0, #1 - 8002d80: e008 b.n 8002d94 - 8002d82: 1a9b subs r3, r3, r2 - 8002d84: 6844 ldr r4, [r0, #4] - 8002d86: 8143 strh r3, [r0, #10] - 8002d88: 8903 ldrh r3, [r0, #8] - 8002d8a: 4421 add r1, r4 - 8002d8c: 1a9b subs r3, r3, r2 - 8002d8e: 6041 str r1, [r0, #4] - 8002d90: 8103 strh r3, [r0, #8] - 8002d92: 2000 movs r0, #0 - 8002d94: bd10 pop {r4, pc} - 8002d96: f5b1 3f80 cmp.w r1, #65536 ; 0x10000 - 8002d9a: d2f0 bcs.n 8002d7e - 8002d9c: 2900 cmp r1, #0 - 8002d9e: d0f8 beq.n 8002d92 - 8002da0: 8943 ldrh r3, [r0, #10] - 8002da2: b28a uxth r2, r1 - 8002da4: 429a cmp r2, r3 - 8002da6: d9ec bls.n 8002d82 - 8002da8: 4b02 ldr r3, [pc, #8] ; (8002db4 ) - 8002daa: 4905 ldr r1, [pc, #20] ; (8002dc0 ) - 8002dac: f240 2255 movw r2, #597 ; 0x255 - 8002db0: e7e2 b.n 8002d78 - 8002db2: bf00 nop - 8002db4: 0800aa43 .word 0x0800aa43 - 8002db8: 0800ab15 .word 0x0800ab15 - 8002dbc: 0800a54d .word 0x0800a54d - 8002dc0: 0800aa85 .word 0x0800aa85 +08003630 : + 8003630: b510 push {r4, lr} + 8003632: 4604 mov r4, r0 + 8003634: b930 cbnz r0, 8003644 + 8003636: 4b0c ldr r3, [pc, #48] @ (8003668 ) + 8003638: 490c ldr r1, [pc, #48] @ (800366c ) + 800363a: 480d ldr r0, [pc, #52] @ (8003670 ) + 800363c: f240 326d movw r2, #877 @ 0x36d + 8003640: f006 fd9a bl 800a178 + 8003644: f894 3031 ldrb.w r3, [r4, #49] @ 0x31 + 8003648: f003 0205 and.w r2, r3, #5 + 800364c: 2a05 cmp r2, #5 + 800364e: d109 bne.n 8003664 + 8003650: 6862 ldr r2, [r4, #4] + 8003652: b13a cbz r2, 8003664 + 8003654: 071b lsls r3, r3, #28 + 8003656: d505 bpl.n 8003664 + 8003658: 1d21 adds r1, r4, #4 + 800365a: 4620 mov r0, r4 + 800365c: e8bd 4010 ldmia.w sp!, {r4, lr} + 8003660: f005 bb3c b.w 8008cdc + 8003664: bd10 pop {r4, pc} + 8003666: bf00 nop + 8003668: 0800b43c .word 0x0800b43c + 800366c: 0800b46d .word 0x0800b46d + 8003670: 0800b0a6 .word 0x0800b0a6 -08002dc4 : - 8002dc4: 1e0b subs r3, r1, #0 - 8002dc6: da02 bge.n 8002dce - 8002dc8: 4259 negs r1, r3 - 8002dca: f7ff bfcf b.w 8002d6c - 8002dce: 2201 movs r2, #1 - 8002dd0: f7ff bf46 b.w 8002c60 +08003674 : + 8003674: b573 push {r0, r1, r4, r5, r6, lr} + 8003676: 6843 ldr r3, [r0, #4] + 8003678: 4615 mov r5, r2 + 800367a: 680a ldr r2, [r1, #0] + 800367c: 429a cmp r2, r3 + 800367e: 4604 mov r4, r0 + 8003680: 460e mov r6, r1 + 8003682: d00f beq.n 80036a4 + 8003684: 602b str r3, [r5, #0] + 8003686: a901 add r1, sp, #4 + 8003688: 4628 mov r0, r5 + 800368a: 9201 str r2, [sp, #4] + 800368c: f000 ff12 bl 80044b4 + 8003690: a901 add r1, sp, #4 + 8003692: 4628 mov r0, r5 + 8003694: f004 f888 bl 80077a8 + 8003698: 6833 ldr r3, [r6, #0] + 800369a: 6063 str r3, [r4, #4] + 800369c: 2101 movs r1, #1 + 800369e: 4620 mov r0, r4 + 80036a0: f7ff ffc6 bl 8003630 + 80036a4: b002 add sp, #8 + 80036a6: bd70 pop {r4, r5, r6, pc} -08002dd4 : - 8002dd4: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 8002dd8: 4604 mov r4, r0 - 8002dda: b950 cbnz r0, 8002df2 - 8002ddc: 4b29 ldr r3, [pc, #164] ; (8002e84 ) - 8002dde: 492a ldr r1, [pc, #168] ; (8002e88 ) - 8002de0: 482a ldr r0, [pc, #168] ; (8002e8c ) - 8002de2: f44f 7237 mov.w r2, #732 ; 0x2dc - 8002de6: f006 fadf bl 80093a8 - 8002dea: 4625 mov r5, r4 - 8002dec: 4628 mov r0, r5 - 8002dee: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 8002df2: 4e24 ldr r6, [pc, #144] ; (8002e84 ) - 8002df4: f8df 80a0 ldr.w r8, [pc, #160] ; 8002e98 - 8002df8: 4f24 ldr r7, [pc, #144] ; (8002e8c ) - 8002dfa: 2500 movs r5, #0 - 8002dfc: 7ba3 ldrb r3, [r4, #14] - 8002dfe: b933 cbnz r3, 8002e0e - 8002e00: 4633 mov r3, r6 - 8002e02: f240 22f1 movw r2, #753 ; 0x2f1 - 8002e06: 4641 mov r1, r8 - 8002e08: 4638 mov r0, r7 - 8002e0a: f006 facd bl 80093a8 - 8002e0e: 7ba3 ldrb r3, [r4, #14] - 8002e10: 3b01 subs r3, #1 - 8002e12: b2db uxtb r3, r3 - 8002e14: 73a3 strb r3, [r4, #14] - 8002e16: 2b00 cmp r3, #0 - 8002e18: d1e8 bne.n 8002dec - 8002e1a: 7b63 ldrb r3, [r4, #13] - 8002e1c: f8d4 9000 ldr.w r9, [r4] - 8002e20: 079b lsls r3, r3, #30 - 8002e22: d512 bpl.n 8002e4a - 8002e24: 6923 ldr r3, [r4, #16] - 8002e26: b933 cbnz r3, 8002e36 - 8002e28: 4919 ldr r1, [pc, #100] ; (8002e90 ) - 8002e2a: 4633 mov r3, r6 - 8002e2c: f240 22ff movw r2, #767 ; 0x2ff - 8002e30: 4638 mov r0, r7 - 8002e32: f006 fab9 bl 80093a8 - 8002e36: 6923 ldr r3, [r4, #16] - 8002e38: 4620 mov r0, r4 - 8002e3a: 4798 blx r3 - 8002e3c: 3501 adds r5, #1 - 8002e3e: b2ed uxtb r5, r5 - 8002e40: f1b9 0f00 cmp.w r9, #0 - 8002e44: d0d2 beq.n 8002dec - 8002e46: 464c mov r4, r9 - 8002e48: e7d8 b.n 8002dfc - 8002e4a: 7b23 ldrb r3, [r4, #12] - 8002e4c: f003 030f and.w r3, r3, #15 - 8002e50: 2b02 cmp r3, #2 - 8002e52: d104 bne.n 8002e5e - 8002e54: 4621 mov r1, r4 - 8002e56: 2008 movs r0, #8 - 8002e58: f7ff fd44 bl 80028e4 - 8002e5c: e7ee b.n 8002e3c - 8002e5e: 2b01 cmp r3, #1 - 8002e60: d102 bne.n 8002e68 - 8002e62: 4621 mov r1, r4 - 8002e64: 2007 movs r0, #7 - 8002e66: e7f7 b.n 8002e58 - 8002e68: b91b cbnz r3, 8002e72 - 8002e6a: 4620 mov r0, r4 - 8002e6c: f7ff fa9e bl 80023ac - 8002e70: e7e4 b.n 8002e3c - 8002e72: 4908 ldr r1, [pc, #32] ; (8002e94 ) - 8002e74: 4633 mov r3, r6 - 8002e76: f240 320f movw r2, #783 ; 0x30f - 8002e7a: 4638 mov r0, r7 - 8002e7c: f006 fa94 bl 80093a8 - 8002e80: e7dc b.n 8002e3c - 8002e82: bf00 nop - 8002e84: 0800aa43 .word 0x0800aa43 - 8002e88: 0800ab15 .word 0x0800ab15 - 8002e8c: 0800a54d .word 0x0800a54d - 8002e90: 0800aab9 .word 0x0800aab9 - 8002e94: 0800aada .word 0x0800aada - 8002e98: 0800aaa3 .word 0x0800aaa3 - -08002e9c : - 8002e9c: f5b2 7fc1 cmp.w r2, #386 ; 0x182 - 8002ea0: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8002ea4: 4606 mov r6, r0 - 8002ea6: 460f mov r7, r1 - 8002ea8: b284 uxth r4, r0 - 8002eaa: d014 beq.n 8002ed6 - 8002eac: d808 bhi.n 8002ec0 - 8002eae: f022 0340 bic.w r3, r2, #64 ; 0x40 - 8002eb2: 2b01 cmp r3, #1 - 8002eb4: d107 bne.n 8002ec6 - 8002eb6: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8002eba: 2000 movs r0, #0 - 8002ebc: f7ff bf14 b.w 8002ce8 - 8002ec0: f5b2 7f20 cmp.w r2, #640 ; 0x280 - 8002ec4: d03e beq.n 8002f44 - 8002ec6: 4b2f ldr r3, [pc, #188] ; (8002f84 ) - 8002ec8: 492f ldr r1, [pc, #188] ; (8002f88 ) - 8002eca: 4830 ldr r0, [pc, #192] ; (8002f8c ) - 8002ecc: f240 1227 movw r2, #295 ; 0x127 - 8002ed0: f006 fa6a bl 80093a8 - 8002ed4: e00e b.n 8002ef4 - 8002ed6: 2600 movs r6, #0 - 8002ed8: f8df 90bc ldr.w r9, [pc, #188] ; 8002f98 - 8002edc: 4635 mov r5, r6 - 8002ede: 46b0 mov r8, r6 - 8002ee0: 2008 movs r0, #8 - 8002ee2: f7ff fccf bl 8002884 - 8002ee6: 46b2 mov sl, r6 - 8002ee8: 4606 mov r6, r0 - 8002eea: b948 cbnz r0, 8002f00 - 8002eec: 4b28 ldr r3, [pc, #160] ; (8002f90 ) - 8002eee: 2201 movs r2, #1 - 8002ef0: 701a strb r2, [r3, #0] - 8002ef2: b90d cbnz r5, 8002ef8 - 8002ef4: 2500 movs r5, #0 - 8002ef6: e020 b.n 8002f3a - 8002ef8: 4628 mov r0, r5 - 8002efa: f7ff ff6b bl 8002dd4 - 8002efe: e7f9 b.n 8002ef4 - 8002f00: 1ce3 adds r3, r4, #3 - 8002f02: f023 0303 bic.w r3, r3, #3 - 8002f06: f5c3 7314 rsb r3, r3, #592 ; 0x250 - 8002f0a: b29b uxth r3, r3 - 8002f0c: 4404 add r4, r0 - 8002f0e: 42bb cmp r3, r7 - 8002f10: f104 0413 add.w r4, r4, #19 - 8002f14: bf28 it cs - 8002f16: 463b movcs r3, r7 - 8002f18: f024 0403 bic.w r4, r4, #3 - 8002f1c: f8c0 8000 str.w r8, [r0] - 8002f20: 6044 str r4, [r0, #4] - 8002f22: 8107 strh r7, [r0, #8] - 8002f24: 8143 strh r3, [r0, #10] - 8002f26: f8c0 900c str.w r9, [r0, #12] - 8002f2a: b14d cbz r5, 8002f40 - 8002f2c: f8ca 0000 str.w r0, [sl] - 8002f30: 1afb subs r3, r7, r3 - 8002f32: b29f uxth r7, r3 - 8002f34: 2400 movs r4, #0 - 8002f36: 2f00 cmp r7, #0 - 8002f38: d1d2 bne.n 8002ee0 - 8002f3a: 4628 mov r0, r5 - 8002f3c: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8002f40: 4605 mov r5, r0 - 8002f42: e7f5 b.n 8002f30 - 8002f44: 3403 adds r4, #3 - 8002f46: 1ccb adds r3, r1, #3 - 8002f48: f023 0303 bic.w r3, r3, #3 - 8002f4c: f024 0403 bic.w r4, r4, #3 - 8002f50: 441c add r4, r3 - 8002f52: b2a4 uxth r4, r4 - 8002f54: f104 0010 add.w r0, r4, #16 - 8002f58: 429c cmp r4, r3 - 8002f5a: b280 uxth r0, r0 - 8002f5c: d3ca bcc.n 8002ef4 - 8002f5e: 4283 cmp r3, r0 - 8002f60: d8c8 bhi.n 8002ef4 - 8002f62: f7ff fb7f bl 8002664 - 8002f66: 4605 mov r5, r0 - 8002f68: 2800 cmp r0, #0 - 8002f6a: d0e6 beq.n 8002f3a - 8002f6c: 4406 add r6, r0 - 8002f6e: 2300 movs r3, #0 - 8002f70: 3613 adds r6, #19 - 8002f72: 6003 str r3, [r0, #0] - 8002f74: f026 0603 bic.w r6, r6, #3 - 8002f78: 4b06 ldr r3, [pc, #24] ; (8002f94 ) - 8002f7a: 6046 str r6, [r0, #4] - 8002f7c: 8107 strh r7, [r0, #8] - 8002f7e: 8147 strh r7, [r0, #10] - 8002f80: 60c3 str r3, [r0, #12] - 8002f82: e7da b.n 8002f3a - 8002f84: 0800aa43 .word 0x0800aa43 - 8002f88: 0800aaec .word 0x0800aaec - 8002f8c: 0800a54d .word 0x0800a54d - 8002f90: 200082a1 .word 0x200082a1 - 8002f94: 00010080 .word 0x00010080 - 8002f98: 00010082 .word 0x00010082 - -08002f9c : - 8002f9c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8002fa0: 460e mov r6, r1 - 8002fa2: 4604 mov r4, r0 - 8002fa4: b930 cbnz r0, 8002fb4 - 8002fa6: 4b24 ldr r3, [pc, #144] ; (8003038 ) - 8002fa8: 4924 ldr r1, [pc, #144] ; (800303c ) - 8002faa: 4825 ldr r0, [pc, #148] ; (8003040 ) - 8002fac: f44f 72cc mov.w r2, #408 ; 0x198 - 8002fb0: f006 f9fa bl 80093a8 - 8002fb4: 8927 ldrh r7, [r4, #8] - 8002fb6: 42b7 cmp r7, r6 - 8002fb8: d93c bls.n 8003034 - 8002fba: f8df 807c ldr.w r8, [pc, #124] ; 8003038 - 8002fbe: f8df a088 ldr.w sl, [pc, #136] ; 8003048 - 8002fc2: f8df 907c ldr.w r9, [pc, #124] ; 8003040 - 8002fc6: 4635 mov r5, r6 - 8002fc8: 8962 ldrh r2, [r4, #10] - 8002fca: 42aa cmp r2, r5 - 8002fcc: d319 bcc.n 8003002 - 8002fce: 7b23 ldrb r3, [r4, #12] - 8002fd0: 0719 lsls r1, r3, #28 - 8002fd2: d127 bne.n 8003024 - 8002fd4: 42aa cmp r2, r5 - 8002fd6: d025 beq.n 8003024 - 8002fd8: 7b63 ldrb r3, [r4, #13] - 8002fda: 079b lsls r3, r3, #30 - 8002fdc: d422 bmi.n 8003024 - 8002fde: 6861 ldr r1, [r4, #4] - 8002fe0: 1b09 subs r1, r1, r4 - 8002fe2: 4429 add r1, r5 - 8002fe4: 4620 mov r0, r4 - 8002fe6: b289 uxth r1, r1 - 8002fe8: f7ff fa98 bl 800251c - 8002fec: 4604 mov r4, r0 - 8002fee: b9c8 cbnz r0, 8003024 - 8002ff0: 4b11 ldr r3, [pc, #68] ; (8003038 ) - 8002ff2: 4914 ldr r1, [pc, #80] ; (8003044 ) - 8002ff4: 4812 ldr r0, [pc, #72] ; (8003040 ) - 8002ff6: f240 12bd movw r2, #445 ; 0x1bd - 8002ffa: f006 f9d5 bl 80093a8 - 8002ffe: 8164 strh r4, [r4, #10] - 8003000: deff udf #255 ; 0xff - 8003002: 1aad subs r5, r5, r2 - 8003004: 8922 ldrh r2, [r4, #8] - 8003006: 1bf3 subs r3, r6, r7 - 8003008: 4413 add r3, r2 - 800300a: 8123 strh r3, [r4, #8] - 800300c: 6824 ldr r4, [r4, #0] - 800300e: b2ad uxth r5, r5 - 8003010: 2c00 cmp r4, #0 - 8003012: d1d9 bne.n 8002fc8 - 8003014: 4643 mov r3, r8 - 8003016: f240 12af movw r2, #431 ; 0x1af - 800301a: 4651 mov r1, sl - 800301c: 4648 mov r0, r9 - 800301e: f006 f9c3 bl 80093a8 - 8003022: e7d1 b.n 8002fc8 - 8003024: 6820 ldr r0, [r4, #0] - 8003026: 8165 strh r5, [r4, #10] - 8003028: 8125 strh r5, [r4, #8] - 800302a: b108 cbz r0, 8003030 - 800302c: f7ff fed2 bl 8002dd4 - 8003030: 2300 movs r3, #0 - 8003032: 6023 str r3, [r4, #0] - 8003034: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8003038: 0800aa43 .word 0x0800aa43 - 800303c: 0800ab07 .word 0x0800ab07 - 8003040: 0800a54d .word 0x0800a54d - 8003044: 0800ab37 .word 0x0800ab37 - 8003048: 0800ab1f .word 0x0800ab1f - -0800304c : - 800304c: 4603 mov r3, r0 - 800304e: 2200 movs r2, #0 - 8003050: b290 uxth r0, r2 - 8003052: 3201 adds r2, #1 - 8003054: b903 cbnz r3, 8003058 - 8003056: 4770 bx lr - 8003058: 681b ldr r3, [r3, #0] - 800305a: e7f9 b.n 8003050 - -0800305c : - 800305c: b158 cbz r0, 8003076 - 800305e: 7b83 ldrb r3, [r0, #14] - 8003060: 3301 adds r3, #1 - 8003062: b2db uxtb r3, r3 - 8003064: 7383 strb r3, [r0, #14] - 8003066: b933 cbnz r3, 8003076 - 8003068: 4b03 ldr r3, [pc, #12] ; (8003078 ) - 800306a: 4904 ldr r1, [pc, #16] ; (800307c ) - 800306c: 4804 ldr r0, [pc, #16] ; (8003080 ) - 800306e: f240 3242 movw r2, #834 ; 0x342 - 8003072: f006 b999 b.w 80093a8 - 8003076: 4770 bx lr - 8003078: 0800aa43 .word 0x0800aa43 - 800307c: 0800ab53 .word 0x0800ab53 - 8003080: 0800a54d .word 0x0800a54d - -08003084 : - 8003084: b570 push {r4, r5, r6, lr} - 8003086: 460d mov r5, r1 - 8003088: 4604 mov r4, r0 - 800308a: b100 cbz r0, 800308e - 800308c: b961 cbnz r1, 80030a8 - 800308e: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 8003092: 4b14 ldr r3, [pc, #80] ; (80030e4 ) - 8003094: 4914 ldr r1, [pc, #80] ; (80030e8 ) - 8003096: 4815 ldr r0, [pc, #84] ; (80030ec ) - 8003098: f240 3259 movw r2, #857 ; 0x359 - 800309c: f006 b984 b.w 80093a8 - 80030a0: 8929 ldrh r1, [r5, #8] - 80030a2: 440b add r3, r1 - 80030a4: 8123 strh r3, [r4, #8] - 80030a6: 4614 mov r4, r2 - 80030a8: 6822 ldr r2, [r4, #0] - 80030aa: 8923 ldrh r3, [r4, #8] - 80030ac: 2a00 cmp r2, #0 - 80030ae: d1f7 bne.n 80030a0 - 80030b0: 8962 ldrh r2, [r4, #10] - 80030b2: 429a cmp r2, r3 - 80030b4: d00f beq.n 80030d6 - 80030b6: 4b0b ldr r3, [pc, #44] ; (80030e4 ) - 80030b8: 490d ldr r1, [pc, #52] ; (80030f0 ) - 80030ba: 480c ldr r0, [pc, #48] ; (80030ec ) - 80030bc: f240 3262 movw r2, #866 ; 0x362 - 80030c0: f006 f972 bl 80093a8 - 80030c4: 6823 ldr r3, [r4, #0] - 80030c6: b133 cbz r3, 80030d6 - 80030c8: 4b06 ldr r3, [pc, #24] ; (80030e4 ) - 80030ca: 490a ldr r1, [pc, #40] ; (80030f4 ) - 80030cc: 4807 ldr r0, [pc, #28] ; (80030ec ) - 80030ce: f240 3263 movw r2, #867 ; 0x363 - 80030d2: f006 f969 bl 80093a8 - 80030d6: 892a ldrh r2, [r5, #8] - 80030d8: 8923 ldrh r3, [r4, #8] - 80030da: 6025 str r5, [r4, #0] - 80030dc: 4413 add r3, r2 - 80030de: 8123 strh r3, [r4, #8] - 80030e0: bd70 pop {r4, r5, r6, pc} - 80030e2: bf00 nop - 80030e4: 0800aa43 .word 0x0800aa43 - 80030e8: 0800ab65 .word 0x0800ab65 - 80030ec: 0800a54d .word 0x0800a54d - 80030f0: 0800ab9a .word 0x0800ab9a - 80030f4: 0800abc7 .word 0x0800abc7 - -080030f8 : - 80030f8: b510 push {r4, lr} - 80030fa: 460c mov r4, r1 - 80030fc: f7ff ffc2 bl 8003084 - 8003100: 4620 mov r0, r4 - 8003102: e8bd 4010 ldmia.w sp!, {r4, lr} - 8003106: f7ff bfa9 b.w 800305c +080036a8 : + 80036a8: 4770 bx lr ... -0800310c : - 800310c: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8003110: 460c mov r4, r1 - 8003112: 4605 mov r5, r0 - 8003114: b120 cbz r0, 8003120 - 8003116: b119 cbz r1, 8003120 - 8003118: 8902 ldrh r2, [r0, #8] - 800311a: 890b ldrh r3, [r1, #8] - 800311c: 429a cmp r2, r3 - 800311e: d20a bcs.n 8003136 - 8003120: 4b34 ldr r3, [pc, #208] ; (80031f4 ) - 8003122: 4935 ldr r1, [pc, #212] ; (80031f8 ) - 8003124: f240 32c9 movw r2, #969 ; 0x3c9 - 8003128: 4834 ldr r0, [pc, #208] ; (80031fc ) - 800312a: f006 f93d bl 80093a8 - 800312e: f06f 000f mvn.w r0, #15 - 8003132: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8003136: 2600 movs r6, #0 - 8003138: f8df b0b8 ldr.w fp, [pc, #184] ; 80031f4 - 800313c: f8df a0cc ldr.w sl, [pc, #204] ; 800320c - 8003140: f8df 90b8 ldr.w r9, [pc, #184] ; 80031fc - 8003144: 4637 mov r7, r6 - 8003146: f8b5 800a ldrh.w r8, [r5, #10] - 800314a: 8962 ldrh r2, [r4, #10] - 800314c: 6868 ldr r0, [r5, #4] - 800314e: 6861 ldr r1, [r4, #4] - 8003150: eba8 0807 sub.w r8, r8, r7 - 8003154: 1b92 subs r2, r2, r6 - 8003156: 4590 cmp r8, r2 - 8003158: bf28 it cs - 800315a: 4690 movcs r8, r2 - 800315c: 4431 add r1, r6 - 800315e: 4438 add r0, r7 - 8003160: 4642 mov r2, r8 - 8003162: f006 f90b bl 800937c - 8003166: 896b ldrh r3, [r5, #10] - 8003168: 4447 add r7, r8 - 800316a: 429f cmp r7, r3 - 800316c: 4446 add r6, r8 - 800316e: d906 bls.n 800317e - 8003170: 465b mov r3, fp - 8003172: f240 32d9 movw r2, #985 ; 0x3d9 - 8003176: 4651 mov r1, sl - 8003178: 4648 mov r0, r9 - 800317a: f006 f915 bl 80093a8 - 800317e: 8963 ldrh r3, [r4, #10] - 8003180: 429e cmp r6, r3 - 8003182: d906 bls.n 8003192 - 8003184: 491e ldr r1, [pc, #120] ; (8003200 ) - 8003186: 465b mov r3, fp - 8003188: f240 32da movw r2, #986 ; 0x3da - 800318c: 4648 mov r0, r9 - 800318e: f006 f90b bl 80093a8 - 8003192: 8963 ldrh r3, [r4, #10] - 8003194: 429e cmp r6, r3 - 8003196: 896b ldrh r3, [r5, #10] - 8003198: bf24 itt cs - 800319a: 6824 ldrcs r4, [r4, #0] - 800319c: 2600 movcs r6, #0 - 800319e: 429f cmp r7, r3 - 80031a0: d108 bne.n 80031b4 - 80031a2: 682d ldr r5, [r5, #0] - 80031a4: b92d cbnz r5, 80031b2 - 80031a6: b314 cbz r4, 80031ee - 80031a8: 4b12 ldr r3, [pc, #72] ; (80031f4 ) - 80031aa: 4916 ldr r1, [pc, #88] ; (8003204 ) - 80031ac: f44f 7279 mov.w r2, #996 ; 0x3e4 - 80031b0: e7ba b.n 8003128 - 80031b2: 2700 movs r7, #0 - 80031b4: b17c cbz r4, 80031d6 - 80031b6: 8962 ldrh r2, [r4, #10] - 80031b8: 8923 ldrh r3, [r4, #8] - 80031ba: 429a cmp r2, r3 - 80031bc: d10b bne.n 80031d6 - 80031be: 6823 ldr r3, [r4, #0] - 80031c0: b14b cbz r3, 80031d6 - 80031c2: 4b0c ldr r3, [pc, #48] ; (80031f4 ) - 80031c4: f240 32e9 movw r2, #1001 ; 0x3e9 - 80031c8: 490f ldr r1, [pc, #60] ; (8003208 ) - 80031ca: 480c ldr r0, [pc, #48] ; (80031fc ) - 80031cc: f006 f8ec bl 80093a8 - 80031d0: f06f 0005 mvn.w r0, #5 - 80031d4: e7ad b.n 8003132 - 80031d6: 896a ldrh r2, [r5, #10] - 80031d8: 892b ldrh r3, [r5, #8] - 80031da: 429a cmp r2, r3 - 80031dc: d105 bne.n 80031ea - 80031de: 682b ldr r3, [r5, #0] - 80031e0: b11b cbz r3, 80031ea - 80031e2: 4b04 ldr r3, [pc, #16] ; (80031f4 ) - 80031e4: f240 32ee movw r2, #1006 ; 0x3ee - 80031e8: e7ee b.n 80031c8 - 80031ea: 2c00 cmp r4, #0 - 80031ec: d1ab bne.n 8003146 - 80031ee: 4620 mov r0, r4 - 80031f0: e79f b.n 8003132 - 80031f2: bf00 nop - 80031f4: 0800aa43 .word 0x0800aa43 - 80031f8: 0800abd7 .word 0x0800abd7 - 80031fc: 0800a54d .word 0x0800a54d - 8003200: 0800ac1e .word 0x0800ac1e - 8003204: 0800ac39 .word 0x0800ac39 - 8003208: 0800ac46 .word 0x0800ac46 - 800320c: 0800ac07 .word 0x0800ac07 +080036ac : + 80036ac: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 80036ae: 4e14 ldr r6, [pc, #80] @ (8003700 ) + 80036b0: 2900 cmp r1, #0 + 80036b2: bf14 ite ne + 80036b4: 460d movne r5, r1 + 80036b6: 4635 moveq r5, r6 + 80036b8: 2a00 cmp r2, #0 + 80036ba: bf14 ite ne + 80036bc: 4617 movne r7, r2 + 80036be: 4637 moveq r7, r6 + 80036c0: 2b00 cmp r3, #0 + 80036c2: bf18 it ne + 80036c4: 461e movne r6, r3 + 80036c6: 682b ldr r3, [r5, #0] + 80036c8: 4604 mov r4, r0 + 80036ca: b9b3 cbnz r3, 80036fa + 80036cc: aa01 add r2, sp, #4 + 80036ce: 4629 mov r1, r5 + 80036d0: f7ff ffd0 bl 8003674 + 80036d4: 2301 movs r3, #1 + 80036d6: 683a ldr r2, [r7, #0] + 80036d8: 68a1 ldr r1, [r4, #8] + 80036da: 428a cmp r2, r1 + 80036dc: bf18 it ne + 80036de: 60a2 strne r2, [r4, #8] + 80036e0: 6832 ldr r2, [r6, #0] + 80036e2: 68e1 ldr r1, [r4, #12] + 80036e4: 428a cmp r2, r1 + 80036e6: bf18 it ne + 80036e8: 60e2 strne r2, [r4, #12] + 80036ea: b923 cbnz r3, 80036f6 + 80036ec: aa01 add r2, sp, #4 + 80036ee: 4629 mov r1, r5 + 80036f0: 4620 mov r0, r4 + 80036f2: f7ff ffbf bl 8003674 + 80036f6: b003 add sp, #12 + 80036f8: bdf0 pop {r4, r5, r6, r7, pc} + 80036fa: 2300 movs r3, #0 + 80036fc: e7eb b.n 80036d6 + 80036fe: bf00 nop + 8003700: 0800ce50 .word 0x0800ce50 -08003210 : - 8003210: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8003214: 460f mov r7, r1 - 8003216: 4690 mov r8, r2 - 8003218: 4605 mov r5, r0 - 800321a: b950 cbnz r0, 8003232 - 800321c: 4b1b ldr r3, [pc, #108] ; (800328c ) - 800321e: 491c ldr r1, [pc, #112] ; (8003290 ) - 8003220: 481c ldr r0, [pc, #112] ; (8003294 ) - 8003222: f240 420a movw r2, #1034 ; 0x40a - 8003226: f006 f8bf bl 80093a8 - 800322a: 462e mov r6, r5 - 800322c: 4630 mov r0, r6 - 800322e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8003232: bb41 cbnz r1, 8003286 - 8003234: 4b15 ldr r3, [pc, #84] ; (800328c ) - 8003236: 4918 ldr r1, [pc, #96] ; (8003298 ) - 8003238: 4816 ldr r0, [pc, #88] ; (8003294 ) - 800323a: f240 420b movw r2, #1035 ; 0x40b - 800323e: f006 f8b3 bl 80093a8 - 8003242: 463e mov r6, r7 - 8003244: e7f2 b.n 800322c - 8003246: 896c ldrh r4, [r5, #10] - 8003248: b153 cbz r3, 8003260 - 800324a: 42a3 cmp r3, r4 - 800324c: d308 bcc.n 8003260 - 800324e: 1b1b subs r3, r3, r4 - 8003250: b29b uxth r3, r3 - 8003252: 682d ldr r5, [r5, #0] - 8003254: f1b8 0f00 cmp.w r8, #0 - 8003258: d0e8 beq.n 800322c - 800325a: 2d00 cmp r5, #0 - 800325c: d1f3 bne.n 8003246 - 800325e: e7e5 b.n 800322c - 8003260: 1ae4 subs r4, r4, r3 - 8003262: b2a4 uxth r4, r4 - 8003264: 4544 cmp r4, r8 - 8003266: 6869 ldr r1, [r5, #4] - 8003268: bf28 it cs - 800326a: 4644 movcs r4, r8 - 800326c: 4622 mov r2, r4 - 800326e: 4419 add r1, r3 - 8003270: 19b8 adds r0, r7, r6 - 8003272: 4426 add r6, r4 - 8003274: eba8 0404 sub.w r4, r8, r4 - 8003278: f006 f880 bl 800937c - 800327c: b2b6 uxth r6, r6 - 800327e: fa1f f884 uxth.w r8, r4 - 8003282: 2300 movs r3, #0 - 8003284: e7e5 b.n 8003252 - 8003286: 2600 movs r6, #0 - 8003288: e7e4 b.n 8003254 - 800328a: bf00 nop - 800328c: 0800aa43 .word 0x0800aa43 - 8003290: 0800ac70 .word 0x0800ac70 - 8003294: 0800a54d .word 0x0800a54d - 8003298: 0800ac8f .word 0x0800ac8f +08003704 : + 8003704: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8003708: 9e0b ldr r6, [sp, #44] @ 0x2c + 800370a: 4604 mov r4, r0 + 800370c: b950 cbnz r0, 8003724 + 800370e: 4b3a ldr r3, [pc, #232] @ (80037f8 ) + 8003710: 493a ldr r1, [pc, #232] @ (80037fc ) + 8003712: f240 1227 movw r2, #295 @ 0x127 + 8003716: 483a ldr r0, [pc, #232] @ (8003800 ) + 8003718: f006 fd2e bl 800a178 + 800371c: 2400 movs r4, #0 + 800371e: 4620 mov r0, r4 + 8003720: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8003724: b926 cbnz r6, 8003730 + 8003726: 4b34 ldr r3, [pc, #208] @ (80037f8 ) + 8003728: 4936 ldr r1, [pc, #216] @ (8003804 ) + 800372a: f44f 7294 mov.w r2, #296 @ 0x128 + 800372e: e7f2 b.n 8003716 + 8003730: 2500 movs r5, #0 + 8003732: f8df 80e0 ldr.w r8, [pc, #224] @ 8003814 + 8003736: 60c5 str r5, [r0, #12] + 8003738: e9c0 5501 strd r5, r5, [r0, #4] + 800373c: 8505 strh r5, [r0, #40] @ 0x28 + 800373e: f880 5031 strb.w r5, [r0, #49] @ 0x31 + 8003742: 6245 str r5, [r0, #36] @ 0x24 + 8003744: 61c5 str r5, [r0, #28] + 8003746: 9d0a ldr r5, [sp, #40] @ 0x28 + 8003748: 4f2f ldr r7, [pc, #188] @ (8003808 ) + 800374a: 6205 str r5, [r0, #32] + 800374c: f898 5000 ldrb.w r5, [r8] + 8003750: f880 5034 strb.w r5, [r0, #52] @ 0x34 + 8003754: f8df c0c0 ldr.w ip, [pc, #192] @ 8003818 + 8003758: 9d0c ldr r5, [sp, #48] @ 0x30 + 800375a: f8c0 c014 str.w ip, [r0, #20] + 800375e: 6105 str r5, [r0, #16] + 8003760: 2b00 cmp r3, #0 + 8003762: bf08 it eq + 8003764: 463b moveq r3, r7 + 8003766: 2a00 cmp r2, #0 + 8003768: bf08 it eq + 800376a: 463a moveq r2, r7 + 800376c: 2900 cmp r1, #0 + 800376e: bf08 it eq + 8003770: 4639 moveq r1, r7 + 8003772: f7ff ff9b bl 80036ac + 8003776: 4620 mov r0, r4 + 8003778: 47b0 blx r6 + 800377a: 2800 cmp r0, #0 + 800377c: d1ce bne.n 800371c + 800377e: 4e23 ldr r6, [pc, #140] @ (800380c ) + 8003780: f8df 9074 ldr.w r9, [pc, #116] @ 80037f8 + 8003784: f894 3034 ldrb.w r3, [r4, #52] @ 0x34 + 8003788: 6835 ldr r5, [r6, #0] + 800378a: f8df b090 ldr.w fp, [pc, #144] @ 800381c + 800378e: f8df a070 ldr.w sl, [pc, #112] @ 8003800 + 8003792: 2bff cmp r3, #255 @ 0xff + 8003794: bf04 itt eq + 8003796: 2300 moveq r3, #0 + 8003798: f884 3034 strbeq.w r3, [r4, #52] @ 0x34 + 800379c: 2700 movs r7, #0 + 800379e: b95d cbnz r5, 80037b8 + 80037a0: f894 3034 ldrb.w r3, [r4, #52] @ 0x34 + 80037a4: 2bfe cmp r3, #254 @ 0xfe + 80037a6: bf1c itt ne + 80037a8: 3301 addne r3, #1 + 80037aa: b2dd uxtbne r5, r3 + 80037ac: 6833 ldr r3, [r6, #0] + 80037ae: 6023 str r3, [r4, #0] + 80037b0: f888 5000 strb.w r5, [r8] + 80037b4: 6034 str r4, [r6, #0] + 80037b6: e7b2 b.n 800371e + 80037b8: 42a5 cmp r5, r4 + 80037ba: d106 bne.n 80037ca + 80037bc: 464b mov r3, r9 + 80037be: f240 128b movw r2, #395 @ 0x18b + 80037c2: 4659 mov r1, fp + 80037c4: 4650 mov r0, sl + 80037c6: f006 fcd7 bl 800a178 + 80037ca: 3701 adds r7, #1 + 80037cc: 2fff cmp r7, #255 @ 0xff + 80037ce: dd06 ble.n 80037de + 80037d0: 490f ldr r1, [pc, #60] @ (8003810 ) + 80037d2: 464b mov r3, r9 + 80037d4: f240 128d movw r2, #397 @ 0x18d + 80037d8: 4650 mov r0, sl + 80037da: f006 fccd bl 800a178 + 80037de: f894 2034 ldrb.w r2, [r4, #52] @ 0x34 + 80037e2: f895 3034 ldrb.w r3, [r5, #52] @ 0x34 + 80037e6: 4293 cmp r3, r2 + 80037e8: d103 bne.n 80037f2 + 80037ea: 3301 adds r3, #1 + 80037ec: f884 3034 strb.w r3, [r4, #52] @ 0x34 + 80037f0: e7c8 b.n 8003784 + 80037f2: 682d ldr r5, [r5, #0] + 80037f4: e7d3 b.n 800379e + 80037f6: bf00 nop + 80037f8: 0800b43c .word 0x0800b43c + 80037fc: 0800b490 .word 0x0800b490 + 8003800: 0800b0a6 .word 0x0800b0a6 + 8003804: 0800b4a9 .word 0x0800b4a9 + 8003808: 0800ce50 .word 0x0800ce50 + 800380c: 20018a74 .word 0x20018a74 + 8003810: 0800b4df .word 0x0800b4df + 8003814: 20018a6f .word 0x20018a6f + 8003818: 08003629 .word 0x08003629 + 800381c: 0800b4cb .word 0x0800b4cb -0800329c : - 800329c: b538 push {r3, r4, r5, lr} - 800329e: 4615 mov r5, r2 - 80032a0: 460a mov r2, r1 - 80032a2: 8929 ldrh r1, [r5, #8] - 80032a4: f7ff fdfa bl 8002e9c - 80032a8: 4604 mov r4, r0 - 80032aa: b150 cbz r0, 80032c2 - 80032ac: 4629 mov r1, r5 - 80032ae: f7ff ff2d bl 800310c - 80032b2: b130 cbz r0, 80032c2 - 80032b4: 4b04 ldr r3, [pc, #16] ; (80032c8 ) - 80032b6: 4905 ldr r1, [pc, #20] ; (80032cc ) - 80032b8: 4805 ldr r0, [pc, #20] ; (80032d0 ) - 80032ba: f240 5224 movw r2, #1316 ; 0x524 - 80032be: f006 f873 bl 80093a8 - 80032c2: 4620 mov r0, r4 - 80032c4: bd38 pop {r3, r4, r5, pc} - 80032c6: bf00 nop - 80032c8: 0800aa43 .word 0x0800aa43 - 80032cc: 0800acb2 .word 0x0800acb2 - 80032d0: 0800a54d .word 0x0800a54d +08003820 : + 8003820: 4b01 ldr r3, [pc, #4] @ (8003828 ) + 8003822: 6018 str r0, [r3, #0] + 8003824: 4770 bx lr + 8003826: bf00 nop + 8003828: 20018a70 .word 0x20018a70 -080032d4 : - 80032d4: b510 push {r4, lr} - 80032d6: 4604 mov r4, r0 - 80032d8: b930 cbnz r0, 80032e8 - 80032da: 4b13 ldr r3, [pc, #76] ; (8003328 ) - 80032dc: 4913 ldr r1, [pc, #76] ; (800332c ) - 80032de: 4814 ldr r0, [pc, #80] ; (8003330 ) - 80032e0: f44f 72ce mov.w r2, #412 ; 0x19c - 80032e4: f006 f860 bl 80093a8 - 80032e8: 7d23 ldrb r3, [r4, #20] - 80032ea: 2b04 cmp r3, #4 - 80032ec: d003 beq.n 80032f6 - 80032ee: 2b07 cmp r3, #7 - 80032f0: d00c beq.n 800330c - 80032f2: 2b03 cmp r3, #3 - 80032f4: d108 bne.n 8003308 - 80032f6: 4620 mov r0, r4 - 80032f8: f002 fc7e bl 8005bf8 - 80032fc: b960 cbnz r0, 8003318 - 80032fe: 2305 movs r3, #5 - 8003300: 7523 strb r3, [r4, #20] - 8003302: 4620 mov r0, r4 - 8003304: f002 fdda bl 8005ebc - 8003308: 2000 movs r0, #0 - 800330a: bd10 pop {r4, pc} - 800330c: 4620 mov r0, r4 - 800330e: f002 fc73 bl 8005bf8 - 8003312: b908 cbnz r0, 8003318 - 8003314: 2309 movs r3, #9 - 8003316: e7f3 b.n 8003300 - 8003318: 1c43 adds r3, r0, #1 - 800331a: d1f6 bne.n 800330a - 800331c: 8b63 ldrh r3, [r4, #26] - 800331e: f043 0308 orr.w r3, r3, #8 - 8003322: 8363 strh r3, [r4, #26] - 8003324: e7f0 b.n 8003308 - 8003326: bf00 nop - 8003328: 0800acc3 .word 0x0800acc3 - 800332c: 0800acf2 .word 0x0800acf2 - 8003330: 0800a54d .word 0x0800a54d +0800382c : + 800382c: b930 cbnz r0, 800383c + 800382e: 4b09 ldr r3, [pc, #36] @ (8003854 ) + 8003830: 4909 ldr r1, [pc, #36] @ (8003858 ) + 8003832: 480a ldr r0, [pc, #40] @ (800385c ) + 8003834: f44f 7254 mov.w r2, #848 @ 0x350 + 8003838: f006 bc9e b.w 800a178 + 800383c: f890 2031 ldrb.w r2, [r0, #49] @ 0x31 + 8003840: 07d1 lsls r1, r2, #31 + 8003842: d406 bmi.n 8003852 + 8003844: f042 0201 orr.w r2, r2, #1 + 8003848: f880 2031 strb.w r2, [r0, #49] @ 0x31 + 800384c: 2103 movs r1, #3 + 800384e: f7ff beef b.w 8003630 + 8003852: 4770 bx lr + 8003854: 0800b43c .word 0x0800b43c + 8003858: 0800b50d .word 0x0800b50d + 800385c: 0800b0a6 .word 0x0800b0a6 -08003334 : - 8003334: b508 push {r3, lr} - 8003336: f006 f84f bl 80093d8 - 800333a: 4b03 ldr r3, [pc, #12] ; (8003348 ) - 800333c: ea6f 4080 mvn.w r0, r0, lsl #18 - 8003340: ea6f 4090 mvn.w r0, r0, lsr #18 - 8003344: 8018 strh r0, [r3, #0] - 8003346: bd08 pop {r3, pc} - 8003348: 20000024 .word 0x20000024 +08003860 : + 8003860: b930 cbnz r0, 8003870 + 8003862: 4b0a ldr r3, [pc, #40] @ (800388c ) + 8003864: 490a ldr r1, [pc, #40] @ (8003890 ) + 8003866: 480b ldr r0, [pc, #44] @ (8003894 ) + 8003868: f240 329b movw r2, #923 @ 0x39b + 800386c: f006 bc84 b.w 800a178 + 8003870: f890 2031 ldrb.w r2, [r0, #49] @ 0x31 + 8003874: 07d1 lsls r1, r2, #31 + 8003876: d507 bpl.n 8003888 + 8003878: f022 0101 bic.w r1, r2, #1 + 800387c: 0713 lsls r3, r2, #28 + 800387e: f880 1031 strb.w r1, [r0, #49] @ 0x31 + 8003882: d501 bpl.n 8003888 + 8003884: f005 b966 b.w 8008b54 + 8003888: 4770 bx lr + 800388a: bf00 nop + 800388c: 0800b43c .word 0x0800b43c + 8003890: 0800b529 .word 0x0800b529 + 8003894: 0800b0a6 .word 0x0800b0a6 -0800334c : - 800334c: b510 push {r4, lr} - 800334e: 7d03 ldrb r3, [r0, #20] - 8003350: 2b01 cmp r3, #1 - 8003352: 4604 mov r4, r0 - 8003354: d105 bne.n 8003362 - 8003356: 4b06 ldr r3, [pc, #24] ; (8003370 ) - 8003358: 4906 ldr r1, [pc, #24] ; (8003374 ) - 800335a: 4807 ldr r0, [pc, #28] ; (8003378 ) - 800335c: 22d4 movs r2, #212 ; 0xd4 - 800335e: f006 f823 bl 80093a8 - 8003362: 4621 mov r1, r4 - 8003364: 2001 movs r0, #1 - 8003366: e8bd 4010 ldmia.w sp!, {r4, lr} - 800336a: f7ff babb b.w 80028e4 - 800336e: bf00 nop - 8003370: 0800acc3 .word 0x0800acc3 - 8003374: 0800acfe .word 0x0800acfe - 8003378: 0800a54d .word 0x0800a54d +08003898 : + 8003898: b510 push {r4, lr} + 800389a: 4604 mov r4, r0 + 800389c: b940 cbnz r0, 80038b0 + 800389e: e8bd 4010 ldmia.w sp!, {r4, lr} + 80038a2: 4b0e ldr r3, [pc, #56] @ (80038dc ) + 80038a4: 490e ldr r1, [pc, #56] @ (80038e0 ) + 80038a6: 480f ldr r0, [pc, #60] @ (80038e4 ) + 80038a8: f44f 7278 mov.w r2, #992 @ 0x3e0 + 80038ac: f006 bc64 b.w 800a178 + 80038b0: f890 3031 ldrb.w r3, [r0, #49] @ 0x31 + 80038b4: 075a lsls r2, r3, #29 + 80038b6: d40f bmi.n 80038d8 + 80038b8: f043 0304 orr.w r3, r3, #4 + 80038bc: f880 3031 strb.w r3, [r0, #49] @ 0x31 + 80038c0: f004 fd7c bl 80083bc + 80038c4: 2103 movs r1, #3 + 80038c6: 4620 mov r0, r4 + 80038c8: f7ff feb2 bl 8003630 + 80038cc: 69e3 ldr r3, [r4, #28] + 80038ce: b11b cbz r3, 80038d8 + 80038d0: 4620 mov r0, r4 + 80038d2: e8bd 4010 ldmia.w sp!, {r4, lr} + 80038d6: 4718 bx r3 + 80038d8: bd10 pop {r4, pc} + 80038da: bf00 nop + 80038dc: 0800b43c .word 0x0800b43c + 80038e0: 0800b547 .word 0x0800b547 + 80038e4: 0800b0a6 .word 0x0800b0a6 -0800337c : - 800337c: b570 push {r4, r5, r6, lr} - 800337e: 4604 mov r4, r0 - 8003380: b930 cbnz r0, 8003390 - 8003382: 4b15 ldr r3, [pc, #84] ; (80033d8 ) - 8003384: 4915 ldr r1, [pc, #84] ; (80033dc ) - 8003386: 4816 ldr r0, [pc, #88] ; (80033e0 ) - 8003388: f240 32a6 movw r2, #934 ; 0x3a6 - 800338c: f006 f80c bl 80093a8 - 8003390: 8d22 ldrh r2, [r4, #40] ; 0x28 - 8003392: 6ae3 ldr r3, [r4, #44] ; 0x2c - 8003394: 8e66 ldrh r6, [r4, #50] ; 0x32 - 8003396: 6a65 ldr r5, [r4, #36] ; 0x24 - 8003398: 1ad0 subs r0, r2, r3 - 800339a: f5b6 6f86 cmp.w r6, #1072 ; 0x430 - 800339e: 4428 add r0, r5 - 80033a0: bf94 ite ls - 80033a2: 1b81 subls r1, r0, r6 - 80033a4: f5a0 6186 subhi.w r1, r0, #1072 ; 0x430 - 80033a8: 2900 cmp r1, #0 - 80033aa: db01 blt.n 80033b0 - 80033ac: 8562 strh r2, [r4, #42] ; 0x2a - 80033ae: bd70 pop {r4, r5, r6, pc} - 80033b0: 1aea subs r2, r5, r3 - 80033b2: 2a00 cmp r2, #0 - 80033b4: dd02 ble.n 80033bc - 80033b6: 2000 movs r0, #0 - 80033b8: 8560 strh r0, [r4, #42] ; 0x2a - 80033ba: e7f8 b.n 80033ae - 80033bc: 1b5d subs r5, r3, r5 - 80033be: f5b5 3f80 cmp.w r5, #65536 ; 0x10000 - 80033c2: d306 bcc.n 80033d2 - 80033c4: 4b04 ldr r3, [pc, #16] ; (80033d8 ) - 80033c6: 4907 ldr r1, [pc, #28] ; (80033e4 ) - 80033c8: 4805 ldr r0, [pc, #20] ; (80033e0 ) - 80033ca: f240 32b6 movw r2, #950 ; 0x3b6 - 80033ce: f005 ffeb bl 80093a8 - 80033d2: 8565 strh r5, [r4, #42] ; 0x2a - 80033d4: 2000 movs r0, #0 - 80033d6: e7ea b.n 80033ae - 80033d8: 0800acc3 .word 0x0800acc3 - 80033dc: 0800ad0f .word 0x0800ad0f - 80033e0: 0800a54d .word 0x0800a54d - 80033e4: 0800ad33 .word 0x0800ad33 +080038e8 : + 80038e8: b930 cbnz r0, 80038f8 + 80038ea: 4b09 ldr r3, [pc, #36] @ (8003910 ) + 80038ec: 4909 ldr r1, [pc, #36] @ (8003914 ) + 80038ee: 480a ldr r0, [pc, #40] @ (8003918 ) + 80038f0: f240 4206 movw r2, #1030 @ 0x406 + 80038f4: f006 bc40 b.w 800a178 + 80038f8: f890 2031 ldrb.w r2, [r0, #49] @ 0x31 + 80038fc: 0751 lsls r1, r2, #29 + 80038fe: d506 bpl.n 800390e + 8003900: 69c3 ldr r3, [r0, #28] + 8003902: f022 0204 bic.w r2, r2, #4 + 8003906: f880 2031 strb.w r2, [r0, #49] @ 0x31 + 800390a: b103 cbz r3, 800390e + 800390c: 4718 bx r3 + 800390e: 4770 bx lr + 8003910: 0800b43c .word 0x0800b43c + 8003914: 0800b568 .word 0x0800b568 + 8003918: 0800b0a6 .word 0x0800b0a6 -080033e8 : - 80033e8: b570 push {r4, r5, r6, lr} - 80033ea: 460c mov r4, r1 - 80033ec: 4605 mov r5, r0 - 80033ee: b940 cbnz r0, 8003402 - 80033f0: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 80033f4: 4b17 ldr r3, [pc, #92] ; (8003454 ) - 80033f6: 4918 ldr r1, [pc, #96] ; (8003458 ) - 80033f8: 4818 ldr r0, [pc, #96] ; (800345c ) - 80033fa: f240 32cf movw r2, #975 ; 0x3cf - 80033fe: f005 bfd3 b.w 80093a8 - 8003402: 7d03 ldrb r3, [r0, #20] - 8003404: 2b01 cmp r3, #1 - 8003406: d106 bne.n 8003416 - 8003408: 4b12 ldr r3, [pc, #72] ; (8003454 ) - 800340a: 4915 ldr r1, [pc, #84] ; (8003460 ) - 800340c: 4813 ldr r0, [pc, #76] ; (800345c ) - 800340e: f240 32d2 movw r2, #978 ; 0x3d2 - 8003412: f005 ffc9 bl 80093a8 - 8003416: 8d2b ldrh r3, [r5, #40] ; 0x28 - 8003418: 1919 adds r1, r3, r4 - 800341a: b289 uxth r1, r1 - 800341c: f5b1 6f06 cmp.w r1, #2144 ; 0x860 - 8003420: d813 bhi.n 800344a - 8003422: 428b cmp r3, r1 - 8003424: bf88 it hi - 8003426: f44f 6106 movhi.w r1, #2144 ; 0x860 - 800342a: 8529 strh r1, [r5, #40] ; 0x28 - 800342c: 4628 mov r0, r5 - 800342e: f7ff ffa5 bl 800337c - 8003432: f5b0 7f06 cmp.w r0, #536 ; 0x218 - 8003436: d30b bcc.n 8003450 - 8003438: 8b6b ldrh r3, [r5, #26] - 800343a: f043 0302 orr.w r3, r3, #2 - 800343e: 836b strh r3, [r5, #26] - 8003440: 4628 mov r0, r5 - 8003442: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 8003446: f002 bd39 b.w 8005ebc - 800344a: f44f 6106 mov.w r1, #2144 ; 0x860 - 800344e: e7ec b.n 800342a - 8003450: bd70 pop {r4, r5, r6, pc} - 8003452: bf00 nop - 8003454: 0800acc3 .word 0x0800acc3 - 8003458: 0800ad4d .word 0x0800ad4d - 800345c: 0800a54d .word 0x0800a54d - 8003460: 0800ad65 .word 0x0800ad65 - -08003464 : - 8003464: b510 push {r4, lr} - 8003466: 4604 mov r4, r0 - 8003468: b148 cbz r0, 800347e - 800346a: 6840 ldr r0, [r0, #4] - 800346c: b108 cbz r0, 8003472 - 800346e: f7ff fcb1 bl 8002dd4 - 8003472: 4621 mov r1, r4 - 8003474: 2003 movs r0, #3 - 8003476: e8bd 4010 ldmia.w sp!, {r4, lr} - 800347a: f7ff ba33 b.w 80028e4 - 800347e: bd10 pop {r4, pc} - -08003480 : - 8003480: b510 push {r4, lr} - 8003482: b900 cbnz r0, 8003486 - 8003484: bd10 pop {r4, pc} - 8003486: 6804 ldr r4, [r0, #0] - 8003488: f7ff ffec bl 8003464 - 800348c: 4620 mov r0, r4 - 800348e: e7f8 b.n 8003482 - -08003490 : - 8003490: b538 push {r3, r4, r5, lr} - 8003492: 4604 mov r4, r0 - 8003494: b930 cbnz r0, 80034a4 - 8003496: 4b0d ldr r3, [pc, #52] ; (80034cc ) - 8003498: 490d ldr r1, [pc, #52] ; (80034d0 ) - 800349a: 480e ldr r0, [pc, #56] ; (80034d4 ) - 800349c: f240 6282 movw r2, #1666 ; 0x682 - 80034a0: f005 ff82 bl 80093a8 - 80034a4: 2003 movs r0, #3 - 80034a6: f7ff f9ed bl 8002884 - 80034aa: 4605 mov r5, r0 - 80034ac: b160 cbz r0, 80034c8 - 80034ae: 4623 mov r3, r4 - 80034b0: 4602 mov r2, r0 - 80034b2: f104 0110 add.w r1, r4, #16 - 80034b6: f853 0b04 ldr.w r0, [r3], #4 - 80034ba: f842 0b04 str.w r0, [r2], #4 - 80034be: 428b cmp r3, r1 - 80034c0: d1f9 bne.n 80034b6 - 80034c2: 6868 ldr r0, [r5, #4] - 80034c4: f7ff fdca bl 800305c - 80034c8: 4628 mov r0, r5 - 80034ca: bd38 pop {r3, r4, r5, pc} - 80034cc: 0800acc3 .word 0x0800acc3 - 80034d0: 0800ad8b .word 0x0800ad8b - 80034d4: 0800a54d .word 0x0800a54d - -080034d8 : - 80034d8: b508 push {r3, lr} - 80034da: b930 cbnz r0, 80034ea - 80034dc: 4b06 ldr r3, [pc, #24] ; (80034f8 ) - 80034de: 4907 ldr r1, [pc, #28] ; (80034fc ) - 80034e0: 4807 ldr r0, [pc, #28] ; (8003500 ) - 80034e2: f640 02af movw r2, #2223 ; 0x8af - 80034e6: f005 ff5f bl 80093a8 - 80034ea: 4b06 ldr r3, [pc, #24] ; (8003504 ) - 80034ec: 4a06 ldr r2, [pc, #24] ; (8003508 ) - 80034ee: 6818 ldr r0, [r3, #0] - 80034f0: 6812 ldr r2, [r2, #0] - 80034f2: 4410 add r0, r2 - 80034f4: 6018 str r0, [r3, #0] - 80034f6: bd08 pop {r3, pc} - 80034f8: 0800acc3 .word 0x0800acc3 - 80034fc: 0800ada5 .word 0x0800ada5 - 8003500: 0800a54d .word 0x0800a54d - 8003504: 20000020 .word 0x20000020 - 8003508: 200082b4 .word 0x200082b4 - -0800350c : - 800350c: b538 push {r3, r4, r5, lr} - 800350e: 4604 mov r4, r0 - 8003510: 460d mov r5, r1 - 8003512: b932 cbnz r2, 8003522 - 8003514: 4b09 ldr r3, [pc, #36] ; (800353c ) - 8003516: 490a ldr r1, [pc, #40] ; (8003540 ) - 8003518: 480a ldr r0, [pc, #40] ; (8003544 ) - 800351a: f640 02c5 movw r2, #2245 ; 0x8c5 - 800351e: f005 ff43 bl 80093a8 - 8003522: b14d cbz r5, 8003538 - 8003524: 8d2b ldrh r3, [r5, #40] ; 0x28 - 8003526: b13b cbz r3, 8003538 - 8003528: 2b28 cmp r3, #40 ; 0x28 - 800352a: bf86 itte hi - 800352c: 3b28 subhi r3, #40 ; 0x28 - 800352e: b29b uxthhi r3, r3 - 8003530: 2300 movls r3, #0 - 8003532: 429c cmp r4, r3 - 8003534: bf28 it cs - 8003536: 461c movcs r4, r3 - 8003538: 4620 mov r0, r4 - 800353a: bd38 pop {r3, r4, r5, pc} - 800353c: 0800acc3 .word 0x0800acc3 - 8003540: 0800adbf .word 0x0800adbf - 8003544: 0800a54d .word 0x0800a54d - -08003548 : - 8003548: b510 push {r4, lr} - 800354a: 4604 mov r4, r0 - 800354c: 6f40 ldr r0, [r0, #116] ; 0x74 - 800354e: b118 cbz r0, 8003558 - 8003550: f7ff ff96 bl 8003480 - 8003554: 2300 movs r3, #0 - 8003556: 6763 str r3, [r4, #116] ; 0x74 - 8003558: bd10 pop {r4, pc} +0800391c : + 800391c: b100 cbz r0, 8003920 + 800391e: 61c1 str r1, [r0, #28] + 8003920: 4770 bx lr ... -0800355c : - 800355c: b510 push {r4, lr} - 800355e: 4604 mov r4, r0 - 8003560: b940 cbnz r0, 8003574 - 8003562: e8bd 4010 ldmia.w sp!, {r4, lr} - 8003566: 4b13 ldr r3, [pc, #76] ; (80035b4 ) - 8003568: 4913 ldr r1, [pc, #76] ; (80035b8 ) - 800356a: 4814 ldr r0, [pc, #80] ; (80035bc ) - 800356c: f640 0251 movw r2, #2129 ; 0x851 - 8003570: f005 bf1a b.w 80093a8 - 8003574: 7d03 ldrb r3, [r0, #20] - 8003576: 2b01 cmp r3, #1 - 8003578: d91a bls.n 80035b0 - 800357a: 2b0a cmp r3, #10 - 800357c: d018 beq.n 80035b0 - 800357e: 6f80 ldr r0, [r0, #120] ; 0x78 - 8003580: b118 cbz r0, 800358a - 8003582: f7ff fc27 bl 8002dd4 - 8003586: 2300 movs r3, #0 - 8003588: 67a3 str r3, [r4, #120] ; 0x78 - 800358a: 6f63 ldr r3, [r4, #116] ; 0x74 - 800358c: b113 cbz r3, 8003594 - 800358e: 4620 mov r0, r4 - 8003590: f7ff ffda bl 8003548 - 8003594: f64f 73ff movw r3, #65535 ; 0xffff - 8003598: 8623 strh r3, [r4, #48] ; 0x30 - 800359a: 6ee0 ldr r0, [r4, #108] ; 0x6c - 800359c: f7ff ff70 bl 8003480 - 80035a0: 6f20 ldr r0, [r4, #112] ; 0x70 - 80035a2: f7ff ff6d bl 8003480 - 80035a6: 2300 movs r3, #0 - 80035a8: e9c4 331b strd r3, r3, [r4, #108] ; 0x6c - 80035ac: f8a4 3068 strh.w r3, [r4, #104] ; 0x68 - 80035b0: bd10 pop {r4, pc} - 80035b2: bf00 nop - 80035b4: 0800acc3 .word 0x0800acc3 - 80035b8: 0800ade6 .word 0x0800ade6 - 80035bc: 0800a54d .word 0x0800a54d +08003924 : + 8003924: 4603 mov r3, r0 + 8003926: b158 cbz r0, 8003940 + 8003928: 4a06 ldr r2, [pc, #24] @ (8003944 ) + 800392a: 6810 ldr r0, [r2, #0] + 800392c: b900 cbnz r0, 8003930 + 800392e: 4770 bx lr + 8003930: f890 2034 ldrb.w r2, [r0, #52] @ 0x34 + 8003934: 3201 adds r2, #1 + 8003936: b2d2 uxtb r2, r2 + 8003938: 429a cmp r2, r3 + 800393a: d001 beq.n 8003940 + 800393c: 6800 ldr r0, [r0, #0] + 800393e: e7f5 b.n 800392c + 8003940: 4770 bx lr + 8003942: bf00 nop + 8003944: 20018a74 .word 0x20018a74 -080035c0 : - 80035c0: b538 push {r3, r4, r5, lr} - 80035c2: 4605 mov r5, r0 - 80035c4: 460c mov r4, r1 - 80035c6: b931 cbnz r1, 80035d6 - 80035c8: 4b29 ldr r3, [pc, #164] ; (8003670 ) - 80035ca: 492a ldr r1, [pc, #168] ; (8003674 ) - 80035cc: 482a ldr r0, [pc, #168] ; (8003678 ) - 80035ce: f640 0283 movw r2, #2179 ; 0x883 - 80035d2: f005 fee9 bl 80093a8 - 80035d6: b935 cbnz r5, 80035e6 - 80035d8: 4b25 ldr r3, [pc, #148] ; (8003670 ) - 80035da: 4928 ldr r1, [pc, #160] ; (800367c ) - 80035dc: 4826 ldr r0, [pc, #152] ; (8003678 ) - 80035de: f640 0284 movw r2, #2180 ; 0x884 - 80035e2: f005 fee1 bl 80093a8 - 80035e6: 682b ldr r3, [r5, #0] - 80035e8: 42a3 cmp r3, r4 - 80035ea: d11f bne.n 800362c - 80035ec: 68e3 ldr r3, [r4, #12] - 80035ee: 602b str r3, [r5, #0] - 80035f0: 2300 movs r3, #0 - 80035f2: 60e3 str r3, [r4, #12] - 80035f4: 4620 mov r0, r4 - 80035f6: f7ff ffb1 bl 800355c - 80035fa: 7d23 ldrb r3, [r4, #20] - 80035fc: 2b0a cmp r3, #10 - 80035fe: d11d bne.n 800363c - 8003600: 6ee3 ldr r3, [r4, #108] ; 0x6c - 8003602: bb6b cbnz r3, 8003660 - 8003604: 6f23 ldr r3, [r4, #112] ; 0x70 - 8003606: b133 cbz r3, 8003616 - 8003608: 4b19 ldr r3, [pc, #100] ; (8003670 ) - 800360a: 491d ldr r1, [pc, #116] ; (8003680 ) - 800360c: 481a ldr r0, [pc, #104] ; (8003678 ) - 800360e: f640 0294 movw r2, #2196 ; 0x894 - 8003612: f005 fec9 bl 80093a8 - 8003616: 6f63 ldr r3, [r4, #116] ; 0x74 - 8003618: b1f3 cbz r3, 8003658 - 800361a: 4b15 ldr r3, [pc, #84] ; (8003670 ) - 800361c: 4919 ldr r1, [pc, #100] ; (8003684 ) - 800361e: 4816 ldr r0, [pc, #88] ; (8003678 ) - 8003620: f640 0296 movw r2, #2198 ; 0x896 - 8003624: f005 fec0 bl 80093a8 - 8003628: e016 b.n 8003658 - 800362a: 4613 mov r3, r2 - 800362c: 2b00 cmp r3, #0 - 800362e: d0df beq.n 80035f0 - 8003630: 68da ldr r2, [r3, #12] - 8003632: 42a2 cmp r2, r4 - 8003634: d1f9 bne.n 800362a - 8003636: 68e2 ldr r2, [r4, #12] - 8003638: 60da str r2, [r3, #12] - 800363a: e7d9 b.n 80035f0 - 800363c: 2b01 cmp r3, #1 - 800363e: d00b beq.n 8003658 - 8003640: 8b63 ldrh r3, [r4, #26] - 8003642: 07da lsls r2, r3, #31 - 8003644: d5dc bpl.n 8003600 - 8003646: f043 0302 orr.w r3, r3, #2 - 800364a: 8363 strh r3, [r4, #26] - 800364c: 4620 mov r0, r4 - 800364e: f002 fc35 bl 8005ebc - 8003652: 7d23 ldrb r3, [r4, #20] - 8003654: 2b01 cmp r3, #1 - 8003656: d1d3 bne.n 8003600 - 8003658: 2300 movs r3, #0 - 800365a: 7523 strb r3, [r4, #20] - 800365c: 82e3 strh r3, [r4, #22] - 800365e: bd38 pop {r3, r4, r5, pc} - 8003660: 4b03 ldr r3, [pc, #12] ; (8003670 ) - 8003662: 4909 ldr r1, [pc, #36] ; (8003688 ) - 8003664: 4804 ldr r0, [pc, #16] ; (8003678 ) - 8003666: f640 0293 movw r2, #2195 ; 0x893 - 800366a: f005 fe9d bl 80093a8 - 800366e: e7c9 b.n 8003604 - 8003670: 0800acc3 .word 0x0800acc3 - 8003674: 0800ae01 .word 0x0800ae01 - 8003678: 0800a54d .word 0x0800a54d - 800367c: 0800ae1d .word 0x0800ae1d - 8003680: 0800ae55 .word 0x0800ae55 - 8003684: 0800ae6e .word 0x0800ae6e - 8003688: 0800ae3d .word 0x0800ae3d +08003948 : + 8003948: b538 push {r3, r4, r5, lr} + 800394a: b120 cbz r0, 8003956 + 800394c: f5b1 3f80 cmp.w r1, #65536 @ 0x10000 + 8003950: d309 bcc.n 8003966 + 8003952: 2001 movs r0, #1 + 8003954: bd38 pop {r3, r4, r5, pc} + 8003956: 4b13 ldr r3, [pc, #76] @ (80039a4 ) + 8003958: 4913 ldr r1, [pc, #76] @ (80039a8 ) + 800395a: 4814 ldr r0, [pc, #80] @ (80039ac ) + 800395c: f240 12df movw r2, #479 @ 0x1df + 8003960: f006 fc0a bl 800a178 + 8003964: e7f5 b.n 8003952 + 8003966: b1a9 cbz r1, 8003994 + 8003968: 8903 ldrh r3, [r0, #8] + 800396a: fa13 f381 uxtah r3, r3, r1 + 800396e: b28c uxth r4, r1 + 8003970: b29b uxth r3, r3 + 8003972: 42a3 cmp r3, r4 + 8003974: d3ed bcc.n 8003952 + 8003976: f990 500c ldrsb.w r5, [r0, #12] + 800397a: 2d00 cmp r5, #0 + 800397c: da0c bge.n 8003998 + 800397e: 6842 ldr r2, [r0, #4] + 8003980: 1a51 subs r1, r2, r1 + 8003982: f100 0210 add.w r2, r0, #16 + 8003986: 4291 cmp r1, r2 + 8003988: d3e3 bcc.n 8003952 + 800398a: 8942 ldrh r2, [r0, #10] + 800398c: 6041 str r1, [r0, #4] + 800398e: 4414 add r4, r2 + 8003990: 8144 strh r4, [r0, #10] + 8003992: 8103 strh r3, [r0, #8] + 8003994: 2000 movs r0, #0 + 8003996: e7dd b.n 8003954 + 8003998: 2a00 cmp r2, #0 + 800399a: d0da beq.n 8003952 + 800399c: 6842 ldr r2, [r0, #4] + 800399e: 1a51 subs r1, r2, r1 + 80039a0: e7f3 b.n 800398a + 80039a2: bf00 nop + 80039a4: 0800b58b .word 0x0800b58b + 80039a8: 0800b65d .word 0x0800b65d + 80039ac: 0800b0a6 .word 0x0800b0a6 -0800368c : - 800368c: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} - 8003690: 460e mov r6, r1 - 8003692: 4604 mov r4, r0 - 8003694: b948 cbnz r0, 80036aa - 8003696: 4b36 ldr r3, [pc, #216] ; (8003770 ) - 8003698: 4936 ldr r1, [pc, #216] ; (8003774 ) - 800369a: 4837 ldr r0, [pc, #220] ; (8003778 ) - 800369c: f240 223d movw r2, #573 ; 0x23d - 80036a0: b004 add sp, #16 - 80036a2: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 80036a6: f005 be7f b.w 80093a8 - 80036aa: 7d03 ldrb r3, [r0, #20] - 80036ac: 2b01 cmp r3, #1 - 80036ae: d106 bne.n 80036be - 80036b0: 4b2f ldr r3, [pc, #188] ; (8003770 ) - 80036b2: 4932 ldr r1, [pc, #200] ; (800377c ) - 80036b4: 4830 ldr r0, [pc, #192] ; (8003778 ) - 80036b6: f44f 7210 mov.w r2, #576 ; 0x240 - 80036ba: f005 fe75 bl 80093a8 - 80036be: 7d23 ldrb r3, [r4, #20] - 80036c0: 2b0a cmp r3, #10 - 80036c2: d109 bne.n 80036d8 - 80036c4: 482e ldr r0, [pc, #184] ; (8003780 ) - 80036c6: 4621 mov r1, r4 - 80036c8: f7ff ff7a bl 80035c0 - 80036cc: 4620 mov r0, r4 - 80036ce: b004 add sp, #16 - 80036d0: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 80036d4: f7ff be3a b.w 800334c - 80036d8: f8d4 9050 ldr.w r9, [r4, #80] ; 0x50 - 80036dc: f8d4 a024 ldr.w sl, [r4, #36] ; 0x24 - 80036e0: f8d4 7090 ldr.w r7, [r4, #144] ; 0x90 - 80036e4: f8d4 8010 ldr.w r8, [r4, #16] - 80036e8: 8ae5 ldrh r5, [r4, #22] - 80036ea: b99b cbnz r3, 8003714 - 80036ec: b13d cbz r5, 80036fe - 80036ee: 4a25 ldr r2, [pc, #148] ; (8003784 ) - 80036f0: 6813 ldr r3, [r2, #0] - 80036f2: 42a3 cmp r3, r4 - 80036f4: d106 bne.n 8003704 - 80036f6: 68e3 ldr r3, [r4, #12] - 80036f8: 6013 str r3, [r2, #0] - 80036fa: 2500 movs r5, #0 - 80036fc: 60e5 str r5, [r4, #12] - 80036fe: 462e mov r6, r5 - 8003700: e00f b.n 8003722 - 8003702: 4613 mov r3, r2 - 8003704: 2b00 cmp r3, #0 - 8003706: d0f8 beq.n 80036fa - 8003708: 68da ldr r2, [r3, #12] - 800370a: 42a2 cmp r2, r4 - 800370c: d1f9 bne.n 8003702 - 800370e: 68e2 ldr r2, [r4, #12] - 8003710: 60da str r2, [r3, #12] - 8003712: e7f2 b.n 80036fa - 8003714: 481c ldr r0, [pc, #112] ; (8003788 ) - 8003716: 4621 mov r1, r4 - 8003718: f7ff ff52 bl 80035c0 - 800371c: 4b1b ldr r3, [pc, #108] ; (800378c ) - 800371e: 2201 movs r2, #1 - 8003720: 701a strb r2, [r3, #0] - 8003722: 6f20 ldr r0, [r4, #112] ; 0x70 - 8003724: b108 cbz r0, 800372a - 8003726: f7ff feab bl 8003480 - 800372a: 6ee0 ldr r0, [r4, #108] ; 0x6c - 800372c: b108 cbz r0, 8003732 - 800372e: f7ff fea7 bl 8003480 - 8003732: 6f60 ldr r0, [r4, #116] ; 0x74 - 8003734: b108 cbz r0, 800373a - 8003736: f7ff fea3 bl 8003480 - 800373a: b156 cbz r6, 8003752 - 800373c: 8b23 ldrh r3, [r4, #24] - 800373e: e9cd 5301 strd r5, r3, [sp, #4] - 8003742: 1d23 adds r3, r4, #4 - 8003744: 9300 str r3, [sp, #0] - 8003746: 4652 mov r2, sl - 8003748: 4623 mov r3, r4 - 800374a: 4649 mov r1, r9 - 800374c: 4620 mov r0, r4 - 800374e: f002 fb3d bl 8005dcc - 8003752: 4620 mov r0, r4 - 8003754: f7ff fdfa bl 800334c - 8003758: b13f cbz r7, 800376a - 800375a: f06f 010c mvn.w r1, #12 - 800375e: 4640 mov r0, r8 - 8003760: 463b mov r3, r7 - 8003762: b004 add sp, #16 - 8003764: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8003768: 4718 bx r3 - 800376a: b004 add sp, #16 - 800376c: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8003770: 0800acc3 .word 0x0800acc3 - 8003774: 0800ae85 .word 0x0800ae85 - 8003778: 0800a54d .word 0x0800a54d - 800377c: 0800ae9e .word 0x0800ae9e - 8003780: 200082bc .word 0x200082bc - 8003784: 200082ac .word 0x200082ac - 8003788: 200082a4 .word 0x200082a4 - 800378c: 200082a8 .word 0x200082a8 +080039b0 : + 80039b0: 4b06 ldr r3, [pc, #24] @ (80039cc ) + 80039b2: 2200 movs r2, #0 + 80039b4: 701a strb r2, [r3, #0] + 80039b6: 4b06 ldr r3, [pc, #24] @ (80039d0 ) + 80039b8: 6818 ldr r0, [r3, #0] + 80039ba: b900 cbnz r0, 80039be + 80039bc: 4770 bx lr + 80039be: 6f43 ldr r3, [r0, #116] @ 0x74 + 80039c0: b10b cbz r3, 80039c6 + 80039c2: f000 bc2d b.w 8004220 + 80039c6: 68c0 ldr r0, [r0, #12] + 80039c8: e7f7 b.n 80039ba + 80039ca: bf00 nop + 80039cc: 20018a78 .word 0x20018a78 + 80039d0: 20018a80 .word 0x20018a80 -08003790 : - 8003790: 2101 movs r1, #1 - 8003792: f7ff bf7b b.w 800368c +080039d4 : + 80039d4: f022 0340 bic.w r3, r2, #64 @ 0x40 + 80039d8: 2b01 cmp r3, #1 + 80039da: b570 push {r4, r5, r6, lr} + 80039dc: 4606 mov r6, r0 + 80039de: 460d mov r5, r1 + 80039e0: 4614 mov r4, r2 + 80039e2: d006 beq.n 80039f2 + 80039e4: 4b0a ldr r3, [pc, #40] @ (8003a10 ) + 80039e6: 490b ldr r1, [pc, #44] @ (8003a14 ) + 80039e8: 480b ldr r0, [pc, #44] @ (8003a18 ) + 80039ea: f44f 72a5 mov.w r2, #330 @ 0x14a + 80039ee: f006 fbc3 bl 800a178 + 80039f2: 2007 movs r0, #7 + 80039f4: f7ff fdd2 bl 800359c + 80039f8: b140 cbz r0, 8003a0c + 80039fa: 2300 movs r3, #0 + 80039fc: e9c0 3600 strd r3, r6, [r0] + 8003a00: 7343 strb r3, [r0, #13] + 8003a02: 2301 movs r3, #1 + 8003a04: 8105 strh r5, [r0, #8] + 8003a06: 8145 strh r5, [r0, #10] + 8003a08: 7304 strb r4, [r0, #12] + 8003a0a: 81c3 strh r3, [r0, #14] + 8003a0c: bd70 pop {r4, r5, r6, pc} + 8003a0e: bf00 nop + 8003a10: 0800b58b .word 0x0800b58b + 8003a14: 0800b5bb .word 0x0800b5bb + 8003a18: 0800b0a6 .word 0x0800b0a6 + +08003a1c : + 8003a1c: b570 push {r4, r5, r6, lr} + 8003a1e: 3003 adds r0, #3 + 8003a20: f8bd 5014 ldrh.w r5, [sp, #20] + 8003a24: 9c04 ldr r4, [sp, #16] + 8003a26: f020 0003 bic.w r0, r0, #3 + 8003a2a: 180e adds r6, r1, r0 + 8003a2c: 42ae cmp r6, r5 + 8003a2e: d80d bhi.n 8003a4c + 8003a30: b104 cbz r4, 8003a34 + 8003a32: 4404 add r4, r0 + 8003a34: 4618 mov r0, r3 + 8003a36: 2300 movs r3, #0 + 8003a38: e9c0 3400 strd r3, r4, [r0] + 8003a3c: 2302 movs r3, #2 + 8003a3e: 7343 strb r3, [r0, #13] + 8003a40: 2301 movs r3, #1 + 8003a42: 8101 strh r1, [r0, #8] + 8003a44: 8141 strh r1, [r0, #10] + 8003a46: 7302 strb r2, [r0, #12] + 8003a48: 81c3 strh r3, [r0, #14] + 8003a4a: bd70 pop {r4, r5, r6, pc} + 8003a4c: 2000 movs r0, #0 + 8003a4e: e7fc b.n 8003a4a + +08003a50 : + 8003a50: 2200 movs r2, #0 + 8003a52: f7ff bf79 b.w 8003948 ... -08003798 : - 8003798: b570 push {r4, r5, r6, lr} - 800379a: 460c mov r4, r1 - 800379c: 4605 mov r5, r0 - 800379e: b930 cbnz r0, 80037ae - 80037a0: 4b09 ldr r3, [pc, #36] ; (80037c8 ) - 80037a2: 490a ldr r1, [pc, #40] ; (80037cc ) - 80037a4: 480a ldr r0, [pc, #40] ; (80037d0 ) - 80037a6: f44f 6210 mov.w r2, #2304 ; 0x900 - 80037aa: f005 fdfd bl 80093a8 - 80037ae: b904 cbnz r4, 80037b2 - 80037b0: bd70 pop {r4, r5, r6, pc} - 80037b2: 6822 ldr r2, [r4, #0] - 80037b4: 682b ldr r3, [r5, #0] - 80037b6: 68e6 ldr r6, [r4, #12] - 80037b8: 429a cmp r2, r3 - 80037ba: d102 bne.n 80037c2 - 80037bc: 4620 mov r0, r4 - 80037be: f7ff ffe7 bl 8003790 - 80037c2: 4634 mov r4, r6 - 80037c4: e7f3 b.n 80037ae - 80037c6: bf00 nop - 80037c8: 0800acc3 .word 0x0800acc3 - 80037cc: 0800aecf .word 0x0800aecf - 80037d0: 0800a54d .word 0x0800a54d +08003a58 : + 8003a58: b510 push {r4, lr} + 8003a5a: b120 cbz r0, 8003a66 + 8003a5c: f5b1 3f80 cmp.w r1, #65536 @ 0x10000 + 8003a60: d309 bcc.n 8003a76 + 8003a62: 2001 movs r0, #1 + 8003a64: bd10 pop {r4, pc} + 8003a66: 4b0e ldr r3, [pc, #56] @ (8003aa0 ) + 8003a68: 490e ldr r1, [pc, #56] @ (8003aa4 ) + 8003a6a: f240 224b movw r2, #587 @ 0x24b + 8003a6e: 480e ldr r0, [pc, #56] @ (8003aa8 ) + 8003a70: f006 fb82 bl 800a178 + 8003a74: e7f5 b.n 8003a62 + 8003a76: b181 cbz r1, 8003a9a + 8003a78: 8943 ldrh r3, [r0, #10] + 8003a7a: b28a uxth r2, r1 + 8003a7c: 4293 cmp r3, r2 + 8003a7e: d204 bcs.n 8003a8a + 8003a80: 4b07 ldr r3, [pc, #28] @ (8003aa0 ) + 8003a82: 490a ldr r1, [pc, #40] @ (8003aac ) + 8003a84: f240 2255 movw r2, #597 @ 0x255 + 8003a88: e7f1 b.n 8003a6e + 8003a8a: 1a9b subs r3, r3, r2 + 8003a8c: 6844 ldr r4, [r0, #4] + 8003a8e: 8143 strh r3, [r0, #10] + 8003a90: 8903 ldrh r3, [r0, #8] + 8003a92: 440c add r4, r1 + 8003a94: 1a9b subs r3, r3, r2 + 8003a96: 6044 str r4, [r0, #4] + 8003a98: 8103 strh r3, [r0, #8] + 8003a9a: 2000 movs r0, #0 + 8003a9c: e7e2 b.n 8003a64 + 8003a9e: bf00 nop + 8003aa0: 0800b58b .word 0x0800b58b + 8003aa4: 0800b65d .word 0x0800b65d + 8003aa8: 0800b0a6 .word 0x0800b0a6 + 8003aac: 0800b5cd .word 0x0800b5cd -080037d4 : - 80037d4: b538 push {r3, r4, r5, lr} - 80037d6: 460d mov r5, r1 - 80037d8: 4604 mov r4, r0 - 80037da: b180 cbz r0, 80037fe - 80037dc: 6803 ldr r3, [r0, #0] - 80037de: b173 cbz r3, 80037fe - 80037e0: 4b0b ldr r3, [pc, #44] ; (8003810 ) - 80037e2: 6819 ldr r1, [r3, #0] - 80037e4: f7ff ffd8 bl 8003798 - 80037e8: 4b0a ldr r3, [pc, #40] ; (8003814 ) - 80037ea: 4620 mov r0, r4 - 80037ec: 6819 ldr r1, [r3, #0] - 80037ee: f7ff ffd3 bl 8003798 - 80037f2: b125 cbz r5, 80037fe - 80037f4: 682b ldr r3, [r5, #0] - 80037f6: b113 cbz r3, 80037fe - 80037f8: 4b07 ldr r3, [pc, #28] ; (8003818 ) - 80037fa: 681b ldr r3, [r3, #0] - 80037fc: b903 cbnz r3, 8003800 - 80037fe: bd38 pop {r3, r4, r5, pc} - 8003800: 6819 ldr r1, [r3, #0] - 8003802: 6822 ldr r2, [r4, #0] - 8003804: 4291 cmp r1, r2 - 8003806: bf04 itt eq - 8003808: 682a ldreq r2, [r5, #0] - 800380a: 601a streq r2, [r3, #0] - 800380c: 68db ldr r3, [r3, #12] - 800380e: e7f5 b.n 80037fc - 8003810: 200082a4 .word 0x200082a4 - 8003814: 200082ac .word 0x200082ac - 8003818: 200082b0 .word 0x200082b0 +08003ab0 : + 8003ab0: 1e0b subs r3, r1, #0 + 8003ab2: da02 bge.n 8003aba + 8003ab4: 4259 negs r1, r3 + 8003ab6: f7ff bfcf b.w 8003a58 + 8003aba: 2201 movs r2, #1 + 8003abc: f7ff bf44 b.w 8003948 -0800381c : - 800381c: 4b0c ldr r3, [pc, #48] ; (8003850 ) - 800381e: 6819 ldr r1, [r3, #0] - 8003820: 4b0c ldr r3, [pc, #48] ; (8003854 ) - 8003822: b430 push {r4, r5} - 8003824: 2200 movs r2, #0 - 8003826: 681d ldr r5, [r3, #0] - 8003828: 4604 mov r4, r0 - 800382a: 4610 mov r0, r2 - 800382c: b919 cbnz r1, 8003836 - 800382e: b168 cbz r0, 800384c - 8003830: bc30 pop {r4, r5} - 8003832: f7ff bf2b b.w 800368c - 8003836: 7d0b ldrb r3, [r1, #20] - 8003838: 42a3 cmp r3, r4 - 800383a: d105 bne.n 8003848 - 800383c: 6a0b ldr r3, [r1, #32] - 800383e: 1aeb subs r3, r5, r3 - 8003840: 4293 cmp r3, r2 - 8003842: bf24 itt cs - 8003844: 461a movcs r2, r3 - 8003846: 4608 movcs r0, r1 - 8003848: 68c9 ldr r1, [r1, #12] - 800384a: e7ef b.n 800382c - 800384c: bc30 pop {r4, r5} - 800384e: 4770 bx lr - 8003850: 200082a4 .word 0x200082a4 - 8003854: 200082b4 .word 0x200082b4 +08003ac0 : + 8003ac0: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8003ac4: 4604 mov r4, r0 + 8003ac6: b950 cbnz r0, 8003ade + 8003ac8: 4b29 ldr r3, [pc, #164] @ (8003b70 ) + 8003aca: 492a ldr r1, [pc, #168] @ (8003b74 ) + 8003acc: 482a ldr r0, [pc, #168] @ (8003b78 ) + 8003ace: f44f 7237 mov.w r2, #732 @ 0x2dc + 8003ad2: f006 fb51 bl 800a178 + 8003ad6: 4625 mov r5, r4 + 8003ad8: 4628 mov r0, r5 + 8003ada: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 8003ade: 4e24 ldr r6, [pc, #144] @ (8003b70 ) + 8003ae0: f8df 80a0 ldr.w r8, [pc, #160] @ 8003b84 + 8003ae4: 4f24 ldr r7, [pc, #144] @ (8003b78 ) + 8003ae6: 2500 movs r5, #0 + 8003ae8: 7ba3 ldrb r3, [r4, #14] + 8003aea: b933 cbnz r3, 8003afa + 8003aec: 4633 mov r3, r6 + 8003aee: f240 22f1 movw r2, #753 @ 0x2f1 + 8003af2: 4641 mov r1, r8 + 8003af4: 4638 mov r0, r7 + 8003af6: f006 fb3f bl 800a178 + 8003afa: 7ba3 ldrb r3, [r4, #14] + 8003afc: 3b01 subs r3, #1 + 8003afe: b2db uxtb r3, r3 + 8003b00: 73a3 strb r3, [r4, #14] + 8003b02: 2b00 cmp r3, #0 + 8003b04: d1e8 bne.n 8003ad8 + 8003b06: 7b62 ldrb r2, [r4, #13] + 8003b08: f8d4 9000 ldr.w r9, [r4] + 8003b0c: 7b23 ldrb r3, [r4, #12] + 8003b0e: 0792 lsls r2, r2, #30 + 8003b10: d512 bpl.n 8003b38 + 8003b12: 6923 ldr r3, [r4, #16] + 8003b14: b933 cbnz r3, 8003b24 + 8003b16: 4b16 ldr r3, [pc, #88] @ (8003b70 ) + 8003b18: 4918 ldr r1, [pc, #96] @ (8003b7c ) + 8003b1a: 4817 ldr r0, [pc, #92] @ (8003b78 ) + 8003b1c: f240 22ff movw r2, #767 @ 0x2ff + 8003b20: f006 fb2a bl 800a178 + 8003b24: 6923 ldr r3, [r4, #16] + 8003b26: 4620 mov r0, r4 + 8003b28: 4798 blx r3 + 8003b2a: 3501 adds r5, #1 + 8003b2c: b2ed uxtb r5, r5 + 8003b2e: f1b9 0f00 cmp.w r9, #0 + 8003b32: d0d1 beq.n 8003ad8 + 8003b34: 464c mov r4, r9 + 8003b36: e7d7 b.n 8003ae8 + 8003b38: f003 030f and.w r3, r3, #15 + 8003b3c: 2b02 cmp r3, #2 + 8003b3e: d104 bne.n 8003b4a + 8003b40: 4621 mov r1, r4 + 8003b42: 2008 movs r0, #8 + 8003b44: f7ff fd58 bl 80035f8 + 8003b48: e7ef b.n 8003b2a + 8003b4a: 2b01 cmp r3, #1 + 8003b4c: d102 bne.n 8003b54 + 8003b4e: 4621 mov r1, r4 + 8003b50: 2007 movs r0, #7 + 8003b52: e7f7 b.n 8003b44 + 8003b54: b91b cbnz r3, 8003b5e + 8003b56: 4620 mov r0, r4 + 8003b58: f7ff fac8 bl 80030ec + 8003b5c: e7e5 b.n 8003b2a + 8003b5e: 4908 ldr r1, [pc, #32] @ (8003b80 ) + 8003b60: 4633 mov r3, r6 + 8003b62: f240 320f movw r2, #783 @ 0x30f + 8003b66: 4638 mov r0, r7 + 8003b68: f006 fb06 bl 800a178 + 8003b6c: e7dd b.n 8003b2a + 8003b6e: bf00 nop + 8003b70: 0800b58b .word 0x0800b58b + 8003b74: 0800b65d .word 0x0800b65d + 8003b78: 0800b0a6 .word 0x0800b0a6 + 8003b7c: 0800b601 .word 0x0800b601 + 8003b80: 0800b622 .word 0x0800b622 + 8003b84: 0800b5eb .word 0x0800b5eb -08003858 : - 8003858: b5f8 push {r3, r4, r5, r6, r7, lr} - 800385a: 4604 mov r4, r0 - 800385c: 2001 movs r0, #1 - 800385e: f7ff f811 bl 8002884 - 8003862: 4603 mov r3, r0 - 8003864: 2800 cmp r0, #0 - 8003866: d136 bne.n 80038d6 - 8003868: 4e3f ldr r6, [pc, #252] ; (8003968 ) - 800386a: 6830 ldr r0, [r6, #0] - 800386c: 2800 cmp r0, #0 - 800386e: d157 bne.n 8003920 - 8003870: 4b3e ldr r3, [pc, #248] ; (800396c ) - 8003872: 4d3f ldr r5, [pc, #252] ; (8003970 ) - 8003874: 681b ldr r3, [r3, #0] - 8003876: 682f ldr r7, [r5, #0] - 8003878: 4601 mov r1, r0 - 800387a: 2b00 cmp r3, #0 - 800387c: d15b bne.n 8003936 - 800387e: b108 cbz r0, 8003884 - 8003880: f7ff ff86 bl 8003790 - 8003884: 2001 movs r0, #1 - 8003886: f7fe fffd bl 8002884 - 800388a: 4603 mov r3, r0 - 800388c: bb18 cbnz r0, 80038d6 - 800388e: 2009 movs r0, #9 - 8003890: f7ff ffc4 bl 800381c - 8003894: 2001 movs r0, #1 - 8003896: f7fe fff5 bl 8002884 - 800389a: 4603 mov r3, r0 - 800389c: b9d8 cbnz r0, 80038d6 - 800389e: 2008 movs r0, #8 - 80038a0: f7ff ffbc bl 800381c - 80038a4: 2001 movs r0, #1 - 80038a6: f7fe ffed bl 8002884 - 80038aa: 4603 mov r3, r0 - 80038ac: b998 cbnz r0, 80038d6 - 80038ae: 0622 lsls r2, r4, #24 - 80038b0: d449 bmi.n 8003946 - 80038b2: b15c cbz r4, 80038cc - 80038b4: 4621 mov r1, r4 - 80038b6: 6832 ldr r2, [r6, #0] - 80038b8: 682e ldr r6, [r5, #0] - 80038ba: 3901 subs r1, #1 - 80038bc: b2c9 uxtb r1, r1 - 80038be: 2000 movs r0, #0 - 80038c0: 2a00 cmp r2, #0 - 80038c2: d142 bne.n 800394a - 80038c4: b113 cbz r3, 80038cc - 80038c6: 4618 mov r0, r3 - 80038c8: f7ff ff62 bl 8003790 - 80038cc: 2001 movs r0, #1 - 80038ce: f7fe ffd9 bl 8002884 - 80038d2: 4603 mov r3, r0 - 80038d4: b310 cbz r0, 800391c - 80038d6: 229c movs r2, #156 ; 0x9c - 80038d8: 4618 mov r0, r3 - 80038da: 2100 movs r1, #0 - 80038dc: f005 fd5c bl 8009398 - 80038e0: f44f 6286 mov.w r2, #1072 ; 0x430 - 80038e4: f8a0 2064 strh.w r2, [r0, #100] ; 0x64 - 80038e8: 4a22 ldr r2, [pc, #136] ; (8003974 ) - 80038ea: 6282 str r2, [r0, #40] ; 0x28 - 80038ec: 22ff movs r2, #255 ; 0xff - 80038ee: 72c2 strb r2, [r0, #11] - 80038f0: 2206 movs r2, #6 - 80038f2: f8a0 2040 strh.w r2, [r0, #64] ; 0x40 - 80038f6: 87c2 strh r2, [r0, #62] ; 0x3e - 80038f8: 4a1f ldr r2, [pc, #124] ; (8003978 ) - 80038fa: 6302 str r2, [r0, #48] ; 0x30 - 80038fc: 4a1c ldr r2, [pc, #112] ; (8003970 ) - 80038fe: 7544 strb r4, [r0, #21] - 8003900: 6812 ldr r2, [r2, #0] - 8003902: 6202 str r2, [r0, #32] - 8003904: 4a1d ldr r2, [pc, #116] ; (800397c ) - 8003906: 7812 ldrb r2, [r2, #0] - 8003908: 7782 strb r2, [r0, #30] - 800390a: 4a1d ldr r2, [pc, #116] ; (8003980 ) - 800390c: 6482 str r2, [r0, #72] ; 0x48 - 800390e: 4a1d ldr r2, [pc, #116] ; (8003984 ) - 8003910: f8c0 2084 str.w r2, [r0, #132] ; 0x84 - 8003914: 4a1c ldr r2, [pc, #112] ; (8003988 ) - 8003916: f8c0 2094 str.w r2, [r0, #148] ; 0x94 - 800391a: 4603 mov r3, r0 - 800391c: 4618 mov r0, r3 - 800391e: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8003920: 8b43 ldrh r3, [r0, #26] - 8003922: 68c5 ldr r5, [r0, #12] - 8003924: 0719 lsls r1, r3, #28 - 8003926: d504 bpl.n 8003932 - 8003928: f023 0308 bic.w r3, r3, #8 - 800392c: 8343 strh r3, [r0, #26] - 800392e: f7ff fcd1 bl 80032d4 - 8003932: 4628 mov r0, r5 - 8003934: e79a b.n 800386c - 8003936: 6a1a ldr r2, [r3, #32] - 8003938: 1aba subs r2, r7, r2 - 800393a: 428a cmp r2, r1 - 800393c: bf24 itt cs - 800393e: 4618 movcs r0, r3 - 8003940: 4611 movcs r1, r2 - 8003942: 68db ldr r3, [r3, #12] - 8003944: e799 b.n 800387a - 8003946: 217f movs r1, #127 ; 0x7f - 8003948: e7b5 b.n 80038b6 - 800394a: 7d57 ldrb r7, [r2, #21] - 800394c: 428f cmp r7, r1 - 800394e: d304 bcc.n 800395a - 8003950: d107 bne.n 8003962 - 8003952: 6a15 ldr r5, [r2, #32] - 8003954: 1b75 subs r5, r6, r5 - 8003956: 4285 cmp r5, r0 - 8003958: d303 bcc.n 8003962 - 800395a: 6a10 ldr r0, [r2, #32] - 800395c: 4639 mov r1, r7 - 800395e: 1a30 subs r0, r6, r0 - 8003960: 4613 mov r3, r2 - 8003962: 68d2 ldr r2, [r2, #12] - 8003964: e7ac b.n 80038c0 - 8003966: bf00 nop - 8003968: 200082a4 .word 0x200082a4 - 800396c: 200082bc .word 0x200082bc - 8003970: 200082b4 .word 0x200082b4 - 8003974: 08600860 .word 0x08600860 - 8003978: 0218ffff .word 0x0218ffff - 800397c: 200082b9 .word 0x200082b9 - 8003980: 04300001 .word 0x04300001 - 8003984: 08003b2d .word 0x08003b2d - 8003988: 006ddd00 .word 0x006ddd00 +08003b88 : + 8003b88: f5b2 7fc1 cmp.w r2, #386 @ 0x182 + 8003b8c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8003b90: 4607 mov r7, r0 + 8003b92: 460d mov r5, r1 + 8003b94: 4606 mov r6, r0 + 8003b96: d014 beq.n 8003bc2 + 8003b98: d808 bhi.n 8003bac + 8003b9a: f022 0340 bic.w r3, r2, #64 @ 0x40 + 8003b9e: 2b01 cmp r3, #1 + 8003ba0: d107 bne.n 8003bb2 + 8003ba2: e8bd 43f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8003ba6: 2000 movs r0, #0 + 8003ba8: f7ff bf14 b.w 80039d4 + 8003bac: f5b2 7f20 cmp.w r2, #640 @ 0x280 + 8003bb0: d03c beq.n 8003c2c + 8003bb2: 4b2c ldr r3, [pc, #176] @ (8003c64 ) + 8003bb4: 492c ldr r1, [pc, #176] @ (8003c68 ) + 8003bb6: 482d ldr r0, [pc, #180] @ (8003c6c ) + 8003bb8: f240 1227 movw r2, #295 @ 0x127 + 8003bbc: f006 fadc bl 800a178 + 8003bc0: e00d b.n 8003bde + 8003bc2: 2000 movs r0, #0 + 8003bc4: f8df 80b0 ldr.w r8, [pc, #176] @ 8003c78 + 8003bc8: 4604 mov r4, r0 + 8003bca: 4607 mov r7, r0 + 8003bcc: 4681 mov r9, r0 + 8003bce: 2008 movs r0, #8 + 8003bd0: f7ff fce4 bl 800359c + 8003bd4: b958 cbnz r0, 8003bee + 8003bd6: 4b26 ldr r3, [pc, #152] @ (8003c70 ) + 8003bd8: 2201 movs r2, #1 + 8003bda: 701a strb r2, [r3, #0] + 8003bdc: b91c cbnz r4, 8003be6 + 8003bde: 2400 movs r4, #0 + 8003be0: 4620 mov r0, r4 + 8003be2: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 8003be6: 4620 mov r0, r4 + 8003be8: f7ff ff6a bl 8003ac0 + 8003bec: e7f7 b.n 8003bde + 8003bee: 1cf3 adds r3, r6, #3 + 8003bf0: f023 0303 bic.w r3, r3, #3 + 8003bf4: f5c3 7314 rsb r3, r3, #592 @ 0x250 + 8003bf8: b29b uxth r3, r3 + 8003bfa: 4406 add r6, r0 + 8003bfc: 42ab cmp r3, r5 + 8003bfe: f106 0613 add.w r6, r6, #19 + 8003c02: bf28 it cs + 8003c04: 462b movcs r3, r5 + 8003c06: f026 0603 bic.w r6, r6, #3 + 8003c0a: 6007 str r7, [r0, #0] + 8003c0c: 6046 str r6, [r0, #4] + 8003c0e: 8105 strh r5, [r0, #8] + 8003c10: 8143 strh r3, [r0, #10] + 8003c12: f8c0 800c str.w r8, [r0, #12] + 8003c16: b13c cbz r4, 8003c28 + 8003c18: f8c9 0000 str.w r0, [r9] + 8003c1c: 1aeb subs r3, r5, r3 + 8003c1e: b29d uxth r5, r3 + 8003c20: 2600 movs r6, #0 + 8003c22: 2d00 cmp r5, #0 + 8003c24: d1d2 bne.n 8003bcc + 8003c26: e7db b.n 8003be0 + 8003c28: 4604 mov r4, r0 + 8003c2a: e7f7 b.n 8003c1c + 8003c2c: 3003 adds r0, #3 + 8003c2e: 1ccb adds r3, r1, #3 + 8003c30: f023 0303 bic.w r3, r3, #3 + 8003c34: f020 0003 bic.w r0, r0, #3 + 8003c38: 4418 add r0, r3 + 8003c3a: b280 uxth r0, r0 + 8003c3c: 4298 cmp r0, r3 + 8003c3e: d3ce bcc.n 8003bde + 8003c40: 3010 adds r0, #16 + 8003c42: f7ff fba3 bl 800338c + 8003c46: 4604 mov r4, r0 + 8003c48: 2800 cmp r0, #0 + 8003c4a: d0c9 beq.n 8003be0 + 8003c4c: 4407 add r7, r0 + 8003c4e: 2300 movs r3, #0 + 8003c50: 3713 adds r7, #19 + 8003c52: 6003 str r3, [r0, #0] + 8003c54: f027 0703 bic.w r7, r7, #3 + 8003c58: 4b06 ldr r3, [pc, #24] @ (8003c74 ) + 8003c5a: 6047 str r7, [r0, #4] + 8003c5c: 8105 strh r5, [r0, #8] + 8003c5e: 8145 strh r5, [r0, #10] + 8003c60: 60c3 str r3, [r0, #12] + 8003c62: e7bd b.n 8003be0 + 8003c64: 0800b58b .word 0x0800b58b + 8003c68: 0800b634 .word 0x0800b634 + 8003c6c: 0800b0a6 .word 0x0800b0a6 + 8003c70: 20018a78 .word 0x20018a78 + 8003c74: 00010080 .word 0x00010080 + 8003c78: 00010082 .word 0x00010082 -0800398c : - 800398c: b530 push {r4, r5, lr} - 800398e: 460d mov r5, r1 - 8003990: b085 sub sp, #20 - 8003992: 4604 mov r4, r0 - 8003994: b930 cbnz r0, 80039a4 - 8003996: 4b4b ldr r3, [pc, #300] ; (8003ac4 ) - 8003998: 494b ldr r1, [pc, #300] ; (8003ac8 ) - 800399a: 484c ldr r0, [pc, #304] ; (8003acc ) - 800399c: f44f 72af mov.w r2, #350 ; 0x15e - 80039a0: f005 fd02 bl 80093a8 - 80039a4: 7d23 ldrb r3, [r4, #20] - 80039a6: 2d00 cmp r5, #0 - 80039a8: d03f beq.n 8003a2a - 80039aa: 2b04 cmp r3, #4 - 80039ac: d001 beq.n 80039b2 - 80039ae: 2b07 cmp r3, #7 - 80039b0: d13b bne.n 8003a2a - 80039b2: 6fa2 ldr r2, [r4, #120] ; 0x78 - 80039b4: b91a cbnz r2, 80039be - 80039b6: 8d22 ldrh r2, [r4, #40] ; 0x28 - 80039b8: f5b2 6f06 cmp.w r2, #2144 ; 0x860 - 80039bc: d035 beq.n 8003a2a - 80039be: 8b63 ldrh r3, [r4, #26] - 80039c0: 06db lsls r3, r3, #27 - 80039c2: d406 bmi.n 80039d2 - 80039c4: 4b3f ldr r3, [pc, #252] ; (8003ac4 ) - 80039c6: 4942 ldr r1, [pc, #264] ; (8003ad0 ) - 80039c8: 4840 ldr r0, [pc, #256] ; (8003acc ) - 80039ca: f44f 72b2 mov.w r2, #356 ; 0x164 - 80039ce: f005 fceb bl 80093a8 - 80039d2: 8b23 ldrh r3, [r4, #24] - 80039d4: 9302 str r3, [sp, #8] - 80039d6: 8ae3 ldrh r3, [r4, #22] - 80039d8: 9301 str r3, [sp, #4] - 80039da: 1d23 adds r3, r4, #4 - 80039dc: 9300 str r3, [sp, #0] - 80039de: 6a62 ldr r2, [r4, #36] ; 0x24 - 80039e0: 6d21 ldr r1, [r4, #80] ; 0x50 - 80039e2: 4623 mov r3, r4 - 80039e4: 4620 mov r0, r4 - 80039e6: f002 f9f1 bl 8005dcc - 80039ea: 4620 mov r0, r4 - 80039ec: f7ff fdb6 bl 800355c - 80039f0: 4a38 ldr r2, [pc, #224] ; (8003ad4 ) - 80039f2: 6813 ldr r3, [r2, #0] - 80039f4: 42a3 cmp r3, r4 - 80039f6: d110 bne.n 8003a1a - 80039f8: 68e3 ldr r3, [r4, #12] - 80039fa: 6013 str r3, [r2, #0] - 80039fc: 2300 movs r3, #0 - 80039fe: 60e3 str r3, [r4, #12] - 8003a00: 4b35 ldr r3, [pc, #212] ; (8003ad8 ) - 8003a02: 2201 movs r2, #1 - 8003a04: 701a strb r2, [r3, #0] - 8003a06: 4b35 ldr r3, [pc, #212] ; (8003adc ) - 8003a08: 681b ldr r3, [r3, #0] - 8003a0a: 42a3 cmp r3, r4 - 8003a0c: d11d bne.n 8003a4a - 8003a0e: f001 fe53 bl 80056b8 - 8003a12: 2000 movs r0, #0 - 8003a14: b005 add sp, #20 - 8003a16: bd30 pop {r4, r5, pc} - 8003a18: 4613 mov r3, r2 - 8003a1a: 2b00 cmp r3, #0 - 8003a1c: d0ee beq.n 80039fc - 8003a1e: 68da ldr r2, [r3, #12] - 8003a20: 42a2 cmp r2, r4 - 8003a22: d1f9 bne.n 8003a18 - 8003a24: 68e2 ldr r2, [r4, #12] - 8003a26: 60da str r2, [r3, #12] - 8003a28: e7e8 b.n 80039fc - 8003a2a: 2b01 cmp r3, #1 - 8003a2c: d01a beq.n 8003a64 - 8003a2e: 2b02 cmp r3, #2 - 8003a30: d039 beq.n 8003aa6 - 8003a32: 2b00 cmp r3, #0 - 8003a34: d13f bne.n 8003ab6 - 8003a36: 8ae3 ldrh r3, [r4, #22] - 8003a38: b13b cbz r3, 8003a4a - 8003a3a: 4a29 ldr r2, [pc, #164] ; (8003ae0 ) - 8003a3c: 6813 ldr r3, [r2, #0] - 8003a3e: 42a3 cmp r3, r4 - 8003a40: d108 bne.n 8003a54 - 8003a42: 68e3 ldr r3, [r4, #12] - 8003a44: 6013 str r3, [r2, #0] - 8003a46: 2300 movs r3, #0 - 8003a48: 60e3 str r3, [r4, #12] - 8003a4a: 4620 mov r0, r4 - 8003a4c: f7ff fc7e bl 800334c - 8003a50: e7df b.n 8003a12 - 8003a52: 4613 mov r3, r2 - 8003a54: 2b00 cmp r3, #0 - 8003a56: d0f6 beq.n 8003a46 - 8003a58: 68da ldr r2, [r3, #12] - 8003a5a: 42a2 cmp r2, r4 - 8003a5c: d1f9 bne.n 8003a52 - 8003a5e: 68e2 ldr r2, [r4, #12] - 8003a60: 60da str r2, [r3, #12] - 8003a62: e7f0 b.n 8003a46 - 8003a64: 491f ldr r1, [pc, #124] ; (8003ae4 ) - 8003a66: 2000 movs r0, #0 - 8003a68: f851 2023 ldr.w r2, [r1, r3, lsl #2] - 8003a6c: 6812 ldr r2, [r2, #0] - 8003a6e: b9a2 cbnz r2, 8003a9a - 8003a70: 3301 adds r3, #1 - 8003a72: 2b04 cmp r3, #4 - 8003a74: d1f8 bne.n 8003a68 - 8003a76: 481c ldr r0, [pc, #112] ; (8003ae8 ) - 8003a78: 4621 mov r1, r4 - 8003a7a: f7ff fda1 bl 80035c0 - 8003a7e: 7d23 ldrb r3, [r4, #20] - 8003a80: 2b01 cmp r3, #1 - 8003a82: d105 bne.n 8003a90 - 8003a84: 4b0f ldr r3, [pc, #60] ; (8003ac4 ) - 8003a86: 4919 ldr r1, [pc, #100] ; (8003aec ) - 8003a88: 4810 ldr r0, [pc, #64] ; (8003acc ) - 8003a8a: 22df movs r2, #223 ; 0xdf - 8003a8c: f005 fc8c bl 80093a8 - 8003a90: 4621 mov r1, r4 - 8003a92: 2002 movs r0, #2 - 8003a94: f7fe ff26 bl 80028e4 - 8003a98: e7bb b.n 8003a12 - 8003a9a: 6fd5 ldr r5, [r2, #124] ; 0x7c - 8003a9c: 42ac cmp r4, r5 - 8003a9e: bf08 it eq - 8003aa0: 67d0 streq r0, [r2, #124] ; 0x7c - 8003aa2: 68d2 ldr r2, [r2, #12] - 8003aa4: e7e3 b.n 8003a6e - 8003aa6: 480b ldr r0, [pc, #44] ; (8003ad4 ) - 8003aa8: 4621 mov r1, r4 - 8003aaa: f7ff fd89 bl 80035c0 - 8003aae: 4b0a ldr r3, [pc, #40] ; (8003ad8 ) - 8003ab0: 2201 movs r2, #1 - 8003ab2: 701a strb r2, [r3, #0] - 8003ab4: e7c9 b.n 8003a4a - 8003ab6: 4620 mov r0, r4 - 8003ab8: b005 add sp, #20 - 8003aba: e8bd 4030 ldmia.w sp!, {r4, r5, lr} - 8003abe: f7ff bc09 b.w 80032d4 - 8003ac2: bf00 nop - 8003ac4: 0800acc3 .word 0x0800acc3 - 8003ac8: 0800af03 .word 0x0800af03 - 8003acc: 0800a54d .word 0x0800a54d - 8003ad0: 0800af23 .word 0x0800af23 - 8003ad4: 200082a4 .word 0x200082a4 - 8003ad8: 200082a8 .word 0x200082a8 - 8003adc: 200082e8 .word 0x200082e8 - 8003ae0: 200082ac .word 0x200082ac - 8003ae4: 0800b174 .word 0x0800b174 - 8003ae8: 200082b0 .word 0x200082b0 - 8003aec: 0800af3c .word 0x0800af3c +08003c7c : + 8003c7c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8003c80: 460e mov r6, r1 + 8003c82: 4604 mov r4, r0 + 8003c84: b930 cbnz r0, 8003c94 + 8003c86: 4b24 ldr r3, [pc, #144] @ (8003d18 ) + 8003c88: 4924 ldr r1, [pc, #144] @ (8003d1c ) + 8003c8a: 4825 ldr r0, [pc, #148] @ (8003d20 ) + 8003c8c: f44f 72cc mov.w r2, #408 @ 0x198 + 8003c90: f006 fa72 bl 800a178 + 8003c94: 8927 ldrh r7, [r4, #8] + 8003c96: 42b7 cmp r7, r6 + 8003c98: d93b bls.n 8003d12 + 8003c9a: f8df 807c ldr.w r8, [pc, #124] @ 8003d18 + 8003c9e: f8df a088 ldr.w sl, [pc, #136] @ 8003d28 + 8003ca2: f8df 907c ldr.w r9, [pc, #124] @ 8003d20 + 8003ca6: 4635 mov r5, r6 + 8003ca8: 8962 ldrh r2, [r4, #10] + 8003caa: 42aa cmp r2, r5 + 8003cac: d318 bcc.n 8003ce0 + 8003cae: 7b23 ldrb r3, [r4, #12] + 8003cb0: 0719 lsls r1, r3, #28 + 8003cb2: d126 bne.n 8003d02 + 8003cb4: 42aa cmp r2, r5 + 8003cb6: d024 beq.n 8003d02 + 8003cb8: 7b63 ldrb r3, [r4, #13] + 8003cba: 079b lsls r3, r3, #30 + 8003cbc: d421 bmi.n 8003d02 + 8003cbe: 6861 ldr r1, [r4, #4] + 8003cc0: 1b09 subs r1, r1, r4 + 8003cc2: 4620 mov r0, r4 + 8003cc4: 4429 add r1, r5 + 8003cc6: f7ff fac3 bl 8003250 + 8003cca: 4604 mov r4, r0 + 8003ccc: b9c8 cbnz r0, 8003d02 + 8003cce: 4b12 ldr r3, [pc, #72] @ (8003d18 ) + 8003cd0: 4914 ldr r1, [pc, #80] @ (8003d24 ) + 8003cd2: 4813 ldr r0, [pc, #76] @ (8003d20 ) + 8003cd4: f240 12bd movw r2, #445 @ 0x1bd + 8003cd8: f006 fa4e bl 800a178 + 8003cdc: 8164 strh r4, [r4, #10] + 8003cde: deff udf #255 @ 0xff + 8003ce0: 1aaa subs r2, r5, r2 + 8003ce2: b295 uxth r5, r2 + 8003ce4: 8922 ldrh r2, [r4, #8] + 8003ce6: 1bf3 subs r3, r6, r7 + 8003ce8: 4413 add r3, r2 + 8003cea: 8123 strh r3, [r4, #8] + 8003cec: 6824 ldr r4, [r4, #0] + 8003cee: 2c00 cmp r4, #0 + 8003cf0: d1da bne.n 8003ca8 + 8003cf2: 4643 mov r3, r8 + 8003cf4: f240 12af movw r2, #431 @ 0x1af + 8003cf8: 4651 mov r1, sl + 8003cfa: 4648 mov r0, r9 + 8003cfc: f006 fa3c bl 800a178 + 8003d00: e7d2 b.n 8003ca8 + 8003d02: 6820 ldr r0, [r4, #0] + 8003d04: 8165 strh r5, [r4, #10] + 8003d06: 8125 strh r5, [r4, #8] + 8003d08: b108 cbz r0, 8003d0e + 8003d0a: f7ff fed9 bl 8003ac0 + 8003d0e: 2300 movs r3, #0 + 8003d10: 6023 str r3, [r4, #0] + 8003d12: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8003d16: bf00 nop + 8003d18: 0800b58b .word 0x0800b58b + 8003d1c: 0800b64f .word 0x0800b64f + 8003d20: 0800b0a6 .word 0x0800b0a6 + 8003d24: 0800b67f .word 0x0800b67f + 8003d28: 0800b667 .word 0x0800b667 -08003af0 : - 8003af0: b508 push {r3, lr} - 8003af2: b158 cbz r0, 8003b0c - 8003af4: 7d03 ldrb r3, [r0, #20] - 8003af6: 2b01 cmp r3, #1 - 8003af8: bf1e ittt ne - 8003afa: 8b43 ldrhne r3, [r0, #26] - 8003afc: f043 0310 orrne.w r3, r3, #16 - 8003b00: 8343 strhne r3, [r0, #26] - 8003b02: 2101 movs r1, #1 - 8003b04: e8bd 4008 ldmia.w sp!, {r3, lr} - 8003b08: f7ff bf40 b.w 800398c - 8003b0c: 4b04 ldr r3, [pc, #16] ; (8003b20 ) - 8003b0e: 4905 ldr r1, [pc, #20] ; (8003b24 ) - 8003b10: 4805 ldr r0, [pc, #20] ; (8003b28 ) - 8003b12: f44f 72f4 mov.w r2, #488 ; 0x1e8 - 8003b16: f005 fc47 bl 80093a8 - 8003b1a: f06f 000f mvn.w r0, #15 - 8003b1e: bd08 pop {r3, pc} - 8003b20: 0800acc3 .word 0x0800acc3 - 8003b24: 0800af55 .word 0x0800af55 - 8003b28: 0800a54d .word 0x0800a54d +08003d2c : + 8003d2c: 2300 movs r3, #0 + 8003d2e: 1c5a adds r2, r3, #1 + 8003d30: b908 cbnz r0, 8003d36 + 8003d32: b298 uxth r0, r3 + 8003d34: 4770 bx lr + 8003d36: 6800 ldr r0, [r0, #0] + 8003d38: 4613 mov r3, r2 + 8003d3a: e7f8 b.n 8003d2e -08003b2c : - 8003b2c: b510 push {r4, lr} - 8003b2e: 4608 mov r0, r1 - 8003b30: 4614 mov r4, r2 - 8003b32: b949 cbnz r1, 8003b48 - 8003b34: 4b0c ldr r3, [pc, #48] ; (8003b68 ) - 8003b36: 490d ldr r1, [pc, #52] ; (8003b6c ) - 8003b38: 480d ldr r0, [pc, #52] ; (8003b70 ) - 8003b3a: f44f 62d3 mov.w r2, #1688 ; 0x698 - 8003b3e: f005 fc33 bl 80093a8 - 8003b42: f06f 000f mvn.w r0, #15 - 8003b46: bd10 pop {r4, pc} - 8003b48: b13a cbz r2, 8003b5a - 8003b4a: 8911 ldrh r1, [r2, #8] - 8003b4c: f7ff fc4c bl 80033e8 - 8003b50: 4620 mov r0, r4 - 8003b52: f7ff f93f bl 8002dd4 - 8003b56: 2000 movs r0, #0 - 8003b58: e7f5 b.n 8003b46 - 8003b5a: b91b cbnz r3, 8003b64 - 8003b5c: e8bd 4010 ldmia.w sp!, {r4, lr} - 8003b60: f7ff bfc6 b.w 8003af0 - 8003b64: 4610 mov r0, r2 - 8003b66: e7ee b.n 8003b46 - 8003b68: 0800acc3 .word 0x0800acc3 - 8003b6c: 0800af6c .word 0x0800af6c - 8003b70: 0800a54d .word 0x0800a54d +08003d3c : + 8003d3c: b158 cbz r0, 8003d56 + 8003d3e: 7b83 ldrb r3, [r0, #14] + 8003d40: 3301 adds r3, #1 + 8003d42: b2db uxtb r3, r3 + 8003d44: 7383 strb r3, [r0, #14] + 8003d46: b933 cbnz r3, 8003d56 + 8003d48: 4b03 ldr r3, [pc, #12] @ (8003d58 ) + 8003d4a: 4904 ldr r1, [pc, #16] @ (8003d5c ) + 8003d4c: 4804 ldr r0, [pc, #16] @ (8003d60 ) + 8003d4e: f240 3242 movw r2, #834 @ 0x342 + 8003d52: f006 ba11 b.w 800a178 + 8003d56: 4770 bx lr + 8003d58: 0800b58b .word 0x0800b58b + 8003d5c: 0800b69b .word 0x0800b69b + 8003d60: 0800b0a6 .word 0x0800b0a6 -08003b74 : - 8003b74: b5f8 push {r3, r4, r5, r6, r7, lr} - 8003b76: 4604 mov r4, r0 - 8003b78: b950 cbnz r0, 8003b90 - 8003b7a: 4b1d ldr r3, [pc, #116] ; (8003bf0 ) - 8003b7c: 491d ldr r1, [pc, #116] ; (8003bf4 ) - 8003b7e: 481e ldr r0, [pc, #120] ; (8003bf8 ) - 8003b80: f240 6209 movw r2, #1545 ; 0x609 - 8003b84: f005 fc10 bl 80093a8 - 8003b88: f06f 050f mvn.w r5, #15 - 8003b8c: 4628 mov r0, r5 - 8003b8e: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8003b90: 6f86 ldr r6, [r0, #120] ; 0x78 - 8003b92: f8d0 5084 ldr.w r5, [r0, #132] ; 0x84 - 8003b96: 7b77 ldrb r7, [r6, #13] - 8003b98: 2300 movs r3, #0 - 8003b9a: 6783 str r3, [r0, #120] ; 0x78 - 8003b9c: b1dd cbz r5, 8003bd6 - 8003b9e: 4601 mov r1, r0 - 8003ba0: 4632 mov r2, r6 - 8003ba2: 6900 ldr r0, [r0, #16] - 8003ba4: 47a8 blx r5 - 8003ba6: 4605 mov r5, r0 - 8003ba8: b9e0 cbnz r0, 8003be4 - 8003baa: 06bb lsls r3, r7, #26 - 8003bac: d5ee bpl.n 8003b8c - 8003bae: 8d23 ldrh r3, [r4, #40] ; 0x28 - 8003bb0: f8d4 6084 ldr.w r6, [r4, #132] ; 0x84 - 8003bb4: f5b3 6f06 cmp.w r3, #2144 ; 0x860 - 8003bb8: bf1c itt ne - 8003bba: 3301 addne r3, #1 - 8003bbc: 8523 strhne r3, [r4, #40] ; 0x28 - 8003bbe: 2e00 cmp r6, #0 - 8003bc0: d0e4 beq.n 8003b8c - 8003bc2: 2300 movs r3, #0 - 8003bc4: 6920 ldr r0, [r4, #16] - 8003bc6: 461a mov r2, r3 - 8003bc8: 4621 mov r1, r4 - 8003bca: 47b0 blx r6 - 8003bcc: 300d adds r0, #13 - 8003bce: d1dd bne.n 8003b8c - 8003bd0: f06f 050c mvn.w r5, #12 - 8003bd4: e7da b.n 8003b8c - 8003bd6: 4601 mov r1, r0 - 8003bd8: 462b mov r3, r5 - 8003bda: 4632 mov r2, r6 - 8003bdc: 4628 mov r0, r5 - 8003bde: f7ff ffa5 bl 8003b2c - 8003be2: e7e0 b.n 8003ba6 - 8003be4: 350d adds r5, #13 - 8003be6: d0f3 beq.n 8003bd0 - 8003be8: 67a6 str r6, [r4, #120] ; 0x78 - 8003bea: f06f 0504 mvn.w r5, #4 - 8003bee: e7cd b.n 8003b8c - 8003bf0: 0800acc3 .word 0x0800acc3 - 8003bf4: 0800af87 .word 0x0800af87 - 8003bf8: 0800a54d .word 0x0800a54d +08003d64 : + 8003d64: b570 push {r4, r5, r6, lr} + 8003d66: 460d mov r5, r1 + 8003d68: 4604 mov r4, r0 + 8003d6a: b100 cbz r0, 8003d6e + 8003d6c: b961 cbnz r1, 8003d88 + 8003d6e: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 8003d72: 4b14 ldr r3, [pc, #80] @ (8003dc4 ) + 8003d74: 4914 ldr r1, [pc, #80] @ (8003dc8 ) + 8003d76: 4815 ldr r0, [pc, #84] @ (8003dcc ) + 8003d78: f240 3259 movw r2, #857 @ 0x359 + 8003d7c: f006 b9fc b.w 800a178 + 8003d80: 8929 ldrh r1, [r5, #8] + 8003d82: 440b add r3, r1 + 8003d84: 8123 strh r3, [r4, #8] + 8003d86: 4614 mov r4, r2 + 8003d88: 6822 ldr r2, [r4, #0] + 8003d8a: 8923 ldrh r3, [r4, #8] + 8003d8c: 2a00 cmp r2, #0 + 8003d8e: d1f7 bne.n 8003d80 + 8003d90: 8962 ldrh r2, [r4, #10] + 8003d92: 429a cmp r2, r3 + 8003d94: d00f beq.n 8003db6 + 8003d96: 4b0b ldr r3, [pc, #44] @ (8003dc4 ) + 8003d98: 490d ldr r1, [pc, #52] @ (8003dd0 ) + 8003d9a: 480c ldr r0, [pc, #48] @ (8003dcc ) + 8003d9c: f240 3262 movw r2, #866 @ 0x362 + 8003da0: f006 f9ea bl 800a178 + 8003da4: 6823 ldr r3, [r4, #0] + 8003da6: b133 cbz r3, 8003db6 + 8003da8: 4b06 ldr r3, [pc, #24] @ (8003dc4 ) + 8003daa: 490a ldr r1, [pc, #40] @ (8003dd4 ) + 8003dac: 4807 ldr r0, [pc, #28] @ (8003dcc ) + 8003dae: f240 3263 movw r2, #867 @ 0x363 + 8003db2: f006 f9e1 bl 800a178 + 8003db6: 892a ldrh r2, [r5, #8] + 8003db8: 8923 ldrh r3, [r4, #8] + 8003dba: 6025 str r5, [r4, #0] + 8003dbc: 4413 add r3, r2 + 8003dbe: 8123 strh r3, [r4, #8] + 8003dc0: bd70 pop {r4, r5, r6, pc} + 8003dc2: bf00 nop + 8003dc4: 0800b58b .word 0x0800b58b + 8003dc8: 0800b6ad .word 0x0800b6ad + 8003dcc: 0800b0a6 .word 0x0800b0a6 + 8003dd0: 0800b6e2 .word 0x0800b6e2 + 8003dd4: 0800b70f .word 0x0800b70f -08003bfc : - 8003bfc: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 8003c00: 4d1b ldr r5, [pc, #108] ; (8003c70 ) - 8003c02: 4f1c ldr r7, [pc, #112] ; (8003c74 ) - 8003c04: 782b ldrb r3, [r5, #0] - 8003c06: 4e1c ldr r6, [pc, #112] ; (8003c78 ) - 8003c08: 3301 adds r3, #1 - 8003c0a: 702b strb r3, [r5, #0] - 8003c0c: 683c ldr r4, [r7, #0] - 8003c0e: f04f 0800 mov.w r8, #0 - 8003c12: b90c cbnz r4, 8003c18 - 8003c14: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 8003c18: 782b ldrb r3, [r5, #0] - 8003c1a: 7fa2 ldrb r2, [r4, #30] - 8003c1c: 429a cmp r2, r3 - 8003c1e: d024 beq.n 8003c6a - 8003c20: 77a3 strb r3, [r4, #30] - 8003c22: 8b63 ldrh r3, [r4, #26] - 8003c24: 07d9 lsls r1, r3, #31 - 8003c26: d509 bpl.n 8003c3c - 8003c28: f043 0302 orr.w r3, r3, #2 - 8003c2c: 8363 strh r3, [r4, #26] - 8003c2e: 4620 mov r0, r4 - 8003c30: f002 f944 bl 8005ebc - 8003c34: 8b63 ldrh r3, [r4, #26] - 8003c36: f023 0303 bic.w r3, r3, #3 - 8003c3a: 8363 strh r3, [r4, #26] - 8003c3c: 8b63 ldrh r3, [r4, #26] - 8003c3e: 071a lsls r2, r3, #28 - 8003c40: d505 bpl.n 8003c4e - 8003c42: f023 0308 bic.w r3, r3, #8 - 8003c46: 8363 strh r3, [r4, #26] - 8003c48: 4620 mov r0, r4 - 8003c4a: f7ff fb43 bl 80032d4 - 8003c4e: 6fa3 ldr r3, [r4, #120] ; 0x78 - 8003c50: f8d4 900c ldr.w r9, [r4, #12] - 8003c54: b13b cbz r3, 8003c66 - 8003c56: 4620 mov r0, r4 - 8003c58: f886 8000 strb.w r8, [r6] - 8003c5c: f7ff ff8a bl 8003b74 - 8003c60: 7833 ldrb r3, [r6, #0] - 8003c62: 2b00 cmp r3, #0 - 8003c64: d1d2 bne.n 8003c0c - 8003c66: 464c mov r4, r9 - 8003c68: e7d3 b.n 8003c12 - 8003c6a: f8d4 900c ldr.w r9, [r4, #12] - 8003c6e: e7fa b.n 8003c66 - 8003c70: 200082b9 .word 0x200082b9 - 8003c74: 200082a4 .word 0x200082a4 - 8003c78: 200082a8 .word 0x200082a8 +08003dd8 : + 8003dd8: b510 push {r4, lr} + 8003dda: 460c mov r4, r1 + 8003ddc: f7ff ffc2 bl 8003d64 + 8003de0: 4620 mov r0, r4 + 8003de2: e8bd 4010 ldmia.w sp!, {r4, lr} + 8003de6: f7ff bfa9 b.w 8003d3c + ... -08003c7c : - 8003c7c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8003c80: 4e91 ldr r6, [pc, #580] ; (8003ec8 ) - 8003c82: 4a92 ldr r2, [pc, #584] ; (8003ecc ) - 8003c84: 6833 ldr r3, [r6, #0] - 8003c86: f8df a270 ldr.w sl, [pc, #624] ; 8003ef8 - 8003c8a: 4f91 ldr r7, [pc, #580] ; (8003ed0 ) - 8003c8c: 3301 adds r3, #1 - 8003c8e: 6033 str r3, [r6, #0] - 8003c90: 7813 ldrb r3, [r2, #0] - 8003c92: 3301 adds r3, #1 - 8003c94: b087 sub sp, #28 - 8003c96: 7013 strb r3, [r2, #0] - 8003c98: f8da 4000 ldr.w r4, [sl] - 8003c9c: f8df 825c ldr.w r8, [pc, #604] ; 8003efc - 8003ca0: f04f 0900 mov.w r9, #0 - 8003ca4: b96c cbnz r4, 8003cc2 - 8003ca6: 4f8b ldr r7, [pc, #556] ; (8003ed4 ) - 8003ca8: f8df 8224 ldr.w r8, [pc, #548] ; 8003ed0 - 8003cac: 683d ldr r5, [r7, #0] - 8003cae: f8df a250 ldr.w sl, [pc, #592] ; 8003f00 - 8003cb2: f8df 9248 ldr.w r9, [pc, #584] ; 8003efc - 8003cb6: 2d00 cmp r5, #0 - 8003cb8: f040 81bc bne.w 8004034 - 8003cbc: b007 add sp, #28 - 8003cbe: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8003cc2: 7d23 ldrb r3, [r4, #20] - 8003cc4: b933 cbnz r3, 8003cd4 - 8003cc6: 4984 ldr r1, [pc, #528] ; (8003ed8 ) - 8003cc8: 463b mov r3, r7 - 8003cca: f240 42be movw r2, #1214 ; 0x4be - 8003cce: 4640 mov r0, r8 - 8003cd0: f005 fb6a bl 80093a8 - 8003cd4: 7d23 ldrb r3, [r4, #20] - 8003cd6: 2b01 cmp r3, #1 - 8003cd8: d106 bne.n 8003ce8 - 8003cda: 4980 ldr r1, [pc, #512] ; (8003edc ) - 8003cdc: 463b mov r3, r7 - 8003cde: f240 42bf movw r2, #1215 ; 0x4bf - 8003ce2: 4640 mov r0, r8 - 8003ce4: f005 fb60 bl 80093a8 - 8003ce8: 7d23 ldrb r3, [r4, #20] - 8003cea: 2b0a cmp r3, #10 - 8003cec: d106 bne.n 8003cfc - 8003cee: 497c ldr r1, [pc, #496] ; (8003ee0 ) - 8003cf0: 463b mov r3, r7 - 8003cf2: f44f 6298 mov.w r2, #1216 ; 0x4c0 - 8003cf6: 4640 mov r0, r8 - 8003cf8: f005 fb56 bl 80093a8 - 8003cfc: 4b73 ldr r3, [pc, #460] ; (8003ecc ) - 8003cfe: 7fa2 ldrb r2, [r4, #30] - 8003d00: 781b ldrb r3, [r3, #0] - 8003d02: 429a cmp r2, r3 - 8003d04: d103 bne.n 8003d0e - 8003d06: 68e5 ldr r5, [r4, #12] - 8003d08: 46a1 mov r9, r4 - 8003d0a: 462c mov r4, r5 - 8003d0c: e7ca b.n 8003ca4 - 8003d0e: 7d22 ldrb r2, [r4, #20] - 8003d10: 77a3 strb r3, [r4, #30] - 8003d12: 2a02 cmp r2, #2 - 8003d14: f894 3042 ldrb.w r3, [r4, #66] ; 0x42 - 8003d18: f040 8089 bne.w 8003e2e - 8003d1c: 2b05 cmp r3, #5 - 8003d1e: f240 8088 bls.w 8003e32 - 8003d22: f04f 0b01 mov.w fp, #1 - 8003d26: 7d22 ldrb r2, [r4, #20] - 8003d28: 2a06 cmp r2, #6 - 8003d2a: d10b bne.n 8003d44 - 8003d2c: 8b61 ldrh r1, [r4, #26] - 8003d2e: 06cb lsls r3, r1, #27 - 8003d30: d508 bpl.n 8003d44 - 8003d32: 6831 ldr r1, [r6, #0] - 8003d34: 6a20 ldr r0, [r4, #32] - 8003d36: 1a09 subs r1, r1, r0 - 8003d38: 2928 cmp r1, #40 ; 0x28 - 8003d3a: bf84 itt hi - 8003d3c: f10b 0301 addhi.w r3, fp, #1 - 8003d40: fa5f fb83 uxtbhi.w fp, r3 - 8003d44: 7a65 ldrb r5, [r4, #9] - 8003d46: f015 0508 ands.w r5, r5, #8 - 8003d4a: d019 beq.n 8003d80 - 8003d4c: 2a04 cmp r2, #4 - 8003d4e: d002 beq.n 8003d56 - 8003d50: 2a07 cmp r2, #7 - 8003d52: f040 8136 bne.w 8003fc2 - 8003d56: 6a22 ldr r2, [r4, #32] - 8003d58: 6830 ldr r0, [r6, #0] - 8003d5a: 1a80 subs r0, r0, r2 - 8003d5c: f8d4 2094 ldr.w r2, [r4, #148] ; 0x94 - 8003d60: f502 2124 add.w r1, r2, #671744 ; 0xa4000 - 8003d64: f601 41b8 addw r1, r1, #3256 ; 0xcb8 - 8003d68: f44f 75fa mov.w r5, #500 ; 0x1f4 - 8003d6c: fbb1 f1f5 udiv r1, r1, r5 - 8003d70: 4288 cmp r0, r1 - 8003d72: f240 8114 bls.w 8003f9e - 8003d76: f10b 0301 add.w r3, fp, #1 - 8003d7a: fa5f fb83 uxtb.w fp, r3 - 8003d7e: 2501 movs r5, #1 - 8003d80: 6f62 ldr r2, [r4, #116] ; 0x74 - 8003d82: b162 cbz r2, 8003d9e - 8003d84: 6832 ldr r2, [r6, #0] - 8003d86: 6a21 ldr r1, [r4, #32] - 8003d88: 1a51 subs r1, r2, r1 - 8003d8a: f9b4 2040 ldrsh.w r2, [r4, #64] ; 0x40 - 8003d8e: eb02 0242 add.w r2, r2, r2, lsl #1 - 8003d92: ebb1 0f42 cmp.w r1, r2, lsl #1 - 8003d96: d302 bcc.n 8003d9e - 8003d98: 4620 mov r0, r4 - 8003d9a: f7ff fbd5 bl 8003548 - 8003d9e: 7d22 ldrb r2, [r4, #20] - 8003da0: 2a03 cmp r2, #3 - 8003da2: f040 8110 bne.w 8003fc6 - 8003da6: 6832 ldr r2, [r6, #0] - 8003da8: 6a21 ldr r1, [r4, #32] - 8003daa: 1a52 subs r2, r2, r1 - 8003dac: 2a28 cmp r2, #40 ; 0x28 - 8003dae: d803 bhi.n 8003db8 - 8003db0: f1bb 0f00 cmp.w fp, #0 - 8003db4: f000 811c beq.w 8003ff0 - 8003db8: 4620 mov r0, r4 - 8003dba: f8d4 b090 ldr.w fp, [r4, #144] ; 0x90 - 8003dbe: f7ff fbcd bl 800355c - 8003dc2: f8da 3000 ldr.w r3, [sl] - 8003dc6: f1b9 0f00 cmp.w r9, #0 - 8003dca: f000 8104 beq.w 8003fd6 - 8003dce: 42a3 cmp r3, r4 - 8003dd0: d106 bne.n 8003de0 - 8003dd2: 4944 ldr r1, [pc, #272] ; (8003ee4 ) - 8003dd4: 463b mov r3, r7 - 8003dd6: f240 526d movw r2, #1389 ; 0x56d - 8003dda: 4640 mov r0, r8 - 8003ddc: f005 fae4 bl 80093a8 - 8003de0: 68e3 ldr r3, [r4, #12] - 8003de2: f8c9 300c str.w r3, [r9, #12] - 8003de6: b15d cbz r5, 8003e00 - 8003de8: 8b23 ldrh r3, [r4, #24] - 8003dea: 9302 str r3, [sp, #8] - 8003dec: 8ae3 ldrh r3, [r4, #22] - 8003dee: 9301 str r3, [sp, #4] - 8003df0: 1d23 adds r3, r4, #4 - 8003df2: 9300 str r3, [sp, #0] - 8003df4: 6a62 ldr r2, [r4, #36] ; 0x24 - 8003df6: 6d21 ldr r1, [r4, #80] ; 0x50 - 8003df8: 4623 mov r3, r4 - 8003dfa: 4620 mov r0, r4 - 8003dfc: f001 ffe6 bl 8005dcc - 8003e00: 6923 ldr r3, [r4, #16] - 8003e02: 68e5 ldr r5, [r4, #12] - 8003e04: 9305 str r3, [sp, #20] - 8003e06: 4620 mov r0, r4 - 8003e08: 4c37 ldr r4, [pc, #220] ; (8003ee8 ) - 8003e0a: f7ff fa9f bl 800334c - 8003e0e: 2200 movs r2, #0 - 8003e10: 7022 strb r2, [r4, #0] - 8003e12: f1bb 0f00 cmp.w fp, #0 - 8003e16: d008 beq.n 8003e2a - 8003e18: 9b05 ldr r3, [sp, #20] - 8003e1a: f06f 010c mvn.w r1, #12 - 8003e1e: 4618 mov r0, r3 - 8003e20: 47d8 blx fp - 8003e22: 7823 ldrb r3, [r4, #0] - 8003e24: 2b00 cmp r3, #0 - 8003e26: f47f af37 bne.w 8003c98 - 8003e2a: 464c mov r4, r9 - 8003e2c: e76c b.n 8003d08 - 8003e2e: 2b0b cmp r3, #11 - 8003e30: e775 b.n 8003d1e - 8003e32: f894 b099 ldrb.w fp, [r4, #153] ; 0x99 - 8003e36: f1bb 0f00 cmp.w fp, #0 - 8003e3a: d063 beq.n 8003f04 - 8003e3c: 6f23 ldr r3, [r4, #112] ; 0x70 - 8003e3e: b133 cbz r3, 8003e4e - 8003e40: 492a ldr r1, [pc, #168] ; (8003eec ) - 8003e42: 463b mov r3, r7 - 8003e44: f240 42d4 movw r2, #1236 ; 0x4d4 - 8003e48: 4640 mov r0, r8 - 8003e4a: f005 faad bl 80093a8 - 8003e4e: 6ee3 ldr r3, [r4, #108] ; 0x6c - 8003e50: b933 cbnz r3, 8003e60 - 8003e52: 4927 ldr r1, [pc, #156] ; (8003ef0 ) - 8003e54: 463b mov r3, r7 - 8003e56: f240 42d5 movw r2, #1237 ; 0x4d5 - 8003e5a: 4640 mov r0, r8 - 8003e5c: f005 faa4 bl 80093a8 - 8003e60: f894 309a ldrb.w r3, [r4, #154] ; 0x9a - 8003e64: 2b0b cmp r3, #11 - 8003e66: f63f af5c bhi.w 8003d22 - 8003e6a: f894 2099 ldrb.w r2, [r4, #153] ; 0x99 - 8003e6e: 4b21 ldr r3, [pc, #132] ; (8003ef4 ) - 8003e70: 4413 add r3, r2 - 8003e72: f813 2c01 ldrb.w r2, [r3, #-1] - 8003e76: f894 3098 ldrb.w r3, [r4, #152] ; 0x98 - 8003e7a: 4293 cmp r3, r2 - 8003e7c: d30b bcc.n 8003e96 - 8003e7e: f8b4 1060 ldrh.w r1, [r4, #96] ; 0x60 - 8003e82: b189 cbz r1, 8003ea8 - 8003e84: 4620 mov r0, r4 - 8003e86: f001 fd57 bl 8005938 - 8003e8a: b990 cbnz r0, 8003eb2 - 8003e8c: 4620 mov r0, r4 - 8003e8e: f002 f815 bl 8005ebc - 8003e92: b130 cbz r0, 8003ea2 - 8003e94: e00d b.n 8003eb2 - 8003e96: 3301 adds r3, #1 - 8003e98: b2db uxtb r3, r3 - 8003e9a: 4293 cmp r3, r2 - 8003e9c: f884 3098 strb.w r3, [r4, #152] ; 0x98 - 8003ea0: d2ed bcs.n 8003e7e - 8003ea2: f04f 0b00 mov.w fp, #0 - 8003ea6: e73e b.n 8003d26 - 8003ea8: 4620 mov r0, r4 - 8003eaa: f002 fa0f bl 80062cc - 8003eae: 2800 cmp r0, #0 - 8003eb0: d1f7 bne.n 8003ea2 - 8003eb2: f894 2099 ldrb.w r2, [r4, #153] ; 0x99 - 8003eb6: 2300 movs r3, #0 - 8003eb8: 2a06 cmp r2, #6 - 8003eba: f884 3098 strb.w r3, [r4, #152] ; 0x98 - 8003ebe: d8f0 bhi.n 8003ea2 - 8003ec0: 3201 adds r2, #1 - 8003ec2: f884 2099 strb.w r2, [r4, #153] ; 0x99 - 8003ec6: e7ec b.n 8003ea2 - 8003ec8: 200082b4 .word 0x200082b4 - 8003ecc: 200082b9 .word 0x200082b9 - 8003ed0: 0800acc3 .word 0x0800acc3 - 8003ed4: 200082bc .word 0x200082bc - 8003ed8: 0800afad .word 0x0800afad - 8003edc: 0800afd7 .word 0x0800afd7 - 8003ee0: 0800b001 .word 0x0800b001 - 8003ee4: 0800b095 .word 0x0800b095 - 8003ee8: 200082a8 .word 0x200082a8 - 8003eec: 0800b02e .word 0x0800b02e - 8003ef0: 0800b060 .word 0x0800b060 - 8003ef4: 0800b184 .word 0x0800b184 - 8003ef8: 200082a4 .word 0x200082a4 - 8003efc: 0800a54d .word 0x0800a54d - 8003f00: 0800b0ea .word 0x0800b0ea - 8003f04: 8e22 ldrh r2, [r4, #48] ; 0x30 - 8003f06: f647 71fe movw r1, #32766 ; 0x7ffe - 8003f0a: 428a cmp r2, r1 - 8003f0c: bf9c itt ls - 8003f0e: 3201 addls r2, #1 - 8003f10: 8622 strhls r2, [r4, #48] ; 0x30 - 8003f12: f9b4 1030 ldrsh.w r1, [r4, #48] ; 0x30 - 8003f16: f9b4 2040 ldrsh.w r2, [r4, #64] ; 0x40 - 8003f1a: 4291 cmp r1, r2 - 8003f1c: dbc1 blt.n 8003ea2 - 8003f1e: 4620 mov r0, r4 - 8003f20: f001 fe9a bl 8005c58 - 8003f24: b128 cbz r0, 8003f32 - 8003f26: 6f22 ldr r2, [r4, #112] ; 0x70 - 8003f28: 2a00 cmp r2, #0 - 8003f2a: d1ba bne.n 8003ea2 - 8003f2c: 6ee2 ldr r2, [r4, #108] ; 0x6c - 8003f2e: 2a00 cmp r2, #0 - 8003f30: d0b7 beq.n 8003ea2 - 8003f32: 7d22 ldrb r2, [r4, #20] - 8003f34: 2a02 cmp r2, #2 - 8003f36: d014 beq.n 8003f62 - 8003f38: f9b4 103c ldrsh.w r1, [r4, #60] ; 0x3c - 8003f3c: f9b4 203e ldrsh.w r2, [r4, #62] ; 0x3e - 8003f40: 4857 ldr r0, [pc, #348] ; (80040a0 ) - 8003f42: eb02 02e1 add.w r2, r2, r1, asr #3 - 8003f46: f894 1042 ldrb.w r1, [r4, #66] ; 0x42 - 8003f4a: 290c cmp r1, #12 - 8003f4c: bf28 it cs - 8003f4e: 210c movcs r1, #12 - 8003f50: 5c41 ldrb r1, [r0, r1] - 8003f52: 408a lsls r2, r1 - 8003f54: f647 71ff movw r1, #32767 ; 0x7fff - 8003f58: 428a cmp r2, r1 - 8003f5a: bfa8 it ge - 8003f5c: 460a movge r2, r1 - 8003f5e: f8a4 2040 strh.w r2, [r4, #64] ; 0x40 - 8003f62: f8b4 1060 ldrh.w r1, [r4, #96] ; 0x60 - 8003f66: f8b4 2048 ldrh.w r2, [r4, #72] ; 0x48 - 8003f6a: f8b4 c032 ldrh.w ip, [r4, #50] ; 0x32 - 8003f6e: f8a4 c048 strh.w ip, [r4, #72] ; 0x48 - 8003f72: 4291 cmp r1, r2 - 8003f74: bf28 it cs - 8003f76: 4611 movcs r1, r2 - 8003f78: ea4f 024c mov.w r2, ip, lsl #1 - 8003f7c: b292 uxth r2, r2 - 8003f7e: 0848 lsrs r0, r1, #1 - 8003f80: ebb2 0f51 cmp.w r2, r1, lsr #1 - 8003f84: f04f 0500 mov.w r5, #0 - 8003f88: bf98 it ls - 8003f8a: 4602 movls r2, r0 - 8003f8c: 8625 strh r5, [r4, #48] ; 0x30 - 8003f8e: f8a4 204a strh.w r2, [r4, #74] ; 0x4a - 8003f92: f8a4 506a strh.w r5, [r4, #106] ; 0x6a - 8003f96: 4620 mov r0, r4 - 8003f98: f002 f93a bl 8006210 - 8003f9c: e6c3 b.n 8003d26 - 8003f9e: f894 109b ldrb.w r1, [r4, #155] ; 0x9b - 8003fa2: 4b40 ldr r3, [pc, #256] ; (80040a4 ) - 8003fa4: fb03 2201 mla r2, r3, r1, r2 - 8003fa8: fbb2 f2f5 udiv r2, r2, r5 - 8003fac: 4290 cmp r0, r2 - 8003fae: d908 bls.n 8003fc2 - 8003fb0: 4620 mov r0, r4 - 8003fb2: f002 f963 bl 800627c - 8003fb6: b920 cbnz r0, 8003fc2 - 8003fb8: f894 209b ldrb.w r2, [r4, #155] ; 0x9b - 8003fbc: 3201 adds r2, #1 - 8003fbe: f884 209b strb.w r2, [r4, #155] ; 0x9b - 8003fc2: 2500 movs r5, #0 - 8003fc4: e6dc b.n 8003d80 - 8003fc6: 2a09 cmp r2, #9 - 8003fc8: f47f aef2 bne.w 8003db0 - 8003fcc: 6832 ldr r2, [r6, #0] - 8003fce: 6a21 ldr r1, [r4, #32] - 8003fd0: 1a52 subs r2, r2, r1 - 8003fd2: 2af0 cmp r2, #240 ; 0xf0 - 8003fd4: e6eb b.n 8003dae - 8003fd6: 42a3 cmp r3, r4 - 8003fd8: d006 beq.n 8003fe8 - 8003fda: 4933 ldr r1, [pc, #204] ; (80040a8 ) - 8003fdc: 463b mov r3, r7 - 8003fde: f240 5271 movw r2, #1393 ; 0x571 - 8003fe2: 4640 mov r0, r8 - 8003fe4: f005 f9e0 bl 80093a8 - 8003fe8: 68e3 ldr r3, [r4, #12] - 8003fea: f8ca 3000 str.w r3, [sl] - 8003fee: e6fa b.n 8003de6 - 8003ff0: 7f22 ldrb r2, [r4, #28] - 8003ff2: 7f61 ldrb r1, [r4, #29] - 8003ff4: 68e5 ldr r5, [r4, #12] - 8003ff6: 3201 adds r2, #1 - 8003ff8: b2d2 uxtb r2, r2 - 8003ffa: 4291 cmp r1, r2 - 8003ffc: 7722 strb r2, [r4, #28] - 8003ffe: f63f ae83 bhi.w 8003d08 - 8004002: f8df 90b0 ldr.w r9, [pc, #176] ; 80040b4 - 8004006: f8d4 308c ldr.w r3, [r4, #140] ; 0x8c - 800400a: f884 b01c strb.w fp, [r4, #28] - 800400e: f889 b000 strb.w fp, [r9] - 8004012: b91b cbnz r3, 800401c - 8004014: 4620 mov r0, r4 - 8004016: f001 ff51 bl 8005ebc - 800401a: e675 b.n 8003d08 - 800401c: 6920 ldr r0, [r4, #16] - 800401e: 4621 mov r1, r4 - 8004020: 4798 blx r3 - 8004022: f899 3000 ldrb.w r3, [r9] - 8004026: 2b00 cmp r3, #0 - 8004028: f47f ae36 bne.w 8003c98 - 800402c: 2800 cmp r0, #0 - 800402e: f47f ae6b bne.w 8003d08 - 8004032: e7ef b.n 8004014 - 8004034: 7d2b ldrb r3, [r5, #20] - 8004036: 2b0a cmp r3, #10 - 8004038: d006 beq.n 8004048 - 800403a: 4643 mov r3, r8 - 800403c: f240 52a1 movw r2, #1441 ; 0x5a1 - 8004040: 4651 mov r1, sl - 8004042: 4648 mov r0, r9 - 8004044: f005 f9b0 bl 80093a8 - 8004048: 6833 ldr r3, [r6, #0] - 800404a: 6a2a ldr r2, [r5, #32] - 800404c: 1a9b subs r3, r3, r2 - 800404e: 2bf0 cmp r3, #240 ; 0xf0 - 8004050: d910 bls.n 8004074 - 8004052: 4628 mov r0, r5 - 8004054: f7ff fa82 bl 800355c - 8004058: b97c cbnz r4, 800407a - 800405a: 683b ldr r3, [r7, #0] - 800405c: 42ab cmp r3, r5 - 800405e: d006 beq.n 800406e - 8004060: 4912 ldr r1, [pc, #72] ; (80040ac ) - 8004062: 4643 mov r3, r8 - 8004064: f240 52b3 movw r2, #1459 ; 0x5b3 - 8004068: 4648 mov r0, r9 - 800406a: f005 f99d bl 80093a8 - 800406e: 68eb ldr r3, [r5, #12] - 8004070: 603b str r3, [r7, #0] - 8004072: e00e b.n 8004092 - 8004074: 462c mov r4, r5 - 8004076: 68ed ldr r5, [r5, #12] - 8004078: e61d b.n 8003cb6 - 800407a: 683b ldr r3, [r7, #0] - 800407c: 42ab cmp r3, r5 - 800407e: d106 bne.n 800408e - 8004080: 490b ldr r1, [pc, #44] ; (80040b0 ) - 8004082: 4643 mov r3, r8 - 8004084: f240 52af movw r2, #1455 ; 0x5af - 8004088: 4648 mov r0, r9 - 800408a: f005 f98d bl 80093a8 - 800408e: 68eb ldr r3, [r5, #12] - 8004090: 60e3 str r3, [r4, #12] - 8004092: f8d5 b00c ldr.w fp, [r5, #12] - 8004096: 4628 mov r0, r5 - 8004098: f7ff f958 bl 800334c - 800409c: 465d mov r5, fp - 800409e: e60a b.n 8003cb6 - 80040a0: 0800b166 .word 0x0800b166 - 80040a4: 000124f8 .word 0x000124f8 - 80040a8: 0800b0c0 .word 0x0800b0c0 - 80040ac: 0800b140 .word 0x0800b140 - 80040b0: 0800b119 .word 0x0800b119 - 80040b4: 200082a8 .word 0x200082a8 +08003dec : + 8003dec: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8003df0: 460c mov r4, r1 + 8003df2: 4605 mov r5, r0 + 8003df4: b120 cbz r0, 8003e00 + 8003df6: b119 cbz r1, 8003e00 + 8003df8: 8902 ldrh r2, [r0, #8] + 8003dfa: 890b ldrh r3, [r1, #8] + 8003dfc: 429a cmp r2, r3 + 8003dfe: d20a bcs.n 8003e16 + 8003e00: 4b34 ldr r3, [pc, #208] @ (8003ed4 ) + 8003e02: 4935 ldr r1, [pc, #212] @ (8003ed8 ) + 8003e04: f240 32c9 movw r2, #969 @ 0x3c9 + 8003e08: 4834 ldr r0, [pc, #208] @ (8003edc ) + 8003e0a: f006 f9b5 bl 800a178 + 8003e0e: f06f 000f mvn.w r0, #15 + 8003e12: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8003e16: 2600 movs r6, #0 + 8003e18: f8df 90b8 ldr.w r9, [pc, #184] @ 8003ed4 + 8003e1c: f8df b0cc ldr.w fp, [pc, #204] @ 8003eec + 8003e20: f8df a0b8 ldr.w sl, [pc, #184] @ 8003edc + 8003e24: 4637 mov r7, r6 + 8003e26: f8b5 800a ldrh.w r8, [r5, #10] + 8003e2a: 8963 ldrh r3, [r4, #10] + 8003e2c: 6868 ldr r0, [r5, #4] + 8003e2e: 6861 ldr r1, [r4, #4] + 8003e30: eba8 0807 sub.w r8, r8, r7 + 8003e34: 1b9b subs r3, r3, r6 + 8003e36: 4598 cmp r8, r3 + 8003e38: bf28 it cs + 8003e3a: 4698 movcs r8, r3 + 8003e3c: 4431 add r1, r6 + 8003e3e: 4438 add r0, r7 + 8003e40: 4642 mov r2, r8 + 8003e42: f006 fa74 bl 800a32e + 8003e46: 896b ldrh r3, [r5, #10] + 8003e48: 4447 add r7, r8 + 8003e4a: 42bb cmp r3, r7 + 8003e4c: 4446 add r6, r8 + 8003e4e: d206 bcs.n 8003e5e + 8003e50: 464b mov r3, r9 + 8003e52: f240 32d9 movw r2, #985 @ 0x3d9 + 8003e56: 4659 mov r1, fp + 8003e58: 4650 mov r0, sl + 8003e5a: f006 f98d bl 800a178 + 8003e5e: 8963 ldrh r3, [r4, #10] + 8003e60: 42b3 cmp r3, r6 + 8003e62: d206 bcs.n 8003e72 + 8003e64: 491e ldr r1, [pc, #120] @ (8003ee0 ) + 8003e66: 464b mov r3, r9 + 8003e68: f240 32da movw r2, #986 @ 0x3da + 8003e6c: 4650 mov r0, sl + 8003e6e: f006 f983 bl 800a178 + 8003e72: 8963 ldrh r3, [r4, #10] + 8003e74: 42b3 cmp r3, r6 + 8003e76: 896b ldrh r3, [r5, #10] + 8003e78: bf9c itt ls + 8003e7a: 6824 ldrls r4, [r4, #0] + 8003e7c: 2600 movls r6, #0 + 8003e7e: 42bb cmp r3, r7 + 8003e80: d108 bne.n 8003e94 + 8003e82: 682d ldr r5, [r5, #0] + 8003e84: b92d cbnz r5, 8003e92 + 8003e86: b314 cbz r4, 8003ece + 8003e88: 4b12 ldr r3, [pc, #72] @ (8003ed4 ) + 8003e8a: 4916 ldr r1, [pc, #88] @ (8003ee4 ) + 8003e8c: f44f 7279 mov.w r2, #996 @ 0x3e4 + 8003e90: e7ba b.n 8003e08 + 8003e92: 2700 movs r7, #0 + 8003e94: b17c cbz r4, 8003eb6 + 8003e96: 8962 ldrh r2, [r4, #10] + 8003e98: 8923 ldrh r3, [r4, #8] + 8003e9a: 429a cmp r2, r3 + 8003e9c: d10b bne.n 8003eb6 + 8003e9e: 6823 ldr r3, [r4, #0] + 8003ea0: b14b cbz r3, 8003eb6 + 8003ea2: 4b0c ldr r3, [pc, #48] @ (8003ed4 ) + 8003ea4: f240 32e9 movw r2, #1001 @ 0x3e9 + 8003ea8: 490f ldr r1, [pc, #60] @ (8003ee8 ) + 8003eaa: 480c ldr r0, [pc, #48] @ (8003edc ) + 8003eac: f006 f964 bl 800a178 + 8003eb0: f06f 0005 mvn.w r0, #5 + 8003eb4: e7ad b.n 8003e12 + 8003eb6: 896a ldrh r2, [r5, #10] + 8003eb8: 892b ldrh r3, [r5, #8] + 8003eba: 429a cmp r2, r3 + 8003ebc: d105 bne.n 8003eca + 8003ebe: 682b ldr r3, [r5, #0] + 8003ec0: b11b cbz r3, 8003eca + 8003ec2: 4b04 ldr r3, [pc, #16] @ (8003ed4 ) + 8003ec4: f240 32ee movw r2, #1006 @ 0x3ee + 8003ec8: e7ee b.n 8003ea8 + 8003eca: 2c00 cmp r4, #0 + 8003ecc: d1ab bne.n 8003e26 + 8003ece: 4620 mov r0, r4 + 8003ed0: e79f b.n 8003e12 + 8003ed2: bf00 nop + 8003ed4: 0800b58b .word 0x0800b58b + 8003ed8: 0800b71f .word 0x0800b71f + 8003edc: 0800b0a6 .word 0x0800b0a6 + 8003ee0: 0800b766 .word 0x0800b766 + 8003ee4: 0800b781 .word 0x0800b781 + 8003ee8: 0800b78e .word 0x0800b78e + 8003eec: 0800b74f .word 0x0800b74f -080040b8 : - 80040b8: b508 push {r3, lr} - 80040ba: f7ff fd9f bl 8003bfc - 80040be: 4a06 ldr r2, [pc, #24] ; (80040d8 ) - 80040c0: 7813 ldrb r3, [r2, #0] - 80040c2: 3301 adds r3, #1 - 80040c4: b2db uxtb r3, r3 - 80040c6: 7013 strb r3, [r2, #0] - 80040c8: 07db lsls r3, r3, #31 - 80040ca: d503 bpl.n 80040d4 - 80040cc: e8bd 4008 ldmia.w sp!, {r3, lr} - 80040d0: f7ff bdd4 b.w 8003c7c - 80040d4: bd08 pop {r3, pc} - 80040d6: bf00 nop - 80040d8: 200082b8 .word 0x200082b8 +08003ef0 : + 8003ef0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8003ef4: 460f mov r7, r1 + 8003ef6: 4690 mov r8, r2 + 8003ef8: 4605 mov r5, r0 + 8003efa: b950 cbnz r0, 8003f12 + 8003efc: 4b19 ldr r3, [pc, #100] @ (8003f64 ) + 8003efe: 491a ldr r1, [pc, #104] @ (8003f68 ) + 8003f00: f240 420a movw r2, #1034 @ 0x40a + 8003f04: 4819 ldr r0, [pc, #100] @ (8003f6c ) + 8003f06: f006 f937 bl 800a178 + 8003f0a: 2600 movs r6, #0 + 8003f0c: 4630 mov r0, r6 + 8003f0e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8003f12: bb21 cbnz r1, 8003f5e + 8003f14: 4b13 ldr r3, [pc, #76] @ (8003f64 ) + 8003f16: 4916 ldr r1, [pc, #88] @ (8003f70 ) + 8003f18: f240 420b movw r2, #1035 @ 0x40b + 8003f1c: e7f2 b.n 8003f04 + 8003f1e: 896c ldrh r4, [r5, #10] + 8003f20: b153 cbz r3, 8003f38 + 8003f22: 429c cmp r4, r3 + 8003f24: d808 bhi.n 8003f38 + 8003f26: 1b1b subs r3, r3, r4 + 8003f28: b29b uxth r3, r3 + 8003f2a: 682d ldr r5, [r5, #0] + 8003f2c: f1b8 0f00 cmp.w r8, #0 + 8003f30: d0ec beq.n 8003f0c + 8003f32: 2d00 cmp r5, #0 + 8003f34: d1f3 bne.n 8003f1e + 8003f36: e7e9 b.n 8003f0c + 8003f38: 1ae4 subs r4, r4, r3 + 8003f3a: b2a4 uxth r4, r4 + 8003f3c: 4544 cmp r4, r8 + 8003f3e: 6869 ldr r1, [r5, #4] + 8003f40: bf28 it cs + 8003f42: 4644 movcs r4, r8 + 8003f44: 4622 mov r2, r4 + 8003f46: 4419 add r1, r3 + 8003f48: 19b8 adds r0, r7, r6 + 8003f4a: 4426 add r6, r4 + 8003f4c: eba8 0404 sub.w r4, r8, r4 + 8003f50: f006 f9ed bl 800a32e + 8003f54: b2b6 uxth r6, r6 + 8003f56: fa1f f884 uxth.w r8, r4 + 8003f5a: 2300 movs r3, #0 + 8003f5c: e7e5 b.n 8003f2a + 8003f5e: 2600 movs r6, #0 + 8003f60: e7e4 b.n 8003f2c + 8003f62: bf00 nop + 8003f64: 0800b58b .word 0x0800b58b + 8003f68: 0800b7b8 .word 0x0800b7b8 + 8003f6c: 0800b0a6 .word 0x0800b0a6 + 8003f70: 0800b7d7 .word 0x0800b7d7 -080040dc : - 80040dc: 4a09 ldr r2, [pc, #36] ; (8004104 ) - 80040de: 8813 ldrh r3, [r2, #0] - 80040e0: 1c59 adds r1, r3, #1 - 80040e2: 8011 strh r1, [r2, #0] - 80040e4: 4a08 ldr r2, [pc, #32] ; (8004108 ) - 80040e6: 6812 ldr r2, [r2, #0] - 80040e8: b11a cbz r2, 80040f2 - 80040ea: 4908 ldr r1, [pc, #32] ; (800410c ) - 80040ec: 8809 ldrh r1, [r1, #0] - 80040ee: 428b cmp r3, r1 - 80040f0: d204 bcs.n 80040fc - 80040f2: 4a07 ldr r2, [pc, #28] ; (8004110 ) - 80040f4: 6812 ldr r2, [r2, #0] - 80040f6: 4413 add r3, r2 - 80040f8: 7d18 ldrb r0, [r3, #20] - 80040fa: 4770 bx lr - 80040fc: 1a5b subs r3, r3, r1 - 80040fe: b2db uxtb r3, r3 - 8004100: 5cd0 ldrb r0, [r2, r3] - 8004102: 4770 bx lr - 8004104: 200082ec .word 0x200082ec - 8004108: 200082f8 .word 0x200082f8 - 800410c: 200082f4 .word 0x200082f4 - 8004110: 200082f0 .word 0x200082f0 +08003f74 : + 8003f74: b538 push {r3, r4, r5, lr} + 8003f76: 4615 mov r5, r2 + 8003f78: 460a mov r2, r1 + 8003f7a: 8929 ldrh r1, [r5, #8] + 8003f7c: f7ff fe04 bl 8003b88 + 8003f80: 4604 mov r4, r0 + 8003f82: b150 cbz r0, 8003f9a + 8003f84: 4629 mov r1, r5 + 8003f86: f7ff ff31 bl 8003dec + 8003f8a: b130 cbz r0, 8003f9a + 8003f8c: 4b04 ldr r3, [pc, #16] @ (8003fa0 ) + 8003f8e: 4905 ldr r1, [pc, #20] @ (8003fa4 ) + 8003f90: 4805 ldr r0, [pc, #20] @ (8003fa8 ) + 8003f92: f240 5224 movw r2, #1316 @ 0x524 + 8003f96: f006 f8ef bl 800a178 + 8003f9a: 4620 mov r0, r4 + 8003f9c: bd38 pop {r3, r4, r5, pc} + 8003f9e: bf00 nop + 8003fa0: 0800b58b .word 0x0800b58b + 8003fa4: 0800b7fa .word 0x0800b7fa + 8003fa8: 0800b0a6 .word 0x0800b0a6 -08004114 : - 8004114: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004116: 460c mov r4, r1 - 8004118: 4605 mov r5, r0 - 800411a: b930 cbnz r0, 800412a - 800411c: 4b1e ldr r3, [pc, #120] ; (8004198 ) - 800411e: 491f ldr r1, [pc, #124] ; (800419c ) - 8004120: 481f ldr r0, [pc, #124] ; (80041a0 ) - 8004122: f240 421f movw r2, #1055 ; 0x41f - 8004126: f005 f93f bl 80093a8 - 800412a: 68eb ldr r3, [r5, #12] - 800412c: 8998 ldrh r0, [r3, #12] - 800412e: f7fe f906 bl 800233e - 8004132: 07c2 lsls r2, r0, #31 - 8004134: d414 bmi.n 8004160 - 8004136: 4e1b ldr r6, [pc, #108] ; (80041a4 ) - 8004138: 68e7 ldr r7, [r4, #12] - 800413a: 6830 ldr r0, [r6, #0] - 800413c: 892b ldrh r3, [r5, #8] - 800413e: 6879 ldr r1, [r7, #4] - 8004140: 8922 ldrh r2, [r4, #8] - 8004142: 4403 add r3, r0 - 8004144: 440a add r2, r1 - 8004146: 1a9a subs r2, r3, r2 - 8004148: 2a00 cmp r2, #0 - 800414a: da0f bge.n 800416c - 800414c: 1a5b subs r3, r3, r1 - 800414e: 2b00 cmp r3, #0 - 8004150: dd0a ble.n 8004168 - 8004152: 1a09 subs r1, r1, r0 - 8004154: b289 uxth r1, r1 - 8004156: 6868 ldr r0, [r5, #4] - 8004158: 8129 strh r1, [r5, #8] - 800415a: f7fe ff1f bl 8002f9c - 800415e: e003 b.n 8004168 - 8004160: 4620 mov r0, r4 - 8004162: f7ff f98d bl 8003480 - 8004166: 2400 movs r4, #0 - 8004168: 602c str r4, [r5, #0] - 800416a: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800416c: 89b8 ldrh r0, [r7, #12] - 800416e: f7fe f8e6 bl 800233e - 8004172: 07c3 lsls r3, r0, #31 - 8004174: d507 bpl.n 8004186 - 8004176: 68eb ldr r3, [r5, #12] - 8004178: 2001 movs r0, #1 - 800417a: 899f ldrh r7, [r3, #12] - 800417c: f7fe f8df bl 800233e - 8004180: 68eb ldr r3, [r5, #12] - 8004182: 4338 orrs r0, r7 - 8004184: 8198 strh r0, [r3, #12] - 8004186: 6827 ldr r7, [r4, #0] - 8004188: 4620 mov r0, r4 - 800418a: f7ff f96b bl 8003464 - 800418e: 463c mov r4, r7 - 8004190: 2f00 cmp r7, #0 - 8004192: d1d1 bne.n 8004138 - 8004194: e7e8 b.n 8004168 - 8004196: bf00 nop - 8004198: 0800b18b .word 0x0800b18b - 800419c: 0800b1bd .word 0x0800b1bd - 80041a0: 0800a54d .word 0x0800a54d - 80041a4: 200082e4 .word 0x200082e4 +08003fac : + 8003fac: b510 push {r4, lr} + 8003fae: 4604 mov r4, r0 + 8003fb0: b930 cbnz r0, 8003fc0 + 8003fb2: 4b13 ldr r3, [pc, #76] @ (8004000 ) + 8003fb4: 4913 ldr r1, [pc, #76] @ (8004004 ) + 8003fb6: 4814 ldr r0, [pc, #80] @ (8004008 ) + 8003fb8: f44f 72ce mov.w r2, #412 @ 0x19c + 8003fbc: f006 f8dc bl 800a178 + 8003fc0: 7d23 ldrb r3, [r4, #20] + 8003fc2: 2b04 cmp r3, #4 + 8003fc4: d003 beq.n 8003fce + 8003fc6: 2b07 cmp r3, #7 + 8003fc8: d00c beq.n 8003fe4 + 8003fca: 2b03 cmp r3, #3 + 8003fcc: d108 bne.n 8003fe0 + 8003fce: 4620 mov r0, r4 + 8003fd0: f002 fc5c bl 800688c + 8003fd4: b960 cbnz r0, 8003ff0 + 8003fd6: 2305 movs r3, #5 + 8003fd8: 7523 strb r3, [r4, #20] + 8003fda: 4620 mov r0, r4 + 8003fdc: f002 fdb8 bl 8006b50 + 8003fe0: 2000 movs r0, #0 + 8003fe2: bd10 pop {r4, pc} + 8003fe4: 4620 mov r0, r4 + 8003fe6: f002 fc51 bl 800688c + 8003fea: b908 cbnz r0, 8003ff0 + 8003fec: 2309 movs r3, #9 + 8003fee: e7f3 b.n 8003fd8 + 8003ff0: 1c43 adds r3, r0, #1 + 8003ff2: d1f6 bne.n 8003fe2 + 8003ff4: 8b63 ldrh r3, [r4, #26] + 8003ff6: f043 0308 orr.w r3, r3, #8 + 8003ffa: 8363 strh r3, [r4, #26] + 8003ffc: e7f0 b.n 8003fe0 + 8003ffe: bf00 nop + 8004000: 0800b80b .word 0x0800b80b + 8004004: 0800b83a .word 0x0800b83a + 8004008: 0800b0a6 .word 0x0800b0a6 -080041a8 : - 80041a8: b5f8 push {r3, r4, r5, r6, r7, lr} - 80041aa: 4606 mov r6, r0 - 80041ac: b930 cbnz r0, 80041bc - 80041ae: 4b1d ldr r3, [pc, #116] ; (8004224 ) - 80041b0: 491d ldr r1, [pc, #116] ; (8004228 ) - 80041b2: 481e ldr r0, [pc, #120] ; (800422c ) - 80041b4: f240 727d movw r2, #1917 ; 0x77d - 80041b8: f005 f8f6 bl 80093a8 - 80041bc: 4b1c ldr r3, [pc, #112] ; (8004230 ) - 80041be: 881f ldrh r7, [r3, #0] - 80041c0: b167 cbz r7, 80041dc - 80041c2: 4d1c ldr r5, [pc, #112] ; (8004234 ) - 80041c4: 2300 movs r3, #0 - 80041c6: 802b strh r3, [r5, #0] - 80041c8: 882b ldrh r3, [r5, #0] - 80041ca: 42bb cmp r3, r7 - 80041cc: d206 bcs.n 80041dc - 80041ce: f7ff ff85 bl 80040dc - 80041d2: 2801 cmp r0, #1 - 80041d4: d0f8 beq.n 80041c8 - 80041d6: 2802 cmp r0, #2 - 80041d8: d001 beq.n 80041de - 80041da: b9c8 cbnz r0, 8004210 - 80041dc: bdf8 pop {r3, r4, r5, r6, r7, pc} - 80041de: f7ff ff7d bl 80040dc - 80041e2: 2804 cmp r0, #4 - 80041e4: d1fa bne.n 80041dc - 80041e6: 882b ldrh r3, [r5, #0] - 80041e8: 3301 adds r3, #1 - 80041ea: 42bb cmp r3, r7 - 80041ec: daf6 bge.n 80041dc - 80041ee: f7ff ff75 bl 80040dc - 80041f2: 0204 lsls r4, r0, #8 - 80041f4: f7ff ff72 bl 80040dc - 80041f8: b2a4 uxth r4, r4 - 80041fa: ea44 0300 orr.w r3, r4, r0 - 80041fe: b29b uxth r3, r3 - 8004200: 1e5a subs r2, r3, #1 - 8004202: f5b2 7f06 cmp.w r2, #536 ; 0x218 - 8004206: bf28 it cs - 8004208: f44f 7306 movcs.w r3, #536 ; 0x218 - 800420c: 8673 strh r3, [r6, #50] ; 0x32 - 800420e: e7db b.n 80041c8 - 8004210: f7ff ff64 bl 80040dc - 8004214: 2801 cmp r0, #1 - 8004216: d9e1 bls.n 80041dc - 8004218: 882b ldrh r3, [r5, #0] - 800421a: 3b02 subs r3, #2 - 800421c: 4418 add r0, r3 - 800421e: 8028 strh r0, [r5, #0] - 8004220: e7d2 b.n 80041c8 - 8004222: bf00 nop - 8004224: 0800b18b .word 0x0800b18b - 8004228: 0800b1e2 .word 0x0800b1e2 - 800422c: 0800a54d .word 0x0800a54d - 8004230: 200082fc .word 0x200082fc - 8004234: 200082ec .word 0x200082ec +0800400c : + 800400c: b508 push {r3, lr} + 800400e: f005 ffb3 bl 8009f78 + 8004012: 4b03 ldr r3, [pc, #12] @ (8004020 ) + 8004014: ea6f 4080 mvn.w r0, r0, lsl #18 + 8004018: ea6f 4090 mvn.w r0, r0, lsr #18 + 800401c: 8018 strh r0, [r3, #0] + 800401e: bd08 pop {r3, pc} + 8004020: 20000024 .word 0x20000024 -08004238 : - 8004238: b510 push {r4, lr} - 800423a: 4604 mov r4, r0 - 800423c: b930 cbnz r0, 800424c - 800423e: 4b0f ldr r3, [pc, #60] ; (800427c ) - 8004240: 490f ldr r1, [pc, #60] ; (8004280 ) - 8004242: 4810 ldr r0, [pc, #64] ; (8004284 ) - 8004244: f240 225a movw r2, #602 ; 0x25a - 8004248: f005 f8ae bl 80093a8 - 800424c: 4b0e ldr r3, [pc, #56] ; (8004288 ) - 800424e: 7818 ldrb r0, [r3, #0] - 8004250: f010 0010 ands.w r0, r0, #16 - 8004254: d011 beq.n 800427a - 8004256: 8b63 ldrh r3, [r4, #26] - 8004258: 06db lsls r3, r3, #27 - 800425a: d406 bmi.n 800426a - 800425c: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 8004260: b11b cbz r3, 800426a - 8004262: 6920 ldr r0, [r4, #16] - 8004264: f06f 010e mvn.w r1, #14 - 8004268: 4798 blx r3 - 800426a: 4808 ldr r0, [pc, #32] ; (800428c ) - 800426c: 4621 mov r1, r4 - 800426e: f7ff f9a7 bl 80035c0 - 8004272: 4620 mov r0, r4 - 8004274: f7ff f86a bl 800334c - 8004278: 2001 movs r0, #1 - 800427a: bd10 pop {r4, pc} - 800427c: 0800b18b .word 0x0800b18b - 8004280: 0800b1fc .word 0x0800b1fc - 8004284: 0800a54d .word 0x0800a54d - 8004288: 200082e0 .word 0x200082e0 - 800428c: 200082a4 .word 0x200082a4 +08004024 : + 8004024: b510 push {r4, lr} + 8004026: 7d03 ldrb r3, [r0, #20] + 8004028: 2b01 cmp r3, #1 + 800402a: 4604 mov r4, r0 + 800402c: d105 bne.n 800403a + 800402e: 4b06 ldr r3, [pc, #24] @ (8004048 ) + 8004030: 4906 ldr r1, [pc, #24] @ (800404c ) + 8004032: 4807 ldr r0, [pc, #28] @ (8004050 ) + 8004034: 22d4 movs r2, #212 @ 0xd4 + 8004036: f006 f89f bl 800a178 + 800403a: 4621 mov r1, r4 + 800403c: 2001 movs r0, #1 + 800403e: e8bd 4010 ldmia.w sp!, {r4, lr} + 8004042: f7ff bad9 b.w 80035f8 + 8004046: bf00 nop + 8004048: 0800b80b .word 0x0800b80b + 800404c: 0800b846 .word 0x0800b846 + 8004050: 0800b0a6 .word 0x0800b0a6 -08004290 : - 8004290: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8004294: f8df 80b4 ldr.w r8, [pc, #180] ; 800434c - 8004298: f8df 90a8 ldr.w r9, [pc, #168] ; 8004344 - 800429c: f8df a0b0 ldr.w sl, [pc, #176] ; 8004350 - 80042a0: 4606 mov r6, r0 - 80042a2: 4617 mov r7, r2 - 80042a4: 460c mov r4, r1 - 80042a6: 2c00 cmp r4, #0 - 80042a8: d03a beq.n 8004320 - 80042aa: 68e3 ldr r3, [r4, #12] - 80042ac: 6858 ldr r0, [r3, #4] - 80042ae: f7fe f849 bl 8002344 - 80042b2: 68e3 ldr r3, [r4, #12] - 80042b4: 8925 ldrh r5, [r4, #8] - 80042b6: 4683 mov fp, r0 - 80042b8: 8998 ldrh r0, [r3, #12] - 80042ba: f7fe f840 bl 800233e - 80042be: f8d8 3000 ldr.w r3, [r8] - 80042c2: f010 0003 ands.w r0, r0, #3 - 80042c6: eba5 0303 sub.w r3, r5, r3 - 80042ca: bf18 it ne - 80042cc: 2001 movne r0, #1 - 80042ce: eb03 050b add.w r5, r3, fp - 80042d2: 4405 add r5, r0 - 80042d4: 2d00 cmp r5, #0 - 80042d6: dc24 bgt.n 8004322 - 80042d8: e9d4 b000 ldrd fp, r0, [r4] - 80042dc: f7fe feb6 bl 800304c - 80042e0: f8b6 3066 ldrh.w r3, [r6, #102] ; 0x66 - 80042e4: 4283 cmp r3, r0 - 80042e6: 4605 mov r5, r0 - 80042e8: d206 bcs.n 80042f8 - 80042ea: 4814 ldr r0, [pc, #80] ; (800433c ) - 80042ec: 464b mov r3, r9 - 80042ee: f240 4257 movw r2, #1111 ; 0x457 - 80042f2: 4651 mov r1, sl - 80042f4: f005 f858 bl 80093a8 - 80042f8: 4a11 ldr r2, [pc, #68] ; (8004340 ) - 80042fa: f8b6 0066 ldrh.w r0, [r6, #102] ; 0x66 - 80042fe: 8811 ldrh r1, [r2, #0] - 8004300: 8923 ldrh r3, [r4, #8] - 8004302: 1b45 subs r5, r0, r5 - 8004304: 440b add r3, r1 - 8004306: f8a6 5066 strh.w r5, [r6, #102] ; 0x66 - 800430a: 4620 mov r0, r4 - 800430c: 8013 strh r3, [r2, #0] - 800430e: f7ff f8a9 bl 8003464 - 8004312: f8b6 3066 ldrh.w r3, [r6, #102] ; 0x66 - 8004316: b17b cbz r3, 8004338 - 8004318: f1bb 0f00 cmp.w fp, #0 - 800431c: d10c bne.n 8004338 - 800431e: b11f cbz r7, 8004328 - 8004320: 2400 movs r4, #0 - 8004322: 4620 mov r0, r4 - 8004324: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8004328: 4b06 ldr r3, [pc, #24] ; (8004344 ) - 800432a: 4907 ldr r1, [pc, #28] ; (8004348 ) - 800432c: 4803 ldr r0, [pc, #12] ; (800433c ) - 800432e: f240 4261 movw r2, #1121 ; 0x461 - 8004332: f005 f839 bl 80093a8 - 8004336: e7f3 b.n 8004320 - 8004338: 465c mov r4, fp - 800433a: e7b4 b.n 80042a6 - 800433c: 0800a54d .word 0x0800a54d - 8004340: 200082d8 .word 0x200082d8 - 8004344: 0800b18b .word 0x0800b18b - 8004348: 0800b249 .word 0x0800b249 - 800434c: 200082c0 .word 0x200082c0 - 8004350: 0800b221 .word 0x0800b221 +08004054 : + 8004054: b570 push {r4, r5, r6, lr} + 8004056: 4604 mov r4, r0 + 8004058: b930 cbnz r0, 8004068 + 800405a: 4b15 ldr r3, [pc, #84] @ (80040b0 ) + 800405c: 4915 ldr r1, [pc, #84] @ (80040b4 ) + 800405e: 4816 ldr r0, [pc, #88] @ (80040b8 ) + 8004060: f240 32a6 movw r2, #934 @ 0x3a6 + 8004064: f006 f888 bl 800a178 + 8004068: 8d23 ldrh r3, [r4, #40] @ 0x28 + 800406a: 6ae1 ldr r1, [r4, #44] @ 0x2c + 800406c: 8e66 ldrh r6, [r4, #50] @ 0x32 + 800406e: 6a62 ldr r2, [r4, #36] @ 0x24 + 8004070: 1a58 subs r0, r3, r1 + 8004072: f5b6 6f86 cmp.w r6, #1072 @ 0x430 + 8004076: 4410 add r0, r2 + 8004078: bf94 ite ls + 800407a: 1b85 subls r5, r0, r6 + 800407c: f5a0 6586 subhi.w r5, r0, #1072 @ 0x430 + 8004080: 2d00 cmp r5, #0 + 8004082: da0f bge.n 80040a4 + 8004084: 1a53 subs r3, r2, r1 + 8004086: 2b00 cmp r3, #0 + 8004088: dc0e bgt.n 80040a8 + 800408a: 1a8d subs r5, r1, r2 + 800408c: f5b5 3f80 cmp.w r5, #65536 @ 0x10000 + 8004090: d306 bcc.n 80040a0 + 8004092: 4b07 ldr r3, [pc, #28] @ (80040b0 ) + 8004094: 4909 ldr r1, [pc, #36] @ (80040bc ) + 8004096: 4808 ldr r0, [pc, #32] @ (80040b8 ) + 8004098: f240 32b6 movw r2, #950 @ 0x3b6 + 800409c: f006 f86c bl 800a178 + 80040a0: b2ab uxth r3, r5 + 80040a2: 2000 movs r0, #0 + 80040a4: 8563 strh r3, [r4, #42] @ 0x2a + 80040a6: bd70 pop {r4, r5, r6, pc} + 80040a8: 2300 movs r3, #0 + 80040aa: 4618 mov r0, r3 + 80040ac: e7fa b.n 80040a4 + 80040ae: bf00 nop + 80040b0: 0800b80b .word 0x0800b80b + 80040b4: 0800b857 .word 0x0800b857 + 80040b8: 0800b0a6 .word 0x0800b0a6 + 80040bc: 0800b87b .word 0x0800b87b -08004354 : - 8004354: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8004358: 4604 mov r4, r0 - 800435a: b930 cbnz r0, 800436a - 800435c: 4b3b ldr r3, [pc, #236] ; (800444c ) - 800435e: 493c ldr r1, [pc, #240] ; (8004450 ) - 8004360: 483c ldr r0, [pc, #240] ; (8004454 ) - 8004362: f240 427b movw r2, #1147 ; 0x47b - 8004366: f005 f81f bl 80093a8 - 800436a: 7d23 ldrb r3, [r4, #20] - 800436c: 2b03 cmp r3, #3 - 800436e: d806 bhi.n 800437e - 8004370: 4b36 ldr r3, [pc, #216] ; (800444c ) - 8004372: 4939 ldr r1, [pc, #228] ; (8004458 ) - 8004374: 4837 ldr r0, [pc, #220] ; (8004454 ) - 8004376: f240 427c movw r2, #1148 ; 0x47c - 800437a: f005 f815 bl 80093a8 - 800437e: 4b37 ldr r3, [pc, #220] ; (800445c ) - 8004380: 4e37 ldr r6, [pc, #220] ; (8004460 ) - 8004382: 781b ldrb r3, [r3, #0] - 8004384: 4f37 ldr r7, [pc, #220] ; (8004464 ) - 8004386: f013 0f10 tst.w r3, #16 - 800438a: f000 809e beq.w 80044ca - 800438e: e9d4 0c15 ldrd r0, ip, [r4, #84] ; 0x54 - 8004392: 6833 ldr r3, [r6, #0] - 8004394: f8df 90d4 ldr.w r9, [pc, #212] ; 800446c - 8004398: f8b4 1060 ldrh.w r1, [r4, #96] ; 0x60 - 800439c: f8d9 2000 ldr.w r2, [r9] - 80043a0: eba0 0e03 sub.w lr, r0, r3 - 80043a4: f1be 0f00 cmp.w lr, #0 - 80043a8: db0c blt.n 80043c4 - 80043aa: 4298 cmp r0, r3 - 80043ac: d103 bne.n 80043b6 - 80043ae: ebac 0002 sub.w r0, ip, r2 - 80043b2: 2800 cmp r0, #0 - 80043b4: db06 blt.n 80043c4 - 80043b6: 4594 cmp ip, r2 - 80043b8: d113 bne.n 80043e2 - 80043ba: 482b ldr r0, [pc, #172] ; (8004468 ) - 80043bc: 6800 ldr r0, [r0, #0] - 80043be: 89c0 ldrh r0, [r0, #14] - 80043c0: 4288 cmp r0, r1 - 80043c2: d90e bls.n 80043e2 - 80043c4: 4828 ldr r0, [pc, #160] ; (8004468 ) - 80043c6: f8b4 8062 ldrh.w r8, [r4, #98] ; 0x62 - 80043ca: 6800 ldr r0, [r0, #0] - 80043cc: 89c0 ldrh r0, [r0, #14] - 80043ce: f8a4 0060 strh.w r0, [r4, #96] ; 0x60 - 80043d2: fa1f fe80 uxth.w lr, r0 - 80043d6: e9c4 3215 strd r3, r2, [r4, #84] ; 0x54 - 80043da: 45f0 cmp r8, lr - 80043dc: bf38 it cc - 80043de: f8a4 0062 strhcc.w r0, [r4, #98] ; 0x62 - 80043e2: 6c60 ldr r0, [r4, #68] ; 0x44 - 80043e4: 1a13 subs r3, r2, r0 - 80043e6: 2b00 cmp r3, #0 - 80043e8: f300 817b bgt.w 80046e2 - 80043ec: 883b ldrh r3, [r7, #0] - 80043ee: 2b00 cmp r3, #0 - 80043f0: f040 8173 bne.w 80046da - 80043f4: f8b4 3060 ldrh.w r3, [r4, #96] ; 0x60 - 80043f8: 6da5 ldr r5, [r4, #88] ; 0x58 - 80043fa: 4461 add r1, ip - 80043fc: 442b add r3, r5 - 80043fe: 428b cmp r3, r1 - 8004400: f040 816b bne.w 80046da - 8004404: f9b4 3030 ldrsh.w r3, [r4, #48] ; 0x30 - 8004408: 2b00 cmp r3, #0 - 800440a: f2c0 8166 blt.w 80046da - 800440e: 4290 cmp r0, r2 - 8004410: f040 8163 bne.w 80046da - 8004414: f894 3043 ldrb.w r3, [r4, #67] ; 0x43 - 8004418: 2bff cmp r3, #255 ; 0xff - 800441a: bf1c itt ne - 800441c: 3301 addne r3, #1 - 800441e: f884 3043 strbne.w r3, [r4, #67] ; 0x43 - 8004422: f894 3043 ldrb.w r3, [r4, #67] ; 0x43 - 8004426: 2b03 cmp r3, #3 - 8004428: d922 bls.n 8004470 - 800442a: f8b4 2048 ldrh.w r2, [r4, #72] ; 0x48 - 800442e: 8e63 ldrh r3, [r4, #50] ; 0x32 - 8004430: 4413 add r3, r2 - 8004432: b29b uxth r3, r3 - 8004434: f64f 71ff movw r1, #65535 ; 0xffff - 8004438: 429a cmp r2, r3 - 800443a: bf88 it hi - 800443c: 460b movhi r3, r1 - 800443e: f8a4 3048 strh.w r3, [r4, #72] ; 0x48 - 8004442: 4620 mov r0, r4 - 8004444: f001 fc8e bl 8005d64 - 8004448: e013 b.n 8004472 - 800444a: bf00 nop - 800444c: 0800b18b .word 0x0800b18b - 8004450: 0800b269 .word 0x0800b269 - 8004454: 0800a54d .word 0x0800a54d - 8004458: 0800b282 .word 0x0800b282 - 800445c: 200082c4 .word 0x200082c4 - 8004460: 200082e4 .word 0x200082e4 - 8004464: 200082fe .word 0x200082fe - 8004468: 200082f0 .word 0x200082f0 - 800446c: 200082c0 .word 0x200082c0 - 8004470: d0e7 beq.n 8004442 - 8004472: 6b61 ldr r1, [r4, #52] ; 0x34 - 8004474: b349 cbz r1, 80044ca - 8004476: 6ba3 ldr r3, [r4, #56] ; 0x38 - 8004478: f8d9 2000 ldr.w r2, [r9] - 800447c: 1a9b subs r3, r3, r2 - 800447e: 2b00 cmp r3, #0 - 8004480: da23 bge.n 80044ca - 8004482: 4bb7 ldr r3, [pc, #732] ; (8004760 ) - 8004484: f8b3 c000 ldrh.w ip, [r3] - 8004488: f9b4 303c ldrsh.w r3, [r4, #60] ; 0x3c - 800448c: b289 uxth r1, r1 - 800448e: f3c3 00cf ubfx r0, r3, #3, #16 - 8004492: ebac 0201 sub.w r2, ip, r1 - 8004496: 1a12 subs r2, r2, r0 - 8004498: b215 sxth r5, r2 - 800449a: 2d00 cmp r5, #0 - 800449c: fa13 f282 uxtah r2, r3, r2 - 80044a0: bfb8 it lt - 80044a2: eba1 010c sublt.w r1, r1, ip - 80044a6: f9b4 303e ldrsh.w r3, [r4, #62] ; 0x3e - 80044aa: bfbc itt lt - 80044ac: 1809 addlt r1, r1, r0 - 80044ae: b20d sxthlt r5, r1 - 80044b0: eba3 03a3 sub.w r3, r3, r3, asr #2 - 80044b4: 442b add r3, r5 - 80044b6: b212 sxth r2, r2 - 80044b8: b29b uxth r3, r3 - 80044ba: 87e3 strh r3, [r4, #62] ; 0x3e - 80044bc: eb03 03e2 add.w r3, r3, r2, asr #3 - 80044c0: f8a4 3040 strh.w r3, [r4, #64] ; 0x40 - 80044c4: 2300 movs r3, #0 - 80044c6: 87a2 strh r2, [r4, #60] ; 0x3c - 80044c8: 6363 str r3, [r4, #52] ; 0x34 - 80044ca: 8838 ldrh r0, [r7, #0] - 80044cc: 6833 ldr r3, [r6, #0] - 80044ce: 6a62 ldr r2, [r4, #36] ; 0x24 - 80044d0: 2800 cmp r0, #0 - 80044d2: f000 835b beq.w 8004b8c - 80044d6: 7d21 ldrb r1, [r4, #20] - 80044d8: 2906 cmp r1, #6 - 80044da: f200 8357 bhi.w 8004b8c - 80044de: 1ad5 subs r5, r2, r3 - 80044e0: 2d01 cmp r5, #1 - 80044e2: f100 81a8 bmi.w 8004836 - 80044e6: f1c3 0101 rsb r1, r3, #1 - 80044ea: 1a09 subs r1, r1, r0 - 80044ec: 4411 add r1, r2 - 80044ee: 2900 cmp r1, #0 - 80044f0: f300 81a1 bgt.w 8004836 - 80044f4: f8df 9280 ldr.w r9, [pc, #640] ; 8004778 - 80044f8: f8d9 8004 ldr.w r8, [r9, #4] - 80044fc: f1b8 0f00 cmp.w r8, #0 - 8004500: d106 bne.n 8004510 - 8004502: 4b98 ldr r3, [pc, #608] ; (8004764 ) - 8004504: 4998 ldr r1, [pc, #608] ; (8004768 ) - 8004506: 4899 ldr r0, [pc, #612] ; (800476c ) - 8004508: f240 5294 movw r2, #1428 ; 0x594 - 800450c: f004 ff4c bl 80093a8 - 8004510: f64f 73fe movw r3, #65534 ; 0xfffe - 8004514: 429d cmp r5, r3 - 8004516: d906 bls.n 8004526 - 8004518: 4b92 ldr r3, [pc, #584] ; (8004764 ) - 800451a: 4995 ldr r1, [pc, #596] ; (8004770 ) - 800451c: 4893 ldr r0, [pc, #588] ; (800476c ) - 800451e: f240 5295 movw r2, #1429 ; 0x595 - 8004522: f004 ff41 bl 80093a8 - 8004526: f8d9 3004 ldr.w r3, [r9, #4] - 800452a: 891b ldrh r3, [r3, #8] - 800452c: b2ad uxth r5, r5 - 800452e: 42ab cmp r3, r5 - 8004530: d206 bcs.n 8004540 - 8004532: 4b8c ldr r3, [pc, #560] ; (8004764 ) - 8004534: 498f ldr r1, [pc, #572] ; (8004774 ) - 8004536: 488d ldr r0, [pc, #564] ; (800476c ) - 8004538: f240 5297 movw r2, #1431 ; 0x597 - 800453c: f004 ff34 bl 80093a8 - 8004540: f8b9 3008 ldrh.w r3, [r9, #8] - 8004544: 1b5b subs r3, r3, r5 - 8004546: f8a9 3008 strh.w r3, [r9, #8] - 800454a: f8d9 3004 ldr.w r3, [r9, #4] - 800454e: 891b ldrh r3, [r3, #8] - 8004550: 1b5b subs r3, r3, r5 - 8004552: b29b uxth r3, r3 - 8004554: 2100 movs r1, #0 - 8004556: f8b8 200a ldrh.w r2, [r8, #10] - 800455a: 42aa cmp r2, r5 - 800455c: f0c0 8162 bcc.w 8004824 - 8004560: 4629 mov r1, r5 - 8004562: 4640 mov r0, r8 - 8004564: f7fe fc02 bl 8002d6c - 8004568: f8d9 200c ldr.w r2, [r9, #12] - 800456c: 6a63 ldr r3, [r4, #36] ; 0x24 - 800456e: 6033 str r3, [r6, #0] - 8004570: 6053 str r3, [r2, #4] - 8004572: 6833 ldr r3, [r6, #0] - 8004574: 6a62 ldr r2, [r4, #36] ; 0x24 - 8004576: 1a99 subs r1, r3, r2 - 8004578: 2900 cmp r1, #0 - 800457a: f2c0 8230 blt.w 80049de - 800457e: 8d25 ldrh r5, [r4, #40] ; 0x28 - 8004580: 1c58 adds r0, r3, #1 - 8004582: 1a81 subs r1, r0, r2 - 8004584: 1b49 subs r1, r1, r5 - 8004586: 2900 cmp r1, #0 - 8004588: f300 8229 bgt.w 80049de - 800458c: 4293 cmp r3, r2 - 800458e: f040 8220 bne.w 80049d2 - 8004592: 4d79 ldr r5, [pc, #484] ; (8004778 ) - 8004594: 68eb ldr r3, [r5, #12] - 8004596: f8b5 8008 ldrh.w r8, [r5, #8] - 800459a: 8998 ldrh r0, [r3, #12] - 800459c: f7fd fecf bl 800233e - 80045a0: f010 0003 ands.w r0, r0, #3 - 80045a4: bf18 it ne - 80045a6: 2001 movne r0, #1 - 80045a8: 8d23 ldrh r3, [r4, #40] ; 0x28 - 80045aa: 4440 add r0, r8 - 80045ac: b280 uxth r0, r0 - 80045ae: 4283 cmp r3, r0 - 80045b0: 8038 strh r0, [r7, #0] - 80045b2: d242 bcs.n 800463a - 80045b4: 68eb ldr r3, [r5, #12] - 80045b6: 8998 ldrh r0, [r3, #12] - 80045b8: f7fd fec1 bl 800233e - 80045bc: 07c2 lsls r2, r0, #31 - 80045be: d510 bpl.n 80045e2 - 80045c0: 68eb ldr r3, [r5, #12] - 80045c2: f8b3 800c ldrh.w r8, [r3, #12] - 80045c6: 4640 mov r0, r8 - 80045c8: f7fd feb9 bl 800233e - 80045cc: f000 003e and.w r0, r0, #62 ; 0x3e - 80045d0: f7fd feb5 bl 800233e - 80045d4: f428 587c bic.w r8, r8, #16128 ; 0x3f00 - 80045d8: 68eb ldr r3, [r5, #12] - 80045da: ea48 0800 orr.w r8, r8, r0 - 80045de: f8a3 800c strh.w r8, [r3, #12] - 80045e2: 8d23 ldrh r3, [r4, #40] ; 0x28 - 80045e4: 812b strh r3, [r5, #8] - 80045e6: 68eb ldr r3, [r5, #12] - 80045e8: 8998 ldrh r0, [r3, #12] - 80045ea: f7fd fea8 bl 800233e - 80045ee: 0783 lsls r3, r0, #30 - 80045f0: bf48 it mi - 80045f2: 892b ldrhmi r3, [r5, #8] - 80045f4: 6868 ldr r0, [r5, #4] - 80045f6: bf44 itt mi - 80045f8: f103 33ff addmi.w r3, r3, #4294967295 - 80045fc: 812b strhmi r3, [r5, #8] - 80045fe: 8929 ldrh r1, [r5, #8] - 8004600: f7fe fccc bl 8002f9c - 8004604: 68eb ldr r3, [r5, #12] - 8004606: f8b5 8008 ldrh.w r8, [r5, #8] - 800460a: 8998 ldrh r0, [r3, #12] - 800460c: f7fd fe97 bl 800233e - 8004610: f010 0003 ands.w r0, r0, #3 - 8004614: bf18 it ne - 8004616: 2001 movne r0, #1 - 8004618: 6833 ldr r3, [r6, #0] - 800461a: 6a62 ldr r2, [r4, #36] ; 0x24 - 800461c: 4440 add r0, r8 - 800461e: b280 uxth r0, r0 - 8004620: 8038 strh r0, [r7, #0] - 8004622: 4418 add r0, r3 - 8004624: 8d23 ldrh r3, [r4, #40] ; 0x28 - 8004626: 4413 add r3, r2 - 8004628: 4298 cmp r0, r3 - 800462a: d006 beq.n 800463a - 800462c: 4b4d ldr r3, [pc, #308] ; (8004764 ) - 800462e: 4953 ldr r1, [pc, #332] ; (800477c ) - 8004630: 484e ldr r0, [pc, #312] ; (800476c ) - 8004632: f240 52cb movw r2, #1483 ; 0x5cb - 8004636: f004 feb7 bl 80093a8 - 800463a: 6f63 ldr r3, [r4, #116] ; 0x74 - 800463c: 2b00 cmp r3, #0 - 800463e: f000 8109 beq.w 8004854 - 8004642: 68eb ldr r3, [r5, #12] - 8004644: 8998 ldrh r0, [r3, #12] - 8004646: f7fd fe7a bl 800233e - 800464a: 07c0 lsls r0, r0, #31 - 800464c: f100 80ff bmi.w 800484e - 8004650: f8d4 8074 ldr.w r8, [r4, #116] ; 0x74 - 8004654: 6830 ldr r0, [r6, #0] - 8004656: 883b ldrh r3, [r7, #0] - 8004658: 4403 add r3, r0 - 800465a: f1b8 0f00 cmp.w r8, #0 - 800465e: d039 beq.n 80046d4 - 8004660: f8d8 c00c ldr.w ip, [r8, #12] - 8004664: f8b8 1008 ldrh.w r1, [r8, #8] - 8004668: f8dc 2004 ldr.w r2, [ip, #4] - 800466c: 4411 add r1, r2 - 800466e: 1a59 subs r1, r3, r1 - 8004670: 2900 cmp r1, #0 - 8004672: f280 811c bge.w 80048ae - 8004676: 1a9b subs r3, r3, r2 - 8004678: 2b00 cmp r3, #0 - 800467a: dd2b ble.n 80046d4 - 800467c: 68eb ldr r3, [r5, #12] - 800467e: 1a12 subs r2, r2, r0 - 8004680: 812a strh r2, [r5, #8] - 8004682: 8998 ldrh r0, [r3, #12] - 8004684: f7fd fe5b bl 800233e - 8004688: 0783 lsls r3, r0, #30 - 800468a: bf48 it mi - 800468c: 892b ldrhmi r3, [r5, #8] - 800468e: 6868 ldr r0, [r5, #4] - 8004690: bf44 itt mi - 8004692: f103 33ff addmi.w r3, r3, #4294967295 - 8004696: 812b strhmi r3, [r5, #8] - 8004698: 8929 ldrh r1, [r5, #8] - 800469a: f7fe fc7f bl 8002f9c - 800469e: 68eb ldr r3, [r5, #12] - 80046a0: f8b5 9008 ldrh.w r9, [r5, #8] - 80046a4: 8998 ldrh r0, [r3, #12] - 80046a6: f7fd fe4a bl 800233e - 80046aa: f010 0003 ands.w r0, r0, #3 - 80046ae: bf18 it ne - 80046b0: 2001 movne r0, #1 - 80046b2: 6833 ldr r3, [r6, #0] - 80046b4: 4448 add r0, r9 - 80046b6: b280 uxth r0, r0 - 80046b8: 8038 strh r0, [r7, #0] - 80046ba: 4418 add r0, r3 - 80046bc: f8d8 300c ldr.w r3, [r8, #12] - 80046c0: 685b ldr r3, [r3, #4] - 80046c2: 4298 cmp r0, r3 - 80046c4: d006 beq.n 80046d4 - 80046c6: 4b27 ldr r3, [pc, #156] ; (8004764 ) - 80046c8: 492d ldr r1, [pc, #180] ; (8004780 ) - 80046ca: 4828 ldr r0, [pc, #160] ; (800476c ) - 80046cc: f240 52fc movw r2, #1532 ; 0x5fc - 80046d0: f004 fe6a bl 80093a8 - 80046d4: f8c4 8074 str.w r8, [r4, #116] ; 0x74 - 80046d8: e0bc b.n 8004854 - 80046da: 2300 movs r3, #0 - 80046dc: f884 3043 strb.w r3, [r4, #67] ; 0x43 - 80046e0: e6c7 b.n 8004472 - 80046e2: 6d21 ldr r1, [r4, #80] ; 0x50 - 80046e4: 1a51 subs r1, r2, r1 - 80046e6: 2900 cmp r1, #0 - 80046e8: f300 8098 bgt.w 800481c - 80046ec: 8b61 ldrh r1, [r4, #26] - 80046ee: 0748 lsls r0, r1, #29 - 80046f0: d509 bpl.n 8004706 - 80046f2: f021 0104 bic.w r1, r1, #4 - 80046f6: 8361 strh r1, [r4, #26] - 80046f8: f8b4 104a ldrh.w r1, [r4, #74] ; 0x4a - 80046fc: f8a4 1048 strh.w r1, [r4, #72] ; 0x48 - 8004700: 2100 movs r1, #0 - 8004702: f8a4 106a strh.w r1, [r4, #106] ; 0x6a - 8004706: f9b4 003c ldrsh.w r0, [r4, #60] ; 0x3c - 800470a: 8fe1 ldrh r1, [r4, #62] ; 0x3e - 800470c: 6462 str r2, [r4, #68] ; 0x44 - 800470e: 7d22 ldrb r2, [r4, #20] - 8004710: eb01 01e0 add.w r1, r1, r0, asr #3 - 8004714: f8a4 1040 strh.w r1, [r4, #64] ; 0x40 - 8004718: 2a03 cmp r2, #3 - 800471a: f04f 0100 mov.w r1, #0 - 800471e: f8a4 1042 strh.w r1, [r4, #66] ; 0x42 - 8004722: d939 bls.n 8004798 - 8004724: f8b4 2048 ldrh.w r2, [r4, #72] ; 0x48 - 8004728: f8b4 104a ldrh.w r1, [r4, #74] ; 0x4a - 800472c: 4291 cmp r1, r2 - 800472e: b29b uxth r3, r3 - 8004730: d928 bls.n 8004784 - 8004732: 8b61 ldrh r1, [r4, #26] - 8004734: f411 6f00 tst.w r1, #2048 ; 0x800 - 8004738: 8e61 ldrh r1, [r4, #50] ; 0x32 - 800473a: bf14 ite ne - 800473c: 2001 movne r0, #1 - 800473e: 2002 moveq r0, #2 - 8004740: fb11 f100 smulbb r1, r1, r0 - 8004744: b289 uxth r1, r1 - 8004746: 4299 cmp r1, r3 - 8004748: bf94 ite ls - 800474a: 1850 addls r0, r2, r1 - 800474c: 18d0 addhi r0, r2, r3 - 800474e: b283 uxth r3, r0 - 8004750: 429a cmp r2, r3 - 8004752: d901 bls.n 8004758 - 8004754: f64f 73ff movw r3, #65535 ; 0xffff - 8004758: f8a4 3048 strh.w r3, [r4, #72] ; 0x48 - 800475c: e01c b.n 8004798 - 800475e: bf00 nop - 8004760: 200082b4 .word 0x200082b4 - 8004764: 0800b18b .word 0x0800b18b - 8004768: 0800b29b .word 0x0800b29b - 800476c: 0800a54d .word 0x0800a54d - 8004770: 0800b2ab .word 0x0800b2ab - 8004774: 0800b2ba .word 0x0800b2ba - 8004778: 200082c8 .word 0x200082c8 - 800477c: 0800b2ca .word 0x0800b2ca - 8004780: 0800b301 .word 0x0800b301 - 8004784: f8b4 106a ldrh.w r1, [r4, #106] ; 0x6a - 8004788: 440b add r3, r1 - 800478a: b29b uxth r3, r3 - 800478c: 4299 cmp r1, r3 - 800478e: d82c bhi.n 80047ea - 8004790: 429a cmp r2, r3 - 8004792: d92c bls.n 80047ee - 8004794: f8a4 306a strh.w r3, [r4, #106] ; 0x6a - 8004798: e9d4 211b ldrd r2, r1, [r4, #108] ; 0x6c - 800479c: 4620 mov r0, r4 - 800479e: f7ff fd77 bl 8004290 - 80047a2: 6ee1 ldr r1, [r4, #108] ; 0x6c - 80047a4: 6720 str r0, [r4, #112] ; 0x70 - 80047a6: 4602 mov r2, r0 - 80047a8: 4620 mov r0, r4 - 80047aa: f7ff fd71 bl 8004290 - 80047ae: 6f22 ldr r2, [r4, #112] ; 0x70 - 80047b0: 66e0 str r0, [r4, #108] ; 0x6c - 80047b2: fab2 f382 clz r3, r2 - 80047b6: 095b lsrs r3, r3, #5 - 80047b8: 425b negs r3, r3 - 80047ba: 8623 strh r3, [r4, #48] ; 0x30 - 80047bc: 2300 movs r3, #0 - 80047be: 7723 strb r3, [r4, #28] - 80047c0: b908 cbnz r0, 80047c6 - 80047c2: f8a4 0068 strh.w r0, [r4, #104] ; 0x68 - 80047c6: 499f ldr r1, [pc, #636] ; (8004a44 ) - 80047c8: f8b4 3064 ldrh.w r3, [r4, #100] ; 0x64 - 80047cc: 8809 ldrh r1, [r1, #0] - 80047ce: 440b add r3, r1 - 80047d0: f8a4 3064 strh.w r3, [r4, #100] ; 0x64 - 80047d4: 8b63 ldrh r3, [r4, #26] - 80047d6: 0519 lsls r1, r3, #20 - 80047d8: f57f ae4b bpl.w 8004472 - 80047dc: b9d2 cbnz r2, 8004814 - 80047de: b968 cbnz r0, 80047fc - 80047e0: 8b63 ldrh r3, [r4, #26] - 80047e2: f423 6300 bic.w r3, r3, #2048 ; 0x800 - 80047e6: 8363 strh r3, [r4, #26] - 80047e8: e643 b.n 8004472 - 80047ea: f64f 73ff movw r3, #65535 ; 0xffff - 80047ee: 1a9b subs r3, r3, r2 - 80047f0: f8a4 306a strh.w r3, [r4, #106] ; 0x6a - 80047f4: 8e63 ldrh r3, [r4, #50] ; 0x32 - 80047f6: 4413 add r3, r2 - 80047f8: b29b uxth r3, r3 - 80047fa: e7a9 b.n 8004750 - 80047fc: f8d4 804c ldr.w r8, [r4, #76] ; 0x4c - 8004800: 68c3 ldr r3, [r0, #12] - 8004802: 6858 ldr r0, [r3, #4] - 8004804: f7fd fd9e bl 8002344 - 8004808: eba8 0000 sub.w r0, r8, r0 - 800480c: 2800 cmp r0, #0 - 800480e: f73f ae30 bgt.w 8004472 - 8004812: e7e5 b.n 80047e0 - 8004814: f8d4 804c ldr.w r8, [r4, #76] ; 0x4c - 8004818: 68d3 ldr r3, [r2, #12] - 800481a: e7f2 b.n 8004802 - 800481c: 4620 mov r0, r4 - 800481e: f001 fb1b bl 8005e58 - 8004822: e626 b.n 8004472 - 8004824: 1aad subs r5, r5, r2 - 8004826: f8a8 3008 strh.w r3, [r8, #8] - 800482a: f8a8 100a strh.w r1, [r8, #10] - 800482e: b2ad uxth r5, r5 - 8004830: f8d8 8000 ldr.w r8, [r8] - 8004834: e68f b.n 8004556 - 8004836: 1a9b subs r3, r3, r2 - 8004838: 2b00 cmp r3, #0 - 800483a: bfbe ittt lt - 800483c: 8b63 ldrhlt r3, [r4, #26] - 800483e: f043 0302 orrlt.w r3, r3, #2 - 8004842: 8363 strhlt r3, [r4, #26] - 8004844: e695 b.n 8004572 - 8004846: 6803 ldr r3, [r0, #0] - 8004848: 6763 str r3, [r4, #116] ; 0x74 - 800484a: f7fe fe0b bl 8003464 - 800484e: 6f60 ldr r0, [r4, #116] ; 0x74 - 8004850: 2800 cmp r0, #0 - 8004852: d1f8 bne.n 8004846 - 8004854: 883a ldrh r2, [r7, #0] - 8004856: 6833 ldr r3, [r6, #0] - 8004858: 4413 add r3, r2 - 800485a: 6263 str r3, [r4, #36] ; 0x24 - 800485c: 8d23 ldrh r3, [r4, #40] ; 0x28 - 800485e: 4293 cmp r3, r2 - 8004860: d206 bcs.n 8004870 - 8004862: 4b79 ldr r3, [pc, #484] ; (8004a48 ) - 8004864: 4979 ldr r1, [pc, #484] ; (8004a4c ) - 8004866: 487a ldr r0, [pc, #488] ; (8004a50 ) - 8004868: f240 6207 movw r2, #1543 ; 0x607 - 800486c: f004 fd9c bl 80093a8 - 8004870: 8d23 ldrh r3, [r4, #40] ; 0x28 - 8004872: 883a ldrh r2, [r7, #0] - 8004874: 1a9b subs r3, r3, r2 - 8004876: 8523 strh r3, [r4, #40] ; 0x28 - 8004878: 4620 mov r0, r4 - 800487a: f7fe fd7f bl 800337c - 800487e: 686b ldr r3, [r5, #4] - 8004880: 891a ldrh r2, [r3, #8] - 8004882: b11a cbz r2, 800488c - 8004884: 4a73 ldr r2, [pc, #460] ; (8004a54 ) - 8004886: 6013 str r3, [r2, #0] - 8004888: 2300 movs r3, #0 - 800488a: 606b str r3, [r5, #4] - 800488c: 68eb ldr r3, [r5, #12] - 800488e: 8998 ldrh r0, [r3, #12] - 8004890: f7fd fd55 bl 800233e - 8004894: 07c5 lsls r5, r0, #31 - 8004896: d504 bpl.n 80048a2 - 8004898: 4a6f ldr r2, [pc, #444] ; (8004a58 ) - 800489a: 7813 ldrb r3, [r2, #0] - 800489c: f043 0320 orr.w r3, r3, #32 - 80048a0: 7013 strb r3, [r2, #0] - 80048a2: 4f69 ldr r7, [pc, #420] ; (8004a48 ) - 80048a4: f8df 81b8 ldr.w r8, [pc, #440] ; 8004a60 - 80048a8: f8df 91a4 ldr.w r9, [pc, #420] ; 8004a50 - 80048ac: e07b b.n 80049a6 - 80048ae: f8bc 000c ldrh.w r0, [ip, #12] - 80048b2: f7fd fd44 bl 800233e - 80048b6: 07c1 lsls r1, r0, #31 - 80048b8: d51a bpl.n 80048f0 - 80048ba: 68eb ldr r3, [r5, #12] - 80048bc: 8998 ldrh r0, [r3, #12] - 80048be: f7fd fd3e bl 800233e - 80048c2: 0782 lsls r2, r0, #30 - 80048c4: d414 bmi.n 80048f0 - 80048c6: 68eb ldr r3, [r5, #12] - 80048c8: 2001 movs r0, #1 - 80048ca: f8b3 900c ldrh.w r9, [r3, #12] - 80048ce: f7fd fd36 bl 800233e - 80048d2: 68eb ldr r3, [r5, #12] - 80048d4: ea49 0000 orr.w r0, r9, r0 - 80048d8: 8198 strh r0, [r3, #12] - 80048da: b280 uxth r0, r0 - 80048dc: f8b5 9008 ldrh.w r9, [r5, #8] - 80048e0: f7fd fd2d bl 800233e - 80048e4: f010 0003 ands.w r0, r0, #3 - 80048e8: bf18 it ne - 80048ea: 2001 movne r0, #1 - 80048ec: 4448 add r0, r9 - 80048ee: 8038 strh r0, [r7, #0] - 80048f0: f8d8 9000 ldr.w r9, [r8] - 80048f4: 4640 mov r0, r8 - 80048f6: f7fe fdb5 bl 8003464 - 80048fa: 46c8 mov r8, r9 - 80048fc: e6aa b.n 8004654 - 80048fe: 6033 str r3, [r6, #0] - 8004900: 8990 ldrh r0, [r2, #12] - 8004902: f8b5 a008 ldrh.w sl, [r5, #8] - 8004906: f7fd fd1a bl 800233e - 800490a: 6a63 ldr r3, [r4, #36] ; 0x24 - 800490c: f8b5 b008 ldrh.w fp, [r5, #8] - 8004910: f010 0003 ands.w r0, r0, #3 - 8004914: bf18 it ne - 8004916: 2001 movne r0, #1 - 8004918: 449a add sl, r3 - 800491a: 4450 add r0, sl - 800491c: 68eb ldr r3, [r5, #12] - 800491e: 6260 str r0, [r4, #36] ; 0x24 - 8004920: 8998 ldrh r0, [r3, #12] - 8004922: f8b4 a028 ldrh.w sl, [r4, #40] ; 0x28 - 8004926: f7fd fd0a bl 800233e - 800492a: f010 0003 ands.w r0, r0, #3 - 800492e: bf18 it ne - 8004930: 2001 movne r0, #1 - 8004932: 4458 add r0, fp - 8004934: 4582 cmp sl, r0 - 8004936: d206 bcs.n 8004946 - 8004938: 463b mov r3, r7 - 800493a: f240 622b movw r2, #1579 ; 0x62b - 800493e: 4641 mov r1, r8 - 8004940: 4648 mov r0, r9 - 8004942: f004 fd31 bl 80093a8 - 8004946: 68eb ldr r3, [r5, #12] - 8004948: f8b5 a008 ldrh.w sl, [r5, #8] - 800494c: 8998 ldrh r0, [r3, #12] - 800494e: f7fd fcf6 bl 800233e - 8004952: f010 0003 ands.w r0, r0, #3 - 8004956: 8d23 ldrh r3, [r4, #40] ; 0x28 - 8004958: bf18 it ne - 800495a: 2001 movne r0, #1 - 800495c: 4450 add r0, sl - 800495e: 1a18 subs r0, r3, r0 - 8004960: 8520 strh r0, [r4, #40] ; 0x28 - 8004962: 4620 mov r0, r4 - 8004964: f7fe fd0a bl 800337c - 8004968: 6869 ldr r1, [r5, #4] - 800496a: 890b ldrh r3, [r1, #8] - 800496c: b133 cbz r3, 800497c - 800496e: 4b39 ldr r3, [pc, #228] ; (8004a54 ) - 8004970: 6818 ldr r0, [r3, #0] - 8004972: b338 cbz r0, 80049c4 - 8004974: f7fe fb86 bl 8003084 - 8004978: 2300 movs r3, #0 - 800497a: 606b str r3, [r5, #4] - 800497c: 68eb ldr r3, [r5, #12] - 800497e: 8998 ldrh r0, [r3, #12] - 8004980: f7fd fcdd bl 800233e - 8004984: 07c0 lsls r0, r0, #31 - 8004986: d509 bpl.n 800499c - 8004988: 4a33 ldr r2, [pc, #204] ; (8004a58 ) - 800498a: 7813 ldrb r3, [r2, #0] - 800498c: f043 0320 orr.w r3, r3, #32 - 8004990: 7013 strb r3, [r2, #0] - 8004992: 7d23 ldrb r3, [r4, #20] - 8004994: 2b04 cmp r3, #4 - 8004996: bf04 itt eq - 8004998: 2307 moveq r3, #7 - 800499a: 7523 strbeq r3, [r4, #20] - 800499c: 682b ldr r3, [r5, #0] - 800499e: 6763 str r3, [r4, #116] ; 0x74 - 80049a0: 4628 mov r0, r5 - 80049a2: f7fe fd5f bl 8003464 - 80049a6: 6f65 ldr r5, [r4, #116] ; 0x74 - 80049a8: b125 cbz r5, 80049b4 - 80049aa: 68ea ldr r2, [r5, #12] - 80049ac: 6a61 ldr r1, [r4, #36] ; 0x24 - 80049ae: 6853 ldr r3, [r2, #4] - 80049b0: 428b cmp r3, r1 - 80049b2: d0a4 beq.n 80048fe - 80049b4: 8b63 ldrh r3, [r4, #26] - 80049b6: 07d9 lsls r1, r3, #31 - 80049b8: d506 bpl.n 80049c8 - 80049ba: f023 0301 bic.w r3, r3, #1 - 80049be: f043 0302 orr.w r3, r3, #2 - 80049c2: e003 b.n 80049cc - 80049c4: 6019 str r1, [r3, #0] - 80049c6: e7d7 b.n 8004978 - 80049c8: f043 0301 orr.w r3, r3, #1 - 80049cc: 8363 strh r3, [r4, #26] - 80049ce: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80049d2: 6f65 ldr r5, [r4, #116] ; 0x74 - 80049d4: b945 cbnz r5, 80049e8 - 80049d6: 4821 ldr r0, [pc, #132] ; (8004a5c ) - 80049d8: f7fe fd5a bl 8003490 - 80049dc: 6760 str r0, [r4, #116] ; 0x74 - 80049de: 4620 mov r0, r4 - 80049e0: e8bd 4ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80049e4: f001 ba38 b.w 8005e58 - 80049e8: f04f 0800 mov.w r8, #0 - 80049ec: f103 3eff add.w lr, r3, #4294967295 - 80049f0: f8d5 c00c ldr.w ip, [r5, #12] - 80049f4: f8dc 2004 ldr.w r2, [ip, #4] - 80049f8: 4293 cmp r3, r2 - 80049fa: d115 bne.n 8004a28 - 80049fc: 4817 ldr r0, [pc, #92] ; (8004a5c ) - 80049fe: 892b ldrh r3, [r5, #8] - 8004a00: 8902 ldrh r2, [r0, #8] - 8004a02: 429a cmp r2, r3 - 8004a04: d9eb bls.n 80049de - 8004a06: f7fe fd43 bl 8003490 - 8004a0a: 2800 cmp r0, #0 - 8004a0c: d0e7 beq.n 80049de - 8004a0e: f1b8 0f00 cmp.w r8, #0 - 8004a12: d007 beq.n 8004a24 - 8004a14: f8c8 0000 str.w r0, [r8] - 8004a18: 4629 mov r1, r5 - 8004a1a: f7ff fb7b bl 8004114 - 8004a1e: e7de b.n 80049de - 8004a20: 460d mov r5, r1 - 8004a22: e7e5 b.n 80049f0 - 8004a24: 6760 str r0, [r4, #116] ; 0x74 - 8004a26: e7f7 b.n 8004a18 - 8004a28: f1b8 0f00 cmp.w r8, #0 - 8004a2c: d11a bne.n 8004a64 - 8004a2e: 1a99 subs r1, r3, r2 - 8004a30: 2900 cmp r1, #0 - 8004a32: da3e bge.n 8004ab2 - 8004a34: 4809 ldr r0, [pc, #36] ; (8004a5c ) - 8004a36: f7fe fd2b bl 8003490 - 8004a3a: 2800 cmp r0, #0 - 8004a3c: d0cf beq.n 80049de - 8004a3e: 6760 str r0, [r4, #116] ; 0x74 - 8004a40: e7ea b.n 8004a18 - 8004a42: bf00 nop - 8004a44: 200082d8 .word 0x200082d8 - 8004a48: 0800b18b .word 0x0800b18b - 8004a4c: 0800b33c .word 0x0800b33c - 8004a50: 0800a54d .word 0x0800a54d - 8004a54: 200082dc .word 0x200082dc - 8004a58: 200082e0 .word 0x200082e0 - 8004a5c: 200082c8 .word 0x200082c8 - 8004a60: 0800b35b .word 0x0800b35b - 8004a64: f8d8 100c ldr.w r1, [r8, #12] - 8004a68: 6849 ldr r1, [r1, #4] - 8004a6a: ebae 0101 sub.w r1, lr, r1 - 8004a6e: 2900 cmp r1, #0 - 8004a70: db1f blt.n 8004ab2 - 8004a72: 1a81 subs r1, r0, r2 - 8004a74: 2900 cmp r1, #0 - 8004a76: dc1c bgt.n 8004ab2 - 8004a78: 484a ldr r0, [pc, #296] ; (8004ba4 ) - 8004a7a: f7fe fd09 bl 8003490 - 8004a7e: 4607 mov r7, r0 - 8004a80: 2800 cmp r0, #0 - 8004a82: d0ac beq.n 80049de - 8004a84: f8d8 300c ldr.w r3, [r8, #12] - 8004a88: 6831 ldr r1, [r6, #0] - 8004a8a: 685a ldr r2, [r3, #4] - 8004a8c: f8b8 3008 ldrh.w r3, [r8, #8] - 8004a90: 4413 add r3, r2 - 8004a92: 1a5b subs r3, r3, r1 - 8004a94: 2b00 cmp r3, #0 - 8004a96: dd07 ble.n 8004aa8 - 8004a98: 1a89 subs r1, r1, r2 - 8004a9a: b289 uxth r1, r1 - 8004a9c: f8d8 0004 ldr.w r0, [r8, #4] - 8004aa0: f8a8 1008 strh.w r1, [r8, #8] - 8004aa4: f7fe fa7a bl 8002f9c - 8004aa8: f8c8 7000 str.w r7, [r8] - 8004aac: 4629 mov r1, r5 - 8004aae: 4638 mov r0, r7 - 8004ab0: e7b3 b.n 8004a1a - 8004ab2: 6829 ldr r1, [r5, #0] - 8004ab4: 46a8 mov r8, r5 - 8004ab6: 2900 cmp r1, #0 - 8004ab8: d1b2 bne.n 8004a20 - 8004aba: 1a9b subs r3, r3, r2 - 8004abc: 2b00 cmp r3, #0 - 8004abe: dd8e ble.n 80049de - 8004ac0: f8bc 000c ldrh.w r0, [ip, #12] - 8004ac4: f7fd fc3b bl 800233e - 8004ac8: 07c2 lsls r2, r0, #31 - 8004aca: d488 bmi.n 80049de - 8004acc: 4835 ldr r0, [pc, #212] ; (8004ba4 ) - 8004ace: f7fe fcdf bl 8003490 - 8004ad2: 6028 str r0, [r5, #0] - 8004ad4: 2800 cmp r0, #0 - 8004ad6: d082 beq.n 80049de - 8004ad8: 68eb ldr r3, [r5, #12] - 8004ada: 6831 ldr r1, [r6, #0] - 8004adc: 685a ldr r2, [r3, #4] - 8004ade: 892b ldrh r3, [r5, #8] - 8004ae0: 4413 add r3, r2 - 8004ae2: 1a5b subs r3, r3, r1 - 8004ae4: 2b00 cmp r3, #0 - 8004ae6: dd05 ble.n 8004af4 - 8004ae8: 1a89 subs r1, r1, r2 - 8004aea: b289 uxth r1, r1 - 8004aec: 6868 ldr r0, [r5, #4] - 8004aee: 8129 strh r1, [r5, #8] - 8004af0: f7fe fa54 bl 8002f9c - 8004af4: 6832 ldr r2, [r6, #0] - 8004af6: 883b ldrh r3, [r7, #0] - 8004af8: 4413 add r3, r2 - 8004afa: 6a62 ldr r2, [r4, #36] ; 0x24 - 8004afc: 1a9b subs r3, r3, r2 - 8004afe: 8d22 ldrh r2, [r4, #40] ; 0x28 - 8004b00: 1a9b subs r3, r3, r2 - 8004b02: 2b00 cmp r3, #0 - 8004b04: f77f af6b ble.w 80049de - 8004b08: 682b ldr r3, [r5, #0] - 8004b0a: 68db ldr r3, [r3, #12] - 8004b0c: 8998 ldrh r0, [r3, #12] - 8004b0e: f7fd fc16 bl 800233e - 8004b12: 07c3 lsls r3, r0, #31 - 8004b14: d512 bpl.n 8004b3c - 8004b16: 682b ldr r3, [r5, #0] - 8004b18: 68db ldr r3, [r3, #12] - 8004b1a: f8b3 800c ldrh.w r8, [r3, #12] - 8004b1e: 4640 mov r0, r8 - 8004b20: f7fd fc0d bl 800233e - 8004b24: f000 003e and.w r0, r0, #62 ; 0x3e - 8004b28: f7fd fc09 bl 800233e - 8004b2c: 682b ldr r3, [r5, #0] - 8004b2e: f428 587c bic.w r8, r8, #16128 ; 0x3f00 - 8004b32: 68db ldr r3, [r3, #12] - 8004b34: ea48 0800 orr.w r8, r8, r0 - 8004b38: f8a3 800c strh.w r8, [r3, #12] - 8004b3c: 6832 ldr r2, [r6, #0] - 8004b3e: 8d21 ldrh r1, [r4, #40] ; 0x28 - 8004b40: 682b ldr r3, [r5, #0] - 8004b42: 1a89 subs r1, r1, r2 - 8004b44: 6a62 ldr r2, [r4, #36] ; 0x24 - 8004b46: 6858 ldr r0, [r3, #4] - 8004b48: 4411 add r1, r2 - 8004b4a: b289 uxth r1, r1 - 8004b4c: 8119 strh r1, [r3, #8] - 8004b4e: f7fe fa25 bl 8002f9c - 8004b52: 682b ldr r3, [r5, #0] - 8004b54: 891d ldrh r5, [r3, #8] - 8004b56: 68db ldr r3, [r3, #12] - 8004b58: 8998 ldrh r0, [r3, #12] - 8004b5a: f7fd fbf0 bl 800233e - 8004b5e: f010 0003 ands.w r0, r0, #3 - 8004b62: bf18 it ne - 8004b64: 2001 movne r0, #1 - 8004b66: 6833 ldr r3, [r6, #0] - 8004b68: 6a62 ldr r2, [r4, #36] ; 0x24 - 8004b6a: 4428 add r0, r5 - 8004b6c: b280 uxth r0, r0 - 8004b6e: 8038 strh r0, [r7, #0] - 8004b70: 4418 add r0, r3 - 8004b72: 8d23 ldrh r3, [r4, #40] ; 0x28 - 8004b74: 4413 add r3, r2 - 8004b76: 4298 cmp r0, r3 - 8004b78: f43f af31 beq.w 80049de - 8004b7c: 4b0a ldr r3, [pc, #40] ; (8004ba8 ) - 8004b7e: 490b ldr r1, [pc, #44] ; (8004bac ) - 8004b80: 480b ldr r0, [pc, #44] ; (8004bb0 ) - 8004b82: f44f 62df mov.w r2, #1784 ; 0x6f8 - 8004b86: f004 fc0f bl 80093a8 - 8004b8a: e728 b.n 80049de - 8004b8c: 1a99 subs r1, r3, r2 - 8004b8e: 2900 cmp r1, #0 - 8004b90: db06 blt.n 8004ba0 - 8004b92: 3301 adds r3, #1 - 8004b94: 1a9b subs r3, r3, r2 - 8004b96: 8d22 ldrh r2, [r4, #40] ; 0x28 - 8004b98: 1a9b subs r3, r3, r2 - 8004b9a: 2b00 cmp r3, #0 - 8004b9c: f77f af17 ble.w 80049ce - 8004ba0: 8b63 ldrh r3, [r4, #26] - 8004ba2: e70c b.n 80049be - 8004ba4: 200082c8 .word 0x200082c8 - 8004ba8: 0800b18b .word 0x0800b18b - 8004bac: 0800b2ca .word 0x0800b2ca - 8004bb0: 0800a54d .word 0x0800a54d +080040c0 : + 80040c0: b570 push {r4, r5, r6, lr} + 80040c2: 460c mov r4, r1 + 80040c4: 4605 mov r5, r0 + 80040c6: b940 cbnz r0, 80040da + 80040c8: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 80040cc: 4b17 ldr r3, [pc, #92] @ (800412c ) + 80040ce: 4918 ldr r1, [pc, #96] @ (8004130 ) + 80040d0: 4818 ldr r0, [pc, #96] @ (8004134 ) + 80040d2: f240 32cf movw r2, #975 @ 0x3cf + 80040d6: f006 b84f b.w 800a178 + 80040da: 7d03 ldrb r3, [r0, #20] + 80040dc: 2b01 cmp r3, #1 + 80040de: d106 bne.n 80040ee + 80040e0: 4b12 ldr r3, [pc, #72] @ (800412c ) + 80040e2: 4915 ldr r1, [pc, #84] @ (8004138 ) + 80040e4: 4813 ldr r0, [pc, #76] @ (8004134 ) + 80040e6: f240 32d2 movw r2, #978 @ 0x3d2 + 80040ea: f006 f845 bl 800a178 + 80040ee: 8d2b ldrh r3, [r5, #40] @ 0x28 + 80040f0: 1919 adds r1, r3, r4 + 80040f2: b289 uxth r1, r1 + 80040f4: f5b1 6f06 cmp.w r1, #2144 @ 0x860 + 80040f8: d813 bhi.n 8004122 + 80040fa: 428b cmp r3, r1 + 80040fc: bf88 it hi + 80040fe: f44f 6106 movhi.w r1, #2144 @ 0x860 + 8004102: 8529 strh r1, [r5, #40] @ 0x28 + 8004104: 4628 mov r0, r5 + 8004106: f7ff ffa5 bl 8004054 + 800410a: f5b0 7f06 cmp.w r0, #536 @ 0x218 + 800410e: d30b bcc.n 8004128 + 8004110: 8b6b ldrh r3, [r5, #26] + 8004112: f043 0302 orr.w r3, r3, #2 + 8004116: 836b strh r3, [r5, #26] + 8004118: 4628 mov r0, r5 + 800411a: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800411e: f002 bd17 b.w 8006b50 + 8004122: f44f 6106 mov.w r1, #2144 @ 0x860 + 8004126: e7ec b.n 8004102 + 8004128: bd70 pop {r4, r5, r6, pc} + 800412a: bf00 nop + 800412c: 0800b80b .word 0x0800b80b + 8004130: 0800b895 .word 0x0800b895 + 8004134: 0800b0a6 .word 0x0800b0a6 + 8004138: 0800b8ad .word 0x0800b8ad -08004bb4 : - 8004bb4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8004bb8: 4605 mov r5, r0 - 8004bba: b087 sub sp, #28 - 8004bbc: b928 cbnz r0, 8004bca - 8004bbe: 4b63 ldr r3, [pc, #396] ; (8004d4c ) - 8004bc0: 4963 ldr r1, [pc, #396] ; (8004d50 ) - 8004bc2: 4864 ldr r0, [pc, #400] ; (8004d54 ) - 8004bc4: 2283 movs r2, #131 ; 0x83 - 8004bc6: f004 fbef bl 80093a8 - 8004bca: 4e63 ldr r6, [pc, #396] ; (8004d58 ) - 8004bcc: 686b ldr r3, [r5, #4] - 8004bce: 6033 str r3, [r6, #0] - 8004bd0: 896b ldrh r3, [r5, #10] - 8004bd2: 2b13 cmp r3, #19 - 8004bd4: f240 80b3 bls.w 8004d3e - 8004bd8: 4f60 ldr r7, [pc, #384] ; (8004d5c ) - 8004bda: 6839 ldr r1, [r7, #0] - 8004bdc: 6978 ldr r0, [r7, #20] - 8004bde: f003 fe70 bl 80088c2 - 8004be2: 4604 mov r4, r0 - 8004be4: 2800 cmp r0, #0 - 8004be6: f040 80aa bne.w 8004d3e - 8004bea: 697b ldr r3, [r7, #20] - 8004bec: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8004bf0: 2be0 cmp r3, #224 ; 0xe0 - 8004bf2: f000 80a4 beq.w 8004d3e - 8004bf6: 6833 ldr r3, [r6, #0] - 8004bf8: 8998 ldrh r0, [r3, #12] - 8004bfa: f7fd fba0 bl 800233e - 8004bfe: 0a81 lsrs r1, r0, #10 - 8004c00: f001 01fc and.w r1, r1, #252 ; 0xfc - 8004c04: 2913 cmp r1, #19 - 8004c06: f240 809a bls.w 8004d3e - 8004c0a: 892b ldrh r3, [r5, #8] - 8004c0c: 428b cmp r3, r1 - 8004c0e: b28a uxth r2, r1 - 8004c10: f0c0 8095 bcc.w 8004d3e - 8004c14: 8968 ldrh r0, [r5, #10] - 8004c16: f8df 8164 ldr.w r8, [pc, #356] ; 8004d7c - 8004c1a: f8df a164 ldr.w sl, [pc, #356] ; 8004d80 - 8004c1e: f8df 9164 ldr.w r9, [pc, #356] ; 8004d84 - 8004c22: f8ca 4000 str.w r4, [sl] - 8004c26: f1a2 0314 sub.w r3, r2, #20 - 8004c2a: b29b uxth r3, r3 - 8004c2c: 4290 cmp r0, r2 - 8004c2e: f8a8 3000 strh.w r3, [r8] - 8004c32: d342 bcc.n 8004cba - 8004c34: 4628 mov r0, r5 - 8004c36: f8a9 3000 strh.w r3, [r9] - 8004c3a: f7fe f897 bl 8002d6c - 8004c3e: 6834 ldr r4, [r6, #0] - 8004c40: f8df b144 ldr.w fp, [pc, #324] ; 8004d88 - 8004c44: 8820 ldrh r0, [r4, #0] - 8004c46: f7fd fb7a bl 800233e - 8004c4a: 8020 strh r0, [r4, #0] - 8004c4c: 6834 ldr r4, [r6, #0] - 8004c4e: 8860 ldrh r0, [r4, #2] - 8004c50: f7fd fb75 bl 800233e - 8004c54: 8060 strh r0, [r4, #2] - 8004c56: 6834 ldr r4, [r6, #0] - 8004c58: 6860 ldr r0, [r4, #4] - 8004c5a: f7fd fb73 bl 8002344 - 8004c5e: 4b40 ldr r3, [pc, #256] ; (8004d60 ) - 8004c60: 6060 str r0, [r4, #4] - 8004c62: 6834 ldr r4, [r6, #0] - 8004c64: 6018 str r0, [r3, #0] - 8004c66: 68a0 ldr r0, [r4, #8] - 8004c68: f7fd fb6c bl 8002344 - 8004c6c: 60a0 str r0, [r4, #8] - 8004c6e: 6834 ldr r4, [r6, #0] - 8004c70: f8cb 0000 str.w r0, [fp] - 8004c74: 89e0 ldrh r0, [r4, #14] - 8004c76: f7fd fb62 bl 800233e - 8004c7a: 6833 ldr r3, [r6, #0] - 8004c7c: 81e0 strh r0, [r4, #14] - 8004c7e: 8998 ldrh r0, [r3, #12] - 8004c80: f7fd fb5d bl 800233e - 8004c84: 4a37 ldr r2, [pc, #220] ; (8004d64 ) - 8004c86: f000 033f and.w r3, r0, #63 ; 0x3f - 8004c8a: 7013 strb r3, [r2, #0] - 8004c8c: 0783 lsls r3, r0, #30 - 8004c8e: 892a ldrh r2, [r5, #8] - 8004c90: d14f bne.n 8004d32 - 8004c92: 4b35 ldr r3, [pc, #212] ; (8004d68 ) - 8004c94: 801a strh r2, [r3, #0] - 8004c96: f8df 80f4 ldr.w r8, [pc, #244] ; 8004d8c - 8004c9a: 4b2c ldr r3, [pc, #176] ; (8004d4c ) - 8004c9c: f8d8 4000 ldr.w r4, [r8] - 8004ca0: f8df 90b0 ldr.w r9, [pc, #176] ; 8004d54 - 8004ca4: f04f 0a00 mov.w sl, #0 - 8004ca8: 2c00 cmp r4, #0 - 8004caa: d173 bne.n 8004d94 - 8004cac: 4b2f ldr r3, [pc, #188] ; (8004d6c ) - 8004cae: f8df a0e0 ldr.w sl, [pc, #224] ; 8004d90 - 8004cb2: 681c ldr r4, [r3, #0] - 8004cb4: f8df 909c ldr.w r9, [pc, #156] ; 8004d54 - 8004cb8: e15a b.n 8004f70 - 8004cba: 682b ldr r3, [r5, #0] - 8004cbc: b92b cbnz r3, 8004cca - 8004cbe: 4b23 ldr r3, [pc, #140] ; (8004d4c ) - 8004cc0: 492b ldr r1, [pc, #172] ; (8004d70 ) - 8004cc2: 4824 ldr r0, [pc, #144] ; (8004d54 ) - 8004cc4: 22c2 movs r2, #194 ; 0xc2 - 8004cc6: f004 fb6f bl 80093a8 - 8004cca: 2114 movs r1, #20 - 8004ccc: 4628 mov r0, r5 - 8004cce: f7fe f84d bl 8002d6c - 8004cd2: 896c ldrh r4, [r5, #10] - 8004cd4: f8a9 4000 strh.w r4, [r9] - 8004cd8: 4621 mov r1, r4 - 8004cda: 4628 mov r0, r5 - 8004cdc: f8b8 9000 ldrh.w r9, [r8] - 8004ce0: f7fe f844 bl 8002d6c - 8004ce4: 6828 ldr r0, [r5, #0] - 8004ce6: eba9 0804 sub.w r8, r9, r4 - 8004cea: 8943 ldrh r3, [r0, #10] - 8004cec: fa1f f888 uxth.w r8, r8 - 8004cf0: 4543 cmp r3, r8 - 8004cf2: d324 bcc.n 8004d3e - 8004cf4: 6843 ldr r3, [r0, #4] - 8004cf6: f8ca 3000 str.w r3, [sl] - 8004cfa: 4641 mov r1, r8 - 8004cfc: f7fe f836 bl 8002d6c - 8004d00: 892b ldrh r3, [r5, #8] - 8004d02: 441c add r4, r3 - 8004d04: 896b ldrh r3, [r5, #10] - 8004d06: eba4 0409 sub.w r4, r4, r9 - 8004d0a: 812c strh r4, [r5, #8] - 8004d0c: b12b cbz r3, 8004d1a - 8004d0e: 4b0f ldr r3, [pc, #60] ; (8004d4c ) - 8004d10: 4918 ldr r1, [pc, #96] ; (8004d74 ) - 8004d12: 4810 ldr r0, [pc, #64] ; (8004d54 ) - 8004d14: 22df movs r2, #223 ; 0xdf - 8004d16: f004 fb47 bl 80093a8 - 8004d1a: 682b ldr r3, [r5, #0] - 8004d1c: 892a ldrh r2, [r5, #8] - 8004d1e: 891b ldrh r3, [r3, #8] - 8004d20: 429a cmp r2, r3 - 8004d22: d08c beq.n 8004c3e - 8004d24: 4b09 ldr r3, [pc, #36] ; (8004d4c ) - 8004d26: 4914 ldr r1, [pc, #80] ; (8004d78 ) - 8004d28: 480a ldr r0, [pc, #40] ; (8004d54 ) - 8004d2a: 22e0 movs r2, #224 ; 0xe0 - 8004d2c: f004 fb3c bl 80093a8 - 8004d30: e785 b.n 8004c3e - 8004d32: 1c53 adds r3, r2, #1 - 8004d34: b29b uxth r3, r3 - 8004d36: 490c ldr r1, [pc, #48] ; (8004d68 ) - 8004d38: 429a cmp r2, r3 - 8004d3a: 800b strh r3, [r1, #0] - 8004d3c: d9ab bls.n 8004c96 - 8004d3e: 4628 mov r0, r5 - 8004d40: b007 add sp, #28 - 8004d42: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8004d46: f7fe b845 b.w 8002dd4 - 8004d4a: bf00 nop - 8004d4c: 0800b18b .word 0x0800b18b - 8004d50: 0800b380 .word 0x0800b380 - 8004d54: 0800a54d .word 0x0800a54d - 8004d58: 200082f0 .word 0x200082f0 - 8004d5c: 20004d1c .word 0x20004d1c - 8004d60: 200082e4 .word 0x200082e4 - 8004d64: 200082c4 .word 0x200082c4 - 8004d68: 200082fe .word 0x200082fe - 8004d6c: 200082bc .word 0x200082bc - 8004d70: 0800b398 .word 0x0800b398 - 8004d74: 0800b3a8 .word 0x0800b3a8 - 8004d78: 0800b3b4 .word 0x0800b3b4 - 8004d7c: 200082fc .word 0x200082fc - 8004d80: 200082f8 .word 0x200082f8 - 8004d84: 200082f4 .word 0x200082f4 - 8004d88: 200082c0 .word 0x200082c0 - 8004d8c: 200082a4 .word 0x200082a4 - 8004d90: 0800b4a0 .word 0x0800b4a0 - 8004d94: 7d22 ldrb r2, [r4, #20] - 8004d96: b92a cbnz r2, 8004da4 - 8004d98: 499d ldr r1, [pc, #628] ; (8005010 ) - 8004d9a: 22fb movs r2, #251 ; 0xfb - 8004d9c: 4648 mov r0, r9 - 8004d9e: f004 fb03 bl 80093a8 - 8004da2: 4b9c ldr r3, [pc, #624] ; (8005014 ) - 8004da4: 7d22 ldrb r2, [r4, #20] - 8004da6: 2a0a cmp r2, #10 - 8004da8: d105 bne.n 8004db6 - 8004daa: 499b ldr r1, [pc, #620] ; (8005018 ) - 8004dac: 22fc movs r2, #252 ; 0xfc - 8004dae: 4648 mov r0, r9 - 8004db0: f004 fafa bl 80093a8 - 8004db4: 4b97 ldr r3, [pc, #604] ; (8005014 ) - 8004db6: 7d22 ldrb r2, [r4, #20] - 8004db8: 2a01 cmp r2, #1 - 8004dba: d105 bne.n 8004dc8 - 8004dbc: 4997 ldr r1, [pc, #604] ; (800501c ) - 8004dbe: 22fd movs r2, #253 ; 0xfd - 8004dc0: 4648 mov r0, r9 - 8004dc2: f004 faf1 bl 80093a8 - 8004dc6: 4b93 ldr r3, [pc, #588] ; (8005014 ) - 8004dc8: 7a20 ldrb r0, [r4, #8] - 8004dca: 68e1 ldr r1, [r4, #12] - 8004dcc: b130 cbz r0, 8004ddc - 8004dce: 687a ldr r2, [r7, #4] - 8004dd0: f892 2034 ldrb.w r2, [r2, #52] ; 0x34 - 8004dd4: 3201 adds r2, #1 - 8004dd6: b2d2 uxtb r2, r2 - 8004dd8: 4290 cmp r0, r2 - 8004dda: d173 bne.n 8004ec4 - 8004ddc: 6832 ldr r2, [r6, #0] - 8004dde: f8b4 c018 ldrh.w ip, [r4, #24] - 8004de2: 8810 ldrh r0, [r2, #0] - 8004de4: 4584 cmp ip, r0 - 8004de6: d16d bne.n 8004ec4 - 8004de8: 8ae0 ldrh r0, [r4, #22] - 8004dea: 8852 ldrh r2, [r2, #2] - 8004dec: 4290 cmp r0, r2 - 8004dee: d169 bne.n 8004ec4 - 8004df0: 6860 ldr r0, [r4, #4] - 8004df2: 693a ldr r2, [r7, #16] - 8004df4: 4290 cmp r0, r2 - 8004df6: d165 bne.n 8004ec4 - 8004df8: 6820 ldr r0, [r4, #0] - 8004dfa: 697a ldr r2, [r7, #20] - 8004dfc: 4290 cmp r0, r2 - 8004dfe: d161 bne.n 8004ec4 - 8004e00: 42a1 cmp r1, r4 - 8004e02: f040 8449 bne.w 8005698 - 8004e06: 4b83 ldr r3, [pc, #524] ; (8005014 ) - 8004e08: 4985 ldr r1, [pc, #532] ; (8005020 ) - 8004e0a: 4886 ldr r0, [pc, #536] ; (8005024 ) - 8004e0c: f240 120d movw r2, #269 ; 0x10d - 8004e10: f004 faca bl 80093a8 - 8004e14: f1ba 0f00 cmp.w sl, #0 - 8004e18: d007 beq.n 8004e2a - 8004e1a: 68e3 ldr r3, [r4, #12] - 8004e1c: f8ca 300c str.w r3, [sl, #12] - 8004e20: f8d8 3000 ldr.w r3, [r8] - 8004e24: 60e3 str r3, [r4, #12] - 8004e26: f8c8 4000 str.w r4, [r8] - 8004e2a: 68e3 ldr r3, [r4, #12] - 8004e2c: 42a3 cmp r3, r4 - 8004e2e: d106 bne.n 8004e3e - 8004e30: 4b78 ldr r3, [pc, #480] ; (8005014 ) - 8004e32: 497d ldr r1, [pc, #500] ; (8005028 ) - 8004e34: 487b ldr r0, [pc, #492] ; (8005024 ) - 8004e36: f240 1215 movw r2, #277 ; 0x115 - 8004e3a: f004 fab5 bl 80093a8 - 8004e3e: f8df 9210 ldr.w r9, [pc, #528] ; 8005050 - 8004e42: 892a ldrh r2, [r5, #8] - 8004e44: f8a9 2008 strh.w r2, [r9, #8] - 8004e48: 6832 ldr r2, [r6, #0] - 8004e4a: f8df a208 ldr.w sl, [pc, #520] ; 8005054 - 8004e4e: 4f77 ldr r7, [pc, #476] ; (800502c ) - 8004e50: f8c9 200c str.w r2, [r9, #12] - 8004e54: 4a76 ldr r2, [pc, #472] ; (8005030 ) - 8004e56: f8c9 5004 str.w r5, [r9, #4] - 8004e5a: 2300 movs r3, #0 - 8004e5c: f8c9 3000 str.w r3, [r9] - 8004e60: f8ca 3000 str.w r3, [sl] - 8004e64: 703b strb r3, [r7, #0] - 8004e66: 8013 strh r3, [r2, #0] - 8004e68: 4b72 ldr r3, [pc, #456] ; (8005034 ) - 8004e6a: 781b ldrb r3, [r3, #0] - 8004e6c: 071b lsls r3, r3, #28 - 8004e6e: d503 bpl.n 8004e78 - 8004e70: 7b6b ldrb r3, [r5, #13] - 8004e72: f043 0301 orr.w r3, r3, #1 - 8004e76: 736b strb r3, [r5, #13] - 8004e78: 6fa3 ldr r3, [r4, #120] ; 0x78 - 8004e7a: 4d6f ldr r5, [pc, #444] ; (8005038 ) - 8004e7c: 2b00 cmp r3, #0 - 8004e7e: f000 814c beq.w 800511a - 8004e82: 4620 mov r0, r4 - 8004e84: f7fe fe76 bl 8003b74 - 8004e88: 300d adds r0, #13 - 8004e8a: d008 beq.n 8004e9e - 8004e8c: 6fa3 ldr r3, [r4, #120] ; 0x78 - 8004e8e: 2b00 cmp r3, #0 - 8004e90: f000 8143 beq.w 800511a - 8004e94: 4b69 ldr r3, [pc, #420] ; (800503c ) - 8004e96: 881b ldrh r3, [r3, #0] - 8004e98: 2b00 cmp r3, #0 - 8004e9a: f000 813e beq.w 800511a - 8004e9e: 8d63 ldrh r3, [r4, #42] ; 0x2a - 8004ea0: b913 cbnz r3, 8004ea8 - 8004ea2: 4620 mov r0, r4 - 8004ea4: f000 ffd8 bl 8005e58 - 8004ea8: f8d9 0004 ldr.w r0, [r9, #4] - 8004eac: 2400 movs r4, #0 - 8004eae: 602c str r4, [r5, #0] - 8004eb0: f8ca 4000 str.w r4, [sl] - 8004eb4: b118 cbz r0, 8004ebe - 8004eb6: f7fd ff8d bl 8002dd4 - 8004eba: f8c9 4004 str.w r4, [r9, #4] - 8004ebe: b007 add sp, #28 - 8004ec0: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8004ec4: 46a2 mov sl, r4 - 8004ec6: 460c mov r4, r1 - 8004ec8: e6ee b.n 8004ca8 - 8004eca: 7d23 ldrb r3, [r4, #20] - 8004ecc: 2b0a cmp r3, #10 - 8004ece: d006 beq.n 8004ede - 8004ed0: 4b50 ldr r3, [pc, #320] ; (8005014 ) - 8004ed2: f240 121f movw r2, #287 ; 0x11f - 8004ed6: 4651 mov r1, sl - 8004ed8: 4648 mov r0, r9 - 8004eda: f004 fa65 bl 80093a8 - 8004ede: 7a22 ldrb r2, [r4, #8] - 8004ee0: b132 cbz r2, 8004ef0 - 8004ee2: 687b ldr r3, [r7, #4] - 8004ee4: f893 3034 ldrb.w r3, [r3, #52] ; 0x34 - 8004ee8: 3301 adds r3, #1 - 8004eea: b2db uxtb r3, r3 - 8004eec: 429a cmp r2, r3 - 8004eee: d13e bne.n 8004f6e - 8004ef0: 6833 ldr r3, [r6, #0] - 8004ef2: 8b20 ldrh r0, [r4, #24] - 8004ef4: 881a ldrh r2, [r3, #0] - 8004ef6: 4290 cmp r0, r2 - 8004ef8: d139 bne.n 8004f6e - 8004efa: 885b ldrh r3, [r3, #2] - 8004efc: 8ae1 ldrh r1, [r4, #22] - 8004efe: 4299 cmp r1, r3 - 8004f00: d135 bne.n 8004f6e - 8004f02: 6862 ldr r2, [r4, #4] - 8004f04: 693b ldr r3, [r7, #16] - 8004f06: 429a cmp r2, r3 - 8004f08: d131 bne.n 8004f6e - 8004f0a: 6822 ldr r2, [r4, #0] - 8004f0c: 697b ldr r3, [r7, #20] - 8004f0e: 429a cmp r2, r3 - 8004f10: d12d bne.n 8004f6e - 8004f12: 4b48 ldr r3, [pc, #288] ; (8005034 ) - 8004f14: 781b ldrb r3, [r3, #0] - 8004f16: 075e lsls r6, r3, #29 - 8004f18: f53f af11 bmi.w 8004d3e - 8004f1c: 4a47 ldr r2, [pc, #284] ; (800503c ) - 8004f1e: 8816 ldrh r6, [r2, #0] - 8004f20: 079a lsls r2, r3, #30 - 8004f22: d514 bpl.n 8004f4e - 8004f24: 4b46 ldr r3, [pc, #280] ; (8005040 ) - 8004f26: 681a ldr r2, [r3, #0] - 8004f28: 6a63 ldr r3, [r4, #36] ; 0x24 - 8004f2a: 1ad3 subs r3, r2, r3 - 8004f2c: d414 bmi.n 8004f58 - 8004f2e: 8d27 ldrh r7, [r4, #40] ; 0x28 - 8004f30: 1bdb subs r3, r3, r7 - 8004f32: 2b00 cmp r3, #0 - 8004f34: dc10 bgt.n 8004f58 - 8004f36: 4b43 ldr r3, [pc, #268] ; (8005044 ) - 8004f38: 9300 str r3, [sp, #0] - 8004f3a: e9cd 1001 strd r1, r0, [sp, #4] - 8004f3e: f8db 1000 ldr.w r1, [fp] - 8004f42: 3304 adds r3, #4 - 8004f44: 4432 add r2, r6 - 8004f46: 4620 mov r0, r4 - 8004f48: f000 ff40 bl 8005dcc - 8004f4c: e6f7 b.n 8004d3e - 8004f4e: 07df lsls r7, r3, #31 - 8004f50: bf42 ittt mi - 8004f52: 4b3d ldrmi r3, [pc, #244] ; (8005048 ) - 8004f54: 681b ldrmi r3, [r3, #0] - 8004f56: 6223 strmi r3, [r4, #32] - 8004f58: 2e00 cmp r6, #0 - 8004f5a: f43f aef0 beq.w 8004d3e - 8004f5e: 8b63 ldrh r3, [r4, #26] - 8004f60: f043 0302 orr.w r3, r3, #2 - 8004f64: 8363 strh r3, [r4, #26] - 8004f66: 4620 mov r0, r4 - 8004f68: f000 ffa8 bl 8005ebc - 8004f6c: e6e7 b.n 8004d3e - 8004f6e: 68e4 ldr r4, [r4, #12] - 8004f70: 2c00 cmp r4, #0 - 8004f72: d1aa bne.n 8004eca - 8004f74: 4b35 ldr r3, [pc, #212] ; (800504c ) - 8004f76: f8d7 c004 ldr.w ip, [r7, #4] - 8004f7a: 681a ldr r2, [r3, #0] - 8004f7c: 6831 ldr r1, [r6, #0] - 8004f7e: f8d7 e014 ldr.w lr, [r7, #20] - 8004f82: 4691 mov r9, r2 - 8004f84: f1b9 0f00 cmp.w r9, #0 - 8004f88: d113 bne.n 8004fb2 - 8004f8a: 8988 ldrh r0, [r1, #12] - 8004f8c: f7fd f9d7 bl 800233e - 8004f90: 0742 lsls r2, r0, #29 - 8004f92: f53f aed4 bmi.w 8004d3e - 8004f96: 4a29 ldr r2, [pc, #164] ; (800503c ) - 8004f98: 6833 ldr r3, [r6, #0] - 8004f9a: 8811 ldrh r1, [r2, #0] - 8004f9c: 4a28 ldr r2, [pc, #160] ; (8005040 ) - 8004f9e: 8818 ldrh r0, [r3, #0] - 8004fa0: 6812 ldr r2, [r2, #0] - 8004fa2: 9002 str r0, [sp, #8] - 8004fa4: 885b ldrh r3, [r3, #2] - 8004fa6: 9301 str r3, [sp, #4] - 8004fa8: 4b26 ldr r3, [pc, #152] ; (8005044 ) - 8004faa: 9300 str r3, [sp, #0] - 8004fac: 440a add r2, r1 - 8004fae: 3304 adds r3, #4 - 8004fb0: e36e b.n 8005690 - 8004fb2: f899 0008 ldrb.w r0, [r9, #8] - 8004fb6: b128 cbz r0, 8004fc4 - 8004fb8: f89c 3034 ldrb.w r3, [ip, #52] ; 0x34 - 8004fbc: 3301 adds r3, #1 - 8004fbe: b2db uxtb r3, r3 - 8004fc0: 4298 cmp r0, r3 - 8004fc2: d10c bne.n 8004fde - 8004fc4: 8848 ldrh r0, [r1, #2] - 8004fc6: f8b9 3016 ldrh.w r3, [r9, #22] - 8004fca: 4283 cmp r3, r0 - 8004fcc: d107 bne.n 8004fde - 8004fce: f8d9 3000 ldr.w r3, [r9] - 8004fd2: 4573 cmp r3, lr - 8004fd4: f000 833f beq.w 8005656 +0800413c : + 800413c: b510 push {r4, lr} + 800413e: 4604 mov r4, r0 + 8004140: b148 cbz r0, 8004156 + 8004142: 6840 ldr r0, [r0, #4] + 8004144: b108 cbz r0, 800414a + 8004146: f7ff fcbb bl 8003ac0 + 800414a: 4621 mov r1, r4 + 800414c: 2003 movs r0, #3 + 800414e: e8bd 4010 ldmia.w sp!, {r4, lr} + 8004152: f7ff ba51 b.w 80035f8 + 8004156: bd10 pop {r4, pc} + +08004158 : + 8004158: b510 push {r4, lr} + 800415a: b900 cbnz r0, 800415e + 800415c: bd10 pop {r4, pc} + 800415e: 6804 ldr r4, [r0, #0] + 8004160: f7ff ffec bl 800413c + 8004164: 4620 mov r0, r4 + 8004166: e7f8 b.n 800415a + +08004168 : + 8004168: b538 push {r3, r4, r5, lr} + 800416a: 4604 mov r4, r0 + 800416c: b930 cbnz r0, 800417c + 800416e: 4b0d ldr r3, [pc, #52] @ (80041a4 ) + 8004170: 490d ldr r1, [pc, #52] @ (80041a8 ) + 8004172: 480e ldr r0, [pc, #56] @ (80041ac ) + 8004174: f240 6282 movw r2, #1666 @ 0x682 + 8004178: f005 fffe bl 800a178 + 800417c: 2003 movs r0, #3 + 800417e: f7ff fa0d bl 800359c + 8004182: 4605 mov r5, r0 + 8004184: b160 cbz r0, 80041a0 + 8004186: 4623 mov r3, r4 + 8004188: 4602 mov r2, r0 + 800418a: f104 0110 add.w r1, r4, #16 + 800418e: f853 0b04 ldr.w r0, [r3], #4 + 8004192: f842 0b04 str.w r0, [r2], #4 + 8004196: 428b cmp r3, r1 + 8004198: d1f9 bne.n 800418e + 800419a: 6868 ldr r0, [r5, #4] + 800419c: f7ff fdce bl 8003d3c + 80041a0: 4628 mov r0, r5 + 80041a2: bd38 pop {r3, r4, r5, pc} + 80041a4: 0800b80b .word 0x0800b80b + 80041a8: 0800b8d3 .word 0x0800b8d3 + 80041ac: 0800b0a6 .word 0x0800b0a6 + +080041b0 : + 80041b0: b508 push {r3, lr} + 80041b2: b930 cbnz r0, 80041c2 + 80041b4: 4b06 ldr r3, [pc, #24] @ (80041d0 ) + 80041b6: 4907 ldr r1, [pc, #28] @ (80041d4 ) + 80041b8: 4807 ldr r0, [pc, #28] @ (80041d8 ) + 80041ba: f640 02af movw r2, #2223 @ 0x8af + 80041be: f005 ffdb bl 800a178 + 80041c2: 4b06 ldr r3, [pc, #24] @ (80041dc ) + 80041c4: 4a06 ldr r2, [pc, #24] @ (80041e0 ) + 80041c6: 6818 ldr r0, [r3, #0] + 80041c8: 6812 ldr r2, [r2, #0] + 80041ca: 4410 add r0, r2 + 80041cc: 6018 str r0, [r3, #0] + 80041ce: bd08 pop {r3, pc} + 80041d0: 0800b80b .word 0x0800b80b + 80041d4: 0800b8ed .word 0x0800b8ed + 80041d8: 0800b0a6 .word 0x0800b0a6 + 80041dc: 20000020 .word 0x20000020 + 80041e0: 20018a8c .word 0x20018a8c + +080041e4 : + 80041e4: b538 push {r3, r4, r5, lr} + 80041e6: 4604 mov r4, r0 + 80041e8: 460d mov r5, r1 + 80041ea: b932 cbnz r2, 80041fa + 80041ec: 4b09 ldr r3, [pc, #36] @ (8004214 ) + 80041ee: 490a ldr r1, [pc, #40] @ (8004218 ) + 80041f0: 480a ldr r0, [pc, #40] @ (800421c ) + 80041f2: f640 02c5 movw r2, #2245 @ 0x8c5 + 80041f6: f005 ffbf bl 800a178 + 80041fa: b14d cbz r5, 8004210 + 80041fc: 8d2b ldrh r3, [r5, #40] @ 0x28 + 80041fe: b13b cbz r3, 8004210 + 8004200: 2b28 cmp r3, #40 @ 0x28 + 8004202: bf38 it cc + 8004204: 2328 movcc r3, #40 @ 0x28 + 8004206: 3b28 subs r3, #40 @ 0x28 + 8004208: b29b uxth r3, r3 + 800420a: 429c cmp r4, r3 + 800420c: bf28 it cs + 800420e: 461c movcs r4, r3 + 8004210: 4620 mov r0, r4 + 8004212: bd38 pop {r3, r4, r5, pc} + 8004214: 0800b80b .word 0x0800b80b + 8004218: 0800b907 .word 0x0800b907 + 800421c: 0800b0a6 .word 0x0800b0a6 + +08004220 : + 8004220: b510 push {r4, lr} + 8004222: 4604 mov r4, r0 + 8004224: 6f40 ldr r0, [r0, #116] @ 0x74 + 8004226: b118 cbz r0, 8004230 + 8004228: f7ff ff96 bl 8004158 + 800422c: 2300 movs r3, #0 + 800422e: 6763 str r3, [r4, #116] @ 0x74 + 8004230: bd10 pop {r4, pc} + ... + +08004234 : + 8004234: b510 push {r4, lr} + 8004236: 4604 mov r4, r0 + 8004238: b940 cbnz r0, 800424c + 800423a: e8bd 4010 ldmia.w sp!, {r4, lr} + 800423e: 4b13 ldr r3, [pc, #76] @ (800428c ) + 8004240: 4913 ldr r1, [pc, #76] @ (8004290 ) + 8004242: 4814 ldr r0, [pc, #80] @ (8004294 ) + 8004244: f640 0251 movw r2, #2129 @ 0x851 + 8004248: f005 bf96 b.w 800a178 + 800424c: 7d03 ldrb r3, [r0, #20] + 800424e: 2b01 cmp r3, #1 + 8004250: d91a bls.n 8004288 + 8004252: 2b0a cmp r3, #10 + 8004254: d018 beq.n 8004288 + 8004256: 6f80 ldr r0, [r0, #120] @ 0x78 + 8004258: b118 cbz r0, 8004262 + 800425a: f7ff fc31 bl 8003ac0 + 800425e: 2300 movs r3, #0 + 8004260: 67a3 str r3, [r4, #120] @ 0x78 + 8004262: 6f63 ldr r3, [r4, #116] @ 0x74 + 8004264: b113 cbz r3, 800426c + 8004266: 4620 mov r0, r4 + 8004268: f7ff ffda bl 8004220 + 800426c: f64f 73ff movw r3, #65535 @ 0xffff + 8004270: 8623 strh r3, [r4, #48] @ 0x30 + 8004272: 6ee0 ldr r0, [r4, #108] @ 0x6c + 8004274: f7ff ff70 bl 8004158 + 8004278: 6f20 ldr r0, [r4, #112] @ 0x70 + 800427a: f7ff ff6d bl 8004158 + 800427e: 2300 movs r3, #0 + 8004280: e9c4 331b strd r3, r3, [r4, #108] @ 0x6c + 8004284: f8a4 3068 strh.w r3, [r4, #104] @ 0x68 + 8004288: bd10 pop {r4, pc} + 800428a: bf00 nop + 800428c: 0800b80b .word 0x0800b80b + 8004290: 0800b92e .word 0x0800b92e + 8004294: 0800b0a6 .word 0x0800b0a6 + +08004298 : + 8004298: b538 push {r3, r4, r5, lr} + 800429a: 4605 mov r5, r0 + 800429c: 460c mov r4, r1 + 800429e: b931 cbnz r1, 80042ae + 80042a0: 4b29 ldr r3, [pc, #164] @ (8004348 ) + 80042a2: 492a ldr r1, [pc, #168] @ (800434c ) + 80042a4: 482a ldr r0, [pc, #168] @ (8004350 ) + 80042a6: f640 0283 movw r2, #2179 @ 0x883 + 80042aa: f005 ff65 bl 800a178 + 80042ae: b935 cbnz r5, 80042be + 80042b0: 4b25 ldr r3, [pc, #148] @ (8004348 ) + 80042b2: 4928 ldr r1, [pc, #160] @ (8004354 ) + 80042b4: 4826 ldr r0, [pc, #152] @ (8004350 ) + 80042b6: f640 0284 movw r2, #2180 @ 0x884 + 80042ba: f005 ff5d bl 800a178 + 80042be: 682b ldr r3, [r5, #0] + 80042c0: 42a3 cmp r3, r4 + 80042c2: d11f bne.n 8004304 + 80042c4: 68e3 ldr r3, [r4, #12] + 80042c6: 602b str r3, [r5, #0] + 80042c8: 2300 movs r3, #0 + 80042ca: 60e3 str r3, [r4, #12] + 80042cc: 4620 mov r0, r4 + 80042ce: f7ff ffb1 bl 8004234 + 80042d2: 7d23 ldrb r3, [r4, #20] + 80042d4: 2b0a cmp r3, #10 + 80042d6: d11d bne.n 8004314 + 80042d8: 6ee3 ldr r3, [r4, #108] @ 0x6c + 80042da: bb6b cbnz r3, 8004338 + 80042dc: 6f23 ldr r3, [r4, #112] @ 0x70 + 80042de: b133 cbz r3, 80042ee + 80042e0: 4b19 ldr r3, [pc, #100] @ (8004348 ) + 80042e2: 491d ldr r1, [pc, #116] @ (8004358 ) + 80042e4: 481a ldr r0, [pc, #104] @ (8004350 ) + 80042e6: f640 0294 movw r2, #2196 @ 0x894 + 80042ea: f005 ff45 bl 800a178 + 80042ee: 6f63 ldr r3, [r4, #116] @ 0x74 + 80042f0: b1f3 cbz r3, 8004330 + 80042f2: 4b15 ldr r3, [pc, #84] @ (8004348 ) + 80042f4: 4919 ldr r1, [pc, #100] @ (800435c ) + 80042f6: 4816 ldr r0, [pc, #88] @ (8004350 ) + 80042f8: f640 0296 movw r2, #2198 @ 0x896 + 80042fc: f005 ff3c bl 800a178 + 8004300: e016 b.n 8004330 + 8004302: 4613 mov r3, r2 + 8004304: 2b00 cmp r3, #0 + 8004306: d0df beq.n 80042c8 + 8004308: 68da ldr r2, [r3, #12] + 800430a: 42a2 cmp r2, r4 + 800430c: d1f9 bne.n 8004302 + 800430e: 68e2 ldr r2, [r4, #12] + 8004310: 60da str r2, [r3, #12] + 8004312: e7d9 b.n 80042c8 + 8004314: 2b01 cmp r3, #1 + 8004316: d00b beq.n 8004330 + 8004318: 8b63 ldrh r3, [r4, #26] + 800431a: 07da lsls r2, r3, #31 + 800431c: d5dc bpl.n 80042d8 + 800431e: f043 0302 orr.w r3, r3, #2 + 8004322: 8363 strh r3, [r4, #26] + 8004324: 4620 mov r0, r4 + 8004326: f002 fc13 bl 8006b50 + 800432a: 7d23 ldrb r3, [r4, #20] + 800432c: 2b01 cmp r3, #1 + 800432e: d1d3 bne.n 80042d8 + 8004330: 2300 movs r3, #0 + 8004332: 7523 strb r3, [r4, #20] + 8004334: 82e3 strh r3, [r4, #22] + 8004336: bd38 pop {r3, r4, r5, pc} + 8004338: 4b03 ldr r3, [pc, #12] @ (8004348 ) + 800433a: 4909 ldr r1, [pc, #36] @ (8004360 ) + 800433c: 4804 ldr r0, [pc, #16] @ (8004350 ) + 800433e: f640 0293 movw r2, #2195 @ 0x893 + 8004342: f005 ff19 bl 800a178 + 8004346: e7c9 b.n 80042dc + 8004348: 0800b80b .word 0x0800b80b + 800434c: 0800b949 .word 0x0800b949 + 8004350: 0800b0a6 .word 0x0800b0a6 + 8004354: 0800b965 .word 0x0800b965 + 8004358: 0800b99d .word 0x0800b99d + 800435c: 0800b9b6 .word 0x0800b9b6 + 8004360: 0800b985 .word 0x0800b985 + +08004364 : + 8004364: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} + 8004368: 460e mov r6, r1 + 800436a: 4604 mov r4, r0 + 800436c: b948 cbnz r0, 8004382 + 800436e: 4b38 ldr r3, [pc, #224] @ (8004450 ) + 8004370: 4938 ldr r1, [pc, #224] @ (8004454 ) + 8004372: 4839 ldr r0, [pc, #228] @ (8004458 ) + 8004374: f240 223d movw r2, #573 @ 0x23d + 8004378: b004 add sp, #16 + 800437a: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 800437e: f005 befb b.w 800a178 + 8004382: 7d03 ldrb r3, [r0, #20] + 8004384: 2b01 cmp r3, #1 + 8004386: d106 bne.n 8004396 + 8004388: 4b31 ldr r3, [pc, #196] @ (8004450 ) + 800438a: 4934 ldr r1, [pc, #208] @ (800445c ) + 800438c: 4832 ldr r0, [pc, #200] @ (8004458 ) + 800438e: f44f 7210 mov.w r2, #576 @ 0x240 + 8004392: f005 fef1 bl 800a178 + 8004396: 7d23 ldrb r3, [r4, #20] + 8004398: 2b0a cmp r3, #10 + 800439a: d109 bne.n 80043b0 + 800439c: 4830 ldr r0, [pc, #192] @ (8004460 ) + 800439e: 4621 mov r1, r4 + 80043a0: f7ff ff7a bl 8004298 + 80043a4: 4620 mov r0, r4 + 80043a6: b004 add sp, #16 + 80043a8: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 80043ac: f7ff be3a b.w 8004024 + 80043b0: f8d4 9050 ldr.w r9, [r4, #80] @ 0x50 + 80043b4: f8d4 a024 ldr.w sl, [r4, #36] @ 0x24 + 80043b8: f8d4 7090 ldr.w r7, [r4, #144] @ 0x90 + 80043bc: f8d4 8010 ldr.w r8, [r4, #16] + 80043c0: 8ae5 ldrh r5, [r4, #22] + 80043c2: 2b00 cmp r3, #0 + 80043c4: d138 bne.n 8004438 + 80043c6: bb2d cbnz r5, 8004414 + 80043c8: 2500 movs r5, #0 + 80043ca: 462e mov r6, r5 + 80043cc: 6f20 ldr r0, [r4, #112] @ 0x70 + 80043ce: b108 cbz r0, 80043d4 + 80043d0: f7ff fec2 bl 8004158 + 80043d4: 6ee0 ldr r0, [r4, #108] @ 0x6c + 80043d6: b108 cbz r0, 80043dc + 80043d8: f7ff febe bl 8004158 + 80043dc: 6f60 ldr r0, [r4, #116] @ 0x74 + 80043de: b108 cbz r0, 80043e4 + 80043e0: f7ff feba bl 8004158 + 80043e4: b156 cbz r6, 80043fc + 80043e6: 8b23 ldrh r3, [r4, #24] + 80043e8: e9cd 5301 strd r5, r3, [sp, #4] + 80043ec: 1d23 adds r3, r4, #4 + 80043ee: 9300 str r3, [sp, #0] + 80043f0: 4652 mov r2, sl + 80043f2: 4623 mov r3, r4 + 80043f4: 4649 mov r1, r9 + 80043f6: 4620 mov r0, r4 + 80043f8: f002 fb32 bl 8006a60 + 80043fc: 4620 mov r0, r4 + 80043fe: f7ff fe11 bl 8004024 + 8004402: b30f cbz r7, 8004448 + 8004404: f06f 010c mvn.w r1, #12 + 8004408: 4640 mov r0, r8 + 800440a: 463b mov r3, r7 + 800440c: b004 add sp, #16 + 800440e: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8004412: 4718 bx r3 + 8004414: 4a13 ldr r2, [pc, #76] @ (8004464 ) + 8004416: 6813 ldr r3, [r2, #0] + 8004418: 42a3 cmp r3, r4 + 800441a: d105 bne.n 8004428 + 800441c: 68e3 ldr r3, [r4, #12] + 800441e: 6013 str r3, [r2, #0] + 8004420: 2300 movs r3, #0 + 8004422: 60e3 str r3, [r4, #12] + 8004424: e7d0 b.n 80043c8 + 8004426: 4613 mov r3, r2 + 8004428: 2b00 cmp r3, #0 + 800442a: d0f9 beq.n 8004420 + 800442c: 68da ldr r2, [r3, #12] + 800442e: 42a2 cmp r2, r4 + 8004430: d1f9 bne.n 8004426 + 8004432: 68e2 ldr r2, [r4, #12] + 8004434: 60da str r2, [r3, #12] + 8004436: e7f3 b.n 8004420 + 8004438: 480b ldr r0, [pc, #44] @ (8004468 ) + 800443a: 4621 mov r1, r4 + 800443c: f7ff ff2c bl 8004298 + 8004440: 4b0a ldr r3, [pc, #40] @ (800446c ) + 8004442: 2201 movs r2, #1 + 8004444: 701a strb r2, [r3, #0] + 8004446: e7c1 b.n 80043cc + 8004448: b004 add sp, #16 + 800444a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800444e: bf00 nop + 8004450: 0800b80b .word 0x0800b80b + 8004454: 0800b9cd .word 0x0800b9cd + 8004458: 0800b0a6 .word 0x0800b0a6 + 800445c: 0800b9e6 .word 0x0800b9e6 + 8004460: 20018a7c .word 0x20018a7c + 8004464: 20018a88 .word 0x20018a88 + 8004468: 20018a80 .word 0x20018a80 + 800446c: 20018a7b .word 0x20018a7b + +08004470 : + 8004470: 2101 movs r1, #1 + 8004472: f7ff bf77 b.w 8004364 + ... + +08004478 : + 8004478: b570 push {r4, r5, r6, lr} + 800447a: 460c mov r4, r1 + 800447c: 4605 mov r5, r0 + 800447e: b930 cbnz r0, 800448e + 8004480: 4b09 ldr r3, [pc, #36] @ (80044a8 ) + 8004482: 490a ldr r1, [pc, #40] @ (80044ac ) + 8004484: 480a ldr r0, [pc, #40] @ (80044b0 ) + 8004486: f44f 6210 mov.w r2, #2304 @ 0x900 + 800448a: f005 fe75 bl 800a178 + 800448e: b904 cbnz r4, 8004492 + 8004490: bd70 pop {r4, r5, r6, pc} + 8004492: 6822 ldr r2, [r4, #0] + 8004494: 682b ldr r3, [r5, #0] + 8004496: 68e6 ldr r6, [r4, #12] + 8004498: 429a cmp r2, r3 + 800449a: d102 bne.n 80044a2 + 800449c: 4620 mov r0, r4 + 800449e: f7ff ffe7 bl 8004470 + 80044a2: 4634 mov r4, r6 + 80044a4: e7f3 b.n 800448e + 80044a6: bf00 nop + 80044a8: 0800b80b .word 0x0800b80b + 80044ac: 0800ba17 .word 0x0800ba17 + 80044b0: 0800b0a6 .word 0x0800b0a6 + +080044b4 : + 80044b4: b538 push {r3, r4, r5, lr} + 80044b6: 460d mov r5, r1 + 80044b8: 4604 mov r4, r0 + 80044ba: b180 cbz r0, 80044de + 80044bc: 6803 ldr r3, [r0, #0] + 80044be: b173 cbz r3, 80044de + 80044c0: 4b0b ldr r3, [pc, #44] @ (80044f0 ) + 80044c2: 6819 ldr r1, [r3, #0] + 80044c4: f7ff ffd8 bl 8004478 + 80044c8: 4b0a ldr r3, [pc, #40] @ (80044f4 ) + 80044ca: 4620 mov r0, r4 + 80044cc: 6819 ldr r1, [r3, #0] + 80044ce: f7ff ffd3 bl 8004478 + 80044d2: b125 cbz r5, 80044de + 80044d4: 682b ldr r3, [r5, #0] + 80044d6: b113 cbz r3, 80044de + 80044d8: 4b07 ldr r3, [pc, #28] @ (80044f8 ) + 80044da: 681b ldr r3, [r3, #0] + 80044dc: b903 cbnz r3, 80044e0 + 80044de: bd38 pop {r3, r4, r5, pc} + 80044e0: 6819 ldr r1, [r3, #0] + 80044e2: 6822 ldr r2, [r4, #0] + 80044e4: 4291 cmp r1, r2 + 80044e6: bf04 itt eq + 80044e8: 682a ldreq r2, [r5, #0] + 80044ea: 601a streq r2, [r3, #0] + 80044ec: 68db ldr r3, [r3, #12] + 80044ee: e7f5 b.n 80044dc + 80044f0: 20018a80 .word 0x20018a80 + 80044f4: 20018a88 .word 0x20018a88 + 80044f8: 20018a84 .word 0x20018a84 + +080044fc : + 80044fc: 4b0c ldr r3, [pc, #48] @ (8004530 ) + 80044fe: 6819 ldr r1, [r3, #0] + 8004500: 4b0c ldr r3, [pc, #48] @ (8004534 ) + 8004502: b430 push {r4, r5} + 8004504: 2200 movs r2, #0 + 8004506: 681d ldr r5, [r3, #0] + 8004508: 4604 mov r4, r0 + 800450a: 4610 mov r0, r2 + 800450c: b919 cbnz r1, 8004516 + 800450e: b168 cbz r0, 800452c + 8004510: bc30 pop {r4, r5} + 8004512: f7ff bf27 b.w 8004364 + 8004516: 7d0b ldrb r3, [r1, #20] + 8004518: 42a3 cmp r3, r4 + 800451a: d105 bne.n 8004528 + 800451c: 6a0b ldr r3, [r1, #32] + 800451e: 1aeb subs r3, r5, r3 + 8004520: 4293 cmp r3, r2 + 8004522: bf24 itt cs + 8004524: 461a movcs r2, r3 + 8004526: 4608 movcs r0, r1 + 8004528: 68c9 ldr r1, [r1, #12] + 800452a: e7ef b.n 800450c + 800452c: bc30 pop {r4, r5} + 800452e: 4770 bx lr + 8004530: 20018a80 .word 0x20018a80 + 8004534: 20018a8c .word 0x20018a8c + +08004538 : + 8004538: b5f8 push {r3, r4, r5, r6, r7, lr} + 800453a: 4604 mov r4, r0 + 800453c: 2001 movs r0, #1 + 800453e: f7ff f82d bl 800359c + 8004542: 4603 mov r3, r0 + 8004544: 2800 cmp r0, #0 + 8004546: d136 bne.n 80045b6 + 8004548: 4e3f ldr r6, [pc, #252] @ (8004648 ) + 800454a: 6830 ldr r0, [r6, #0] + 800454c: 2800 cmp r0, #0 + 800454e: d157 bne.n 8004600 + 8004550: 4b3e ldr r3, [pc, #248] @ (800464c ) + 8004552: 4d3f ldr r5, [pc, #252] @ (8004650 ) + 8004554: 681b ldr r3, [r3, #0] + 8004556: 682f ldr r7, [r5, #0] + 8004558: 4601 mov r1, r0 + 800455a: 2b00 cmp r3, #0 + 800455c: d15b bne.n 8004616 + 800455e: b108 cbz r0, 8004564 + 8004560: f7ff ff86 bl 8004470 + 8004564: 2001 movs r0, #1 + 8004566: f7ff f819 bl 800359c + 800456a: 4603 mov r3, r0 + 800456c: bb18 cbnz r0, 80045b6 + 800456e: 2009 movs r0, #9 + 8004570: f7ff ffc4 bl 80044fc + 8004574: 2001 movs r0, #1 + 8004576: f7ff f811 bl 800359c + 800457a: 4603 mov r3, r0 + 800457c: b9d8 cbnz r0, 80045b6 + 800457e: 2008 movs r0, #8 + 8004580: f7ff ffbc bl 80044fc + 8004584: 2001 movs r0, #1 + 8004586: f7ff f809 bl 800359c + 800458a: 4603 mov r3, r0 + 800458c: b998 cbnz r0, 80045b6 + 800458e: 0622 lsls r2, r4, #24 + 8004590: d449 bmi.n 8004626 + 8004592: b15c cbz r4, 80045ac + 8004594: 4621 mov r1, r4 + 8004596: 6832 ldr r2, [r6, #0] + 8004598: 682e ldr r6, [r5, #0] + 800459a: 3901 subs r1, #1 + 800459c: b2c9 uxtb r1, r1 + 800459e: 2000 movs r0, #0 + 80045a0: 2a00 cmp r2, #0 + 80045a2: d142 bne.n 800462a + 80045a4: b113 cbz r3, 80045ac + 80045a6: 4618 mov r0, r3 + 80045a8: f7ff ff62 bl 8004470 + 80045ac: 2001 movs r0, #1 + 80045ae: f7fe fff5 bl 800359c + 80045b2: 4603 mov r3, r0 + 80045b4: b310 cbz r0, 80045fc + 80045b6: 229c movs r2, #156 @ 0x9c + 80045b8: 4618 mov r0, r3 + 80045ba: 2100 movs r1, #0 + 80045bc: f005 fe41 bl 800a242 + 80045c0: f44f 6286 mov.w r2, #1072 @ 0x430 + 80045c4: f8a0 2064 strh.w r2, [r0, #100] @ 0x64 + 80045c8: 4a22 ldr r2, [pc, #136] @ (8004654 ) + 80045ca: 6282 str r2, [r0, #40] @ 0x28 + 80045cc: 22ff movs r2, #255 @ 0xff + 80045ce: 72c2 strb r2, [r0, #11] + 80045d0: 2206 movs r2, #6 + 80045d2: f8a0 2040 strh.w r2, [r0, #64] @ 0x40 + 80045d6: 87c2 strh r2, [r0, #62] @ 0x3e + 80045d8: 4a1f ldr r2, [pc, #124] @ (8004658 ) + 80045da: 6302 str r2, [r0, #48] @ 0x30 + 80045dc: 4a1c ldr r2, [pc, #112] @ (8004650 ) + 80045de: 7544 strb r4, [r0, #21] + 80045e0: 6812 ldr r2, [r2, #0] + 80045e2: 6202 str r2, [r0, #32] + 80045e4: 4a1d ldr r2, [pc, #116] @ (800465c ) + 80045e6: 7812 ldrb r2, [r2, #0] + 80045e8: 7782 strb r2, [r0, #30] + 80045ea: 4a1d ldr r2, [pc, #116] @ (8004660 ) + 80045ec: 6482 str r2, [r0, #72] @ 0x48 + 80045ee: 4a1d ldr r2, [pc, #116] @ (8004664 ) + 80045f0: f8c0 2084 str.w r2, [r0, #132] @ 0x84 + 80045f4: 4a1c ldr r2, [pc, #112] @ (8004668 ) + 80045f6: f8c0 2094 str.w r2, [r0, #148] @ 0x94 + 80045fa: 4603 mov r3, r0 + 80045fc: 4618 mov r0, r3 + 80045fe: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004600: 8b43 ldrh r3, [r0, #26] + 8004602: 68c5 ldr r5, [r0, #12] + 8004604: 0719 lsls r1, r3, #28 + 8004606: d504 bpl.n 8004612 + 8004608: f023 0308 bic.w r3, r3, #8 + 800460c: 8343 strh r3, [r0, #26] + 800460e: f7ff fccd bl 8003fac + 8004612: 4628 mov r0, r5 + 8004614: e79a b.n 800454c + 8004616: 6a1a ldr r2, [r3, #32] + 8004618: 1aba subs r2, r7, r2 + 800461a: 428a cmp r2, r1 + 800461c: bf24 itt cs + 800461e: 4618 movcs r0, r3 + 8004620: 4611 movcs r1, r2 + 8004622: 68db ldr r3, [r3, #12] + 8004624: e799 b.n 800455a + 8004626: 217f movs r1, #127 @ 0x7f + 8004628: e7b5 b.n 8004596 + 800462a: 7d57 ldrb r7, [r2, #21] + 800462c: 428f cmp r7, r1 + 800462e: d304 bcc.n 800463a + 8004630: d107 bne.n 8004642 + 8004632: 6a15 ldr r5, [r2, #32] + 8004634: 1b75 subs r5, r6, r5 + 8004636: 4285 cmp r5, r0 + 8004638: d303 bcc.n 8004642 + 800463a: 6a10 ldr r0, [r2, #32] + 800463c: 4639 mov r1, r7 + 800463e: 1a30 subs r0, r6, r0 + 8004640: 4613 mov r3, r2 + 8004642: 68d2 ldr r2, [r2, #12] + 8004644: e7ac b.n 80045a0 + 8004646: bf00 nop + 8004648: 20018a80 .word 0x20018a80 + 800464c: 20018a7c .word 0x20018a7c + 8004650: 20018a8c .word 0x20018a8c + 8004654: 08600860 .word 0x08600860 + 8004658: 0218ffff .word 0x0218ffff + 800465c: 20018a79 .word 0x20018a79 + 8004660: 04300001 .word 0x04300001 + 8004664: 0800480d .word 0x0800480d + 8004668: 006ddd00 .word 0x006ddd00 + +0800466c : + 800466c: b530 push {r4, r5, lr} + 800466e: 460d mov r5, r1 + 8004670: b085 sub sp, #20 + 8004672: 4604 mov r4, r0 + 8004674: b930 cbnz r0, 8004684 + 8004676: 4b4b ldr r3, [pc, #300] @ (80047a4 ) + 8004678: 494b ldr r1, [pc, #300] @ (80047a8 ) + 800467a: 484c ldr r0, [pc, #304] @ (80047ac ) + 800467c: f44f 72af mov.w r2, #350 @ 0x15e + 8004680: f005 fd7a bl 800a178 + 8004684: 7d23 ldrb r3, [r4, #20] + 8004686: 2d00 cmp r5, #0 + 8004688: d03f beq.n 800470a + 800468a: 2b04 cmp r3, #4 + 800468c: d001 beq.n 8004692 + 800468e: 2b07 cmp r3, #7 + 8004690: d13b bne.n 800470a + 8004692: 6fa2 ldr r2, [r4, #120] @ 0x78 + 8004694: b91a cbnz r2, 800469e + 8004696: 8d22 ldrh r2, [r4, #40] @ 0x28 + 8004698: f5b2 6f06 cmp.w r2, #2144 @ 0x860 + 800469c: d035 beq.n 800470a + 800469e: 8b63 ldrh r3, [r4, #26] + 80046a0: 06db lsls r3, r3, #27 + 80046a2: d406 bmi.n 80046b2 + 80046a4: 4b3f ldr r3, [pc, #252] @ (80047a4 ) + 80046a6: 4942 ldr r1, [pc, #264] @ (80047b0 ) + 80046a8: 4840 ldr r0, [pc, #256] @ (80047ac ) + 80046aa: f44f 72b2 mov.w r2, #356 @ 0x164 + 80046ae: f005 fd63 bl 800a178 + 80046b2: 8b23 ldrh r3, [r4, #24] + 80046b4: 9302 str r3, [sp, #8] + 80046b6: 8ae3 ldrh r3, [r4, #22] + 80046b8: 9301 str r3, [sp, #4] + 80046ba: 1d23 adds r3, r4, #4 + 80046bc: 9300 str r3, [sp, #0] + 80046be: 6a62 ldr r2, [r4, #36] @ 0x24 + 80046c0: 6d21 ldr r1, [r4, #80] @ 0x50 + 80046c2: 4623 mov r3, r4 + 80046c4: 4620 mov r0, r4 + 80046c6: f002 f9cb bl 8006a60 + 80046ca: 4620 mov r0, r4 + 80046cc: f7ff fdb2 bl 8004234 + 80046d0: 4a38 ldr r2, [pc, #224] @ (80047b4 ) + 80046d2: 6813 ldr r3, [r2, #0] + 80046d4: 42a3 cmp r3, r4 + 80046d6: d110 bne.n 80046fa + 80046d8: 68e3 ldr r3, [r4, #12] + 80046da: 6013 str r3, [r2, #0] + 80046dc: 2300 movs r3, #0 + 80046de: 60e3 str r3, [r4, #12] + 80046e0: 4b35 ldr r3, [pc, #212] @ (80047b8 ) + 80046e2: 2201 movs r2, #1 + 80046e4: 701a strb r2, [r3, #0] + 80046e6: 4b35 ldr r3, [pc, #212] @ (80047bc ) + 80046e8: 681b ldr r3, [r3, #0] + 80046ea: 42a3 cmp r3, r4 + 80046ec: d11d bne.n 800472a + 80046ee: f001 fe31 bl 8006354 + 80046f2: 2000 movs r0, #0 + 80046f4: b005 add sp, #20 + 80046f6: bd30 pop {r4, r5, pc} + 80046f8: 4613 mov r3, r2 + 80046fa: 2b00 cmp r3, #0 + 80046fc: d0ee beq.n 80046dc + 80046fe: 68da ldr r2, [r3, #12] + 8004700: 42a2 cmp r2, r4 + 8004702: d1f9 bne.n 80046f8 + 8004704: 68e2 ldr r2, [r4, #12] + 8004706: 60da str r2, [r3, #12] + 8004708: e7e8 b.n 80046dc + 800470a: 2b01 cmp r3, #1 + 800470c: d01a beq.n 8004744 + 800470e: 2b02 cmp r3, #2 + 8004710: d039 beq.n 8004786 + 8004712: 2b00 cmp r3, #0 + 8004714: d13f bne.n 8004796 + 8004716: 8ae3 ldrh r3, [r4, #22] + 8004718: b13b cbz r3, 800472a + 800471a: 4a29 ldr r2, [pc, #164] @ (80047c0 ) + 800471c: 6813 ldr r3, [r2, #0] + 800471e: 42a3 cmp r3, r4 + 8004720: d108 bne.n 8004734 + 8004722: 68e3 ldr r3, [r4, #12] + 8004724: 6013 str r3, [r2, #0] + 8004726: 2300 movs r3, #0 + 8004728: 60e3 str r3, [r4, #12] + 800472a: 4620 mov r0, r4 + 800472c: f7ff fc7a bl 8004024 + 8004730: e7df b.n 80046f2 + 8004732: 4613 mov r3, r2 + 8004734: 2b00 cmp r3, #0 + 8004736: d0f6 beq.n 8004726 + 8004738: 68da ldr r2, [r3, #12] + 800473a: 42a2 cmp r2, r4 + 800473c: d1f9 bne.n 8004732 + 800473e: 68e2 ldr r2, [r4, #12] + 8004740: 60da str r2, [r3, #12] + 8004742: e7f0 b.n 8004726 + 8004744: 491f ldr r1, [pc, #124] @ (80047c4 ) + 8004746: 2000 movs r0, #0 + 8004748: f851 2f04 ldr.w r2, [r1, #4]! + 800474c: 6812 ldr r2, [r2, #0] + 800474e: b9a2 cbnz r2, 800477a + 8004750: 3301 adds r3, #1 + 8004752: 2b04 cmp r3, #4 + 8004754: d1f8 bne.n 8004748 + 8004756: 481c ldr r0, [pc, #112] @ (80047c8 ) + 8004758: 4621 mov r1, r4 + 800475a: f7ff fd9d bl 8004298 + 800475e: 7d23 ldrb r3, [r4, #20] + 8004760: 2b01 cmp r3, #1 + 8004762: d105 bne.n 8004770 + 8004764: 4b0f ldr r3, [pc, #60] @ (80047a4 ) + 8004766: 4919 ldr r1, [pc, #100] @ (80047cc ) + 8004768: 4810 ldr r0, [pc, #64] @ (80047ac ) + 800476a: 22df movs r2, #223 @ 0xdf + 800476c: f005 fd04 bl 800a178 + 8004770: 4621 mov r1, r4 + 8004772: 2002 movs r0, #2 + 8004774: f7fe ff40 bl 80035f8 + 8004778: e7bb b.n 80046f2 + 800477a: 6fd5 ldr r5, [r2, #124] @ 0x7c + 800477c: 42ac cmp r4, r5 + 800477e: bf08 it eq + 8004780: 67d0 streq r0, [r2, #124] @ 0x7c + 8004782: 68d2 ldr r2, [r2, #12] + 8004784: e7e3 b.n 800474e + 8004786: 480b ldr r0, [pc, #44] @ (80047b4 ) + 8004788: 4621 mov r1, r4 + 800478a: f7ff fd85 bl 8004298 + 800478e: 4b0a ldr r3, [pc, #40] @ (80047b8 ) + 8004790: 2201 movs r2, #1 + 8004792: 701a strb r2, [r3, #0] + 8004794: e7c9 b.n 800472a + 8004796: 4620 mov r0, r4 + 8004798: b005 add sp, #20 + 800479a: e8bd 4030 ldmia.w sp!, {r4, r5, lr} + 800479e: f7ff bc05 b.w 8003fac + 80047a2: bf00 nop + 80047a4: 0800b80b .word 0x0800b80b + 80047a8: 0800ba4b .word 0x0800ba4b + 80047ac: 0800b0a6 .word 0x0800b0a6 + 80047b0: 0800ba6b .word 0x0800ba6b + 80047b4: 20018a80 .word 0x20018a80 + 80047b8: 20018a7b .word 0x20018a7b + 80047bc: 20018a90 .word 0x20018a90 + 80047c0: 20018a88 .word 0x20018a88 + 80047c4: 0800bcb0 .word 0x0800bcb0 + 80047c8: 20018a84 .word 0x20018a84 + 80047cc: 0800ba84 .word 0x0800ba84 + +080047d0 : + 80047d0: b508 push {r3, lr} + 80047d2: b158 cbz r0, 80047ec + 80047d4: 7d03 ldrb r3, [r0, #20] + 80047d6: 2b01 cmp r3, #1 + 80047d8: bf1e ittt ne + 80047da: 8b43 ldrhne r3, [r0, #26] + 80047dc: f043 0310 orrne.w r3, r3, #16 + 80047e0: 8343 strhne r3, [r0, #26] + 80047e2: 2101 movs r1, #1 + 80047e4: e8bd 4008 ldmia.w sp!, {r3, lr} + 80047e8: f7ff bf40 b.w 800466c + 80047ec: 4b04 ldr r3, [pc, #16] @ (8004800 ) + 80047ee: 4905 ldr r1, [pc, #20] @ (8004804 ) + 80047f0: 4805 ldr r0, [pc, #20] @ (8004808 ) + 80047f2: f44f 72f4 mov.w r2, #488 @ 0x1e8 + 80047f6: f005 fcbf bl 800a178 + 80047fa: f06f 000f mvn.w r0, #15 + 80047fe: bd08 pop {r3, pc} + 8004800: 0800b80b .word 0x0800b80b + 8004804: 0800ba9d .word 0x0800ba9d + 8004808: 0800b0a6 .word 0x0800b0a6 + +0800480c : + 800480c: b510 push {r4, lr} + 800480e: 4608 mov r0, r1 + 8004810: 4614 mov r4, r2 + 8004812: b949 cbnz r1, 8004828 + 8004814: 4b0c ldr r3, [pc, #48] @ (8004848 ) + 8004816: 490d ldr r1, [pc, #52] @ (800484c ) + 8004818: 480d ldr r0, [pc, #52] @ (8004850 ) + 800481a: f44f 62d3 mov.w r2, #1688 @ 0x698 + 800481e: f005 fcab bl 800a178 + 8004822: f06f 000f mvn.w r0, #15 + 8004826: bd10 pop {r4, pc} + 8004828: b13a cbz r2, 800483a + 800482a: 8911 ldrh r1, [r2, #8] + 800482c: f7ff fc48 bl 80040c0 + 8004830: 4620 mov r0, r4 + 8004832: f7ff f945 bl 8003ac0 + 8004836: 2000 movs r0, #0 + 8004838: e7f5 b.n 8004826 + 800483a: 2b00 cmp r3, #0 + 800483c: d1fb bne.n 8004836 + 800483e: e8bd 4010 ldmia.w sp!, {r4, lr} + 8004842: f7ff bfc5 b.w 80047d0 + 8004846: bf00 nop + 8004848: 0800b80b .word 0x0800b80b + 800484c: 0800bab4 .word 0x0800bab4 + 8004850: 0800b0a6 .word 0x0800b0a6 + +08004854 : + 8004854: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004856: 4604 mov r4, r0 + 8004858: b950 cbnz r0, 8004870 + 800485a: 4b1d ldr r3, [pc, #116] @ (80048d0 ) + 800485c: 491d ldr r1, [pc, #116] @ (80048d4 ) + 800485e: 481e ldr r0, [pc, #120] @ (80048d8 ) + 8004860: f240 6209 movw r2, #1545 @ 0x609 + 8004864: f005 fc88 bl 800a178 + 8004868: f06f 050f mvn.w r5, #15 + 800486c: 4628 mov r0, r5 + 800486e: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004870: 6f86 ldr r6, [r0, #120] @ 0x78 + 8004872: f8d0 5084 ldr.w r5, [r0, #132] @ 0x84 + 8004876: 7b77 ldrb r7, [r6, #13] + 8004878: 2300 movs r3, #0 + 800487a: 6783 str r3, [r0, #120] @ 0x78 + 800487c: b1dd cbz r5, 80048b6 + 800487e: 4601 mov r1, r0 + 8004880: 4632 mov r2, r6 + 8004882: 6900 ldr r0, [r0, #16] + 8004884: 47a8 blx r5 + 8004886: 4605 mov r5, r0 + 8004888: b9e0 cbnz r0, 80048c4 + 800488a: 06bb lsls r3, r7, #26 + 800488c: d5ee bpl.n 800486c + 800488e: 8d23 ldrh r3, [r4, #40] @ 0x28 + 8004890: f8d4 6084 ldr.w r6, [r4, #132] @ 0x84 + 8004894: f5b3 6f06 cmp.w r3, #2144 @ 0x860 + 8004898: bf1c itt ne + 800489a: 3301 addne r3, #1 + 800489c: 8523 strhne r3, [r4, #40] @ 0x28 + 800489e: 2e00 cmp r6, #0 + 80048a0: d0e4 beq.n 800486c + 80048a2: 2300 movs r3, #0 + 80048a4: 6920 ldr r0, [r4, #16] + 80048a6: 461a mov r2, r3 + 80048a8: 4621 mov r1, r4 + 80048aa: 47b0 blx r6 + 80048ac: 300d adds r0, #13 + 80048ae: d1dd bne.n 800486c + 80048b0: f06f 050c mvn.w r5, #12 + 80048b4: e7da b.n 800486c + 80048b6: 4601 mov r1, r0 + 80048b8: 462b mov r3, r5 + 80048ba: 4632 mov r2, r6 + 80048bc: 4628 mov r0, r5 + 80048be: f7ff ffa5 bl 800480c + 80048c2: e7e0 b.n 8004886 + 80048c4: 350d adds r5, #13 + 80048c6: d0f3 beq.n 80048b0 + 80048c8: 67a6 str r6, [r4, #120] @ 0x78 + 80048ca: f06f 0504 mvn.w r5, #4 + 80048ce: e7cd b.n 800486c + 80048d0: 0800b80b .word 0x0800b80b + 80048d4: 0800bacf .word 0x0800bacf + 80048d8: 0800b0a6 .word 0x0800b0a6 + +080048dc : + 80048dc: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 80048e0: 4d1b ldr r5, [pc, #108] @ (8004950 ) + 80048e2: 4f1c ldr r7, [pc, #112] @ (8004954 ) + 80048e4: 782b ldrb r3, [r5, #0] + 80048e6: 4e1c ldr r6, [pc, #112] @ (8004958 ) + 80048e8: 3301 adds r3, #1 + 80048ea: 702b strb r3, [r5, #0] + 80048ec: 683c ldr r4, [r7, #0] + 80048ee: f04f 0800 mov.w r8, #0 + 80048f2: b90c cbnz r4, 80048f8 + 80048f4: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 80048f8: 782b ldrb r3, [r5, #0] + 80048fa: 7fa2 ldrb r2, [r4, #30] + 80048fc: 429a cmp r2, r3 + 80048fe: d024 beq.n 800494a + 8004900: 77a3 strb r3, [r4, #30] + 8004902: 8b63 ldrh r3, [r4, #26] + 8004904: 07d9 lsls r1, r3, #31 + 8004906: d509 bpl.n 800491c + 8004908: f043 0302 orr.w r3, r3, #2 + 800490c: 8363 strh r3, [r4, #26] + 800490e: 4620 mov r0, r4 + 8004910: f002 f91e bl 8006b50 + 8004914: 8b63 ldrh r3, [r4, #26] + 8004916: f023 0303 bic.w r3, r3, #3 + 800491a: 8363 strh r3, [r4, #26] + 800491c: 8b63 ldrh r3, [r4, #26] + 800491e: 071a lsls r2, r3, #28 + 8004920: d505 bpl.n 800492e + 8004922: f023 0308 bic.w r3, r3, #8 + 8004926: 8363 strh r3, [r4, #26] + 8004928: 4620 mov r0, r4 + 800492a: f7ff fb3f bl 8003fac + 800492e: 6fa3 ldr r3, [r4, #120] @ 0x78 + 8004930: f8d4 900c ldr.w r9, [r4, #12] + 8004934: b13b cbz r3, 8004946 + 8004936: 4620 mov r0, r4 + 8004938: f886 8000 strb.w r8, [r6] + 800493c: f7ff ff8a bl 8004854 + 8004940: 7833 ldrb r3, [r6, #0] + 8004942: 2b00 cmp r3, #0 + 8004944: d1d2 bne.n 80048ec + 8004946: 464c mov r4, r9 + 8004948: e7d3 b.n 80048f2 + 800494a: 68e4 ldr r4, [r4, #12] + 800494c: e7d1 b.n 80048f2 + 800494e: bf00 nop + 8004950: 20018a79 .word 0x20018a79 + 8004954: 20018a80 .word 0x20018a80 + 8004958: 20018a7b .word 0x20018a7b + +0800495c : + 800495c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8004960: 4dab ldr r5, [pc, #684] @ (8004c10 ) + 8004962: 4aac ldr r2, [pc, #688] @ (8004c14 ) + 8004964: 682b ldr r3, [r5, #0] + 8004966: f8df 82e0 ldr.w r8, [pc, #736] @ 8004c48 + 800496a: 4eab ldr r6, [pc, #684] @ (8004c18 ) + 800496c: 3301 adds r3, #1 + 800496e: 602b str r3, [r5, #0] + 8004970: 7813 ldrb r3, [r2, #0] + 8004972: 3301 adds r3, #1 + 8004974: b087 sub sp, #28 + 8004976: 7013 strb r3, [r2, #0] + 8004978: f8d8 4000 ldr.w r4, [r8] + 800497c: f8df 92b0 ldr.w r9, [pc, #688] @ 8004c30 + 8004980: 2700 movs r7, #0 + 8004982: b96c cbnz r4, 80049a0 + 8004984: 4fa5 ldr r7, [pc, #660] @ (8004c1c ) + 8004986: f8df 8290 ldr.w r8, [pc, #656] @ 8004c18 + 800498a: 683e ldr r6, [r7, #0] + 800498c: f8df 92bc ldr.w r9, [pc, #700] @ 8004c4c + 8004990: f8df a29c ldr.w sl, [pc, #668] @ 8004c30 + 8004994: 2e00 cmp r6, #0 + 8004996: f040 81be bne.w 8004d16 + 800499a: b007 add sp, #28 + 800499c: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80049a0: 7d23 ldrb r3, [r4, #20] + 80049a2: b933 cbnz r3, 80049b2 + 80049a4: 499e ldr r1, [pc, #632] @ (8004c20 ) + 80049a6: 4633 mov r3, r6 + 80049a8: f240 42be movw r2, #1214 @ 0x4be + 80049ac: 4648 mov r0, r9 + 80049ae: f005 fbe3 bl 800a178 + 80049b2: 7d23 ldrb r3, [r4, #20] + 80049b4: 2b01 cmp r3, #1 + 80049b6: d106 bne.n 80049c6 + 80049b8: 499a ldr r1, [pc, #616] @ (8004c24 ) + 80049ba: 4633 mov r3, r6 + 80049bc: f240 42bf movw r2, #1215 @ 0x4bf + 80049c0: 4648 mov r0, r9 + 80049c2: f005 fbd9 bl 800a178 + 80049c6: 7d23 ldrb r3, [r4, #20] + 80049c8: 2b0a cmp r3, #10 + 80049ca: d106 bne.n 80049da + 80049cc: 4996 ldr r1, [pc, #600] @ (8004c28 ) + 80049ce: 4633 mov r3, r6 + 80049d0: f44f 6298 mov.w r2, #1216 @ 0x4c0 + 80049d4: 4648 mov r0, r9 + 80049d6: f005 fbcf bl 800a178 + 80049da: 4b8e ldr r3, [pc, #568] @ (8004c14 ) + 80049dc: 7fa2 ldrb r2, [r4, #30] + 80049de: 781b ldrb r3, [r3, #0] + 80049e0: 429a cmp r2, r3 + 80049e2: d104 bne.n 80049ee + 80049e4: f8d4 a00c ldr.w sl, [r4, #12] + 80049e8: 4627 mov r7, r4 + 80049ea: 4654 mov r4, sl + 80049ec: e7c9 b.n 8004982 + 80049ee: 7d22 ldrb r2, [r4, #20] + 80049f0: 77a3 strb r3, [r4, #30] + 80049f2: 2a02 cmp r2, #2 + 80049f4: f894 3042 ldrb.w r3, [r4, #66] @ 0x42 + 80049f8: d174 bne.n 8004ae4 + 80049fa: 2b05 cmp r3, #5 + 80049fc: d974 bls.n 8004ae8 + 80049fe: f04f 0b01 mov.w fp, #1 + 8004a02: 7d23 ldrb r3, [r4, #20] + 8004a04: 2b06 cmp r3, #6 + 8004a06: d10b bne.n 8004a20 + 8004a08: 8b62 ldrh r2, [r4, #26] + 8004a0a: 06d1 lsls r1, r2, #27 + 8004a0c: d508 bpl.n 8004a20 + 8004a0e: 682a ldr r2, [r5, #0] + 8004a10: 6a21 ldr r1, [r4, #32] + 8004a12: 1a52 subs r2, r2, r1 + 8004a14: 2a28 cmp r2, #40 @ 0x28 + 8004a16: bf84 itt hi + 8004a18: f10b 0b01 addhi.w fp, fp, #1 + 8004a1c: fa5f fb8b uxtbhi.w fp, fp + 8004a20: 7a62 ldrb r2, [r4, #9] + 8004a22: 0712 lsls r2, r2, #28 + 8004a24: d505 bpl.n 8004a32 + 8004a26: 2b04 cmp r3, #4 + 8004a28: f000 8112 beq.w 8004c50 + 8004a2c: 2b07 cmp r3, #7 + 8004a2e: f000 810f beq.w 8004c50 + 8004a32: f04f 0a00 mov.w sl, #0 + 8004a36: 6f63 ldr r3, [r4, #116] @ 0x74 + 8004a38: b163 cbz r3, 8004a54 + 8004a3a: 682b ldr r3, [r5, #0] + 8004a3c: 6a22 ldr r2, [r4, #32] + 8004a3e: 1a9a subs r2, r3, r2 + 8004a40: f9b4 3040 ldrsh.w r3, [r4, #64] @ 0x40 + 8004a44: eb03 0343 add.w r3, r3, r3, lsl #1 + 8004a48: ebb2 0f43 cmp.w r2, r3, lsl #1 + 8004a4c: d302 bcc.n 8004a54 + 8004a4e: 4620 mov r0, r4 + 8004a50: f7ff fbe6 bl 8004220 + 8004a54: 7d23 ldrb r3, [r4, #20] + 8004a56: 2b03 cmp r3, #3 + 8004a58: f040 8127 bne.w 8004caa + 8004a5c: 682b ldr r3, [r5, #0] + 8004a5e: 6a22 ldr r2, [r4, #32] + 8004a60: 1a9b subs r3, r3, r2 + 8004a62: 2b28 cmp r3, #40 @ 0x28 + 8004a64: d803 bhi.n 8004a6e + 8004a66: f1bb 0f00 cmp.w fp, #0 + 8004a6a: f000 8133 beq.w 8004cd4 + 8004a6e: 4620 mov r0, r4 + 8004a70: f8d4 b090 ldr.w fp, [r4, #144] @ 0x90 + 8004a74: f7ff fbde bl 8004234 + 8004a78: f8d8 3000 ldr.w r3, [r8] + 8004a7c: 2f00 cmp r7, #0 + 8004a7e: f000 811c beq.w 8004cba + 8004a82: 42a3 cmp r3, r4 + 8004a84: d106 bne.n 8004a94 + 8004a86: 4b64 ldr r3, [pc, #400] @ (8004c18 ) + 8004a88: 4968 ldr r1, [pc, #416] @ (8004c2c ) + 8004a8a: 4869 ldr r0, [pc, #420] @ (8004c30 ) + 8004a8c: f240 526d movw r2, #1389 @ 0x56d + 8004a90: f005 fb72 bl 800a178 + 8004a94: 68e3 ldr r3, [r4, #12] + 8004a96: 60fb str r3, [r7, #12] + 8004a98: f1ba 0f00 cmp.w sl, #0 + 8004a9c: d00b beq.n 8004ab6 + 8004a9e: 8b23 ldrh r3, [r4, #24] + 8004aa0: 9302 str r3, [sp, #8] + 8004aa2: 8ae3 ldrh r3, [r4, #22] + 8004aa4: 9301 str r3, [sp, #4] + 8004aa6: 1d23 adds r3, r4, #4 + 8004aa8: 9300 str r3, [sp, #0] + 8004aaa: 6a62 ldr r2, [r4, #36] @ 0x24 + 8004aac: 6d21 ldr r1, [r4, #80] @ 0x50 + 8004aae: 4623 mov r3, r4 + 8004ab0: 4620 mov r0, r4 + 8004ab2: f001 ffd5 bl 8006a60 + 8004ab6: 6923 ldr r3, [r4, #16] + 8004ab8: f8d4 a00c ldr.w sl, [r4, #12] + 8004abc: 9305 str r3, [sp, #20] + 8004abe: 4620 mov r0, r4 + 8004ac0: 4c5c ldr r4, [pc, #368] @ (8004c34 ) + 8004ac2: f7ff faaf bl 8004024 + 8004ac6: 2300 movs r3, #0 + 8004ac8: 7023 strb r3, [r4, #0] + 8004aca: f1bb 0f00 cmp.w fp, #0 + 8004ace: d007 beq.n 8004ae0 + 8004ad0: 9805 ldr r0, [sp, #20] + 8004ad2: f06f 010c mvn.w r1, #12 + 8004ad6: 47d8 blx fp + 8004ad8: 7823 ldrb r3, [r4, #0] + 8004ada: 2b00 cmp r3, #0 + 8004adc: f47f af4c bne.w 8004978 + 8004ae0: 463c mov r4, r7 + 8004ae2: e781 b.n 80049e8 + 8004ae4: 2b0b cmp r3, #11 + 8004ae6: e789 b.n 80049fc + 8004ae8: f894 3099 ldrb.w r3, [r4, #153] @ 0x99 + 8004aec: 2b00 cmp r3, #0 + 8004aee: d045 beq.n 8004b7c + 8004af0: 6f23 ldr r3, [r4, #112] @ 0x70 + 8004af2: b133 cbz r3, 8004b02 + 8004af4: 4950 ldr r1, [pc, #320] @ (8004c38 ) + 8004af6: 4633 mov r3, r6 + 8004af8: f240 42d4 movw r2, #1236 @ 0x4d4 + 8004afc: 4648 mov r0, r9 + 8004afe: f005 fb3b bl 800a178 + 8004b02: 6ee3 ldr r3, [r4, #108] @ 0x6c + 8004b04: b933 cbnz r3, 8004b14 + 8004b06: 4b44 ldr r3, [pc, #272] @ (8004c18 ) + 8004b08: 494c ldr r1, [pc, #304] @ (8004c3c ) + 8004b0a: 4849 ldr r0, [pc, #292] @ (8004c30 ) + 8004b0c: f240 42d5 movw r2, #1237 @ 0x4d5 + 8004b10: f005 fb32 bl 800a178 + 8004b14: f894 309a ldrb.w r3, [r4, #154] @ 0x9a + 8004b18: 2b0b cmp r3, #11 + 8004b1a: f63f af70 bhi.w 80049fe + 8004b1e: f894 2099 ldrb.w r2, [r4, #153] @ 0x99 + 8004b22: 4b47 ldr r3, [pc, #284] @ (8004c40 ) + 8004b24: 4413 add r3, r2 + 8004b26: f813 2c01 ldrb.w r2, [r3, #-1] + 8004b2a: f894 3098 ldrb.w r3, [r4, #152] @ 0x98 + 8004b2e: 4293 cmp r3, r2 + 8004b30: d30b bcc.n 8004b4a + 8004b32: f8b4 1060 ldrh.w r1, [r4, #96] @ 0x60 + 8004b36: b189 cbz r1, 8004b5c + 8004b38: 4620 mov r0, r4 + 8004b3a: f001 fd47 bl 80065cc + 8004b3e: b990 cbnz r0, 8004b66 + 8004b40: 4620 mov r0, r4 + 8004b42: f002 f805 bl 8006b50 + 8004b46: b130 cbz r0, 8004b56 + 8004b48: e00d b.n 8004b66 + 8004b4a: 3301 adds r3, #1 + 8004b4c: b2db uxtb r3, r3 + 8004b4e: 4293 cmp r3, r2 + 8004b50: f884 3098 strb.w r3, [r4, #152] @ 0x98 + 8004b54: d2ed bcs.n 8004b32 + 8004b56: f04f 0b00 mov.w fp, #0 + 8004b5a: e752 b.n 8004a02 + 8004b5c: 4620 mov r0, r4 + 8004b5e: f002 f9ff bl 8006f60 + 8004b62: 2800 cmp r0, #0 + 8004b64: d1f7 bne.n 8004b56 + 8004b66: 2300 movs r3, #0 + 8004b68: f884 3098 strb.w r3, [r4, #152] @ 0x98 + 8004b6c: f894 3099 ldrb.w r3, [r4, #153] @ 0x99 + 8004b70: 2b06 cmp r3, #6 + 8004b72: d8f0 bhi.n 8004b56 + 8004b74: 3301 adds r3, #1 + 8004b76: f884 3099 strb.w r3, [r4, #153] @ 0x99 + 8004b7a: e7ec b.n 8004b56 + 8004b7c: 8e23 ldrh r3, [r4, #48] @ 0x30 + 8004b7e: f647 72fe movw r2, #32766 @ 0x7ffe + 8004b82: 4293 cmp r3, r2 + 8004b84: bf9c itt ls + 8004b86: 3301 addls r3, #1 + 8004b88: 8623 strhls r3, [r4, #48] @ 0x30 + 8004b8a: f9b4 2030 ldrsh.w r2, [r4, #48] @ 0x30 + 8004b8e: f9b4 3040 ldrsh.w r3, [r4, #64] @ 0x40 + 8004b92: 429a cmp r2, r3 + 8004b94: dbdf blt.n 8004b56 + 8004b96: 4620 mov r0, r4 + 8004b98: f001 fea8 bl 80068ec + 8004b9c: b128 cbz r0, 8004baa + 8004b9e: 6f23 ldr r3, [r4, #112] @ 0x70 + 8004ba0: 2b00 cmp r3, #0 + 8004ba2: d1d8 bne.n 8004b56 + 8004ba4: 6ee3 ldr r3, [r4, #108] @ 0x6c + 8004ba6: 2b00 cmp r3, #0 + 8004ba8: d0d5 beq.n 8004b56 + 8004baa: 7d23 ldrb r3, [r4, #20] + 8004bac: 2b02 cmp r3, #2 + 8004bae: d014 beq.n 8004bda + 8004bb0: f9b4 203c ldrsh.w r2, [r4, #60] @ 0x3c + 8004bb4: f9b4 303e ldrsh.w r3, [r4, #62] @ 0x3e + 8004bb8: 4922 ldr r1, [pc, #136] @ (8004c44 ) + 8004bba: eb03 03e2 add.w r3, r3, r2, asr #3 + 8004bbe: f894 2042 ldrb.w r2, [r4, #66] @ 0x42 + 8004bc2: 2a0c cmp r2, #12 + 8004bc4: bf28 it cs + 8004bc6: 220c movcs r2, #12 + 8004bc8: 5c8a ldrb r2, [r1, r2] + 8004bca: 4093 lsls r3, r2 + 8004bcc: f647 72ff movw r2, #32767 @ 0x7fff + 8004bd0: 4293 cmp r3, r2 + 8004bd2: bfa8 it ge + 8004bd4: 4613 movge r3, r2 + 8004bd6: f8a4 3040 strh.w r3, [r4, #64] @ 0x40 + 8004bda: f8b4 0048 ldrh.w r0, [r4, #72] @ 0x48 + 8004bde: f8b4 3060 ldrh.w r3, [r4, #96] @ 0x60 + 8004be2: 8e61 ldrh r1, [r4, #50] @ 0x32 + 8004be4: f8a4 1048 strh.w r1, [r4, #72] @ 0x48 + 8004be8: 4283 cmp r3, r0 + 8004bea: bf28 it cs + 8004bec: 4603 movcs r3, r0 + 8004bee: 0048 lsls r0, r1, #1 + 8004bf0: 085b lsrs r3, r3, #1 + 8004bf2: b280 uxth r0, r0 + 8004bf4: 4283 cmp r3, r0 + 8004bf6: f04f 0200 mov.w r2, #0 + 8004bfa: bf38 it cc + 8004bfc: 4603 movcc r3, r0 + 8004bfe: 8622 strh r2, [r4, #48] @ 0x30 + 8004c00: f8a4 304a strh.w r3, [r4, #74] @ 0x4a + 8004c04: f8a4 206a strh.w r2, [r4, #106] @ 0x6a + 8004c08: 4620 mov r0, r4 + 8004c0a: f002 f94b bl 8006ea4 + 8004c0e: e7a2 b.n 8004b56 + 8004c10: 20018a8c .word 0x20018a8c + 8004c14: 20018a79 .word 0x20018a79 + 8004c18: 0800b80b .word 0x0800b80b + 8004c1c: 20018a7c .word 0x20018a7c + 8004c20: 0800baf5 .word 0x0800baf5 + 8004c24: 0800bb1f .word 0x0800bb1f + 8004c28: 0800bb49 .word 0x0800bb49 + 8004c2c: 0800bbdd .word 0x0800bbdd + 8004c30: 0800b0a6 .word 0x0800b0a6 + 8004c34: 20018a7b .word 0x20018a7b + 8004c38: 0800bb76 .word 0x0800bb76 + 8004c3c: 0800bba8 .word 0x0800bba8 + 8004c40: 0800bcc0 .word 0x0800bcc0 + 8004c44: 0800bcc7 .word 0x0800bcc7 + 8004c48: 20018a80 .word 0x20018a80 + 8004c4c: 0800bc32 .word 0x0800bc32 + 8004c50: 6a23 ldr r3, [r4, #32] + 8004c52: 6829 ldr r1, [r5, #0] + 8004c54: 1ac9 subs r1, r1, r3 + 8004c56: f8d4 3094 ldr.w r3, [r4, #148] @ 0x94 + 8004c5a: f503 2224 add.w r2, r3, #671744 @ 0xa4000 + 8004c5e: f602 42b8 addw r2, r2, #3256 @ 0xcb8 + 8004c62: f44f 70fa mov.w r0, #500 @ 0x1f4 + 8004c66: fbb2 f2f0 udiv r2, r2, r0 + 8004c6a: 4291 cmp r1, r2 + 8004c6c: d906 bls.n 8004c7c + 8004c6e: f10b 0b01 add.w fp, fp, #1 + 8004c72: fa5f fb8b uxtb.w fp, fp + 8004c76: f04f 0a01 mov.w sl, #1 + 8004c7a: e6dc b.n 8004a36 + 8004c7c: f894 209b ldrb.w r2, [r4, #155] @ 0x9b + 8004c80: f8df c118 ldr.w ip, [pc, #280] @ 8004d9c + 8004c84: fb0c 3302 mla r3, ip, r2, r3 + 8004c88: fbb3 f3f0 udiv r3, r3, r0 + 8004c8c: 4299 cmp r1, r3 + 8004c8e: f67f aed0 bls.w 8004a32 + 8004c92: 4620 mov r0, r4 + 8004c94: f002 f93c bl 8006f10 + 8004c98: 2800 cmp r0, #0 + 8004c9a: f47f aeca bne.w 8004a32 + 8004c9e: f894 309b ldrb.w r3, [r4, #155] @ 0x9b + 8004ca2: 3301 adds r3, #1 + 8004ca4: f884 309b strb.w r3, [r4, #155] @ 0x9b + 8004ca8: e6c3 b.n 8004a32 + 8004caa: 2b09 cmp r3, #9 + 8004cac: f47f aedb bne.w 8004a66 + 8004cb0: 682b ldr r3, [r5, #0] + 8004cb2: 6a22 ldr r2, [r4, #32] + 8004cb4: 1a9b subs r3, r3, r2 + 8004cb6: 2bf0 cmp r3, #240 @ 0xf0 + 8004cb8: e6d4 b.n 8004a64 + 8004cba: 42a3 cmp r3, r4 + 8004cbc: d006 beq.n 8004ccc + 8004cbe: 4931 ldr r1, [pc, #196] @ (8004d84 ) + 8004cc0: 4831 ldr r0, [pc, #196] @ (8004d88 ) + 8004cc2: 4633 mov r3, r6 + 8004cc4: f240 5271 movw r2, #1393 @ 0x571 + 8004cc8: f005 fa56 bl 800a178 + 8004ccc: 68e3 ldr r3, [r4, #12] + 8004cce: f8c8 3000 str.w r3, [r8] + 8004cd2: e6e1 b.n 8004a98 + 8004cd4: 7f23 ldrb r3, [r4, #28] + 8004cd6: 7f62 ldrb r2, [r4, #29] + 8004cd8: f8d4 a00c ldr.w sl, [r4, #12] + 8004cdc: 3301 adds r3, #1 + 8004cde: b2db uxtb r3, r3 + 8004ce0: 429a cmp r2, r3 + 8004ce2: 7723 strb r3, [r4, #28] + 8004ce4: f63f ae80 bhi.w 80049e8 + 8004ce8: 4f28 ldr r7, [pc, #160] @ (8004d8c ) + 8004cea: f8d4 308c ldr.w r3, [r4, #140] @ 0x8c + 8004cee: f884 b01c strb.w fp, [r4, #28] + 8004cf2: f887 b000 strb.w fp, [r7] + 8004cf6: b91b cbnz r3, 8004d00 + 8004cf8: 4620 mov r0, r4 + 8004cfa: f001 ff29 bl 8006b50 + 8004cfe: e673 b.n 80049e8 + 8004d00: 6920 ldr r0, [r4, #16] + 8004d02: 4621 mov r1, r4 + 8004d04: 4798 blx r3 + 8004d06: 783b ldrb r3, [r7, #0] + 8004d08: 2b00 cmp r3, #0 + 8004d0a: f47f ae35 bne.w 8004978 + 8004d0e: 2800 cmp r0, #0 + 8004d10: f47f ae6a bne.w 80049e8 + 8004d14: e7f0 b.n 8004cf8 + 8004d16: 7d33 ldrb r3, [r6, #20] + 8004d18: 2b0a cmp r3, #10 + 8004d1a: d006 beq.n 8004d2a + 8004d1c: 4643 mov r3, r8 + 8004d1e: f240 52a1 movw r2, #1441 @ 0x5a1 + 8004d22: 4649 mov r1, r9 + 8004d24: 4650 mov r0, sl + 8004d26: f005 fa27 bl 800a178 + 8004d2a: 682b ldr r3, [r5, #0] + 8004d2c: 6a32 ldr r2, [r6, #32] + 8004d2e: 1a9b subs r3, r3, r2 + 8004d30: 2bf0 cmp r3, #240 @ 0xf0 + 8004d32: d910 bls.n 8004d56 + 8004d34: 4630 mov r0, r6 + 8004d36: f7ff fa7d bl 8004234 + 8004d3a: b97c cbnz r4, 8004d5c + 8004d3c: 683b ldr r3, [r7, #0] + 8004d3e: 42b3 cmp r3, r6 + 8004d40: d006 beq.n 8004d50 + 8004d42: 4b13 ldr r3, [pc, #76] @ (8004d90 ) + 8004d44: 4913 ldr r1, [pc, #76] @ (8004d94 ) + 8004d46: 4810 ldr r0, [pc, #64] @ (8004d88 ) + 8004d48: f240 52b3 movw r2, #1459 @ 0x5b3 + 8004d4c: f005 fa14 bl 800a178 + 8004d50: 68f3 ldr r3, [r6, #12] + 8004d52: 603b str r3, [r7, #0] + 8004d54: e00e b.n 8004d74 + 8004d56: 4634 mov r4, r6 + 8004d58: 68f6 ldr r6, [r6, #12] + 8004d5a: e61b b.n 8004994 + 8004d5c: 683b ldr r3, [r7, #0] + 8004d5e: 42b3 cmp r3, r6 + 8004d60: d106 bne.n 8004d70 + 8004d62: 4b0b ldr r3, [pc, #44] @ (8004d90 ) + 8004d64: 490c ldr r1, [pc, #48] @ (8004d98 ) + 8004d66: 4808 ldr r0, [pc, #32] @ (8004d88 ) + 8004d68: f240 52af movw r2, #1455 @ 0x5af + 8004d6c: f005 fa04 bl 800a178 + 8004d70: 68f3 ldr r3, [r6, #12] + 8004d72: 60e3 str r3, [r4, #12] + 8004d74: f8d6 b00c ldr.w fp, [r6, #12] + 8004d78: 4630 mov r0, r6 + 8004d7a: f7ff f953 bl 8004024 + 8004d7e: 465e mov r6, fp + 8004d80: e608 b.n 8004994 + 8004d82: bf00 nop + 8004d84: 0800bc08 .word 0x0800bc08 + 8004d88: 0800b0a6 .word 0x0800b0a6 + 8004d8c: 20018a7b .word 0x20018a7b + 8004d90: 0800b80b .word 0x0800b80b + 8004d94: 0800bc88 .word 0x0800bc88 + 8004d98: 0800bc61 .word 0x0800bc61 + 8004d9c: 000124f8 .word 0x000124f8 + +08004da0 : + 8004da0: b508 push {r3, lr} + 8004da2: f7ff fd9b bl 80048dc + 8004da6: 4a06 ldr r2, [pc, #24] @ (8004dc0 ) + 8004da8: 7813 ldrb r3, [r2, #0] + 8004daa: 3301 adds r3, #1 + 8004dac: b2db uxtb r3, r3 + 8004dae: 7013 strb r3, [r2, #0] + 8004db0: 07db lsls r3, r3, #31 + 8004db2: d503 bpl.n 8004dbc + 8004db4: e8bd 4008 ldmia.w sp!, {r3, lr} + 8004db8: f7ff bdd0 b.w 800495c + 8004dbc: bd08 pop {r3, pc} + 8004dbe: bf00 nop + 8004dc0: 20018a7a .word 0x20018a7a + +08004dc4 : + 8004dc4: 4a09 ldr r2, [pc, #36] @ (8004dec ) + 8004dc6: 8813 ldrh r3, [r2, #0] + 8004dc8: 1c59 adds r1, r3, #1 + 8004dca: 8011 strh r1, [r2, #0] + 8004dcc: 4a08 ldr r2, [pc, #32] @ (8004df0 ) + 8004dce: 6812 ldr r2, [r2, #0] + 8004dd0: b11a cbz r2, 8004dda + 8004dd2: 4908 ldr r1, [pc, #32] @ (8004df4 ) + 8004dd4: 8809 ldrh r1, [r1, #0] + 8004dd6: 428b cmp r3, r1 + 8004dd8: d204 bcs.n 8004de4 + 8004dda: 4a07 ldr r2, [pc, #28] @ (8004df8 ) + 8004ddc: 6812 ldr r2, [r2, #0] + 8004dde: 4413 add r3, r2 + 8004de0: 7d18 ldrb r0, [r3, #20] + 8004de2: 4770 bx lr + 8004de4: 1a5b subs r3, r3, r1 + 8004de6: b2db uxtb r3, r3 + 8004de8: 5cd0 ldrb r0, [r2, r3] + 8004dea: 4770 bx lr + 8004dec: 20018aa8 .word 0x20018aa8 + 8004df0: 20018aac .word 0x20018aac + 8004df4: 20018ab0 .word 0x20018ab0 + 8004df8: 20018ab4 .word 0x20018ab4 + +08004dfc : + 8004dfc: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004dfe: 460d mov r5, r1 + 8004e00: 4604 mov r4, r0 + 8004e02: b930 cbnz r0, 8004e12 + 8004e04: 4b1d ldr r3, [pc, #116] @ (8004e7c ) + 8004e06: 491e ldr r1, [pc, #120] @ (8004e80 ) + 8004e08: 481e ldr r0, [pc, #120] @ (8004e84 ) + 8004e0a: f240 421f movw r2, #1055 @ 0x41f + 8004e0e: f005 f9b3 bl 800a178 + 8004e12: 68e3 ldr r3, [r4, #12] + 8004e14: 8998 ldrh r0, [r3, #12] + 8004e16: f7fe f936 bl 8003086 + 8004e1a: 07c2 lsls r2, r0, #31 + 8004e1c: d413 bmi.n 8004e46 + 8004e1e: 4e1a ldr r6, [pc, #104] @ (8004e88 ) + 8004e20: 68ef ldr r7, [r5, #12] + 8004e22: 8923 ldrh r3, [r4, #8] + 8004e24: 6830 ldr r0, [r6, #0] + 8004e26: 6879 ldr r1, [r7, #4] + 8004e28: 892a ldrh r2, [r5, #8] + 8004e2a: 4403 add r3, r0 + 8004e2c: 1a5b subs r3, r3, r1 + 8004e2e: 1a9a subs r2, r3, r2 + 8004e30: 2a00 cmp r2, #0 + 8004e32: da0e bge.n 8004e52 + 8004e34: 2b00 cmp r3, #0 + 8004e36: dd0a ble.n 8004e4e + 8004e38: 1a09 subs r1, r1, r0 + 8004e3a: b289 uxth r1, r1 + 8004e3c: 6860 ldr r0, [r4, #4] + 8004e3e: 8121 strh r1, [r4, #8] + 8004e40: f7fe ff1c bl 8003c7c + 8004e44: e003 b.n 8004e4e + 8004e46: 4628 mov r0, r5 + 8004e48: f7ff f986 bl 8004158 + 8004e4c: 2500 movs r5, #0 + 8004e4e: 6025 str r5, [r4, #0] + 8004e50: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004e52: 89b8 ldrh r0, [r7, #12] + 8004e54: f7fe f917 bl 8003086 + 8004e58: 07c3 lsls r3, r0, #31 + 8004e5a: d507 bpl.n 8004e6c + 8004e5c: 68e3 ldr r3, [r4, #12] + 8004e5e: 2001 movs r0, #1 + 8004e60: 899f ldrh r7, [r3, #12] + 8004e62: f7fe f910 bl 8003086 + 8004e66: 68e3 ldr r3, [r4, #12] + 8004e68: 4307 orrs r7, r0 + 8004e6a: 819f strh r7, [r3, #12] + 8004e6c: 682f ldr r7, [r5, #0] + 8004e6e: 4628 mov r0, r5 + 8004e70: f7ff f964 bl 800413c + 8004e74: 2f00 cmp r7, #0 + 8004e76: d0e9 beq.n 8004e4c + 8004e78: 463d mov r5, r7 + 8004e7a: e7d1 b.n 8004e20 + 8004e7c: 0800bcd4 .word 0x0800bcd4 + 8004e80: 0800bd06 .word 0x0800bd06 + 8004e84: 0800b0a6 .word 0x0800b0a6 + 8004e88: 20018aa4 .word 0x20018aa4 + +08004e8c : + 8004e8c: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004e8e: 4605 mov r5, r0 + 8004e90: b930 cbnz r0, 8004ea0 + 8004e92: 4b1c ldr r3, [pc, #112] @ (8004f04 ) + 8004e94: 491c ldr r1, [pc, #112] @ (8004f08 ) + 8004e96: 481d ldr r0, [pc, #116] @ (8004f0c ) + 8004e98: f240 727d movw r2, #1917 @ 0x77d + 8004e9c: f005 f96c bl 800a178 + 8004ea0: 4b1b ldr r3, [pc, #108] @ (8004f10 ) + 8004ea2: 881e ldrh r6, [r3, #0] + 8004ea4: b32e cbz r6, 8004ef2 + 8004ea6: 4c1b ldr r4, [pc, #108] @ (8004f14 ) + 8004ea8: 2300 movs r3, #0 + 8004eaa: 8023 strh r3, [r4, #0] + 8004eac: e017 b.n 8004ede + 8004eae: f7ff ff89 bl 8004dc4 + 8004eb2: 2804 cmp r0, #4 + 8004eb4: d11d bne.n 8004ef2 + 8004eb6: 8823 ldrh r3, [r4, #0] + 8004eb8: 3301 adds r3, #1 + 8004eba: 42b3 cmp r3, r6 + 8004ebc: da19 bge.n 8004ef2 + 8004ebe: f7ff ff81 bl 8004dc4 + 8004ec2: 0207 lsls r7, r0, #8 + 8004ec4: f7ff ff7e bl 8004dc4 + 8004ec8: b2bf uxth r7, r7 + 8004eca: ea40 0307 orr.w r3, r0, r7 + 8004ece: b29b uxth r3, r3 + 8004ed0: 1e5a subs r2, r3, #1 + 8004ed2: f5b2 7f06 cmp.w r2, #536 @ 0x218 + 8004ed6: bf28 it cs + 8004ed8: f44f 7306 movcs.w r3, #536 @ 0x218 + 8004edc: 866b strh r3, [r5, #50] @ 0x32 + 8004ede: 8823 ldrh r3, [r4, #0] + 8004ee0: 42b3 cmp r3, r6 + 8004ee2: d206 bcs.n 8004ef2 + 8004ee4: f7ff ff6e bl 8004dc4 + 8004ee8: 2801 cmp r0, #1 + 8004eea: d0f8 beq.n 8004ede + 8004eec: 2802 cmp r0, #2 + 8004eee: d0de beq.n 8004eae + 8004ef0: b900 cbnz r0, 8004ef4 + 8004ef2: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004ef4: f7ff ff66 bl 8004dc4 + 8004ef8: 2801 cmp r0, #1 + 8004efa: d9fa bls.n 8004ef2 + 8004efc: 8823 ldrh r3, [r4, #0] + 8004efe: 3b02 subs r3, #2 + 8004f00: 4403 add r3, r0 + 8004f02: e7d2 b.n 8004eaa + 8004f04: 0800bcd4 .word 0x0800bcd4 + 8004f08: 0800bd2b .word 0x0800bd2b + 8004f0c: 0800b0a6 .word 0x0800b0a6 + 8004f10: 20018ab2 .word 0x20018ab2 + 8004f14: 20018aa8 .word 0x20018aa8 + +08004f18 : + 8004f18: b510 push {r4, lr} + 8004f1a: 4b0c ldr r3, [pc, #48] @ (8004f4c ) + 8004f1c: 781b ldrb r3, [r3, #0] + 8004f1e: 4604 mov r4, r0 + 8004f20: f013 0010 ands.w r0, r3, #16 + 8004f24: d011 beq.n 8004f4a + 8004f26: 8b63 ldrh r3, [r4, #26] + 8004f28: 06db lsls r3, r3, #27 + 8004f2a: d406 bmi.n 8004f3a + 8004f2c: f8d4 3090 ldr.w r3, [r4, #144] @ 0x90 + 8004f30: b11b cbz r3, 8004f3a + 8004f32: 6920 ldr r0, [r4, #16] + 8004f34: f06f 010e mvn.w r1, #14 + 8004f38: 4798 blx r3 + 8004f3a: 4805 ldr r0, [pc, #20] @ (8004f50 ) + 8004f3c: 4621 mov r1, r4 + 8004f3e: f7ff f9ab bl 8004298 + 8004f42: 4620 mov r0, r4 + 8004f44: f7ff f86e bl 8004024 + 8004f48: 2001 movs r0, #1 + 8004f4a: bd10 pop {r4, pc} + 8004f4c: 20018a98 .word 0x20018a98 + 8004f50: 20018a80 .word 0x20018a80 + +08004f54 : + 8004f54: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8004f58: f8df a0b0 ldr.w sl, [pc, #176] @ 800500c + 8004f5c: f8df 90b0 ldr.w r9, [pc, #176] @ 8005010 + 8004f60: 4607 mov r7, r0 + 8004f62: 460c mov r4, r1 + 8004f64: 4690 mov r8, r2 + 8004f66: 2c00 cmp r4, #0 + 8004f68: d044 beq.n 8004ff4 + 8004f6a: 68e3 ldr r3, [r4, #12] + 8004f6c: 6858 ldr r0, [r3, #4] + 8004f6e: f7fe f88d bl 800308c + 8004f72: 68e3 ldr r3, [r4, #12] + 8004f74: 8925 ldrh r5, [r4, #8] + 8004f76: 4683 mov fp, r0 + 8004f78: 8998 ldrh r0, [r3, #12] + 8004f7a: f7fe f884 bl 8003086 + 8004f7e: f8da 3000 ldr.w r3, [sl] + 8004f82: f010 0003 ands.w r0, r0, #3 + 8004f86: eba5 0503 sub.w r5, r5, r3 + 8004f8a: bf18 it ne + 8004f8c: 2001 movne r0, #1 + 8004f8e: 445d add r5, fp + 8004f90: 4405 add r5, r0 + 8004f92: 2d00 cmp r5, #0 + 8004f94: 4626 mov r6, r4 + 8004f96: dc2e bgt.n 8004ff6 + 8004f98: 6870 ldr r0, [r6, #4] + 8004f9a: 6824 ldr r4, [r4, #0] + 8004f9c: f7fe fec6 bl 8003d2c + 8004fa0: f8b7 3066 ldrh.w r3, [r7, #102] @ 0x66 + 8004fa4: 4283 cmp r3, r0 + 8004fa6: 4605 mov r5, r0 + 8004fa8: d206 bcs.n 8004fb8 + 8004faa: 4b14 ldr r3, [pc, #80] @ (8004ffc ) + 8004fac: 4914 ldr r1, [pc, #80] @ (8005000 ) + 8004fae: 4815 ldr r0, [pc, #84] @ (8005004 ) + 8004fb0: f240 4257 movw r2, #1111 @ 0x457 + 8004fb4: f005 f8e0 bl 800a178 + 8004fb8: f8b7 3066 ldrh.w r3, [r7, #102] @ 0x66 + 8004fbc: f8b9 2000 ldrh.w r2, [r9] + 8004fc0: 1b5b subs r3, r3, r5 + 8004fc2: f8a7 3066 strh.w r3, [r7, #102] @ 0x66 + 8004fc6: 8933 ldrh r3, [r6, #8] + 8004fc8: 4630 mov r0, r6 + 8004fca: 4413 add r3, r2 + 8004fcc: f8a9 3000 strh.w r3, [r9] + 8004fd0: f7ff f8b4 bl 800413c + 8004fd4: f8b7 3066 ldrh.w r3, [r7, #102] @ 0x66 8004fd8: 2b00 cmp r3, #0 - 8004fda: f000 833c beq.w 8005656 - 8004fde: 464c mov r4, r9 - 8004fe0: f8d9 900c ldr.w r9, [r9, #12] - 8004fe4: e7ce b.n 8004f84 - 8004fe6: 0798 lsls r0, r3, #30 - 8004fe8: f57f aea9 bpl.w 8004d3e - 8004fec: f899 0015 ldrb.w r0, [r9, #21] - 8004ff0: f7fe fc32 bl 8003858 - 8004ff4: 4682 mov sl, r0 - 8004ff6: bb78 cbnz r0, 8005058 - 8004ff8: f8d9 3018 ldr.w r3, [r9, #24] - 8004ffc: 2b00 cmp r3, #0 - 8004ffe: f43f ae9e beq.w 8004d3e - 8005002: 4601 mov r1, r0 - 8005004: f04f 32ff mov.w r2, #4294967295 - 8005008: f8d9 0010 ldr.w r0, [r9, #16] - 800500c: 4798 blx r3 - 800500e: e696 b.n 8004d3e - 8005010: 0800b3d3 .word 0x0800b3d3 - 8005014: 0800b18b .word 0x0800b18b - 8005018: 0800b3fa .word 0x0800b3fa - 800501c: 0800b424 .word 0x0800b424 - 8005020: 0800b44b .word 0x0800b44b - 8005024: 0800a54d .word 0x0800a54d - 8005028: 0800b476 .word 0x0800b476 - 800502c: 200082e0 .word 0x200082e0 - 8005030: 200082d8 .word 0x200082d8 - 8005034: 200082c4 .word 0x200082c4 - 8005038: 200082e8 .word 0x200082e8 - 800503c: 200082fe .word 0x200082fe - 8005040: 200082e4 .word 0x200082e4 - 8005044: 20004d2c .word 0x20004d2c - 8005048: 200082b4 .word 0x200082b4 - 800504c: 200082b0 .word 0x200082b0 - 8005050: 200082c8 .word 0x200082c8 - 8005054: 200082dc .word 0x200082dc - 8005058: 697b ldr r3, [r7, #20] - 800505a: 6832 ldr r2, [r6, #0] - 800505c: 6003 str r3, [r0, #0] - 800505e: 693b ldr r3, [r7, #16] - 8005060: 6043 str r3, [r0, #4] - 8005062: f8b9 3016 ldrh.w r3, [r9, #22] - 8005066: 82c3 strh r3, [r0, #22] - 8005068: 7813 ldrb r3, [r2, #0] - 800506a: 7852 ldrb r2, [r2, #1] - 800506c: 4fa6 ldr r7, [pc, #664] ; (8005308 ) - 800506e: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8005072: 8303 strh r3, [r0, #24] - 8005074: 2303 movs r3, #3 - 8005076: 7503 strb r3, [r0, #20] - 8005078: 683b ldr r3, [r7, #0] - 800507a: 3301 adds r3, #1 - 800507c: 6243 str r3, [r0, #36] ; 0x24 - 800507e: 62c3 str r3, [r0, #44] ; 0x2c - 8005080: f7fe fa2a bl 80034d8 - 8005084: 683b ldr r3, [r7, #0] - 8005086: f8ca 0058 str.w r0, [sl, #88] ; 0x58 - 800508a: 3b01 subs r3, #1 - 800508c: f8ca 3054 str.w r3, [sl, #84] ; 0x54 - 8005090: f8d9 3010 ldr.w r3, [r9, #16] - 8005094: f8ca 0050 str.w r0, [sl, #80] ; 0x50 - 8005098: f8ca 0044 str.w r0, [sl, #68] ; 0x44 - 800509c: f8ca 005c str.w r0, [sl, #92] ; 0x5c - 80050a0: f8ca 3010 str.w r3, [sl, #16] - 80050a4: f8ca 907c str.w r9, [sl, #124] ; 0x7c - 80050a8: f899 3009 ldrb.w r3, [r9, #9] - 80050ac: f003 030c and.w r3, r3, #12 - 80050b0: f88a 3009 strb.w r3, [sl, #9] - 80050b4: f899 3008 ldrb.w r3, [r9, #8] - 80050b8: f88a 3008 strb.w r3, [sl, #8] - 80050bc: f8d8 3000 ldr.w r3, [r8] - 80050c0: f8ca 300c str.w r3, [sl, #12] - 80050c4: f8c8 a000 str.w sl, [r8] - 80050c8: f001 f9ce bl 8006468 - 80050cc: 4b8f ldr r3, [pc, #572] ; (800530c ) - 80050ce: 2201 movs r2, #1 - 80050d0: 4650 mov r0, sl - 80050d2: 701a strb r2, [r3, #0] - 80050d4: f7ff f868 bl 80041a8 - 80050d8: 6833 ldr r3, [r6, #0] - 80050da: f8ba 6032 ldrh.w r6, [sl, #50] ; 0x32 - 80050de: 89db ldrh r3, [r3, #14] - 80050e0: f8aa 3060 strh.w r3, [sl, #96] ; 0x60 - 80050e4: f10a 0204 add.w r2, sl, #4 - 80050e8: f8aa 3062 strh.w r3, [sl, #98] ; 0x62 - 80050ec: 4610 mov r0, r2 - 80050ee: 9205 str r2, [sp, #20] - 80050f0: f003 fa68 bl 80085c4 - 80050f4: 9a05 ldr r2, [sp, #20] - 80050f6: 4601 mov r1, r0 - 80050f8: 4630 mov r0, r6 - 80050fa: f7fe fa07 bl 800350c - 80050fe: 2112 movs r1, #18 - 8005100: f8aa 0032 strh.w r0, [sl, #50] ; 0x32 - 8005104: 4650 mov r0, sl - 8005106: f000 fce3 bl 8005ad0 - 800510a: b120 cbz r0, 8005116 - 800510c: 4621 mov r1, r4 - 800510e: 4650 mov r0, sl - 8005110: f7fe fabc bl 800368c - 8005114: e613 b.n 8004d3e - 8005116: 4650 mov r0, sl - 8005118: e726 b.n 8004f68 - 800511a: 4b7d ldr r3, [pc, #500] ; (8005310 ) - 800511c: 602c str r4, [r5, #0] - 800511e: 781a ldrb r2, [r3, #0] - 8005120: 0751 lsls r1, r2, #29 - 8005122: d539 bpl.n 8005198 - 8005124: 7d21 ldrb r1, [r4, #20] - 8005126: 2902 cmp r1, #2 - 8005128: d11f bne.n 800516a - 800512a: 6d22 ldr r2, [r4, #80] ; 0x50 - 800512c: f8db 3000 ldr.w r3, [fp] - 8005130: 429a cmp r2, r3 - 8005132: d107 bne.n 8005144 - 8005134: 783b ldrb r3, [r7, #0] - 8005136: f043 0308 orr.w r3, r3, #8 - 800513a: 703b strb r3, [r7, #0] - 800513c: 8b63 ldrh r3, [r4, #26] - 800513e: f023 0301 bic.w r3, r3, #1 - 8005142: 8363 strh r3, [r4, #26] - 8005144: 783b ldrb r3, [r7, #0] - 8005146: 0718 lsls r0, r3, #28 - 8005148: f140 8207 bpl.w 800555a - 800514c: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 8005150: b11b cbz r3, 800515a - 8005152: 6920 ldr r0, [r4, #16] - 8005154: f06f 010d mvn.w r1, #13 - 8005158: 4798 blx r3 - 800515a: 486e ldr r0, [pc, #440] ; (8005314 ) - 800515c: 4621 mov r1, r4 - 800515e: f7fe fa2f bl 80035c0 - 8005162: 4620 mov r0, r4 - 8005164: f7fe f8f2 bl 800334c - 8005168: e69e b.n 8004ea8 - 800516a: 4b67 ldr r3, [pc, #412] ; (8005308 ) - 800516c: 6a62 ldr r2, [r4, #36] ; 0x24 - 800516e: 681b ldr r3, [r3, #0] - 8005170: 429a cmp r2, r3 - 8005172: d007 beq.n 8005184 - 8005174: 1a9b subs r3, r3, r2 - 8005176: d4e5 bmi.n 8005144 - 8005178: 8d22 ldrh r2, [r4, #40] ; 0x28 - 800517a: 1a9b subs r3, r3, r2 - 800517c: 2b00 cmp r3, #0 - 800517e: dce1 bgt.n 8005144 - 8005180: 8b63 ldrh r3, [r4, #26] - 8005182: e010 b.n 80051a6 - 8005184: 2900 cmp r1, #0 - 8005186: d1d5 bne.n 8005134 - 8005188: 4b63 ldr r3, [pc, #396] ; (8005318 ) - 800518a: 4964 ldr r1, [pc, #400] ; (800531c ) - 800518c: 4864 ldr r0, [pc, #400] ; (8005320 ) - 800518e: f44f 724e mov.w r2, #824 ; 0x338 - 8005192: f004 f909 bl 80093a8 - 8005196: e7cd b.n 8005134 - 8005198: 0792 lsls r2, r2, #30 - 800519a: 8b63 ldrh r3, [r4, #26] - 800519c: d506 bpl.n 80051ac - 800519e: 7d22 ldrb r2, [r4, #20] - 80051a0: 3a02 subs r2, #2 - 80051a2: 2a01 cmp r2, #1 - 80051a4: d902 bls.n 80051ac - 80051a6: f043 0302 orr.w r3, r3, #2 - 80051aa: e7ca b.n 8005142 - 80051ac: 06d8 lsls r0, r3, #27 - 80051ae: bf5e ittt pl - 80051b0: 4b5c ldrpl r3, [pc, #368] ; (8005324 ) - 80051b2: 681b ldrpl r3, [r3, #0] - 80051b4: 6223 strpl r3, [r4, #32] - 80051b6: 2300 movs r3, #0 - 80051b8: f8a4 309a strh.w r3, [r4, #154] ; 0x9a - 80051bc: 4620 mov r0, r4 - 80051be: f7fe fff3 bl 80041a8 - 80051c2: 7d23 ldrb r3, [r4, #20] - 80051c4: 3b02 subs r3, #2 - 80051c6: 2b07 cmp r3, #7 - 80051c8: d8bc bhi.n 8005144 - 80051ca: e8df f013 tbh [pc, r3, lsl #1] - 80051ce: 0008 .short 0x0008 - 80051d0: 012700b5 .word 0x012700b5 - 80051d4: 0176012b .word 0x0176012b - 80051d8: 018f0127 .word 0x018f0127 - 80051dc: 01af .short 0x01af - 80051de: 4b4c ldr r3, [pc, #304] ; (8005310 ) - 80051e0: 781b ldrb r3, [r3, #0] - 80051e2: f003 0212 and.w r2, r3, #18 - 80051e6: 2a12 cmp r2, #18 - 80051e8: d16d bne.n 80052c6 - 80051ea: 6c62 ldr r2, [r4, #68] ; 0x44 - 80051ec: f8db 1000 ldr.w r1, [fp] - 80051f0: 3201 adds r2, #1 - 80051f2: 428a cmp r2, r1 - 80051f4: d167 bne.n 80052c6 - 80051f6: 4b44 ldr r3, [pc, #272] ; (8005308 ) - 80051f8: 6462 str r2, [r4, #68] ; 0x44 - 80051fa: 681b ldr r3, [r3, #0] - 80051fc: 6832 ldr r2, [r6, #0] - 80051fe: 8e66 ldrh r6, [r4, #50] ; 0x32 - 8005200: 1c59 adds r1, r3, #1 - 8005202: 6261 str r1, [r4, #36] ; 0x24 - 8005204: 62e1 str r1, [r4, #44] ; 0x2c - 8005206: 3b01 subs r3, #1 - 8005208: 89d2 ldrh r2, [r2, #14] - 800520a: 6563 str r3, [r4, #84] ; 0x54 - 800520c: 2304 movs r3, #4 - 800520e: f8a4 2060 strh.w r2, [r4, #96] ; 0x60 - 8005212: f8a4 2062 strh.w r2, [r4, #98] ; 0x62 - 8005216: 18e2 adds r2, r4, r3 - 8005218: 7523 strb r3, [r4, #20] - 800521a: 4610 mov r0, r2 - 800521c: 9205 str r2, [sp, #20] - 800521e: f003 f9d1 bl 80085c4 - 8005222: 9a05 ldr r2, [sp, #20] - 8005224: 4601 mov r1, r0 - 8005226: 4630 mov r0, r6 - 8005228: f7fe f970 bl 800350c - 800522c: f241 131c movw r3, #4380 ; 0x111c - 8005230: 0042 lsls r2, r0, #1 - 8005232: 429a cmp r2, r3 - 8005234: 4616 mov r6, r2 - 8005236: bf38 it cc - 8005238: 461e movcc r6, r3 - 800523a: ebb6 0f80 cmp.w r6, r0, lsl #2 - 800523e: 8660 strh r0, [r4, #50] ; 0x32 - 8005240: ea4f 0180 mov.w r1, r0, lsl #2 - 8005244: d933 bls.n 80052ae - 8005246: b28b uxth r3, r1 - 8005248: f8a4 3048 strh.w r3, [r4, #72] ; 0x48 - 800524c: f8b4 3066 ldrh.w r3, [r4, #102] ; 0x66 - 8005250: b933 cbnz r3, 8005260 - 8005252: 4b31 ldr r3, [pc, #196] ; (8005318 ) - 8005254: 4934 ldr r1, [pc, #208] ; (8005328 ) - 8005256: 4832 ldr r0, [pc, #200] ; (8005320 ) - 8005258: f44f 725b mov.w r2, #876 ; 0x36c - 800525c: f004 f8a4 bl 80093a8 - 8005260: f8b4 3066 ldrh.w r3, [r4, #102] ; 0x66 - 8005264: 6f26 ldr r6, [r4, #112] ; 0x70 - 8005266: 3b01 subs r3, #1 - 8005268: f8a4 3066 strh.w r3, [r4, #102] ; 0x66 - 800526c: bb1e cbnz r6, 80052b6 - 800526e: 6ee6 ldr r6, [r4, #108] ; 0x6c - 8005270: b936 cbnz r6, 8005280 - 8005272: 4b29 ldr r3, [pc, #164] ; (8005318 ) - 8005274: 492d ldr r1, [pc, #180] ; (800532c ) - 8005276: 482a ldr r0, [pc, #168] ; (8005320 ) - 8005278: f44f 725d mov.w r2, #884 ; 0x374 - 800527c: f004 f894 bl 80093a8 - 8005280: 6833 ldr r3, [r6, #0] - 8005282: 66e3 str r3, [r4, #108] ; 0x6c - 8005284: 4630 mov r0, r6 - 8005286: f7fe f8ed bl 8003464 - 800528a: 6f23 ldr r3, [r4, #112] ; 0x70 - 800528c: b9b3 cbnz r3, 80052bc - 800528e: f64f 73ff movw r3, #65535 ; 0xffff - 8005292: 8623 strh r3, [r4, #48] ; 0x30 - 8005294: f8d4 3088 ldr.w r3, [r4, #136] ; 0x88 - 8005298: 2b00 cmp r3, #0 - 800529a: f43f af71 beq.w 8005180 - 800529e: 6920 ldr r0, [r4, #16] - 80052a0: 2200 movs r2, #0 - 80052a2: 4621 mov r1, r4 - 80052a4: 4798 blx r3 - 80052a6: 300d adds r0, #13 - 80052a8: f47f af6a bne.w 8005180 - 80052ac: e5fc b.n 8004ea8 - 80052ae: 429a cmp r2, r3 - 80052b0: bf88 it hi - 80052b2: b293 uxthhi r3, r2 - 80052b4: e7c8 b.n 8005248 - 80052b6: 6833 ldr r3, [r6, #0] - 80052b8: 6723 str r3, [r4, #112] ; 0x70 - 80052ba: e7e3 b.n 8005284 - 80052bc: 2300 movs r3, #0 - 80052be: 8623 strh r3, [r4, #48] ; 0x30 - 80052c0: f884 3042 strb.w r3, [r4, #66] ; 0x42 - 80052c4: e7e6 b.n 8005294 - 80052c6: 06d9 lsls r1, r3, #27 - 80052c8: f57f af3c bpl.w 8005144 - 80052cc: 4a18 ldr r2, [pc, #96] ; (8005330 ) - 80052ce: 6833 ldr r3, [r6, #0] - 80052d0: 8811 ldrh r1, [r2, #0] - 80052d2: 4a0d ldr r2, [pc, #52] ; (8005308 ) - 80052d4: 8818 ldrh r0, [r3, #0] - 80052d6: 6812 ldr r2, [r2, #0] - 80052d8: 9002 str r0, [sp, #8] - 80052da: 885b ldrh r3, [r3, #2] - 80052dc: 9301 str r3, [sp, #4] - 80052de: 4b15 ldr r3, [pc, #84] ; (8005334 ) - 80052e0: 9300 str r3, [sp, #0] - 80052e2: 440a add r2, r1 - 80052e4: 3304 adds r3, #4 - 80052e6: f8db 1000 ldr.w r1, [fp] - 80052ea: 4620 mov r0, r4 - 80052ec: f000 fd6e bl 8005dcc - 80052f0: f894 3042 ldrb.w r3, [r4, #66] ; 0x42 - 80052f4: 2b05 cmp r3, #5 - 80052f6: f63f af25 bhi.w 8005144 - 80052fa: 2300 movs r3, #0 - 80052fc: 8623 strh r3, [r4, #48] ; 0x30 - 80052fe: 4620 mov r0, r4 - 8005300: f000 ffa2 bl 8006248 - 8005304: e71e b.n 8005144 - 8005306: bf00 nop - 8005308: 200082e4 .word 0x200082e4 - 800530c: 200082a8 .word 0x200082a8 - 8005310: 200082c4 .word 0x200082c4 - 8005314: 200082a4 .word 0x200082a4 - 8005318: 0800b18b .word 0x0800b18b - 800531c: 0800b4cd .word 0x0800b4cd - 8005320: 0800a54d .word 0x0800a54d - 8005324: 200082b4 .word 0x200082b4 - 8005328: 0800b4ed .word 0x0800b4ed - 800532c: 0800b503 .word 0x0800b503 - 8005330: 200082fe .word 0x200082fe - 8005334: 20004d2c .word 0x20004d2c - 8005338: 4b9e ldr r3, [pc, #632] ; (80055b4 ) - 800533a: 781b ldrb r3, [r3, #0] - 800533c: 06da lsls r2, r3, #27 - 800533e: d55f bpl.n 8005400 - 8005340: 6c63 ldr r3, [r4, #68] ; 0x44 - 8005342: f8db 1000 ldr.w r1, [fp] - 8005346: 43db mvns r3, r3 - 8005348: 42cb cmn r3, r1 - 800534a: d448 bmi.n 80053de - 800534c: 6d23 ldr r3, [r4, #80] ; 0x50 - 800534e: 1acb subs r3, r1, r3 - 8005350: 2b00 cmp r3, #0 - 8005352: dc44 bgt.n 80053de - 8005354: 2304 movs r3, #4 - 8005356: 7523 strb r3, [r4, #20] - 8005358: 6fe3 ldr r3, [r4, #124] ; 0x7c - 800535a: b91b cbnz r3, 8005364 - 800535c: 4620 mov r0, r4 - 800535e: f7fe fa17 bl 8003790 - 8005362: e5a1 b.n 8004ea8 - 8005364: 699b ldr r3, [r3, #24] - 8005366: b933 cbnz r3, 8005376 - 8005368: 4b93 ldr r3, [pc, #588] ; (80055b8 ) - 800536a: 4994 ldr r1, [pc, #592] ; (80055bc ) - 800536c: 4894 ldr r0, [pc, #592] ; (80055c0 ) - 800536e: f44f 726a mov.w r2, #936 ; 0x3a8 - 8005372: f004 f819 bl 80093a8 - 8005376: 6fe3 ldr r3, [r4, #124] ; 0x7c - 8005378: 699b ldr r3, [r3, #24] - 800537a: 2b00 cmp r3, #0 - 800537c: d0ee beq.n 800535c - 800537e: 6920 ldr r0, [r4, #16] - 8005380: 2200 movs r2, #0 - 8005382: 4621 mov r1, r4 - 8005384: 4798 blx r3 - 8005386: b118 cbz r0, 8005390 - 8005388: 300d adds r0, #13 - 800538a: f43f ad8d beq.w 8004ea8 - 800538e: e7e5 b.n 800535c - 8005390: 4620 mov r0, r4 - 8005392: f7fe ffdf bl 8004354 - 8005396: 4a8b ldr r2, [pc, #556] ; (80055c4 ) - 8005398: 8813 ldrh r3, [r2, #0] - 800539a: b10b cbz r3, 80053a0 - 800539c: 3b01 subs r3, #1 - 800539e: 8013 strh r3, [r2, #0] - 80053a0: 8e61 ldrh r1, [r4, #50] ; 0x32 - 80053a2: f241 131c movw r3, #4380 ; 0x111c - 80053a6: 004a lsls r2, r1, #1 - 80053a8: 429a cmp r2, r3 - 80053aa: 4616 mov r6, r2 - 80053ac: bf38 it cc - 80053ae: 461e movcc r6, r3 - 80053b0: ebb6 0f81 cmp.w r6, r1, lsl #2 - 80053b4: ea4f 0081 mov.w r0, r1, lsl #2 - 80053b8: d90d bls.n 80053d6 - 80053ba: b283 uxth r3, r0 - 80053bc: f8a4 3048 strh.w r3, [r4, #72] ; 0x48 - 80053c0: 783b ldrb r3, [r7, #0] - 80053c2: 0698 lsls r0, r3, #26 - 80053c4: f57f aebe bpl.w 8005144 - 80053c8: 8b63 ldrh r3, [r4, #26] - 80053ca: f043 0302 orr.w r3, r3, #2 - 80053ce: 8363 strh r3, [r4, #26] - 80053d0: 2307 movs r3, #7 - 80053d2: 7523 strb r3, [r4, #20] - 80053d4: e6b6 b.n 8005144 - 80053d6: 429a cmp r2, r3 - 80053d8: bf88 it hi - 80053da: b293 uxthhi r3, r2 - 80053dc: e7ee b.n 80053bc - 80053de: 4a7a ldr r2, [pc, #488] ; (80055c8 ) - 80053e0: 6833 ldr r3, [r6, #0] - 80053e2: 8810 ldrh r0, [r2, #0] - 80053e4: 4a79 ldr r2, [pc, #484] ; (80055cc ) - 80053e6: 881e ldrh r6, [r3, #0] - 80053e8: 6812 ldr r2, [r2, #0] - 80053ea: 9602 str r6, [sp, #8] - 80053ec: 885b ldrh r3, [r3, #2] - 80053ee: 9301 str r3, [sp, #4] - 80053f0: 4b77 ldr r3, [pc, #476] ; (80055d0 ) - 80053f2: 9300 str r3, [sp, #0] - 80053f4: 4402 add r2, r0 - 80053f6: 3304 adds r3, #4 - 80053f8: 4620 mov r0, r4 - 80053fa: f000 fce7 bl 8005dcc - 80053fe: e6a1 b.n 8005144 - 8005400: 079e lsls r6, r3, #30 - 8005402: f57f ae9f bpl.w 8005144 - 8005406: 4a71 ldr r2, [pc, #452] ; (80055cc ) - 8005408: 6a63 ldr r3, [r4, #36] ; 0x24 - 800540a: 6812 ldr r2, [r2, #0] - 800540c: 3b01 subs r3, #1 - 800540e: 4293 cmp r3, r2 - 8005410: f47f ae98 bne.w 8005144 - 8005414: 4620 mov r0, r4 - 8005416: f000 fc63 bl 8005ce0 - 800541a: e693 b.n 8005144 - 800541c: 4620 mov r0, r4 - 800541e: f7fe ff99 bl 8004354 - 8005422: e7cd b.n 80053c0 - 8005424: 4620 mov r0, r4 - 8005426: f7fe ff95 bl 8004354 - 800542a: 783b ldrb r3, [r7, #0] - 800542c: f013 0f20 tst.w r3, #32 - 8005430: 4b60 ldr r3, [pc, #384] ; (80055b4 ) - 8005432: 781b ldrb r3, [r3, #0] - 8005434: d032 beq.n 800549c - 8005436: f013 0f10 tst.w r3, #16 - 800543a: 8b63 ldrh r3, [r4, #26] - 800543c: d029 beq.n 8005492 - 800543e: 6d21 ldr r1, [r4, #80] ; 0x50 - 8005440: f8db 2000 ldr.w r2, [fp] - 8005444: 4291 cmp r1, r2 - 8005446: d124 bne.n 8005492 - 8005448: 6ee2 ldr r2, [r4, #108] ; 0x6c - 800544a: bb12 cbnz r2, 8005492 - 800544c: f043 0302 orr.w r3, r3, #2 - 8005450: 8363 strh r3, [r4, #26] - 8005452: 4620 mov r0, r4 - 8005454: f7fe f882 bl 800355c - 8005458: f8d8 3000 ldr.w r3, [r8] - 800545c: 429c cmp r4, r3 - 800545e: d10a bne.n 8005476 - 8005460: 68e3 ldr r3, [r4, #12] - 8005462: f8c8 3000 str.w r3, [r8] - 8005466: e008 b.n 800547a - 8005468: 68da ldr r2, [r3, #12] - 800546a: 4294 cmp r4, r2 - 800546c: d102 bne.n 8005474 - 800546e: 68e2 ldr r2, [r4, #12] - 8005470: 60da str r2, [r3, #12] - 8005472: e002 b.n 800547a - 8005474: 4613 mov r3, r2 - 8005476: 2b00 cmp r3, #0 - 8005478: d1f6 bne.n 8005468 - 800547a: 4b56 ldr r3, [pc, #344] ; (80055d4 ) - 800547c: 2201 movs r2, #1 - 800547e: 701a strb r2, [r3, #0] - 8005480: 230a movs r3, #10 - 8005482: 7523 strb r3, [r4, #20] - 8005484: 4b54 ldr r3, [pc, #336] ; (80055d8 ) - 8005486: 681a ldr r2, [r3, #0] - 8005488: 60e2 str r2, [r4, #12] - 800548a: 601c str r4, [r3, #0] - 800548c: f000 ffec bl 8006468 - 8005490: e658 b.n 8005144 - 8005492: f043 0302 orr.w r3, r3, #2 - 8005496: 8363 strh r3, [r4, #26] - 8005498: 2308 movs r3, #8 - 800549a: e79a b.n 80053d2 - 800549c: 06d9 lsls r1, r3, #27 - 800549e: f57f ae51 bpl.w 8005144 - 80054a2: 6d22 ldr r2, [r4, #80] ; 0x50 - 80054a4: f8db 3000 ldr.w r3, [fp] - 80054a8: 429a cmp r2, r3 - 80054aa: f47f ae4b bne.w 8005144 - 80054ae: 6ee3 ldr r3, [r4, #108] ; 0x6c - 80054b0: 2b00 cmp r3, #0 - 80054b2: f47f ae47 bne.w 8005144 - 80054b6: 2306 movs r3, #6 - 80054b8: e78b b.n 80053d2 - 80054ba: 4620 mov r0, r4 - 80054bc: f7fe ff4a bl 8004354 - 80054c0: 783b ldrb r3, [r7, #0] - 80054c2: 069a lsls r2, r3, #26 - 80054c4: f57f ae3e bpl.w 8005144 - 80054c8: 8b63 ldrh r3, [r4, #26] - 80054ca: f043 0302 orr.w r3, r3, #2 - 80054ce: 8363 strh r3, [r4, #26] - 80054d0: 4620 mov r0, r4 - 80054d2: f7fe f843 bl 800355c - 80054d6: f8d8 3000 ldr.w r3, [r8] - 80054da: 429c cmp r4, r3 - 80054dc: d0c0 beq.n 8005460 + 8004fda: d0c4 beq.n 8004f66 + 8004fdc: 2c00 cmp r4, #0 + 8004fde: d1c4 bne.n 8004f6a + 8004fe0: f1b8 0f00 cmp.w r8, #0 + 8004fe4: d106 bne.n 8004ff4 + 8004fe6: 4b05 ldr r3, [pc, #20] @ (8004ffc ) + 8004fe8: 4907 ldr r1, [pc, #28] @ (8005008 ) + 8004fea: 4806 ldr r0, [pc, #24] @ (8005004 ) + 8004fec: f240 4261 movw r2, #1121 @ 0x461 + 8004ff0: f005 f8c2 bl 800a178 + 8004ff4: 2600 movs r6, #0 + 8004ff6: 4630 mov r0, r6 + 8004ff8: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8004ffc: 0800bcd4 .word 0x0800bcd4 + 8005000: 0800bd45 .word 0x0800bd45 + 8005004: 0800b0a6 .word 0x0800b0a6 + 8005008: 0800bd6d .word 0x0800bd6d + 800500c: 20018aa0 .word 0x20018aa0 + 8005010: 20018a9c .word 0x20018a9c + +08005014 : + 8005014: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8005018: 7d03 ldrb r3, [r0, #20] + 800501a: 2b03 cmp r3, #3 + 800501c: 4604 mov r4, r0 + 800501e: d806 bhi.n 800502e + 8005020: 4b35 ldr r3, [pc, #212] @ (80050f8 ) + 8005022: 4936 ldr r1, [pc, #216] @ (80050fc ) + 8005024: 4836 ldr r0, [pc, #216] @ (8005100 ) + 8005026: f240 427c movw r2, #1148 @ 0x47c + 800502a: f005 f8a5 bl 800a178 + 800502e: 4a35 ldr r2, [pc, #212] @ (8005104 ) + 8005030: 4e35 ldr r6, [pc, #212] @ (8005108 ) + 8005032: 7812 ldrb r2, [r2, #0] + 8005034: 6833 ldr r3, [r6, #0] + 8005036: 4f35 ldr r7, [pc, #212] @ (800510c ) + 8005038: f012 0f10 tst.w r2, #16 + 800503c: f000 8096 beq.w 800516c + 8005040: e9d4 0c15 ldrd r0, ip, [r4, #84] @ 0x54 + 8005044: f8df 90cc ldr.w r9, [pc, #204] @ 8005114 + 8005048: f8b4 1060 ldrh.w r1, [r4, #96] @ 0x60 + 800504c: f8d9 2000 ldr.w r2, [r9] + 8005050: eba0 0e03 sub.w lr, r0, r3 + 8005054: f1be 0f00 cmp.w lr, #0 + 8005058: db0c blt.n 8005074 + 800505a: 4298 cmp r0, r3 + 800505c: d103 bne.n 8005066 + 800505e: ebac 0002 sub.w r0, ip, r2 + 8005062: 2800 cmp r0, #0 + 8005064: db06 blt.n 8005074 + 8005066: 4594 cmp ip, r2 + 8005068: d113 bne.n 8005092 + 800506a: 4829 ldr r0, [pc, #164] @ (8005110 ) + 800506c: 6800 ldr r0, [r0, #0] + 800506e: 89c0 ldrh r0, [r0, #14] + 8005070: 4288 cmp r0, r1 + 8005072: d90e bls.n 8005092 + 8005074: 4826 ldr r0, [pc, #152] @ (8005110 ) + 8005076: f8b4 8062 ldrh.w r8, [r4, #98] @ 0x62 + 800507a: 6800 ldr r0, [r0, #0] + 800507c: 89c0 ldrh r0, [r0, #14] + 800507e: f8a4 0060 strh.w r0, [r4, #96] @ 0x60 + 8005082: fa1f fe80 uxth.w lr, r0 + 8005086: e9c4 3215 strd r3, r2, [r4, #84] @ 0x54 + 800508a: 45f0 cmp r8, lr + 800508c: bf38 it cc + 800508e: f8a4 0062 strhcc.w r0, [r4, #98] @ 0x62 + 8005092: 6c60 ldr r0, [r4, #68] @ 0x44 + 8005094: 1a13 subs r3, r2, r0 + 8005096: 2b00 cmp r3, #0 + 8005098: f300 8176 bgt.w 8005388 + 800509c: 883b ldrh r3, [r7, #0] + 800509e: 2b00 cmp r3, #0 + 80050a0: f040 816e bne.w 8005380 + 80050a4: f8b4 3060 ldrh.w r3, [r4, #96] @ 0x60 + 80050a8: 6da5 ldr r5, [r4, #88] @ 0x58 + 80050aa: 4461 add r1, ip + 80050ac: 442b add r3, r5 + 80050ae: 428b cmp r3, r1 + 80050b0: f040 8166 bne.w 8005380 + 80050b4: f9b4 3030 ldrsh.w r3, [r4, #48] @ 0x30 + 80050b8: 2b00 cmp r3, #0 + 80050ba: f2c0 8161 blt.w 8005380 + 80050be: 4290 cmp r0, r2 + 80050c0: f040 815e bne.w 8005380 + 80050c4: f894 3043 ldrb.w r3, [r4, #67] @ 0x43 + 80050c8: 2bff cmp r3, #255 @ 0xff + 80050ca: bf1c itt ne + 80050cc: 3301 addne r3, #1 + 80050ce: f884 3043 strbne.w r3, [r4, #67] @ 0x43 + 80050d2: f894 3043 ldrb.w r3, [r4, #67] @ 0x43 + 80050d6: 2b03 cmp r3, #3 + 80050d8: d91e bls.n 8005118 + 80050da: f8b4 2048 ldrh.w r2, [r4, #72] @ 0x48 + 80050de: 8e63 ldrh r3, [r4, #50] @ 0x32 + 80050e0: 4413 add r3, r2 + 80050e2: b29b uxth r3, r3 + 80050e4: 429a cmp r2, r3 + 80050e6: bf88 it hi + 80050e8: f64f 73ff movwhi r3, #65535 @ 0xffff + 80050ec: f8a4 3048 strh.w r3, [r4, #72] @ 0x48 + 80050f0: 4620 mov r0, r4 + 80050f2: f001 fc81 bl 80069f8 + 80050f6: e010 b.n 800511a + 80050f8: 0800bcd4 .word 0x0800bcd4 + 80050fc: 0800bd8d .word 0x0800bd8d + 8005100: 0800b0a6 .word 0x0800b0a6 + 8005104: 20018a99 .word 0x20018a99 + 8005108: 20018aa4 .word 0x20018aa4 + 800510c: 20018a9a .word 0x20018a9a + 8005110: 20018ab4 .word 0x20018ab4 + 8005114: 20018aa0 .word 0x20018aa0 + 8005118: d0ea beq.n 80050f0 + 800511a: 6b63 ldr r3, [r4, #52] @ 0x34 + 800511c: b333 cbz r3, 800516c + 800511e: 6ba2 ldr r2, [r4, #56] @ 0x38 + 8005120: f8d9 1000 ldr.w r1, [r9] + 8005124: 1a52 subs r2, r2, r1 + 8005126: 2a00 cmp r2, #0 + 8005128: da20 bge.n 800516c + 800512a: 4ab6 ldr r2, [pc, #728] @ (8005404 ) + 800512c: f9b4 c03c ldrsh.w ip, [r4, #60] @ 0x3c + 8005130: 8815 ldrh r5, [r2, #0] + 8005132: b29b uxth r3, r3 + 8005134: f3cc 01cf ubfx r1, ip, #3, #16 + 8005138: 1aea subs r2, r5, r3 + 800513a: 1a52 subs r2, r2, r1 + 800513c: b210 sxth r0, r2 + 800513e: 2800 cmp r0, #0 + 8005140: bfbc itt lt + 8005142: 1b5b sublt r3, r3, r5 + 8005144: 18c9 addlt r1, r1, r3 + 8005146: f9b4 303e ldrsh.w r3, [r4, #62] @ 0x3e + 800514a: bfb8 it lt + 800514c: b208 sxthlt r0, r1 + 800514e: eba3 03a3 sub.w r3, r3, r3, asr #2 + 8005152: fa1c f282 uxtah r2, ip, r2 + 8005156: 4403 add r3, r0 + 8005158: b212 sxth r2, r2 + 800515a: b29b uxth r3, r3 + 800515c: 87e3 strh r3, [r4, #62] @ 0x3e + 800515e: eb03 03e2 add.w r3, r3, r2, asr #3 + 8005162: f8a4 3040 strh.w r3, [r4, #64] @ 0x40 + 8005166: 2300 movs r3, #0 + 8005168: 87a2 strh r2, [r4, #60] @ 0x3c + 800516a: 6363 str r3, [r4, #52] @ 0x34 + 800516c: 8838 ldrh r0, [r7, #0] + 800516e: 6833 ldr r3, [r6, #0] + 8005170: 6a62 ldr r2, [r4, #36] @ 0x24 + 8005172: 2800 cmp r0, #0 + 8005174: f000 835d beq.w 8005832 + 8005178: 7d21 ldrb r1, [r4, #20] + 800517a: 2906 cmp r1, #6 + 800517c: f200 8359 bhi.w 8005832 + 8005180: 1ad5 subs r5, r2, r3 + 8005182: 2d01 cmp r5, #1 + 8005184: f100 81aa bmi.w 80054dc + 8005188: f1c3 0101 rsb r1, r3, #1 + 800518c: 1a09 subs r1, r1, r0 + 800518e: 4411 add r1, r2 + 8005190: 2900 cmp r1, #0 + 8005192: f300 81a3 bgt.w 80054dc + 8005196: f8df 9284 ldr.w r9, [pc, #644] @ 800541c + 800519a: f8d9 8004 ldr.w r8, [r9, #4] + 800519e: f1b8 0f00 cmp.w r8, #0 + 80051a2: d106 bne.n 80051b2 + 80051a4: 4b98 ldr r3, [pc, #608] @ (8005408 ) + 80051a6: 4999 ldr r1, [pc, #612] @ (800540c ) + 80051a8: 4899 ldr r0, [pc, #612] @ (8005410 ) + 80051aa: f240 5294 movw r2, #1428 @ 0x594 + 80051ae: f004 ffe3 bl 800a178 + 80051b2: f64f 73fe movw r3, #65534 @ 0xfffe + 80051b6: 429d cmp r5, r3 + 80051b8: d906 bls.n 80051c8 + 80051ba: 4b93 ldr r3, [pc, #588] @ (8005408 ) + 80051bc: 4995 ldr r1, [pc, #596] @ (8005414 ) + 80051be: 4894 ldr r0, [pc, #592] @ (8005410 ) + 80051c0: f240 5295 movw r2, #1429 @ 0x595 + 80051c4: f004 ffd8 bl 800a178 + 80051c8: f8d9 3004 ldr.w r3, [r9, #4] + 80051cc: 891b ldrh r3, [r3, #8] + 80051ce: b2ad uxth r5, r5 + 80051d0: 42ab cmp r3, r5 + 80051d2: d206 bcs.n 80051e2 + 80051d4: 4b8c ldr r3, [pc, #560] @ (8005408 ) + 80051d6: 4990 ldr r1, [pc, #576] @ (8005418 ) + 80051d8: 488d ldr r0, [pc, #564] @ (8005410 ) + 80051da: f240 5297 movw r2, #1431 @ 0x597 + 80051de: f004 ffcb bl 800a178 + 80051e2: f8b9 3008 ldrh.w r3, [r9, #8] + 80051e6: 1b5b subs r3, r3, r5 + 80051e8: f8a9 3008 strh.w r3, [r9, #8] + 80051ec: f8d9 3004 ldr.w r3, [r9, #4] + 80051f0: 891b ldrh r3, [r3, #8] + 80051f2: 1b5b subs r3, r3, r5 + 80051f4: b29b uxth r3, r3 + 80051f6: 2100 movs r1, #0 + 80051f8: f8b8 200a ldrh.w r2, [r8, #10] + 80051fc: 42aa cmp r2, r5 + 80051fe: f0c0 8164 bcc.w 80054ca + 8005202: 4629 mov r1, r5 + 8005204: 4640 mov r0, r8 + 8005206: f7fe fc27 bl 8003a58 + 800520a: f8d9 200c ldr.w r2, [r9, #12] + 800520e: 6a63 ldr r3, [r4, #36] @ 0x24 + 8005210: 6033 str r3, [r6, #0] + 8005212: 6053 str r3, [r2, #4] + 8005214: 6833 ldr r3, [r6, #0] + 8005216: 6a62 ldr r2, [r4, #36] @ 0x24 + 8005218: 1a99 subs r1, r3, r2 + 800521a: 2900 cmp r1, #0 + 800521c: f2c0 8233 blt.w 8005686 + 8005220: 8d25 ldrh r5, [r4, #40] @ 0x28 + 8005222: 1c58 adds r0, r3, #1 + 8005224: 1a81 subs r1, r0, r2 + 8005226: 1b49 subs r1, r1, r5 + 8005228: 2900 cmp r1, #0 + 800522a: f300 822c bgt.w 8005686 + 800522e: 4293 cmp r3, r2 + 8005230: f040 8223 bne.w 800567a + 8005234: 4d79 ldr r5, [pc, #484] @ (800541c ) + 8005236: 68eb ldr r3, [r5, #12] + 8005238: f8b5 8008 ldrh.w r8, [r5, #8] + 800523c: 8998 ldrh r0, [r3, #12] + 800523e: f7fd ff22 bl 8003086 + 8005242: f010 0003 ands.w r0, r0, #3 + 8005246: bf18 it ne + 8005248: 2001 movne r0, #1 + 800524a: 8d22 ldrh r2, [r4, #40] @ 0x28 + 800524c: eb08 0300 add.w r3, r8, r0 + 8005250: b29b uxth r3, r3 + 8005252: 429a cmp r2, r3 + 8005254: 803b strh r3, [r7, #0] + 8005256: d242 bcs.n 80052de + 8005258: 68eb ldr r3, [r5, #12] + 800525a: 8998 ldrh r0, [r3, #12] + 800525c: f7fd ff13 bl 8003086 + 8005260: 07c2 lsls r2, r0, #31 + 8005262: d50f bpl.n 8005284 + 8005264: 68eb ldr r3, [r5, #12] + 8005266: f8b3 800c ldrh.w r8, [r3, #12] + 800526a: 4640 mov r0, r8 + 800526c: f7fd ff0b bl 8003086 + 8005270: f000 003e and.w r0, r0, #62 @ 0x3e + 8005274: f7fd ff07 bl 8003086 + 8005278: f428 587c bic.w r8, r8, #16128 @ 0x3f00 + 800527c: 68eb ldr r3, [r5, #12] + 800527e: ea40 0008 orr.w r0, r0, r8 + 8005282: 8198 strh r0, [r3, #12] + 8005284: 8d23 ldrh r3, [r4, #40] @ 0x28 + 8005286: 812b strh r3, [r5, #8] + 8005288: 68eb ldr r3, [r5, #12] + 800528a: 8998 ldrh r0, [r3, #12] + 800528c: f7fd fefb bl 8003086 + 8005290: 0783 lsls r3, r0, #30 + 8005292: bf48 it mi + 8005294: 892b ldrhmi r3, [r5, #8] + 8005296: 6868 ldr r0, [r5, #4] + 8005298: bf44 itt mi + 800529a: f103 33ff addmi.w r3, r3, #4294967295 + 800529e: 812b strhmi r3, [r5, #8] + 80052a0: 8929 ldrh r1, [r5, #8] + 80052a2: f7fe fceb bl 8003c7c + 80052a6: 68eb ldr r3, [r5, #12] + 80052a8: f8b5 8008 ldrh.w r8, [r5, #8] + 80052ac: 8998 ldrh r0, [r3, #12] + 80052ae: f7fd feea bl 8003086 + 80052b2: f010 0003 ands.w r0, r0, #3 + 80052b6: bf18 it ne + 80052b8: 2001 movne r0, #1 + 80052ba: 6832 ldr r2, [r6, #0] + 80052bc: 6a61 ldr r1, [r4, #36] @ 0x24 + 80052be: eb08 0300 add.w r3, r8, r0 + 80052c2: b29b uxth r3, r3 + 80052c4: 803b strh r3, [r7, #0] + 80052c6: 4413 add r3, r2 + 80052c8: 8d22 ldrh r2, [r4, #40] @ 0x28 + 80052ca: 440a add r2, r1 + 80052cc: 4293 cmp r3, r2 + 80052ce: d006 beq.n 80052de + 80052d0: 4b4d ldr r3, [pc, #308] @ (8005408 ) + 80052d2: 4953 ldr r1, [pc, #332] @ (8005420 ) + 80052d4: 484e ldr r0, [pc, #312] @ (8005410 ) + 80052d6: f240 52cb movw r2, #1483 @ 0x5cb + 80052da: f004 ff4d bl 800a178 + 80052de: 6f63 ldr r3, [r4, #116] @ 0x74 + 80052e0: 2b00 cmp r3, #0 + 80052e2: f000 810a beq.w 80054fa + 80052e6: 68eb ldr r3, [r5, #12] + 80052e8: 8998 ldrh r0, [r3, #12] + 80052ea: f7fd fecc bl 8003086 + 80052ee: 07c0 lsls r0, r0, #31 + 80052f0: f100 8100 bmi.w 80054f4 + 80052f4: f8d4 8074 ldr.w r8, [r4, #116] @ 0x74 + 80052f8: 6830 ldr r0, [r6, #0] + 80052fa: 883b ldrh r3, [r7, #0] + 80052fc: 4403 add r3, r0 + 80052fe: f1b8 0f00 cmp.w r8, #0 + 8005302: d03a beq.n 800537a + 8005304: f8d8 c00c ldr.w ip, [r8, #12] + 8005308: f8b8 1008 ldrh.w r1, [r8, #8] + 800530c: f8dc 2004 ldr.w r2, [ip, #4] + 8005310: 4411 add r1, r2 + 8005312: 1a59 subs r1, r3, r1 + 8005314: 2900 cmp r1, #0 + 8005316: f280 811d bge.w 8005554 + 800531a: 1a9b subs r3, r3, r2 + 800531c: 2b00 cmp r3, #0 + 800531e: dd2c ble.n 800537a + 8005320: 68eb ldr r3, [r5, #12] + 8005322: 1a12 subs r2, r2, r0 + 8005324: 812a strh r2, [r5, #8] + 8005326: 8998 ldrh r0, [r3, #12] + 8005328: f7fd fead bl 8003086 + 800532c: 0783 lsls r3, r0, #30 + 800532e: bf48 it mi + 8005330: 892b ldrhmi r3, [r5, #8] + 8005332: 6868 ldr r0, [r5, #4] + 8005334: bf44 itt mi + 8005336: f103 33ff addmi.w r3, r3, #4294967295 + 800533a: 812b strhmi r3, [r5, #8] + 800533c: 8929 ldrh r1, [r5, #8] + 800533e: f7fe fc9d bl 8003c7c + 8005342: 68eb ldr r3, [r5, #12] + 8005344: f8b5 9008 ldrh.w r9, [r5, #8] + 8005348: 8998 ldrh r0, [r3, #12] + 800534a: f7fd fe9c bl 8003086 + 800534e: f010 0003 ands.w r0, r0, #3 + 8005352: bf18 it ne + 8005354: 2001 movne r0, #1 + 8005356: 6832 ldr r2, [r6, #0] + 8005358: eb09 0300 add.w r3, r9, r0 + 800535c: b29b uxth r3, r3 + 800535e: 803b strh r3, [r7, #0] + 8005360: 4413 add r3, r2 + 8005362: f8d8 200c ldr.w r2, [r8, #12] + 8005366: 6852 ldr r2, [r2, #4] + 8005368: 4293 cmp r3, r2 + 800536a: d006 beq.n 800537a + 800536c: 4b26 ldr r3, [pc, #152] @ (8005408 ) + 800536e: 492d ldr r1, [pc, #180] @ (8005424 ) + 8005370: 4827 ldr r0, [pc, #156] @ (8005410 ) + 8005372: f240 52fc movw r2, #1532 @ 0x5fc + 8005376: f004 feff bl 800a178 + 800537a: f8c4 8074 str.w r8, [r4, #116] @ 0x74 + 800537e: e0bc b.n 80054fa + 8005380: 2300 movs r3, #0 + 8005382: f884 3043 strb.w r3, [r4, #67] @ 0x43 + 8005386: e6c8 b.n 800511a + 8005388: 6d21 ldr r1, [r4, #80] @ 0x50 + 800538a: 1a51 subs r1, r2, r1 + 800538c: 2900 cmp r1, #0 + 800538e: f300 8098 bgt.w 80054c2 + 8005392: 8b61 ldrh r1, [r4, #26] + 8005394: 0748 lsls r0, r1, #29 + 8005396: d509 bpl.n 80053ac + 8005398: f021 0104 bic.w r1, r1, #4 + 800539c: 8361 strh r1, [r4, #26] + 800539e: f8b4 104a ldrh.w r1, [r4, #74] @ 0x4a + 80053a2: f8a4 1048 strh.w r1, [r4, #72] @ 0x48 + 80053a6: 2100 movs r1, #0 + 80053a8: f8a4 106a strh.w r1, [r4, #106] @ 0x6a + 80053ac: f9b4 003c ldrsh.w r0, [r4, #60] @ 0x3c + 80053b0: 8fe1 ldrh r1, [r4, #62] @ 0x3e + 80053b2: 6462 str r2, [r4, #68] @ 0x44 + 80053b4: 7d22 ldrb r2, [r4, #20] + 80053b6: eb01 01e0 add.w r1, r1, r0, asr #3 + 80053ba: f8a4 1040 strh.w r1, [r4, #64] @ 0x40 + 80053be: 2a03 cmp r2, #3 + 80053c0: f04f 0100 mov.w r1, #0 + 80053c4: f8a4 1042 strh.w r1, [r4, #66] @ 0x42 + 80053c8: d938 bls.n 800543c + 80053ca: f8b4 2048 ldrh.w r2, [r4, #72] @ 0x48 + 80053ce: f8b4 104a ldrh.w r1, [r4, #74] @ 0x4a + 80053d2: 4291 cmp r1, r2 + 80053d4: b29b uxth r3, r3 + 80053d6: d927 bls.n 8005428 + 80053d8: 8b61 ldrh r1, [r4, #26] + 80053da: f411 6f00 tst.w r1, #2048 @ 0x800 + 80053de: 8e61 ldrh r1, [r4, #50] @ 0x32 + 80053e0: bf0c ite eq + 80053e2: 2002 moveq r0, #2 + 80053e4: 2001 movne r0, #1 + 80053e6: fb11 f100 smulbb r1, r1, r0 + 80053ea: b289 uxth r1, r1 + 80053ec: 4299 cmp r1, r3 + 80053ee: bf94 ite ls + 80053f0: 1850 addls r0, r2, r1 + 80053f2: 18d0 addhi r0, r2, r3 + 80053f4: b283 uxth r3, r0 + 80053f6: 429a cmp r2, r3 + 80053f8: d901 bls.n 80053fe + 80053fa: f64f 73ff movw r3, #65535 @ 0xffff + 80053fe: f8a4 3048 strh.w r3, [r4, #72] @ 0x48 + 8005402: e01b b.n 800543c + 8005404: 20018a8c .word 0x20018a8c + 8005408: 0800bcd4 .word 0x0800bcd4 + 800540c: 0800bda6 .word 0x0800bda6 + 8005410: 0800b0a6 .word 0x0800b0a6 + 8005414: 0800bdb6 .word 0x0800bdb6 + 8005418: 0800bdc5 .word 0x0800bdc5 + 800541c: 20018ab8 .word 0x20018ab8 + 8005420: 0800bdd5 .word 0x0800bdd5 + 8005424: 0800be0c .word 0x0800be0c + 8005428: f8b4 106a ldrh.w r1, [r4, #106] @ 0x6a + 800542c: 440b add r3, r1 + 800542e: b29b uxth r3, r3 + 8005430: 4299 cmp r1, r3 + 8005432: d82c bhi.n 800548e + 8005434: 429a cmp r2, r3 + 8005436: d92c bls.n 8005492 + 8005438: f8a4 306a strh.w r3, [r4, #106] @ 0x6a + 800543c: e9d4 211b ldrd r2, r1, [r4, #108] @ 0x6c + 8005440: 4620 mov r0, r4 + 8005442: f7ff fd87 bl 8004f54 + 8005446: 6ee1 ldr r1, [r4, #108] @ 0x6c + 8005448: 6720 str r0, [r4, #112] @ 0x70 + 800544a: 4602 mov r2, r0 + 800544c: 4620 mov r0, r4 + 800544e: f7ff fd81 bl 8004f54 + 8005452: 6f22 ldr r2, [r4, #112] @ 0x70 + 8005454: 66e0 str r0, [r4, #108] @ 0x6c + 8005456: fab2 f382 clz r3, r2 + 800545a: 095b lsrs r3, r3, #5 + 800545c: 425b negs r3, r3 + 800545e: 8623 strh r3, [r4, #48] @ 0x30 + 8005460: 2300 movs r3, #0 + 8005462: 7723 strb r3, [r4, #28] + 8005464: b908 cbnz r0, 800546a + 8005466: f8a4 0068 strh.w r0, [r4, #104] @ 0x68 + 800546a: 49a0 ldr r1, [pc, #640] @ (80056ec ) + 800546c: f8b4 3064 ldrh.w r3, [r4, #100] @ 0x64 + 8005470: 8809 ldrh r1, [r1, #0] + 8005472: 440b add r3, r1 + 8005474: f8a4 3064 strh.w r3, [r4, #100] @ 0x64 + 8005478: 8b63 ldrh r3, [r4, #26] + 800547a: 0519 lsls r1, r3, #20 + 800547c: f57f ae4d bpl.w 800511a + 8005480: b9da cbnz r2, 80054ba + 8005482: b968 cbnz r0, 80054a0 + 8005484: 8b63 ldrh r3, [r4, #26] + 8005486: f423 6300 bic.w r3, r3, #2048 @ 0x800 + 800548a: 8363 strh r3, [r4, #26] + 800548c: e645 b.n 800511a + 800548e: f64f 73ff movw r3, #65535 @ 0xffff + 8005492: 1a9b subs r3, r3, r2 + 8005494: f8a4 306a strh.w r3, [r4, #106] @ 0x6a + 8005498: 8e63 ldrh r3, [r4, #50] @ 0x32 + 800549a: 4413 add r3, r2 + 800549c: b29b uxth r3, r3 + 800549e: e7aa b.n 80053f6 + 80054a0: f8d4 804c ldr.w r8, [r4, #76] @ 0x4c + 80054a4: 68c3 ldr r3, [r0, #12] + 80054a6: 6858 ldr r0, [r3, #4] + 80054a8: f7fd fdf0 bl 800308c + 80054ac: eba8 0800 sub.w r8, r8, r0 + 80054b0: f1b8 0f00 cmp.w r8, #0 + 80054b4: f73f ae31 bgt.w 800511a + 80054b8: e7e4 b.n 8005484 + 80054ba: f8d4 804c ldr.w r8, [r4, #76] @ 0x4c + 80054be: 68d3 ldr r3, [r2, #12] + 80054c0: e7f1 b.n 80054a6 + 80054c2: 4620 mov r0, r4 + 80054c4: f001 fb12 bl 8006aec + 80054c8: e627 b.n 800511a + 80054ca: 1aaa subs r2, r5, r2 + 80054cc: f8a8 3008 strh.w r3, [r8, #8] + 80054d0: f8a8 100a strh.w r1, [r8, #10] + 80054d4: b295 uxth r5, r2 + 80054d6: f8d8 8000 ldr.w r8, [r8] + 80054da: e68d b.n 80051f8 + 80054dc: 1a9b subs r3, r3, r2 80054de: 2b00 cmp r3, #0 - 80054e0: d0cb beq.n 800547a - 80054e2: 68da ldr r2, [r3, #12] - 80054e4: 4294 cmp r4, r2 - 80054e6: d0c2 beq.n 800546e - 80054e8: 4613 mov r3, r2 - 80054ea: e7f8 b.n 80054de - 80054ec: 4620 mov r0, r4 - 80054ee: f7fe ff31 bl 8004354 - 80054f2: 4b30 ldr r3, [pc, #192] ; (80055b4 ) - 80054f4: 781b ldrb r3, [r3, #0] - 80054f6: 06db lsls r3, r3, #27 - 80054f8: f57f ae24 bpl.w 8005144 - 80054fc: 6d22 ldr r2, [r4, #80] ; 0x50 - 80054fe: f8db 3000 ldr.w r3, [fp] - 8005502: 429a cmp r2, r3 - 8005504: f47f ae1e bne.w 8005144 - 8005508: 6ee3 ldr r3, [r4, #108] ; 0x6c - 800550a: 2b00 cmp r3, #0 - 800550c: f47f ae1a bne.w 8005144 - 8005510: 4620 mov r0, r4 - 8005512: f7fe f823 bl 800355c - 8005516: f8d8 3000 ldr.w r3, [r8] - 800551a: 429c cmp r4, r3 - 800551c: d0a0 beq.n 8005460 - 800551e: 2b00 cmp r3, #0 - 8005520: d0ab beq.n 800547a - 8005522: 68da ldr r2, [r3, #12] - 8005524: 4294 cmp r4, r2 - 8005526: d0a2 beq.n 800546e - 8005528: 4613 mov r3, r2 - 800552a: e7f8 b.n 800551e - 800552c: 4620 mov r0, r4 - 800552e: f7fe ff11 bl 8004354 - 8005532: 4b20 ldr r3, [pc, #128] ; (80055b4 ) - 8005534: 781b ldrb r3, [r3, #0] - 8005536: 06de lsls r6, r3, #27 - 8005538: f57f ae04 bpl.w 8005144 - 800553c: 6d22 ldr r2, [r4, #80] ; 0x50 - 800553e: f8db 3000 ldr.w r3, [fp] - 8005542: 429a cmp r2, r3 - 8005544: f47f adfe bne.w 8005144 - 8005548: 6ee3 ldr r3, [r4, #108] ; 0x6c - 800554a: 2b00 cmp r3, #0 - 800554c: f47f adfa bne.w 8005144 - 8005550: 783b ldrb r3, [r7, #0] - 8005552: f043 0310 orr.w r3, r3, #16 - 8005556: 703b strb r3, [r7, #0] - 8005558: e5f4 b.n 8005144 - 800555a: 4b1a ldr r3, [pc, #104] ; (80055c4 ) - 800555c: 881a ldrh r2, [r3, #0] - 800555e: b12a cbz r2, 800556c - 8005560: f8d4 3080 ldr.w r3, [r4, #128] ; 0x80 - 8005564: b9fb cbnz r3, 80055a6 - 8005566: 4a17 ldr r2, [pc, #92] ; (80055c4 ) - 8005568: 2300 movs r3, #0 - 800556a: 8013 strh r3, [r2, #0] - 800556c: 4620 mov r0, r4 - 800556e: f7fe fe63 bl 8004238 - 8005572: 2800 cmp r0, #0 - 8005574: f47f ac98 bne.w 8004ea8 - 8005578: f8da 3000 ldr.w r3, [sl] - 800557c: 2b00 cmp r3, #0 - 800557e: d03d beq.n 80055fc - 8005580: 6fa3 ldr r3, [r4, #120] ; 0x78 - 8005582: b133 cbz r3, 8005592 - 8005584: 4b0c ldr r3, [pc, #48] ; (80055b8 ) - 8005586: 4915 ldr r1, [pc, #84] ; (80055dc ) - 8005588: 480d ldr r0, [pc, #52] ; (80055c0 ) - 800558a: f44f 72f3 mov.w r2, #486 ; 0x1e6 - 800558e: f003 ff0b bl 80093a8 - 8005592: 8b63 ldrh r3, [r4, #26] - 8005594: f8da 2000 ldr.w r2, [sl] - 8005598: f013 0310 ands.w r3, r3, #16 - 800559c: d020 beq.n 80055e0 - 800559e: 4610 mov r0, r2 - 80055a0: f7fd fc18 bl 8002dd4 - 80055a4: e6da b.n 800535c - 80055a6: 6920 ldr r0, [r4, #16] - 80055a8: 4621 mov r1, r4 - 80055aa: 4798 blx r3 - 80055ac: 300d adds r0, #13 - 80055ae: d1da bne.n 8005566 - 80055b0: e47a b.n 8004ea8 - 80055b2: bf00 nop - 80055b4: 200082c4 .word 0x200082c4 - 80055b8: 0800b18b .word 0x0800b18b - 80055bc: 0800b516 .word 0x0800b516 - 80055c0: 0800a54d .word 0x0800a54d - 80055c4: 200082d8 .word 0x200082d8 - 80055c8: 200082fe .word 0x200082fe - 80055cc: 200082e4 .word 0x200082e4 - 80055d0: 20004d2c .word 0x20004d2c - 80055d4: 200082a8 .word 0x200082a8 - 80055d8: 200082bc .word 0x200082bc - 80055dc: 0800b534 .word 0x0800b534 - 80055e0: f8d4 6084 ldr.w r6, [r4, #132] ; 0x84 - 80055e4: b1fe cbz r6, 8005626 - 80055e6: 6920 ldr r0, [r4, #16] - 80055e8: 4621 mov r1, r4 - 80055ea: 47b0 blx r6 - 80055ec: f110 0f0d cmn.w r0, #13 - 80055f0: f43f ac5a beq.w 8004ea8 - 80055f4: b110 cbz r0, 80055fc - 80055f6: f8da 3000 ldr.w r3, [sl] - 80055fa: 67a3 str r3, [r4, #120] ; 0x78 - 80055fc: 783b ldrb r3, [r7, #0] - 80055fe: 0699 lsls r1, r3, #26 - 8005600: d505 bpl.n 800560e - 8005602: 6fa3 ldr r3, [r4, #120] ; 0x78 - 8005604: b1ab cbz r3, 8005632 - 8005606: 7b5a ldrb r2, [r3, #13] - 8005608: f042 0220 orr.w r2, r2, #32 - 800560c: 735a strb r2, [r3, #13] - 800560e: 2300 movs r3, #0 - 8005610: 4620 mov r0, r4 - 8005612: 602b str r3, [r5, #0] - 8005614: f7fe fe10 bl 8004238 - 8005618: 2800 cmp r0, #0 - 800561a: f47f ac45 bne.w 8004ea8 - 800561e: 4620 mov r0, r4 - 8005620: f000 fc4c bl 8005ebc - 8005624: e440 b.n 8004ea8 - 8005626: 4633 mov r3, r6 - 8005628: 4621 mov r1, r4 - 800562a: 4630 mov r0, r6 - 800562c: f7fe fa7e bl 8003b2c - 8005630: e7dc b.n 80055ec - 8005632: 8d23 ldrh r3, [r4, #40] ; 0x28 - 8005634: f8d4 6084 ldr.w r6, [r4, #132] ; 0x84 - 8005638: f5b3 6f06 cmp.w r3, #2144 ; 0x860 - 800563c: bf1c itt ne - 800563e: 3301 addne r3, #1 - 8005640: 8523 strhne r3, [r4, #40] ; 0x28 - 8005642: 2e00 cmp r6, #0 - 8005644: d0e3 beq.n 800560e - 8005646: 2300 movs r3, #0 - 8005648: 6920 ldr r0, [r4, #16] - 800564a: 461a mov r2, r3 - 800564c: 4621 mov r1, r4 - 800564e: 47b0 blx r6 - 8005650: 300d adds r0, #13 - 8005652: d1dc bne.n 800560e - 8005654: e428 b.n 8004ea8 - 8005656: b13c cbz r4, 8005668 - 8005658: f8d9 300c ldr.w r3, [r9, #12] - 800565c: 60e3 str r3, [r4, #12] - 800565e: 4b11 ldr r3, [pc, #68] ; (80056a4 ) - 8005660: f8c9 200c str.w r2, [r9, #12] - 8005664: f8c3 9000 str.w r9, [r3] - 8005668: 4b0f ldr r3, [pc, #60] ; (80056a8 ) - 800566a: 781b ldrb r3, [r3, #0] - 800566c: 075c lsls r4, r3, #29 - 800566e: f53f ab66 bmi.w 8004d3e - 8005672: f013 0410 ands.w r4, r3, #16 - 8005676: f43f acb6 beq.w 8004fe6 - 800567a: 4b0c ldr r3, [pc, #48] ; (80056ac ) - 800567c: 881c ldrh r4, [r3, #0] - 800567e: 4b0c ldr r3, [pc, #48] ; (80056b0 ) - 8005680: 681a ldr r2, [r3, #0] - 8005682: 880b ldrh r3, [r1, #0] - 8005684: e9cd 0301 strd r0, r3, [sp, #4] - 8005688: 4b0a ldr r3, [pc, #40] ; (80056b4 ) - 800568a: 9300 str r3, [sp, #0] - 800568c: 4422 add r2, r4 - 800568e: 3304 adds r3, #4 - 8005690: f8db 1000 ldr.w r1, [fp] - 8005694: 4648 mov r0, r9 - 8005696: e457 b.n 8004f48 - 8005698: f1ba 0f00 cmp.w sl, #0 - 800569c: f47f abbd bne.w 8004e1a - 80056a0: f7ff bbcd b.w 8004e3e - 80056a4: 200082b0 .word 0x200082b0 - 80056a8: 200082c4 .word 0x200082c4 - 80056ac: 200082fe .word 0x200082fe - 80056b0: 200082e4 .word 0x200082e4 - 80056b4: 20004d2c .word 0x20004d2c + 80054e0: bfbe ittt lt + 80054e2: 8b63 ldrhlt r3, [r4, #26] + 80054e4: f043 0302 orrlt.w r3, r3, #2 + 80054e8: 8363 strhlt r3, [r4, #26] + 80054ea: e693 b.n 8005214 + 80054ec: 6803 ldr r3, [r0, #0] + 80054ee: 6763 str r3, [r4, #116] @ 0x74 + 80054f0: f7fe fe24 bl 800413c + 80054f4: 6f60 ldr r0, [r4, #116] @ 0x74 + 80054f6: 2800 cmp r0, #0 + 80054f8: d1f8 bne.n 80054ec + 80054fa: 883a ldrh r2, [r7, #0] + 80054fc: 6833 ldr r3, [r6, #0] + 80054fe: 4413 add r3, r2 + 8005500: 6263 str r3, [r4, #36] @ 0x24 + 8005502: 8d23 ldrh r3, [r4, #40] @ 0x28 + 8005504: 4293 cmp r3, r2 + 8005506: d206 bcs.n 8005516 + 8005508: 4b79 ldr r3, [pc, #484] @ (80056f0 ) + 800550a: 497a ldr r1, [pc, #488] @ (80056f4 ) + 800550c: 487a ldr r0, [pc, #488] @ (80056f8 ) + 800550e: f240 6207 movw r2, #1543 @ 0x607 + 8005512: f004 fe31 bl 800a178 + 8005516: 8d23 ldrh r3, [r4, #40] @ 0x28 + 8005518: 883a ldrh r2, [r7, #0] + 800551a: 1a9b subs r3, r3, r2 + 800551c: 8523 strh r3, [r4, #40] @ 0x28 + 800551e: 4620 mov r0, r4 + 8005520: f7fe fd98 bl 8004054 + 8005524: 686b ldr r3, [r5, #4] + 8005526: 891a ldrh r2, [r3, #8] + 8005528: b11a cbz r2, 8005532 + 800552a: 4a74 ldr r2, [pc, #464] @ (80056fc ) + 800552c: 6013 str r3, [r2, #0] + 800552e: 2300 movs r3, #0 + 8005530: 606b str r3, [r5, #4] + 8005532: 68eb ldr r3, [r5, #12] + 8005534: 8998 ldrh r0, [r3, #12] + 8005536: f7fd fda6 bl 8003086 + 800553a: 07c5 lsls r5, r0, #31 + 800553c: d504 bpl.n 8005548 + 800553e: 4a70 ldr r2, [pc, #448] @ (8005700 ) + 8005540: 7813 ldrb r3, [r2, #0] + 8005542: f043 0320 orr.w r3, r3, #32 + 8005546: 7013 strb r3, [r2, #0] + 8005548: 4f69 ldr r7, [pc, #420] @ (80056f0 ) + 800554a: f8df 81bc ldr.w r8, [pc, #444] @ 8005708 + 800554e: f8df 91a8 ldr.w r9, [pc, #424] @ 80056f8 + 8005552: e07c b.n 800564e + 8005554: f8bc 000c ldrh.w r0, [ip, #12] + 8005558: f7fd fd95 bl 8003086 + 800555c: 07c1 lsls r1, r0, #31 + 800555e: d51b bpl.n 8005598 + 8005560: 68eb ldr r3, [r5, #12] + 8005562: 8998 ldrh r0, [r3, #12] + 8005564: f7fd fd8f bl 8003086 + 8005568: 0782 lsls r2, r0, #30 + 800556a: d415 bmi.n 8005598 + 800556c: 68eb ldr r3, [r5, #12] + 800556e: 2001 movs r0, #1 + 8005570: f8b3 900c ldrh.w r9, [r3, #12] + 8005574: f7fd fd87 bl 8003086 + 8005578: 68eb ldr r3, [r5, #12] + 800557a: ea49 0000 orr.w r0, r9, r0 + 800557e: 8198 strh r0, [r3, #12] + 8005580: b280 uxth r0, r0 + 8005582: f8b5 9008 ldrh.w r9, [r5, #8] + 8005586: f7fd fd7e bl 8003086 + 800558a: f010 0003 ands.w r0, r0, #3 + 800558e: bf18 it ne + 8005590: 2001 movne r0, #1 + 8005592: 4481 add r9, r0 + 8005594: f8a7 9000 strh.w r9, [r7] + 8005598: f8d8 9000 ldr.w r9, [r8] + 800559c: 4640 mov r0, r8 + 800559e: f7fe fdcd bl 800413c + 80055a2: 46c8 mov r8, r9 + 80055a4: e6a8 b.n 80052f8 + 80055a6: 6033 str r3, [r6, #0] + 80055a8: 8990 ldrh r0, [r2, #12] + 80055aa: f8b5 a008 ldrh.w sl, [r5, #8] + 80055ae: f7fd fd6a bl 8003086 + 80055b2: 6a63 ldr r3, [r4, #36] @ 0x24 + 80055b4: f8b5 b008 ldrh.w fp, [r5, #8] + 80055b8: f010 0003 ands.w r0, r0, #3 + 80055bc: bf18 it ne + 80055be: 2001 movne r0, #1 + 80055c0: 449a add sl, r3 + 80055c2: 4450 add r0, sl + 80055c4: 68eb ldr r3, [r5, #12] + 80055c6: 6260 str r0, [r4, #36] @ 0x24 + 80055c8: 8998 ldrh r0, [r3, #12] + 80055ca: f8b4 a028 ldrh.w sl, [r4, #40] @ 0x28 + 80055ce: f7fd fd5a bl 8003086 + 80055d2: f010 0003 ands.w r0, r0, #3 + 80055d6: bf18 it ne + 80055d8: 2001 movne r0, #1 + 80055da: 4458 add r0, fp + 80055dc: 4582 cmp sl, r0 + 80055de: d206 bcs.n 80055ee + 80055e0: 463b mov r3, r7 + 80055e2: f240 622b movw r2, #1579 @ 0x62b + 80055e6: 4641 mov r1, r8 + 80055e8: 4648 mov r0, r9 + 80055ea: f004 fdc5 bl 800a178 + 80055ee: 68eb ldr r3, [r5, #12] + 80055f0: f8b5 a008 ldrh.w sl, [r5, #8] + 80055f4: 8998 ldrh r0, [r3, #12] + 80055f6: f7fd fd46 bl 8003086 + 80055fa: f010 0003 ands.w r0, r0, #3 + 80055fe: 8d23 ldrh r3, [r4, #40] @ 0x28 + 8005600: bf18 it ne + 8005602: 2001 movne r0, #1 + 8005604: 4450 add r0, sl + 8005606: 1a1b subs r3, r3, r0 + 8005608: 8523 strh r3, [r4, #40] @ 0x28 + 800560a: 4620 mov r0, r4 + 800560c: f7fe fd22 bl 8004054 + 8005610: 6869 ldr r1, [r5, #4] + 8005612: 890b ldrh r3, [r1, #8] + 8005614: b133 cbz r3, 8005624 + 8005616: 4b39 ldr r3, [pc, #228] @ (80056fc ) + 8005618: 6818 ldr r0, [r3, #0] + 800561a: b338 cbz r0, 800566c + 800561c: f7fe fba2 bl 8003d64 + 8005620: 2300 movs r3, #0 + 8005622: 606b str r3, [r5, #4] + 8005624: 68eb ldr r3, [r5, #12] + 8005626: 8998 ldrh r0, [r3, #12] + 8005628: f7fd fd2d bl 8003086 + 800562c: 07c0 lsls r0, r0, #31 + 800562e: d509 bpl.n 8005644 + 8005630: 4a33 ldr r2, [pc, #204] @ (8005700 ) + 8005632: 7813 ldrb r3, [r2, #0] + 8005634: f043 0320 orr.w r3, r3, #32 + 8005638: 7013 strb r3, [r2, #0] + 800563a: 7d23 ldrb r3, [r4, #20] + 800563c: 2b04 cmp r3, #4 + 800563e: bf04 itt eq + 8005640: 2307 moveq r3, #7 + 8005642: 7523 strbeq r3, [r4, #20] + 8005644: 682b ldr r3, [r5, #0] + 8005646: 6763 str r3, [r4, #116] @ 0x74 + 8005648: 4628 mov r0, r5 + 800564a: f7fe fd77 bl 800413c + 800564e: 6f65 ldr r5, [r4, #116] @ 0x74 + 8005650: b125 cbz r5, 800565c + 8005652: 68ea ldr r2, [r5, #12] + 8005654: 6a61 ldr r1, [r4, #36] @ 0x24 + 8005656: 6853 ldr r3, [r2, #4] + 8005658: 428b cmp r3, r1 + 800565a: d0a4 beq.n 80055a6 + 800565c: 8b63 ldrh r3, [r4, #26] + 800565e: 07d9 lsls r1, r3, #31 + 8005660: d506 bpl.n 8005670 + 8005662: f023 0301 bic.w r3, r3, #1 + 8005666: f043 0302 orr.w r3, r3, #2 + 800566a: e003 b.n 8005674 + 800566c: 6019 str r1, [r3, #0] + 800566e: e7d7 b.n 8005620 + 8005670: f043 0301 orr.w r3, r3, #1 + 8005674: 8363 strh r3, [r4, #26] + 8005676: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800567a: 6f65 ldr r5, [r4, #116] @ 0x74 + 800567c: b945 cbnz r5, 8005690 + 800567e: 4821 ldr r0, [pc, #132] @ (8005704 ) + 8005680: f7fe fd72 bl 8004168 + 8005684: 6760 str r0, [r4, #116] @ 0x74 + 8005686: 4620 mov r0, r4 + 8005688: e8bd 4ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800568c: f001 ba2e b.w 8006aec + 8005690: f04f 0800 mov.w r8, #0 + 8005694: f103 3eff add.w lr, r3, #4294967295 + 8005698: f8d5 c00c ldr.w ip, [r5, #12] + 800569c: f8dc 2004 ldr.w r2, [ip, #4] + 80056a0: 4293 cmp r3, r2 + 80056a2: d115 bne.n 80056d0 + 80056a4: 4817 ldr r0, [pc, #92] @ (8005704 ) + 80056a6: 892b ldrh r3, [r5, #8] + 80056a8: 8902 ldrh r2, [r0, #8] + 80056aa: 429a cmp r2, r3 + 80056ac: d9eb bls.n 8005686 + 80056ae: f7fe fd5b bl 8004168 + 80056b2: 2800 cmp r0, #0 + 80056b4: d0e7 beq.n 8005686 + 80056b6: f1b8 0f00 cmp.w r8, #0 + 80056ba: d007 beq.n 80056cc + 80056bc: f8c8 0000 str.w r0, [r8] + 80056c0: 4629 mov r1, r5 + 80056c2: f7ff fb9b bl 8004dfc + 80056c6: e7de b.n 8005686 + 80056c8: 460d mov r5, r1 + 80056ca: e7e5 b.n 8005698 + 80056cc: 6760 str r0, [r4, #116] @ 0x74 + 80056ce: e7f7 b.n 80056c0 + 80056d0: f1b8 0f00 cmp.w r8, #0 + 80056d4: d11a bne.n 800570c + 80056d6: 1a99 subs r1, r3, r2 + 80056d8: 2900 cmp r1, #0 + 80056da: da3e bge.n 800575a + 80056dc: 4809 ldr r0, [pc, #36] @ (8005704 ) + 80056de: f7fe fd43 bl 8004168 + 80056e2: 2800 cmp r0, #0 + 80056e4: d0cf beq.n 8005686 + 80056e6: 6760 str r0, [r4, #116] @ 0x74 + 80056e8: e7ea b.n 80056c0 + 80056ea: bf00 nop + 80056ec: 20018a9c .word 0x20018a9c + 80056f0: 0800bcd4 .word 0x0800bcd4 + 80056f4: 0800be47 .word 0x0800be47 + 80056f8: 0800b0a6 .word 0x0800b0a6 + 80056fc: 20018a94 .word 0x20018a94 + 8005700: 20018a98 .word 0x20018a98 + 8005704: 20018ab8 .word 0x20018ab8 + 8005708: 0800be66 .word 0x0800be66 + 800570c: f8d8 100c ldr.w r1, [r8, #12] + 8005710: 6849 ldr r1, [r1, #4] + 8005712: ebae 0101 sub.w r1, lr, r1 + 8005716: 2900 cmp r1, #0 + 8005718: db1f blt.n 800575a + 800571a: 1a81 subs r1, r0, r2 + 800571c: 2900 cmp r1, #0 + 800571e: dc1c bgt.n 800575a + 8005720: 484a ldr r0, [pc, #296] @ (800584c ) + 8005722: f7fe fd21 bl 8004168 + 8005726: 4607 mov r7, r0 + 8005728: 2800 cmp r0, #0 + 800572a: d0ac beq.n 8005686 + 800572c: f8d8 300c ldr.w r3, [r8, #12] + 8005730: 6831 ldr r1, [r6, #0] + 8005732: 685a ldr r2, [r3, #4] + 8005734: f8b8 3008 ldrh.w r3, [r8, #8] + 8005738: 4413 add r3, r2 + 800573a: 1a5b subs r3, r3, r1 + 800573c: 2b00 cmp r3, #0 + 800573e: dd07 ble.n 8005750 + 8005740: 1a89 subs r1, r1, r2 + 8005742: b289 uxth r1, r1 + 8005744: f8d8 0004 ldr.w r0, [r8, #4] + 8005748: f8a8 1008 strh.w r1, [r8, #8] + 800574c: f7fe fa96 bl 8003c7c + 8005750: f8c8 7000 str.w r7, [r8] + 8005754: 4629 mov r1, r5 + 8005756: 4638 mov r0, r7 + 8005758: e7b3 b.n 80056c2 + 800575a: 6829 ldr r1, [r5, #0] + 800575c: 46a8 mov r8, r5 + 800575e: 2900 cmp r1, #0 + 8005760: d1b2 bne.n 80056c8 + 8005762: 1a9b subs r3, r3, r2 + 8005764: 2b00 cmp r3, #0 + 8005766: dd8e ble.n 8005686 + 8005768: f8bc 000c ldrh.w r0, [ip, #12] + 800576c: f7fd fc8b bl 8003086 + 8005770: 07c2 lsls r2, r0, #31 + 8005772: d488 bmi.n 8005686 + 8005774: 4835 ldr r0, [pc, #212] @ (800584c ) + 8005776: f7fe fcf7 bl 8004168 + 800577a: 6028 str r0, [r5, #0] + 800577c: 2800 cmp r0, #0 + 800577e: d082 beq.n 8005686 + 8005780: 68eb ldr r3, [r5, #12] + 8005782: 6831 ldr r1, [r6, #0] + 8005784: 685a ldr r2, [r3, #4] + 8005786: 892b ldrh r3, [r5, #8] + 8005788: 4413 add r3, r2 + 800578a: 1a5b subs r3, r3, r1 + 800578c: 2b00 cmp r3, #0 + 800578e: dd05 ble.n 800579c + 8005790: 1a89 subs r1, r1, r2 + 8005792: b289 uxth r1, r1 + 8005794: 6868 ldr r0, [r5, #4] + 8005796: 8129 strh r1, [r5, #8] + 8005798: f7fe fa70 bl 8003c7c + 800579c: 6832 ldr r2, [r6, #0] + 800579e: 883b ldrh r3, [r7, #0] + 80057a0: 4413 add r3, r2 + 80057a2: 6a62 ldr r2, [r4, #36] @ 0x24 + 80057a4: 1a9b subs r3, r3, r2 + 80057a6: 8d22 ldrh r2, [r4, #40] @ 0x28 + 80057a8: 1a9b subs r3, r3, r2 + 80057aa: 2b00 cmp r3, #0 + 80057ac: f77f af6b ble.w 8005686 + 80057b0: 682b ldr r3, [r5, #0] + 80057b2: 68db ldr r3, [r3, #12] + 80057b4: 8998 ldrh r0, [r3, #12] + 80057b6: f7fd fc66 bl 8003086 + 80057ba: 07c3 lsls r3, r0, #31 + 80057bc: d511 bpl.n 80057e2 + 80057be: 682b ldr r3, [r5, #0] + 80057c0: 68db ldr r3, [r3, #12] + 80057c2: f8b3 800c ldrh.w r8, [r3, #12] + 80057c6: 4640 mov r0, r8 + 80057c8: f7fd fc5d bl 8003086 + 80057cc: f000 003e and.w r0, r0, #62 @ 0x3e + 80057d0: f7fd fc59 bl 8003086 + 80057d4: 682b ldr r3, [r5, #0] + 80057d6: f428 587c bic.w r8, r8, #16128 @ 0x3f00 + 80057da: 68db ldr r3, [r3, #12] + 80057dc: ea40 0008 orr.w r0, r0, r8 + 80057e0: 8198 strh r0, [r3, #12] + 80057e2: 6832 ldr r2, [r6, #0] + 80057e4: 8d21 ldrh r1, [r4, #40] @ 0x28 + 80057e6: 682b ldr r3, [r5, #0] + 80057e8: 1a89 subs r1, r1, r2 + 80057ea: 6a62 ldr r2, [r4, #36] @ 0x24 + 80057ec: 6858 ldr r0, [r3, #4] + 80057ee: 4411 add r1, r2 + 80057f0: b289 uxth r1, r1 + 80057f2: 8119 strh r1, [r3, #8] + 80057f4: f7fe fa42 bl 8003c7c + 80057f8: 682b ldr r3, [r5, #0] + 80057fa: 891d ldrh r5, [r3, #8] + 80057fc: 68db ldr r3, [r3, #12] + 80057fe: 8998 ldrh r0, [r3, #12] + 8005800: f7fd fc41 bl 8003086 + 8005804: f010 0003 ands.w r0, r0, #3 + 8005808: bf18 it ne + 800580a: 2001 movne r0, #1 + 800580c: 6832 ldr r2, [r6, #0] + 800580e: 6a61 ldr r1, [r4, #36] @ 0x24 + 8005810: 182b adds r3, r5, r0 + 8005812: b29b uxth r3, r3 + 8005814: 803b strh r3, [r7, #0] + 8005816: 4413 add r3, r2 + 8005818: 8d22 ldrh r2, [r4, #40] @ 0x28 + 800581a: 440a add r2, r1 + 800581c: 4293 cmp r3, r2 + 800581e: f43f af32 beq.w 8005686 + 8005822: 4b0b ldr r3, [pc, #44] @ (8005850 ) + 8005824: 490b ldr r1, [pc, #44] @ (8005854 ) + 8005826: 480c ldr r0, [pc, #48] @ (8005858 ) + 8005828: f44f 62df mov.w r2, #1784 @ 0x6f8 + 800582c: f004 fca4 bl 800a178 + 8005830: e729 b.n 8005686 + 8005832: 1a99 subs r1, r3, r2 + 8005834: 2900 cmp r1, #0 + 8005836: db06 blt.n 8005846 + 8005838: 3301 adds r3, #1 + 800583a: 1a9b subs r3, r3, r2 + 800583c: 8d22 ldrh r2, [r4, #40] @ 0x28 + 800583e: 1a9b subs r3, r3, r2 + 8005840: 2b00 cmp r3, #0 + 8005842: f77f af18 ble.w 8005676 + 8005846: 8b63 ldrh r3, [r4, #26] + 8005848: e70d b.n 8005666 + 800584a: bf00 nop + 800584c: 20018ab8 .word 0x20018ab8 + 8005850: 0800bcd4 .word 0x0800bcd4 + 8005854: 0800bdd5 .word 0x0800bdd5 + 8005858: 0800b0a6 .word 0x0800b0a6 -080056b8 : - 80056b8: 4a02 ldr r2, [pc, #8] ; (80056c4 ) - 80056ba: 7813 ldrb r3, [r2, #0] - 80056bc: f043 0310 orr.w r3, r3, #16 - 80056c0: 7013 strb r3, [r2, #0] - 80056c2: 4770 bx lr - 80056c4: 200082e0 .word 0x200082e0 +0800585c : + 800585c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8005860: 4605 mov r5, r0 + 8005862: b085 sub sp, #20 + 8005864: b928 cbnz r0, 8005872 + 8005866: 4b72 ldr r3, [pc, #456] @ (8005a30 ) + 8005868: 4972 ldr r1, [pc, #456] @ (8005a34 ) + 800586a: 4873 ldr r0, [pc, #460] @ (8005a38 ) + 800586c: 2283 movs r2, #131 @ 0x83 + 800586e: f004 fc83 bl 800a178 + 8005872: 4e72 ldr r6, [pc, #456] @ (8005a3c ) + 8005874: 686b ldr r3, [r5, #4] + 8005876: 6033 str r3, [r6, #0] + 8005878: 896b ldrh r3, [r5, #10] + 800587a: 2b13 cmp r3, #19 + 800587c: f240 80d2 bls.w 8005a24 + 8005880: f8df 81e4 ldr.w r8, [pc, #484] @ 8005a68 + 8005884: f8d8 1000 ldr.w r1, [r8] + 8005888: f8d8 0014 ldr.w r0, [r8, #20] + 800588c: f003 fe75 bl 800957a + 8005890: 4604 mov r4, r0 + 8005892: 2800 cmp r0, #0 + 8005894: f040 80c6 bne.w 8005a24 + 8005898: f8d8 3014 ldr.w r3, [r8, #20] + 800589c: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 80058a0: 2be0 cmp r3, #224 @ 0xe0 + 80058a2: f000 80bf beq.w 8005a24 + 80058a6: 6833 ldr r3, [r6, #0] + 80058a8: 8998 ldrh r0, [r3, #12] + 80058aa: f7fd fbec bl 8003086 + 80058ae: 0a81 lsrs r1, r0, #10 + 80058b0: f001 01fc and.w r1, r1, #252 @ 0xfc + 80058b4: 2913 cmp r1, #19 + 80058b6: f240 80b5 bls.w 8005a24 + 80058ba: 892b ldrh r3, [r5, #8] + 80058bc: 428b cmp r3, r1 + 80058be: f0c0 80b1 bcc.w 8005a24 + 80058c2: 896a ldrh r2, [r5, #10] + 80058c4: 4f5e ldr r7, [pc, #376] @ (8005a40 ) + 80058c6: f8df a1a4 ldr.w sl, [pc, #420] @ 8005a6c + 80058ca: f8df 91a4 ldr.w r9, [pc, #420] @ 8005a70 + 80058ce: f8ca 4000 str.w r4, [sl] + 80058d2: f1a1 0314 sub.w r3, r1, #20 + 80058d6: b29b uxth r3, r3 + 80058d8: 428a cmp r2, r1 + 80058da: 803b strh r3, [r7, #0] + 80058dc: d360 bcc.n 80059a0 + 80058de: 4628 mov r0, r5 + 80058e0: f8a9 3000 strh.w r3, [r9] + 80058e4: f7fe f8b8 bl 8003a58 + 80058e8: 6834 ldr r4, [r6, #0] + 80058ea: f8df b188 ldr.w fp, [pc, #392] @ 8005a74 + 80058ee: 8820 ldrh r0, [r4, #0] + 80058f0: f8df a184 ldr.w sl, [pc, #388] @ 8005a78 + 80058f4: f7fd fbc7 bl 8003086 + 80058f8: 8020 strh r0, [r4, #0] + 80058fa: 6834 ldr r4, [r6, #0] + 80058fc: 8860 ldrh r0, [r4, #2] + 80058fe: f7fd fbc2 bl 8003086 + 8005902: 8060 strh r0, [r4, #2] + 8005904: 6834 ldr r4, [r6, #0] + 8005906: 6860 ldr r0, [r4, #4] + 8005908: f7fd fbc0 bl 800308c + 800590c: 6060 str r0, [r4, #4] + 800590e: 6834 ldr r4, [r6, #0] + 8005910: f8cb 0000 str.w r0, [fp] + 8005914: 68a0 ldr r0, [r4, #8] + 8005916: f7fd fbb9 bl 800308c + 800591a: 60a0 str r0, [r4, #8] + 800591c: 6834 ldr r4, [r6, #0] + 800591e: f8ca 0000 str.w r0, [sl] + 8005922: 89e0 ldrh r0, [r4, #14] + 8005924: f7fd fbaf bl 8003086 + 8005928: 6833 ldr r3, [r6, #0] + 800592a: 81e0 strh r0, [r4, #14] + 800592c: 8998 ldrh r0, [r3, #12] + 800592e: f7fd fbaa bl 8003086 + 8005932: 4a44 ldr r2, [pc, #272] @ (8005a44 ) + 8005934: f000 033f and.w r3, r0, #63 @ 0x3f + 8005938: 7013 strb r3, [r2, #0] + 800593a: 0783 lsls r3, r0, #30 + 800593c: 892a ldrh r2, [r5, #8] + 800593e: d16b bne.n 8005a18 + 8005940: 4b41 ldr r3, [pc, #260] @ (8005a48 ) + 8005942: 801a strh r2, [r3, #0] + 8005944: 4f41 ldr r7, [pc, #260] @ (8005a4c ) + 8005946: 683c ldr r4, [r7, #0] + 8005948: f04f 0900 mov.w r9, #0 + 800594c: 2c00 cmp r4, #0 + 800594e: f040 8095 bne.w 8005a7c + 8005952: 4b3f ldr r3, [pc, #252] @ (8005a50 ) + 8005954: 4c38 ldr r4, [pc, #224] @ (8005a38 ) + 8005956: f8d3 9000 ldr.w r9, [r3] + 800595a: f1b9 0f00 cmp.w r9, #0 + 800595e: f040 8124 bne.w 8005baa + 8005962: 4b3c ldr r3, [pc, #240] @ (8005a54 ) + 8005964: f8d8 c004 ldr.w ip, [r8, #4] + 8005968: 681a ldr r2, [r3, #0] + 800596a: 6831 ldr r1, [r6, #0] + 800596c: f8d8 e014 ldr.w lr, [r8, #20] + 8005970: 4614 mov r4, r2 + 8005972: 2c00 cmp r4, #0 + 8005974: f040 817c bne.w 8005c70 + 8005978: 8988 ldrh r0, [r1, #12] + 800597a: f7fd fb84 bl 8003086 + 800597e: 0743 lsls r3, r0, #29 + 8005980: d450 bmi.n 8005a24 + 8005982: 6833 ldr r3, [r6, #0] + 8005984: 4a30 ldr r2, [pc, #192] @ (8005a48 ) + 8005986: 8818 ldrh r0, [r3, #0] + 8005988: 8811 ldrh r1, [r2, #0] + 800598a: f8db 2000 ldr.w r2, [fp] + 800598e: 9002 str r0, [sp, #8] + 8005990: 885b ldrh r3, [r3, #2] + 8005992: 9301 str r3, [sp, #4] + 8005994: 4b30 ldr r3, [pc, #192] @ (8005a58 ) + 8005996: 9300 str r3, [sp, #0] + 8005998: 440a add r2, r1 + 800599a: 3304 adds r3, #4 + 800599c: f000 bccd b.w 800633a + 80059a0: 682b ldr r3, [r5, #0] + 80059a2: b92b cbnz r3, 80059b0 + 80059a4: 4b22 ldr r3, [pc, #136] @ (8005a30 ) + 80059a6: 492d ldr r1, [pc, #180] @ (8005a5c ) + 80059a8: 4823 ldr r0, [pc, #140] @ (8005a38 ) + 80059aa: 22c2 movs r2, #194 @ 0xc2 + 80059ac: f004 fbe4 bl 800a178 + 80059b0: 2114 movs r1, #20 + 80059b2: 4628 mov r0, r5 + 80059b4: f7fe f850 bl 8003a58 + 80059b8: 896c ldrh r4, [r5, #10] + 80059ba: f8a9 4000 strh.w r4, [r9] + 80059be: 4621 mov r1, r4 + 80059c0: 4628 mov r0, r5 + 80059c2: f8b7 9000 ldrh.w r9, [r7] + 80059c6: f7fe f847 bl 8003a58 + 80059ca: 6828 ldr r0, [r5, #0] + 80059cc: eba9 0704 sub.w r7, r9, r4 + 80059d0: 8943 ldrh r3, [r0, #10] + 80059d2: b2bf uxth r7, r7 + 80059d4: 42bb cmp r3, r7 + 80059d6: d325 bcc.n 8005a24 + 80059d8: 6843 ldr r3, [r0, #4] + 80059da: f8ca 3000 str.w r3, [sl] + 80059de: 4639 mov r1, r7 + 80059e0: f7fe f83a bl 8003a58 + 80059e4: 892b ldrh r3, [r5, #8] + 80059e6: 441c add r4, r3 + 80059e8: 896b ldrh r3, [r5, #10] + 80059ea: eba4 0409 sub.w r4, r4, r9 + 80059ee: 812c strh r4, [r5, #8] + 80059f0: b12b cbz r3, 80059fe + 80059f2: 4b0f ldr r3, [pc, #60] @ (8005a30 ) + 80059f4: 491a ldr r1, [pc, #104] @ (8005a60 ) + 80059f6: 4810 ldr r0, [pc, #64] @ (8005a38 ) + 80059f8: 22df movs r2, #223 @ 0xdf + 80059fa: f004 fbbd bl 800a178 + 80059fe: 682b ldr r3, [r5, #0] + 8005a00: 892a ldrh r2, [r5, #8] + 8005a02: 891b ldrh r3, [r3, #8] + 8005a04: 429a cmp r2, r3 + 8005a06: f43f af6f beq.w 80058e8 + 8005a0a: 4b09 ldr r3, [pc, #36] @ (8005a30 ) + 8005a0c: 4915 ldr r1, [pc, #84] @ (8005a64 ) + 8005a0e: 480a ldr r0, [pc, #40] @ (8005a38 ) + 8005a10: 22e0 movs r2, #224 @ 0xe0 + 8005a12: f004 fbb1 bl 800a178 + 8005a16: e767 b.n 80058e8 + 8005a18: 1c53 adds r3, r2, #1 + 8005a1a: b29b uxth r3, r3 + 8005a1c: 490a ldr r1, [pc, #40] @ (8005a48 ) + 8005a1e: 429a cmp r2, r3 + 8005a20: 800b strh r3, [r1, #0] + 8005a22: d98f bls.n 8005944 + 8005a24: 4628 mov r0, r5 + 8005a26: b005 add sp, #20 + 8005a28: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8005a2c: f7fe b848 b.w 8003ac0 + 8005a30: 0800bcd4 .word 0x0800bcd4 + 8005a34: 0800be8b .word 0x0800be8b + 8005a38: 0800b0a6 .word 0x0800b0a6 + 8005a3c: 20018ab4 .word 0x20018ab4 + 8005a40: 20018ab2 .word 0x20018ab2 + 8005a44: 20018a99 .word 0x20018a99 + 8005a48: 20018a9a .word 0x20018a9a + 8005a4c: 20018a80 .word 0x20018a80 + 8005a50: 20018a7c .word 0x20018a7c + 8005a54: 20018a84 .word 0x20018a84 + 8005a58: 20005b34 .word 0x20005b34 + 8005a5c: 0800bea3 .word 0x0800bea3 + 8005a60: 0800beb3 .word 0x0800beb3 + 8005a64: 0800bebf .word 0x0800bebf + 8005a68: 20005b24 .word 0x20005b24 + 8005a6c: 20018aac .word 0x20018aac + 8005a70: 20018ab0 .word 0x20018ab0 + 8005a74: 20018aa4 .word 0x20018aa4 + 8005a78: 20018aa0 .word 0x20018aa0 + 8005a7c: 7d23 ldrb r3, [r4, #20] + 8005a7e: b92b cbnz r3, 8005a8c + 8005a80: 4b8f ldr r3, [pc, #572] @ (8005cc0 ) + 8005a82: 4990 ldr r1, [pc, #576] @ (8005cc4 ) + 8005a84: 4890 ldr r0, [pc, #576] @ (8005cc8 ) + 8005a86: 22fb movs r2, #251 @ 0xfb + 8005a88: f004 fb76 bl 800a178 + 8005a8c: 7d23 ldrb r3, [r4, #20] + 8005a8e: 2b0a cmp r3, #10 + 8005a90: d105 bne.n 8005a9e + 8005a92: 4b8b ldr r3, [pc, #556] @ (8005cc0 ) + 8005a94: 498d ldr r1, [pc, #564] @ (8005ccc ) + 8005a96: 488c ldr r0, [pc, #560] @ (8005cc8 ) + 8005a98: 22fc movs r2, #252 @ 0xfc + 8005a9a: f004 fb6d bl 800a178 + 8005a9e: 7d23 ldrb r3, [r4, #20] + 8005aa0: 2b01 cmp r3, #1 + 8005aa2: d105 bne.n 8005ab0 + 8005aa4: 4b86 ldr r3, [pc, #536] @ (8005cc0 ) + 8005aa6: 498a ldr r1, [pc, #552] @ (8005cd0 ) + 8005aa8: 4887 ldr r0, [pc, #540] @ (8005cc8 ) + 8005aaa: 22fd movs r2, #253 @ 0xfd + 8005aac: f004 fb64 bl 800a178 + 8005ab0: 7a21 ldrb r1, [r4, #8] + 8005ab2: 68e2 ldr r2, [r4, #12] + 8005ab4: b139 cbz r1, 8005ac6 + 8005ab6: f8d8 3004 ldr.w r3, [r8, #4] + 8005aba: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 8005abe: 3301 adds r3, #1 + 8005ac0: b2db uxtb r3, r3 + 8005ac2: 4299 cmp r1, r3 + 8005ac4: d16e bne.n 8005ba4 + 8005ac6: 6833 ldr r3, [r6, #0] + 8005ac8: 8b20 ldrh r0, [r4, #24] + 8005aca: 8819 ldrh r1, [r3, #0] + 8005acc: 4288 cmp r0, r1 + 8005ace: d169 bne.n 8005ba4 + 8005ad0: 8ae1 ldrh r1, [r4, #22] + 8005ad2: 885b ldrh r3, [r3, #2] + 8005ad4: 4299 cmp r1, r3 + 8005ad6: d165 bne.n 8005ba4 + 8005ad8: 6861 ldr r1, [r4, #4] + 8005ada: f8d8 3010 ldr.w r3, [r8, #16] + 8005ade: 4299 cmp r1, r3 + 8005ae0: d160 bne.n 8005ba4 + 8005ae2: 6821 ldr r1, [r4, #0] + 8005ae4: f8d8 3014 ldr.w r3, [r8, #20] + 8005ae8: 4299 cmp r1, r3 + 8005aea: d15b bne.n 8005ba4 + 8005aec: 42a2 cmp r2, r4 + 8005aee: f040 8401 bne.w 80062f4 + 8005af2: 4b73 ldr r3, [pc, #460] @ (8005cc0 ) + 8005af4: 4977 ldr r1, [pc, #476] @ (8005cd4 ) + 8005af6: 4874 ldr r0, [pc, #464] @ (8005cc8 ) + 8005af8: f240 120d movw r2, #269 @ 0x10d + 8005afc: f004 fb3c bl 800a178 + 8005b00: f1b9 0f00 cmp.w r9, #0 + 8005b04: d005 beq.n 8005b12 + 8005b06: 68e3 ldr r3, [r4, #12] + 8005b08: f8c9 300c str.w r3, [r9, #12] + 8005b0c: 683b ldr r3, [r7, #0] + 8005b0e: 60e3 str r3, [r4, #12] + 8005b10: 603c str r4, [r7, #0] + 8005b12: 68e3 ldr r3, [r4, #12] + 8005b14: 42a3 cmp r3, r4 + 8005b16: d106 bne.n 8005b26 + 8005b18: 4b69 ldr r3, [pc, #420] @ (8005cc0 ) + 8005b1a: 496f ldr r1, [pc, #444] @ (8005cd8 ) + 8005b1c: 486a ldr r0, [pc, #424] @ (8005cc8 ) + 8005b1e: f240 1215 movw r2, #277 @ 0x115 + 8005b22: f004 fb29 bl 800a178 + 8005b26: 496d ldr r1, [pc, #436] @ (8005cdc ) + 8005b28: 892a ldrh r2, [r5, #8] + 8005b2a: 810a strh r2, [r1, #8] + 8005b2c: 6832 ldr r2, [r6, #0] + 8005b2e: 60ca str r2, [r1, #12] + 8005b30: f8df 91c8 ldr.w r9, [pc, #456] @ 8005cfc + 8005b34: f8df 81c8 ldr.w r8, [pc, #456] @ 8005d00 + 8005b38: 4a69 ldr r2, [pc, #420] @ (8005ce0 ) + 8005b3a: 604d str r5, [r1, #4] + 8005b3c: 2300 movs r3, #0 + 8005b3e: 600b str r3, [r1, #0] + 8005b40: f8c9 3000 str.w r3, [r9] + 8005b44: f888 3000 strb.w r3, [r8] + 8005b48: 8013 strh r3, [r2, #0] + 8005b4a: 4b66 ldr r3, [pc, #408] @ (8005ce4 ) + 8005b4c: 781b ldrb r3, [r3, #0] + 8005b4e: 0718 lsls r0, r3, #28 + 8005b50: bf42 ittt mi + 8005b52: 7b6b ldrbmi r3, [r5, #13] + 8005b54: f043 0301 orrmi.w r3, r3, #1 + 8005b58: 736b strbmi r3, [r5, #13] + 8005b5a: 6fa3 ldr r3, [r4, #120] @ 0x78 + 8005b5c: 4d62 ldr r5, [pc, #392] @ (8005ce8 ) + 8005b5e: 2b00 cmp r3, #0 + 8005b60: f000 812e beq.w 8005dc0 + 8005b64: 4620 mov r0, r4 + 8005b66: f7fe fe75 bl 8004854 + 8005b6a: 300d adds r0, #13 + 8005b6c: d008 beq.n 8005b80 + 8005b6e: 6fa3 ldr r3, [r4, #120] @ 0x78 + 8005b70: 2b00 cmp r3, #0 + 8005b72: f000 8125 beq.w 8005dc0 + 8005b76: 4b5d ldr r3, [pc, #372] @ (8005cec ) + 8005b78: 881b ldrh r3, [r3, #0] + 8005b7a: 2b00 cmp r3, #0 + 8005b7c: f000 8120 beq.w 8005dc0 + 8005b80: 8d63 ldrh r3, [r4, #42] @ 0x2a + 8005b82: b913 cbnz r3, 8005b8a + 8005b84: 4620 mov r0, r4 + 8005b86: f000 ffb1 bl 8006aec + 8005b8a: 2400 movs r4, #0 + 8005b8c: 602c str r4, [r5, #0] + 8005b8e: 4d53 ldr r5, [pc, #332] @ (8005cdc ) + 8005b90: f8c9 4000 str.w r4, [r9] + 8005b94: 6868 ldr r0, [r5, #4] + 8005b96: b110 cbz r0, 8005b9e + 8005b98: f7fd ff92 bl 8003ac0 + 8005b9c: 606c str r4, [r5, #4] + 8005b9e: b005 add sp, #20 + 8005ba0: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8005ba4: 46a1 mov r9, r4 + 8005ba6: 4614 mov r4, r2 + 8005ba8: e6d0 b.n 800594c + 8005baa: f899 3014 ldrb.w r3, [r9, #20] + 8005bae: 2b0a cmp r3, #10 + 8005bb0: d006 beq.n 8005bc0 + 8005bb2: 4b43 ldr r3, [pc, #268] @ (8005cc0 ) + 8005bb4: 494e ldr r1, [pc, #312] @ (8005cf0 ) + 8005bb6: f240 121f movw r2, #287 @ 0x11f + 8005bba: 4620 mov r0, r4 + 8005bbc: f004 fadc bl 800a178 + 8005bc0: f899 2008 ldrb.w r2, [r9, #8] + 8005bc4: b13a cbz r2, 8005bd6 + 8005bc6: f8d8 3004 ldr.w r3, [r8, #4] + 8005bca: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 8005bce: 3301 adds r3, #1 + 8005bd0: b2db uxtb r3, r3 + 8005bd2: 429a cmp r2, r3 + 8005bd4: d149 bne.n 8005c6a + 8005bd6: 6833 ldr r3, [r6, #0] + 8005bd8: f8b9 1018 ldrh.w r1, [r9, #24] + 8005bdc: 881a ldrh r2, [r3, #0] + 8005bde: 4291 cmp r1, r2 + 8005be0: d143 bne.n 8005c6a + 8005be2: 885a ldrh r2, [r3, #2] + 8005be4: f8b9 3016 ldrh.w r3, [r9, #22] + 8005be8: 4293 cmp r3, r2 + 8005bea: d13e bne.n 8005c6a + 8005bec: f8d9 0004 ldr.w r0, [r9, #4] + 8005bf0: f8d8 2010 ldr.w r2, [r8, #16] + 8005bf4: 4290 cmp r0, r2 + 8005bf6: d138 bne.n 8005c6a + 8005bf8: f8d9 0000 ldr.w r0, [r9] + 8005bfc: f8d8 2014 ldr.w r2, [r8, #20] + 8005c00: 4290 cmp r0, r2 + 8005c02: d132 bne.n 8005c6a + 8005c04: 4a37 ldr r2, [pc, #220] @ (8005ce4 ) + 8005c06: 7810 ldrb r0, [r2, #0] + 8005c08: 0747 lsls r7, r0, #29 + 8005c0a: f53f af0b bmi.w 8005a24 + 8005c0e: 4a37 ldr r2, [pc, #220] @ (8005cec ) + 8005c10: 0786 lsls r6, r0, #30 + 8005c12: 8814 ldrh r4, [r2, #0] + 8005c14: d516 bpl.n 8005c44 + 8005c16: f8db 2000 ldr.w r2, [fp] + 8005c1a: f8d9 0024 ldr.w r0, [r9, #36] @ 0x24 + 8005c1e: 1a10 subs r0, r2, r0 + 8005c20: d416 bmi.n 8005c50 + 8005c22: f8b9 6028 ldrh.w r6, [r9, #40] @ 0x28 + 8005c26: 1b80 subs r0, r0, r6 + 8005c28: 2800 cmp r0, #0 + 8005c2a: dc11 bgt.n 8005c50 + 8005c2c: e9cd 3101 strd r3, r1, [sp, #4] + 8005c30: 4b30 ldr r3, [pc, #192] @ (8005cf4 ) + 8005c32: 9300 str r3, [sp, #0] + 8005c34: f8da 1000 ldr.w r1, [sl] + 8005c38: 3304 adds r3, #4 + 8005c3a: 4422 add r2, r4 + 8005c3c: 4648 mov r0, r9 + 8005c3e: f000 ff0f bl 8006a60 + 8005c42: e6ef b.n 8005a24 + 8005c44: 07c1 lsls r1, r0, #31 + 8005c46: bf42 ittt mi + 8005c48: 4b2b ldrmi r3, [pc, #172] @ (8005cf8 ) + 8005c4a: 681b ldrmi r3, [r3, #0] + 8005c4c: f8c9 3020 strmi.w r3, [r9, #32] + 8005c50: 2c00 cmp r4, #0 + 8005c52: f43f aee7 beq.w 8005a24 + 8005c56: f8b9 301a ldrh.w r3, [r9, #26] + 8005c5a: f043 0302 orr.w r3, r3, #2 + 8005c5e: f8a9 301a strh.w r3, [r9, #26] + 8005c62: 4648 mov r0, r9 + 8005c64: f000 ff74 bl 8006b50 + 8005c68: e6dc b.n 8005a24 + 8005c6a: f8d9 900c ldr.w r9, [r9, #12] + 8005c6e: e674 b.n 800595a + 8005c70: 7a20 ldrb r0, [r4, #8] + 8005c72: b128 cbz r0, 8005c80 + 8005c74: f89c 3034 ldrb.w r3, [ip, #52] @ 0x34 + 8005c78: 3301 adds r3, #1 + 8005c7a: b2db uxtb r3, r3 + 8005c7c: 4298 cmp r0, r3 + 8005c7e: d10a bne.n 8005c96 + 8005c80: 8ae0 ldrh r0, [r4, #22] + 8005c82: 884b ldrh r3, [r1, #2] + 8005c84: 4298 cmp r0, r3 + 8005c86: d106 bne.n 8005c96 + 8005c88: 6823 ldr r3, [r4, #0] + 8005c8a: 4573 cmp r3, lr + 8005c8c: f000 8337 beq.w 80062fe + 8005c90: 2b00 cmp r3, #0 + 8005c92: f000 8334 beq.w 80062fe + 8005c96: 46a1 mov r9, r4 + 8005c98: 68e4 ldr r4, [r4, #12] + 8005c9a: e66a b.n 8005972 + 8005c9c: 079b lsls r3, r3, #30 + 8005c9e: f57f aec1 bpl.w 8005a24 + 8005ca2: 7d60 ldrb r0, [r4, #21] + 8005ca4: f7fe fc48 bl 8004538 + 8005ca8: 4682 mov sl, r0 + 8005caa: bb58 cbnz r0, 8005d04 + 8005cac: 69a3 ldr r3, [r4, #24] + 8005cae: 2b00 cmp r3, #0 + 8005cb0: f43f aeb8 beq.w 8005a24 + 8005cb4: 4601 mov r1, r0 + 8005cb6: f04f 32ff mov.w r2, #4294967295 + 8005cba: 6920 ldr r0, [r4, #16] + 8005cbc: 4798 blx r3 + 8005cbe: e6b1 b.n 8005a24 + 8005cc0: 0800bcd4 .word 0x0800bcd4 + 8005cc4: 0800bede .word 0x0800bede + 8005cc8: 0800b0a6 .word 0x0800b0a6 + 8005ccc: 0800bf05 .word 0x0800bf05 + 8005cd0: 0800bf2f .word 0x0800bf2f + 8005cd4: 0800bf56 .word 0x0800bf56 + 8005cd8: 0800bf81 .word 0x0800bf81 + 8005cdc: 20018ab8 .word 0x20018ab8 + 8005ce0: 20018a9c .word 0x20018a9c + 8005ce4: 20018a99 .word 0x20018a99 + 8005ce8: 20018a90 .word 0x20018a90 + 8005cec: 20018a9a .word 0x20018a9a + 8005cf0: 0800bfab .word 0x0800bfab + 8005cf4: 20005b34 .word 0x20005b34 + 8005cf8: 20018a8c .word 0x20018a8c + 8005cfc: 20018a94 .word 0x20018a94 + 8005d00: 20018a98 .word 0x20018a98 + 8005d04: f8d8 3014 ldr.w r3, [r8, #20] + 8005d08: 6832 ldr r2, [r6, #0] + 8005d0a: 6003 str r3, [r0, #0] + 8005d0c: f8d8 3010 ldr.w r3, [r8, #16] + 8005d10: 6043 str r3, [r0, #4] + 8005d12: 8ae3 ldrh r3, [r4, #22] + 8005d14: 82c3 strh r3, [r0, #22] + 8005d16: 7813 ldrb r3, [r2, #0] + 8005d18: 7852 ldrb r2, [r2, #1] + 8005d1a: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8005d1e: 8303 strh r3, [r0, #24] + 8005d20: 2303 movs r3, #3 + 8005d22: 7503 strb r3, [r0, #20] + 8005d24: f8db 3000 ldr.w r3, [fp] + 8005d28: 3301 adds r3, #1 + 8005d2a: 6243 str r3, [r0, #36] @ 0x24 + 8005d2c: 62c3 str r3, [r0, #44] @ 0x2c + 8005d2e: f7fe fa3f bl 80041b0 + 8005d32: f8db 3000 ldr.w r3, [fp] + 8005d36: f8ca 0058 str.w r0, [sl, #88] @ 0x58 + 8005d3a: 3b01 subs r3, #1 + 8005d3c: f8ca 3054 str.w r3, [sl, #84] @ 0x54 + 8005d40: 6923 ldr r3, [r4, #16] + 8005d42: f8ca 0050 str.w r0, [sl, #80] @ 0x50 + 8005d46: f8ca 0044 str.w r0, [sl, #68] @ 0x44 + 8005d4a: f8ca 005c str.w r0, [sl, #92] @ 0x5c + 8005d4e: f8ca 407c str.w r4, [sl, #124] @ 0x7c + 8005d52: f8ca 3010 str.w r3, [sl, #16] + 8005d56: 7a63 ldrb r3, [r4, #9] + 8005d58: f003 030c and.w r3, r3, #12 + 8005d5c: f88a 3009 strb.w r3, [sl, #9] + 8005d60: 7a23 ldrb r3, [r4, #8] + 8005d62: f88a 3008 strb.w r3, [sl, #8] + 8005d66: 683b ldr r3, [r7, #0] + 8005d68: f8ca 300c str.w r3, [sl, #12] + 8005d6c: f8c7 a000 str.w sl, [r7] + 8005d70: f001 f9c4 bl 80070fc + 8005d74: 4ba4 ldr r3, [pc, #656] @ (8006008 ) + 8005d76: 2201 movs r2, #1 + 8005d78: 4650 mov r0, sl + 8005d7a: 701a strb r2, [r3, #0] + 8005d7c: f7ff f886 bl 8004e8c + 8005d80: 6833 ldr r3, [r6, #0] + 8005d82: f8ba 6032 ldrh.w r6, [sl, #50] @ 0x32 + 8005d86: 89db ldrh r3, [r3, #14] + 8005d88: f8aa 3060 strh.w r3, [sl, #96] @ 0x60 + 8005d8c: f10a 0404 add.w r4, sl, #4 + 8005d90: f8aa 3062 strh.w r3, [sl, #98] @ 0x62 + 8005d94: 4620 mov r0, r4 + 8005d96: f003 fa6f bl 8009278 + 8005d9a: 4622 mov r2, r4 + 8005d9c: 4601 mov r1, r0 + 8005d9e: 4630 mov r0, r6 + 8005da0: f7fe fa20 bl 80041e4 + 8005da4: 2112 movs r1, #18 + 8005da6: f8aa 0032 strh.w r0, [sl, #50] @ 0x32 + 8005daa: 4650 mov r0, sl + 8005dac: f000 fcd8 bl 8006760 + 8005db0: b120 cbz r0, 8005dbc + 8005db2: 4649 mov r1, r9 + 8005db4: 4650 mov r0, sl + 8005db6: f7fe fad5 bl 8004364 + 8005dba: e633 b.n 8005a24 + 8005dbc: 4650 mov r0, sl + 8005dbe: e751 b.n 8005c64 + 8005dc0: 4b92 ldr r3, [pc, #584] @ (800600c ) + 8005dc2: 602c str r4, [r5, #0] + 8005dc4: 781a ldrb r2, [r3, #0] + 8005dc6: 0751 lsls r1, r2, #29 + 8005dc8: d53c bpl.n 8005e44 + 8005dca: 7d21 ldrb r1, [r4, #20] + 8005dcc: 2902 cmp r1, #2 + 8005dce: d122 bne.n 8005e16 + 8005dd0: 6d22 ldr r2, [r4, #80] @ 0x50 + 8005dd2: f8da 3000 ldr.w r3, [sl] + 8005dd6: 429a cmp r2, r3 + 8005dd8: d109 bne.n 8005dee + 8005dda: f898 3000 ldrb.w r3, [r8] + 8005dde: f043 0308 orr.w r3, r3, #8 + 8005de2: f888 3000 strb.w r3, [r8] + 8005de6: 8b63 ldrh r3, [r4, #26] + 8005de8: f023 0301 bic.w r3, r3, #1 + 8005dec: 8363 strh r3, [r4, #26] + 8005dee: f898 3000 ldrb.w r3, [r8] + 8005df2: 0719 lsls r1, r3, #28 + 8005df4: f140 8204 bpl.w 8006200 + 8005df8: f8d4 3090 ldr.w r3, [r4, #144] @ 0x90 + 8005dfc: b11b cbz r3, 8005e06 + 8005dfe: 6920 ldr r0, [r4, #16] + 8005e00: f06f 010d mvn.w r1, #13 + 8005e04: 4798 blx r3 + 8005e06: 4882 ldr r0, [pc, #520] @ (8006010 ) + 8005e08: 4621 mov r1, r4 + 8005e0a: f7fe fa45 bl 8004298 + 8005e0e: 4620 mov r0, r4 + 8005e10: f7fe f908 bl 8004024 + 8005e14: e6b9 b.n 8005b8a + 8005e16: 6a62 ldr r2, [r4, #36] @ 0x24 + 8005e18: f8db 3000 ldr.w r3, [fp] + 8005e1c: 429a cmp r2, r3 + 8005e1e: d007 beq.n 8005e30 + 8005e20: 1a9b subs r3, r3, r2 + 8005e22: d4e4 bmi.n 8005dee + 8005e24: 8d22 ldrh r2, [r4, #40] @ 0x28 + 8005e26: 1a9b subs r3, r3, r2 + 8005e28: 2b00 cmp r3, #0 + 8005e2a: dce0 bgt.n 8005dee + 8005e2c: 8b63 ldrh r3, [r4, #26] + 8005e2e: e010 b.n 8005e52 + 8005e30: 2900 cmp r1, #0 + 8005e32: d1d2 bne.n 8005dda + 8005e34: 4b77 ldr r3, [pc, #476] @ (8006014 ) + 8005e36: 4978 ldr r1, [pc, #480] @ (8006018 ) + 8005e38: 4878 ldr r0, [pc, #480] @ (800601c ) + 8005e3a: f44f 724e mov.w r2, #824 @ 0x338 + 8005e3e: f004 f99b bl 800a178 + 8005e42: e7ca b.n 8005dda + 8005e44: 0792 lsls r2, r2, #30 + 8005e46: 8b63 ldrh r3, [r4, #26] + 8005e48: d506 bpl.n 8005e58 + 8005e4a: 7d22 ldrb r2, [r4, #20] + 8005e4c: 3a02 subs r2, #2 + 8005e4e: 2a01 cmp r2, #1 + 8005e50: d902 bls.n 8005e58 + 8005e52: f043 0302 orr.w r3, r3, #2 + 8005e56: e7c9 b.n 8005dec + 8005e58: 06d8 lsls r0, r3, #27 + 8005e5a: bf5e ittt pl + 8005e5c: 4b70 ldrpl r3, [pc, #448] @ (8006020 ) + 8005e5e: 681b ldrpl r3, [r3, #0] + 8005e60: 6223 strpl r3, [r4, #32] + 8005e62: 2300 movs r3, #0 + 8005e64: f8a4 309a strh.w r3, [r4, #154] @ 0x9a + 8005e68: 4620 mov r0, r4 + 8005e6a: f7ff f80f bl 8004e8c + 8005e6e: 7d23 ldrb r3, [r4, #20] + 8005e70: 3b02 subs r3, #2 + 8005e72: 2b07 cmp r3, #7 + 8005e74: d8bb bhi.n 8005dee + 8005e76: e8df f013 tbh [pc, r3, lsl #1] + 8005e7a: 0008 .short 0x0008 + 8005e7c: 0126009b .word 0x0126009b + 8005e80: 0172012a .word 0x0172012a + 8005e84: 018b0126 .word 0x018b0126 + 8005e88: 01aa .short 0x01aa + 8005e8a: 4b60 ldr r3, [pc, #384] @ (800600c ) + 8005e8c: 781b ldrb r3, [r3, #0] + 8005e8e: f003 0212 and.w r2, r3, #18 + 8005e92: 2a12 cmp r2, #18 + 8005e94: d16c bne.n 8005f70 + 8005e96: 6c62 ldr r2, [r4, #68] @ 0x44 + 8005e98: f8da 1000 ldr.w r1, [sl] + 8005e9c: 3201 adds r2, #1 + 8005e9e: 428a cmp r2, r1 + 8005ea0: d166 bne.n 8005f70 + 8005ea2: f8db 3000 ldr.w r3, [fp] + 8005ea6: 6462 str r2, [r4, #68] @ 0x44 + 8005ea8: 1c59 adds r1, r3, #1 + 8005eaa: 6832 ldr r2, [r6, #0] + 8005eac: 6261 str r1, [r4, #36] @ 0x24 + 8005eae: 62e1 str r1, [r4, #44] @ 0x2c + 8005eb0: 3b01 subs r3, #1 + 8005eb2: 89d2 ldrh r2, [r2, #14] + 8005eb4: 6563 str r3, [r4, #84] @ 0x54 + 8005eb6: 2304 movs r3, #4 + 8005eb8: 18e6 adds r6, r4, r3 + 8005eba: 7523 strb r3, [r4, #20] + 8005ebc: f8a4 2060 strh.w r2, [r4, #96] @ 0x60 + 8005ec0: f8a4 2062 strh.w r2, [r4, #98] @ 0x62 + 8005ec4: 4630 mov r0, r6 + 8005ec6: 8e67 ldrh r7, [r4, #50] @ 0x32 + 8005ec8: f003 f9d6 bl 8009278 + 8005ecc: 4632 mov r2, r6 + 8005ece: 4601 mov r1, r0 + 8005ed0: 4638 mov r0, r7 + 8005ed2: f7fe f987 bl 80041e4 + 8005ed6: f241 131c movw r3, #4380 @ 0x111c + 8005eda: 0042 lsls r2, r0, #1 + 8005edc: 429a cmp r2, r3 + 8005ede: 4616 mov r6, r2 + 8005ee0: bf38 it cc + 8005ee2: 461e movcc r6, r3 + 8005ee4: ebb6 0f80 cmp.w r6, r0, lsl #2 + 8005ee8: 8660 strh r0, [r4, #50] @ 0x32 + 8005eea: ea4f 0180 mov.w r1, r0, lsl #2 + 8005eee: d933 bls.n 8005f58 + 8005ef0: b28b uxth r3, r1 + 8005ef2: f8a4 3048 strh.w r3, [r4, #72] @ 0x48 + 8005ef6: f8b4 3066 ldrh.w r3, [r4, #102] @ 0x66 + 8005efa: b933 cbnz r3, 8005f0a + 8005efc: 4b45 ldr r3, [pc, #276] @ (8006014 ) + 8005efe: 4949 ldr r1, [pc, #292] @ (8006024 ) + 8005f00: 4846 ldr r0, [pc, #280] @ (800601c ) + 8005f02: f44f 725b mov.w r2, #876 @ 0x36c + 8005f06: f004 f937 bl 800a178 + 8005f0a: f8b4 3066 ldrh.w r3, [r4, #102] @ 0x66 + 8005f0e: 6f26 ldr r6, [r4, #112] @ 0x70 + 8005f10: 3b01 subs r3, #1 + 8005f12: f8a4 3066 strh.w r3, [r4, #102] @ 0x66 + 8005f16: bb1e cbnz r6, 8005f60 + 8005f18: 6ee6 ldr r6, [r4, #108] @ 0x6c + 8005f1a: b936 cbnz r6, 8005f2a + 8005f1c: 4b3d ldr r3, [pc, #244] @ (8006014 ) + 8005f1e: 4942 ldr r1, [pc, #264] @ (8006028 ) + 8005f20: 483e ldr r0, [pc, #248] @ (800601c ) + 8005f22: f44f 725d mov.w r2, #884 @ 0x374 + 8005f26: f004 f927 bl 800a178 + 8005f2a: 6833 ldr r3, [r6, #0] + 8005f2c: 66e3 str r3, [r4, #108] @ 0x6c + 8005f2e: 4630 mov r0, r6 + 8005f30: f7fe f904 bl 800413c + 8005f34: 6f23 ldr r3, [r4, #112] @ 0x70 + 8005f36: b9b3 cbnz r3, 8005f66 + 8005f38: f64f 73ff movw r3, #65535 @ 0xffff + 8005f3c: 8623 strh r3, [r4, #48] @ 0x30 + 8005f3e: f8d4 3088 ldr.w r3, [r4, #136] @ 0x88 + 8005f42: 2b00 cmp r3, #0 + 8005f44: f43f af72 beq.w 8005e2c + 8005f48: 6920 ldr r0, [r4, #16] + 8005f4a: 2200 movs r2, #0 + 8005f4c: 4621 mov r1, r4 + 8005f4e: 4798 blx r3 + 8005f50: 300d adds r0, #13 + 8005f52: f47f af6b bne.w 8005e2c + 8005f56: e618 b.n 8005b8a + 8005f58: 429a cmp r2, r3 + 8005f5a: bf88 it hi + 8005f5c: b293 uxthhi r3, r2 + 8005f5e: e7c8 b.n 8005ef2 + 8005f60: 6833 ldr r3, [r6, #0] + 8005f62: 6723 str r3, [r4, #112] @ 0x70 + 8005f64: e7e3 b.n 8005f2e + 8005f66: 2300 movs r3, #0 + 8005f68: 8623 strh r3, [r4, #48] @ 0x30 + 8005f6a: f884 3042 strb.w r3, [r4, #66] @ 0x42 + 8005f6e: e7e6 b.n 8005f3e + 8005f70: 06d9 lsls r1, r3, #27 + 8005f72: f57f af3c bpl.w 8005dee + 8005f76: 6833 ldr r3, [r6, #0] + 8005f78: 4a2c ldr r2, [pc, #176] @ (800602c ) + 8005f7a: 8818 ldrh r0, [r3, #0] + 8005f7c: 8811 ldrh r1, [r2, #0] + 8005f7e: f8db 2000 ldr.w r2, [fp] + 8005f82: 9002 str r0, [sp, #8] + 8005f84: 885b ldrh r3, [r3, #2] + 8005f86: 9301 str r3, [sp, #4] + 8005f88: 4b29 ldr r3, [pc, #164] @ (8006030 ) + 8005f8a: 9300 str r3, [sp, #0] + 8005f8c: 440a add r2, r1 + 8005f8e: 3304 adds r3, #4 + 8005f90: f8da 1000 ldr.w r1, [sl] + 8005f94: 4620 mov r0, r4 + 8005f96: f000 fd63 bl 8006a60 + 8005f9a: f894 3042 ldrb.w r3, [r4, #66] @ 0x42 + 8005f9e: 2b05 cmp r3, #5 + 8005fa0: f63f af25 bhi.w 8005dee + 8005fa4: 2300 movs r3, #0 + 8005fa6: 8623 strh r3, [r4, #48] @ 0x30 + 8005fa8: 4620 mov r0, r4 + 8005faa: f000 ff97 bl 8006edc + 8005fae: e71e b.n 8005dee + 8005fb0: 4b16 ldr r3, [pc, #88] @ (800600c ) + 8005fb2: 781b ldrb r3, [r3, #0] + 8005fb4: 06da lsls r2, r3, #27 + 8005fb6: d578 bpl.n 80060aa + 8005fb8: 6c63 ldr r3, [r4, #68] @ 0x44 + 8005fba: f8da 1000 ldr.w r1, [sl] + 8005fbe: 43db mvns r3, r3 + 8005fc0: 42cb cmn r3, r1 + 8005fc2: d461 bmi.n 8006088 + 8005fc4: 6d23 ldr r3, [r4, #80] @ 0x50 + 8005fc6: 1acb subs r3, r1, r3 + 8005fc8: 2b00 cmp r3, #0 + 8005fca: dc5d bgt.n 8006088 + 8005fcc: 2304 movs r3, #4 + 8005fce: 7523 strb r3, [r4, #20] + 8005fd0: 6fe3 ldr r3, [r4, #124] @ 0x7c + 8005fd2: b91b cbnz r3, 8005fdc + 8005fd4: 4620 mov r0, r4 + 8005fd6: f7fe fa4b bl 8004470 + 8005fda: e5d6 b.n 8005b8a + 8005fdc: 699b ldr r3, [r3, #24] + 8005fde: b933 cbnz r3, 8005fee + 8005fe0: 4b0c ldr r3, [pc, #48] @ (8006014 ) + 8005fe2: 4914 ldr r1, [pc, #80] @ (8006034 ) + 8005fe4: 480d ldr r0, [pc, #52] @ (800601c ) + 8005fe6: f44f 726a mov.w r2, #936 @ 0x3a8 + 8005fea: f004 f8c5 bl 800a178 + 8005fee: 6fe3 ldr r3, [r4, #124] @ 0x7c + 8005ff0: 699b ldr r3, [r3, #24] + 8005ff2: 2b00 cmp r3, #0 + 8005ff4: d0ee beq.n 8005fd4 + 8005ff6: 6920 ldr r0, [r4, #16] + 8005ff8: 2200 movs r2, #0 + 8005ffa: 4621 mov r1, r4 + 8005ffc: 4798 blx r3 + 8005ffe: b1d8 cbz r0, 8006038 + 8006000: 300d adds r0, #13 + 8006002: f43f adc2 beq.w 8005b8a + 8006006: e7e5 b.n 8005fd4 + 8006008: 20018a7b .word 0x20018a7b + 800600c: 20018a99 .word 0x20018a99 + 8006010: 20018a80 .word 0x20018a80 + 8006014: 0800bcd4 .word 0x0800bcd4 + 8006018: 0800bfd8 .word 0x0800bfd8 + 800601c: 0800b0a6 .word 0x0800b0a6 + 8006020: 20018a8c .word 0x20018a8c + 8006024: 0800bff8 .word 0x0800bff8 + 8006028: 0800c00e .word 0x0800c00e + 800602c: 20018a9a .word 0x20018a9a + 8006030: 20005b34 .word 0x20005b34 + 8006034: 0800c021 .word 0x0800c021 + 8006038: 4620 mov r0, r4 + 800603a: f7fe ffeb bl 8005014 + 800603e: 4a9b ldr r2, [pc, #620] @ (80062ac ) + 8006040: 8813 ldrh r3, [r2, #0] + 8006042: b10b cbz r3, 8006048 + 8006044: 3b01 subs r3, #1 + 8006046: 8013 strh r3, [r2, #0] + 8006048: 8e61 ldrh r1, [r4, #50] @ 0x32 + 800604a: f241 131c movw r3, #4380 @ 0x111c + 800604e: 004a lsls r2, r1, #1 + 8006050: 429a cmp r2, r3 + 8006052: 4616 mov r6, r2 + 8006054: bf38 it cc + 8006056: 461e movcc r6, r3 + 8006058: ebb6 0f81 cmp.w r6, r1, lsl #2 + 800605c: ea4f 0081 mov.w r0, r1, lsl #2 + 8006060: d90e bls.n 8006080 + 8006062: b283 uxth r3, r0 + 8006064: f8a4 3048 strh.w r3, [r4, #72] @ 0x48 + 8006068: f898 3000 ldrb.w r3, [r8] + 800606c: 069e lsls r6, r3, #26 + 800606e: f57f aebe bpl.w 8005dee + 8006072: 8b63 ldrh r3, [r4, #26] + 8006074: f043 0302 orr.w r3, r3, #2 + 8006078: 8363 strh r3, [r4, #26] + 800607a: 2307 movs r3, #7 + 800607c: 7523 strb r3, [r4, #20] + 800607e: e6b6 b.n 8005dee + 8006080: 429a cmp r2, r3 + 8006082: bf88 it hi + 8006084: b293 uxthhi r3, r2 + 8006086: e7ed b.n 8006064 + 8006088: 6833 ldr r3, [r6, #0] + 800608a: 4a89 ldr r2, [pc, #548] @ (80062b0 ) + 800608c: 881e ldrh r6, [r3, #0] + 800608e: 8810 ldrh r0, [r2, #0] + 8006090: f8db 2000 ldr.w r2, [fp] + 8006094: 9602 str r6, [sp, #8] + 8006096: 885b ldrh r3, [r3, #2] + 8006098: 9301 str r3, [sp, #4] + 800609a: 4b86 ldr r3, [pc, #536] @ (80062b4 ) + 800609c: 9300 str r3, [sp, #0] + 800609e: 4402 add r2, r0 + 80060a0: 3304 adds r3, #4 + 80060a2: 4620 mov r0, r4 + 80060a4: f000 fcdc bl 8006a60 + 80060a8: e6a1 b.n 8005dee + 80060aa: 079f lsls r7, r3, #30 + 80060ac: f57f ae9f bpl.w 8005dee + 80060b0: 6a63 ldr r3, [r4, #36] @ 0x24 + 80060b2: f8db 2000 ldr.w r2, [fp] + 80060b6: 3b01 subs r3, #1 + 80060b8: 4293 cmp r3, r2 + 80060ba: f47f ae98 bne.w 8005dee + 80060be: 4620 mov r0, r4 + 80060c0: f000 fc58 bl 8006974 + 80060c4: e693 b.n 8005dee + 80060c6: 4620 mov r0, r4 + 80060c8: f7fe ffa4 bl 8005014 + 80060cc: e7cc b.n 8006068 + 80060ce: 4620 mov r0, r4 + 80060d0: f7fe ffa0 bl 8005014 + 80060d4: f898 3000 ldrb.w r3, [r8] + 80060d8: 0698 lsls r0, r3, #26 + 80060da: d52f bpl.n 800613c + 80060dc: 4a76 ldr r2, [pc, #472] @ (80062b8 ) + 80060de: 8b63 ldrh r3, [r4, #26] + 80060e0: 7812 ldrb r2, [r2, #0] + 80060e2: 06d1 lsls r1, r2, #27 + 80060e4: f043 0302 orr.w r3, r3, #2 + 80060e8: d525 bpl.n 8006136 + 80060ea: 6d21 ldr r1, [r4, #80] @ 0x50 + 80060ec: f8da 2000 ldr.w r2, [sl] + 80060f0: 4291 cmp r1, r2 + 80060f2: d120 bne.n 8006136 + 80060f4: 6ee2 ldr r2, [r4, #108] @ 0x6c + 80060f6: b9f2 cbnz r2, 8006136 + 80060f8: 8363 strh r3, [r4, #26] + 80060fa: 4620 mov r0, r4 + 80060fc: f7fe f89a bl 8004234 + 8006100: 683b ldr r3, [r7, #0] + 8006102: 429c cmp r4, r3 + 8006104: d109 bne.n 800611a + 8006106: 68e3 ldr r3, [r4, #12] + 8006108: 603b str r3, [r7, #0] + 800610a: e008 b.n 800611e + 800610c: 68da ldr r2, [r3, #12] + 800610e: 4294 cmp r4, r2 + 8006110: d102 bne.n 8006118 + 8006112: 68e2 ldr r2, [r4, #12] + 8006114: 60da str r2, [r3, #12] + 8006116: e002 b.n 800611e + 8006118: 4613 mov r3, r2 + 800611a: 2b00 cmp r3, #0 + 800611c: d1f6 bne.n 800610c + 800611e: 4b67 ldr r3, [pc, #412] @ (80062bc ) + 8006120: 2201 movs r2, #1 + 8006122: 701a strb r2, [r3, #0] + 8006124: 230a movs r3, #10 + 8006126: 7523 strb r3, [r4, #20] + 8006128: 4b65 ldr r3, [pc, #404] @ (80062c0 ) + 800612a: 681a ldr r2, [r3, #0] + 800612c: 60e2 str r2, [r4, #12] + 800612e: 601c str r4, [r3, #0] + 8006130: f000 ffe4 bl 80070fc + 8006134: e65b b.n 8005dee + 8006136: 8363 strh r3, [r4, #26] + 8006138: 2308 movs r3, #8 + 800613a: e79f b.n 800607c + 800613c: 4b5e ldr r3, [pc, #376] @ (80062b8 ) + 800613e: 781b ldrb r3, [r3, #0] + 8006140: 06da lsls r2, r3, #27 + 8006142: f57f ae54 bpl.w 8005dee + 8006146: 6d22 ldr r2, [r4, #80] @ 0x50 + 8006148: f8da 3000 ldr.w r3, [sl] + 800614c: 429a cmp r2, r3 + 800614e: f47f ae4e bne.w 8005dee + 8006152: 6ee3 ldr r3, [r4, #108] @ 0x6c + 8006154: 2b00 cmp r3, #0 + 8006156: f47f ae4a bne.w 8005dee + 800615a: 2306 movs r3, #6 + 800615c: e78e b.n 800607c + 800615e: 4620 mov r0, r4 + 8006160: f7fe ff58 bl 8005014 + 8006164: f898 3000 ldrb.w r3, [r8] + 8006168: 069b lsls r3, r3, #26 + 800616a: f57f ae40 bpl.w 8005dee + 800616e: 8b63 ldrh r3, [r4, #26] + 8006170: f043 0302 orr.w r3, r3, #2 + 8006174: 8363 strh r3, [r4, #26] + 8006176: 4620 mov r0, r4 + 8006178: f7fe f85c bl 8004234 + 800617c: 683b ldr r3, [r7, #0] + 800617e: 429c cmp r4, r3 + 8006180: d0c1 beq.n 8006106 + 8006182: 2b00 cmp r3, #0 + 8006184: d0cb beq.n 800611e + 8006186: 68da ldr r2, [r3, #12] + 8006188: 4294 cmp r4, r2 + 800618a: d0c2 beq.n 8006112 + 800618c: 4613 mov r3, r2 + 800618e: e7f8 b.n 8006182 + 8006190: 4620 mov r0, r4 + 8006192: f7fe ff3f bl 8005014 + 8006196: 4b48 ldr r3, [pc, #288] @ (80062b8 ) + 8006198: 781b ldrb r3, [r3, #0] + 800619a: 06de lsls r6, r3, #27 + 800619c: f57f ae27 bpl.w 8005dee + 80061a0: 6d22 ldr r2, [r4, #80] @ 0x50 + 80061a2: f8da 3000 ldr.w r3, [sl] + 80061a6: 429a cmp r2, r3 + 80061a8: f47f ae21 bne.w 8005dee + 80061ac: 6ee3 ldr r3, [r4, #108] @ 0x6c + 80061ae: 2b00 cmp r3, #0 + 80061b0: f47f ae1d bne.w 8005dee + 80061b4: 4620 mov r0, r4 + 80061b6: f7fe f83d bl 8004234 + 80061ba: 683b ldr r3, [r7, #0] + 80061bc: 429c cmp r4, r3 + 80061be: d0a2 beq.n 8006106 + 80061c0: 2b00 cmp r3, #0 + 80061c2: d0ac beq.n 800611e + 80061c4: 68da ldr r2, [r3, #12] + 80061c6: 4294 cmp r4, r2 + 80061c8: d0a3 beq.n 8006112 + 80061ca: 4613 mov r3, r2 + 80061cc: e7f8 b.n 80061c0 + 80061ce: 4620 mov r0, r4 + 80061d0: f7fe ff20 bl 8005014 + 80061d4: 4b38 ldr r3, [pc, #224] @ (80062b8 ) + 80061d6: 781b ldrb r3, [r3, #0] + 80061d8: 06d8 lsls r0, r3, #27 + 80061da: f57f ae08 bpl.w 8005dee + 80061de: 6d21 ldr r1, [r4, #80] @ 0x50 + 80061e0: f8da 2000 ldr.w r2, [sl] + 80061e4: f898 3000 ldrb.w r3, [r8] + 80061e8: 4291 cmp r1, r2 + 80061ea: f47f ae00 bne.w 8005dee + 80061ee: 6ee2 ldr r2, [r4, #108] @ 0x6c + 80061f0: 2a00 cmp r2, #0 + 80061f2: f47f adfc bne.w 8005dee + 80061f6: f043 0310 orr.w r3, r3, #16 + 80061fa: f888 3000 strb.w r3, [r8] + 80061fe: e5f6 b.n 8005dee + 8006200: 4b2a ldr r3, [pc, #168] @ (80062ac ) + 8006202: 881a ldrh r2, [r3, #0] + 8006204: b12a cbz r2, 8006212 + 8006206: f8d4 3080 ldr.w r3, [r4, #128] @ 0x80 + 800620a: b9f3 cbnz r3, 800624a + 800620c: 4a27 ldr r2, [pc, #156] @ (80062ac ) + 800620e: 2300 movs r3, #0 + 8006210: 8013 strh r3, [r2, #0] + 8006212: 4620 mov r0, r4 + 8006214: f7fe fe80 bl 8004f18 + 8006218: 2800 cmp r0, #0 + 800621a: f47f acb6 bne.w 8005b8a + 800621e: f8d9 3000 ldr.w r3, [r9] + 8006222: b333 cbz r3, 8006272 + 8006224: 6fa3 ldr r3, [r4, #120] @ 0x78 + 8006226: b133 cbz r3, 8006236 + 8006228: 4b26 ldr r3, [pc, #152] @ (80062c4 ) + 800622a: 4927 ldr r1, [pc, #156] @ (80062c8 ) + 800622c: 4827 ldr r0, [pc, #156] @ (80062cc ) + 800622e: f44f 72f3 mov.w r2, #486 @ 0x1e6 + 8006232: f003 ffa1 bl 800a178 + 8006236: 8b63 ldrh r3, [r4, #26] + 8006238: f8d9 2000 ldr.w r2, [r9] + 800623c: f013 0310 ands.w r3, r3, #16 + 8006240: d009 beq.n 8006256 + 8006242: 4610 mov r0, r2 + 8006244: f7fd fc3c bl 8003ac0 + 8006248: e6c4 b.n 8005fd4 + 800624a: 6920 ldr r0, [r4, #16] + 800624c: 4621 mov r1, r4 + 800624e: 4798 blx r3 + 8006250: 300d adds r0, #13 + 8006252: d1db bne.n 800620c + 8006254: e499 b.n 8005b8a + 8006256: f8d4 6084 ldr.w r6, [r4, #132] @ 0x84 + 800625a: b306 cbz r6, 800629e + 800625c: 6920 ldr r0, [r4, #16] + 800625e: 4621 mov r1, r4 + 8006260: 47b0 blx r6 + 8006262: f110 0f0d cmn.w r0, #13 + 8006266: f43f ac90 beq.w 8005b8a + 800626a: b110 cbz r0, 8006272 + 800626c: f8d9 3000 ldr.w r3, [r9] + 8006270: 67a3 str r3, [r4, #120] @ 0x78 + 8006272: f898 3000 ldrb.w r3, [r8] + 8006276: 069a lsls r2, r3, #26 + 8006278: d505 bpl.n 8006286 + 800627a: 6fa3 ldr r3, [r4, #120] @ 0x78 + 800627c: b343 cbz r3, 80062d0 + 800627e: 7b5a ldrb r2, [r3, #13] + 8006280: f042 0220 orr.w r2, r2, #32 + 8006284: 735a strb r2, [r3, #13] + 8006286: 2300 movs r3, #0 + 8006288: 4620 mov r0, r4 + 800628a: 602b str r3, [r5, #0] + 800628c: f7fe fe44 bl 8004f18 + 8006290: 2800 cmp r0, #0 + 8006292: f47f ac7a bne.w 8005b8a + 8006296: 4620 mov r0, r4 + 8006298: f000 fc5a bl 8006b50 + 800629c: e475 b.n 8005b8a + 800629e: 4633 mov r3, r6 + 80062a0: 4621 mov r1, r4 + 80062a2: 4630 mov r0, r6 + 80062a4: f7fe fab2 bl 800480c + 80062a8: e7db b.n 8006262 + 80062aa: bf00 nop + 80062ac: 20018a9c .word 0x20018a9c + 80062b0: 20018a9a .word 0x20018a9a + 80062b4: 20005b34 .word 0x20005b34 + 80062b8: 20018a99 .word 0x20018a99 + 80062bc: 20018a7b .word 0x20018a7b + 80062c0: 20018a7c .word 0x20018a7c + 80062c4: 0800bcd4 .word 0x0800bcd4 + 80062c8: 0800c03f .word 0x0800c03f + 80062cc: 0800b0a6 .word 0x0800b0a6 + 80062d0: 8d23 ldrh r3, [r4, #40] @ 0x28 + 80062d2: f8d4 6084 ldr.w r6, [r4, #132] @ 0x84 + 80062d6: f5b3 6f06 cmp.w r3, #2144 @ 0x860 + 80062da: bf1c itt ne + 80062dc: 3301 addne r3, #1 + 80062de: 8523 strhne r3, [r4, #40] @ 0x28 + 80062e0: 2e00 cmp r6, #0 + 80062e2: d0d0 beq.n 8006286 + 80062e4: 2300 movs r3, #0 + 80062e6: 6920 ldr r0, [r4, #16] + 80062e8: 461a mov r2, r3 + 80062ea: 4621 mov r1, r4 + 80062ec: 47b0 blx r6 + 80062ee: 300d adds r0, #13 + 80062f0: d1c9 bne.n 8006286 + 80062f2: e44a b.n 8005b8a + 80062f4: f1b9 0f00 cmp.w r9, #0 + 80062f8: f47f ac05 bne.w 8005b06 + 80062fc: e413 b.n 8005b26 + 80062fe: f1b9 0f00 cmp.w r9, #0 + 8006302: d005 beq.n 8006310 + 8006304: 68e3 ldr r3, [r4, #12] + 8006306: f8c9 300c str.w r3, [r9, #12] + 800630a: 4b0e ldr r3, [pc, #56] @ (8006344 ) + 800630c: 60e2 str r2, [r4, #12] + 800630e: 601c str r4, [r3, #0] + 8006310: 4b0d ldr r3, [pc, #52] @ (8006348 ) + 8006312: 781b ldrb r3, [r3, #0] + 8006314: 075a lsls r2, r3, #29 + 8006316: f53f ab85 bmi.w 8005a24 + 800631a: f013 0910 ands.w r9, r3, #16 + 800631e: f43f acbd beq.w 8005c9c + 8006322: 4b0a ldr r3, [pc, #40] @ (800634c ) + 8006324: f8db 2000 ldr.w r2, [fp] + 8006328: 8818 ldrh r0, [r3, #0] + 800632a: 880b ldrh r3, [r1, #0] + 800632c: 9302 str r3, [sp, #8] + 800632e: 884b ldrh r3, [r1, #2] + 8006330: 9301 str r3, [sp, #4] + 8006332: 4b07 ldr r3, [pc, #28] @ (8006350 ) + 8006334: 9300 str r3, [sp, #0] + 8006336: 4402 add r2, r0 + 8006338: 3304 adds r3, #4 + 800633a: f8da 1000 ldr.w r1, [sl] + 800633e: 4620 mov r0, r4 + 8006340: e47d b.n 8005c3e + 8006342: bf00 nop + 8006344: 20018a84 .word 0x20018a84 + 8006348: 20018a99 .word 0x20018a99 + 800634c: 20018a9a .word 0x20018a9a + 8006350: 20005b34 .word 0x20005b34 -080056c8 : - 80056c8: b510 push {r4, lr} - 80056ca: 4604 mov r4, r0 - 80056cc: b930 cbnz r0, 80056dc - 80056ce: 4b06 ldr r3, [pc, #24] ; (80056e8 ) - 80056d0: 4906 ldr r1, [pc, #24] ; (80056ec ) - 80056d2: 4807 ldr r0, [pc, #28] ; (80056f0 ) - 80056d4: f240 529a movw r2, #1434 ; 0x59a - 80056d8: f003 fe66 bl 80093a8 - 80056dc: 6863 ldr r3, [r4, #4] - 80056de: 7b98 ldrb r0, [r3, #14] - 80056e0: 3801 subs r0, #1 - 80056e2: bf18 it ne - 80056e4: 2001 movne r0, #1 - 80056e6: bd10 pop {r4, pc} - 80056e8: 0800b54e .word 0x0800b54e - 80056ec: 0800b581 .word 0x0800b581 - 80056f0: 0800a54d .word 0x0800a54d +08006354 : + 8006354: 4a02 ldr r2, [pc, #8] @ (8006360 ) + 8006356: 7813 ldrb r3, [r2, #0] + 8006358: f043 0310 orr.w r3, r3, #16 + 800635c: 7013 strb r3, [r2, #0] + 800635e: 4770 bx lr + 8006360: 20018a98 .word 0x20018a98 -080056f4 : - 80056f4: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 80056f8: 460e mov r6, r1 - 80056fa: f89d a020 ldrb.w sl, [sp, #32] - 80056fe: 4690 mov r8, r2 - 8005700: 4699 mov r9, r3 - 8005702: 4607 mov r7, r0 - 8005704: b928 cbnz r0, 8005712 - 8005706: 4b2f ldr r3, [pc, #188] ; (80057c4 ) - 8005708: 492f ldr r1, [pc, #188] ; (80057c8 ) - 800570a: 4830 ldr r0, [pc, #192] ; (80057cc ) - 800570c: 22a3 movs r2, #163 ; 0xa3 - 800570e: f003 fe4b bl 80093a8 - 8005712: b92e cbnz r6, 8005720 - 8005714: 4b2b ldr r3, [pc, #172] ; (80057c4 ) - 8005716: 492e ldr r1, [pc, #184] ; (80057d0 ) - 8005718: 482c ldr r0, [pc, #176] ; (80057cc ) - 800571a: 22a4 movs r2, #164 ; 0xa4 - 800571c: f003 fe44 bl 80093a8 - 8005720: 2003 movs r0, #3 - 8005722: f7fd f8af bl 8002884 - 8005726: ea4f 058a mov.w r5, sl, lsl #2 - 800572a: f005 0504 and.w r5, r5, #4 - 800572e: 4604 mov r4, r0 - 8005730: b928 cbnz r0, 800573e - 8005732: 4630 mov r0, r6 - 8005734: f7fd fb4e bl 8002dd4 - 8005738: 4620 mov r0, r4 - 800573a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800573e: f880 a00a strb.w sl, [r0, #10] - 8005742: 2300 movs r3, #0 - 8005744: e9c0 3600 strd r3, r6, [r0] - 8005748: 8933 ldrh r3, [r6, #8] - 800574a: 42ab cmp r3, r5 - 800574c: fa1f fa85 uxth.w sl, r5 - 8005750: d205 bcs.n 800575e - 8005752: 4b1c ldr r3, [pc, #112] ; (80057c4 ) - 8005754: 491f ldr r1, [pc, #124] ; (80057d4 ) - 8005756: 481d ldr r0, [pc, #116] ; (80057cc ) - 8005758: 22b0 movs r2, #176 ; 0xb0 - 800575a: f003 fe25 bl 80093a8 - 800575e: 8933 ldrh r3, [r6, #8] - 8005760: eba3 030a sub.w r3, r3, sl - 8005764: 4630 mov r0, r6 - 8005766: 8123 strh r3, [r4, #8] - 8005768: 2114 movs r1, #20 - 800576a: f7fd fafb bl 8002d64 - 800576e: 4606 mov r6, r0 - 8005770: b120 cbz r0, 800577c - 8005772: 4620 mov r0, r4 - 8005774: f7fd fe76 bl 8003464 - 8005778: 2400 movs r4, #0 - 800577a: e7dd b.n 8005738 - 800577c: 6863 ldr r3, [r4, #4] - 800577e: 8af8 ldrh r0, [r7, #22] - 8005780: f8d3 a004 ldr.w sl, [r3, #4] - 8005784: f8c4 a00c str.w sl, [r4, #12] - 8005788: f7fc fdd9 bl 800233e - 800578c: f8aa 0000 strh.w r0, [sl] - 8005790: 8b38 ldrh r0, [r7, #24] - 8005792: f8d4 a00c ldr.w sl, [r4, #12] - 8005796: f7fc fdd2 bl 800233e - 800579a: f8aa 0002 strh.w r0, [sl, #2] - 800579e: 4648 mov r0, r9 - 80057a0: 68e7 ldr r7, [r4, #12] - 80057a2: f7fc fdcf bl 8002344 - 80057a6: 02ad lsls r5, r5, #10 - 80057a8: f505 45a0 add.w r5, r5, #20480 ; 0x5000 - 80057ac: 6078 str r0, [r7, #4] - 80057ae: ea45 0008 orr.w r0, r5, r8 - 80057b2: 68e7 ldr r7, [r4, #12] - 80057b4: f7fc fdc3 bl 800233e - 80057b8: 68e3 ldr r3, [r4, #12] - 80057ba: 81b8 strh r0, [r7, #12] - 80057bc: 749e strb r6, [r3, #18] - 80057be: 74de strb r6, [r3, #19] - 80057c0: e7ba b.n 8005738 - 80057c2: bf00 nop - 80057c4: 0800b54e .word 0x0800b54e - 80057c8: 0800b5a6 .word 0x0800b5a6 - 80057cc: 0800a54d .word 0x0800a54d - 80057d0: 0800b5c6 .word 0x0800b5c6 - 80057d4: 0800b5e7 .word 0x0800b5e7 +08006364 : + 8006364: b510 push {r4, lr} + 8006366: 4604 mov r4, r0 + 8006368: b930 cbnz r0, 8006378 + 800636a: 4b06 ldr r3, [pc, #24] @ (8006384 ) + 800636c: 4906 ldr r1, [pc, #24] @ (8006388 ) + 800636e: 4807 ldr r0, [pc, #28] @ (800638c ) + 8006370: f240 529a movw r2, #1434 @ 0x59a + 8006374: f003 ff00 bl 800a178 + 8006378: 6863 ldr r3, [r4, #4] + 800637a: 7b98 ldrb r0, [r3, #14] + 800637c: 3801 subs r0, #1 + 800637e: bf18 it ne + 8006380: 2001 movne r0, #1 + 8006382: bd10 pop {r4, pc} + 8006384: 0800c059 .word 0x0800c059 + 8006388: 0800c08c .word 0x0800c08c + 800638c: 0800b0a6 .word 0x0800b0a6 -080057d8 : - 80057d8: 3114 adds r1, #20 - 80057da: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80057de: b289 uxth r1, r1 - 80057e0: 4606 mov r6, r0 - 80057e2: 4617 mov r7, r2 - 80057e4: 2022 movs r0, #34 ; 0x22 - 80057e6: f44f 7220 mov.w r2, #640 ; 0x280 - 80057ea: 4698 mov r8, r3 - 80057ec: f7fd fb56 bl 8002e9c - 80057f0: 4605 mov r5, r0 - 80057f2: b348 cbz r0, 8005848 - 80057f4: 8943 ldrh r3, [r0, #10] - 80057f6: 2b13 cmp r3, #19 - 80057f8: d806 bhi.n 8005808 - 80057fa: 4b15 ldr r3, [pc, #84] ; (8005850 ) - 80057fc: 4915 ldr r1, [pc, #84] ; (8005854 ) - 80057fe: 4816 ldr r0, [pc, #88] ; (8005858 ) - 8005800: f240 7223 movw r2, #1827 ; 0x723 - 8005804: f003 fdd0 bl 80093a8 - 8005808: 4640 mov r0, r8 - 800580a: 686c ldr r4, [r5, #4] - 800580c: f7fc fd97 bl 800233e - 8005810: 8020 strh r0, [r4, #0] - 8005812: f8bd 0018 ldrh.w r0, [sp, #24] - 8005816: f7fc fd92 bl 800233e - 800581a: 6067 str r7, [r4, #4] - 800581c: 8060 strh r0, [r4, #2] - 800581e: 4630 mov r0, r6 - 8005820: f7fc fd90 bl 8002344 - 8005824: 60a0 str r0, [r4, #8] - 8005826: f89d 001c ldrb.w r0, [sp, #28] - 800582a: f440 40a0 orr.w r0, r0, #20480 ; 0x5000 - 800582e: f7fc fd86 bl 800233e - 8005832: 81a0 strh r0, [r4, #12] - 8005834: f8bd 0020 ldrh.w r0, [sp, #32] - 8005838: f7fc fd81 bl 800233e - 800583c: 2300 movs r3, #0 - 800583e: 81e0 strh r0, [r4, #14] - 8005840: 7423 strb r3, [r4, #16] - 8005842: 7463 strb r3, [r4, #17] - 8005844: 74a3 strb r3, [r4, #18] - 8005846: 74e3 strb r3, [r4, #19] - 8005848: 4628 mov r0, r5 - 800584a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800584e: bf00 nop - 8005850: 0800b54e .word 0x0800b54e - 8005854: 0800b5fc .word 0x0800b5fc - 8005858: 0800a54d .word 0x0800a54d +08006390 : + 8006390: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8006394: 460e mov r6, r1 + 8006396: f89d a020 ldrb.w sl, [sp, #32] + 800639a: 4690 mov r8, r2 + 800639c: 4699 mov r9, r3 + 800639e: 4607 mov r7, r0 + 80063a0: b928 cbnz r0, 80063ae + 80063a2: 4b2d ldr r3, [pc, #180] @ (8006458 ) + 80063a4: 492d ldr r1, [pc, #180] @ (800645c ) + 80063a6: 482e ldr r0, [pc, #184] @ (8006460 ) + 80063a8: 22a3 movs r2, #163 @ 0xa3 + 80063aa: f003 fee5 bl 800a178 + 80063ae: b92e cbnz r6, 80063bc + 80063b0: 4b29 ldr r3, [pc, #164] @ (8006458 ) + 80063b2: 492c ldr r1, [pc, #176] @ (8006464 ) + 80063b4: 482a ldr r0, [pc, #168] @ (8006460 ) + 80063b6: 22a4 movs r2, #164 @ 0xa4 + 80063b8: f003 fede bl 800a178 + 80063bc: 2003 movs r0, #3 + 80063be: f7fd f8ed bl 800359c + 80063c2: ea4f 058a mov.w r5, sl, lsl #2 + 80063c6: f005 0504 and.w r5, r5, #4 + 80063ca: 4604 mov r4, r0 + 80063cc: b930 cbnz r0, 80063dc + 80063ce: 4630 mov r0, r6 + 80063d0: f7fd fb76 bl 8003ac0 + 80063d4: 2400 movs r4, #0 + 80063d6: 4620 mov r0, r4 + 80063d8: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 80063dc: 2300 movs r3, #0 + 80063de: f880 a00a strb.w sl, [r0, #10] + 80063e2: e9c0 3600 strd r3, r6, [r0] + 80063e6: 8933 ldrh r3, [r6, #8] + 80063e8: 42ab cmp r3, r5 + 80063ea: d205 bcs.n 80063f8 + 80063ec: 4b1a ldr r3, [pc, #104] @ (8006458 ) + 80063ee: 491e ldr r1, [pc, #120] @ (8006468 ) + 80063f0: 481b ldr r0, [pc, #108] @ (8006460 ) + 80063f2: 22b0 movs r2, #176 @ 0xb0 + 80063f4: f003 fec0 bl 800a178 + 80063f8: 8933 ldrh r3, [r6, #8] + 80063fa: 1b5b subs r3, r3, r5 + 80063fc: 4630 mov r0, r6 + 80063fe: 8123 strh r3, [r4, #8] + 8006400: 2114 movs r1, #20 + 8006402: f7fd fb25 bl 8003a50 + 8006406: 4606 mov r6, r0 + 8006408: b118 cbz r0, 8006412 + 800640a: 4620 mov r0, r4 + 800640c: f7fd fe96 bl 800413c + 8006410: e7e0 b.n 80063d4 + 8006412: 6863 ldr r3, [r4, #4] + 8006414: 8af8 ldrh r0, [r7, #22] + 8006416: f8d3 a004 ldr.w sl, [r3, #4] + 800641a: f8c4 a00c str.w sl, [r4, #12] + 800641e: f7fc fe32 bl 8003086 + 8006422: f8aa 0000 strh.w r0, [sl] + 8006426: 8b38 ldrh r0, [r7, #24] + 8006428: f8d4 a00c ldr.w sl, [r4, #12] + 800642c: f7fc fe2b bl 8003086 + 8006430: f8aa 0002 strh.w r0, [sl, #2] + 8006434: 4648 mov r0, r9 + 8006436: 68e7 ldr r7, [r4, #12] + 8006438: f7fc fe28 bl 800308c + 800643c: 02ad lsls r5, r5, #10 + 800643e: f505 45a0 add.w r5, r5, #20480 @ 0x5000 + 8006442: 6078 str r0, [r7, #4] + 8006444: ea48 0005 orr.w r0, r8, r5 + 8006448: 68e7 ldr r7, [r4, #12] + 800644a: f7fc fe1c bl 8003086 + 800644e: 68e3 ldr r3, [r4, #12] + 8006450: 81b8 strh r0, [r7, #12] + 8006452: 749e strb r6, [r3, #18] + 8006454: 74de strb r6, [r3, #19] + 8006456: e7be b.n 80063d6 + 8006458: 0800c059 .word 0x0800c059 + 800645c: 0800c0b1 .word 0x0800c0b1 + 8006460: 0800b0a6 .word 0x0800b0a6 + 8006464: 0800c0d1 .word 0x0800c0d1 + 8006468: 0800c0f2 .word 0x0800c0f2 -0800585c : - 800585c: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 800585e: 460d mov r5, r1 - 8005860: 4616 mov r6, r2 - 8005862: 4604 mov r4, r0 - 8005864: b930 cbnz r0, 8005874 - 8005866: 4b0d ldr r3, [pc, #52] ; (800589c ) - 8005868: 490d ldr r1, [pc, #52] ; (80058a0 ) - 800586a: 480e ldr r0, [pc, #56] ; (80058a4 ) - 800586c: f240 7242 movw r2, #1858 ; 0x742 - 8005870: f003 fd9a bl 80093a8 - 8005874: 8d63 ldrh r3, [r4, #42] ; 0x2a - 8005876: 9302 str r3, [sp, #8] - 8005878: 2310 movs r3, #16 - 800587a: 9301 str r3, [sp, #4] - 800587c: 8b23 ldrh r3, [r4, #24] - 800587e: 9300 str r3, [sp, #0] - 8005880: 8ae3 ldrh r3, [r4, #22] - 8005882: 6a60 ldr r0, [r4, #36] ; 0x24 - 8005884: 4632 mov r2, r6 - 8005886: 4629 mov r1, r5 - 8005888: f7ff ffa6 bl 80057d8 - 800588c: b118 cbz r0, 8005896 - 800588e: 8d62 ldrh r2, [r4, #42] ; 0x2a - 8005890: 6a63 ldr r3, [r4, #36] ; 0x24 - 8005892: 4413 add r3, r2 - 8005894: 62e3 str r3, [r4, #44] ; 0x2c - 8005896: b004 add sp, #16 - 8005898: bd70 pop {r4, r5, r6, pc} - 800589a: bf00 nop - 800589c: 0800b54e .word 0x0800b54e - 80058a0: 0800b62a .word 0x0800b62a - 80058a4: 0800a54d .word 0x0800a54d +0800646c : + 800646c: 3114 adds r1, #20 + 800646e: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8006472: b289 uxth r1, r1 + 8006474: 4606 mov r6, r0 + 8006476: 4617 mov r7, r2 + 8006478: 2022 movs r0, #34 @ 0x22 + 800647a: f44f 7220 mov.w r2, #640 @ 0x280 + 800647e: 4698 mov r8, r3 + 8006480: f7fd fb82 bl 8003b88 + 8006484: 4605 mov r5, r0 + 8006486: b348 cbz r0, 80064dc + 8006488: 8943 ldrh r3, [r0, #10] + 800648a: 2b13 cmp r3, #19 + 800648c: d806 bhi.n 800649c + 800648e: 4b15 ldr r3, [pc, #84] @ (80064e4 ) + 8006490: 4915 ldr r1, [pc, #84] @ (80064e8 ) + 8006492: 4816 ldr r0, [pc, #88] @ (80064ec ) + 8006494: f240 7223 movw r2, #1827 @ 0x723 + 8006498: f003 fe6e bl 800a178 + 800649c: 4640 mov r0, r8 + 800649e: 686c ldr r4, [r5, #4] + 80064a0: f7fc fdf1 bl 8003086 + 80064a4: 8020 strh r0, [r4, #0] + 80064a6: f8bd 0018 ldrh.w r0, [sp, #24] + 80064aa: f7fc fdec bl 8003086 + 80064ae: 6067 str r7, [r4, #4] + 80064b0: 8060 strh r0, [r4, #2] + 80064b2: 4630 mov r0, r6 + 80064b4: f7fc fdea bl 800308c + 80064b8: 60a0 str r0, [r4, #8] + 80064ba: f89d 001c ldrb.w r0, [sp, #28] + 80064be: f440 40a0 orr.w r0, r0, #20480 @ 0x5000 + 80064c2: f7fc fde0 bl 8003086 + 80064c6: 81a0 strh r0, [r4, #12] + 80064c8: f8bd 0020 ldrh.w r0, [sp, #32] + 80064cc: f7fc fddb bl 8003086 + 80064d0: 2300 movs r3, #0 + 80064d2: 81e0 strh r0, [r4, #14] + 80064d4: 7423 strb r3, [r4, #16] + 80064d6: 7463 strb r3, [r4, #17] + 80064d8: 74a3 strb r3, [r4, #18] + 80064da: 74e3 strb r3, [r4, #19] + 80064dc: 4628 mov r0, r5 + 80064de: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80064e2: bf00 nop + 80064e4: 0800c059 .word 0x0800c059 + 80064e8: 0800c107 .word 0x0800c107 + 80064ec: 0800b0a6 .word 0x0800b0a6 -080058a8 : - 80058a8: b930 cbnz r0, 80058b8 - 80058aa: 4b04 ldr r3, [pc, #16] ; (80058bc ) - 80058ac: 4904 ldr r1, [pc, #16] ; (80058c0 ) - 80058ae: 4805 ldr r0, [pc, #20] ; (80058c4 ) - 80058b0: f240 7256 movw r2, #1878 ; 0x756 - 80058b4: f003 bd78 b.w 80093a8 - 80058b8: 4770 bx lr - 80058ba: bf00 nop - 80058bc: 0800b54e .word 0x0800b54e - 80058c0: 0800b64f .word 0x0800b64f - 80058c4: 0800a54d .word 0x0800a54d +080064f0 : + 80064f0: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 80064f2: 460d mov r5, r1 + 80064f4: 4616 mov r6, r2 + 80064f6: 4604 mov r4, r0 + 80064f8: b930 cbnz r0, 8006508 + 80064fa: 4b0d ldr r3, [pc, #52] @ (8006530 ) + 80064fc: 490d ldr r1, [pc, #52] @ (8006534 ) + 80064fe: 480e ldr r0, [pc, #56] @ (8006538 ) + 8006500: f240 7242 movw r2, #1858 @ 0x742 + 8006504: f003 fe38 bl 800a178 + 8006508: 8d63 ldrh r3, [r4, #42] @ 0x2a + 800650a: 9302 str r3, [sp, #8] + 800650c: 2310 movs r3, #16 + 800650e: 9301 str r3, [sp, #4] + 8006510: 8b23 ldrh r3, [r4, #24] + 8006512: 9300 str r3, [sp, #0] + 8006514: 8ae3 ldrh r3, [r4, #22] + 8006516: 6a60 ldr r0, [r4, #36] @ 0x24 + 8006518: 4632 mov r2, r6 + 800651a: 4629 mov r1, r5 + 800651c: f7ff ffa6 bl 800646c + 8006520: b118 cbz r0, 800652a + 8006522: 8d62 ldrh r2, [r4, #42] @ 0x2a + 8006524: 6a63 ldr r3, [r4, #36] @ 0x24 + 8006526: 4413 add r3, r2 + 8006528: 62e3 str r3, [r4, #44] @ 0x2c + 800652a: b004 add sp, #16 + 800652c: bd70 pop {r4, r5, r6, pc} + 800652e: bf00 nop + 8006530: 0800c059 .word 0x0800c059 + 8006534: 0800c135 .word 0x0800c135 + 8006538: 0800b0a6 .word 0x0800b0a6 -080058c8 : - 80058c8: b5f0 push {r4, r5, r6, r7, lr} - 80058ca: 4604 mov r4, r0 - 80058cc: b085 sub sp, #20 - 80058ce: 4617 mov r7, r2 - 80058d0: 461e mov r6, r3 - 80058d2: 460d mov r5, r1 - 80058d4: b931 cbnz r1, 80058e4 - 80058d6: 4b15 ldr r3, [pc, #84] ; (800592c ) - 80058d8: 4915 ldr r1, [pc, #84] ; (8005930 ) - 80058da: 4816 ldr r0, [pc, #88] ; (8005934 ) - 80058dc: f240 7287 movw r2, #1927 ; 0x787 - 80058e0: f003 fd62 bl 80093a8 - 80058e4: b164 cbz r4, 8005900 - 80058e6: 7a20 ldrb r0, [r4, #8] - 80058e8: b150 cbz r0, 8005900 - 80058ea: f7fd f9a7 bl 8002c3c - 80058ee: b968 cbnz r0, 800590c - 80058f0: f06f 0403 mvn.w r4, #3 - 80058f4: 4628 mov r0, r5 - 80058f6: f7fd fa6d bl 8002dd4 - 80058fa: 4620 mov r0, r4 - 80058fc: b005 add sp, #20 - 80058fe: bdf0 pop {r4, r5, r6, r7, pc} - 8005900: 4630 mov r0, r6 - 8005902: f002 fe5f bl 80085c4 - 8005906: 2800 cmp r0, #0 - 8005908: d0f2 beq.n 80058f0 - 800590a: b164 cbz r4, 8005926 - 800590c: 7ae3 ldrb r3, [r4, #11] - 800590e: 7aa4 ldrb r4, [r4, #10] - 8005910: 9002 str r0, [sp, #8] - 8005912: 2206 movs r2, #6 - 8005914: e9cd 4200 strd r4, r2, [sp] - 8005918: 4639 mov r1, r7 - 800591a: 4632 mov r2, r6 - 800591c: 4628 mov r0, r5 - 800591e: f002 ffbf bl 80088a0 - 8005922: 4604 mov r4, r0 - 8005924: e7e6 b.n 80058f4 - 8005926: 23ff movs r3, #255 ; 0xff - 8005928: e7f2 b.n 8005910 - 800592a: bf00 nop - 800592c: 0800b54e .word 0x0800b54e - 8005930: 0800b675 .word 0x0800b675 - 8005934: 0800a54d .word 0x0800a54d +0800653c : + 800653c: b930 cbnz r0, 800654c + 800653e: 4b04 ldr r3, [pc, #16] @ (8006550 ) + 8006540: 4904 ldr r1, [pc, #16] @ (8006554 ) + 8006542: 4805 ldr r0, [pc, #20] @ (8006558 ) + 8006544: f240 7256 movw r2, #1878 @ 0x756 + 8006548: f003 be16 b.w 800a178 + 800654c: 4770 bx lr + 800654e: bf00 nop + 8006550: 0800c059 .word 0x0800c059 + 8006554: 0800c15a .word 0x0800c15a + 8006558: 0800b0a6 .word 0x0800b0a6 -08005938 : - 8005938: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800593c: 460d mov r5, r1 - 800593e: 4606 mov r6, r0 - 8005940: b930 cbnz r0, 8005950 - 8005942: 4b5d ldr r3, [pc, #372] ; (8005ab8 ) - 8005944: 495d ldr r1, [pc, #372] ; (8005abc ) - 8005946: 485e ldr r0, [pc, #376] ; (8005ac0 ) - 8005948: f240 324b movw r2, #843 ; 0x34b - 800594c: f003 fd2c bl 80093a8 - 8005950: 6ef4 ldr r4, [r6, #108] ; 0x6c - 8005952: b914 cbnz r4, 800595a - 8005954: f04f 30ff mov.w r0, #4294967295 - 8005958: e009 b.n 800596e - 800595a: b95d cbnz r5, 8005974 - 800595c: 4b56 ldr r3, [pc, #344] ; (8005ab8 ) - 800595e: 4959 ldr r1, [pc, #356] ; (8005ac4 ) - 8005960: 4857 ldr r0, [pc, #348] ; (8005ac0 ) - 8005962: f240 3253 movw r2, #851 ; 0x353 - 8005966: f003 fd1f bl 80093a8 - 800596a: f06f 0005 mvn.w r0, #5 - 800596e: b003 add sp, #12 - 8005970: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8005974: 8923 ldrh r3, [r4, #8] - 8005976: 42ab cmp r3, r5 - 8005978: d801 bhi.n 800597e - 800597a: 2000 movs r0, #0 - 800597c: e7f7 b.n 800596e - 800597e: 8e73 ldrh r3, [r6, #50] ; 0x32 - 8005980: 42ab cmp r3, r5 - 8005982: d20f bcs.n 80059a4 - 8005984: 4b4c ldr r3, [pc, #304] ; (8005ab8 ) - 8005986: 4950 ldr r1, [pc, #320] ; (8005ac8 ) - 8005988: 484d ldr r0, [pc, #308] ; (8005ac0 ) - 800598a: f240 325b movw r2, #859 ; 0x35b - 800598e: f003 fd0b bl 80093a8 - 8005992: 8923 ldrh r3, [r4, #8] - 8005994: b933 cbnz r3, 80059a4 - 8005996: 4b48 ldr r3, [pc, #288] ; (8005ab8 ) - 8005998: 494c ldr r1, [pc, #304] ; (8005acc ) - 800599a: 4849 ldr r0, [pc, #292] ; (8005ac0 ) - 800599c: f44f 7257 mov.w r2, #860 ; 0x35c - 80059a0: f003 fd02 bl 80093a8 - 80059a4: f894 b00a ldrb.w fp, [r4, #10] - 80059a8: f8b4 a008 ldrh.w sl, [r4, #8] - 80059ac: ea4f 078b mov.w r7, fp, lsl #2 - 80059b0: ebaa 0105 sub.w r1, sl, r5 - 80059b4: f007 0704 and.w r7, r7, #4 - 80059b8: fa1f f881 uxth.w r8, r1 - 80059bc: fa17 f181 uxtah r1, r7, r1 - 80059c0: f44f 7220 mov.w r2, #640 ; 0x280 - 80059c4: b289 uxth r1, r1 - 80059c6: 2036 movs r0, #54 ; 0x36 - 80059c8: f7fd fa68 bl 8002e9c - 80059cc: 4681 mov r9, r0 - 80059ce: 2800 cmp r0, #0 - 80059d0: d0c0 beq.n 8005954 - 80059d2: 6860 ldr r0, [r4, #4] - 80059d4: 8922 ldrh r2, [r4, #8] - 80059d6: 8903 ldrh r3, [r0, #8] - 80059d8: f8d9 1004 ldr.w r1, [r9, #4] - 80059dc: 1a9b subs r3, r3, r2 - 80059de: 442b add r3, r5 - 80059e0: b29b uxth r3, r3 - 80059e2: 4642 mov r2, r8 - 80059e4: 4439 add r1, r7 - 80059e6: f7fd fc13 bl 8003210 - 80059ea: 4540 cmp r0, r8 - 80059ec: d15f bne.n 8005aae - 80059ee: 68e3 ldr r3, [r4, #12] - 80059f0: 8998 ldrh r0, [r3, #12] - 80059f2: f7fc fca4 bl 800233e - 80059f6: f010 0808 ands.w r8, r0, #8 - 80059fa: b2c7 uxtb r7, r0 - 80059fc: bf0e itee eq - 80059fe: f007 073f andeq.w r7, r7, #63 ; 0x3f - 8005a02: f007 0737 andne.w r7, r7, #55 ; 0x37 - 8005a06: f04f 0808 movne.w r8, #8 - 8005a0a: 07fb lsls r3, r7, #31 - 8005a0c: 68e3 ldr r3, [r4, #12] - 8005a0e: 6858 ldr r0, [r3, #4] - 8005a10: bf44 itt mi - 8005a12: f048 0801 orrmi.w r8, r8, #1 - 8005a16: f007 07fe andmi.w r7, r7, #254 ; 0xfe - 8005a1a: f7fc fc93 bl 8002344 - 8005a1e: 4642 mov r2, r8 - 8005a20: 182b adds r3, r5, r0 - 8005a22: f8cd b000 str.w fp, [sp] - 8005a26: 4649 mov r1, r9 - 8005a28: 4630 mov r0, r6 - 8005a2a: f7ff fe63 bl 80056f4 - 8005a2e: 4680 mov r8, r0 - 8005a30: 2800 cmp r0, #0 - 8005a32: d03c beq.n 8005aae - 8005a34: 6860 ldr r0, [r4, #4] - 8005a36: f7fd fb09 bl 800304c - 8005a3a: f8b6 3066 ldrh.w r3, [r6, #102] ; 0x66 - 8005a3e: 1a18 subs r0, r3, r0 - 8005a40: f8a6 0066 strh.w r0, [r6, #102] ; 0x66 - 8005a44: 6860 ldr r0, [r4, #4] - 8005a46: 8901 ldrh r1, [r0, #8] - 8005a48: eba5 050a sub.w r5, r5, sl - 8005a4c: fa11 f185 uxtah r1, r1, r5 - 8005a50: b289 uxth r1, r1 - 8005a52: f7fd faa3 bl 8002f9c - 8005a56: 8923 ldrh r3, [r4, #8] - 8005a58: fa1f f985 uxth.w r9, r5 - 8005a5c: 4499 add r9, r3 - 8005a5e: 68e3 ldr r3, [r4, #12] - 8005a60: f8a4 9008 strh.w r9, [r4, #8] - 8005a64: 4638 mov r0, r7 - 8005a66: 899d ldrh r5, [r3, #12] - 8005a68: f7fc fc69 bl 800233e - 8005a6c: 68e3 ldr r3, [r4, #12] - 8005a6e: 4328 orrs r0, r5 - 8005a70: 8198 strh r0, [r3, #12] - 8005a72: 6860 ldr r0, [r4, #4] - 8005a74: f7fd faea bl 800304c - 8005a78: f8b6 3066 ldrh.w r3, [r6, #102] ; 0x66 - 8005a7c: 4418 add r0, r3 - 8005a7e: f8a6 0066 strh.w r0, [r6, #102] ; 0x66 - 8005a82: f8d8 0004 ldr.w r0, [r8, #4] - 8005a86: f7fd fae1 bl 800304c - 8005a8a: f8b6 3066 ldrh.w r3, [r6, #102] ; 0x66 - 8005a8e: 4418 add r0, r3 - 8005a90: 6823 ldr r3, [r4, #0] - 8005a92: f8a6 0066 strh.w r0, [r6, #102] ; 0x66 - 8005a96: f8c8 3000 str.w r3, [r8] - 8005a9a: f8c4 8000 str.w r8, [r4] - 8005a9e: f8d8 0000 ldr.w r0, [r8] - 8005aa2: 2800 cmp r0, #0 - 8005aa4: f47f af69 bne.w 800597a - 8005aa8: f8a6 0068 strh.w r0, [r6, #104] ; 0x68 - 8005aac: e75f b.n 800596e - 8005aae: 4648 mov r0, r9 - 8005ab0: f7fd f990 bl 8002dd4 - 8005ab4: e74e b.n 8005954 - 8005ab6: bf00 nop - 8005ab8: 0800b54e .word 0x0800b54e - 8005abc: 0800b69e .word 0x0800b69e - 8005ac0: 0800a54d .word 0x0800a54d - 8005ac4: 0800b6c0 .word 0x0800b6c0 - 8005ac8: 0800b6e2 .word 0x0800b6e2 - 8005acc: 0800b6ef .word 0x0800b6ef +0800655c : + 800655c: b5f0 push {r4, r5, r6, r7, lr} + 800655e: 4604 mov r4, r0 + 8006560: b085 sub sp, #20 + 8006562: 4617 mov r7, r2 + 8006564: 461e mov r6, r3 + 8006566: 460d mov r5, r1 + 8006568: b931 cbnz r1, 8006578 + 800656a: 4b15 ldr r3, [pc, #84] @ (80065c0 ) + 800656c: 4915 ldr r1, [pc, #84] @ (80065c4 ) + 800656e: 4816 ldr r0, [pc, #88] @ (80065c8 ) + 8006570: f240 7287 movw r2, #1927 @ 0x787 + 8006574: f003 fe00 bl 800a178 + 8006578: b164 cbz r4, 8006594 + 800657a: 7a20 ldrb r0, [r4, #8] + 800657c: b150 cbz r0, 8006594 + 800657e: f7fd f9d1 bl 8003924 + 8006582: b968 cbnz r0, 80065a0 + 8006584: f06f 0403 mvn.w r4, #3 + 8006588: 4628 mov r0, r5 + 800658a: f7fd fa99 bl 8003ac0 + 800658e: 4620 mov r0, r4 + 8006590: b005 add sp, #20 + 8006592: bdf0 pop {r4, r5, r6, r7, pc} + 8006594: 4630 mov r0, r6 + 8006596: f002 fe6f bl 8009278 + 800659a: 2800 cmp r0, #0 + 800659c: d0f2 beq.n 8006584 + 800659e: b164 cbz r4, 80065ba + 80065a0: 7ae3 ldrb r3, [r4, #11] + 80065a2: 7aa4 ldrb r4, [r4, #10] + 80065a4: 9002 str r0, [sp, #8] + 80065a6: 2206 movs r2, #6 + 80065a8: e9cd 4200 strd r4, r2, [sp] + 80065ac: 4639 mov r1, r7 + 80065ae: 4632 mov r2, r6 + 80065b0: 4628 mov r0, r5 + 80065b2: f002 ffd1 bl 8009558 + 80065b6: 4604 mov r4, r0 + 80065b8: e7e6 b.n 8006588 + 80065ba: 23ff movs r3, #255 @ 0xff + 80065bc: e7f2 b.n 80065a4 + 80065be: bf00 nop + 80065c0: 0800c059 .word 0x0800c059 + 80065c4: 0800c180 .word 0x0800c180 + 80065c8: 0800b0a6 .word 0x0800b0a6 -08005ad0 : - 8005ad0: e92d 43f7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, lr} - 8005ad4: f011 0803 ands.w r8, r1, #3 - 8005ad8: 4604 mov r4, r0 - 8005ada: 460e mov r6, r1 - 8005adc: d106 bne.n 8005aec - 8005ade: 4b3e ldr r3, [pc, #248] ; (8005bd8 ) - 8005ae0: 493e ldr r1, [pc, #248] ; (8005bdc ) - 8005ae2: 483f ldr r0, [pc, #252] ; (8005be0 ) - 8005ae4: f240 4211 movw r2, #1041 ; 0x411 - 8005ae8: f003 fc5e bl 80093a8 - 8005aec: b934 cbnz r4, 8005afc - 8005aee: 4b3a ldr r3, [pc, #232] ; (8005bd8 ) - 8005af0: 493c ldr r1, [pc, #240] ; (8005be4 ) - 8005af2: 483b ldr r0, [pc, #236] ; (8005be0 ) - 8005af4: f240 4213 movw r2, #1043 ; 0x413 - 8005af8: f003 fc56 bl 80093a8 - 8005afc: f3c6 0740 ubfx r7, r6, #1, #1 - 8005b00: ea4f 0987 mov.w r9, r7, lsl #2 - 8005b04: f44f 7220 mov.w r2, #640 ; 0x280 - 8005b08: 4649 mov r1, r9 - 8005b0a: 2036 movs r0, #54 ; 0x36 - 8005b0c: f7fd f9c6 bl 8002e9c - 8005b10: 4605 mov r5, r0 - 8005b12: b940 cbnz r0, 8005b26 - 8005b14: 8b63 ldrh r3, [r4, #26] - 8005b16: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8005b1a: 8363 strh r3, [r4, #26] - 8005b1c: f04f 30ff mov.w r0, #4294967295 - 8005b20: b003 add sp, #12 - 8005b22: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 8005b26: 8943 ldrh r3, [r0, #10] - 8005b28: 454b cmp r3, r9 - 8005b2a: d206 bcs.n 8005b3a - 8005b2c: 4b2a ldr r3, [pc, #168] ; (8005bd8 ) - 8005b2e: 492e ldr r1, [pc, #184] ; (8005be8 ) - 8005b30: 482b ldr r0, [pc, #172] ; (8005be0 ) - 8005b32: f240 4239 movw r2, #1081 ; 0x439 - 8005b36: f003 fc37 bl 80093a8 - 8005b3a: 9700 str r7, [sp, #0] - 8005b3c: 4629 mov r1, r5 - 8005b3e: 6de3 ldr r3, [r4, #92] ; 0x5c - 8005b40: 4632 mov r2, r6 - 8005b42: 4620 mov r0, r4 - 8005b44: f7ff fdd6 bl 80056f4 - 8005b48: 4605 mov r5, r0 - 8005b4a: 2800 cmp r0, #0 - 8005b4c: d0e2 beq.n 8005b14 - 8005b4e: 68c3 ldr r3, [r0, #12] - 8005b50: 079a lsls r2, r3, #30 - 8005b52: d006 beq.n 8005b62 - 8005b54: 4b20 ldr r3, [pc, #128] ; (8005bd8 ) - 8005b56: 4925 ldr r1, [pc, #148] ; (8005bec ) - 8005b58: 4821 ldr r0, [pc, #132] ; (8005be0 ) - 8005b5a: f240 4242 movw r2, #1090 ; 0x442 - 8005b5e: f003 fc23 bl 80093a8 - 8005b62: 892b ldrh r3, [r5, #8] - 8005b64: b133 cbz r3, 8005b74 - 8005b66: 4b1c ldr r3, [pc, #112] ; (8005bd8 ) - 8005b68: 4921 ldr r1, [pc, #132] ; (8005bf0 ) - 8005b6a: 481d ldr r0, [pc, #116] ; (8005be0 ) - 8005b6c: f240 4243 movw r2, #1091 ; 0x443 - 8005b70: f003 fc1a bl 80093a8 - 8005b74: 6ee3 ldr r3, [r4, #108] ; 0x6c - 8005b76: bb4b cbnz r3, 8005bcc - 8005b78: 66e5 str r5, [r4, #108] ; 0x6c - 8005b7a: 2300 movs r3, #0 - 8005b7c: f8a4 3068 strh.w r3, [r4, #104] ; 0x68 - 8005b80: f1b8 0f00 cmp.w r8, #0 - 8005b84: d002 beq.n 8005b8c - 8005b86: 6de3 ldr r3, [r4, #92] ; 0x5c - 8005b88: 3301 adds r3, #1 - 8005b8a: 65e3 str r3, [r4, #92] ; 0x5c - 8005b8c: 07f3 lsls r3, r6, #31 - 8005b8e: bf48 it mi - 8005b90: 8b63 ldrhmi r3, [r4, #26] - 8005b92: 6868 ldr r0, [r5, #4] - 8005b94: bf44 itt mi - 8005b96: f043 0320 orrmi.w r3, r3, #32 - 8005b9a: 8363 strhmi r3, [r4, #26] - 8005b9c: f7fd fa56 bl 800304c - 8005ba0: f8b4 3066 ldrh.w r3, [r4, #102] ; 0x66 - 8005ba4: 4418 add r0, r3 - 8005ba6: b280 uxth r0, r0 - 8005ba8: f8a4 0066 strh.w r0, [r4, #102] ; 0x66 - 8005bac: 2800 cmp r0, #0 - 8005bae: d0b7 beq.n 8005b20 - 8005bb0: 6f20 ldr r0, [r4, #112] ; 0x70 - 8005bb2: b948 cbnz r0, 8005bc8 - 8005bb4: 6ee4 ldr r4, [r4, #108] ; 0x6c - 8005bb6: 2c00 cmp r4, #0 - 8005bb8: d1b2 bne.n 8005b20 - 8005bba: 4b07 ldr r3, [pc, #28] ; (8005bd8 ) - 8005bbc: 490d ldr r1, [pc, #52] ; (8005bf4 ) - 8005bbe: 4808 ldr r0, [pc, #32] ; (8005be0 ) - 8005bc0: f240 4265 movw r2, #1125 ; 0x465 - 8005bc4: f003 fbf0 bl 80093a8 - 8005bc8: 2000 movs r0, #0 - 8005bca: e7a9 b.n 8005b20 - 8005bcc: 461a mov r2, r3 - 8005bce: 681b ldr r3, [r3, #0] - 8005bd0: 2b00 cmp r3, #0 - 8005bd2: d1fb bne.n 8005bcc - 8005bd4: 6015 str r5, [r2, #0] - 8005bd6: e7d0 b.n 8005b7a - 8005bd8: 0800b54e .word 0x0800b54e - 8005bdc: 0800b6fd .word 0x0800b6fd - 8005be0: 0800a54d .word 0x0800a54d - 8005be4: 0800b752 .word 0x0800b752 - 8005be8: 0800b771 .word 0x0800b771 - 8005bec: 0800b7aa .word 0x0800b7aa - 8005bf0: 0800b7c2 .word 0x0800b7c2 - 8005bf4: 0800b7ec .word 0x0800b7ec +080065cc : + 80065cc: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80065d0: 460d mov r5, r1 + 80065d2: 4606 mov r6, r0 + 80065d4: b930 cbnz r0, 80065e4 + 80065d6: 4b5c ldr r3, [pc, #368] @ (8006748 ) + 80065d8: 495c ldr r1, [pc, #368] @ (800674c ) + 80065da: 485d ldr r0, [pc, #372] @ (8006750 ) + 80065dc: f240 324b movw r2, #843 @ 0x34b + 80065e0: f003 fdca bl 800a178 + 80065e4: 6ef4 ldr r4, [r6, #108] @ 0x6c + 80065e6: 2c00 cmp r4, #0 + 80065e8: f000 80ab beq.w 8006742 + 80065ec: b95d cbnz r5, 8006606 + 80065ee: 4b56 ldr r3, [pc, #344] @ (8006748 ) + 80065f0: 4958 ldr r1, [pc, #352] @ (8006754 ) + 80065f2: 4857 ldr r0, [pc, #348] @ (8006750 ) + 80065f4: f240 3253 movw r2, #851 @ 0x353 + 80065f8: f003 fdbe bl 800a178 + 80065fc: f06f 0005 mvn.w r0, #5 + 8006600: b003 add sp, #12 + 8006602: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8006606: 8923 ldrh r3, [r4, #8] + 8006608: 42ab cmp r3, r5 + 800660a: f240 8095 bls.w 8006738 + 800660e: 8e73 ldrh r3, [r6, #50] @ 0x32 + 8006610: 42ab cmp r3, r5 + 8006612: d20f bcs.n 8006634 + 8006614: 4b4c ldr r3, [pc, #304] @ (8006748 ) + 8006616: 4950 ldr r1, [pc, #320] @ (8006758 ) + 8006618: 484d ldr r0, [pc, #308] @ (8006750 ) + 800661a: f240 325b movw r2, #859 @ 0x35b + 800661e: f003 fdab bl 800a178 + 8006622: 8923 ldrh r3, [r4, #8] + 8006624: b933 cbnz r3, 8006634 + 8006626: 4b48 ldr r3, [pc, #288] @ (8006748 ) + 8006628: 494c ldr r1, [pc, #304] @ (800675c ) + 800662a: 4849 ldr r0, [pc, #292] @ (8006750 ) + 800662c: f44f 7257 mov.w r2, #860 @ 0x35c + 8006630: f003 fda2 bl 800a178 + 8006634: f894 b00a ldrb.w fp, [r4, #10] + 8006638: f8b4 a008 ldrh.w sl, [r4, #8] + 800663c: ea4f 078b mov.w r7, fp, lsl #2 + 8006640: ebaa 0105 sub.w r1, sl, r5 + 8006644: f007 0704 and.w r7, r7, #4 + 8006648: fa1f f881 uxth.w r8, r1 + 800664c: fa17 f181 uxtah r1, r7, r1 + 8006650: f44f 7220 mov.w r2, #640 @ 0x280 + 8006654: b289 uxth r1, r1 + 8006656: 2036 movs r0, #54 @ 0x36 + 8006658: f7fd fa96 bl 8003b88 + 800665c: 4681 mov r9, r0 + 800665e: 2800 cmp r0, #0 + 8006660: d06f beq.n 8006742 + 8006662: 6860 ldr r0, [r4, #4] + 8006664: 8922 ldrh r2, [r4, #8] + 8006666: 8903 ldrh r3, [r0, #8] + 8006668: f8d9 1004 ldr.w r1, [r9, #4] + 800666c: 1a9b subs r3, r3, r2 + 800666e: 442b add r3, r5 + 8006670: b29b uxth r3, r3 + 8006672: 4642 mov r2, r8 + 8006674: 4439 add r1, r7 + 8006676: f7fd fc3b bl 8003ef0 + 800667a: 4540 cmp r0, r8 + 800667c: d15e bne.n 800673c + 800667e: 68e3 ldr r3, [r4, #12] + 8006680: 8998 ldrh r0, [r3, #12] + 8006682: f7fc fd00 bl 8003086 + 8006686: f010 0808 ands.w r8, r0, #8 + 800668a: b2c7 uxtb r7, r0 + 800668c: bf0e itee eq + 800668e: f007 073f andeq.w r7, r7, #63 @ 0x3f + 8006692: f007 0737 andne.w r7, r7, #55 @ 0x37 + 8006696: f04f 0808 movne.w r8, #8 + 800669a: 07fb lsls r3, r7, #31 + 800669c: 68e3 ldr r3, [r4, #12] + 800669e: 6858 ldr r0, [r3, #4] + 80066a0: bf44 itt mi + 80066a2: f048 0801 orrmi.w r8, r8, #1 + 80066a6: f007 07fe andmi.w r7, r7, #254 @ 0xfe + 80066aa: f7fc fcef bl 800308c + 80066ae: 4642 mov r2, r8 + 80066b0: 182b adds r3, r5, r0 + 80066b2: f8cd b000 str.w fp, [sp] + 80066b6: 4649 mov r1, r9 + 80066b8: 4630 mov r0, r6 + 80066ba: f7ff fe69 bl 8006390 + 80066be: 4680 mov r8, r0 + 80066c0: 2800 cmp r0, #0 + 80066c2: d03b beq.n 800673c + 80066c4: 6860 ldr r0, [r4, #4] + 80066c6: f7fd fb31 bl 8003d2c + 80066ca: f8b6 3066 ldrh.w r3, [r6, #102] @ 0x66 + 80066ce: 1a1b subs r3, r3, r0 + 80066d0: 6860 ldr r0, [r4, #4] + 80066d2: f8a6 3066 strh.w r3, [r6, #102] @ 0x66 + 80066d6: 8903 ldrh r3, [r0, #8] + 80066d8: eba5 050a sub.w r5, r5, sl + 80066dc: fa1f f985 uxth.w r9, r5 + 80066e0: fa13 f585 uxtah r5, r3, r5 + 80066e4: b2a9 uxth r1, r5 + 80066e6: f7fd fac9 bl 8003c7c + 80066ea: 8923 ldrh r3, [r4, #8] + 80066ec: 4499 add r9, r3 + 80066ee: 68e3 ldr r3, [r4, #12] + 80066f0: f8a4 9008 strh.w r9, [r4, #8] + 80066f4: 4638 mov r0, r7 + 80066f6: 899d ldrh r5, [r3, #12] + 80066f8: f7fc fcc5 bl 8003086 + 80066fc: 68e3 ldr r3, [r4, #12] + 80066fe: 4305 orrs r5, r0 + 8006700: 819d strh r5, [r3, #12] + 8006702: 6860 ldr r0, [r4, #4] + 8006704: f7fd fb12 bl 8003d2c + 8006708: f8b6 3066 ldrh.w r3, [r6, #102] @ 0x66 + 800670c: 4418 add r0, r3 + 800670e: f8a6 0066 strh.w r0, [r6, #102] @ 0x66 + 8006712: f8d8 0004 ldr.w r0, [r8, #4] + 8006716: f7fd fb09 bl 8003d2c + 800671a: f8b6 3066 ldrh.w r3, [r6, #102] @ 0x66 + 800671e: 4418 add r0, r3 + 8006720: 6823 ldr r3, [r4, #0] + 8006722: f8a6 0066 strh.w r0, [r6, #102] @ 0x66 + 8006726: f8c8 3000 str.w r3, [r8] + 800672a: f8c4 8000 str.w r8, [r4] + 800672e: f8d8 3000 ldr.w r3, [r8] + 8006732: b90b cbnz r3, 8006738 + 8006734: f8a6 3068 strh.w r3, [r6, #104] @ 0x68 + 8006738: 2000 movs r0, #0 + 800673a: e761 b.n 8006600 + 800673c: 4648 mov r0, r9 + 800673e: f7fd f9bf bl 8003ac0 + 8006742: f04f 30ff mov.w r0, #4294967295 + 8006746: e75b b.n 8006600 + 8006748: 0800c059 .word 0x0800c059 + 800674c: 0800c1a9 .word 0x0800c1a9 + 8006750: 0800b0a6 .word 0x0800b0a6 + 8006754: 0800c1cb .word 0x0800c1cb + 8006758: 0800c1ed .word 0x0800c1ed + 800675c: 0800c1fa .word 0x0800c1fa -08005bf8 : - 8005bf8: b5f8 push {r3, r4, r5, r6, r7, lr} - 8005bfa: 4604 mov r4, r0 - 8005bfc: b930 cbnz r0, 8005c0c - 8005bfe: 4b13 ldr r3, [pc, #76] ; (8005c4c ) - 8005c00: 4913 ldr r1, [pc, #76] ; (8005c50 ) - 8005c02: 4814 ldr r0, [pc, #80] ; (8005c54 ) - 8005c04: f240 32eb movw r2, #1003 ; 0x3eb - 8005c08: f003 fbce bl 80093a8 - 8005c0c: 6ee5 ldr r5, [r4, #108] ; 0x6c - 8005c0e: b14d cbz r5, 8005c24 - 8005c10: 462f mov r7, r5 - 8005c12: 682d ldr r5, [r5, #0] - 8005c14: 2d00 cmp r5, #0 - 8005c16: d1fb bne.n 8005c10 - 8005c18: 68fb ldr r3, [r7, #12] - 8005c1a: 8998 ldrh r0, [r3, #12] - 8005c1c: f7fc fb8f bl 800233e - 8005c20: 0743 lsls r3, r0, #29 - 8005c22: d005 beq.n 8005c30 - 8005c24: 4620 mov r0, r4 - 8005c26: 2101 movs r1, #1 - 8005c28: e8bd 40f8 ldmia.w sp!, {r3, r4, r5, r6, r7, lr} - 8005c2c: f7ff bf50 b.w 8005ad0 - 8005c30: 68fb ldr r3, [r7, #12] - 8005c32: 2001 movs r0, #1 - 8005c34: 899e ldrh r6, [r3, #12] - 8005c36: f7fc fb82 bl 800233e - 8005c3a: 68fb ldr r3, [r7, #12] - 8005c3c: 4330 orrs r0, r6 - 8005c3e: 8198 strh r0, [r3, #12] - 8005c40: 8b63 ldrh r3, [r4, #26] - 8005c42: f043 0320 orr.w r3, r3, #32 - 8005c46: 8363 strh r3, [r4, #26] - 8005c48: 4628 mov r0, r5 - 8005c4a: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8005c4c: 0800b54e .word 0x0800b54e - 8005c50: 0800b814 .word 0x0800b814 - 8005c54: 0800a54d .word 0x0800a54d +08006760 : + 8006760: e92d 43f7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, lr} + 8006764: f011 0803 ands.w r8, r1, #3 + 8006768: 4604 mov r4, r0 + 800676a: 460e mov r6, r1 + 800676c: d106 bne.n 800677c + 800676e: 4b3f ldr r3, [pc, #252] @ (800686c ) + 8006770: 493f ldr r1, [pc, #252] @ (8006870 ) + 8006772: 4840 ldr r0, [pc, #256] @ (8006874 ) + 8006774: f240 4211 movw r2, #1041 @ 0x411 + 8006778: f003 fcfe bl 800a178 + 800677c: b934 cbnz r4, 800678c + 800677e: 4b3b ldr r3, [pc, #236] @ (800686c ) + 8006780: 493d ldr r1, [pc, #244] @ (8006878 ) + 8006782: 483c ldr r0, [pc, #240] @ (8006874 ) + 8006784: f240 4213 movw r2, #1043 @ 0x413 + 8006788: f003 fcf6 bl 800a178 + 800678c: f3c6 0740 ubfx r7, r6, #1, #1 + 8006790: ea4f 0987 mov.w r9, r7, lsl #2 + 8006794: f44f 7220 mov.w r2, #640 @ 0x280 + 8006798: 4649 mov r1, r9 + 800679a: 2036 movs r0, #54 @ 0x36 + 800679c: f7fd f9f4 bl 8003b88 + 80067a0: 4605 mov r5, r0 + 80067a2: b940 cbnz r0, 80067b6 + 80067a4: 8b63 ldrh r3, [r4, #26] + 80067a6: f043 0380 orr.w r3, r3, #128 @ 0x80 + 80067aa: 8363 strh r3, [r4, #26] + 80067ac: f04f 30ff mov.w r0, #4294967295 + 80067b0: b003 add sp, #12 + 80067b2: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 80067b6: 8943 ldrh r3, [r0, #10] + 80067b8: 454b cmp r3, r9 + 80067ba: d206 bcs.n 80067ca + 80067bc: 4b2b ldr r3, [pc, #172] @ (800686c ) + 80067be: 492f ldr r1, [pc, #188] @ (800687c ) + 80067c0: 482c ldr r0, [pc, #176] @ (8006874 ) + 80067c2: f240 4239 movw r2, #1081 @ 0x439 + 80067c6: f003 fcd7 bl 800a178 + 80067ca: 9700 str r7, [sp, #0] + 80067cc: 4629 mov r1, r5 + 80067ce: 6de3 ldr r3, [r4, #92] @ 0x5c + 80067d0: 4632 mov r2, r6 + 80067d2: 4620 mov r0, r4 + 80067d4: f7ff fddc bl 8006390 + 80067d8: 4605 mov r5, r0 + 80067da: 2800 cmp r0, #0 + 80067dc: d0e2 beq.n 80067a4 + 80067de: 68c3 ldr r3, [r0, #12] + 80067e0: 079a lsls r2, r3, #30 + 80067e2: d006 beq.n 80067f2 + 80067e4: 4b21 ldr r3, [pc, #132] @ (800686c ) + 80067e6: 4926 ldr r1, [pc, #152] @ (8006880 ) + 80067e8: 4822 ldr r0, [pc, #136] @ (8006874 ) + 80067ea: f240 4242 movw r2, #1090 @ 0x442 + 80067ee: f003 fcc3 bl 800a178 + 80067f2: 892b ldrh r3, [r5, #8] + 80067f4: b133 cbz r3, 8006804 + 80067f6: 4b1d ldr r3, [pc, #116] @ (800686c ) + 80067f8: 4922 ldr r1, [pc, #136] @ (8006884 ) + 80067fa: 481e ldr r0, [pc, #120] @ (8006874 ) + 80067fc: f240 4243 movw r2, #1091 @ 0x443 + 8006800: f003 fcba bl 800a178 + 8006804: 6ee3 ldr r3, [r4, #108] @ 0x6c + 8006806: b9e3 cbnz r3, 8006842 + 8006808: 66e5 str r5, [r4, #108] @ 0x6c + 800680a: 2300 movs r3, #0 + 800680c: f8a4 3068 strh.w r3, [r4, #104] @ 0x68 + 8006810: f1b8 0f00 cmp.w r8, #0 + 8006814: d002 beq.n 800681c + 8006816: 6de3 ldr r3, [r4, #92] @ 0x5c + 8006818: 3301 adds r3, #1 + 800681a: 65e3 str r3, [r4, #92] @ 0x5c + 800681c: 07f3 lsls r3, r6, #31 + 800681e: bf48 it mi + 8006820: 8b63 ldrhmi r3, [r4, #26] + 8006822: 6868 ldr r0, [r5, #4] + 8006824: bf44 itt mi + 8006826: f043 0320 orrmi.w r3, r3, #32 + 800682a: 8363 strhmi r3, [r4, #26] + 800682c: f7fd fa7e bl 8003d2c + 8006830: f8b4 3066 ldrh.w r3, [r4, #102] @ 0x66 + 8006834: 4418 add r0, r3 + 8006836: b280 uxth r0, r0 + 8006838: f8a4 0066 strh.w r0, [r4, #102] @ 0x66 + 800683c: b938 cbnz r0, 800684e + 800683e: 2000 movs r0, #0 + 8006840: e7b6 b.n 80067b0 + 8006842: 461a mov r2, r3 + 8006844: 681b ldr r3, [r3, #0] + 8006846: 2b00 cmp r3, #0 + 8006848: d1fb bne.n 8006842 + 800684a: 6015 str r5, [r2, #0] + 800684c: e7dd b.n 800680a + 800684e: 6f23 ldr r3, [r4, #112] @ 0x70 + 8006850: 2b00 cmp r3, #0 + 8006852: d1f4 bne.n 800683e + 8006854: 6ee3 ldr r3, [r4, #108] @ 0x6c + 8006856: 2b00 cmp r3, #0 + 8006858: d1f1 bne.n 800683e + 800685a: 4b04 ldr r3, [pc, #16] @ (800686c ) + 800685c: 490a ldr r1, [pc, #40] @ (8006888 ) + 800685e: 4805 ldr r0, [pc, #20] @ (8006874 ) + 8006860: f240 4265 movw r2, #1125 @ 0x465 + 8006864: f003 fc88 bl 800a178 + 8006868: e7e9 b.n 800683e + 800686a: bf00 nop + 800686c: 0800c059 .word 0x0800c059 + 8006870: 0800c208 .word 0x0800c208 + 8006874: 0800b0a6 .word 0x0800b0a6 + 8006878: 0800c25d .word 0x0800c25d + 800687c: 0800c27c .word 0x0800c27c + 8006880: 0800c2b5 .word 0x0800c2b5 + 8006884: 0800c2cd .word 0x0800c2cd + 8006888: 0800c2f7 .word 0x0800c2f7 -08005c58 : - 8005c58: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8005c5c: 4604 mov r4, r0 - 8005c5e: b930 cbnz r0, 8005c6e - 8005c60: 4b1c ldr r3, [pc, #112] ; (8005cd4 ) - 8005c62: 491d ldr r1, [pc, #116] ; (8005cd8 ) - 8005c64: 481d ldr r0, [pc, #116] ; (8005cdc ) - 8005c66: f240 6263 movw r2, #1635 ; 0x663 - 8005c6a: f003 fb9d bl 80093a8 - 8005c6e: 6f25 ldr r5, [r4, #112] ; 0x70 - 8005c70: b945 cbnz r5, 8005c84 - 8005c72: f06f 0005 mvn.w r0, #5 - 8005c76: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8005c7a: f7ff fd25 bl 80056c8 - 8005c7e: 2800 cmp r0, #0 - 8005c80: d1f7 bne.n 8005c72 - 8005c82: 682d ldr r5, [r5, #0] - 8005c84: 682b ldr r3, [r5, #0] - 8005c86: 4628 mov r0, r5 - 8005c88: 2b00 cmp r3, #0 - 8005c8a: d1f6 bne.n 8005c7a - 8005c8c: f7ff fd1c bl 80056c8 - 8005c90: 4606 mov r6, r0 - 8005c92: 2800 cmp r0, #0 - 8005c94: d1ed bne.n 8005c72 - 8005c96: 6ee3 ldr r3, [r4, #108] ; 0x6c - 8005c98: 602b str r3, [r5, #0] - 8005c9a: 6f23 ldr r3, [r4, #112] ; 0x70 - 8005c9c: e9c4 301b strd r3, r0, [r4, #108] ; 0x6c - 8005ca0: 8b63 ldrh r3, [r4, #26] - 8005ca2: f443 6300 orr.w r3, r3, #2048 ; 0x800 - 8005ca6: 8363 strh r3, [r4, #26] - 8005ca8: 68eb ldr r3, [r5, #12] - 8005caa: 6858 ldr r0, [r3, #4] - 8005cac: f7fc fb4a bl 8002344 - 8005cb0: 68eb ldr r3, [r5, #12] - 8005cb2: f8b5 8008 ldrh.w r8, [r5, #8] - 8005cb6: 4607 mov r7, r0 - 8005cb8: 8998 ldrh r0, [r3, #12] - 8005cba: f7fc fb40 bl 800233e - 8005cbe: f010 0303 ands.w r3, r0, #3 - 8005cc2: bf18 it ne - 8005cc4: 2301 movne r3, #1 - 8005cc6: 4447 add r7, r8 - 8005cc8: 443b add r3, r7 - 8005cca: 64e3 str r3, [r4, #76] ; 0x4c - 8005ccc: 6366 str r6, [r4, #52] ; 0x34 - 8005cce: 4630 mov r0, r6 - 8005cd0: e7d1 b.n 8005c76 - 8005cd2: bf00 nop - 8005cd4: 0800b54e .word 0x0800b54e - 8005cd8: 0800b82e .word 0x0800b82e - 8005cdc: 0800a54d .word 0x0800a54d +0800688c : + 800688c: b5f8 push {r3, r4, r5, r6, r7, lr} + 800688e: 4604 mov r4, r0 + 8006890: b930 cbnz r0, 80068a0 + 8006892: 4b13 ldr r3, [pc, #76] @ (80068e0 ) + 8006894: 4913 ldr r1, [pc, #76] @ (80068e4 ) + 8006896: 4814 ldr r0, [pc, #80] @ (80068e8 ) + 8006898: f240 32eb movw r2, #1003 @ 0x3eb + 800689c: f003 fc6c bl 800a178 + 80068a0: 6ee5 ldr r5, [r4, #108] @ 0x6c + 80068a2: b14d cbz r5, 80068b8 + 80068a4: 462f mov r7, r5 + 80068a6: 682d ldr r5, [r5, #0] + 80068a8: 2d00 cmp r5, #0 + 80068aa: d1fb bne.n 80068a4 + 80068ac: 68fb ldr r3, [r7, #12] + 80068ae: 8998 ldrh r0, [r3, #12] + 80068b0: f7fc fbe9 bl 8003086 + 80068b4: 0743 lsls r3, r0, #29 + 80068b6: d005 beq.n 80068c4 + 80068b8: 4620 mov r0, r4 + 80068ba: 2101 movs r1, #1 + 80068bc: e8bd 40f8 ldmia.w sp!, {r3, r4, r5, r6, r7, lr} + 80068c0: f7ff bf4e b.w 8006760 + 80068c4: 68fb ldr r3, [r7, #12] + 80068c6: 2001 movs r0, #1 + 80068c8: 899e ldrh r6, [r3, #12] + 80068ca: f7fc fbdc bl 8003086 + 80068ce: 68fb ldr r3, [r7, #12] + 80068d0: 4306 orrs r6, r0 + 80068d2: 819e strh r6, [r3, #12] + 80068d4: 8b63 ldrh r3, [r4, #26] + 80068d6: f043 0320 orr.w r3, r3, #32 + 80068da: 8363 strh r3, [r4, #26] + 80068dc: 4628 mov r0, r5 + 80068de: bdf8 pop {r3, r4, r5, r6, r7, pc} + 80068e0: 0800c059 .word 0x0800c059 + 80068e4: 0800c31f .word 0x0800c31f + 80068e8: 0800b0a6 .word 0x0800b0a6 -08005ce0 : - 8005ce0: b5f8 push {r3, r4, r5, r6, r7, lr} - 8005ce2: 4604 mov r4, r0 - 8005ce4: b930 cbnz r0, 8005cf4 - 8005ce6: 4b1c ldr r3, [pc, #112] ; (8005d58 ) - 8005ce8: 491c ldr r1, [pc, #112] ; (8005d5c ) - 8005cea: 481d ldr r0, [pc, #116] ; (8005d60 ) - 8005cec: f240 62c1 movw r2, #1729 ; 0x6c1 - 8005cf0: f003 fb5a bl 80093a8 - 8005cf4: 6f25 ldr r5, [r4, #112] ; 0x70 - 8005cf6: b915 cbnz r5, 8005cfe - 8005cf8: f06f 0005 mvn.w r0, #5 - 8005cfc: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8005cfe: 4628 mov r0, r5 - 8005d00: f7ff fce2 bl 80056c8 - 8005d04: 2800 cmp r0, #0 - 8005d06: d1f7 bne.n 8005cf8 - 8005d08: 682b ldr r3, [r5, #0] - 8005d0a: 6723 str r3, [r4, #112] ; 0x70 - 8005d0c: f104 066c add.w r6, r4, #108 ; 0x6c - 8005d10: 6833 ldr r3, [r6, #0] - 8005d12: b993 cbnz r3, 8005d3a - 8005d14: 6833 ldr r3, [r6, #0] - 8005d16: 602b str r3, [r5, #0] - 8005d18: 6035 str r5, [r6, #0] - 8005d1a: 682b ldr r3, [r5, #0] - 8005d1c: b90b cbnz r3, 8005d22 - 8005d1e: f8a4 3068 strh.w r3, [r4, #104] ; 0x68 - 8005d22: f894 3042 ldrb.w r3, [r4, #66] ; 0x42 - 8005d26: 2bff cmp r3, #255 ; 0xff - 8005d28: bf18 it ne - 8005d2a: 3301 addne r3, #1 - 8005d2c: f04f 0000 mov.w r0, #0 - 8005d30: bf18 it ne - 8005d32: f884 3042 strbne.w r3, [r4, #66] ; 0x42 - 8005d36: 6360 str r0, [r4, #52] ; 0x34 - 8005d38: e7e0 b.n 8005cfc - 8005d3a: 68db ldr r3, [r3, #12] - 8005d3c: 6858 ldr r0, [r3, #4] - 8005d3e: f7fc fb01 bl 8002344 - 8005d42: 68eb ldr r3, [r5, #12] - 8005d44: 4607 mov r7, r0 - 8005d46: 6858 ldr r0, [r3, #4] - 8005d48: f7fc fafc bl 8002344 - 8005d4c: 1a38 subs r0, r7, r0 - 8005d4e: 2800 cmp r0, #0 - 8005d50: dae0 bge.n 8005d14 - 8005d52: 6836 ldr r6, [r6, #0] - 8005d54: e7dc b.n 8005d10 - 8005d56: bf00 nop - 8005d58: 0800b54e .word 0x0800b54e - 8005d5c: 0800b852 .word 0x0800b852 - 8005d60: 0800a54d .word 0x0800a54d +080068ec : + 80068ec: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80068f0: 4604 mov r4, r0 + 80068f2: b930 cbnz r0, 8006902 + 80068f4: 4b1c ldr r3, [pc, #112] @ (8006968 ) + 80068f6: 491d ldr r1, [pc, #116] @ (800696c ) + 80068f8: 481d ldr r0, [pc, #116] @ (8006970 ) + 80068fa: f240 6263 movw r2, #1635 @ 0x663 + 80068fe: f003 fc3b bl 800a178 + 8006902: 6f25 ldr r5, [r4, #112] @ 0x70 + 8006904: b945 cbnz r5, 8006918 + 8006906: f06f 0005 mvn.w r0, #5 + 800690a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800690e: f7ff fd29 bl 8006364 + 8006912: 2800 cmp r0, #0 + 8006914: d1f7 bne.n 8006906 + 8006916: 682d ldr r5, [r5, #0] + 8006918: 682b ldr r3, [r5, #0] + 800691a: 4628 mov r0, r5 + 800691c: 2b00 cmp r3, #0 + 800691e: d1f6 bne.n 800690e + 8006920: f7ff fd20 bl 8006364 + 8006924: 4606 mov r6, r0 + 8006926: 2800 cmp r0, #0 + 8006928: d1ed bne.n 8006906 + 800692a: 6ee3 ldr r3, [r4, #108] @ 0x6c + 800692c: 602b str r3, [r5, #0] + 800692e: 6f23 ldr r3, [r4, #112] @ 0x70 + 8006930: e9c4 301b strd r3, r0, [r4, #108] @ 0x6c + 8006934: 8b63 ldrh r3, [r4, #26] + 8006936: f443 6300 orr.w r3, r3, #2048 @ 0x800 + 800693a: 8363 strh r3, [r4, #26] + 800693c: 68eb ldr r3, [r5, #12] + 800693e: 6858 ldr r0, [r3, #4] + 8006940: f7fc fba4 bl 800308c + 8006944: 68eb ldr r3, [r5, #12] + 8006946: f8b5 8008 ldrh.w r8, [r5, #8] + 800694a: 4607 mov r7, r0 + 800694c: 8998 ldrh r0, [r3, #12] + 800694e: f7fc fb9a bl 8003086 + 8006952: f010 0303 ands.w r3, r0, #3 + 8006956: bf18 it ne + 8006958: 2301 movne r3, #1 + 800695a: 4447 add r7, r8 + 800695c: 443b add r3, r7 + 800695e: 64e3 str r3, [r4, #76] @ 0x4c + 8006960: 6366 str r6, [r4, #52] @ 0x34 + 8006962: 4630 mov r0, r6 + 8006964: e7d1 b.n 800690a + 8006966: bf00 nop + 8006968: 0800c059 .word 0x0800c059 + 800696c: 0800c339 .word 0x0800c339 + 8006970: 0800b0a6 .word 0x0800b0a6 -08005d64 : - 8005d64: b538 push {r3, r4, r5, lr} - 8005d66: 4604 mov r4, r0 - 8005d68: b930 cbnz r0, 8005d78 - 8005d6a: 4b15 ldr r3, [pc, #84] ; (8005dc0 ) - 8005d6c: 4915 ldr r1, [pc, #84] ; (8005dc4 ) - 8005d6e: 4816 ldr r0, [pc, #88] ; (8005dc8 ) - 8005d70: f240 62f9 movw r2, #1785 ; 0x6f9 - 8005d74: f003 fb18 bl 80093a8 - 8005d78: 6f23 ldr r3, [r4, #112] ; 0x70 - 8005d7a: b303 cbz r3, 8005dbe - 8005d7c: 8b63 ldrh r3, [r4, #26] - 8005d7e: 075b lsls r3, r3, #29 - 8005d80: d41d bmi.n 8005dbe - 8005d82: 4620 mov r0, r4 - 8005d84: f7ff ffac bl 8005ce0 - 8005d88: b9c8 cbnz r0, 8005dbe - 8005d8a: f8b4 1060 ldrh.w r1, [r4, #96] ; 0x60 - 8005d8e: f8b4 3048 ldrh.w r3, [r4, #72] ; 0x48 - 8005d92: 8620 strh r0, [r4, #48] ; 0x30 - 8005d94: 4299 cmp r1, r3 - 8005d96: bf28 it cs - 8005d98: 4619 movcs r1, r3 - 8005d9a: 8e63 ldrh r3, [r4, #50] ; 0x32 - 8005d9c: 005d lsls r5, r3, #1 - 8005d9e: ebb5 0f51 cmp.w r5, r1, lsr #1 - 8005da2: ea4f 0261 mov.w r2, r1, asr #1 - 8005da6: 442b add r3, r5 - 8005da8: bf88 it hi - 8005daa: 462a movhi r2, r5 - 8005dac: 4413 add r3, r2 - 8005dae: f8a4 3048 strh.w r3, [r4, #72] ; 0x48 - 8005db2: 8b63 ldrh r3, [r4, #26] - 8005db4: f8a4 204a strh.w r2, [r4, #74] ; 0x4a - 8005db8: f043 0304 orr.w r3, r3, #4 - 8005dbc: 8363 strh r3, [r4, #26] - 8005dbe: bd38 pop {r3, r4, r5, pc} - 8005dc0: 0800b54e .word 0x0800b54e - 8005dc4: 0800b86a .word 0x0800b86a - 8005dc8: 0800a54d .word 0x0800a54d +08006974 : + 8006974: b5f8 push {r3, r4, r5, r6, r7, lr} + 8006976: 4604 mov r4, r0 + 8006978: b930 cbnz r0, 8006988 + 800697a: 4b1c ldr r3, [pc, #112] @ (80069ec ) + 800697c: 491c ldr r1, [pc, #112] @ (80069f0 ) + 800697e: 481d ldr r0, [pc, #116] @ (80069f4 ) + 8006980: f240 62c1 movw r2, #1729 @ 0x6c1 + 8006984: f003 fbf8 bl 800a178 + 8006988: 6f25 ldr r5, [r4, #112] @ 0x70 + 800698a: b915 cbnz r5, 8006992 + 800698c: f06f 0005 mvn.w r0, #5 + 8006990: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8006992: 4628 mov r0, r5 + 8006994: f7ff fce6 bl 8006364 + 8006998: 2800 cmp r0, #0 + 800699a: d1f7 bne.n 800698c + 800699c: 682b ldr r3, [r5, #0] + 800699e: 6723 str r3, [r4, #112] @ 0x70 + 80069a0: f104 066c add.w r6, r4, #108 @ 0x6c + 80069a4: 6833 ldr r3, [r6, #0] + 80069a6: b993 cbnz r3, 80069ce + 80069a8: 6833 ldr r3, [r6, #0] + 80069aa: 602b str r3, [r5, #0] + 80069ac: 6035 str r5, [r6, #0] + 80069ae: 682b ldr r3, [r5, #0] + 80069b0: b90b cbnz r3, 80069b6 + 80069b2: f8a4 3068 strh.w r3, [r4, #104] @ 0x68 + 80069b6: f894 3042 ldrb.w r3, [r4, #66] @ 0x42 + 80069ba: 2bff cmp r3, #255 @ 0xff + 80069bc: bf18 it ne + 80069be: 3301 addne r3, #1 + 80069c0: f04f 0000 mov.w r0, #0 + 80069c4: bf18 it ne + 80069c6: f884 3042 strbne.w r3, [r4, #66] @ 0x42 + 80069ca: 6360 str r0, [r4, #52] @ 0x34 + 80069cc: e7e0 b.n 8006990 + 80069ce: 68db ldr r3, [r3, #12] + 80069d0: 6858 ldr r0, [r3, #4] + 80069d2: f7fc fb5b bl 800308c + 80069d6: 68eb ldr r3, [r5, #12] + 80069d8: 4607 mov r7, r0 + 80069da: 6858 ldr r0, [r3, #4] + 80069dc: f7fc fb56 bl 800308c + 80069e0: 1a3f subs r7, r7, r0 + 80069e2: 2f00 cmp r7, #0 + 80069e4: dae0 bge.n 80069a8 + 80069e6: 6836 ldr r6, [r6, #0] + 80069e8: e7dc b.n 80069a4 + 80069ea: bf00 nop + 80069ec: 0800c059 .word 0x0800c059 + 80069f0: 0800c35d .word 0x0800c35d + 80069f4: 0800b0a6 .word 0x0800b0a6 -08005dcc : - 8005dcc: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} - 8005dd0: f8dd 8030 ldr.w r8, [sp, #48] ; 0x30 - 8005dd4: f8bd 9034 ldrh.w r9, [sp, #52] ; 0x34 - 8005dd8: f8bd a038 ldrh.w sl, [sp, #56] ; 0x38 - 8005ddc: 4606 mov r6, r0 - 8005dde: 460f mov r7, r1 - 8005de0: 4614 mov r4, r2 - 8005de2: 461d mov r5, r3 - 8005de4: b933 cbnz r3, 8005df4 - 8005de6: 4b18 ldr r3, [pc, #96] ; (8005e48 ) - 8005de8: 4918 ldr r1, [pc, #96] ; (8005e4c ) - 8005dea: 4819 ldr r0, [pc, #100] ; (8005e50 ) - 8005dec: f240 72c4 movw r2, #1988 ; 0x7c4 - 8005df0: f003 fada bl 80093a8 - 8005df4: f1b8 0f00 cmp.w r8, #0 - 8005df8: d106 bne.n 8005e08 - 8005dfa: 4b13 ldr r3, [pc, #76] ; (8005e48 ) - 8005dfc: 4915 ldr r1, [pc, #84] ; (8005e54 ) - 8005dfe: 4814 ldr r0, [pc, #80] ; (8005e50 ) - 8005e00: f240 72c5 movw r2, #1989 ; 0x7c5 - 8005e04: f003 fad0 bl 80093a8 - 8005e08: 4638 mov r0, r7 - 8005e0a: f7fc fa9b bl 8002344 - 8005e0e: 2314 movs r3, #20 - 8005e10: f246 0108 movw r1, #24584 ; 0x6008 - 8005e14: e9cd 3101 strd r3, r1, [sp, #4] - 8005e18: 4602 mov r2, r0 - 8005e1a: f8cd a000 str.w sl, [sp] - 8005e1e: 4620 mov r0, r4 - 8005e20: 464b mov r3, r9 - 8005e22: 2100 movs r1, #0 - 8005e24: f7ff fcd8 bl 80057d8 - 8005e28: 4604 mov r4, r0 - 8005e2a: b150 cbz r0, 8005e42 - 8005e2c: f7ff fd3c bl 80058a8 - 8005e30: 4643 mov r3, r8 - 8005e32: 462a mov r2, r5 - 8005e34: 4621 mov r1, r4 - 8005e36: 4630 mov r0, r6 - 8005e38: b004 add sp, #16 - 8005e3a: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8005e3e: f7ff bd43 b.w 80058c8 - 8005e42: b004 add sp, #16 - 8005e44: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8005e48: 0800b54e .word 0x0800b54e - 8005e4c: 0800b887 .word 0x0800b887 - 8005e50: 0800a54d .word 0x0800a54d - 8005e54: 0800b8a1 .word 0x0800b8a1 +080069f8 : + 80069f8: b538 push {r3, r4, r5, lr} + 80069fa: 4604 mov r4, r0 + 80069fc: b930 cbnz r0, 8006a0c + 80069fe: 4b15 ldr r3, [pc, #84] @ (8006a54 ) + 8006a00: 4915 ldr r1, [pc, #84] @ (8006a58 ) + 8006a02: 4816 ldr r0, [pc, #88] @ (8006a5c ) + 8006a04: f240 62f9 movw r2, #1785 @ 0x6f9 + 8006a08: f003 fbb6 bl 800a178 + 8006a0c: 6f23 ldr r3, [r4, #112] @ 0x70 + 8006a0e: b303 cbz r3, 8006a52 + 8006a10: 8b63 ldrh r3, [r4, #26] + 8006a12: 075b lsls r3, r3, #29 + 8006a14: d41d bmi.n 8006a52 + 8006a16: 4620 mov r0, r4 + 8006a18: f7ff ffac bl 8006974 + 8006a1c: b9c8 cbnz r0, 8006a52 + 8006a1e: f8b4 1060 ldrh.w r1, [r4, #96] @ 0x60 + 8006a22: f8b4 3048 ldrh.w r3, [r4, #72] @ 0x48 + 8006a26: 8620 strh r0, [r4, #48] @ 0x30 + 8006a28: 4299 cmp r1, r3 + 8006a2a: bf28 it cs + 8006a2c: 4619 movcs r1, r3 + 8006a2e: 8e63 ldrh r3, [r4, #50] @ 0x32 + 8006a30: 005d lsls r5, r3, #1 + 8006a32: ebb5 0f51 cmp.w r5, r1, lsr #1 + 8006a36: ea4f 0261 mov.w r2, r1, asr #1 + 8006a3a: 442b add r3, r5 + 8006a3c: bf88 it hi + 8006a3e: 462a movhi r2, r5 + 8006a40: 4413 add r3, r2 + 8006a42: f8a4 3048 strh.w r3, [r4, #72] @ 0x48 + 8006a46: 8b63 ldrh r3, [r4, #26] + 8006a48: f8a4 204a strh.w r2, [r4, #74] @ 0x4a + 8006a4c: f043 0304 orr.w r3, r3, #4 + 8006a50: 8363 strh r3, [r4, #26] + 8006a52: bd38 pop {r3, r4, r5, pc} + 8006a54: 0800c059 .word 0x0800c059 + 8006a58: 0800c375 .word 0x0800c375 + 8006a5c: 0800b0a6 .word 0x0800b0a6 -08005e58 : - 8005e58: b538 push {r3, r4, r5, lr} - 8005e5a: 4604 mov r4, r0 - 8005e5c: b930 cbnz r0, 8005e6c - 8005e5e: 4b14 ldr r3, [pc, #80] ; (8005eb0 ) - 8005e60: 4914 ldr r1, [pc, #80] ; (8005eb4 ) - 8005e62: 4815 ldr r0, [pc, #84] ; (8005eb8 ) - 8005e64: f240 72ea movw r2, #2026 ; 0x7ea - 8005e68: f003 fa9e bl 80093a8 - 8005e6c: 6d20 ldr r0, [r4, #80] ; 0x50 - 8005e6e: f7fc fa69 bl 8002344 - 8005e72: 2100 movs r1, #0 - 8005e74: 4602 mov r2, r0 - 8005e76: 4620 mov r0, r4 - 8005e78: f7ff fcf0 bl 800585c - 8005e7c: 4605 mov r5, r0 - 8005e7e: b930 cbnz r0, 8005e8e - 8005e80: 8b63 ldrh r3, [r4, #26] - 8005e82: f043 0303 orr.w r3, r3, #3 - 8005e86: 8363 strh r3, [r4, #26] - 8005e88: f06f 0001 mvn.w r0, #1 - 8005e8c: bd38 pop {r3, r4, r5, pc} - 8005e8e: f7ff fd0b bl 80058a8 - 8005e92: 1d23 adds r3, r4, #4 - 8005e94: 4622 mov r2, r4 - 8005e96: 4629 mov r1, r5 - 8005e98: 4620 mov r0, r4 - 8005e9a: f7ff fd15 bl 80058c8 - 8005e9e: 8b63 ldrh r3, [r4, #26] - 8005ea0: b118 cbz r0, 8005eaa - 8005ea2: f043 0303 orr.w r3, r3, #3 - 8005ea6: 8363 strh r3, [r4, #26] - 8005ea8: e7f0 b.n 8005e8c - 8005eaa: f023 0303 bic.w r3, r3, #3 - 8005eae: e7fa b.n 8005ea6 - 8005eb0: 0800b54e .word 0x0800b54e - 8005eb4: 0800b8bc .word 0x0800b8bc - 8005eb8: 0800a54d .word 0x0800a54d +08006a60 : + 8006a60: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} + 8006a64: f8dd 8030 ldr.w r8, [sp, #48] @ 0x30 + 8006a68: f8bd 9034 ldrh.w r9, [sp, #52] @ 0x34 + 8006a6c: f8bd a038 ldrh.w sl, [sp, #56] @ 0x38 + 8006a70: 4606 mov r6, r0 + 8006a72: 460f mov r7, r1 + 8006a74: 4614 mov r4, r2 + 8006a76: 461d mov r5, r3 + 8006a78: b933 cbnz r3, 8006a88 + 8006a7a: 4b18 ldr r3, [pc, #96] @ (8006adc ) + 8006a7c: 4918 ldr r1, [pc, #96] @ (8006ae0 ) + 8006a7e: 4819 ldr r0, [pc, #100] @ (8006ae4 ) + 8006a80: f240 72c4 movw r2, #1988 @ 0x7c4 + 8006a84: f003 fb78 bl 800a178 + 8006a88: f1b8 0f00 cmp.w r8, #0 + 8006a8c: d106 bne.n 8006a9c + 8006a8e: 4b13 ldr r3, [pc, #76] @ (8006adc ) + 8006a90: 4915 ldr r1, [pc, #84] @ (8006ae8 ) + 8006a92: 4814 ldr r0, [pc, #80] @ (8006ae4 ) + 8006a94: f240 72c5 movw r2, #1989 @ 0x7c5 + 8006a98: f003 fb6e bl 800a178 + 8006a9c: 4638 mov r0, r7 + 8006a9e: f7fc faf5 bl 800308c + 8006aa2: 2314 movs r3, #20 + 8006aa4: f246 0108 movw r1, #24584 @ 0x6008 + 8006aa8: e9cd 3101 strd r3, r1, [sp, #4] + 8006aac: 4602 mov r2, r0 + 8006aae: f8cd a000 str.w sl, [sp] + 8006ab2: 4620 mov r0, r4 + 8006ab4: 464b mov r3, r9 + 8006ab6: 2100 movs r1, #0 + 8006ab8: f7ff fcd8 bl 800646c + 8006abc: 4604 mov r4, r0 + 8006abe: b150 cbz r0, 8006ad6 + 8006ac0: f7ff fd3c bl 800653c + 8006ac4: 4643 mov r3, r8 + 8006ac6: 462a mov r2, r5 + 8006ac8: 4621 mov r1, r4 + 8006aca: 4630 mov r0, r6 + 8006acc: b004 add sp, #16 + 8006ace: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8006ad2: f7ff bd43 b.w 800655c + 8006ad6: b004 add sp, #16 + 8006ad8: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8006adc: 0800c059 .word 0x0800c059 + 8006ae0: 0800c392 .word 0x0800c392 + 8006ae4: 0800b0a6 .word 0x0800b0a6 + 8006ae8: 0800c3ac .word 0x0800c3ac -08005ebc : - 8005ebc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8005ec0: 4604 mov r4, r0 - 8005ec2: b087 sub sp, #28 - 8005ec4: b930 cbnz r0, 8005ed4 - 8005ec6: 4b8f ldr r3, [pc, #572] ; (8006104 ) - 8005ec8: 498f ldr r1, [pc, #572] ; (8006108 ) - 8005eca: 4890 ldr r0, [pc, #576] ; (800610c ) - 8005ecc: f240 42e1 movw r2, #1249 ; 0x4e1 - 8005ed0: f003 fa6a bl 80093a8 - 8005ed4: 7d23 ldrb r3, [r4, #20] - 8005ed6: 2b01 cmp r3, #1 - 8005ed8: d106 bne.n 8005ee8 - 8005eda: 4b8a ldr r3, [pc, #552] ; (8006104 ) - 8005edc: 498c ldr r1, [pc, #560] ; (8006110 ) - 8005ede: 488b ldr r0, [pc, #556] ; (800610c ) - 8005ee0: f240 42e3 movw r2, #1251 ; 0x4e3 - 8005ee4: f003 fa60 bl 80093a8 - 8005ee8: 4b8a ldr r3, [pc, #552] ; (8006114 ) - 8005eea: 681b ldr r3, [r3, #0] - 8005eec: 42a3 cmp r3, r4 - 8005eee: f000 8171 beq.w 80061d4 - 8005ef2: 6ee5 ldr r5, [r4, #108] ; 0x6c - 8005ef4: b94d cbnz r5, 8005f0a - 8005ef6: 8b63 ldrh r3, [r4, #26] - 8005ef8: 0798 lsls r0, r3, #30 - 8005efa: f140 8167 bpl.w 80061cc - 8005efe: 4620 mov r0, r4 - 8005f00: b007 add sp, #28 - 8005f02: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8005f06: f7ff bfa7 b.w 8005e58 - 8005f0a: 7a20 ldrb r0, [r4, #8] - 8005f0c: f8b4 8048 ldrh.w r8, [r4, #72] ; 0x48 - 8005f10: f8b4 6060 ldrh.w r6, [r4, #96] ; 0x60 - 8005f14: f104 0904 add.w r9, r4, #4 - 8005f18: b340 cbz r0, 8005f6c - 8005f1a: f7fc fe8f bl 8002c3c - 8005f1e: 4607 mov r7, r0 - 8005f20: 2800 cmp r0, #0 - 8005f22: f000 8170 beq.w 8006206 - 8005f26: 6823 ldr r3, [r4, #0] - 8005f28: b90b cbnz r3, 8005f2e - 8005f2a: 6843 ldr r3, [r0, #4] - 8005f2c: 6023 str r3, [r4, #0] - 8005f2e: 68eb ldr r3, [r5, #12] - 8005f30: 45b0 cmp r8, r6 - 8005f32: 6858 ldr r0, [r3, #4] - 8005f34: bf28 it cs - 8005f36: 46b0 movcs r8, r6 - 8005f38: f7fc fa04 bl 8002344 - 8005f3c: 892b ldrh r3, [r5, #8] - 8005f3e: 6c62 ldr r2, [r4, #68] ; 0x44 - 8005f40: 1a9b subs r3, r3, r2 - 8005f42: 4418 add r0, r3 - 8005f44: 4540 cmp r0, r8 - 8005f46: d915 bls.n 8005f74 - 8005f48: f8b4 3060 ldrh.w r3, [r4, #96] ; 0x60 - 8005f4c: 4543 cmp r3, r8 - 8005f4e: d1d2 bne.n 8005ef6 - 8005f50: 6f23 ldr r3, [r4, #112] ; 0x70 - 8005f52: 2b00 cmp r3, #0 - 8005f54: d1cf bne.n 8005ef6 - 8005f56: f894 3099 ldrb.w r3, [r4, #153] ; 0x99 - 8005f5a: 2b00 cmp r3, #0 - 8005f5c: d1cb bne.n 8005ef6 - 8005f5e: f44f 7280 mov.w r2, #256 ; 0x100 - 8005f62: f8a4 2098 strh.w r2, [r4, #152] ; 0x98 - 8005f66: f884 309a strb.w r3, [r4, #154] ; 0x9a - 8005f6a: e7c4 b.n 8005ef6 - 8005f6c: 4648 mov r0, r9 - 8005f6e: f002 fb29 bl 80085c4 - 8005f72: e7d4 b.n 8005f1e - 8005f74: 6f26 ldr r6, [r4, #112] ; 0x70 - 8005f76: 2300 movs r3, #0 - 8005f78: f884 3099 strb.w r3, [r4, #153] ; 0x99 - 8005f7c: b126 cbz r6, 8005f88 - 8005f7e: 4633 mov r3, r6 - 8005f80: 6836 ldr r6, [r6, #0] - 8005f82: 2e00 cmp r6, #0 - 8005f84: d1fb bne.n 8005f7e - 8005f86: 461e mov r6, r3 - 8005f88: f8df a178 ldr.w sl, [pc, #376] ; 8006104 - 8005f8c: f8df b17c ldr.w fp, [pc, #380] ; 800610c - 8005f90: e0de b.n 8006150 - 8005f92: 7d23 ldrb r3, [r4, #20] - 8005f94: 2b02 cmp r3, #2 - 8005f96: d009 beq.n 8005fac - 8005f98: 68eb ldr r3, [r5, #12] - 8005f9a: 2010 movs r0, #16 - 8005f9c: 899b ldrh r3, [r3, #12] - 8005f9e: 9304 str r3, [sp, #16] - 8005fa0: f7fc f9cd bl 800233e - 8005fa4: 9b04 ldr r3, [sp, #16] - 8005fa6: 68ea ldr r2, [r5, #12] - 8005fa8: 4318 orrs r0, r3 - 8005faa: 8190 strh r0, [r2, #12] - 8005fac: 4628 mov r0, r5 - 8005fae: f7ff fb8b bl 80056c8 - 8005fb2: 2800 cmp r0, #0 - 8005fb4: d16f bne.n 8006096 - 8005fb6: 68eb ldr r3, [r5, #12] - 8005fb8: 6a60 ldr r0, [r4, #36] ; 0x24 - 8005fba: 9304 str r3, [sp, #16] - 8005fbc: f7fc f9c2 bl 8002344 - 8005fc0: 9b04 ldr r3, [sp, #16] - 8005fc2: 6098 str r0, [r3, #8] - 8005fc4: 68eb ldr r3, [r5, #12] - 8005fc6: 8d60 ldrh r0, [r4, #42] ; 0x2a - 8005fc8: 9304 str r3, [sp, #16] - 8005fca: f7fc f9b8 bl 800233e - 8005fce: 9b04 ldr r3, [sp, #16] - 8005fd0: 8d62 ldrh r2, [r4, #42] ; 0x2a - 8005fd2: 81d8 strh r0, [r3, #14] - 8005fd4: 6a63 ldr r3, [r4, #36] ; 0x24 - 8005fd6: 4413 add r3, r2 - 8005fd8: 62e3 str r3, [r4, #44] ; 0x2c - 8005fda: 7aaa ldrb r2, [r5, #10] - 8005fdc: 68eb ldr r3, [r5, #12] - 8005fde: 07d2 lsls r2, r2, #31 - 8005fe0: d449 bmi.n 8006076 - 8005fe2: f103 0214 add.w r2, r3, #20 - 8005fe6: f9b4 3030 ldrsh.w r3, [r4, #48] ; 0x30 - 8005fea: 2b00 cmp r3, #0 - 8005fec: bfbc itt lt - 8005fee: 2300 movlt r3, #0 - 8005ff0: 8623 strhlt r3, [r4, #48] ; 0x30 - 8005ff2: 6b63 ldr r3, [r4, #52] ; 0x34 - 8005ff4: b94b cbnz r3, 800600a - 8005ff6: 4948 ldr r1, [pc, #288] ; (8006118 ) - 8005ff8: 68eb ldr r3, [r5, #12] - 8005ffa: 6809 ldr r1, [r1, #0] - 8005ffc: 9204 str r2, [sp, #16] - 8005ffe: 6361 str r1, [r4, #52] ; 0x34 - 8006000: 6858 ldr r0, [r3, #4] - 8006002: f7fc f99f bl 8002344 - 8006006: 9a04 ldr r2, [sp, #16] - 8006008: 63a0 str r0, [r4, #56] ; 0x38 - 800600a: 6869 ldr r1, [r5, #4] - 800600c: 68eb ldr r3, [r5, #12] - 800600e: 6848 ldr r0, [r1, #4] - 8006010: f8b1 c00a ldrh.w ip, [r1, #10] - 8006014: 604b str r3, [r1, #4] - 8006016: 1a18 subs r0, r3, r0 - 8006018: b280 uxth r0, r0 - 800601a: ebac 0c00 sub.w ip, ip, r0 - 800601e: f8a1 c00a strh.w ip, [r1, #10] - 8006022: f8b1 c008 ldrh.w ip, [r1, #8] - 8006026: ebac 0000 sub.w r0, ip, r0 - 800602a: 8108 strh r0, [r1, #8] - 800602c: 2100 movs r1, #0 - 800602e: 7419 strb r1, [r3, #16] - 8006030: 7459 strb r1, [r3, #17] - 8006032: 7aa9 ldrb r1, [r5, #10] - 8006034: 0089 lsls r1, r1, #2 - 8006036: f001 0104 and.w r1, r1, #4 - 800603a: 3114 adds r1, #20 - 800603c: 440b add r3, r1 - 800603e: 429a cmp r2, r3 - 8006040: d006 beq.n 8006050 - 8006042: 4936 ldr r1, [pc, #216] ; (800611c ) - 8006044: 4653 mov r3, sl - 8006046: f240 621c movw r2, #1564 ; 0x61c - 800604a: 4658 mov r0, fp - 800604c: f003 f9ac bl 80093a8 - 8006050: 2306 movs r3, #6 - 8006052: 9702 str r7, [sp, #8] - 8006054: 9301 str r3, [sp, #4] - 8006056: 7aa3 ldrb r3, [r4, #10] - 8006058: 9300 str r3, [sp, #0] - 800605a: 7ae3 ldrb r3, [r4, #11] - 800605c: 6868 ldr r0, [r5, #4] - 800605e: 464a mov r2, r9 - 8006060: 4621 mov r1, r4 - 8006062: f002 fc1d bl 80088a0 - 8006066: b1b0 cbz r0, 8006096 - 8006068: 8b63 ldrh r3, [r4, #26] - 800606a: f043 0380 orr.w r3, r3, #128 ; 0x80 - 800606e: 8363 strh r3, [r4, #26] - 8006070: b007 add sp, #28 - 8006072: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8006076: 464a mov r2, r9 - 8006078: 4639 mov r1, r7 - 800607a: f44f 7006 mov.w r0, #536 ; 0x218 - 800607e: 9304 str r3, [sp, #16] - 8006080: f7fd fa44 bl 800350c - 8006084: f040 7001 orr.w r0, r0, #33816576 ; 0x2040000 - 8006088: f7fc f95c bl 8002344 - 800608c: 9b04 ldr r3, [sp, #16] - 800608e: 6158 str r0, [r3, #20] - 8006090: f103 0218 add.w r2, r3, #24 - 8006094: e7a7 b.n 8005fe6 - 8006096: 682b ldr r3, [r5, #0] - 8006098: 66e3 str r3, [r4, #108] ; 0x6c - 800609a: 7d23 ldrb r3, [r4, #20] - 800609c: 2b02 cmp r3, #2 - 800609e: bf1e ittt ne - 80060a0: 8b63 ldrhne r3, [r4, #26] - 80060a2: f023 0303 bicne.w r3, r3, #3 - 80060a6: 8363 strhne r3, [r4, #26] - 80060a8: 68eb ldr r3, [r5, #12] - 80060aa: 6858 ldr r0, [r3, #4] - 80060ac: f7fc f94a bl 8002344 - 80060b0: 8929 ldrh r1, [r5, #8] - 80060b2: 68eb ldr r3, [r5, #12] - 80060b4: 9104 str r1, [sp, #16] - 80060b6: 9005 str r0, [sp, #20] - 80060b8: 8998 ldrh r0, [r3, #12] - 80060ba: f7fc f940 bl 800233e - 80060be: e9dd 1204 ldrd r1, r2, [sp, #16] - 80060c2: f010 0303 ands.w r3, r0, #3 - 80060c6: 440a add r2, r1 - 80060c8: bf18 it ne - 80060ca: 2301 movne r3, #1 - 80060cc: 4413 add r3, r2 - 80060ce: 6d22 ldr r2, [r4, #80] ; 0x50 - 80060d0: 1ad2 subs r2, r2, r3 - 80060d2: 2a00 cmp r2, #0 - 80060d4: bfb8 it lt - 80060d6: 6523 strlt r3, [r4, #80] ; 0x50 - 80060d8: 68ea ldr r2, [r5, #12] - 80060da: 892b ldrh r3, [r5, #8] - 80060dc: 9304 str r3, [sp, #16] - 80060de: 8990 ldrh r0, [r2, #12] - 80060e0: f7fc f92d bl 800233e - 80060e4: 9b04 ldr r3, [sp, #16] - 80060e6: f010 0003 ands.w r0, r0, #3 - 80060ea: bf18 it ne - 80060ec: 2001 movne r0, #1 - 80060ee: 42d8 cmn r0, r3 - 80060f0: f000 8085 beq.w 80061fe - 80060f4: 2300 movs r3, #0 - 80060f6: 602b str r3, [r5, #0] - 80060f8: 6f23 ldr r3, [r4, #112] ; 0x70 - 80060fa: b98b cbnz r3, 8006120 - 80060fc: 6725 str r5, [r4, #112] ; 0x70 - 80060fe: 462e mov r6, r5 - 8006100: e023 b.n 800614a - 8006102: bf00 nop - 8006104: 0800b54e .word 0x0800b54e - 8006108: 0800b8dc .word 0x0800b8dc - 800610c: 0800a54d .word 0x0800a54d - 8006110: 0800b8f4 .word 0x0800b8f4 - 8006114: 200082e8 .word 0x200082e8 - 8006118: 200082b4 .word 0x200082b4 - 800611c: 0800b931 .word 0x0800b931 - 8006120: 68eb ldr r3, [r5, #12] - 8006122: 6858 ldr r0, [r3, #4] - 8006124: f7fc f90e bl 8002344 - 8006128: 68f2 ldr r2, [r6, #12] - 800612a: 9004 str r0, [sp, #16] - 800612c: 6850 ldr r0, [r2, #4] - 800612e: f7fc f909 bl 8002344 - 8006132: 9b04 ldr r3, [sp, #16] - 8006134: 1a18 subs r0, r3, r0 - 8006136: 2800 cmp r0, #0 - 8006138: da5f bge.n 80061fa - 800613a: f104 0370 add.w r3, r4, #112 ; 0x70 - 800613e: 681a ldr r2, [r3, #0] - 8006140: 2a00 cmp r2, #0 - 8006142: d149 bne.n 80061d8 - 8006144: 681a ldr r2, [r3, #0] - 8006146: 602a str r2, [r5, #0] - 8006148: 601d str r5, [r3, #0] - 800614a: 6ee5 ldr r5, [r4, #108] ; 0x6c - 800614c: 2d00 cmp r5, #0 - 800614e: d03a beq.n 80061c6 - 8006150: 68eb ldr r3, [r5, #12] - 8006152: 6858 ldr r0, [r3, #4] - 8006154: f7fc f8f6 bl 8002344 - 8006158: 6c63 ldr r3, [r4, #68] ; 0x44 - 800615a: 1ac0 subs r0, r0, r3 - 800615c: 892b ldrh r3, [r5, #8] - 800615e: 4418 add r0, r3 - 8006160: 4540 cmp r0, r8 - 8006162: d82e bhi.n 80061c2 - 8006164: 68eb ldr r3, [r5, #12] - 8006166: 8998 ldrh r0, [r3, #12] - 8006168: f7fc f8e9 bl 800233e - 800616c: 0741 lsls r1, r0, #29 - 800616e: d506 bpl.n 800617e - 8006170: 4926 ldr r1, [pc, #152] ; (800620c ) - 8006172: 4653 mov r3, sl - 8006174: f240 5236 movw r2, #1334 ; 0x536 - 8006178: 4658 mov r0, fp - 800617a: f003 f915 bl 80093a8 - 800617e: 6f23 ldr r3, [r4, #112] ; 0x70 - 8006180: 2b00 cmp r3, #0 - 8006182: f43f af06 beq.w 8005f92 - 8006186: 8b62 ldrh r2, [r4, #26] - 8006188: f012 0f44 tst.w r2, #68 ; 0x44 - 800618c: f47f af01 bne.w 8005f92 - 8006190: 6ee3 ldr r3, [r4, #108] ; 0x6c - 8006192: b143 cbz r3, 80061a6 - 8006194: 6819 ldr r1, [r3, #0] - 8006196: 2900 cmp r1, #0 - 8006198: f47f aefb bne.w 8005f92 - 800619c: 8919 ldrh r1, [r3, #8] - 800619e: 8e63 ldrh r3, [r4, #50] ; 0x32 - 80061a0: 4299 cmp r1, r3 - 80061a2: f4bf aef6 bcs.w 8005f92 - 80061a6: f8b4 3064 ldrh.w r3, [r4, #100] ; 0x64 - 80061aa: 2b00 cmp r3, #0 - 80061ac: f43f aef1 beq.w 8005f92 - 80061b0: f8b4 3066 ldrh.w r3, [r4, #102] ; 0x66 - 80061b4: 2b08 cmp r3, #8 - 80061b6: f63f aeec bhi.w 8005f92 - 80061ba: f012 0fa0 tst.w r2, #160 ; 0xa0 - 80061be: f47f aee8 bne.w 8005f92 - 80061c2: 6ee3 ldr r3, [r4, #108] ; 0x6c - 80061c4: b913 cbnz r3, 80061cc - 80061c6: 2300 movs r3, #0 - 80061c8: f8a4 3068 strh.w r3, [r4, #104] ; 0x68 - 80061cc: 8b63 ldrh r3, [r4, #26] - 80061ce: f023 0380 bic.w r3, r3, #128 ; 0x80 - 80061d2: 8363 strh r3, [r4, #26] - 80061d4: 2000 movs r0, #0 - 80061d6: e74b b.n 8006070 - 80061d8: 68d2 ldr r2, [r2, #12] - 80061da: 9305 str r3, [sp, #20] - 80061dc: 6850 ldr r0, [r2, #4] - 80061de: f7fc f8b1 bl 8002344 - 80061e2: 68e9 ldr r1, [r5, #12] - 80061e4: 9004 str r0, [sp, #16] - 80061e6: 6848 ldr r0, [r1, #4] - 80061e8: f7fc f8ac bl 8002344 - 80061ec: 9a04 ldr r2, [sp, #16] - 80061ee: 9b05 ldr r3, [sp, #20] - 80061f0: 1a10 subs r0, r2, r0 - 80061f2: 2800 cmp r0, #0 - 80061f4: daa6 bge.n 8006144 - 80061f6: 681b ldr r3, [r3, #0] - 80061f8: e7a1 b.n 800613e - 80061fa: 6035 str r5, [r6, #0] - 80061fc: e77f b.n 80060fe - 80061fe: 4628 mov r0, r5 - 8006200: f7fd f930 bl 8003464 - 8006204: e7a1 b.n 800614a - 8006206: f06f 0003 mvn.w r0, #3 - 800620a: e731 b.n 8006070 - 800620c: 0800b91a .word 0x0800b91a +08006aec : + 8006aec: b538 push {r3, r4, r5, lr} + 8006aee: 4604 mov r4, r0 + 8006af0: b930 cbnz r0, 8006b00 + 8006af2: 4b14 ldr r3, [pc, #80] @ (8006b44 ) + 8006af4: 4914 ldr r1, [pc, #80] @ (8006b48 ) + 8006af6: 4815 ldr r0, [pc, #84] @ (8006b4c ) + 8006af8: f240 72ea movw r2, #2026 @ 0x7ea + 8006afc: f003 fb3c bl 800a178 + 8006b00: 6d20 ldr r0, [r4, #80] @ 0x50 + 8006b02: f7fc fac3 bl 800308c + 8006b06: 2100 movs r1, #0 + 8006b08: 4602 mov r2, r0 + 8006b0a: 4620 mov r0, r4 + 8006b0c: f7ff fcf0 bl 80064f0 + 8006b10: 4605 mov r5, r0 + 8006b12: b930 cbnz r0, 8006b22 + 8006b14: 8b63 ldrh r3, [r4, #26] + 8006b16: f06f 0001 mvn.w r0, #1 + 8006b1a: f043 0303 orr.w r3, r3, #3 + 8006b1e: 8363 strh r3, [r4, #26] + 8006b20: bd38 pop {r3, r4, r5, pc} + 8006b22: f7ff fd0b bl 800653c + 8006b26: 1d23 adds r3, r4, #4 + 8006b28: 4622 mov r2, r4 + 8006b2a: 4629 mov r1, r5 + 8006b2c: 4620 mov r0, r4 + 8006b2e: f7ff fd15 bl 800655c + 8006b32: 8b63 ldrh r3, [r4, #26] + 8006b34: b118 cbz r0, 8006b3e + 8006b36: f043 0303 orr.w r3, r3, #3 + 8006b3a: b29b uxth r3, r3 + 8006b3c: e7ef b.n 8006b1e + 8006b3e: f023 0303 bic.w r3, r3, #3 + 8006b42: e7fa b.n 8006b3a + 8006b44: 0800c059 .word 0x0800c059 + 8006b48: 0800c3c7 .word 0x0800c3c7 + 8006b4c: 0800b0a6 .word 0x0800b0a6 -08006210 : - 8006210: b510 push {r4, lr} - 8006212: 4604 mov r4, r0 - 8006214: b930 cbnz r0, 8006224 - 8006216: 4b09 ldr r3, [pc, #36] ; (800623c ) - 8006218: 4909 ldr r1, [pc, #36] ; (8006240 ) - 800621a: 480a ldr r0, [pc, #40] ; (8006244 ) - 800621c: f44f 62d3 mov.w r2, #1688 ; 0x698 - 8006220: f003 f8c2 bl 80093a8 - 8006224: f894 3042 ldrb.w r3, [r4, #66] ; 0x42 - 8006228: 2bff cmp r3, #255 ; 0xff - 800622a: bf1c itt ne - 800622c: 3301 addne r3, #1 - 800622e: f884 3042 strbne.w r3, [r4, #66] ; 0x42 - 8006232: 4620 mov r0, r4 - 8006234: e8bd 4010 ldmia.w sp!, {r4, lr} - 8006238: f7ff be40 b.w 8005ebc - 800623c: 0800b54e .word 0x0800b54e - 8006240: 0800b944 .word 0x0800b944 - 8006244: 0800a54d .word 0x0800a54d +08006b50 : + 8006b50: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8006b54: 4604 mov r4, r0 + 8006b56: b087 sub sp, #28 + 8006b58: b930 cbnz r0, 8006b68 + 8006b5a: 4b8f ldr r3, [pc, #572] @ (8006d98 ) + 8006b5c: 498f ldr r1, [pc, #572] @ (8006d9c ) + 8006b5e: 4890 ldr r0, [pc, #576] @ (8006da0 ) + 8006b60: f240 42e1 movw r2, #1249 @ 0x4e1 + 8006b64: f003 fb08 bl 800a178 + 8006b68: 7d23 ldrb r3, [r4, #20] + 8006b6a: 2b01 cmp r3, #1 + 8006b6c: d106 bne.n 8006b7c + 8006b6e: 4b8a ldr r3, [pc, #552] @ (8006d98 ) + 8006b70: 498c ldr r1, [pc, #560] @ (8006da4 ) + 8006b72: 488b ldr r0, [pc, #556] @ (8006da0 ) + 8006b74: f240 42e3 movw r2, #1251 @ 0x4e3 + 8006b78: f003 fafe bl 800a178 + 8006b7c: 4b8a ldr r3, [pc, #552] @ (8006da8 ) + 8006b7e: 681b ldr r3, [r3, #0] + 8006b80: 42a3 cmp r3, r4 + 8006b82: f000 8171 beq.w 8006e68 + 8006b86: 6ee5 ldr r5, [r4, #108] @ 0x6c + 8006b88: f8b4 8048 ldrh.w r8, [r4, #72] @ 0x48 + 8006b8c: f8b4 6060 ldrh.w r6, [r4, #96] @ 0x60 + 8006b90: b94d cbnz r5, 8006ba6 + 8006b92: 8b63 ldrh r3, [r4, #26] + 8006b94: 0798 lsls r0, r3, #30 + 8006b96: f140 8163 bpl.w 8006e60 + 8006b9a: 4620 mov r0, r4 + 8006b9c: b007 add sp, #28 + 8006b9e: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8006ba2: f7ff bfa3 b.w 8006aec + 8006ba6: 7a20 ldrb r0, [r4, #8] + 8006ba8: f104 0904 add.w r9, r4, #4 + 8006bac: b340 cbz r0, 8006c00 + 8006bae: f7fc feb9 bl 8003924 + 8006bb2: 4607 mov r7, r0 + 8006bb4: 2800 cmp r0, #0 + 8006bb6: f000 8170 beq.w 8006e9a + 8006bba: 6823 ldr r3, [r4, #0] + 8006bbc: b90b cbnz r3, 8006bc2 + 8006bbe: 6843 ldr r3, [r0, #4] + 8006bc0: 6023 str r3, [r4, #0] + 8006bc2: 68eb ldr r3, [r5, #12] + 8006bc4: 45b0 cmp r8, r6 + 8006bc6: 6858 ldr r0, [r3, #4] + 8006bc8: bf28 it cs + 8006bca: 46b0 movcs r8, r6 + 8006bcc: f7fc fa5e bl 800308c + 8006bd0: 892b ldrh r3, [r5, #8] + 8006bd2: 6c62 ldr r2, [r4, #68] @ 0x44 + 8006bd4: 1a9b subs r3, r3, r2 + 8006bd6: 4403 add r3, r0 + 8006bd8: 4543 cmp r3, r8 + 8006bda: d915 bls.n 8006c08 + 8006bdc: f8b4 3060 ldrh.w r3, [r4, #96] @ 0x60 + 8006be0: 4543 cmp r3, r8 + 8006be2: d1d6 bne.n 8006b92 + 8006be4: 6f23 ldr r3, [r4, #112] @ 0x70 + 8006be6: 2b00 cmp r3, #0 + 8006be8: d1d3 bne.n 8006b92 + 8006bea: f894 3099 ldrb.w r3, [r4, #153] @ 0x99 + 8006bee: 2b00 cmp r3, #0 + 8006bf0: d1cf bne.n 8006b92 + 8006bf2: f44f 7280 mov.w r2, #256 @ 0x100 + 8006bf6: f8a4 2098 strh.w r2, [r4, #152] @ 0x98 + 8006bfa: f884 309a strb.w r3, [r4, #154] @ 0x9a + 8006bfe: e7c8 b.n 8006b92 + 8006c00: 4648 mov r0, r9 + 8006c02: f002 fb39 bl 8009278 + 8006c06: e7d4 b.n 8006bb2 + 8006c08: 6f26 ldr r6, [r4, #112] @ 0x70 + 8006c0a: 2300 movs r3, #0 + 8006c0c: f884 3099 strb.w r3, [r4, #153] @ 0x99 + 8006c10: b126 cbz r6, 8006c1c + 8006c12: 4633 mov r3, r6 + 8006c14: 6836 ldr r6, [r6, #0] + 8006c16: 2e00 cmp r6, #0 + 8006c18: d1fb bne.n 8006c12 + 8006c1a: 461e mov r6, r3 + 8006c1c: f8df a178 ldr.w sl, [pc, #376] @ 8006d98 + 8006c20: f8df b17c ldr.w fp, [pc, #380] @ 8006da0 + 8006c24: e0de b.n 8006de4 + 8006c26: 7d23 ldrb r3, [r4, #20] + 8006c28: 2b02 cmp r3, #2 + 8006c2a: d009 beq.n 8006c40 + 8006c2c: 68eb ldr r3, [r5, #12] + 8006c2e: 2010 movs r0, #16 + 8006c30: 899b ldrh r3, [r3, #12] + 8006c32: 9304 str r3, [sp, #16] + 8006c34: f7fc fa27 bl 8003086 + 8006c38: 9b04 ldr r3, [sp, #16] + 8006c3a: 68ea ldr r2, [r5, #12] + 8006c3c: 4303 orrs r3, r0 + 8006c3e: 8193 strh r3, [r2, #12] + 8006c40: 4628 mov r0, r5 + 8006c42: f7ff fb8f bl 8006364 + 8006c46: 2800 cmp r0, #0 + 8006c48: d170 bne.n 8006d2c + 8006c4a: 68eb ldr r3, [r5, #12] + 8006c4c: 6a60 ldr r0, [r4, #36] @ 0x24 + 8006c4e: 9304 str r3, [sp, #16] + 8006c50: f7fc fa1c bl 800308c + 8006c54: 9b04 ldr r3, [sp, #16] + 8006c56: 6098 str r0, [r3, #8] + 8006c58: 68eb ldr r3, [r5, #12] + 8006c5a: 8d60 ldrh r0, [r4, #42] @ 0x2a + 8006c5c: 9304 str r3, [sp, #16] + 8006c5e: f7fc fa12 bl 8003086 + 8006c62: 9b04 ldr r3, [sp, #16] + 8006c64: 8d62 ldrh r2, [r4, #42] @ 0x2a + 8006c66: 81d8 strh r0, [r3, #14] + 8006c68: 6a63 ldr r3, [r4, #36] @ 0x24 + 8006c6a: 4413 add r3, r2 + 8006c6c: 62e3 str r3, [r4, #44] @ 0x2c + 8006c6e: 7aaa ldrb r2, [r5, #10] + 8006c70: 68eb ldr r3, [r5, #12] + 8006c72: 07d2 lsls r2, r2, #31 + 8006c74: d44a bmi.n 8006d0c + 8006c76: f103 0214 add.w r2, r3, #20 + 8006c7a: f9b4 3030 ldrsh.w r3, [r4, #48] @ 0x30 + 8006c7e: 2b00 cmp r3, #0 + 8006c80: bfbc itt lt + 8006c82: 2300 movlt r3, #0 + 8006c84: 8623 strhlt r3, [r4, #48] @ 0x30 + 8006c86: 6b63 ldr r3, [r4, #52] @ 0x34 + 8006c88: b94b cbnz r3, 8006c9e + 8006c8a: 4948 ldr r1, [pc, #288] @ (8006dac ) + 8006c8c: 68eb ldr r3, [r5, #12] + 8006c8e: 6809 ldr r1, [r1, #0] + 8006c90: 9204 str r2, [sp, #16] + 8006c92: 6361 str r1, [r4, #52] @ 0x34 + 8006c94: 6858 ldr r0, [r3, #4] + 8006c96: f7fc f9f9 bl 800308c + 8006c9a: 9a04 ldr r2, [sp, #16] + 8006c9c: 63a0 str r0, [r4, #56] @ 0x38 + 8006c9e: 6869 ldr r1, [r5, #4] + 8006ca0: 68eb ldr r3, [r5, #12] + 8006ca2: 6848 ldr r0, [r1, #4] + 8006ca4: f8b1 c00a ldrh.w ip, [r1, #10] + 8006ca8: 604b str r3, [r1, #4] + 8006caa: 1a18 subs r0, r3, r0 + 8006cac: b280 uxth r0, r0 + 8006cae: ebac 0c00 sub.w ip, ip, r0 + 8006cb2: f8a1 c00a strh.w ip, [r1, #10] + 8006cb6: f8b1 c008 ldrh.w ip, [r1, #8] + 8006cba: ebac 0000 sub.w r0, ip, r0 + 8006cbe: 8108 strh r0, [r1, #8] + 8006cc0: 2100 movs r1, #0 + 8006cc2: 7419 strb r1, [r3, #16] + 8006cc4: 7459 strb r1, [r3, #17] + 8006cc6: 7aa9 ldrb r1, [r5, #10] + 8006cc8: f011 0f01 tst.w r1, #1 + 8006ccc: bf0c ite eq + 8006cce: 2114 moveq r1, #20 + 8006cd0: 2118 movne r1, #24 + 8006cd2: 440b add r3, r1 + 8006cd4: 429a cmp r2, r3 + 8006cd6: d006 beq.n 8006ce6 + 8006cd8: 4935 ldr r1, [pc, #212] @ (8006db0 ) + 8006cda: 4653 mov r3, sl + 8006cdc: f240 621c movw r2, #1564 @ 0x61c + 8006ce0: 4658 mov r0, fp + 8006ce2: f003 fa49 bl 800a178 + 8006ce6: 2306 movs r3, #6 + 8006ce8: 9702 str r7, [sp, #8] + 8006cea: 9301 str r3, [sp, #4] + 8006cec: 7aa3 ldrb r3, [r4, #10] + 8006cee: 9300 str r3, [sp, #0] + 8006cf0: 7ae3 ldrb r3, [r4, #11] + 8006cf2: 6868 ldr r0, [r5, #4] + 8006cf4: 464a mov r2, r9 + 8006cf6: 4621 mov r1, r4 + 8006cf8: f002 fc2e bl 8009558 + 8006cfc: b1b0 cbz r0, 8006d2c + 8006cfe: 8b63 ldrh r3, [r4, #26] + 8006d00: f043 0380 orr.w r3, r3, #128 @ 0x80 + 8006d04: 8363 strh r3, [r4, #26] + 8006d06: b007 add sp, #28 + 8006d08: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8006d0c: 464a mov r2, r9 + 8006d0e: 4639 mov r1, r7 + 8006d10: f44f 7006 mov.w r0, #536 @ 0x218 + 8006d14: 9304 str r3, [sp, #16] + 8006d16: f7fd fa65 bl 80041e4 + 8006d1a: f040 7001 orr.w r0, r0, #33816576 @ 0x2040000 + 8006d1e: f7fc f9b5 bl 800308c + 8006d22: 9b04 ldr r3, [sp, #16] + 8006d24: 6158 str r0, [r3, #20] + 8006d26: f103 0218 add.w r2, r3, #24 + 8006d2a: e7a6 b.n 8006c7a + 8006d2c: 682b ldr r3, [r5, #0] + 8006d2e: 66e3 str r3, [r4, #108] @ 0x6c + 8006d30: 7d23 ldrb r3, [r4, #20] + 8006d32: 2b02 cmp r3, #2 + 8006d34: bf1e ittt ne + 8006d36: 8b63 ldrhne r3, [r4, #26] + 8006d38: f023 0303 bicne.w r3, r3, #3 + 8006d3c: 8363 strhne r3, [r4, #26] + 8006d3e: 68eb ldr r3, [r5, #12] + 8006d40: 6858 ldr r0, [r3, #4] + 8006d42: f7fc f9a3 bl 800308c + 8006d46: 8929 ldrh r1, [r5, #8] + 8006d48: 68eb ldr r3, [r5, #12] + 8006d4a: 9104 str r1, [sp, #16] + 8006d4c: 9005 str r0, [sp, #20] + 8006d4e: 8998 ldrh r0, [r3, #12] + 8006d50: f7fc f999 bl 8003086 + 8006d54: e9dd 1204 ldrd r1, r2, [sp, #16] + 8006d58: f010 0303 ands.w r3, r0, #3 + 8006d5c: 440a add r2, r1 + 8006d5e: bf18 it ne + 8006d60: 2301 movne r3, #1 + 8006d62: 4413 add r3, r2 + 8006d64: 6d22 ldr r2, [r4, #80] @ 0x50 + 8006d66: 1ad2 subs r2, r2, r3 + 8006d68: 2a00 cmp r2, #0 + 8006d6a: bfb8 it lt + 8006d6c: 6523 strlt r3, [r4, #80] @ 0x50 + 8006d6e: 68ea ldr r2, [r5, #12] + 8006d70: 892b ldrh r3, [r5, #8] + 8006d72: 9304 str r3, [sp, #16] + 8006d74: 8990 ldrh r0, [r2, #12] + 8006d76: f7fc f986 bl 8003086 + 8006d7a: 9b04 ldr r3, [sp, #16] + 8006d7c: f010 0003 ands.w r0, r0, #3 + 8006d80: bf18 it ne + 8006d82: 2001 movne r0, #1 + 8006d84: 42d8 cmn r0, r3 + 8006d86: f000 8084 beq.w 8006e92 + 8006d8a: 2300 movs r3, #0 + 8006d8c: 602b str r3, [r5, #0] + 8006d8e: 6f23 ldr r3, [r4, #112] @ 0x70 + 8006d90: b983 cbnz r3, 8006db4 + 8006d92: 6725 str r5, [r4, #112] @ 0x70 + 8006d94: 462e mov r6, r5 + 8006d96: e022 b.n 8006dde + 8006d98: 0800c059 .word 0x0800c059 + 8006d9c: 0800c3e7 .word 0x0800c3e7 + 8006da0: 0800b0a6 .word 0x0800b0a6 + 8006da4: 0800c3ff .word 0x0800c3ff + 8006da8: 20018a90 .word 0x20018a90 + 8006dac: 20018a8c .word 0x20018a8c + 8006db0: 0800c43c .word 0x0800c43c + 8006db4: 68eb ldr r3, [r5, #12] + 8006db6: 6858 ldr r0, [r3, #4] + 8006db8: f7fc f968 bl 800308c + 8006dbc: 68f2 ldr r2, [r6, #12] + 8006dbe: 9004 str r0, [sp, #16] + 8006dc0: 6850 ldr r0, [r2, #4] + 8006dc2: f7fc f963 bl 800308c + 8006dc6: 9b04 ldr r3, [sp, #16] + 8006dc8: 1a1b subs r3, r3, r0 + 8006dca: 2b00 cmp r3, #0 + 8006dcc: da5f bge.n 8006e8e + 8006dce: f104 0370 add.w r3, r4, #112 @ 0x70 + 8006dd2: 681a ldr r2, [r3, #0] + 8006dd4: 2a00 cmp r2, #0 + 8006dd6: d149 bne.n 8006e6c + 8006dd8: 681a ldr r2, [r3, #0] + 8006dda: 602a str r2, [r5, #0] + 8006ddc: 601d str r5, [r3, #0] + 8006dde: 6ee5 ldr r5, [r4, #108] @ 0x6c + 8006de0: 2d00 cmp r5, #0 + 8006de2: d03a beq.n 8006e5a + 8006de4: 68eb ldr r3, [r5, #12] + 8006de6: 6858 ldr r0, [r3, #4] + 8006de8: f7fc f950 bl 800308c + 8006dec: 6c63 ldr r3, [r4, #68] @ 0x44 + 8006dee: 1ac0 subs r0, r0, r3 + 8006df0: 892b ldrh r3, [r5, #8] + 8006df2: 4418 add r0, r3 + 8006df4: 4540 cmp r0, r8 + 8006df6: d82e bhi.n 8006e56 + 8006df8: 68eb ldr r3, [r5, #12] + 8006dfa: 8998 ldrh r0, [r3, #12] + 8006dfc: f7fc f943 bl 8003086 + 8006e00: 0741 lsls r1, r0, #29 + 8006e02: d506 bpl.n 8006e12 + 8006e04: 4926 ldr r1, [pc, #152] @ (8006ea0 ) + 8006e06: 4653 mov r3, sl + 8006e08: f240 5236 movw r2, #1334 @ 0x536 + 8006e0c: 4658 mov r0, fp + 8006e0e: f003 f9b3 bl 800a178 + 8006e12: 6f23 ldr r3, [r4, #112] @ 0x70 + 8006e14: 2b00 cmp r3, #0 + 8006e16: f43f af06 beq.w 8006c26 + 8006e1a: 8b62 ldrh r2, [r4, #26] + 8006e1c: f012 0f44 tst.w r2, #68 @ 0x44 + 8006e20: f47f af01 bne.w 8006c26 + 8006e24: 6ee3 ldr r3, [r4, #108] @ 0x6c + 8006e26: b143 cbz r3, 8006e3a + 8006e28: 6819 ldr r1, [r3, #0] + 8006e2a: 2900 cmp r1, #0 + 8006e2c: f47f aefb bne.w 8006c26 + 8006e30: 8919 ldrh r1, [r3, #8] + 8006e32: 8e63 ldrh r3, [r4, #50] @ 0x32 + 8006e34: 4299 cmp r1, r3 + 8006e36: f4bf aef6 bcs.w 8006c26 + 8006e3a: f8b4 3064 ldrh.w r3, [r4, #100] @ 0x64 + 8006e3e: 2b00 cmp r3, #0 + 8006e40: f43f aef1 beq.w 8006c26 + 8006e44: f8b4 3066 ldrh.w r3, [r4, #102] @ 0x66 + 8006e48: 2b08 cmp r3, #8 + 8006e4a: f63f aeec bhi.w 8006c26 + 8006e4e: f012 0fa0 tst.w r2, #160 @ 0xa0 + 8006e52: f47f aee8 bne.w 8006c26 + 8006e56: 6ee3 ldr r3, [r4, #108] @ 0x6c + 8006e58: b913 cbnz r3, 8006e60 + 8006e5a: 2300 movs r3, #0 + 8006e5c: f8a4 3068 strh.w r3, [r4, #104] @ 0x68 + 8006e60: 8b63 ldrh r3, [r4, #26] + 8006e62: f023 0380 bic.w r3, r3, #128 @ 0x80 + 8006e66: 8363 strh r3, [r4, #26] + 8006e68: 2000 movs r0, #0 + 8006e6a: e74c b.n 8006d06 + 8006e6c: 68d2 ldr r2, [r2, #12] + 8006e6e: 9305 str r3, [sp, #20] + 8006e70: 6850 ldr r0, [r2, #4] + 8006e72: f7fc f90b bl 800308c + 8006e76: 68e9 ldr r1, [r5, #12] + 8006e78: 9004 str r0, [sp, #16] + 8006e7a: 6848 ldr r0, [r1, #4] + 8006e7c: f7fc f906 bl 800308c + 8006e80: 9a04 ldr r2, [sp, #16] + 8006e82: 9b05 ldr r3, [sp, #20] + 8006e84: 1a12 subs r2, r2, r0 + 8006e86: 2a00 cmp r2, #0 + 8006e88: daa6 bge.n 8006dd8 + 8006e8a: 681b ldr r3, [r3, #0] + 8006e8c: e7a1 b.n 8006dd2 + 8006e8e: 6035 str r5, [r6, #0] + 8006e90: e780 b.n 8006d94 + 8006e92: 4628 mov r0, r5 + 8006e94: f7fd f952 bl 800413c + 8006e98: e7a1 b.n 8006dde + 8006e9a: f06f 0003 mvn.w r0, #3 + 8006e9e: e732 b.n 8006d06 + 8006ea0: 0800c425 .word 0x0800c425 -08006248 : - 8006248: b510 push {r4, lr} - 800624a: 4604 mov r4, r0 - 800624c: b930 cbnz r0, 800625c - 800624e: 4b08 ldr r3, [pc, #32] ; (8006270 ) - 8006250: 4908 ldr r1, [pc, #32] ; (8006274 ) - 8006252: 4809 ldr r0, [pc, #36] ; (8006278 ) - 8006254: f240 62ad movw r2, #1709 ; 0x6ad - 8006258: f003 f8a6 bl 80093a8 - 800625c: 4620 mov r0, r4 - 800625e: f7ff fcfb bl 8005c58 - 8006262: b920 cbnz r0, 800626e - 8006264: 4620 mov r0, r4 - 8006266: e8bd 4010 ldmia.w sp!, {r4, lr} - 800626a: f7ff bfd1 b.w 8006210 - 800626e: bd10 pop {r4, pc} - 8006270: 0800b54e .word 0x0800b54e - 8006274: 0800b967 .word 0x0800b967 - 8006278: 0800a54d .word 0x0800a54d +08006ea4 : + 8006ea4: b510 push {r4, lr} + 8006ea6: 4604 mov r4, r0 + 8006ea8: b930 cbnz r0, 8006eb8 + 8006eaa: 4b09 ldr r3, [pc, #36] @ (8006ed0 ) + 8006eac: 4909 ldr r1, [pc, #36] @ (8006ed4 ) + 8006eae: 480a ldr r0, [pc, #40] @ (8006ed8 ) + 8006eb0: f44f 62d3 mov.w r2, #1688 @ 0x698 + 8006eb4: f003 f960 bl 800a178 + 8006eb8: f894 3042 ldrb.w r3, [r4, #66] @ 0x42 + 8006ebc: 2bff cmp r3, #255 @ 0xff + 8006ebe: bf1c itt ne + 8006ec0: 3301 addne r3, #1 + 8006ec2: f884 3042 strbne.w r3, [r4, #66] @ 0x42 + 8006ec6: 4620 mov r0, r4 + 8006ec8: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006ecc: f7ff be40 b.w 8006b50 + 8006ed0: 0800c059 .word 0x0800c059 + 8006ed4: 0800c44f .word 0x0800c44f + 8006ed8: 0800b0a6 .word 0x0800b0a6 -0800627c : - 800627c: b570 push {r4, r5, r6, lr} - 800627e: 4604 mov r4, r0 - 8006280: b930 cbnz r0, 8006290 - 8006282: 4b0f ldr r3, [pc, #60] ; (80062c0 ) - 8006284: 490f ldr r1, [pc, #60] ; (80062c4 ) - 8006286: 4810 ldr r0, [pc, #64] ; (80062c8 ) - 8006288: f640 0224 movw r2, #2084 ; 0x824 - 800628c: f003 f88c bl 80093a8 - 8006290: 6d20 ldr r0, [r4, #80] ; 0x50 - 8006292: 3801 subs r0, #1 - 8006294: f7fc f856 bl 8002344 - 8006298: 2100 movs r1, #0 - 800629a: 4602 mov r2, r0 - 800629c: 4620 mov r0, r4 - 800629e: f7ff fadd bl 800585c - 80062a2: 4605 mov r5, r0 - 80062a4: b148 cbz r0, 80062ba - 80062a6: f7ff faff bl 80058a8 - 80062aa: 1d23 adds r3, r4, #4 - 80062ac: 4622 mov r2, r4 - 80062ae: 4629 mov r1, r5 - 80062b0: 4620 mov r0, r4 - 80062b2: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 80062b6: f7ff bb07 b.w 80058c8 - 80062ba: f04f 30ff mov.w r0, #4294967295 - 80062be: bd70 pop {r4, r5, r6, pc} - 80062c0: 0800b54e .word 0x0800b54e - 80062c4: 0800b983 .word 0x0800b983 - 80062c8: 0800a54d .word 0x0800a54d +08006edc : + 8006edc: b510 push {r4, lr} + 8006ede: 4604 mov r4, r0 + 8006ee0: b930 cbnz r0, 8006ef0 + 8006ee2: 4b08 ldr r3, [pc, #32] @ (8006f04 ) + 8006ee4: 4908 ldr r1, [pc, #32] @ (8006f08 ) + 8006ee6: 4809 ldr r0, [pc, #36] @ (8006f0c ) + 8006ee8: f240 62ad movw r2, #1709 @ 0x6ad + 8006eec: f003 f944 bl 800a178 + 8006ef0: 4620 mov r0, r4 + 8006ef2: f7ff fcfb bl 80068ec + 8006ef6: b920 cbnz r0, 8006f02 + 8006ef8: 4620 mov r0, r4 + 8006efa: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006efe: f7ff bfd1 b.w 8006ea4 + 8006f02: bd10 pop {r4, pc} + 8006f04: 0800c059 .word 0x0800c059 + 8006f08: 0800c472 .word 0x0800c472 + 8006f0c: 0800b0a6 .word 0x0800b0a6 -080062cc : - 80062cc: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80062d0: 4606 mov r6, r0 - 80062d2: b930 cbnz r0, 80062e2 - 80062d4: 4b2c ldr r3, [pc, #176] ; (8006388 ) - 80062d6: 492d ldr r1, [pc, #180] ; (800638c ) - 80062d8: 482d ldr r0, [pc, #180] ; (8006390 ) - 80062da: f640 024f movw r2, #2127 ; 0x84f - 80062de: f003 f863 bl 80093a8 - 80062e2: 6ef5 ldr r5, [r6, #108] ; 0x6c - 80062e4: 2d00 cmp r5, #0 - 80062e6: d048 beq.n 800637a - 80062e8: f896 309a ldrb.w r3, [r6, #154] ; 0x9a - 80062ec: 2bff cmp r3, #255 ; 0xff - 80062ee: bf1c itt ne - 80062f0: 3301 addne r3, #1 - 80062f2: f886 309a strbne.w r3, [r6, #154] ; 0x9a - 80062f6: 68eb ldr r3, [r5, #12] - 80062f8: 8998 ldrh r0, [r3, #12] - 80062fa: f7fc f820 bl 800233e - 80062fe: f010 0401 ands.w r4, r0, #1 - 8006302: bf18 it ne - 8006304: 892c ldrhne r4, [r5, #8] - 8006306: 68eb ldr r3, [r5, #12] - 8006308: bf1c itt ne - 800630a: fab4 f484 clzne r4, r4 - 800630e: 0964 lsrne r4, r4, #5 - 8006310: 685a ldr r2, [r3, #4] - 8006312: f084 0101 eor.w r1, r4, #1 - 8006316: 4630 mov r0, r6 - 8006318: f7ff faa0 bl 800585c - 800631c: 4607 mov r7, r0 - 800631e: b378 cbz r0, 8006380 - 8006320: f8d0 8004 ldr.w r8, [r0, #4] - 8006324: b1f4 cbz r4, 8006364 - 8006326: 2011 movs r0, #17 - 8006328: f9b8 400c ldrsh.w r4, [r8, #12] - 800632c: f7fc f807 bl 800233e - 8006330: f424 547c bic.w r4, r4, #16128 ; 0x3f00 - 8006334: 4320 orrs r0, r4 - 8006336: f8a8 000c strh.w r0, [r8, #12] - 800633a: 68eb ldr r3, [r5, #12] - 800633c: 6858 ldr r0, [r3, #4] - 800633e: f7fc f801 bl 8002344 - 8006342: 6d33 ldr r3, [r6, #80] ; 0x50 - 8006344: 3001 adds r0, #1 - 8006346: 1a1b subs r3, r3, r0 - 8006348: 2b00 cmp r3, #0 - 800634a: bfb8 it lt - 800634c: 6530 strlt r0, [r6, #80] ; 0x50 - 800634e: 4638 mov r0, r7 - 8006350: f7ff faaa bl 80058a8 - 8006354: 1d33 adds r3, r6, #4 - 8006356: 4632 mov r2, r6 - 8006358: 4639 mov r1, r7 - 800635a: 4630 mov r0, r6 - 800635c: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8006360: f7ff bab2 b.w 80058c8 - 8006364: 6868 ldr r0, [r5, #4] - 8006366: 892a ldrh r2, [r5, #8] - 8006368: 8903 ldrh r3, [r0, #8] - 800636a: 1a9b subs r3, r3, r2 - 800636c: b29b uxth r3, r3 - 800636e: 2201 movs r2, #1 - 8006370: f108 0114 add.w r1, r8, #20 - 8006374: f7fc ff4c bl 8003210 - 8006378: e7df b.n 800633a - 800637a: 4628 mov r0, r5 - 800637c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8006380: f04f 30ff mov.w r0, #4294967295 - 8006384: e7fa b.n 800637c - 8006386: bf00 nop - 8006388: 0800b54e .word 0x0800b54e - 800638c: 0800b99e .word 0x0800b99e - 8006390: 0800a54d .word 0x0800a54d +08006f10 : + 8006f10: b570 push {r4, r5, r6, lr} + 8006f12: 4604 mov r4, r0 + 8006f14: b930 cbnz r0, 8006f24 + 8006f16: 4b0f ldr r3, [pc, #60] @ (8006f54 ) + 8006f18: 490f ldr r1, [pc, #60] @ (8006f58 ) + 8006f1a: 4810 ldr r0, [pc, #64] @ (8006f5c ) + 8006f1c: f640 0224 movw r2, #2084 @ 0x824 + 8006f20: f003 f92a bl 800a178 + 8006f24: 6d20 ldr r0, [r4, #80] @ 0x50 + 8006f26: 3801 subs r0, #1 + 8006f28: f7fc f8b0 bl 800308c + 8006f2c: 2100 movs r1, #0 + 8006f2e: 4602 mov r2, r0 + 8006f30: 4620 mov r0, r4 + 8006f32: f7ff fadd bl 80064f0 + 8006f36: 4605 mov r5, r0 + 8006f38: b148 cbz r0, 8006f4e + 8006f3a: f7ff faff bl 800653c + 8006f3e: 1d23 adds r3, r4, #4 + 8006f40: 4622 mov r2, r4 + 8006f42: 4629 mov r1, r5 + 8006f44: 4620 mov r0, r4 + 8006f46: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 8006f4a: f7ff bb07 b.w 800655c + 8006f4e: f04f 30ff mov.w r0, #4294967295 + 8006f52: bd70 pop {r4, r5, r6, pc} + 8006f54: 0800c059 .word 0x0800c059 + 8006f58: 0800c48e .word 0x0800c48e + 8006f5c: 0800b0a6 .word 0x0800b0a6 -08006394 : - 8006394: b570 push {r4, r5, r6, lr} - 8006396: 4604 mov r4, r0 - 8006398: 2006 movs r0, #6 - 800639a: 460e mov r6, r1 - 800639c: 4615 mov r5, r2 - 800639e: f7fc fa71 bl 8002884 - 80063a2: b938 cbnz r0, 80063b4 - 80063a4: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 80063a8: 4b0f ldr r3, [pc, #60] ; (80063e8 ) - 80063aa: 4910 ldr r1, [pc, #64] ; (80063ec ) - 80063ac: 4810 ldr r0, [pc, #64] ; (80063f0 ) - 80063ae: 22be movs r2, #190 ; 0xbe - 80063b0: f002 bffa b.w 80093a8 - 80063b4: 4a0f ldr r2, [pc, #60] ; (80063f4 ) - 80063b6: 6044 str r4, [r0, #4] - 80063b8: 2300 movs r3, #0 - 80063ba: 6003 str r3, [r0, #0] - 80063bc: 6813 ldr r3, [r2, #0] - 80063be: e9c0 6502 strd r6, r5, [r0, #8] - 80063c2: b90b cbnz r3, 80063c8 - 80063c4: 6010 str r0, [r2, #0] - 80063c6: bd70 pop {r4, r5, r6, pc} - 80063c8: 6859 ldr r1, [r3, #4] - 80063ca: 1a61 subs r1, r4, r1 - 80063cc: 2900 cmp r1, #0 - 80063ce: da01 bge.n 80063d4 - 80063d0: 6003 str r3, [r0, #0] - 80063d2: e7f7 b.n 80063c4 - 80063d4: 4619 mov r1, r3 - 80063d6: 681b ldr r3, [r3, #0] - 80063d8: b11b cbz r3, 80063e2 - 80063da: 685a ldr r2, [r3, #4] - 80063dc: 1aa2 subs r2, r4, r2 - 80063de: 2a00 cmp r2, #0 - 80063e0: daf8 bge.n 80063d4 - 80063e2: 6003 str r3, [r0, #0] - 80063e4: 6008 str r0, [r1, #0] - 80063e6: e7ee b.n 80063c6 - 80063e8: 0800b9c1 .word 0x0800b9c1 - 80063ec: 0800b9f5 .word 0x0800b9f5 - 80063f0: 0800a54d .word 0x0800a54d - 80063f4: 20008304 .word 0x20008304 +08006f60 : + 8006f60: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8006f64: 4606 mov r6, r0 + 8006f66: b930 cbnz r0, 8006f76 + 8006f68: 4b2c ldr r3, [pc, #176] @ (800701c ) + 8006f6a: 492d ldr r1, [pc, #180] @ (8007020 ) + 8006f6c: 482d ldr r0, [pc, #180] @ (8007024 ) + 8006f6e: f640 024f movw r2, #2127 @ 0x84f + 8006f72: f003 f901 bl 800a178 + 8006f76: 6ef5 ldr r5, [r6, #108] @ 0x6c + 8006f78: 2d00 cmp r5, #0 + 8006f7a: d049 beq.n 8007010 + 8006f7c: f896 309a ldrb.w r3, [r6, #154] @ 0x9a + 8006f80: 2bff cmp r3, #255 @ 0xff + 8006f82: bf1c itt ne + 8006f84: 3301 addne r3, #1 + 8006f86: f886 309a strbne.w r3, [r6, #154] @ 0x9a + 8006f8a: 68eb ldr r3, [r5, #12] + 8006f8c: 8998 ldrh r0, [r3, #12] + 8006f8e: f7fc f87a bl 8003086 + 8006f92: f010 0401 ands.w r4, r0, #1 + 8006f96: bf18 it ne + 8006f98: 892c ldrhne r4, [r5, #8] + 8006f9a: 68eb ldr r3, [r5, #12] + 8006f9c: bf1c itt ne + 8006f9e: fab4 f484 clzne r4, r4 + 8006fa2: 0964 lsrne r4, r4, #5 + 8006fa4: 685a ldr r2, [r3, #4] + 8006fa6: f084 0101 eor.w r1, r4, #1 + 8006faa: 4630 mov r0, r6 + 8006fac: f7ff faa0 bl 80064f0 + 8006fb0: 4607 mov r7, r0 + 8006fb2: b380 cbz r0, 8007016 + 8006fb4: f8d0 8004 ldr.w r8, [r0, #4] + 8006fb8: b1fc cbz r4, 8006ffa + 8006fba: f8b8 400c ldrh.w r4, [r8, #12] + 8006fbe: 2011 movs r0, #17 + 8006fc0: f7fc f861 bl 8003086 + 8006fc4: f424 547c bic.w r4, r4, #16128 @ 0x3f00 + 8006fc8: b2a4 uxth r4, r4 + 8006fca: 4320 orrs r0, r4 + 8006fcc: f8a8 000c strh.w r0, [r8, #12] + 8006fd0: 68eb ldr r3, [r5, #12] + 8006fd2: 6858 ldr r0, [r3, #4] + 8006fd4: f7fc f85a bl 800308c + 8006fd8: 6d33 ldr r3, [r6, #80] @ 0x50 + 8006fda: 3001 adds r0, #1 + 8006fdc: 1a1b subs r3, r3, r0 + 8006fde: 2b00 cmp r3, #0 + 8006fe0: bfb8 it lt + 8006fe2: 6530 strlt r0, [r6, #80] @ 0x50 + 8006fe4: 4638 mov r0, r7 + 8006fe6: f7ff faa9 bl 800653c + 8006fea: 1d33 adds r3, r6, #4 + 8006fec: 4632 mov r2, r6 + 8006fee: 4639 mov r1, r7 + 8006ff0: 4630 mov r0, r6 + 8006ff2: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8006ff6: f7ff bab1 b.w 800655c + 8006ffa: 6868 ldr r0, [r5, #4] + 8006ffc: 892a ldrh r2, [r5, #8] + 8006ffe: 8903 ldrh r3, [r0, #8] + 8007000: 1a9b subs r3, r3, r2 + 8007002: b29b uxth r3, r3 + 8007004: 2201 movs r2, #1 + 8007006: f108 0114 add.w r1, r8, #20 + 800700a: f7fc ff71 bl 8003ef0 + 800700e: e7df b.n 8006fd0 + 8007010: 4628 mov r0, r5 + 8007012: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8007016: f04f 30ff mov.w r0, #4294967295 + 800701a: e7fa b.n 8007012 + 800701c: 0800c059 .word 0x0800c059 + 8007020: 0800c4a9 .word 0x0800c4a9 + 8007024: 0800b0a6 .word 0x0800b0a6 -080063f8 : - 80063f8: b538 push {r3, r4, r5, lr} - 80063fa: 6843 ldr r3, [r0, #4] - 80063fc: 4604 mov r4, r0 - 80063fe: 4798 blx r3 - 8006400: f7fb fdfe bl 8002000 - 8006404: 4b07 ldr r3, [pc, #28] ; (8006424 ) - 8006406: 6825 ldr r5, [r4, #0] - 8006408: 681b ldr r3, [r3, #0] - 800640a: 4907 ldr r1, [pc, #28] ; (8006428 ) - 800640c: 442b add r3, r5 - 800640e: 1a1a subs r2, r3, r0 - 8006410: 2a00 cmp r2, #0 - 8006412: bfb8 it lt - 8006414: 1940 addlt r0, r0, r5 - 8006416: 4622 mov r2, r4 - 8006418: bfa8 it ge - 800641a: 4618 movge r0, r3 - 800641c: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 8006420: f7ff bfb8 b.w 8006394 - 8006424: 20008300 .word 0x20008300 - 8006428: 080063f9 .word 0x080063f9 +08007028 : + 8007028: b570 push {r4, r5, r6, lr} + 800702a: 4604 mov r4, r0 + 800702c: 2006 movs r0, #6 + 800702e: 460e mov r6, r1 + 8007030: 4615 mov r5, r2 + 8007032: f7fc fab3 bl 800359c + 8007036: b938 cbnz r0, 8007048 + 8007038: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800703c: 4b0f ldr r3, [pc, #60] @ (800707c ) + 800703e: 4910 ldr r1, [pc, #64] @ (8007080 ) + 8007040: 4810 ldr r0, [pc, #64] @ (8007084 ) + 8007042: 22be movs r2, #190 @ 0xbe + 8007044: f003 b898 b.w 800a178 + 8007048: 4a0f ldr r2, [pc, #60] @ (8007088 ) + 800704a: 6044 str r4, [r0, #4] + 800704c: 2300 movs r3, #0 + 800704e: 6003 str r3, [r0, #0] + 8007050: 6813 ldr r3, [r2, #0] + 8007052: e9c0 6502 strd r6, r5, [r0, #8] + 8007056: b90b cbnz r3, 800705c + 8007058: 6010 str r0, [r2, #0] + 800705a: bd70 pop {r4, r5, r6, pc} + 800705c: 6859 ldr r1, [r3, #4] + 800705e: 1a61 subs r1, r4, r1 + 8007060: 2900 cmp r1, #0 + 8007062: da01 bge.n 8007068 + 8007064: 6003 str r3, [r0, #0] + 8007066: e7f7 b.n 8007058 + 8007068: 4619 mov r1, r3 + 800706a: 681b ldr r3, [r3, #0] + 800706c: b11b cbz r3, 8007076 + 800706e: 685a ldr r2, [r3, #4] + 8007070: 1aa2 subs r2, r4, r2 + 8007072: 2a00 cmp r2, #0 + 8007074: daf8 bge.n 8007068 + 8007076: 6003 str r3, [r0, #0] + 8007078: 6008 str r0, [r1, #0] + 800707a: e7ee b.n 800705a + 800707c: 0800c4cc .word 0x0800c4cc + 8007080: 0800c500 .word 0x0800c500 + 8007084: 0800b0a6 .word 0x0800b0a6 + 8007088: 20018ad0 .word 0x20018ad0 -0800642c : - 800642c: f1b0 4f80 cmp.w r0, #1073741824 ; 0x40000000 - 8006430: b570 push {r4, r5, r6, lr} - 8006432: 4604 mov r4, r0 - 8006434: 460d mov r5, r1 - 8006436: 4616 mov r6, r2 - 8006438: d306 bcc.n 8006448 - 800643a: 4b08 ldr r3, [pc, #32] ; (800645c ) - 800643c: 4908 ldr r1, [pc, #32] ; (8006460 ) - 800643e: 4809 ldr r0, [pc, #36] ; (8006464 ) - 8006440: f240 1229 movw r2, #297 ; 0x129 - 8006444: f002 ffb0 bl 80093a8 - 8006448: f7fb fdda bl 8002000 - 800644c: 4632 mov r2, r6 - 800644e: 4629 mov r1, r5 - 8006450: 4420 add r0, r4 - 8006452: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 8006456: f7ff bf9d b.w 8006394 - 800645a: bf00 nop - 800645c: 0800b9c1 .word 0x0800b9c1 - 8006460: 0800ba32 .word 0x0800ba32 - 8006464: 0800a54d .word 0x0800a54d +0800708c : + 800708c: b570 push {r4, r5, r6, lr} + 800708e: 6843 ldr r3, [r0, #4] + 8007090: 4604 mov r4, r0 + 8007092: 4798 blx r3 + 8007094: f7fb fe62 bl 8002d5c + 8007098: 4b07 ldr r3, [pc, #28] @ (80070b8 ) + 800709a: 6826 ldr r6, [r4, #0] + 800709c: 4907 ldr r1, [pc, #28] @ (80070bc ) + 800709e: 4605 mov r5, r0 + 80070a0: 6818 ldr r0, [r3, #0] + 80070a2: 4430 add r0, r6 + 80070a4: 1b43 subs r3, r0, r5 + 80070a6: 2b00 cmp r3, #0 + 80070a8: 4622 mov r2, r4 + 80070aa: bfb8 it lt + 80070ac: 1970 addlt r0, r6, r5 + 80070ae: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 80070b2: f7ff bfb9 b.w 8007028 + 80070b6: bf00 nop + 80070b8: 20018acc .word 0x20018acc + 80070bc: 0800708d .word 0x0800708d -08006468 : - 8006468: 4b08 ldr r3, [pc, #32] ; (800648c ) - 800646a: 681a ldr r2, [r3, #0] - 800646c: b962 cbnz r2, 8006488 - 800646e: 4a08 ldr r2, [pc, #32] ; (8006490 ) - 8006470: 6812 ldr r2, [r2, #0] - 8006472: b912 cbnz r2, 800647a - 8006474: 4a07 ldr r2, [pc, #28] ; (8006494 ) - 8006476: 6812 ldr r2, [r2, #0] - 8006478: b132 cbz r2, 8006488 - 800647a: 2201 movs r2, #1 - 800647c: 601a str r2, [r3, #0] - 800647e: 4906 ldr r1, [pc, #24] ; (8006498 ) - 8006480: 2200 movs r2, #0 - 8006482: 20fa movs r0, #250 ; 0xfa - 8006484: f7ff bfd2 b.w 800642c - 8006488: 4770 bx lr - 800648a: bf00 nop - 800648c: 20008308 .word 0x20008308 - 8006490: 200082a4 .word 0x200082a4 - 8006494: 200082bc .word 0x200082bc - 8006498: 0800649d .word 0x0800649d +080070c0 : + 80070c0: f1b0 4f80 cmp.w r0, #1073741824 @ 0x40000000 + 80070c4: b570 push {r4, r5, r6, lr} + 80070c6: 4604 mov r4, r0 + 80070c8: 460d mov r5, r1 + 80070ca: 4616 mov r6, r2 + 80070cc: d306 bcc.n 80070dc + 80070ce: 4b08 ldr r3, [pc, #32] @ (80070f0 ) + 80070d0: 4908 ldr r1, [pc, #32] @ (80070f4 ) + 80070d2: 4809 ldr r0, [pc, #36] @ (80070f8 ) + 80070d4: f240 1229 movw r2, #297 @ 0x129 + 80070d8: f003 f84e bl 800a178 + 80070dc: f7fb fe3e bl 8002d5c + 80070e0: 4632 mov r2, r6 + 80070e2: 4629 mov r1, r5 + 80070e4: 4420 add r0, r4 + 80070e6: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 80070ea: f7ff bf9d b.w 8007028 + 80070ee: bf00 nop + 80070f0: 0800c4cc .word 0x0800c4cc + 80070f4: 0800c53d .word 0x0800c53d + 80070f8: 0800b0a6 .word 0x0800b0a6 -0800649c : - 800649c: b508 push {r3, lr} - 800649e: f7fd fe0b bl 80040b8 - 80064a2: 4b08 ldr r3, [pc, #32] ; (80064c4 ) - 80064a4: 681b ldr r3, [r3, #0] - 80064a6: b913 cbnz r3, 80064ae - 80064a8: 4b07 ldr r3, [pc, #28] ; (80064c8 ) - 80064aa: 681b ldr r3, [r3, #0] - 80064ac: b133 cbz r3, 80064bc - 80064ae: e8bd 4008 ldmia.w sp!, {r3, lr} - 80064b2: 4906 ldr r1, [pc, #24] ; (80064cc ) - 80064b4: 2200 movs r2, #0 - 80064b6: 20fa movs r0, #250 ; 0xfa - 80064b8: f7ff bfb8 b.w 800642c - 80064bc: 4a04 ldr r2, [pc, #16] ; (80064d0 ) - 80064be: 6013 str r3, [r2, #0] - 80064c0: bd08 pop {r3, pc} - 80064c2: bf00 nop - 80064c4: 200082a4 .word 0x200082a4 - 80064c8: 200082bc .word 0x200082bc - 80064cc: 0800649d .word 0x0800649d - 80064d0: 20008308 .word 0x20008308 +080070fc : + 80070fc: 4b08 ldr r3, [pc, #32] @ (8007120 ) + 80070fe: 681a ldr r2, [r3, #0] + 8007100: b962 cbnz r2, 800711c + 8007102: 4a08 ldr r2, [pc, #32] @ (8007124 ) + 8007104: 6812 ldr r2, [r2, #0] + 8007106: b912 cbnz r2, 800710e + 8007108: 4a07 ldr r2, [pc, #28] @ (8007128 ) + 800710a: 6812 ldr r2, [r2, #0] + 800710c: b132 cbz r2, 800711c + 800710e: 2201 movs r2, #1 + 8007110: 601a str r2, [r3, #0] + 8007112: 4906 ldr r1, [pc, #24] @ (800712c ) + 8007114: 2200 movs r2, #0 + 8007116: 20fa movs r0, #250 @ 0xfa + 8007118: f7ff bfd2 b.w 80070c0 + 800711c: 4770 bx lr + 800711e: bf00 nop + 8007120: 20018ac8 .word 0x20018ac8 + 8007124: 20018a80 .word 0x20018a80 + 8007128: 20018a7c .word 0x20018a7c + 800712c: 08007131 .word 0x08007131 -080064d4 : - 80064d4: b570 push {r4, r5, r6, lr} - 80064d6: 4d06 ldr r5, [pc, #24] ; (80064f0 ) - 80064d8: 4e06 ldr r6, [pc, #24] ; (80064f4 ) - 80064da: 2401 movs r4, #1 - 80064dc: f855 0f08 ldr.w r0, [r5, #8]! - 80064e0: 4631 mov r1, r6 - 80064e2: 462a mov r2, r5 - 80064e4: 3401 adds r4, #1 - 80064e6: f7ff ffa1 bl 800642c - 80064ea: 2c05 cmp r4, #5 - 80064ec: d1f6 bne.n 80064dc - 80064ee: bd70 pop {r4, r5, r6, pc} - 80064f0: 0800ba68 .word 0x0800ba68 - 80064f4: 080063f9 .word 0x080063f9 +08007130 : + 8007130: b508 push {r3, lr} + 8007132: f7fd fe35 bl 8004da0 + 8007136: 4b08 ldr r3, [pc, #32] @ (8007158 ) + 8007138: 681b ldr r3, [r3, #0] + 800713a: b913 cbnz r3, 8007142 + 800713c: 4b07 ldr r3, [pc, #28] @ (800715c ) + 800713e: 681b ldr r3, [r3, #0] + 8007140: b133 cbz r3, 8007150 + 8007142: e8bd 4008 ldmia.w sp!, {r3, lr} + 8007146: 4906 ldr r1, [pc, #24] @ (8007160 ) + 8007148: 2200 movs r2, #0 + 800714a: 20fa movs r0, #250 @ 0xfa + 800714c: f7ff bfb8 b.w 80070c0 + 8007150: 4a04 ldr r2, [pc, #16] @ (8007164 ) + 8007152: 6013 str r3, [r2, #0] + 8007154: bd08 pop {r3, pc} + 8007156: bf00 nop + 8007158: 20018a80 .word 0x20018a80 + 800715c: 20018a7c .word 0x20018a7c + 8007160: 08007131 .word 0x08007131 + 8007164: 20018ac8 .word 0x20018ac8 -080064f8 : - 80064f8: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 80064fc: f7fb fd80 bl 8002000 - 8006500: f8df 8044 ldr.w r8, [pc, #68] ; 8006548 - 8006504: f8df 9044 ldr.w r9, [pc, #68] ; 800654c - 8006508: 4604 mov r4, r0 - 800650a: 4e0e ldr r6, [pc, #56] ; (8006544 ) - 800650c: f898 3000 ldrb.w r3, [r8] - 8006510: b10b cbz r3, 8006516 - 8006512: f7fc fbd7 bl 8002cc4 - 8006516: 6831 ldr r1, [r6, #0] - 8006518: b189 cbz r1, 800653e - 800651a: 684b ldr r3, [r1, #4] - 800651c: 1ae2 subs r2, r4, r3 - 800651e: 2a00 cmp r2, #0 - 8006520: db0d blt.n 800653e - 8006522: e9d1 5702 ldrd r5, r7, [r1, #8] - 8006526: 680a ldr r2, [r1, #0] - 8006528: 6032 str r2, [r6, #0] - 800652a: 2006 movs r0, #6 - 800652c: f8c9 3000 str.w r3, [r9] - 8006530: f7fc f9d8 bl 80028e4 - 8006534: 2d00 cmp r5, #0 - 8006536: d0e9 beq.n 800650c - 8006538: 4638 mov r0, r7 - 800653a: 47a8 blx r5 - 800653c: e7e5 b.n 800650a - 800653e: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 8006542: bf00 nop - 8006544: 20008304 .word 0x20008304 - 8006548: 200082a1 .word 0x200082a1 - 800654c: 20008300 .word 0x20008300 +08007168 : + 8007168: b570 push {r4, r5, r6, lr} + 800716a: 4d06 ldr r5, [pc, #24] @ (8007184 ) + 800716c: 4e06 ldr r6, [pc, #24] @ (8007188 ) + 800716e: 2401 movs r4, #1 + 8007170: f855 0f08 ldr.w r0, [r5, #8]! + 8007174: 4631 mov r1, r6 + 8007176: 462a mov r2, r5 + 8007178: 3401 adds r4, #1 + 800717a: f7ff ffa1 bl 80070c0 + 800717e: 2c05 cmp r4, #5 + 8007180: d1f6 bne.n 8007170 + 8007182: bd70 pop {r4, r5, r6, pc} + 8007184: 0800c574 .word 0x0800c574 + 8007188: 0800708d .word 0x0800708d -08006550 : - 8006550: b508 push {r3, lr} - 8006552: f002 ff41 bl 80093d8 - 8006556: 4b03 ldr r3, [pc, #12] ; (8006564 ) - 8006558: ea6f 4080 mvn.w r0, r0, lsl #18 - 800655c: ea6f 4090 mvn.w r0, r0, lsr #18 - 8006560: 8018 strh r0, [r3, #0] - 8006562: bd08 pop {r3, pc} - 8006564: 20000026 .word 0x20000026 +0800718c : + 800718c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8007190: f7fb fde4 bl 8002d5c + 8007194: f8df 8044 ldr.w r8, [pc, #68] @ 80071dc + 8007198: f8df 9044 ldr.w r9, [pc, #68] @ 80071e0 + 800719c: 4604 mov r4, r0 + 800719e: 4e0e ldr r6, [pc, #56] @ (80071d8 ) + 80071a0: f898 3000 ldrb.w r3, [r8] + 80071a4: b10b cbz r3, 80071aa + 80071a6: f7fc fc03 bl 80039b0 + 80071aa: 6831 ldr r1, [r6, #0] + 80071ac: b189 cbz r1, 80071d2 + 80071ae: 684b ldr r3, [r1, #4] + 80071b0: 1ae2 subs r2, r4, r3 + 80071b2: 2a00 cmp r2, #0 + 80071b4: db0d blt.n 80071d2 + 80071b6: e9d1 5702 ldrd r5, r7, [r1, #8] + 80071ba: 680a ldr r2, [r1, #0] + 80071bc: 6032 str r2, [r6, #0] + 80071be: 2006 movs r0, #6 + 80071c0: f8c9 3000 str.w r3, [r9] + 80071c4: f7fc fa18 bl 80035f8 + 80071c8: 2d00 cmp r5, #0 + 80071ca: d0e9 beq.n 80071a0 + 80071cc: 4638 mov r0, r7 + 80071ce: 47a8 blx r5 + 80071d0: e7e5 b.n 800719e + 80071d2: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 80071d6: bf00 nop + 80071d8: 20018ad0 .word 0x20018ad0 + 80071dc: 20018a78 .word 0x20018a78 + 80071e0: 20018acc .word 0x20018acc -08006568 : - 8006568: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800656c: 4688 mov r8, r1 - 800656e: b085 sub sp, #20 - 8006570: 4606 mov r6, r0 - 8006572: b928 cbnz r0, 8006580 - 8006574: 4b5f ldr r3, [pc, #380] ; (80066f4 ) - 8006576: 4960 ldr r1, [pc, #384] ; (80066f8 ) - 8006578: 4860 ldr r0, [pc, #384] ; (80066fc ) - 800657a: 22cf movs r2, #207 ; 0xcf - 800657c: f002 ff14 bl 80093a8 - 8006580: f1b8 0f00 cmp.w r8, #0 - 8006584: d105 bne.n 8006592 - 8006586: 4b5b ldr r3, [pc, #364] ; (80066f4 ) - 8006588: 495d ldr r1, [pc, #372] ; (8006700 ) - 800658a: 485c ldr r0, [pc, #368] ; (80066fc ) - 800658c: 22d0 movs r2, #208 ; 0xd0 - 800658e: f002 ff0b bl 80093a8 - 8006592: 8973 ldrh r3, [r6, #10] - 8006594: 2b07 cmp r3, #7 - 8006596: d805 bhi.n 80065a4 - 8006598: 4630 mov r0, r6 - 800659a: b005 add sp, #20 - 800659c: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80065a0: f7fc bc18 b.w 8002dd4 - 80065a4: 4f57 ldr r7, [pc, #348] ; (8006704 ) - 80065a6: 6874 ldr r4, [r6, #4] - 80065a8: 6839 ldr r1, [r7, #0] - 80065aa: 6978 ldr r0, [r7, #20] - 80065ac: f8df b164 ldr.w fp, [pc, #356] ; 8006714 - 80065b0: f002 f987 bl 80088c2 - 80065b4: 4681 mov r9, r0 - 80065b6: 8820 ldrh r0, [r4, #0] - 80065b8: f7fb fec1 bl 800233e - 80065bc: 9002 str r0, [sp, #8] - 80065be: 8860 ldrh r0, [r4, #2] - 80065c0: f7fb febd bl 800233e - 80065c4: 2500 movs r5, #0 - 80065c6: f8db 4000 ldr.w r4, [fp] - 80065ca: f8df c128 ldr.w ip, [pc, #296] ; 80066f4 - 80065ce: 494e ldr r1, [pc, #312] ; (8006708 ) - 80065d0: 9003 str r0, [sp, #12] - 80065d2: 46aa mov sl, r5 - 80065d4: b99c cbnz r4, 80065fe - 80065d6: b925 cbnz r5, 80065e2 - 80065d8: f8d8 2004 ldr.w r2, [r8, #4] - 80065dc: 697b ldr r3, [r7, #20] - 80065de: 429a cmp r2, r3 - 80065e0: d1da bne.n 8006598 - 80065e2: 2108 movs r1, #8 - 80065e4: 4630 mov r0, r6 - 80065e6: f7fc fbc1 bl 8002d6c - 80065ea: 2800 cmp r0, #0 - 80065ec: d05e beq.n 80066ac - 80065ee: 4b41 ldr r3, [pc, #260] ; (80066f4 ) - 80065f0: 4946 ldr r1, [pc, #280] ; (800670c ) - 80065f2: 4842 ldr r0, [pc, #264] ; (80066fc ) - 80065f4: f44f 72b8 mov.w r2, #368 ; 0x170 - 80065f8: f002 fed6 bl 80093a8 - 80065fc: e7cc b.n 8006598 - 80065fe: 8a62 ldrh r2, [r4, #18] - 8006600: 9803 ldr r0, [sp, #12] - 8006602: 4282 cmp r2, r0 - 8006604: d14d bne.n 80066a2 - 8006606: f1b8 0f00 cmp.w r8, #0 - 800660a: d107 bne.n 800661c - 800660c: 4663 mov r3, ip - 800660e: 483b ldr r0, [pc, #236] ; (80066fc ) - 8006610: 2288 movs r2, #136 ; 0x88 - 8006612: f002 fec9 bl 80093a8 - 8006616: f8df c0dc ldr.w ip, [pc, #220] ; 80066f4 - 800661a: 493b ldr r1, [pc, #236] ; (8006708 ) - 800661c: 7a20 ldrb r0, [r4, #8] - 800661e: b130 cbz r0, 800662e - 8006620: 687a ldr r2, [r7, #4] - 8006622: f892 2034 ldrb.w r2, [r2, #52] ; 0x34 - 8006626: 3201 adds r2, #1 - 8006628: b2d2 uxtb r2, r2 - 800662a: 4290 cmp r0, r2 - 800662c: d139 bne.n 80066a2 - 800662e: 6822 ldr r2, [r4, #0] - 8006630: f1b9 0f00 cmp.w r9, #0 - 8006634: d030 beq.n 8006698 - 8006636: b13a cbz r2, 8006648 - 8006638: 6978 ldr r0, [r7, #20] - 800663a: 1c43 adds r3, r0, #1 - 800663c: d004 beq.n 8006648 - 800663e: f8d8 3008 ldr.w r3, [r8, #8] - 8006642: 4050 eors r0, r2 - 8006644: 4218 tst r0, r3 - 8006646: d12c bne.n 80066a2 - 8006648: 7c20 ldrb r0, [r4, #16] - 800664a: 0743 lsls r3, r0, #29 - 800664c: d40e bmi.n 800666c - 800664e: b35d cbz r5, 80066a8 - 8006650: f1b9 0f00 cmp.w r9, #0 - 8006654: d00a beq.n 800666c - 8006656: 6978 ldr r0, [r7, #20] - 8006658: 3001 adds r0, #1 - 800665a: d107 bne.n 800666c - 800665c: f8d8 0004 ldr.w r0, [r8, #4] - 8006660: 682b ldr r3, [r5, #0] - 8006662: 4283 cmp r3, r0 - 8006664: d002 beq.n 800666c - 8006666: 4290 cmp r0, r2 - 8006668: bf08 it eq - 800666a: 4625 moveq r5, r4 - 800666c: 8aa2 ldrh r2, [r4, #20] - 800666e: 9b02 ldr r3, [sp, #8] - 8006670: 429a cmp r2, r3 - 8006672: d116 bne.n 80066a2 - 8006674: 6862 ldr r2, [r4, #4] - 8006676: b112 cbz r2, 800667e - 8006678: 6938 ldr r0, [r7, #16] - 800667a: 4282 cmp r2, r0 - 800667c: d111 bne.n 80066a2 - 800667e: f1ba 0f00 cmp.w sl, #0 - 8006682: d007 beq.n 8006694 - 8006684: 68e3 ldr r3, [r4, #12] - 8006686: f8ca 300c str.w r3, [sl, #12] - 800668a: f8db 3000 ldr.w r3, [fp] - 800668e: 60e3 str r3, [r4, #12] - 8006690: f8cb 4000 str.w r4, [fp] - 8006694: 4625 mov r5, r4 - 8006696: e7a4 b.n 80065e2 - 8006698: 2a00 cmp r2, #0 - 800669a: d0d5 beq.n 8006648 - 800669c: 6978 ldr r0, [r7, #20] - 800669e: 4290 cmp r0, r2 - 80066a0: d0d2 beq.n 8006648 - 80066a2: 46a2 mov sl, r4 - 80066a4: 68e4 ldr r4, [r4, #12] - 80066a6: e795 b.n 80065d4 - 80066a8: 4625 mov r5, r4 - 80066aa: e7df b.n 800666c - 80066ac: b16d cbz r5, 80066ca - 80066ae: 69ac ldr r4, [r5, #24] - 80066b0: 2c00 cmp r4, #0 - 80066b2: f43f af71 beq.w 8006598 - 80066b6: 9b02 ldr r3, [sp, #8] - 80066b8: 9300 str r3, [sp, #0] - 80066ba: 69e8 ldr r0, [r5, #28] - 80066bc: 4b14 ldr r3, [pc, #80] ; (8006710 ) - 80066be: 4632 mov r2, r6 - 80066c0: 4629 mov r1, r5 - 80066c2: 47a0 blx r4 - 80066c4: b005 add sp, #20 - 80066c6: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80066ca: f1b9 0f00 cmp.w r9, #0 - 80066ce: f47f af63 bne.w 8006598 - 80066d2: 697b ldr r3, [r7, #20] - 80066d4: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 80066d8: 2be0 cmp r3, #224 ; 0xe0 - 80066da: f43f af5d beq.w 8006598 - 80066de: 89b9 ldrh r1, [r7, #12] - 80066e0: 3108 adds r1, #8 - 80066e2: b209 sxth r1, r1 - 80066e4: 4630 mov r0, r6 - 80066e6: f7fc fb6d bl 8002dc4 - 80066ea: 2103 movs r1, #3 - 80066ec: 4630 mov r0, r6 - 80066ee: f001 ff47 bl 8008580 - 80066f2: e751 b.n 8006598 - 80066f4: 0800ba90 .word 0x0800ba90 - 80066f8: 0800babf .word 0x0800babf - 80066fc: 0800a54d .word 0x0800a54d - 8006700: 0800bad7 .word 0x0800bad7 - 8006704: 20004d1c .word 0x20004d1c - 8006708: 0800baf0 .word 0x0800baf0 - 800670c: 0800bb15 .word 0x0800bb15 - 8006710: 20004d2c .word 0x20004d2c - 8006714: 2000830c .word 0x2000830c +080071e4 : + 80071e4: b508 push {r3, lr} + 80071e6: f002 fec7 bl 8009f78 + 80071ea: 4b03 ldr r3, [pc, #12] @ (80071f8 ) + 80071ec: ea6f 4080 mvn.w r0, r0, lsl #18 + 80071f0: ea6f 4090 mvn.w r0, r0, lsr #18 + 80071f4: 8018 strh r0, [r3, #0] + 80071f6: bd08 pop {r3, pc} + 80071f8: 20000026 .word 0x20000026 -08006718 : - 8006718: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800671c: 4c2b ldr r4, [pc, #172] ; (80067cc ) - 800671e: 2900 cmp r1, #0 - 8006720: bf18 it ne - 8006722: 460c movne r4, r1 - 8006724: b950 cbnz r0, 800673c - 8006726: 4b2a ldr r3, [pc, #168] ; (80067d0 ) - 8006728: 492a ldr r1, [pc, #168] ; (80067d4 ) - 800672a: 482b ldr r0, [pc, #172] ; (80067d8 ) - 800672c: f240 32b7 movw r2, #951 ; 0x3b7 - 8006730: f002 fe3a bl 80093a8 - 8006734: f06f 000f mvn.w r0, #15 - 8006738: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800673c: f8df c0a0 ldr.w ip, [pc, #160] ; 80067e0 - 8006740: f8dc 5000 ldr.w r5, [ip] - 8006744: 4629 mov r1, r5 - 8006746: b9c9 cbnz r1, 800677c - 8006748: 2a00 cmp r2, #0 - 800674a: d13c bne.n 80067c6 - 800674c: 4f23 ldr r7, [pc, #140] ; (80067dc ) - 800674e: 883a ldrh r2, [r7, #0] - 8006750: f44f 4380 mov.w r3, #16384 ; 0x4000 - 8006754: f64f 7eff movw lr, #65535 ; 0xffff - 8006758: 4572 cmp r2, lr - 800675a: bf1a itte ne - 800675c: 3201 addne r2, #1 - 800675e: b292 uxthne r2, r2 - 8006760: f44f 4240 moveq.w r2, #49152 ; 0xc000 - 8006764: 462e mov r6, r5 - 8006766: b97e cbnz r6, 8006788 - 8006768: 803a strh r2, [r7, #0] - 800676a: 6823 ldr r3, [r4, #0] - 800676c: 6003 str r3, [r0, #0] - 800676e: 8242 strh r2, [r0, #18] - 8006770: b911 cbnz r1, 8006778 - 8006772: 60c5 str r5, [r0, #12] - 8006774: f8cc 0000 str.w r0, [ip] - 8006778: 2000 movs r0, #0 - 800677a: e7dd b.n 8006738 - 800677c: 4281 cmp r1, r0 - 800677e: d001 beq.n 8006784 - 8006780: 68c9 ldr r1, [r1, #12] - 8006782: e7e0 b.n 8006746 - 8006784: 2101 movs r1, #1 - 8006786: e7df b.n 8006748 - 8006788: f8b6 8012 ldrh.w r8, [r6, #18] - 800678c: 4590 cmp r8, r2 - 800678e: d107 bne.n 80067a0 - 8006790: 3b01 subs r3, #1 - 8006792: b29b uxth r3, r3 - 8006794: 2b00 cmp r3, #0 - 8006796: d1df bne.n 8006758 - 8006798: 803a strh r2, [r7, #0] - 800679a: f06f 0007 mvn.w r0, #7 - 800679e: e7cb b.n 8006738 - 80067a0: 68f6 ldr r6, [r6, #12] - 80067a2: e7e0 b.n 8006766 - 80067a4: 4283 cmp r3, r0 - 80067a6: d00a beq.n 80067be - 80067a8: 8a5e ldrh r6, [r3, #18] - 80067aa: 4296 cmp r6, r2 - 80067ac: d107 bne.n 80067be - 80067ae: 6827 ldr r7, [r4, #0] - 80067b0: 681e ldr r6, [r3, #0] - 80067b2: 42be cmp r6, r7 - 80067b4: d0f1 beq.n 800679a - 80067b6: 2f00 cmp r7, #0 - 80067b8: d0ef beq.n 800679a - 80067ba: 2e00 cmp r6, #0 - 80067bc: d0ed beq.n 800679a - 80067be: 68db ldr r3, [r3, #12] - 80067c0: 2b00 cmp r3, #0 - 80067c2: d1ef bne.n 80067a4 - 80067c4: e7d1 b.n 800676a - 80067c6: 462b mov r3, r5 - 80067c8: e7fa b.n 80067c0 - 80067ca: bf00 nop - 80067cc: 0800c304 .word 0x0800c304 - 80067d0: 0800ba90 .word 0x0800ba90 - 80067d4: 0800bb30 .word 0x0800bb30 - 80067d8: 0800a54d .word 0x0800a54d - 80067dc: 20000026 .word 0x20000026 - 80067e0: 2000830c .word 0x2000830c +080071fc : + 80071fc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8007200: 4688 mov r8, r1 + 8007202: b085 sub sp, #20 + 8007204: 4605 mov r5, r0 + 8007206: b928 cbnz r0, 8007214 + 8007208: 4b5e ldr r3, [pc, #376] @ (8007384 ) + 800720a: 495f ldr r1, [pc, #380] @ (8007388 ) + 800720c: 485f ldr r0, [pc, #380] @ (800738c ) + 800720e: 22cf movs r2, #207 @ 0xcf + 8007210: f002 ffb2 bl 800a178 + 8007214: f1b8 0f00 cmp.w r8, #0 + 8007218: d105 bne.n 8007226 + 800721a: 4b5a ldr r3, [pc, #360] @ (8007384 ) + 800721c: 495c ldr r1, [pc, #368] @ (8007390 ) + 800721e: 485b ldr r0, [pc, #364] @ (800738c ) + 8007220: 22d0 movs r2, #208 @ 0xd0 + 8007222: f002 ffa9 bl 800a178 + 8007226: 896b ldrh r3, [r5, #10] + 8007228: 2b07 cmp r3, #7 + 800722a: d805 bhi.n 8007238 + 800722c: 4628 mov r0, r5 + 800722e: b005 add sp, #20 + 8007230: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8007234: f7fc bc44 b.w 8003ac0 + 8007238: 4f56 ldr r7, [pc, #344] @ (8007394 ) + 800723a: 686c ldr r4, [r5, #4] + 800723c: 6839 ldr r1, [r7, #0] + 800723e: 6978 ldr r0, [r7, #20] + 8007240: f8df b160 ldr.w fp, [pc, #352] @ 80073a4 + 8007244: f002 f999 bl 800957a + 8007248: 4681 mov r9, r0 + 800724a: 8820 ldrh r0, [r4, #0] + 800724c: f7fb ff1b bl 8003086 + 8007250: 9002 str r0, [sp, #8] + 8007252: 8860 ldrh r0, [r4, #2] + 8007254: f7fb ff17 bl 8003086 + 8007258: 2600 movs r6, #0 + 800725a: f8db 4000 ldr.w r4, [fp] + 800725e: 9003 str r0, [sp, #12] + 8007260: 46b2 mov sl, r6 + 8007262: b93c cbnz r4, 8007274 + 8007264: 2e00 cmp r6, #0 + 8007266: d148 bne.n 80072fa + 8007268: f8d8 2004 ldr.w r2, [r8, #4] + 800726c: 697b ldr r3, [r7, #20] + 800726e: 429a cmp r2, r3 + 8007270: d043 beq.n 80072fa + 8007272: e7db b.n 800722c + 8007274: 8a63 ldrh r3, [r4, #18] + 8007276: 9a03 ldr r2, [sp, #12] + 8007278: 4293 cmp r3, r2 + 800727a: d150 bne.n 800731e + 800727c: f1b8 0f00 cmp.w r8, #0 + 8007280: d105 bne.n 800728e + 8007282: 4b40 ldr r3, [pc, #256] @ (8007384 ) + 8007284: 4944 ldr r1, [pc, #272] @ (8007398 ) + 8007286: 4841 ldr r0, [pc, #260] @ (800738c ) + 8007288: 2288 movs r2, #136 @ 0x88 + 800728a: f002 ff75 bl 800a178 + 800728e: 7a22 ldrb r2, [r4, #8] + 8007290: b132 cbz r2, 80072a0 + 8007292: 687b ldr r3, [r7, #4] + 8007294: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 8007298: 3301 adds r3, #1 + 800729a: b2db uxtb r3, r3 + 800729c: 429a cmp r2, r3 + 800729e: d13e bne.n 800731e + 80072a0: 6823 ldr r3, [r4, #0] + 80072a2: f1b9 0f00 cmp.w r9, #0 + 80072a6: d035 beq.n 8007314 + 80072a8: b13b cbz r3, 80072ba + 80072aa: 697a ldr r2, [r7, #20] + 80072ac: 1c51 adds r1, r2, #1 + 80072ae: d004 beq.n 80072ba + 80072b0: f8d8 1008 ldr.w r1, [r8, #8] + 80072b4: 405a eors r2, r3 + 80072b6: 420a tst r2, r1 + 80072b8: d131 bne.n 800731e + 80072ba: 7c22 ldrb r2, [r4, #16] + 80072bc: 0752 lsls r2, r2, #29 + 80072be: d40f bmi.n 80072e0 + 80072c0: 2e00 cmp r6, #0 + 80072c2: d02f beq.n 8007324 + 80072c4: f1b9 0f00 cmp.w r9, #0 + 80072c8: d00a beq.n 80072e0 + 80072ca: 697a ldr r2, [r7, #20] + 80072cc: 3201 adds r2, #1 + 80072ce: d107 bne.n 80072e0 + 80072d0: f8d8 2004 ldr.w r2, [r8, #4] + 80072d4: 6831 ldr r1, [r6, #0] + 80072d6: 4291 cmp r1, r2 + 80072d8: d002 beq.n 80072e0 + 80072da: 429a cmp r2, r3 + 80072dc: bf08 it eq + 80072de: 4626 moveq r6, r4 + 80072e0: 8aa3 ldrh r3, [r4, #20] + 80072e2: 9a02 ldr r2, [sp, #8] + 80072e4: 4293 cmp r3, r2 + 80072e6: d11a bne.n 800731e + 80072e8: 6863 ldr r3, [r4, #4] + 80072ea: b113 cbz r3, 80072f2 + 80072ec: 693a ldr r2, [r7, #16] + 80072ee: 4293 cmp r3, r2 + 80072f0: d115 bne.n 800731e + 80072f2: f1ba 0f00 cmp.w sl, #0 + 80072f6: d117 bne.n 8007328 + 80072f8: 4626 mov r6, r4 + 80072fa: 2108 movs r1, #8 + 80072fc: 4628 mov r0, r5 + 80072fe: f7fc fbab bl 8003a58 + 8007302: b1d0 cbz r0, 800733a + 8007304: 4b1f ldr r3, [pc, #124] @ (8007384 ) + 8007306: 4925 ldr r1, [pc, #148] @ (800739c ) + 8007308: 4820 ldr r0, [pc, #128] @ (800738c ) + 800730a: f44f 72b8 mov.w r2, #368 @ 0x170 + 800730e: f002 ff33 bl 800a178 + 8007312: e78b b.n 800722c + 8007314: 2b00 cmp r3, #0 + 8007316: d0d0 beq.n 80072ba + 8007318: 697a ldr r2, [r7, #20] + 800731a: 4293 cmp r3, r2 + 800731c: d0cd beq.n 80072ba + 800731e: 46a2 mov sl, r4 + 8007320: 68e4 ldr r4, [r4, #12] + 8007322: e79e b.n 8007262 + 8007324: 4626 mov r6, r4 + 8007326: e7db b.n 80072e0 + 8007328: 68e3 ldr r3, [r4, #12] + 800732a: f8ca 300c str.w r3, [sl, #12] + 800732e: f8db 3000 ldr.w r3, [fp] + 8007332: 60e3 str r3, [r4, #12] + 8007334: f8cb 4000 str.w r4, [fp] + 8007338: e7de b.n 80072f8 + 800733a: b16e cbz r6, 8007358 + 800733c: 69b4 ldr r4, [r6, #24] + 800733e: 2c00 cmp r4, #0 + 8007340: f43f af74 beq.w 800722c + 8007344: 9b02 ldr r3, [sp, #8] + 8007346: 9300 str r3, [sp, #0] + 8007348: 69f0 ldr r0, [r6, #28] + 800734a: 4b15 ldr r3, [pc, #84] @ (80073a0 ) + 800734c: 462a mov r2, r5 + 800734e: 4631 mov r1, r6 + 8007350: 47a0 blx r4 + 8007352: b005 add sp, #20 + 8007354: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8007358: f1b9 0f00 cmp.w r9, #0 + 800735c: f47f af66 bne.w 800722c + 8007360: 697b ldr r3, [r7, #20] + 8007362: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 8007366: 2be0 cmp r3, #224 @ 0xe0 + 8007368: f43f af60 beq.w 800722c + 800736c: 89b9 ldrh r1, [r7, #12] + 800736e: 3108 adds r1, #8 + 8007370: b209 sxth r1, r1 + 8007372: 4628 mov r0, r5 + 8007374: f7fc fb9c bl 8003ab0 + 8007378: 2103 movs r1, #3 + 800737a: 4628 mov r0, r5 + 800737c: f001 ff5a bl 8009234 + 8007380: e754 b.n 800722c + 8007382: bf00 nop + 8007384: 0800c59c .word 0x0800c59c + 8007388: 0800c5cb .word 0x0800c5cb + 800738c: 0800b0a6 .word 0x0800b0a6 + 8007390: 0800c5e3 .word 0x0800c5e3 + 8007394: 20005b24 .word 0x20005b24 + 8007398: 0800c5fc .word 0x0800c5fc + 800739c: 0800c621 .word 0x0800c621 + 80073a0: 20005b34 .word 0x20005b34 + 80073a4: 20018ad4 .word 0x20018ad4 -080067e4 : - 80067e4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80067e8: b085 sub sp, #20 - 80067ea: e9dd ba0e ldrd fp, sl, [sp, #56] ; 0x38 - 80067ee: 460e mov r6, r1 - 80067f0: 4690 mov r8, r2 - 80067f2: 4699 mov r9, r3 - 80067f4: 4607 mov r7, r0 - 80067f6: b960 cbnz r0, 8006812 - 80067f8: 4b3e ldr r3, [pc, #248] ; (80068f4 ) - 80067fa: 493f ldr r1, [pc, #252] ; (80068f8 ) - 80067fc: f240 22d1 movw r2, #721 ; 0x2d1 - 8006800: 483e ldr r0, [pc, #248] ; (80068fc ) - 8006802: f002 fdd1 bl 80093a8 - 8006806: f06f 040f mvn.w r4, #15 - 800680a: 4620 mov r0, r4 - 800680c: b005 add sp, #20 - 800680e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8006812: b921 cbnz r1, 800681e - 8006814: 4b37 ldr r3, [pc, #220] ; (80068f4 ) - 8006816: 493a ldr r1, [pc, #232] ; (8006900 ) - 8006818: f240 22d2 movw r2, #722 ; 0x2d2 - 800681c: e7f0 b.n 8006800 - 800681e: b922 cbnz r2, 800682a - 8006820: 4b34 ldr r3, [pc, #208] ; (80068f4 ) - 8006822: 4938 ldr r1, [pc, #224] ; (8006904 ) - 8006824: f240 22d3 movw r2, #723 ; 0x2d3 - 8006828: e7ea b.n 8006800 - 800682a: f1ba 0f00 cmp.w sl, #0 - 800682e: d104 bne.n 800683a - 8006830: 4b30 ldr r3, [pc, #192] ; (80068f4 ) - 8006832: 4935 ldr r1, [pc, #212] ; (8006908 ) - 8006834: f44f 7235 mov.w r2, #724 ; 0x2d4 - 8006838: e7e2 b.n 8006800 - 800683a: f1bb 0f00 cmp.w fp, #0 - 800683e: d104 bne.n 800684a - 8006840: 4b2c ldr r3, [pc, #176] ; (80068f4 ) - 8006842: 4932 ldr r1, [pc, #200] ; (800690c ) - 8006844: f240 22d5 movw r2, #725 ; 0x2d5 - 8006848: e7da b.n 8006800 - 800684a: 8a42 ldrh r2, [r0, #18] - 800684c: b13a cbz r2, 800685e - 800684e: 8932 ldrh r2, [r6, #8] - 8006850: f64f 73f7 movw r3, #65527 ; 0xfff7 - 8006854: 429a cmp r2, r3 - 8006856: d909 bls.n 800686c - 8006858: f04f 34ff mov.w r4, #4294967295 - 800685c: e7d5 b.n 800680a - 800685e: 4601 mov r1, r0 - 8006860: f7ff ff5a bl 8006718 - 8006864: 4604 mov r4, r0 - 8006866: 2800 cmp r0, #0 - 8006868: d0f1 beq.n 800684e - 800686a: e7ce b.n 800680a - 800686c: 2108 movs r1, #8 - 800686e: 4630 mov r0, r6 - 8006870: f7fc fa78 bl 8002d64 - 8006874: 2800 cmp r0, #0 - 8006876: d03a beq.n 80068ee - 8006878: f44f 7220 mov.w r2, #640 ; 0x280 - 800687c: 2108 movs r1, #8 - 800687e: 2022 movs r0, #34 ; 0x22 - 8006880: f7fc fb0c bl 8002e9c - 8006884: 4605 mov r5, r0 - 8006886: 2800 cmp r0, #0 - 8006888: d0e6 beq.n 8006858 - 800688a: 8933 ldrh r3, [r6, #8] - 800688c: b113 cbz r3, 8006894 - 800688e: 4631 mov r1, r6 - 8006890: f7fc fc32 bl 80030f8 - 8006894: 896b ldrh r3, [r5, #10] - 8006896: 2b07 cmp r3, #7 - 8006898: d806 bhi.n 80068a8 - 800689a: 4b16 ldr r3, [pc, #88] ; (80068f4 ) - 800689c: 491c ldr r1, [pc, #112] ; (8006910 ) - 800689e: 4817 ldr r0, [pc, #92] ; (80068fc ) - 80068a0: f240 320d movw r2, #781 ; 0x30d - 80068a4: f002 fd80 bl 80093a8 - 80068a8: 8a78 ldrh r0, [r7, #18] - 80068aa: 686c ldr r4, [r5, #4] - 80068ac: f7fb fd47 bl 800233e - 80068b0: 8020 strh r0, [r4, #0] - 80068b2: 4648 mov r0, r9 - 80068b4: f7fb fd43 bl 800233e - 80068b8: 2300 movs r3, #0 - 80068ba: 8060 strh r0, [r4, #2] - 80068bc: 71a3 strb r3, [r4, #6] - 80068be: 71e3 strb r3, [r4, #7] - 80068c0: 8928 ldrh r0, [r5, #8] - 80068c2: f7fb fd3c bl 800233e - 80068c6: 2311 movs r3, #17 - 80068c8: 80a0 strh r0, [r4, #4] - 80068ca: f8cd b008 str.w fp, [sp, #8] - 80068ce: 9301 str r3, [sp, #4] - 80068d0: 7abb ldrb r3, [r7, #10] - 80068d2: 9300 str r3, [sp, #0] - 80068d4: 7afb ldrb r3, [r7, #11] - 80068d6: 4642 mov r2, r8 - 80068d8: 4651 mov r1, sl - 80068da: 4628 mov r0, r5 - 80068dc: f001 ff64 bl 80087a8 - 80068e0: 42b5 cmp r5, r6 - 80068e2: 4604 mov r4, r0 - 80068e4: d091 beq.n 800680a - 80068e6: 4628 mov r0, r5 - 80068e8: f7fc fa74 bl 8002dd4 - 80068ec: e78d b.n 800680a - 80068ee: 4635 mov r5, r6 - 80068f0: e7d0 b.n 8006894 - 80068f2: bf00 nop - 80068f4: 0800ba90 .word 0x0800ba90 - 80068f8: 0800bb46 .word 0x0800bb46 - 80068fc: 0800a54d .word 0x0800a54d - 8006900: 0800bb65 .word 0x0800bb65 - 8006904: 0800bb85 .word 0x0800bb85 - 8006908: 0800bba7 .word 0x0800bba7 - 800690c: 0800bbc9 .word 0x0800bbc9 - 8006910: 0800bbea .word 0x0800bbea +080073a8 : + 80073a8: 4b2f ldr r3, [pc, #188] @ (8007468 ) + 80073aa: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80073ae: 2900 cmp r1, #0 + 80073b0: bf14 ite ne + 80073b2: 460f movne r7, r1 + 80073b4: 461f moveq r7, r3 + 80073b6: b950 cbnz r0, 80073ce + 80073b8: 4b2c ldr r3, [pc, #176] @ (800746c ) + 80073ba: 492d ldr r1, [pc, #180] @ (8007470 ) + 80073bc: 482d ldr r0, [pc, #180] @ (8007474 ) + 80073be: f240 32b7 movw r2, #951 @ 0x3b7 + 80073c2: f002 fed9 bl 800a178 + 80073c6: f06f 000f mvn.w r0, #15 + 80073ca: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80073ce: 4e2a ldr r6, [pc, #168] @ (8007478 ) + 80073d0: 6834 ldr r4, [r6, #0] + 80073d2: 4621 mov r1, r4 + 80073d4: b951 cbnz r1, 80073ec + 80073d6: b17a cbz r2, 80073f8 + 80073d8: 683d ldr r5, [r7, #0] + 80073da: 4623 mov r3, r4 + 80073dc: bb7b cbnz r3, 800743e + 80073de: 683b ldr r3, [r7, #0] + 80073e0: 6003 str r3, [r0, #0] + 80073e2: 8242 strh r2, [r0, #18] + 80073e4: 2900 cmp r1, #0 + 80073e6: d03b beq.n 8007460 + 80073e8: 2000 movs r0, #0 + 80073ea: e7ee b.n 80073ca + 80073ec: 4281 cmp r1, r0 + 80073ee: d001 beq.n 80073f4 + 80073f0: 68c9 ldr r1, [r1, #12] + 80073f2: e7ef b.n 80073d4 + 80073f4: 2101 movs r1, #1 + 80073f6: e7ee b.n 80073d6 + 80073f8: f8df c080 ldr.w ip, [pc, #128] @ 800747c + 80073fc: f8bc 3000 ldrh.w r3, [ip] + 8007400: f44f 4280 mov.w r2, #16384 @ 0x4000 + 8007404: f64f 7eff movw lr, #65535 @ 0xffff + 8007408: 4573 cmp r3, lr + 800740a: bf1a itte ne + 800740c: 3301 addne r3, #1 + 800740e: b29b uxthne r3, r3 + 8007410: f44f 4340 moveq.w r3, #49152 @ 0xc000 + 8007414: 4625 mov r5, r4 + 8007416: b90d cbnz r5, 800741c + 8007418: 461a mov r2, r3 + 800741a: e007 b.n 800742c + 800741c: f8b5 8012 ldrh.w r8, [r5, #18] + 8007420: 4598 cmp r8, r3 + 8007422: d10a bne.n 800743a + 8007424: 3a01 subs r2, #1 + 8007426: b292 uxth r2, r2 + 8007428: 2a00 cmp r2, #0 + 800742a: d1ed bne.n 8007408 + 800742c: f8ac 3000 strh.w r3, [ip] + 8007430: 2a00 cmp r2, #0 + 8007432: d1d4 bne.n 80073de + 8007434: f06f 0007 mvn.w r0, #7 + 8007438: e7c7 b.n 80073ca + 800743a: 68ed ldr r5, [r5, #12] + 800743c: e7eb b.n 8007416 + 800743e: 4283 cmp r3, r0 + 8007440: d00c beq.n 800745c + 8007442: f8b3 c012 ldrh.w ip, [r3, #18] + 8007446: 4594 cmp ip, r2 + 8007448: d108 bne.n 800745c + 800744a: f8d3 c000 ldr.w ip, [r3] + 800744e: 45ac cmp ip, r5 + 8007450: d0f0 beq.n 8007434 + 8007452: 2d00 cmp r5, #0 + 8007454: d0ee beq.n 8007434 + 8007456: f1bc 0f00 cmp.w ip, #0 + 800745a: d0eb beq.n 8007434 + 800745c: 68db ldr r3, [r3, #12] + 800745e: e7bd b.n 80073dc + 8007460: 60c4 str r4, [r0, #12] + 8007462: 6030 str r0, [r6, #0] + 8007464: e7c0 b.n 80073e8 + 8007466: bf00 nop + 8007468: 0800ce50 .word 0x0800ce50 + 800746c: 0800c59c .word 0x0800c59c + 8007470: 0800c63c .word 0x0800c63c + 8007474: 0800b0a6 .word 0x0800b0a6 + 8007478: 20018ad4 .word 0x20018ad4 + 800747c: 20000026 .word 0x20000026 -08006914 : - 8006914: b573 push {r0, r1, r4, r5, r6, lr} - 8006916: 9c06 ldr r4, [sp, #24] - 8006918: b950 cbnz r0, 8006930 - 800691a: 4b18 ldr r3, [pc, #96] ; (800697c ) - 800691c: 4918 ldr r1, [pc, #96] ; (8006980 ) - 800691e: f44f 7220 mov.w r2, #640 ; 0x280 - 8006922: 4818 ldr r0, [pc, #96] ; (8006984 ) - 8006924: f002 fd40 bl 80093a8 - 8006928: f06f 000f mvn.w r0, #15 - 800692c: b002 add sp, #8 - 800692e: bd70 pop {r4, r5, r6, pc} - 8006930: b921 cbnz r1, 800693c - 8006932: 4b12 ldr r3, [pc, #72] ; (800697c ) - 8006934: 4914 ldr r1, [pc, #80] ; (8006988 ) - 8006936: f240 2281 movw r2, #641 ; 0x281 - 800693a: e7f2 b.n 8006922 - 800693c: b922 cbnz r2, 8006948 - 800693e: 4b0f ldr r3, [pc, #60] ; (800697c ) - 8006940: 4912 ldr r1, [pc, #72] ; (800698c ) - 8006942: f240 2282 movw r2, #642 ; 0x282 - 8006946: e7ec b.n 8006922 - 8006948: b924 cbnz r4, 8006954 - 800694a: 4b0c ldr r3, [pc, #48] ; (800697c ) - 800694c: 4910 ldr r1, [pc, #64] ; (8006990 ) - 800694e: f240 2283 movw r2, #643 ; 0x283 - 8006952: e7e6 b.n 8006922 - 8006954: 6805 ldr r5, [r0, #0] - 8006956: b11d cbz r5, 8006960 - 8006958: f005 06f0 and.w r6, r5, #240 ; 0xf0 - 800695c: 2ee0 cmp r6, #224 ; 0xe0 - 800695e: d105 bne.n 800696c - 8006960: 1d25 adds r5, r4, #4 - 8006962: e9cd 4500 strd r4, r5, [sp] - 8006966: f7ff ff3d bl 80067e4 - 800696a: e7df b.n 800692c - 800696c: 6866 ldr r6, [r4, #4] - 800696e: 42b5 cmp r5, r6 - 8006970: d101 bne.n 8006976 - 8006972: 4605 mov r5, r0 - 8006974: e7f5 b.n 8006962 - 8006976: f06f 0003 mvn.w r0, #3 - 800697a: e7d7 b.n 800692c - 800697c: 0800ba90 .word 0x0800ba90 - 8006980: 0800bc18 .word 0x0800bc18 - 8006984: 0800a54d .word 0x0800a54d - 8006988: 0800bc33 .word 0x0800bc33 - 800698c: 0800bc4f .word 0x0800bc4f - 8006990: 0800bc6d .word 0x0800bc6d +08007480 : + 8007480: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8007484: b085 sub sp, #20 + 8007486: e9dd ba0e ldrd fp, sl, [sp, #56] @ 0x38 + 800748a: 460e mov r6, r1 + 800748c: 4690 mov r8, r2 + 800748e: 4699 mov r9, r3 + 8007490: 4607 mov r7, r0 + 8007492: b960 cbnz r0, 80074ae + 8007494: 4b3e ldr r3, [pc, #248] @ (8007590 ) + 8007496: 493f ldr r1, [pc, #252] @ (8007594 ) + 8007498: f240 22d1 movw r2, #721 @ 0x2d1 + 800749c: 483e ldr r0, [pc, #248] @ (8007598 ) + 800749e: f002 fe6b bl 800a178 + 80074a2: f06f 050f mvn.w r5, #15 + 80074a6: 4628 mov r0, r5 + 80074a8: b005 add sp, #20 + 80074aa: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80074ae: b921 cbnz r1, 80074ba + 80074b0: 4b37 ldr r3, [pc, #220] @ (8007590 ) + 80074b2: 493a ldr r1, [pc, #232] @ (800759c ) + 80074b4: f240 22d2 movw r2, #722 @ 0x2d2 + 80074b8: e7f0 b.n 800749c + 80074ba: b922 cbnz r2, 80074c6 + 80074bc: 4b34 ldr r3, [pc, #208] @ (8007590 ) + 80074be: 4938 ldr r1, [pc, #224] @ (80075a0 ) + 80074c0: f240 22d3 movw r2, #723 @ 0x2d3 + 80074c4: e7ea b.n 800749c + 80074c6: f1ba 0f00 cmp.w sl, #0 + 80074ca: d104 bne.n 80074d6 + 80074cc: 4b30 ldr r3, [pc, #192] @ (8007590 ) + 80074ce: 4935 ldr r1, [pc, #212] @ (80075a4 ) + 80074d0: f44f 7235 mov.w r2, #724 @ 0x2d4 + 80074d4: e7e2 b.n 800749c + 80074d6: f1bb 0f00 cmp.w fp, #0 + 80074da: d104 bne.n 80074e6 + 80074dc: 4b2c ldr r3, [pc, #176] @ (8007590 ) + 80074de: 4932 ldr r1, [pc, #200] @ (80075a8 ) + 80074e0: f240 22d5 movw r2, #725 @ 0x2d5 + 80074e4: e7da b.n 800749c + 80074e6: 8a42 ldrh r2, [r0, #18] + 80074e8: b13a cbz r2, 80074fa + 80074ea: 8932 ldrh r2, [r6, #8] + 80074ec: f64f 73f7 movw r3, #65527 @ 0xfff7 + 80074f0: 429a cmp r2, r3 + 80074f2: d909 bls.n 8007508 + 80074f4: f04f 35ff mov.w r5, #4294967295 + 80074f8: e7d5 b.n 80074a6 + 80074fa: 4601 mov r1, r0 + 80074fc: f7ff ff54 bl 80073a8 + 8007500: 4605 mov r5, r0 + 8007502: 2800 cmp r0, #0 + 8007504: d0f1 beq.n 80074ea + 8007506: e7ce b.n 80074a6 + 8007508: 2108 movs r1, #8 + 800750a: 4630 mov r0, r6 + 800750c: f7fc faa0 bl 8003a50 + 8007510: 2800 cmp r0, #0 + 8007512: d03a beq.n 800758a + 8007514: f44f 7220 mov.w r2, #640 @ 0x280 + 8007518: 2108 movs r1, #8 + 800751a: 2022 movs r0, #34 @ 0x22 + 800751c: f7fc fb34 bl 8003b88 + 8007520: 4604 mov r4, r0 + 8007522: 2800 cmp r0, #0 + 8007524: d0e6 beq.n 80074f4 + 8007526: 8933 ldrh r3, [r6, #8] + 8007528: b113 cbz r3, 8007530 + 800752a: 4631 mov r1, r6 + 800752c: f7fc fc54 bl 8003dd8 + 8007530: 8963 ldrh r3, [r4, #10] + 8007532: 2b07 cmp r3, #7 + 8007534: d806 bhi.n 8007544 + 8007536: 4b16 ldr r3, [pc, #88] @ (8007590 ) + 8007538: 491c ldr r1, [pc, #112] @ (80075ac ) + 800753a: 4817 ldr r0, [pc, #92] @ (8007598 ) + 800753c: f240 320d movw r2, #781 @ 0x30d + 8007540: f002 fe1a bl 800a178 + 8007544: 8a78 ldrh r0, [r7, #18] + 8007546: 6865 ldr r5, [r4, #4] + 8007548: f7fb fd9d bl 8003086 + 800754c: 8028 strh r0, [r5, #0] + 800754e: 4648 mov r0, r9 + 8007550: f7fb fd99 bl 8003086 + 8007554: 2300 movs r3, #0 + 8007556: 8068 strh r0, [r5, #2] + 8007558: 71ab strb r3, [r5, #6] + 800755a: 71eb strb r3, [r5, #7] + 800755c: 8920 ldrh r0, [r4, #8] + 800755e: f7fb fd92 bl 8003086 + 8007562: 2311 movs r3, #17 + 8007564: 80a8 strh r0, [r5, #4] + 8007566: f8cd b008 str.w fp, [sp, #8] + 800756a: 9301 str r3, [sp, #4] + 800756c: 7abb ldrb r3, [r7, #10] + 800756e: 9300 str r3, [sp, #0] + 8007570: 7afb ldrb r3, [r7, #11] + 8007572: 4642 mov r2, r8 + 8007574: 4651 mov r1, sl + 8007576: 4620 mov r0, r4 + 8007578: f001 ff72 bl 8009460 + 800757c: 42b4 cmp r4, r6 + 800757e: 4605 mov r5, r0 + 8007580: d091 beq.n 80074a6 + 8007582: 4620 mov r0, r4 + 8007584: f7fc fa9c bl 8003ac0 + 8007588: e78d b.n 80074a6 + 800758a: 4634 mov r4, r6 + 800758c: e7d0 b.n 8007530 + 800758e: bf00 nop + 8007590: 0800c59c .word 0x0800c59c + 8007594: 0800c652 .word 0x0800c652 + 8007598: 0800b0a6 .word 0x0800b0a6 + 800759c: 0800c671 .word 0x0800c671 + 80075a0: 0800c691 .word 0x0800c691 + 80075a4: 0800c6b3 .word 0x0800c6b3 + 80075a8: 0800c6d5 .word 0x0800c6d5 + 80075ac: 0800c6f6 .word 0x0800c6f6 -08006994 : - 8006994: b570 push {r4, r5, r6, lr} - 8006996: 460d mov r5, r1 - 8006998: 4616 mov r6, r2 - 800699a: 4604 mov r4, r0 - 800699c: b948 cbnz r0, 80069b2 - 800699e: 4b16 ldr r3, [pc, #88] ; (80069f8 ) - 80069a0: 4916 ldr r1, [pc, #88] ; (80069fc ) - 80069a2: f240 4235 movw r2, #1077 ; 0x435 - 80069a6: 4816 ldr r0, [pc, #88] ; (8006a00 ) - 80069a8: f002 fcfe bl 80093a8 - 80069ac: f06f 000f mvn.w r0, #15 - 80069b0: bd70 pop {r4, r5, r6, pc} - 80069b2: b921 cbnz r1, 80069be - 80069b4: 4b10 ldr r3, [pc, #64] ; (80069f8 ) - 80069b6: 4913 ldr r1, [pc, #76] ; (8006a04 ) - 80069b8: f240 4236 movw r2, #1078 ; 0x436 - 80069bc: e7f3 b.n 80069a6 - 80069be: 8a42 ldrh r2, [r0, #18] - 80069c0: b16a cbz r2, 80069de - 80069c2: 682b ldr r3, [r5, #0] - 80069c4: 6063 str r3, [r4, #4] - 80069c6: 7c23 ldrb r3, [r4, #16] - 80069c8: 82a6 strh r6, [r4, #20] - 80069ca: f043 0304 orr.w r3, r3, #4 - 80069ce: 7423 strb r3, [r4, #16] - 80069d0: 4b0d ldr r3, [pc, #52] ; (8006a08 ) - 80069d2: 681a ldr r2, [r3, #0] - 80069d4: 4610 mov r0, r2 - 80069d6: b940 cbnz r0, 80069ea - 80069d8: 60e2 str r2, [r4, #12] - 80069da: 601c str r4, [r3, #0] - 80069dc: e7e8 b.n 80069b0 - 80069de: 4601 mov r1, r0 - 80069e0: f7ff fe9a bl 8006718 - 80069e4: 2800 cmp r0, #0 - 80069e6: d0ec beq.n 80069c2 - 80069e8: e7e2 b.n 80069b0 - 80069ea: 42a0 cmp r0, r4 - 80069ec: d001 beq.n 80069f2 - 80069ee: 68c0 ldr r0, [r0, #12] - 80069f0: e7f1 b.n 80069d6 - 80069f2: 2000 movs r0, #0 - 80069f4: e7dc b.n 80069b0 - 80069f6: bf00 nop - 80069f8: 0800ba90 .word 0x0800ba90 - 80069fc: 0800bc8a .word 0x0800bc8a - 8006a00: 0800a54d .word 0x0800a54d - 8006a04: 0800bca3 .word 0x0800bca3 - 8006a08: 2000830c .word 0x2000830c +080075b0 : + 80075b0: b573 push {r0, r1, r4, r5, r6, lr} + 80075b2: 9c06 ldr r4, [sp, #24] + 80075b4: b950 cbnz r0, 80075cc + 80075b6: 4b18 ldr r3, [pc, #96] @ (8007618 ) + 80075b8: 4918 ldr r1, [pc, #96] @ (800761c ) + 80075ba: f44f 7220 mov.w r2, #640 @ 0x280 + 80075be: 4818 ldr r0, [pc, #96] @ (8007620 ) + 80075c0: f002 fdda bl 800a178 + 80075c4: f06f 000f mvn.w r0, #15 + 80075c8: b002 add sp, #8 + 80075ca: bd70 pop {r4, r5, r6, pc} + 80075cc: b921 cbnz r1, 80075d8 + 80075ce: 4b12 ldr r3, [pc, #72] @ (8007618 ) + 80075d0: 4914 ldr r1, [pc, #80] @ (8007624 ) + 80075d2: f240 2281 movw r2, #641 @ 0x281 + 80075d6: e7f2 b.n 80075be + 80075d8: b922 cbnz r2, 80075e4 + 80075da: 4b0f ldr r3, [pc, #60] @ (8007618 ) + 80075dc: 4912 ldr r1, [pc, #72] @ (8007628 ) + 80075de: f240 2282 movw r2, #642 @ 0x282 + 80075e2: e7ec b.n 80075be + 80075e4: b924 cbnz r4, 80075f0 + 80075e6: 4b0c ldr r3, [pc, #48] @ (8007618 ) + 80075e8: 4910 ldr r1, [pc, #64] @ (800762c ) + 80075ea: f240 2283 movw r2, #643 @ 0x283 + 80075ee: e7e6 b.n 80075be + 80075f0: 6805 ldr r5, [r0, #0] + 80075f2: b11d cbz r5, 80075fc + 80075f4: f005 06f0 and.w r6, r5, #240 @ 0xf0 + 80075f8: 2ee0 cmp r6, #224 @ 0xe0 + 80075fa: d105 bne.n 8007608 + 80075fc: 1d25 adds r5, r4, #4 + 80075fe: e9cd 4500 strd r4, r5, [sp] + 8007602: f7ff ff3d bl 8007480 + 8007606: e7df b.n 80075c8 + 8007608: 6866 ldr r6, [r4, #4] + 800760a: 42b5 cmp r5, r6 + 800760c: d101 bne.n 8007612 + 800760e: 4605 mov r5, r0 + 8007610: e7f5 b.n 80075fe + 8007612: f06f 0003 mvn.w r0, #3 + 8007616: e7d7 b.n 80075c8 + 8007618: 0800c59c .word 0x0800c59c + 800761c: 0800c724 .word 0x0800c724 + 8007620: 0800b0a6 .word 0x0800b0a6 + 8007624: 0800c73f .word 0x0800c73f + 8007628: 0800c75b .word 0x0800c75b + 800762c: 0800c779 .word 0x0800c779 -08006a0c : - 8006a0c: b930 cbnz r0, 8006a1c - 8006a0e: 4b05 ldr r3, [pc, #20] ; (8006a24 ) - 8006a10: 4905 ldr r1, [pc, #20] ; (8006a28 ) - 8006a12: 4806 ldr r0, [pc, #24] ; (8006a2c ) - 8006a14: f240 428a movw r2, #1162 ; 0x48a - 8006a18: f002 bcc6 b.w 80093a8 - 8006a1c: e9c0 1206 strd r1, r2, [r0, #24] - 8006a20: 4770 bx lr - 8006a22: bf00 nop - 8006a24: 0800ba90 .word 0x0800ba90 - 8006a28: 0800bcbf .word 0x0800bcbf - 8006a2c: 0800a54d .word 0x0800a54d +08007630 : + 8007630: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 8007632: 460e mov r6, r1 + 8007634: 4615 mov r5, r2 + 8007636: 461f mov r7, r3 + 8007638: 4604 mov r4, r0 + 800763a: b950 cbnz r0, 8007652 + 800763c: 4b15 ldr r3, [pc, #84] @ (8007694 ) + 800763e: 4916 ldr r1, [pc, #88] @ (8007698 ) + 8007640: f44f 7206 mov.w r2, #536 @ 0x218 + 8007644: 4815 ldr r0, [pc, #84] @ (800769c ) + 8007646: f002 fd97 bl 800a178 + 800764a: f06f 000f mvn.w r0, #15 + 800764e: b003 add sp, #12 + 8007650: bdf0 pop {r4, r5, r6, r7, pc} + 8007652: b921 cbnz r1, 800765e + 8007654: 4b0f ldr r3, [pc, #60] @ (8007694 ) + 8007656: 4912 ldr r1, [pc, #72] @ (80076a0 ) + 8007658: f240 2219 movw r2, #537 @ 0x219 + 800765c: e7f2 b.n 8007644 + 800765e: b922 cbnz r2, 800766a + 8007660: 4b0c ldr r3, [pc, #48] @ (8007694 ) + 8007662: 4910 ldr r1, [pc, #64] @ (80076a4 ) + 8007664: f240 221a movw r2, #538 @ 0x21a + 8007668: e7ec b.n 8007644 + 800766a: 7a00 ldrb r0, [r0, #8] + 800766c: b150 cbz r0, 8007684 + 800766e: f7fc f959 bl 8003924 + 8007672: b158 cbz r0, 800768c + 8007674: 9000 str r0, [sp, #0] + 8007676: 463b mov r3, r7 + 8007678: 462a mov r2, r5 + 800767a: 4631 mov r1, r6 + 800767c: 4620 mov r0, r4 + 800767e: f7ff ff97 bl 80075b0 + 8007682: e7e4 b.n 800764e + 8007684: 4610 mov r0, r2 + 8007686: f001 fdf7 bl 8009278 + 800768a: e7f2 b.n 8007672 + 800768c: f06f 0003 mvn.w r0, #3 + 8007690: e7dd b.n 800764e + 8007692: bf00 nop + 8007694: 0800c59c .word 0x0800c59c + 8007698: 0800c796 .word 0x0800c796 + 800769c: 0800b0a6 .word 0x0800b0a6 + 80076a0: 0800c7ae .word 0x0800c7ae + 80076a4: 0800c7c7 .word 0x0800c7c7 -08006a30 : - 8006a30: 4601 mov r1, r0 - 8006a32: b930 cbnz r0, 8006a42 - 8006a34: 4b0d ldr r3, [pc, #52] ; (8006a6c ) - 8006a36: 490e ldr r1, [pc, #56] ; (8006a70 ) - 8006a38: 480e ldr r0, [pc, #56] ; (8006a74 ) - 8006a3a: f240 42a1 movw r2, #1185 ; 0x4a1 - 8006a3e: f002 bcb3 b.w 80093a8 - 8006a42: 4a0d ldr r2, [pc, #52] ; (8006a78 ) - 8006a44: 6813 ldr r3, [r2, #0] - 8006a46: 4283 cmp r3, r0 - 8006a48: d105 bne.n 8006a56 - 8006a4a: 68c3 ldr r3, [r0, #12] - 8006a4c: 6013 str r3, [r2, #0] - 8006a4e: 2000 movs r0, #0 - 8006a50: f7fb bf48 b.w 80028e4 - 8006a54: 4613 mov r3, r2 - 8006a56: 2b00 cmp r3, #0 - 8006a58: d0f9 beq.n 8006a4e - 8006a5a: 68da ldr r2, [r3, #12] - 8006a5c: 2a00 cmp r2, #0 - 8006a5e: d0f6 beq.n 8006a4e - 8006a60: 428a cmp r2, r1 - 8006a62: d1f7 bne.n 8006a54 - 8006a64: 68ca ldr r2, [r1, #12] - 8006a66: 60da str r2, [r3, #12] - 8006a68: e7f1 b.n 8006a4e - 8006a6a: bf00 nop - 8006a6c: 0800ba90 .word 0x0800ba90 - 8006a70: 0800bcd5 .word 0x0800bcd5 - 8006a74: 0800a54d .word 0x0800a54d - 8006a78: 2000830c .word 0x2000830c +080076a8 : + 80076a8: b570 push {r4, r5, r6, lr} + 80076aa: 460d mov r5, r1 + 80076ac: 4616 mov r6, r2 + 80076ae: 4604 mov r4, r0 + 80076b0: b948 cbnz r0, 80076c6 + 80076b2: 4b15 ldr r3, [pc, #84] @ (8007708 ) + 80076b4: 4915 ldr r1, [pc, #84] @ (800770c ) + 80076b6: f240 4235 movw r2, #1077 @ 0x435 + 80076ba: 4815 ldr r0, [pc, #84] @ (8007710 ) + 80076bc: f002 fd5c bl 800a178 + 80076c0: f06f 000f mvn.w r0, #15 + 80076c4: bd70 pop {r4, r5, r6, pc} + 80076c6: b921 cbnz r1, 80076d2 + 80076c8: 4b0f ldr r3, [pc, #60] @ (8007708 ) + 80076ca: 4912 ldr r1, [pc, #72] @ (8007714 ) + 80076cc: f240 4236 movw r2, #1078 @ 0x436 + 80076d0: e7f3 b.n 80076ba + 80076d2: 8a42 ldrh r2, [r0, #18] + 80076d4: b172 cbz r2, 80076f4 + 80076d6: 682b ldr r3, [r5, #0] + 80076d8: 4a0f ldr r2, [pc, #60] @ (8007718 ) + 80076da: 6063 str r3, [r4, #4] + 80076dc: 7c23 ldrb r3, [r4, #16] + 80076de: 6811 ldr r1, [r2, #0] + 80076e0: 82a6 strh r6, [r4, #20] + 80076e2: f043 0304 orr.w r3, r3, #4 + 80076e6: 7423 strb r3, [r4, #16] + 80076e8: 460b mov r3, r1 + 80076ea: b94b cbnz r3, 8007700 + 80076ec: 60e1 str r1, [r4, #12] + 80076ee: 6014 str r4, [r2, #0] + 80076f0: 2000 movs r0, #0 + 80076f2: e7e7 b.n 80076c4 + 80076f4: 4601 mov r1, r0 + 80076f6: f7ff fe57 bl 80073a8 + 80076fa: 2800 cmp r0, #0 + 80076fc: d0eb beq.n 80076d6 + 80076fe: e7e1 b.n 80076c4 + 8007700: 42a3 cmp r3, r4 + 8007702: d0f5 beq.n 80076f0 + 8007704: 68db ldr r3, [r3, #12] + 8007706: e7f0 b.n 80076ea + 8007708: 0800c59c .word 0x0800c59c + 800770c: 0800c7e2 .word 0x0800c7e2 + 8007710: 0800b0a6 .word 0x0800b0a6 + 8007714: 0800c7fb .word 0x0800c7fb + 8007718: 20018ad4 .word 0x20018ad4 -08006a7c : - 8006a7c: b510 push {r4, lr} - 8006a7e: 2000 movs r0, #0 - 8006a80: f7fb ff00 bl 8002884 - 8006a84: 4604 mov r4, r0 - 8006a86: b128 cbz r0, 8006a94 - 8006a88: 2220 movs r2, #32 - 8006a8a: 2100 movs r1, #0 - 8006a8c: f002 fc84 bl 8009398 - 8006a90: 23ff movs r3, #255 ; 0xff - 8006a92: 72e3 strb r3, [r4, #11] - 8006a94: 4620 mov r0, r4 - 8006a96: bd10 pop {r4, pc} +0800771c : + 800771c: b930 cbnz r0, 800772c + 800771e: 4b05 ldr r3, [pc, #20] @ (8007734 ) + 8007720: 4905 ldr r1, [pc, #20] @ (8007738 ) + 8007722: 4806 ldr r0, [pc, #24] @ (800773c ) + 8007724: f240 428a movw r2, #1162 @ 0x48a + 8007728: f002 bd26 b.w 800a178 + 800772c: e9c0 1206 strd r1, r2, [r0, #24] + 8007730: 4770 bx lr + 8007732: bf00 nop + 8007734: 0800c59c .word 0x0800c59c + 8007738: 0800c817 .word 0x0800c817 + 800773c: 0800b0a6 .word 0x0800b0a6 -08006a98 : - 8006a98: b510 push {r4, lr} - 8006a9a: b138 cbz r0, 8006aac - 8006a9c: 6803 ldr r3, [r0, #0] - 8006a9e: b12b cbz r3, 8006aac - 8006aa0: b121 cbz r1, 8006aac - 8006aa2: 680b ldr r3, [r1, #0] - 8006aa4: b113 cbz r3, 8006aac - 8006aa6: 4b06 ldr r3, [pc, #24] ; (8006ac0 ) - 8006aa8: 681b ldr r3, [r3, #0] - 8006aaa: b903 cbnz r3, 8006aae - 8006aac: bd10 pop {r4, pc} - 8006aae: 681c ldr r4, [r3, #0] - 8006ab0: 6802 ldr r2, [r0, #0] - 8006ab2: 4294 cmp r4, r2 - 8006ab4: bf04 itt eq - 8006ab6: 680a ldreq r2, [r1, #0] - 8006ab8: 601a streq r2, [r3, #0] - 8006aba: 68db ldr r3, [r3, #12] - 8006abc: e7f5 b.n 8006aaa - 8006abe: bf00 nop - 8006ac0: 2000830c .word 0x2000830c +08007740 : + 8007740: 4601 mov r1, r0 + 8007742: b930 cbnz r0, 8007752 + 8007744: 4b0d ldr r3, [pc, #52] @ (800777c ) + 8007746: 490e ldr r1, [pc, #56] @ (8007780 ) + 8007748: 480e ldr r0, [pc, #56] @ (8007784 ) + 800774a: f240 42a1 movw r2, #1185 @ 0x4a1 + 800774e: f002 bd13 b.w 800a178 + 8007752: 4a0d ldr r2, [pc, #52] @ (8007788 ) + 8007754: 6813 ldr r3, [r2, #0] + 8007756: 4283 cmp r3, r0 + 8007758: d104 bne.n 8007764 + 800775a: 68c3 ldr r3, [r0, #12] + 800775c: 6013 str r3, [r2, #0] + 800775e: 2000 movs r0, #0 + 8007760: f7fb bf4a b.w 80035f8 + 8007764: 2b00 cmp r3, #0 + 8007766: d0fa beq.n 800775e + 8007768: 461a mov r2, r3 + 800776a: 68db ldr r3, [r3, #12] + 800776c: 2b00 cmp r3, #0 + 800776e: d0f6 beq.n 800775e + 8007770: 428b cmp r3, r1 + 8007772: d1f9 bne.n 8007768 + 8007774: 68cb ldr r3, [r1, #12] + 8007776: 60d3 str r3, [r2, #12] + 8007778: e7f1 b.n 800775e + 800777a: bf00 nop + 800777c: 0800c59c .word 0x0800c59c + 8007780: 0800c82d .word 0x0800c82d + 8007784: 0800b0a6 .word 0x0800b0a6 + 8007788: 20018ad4 .word 0x20018ad4 -08006ac4 : - 8006ac4: 7943 ldrb r3, [r0, #5] - 8006ac6: 428b cmp r3, r1 - 8006ac8: bf1f itttt ne - 8006aca: 2300 movne r3, #0 - 8006acc: 7141 strbne r1, [r0, #5] - 8006ace: 7183 strbne r3, [r0, #6] - 8006ad0: 8103 strhne r3, [r0, #8] - 8006ad2: 4770 bx lr +0800778c : + 800778c: b510 push {r4, lr} + 800778e: 2000 movs r0, #0 + 8007790: f7fb ff04 bl 800359c + 8007794: 4604 mov r4, r0 + 8007796: b128 cbz r0, 80077a4 + 8007798: 2220 movs r2, #32 + 800779a: 2100 movs r1, #0 + 800779c: f002 fd51 bl 800a242 + 80077a0: 23ff movs r3, #255 @ 0xff + 80077a2: 72e3 strb r3, [r4, #11] + 80077a4: 4620 mov r0, r4 + 80077a6: bd10 pop {r4, pc} -08006ad4 : - 8006ad4: b5f8 push {r3, r4, r5, r6, r7, lr} - 8006ad6: 1c87 adds r7, r0, #2 - 8006ad8: 2f44 cmp r7, #68 ; 0x44 - 8006ada: 4604 mov r4, r0 - 8006adc: 460d mov r5, r1 - 8006ade: 4616 mov r6, r2 - 8006ae0: d906 bls.n 8006af0 - 8006ae2: 4b07 ldr r3, [pc, #28] ; (8006b00 ) - 8006ae4: 4907 ldr r1, [pc, #28] ; (8006b04 ) - 8006ae6: 4808 ldr r0, [pc, #32] ; (8006b08 ) - 8006ae8: f240 52ae movw r2, #1454 ; 0x5ae - 8006aec: f002 fc5c bl 80093a8 - 8006af0: 0a33 lsrs r3, r6, #8 - 8006af2: 552b strb r3, [r5, r4] - 8006af4: 3401 adds r4, #1 - 8006af6: b2a4 uxth r4, r4 - 8006af8: b2b8 uxth r0, r7 - 8006afa: 552e strb r6, [r5, r4] - 8006afc: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8006afe: bf00 nop - 8006b00: 0800bced .word 0x0800bced - 8006b04: 0800bd22 .word 0x0800bd22 - 8006b08: 0800a54d .word 0x0800a54d +080077a8 : + 80077a8: b510 push {r4, lr} + 80077aa: b138 cbz r0, 80077bc + 80077ac: 6803 ldr r3, [r0, #0] + 80077ae: b12b cbz r3, 80077bc + 80077b0: b121 cbz r1, 80077bc + 80077b2: 680b ldr r3, [r1, #0] + 80077b4: b113 cbz r3, 80077bc + 80077b6: 4b06 ldr r3, [pc, #24] @ (80077d0 ) + 80077b8: 681b ldr r3, [r3, #0] + 80077ba: b903 cbnz r3, 80077be + 80077bc: bd10 pop {r4, pc} + 80077be: 681c ldr r4, [r3, #0] + 80077c0: 6802 ldr r2, [r0, #0] + 80077c2: 4294 cmp r4, r2 + 80077c4: bf04 itt eq + 80077c6: 680a ldreq r2, [r1, #0] + 80077c8: 601a streq r2, [r3, #0] + 80077ca: 68db ldr r3, [r3, #12] + 80077cc: e7f5 b.n 80077ba + 80077ce: bf00 nop + 80077d0: 20018ad4 .word 0x20018ad4 -08006b0c : - 8006b0c: b5f8 push {r3, r4, r5, r6, r7, lr} - 8006b0e: 461e mov r6, r3 - 8006b10: 3302 adds r3, #2 - 8006b12: fa50 f383 uxtab r3, r0, r3 - 8006b16: 2b44 cmp r3, #68 ; 0x44 - 8006b18: 4604 mov r4, r0 - 8006b1a: 460d mov r5, r1 - 8006b1c: 4617 mov r7, r2 - 8006b1e: d906 bls.n 8006b2e - 8006b20: 4b06 ldr r3, [pc, #24] ; (8006b3c ) - 8006b22: 4907 ldr r1, [pc, #28] ; (8006b40 ) - 8006b24: 4807 ldr r0, [pc, #28] ; (8006b44 ) - 8006b26: f240 529a movw r2, #1434 ; 0x59a - 8006b2a: f002 fc3d bl 80093a8 - 8006b2e: 1c63 adds r3, r4, #1 - 8006b30: b29b uxth r3, r3 - 8006b32: 1ca0 adds r0, r4, #2 - 8006b34: 552f strb r7, [r5, r4] - 8006b36: b280 uxth r0, r0 - 8006b38: 54ee strb r6, [r5, r3] - 8006b3a: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8006b3c: 0800bced .word 0x0800bced - 8006b40: 0800bd5d .word 0x0800bd5d - 8006b44: 0800a54d .word 0x0800a54d +080077d4 : + 80077d4: 7943 ldrb r3, [r0, #5] + 80077d6: 428b cmp r3, r1 + 80077d8: bf1f itttt ne + 80077da: 2300 movne r3, #0 + 80077dc: 7141 strbne r1, [r0, #5] + 80077de: 7183 strbne r3, [r0, #6] + 80077e0: 8103 strhne r3, [r0, #8] + 80077e2: 4770 bx lr -08006b48 : - 8006b48: 2843 cmp r0, #67 ; 0x43 - 8006b4a: b570 push {r4, r5, r6, lr} - 8006b4c: 4604 mov r4, r0 - 8006b4e: 460d mov r5, r1 - 8006b50: 4616 mov r6, r2 - 8006b52: d906 bls.n 8006b62 - 8006b54: 4b05 ldr r3, [pc, #20] ; (8006b6c ) - 8006b56: 4906 ldr r1, [pc, #24] ; (8006b70 ) - 8006b58: 4806 ldr r0, [pc, #24] ; (8006b74 ) - 8006b5a: f240 52a6 movw r2, #1446 ; 0x5a6 - 8006b5e: f002 fc23 bl 80093a8 - 8006b62: 1c60 adds r0, r4, #1 - 8006b64: 552e strb r6, [r5, r4] - 8006b66: b280 uxth r0, r0 - 8006b68: bd70 pop {r4, r5, r6, pc} - 8006b6a: bf00 nop - 8006b6c: 0800bced .word 0x0800bced - 8006b70: 0800bd9f .word 0x0800bd9f - 8006b74: 0800a54d .word 0x0800a54d +080077e4 : + 80077e4: b5f8 push {r3, r4, r5, r6, r7, lr} + 80077e6: 1c87 adds r7, r0, #2 + 80077e8: 2f44 cmp r7, #68 @ 0x44 + 80077ea: 4604 mov r4, r0 + 80077ec: 460d mov r5, r1 + 80077ee: 4616 mov r6, r2 + 80077f0: d906 bls.n 8007800 + 80077f2: 4b07 ldr r3, [pc, #28] @ (8007810 ) + 80077f4: 4907 ldr r1, [pc, #28] @ (8007814 ) + 80077f6: 4808 ldr r0, [pc, #32] @ (8007818 ) + 80077f8: f240 52ae movw r2, #1454 @ 0x5ae + 80077fc: f002 fcbc bl 800a178 + 8007800: 0a33 lsrs r3, r6, #8 + 8007802: 552b strb r3, [r5, r4] + 8007804: 3401 adds r4, #1 + 8007806: b2a4 uxth r4, r4 + 8007808: b2b8 uxth r0, r7 + 800780a: 552e strb r6, [r5, r4] + 800780c: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800780e: bf00 nop + 8007810: 0800c845 .word 0x0800c845 + 8007814: 0800c87a .word 0x0800c87a + 8007818: 0800b0a6 .word 0x0800b0a6 -08006b78 : - 8006b78: b5f8 push {r3, r4, r5, r6, r7, lr} - 8006b7a: 1d07 adds r7, r0, #4 - 8006b7c: 2f44 cmp r7, #68 ; 0x44 - 8006b7e: 4604 mov r4, r0 - 8006b80: 460d mov r5, r1 - 8006b82: 4616 mov r6, r2 - 8006b84: d906 bls.n 8006b94 - 8006b86: 4b0b ldr r3, [pc, #44] ; (8006bb4 ) - 8006b88: 490b ldr r1, [pc, #44] ; (8006bb8 ) - 8006b8a: 480c ldr r0, [pc, #48] ; (8006bbc ) - 8006b8c: f240 52b7 movw r2, #1463 ; 0x5b7 - 8006b90: f002 fc0a bl 80093a8 - 8006b94: 0e33 lsrs r3, r6, #24 - 8006b96: 552b strb r3, [r5, r4] - 8006b98: 1c63 adds r3, r4, #1 - 8006b9a: b29b uxth r3, r3 - 8006b9c: 0c32 lsrs r2, r6, #16 - 8006b9e: 54ea strb r2, [r5, r3] - 8006ba0: 1ca3 adds r3, r4, #2 - 8006ba2: 3403 adds r4, #3 - 8006ba4: b29b uxth r3, r3 - 8006ba6: b2a4 uxth r4, r4 - 8006ba8: 0a32 lsrs r2, r6, #8 - 8006baa: 54ea strb r2, [r5, r3] - 8006bac: b2b8 uxth r0, r7 - 8006bae: 552e strb r6, [r5, r4] - 8006bb0: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8006bb2: bf00 nop - 8006bb4: 0800bced .word 0x0800bced - 8006bb8: 0800bdd4 .word 0x0800bdd4 - 8006bbc: 0800a54d .word 0x0800a54d +0800781c : + 800781c: b5f8 push {r3, r4, r5, r6, r7, lr} + 800781e: 461e mov r6, r3 + 8007820: 3302 adds r3, #2 + 8007822: fa50 f383 uxtab r3, r0, r3 + 8007826: 2b44 cmp r3, #68 @ 0x44 + 8007828: 4604 mov r4, r0 + 800782a: 460d mov r5, r1 + 800782c: 4617 mov r7, r2 + 800782e: d906 bls.n 800783e + 8007830: 4b06 ldr r3, [pc, #24] @ (800784c ) + 8007832: 4907 ldr r1, [pc, #28] @ (8007850 ) + 8007834: 4807 ldr r0, [pc, #28] @ (8007854 ) + 8007836: f240 529a movw r2, #1434 @ 0x59a + 800783a: f002 fc9d bl 800a178 + 800783e: 1c63 adds r3, r4, #1 + 8007840: b29b uxth r3, r3 + 8007842: 552f strb r7, [r5, r4] + 8007844: 54ee strb r6, [r5, r3] + 8007846: 1ca0 adds r0, r4, #2 + 8007848: b280 uxth r0, r0 + 800784a: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800784c: 0800c845 .word 0x0800c845 + 8007850: 0800c8b5 .word 0x0800c8b5 + 8007854: 0800b0a6 .word 0x0800b0a6 -08006bc0 : - 8006bc0: e92d 43f7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, lr} - 8006bc4: 460e mov r6, r1 - 8006bc6: 4690 mov r8, r2 - 8006bc8: 4699 mov r9, r3 - 8006bca: 4605 mov r5, r0 - 8006bcc: b958 cbnz r0, 8006be6 - 8006bce: 4b40 ldr r3, [pc, #256] ; (8006cd0 ) - 8006bd0: 4940 ldr r1, [pc, #256] ; (8006cd4 ) - 8006bd2: 4841 ldr r0, [pc, #260] ; (8006cd8 ) - 8006bd4: f240 7269 movw r2, #1897 ; 0x769 - 8006bd8: f002 fbe6 bl 80093a8 - 8006bdc: 462f mov r7, r5 - 8006bde: 4638 mov r0, r7 - 8006be0: b003 add sp, #12 - 8006be2: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 8006be6: b941 cbnz r1, 8006bfa - 8006be8: 4b39 ldr r3, [pc, #228] ; (8006cd0 ) - 8006bea: 493c ldr r1, [pc, #240] ; (8006cdc ) - 8006bec: 483a ldr r0, [pc, #232] ; (8006cd8 ) - 8006bee: f240 726a movw r2, #1898 ; 0x76a - 8006bf2: f002 fbd9 bl 80093a8 - 8006bf6: 4637 mov r7, r6 - 8006bf8: e7f1 b.n 8006bde - 8006bfa: f44f 7220 mov.w r2, #640 ; 0x280 - 8006bfe: f44f 719a mov.w r1, #308 ; 0x134 - 8006c02: 2036 movs r0, #54 ; 0x36 - 8006c04: f7fc f94a bl 8002e9c - 8006c08: 4607 mov r7, r0 - 8006c0a: 2800 cmp r0, #0 - 8006c0c: d0e7 beq.n 8006bde - 8006c0e: 8943 ldrh r3, [r0, #10] - 8006c10: f5b3 7f9a cmp.w r3, #308 ; 0x134 - 8006c14: d206 bcs.n 8006c24 - 8006c16: 4b2e ldr r3, [pc, #184] ; (8006cd0 ) - 8006c18: 4931 ldr r1, [pc, #196] ; (8006ce0 ) - 8006c1a: 482f ldr r0, [pc, #188] ; (8006cd8 ) - 8006c1c: f240 7271 movw r2, #1905 ; 0x771 - 8006c20: f002 fbc2 bl 80093a8 - 8006c24: f1b8 0f03 cmp.w r8, #3 - 8006c28: d102 bne.n 8006c30 - 8006c2a: 7973 ldrb r3, [r6, #5] - 8006c2c: 2b03 cmp r3, #3 - 8006c2e: d107 bne.n 8006c40 - 8006c30: 79b3 ldrb r3, [r6, #6] - 8006c32: 4c2c ldr r4, [pc, #176] ; (8006ce4 ) - 8006c34: b913 cbnz r3, 8006c3c - 8006c36: f002 fbcf bl 80093d8 - 8006c3a: 6020 str r0, [r4, #0] - 8006c3c: 6823 ldr r3, [r4, #0] - 8006c3e: 6033 str r3, [r6, #0] - 8006c40: 687c ldr r4, [r7, #4] - 8006c42: f44f 729a mov.w r2, #308 ; 0x134 - 8006c46: 2100 movs r1, #0 - 8006c48: 4620 mov r0, r4 - 8006c4a: f002 fba5 bl 8009398 - 8006c4e: 2301 movs r3, #1 - 8006c50: 7023 strb r3, [r4, #0] - 8006c52: 7063 strb r3, [r4, #1] - 8006c54: f895 3030 ldrb.w r3, [r5, #48] ; 0x30 - 8006c58: 70a3 strb r3, [r4, #2] - 8006c5a: 6830 ldr r0, [r6, #0] - 8006c5c: f7fb fb72 bl 8002344 - 8006c60: f1b8 0f04 cmp.w r8, #4 - 8006c64: 6060 str r0, [r4, #4] - 8006c66: d00a beq.n 8006c7e - 8006c68: f1a8 0307 sub.w r3, r8, #7 - 8006c6c: 2b01 cmp r3, #1 - 8006c6e: d906 bls.n 8006c7e - 8006c70: f1b8 0f03 cmp.w r8, #3 - 8006c74: d105 bne.n 8006c82 - 8006c76: 7973 ldrb r3, [r6, #5] - 8006c78: 3b04 subs r3, #4 - 8006c7a: 2b01 cmp r3, #1 - 8006c7c: d801 bhi.n 8006c82 - 8006c7e: 686b ldr r3, [r5, #4] - 8006c80: 60e3 str r3, [r4, #12] - 8006c82: f105 032a add.w r3, r5, #42 ; 0x2a - 8006c86: f104 021c add.w r2, r4, #28 - 8006c8a: 3530 adds r5, #48 ; 0x30 - 8006c8c: f813 1b01 ldrb.w r1, [r3], #1 - 8006c90: f802 1b01 strb.w r1, [r2], #1 - 8006c94: 42ab cmp r3, r5 - 8006c96: d1f9 bne.n 8006c8c - 8006c98: f06f 027d mvn.w r2, #125 ; 0x7d - 8006c9c: 2363 movs r3, #99 ; 0x63 - 8006c9e: f884 20ed strb.w r2, [r4, #237] ; 0xed - 8006ca2: 2253 movs r2, #83 ; 0x53 - 8006ca4: f104 01f0 add.w r1, r4, #240 ; 0xf0 - 8006ca8: f884 30ec strb.w r3, [r4, #236] ; 0xec - 8006cac: f884 20ee strb.w r2, [r4, #238] ; 0xee - 8006cb0: f884 30ef strb.w r3, [r4, #239] ; 0xef - 8006cb4: 2235 movs r2, #53 ; 0x35 - 8006cb6: 2301 movs r3, #1 - 8006cb8: 2000 movs r0, #0 - 8006cba: 9101 str r1, [sp, #4] - 8006cbc: f7ff ff26 bl 8006b0c - 8006cc0: 9901 ldr r1, [sp, #4] - 8006cc2: 4642 mov r2, r8 - 8006cc4: f7ff ff40 bl 8006b48 - 8006cc8: f8a9 0000 strh.w r0, [r9] - 8006ccc: e787 b.n 8006bde - 8006cce: bf00 nop - 8006cd0: 0800bced .word 0x0800bced - 8006cd4: 0800be0e .word 0x0800be0e - 8006cd8: 0800a54d .word 0x0800a54d - 8006cdc: 0800be2d .word 0x0800be2d - 8006ce0: 0800be4b .word 0x0800be4b - 8006ce4: 20008340 .word 0x20008340 +08007858 : + 8007858: 2843 cmp r0, #67 @ 0x43 + 800785a: b570 push {r4, r5, r6, lr} + 800785c: 4604 mov r4, r0 + 800785e: 460d mov r5, r1 + 8007860: 4616 mov r6, r2 + 8007862: d906 bls.n 8007872 + 8007864: 4b05 ldr r3, [pc, #20] @ (800787c ) + 8007866: 4906 ldr r1, [pc, #24] @ (8007880 ) + 8007868: 4806 ldr r0, [pc, #24] @ (8007884 ) + 800786a: f240 52a6 movw r2, #1446 @ 0x5a6 + 800786e: f002 fc83 bl 800a178 + 8007872: 552e strb r6, [r5, r4] + 8007874: 1c60 adds r0, r4, #1 + 8007876: b280 uxth r0, r0 + 8007878: bd70 pop {r4, r5, r6, pc} + 800787a: bf00 nop + 800787c: 0800c845 .word 0x0800c845 + 8007880: 0800c8f7 .word 0x0800c8f7 + 8007884: 0800b0a6 .word 0x0800b0a6 -08006ce8 : - 8006ce8: b5f8 push {r3, r4, r5, r6, r7, lr} - 8006cea: 4604 mov r4, r0 - 8006cec: 1c66 adds r6, r4, #1 - 8006cee: b2b6 uxth r6, r6 - 8006cf0: f1c4 0543 rsb r5, r4, #67 ; 0x43 - 8006cf4: 2e44 cmp r6, #68 ; 0x44 - 8006cf6: f04f 03ff mov.w r3, #255 ; 0xff - 8006cfa: b2ad uxth r5, r5 - 8006cfc: 4608 mov r0, r1 - 8006cfe: 4617 mov r7, r2 - 8006d00: 550b strb r3, [r1, r4] - 8006d02: bf98 it ls - 8006d04: 462a movls r2, r5 - 8006d06: f04f 0100 mov.w r1, #0 - 8006d0a: bf88 it hi - 8006d0c: 2200 movhi r2, #0 - 8006d0e: 4430 add r0, r6 - 8006d10: f002 fb42 bl 8009398 - 8006d14: 2e44 cmp r6, #68 ; 0x44 - 8006d16: f104 04f1 add.w r4, r4, #241 ; 0xf1 - 8006d1a: bf94 ite ls - 8006d1c: 4629 movls r1, r5 - 8006d1e: 2100 movhi r1, #0 - 8006d20: 4421 add r1, r4 - 8006d22: 4638 mov r0, r7 - 8006d24: b289 uxth r1, r1 - 8006d26: e8bd 40f8 ldmia.w sp!, {r3, r4, r5, r6, r7, lr} - 8006d2a: f7fc b937 b.w 8002f9c +08007888 : + 8007888: b5f8 push {r3, r4, r5, r6, r7, lr} + 800788a: 1d07 adds r7, r0, #4 + 800788c: 2f44 cmp r7, #68 @ 0x44 + 800788e: 4604 mov r4, r0 + 8007890: 460d mov r5, r1 + 8007892: 4616 mov r6, r2 + 8007894: d906 bls.n 80078a4 + 8007896: 4b0b ldr r3, [pc, #44] @ (80078c4 ) + 8007898: 490b ldr r1, [pc, #44] @ (80078c8 ) + 800789a: 480c ldr r0, [pc, #48] @ (80078cc ) + 800789c: f240 52b7 movw r2, #1463 @ 0x5b7 + 80078a0: f002 fc6a bl 800a178 + 80078a4: 0e33 lsrs r3, r6, #24 + 80078a6: 552b strb r3, [r5, r4] + 80078a8: 1c63 adds r3, r4, #1 + 80078aa: b29b uxth r3, r3 + 80078ac: 0c32 lsrs r2, r6, #16 + 80078ae: 54ea strb r2, [r5, r3] + 80078b0: 1ca3 adds r3, r4, #2 + 80078b2: 3403 adds r4, #3 + 80078b4: b29b uxth r3, r3 + 80078b6: b2a4 uxth r4, r4 + 80078b8: 0a32 lsrs r2, r6, #8 + 80078ba: 54ea strb r2, [r5, r3] + 80078bc: 552e strb r6, [r5, r4] + 80078be: b2b8 uxth r0, r7 + 80078c0: bdf8 pop {r3, r4, r5, r6, r7, pc} + 80078c2: bf00 nop + 80078c4: 0800c845 .word 0x0800c845 + 80078c8: 0800c92c .word 0x0800c92c + 80078cc: 0800b0a6 .word 0x0800b0a6 + +080078d0 : + 80078d0: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 80078d4: 460e mov r6, r1 + 80078d6: 4690 mov r8, r2 + 80078d8: 4699 mov r9, r3 + 80078da: 4605 mov r5, r0 + 80078dc: b950 cbnz r0, 80078f4 + 80078de: 4b3c ldr r3, [pc, #240] @ (80079d0 ) + 80078e0: 493c ldr r1, [pc, #240] @ (80079d4 ) + 80078e2: f240 7269 movw r2, #1897 @ 0x769 + 80078e6: 483c ldr r0, [pc, #240] @ (80079d8 ) + 80078e8: f002 fc46 bl 800a178 + 80078ec: 2700 movs r7, #0 + 80078ee: 4638 mov r0, r7 + 80078f0: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 80078f4: b921 cbnz r1, 8007900 + 80078f6: 4b36 ldr r3, [pc, #216] @ (80079d0 ) + 80078f8: 4938 ldr r1, [pc, #224] @ (80079dc ) + 80078fa: f240 726a movw r2, #1898 @ 0x76a + 80078fe: e7f2 b.n 80078e6 + 8007900: f44f 7220 mov.w r2, #640 @ 0x280 + 8007904: f44f 719a mov.w r1, #308 @ 0x134 + 8007908: 2036 movs r0, #54 @ 0x36 + 800790a: f7fc f93d bl 8003b88 + 800790e: 4607 mov r7, r0 + 8007910: 2800 cmp r0, #0 + 8007912: d0eb beq.n 80078ec + 8007914: 8943 ldrh r3, [r0, #10] + 8007916: f5b3 7f9a cmp.w r3, #308 @ 0x134 + 800791a: d206 bcs.n 800792a + 800791c: 4b2c ldr r3, [pc, #176] @ (80079d0 ) + 800791e: 4930 ldr r1, [pc, #192] @ (80079e0 ) + 8007920: 482d ldr r0, [pc, #180] @ (80079d8 ) + 8007922: f240 7271 movw r2, #1905 @ 0x771 + 8007926: f002 fc27 bl 800a178 + 800792a: f1b8 0f03 cmp.w r8, #3 + 800792e: d102 bne.n 8007936 + 8007930: 7973 ldrb r3, [r6, #5] + 8007932: 2b03 cmp r3, #3 + 8007934: d107 bne.n 8007946 + 8007936: 79b3 ldrb r3, [r6, #6] + 8007938: 4c2a ldr r4, [pc, #168] @ (80079e4 ) + 800793a: b913 cbnz r3, 8007942 + 800793c: f002 fb1c bl 8009f78 + 8007940: 6020 str r0, [r4, #0] + 8007942: 6823 ldr r3, [r4, #0] + 8007944: 6033 str r3, [r6, #0] + 8007946: 687c ldr r4, [r7, #4] + 8007948: f44f 729a mov.w r2, #308 @ 0x134 + 800794c: 2100 movs r1, #0 + 800794e: 4620 mov r0, r4 + 8007950: f002 fc77 bl 800a242 + 8007954: 2301 movs r3, #1 + 8007956: 7023 strb r3, [r4, #0] + 8007958: 7063 strb r3, [r4, #1] + 800795a: f895 3030 ldrb.w r3, [r5, #48] @ 0x30 + 800795e: 70a3 strb r3, [r4, #2] + 8007960: 6830 ldr r0, [r6, #0] + 8007962: f7fb fb93 bl 800308c + 8007966: f44f 73c8 mov.w r3, #400 @ 0x190 + 800796a: fa23 f308 lsr.w r3, r3, r8 + 800796e: 07db lsls r3, r3, #31 + 8007970: 6060 str r0, [r4, #4] + 8007972: d406 bmi.n 8007982 + 8007974: f1b8 0f03 cmp.w r8, #3 + 8007978: d105 bne.n 8007986 + 800797a: 7973 ldrb r3, [r6, #5] + 800797c: 3b04 subs r3, #4 + 800797e: 2b01 cmp r3, #1 + 8007980: d801 bhi.n 8007986 + 8007982: 686b ldr r3, [r5, #4] + 8007984: 60e3 str r3, [r4, #12] + 8007986: f105 0329 add.w r3, r5, #41 @ 0x29 + 800798a: f104 021b add.w r2, r4, #27 + 800798e: 352f adds r5, #47 @ 0x2f + 8007990: f813 1f01 ldrb.w r1, [r3, #1]! + 8007994: f802 1f01 strb.w r1, [r2, #1]! + 8007998: 42ab cmp r3, r5 + 800799a: d1f9 bne.n 8007990 + 800799c: f06f 027d mvn.w r2, #125 @ 0x7d + 80079a0: f884 20ed strb.w r2, [r4, #237] @ 0xed + 80079a4: 2363 movs r3, #99 @ 0x63 + 80079a6: 2253 movs r2, #83 @ 0x53 + 80079a8: f884 30ec strb.w r3, [r4, #236] @ 0xec + 80079ac: f884 20ee strb.w r2, [r4, #238] @ 0xee + 80079b0: f884 30ef strb.w r3, [r4, #239] @ 0xef + 80079b4: 34f0 adds r4, #240 @ 0xf0 + 80079b6: 2301 movs r3, #1 + 80079b8: 2235 movs r2, #53 @ 0x35 + 80079ba: 4621 mov r1, r4 + 80079bc: 2000 movs r0, #0 + 80079be: f7ff ff2d bl 800781c + 80079c2: 4642 mov r2, r8 + 80079c4: 4621 mov r1, r4 + 80079c6: f7ff ff47 bl 8007858 + 80079ca: f8a9 0000 strh.w r0, [r9] + 80079ce: e78e b.n 80078ee + 80079d0: 0800c845 .word 0x0800c845 + 80079d4: 0800c966 .word 0x0800c966 + 80079d8: 0800b0a6 .word 0x0800b0a6 + 80079dc: 0800c985 .word 0x0800c985 + 80079e0: 0800c9a3 .word 0x0800c9a3 + 80079e4: 20018ad8 .word 0x20018ad8 + +080079e8 : + 80079e8: b5f8 push {r3, r4, r5, r6, r7, lr} + 80079ea: 4604 mov r4, r0 + 80079ec: 1c66 adds r6, r4, #1 + 80079ee: b2b6 uxth r6, r6 + 80079f0: f1c4 0543 rsb r5, r4, #67 @ 0x43 + 80079f4: 2e44 cmp r6, #68 @ 0x44 + 80079f6: b2ad uxth r5, r5 + 80079f8: f04f 03ff mov.w r3, #255 @ 0xff + 80079fc: 4608 mov r0, r1 + 80079fe: 4617 mov r7, r2 + 8007a00: 550b strb r3, [r1, r4] + 8007a02: bf94 ite ls + 8007a04: 462a movls r2, r5 + 8007a06: 2200 movhi r2, #0 + 8007a08: 2100 movs r1, #0 + 8007a0a: 4430 add r0, r6 + 8007a0c: f002 fc19 bl 800a242 + 8007a10: 2e44 cmp r6, #68 @ 0x44 + 8007a12: f104 01f1 add.w r1, r4, #241 @ 0xf1 + 8007a16: bf88 it hi + 8007a18: 2500 movhi r5, #0 + 8007a1a: 4429 add r1, r5 + 8007a1c: 4638 mov r0, r7 + 8007a1e: b289 uxth r1, r1 + 8007a20: e8bd 40f8 ldmia.w sp!, {r3, r4, r5, r6, r7, lr} + 8007a24: f7fc b92a b.w 8003c7c + +08007a28 : + 8007a28: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 8007a2c: 6a44 ldr r4, [r0, #36] @ 0x24 + 8007a2e: 2300 movs r3, #0 + 8007a30: b085 sub sp, #20 + 8007a32: 4607 mov r7, r0 + 8007a34: 61e3 str r3, [r4, #28] + 8007a36: 2106 movs r1, #6 + 8007a38: 4620 mov r0, r4 + 8007a3a: f7ff fecb bl 80077d4 + 8007a3e: 2201 movs r2, #1 + 8007a40: f10d 030e add.w r3, sp, #14 + 8007a44: 4621 mov r1, r4 + 8007a46: 4638 mov r0, r7 + 8007a48: f7ff ff42 bl 80078d0 + 8007a4c: 4605 mov r5, r0 + 8007a4e: b3b0 cbz r0, 8007abe + 8007a50: 6846 ldr r6, [r0, #4] + 8007a52: f8bd 000e ldrh.w r0, [sp, #14] + 8007a56: f8df 90b0 ldr.w r9, [pc, #176] @ 8007b08 + 8007a5a: 36f0 adds r6, #240 @ 0xf0 + 8007a5c: 2302 movs r3, #2 + 8007a5e: 2239 movs r2, #57 @ 0x39 + 8007a60: 4631 mov r1, r6 + 8007a62: f7ff fedb bl 800781c + 8007a66: 8d3a ldrh r2, [r7, #40] @ 0x28 + 8007a68: 4631 mov r1, r6 + 8007a6a: f7ff febb bl 80077e4 + 8007a6e: 2303 movs r3, #3 + 8007a70: 2237 movs r2, #55 @ 0x37 + 8007a72: 4631 mov r1, r6 + 8007a74: f7ff fed2 bl 800781c + 8007a78: f04f 0803 mov.w r8, #3 + 8007a7c: f8ad 000e strh.w r0, [sp, #14] + 8007a80: f819 2b01 ldrb.w r2, [r9], #1 + 8007a84: f8bd 000e ldrh.w r0, [sp, #14] + 8007a88: 4631 mov r1, r6 + 8007a8a: f7ff fee5 bl 8007858 + 8007a8e: f108 38ff add.w r8, r8, #4294967295 + 8007a92: f018 08ff ands.w r8, r8, #255 @ 0xff + 8007a96: f8ad 000e strh.w r0, [sp, #14] + 8007a9a: d1f1 bne.n 8007a80 + 8007a9c: 462a mov r2, r5 + 8007a9e: 4631 mov r1, r6 + 8007aa0: f7ff ffa2 bl 80079e8 + 8007aa4: 4b15 ldr r3, [pc, #84] @ (8007afc ) + 8007aa6: 4816 ldr r0, [pc, #88] @ (8007b00 ) + 8007aa8: 4a16 ldr r2, [pc, #88] @ (8007b04 ) + 8007aaa: e9cd 7300 strd r7, r3, [sp] + 8007aae: 4629 mov r1, r5 + 8007ab0: 6800 ldr r0, [r0, #0] + 8007ab2: 2343 movs r3, #67 @ 0x43 + 8007ab4: f7ff fce4 bl 8007480 + 8007ab8: 4628 mov r0, r5 + 8007aba: f7fc f801 bl 8003ac0 + 8007abe: 79a3 ldrb r3, [r4, #6] + 8007ac0: 2bff cmp r3, #255 @ 0xff + 8007ac2: bf1c itt ne + 8007ac4: 3301 addne r3, #1 + 8007ac6: 71a3 strbne r3, [r4, #6] + 8007ac8: 79a2 ldrb r2, [r4, #6] + 8007aca: 2a05 cmp r2, #5 + 8007acc: bf9f itttt ls + 8007ace: 2301 movls r3, #1 + 8007ad0: 4093 lslls r3, r2 + 8007ad2: ebc3 1243 rsbls r2, r3, r3, lsl #5 + 8007ad6: eb03 0382 addls.w r3, r3, r2, lsl #2 + 8007ada: bf9a itte ls + 8007adc: 00db lslls r3, r3, #3 + 8007ade: b29b uxthls r3, r3 + 8007ae0: f64e 2360 movwhi r3, #60000 @ 0xea60 + 8007ae4: f44f 72fa mov.w r2, #500 @ 0x1f4 + 8007ae8: 2000 movs r0, #0 + 8007aea: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 8007aee: b29b uxth r3, r3 + 8007af0: fbb3 f3f2 udiv r3, r3, r2 + 8007af4: 8123 strh r3, [r4, #8] + 8007af6: b005 add sp, #20 + 8007af8: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 8007afc: 0800ce50 .word 0x0800ce50 + 8007b00: 20018ae0 .word 0x20018ae0 + 8007b04: 0800ce4c .word 0x0800ce4c + 8007b08: 0800cb4a .word 0x0800cb4a + +08007b0c : + 8007b0c: b538 push {r3, r4, r5, lr} + 8007b0e: 6a44 ldr r4, [r0, #36] @ 0x24 + 8007b10: 4605 mov r5, r0 + 8007b12: 2108 movs r1, #8 + 8007b14: 4620 mov r0, r4 + 8007b16: f7ff fe5d bl 80077d4 + 8007b1a: 2200 movs r2, #0 + 8007b1c: f104 011c add.w r1, r4, #28 + 8007b20: 4628 mov r0, r5 + 8007b22: f001 f971 bl 8008e08 + 8007b26: 79a3 ldrb r3, [r4, #6] + 8007b28: 2bff cmp r3, #255 @ 0xff + 8007b2a: bf1c itt ne + 8007b2c: 3301 addne r3, #1 + 8007b2e: 71a3 strbne r3, [r4, #6] + 8007b30: 2301 movs r3, #1 + 8007b32: 8123 strh r3, [r4, #8] + 8007b34: bd38 pop {r3, r4, r5, pc} ... -08006d30 : - 8006d30: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8006d34: 6a44 ldr r4, [r0, #36] ; 0x24 - 8006d36: 2300 movs r3, #0 - 8006d38: b086 sub sp, #24 - 8006d3a: 4606 mov r6, r0 - 8006d3c: 61e3 str r3, [r4, #28] - 8006d3e: 2106 movs r1, #6 - 8006d40: 4620 mov r0, r4 - 8006d42: f7ff febf bl 8006ac4 - 8006d46: 2201 movs r2, #1 - 8006d48: f10d 0316 add.w r3, sp, #22 - 8006d4c: 4621 mov r1, r4 - 8006d4e: 4630 mov r0, r6 - 8006d50: f7ff ff36 bl 8006bc0 - 8006d54: 4605 mov r5, r0 - 8006d56: 2800 cmp r0, #0 - 8006d58: d039 beq.n 8006dce - 8006d5a: 6841 ldr r1, [r0, #4] - 8006d5c: f8bd 0016 ldrh.w r0, [sp, #22] - 8006d60: f8df 80b4 ldr.w r8, [pc, #180] ; 8006e18 - 8006d64: 31f0 adds r1, #240 ; 0xf0 - 8006d66: 2302 movs r3, #2 - 8006d68: 2239 movs r2, #57 ; 0x39 - 8006d6a: 9103 str r1, [sp, #12] - 8006d6c: f7ff fece bl 8006b0c - 8006d70: 8d32 ldrh r2, [r6, #40] ; 0x28 - 8006d72: 9903 ldr r1, [sp, #12] - 8006d74: f8ad 0016 strh.w r0, [sp, #22] - 8006d78: f7ff feac bl 8006ad4 - 8006d7c: 9903 ldr r1, [sp, #12] - 8006d7e: f8ad 0016 strh.w r0, [sp, #22] - 8006d82: 2303 movs r3, #3 - 8006d84: 2237 movs r2, #55 ; 0x37 - 8006d86: f7ff fec1 bl 8006b0c - 8006d8a: 9903 ldr r1, [sp, #12] - 8006d8c: f8ad 0016 strh.w r0, [sp, #22] - 8006d90: 2703 movs r7, #3 - 8006d92: f818 2b01 ldrb.w r2, [r8], #1 - 8006d96: f8bd 0016 ldrh.w r0, [sp, #22] - 8006d9a: 9103 str r1, [sp, #12] - 8006d9c: f7ff fed4 bl 8006b48 - 8006da0: 3f01 subs r7, #1 - 8006da2: f017 07ff ands.w r7, r7, #255 ; 0xff - 8006da6: 9903 ldr r1, [sp, #12] - 8006da8: f8ad 0016 strh.w r0, [sp, #22] - 8006dac: d1f1 bne.n 8006d92 - 8006dae: 462a mov r2, r5 - 8006db0: f7ff ff9a bl 8006ce8 - 8006db4: 4b15 ldr r3, [pc, #84] ; (8006e0c ) - 8006db6: 4816 ldr r0, [pc, #88] ; (8006e10 ) - 8006db8: 4a16 ldr r2, [pc, #88] ; (8006e14 ) - 8006dba: e9cd 6300 strd r6, r3, [sp] - 8006dbe: 4629 mov r1, r5 - 8006dc0: 6800 ldr r0, [r0, #0] - 8006dc2: 2343 movs r3, #67 ; 0x43 - 8006dc4: f7ff fd0e bl 80067e4 - 8006dc8: 4628 mov r0, r5 - 8006dca: f7fc f803 bl 8002dd4 - 8006dce: 79a3 ldrb r3, [r4, #6] - 8006dd0: 2bff cmp r3, #255 ; 0xff - 8006dd2: bf1c itt ne - 8006dd4: 3301 addne r3, #1 - 8006dd6: 71a3 strbne r3, [r4, #6] - 8006dd8: 79a2 ldrb r2, [r4, #6] - 8006dda: 2a05 cmp r2, #5 - 8006ddc: bf9f itttt ls - 8006dde: 2301 movls r3, #1 - 8006de0: 4093 lslls r3, r2 - 8006de2: ebc3 1243 rsbls r2, r3, r3, lsl #5 - 8006de6: eb03 0382 addls.w r3, r3, r2, lsl #2 - 8006dea: bf9a itte ls - 8006dec: 00db lslls r3, r3, #3 - 8006dee: b29b uxthls r3, r3 - 8006df0: f64e 2360 movwhi r3, #60000 ; 0xea60 - 8006df4: f44f 72fa mov.w r2, #500 ; 0x1f4 - 8006df8: 2000 movs r0, #0 - 8006dfa: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 8006dfe: b29b uxth r3, r3 - 8006e00: fbb3 f3f2 udiv r3, r3, r2 - 8006e04: 8123 strh r3, [r4, #8] - 8006e06: b006 add sp, #24 - 8006e08: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8006e0c: 0800c304 .word 0x0800c304 - 8006e10: 20008310 .word 0x20008310 - 8006e14: 0800c308 .word 0x0800c308 - 8006e18: 0800c005 .word 0x0800c005 +08007b38 : + 8007b38: b513 push {r0, r1, r4, lr} + 8007b3a: 4604 mov r4, r0 + 8007b3c: b948 cbnz r0, 8007b52 + 8007b3e: 4b3c ldr r3, [pc, #240] @ (8007c30 ) + 8007b40: 493c ldr r1, [pc, #240] @ (8007c34 ) + 8007b42: f240 4215 movw r2, #1045 @ 0x415 + 8007b46: 483c ldr r0, [pc, #240] @ (8007c38 ) + 8007b48: b002 add sp, #8 + 8007b4a: e8bd 4010 ldmia.w sp!, {r4, lr} + 8007b4e: f002 bb13 b.w 800a178 + 8007b52: 6a40 ldr r0, [r0, #36] @ 0x24 + 8007b54: b920 cbnz r0, 8007b60 + 8007b56: 4b36 ldr r3, [pc, #216] @ (8007c30 ) + 8007b58: 4938 ldr r1, [pc, #224] @ (8007c3c ) + 8007b5a: f240 4217 movw r2, #1047 @ 0x417 + 8007b5e: e7f2 b.n 8007b46 + 8007b60: 2300 movs r3, #0 + 8007b62: 8243 strh r3, [r0, #18] + 8007b64: 6a83 ldr r3, [r0, #40] @ 0x28 + 8007b66: 1c5a adds r2, r3, #1 + 8007b68: d006 beq.n 8007b78 + 8007b6a: 331e adds r3, #30 + 8007b6c: f5b3 1f70 cmp.w r3, #3932160 @ 0x3c0000 + 8007b70: d33f bcc.n 8007bf2 + 8007b72: f64f 73ff movw r3, #65535 @ 0xffff + 8007b76: 8283 strh r3, [r0, #20] + 8007b78: 6ac3 ldr r3, [r0, #44] @ 0x2c + 8007b7a: 1c59 adds r1, r3, #1 + 8007b7c: d00b beq.n 8007b96 + 8007b7e: 331e adds r3, #30 + 8007b80: f5b3 1f70 cmp.w r3, #3932160 @ 0x3c0000 + 8007b84: d23c bcs.n 8007c00 + 8007b86: 2b3b cmp r3, #59 @ 0x3b + 8007b88: d93d bls.n 8007c06 + 8007b8a: 223c movs r2, #60 @ 0x3c + 8007b8c: fbb3 f3f2 udiv r3, r3, r2 + 8007b90: b29b uxth r3, r3 + 8007b92: 8143 strh r3, [r0, #10] + 8007b94: 81c3 strh r3, [r0, #14] + 8007b96: 6b03 ldr r3, [r0, #48] @ 0x30 + 8007b98: 1c5a adds r2, r3, #1 + 8007b9a: d00b beq.n 8007bb4 + 8007b9c: 331e adds r3, #30 + 8007b9e: f5b3 1f70 cmp.w r3, #3932160 @ 0x3c0000 + 8007ba2: d232 bcs.n 8007c0a + 8007ba4: 2b3b cmp r3, #59 @ 0x3b + 8007ba6: d933 bls.n 8007c10 + 8007ba8: 223c movs r2, #60 @ 0x3c + 8007baa: fbb3 f3f2 udiv r3, r3, r2 + 8007bae: b29b uxth r3, r3 + 8007bb0: 8183 strh r3, [r0, #12] + 8007bb2: 8203 strh r3, [r0, #16] + 8007bb4: 8983 ldrh r3, [r0, #12] + 8007bb6: 8942 ldrh r2, [r0, #10] + 8007bb8: 429a cmp r2, r3 + 8007bba: d302 bcc.n 8007bc2 + 8007bbc: b10b cbz r3, 8007bc2 + 8007bbe: 2300 movs r3, #0 + 8007bc0: 8143 strh r3, [r0, #10] + 8007bc2: 79c3 ldrb r3, [r0, #7] + 8007bc4: b333 cbz r3, 8007c14 + 8007bc6: 6a03 ldr r3, [r0, #32] + 8007bc8: 6a42 ldr r2, [r0, #36] @ 0x24 + 8007bca: 9300 str r3, [sp, #0] + 8007bcc: 9201 str r2, [sp, #4] + 8007bce: b922 cbnz r2, 8007bda + 8007bd0: 69c2 ldr r2, [r0, #28] + 8007bd2: 4013 ands r3, r2 + 8007bd4: f043 7380 orr.w r3, r3, #16777216 @ 0x1000000 + 8007bd8: 9301 str r3, [sp, #4] + 8007bda: 210a movs r1, #10 + 8007bdc: f7ff fdfa bl 80077d4 + 8007be0: 466a mov r2, sp + 8007be2: f100 011c add.w r1, r0, #28 + 8007be6: ab01 add r3, sp, #4 + 8007be8: 4620 mov r0, r4 + 8007bea: f7fb fd5f bl 80036ac + 8007bee: b002 add sp, #8 + 8007bf0: bd10 pop {r4, pc} + 8007bf2: 2b3b cmp r3, #59 @ 0x3b + 8007bf4: bf8a itet hi + 8007bf6: 223c movhi r2, #60 @ 0x3c + 8007bf8: 2301 movls r3, #1 + 8007bfa: fbb3 f3f2 udivhi r3, r3, r2 + 8007bfe: e7ba b.n 8007b76 + 8007c00: f64f 73ff movw r3, #65535 @ 0xffff + 8007c04: e7c5 b.n 8007b92 + 8007c06: 2301 movs r3, #1 + 8007c08: e7c3 b.n 8007b92 + 8007c0a: f64f 73ff movw r3, #65535 @ 0xffff + 8007c0e: e7cf b.n 8007bb0 + 8007c10: 2301 movs r3, #1 + 8007c12: e7cd b.n 8007bb0 + 8007c14: f990 201c ldrsb.w r2, [r0, #28] + 8007c18: 7f03 ldrb r3, [r0, #28] + 8007c1a: 2a00 cmp r2, #0 + 8007c1c: da06 bge.n 8007c2c + 8007c1e: 2bbf cmp r3, #191 @ 0xbf + 8007c20: f64f 73ff movw r3, #65535 @ 0xffff + 8007c24: bf88 it hi + 8007c26: f06f 437f mvnhi.w r3, #4278190080 @ 0xff000000 + 8007c2a: e7cd b.n 8007bc8 + 8007c2c: 23ff movs r3, #255 @ 0xff + 8007c2e: e7cb b.n 8007bc8 + 8007c30: 0800c845 .word 0x0800c845 + 8007c34: 0800c9e3 .word 0x0800c9e3 + 8007c38: 0800b0a6 .word 0x0800b0a6 + 8007c3c: 0800c9fc .word 0x0800c9fc -08006e1c : - 8006e1c: b538 push {r3, r4, r5, lr} - 8006e1e: 6a44 ldr r4, [r0, #36] ; 0x24 - 8006e20: 4605 mov r5, r0 - 8006e22: 2108 movs r1, #8 - 8006e24: 4620 mov r0, r4 - 8006e26: f7ff fe4d bl 8006ac4 - 8006e2a: 2200 movs r2, #0 - 8006e2c: f104 011c add.w r1, r4, #28 - 8006e30: 4628 mov r0, r5 - 8006e32: f001 f98d bl 8008150 - 8006e36: 79a3 ldrb r3, [r4, #6] - 8006e38: 2bff cmp r3, #255 ; 0xff - 8006e3a: bf1c itt ne - 8006e3c: 3301 addne r3, #1 - 8006e3e: 71a3 strbne r3, [r4, #6] - 8006e40: 2301 movs r3, #1 - 8006e42: 8123 strh r3, [r4, #8] - 8006e44: bd38 pop {r3, r4, r5, pc} +08007c40 : + 8007c40: b538 push {r3, r4, r5, lr} + 8007c42: 4d15 ldr r5, [pc, #84] @ (8007c98 ) + 8007c44: 782b ldrb r3, [r5, #0] + 8007c46: b9f3 cbnz r3, 8007c86 + 8007c48: 4c14 ldr r4, [pc, #80] @ (8007c9c ) + 8007c4a: 6823 ldr r3, [r4, #0] + 8007c4c: b12b cbz r3, 8007c5a + 8007c4e: 4b14 ldr r3, [pc, #80] @ (8007ca0 ) + 8007c50: 4914 ldr r1, [pc, #80] @ (8007ca4 ) + 8007c52: 4815 ldr r0, [pc, #84] @ (8007ca8 ) + 8007c54: 22e5 movs r2, #229 @ 0xe5 + 8007c56: f002 fa8f bl 800a178 + 8007c5a: f7ff fd97 bl 800778c + 8007c5e: 6020 str r0, [r4, #0] + 8007c60: b1b0 cbz r0, 8007c90 + 8007c62: 7a42 ldrb r2, [r0, #9] + 8007c64: 4911 ldr r1, [pc, #68] @ (8007cac ) + 8007c66: f042 0220 orr.w r2, r2, #32 + 8007c6a: 7242 strb r2, [r0, #9] + 8007c6c: 2244 movs r2, #68 @ 0x44 + 8007c6e: f7ff fb9b bl 80073a8 + 8007c72: 490e ldr r1, [pc, #56] @ (8007cac ) + 8007c74: 6820 ldr r0, [r4, #0] + 8007c76: 2243 movs r2, #67 @ 0x43 + 8007c78: f7ff fd16 bl 80076a8 + 8007c7c: 490c ldr r1, [pc, #48] @ (8007cb0 ) + 8007c7e: 6820 ldr r0, [r4, #0] + 8007c80: 2200 movs r2, #0 + 8007c82: f7ff fd4b bl 800771c + 8007c86: 782b ldrb r3, [r5, #0] + 8007c88: 3301 adds r3, #1 + 8007c8a: 702b strb r3, [r5, #0] + 8007c8c: 2000 movs r0, #0 + 8007c8e: bd38 pop {r3, r4, r5, pc} + 8007c90: f04f 30ff mov.w r0, #4294967295 + 8007c94: e7fb b.n 8007c8e + 8007c96: bf00 nop + 8007c98: 20018adc .word 0x20018adc + 8007c9c: 20018ae0 .word 0x20018ae0 + 8007ca0: 0800c845 .word 0x0800c845 + 8007ca4: 0800ca14 .word 0x0800ca14 + 8007ca8: 0800b0a6 .word 0x0800b0a6 + 8007cac: 0800ce50 .word 0x0800ce50 + 8007cb0: 08007fa5 .word 0x08007fa5 + +08007cb4 : + 8007cb4: b538 push {r3, r4, r5, lr} + 8007cb6: 4d0a ldr r5, [pc, #40] @ (8007ce0 ) + 8007cb8: 782b ldrb r3, [r5, #0] + 8007cba: b92b cbnz r3, 8007cc8 + 8007cbc: 4b09 ldr r3, [pc, #36] @ (8007ce4 ) + 8007cbe: 490a ldr r1, [pc, #40] @ (8007ce8 ) + 8007cc0: 480a ldr r0, [pc, #40] @ (8007cec ) + 8007cc2: 22ff movs r2, #255 @ 0xff + 8007cc4: f002 fa58 bl 800a178 + 8007cc8: 782c ldrb r4, [r5, #0] + 8007cca: 3c01 subs r4, #1 + 8007ccc: b2e4 uxtb r4, r4 + 8007cce: 702c strb r4, [r5, #0] + 8007cd0: b924 cbnz r4, 8007cdc + 8007cd2: 4d07 ldr r5, [pc, #28] @ (8007cf0 ) + 8007cd4: 6828 ldr r0, [r5, #0] + 8007cd6: f7ff fd33 bl 8007740 + 8007cda: 602c str r4, [r5, #0] + 8007cdc: bd38 pop {r3, r4, r5, pc} + 8007cde: bf00 nop + 8007ce0: 20018adc .word 0x20018adc + 8007ce4: 0800c845 .word 0x0800c845 + 8007ce8: 0800ca39 .word 0x0800ca39 + 8007cec: 0800b0a6 .word 0x0800b0a6 + 8007cf0: 20018ae0 .word 0x20018ae0 + +08007cf4 : + 8007cf4: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 8007cf8: 6a44 ldr r4, [r0, #36] @ 0x24 + 8007cfa: b085 sub sp, #20 + 8007cfc: 2103 movs r1, #3 + 8007cfe: 4607 mov r7, r0 + 8007d00: 4620 mov r0, r4 + 8007d02: f7ff fd67 bl 80077d4 + 8007d06: 460a mov r2, r1 + 8007d08: f10d 030e add.w r3, sp, #14 + 8007d0c: 4621 mov r1, r4 + 8007d0e: 4638 mov r0, r7 + 8007d10: f7ff fdde bl 80078d0 + 8007d14: 4606 mov r6, r0 + 8007d16: 2800 cmp r0, #0 + 8007d18: d045 beq.n 8007da6 + 8007d1a: 6845 ldr r5, [r0, #4] + 8007d1c: f8bd 000e ldrh.w r0, [sp, #14] + 8007d20: f8df 90c4 ldr.w r9, [pc, #196] @ 8007de8 + 8007d24: 35f0 adds r5, #240 @ 0xf0 + 8007d26: 2302 movs r3, #2 + 8007d28: 2239 movs r2, #57 @ 0x39 + 8007d2a: 4629 mov r1, r5 + 8007d2c: f7ff fd76 bl 800781c + 8007d30: f44f 7210 mov.w r2, #576 @ 0x240 + 8007d34: 4629 mov r1, r5 + 8007d36: f7ff fd55 bl 80077e4 + 8007d3a: 2304 movs r3, #4 + 8007d3c: 2232 movs r2, #50 @ 0x32 + 8007d3e: 4629 mov r1, r5 + 8007d40: f7ff fd6c bl 800781c + 8007d44: 4680 mov r8, r0 + 8007d46: 69e0 ldr r0, [r4, #28] + 8007d48: f7fb f9a0 bl 800308c + 8007d4c: 4629 mov r1, r5 + 8007d4e: 4602 mov r2, r0 + 8007d50: 4640 mov r0, r8 + 8007d52: f7ff fd99 bl 8007888 + 8007d56: 2303 movs r3, #3 + 8007d58: 2237 movs r2, #55 @ 0x37 + 8007d5a: 4629 mov r1, r5 + 8007d5c: f7ff fd5e bl 800781c + 8007d60: f04f 0800 mov.w r8, #0 + 8007d64: f8ad 000e strh.w r0, [sp, #14] + 8007d68: f819 2b01 ldrb.w r2, [r9], #1 + 8007d6c: f8bd 000e ldrh.w r0, [sp, #14] + 8007d70: 4629 mov r1, r5 + 8007d72: f7ff fd71 bl 8007858 + 8007d76: f108 0801 add.w r8, r8, #1 + 8007d7a: fa5f f888 uxtb.w r8, r8 + 8007d7e: f1b8 0f03 cmp.w r8, #3 + 8007d82: f8ad 000e strh.w r0, [sp, #14] + 8007d86: d1ef bne.n 8007d68 + 8007d88: 4632 mov r2, r6 + 8007d8a: 4629 mov r1, r5 + 8007d8c: f7ff fe2c bl 80079e8 + 8007d90: 4813 ldr r0, [pc, #76] @ (8007de0 ) + 8007d92: 9700 str r7, [sp, #0] + 8007d94: 4a13 ldr r2, [pc, #76] @ (8007de4 ) + 8007d96: 6800 ldr r0, [r0, #0] + 8007d98: 2343 movs r3, #67 @ 0x43 + 8007d9a: 4631 mov r1, r6 + 8007d9c: f7ff fc08 bl 80075b0 + 8007da0: 4630 mov r0, r6 + 8007da2: f7fb fe8d bl 8003ac0 + 8007da6: 79a3 ldrb r3, [r4, #6] + 8007da8: 2bff cmp r3, #255 @ 0xff + 8007daa: bf1c itt ne + 8007dac: 3301 addne r3, #1 + 8007dae: 71a3 strbne r3, [r4, #6] + 8007db0: 79a3 ldrb r3, [r4, #6] + 8007db2: 2b09 cmp r3, #9 + 8007db4: bf9f itttt ls + 8007db6: ebc3 1243 rsbls r2, r3, r3, lsl #5 + 8007dba: eb03 0382 addls.w r3, r3, r2, lsl #2 + 8007dbe: 00db lslls r3, r3, #3 + 8007dc0: b29b uxthls r3, r3 + 8007dc2: bf88 it hi + 8007dc4: f242 7310 movwhi r3, #10000 @ 0x2710 + 8007dc8: f44f 72fa mov.w r2, #500 @ 0x1f4 + 8007dcc: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 8007dd0: b29b uxth r3, r3 + 8007dd2: fbb3 f3f2 udiv r3, r3, r2 + 8007dd6: 8123 strh r3, [r4, #8] + 8007dd8: b005 add sp, #20 + 8007dda: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 8007dde: bf00 nop + 8007de0: 20018ae0 .word 0x20018ae0 + 8007de4: 0800ce4c .word 0x0800ce4c + 8007de8: 0800cb4a .word 0x0800cb4a + +08007dec : + 8007dec: b538 push {r3, r4, r5, lr} + 8007dee: 4d17 ldr r5, [pc, #92] @ (8007e4c ) + 8007df0: 2300 movs r3, #0 + 8007df2: e9c0 3308 strd r3, r3, [r0, #32] + 8007df6: 78eb ldrb r3, [r5, #3] + 8007df8: 4604 mov r4, r0 + 8007dfa: b113 cbz r3, 8007e02 + 8007dfc: 4b14 ldr r3, [pc, #80] @ (8007e50 ) + 8007dfe: 68db ldr r3, [r3, #12] + 8007e00: 6283 str r3, [r0, #40] @ 0x28 + 8007e02: 792b ldrb r3, [r5, #4] + 8007e04: b1d3 cbz r3, 8007e3c + 8007e06: 4b12 ldr r3, [pc, #72] @ (8007e50 ) + 8007e08: 691b ldr r3, [r3, #16] + 8007e0a: 62e3 str r3, [r4, #44] @ 0x2c + 8007e0c: 796b ldrb r3, [r5, #5] + 8007e0e: b1c3 cbz r3, 8007e42 + 8007e10: 4b0f ldr r3, [pc, #60] @ (8007e50 ) + 8007e12: 695b ldr r3, [r3, #20] + 8007e14: 6323 str r3, [r4, #48] @ 0x30 + 8007e16: 690b ldr r3, [r1, #16] + 8007e18: 61e3 str r3, [r4, #28] + 8007e1a: 79ab ldrb r3, [r5, #6] + 8007e1c: b12b cbz r3, 8007e2a + 8007e1e: 4b0c ldr r3, [pc, #48] @ (8007e50 ) + 8007e20: 6998 ldr r0, [r3, #24] + 8007e22: f7fb f933 bl 800308c + 8007e26: 2301 movs r3, #1 + 8007e28: 6220 str r0, [r4, #32] + 8007e2a: 71e3 strb r3, [r4, #7] + 8007e2c: 79eb ldrb r3, [r5, #7] + 8007e2e: b123 cbz r3, 8007e3a + 8007e30: 4b07 ldr r3, [pc, #28] @ (8007e50 ) + 8007e32: 69d8 ldr r0, [r3, #28] + 8007e34: f7fb f92a bl 800308c + 8007e38: 6260 str r0, [r4, #36] @ 0x24 + 8007e3a: bd38 pop {r3, r4, r5, pc} + 8007e3c: 6aa3 ldr r3, [r4, #40] @ 0x28 + 8007e3e: 085b lsrs r3, r3, #1 + 8007e40: e7e3 b.n 8007e0a + 8007e42: 6aa3 ldr r3, [r4, #40] @ 0x28 + 8007e44: ebc3 03c3 rsb r3, r3, r3, lsl #3 + 8007e48: 08db lsrs r3, r3, #3 + 8007e4a: e7e3 b.n 8007e14 + 8007e4c: 20018ae4 .word 0x20018ae4 + 8007e50: 20018aec .word 0x20018aec + +08007e54 : + 8007e54: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 8007e58: 4607 mov r7, r0 + 8007e5a: b085 sub sp, #20 + 8007e5c: b948 cbnz r0, 8007e72 + 8007e5e: 4b49 ldr r3, [pc, #292] @ (8007f84 ) + 8007e60: 4949 ldr r1, [pc, #292] @ (8007f88 ) + 8007e62: f240 1277 movw r2, #375 @ 0x177 + 8007e66: 4849 ldr r0, [pc, #292] @ (8007f8c ) + 8007e68: b005 add sp, #20 + 8007e6a: e8bd 43f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, lr} + 8007e6e: f002 b983 b.w 800a178 + 8007e72: 6a44 ldr r4, [r0, #36] @ 0x24 + 8007e74: b924 cbnz r4, 8007e80 + 8007e76: 4b43 ldr r3, [pc, #268] @ (8007f84 ) + 8007e78: 4945 ldr r1, [pc, #276] @ (8007f90 ) + 8007e7a: f240 1279 movw r2, #377 @ 0x179 + 8007e7e: e7f2 b.n 8007e66 + 8007e80: 2101 movs r1, #1 + 8007e82: 4620 mov r0, r4 + 8007e84: f7ff fca6 bl 80077d4 + 8007e88: 2203 movs r2, #3 + 8007e8a: f10d 030e add.w r3, sp, #14 + 8007e8e: 4621 mov r1, r4 + 8007e90: 4638 mov r0, r7 + 8007e92: f7ff fd1d bl 80078d0 + 8007e96: 4606 mov r6, r0 + 8007e98: 2800 cmp r0, #0 + 8007e9a: d054 beq.n 8007f46 + 8007e9c: 6845 ldr r5, [r0, #4] + 8007e9e: f8bd 000e ldrh.w r0, [sp, #14] + 8007ea2: f8df 90fc ldr.w r9, [pc, #252] @ 8007fa0 + 8007ea6: 35f0 adds r5, #240 @ 0xf0 + 8007ea8: 2302 movs r3, #2 + 8007eaa: 2239 movs r2, #57 @ 0x39 + 8007eac: 4629 mov r1, r5 + 8007eae: f7ff fcb5 bl 800781c + 8007eb2: 8d3a ldrh r2, [r7, #40] @ 0x28 + 8007eb4: 4629 mov r1, r5 + 8007eb6: f7ff fc95 bl 80077e4 + 8007eba: 2304 movs r3, #4 + 8007ebc: 2232 movs r2, #50 @ 0x32 + 8007ebe: 4629 mov r1, r5 + 8007ec0: f7ff fcac bl 800781c + 8007ec4: 4680 mov r8, r0 + 8007ec6: 69e0 ldr r0, [r4, #28] + 8007ec8: f7fb f8e0 bl 800308c + 8007ecc: 4629 mov r1, r5 + 8007ece: 4602 mov r2, r0 + 8007ed0: 4640 mov r0, r8 + 8007ed2: f7ff fcd9 bl 8007888 + 8007ed6: 2304 movs r3, #4 + 8007ed8: 2236 movs r2, #54 @ 0x36 + 8007eda: 4629 mov r1, r5 + 8007edc: f7ff fc9e bl 800781c + 8007ee0: 4680 mov r8, r0 + 8007ee2: 69a0 ldr r0, [r4, #24] + 8007ee4: f7fb f8d2 bl 800308c + 8007ee8: 4629 mov r1, r5 + 8007eea: 4602 mov r2, r0 + 8007eec: 4640 mov r0, r8 + 8007eee: f7ff fccb bl 8007888 + 8007ef2: 2303 movs r3, #3 + 8007ef4: 2237 movs r2, #55 @ 0x37 + 8007ef6: 4629 mov r1, r5 + 8007ef8: f7ff fc90 bl 800781c + 8007efc: f04f 0800 mov.w r8, #0 + 8007f00: f8ad 000e strh.w r0, [sp, #14] + 8007f04: f819 2b01 ldrb.w r2, [r9], #1 + 8007f08: f8bd 000e ldrh.w r0, [sp, #14] + 8007f0c: 4629 mov r1, r5 + 8007f0e: f7ff fca3 bl 8007858 + 8007f12: f108 0801 add.w r8, r8, #1 + 8007f16: fa5f f888 uxtb.w r8, r8 + 8007f1a: f1b8 0f03 cmp.w r8, #3 + 8007f1e: f8ad 000e strh.w r0, [sp, #14] + 8007f22: d1ef bne.n 8007f04 + 8007f24: 4632 mov r2, r6 + 8007f26: 4629 mov r1, r5 + 8007f28: f7ff fd5e bl 80079e8 + 8007f2c: 4b19 ldr r3, [pc, #100] @ (8007f94 ) + 8007f2e: 481a ldr r0, [pc, #104] @ (8007f98 ) + 8007f30: 4a1a ldr r2, [pc, #104] @ (8007f9c ) + 8007f32: e9cd 7300 strd r7, r3, [sp] + 8007f36: 4631 mov r1, r6 + 8007f38: 6800 ldr r0, [r0, #0] + 8007f3a: 2343 movs r3, #67 @ 0x43 + 8007f3c: f7ff faa0 bl 8007480 + 8007f40: 4630 mov r0, r6 + 8007f42: f7fb fdbd bl 8003ac0 + 8007f46: 79a3 ldrb r3, [r4, #6] + 8007f48: 2bff cmp r3, #255 @ 0xff + 8007f4a: bf1c itt ne + 8007f4c: 3301 addne r3, #1 + 8007f4e: 71a3 strbne r3, [r4, #6] + 8007f50: 79a2 ldrb r2, [r4, #6] + 8007f52: 2a05 cmp r2, #5 + 8007f54: bf9f itttt ls + 8007f56: 2301 movls r3, #1 + 8007f58: 4093 lslls r3, r2 + 8007f5a: ebc3 1243 rsbls r2, r3, r3, lsl #5 + 8007f5e: eb03 0382 addls.w r3, r3, r2, lsl #2 + 8007f62: bf9a itte ls + 8007f64: 00db lslls r3, r3, #3 + 8007f66: b29b uxthls r3, r3 + 8007f68: f64e 2360 movwhi r3, #60000 @ 0xea60 + 8007f6c: f44f 72fa mov.w r2, #500 @ 0x1f4 + 8007f70: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 8007f74: b29b uxth r3, r3 + 8007f76: fbb3 f3f2 udiv r3, r3, r2 + 8007f7a: 8123 strh r3, [r4, #8] + 8007f7c: b005 add sp, #20 + 8007f7e: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 8007f82: bf00 nop + 8007f84: 0800c845 .word 0x0800c845 + 8007f88: 0800ca5d .word 0x0800ca5d + 8007f8c: 0800b0a6 .word 0x0800b0a6 + 8007f90: 0800ca78 .word 0x0800ca78 + 8007f94: 0800ce50 .word 0x0800ce50 + 8007f98: 20018ae0 .word 0x20018ae0 + 8007f9c: 0800ce4c .word 0x0800ce4c + 8007fa0: 0800cb4a .word 0x0800cb4a + +08007fa4 : + 8007fa4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8007fa8: 4bab ldr r3, [pc, #684] @ (8008258 ) + 8007faa: 685f ldr r7, [r3, #4] + 8007fac: b087 sub sp, #28 + 8007fae: 6a7b ldr r3, [r7, #36] @ 0x24 + 8007fb0: 9300 str r3, [sp, #0] + 8007fb2: 4693 mov fp, r2 + 8007fb4: 6852 ldr r2, [r2, #4] + 8007fb6: 2b00 cmp r3, #0 + 8007fb8: d064 beq.n 8008084 + 8007fba: 791b ldrb r3, [r3, #4] + 8007fbc: 2b00 cmp r3, #0 + 8007fbe: d061 beq.n 8008084 + 8007fc0: f8bb 300a ldrh.w r3, [fp, #10] + 8007fc4: 2b2b cmp r3, #43 @ 0x2b + 8007fc6: d95d bls.n 8008084 + 8007fc8: 7813 ldrb r3, [r2, #0] + 8007fca: 2b02 cmp r3, #2 + 8007fcc: d15a bne.n 8008084 + 8007fce: f897 4030 ldrb.w r4, [r7, #48] @ 0x30 + 8007fd2: f107 0129 add.w r1, r7, #41 @ 0x29 + 8007fd6: f102 001b add.w r0, r2, #27 + 8007fda: 2300 movs r3, #0 + 8007fdc: b2dd uxtb r5, r3 + 8007fde: 42ac cmp r4, r5 + 8007fe0: d901 bls.n 8007fe6 + 8007fe2: 2b06 cmp r3, #6 + 8007fe4: d146 bne.n 8008074 + 8007fe6: 6850 ldr r0, [r2, #4] + 8007fe8: f7fb f850 bl 800308c + 8007fec: 9b00 ldr r3, [sp, #0] + 8007fee: 681b ldr r3, [r3, #0] + 8007ff0: 4298 cmp r0, r3 + 8007ff2: d147 bne.n 8008084 + 8007ff4: 4a99 ldr r2, [pc, #612] @ (800825c ) + 8007ff6: 2300 movs r3, #0 + 8007ff8: 6053 str r3, [r2, #4] + 8007ffa: 6013 str r3, [r2, #0] + 8007ffc: f8bb 200a ldrh.w r2, [fp, #10] + 8008000: 2a2b cmp r2, #43 @ 0x2b + 8008002: d93f bls.n 8008084 + 8008004: f8bb a008 ldrh.w sl, [fp, #8] + 8008008: 9301 str r3, [sp, #4] + 800800a: f04f 09f0 mov.w r9, #240 @ 0xf0 + 800800e: 46d8 mov r8, fp + 8008010: f8b8 300a ldrh.w r3, [r8, #10] + 8008014: 454b cmp r3, r9 + 8008016: d93b bls.n 8008090 + 8008018: f8d8 3004 ldr.w r3, [r8, #4] + 800801c: 9303 str r3, [sp, #12] + 800801e: 464b mov r3, r9 + 8008020: 4553 cmp r3, sl + 8008022: d203 bcs.n 800802c + 8008024: 9a03 ldr r2, [sp, #12] + 8008026: 5cd2 ldrb r2, [r2, r3] + 8008028: 2aff cmp r2, #255 @ 0xff + 800802a: d13f bne.n 80080ac + 800802c: 4b8b ldr r3, [pc, #556] @ (800825c ) + 800802e: 781a ldrb r2, [r3, #0] + 8008030: 2a00 cmp r2, #0 + 8008032: f040 8127 bne.w 8008284 + 8008036: 9a01 ldr r2, [sp, #4] + 8008038: 2a00 cmp r2, #0 + 800803a: f040 812b bne.w 8008294 + 800803e: 785a ldrb r2, [r3, #1] + 8008040: b302 cbz r2, 8008084 + 8008042: 4987 ldr r1, [pc, #540] @ (8008260 ) + 8008044: f8db 5004 ldr.w r5, [fp, #4] + 8008048: 790a ldrb r2, [r1, #4] + 800804a: 2a05 cmp r2, #5 + 800804c: f040 813f bne.w 80082ce + 8008050: 9b00 ldr r3, [sp, #0] + 8008052: 795b ldrb r3, [r3, #5] + 8008054: 2b01 cmp r3, #1 + 8008056: f040 812e bne.w 80082b6 + 800805a: 6a78 ldr r0, [r7, #36] @ 0x24 + 800805c: 4629 mov r1, r5 + 800805e: f7ff fec5 bl 8007dec + 8008062: f897 3031 ldrb.w r3, [r7, #49] @ 0x31 + 8008066: 071b lsls r3, r3, #28 + 8008068: 4638 mov r0, r7 + 800806a: f140 812d bpl.w 80082c8 + 800806e: f7ff fd4d bl 8007b0c + 8008072: e007 b.n 8008084 + 8008074: f811 6f01 ldrb.w r6, [r1, #1]! + 8008078: f810 5f01 ldrb.w r5, [r0, #1]! + 800807c: 42ae cmp r6, r5 + 800807e: f103 0301 add.w r3, r3, #1 + 8008082: d0ab beq.n 8007fdc + 8008084: 4658 mov r0, fp + 8008086: b007 add sp, #28 + 8008088: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800808c: f7fb bd18 b.w 8003ac0 + 8008090: f8d8 8000 ldr.w r8, [r8] + 8008094: eba9 0903 sub.w r9, r9, r3 + 8008098: ebaa 0303 sub.w r3, sl, r3 + 800809c: fa1f f989 uxth.w r9, r9 + 80080a0: fa1f fa83 uxth.w sl, r3 + 80080a4: f1b8 0f00 cmp.w r8, #0 + 80080a8: d1b2 bne.n 8008010 + 80080aa: e7eb b.n 8008084 + 80080ac: 1c99 adds r1, r3, #2 + 80080ae: b289 uxth r1, r1 + 80080b0: 428b cmp r3, r1 + 80080b2: 9102 str r1, [sp, #8] + 80080b4: d8e6 bhi.n 8008084 + 80080b6: f8b8 100a ldrh.w r1, [r8, #10] + 80080ba: 1c58 adds r0, r3, #1 + 80080bc: 4288 cmp r0, r1 + 80080be: da26 bge.n 800810e + 80080c0: 9903 ldr r1, [sp, #12] + 80080c2: 4419 add r1, r3 + 80080c4: 784c ldrb r4, [r1, #1] + 80080c6: 2a3b cmp r2, #59 @ 0x3b + 80080c8: f200 808a bhi.w 80081e0 + 80080cc: 2a32 cmp r2, #50 @ 0x32 + 80080ce: d826 bhi.n 800811e + 80080d0: 2a01 cmp r2, #1 + 80080d2: d03d beq.n 8008150 + 80080d4: 2a03 cmp r2, #3 + 80080d6: d043 beq.n 8008160 + 80080d8: 2a00 cmp r2, #0 + 80080da: f040 8081 bne.w 80081e0 + 80080de: b283 uxth r3, r0 + 80080e0: f8b8 200a ldrh.w r2, [r8, #10] + 80080e4: 429a cmp r2, r3 + 80080e6: d89b bhi.n 8008020 + 80080e8: 1a9b subs r3, r3, r2 + 80080ea: ebaa 0202 sub.w r2, sl, r2 + 80080ee: b29b uxth r3, r3 + 80080f0: fa1f fa82 uxth.w sl, r2 + 80080f4: 4553 cmp r3, sl + 80080f6: d2c5 bcs.n 8008084 + 80080f8: f8d8 8000 ldr.w r8, [r8] + 80080fc: f1b8 0f00 cmp.w r8, #0 + 8008100: f040 80a5 bne.w 800824e + 8008104: 4b57 ldr r3, [pc, #348] @ (8008264 ) + 8008106: 4958 ldr r1, [pc, #352] @ (8008268 ) + 8008108: f240 629d movw r2, #1693 @ 0x69d + 800810c: e02f b.n 800816e + 800810e: f8d8 5000 ldr.w r5, [r8] + 8008112: 2d00 cmp r5, #0 + 8008114: f000 8121 beq.w 800835a + 8008118: 6869 ldr r1, [r5, #4] + 800811a: 780c ldrb r4, [r1, #0] + 800811c: e7d3 b.n 80080c6 + 800811e: f1a2 0133 sub.w r1, r2, #51 @ 0x33 + 8008122: 2908 cmp r1, #8 + 8008124: d8d8 bhi.n 80080d8 + 8008126: a501 add r5, pc, #4 @ (adr r5, 800812c ) + 8008128: f855 f021 ldr.w pc, [r5, r1, lsl #2] + 800812c: 08008177 .word 0x08008177 + 8008130: 08008185 .word 0x08008185 + 8008134: 080081a5 .word 0x080081a5 + 8008138: 080081b3 .word 0x080081b3 + 800813c: 080080d9 .word 0x080080d9 + 8008140: 080080d9 .word 0x080080d9 + 8008144: 080080d9 .word 0x080080d9 + 8008148: 080081c1 .word 0x080081c1 + 800814c: 080081cf .word 0x080081cf + 8008150: 2c04 cmp r4, #4 + 8008152: f000 80ed beq.w 8008330 + 8008156: 4b43 ldr r3, [pc, #268] @ (8008264 ) + 8008158: f240 622e movw r2, #1582 @ 0x62e + 800815c: 4943 ldr r1, [pc, #268] @ (800826c ) + 800815e: e006 b.n 800816e + 8008160: 2c03 cmp r4, #3 + 8008162: f200 80e8 bhi.w 8008336 + 8008166: 4b3f ldr r3, [pc, #252] @ (8008264 ) + 8008168: 4941 ldr r1, [pc, #260] @ (8008270 ) + 800816a: f240 6233 movw r2, #1587 @ 0x633 + 800816e: 4841 ldr r0, [pc, #260] @ (8008274 ) + 8008170: f002 f802 bl 800a178 + 8008174: e786 b.n 8008084 + 8008176: 2c04 cmp r4, #4 + 8008178: f000 80e0 beq.w 800833c + 800817c: 4b39 ldr r3, [pc, #228] @ (8008264 ) + 800817e: f240 6241 movw r2, #1601 @ 0x641 + 8008182: e7eb b.n 800815c + 8008184: 2c01 cmp r4, #1 + 8008186: d004 beq.n 8008192 + 8008188: 4b36 ldr r3, [pc, #216] @ (8008264 ) + 800818a: f240 624f movw r2, #1615 @ 0x64f + 800818e: 493a ldr r1, [pc, #232] @ (8008278 ) + 8008190: e7ed b.n 800816e + 8008192: f1b9 0ff0 cmp.w r9, #240 @ 0xf0 + 8008196: f000 80d4 beq.w 8008342 + 800819a: 4b32 ldr r3, [pc, #200] @ (8008264 ) + 800819c: 4937 ldr r1, [pc, #220] @ (800827c ) + 800819e: f240 6251 movw r2, #1617 @ 0x651 + 80081a2: e7e4 b.n 800816e + 80081a4: 2c01 cmp r4, #1 + 80081a6: f000 80d2 beq.w 800834e + 80081aa: 4b2e ldr r3, [pc, #184] @ (8008264 ) + 80081ac: f240 6255 movw r2, #1621 @ 0x655 + 80081b0: e7ed b.n 800818e + 80081b2: 2c04 cmp r4, #4 + 80081b4: f000 80c8 beq.w 8008348 + 80081b8: 4b2a ldr r3, [pc, #168] @ (8008264 ) + 80081ba: f240 6259 movw r2, #1625 @ 0x659 + 80081be: e7cd b.n 800815c + 80081c0: 2c04 cmp r4, #4 + 80081c2: f000 80c4 beq.w 800834e + 80081c6: 4b27 ldr r3, [pc, #156] @ (8008264 ) + 80081c8: f240 625d movw r2, #1629 @ 0x65d + 80081cc: e7c6 b.n 800815c + 80081ce: 2c04 cmp r4, #4 + 80081d0: f000 80c0 beq.w 8008354 + 80081d4: 4b23 ldr r3, [pc, #140] @ (8008264 ) + 80081d6: f240 6261 movw r2, #1633 @ 0x661 + 80081da: e7bf b.n 800815c + 80081dc: 2400 movs r4, #0 + 80081de: e77b b.n 80080d8 + 80081e0: f04f 36ff mov.w r6, #4294967295 + 80081e4: 2500 movs r5, #0 + 80081e6: 4423 add r3, r4 + 80081e8: f64f 72fd movw r2, #65533 @ 0xfffd + 80081ec: 4293 cmp r3, r2 + 80081ee: f73f af49 bgt.w 8008084 + 80081f2: b30d cbz r5, 8008238 + 80081f4: 2300 movs r3, #0 + 80081f6: 2e07 cmp r6, #7 + 80081f8: 9305 str r3, [sp, #20] + 80081fa: d906 bls.n 800820a + 80081fc: 4b19 ldr r3, [pc, #100] @ (8008264 ) + 80081fe: 4920 ldr r1, [pc, #128] @ (8008280 ) + 8008200: 481c ldr r0, [pc, #112] @ (8008274 ) + 8008202: f44f 62cf mov.w r2, #1656 @ 0x678 + 8008206: f001 ffb7 bl 800a178 + 800820a: 4b14 ldr r3, [pc, #80] @ (800825c ) + 800820c: 5d9b ldrb r3, [r3, r6] + 800820e: b99b cbnz r3, 8008238 + 8008210: 9b02 ldr r3, [sp, #8] + 8008212: 462a mov r2, r5 + 8008214: a905 add r1, sp, #20 + 8008216: 4640 mov r0, r8 + 8008218: f7fb fe6a bl 8003ef0 + 800821c: 4285 cmp r5, r0 + 800821e: f47f af31 bne.w 8008084 + 8008222: 2d04 cmp r5, #4 + 8008224: d110 bne.n 8008248 + 8008226: 9805 ldr r0, [sp, #20] + 8008228: f7fa ff30 bl 800308c + 800822c: 4b0b ldr r3, [pc, #44] @ (800825c ) + 800822e: 2201 movs r2, #1 + 8008230: 559a strb r2, [r3, r6] + 8008232: 4b0b ldr r3, [pc, #44] @ (8008260 ) + 8008234: f843 0026 str.w r0, [r3, r6, lsl #2] + 8008238: 9b02 ldr r3, [sp, #8] + 800823a: 4423 add r3, r4 + 800823c: b29b uxth r3, r3 + 800823e: e74f b.n 80080e0 + 8008240: f04f 36ff mov.w r6, #4294967295 + 8008244: 462c mov r4, r5 + 8008246: e7ce b.n 80081e6 + 8008248: f89d 0014 ldrb.w r0, [sp, #20] + 800824c: e7ee b.n 800822c + 800824e: f8d8 2004 ldr.w r2, [r8, #4] + 8008252: 9203 str r2, [sp, #12] + 8008254: e6e4 b.n 8008020 + 8008256: bf00 nop + 8008258: 20005b24 .word 0x20005b24 + 800825c: 20018ae4 .word 0x20018ae4 + 8008260: 20018aec .word 0x20018aec + 8008264: 0800c845 .word 0x0800c845 + 8008268: 0800cade .word 0x0800cade + 800826c: 0800ca92 .word 0x0800ca92 + 8008270: 0800ca9b .word 0x0800ca9b + 8008274: 0800b0a6 .word 0x0800b0a6 + 8008278: 0800caad .word 0x0800caad + 800827c: 0800cab6 .word 0x0800cab6 + 8008280: 0800cacd .word 0x0800cacd + 8008284: 4a4b ldr r2, [pc, #300] @ (80083b4 ) + 8008286: 6812 ldr r2, [r2, #0] + 8008288: 2100 movs r1, #0 + 800828a: 2a01 cmp r2, #1 + 800828c: 7019 strb r1, [r3, #0] + 800828e: d00d beq.n 80082ac + 8008290: 2a02 cmp r2, #2 + 8008292: d106 bne.n 80082a2 + 8008294: 2300 movs r3, #0 + 8008296: 9301 str r3, [sp, #4] + 8008298: f04f 0a6c mov.w sl, #108 @ 0x6c + 800829c: f04f 092c mov.w r9, #44 @ 0x2c + 80082a0: e6b5 b.n 800800e + 80082a2: 2a03 cmp r2, #3 + 80082a4: f47f aec7 bne.w 8008036 + 80082a8: 2301 movs r3, #1 + 80082aa: 9301 str r3, [sp, #4] + 80082ac: f04f 0aec mov.w sl, #236 @ 0xec + 80082b0: f04f 096c mov.w r9, #108 @ 0x6c + 80082b4: e6ab b.n 800800e + 80082b6: 3b03 subs r3, #3 + 80082b8: 2b02 cmp r3, #2 + 80082ba: f63f aee3 bhi.w 8008084 + 80082be: 6a78 ldr r0, [r7, #36] @ 0x24 + 80082c0: 4629 mov r1, r5 + 80082c2: f7ff fd93 bl 8007dec + 80082c6: 4638 mov r0, r7 + 80082c8: f7ff fc36 bl 8007b38 + 80082cc: e6da b.n 8008084 + 80082ce: 2a06 cmp r2, #6 + 80082d0: d115 bne.n 80082fe + 80082d2: 9b00 ldr r3, [sp, #0] + 80082d4: 795b ldrb r3, [r3, #5] + 80082d6: 1eda subs r2, r3, #3 + 80082d8: 2a02 cmp r2, #2 + 80082da: d902 bls.n 80082e2 + 80082dc: 2b01 cmp r3, #1 + 80082de: f47f aed1 bne.w 8008084 + 80082e2: 6a78 ldr r0, [r7, #36] @ 0x24 + 80082e4: 210c movs r1, #12 + 80082e6: f7ff fa75 bl 80077d4 + 80082ea: 4b33 ldr r3, [pc, #204] @ (80083b8 ) + 80082ec: 4638 mov r0, r7 + 80082ee: 461a mov r2, r3 + 80082f0: 4619 mov r1, r3 + 80082f2: f7fb f9db bl 80036ac + 80082f6: 4638 mov r0, r7 + 80082f8: f7ff fb96 bl 8007a28 + 80082fc: e6c2 b.n 8008084 + 80082fe: 2a02 cmp r2, #2 + 8008300: f47f aec0 bne.w 8008084 + 8008304: 9a00 ldr r2, [sp, #0] + 8008306: 7952 ldrb r2, [r2, #5] + 8008308: 2a06 cmp r2, #6 + 800830a: f47f aebb bne.w 8008084 + 800830e: 789b ldrb r3, [r3, #2] + 8008310: 6a7c ldr r4, [r7, #36] @ 0x24 + 8008312: 2b00 cmp r3, #0 + 8008314: f43f aeb6 beq.w 8008084 + 8008318: 9b01 ldr r3, [sp, #4] + 800831a: 8123 strh r3, [r4, #8] + 800831c: 6888 ldr r0, [r1, #8] + 800831e: f7fa feb5 bl 800308c + 8008322: 61a0 str r0, [r4, #24] + 8008324: 692b ldr r3, [r5, #16] + 8008326: 61e3 str r3, [r4, #28] + 8008328: 4638 mov r0, r7 + 800832a: f7ff fd93 bl 8007e54 + 800832e: e6a9 b.n 8008084 + 8008330: 4625 mov r5, r4 + 8008332: 2606 movs r6, #6 + 8008334: e757 b.n 80081e6 + 8008336: 2607 movs r6, #7 + 8008338: 2504 movs r5, #4 + 800833a: e754 b.n 80081e6 + 800833c: 4625 mov r5, r4 + 800833e: 2603 movs r6, #3 + 8008340: e751 b.n 80081e6 + 8008342: 4625 mov r5, r4 + 8008344: 2600 movs r6, #0 + 8008346: e74e b.n 80081e6 + 8008348: 4625 mov r5, r4 + 800834a: 2602 movs r6, #2 + 800834c: e74b b.n 80081e6 + 800834e: 4625 mov r5, r4 + 8008350: 4626 mov r6, r4 + 8008352: e748 b.n 80081e6 + 8008354: 4625 mov r5, r4 + 8008356: 2605 movs r6, #5 + 8008358: e745 b.n 80081e6 + 800835a: 2a3b cmp r2, #59 @ 0x3b + 800835c: f63f af70 bhi.w 8008240 + 8008360: 2a32 cmp r2, #50 @ 0x32 + 8008362: d80c bhi.n 800837e + 8008364: 2a01 cmp r2, #1 + 8008366: f43f aef6 beq.w 8008156 + 800836a: 2a03 cmp r2, #3 + 800836c: f43f aefb beq.w 8008166 + 8008370: 2a00 cmp r2, #0 + 8008372: f43f aeb4 beq.w 80080de + 8008376: f04f 36ff mov.w r6, #4294967295 + 800837a: 2500 movs r5, #0 + 800837c: e762 b.n 8008244 + 800837e: f1a2 0133 sub.w r1, r2, #51 @ 0x33 + 8008382: 2908 cmp r1, #8 + 8008384: f63f af2a bhi.w 80081dc + 8008388: a401 add r4, pc, #4 @ (adr r4, 8008390 ) + 800838a: f854 f021 ldr.w pc, [r4, r1, lsl #2] + 800838e: bf00 nop + 8008390: 0800817d .word 0x0800817d + 8008394: 08008189 .word 0x08008189 + 8008398: 080081ab .word 0x080081ab + 800839c: 080081b9 .word 0x080081b9 + 80083a0: 080081dd .word 0x080081dd + 80083a4: 080081dd .word 0x080081dd + 80083a8: 080081dd .word 0x080081dd + 80083ac: 080081c7 .word 0x080081c7 + 80083b0: 080081d5 .word 0x080081d5 + 80083b4: 20018aec .word 0x20018aec + 80083b8: 0800ce50 .word 0x0800ce50 + +080083bc : + 80083bc: b538 push {r3, r4, r5, lr} + 80083be: 6a45 ldr r5, [r0, #36] @ 0x24 + 80083c0: 4604 mov r4, r0 + 80083c2: b1fd cbz r5, 8008404 + 80083c4: 796b ldrb r3, [r5, #5] + 80083c6: 2b05 cmp r3, #5 + 80083c8: d809 bhi.n 80083de + 80083ca: 2b02 cmp r3, #2 + 80083cc: d809 bhi.n 80083e2 + 80083ce: b1cb cbz r3, 8008404 + 80083d0: 2300 movs r3, #0 + 80083d2: 71ab strb r3, [r5, #6] + 80083d4: 4620 mov r0, r4 + 80083d6: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 80083da: f7ff bb25 b.w 8007a28 + 80083de: 2b0a cmp r3, #10 + 80083e0: d106 bne.n 80083f0 + 80083e2: 2300 movs r3, #0 + 80083e4: 71ab strb r3, [r5, #6] + 80083e6: 4620 mov r0, r4 + 80083e8: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 80083ec: f7ff bc82 b.w 8007cf4 + 80083f0: 2b0c cmp r3, #12 + 80083f2: d9ed bls.n 80083d0 + 80083f4: 4b04 ldr r3, [pc, #16] @ (8008408 ) + 80083f6: 4905 ldr r1, [pc, #20] @ (800840c ) + 80083f8: 4805 ldr r0, [pc, #20] @ (8008410 ) + 80083fa: f240 326d movw r2, #877 @ 0x36d + 80083fe: f001 febb bl 800a178 + 8008402: e7e5 b.n 80083d0 + 8008404: bd38 pop {r3, r4, r5, pc} + 8008406: bf00 nop + 8008408: 0800c845 .word 0x0800c845 + 800840c: 0800cb15 .word 0x0800cb15 + 8008410: 0800b0a6 .word 0x0800b0a6 + +08008414 : + 8008414: e92d 41ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, lr} + 8008418: 4606 mov r6, r0 + 800841a: b948 cbnz r0, 8008430 + 800841c: 4b26 ldr r3, [pc, #152] @ (80084b8 ) + 800841e: 4927 ldr r1, [pc, #156] @ (80084bc ) + 8008420: 4827 ldr r0, [pc, #156] @ (80084c0 ) + 8008422: f240 328b movw r2, #907 @ 0x38b + 8008426: b004 add sp, #16 + 8008428: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 800842c: f001 bea4 b.w 800a178 + 8008430: 6a44 ldr r4, [r0, #36] @ 0x24 + 8008432: 2c00 cmp r4, #0 + 8008434: d03d beq.n 80084b2 + 8008436: 7963 ldrb r3, [r4, #5] + 8008438: 2b08 cmp r3, #8 + 800843a: d13a bne.n 80084b2 + 800843c: 680a ldr r2, [r1, #0] + 800843e: 69e3 ldr r3, [r4, #28] + 8008440: 429a cmp r2, r3 + 8008442: d136 bne.n 80084b2 + 8008444: 210c movs r1, #12 + 8008446: 4620 mov r0, r4 + 8008448: f7ff f9c4 bl 80077d4 + 800844c: 2204 movs r2, #4 + 800844e: f10d 030e add.w r3, sp, #14 + 8008452: 4621 mov r1, r4 + 8008454: 4630 mov r0, r6 + 8008456: f7ff fa3b bl 80078d0 + 800845a: 4605 mov r5, r0 + 800845c: b310 cbz r0, 80084a4 + 800845e: 6847 ldr r7, [r0, #4] + 8008460: f8bd 000e ldrh.w r0, [sp, #14] + 8008464: 37f0 adds r7, #240 @ 0xf0 + 8008466: 2304 movs r3, #4 + 8008468: 2232 movs r2, #50 @ 0x32 + 800846a: 4639 mov r1, r7 + 800846c: f7ff f9d6 bl 800781c + 8008470: 4680 mov r8, r0 + 8008472: 69e0 ldr r0, [r4, #28] + 8008474: f7fa fe0a bl 800308c + 8008478: 4639 mov r1, r7 + 800847a: 4602 mov r2, r0 + 800847c: 4640 mov r0, r8 + 800847e: f7ff fa03 bl 8007888 + 8008482: 462a mov r2, r5 + 8008484: 4639 mov r1, r7 + 8008486: f7ff faaf bl 80079e8 + 800848a: 4b0e ldr r3, [pc, #56] @ (80084c4 ) + 800848c: 480e ldr r0, [pc, #56] @ (80084c8 ) + 800848e: 4a0f ldr r2, [pc, #60] @ (80084cc ) + 8008490: e9cd 6300 strd r6, r3, [sp] + 8008494: 4629 mov r1, r5 + 8008496: 6800 ldr r0, [r0, #0] + 8008498: 2343 movs r3, #67 @ 0x43 + 800849a: f7fe fff1 bl 8007480 + 800849e: 4628 mov r0, r5 + 80084a0: f7fb fb0e bl 8003ac0 + 80084a4: 79a3 ldrb r3, [r4, #6] + 80084a6: 2bff cmp r3, #255 @ 0xff + 80084a8: bf1c itt ne + 80084aa: 3301 addne r3, #1 + 80084ac: 71a3 strbne r3, [r4, #6] + 80084ae: 2314 movs r3, #20 + 80084b0: 8123 strh r3, [r4, #8] + 80084b2: b004 add sp, #16 + 80084b4: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80084b8: 0800c845 .word 0x0800c845 + 80084bc: 0800c9ee .word 0x0800c9ee + 80084c0: 0800b0a6 .word 0x0800b0a6 + 80084c4: 0800ce50 .word 0x0800ce50 + 80084c8: 20018ae0 .word 0x20018ae0 + 80084cc: 0800ce4c .word 0x0800ce4c + +080084d0 : + 80084d0: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 80084d4: 6a44 ldr r4, [r0, #36] @ 0x24 + 80084d6: b085 sub sp, #20 + 80084d8: 4607 mov r7, r0 + 80084da: 2105 movs r1, #5 + 80084dc: 4620 mov r0, r4 + 80084de: f7ff f979 bl 80077d4 + 80084e2: 2203 movs r2, #3 + 80084e4: f10d 030e add.w r3, sp, #14 + 80084e8: 4621 mov r1, r4 + 80084ea: 4638 mov r0, r7 + 80084ec: f7ff f9f0 bl 80078d0 + 80084f0: 4605 mov r5, r0 + 80084f2: 2800 cmp r0, #0 + 80084f4: d053 beq.n 800859e + 80084f6: 6846 ldr r6, [r0, #4] + 80084f8: f8bd 000e ldrh.w r0, [sp, #14] + 80084fc: f8df 90a8 ldr.w r9, [pc, #168] @ 80085a8 + 8008500: 36f0 adds r6, #240 @ 0xf0 + 8008502: 2302 movs r3, #2 + 8008504: 2239 movs r2, #57 @ 0x39 + 8008506: 4631 mov r1, r6 + 8008508: f7ff f988 bl 800781c + 800850c: 8d3a ldrh r2, [r7, #40] @ 0x28 + 800850e: 4631 mov r1, r6 + 8008510: f7ff f968 bl 80077e4 + 8008514: 2303 movs r3, #3 + 8008516: 2237 movs r2, #55 @ 0x37 + 8008518: 4631 mov r1, r6 + 800851a: f7ff f97f bl 800781c + 800851e: f04f 0803 mov.w r8, #3 + 8008522: f8ad 000e strh.w r0, [sp, #14] + 8008526: f819 2b01 ldrb.w r2, [r9], #1 + 800852a: f8bd 000e ldrh.w r0, [sp, #14] + 800852e: 4631 mov r1, r6 + 8008530: f7ff f992 bl 8007858 + 8008534: f108 38ff add.w r8, r8, #4294967295 + 8008538: f018 08ff ands.w r8, r8, #255 @ 0xff + 800853c: f8ad 000e strh.w r0, [sp, #14] + 8008540: d1f1 bne.n 8008526 + 8008542: 4631 mov r1, r6 + 8008544: 462a mov r2, r5 + 8008546: f7ff fa4f bl 80079e8 + 800854a: 4816 ldr r0, [pc, #88] @ (80085a4 ) + 800854c: 9700 str r7, [sp, #0] + 800854e: 6800 ldr r0, [r0, #0] + 8008550: 2343 movs r3, #67 @ 0x43 + 8008552: f104 0218 add.w r2, r4, #24 + 8008556: 4629 mov r1, r5 + 8008558: f7ff f82a bl 80075b0 + 800855c: 4606 mov r6, r0 + 800855e: 4628 mov r0, r5 + 8008560: f7fb faae bl 8003ac0 + 8008564: 79a3 ldrb r3, [r4, #6] + 8008566: 2bff cmp r3, #255 @ 0xff + 8008568: bf1c itt ne + 800856a: 3301 addne r3, #1 + 800856c: 71a3 strbne r3, [r4, #6] + 800856e: 79a3 ldrb r3, [r4, #6] + 8008570: 2b09 cmp r3, #9 + 8008572: bf9f itttt ls + 8008574: ebc3 1243 rsbls r2, r3, r3, lsl #5 + 8008578: eb03 0382 addls.w r3, r3, r2, lsl #2 + 800857c: 011b lslls r3, r3, #4 + 800857e: b29b uxthls r3, r3 + 8008580: bf88 it hi + 8008582: f644 6320 movwhi r3, #20000 @ 0x4e20 + 8008586: f44f 72fa mov.w r2, #500 @ 0x1f4 + 800858a: 4630 mov r0, r6 + 800858c: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 8008590: b29b uxth r3, r3 + 8008592: fbb3 f3f2 udiv r3, r3, r2 + 8008596: 8123 strh r3, [r4, #8] + 8008598: b005 add sp, #20 + 800859a: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800859e: f04f 36ff mov.w r6, #4294967295 + 80085a2: e7df b.n 8008564 + 80085a4: 20018ae0 .word 0x20018ae0 + 80085a8: 0800cb4a .word 0x0800cb4a + +080085ac : + 80085ac: b150 cbz r0, 80085c4 + 80085ae: 6a40 ldr r0, [r0, #36] @ 0x24 + 80085b0: b140 cbz r0, 80085c4 + 80085b2: 7940 ldrb r0, [r0, #5] + 80085b4: 280a cmp r0, #10 + 80085b6: d006 beq.n 80085c6 + 80085b8: 3804 subs r0, #4 + 80085ba: 2801 cmp r0, #1 + 80085bc: bf8c ite hi + 80085be: 2000 movhi r0, #0 + 80085c0: 2001 movls r0, #1 + 80085c2: b2c0 uxtb r0, r0 + 80085c4: 4770 bx lr + 80085c6: 2001 movs r0, #1 + 80085c8: e7fb b.n 80085c2 ... -08006e48 : - 8006e48: b513 push {r0, r1, r4, lr} - 8006e4a: 4604 mov r4, r0 - 8006e4c: b948 cbnz r0, 8006e62 - 8006e4e: 4b3e ldr r3, [pc, #248] ; (8006f48 ) - 8006e50: 493e ldr r1, [pc, #248] ; (8006f4c ) - 8006e52: f240 4215 movw r2, #1045 ; 0x415 - 8006e56: 483e ldr r0, [pc, #248] ; (8006f50 ) - 8006e58: b002 add sp, #8 - 8006e5a: e8bd 4010 ldmia.w sp!, {r4, lr} - 8006e5e: f002 baa3 b.w 80093a8 - 8006e62: 6a40 ldr r0, [r0, #36] ; 0x24 - 8006e64: b920 cbnz r0, 8006e70 - 8006e66: 4b38 ldr r3, [pc, #224] ; (8006f48 ) - 8006e68: 493a ldr r1, [pc, #232] ; (8006f54 ) - 8006e6a: f240 4217 movw r2, #1047 ; 0x417 - 8006e6e: e7f2 b.n 8006e56 - 8006e70: 2300 movs r3, #0 - 8006e72: 8243 strh r3, [r0, #18] - 8006e74: 6a83 ldr r3, [r0, #40] ; 0x28 - 8006e76: 1c5a adds r2, r3, #1 - 8006e78: d00c beq.n 8006e94 - 8006e7a: 331e adds r3, #30 - 8006e7c: f5b3 1f70 cmp.w r3, #3932160 ; 0x3c0000 - 8006e80: bf2e itee cs - 8006e82: f64f 73ff movwcs r3, #65535 ; 0xffff - 8006e86: 223c movcc r2, #60 ; 0x3c - 8006e88: fbb3 f3f2 udivcc r3, r3, r2 - 8006e8c: b29a uxth r2, r3 - 8006e8e: 2b00 cmp r3, #0 - 8006e90: d043 beq.n 8006f1a - 8006e92: 8282 strh r2, [r0, #20] - 8006e94: 6ac3 ldr r3, [r0, #44] ; 0x2c - 8006e96: 1c59 adds r1, r3, #1 - 8006e98: d00e beq.n 8006eb8 - 8006e9a: 331e adds r3, #30 - 8006e9c: f5b3 1f70 cmp.w r3, #3932160 ; 0x3c0000 - 8006ea0: bf2e itee cs - 8006ea2: f64f 73ff movwcs r3, #65535 ; 0xffff - 8006ea6: 223c movcc r2, #60 ; 0x3c - 8006ea8: fbb3 f3f2 udivcc r3, r3, r2 - 8006eac: b29a uxth r2, r3 - 8006eae: 2b00 cmp r3, #0 - 8006eb0: d036 beq.n 8006f20 - 8006eb2: 8142 strh r2, [r0, #10] - 8006eb4: 8943 ldrh r3, [r0, #10] - 8006eb6: 81c3 strh r3, [r0, #14] - 8006eb8: 6b03 ldr r3, [r0, #48] ; 0x30 - 8006eba: 1c5a adds r2, r3, #1 - 8006ebc: d00d beq.n 8006eda - 8006ebe: 331e adds r3, #30 - 8006ec0: f5b3 1f70 cmp.w r3, #3932160 ; 0x3c0000 - 8006ec4: bf2e itee cs - 8006ec6: f64f 73ff movwcs r3, #65535 ; 0xffff - 8006eca: 223c movcc r2, #60 ; 0x3c - 8006ecc: fbb3 f3f2 udivcc r3, r3, r2 - 8006ed0: b29a uxth r2, r3 - 8006ed2: b343 cbz r3, 8006f26 - 8006ed4: 8182 strh r2, [r0, #12] - 8006ed6: 8983 ldrh r3, [r0, #12] - 8006ed8: 8203 strh r3, [r0, #16] - 8006eda: 8983 ldrh r3, [r0, #12] - 8006edc: 8942 ldrh r2, [r0, #10] - 8006ede: 429a cmp r2, r3 - 8006ee0: d302 bcc.n 8006ee8 - 8006ee2: b10b cbz r3, 8006ee8 - 8006ee4: 2300 movs r3, #0 - 8006ee6: 8143 strh r3, [r0, #10] - 8006ee8: 79c3 ldrb r3, [r0, #7] - 8006eea: b1fb cbz r3, 8006f2c - 8006eec: 6a03 ldr r3, [r0, #32] - 8006eee: 9300 str r3, [sp, #0] - 8006ef0: 6a43 ldr r3, [r0, #36] ; 0x24 - 8006ef2: 9301 str r3, [sp, #4] - 8006ef4: b92b cbnz r3, 8006f02 - 8006ef6: 69c3 ldr r3, [r0, #28] - 8006ef8: 9a00 ldr r2, [sp, #0] - 8006efa: 4013 ands r3, r2 - 8006efc: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 8006f00: 9301 str r3, [sp, #4] - 8006f02: 210a movs r1, #10 - 8006f04: f7ff fdde bl 8006ac4 - 8006f08: 466a mov r2, sp - 8006f0a: f100 011c add.w r1, r0, #28 - 8006f0e: ab01 add r3, sp, #4 - 8006f10: 4620 mov r0, r4 - 8006f12: f7fb fd4f bl 80029b4 - 8006f16: b002 add sp, #8 - 8006f18: bd10 pop {r4, pc} - 8006f1a: 2301 movs r3, #1 - 8006f1c: 8283 strh r3, [r0, #20] - 8006f1e: e7b9 b.n 8006e94 - 8006f20: 2301 movs r3, #1 - 8006f22: 8143 strh r3, [r0, #10] - 8006f24: e7c6 b.n 8006eb4 - 8006f26: 2301 movs r3, #1 - 8006f28: 8183 strh r3, [r0, #12] - 8006f2a: e7d4 b.n 8006ed6 - 8006f2c: f990 201c ldrsb.w r2, [r0, #28] - 8006f30: 7f03 ldrb r3, [r0, #28] - 8006f32: 2a00 cmp r2, #0 - 8006f34: db01 blt.n 8006f3a - 8006f36: 23ff movs r3, #255 ; 0xff - 8006f38: e7d9 b.n 8006eee - 8006f3a: 2bbf cmp r3, #191 ; 0xbf - 8006f3c: bf8c ite hi - 8006f3e: f06f 437f mvnhi.w r3, #4278190080 ; 0xff000000 - 8006f42: f64f 73ff movwls r3, #65535 ; 0xffff - 8006f46: e7d2 b.n 8006eee - 8006f48: 0800bced .word 0x0800bced - 8006f4c: 0800be8b .word 0x0800be8b - 8006f50: 0800a54d .word 0x0800a54d - 8006f54: 0800bea4 .word 0x0800bea4 +080085cc : + 80085cc: e92d 41ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, lr} + 80085d0: 6a44 ldr r4, [r0, #36] @ 0x24 + 80085d2: 4606 mov r6, r0 + 80085d4: 2c00 cmp r4, #0 + 80085d6: d04c beq.n 8008672 + 80085d8: 7963 ldrb r3, [r4, #5] + 80085da: 2b00 cmp r3, #0 + 80085dc: d049 beq.n 8008672 + 80085de: 69a3 ldr r3, [r4, #24] + 80085e0: 9303 str r3, [sp, #12] + 80085e2: 2300 movs r3, #0 + 80085e4: e9c4 3306 strd r3, r3, [r4, #24] + 80085e8: e9c4 3308 strd r3, r3, [r4, #32] + 80085ec: e9c4 330b strd r3, r3, [r4, #44] @ 0x2c + 80085f0: 62a3 str r3, [r4, #40] @ 0x28 + 80085f2: 81e3 strh r3, [r4, #14] + 80085f4: 6123 str r3, [r4, #16] + 80085f6: 82a3 strh r3, [r4, #20] + 80085f8: f7ff ffd8 bl 80085ac + 80085fc: b348 cbz r0, 8008652 + 80085fe: f10d 030a add.w r3, sp, #10 + 8008602: 2207 movs r2, #7 + 8008604: 4621 mov r1, r4 + 8008606: 4630 mov r0, r6 + 8008608: f7ff f962 bl 80078d0 + 800860c: 4605 mov r5, r0 + 800860e: b300 cbz r0, 8008652 + 8008610: 6847 ldr r7, [r0, #4] + 8008612: f8bd 000a ldrh.w r0, [sp, #10] + 8008616: 37f0 adds r7, #240 @ 0xf0 + 8008618: 2304 movs r3, #4 + 800861a: 2236 movs r2, #54 @ 0x36 + 800861c: 4639 mov r1, r7 + 800861e: f7ff f8fd bl 800781c + 8008622: 4680 mov r8, r0 + 8008624: 9803 ldr r0, [sp, #12] + 8008626: f7fa fd31 bl 800308c + 800862a: 4639 mov r1, r7 + 800862c: 4602 mov r2, r0 + 800862e: 4640 mov r0, r8 + 8008630: f7ff f92a bl 8007888 + 8008634: 462a mov r2, r5 + 8008636: 4639 mov r1, r7 + 8008638: f7ff f9d6 bl 80079e8 + 800863c: 480e ldr r0, [pc, #56] @ (8008678 ) + 800863e: 9600 str r6, [sp, #0] + 8008640: 6800 ldr r0, [r0, #0] + 8008642: 2343 movs r3, #67 @ 0x43 + 8008644: aa03 add r2, sp, #12 + 8008646: 4629 mov r1, r5 + 8008648: f7fe ffb2 bl 80075b0 + 800864c: 4628 mov r0, r5 + 800864e: f7fb fa37 bl 8003ac0 + 8008652: 4b0a ldr r3, [pc, #40] @ (800867c ) + 8008654: 4630 mov r0, r6 + 8008656: 4619 mov r1, r3 + 8008658: 461a mov r2, r3 + 800865a: f7fb f827 bl 80036ac + 800865e: 2100 movs r1, #0 + 8008660: 4620 mov r0, r4 + 8008662: f7ff f8b7 bl 80077d4 + 8008666: 7923 ldrb r3, [r4, #4] + 8008668: b11b cbz r3, 8008672 + 800866a: f7ff fb23 bl 8007cb4 + 800866e: 2300 movs r3, #0 + 8008670: 7123 strb r3, [r4, #4] + 8008672: b004 add sp, #16 + 8008674: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8008678: 20018ae0 .word 0x20018ae0 + 800867c: 0800ce50 .word 0x0800ce50 -08006f58 : - 8006f58: b538 push {r3, r4, r5, lr} - 8006f5a: 4d15 ldr r5, [pc, #84] ; (8006fb0 ) - 8006f5c: 782b ldrb r3, [r5, #0] - 8006f5e: b9f3 cbnz r3, 8006f9e - 8006f60: 4c14 ldr r4, [pc, #80] ; (8006fb4 ) - 8006f62: 6823 ldr r3, [r4, #0] - 8006f64: b12b cbz r3, 8006f72 - 8006f66: 4b14 ldr r3, [pc, #80] ; (8006fb8 ) - 8006f68: 4914 ldr r1, [pc, #80] ; (8006fbc ) - 8006f6a: 4815 ldr r0, [pc, #84] ; (8006fc0 ) - 8006f6c: 22e5 movs r2, #229 ; 0xe5 - 8006f6e: f002 fa1b bl 80093a8 - 8006f72: f7ff fd83 bl 8006a7c - 8006f76: 6020 str r0, [r4, #0] - 8006f78: b1b0 cbz r0, 8006fa8 - 8006f7a: 7a42 ldrb r2, [r0, #9] - 8006f7c: 4911 ldr r1, [pc, #68] ; (8006fc4 ) - 8006f7e: f042 0220 orr.w r2, r2, #32 - 8006f82: 7242 strb r2, [r0, #9] - 8006f84: 2244 movs r2, #68 ; 0x44 - 8006f86: f7ff fbc7 bl 8006718 - 8006f8a: 490e ldr r1, [pc, #56] ; (8006fc4 ) - 8006f8c: 6820 ldr r0, [r4, #0] - 8006f8e: 2243 movs r2, #67 ; 0x43 - 8006f90: f7ff fd00 bl 8006994 - 8006f94: 490c ldr r1, [pc, #48] ; (8006fc8 ) - 8006f96: 6820 ldr r0, [r4, #0] - 8006f98: 2200 movs r2, #0 - 8006f9a: f7ff fd37 bl 8006a0c - 8006f9e: 782b ldrb r3, [r5, #0] - 8006fa0: 3301 adds r3, #1 - 8006fa2: 702b strb r3, [r5, #0] - 8006fa4: 2000 movs r0, #0 - 8006fa6: bd38 pop {r3, r4, r5, pc} - 8006fa8: f04f 30ff mov.w r0, #4294967295 - 8006fac: e7fb b.n 8006fa6 - 8006fae: bf00 nop - 8006fb0: 20008314 .word 0x20008314 - 8006fb4: 20008310 .word 0x20008310 - 8006fb8: 0800bced .word 0x0800bced - 8006fbc: 0800bebc .word 0x0800bebc - 8006fc0: 0800a54d .word 0x0800a54d - 8006fc4: 0800c304 .word 0x0800c304 - 8006fc8: 080072dd .word 0x080072dd +08008680 : + 8008680: b570 push {r4, r5, r6, lr} + 8008682: 4604 mov r4, r0 + 8008684: b950 cbnz r0, 800869c + 8008686: 4b24 ldr r3, [pc, #144] @ (8008718 ) + 8008688: 4924 ldr r1, [pc, #144] @ (800871c ) + 800868a: f240 22e7 movw r2, #743 @ 0x2e7 + 800868e: 4824 ldr r0, [pc, #144] @ (8008720 ) + 8008690: f001 fd72 bl 800a178 + 8008694: f06f 060f mvn.w r6, #15 + 8008698: 4630 mov r0, r6 + 800869a: bd70 pop {r4, r5, r6, pc} + 800869c: f890 3031 ldrb.w r3, [r0, #49] @ 0x31 + 80086a0: 07da lsls r2, r3, #31 + 80086a2: d404 bmi.n 80086ae + 80086a4: 4b1c ldr r3, [pc, #112] @ (8008718 ) + 80086a6: 491f ldr r1, [pc, #124] @ (8008724 ) + 80086a8: f44f 723a mov.w r2, #744 @ 0x2e8 + 80086ac: e7ef b.n 800868e + 80086ae: 8d03 ldrh r3, [r0, #40] @ 0x28 + 80086b0: 6a45 ldr r5, [r0, #36] @ 0x24 + 80086b2: f5b3 7f10 cmp.w r3, #576 @ 0x240 + 80086b6: d202 bcs.n 80086be + 80086b8: f04f 36ff mov.w r6, #4294967295 + 80086bc: e7ec b.n 8008698 + 80086be: b9dd cbnz r5, 80086f8 + 80086c0: 2034 movs r0, #52 @ 0x34 + 80086c2: f7fa fe63 bl 800338c + 80086c6: 4605 mov r5, r0 + 80086c8: 2800 cmp r0, #0 + 80086ca: d0f5 beq.n 80086b8 + 80086cc: 6260 str r0, [r4, #36] @ 0x24 + 80086ce: 2234 movs r2, #52 @ 0x34 + 80086d0: 2100 movs r1, #0 + 80086d2: 4628 mov r0, r5 + 80086d4: f001 fdb5 bl 800a242 + 80086d8: f7ff fab2 bl 8007c40 + 80086dc: 4606 mov r6, r0 + 80086de: 2800 cmp r0, #0 + 80086e0: d1ea bne.n 80086b8 + 80086e2: 2301 movs r3, #1 + 80086e4: 712b strb r3, [r5, #4] + 80086e6: f894 3031 ldrb.w r3, [r4, #49] @ 0x31 + 80086ea: 075b lsls r3, r3, #29 + 80086ec: d40a bmi.n 8008704 + 80086ee: 2102 movs r1, #2 + 80086f0: 4628 mov r0, r5 + 80086f2: f7ff f86f bl 80077d4 + 80086f6: e7cf b.n 8008698 + 80086f8: 792b ldrb r3, [r5, #4] + 80086fa: 2b00 cmp r3, #0 + 80086fc: d0e7 beq.n 80086ce + 80086fe: f7ff fad9 bl 8007cb4 + 8008702: e7e4 b.n 80086ce + 8008704: 4620 mov r0, r4 + 8008706: f7ff f98f bl 8007a28 + 800870a: 2800 cmp r0, #0 + 800870c: d0c4 beq.n 8008698 + 800870e: 4620 mov r0, r4 + 8008710: f7ff ff5c bl 80085cc + 8008714: e7d0 b.n 80086b8 + 8008716: bf00 nop + 8008718: 0800c845 .word 0x0800c845 + 800871c: 0800c9ee .word 0x0800c9ee + 8008720: 0800b0a6 .word 0x0800b0a6 + 8008724: 0800cb29 .word 0x0800cb29 -08006fcc : - 8006fcc: b538 push {r3, r4, r5, lr} - 8006fce: 4d0a ldr r5, [pc, #40] ; (8006ff8 ) - 8006fd0: 782b ldrb r3, [r5, #0] - 8006fd2: b92b cbnz r3, 8006fe0 - 8006fd4: 4b09 ldr r3, [pc, #36] ; (8006ffc ) - 8006fd6: 490a ldr r1, [pc, #40] ; (8007000 ) - 8006fd8: 480a ldr r0, [pc, #40] ; (8007004 ) - 8006fda: 22ff movs r2, #255 ; 0xff - 8006fdc: f002 f9e4 bl 80093a8 - 8006fe0: 782c ldrb r4, [r5, #0] - 8006fe2: 3c01 subs r4, #1 - 8006fe4: b2e4 uxtb r4, r4 - 8006fe6: 702c strb r4, [r5, #0] - 8006fe8: b924 cbnz r4, 8006ff4 - 8006fea: 4d07 ldr r5, [pc, #28] ; (8007008 ) - 8006fec: 6828 ldr r0, [r5, #0] - 8006fee: f7ff fd1f bl 8006a30 - 8006ff2: 602c str r4, [r5, #0] - 8006ff4: bd38 pop {r3, r4, r5, pc} - 8006ff6: bf00 nop - 8006ff8: 20008314 .word 0x20008314 - 8006ffc: 0800bced .word 0x0800bced - 8007000: 0800bee1 .word 0x0800bee1 - 8007004: 0800a54d .word 0x0800a54d - 8007008: 20008310 .word 0x20008310 +08008728 : + 8008728: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800872c: 4b53 ldr r3, [pc, #332] @ (800887c ) + 800872e: 681d ldr r5, [r3, #0] + 8008730: b085 sub sp, #20 + 8008732: b915 cbnz r5, 800873a + 8008734: b005 add sp, #20 + 8008736: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800873a: 6a6c ldr r4, [r5, #36] @ 0x24 + 800873c: b17c cbz r4, 800875e + 800873e: 7963 ldrb r3, [r4, #5] + 8008740: b16b cbz r3, 800875e + 8008742: 8aa1 ldrh r1, [r4, #20] + 8008744: b169 cbz r1, 8008762 + 8008746: 8a62 ldrh r2, [r4, #18] + 8008748: 3201 adds r2, #1 + 800874a: b292 uxth r2, r2 + 800874c: 4291 cmp r1, r2 + 800874e: 8262 strh r2, [r4, #18] + 8008750: d107 bne.n 8008762 + 8008752: 4628 mov r0, r5 + 8008754: f7ff ff3a bl 80085cc + 8008758: 4628 mov r0, r5 + 800875a: f7ff ff91 bl 8008680 + 800875e: 682d ldr r5, [r5, #0] + 8008760: e7e7 b.n 8008732 + 8008762: 8a22 ldrh r2, [r4, #16] + 8008764: 2a00 cmp r2, #0 + 8008766: d070 beq.n 800884a + 8008768: 1e51 subs r1, r2, #1 + 800876a: 2a01 cmp r2, #1 + 800876c: 8221 strh r1, [r4, #16] + 800876e: d16c bne.n 800884a + 8008770: 3b01 subs r3, #1 + 8008772: b2db uxtb r3, r3 + 8008774: 2b09 cmp r3, #9 + 8008776: d8f2 bhi.n 800875e + 8008778: f2a2 221b subw r2, r2, #539 @ 0x21b + 800877c: fa42 f303 asr.w r3, r2, r3 + 8008780: 07db lsls r3, r3, #31 + 8008782: d4ec bmi.n 800875e + 8008784: 2104 movs r1, #4 + 8008786: 4620 mov r0, r4 + 8008788: f7ff f824 bl 80077d4 + 800878c: 2203 movs r2, #3 + 800878e: f10d 030e add.w r3, sp, #14 + 8008792: 4621 mov r1, r4 + 8008794: 4628 mov r0, r5 + 8008796: f7ff f89b bl 80078d0 + 800879a: 4606 mov r6, r0 + 800879c: b3a0 cbz r0, 8008808 + 800879e: 6847 ldr r7, [r0, #4] + 80087a0: f8bd 000e ldrh.w r0, [sp, #14] + 80087a4: f8df 90e0 ldr.w r9, [pc, #224] @ 8008888 + 80087a8: 37f0 adds r7, #240 @ 0xf0 + 80087aa: 2302 movs r3, #2 + 80087ac: 2239 movs r2, #57 @ 0x39 + 80087ae: 4639 mov r1, r7 + 80087b0: f7ff f834 bl 800781c + 80087b4: 8d2a ldrh r2, [r5, #40] @ 0x28 + 80087b6: 4639 mov r1, r7 + 80087b8: f7ff f814 bl 80077e4 + 80087bc: 2303 movs r3, #3 + 80087be: 2237 movs r2, #55 @ 0x37 + 80087c0: 4639 mov r1, r7 + 80087c2: f7ff f82b bl 800781c + 80087c6: f04f 0803 mov.w r8, #3 + 80087ca: f8ad 000e strh.w r0, [sp, #14] + 80087ce: f819 2b01 ldrb.w r2, [r9], #1 + 80087d2: f8bd 000e ldrh.w r0, [sp, #14] + 80087d6: 4639 mov r1, r7 + 80087d8: f7ff f83e bl 8007858 + 80087dc: f108 38ff add.w r8, r8, #4294967295 + 80087e0: f018 08ff ands.w r8, r8, #255 @ 0xff + 80087e4: f8ad 000e strh.w r0, [sp, #14] + 80087e8: d1f1 bne.n 80087ce + 80087ea: 4632 mov r2, r6 + 80087ec: 4639 mov r1, r7 + 80087ee: f7ff f8fb bl 80079e8 + 80087f2: 4823 ldr r0, [pc, #140] @ (8008880 ) + 80087f4: 9500 str r5, [sp, #0] + 80087f6: 4a23 ldr r2, [pc, #140] @ (8008884 ) + 80087f8: 6800 ldr r0, [r0, #0] + 80087fa: 2343 movs r3, #67 @ 0x43 + 80087fc: 4631 mov r1, r6 + 80087fe: f7fe fed7 bl 80075b0 + 8008802: 4630 mov r0, r6 + 8008804: f7fb f95c bl 8003ac0 + 8008808: 79a3 ldrb r3, [r4, #6] + 800880a: 2bff cmp r3, #255 @ 0xff + 800880c: bf1c itt ne + 800880e: 3301 addne r3, #1 + 8008810: 71a3 strbne r3, [r4, #6] + 8008812: 79a3 ldrb r3, [r4, #6] + 8008814: 2b09 cmp r3, #9 + 8008816: bf9f itttt ls + 8008818: ebc3 1243 rsbls r2, r3, r3, lsl #5 + 800881c: eb03 0382 addls.w r3, r3, r2, lsl #2 + 8008820: 00db lslls r3, r3, #3 + 8008822: b29b uxthls r3, r3 + 8008824: bf88 it hi + 8008826: f242 7310 movwhi r3, #10000 @ 0x2710 + 800882a: f203 13f3 addw r3, r3, #499 @ 0x1f3 + 800882e: f44f 72fa mov.w r2, #500 @ 0x1f4 + 8008832: b29b uxth r3, r3 + 8008834: fbb3 f3f2 udiv r3, r3, r2 + 8008838: 8a62 ldrh r2, [r4, #18] + 800883a: 8123 strh r3, [r4, #8] + 800883c: 8aa3 ldrh r3, [r4, #20] + 800883e: 1a9b subs r3, r3, r2 + 8008840: 2b01 cmp r3, #1 + 8008842: dd8c ble.n 800875e + 8008844: 105b asrs r3, r3, #1 + 8008846: 8223 strh r3, [r4, #16] + 8008848: e789 b.n 800875e + 800884a: 89e2 ldrh r2, [r4, #14] + 800884c: 2a00 cmp r2, #0 + 800884e: d086 beq.n 800875e + 8008850: 1e51 subs r1, r2, #1 + 8008852: 2a01 cmp r2, #1 + 8008854: 81e1 strh r1, [r4, #14] + 8008856: d182 bne.n 800875e + 8008858: f003 02fb and.w r2, r3, #251 @ 0xfb + 800885c: 2a01 cmp r2, #1 + 800885e: d002 beq.n 8008866 + 8008860: 2b0a cmp r3, #10 + 8008862: f47f af7c bne.w 800875e + 8008866: 4628 mov r0, r5 + 8008868: f7ff fe32 bl 80084d0 + 800886c: 89a3 ldrh r3, [r4, #12] + 800886e: 8a62 ldrh r2, [r4, #18] + 8008870: 1a9b subs r3, r3, r2 + 8008872: 2b01 cmp r3, #1 + 8008874: bfc4 itt gt + 8008876: 105b asrgt r3, r3, #1 + 8008878: 81e3 strhgt r3, [r4, #14] + 800887a: e770 b.n 800875e + 800887c: 20018a74 .word 0x20018a74 + 8008880: 20018ae0 .word 0x20018ae0 + 8008884: 0800ce4c .word 0x0800ce4c + 8008888: 0800cb4a .word 0x0800cb4a -0800700c : - 800700c: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 8007010: 6a44 ldr r4, [r0, #36] ; 0x24 - 8007012: b085 sub sp, #20 - 8007014: 2103 movs r1, #3 - 8007016: 4607 mov r7, r0 - 8007018: 4620 mov r0, r4 - 800701a: f7ff fd53 bl 8006ac4 - 800701e: 460a mov r2, r1 - 8007020: f10d 030e add.w r3, sp, #14 - 8007024: 4621 mov r1, r4 - 8007026: 4638 mov r0, r7 - 8007028: f7ff fdca bl 8006bc0 - 800702c: 4606 mov r6, r0 - 800702e: 2800 cmp r0, #0 - 8007030: d04b beq.n 80070ca - 8007032: 6845 ldr r5, [r0, #4] - 8007034: f8bd 000e ldrh.w r0, [sp, #14] - 8007038: f8df 90d0 ldr.w r9, [pc, #208] ; 800710c - 800703c: 35f0 adds r5, #240 ; 0xf0 - 800703e: 2302 movs r3, #2 - 8007040: 2239 movs r2, #57 ; 0x39 - 8007042: 4629 mov r1, r5 - 8007044: f7ff fd62 bl 8006b0c - 8007048: f44f 7210 mov.w r2, #576 ; 0x240 - 800704c: 4629 mov r1, r5 - 800704e: f8ad 000e strh.w r0, [sp, #14] - 8007052: f7ff fd3f bl 8006ad4 - 8007056: 2304 movs r3, #4 - 8007058: 2232 movs r2, #50 ; 0x32 - 800705a: 4629 mov r1, r5 - 800705c: f8ad 000e strh.w r0, [sp, #14] - 8007060: f7ff fd54 bl 8006b0c - 8007064: 4680 mov r8, r0 - 8007066: f8ad 000e strh.w r0, [sp, #14] - 800706a: 69e0 ldr r0, [r4, #28] - 800706c: f7fb f96a bl 8002344 - 8007070: 4629 mov r1, r5 - 8007072: 4602 mov r2, r0 - 8007074: 4640 mov r0, r8 - 8007076: f7ff fd7f bl 8006b78 - 800707a: 2303 movs r3, #3 - 800707c: 2237 movs r2, #55 ; 0x37 - 800707e: 4629 mov r1, r5 - 8007080: f8ad 000e strh.w r0, [sp, #14] - 8007084: f7ff fd42 bl 8006b0c - 8007088: f04f 0803 mov.w r8, #3 - 800708c: f8ad 000e strh.w r0, [sp, #14] - 8007090: f819 2b01 ldrb.w r2, [r9], #1 - 8007094: f8bd 000e ldrh.w r0, [sp, #14] - 8007098: 4629 mov r1, r5 - 800709a: f7ff fd55 bl 8006b48 - 800709e: f108 38ff add.w r8, r8, #4294967295 - 80070a2: f018 08ff ands.w r8, r8, #255 ; 0xff - 80070a6: f8ad 000e strh.w r0, [sp, #14] - 80070aa: d1f1 bne.n 8007090 - 80070ac: 4632 mov r2, r6 - 80070ae: 4629 mov r1, r5 - 80070b0: f7ff fe1a bl 8006ce8 - 80070b4: 4813 ldr r0, [pc, #76] ; (8007104 ) - 80070b6: 9700 str r7, [sp, #0] - 80070b8: 4a13 ldr r2, [pc, #76] ; (8007108 ) - 80070ba: 6800 ldr r0, [r0, #0] - 80070bc: 2343 movs r3, #67 ; 0x43 - 80070be: 4631 mov r1, r6 - 80070c0: f7ff fc28 bl 8006914 - 80070c4: 4630 mov r0, r6 - 80070c6: f7fb fe85 bl 8002dd4 - 80070ca: 79a3 ldrb r3, [r4, #6] - 80070cc: 2bff cmp r3, #255 ; 0xff - 80070ce: bf1c itt ne - 80070d0: 3301 addne r3, #1 - 80070d2: 71a3 strbne r3, [r4, #6] - 80070d4: 79a3 ldrb r3, [r4, #6] - 80070d6: 2b09 cmp r3, #9 - 80070d8: bf9f itttt ls - 80070da: ebc3 1243 rsbls r2, r3, r3, lsl #5 - 80070de: eb03 0382 addls.w r3, r3, r2, lsl #2 - 80070e2: 00db lslls r3, r3, #3 - 80070e4: b29b uxthls r3, r3 - 80070e6: bf88 it hi - 80070e8: f242 7310 movwhi r3, #10000 ; 0x2710 - 80070ec: f44f 72fa mov.w r2, #500 ; 0x1f4 - 80070f0: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 80070f4: b29b uxth r3, r3 - 80070f6: fbb3 f3f2 udiv r3, r3, r2 - 80070fa: 8123 strh r3, [r4, #8] - 80070fc: b005 add sp, #20 - 80070fe: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 8007102: bf00 nop - 8007104: 20008310 .word 0x20008310 - 8007108: 0800c308 .word 0x0800c308 - 800710c: 0800c005 .word 0x0800c005 +0800888c : + 800888c: 4b25 ldr r3, [pc, #148] @ (8008924 ) + 800888e: b510 push {r4, lr} + 8008890: 681c ldr r4, [r3, #0] + 8008892: b904 cbnz r4, 8008896 + 8008894: bd10 pop {r4, pc} + 8008896: 6a63 ldr r3, [r4, #36] @ 0x24 + 8008898: b123 cbz r3, 80088a4 + 800889a: 891a ldrh r2, [r3, #8] + 800889c: 2a01 cmp r2, #1 + 800889e: d903 bls.n 80088a8 + 80088a0: 3a01 subs r2, #1 + 80088a2: 811a strh r2, [r3, #8] + 80088a4: 6824 ldr r4, [r4, #0] + 80088a6: e7f4 b.n 8008892 + 80088a8: d1fc bne.n 80088a4 + 80088aa: 2200 movs r2, #0 + 80088ac: 811a strh r2, [r3, #8] + 80088ae: 795a ldrb r2, [r3, #5] + 80088b0: 2a0c cmp r2, #12 + 80088b2: d015 beq.n 80088e0 + 80088b4: 3a01 subs r2, #1 + 80088b6: 2a07 cmp r2, #7 + 80088b8: d8f4 bhi.n 80088a4 + 80088ba: a101 add r1, pc, #4 @ (adr r1, 80088c0 ) + 80088bc: f851 f022 ldr.w pc, [r1, r2, lsl #2] + 80088c0: 080088e9 .word 0x080088e9 + 80088c4: 080088a5 .word 0x080088a5 + 80088c8: 08008917 .word 0x08008917 + 80088cc: 080088a5 .word 0x080088a5 + 80088d0: 080088a5 .word 0x080088a5 + 80088d4: 080088e1 .word 0x080088e1 + 80088d8: 080088a5 .word 0x080088a5 + 80088dc: 08008903 .word 0x08008903 + 80088e0: 4620 mov r0, r4 + 80088e2: f7ff f8a1 bl 8007a28 + 80088e6: e7dd b.n 80088a4 + 80088e8: 799b ldrb r3, [r3, #6] + 80088ea: 2b05 cmp r3, #5 + 80088ec: 4620 mov r0, r4 + 80088ee: d802 bhi.n 80088f6 + 80088f0: f7ff fab0 bl 8007e54 + 80088f4: e7d6 b.n 80088a4 + 80088f6: f7ff fe69 bl 80085cc + 80088fa: 4620 mov r0, r4 + 80088fc: f7ff fec0 bl 8008680 + 8008900: e7d0 b.n 80088a4 + 8008902: 799b ldrb r3, [r3, #6] + 8008904: 2b01 cmp r3, #1 + 8008906: 4620 mov r0, r4 + 8008908: d802 bhi.n 8008910 + 800890a: f7ff f8ff bl 8007b0c + 800890e: e7c9 b.n 80088a4 + 8008910: f7ff f912 bl 8007b38 + 8008914: e7c6 b.n 80088a4 + 8008916: 799b ldrb r3, [r3, #6] + 8008918: 2b01 cmp r3, #1 + 800891a: 4620 mov r0, r4 + 800891c: d8e1 bhi.n 80088e2 + 800891e: f7ff f9e9 bl 8007cf4 + 8008922: e7bf b.n 80088a4 + 8008924: 20018a74 .word 0x20018a74 -08007110 : - 8007110: b538 push {r3, r4, r5, lr} - 8007112: 4d17 ldr r5, [pc, #92] ; (8007170 ) - 8007114: 2300 movs r3, #0 - 8007116: e9c0 3308 strd r3, r3, [r0, #32] - 800711a: 78eb ldrb r3, [r5, #3] - 800711c: 4604 mov r4, r0 - 800711e: b113 cbz r3, 8007126 - 8007120: 4b14 ldr r3, [pc, #80] ; (8007174 ) - 8007122: 68db ldr r3, [r3, #12] - 8007124: 6283 str r3, [r0, #40] ; 0x28 - 8007126: 792b ldrb r3, [r5, #4] - 8007128: b1d3 cbz r3, 8007160 - 800712a: 4b12 ldr r3, [pc, #72] ; (8007174 ) - 800712c: 691b ldr r3, [r3, #16] - 800712e: 62e3 str r3, [r4, #44] ; 0x2c - 8007130: 796b ldrb r3, [r5, #5] - 8007132: b1c3 cbz r3, 8007166 - 8007134: 4b0f ldr r3, [pc, #60] ; (8007174 ) - 8007136: 695b ldr r3, [r3, #20] - 8007138: 6323 str r3, [r4, #48] ; 0x30 - 800713a: 690b ldr r3, [r1, #16] - 800713c: 61e3 str r3, [r4, #28] - 800713e: 79ab ldrb r3, [r5, #6] - 8007140: b12b cbz r3, 800714e - 8007142: 4b0c ldr r3, [pc, #48] ; (8007174 ) - 8007144: 6998 ldr r0, [r3, #24] - 8007146: f7fb f8fd bl 8002344 - 800714a: 2301 movs r3, #1 - 800714c: 6220 str r0, [r4, #32] - 800714e: 71e3 strb r3, [r4, #7] - 8007150: 79eb ldrb r3, [r5, #7] - 8007152: b123 cbz r3, 800715e - 8007154: 4b07 ldr r3, [pc, #28] ; (8007174 ) - 8007156: 69d8 ldr r0, [r3, #28] - 8007158: f7fb f8f4 bl 8002344 - 800715c: 6260 str r0, [r4, #36] ; 0x24 - 800715e: bd38 pop {r3, r4, r5, pc} - 8007160: 6aa3 ldr r3, [r4, #40] ; 0x28 - 8007162: 085b lsrs r3, r3, #1 - 8007164: e7e3 b.n 800712e - 8007166: 6aa3 ldr r3, [r4, #40] ; 0x28 - 8007168: ebc3 03c3 rsb r3, r3, r3, lsl #3 - 800716c: 08db lsrs r3, r3, #3 - 800716e: e7e3 b.n 8007138 - 8007170: 20008315 .word 0x20008315 - 8007174: 20008320 .word 0x20008320 +08008928 : + 8008928: b570 push {r4, r5, r6, lr} + 800892a: 2618 movs r6, #24 + 800892c: 4c07 ldr r4, [pc, #28] @ (800894c ) + 800892e: 4346 muls r6, r0 + 8008930: 4605 mov r5, r0 + 8008932: 59a0 ldr r0, [r4, r6] + 8008934: b118 cbz r0, 800893e + 8008936: f7fb f8c3 bl 8003ac0 + 800893a: 2300 movs r3, #0 + 800893c: 51a3 str r3, [r4, r6] + 800893e: 2318 movs r3, #24 + 8008940: fb03 4405 mla r4, r3, r5, r4 + 8008944: 2300 movs r3, #0 + 8008946: 7523 strb r3, [r4, #20] + 8008948: bd70 pop {r4, r5, r6, pc} + 800894a: bf00 nop + 800894c: 20018b10 .word 0x20018b10 -08007178 : - 8007178: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800717c: 4607 mov r7, r0 - 800717e: b085 sub sp, #20 - 8007180: b948 cbnz r0, 8007196 - 8007182: 4b4e ldr r3, [pc, #312] ; (80072bc ) - 8007184: 494e ldr r1, [pc, #312] ; (80072c0 ) - 8007186: f240 1277 movw r2, #375 ; 0x177 - 800718a: 484e ldr r0, [pc, #312] ; (80072c4 ) - 800718c: b005 add sp, #20 - 800718e: e8bd 43f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, lr} - 8007192: f002 b909 b.w 80093a8 - 8007196: 6a44 ldr r4, [r0, #36] ; 0x24 - 8007198: b924 cbnz r4, 80071a4 - 800719a: 4b48 ldr r3, [pc, #288] ; (80072bc ) - 800719c: 494a ldr r1, [pc, #296] ; (80072c8 ) - 800719e: f240 1279 movw r2, #377 ; 0x179 - 80071a2: e7f2 b.n 800718a - 80071a4: 2101 movs r1, #1 - 80071a6: 4620 mov r0, r4 - 80071a8: f7ff fc8c bl 8006ac4 - 80071ac: 2203 movs r2, #3 - 80071ae: f10d 030e add.w r3, sp, #14 - 80071b2: 4621 mov r1, r4 - 80071b4: 4638 mov r0, r7 - 80071b6: f7ff fd03 bl 8006bc0 - 80071ba: 4606 mov r6, r0 - 80071bc: 2800 cmp r0, #0 - 80071be: d05e beq.n 800727e - 80071c0: 6845 ldr r5, [r0, #4] - 80071c2: f8bd 000e ldrh.w r0, [sp, #14] - 80071c6: f8df 9110 ldr.w r9, [pc, #272] ; 80072d8 - 80071ca: 35f0 adds r5, #240 ; 0xf0 - 80071cc: 2302 movs r3, #2 - 80071ce: 2239 movs r2, #57 ; 0x39 - 80071d0: 4629 mov r1, r5 - 80071d2: f7ff fc9b bl 8006b0c - 80071d6: 8d3a ldrh r2, [r7, #40] ; 0x28 - 80071d8: f8ad 000e strh.w r0, [sp, #14] - 80071dc: 4629 mov r1, r5 - 80071de: f7ff fc79 bl 8006ad4 - 80071e2: 2304 movs r3, #4 - 80071e4: 2232 movs r2, #50 ; 0x32 - 80071e6: 4629 mov r1, r5 - 80071e8: f8ad 000e strh.w r0, [sp, #14] - 80071ec: f7ff fc8e bl 8006b0c - 80071f0: 4680 mov r8, r0 - 80071f2: f8ad 000e strh.w r0, [sp, #14] - 80071f6: 69e0 ldr r0, [r4, #28] - 80071f8: f7fb f8a4 bl 8002344 - 80071fc: 4629 mov r1, r5 - 80071fe: 4602 mov r2, r0 - 8007200: 4640 mov r0, r8 - 8007202: f7ff fcb9 bl 8006b78 - 8007206: 2304 movs r3, #4 - 8007208: 2236 movs r2, #54 ; 0x36 - 800720a: 4629 mov r1, r5 - 800720c: f8ad 000e strh.w r0, [sp, #14] - 8007210: f7ff fc7c bl 8006b0c - 8007214: 4680 mov r8, r0 - 8007216: f8ad 000e strh.w r0, [sp, #14] - 800721a: 69a0 ldr r0, [r4, #24] - 800721c: f7fb f892 bl 8002344 - 8007220: 4629 mov r1, r5 - 8007222: 4602 mov r2, r0 - 8007224: 4640 mov r0, r8 - 8007226: f7ff fca7 bl 8006b78 - 800722a: 2303 movs r3, #3 - 800722c: 2237 movs r2, #55 ; 0x37 - 800722e: 4629 mov r1, r5 - 8007230: f8ad 000e strh.w r0, [sp, #14] - 8007234: f7ff fc6a bl 8006b0c - 8007238: f04f 0803 mov.w r8, #3 - 800723c: f8ad 000e strh.w r0, [sp, #14] - 8007240: f819 2b01 ldrb.w r2, [r9], #1 - 8007244: f8bd 000e ldrh.w r0, [sp, #14] - 8007248: 4629 mov r1, r5 - 800724a: f7ff fc7d bl 8006b48 - 800724e: f108 38ff add.w r8, r8, #4294967295 - 8007252: f018 08ff ands.w r8, r8, #255 ; 0xff - 8007256: f8ad 000e strh.w r0, [sp, #14] - 800725a: d1f1 bne.n 8007240 - 800725c: 4632 mov r2, r6 - 800725e: 4629 mov r1, r5 - 8007260: f7ff fd42 bl 8006ce8 - 8007264: 4b19 ldr r3, [pc, #100] ; (80072cc ) - 8007266: 481a ldr r0, [pc, #104] ; (80072d0 ) - 8007268: 4a1a ldr r2, [pc, #104] ; (80072d4 ) - 800726a: e9cd 7300 strd r7, r3, [sp] - 800726e: 4631 mov r1, r6 - 8007270: 6800 ldr r0, [r0, #0] - 8007272: 2343 movs r3, #67 ; 0x43 - 8007274: f7ff fab6 bl 80067e4 - 8007278: 4630 mov r0, r6 - 800727a: f7fb fdab bl 8002dd4 - 800727e: 79a3 ldrb r3, [r4, #6] - 8007280: 2bff cmp r3, #255 ; 0xff - 8007282: bf1c itt ne - 8007284: 3301 addne r3, #1 - 8007286: 71a3 strbne r3, [r4, #6] - 8007288: 79a2 ldrb r2, [r4, #6] - 800728a: 2a05 cmp r2, #5 - 800728c: bf9f itttt ls - 800728e: 2301 movls r3, #1 - 8007290: 4093 lslls r3, r2 - 8007292: ebc3 1243 rsbls r2, r3, r3, lsl #5 - 8007296: eb03 0382 addls.w r3, r3, r2, lsl #2 - 800729a: bf9a itte ls - 800729c: 00db lslls r3, r3, #3 - 800729e: b29b uxthls r3, r3 - 80072a0: f64e 2360 movwhi r3, #60000 ; 0xea60 - 80072a4: f44f 72fa mov.w r2, #500 ; 0x1f4 - 80072a8: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 80072ac: b29b uxth r3, r3 - 80072ae: fbb3 f3f2 udiv r3, r3, r2 - 80072b2: 8123 strh r3, [r4, #8] - 80072b4: b005 add sp, #20 - 80072b6: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 80072ba: bf00 nop - 80072bc: 0800bced .word 0x0800bced - 80072c0: 0800bf05 .word 0x0800bf05 - 80072c4: 0800a54d .word 0x0800a54d - 80072c8: 0800bf20 .word 0x0800bf20 - 80072cc: 0800c304 .word 0x0800c304 - 80072d0: 20008310 .word 0x20008310 - 80072d4: 0800c308 .word 0x0800c308 - 80072d8: 0800c005 .word 0x0800c005 +08008950 : + 8008950: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8008954: f04f 0c00 mov.w ip, #0 + 8008958: b085 sub sp, #20 + 800895a: 4b42 ldr r3, [pc, #264] @ (8008a64 ) + 800895c: 9103 str r1, [sp, #12] + 800895e: e9cd cc01 strd ip, ip, [sp, #4] + 8008962: f04f 0e0a mov.w lr, #10 + 8008966: 4606 mov r6, r0 + 8008968: 4617 mov r7, r2 + 800896a: 46e3 mov fp, ip + 800896c: 4674 mov r4, lr + 800896e: 46f0 mov r8, lr + 8008970: 46f1 mov r9, lr + 8008972: 461d mov r5, r3 + 8008974: 2c0a cmp r4, #10 + 8008976: f893 a014 ldrb.w sl, [r3, #20] + 800897a: fa0f f08c sxth.w r0, ip + 800897e: d119 bne.n 80089b4 + 8008980: f1ba 0f00 cmp.w sl, #0 + 8008984: d061 beq.n 8008a4a + 8008986: b146 cbz r6, 800899a + 8008988: 6831 ldr r1, [r6, #0] + 800898a: 685a ldr r2, [r3, #4] + 800898c: 4291 cmp r1, r2 + 800898e: d104 bne.n 800899a + 8008990: 2f00 cmp r7, #0 + 8008992: d04c beq.n 8008a2e + 8008994: 6899 ldr r1, [r3, #8] + 8008996: 42b9 cmp r1, r7 + 8008998: d049 beq.n 8008a2e + 800899a: f1ba 0f01 cmp.w sl, #1 + 800899e: 8a59 ldrh r1, [r3, #18] + 80089a0: d14e bne.n 8008a40 + 80089a2: 681a ldr r2, [r3, #0] + 80089a4: 2a00 cmp r2, #0 + 80089a6: d045 beq.n 8008a34 + 80089a8: 9a01 ldr r2, [sp, #4] + 80089aa: 428a cmp r2, r1 + 80089ac: d805 bhi.n 80089ba + 80089ae: 9101 str r1, [sp, #4] + 80089b0: 4686 mov lr, r0 + 80089b2: e002 b.n 80089ba + 80089b4: f1ba 0f00 cmp.w sl, #0 + 80089b8: d1e5 bne.n 8008986 + 80089ba: f10c 0c01 add.w ip, ip, #1 + 80089be: f1bc 0f0a cmp.w ip, #10 + 80089c2: f103 0318 add.w r3, r3, #24 + 80089c6: d1d5 bne.n 8008974 + 80089c8: 9b03 ldr r3, [sp, #12] + 80089ca: 2b01 cmp r3, #1 + 80089cc: d147 bne.n 8008a5e + 80089ce: 2c0a cmp r4, #10 + 80089d0: d113 bne.n 80089fa + 80089d2: f1b8 0f0a cmp.w r8, #10 + 80089d6: d03a beq.n 8008a4e + 80089d8: 2318 movs r3, #24 + 80089da: fb03 f308 mul.w r3, r3, r8 + 80089de: 58eb ldr r3, [r5, r3] + 80089e0: b133 cbz r3, 80089f0 + 80089e2: 4b21 ldr r3, [pc, #132] @ (8008a68 ) + 80089e4: 4921 ldr r1, [pc, #132] @ (8008a6c ) + 80089e6: 4822 ldr r0, [pc, #136] @ (8008a70 ) + 80089e8: f240 126d movw r2, #365 @ 0x16d + 80089ec: f001 fbc4 bl 800a178 + 80089f0: 46c1 mov r9, r8 + 80089f2: 4648 mov r0, r9 + 80089f4: f7ff ff98 bl 8008928 + 80089f8: 464c mov r4, r9 + 80089fa: 2318 movs r3, #24 + 80089fc: fb03 5304 mla r3, r3, r4, r5 + 8008a00: 7d1b ldrb r3, [r3, #20] + 8008a02: b133 cbz r3, 8008a12 + 8008a04: 4b18 ldr r3, [pc, #96] @ (8008a68 ) + 8008a06: 491b ldr r1, [pc, #108] @ (8008a74 ) + 8008a08: 4819 ldr r0, [pc, #100] @ (8008a70 ) + 8008a0a: f44f 72c2 mov.w r2, #388 @ 0x184 + 8008a0e: f001 fbb3 bl 800a178 + 8008a12: b12e cbz r6, 8008a20 + 8008a14: 4b13 ldr r3, [pc, #76] @ (8008a64 ) + 8008a16: 6832 ldr r2, [r6, #0] + 8008a18: 2118 movs r1, #24 + 8008a1a: fb01 3304 mla r3, r1, r4, r3 + 8008a1e: 605a str r2, [r3, #4] + 8008a20: 2318 movs r3, #24 + 8008a22: fb03 5504 mla r5, r3, r4, r5 + 8008a26: 2300 movs r3, #0 + 8008a28: 826b strh r3, [r5, #18] + 8008a2a: 60af str r7, [r5, #8] + 8008a2c: 4620 mov r0, r4 + 8008a2e: b005 add sp, #20 + 8008a30: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8008a34: 9a02 ldr r2, [sp, #8] + 8008a36: 428a cmp r2, r1 + 8008a38: d8bf bhi.n 80089ba + 8008a3a: 9102 str r1, [sp, #8] + 8008a3c: 4681 mov r9, r0 + 8008a3e: e7bc b.n 80089ba + 8008a40: 4559 cmp r1, fp + 8008a42: d3ba bcc.n 80089ba + 8008a44: 468b mov fp, r1 + 8008a46: 4680 mov r8, r0 + 8008a48: e7b7 b.n 80089ba + 8008a4a: 4604 mov r4, r0 + 8008a4c: e7b5 b.n 80089ba + 8008a4e: f1b9 0f0a cmp.w r9, #10 + 8008a52: d1ce bne.n 80089f2 + 8008a54: f1be 0f0a cmp.w lr, #10 + 8008a58: d001 beq.n 8008a5e + 8008a5a: 46f1 mov r9, lr + 8008a5c: e7c9 b.n 80089f2 + 8008a5e: f04f 30ff mov.w r0, #4294967295 + 8008a62: e7e4 b.n 8008a2e + 8008a64: 20018b10 .word 0x20018b10 + 8008a68: 0800cb4d .word 0x0800cb4d + 8008a6c: 0800cb84 .word 0x0800cb84 + 8008a70: 0800b0a6 .word 0x0800b0a6 + 8008a74: 0800cb9b .word 0x0800cb9b -080072dc : - 80072dc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80072e0: 4b9e ldr r3, [pc, #632] ; (800755c ) - 80072e2: 685d ldr r5, [r3, #4] - 80072e4: b089 sub sp, #36 ; 0x24 - 80072e6: 6a6b ldr r3, [r5, #36] ; 0x24 - 80072e8: 9201 str r2, [sp, #4] - 80072ea: 9302 str r3, [sp, #8] - 80072ec: 2b00 cmp r3, #0 - 80072ee: d03d beq.n 800736c - 80072f0: 791b ldrb r3, [r3, #4] - 80072f2: 2b00 cmp r3, #0 - 80072f4: d03a beq.n 800736c - 80072f6: 8953 ldrh r3, [r2, #10] - 80072f8: 2b2b cmp r3, #43 ; 0x2b - 80072fa: d937 bls.n 800736c - 80072fc: 6852 ldr r2, [r2, #4] - 80072fe: 7813 ldrb r3, [r2, #0] - 8007300: 2b02 cmp r3, #2 - 8007302: d133 bne.n 800736c - 8007304: f895 4030 ldrb.w r4, [r5, #48] ; 0x30 - 8007308: f105 002a add.w r0, r5, #42 ; 0x2a - 800730c: f102 011c add.w r1, r2, #28 - 8007310: 2300 movs r3, #0 - 8007312: b2de uxtb r6, r3 - 8007314: 42b4 cmp r4, r6 - 8007316: d901 bls.n 800731c - 8007318: 2b06 cmp r3, #6 - 800731a: d11f bne.n 800735c - 800731c: 6850 ldr r0, [r2, #4] - 800731e: f7fb f811 bl 8002344 - 8007322: 9b02 ldr r3, [sp, #8] - 8007324: 681b ldr r3, [r3, #0] - 8007326: 4298 cmp r0, r3 - 8007328: d120 bne.n 800736c - 800732a: f8df b25c ldr.w fp, [pc, #604] ; 8007588 - 800732e: 9a01 ldr r2, [sp, #4] - 8007330: 2300 movs r3, #0 - 8007332: f8cb 3004 str.w r3, [fp, #4] - 8007336: 8952 ldrh r2, [r2, #10] - 8007338: f8cb 3000 str.w r3, [fp] - 800733c: 2a2b cmp r2, #43 ; 0x2b - 800733e: d915 bls.n 800736c - 8007340: 9a01 ldr r2, [sp, #4] - 8007342: 9303 str r3, [sp, #12] - 8007344: f8b2 9008 ldrh.w r9, [r2, #8] - 8007348: f04f 0af0 mov.w sl, #240 ; 0xf0 - 800734c: 9e01 ldr r6, [sp, #4] - 800734e: 8973 ldrh r3, [r6, #10] - 8007350: 4553 cmp r3, sl - 8007352: d911 bls.n 8007378 - 8007354: 6873 ldr r3, [r6, #4] - 8007356: 9305 str r3, [sp, #20] - 8007358: 4654 mov r4, sl - 800735a: e0d6 b.n 800750a - 800735c: f810 7b01 ldrb.w r7, [r0], #1 - 8007360: f811 6b01 ldrb.w r6, [r1], #1 - 8007364: 42b7 cmp r7, r6 - 8007366: f103 0301 add.w r3, r3, #1 - 800736a: d0d2 beq.n 8007312 - 800736c: 9801 ldr r0, [sp, #4] - 800736e: b009 add sp, #36 ; 0x24 - 8007370: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8007374: f7fb bd2e b.w 8002dd4 - 8007378: 6836 ldr r6, [r6, #0] - 800737a: ebaa 0203 sub.w r2, sl, r3 - 800737e: eba9 0903 sub.w r9, r9, r3 - 8007382: fa1f fa82 uxth.w sl, r2 - 8007386: fa1f f989 uxth.w r9, r9 - 800738a: 2e00 cmp r6, #0 - 800738c: d1df bne.n 800734e - 800738e: e7ed b.n 800736c - 8007390: 1ca3 adds r3, r4, #2 - 8007392: b29b uxth r3, r3 - 8007394: 42a3 cmp r3, r4 - 8007396: 9304 str r3, [sp, #16] - 8007398: d3e8 bcc.n 800736c - 800739a: 8973 ldrh r3, [r6, #10] - 800739c: 1c60 adds r0, r4, #1 - 800739e: 4298 cmp r0, r3 - 80073a0: da16 bge.n 80073d0 - 80073a2: 9b05 ldr r3, [sp, #20] - 80073a4: 4423 add r3, r4 - 80073a6: 785b ldrb r3, [r3, #1] - 80073a8: 2a3b cmp r2, #59 ; 0x3b - 80073aa: d854 bhi.n 8007456 - 80073ac: 2a32 cmp r2, #50 ; 0x32 - 80073ae: f200 8186 bhi.w 80076be - 80073b2: 2a01 cmp r2, #1 - 80073b4: d013 beq.n 80073de - 80073b6: 2a03 cmp r2, #3 - 80073b8: d14d bne.n 8007456 - 80073ba: 2b03 cmp r3, #3 - 80073bc: f200 8168 bhi.w 8007690 - 80073c0: 4b67 ldr r3, [pc, #412] ; (8007560 ) - 80073c2: 4968 ldr r1, [pc, #416] ; (8007564 ) - 80073c4: f240 6233 movw r2, #1587 ; 0x633 - 80073c8: 4867 ldr r0, [pc, #412] ; (8007568 ) - 80073ca: f001 ffed bl 80093a8 - 80073ce: e7cd b.n 800736c - 80073d0: 6833 ldr r3, [r6, #0] - 80073d2: 2b00 cmp r3, #0 - 80073d4: f000 8132 beq.w 800763c - 80073d8: 685b ldr r3, [r3, #4] - 80073da: 781b ldrb r3, [r3, #0] - 80073dc: e7e4 b.n 80073a8 - 80073de: 2b04 cmp r3, #4 - 80073e0: f000 8152 beq.w 8007688 - 80073e4: 4b5e ldr r3, [pc, #376] ; (8007560 ) - 80073e6: f240 622e movw r2, #1582 ; 0x62e - 80073ea: 4960 ldr r1, [pc, #384] ; (800756c ) - 80073ec: e7ec b.n 80073c8 - 80073ee: 2b04 cmp r3, #4 - 80073f0: f000 8152 beq.w 8007698 - 80073f4: 4b5a ldr r3, [pc, #360] ; (8007560 ) - 80073f6: f240 6241 movw r2, #1601 ; 0x641 - 80073fa: e7f6 b.n 80073ea - 80073fc: 2b01 cmp r3, #1 - 80073fe: d004 beq.n 800740a - 8007400: 4b57 ldr r3, [pc, #348] ; (8007560 ) - 8007402: f240 624f movw r2, #1615 ; 0x64f - 8007406: 495a ldr r1, [pc, #360] ; (8007570 ) - 8007408: e7de b.n 80073c8 - 800740a: f1ba 0ff0 cmp.w sl, #240 ; 0xf0 - 800740e: f000 8147 beq.w 80076a0 - 8007412: 4b53 ldr r3, [pc, #332] ; (8007560 ) - 8007414: 4957 ldr r1, [pc, #348] ; (8007574 ) - 8007416: f240 6251 movw r2, #1617 ; 0x651 - 800741a: e7d5 b.n 80073c8 - 800741c: 2b01 cmp r3, #1 - 800741e: f000 8147 beq.w 80076b0 - 8007422: 4b4f ldr r3, [pc, #316] ; (8007560 ) - 8007424: f240 6255 movw r2, #1621 ; 0x655 - 8007428: e7ed b.n 8007406 - 800742a: 2b04 cmp r3, #4 - 800742c: f000 813c beq.w 80076a8 - 8007430: 4b4b ldr r3, [pc, #300] ; (8007560 ) - 8007432: f240 6259 movw r2, #1625 ; 0x659 - 8007436: e7d8 b.n 80073ea - 8007438: 2b04 cmp r3, #4 - 800743a: f000 8139 beq.w 80076b0 - 800743e: 4b48 ldr r3, [pc, #288] ; (8007560 ) - 8007440: f240 625d movw r2, #1629 ; 0x65d - 8007444: e7d1 b.n 80073ea - 8007446: 2b04 cmp r3, #4 - 8007448: f000 8135 beq.w 80076b6 - 800744c: 4b44 ldr r3, [pc, #272] ; (8007560 ) - 800744e: f240 6261 movw r2, #1633 ; 0x661 - 8007452: e7ca b.n 80073ea - 8007454: 2300 movs r3, #0 - 8007456: b9a2 cbnz r2, 8007482 - 8007458: b284 uxth r4, r0 - 800745a: 8973 ldrh r3, [r6, #10] - 800745c: 42a3 cmp r3, r4 - 800745e: d854 bhi.n 800750a - 8007460: 1ae4 subs r4, r4, r3 - 8007462: eba9 0903 sub.w r9, r9, r3 - 8007466: b2a4 uxth r4, r4 - 8007468: fa1f f989 uxth.w r9, r9 - 800746c: 454c cmp r4, r9 - 800746e: f4bf af7d bcs.w 800736c - 8007472: 6836 ldr r6, [r6, #0] - 8007474: 2e00 cmp r6, #0 - 8007476: d146 bne.n 8007506 - 8007478: 4b39 ldr r3, [pc, #228] ; (8007560 ) - 800747a: 493f ldr r1, [pc, #252] ; (8007578 ) - 800747c: f240 629d movw r2, #1693 ; 0x69d - 8007480: e7a2 b.n 80073c8 - 8007482: f04f 38ff mov.w r8, #4294967295 - 8007486: 2700 movs r7, #0 - 8007488: 441c add r4, r3 - 800748a: f64f 72fd movw r2, #65533 ; 0xfffd - 800748e: 4294 cmp r4, r2 - 8007490: f73f af6c bgt.w 800736c - 8007494: 9a04 ldr r2, [sp, #16] - 8007496: 4413 add r3, r2 - 8007498: b29c uxth r4, r3 - 800749a: 2f00 cmp r7, #0 - 800749c: d0dd beq.n 800745a - 800749e: 2300 movs r3, #0 - 80074a0: f1b8 0f07 cmp.w r8, #7 - 80074a4: 9307 str r3, [sp, #28] - 80074a6: d906 bls.n 80074b6 - 80074a8: 4b2d ldr r3, [pc, #180] ; (8007560 ) - 80074aa: 4934 ldr r1, [pc, #208] ; (800757c ) - 80074ac: 482e ldr r0, [pc, #184] ; (8007568 ) - 80074ae: f44f 62cf mov.w r2, #1656 ; 0x678 - 80074b2: f001 ff79 bl 80093a8 - 80074b6: f81b 3008 ldrb.w r3, [fp, r8] - 80074ba: 2b00 cmp r3, #0 - 80074bc: d1cd bne.n 800745a - 80074be: b2ba uxth r2, r7 - 80074c0: 9b04 ldr r3, [sp, #16] - 80074c2: 9204 str r2, [sp, #16] - 80074c4: a907 add r1, sp, #28 - 80074c6: 4630 mov r0, r6 - 80074c8: f7fb fea2 bl 8003210 - 80074cc: 9a04 ldr r2, [sp, #16] - 80074ce: 4282 cmp r2, r0 - 80074d0: f47f af4c bne.w 800736c - 80074d4: 2f04 cmp r7, #4 - 80074d6: d10b bne.n 80074f0 - 80074d8: 9807 ldr r0, [sp, #28] - 80074da: f7fa ff33 bl 8002344 - 80074de: 9007 str r0, [sp, #28] - 80074e0: 2301 movs r3, #1 - 80074e2: 4a27 ldr r2, [pc, #156] ; (8007580 ) - 80074e4: f80b 3008 strb.w r3, [fp, r8] - 80074e8: 9b07 ldr r3, [sp, #28] - 80074ea: f842 3028 str.w r3, [r2, r8, lsl #2] - 80074ee: e7b4 b.n 800745a - 80074f0: 2f01 cmp r7, #1 - 80074f2: d004 beq.n 80074fe - 80074f4: 4b1a ldr r3, [pc, #104] ; (8007560 ) - 80074f6: 4923 ldr r1, [pc, #140] ; (8007584 ) - 80074f8: f44f 62d2 mov.w r2, #1680 ; 0x690 - 80074fc: e764 b.n 80073c8 - 80074fe: f89d 301c ldrb.w r3, [sp, #28] - 8007502: 9307 str r3, [sp, #28] - 8007504: e7ec b.n 80074e0 - 8007506: 6873 ldr r3, [r6, #4] - 8007508: 9305 str r3, [sp, #20] - 800750a: 454c cmp r4, r9 - 800750c: d204 bcs.n 8007518 - 800750e: 9b05 ldr r3, [sp, #20] - 8007510: 5d1a ldrb r2, [r3, r4] - 8007512: 2aff cmp r2, #255 ; 0xff - 8007514: f47f af3c bne.w 8007390 - 8007518: f89b 3000 ldrb.w r3, [fp] - 800751c: 2b00 cmp r3, #0 - 800751e: d135 bne.n 800758c - 8007520: 9b03 ldr r3, [sp, #12] - 8007522: 2b00 cmp r3, #0 - 8007524: d13b bne.n 800759e - 8007526: f89b 3001 ldrb.w r3, [fp, #1] - 800752a: 2b00 cmp r3, #0 - 800752c: f43f af1e beq.w 800736c - 8007530: 9b01 ldr r3, [sp, #4] - 8007532: 4a13 ldr r2, [pc, #76] ; (8007580 ) - 8007534: 6859 ldr r1, [r3, #4] - 8007536: 7913 ldrb r3, [r2, #4] - 8007538: 2b05 cmp r3, #5 - 800753a: d14b bne.n 80075d4 - 800753c: 9b02 ldr r3, [sp, #8] - 800753e: 795b ldrb r3, [r3, #5] - 8007540: 2b01 cmp r3, #1 - 8007542: d13c bne.n 80075be - 8007544: 6a68 ldr r0, [r5, #36] ; 0x24 - 8007546: f7ff fde3 bl 8007110 - 800754a: f895 3031 ldrb.w r3, [r5, #49] ; 0x31 - 800754e: 071b lsls r3, r3, #28 - 8007550: 4628 mov r0, r5 - 8007552: d53c bpl.n 80075ce - 8007554: f7ff fc62 bl 8006e1c - 8007558: e708 b.n 800736c - 800755a: bf00 nop - 800755c: 20004d1c .word 0x20004d1c - 8007560: 0800bced .word 0x0800bced - 8007564: 0800bf43 .word 0x0800bf43 - 8007568: 0800a54d .word 0x0800a54d - 800756c: 0800bf3a .word 0x0800bf3a - 8007570: 0800bf55 .word 0x0800bf55 - 8007574: 0800bf5e .word 0x0800bf5e - 8007578: 0800bf99 .word 0x0800bf99 - 800757c: 0800bf75 .word 0x0800bf75 - 8007580: 20008320 .word 0x20008320 - 8007584: 0800bf86 .word 0x0800bf86 - 8007588: 20008315 .word 0x20008315 - 800758c: 4b59 ldr r3, [pc, #356] ; (80076f4 ) - 800758e: 681b ldr r3, [r3, #0] - 8007590: 2200 movs r2, #0 - 8007592: 2b01 cmp r3, #1 - 8007594: f88b 2000 strb.w r2, [fp] - 8007598: d00c beq.n 80075b4 - 800759a: 2b02 cmp r3, #2 - 800759c: d106 bne.n 80075ac - 800759e: 2300 movs r3, #0 - 80075a0: 9303 str r3, [sp, #12] - 80075a2: f04f 096c mov.w r9, #108 ; 0x6c - 80075a6: f04f 0a2c mov.w sl, #44 ; 0x2c - 80075aa: e6cf b.n 800734c - 80075ac: 2b03 cmp r3, #3 - 80075ae: d1b7 bne.n 8007520 - 80075b0: 2301 movs r3, #1 - 80075b2: 9303 str r3, [sp, #12] - 80075b4: f04f 09ec mov.w r9, #236 ; 0xec - 80075b8: f04f 0a6c mov.w sl, #108 ; 0x6c - 80075bc: e6c6 b.n 800734c - 80075be: 3b03 subs r3, #3 - 80075c0: 2b02 cmp r3, #2 - 80075c2: f63f aed3 bhi.w 800736c - 80075c6: 6a68 ldr r0, [r5, #36] ; 0x24 - 80075c8: f7ff fda2 bl 8007110 - 80075cc: 4628 mov r0, r5 - 80075ce: f7ff fc3b bl 8006e48 - 80075d2: e6cb b.n 800736c - 80075d4: 2b06 cmp r3, #6 - 80075d6: d115 bne.n 8007604 - 80075d8: 9b02 ldr r3, [sp, #8] - 80075da: 795b ldrb r3, [r3, #5] - 80075dc: 1eda subs r2, r3, #3 - 80075de: 2a02 cmp r2, #2 - 80075e0: d902 bls.n 80075e8 - 80075e2: 2b01 cmp r3, #1 - 80075e4: f47f aec2 bne.w 800736c - 80075e8: 6a68 ldr r0, [r5, #36] ; 0x24 - 80075ea: 210c movs r1, #12 - 80075ec: f7ff fa6a bl 8006ac4 - 80075f0: 4b41 ldr r3, [pc, #260] ; (80076f8 ) - 80075f2: 4628 mov r0, r5 - 80075f4: 461a mov r2, r3 - 80075f6: 4619 mov r1, r3 - 80075f8: f7fb f9dc bl 80029b4 - 80075fc: 4628 mov r0, r5 - 80075fe: f7ff fb97 bl 8006d30 - 8007602: e6b3 b.n 800736c - 8007604: 2b02 cmp r3, #2 - 8007606: f47f aeb1 bne.w 800736c - 800760a: 9b02 ldr r3, [sp, #8] - 800760c: 795b ldrb r3, [r3, #5] - 800760e: 2b06 cmp r3, #6 - 8007610: f47f aeac bne.w 800736c - 8007614: f89b 3002 ldrb.w r3, [fp, #2] - 8007618: 2b00 cmp r3, #0 - 800761a: f43f aea7 beq.w 800736c - 800761e: 6a6c ldr r4, [r5, #36] ; 0x24 - 8007620: 9b03 ldr r3, [sp, #12] - 8007622: 8123 strh r3, [r4, #8] - 8007624: 6890 ldr r0, [r2, #8] - 8007626: 9102 str r1, [sp, #8] - 8007628: f7fa fe8c bl 8002344 - 800762c: 9902 ldr r1, [sp, #8] - 800762e: 61a0 str r0, [r4, #24] - 8007630: 690b ldr r3, [r1, #16] - 8007632: 61e3 str r3, [r4, #28] - 8007634: 4628 mov r0, r5 - 8007636: f7ff fd9f bl 8007178 - 800763a: e697 b.n 800736c - 800763c: 2a3b cmp r2, #59 ; 0x3b - 800763e: f63f af0a bhi.w 8007456 - 8007642: 2a32 cmp r2, #50 ; 0x32 - 8007644: d806 bhi.n 8007654 - 8007646: 2a01 cmp r2, #1 - 8007648: f43f aecc beq.w 80073e4 - 800764c: 2a03 cmp r2, #3 - 800764e: f43f aeb7 beq.w 80073c0 - 8007652: e700 b.n 8007456 - 8007654: f1a2 0333 sub.w r3, r2, #51 ; 0x33 - 8007658: 2b08 cmp r3, #8 - 800765a: f63f aefb bhi.w 8007454 - 800765e: a101 add r1, pc, #4 ; (adr r1, 8007664 ) - 8007660: f851 f023 ldr.w pc, [r1, r3, lsl #2] - 8007664: 080073f5 .word 0x080073f5 - 8007668: 08007401 .word 0x08007401 - 800766c: 08007423 .word 0x08007423 - 8007670: 08007431 .word 0x08007431 - 8007674: 08007455 .word 0x08007455 - 8007678: 08007455 .word 0x08007455 - 800767c: 08007455 .word 0x08007455 - 8007680: 0800743f .word 0x0800743f - 8007684: 0800744d .word 0x0800744d - 8007688: 461f mov r7, r3 - 800768a: f04f 0806 mov.w r8, #6 - 800768e: e6fb b.n 8007488 - 8007690: f04f 0807 mov.w r8, #7 - 8007694: 2704 movs r7, #4 - 8007696: e6f7 b.n 8007488 - 8007698: 461f mov r7, r3 - 800769a: f04f 0803 mov.w r8, #3 - 800769e: e6f3 b.n 8007488 - 80076a0: 461f mov r7, r3 - 80076a2: f04f 0800 mov.w r8, #0 - 80076a6: e6ef b.n 8007488 - 80076a8: 461f mov r7, r3 - 80076aa: f04f 0802 mov.w r8, #2 - 80076ae: e6eb b.n 8007488 - 80076b0: 461f mov r7, r3 - 80076b2: 4698 mov r8, r3 - 80076b4: e6e8 b.n 8007488 - 80076b6: 461f mov r7, r3 - 80076b8: f04f 0805 mov.w r8, #5 - 80076bc: e6e4 b.n 8007488 - 80076be: f1a2 0133 sub.w r1, r2, #51 ; 0x33 - 80076c2: 2908 cmp r1, #8 - 80076c4: f63f aec7 bhi.w 8007456 - 80076c8: a701 add r7, pc, #4 ; (adr r7, 80076d0 ) - 80076ca: f857 f021 ldr.w pc, [r7, r1, lsl #2] - 80076ce: bf00 nop - 80076d0: 080073ef .word 0x080073ef - 80076d4: 080073fd .word 0x080073fd - 80076d8: 0800741d .word 0x0800741d - 80076dc: 0800742b .word 0x0800742b - 80076e0: 08007457 .word 0x08007457 - 80076e4: 08007457 .word 0x08007457 - 80076e8: 08007457 .word 0x08007457 - 80076ec: 08007439 .word 0x08007439 - 80076f0: 08007447 .word 0x08007447 - 80076f4: 20008320 .word 0x20008320 - 80076f8: 0800c304 .word 0x0800c304 +08008a78 : + 8008a78: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} + 8008a7c: f8dd a02c ldr.w sl, [sp, #44] @ 0x2c + 8008a80: 4688 mov r8, r1 + 8008a82: 4691 mov r9, r2 + 8008a84: 461e mov r6, r3 + 8008a86: 4607 mov r7, r0 + 8008a88: b930 cbnz r0, 8008a98 + 8008a8a: 4b2d ldr r3, [pc, #180] @ (8008b40 ) + 8008a8c: 492d ldr r1, [pc, #180] @ (8008b44 ) + 8008a8e: 482e ldr r0, [pc, #184] @ (8008b48 ) + 8008a90: f240 4257 movw r2, #1111 @ 0x457 + 8008a94: f001 fb70 bl 800a178 + 8008a98: f44f 7220 mov.w r2, #640 @ 0x280 + 8008a9c: 211c movs r1, #28 + 8008a9e: 200e movs r0, #14 + 8008aa0: f7fb f872 bl 8003b88 + 8008aa4: 4605 mov r5, r0 + 8008aa6: 2800 cmp r0, #0 + 8008aa8: d047 beq.n 8008b3a + 8008aaa: 8943 ldrh r3, [r0, #10] + 8008aac: 2b1b cmp r3, #27 + 8008aae: d806 bhi.n 8008abe + 8008ab0: 4b23 ldr r3, [pc, #140] @ (8008b40 ) + 8008ab2: 4926 ldr r1, [pc, #152] @ (8008b4c ) + 8008ab4: 4824 ldr r0, [pc, #144] @ (8008b48 ) + 8008ab6: f240 4262 movw r2, #1122 @ 0x462 + 8008aba: f001 fb5d bl 800a178 + 8008abe: f8bd 0034 ldrh.w r0, [sp, #52] @ 0x34 + 8008ac2: 686c ldr r4, [r5, #4] + 8008ac4: f7fa fadf bl 8003086 + 8008ac8: 80e0 strh r0, [r4, #6] + 8008aca: f897 3030 ldrb.w r3, [r7, #48] @ 0x30 + 8008ace: 2b06 cmp r3, #6 + 8008ad0: d006 beq.n 8008ae0 + 8008ad2: 4b1b ldr r3, [pc, #108] @ (8008b40 ) + 8008ad4: 491e ldr r1, [pc, #120] @ (8008b50 ) + 8008ad6: 481c ldr r0, [pc, #112] @ (8008b48 ) + 8008ad8: f240 4269 movw r2, #1129 @ 0x469 + 8008adc: f001 fb4c bl 800a178 + 8008ae0: 6833 ldr r3, [r6, #0] + 8008ae2: 60a3 str r3, [r4, #8] + 8008ae4: 88b3 ldrh r3, [r6, #4] + 8008ae6: 81a3 strh r3, [r4, #12] + 8008ae8: f8da 3000 ldr.w r3, [sl] + 8008aec: f8c4 3012 str.w r3, [r4, #18] + 8008af0: f8ba 3004 ldrh.w r3, [sl, #4] + 8008af4: 82e3 strh r3, [r4, #22] + 8008af6: 9b0a ldr r3, [sp, #40] @ 0x28 + 8008af8: 681b ldr r3, [r3, #0] + 8008afa: f8c4 300e str.w r3, [r4, #14] + 8008afe: 9b0c ldr r3, [sp, #48] @ 0x30 + 8008b00: 681b ldr r3, [r3, #0] + 8008b02: 61a3 str r3, [r4, #24] + 8008b04: 2301 movs r3, #1 + 8008b06: 7063 strb r3, [r4, #1] + 8008b08: 2308 movs r3, #8 + 8008b0a: 70a3 strb r3, [r4, #2] + 8008b0c: 2306 movs r3, #6 + 8008b0e: 7123 strb r3, [r4, #4] + 8008b10: 2304 movs r3, #4 + 8008b12: 2600 movs r6, #0 + 8008b14: 7163 strb r3, [r4, #5] + 8008b16: f640 0306 movw r3, #2054 @ 0x806 + 8008b1a: 7026 strb r6, [r4, #0] + 8008b1c: 70e6 strb r6, [r4, #3] + 8008b1e: 4642 mov r2, r8 + 8008b20: 9300 str r3, [sp, #0] + 8008b22: 4629 mov r1, r5 + 8008b24: 464b mov r3, r9 + 8008b26: 4638 mov r0, r7 + 8008b28: f001 f9ee bl 8009f08 + 8008b2c: 4628 mov r0, r5 + 8008b2e: f7fa ffc7 bl 8003ac0 + 8008b32: 4630 mov r0, r6 + 8008b34: b002 add sp, #8 + 8008b36: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8008b3a: f04f 30ff mov.w r0, #4294967295 + 8008b3e: e7f9 b.n 8008b34 + 8008b40: 0800cb4d .word 0x0800cb4d + 8008b44: 0800c9ee .word 0x0800c9ee + 8008b48: 0800b0a6 .word 0x0800b0a6 + 8008b4c: 0800cbc4 .word 0x0800cbc4 + 8008b50: 0800cbf5 .word 0x0800cbf5 -080076fc : - 80076fc: b538 push {r3, r4, r5, lr} - 80076fe: 6a45 ldr r5, [r0, #36] ; 0x24 - 8007700: 4604 mov r4, r0 - 8007702: b1fd cbz r5, 8007744 - 8007704: 796b ldrb r3, [r5, #5] - 8007706: 2b05 cmp r3, #5 - 8007708: d809 bhi.n 800771e - 800770a: 2b02 cmp r3, #2 - 800770c: d809 bhi.n 8007722 - 800770e: b1cb cbz r3, 8007744 - 8007710: 2300 movs r3, #0 - 8007712: 71ab strb r3, [r5, #6] - 8007714: 4620 mov r0, r4 - 8007716: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800771a: f7ff bb09 b.w 8006d30 - 800771e: 2b0a cmp r3, #10 - 8007720: d106 bne.n 8007730 - 8007722: 2300 movs r3, #0 - 8007724: 71ab strb r3, [r5, #6] - 8007726: 4620 mov r0, r4 - 8007728: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800772c: f7ff bc6e b.w 800700c - 8007730: 2b0c cmp r3, #12 - 8007732: d9ed bls.n 8007710 - 8007734: 4b04 ldr r3, [pc, #16] ; (8007748 ) - 8007736: 4905 ldr r1, [pc, #20] ; (800774c ) - 8007738: 4805 ldr r0, [pc, #20] ; (8007750 ) - 800773a: f240 326d movw r2, #877 ; 0x36d - 800773e: f001 fe33 bl 80093a8 - 8007742: e7e5 b.n 8007710 - 8007744: bd38 pop {r3, r4, r5, pc} - 8007746: bf00 nop - 8007748: 0800bced .word 0x0800bced - 800774c: 0800bfd0 .word 0x0800bfd0 - 8007750: 0800a54d .word 0x0800a54d +08008b54 : + 8008b54: b570 push {r4, r5, r6, lr} + 8008b56: 4d08 ldr r5, [pc, #32] @ (8008b78 ) + 8008b58: 4606 mov r6, r0 + 8008b5a: 2400 movs r4, #0 + 8008b5c: 7d2b ldrb r3, [r5, #20] + 8008b5e: b12b cbz r3, 8008b6c + 8008b60: 68ab ldr r3, [r5, #8] + 8008b62: 42b3 cmp r3, r6 + 8008b64: d102 bne.n 8008b6c + 8008b66: 4620 mov r0, r4 + 8008b68: f7ff fede bl 8008928 + 8008b6c: 3401 adds r4, #1 + 8008b6e: 2c0a cmp r4, #10 + 8008b70: f105 0518 add.w r5, r5, #24 + 8008b74: d1f2 bne.n 8008b5c + 8008b76: bd70 pop {r4, r5, r6, pc} + 8008b78: 20018b10 .word 0x20018b10 -08007754 : - 8007754: b5f0 push {r4, r5, r6, r7, lr} - 8007756: 4606 mov r6, r0 - 8007758: b087 sub sp, #28 - 800775a: b948 cbnz r0, 8007770 - 800775c: 4b28 ldr r3, [pc, #160] ; (8007800 ) - 800775e: 4929 ldr r1, [pc, #164] ; (8007804 ) - 8007760: 4829 ldr r0, [pc, #164] ; (8007808 ) - 8007762: f240 328b movw r2, #907 ; 0x38b - 8007766: b007 add sp, #28 - 8007768: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} - 800776c: f001 be1c b.w 80093a8 - 8007770: 6a44 ldr r4, [r0, #36] ; 0x24 - 8007772: 2c00 cmp r4, #0 - 8007774: d041 beq.n 80077fa - 8007776: 7963 ldrb r3, [r4, #5] - 8007778: 2b08 cmp r3, #8 - 800777a: d13e bne.n 80077fa - 800777c: 680a ldr r2, [r1, #0] - 800777e: 69e3 ldr r3, [r4, #28] - 8007780: 429a cmp r2, r3 - 8007782: d13a bne.n 80077fa - 8007784: 210c movs r1, #12 - 8007786: 4620 mov r0, r4 - 8007788: f7ff f99c bl 8006ac4 - 800778c: 2204 movs r2, #4 - 800778e: f10d 0316 add.w r3, sp, #22 - 8007792: 4621 mov r1, r4 - 8007794: 4630 mov r0, r6 - 8007796: f7ff fa13 bl 8006bc0 - 800779a: 4605 mov r5, r0 - 800779c: b330 cbz r0, 80077ec - 800779e: 6841 ldr r1, [r0, #4] - 80077a0: f8bd 0016 ldrh.w r0, [sp, #22] - 80077a4: 2304 movs r3, #4 - 80077a6: 31f0 adds r1, #240 ; 0xf0 - 80077a8: 2232 movs r2, #50 ; 0x32 - 80077aa: 9103 str r1, [sp, #12] - 80077ac: f7ff f9ae bl 8006b0c - 80077b0: 4607 mov r7, r0 - 80077b2: f8ad 0016 strh.w r0, [sp, #22] - 80077b6: 69e0 ldr r0, [r4, #28] - 80077b8: f7fa fdc4 bl 8002344 - 80077bc: 9903 ldr r1, [sp, #12] - 80077be: 4602 mov r2, r0 - 80077c0: 4638 mov r0, r7 - 80077c2: f7ff f9d9 bl 8006b78 - 80077c6: 9903 ldr r1, [sp, #12] - 80077c8: f8ad 0016 strh.w r0, [sp, #22] - 80077cc: 462a mov r2, r5 - 80077ce: f7ff fa8b bl 8006ce8 - 80077d2: 4b0e ldr r3, [pc, #56] ; (800780c ) - 80077d4: 480e ldr r0, [pc, #56] ; (8007810 ) - 80077d6: 4a0f ldr r2, [pc, #60] ; (8007814 ) - 80077d8: e9cd 6300 strd r6, r3, [sp] - 80077dc: 4629 mov r1, r5 - 80077de: 6800 ldr r0, [r0, #0] - 80077e0: 2343 movs r3, #67 ; 0x43 - 80077e2: f7fe ffff bl 80067e4 - 80077e6: 4628 mov r0, r5 - 80077e8: f7fb faf4 bl 8002dd4 - 80077ec: 79a3 ldrb r3, [r4, #6] - 80077ee: 2bff cmp r3, #255 ; 0xff - 80077f0: bf1c itt ne - 80077f2: 3301 addne r3, #1 - 80077f4: 71a3 strbne r3, [r4, #6] - 80077f6: 2314 movs r3, #20 - 80077f8: 8123 strh r3, [r4, #8] - 80077fa: b007 add sp, #28 - 80077fc: bdf0 pop {r4, r5, r6, r7, pc} - 80077fe: bf00 nop - 8007800: 0800bced .word 0x0800bced - 8007804: 0800be96 .word 0x0800be96 - 8007808: 0800a54d .word 0x0800a54d - 800780c: 0800c304 .word 0x0800c304 - 8007810: 20008310 .word 0x20008310 - 8007814: 0800c308 .word 0x0800c308 +08008b7c : + 8008b7c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8008b80: 4607 mov r7, r0 + 8008b82: b086 sub sp, #24 + 8008b84: 460c mov r4, r1 + 8008b86: b949 cbnz r1, 8008b9c + 8008b88: 4b4f ldr r3, [pc, #316] @ (8008cc8 ) + 8008b8a: 4950 ldr r1, [pc, #320] @ (8008ccc ) + 8008b8c: 4850 ldr r0, [pc, #320] @ (8008cd0 ) + 8008b8e: f240 228a movw r2, #650 @ 0x28a + 8008b92: b006 add sp, #24 + 8008b94: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8008b98: f001 baee b.w 800a178 + 8008b9c: 6845 ldr r5, [r0, #4] + 8008b9e: 882b ldrh r3, [r5, #0] + 8008ba0: f5b3 7f80 cmp.w r3, #256 @ 0x100 + 8008ba4: d108 bne.n 8008bb8 + 8008ba6: 792b ldrb r3, [r5, #4] + 8008ba8: 2b06 cmp r3, #6 + 8008baa: d105 bne.n 8008bb8 + 8008bac: 796b ldrb r3, [r5, #5] + 8008bae: 2b04 cmp r3, #4 + 8008bb0: d102 bne.n 8008bb8 + 8008bb2: 886b ldrh r3, [r5, #2] + 8008bb4: 2b08 cmp r3, #8 + 8008bb6: d005 beq.n 8008bc4 + 8008bb8: 4638 mov r0, r7 + 8008bba: b006 add sp, #24 + 8008bbc: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8008bc0: f7fa bf7e b.w 8003ac0 + 8008bc4: 684e ldr r6, [r1, #4] + 8008bc6: f8d5 300e ldr.w r3, [r5, #14] + 8008bca: 9305 str r3, [sp, #20] + 8008bcc: f105 0808 add.w r8, r5, #8 + 8008bd0: 69ab ldr r3, [r5, #24] + 8008bd2: 2e00 cmp r6, #0 + 8008bd4: d05e beq.n 8008c94 + 8008bd6: 429e cmp r6, r3 + 8008bd8: d15b bne.n 8008c92 + 8008bda: 2601 movs r6, #1 + 8008bdc: 46b2 mov sl, r6 + 8008bde: f894 3030 ldrb.w r3, [r4, #48] @ 0x30 + 8008be2: 2b06 cmp r3, #6 + 8008be4: d006 beq.n 8008bf4 + 8008be6: 4b38 ldr r3, [pc, #224] @ (8008cc8 ) + 8008be8: 493a ldr r1, [pc, #232] @ (8008cd4 ) + 8008bea: 4839 ldr r0, [pc, #228] @ (8008cd0 ) + 8008bec: f240 12a9 movw r2, #425 @ 0x1a9 + 8008bf0: f001 fac2 bl 800a178 + 8008bf4: 9805 ldr r0, [sp, #20] + 8008bf6: 2800 cmp r0, #0 + 8008bf8: d03e beq.n 8008c78 + 8008bfa: 4621 mov r1, r4 + 8008bfc: f000 fcbd bl 800957a + 8008c00: 4681 mov r9, r0 + 8008c02: bbc8 cbnz r0, 8008c78 + 8008c04: 9b05 ldr r3, [sp, #20] + 8008c06: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 8008c0a: 2be0 cmp r3, #224 @ 0xe0 + 8008c0c: d034 beq.n 8008c78 + 8008c0e: 4622 mov r2, r4 + 8008c10: 4651 mov r1, sl + 8008c12: a805 add r0, sp, #20 + 8008c14: f7ff fe9c bl 8008950 + 8008c18: 1e03 subs r3, r0, #0 + 8008c1a: db2d blt.n 8008c78 + 8008c1c: 4a2e ldr r2, [pc, #184] @ (8008cd8 ) + 8008c1e: 2018 movs r0, #24 + 8008c20: fb00 f103 mul.w r1, r0, r3 + 8008c24: eb02 0c01 add.w ip, r2, r1 + 8008c28: f04f 0e02 mov.w lr, #2 + 8008c2c: f88c e014 strb.w lr, [ip, #20] + 8008c30: f04f 0e0c mov.w lr, #12 + 8008c34: f8cc 4008 str.w r4, [ip, #8] + 8008c38: fb13 e300 smlabb r3, r3, r0, lr + 8008c3c: 68a8 ldr r0, [r5, #8] + 8008c3e: 50d0 str r0, [r2, r3] + 8008c40: eb03 0e02 add.w lr, r3, r2 + 8008c44: f8b8 3004 ldrh.w r3, [r8, #4] + 8008c48: f8ae 3004 strh.w r3, [lr, #4] + 8008c4c: f852 a001 ldr.w sl, [r2, r1] + 8008c50: f8ac 9012 strh.w r9, [ip, #18] + 8008c54: f1ba 0f00 cmp.w sl, #0 + 8008c58: d00e beq.n 8008c78 + 8008c5a: f44f 6300 mov.w r3, #2048 @ 0x800 + 8008c5e: f842 9001 str.w r9, [r2, r1] + 8008c62: 4620 mov r0, r4 + 8008c64: 9300 str r3, [sp, #0] + 8008c66: f104 022a add.w r2, r4, #42 @ 0x2a + 8008c6a: 4643 mov r3, r8 + 8008c6c: 4651 mov r1, sl + 8008c6e: f001 f94b bl 8009f08 + 8008c72: 4650 mov r0, sl + 8008c74: f7fa ff24 bl 8003ac0 + 8008c78: 88eb ldrh r3, [r5, #6] + 8008c7a: f5b3 7f80 cmp.w r3, #256 @ 0x100 + 8008c7e: d00c beq.n 8008c9a + 8008c80: f5b3 7f00 cmp.w r3, #512 @ 0x200 + 8008c84: d01a beq.n 8008cbc + 8008c86: 4638 mov r0, r7 + 8008c88: f7fa ff1a bl 8003ac0 + 8008c8c: b006 add sp, #24 + 8008c8e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8008c92: 2600 movs r6, #0 + 8008c94: f04f 0a02 mov.w sl, #2 + 8008c98: e7a1 b.n 8008bde + 8008c9a: 2e00 cmp r6, #0 + 8008c9c: d0f3 beq.n 8008c86 + 8008c9e: 2202 movs r2, #2 + 8008ca0: 9203 str r2, [sp, #12] + 8008ca2: aa05 add r2, sp, #20 + 8008ca4: e9cd 8201 strd r8, r2, [sp, #4] + 8008ca8: f104 032a add.w r3, r4, #42 @ 0x2a + 8008cac: 1d22 adds r2, r4, #4 + 8008cae: 9200 str r2, [sp, #0] + 8008cb0: 4619 mov r1, r3 + 8008cb2: 4642 mov r2, r8 + 8008cb4: 4620 mov r0, r4 + 8008cb6: f7ff fedf bl 8008a78 + 8008cba: e7e4 b.n 8008c86 + 8008cbc: a905 add r1, sp, #20 + 8008cbe: 4620 mov r0, r4 + 8008cc0: f7ff fba8 bl 8008414 + 8008cc4: e7df b.n 8008c86 + 8008cc6: bf00 nop + 8008cc8: 0800cb4d .word 0x0800cb4d + 8008ccc: 0800c9ee .word 0x0800c9ee + 8008cd0: 0800b0a6 .word 0x0800b0a6 + 8008cd4: 0800cc55 .word 0x0800cc55 + 8008cd8: 20018b10 .word 0x20018b10 -08007818 : - 8007818: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800781c: 6a44 ldr r4, [r0, #36] ; 0x24 - 800781e: b086 sub sp, #24 - 8007820: 4606 mov r6, r0 - 8007822: 2105 movs r1, #5 - 8007824: 4620 mov r0, r4 - 8007826: f7ff f94d bl 8006ac4 - 800782a: 2203 movs r2, #3 - 800782c: f10d 0316 add.w r3, sp, #22 - 8007830: 4621 mov r1, r4 - 8007832: 4630 mov r0, r6 - 8007834: f7ff f9c4 bl 8006bc0 - 8007838: 4605 mov r5, r0 - 800783a: 2800 cmp r0, #0 - 800783c: d056 beq.n 80078ec - 800783e: 6841 ldr r1, [r0, #4] - 8007840: f8bd 0016 ldrh.w r0, [sp, #22] - 8007844: f8df 80b0 ldr.w r8, [pc, #176] ; 80078f8 - 8007848: 31f0 adds r1, #240 ; 0xf0 - 800784a: 2302 movs r3, #2 - 800784c: 2239 movs r2, #57 ; 0x39 - 800784e: 9103 str r1, [sp, #12] - 8007850: f7ff f95c bl 8006b0c - 8007854: 8d32 ldrh r2, [r6, #40] ; 0x28 - 8007856: 9903 ldr r1, [sp, #12] - 8007858: f8ad 0016 strh.w r0, [sp, #22] - 800785c: f7ff f93a bl 8006ad4 - 8007860: 9903 ldr r1, [sp, #12] - 8007862: f8ad 0016 strh.w r0, [sp, #22] - 8007866: 2303 movs r3, #3 - 8007868: 2237 movs r2, #55 ; 0x37 - 800786a: f7ff f94f bl 8006b0c - 800786e: 9903 ldr r1, [sp, #12] - 8007870: f8ad 0016 strh.w r0, [sp, #22] - 8007874: 2703 movs r7, #3 - 8007876: f818 2b01 ldrb.w r2, [r8], #1 - 800787a: f8bd 0016 ldrh.w r0, [sp, #22] - 800787e: 9103 str r1, [sp, #12] - 8007880: f7ff f962 bl 8006b48 - 8007884: 3f01 subs r7, #1 - 8007886: f017 07ff ands.w r7, r7, #255 ; 0xff - 800788a: 9903 ldr r1, [sp, #12] - 800788c: f8ad 0016 strh.w r0, [sp, #22] - 8007890: d1f1 bne.n 8007876 - 8007892: 462a mov r2, r5 - 8007894: f7ff fa28 bl 8006ce8 - 8007898: 4816 ldr r0, [pc, #88] ; (80078f4 ) - 800789a: 9600 str r6, [sp, #0] - 800789c: 6800 ldr r0, [r0, #0] - 800789e: 2343 movs r3, #67 ; 0x43 - 80078a0: f104 0218 add.w r2, r4, #24 - 80078a4: 4629 mov r1, r5 - 80078a6: f7ff f835 bl 8006914 - 80078aa: 4606 mov r6, r0 - 80078ac: 4628 mov r0, r5 - 80078ae: f7fb fa91 bl 8002dd4 - 80078b2: 79a3 ldrb r3, [r4, #6] - 80078b4: 2bff cmp r3, #255 ; 0xff - 80078b6: bf1c itt ne - 80078b8: 3301 addne r3, #1 - 80078ba: 71a3 strbne r3, [r4, #6] - 80078bc: 79a3 ldrb r3, [r4, #6] - 80078be: 2b09 cmp r3, #9 - 80078c0: bf9f itttt ls - 80078c2: ebc3 1243 rsbls r2, r3, r3, lsl #5 - 80078c6: eb03 0382 addls.w r3, r3, r2, lsl #2 - 80078ca: 011b lslls r3, r3, #4 - 80078cc: b29b uxthls r3, r3 - 80078ce: bf88 it hi - 80078d0: f644 6320 movwhi r3, #20000 ; 0x4e20 - 80078d4: f44f 72fa mov.w r2, #500 ; 0x1f4 - 80078d8: 4630 mov r0, r6 - 80078da: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 80078de: b29b uxth r3, r3 - 80078e0: fbb3 f3f2 udiv r3, r3, r2 - 80078e4: 8123 strh r3, [r4, #8] - 80078e6: b006 add sp, #24 - 80078e8: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80078ec: f04f 36ff mov.w r6, #4294967295 - 80078f0: e7df b.n 80078b2 - 80078f2: bf00 nop - 80078f4: 20008310 .word 0x20008310 - 80078f8: 0800c005 .word 0x0800c005 +08008cdc : + 8008cdc: b51f push {r0, r1, r2, r3, r4, lr} + 8008cde: 4602 mov r2, r0 + 8008ce0: 2401 movs r4, #1 + 8008ce2: e9cd 1402 strd r1, r4, [sp, #8] + 8008ce6: f100 032a add.w r3, r0, #42 @ 0x2a + 8008cea: 4905 ldr r1, [pc, #20] @ (8008d00 ) + 8008cec: 9101 str r1, [sp, #4] + 8008cee: 3204 adds r2, #4 + 8008cf0: 9200 str r2, [sp, #0] + 8008cf2: 4619 mov r1, r3 + 8008cf4: 4a03 ldr r2, [pc, #12] @ (8008d04 ) + 8008cf6: f7ff febf bl 8008a78 + 8008cfa: b004 add sp, #16 + 8008cfc: bd10 pop {r4, pc} + 8008cfe: bf00 nop + 8008d00: 0800d07e .word 0x0800d07e + 8008d04: 0800d084 .word 0x0800d084 -080078fc : - 80078fc: b150 cbz r0, 8007914 - 80078fe: 6a40 ldr r0, [r0, #36] ; 0x24 - 8007900: b140 cbz r0, 8007914 - 8007902: 7940 ldrb r0, [r0, #5] - 8007904: 280a cmp r0, #10 - 8007906: d006 beq.n 8007916 - 8007908: 3804 subs r0, #4 - 800790a: 2801 cmp r0, #1 - 800790c: bf8c ite hi - 800790e: 2000 movhi r0, #0 - 8007910: 2001 movls r0, #1 - 8007912: b2c0 uxtb r0, r0 - 8007914: 4770 bx lr - 8007916: 2001 movs r0, #1 - 8007918: e7fb b.n 8007912 +08008d08 : + 8008d08: b538 push {r3, r4, r5, lr} + 8008d0a: 4c13 ldr r4, [pc, #76] @ (8008d58 ) + 8008d0c: 2500 movs r5, #0 + 8008d0e: 7d22 ldrb r2, [r4, #20] + 8008d10: b16a cbz r2, 8008d2e + 8008d12: 8a63 ldrh r3, [r4, #18] + 8008d14: 3301 adds r3, #1 + 8008d16: b29b uxth r3, r3 + 8008d18: f5b3 7f96 cmp.w r3, #300 @ 0x12c + 8008d1c: 8263 strh r3, [r4, #18] + 8008d1e: d203 bcs.n 8008d28 + 8008d20: 2a01 cmp r2, #1 + 8008d22: d10a bne.n 8008d3a + 8008d24: 2b04 cmp r3, #4 + 8008d26: d90d bls.n 8008d44 + 8008d28: 4628 mov r0, r5 + 8008d2a: f7ff fdfd bl 8008928 + 8008d2e: 3501 adds r5, #1 + 8008d30: 2d0a cmp r5, #10 + 8008d32: f104 0418 add.w r4, r4, #24 + 8008d36: d1ea bne.n 8008d0e + 8008d38: bd38 pop {r3, r4, r5, pc} + 8008d3a: 2a03 cmp r2, #3 + 8008d3c: d107 bne.n 8008d4e + 8008d3e: 2304 movs r3, #4 + 8008d40: 7523 strb r3, [r4, #20] + 8008d42: e7f4 b.n 8008d2e + 8008d44: 68a0 ldr r0, [r4, #8] + 8008d46: 1d21 adds r1, r4, #4 + 8008d48: f7ff ffc8 bl 8008cdc + 8008d4c: e7ef b.n 8008d2e + 8008d4e: 2a04 cmp r2, #4 + 8008d50: d1ed bne.n 8008d2e + 8008d52: 2302 movs r3, #2 + 8008d54: e7f4 b.n 8008d40 + 8008d56: bf00 nop + 8008d58: 20018b10 .word 0x20018b10 + +08008d5c : + 8008d5c: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} + 8008d60: 4f24 ldr r7, [pc, #144] @ (8008df4 ) + 8008d62: 2318 movs r3, #24 + 8008d64: fb03 7302 mla r3, r3, r2, r7 + 8008d68: 4606 mov r6, r0 + 8008d6a: 7d1b ldrb r3, [r3, #20] + 8008d6c: 2b01 cmp r3, #1 + 8008d6e: 4689 mov r9, r1 + 8008d70: 4614 mov r4, r2 + 8008d72: d806 bhi.n 8008d82 + 8008d74: 4b20 ldr r3, [pc, #128] @ (8008df8 ) + 8008d76: 4921 ldr r1, [pc, #132] @ (8008dfc ) + 8008d78: 4821 ldr r0, [pc, #132] @ (8008e00 ) + 8008d7a: f240 22ee movw r2, #750 @ 0x2ee + 8008d7e: f001 f9fb bl 800a178 + 8008d82: 2318 movs r3, #24 + 8008d84: eb04 0544 add.w r5, r4, r4, lsl #1 + 8008d88: fb03 7404 mla r4, r3, r4, r7 + 8008d8c: 00ed lsls r5, r5, #3 + 8008d8e: 7d23 ldrb r3, [r4, #20] + 8008d90: f105 080c add.w r8, r5, #12 + 8008d94: 2b02 cmp r3, #2 + 8008d96: 44b8 add r8, r7 + 8008d98: f106 0a2a add.w sl, r6, #42 @ 0x2a + 8008d9c: d10b bne.n 8008db6 + 8008d9e: 8a63 ldrh r3, [r4, #18] + 8008da0: f5b3 7f8e cmp.w r3, #284 @ 0x11c + 8008da4: d913 bls.n 8008dce + 8008da6: 1d29 adds r1, r5, #4 + 8008da8: 4439 add r1, r7 + 8008daa: 4630 mov r0, r6 + 8008dac: f7ff ff96 bl 8008cdc + 8008db0: b908 cbnz r0, 8008db6 + 8008db2: 2303 movs r3, #3 + 8008db4: 7523 strb r3, [r4, #20] + 8008db6: f44f 6300 mov.w r3, #2048 @ 0x800 + 8008dba: 9300 str r3, [sp, #0] + 8008dbc: 4652 mov r2, sl + 8008dbe: 4643 mov r3, r8 + 8008dc0: 4649 mov r1, r9 + 8008dc2: 4630 mov r0, r6 + 8008dc4: f001 f8a0 bl 8009f08 + 8008dc8: b004 add sp, #16 + 8008dca: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8008dce: f5b3 7f87 cmp.w r3, #270 @ 0x10e + 8008dd2: d3f0 bcc.n 8008db6 + 8008dd4: 2301 movs r3, #1 + 8008dd6: 9303 str r3, [sp, #12] + 8008dd8: 3504 adds r5, #4 + 8008dda: 4b0a ldr r3, [pc, #40] @ (8008e04 ) + 8008ddc: 9301 str r3, [sp, #4] + 8008dde: 442f add r7, r5 + 8008de0: 1d33 adds r3, r6, #4 + 8008de2: 9300 str r3, [sp, #0] + 8008de4: 9702 str r7, [sp, #8] + 8008de6: 4653 mov r3, sl + 8008de8: 4642 mov r2, r8 + 8008dea: 4651 mov r1, sl + 8008dec: 4630 mov r0, r6 + 8008dee: f7ff fe43 bl 8008a78 + 8008df2: e7dd b.n 8008db0 + 8008df4: 20018b10 .word 0x20018b10 + 8008df8: 0800cb4d .word 0x0800cb4d + 8008dfc: 0800cc79 .word 0x0800cc79 + 8008e00: 0800b0a6 .word 0x0800b0a6 + 8008e04: 0800d07e .word 0x0800d07e + +08008e08 : + 8008e08: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} + 8008e0c: 4688 mov r8, r1 + 8008e0e: 4606 mov r6, r0 + 8008e10: 4601 mov r1, r0 + 8008e12: f8d8 0000 ldr.w r0, [r8] + 8008e16: 4615 mov r5, r2 + 8008e18: f000 fbaf bl 800957a + 8008e1c: 2800 cmp r0, #0 + 8008e1e: d161 bne.n 8008ee4 + 8008e20: f8d8 3000 ldr.w r3, [r8] + 8008e24: f003 02f0 and.w r2, r3, #240 @ 0xf0 + 8008e28: 2ae0 cmp r2, #224 @ 0xe0 + 8008e2a: d05b beq.n 8008ee4 + 8008e2c: 2b00 cmp r3, #0 + 8008e2e: d059 beq.n 8008ee4 + 8008e30: 4632 mov r2, r6 + 8008e32: 2101 movs r1, #1 + 8008e34: 4640 mov r0, r8 + 8008e36: f7ff fd8b bl 8008950 + 8008e3a: 1e07 subs r7, r0, #0 + 8008e3c: da03 bge.n 8008e46 + 8008e3e: b278 sxtb r0, r7 + 8008e40: b002 add sp, #8 + 8008e42: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8008e46: 2f7e cmp r7, #126 @ 0x7e + 8008e48: dd06 ble.n 8008e58 + 8008e4a: 4b37 ldr r3, [pc, #220] @ (8008f28 ) + 8008e4c: 4937 ldr r1, [pc, #220] @ (8008f2c ) + 8008e4e: 4838 ldr r0, [pc, #224] @ (8008f30 ) + 8008e50: f240 32c1 movw r2, #961 @ 0x3c1 + 8008e54: f001 f990 bl 800a178 + 8008e58: f8df 90dc ldr.w r9, [pc, #220] @ 8008f38 + 8008e5c: b2ff uxtb r7, r7 + 8008e5e: 2318 movs r3, #24 + 8008e60: fb03 9307 mla r3, r3, r7, r9 + 8008e64: 7d1a ldrb r2, [r3, #20] + 8008e66: 2a00 cmp r2, #0 + 8008e68: d142 bne.n 8008ef0 + 8008e6a: 2201 movs r2, #1 + 8008e6c: 751a strb r2, [r3, #20] + 8008e6e: 609e str r6, [r3, #8] + 8008e70: 4641 mov r1, r8 + 8008e72: 4630 mov r0, r6 + 8008e74: f7ff ff32 bl 8008cdc + 8008e78: 2d00 cmp r5, #0 + 8008e7a: d0e1 beq.n 8008e40 + 8008e7c: 2318 movs r3, #24 + 8008e7e: fb03 9207 mla r2, r3, r7, r9 + 8008e82: 7d12 ldrb r2, [r2, #20] + 8008e84: 2a01 cmp r2, #1 + 8008e86: d90e bls.n 8008ea6 + 8008e88: 4a2a ldr r2, [pc, #168] @ (8008f34 ) + 8008e8a: fb03 9307 mla r3, r3, r7, r9 + 8008e8e: 7017 strb r7, [r2, #0] + 8008e90: f44f 6200 mov.w r2, #2048 @ 0x800 + 8008e94: 9200 str r2, [sp, #0] + 8008e96: 330c adds r3, #12 + 8008e98: f106 022a add.w r2, r6, #42 @ 0x2a + 8008e9c: 4629 mov r1, r5 + 8008e9e: 4630 mov r0, r6 + 8008ea0: f001 f832 bl 8009f08 + 8008ea4: e7cc b.n 8008e40 + 8008ea6: d1cb bne.n 8008e40 + 8008ea8: 4e1f ldr r6, [pc, #124] @ (8008f28 ) + 8008eaa: f8df 8090 ldr.w r8, [pc, #144] @ 8008f3c + 8008eae: f8df a080 ldr.w sl, [pc, #128] @ 8008f30 + 8008eb2: 462c mov r4, r5 + 8008eb4: e010 b.n 8008ed8 + 8008eb6: 8962 ldrh r2, [r4, #10] + 8008eb8: 8923 ldrh r3, [r4, #8] + 8008eba: 429a cmp r2, r3 + 8008ebc: d108 bne.n 8008ed0 + 8008ebe: 6823 ldr r3, [r4, #0] + 8008ec0: b133 cbz r3, 8008ed0 + 8008ec2: 4633 mov r3, r6 + 8008ec4: f240 32f1 movw r2, #1009 @ 0x3f1 + 8008ec8: 4641 mov r1, r8 + 8008eca: 4650 mov r0, sl + 8008ecc: f001 f954 bl 800a178 + 8008ed0: 7b23 ldrb r3, [r4, #12] + 8008ed2: 065b lsls r3, r3, #25 + 8008ed4: d411 bmi.n 8008efa + 8008ed6: 6824 ldr r4, [r4, #0] + 8008ed8: 2c00 cmp r4, #0 + 8008eda: d1ec bne.n 8008eb6 + 8008edc: 4628 mov r0, r5 + 8008ede: f7fa ff2d bl 8003d3c + 8008ee2: e011 b.n 8008f08 + 8008ee4: f06f 000f mvn.w r0, #15 + 8008ee8: e7aa b.n 8008e40 + 8008eea: f04f 30ff mov.w r0, #4294967295 + 8008eee: e7a7 b.n 8008e40 + 8008ef0: 2d00 cmp r5, #0 + 8008ef2: d0bd beq.n 8008e70 + 8008ef4: f04f 30ff mov.w r0, #4294967295 + 8008ef8: e7c0 b.n 8008e7c + 8008efa: 462a mov r2, r5 + 8008efc: f44f 7120 mov.w r1, #640 @ 0x280 + 8008f00: 200e movs r0, #14 + 8008f02: f7fb f837 bl 8003f74 + 8008f06: 4605 mov r5, r0 + 8008f08: 2d00 cmp r5, #0 + 8008f0a: d0ee beq.n 8008eea + 8008f0c: 2418 movs r4, #24 + 8008f0e: fb04 f307 mul.w r3, r4, r7 + 8008f12: f859 0003 ldr.w r0, [r9, r3] + 8008f16: b108 cbz r0, 8008f1c + 8008f18: f7fa fdd2 bl 8003ac0 + 8008f1c: 437c muls r4, r7 + 8008f1e: 2000 movs r0, #0 + 8008f20: f849 5004 str.w r5, [r9, r4] + 8008f24: e78c b.n 8008e40 + 8008f26: bf00 nop + 8008f28: 0800cb4d .word 0x0800cb4d + 8008f2c: 0800cca9 .word 0x0800cca9 + 8008f30: 0800b0a6 .word 0x0800b0a6 + 8008f34: 20018b0c .word 0x20018b0c + 8008f38: 20018b10 .word 0x20018b10 + 8008f3c: 0800ccb7 .word 0x0800ccb7 + +08008f40 : + 8008f40: b5f0 push {r4, r5, r6, r7, lr} + 8008f42: 460e mov r6, r1 + 8008f44: b085 sub sp, #20 + 8008f46: 4615 mov r5, r2 + 8008f48: 4604 mov r4, r0 + 8008f4a: b930 cbnz r0, 8008f5a + 8008f4c: 4b42 ldr r3, [pc, #264] @ (8009058 ) + 8008f4e: 4943 ldr r1, [pc, #268] @ (800905c ) + 8008f50: 4843 ldr r0, [pc, #268] @ (8009060 ) + 8008f52: f240 321e movw r2, #798 @ 0x31e + 8008f56: f001 f90f bl 800a178 + 8008f5a: b936 cbnz r6, 8008f6a + 8008f5c: 4b3e ldr r3, [pc, #248] @ (8009058 ) + 8008f5e: 4941 ldr r1, [pc, #260] @ (8009064 ) + 8008f60: 483f ldr r0, [pc, #252] @ (8009060 ) + 8008f62: f240 321f movw r2, #799 @ 0x31f + 8008f66: f001 f907 bl 800a178 + 8008f6a: b935 cbnz r5, 8008f7a + 8008f6c: 4b3a ldr r3, [pc, #232] @ (8009058 ) + 8008f6e: 493e ldr r1, [pc, #248] @ (8009068 ) + 8008f70: 483b ldr r0, [pc, #236] @ (8009060 ) + 8008f72: f44f 7248 mov.w r2, #800 @ 0x320 + 8008f76: f001 f8ff bl 800a178 + 8008f7a: 6828 ldr r0, [r5, #0] + 8008f7c: 4621 mov r1, r4 + 8008f7e: f000 fafc bl 800957a + 8008f82: 2800 cmp r0, #0 + 8008f84: d163 bne.n 800904e + 8008f86: 682b ldr r3, [r5, #0] + 8008f88: f003 02f0 and.w r2, r3, #240 @ 0xf0 + 8008f8c: 2ae0 cmp r2, #224 @ 0xe0 + 8008f8e: d11c bne.n 8008fca + 8008f90: 2301 movs r3, #1 + 8008f92: f8ad 3008 strh.w r3, [sp, #8] + 8008f96: 235e movs r3, #94 @ 0x5e + 8008f98: f88d 300a strb.w r3, [sp, #10] + 8008f9c: 786b ldrb r3, [r5, #1] + 8008f9e: f003 037f and.w r3, r3, #127 @ 0x7f + 8008fa2: f88d 300b strb.w r3, [sp, #11] + 8008fa6: 78ab ldrb r3, [r5, #2] + 8008fa8: f88d 300c strb.w r3, [sp, #12] + 8008fac: 78eb ldrb r3, [r5, #3] + 8008fae: f88d 300d strb.w r3, [sp, #13] + 8008fb2: ab02 add r3, sp, #8 + 8008fb4: f44f 6200 mov.w r2, #2048 @ 0x800 + 8008fb8: 9200 str r2, [sp, #0] + 8008fba: 4631 mov r1, r6 + 8008fbc: f104 022a add.w r2, r4, #42 @ 0x2a + 8008fc0: 4620 mov r0, r4 + 8008fc2: f000 ffa1 bl 8009f08 + 8008fc6: b005 add sp, #20 + 8008fc8: bdf0 pop {r4, r5, r6, r7, pc} + 8008fca: 6862 ldr r2, [r4, #4] + 8008fcc: 68a1 ldr r1, [r4, #8] + 8008fce: 405a eors r2, r3 + 8008fd0: 420a tst r2, r1 + 8008fd2: d009 beq.n 8008fe8 + 8008fd4: b29b uxth r3, r3 + 8008fd6: f64f 62a9 movw r2, #65193 @ 0xfea9 + 8008fda: 4293 cmp r3, r2 + 8008fdc: d004 beq.n 8008fe8 + 8008fde: 68e3 ldr r3, [r4, #12] + 8008fe0: 2b00 cmp r3, #0 + 8008fe2: d036 beq.n 8009052 + 8008fe4: f104 050c add.w r5, r4, #12 + 8008fe8: 4920 ldr r1, [pc, #128] @ (800906c ) + 8008fea: 4b21 ldr r3, [pc, #132] @ (8009070 ) + 8008fec: 780a ldrb r2, [r1, #0] + 8008fee: 2018 movs r0, #24 + 8008ff0: fb00 3302 mla r3, r0, r2, r3 + 8008ff4: 7d18 ldrb r0, [r3, #20] + 8008ff6: 2801 cmp r0, #1 + 8008ff8: d90d bls.n 8009016 + 8008ffa: 6898 ldr r0, [r3, #8] + 8008ffc: 42a0 cmp r0, r4 + 8008ffe: d10a bne.n 8009016 + 8009000: 6828 ldr r0, [r5, #0] + 8009002: 685b ldr r3, [r3, #4] + 8009004: 4298 cmp r0, r3 + 8009006: d106 bne.n 8009016 + 8009008: 4631 mov r1, r6 + 800900a: 4620 mov r0, r4 + 800900c: b005 add sp, #20 + 800900e: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} + 8009012: f7ff bea3 b.w 8008d5c + 8009016: 4b16 ldr r3, [pc, #88] @ (8009070 ) + 8009018: 2200 movs r2, #0 + 800901a: 7d18 ldrb r0, [r3, #20] + 800901c: 2801 cmp r0, #1 + 800901e: d909 bls.n 8009034 + 8009020: 6898 ldr r0, [r3, #8] + 8009022: 42a0 cmp r0, r4 + 8009024: d106 bne.n 8009034 + 8009026: 682f ldr r7, [r5, #0] + 8009028: 6858 ldr r0, [r3, #4] + 800902a: 4287 cmp r7, r0 + 800902c: d102 bne.n 8009034 + 800902e: b2d2 uxtb r2, r2 + 8009030: 700a strb r2, [r1, #0] + 8009032: e7e9 b.n 8009008 + 8009034: 3201 adds r2, #1 + 8009036: 2a0a cmp r2, #10 + 8009038: f103 0318 add.w r3, r3, #24 + 800903c: d1ed bne.n 800901a + 800903e: 4632 mov r2, r6 + 8009040: 4629 mov r1, r5 + 8009042: 4620 mov r0, r4 + 8009044: b005 add sp, #20 + 8009046: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} + 800904a: f7ff bedd b.w 8008e08 + 800904e: 4b09 ldr r3, [pc, #36] @ (8009074 ) + 8009050: e7b0 b.n 8008fb4 + 8009052: f06f 0003 mvn.w r0, #3 + 8009056: e7b6 b.n 8008fc6 + 8009058: 0800cb4d .word 0x0800cb4d + 800905c: 0800c9ee .word 0x0800c9ee + 8009060: 0800b0a6 .word 0x0800b0a6 + 8009064: 0800b675 .word 0x0800b675 + 8009068: 0800cc36 .word 0x0800cc36 + 800906c: 20018b0c .word 0x20018b0c + 8009070: 20018b10 .word 0x20018b10 + 8009074: 0800d084 .word 0x0800d084 + +08009078 : + 8009078: b5f0 push {r4, r5, r6, r7, lr} + 800907a: 4604 mov r4, r0 + 800907c: b087 sub sp, #28 + 800907e: 460f mov r7, r1 + 8009080: 4616 mov r6, r2 + 8009082: 2124 movs r1, #36 @ 0x24 + 8009084: f44f 7220 mov.w r2, #640 @ 0x280 + 8009088: 2022 movs r0, #34 @ 0x22 + 800908a: f7fa fd7d bl 8003b88 + 800908e: 4605 mov r5, r0 + 8009090: b390 cbz r0, 80090f8 + 8009092: 8943 ldrh r3, [r0, #10] + 8009094: 2b23 cmp r3, #35 @ 0x23 + 8009096: d806 bhi.n 80090a6 + 8009098: 4b18 ldr r3, [pc, #96] @ (80090fc ) + 800909a: 4919 ldr r1, [pc, #100] @ (8009100 ) + 800909c: 4819 ldr r0, [pc, #100] @ (8009104 ) + 800909e: f44f 72b4 mov.w r2, #360 @ 0x168 + 80090a2: f001 f869 bl 800a178 + 80090a6: 6860 ldr r0, [r4, #4] + 80090a8: 686c ldr r4, [r5, #4] + 80090aa: 2300 movs r3, #0 + 80090ac: 7123 strb r3, [r4, #4] + 80090ae: 7163 strb r3, [r4, #5] + 80090b0: 71a3 strb r3, [r4, #6] + 80090b2: 71e3 strb r3, [r4, #7] + 80090b4: 7027 strb r7, [r4, #0] + 80090b6: 7066 strb r6, [r4, #1] + 80090b8: 4603 mov r3, r0 + 80090ba: f104 0208 add.w r2, r4, #8 + 80090be: f100 011c add.w r1, r0, #28 + 80090c2: f853 6b04 ldr.w r6, [r3], #4 + 80090c6: f842 6b04 str.w r6, [r2], #4 + 80090ca: 428b cmp r3, r1 + 80090cc: d1f9 bne.n 80090c2 + 80090ce: 68c3 ldr r3, [r0, #12] + 80090d0: 9305 str r3, [sp, #20] + 80090d2: a805 add r0, sp, #20 + 80090d4: f000 f8d0 bl 8009278 + 80090d8: b158 cbz r0, 80090f2 + 80090da: 2100 movs r1, #0 + 80090dc: 2301 movs r3, #1 + 80090de: 70a1 strb r1, [r4, #2] + 80090e0: 70e1 strb r1, [r4, #3] + 80090e2: aa05 add r2, sp, #20 + 80090e4: e9cd 1300 strd r1, r3, [sp] + 80090e8: 9002 str r0, [sp, #8] + 80090ea: 23ff movs r3, #255 @ 0xff + 80090ec: 4628 mov r0, r5 + 80090ee: f000 fa33 bl 8009558 + 80090f2: 4628 mov r0, r5 + 80090f4: f7fa fce4 bl 8003ac0 + 80090f8: b007 add sp, #28 + 80090fa: bdf0 pop {r4, r5, r6, r7, pc} + 80090fc: 0800ccd1 .word 0x0800ccd1 + 8009100: 0800cd06 .word 0x0800cd06 + 8009104: 0800b0a6 .word 0x0800b0a6 + +08009108 : + 8009108: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800910c: 4f43 ldr r7, [pc, #268] @ (800921c ) + 800910e: f8d7 9008 ldr.w r9, [r7, #8] + 8009112: f899 5000 ldrb.w r5, [r9] + 8009116: f005 050f and.w r5, r5, #15 + 800911a: 00ad lsls r5, r5, #2 + 800911c: 2d13 cmp r5, #19 + 800911e: b085 sub sp, #20 + 8009120: 4604 mov r4, r0 + 8009122: 4688 mov r8, r1 + 8009124: d92e bls.n 8009184 + 8009126: 8943 ldrh r3, [r0, #10] + 8009128: 2b03 cmp r3, #3 + 800912a: d92b bls.n 8009184 + 800912c: 6843 ldr r3, [r0, #4] + 800912e: 781b ldrb r3, [r3, #0] + 8009130: 2b08 cmp r3, #8 + 8009132: d127 bne.n 8009184 + 8009134: 6978 ldr r0, [r7, #20] + 8009136: f000 03f0 and.w r3, r0, #240 @ 0xf0 + 800913a: 2be0 cmp r3, #224 @ 0xe0 + 800913c: d022 beq.n 8009184 + 800913e: 6839 ldr r1, [r7, #0] + 8009140: f000 fa1b bl 800957a + 8009144: b9f0 cbnz r0, 8009184 + 8009146: 8923 ldrh r3, [r4, #8] + 8009148: 2b07 cmp r3, #7 + 800914a: d91b bls.n 8009184 + 800914c: f105 060e add.w r6, r5, #14 + 8009150: 4631 mov r1, r6 + 8009152: 4620 mov r0, r4 + 8009154: f7fa fc7c bl 8003a50 + 8009158: 2800 cmp r0, #0 + 800915a: d052 beq.n 8009202 + 800915c: 8923 ldrh r3, [r4, #8] + 800915e: 18e9 adds r1, r5, r3 + 8009160: b289 uxth r1, r1 + 8009162: 428b cmp r3, r1 + 8009164: d80e bhi.n 8009184 + 8009166: f44f 7220 mov.w r2, #640 @ 0x280 + 800916a: 200e movs r0, #14 + 800916c: f7fa fd0c bl 8003b88 + 8009170: 4606 mov r6, r0 + 8009172: b138 cbz r0, 8009184 + 8009174: 8942 ldrh r2, [r0, #10] + 8009176: f105 0308 add.w r3, r5, #8 + 800917a: 429a cmp r2, r3 + 800917c: d208 bcs.n 8009190 + 800917e: 4630 mov r0, r6 + 8009180: f7fa fc9e bl 8003ac0 + 8009184: 4620 mov r0, r4 + 8009186: b005 add sp, #20 + 8009188: e8bd 43f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, lr} + 800918c: f7fa bc98 b.w 8003ac0 + 8009190: 4649 mov r1, r9 + 8009192: 6840 ldr r0, [r0, #4] + 8009194: 462a mov r2, r5 + 8009196: f001 f8ca bl 800a32e + 800919a: 4629 mov r1, r5 + 800919c: 4630 mov r0, r6 + 800919e: f7fa fc5b bl 8003a58 + 80091a2: b130 cbz r0, 80091b2 + 80091a4: 4b1e ldr r3, [pc, #120] @ (8009220 ) + 80091a6: 491f ldr r1, [pc, #124] @ (8009224 ) + 80091a8: 481f ldr r0, [pc, #124] @ (8009228 ) + 80091aa: 22b6 movs r2, #182 @ 0xb6 + 80091ac: f000 ffe4 bl 800a178 + 80091b0: e7e5 b.n 800917e + 80091b2: 4621 mov r1, r4 + 80091b4: 4630 mov r0, r6 + 80091b6: f7fa fe19 bl 8003dec + 80091ba: 2800 cmp r0, #0 + 80091bc: d1df bne.n 800917e + 80091be: 4620 mov r0, r4 + 80091c0: f7fa fc7e bl 8003ac0 + 80091c4: 4634 mov r4, r6 + 80091c6: 4629 mov r1, r5 + 80091c8: 4620 mov r0, r4 + 80091ca: 6866 ldr r6, [r4, #4] + 80091cc: f7fa fc40 bl 8003a50 + 80091d0: 4602 mov r2, r0 + 80091d2: 2800 cmp r0, #0 + 80091d4: d1d6 bne.n 8009184 + 80091d6: 6860 ldr r0, [r4, #4] + 80091d8: 697b ldr r3, [r7, #20] + 80091da: 60c3 str r3, [r0, #12] + 80091dc: 693b ldr r3, [r7, #16] + 80091de: 6103 str r3, [r0, #16] + 80091e0: 2101 movs r1, #1 + 80091e2: 23ff movs r3, #255 @ 0xff + 80091e4: 7032 strb r2, [r6, #0] + 80091e6: 70b2 strb r2, [r6, #2] + 80091e8: 70f2 strb r2, [r6, #3] + 80091ea: 7203 strb r3, [r0, #8] + 80091ec: 7282 strb r2, [r0, #10] + 80091ee: 72c2 strb r2, [r0, #11] + 80091f0: e9cd 2100 strd r2, r1, [sp] + 80091f4: f8cd 8008 str.w r8, [sp, #8] + 80091f8: 490c ldr r1, [pc, #48] @ (800922c ) + 80091fa: 4620 mov r0, r4 + 80091fc: f000 f9ac bl 8009558 + 8009200: e7c0 b.n 8009184 + 8009202: 4631 mov r1, r6 + 8009204: 4620 mov r0, r4 + 8009206: f7fa fc27 bl 8003a58 + 800920a: 2800 cmp r0, #0 + 800920c: d0db beq.n 80091c6 + 800920e: 4b04 ldr r3, [pc, #16] @ (8009220 ) + 8009210: 4907 ldr r1, [pc, #28] @ (8009230 ) + 8009212: 4805 ldr r0, [pc, #20] @ (8009228 ) + 8009214: 22c7 movs r2, #199 @ 0xc7 + 8009216: f000 ffaf bl 800a178 + 800921a: e7b3 b.n 8009184 + 800921c: 20005b24 .word 0x20005b24 + 8009220: 0800ccd1 .word 0x0800ccd1 + 8009224: 0800cd32 .word 0x0800cd32 + 8009228: 0800b0a6 .word 0x0800b0a6 + 800922c: 20005b38 .word 0x20005b38 + 8009230: 0800cd67 .word 0x0800cd67 + +08009234 : + 8009234: 460a mov r2, r1 + 8009236: 2103 movs r1, #3 + 8009238: f7ff bf1e b.w 8009078 + +0800923c : + 800923c: 460a mov r2, r1 + 800923e: 210b movs r1, #11 + 8009240: f7ff bf1a b.w 8009078 + +08009244 : + 8009244: b508 push {r3, lr} + 8009246: f890 3031 ldrb.w r3, [r0, #49] @ 0x31 + 800924a: 4601 mov r1, r0 + 800924c: f013 0001 ands.w r0, r3, #1 + 8009250: d00a beq.n 8009268 + 8009252: 684b ldr r3, [r1, #4] + 8009254: b14b cbz r3, 800926a + 8009256: 4a07 ldr r2, [pc, #28] @ (8009274 ) + 8009258: 6950 ldr r0, [r2, #20] + 800925a: 4283 cmp r3, r0 + 800925c: d007 beq.n 800926e + 800925e: f000 f98c bl 800957a + 8009262: 3800 subs r0, #0 + 8009264: bf18 it ne + 8009266: 2001 movne r0, #1 + 8009268: bd08 pop {r3, pc} + 800926a: 4618 mov r0, r3 + 800926c: e7fc b.n 8009268 + 800926e: 2001 movs r0, #1 + 8009270: e7fa b.n 8009268 + 8009272: bf00 nop + 8009274: 20005b24 .word 0x20005b24 + +08009278 : + 8009278: b530 push {r4, r5, lr} + 800927a: 4b14 ldr r3, [pc, #80] @ (80092cc ) + 800927c: 4602 mov r2, r0 + 800927e: 6818 ldr r0, [r3, #0] + 8009280: b978 cbnz r0, 80092a2 + 8009282: 4b13 ldr r3, [pc, #76] @ (80092d0 ) + 8009284: 681b ldr r3, [r3, #0] + 8009286: b15b cbz r3, 80092a0 + 8009288: f893 1031 ldrb.w r1, [r3, #49] @ 0x31 + 800928c: f001 0105 and.w r1, r1, #5 + 8009290: 2905 cmp r1, #5 + 8009292: d105 bne.n 80092a0 + 8009294: 6859 ldr r1, [r3, #4] + 8009296: b119 cbz r1, 80092a0 + 8009298: 7812 ldrb r2, [r2, #0] + 800929a: 2a7f cmp r2, #127 @ 0x7f + 800929c: bf18 it ne + 800929e: 4618 movne r0, r3 + 80092a0: bd30 pop {r4, r5, pc} + 80092a2: f890 1031 ldrb.w r1, [r0, #49] @ 0x31 + 80092a6: 07cd lsls r5, r1, #31 + 80092a8: d50d bpl.n 80092c6 + 80092aa: 074c lsls r4, r1, #29 + 80092ac: d50b bpl.n 80092c6 + 80092ae: 6843 ldr r3, [r0, #4] + 80092b0: b14b cbz r3, 80092c6 + 80092b2: 6814 ldr r4, [r2, #0] + 80092b4: 6885 ldr r5, [r0, #8] + 80092b6: 4063 eors r3, r4 + 80092b8: 422b tst r3, r5 + 80092ba: d0f1 beq.n 80092a0 + 80092bc: 078b lsls r3, r1, #30 + 80092be: d402 bmi.n 80092c6 + 80092c0: 68c3 ldr r3, [r0, #12] + 80092c2: 429c cmp r4, r3 + 80092c4: d0ec beq.n 80092a0 + 80092c6: 6800 ldr r0, [r0, #0] + 80092c8: e7da b.n 8009280 + 80092ca: bf00 nop + 80092cc: 20018a74 .word 0x20018a74 + 80092d0: 20018a70 .word 0x20018a70 + +080092d4 : + 80092d4: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 80092d8: f8d0 8004 ldr.w r8, [r0, #4] + 80092dc: f898 9000 ldrb.w r9, [r8] + 80092e0: ea4f 1319 mov.w r3, r9, lsr #4 + 80092e4: 2b04 cmp r3, #4 + 80092e6: 4604 mov r4, r0 + 80092e8: 460e mov r6, r1 + 80092ea: d005 beq.n 80092f8 + 80092ec: 4620 mov r0, r4 + 80092ee: f7fa fbe7 bl 8003ac0 + 80092f2: 2000 movs r0, #0 + 80092f4: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 80092f8: f8b8 0002 ldrh.w r0, [r8, #2] + 80092fc: f7f9 fec3 bl 8003086 + 8009300: 8923 ldrh r3, [r4, #8] + 8009302: f009 090f and.w r9, r9, #15 + 8009306: 4283 cmp r3, r0 + 8009308: ea4f 0989 mov.w r9, r9, lsl #2 + 800930c: 4605 mov r5, r0 + 800930e: d903 bls.n 8009318 + 8009310: 4601 mov r1, r0 + 8009312: 4620 mov r0, r4 + 8009314: f7fa fcb2 bl 8003c7c + 8009318: 8963 ldrh r3, [r4, #10] + 800931a: 454b cmp r3, r9 + 800931c: d3e6 bcc.n 80092ec + 800931e: 8923 ldrh r3, [r4, #8] + 8009320: 42ab cmp r3, r5 + 8009322: d3e3 bcc.n 80092ec + 8009324: f1b9 0f13 cmp.w r9, #19 + 8009328: d9e0 bls.n 80092ec + 800932a: f8d8 3010 ldr.w r3, [r8, #16] + 800932e: 4d4a ldr r5, [pc, #296] @ (8009458 ) + 8009330: 616b str r3, [r5, #20] + 8009332: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 8009336: f8d8 200c ldr.w r2, [r8, #12] + 800933a: 612a str r2, [r5, #16] + 800933c: 2be0 cmp r3, #224 @ 0xe0 + 800933e: d10e bne.n 800935e + 8009340: f896 3031 ldrb.w r3, [r6, #49] @ 0x31 + 8009344: 07db lsls r3, r3, #31 + 8009346: d405 bmi.n 8009354 + 8009348: f898 3009 ldrb.w r3, [r8, #9] + 800934c: 2b11 cmp r3, #17 + 800934e: d054 beq.n 80093fa + 8009350: 2700 movs r7, #0 + 8009352: e019 b.n 8009388 + 8009354: 6873 ldr r3, [r6, #4] + 8009356: 2b00 cmp r3, #0 + 8009358: d0f6 beq.n 8009348 + 800935a: 4637 mov r7, r6 + 800935c: e014 b.n 8009388 + 800935e: 4630 mov r0, r6 + 8009360: f7ff ff70 bl 8009244 + 8009364: 2800 cmp r0, #0 + 8009366: d145 bne.n 80093f4 + 8009368: 7d2b ldrb r3, [r5, #20] + 800936a: 2b7f cmp r3, #127 @ 0x7f + 800936c: d0ec beq.n 8009348 + 800936e: 4b3b ldr r3, [pc, #236] @ (800945c ) + 8009370: 681f ldr r7, [r3, #0] + 8009372: 2f00 cmp r7, #0 + 8009374: d0e8 beq.n 8009348 + 8009376: 42b7 cmp r7, r6 + 8009378: d101 bne.n 800937e + 800937a: 683f ldr r7, [r7, #0] + 800937c: e7f9 b.n 8009372 + 800937e: 4638 mov r0, r7 + 8009380: f7ff ff60 bl 8009244 + 8009384: 2800 cmp r0, #0 + 8009386: d0f8 beq.n 800937a + 8009388: 6928 ldr r0, [r5, #16] + 800938a: b148 cbz r0, 80093a0 + 800938c: 4631 mov r1, r6 + 800938e: f000 f8f4 bl 800957a + 8009392: 2800 cmp r0, #0 + 8009394: d1aa bne.n 80092ec + 8009396: 692b ldr r3, [r5, #16] + 8009398: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 800939c: 2be0 cmp r3, #224 @ 0xe0 + 800939e: d0a5 beq.n 80092ec + 80093a0: 2f00 cmp r7, #0 + 80093a2: d0a3 beq.n 80092ec + 80093a4: f8b8 3006 ldrh.w r3, [r8, #6] + 80093a8: f023 03c0 bic.w r3, r3, #192 @ 0xc0 + 80093ac: b13b cbz r3, 80093be + 80093ae: 4620 mov r0, r4 + 80093b0: f000 faa0 bl 80098f4 + 80093b4: 4604 mov r4, r0 + 80093b6: 2800 cmp r0, #0 + 80093b8: d09b beq.n 80092f2 + 80093ba: f8d0 8004 ldr.w r8, [r0, #4] + 80093be: f8c5 8008 str.w r8, [r5, #8] + 80093c2: e9c5 7600 strd r7, r6, [r5] + 80093c6: f898 3000 ldrb.w r3, [r8] + 80093ca: f003 030f and.w r3, r3, #15 + 80093ce: 009b lsls r3, r3, #2 + 80093d0: 4649 mov r1, r9 + 80093d2: 4620 mov r0, r4 + 80093d4: 81ab strh r3, [r5, #12] + 80093d6: f7fa fb3f bl 8003a58 + 80093da: f898 3009 ldrb.w r3, [r8, #9] + 80093de: 2b06 cmp r3, #6 + 80093e0: d01f beq.n 8009422 + 80093e2: 2b11 cmp r3, #17 + 80093e4: d011 beq.n 800940a + 80093e6: 2b01 cmp r3, #1 + 80093e8: d120 bne.n 800942c + 80093ea: 4631 mov r1, r6 + 80093ec: 4620 mov r0, r4 + 80093ee: f7ff fe8b bl 8009108 + 80093f2: e00e b.n 8009412 + 80093f4: 2e00 cmp r6, #0 + 80093f6: d1b0 bne.n 800935a + 80093f8: e7a6 b.n 8009348 + 80093fa: eb08 0309 add.w r3, r8, r9 + 80093fe: 885b ldrh r3, [r3, #2] + 8009400: f5b3 4f88 cmp.w r3, #17408 @ 0x4400 + 8009404: d1a4 bne.n 8009350 + 8009406: 4637 mov r7, r6 + 8009408: e7ca b.n 80093a0 + 800940a: 4631 mov r1, r6 + 800940c: 4620 mov r0, r4 + 800940e: f7fd fef5 bl 80071fc + 8009412: 2300 movs r3, #0 + 8009414: e9c5 3300 strd r3, r3, [r5] + 8009418: e9c5 3304 strd r3, r3, [r5, #16] + 800941c: 60ab str r3, [r5, #8] + 800941e: 81ab strh r3, [r5, #12] + 8009420: e767 b.n 80092f2 + 8009422: 4631 mov r1, r6 + 8009424: 4620 mov r0, r4 + 8009426: f7fc fa19 bl 800585c + 800942a: e7f2 b.n 8009412 + 800942c: 6968 ldr r0, [r5, #20] + 800942e: 4639 mov r1, r7 + 8009430: f000 f8a3 bl 800957a + 8009434: b960 cbnz r0, 8009450 + 8009436: 696b ldr r3, [r5, #20] + 8009438: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 800943c: 2be0 cmp r3, #224 @ 0xe0 + 800943e: d007 beq.n 8009450 + 8009440: 4649 mov r1, r9 + 8009442: 4620 mov r0, r4 + 8009444: f7fa fb34 bl 8003ab0 + 8009448: 2102 movs r1, #2 + 800944a: 4620 mov r0, r4 + 800944c: f7ff fef2 bl 8009234 + 8009450: 4620 mov r0, r4 + 8009452: f7fa fb35 bl 8003ac0 + 8009456: e7dc b.n 8009412 + 8009458: 20005b24 .word 0x20005b24 + 800945c: 20018a74 .word 0x20018a74 + +08009460 : + 8009460: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} + 8009464: 4698 mov r8, r3 + 8009466: 7b83 ldrb r3, [r0, #14] + 8009468: 9f0c ldr r7, [sp, #48] @ 0x30 + 800946a: 2b01 cmp r3, #1 + 800946c: 4604 mov r4, r0 + 800946e: 4689 mov r9, r1 + 8009470: 4616 mov r6, r2 + 8009472: d006 beq.n 8009482 + 8009474: 4b32 ldr r3, [pc, #200] @ (8009540 ) + 8009476: 4933 ldr r1, [pc, #204] @ (8009544 ) + 8009478: 4833 ldr r0, [pc, #204] @ (8009548 ) + 800947a: f44f 7255 mov.w r2, #852 @ 0x354 + 800947e: f000 fe7b bl 800a178 + 8009482: 2e00 cmp r6, #0 + 8009484: d04e beq.n 8009524 + 8009486: 2114 movs r1, #20 + 8009488: 4620 mov r0, r4 + 800948a: f7fa fae1 bl 8003a50 + 800948e: b120 cbz r0, 800949a + 8009490: f06f 0001 mvn.w r0, #1 + 8009494: b002 add sp, #8 + 8009496: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800949a: 8963 ldrh r3, [r4, #10] + 800949c: 6865 ldr r5, [r4, #4] + 800949e: 2b13 cmp r3, #19 + 80094a0: d806 bhi.n 80094b0 + 80094a2: 4b27 ldr r3, [pc, #156] @ (8009540 ) + 80094a4: 4929 ldr r1, [pc, #164] @ (800954c ) + 80094a6: 4828 ldr r0, [pc, #160] @ (8009548 ) + 80094a8: f44f 7262 mov.w r2, #904 @ 0x388 + 80094ac: f000 fe64 bl 800a178 + 80094b0: f89d 302c ldrb.w r3, [sp, #44] @ 0x2c + 80094b4: f885 8008 strb.w r8, [r5, #8] + 80094b8: 726b strb r3, [r5, #9] + 80094ba: 6833 ldr r3, [r6, #0] + 80094bc: 612b str r3, [r5, #16] + 80094be: 2345 movs r3, #69 @ 0x45 + 80094c0: 702b strb r3, [r5, #0] + 80094c2: f89d 3028 ldrb.w r3, [sp, #40] @ 0x28 + 80094c6: 706b strb r3, [r5, #1] + 80094c8: 8920 ldrh r0, [r4, #8] + 80094ca: f8df a088 ldr.w sl, [pc, #136] @ 8009554 + 80094ce: f7f9 fdda bl 8003086 + 80094d2: f04f 0800 mov.w r8, #0 + 80094d6: 8068 strh r0, [r5, #2] + 80094d8: f885 8006 strb.w r8, [r5, #6] + 80094dc: f8ba 0000 ldrh.w r0, [sl] + 80094e0: f885 8007 strb.w r8, [r5, #7] + 80094e4: f7f9 fdcf bl 8003086 + 80094e8: f8ba 3000 ldrh.w r3, [sl] + 80094ec: 80a8 strh r0, [r5, #4] + 80094ee: 3301 adds r3, #1 + 80094f0: f8aa 3000 strh.w r3, [sl] + 80094f4: f1b9 0f00 cmp.w r9, #0 + 80094f8: d111 bne.n 800951e + 80094fa: 4b15 ldr r3, [pc, #84] @ (8009550 ) + 80094fc: 681b ldr r3, [r3, #0] + 80094fe: 60eb str r3, [r5, #12] + 8009500: f885 800a strb.w r8, [r5, #10] + 8009504: f885 800b strb.w r8, [r5, #11] + 8009508: 8d3b ldrh r3, [r7, #40] @ 0x28 + 800950a: b19b cbz r3, 8009534 + 800950c: 8922 ldrh r2, [r4, #8] + 800950e: 429a cmp r2, r3 + 8009510: d910 bls.n 8009534 + 8009512: 4632 mov r2, r6 + 8009514: 4639 mov r1, r7 + 8009516: 4620 mov r0, r4 + 8009518: f000 fbc0 bl 8009c9c + 800951c: e7ba b.n 8009494 + 800951e: f8d9 3000 ldr.w r3, [r9] + 8009522: e7ec b.n 80094fe + 8009524: 8963 ldrh r3, [r4, #10] + 8009526: 2b13 cmp r3, #19 + 8009528: d9b2 bls.n 8009490 + 800952a: 6863 ldr r3, [r4, #4] + 800952c: 691b ldr r3, [r3, #16] + 800952e: 9301 str r3, [sp, #4] + 8009530: ae01 add r6, sp, #4 + 8009532: e7e9 b.n 8009508 + 8009534: 697b ldr r3, [r7, #20] + 8009536: 4632 mov r2, r6 + 8009538: 4621 mov r1, r4 + 800953a: 4638 mov r0, r7 + 800953c: 4798 blx r3 + 800953e: e7a9 b.n 8009494 + 8009540: 0800cd99 .word 0x0800cd99 + 8009544: 0800cdcd .word 0x0800cdcd + 8009548: 0800b0a6 .word 0x0800b0a6 + 800954c: 0800cdd9 .word 0x0800cdd9 + 8009550: 0800ce50 .word 0x0800ce50 + 8009554: 20018c00 .word 0x20018c00 + +08009558 : + 8009558: b4f0 push {r4, r5, r6, r7} + 800955a: 9c06 ldr r4, [sp, #24] + 800955c: f89d 5010 ldrb.w r5, [sp, #16] + 8009560: f89d 6014 ldrb.w r6, [sp, #20] + 8009564: b11a cbz r2, 800956e + 8009566: b109 cbz r1, 800956c + 8009568: 680f ldr r7, [r1, #0] + 800956a: b907 cbnz r7, 800956e + 800956c: 1d21 adds r1, r4, #4 + 800956e: e9cd 6405 strd r6, r4, [sp, #20] + 8009572: 9504 str r5, [sp, #16] + 8009574: bcf0 pop {r4, r5, r6, r7} + 8009576: f7ff bf73 b.w 8009460 + +0800957a : + 800957a: 1e43 subs r3, r0, #1 + 800957c: 3303 adds r3, #3 + 800957e: 4602 mov r2, r0 + 8009580: d812 bhi.n 80095a8 + 8009582: f891 3031 ldrb.w r3, [r1, #49] @ 0x31 + 8009586: f013 0002 ands.w r0, r3, #2 + 800958a: d010 beq.n 80095ae + 800958c: 684b ldr r3, [r1, #4] + 800958e: 4293 cmp r3, r2 + 8009590: d00c beq.n 80095ac + 8009592: 6889 ldr r1, [r1, #8] + 8009594: 4053 eors r3, r2 + 8009596: 420b tst r3, r1 + 8009598: d108 bne.n 80095ac + 800959a: 43cb mvns r3, r1 + 800959c: ea22 0201 bic.w r2, r2, r1 + 80095a0: 1ad3 subs r3, r2, r3 + 80095a2: 4258 negs r0, r3 + 80095a4: 4158 adcs r0, r3 + 80095a6: 4770 bx lr + 80095a8: 2001 movs r0, #1 + 80095aa: 4770 bx lr + 80095ac: 2000 movs r0, #0 + 80095ae: 4770 bx lr + +080095b0 : + 80095b0: b5f0 push {r4, r5, r6, r7, lr} + 80095b2: b085 sub sp, #20 + 80095b4: 460c mov r4, r1 + 80095b6: f8df e11c ldr.w lr, [pc, #284] @ 80096d4 + 80095ba: 7803 ldrb r3, [r0, #0] + 80095bc: 4669 mov r1, sp + 80095be: 4602 mov r2, r0 + 80095c0: 468c mov ip, r1 + 80095c2: 2004 movs r0, #4 + 80095c4: f81e 5003 ldrb.w r5, [lr, r3] + 80095c8: f015 0504 ands.w r5, r5, #4 + 80095cc: d07a beq.n 80096c4 + 80095ce: 2b30 cmp r3, #48 @ 0x30 + 80095d0: d118 bne.n 8009604 + 80095d2: 7853 ldrb r3, [r2, #1] + 80095d4: f003 05df and.w r5, r3, #223 @ 0xdf + 80095d8: 2d58 cmp r5, #88 @ 0x58 + 80095da: bf0d iteet eq + 80095dc: 7893 ldrbeq r3, [r2, #2] + 80095de: 3201 addne r2, #1 + 80095e0: 2708 movne r7, #8 + 80095e2: 3202 addeq r2, #2 + 80095e4: bf08 it eq + 80095e6: 2710 moveq r7, #16 + 80095e8: 3201 adds r2, #1 + 80095ea: 2500 movs r5, #0 + 80095ec: f81e 6003 ldrb.w r6, [lr, r3] + 80095f0: f016 0f04 tst.w r6, #4 + 80095f4: d008 beq.n 8009608 + 80095f6: fb05 3307 mla r3, r5, r7, r3 + 80095fa: f1a3 0530 sub.w r5, r3, #48 @ 0x30 + 80095fe: 7813 ldrb r3, [r2, #0] + 8009600: 3201 adds r2, #1 + 8009602: e7f3 b.n 80095ec + 8009604: 270a movs r7, #10 + 8009606: e7ef b.n 80095e8 + 8009608: 2f10 cmp r7, #16 + 800960a: d10e bne.n 800962a + 800960c: f016 0f44 tst.w r6, #68 @ 0x44 + 8009610: d00b beq.n 800962a + 8009612: f006 0603 and.w r6, r6, #3 + 8009616: 2e02 cmp r6, #2 + 8009618: f103 030a add.w r3, r3, #10 + 800961c: bf14 ite ne + 800961e: 2641 movne r6, #65 @ 0x41 + 8009620: 2661 moveq r6, #97 @ 0x61 + 8009622: 1b9b subs r3, r3, r6 + 8009624: ea43 1505 orr.w r5, r3, r5, lsl #4 + 8009628: e7e9 b.n 80095fe + 800962a: 2b2e cmp r3, #46 @ 0x2e + 800962c: d105 bne.n 800963a + 800962e: 3801 subs r0, #1 + 8009630: d020 beq.n 8009674 + 8009632: f841 5b04 str.w r5, [r1], #4 + 8009636: 7813 ldrb r3, [r2, #0] + 8009638: e7c4 b.n 80095c4 + 800963a: b113 cbz r3, 8009642 + 800963c: f016 0008 ands.w r0, r6, #8 + 8009640: d018 beq.n 8009674 + 8009642: eba1 010c sub.w r1, r1, ip + 8009646: 1089 asrs r1, r1, #2 + 8009648: 1c48 adds r0, r1, #1 + 800964a: 2804 cmp r0, #4 + 800964c: d833 bhi.n 80096b6 + 800964e: e8df f000 tbb [pc, r0] + 8009652: 0b11 .short 0x0b11 + 8009654: 1303 .short 0x1303 + 8009656: 21 .byte 0x21 + 8009657: 00 .byte 0x00 + 8009658: f1b5 7f80 cmp.w r5, #16777216 @ 0x1000000 + 800965c: d232 bcs.n 80096c4 + 800965e: 9b00 ldr r3, [sp, #0] + 8009660: 2bff cmp r3, #255 @ 0xff + 8009662: d82f bhi.n 80096c4 + 8009664: ea45 6503 orr.w r5, r5, r3, lsl #24 + 8009668: b11c cbz r4, 8009672 + 800966a: 4628 mov r0, r5 + 800966c: f7f9 fd0e bl 800308c + 8009670: 6020 str r0, [r4, #0] + 8009672: 2001 movs r0, #1 + 8009674: b005 add sp, #20 + 8009676: bdf0 pop {r4, r5, r6, r7, pc} + 8009678: f5b5 3f80 cmp.w r5, #65536 @ 0x10000 + 800967c: d222 bcs.n 80096c4 + 800967e: 9a00 ldr r2, [sp, #0] + 8009680: 2aff cmp r2, #255 @ 0xff + 8009682: d81f bhi.n 80096c4 + 8009684: 9b01 ldr r3, [sp, #4] + 8009686: 2bff cmp r3, #255 @ 0xff + 8009688: d81c bhi.n 80096c4 + 800968a: 041b lsls r3, r3, #16 + 800968c: ea43 6302 orr.w r3, r3, r2, lsl #24 + 8009690: 431d orrs r5, r3 + 8009692: e7e9 b.n 8009668 + 8009694: 2dff cmp r5, #255 @ 0xff + 8009696: d815 bhi.n 80096c4 + 8009698: 9900 ldr r1, [sp, #0] + 800969a: 29ff cmp r1, #255 @ 0xff + 800969c: d812 bhi.n 80096c4 + 800969e: 9b01 ldr r3, [sp, #4] + 80096a0: 2bff cmp r3, #255 @ 0xff + 80096a2: d80f bhi.n 80096c4 + 80096a4: 9a02 ldr r2, [sp, #8] + 80096a6: 2aff cmp r2, #255 @ 0xff + 80096a8: d80c bhi.n 80096c4 + 80096aa: 041b lsls r3, r3, #16 + 80096ac: ea43 6301 orr.w r3, r3, r1, lsl #24 + 80096b0: ea43 2302 orr.w r3, r3, r2, lsl #8 + 80096b4: e7ec b.n 8009690 + 80096b6: 4b04 ldr r3, [pc, #16] @ (80096c8 ) + 80096b8: 4904 ldr r1, [pc, #16] @ (80096cc ) + 80096ba: 4805 ldr r0, [pc, #20] @ (80096d0 ) + 80096bc: 22f9 movs r2, #249 @ 0xf9 + 80096be: f000 fd5b bl 800a178 + 80096c2: e7d1 b.n 8009668 + 80096c4: 2000 movs r0, #0 + 80096c6: e7d5 b.n 8009674 + 80096c8: 0800ce06 .word 0x0800ce06 + 80096cc: 0800ce3f .word 0x0800ce3f + 80096d0: 0800b0a6 .word 0x0800b0a6 + 80096d4: 0800d0fa .word 0x0800d0fa + +080096d8 : + 80096d8: b507 push {r0, r1, r2, lr} + 80096da: a901 add r1, sp, #4 + 80096dc: f7ff ff68 bl 80095b0 + 80096e0: b118 cbz r0, 80096ea + 80096e2: 9801 ldr r0, [sp, #4] + 80096e4: b003 add sp, #12 + 80096e6: f85d fb04 ldr.w pc, [sp], #4 + 80096ea: f04f 30ff mov.w r0, #4294967295 + 80096ee: e7f9 b.n 80096e4 + +080096f0 : + 80096f0: b538 push {r3, r4, r5, lr} + 80096f2: 4b0c ldr r3, [pc, #48] @ (8009724 ) + 80096f4: 681a ldr r2, [r3, #0] + 80096f6: 4282 cmp r2, r0 + 80096f8: 4604 mov r4, r0 + 80096fa: 460d mov r5, r1 + 80096fc: d107 bne.n 800970e + 80096fe: 6802 ldr r2, [r0, #0] + 8009700: 601a str r2, [r3, #0] + 8009702: 4621 mov r1, r4 + 8009704: 2004 movs r0, #4 + 8009706: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 800970a: f7f9 bf75 b.w 80035f8 + 800970e: b931 cbnz r1, 800971e + 8009710: 4b05 ldr r3, [pc, #20] @ (8009728 ) + 8009712: 4906 ldr r1, [pc, #24] @ (800972c ) + 8009714: 4806 ldr r0, [pc, #24] @ (8009730 ) + 8009716: f240 1245 movw r2, #325 @ 0x145 + 800971a: f000 fd2d bl 800a178 + 800971e: 6823 ldr r3, [r4, #0] + 8009720: 602b str r3, [r5, #0] + 8009722: e7ee b.n 8009702 + 8009724: 20018c04 .word 0x20018c04 + 8009728: 0800ce54 .word 0x0800ce54 + 800972c: 0800ce8d .word 0x0800ce8d + 8009730: 0800b0a6 .word 0x0800b0a6 + +08009734 : + 8009734: 4281 cmp r1, r0 + 8009736: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800973a: 4604 mov r4, r0 + 800973c: 460e mov r6, r1 + 800973e: d105 bne.n 800974c + 8009740: 4b2f ldr r3, [pc, #188] @ (8009800 ) + 8009742: 4930 ldr r1, [pc, #192] @ (8009804 ) + 8009744: 4830 ldr r0, [pc, #192] @ (8009808 ) + 8009746: 22ab movs r2, #171 @ 0xab + 8009748: f000 fd16 bl 800a178 + 800974c: b146 cbz r6, 8009760 + 800974e: 6833 ldr r3, [r6, #0] + 8009750: 42a3 cmp r3, r4 + 8009752: d005 beq.n 8009760 + 8009754: 4b2a ldr r3, [pc, #168] @ (8009800 ) + 8009756: 492d ldr r1, [pc, #180] @ (800980c ) + 8009758: 482b ldr r0, [pc, #172] @ (8009808 ) + 800975a: 22ad movs r2, #173 @ 0xad + 800975c: f000 fd0c bl 800a178 + 8009760: 6867 ldr r7, [r4, #4] + 8009762: 687b ldr r3, [r7, #4] + 8009764: 889a ldrh r2, [r3, #4] + 8009766: bb92 cbnz r2, 80097ce + 8009768: 681a ldr r2, [r3, #0] + 800976a: 6062 str r2, [r4, #4] + 800976c: f104 011c add.w r1, r4, #28 + 8009770: f104 0208 add.w r2, r4, #8 + 8009774: f852 0b04 ldr.w r0, [r2], #4 + 8009778: f843 0b04 str.w r0, [r3], #4 + 800977c: 428a cmp r2, r1 + 800977e: d1f9 bne.n 8009774 + 8009780: 2101 movs r1, #1 + 8009782: 4638 mov r0, r7 + 8009784: f7ff fd5a bl 800923c + 8009788: 4638 mov r0, r7 + 800978a: f7fa facf bl 8003d2c + 800978e: 4605 mov r5, r0 + 8009790: 4638 mov r0, r7 + 8009792: f7fa f995 bl 8003ac0 + 8009796: 6867 ldr r7, [r4, #4] + 8009798: f8df 8064 ldr.w r8, [pc, #100] @ 8009800 + 800979c: f8df 9078 ldr.w r9, [pc, #120] @ 8009818 + 80097a0: f8df a064 ldr.w sl, [pc, #100] @ 8009808 + 80097a4: b9af cbnz r7, 80097d2 + 80097a6: 4620 mov r0, r4 + 80097a8: 4c19 ldr r4, [pc, #100] @ (8009810 ) + 80097aa: 4631 mov r1, r6 + 80097ac: f7ff ffa0 bl 80096f0 + 80097b0: 8823 ldrh r3, [r4, #0] + 80097b2: 42ab cmp r3, r5 + 80097b4: d205 bcs.n 80097c2 + 80097b6: 4b12 ldr r3, [pc, #72] @ (8009800 ) + 80097b8: 4916 ldr r1, [pc, #88] @ (8009814 ) + 80097ba: 4813 ldr r0, [pc, #76] @ (8009808 ) + 80097bc: 22d2 movs r2, #210 @ 0xd2 + 80097be: f000 fcdb bl 800a178 + 80097c2: 8823 ldrh r3, [r4, #0] + 80097c4: 1b5b subs r3, r3, r5 + 80097c6: 8023 strh r3, [r4, #0] + 80097c8: 4628 mov r0, r5 + 80097ca: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80097ce: 2500 movs r5, #0 + 80097d0: e7e1 b.n 8009796 + 80097d2: 687b ldr r3, [r7, #4] + 80097d4: 4638 mov r0, r7 + 80097d6: f8d3 b000 ldr.w fp, [r3] + 80097da: f7fa faa7 bl 8003d2c + 80097de: 4405 add r5, r0 + 80097e0: f5b5 3f80 cmp.w r5, #65536 @ 0x10000 + 80097e4: db05 blt.n 80097f2 + 80097e6: 4643 mov r3, r8 + 80097e8: 22cc movs r2, #204 @ 0xcc + 80097ea: 4649 mov r1, r9 + 80097ec: 4650 mov r0, sl + 80097ee: f000 fcc3 bl 800a178 + 80097f2: 4638 mov r0, r7 + 80097f4: f7fa f964 bl 8003ac0 + 80097f8: b2ad uxth r5, r5 + 80097fa: 465f mov r7, fp + 80097fc: e7d2 b.n 80097a4 + 80097fe: bf00 nop + 8009800: 0800ce54 .word 0x0800ce54 + 8009804: 0800cea6 .word 0x0800cea6 + 8009808: 0800b0a6 .word 0x0800b0a6 + 800980c: 0800ceb2 .word 0x0800ceb2 + 8009810: 20018c02 .word 0x20018c02 + 8009814: 0800cee1 .word 0x0800cee1 + 8009818: 0800cec4 .word 0x0800cec4 + +0800981c : + 800981c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8009820: f8df 806c ldr.w r8, [pc, #108] @ 8009890 + 8009824: 4605 mov r5, r0 + 8009826: 460f mov r7, r1 + 8009828: 2600 movs r6, #0 + 800982a: 2400 movs r4, #0 + 800982c: f8d8 3000 ldr.w r3, [r8] + 8009830: 4621 mov r1, r4 + 8009832: 46a4 mov ip, r4 + 8009834: 4620 mov r0, r4 + 8009836: b953 cbnz r3, 800984e + 8009838: b110 cbz r0, 8009840 + 800983a: f7ff ff7b bl 8009734 + 800983e: 4406 add r6, r0 + 8009840: 42be cmp r6, r7 + 8009842: da01 bge.n 8009848 + 8009844: 2c01 cmp r4, #1 + 8009846: dcf0 bgt.n 800982a + 8009848: 4630 mov r0, r6 + 800984a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800984e: f8d5 e00c ldr.w lr, [r5, #12] + 8009852: 695a ldr r2, [r3, #20] + 8009854: 4572 cmp r2, lr + 8009856: d109 bne.n 800986c + 8009858: f8d5 e010 ldr.w lr, [r5, #16] + 800985c: 699a ldr r2, [r3, #24] + 800985e: 4572 cmp r2, lr + 8009860: d104 bne.n 800986c + 8009862: f8b3 e00c ldrh.w lr, [r3, #12] + 8009866: 88aa ldrh r2, [r5, #4] + 8009868: 4596 cmp lr, r2 + 800986a: d008 beq.n 800987e + 800986c: 3401 adds r4, #1 + 800986e: b160 cbz r0, 800988a + 8009870: 7fc2 ldrb r2, [r0, #31] + 8009872: f893 e01f ldrb.w lr, [r3, #31] + 8009876: 4596 cmp lr, r2 + 8009878: bf9c itt ls + 800987a: 4661 movls r1, ip + 800987c: 4618 movls r0, r3 + 800987e: 681a ldr r2, [r3, #0] + 8009880: 2a00 cmp r2, #0 + 8009882: bf18 it ne + 8009884: 469c movne ip, r3 + 8009886: 4613 mov r3, r2 + 8009888: e7d5 b.n 8009836 + 800988a: 4661 mov r1, ip + 800988c: 4618 mov r0, r3 + 800988e: e7f6 b.n 800987e + 8009890: 20018c04 .word 0x20018c04 + +08009894 : + 8009894: b510 push {r4, lr} + 8009896: 4604 mov r4, r0 + 8009898: b930 cbnz r0, 80098a8 + 800989a: 4b08 ldr r3, [pc, #32] @ (80098bc ) + 800989c: 4908 ldr r1, [pc, #32] @ (80098c0 ) + 800989e: 4809 ldr r0, [pc, #36] @ (80098c4 ) + 80098a0: f240 22ce movw r2, #718 @ 0x2ce + 80098a4: f000 fc68 bl 800a178 + 80098a8: 6960 ldr r0, [r4, #20] + 80098aa: b108 cbz r0, 80098b0 + 80098ac: f7fa f908 bl 8003ac0 + 80098b0: 4621 mov r1, r4 + 80098b2: 2005 movs r0, #5 + 80098b4: e8bd 4010 ldmia.w sp!, {r4, lr} + 80098b8: f7f9 be9e b.w 80035f8 + 80098bc: 0800ce54 .word 0x0800ce54 + 80098c0: 0800cf03 .word 0x0800cf03 + 80098c4: 0800b0a6 .word 0x0800b0a6 + +080098c8 : + 80098c8: b538 push {r3, r4, r5, lr} + 80098ca: 4b09 ldr r3, [pc, #36] @ (80098f0 ) + 80098cc: 6818 ldr r0, [r3, #0] + 80098ce: 2400 movs r4, #0 + 80098d0: b900 cbnz r0, 80098d4 + 80098d2: bd38 pop {r3, r4, r5, pc} + 80098d4: 7fc3 ldrb r3, [r0, #31] + 80098d6: 6805 ldr r5, [r0, #0] + 80098d8: b123 cbz r3, 80098e4 + 80098da: 3b01 subs r3, #1 + 80098dc: 77c3 strb r3, [r0, #31] + 80098de: 4604 mov r4, r0 + 80098e0: 4628 mov r0, r5 + 80098e2: e7f5 b.n 80098d0 + 80098e4: 4621 mov r1, r4 + 80098e6: f7ff ff25 bl 8009734 + 80098ea: 4620 mov r0, r4 + 80098ec: e7f7 b.n 80098de + 80098ee: bf00 nop + 80098f0: 20018c04 .word 0x20018c04 + +080098f4 : + 80098f4: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80098f8: 6845 ldr r5, [r0, #4] + 80098fa: 782b ldrb r3, [r5, #0] + 80098fc: f003 030f and.w r3, r3, #15 + 8009900: 2b05 cmp r3, #5 + 8009902: 4607 mov r7, r0 + 8009904: f040 80a9 bne.w 8009a5a + 8009908: 88e8 ldrh r0, [r5, #6] + 800990a: f7f9 fbbc bl 8003086 + 800990e: 4680 mov r8, r0 + 8009910: 8868 ldrh r0, [r5, #2] + 8009912: f7f9 fbb8 bl 8003086 + 8009916: 782b ldrb r3, [r5, #0] + 8009918: f003 030f and.w r3, r3, #15 + 800991c: ebb0 0f83 cmp.w r0, r3, lsl #2 + 8009920: ea4f 0283 mov.w r2, r3, lsl #2 + 8009924: f0c0 8099 bcc.w 8009a5a + 8009928: 1a83 subs r3, r0, r2 + 800992a: b29b uxth r3, r3 + 800992c: 4cae ldr r4, [pc, #696] @ (8009be8 ) + 800992e: 9301 str r3, [sp, #4] + 8009930: 4638 mov r0, r7 + 8009932: f7fa f9fb bl 8003d2c + 8009936: 8823 ldrh r3, [r4, #0] + 8009938: 4403 add r3, r0 + 800993a: 2b0a cmp r3, #10 + 800993c: 4682 mov sl, r0 + 800993e: f300 8082 bgt.w 8009a46 + 8009942: 4eaa ldr r6, [pc, #680] @ (8009bec ) + 8009944: 6834 ldr r4, [r6, #0] + 8009946: 2c00 cmp r4, #0 + 8009948: f040 808c bne.w 8009a64 + 800994c: 2004 movs r0, #4 + 800994e: f7f9 fe25 bl 800359c + 8009952: 4604 mov r4, r0 + 8009954: b958 cbnz r0, 800996e + 8009956: 4651 mov r1, sl + 8009958: 4628 mov r0, r5 + 800995a: f7ff ff5f bl 800981c + 800995e: 4582 cmp sl, r0 + 8009960: dc7b bgt.n 8009a5a + 8009962: 2004 movs r0, #4 + 8009964: f7f9 fe1a bl 800359c + 8009968: 4604 mov r4, r0 + 800996a: 2800 cmp r0, #0 + 800996c: d075 beq.n 8009a5a + 800996e: 221c movs r2, #28 + 8009970: 2100 movs r1, #0 + 8009972: 1d20 adds r0, r4, #4 + 8009974: f000 fc65 bl 800a242 + 8009978: 230f movs r3, #15 + 800997a: 77e3 strb r3, [r4, #31] + 800997c: 6833 ldr r3, [r6, #0] + 800997e: 6023 str r3, [r4, #0] + 8009980: 6034 str r4, [r6, #0] + 8009982: 462b mov r3, r5 + 8009984: f104 0208 add.w r2, r4, #8 + 8009988: f105 0114 add.w r1, r5, #20 + 800998c: f853 0b04 ldr.w r0, [r3], #4 + 8009990: f842 0b04 str.w r0, [r2], #4 + 8009994: 428b cmp r3, r1 + 8009996: d1f9 bne.n 800998c + 8009998: f8b5 b006 ldrh.w fp, [r5, #6] + 800999c: f3c8 080c ubfx r8, r8, #0, #13 + 80099a0: f01b 0b20 ands.w fp, fp, #32 + 80099a4: ea4f 08c8 mov.w r8, r8, lsl #3 + 80099a8: d10a bne.n 80099c0 + 80099aa: 9b01 ldr r3, [sp, #4] + 80099ac: 4443 add r3, r8 + 80099ae: b29b uxth r3, r3 + 80099b0: 4598 cmp r8, r3 + 80099b2: f200 813a bhi.w 8009c2a + 80099b6: f64f 72eb movw r2, #65515 @ 0xffeb + 80099ba: 4293 cmp r3, r2 + 80099bc: f200 8135 bhi.w 8009c2a + 80099c0: 687d ldr r5, [r7, #4] + 80099c2: 8868 ldrh r0, [r5, #2] + 80099c4: f7f9 fb5f bl 8003086 + 80099c8: 782b ldrb r3, [r5, #0] + 80099ca: f003 030f and.w r3, r3, #15 + 80099ce: ebb0 0f83 cmp.w r0, r3, lsl #2 + 80099d2: ea4f 0283 mov.w r2, r3, lsl #2 + 80099d6: f0c0 8128 bcc.w 8009c2a + 80099da: 1a80 subs r0, r0, r2 + 80099dc: fa1f f980 uxth.w r9, r0 + 80099e0: 88e8 ldrh r0, [r5, #6] + 80099e2: f7f9 fb50 bl 8003086 + 80099e6: f3c0 030c ubfx r3, r0, #0, #13 + 80099ea: 00db lsls r3, r3, #3 + 80099ec: eb09 0003 add.w r0, r9, r3 + 80099f0: 687e ldr r6, [r7, #4] + 80099f2: fa1f fc80 uxth.w ip, r0 + 80099f6: 2500 movs r5, #0 + 80099f8: 4563 cmp r3, ip + 80099fa: 7035 strb r5, [r6, #0] + 80099fc: 7075 strb r5, [r6, #1] + 80099fe: 70b5 strb r5, [r6, #2] + 8009a00: 70f5 strb r5, [r6, #3] + 8009a02: 80b3 strh r3, [r6, #4] + 8009a04: 80f0 strh r0, [r6, #6] + 8009a06: f200 8110 bhi.w 8009c2a + 8009a0a: f8d4 e004 ldr.w lr, [r4, #4] + 8009a0e: f04f 0901 mov.w r9, #1 + 8009a12: 4670 mov r0, lr + 8009a14: bba8 cbnz r0, 8009a82 + 8009a16: 2d00 cmp r5, #0 + 8009a18: f000 80b2 beq.w 8009b80 + 8009a1c: 88ea ldrh r2, [r5, #6] + 8009a1e: 429a cmp r2, r3 + 8009a20: d906 bls.n 8009a30 + 8009a22: 4b73 ldr r3, [pc, #460] @ (8009bf0 ) + 8009a24: 4973 ldr r1, [pc, #460] @ (8009bf4 ) + 8009a26: 4874 ldr r0, [pc, #464] @ (8009bf8 ) + 8009a28: f44f 72db mov.w r2, #438 @ 0x1b6 + 8009a2c: f000 fba4 bl 800a178 + 8009a30: 602f str r7, [r5, #0] + 8009a32: 88ea ldrh r2, [r5, #6] + 8009a34: 88b3 ldrh r3, [r6, #4] + 8009a36: 429a cmp r2, r3 + 8009a38: d036 beq.n 8009aa8 + 8009a3a: f1bb 0f00 cmp.w fp, #0 + 8009a3e: d03e beq.n 8009abe + 8009a40: f04f 0900 mov.w r9, #0 + 8009a44: e033 b.n 8009aae + 8009a46: 4601 mov r1, r0 + 8009a48: 4628 mov r0, r5 + 8009a4a: f7ff fee7 bl 800981c + 8009a4e: b120 cbz r0, 8009a5a + 8009a50: 8823 ldrh r3, [r4, #0] + 8009a52: 4453 add r3, sl + 8009a54: 2b0a cmp r3, #10 + 8009a56: f77f af74 ble.w 8009942 + 8009a5a: 4638 mov r0, r7 + 8009a5c: f7fa f830 bl 8003ac0 + 8009a60: 2700 movs r7, #0 + 8009a62: e078 b.n 8009b56 + 8009a64: 68eb ldr r3, [r5, #12] + 8009a66: 6962 ldr r2, [r4, #20] + 8009a68: 429a cmp r2, r3 + 8009a6a: d108 bne.n 8009a7e + 8009a6c: 692b ldr r3, [r5, #16] + 8009a6e: 69a2 ldr r2, [r4, #24] + 8009a70: 429a cmp r2, r3 + 8009a72: d104 bne.n 8009a7e + 8009a74: 89a2 ldrh r2, [r4, #12] + 8009a76: 88ab ldrh r3, [r5, #4] + 8009a78: 429a cmp r2, r3 + 8009a7a: f000 80ea beq.w 8009c52 + 8009a7e: 6824 ldr r4, [r4, #0] + 8009a80: e761 b.n 8009946 + 8009a82: 6842 ldr r2, [r0, #4] + 8009a84: 8891 ldrh r1, [r2, #4] + 8009a86: 428b cmp r3, r1 + 8009a88: d26d bcs.n 8009b66 + 8009a8a: 6030 str r0, [r6, #0] + 8009a8c: 2d00 cmp r5, #0 + 8009a8e: d066 beq.n 8009b5e + 8009a90: 88ea ldrh r2, [r5, #6] + 8009a92: 4293 cmp r3, r2 + 8009a94: f0c0 80c9 bcc.w 8009c2a + 8009a98: 458c cmp ip, r1 + 8009a9a: f200 80c6 bhi.w 8009c2a + 8009a9e: 602f str r7, [r5, #0] + 8009aa0: 4293 cmp r3, r2 + 8009aa2: bf18 it ne + 8009aa4: f04f 0900 movne.w r9, #0 + 8009aa8: f1bb 0f00 cmp.w fp, #0 + 8009aac: d004 beq.n 8009ab8 + 8009aae: 7fa3 ldrb r3, [r4, #30] + 8009ab0: f013 0301 ands.w r3, r3, #1 + 8009ab4: f000 8095 beq.w 8009be2 + 8009ab8: f1b9 0f00 cmp.w r9, #0 + 8009abc: d16b bne.n 8009b96 + 8009abe: f04f 0900 mov.w r9, #0 + 8009ac2: 4e49 ldr r6, [pc, #292] @ (8009be8 ) + 8009ac4: 8833 ldrh r3, [r6, #0] + 8009ac6: 4453 add r3, sl + 8009ac8: 8033 strh r3, [r6, #0] + 8009aca: f1bb 0f00 cmp.w fp, #0 + 8009ace: d107 bne.n 8009ae0 + 8009ad0: 9b01 ldr r3, [sp, #4] + 8009ad2: 4498 add r8, r3 + 8009ad4: 7fa3 ldrb r3, [r4, #30] + 8009ad6: f8a4 801c strh.w r8, [r4, #28] + 8009ada: f043 0301 orr.w r3, r3, #1 + 8009ade: 77a3 strb r3, [r4, #30] + 8009ae0: f1b9 0f01 cmp.w r9, #1 + 8009ae4: d1bc bne.n 8009a60 + 8009ae6: 6863 ldr r3, [r4, #4] + 8009ae8: 8ba0 ldrh r0, [r4, #28] + 8009aea: 685f ldr r7, [r3, #4] + 8009aec: 3014 adds r0, #20 + 8009aee: 683d ldr r5, [r7, #0] + 8009af0: b280 uxth r0, r0 + 8009af2: f104 0308 add.w r3, r4, #8 + 8009af6: 463a mov r2, r7 + 8009af8: f104 011c add.w r1, r4, #28 + 8009afc: f853 cb04 ldr.w ip, [r3], #4 + 8009b00: f842 cb04 str.w ip, [r2], #4 + 8009b04: 428b cmp r3, r1 + 8009b06: d1f9 bne.n 8009afc + 8009b08: f7f9 fabd bl 8003086 + 8009b0c: 2300 movs r3, #0 + 8009b0e: 8078 strh r0, [r7, #2] + 8009b10: 71bb strb r3, [r7, #6] + 8009b12: 71fb strb r3, [r7, #7] + 8009b14: 72bb strb r3, [r7, #10] + 8009b16: 72fb strb r3, [r7, #11] + 8009b18: 6867 ldr r7, [r4, #4] + 8009b1a: 2d00 cmp r5, #0 + 8009b1c: d176 bne.n 8009c0c + 8009b1e: 4b33 ldr r3, [pc, #204] @ (8009bec ) + 8009b20: 681b ldr r3, [r3, #0] + 8009b22: 42a3 cmp r3, r4 + 8009b24: d002 beq.n 8009b2c + 8009b26: 461d mov r5, r3 + 8009b28: 2b00 cmp r3, #0 + 8009b2a: d17c bne.n 8009c26 + 8009b2c: 4620 mov r0, r4 + 8009b2e: 4629 mov r1, r5 + 8009b30: f7ff fdde bl 80096f0 + 8009b34: 4638 mov r0, r7 + 8009b36: f7fa f8f9 bl 8003d2c + 8009b3a: 8833 ldrh r3, [r6, #0] + 8009b3c: 4283 cmp r3, r0 + 8009b3e: 4604 mov r4, r0 + 8009b40: d206 bcs.n 8009b50 + 8009b42: 4b2b ldr r3, [pc, #172] @ (8009bf0 ) + 8009b44: 492d ldr r1, [pc, #180] @ (8009bfc ) + 8009b46: 482c ldr r0, [pc, #176] @ (8009bf8 ) + 8009b48: f240 229b movw r2, #667 @ 0x29b + 8009b4c: f000 fb14 bl 800a178 + 8009b50: 8833 ldrh r3, [r6, #0] + 8009b52: 1b1b subs r3, r3, r4 + 8009b54: 8033 strh r3, [r6, #0] + 8009b56: 4638 mov r0, r7 + 8009b58: b003 add sp, #12 + 8009b5a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8009b5e: 458c cmp ip, r1 + 8009b60: d863 bhi.n 8009c2a + 8009b62: 6067 str r7, [r4, #4] + 8009b64: e7a0 b.n 8009aa8 + 8009b66: d060 beq.n 8009c2a + 8009b68: 88d0 ldrh r0, [r2, #6] + 8009b6a: 4298 cmp r0, r3 + 8009b6c: d85d bhi.n 8009c2a + 8009b6e: b125 cbz r5, 8009b7a + 8009b70: 88e8 ldrh r0, [r5, #6] + 8009b72: 4288 cmp r0, r1 + 8009b74: bf18 it ne + 8009b76: f04f 0900 movne.w r9, #0 + 8009b7a: 6810 ldr r0, [r2, #0] + 8009b7c: 4615 mov r5, r2 + 8009b7e: e749 b.n 8009a14 + 8009b80: f1be 0f00 cmp.w lr, #0 + 8009b84: d0ed beq.n 8009b62 + 8009b86: 4b1a ldr r3, [pc, #104] @ (8009bf0 ) + 8009b88: 491d ldr r1, [pc, #116] @ (8009c00 ) + 8009b8a: 481b ldr r0, [pc, #108] @ (8009bf8 ) + 8009b8c: f44f 72df mov.w r2, #446 @ 0x1be + 8009b90: f000 faf2 bl 800a178 + 8009b94: e7e5 b.n 8009b62 + 8009b96: 6863 ldr r3, [r4, #4] + 8009b98: 2b00 cmp r3, #0 + 8009b9a: d090 beq.n 8009abe + 8009b9c: 6859 ldr r1, [r3, #4] + 8009b9e: 888b ldrh r3, [r1, #4] + 8009ba0: 2b00 cmp r3, #0 + 8009ba2: d18c bne.n 8009abe + 8009ba4: 6833 ldr r3, [r6, #0] + 8009ba6: b99b cbnz r3, 8009bd0 + 8009ba8: 42b1 cmp r1, r6 + 8009baa: d106 bne.n 8009bba + 8009bac: 4b10 ldr r3, [pc, #64] @ (8009bf0 ) + 8009bae: 4915 ldr r1, [pc, #84] @ (8009c04 ) + 8009bb0: 4811 ldr r0, [pc, #68] @ (8009bf8 ) + 8009bb2: f44f 72f0 mov.w r2, #480 @ 0x1e0 + 8009bb6: f000 fadf bl 800a178 + 8009bba: 6833 ldr r3, [r6, #0] + 8009bbc: 2b00 cmp r3, #0 + 8009bbe: d080 beq.n 8009ac2 + 8009bc0: 4b0b ldr r3, [pc, #44] @ (8009bf0 ) + 8009bc2: 4911 ldr r1, [pc, #68] @ (8009c08 ) + 8009bc4: 480c ldr r0, [pc, #48] @ (8009bf8 ) + 8009bc6: f44f 72f1 mov.w r2, #482 @ 0x1e2 + 8009bca: f000 fad5 bl 800a178 + 8009bce: e778 b.n 8009ac2 + 8009bd0: 685a ldr r2, [r3, #4] + 8009bd2: 88f0 ldrh r0, [r6, #6] + 8009bd4: 8893 ldrh r3, [r2, #4] + 8009bd6: 4298 cmp r0, r3 + 8009bd8: f47f af71 bne.w 8009abe + 8009bdc: 6813 ldr r3, [r2, #0] + 8009bde: 4616 mov r6, r2 + 8009be0: e7e1 b.n 8009ba6 + 8009be2: 4699 mov r9, r3 + 8009be4: e76d b.n 8009ac2 + 8009be6: bf00 nop + 8009be8: 20018c02 .word 0x20018c02 + 8009bec: 20018c04 .word 0x20018c04 + 8009bf0: 0800ce54 .word 0x0800ce54 + 8009bf4: 0800cf0f .word 0x0800cf0f + 8009bf8: 0800b0a6 .word 0x0800b0a6 + 8009bfc: 0800cf93 .word 0x0800cf93 + 8009c00: 0800cf2d .word 0x0800cf2d + 8009c04: 0800cf64 .word 0x0800cf64 + 8009c08: 0800cf71 .word 0x0800cf71 + 8009c0c: f8d5 8004 ldr.w r8, [r5, #4] + 8009c10: 2114 movs r1, #20 + 8009c12: 4628 mov r0, r5 + 8009c14: f7f9 ff20 bl 8003a58 + 8009c18: 4629 mov r1, r5 + 8009c1a: 4638 mov r0, r7 + 8009c1c: f7fa f8a2 bl 8003d64 + 8009c20: f8d8 5000 ldr.w r5, [r8] + 8009c24: e779 b.n 8009b1a + 8009c26: 682b ldr r3, [r5, #0] + 8009c28: e77b b.n 8009b22 + 8009c2a: 6863 ldr r3, [r4, #4] + 8009c2c: 2b00 cmp r3, #0 + 8009c2e: f47f af14 bne.w 8009a5a + 8009c32: 4b16 ldr r3, [pc, #88] @ (8009c8c ) + 8009c34: 681b ldr r3, [r3, #0] + 8009c36: 42a3 cmp r3, r4 + 8009c38: d006 beq.n 8009c48 + 8009c3a: 4b15 ldr r3, [pc, #84] @ (8009c90 ) + 8009c3c: 4915 ldr r1, [pc, #84] @ (8009c94 ) + 8009c3e: 4816 ldr r0, [pc, #88] @ (8009c98 ) + 8009c40: f240 22ab movw r2, #683 @ 0x2ab + 8009c44: f000 fa98 bl 800a178 + 8009c48: 2100 movs r1, #0 + 8009c4a: 4620 mov r0, r4 + 8009c4c: f7ff fd50 bl 80096f0 + 8009c50: e703 b.n 8009a5a + 8009c52: 88e8 ldrh r0, [r5, #6] + 8009c54: f7f9 fa17 bl 8003086 + 8009c58: f3c0 000c ubfx r0, r0, #0, #13 + 8009c5c: 2800 cmp r0, #0 + 8009c5e: f47f ae9b bne.w 8009998 + 8009c62: 89e0 ldrh r0, [r4, #14] + 8009c64: f7f9 fa0f bl 8003086 + 8009c68: f3c0 000c ubfx r0, r0, #0, #13 + 8009c6c: 2800 cmp r0, #0 + 8009c6e: f43f ae93 beq.w 8009998 + 8009c72: 462b mov r3, r5 + 8009c74: f104 0208 add.w r2, r4, #8 + 8009c78: f105 0114 add.w r1, r5, #20 + 8009c7c: f853 0b04 ldr.w r0, [r3], #4 + 8009c80: f842 0b04 str.w r0, [r2], #4 + 8009c84: 428b cmp r3, r1 + 8009c86: d1f9 bne.n 8009c7c + 8009c88: e686 b.n 8009998 + 8009c8a: bf00 nop + 8009c8c: 20018c04 .word 0x20018c04 + 8009c90: 0800ce54 .word 0x0800ce54 + 8009c94: 0800cfae .word 0x0800cfae + 8009c98: 0800b0a6 .word 0x0800b0a6 + +08009c9c : + 8009c9c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8009ca0: 8d0b ldrh r3, [r1, #40] @ 0x28 + 8009ca2: b08d sub sp, #52 @ 0x34 + 8009ca4: 4605 mov r5, r0 + 8009ca6: 9209 str r2, [sp, #36] @ 0x24 + 8009ca8: f1b3 0214 subs.w r2, r3, #20 + 8009cac: bf48 it mi + 8009cae: f1a3 020d submi.w r2, r3, #13 + 8009cb2: f3c2 03cf ubfx r3, r2, #3, #16 + 8009cb6: 9306 str r3, [sp, #24] + 8009cb8: 6843 ldr r3, [r0, #4] + 8009cba: 9303 str r3, [sp, #12] + 8009cbc: 781b ldrb r3, [r3, #0] + 8009cbe: f003 030f and.w r3, r3, #15 + 8009cc2: 2b05 cmp r3, #5 + 8009cc4: 468a mov sl, r1 + 8009cc6: ea4f 0783 mov.w r7, r3, lsl #2 + 8009cca: d109 bne.n 8009ce0 + 8009ccc: 8943 ldrh r3, [r0, #10] + 8009cce: 2b13 cmp r3, #19 + 8009cd0: d80b bhi.n 8009cea + 8009cd2: 4b5f ldr r3, [pc, #380] @ (8009e50 ) + 8009cd4: 495f ldr r1, [pc, #380] @ (8009e54 ) + 8009cd6: 4860 ldr r0, [pc, #384] @ (8009e58 ) + 8009cd8: f44f 723f mov.w r2, #764 @ 0x2fc + 8009cdc: f000 fa4c bl 800a178 + 8009ce0: f06f 0005 mvn.w r0, #5 + 8009ce4: b00d add sp, #52 @ 0x34 + 8009ce6: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8009cea: 9b03 ldr r3, [sp, #12] + 8009cec: 88d8 ldrh r0, [r3, #6] + 8009cee: f7f9 f9ca bl 8003086 + 8009cf2: f3c0 030c ubfx r3, r0, #0, #13 + 8009cf6: 9304 str r3, [sp, #16] + 8009cf8: f400 5300 and.w r3, r0, #8192 @ 0x2000 + 8009cfc: 9308 str r3, [sp, #32] + 8009cfe: 9b06 ldr r3, [sp, #24] + 8009d00: 892c ldrh r4, [r5, #8] + 8009d02: 00db lsls r3, r3, #3 + 8009d04: 3c14 subs r4, #20 + 8009d06: b29b uxth r3, r3 + 8009d08: b2a4 uxth r4, r4 + 8009d0a: 9307 str r3, [sp, #28] + 8009d0c: 2600 movs r6, #0 + 8009d0e: b90c cbnz r4, 8009d14 + 8009d10: 4620 mov r0, r4 + 8009d12: e7e7 b.n 8009ce4 + 8009d14: 9b07 ldr r3, [sp, #28] + 8009d16: 42a3 cmp r3, r4 + 8009d18: bf28 it cs + 8009d1a: 4623 movcs r3, r4 + 8009d1c: f44f 7220 mov.w r2, #640 @ 0x280 + 8009d20: 2114 movs r1, #20 + 8009d22: 200e movs r0, #14 + 8009d24: 9305 str r3, [sp, #20] + 8009d26: f7f9 ff2f bl 8003b88 + 8009d2a: 4680 mov r8, r0 + 8009d2c: b910 cbnz r0, 8009d34 + 8009d2e: f04f 30ff mov.w r0, #4294967295 + 8009d32: e7d7 b.n 8009ce4 + 8009d34: 8943 ldrh r3, [r0, #10] + 8009d36: 2b13 cmp r3, #19 + 8009d38: d806 bhi.n 8009d48 + 8009d3a: 4b45 ldr r3, [pc, #276] @ (8009e50 ) + 8009d3c: 4947 ldr r1, [pc, #284] @ (8009e5c ) + 8009d3e: 4846 ldr r0, [pc, #280] @ (8009e58 ) + 8009d40: f44f 7249 mov.w r2, #804 @ 0x324 + 8009d44: f000 fa18 bl 800a178 + 8009d48: 9b03 ldr r3, [sp, #12] + 8009d4a: f8d8 2004 ldr.w r2, [r8, #4] + 8009d4e: 4619 mov r1, r3 + 8009d50: 3114 adds r1, #20 + 8009d52: f853 0b04 ldr.w r0, [r3], #4 + 8009d56: f842 0b04 str.w r0, [r2], #4 + 8009d5a: 428b cmp r3, r1 + 8009d5c: d1f9 bne.n 8009d52 + 8009d5e: f8d8 b004 ldr.w fp, [r8, #4] + 8009d62: f8dd 9014 ldr.w r9, [sp, #20] + 8009d66: f1b9 0f00 cmp.w r9, #0 + 8009d6a: d040 beq.n 8009dee + 8009d6c: 896b ldrh r3, [r5, #10] + 8009d6e: 1bde subs r6, r3, r7 + 8009d70: 42bb cmp r3, r7 + 8009d72: b2b6 uxth r6, r6 + 8009d74: d206 bcs.n 8009d84 + 8009d76: 4b36 ldr r3, [pc, #216] @ (8009e50 ) + 8009d78: 4939 ldr r1, [pc, #228] @ (8009e60 ) + 8009d7a: 4837 ldr r0, [pc, #220] @ (8009e58 ) + 8009d7c: f240 322d movw r2, #813 @ 0x32d + 8009d80: f000 f9fa bl 800a178 + 8009d84: 454e cmp r6, r9 + 8009d86: bf28 it cs + 8009d88: 464e movcs r6, r9 + 8009d8a: b916 cbnz r6, 8009d92 + 8009d8c: 682d ldr r5, [r5, #0] + 8009d8e: 2700 movs r7, #0 + 8009d90: e7e9 b.n 8009d66 + 8009d92: 2005 movs r0, #5 + 8009d94: f7f9 fc02 bl 800359c + 8009d98: 4603 mov r3, r0 + 8009d9a: b918 cbnz r0, 8009da4 + 8009d9c: 4640 mov r0, r8 + 8009d9e: f7f9 fe8f bl 8003ac0 + 8009da2: e7c4 b.n 8009d2e + 8009da4: 9601 str r6, [sp, #4] + 8009da6: 686a ldr r2, [r5, #4] + 8009da8: 900a str r0, [sp, #40] @ 0x28 + 8009daa: 443a add r2, r7 + 8009dac: 9200 str r2, [sp, #0] + 8009dae: 4631 mov r1, r6 + 8009db0: 2241 movs r2, #65 @ 0x41 + 8009db2: 2000 movs r0, #0 + 8009db4: f7f9 fe32 bl 8003a1c + 8009db8: 9b0a ldr r3, [sp, #40] @ 0x28 + 8009dba: b920 cbnz r0, 8009dc6 + 8009dbc: 4619 mov r1, r3 + 8009dbe: 2005 movs r0, #5 + 8009dc0: f7f9 fc1a bl 80035f8 + 8009dc4: e7ea b.n 8009d9c + 8009dc6: e9cd 030a strd r0, r3, [sp, #40] @ 0x28 + 8009dca: 4628 mov r0, r5 + 8009dcc: f7f9 ffb6 bl 8003d3c + 8009dd0: 9b0b ldr r3, [sp, #44] @ 0x2c + 8009dd2: 4a24 ldr r2, [pc, #144] @ (8009e64 ) + 8009dd4: 990a ldr r1, [sp, #40] @ 0x28 + 8009dd6: 615d str r5, [r3, #20] + 8009dd8: eba9 0906 sub.w r9, r9, r6 + 8009ddc: 611a str r2, [r3, #16] + 8009dde: 4640 mov r0, r8 + 8009de0: fa1f f989 uxth.w r9, r9 + 8009de4: f7f9 ffbe bl 8003d64 + 8009de8: f1b9 0f00 cmp.w r9, #0 + 8009dec: d1ce bne.n 8009d8c + 8009dee: 9b04 ldr r3, [sp, #16] + 8009df0: f3c3 000c ubfx r0, r3, #0, #13 + 8009df4: f8ba 3028 ldrh.w r3, [sl, #40] @ 0x28 + 8009df8: 3b13 subs r3, #19 + 8009dfa: 4437 add r7, r6 + 8009dfc: 42a3 cmp r3, r4 + 8009dfe: b2bf uxth r7, r7 + 8009e00: dd01 ble.n 8009e06 + 8009e02: 9b08 ldr r3, [sp, #32] + 8009e04: b10b cbz r3, 8009e0a + 8009e06: f440 5000 orr.w r0, r0, #8192 @ 0x2000 + 8009e0a: f7f9 f93c bl 8003086 + 8009e0e: 9b05 ldr r3, [sp, #20] + 8009e10: f8ab 0006 strh.w r0, [fp, #6] + 8009e14: f103 0014 add.w r0, r3, #20 + 8009e18: b280 uxth r0, r0 + 8009e1a: f7f9 f934 bl 8003086 + 8009e1e: 2300 movs r3, #0 + 8009e20: 9a09 ldr r2, [sp, #36] @ 0x24 + 8009e22: f8ab 0002 strh.w r0, [fp, #2] + 8009e26: f88b 300a strb.w r3, [fp, #10] + 8009e2a: f88b 300b strb.w r3, [fp, #11] + 8009e2e: 4641 mov r1, r8 + 8009e30: f8da 3014 ldr.w r3, [sl, #20] + 8009e34: 4650 mov r0, sl + 8009e36: 4798 blx r3 + 8009e38: 4640 mov r0, r8 + 8009e3a: f7f9 fe41 bl 8003ac0 + 8009e3e: 9b05 ldr r3, [sp, #20] + 8009e40: 9a06 ldr r2, [sp, #24] + 8009e42: 1ae3 subs r3, r4, r3 + 8009e44: b29c uxth r4, r3 + 8009e46: 9b04 ldr r3, [sp, #16] + 8009e48: 4413 add r3, r2 + 8009e4a: b29b uxth r3, r3 + 8009e4c: 9304 str r3, [sp, #16] + 8009e4e: e75e b.n 8009d0e + 8009e50: 0800ce54 .word 0x0800ce54 + 8009e54: 0800cfce .word 0x0800cfce + 8009e58: 0800b0a6 .word 0x0800b0a6 + 8009e5c: 0800cfe9 .word 0x0800cfe9 + 8009e60: 0800d009 .word 0x0800d009 + 8009e64: 08009895 .word 0x08009895 + +08009e68 : + 8009e68: 8943 ldrh r3, [r0, #10] + 8009e6a: 2b0e cmp r3, #14 + 8009e6c: b570 push {r4, r5, r6, lr} + 8009e6e: 4604 mov r4, r0 + 8009e70: 460d mov r5, r1 + 8009e72: d91a bls.n 8009eaa + 8009e74: 7bc3 ldrb r3, [r0, #15] + 8009e76: b91b cbnz r3, 8009e80 + 8009e78: f891 3034 ldrb.w r3, [r1, #52] @ 0x34 + 8009e7c: 3301 adds r3, #1 + 8009e7e: 73c3 strb r3, [r0, #15] + 8009e80: 6860 ldr r0, [r4, #4] + 8009e82: 7803 ldrb r3, [r0, #0] + 8009e84: 8986 ldrh r6, [r0, #12] + 8009e86: 07d9 lsls r1, r3, #31 + 8009e88: d50a bpl.n 8009ea0 + 8009e8a: 2b01 cmp r3, #1 + 8009e8c: d111 bne.n 8009eb2 + 8009e8e: 7843 ldrb r3, [r0, #1] + 8009e90: b933 cbnz r3, 8009ea0 + 8009e92: 7883 ldrb r3, [r0, #2] + 8009e94: 2b5e cmp r3, #94 @ 0x5e + 8009e96: d103 bne.n 8009ea0 + 8009e98: 7b63 ldrb r3, [r4, #13] + 8009e9a: f043 0310 orr.w r3, r3, #16 + 8009e9e: 7363 strb r3, [r4, #13] + 8009ea0: 2e08 cmp r6, #8 + 8009ea2: d010 beq.n 8009ec6 + 8009ea4: f5b6 6fc1 cmp.w r6, #1544 @ 0x608 + 8009ea8: d01d beq.n 8009ee6 + 8009eaa: 4620 mov r0, r4 + 8009eac: f7f9 fe08 bl 8003ac0 + 8009eb0: e017 b.n 8009ee2 + 8009eb2: 4914 ldr r1, [pc, #80] @ (8009f04 ) + 8009eb4: 2206 movs r2, #6 + 8009eb6: f000 f9b4 bl 800a222 + 8009eba: 2800 cmp r0, #0 + 8009ebc: d1f0 bne.n 8009ea0 + 8009ebe: 7b63 ldrb r3, [r4, #13] + 8009ec0: f043 0308 orr.w r3, r3, #8 + 8009ec4: e7eb b.n 8009e9e + 8009ec6: f895 3031 ldrb.w r3, [r5, #49] @ 0x31 + 8009eca: 071a lsls r2, r3, #28 + 8009ecc: d5ed bpl.n 8009eaa + 8009ece: 210e movs r1, #14 + 8009ed0: 4620 mov r0, r4 + 8009ed2: f7f9 fdc1 bl 8003a58 + 8009ed6: 2800 cmp r0, #0 + 8009ed8: d1e7 bne.n 8009eaa + 8009eda: 4629 mov r1, r5 + 8009edc: 4620 mov r0, r4 + 8009ede: f7ff f9f9 bl 80092d4 + 8009ee2: 2000 movs r0, #0 + 8009ee4: bd70 pop {r4, r5, r6, pc} + 8009ee6: f895 3031 ldrb.w r3, [r5, #49] @ 0x31 + 8009eea: 071b lsls r3, r3, #28 + 8009eec: d5dd bpl.n 8009eaa + 8009eee: 210e movs r1, #14 + 8009ef0: 4620 mov r0, r4 + 8009ef2: f7f9 fdb1 bl 8003a58 + 8009ef6: 2800 cmp r0, #0 + 8009ef8: d1d7 bne.n 8009eaa + 8009efa: 4629 mov r1, r5 + 8009efc: 4620 mov r0, r4 + 8009efe: f7fe fe3d bl 8008b7c + 8009f02: e7ee b.n 8009ee2 + 8009f04: 0800d084 .word 0x0800d084 + +08009f08 : + 8009f08: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8009f0c: 4604 mov r4, r0 + 8009f0e: f8bd 0018 ldrh.w r0, [sp, #24] + 8009f12: 460d mov r5, r1 + 8009f14: 4616 mov r6, r2 + 8009f16: 461f mov r7, r3 + 8009f18: f7f9 f8b5 bl 8003086 + 8009f1c: 210e movs r1, #14 + 8009f1e: 4680 mov r8, r0 + 8009f20: 4628 mov r0, r5 + 8009f22: f7f9 fd95 bl 8003a50 + 8009f26: b9e0 cbnz r0, 8009f62 + 8009f28: 6869 ldr r1, [r5, #4] + 8009f2a: f8a1 800c strh.w r8, [r1, #12] + 8009f2e: 683b ldr r3, [r7, #0] + 8009f30: 600b str r3, [r1, #0] + 8009f32: 88bb ldrh r3, [r7, #4] + 8009f34: 808b strh r3, [r1, #4] + 8009f36: 6833 ldr r3, [r6, #0] + 8009f38: f8c1 3006 str.w r3, [r1, #6] + 8009f3c: 88b3 ldrh r3, [r6, #4] + 8009f3e: 814b strh r3, [r1, #10] + 8009f40: f894 3030 ldrb.w r3, [r4, #48] @ 0x30 + 8009f44: 2b06 cmp r3, #6 + 8009f46: d006 beq.n 8009f56 + 8009f48: 4b08 ldr r3, [pc, #32] @ (8009f6c ) + 8009f4a: 4909 ldr r1, [pc, #36] @ (8009f70 ) + 8009f4c: 4809 ldr r0, [pc, #36] @ (8009f74 ) + 8009f4e: f44f 7299 mov.w r2, #306 @ 0x132 + 8009f52: f000 f911 bl 800a178 + 8009f56: 69a3 ldr r3, [r4, #24] + 8009f58: 4629 mov r1, r5 + 8009f5a: 4620 mov r0, r4 + 8009f5c: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8009f60: 4718 bx r3 + 8009f62: f06f 0001 mvn.w r0, #1 + 8009f66: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8009f6a: bf00 nop + 8009f6c: 0800d018 .word 0x0800d018 + 8009f70: 0800d04d .word 0x0800d04d + 8009f74: 0800b0a6 .word 0x0800b0a6 + +08009f78 : + 8009f78: 4b16 ldr r3, [pc, #88] @ (8009fd4 ) + 8009f7a: b510 push {r4, lr} + 8009f7c: 681c ldr r4, [r3, #0] + 8009f7e: 6b23 ldr r3, [r4, #48] @ 0x30 + 8009f80: b9b3 cbnz r3, 8009fb0 + 8009f82: 2018 movs r0, #24 + 8009f84: f000 fa4a bl 800a41c + 8009f88: 4602 mov r2, r0 + 8009f8a: 6320 str r0, [r4, #48] @ 0x30 + 8009f8c: b920 cbnz r0, 8009f98 + 8009f8e: 4b12 ldr r3, [pc, #72] @ (8009fd8 ) + 8009f90: 4812 ldr r0, [pc, #72] @ (8009fdc ) + 8009f92: 2152 movs r1, #82 @ 0x52 + 8009f94: f000 f9da bl 800a34c <__assert_func> + 8009f98: 4911 ldr r1, [pc, #68] @ (8009fe0 ) + 8009f9a: 4b12 ldr r3, [pc, #72] @ (8009fe4 ) + 8009f9c: e9c0 1300 strd r1, r3, [r0] + 8009fa0: 4b11 ldr r3, [pc, #68] @ (8009fe8 ) + 8009fa2: 6083 str r3, [r0, #8] + 8009fa4: 230b movs r3, #11 + 8009fa6: 8183 strh r3, [r0, #12] + 8009fa8: 2100 movs r1, #0 + 8009faa: 2001 movs r0, #1 + 8009fac: e9c2 0104 strd r0, r1, [r2, #16] + 8009fb0: 6b21 ldr r1, [r4, #48] @ 0x30 + 8009fb2: 480e ldr r0, [pc, #56] @ (8009fec ) + 8009fb4: 690b ldr r3, [r1, #16] + 8009fb6: 694c ldr r4, [r1, #20] + 8009fb8: 4a0d ldr r2, [pc, #52] @ (8009ff0 ) + 8009fba: 4358 muls r0, r3 + 8009fbc: fb02 0004 mla r0, r2, r4, r0 + 8009fc0: fba3 3202 umull r3, r2, r3, r2 + 8009fc4: 3301 adds r3, #1 + 8009fc6: eb40 0002 adc.w r0, r0, r2 + 8009fca: e9c1 3004 strd r3, r0, [r1, #16] + 8009fce: f020 4000 bic.w r0, r0, #2147483648 @ 0x80000000 + 8009fd2: bd10 pop {r4, pc} + 8009fd4: 20000034 .word 0x20000034 + 8009fd8: 0800d08a .word 0x0800d08a + 8009fdc: 0800d0a1 .word 0x0800d0a1 + 8009fe0: abcd330e .word 0xabcd330e + 8009fe4: e66d1234 .word 0xe66d1234 + 8009fe8: 0005deec .word 0x0005deec + 8009fec: 5851f42d .word 0x5851f42d + 8009ff0: 4c957f2d .word 0x4c957f2d + +08009ff4 : + 8009ff4: 2300 movs r3, #0 + 8009ff6: b510 push {r4, lr} + 8009ff8: 4604 mov r4, r0 + 8009ffa: e9c0 3300 strd r3, r3, [r0] + 8009ffe: e9c0 3304 strd r3, r3, [r0, #16] + 800a002: 6083 str r3, [r0, #8] + 800a004: 8181 strh r1, [r0, #12] + 800a006: 6643 str r3, [r0, #100] @ 0x64 + 800a008: 81c2 strh r2, [r0, #14] + 800a00a: 6183 str r3, [r0, #24] + 800a00c: 4619 mov r1, r3 + 800a00e: 2208 movs r2, #8 + 800a010: 305c adds r0, #92 @ 0x5c + 800a012: f000 f916 bl 800a242 + 800a016: 4b0d ldr r3, [pc, #52] @ (800a04c ) + 800a018: 6263 str r3, [r4, #36] @ 0x24 + 800a01a: 4b0d ldr r3, [pc, #52] @ (800a050 ) + 800a01c: 62a3 str r3, [r4, #40] @ 0x28 + 800a01e: 4b0d ldr r3, [pc, #52] @ (800a054 ) + 800a020: 62e3 str r3, [r4, #44] @ 0x2c + 800a022: 4b0d ldr r3, [pc, #52] @ (800a058 ) + 800a024: 6323 str r3, [r4, #48] @ 0x30 + 800a026: 4b0d ldr r3, [pc, #52] @ (800a05c ) + 800a028: 6224 str r4, [r4, #32] + 800a02a: 429c cmp r4, r3 + 800a02c: d006 beq.n 800a03c + 800a02e: f103 0268 add.w r2, r3, #104 @ 0x68 + 800a032: 4294 cmp r4, r2 + 800a034: d002 beq.n 800a03c + 800a036: 33d0 adds r3, #208 @ 0xd0 + 800a038: 429c cmp r4, r3 + 800a03a: d105 bne.n 800a048 + 800a03c: f104 0058 add.w r0, r4, #88 @ 0x58 + 800a040: e8bd 4010 ldmia.w sp!, {r4, lr} + 800a044: f000 b970 b.w 800a328 <__retarget_lock_init_recursive> + 800a048: bd10 pop {r4, pc} + 800a04a: bf00 nop + 800a04c: 0800a19d .word 0x0800a19d + 800a050: 0800a1bf .word 0x0800a1bf + 800a054: 0800a1f7 .word 0x0800a1f7 + 800a058: 0800a21b .word 0x0800a21b + 800a05c: 20018c08 .word 0x20018c08 + +0800a060 : + 800a060: 4a02 ldr r2, [pc, #8] @ (800a06c ) + 800a062: 4903 ldr r1, [pc, #12] @ (800a070 ) + 800a064: 4803 ldr r0, [pc, #12] @ (800a074 ) + 800a066: f000 b869 b.w 800a13c <_fwalk_sglue> + 800a06a: bf00 nop + 800a06c: 20000028 .word 0x20000028 + 800a070: 0800ac31 .word 0x0800ac31 + 800a074: 20000038 .word 0x20000038 + +0800a078 : + 800a078: 6841 ldr r1, [r0, #4] + 800a07a: 4b0c ldr r3, [pc, #48] @ (800a0ac ) + 800a07c: 4299 cmp r1, r3 + 800a07e: b510 push {r4, lr} + 800a080: 4604 mov r4, r0 + 800a082: d001 beq.n 800a088 + 800a084: f000 fdd4 bl 800ac30 <_fflush_r> + 800a088: 68a1 ldr r1, [r4, #8] + 800a08a: 4b09 ldr r3, [pc, #36] @ (800a0b0 ) + 800a08c: 4299 cmp r1, r3 + 800a08e: d002 beq.n 800a096 + 800a090: 4620 mov r0, r4 + 800a092: f000 fdcd bl 800ac30 <_fflush_r> + 800a096: 68e1 ldr r1, [r4, #12] + 800a098: 4b06 ldr r3, [pc, #24] @ (800a0b4 ) + 800a09a: 4299 cmp r1, r3 + 800a09c: d004 beq.n 800a0a8 + 800a09e: 4620 mov r0, r4 + 800a0a0: e8bd 4010 ldmia.w sp!, {r4, lr} + 800a0a4: f000 bdc4 b.w 800ac30 <_fflush_r> + 800a0a8: bd10 pop {r4, pc} + 800a0aa: bf00 nop + 800a0ac: 20018c08 .word 0x20018c08 + 800a0b0: 20018c70 .word 0x20018c70 + 800a0b4: 20018cd8 .word 0x20018cd8 + +0800a0b8 : + 800a0b8: b510 push {r4, lr} + 800a0ba: 4b0b ldr r3, [pc, #44] @ (800a0e8 ) + 800a0bc: 4c0b ldr r4, [pc, #44] @ (800a0ec ) + 800a0be: 4a0c ldr r2, [pc, #48] @ (800a0f0 ) + 800a0c0: 601a str r2, [r3, #0] + 800a0c2: 4620 mov r0, r4 + 800a0c4: 2200 movs r2, #0 + 800a0c6: 2104 movs r1, #4 + 800a0c8: f7ff ff94 bl 8009ff4 + 800a0cc: f104 0068 add.w r0, r4, #104 @ 0x68 + 800a0d0: 2201 movs r2, #1 + 800a0d2: 2109 movs r1, #9 + 800a0d4: f7ff ff8e bl 8009ff4 + 800a0d8: f104 00d0 add.w r0, r4, #208 @ 0xd0 + 800a0dc: 2202 movs r2, #2 + 800a0de: e8bd 4010 ldmia.w sp!, {r4, lr} + 800a0e2: 2112 movs r1, #18 + 800a0e4: f7ff bf86 b.w 8009ff4 + 800a0e8: 20018d40 .word 0x20018d40 + 800a0ec: 20018c08 .word 0x20018c08 + 800a0f0: 0800a061 .word 0x0800a061 + +0800a0f4 <__sfp_lock_acquire>: + 800a0f4: 4801 ldr r0, [pc, #4] @ (800a0fc <__sfp_lock_acquire+0x8>) + 800a0f6: f000 b918 b.w 800a32a <__retarget_lock_acquire_recursive> + 800a0fa: bf00 nop + 800a0fc: 20018d49 .word 0x20018d49 + +0800a100 <__sfp_lock_release>: + 800a100: 4801 ldr r0, [pc, #4] @ (800a108 <__sfp_lock_release+0x8>) + 800a102: f000 b913 b.w 800a32c <__retarget_lock_release_recursive> + 800a106: bf00 nop + 800a108: 20018d49 .word 0x20018d49 + +0800a10c <__sinit>: + 800a10c: b510 push {r4, lr} + 800a10e: 4604 mov r4, r0 + 800a110: f7ff fff0 bl 800a0f4 <__sfp_lock_acquire> + 800a114: 6a23 ldr r3, [r4, #32] + 800a116: b11b cbz r3, 800a120 <__sinit+0x14> + 800a118: e8bd 4010 ldmia.w sp!, {r4, lr} + 800a11c: f7ff bff0 b.w 800a100 <__sfp_lock_release> + 800a120: 4b04 ldr r3, [pc, #16] @ (800a134 <__sinit+0x28>) + 800a122: 6223 str r3, [r4, #32] + 800a124: 4b04 ldr r3, [pc, #16] @ (800a138 <__sinit+0x2c>) + 800a126: 681b ldr r3, [r3, #0] + 800a128: 2b00 cmp r3, #0 + 800a12a: d1f5 bne.n 800a118 <__sinit+0xc> + 800a12c: f7ff ffc4 bl 800a0b8 + 800a130: e7f2 b.n 800a118 <__sinit+0xc> + 800a132: bf00 nop + 800a134: 0800a079 .word 0x0800a079 + 800a138: 20018d40 .word 0x20018d40 + +0800a13c <_fwalk_sglue>: + 800a13c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 800a140: 4607 mov r7, r0 + 800a142: 4688 mov r8, r1 + 800a144: 4614 mov r4, r2 + 800a146: 2600 movs r6, #0 + 800a148: e9d4 9501 ldrd r9, r5, [r4, #4] + 800a14c: f1b9 0901 subs.w r9, r9, #1 + 800a150: d505 bpl.n 800a15e <_fwalk_sglue+0x22> + 800a152: 6824 ldr r4, [r4, #0] + 800a154: 2c00 cmp r4, #0 + 800a156: d1f7 bne.n 800a148 <_fwalk_sglue+0xc> + 800a158: 4630 mov r0, r6 + 800a15a: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 800a15e: 89ab ldrh r3, [r5, #12] + 800a160: 2b01 cmp r3, #1 + 800a162: d907 bls.n 800a174 <_fwalk_sglue+0x38> + 800a164: f9b5 300e ldrsh.w r3, [r5, #14] + 800a168: 3301 adds r3, #1 + 800a16a: d003 beq.n 800a174 <_fwalk_sglue+0x38> + 800a16c: 4629 mov r1, r5 + 800a16e: 4638 mov r0, r7 + 800a170: 47c0 blx r8 + 800a172: 4306 orrs r6, r0 + 800a174: 3568 adds r5, #104 @ 0x68 + 800a176: e7e9 b.n 800a14c <_fwalk_sglue+0x10> + +0800a178 : + 800a178: b40f push {r0, r1, r2, r3} + 800a17a: b507 push {r0, r1, r2, lr} + 800a17c: 4906 ldr r1, [pc, #24] @ (800a198 ) + 800a17e: ab04 add r3, sp, #16 + 800a180: 6808 ldr r0, [r1, #0] + 800a182: f853 2b04 ldr.w r2, [r3], #4 + 800a186: 6881 ldr r1, [r0, #8] + 800a188: 9301 str r3, [sp, #4] + 800a18a: f000 fa27 bl 800a5dc <_vfiprintf_r> + 800a18e: b003 add sp, #12 + 800a190: f85d eb04 ldr.w lr, [sp], #4 + 800a194: b004 add sp, #16 + 800a196: 4770 bx lr + 800a198: 20000034 .word 0x20000034 + +0800a19c <__sread>: + 800a19c: b510 push {r4, lr} + 800a19e: 460c mov r4, r1 + 800a1a0: f9b1 100e ldrsh.w r1, [r1, #14] + 800a1a4: f000 f878 bl 800a298 <_read_r> + 800a1a8: 2800 cmp r0, #0 + 800a1aa: bfab itete ge + 800a1ac: 6d63 ldrge r3, [r4, #84] @ 0x54 + 800a1ae: 89a3 ldrhlt r3, [r4, #12] + 800a1b0: 181b addge r3, r3, r0 + 800a1b2: f423 5380 biclt.w r3, r3, #4096 @ 0x1000 + 800a1b6: bfac ite ge + 800a1b8: 6563 strge r3, [r4, #84] @ 0x54 + 800a1ba: 81a3 strhlt r3, [r4, #12] + 800a1bc: bd10 pop {r4, pc} + +0800a1be <__swrite>: + 800a1be: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800a1c2: 461f mov r7, r3 + 800a1c4: 898b ldrh r3, [r1, #12] + 800a1c6: 05db lsls r3, r3, #23 + 800a1c8: 4605 mov r5, r0 + 800a1ca: 460c mov r4, r1 + 800a1cc: 4616 mov r6, r2 + 800a1ce: d505 bpl.n 800a1dc <__swrite+0x1e> + 800a1d0: f9b1 100e ldrsh.w r1, [r1, #14] + 800a1d4: 2302 movs r3, #2 + 800a1d6: 2200 movs r2, #0 + 800a1d8: f000 f84c bl 800a274 <_lseek_r> + 800a1dc: 89a3 ldrh r3, [r4, #12] + 800a1de: f9b4 100e ldrsh.w r1, [r4, #14] + 800a1e2: f423 5380 bic.w r3, r3, #4096 @ 0x1000 + 800a1e6: 81a3 strh r3, [r4, #12] + 800a1e8: 4632 mov r2, r6 + 800a1ea: 463b mov r3, r7 + 800a1ec: 4628 mov r0, r5 + 800a1ee: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 800a1f2: f000 b863 b.w 800a2bc <_write_r> + +0800a1f6 <__sseek>: + 800a1f6: b510 push {r4, lr} + 800a1f8: 460c mov r4, r1 + 800a1fa: f9b1 100e ldrsh.w r1, [r1, #14] + 800a1fe: f000 f839 bl 800a274 <_lseek_r> + 800a202: 1c43 adds r3, r0, #1 + 800a204: 89a3 ldrh r3, [r4, #12] + 800a206: bf15 itete ne + 800a208: 6560 strne r0, [r4, #84] @ 0x54 + 800a20a: f423 5380 biceq.w r3, r3, #4096 @ 0x1000 + 800a20e: f443 5380 orrne.w r3, r3, #4096 @ 0x1000 + 800a212: 81a3 strheq r3, [r4, #12] + 800a214: bf18 it ne + 800a216: 81a3 strhne r3, [r4, #12] + 800a218: bd10 pop {r4, pc} + +0800a21a <__sclose>: + 800a21a: f9b1 100e ldrsh.w r1, [r1, #14] + 800a21e: f000 b819 b.w 800a254 <_close_r> + +0800a222 : + 800a222: b510 push {r4, lr} + 800a224: 3901 subs r1, #1 + 800a226: 4402 add r2, r0 + 800a228: 4290 cmp r0, r2 + 800a22a: d101 bne.n 800a230 + 800a22c: 2000 movs r0, #0 + 800a22e: e005 b.n 800a23c + 800a230: 7803 ldrb r3, [r0, #0] + 800a232: f811 4f01 ldrb.w r4, [r1, #1]! + 800a236: 42a3 cmp r3, r4 + 800a238: d001 beq.n 800a23e + 800a23a: 1b18 subs r0, r3, r4 + 800a23c: bd10 pop {r4, pc} + 800a23e: 3001 adds r0, #1 + 800a240: e7f2 b.n 800a228 + +0800a242 : + 800a242: 4402 add r2, r0 + 800a244: 4603 mov r3, r0 + 800a246: 4293 cmp r3, r2 + 800a248: d100 bne.n 800a24c + 800a24a: 4770 bx lr + 800a24c: f803 1b01 strb.w r1, [r3], #1 + 800a250: e7f9 b.n 800a246 ... -0800791c : - 800791c: b5f0 push {r4, r5, r6, r7, lr} - 800791e: 6a44 ldr r4, [r0, #36] ; 0x24 - 8007920: b087 sub sp, #28 - 8007922: 4606 mov r6, r0 - 8007924: 2c00 cmp r4, #0 - 8007926: d050 beq.n 80079ca - 8007928: 7963 ldrb r3, [r4, #5] - 800792a: 2b00 cmp r3, #0 - 800792c: d04d beq.n 80079ca - 800792e: 69a3 ldr r3, [r4, #24] - 8007930: 9305 str r3, [sp, #20] - 8007932: 2300 movs r3, #0 - 8007934: e9c4 3306 strd r3, r3, [r4, #24] - 8007938: e9c4 3308 strd r3, r3, [r4, #32] - 800793c: e9c4 330b strd r3, r3, [r4, #44] ; 0x2c - 8007940: 62a3 str r3, [r4, #40] ; 0x28 - 8007942: 81e3 strh r3, [r4, #14] - 8007944: 6123 str r3, [r4, #16] - 8007946: 82a3 strh r3, [r4, #20] - 8007948: f7ff ffd8 bl 80078fc - 800794c: b368 cbz r0, 80079aa - 800794e: f10d 0312 add.w r3, sp, #18 - 8007952: 2207 movs r2, #7 - 8007954: 4621 mov r1, r4 - 8007956: 4630 mov r0, r6 - 8007958: f7ff f932 bl 8006bc0 - 800795c: 4605 mov r5, r0 - 800795e: b320 cbz r0, 80079aa - 8007960: 6841 ldr r1, [r0, #4] - 8007962: f8bd 0012 ldrh.w r0, [sp, #18] - 8007966: 2304 movs r3, #4 - 8007968: 31f0 adds r1, #240 ; 0xf0 - 800796a: 2236 movs r2, #54 ; 0x36 - 800796c: 9103 str r1, [sp, #12] - 800796e: f7ff f8cd bl 8006b0c - 8007972: 4607 mov r7, r0 - 8007974: f8ad 0012 strh.w r0, [sp, #18] - 8007978: 9805 ldr r0, [sp, #20] - 800797a: f7fa fce3 bl 8002344 - 800797e: 9903 ldr r1, [sp, #12] - 8007980: 4602 mov r2, r0 - 8007982: 4638 mov r0, r7 - 8007984: f7ff f8f8 bl 8006b78 - 8007988: 9903 ldr r1, [sp, #12] - 800798a: f8ad 0012 strh.w r0, [sp, #18] - 800798e: 462a mov r2, r5 - 8007990: f7ff f9aa bl 8006ce8 - 8007994: 480e ldr r0, [pc, #56] ; (80079d0 ) - 8007996: 9600 str r6, [sp, #0] - 8007998: 6800 ldr r0, [r0, #0] - 800799a: 2343 movs r3, #67 ; 0x43 - 800799c: aa05 add r2, sp, #20 - 800799e: 4629 mov r1, r5 - 80079a0: f7fe ffb8 bl 8006914 - 80079a4: 4628 mov r0, r5 - 80079a6: f7fb fa15 bl 8002dd4 - 80079aa: 4b0a ldr r3, [pc, #40] ; (80079d4 ) - 80079ac: 4630 mov r0, r6 - 80079ae: 4619 mov r1, r3 - 80079b0: 461a mov r2, r3 - 80079b2: f7fa ffff bl 80029b4 - 80079b6: 2100 movs r1, #0 - 80079b8: 4620 mov r0, r4 - 80079ba: f7ff f883 bl 8006ac4 - 80079be: 7923 ldrb r3, [r4, #4] - 80079c0: b11b cbz r3, 80079ca - 80079c2: f7ff fb03 bl 8006fcc - 80079c6: 2300 movs r3, #0 - 80079c8: 7123 strb r3, [r4, #4] - 80079ca: b007 add sp, #28 - 80079cc: bdf0 pop {r4, r5, r6, r7, pc} - 80079ce: bf00 nop - 80079d0: 20008310 .word 0x20008310 - 80079d4: 0800c304 .word 0x0800c304 - -080079d8 : - 80079d8: b538 push {r3, r4, r5, lr} - 80079da: 4604 mov r4, r0 - 80079dc: b950 cbnz r0, 80079f4 - 80079de: 4b24 ldr r3, [pc, #144] ; (8007a70 ) - 80079e0: 4924 ldr r1, [pc, #144] ; (8007a74 ) - 80079e2: f240 22e7 movw r2, #743 ; 0x2e7 - 80079e6: 4824 ldr r0, [pc, #144] ; (8007a78 ) - 80079e8: f001 fcde bl 80093a8 - 80079ec: f06f 020f mvn.w r2, #15 - 80079f0: 4610 mov r0, r2 - 80079f2: bd38 pop {r3, r4, r5, pc} - 80079f4: f890 3031 ldrb.w r3, [r0, #49] ; 0x31 - 80079f8: 07da lsls r2, r3, #31 - 80079fa: d404 bmi.n 8007a06 - 80079fc: 4b1c ldr r3, [pc, #112] ; (8007a70 ) - 80079fe: 491f ldr r1, [pc, #124] ; (8007a7c ) - 8007a00: f44f 723a mov.w r2, #744 ; 0x2e8 - 8007a04: e7ef b.n 80079e6 - 8007a06: 8d03 ldrh r3, [r0, #40] ; 0x28 - 8007a08: 6a45 ldr r5, [r0, #36] ; 0x24 - 8007a0a: f5b3 7f10 cmp.w r3, #576 ; 0x240 - 8007a0e: d202 bcs.n 8007a16 - 8007a10: f04f 32ff mov.w r2, #4294967295 - 8007a14: e7ec b.n 80079f0 - 8007a16: b9dd cbnz r5, 8007a50 - 8007a18: 2034 movs r0, #52 ; 0x34 - 8007a1a: f7fa fe23 bl 8002664 - 8007a1e: 4605 mov r5, r0 - 8007a20: 2800 cmp r0, #0 - 8007a22: d0f5 beq.n 8007a10 - 8007a24: 6260 str r0, [r4, #36] ; 0x24 - 8007a26: 2234 movs r2, #52 ; 0x34 - 8007a28: 2100 movs r1, #0 - 8007a2a: 4628 mov r0, r5 - 8007a2c: f001 fcb4 bl 8009398 - 8007a30: f7ff fa92 bl 8006f58 - 8007a34: 4602 mov r2, r0 - 8007a36: 2800 cmp r0, #0 - 8007a38: d1ea bne.n 8007a10 - 8007a3a: 2301 movs r3, #1 - 8007a3c: 712b strb r3, [r5, #4] - 8007a3e: f894 3031 ldrb.w r3, [r4, #49] ; 0x31 - 8007a42: 075b lsls r3, r3, #29 - 8007a44: d40a bmi.n 8007a5c - 8007a46: 2102 movs r1, #2 - 8007a48: 4628 mov r0, r5 - 8007a4a: f7ff f83b bl 8006ac4 - 8007a4e: e7cf b.n 80079f0 - 8007a50: 792b ldrb r3, [r5, #4] - 8007a52: 2b00 cmp r3, #0 - 8007a54: d0e7 beq.n 8007a26 - 8007a56: f7ff fab9 bl 8006fcc - 8007a5a: e7e4 b.n 8007a26 - 8007a5c: 4620 mov r0, r4 - 8007a5e: f7ff f967 bl 8006d30 - 8007a62: 4602 mov r2, r0 - 8007a64: 2800 cmp r0, #0 - 8007a66: d0c3 beq.n 80079f0 - 8007a68: 4620 mov r0, r4 - 8007a6a: f7ff ff57 bl 800791c - 8007a6e: e7cf b.n 8007a10 - 8007a70: 0800bced .word 0x0800bced - 8007a74: 0800be96 .word 0x0800be96 - 8007a78: 0800a54d .word 0x0800a54d - 8007a7c: 0800bfe4 .word 0x0800bfe4 - -08007a80 : - 8007a80: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8007a84: 4b58 ldr r3, [pc, #352] ; (8007be8 ) - 8007a86: 4f59 ldr r7, [pc, #356] ; (8007bec ) - 8007a88: 681d ldr r5, [r3, #0] - 8007a8a: f8df 8164 ldr.w r8, [pc, #356] ; 8007bf0 - 8007a8e: b087 sub sp, #28 - 8007a90: f240 2619 movw r6, #537 ; 0x219 - 8007a94: b915 cbnz r5, 8007a9c - 8007a96: b007 add sp, #28 - 8007a98: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8007a9c: 6a6c ldr r4, [r5, #36] ; 0x24 - 8007a9e: b17c cbz r4, 8007ac0 - 8007aa0: 7963 ldrb r3, [r4, #5] - 8007aa2: b16b cbz r3, 8007ac0 - 8007aa4: 8aa1 ldrh r1, [r4, #20] - 8007aa6: b169 cbz r1, 8007ac4 - 8007aa8: 8a62 ldrh r2, [r4, #18] - 8007aaa: 3201 adds r2, #1 - 8007aac: b292 uxth r2, r2 - 8007aae: 4291 cmp r1, r2 - 8007ab0: 8262 strh r2, [r4, #18] - 8007ab2: d107 bne.n 8007ac4 - 8007ab4: 4628 mov r0, r5 - 8007ab6: f7ff ff31 bl 800791c - 8007aba: 4628 mov r0, r5 - 8007abc: f7ff ff8c bl 80079d8 - 8007ac0: 682d ldr r5, [r5, #0] - 8007ac2: e7e7 b.n 8007a94 - 8007ac4: 8a22 ldrh r2, [r4, #16] - 8007ac6: 2a00 cmp r2, #0 - 8007ac8: d073 beq.n 8007bb2 - 8007aca: 1e51 subs r1, r2, #1 - 8007acc: 2a01 cmp r2, #1 - 8007ace: 8221 strh r1, [r4, #16] - 8007ad0: d16f bne.n 8007bb2 - 8007ad2: 3b01 subs r3, #1 - 8007ad4: b2db uxtb r3, r3 - 8007ad6: 2b09 cmp r3, #9 - 8007ad8: d8f2 bhi.n 8007ac0 - 8007ada: fa26 f303 lsr.w r3, r6, r3 - 8007ade: 07db lsls r3, r3, #31 - 8007ae0: d5ee bpl.n 8007ac0 - 8007ae2: 2104 movs r1, #4 - 8007ae4: 4620 mov r0, r4 - 8007ae6: f7fe ffed bl 8006ac4 - 8007aea: 2203 movs r2, #3 - 8007aec: f10d 0316 add.w r3, sp, #22 - 8007af0: 4621 mov r1, r4 - 8007af2: 4628 mov r0, r5 - 8007af4: f7ff f864 bl 8006bc0 - 8007af8: 4681 mov r9, r0 - 8007afa: 2800 cmp r0, #0 - 8007afc: d038 beq.n 8007b70 - 8007afe: 6841 ldr r1, [r0, #4] - 8007b00: f8bd 0016 ldrh.w r0, [sp, #22] - 8007b04: f8df b0ec ldr.w fp, [pc, #236] ; 8007bf4 - 8007b08: 31f0 adds r1, #240 ; 0xf0 - 8007b0a: 2302 movs r3, #2 - 8007b0c: 2239 movs r2, #57 ; 0x39 - 8007b0e: 9103 str r1, [sp, #12] - 8007b10: f7fe fffc bl 8006b0c - 8007b14: 8d2a ldrh r2, [r5, #40] ; 0x28 - 8007b16: 9903 ldr r1, [sp, #12] - 8007b18: f8ad 0016 strh.w r0, [sp, #22] - 8007b1c: f7fe ffda bl 8006ad4 - 8007b20: 9903 ldr r1, [sp, #12] - 8007b22: f8ad 0016 strh.w r0, [sp, #22] - 8007b26: 2303 movs r3, #3 - 8007b28: 2237 movs r2, #55 ; 0x37 - 8007b2a: f7fe ffef bl 8006b0c - 8007b2e: 9903 ldr r1, [sp, #12] - 8007b30: f8ad 0016 strh.w r0, [sp, #22] - 8007b34: f04f 0a03 mov.w sl, #3 - 8007b38: f81b 2b01 ldrb.w r2, [fp], #1 - 8007b3c: f8bd 0016 ldrh.w r0, [sp, #22] - 8007b40: 9103 str r1, [sp, #12] - 8007b42: f7ff f801 bl 8006b48 - 8007b46: f10a 3aff add.w sl, sl, #4294967295 - 8007b4a: f01a 0aff ands.w sl, sl, #255 ; 0xff - 8007b4e: 9903 ldr r1, [sp, #12] - 8007b50: f8ad 0016 strh.w r0, [sp, #22] - 8007b54: d1f0 bne.n 8007b38 - 8007b56: 464a mov r2, r9 - 8007b58: f7ff f8c6 bl 8006ce8 - 8007b5c: 6838 ldr r0, [r7, #0] - 8007b5e: 9500 str r5, [sp, #0] - 8007b60: 2343 movs r3, #67 ; 0x43 - 8007b62: 4642 mov r2, r8 - 8007b64: 4649 mov r1, r9 - 8007b66: f7fe fed5 bl 8006914 - 8007b6a: 4648 mov r0, r9 - 8007b6c: f7fb f932 bl 8002dd4 - 8007b70: 79a3 ldrb r3, [r4, #6] - 8007b72: 2bff cmp r3, #255 ; 0xff - 8007b74: bf1c itt ne - 8007b76: 3301 addne r3, #1 - 8007b78: 71a3 strbne r3, [r4, #6] - 8007b7a: 79a3 ldrb r3, [r4, #6] - 8007b7c: 2b09 cmp r3, #9 - 8007b7e: bf9f itttt ls - 8007b80: ebc3 1243 rsbls r2, r3, r3, lsl #5 - 8007b84: eb03 0382 addls.w r3, r3, r2, lsl #2 - 8007b88: 00db lslls r3, r3, #3 - 8007b8a: b29b uxthls r3, r3 - 8007b8c: bf88 it hi - 8007b8e: f242 7310 movwhi r3, #10000 ; 0x2710 - 8007b92: f203 13f3 addw r3, r3, #499 ; 0x1f3 - 8007b96: f44f 72fa mov.w r2, #500 ; 0x1f4 - 8007b9a: b29b uxth r3, r3 - 8007b9c: fbb3 f3f2 udiv r3, r3, r2 - 8007ba0: 8a62 ldrh r2, [r4, #18] - 8007ba2: 8123 strh r3, [r4, #8] - 8007ba4: 8aa3 ldrh r3, [r4, #20] - 8007ba6: 1a9b subs r3, r3, r2 - 8007ba8: 2b01 cmp r3, #1 - 8007baa: dd89 ble.n 8007ac0 - 8007bac: 105b asrs r3, r3, #1 - 8007bae: 8223 strh r3, [r4, #16] - 8007bb0: e786 b.n 8007ac0 - 8007bb2: 89e2 ldrh r2, [r4, #14] - 8007bb4: 2a00 cmp r2, #0 - 8007bb6: d083 beq.n 8007ac0 - 8007bb8: 1e51 subs r1, r2, #1 - 8007bba: 2a01 cmp r2, #1 - 8007bbc: 81e1 strh r1, [r4, #14] - 8007bbe: f47f af7f bne.w 8007ac0 - 8007bc2: f003 02fb and.w r2, r3, #251 ; 0xfb - 8007bc6: 2a01 cmp r2, #1 - 8007bc8: d002 beq.n 8007bd0 - 8007bca: 2b0a cmp r3, #10 - 8007bcc: f47f af78 bne.w 8007ac0 - 8007bd0: 4628 mov r0, r5 - 8007bd2: f7ff fe21 bl 8007818 - 8007bd6: 89a3 ldrh r3, [r4, #12] - 8007bd8: 8a62 ldrh r2, [r4, #18] - 8007bda: 1a9b subs r3, r3, r2 - 8007bdc: 2b01 cmp r3, #1 - 8007bde: bfc4 itt gt - 8007be0: 105b asrgt r3, r3, #1 - 8007be2: 81e3 strhgt r3, [r4, #14] - 8007be4: e76c b.n 8007ac0 - 8007be6: bf00 nop - 8007be8: 2000829c .word 0x2000829c - 8007bec: 20008310 .word 0x20008310 - 8007bf0: 0800c308 .word 0x0800c308 - 8007bf4: 0800c005 .word 0x0800c005 - -08007bf8 : - 8007bf8: b538 push {r3, r4, r5, lr} - 8007bfa: 4b1e ldr r3, [pc, #120] ; (8007c74 ) - 8007bfc: 681c ldr r4, [r3, #0] - 8007bfe: 2500 movs r5, #0 - 8007c00: b904 cbnz r4, 8007c04 - 8007c02: bd38 pop {r3, r4, r5, pc} - 8007c04: 6a63 ldr r3, [r4, #36] ; 0x24 - 8007c06: b123 cbz r3, 8007c12 - 8007c08: 891a ldrh r2, [r3, #8] - 8007c0a: 2a01 cmp r2, #1 - 8007c0c: d903 bls.n 8007c16 - 8007c0e: 3a01 subs r2, #1 - 8007c10: 811a strh r2, [r3, #8] - 8007c12: 6824 ldr r4, [r4, #0] - 8007c14: e7f4 b.n 8007c00 - 8007c16: d1fc bne.n 8007c12 - 8007c18: 795a ldrb r2, [r3, #5] - 8007c1a: 811d strh r5, [r3, #8] - 8007c1c: 2a0c cmp r2, #12 - 8007c1e: d001 beq.n 8007c24 - 8007c20: 2a06 cmp r2, #6 - 8007c22: d103 bne.n 8007c2c - 8007c24: 4620 mov r0, r4 - 8007c26: f7ff f883 bl 8006d30 - 8007c2a: e7f2 b.n 8007c12 - 8007c2c: 2a01 cmp r2, #1 - 8007c2e: d10c bne.n 8007c4a - 8007c30: 799b ldrb r3, [r3, #6] - 8007c32: 2b05 cmp r3, #5 - 8007c34: 4620 mov r0, r4 - 8007c36: d802 bhi.n 8007c3e - 8007c38: f7ff fa9e bl 8007178 - 8007c3c: e7e9 b.n 8007c12 - 8007c3e: f7ff fe6d bl 800791c - 8007c42: 4620 mov r0, r4 - 8007c44: f7ff fec8 bl 80079d8 - 8007c48: e7e3 b.n 8007c12 - 8007c4a: 2a08 cmp r2, #8 - 8007c4c: d109 bne.n 8007c62 - 8007c4e: 799b ldrb r3, [r3, #6] - 8007c50: 2b01 cmp r3, #1 - 8007c52: 4620 mov r0, r4 - 8007c54: d802 bhi.n 8007c5c - 8007c56: f7ff f8e1 bl 8006e1c - 8007c5a: e7da b.n 8007c12 - 8007c5c: f7ff f8f4 bl 8006e48 - 8007c60: e7d7 b.n 8007c12 - 8007c62: 2a03 cmp r2, #3 - 8007c64: d1d5 bne.n 8007c12 - 8007c66: 799b ldrb r3, [r3, #6] - 8007c68: 2b01 cmp r3, #1 - 8007c6a: 4620 mov r0, r4 - 8007c6c: d8db bhi.n 8007c26 - 8007c6e: f7ff f9cd bl 800700c - 8007c72: e7ce b.n 8007c12 - 8007c74: 2000829c .word 0x2000829c - -08007c78 : - 8007c78: b570 push {r4, r5, r6, lr} - 8007c7a: 2618 movs r6, #24 - 8007c7c: 4c07 ldr r4, [pc, #28] ; (8007c9c ) - 8007c7e: 4346 muls r6, r0 - 8007c80: 4605 mov r5, r0 - 8007c82: 59a0 ldr r0, [r4, r6] - 8007c84: b118 cbz r0, 8007c8e - 8007c86: f7fb f8a5 bl 8002dd4 - 8007c8a: 2300 movs r3, #0 - 8007c8c: 51a3 str r3, [r4, r6] - 8007c8e: 2018 movs r0, #24 - 8007c90: fb00 4405 mla r4, r0, r5, r4 - 8007c94: 2300 movs r3, #0 - 8007c96: 7523 strb r3, [r4, #20] - 8007c98: bd70 pop {r4, r5, r6, pc} - 8007c9a: bf00 nop - 8007c9c: 20008344 .word 0x20008344 - -08007ca0 : - 8007ca0: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8007ca4: 2300 movs r3, #0 - 8007ca6: f04f 0e0a mov.w lr, #10 - 8007caa: e9cd 2100 strd r2, r1, [sp] - 8007cae: 4a3f ldr r2, [pc, #252] ; (8007dac ) - 8007cb0: 4606 mov r6, r0 - 8007cb2: 4699 mov r9, r3 - 8007cb4: 469b mov fp, r3 - 8007cb6: 469c mov ip, r3 - 8007cb8: 4674 mov r4, lr - 8007cba: 4675 mov r5, lr - 8007cbc: 46f0 mov r8, lr - 8007cbe: 2c0a cmp r4, #10 - 8007cc0: f892 a014 ldrb.w sl, [r2, #20] - 8007cc4: b218 sxth r0, r3 - 8007cc6: d11a bne.n 8007cfe - 8007cc8: f1ba 0f00 cmp.w sl, #0 - 8007ccc: d05e beq.n 8007d8c - 8007cce: b156 cbz r6, 8007ce6 - 8007cd0: 6831 ldr r1, [r6, #0] - 8007cd2: 6857 ldr r7, [r2, #4] - 8007cd4: 42b9 cmp r1, r7 - 8007cd6: d106 bne.n 8007ce6 - 8007cd8: 9900 ldr r1, [sp, #0] - 8007cda: 2900 cmp r1, #0 - 8007cdc: d049 beq.n 8007d72 - 8007cde: 6891 ldr r1, [r2, #8] - 8007ce0: 9f00 ldr r7, [sp, #0] - 8007ce2: 42b9 cmp r1, r7 - 8007ce4: d045 beq.n 8007d72 - 8007ce6: f1ba 0f01 cmp.w sl, #1 - 8007cea: 8a51 ldrh r1, [r2, #18] - 8007cec: d149 bne.n 8007d82 - 8007cee: 6817 ldr r7, [r2, #0] - 8007cf0: 2f00 cmp r7, #0 - 8007cf2: d041 beq.n 8007d78 - 8007cf4: 4561 cmp r1, ip - 8007cf6: d305 bcc.n 8007d04 - 8007cf8: 468c mov ip, r1 - 8007cfa: 4686 mov lr, r0 - 8007cfc: e002 b.n 8007d04 - 8007cfe: f1ba 0f00 cmp.w sl, #0 - 8007d02: d1e4 bne.n 8007cce - 8007d04: 3301 adds r3, #1 - 8007d06: 2b0a cmp r3, #10 - 8007d08: f102 0218 add.w r2, r2, #24 - 8007d0c: d1d7 bne.n 8007cbe - 8007d0e: 9b01 ldr r3, [sp, #4] - 8007d10: 2b01 cmp r3, #1 - 8007d12: d143 bne.n 8007d9c - 8007d14: 2c0a cmp r4, #10 - 8007d16: d111 bne.n 8007d3c - 8007d18: 2d0a cmp r5, #10 - 8007d1a: d039 beq.n 8007d90 - 8007d1c: 2318 movs r3, #24 - 8007d1e: 4a23 ldr r2, [pc, #140] ; (8007dac ) - 8007d20: 436b muls r3, r5 - 8007d22: 58d3 ldr r3, [r2, r3] - 8007d24: b133 cbz r3, 8007d34 - 8007d26: 4b22 ldr r3, [pc, #136] ; (8007db0 ) - 8007d28: 4922 ldr r1, [pc, #136] ; (8007db4 ) - 8007d2a: 4823 ldr r0, [pc, #140] ; (8007db8 ) - 8007d2c: f240 126d movw r2, #365 ; 0x16d - 8007d30: f001 fb3a bl 80093a8 - 8007d34: 4628 mov r0, r5 - 8007d36: f7ff ff9f bl 8007c78 - 8007d3a: 462c mov r4, r5 - 8007d3c: 4d1b ldr r5, [pc, #108] ; (8007dac ) - 8007d3e: 2318 movs r3, #24 - 8007d40: fb03 5304 mla r3, r3, r4, r5 - 8007d44: 7d1b ldrb r3, [r3, #20] - 8007d46: b133 cbz r3, 8007d56 - 8007d48: 4b19 ldr r3, [pc, #100] ; (8007db0 ) - 8007d4a: 491c ldr r1, [pc, #112] ; (8007dbc ) - 8007d4c: 481a ldr r0, [pc, #104] ; (8007db8 ) - 8007d4e: f44f 72c2 mov.w r2, #388 ; 0x184 - 8007d52: f001 fb29 bl 80093a8 - 8007d56: b126 cbz r6, 8007d62 - 8007d58: 2318 movs r3, #24 - 8007d5a: fb03 5304 mla r3, r3, r4, r5 - 8007d5e: 6832 ldr r2, [r6, #0] - 8007d60: 605a str r2, [r3, #4] - 8007d62: 2318 movs r3, #24 - 8007d64: fb03 5304 mla r3, r3, r4, r5 - 8007d68: 2200 movs r2, #0 - 8007d6a: 825a strh r2, [r3, #18] - 8007d6c: 9a00 ldr r2, [sp, #0] - 8007d6e: 609a str r2, [r3, #8] - 8007d70: 4620 mov r0, r4 - 8007d72: b003 add sp, #12 - 8007d74: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8007d78: 4559 cmp r1, fp - 8007d7a: d3c3 bcc.n 8007d04 - 8007d7c: 468b mov fp, r1 - 8007d7e: 4680 mov r8, r0 - 8007d80: e7c0 b.n 8007d04 - 8007d82: 4549 cmp r1, r9 - 8007d84: d3be bcc.n 8007d04 - 8007d86: 4689 mov r9, r1 - 8007d88: 4605 mov r5, r0 - 8007d8a: e7bb b.n 8007d04 - 8007d8c: 4604 mov r4, r0 - 8007d8e: e7b9 b.n 8007d04 - 8007d90: f1b8 0f0a cmp.w r8, #10 - 8007d94: d105 bne.n 8007da2 - 8007d96: f1be 0f0a cmp.w lr, #10 - 8007d9a: d104 bne.n 8007da6 - 8007d9c: f04f 30ff mov.w r0, #4294967295 - 8007da0: e7e7 b.n 8007d72 - 8007da2: 4645 mov r5, r8 - 8007da4: e7c6 b.n 8007d34 - 8007da6: 4675 mov r5, lr - 8007da8: e7c4 b.n 8007d34 - 8007daa: bf00 nop - 8007dac: 20008344 .word 0x20008344 - 8007db0: 0800c008 .word 0x0800c008 - 8007db4: 0800c03f .word 0x0800c03f - 8007db8: 0800a54d .word 0x0800a54d - 8007dbc: 0800c056 .word 0x0800c056 - -08007dc0 : - 8007dc0: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} - 8007dc4: f8dd a02c ldr.w sl, [sp, #44] ; 0x2c - 8007dc8: 4688 mov r8, r1 - 8007dca: 4691 mov r9, r2 - 8007dcc: 461e mov r6, r3 - 8007dce: 4607 mov r7, r0 - 8007dd0: b930 cbnz r0, 8007de0 - 8007dd2: 4b2d ldr r3, [pc, #180] ; (8007e88 ) - 8007dd4: 492d ldr r1, [pc, #180] ; (8007e8c ) - 8007dd6: 482e ldr r0, [pc, #184] ; (8007e90 ) - 8007dd8: f240 4257 movw r2, #1111 ; 0x457 - 8007ddc: f001 fae4 bl 80093a8 - 8007de0: f44f 7220 mov.w r2, #640 ; 0x280 - 8007de4: 211c movs r1, #28 - 8007de6: 200e movs r0, #14 - 8007de8: f7fb f858 bl 8002e9c - 8007dec: 4605 mov r5, r0 - 8007dee: 2800 cmp r0, #0 - 8007df0: d047 beq.n 8007e82 - 8007df2: 8943 ldrh r3, [r0, #10] - 8007df4: 2b1b cmp r3, #27 - 8007df6: d806 bhi.n 8007e06 - 8007df8: 4b23 ldr r3, [pc, #140] ; (8007e88 ) - 8007dfa: 4926 ldr r1, [pc, #152] ; (8007e94 ) - 8007dfc: 4824 ldr r0, [pc, #144] ; (8007e90 ) - 8007dfe: f240 4262 movw r2, #1122 ; 0x462 - 8007e02: f001 fad1 bl 80093a8 - 8007e06: f8bd 0034 ldrh.w r0, [sp, #52] ; 0x34 - 8007e0a: 686c ldr r4, [r5, #4] - 8007e0c: f7fa fa97 bl 800233e - 8007e10: 80e0 strh r0, [r4, #6] - 8007e12: f897 3030 ldrb.w r3, [r7, #48] ; 0x30 - 8007e16: 2b06 cmp r3, #6 - 8007e18: d006 beq.n 8007e28 - 8007e1a: 4b1b ldr r3, [pc, #108] ; (8007e88 ) - 8007e1c: 491e ldr r1, [pc, #120] ; (8007e98 ) - 8007e1e: 481c ldr r0, [pc, #112] ; (8007e90 ) - 8007e20: f240 4269 movw r2, #1129 ; 0x469 - 8007e24: f001 fac0 bl 80093a8 - 8007e28: 6833 ldr r3, [r6, #0] - 8007e2a: 60a3 str r3, [r4, #8] - 8007e2c: 88b3 ldrh r3, [r6, #4] - 8007e2e: 81a3 strh r3, [r4, #12] - 8007e30: f8da 3000 ldr.w r3, [sl] - 8007e34: f8c4 3012 str.w r3, [r4, #18] - 8007e38: f8ba 3004 ldrh.w r3, [sl, #4] - 8007e3c: 82e3 strh r3, [r4, #22] - 8007e3e: 9b0a ldr r3, [sp, #40] ; 0x28 - 8007e40: 681b ldr r3, [r3, #0] - 8007e42: f8c4 300e str.w r3, [r4, #14] - 8007e46: 9b0c ldr r3, [sp, #48] ; 0x30 - 8007e48: 681b ldr r3, [r3, #0] - 8007e4a: 61a3 str r3, [r4, #24] - 8007e4c: 2301 movs r3, #1 - 8007e4e: 7063 strb r3, [r4, #1] - 8007e50: 2308 movs r3, #8 - 8007e52: 70a3 strb r3, [r4, #2] - 8007e54: 2306 movs r3, #6 - 8007e56: 7123 strb r3, [r4, #4] - 8007e58: 2304 movs r3, #4 - 8007e5a: 2600 movs r6, #0 - 8007e5c: 7163 strb r3, [r4, #5] - 8007e5e: f640 0306 movw r3, #2054 ; 0x806 - 8007e62: 7026 strb r6, [r4, #0] - 8007e64: 70e6 strb r6, [r4, #3] - 8007e66: 4642 mov r2, r8 - 8007e68: 9300 str r3, [sp, #0] - 8007e6a: 4629 mov r1, r5 - 8007e6c: 464b mov r3, r9 - 8007e6e: 4638 mov r0, r7 - 8007e70: f001 fa18 bl 80092a4 - 8007e74: 4628 mov r0, r5 - 8007e76: f7fa ffad bl 8002dd4 - 8007e7a: 4630 mov r0, r6 - 8007e7c: b002 add sp, #8 - 8007e7e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8007e82: f04f 30ff mov.w r0, #4294967295 - 8007e86: e7f9 b.n 8007e7c - 8007e88: 0800c008 .word 0x0800c008 - 8007e8c: 0800be96 .word 0x0800be96 - 8007e90: 0800a54d .word 0x0800a54d - 8007e94: 0800c07f .word 0x0800c07f - 8007e98: 0800c0b0 .word 0x0800c0b0 - -08007e9c : - 8007e9c: b570 push {r4, r5, r6, lr} - 8007e9e: 4d08 ldr r5, [pc, #32] ; (8007ec0 ) - 8007ea0: 4606 mov r6, r0 - 8007ea2: 2400 movs r4, #0 - 8007ea4: 7d2b ldrb r3, [r5, #20] - 8007ea6: b12b cbz r3, 8007eb4 - 8007ea8: 68ab ldr r3, [r5, #8] - 8007eaa: 42b3 cmp r3, r6 - 8007eac: d102 bne.n 8007eb4 - 8007eae: 4620 mov r0, r4 - 8007eb0: f7ff fee2 bl 8007c78 - 8007eb4: 3401 adds r4, #1 - 8007eb6: 2c0a cmp r4, #10 - 8007eb8: f105 0518 add.w r5, r5, #24 - 8007ebc: d1f2 bne.n 8007ea4 - 8007ebe: bd70 pop {r4, r5, r6, pc} - 8007ec0: 20008344 .word 0x20008344 - -08007ec4 : - 8007ec4: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8007ec8: 4607 mov r7, r0 - 8007eca: b088 sub sp, #32 - 8007ecc: 460c mov r4, r1 - 8007ece: b949 cbnz r1, 8007ee4 - 8007ed0: 4b4f ldr r3, [pc, #316] ; (8008010 ) - 8007ed2: 4950 ldr r1, [pc, #320] ; (8008014 ) - 8007ed4: 4850 ldr r0, [pc, #320] ; (8008018 ) - 8007ed6: f240 228a movw r2, #650 ; 0x28a - 8007eda: b008 add sp, #32 - 8007edc: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8007ee0: f001 ba62 b.w 80093a8 - 8007ee4: 6845 ldr r5, [r0, #4] - 8007ee6: 882b ldrh r3, [r5, #0] - 8007ee8: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 8007eec: d108 bne.n 8007f00 - 8007eee: 792b ldrb r3, [r5, #4] - 8007ef0: 2b06 cmp r3, #6 - 8007ef2: d105 bne.n 8007f00 - 8007ef4: 796b ldrb r3, [r5, #5] - 8007ef6: 2b04 cmp r3, #4 - 8007ef8: d102 bne.n 8007f00 - 8007efa: 886b ldrh r3, [r5, #2] - 8007efc: 2b08 cmp r3, #8 - 8007efe: d005 beq.n 8007f0c - 8007f00: 4638 mov r0, r7 - 8007f02: b008 add sp, #32 - 8007f04: e8bd 47f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8007f08: f7fa bf64 b.w 8002dd4 - 8007f0c: 684e ldr r6, [r1, #4] - 8007f0e: f8d5 300e ldr.w r3, [r5, #14] - 8007f12: 9307 str r3, [sp, #28] - 8007f14: f105 0808 add.w r8, r5, #8 - 8007f18: 69ab ldr r3, [r5, #24] - 8007f1a: 2e00 cmp r6, #0 - 8007f1c: d05e beq.n 8007fdc - 8007f1e: 1af3 subs r3, r6, r3 - 8007f20: 425e negs r6, r3 - 8007f22: 415e adcs r6, r3 - 8007f24: f1c6 0a02 rsb sl, r6, #2 - 8007f28: fa5f fa8a uxtb.w sl, sl - 8007f2c: f894 3030 ldrb.w r3, [r4, #48] ; 0x30 - 8007f30: 2b06 cmp r3, #6 - 8007f32: d006 beq.n 8007f42 - 8007f34: 4b36 ldr r3, [pc, #216] ; (8008010 ) - 8007f36: 4939 ldr r1, [pc, #228] ; (800801c ) - 8007f38: 4837 ldr r0, [pc, #220] ; (8008018 ) - 8007f3a: f240 12a9 movw r2, #425 ; 0x1a9 - 8007f3e: f001 fa33 bl 80093a8 - 8007f42: 9807 ldr r0, [sp, #28] - 8007f44: 2800 cmp r0, #0 - 8007f46: d03c beq.n 8007fc2 - 8007f48: 4621 mov r1, r4 - 8007f4a: f000 fcba bl 80088c2 - 8007f4e: 4681 mov r9, r0 - 8007f50: bbb8 cbnz r0, 8007fc2 - 8007f52: 9b07 ldr r3, [sp, #28] - 8007f54: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8007f58: 2be0 cmp r3, #224 ; 0xe0 - 8007f5a: d032 beq.n 8007fc2 - 8007f5c: 4622 mov r2, r4 - 8007f5e: 4651 mov r1, sl - 8007f60: a807 add r0, sp, #28 - 8007f62: f7ff fe9d bl 8007ca0 - 8007f66: 1e03 subs r3, r0, #0 - 8007f68: db2b blt.n 8007fc2 - 8007f6a: 4a2d ldr r2, [pc, #180] ; (8008020 ) - 8007f6c: 2018 movs r0, #24 - 8007f6e: fb00 fc03 mul.w ip, r0, r3 - 8007f72: eb02 010c add.w r1, r2, ip - 8007f76: f04f 0e02 mov.w lr, #2 - 8007f7a: f881 e014 strb.w lr, [r1, #20] - 8007f7e: f04f 0e0c mov.w lr, #12 - 8007f82: 608c str r4, [r1, #8] - 8007f84: fb13 e300 smlabb r3, r3, r0, lr - 8007f88: 68a8 ldr r0, [r5, #8] - 8007f8a: 50d0 str r0, [r2, r3] - 8007f8c: eb02 0e03 add.w lr, r2, r3 - 8007f90: f8b8 3004 ldrh.w r3, [r8, #4] - 8007f94: f8ae 3004 strh.w r3, [lr, #4] - 8007f98: f8a1 9012 strh.w r9, [r1, #18] - 8007f9c: f852 100c ldr.w r1, [r2, ip] - 8007fa0: b179 cbz r1, 8007fc2 - 8007fa2: f44f 6300 mov.w r3, #2048 ; 0x800 - 8007fa6: f842 900c str.w r9, [r2, ip] - 8007faa: 4620 mov r0, r4 - 8007fac: 9300 str r3, [sp, #0] - 8007fae: f104 022a add.w r2, r4, #42 ; 0x2a - 8007fb2: 4643 mov r3, r8 - 8007fb4: 9105 str r1, [sp, #20] - 8007fb6: f001 f975 bl 80092a4 - 8007fba: 9905 ldr r1, [sp, #20] - 8007fbc: 4608 mov r0, r1 - 8007fbe: f7fa ff09 bl 8002dd4 - 8007fc2: 88eb ldrh r3, [r5, #6] - 8007fc4: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 8007fc8: d00b beq.n 8007fe2 - 8007fca: f5b3 7f00 cmp.w r3, #512 ; 0x200 - 8007fce: d019 beq.n 8008004 - 8007fd0: 4638 mov r0, r7 - 8007fd2: f7fa feff bl 8002dd4 - 8007fd6: b008 add sp, #32 - 8007fd8: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8007fdc: f04f 0a02 mov.w sl, #2 - 8007fe0: e7a4 b.n 8007f2c - 8007fe2: 2e00 cmp r6, #0 - 8007fe4: d0f4 beq.n 8007fd0 - 8007fe6: 2202 movs r2, #2 - 8007fe8: 9203 str r2, [sp, #12] - 8007fea: aa07 add r2, sp, #28 - 8007fec: e9cd 8201 strd r8, r2, [sp, #4] - 8007ff0: f104 032a add.w r3, r4, #42 ; 0x2a - 8007ff4: 1d22 adds r2, r4, #4 - 8007ff6: 9200 str r2, [sp, #0] - 8007ff8: 4619 mov r1, r3 - 8007ffa: 4642 mov r2, r8 - 8007ffc: 4620 mov r0, r4 - 8007ffe: f7ff fedf bl 8007dc0 - 8008002: e7e5 b.n 8007fd0 - 8008004: a907 add r1, sp, #28 - 8008006: 4620 mov r0, r4 - 8008008: f7ff fba4 bl 8007754 - 800800c: e7e0 b.n 8007fd0 - 800800e: bf00 nop - 8008010: 0800c008 .word 0x0800c008 - 8008014: 0800be96 .word 0x0800be96 - 8008018: 0800a54d .word 0x0800a54d - 800801c: 0800c110 .word 0x0800c110 - 8008020: 20008344 .word 0x20008344 - -08008024 : - 8008024: b51f push {r0, r1, r2, r3, r4, lr} - 8008026: 4602 mov r2, r0 - 8008028: 2401 movs r4, #1 - 800802a: e9cd 1402 strd r1, r4, [sp, #8] - 800802e: f100 032a add.w r3, r0, #42 ; 0x2a - 8008032: 4905 ldr r1, [pc, #20] ; (8008048 ) - 8008034: 9101 str r1, [sp, #4] - 8008036: 3204 adds r2, #4 - 8008038: 9200 str r2, [sp, #0] - 800803a: 4619 mov r1, r3 - 800803c: 4a03 ldr r2, [pc, #12] ; (800804c ) - 800803e: f7ff febf bl 8007dc0 - 8008042: b004 add sp, #16 - 8008044: bd10 pop {r4, pc} - 8008046: bf00 nop - 8008048: 0800c53c .word 0x0800c53c - 800804c: 0800c536 .word 0x0800c536 - -08008050 : - 8008050: b5f8 push {r3, r4, r5, r6, r7, lr} - 8008052: 4c13 ldr r4, [pc, #76] ; (80080a0 ) - 8008054: 2500 movs r5, #0 - 8008056: 2602 movs r6, #2 - 8008058: 2704 movs r7, #4 - 800805a: 7d22 ldrb r2, [r4, #20] - 800805c: b16a cbz r2, 800807a - 800805e: 8a63 ldrh r3, [r4, #18] - 8008060: 3301 adds r3, #1 - 8008062: b29b uxth r3, r3 - 8008064: f5b3 7f96 cmp.w r3, #300 ; 0x12c - 8008068: 8263 strh r3, [r4, #18] - 800806a: d203 bcs.n 8008074 - 800806c: 2a01 cmp r2, #1 - 800806e: d10a bne.n 8008086 - 8008070: 2b04 cmp r3, #4 - 8008072: d910 bls.n 8008096 - 8008074: 4628 mov r0, r5 - 8008076: f7ff fdff bl 8007c78 - 800807a: 3501 adds r5, #1 - 800807c: 2d0a cmp r5, #10 - 800807e: f104 0418 add.w r4, r4, #24 - 8008082: d1ea bne.n 800805a - 8008084: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8008086: 2a03 cmp r2, #3 - 8008088: d101 bne.n 800808e - 800808a: 7527 strb r7, [r4, #20] - 800808c: e7f5 b.n 800807a - 800808e: 2a04 cmp r2, #4 - 8008090: d1f3 bne.n 800807a - 8008092: 7526 strb r6, [r4, #20] - 8008094: e7f1 b.n 800807a - 8008096: 68a0 ldr r0, [r4, #8] - 8008098: 1d21 adds r1, r4, #4 - 800809a: f7ff ffc3 bl 8008024 - 800809e: e7ec b.n 800807a - 80080a0: 20008344 .word 0x20008344 - -080080a4 : - 80080a4: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} - 80080a8: 4f24 ldr r7, [pc, #144] ; (800813c ) - 80080aa: 2318 movs r3, #24 - 80080ac: fb03 7302 mla r3, r3, r2, r7 - 80080b0: 4606 mov r6, r0 - 80080b2: 7d1b ldrb r3, [r3, #20] - 80080b4: 2b01 cmp r3, #1 - 80080b6: 4688 mov r8, r1 - 80080b8: 4614 mov r4, r2 - 80080ba: d806 bhi.n 80080ca - 80080bc: 4b20 ldr r3, [pc, #128] ; (8008140 ) - 80080be: 4921 ldr r1, [pc, #132] ; (8008144 ) - 80080c0: 4821 ldr r0, [pc, #132] ; (8008148 ) - 80080c2: f240 22ee movw r2, #750 ; 0x2ee - 80080c6: f001 f96f bl 80093a8 - 80080ca: 2218 movs r2, #24 - 80080cc: eb04 0544 add.w r5, r4, r4, lsl #1 - 80080d0: fb02 7404 mla r4, r2, r4, r7 - 80080d4: 00ed lsls r5, r5, #3 - 80080d6: 7d23 ldrb r3, [r4, #20] - 80080d8: f105 0a0c add.w sl, r5, #12 - 80080dc: 2b02 cmp r3, #2 - 80080de: 44ba add sl, r7 - 80080e0: f106 092a add.w r9, r6, #42 ; 0x2a - 80080e4: d10b bne.n 80080fe - 80080e6: 8a63 ldrh r3, [r4, #18] - 80080e8: f5b3 7f8e cmp.w r3, #284 ; 0x11c - 80080ec: d913 bls.n 8008116 - 80080ee: 3504 adds r5, #4 - 80080f0: 1979 adds r1, r7, r5 - 80080f2: 4630 mov r0, r6 - 80080f4: f7ff ff96 bl 8008024 - 80080f8: b908 cbnz r0, 80080fe - 80080fa: 2303 movs r3, #3 - 80080fc: 7523 strb r3, [r4, #20] - 80080fe: f44f 6300 mov.w r3, #2048 ; 0x800 - 8008102: 9300 str r3, [sp, #0] - 8008104: 464a mov r2, r9 - 8008106: 4653 mov r3, sl - 8008108: 4641 mov r1, r8 - 800810a: 4630 mov r0, r6 - 800810c: f001 f8ca bl 80092a4 - 8008110: b004 add sp, #16 - 8008112: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8008116: f5b3 7f87 cmp.w r3, #270 ; 0x10e - 800811a: d3f0 bcc.n 80080fe - 800811c: 2301 movs r3, #1 - 800811e: 9303 str r3, [sp, #12] - 8008120: 3504 adds r5, #4 - 8008122: 4b0a ldr r3, [pc, #40] ; (800814c ) - 8008124: 9301 str r3, [sp, #4] - 8008126: 443d add r5, r7 - 8008128: 1d33 adds r3, r6, #4 - 800812a: 9300 str r3, [sp, #0] - 800812c: 9502 str r5, [sp, #8] - 800812e: 464b mov r3, r9 - 8008130: 4652 mov r2, sl - 8008132: 4649 mov r1, r9 - 8008134: 4630 mov r0, r6 - 8008136: f7ff fe43 bl 8007dc0 - 800813a: e7dd b.n 80080f8 - 800813c: 20008344 .word 0x20008344 - 8008140: 0800c008 .word 0x0800c008 - 8008144: 0800c134 .word 0x0800c134 - 8008148: 0800a54d .word 0x0800a54d - 800814c: 0800c53c .word 0x0800c53c - -08008150 : - 8008150: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} - 8008154: 460f mov r7, r1 - 8008156: 4606 mov r6, r0 - 8008158: 4601 mov r1, r0 - 800815a: 6838 ldr r0, [r7, #0] - 800815c: 4615 mov r5, r2 - 800815e: f000 fbb0 bl 80088c2 - 8008162: 2800 cmp r0, #0 - 8008164: d16b bne.n 800823e - 8008166: 683b ldr r3, [r7, #0] - 8008168: f003 02f0 and.w r2, r3, #240 ; 0xf0 - 800816c: 2ae0 cmp r2, #224 ; 0xe0 - 800816e: d066 beq.n 800823e - 8008170: 2b00 cmp r3, #0 - 8008172: d064 beq.n 800823e - 8008174: 4632 mov r2, r6 - 8008176: 2101 movs r1, #1 - 8008178: 4638 mov r0, r7 - 800817a: f7ff fd91 bl 8007ca0 - 800817e: 1e04 subs r4, r0, #0 - 8008180: da03 bge.n 800818a - 8008182: b260 sxtb r0, r4 - 8008184: b002 add sp, #8 - 8008186: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800818a: 2c7e cmp r4, #126 ; 0x7e - 800818c: dd06 ble.n 800819c - 800818e: 4b36 ldr r3, [pc, #216] ; (8008268 ) - 8008190: 4936 ldr r1, [pc, #216] ; (800826c ) - 8008192: 4837 ldr r0, [pc, #220] ; (8008270 ) - 8008194: f240 32c1 movw r2, #961 ; 0x3c1 - 8008198: f001 f906 bl 80093a8 - 800819c: f8df 80d8 ldr.w r8, [pc, #216] ; 8008278 - 80081a0: b2e4 uxtb r4, r4 - 80081a2: 2318 movs r3, #24 - 80081a4: fb03 8304 mla r3, r3, r4, r8 - 80081a8: 7d1a ldrb r2, [r3, #20] - 80081aa: 2a00 cmp r2, #0 - 80081ac: d156 bne.n 800825c - 80081ae: 2201 movs r2, #1 - 80081b0: 751a strb r2, [r3, #20] - 80081b2: 609e str r6, [r3, #8] - 80081b4: 4639 mov r1, r7 - 80081b6: 4630 mov r0, r6 - 80081b8: f7ff ff34 bl 8008024 - 80081bc: 2d00 cmp r5, #0 - 80081be: d0e1 beq.n 8008184 - 80081c0: 2318 movs r3, #24 - 80081c2: fb03 8204 mla r2, r3, r4, r8 - 80081c6: 7d12 ldrb r2, [r2, #20] - 80081c8: 2a01 cmp r2, #1 - 80081ca: d90e bls.n 80081ea - 80081cc: 4a29 ldr r2, [pc, #164] ; (8008274 ) - 80081ce: fb03 8304 mla r3, r3, r4, r8 - 80081d2: 7014 strb r4, [r2, #0] - 80081d4: f44f 6200 mov.w r2, #2048 ; 0x800 - 80081d8: 9200 str r2, [sp, #0] - 80081da: 330c adds r3, #12 - 80081dc: f106 022a add.w r2, r6, #42 ; 0x2a - 80081e0: 4629 mov r1, r5 - 80081e2: 4630 mov r0, r6 - 80081e4: f001 f85e bl 80092a4 - 80081e8: e7cc b.n 8008184 - 80081ea: d1cb bne.n 8008184 - 80081ec: 4f1e ldr r7, [pc, #120] ; (8008268 ) - 80081ee: f8df 908c ldr.w r9, [pc, #140] ; 800827c - 80081f2: f8df a07c ldr.w sl, [pc, #124] ; 8008270 - 80081f6: 462e mov r6, r5 - 80081f8: 8972 ldrh r2, [r6, #10] - 80081fa: 8933 ldrh r3, [r6, #8] - 80081fc: 429a cmp r2, r3 - 80081fe: d108 bne.n 8008212 - 8008200: 6833 ldr r3, [r6, #0] - 8008202: b133 cbz r3, 8008212 - 8008204: 463b mov r3, r7 - 8008206: f240 32f1 movw r2, #1009 ; 0x3f1 - 800820a: 4649 mov r1, r9 - 800820c: 4650 mov r0, sl - 800820e: f001 f8cb bl 80093a8 - 8008212: 7b33 ldrb r3, [r6, #12] - 8008214: 065b lsls r3, r3, #25 - 8008216: d415 bmi.n 8008244 - 8008218: 6836 ldr r6, [r6, #0] - 800821a: 2e00 cmp r6, #0 - 800821c: d1ec bne.n 80081f8 - 800821e: 4628 mov r0, r5 - 8008220: f7fa ff1c bl 800305c - 8008224: 2618 movs r6, #24 - 8008226: fb06 f304 mul.w r3, r6, r4 - 800822a: f858 0003 ldr.w r0, [r8, r3] - 800822e: b108 cbz r0, 8008234 - 8008230: f7fa fdd0 bl 8002dd4 - 8008234: 4374 muls r4, r6 - 8008236: 2000 movs r0, #0 - 8008238: f848 5004 str.w r5, [r8, r4] - 800823c: e7a2 b.n 8008184 - 800823e: f06f 000f mvn.w r0, #15 - 8008242: e79f b.n 8008184 - 8008244: 462a mov r2, r5 - 8008246: f44f 7120 mov.w r1, #640 ; 0x280 - 800824a: 200e movs r0, #14 - 800824c: f7fb f826 bl 800329c - 8008250: 4605 mov r5, r0 - 8008252: 2800 cmp r0, #0 - 8008254: d1e6 bne.n 8008224 - 8008256: f04f 30ff mov.w r0, #4294967295 - 800825a: e793 b.n 8008184 - 800825c: 2d00 cmp r5, #0 - 800825e: d0a9 beq.n 80081b4 - 8008260: f04f 30ff mov.w r0, #4294967295 - 8008264: e7ac b.n 80081c0 - 8008266: bf00 nop - 8008268: 0800c008 .word 0x0800c008 - 800826c: 0800c164 .word 0x0800c164 - 8008270: 0800a54d .word 0x0800a54d - 8008274: 20008434 .word 0x20008434 - 8008278: 20008344 .word 0x20008344 - 800827c: 0800c172 .word 0x0800c172 - -08008280 : - 8008280: b5f0 push {r4, r5, r6, r7, lr} - 8008282: 460e mov r6, r1 - 8008284: b085 sub sp, #20 - 8008286: 4615 mov r5, r2 - 8008288: 4604 mov r4, r0 - 800828a: b930 cbnz r0, 800829a - 800828c: 4b45 ldr r3, [pc, #276] ; (80083a4 ) - 800828e: 4946 ldr r1, [pc, #280] ; (80083a8 ) - 8008290: 4846 ldr r0, [pc, #280] ; (80083ac ) - 8008292: f240 321e movw r2, #798 ; 0x31e - 8008296: f001 f887 bl 80093a8 - 800829a: b936 cbnz r6, 80082aa - 800829c: 4b41 ldr r3, [pc, #260] ; (80083a4 ) - 800829e: 4944 ldr r1, [pc, #272] ; (80083b0 ) - 80082a0: 4842 ldr r0, [pc, #264] ; (80083ac ) - 80082a2: f240 321f movw r2, #799 ; 0x31f - 80082a6: f001 f87f bl 80093a8 - 80082aa: b935 cbnz r5, 80082ba - 80082ac: 4b3d ldr r3, [pc, #244] ; (80083a4 ) - 80082ae: 4941 ldr r1, [pc, #260] ; (80083b4 ) - 80082b0: 483e ldr r0, [pc, #248] ; (80083ac ) - 80082b2: f44f 7248 mov.w r2, #800 ; 0x320 - 80082b6: f001 f877 bl 80093a8 - 80082ba: 6828 ldr r0, [r5, #0] - 80082bc: 4621 mov r1, r4 - 80082be: f000 fb00 bl 80088c2 - 80082c2: 2800 cmp r0, #0 - 80082c4: d168 bne.n 8008398 - 80082c6: 682b ldr r3, [r5, #0] - 80082c8: f003 02f0 and.w r2, r3, #240 ; 0xf0 - 80082cc: 2ae0 cmp r2, #224 ; 0xe0 - 80082ce: d11e bne.n 800830e - 80082d0: 2301 movs r3, #1 - 80082d2: f88d 3008 strb.w r3, [sp, #8] - 80082d6: 235e movs r3, #94 ; 0x5e - 80082d8: f88d 300a strb.w r3, [sp, #10] - 80082dc: 786b ldrb r3, [r5, #1] - 80082de: f88d 0009 strb.w r0, [sp, #9] - 80082e2: f003 037f and.w r3, r3, #127 ; 0x7f - 80082e6: f88d 300b strb.w r3, [sp, #11] - 80082ea: 78ab ldrb r3, [r5, #2] - 80082ec: f88d 300c strb.w r3, [sp, #12] - 80082f0: 78eb ldrb r3, [r5, #3] - 80082f2: f88d 300d strb.w r3, [sp, #13] - 80082f6: ab02 add r3, sp, #8 - 80082f8: f44f 6200 mov.w r2, #2048 ; 0x800 - 80082fc: 9200 str r2, [sp, #0] - 80082fe: 4631 mov r1, r6 - 8008300: f104 022a add.w r2, r4, #42 ; 0x2a - 8008304: 4620 mov r0, r4 - 8008306: f000 ffcd bl 80092a4 - 800830a: b005 add sp, #20 - 800830c: bdf0 pop {r4, r5, r6, r7, pc} - 800830e: 6862 ldr r2, [r4, #4] - 8008310: 68a1 ldr r1, [r4, #8] - 8008312: 405a eors r2, r3 - 8008314: 420a tst r2, r1 - 8008316: d009 beq.n 800832c - 8008318: b29b uxth r3, r3 - 800831a: f64f 62a9 movw r2, #65193 ; 0xfea9 - 800831e: 4293 cmp r3, r2 - 8008320: d004 beq.n 800832c - 8008322: 68e3 ldr r3, [r4, #12] - 8008324: 2b00 cmp r3, #0 - 8008326: d039 beq.n 800839c - 8008328: f104 050c add.w r5, r4, #12 - 800832c: f8df c090 ldr.w ip, [pc, #144] ; 80083c0 - 8008330: 4b21 ldr r3, [pc, #132] ; (80083b8 ) - 8008332: f89c 2000 ldrb.w r2, [ip] - 8008336: 2118 movs r1, #24 - 8008338: fb01 3302 mla r3, r1, r2, r3 - 800833c: 7d19 ldrb r1, [r3, #20] - 800833e: 2901 cmp r1, #1 - 8008340: d90d bls.n 800835e - 8008342: 6899 ldr r1, [r3, #8] - 8008344: 42a1 cmp r1, r4 - 8008346: d10a bne.n 800835e - 8008348: 6829 ldr r1, [r5, #0] - 800834a: 685b ldr r3, [r3, #4] - 800834c: 4299 cmp r1, r3 - 800834e: d106 bne.n 800835e - 8008350: 4631 mov r1, r6 - 8008352: 4620 mov r0, r4 - 8008354: b005 add sp, #20 - 8008356: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} - 800835a: f7ff bea3 b.w 80080a4 - 800835e: 4b16 ldr r3, [pc, #88] ; (80083b8 ) - 8008360: 2100 movs r1, #0 - 8008362: 7d1f ldrb r7, [r3, #20] - 8008364: 2f01 cmp r7, #1 - 8008366: b2ca uxtb r2, r1 - 8008368: d909 bls.n 800837e - 800836a: 689f ldr r7, [r3, #8] - 800836c: 42a7 cmp r7, r4 - 800836e: d106 bne.n 800837e - 8008370: 685f ldr r7, [r3, #4] - 8008372: 6828 ldr r0, [r5, #0] - 8008374: 42b8 cmp r0, r7 - 8008376: d102 bne.n 800837e - 8008378: f88c 2000 strb.w r2, [ip] - 800837c: e7e8 b.n 8008350 - 800837e: 3101 adds r1, #1 - 8008380: 290a cmp r1, #10 - 8008382: f103 0318 add.w r3, r3, #24 - 8008386: d1ec bne.n 8008362 - 8008388: 4632 mov r2, r6 - 800838a: 4629 mov r1, r5 - 800838c: 4620 mov r0, r4 - 800838e: b005 add sp, #20 - 8008390: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} - 8008394: f7ff bedc b.w 8008150 - 8008398: 4b08 ldr r3, [pc, #32] ; (80083bc ) - 800839a: e7ad b.n 80082f8 - 800839c: f06f 0003 mvn.w r0, #3 - 80083a0: e7b3 b.n 800830a - 80083a2: bf00 nop - 80083a4: 0800c008 .word 0x0800c008 - 80083a8: 0800be96 .word 0x0800be96 - 80083ac: 0800a54d .word 0x0800a54d - 80083b0: 0800ab2d .word 0x0800ab2d - 80083b4: 0800c0f1 .word 0x0800c0f1 - 80083b8: 20008344 .word 0x20008344 - 80083bc: 0800c536 .word 0x0800c536 - 80083c0: 20008434 .word 0x20008434 - -080083c4 : - 80083c4: b5f0 push {r4, r5, r6, r7, lr} - 80083c6: 4604 mov r4, r0 - 80083c8: b087 sub sp, #28 - 80083ca: 460f mov r7, r1 - 80083cc: 4616 mov r6, r2 - 80083ce: 2124 movs r1, #36 ; 0x24 - 80083d0: f44f 7220 mov.w r2, #640 ; 0x280 - 80083d4: 2022 movs r0, #34 ; 0x22 - 80083d6: f7fa fd61 bl 8002e9c - 80083da: 4605 mov r5, r0 - 80083dc: b390 cbz r0, 8008444 - 80083de: 8943 ldrh r3, [r0, #10] - 80083e0: 2b23 cmp r3, #35 ; 0x23 - 80083e2: d806 bhi.n 80083f2 - 80083e4: 4b18 ldr r3, [pc, #96] ; (8008448 ) - 80083e6: 4919 ldr r1, [pc, #100] ; (800844c ) - 80083e8: 4819 ldr r0, [pc, #100] ; (8008450 ) - 80083ea: f44f 72b4 mov.w r2, #360 ; 0x168 - 80083ee: f000 ffdb bl 80093a8 - 80083f2: 6860 ldr r0, [r4, #4] - 80083f4: 686c ldr r4, [r5, #4] - 80083f6: 2300 movs r3, #0 - 80083f8: 7123 strb r3, [r4, #4] - 80083fa: 7163 strb r3, [r4, #5] - 80083fc: 71a3 strb r3, [r4, #6] - 80083fe: 71e3 strb r3, [r4, #7] - 8008400: 7027 strb r7, [r4, #0] - 8008402: 7066 strb r6, [r4, #1] - 8008404: 4603 mov r3, r0 - 8008406: f104 0208 add.w r2, r4, #8 - 800840a: f100 011c add.w r1, r0, #28 - 800840e: f853 6b04 ldr.w r6, [r3], #4 - 8008412: f842 6b04 str.w r6, [r2], #4 - 8008416: 428b cmp r3, r1 - 8008418: d1f9 bne.n 800840e - 800841a: 68c3 ldr r3, [r0, #12] - 800841c: 9305 str r3, [sp, #20] - 800841e: a805 add r0, sp, #20 - 8008420: f000 f8d0 bl 80085c4 - 8008424: b158 cbz r0, 800843e - 8008426: 2100 movs r1, #0 - 8008428: 2301 movs r3, #1 - 800842a: 70a1 strb r1, [r4, #2] - 800842c: 70e1 strb r1, [r4, #3] - 800842e: aa05 add r2, sp, #20 - 8008430: e9cd 1300 strd r1, r3, [sp] - 8008434: 9002 str r0, [sp, #8] - 8008436: 23ff movs r3, #255 ; 0xff - 8008438: 4628 mov r0, r5 - 800843a: f000 fa31 bl 80088a0 - 800843e: 4628 mov r0, r5 - 8008440: f7fa fcc8 bl 8002dd4 - 8008444: b007 add sp, #28 - 8008446: bdf0 pop {r4, r5, r6, r7, pc} - 8008448: 0800c18c .word 0x0800c18c - 800844c: 0800c1c1 .word 0x0800c1c1 - 8008450: 0800a54d .word 0x0800a54d - -08008454 : - 8008454: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 8008458: 4f43 ldr r7, [pc, #268] ; (8008568 ) - 800845a: f8d7 9008 ldr.w r9, [r7, #8] - 800845e: f899 5000 ldrb.w r5, [r9] - 8008462: f005 050f and.w r5, r5, #15 - 8008466: 00ad lsls r5, r5, #2 - 8008468: 2d13 cmp r5, #19 - 800846a: b087 sub sp, #28 - 800846c: 4604 mov r4, r0 - 800846e: 4688 mov r8, r1 - 8008470: d92f bls.n 80084d2 - 8008472: 8943 ldrh r3, [r0, #10] - 8008474: 2b03 cmp r3, #3 - 8008476: d92c bls.n 80084d2 - 8008478: 6843 ldr r3, [r0, #4] - 800847a: 781b ldrb r3, [r3, #0] - 800847c: 2b08 cmp r3, #8 - 800847e: d128 bne.n 80084d2 - 8008480: 6978 ldr r0, [r7, #20] - 8008482: f000 03f0 and.w r3, r0, #240 ; 0xf0 - 8008486: 2be0 cmp r3, #224 ; 0xe0 - 8008488: d023 beq.n 80084d2 - 800848a: 6839 ldr r1, [r7, #0] - 800848c: f000 fa19 bl 80088c2 - 8008490: b9f8 cbnz r0, 80084d2 - 8008492: 8923 ldrh r3, [r4, #8] - 8008494: 2b07 cmp r3, #7 - 8008496: d91c bls.n 80084d2 - 8008498: f105 010e add.w r1, r5, #14 - 800849c: 4620 mov r0, r4 - 800849e: 9105 str r1, [sp, #20] - 80084a0: f7fa fc60 bl 8002d64 - 80084a4: 9905 ldr r1, [sp, #20] - 80084a6: 2800 cmp r0, #0 - 80084a8: d052 beq.n 8008550 - 80084aa: 8923 ldrh r3, [r4, #8] - 80084ac: 1959 adds r1, r3, r5 - 80084ae: b289 uxth r1, r1 - 80084b0: 428b cmp r3, r1 - 80084b2: d80e bhi.n 80084d2 - 80084b4: f44f 7220 mov.w r2, #640 ; 0x280 - 80084b8: 200e movs r0, #14 - 80084ba: f7fa fcef bl 8002e9c - 80084be: 4606 mov r6, r0 - 80084c0: b138 cbz r0, 80084d2 - 80084c2: 8942 ldrh r2, [r0, #10] - 80084c4: f105 0308 add.w r3, r5, #8 - 80084c8: 429a cmp r2, r3 - 80084ca: d208 bcs.n 80084de - 80084cc: 4630 mov r0, r6 - 80084ce: f7fa fc81 bl 8002dd4 - 80084d2: 4620 mov r0, r4 - 80084d4: b007 add sp, #28 - 80084d6: e8bd 43f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, lr} - 80084da: f7fa bc7b b.w 8002dd4 - 80084de: 4649 mov r1, r9 - 80084e0: 6840 ldr r0, [r0, #4] - 80084e2: 462a mov r2, r5 - 80084e4: f000 ff4a bl 800937c - 80084e8: 4629 mov r1, r5 - 80084ea: 4630 mov r0, r6 - 80084ec: f7fa fc3e bl 8002d6c - 80084f0: b130 cbz r0, 8008500 - 80084f2: 4b1e ldr r3, [pc, #120] ; (800856c ) - 80084f4: 491e ldr r1, [pc, #120] ; (8008570 ) - 80084f6: 481f ldr r0, [pc, #124] ; (8008574 ) - 80084f8: 22b6 movs r2, #182 ; 0xb6 - 80084fa: f000 ff55 bl 80093a8 - 80084fe: e7e5 b.n 80084cc - 8008500: 4621 mov r1, r4 - 8008502: 4630 mov r0, r6 - 8008504: f7fa fe02 bl 800310c - 8008508: 2800 cmp r0, #0 - 800850a: d1df bne.n 80084cc - 800850c: 4620 mov r0, r4 - 800850e: f7fa fc61 bl 8002dd4 - 8008512: 4634 mov r4, r6 - 8008514: 4629 mov r1, r5 - 8008516: 4620 mov r0, r4 - 8008518: 6866 ldr r6, [r4, #4] - 800851a: f7fa fc23 bl 8002d64 - 800851e: 2800 cmp r0, #0 - 8008520: d1d7 bne.n 80084d2 - 8008522: 6862 ldr r2, [r4, #4] - 8008524: 697b ldr r3, [r7, #20] - 8008526: 60d3 str r3, [r2, #12] - 8008528: 693b ldr r3, [r7, #16] - 800852a: 6113 str r3, [r2, #16] - 800852c: 23ff movs r3, #255 ; 0xff - 800852e: 7030 strb r0, [r6, #0] - 8008530: 70b0 strb r0, [r6, #2] - 8008532: 70f0 strb r0, [r6, #3] - 8008534: 7213 strb r3, [r2, #8] - 8008536: 7290 strb r0, [r2, #10] - 8008538: 72d0 strb r0, [r2, #11] - 800853a: 2201 movs r2, #1 - 800853c: e9cd 0200 strd r0, r2, [sp] - 8008540: 490d ldr r1, [pc, #52] ; (8008578 ) - 8008542: f8cd 8008 str.w r8, [sp, #8] - 8008546: 4602 mov r2, r0 - 8008548: 4620 mov r0, r4 - 800854a: f000 f9a9 bl 80088a0 - 800854e: e7c0 b.n 80084d2 - 8008550: 4620 mov r0, r4 - 8008552: f7fa fc0b bl 8002d6c - 8008556: 2800 cmp r0, #0 - 8008558: d0dc beq.n 8008514 - 800855a: 4b04 ldr r3, [pc, #16] ; (800856c ) - 800855c: 4907 ldr r1, [pc, #28] ; (800857c ) - 800855e: 4805 ldr r0, [pc, #20] ; (8008574 ) - 8008560: 22c7 movs r2, #199 ; 0xc7 - 8008562: f000 ff21 bl 80093a8 - 8008566: e7b4 b.n 80084d2 - 8008568: 20004d1c .word 0x20004d1c - 800856c: 0800c18c .word 0x0800c18c - 8008570: 0800c1ed .word 0x0800c1ed - 8008574: 0800a54d .word 0x0800a54d - 8008578: 20004d30 .word 0x20004d30 - 800857c: 0800c222 .word 0x0800c222 - -08008580 : - 8008580: 460a mov r2, r1 - 8008582: 2103 movs r1, #3 - 8008584: f7ff bf1e b.w 80083c4 - -08008588 : - 8008588: 460a mov r2, r1 - 800858a: 210b movs r1, #11 - 800858c: f7ff bf1a b.w 80083c4 - -08008590 : - 8008590: b508 push {r3, lr} - 8008592: f890 3031 ldrb.w r3, [r0, #49] ; 0x31 - 8008596: f013 0301 ands.w r3, r3, #1 - 800859a: 4601 mov r1, r0 - 800859c: d00b beq.n 80085b6 - 800859e: 6843 ldr r3, [r0, #4] - 80085a0: b14b cbz r3, 80085b6 - 80085a2: 4a07 ldr r2, [pc, #28] ; (80085c0 ) - 80085a4: 6950 ldr r0, [r2, #20] - 80085a6: 4283 cmp r3, r0 - 80085a8: d007 beq.n 80085ba - 80085aa: f000 f98a bl 80088c2 - 80085ae: 3800 subs r0, #0 - 80085b0: bf18 it ne - 80085b2: 2001 movne r0, #1 - 80085b4: bd08 pop {r3, pc} - 80085b6: 4618 mov r0, r3 - 80085b8: e7fc b.n 80085b4 - 80085ba: 2001 movs r0, #1 - 80085bc: e7fa b.n 80085b4 - 80085be: bf00 nop - 80085c0: 20004d1c .word 0x20004d1c - -080085c4 : - 80085c4: b530 push {r4, r5, lr} - 80085c6: 4b14 ldr r3, [pc, #80] ; (8008618 ) - 80085c8: 4602 mov r2, r0 - 80085ca: 6818 ldr r0, [r3, #0] - 80085cc: b978 cbnz r0, 80085ee - 80085ce: 4b13 ldr r3, [pc, #76] ; (800861c ) - 80085d0: 681b ldr r3, [r3, #0] - 80085d2: b15b cbz r3, 80085ec - 80085d4: f893 1031 ldrb.w r1, [r3, #49] ; 0x31 - 80085d8: f001 0105 and.w r1, r1, #5 - 80085dc: 2905 cmp r1, #5 - 80085de: d105 bne.n 80085ec - 80085e0: 6859 ldr r1, [r3, #4] - 80085e2: b119 cbz r1, 80085ec - 80085e4: 7812 ldrb r2, [r2, #0] - 80085e6: 2a7f cmp r2, #127 ; 0x7f - 80085e8: bf18 it ne - 80085ea: 4618 movne r0, r3 - 80085ec: bd30 pop {r4, r5, pc} - 80085ee: f890 1031 ldrb.w r1, [r0, #49] ; 0x31 - 80085f2: 07cd lsls r5, r1, #31 - 80085f4: d50d bpl.n 8008612 - 80085f6: 074c lsls r4, r1, #29 - 80085f8: d50b bpl.n 8008612 - 80085fa: 6843 ldr r3, [r0, #4] - 80085fc: b14b cbz r3, 8008612 - 80085fe: 6814 ldr r4, [r2, #0] - 8008600: 6885 ldr r5, [r0, #8] - 8008602: 4063 eors r3, r4 - 8008604: 422b tst r3, r5 - 8008606: d0f1 beq.n 80085ec - 8008608: 078b lsls r3, r1, #30 - 800860a: d402 bmi.n 8008612 - 800860c: 68c3 ldr r3, [r0, #12] - 800860e: 429c cmp r4, r3 - 8008610: d0ec beq.n 80085ec - 8008612: 6800 ldr r0, [r0, #0] - 8008614: e7da b.n 80085cc - 8008616: bf00 nop - 8008618: 2000829c .word 0x2000829c - 800861c: 20008298 .word 0x20008298 - -08008620 : - 8008620: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 8008624: f8d0 8004 ldr.w r8, [r0, #4] - 8008628: f898 5000 ldrb.w r5, [r8] - 800862c: 092b lsrs r3, r5, #4 - 800862e: 2b04 cmp r3, #4 - 8008630: 4604 mov r4, r0 - 8008632: 460e mov r6, r1 - 8008634: d005 beq.n 8008642 - 8008636: 4620 mov r0, r4 - 8008638: f7fa fbcc bl 8002dd4 - 800863c: 2000 movs r0, #0 - 800863e: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 8008642: f8b8 0002 ldrh.w r0, [r8, #2] - 8008646: f7f9 fe7a bl 800233e - 800864a: 8923 ldrh r3, [r4, #8] - 800864c: f005 050f and.w r5, r5, #15 - 8008650: ea4f 0985 mov.w r9, r5, lsl #2 - 8008654: 4283 cmp r3, r0 - 8008656: 464d mov r5, r9 - 8008658: 4607 mov r7, r0 - 800865a: d903 bls.n 8008664 - 800865c: 4601 mov r1, r0 - 800865e: 4620 mov r0, r4 - 8008660: f7fa fc9c bl 8002f9c - 8008664: 8963 ldrh r3, [r4, #10] - 8008666: 42ab cmp r3, r5 - 8008668: d3e5 bcc.n 8008636 - 800866a: 8923 ldrh r3, [r4, #8] - 800866c: 42bb cmp r3, r7 - 800866e: d3e2 bcc.n 8008636 - 8008670: 2d13 cmp r5, #19 - 8008672: d9e0 bls.n 8008636 - 8008674: f8d8 3010 ldr.w r3, [r8, #16] - 8008678: 4d49 ldr r5, [pc, #292] ; (80087a0 ) - 800867a: 616b str r3, [r5, #20] - 800867c: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8008680: f8d8 200c ldr.w r2, [r8, #12] - 8008684: 612a str r2, [r5, #16] - 8008686: 2be0 cmp r3, #224 ; 0xe0 - 8008688: d143 bne.n 8008712 - 800868a: f896 3031 ldrb.w r3, [r6, #49] ; 0x31 - 800868e: 07db lsls r3, r3, #31 - 8008690: d405 bmi.n 800869e - 8008692: f898 3009 ldrb.w r3, [r8, #9] - 8008696: 2b11 cmp r3, #17 - 8008698: d053 beq.n 8008742 - 800869a: 2700 movs r7, #0 - 800869c: e003 b.n 80086a6 - 800869e: 6873 ldr r3, [r6, #4] - 80086a0: 2b00 cmp r3, #0 - 80086a2: d0f6 beq.n 8008692 - 80086a4: 4637 mov r7, r6 - 80086a6: 6928 ldr r0, [r5, #16] - 80086a8: b148 cbz r0, 80086be - 80086aa: 4631 mov r1, r6 - 80086ac: f000 f909 bl 80088c2 - 80086b0: 2800 cmp r0, #0 - 80086b2: d1c0 bne.n 8008636 - 80086b4: 692b ldr r3, [r5, #16] - 80086b6: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 80086ba: 2be0 cmp r3, #224 ; 0xe0 - 80086bc: d0bb beq.n 8008636 - 80086be: 2f00 cmp r7, #0 - 80086c0: d0b9 beq.n 8008636 - 80086c2: f8b8 3006 ldrh.w r3, [r8, #6] - 80086c6: f023 03c0 bic.w r3, r3, #192 ; 0xc0 - 80086ca: b13b cbz r3, 80086dc - 80086cc: 4620 mov r0, r4 - 80086ce: f000 fad3 bl 8008c78 - 80086d2: 4604 mov r4, r0 - 80086d4: 2800 cmp r0, #0 - 80086d6: d0b1 beq.n 800863c - 80086d8: f8d0 8004 ldr.w r8, [r0, #4] - 80086dc: f8c5 8008 str.w r8, [r5, #8] - 80086e0: e9c5 7600 strd r7, r6, [r5] - 80086e4: f898 3000 ldrb.w r3, [r8] - 80086e8: f003 030f and.w r3, r3, #15 - 80086ec: 009b lsls r3, r3, #2 - 80086ee: 4649 mov r1, r9 - 80086f0: 4620 mov r0, r4 - 80086f2: 81ab strh r3, [r5, #12] - 80086f4: f7fa fb3a bl 8002d6c - 80086f8: f898 3009 ldrb.w r3, [r8, #9] - 80086fc: 2b06 cmp r3, #6 - 80086fe: d034 beq.n 800876a - 8008700: 2b11 cmp r3, #17 - 8008702: d026 beq.n 8008752 - 8008704: 2b01 cmp r3, #1 - 8008706: d135 bne.n 8008774 - 8008708: 4631 mov r1, r6 - 800870a: 4620 mov r0, r4 - 800870c: f7ff fea2 bl 8008454 - 8008710: e023 b.n 800875a - 8008712: 4630 mov r0, r6 - 8008714: f7ff ff3c bl 8008590 - 8008718: b980 cbnz r0, 800873c - 800871a: 7d2b ldrb r3, [r5, #20] - 800871c: 2b7f cmp r3, #127 ; 0x7f - 800871e: d0b8 beq.n 8008692 - 8008720: 4b20 ldr r3, [pc, #128] ; (80087a4 ) - 8008722: 681f ldr r7, [r3, #0] - 8008724: 2f00 cmp r7, #0 - 8008726: d0b4 beq.n 8008692 - 8008728: 42b7 cmp r7, r6 - 800872a: d101 bne.n 8008730 - 800872c: 683f ldr r7, [r7, #0] - 800872e: e7f9 b.n 8008724 - 8008730: 4638 mov r0, r7 - 8008732: f7ff ff2d bl 8008590 - 8008736: 2800 cmp r0, #0 - 8008738: d0f8 beq.n 800872c - 800873a: e7b4 b.n 80086a6 - 800873c: 2e00 cmp r6, #0 - 800873e: d1b1 bne.n 80086a4 - 8008740: e7a7 b.n 8008692 - 8008742: eb08 0309 add.w r3, r8, r9 - 8008746: 885b ldrh r3, [r3, #2] - 8008748: f5b3 4f88 cmp.w r3, #17408 ; 0x4400 - 800874c: d1a5 bne.n 800869a - 800874e: 4637 mov r7, r6 - 8008750: e7b5 b.n 80086be - 8008752: 4631 mov r1, r6 - 8008754: 4620 mov r0, r4 - 8008756: f7fd ff07 bl 8006568 - 800875a: 2300 movs r3, #0 - 800875c: e9c5 3300 strd r3, r3, [r5] - 8008760: e9c5 3304 strd r3, r3, [r5, #16] - 8008764: 60ab str r3, [r5, #8] - 8008766: 81ab strh r3, [r5, #12] - 8008768: e768 b.n 800863c - 800876a: 4631 mov r1, r6 - 800876c: 4620 mov r0, r4 - 800876e: f7fc fa21 bl 8004bb4 - 8008772: e7f2 b.n 800875a - 8008774: 6968 ldr r0, [r5, #20] - 8008776: 4639 mov r1, r7 - 8008778: f000 f8a3 bl 80088c2 - 800877c: b960 cbnz r0, 8008798 - 800877e: 696b ldr r3, [r5, #20] - 8008780: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8008784: 2be0 cmp r3, #224 ; 0xe0 - 8008786: d007 beq.n 8008798 - 8008788: 4649 mov r1, r9 - 800878a: 4620 mov r0, r4 - 800878c: f7fa fb1a bl 8002dc4 - 8008790: 2102 movs r1, #2 - 8008792: 4620 mov r0, r4 - 8008794: f7ff fef4 bl 8008580 - 8008798: 4620 mov r0, r4 - 800879a: f7fa fb1b bl 8002dd4 - 800879e: e7dc b.n 800875a - 80087a0: 20004d1c .word 0x20004d1c - 80087a4: 2000829c .word 0x2000829c - -080087a8 : - 80087a8: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} - 80087ac: 4698 mov r8, r3 - 80087ae: 7b83 ldrb r3, [r0, #14] - 80087b0: 9f0c ldr r7, [sp, #48] ; 0x30 - 80087b2: 2b01 cmp r3, #1 - 80087b4: 4604 mov r4, r0 - 80087b6: 4689 mov r9, r1 - 80087b8: 4616 mov r6, r2 - 80087ba: d006 beq.n 80087ca - 80087bc: 4b32 ldr r3, [pc, #200] ; (8008888 ) - 80087be: 4933 ldr r1, [pc, #204] ; (800888c ) - 80087c0: 4833 ldr r0, [pc, #204] ; (8008890 ) - 80087c2: f44f 7255 mov.w r2, #852 ; 0x354 - 80087c6: f000 fdef bl 80093a8 - 80087ca: 2e00 cmp r6, #0 - 80087cc: d04e beq.n 800886c - 80087ce: 2114 movs r1, #20 - 80087d0: 4620 mov r0, r4 - 80087d2: f7fa fac7 bl 8002d64 - 80087d6: b120 cbz r0, 80087e2 - 80087d8: f06f 0001 mvn.w r0, #1 - 80087dc: b002 add sp, #8 - 80087de: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 80087e2: 8963 ldrh r3, [r4, #10] - 80087e4: 6865 ldr r5, [r4, #4] - 80087e6: 2b13 cmp r3, #19 - 80087e8: d806 bhi.n 80087f8 - 80087ea: 4b27 ldr r3, [pc, #156] ; (8008888 ) - 80087ec: 4929 ldr r1, [pc, #164] ; (8008894 ) - 80087ee: 4828 ldr r0, [pc, #160] ; (8008890 ) - 80087f0: f44f 7262 mov.w r2, #904 ; 0x388 - 80087f4: f000 fdd8 bl 80093a8 - 80087f8: f89d 302c ldrb.w r3, [sp, #44] ; 0x2c - 80087fc: f885 8008 strb.w r8, [r5, #8] - 8008800: 726b strb r3, [r5, #9] - 8008802: 6833 ldr r3, [r6, #0] - 8008804: 612b str r3, [r5, #16] - 8008806: 2345 movs r3, #69 ; 0x45 - 8008808: 702b strb r3, [r5, #0] - 800880a: f89d 3028 ldrb.w r3, [sp, #40] ; 0x28 - 800880e: 706b strb r3, [r5, #1] - 8008810: 8920 ldrh r0, [r4, #8] - 8008812: f8df a088 ldr.w sl, [pc, #136] ; 800889c - 8008816: f7f9 fd92 bl 800233e - 800881a: f04f 0800 mov.w r8, #0 - 800881e: 8068 strh r0, [r5, #2] - 8008820: f885 8006 strb.w r8, [r5, #6] - 8008824: f8ba 0000 ldrh.w r0, [sl] - 8008828: f885 8007 strb.w r8, [r5, #7] - 800882c: f7f9 fd87 bl 800233e - 8008830: f8ba 3000 ldrh.w r3, [sl] - 8008834: 80a8 strh r0, [r5, #4] - 8008836: 3301 adds r3, #1 - 8008838: f8aa 3000 strh.w r3, [sl] - 800883c: f1b9 0f00 cmp.w r9, #0 - 8008840: d111 bne.n 8008866 - 8008842: 4b15 ldr r3, [pc, #84] ; (8008898 ) - 8008844: 681b ldr r3, [r3, #0] - 8008846: 60eb str r3, [r5, #12] - 8008848: f885 800a strb.w r8, [r5, #10] - 800884c: f885 800b strb.w r8, [r5, #11] - 8008850: 8d3b ldrh r3, [r7, #40] ; 0x28 - 8008852: b19b cbz r3, 800887c - 8008854: 8922 ldrh r2, [r4, #8] - 8008856: 429a cmp r2, r3 - 8008858: d910 bls.n 800887c - 800885a: 4632 mov r2, r6 - 800885c: 4639 mov r1, r7 - 800885e: 4620 mov r0, r4 - 8008860: f000 fbe4 bl 800902c - 8008864: e7ba b.n 80087dc - 8008866: f8d9 3000 ldr.w r3, [r9] - 800886a: e7ec b.n 8008846 - 800886c: 8963 ldrh r3, [r4, #10] - 800886e: 2b13 cmp r3, #19 - 8008870: d9b2 bls.n 80087d8 - 8008872: 6863 ldr r3, [r4, #4] - 8008874: 691b ldr r3, [r3, #16] - 8008876: 9301 str r3, [sp, #4] - 8008878: ae01 add r6, sp, #4 - 800887a: e7e9 b.n 8008850 - 800887c: 697b ldr r3, [r7, #20] - 800887e: 4632 mov r2, r6 - 8008880: 4621 mov r1, r4 - 8008882: 4638 mov r0, r7 - 8008884: 4798 blx r3 - 8008886: e7a9 b.n 80087dc - 8008888: 0800c254 .word 0x0800c254 - 800888c: 0800c288 .word 0x0800c288 - 8008890: 0800a54d .word 0x0800a54d - 8008894: 0800c294 .word 0x0800c294 - 8008898: 0800c304 .word 0x0800c304 - 800889c: 20008436 .word 0x20008436 - -080088a0 : - 80088a0: b4f0 push {r4, r5, r6, r7} - 80088a2: 9c06 ldr r4, [sp, #24] - 80088a4: f89d 5010 ldrb.w r5, [sp, #16] - 80088a8: f89d 6014 ldrb.w r6, [sp, #20] - 80088ac: b11a cbz r2, 80088b6 - 80088ae: b109 cbz r1, 80088b4 - 80088b0: 680f ldr r7, [r1, #0] - 80088b2: b907 cbnz r7, 80088b6 - 80088b4: 1d21 adds r1, r4, #4 - 80088b6: e9cd 6405 strd r6, r4, [sp, #20] - 80088ba: 9504 str r5, [sp, #16] - 80088bc: bcf0 pop {r4, r5, r6, r7} - 80088be: f7ff bf73 b.w 80087a8 - -080088c2 : - 80088c2: 1e43 subs r3, r0, #1 - 80088c4: 3303 adds r3, #3 - 80088c6: 4602 mov r2, r0 - 80088c8: d812 bhi.n 80088f0 - 80088ca: f891 3031 ldrb.w r3, [r1, #49] ; 0x31 - 80088ce: f013 0002 ands.w r0, r3, #2 - 80088d2: d010 beq.n 80088f6 - 80088d4: 684b ldr r3, [r1, #4] - 80088d6: 4293 cmp r3, r2 - 80088d8: d00c beq.n 80088f4 - 80088da: 6888 ldr r0, [r1, #8] - 80088dc: 4053 eors r3, r2 - 80088de: 4203 tst r3, r0 - 80088e0: d108 bne.n 80088f4 - 80088e2: 43c3 mvns r3, r0 - 80088e4: ea22 0000 bic.w r0, r2, r0 - 80088e8: 1ac3 subs r3, r0, r3 - 80088ea: 4258 negs r0, r3 - 80088ec: 4158 adcs r0, r3 - 80088ee: 4770 bx lr - 80088f0: 2001 movs r0, #1 - 80088f2: 4770 bx lr - 80088f4: 2000 movs r0, #0 - 80088f6: 4770 bx lr - -080088f8 : - 80088f8: e92d 41ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, lr} - 80088fc: f8df c12c ldr.w ip, [pc, #300] ; 8008a2c - 8008900: 7802 ldrb r2, [r0, #0] - 8008902: 466e mov r6, sp - 8008904: 460d mov r5, r1 - 8008906: 2304 movs r3, #4 - 8008908: 4637 mov r7, r6 - 800890a: f812 100c ldrb.w r1, [r2, ip] - 800890e: f011 0104 ands.w r1, r1, #4 - 8008912: f000 8081 beq.w 8008a18 - 8008916: 2a30 cmp r2, #48 ; 0x30 - 8008918: d11b bne.n 8008952 - 800891a: 7842 ldrb r2, [r0, #1] - 800891c: f002 01df and.w r1, r2, #223 ; 0xdf - 8008920: 2958 cmp r1, #88 ; 0x58 - 8008922: bf0d iteet eq - 8008924: 7882 ldrbeq r2, [r0, #2] - 8008926: 3001 addne r0, #1 - 8008928: f04f 0e08 movne.w lr, #8 - 800892c: 3002 addeq r0, #2 - 800892e: bf08 it eq - 8008930: f04f 0e10 moveq.w lr, #16 - 8008934: 3001 adds r0, #1 - 8008936: 2400 movs r4, #0 - 8008938: f81c 1002 ldrb.w r1, [ip, r2] - 800893c: f011 0f04 tst.w r1, #4 - 8008940: f100 38ff add.w r8, r0, #4294967295 - 8008944: d008 beq.n 8008958 - 8008946: fb04 240e mla r4, r4, lr, r2 - 800894a: 3c30 subs r4, #48 ; 0x30 - 800894c: 7802 ldrb r2, [r0, #0] - 800894e: 3001 adds r0, #1 - 8008950: e7f2 b.n 8008938 - 8008952: f04f 0e0a mov.w lr, #10 - 8008956: e7ed b.n 8008934 - 8008958: f1be 0f10 cmp.w lr, #16 - 800895c: d10e bne.n 800897c - 800895e: f011 0f44 tst.w r1, #68 ; 0x44 - 8008962: d00b beq.n 800897c - 8008964: f001 0103 and.w r1, r1, #3 - 8008968: 2902 cmp r1, #2 - 800896a: f102 020a add.w r2, r2, #10 - 800896e: bf0c ite eq - 8008970: 2161 moveq r1, #97 ; 0x61 - 8008972: 2141 movne r1, #65 ; 0x41 - 8008974: 1a52 subs r2, r2, r1 - 8008976: ea42 1404 orr.w r4, r2, r4, lsl #4 - 800897a: e7e7 b.n 800894c - 800897c: 2a2e cmp r2, #46 ; 0x2e - 800897e: d108 bne.n 8008992 - 8008980: 3b01 subs r3, #1 - 8008982: d049 beq.n 8008a18 - 8008984: f846 4b04 str.w r4, [r6], #4 - 8008988: f898 2001 ldrb.w r2, [r8, #1] - 800898c: f108 0001 add.w r0, r8, #1 - 8008990: e7bb b.n 800890a - 8008992: b112 cbz r2, 800899a - 8008994: f011 0008 ands.w r0, r1, #8 - 8008998: d03f beq.n 8008a1a - 800899a: 1bf0 subs r0, r6, r7 - 800899c: 1080 asrs r0, r0, #2 - 800899e: 3001 adds r0, #1 - 80089a0: 2804 cmp r0, #4 - 80089a2: d832 bhi.n 8008a0a - 80089a4: e8df f000 tbb [pc, r0] - 80089a8: 12030b39 .word 0x12030b39 - 80089ac: 20 .byte 0x20 - 80089ad: 00 .byte 0x00 - 80089ae: f1b4 7f80 cmp.w r4, #16777216 ; 0x1000000 - 80089b2: d231 bcs.n 8008a18 - 80089b4: 9b00 ldr r3, [sp, #0] - 80089b6: 2bff cmp r3, #255 ; 0xff - 80089b8: d82e bhi.n 8008a18 - 80089ba: ea44 6403 orr.w r4, r4, r3, lsl #24 - 80089be: b11d cbz r5, 80089c8 - 80089c0: 4620 mov r0, r4 - 80089c2: f7f9 fcbf bl 8002344 - 80089c6: 6028 str r0, [r5, #0] - 80089c8: 2001 movs r0, #1 - 80089ca: e026 b.n 8008a1a - 80089cc: f5b4 3f80 cmp.w r4, #65536 ; 0x10000 - 80089d0: d222 bcs.n 8008a18 - 80089d2: 9a00 ldr r2, [sp, #0] - 80089d4: 2aff cmp r2, #255 ; 0xff - 80089d6: d81f bhi.n 8008a18 - 80089d8: 9b01 ldr r3, [sp, #4] - 80089da: 2bff cmp r3, #255 ; 0xff - 80089dc: d81c bhi.n 8008a18 - 80089de: 041b lsls r3, r3, #16 - 80089e0: ea43 6302 orr.w r3, r3, r2, lsl #24 - 80089e4: 431c orrs r4, r3 - 80089e6: e7ea b.n 80089be - 80089e8: 2cff cmp r4, #255 ; 0xff - 80089ea: d815 bhi.n 8008a18 - 80089ec: 9900 ldr r1, [sp, #0] - 80089ee: 29ff cmp r1, #255 ; 0xff - 80089f0: d812 bhi.n 8008a18 - 80089f2: 9b01 ldr r3, [sp, #4] - 80089f4: 2bff cmp r3, #255 ; 0xff - 80089f6: d80f bhi.n 8008a18 - 80089f8: 9a02 ldr r2, [sp, #8] - 80089fa: 2aff cmp r2, #255 ; 0xff - 80089fc: d80c bhi.n 8008a18 - 80089fe: 041b lsls r3, r3, #16 - 8008a00: ea43 6301 orr.w r3, r3, r1, lsl #24 - 8008a04: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8008a08: e7ec b.n 80089e4 - 8008a0a: 4b05 ldr r3, [pc, #20] ; (8008a20 ) - 8008a0c: 4905 ldr r1, [pc, #20] ; (8008a24 ) - 8008a0e: 4806 ldr r0, [pc, #24] ; (8008a28 ) - 8008a10: 22f9 movs r2, #249 ; 0xf9 - 8008a12: f000 fcc9 bl 80093a8 - 8008a16: e7d2 b.n 80089be - 8008a18: 2000 movs r0, #0 - 8008a1a: b004 add sp, #16 - 8008a1c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8008a20: 0800c2c1 .word 0x0800c2c1 - 8008a24: 0800c2fa .word 0x0800c2fa - 8008a28: 0800a54d .word 0x0800a54d - 8008a2c: 0800c543 .word 0x0800c543 - -08008a30 : - 8008a30: b507 push {r0, r1, r2, lr} - 8008a32: a901 add r1, sp, #4 - 8008a34: f7ff ff60 bl 80088f8 - 8008a38: b118 cbz r0, 8008a42 - 8008a3a: 9801 ldr r0, [sp, #4] - 8008a3c: b003 add sp, #12 - 8008a3e: f85d fb04 ldr.w pc, [sp], #4 - 8008a42: f04f 30ff mov.w r0, #4294967295 - 8008a46: e7f9 b.n 8008a3c - -08008a48 : - 8008a48: b538 push {r3, r4, r5, lr} - 8008a4a: 4b0c ldr r3, [pc, #48] ; (8008a7c ) - 8008a4c: 681a ldr r2, [r3, #0] - 8008a4e: 4282 cmp r2, r0 - 8008a50: 4604 mov r4, r0 - 8008a52: 460d mov r5, r1 - 8008a54: d107 bne.n 8008a66 - 8008a56: 6802 ldr r2, [r0, #0] - 8008a58: 601a str r2, [r3, #0] - 8008a5a: 4621 mov r1, r4 - 8008a5c: 2004 movs r0, #4 - 8008a5e: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 8008a62: f7f9 bf3f b.w 80028e4 - 8008a66: b931 cbnz r1, 8008a76 - 8008a68: 4b05 ldr r3, [pc, #20] ; (8008a80 ) - 8008a6a: 4906 ldr r1, [pc, #24] ; (8008a84 ) - 8008a6c: 4806 ldr r0, [pc, #24] ; (8008a88 ) - 8008a6e: f240 1245 movw r2, #325 ; 0x145 - 8008a72: f000 fc99 bl 80093a8 - 8008a76: 6823 ldr r3, [r4, #0] - 8008a78: 602b str r3, [r5, #0] - 8008a7a: e7ee b.n 8008a5a - 8008a7c: 2000843c .word 0x2000843c - 8008a80: 0800c30c .word 0x0800c30c - 8008a84: 0800c345 .word 0x0800c345 - 8008a88: 0800a54d .word 0x0800a54d - -08008a8c : - 8008a8c: 4281 cmp r1, r0 - 8008a8e: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8008a92: 4604 mov r4, r0 - 8008a94: 460e mov r6, r1 - 8008a96: d105 bne.n 8008aa4 - 8008a98: 4b2f ldr r3, [pc, #188] ; (8008b58 ) - 8008a9a: 4930 ldr r1, [pc, #192] ; (8008b5c ) - 8008a9c: 4830 ldr r0, [pc, #192] ; (8008b60 ) - 8008a9e: 22ab movs r2, #171 ; 0xab - 8008aa0: f000 fc82 bl 80093a8 - 8008aa4: b146 cbz r6, 8008ab8 - 8008aa6: 6833 ldr r3, [r6, #0] - 8008aa8: 42a3 cmp r3, r4 - 8008aaa: d005 beq.n 8008ab8 - 8008aac: 4b2a ldr r3, [pc, #168] ; (8008b58 ) - 8008aae: 492d ldr r1, [pc, #180] ; (8008b64 ) - 8008ab0: 482b ldr r0, [pc, #172] ; (8008b60 ) - 8008ab2: 22ad movs r2, #173 ; 0xad - 8008ab4: f000 fc78 bl 80093a8 - 8008ab8: 6867 ldr r7, [r4, #4] - 8008aba: 687b ldr r3, [r7, #4] - 8008abc: 889a ldrh r2, [r3, #4] - 8008abe: bb92 cbnz r2, 8008b26 - 8008ac0: 681a ldr r2, [r3, #0] - 8008ac2: 6062 str r2, [r4, #4] - 8008ac4: f104 011c add.w r1, r4, #28 - 8008ac8: f104 0208 add.w r2, r4, #8 - 8008acc: f852 0b04 ldr.w r0, [r2], #4 - 8008ad0: f843 0b04 str.w r0, [r3], #4 - 8008ad4: 428a cmp r2, r1 - 8008ad6: d1f9 bne.n 8008acc - 8008ad8: 2101 movs r1, #1 - 8008ada: 4638 mov r0, r7 - 8008adc: f7ff fd54 bl 8008588 - 8008ae0: 4638 mov r0, r7 - 8008ae2: f7fa fab3 bl 800304c - 8008ae6: 4605 mov r5, r0 - 8008ae8: 4638 mov r0, r7 - 8008aea: f7fa f973 bl 8002dd4 - 8008aee: 6867 ldr r7, [r4, #4] - 8008af0: f8df 8064 ldr.w r8, [pc, #100] ; 8008b58 - 8008af4: f8df 9078 ldr.w r9, [pc, #120] ; 8008b70 - 8008af8: f8df a064 ldr.w sl, [pc, #100] ; 8008b60 - 8008afc: b9af cbnz r7, 8008b2a - 8008afe: 4620 mov r0, r4 - 8008b00: 4c19 ldr r4, [pc, #100] ; (8008b68 ) - 8008b02: 4631 mov r1, r6 - 8008b04: f7ff ffa0 bl 8008a48 - 8008b08: 8823 ldrh r3, [r4, #0] - 8008b0a: 42ab cmp r3, r5 - 8008b0c: d205 bcs.n 8008b1a - 8008b0e: 4b12 ldr r3, [pc, #72] ; (8008b58 ) - 8008b10: 4916 ldr r1, [pc, #88] ; (8008b6c ) - 8008b12: 4813 ldr r0, [pc, #76] ; (8008b60 ) - 8008b14: 22d2 movs r2, #210 ; 0xd2 - 8008b16: f000 fc47 bl 80093a8 - 8008b1a: 8823 ldrh r3, [r4, #0] - 8008b1c: 1b5b subs r3, r3, r5 - 8008b1e: 8023 strh r3, [r4, #0] - 8008b20: 4628 mov r0, r5 - 8008b22: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8008b26: 2500 movs r5, #0 - 8008b28: e7e1 b.n 8008aee - 8008b2a: 687b ldr r3, [r7, #4] - 8008b2c: 4638 mov r0, r7 - 8008b2e: f8d3 b000 ldr.w fp, [r3] - 8008b32: f7fa fa8b bl 800304c - 8008b36: 4405 add r5, r0 - 8008b38: f5b5 3f80 cmp.w r5, #65536 ; 0x10000 - 8008b3c: db05 blt.n 8008b4a - 8008b3e: 4643 mov r3, r8 - 8008b40: 22cc movs r2, #204 ; 0xcc - 8008b42: 4649 mov r1, r9 - 8008b44: 4650 mov r0, sl - 8008b46: f000 fc2f bl 80093a8 - 8008b4a: 4638 mov r0, r7 - 8008b4c: f7fa f942 bl 8002dd4 - 8008b50: b2ad uxth r5, r5 - 8008b52: 465f mov r7, fp - 8008b54: e7d2 b.n 8008afc - 8008b56: bf00 nop - 8008b58: 0800c30c .word 0x0800c30c - 8008b5c: 0800c35e .word 0x0800c35e - 8008b60: 0800a54d .word 0x0800a54d - 8008b64: 0800c36a .word 0x0800c36a - 8008b68: 20008438 .word 0x20008438 - 8008b6c: 0800c399 .word 0x0800c399 - 8008b70: 0800c37c .word 0x0800c37c - -08008b74 : - 8008b74: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8008b78: f8df 806c ldr.w r8, [pc, #108] ; 8008be8 - 8008b7c: 4605 mov r5, r0 - 8008b7e: 460f mov r7, r1 - 8008b80: 2600 movs r6, #0 - 8008b82: 2400 movs r4, #0 - 8008b84: f8d8 3000 ldr.w r3, [r8] - 8008b88: 4621 mov r1, r4 - 8008b8a: 46a4 mov ip, r4 - 8008b8c: 4620 mov r0, r4 - 8008b8e: b953 cbnz r3, 8008ba6 - 8008b90: b110 cbz r0, 8008b98 - 8008b92: f7ff ff7b bl 8008a8c - 8008b96: 4406 add r6, r0 - 8008b98: 42be cmp r6, r7 - 8008b9a: da01 bge.n 8008ba0 - 8008b9c: 2c01 cmp r4, #1 - 8008b9e: dcf0 bgt.n 8008b82 - 8008ba0: 4630 mov r0, r6 - 8008ba2: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8008ba6: f8d5 e00c ldr.w lr, [r5, #12] - 8008baa: 695a ldr r2, [r3, #20] - 8008bac: 4572 cmp r2, lr - 8008bae: d109 bne.n 8008bc4 - 8008bb0: f8d5 e010 ldr.w lr, [r5, #16] - 8008bb4: 699a ldr r2, [r3, #24] - 8008bb6: 4572 cmp r2, lr - 8008bb8: d104 bne.n 8008bc4 - 8008bba: f8b3 e00c ldrh.w lr, [r3, #12] - 8008bbe: 88aa ldrh r2, [r5, #4] - 8008bc0: 4596 cmp lr, r2 - 8008bc2: d008 beq.n 8008bd6 - 8008bc4: 3401 adds r4, #1 - 8008bc6: b160 cbz r0, 8008be2 - 8008bc8: 7fc2 ldrb r2, [r0, #31] - 8008bca: f893 e01f ldrb.w lr, [r3, #31] - 8008bce: 4596 cmp lr, r2 - 8008bd0: bf9c itt ls - 8008bd2: 4661 movls r1, ip - 8008bd4: 4618 movls r0, r3 - 8008bd6: 681a ldr r2, [r3, #0] - 8008bd8: 2a00 cmp r2, #0 - 8008bda: bf18 it ne - 8008bdc: 469c movne ip, r3 - 8008bde: 4613 mov r3, r2 - 8008be0: e7d5 b.n 8008b8e - 8008be2: 4661 mov r1, ip - 8008be4: 4618 mov r0, r3 - 8008be6: e7f6 b.n 8008bd6 - 8008be8: 2000843c .word 0x2000843c - -08008bec : - 8008bec: b510 push {r4, lr} - 8008bee: 4604 mov r4, r0 - 8008bf0: b930 cbnz r0, 8008c00 - 8008bf2: 4b06 ldr r3, [pc, #24] ; (8008c0c ) - 8008bf4: 4906 ldr r1, [pc, #24] ; (8008c10 ) - 8008bf6: 4807 ldr r0, [pc, #28] ; (8008c14 ) - 8008bf8: f44f 7231 mov.w r2, #708 ; 0x2c4 - 8008bfc: f000 fbd4 bl 80093a8 - 8008c00: 4621 mov r1, r4 - 8008c02: 2005 movs r0, #5 - 8008c04: e8bd 4010 ldmia.w sp!, {r4, lr} - 8008c08: f7f9 be6c b.w 80028e4 - 8008c0c: 0800c30c .word 0x0800c30c - 8008c10: 0800ab15 .word 0x0800ab15 - 8008c14: 0800a54d .word 0x0800a54d - -08008c18 : - 8008c18: b510 push {r4, lr} - 8008c1a: 4604 mov r4, r0 - 8008c1c: b930 cbnz r0, 8008c2c - 8008c1e: 4b08 ldr r3, [pc, #32] ; (8008c40 ) - 8008c20: 4908 ldr r1, [pc, #32] ; (8008c44 ) - 8008c22: 4809 ldr r0, [pc, #36] ; (8008c48 ) - 8008c24: f240 22ce movw r2, #718 ; 0x2ce - 8008c28: f000 fbbe bl 80093a8 - 8008c2c: 6960 ldr r0, [r4, #20] - 8008c2e: b108 cbz r0, 8008c34 - 8008c30: f7fa f8d0 bl 8002dd4 - 8008c34: 4620 mov r0, r4 - 8008c36: e8bd 4010 ldmia.w sp!, {r4, lr} - 8008c3a: f7ff bfd7 b.w 8008bec - 8008c3e: bf00 nop - 8008c40: 0800c30c .word 0x0800c30c - 8008c44: 0800c3bb .word 0x0800c3bb - 8008c48: 0800a54d .word 0x0800a54d - -08008c4c : - 8008c4c: b538 push {r3, r4, r5, lr} - 8008c4e: 4b09 ldr r3, [pc, #36] ; (8008c74 ) - 8008c50: 6818 ldr r0, [r3, #0] - 8008c52: 2400 movs r4, #0 - 8008c54: b900 cbnz r0, 8008c58 - 8008c56: bd38 pop {r3, r4, r5, pc} - 8008c58: 7fc3 ldrb r3, [r0, #31] - 8008c5a: 6805 ldr r5, [r0, #0] - 8008c5c: b123 cbz r3, 8008c68 - 8008c5e: 3b01 subs r3, #1 - 8008c60: 77c3 strb r3, [r0, #31] - 8008c62: 4604 mov r4, r0 - 8008c64: 4628 mov r0, r5 - 8008c66: e7f5 b.n 8008c54 - 8008c68: 4621 mov r1, r4 - 8008c6a: f7ff ff0f bl 8008a8c - 8008c6e: 4620 mov r0, r4 - 8008c70: e7f7 b.n 8008c62 - 8008c72: bf00 nop - 8008c74: 2000843c .word 0x2000843c - -08008c78 : - 8008c78: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8008c7c: 6845 ldr r5, [r0, #4] - 8008c7e: 782b ldrb r3, [r5, #0] - 8008c80: f003 030f and.w r3, r3, #15 - 8008c84: 2b05 cmp r3, #5 - 8008c86: 4680 mov r8, r0 - 8008c88: f040 80a1 bne.w 8008dce - 8008c8c: 88e8 ldrh r0, [r5, #6] - 8008c8e: f7f9 fb56 bl 800233e - 8008c92: 4607 mov r7, r0 - 8008c94: 8868 ldrh r0, [r5, #2] - 8008c96: f7f9 fb52 bl 800233e - 8008c9a: 782a ldrb r2, [r5, #0] - 8008c9c: f002 020f and.w r2, r2, #15 - 8008ca0: ebb0 0f82 cmp.w r0, r2, lsl #2 - 8008ca4: ea4f 0382 mov.w r3, r2, lsl #2 - 8008ca8: f0c0 8091 bcc.w 8008dce - 8008cac: 1ac3 subs r3, r0, r3 - 8008cae: b29b uxth r3, r3 - 8008cb0: 4cb5 ldr r4, [pc, #724] ; (8008f88 ) - 8008cb2: 9301 str r3, [sp, #4] - 8008cb4: 4640 mov r0, r8 - 8008cb6: f7fa f9c9 bl 800304c - 8008cba: 8823 ldrh r3, [r4, #0] - 8008cbc: 4403 add r3, r0 - 8008cbe: 2b0a cmp r3, #10 - 8008cc0: 4681 mov r9, r0 - 8008cc2: dc7a bgt.n 8008dba - 8008cc4: 4eb1 ldr r6, [pc, #708] ; (8008f8c ) - 8008cc6: 6834 ldr r4, [r6, #0] - 8008cc8: 2c00 cmp r4, #0 - 8008cca: f040 8085 bne.w 8008dd8 - 8008cce: 2004 movs r0, #4 - 8008cd0: f7f9 fdd8 bl 8002884 - 8008cd4: 4604 mov r4, r0 - 8008cd6: b958 cbnz r0, 8008cf0 - 8008cd8: 4649 mov r1, r9 - 8008cda: 4628 mov r0, r5 - 8008cdc: f7ff ff4a bl 8008b74 - 8008ce0: 4581 cmp r9, r0 - 8008ce2: dc74 bgt.n 8008dce - 8008ce4: 2004 movs r0, #4 - 8008ce6: f7f9 fdcd bl 8002884 - 8008cea: 4604 mov r4, r0 - 8008cec: 2800 cmp r0, #0 - 8008cee: d06e beq.n 8008dce - 8008cf0: 221c movs r2, #28 - 8008cf2: 2100 movs r1, #0 - 8008cf4: 1d20 adds r0, r4, #4 - 8008cf6: f000 fb4f bl 8009398 - 8008cfa: 230f movs r3, #15 - 8008cfc: 77e3 strb r3, [r4, #31] - 8008cfe: 6833 ldr r3, [r6, #0] - 8008d00: 6023 str r3, [r4, #0] - 8008d02: 6034 str r4, [r6, #0] - 8008d04: 462b mov r3, r5 - 8008d06: f104 0208 add.w r2, r4, #8 - 8008d0a: f105 0114 add.w r1, r5, #20 - 8008d0e: f853 0b04 ldr.w r0, [r3], #4 - 8008d12: f842 0b04 str.w r0, [r2], #4 - 8008d16: 428b cmp r3, r1 - 8008d18: d1f9 bne.n 8008d0e - 8008d1a: f8b5 b006 ldrh.w fp, [r5, #6] - 8008d1e: f3c7 070c ubfx r7, r7, #0, #13 - 8008d22: f01b 0b20 ands.w fp, fp, #32 - 8008d26: ea4f 07c7 mov.w r7, r7, lsl #3 - 8008d2a: d10a bne.n 8008d42 - 8008d2c: 9b01 ldr r3, [sp, #4] - 8008d2e: 18fb adds r3, r7, r3 - 8008d30: b29b uxth r3, r3 - 8008d32: 429f cmp r7, r3 - 8008d34: f200 813a bhi.w 8008fac - 8008d38: f64f 72eb movw r2, #65515 ; 0xffeb - 8008d3c: 4293 cmp r3, r2 - 8008d3e: f200 8135 bhi.w 8008fac - 8008d42: f8d8 5004 ldr.w r5, [r8, #4] - 8008d46: 8868 ldrh r0, [r5, #2] - 8008d48: f7f9 faf9 bl 800233e - 8008d4c: 782b ldrb r3, [r5, #0] - 8008d4e: f003 030f and.w r3, r3, #15 - 8008d52: ebb0 0f83 cmp.w r0, r3, lsl #2 - 8008d56: ea4f 0283 mov.w r2, r3, lsl #2 - 8008d5a: f0c0 8127 bcc.w 8008fac - 8008d5e: 1a80 subs r0, r0, r2 - 8008d60: fa1f fa80 uxth.w sl, r0 - 8008d64: 88e8 ldrh r0, [r5, #6] - 8008d66: f7f9 faea bl 800233e - 8008d6a: f3c0 000c ubfx r0, r0, #0, #13 - 8008d6e: 00c0 lsls r0, r0, #3 - 8008d70: eb0a 0300 add.w r3, sl, r0 - 8008d74: f8d8 6004 ldr.w r6, [r8, #4] - 8008d78: fa1f fc83 uxth.w ip, r3 - 8008d7c: 2500 movs r5, #0 - 8008d7e: 4560 cmp r0, ip - 8008d80: 7035 strb r5, [r6, #0] - 8008d82: 7075 strb r5, [r6, #1] - 8008d84: 70b5 strb r5, [r6, #2] - 8008d86: 70f5 strb r5, [r6, #3] - 8008d88: 80b0 strh r0, [r6, #4] - 8008d8a: 80f3 strh r3, [r6, #6] - 8008d8c: f200 810e bhi.w 8008fac - 8008d90: f8d4 e004 ldr.w lr, [r4, #4] - 8008d94: f04f 0a01 mov.w sl, #1 - 8008d98: 4671 mov r1, lr - 8008d9a: bb61 cbnz r1, 8008df6 - 8008d9c: 2d00 cmp r5, #0 - 8008d9e: f040 80aa bne.w 8008ef6 - 8008da2: f1be 0f00 cmp.w lr, #0 - 8008da6: f000 8096 beq.w 8008ed6 - 8008daa: 4b79 ldr r3, [pc, #484] ; (8008f90 ) - 8008dac: 4979 ldr r1, [pc, #484] ; (8008f94 ) - 8008dae: 487a ldr r0, [pc, #488] ; (8008f98 ) - 8008db0: f44f 72df mov.w r2, #446 ; 0x1be - 8008db4: f000 faf8 bl 80093a8 - 8008db8: e08d b.n 8008ed6 - 8008dba: 4601 mov r1, r0 - 8008dbc: 4628 mov r0, r5 - 8008dbe: f7ff fed9 bl 8008b74 - 8008dc2: b120 cbz r0, 8008dce - 8008dc4: 8823 ldrh r3, [r4, #0] - 8008dc6: 444b add r3, r9 - 8008dc8: 2b0a cmp r3, #10 - 8008dca: f77f af7b ble.w 8008cc4 - 8008dce: 4640 mov r0, r8 - 8008dd0: f7fa f800 bl 8002dd4 - 8008dd4: 2700 movs r7, #0 - 8008dd6: e078 b.n 8008eca - 8008dd8: 68eb ldr r3, [r5, #12] - 8008dda: 6962 ldr r2, [r4, #20] - 8008ddc: 429a cmp r2, r3 - 8008dde: d108 bne.n 8008df2 - 8008de0: 692b ldr r3, [r5, #16] - 8008de2: 69a2 ldr r2, [r4, #24] - 8008de4: 429a cmp r2, r3 - 8008de6: d104 bne.n 8008df2 - 8008de8: 89a2 ldrh r2, [r4, #12] - 8008dea: 88ab ldrh r3, [r5, #4] - 8008dec: 429a cmp r2, r3 - 8008dee: f000 80f1 beq.w 8008fd4 - 8008df2: 6824 ldr r4, [r4, #0] - 8008df4: e768 b.n 8008cc8 - 8008df6: 684b ldr r3, [r1, #4] - 8008df8: 889a ldrh r2, [r3, #4] - 8008dfa: 4290 cmp r0, r2 - 8008dfc: d26e bcs.n 8008edc - 8008dfe: 6031 str r1, [r6, #0] - 8008e00: 2d00 cmp r5, #0 - 8008e02: d066 beq.n 8008ed2 - 8008e04: 88eb ldrh r3, [r5, #6] - 8008e06: 4298 cmp r0, r3 - 8008e08: f0c0 80d0 bcc.w 8008fac - 8008e0c: 4594 cmp ip, r2 - 8008e0e: f200 80cd bhi.w 8008fac - 8008e12: f8c5 8000 str.w r8, [r5] - 8008e16: 4298 cmp r0, r3 - 8008e18: f040 80f8 bne.w 800900c - 8008e1c: f1bb 0f00 cmp.w fp, #0 - 8008e20: d004 beq.n 8008e2c - 8008e22: 7fa3 ldrb r3, [r4, #30] - 8008e24: f013 0301 ands.w r3, r3, #1 - 8008e28: f000 809c beq.w 8008f64 - 8008e2c: f1ba 0f00 cmp.w sl, #0 - 8008e30: d171 bne.n 8008f16 - 8008e32: f04f 0a00 mov.w sl, #0 - 8008e36: 4e54 ldr r6, [pc, #336] ; (8008f88 ) - 8008e38: 8830 ldrh r0, [r6, #0] - 8008e3a: 4481 add r9, r0 - 8008e3c: f8a6 9000 strh.w r9, [r6] - 8008e40: f1bb 0f00 cmp.w fp, #0 - 8008e44: d106 bne.n 8008e54 - 8008e46: 9b01 ldr r3, [sp, #4] - 8008e48: 441f add r7, r3 - 8008e4a: 7fa3 ldrb r3, [r4, #30] - 8008e4c: 83a7 strh r7, [r4, #28] - 8008e4e: f043 0301 orr.w r3, r3, #1 - 8008e52: 77a3 strb r3, [r4, #30] - 8008e54: f1ba 0f01 cmp.w sl, #1 - 8008e58: d1bc bne.n 8008dd4 - 8008e5a: 6863 ldr r3, [r4, #4] - 8008e5c: 8ba0 ldrh r0, [r4, #28] - 8008e5e: 685f ldr r7, [r3, #4] - 8008e60: 3014 adds r0, #20 - 8008e62: 683d ldr r5, [r7, #0] - 8008e64: b280 uxth r0, r0 - 8008e66: f104 0308 add.w r3, r4, #8 - 8008e6a: 463a mov r2, r7 - 8008e6c: f104 011c add.w r1, r4, #28 - 8008e70: f853 cb04 ldr.w ip, [r3], #4 - 8008e74: f842 cb04 str.w ip, [r2], #4 - 8008e78: 428b cmp r3, r1 - 8008e7a: d1f9 bne.n 8008e70 - 8008e7c: f7f9 fa5f bl 800233e - 8008e80: 2300 movs r3, #0 - 8008e82: 8078 strh r0, [r7, #2] - 8008e84: 71bb strb r3, [r7, #6] - 8008e86: 71fb strb r3, [r7, #7] - 8008e88: 72bb strb r3, [r7, #10] - 8008e8a: 72fb strb r3, [r7, #11] - 8008e8c: 6867 ldr r7, [r4, #4] - 8008e8e: 2d00 cmp r5, #0 - 8008e90: d16a bne.n 8008f68 - 8008e92: 4b3e ldr r3, [pc, #248] ; (8008f8c ) - 8008e94: 681b ldr r3, [r3, #0] - 8008e96: 42a3 cmp r3, r4 - 8008e98: d002 beq.n 8008ea0 - 8008e9a: 461d mov r5, r3 - 8008e9c: 2b00 cmp r3, #0 - 8008e9e: d170 bne.n 8008f82 - 8008ea0: 4620 mov r0, r4 - 8008ea2: 4629 mov r1, r5 - 8008ea4: f7ff fdd0 bl 8008a48 - 8008ea8: 4638 mov r0, r7 - 8008eaa: f7fa f8cf bl 800304c - 8008eae: 8833 ldrh r3, [r6, #0] - 8008eb0: 4283 cmp r3, r0 - 8008eb2: 4604 mov r4, r0 - 8008eb4: d206 bcs.n 8008ec4 - 8008eb6: 4b36 ldr r3, [pc, #216] ; (8008f90 ) - 8008eb8: 4938 ldr r1, [pc, #224] ; (8008f9c ) - 8008eba: 4837 ldr r0, [pc, #220] ; (8008f98 ) - 8008ebc: f240 229b movw r2, #667 ; 0x29b - 8008ec0: f000 fa72 bl 80093a8 - 8008ec4: 8830 ldrh r0, [r6, #0] - 8008ec6: 1b04 subs r4, r0, r4 - 8008ec8: 8034 strh r4, [r6, #0] - 8008eca: 4638 mov r0, r7 - 8008ecc: b003 add sp, #12 - 8008ece: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8008ed2: 4594 cmp ip, r2 - 8008ed4: d86a bhi.n 8008fac - 8008ed6: f8c4 8004 str.w r8, [r4, #4] - 8008eda: e79f b.n 8008e1c - 8008edc: d066 beq.n 8008fac - 8008ede: 88d9 ldrh r1, [r3, #6] - 8008ee0: 4281 cmp r1, r0 - 8008ee2: d863 bhi.n 8008fac - 8008ee4: b125 cbz r5, 8008ef0 - 8008ee6: 88e9 ldrh r1, [r5, #6] - 8008ee8: 4291 cmp r1, r2 - 8008eea: bf18 it ne - 8008eec: f04f 0a00 movne.w sl, #0 - 8008ef0: 6819 ldr r1, [r3, #0] - 8008ef2: 461d mov r5, r3 - 8008ef4: e751 b.n 8008d9a - 8008ef6: 88eb ldrh r3, [r5, #6] - 8008ef8: 4283 cmp r3, r0 - 8008efa: d906 bls.n 8008f0a - 8008efc: 4b24 ldr r3, [pc, #144] ; (8008f90 ) - 8008efe: 4928 ldr r1, [pc, #160] ; (8008fa0 ) - 8008f00: 4825 ldr r0, [pc, #148] ; (8008f98 ) - 8008f02: f44f 72db mov.w r2, #438 ; 0x1b6 - 8008f06: f000 fa4f bl 80093a8 - 8008f0a: f8c5 8000 str.w r8, [r5] - 8008f0e: 88ea ldrh r2, [r5, #6] - 8008f10: 88b3 ldrh r3, [r6, #4] - 8008f12: 429a cmp r2, r3 - 8008f14: e780 b.n 8008e18 - 8008f16: 6863 ldr r3, [r4, #4] - 8008f18: 2b00 cmp r3, #0 - 8008f1a: d08a beq.n 8008e32 - 8008f1c: 6859 ldr r1, [r3, #4] - 8008f1e: 888b ldrh r3, [r1, #4] - 8008f20: 2b00 cmp r3, #0 - 8008f22: d186 bne.n 8008e32 - 8008f24: 6833 ldr r3, [r6, #0] - 8008f26: b9a3 cbnz r3, 8008f52 - 8008f28: 42b1 cmp r1, r6 - 8008f2a: d106 bne.n 8008f3a - 8008f2c: 4b18 ldr r3, [pc, #96] ; (8008f90 ) - 8008f2e: 491d ldr r1, [pc, #116] ; (8008fa4 ) - 8008f30: 4819 ldr r0, [pc, #100] ; (8008f98 ) - 8008f32: f44f 72f0 mov.w r2, #480 ; 0x1e0 - 8008f36: f000 fa37 bl 80093a8 - 8008f3a: 6833 ldr r3, [r6, #0] - 8008f3c: 2b00 cmp r3, #0 - 8008f3e: f43f af7a beq.w 8008e36 - 8008f42: 4b13 ldr r3, [pc, #76] ; (8008f90 ) - 8008f44: 4918 ldr r1, [pc, #96] ; (8008fa8 ) - 8008f46: 4814 ldr r0, [pc, #80] ; (8008f98 ) - 8008f48: f44f 72f1 mov.w r2, #482 ; 0x1e2 - 8008f4c: f000 fa2c bl 80093a8 - 8008f50: e771 b.n 8008e36 - 8008f52: 685a ldr r2, [r3, #4] - 8008f54: 88f0 ldrh r0, [r6, #6] - 8008f56: 8893 ldrh r3, [r2, #4] - 8008f58: 4298 cmp r0, r3 - 8008f5a: f47f af6a bne.w 8008e32 - 8008f5e: 6813 ldr r3, [r2, #0] - 8008f60: 4616 mov r6, r2 - 8008f62: e7e0 b.n 8008f26 - 8008f64: 469a mov sl, r3 - 8008f66: e766 b.n 8008e36 - 8008f68: f8d5 8004 ldr.w r8, [r5, #4] - 8008f6c: 2114 movs r1, #20 - 8008f6e: 4628 mov r0, r5 - 8008f70: f7f9 fefc bl 8002d6c - 8008f74: 4629 mov r1, r5 - 8008f76: 4638 mov r0, r7 - 8008f78: f7fa f884 bl 8003084 - 8008f7c: f8d8 5000 ldr.w r5, [r8] - 8008f80: e785 b.n 8008e8e - 8008f82: 682b ldr r3, [r5, #0] - 8008f84: e787 b.n 8008e96 - 8008f86: bf00 nop - 8008f88: 20008438 .word 0x20008438 - 8008f8c: 2000843c .word 0x2000843c - 8008f90: 0800c30c .word 0x0800c30c - 8008f94: 0800c3e5 .word 0x0800c3e5 - 8008f98: 0800a54d .word 0x0800a54d - 8008f9c: 0800c44b .word 0x0800c44b - 8008fa0: 0800c3c7 .word 0x0800c3c7 - 8008fa4: 0800c41c .word 0x0800c41c - 8008fa8: 0800c429 .word 0x0800c429 - 8008fac: 6863 ldr r3, [r4, #4] - 8008fae: 2b00 cmp r3, #0 - 8008fb0: f47f af0d bne.w 8008dce - 8008fb4: 4b19 ldr r3, [pc, #100] ; (800901c ) - 8008fb6: 681b ldr r3, [r3, #0] - 8008fb8: 42a3 cmp r3, r4 - 8008fba: d006 beq.n 8008fca - 8008fbc: 4b18 ldr r3, [pc, #96] ; (8009020 ) - 8008fbe: 4919 ldr r1, [pc, #100] ; (8009024 ) - 8008fc0: 4819 ldr r0, [pc, #100] ; (8009028 ) - 8008fc2: f240 22ab movw r2, #683 ; 0x2ab - 8008fc6: f000 f9ef bl 80093a8 - 8008fca: 2100 movs r1, #0 - 8008fcc: 4620 mov r0, r4 - 8008fce: f7ff fd3b bl 8008a48 - 8008fd2: e6fc b.n 8008dce - 8008fd4: 88e8 ldrh r0, [r5, #6] - 8008fd6: f7f9 f9b2 bl 800233e - 8008fda: f3c0 000c ubfx r0, r0, #0, #13 - 8008fde: 2800 cmp r0, #0 - 8008fe0: f47f ae9b bne.w 8008d1a - 8008fe4: 89e0 ldrh r0, [r4, #14] - 8008fe6: f7f9 f9aa bl 800233e - 8008fea: f3c0 000c ubfx r0, r0, #0, #13 - 8008fee: 2800 cmp r0, #0 - 8008ff0: f43f ae93 beq.w 8008d1a - 8008ff4: 462b mov r3, r5 - 8008ff6: f104 0208 add.w r2, r4, #8 - 8008ffa: f105 0114 add.w r1, r5, #20 - 8008ffe: f853 0b04 ldr.w r0, [r3], #4 - 8009002: f842 0b04 str.w r0, [r2], #4 - 8009006: 428b cmp r3, r1 - 8009008: d1f9 bne.n 8008ffe - 800900a: e686 b.n 8008d1a - 800900c: f1bb 0f00 cmp.w fp, #0 - 8009010: f43f af0f beq.w 8008e32 - 8009014: f04f 0a00 mov.w sl, #0 - 8009018: e703 b.n 8008e22 - 800901a: bf00 nop - 800901c: 2000843c .word 0x2000843c - 8009020: 0800c30c .word 0x0800c30c - 8009024: 0800c466 .word 0x0800c466 - 8009028: 0800a54d .word 0x0800a54d - -0800902c : - 800902c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8009030: 8d0b ldrh r3, [r1, #40] ; 0x28 - 8009032: ed2d 8b02 vpush {d8} - 8009036: ee08 2a10 vmov s16, r2 - 800903a: f1b3 0214 subs.w r2, r3, #20 - 800903e: b08b sub sp, #44 ; 0x2c - 8009040: bf48 it mi - 8009042: f1a3 020d submi.w r2, r3, #13 - 8009046: f3c2 03cf ubfx r3, r2, #3, #16 - 800904a: 9305 str r3, [sp, #20] - 800904c: 6843 ldr r3, [r0, #4] - 800904e: 9302 str r3, [sp, #8] - 8009050: 781b ldrb r3, [r3, #0] - 8009052: f003 030f and.w r3, r3, #15 - 8009056: 2b05 cmp r3, #5 - 8009058: 4605 mov r5, r0 - 800905a: 468a mov sl, r1 - 800905c: ea4f 0783 mov.w r7, r3, lsl #2 - 8009060: d109 bne.n 8009076 - 8009062: 8943 ldrh r3, [r0, #10] - 8009064: 2b13 cmp r3, #19 - 8009066: d809 bhi.n 800907c - 8009068: 4b60 ldr r3, [pc, #384] ; (80091ec ) - 800906a: 4961 ldr r1, [pc, #388] ; (80091f0 ) - 800906c: 4861 ldr r0, [pc, #388] ; (80091f4 ) - 800906e: f44f 723f mov.w r2, #764 ; 0x2fc - 8009072: f000 f999 bl 80093a8 - 8009076: f06f 0005 mvn.w r0, #5 - 800907a: e013 b.n 80090a4 - 800907c: 9b02 ldr r3, [sp, #8] - 800907e: 88d8 ldrh r0, [r3, #6] - 8009080: f7f9 f95d bl 800233e - 8009084: f3c0 030c ubfx r3, r0, #0, #13 - 8009088: 9303 str r3, [sp, #12] - 800908a: f400 5300 and.w r3, r0, #8192 ; 0x2000 - 800908e: 9307 str r3, [sp, #28] - 8009090: 9b05 ldr r3, [sp, #20] - 8009092: 892c ldrh r4, [r5, #8] - 8009094: 00db lsls r3, r3, #3 - 8009096: 3c14 subs r4, #20 - 8009098: b29b uxth r3, r3 - 800909a: b2a4 uxth r4, r4 - 800909c: 9306 str r3, [sp, #24] - 800909e: 2600 movs r6, #0 - 80090a0: b92c cbnz r4, 80090ae - 80090a2: 4620 mov r0, r4 - 80090a4: b00b add sp, #44 ; 0x2c - 80090a6: ecbd 8b02 vpop {d8} - 80090aa: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80090ae: 9b06 ldr r3, [sp, #24] - 80090b0: 42a3 cmp r3, r4 - 80090b2: bf28 it cs - 80090b4: 4623 movcs r3, r4 - 80090b6: f44f 7220 mov.w r2, #640 ; 0x280 - 80090ba: 2114 movs r1, #20 - 80090bc: 200e movs r0, #14 - 80090be: 9304 str r3, [sp, #16] - 80090c0: f7f9 feec bl 8002e9c - 80090c4: 4680 mov r8, r0 - 80090c6: 2800 cmp r0, #0 - 80090c8: d036 beq.n 8009138 - 80090ca: 8943 ldrh r3, [r0, #10] - 80090cc: 2b13 cmp r3, #19 - 80090ce: d806 bhi.n 80090de - 80090d0: 4b46 ldr r3, [pc, #280] ; (80091ec ) - 80090d2: 4949 ldr r1, [pc, #292] ; (80091f8 ) - 80090d4: 4847 ldr r0, [pc, #284] ; (80091f4 ) - 80090d6: f44f 7249 mov.w r2, #804 ; 0x324 - 80090da: f000 f965 bl 80093a8 - 80090de: 9b02 ldr r3, [sp, #8] - 80090e0: f8d8 2004 ldr.w r2, [r8, #4] - 80090e4: 4619 mov r1, r3 - 80090e6: 3114 adds r1, #20 - 80090e8: f853 0b04 ldr.w r0, [r3], #4 - 80090ec: f842 0b04 str.w r0, [r2], #4 - 80090f0: 428b cmp r3, r1 - 80090f2: d1f9 bne.n 80090e8 - 80090f4: f8d8 b004 ldr.w fp, [r8, #4] - 80090f8: f8dd 9010 ldr.w r9, [sp, #16] - 80090fc: f1b9 0f00 cmp.w r9, #0 - 8009100: d041 beq.n 8009186 - 8009102: 896b ldrh r3, [r5, #10] - 8009104: 1bde subs r6, r3, r7 - 8009106: 42bb cmp r3, r7 - 8009108: b2b6 uxth r6, r6 - 800910a: d206 bcs.n 800911a - 800910c: 4b37 ldr r3, [pc, #220] ; (80091ec ) - 800910e: 493b ldr r1, [pc, #236] ; (80091fc ) - 8009110: 4838 ldr r0, [pc, #224] ; (80091f4 ) - 8009112: f240 322d movw r2, #813 ; 0x32d - 8009116: f000 f947 bl 80093a8 - 800911a: 454e cmp r6, r9 - 800911c: bf28 it cs - 800911e: 464e movcs r6, r9 - 8009120: b916 cbnz r6, 8009128 - 8009122: 682d ldr r5, [r5, #0] - 8009124: 2700 movs r7, #0 - 8009126: e7e9 b.n 80090fc - 8009128: 2005 movs r0, #5 - 800912a: f7f9 fbab bl 8002884 - 800912e: 4603 mov r3, r0 - 8009130: b928 cbnz r0, 800913e - 8009132: 4640 mov r0, r8 - 8009134: f7f9 fe4e bl 8002dd4 - 8009138: f04f 30ff mov.w r0, #4294967295 - 800913c: e7b2 b.n 80090a4 - 800913e: 9601 str r6, [sp, #4] - 8009140: 686a ldr r2, [r5, #4] - 8009142: 9008 str r0, [sp, #32] - 8009144: 443a add r2, r7 - 8009146: 9200 str r2, [sp, #0] - 8009148: 4631 mov r1, r6 - 800914a: 2241 movs r2, #65 ; 0x41 - 800914c: 2000 movs r0, #0 - 800914e: f7f9 fdef bl 8002d30 - 8009152: 9b08 ldr r3, [sp, #32] - 8009154: b918 cbnz r0, 800915e - 8009156: 4618 mov r0, r3 - 8009158: f7ff fd48 bl 8008bec - 800915c: e7e9 b.n 8009132 - 800915e: e9cd 0308 strd r0, r3, [sp, #32] - 8009162: 4628 mov r0, r5 - 8009164: f7f9 ff7a bl 800305c - 8009168: 9b09 ldr r3, [sp, #36] ; 0x24 - 800916a: 4a25 ldr r2, [pc, #148] ; (8009200 ) - 800916c: 9908 ldr r1, [sp, #32] - 800916e: 615d str r5, [r3, #20] - 8009170: eba9 0906 sub.w r9, r9, r6 - 8009174: 611a str r2, [r3, #16] - 8009176: 4640 mov r0, r8 - 8009178: fa1f f989 uxth.w r9, r9 - 800917c: f7f9 ff82 bl 8003084 - 8009180: f1b9 0f00 cmp.w r9, #0 - 8009184: d1cd bne.n 8009122 - 8009186: 9b03 ldr r3, [sp, #12] - 8009188: f3c3 000c ubfx r0, r3, #0, #13 - 800918c: f8ba 3028 ldrh.w r3, [sl, #40] ; 0x28 - 8009190: 3b13 subs r3, #19 - 8009192: 4437 add r7, r6 - 8009194: 42a3 cmp r3, r4 - 8009196: b2bf uxth r7, r7 - 8009198: dd01 ble.n 800919e - 800919a: 9b07 ldr r3, [sp, #28] - 800919c: b10b cbz r3, 80091a2 - 800919e: f440 5000 orr.w r0, r0, #8192 ; 0x2000 - 80091a2: f7f9 f8cc bl 800233e - 80091a6: 9b04 ldr r3, [sp, #16] - 80091a8: f8ab 0006 strh.w r0, [fp, #6] - 80091ac: f103 0014 add.w r0, r3, #20 - 80091b0: b280 uxth r0, r0 - 80091b2: f7f9 f8c4 bl 800233e - 80091b6: 2300 movs r3, #0 - 80091b8: ee18 2a10 vmov r2, s16 - 80091bc: f8ab 0002 strh.w r0, [fp, #2] - 80091c0: f88b 300a strb.w r3, [fp, #10] - 80091c4: f88b 300b strb.w r3, [fp, #11] - 80091c8: 4641 mov r1, r8 - 80091ca: f8da 3014 ldr.w r3, [sl, #20] - 80091ce: 4650 mov r0, sl - 80091d0: 4798 blx r3 - 80091d2: 4640 mov r0, r8 - 80091d4: f7f9 fdfe bl 8002dd4 - 80091d8: 9b04 ldr r3, [sp, #16] - 80091da: 9a05 ldr r2, [sp, #20] - 80091dc: 1ae4 subs r4, r4, r3 - 80091de: 9b03 ldr r3, [sp, #12] - 80091e0: 4413 add r3, r2 - 80091e2: b29b uxth r3, r3 - 80091e4: b2a4 uxth r4, r4 - 80091e6: 9303 str r3, [sp, #12] - 80091e8: e75a b.n 80090a0 - 80091ea: bf00 nop - 80091ec: 0800c30c .word 0x0800c30c - 80091f0: 0800c486 .word 0x0800c486 - 80091f4: 0800a54d .word 0x0800a54d - 80091f8: 0800c4a1 .word 0x0800c4a1 - 80091fc: 0800c4c1 .word 0x0800c4c1 - 8009200: 08008c19 .word 0x08008c19 - -08009204 : - 8009204: 8943 ldrh r3, [r0, #10] - 8009206: 2b0e cmp r3, #14 - 8009208: b570 push {r4, r5, r6, lr} - 800920a: 4604 mov r4, r0 - 800920c: 460d mov r5, r1 - 800920e: d91a bls.n 8009246 - 8009210: 7bc3 ldrb r3, [r0, #15] - 8009212: b91b cbnz r3, 800921c - 8009214: f891 3034 ldrb.w r3, [r1, #52] ; 0x34 - 8009218: 3301 adds r3, #1 - 800921a: 73c3 strb r3, [r0, #15] - 800921c: 6860 ldr r0, [r4, #4] - 800921e: 7803 ldrb r3, [r0, #0] - 8009220: 8986 ldrh r6, [r0, #12] - 8009222: 07d9 lsls r1, r3, #31 - 8009224: d50a bpl.n 800923c - 8009226: 2b01 cmp r3, #1 - 8009228: d111 bne.n 800924e - 800922a: 7843 ldrb r3, [r0, #1] - 800922c: b933 cbnz r3, 800923c - 800922e: 7883 ldrb r3, [r0, #2] - 8009230: 2b5e cmp r3, #94 ; 0x5e - 8009232: d103 bne.n 800923c - 8009234: 7b63 ldrb r3, [r4, #13] - 8009236: f043 0310 orr.w r3, r3, #16 - 800923a: 7363 strb r3, [r4, #13] - 800923c: 2e08 cmp r6, #8 - 800923e: d010 beq.n 8009262 - 8009240: f5b6 6fc1 cmp.w r6, #1544 ; 0x608 - 8009244: d01d beq.n 8009282 - 8009246: 4620 mov r0, r4 - 8009248: f7f9 fdc4 bl 8002dd4 - 800924c: e017 b.n 800927e - 800924e: 4914 ldr r1, [pc, #80] ; (80092a0 ) - 8009250: 2206 movs r2, #6 - 8009252: f000 f883 bl 800935c - 8009256: 2800 cmp r0, #0 - 8009258: d1f0 bne.n 800923c - 800925a: 7b63 ldrb r3, [r4, #13] - 800925c: f043 0308 orr.w r3, r3, #8 - 8009260: e7eb b.n 800923a - 8009262: f895 3031 ldrb.w r3, [r5, #49] ; 0x31 - 8009266: 071a lsls r2, r3, #28 - 8009268: d5ed bpl.n 8009246 - 800926a: 210e movs r1, #14 - 800926c: 4620 mov r0, r4 - 800926e: f7f9 fd7d bl 8002d6c - 8009272: 2800 cmp r0, #0 - 8009274: d1e7 bne.n 8009246 - 8009276: 4629 mov r1, r5 - 8009278: 4620 mov r0, r4 - 800927a: f7ff f9d1 bl 8008620 - 800927e: 2000 movs r0, #0 - 8009280: bd70 pop {r4, r5, r6, pc} - 8009282: f895 3031 ldrb.w r3, [r5, #49] ; 0x31 - 8009286: 071b lsls r3, r3, #28 - 8009288: d5dd bpl.n 8009246 - 800928a: 210e movs r1, #14 - 800928c: 4620 mov r0, r4 - 800928e: f7f9 fd6d bl 8002d6c - 8009292: 2800 cmp r0, #0 - 8009294: d1d7 bne.n 8009246 - 8009296: 4629 mov r1, r5 - 8009298: 4620 mov r0, r4 - 800929a: f7fe fe13 bl 8007ec4 - 800929e: e7ee b.n 800927e - 80092a0: 0800c536 .word 0x0800c536 - -080092a4 : - 80092a4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80092a8: 4604 mov r4, r0 - 80092aa: f8bd 0018 ldrh.w r0, [sp, #24] - 80092ae: 460d mov r5, r1 - 80092b0: 4616 mov r6, r2 - 80092b2: 461f mov r7, r3 - 80092b4: f7f9 f843 bl 800233e - 80092b8: 210e movs r1, #14 - 80092ba: 4680 mov r8, r0 - 80092bc: 4628 mov r0, r5 - 80092be: f7f9 fd51 bl 8002d64 - 80092c2: b9e0 cbnz r0, 80092fe - 80092c4: 6869 ldr r1, [r5, #4] - 80092c6: f8a1 800c strh.w r8, [r1, #12] - 80092ca: 683b ldr r3, [r7, #0] - 80092cc: 600b str r3, [r1, #0] - 80092ce: 88bb ldrh r3, [r7, #4] - 80092d0: 808b strh r3, [r1, #4] - 80092d2: 6833 ldr r3, [r6, #0] - 80092d4: f8c1 3006 str.w r3, [r1, #6] - 80092d8: 88b3 ldrh r3, [r6, #4] - 80092da: 814b strh r3, [r1, #10] - 80092dc: f894 3030 ldrb.w r3, [r4, #48] ; 0x30 - 80092e0: 2b06 cmp r3, #6 - 80092e2: d006 beq.n 80092f2 - 80092e4: 4b08 ldr r3, [pc, #32] ; (8009308 ) - 80092e6: 4909 ldr r1, [pc, #36] ; (800930c ) - 80092e8: 4809 ldr r0, [pc, #36] ; (8009310 ) - 80092ea: f44f 7299 mov.w r2, #306 ; 0x132 - 80092ee: f000 f85b bl 80093a8 - 80092f2: 69a3 ldr r3, [r4, #24] - 80092f4: 4629 mov r1, r5 - 80092f6: 4620 mov r0, r4 - 80092f8: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 80092fc: 4718 bx r3 - 80092fe: f06f 0001 mvn.w r0, #1 - 8009302: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8009306: bf00 nop - 8009308: 0800c4d0 .word 0x0800c4d0 - 800930c: 0800c505 .word 0x0800c505 - 8009310: 0800a54d .word 0x0800a54d - -08009314 <__libc_init_array>: - 8009314: b570 push {r4, r5, r6, lr} - 8009316: 4d0d ldr r5, [pc, #52] ; (800934c <__libc_init_array+0x38>) - 8009318: 4c0d ldr r4, [pc, #52] ; (8009350 <__libc_init_array+0x3c>) - 800931a: 1b64 subs r4, r4, r5 - 800931c: 10a4 asrs r4, r4, #2 - 800931e: 2600 movs r6, #0 - 8009320: 42a6 cmp r6, r4 - 8009322: d109 bne.n 8009338 <__libc_init_array+0x24> - 8009324: 4d0b ldr r5, [pc, #44] ; (8009354 <__libc_init_array+0x40>) - 8009326: 4c0c ldr r4, [pc, #48] ; (8009358 <__libc_init_array+0x44>) - 8009328: f001 f8de bl 800a4e8 <_init> - 800932c: 1b64 subs r4, r4, r5 - 800932e: 10a4 asrs r4, r4, #2 - 8009330: 2600 movs r6, #0 - 8009332: 42a6 cmp r6, r4 - 8009334: d105 bne.n 8009342 <__libc_init_array+0x2e> - 8009336: bd70 pop {r4, r5, r6, pc} - 8009338: f855 3b04 ldr.w r3, [r5], #4 - 800933c: 4798 blx r3 - 800933e: 3601 adds r6, #1 - 8009340: e7ee b.n 8009320 <__libc_init_array+0xc> - 8009342: f855 3b04 ldr.w r3, [r5], #4 - 8009346: 4798 blx r3 - 8009348: 3601 adds r6, #1 - 800934a: e7f2 b.n 8009332 <__libc_init_array+0x1e> - 800934c: 0800c794 .word 0x0800c794 - 8009350: 0800c794 .word 0x0800c794 - 8009354: 0800c794 .word 0x0800c794 - 8009358: 0800c798 .word 0x0800c798 - -0800935c : - 800935c: b510 push {r4, lr} - 800935e: 3901 subs r1, #1 - 8009360: 4402 add r2, r0 - 8009362: 4290 cmp r0, r2 - 8009364: d101 bne.n 800936a - 8009366: 2000 movs r0, #0 - 8009368: e005 b.n 8009376 - 800936a: 7803 ldrb r3, [r0, #0] - 800936c: f811 4f01 ldrb.w r4, [r1, #1]! - 8009370: 42a3 cmp r3, r4 - 8009372: d001 beq.n 8009378 - 8009374: 1b18 subs r0, r3, r4 - 8009376: bd10 pop {r4, pc} - 8009378: 3001 adds r0, #1 - 800937a: e7f2 b.n 8009362 - -0800937c : - 800937c: 440a add r2, r1 - 800937e: 4291 cmp r1, r2 - 8009380: f100 33ff add.w r3, r0, #4294967295 - 8009384: d100 bne.n 8009388 - 8009386: 4770 bx lr - 8009388: b510 push {r4, lr} - 800938a: f811 4b01 ldrb.w r4, [r1], #1 - 800938e: f803 4f01 strb.w r4, [r3, #1]! - 8009392: 4291 cmp r1, r2 - 8009394: d1f9 bne.n 800938a - 8009396: bd10 pop {r4, pc} - -08009398 : - 8009398: 4402 add r2, r0 - 800939a: 4603 mov r3, r0 - 800939c: 4293 cmp r3, r2 - 800939e: d100 bne.n 80093a2 - 80093a0: 4770 bx lr - 80093a2: f803 1b01 strb.w r1, [r3], #1 - 80093a6: e7f9 b.n 800939c - -080093a8 : - 80093a8: b40f push {r0, r1, r2, r3} - 80093aa: 4b0a ldr r3, [pc, #40] ; (80093d4 ) - 80093ac: b513 push {r0, r1, r4, lr} - 80093ae: 681c ldr r4, [r3, #0] - 80093b0: b124 cbz r4, 80093bc - 80093b2: 69a3 ldr r3, [r4, #24] - 80093b4: b913 cbnz r3, 80093bc - 80093b6: 4620 mov r0, r4 - 80093b8: f000 f8c2 bl 8009540 <__sinit> - 80093bc: ab05 add r3, sp, #20 - 80093be: 9a04 ldr r2, [sp, #16] - 80093c0: 68a1 ldr r1, [r4, #8] - 80093c2: 9301 str r3, [sp, #4] - 80093c4: 4620 mov r0, r4 - 80093c6: f000 fa7f bl 80098c8 <_vfiprintf_r> - 80093ca: b002 add sp, #8 - 80093cc: e8bd 4010 ldmia.w sp!, {r4, lr} - 80093d0: b004 add sp, #16 - 80093d2: 4770 bx lr - 80093d4: 20000028 .word 0x20000028 - -080093d8 : - 80093d8: 4b16 ldr r3, [pc, #88] ; (8009434 ) - 80093da: b510 push {r4, lr} - 80093dc: 681c ldr r4, [r3, #0] - 80093de: 6ba3 ldr r3, [r4, #56] ; 0x38 - 80093e0: b9b3 cbnz r3, 8009410 - 80093e2: 2018 movs r0, #24 - 80093e4: f000 f95e bl 80096a4 - 80093e8: 63a0 str r0, [r4, #56] ; 0x38 - 80093ea: b928 cbnz r0, 80093f8 - 80093ec: 4602 mov r2, r0 - 80093ee: 4b12 ldr r3, [pc, #72] ; (8009438 ) - 80093f0: 4812 ldr r0, [pc, #72] ; (800943c ) - 80093f2: 214e movs r1, #78 ; 0x4e - 80093f4: f000 f82e bl 8009454 <__assert_func> - 80093f8: 4a11 ldr r2, [pc, #68] ; (8009440 ) - 80093fa: 4b12 ldr r3, [pc, #72] ; (8009444 ) - 80093fc: e9c0 2300 strd r2, r3, [r0] - 8009400: 4b11 ldr r3, [pc, #68] ; (8009448 ) - 8009402: 6083 str r3, [r0, #8] - 8009404: 230b movs r3, #11 - 8009406: 8183 strh r3, [r0, #12] - 8009408: 2201 movs r2, #1 - 800940a: 2300 movs r3, #0 - 800940c: e9c0 2304 strd r2, r3, [r0, #16] - 8009410: 6ba4 ldr r4, [r4, #56] ; 0x38 - 8009412: 4a0e ldr r2, [pc, #56] ; (800944c ) - 8009414: 6920 ldr r0, [r4, #16] - 8009416: 6963 ldr r3, [r4, #20] - 8009418: 490d ldr r1, [pc, #52] ; (8009450 ) - 800941a: 4342 muls r2, r0 - 800941c: fb01 2203 mla r2, r1, r3, r2 - 8009420: fba0 0101 umull r0, r1, r0, r1 - 8009424: 1c43 adds r3, r0, #1 - 8009426: eb42 0001 adc.w r0, r2, r1 - 800942a: e9c4 3004 strd r3, r0, [r4, #16] - 800942e: f020 4000 bic.w r0, r0, #2147483648 ; 0x80000000 - 8009432: bd10 pop {r4, pc} - 8009434: 20000028 .word 0x20000028 - 8009438: 0800c648 .word 0x0800c648 - 800943c: 0800c65f .word 0x0800c65f - 8009440: abcd330e .word 0xabcd330e - 8009444: e66d1234 .word 0xe66d1234 - 8009448: 0005deec .word 0x0005deec - 800944c: 5851f42d .word 0x5851f42d - 8009450: 4c957f2d .word 0x4c957f2d - -08009454 <__assert_func>: - 8009454: b51f push {r0, r1, r2, r3, r4, lr} - 8009456: 4614 mov r4, r2 - 8009458: 461a mov r2, r3 - 800945a: 4b09 ldr r3, [pc, #36] ; (8009480 <__assert_func+0x2c>) - 800945c: 681b ldr r3, [r3, #0] - 800945e: 4605 mov r5, r0 - 8009460: 68d8 ldr r0, [r3, #12] - 8009462: b14c cbz r4, 8009478 <__assert_func+0x24> - 8009464: 4b07 ldr r3, [pc, #28] ; (8009484 <__assert_func+0x30>) - 8009466: 9100 str r1, [sp, #0] - 8009468: e9cd 3401 strd r3, r4, [sp, #4] - 800946c: 4906 ldr r1, [pc, #24] ; (8009488 <__assert_func+0x34>) - 800946e: 462b mov r3, r5 - 8009470: f000 f8e4 bl 800963c - 8009474: f000 fe12 bl 800a09c - 8009478: 4b04 ldr r3, [pc, #16] ; (800948c <__assert_func+0x38>) - 800947a: 461c mov r4, r3 - 800947c: e7f3 b.n 8009466 <__assert_func+0x12> - 800947e: bf00 nop - 8009480: 20000028 .word 0x20000028 - 8009484: 0800c6ba .word 0x0800c6ba - 8009488: 0800c6c7 .word 0x0800c6c7 - 800948c: 0800afd6 .word 0x0800afd6 - -08009490 : - 8009490: 2300 movs r3, #0 - 8009492: b510 push {r4, lr} - 8009494: 4604 mov r4, r0 - 8009496: e9c0 3300 strd r3, r3, [r0] - 800949a: e9c0 3304 strd r3, r3, [r0, #16] - 800949e: 6083 str r3, [r0, #8] - 80094a0: 8181 strh r1, [r0, #12] - 80094a2: 6643 str r3, [r0, #100] ; 0x64 - 80094a4: 81c2 strh r2, [r0, #14] - 80094a6: 6183 str r3, [r0, #24] - 80094a8: 4619 mov r1, r3 - 80094aa: 2208 movs r2, #8 - 80094ac: 305c adds r0, #92 ; 0x5c - 80094ae: f7ff ff73 bl 8009398 - 80094b2: 4b05 ldr r3, [pc, #20] ; (80094c8 ) - 80094b4: 6263 str r3, [r4, #36] ; 0x24 - 80094b6: 4b05 ldr r3, [pc, #20] ; (80094cc ) - 80094b8: 62a3 str r3, [r4, #40] ; 0x28 - 80094ba: 4b05 ldr r3, [pc, #20] ; (80094d0 ) - 80094bc: 62e3 str r3, [r4, #44] ; 0x2c - 80094be: 4b05 ldr r3, [pc, #20] ; (80094d4 ) - 80094c0: 6224 str r4, [r4, #32] - 80094c2: 6323 str r3, [r4, #48] ; 0x30 - 80094c4: bd10 pop {r4, pc} - 80094c6: bf00 nop - 80094c8: 08009e71 .word 0x08009e71 - 80094cc: 08009e93 .word 0x08009e93 - 80094d0: 08009ecb .word 0x08009ecb - 80094d4: 08009eef .word 0x08009eef - -080094d8 <_cleanup_r>: - 80094d8: 4901 ldr r1, [pc, #4] ; (80094e0 <_cleanup_r+0x8>) - 80094da: f000 b8c1 b.w 8009660 <_fwalk_reent> - 80094de: bf00 nop - 80094e0: 0800a1d9 .word 0x0800a1d9 - -080094e4 <__sfmoreglue>: - 80094e4: b570 push {r4, r5, r6, lr} - 80094e6: 2268 movs r2, #104 ; 0x68 - 80094e8: 1e4d subs r5, r1, #1 - 80094ea: 4355 muls r5, r2 - 80094ec: 460e mov r6, r1 - 80094ee: f105 0174 add.w r1, r5, #116 ; 0x74 - 80094f2: f000 f94b bl 800978c <_malloc_r> - 80094f6: 4604 mov r4, r0 - 80094f8: b140 cbz r0, 800950c <__sfmoreglue+0x28> - 80094fa: 2100 movs r1, #0 - 80094fc: e9c0 1600 strd r1, r6, [r0] - 8009500: 300c adds r0, #12 - 8009502: 60a0 str r0, [r4, #8] - 8009504: f105 0268 add.w r2, r5, #104 ; 0x68 - 8009508: f7ff ff46 bl 8009398 - 800950c: 4620 mov r0, r4 - 800950e: bd70 pop {r4, r5, r6, pc} - -08009510 <__sfp_lock_acquire>: - 8009510: 4801 ldr r0, [pc, #4] ; (8009518 <__sfp_lock_acquire+0x8>) - 8009512: f000 b8c5 b.w 80096a0 <__retarget_lock_acquire_recursive> - 8009516: bf00 nop - 8009518: 20008441 .word 0x20008441 - -0800951c <__sfp_lock_release>: - 800951c: 4801 ldr r0, [pc, #4] ; (8009524 <__sfp_lock_release+0x8>) - 800951e: f000 b8c0 b.w 80096a2 <__retarget_lock_release_recursive> - 8009522: bf00 nop - 8009524: 20008441 .word 0x20008441 - -08009528 <__sinit_lock_acquire>: - 8009528: 4801 ldr r0, [pc, #4] ; (8009530 <__sinit_lock_acquire+0x8>) - 800952a: f000 b8b9 b.w 80096a0 <__retarget_lock_acquire_recursive> - 800952e: bf00 nop - 8009530: 20008442 .word 0x20008442 - -08009534 <__sinit_lock_release>: - 8009534: 4801 ldr r0, [pc, #4] ; (800953c <__sinit_lock_release+0x8>) - 8009536: f000 b8b4 b.w 80096a2 <__retarget_lock_release_recursive> - 800953a: bf00 nop - 800953c: 20008442 .word 0x20008442 - -08009540 <__sinit>: - 8009540: b510 push {r4, lr} - 8009542: 4604 mov r4, r0 - 8009544: f7ff fff0 bl 8009528 <__sinit_lock_acquire> - 8009548: 69a3 ldr r3, [r4, #24] - 800954a: b11b cbz r3, 8009554 <__sinit+0x14> - 800954c: e8bd 4010 ldmia.w sp!, {r4, lr} - 8009550: f7ff bff0 b.w 8009534 <__sinit_lock_release> - 8009554: e9c4 3312 strd r3, r3, [r4, #72] ; 0x48 - 8009558: 6523 str r3, [r4, #80] ; 0x50 - 800955a: 4b13 ldr r3, [pc, #76] ; (80095a8 <__sinit+0x68>) - 800955c: 4a13 ldr r2, [pc, #76] ; (80095ac <__sinit+0x6c>) - 800955e: 681b ldr r3, [r3, #0] - 8009560: 62a2 str r2, [r4, #40] ; 0x28 - 8009562: 42a3 cmp r3, r4 - 8009564: bf04 itt eq - 8009566: 2301 moveq r3, #1 - 8009568: 61a3 streq r3, [r4, #24] - 800956a: 4620 mov r0, r4 - 800956c: f000 f820 bl 80095b0 <__sfp> - 8009570: 6060 str r0, [r4, #4] - 8009572: 4620 mov r0, r4 - 8009574: f000 f81c bl 80095b0 <__sfp> - 8009578: 60a0 str r0, [r4, #8] - 800957a: 4620 mov r0, r4 - 800957c: f000 f818 bl 80095b0 <__sfp> - 8009580: 2200 movs r2, #0 - 8009582: 60e0 str r0, [r4, #12] - 8009584: 2104 movs r1, #4 - 8009586: 6860 ldr r0, [r4, #4] - 8009588: f7ff ff82 bl 8009490 - 800958c: 68a0 ldr r0, [r4, #8] - 800958e: 2201 movs r2, #1 - 8009590: 2109 movs r1, #9 - 8009592: f7ff ff7d bl 8009490 - 8009596: 68e0 ldr r0, [r4, #12] - 8009598: 2202 movs r2, #2 - 800959a: 2112 movs r1, #18 - 800959c: f7ff ff78 bl 8009490 - 80095a0: 2301 movs r3, #1 - 80095a2: 61a3 str r3, [r4, #24] - 80095a4: e7d2 b.n 800954c <__sinit+0xc> - 80095a6: bf00 nop - 80095a8: 0800c644 .word 0x0800c644 - 80095ac: 080094d9 .word 0x080094d9 - -080095b0 <__sfp>: - 80095b0: b5f8 push {r3, r4, r5, r6, r7, lr} - 80095b2: 4607 mov r7, r0 - 80095b4: f7ff ffac bl 8009510 <__sfp_lock_acquire> - 80095b8: 4b1e ldr r3, [pc, #120] ; (8009634 <__sfp+0x84>) - 80095ba: 681e ldr r6, [r3, #0] - 80095bc: 69b3 ldr r3, [r6, #24] - 80095be: b913 cbnz r3, 80095c6 <__sfp+0x16> - 80095c0: 4630 mov r0, r6 - 80095c2: f7ff ffbd bl 8009540 <__sinit> - 80095c6: 3648 adds r6, #72 ; 0x48 - 80095c8: e9d6 3401 ldrd r3, r4, [r6, #4] - 80095cc: 3b01 subs r3, #1 - 80095ce: d503 bpl.n 80095d8 <__sfp+0x28> - 80095d0: 6833 ldr r3, [r6, #0] - 80095d2: b30b cbz r3, 8009618 <__sfp+0x68> - 80095d4: 6836 ldr r6, [r6, #0] - 80095d6: e7f7 b.n 80095c8 <__sfp+0x18> - 80095d8: f9b4 500c ldrsh.w r5, [r4, #12] - 80095dc: b9d5 cbnz r5, 8009614 <__sfp+0x64> - 80095de: 4b16 ldr r3, [pc, #88] ; (8009638 <__sfp+0x88>) - 80095e0: 60e3 str r3, [r4, #12] - 80095e2: f104 0058 add.w r0, r4, #88 ; 0x58 - 80095e6: 6665 str r5, [r4, #100] ; 0x64 - 80095e8: f000 f859 bl 800969e <__retarget_lock_init_recursive> - 80095ec: f7ff ff96 bl 800951c <__sfp_lock_release> - 80095f0: e9c4 5501 strd r5, r5, [r4, #4] - 80095f4: e9c4 5504 strd r5, r5, [r4, #16] - 80095f8: 6025 str r5, [r4, #0] - 80095fa: 61a5 str r5, [r4, #24] - 80095fc: 2208 movs r2, #8 - 80095fe: 4629 mov r1, r5 - 8009600: f104 005c add.w r0, r4, #92 ; 0x5c - 8009604: f7ff fec8 bl 8009398 - 8009608: e9c4 550d strd r5, r5, [r4, #52] ; 0x34 - 800960c: e9c4 5512 strd r5, r5, [r4, #72] ; 0x48 - 8009610: 4620 mov r0, r4 - 8009612: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8009614: 3468 adds r4, #104 ; 0x68 - 8009616: e7d9 b.n 80095cc <__sfp+0x1c> - 8009618: 2104 movs r1, #4 - 800961a: 4638 mov r0, r7 - 800961c: f7ff ff62 bl 80094e4 <__sfmoreglue> - 8009620: 4604 mov r4, r0 - 8009622: 6030 str r0, [r6, #0] - 8009624: 2800 cmp r0, #0 - 8009626: d1d5 bne.n 80095d4 <__sfp+0x24> - 8009628: f7ff ff78 bl 800951c <__sfp_lock_release> - 800962c: 230c movs r3, #12 - 800962e: 603b str r3, [r7, #0] - 8009630: e7ee b.n 8009610 <__sfp+0x60> - 8009632: bf00 nop - 8009634: 0800c644 .word 0x0800c644 - 8009638: ffff0001 .word 0xffff0001 - -0800963c : - 800963c: b40e push {r1, r2, r3} - 800963e: b503 push {r0, r1, lr} - 8009640: 4601 mov r1, r0 - 8009642: ab03 add r3, sp, #12 - 8009644: 4805 ldr r0, [pc, #20] ; (800965c ) - 8009646: f853 2b04 ldr.w r2, [r3], #4 - 800964a: 6800 ldr r0, [r0, #0] - 800964c: 9301 str r3, [sp, #4] - 800964e: f000 f93b bl 80098c8 <_vfiprintf_r> - 8009652: b002 add sp, #8 - 8009654: f85d eb04 ldr.w lr, [sp], #4 - 8009658: b003 add sp, #12 - 800965a: 4770 bx lr - 800965c: 20000028 .word 0x20000028 - -08009660 <_fwalk_reent>: - 8009660: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 8009664: 4606 mov r6, r0 - 8009666: 4688 mov r8, r1 - 8009668: f100 0448 add.w r4, r0, #72 ; 0x48 - 800966c: 2700 movs r7, #0 - 800966e: e9d4 9501 ldrd r9, r5, [r4, #4] - 8009672: f1b9 0901 subs.w r9, r9, #1 - 8009676: d505 bpl.n 8009684 <_fwalk_reent+0x24> - 8009678: 6824 ldr r4, [r4, #0] - 800967a: 2c00 cmp r4, #0 - 800967c: d1f7 bne.n 800966e <_fwalk_reent+0xe> - 800967e: 4638 mov r0, r7 - 8009680: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 8009684: 89ab ldrh r3, [r5, #12] - 8009686: 2b01 cmp r3, #1 - 8009688: d907 bls.n 800969a <_fwalk_reent+0x3a> - 800968a: f9b5 300e ldrsh.w r3, [r5, #14] - 800968e: 3301 adds r3, #1 - 8009690: d003 beq.n 800969a <_fwalk_reent+0x3a> - 8009692: 4629 mov r1, r5 - 8009694: 4630 mov r0, r6 - 8009696: 47c0 blx r8 - 8009698: 4307 orrs r7, r0 - 800969a: 3568 adds r5, #104 ; 0x68 - 800969c: e7e9 b.n 8009672 <_fwalk_reent+0x12> - -0800969e <__retarget_lock_init_recursive>: - 800969e: 4770 bx lr - -080096a0 <__retarget_lock_acquire_recursive>: - 80096a0: 4770 bx lr - -080096a2 <__retarget_lock_release_recursive>: - 80096a2: 4770 bx lr - -080096a4 : - 80096a4: 4b02 ldr r3, [pc, #8] ; (80096b0 ) - 80096a6: 4601 mov r1, r0 - 80096a8: 6818 ldr r0, [r3, #0] - 80096aa: f000 b86f b.w 800978c <_malloc_r> - 80096ae: bf00 nop - 80096b0: 20000028 .word 0x20000028 - -080096b4 <_free_r>: - 80096b4: b537 push {r0, r1, r2, r4, r5, lr} - 80096b6: 2900 cmp r1, #0 - 80096b8: d044 beq.n 8009744 <_free_r+0x90> - 80096ba: f851 3c04 ldr.w r3, [r1, #-4] - 80096be: 9001 str r0, [sp, #4] - 80096c0: 2b00 cmp r3, #0 - 80096c2: f1a1 0404 sub.w r4, r1, #4 - 80096c6: bfb8 it lt - 80096c8: 18e4 addlt r4, r4, r3 - 80096ca: f000 fe39 bl 800a340 <__malloc_lock> - 80096ce: 4a1e ldr r2, [pc, #120] ; (8009748 <_free_r+0x94>) - 80096d0: 9801 ldr r0, [sp, #4] - 80096d2: 6813 ldr r3, [r2, #0] - 80096d4: b933 cbnz r3, 80096e4 <_free_r+0x30> - 80096d6: 6063 str r3, [r4, #4] - 80096d8: 6014 str r4, [r2, #0] - 80096da: b003 add sp, #12 - 80096dc: e8bd 4030 ldmia.w sp!, {r4, r5, lr} - 80096e0: f000 be34 b.w 800a34c <__malloc_unlock> - 80096e4: 42a3 cmp r3, r4 - 80096e6: d908 bls.n 80096fa <_free_r+0x46> - 80096e8: 6825 ldr r5, [r4, #0] - 80096ea: 1961 adds r1, r4, r5 - 80096ec: 428b cmp r3, r1 - 80096ee: bf01 itttt eq - 80096f0: 6819 ldreq r1, [r3, #0] - 80096f2: 685b ldreq r3, [r3, #4] - 80096f4: 1949 addeq r1, r1, r5 - 80096f6: 6021 streq r1, [r4, #0] - 80096f8: e7ed b.n 80096d6 <_free_r+0x22> - 80096fa: 461a mov r2, r3 - 80096fc: 685b ldr r3, [r3, #4] - 80096fe: b10b cbz r3, 8009704 <_free_r+0x50> - 8009700: 42a3 cmp r3, r4 - 8009702: d9fa bls.n 80096fa <_free_r+0x46> - 8009704: 6811 ldr r1, [r2, #0] - 8009706: 1855 adds r5, r2, r1 - 8009708: 42a5 cmp r5, r4 - 800970a: d10b bne.n 8009724 <_free_r+0x70> - 800970c: 6824 ldr r4, [r4, #0] - 800970e: 4421 add r1, r4 - 8009710: 1854 adds r4, r2, r1 - 8009712: 42a3 cmp r3, r4 - 8009714: 6011 str r1, [r2, #0] - 8009716: d1e0 bne.n 80096da <_free_r+0x26> - 8009718: 681c ldr r4, [r3, #0] - 800971a: 685b ldr r3, [r3, #4] - 800971c: 6053 str r3, [r2, #4] - 800971e: 4421 add r1, r4 - 8009720: 6011 str r1, [r2, #0] - 8009722: e7da b.n 80096da <_free_r+0x26> - 8009724: d902 bls.n 800972c <_free_r+0x78> - 8009726: 230c movs r3, #12 - 8009728: 6003 str r3, [r0, #0] - 800972a: e7d6 b.n 80096da <_free_r+0x26> - 800972c: 6825 ldr r5, [r4, #0] - 800972e: 1961 adds r1, r4, r5 - 8009730: 428b cmp r3, r1 - 8009732: bf04 itt eq - 8009734: 6819 ldreq r1, [r3, #0] - 8009736: 685b ldreq r3, [r3, #4] - 8009738: 6063 str r3, [r4, #4] - 800973a: bf04 itt eq - 800973c: 1949 addeq r1, r1, r5 - 800973e: 6021 streq r1, [r4, #0] - 8009740: 6054 str r4, [r2, #4] - 8009742: e7ca b.n 80096da <_free_r+0x26> - 8009744: b003 add sp, #12 - 8009746: bd30 pop {r4, r5, pc} - 8009748: 20008444 .word 0x20008444 - -0800974c : - 800974c: b570 push {r4, r5, r6, lr} - 800974e: 4e0e ldr r6, [pc, #56] ; (8009788 ) - 8009750: 460c mov r4, r1 - 8009752: 6831 ldr r1, [r6, #0] - 8009754: 4605 mov r5, r0 - 8009756: b911 cbnz r1, 800975e - 8009758: f000 fb7a bl 8009e50 <_sbrk_r> - 800975c: 6030 str r0, [r6, #0] - 800975e: 4621 mov r1, r4 - 8009760: 4628 mov r0, r5 - 8009762: f000 fb75 bl 8009e50 <_sbrk_r> - 8009766: 1c43 adds r3, r0, #1 - 8009768: d00a beq.n 8009780 - 800976a: 1cc4 adds r4, r0, #3 - 800976c: f024 0403 bic.w r4, r4, #3 - 8009770: 42a0 cmp r0, r4 - 8009772: d007 beq.n 8009784 - 8009774: 1a21 subs r1, r4, r0 - 8009776: 4628 mov r0, r5 - 8009778: f000 fb6a bl 8009e50 <_sbrk_r> - 800977c: 3001 adds r0, #1 - 800977e: d101 bne.n 8009784 - 8009780: f04f 34ff mov.w r4, #4294967295 - 8009784: 4620 mov r0, r4 - 8009786: bd70 pop {r4, r5, r6, pc} - 8009788: 20008448 .word 0x20008448 - -0800978c <_malloc_r>: - 800978c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8009790: 1ccd adds r5, r1, #3 - 8009792: f025 0503 bic.w r5, r5, #3 - 8009796: 3508 adds r5, #8 - 8009798: 2d0c cmp r5, #12 - 800979a: bf38 it cc - 800979c: 250c movcc r5, #12 - 800979e: 2d00 cmp r5, #0 - 80097a0: 4607 mov r7, r0 - 80097a2: db01 blt.n 80097a8 <_malloc_r+0x1c> - 80097a4: 42a9 cmp r1, r5 - 80097a6: d905 bls.n 80097b4 <_malloc_r+0x28> - 80097a8: 230c movs r3, #12 - 80097aa: 603b str r3, [r7, #0] - 80097ac: 2600 movs r6, #0 - 80097ae: 4630 mov r0, r6 - 80097b0: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80097b4: 4e2e ldr r6, [pc, #184] ; (8009870 <_malloc_r+0xe4>) - 80097b6: f000 fdc3 bl 800a340 <__malloc_lock> - 80097ba: 6833 ldr r3, [r6, #0] - 80097bc: 461c mov r4, r3 - 80097be: bb34 cbnz r4, 800980e <_malloc_r+0x82> - 80097c0: 4629 mov r1, r5 - 80097c2: 4638 mov r0, r7 - 80097c4: f7ff ffc2 bl 800974c - 80097c8: 1c43 adds r3, r0, #1 - 80097ca: 4604 mov r4, r0 - 80097cc: d14d bne.n 800986a <_malloc_r+0xde> - 80097ce: 6834 ldr r4, [r6, #0] - 80097d0: 4626 mov r6, r4 - 80097d2: 2e00 cmp r6, #0 - 80097d4: d140 bne.n 8009858 <_malloc_r+0xcc> - 80097d6: 6823 ldr r3, [r4, #0] - 80097d8: 4631 mov r1, r6 - 80097da: 4638 mov r0, r7 - 80097dc: eb04 0803 add.w r8, r4, r3 - 80097e0: f000 fb36 bl 8009e50 <_sbrk_r> - 80097e4: 4580 cmp r8, r0 - 80097e6: d13a bne.n 800985e <_malloc_r+0xd2> - 80097e8: 6821 ldr r1, [r4, #0] - 80097ea: 3503 adds r5, #3 - 80097ec: 1a6d subs r5, r5, r1 - 80097ee: f025 0503 bic.w r5, r5, #3 - 80097f2: 3508 adds r5, #8 - 80097f4: 2d0c cmp r5, #12 - 80097f6: bf38 it cc - 80097f8: 250c movcc r5, #12 - 80097fa: 4629 mov r1, r5 - 80097fc: 4638 mov r0, r7 - 80097fe: f7ff ffa5 bl 800974c - 8009802: 3001 adds r0, #1 - 8009804: d02b beq.n 800985e <_malloc_r+0xd2> - 8009806: 6823 ldr r3, [r4, #0] - 8009808: 442b add r3, r5 - 800980a: 6023 str r3, [r4, #0] - 800980c: e00e b.n 800982c <_malloc_r+0xa0> - 800980e: 6822 ldr r2, [r4, #0] - 8009810: 1b52 subs r2, r2, r5 - 8009812: d41e bmi.n 8009852 <_malloc_r+0xc6> - 8009814: 2a0b cmp r2, #11 - 8009816: d916 bls.n 8009846 <_malloc_r+0xba> - 8009818: 1961 adds r1, r4, r5 - 800981a: 42a3 cmp r3, r4 - 800981c: 6025 str r5, [r4, #0] - 800981e: bf18 it ne - 8009820: 6059 strne r1, [r3, #4] - 8009822: 6863 ldr r3, [r4, #4] - 8009824: bf08 it eq - 8009826: 6031 streq r1, [r6, #0] - 8009828: 5162 str r2, [r4, r5] - 800982a: 604b str r3, [r1, #4] - 800982c: 4638 mov r0, r7 - 800982e: f104 060b add.w r6, r4, #11 - 8009832: f000 fd8b bl 800a34c <__malloc_unlock> - 8009836: f026 0607 bic.w r6, r6, #7 - 800983a: 1d23 adds r3, r4, #4 - 800983c: 1af2 subs r2, r6, r3 - 800983e: d0b6 beq.n 80097ae <_malloc_r+0x22> - 8009840: 1b9b subs r3, r3, r6 - 8009842: 50a3 str r3, [r4, r2] - 8009844: e7b3 b.n 80097ae <_malloc_r+0x22> - 8009846: 6862 ldr r2, [r4, #4] - 8009848: 42a3 cmp r3, r4 - 800984a: bf0c ite eq - 800984c: 6032 streq r2, [r6, #0] - 800984e: 605a strne r2, [r3, #4] - 8009850: e7ec b.n 800982c <_malloc_r+0xa0> - 8009852: 4623 mov r3, r4 - 8009854: 6864 ldr r4, [r4, #4] - 8009856: e7b2 b.n 80097be <_malloc_r+0x32> - 8009858: 4634 mov r4, r6 - 800985a: 6876 ldr r6, [r6, #4] - 800985c: e7b9 b.n 80097d2 <_malloc_r+0x46> - 800985e: 230c movs r3, #12 - 8009860: 603b str r3, [r7, #0] - 8009862: 4638 mov r0, r7 - 8009864: f000 fd72 bl 800a34c <__malloc_unlock> - 8009868: e7a1 b.n 80097ae <_malloc_r+0x22> - 800986a: 6025 str r5, [r4, #0] - 800986c: e7de b.n 800982c <_malloc_r+0xa0> - 800986e: bf00 nop - 8009870: 20008444 .word 0x20008444 - -08009874 <__sfputc_r>: - 8009874: 6893 ldr r3, [r2, #8] - 8009876: 3b01 subs r3, #1 - 8009878: 2b00 cmp r3, #0 - 800987a: b410 push {r4} - 800987c: 6093 str r3, [r2, #8] - 800987e: da08 bge.n 8009892 <__sfputc_r+0x1e> - 8009880: 6994 ldr r4, [r2, #24] - 8009882: 42a3 cmp r3, r4 - 8009884: db01 blt.n 800988a <__sfputc_r+0x16> - 8009886: 290a cmp r1, #10 - 8009888: d103 bne.n 8009892 <__sfputc_r+0x1e> - 800988a: f85d 4b04 ldr.w r4, [sp], #4 - 800988e: f000 bb33 b.w 8009ef8 <__swbuf_r> - 8009892: 6813 ldr r3, [r2, #0] - 8009894: 1c58 adds r0, r3, #1 - 8009896: 6010 str r0, [r2, #0] - 8009898: 7019 strb r1, [r3, #0] - 800989a: 4608 mov r0, r1 - 800989c: f85d 4b04 ldr.w r4, [sp], #4 - 80098a0: 4770 bx lr - -080098a2 <__sfputs_r>: - 80098a2: b5f8 push {r3, r4, r5, r6, r7, lr} - 80098a4: 4606 mov r6, r0 - 80098a6: 460f mov r7, r1 - 80098a8: 4614 mov r4, r2 - 80098aa: 18d5 adds r5, r2, r3 - 80098ac: 42ac cmp r4, r5 - 80098ae: d101 bne.n 80098b4 <__sfputs_r+0x12> - 80098b0: 2000 movs r0, #0 - 80098b2: e007 b.n 80098c4 <__sfputs_r+0x22> - 80098b4: f814 1b01 ldrb.w r1, [r4], #1 - 80098b8: 463a mov r2, r7 - 80098ba: 4630 mov r0, r6 - 80098bc: f7ff ffda bl 8009874 <__sfputc_r> - 80098c0: 1c43 adds r3, r0, #1 - 80098c2: d1f3 bne.n 80098ac <__sfputs_r+0xa> - 80098c4: bdf8 pop {r3, r4, r5, r6, r7, pc} - ... - -080098c8 <_vfiprintf_r>: - 80098c8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80098cc: 460d mov r5, r1 - 80098ce: b09d sub sp, #116 ; 0x74 - 80098d0: 4614 mov r4, r2 - 80098d2: 4698 mov r8, r3 - 80098d4: 4606 mov r6, r0 - 80098d6: b118 cbz r0, 80098e0 <_vfiprintf_r+0x18> - 80098d8: 6983 ldr r3, [r0, #24] - 80098da: b90b cbnz r3, 80098e0 <_vfiprintf_r+0x18> - 80098dc: f7ff fe30 bl 8009540 <__sinit> - 80098e0: 4b89 ldr r3, [pc, #548] ; (8009b08 <_vfiprintf_r+0x240>) - 80098e2: 429d cmp r5, r3 - 80098e4: d11b bne.n 800991e <_vfiprintf_r+0x56> - 80098e6: 6875 ldr r5, [r6, #4] - 80098e8: 6e6b ldr r3, [r5, #100] ; 0x64 - 80098ea: 07d9 lsls r1, r3, #31 - 80098ec: d405 bmi.n 80098fa <_vfiprintf_r+0x32> - 80098ee: 89ab ldrh r3, [r5, #12] - 80098f0: 059a lsls r2, r3, #22 - 80098f2: d402 bmi.n 80098fa <_vfiprintf_r+0x32> - 80098f4: 6da8 ldr r0, [r5, #88] ; 0x58 - 80098f6: f7ff fed3 bl 80096a0 <__retarget_lock_acquire_recursive> - 80098fa: 89ab ldrh r3, [r5, #12] - 80098fc: 071b lsls r3, r3, #28 - 80098fe: d501 bpl.n 8009904 <_vfiprintf_r+0x3c> - 8009900: 692b ldr r3, [r5, #16] - 8009902: b9eb cbnz r3, 8009940 <_vfiprintf_r+0x78> - 8009904: 4629 mov r1, r5 - 8009906: 4630 mov r0, r6 - 8009908: f000 fb5a bl 8009fc0 <__swsetup_r> - 800990c: b1c0 cbz r0, 8009940 <_vfiprintf_r+0x78> - 800990e: 6e6b ldr r3, [r5, #100] ; 0x64 - 8009910: 07dc lsls r4, r3, #31 - 8009912: d50e bpl.n 8009932 <_vfiprintf_r+0x6a> - 8009914: f04f 30ff mov.w r0, #4294967295 - 8009918: b01d add sp, #116 ; 0x74 - 800991a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800991e: 4b7b ldr r3, [pc, #492] ; (8009b0c <_vfiprintf_r+0x244>) - 8009920: 429d cmp r5, r3 - 8009922: d101 bne.n 8009928 <_vfiprintf_r+0x60> - 8009924: 68b5 ldr r5, [r6, #8] - 8009926: e7df b.n 80098e8 <_vfiprintf_r+0x20> - 8009928: 4b79 ldr r3, [pc, #484] ; (8009b10 <_vfiprintf_r+0x248>) - 800992a: 429d cmp r5, r3 - 800992c: bf08 it eq - 800992e: 68f5 ldreq r5, [r6, #12] - 8009930: e7da b.n 80098e8 <_vfiprintf_r+0x20> - 8009932: 89ab ldrh r3, [r5, #12] - 8009934: 0598 lsls r0, r3, #22 - 8009936: d4ed bmi.n 8009914 <_vfiprintf_r+0x4c> - 8009938: 6da8 ldr r0, [r5, #88] ; 0x58 - 800993a: f7ff feb2 bl 80096a2 <__retarget_lock_release_recursive> - 800993e: e7e9 b.n 8009914 <_vfiprintf_r+0x4c> - 8009940: 2300 movs r3, #0 - 8009942: 9309 str r3, [sp, #36] ; 0x24 - 8009944: 2320 movs r3, #32 - 8009946: f88d 3029 strb.w r3, [sp, #41] ; 0x29 - 800994a: f8cd 800c str.w r8, [sp, #12] - 800994e: 2330 movs r3, #48 ; 0x30 - 8009950: f8df 81c0 ldr.w r8, [pc, #448] ; 8009b14 <_vfiprintf_r+0x24c> - 8009954: f88d 302a strb.w r3, [sp, #42] ; 0x2a - 8009958: f04f 0901 mov.w r9, #1 - 800995c: 4623 mov r3, r4 - 800995e: 469a mov sl, r3 - 8009960: f813 2b01 ldrb.w r2, [r3], #1 - 8009964: b10a cbz r2, 800996a <_vfiprintf_r+0xa2> - 8009966: 2a25 cmp r2, #37 ; 0x25 - 8009968: d1f9 bne.n 800995e <_vfiprintf_r+0x96> - 800996a: ebba 0b04 subs.w fp, sl, r4 - 800996e: d00b beq.n 8009988 <_vfiprintf_r+0xc0> - 8009970: 465b mov r3, fp - 8009972: 4622 mov r2, r4 - 8009974: 4629 mov r1, r5 - 8009976: 4630 mov r0, r6 - 8009978: f7ff ff93 bl 80098a2 <__sfputs_r> - 800997c: 3001 adds r0, #1 - 800997e: f000 80aa beq.w 8009ad6 <_vfiprintf_r+0x20e> - 8009982: 9a09 ldr r2, [sp, #36] ; 0x24 - 8009984: 445a add r2, fp - 8009986: 9209 str r2, [sp, #36] ; 0x24 - 8009988: f89a 3000 ldrb.w r3, [sl] - 800998c: 2b00 cmp r3, #0 - 800998e: f000 80a2 beq.w 8009ad6 <_vfiprintf_r+0x20e> - 8009992: 2300 movs r3, #0 - 8009994: f04f 32ff mov.w r2, #4294967295 - 8009998: e9cd 2305 strd r2, r3, [sp, #20] - 800999c: f10a 0a01 add.w sl, sl, #1 - 80099a0: 9304 str r3, [sp, #16] - 80099a2: 9307 str r3, [sp, #28] - 80099a4: f88d 3053 strb.w r3, [sp, #83] ; 0x53 - 80099a8: 931a str r3, [sp, #104] ; 0x68 - 80099aa: 4654 mov r4, sl - 80099ac: 2205 movs r2, #5 - 80099ae: f814 1b01 ldrb.w r1, [r4], #1 - 80099b2: 4858 ldr r0, [pc, #352] ; (8009b14 <_vfiprintf_r+0x24c>) - 80099b4: f7f6 fc1c bl 80001f0 - 80099b8: 9a04 ldr r2, [sp, #16] - 80099ba: b9d8 cbnz r0, 80099f4 <_vfiprintf_r+0x12c> - 80099bc: 06d1 lsls r1, r2, #27 - 80099be: bf44 itt mi - 80099c0: 2320 movmi r3, #32 - 80099c2: f88d 3053 strbmi.w r3, [sp, #83] ; 0x53 - 80099c6: 0713 lsls r3, r2, #28 - 80099c8: bf44 itt mi - 80099ca: 232b movmi r3, #43 ; 0x2b - 80099cc: f88d 3053 strbmi.w r3, [sp, #83] ; 0x53 - 80099d0: f89a 3000 ldrb.w r3, [sl] - 80099d4: 2b2a cmp r3, #42 ; 0x2a - 80099d6: d015 beq.n 8009a04 <_vfiprintf_r+0x13c> - 80099d8: 9a07 ldr r2, [sp, #28] - 80099da: 4654 mov r4, sl - 80099dc: 2000 movs r0, #0 - 80099de: f04f 0c0a mov.w ip, #10 - 80099e2: 4621 mov r1, r4 - 80099e4: f811 3b01 ldrb.w r3, [r1], #1 - 80099e8: 3b30 subs r3, #48 ; 0x30 - 80099ea: 2b09 cmp r3, #9 - 80099ec: d94e bls.n 8009a8c <_vfiprintf_r+0x1c4> - 80099ee: b1b0 cbz r0, 8009a1e <_vfiprintf_r+0x156> - 80099f0: 9207 str r2, [sp, #28] - 80099f2: e014 b.n 8009a1e <_vfiprintf_r+0x156> - 80099f4: eba0 0308 sub.w r3, r0, r8 - 80099f8: fa09 f303 lsl.w r3, r9, r3 - 80099fc: 4313 orrs r3, r2 - 80099fe: 9304 str r3, [sp, #16] - 8009a00: 46a2 mov sl, r4 - 8009a02: e7d2 b.n 80099aa <_vfiprintf_r+0xe2> - 8009a04: 9b03 ldr r3, [sp, #12] - 8009a06: 1d19 adds r1, r3, #4 - 8009a08: 681b ldr r3, [r3, #0] - 8009a0a: 9103 str r1, [sp, #12] - 8009a0c: 2b00 cmp r3, #0 - 8009a0e: bfbb ittet lt - 8009a10: 425b neglt r3, r3 - 8009a12: f042 0202 orrlt.w r2, r2, #2 - 8009a16: 9307 strge r3, [sp, #28] - 8009a18: 9307 strlt r3, [sp, #28] - 8009a1a: bfb8 it lt - 8009a1c: 9204 strlt r2, [sp, #16] - 8009a1e: 7823 ldrb r3, [r4, #0] - 8009a20: 2b2e cmp r3, #46 ; 0x2e - 8009a22: d10c bne.n 8009a3e <_vfiprintf_r+0x176> - 8009a24: 7863 ldrb r3, [r4, #1] - 8009a26: 2b2a cmp r3, #42 ; 0x2a - 8009a28: d135 bne.n 8009a96 <_vfiprintf_r+0x1ce> - 8009a2a: 9b03 ldr r3, [sp, #12] - 8009a2c: 1d1a adds r2, r3, #4 - 8009a2e: 681b ldr r3, [r3, #0] - 8009a30: 9203 str r2, [sp, #12] - 8009a32: 2b00 cmp r3, #0 - 8009a34: bfb8 it lt - 8009a36: f04f 33ff movlt.w r3, #4294967295 - 8009a3a: 3402 adds r4, #2 - 8009a3c: 9305 str r3, [sp, #20] - 8009a3e: f8df a0e4 ldr.w sl, [pc, #228] ; 8009b24 <_vfiprintf_r+0x25c> - 8009a42: 7821 ldrb r1, [r4, #0] - 8009a44: 2203 movs r2, #3 - 8009a46: 4650 mov r0, sl - 8009a48: f7f6 fbd2 bl 80001f0 - 8009a4c: b140 cbz r0, 8009a60 <_vfiprintf_r+0x198> - 8009a4e: 2340 movs r3, #64 ; 0x40 - 8009a50: eba0 000a sub.w r0, r0, sl - 8009a54: fa03 f000 lsl.w r0, r3, r0 - 8009a58: 9b04 ldr r3, [sp, #16] - 8009a5a: 4303 orrs r3, r0 - 8009a5c: 3401 adds r4, #1 - 8009a5e: 9304 str r3, [sp, #16] - 8009a60: f814 1b01 ldrb.w r1, [r4], #1 - 8009a64: 482c ldr r0, [pc, #176] ; (8009b18 <_vfiprintf_r+0x250>) - 8009a66: f88d 1028 strb.w r1, [sp, #40] ; 0x28 - 8009a6a: 2206 movs r2, #6 - 8009a6c: f7f6 fbc0 bl 80001f0 - 8009a70: 2800 cmp r0, #0 - 8009a72: d03f beq.n 8009af4 <_vfiprintf_r+0x22c> - 8009a74: 4b29 ldr r3, [pc, #164] ; (8009b1c <_vfiprintf_r+0x254>) - 8009a76: bb1b cbnz r3, 8009ac0 <_vfiprintf_r+0x1f8> - 8009a78: 9b03 ldr r3, [sp, #12] - 8009a7a: 3307 adds r3, #7 - 8009a7c: f023 0307 bic.w r3, r3, #7 - 8009a80: 3308 adds r3, #8 - 8009a82: 9303 str r3, [sp, #12] - 8009a84: 9b09 ldr r3, [sp, #36] ; 0x24 - 8009a86: 443b add r3, r7 - 8009a88: 9309 str r3, [sp, #36] ; 0x24 - 8009a8a: e767 b.n 800995c <_vfiprintf_r+0x94> - 8009a8c: fb0c 3202 mla r2, ip, r2, r3 - 8009a90: 460c mov r4, r1 - 8009a92: 2001 movs r0, #1 - 8009a94: e7a5 b.n 80099e2 <_vfiprintf_r+0x11a> - 8009a96: 2300 movs r3, #0 - 8009a98: 3401 adds r4, #1 - 8009a9a: 9305 str r3, [sp, #20] - 8009a9c: 4619 mov r1, r3 - 8009a9e: f04f 0c0a mov.w ip, #10 - 8009aa2: 4620 mov r0, r4 - 8009aa4: f810 2b01 ldrb.w r2, [r0], #1 - 8009aa8: 3a30 subs r2, #48 ; 0x30 - 8009aaa: 2a09 cmp r2, #9 - 8009aac: d903 bls.n 8009ab6 <_vfiprintf_r+0x1ee> - 8009aae: 2b00 cmp r3, #0 - 8009ab0: d0c5 beq.n 8009a3e <_vfiprintf_r+0x176> - 8009ab2: 9105 str r1, [sp, #20] - 8009ab4: e7c3 b.n 8009a3e <_vfiprintf_r+0x176> - 8009ab6: fb0c 2101 mla r1, ip, r1, r2 - 8009aba: 4604 mov r4, r0 - 8009abc: 2301 movs r3, #1 - 8009abe: e7f0 b.n 8009aa2 <_vfiprintf_r+0x1da> - 8009ac0: ab03 add r3, sp, #12 - 8009ac2: 9300 str r3, [sp, #0] - 8009ac4: 462a mov r2, r5 - 8009ac6: 4b16 ldr r3, [pc, #88] ; (8009b20 <_vfiprintf_r+0x258>) - 8009ac8: a904 add r1, sp, #16 - 8009aca: 4630 mov r0, r6 - 8009acc: f3af 8000 nop.w - 8009ad0: 4607 mov r7, r0 - 8009ad2: 1c78 adds r0, r7, #1 - 8009ad4: d1d6 bne.n 8009a84 <_vfiprintf_r+0x1bc> - 8009ad6: 6e6b ldr r3, [r5, #100] ; 0x64 - 8009ad8: 07d9 lsls r1, r3, #31 - 8009ada: d405 bmi.n 8009ae8 <_vfiprintf_r+0x220> - 8009adc: 89ab ldrh r3, [r5, #12] - 8009ade: 059a lsls r2, r3, #22 - 8009ae0: d402 bmi.n 8009ae8 <_vfiprintf_r+0x220> - 8009ae2: 6da8 ldr r0, [r5, #88] ; 0x58 - 8009ae4: f7ff fddd bl 80096a2 <__retarget_lock_release_recursive> - 8009ae8: 89ab ldrh r3, [r5, #12] - 8009aea: 065b lsls r3, r3, #25 - 8009aec: f53f af12 bmi.w 8009914 <_vfiprintf_r+0x4c> - 8009af0: 9809 ldr r0, [sp, #36] ; 0x24 - 8009af2: e711 b.n 8009918 <_vfiprintf_r+0x50> - 8009af4: ab03 add r3, sp, #12 - 8009af6: 9300 str r3, [sp, #0] - 8009af8: 462a mov r2, r5 - 8009afa: 4b09 ldr r3, [pc, #36] ; (8009b20 <_vfiprintf_r+0x258>) - 8009afc: a904 add r1, sp, #16 - 8009afe: 4630 mov r0, r6 - 8009b00: f000 f880 bl 8009c04 <_printf_i> - 8009b04: e7e4 b.n 8009ad0 <_vfiprintf_r+0x208> - 8009b06: bf00 nop - 8009b08: 0800c718 .word 0x0800c718 - 8009b0c: 0800c738 .word 0x0800c738 - 8009b10: 0800c6f8 .word 0x0800c6f8 - 8009b14: 0800c758 .word 0x0800c758 - 8009b18: 0800c762 .word 0x0800c762 - 8009b1c: 00000000 .word 0x00000000 - 8009b20: 080098a3 .word 0x080098a3 - 8009b24: 0800c75e .word 0x0800c75e - -08009b28 <_printf_common>: - 8009b28: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8009b2c: 4616 mov r6, r2 - 8009b2e: 4699 mov r9, r3 - 8009b30: 688a ldr r2, [r1, #8] - 8009b32: 690b ldr r3, [r1, #16] - 8009b34: f8dd 8020 ldr.w r8, [sp, #32] - 8009b38: 4293 cmp r3, r2 - 8009b3a: bfb8 it lt - 8009b3c: 4613 movlt r3, r2 - 8009b3e: 6033 str r3, [r6, #0] - 8009b40: f891 2043 ldrb.w r2, [r1, #67] ; 0x43 - 8009b44: 4607 mov r7, r0 - 8009b46: 460c mov r4, r1 - 8009b48: b10a cbz r2, 8009b4e <_printf_common+0x26> - 8009b4a: 3301 adds r3, #1 - 8009b4c: 6033 str r3, [r6, #0] - 8009b4e: 6823 ldr r3, [r4, #0] - 8009b50: 0699 lsls r1, r3, #26 - 8009b52: bf42 ittt mi - 8009b54: 6833 ldrmi r3, [r6, #0] - 8009b56: 3302 addmi r3, #2 - 8009b58: 6033 strmi r3, [r6, #0] - 8009b5a: 6825 ldr r5, [r4, #0] - 8009b5c: f015 0506 ands.w r5, r5, #6 - 8009b60: d106 bne.n 8009b70 <_printf_common+0x48> - 8009b62: f104 0a19 add.w sl, r4, #25 - 8009b66: 68e3 ldr r3, [r4, #12] - 8009b68: 6832 ldr r2, [r6, #0] - 8009b6a: 1a9b subs r3, r3, r2 - 8009b6c: 42ab cmp r3, r5 - 8009b6e: dc26 bgt.n 8009bbe <_printf_common+0x96> - 8009b70: f894 2043 ldrb.w r2, [r4, #67] ; 0x43 - 8009b74: 1e13 subs r3, r2, #0 - 8009b76: 6822 ldr r2, [r4, #0] - 8009b78: bf18 it ne - 8009b7a: 2301 movne r3, #1 - 8009b7c: 0692 lsls r2, r2, #26 - 8009b7e: d42b bmi.n 8009bd8 <_printf_common+0xb0> - 8009b80: f104 0243 add.w r2, r4, #67 ; 0x43 - 8009b84: 4649 mov r1, r9 - 8009b86: 4638 mov r0, r7 - 8009b88: 47c0 blx r8 - 8009b8a: 3001 adds r0, #1 - 8009b8c: d01e beq.n 8009bcc <_printf_common+0xa4> - 8009b8e: 6823 ldr r3, [r4, #0] - 8009b90: 68e5 ldr r5, [r4, #12] - 8009b92: 6832 ldr r2, [r6, #0] - 8009b94: f003 0306 and.w r3, r3, #6 - 8009b98: 2b04 cmp r3, #4 - 8009b9a: bf08 it eq - 8009b9c: 1aad subeq r5, r5, r2 - 8009b9e: 68a3 ldr r3, [r4, #8] - 8009ba0: 6922 ldr r2, [r4, #16] - 8009ba2: bf0c ite eq - 8009ba4: ea25 75e5 biceq.w r5, r5, r5, asr #31 - 8009ba8: 2500 movne r5, #0 - 8009baa: 4293 cmp r3, r2 - 8009bac: bfc4 itt gt - 8009bae: 1a9b subgt r3, r3, r2 - 8009bb0: 18ed addgt r5, r5, r3 - 8009bb2: 2600 movs r6, #0 - 8009bb4: 341a adds r4, #26 - 8009bb6: 42b5 cmp r5, r6 - 8009bb8: d11a bne.n 8009bf0 <_printf_common+0xc8> - 8009bba: 2000 movs r0, #0 - 8009bbc: e008 b.n 8009bd0 <_printf_common+0xa8> - 8009bbe: 2301 movs r3, #1 - 8009bc0: 4652 mov r2, sl - 8009bc2: 4649 mov r1, r9 - 8009bc4: 4638 mov r0, r7 - 8009bc6: 47c0 blx r8 - 8009bc8: 3001 adds r0, #1 - 8009bca: d103 bne.n 8009bd4 <_printf_common+0xac> - 8009bcc: f04f 30ff mov.w r0, #4294967295 - 8009bd0: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8009bd4: 3501 adds r5, #1 - 8009bd6: e7c6 b.n 8009b66 <_printf_common+0x3e> - 8009bd8: 18e1 adds r1, r4, r3 - 8009bda: 1c5a adds r2, r3, #1 - 8009bdc: 2030 movs r0, #48 ; 0x30 - 8009bde: f881 0043 strb.w r0, [r1, #67] ; 0x43 - 8009be2: 4422 add r2, r4 - 8009be4: f894 1045 ldrb.w r1, [r4, #69] ; 0x45 - 8009be8: f882 1043 strb.w r1, [r2, #67] ; 0x43 - 8009bec: 3302 adds r3, #2 - 8009bee: e7c7 b.n 8009b80 <_printf_common+0x58> - 8009bf0: 2301 movs r3, #1 - 8009bf2: 4622 mov r2, r4 - 8009bf4: 4649 mov r1, r9 - 8009bf6: 4638 mov r0, r7 - 8009bf8: 47c0 blx r8 - 8009bfa: 3001 adds r0, #1 - 8009bfc: d0e6 beq.n 8009bcc <_printf_common+0xa4> - 8009bfe: 3601 adds r6, #1 - 8009c00: e7d9 b.n 8009bb6 <_printf_common+0x8e> - ... - -08009c04 <_printf_i>: - 8009c04: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} - 8009c08: 7e0f ldrb r7, [r1, #24] - 8009c0a: 9d0c ldr r5, [sp, #48] ; 0x30 - 8009c0c: 2f78 cmp r7, #120 ; 0x78 - 8009c0e: 4691 mov r9, r2 - 8009c10: 4680 mov r8, r0 - 8009c12: 460c mov r4, r1 - 8009c14: 469a mov sl, r3 - 8009c16: f101 0243 add.w r2, r1, #67 ; 0x43 - 8009c1a: d807 bhi.n 8009c2c <_printf_i+0x28> - 8009c1c: 2f62 cmp r7, #98 ; 0x62 - 8009c1e: d80a bhi.n 8009c36 <_printf_i+0x32> - 8009c20: 2f00 cmp r7, #0 - 8009c22: f000 80d8 beq.w 8009dd6 <_printf_i+0x1d2> - 8009c26: 2f58 cmp r7, #88 ; 0x58 - 8009c28: f000 80a3 beq.w 8009d72 <_printf_i+0x16e> - 8009c2c: f104 0542 add.w r5, r4, #66 ; 0x42 - 8009c30: f884 7042 strb.w r7, [r4, #66] ; 0x42 - 8009c34: e03a b.n 8009cac <_printf_i+0xa8> - 8009c36: f1a7 0363 sub.w r3, r7, #99 ; 0x63 - 8009c3a: 2b15 cmp r3, #21 - 8009c3c: d8f6 bhi.n 8009c2c <_printf_i+0x28> - 8009c3e: a101 add r1, pc, #4 ; (adr r1, 8009c44 <_printf_i+0x40>) - 8009c40: f851 f023 ldr.w pc, [r1, r3, lsl #2] - 8009c44: 08009c9d .word 0x08009c9d - 8009c48: 08009cb1 .word 0x08009cb1 - 8009c4c: 08009c2d .word 0x08009c2d - 8009c50: 08009c2d .word 0x08009c2d - 8009c54: 08009c2d .word 0x08009c2d - 8009c58: 08009c2d .word 0x08009c2d - 8009c5c: 08009cb1 .word 0x08009cb1 - 8009c60: 08009c2d .word 0x08009c2d - 8009c64: 08009c2d .word 0x08009c2d - 8009c68: 08009c2d .word 0x08009c2d - 8009c6c: 08009c2d .word 0x08009c2d - 8009c70: 08009dbd .word 0x08009dbd - 8009c74: 08009ce1 .word 0x08009ce1 - 8009c78: 08009d9f .word 0x08009d9f - 8009c7c: 08009c2d .word 0x08009c2d - 8009c80: 08009c2d .word 0x08009c2d - 8009c84: 08009ddf .word 0x08009ddf - 8009c88: 08009c2d .word 0x08009c2d - 8009c8c: 08009ce1 .word 0x08009ce1 - 8009c90: 08009c2d .word 0x08009c2d - 8009c94: 08009c2d .word 0x08009c2d - 8009c98: 08009da7 .word 0x08009da7 - 8009c9c: 682b ldr r3, [r5, #0] - 8009c9e: 1d1a adds r2, r3, #4 - 8009ca0: 681b ldr r3, [r3, #0] - 8009ca2: 602a str r2, [r5, #0] - 8009ca4: f104 0542 add.w r5, r4, #66 ; 0x42 - 8009ca8: f884 3042 strb.w r3, [r4, #66] ; 0x42 - 8009cac: 2301 movs r3, #1 - 8009cae: e0a3 b.n 8009df8 <_printf_i+0x1f4> - 8009cb0: 6820 ldr r0, [r4, #0] - 8009cb2: 6829 ldr r1, [r5, #0] - 8009cb4: 0606 lsls r6, r0, #24 - 8009cb6: f101 0304 add.w r3, r1, #4 - 8009cba: d50a bpl.n 8009cd2 <_printf_i+0xce> - 8009cbc: 680e ldr r6, [r1, #0] - 8009cbe: 602b str r3, [r5, #0] - 8009cc0: 2e00 cmp r6, #0 - 8009cc2: da03 bge.n 8009ccc <_printf_i+0xc8> - 8009cc4: 232d movs r3, #45 ; 0x2d - 8009cc6: 4276 negs r6, r6 - 8009cc8: f884 3043 strb.w r3, [r4, #67] ; 0x43 - 8009ccc: 485e ldr r0, [pc, #376] ; (8009e48 <_printf_i+0x244>) - 8009cce: 230a movs r3, #10 - 8009cd0: e019 b.n 8009d06 <_printf_i+0x102> - 8009cd2: 680e ldr r6, [r1, #0] - 8009cd4: 602b str r3, [r5, #0] - 8009cd6: f010 0f40 tst.w r0, #64 ; 0x40 - 8009cda: bf18 it ne - 8009cdc: b236 sxthne r6, r6 - 8009cde: e7ef b.n 8009cc0 <_printf_i+0xbc> - 8009ce0: 682b ldr r3, [r5, #0] - 8009ce2: 6820 ldr r0, [r4, #0] - 8009ce4: 1d19 adds r1, r3, #4 - 8009ce6: 6029 str r1, [r5, #0] - 8009ce8: 0601 lsls r1, r0, #24 - 8009cea: d501 bpl.n 8009cf0 <_printf_i+0xec> - 8009cec: 681e ldr r6, [r3, #0] - 8009cee: e002 b.n 8009cf6 <_printf_i+0xf2> - 8009cf0: 0646 lsls r6, r0, #25 - 8009cf2: d5fb bpl.n 8009cec <_printf_i+0xe8> - 8009cf4: 881e ldrh r6, [r3, #0] - 8009cf6: 4854 ldr r0, [pc, #336] ; (8009e48 <_printf_i+0x244>) - 8009cf8: 2f6f cmp r7, #111 ; 0x6f - 8009cfa: bf0c ite eq - 8009cfc: 2308 moveq r3, #8 - 8009cfe: 230a movne r3, #10 - 8009d00: 2100 movs r1, #0 - 8009d02: f884 1043 strb.w r1, [r4, #67] ; 0x43 - 8009d06: 6865 ldr r5, [r4, #4] - 8009d08: 60a5 str r5, [r4, #8] - 8009d0a: 2d00 cmp r5, #0 - 8009d0c: bfa2 ittt ge - 8009d0e: 6821 ldrge r1, [r4, #0] - 8009d10: f021 0104 bicge.w r1, r1, #4 - 8009d14: 6021 strge r1, [r4, #0] - 8009d16: b90e cbnz r6, 8009d1c <_printf_i+0x118> - 8009d18: 2d00 cmp r5, #0 - 8009d1a: d04d beq.n 8009db8 <_printf_i+0x1b4> - 8009d1c: 4615 mov r5, r2 - 8009d1e: fbb6 f1f3 udiv r1, r6, r3 - 8009d22: fb03 6711 mls r7, r3, r1, r6 - 8009d26: 5dc7 ldrb r7, [r0, r7] - 8009d28: f805 7d01 strb.w r7, [r5, #-1]! - 8009d2c: 4637 mov r7, r6 - 8009d2e: 42bb cmp r3, r7 - 8009d30: 460e mov r6, r1 - 8009d32: d9f4 bls.n 8009d1e <_printf_i+0x11a> - 8009d34: 2b08 cmp r3, #8 - 8009d36: d10b bne.n 8009d50 <_printf_i+0x14c> - 8009d38: 6823 ldr r3, [r4, #0] - 8009d3a: 07de lsls r6, r3, #31 - 8009d3c: d508 bpl.n 8009d50 <_printf_i+0x14c> - 8009d3e: 6923 ldr r3, [r4, #16] - 8009d40: 6861 ldr r1, [r4, #4] - 8009d42: 4299 cmp r1, r3 - 8009d44: bfde ittt le - 8009d46: 2330 movle r3, #48 ; 0x30 - 8009d48: f805 3c01 strble.w r3, [r5, #-1] - 8009d4c: f105 35ff addle.w r5, r5, #4294967295 - 8009d50: 1b52 subs r2, r2, r5 - 8009d52: 6122 str r2, [r4, #16] - 8009d54: f8cd a000 str.w sl, [sp] - 8009d58: 464b mov r3, r9 - 8009d5a: aa03 add r2, sp, #12 - 8009d5c: 4621 mov r1, r4 - 8009d5e: 4640 mov r0, r8 - 8009d60: f7ff fee2 bl 8009b28 <_printf_common> - 8009d64: 3001 adds r0, #1 - 8009d66: d14c bne.n 8009e02 <_printf_i+0x1fe> - 8009d68: f04f 30ff mov.w r0, #4294967295 - 8009d6c: b004 add sp, #16 - 8009d6e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8009d72: 4835 ldr r0, [pc, #212] ; (8009e48 <_printf_i+0x244>) - 8009d74: f881 7045 strb.w r7, [r1, #69] ; 0x45 - 8009d78: 6829 ldr r1, [r5, #0] - 8009d7a: 6823 ldr r3, [r4, #0] - 8009d7c: f851 6b04 ldr.w r6, [r1], #4 - 8009d80: 6029 str r1, [r5, #0] - 8009d82: 061d lsls r5, r3, #24 - 8009d84: d514 bpl.n 8009db0 <_printf_i+0x1ac> - 8009d86: 07df lsls r7, r3, #31 - 8009d88: bf44 itt mi - 8009d8a: f043 0320 orrmi.w r3, r3, #32 - 8009d8e: 6023 strmi r3, [r4, #0] - 8009d90: b91e cbnz r6, 8009d9a <_printf_i+0x196> - 8009d92: 6823 ldr r3, [r4, #0] - 8009d94: f023 0320 bic.w r3, r3, #32 - 8009d98: 6023 str r3, [r4, #0] - 8009d9a: 2310 movs r3, #16 - 8009d9c: e7b0 b.n 8009d00 <_printf_i+0xfc> - 8009d9e: 6823 ldr r3, [r4, #0] - 8009da0: f043 0320 orr.w r3, r3, #32 - 8009da4: 6023 str r3, [r4, #0] - 8009da6: 2378 movs r3, #120 ; 0x78 - 8009da8: 4828 ldr r0, [pc, #160] ; (8009e4c <_printf_i+0x248>) - 8009daa: f884 3045 strb.w r3, [r4, #69] ; 0x45 - 8009dae: e7e3 b.n 8009d78 <_printf_i+0x174> - 8009db0: 0659 lsls r1, r3, #25 - 8009db2: bf48 it mi - 8009db4: b2b6 uxthmi r6, r6 - 8009db6: e7e6 b.n 8009d86 <_printf_i+0x182> - 8009db8: 4615 mov r5, r2 - 8009dba: e7bb b.n 8009d34 <_printf_i+0x130> - 8009dbc: 682b ldr r3, [r5, #0] - 8009dbe: 6826 ldr r6, [r4, #0] - 8009dc0: 6961 ldr r1, [r4, #20] - 8009dc2: 1d18 adds r0, r3, #4 - 8009dc4: 6028 str r0, [r5, #0] - 8009dc6: 0635 lsls r5, r6, #24 - 8009dc8: 681b ldr r3, [r3, #0] - 8009dca: d501 bpl.n 8009dd0 <_printf_i+0x1cc> - 8009dcc: 6019 str r1, [r3, #0] - 8009dce: e002 b.n 8009dd6 <_printf_i+0x1d2> - 8009dd0: 0670 lsls r0, r6, #25 - 8009dd2: d5fb bpl.n 8009dcc <_printf_i+0x1c8> - 8009dd4: 8019 strh r1, [r3, #0] - 8009dd6: 2300 movs r3, #0 - 8009dd8: 6123 str r3, [r4, #16] - 8009dda: 4615 mov r5, r2 - 8009ddc: e7ba b.n 8009d54 <_printf_i+0x150> - 8009dde: 682b ldr r3, [r5, #0] - 8009de0: 1d1a adds r2, r3, #4 - 8009de2: 602a str r2, [r5, #0] - 8009de4: 681d ldr r5, [r3, #0] - 8009de6: 6862 ldr r2, [r4, #4] - 8009de8: 2100 movs r1, #0 - 8009dea: 4628 mov r0, r5 - 8009dec: f7f6 fa00 bl 80001f0 - 8009df0: b108 cbz r0, 8009df6 <_printf_i+0x1f2> - 8009df2: 1b40 subs r0, r0, r5 - 8009df4: 6060 str r0, [r4, #4] - 8009df6: 6863 ldr r3, [r4, #4] - 8009df8: 6123 str r3, [r4, #16] - 8009dfa: 2300 movs r3, #0 - 8009dfc: f884 3043 strb.w r3, [r4, #67] ; 0x43 - 8009e00: e7a8 b.n 8009d54 <_printf_i+0x150> - 8009e02: 6923 ldr r3, [r4, #16] - 8009e04: 462a mov r2, r5 - 8009e06: 4649 mov r1, r9 - 8009e08: 4640 mov r0, r8 - 8009e0a: 47d0 blx sl - 8009e0c: 3001 adds r0, #1 - 8009e0e: d0ab beq.n 8009d68 <_printf_i+0x164> - 8009e10: 6823 ldr r3, [r4, #0] - 8009e12: 079b lsls r3, r3, #30 - 8009e14: d413 bmi.n 8009e3e <_printf_i+0x23a> - 8009e16: 68e0 ldr r0, [r4, #12] - 8009e18: 9b03 ldr r3, [sp, #12] - 8009e1a: 4298 cmp r0, r3 - 8009e1c: bfb8 it lt - 8009e1e: 4618 movlt r0, r3 - 8009e20: e7a4 b.n 8009d6c <_printf_i+0x168> - 8009e22: 2301 movs r3, #1 - 8009e24: 4632 mov r2, r6 - 8009e26: 4649 mov r1, r9 - 8009e28: 4640 mov r0, r8 - 8009e2a: 47d0 blx sl - 8009e2c: 3001 adds r0, #1 - 8009e2e: d09b beq.n 8009d68 <_printf_i+0x164> - 8009e30: 3501 adds r5, #1 - 8009e32: 68e3 ldr r3, [r4, #12] - 8009e34: 9903 ldr r1, [sp, #12] - 8009e36: 1a5b subs r3, r3, r1 - 8009e38: 42ab cmp r3, r5 - 8009e3a: dcf2 bgt.n 8009e22 <_printf_i+0x21e> - 8009e3c: e7eb b.n 8009e16 <_printf_i+0x212> - 8009e3e: 2500 movs r5, #0 - 8009e40: f104 0619 add.w r6, r4, #25 - 8009e44: e7f5 b.n 8009e32 <_printf_i+0x22e> - 8009e46: bf00 nop - 8009e48: 0800c769 .word 0x0800c769 - 8009e4c: 0800c77a .word 0x0800c77a - -08009e50 <_sbrk_r>: - 8009e50: b538 push {r3, r4, r5, lr} - 8009e52: 4d06 ldr r5, [pc, #24] ; (8009e6c <_sbrk_r+0x1c>) - 8009e54: 2300 movs r3, #0 - 8009e56: 4604 mov r4, r0 - 8009e58: 4608 mov r0, r1 - 8009e5a: 602b str r3, [r5, #0] - 8009e5c: f000 fb2c bl 800a4b8 <_sbrk> - 8009e60: 1c43 adds r3, r0, #1 - 8009e62: d102 bne.n 8009e6a <_sbrk_r+0x1a> - 8009e64: 682b ldr r3, [r5, #0] - 8009e66: b103 cbz r3, 8009e6a <_sbrk_r+0x1a> - 8009e68: 6023 str r3, [r4, #0] - 8009e6a: bd38 pop {r3, r4, r5, pc} - 8009e6c: 2000844c .word 0x2000844c - -08009e70 <__sread>: - 8009e70: b510 push {r4, lr} - 8009e72: 460c mov r4, r1 - 8009e74: f9b1 100e ldrsh.w r1, [r1, #14] - 8009e78: f000 fa6e bl 800a358 <_read_r> - 8009e7c: 2800 cmp r0, #0 - 8009e7e: bfab itete ge - 8009e80: 6d63 ldrge r3, [r4, #84] ; 0x54 - 8009e82: 89a3 ldrhlt r3, [r4, #12] - 8009e84: 181b addge r3, r3, r0 - 8009e86: f423 5380 biclt.w r3, r3, #4096 ; 0x1000 - 8009e8a: bfac ite ge - 8009e8c: 6563 strge r3, [r4, #84] ; 0x54 - 8009e8e: 81a3 strhlt r3, [r4, #12] - 8009e90: bd10 pop {r4, pc} - -08009e92 <__swrite>: - 8009e92: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8009e96: 461f mov r7, r3 - 8009e98: 898b ldrh r3, [r1, #12] - 8009e9a: 05db lsls r3, r3, #23 - 8009e9c: 4605 mov r5, r0 - 8009e9e: 460c mov r4, r1 - 8009ea0: 4616 mov r6, r2 - 8009ea2: d505 bpl.n 8009eb0 <__swrite+0x1e> - 8009ea4: f9b1 100e ldrsh.w r1, [r1, #14] - 8009ea8: 2302 movs r3, #2 - 8009eaa: 2200 movs r2, #0 - 8009eac: f000 f9d0 bl 800a250 <_lseek_r> - 8009eb0: 89a3 ldrh r3, [r4, #12] - 8009eb2: f9b4 100e ldrsh.w r1, [r4, #14] - 8009eb6: f423 5380 bic.w r3, r3, #4096 ; 0x1000 - 8009eba: 81a3 strh r3, [r4, #12] - 8009ebc: 4632 mov r2, r6 - 8009ebe: 463b mov r3, r7 - 8009ec0: 4628 mov r0, r5 - 8009ec2: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8009ec6: f000 b869 b.w 8009f9c <_write_r> - -08009eca <__sseek>: - 8009eca: b510 push {r4, lr} - 8009ecc: 460c mov r4, r1 - 8009ece: f9b1 100e ldrsh.w r1, [r1, #14] - 8009ed2: f000 f9bd bl 800a250 <_lseek_r> - 8009ed6: 1c43 adds r3, r0, #1 - 8009ed8: 89a3 ldrh r3, [r4, #12] - 8009eda: bf15 itete ne - 8009edc: 6560 strne r0, [r4, #84] ; 0x54 - 8009ede: f423 5380 biceq.w r3, r3, #4096 ; 0x1000 - 8009ee2: f443 5380 orrne.w r3, r3, #4096 ; 0x1000 - 8009ee6: 81a3 strheq r3, [r4, #12] - 8009ee8: bf18 it ne - 8009eea: 81a3 strhne r3, [r4, #12] - 8009eec: bd10 pop {r4, pc} - -08009eee <__sclose>: - 8009eee: f9b1 100e ldrsh.w r1, [r1, #14] - 8009ef2: f000 b8db b.w 800a0ac <_close_r> - ... - -08009ef8 <__swbuf_r>: - 8009ef8: b5f8 push {r3, r4, r5, r6, r7, lr} - 8009efa: 460e mov r6, r1 - 8009efc: 4614 mov r4, r2 - 8009efe: 4605 mov r5, r0 - 8009f00: b118 cbz r0, 8009f0a <__swbuf_r+0x12> - 8009f02: 6983 ldr r3, [r0, #24] - 8009f04: b90b cbnz r3, 8009f0a <__swbuf_r+0x12> - 8009f06: f7ff fb1b bl 8009540 <__sinit> - 8009f0a: 4b21 ldr r3, [pc, #132] ; (8009f90 <__swbuf_r+0x98>) - 8009f0c: 429c cmp r4, r3 - 8009f0e: d12b bne.n 8009f68 <__swbuf_r+0x70> - 8009f10: 686c ldr r4, [r5, #4] - 8009f12: 69a3 ldr r3, [r4, #24] - 8009f14: 60a3 str r3, [r4, #8] - 8009f16: 89a3 ldrh r3, [r4, #12] - 8009f18: 071a lsls r2, r3, #28 - 8009f1a: d52f bpl.n 8009f7c <__swbuf_r+0x84> - 8009f1c: 6923 ldr r3, [r4, #16] - 8009f1e: b36b cbz r3, 8009f7c <__swbuf_r+0x84> - 8009f20: 6923 ldr r3, [r4, #16] - 8009f22: 6820 ldr r0, [r4, #0] - 8009f24: 1ac0 subs r0, r0, r3 - 8009f26: 6963 ldr r3, [r4, #20] - 8009f28: b2f6 uxtb r6, r6 - 8009f2a: 4283 cmp r3, r0 - 8009f2c: 4637 mov r7, r6 - 8009f2e: dc04 bgt.n 8009f3a <__swbuf_r+0x42> - 8009f30: 4621 mov r1, r4 - 8009f32: 4628 mov r0, r5 - 8009f34: f000 f950 bl 800a1d8 <_fflush_r> - 8009f38: bb30 cbnz r0, 8009f88 <__swbuf_r+0x90> - 8009f3a: 68a3 ldr r3, [r4, #8] - 8009f3c: 3b01 subs r3, #1 - 8009f3e: 60a3 str r3, [r4, #8] - 8009f40: 6823 ldr r3, [r4, #0] - 8009f42: 1c5a adds r2, r3, #1 - 8009f44: 6022 str r2, [r4, #0] - 8009f46: 701e strb r6, [r3, #0] - 8009f48: 6963 ldr r3, [r4, #20] - 8009f4a: 3001 adds r0, #1 - 8009f4c: 4283 cmp r3, r0 - 8009f4e: d004 beq.n 8009f5a <__swbuf_r+0x62> - 8009f50: 89a3 ldrh r3, [r4, #12] - 8009f52: 07db lsls r3, r3, #31 - 8009f54: d506 bpl.n 8009f64 <__swbuf_r+0x6c> - 8009f56: 2e0a cmp r6, #10 - 8009f58: d104 bne.n 8009f64 <__swbuf_r+0x6c> - 8009f5a: 4621 mov r1, r4 - 8009f5c: 4628 mov r0, r5 - 8009f5e: f000 f93b bl 800a1d8 <_fflush_r> - 8009f62: b988 cbnz r0, 8009f88 <__swbuf_r+0x90> - 8009f64: 4638 mov r0, r7 - 8009f66: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8009f68: 4b0a ldr r3, [pc, #40] ; (8009f94 <__swbuf_r+0x9c>) - 8009f6a: 429c cmp r4, r3 - 8009f6c: d101 bne.n 8009f72 <__swbuf_r+0x7a> - 8009f6e: 68ac ldr r4, [r5, #8] - 8009f70: e7cf b.n 8009f12 <__swbuf_r+0x1a> - 8009f72: 4b09 ldr r3, [pc, #36] ; (8009f98 <__swbuf_r+0xa0>) - 8009f74: 429c cmp r4, r3 - 8009f76: bf08 it eq - 8009f78: 68ec ldreq r4, [r5, #12] - 8009f7a: e7ca b.n 8009f12 <__swbuf_r+0x1a> - 8009f7c: 4621 mov r1, r4 - 8009f7e: 4628 mov r0, r5 - 8009f80: f000 f81e bl 8009fc0 <__swsetup_r> - 8009f84: 2800 cmp r0, #0 - 8009f86: d0cb beq.n 8009f20 <__swbuf_r+0x28> - 8009f88: f04f 37ff mov.w r7, #4294967295 - 8009f8c: e7ea b.n 8009f64 <__swbuf_r+0x6c> - 8009f8e: bf00 nop - 8009f90: 0800c718 .word 0x0800c718 - 8009f94: 0800c738 .word 0x0800c738 - 8009f98: 0800c6f8 .word 0x0800c6f8 - -08009f9c <_write_r>: - 8009f9c: b538 push {r3, r4, r5, lr} - 8009f9e: 4d07 ldr r5, [pc, #28] ; (8009fbc <_write_r+0x20>) - 8009fa0: 4604 mov r4, r0 - 8009fa2: 4608 mov r0, r1 - 8009fa4: 4611 mov r1, r2 - 8009fa6: 2200 movs r2, #0 - 8009fa8: 602a str r2, [r5, #0] - 8009faa: 461a mov r2, r3 - 8009fac: f000 fa92 bl 800a4d4 <_write> - 8009fb0: 1c43 adds r3, r0, #1 - 8009fb2: d102 bne.n 8009fba <_write_r+0x1e> - 8009fb4: 682b ldr r3, [r5, #0] - 8009fb6: b103 cbz r3, 8009fba <_write_r+0x1e> - 8009fb8: 6023 str r3, [r4, #0] - 8009fba: bd38 pop {r3, r4, r5, pc} - 8009fbc: 2000844c .word 0x2000844c - -08009fc0 <__swsetup_r>: - 8009fc0: 4b32 ldr r3, [pc, #200] ; (800a08c <__swsetup_r+0xcc>) - 8009fc2: b570 push {r4, r5, r6, lr} - 8009fc4: 681d ldr r5, [r3, #0] - 8009fc6: 4606 mov r6, r0 - 8009fc8: 460c mov r4, r1 - 8009fca: b125 cbz r5, 8009fd6 <__swsetup_r+0x16> - 8009fcc: 69ab ldr r3, [r5, #24] - 8009fce: b913 cbnz r3, 8009fd6 <__swsetup_r+0x16> - 8009fd0: 4628 mov r0, r5 - 8009fd2: f7ff fab5 bl 8009540 <__sinit> - 8009fd6: 4b2e ldr r3, [pc, #184] ; (800a090 <__swsetup_r+0xd0>) - 8009fd8: 429c cmp r4, r3 - 8009fda: d10f bne.n 8009ffc <__swsetup_r+0x3c> - 8009fdc: 686c ldr r4, [r5, #4] - 8009fde: 89a3 ldrh r3, [r4, #12] - 8009fe0: f9b4 200c ldrsh.w r2, [r4, #12] - 8009fe4: 0719 lsls r1, r3, #28 - 8009fe6: d42c bmi.n 800a042 <__swsetup_r+0x82> - 8009fe8: 06dd lsls r5, r3, #27 - 8009fea: d411 bmi.n 800a010 <__swsetup_r+0x50> - 8009fec: 2309 movs r3, #9 - 8009fee: 6033 str r3, [r6, #0] - 8009ff0: f042 0340 orr.w r3, r2, #64 ; 0x40 - 8009ff4: 81a3 strh r3, [r4, #12] - 8009ff6: f04f 30ff mov.w r0, #4294967295 - 8009ffa: e03e b.n 800a07a <__swsetup_r+0xba> - 8009ffc: 4b25 ldr r3, [pc, #148] ; (800a094 <__swsetup_r+0xd4>) - 8009ffe: 429c cmp r4, r3 - 800a000: d101 bne.n 800a006 <__swsetup_r+0x46> - 800a002: 68ac ldr r4, [r5, #8] - 800a004: e7eb b.n 8009fde <__swsetup_r+0x1e> - 800a006: 4b24 ldr r3, [pc, #144] ; (800a098 <__swsetup_r+0xd8>) - 800a008: 429c cmp r4, r3 - 800a00a: bf08 it eq - 800a00c: 68ec ldreq r4, [r5, #12] - 800a00e: e7e6 b.n 8009fde <__swsetup_r+0x1e> - 800a010: 0758 lsls r0, r3, #29 - 800a012: d512 bpl.n 800a03a <__swsetup_r+0x7a> - 800a014: 6b61 ldr r1, [r4, #52] ; 0x34 - 800a016: b141 cbz r1, 800a02a <__swsetup_r+0x6a> - 800a018: f104 0344 add.w r3, r4, #68 ; 0x44 - 800a01c: 4299 cmp r1, r3 - 800a01e: d002 beq.n 800a026 <__swsetup_r+0x66> - 800a020: 4630 mov r0, r6 - 800a022: f7ff fb47 bl 80096b4 <_free_r> - 800a026: 2300 movs r3, #0 - 800a028: 6363 str r3, [r4, #52] ; 0x34 - 800a02a: 89a3 ldrh r3, [r4, #12] - 800a02c: f023 0324 bic.w r3, r3, #36 ; 0x24 - 800a030: 81a3 strh r3, [r4, #12] - 800a032: 2300 movs r3, #0 - 800a034: 6063 str r3, [r4, #4] - 800a036: 6923 ldr r3, [r4, #16] - 800a038: 6023 str r3, [r4, #0] - 800a03a: 89a3 ldrh r3, [r4, #12] - 800a03c: f043 0308 orr.w r3, r3, #8 - 800a040: 81a3 strh r3, [r4, #12] - 800a042: 6923 ldr r3, [r4, #16] - 800a044: b94b cbnz r3, 800a05a <__swsetup_r+0x9a> - 800a046: 89a3 ldrh r3, [r4, #12] - 800a048: f403 7320 and.w r3, r3, #640 ; 0x280 - 800a04c: f5b3 7f00 cmp.w r3, #512 ; 0x200 - 800a050: d003 beq.n 800a05a <__swsetup_r+0x9a> - 800a052: 4621 mov r1, r4 - 800a054: 4630 mov r0, r6 - 800a056: f000 f933 bl 800a2c0 <__smakebuf_r> - 800a05a: 89a0 ldrh r0, [r4, #12] - 800a05c: f9b4 200c ldrsh.w r2, [r4, #12] - 800a060: f010 0301 ands.w r3, r0, #1 - 800a064: d00a beq.n 800a07c <__swsetup_r+0xbc> - 800a066: 2300 movs r3, #0 - 800a068: 60a3 str r3, [r4, #8] - 800a06a: 6963 ldr r3, [r4, #20] - 800a06c: 425b negs r3, r3 - 800a06e: 61a3 str r3, [r4, #24] - 800a070: 6923 ldr r3, [r4, #16] - 800a072: b943 cbnz r3, 800a086 <__swsetup_r+0xc6> - 800a074: f010 0080 ands.w r0, r0, #128 ; 0x80 - 800a078: d1ba bne.n 8009ff0 <__swsetup_r+0x30> - 800a07a: bd70 pop {r4, r5, r6, pc} - 800a07c: 0781 lsls r1, r0, #30 - 800a07e: bf58 it pl - 800a080: 6963 ldrpl r3, [r4, #20] - 800a082: 60a3 str r3, [r4, #8] - 800a084: e7f4 b.n 800a070 <__swsetup_r+0xb0> - 800a086: 2000 movs r0, #0 - 800a088: e7f7 b.n 800a07a <__swsetup_r+0xba> - 800a08a: bf00 nop - 800a08c: 20000028 .word 0x20000028 - 800a090: 0800c718 .word 0x0800c718 - 800a094: 0800c738 .word 0x0800c738 - 800a098: 0800c6f8 .word 0x0800c6f8 - -0800a09c : - 800a09c: b508 push {r3, lr} - 800a09e: 2006 movs r0, #6 - 800a0a0: f000 f994 bl 800a3cc - 800a0a4: 2001 movs r0, #1 - 800a0a6: f000 fa1d bl 800a4e4 <_exit> - ... - -0800a0ac <_close_r>: - 800a0ac: b538 push {r3, r4, r5, lr} - 800a0ae: 4d06 ldr r5, [pc, #24] ; (800a0c8 <_close_r+0x1c>) - 800a0b0: 2300 movs r3, #0 - 800a0b2: 4604 mov r4, r0 - 800a0b4: 4608 mov r0, r1 - 800a0b6: 602b str r3, [r5, #0] - 800a0b8: f000 f9c6 bl 800a448 <_close> - 800a0bc: 1c43 adds r3, r0, #1 - 800a0be: d102 bne.n 800a0c6 <_close_r+0x1a> - 800a0c0: 682b ldr r3, [r5, #0] - 800a0c2: b103 cbz r3, 800a0c6 <_close_r+0x1a> - 800a0c4: 6023 str r3, [r4, #0] - 800a0c6: bd38 pop {r3, r4, r5, pc} - 800a0c8: 2000844c .word 0x2000844c - -0800a0cc <__sflush_r>: - 800a0cc: 898a ldrh r2, [r1, #12] - 800a0ce: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800a0d2: 4605 mov r5, r0 - 800a0d4: 0710 lsls r0, r2, #28 - 800a0d6: 460c mov r4, r1 - 800a0d8: d458 bmi.n 800a18c <__sflush_r+0xc0> - 800a0da: 684b ldr r3, [r1, #4] - 800a0dc: 2b00 cmp r3, #0 - 800a0de: dc05 bgt.n 800a0ec <__sflush_r+0x20> - 800a0e0: 6c0b ldr r3, [r1, #64] ; 0x40 - 800a0e2: 2b00 cmp r3, #0 - 800a0e4: dc02 bgt.n 800a0ec <__sflush_r+0x20> - 800a0e6: 2000 movs r0, #0 - 800a0e8: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800a0ec: 6ae6 ldr r6, [r4, #44] ; 0x2c - 800a0ee: 2e00 cmp r6, #0 - 800a0f0: d0f9 beq.n 800a0e6 <__sflush_r+0x1a> - 800a0f2: 2300 movs r3, #0 - 800a0f4: f412 5280 ands.w r2, r2, #4096 ; 0x1000 - 800a0f8: 682f ldr r7, [r5, #0] - 800a0fa: 602b str r3, [r5, #0] - 800a0fc: d032 beq.n 800a164 <__sflush_r+0x98> - 800a0fe: 6d60 ldr r0, [r4, #84] ; 0x54 - 800a100: 89a3 ldrh r3, [r4, #12] - 800a102: 075a lsls r2, r3, #29 - 800a104: d505 bpl.n 800a112 <__sflush_r+0x46> - 800a106: 6863 ldr r3, [r4, #4] - 800a108: 1ac0 subs r0, r0, r3 - 800a10a: 6b63 ldr r3, [r4, #52] ; 0x34 - 800a10c: b10b cbz r3, 800a112 <__sflush_r+0x46> - 800a10e: 6c23 ldr r3, [r4, #64] ; 0x40 - 800a110: 1ac0 subs r0, r0, r3 - 800a112: 2300 movs r3, #0 - 800a114: 4602 mov r2, r0 - 800a116: 6ae6 ldr r6, [r4, #44] ; 0x2c - 800a118: 6a21 ldr r1, [r4, #32] - 800a11a: 4628 mov r0, r5 - 800a11c: 47b0 blx r6 - 800a11e: 1c43 adds r3, r0, #1 - 800a120: 89a3 ldrh r3, [r4, #12] - 800a122: d106 bne.n 800a132 <__sflush_r+0x66> - 800a124: 6829 ldr r1, [r5, #0] - 800a126: 291d cmp r1, #29 - 800a128: d82c bhi.n 800a184 <__sflush_r+0xb8> - 800a12a: 4a2a ldr r2, [pc, #168] ; (800a1d4 <__sflush_r+0x108>) - 800a12c: 40ca lsrs r2, r1 - 800a12e: 07d6 lsls r6, r2, #31 - 800a130: d528 bpl.n 800a184 <__sflush_r+0xb8> - 800a132: 2200 movs r2, #0 - 800a134: 6062 str r2, [r4, #4] - 800a136: 04d9 lsls r1, r3, #19 - 800a138: 6922 ldr r2, [r4, #16] - 800a13a: 6022 str r2, [r4, #0] - 800a13c: d504 bpl.n 800a148 <__sflush_r+0x7c> - 800a13e: 1c42 adds r2, r0, #1 - 800a140: d101 bne.n 800a146 <__sflush_r+0x7a> - 800a142: 682b ldr r3, [r5, #0] - 800a144: b903 cbnz r3, 800a148 <__sflush_r+0x7c> - 800a146: 6560 str r0, [r4, #84] ; 0x54 - 800a148: 6b61 ldr r1, [r4, #52] ; 0x34 - 800a14a: 602f str r7, [r5, #0] - 800a14c: 2900 cmp r1, #0 - 800a14e: d0ca beq.n 800a0e6 <__sflush_r+0x1a> - 800a150: f104 0344 add.w r3, r4, #68 ; 0x44 - 800a154: 4299 cmp r1, r3 - 800a156: d002 beq.n 800a15e <__sflush_r+0x92> - 800a158: 4628 mov r0, r5 - 800a15a: f7ff faab bl 80096b4 <_free_r> - 800a15e: 2000 movs r0, #0 - 800a160: 6360 str r0, [r4, #52] ; 0x34 - 800a162: e7c1 b.n 800a0e8 <__sflush_r+0x1c> - 800a164: 6a21 ldr r1, [r4, #32] - 800a166: 2301 movs r3, #1 - 800a168: 4628 mov r0, r5 - 800a16a: 47b0 blx r6 - 800a16c: 1c41 adds r1, r0, #1 - 800a16e: d1c7 bne.n 800a100 <__sflush_r+0x34> - 800a170: 682b ldr r3, [r5, #0] - 800a172: 2b00 cmp r3, #0 - 800a174: d0c4 beq.n 800a100 <__sflush_r+0x34> - 800a176: 2b1d cmp r3, #29 - 800a178: d001 beq.n 800a17e <__sflush_r+0xb2> - 800a17a: 2b16 cmp r3, #22 - 800a17c: d101 bne.n 800a182 <__sflush_r+0xb6> - 800a17e: 602f str r7, [r5, #0] - 800a180: e7b1 b.n 800a0e6 <__sflush_r+0x1a> - 800a182: 89a3 ldrh r3, [r4, #12] - 800a184: f043 0340 orr.w r3, r3, #64 ; 0x40 - 800a188: 81a3 strh r3, [r4, #12] - 800a18a: e7ad b.n 800a0e8 <__sflush_r+0x1c> - 800a18c: 690f ldr r7, [r1, #16] - 800a18e: 2f00 cmp r7, #0 - 800a190: d0a9 beq.n 800a0e6 <__sflush_r+0x1a> - 800a192: 0793 lsls r3, r2, #30 - 800a194: 680e ldr r6, [r1, #0] - 800a196: bf08 it eq - 800a198: 694b ldreq r3, [r1, #20] - 800a19a: 600f str r7, [r1, #0] - 800a19c: bf18 it ne - 800a19e: 2300 movne r3, #0 - 800a1a0: eba6 0807 sub.w r8, r6, r7 - 800a1a4: 608b str r3, [r1, #8] - 800a1a6: f1b8 0f00 cmp.w r8, #0 - 800a1aa: dd9c ble.n 800a0e6 <__sflush_r+0x1a> - 800a1ac: 6a21 ldr r1, [r4, #32] - 800a1ae: 6aa6 ldr r6, [r4, #40] ; 0x28 - 800a1b0: 4643 mov r3, r8 - 800a1b2: 463a mov r2, r7 - 800a1b4: 4628 mov r0, r5 - 800a1b6: 47b0 blx r6 - 800a1b8: 2800 cmp r0, #0 - 800a1ba: dc06 bgt.n 800a1ca <__sflush_r+0xfe> - 800a1bc: 89a3 ldrh r3, [r4, #12] - 800a1be: f043 0340 orr.w r3, r3, #64 ; 0x40 - 800a1c2: 81a3 strh r3, [r4, #12] - 800a1c4: f04f 30ff mov.w r0, #4294967295 - 800a1c8: e78e b.n 800a0e8 <__sflush_r+0x1c> - 800a1ca: 4407 add r7, r0 - 800a1cc: eba8 0800 sub.w r8, r8, r0 - 800a1d0: e7e9 b.n 800a1a6 <__sflush_r+0xda> - 800a1d2: bf00 nop - 800a1d4: 20400001 .word 0x20400001 - -0800a1d8 <_fflush_r>: - 800a1d8: b538 push {r3, r4, r5, lr} - 800a1da: 690b ldr r3, [r1, #16] - 800a1dc: 4605 mov r5, r0 - 800a1de: 460c mov r4, r1 - 800a1e0: b913 cbnz r3, 800a1e8 <_fflush_r+0x10> - 800a1e2: 2500 movs r5, #0 - 800a1e4: 4628 mov r0, r5 - 800a1e6: bd38 pop {r3, r4, r5, pc} - 800a1e8: b118 cbz r0, 800a1f2 <_fflush_r+0x1a> - 800a1ea: 6983 ldr r3, [r0, #24] - 800a1ec: b90b cbnz r3, 800a1f2 <_fflush_r+0x1a> - 800a1ee: f7ff f9a7 bl 8009540 <__sinit> - 800a1f2: 4b14 ldr r3, [pc, #80] ; (800a244 <_fflush_r+0x6c>) - 800a1f4: 429c cmp r4, r3 - 800a1f6: d11b bne.n 800a230 <_fflush_r+0x58> - 800a1f8: 686c ldr r4, [r5, #4] - 800a1fa: f9b4 300c ldrsh.w r3, [r4, #12] - 800a1fe: 2b00 cmp r3, #0 - 800a200: d0ef beq.n 800a1e2 <_fflush_r+0xa> - 800a202: 6e62 ldr r2, [r4, #100] ; 0x64 - 800a204: 07d0 lsls r0, r2, #31 - 800a206: d404 bmi.n 800a212 <_fflush_r+0x3a> - 800a208: 0599 lsls r1, r3, #22 - 800a20a: d402 bmi.n 800a212 <_fflush_r+0x3a> - 800a20c: 6da0 ldr r0, [r4, #88] ; 0x58 - 800a20e: f7ff fa47 bl 80096a0 <__retarget_lock_acquire_recursive> - 800a212: 4628 mov r0, r5 - 800a214: 4621 mov r1, r4 - 800a216: f7ff ff59 bl 800a0cc <__sflush_r> - 800a21a: 6e63 ldr r3, [r4, #100] ; 0x64 - 800a21c: 07da lsls r2, r3, #31 - 800a21e: 4605 mov r5, r0 - 800a220: d4e0 bmi.n 800a1e4 <_fflush_r+0xc> - 800a222: 89a3 ldrh r3, [r4, #12] - 800a224: 059b lsls r3, r3, #22 - 800a226: d4dd bmi.n 800a1e4 <_fflush_r+0xc> - 800a228: 6da0 ldr r0, [r4, #88] ; 0x58 - 800a22a: f7ff fa3a bl 80096a2 <__retarget_lock_release_recursive> - 800a22e: e7d9 b.n 800a1e4 <_fflush_r+0xc> - 800a230: 4b05 ldr r3, [pc, #20] ; (800a248 <_fflush_r+0x70>) - 800a232: 429c cmp r4, r3 - 800a234: d101 bne.n 800a23a <_fflush_r+0x62> - 800a236: 68ac ldr r4, [r5, #8] - 800a238: e7df b.n 800a1fa <_fflush_r+0x22> - 800a23a: 4b04 ldr r3, [pc, #16] ; (800a24c <_fflush_r+0x74>) - 800a23c: 429c cmp r4, r3 - 800a23e: bf08 it eq - 800a240: 68ec ldreq r4, [r5, #12] - 800a242: e7da b.n 800a1fa <_fflush_r+0x22> - 800a244: 0800c718 .word 0x0800c718 - 800a248: 0800c738 .word 0x0800c738 - 800a24c: 0800c6f8 .word 0x0800c6f8 - -0800a250 <_lseek_r>: - 800a250: b538 push {r3, r4, r5, lr} - 800a252: 4d07 ldr r5, [pc, #28] ; (800a270 <_lseek_r+0x20>) - 800a254: 4604 mov r4, r0 - 800a256: 4608 mov r0, r1 - 800a258: 4611 mov r1, r2 - 800a25a: 2200 movs r2, #0 - 800a25c: 602a str r2, [r5, #0] - 800a25e: 461a mov r2, r3 - 800a260: f000 f91a bl 800a498 <_lseek> +0800a254 <_close_r>: + 800a254: b538 push {r3, r4, r5, lr} + 800a256: 4d06 ldr r5, [pc, #24] @ (800a270 <_close_r+0x1c>) + 800a258: 2300 movs r3, #0 + 800a25a: 4604 mov r4, r0 + 800a25c: 4608 mov r0, r1 + 800a25e: 602b str r3, [r5, #0] + 800a260: f000 fe94 bl 800af8c <_close> 800a264: 1c43 adds r3, r0, #1 - 800a266: d102 bne.n 800a26e <_lseek_r+0x1e> + 800a266: d102 bne.n 800a26e <_close_r+0x1a> 800a268: 682b ldr r3, [r5, #0] - 800a26a: b103 cbz r3, 800a26e <_lseek_r+0x1e> + 800a26a: b103 cbz r3, 800a26e <_close_r+0x1a> 800a26c: 6023 str r3, [r4, #0] 800a26e: bd38 pop {r3, r4, r5, pc} - 800a270: 2000844c .word 0x2000844c + 800a270: 20018d44 .word 0x20018d44 -0800a274 <__swhatbuf_r>: - 800a274: b570 push {r4, r5, r6, lr} - 800a276: 460e mov r6, r1 - 800a278: f9b1 100e ldrsh.w r1, [r1, #14] - 800a27c: 2900 cmp r1, #0 - 800a27e: b096 sub sp, #88 ; 0x58 - 800a280: 4614 mov r4, r2 - 800a282: 461d mov r5, r3 - 800a284: da08 bge.n 800a298 <__swhatbuf_r+0x24> - 800a286: f9b6 300c ldrsh.w r3, [r6, #12] - 800a28a: 2200 movs r2, #0 - 800a28c: 602a str r2, [r5, #0] - 800a28e: 061a lsls r2, r3, #24 - 800a290: d410 bmi.n 800a2b4 <__swhatbuf_r+0x40> - 800a292: f44f 6380 mov.w r3, #1024 ; 0x400 - 800a296: e00e b.n 800a2b6 <__swhatbuf_r+0x42> - 800a298: 466a mov r2, sp - 800a29a: f000 f8b3 bl 800a404 <_fstat_r> - 800a29e: 2800 cmp r0, #0 - 800a2a0: dbf1 blt.n 800a286 <__swhatbuf_r+0x12> - 800a2a2: 9a01 ldr r2, [sp, #4] - 800a2a4: f402 4270 and.w r2, r2, #61440 ; 0xf000 - 800a2a8: f5a2 5300 sub.w r3, r2, #8192 ; 0x2000 - 800a2ac: 425a negs r2, r3 - 800a2ae: 415a adcs r2, r3 - 800a2b0: 602a str r2, [r5, #0] - 800a2b2: e7ee b.n 800a292 <__swhatbuf_r+0x1e> - 800a2b4: 2340 movs r3, #64 ; 0x40 - 800a2b6: 2000 movs r0, #0 - 800a2b8: 6023 str r3, [r4, #0] - 800a2ba: b016 add sp, #88 ; 0x58 - 800a2bc: bd70 pop {r4, r5, r6, pc} +0800a274 <_lseek_r>: + 800a274: b538 push {r3, r4, r5, lr} + 800a276: 4d07 ldr r5, [pc, #28] @ (800a294 <_lseek_r+0x20>) + 800a278: 4604 mov r4, r0 + 800a27a: 4608 mov r0, r1 + 800a27c: 4611 mov r1, r2 + 800a27e: 2200 movs r2, #0 + 800a280: 602a str r2, [r5, #0] + 800a282: 461a mov r2, r3 + 800a284: f000 feaa bl 800afdc <_lseek> + 800a288: 1c43 adds r3, r0, #1 + 800a28a: d102 bne.n 800a292 <_lseek_r+0x1e> + 800a28c: 682b ldr r3, [r5, #0] + 800a28e: b103 cbz r3, 800a292 <_lseek_r+0x1e> + 800a290: 6023 str r3, [r4, #0] + 800a292: bd38 pop {r3, r4, r5, pc} + 800a294: 20018d44 .word 0x20018d44 + +0800a298 <_read_r>: + 800a298: b538 push {r3, r4, r5, lr} + 800a29a: 4d07 ldr r5, [pc, #28] @ (800a2b8 <_read_r+0x20>) + 800a29c: 4604 mov r4, r0 + 800a29e: 4608 mov r0, r1 + 800a2a0: 4611 mov r1, r2 + 800a2a2: 2200 movs r2, #0 + 800a2a4: 602a str r2, [r5, #0] + 800a2a6: 461a mov r2, r3 + 800a2a8: f000 fea0 bl 800afec <_read> + 800a2ac: 1c43 adds r3, r0, #1 + 800a2ae: d102 bne.n 800a2b6 <_read_r+0x1e> + 800a2b0: 682b ldr r3, [r5, #0] + 800a2b2: b103 cbz r3, 800a2b6 <_read_r+0x1e> + 800a2b4: 6023 str r3, [r4, #0] + 800a2b6: bd38 pop {r3, r4, r5, pc} + 800a2b8: 20018d44 .word 0x20018d44 + +0800a2bc <_write_r>: + 800a2bc: b538 push {r3, r4, r5, lr} + 800a2be: 4d07 ldr r5, [pc, #28] @ (800a2dc <_write_r+0x20>) + 800a2c0: 4604 mov r4, r0 + 800a2c2: 4608 mov r0, r1 + 800a2c4: 4611 mov r1, r2 + 800a2c6: 2200 movs r2, #0 + 800a2c8: 602a str r2, [r5, #0] + 800a2ca: 461a mov r2, r3 + 800a2cc: f000 fea4 bl 800b018 <_write> + 800a2d0: 1c43 adds r3, r0, #1 + 800a2d2: d102 bne.n 800a2da <_write_r+0x1e> + 800a2d4: 682b ldr r3, [r5, #0] + 800a2d6: b103 cbz r3, 800a2da <_write_r+0x1e> + 800a2d8: 6023 str r3, [r4, #0] + 800a2da: bd38 pop {r3, r4, r5, pc} + 800a2dc: 20018d44 .word 0x20018d44 + +0800a2e0 <__libc_init_array>: + 800a2e0: b570 push {r4, r5, r6, lr} + 800a2e2: 4d0d ldr r5, [pc, #52] @ (800a318 <__libc_init_array+0x38>) + 800a2e4: 4c0d ldr r4, [pc, #52] @ (800a31c <__libc_init_array+0x3c>) + 800a2e6: 1b64 subs r4, r4, r5 + 800a2e8: 10a4 asrs r4, r4, #2 + 800a2ea: 2600 movs r6, #0 + 800a2ec: 42a6 cmp r6, r4 + 800a2ee: d109 bne.n 800a304 <__libc_init_array+0x24> + 800a2f0: 4d0b ldr r5, [pc, #44] @ (800a320 <__libc_init_array+0x40>) + 800a2f2: 4c0c ldr r4, [pc, #48] @ (800a324 <__libc_init_array+0x44>) + 800a2f4: f000 fe9a bl 800b02c <_init> + 800a2f8: 1b64 subs r4, r4, r5 + 800a2fa: 10a4 asrs r4, r4, #2 + 800a2fc: 2600 movs r6, #0 + 800a2fe: 42a6 cmp r6, r4 + 800a300: d105 bne.n 800a30e <__libc_init_array+0x2e> + 800a302: bd70 pop {r4, r5, r6, pc} + 800a304: f855 3b04 ldr.w r3, [r5], #4 + 800a308: 4798 blx r3 + 800a30a: 3601 adds r6, #1 + 800a30c: e7ee b.n 800a2ec <__libc_init_array+0xc> + 800a30e: f855 3b04 ldr.w r3, [r5], #4 + 800a312: 4798 blx r3 + 800a314: 3601 adds r6, #1 + 800a316: e7f2 b.n 800a2fe <__libc_init_array+0x1e> + 800a318: 0800d274 .word 0x0800d274 + 800a31c: 0800d274 .word 0x0800d274 + 800a320: 0800d274 .word 0x0800d274 + 800a324: 0800d278 .word 0x0800d278 + +0800a328 <__retarget_lock_init_recursive>: + 800a328: 4770 bx lr + +0800a32a <__retarget_lock_acquire_recursive>: + 800a32a: 4770 bx lr + +0800a32c <__retarget_lock_release_recursive>: + 800a32c: 4770 bx lr + +0800a32e : + 800a32e: 440a add r2, r1 + 800a330: 4291 cmp r1, r2 + 800a332: f100 33ff add.w r3, r0, #4294967295 + 800a336: d100 bne.n 800a33a + 800a338: 4770 bx lr + 800a33a: b510 push {r4, lr} + 800a33c: f811 4b01 ldrb.w r4, [r1], #1 + 800a340: f803 4f01 strb.w r4, [r3, #1]! + 800a344: 4291 cmp r1, r2 + 800a346: d1f9 bne.n 800a33c + 800a348: bd10 pop {r4, pc} ... -0800a2c0 <__smakebuf_r>: - 800a2c0: 898b ldrh r3, [r1, #12] - 800a2c2: b573 push {r0, r1, r4, r5, r6, lr} - 800a2c4: 079d lsls r5, r3, #30 - 800a2c6: 4606 mov r6, r0 - 800a2c8: 460c mov r4, r1 - 800a2ca: d507 bpl.n 800a2dc <__smakebuf_r+0x1c> - 800a2cc: f104 0347 add.w r3, r4, #71 ; 0x47 - 800a2d0: 6023 str r3, [r4, #0] - 800a2d2: 6123 str r3, [r4, #16] - 800a2d4: 2301 movs r3, #1 - 800a2d6: 6163 str r3, [r4, #20] - 800a2d8: b002 add sp, #8 - 800a2da: bd70 pop {r4, r5, r6, pc} - 800a2dc: ab01 add r3, sp, #4 - 800a2de: 466a mov r2, sp - 800a2e0: f7ff ffc8 bl 800a274 <__swhatbuf_r> - 800a2e4: 9900 ldr r1, [sp, #0] - 800a2e6: 4605 mov r5, r0 - 800a2e8: 4630 mov r0, r6 - 800a2ea: f7ff fa4f bl 800978c <_malloc_r> - 800a2ee: b948 cbnz r0, 800a304 <__smakebuf_r+0x44> - 800a2f0: f9b4 300c ldrsh.w r3, [r4, #12] - 800a2f4: 059a lsls r2, r3, #22 - 800a2f6: d4ef bmi.n 800a2d8 <__smakebuf_r+0x18> - 800a2f8: f023 0303 bic.w r3, r3, #3 - 800a2fc: f043 0302 orr.w r3, r3, #2 - 800a300: 81a3 strh r3, [r4, #12] - 800a302: e7e3 b.n 800a2cc <__smakebuf_r+0xc> - 800a304: 4b0d ldr r3, [pc, #52] ; (800a33c <__smakebuf_r+0x7c>) - 800a306: 62b3 str r3, [r6, #40] ; 0x28 - 800a308: 89a3 ldrh r3, [r4, #12] - 800a30a: 6020 str r0, [r4, #0] - 800a30c: f043 0380 orr.w r3, r3, #128 ; 0x80 - 800a310: 81a3 strh r3, [r4, #12] - 800a312: 9b00 ldr r3, [sp, #0] - 800a314: 6163 str r3, [r4, #20] - 800a316: 9b01 ldr r3, [sp, #4] - 800a318: 6120 str r0, [r4, #16] - 800a31a: b15b cbz r3, 800a334 <__smakebuf_r+0x74> - 800a31c: f9b4 100e ldrsh.w r1, [r4, #14] - 800a320: 4630 mov r0, r6 - 800a322: f000 f881 bl 800a428 <_isatty_r> - 800a326: b128 cbz r0, 800a334 <__smakebuf_r+0x74> - 800a328: 89a3 ldrh r3, [r4, #12] - 800a32a: f023 0303 bic.w r3, r3, #3 - 800a32e: f043 0301 orr.w r3, r3, #1 - 800a332: 81a3 strh r3, [r4, #12] - 800a334: 89a0 ldrh r0, [r4, #12] - 800a336: 4305 orrs r5, r0 - 800a338: 81a5 strh r5, [r4, #12] - 800a33a: e7cd b.n 800a2d8 <__smakebuf_r+0x18> - 800a33c: 080094d9 .word 0x080094d9 +0800a34c <__assert_func>: + 800a34c: b51f push {r0, r1, r2, r3, r4, lr} + 800a34e: 4614 mov r4, r2 + 800a350: 461a mov r2, r3 + 800a352: 4b09 ldr r3, [pc, #36] @ (800a378 <__assert_func+0x2c>) + 800a354: 681b ldr r3, [r3, #0] + 800a356: 4605 mov r5, r0 + 800a358: 68d8 ldr r0, [r3, #12] + 800a35a: b954 cbnz r4, 800a372 <__assert_func+0x26> + 800a35c: 4b07 ldr r3, [pc, #28] @ (800a37c <__assert_func+0x30>) + 800a35e: 461c mov r4, r3 + 800a360: e9cd 3401 strd r3, r4, [sp, #4] + 800a364: 9100 str r1, [sp, #0] + 800a366: 462b mov r3, r5 + 800a368: 4905 ldr r1, [pc, #20] @ (800a380 <__assert_func+0x34>) + 800a36a: f000 fc89 bl 800ac80 + 800a36e: f000 fd3d bl 800adec + 800a372: 4b04 ldr r3, [pc, #16] @ (800a384 <__assert_func+0x38>) + 800a374: e7f4 b.n 800a360 <__assert_func+0x14> + 800a376: bf00 nop + 800a378: 20000034 .word 0x20000034 + 800a37c: 0800bb1e .word 0x0800bb1e + 800a380: 0800d207 .word 0x0800d207 + 800a384: 0800d1fa .word 0x0800d1fa -0800a340 <__malloc_lock>: - 800a340: 4801 ldr r0, [pc, #4] ; (800a348 <__malloc_lock+0x8>) - 800a342: f7ff b9ad b.w 80096a0 <__retarget_lock_acquire_recursive> - 800a346: bf00 nop - 800a348: 20008440 .word 0x20008440 +0800a388 <_free_r>: + 800a388: b538 push {r3, r4, r5, lr} + 800a38a: 4605 mov r5, r0 + 800a38c: 2900 cmp r1, #0 + 800a38e: d041 beq.n 800a414 <_free_r+0x8c> + 800a390: f851 3c04 ldr.w r3, [r1, #-4] + 800a394: 1f0c subs r4, r1, #4 + 800a396: 2b00 cmp r3, #0 + 800a398: bfb8 it lt + 800a39a: 18e4 addlt r4, r4, r3 + 800a39c: f000 f8e8 bl 800a570 <__malloc_lock> + 800a3a0: 4a1d ldr r2, [pc, #116] @ (800a418 <_free_r+0x90>) + 800a3a2: 6813 ldr r3, [r2, #0] + 800a3a4: b933 cbnz r3, 800a3b4 <_free_r+0x2c> + 800a3a6: 6063 str r3, [r4, #4] + 800a3a8: 6014 str r4, [r2, #0] + 800a3aa: 4628 mov r0, r5 + 800a3ac: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 800a3b0: f000 b8e4 b.w 800a57c <__malloc_unlock> + 800a3b4: 42a3 cmp r3, r4 + 800a3b6: d908 bls.n 800a3ca <_free_r+0x42> + 800a3b8: 6820 ldr r0, [r4, #0] + 800a3ba: 1821 adds r1, r4, r0 + 800a3bc: 428b cmp r3, r1 + 800a3be: bf01 itttt eq + 800a3c0: 6819 ldreq r1, [r3, #0] + 800a3c2: 685b ldreq r3, [r3, #4] + 800a3c4: 1809 addeq r1, r1, r0 + 800a3c6: 6021 streq r1, [r4, #0] + 800a3c8: e7ed b.n 800a3a6 <_free_r+0x1e> + 800a3ca: 461a mov r2, r3 + 800a3cc: 685b ldr r3, [r3, #4] + 800a3ce: b10b cbz r3, 800a3d4 <_free_r+0x4c> + 800a3d0: 42a3 cmp r3, r4 + 800a3d2: d9fa bls.n 800a3ca <_free_r+0x42> + 800a3d4: 6811 ldr r1, [r2, #0] + 800a3d6: 1850 adds r0, r2, r1 + 800a3d8: 42a0 cmp r0, r4 + 800a3da: d10b bne.n 800a3f4 <_free_r+0x6c> + 800a3dc: 6820 ldr r0, [r4, #0] + 800a3de: 4401 add r1, r0 + 800a3e0: 1850 adds r0, r2, r1 + 800a3e2: 4283 cmp r3, r0 + 800a3e4: 6011 str r1, [r2, #0] + 800a3e6: d1e0 bne.n 800a3aa <_free_r+0x22> + 800a3e8: 6818 ldr r0, [r3, #0] + 800a3ea: 685b ldr r3, [r3, #4] + 800a3ec: 6053 str r3, [r2, #4] + 800a3ee: 4408 add r0, r1 + 800a3f0: 6010 str r0, [r2, #0] + 800a3f2: e7da b.n 800a3aa <_free_r+0x22> + 800a3f4: d902 bls.n 800a3fc <_free_r+0x74> + 800a3f6: 230c movs r3, #12 + 800a3f8: 602b str r3, [r5, #0] + 800a3fa: e7d6 b.n 800a3aa <_free_r+0x22> + 800a3fc: 6820 ldr r0, [r4, #0] + 800a3fe: 1821 adds r1, r4, r0 + 800a400: 428b cmp r3, r1 + 800a402: bf04 itt eq + 800a404: 6819 ldreq r1, [r3, #0] + 800a406: 685b ldreq r3, [r3, #4] + 800a408: 6063 str r3, [r4, #4] + 800a40a: bf04 itt eq + 800a40c: 1809 addeq r1, r1, r0 + 800a40e: 6021 streq r1, [r4, #0] + 800a410: 6054 str r4, [r2, #4] + 800a412: e7ca b.n 800a3aa <_free_r+0x22> + 800a414: bd38 pop {r3, r4, r5, pc} + 800a416: bf00 nop + 800a418: 20018d50 .word 0x20018d50 -0800a34c <__malloc_unlock>: - 800a34c: 4801 ldr r0, [pc, #4] ; (800a354 <__malloc_unlock+0x8>) - 800a34e: f7ff b9a8 b.w 80096a2 <__retarget_lock_release_recursive> - 800a352: bf00 nop - 800a354: 20008440 .word 0x20008440 +0800a41c : + 800a41c: 4b02 ldr r3, [pc, #8] @ (800a428 ) + 800a41e: 4601 mov r1, r0 + 800a420: 6818 ldr r0, [r3, #0] + 800a422: f000 b825 b.w 800a470 <_malloc_r> + 800a426: bf00 nop + 800a428: 20000034 .word 0x20000034 -0800a358 <_read_r>: - 800a358: b538 push {r3, r4, r5, lr} - 800a35a: 4d07 ldr r5, [pc, #28] ; (800a378 <_read_r+0x20>) - 800a35c: 4604 mov r4, r0 - 800a35e: 4608 mov r0, r1 - 800a360: 4611 mov r1, r2 - 800a362: 2200 movs r2, #0 - 800a364: 602a str r2, [r5, #0] - 800a366: 461a mov r2, r3 - 800a368: f000 f89e bl 800a4a8 <_read> - 800a36c: 1c43 adds r3, r0, #1 - 800a36e: d102 bne.n 800a376 <_read_r+0x1e> - 800a370: 682b ldr r3, [r5, #0] - 800a372: b103 cbz r3, 800a376 <_read_r+0x1e> - 800a374: 6023 str r3, [r4, #0] - 800a376: bd38 pop {r3, r4, r5, pc} - 800a378: 2000844c .word 0x2000844c +0800a42c : + 800a42c: b570 push {r4, r5, r6, lr} + 800a42e: 4e0f ldr r6, [pc, #60] @ (800a46c ) + 800a430: 460c mov r4, r1 + 800a432: 6831 ldr r1, [r6, #0] + 800a434: 4605 mov r5, r0 + 800a436: b911 cbnz r1, 800a43e + 800a438: f000 fcc8 bl 800adcc <_sbrk_r> + 800a43c: 6030 str r0, [r6, #0] + 800a43e: 4621 mov r1, r4 + 800a440: 4628 mov r0, r5 + 800a442: f000 fcc3 bl 800adcc <_sbrk_r> + 800a446: 1c43 adds r3, r0, #1 + 800a448: d103 bne.n 800a452 + 800a44a: f04f 34ff mov.w r4, #4294967295 + 800a44e: 4620 mov r0, r4 + 800a450: bd70 pop {r4, r5, r6, pc} + 800a452: 1cc4 adds r4, r0, #3 + 800a454: f024 0403 bic.w r4, r4, #3 + 800a458: 42a0 cmp r0, r4 + 800a45a: d0f8 beq.n 800a44e + 800a45c: 1a21 subs r1, r4, r0 + 800a45e: 4628 mov r0, r5 + 800a460: f000 fcb4 bl 800adcc <_sbrk_r> + 800a464: 3001 adds r0, #1 + 800a466: d1f2 bne.n 800a44e + 800a468: e7ef b.n 800a44a + 800a46a: bf00 nop + 800a46c: 20018d4c .word 0x20018d4c -0800a37c <_raise_r>: - 800a37c: 291f cmp r1, #31 - 800a37e: b538 push {r3, r4, r5, lr} - 800a380: 4604 mov r4, r0 - 800a382: 460d mov r5, r1 - 800a384: d904 bls.n 800a390 <_raise_r+0x14> - 800a386: 2316 movs r3, #22 - 800a388: 6003 str r3, [r0, #0] - 800a38a: f04f 30ff mov.w r0, #4294967295 - 800a38e: bd38 pop {r3, r4, r5, pc} - 800a390: 6c42 ldr r2, [r0, #68] ; 0x44 - 800a392: b112 cbz r2, 800a39a <_raise_r+0x1e> - 800a394: f852 3021 ldr.w r3, [r2, r1, lsl #2] - 800a398: b94b cbnz r3, 800a3ae <_raise_r+0x32> - 800a39a: 4620 mov r0, r4 - 800a39c: f000 f830 bl 800a400 <_getpid_r> - 800a3a0: 462a mov r2, r5 - 800a3a2: 4601 mov r1, r0 - 800a3a4: 4620 mov r0, r4 - 800a3a6: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800a3aa: f000 b817 b.w 800a3dc <_kill_r> - 800a3ae: 2b01 cmp r3, #1 - 800a3b0: d00a beq.n 800a3c8 <_raise_r+0x4c> - 800a3b2: 1c59 adds r1, r3, #1 - 800a3b4: d103 bne.n 800a3be <_raise_r+0x42> - 800a3b6: 2316 movs r3, #22 - 800a3b8: 6003 str r3, [r0, #0] - 800a3ba: 2001 movs r0, #1 - 800a3bc: e7e7 b.n 800a38e <_raise_r+0x12> - 800a3be: 2400 movs r4, #0 - 800a3c0: f842 4025 str.w r4, [r2, r5, lsl #2] - 800a3c4: 4628 mov r0, r5 - 800a3c6: 4798 blx r3 - 800a3c8: 2000 movs r0, #0 - 800a3ca: e7e0 b.n 800a38e <_raise_r+0x12> +0800a470 <_malloc_r>: + 800a470: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 800a474: 1ccd adds r5, r1, #3 + 800a476: f025 0503 bic.w r5, r5, #3 + 800a47a: 3508 adds r5, #8 + 800a47c: 2d0c cmp r5, #12 + 800a47e: bf38 it cc + 800a480: 250c movcc r5, #12 + 800a482: 2d00 cmp r5, #0 + 800a484: 4606 mov r6, r0 + 800a486: db01 blt.n 800a48c <_malloc_r+0x1c> + 800a488: 42a9 cmp r1, r5 + 800a48a: d904 bls.n 800a496 <_malloc_r+0x26> + 800a48c: 230c movs r3, #12 + 800a48e: 6033 str r3, [r6, #0] + 800a490: 2000 movs r0, #0 + 800a492: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 800a496: f8df 80d4 ldr.w r8, [pc, #212] @ 800a56c <_malloc_r+0xfc> + 800a49a: f000 f869 bl 800a570 <__malloc_lock> + 800a49e: f8d8 3000 ldr.w r3, [r8] + 800a4a2: 461c mov r4, r3 + 800a4a4: bb44 cbnz r4, 800a4f8 <_malloc_r+0x88> + 800a4a6: 4629 mov r1, r5 + 800a4a8: 4630 mov r0, r6 + 800a4aa: f7ff ffbf bl 800a42c + 800a4ae: 1c43 adds r3, r0, #1 + 800a4b0: 4604 mov r4, r0 + 800a4b2: d158 bne.n 800a566 <_malloc_r+0xf6> + 800a4b4: f8d8 4000 ldr.w r4, [r8] + 800a4b8: 4627 mov r7, r4 + 800a4ba: 2f00 cmp r7, #0 + 800a4bc: d143 bne.n 800a546 <_malloc_r+0xd6> + 800a4be: 2c00 cmp r4, #0 + 800a4c0: d04b beq.n 800a55a <_malloc_r+0xea> + 800a4c2: 6823 ldr r3, [r4, #0] + 800a4c4: 4639 mov r1, r7 + 800a4c6: 4630 mov r0, r6 + 800a4c8: eb04 0903 add.w r9, r4, r3 + 800a4cc: f000 fc7e bl 800adcc <_sbrk_r> + 800a4d0: 4581 cmp r9, r0 + 800a4d2: d142 bne.n 800a55a <_malloc_r+0xea> + 800a4d4: 6821 ldr r1, [r4, #0] + 800a4d6: 1a6d subs r5, r5, r1 + 800a4d8: 4629 mov r1, r5 + 800a4da: 4630 mov r0, r6 + 800a4dc: f7ff ffa6 bl 800a42c + 800a4e0: 3001 adds r0, #1 + 800a4e2: d03a beq.n 800a55a <_malloc_r+0xea> + 800a4e4: 6823 ldr r3, [r4, #0] + 800a4e6: 442b add r3, r5 + 800a4e8: 6023 str r3, [r4, #0] + 800a4ea: f8d8 3000 ldr.w r3, [r8] + 800a4ee: 685a ldr r2, [r3, #4] + 800a4f0: bb62 cbnz r2, 800a54c <_malloc_r+0xdc> + 800a4f2: f8c8 7000 str.w r7, [r8] + 800a4f6: e00f b.n 800a518 <_malloc_r+0xa8> + 800a4f8: 6822 ldr r2, [r4, #0] + 800a4fa: 1b52 subs r2, r2, r5 + 800a4fc: d420 bmi.n 800a540 <_malloc_r+0xd0> + 800a4fe: 2a0b cmp r2, #11 + 800a500: d917 bls.n 800a532 <_malloc_r+0xc2> + 800a502: 1961 adds r1, r4, r5 + 800a504: 42a3 cmp r3, r4 + 800a506: 6025 str r5, [r4, #0] + 800a508: bf18 it ne + 800a50a: 6059 strne r1, [r3, #4] + 800a50c: 6863 ldr r3, [r4, #4] + 800a50e: bf08 it eq + 800a510: f8c8 1000 streq.w r1, [r8] + 800a514: 5162 str r2, [r4, r5] + 800a516: 604b str r3, [r1, #4] + 800a518: 4630 mov r0, r6 + 800a51a: f000 f82f bl 800a57c <__malloc_unlock> + 800a51e: f104 000b add.w r0, r4, #11 + 800a522: 1d23 adds r3, r4, #4 + 800a524: f020 0007 bic.w r0, r0, #7 + 800a528: 1ac2 subs r2, r0, r3 + 800a52a: bf1c itt ne + 800a52c: 1a1b subne r3, r3, r0 + 800a52e: 50a3 strne r3, [r4, r2] + 800a530: e7af b.n 800a492 <_malloc_r+0x22> + 800a532: 6862 ldr r2, [r4, #4] + 800a534: 42a3 cmp r3, r4 + 800a536: bf0c ite eq + 800a538: f8c8 2000 streq.w r2, [r8] + 800a53c: 605a strne r2, [r3, #4] + 800a53e: e7eb b.n 800a518 <_malloc_r+0xa8> + 800a540: 4623 mov r3, r4 + 800a542: 6864 ldr r4, [r4, #4] + 800a544: e7ae b.n 800a4a4 <_malloc_r+0x34> + 800a546: 463c mov r4, r7 + 800a548: 687f ldr r7, [r7, #4] + 800a54a: e7b6 b.n 800a4ba <_malloc_r+0x4a> + 800a54c: 461a mov r2, r3 + 800a54e: 685b ldr r3, [r3, #4] + 800a550: 42a3 cmp r3, r4 + 800a552: d1fb bne.n 800a54c <_malloc_r+0xdc> + 800a554: 2300 movs r3, #0 + 800a556: 6053 str r3, [r2, #4] + 800a558: e7de b.n 800a518 <_malloc_r+0xa8> + 800a55a: 230c movs r3, #12 + 800a55c: 6033 str r3, [r6, #0] + 800a55e: 4630 mov r0, r6 + 800a560: f000 f80c bl 800a57c <__malloc_unlock> + 800a564: e794 b.n 800a490 <_malloc_r+0x20> + 800a566: 6005 str r5, [r0, #0] + 800a568: e7d6 b.n 800a518 <_malloc_r+0xa8> + 800a56a: bf00 nop + 800a56c: 20018d50 .word 0x20018d50 -0800a3cc : - 800a3cc: 4b02 ldr r3, [pc, #8] ; (800a3d8 ) - 800a3ce: 4601 mov r1, r0 - 800a3d0: 6818 ldr r0, [r3, #0] - 800a3d2: f7ff bfd3 b.w 800a37c <_raise_r> - 800a3d6: bf00 nop - 800a3d8: 20000028 .word 0x20000028 +0800a570 <__malloc_lock>: + 800a570: 4801 ldr r0, [pc, #4] @ (800a578 <__malloc_lock+0x8>) + 800a572: f7ff beda b.w 800a32a <__retarget_lock_acquire_recursive> + 800a576: bf00 nop + 800a578: 20018d48 .word 0x20018d48 -0800a3dc <_kill_r>: - 800a3dc: b538 push {r3, r4, r5, lr} - 800a3de: 4d07 ldr r5, [pc, #28] ; (800a3fc <_kill_r+0x20>) - 800a3e0: 2300 movs r3, #0 - 800a3e2: 4604 mov r4, r0 - 800a3e4: 4608 mov r0, r1 - 800a3e6: 4611 mov r1, r2 - 800a3e8: 602b str r3, [r5, #0] - 800a3ea: f000 f84d bl 800a488 <_kill> - 800a3ee: 1c43 adds r3, r0, #1 - 800a3f0: d102 bne.n 800a3f8 <_kill_r+0x1c> - 800a3f2: 682b ldr r3, [r5, #0] - 800a3f4: b103 cbz r3, 800a3f8 <_kill_r+0x1c> - 800a3f6: 6023 str r3, [r4, #0] - 800a3f8: bd38 pop {r3, r4, r5, pc} - 800a3fa: bf00 nop - 800a3fc: 2000844c .word 0x2000844c +0800a57c <__malloc_unlock>: + 800a57c: 4801 ldr r0, [pc, #4] @ (800a584 <__malloc_unlock+0x8>) + 800a57e: f7ff bed5 b.w 800a32c <__retarget_lock_release_recursive> + 800a582: bf00 nop + 800a584: 20018d48 .word 0x20018d48 -0800a400 <_getpid_r>: - 800a400: f000 b832 b.w 800a468 <_getpid> +0800a588 <__sfputc_r>: + 800a588: 6893 ldr r3, [r2, #8] + 800a58a: 3b01 subs r3, #1 + 800a58c: 2b00 cmp r3, #0 + 800a58e: b410 push {r4} + 800a590: 6093 str r3, [r2, #8] + 800a592: da08 bge.n 800a5a6 <__sfputc_r+0x1e> + 800a594: 6994 ldr r4, [r2, #24] + 800a596: 42a3 cmp r3, r4 + 800a598: db01 blt.n 800a59e <__sfputc_r+0x16> + 800a59a: 290a cmp r1, #10 + 800a59c: d103 bne.n 800a5a6 <__sfputc_r+0x1e> + 800a59e: f85d 4b04 ldr.w r4, [sp], #4 + 800a5a2: f000 bb7f b.w 800aca4 <__swbuf_r> + 800a5a6: 6813 ldr r3, [r2, #0] + 800a5a8: 1c58 adds r0, r3, #1 + 800a5aa: 6010 str r0, [r2, #0] + 800a5ac: 7019 strb r1, [r3, #0] + 800a5ae: 4608 mov r0, r1 + 800a5b0: f85d 4b04 ldr.w r4, [sp], #4 + 800a5b4: 4770 bx lr -0800a404 <_fstat_r>: - 800a404: b538 push {r3, r4, r5, lr} - 800a406: 4d07 ldr r5, [pc, #28] ; (800a424 <_fstat_r+0x20>) - 800a408: 2300 movs r3, #0 - 800a40a: 4604 mov r4, r0 - 800a40c: 4608 mov r0, r1 - 800a40e: 4611 mov r1, r2 - 800a410: 602b str r3, [r5, #0] - 800a412: f000 f821 bl 800a458 <_fstat> - 800a416: 1c43 adds r3, r0, #1 - 800a418: d102 bne.n 800a420 <_fstat_r+0x1c> - 800a41a: 682b ldr r3, [r5, #0] - 800a41c: b103 cbz r3, 800a420 <_fstat_r+0x1c> - 800a41e: 6023 str r3, [r4, #0] - 800a420: bd38 pop {r3, r4, r5, pc} - 800a422: bf00 nop - 800a424: 2000844c .word 0x2000844c - -0800a428 <_isatty_r>: - 800a428: b538 push {r3, r4, r5, lr} - 800a42a: 4d06 ldr r5, [pc, #24] ; (800a444 <_isatty_r+0x1c>) - 800a42c: 2300 movs r3, #0 - 800a42e: 4604 mov r4, r0 - 800a430: 4608 mov r0, r1 - 800a432: 602b str r3, [r5, #0] - 800a434: f000 f820 bl 800a478 <_isatty> - 800a438: 1c43 adds r3, r0, #1 - 800a43a: d102 bne.n 800a442 <_isatty_r+0x1a> - 800a43c: 682b ldr r3, [r5, #0] - 800a43e: b103 cbz r3, 800a442 <_isatty_r+0x1a> - 800a440: 6023 str r3, [r4, #0] - 800a442: bd38 pop {r3, r4, r5, pc} - 800a444: 2000844c .word 0x2000844c - -0800a448 <_close>: - 800a448: 4b02 ldr r3, [pc, #8] ; (800a454 <_close+0xc>) - 800a44a: 2258 movs r2, #88 ; 0x58 - 800a44c: 601a str r2, [r3, #0] - 800a44e: f04f 30ff mov.w r0, #4294967295 - 800a452: 4770 bx lr - 800a454: 2000844c .word 0x2000844c - -0800a458 <_fstat>: - 800a458: 4b02 ldr r3, [pc, #8] ; (800a464 <_fstat+0xc>) - 800a45a: 2258 movs r2, #88 ; 0x58 - 800a45c: 601a str r2, [r3, #0] - 800a45e: f04f 30ff mov.w r0, #4294967295 - 800a462: 4770 bx lr - 800a464: 2000844c .word 0x2000844c - -0800a468 <_getpid>: - 800a468: 4b02 ldr r3, [pc, #8] ; (800a474 <_getpid+0xc>) - 800a46a: 2258 movs r2, #88 ; 0x58 - 800a46c: 601a str r2, [r3, #0] - 800a46e: f04f 30ff mov.w r0, #4294967295 - 800a472: 4770 bx lr - 800a474: 2000844c .word 0x2000844c - -0800a478 <_isatty>: - 800a478: 4b02 ldr r3, [pc, #8] ; (800a484 <_isatty+0xc>) - 800a47a: 2258 movs r2, #88 ; 0x58 - 800a47c: 601a str r2, [r3, #0] - 800a47e: 2000 movs r0, #0 - 800a480: 4770 bx lr - 800a482: bf00 nop - 800a484: 2000844c .word 0x2000844c - -0800a488 <_kill>: - 800a488: 4b02 ldr r3, [pc, #8] ; (800a494 <_kill+0xc>) - 800a48a: 2258 movs r2, #88 ; 0x58 - 800a48c: 601a str r2, [r3, #0] - 800a48e: f04f 30ff mov.w r0, #4294967295 - 800a492: 4770 bx lr - 800a494: 2000844c .word 0x2000844c - -0800a498 <_lseek>: - 800a498: 4b02 ldr r3, [pc, #8] ; (800a4a4 <_lseek+0xc>) - 800a49a: 2258 movs r2, #88 ; 0x58 - 800a49c: 601a str r2, [r3, #0] - 800a49e: f04f 30ff mov.w r0, #4294967295 - 800a4a2: 4770 bx lr - 800a4a4: 2000844c .word 0x2000844c - -0800a4a8 <_read>: - 800a4a8: 4b02 ldr r3, [pc, #8] ; (800a4b4 <_read+0xc>) - 800a4aa: 2258 movs r2, #88 ; 0x58 - 800a4ac: 601a str r2, [r3, #0] - 800a4ae: f04f 30ff mov.w r0, #4294967295 - 800a4b2: 4770 bx lr - 800a4b4: 2000844c .word 0x2000844c - -0800a4b8 <_sbrk>: - 800a4b8: 4a04 ldr r2, [pc, #16] ; (800a4cc <_sbrk+0x14>) - 800a4ba: 6811 ldr r1, [r2, #0] - 800a4bc: 4603 mov r3, r0 - 800a4be: b909 cbnz r1, 800a4c4 <_sbrk+0xc> - 800a4c0: 4903 ldr r1, [pc, #12] ; (800a4d0 <_sbrk+0x18>) - 800a4c2: 6011 str r1, [r2, #0] - 800a4c4: 6810 ldr r0, [r2, #0] - 800a4c6: 4403 add r3, r0 - 800a4c8: 6013 str r3, [r2, #0] - 800a4ca: 4770 bx lr - 800a4cc: 20008450 .word 0x20008450 - 800a4d0: 20008458 .word 0x20008458 - -0800a4d4 <_write>: - 800a4d4: 4b02 ldr r3, [pc, #8] ; (800a4e0 <_write+0xc>) - 800a4d6: 2258 movs r2, #88 ; 0x58 - 800a4d8: 601a str r2, [r3, #0] - 800a4da: f04f 30ff mov.w r0, #4294967295 - 800a4de: 4770 bx lr - 800a4e0: 2000844c .word 0x2000844c - -0800a4e4 <_exit>: - 800a4e4: e7fe b.n 800a4e4 <_exit> +0800a5b6 <__sfputs_r>: + 800a5b6: b5f8 push {r3, r4, r5, r6, r7, lr} + 800a5b8: 4606 mov r6, r0 + 800a5ba: 460f mov r7, r1 + 800a5bc: 4614 mov r4, r2 + 800a5be: 18d5 adds r5, r2, r3 + 800a5c0: 42ac cmp r4, r5 + 800a5c2: d101 bne.n 800a5c8 <__sfputs_r+0x12> + 800a5c4: 2000 movs r0, #0 + 800a5c6: e007 b.n 800a5d8 <__sfputs_r+0x22> + 800a5c8: f814 1b01 ldrb.w r1, [r4], #1 + 800a5cc: 463a mov r2, r7 + 800a5ce: 4630 mov r0, r6 + 800a5d0: f7ff ffda bl 800a588 <__sfputc_r> + 800a5d4: 1c43 adds r3, r0, #1 + 800a5d6: d1f3 bne.n 800a5c0 <__sfputs_r+0xa> + 800a5d8: bdf8 pop {r3, r4, r5, r6, r7, pc} ... -0800a4e8 <_init>: - 800a4e8: b5f8 push {r3, r4, r5, r6, r7, lr} - 800a4ea: bf00 nop - 800a4ec: bcf8 pop {r3, r4, r5, r6, r7} - 800a4ee: bc08 pop {r3} - 800a4f0: 469e mov lr, r3 - 800a4f2: 4770 bx lr +0800a5dc <_vfiprintf_r>: + 800a5dc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800a5e0: 460d mov r5, r1 + 800a5e2: b09d sub sp, #116 @ 0x74 + 800a5e4: 4614 mov r4, r2 + 800a5e6: 4698 mov r8, r3 + 800a5e8: 4606 mov r6, r0 + 800a5ea: b118 cbz r0, 800a5f4 <_vfiprintf_r+0x18> + 800a5ec: 6a03 ldr r3, [r0, #32] + 800a5ee: b90b cbnz r3, 800a5f4 <_vfiprintf_r+0x18> + 800a5f0: f7ff fd8c bl 800a10c <__sinit> + 800a5f4: 6e6b ldr r3, [r5, #100] @ 0x64 + 800a5f6: 07d9 lsls r1, r3, #31 + 800a5f8: d405 bmi.n 800a606 <_vfiprintf_r+0x2a> + 800a5fa: 89ab ldrh r3, [r5, #12] + 800a5fc: 059a lsls r2, r3, #22 + 800a5fe: d402 bmi.n 800a606 <_vfiprintf_r+0x2a> + 800a600: 6da8 ldr r0, [r5, #88] @ 0x58 + 800a602: f7ff fe92 bl 800a32a <__retarget_lock_acquire_recursive> + 800a606: 89ab ldrh r3, [r5, #12] + 800a608: 071b lsls r3, r3, #28 + 800a60a: d501 bpl.n 800a610 <_vfiprintf_r+0x34> + 800a60c: 692b ldr r3, [r5, #16] + 800a60e: b99b cbnz r3, 800a638 <_vfiprintf_r+0x5c> + 800a610: 4629 mov r1, r5 + 800a612: 4630 mov r0, r6 + 800a614: f000 fb84 bl 800ad20 <__swsetup_r> + 800a618: b170 cbz r0, 800a638 <_vfiprintf_r+0x5c> + 800a61a: 6e6b ldr r3, [r5, #100] @ 0x64 + 800a61c: 07dc lsls r4, r3, #31 + 800a61e: d504 bpl.n 800a62a <_vfiprintf_r+0x4e> + 800a620: f04f 30ff mov.w r0, #4294967295 + 800a624: b01d add sp, #116 @ 0x74 + 800a626: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800a62a: 89ab ldrh r3, [r5, #12] + 800a62c: 0598 lsls r0, r3, #22 + 800a62e: d4f7 bmi.n 800a620 <_vfiprintf_r+0x44> + 800a630: 6da8 ldr r0, [r5, #88] @ 0x58 + 800a632: f7ff fe7b bl 800a32c <__retarget_lock_release_recursive> + 800a636: e7f3 b.n 800a620 <_vfiprintf_r+0x44> + 800a638: 2300 movs r3, #0 + 800a63a: 9309 str r3, [sp, #36] @ 0x24 + 800a63c: 2320 movs r3, #32 + 800a63e: f88d 3029 strb.w r3, [sp, #41] @ 0x29 + 800a642: f8cd 800c str.w r8, [sp, #12] + 800a646: 2330 movs r3, #48 @ 0x30 + 800a648: f8df 81ac ldr.w r8, [pc, #428] @ 800a7f8 <_vfiprintf_r+0x21c> + 800a64c: f88d 302a strb.w r3, [sp, #42] @ 0x2a + 800a650: f04f 0901 mov.w r9, #1 + 800a654: 4623 mov r3, r4 + 800a656: 469a mov sl, r3 + 800a658: f813 2b01 ldrb.w r2, [r3], #1 + 800a65c: b10a cbz r2, 800a662 <_vfiprintf_r+0x86> + 800a65e: 2a25 cmp r2, #37 @ 0x25 + 800a660: d1f9 bne.n 800a656 <_vfiprintf_r+0x7a> + 800a662: ebba 0b04 subs.w fp, sl, r4 + 800a666: d00b beq.n 800a680 <_vfiprintf_r+0xa4> + 800a668: 465b mov r3, fp + 800a66a: 4622 mov r2, r4 + 800a66c: 4629 mov r1, r5 + 800a66e: 4630 mov r0, r6 + 800a670: f7ff ffa1 bl 800a5b6 <__sfputs_r> + 800a674: 3001 adds r0, #1 + 800a676: f000 80a7 beq.w 800a7c8 <_vfiprintf_r+0x1ec> + 800a67a: 9a09 ldr r2, [sp, #36] @ 0x24 + 800a67c: 445a add r2, fp + 800a67e: 9209 str r2, [sp, #36] @ 0x24 + 800a680: f89a 3000 ldrb.w r3, [sl] + 800a684: 2b00 cmp r3, #0 + 800a686: f000 809f beq.w 800a7c8 <_vfiprintf_r+0x1ec> + 800a68a: 2300 movs r3, #0 + 800a68c: f04f 32ff mov.w r2, #4294967295 + 800a690: e9cd 2305 strd r2, r3, [sp, #20] + 800a694: f10a 0a01 add.w sl, sl, #1 + 800a698: 9304 str r3, [sp, #16] + 800a69a: 9307 str r3, [sp, #28] + 800a69c: f88d 3053 strb.w r3, [sp, #83] @ 0x53 + 800a6a0: 931a str r3, [sp, #104] @ 0x68 + 800a6a2: 4654 mov r4, sl + 800a6a4: 2205 movs r2, #5 + 800a6a6: f814 1b01 ldrb.w r1, [r4], #1 + 800a6aa: 4853 ldr r0, [pc, #332] @ (800a7f8 <_vfiprintf_r+0x21c>) + 800a6ac: f7f5 fda0 bl 80001f0 + 800a6b0: 9a04 ldr r2, [sp, #16] + 800a6b2: b9d8 cbnz r0, 800a6ec <_vfiprintf_r+0x110> + 800a6b4: 06d1 lsls r1, r2, #27 + 800a6b6: bf44 itt mi + 800a6b8: 2320 movmi r3, #32 + 800a6ba: f88d 3053 strbmi.w r3, [sp, #83] @ 0x53 + 800a6be: 0713 lsls r3, r2, #28 + 800a6c0: bf44 itt mi + 800a6c2: 232b movmi r3, #43 @ 0x2b + 800a6c4: f88d 3053 strbmi.w r3, [sp, #83] @ 0x53 + 800a6c8: f89a 3000 ldrb.w r3, [sl] + 800a6cc: 2b2a cmp r3, #42 @ 0x2a + 800a6ce: d015 beq.n 800a6fc <_vfiprintf_r+0x120> + 800a6d0: 9a07 ldr r2, [sp, #28] + 800a6d2: 4654 mov r4, sl + 800a6d4: 2000 movs r0, #0 + 800a6d6: f04f 0c0a mov.w ip, #10 + 800a6da: 4621 mov r1, r4 + 800a6dc: f811 3b01 ldrb.w r3, [r1], #1 + 800a6e0: 3b30 subs r3, #48 @ 0x30 + 800a6e2: 2b09 cmp r3, #9 + 800a6e4: d94b bls.n 800a77e <_vfiprintf_r+0x1a2> + 800a6e6: b1b0 cbz r0, 800a716 <_vfiprintf_r+0x13a> + 800a6e8: 9207 str r2, [sp, #28] + 800a6ea: e014 b.n 800a716 <_vfiprintf_r+0x13a> + 800a6ec: eba0 0308 sub.w r3, r0, r8 + 800a6f0: fa09 f303 lsl.w r3, r9, r3 + 800a6f4: 4313 orrs r3, r2 + 800a6f6: 9304 str r3, [sp, #16] + 800a6f8: 46a2 mov sl, r4 + 800a6fa: e7d2 b.n 800a6a2 <_vfiprintf_r+0xc6> + 800a6fc: 9b03 ldr r3, [sp, #12] + 800a6fe: 1d19 adds r1, r3, #4 + 800a700: 681b ldr r3, [r3, #0] + 800a702: 9103 str r1, [sp, #12] + 800a704: 2b00 cmp r3, #0 + 800a706: bfbb ittet lt + 800a708: 425b neglt r3, r3 + 800a70a: f042 0202 orrlt.w r2, r2, #2 + 800a70e: 9307 strge r3, [sp, #28] + 800a710: 9307 strlt r3, [sp, #28] + 800a712: bfb8 it lt + 800a714: 9204 strlt r2, [sp, #16] + 800a716: 7823 ldrb r3, [r4, #0] + 800a718: 2b2e cmp r3, #46 @ 0x2e + 800a71a: d10a bne.n 800a732 <_vfiprintf_r+0x156> + 800a71c: 7863 ldrb r3, [r4, #1] + 800a71e: 2b2a cmp r3, #42 @ 0x2a + 800a720: d132 bne.n 800a788 <_vfiprintf_r+0x1ac> + 800a722: 9b03 ldr r3, [sp, #12] + 800a724: 1d1a adds r2, r3, #4 + 800a726: 681b ldr r3, [r3, #0] + 800a728: 9203 str r2, [sp, #12] + 800a72a: ea43 73e3 orr.w r3, r3, r3, asr #31 + 800a72e: 3402 adds r4, #2 + 800a730: 9305 str r3, [sp, #20] + 800a732: f8df a0d4 ldr.w sl, [pc, #212] @ 800a808 <_vfiprintf_r+0x22c> + 800a736: 7821 ldrb r1, [r4, #0] + 800a738: 2203 movs r2, #3 + 800a73a: 4650 mov r0, sl + 800a73c: f7f5 fd58 bl 80001f0 + 800a740: b138 cbz r0, 800a752 <_vfiprintf_r+0x176> + 800a742: 9b04 ldr r3, [sp, #16] + 800a744: eba0 000a sub.w r0, r0, sl + 800a748: 2240 movs r2, #64 @ 0x40 + 800a74a: 4082 lsls r2, r0 + 800a74c: 4313 orrs r3, r2 + 800a74e: 3401 adds r4, #1 + 800a750: 9304 str r3, [sp, #16] + 800a752: f814 1b01 ldrb.w r1, [r4], #1 + 800a756: 4829 ldr r0, [pc, #164] @ (800a7fc <_vfiprintf_r+0x220>) + 800a758: f88d 1028 strb.w r1, [sp, #40] @ 0x28 + 800a75c: 2206 movs r2, #6 + 800a75e: f7f5 fd47 bl 80001f0 + 800a762: 2800 cmp r0, #0 + 800a764: d03f beq.n 800a7e6 <_vfiprintf_r+0x20a> + 800a766: 4b26 ldr r3, [pc, #152] @ (800a800 <_vfiprintf_r+0x224>) + 800a768: bb1b cbnz r3, 800a7b2 <_vfiprintf_r+0x1d6> + 800a76a: 9b03 ldr r3, [sp, #12] + 800a76c: 3307 adds r3, #7 + 800a76e: f023 0307 bic.w r3, r3, #7 + 800a772: 3308 adds r3, #8 + 800a774: 9303 str r3, [sp, #12] + 800a776: 9b09 ldr r3, [sp, #36] @ 0x24 + 800a778: 443b add r3, r7 + 800a77a: 9309 str r3, [sp, #36] @ 0x24 + 800a77c: e76a b.n 800a654 <_vfiprintf_r+0x78> + 800a77e: fb0c 3202 mla r2, ip, r2, r3 + 800a782: 460c mov r4, r1 + 800a784: 2001 movs r0, #1 + 800a786: e7a8 b.n 800a6da <_vfiprintf_r+0xfe> + 800a788: 2300 movs r3, #0 + 800a78a: 3401 adds r4, #1 + 800a78c: 9305 str r3, [sp, #20] + 800a78e: 4619 mov r1, r3 + 800a790: f04f 0c0a mov.w ip, #10 + 800a794: 4620 mov r0, r4 + 800a796: f810 2b01 ldrb.w r2, [r0], #1 + 800a79a: 3a30 subs r2, #48 @ 0x30 + 800a79c: 2a09 cmp r2, #9 + 800a79e: d903 bls.n 800a7a8 <_vfiprintf_r+0x1cc> + 800a7a0: 2b00 cmp r3, #0 + 800a7a2: d0c6 beq.n 800a732 <_vfiprintf_r+0x156> + 800a7a4: 9105 str r1, [sp, #20] + 800a7a6: e7c4 b.n 800a732 <_vfiprintf_r+0x156> + 800a7a8: fb0c 2101 mla r1, ip, r1, r2 + 800a7ac: 4604 mov r4, r0 + 800a7ae: 2301 movs r3, #1 + 800a7b0: e7f0 b.n 800a794 <_vfiprintf_r+0x1b8> + 800a7b2: ab03 add r3, sp, #12 + 800a7b4: 9300 str r3, [sp, #0] + 800a7b6: 462a mov r2, r5 + 800a7b8: 4b12 ldr r3, [pc, #72] @ (800a804 <_vfiprintf_r+0x228>) + 800a7ba: a904 add r1, sp, #16 + 800a7bc: 4630 mov r0, r6 + 800a7be: f3af 8000 nop.w + 800a7c2: 4607 mov r7, r0 + 800a7c4: 1c78 adds r0, r7, #1 + 800a7c6: d1d6 bne.n 800a776 <_vfiprintf_r+0x19a> + 800a7c8: 6e6b ldr r3, [r5, #100] @ 0x64 + 800a7ca: 07d9 lsls r1, r3, #31 + 800a7cc: d405 bmi.n 800a7da <_vfiprintf_r+0x1fe> + 800a7ce: 89ab ldrh r3, [r5, #12] + 800a7d0: 059a lsls r2, r3, #22 + 800a7d2: d402 bmi.n 800a7da <_vfiprintf_r+0x1fe> + 800a7d4: 6da8 ldr r0, [r5, #88] @ 0x58 + 800a7d6: f7ff fda9 bl 800a32c <__retarget_lock_release_recursive> + 800a7da: 89ab ldrh r3, [r5, #12] + 800a7dc: 065b lsls r3, r3, #25 + 800a7de: f53f af1f bmi.w 800a620 <_vfiprintf_r+0x44> + 800a7e2: 9809 ldr r0, [sp, #36] @ 0x24 + 800a7e4: e71e b.n 800a624 <_vfiprintf_r+0x48> + 800a7e6: ab03 add r3, sp, #12 + 800a7e8: 9300 str r3, [sp, #0] + 800a7ea: 462a mov r2, r5 + 800a7ec: 4b05 ldr r3, [pc, #20] @ (800a804 <_vfiprintf_r+0x228>) + 800a7ee: a904 add r1, sp, #16 + 800a7f0: 4630 mov r0, r6 + 800a7f2: f000 f879 bl 800a8e8 <_printf_i> + 800a7f6: e7e4 b.n 800a7c2 <_vfiprintf_r+0x1e6> + 800a7f8: 0800d236 .word 0x0800d236 + 800a7fc: 0800d240 .word 0x0800d240 + 800a800: 00000000 .word 0x00000000 + 800a804: 0800a5b7 .word 0x0800a5b7 + 800a808: 0800d23c .word 0x0800d23c -0800a4f4 <_fini>: - 800a4f4: b5f8 push {r3, r4, r5, r6, r7, lr} - 800a4f6: bf00 nop - 800a4f8: bcf8 pop {r3, r4, r5, r6, r7} - 800a4fa: bc08 pop {r3} - 800a4fc: 469e mov lr, r3 - 800a4fe: 4770 bx lr +0800a80c <_printf_common>: + 800a80c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 800a810: 4616 mov r6, r2 + 800a812: 4698 mov r8, r3 + 800a814: 688a ldr r2, [r1, #8] + 800a816: 690b ldr r3, [r1, #16] + 800a818: f8dd 9020 ldr.w r9, [sp, #32] + 800a81c: 4293 cmp r3, r2 + 800a81e: bfb8 it lt + 800a820: 4613 movlt r3, r2 + 800a822: 6033 str r3, [r6, #0] + 800a824: f891 2043 ldrb.w r2, [r1, #67] @ 0x43 + 800a828: 4607 mov r7, r0 + 800a82a: 460c mov r4, r1 + 800a82c: b10a cbz r2, 800a832 <_printf_common+0x26> + 800a82e: 3301 adds r3, #1 + 800a830: 6033 str r3, [r6, #0] + 800a832: 6823 ldr r3, [r4, #0] + 800a834: 0699 lsls r1, r3, #26 + 800a836: bf42 ittt mi + 800a838: 6833 ldrmi r3, [r6, #0] + 800a83a: 3302 addmi r3, #2 + 800a83c: 6033 strmi r3, [r6, #0] + 800a83e: 6825 ldr r5, [r4, #0] + 800a840: f015 0506 ands.w r5, r5, #6 + 800a844: d106 bne.n 800a854 <_printf_common+0x48> + 800a846: f104 0a19 add.w sl, r4, #25 + 800a84a: 68e3 ldr r3, [r4, #12] + 800a84c: 6832 ldr r2, [r6, #0] + 800a84e: 1a9b subs r3, r3, r2 + 800a850: 42ab cmp r3, r5 + 800a852: dc26 bgt.n 800a8a2 <_printf_common+0x96> + 800a854: f894 3043 ldrb.w r3, [r4, #67] @ 0x43 + 800a858: 6822 ldr r2, [r4, #0] + 800a85a: 3b00 subs r3, #0 + 800a85c: bf18 it ne + 800a85e: 2301 movne r3, #1 + 800a860: 0692 lsls r2, r2, #26 + 800a862: d42b bmi.n 800a8bc <_printf_common+0xb0> + 800a864: f104 0243 add.w r2, r4, #67 @ 0x43 + 800a868: 4641 mov r1, r8 + 800a86a: 4638 mov r0, r7 + 800a86c: 47c8 blx r9 + 800a86e: 3001 adds r0, #1 + 800a870: d01e beq.n 800a8b0 <_printf_common+0xa4> + 800a872: 6823 ldr r3, [r4, #0] + 800a874: 6922 ldr r2, [r4, #16] + 800a876: f003 0306 and.w r3, r3, #6 + 800a87a: 2b04 cmp r3, #4 + 800a87c: bf02 ittt eq + 800a87e: 68e5 ldreq r5, [r4, #12] + 800a880: 6833 ldreq r3, [r6, #0] + 800a882: 1aed subeq r5, r5, r3 + 800a884: 68a3 ldr r3, [r4, #8] + 800a886: bf0c ite eq + 800a888: ea25 75e5 biceq.w r5, r5, r5, asr #31 + 800a88c: 2500 movne r5, #0 + 800a88e: 4293 cmp r3, r2 + 800a890: bfc4 itt gt + 800a892: 1a9b subgt r3, r3, r2 + 800a894: 18ed addgt r5, r5, r3 + 800a896: 2600 movs r6, #0 + 800a898: 341a adds r4, #26 + 800a89a: 42b5 cmp r5, r6 + 800a89c: d11a bne.n 800a8d4 <_printf_common+0xc8> + 800a89e: 2000 movs r0, #0 + 800a8a0: e008 b.n 800a8b4 <_printf_common+0xa8> + 800a8a2: 2301 movs r3, #1 + 800a8a4: 4652 mov r2, sl + 800a8a6: 4641 mov r1, r8 + 800a8a8: 4638 mov r0, r7 + 800a8aa: 47c8 blx r9 + 800a8ac: 3001 adds r0, #1 + 800a8ae: d103 bne.n 800a8b8 <_printf_common+0xac> + 800a8b0: f04f 30ff mov.w r0, #4294967295 + 800a8b4: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800a8b8: 3501 adds r5, #1 + 800a8ba: e7c6 b.n 800a84a <_printf_common+0x3e> + 800a8bc: 18e1 adds r1, r4, r3 + 800a8be: 1c5a adds r2, r3, #1 + 800a8c0: 2030 movs r0, #48 @ 0x30 + 800a8c2: f881 0043 strb.w r0, [r1, #67] @ 0x43 + 800a8c6: 4422 add r2, r4 + 800a8c8: f894 1045 ldrb.w r1, [r4, #69] @ 0x45 + 800a8cc: f882 1043 strb.w r1, [r2, #67] @ 0x43 + 800a8d0: 3302 adds r3, #2 + 800a8d2: e7c7 b.n 800a864 <_printf_common+0x58> + 800a8d4: 2301 movs r3, #1 + 800a8d6: 4622 mov r2, r4 + 800a8d8: 4641 mov r1, r8 + 800a8da: 4638 mov r0, r7 + 800a8dc: 47c8 blx r9 + 800a8de: 3001 adds r0, #1 + 800a8e0: d0e6 beq.n 800a8b0 <_printf_common+0xa4> + 800a8e2: 3601 adds r6, #1 + 800a8e4: e7d9 b.n 800a89a <_printf_common+0x8e> + ... + +0800a8e8 <_printf_i>: + 800a8e8: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} + 800a8ec: 7e0f ldrb r7, [r1, #24] + 800a8ee: 9e0c ldr r6, [sp, #48] @ 0x30 + 800a8f0: 2f78 cmp r7, #120 @ 0x78 + 800a8f2: 4691 mov r9, r2 + 800a8f4: 4680 mov r8, r0 + 800a8f6: 460c mov r4, r1 + 800a8f8: 469a mov sl, r3 + 800a8fa: f101 0243 add.w r2, r1, #67 @ 0x43 + 800a8fe: d807 bhi.n 800a910 <_printf_i+0x28> + 800a900: 2f62 cmp r7, #98 @ 0x62 + 800a902: d80a bhi.n 800a91a <_printf_i+0x32> + 800a904: 2f00 cmp r7, #0 + 800a906: f000 80d2 beq.w 800aaae <_printf_i+0x1c6> + 800a90a: 2f58 cmp r7, #88 @ 0x58 + 800a90c: f000 80b9 beq.w 800aa82 <_printf_i+0x19a> + 800a910: f104 0642 add.w r6, r4, #66 @ 0x42 + 800a914: f884 7042 strb.w r7, [r4, #66] @ 0x42 + 800a918: e03a b.n 800a990 <_printf_i+0xa8> + 800a91a: f1a7 0363 sub.w r3, r7, #99 @ 0x63 + 800a91e: 2b15 cmp r3, #21 + 800a920: d8f6 bhi.n 800a910 <_printf_i+0x28> + 800a922: a101 add r1, pc, #4 @ (adr r1, 800a928 <_printf_i+0x40>) + 800a924: f851 f023 ldr.w pc, [r1, r3, lsl #2] + 800a928: 0800a981 .word 0x0800a981 + 800a92c: 0800a995 .word 0x0800a995 + 800a930: 0800a911 .word 0x0800a911 + 800a934: 0800a911 .word 0x0800a911 + 800a938: 0800a911 .word 0x0800a911 + 800a93c: 0800a911 .word 0x0800a911 + 800a940: 0800a995 .word 0x0800a995 + 800a944: 0800a911 .word 0x0800a911 + 800a948: 0800a911 .word 0x0800a911 + 800a94c: 0800a911 .word 0x0800a911 + 800a950: 0800a911 .word 0x0800a911 + 800a954: 0800aa95 .word 0x0800aa95 + 800a958: 0800a9bf .word 0x0800a9bf + 800a95c: 0800aa4f .word 0x0800aa4f + 800a960: 0800a911 .word 0x0800a911 + 800a964: 0800a911 .word 0x0800a911 + 800a968: 0800aab7 .word 0x0800aab7 + 800a96c: 0800a911 .word 0x0800a911 + 800a970: 0800a9bf .word 0x0800a9bf + 800a974: 0800a911 .word 0x0800a911 + 800a978: 0800a911 .word 0x0800a911 + 800a97c: 0800aa57 .word 0x0800aa57 + 800a980: 6833 ldr r3, [r6, #0] + 800a982: 1d1a adds r2, r3, #4 + 800a984: 681b ldr r3, [r3, #0] + 800a986: 6032 str r2, [r6, #0] + 800a988: f104 0642 add.w r6, r4, #66 @ 0x42 + 800a98c: f884 3042 strb.w r3, [r4, #66] @ 0x42 + 800a990: 2301 movs r3, #1 + 800a992: e09d b.n 800aad0 <_printf_i+0x1e8> + 800a994: 6833 ldr r3, [r6, #0] + 800a996: 6820 ldr r0, [r4, #0] + 800a998: 1d19 adds r1, r3, #4 + 800a99a: 6031 str r1, [r6, #0] + 800a99c: 0606 lsls r6, r0, #24 + 800a99e: d501 bpl.n 800a9a4 <_printf_i+0xbc> + 800a9a0: 681d ldr r5, [r3, #0] + 800a9a2: e003 b.n 800a9ac <_printf_i+0xc4> + 800a9a4: 0645 lsls r5, r0, #25 + 800a9a6: d5fb bpl.n 800a9a0 <_printf_i+0xb8> + 800a9a8: f9b3 5000 ldrsh.w r5, [r3] + 800a9ac: 2d00 cmp r5, #0 + 800a9ae: da03 bge.n 800a9b8 <_printf_i+0xd0> + 800a9b0: 232d movs r3, #45 @ 0x2d + 800a9b2: 426d negs r5, r5 + 800a9b4: f884 3043 strb.w r3, [r4, #67] @ 0x43 + 800a9b8: 4859 ldr r0, [pc, #356] @ (800ab20 <_printf_i+0x238>) + 800a9ba: 230a movs r3, #10 + 800a9bc: e011 b.n 800a9e2 <_printf_i+0xfa> + 800a9be: 6821 ldr r1, [r4, #0] + 800a9c0: 6833 ldr r3, [r6, #0] + 800a9c2: 0608 lsls r0, r1, #24 + 800a9c4: f853 5b04 ldr.w r5, [r3], #4 + 800a9c8: d402 bmi.n 800a9d0 <_printf_i+0xe8> + 800a9ca: 0649 lsls r1, r1, #25 + 800a9cc: bf48 it mi + 800a9ce: b2ad uxthmi r5, r5 + 800a9d0: 2f6f cmp r7, #111 @ 0x6f + 800a9d2: 4853 ldr r0, [pc, #332] @ (800ab20 <_printf_i+0x238>) + 800a9d4: 6033 str r3, [r6, #0] + 800a9d6: bf14 ite ne + 800a9d8: 230a movne r3, #10 + 800a9da: 2308 moveq r3, #8 + 800a9dc: 2100 movs r1, #0 + 800a9de: f884 1043 strb.w r1, [r4, #67] @ 0x43 + 800a9e2: 6866 ldr r6, [r4, #4] + 800a9e4: 60a6 str r6, [r4, #8] + 800a9e6: 2e00 cmp r6, #0 + 800a9e8: bfa2 ittt ge + 800a9ea: 6821 ldrge r1, [r4, #0] + 800a9ec: f021 0104 bicge.w r1, r1, #4 + 800a9f0: 6021 strge r1, [r4, #0] + 800a9f2: b90d cbnz r5, 800a9f8 <_printf_i+0x110> + 800a9f4: 2e00 cmp r6, #0 + 800a9f6: d04b beq.n 800aa90 <_printf_i+0x1a8> + 800a9f8: 4616 mov r6, r2 + 800a9fa: fbb5 f1f3 udiv r1, r5, r3 + 800a9fe: fb03 5711 mls r7, r3, r1, r5 + 800aa02: 5dc7 ldrb r7, [r0, r7] + 800aa04: f806 7d01 strb.w r7, [r6, #-1]! + 800aa08: 462f mov r7, r5 + 800aa0a: 42bb cmp r3, r7 + 800aa0c: 460d mov r5, r1 + 800aa0e: d9f4 bls.n 800a9fa <_printf_i+0x112> + 800aa10: 2b08 cmp r3, #8 + 800aa12: d10b bne.n 800aa2c <_printf_i+0x144> + 800aa14: 6823 ldr r3, [r4, #0] + 800aa16: 07df lsls r7, r3, #31 + 800aa18: d508 bpl.n 800aa2c <_printf_i+0x144> + 800aa1a: 6923 ldr r3, [r4, #16] + 800aa1c: 6861 ldr r1, [r4, #4] + 800aa1e: 4299 cmp r1, r3 + 800aa20: bfde ittt le + 800aa22: 2330 movle r3, #48 @ 0x30 + 800aa24: f806 3c01 strble.w r3, [r6, #-1] + 800aa28: f106 36ff addle.w r6, r6, #4294967295 + 800aa2c: 1b92 subs r2, r2, r6 + 800aa2e: 6122 str r2, [r4, #16] + 800aa30: f8cd a000 str.w sl, [sp] + 800aa34: 464b mov r3, r9 + 800aa36: aa03 add r2, sp, #12 + 800aa38: 4621 mov r1, r4 + 800aa3a: 4640 mov r0, r8 + 800aa3c: f7ff fee6 bl 800a80c <_printf_common> + 800aa40: 3001 adds r0, #1 + 800aa42: d14a bne.n 800aada <_printf_i+0x1f2> + 800aa44: f04f 30ff mov.w r0, #4294967295 + 800aa48: b004 add sp, #16 + 800aa4a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800aa4e: 6823 ldr r3, [r4, #0] + 800aa50: f043 0320 orr.w r3, r3, #32 + 800aa54: 6023 str r3, [r4, #0] + 800aa56: 4833 ldr r0, [pc, #204] @ (800ab24 <_printf_i+0x23c>) + 800aa58: 2778 movs r7, #120 @ 0x78 + 800aa5a: f884 7045 strb.w r7, [r4, #69] @ 0x45 + 800aa5e: 6823 ldr r3, [r4, #0] + 800aa60: 6831 ldr r1, [r6, #0] + 800aa62: 061f lsls r7, r3, #24 + 800aa64: f851 5b04 ldr.w r5, [r1], #4 + 800aa68: d402 bmi.n 800aa70 <_printf_i+0x188> + 800aa6a: 065f lsls r7, r3, #25 + 800aa6c: bf48 it mi + 800aa6e: b2ad uxthmi r5, r5 + 800aa70: 6031 str r1, [r6, #0] + 800aa72: 07d9 lsls r1, r3, #31 + 800aa74: bf44 itt mi + 800aa76: f043 0320 orrmi.w r3, r3, #32 + 800aa7a: 6023 strmi r3, [r4, #0] + 800aa7c: b11d cbz r5, 800aa86 <_printf_i+0x19e> + 800aa7e: 2310 movs r3, #16 + 800aa80: e7ac b.n 800a9dc <_printf_i+0xf4> + 800aa82: 4827 ldr r0, [pc, #156] @ (800ab20 <_printf_i+0x238>) + 800aa84: e7e9 b.n 800aa5a <_printf_i+0x172> + 800aa86: 6823 ldr r3, [r4, #0] + 800aa88: f023 0320 bic.w r3, r3, #32 + 800aa8c: 6023 str r3, [r4, #0] + 800aa8e: e7f6 b.n 800aa7e <_printf_i+0x196> + 800aa90: 4616 mov r6, r2 + 800aa92: e7bd b.n 800aa10 <_printf_i+0x128> + 800aa94: 6833 ldr r3, [r6, #0] + 800aa96: 6825 ldr r5, [r4, #0] + 800aa98: 6961 ldr r1, [r4, #20] + 800aa9a: 1d18 adds r0, r3, #4 + 800aa9c: 6030 str r0, [r6, #0] + 800aa9e: 062e lsls r6, r5, #24 + 800aaa0: 681b ldr r3, [r3, #0] + 800aaa2: d501 bpl.n 800aaa8 <_printf_i+0x1c0> + 800aaa4: 6019 str r1, [r3, #0] + 800aaa6: e002 b.n 800aaae <_printf_i+0x1c6> + 800aaa8: 0668 lsls r0, r5, #25 + 800aaaa: d5fb bpl.n 800aaa4 <_printf_i+0x1bc> + 800aaac: 8019 strh r1, [r3, #0] + 800aaae: 2300 movs r3, #0 + 800aab0: 6123 str r3, [r4, #16] + 800aab2: 4616 mov r6, r2 + 800aab4: e7bc b.n 800aa30 <_printf_i+0x148> + 800aab6: 6833 ldr r3, [r6, #0] + 800aab8: 1d1a adds r2, r3, #4 + 800aaba: 6032 str r2, [r6, #0] + 800aabc: 681e ldr r6, [r3, #0] + 800aabe: 6862 ldr r2, [r4, #4] + 800aac0: 2100 movs r1, #0 + 800aac2: 4630 mov r0, r6 + 800aac4: f7f5 fb94 bl 80001f0 + 800aac8: b108 cbz r0, 800aace <_printf_i+0x1e6> + 800aaca: 1b80 subs r0, r0, r6 + 800aacc: 6060 str r0, [r4, #4] + 800aace: 6863 ldr r3, [r4, #4] + 800aad0: 6123 str r3, [r4, #16] + 800aad2: 2300 movs r3, #0 + 800aad4: f884 3043 strb.w r3, [r4, #67] @ 0x43 + 800aad8: e7aa b.n 800aa30 <_printf_i+0x148> + 800aada: 6923 ldr r3, [r4, #16] + 800aadc: 4632 mov r2, r6 + 800aade: 4649 mov r1, r9 + 800aae0: 4640 mov r0, r8 + 800aae2: 47d0 blx sl + 800aae4: 3001 adds r0, #1 + 800aae6: d0ad beq.n 800aa44 <_printf_i+0x15c> + 800aae8: 6823 ldr r3, [r4, #0] + 800aaea: 079b lsls r3, r3, #30 + 800aaec: d413 bmi.n 800ab16 <_printf_i+0x22e> + 800aaee: 68e0 ldr r0, [r4, #12] + 800aaf0: 9b03 ldr r3, [sp, #12] + 800aaf2: 4298 cmp r0, r3 + 800aaf4: bfb8 it lt + 800aaf6: 4618 movlt r0, r3 + 800aaf8: e7a6 b.n 800aa48 <_printf_i+0x160> + 800aafa: 2301 movs r3, #1 + 800aafc: 4632 mov r2, r6 + 800aafe: 4649 mov r1, r9 + 800ab00: 4640 mov r0, r8 + 800ab02: 47d0 blx sl + 800ab04: 3001 adds r0, #1 + 800ab06: d09d beq.n 800aa44 <_printf_i+0x15c> + 800ab08: 3501 adds r5, #1 + 800ab0a: 68e3 ldr r3, [r4, #12] + 800ab0c: 9903 ldr r1, [sp, #12] + 800ab0e: 1a5b subs r3, r3, r1 + 800ab10: 42ab cmp r3, r5 + 800ab12: dcf2 bgt.n 800aafa <_printf_i+0x212> + 800ab14: e7eb b.n 800aaee <_printf_i+0x206> + 800ab16: 2500 movs r5, #0 + 800ab18: f104 0619 add.w r6, r4, #25 + 800ab1c: e7f5 b.n 800ab0a <_printf_i+0x222> + 800ab1e: bf00 nop + 800ab20: 0800d247 .word 0x0800d247 + 800ab24: 0800d258 .word 0x0800d258 + +0800ab28 <__sflush_r>: + 800ab28: f9b1 200c ldrsh.w r2, [r1, #12] + 800ab2c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800ab30: 0716 lsls r6, r2, #28 + 800ab32: 4605 mov r5, r0 + 800ab34: 460c mov r4, r1 + 800ab36: d454 bmi.n 800abe2 <__sflush_r+0xba> + 800ab38: 684b ldr r3, [r1, #4] + 800ab3a: 2b00 cmp r3, #0 + 800ab3c: dc02 bgt.n 800ab44 <__sflush_r+0x1c> + 800ab3e: 6c0b ldr r3, [r1, #64] @ 0x40 + 800ab40: 2b00 cmp r3, #0 + 800ab42: dd48 ble.n 800abd6 <__sflush_r+0xae> + 800ab44: 6ae6 ldr r6, [r4, #44] @ 0x2c + 800ab46: 2e00 cmp r6, #0 + 800ab48: d045 beq.n 800abd6 <__sflush_r+0xae> + 800ab4a: 2300 movs r3, #0 + 800ab4c: f412 5280 ands.w r2, r2, #4096 @ 0x1000 + 800ab50: 682f ldr r7, [r5, #0] + 800ab52: 6a21 ldr r1, [r4, #32] + 800ab54: 602b str r3, [r5, #0] + 800ab56: d030 beq.n 800abba <__sflush_r+0x92> + 800ab58: 6d62 ldr r2, [r4, #84] @ 0x54 + 800ab5a: 89a3 ldrh r3, [r4, #12] + 800ab5c: 0759 lsls r1, r3, #29 + 800ab5e: d505 bpl.n 800ab6c <__sflush_r+0x44> + 800ab60: 6863 ldr r3, [r4, #4] + 800ab62: 1ad2 subs r2, r2, r3 + 800ab64: 6b63 ldr r3, [r4, #52] @ 0x34 + 800ab66: b10b cbz r3, 800ab6c <__sflush_r+0x44> + 800ab68: 6c23 ldr r3, [r4, #64] @ 0x40 + 800ab6a: 1ad2 subs r2, r2, r3 + 800ab6c: 2300 movs r3, #0 + 800ab6e: 6ae6 ldr r6, [r4, #44] @ 0x2c + 800ab70: 6a21 ldr r1, [r4, #32] + 800ab72: 4628 mov r0, r5 + 800ab74: 47b0 blx r6 + 800ab76: 1c43 adds r3, r0, #1 + 800ab78: 89a3 ldrh r3, [r4, #12] + 800ab7a: d106 bne.n 800ab8a <__sflush_r+0x62> + 800ab7c: 6829 ldr r1, [r5, #0] + 800ab7e: 291d cmp r1, #29 + 800ab80: d82b bhi.n 800abda <__sflush_r+0xb2> + 800ab82: 4a2a ldr r2, [pc, #168] @ (800ac2c <__sflush_r+0x104>) + 800ab84: 410a asrs r2, r1 + 800ab86: 07d6 lsls r6, r2, #31 + 800ab88: d427 bmi.n 800abda <__sflush_r+0xb2> + 800ab8a: 2200 movs r2, #0 + 800ab8c: 6062 str r2, [r4, #4] + 800ab8e: 04d9 lsls r1, r3, #19 + 800ab90: 6922 ldr r2, [r4, #16] + 800ab92: 6022 str r2, [r4, #0] + 800ab94: d504 bpl.n 800aba0 <__sflush_r+0x78> + 800ab96: 1c42 adds r2, r0, #1 + 800ab98: d101 bne.n 800ab9e <__sflush_r+0x76> + 800ab9a: 682b ldr r3, [r5, #0] + 800ab9c: b903 cbnz r3, 800aba0 <__sflush_r+0x78> + 800ab9e: 6560 str r0, [r4, #84] @ 0x54 + 800aba0: 6b61 ldr r1, [r4, #52] @ 0x34 + 800aba2: 602f str r7, [r5, #0] + 800aba4: b1b9 cbz r1, 800abd6 <__sflush_r+0xae> + 800aba6: f104 0344 add.w r3, r4, #68 @ 0x44 + 800abaa: 4299 cmp r1, r3 + 800abac: d002 beq.n 800abb4 <__sflush_r+0x8c> + 800abae: 4628 mov r0, r5 + 800abb0: f7ff fbea bl 800a388 <_free_r> + 800abb4: 2300 movs r3, #0 + 800abb6: 6363 str r3, [r4, #52] @ 0x34 + 800abb8: e00d b.n 800abd6 <__sflush_r+0xae> + 800abba: 2301 movs r3, #1 + 800abbc: 4628 mov r0, r5 + 800abbe: 47b0 blx r6 + 800abc0: 4602 mov r2, r0 + 800abc2: 1c50 adds r0, r2, #1 + 800abc4: d1c9 bne.n 800ab5a <__sflush_r+0x32> + 800abc6: 682b ldr r3, [r5, #0] + 800abc8: 2b00 cmp r3, #0 + 800abca: d0c6 beq.n 800ab5a <__sflush_r+0x32> + 800abcc: 2b1d cmp r3, #29 + 800abce: d001 beq.n 800abd4 <__sflush_r+0xac> + 800abd0: 2b16 cmp r3, #22 + 800abd2: d11e bne.n 800ac12 <__sflush_r+0xea> + 800abd4: 602f str r7, [r5, #0] + 800abd6: 2000 movs r0, #0 + 800abd8: e022 b.n 800ac20 <__sflush_r+0xf8> + 800abda: f043 0340 orr.w r3, r3, #64 @ 0x40 + 800abde: b21b sxth r3, r3 + 800abe0: e01b b.n 800ac1a <__sflush_r+0xf2> + 800abe2: 690f ldr r7, [r1, #16] + 800abe4: 2f00 cmp r7, #0 + 800abe6: d0f6 beq.n 800abd6 <__sflush_r+0xae> + 800abe8: 0793 lsls r3, r2, #30 + 800abea: 680e ldr r6, [r1, #0] + 800abec: bf08 it eq + 800abee: 694b ldreq r3, [r1, #20] + 800abf0: 600f str r7, [r1, #0] + 800abf2: bf18 it ne + 800abf4: 2300 movne r3, #0 + 800abf6: eba6 0807 sub.w r8, r6, r7 + 800abfa: 608b str r3, [r1, #8] + 800abfc: f1b8 0f00 cmp.w r8, #0 + 800ac00: dde9 ble.n 800abd6 <__sflush_r+0xae> + 800ac02: 6a21 ldr r1, [r4, #32] + 800ac04: 6aa6 ldr r6, [r4, #40] @ 0x28 + 800ac06: 4643 mov r3, r8 + 800ac08: 463a mov r2, r7 + 800ac0a: 4628 mov r0, r5 + 800ac0c: 47b0 blx r6 + 800ac0e: 2800 cmp r0, #0 + 800ac10: dc08 bgt.n 800ac24 <__sflush_r+0xfc> + 800ac12: f9b4 300c ldrsh.w r3, [r4, #12] + 800ac16: f043 0340 orr.w r3, r3, #64 @ 0x40 + 800ac1a: 81a3 strh r3, [r4, #12] + 800ac1c: f04f 30ff mov.w r0, #4294967295 + 800ac20: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800ac24: 4407 add r7, r0 + 800ac26: eba8 0800 sub.w r8, r8, r0 + 800ac2a: e7e7 b.n 800abfc <__sflush_r+0xd4> + 800ac2c: dfbffffe .word 0xdfbffffe + +0800ac30 <_fflush_r>: + 800ac30: b538 push {r3, r4, r5, lr} + 800ac32: 690b ldr r3, [r1, #16] + 800ac34: 4605 mov r5, r0 + 800ac36: 460c mov r4, r1 + 800ac38: b913 cbnz r3, 800ac40 <_fflush_r+0x10> + 800ac3a: 2500 movs r5, #0 + 800ac3c: 4628 mov r0, r5 + 800ac3e: bd38 pop {r3, r4, r5, pc} + 800ac40: b118 cbz r0, 800ac4a <_fflush_r+0x1a> + 800ac42: 6a03 ldr r3, [r0, #32] + 800ac44: b90b cbnz r3, 800ac4a <_fflush_r+0x1a> + 800ac46: f7ff fa61 bl 800a10c <__sinit> + 800ac4a: f9b4 300c ldrsh.w r3, [r4, #12] + 800ac4e: 2b00 cmp r3, #0 + 800ac50: d0f3 beq.n 800ac3a <_fflush_r+0xa> + 800ac52: 6e62 ldr r2, [r4, #100] @ 0x64 + 800ac54: 07d0 lsls r0, r2, #31 + 800ac56: d404 bmi.n 800ac62 <_fflush_r+0x32> + 800ac58: 0599 lsls r1, r3, #22 + 800ac5a: d402 bmi.n 800ac62 <_fflush_r+0x32> + 800ac5c: 6da0 ldr r0, [r4, #88] @ 0x58 + 800ac5e: f7ff fb64 bl 800a32a <__retarget_lock_acquire_recursive> + 800ac62: 4628 mov r0, r5 + 800ac64: 4621 mov r1, r4 + 800ac66: f7ff ff5f bl 800ab28 <__sflush_r> + 800ac6a: 6e63 ldr r3, [r4, #100] @ 0x64 + 800ac6c: 07da lsls r2, r3, #31 + 800ac6e: 4605 mov r5, r0 + 800ac70: d4e4 bmi.n 800ac3c <_fflush_r+0xc> + 800ac72: 89a3 ldrh r3, [r4, #12] + 800ac74: 059b lsls r3, r3, #22 + 800ac76: d4e1 bmi.n 800ac3c <_fflush_r+0xc> + 800ac78: 6da0 ldr r0, [r4, #88] @ 0x58 + 800ac7a: f7ff fb57 bl 800a32c <__retarget_lock_release_recursive> + 800ac7e: e7dd b.n 800ac3c <_fflush_r+0xc> + +0800ac80 : + 800ac80: b40e push {r1, r2, r3} + 800ac82: b503 push {r0, r1, lr} + 800ac84: 4601 mov r1, r0 + 800ac86: ab03 add r3, sp, #12 + 800ac88: 4805 ldr r0, [pc, #20] @ (800aca0 ) + 800ac8a: f853 2b04 ldr.w r2, [r3], #4 + 800ac8e: 6800 ldr r0, [r0, #0] + 800ac90: 9301 str r3, [sp, #4] + 800ac92: f7ff fca3 bl 800a5dc <_vfiprintf_r> + 800ac96: b002 add sp, #8 + 800ac98: f85d eb04 ldr.w lr, [sp], #4 + 800ac9c: b003 add sp, #12 + 800ac9e: 4770 bx lr + 800aca0: 20000034 .word 0x20000034 + +0800aca4 <__swbuf_r>: + 800aca4: b5f8 push {r3, r4, r5, r6, r7, lr} + 800aca6: 460e mov r6, r1 + 800aca8: 4614 mov r4, r2 + 800acaa: 4605 mov r5, r0 + 800acac: b118 cbz r0, 800acb6 <__swbuf_r+0x12> + 800acae: 6a03 ldr r3, [r0, #32] + 800acb0: b90b cbnz r3, 800acb6 <__swbuf_r+0x12> + 800acb2: f7ff fa2b bl 800a10c <__sinit> + 800acb6: 69a3 ldr r3, [r4, #24] + 800acb8: 60a3 str r3, [r4, #8] + 800acba: 89a3 ldrh r3, [r4, #12] + 800acbc: 071a lsls r2, r3, #28 + 800acbe: d501 bpl.n 800acc4 <__swbuf_r+0x20> + 800acc0: 6923 ldr r3, [r4, #16] + 800acc2: b943 cbnz r3, 800acd6 <__swbuf_r+0x32> + 800acc4: 4621 mov r1, r4 + 800acc6: 4628 mov r0, r5 + 800acc8: f000 f82a bl 800ad20 <__swsetup_r> + 800accc: b118 cbz r0, 800acd6 <__swbuf_r+0x32> + 800acce: f04f 37ff mov.w r7, #4294967295 + 800acd2: 4638 mov r0, r7 + 800acd4: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800acd6: 6823 ldr r3, [r4, #0] + 800acd8: 6922 ldr r2, [r4, #16] + 800acda: 1a98 subs r0, r3, r2 + 800acdc: 6963 ldr r3, [r4, #20] + 800acde: b2f6 uxtb r6, r6 + 800ace0: 4283 cmp r3, r0 + 800ace2: 4637 mov r7, r6 + 800ace4: dc05 bgt.n 800acf2 <__swbuf_r+0x4e> + 800ace6: 4621 mov r1, r4 + 800ace8: 4628 mov r0, r5 + 800acea: f7ff ffa1 bl 800ac30 <_fflush_r> + 800acee: 2800 cmp r0, #0 + 800acf0: d1ed bne.n 800acce <__swbuf_r+0x2a> + 800acf2: 68a3 ldr r3, [r4, #8] + 800acf4: 3b01 subs r3, #1 + 800acf6: 60a3 str r3, [r4, #8] + 800acf8: 6823 ldr r3, [r4, #0] + 800acfa: 1c5a adds r2, r3, #1 + 800acfc: 6022 str r2, [r4, #0] + 800acfe: 701e strb r6, [r3, #0] + 800ad00: 6962 ldr r2, [r4, #20] + 800ad02: 1c43 adds r3, r0, #1 + 800ad04: 429a cmp r2, r3 + 800ad06: d004 beq.n 800ad12 <__swbuf_r+0x6e> + 800ad08: 89a3 ldrh r3, [r4, #12] + 800ad0a: 07db lsls r3, r3, #31 + 800ad0c: d5e1 bpl.n 800acd2 <__swbuf_r+0x2e> + 800ad0e: 2e0a cmp r6, #10 + 800ad10: d1df bne.n 800acd2 <__swbuf_r+0x2e> + 800ad12: 4621 mov r1, r4 + 800ad14: 4628 mov r0, r5 + 800ad16: f7ff ff8b bl 800ac30 <_fflush_r> + 800ad1a: 2800 cmp r0, #0 + 800ad1c: d0d9 beq.n 800acd2 <__swbuf_r+0x2e> + 800ad1e: e7d6 b.n 800acce <__swbuf_r+0x2a> + +0800ad20 <__swsetup_r>: + 800ad20: b538 push {r3, r4, r5, lr} + 800ad22: 4b29 ldr r3, [pc, #164] @ (800adc8 <__swsetup_r+0xa8>) + 800ad24: 4605 mov r5, r0 + 800ad26: 6818 ldr r0, [r3, #0] + 800ad28: 460c mov r4, r1 + 800ad2a: b118 cbz r0, 800ad34 <__swsetup_r+0x14> + 800ad2c: 6a03 ldr r3, [r0, #32] + 800ad2e: b90b cbnz r3, 800ad34 <__swsetup_r+0x14> + 800ad30: f7ff f9ec bl 800a10c <__sinit> + 800ad34: f9b4 300c ldrsh.w r3, [r4, #12] + 800ad38: 0719 lsls r1, r3, #28 + 800ad3a: d422 bmi.n 800ad82 <__swsetup_r+0x62> + 800ad3c: 06da lsls r2, r3, #27 + 800ad3e: d407 bmi.n 800ad50 <__swsetup_r+0x30> + 800ad40: 2209 movs r2, #9 + 800ad42: 602a str r2, [r5, #0] + 800ad44: f043 0340 orr.w r3, r3, #64 @ 0x40 + 800ad48: 81a3 strh r3, [r4, #12] + 800ad4a: f04f 30ff mov.w r0, #4294967295 + 800ad4e: e033 b.n 800adb8 <__swsetup_r+0x98> + 800ad50: 0758 lsls r0, r3, #29 + 800ad52: d512 bpl.n 800ad7a <__swsetup_r+0x5a> + 800ad54: 6b61 ldr r1, [r4, #52] @ 0x34 + 800ad56: b141 cbz r1, 800ad6a <__swsetup_r+0x4a> + 800ad58: f104 0344 add.w r3, r4, #68 @ 0x44 + 800ad5c: 4299 cmp r1, r3 + 800ad5e: d002 beq.n 800ad66 <__swsetup_r+0x46> + 800ad60: 4628 mov r0, r5 + 800ad62: f7ff fb11 bl 800a388 <_free_r> + 800ad66: 2300 movs r3, #0 + 800ad68: 6363 str r3, [r4, #52] @ 0x34 + 800ad6a: 89a3 ldrh r3, [r4, #12] + 800ad6c: f023 0324 bic.w r3, r3, #36 @ 0x24 + 800ad70: 81a3 strh r3, [r4, #12] + 800ad72: 2300 movs r3, #0 + 800ad74: 6063 str r3, [r4, #4] + 800ad76: 6923 ldr r3, [r4, #16] + 800ad78: 6023 str r3, [r4, #0] + 800ad7a: 89a3 ldrh r3, [r4, #12] + 800ad7c: f043 0308 orr.w r3, r3, #8 + 800ad80: 81a3 strh r3, [r4, #12] + 800ad82: 6923 ldr r3, [r4, #16] + 800ad84: b94b cbnz r3, 800ad9a <__swsetup_r+0x7a> + 800ad86: 89a3 ldrh r3, [r4, #12] + 800ad88: f403 7320 and.w r3, r3, #640 @ 0x280 + 800ad8c: f5b3 7f00 cmp.w r3, #512 @ 0x200 + 800ad90: d003 beq.n 800ad9a <__swsetup_r+0x7a> + 800ad92: 4621 mov r1, r4 + 800ad94: 4628 mov r0, r5 + 800ad96: f000 f856 bl 800ae46 <__smakebuf_r> + 800ad9a: f9b4 300c ldrsh.w r3, [r4, #12] + 800ad9e: f013 0201 ands.w r2, r3, #1 + 800ada2: d00a beq.n 800adba <__swsetup_r+0x9a> + 800ada4: 2200 movs r2, #0 + 800ada6: 60a2 str r2, [r4, #8] + 800ada8: 6962 ldr r2, [r4, #20] + 800adaa: 4252 negs r2, r2 + 800adac: 61a2 str r2, [r4, #24] + 800adae: 6922 ldr r2, [r4, #16] + 800adb0: b942 cbnz r2, 800adc4 <__swsetup_r+0xa4> + 800adb2: f013 0080 ands.w r0, r3, #128 @ 0x80 + 800adb6: d1c5 bne.n 800ad44 <__swsetup_r+0x24> + 800adb8: bd38 pop {r3, r4, r5, pc} + 800adba: 0799 lsls r1, r3, #30 + 800adbc: bf58 it pl + 800adbe: 6962 ldrpl r2, [r4, #20] + 800adc0: 60a2 str r2, [r4, #8] + 800adc2: e7f4 b.n 800adae <__swsetup_r+0x8e> + 800adc4: 2000 movs r0, #0 + 800adc6: e7f7 b.n 800adb8 <__swsetup_r+0x98> + 800adc8: 20000034 .word 0x20000034 + +0800adcc <_sbrk_r>: + 800adcc: b538 push {r3, r4, r5, lr} + 800adce: 4d06 ldr r5, [pc, #24] @ (800ade8 <_sbrk_r+0x1c>) + 800add0: 2300 movs r3, #0 + 800add2: 4604 mov r4, r0 + 800add4: 4608 mov r0, r1 + 800add6: 602b str r3, [r5, #0] + 800add8: f000 f910 bl 800affc <_sbrk> + 800addc: 1c43 adds r3, r0, #1 + 800adde: d102 bne.n 800ade6 <_sbrk_r+0x1a> + 800ade0: 682b ldr r3, [r5, #0] + 800ade2: b103 cbz r3, 800ade6 <_sbrk_r+0x1a> + 800ade4: 6023 str r3, [r4, #0] + 800ade6: bd38 pop {r3, r4, r5, pc} + 800ade8: 20018d44 .word 0x20018d44 + +0800adec : + 800adec: b508 push {r3, lr} + 800adee: 2006 movs r0, #6 + 800adf0: f000 f88e bl 800af10 + 800adf4: 2001 movs r0, #1 + 800adf6: f000 f917 bl 800b028 <_exit> + +0800adfa <__swhatbuf_r>: + 800adfa: b570 push {r4, r5, r6, lr} + 800adfc: 460c mov r4, r1 + 800adfe: f9b1 100e ldrsh.w r1, [r1, #14] + 800ae02: 2900 cmp r1, #0 + 800ae04: b096 sub sp, #88 @ 0x58 + 800ae06: 4615 mov r5, r2 + 800ae08: 461e mov r6, r3 + 800ae0a: da0d bge.n 800ae28 <__swhatbuf_r+0x2e> + 800ae0c: 89a3 ldrh r3, [r4, #12] + 800ae0e: f013 0f80 tst.w r3, #128 @ 0x80 + 800ae12: f04f 0100 mov.w r1, #0 + 800ae16: bf14 ite ne + 800ae18: 2340 movne r3, #64 @ 0x40 + 800ae1a: f44f 6380 moveq.w r3, #1024 @ 0x400 + 800ae1e: 2000 movs r0, #0 + 800ae20: 6031 str r1, [r6, #0] + 800ae22: 602b str r3, [r5, #0] + 800ae24: b016 add sp, #88 @ 0x58 + 800ae26: bd70 pop {r4, r5, r6, pc} + 800ae28: 466a mov r2, sp + 800ae2a: f000 f879 bl 800af20 <_fstat_r> + 800ae2e: 2800 cmp r0, #0 + 800ae30: dbec blt.n 800ae0c <__swhatbuf_r+0x12> + 800ae32: 9901 ldr r1, [sp, #4] + 800ae34: f401 4170 and.w r1, r1, #61440 @ 0xf000 + 800ae38: f5a1 5300 sub.w r3, r1, #8192 @ 0x2000 + 800ae3c: 4259 negs r1, r3 + 800ae3e: 4159 adcs r1, r3 + 800ae40: f44f 6380 mov.w r3, #1024 @ 0x400 + 800ae44: e7eb b.n 800ae1e <__swhatbuf_r+0x24> + +0800ae46 <__smakebuf_r>: + 800ae46: 898b ldrh r3, [r1, #12] + 800ae48: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 800ae4a: 079d lsls r5, r3, #30 + 800ae4c: 4606 mov r6, r0 + 800ae4e: 460c mov r4, r1 + 800ae50: d507 bpl.n 800ae62 <__smakebuf_r+0x1c> + 800ae52: f104 0347 add.w r3, r4, #71 @ 0x47 + 800ae56: 6023 str r3, [r4, #0] + 800ae58: 6123 str r3, [r4, #16] + 800ae5a: 2301 movs r3, #1 + 800ae5c: 6163 str r3, [r4, #20] + 800ae5e: b003 add sp, #12 + 800ae60: bdf0 pop {r4, r5, r6, r7, pc} + 800ae62: ab01 add r3, sp, #4 + 800ae64: 466a mov r2, sp + 800ae66: f7ff ffc8 bl 800adfa <__swhatbuf_r> + 800ae6a: 9f00 ldr r7, [sp, #0] + 800ae6c: 4605 mov r5, r0 + 800ae6e: 4639 mov r1, r7 + 800ae70: 4630 mov r0, r6 + 800ae72: f7ff fafd bl 800a470 <_malloc_r> + 800ae76: b948 cbnz r0, 800ae8c <__smakebuf_r+0x46> + 800ae78: f9b4 300c ldrsh.w r3, [r4, #12] + 800ae7c: 059a lsls r2, r3, #22 + 800ae7e: d4ee bmi.n 800ae5e <__smakebuf_r+0x18> + 800ae80: f023 0303 bic.w r3, r3, #3 + 800ae84: f043 0302 orr.w r3, r3, #2 + 800ae88: 81a3 strh r3, [r4, #12] + 800ae8a: e7e2 b.n 800ae52 <__smakebuf_r+0xc> + 800ae8c: 89a3 ldrh r3, [r4, #12] + 800ae8e: 6020 str r0, [r4, #0] + 800ae90: f043 0380 orr.w r3, r3, #128 @ 0x80 + 800ae94: 81a3 strh r3, [r4, #12] + 800ae96: 9b01 ldr r3, [sp, #4] + 800ae98: e9c4 0704 strd r0, r7, [r4, #16] + 800ae9c: b15b cbz r3, 800aeb6 <__smakebuf_r+0x70> + 800ae9e: f9b4 100e ldrsh.w r1, [r4, #14] + 800aea2: 4630 mov r0, r6 + 800aea4: f000 f84e bl 800af44 <_isatty_r> + 800aea8: b128 cbz r0, 800aeb6 <__smakebuf_r+0x70> + 800aeaa: 89a3 ldrh r3, [r4, #12] + 800aeac: f023 0303 bic.w r3, r3, #3 + 800aeb0: f043 0301 orr.w r3, r3, #1 + 800aeb4: 81a3 strh r3, [r4, #12] + 800aeb6: 89a3 ldrh r3, [r4, #12] + 800aeb8: 431d orrs r5, r3 + 800aeba: 81a5 strh r5, [r4, #12] + 800aebc: e7cf b.n 800ae5e <__smakebuf_r+0x18> + +0800aebe <_raise_r>: + 800aebe: 291f cmp r1, #31 + 800aec0: b538 push {r3, r4, r5, lr} + 800aec2: 4605 mov r5, r0 + 800aec4: 460c mov r4, r1 + 800aec6: d904 bls.n 800aed2 <_raise_r+0x14> + 800aec8: 2316 movs r3, #22 + 800aeca: 6003 str r3, [r0, #0] + 800aecc: f04f 30ff mov.w r0, #4294967295 + 800aed0: bd38 pop {r3, r4, r5, pc} + 800aed2: 6bc2 ldr r2, [r0, #60] @ 0x3c + 800aed4: b112 cbz r2, 800aedc <_raise_r+0x1e> + 800aed6: f852 3021 ldr.w r3, [r2, r1, lsl #2] + 800aeda: b94b cbnz r3, 800aef0 <_raise_r+0x32> + 800aedc: 4628 mov r0, r5 + 800aede: f000 f853 bl 800af88 <_getpid_r> + 800aee2: 4622 mov r2, r4 + 800aee4: 4601 mov r1, r0 + 800aee6: 4628 mov r0, r5 + 800aee8: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 800aeec: f000 b83a b.w 800af64 <_kill_r> + 800aef0: 2b01 cmp r3, #1 + 800aef2: d00a beq.n 800af0a <_raise_r+0x4c> + 800aef4: 1c59 adds r1, r3, #1 + 800aef6: d103 bne.n 800af00 <_raise_r+0x42> + 800aef8: 2316 movs r3, #22 + 800aefa: 6003 str r3, [r0, #0] + 800aefc: 2001 movs r0, #1 + 800aefe: e7e7 b.n 800aed0 <_raise_r+0x12> + 800af00: 2100 movs r1, #0 + 800af02: f842 1024 str.w r1, [r2, r4, lsl #2] + 800af06: 4620 mov r0, r4 + 800af08: 4798 blx r3 + 800af0a: 2000 movs r0, #0 + 800af0c: e7e0 b.n 800aed0 <_raise_r+0x12> + ... + +0800af10 : + 800af10: 4b02 ldr r3, [pc, #8] @ (800af1c ) + 800af12: 4601 mov r1, r0 + 800af14: 6818 ldr r0, [r3, #0] + 800af16: f7ff bfd2 b.w 800aebe <_raise_r> + 800af1a: bf00 nop + 800af1c: 20000034 .word 0x20000034 + +0800af20 <_fstat_r>: + 800af20: b538 push {r3, r4, r5, lr} + 800af22: 4d07 ldr r5, [pc, #28] @ (800af40 <_fstat_r+0x20>) + 800af24: 2300 movs r3, #0 + 800af26: 4604 mov r4, r0 + 800af28: 4608 mov r0, r1 + 800af2a: 4611 mov r1, r2 + 800af2c: 602b str r3, [r5, #0] + 800af2e: f000 f835 bl 800af9c <_fstat> + 800af32: 1c43 adds r3, r0, #1 + 800af34: d102 bne.n 800af3c <_fstat_r+0x1c> + 800af36: 682b ldr r3, [r5, #0] + 800af38: b103 cbz r3, 800af3c <_fstat_r+0x1c> + 800af3a: 6023 str r3, [r4, #0] + 800af3c: bd38 pop {r3, r4, r5, pc} + 800af3e: bf00 nop + 800af40: 20018d44 .word 0x20018d44 + +0800af44 <_isatty_r>: + 800af44: b538 push {r3, r4, r5, lr} + 800af46: 4d06 ldr r5, [pc, #24] @ (800af60 <_isatty_r+0x1c>) + 800af48: 2300 movs r3, #0 + 800af4a: 4604 mov r4, r0 + 800af4c: 4608 mov r0, r1 + 800af4e: 602b str r3, [r5, #0] + 800af50: f000 f834 bl 800afbc <_isatty> + 800af54: 1c43 adds r3, r0, #1 + 800af56: d102 bne.n 800af5e <_isatty_r+0x1a> + 800af58: 682b ldr r3, [r5, #0] + 800af5a: b103 cbz r3, 800af5e <_isatty_r+0x1a> + 800af5c: 6023 str r3, [r4, #0] + 800af5e: bd38 pop {r3, r4, r5, pc} + 800af60: 20018d44 .word 0x20018d44 + +0800af64 <_kill_r>: + 800af64: b538 push {r3, r4, r5, lr} + 800af66: 4d07 ldr r5, [pc, #28] @ (800af84 <_kill_r+0x20>) + 800af68: 2300 movs r3, #0 + 800af6a: 4604 mov r4, r0 + 800af6c: 4608 mov r0, r1 + 800af6e: 4611 mov r1, r2 + 800af70: 602b str r3, [r5, #0] + 800af72: f000 f82b bl 800afcc <_kill> + 800af76: 1c43 adds r3, r0, #1 + 800af78: d102 bne.n 800af80 <_kill_r+0x1c> + 800af7a: 682b ldr r3, [r5, #0] + 800af7c: b103 cbz r3, 800af80 <_kill_r+0x1c> + 800af7e: 6023 str r3, [r4, #0] + 800af80: bd38 pop {r3, r4, r5, pc} + 800af82: bf00 nop + 800af84: 20018d44 .word 0x20018d44 + +0800af88 <_getpid_r>: + 800af88: f000 b810 b.w 800afac <_getpid> + +0800af8c <_close>: + 800af8c: 4b02 ldr r3, [pc, #8] @ (800af98 <_close+0xc>) + 800af8e: 2258 movs r2, #88 @ 0x58 + 800af90: 601a str r2, [r3, #0] + 800af92: f04f 30ff mov.w r0, #4294967295 + 800af96: 4770 bx lr + 800af98: 20018d44 .word 0x20018d44 + +0800af9c <_fstat>: + 800af9c: 4b02 ldr r3, [pc, #8] @ (800afa8 <_fstat+0xc>) + 800af9e: 2258 movs r2, #88 @ 0x58 + 800afa0: 601a str r2, [r3, #0] + 800afa2: f04f 30ff mov.w r0, #4294967295 + 800afa6: 4770 bx lr + 800afa8: 20018d44 .word 0x20018d44 + +0800afac <_getpid>: + 800afac: 4b02 ldr r3, [pc, #8] @ (800afb8 <_getpid+0xc>) + 800afae: 2258 movs r2, #88 @ 0x58 + 800afb0: 601a str r2, [r3, #0] + 800afb2: f04f 30ff mov.w r0, #4294967295 + 800afb6: 4770 bx lr + 800afb8: 20018d44 .word 0x20018d44 + +0800afbc <_isatty>: + 800afbc: 4b02 ldr r3, [pc, #8] @ (800afc8 <_isatty+0xc>) + 800afbe: 2258 movs r2, #88 @ 0x58 + 800afc0: 601a str r2, [r3, #0] + 800afc2: 2000 movs r0, #0 + 800afc4: 4770 bx lr + 800afc6: bf00 nop + 800afc8: 20018d44 .word 0x20018d44 + +0800afcc <_kill>: + 800afcc: 4b02 ldr r3, [pc, #8] @ (800afd8 <_kill+0xc>) + 800afce: 2258 movs r2, #88 @ 0x58 + 800afd0: 601a str r2, [r3, #0] + 800afd2: f04f 30ff mov.w r0, #4294967295 + 800afd6: 4770 bx lr + 800afd8: 20018d44 .word 0x20018d44 + +0800afdc <_lseek>: + 800afdc: 4b02 ldr r3, [pc, #8] @ (800afe8 <_lseek+0xc>) + 800afde: 2258 movs r2, #88 @ 0x58 + 800afe0: 601a str r2, [r3, #0] + 800afe2: f04f 30ff mov.w r0, #4294967295 + 800afe6: 4770 bx lr + 800afe8: 20018d44 .word 0x20018d44 + +0800afec <_read>: + 800afec: 4b02 ldr r3, [pc, #8] @ (800aff8 <_read+0xc>) + 800afee: 2258 movs r2, #88 @ 0x58 + 800aff0: 601a str r2, [r3, #0] + 800aff2: f04f 30ff mov.w r0, #4294967295 + 800aff6: 4770 bx lr + 800aff8: 20018d44 .word 0x20018d44 + +0800affc <_sbrk>: + 800affc: 4a04 ldr r2, [pc, #16] @ (800b010 <_sbrk+0x14>) + 800affe: 6811 ldr r1, [r2, #0] + 800b000: 4603 mov r3, r0 + 800b002: b909 cbnz r1, 800b008 <_sbrk+0xc> + 800b004: 4903 ldr r1, [pc, #12] @ (800b014 <_sbrk+0x18>) + 800b006: 6011 str r1, [r2, #0] + 800b008: 6810 ldr r0, [r2, #0] + 800b00a: 4403 add r3, r0 + 800b00c: 6013 str r3, [r2, #0] + 800b00e: 4770 bx lr + 800b010: 20018d54 .word 0x20018d54 + 800b014: 20018d58 .word 0x20018d58 + +0800b018 <_write>: + 800b018: 4b02 ldr r3, [pc, #8] @ (800b024 <_write+0xc>) + 800b01a: 2258 movs r2, #88 @ 0x58 + 800b01c: 601a str r2, [r3, #0] + 800b01e: f04f 30ff mov.w r0, #4294967295 + 800b022: 4770 bx lr + 800b024: 20018d44 .word 0x20018d44 + +0800b028 <_exit>: + 800b028: e7fe b.n 800b028 <_exit> + ... + +0800b02c <_init>: + 800b02c: b5f8 push {r3, r4, r5, r6, r7, lr} + 800b02e: bf00 nop + 800b030: bcf8 pop {r3, r4, r5, r6, r7} + 800b032: bc08 pop {r3} + 800b034: 469e mov lr, r3 + 800b036: 4770 bx lr + +0800b038 <_fini>: + 800b038: b5f8 push {r3, r4, r5, r6, r7, lr} + 800b03a: bf00 nop + 800b03c: bcf8 pop {r3, r4, r5, r6, r7} + 800b03e: bc08 pop {r3} + 800b040: 469e mov lr, r3 + 800b042: 4770 bx lr diff --git a/yau-07b Debug.launch b/yau-07b Debug.launch index a3581a5..987c594 100644 --- a/yau-07b Debug.launch +++ b/yau-07b Debug.launch @@ -65,6 +65,7 @@ + diff --git a/yau-07b Release.launch b/yau-07b Release.launch new file mode 100644 index 0000000..ee98ae5 --- /dev/null +++ b/yau-07b Release.launch @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +